diff --git a/src/compiler/binder.ts b/src/compiler/binder.ts index b01352968eb42..77f1ffae7f840 100644 --- a/src/compiler/binder.ts +++ b/src/compiler/binder.ts @@ -82,6 +82,7 @@ import { FunctionExpression, FunctionLikeDeclaration, GetAccessorDeclaration, + getAlwaysStrict, getAssignedExpandoInitializer, getAssignmentDeclarationKind, getAssignmentDeclarationPropertyAccessKind, @@ -108,7 +109,6 @@ import { getSourceFileOfNode, getSourceTextOfNodeFromSourceFile, getSpanOfTokenAtPosition, - getStrictOptionValue, getSymbolNameForPrivateIdentifier, getTextOfIdentifierOrLiteral, getThisContainer, @@ -617,7 +617,7 @@ function createBinder(): (file: SourceFile, options: CompilerOptions) => void { } function bindInStrictMode(file: SourceFile, opts: CompilerOptions): boolean { - if (getStrictOptionValue(opts, "alwaysStrict") && !file.isDeclarationFile) { + if (getAlwaysStrict(opts) && !file.isDeclarationFile) { // bind in strict mode source files with alwaysStrict option return true; } diff --git a/src/compiler/commandLineParser.ts b/src/compiler/commandLineParser.ts index 236e643b00b3c..532504f552d55 100644 --- a/src/compiler/commandLineParser.ts +++ b/src/compiler/commandLineParser.ts @@ -987,10 +987,9 @@ const commandOptionsWithoutBuild: CommandLineOption[] = [ affectsSourceFile: true, affectsEmit: true, affectsBuildInfo: true, - strictFlag: true, category: Diagnostics.Type_Checking, description: Diagnostics.Ensure_use_strict_is_always_emitted, - defaultValueDescription: Diagnostics.false_unless_strict_is_set, + defaultValueDescription: true, }, // Additional Checks diff --git a/src/compiler/program.ts b/src/compiler/program.ts index e56c0353cd3bc..eff0fdb86abc0 100644 --- a/src/compiler/program.ts +++ b/src/compiler/program.ts @@ -4526,6 +4526,9 @@ export function createProgram(_rootNamesOrOptions: readonly string[] | CreatePro }); checkDeprecations("6.0", "7.0", createDiagnostic, createDeprecatedDiagnostic => { + if (options.alwaysStrict === false) { + createDeprecatedDiagnostic("alwaysStrict", "false", /*useInstead*/ undefined, /*related*/ undefined); + } if (options.moduleResolution === ModuleResolutionKind.Node10) { createDeprecatedDiagnostic("moduleResolution", "node10", /*useInstead*/ undefined, Diagnostics.Visit_https_Colon_Slash_Slashaka_ms_Slashts6_for_migration_information); } diff --git a/src/compiler/transformers/module/module.ts b/src/compiler/transformers/module/module.ts index ae0d2a0aaa87c..1c43d18afccc5 100644 --- a/src/compiler/transformers/module/module.ts +++ b/src/compiler/transformers/module/module.ts @@ -41,6 +41,7 @@ import { FunctionDeclaration, FunctionExpression, GeneratedIdentifierFlags, + getAlwaysStrict, getEmitFlags, getEmitModuleKind, getEmitScriptTarget, @@ -55,7 +56,6 @@ import { getNamespaceDeclarationNode, getNodeId, getOriginalNodeId, - getStrictOptionValue, getTextOfIdentifierOrLiteral, hasJSFileExtension, hasJsonModuleEmitEnabled, @@ -277,7 +277,7 @@ export function transformModule(context: TransformationContext): (x: SourceFile startLexicalEnvironment(); const statements: Statement[] = []; - const ensureUseStrict = getStrictOptionValue(compilerOptions, "alwaysStrict") || isExternalModule(currentSourceFile); + const ensureUseStrict = getAlwaysStrict(compilerOptions) || isExternalModule(currentSourceFile); const statementOffset = factory.copyPrologue(node.statements, statements, ensureUseStrict && !isJsonSourceFile(node), topLevelVisitor); if (shouldEmitUnderscoreUnderscoreESModule()) { diff --git a/src/compiler/transformers/module/system.ts b/src/compiler/transformers/module/system.ts index c9fd1645345ca..8a4f01392decb 100644 --- a/src/compiler/transformers/module/system.ts +++ b/src/compiler/transformers/module/system.ts @@ -33,6 +33,7 @@ import { ForOfStatement, ForStatement, FunctionDeclaration, + getAlwaysStrict, getEmitFlags, getExternalHelpersModuleName, getExternalModuleNameLiteral, @@ -40,7 +41,6 @@ import { getNodeId, getOriginalNode, getOriginalNodeId, - getStrictOptionValue, getTextOfIdentifierOrLiteral, hasSyntacticModifier, Identifier, @@ -357,7 +357,7 @@ export function transformSystemModule(context: TransformationContext): (x: Sourc startLexicalEnvironment(); // Add any prologue directives. - const ensureUseStrict = getStrictOptionValue(compilerOptions, "alwaysStrict") || isExternalModule(currentSourceFile); + const ensureUseStrict = getAlwaysStrict(compilerOptions) || isExternalModule(currentSourceFile); const statementOffset = factory.copyPrologue(node.statements, statements, ensureUseStrict, topLevelVisitor); // var __moduleName = context_1 && context_1.id; diff --git a/src/compiler/transformers/ts.ts b/src/compiler/transformers/ts.ts index cc3da23d2067b..246565b2fba01 100644 --- a/src/compiler/transformers/ts.ts +++ b/src/compiler/transformers/ts.ts @@ -47,6 +47,7 @@ import { FunctionExpression, FunctionLikeDeclaration, GetAccessorDeclaration, + getAlwaysStrict, getEffectiveBaseTypeNode, getEmitFlags, getEmitModuleKind, @@ -57,7 +58,6 @@ import { getOriginalNode, getParseTreeNode, getProperties, - getStrictOptionValue, getTextOfNode, hasDecorators, hasSyntacticModifier, @@ -836,7 +836,7 @@ export function transformTypeScript(context: TransformationContext): Transformer } function visitSourceFile(node: SourceFile) { - const alwaysStrict = getStrictOptionValue(compilerOptions, "alwaysStrict") && + const alwaysStrict = getAlwaysStrict(compilerOptions) && !(isExternalModule(node) && moduleKind >= ModuleKind.ES2015) && !isJsonSourceFile(node); diff --git a/src/compiler/utilities.ts b/src/compiler/utilities.ts index 9a78e2de7a949..975577ed9d772 100644 --- a/src/compiler/utilities.ts +++ b/src/compiler/utilities.ts @@ -2132,7 +2132,7 @@ export function isEffectiveStrictModeSourceFile(node: SourceFile, compilerOption return false; } // If `alwaysStrict` is set, then treat the file as strict. - if (getStrictOptionValue(compilerOptions, "alwaysStrict")) { + if (getAlwaysStrict(compilerOptions)) { return true; } // Starting with a "use strict" directive indicates the file is strict. @@ -9203,10 +9203,11 @@ const _computedOptions = createComputedCompilerOptions({ return getStrictOptionValue(compilerOptions, "strictBuiltinIteratorReturn"); }, }, + // Previously a strict-mode flag, but no longer. alwaysStrict: { - dependencies: ["strict"], + dependencies: [], computeValue: compilerOptions => { - return getStrictOptionValue(compilerOptions, "alwaysStrict"); + return compilerOptions.alwaysStrict !== false; }, }, useUnknownInCatchVariables: { @@ -9254,6 +9255,8 @@ export const getAreDeclarationMapsEnabled: (compilerOptions: CompilerOptions) => export const getAllowJSCompilerOption: (compilerOptions: CompilerOptions) => boolean = _computedOptions.allowJs.computeValue; /** @internal */ export const getUseDefineForClassFields: (compilerOptions: CompilerOptions) => boolean = _computedOptions.useDefineForClassFields.computeValue; +/** @internal */ +export const getAlwaysStrict: (compilerOptions: CompilerOptions) => boolean = _computedOptions.alwaysStrict.computeValue; /** @internal */ export function emitModuleKindIsNonNodeESM(moduleKind: ModuleKind): boolean { @@ -9296,7 +9299,6 @@ export type StrictOptionName = | "strictBindCallApply" | "strictPropertyInitialization" | "strictBuiltinIteratorReturn" - | "alwaysStrict" | "useUnknownInCatchVariables"; /** @internal */ diff --git a/src/testRunner/unittests/tscWatch/programUpdates.ts b/src/testRunner/unittests/tscWatch/programUpdates.ts index 7fab62c966987..336af8e0657a1 100644 --- a/src/testRunner/unittests/tscWatch/programUpdates.ts +++ b/src/testRunner/unittests/tscWatch/programUpdates.ts @@ -1600,7 +1600,7 @@ foo().hello`, }, { caption: "Set always strict false", - edit: sys => sys.writeFile(`/user/username/projects/myproject/tsconfig.json`, jsonToReadableText({ compilerOptions: { strict: true, alwaysStrict: false } })), // Avoid changing 'alwaysStrict' or must re-bind + edit: sys => sys.writeFile(`/user/username/projects/myproject/tsconfig.json`, jsonToReadableText({ compilerOptions: { strict: true, alwaysStrict: false, ignoreDeprecations: "6.0" } })), // Avoid changing 'alwaysStrict' or must re-bind timeouts: sys => sys.runQueuedTimeoutCallbacks(), }, { diff --git a/tests/baselines/reference/2dArrays.js b/tests/baselines/reference/2dArrays.js index 3c12da4a25ef8..f31a655fe2d33 100644 --- a/tests/baselines/reference/2dArrays.js +++ b/tests/baselines/reference/2dArrays.js @@ -18,6 +18,7 @@ class Board { } //// [2dArrays.js] +"use strict"; var Cell = /** @class */ (function () { function Cell() { } diff --git a/tests/baselines/reference/AmbientModuleAndAmbientFunctionWithTheSameNameAndCommonRoot.js b/tests/baselines/reference/AmbientModuleAndAmbientFunctionWithTheSameNameAndCommonRoot.js index 266bc0d6c031a..16c3ac1b7ae29 100644 --- a/tests/baselines/reference/AmbientModuleAndAmbientFunctionWithTheSameNameAndCommonRoot.js +++ b/tests/baselines/reference/AmbientModuleAndAmbientFunctionWithTheSameNameAndCommonRoot.js @@ -14,6 +14,7 @@ var cl = Point(); var cl = Point.Origin; //// [test.js] +"use strict"; var cl; var cl = Point(); var cl = Point.Origin; diff --git a/tests/baselines/reference/AmbientModuleAndAmbientWithSameNameAndCommonRoot.js b/tests/baselines/reference/AmbientModuleAndAmbientWithSameNameAndCommonRoot.js index e5cd0192637af..fca530f585d3f 100644 --- a/tests/baselines/reference/AmbientModuleAndAmbientWithSameNameAndCommonRoot.js +++ b/tests/baselines/reference/AmbientModuleAndAmbientWithSameNameAndCommonRoot.js @@ -26,6 +26,7 @@ var p = new A.Point(0, 0); // unexpected error here, bug 840000 //// [test.js] +"use strict"; var p; var p = A.Point.Origin; var p = new A.Point(0, 0); // unexpected error here, bug 840000 diff --git a/tests/baselines/reference/AmbientModuleAndNonAmbientClassWithSameNameAndCommonRoot.js b/tests/baselines/reference/AmbientModuleAndNonAmbientClassWithSameNameAndCommonRoot.js index 5ae2a13fd7014..da8407f06529d 100644 --- a/tests/baselines/reference/AmbientModuleAndNonAmbientClassWithSameNameAndCommonRoot.js +++ b/tests/baselines/reference/AmbientModuleAndNonAmbientClassWithSameNameAndCommonRoot.js @@ -23,6 +23,7 @@ var p = A.Point.Origin; var p = new A.Point(0, 0); // unexpected error here, bug 840000 //// [classPoint.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { @@ -35,6 +36,7 @@ var A; A.Point = Point; })(A || (A = {})); //// [test.js] +"use strict"; var p; var p = A.Point.Origin; var p = new A.Point(0, 0); // unexpected error here, bug 840000 diff --git a/tests/baselines/reference/AmbientModuleAndNonAmbientFunctionWithTheSameNameAndCommonRoot.js b/tests/baselines/reference/AmbientModuleAndNonAmbientFunctionWithTheSameNameAndCommonRoot.js index b18fd32dae902..187e1c52e202d 100644 --- a/tests/baselines/reference/AmbientModuleAndNonAmbientFunctionWithTheSameNameAndCommonRoot.js +++ b/tests/baselines/reference/AmbientModuleAndNonAmbientFunctionWithTheSameNameAndCommonRoot.js @@ -16,10 +16,12 @@ var cl = Point(); var cl = Point.Origin; //// [function.js] +"use strict"; function Point() { return { x: 0, y: 0 }; } //// [test.js] +"use strict"; var cl; var cl = Point(); var cl = Point.Origin; diff --git a/tests/baselines/reference/ArrowFunction1.js b/tests/baselines/reference/ArrowFunction1.js index a29e21b1fb9c4..9afb335493d5b 100644 --- a/tests/baselines/reference/ArrowFunction1.js +++ b/tests/baselines/reference/ArrowFunction1.js @@ -6,5 +6,6 @@ var v = (a: ) => { }; //// [ArrowFunction1.js] +"use strict"; var v = function (a) { }; diff --git a/tests/baselines/reference/ArrowFunction3.js b/tests/baselines/reference/ArrowFunction3.js index eb6b8614e2fec..a2566318b95ce 100644 --- a/tests/baselines/reference/ArrowFunction3.js +++ b/tests/baselines/reference/ArrowFunction3.js @@ -6,6 +6,7 @@ var v = (a): => { }; //// [ArrowFunction3.js] +"use strict"; var v = (a); { } diff --git a/tests/baselines/reference/ArrowFunction4.js b/tests/baselines/reference/ArrowFunction4.js index a60136f19c72f..722e61680218a 100644 --- a/tests/baselines/reference/ArrowFunction4.js +++ b/tests/baselines/reference/ArrowFunction4.js @@ -6,5 +6,6 @@ var v = (a, b) => { }; //// [ArrowFunction4.js] +"use strict"; var v = function (a, b) { }; diff --git a/tests/baselines/reference/ArrowFunctionExpression1.js b/tests/baselines/reference/ArrowFunctionExpression1.js index aa18c62926bd5..8e55f431731ad 100644 --- a/tests/baselines/reference/ArrowFunctionExpression1.js +++ b/tests/baselines/reference/ArrowFunctionExpression1.js @@ -4,4 +4,5 @@ var v = (public x: string) => { }; //// [ArrowFunctionExpression1.js] +"use strict"; var v = function (x) { }; diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.js b/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.js index c338dc64e2b55..c8c4213fc8b00 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.js +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.js @@ -52,6 +52,7 @@ namespace clodule4 { //// [ClassAndModuleThatMergeWithModuleMemberThatUsesClassTypeParameter.js] +"use strict"; // all expected to be errors var clodule1 = /** @class */ (function () { function clodule1() { diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.js b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.js index e16c84c4342e5..be70741138e81 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.js +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.js @@ -18,6 +18,7 @@ namespace clodule { //// [ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndGenericClassStaticFunctionOfTheSameName.js] +"use strict"; var clodule = /** @class */ (function () { function clodule() { } diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.js b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.js index 892a7e4c1ed5c..59e93339c92b9 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.js +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.js @@ -18,6 +18,7 @@ namespace clodule { //// [ClassAndModuleThatMergeWithModulesExportedGenericFunctionAndNonGenericClassStaticFunctionOfTheSameName.js] +"use strict"; var clodule = /** @class */ (function () { function clodule() { } diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.js b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.js index c624c170d13e6..a4e0aa0c9eb97 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.js +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.js @@ -18,6 +18,7 @@ namespace clodule { //// [ClassAndModuleThatMergeWithModulesExportedStaticFunctionUsingClassPrivateStatics.js] +"use strict"; var clodule = /** @class */ (function () { function clodule() { } diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndExportedFunctionThatShareAName.js b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndExportedFunctionThatShareAName.js index 0affe190c890c..682dea2a18cee 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndExportedFunctionThatShareAName.js +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndExportedFunctionThatShareAName.js @@ -25,6 +25,7 @@ namespace A { } //// [ClassAndModuleThatMergeWithStaticFunctionAndExportedFunctionThatShareAName.js] +"use strict"; var Point = /** @class */ (function () { function Point(x, y) { this.x = x; diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndNonExportedFunctionThatShareAName.js b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndNonExportedFunctionThatShareAName.js index 32359be4c4f0f..da2203298ca8e 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndNonExportedFunctionThatShareAName.js +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticFunctionAndNonExportedFunctionThatShareAName.js @@ -25,6 +25,7 @@ namespace A { } //// [ClassAndModuleThatMergeWithStaticFunctionAndNonExportedFunctionThatShareAName.js] +"use strict"; var Point = /** @class */ (function () { function Point(x, y) { this.x = x; diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticVariableAndExportedVarThatShareAName.js b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticVariableAndExportedVarThatShareAName.js index 6c04a594c133f..fc53485838930 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticVariableAndExportedVarThatShareAName.js +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticVariableAndExportedVarThatShareAName.js @@ -25,6 +25,7 @@ namespace A { } //// [ClassAndModuleThatMergeWithStaticVariableAndExportedVarThatShareAName.js] +"use strict"; var Point = /** @class */ (function () { function Point(x, y) { this.x = x; diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticVariableAndNonExportedVarThatShareAName.js b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticVariableAndNonExportedVarThatShareAName.js index 62a5c6e1dacce..848d4c9d94e68 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithStaticVariableAndNonExportedVarThatShareAName.js +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithStaticVariableAndNonExportedVarThatShareAName.js @@ -25,6 +25,7 @@ namespace A { } //// [ClassAndModuleThatMergeWithStaticVariableAndNonExportedVarThatShareAName.js] +"use strict"; var Point = /** @class */ (function () { function Point(x, y) { this.x = x; diff --git a/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.js b/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.js index 3fcff5b439277..6494115308f77 100644 --- a/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.js +++ b/tests/baselines/reference/ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.js @@ -4,3 +4,4 @@ //// [ClassAndModuleThatMergeWithStringIndexerAndExportedFunctionWithTypeIncompatibleWithIndexer.js] +"use strict"; diff --git a/tests/baselines/reference/ClassAndModuleWithSameNameAndCommonRoot.js b/tests/baselines/reference/ClassAndModuleWithSameNameAndCommonRoot.js index 283e2936197d0..2adcc378521f7 100644 --- a/tests/baselines/reference/ClassAndModuleWithSameNameAndCommonRoot.js +++ b/tests/baselines/reference/ClassAndModuleWithSameNameAndCommonRoot.js @@ -41,6 +41,7 @@ var a: { id: string }; //// [class.js] +"use strict"; var X; (function (X) { var Y; @@ -56,6 +57,7 @@ var X; })(Y = X.Y || (X.Y = {})); })(X || (X = {})); //// [module.js] +"use strict"; var X; (function (X) { var Y; @@ -67,10 +69,12 @@ var X; })(Y = X.Y || (X.Y = {})); })(X || (X = {})); //// [test.js] +"use strict"; //var cl: { x: number; y: number; } var cl = new X.Y.Point(1, 1); var cl = X.Y.Point.Origin; // error not expected here same as bug 83996 ? //// [simple.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/ClassAndModuleWithSameNameAndCommonRootES6.js b/tests/baselines/reference/ClassAndModuleWithSameNameAndCommonRootES6.js index 8dd5d75bb1fa7..0cc4c767b05f4 100644 --- a/tests/baselines/reference/ClassAndModuleWithSameNameAndCommonRootES6.js +++ b/tests/baselines/reference/ClassAndModuleWithSameNameAndCommonRootES6.js @@ -41,6 +41,7 @@ var a: { id: string }; //// [class.js] +"use strict"; var X; (function (X) { var Y; @@ -55,6 +56,7 @@ var X; })(Y = X.Y || (X.Y = {})); })(X || (X = {})); //// [module.js] +"use strict"; var X; (function (X) { var Y; @@ -66,10 +68,12 @@ var X; })(Y = X.Y || (X.Y = {})); })(X || (X = {})); //// [test.js] +"use strict"; //var cl: { x: number; y: number; } var cl = new X.Y.Point(1, 1); var cl = X.Y.Point.Origin; // error not expected here same as bug 83996 ? //// [simple.js] +"use strict"; class A { } (function (A) { diff --git a/tests/baselines/reference/ClassDeclaration10.js b/tests/baselines/reference/ClassDeclaration10.js index 5f73b8d33a788..5365ff26a7557 100644 --- a/tests/baselines/reference/ClassDeclaration10.js +++ b/tests/baselines/reference/ClassDeclaration10.js @@ -7,6 +7,7 @@ class C { } //// [ClassDeclaration10.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/ClassDeclaration11.js b/tests/baselines/reference/ClassDeclaration11.js index e89e124dec1a2..bd201e772e7d4 100644 --- a/tests/baselines/reference/ClassDeclaration11.js +++ b/tests/baselines/reference/ClassDeclaration11.js @@ -7,6 +7,7 @@ class C { } //// [ClassDeclaration11.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/ClassDeclaration13.js b/tests/baselines/reference/ClassDeclaration13.js index f7d99956c17c3..05bf55788d31b 100644 --- a/tests/baselines/reference/ClassDeclaration13.js +++ b/tests/baselines/reference/ClassDeclaration13.js @@ -7,6 +7,7 @@ class C { } //// [ClassDeclaration13.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/ClassDeclaration14.js b/tests/baselines/reference/ClassDeclaration14.js index 151db74105a9b..a0fecf865241f 100644 --- a/tests/baselines/reference/ClassDeclaration14.js +++ b/tests/baselines/reference/ClassDeclaration14.js @@ -7,6 +7,7 @@ class C { } //// [ClassDeclaration14.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/ClassDeclaration15.js b/tests/baselines/reference/ClassDeclaration15.js index e9b350b48b45f..f9611214f1d9c 100644 --- a/tests/baselines/reference/ClassDeclaration15.js +++ b/tests/baselines/reference/ClassDeclaration15.js @@ -7,6 +7,7 @@ class C { } //// [ClassDeclaration15.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/ClassDeclaration21.js b/tests/baselines/reference/ClassDeclaration21.js index 8dc2048f31532..f5e12bbd1ab09 100644 --- a/tests/baselines/reference/ClassDeclaration21.js +++ b/tests/baselines/reference/ClassDeclaration21.js @@ -7,6 +7,7 @@ class C { } //// [ClassDeclaration21.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/ClassDeclaration22.js b/tests/baselines/reference/ClassDeclaration22.js index 4a03cf47b15f2..626c9341c2cb5 100644 --- a/tests/baselines/reference/ClassDeclaration22.js +++ b/tests/baselines/reference/ClassDeclaration22.js @@ -7,6 +7,7 @@ class C { } //// [ClassDeclaration22.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/ClassDeclaration24.js b/tests/baselines/reference/ClassDeclaration24.js index e248c088afd3f..b9d5283fb46f2 100644 --- a/tests/baselines/reference/ClassDeclaration24.js +++ b/tests/baselines/reference/ClassDeclaration24.js @@ -5,6 +5,7 @@ class any { } //// [ClassDeclaration24.js] +"use strict"; var any = /** @class */ (function () { function any() { } diff --git a/tests/baselines/reference/ClassDeclaration25.js b/tests/baselines/reference/ClassDeclaration25.js index 67283dc647c6e..96809e16cd9a2 100644 --- a/tests/baselines/reference/ClassDeclaration25.js +++ b/tests/baselines/reference/ClassDeclaration25.js @@ -12,6 +12,7 @@ class List implements IList { //// [ClassDeclaration25.js] +"use strict"; var List = /** @class */ (function () { function List() { } diff --git a/tests/baselines/reference/ClassDeclaration26.js b/tests/baselines/reference/ClassDeclaration26.js index ff1c2fdd8ed52..751a881006df1 100644 --- a/tests/baselines/reference/ClassDeclaration26.js +++ b/tests/baselines/reference/ClassDeclaration26.js @@ -8,6 +8,7 @@ class C { } //// [ClassDeclaration26.js] +"use strict"; var C = /** @class */ (function () { function C() { this.foo = 10; diff --git a/tests/baselines/reference/ClassDeclaration8.js b/tests/baselines/reference/ClassDeclaration8.js index 3a288f769dac4..97116e217af30 100644 --- a/tests/baselines/reference/ClassDeclaration8.js +++ b/tests/baselines/reference/ClassDeclaration8.js @@ -6,6 +6,7 @@ class C { } //// [ClassDeclaration8.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/ClassDeclaration9.js b/tests/baselines/reference/ClassDeclaration9.js index 0fbf5c9ad7f6c..8493525347677 100644 --- a/tests/baselines/reference/ClassDeclaration9.js +++ b/tests/baselines/reference/ClassDeclaration9.js @@ -6,6 +6,7 @@ class C { } //// [ClassDeclaration9.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/ClassDeclarationWithInvalidConstOnPropertyDeclaration.js b/tests/baselines/reference/ClassDeclarationWithInvalidConstOnPropertyDeclaration.js index c359f9000369f..285037de50015 100644 --- a/tests/baselines/reference/ClassDeclarationWithInvalidConstOnPropertyDeclaration.js +++ b/tests/baselines/reference/ClassDeclarationWithInvalidConstOnPropertyDeclaration.js @@ -6,6 +6,7 @@ class AtomicNumbers { } //// [ClassDeclarationWithInvalidConstOnPropertyDeclaration.js] +"use strict"; var AtomicNumbers = /** @class */ (function () { function AtomicNumbers() { } diff --git a/tests/baselines/reference/ClassDeclarationWithInvalidConstOnPropertyDeclaration2.js b/tests/baselines/reference/ClassDeclarationWithInvalidConstOnPropertyDeclaration2.js index f4c93aafa39fa..99faef852f204 100644 --- a/tests/baselines/reference/ClassDeclarationWithInvalidConstOnPropertyDeclaration2.js +++ b/tests/baselines/reference/ClassDeclarationWithInvalidConstOnPropertyDeclaration2.js @@ -7,6 +7,7 @@ class C { } //// [ClassDeclarationWithInvalidConstOnPropertyDeclaration2.js] +"use strict"; var C = /** @class */ (function () { function C() { this.x = 10; diff --git a/tests/baselines/reference/ES3For-ofTypeCheck1.js b/tests/baselines/reference/ES3For-ofTypeCheck1.js index 7c119c66deddb..85f303f8a90e5 100644 --- a/tests/baselines/reference/ES3For-ofTypeCheck1.js +++ b/tests/baselines/reference/ES3For-ofTypeCheck1.js @@ -4,6 +4,7 @@ for (var v of "") { } //// [ES3For-ofTypeCheck1.js] +"use strict"; for (var _i = 0, _a = ""; _i < _a.length; _i++) { var v = _a[_i]; } diff --git a/tests/baselines/reference/ES3For-ofTypeCheck2.js b/tests/baselines/reference/ES3For-ofTypeCheck2.js index 2e0aab3481f1c..ba2cf70aceb7c 100644 --- a/tests/baselines/reference/ES3For-ofTypeCheck2.js +++ b/tests/baselines/reference/ES3For-ofTypeCheck2.js @@ -4,6 +4,7 @@ for (var v of [true]) { } //// [ES3For-ofTypeCheck2.js] +"use strict"; for (var _i = 0, _a = [true]; _i < _a.length; _i++) { var v = _a[_i]; } diff --git a/tests/baselines/reference/ES3For-ofTypeCheck4.js b/tests/baselines/reference/ES3For-ofTypeCheck4.js index 30b042c3c77ef..02a258fd770cf 100644 --- a/tests/baselines/reference/ES3For-ofTypeCheck4.js +++ b/tests/baselines/reference/ES3For-ofTypeCheck4.js @@ -5,6 +5,7 @@ var union: string | string[]; for (const v of union) { } //// [ES3For-ofTypeCheck4.js] +"use strict"; var union; for (var _i = 0, union_1 = union; _i < union_1.length; _i++) { var v = union_1[_i]; diff --git a/tests/baselines/reference/ES3For-ofTypeCheck6.js b/tests/baselines/reference/ES3For-ofTypeCheck6.js index ba5a4971ba36b..dd75ed916d55d 100644 --- a/tests/baselines/reference/ES3For-ofTypeCheck6.js +++ b/tests/baselines/reference/ES3For-ofTypeCheck6.js @@ -5,6 +5,7 @@ var union: string[] | number[]; for (var v of union) { } //// [ES3For-ofTypeCheck6.js] +"use strict"; var union; for (var _i = 0, union_1 = union; _i < union_1.length; _i++) { var v = union_1[_i]; diff --git a/tests/baselines/reference/ES5For-of1.js b/tests/baselines/reference/ES5For-of1.js index 41d9072a7ae68..e61054a0894cc 100644 --- a/tests/baselines/reference/ES5For-of1.js +++ b/tests/baselines/reference/ES5For-of1.js @@ -6,6 +6,7 @@ for (var v of ['a', 'b', 'c']) { } //// [ES5For-of1.js] +"use strict"; for (var _i = 0, _a = ['a', 'b', 'c']; _i < _a.length; _i++) { var v = _a[_i]; console.log(v); diff --git a/tests/baselines/reference/ES5For-of1.js.map b/tests/baselines/reference/ES5For-of1.js.map index 983cd686fbb88..da1714ebda575 100644 --- a/tests/baselines/reference/ES5For-of1.js.map +++ b/tests/baselines/reference/ES5For-of1.js.map @@ -1,3 +1,3 @@ //// [ES5For-of1.js.map] -{"version":3,"file":"ES5For-of1.js","sourceRoot":"","sources":["ES5For-of1.ts"],"names":[],"mappings":"AAAA,KAAc,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe,EAAE,CAAC;IAA3B,IAAI,CAAC,SAAA;IACN,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACnB,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,Zm9yICh2YXIgX2kgPSAwLCBfYSA9IFsnYScsICdiJywgJ2MnXTsgX2kgPCBfYS5sZW5ndGg7IF9pKyspIHsNCiAgICB2YXIgdiA9IF9hW19pXTsNCiAgICBjb25zb2xlLmxvZyh2KTsNCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPUVTNUZvci1vZjEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mMS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVTNUZvci1vZjEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsS0FBYyxVQUFlLEVBQWYsTUFBQyxHQUFHLEVBQUUsR0FBRyxFQUFFLEdBQUcsQ0FBQyxFQUFmLGNBQWUsRUFBZixJQUFlLEVBQUUsQ0FBQztJQUEzQixJQUFJLENBQUMsU0FBQTtJQUNOLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUM7QUFDbkIsQ0FBQyJ9,Zm9yICh2YXIgdiBvZiBbJ2EnLCAnYicsICdjJ10pIHsKICAgIGNvbnNvbGUubG9nKHYpOwp9 +{"version":3,"file":"ES5For-of1.js","sourceRoot":"","sources":["ES5For-of1.ts"],"names":[],"mappings":";AAAA,KAAc,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe,EAAE,CAAC;IAA3B,IAAI,CAAC,SAAA;IACN,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;AACnB,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KZm9yICh2YXIgX2kgPSAwLCBfYSA9IFsnYScsICdiJywgJ2MnXTsgX2kgPCBfYS5sZW5ndGg7IF9pKyspIHsNCiAgICB2YXIgdiA9IF9hW19pXTsNCiAgICBjb25zb2xlLmxvZyh2KTsNCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPUVTNUZvci1vZjEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mMS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVTNUZvci1vZjEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLEtBQWMsVUFBZSxFQUFmLE1BQUMsR0FBRyxFQUFFLEdBQUcsRUFBRSxHQUFHLENBQUMsRUFBZixjQUFlLEVBQWYsSUFBZSxFQUFFLENBQUM7SUFBM0IsSUFBSSxDQUFDLFNBQUE7SUFDTixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO0FBQ25CLENBQUMifQ==,Zm9yICh2YXIgdiBvZiBbJ2EnLCAnYicsICdjJ10pIHsKICAgIGNvbnNvbGUubG9nKHYpOwp9 diff --git a/tests/baselines/reference/ES5For-of1.sourcemap.txt b/tests/baselines/reference/ES5For-of1.sourcemap.txt index 3ac3f01bea663..0c95684bbd9dc 100644 --- a/tests/baselines/reference/ES5For-of1.sourcemap.txt +++ b/tests/baselines/reference/ES5For-of1.sourcemap.txt @@ -8,6 +8,7 @@ sources: ES5For-of1.ts emittedFile:ES5For-of1.js sourceFile:ES5For-of1.ts ------------------------------------------------------------------- +>>>"use strict"; >>>for (var _i = 0, _a = ['a', 'b', 'c']; _i < _a.length; _i++) { 1 > 2 >^^^^^ @@ -43,23 +44,23 @@ sourceFile:ES5For-of1.ts 15> ['a', 'b', 'c'] 16> ) 17> { -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 6) Source(1, 15) + SourceIndex(0) -3 >Emitted(1, 16) Source(1, 30) + SourceIndex(0) -4 >Emitted(1, 18) Source(1, 15) + SourceIndex(0) -5 >Emitted(1, 24) Source(1, 16) + SourceIndex(0) -6 >Emitted(1, 27) Source(1, 19) + SourceIndex(0) -7 >Emitted(1, 29) Source(1, 21) + SourceIndex(0) -8 >Emitted(1, 32) Source(1, 24) + SourceIndex(0) -9 >Emitted(1, 34) Source(1, 26) + SourceIndex(0) -10>Emitted(1, 37) Source(1, 29) + SourceIndex(0) -11>Emitted(1, 38) Source(1, 30) + SourceIndex(0) -12>Emitted(1, 40) Source(1, 15) + SourceIndex(0) -13>Emitted(1, 54) Source(1, 30) + SourceIndex(0) -14>Emitted(1, 56) Source(1, 15) + SourceIndex(0) -15>Emitted(1, 60) Source(1, 30) + SourceIndex(0) -16>Emitted(1, 62) Source(1, 32) + SourceIndex(0) -17>Emitted(1, 63) Source(1, 33) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 6) Source(1, 15) + SourceIndex(0) +3 >Emitted(2, 16) Source(1, 30) + SourceIndex(0) +4 >Emitted(2, 18) Source(1, 15) + SourceIndex(0) +5 >Emitted(2, 24) Source(1, 16) + SourceIndex(0) +6 >Emitted(2, 27) Source(1, 19) + SourceIndex(0) +7 >Emitted(2, 29) Source(1, 21) + SourceIndex(0) +8 >Emitted(2, 32) Source(1, 24) + SourceIndex(0) +9 >Emitted(2, 34) Source(1, 26) + SourceIndex(0) +10>Emitted(2, 37) Source(1, 29) + SourceIndex(0) +11>Emitted(2, 38) Source(1, 30) + SourceIndex(0) +12>Emitted(2, 40) Source(1, 15) + SourceIndex(0) +13>Emitted(2, 54) Source(1, 30) + SourceIndex(0) +14>Emitted(2, 56) Source(1, 15) + SourceIndex(0) +15>Emitted(2, 60) Source(1, 30) + SourceIndex(0) +16>Emitted(2, 62) Source(1, 32) + SourceIndex(0) +17>Emitted(2, 63) Source(1, 33) + SourceIndex(0) --- >>> var v = _a[_i]; 1 >^^^^ @@ -71,10 +72,10 @@ sourceFile:ES5For-of1.ts 2 > var 3 > v 4 > -1 >Emitted(2, 5) Source(1, 6) + SourceIndex(0) -2 >Emitted(2, 9) Source(1, 10) + SourceIndex(0) -3 >Emitted(2, 10) Source(1, 11) + SourceIndex(0) -4 >Emitted(2, 19) Source(1, 11) + SourceIndex(0) +1 >Emitted(3, 5) Source(1, 6) + SourceIndex(0) +2 >Emitted(3, 9) Source(1, 10) + SourceIndex(0) +3 >Emitted(3, 10) Source(1, 11) + SourceIndex(0) +4 >Emitted(3, 19) Source(1, 11) + SourceIndex(0) --- >>> console.log(v); 1->^^^^ @@ -94,14 +95,14 @@ sourceFile:ES5For-of1.ts 6 > v 7 > ) 8 > ; -1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) -3 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) -4 >Emitted(3, 16) Source(2, 16) + SourceIndex(0) -5 >Emitted(3, 17) Source(2, 17) + SourceIndex(0) -6 >Emitted(3, 18) Source(2, 18) + SourceIndex(0) -7 >Emitted(3, 19) Source(2, 19) + SourceIndex(0) -8 >Emitted(3, 20) Source(2, 20) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(4, 12) Source(2, 12) + SourceIndex(0) +3 >Emitted(4, 13) Source(2, 13) + SourceIndex(0) +4 >Emitted(4, 16) Source(2, 16) + SourceIndex(0) +5 >Emitted(4, 17) Source(2, 17) + SourceIndex(0) +6 >Emitted(4, 18) Source(2, 18) + SourceIndex(0) +7 >Emitted(4, 19) Source(2, 19) + SourceIndex(0) +8 >Emitted(4, 20) Source(2, 20) + SourceIndex(0) --- >>>} 1 > @@ -110,7 +111,7 @@ sourceFile:ES5For-of1.ts 1 > > 2 >} -1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(4, 2) Source(3, 2) + SourceIndex(0) +1 >Emitted(5, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(5, 2) Source(3, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=ES5For-of1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of10.js b/tests/baselines/reference/ES5For-of10.js index 434d9cacaa529..21aa6540b2162 100644 --- a/tests/baselines/reference/ES5For-of10.js +++ b/tests/baselines/reference/ES5For-of10.js @@ -10,6 +10,7 @@ for (foo().x of []) { } //// [ES5For-of10.js] +"use strict"; function foo() { return { x: 0 }; } diff --git a/tests/baselines/reference/ES5For-of11.js b/tests/baselines/reference/ES5For-of11.js index c22ea957f644c..fe32d588322fa 100644 --- a/tests/baselines/reference/ES5For-of11.js +++ b/tests/baselines/reference/ES5For-of11.js @@ -5,6 +5,7 @@ var v; for (v of []) { } //// [ES5For-of11.js] +"use strict"; var v; for (var _i = 0, _a = []; _i < _a.length; _i++) { v = _a[_i]; diff --git a/tests/baselines/reference/ES5For-of12.js b/tests/baselines/reference/ES5For-of12.js index 39deefe2cce98..3b65b31e26b9d 100644 --- a/tests/baselines/reference/ES5For-of12.js +++ b/tests/baselines/reference/ES5For-of12.js @@ -4,6 +4,7 @@ for ([""] of [[""]]) { } //// [ES5For-of12.js] +"use strict"; for (var _i = 0, _a = [[""]]; _i < _a.length; _i++) { "" = _a[_i][0]; } diff --git a/tests/baselines/reference/ES5For-of13.js b/tests/baselines/reference/ES5For-of13.js index fe1a0f41a0c9d..a116fb82739e6 100644 --- a/tests/baselines/reference/ES5For-of13.js +++ b/tests/baselines/reference/ES5For-of13.js @@ -6,6 +6,7 @@ for (let v of ['a', 'b', 'c']) { } //// [ES5For-of13.js] +"use strict"; for (var _i = 0, _a = ['a', 'b', 'c']; _i < _a.length; _i++) { var v = _a[_i]; var x = v; diff --git a/tests/baselines/reference/ES5For-of13.js.map b/tests/baselines/reference/ES5For-of13.js.map index 89e9b0c0e74c5..1a3e1925925c9 100644 --- a/tests/baselines/reference/ES5For-of13.js.map +++ b/tests/baselines/reference/ES5For-of13.js.map @@ -1,3 +1,3 @@ //// [ES5For-of13.js.map] -{"version":3,"file":"ES5For-of13.js","sourceRoot":"","sources":["ES5For-of13.ts"],"names":[],"mappings":"AAAA,KAAc,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe,EAAE,CAAC;IAA3B,IAAI,CAAC,SAAA;IACN,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,Zm9yICh2YXIgX2kgPSAwLCBfYSA9IFsnYScsICdiJywgJ2MnXTsgX2kgPCBfYS5sZW5ndGg7IF9pKyspIHsNCiAgICB2YXIgdiA9IF9hW19pXTsNCiAgICB2YXIgeCA9IHY7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1FUzVGb3Itb2YxMy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mMTMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJFUzVGb3Itb2YxMy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxLQUFjLFVBQWUsRUFBZixNQUFDLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxDQUFDLEVBQWYsY0FBZSxFQUFmLElBQWUsRUFBRSxDQUFDO0lBQTNCLElBQUksQ0FBQyxTQUFBO0lBQ04sSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ2QsQ0FBQyJ9,Zm9yIChsZXQgdiBvZiBbJ2EnLCAnYicsICdjJ10pIHsKICAgIHZhciB4ID0gdjsKfQ== +{"version":3,"file":"ES5For-of13.js","sourceRoot":"","sources":["ES5For-of13.ts"],"names":[],"mappings":";AAAA,KAAc,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe,EAAE,CAAC;IAA3B,IAAI,CAAC,SAAA;IACN,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KZm9yICh2YXIgX2kgPSAwLCBfYSA9IFsnYScsICdiJywgJ2MnXTsgX2kgPCBfYS5sZW5ndGg7IF9pKyspIHsNCiAgICB2YXIgdiA9IF9hW19pXTsNCiAgICB2YXIgeCA9IHY7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1FUzVGb3Itb2YxMy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mMTMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJFUzVGb3Itb2YxMy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsS0FBYyxVQUFlLEVBQWYsTUFBQyxHQUFHLEVBQUUsR0FBRyxFQUFFLEdBQUcsQ0FBQyxFQUFmLGNBQWUsRUFBZixJQUFlLEVBQUUsQ0FBQztJQUEzQixJQUFJLENBQUMsU0FBQTtJQUNOLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNkLENBQUMifQ==,Zm9yIChsZXQgdiBvZiBbJ2EnLCAnYicsICdjJ10pIHsKICAgIHZhciB4ID0gdjsKfQ== diff --git a/tests/baselines/reference/ES5For-of13.sourcemap.txt b/tests/baselines/reference/ES5For-of13.sourcemap.txt index 59c7ac07319ca..2ca8e904afa9f 100644 --- a/tests/baselines/reference/ES5For-of13.sourcemap.txt +++ b/tests/baselines/reference/ES5For-of13.sourcemap.txt @@ -8,6 +8,7 @@ sources: ES5For-of13.ts emittedFile:ES5For-of13.js sourceFile:ES5For-of13.ts ------------------------------------------------------------------- +>>>"use strict"; >>>for (var _i = 0, _a = ['a', 'b', 'c']; _i < _a.length; _i++) { 1 > 2 >^^^^^ @@ -43,23 +44,23 @@ sourceFile:ES5For-of13.ts 15> ['a', 'b', 'c'] 16> ) 17> { -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 6) Source(1, 15) + SourceIndex(0) -3 >Emitted(1, 16) Source(1, 30) + SourceIndex(0) -4 >Emitted(1, 18) Source(1, 15) + SourceIndex(0) -5 >Emitted(1, 24) Source(1, 16) + SourceIndex(0) -6 >Emitted(1, 27) Source(1, 19) + SourceIndex(0) -7 >Emitted(1, 29) Source(1, 21) + SourceIndex(0) -8 >Emitted(1, 32) Source(1, 24) + SourceIndex(0) -9 >Emitted(1, 34) Source(1, 26) + SourceIndex(0) -10>Emitted(1, 37) Source(1, 29) + SourceIndex(0) -11>Emitted(1, 38) Source(1, 30) + SourceIndex(0) -12>Emitted(1, 40) Source(1, 15) + SourceIndex(0) -13>Emitted(1, 54) Source(1, 30) + SourceIndex(0) -14>Emitted(1, 56) Source(1, 15) + SourceIndex(0) -15>Emitted(1, 60) Source(1, 30) + SourceIndex(0) -16>Emitted(1, 62) Source(1, 32) + SourceIndex(0) -17>Emitted(1, 63) Source(1, 33) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 6) Source(1, 15) + SourceIndex(0) +3 >Emitted(2, 16) Source(1, 30) + SourceIndex(0) +4 >Emitted(2, 18) Source(1, 15) + SourceIndex(0) +5 >Emitted(2, 24) Source(1, 16) + SourceIndex(0) +6 >Emitted(2, 27) Source(1, 19) + SourceIndex(0) +7 >Emitted(2, 29) Source(1, 21) + SourceIndex(0) +8 >Emitted(2, 32) Source(1, 24) + SourceIndex(0) +9 >Emitted(2, 34) Source(1, 26) + SourceIndex(0) +10>Emitted(2, 37) Source(1, 29) + SourceIndex(0) +11>Emitted(2, 38) Source(1, 30) + SourceIndex(0) +12>Emitted(2, 40) Source(1, 15) + SourceIndex(0) +13>Emitted(2, 54) Source(1, 30) + SourceIndex(0) +14>Emitted(2, 56) Source(1, 15) + SourceIndex(0) +15>Emitted(2, 60) Source(1, 30) + SourceIndex(0) +16>Emitted(2, 62) Source(1, 32) + SourceIndex(0) +17>Emitted(2, 63) Source(1, 33) + SourceIndex(0) --- >>> var v = _a[_i]; 1 >^^^^ @@ -70,10 +71,10 @@ sourceFile:ES5For-of13.ts 2 > let 3 > v 4 > -1 >Emitted(2, 5) Source(1, 6) + SourceIndex(0) -2 >Emitted(2, 9) Source(1, 10) + SourceIndex(0) -3 >Emitted(2, 10) Source(1, 11) + SourceIndex(0) -4 >Emitted(2, 19) Source(1, 11) + SourceIndex(0) +1 >Emitted(3, 5) Source(1, 6) + SourceIndex(0) +2 >Emitted(3, 9) Source(1, 10) + SourceIndex(0) +3 >Emitted(3, 10) Source(1, 11) + SourceIndex(0) +4 >Emitted(3, 19) Source(1, 11) + SourceIndex(0) --- >>> var x = v; 1 >^^^^ @@ -89,12 +90,12 @@ sourceFile:ES5For-of13.ts 4 > = 5 > v 6 > ; -1 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(3, 9) Source(2, 9) + SourceIndex(0) -3 >Emitted(3, 10) Source(2, 10) + SourceIndex(0) -4 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) -5 >Emitted(3, 14) Source(2, 14) + SourceIndex(0) -6 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) +1 >Emitted(4, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(4, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(4, 10) Source(2, 10) + SourceIndex(0) +4 >Emitted(4, 13) Source(2, 13) + SourceIndex(0) +5 >Emitted(4, 14) Source(2, 14) + SourceIndex(0) +6 >Emitted(4, 15) Source(2, 15) + SourceIndex(0) --- >>>} 1 > @@ -103,7 +104,7 @@ sourceFile:ES5For-of13.ts 1 > > 2 >} -1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(4, 2) Source(3, 2) + SourceIndex(0) +1 >Emitted(5, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(5, 2) Source(3, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=ES5For-of13.js.map \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of14.js b/tests/baselines/reference/ES5For-of14.js index 6e3c5a2ff5642..3fa80915dedb5 100644 --- a/tests/baselines/reference/ES5For-of14.js +++ b/tests/baselines/reference/ES5For-of14.js @@ -6,6 +6,7 @@ for (const v of []) { } //// [ES5For-of14.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var v = _a[_i]; var x = v; diff --git a/tests/baselines/reference/ES5For-of15.js b/tests/baselines/reference/ES5For-of15.js index c9138b2974055..ed40afc4dfdf7 100644 --- a/tests/baselines/reference/ES5For-of15.js +++ b/tests/baselines/reference/ES5For-of15.js @@ -9,6 +9,7 @@ for (let v of []) { } //// [ES5For-of15.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var v = _a[_i]; v; diff --git a/tests/baselines/reference/ES5For-of16.js b/tests/baselines/reference/ES5For-of16.js index 72a190faae400..57cc2aeb3276d 100644 --- a/tests/baselines/reference/ES5For-of16.js +++ b/tests/baselines/reference/ES5For-of16.js @@ -10,6 +10,7 @@ for (let v of []) { } //// [ES5For-of16.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var v = _a[_i]; v; diff --git a/tests/baselines/reference/ES5For-of17.js b/tests/baselines/reference/ES5For-of17.js index 807c5e5f879dc..19966ad93deb1 100644 --- a/tests/baselines/reference/ES5For-of17.js +++ b/tests/baselines/reference/ES5For-of17.js @@ -10,6 +10,7 @@ for (let v of []) { } //// [ES5For-of17.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var v = _a[_i]; v; diff --git a/tests/baselines/reference/ES5For-of18.js b/tests/baselines/reference/ES5For-of18.js index e120417cbb582..cf76f8ea5f9ef 100644 --- a/tests/baselines/reference/ES5For-of18.js +++ b/tests/baselines/reference/ES5For-of18.js @@ -10,6 +10,7 @@ for (let v of []) { //// [ES5For-of18.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var v = _a[_i]; v; diff --git a/tests/baselines/reference/ES5For-of19.errors.txt b/tests/baselines/reference/ES5For-of19.errors.txt new file mode 100644 index 0000000000000..f44152785e780 --- /dev/null +++ b/tests/baselines/reference/ES5For-of19.errors.txt @@ -0,0 +1,15 @@ +ES5For-of19.ts(3,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + + +==== ES5For-of19.ts (1 errors) ==== + for (let v of []) { + v; + function foo() { + ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + for (const v of []) { + v; + } + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of19.js b/tests/baselines/reference/ES5For-of19.js index fa2933b5c3390..945b75dd239ae 100644 --- a/tests/baselines/reference/ES5For-of19.js +++ b/tests/baselines/reference/ES5For-of19.js @@ -12,6 +12,7 @@ for (let v of []) { //// [ES5For-of19.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var v = _a[_i]; v; diff --git a/tests/baselines/reference/ES5For-of19.types b/tests/baselines/reference/ES5For-of19.types index 30cb86bfdb2ef..67affcfc4c249 100644 --- a/tests/baselines/reference/ES5For-of19.types +++ b/tests/baselines/reference/ES5For-of19.types @@ -3,11 +3,13 @@ === ES5For-of19.ts === for (let v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ v; >v : any +> : ^^^ function foo() { >foo : () => void @@ -15,11 +17,13 @@ for (let v of []) { for (const v of []) { >v : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ v; >v : any +> : ^^^ } } } diff --git a/tests/baselines/reference/ES5For-of2.js b/tests/baselines/reference/ES5For-of2.js index a816e9a1abd21..8d5e6d25f52a7 100644 --- a/tests/baselines/reference/ES5For-of2.js +++ b/tests/baselines/reference/ES5For-of2.js @@ -6,6 +6,7 @@ for (var v of []) { } //// [ES5For-of2.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var v = _a[_i]; var x = v; diff --git a/tests/baselines/reference/ES5For-of20.js b/tests/baselines/reference/ES5For-of20.js index 2438413e2f2bd..a4cbd609fefbc 100644 --- a/tests/baselines/reference/ES5For-of20.js +++ b/tests/baselines/reference/ES5For-of20.js @@ -9,6 +9,7 @@ for (let v of []) { } //// [ES5For-of20.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var v = _a[_i]; var v_1; diff --git a/tests/baselines/reference/ES5For-of21.js b/tests/baselines/reference/ES5For-of21.js index 57cc47fbfc294..4beace125f0da 100644 --- a/tests/baselines/reference/ES5For-of21.js +++ b/tests/baselines/reference/ES5For-of21.js @@ -6,6 +6,7 @@ for (let v of []) { } //// [ES5For-of21.js] +"use strict"; for (var _a = 0, _b = []; _a < _b.length; _a++) { var v = _b[_a]; for (var _c = 0, _d = []; _c < _d.length; _c++) { diff --git a/tests/baselines/reference/ES5For-of22.js b/tests/baselines/reference/ES5For-of22.js index ad6e593985551..5845ac26471af 100644 --- a/tests/baselines/reference/ES5For-of22.js +++ b/tests/baselines/reference/ES5For-of22.js @@ -7,6 +7,7 @@ for (var x of [1, 2, 3]) { } //// [ES5For-of22.js] +"use strict"; for (var _i = 0, _b = [1, 2, 3]; _i < _b.length; _i++) { var x = _b[_i]; var _a = 0; diff --git a/tests/baselines/reference/ES5For-of23.js b/tests/baselines/reference/ES5For-of23.js index 3082de8b084e0..de426b30bf906 100644 --- a/tests/baselines/reference/ES5For-of23.js +++ b/tests/baselines/reference/ES5For-of23.js @@ -7,6 +7,7 @@ for (var x of [1, 2, 3]) { } //// [ES5For-of23.js] +"use strict"; for (var _i = 0, _b = [1, 2, 3]; _i < _b.length; _i++) { var x = _b[_i]; var _a = 0; diff --git a/tests/baselines/reference/ES5For-of24.js b/tests/baselines/reference/ES5For-of24.js index c7f4b85d84f49..5b56ae1f75bbd 100644 --- a/tests/baselines/reference/ES5For-of24.js +++ b/tests/baselines/reference/ES5For-of24.js @@ -7,6 +7,7 @@ for (var v of a) { } //// [ES5For-of24.js] +"use strict"; var a = [1, 2, 3]; for (var _i = 0, a_1 = a; _i < a_1.length; _i++) { var v = a_1[_i]; diff --git a/tests/baselines/reference/ES5For-of25.js b/tests/baselines/reference/ES5For-of25.js index d84336430159d..2710f7fba083a 100644 --- a/tests/baselines/reference/ES5For-of25.js +++ b/tests/baselines/reference/ES5For-of25.js @@ -8,6 +8,7 @@ for (var v of a) { } //// [ES5For-of25.js] +"use strict"; var a = [1, 2, 3]; for (var _i = 0, a_1 = a; _i < a_1.length; _i++) { var v = a_1[_i]; diff --git a/tests/baselines/reference/ES5For-of25.js.map b/tests/baselines/reference/ES5For-of25.js.map index 288ec798920c5..eb9181f496a75 100644 --- a/tests/baselines/reference/ES5For-of25.js.map +++ b/tests/baselines/reference/ES5For-of25.js.map @@ -1,3 +1,3 @@ //// [ES5For-of25.js.map] -{"version":3,"file":"ES5For-of25.js","sourceRoot":"","sources":["ES5For-of25.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAClB,KAAc,UAAC,EAAD,OAAC,EAAD,eAAC,EAAD,IAAC,EAAE,CAAC;IAAb,IAAI,CAAC,UAAA;IACN,CAAC,CAAC;IACF,CAAC,CAAC;AACN,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGEgPSBbMSwgMiwgM107DQpmb3IgKHZhciBfaSA9IDAsIGFfMSA9IGE7IF9pIDwgYV8xLmxlbmd0aDsgX2krKykgew0KICAgIHZhciB2ID0gYV8xW19pXTsNCiAgICB2Ow0KICAgIGE7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1FUzVGb3Itb2YyNS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mMjUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJFUzVGb3Itb2YyNS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUM7QUFDbEIsS0FBYyxVQUFDLEVBQUQsT0FBQyxFQUFELGVBQUMsRUFBRCxJQUFDLEVBQUUsQ0FBQztJQUFiLElBQUksQ0FBQyxVQUFBO0lBQ04sQ0FBQyxDQUFDO0lBQ0YsQ0FBQyxDQUFDO0FBQ04sQ0FBQyJ9,dmFyIGEgPSBbMSwgMiwgM107CmZvciAodmFyIHYgb2YgYSkgewogICAgdjsKICAgIGE7Cn0= +{"version":3,"file":"ES5For-of25.js","sourceRoot":"","sources":["ES5For-of25.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,CAAC;AAClB,KAAc,UAAC,EAAD,OAAC,EAAD,eAAC,EAAD,IAAC,EAAE,CAAC;IAAb,IAAI,CAAC,UAAA;IACN,CAAC,CAAC;IACF,CAAC,CAAC;AACN,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGEgPSBbMSwgMiwgM107DQpmb3IgKHZhciBfaSA9IDAsIGFfMSA9IGE7IF9pIDwgYV8xLmxlbmd0aDsgX2krKykgew0KICAgIHZhciB2ID0gYV8xW19pXTsNCiAgICB2Ow0KICAgIGE7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1FUzVGb3Itb2YyNS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mMjUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJFUzVGb3Itb2YyNS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFDO0FBQ2xCLEtBQWMsVUFBQyxFQUFELE9BQUMsRUFBRCxlQUFDLEVBQUQsSUFBQyxFQUFFLENBQUM7SUFBYixJQUFJLENBQUMsVUFBQTtJQUNOLENBQUMsQ0FBQztJQUNGLENBQUMsQ0FBQztBQUNOLENBQUMifQ==,dmFyIGEgPSBbMSwgMiwgM107CmZvciAodmFyIHYgb2YgYSkgewogICAgdjsKICAgIGE7Cn0= diff --git a/tests/baselines/reference/ES5For-of25.sourcemap.txt b/tests/baselines/reference/ES5For-of25.sourcemap.txt index 345e2ac16ca52..e488df86f345c 100644 --- a/tests/baselines/reference/ES5For-of25.sourcemap.txt +++ b/tests/baselines/reference/ES5For-of25.sourcemap.txt @@ -8,6 +8,7 @@ sources: ES5For-of25.ts emittedFile:ES5For-of25.js sourceFile:ES5For-of25.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = [1, 2, 3]; 1 > 2 >^^^^ @@ -34,18 +35,18 @@ sourceFile:ES5For-of25.ts 10> 3 11> ] 12> ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -6 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -7 >Emitted(1, 13) Source(1, 13) + SourceIndex(0) -8 >Emitted(1, 14) Source(1, 14) + SourceIndex(0) -9 >Emitted(1, 16) Source(1, 16) + SourceIndex(0) -10>Emitted(1, 17) Source(1, 17) + SourceIndex(0) -11>Emitted(1, 18) Source(1, 18) + SourceIndex(0) -12>Emitted(1, 19) Source(1, 19) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +6 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +7 >Emitted(2, 13) Source(1, 13) + SourceIndex(0) +8 >Emitted(2, 14) Source(1, 14) + SourceIndex(0) +9 >Emitted(2, 16) Source(1, 16) + SourceIndex(0) +10>Emitted(2, 17) Source(1, 17) + SourceIndex(0) +11>Emitted(2, 18) Source(1, 18) + SourceIndex(0) +12>Emitted(2, 19) Source(1, 19) + SourceIndex(0) --- >>>for (var _i = 0, a_1 = a; _i < a_1.length; _i++) { 1-> @@ -71,17 +72,17 @@ sourceFile:ES5For-of25.ts 9 > a 10> ) 11> { -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 6) Source(2, 15) + SourceIndex(0) -3 >Emitted(2, 16) Source(2, 16) + SourceIndex(0) -4 >Emitted(2, 18) Source(2, 15) + SourceIndex(0) -5 >Emitted(2, 25) Source(2, 16) + SourceIndex(0) -6 >Emitted(2, 27) Source(2, 15) + SourceIndex(0) -7 >Emitted(2, 42) Source(2, 16) + SourceIndex(0) -8 >Emitted(2, 44) Source(2, 15) + SourceIndex(0) -9 >Emitted(2, 48) Source(2, 16) + SourceIndex(0) -10>Emitted(2, 50) Source(2, 18) + SourceIndex(0) -11>Emitted(2, 51) Source(2, 19) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 6) Source(2, 15) + SourceIndex(0) +3 >Emitted(3, 16) Source(2, 16) + SourceIndex(0) +4 >Emitted(3, 18) Source(2, 15) + SourceIndex(0) +5 >Emitted(3, 25) Source(2, 16) + SourceIndex(0) +6 >Emitted(3, 27) Source(2, 15) + SourceIndex(0) +7 >Emitted(3, 42) Source(2, 16) + SourceIndex(0) +8 >Emitted(3, 44) Source(2, 15) + SourceIndex(0) +9 >Emitted(3, 48) Source(2, 16) + SourceIndex(0) +10>Emitted(3, 50) Source(2, 18) + SourceIndex(0) +11>Emitted(3, 51) Source(2, 19) + SourceIndex(0) --- >>> var v = a_1[_i]; 1 >^^^^ @@ -92,10 +93,10 @@ sourceFile:ES5For-of25.ts 2 > var 3 > v 4 > -1 >Emitted(3, 5) Source(2, 6) + SourceIndex(0) -2 >Emitted(3, 9) Source(2, 10) + SourceIndex(0) -3 >Emitted(3, 10) Source(2, 11) + SourceIndex(0) -4 >Emitted(3, 20) Source(2, 11) + SourceIndex(0) +1 >Emitted(4, 5) Source(2, 6) + SourceIndex(0) +2 >Emitted(4, 9) Source(2, 10) + SourceIndex(0) +3 >Emitted(4, 10) Source(2, 11) + SourceIndex(0) +4 >Emitted(4, 20) Source(2, 11) + SourceIndex(0) --- >>> v; 1 >^^^^ @@ -106,9 +107,9 @@ sourceFile:ES5For-of25.ts > 2 > v 3 > ; -1 >Emitted(4, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(4, 6) Source(3, 6) + SourceIndex(0) -3 >Emitted(4, 7) Source(3, 7) + SourceIndex(0) +1 >Emitted(5, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(3, 6) + SourceIndex(0) +3 >Emitted(5, 7) Source(3, 7) + SourceIndex(0) --- >>> a; 1->^^^^ @@ -118,9 +119,9 @@ sourceFile:ES5For-of25.ts > 2 > a 3 > ; -1->Emitted(5, 5) Source(4, 5) + SourceIndex(0) -2 >Emitted(5, 6) Source(4, 6) + SourceIndex(0) -3 >Emitted(5, 7) Source(4, 7) + SourceIndex(0) +1->Emitted(6, 5) Source(4, 5) + SourceIndex(0) +2 >Emitted(6, 6) Source(4, 6) + SourceIndex(0) +3 >Emitted(6, 7) Source(4, 7) + SourceIndex(0) --- >>>} 1 > @@ -129,7 +130,7 @@ sourceFile:ES5For-of25.ts 1 > > 2 >} -1 >Emitted(6, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(5, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(5, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=ES5For-of25.js.map \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of26.js b/tests/baselines/reference/ES5For-of26.js index 00d65b7c2f184..4ccc7c058c868 100644 --- a/tests/baselines/reference/ES5For-of26.js +++ b/tests/baselines/reference/ES5For-of26.js @@ -7,6 +7,7 @@ for (var [a = 0, b = 1] of [2, 3]) { } //// [ES5For-of26.js] +"use strict"; for (var _i = 0, _a = [2, 3]; _i < _a.length; _i++) { var _b = _a[_i], _c = _b[0], a = _c === void 0 ? 0 : _c, _d = _b[1], b = _d === void 0 ? 1 : _d; a; diff --git a/tests/baselines/reference/ES5For-of26.js.map b/tests/baselines/reference/ES5For-of26.js.map index 196e63437187a..8a864c9c86e53 100644 --- a/tests/baselines/reference/ES5For-of26.js.map +++ b/tests/baselines/reference/ES5For-of26.js.map @@ -1,3 +1,3 @@ //// [ES5For-of26.js.map] -{"version":3,"file":"ES5For-of26.js","sourceRoot":"","sources":["ES5For-of26.ts"],"names":[],"mappings":"AAAA,KAA2B,UAAM,EAAN,MAAC,CAAC,EAAE,CAAC,CAAC,EAAN,cAAM,EAAN,IAAM,EAAE,CAAC;IAA3B,IAAA,WAAc,EAAb,UAAK,EAAL,CAAC,mBAAG,CAAC,KAAA,EAAE,UAAK,EAAL,CAAC,mBAAG,CAAC,KAAA;IAClB,CAAC,CAAC;IACF,CAAC,CAAC;AACN,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,Zm9yICh2YXIgX2kgPSAwLCBfYSA9IFsyLCAzXTsgX2kgPCBfYS5sZW5ndGg7IF9pKyspIHsNCiAgICB2YXIgX2IgPSBfYVtfaV0sIF9jID0gX2JbMF0sIGEgPSBfYyA9PT0gdm9pZCAwID8gMCA6IF9jLCBfZCA9IF9iWzFdLCBiID0gX2QgPT09IHZvaWQgMCA/IDEgOiBfZDsNCiAgICBhOw0KICAgIGI7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1FUzVGb3Itb2YyNi5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mMjYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJFUzVGb3Itb2YyNi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxLQUEyQixVQUFNLEVBQU4sTUFBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQU4sY0FBTSxFQUFOLElBQU0sRUFBRSxDQUFDO0lBQTNCLElBQUEsV0FBYyxFQUFiLFVBQUssRUFBTCxDQUFDLG1CQUFHLENBQUMsS0FBQSxFQUFFLFVBQUssRUFBTCxDQUFDLG1CQUFHLENBQUMsS0FBQTtJQUNsQixDQUFDLENBQUM7SUFDRixDQUFDLENBQUM7QUFDTixDQUFDIn0=,Zm9yICh2YXIgW2EgPSAwLCBiID0gMV0gb2YgWzIsIDNdKSB7CiAgICBhOwogICAgYjsKfQ== +{"version":3,"file":"ES5For-of26.js","sourceRoot":"","sources":["ES5For-of26.ts"],"names":[],"mappings":";AAAA,KAA2B,UAAM,EAAN,MAAC,CAAC,EAAE,CAAC,CAAC,EAAN,cAAM,EAAN,IAAM,EAAE,CAAC;IAA3B,IAAA,WAAc,EAAb,UAAK,EAAL,CAAC,mBAAG,CAAC,KAAA,EAAE,UAAK,EAAL,CAAC,mBAAG,CAAC,KAAA;IAClB,CAAC,CAAC;IACF,CAAC,CAAC;AACN,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KZm9yICh2YXIgX2kgPSAwLCBfYSA9IFsyLCAzXTsgX2kgPCBfYS5sZW5ndGg7IF9pKyspIHsNCiAgICB2YXIgX2IgPSBfYVtfaV0sIF9jID0gX2JbMF0sIGEgPSBfYyA9PT0gdm9pZCAwID8gMCA6IF9jLCBfZCA9IF9iWzFdLCBiID0gX2QgPT09IHZvaWQgMCA/IDEgOiBfZDsNCiAgICBhOw0KICAgIGI7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1FUzVGb3Itb2YyNi5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mMjYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJFUzVGb3Itb2YyNi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsS0FBMkIsVUFBTSxFQUFOLE1BQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFOLGNBQU0sRUFBTixJQUFNLEVBQUUsQ0FBQztJQUEzQixJQUFBLFdBQWMsRUFBYixVQUFLLEVBQUwsQ0FBQyxtQkFBRyxDQUFDLEtBQUEsRUFBRSxVQUFLLEVBQUwsQ0FBQyxtQkFBRyxDQUFDLEtBQUE7SUFDbEIsQ0FBQyxDQUFDO0lBQ0YsQ0FBQyxDQUFDO0FBQ04sQ0FBQyJ9,Zm9yICh2YXIgW2EgPSAwLCBiID0gMV0gb2YgWzIsIDNdKSB7CiAgICBhOwogICAgYjsKfQ== diff --git a/tests/baselines/reference/ES5For-of26.sourcemap.txt b/tests/baselines/reference/ES5For-of26.sourcemap.txt index 2955602a9b846..191d32947b0f4 100644 --- a/tests/baselines/reference/ES5For-of26.sourcemap.txt +++ b/tests/baselines/reference/ES5For-of26.sourcemap.txt @@ -8,6 +8,7 @@ sources: ES5For-of26.ts emittedFile:ES5For-of26.js sourceFile:ES5For-of26.ts ------------------------------------------------------------------- +>>>"use strict"; >>>for (var _i = 0, _a = [2, 3]; _i < _a.length; _i++) { 1 > 2 >^^^^^ @@ -40,21 +41,21 @@ sourceFile:ES5For-of26.ts 13> [2, 3] 14> ) 15> { -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 6) Source(1, 28) + SourceIndex(0) -3 >Emitted(1, 16) Source(1, 34) + SourceIndex(0) -4 >Emitted(1, 18) Source(1, 28) + SourceIndex(0) -5 >Emitted(1, 24) Source(1, 29) + SourceIndex(0) -6 >Emitted(1, 25) Source(1, 30) + SourceIndex(0) -7 >Emitted(1, 27) Source(1, 32) + SourceIndex(0) -8 >Emitted(1, 28) Source(1, 33) + SourceIndex(0) -9 >Emitted(1, 29) Source(1, 34) + SourceIndex(0) -10>Emitted(1, 31) Source(1, 28) + SourceIndex(0) -11>Emitted(1, 45) Source(1, 34) + SourceIndex(0) -12>Emitted(1, 47) Source(1, 28) + SourceIndex(0) -13>Emitted(1, 51) Source(1, 34) + SourceIndex(0) -14>Emitted(1, 53) Source(1, 36) + SourceIndex(0) -15>Emitted(1, 54) Source(1, 37) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 6) Source(1, 28) + SourceIndex(0) +3 >Emitted(2, 16) Source(1, 34) + SourceIndex(0) +4 >Emitted(2, 18) Source(1, 28) + SourceIndex(0) +5 >Emitted(2, 24) Source(1, 29) + SourceIndex(0) +6 >Emitted(2, 25) Source(1, 30) + SourceIndex(0) +7 >Emitted(2, 27) Source(1, 32) + SourceIndex(0) +8 >Emitted(2, 28) Source(1, 33) + SourceIndex(0) +9 >Emitted(2, 29) Source(1, 34) + SourceIndex(0) +10>Emitted(2, 31) Source(1, 28) + SourceIndex(0) +11>Emitted(2, 45) Source(1, 34) + SourceIndex(0) +12>Emitted(2, 47) Source(1, 28) + SourceIndex(0) +13>Emitted(2, 51) Source(1, 34) + SourceIndex(0) +14>Emitted(2, 53) Source(1, 36) + SourceIndex(0) +15>Emitted(2, 54) Source(1, 37) + SourceIndex(0) --- >>> var _b = _a[_i], _c = _b[0], a = _c === void 0 ? 0 : _c, _d = _b[1], b = _d === void 0 ? 1 : _d; 1->^^^^ @@ -91,23 +92,23 @@ sourceFile:ES5For-of26.ts 15> = 16> 1 17> -1->Emitted(2, 5) Source(1, 10) + SourceIndex(0) -2 >Emitted(2, 9) Source(1, 10) + SourceIndex(0) -3 >Emitted(2, 20) Source(1, 24) + SourceIndex(0) -4 >Emitted(2, 22) Source(1, 11) + SourceIndex(0) -5 >Emitted(2, 32) Source(1, 16) + SourceIndex(0) -6 >Emitted(2, 34) Source(1, 11) + SourceIndex(0) -7 >Emitted(2, 35) Source(1, 12) + SourceIndex(0) -8 >Emitted(2, 54) Source(1, 15) + SourceIndex(0) -9 >Emitted(2, 55) Source(1, 16) + SourceIndex(0) -10>Emitted(2, 60) Source(1, 16) + SourceIndex(0) -11>Emitted(2, 62) Source(1, 18) + SourceIndex(0) -12>Emitted(2, 72) Source(1, 23) + SourceIndex(0) -13>Emitted(2, 74) Source(1, 18) + SourceIndex(0) -14>Emitted(2, 75) Source(1, 19) + SourceIndex(0) -15>Emitted(2, 94) Source(1, 22) + SourceIndex(0) -16>Emitted(2, 95) Source(1, 23) + SourceIndex(0) -17>Emitted(2, 100) Source(1, 23) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 10) + SourceIndex(0) +2 >Emitted(3, 9) Source(1, 10) + SourceIndex(0) +3 >Emitted(3, 20) Source(1, 24) + SourceIndex(0) +4 >Emitted(3, 22) Source(1, 11) + SourceIndex(0) +5 >Emitted(3, 32) Source(1, 16) + SourceIndex(0) +6 >Emitted(3, 34) Source(1, 11) + SourceIndex(0) +7 >Emitted(3, 35) Source(1, 12) + SourceIndex(0) +8 >Emitted(3, 54) Source(1, 15) + SourceIndex(0) +9 >Emitted(3, 55) Source(1, 16) + SourceIndex(0) +10>Emitted(3, 60) Source(1, 16) + SourceIndex(0) +11>Emitted(3, 62) Source(1, 18) + SourceIndex(0) +12>Emitted(3, 72) Source(1, 23) + SourceIndex(0) +13>Emitted(3, 74) Source(1, 18) + SourceIndex(0) +14>Emitted(3, 75) Source(1, 19) + SourceIndex(0) +15>Emitted(3, 94) Source(1, 22) + SourceIndex(0) +16>Emitted(3, 95) Source(1, 23) + SourceIndex(0) +17>Emitted(3, 100) Source(1, 23) + SourceIndex(0) --- >>> a; 1 >^^^^ @@ -118,9 +119,9 @@ sourceFile:ES5For-of26.ts > 2 > a 3 > ; -1 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(3, 6) Source(2, 6) + SourceIndex(0) -3 >Emitted(3, 7) Source(2, 7) + SourceIndex(0) +1 >Emitted(4, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(4, 6) Source(2, 6) + SourceIndex(0) +3 >Emitted(4, 7) Source(2, 7) + SourceIndex(0) --- >>> b; 1->^^^^ @@ -130,9 +131,9 @@ sourceFile:ES5For-of26.ts > 2 > b 3 > ; -1->Emitted(4, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(4, 6) Source(3, 6) + SourceIndex(0) -3 >Emitted(4, 7) Source(3, 7) + SourceIndex(0) +1->Emitted(5, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(3, 6) + SourceIndex(0) +3 >Emitted(5, 7) Source(3, 7) + SourceIndex(0) --- >>>} 1 > @@ -141,7 +142,7 @@ sourceFile:ES5For-of26.ts 1 > > 2 >} -1 >Emitted(5, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(4, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(4, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=ES5For-of26.js.map \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of27.js b/tests/baselines/reference/ES5For-of27.js index 28110b6177be7..096fc082bf229 100644 --- a/tests/baselines/reference/ES5For-of27.js +++ b/tests/baselines/reference/ES5For-of27.js @@ -7,6 +7,7 @@ for (var {x: a = 0, y: b = 1} of [2, 3]) { } //// [ES5For-of27.js] +"use strict"; for (var _i = 0, _a = [2, 3]; _i < _a.length; _i++) { var _b = _a[_i], _c = _b.x, a = _c === void 0 ? 0 : _c, _d = _b.y, b = _d === void 0 ? 1 : _d; a; diff --git a/tests/baselines/reference/ES5For-of28.js b/tests/baselines/reference/ES5For-of28.js index 933f6548a0852..9854cecb24b75 100644 --- a/tests/baselines/reference/ES5For-of28.js +++ b/tests/baselines/reference/ES5For-of28.js @@ -7,6 +7,7 @@ for (let [a = 0, b = 1] of [2, 3]) { } //// [ES5For-of28.js] +"use strict"; for (var _i = 0, _a = [2, 3]; _i < _a.length; _i++) { var _b = _a[_i], _c = _b[0], a = _c === void 0 ? 0 : _c, _d = _b[1], b = _d === void 0 ? 1 : _d; a; diff --git a/tests/baselines/reference/ES5For-of29.js b/tests/baselines/reference/ES5For-of29.js index 45c85c38d5915..514a8a4e9558f 100644 --- a/tests/baselines/reference/ES5For-of29.js +++ b/tests/baselines/reference/ES5For-of29.js @@ -7,6 +7,7 @@ for (const {x: a = 0, y: b = 1} of [2, 3]) { } //// [ES5For-of29.js] +"use strict"; for (var _i = 0, _a = [2, 3]; _i < _a.length; _i++) { var _b = _a[_i], _c = _b.x, a = _c === void 0 ? 0 : _c, _d = _b.y, b = _d === void 0 ? 1 : _d; a; diff --git a/tests/baselines/reference/ES5For-of3.js b/tests/baselines/reference/ES5For-of3.js index 52cc54f782292..7e53eda0ea8b9 100644 --- a/tests/baselines/reference/ES5For-of3.js +++ b/tests/baselines/reference/ES5For-of3.js @@ -5,6 +5,7 @@ for (var v of ['a', 'b', 'c']) var x = v; //// [ES5For-of3.js] +"use strict"; for (var _i = 0, _a = ['a', 'b', 'c']; _i < _a.length; _i++) { var v = _a[_i]; var x = v; diff --git a/tests/baselines/reference/ES5For-of3.js.map b/tests/baselines/reference/ES5For-of3.js.map index 30e3849793b2f..58f19269bea2a 100644 --- a/tests/baselines/reference/ES5For-of3.js.map +++ b/tests/baselines/reference/ES5For-of3.js.map @@ -1,3 +1,3 @@ //// [ES5For-of3.js.map] -{"version":3,"file":"ES5For-of3.js","sourceRoot":"","sources":["ES5For-of3.ts"],"names":[],"mappings":"AAAA,KAAc,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe;IAAxB,IAAI,CAAC,SAAA;IACN,IAAI,CAAC,GAAG,CAAC,CAAC;CAAA"} -//// https://sokra.github.io/source-map-visualization#base64,Zm9yICh2YXIgX2kgPSAwLCBfYSA9IFsnYScsICdiJywgJ2MnXTsgX2kgPCBfYS5sZW5ndGg7IF9pKyspIHsNCiAgICB2YXIgdiA9IF9hW19pXTsNCiAgICB2YXIgeCA9IHY7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1FUzVGb3Itb2YzLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mMy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVTNUZvci1vZjMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsS0FBYyxVQUFlLEVBQWYsTUFBQyxHQUFHLEVBQUUsR0FBRyxFQUFFLEdBQUcsQ0FBQyxFQUFmLGNBQWUsRUFBZixJQUFlO0lBQXhCLElBQUksQ0FBQyxTQUFBO0lBQ04sSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0NBQUEifQ==,Zm9yICh2YXIgdiBvZiBbJ2EnLCAnYicsICdjJ10pCiAgICB2YXIgeCA9IHY7 +{"version":3,"file":"ES5For-of3.js","sourceRoot":"","sources":["ES5For-of3.ts"],"names":[],"mappings":";AAAA,KAAc,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe;IAAxB,IAAI,CAAC,SAAA;IACN,IAAI,CAAC,GAAG,CAAC,CAAC;CAAA"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KZm9yICh2YXIgX2kgPSAwLCBfYSA9IFsnYScsICdiJywgJ2MnXTsgX2kgPCBfYS5sZW5ndGg7IF9pKyspIHsNCiAgICB2YXIgdiA9IF9hW19pXTsNCiAgICB2YXIgeCA9IHY7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1FUzVGb3Itb2YzLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mMy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVTNUZvci1vZjMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLEtBQWMsVUFBZSxFQUFmLE1BQUMsR0FBRyxFQUFFLEdBQUcsRUFBRSxHQUFHLENBQUMsRUFBZixjQUFlLEVBQWYsSUFBZTtJQUF4QixJQUFJLENBQUMsU0FBQTtJQUNOLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztDQUFBIn0=,Zm9yICh2YXIgdiBvZiBbJ2EnLCAnYicsICdjJ10pCiAgICB2YXIgeCA9IHY7 diff --git a/tests/baselines/reference/ES5For-of3.sourcemap.txt b/tests/baselines/reference/ES5For-of3.sourcemap.txt index 7eb273f86b381..dd9aecb992332 100644 --- a/tests/baselines/reference/ES5For-of3.sourcemap.txt +++ b/tests/baselines/reference/ES5For-of3.sourcemap.txt @@ -8,6 +8,7 @@ sources: ES5For-of3.ts emittedFile:ES5For-of3.js sourceFile:ES5For-of3.ts ------------------------------------------------------------------- +>>>"use strict"; >>>for (var _i = 0, _a = ['a', 'b', 'c']; _i < _a.length; _i++) { 1 > 2 >^^^^^ @@ -39,21 +40,21 @@ sourceFile:ES5For-of3.ts 13> ['a', 'b', 'c'] 14> 15> ['a', 'b', 'c'] -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 6) Source(1, 15) + SourceIndex(0) -3 >Emitted(1, 16) Source(1, 30) + SourceIndex(0) -4 >Emitted(1, 18) Source(1, 15) + SourceIndex(0) -5 >Emitted(1, 24) Source(1, 16) + SourceIndex(0) -6 >Emitted(1, 27) Source(1, 19) + SourceIndex(0) -7 >Emitted(1, 29) Source(1, 21) + SourceIndex(0) -8 >Emitted(1, 32) Source(1, 24) + SourceIndex(0) -9 >Emitted(1, 34) Source(1, 26) + SourceIndex(0) -10>Emitted(1, 37) Source(1, 29) + SourceIndex(0) -11>Emitted(1, 38) Source(1, 30) + SourceIndex(0) -12>Emitted(1, 40) Source(1, 15) + SourceIndex(0) -13>Emitted(1, 54) Source(1, 30) + SourceIndex(0) -14>Emitted(1, 56) Source(1, 15) + SourceIndex(0) -15>Emitted(1, 60) Source(1, 30) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 6) Source(1, 15) + SourceIndex(0) +3 >Emitted(2, 16) Source(1, 30) + SourceIndex(0) +4 >Emitted(2, 18) Source(1, 15) + SourceIndex(0) +5 >Emitted(2, 24) Source(1, 16) + SourceIndex(0) +6 >Emitted(2, 27) Source(1, 19) + SourceIndex(0) +7 >Emitted(2, 29) Source(1, 21) + SourceIndex(0) +8 >Emitted(2, 32) Source(1, 24) + SourceIndex(0) +9 >Emitted(2, 34) Source(1, 26) + SourceIndex(0) +10>Emitted(2, 37) Source(1, 29) + SourceIndex(0) +11>Emitted(2, 38) Source(1, 30) + SourceIndex(0) +12>Emitted(2, 40) Source(1, 15) + SourceIndex(0) +13>Emitted(2, 54) Source(1, 30) + SourceIndex(0) +14>Emitted(2, 56) Source(1, 15) + SourceIndex(0) +15>Emitted(2, 60) Source(1, 30) + SourceIndex(0) --- >>> var v = _a[_i]; 1 >^^^^ @@ -64,10 +65,10 @@ sourceFile:ES5For-of3.ts 2 > var 3 > v 4 > -1 >Emitted(2, 5) Source(1, 6) + SourceIndex(0) -2 >Emitted(2, 9) Source(1, 10) + SourceIndex(0) -3 >Emitted(2, 10) Source(1, 11) + SourceIndex(0) -4 >Emitted(2, 19) Source(1, 11) + SourceIndex(0) +1 >Emitted(3, 5) Source(1, 6) + SourceIndex(0) +2 >Emitted(3, 9) Source(1, 10) + SourceIndex(0) +3 >Emitted(3, 10) Source(1, 11) + SourceIndex(0) +4 >Emitted(3, 19) Source(1, 11) + SourceIndex(0) --- >>> var x = v; 1 >^^^^ @@ -83,17 +84,17 @@ sourceFile:ES5For-of3.ts 4 > = 5 > v 6 > ; -1 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(3, 9) Source(2, 9) + SourceIndex(0) -3 >Emitted(3, 10) Source(2, 10) + SourceIndex(0) -4 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) -5 >Emitted(3, 14) Source(2, 14) + SourceIndex(0) -6 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) +1 >Emitted(4, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(4, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(4, 10) Source(2, 10) + SourceIndex(0) +4 >Emitted(4, 13) Source(2, 13) + SourceIndex(0) +5 >Emitted(4, 14) Source(2, 14) + SourceIndex(0) +6 >Emitted(4, 15) Source(2, 15) + SourceIndex(0) --- >>>} 1 >^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(4, 2) Source(2, 15) + SourceIndex(0) +1 >Emitted(5, 2) Source(2, 15) + SourceIndex(0) --- >>>//# sourceMappingURL=ES5For-of3.js.map \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of30.js b/tests/baselines/reference/ES5For-of30.js index 55560203cd207..9f353c3ad5863 100644 --- a/tests/baselines/reference/ES5For-of30.js +++ b/tests/baselines/reference/ES5For-of30.js @@ -9,6 +9,7 @@ for ([a = 1, b = ""] of tuple) { } //// [ES5For-of30.js] +"use strict"; var _a, _b, _c; var a, b; var tuple = [2, "3"]; diff --git a/tests/baselines/reference/ES5For-of31.js b/tests/baselines/reference/ES5For-of31.js index 4a6b9536483b6..2d8a5de7c94c7 100644 --- a/tests/baselines/reference/ES5For-of31.js +++ b/tests/baselines/reference/ES5For-of31.js @@ -9,6 +9,7 @@ for ({ a: b = 1, b: a = ""} of []) { } //// [ES5For-of31.js] +"use strict"; var _a, _b, _c; var a, b; for (var _i = 0, _d = []; _i < _d.length; _i++) { diff --git a/tests/baselines/reference/ES5For-of33.js b/tests/baselines/reference/ES5For-of33.js index 87eb158b1af2b..58561a1ea060b 100644 --- a/tests/baselines/reference/ES5For-of33.js +++ b/tests/baselines/reference/ES5For-of33.js @@ -6,6 +6,7 @@ for (var v of ['a', 'b', 'c']) { } //// [ES5For-of33.js] +"use strict"; var __values = (this && this.__values) || function(o) { var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; if (m) return m.call(o); diff --git a/tests/baselines/reference/ES5For-of33.js.map b/tests/baselines/reference/ES5For-of33.js.map index baf12a8a190ec..076c26007c48c 100644 --- a/tests/baselines/reference/ES5For-of33.js.map +++ b/tests/baselines/reference/ES5For-of33.js.map @@ -1,3 +1,3 @@ //// [ES5For-of33.js.map] -{"version":3,"file":"ES5For-of33.js","sourceRoot":"","sources":["ES5For-of33.ts"],"names":[],"mappings":";;;;;;;;;;;;;IAAA,KAAc,IAAA,KAAA,SAAA,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAA,gBAAA,4BAAE,CAAC;QAA3B,IAAI,CAAC,WAAA;QACN,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9fdmFsdWVzID0gKHRoaXMgJiYgdGhpcy5fX3ZhbHVlcykgfHwgZnVuY3Rpb24obykgew0KICAgIHZhciBzID0gdHlwZW9mIFN5bWJvbCA9PT0gImZ1bmN0aW9uIiAmJiBTeW1ib2wuaXRlcmF0b3IsIG0gPSBzICYmIG9bc10sIGkgPSAwOw0KICAgIGlmIChtKSByZXR1cm4gbS5jYWxsKG8pOw0KICAgIGlmIChvICYmIHR5cGVvZiBvLmxlbmd0aCA9PT0gIm51bWJlciIpIHJldHVybiB7DQogICAgICAgIG5leHQ6IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgICAgIGlmIChvICYmIGkgPj0gby5sZW5ndGgpIG8gPSB2b2lkIDA7DQogICAgICAgICAgICByZXR1cm4geyB2YWx1ZTogbyAmJiBvW2krK10sIGRvbmU6ICFvIH07DQogICAgICAgIH0NCiAgICB9Ow0KICAgIHRocm93IG5ldyBUeXBlRXJyb3IocyA/ICJPYmplY3QgaXMgbm90IGl0ZXJhYmxlLiIgOiAiU3ltYm9sLml0ZXJhdG9yIGlzIG5vdCBkZWZpbmVkLiIpOw0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AAA,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAA,gBAAA,4BAAE,CAAC;QAA3B,IAAI,CAAC,WAAA;QACN,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IACnB,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIF9fdmFsdWVzID0gKHRoaXMgJiYgdGhpcy5fX3ZhbHVlcykgfHwgZnVuY3Rpb24obykgew0KICAgIHZhciBzID0gdHlwZW9mIFN5bWJvbCA9PT0gImZ1bmN0aW9uIiAmJiBTeW1ib2wuaXRlcmF0b3IsIG0gPSBzICYmIG9bc10sIGkgPSAwOw0KICAgIGlmIChtKSByZXR1cm4gbS5jYWxsKG8pOw0KICAgIGlmIChvICYmIHR5cGVvZiBvLmxlbmd0aCA9PT0gIm51bWJlciIpIHJldHVybiB7DQogICAgICAgIG5leHQ6IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgICAgIGlmIChvICYmIGkgPj0gby5sZW5ndGgpIG8gPSB2b2lkIDA7DQogICAgICAgICAgICByZXR1cm4geyB2YWx1ZTogbyAmJiBvW2krK10sIGRvbmU6ICFvIH07DQogICAgICAgIH0NCiAgICB9Ow0KICAgIHRocm93IG5ldyBUeXBlRXJyb3IocyA/ICJPYmplY3QgaXMgbm90IGl0ZXJhYmxlLiIgOiAiU3ltYm9sLml0ZXJhdG9yIGlzIG5vdCBkZWZpbmVkLiIpOw0KfTsNCnZhciBlXzEsIF9hOw0KdHJ5IHsNCiAgICBmb3IgKHZhciBfYiA9IF9fdmFsdWVzKFsnYScsICdiJywgJ2MnXSksIF9jID0gX2IubmV4dCgpOyAhX2MuZG9uZTsgX2MgPSBfYi5uZXh0KCkpIHsNCiAgICAgICAgdmFyIHYgPSBfYy52YWx1ZTsNCiAgICAgICAgY29uc29sZS5sb2codik7DQogICAgfQ0KfQ0KY2F0Y2ggKGVfMV8xKSB7IGVfMSA9IHsgZXJyb3I6IGVfMV8xIH07IH0NCmZpbmFsbHkgew0KICAgIHRyeSB7DQogICAgICAgIGlmIChfYyAmJiAhX2MuZG9uZSAmJiAoX2EgPSBfYi5yZXR1cm4pKSBfYS5jYWxsKF9iKTsNCiAgICB9DQogICAgZmluYWxseSB7IGlmIChlXzEpIHRocm93IGVfMS5lcnJvcjsgfQ0KfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9RVM1Rm9yLW9mMzMuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mMzMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJFUzVGb3Itb2YzMy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztJQUFBLEtBQWMsSUFBQSxLQUFBLFNBQUEsQ0FBQyxHQUFHLEVBQUUsR0FBRyxFQUFFLEdBQUcsQ0FBQyxDQUFBLGdCQUFBLDRCQUFFLENBQUM7UUFBM0IsSUFBSSxDQUFDLFdBQUE7UUFDTixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDO0lBQ25CLENBQUMifQ==,Zm9yICh2YXIgdiBvZiBbJ2EnLCAnYicsICdjJ10pIHsKICAgIGNvbnNvbGUubG9nKHYpOwp9 diff --git a/tests/baselines/reference/ES5For-of33.sourcemap.txt b/tests/baselines/reference/ES5For-of33.sourcemap.txt index dcda7cd0c6fa0..9e87f7b90f211 100644 --- a/tests/baselines/reference/ES5For-of33.sourcemap.txt +++ b/tests/baselines/reference/ES5For-of33.sourcemap.txt @@ -8,6 +8,7 @@ sources: ES5For-of33.ts emittedFile:ES5For-of33.js sourceFile:ES5For-of33.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var __values = (this && this.__values) || function(o) { >>> var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; >>> if (m) return m.call(o); @@ -54,22 +55,22 @@ sourceFile:ES5For-of33.ts 14> 15> ) 16> { -1 >Emitted(14, 5) Source(1, 1) + SourceIndex(0) -2 >Emitted(14, 10) Source(1, 15) + SourceIndex(0) -3 >Emitted(14, 14) Source(1, 15) + SourceIndex(0) -4 >Emitted(14, 19) Source(1, 15) + SourceIndex(0) -5 >Emitted(14, 28) Source(1, 15) + SourceIndex(0) -6 >Emitted(14, 29) Source(1, 16) + SourceIndex(0) -7 >Emitted(14, 32) Source(1, 19) + SourceIndex(0) -8 >Emitted(14, 34) Source(1, 21) + SourceIndex(0) -9 >Emitted(14, 37) Source(1, 24) + SourceIndex(0) -10>Emitted(14, 39) Source(1, 26) + SourceIndex(0) -11>Emitted(14, 42) Source(1, 29) + SourceIndex(0) -12>Emitted(14, 43) Source(1, 30) + SourceIndex(0) -13>Emitted(14, 44) Source(1, 30) + SourceIndex(0) -14>Emitted(14, 60) Source(1, 30) + SourceIndex(0) -15>Emitted(14, 88) Source(1, 32) + SourceIndex(0) -16>Emitted(14, 89) Source(1, 33) + SourceIndex(0) +1 >Emitted(15, 5) Source(1, 1) + SourceIndex(0) +2 >Emitted(15, 10) Source(1, 15) + SourceIndex(0) +3 >Emitted(15, 14) Source(1, 15) + SourceIndex(0) +4 >Emitted(15, 19) Source(1, 15) + SourceIndex(0) +5 >Emitted(15, 28) Source(1, 15) + SourceIndex(0) +6 >Emitted(15, 29) Source(1, 16) + SourceIndex(0) +7 >Emitted(15, 32) Source(1, 19) + SourceIndex(0) +8 >Emitted(15, 34) Source(1, 21) + SourceIndex(0) +9 >Emitted(15, 37) Source(1, 24) + SourceIndex(0) +10>Emitted(15, 39) Source(1, 26) + SourceIndex(0) +11>Emitted(15, 42) Source(1, 29) + SourceIndex(0) +12>Emitted(15, 43) Source(1, 30) + SourceIndex(0) +13>Emitted(15, 44) Source(1, 30) + SourceIndex(0) +14>Emitted(15, 60) Source(1, 30) + SourceIndex(0) +15>Emitted(15, 88) Source(1, 32) + SourceIndex(0) +16>Emitted(15, 89) Source(1, 33) + SourceIndex(0) --- >>> var v = _c.value; 1 >^^^^^^^^ @@ -80,10 +81,10 @@ sourceFile:ES5For-of33.ts 2 > var 3 > v 4 > -1 >Emitted(15, 9) Source(1, 6) + SourceIndex(0) -2 >Emitted(15, 13) Source(1, 10) + SourceIndex(0) -3 >Emitted(15, 14) Source(1, 11) + SourceIndex(0) -4 >Emitted(15, 25) Source(1, 11) + SourceIndex(0) +1 >Emitted(16, 9) Source(1, 6) + SourceIndex(0) +2 >Emitted(16, 13) Source(1, 10) + SourceIndex(0) +3 >Emitted(16, 14) Source(1, 11) + SourceIndex(0) +4 >Emitted(16, 25) Source(1, 11) + SourceIndex(0) --- >>> console.log(v); 1 >^^^^^^^^ @@ -103,14 +104,14 @@ sourceFile:ES5For-of33.ts 6 > v 7 > ) 8 > ; -1 >Emitted(16, 9) Source(2, 5) + SourceIndex(0) -2 >Emitted(16, 16) Source(2, 12) + SourceIndex(0) -3 >Emitted(16, 17) Source(2, 13) + SourceIndex(0) -4 >Emitted(16, 20) Source(2, 16) + SourceIndex(0) -5 >Emitted(16, 21) Source(2, 17) + SourceIndex(0) -6 >Emitted(16, 22) Source(2, 18) + SourceIndex(0) -7 >Emitted(16, 23) Source(2, 19) + SourceIndex(0) -8 >Emitted(16, 24) Source(2, 20) + SourceIndex(0) +1 >Emitted(17, 9) Source(2, 5) + SourceIndex(0) +2 >Emitted(17, 16) Source(2, 12) + SourceIndex(0) +3 >Emitted(17, 17) Source(2, 13) + SourceIndex(0) +4 >Emitted(17, 20) Source(2, 16) + SourceIndex(0) +5 >Emitted(17, 21) Source(2, 17) + SourceIndex(0) +6 >Emitted(17, 22) Source(2, 18) + SourceIndex(0) +7 >Emitted(17, 23) Source(2, 19) + SourceIndex(0) +8 >Emitted(17, 24) Source(2, 20) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -118,8 +119,8 @@ sourceFile:ES5For-of33.ts 1 > > 2 > } -1 >Emitted(17, 5) Source(3, 1) + SourceIndex(0) -2 >Emitted(17, 6) Source(3, 2) + SourceIndex(0) +1 >Emitted(18, 5) Source(3, 1) + SourceIndex(0) +2 >Emitted(18, 6) Source(3, 2) + SourceIndex(0) --- >>>} >>>catch (e_1_1) { e_1 = { error: e_1_1 }; } diff --git a/tests/baselines/reference/ES5For-of34.js b/tests/baselines/reference/ES5For-of34.js index 37c6d066f6373..2201d3e179623 100644 --- a/tests/baselines/reference/ES5For-of34.js +++ b/tests/baselines/reference/ES5For-of34.js @@ -9,6 +9,7 @@ for (foo().x of ['a', 'b', 'c']) { } //// [ES5For-of34.js] +"use strict"; var __values = (this && this.__values) || function(o) { var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; if (m) return m.call(o); diff --git a/tests/baselines/reference/ES5For-of34.js.map b/tests/baselines/reference/ES5For-of34.js.map index 7237f72341b71..03ff12b2371fd 100644 --- a/tests/baselines/reference/ES5For-of34.js.map +++ b/tests/baselines/reference/ES5For-of34.js.map @@ -1,3 +1,3 @@ //// [ES5For-of34.js.map] -{"version":3,"file":"ES5For-of34.js","sourceRoot":"","sources":["ES5For-of34.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,SAAS,GAAG;IACR,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;AACpB,CAAC;;IACD,KAAgB,IAAA,KAAA,SAAA,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAA,gBAAA,4BAAE,CAAC;QAA7B,GAAG,EAAE,CAAC,CAAC,WAAA;QACR,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC;IACpB,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9fdmFsdWVzID0gKHRoaXMgJiYgdGhpcy5fX3ZhbHVlcykgfHwgZnVuY3Rpb24obykgew0KICAgIHZhciBzID0gdHlwZW9mIFN5bWJvbCA9PT0gImZ1bmN0aW9uIiAmJiBTeW1ib2wuaXRlcmF0b3IsIG0gPSBzICYmIG9bc10sIGkgPSAwOw0KICAgIGlmIChtKSByZXR1cm4gbS5jYWxsKG8pOw0KICAgIGl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lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7QUFBQSxTQUFTLEdBQUc7SUFDUixPQUFPLEVBQUUsQ0FBQyxFQUFFLENBQUMsRUFBRSxDQUFDO0FBQ3BCLENBQUM7O0lBQ0QsS0FBZ0IsSUFBQSxLQUFBLFNBQUEsQ0FBQyxHQUFHLEVBQUUsR0FBRyxFQUFFLEdBQUcsQ0FBQyxDQUFBLGdCQUFBLDRCQUFFLENBQUM7UUFBN0IsR0FBRyxFQUFFLENBQUMsQ0FBQyxXQUFBO1FBQ1IsSUFBSSxDQUFDLEdBQUcsR0FBRyxFQUFFLENBQUMsQ0FBQyxDQUFDO0lBQ3BCLENBQUMifQ==,ZnVuY3Rpb24gZm9vKCkgewogICAgcmV0dXJuIHsgeDogMCB9Owp9CmZvciAoZm9vKCkueCBvZiBbJ2EnLCAnYicsICdjJ10pIHsKICAgIHZhciBwID0gZm9vKCkueDsKfQ== +{"version":3,"file":"ES5For-of34.js","sourceRoot":"","sources":["ES5For-of34.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAAA,SAAS,GAAG;IACR,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;AACpB,CAAC;;IACD,KAAgB,IAAA,KAAA,SAAA,CAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,CAAA,gBAAA,4BAAE,CAAC;QAA7B,GAAG,EAAE,CAAC,CAAC,WAAA;QACR,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC;IACpB,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIF9fdmFsdWVzID0gKHRoaXMgJiYgdGhpcy5fX3ZhbHVlcykgfHwgZnVuY3Rpb24obykgew0KICAgIHZhciBzID0gdHlwZW9mIFN5bWJvbCA9PT0gImZ1bmN0aW9uIiAmJiBTeW1ib2wuaXRlcmF0b3IsIG0gPSBzICYmIG9bc10sIGkgPSAwOw0KICAgIGlmIChtKS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6WyJFUzVGb3Itb2YzNC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUEsU0FBUyxHQUFHO0lBQ1IsT0FBTyxFQUFFLENBQUMsRUFBRSxDQUFDLEVBQUUsQ0FBQztBQUNwQixDQUFDOztJQUNELEtBQWdCLElBQUEsS0FBQSxTQUFBLENBQUMsR0FBRyxFQUFFLEdBQUcsRUFBRSxHQUFHLENBQUMsQ0FBQSxnQkFBQSw0QkFBRSxDQUFDO1FBQTdCLEdBQUcsRUFBRSxDQUFDLENBQUMsV0FBQTtRQUNSLElBQUksQ0FBQyxHQUFHLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQztJQUNwQixDQUFDIn0=,ZnVuY3Rpb24gZm9vKCkgewogICAgcmV0dXJuIHsgeDogMCB9Owp9CmZvciAoZm9vKCkueCBvZiBbJ2EnLCAnYicsICdjJ10pIHsKICAgIHZhciBwID0gZm9vKCkueDsKfQ== diff --git a/tests/baselines/reference/ES5For-of34.sourcemap.txt b/tests/baselines/reference/ES5For-of34.sourcemap.txt index 0579e2166a302..b50ba84f6ded6 100644 --- a/tests/baselines/reference/ES5For-of34.sourcemap.txt +++ b/tests/baselines/reference/ES5For-of34.sourcemap.txt @@ -8,6 +8,7 @@ sources: ES5For-of34.ts emittedFile:ES5For-of34.js sourceFile:ES5For-of34.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var __values = (this && this.__values) || function(o) { >>> var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; >>> if (m) return m.call(o); @@ -28,9 +29,9 @@ sourceFile:ES5For-of34.ts 1 > 2 >function 3 > foo -1 >Emitted(13, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(13, 10) Source(1, 10) + SourceIndex(0) -3 >Emitted(13, 13) Source(1, 13) + SourceIndex(0) +1 >Emitted(14, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(14, 10) Source(1, 10) + SourceIndex(0) +3 >Emitted(14, 13) Source(1, 13) + SourceIndex(0) --- >>> return { x: 0 }; 1->^^^^ @@ -50,14 +51,14 @@ sourceFile:ES5For-of34.ts 6 > 0 7 > } 8 > ; -1->Emitted(14, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(14, 12) Source(2, 12) + SourceIndex(0) -3 >Emitted(14, 14) Source(2, 14) + SourceIndex(0) -4 >Emitted(14, 15) Source(2, 15) + SourceIndex(0) -5 >Emitted(14, 17) Source(2, 17) + SourceIndex(0) -6 >Emitted(14, 18) Source(2, 18) + SourceIndex(0) -7 >Emitted(14, 20) Source(2, 20) + SourceIndex(0) -8 >Emitted(14, 21) Source(2, 21) + SourceIndex(0) +1->Emitted(15, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(15, 12) Source(2, 12) + SourceIndex(0) +3 >Emitted(15, 14) Source(2, 14) + SourceIndex(0) +4 >Emitted(15, 15) Source(2, 15) + SourceIndex(0) +5 >Emitted(15, 17) Source(2, 17) + SourceIndex(0) +6 >Emitted(15, 18) Source(2, 18) + SourceIndex(0) +7 >Emitted(15, 20) Source(2, 20) + SourceIndex(0) +8 >Emitted(15, 21) Source(2, 21) + SourceIndex(0) --- >>>} 1 > @@ -66,8 +67,8 @@ sourceFile:ES5For-of34.ts 1 > > 2 >} -1 >Emitted(15, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(15, 2) Source(3, 2) + SourceIndex(0) +1 >Emitted(16, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(16, 2) Source(3, 2) + SourceIndex(0) --- >>>try { >>> for (var _b = __values(['a', 'b', 'c']), _c = _b.next(); !_c.done; _c = _b.next()) { @@ -104,22 +105,22 @@ sourceFile:ES5For-of34.ts 14> 15> ) 16> { -1->Emitted(17, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(17, 10) Source(4, 17) + SourceIndex(0) -3 >Emitted(17, 14) Source(4, 17) + SourceIndex(0) -4 >Emitted(17, 19) Source(4, 17) + SourceIndex(0) -5 >Emitted(17, 28) Source(4, 17) + SourceIndex(0) -6 >Emitted(17, 29) Source(4, 18) + SourceIndex(0) -7 >Emitted(17, 32) Source(4, 21) + SourceIndex(0) -8 >Emitted(17, 34) Source(4, 23) + SourceIndex(0) -9 >Emitted(17, 37) Source(4, 26) + SourceIndex(0) -10>Emitted(17, 39) Source(4, 28) + SourceIndex(0) -11>Emitted(17, 42) Source(4, 31) + SourceIndex(0) -12>Emitted(17, 43) Source(4, 32) + SourceIndex(0) -13>Emitted(17, 44) Source(4, 32) + SourceIndex(0) -14>Emitted(17, 60) Source(4, 32) + SourceIndex(0) -15>Emitted(17, 88) Source(4, 34) + SourceIndex(0) -16>Emitted(17, 89) Source(4, 35) + SourceIndex(0) +1->Emitted(18, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(18, 10) Source(4, 17) + SourceIndex(0) +3 >Emitted(18, 14) Source(4, 17) + SourceIndex(0) +4 >Emitted(18, 19) Source(4, 17) + SourceIndex(0) +5 >Emitted(18, 28) Source(4, 17) + SourceIndex(0) +6 >Emitted(18, 29) Source(4, 18) + SourceIndex(0) +7 >Emitted(18, 32) Source(4, 21) + SourceIndex(0) +8 >Emitted(18, 34) Source(4, 23) + SourceIndex(0) +9 >Emitted(18, 37) Source(4, 26) + SourceIndex(0) +10>Emitted(18, 39) Source(4, 28) + SourceIndex(0) +11>Emitted(18, 42) Source(4, 31) + SourceIndex(0) +12>Emitted(18, 43) Source(4, 32) + SourceIndex(0) +13>Emitted(18, 44) Source(4, 32) + SourceIndex(0) +14>Emitted(18, 60) Source(4, 32) + SourceIndex(0) +15>Emitted(18, 88) Source(4, 34) + SourceIndex(0) +16>Emitted(18, 89) Source(4, 35) + SourceIndex(0) --- >>> foo().x = _c.value; 1 >^^^^^^^^ @@ -134,12 +135,12 @@ sourceFile:ES5For-of34.ts 4 > . 5 > x 6 > -1 >Emitted(18, 9) Source(4, 6) + SourceIndex(0) -2 >Emitted(18, 12) Source(4, 9) + SourceIndex(0) -3 >Emitted(18, 14) Source(4, 11) + SourceIndex(0) -4 >Emitted(18, 15) Source(4, 12) + SourceIndex(0) -5 >Emitted(18, 16) Source(4, 13) + SourceIndex(0) -6 >Emitted(18, 27) Source(4, 13) + SourceIndex(0) +1 >Emitted(19, 9) Source(4, 6) + SourceIndex(0) +2 >Emitted(19, 12) Source(4, 9) + SourceIndex(0) +3 >Emitted(19, 14) Source(4, 11) + SourceIndex(0) +4 >Emitted(19, 15) Source(4, 12) + SourceIndex(0) +5 >Emitted(19, 16) Source(4, 13) + SourceIndex(0) +6 >Emitted(19, 27) Source(4, 13) + SourceIndex(0) --- >>> var p = foo().x; 1 >^^^^^^^^ @@ -161,15 +162,15 @@ sourceFile:ES5For-of34.ts 7 > . 8 > x 9 > ; -1 >Emitted(19, 9) Source(5, 5) + SourceIndex(0) -2 >Emitted(19, 13) Source(5, 9) + SourceIndex(0) -3 >Emitted(19, 14) Source(5, 10) + SourceIndex(0) -4 >Emitted(19, 17) Source(5, 13) + SourceIndex(0) -5 >Emitted(19, 20) Source(5, 16) + SourceIndex(0) -6 >Emitted(19, 22) Source(5, 18) + SourceIndex(0) -7 >Emitted(19, 23) Source(5, 19) + SourceIndex(0) -8 >Emitted(19, 24) Source(5, 20) + SourceIndex(0) -9 >Emitted(19, 25) Source(5, 21) + SourceIndex(0) +1 >Emitted(20, 9) Source(5, 5) + SourceIndex(0) +2 >Emitted(20, 13) Source(5, 9) + SourceIndex(0) +3 >Emitted(20, 14) Source(5, 10) + SourceIndex(0) +4 >Emitted(20, 17) Source(5, 13) + SourceIndex(0) +5 >Emitted(20, 20) Source(5, 16) + SourceIndex(0) +6 >Emitted(20, 22) Source(5, 18) + SourceIndex(0) +7 >Emitted(20, 23) Source(5, 19) + SourceIndex(0) +8 >Emitted(20, 24) Source(5, 20) + SourceIndex(0) +9 >Emitted(20, 25) Source(5, 21) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -177,8 +178,8 @@ sourceFile:ES5For-of34.ts 1 > > 2 > } -1 >Emitted(20, 5) Source(6, 1) + SourceIndex(0) -2 >Emitted(20, 6) Source(6, 2) + SourceIndex(0) +1 >Emitted(21, 5) Source(6, 1) + SourceIndex(0) +2 >Emitted(21, 6) Source(6, 2) + SourceIndex(0) --- >>>} >>>catch (e_1_1) { e_1 = { error: e_1_1 }; } diff --git a/tests/baselines/reference/ES5For-of35.js b/tests/baselines/reference/ES5For-of35.js index b7feda58ce1e4..7850e0a6d703c 100644 --- a/tests/baselines/reference/ES5For-of35.js +++ b/tests/baselines/reference/ES5For-of35.js @@ -7,6 +7,7 @@ for (const {x: a = 0, y: b = 1} of [2, 3]) { } //// [ES5For-of35.js] +"use strict"; var __values = (this && this.__values) || function(o) { var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; if (m) return m.call(o); diff --git a/tests/baselines/reference/ES5For-of35.js.map b/tests/baselines/reference/ES5For-of35.js.map index ef2198fce7606..5a2e2bdb7a42e 100644 --- a/tests/baselines/reference/ES5For-of35.js.map +++ b/tests/baselines/reference/ES5For-of35.js.map @@ -1,3 +1,3 @@ //// [ES5For-of35.js.map] -{"version":3,"file":"ES5For-of35.js","sourceRoot":"","sources":["ES5For-of35.ts"],"names":[],"mappings":";;;;;;;;;;;;;IAAA,KAAmC,IAAA,KAAA,SAAA,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA,gBAAA,4BAAE,CAAC;QAAjC,IAAA,aAAoB,EAAnB,SAAQ,EAAL,CAAC,mBAAG,CAAC,KAAA,EAAE,SAAQ,EAAL,CAAC,mBAAG,CAAC,KAAA;QAC1B,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9fdmFsdWVzID0gKHRoaXMgJiYgdGhpcy5fX3ZhbHVlcykgfHwgZnVuY3Rpb24obykgew0KICAgIHZhciBzID0gdHlwZW9mIFN5bWJvbCA9PT0gImZ1bmN0aW9uIiAmJiBTeW1ib2wuaXRlcmF0b3IsIG0gPSBzICYmIG9bc10sI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VM1Rm9yLW9mMzUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJFUzVGb3Itb2YzNS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0lBQUEsS0FBbUMsSUFBQSxLQUFBLFNBQUEsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLENBQUEsZ0JBQUEsNEJBQUUsQ0FBQztRQUFqQyxJQUFBLGFBQW9CLEVBQW5CLFNBQVEsRUFBTCxDQUFDLG1CQUFHLENBQUMsS0FBQSxFQUFFLFNBQVEsRUFBTCxDQUFDLG1CQUFHLENBQUMsS0FBQTtRQUMxQixDQUFDLENBQUM7UUFDRixDQUFDLENBQUM7SUFDTixDQUFDIn0=,Zm9yIChjb25zdCB7eDogYSA9IDAsIHk6IGIgPSAxfSBvZiBbMiwgM10pIHsKICAgIGE7CiAgICBiOwp9 +{"version":3,"file":"ES5For-of35.js","sourceRoot":"","sources":["ES5For-of35.ts"],"names":[],"mappings":";;;;;;;;;;;;;;IAAA,KAAmC,IAAA,KAAA,SAAA,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA,gBAAA,4BAAE,CAAC;QAAjC,IAAA,aAAoB,EAAnB,SAAQ,EAAL,CAAC,mBAAG,CAAC,KAAA,EAAE,SAAQ,EAAL,CAAC,mBAAG,CAAC,KAAA;QAC1B,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIF9fdmFsdWVzID0gKHRoaXMgJiYgdGhpcy5fX3ZhbHVlcykgfHwgZnVuY3Rpb24obykgew0KICAgIHZhciBzID0gdHlwZW9mIFN5bWJvbCA9PT0gImZ1bmN0aW9uIiAmJiBTeW1ib2wuaXRlcmF0b3IsIG0gPSBzICYmIG9bc10sIGkgPSAwOw0KICAgIGlmIChtKSByZXR1cm4gbS5jYWxsKG8pOw0KICAgIGlmIChvICYmIHR5cG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S50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7OztJQUFBLEtBQW1DLElBQUEsS0FBQSxTQUFBLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFBLGdCQUFBLDRCQUFFLENBQUM7UUFBakMsSUFBQSxhQUFvQixFQUFuQixTQUFRLEVBQUwsQ0FBQyxtQkFBRyxDQUFDLEtBQUEsRUFBRSxTQUFRLEVBQUwsQ0FBQyxtQkFBRyxDQUFDLEtBQUE7UUFDMUIsQ0FBQyxDQUFDO1FBQ0YsQ0FBQyxDQUFDO0lBQ04sQ0FBQyJ9,Zm9yIChjb25zdCB7eDogYSA9IDAsIHk6IGIgPSAxfSBvZiBbMiwgM10pIHsKICAgIGE7CiAgICBiOwp9 diff --git a/tests/baselines/reference/ES5For-of35.sourcemap.txt b/tests/baselines/reference/ES5For-of35.sourcemap.txt index addd7a80176bf..8daaf41919c1c 100644 --- a/tests/baselines/reference/ES5For-of35.sourcemap.txt +++ b/tests/baselines/reference/ES5For-of35.sourcemap.txt @@ -8,6 +8,7 @@ sources: ES5For-of35.ts emittedFile:ES5For-of35.js sourceFile:ES5For-of35.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var __values = (this && this.__values) || function(o) { >>> var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; >>> if (m) return m.call(o); @@ -51,20 +52,20 @@ sourceFile:ES5For-of35.ts 12> 13> ) 14> { -1 >Emitted(14, 5) Source(1, 1) + SourceIndex(0) -2 >Emitted(14, 10) Source(1, 36) + SourceIndex(0) -3 >Emitted(14, 14) Source(1, 36) + SourceIndex(0) -4 >Emitted(14, 19) Source(1, 36) + SourceIndex(0) -5 >Emitted(14, 28) Source(1, 36) + SourceIndex(0) -6 >Emitted(14, 29) Source(1, 37) + SourceIndex(0) -7 >Emitted(14, 30) Source(1, 38) + SourceIndex(0) -8 >Emitted(14, 32) Source(1, 40) + SourceIndex(0) -9 >Emitted(14, 33) Source(1, 41) + SourceIndex(0) -10>Emitted(14, 34) Source(1, 42) + SourceIndex(0) -11>Emitted(14, 35) Source(1, 42) + SourceIndex(0) -12>Emitted(14, 51) Source(1, 42) + SourceIndex(0) -13>Emitted(14, 79) Source(1, 44) + SourceIndex(0) -14>Emitted(14, 80) Source(1, 45) + SourceIndex(0) +1 >Emitted(15, 5) Source(1, 1) + SourceIndex(0) +2 >Emitted(15, 10) Source(1, 36) + SourceIndex(0) +3 >Emitted(15, 14) Source(1, 36) + SourceIndex(0) +4 >Emitted(15, 19) Source(1, 36) + SourceIndex(0) +5 >Emitted(15, 28) Source(1, 36) + SourceIndex(0) +6 >Emitted(15, 29) Source(1, 37) + SourceIndex(0) +7 >Emitted(15, 30) Source(1, 38) + SourceIndex(0) +8 >Emitted(15, 32) Source(1, 40) + SourceIndex(0) +9 >Emitted(15, 33) Source(1, 41) + SourceIndex(0) +10>Emitted(15, 34) Source(1, 42) + SourceIndex(0) +11>Emitted(15, 35) Source(1, 42) + SourceIndex(0) +12>Emitted(15, 51) Source(1, 42) + SourceIndex(0) +13>Emitted(15, 79) Source(1, 44) + SourceIndex(0) +14>Emitted(15, 80) Source(1, 45) + SourceIndex(0) --- >>> var _d = _c.value, _e = _d.x, a = _e === void 0 ? 0 : _e, _f = _d.y, b = _f === void 0 ? 1 : _f; 1->^^^^^^^^ @@ -101,23 +102,23 @@ sourceFile:ES5For-of35.ts 15> = 16> 1 17> -1->Emitted(15, 9) Source(1, 12) + SourceIndex(0) -2 >Emitted(15, 13) Source(1, 12) + SourceIndex(0) -3 >Emitted(15, 26) Source(1, 32) + SourceIndex(0) -4 >Emitted(15, 28) Source(1, 13) + SourceIndex(0) -5 >Emitted(15, 37) Source(1, 21) + SourceIndex(0) -6 >Emitted(15, 39) Source(1, 16) + SourceIndex(0) -7 >Emitted(15, 40) Source(1, 17) + SourceIndex(0) -8 >Emitted(15, 59) Source(1, 20) + SourceIndex(0) -9 >Emitted(15, 60) Source(1, 21) + SourceIndex(0) -10>Emitted(15, 65) Source(1, 21) + SourceIndex(0) -11>Emitted(15, 67) Source(1, 23) + SourceIndex(0) -12>Emitted(15, 76) Source(1, 31) + SourceIndex(0) -13>Emitted(15, 78) Source(1, 26) + SourceIndex(0) -14>Emitted(15, 79) Source(1, 27) + SourceIndex(0) -15>Emitted(15, 98) Source(1, 30) + SourceIndex(0) -16>Emitted(15, 99) Source(1, 31) + SourceIndex(0) -17>Emitted(15, 104) Source(1, 31) + SourceIndex(0) +1->Emitted(16, 9) Source(1, 12) + SourceIndex(0) +2 >Emitted(16, 13) Source(1, 12) + SourceIndex(0) +3 >Emitted(16, 26) Source(1, 32) + SourceIndex(0) +4 >Emitted(16, 28) Source(1, 13) + SourceIndex(0) +5 >Emitted(16, 37) Source(1, 21) + SourceIndex(0) +6 >Emitted(16, 39) Source(1, 16) + SourceIndex(0) +7 >Emitted(16, 40) Source(1, 17) + SourceIndex(0) +8 >Emitted(16, 59) Source(1, 20) + SourceIndex(0) +9 >Emitted(16, 60) Source(1, 21) + SourceIndex(0) +10>Emitted(16, 65) Source(1, 21) + SourceIndex(0) +11>Emitted(16, 67) Source(1, 23) + SourceIndex(0) +12>Emitted(16, 76) Source(1, 31) + SourceIndex(0) +13>Emitted(16, 78) Source(1, 26) + SourceIndex(0) +14>Emitted(16, 79) Source(1, 27) + SourceIndex(0) +15>Emitted(16, 98) Source(1, 30) + SourceIndex(0) +16>Emitted(16, 99) Source(1, 31) + SourceIndex(0) +17>Emitted(16, 104) Source(1, 31) + SourceIndex(0) --- >>> a; 1 >^^^^^^^^ @@ -128,9 +129,9 @@ sourceFile:ES5For-of35.ts > 2 > a 3 > ; -1 >Emitted(16, 9) Source(2, 5) + SourceIndex(0) -2 >Emitted(16, 10) Source(2, 6) + SourceIndex(0) -3 >Emitted(16, 11) Source(2, 7) + SourceIndex(0) +1 >Emitted(17, 9) Source(2, 5) + SourceIndex(0) +2 >Emitted(17, 10) Source(2, 6) + SourceIndex(0) +3 >Emitted(17, 11) Source(2, 7) + SourceIndex(0) --- >>> b; 1->^^^^^^^^ @@ -140,9 +141,9 @@ sourceFile:ES5For-of35.ts > 2 > b 3 > ; -1->Emitted(17, 9) Source(3, 5) + SourceIndex(0) -2 >Emitted(17, 10) Source(3, 6) + SourceIndex(0) -3 >Emitted(17, 11) Source(3, 7) + SourceIndex(0) +1->Emitted(18, 9) Source(3, 5) + SourceIndex(0) +2 >Emitted(18, 10) Source(3, 6) + SourceIndex(0) +3 >Emitted(18, 11) Source(3, 7) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -150,8 +151,8 @@ sourceFile:ES5For-of35.ts 1 > > 2 > } -1 >Emitted(18, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(18, 6) Source(4, 2) + SourceIndex(0) +1 >Emitted(19, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(19, 6) Source(4, 2) + SourceIndex(0) --- >>>} >>>catch (e_1_1) { e_1 = { error: e_1_1 }; } diff --git a/tests/baselines/reference/ES5For-of36.js b/tests/baselines/reference/ES5For-of36.js index be5150ce8f928..1d6c27c2ae508 100644 --- a/tests/baselines/reference/ES5For-of36.js +++ b/tests/baselines/reference/ES5For-of36.js @@ -7,6 +7,7 @@ for (let [a = 0, b = 1] of [2, 3]) { } //// [ES5For-of36.js] +"use strict"; var __values = (this && this.__values) || function(o) { var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; if (m) return m.call(o); diff --git a/tests/baselines/reference/ES5For-of36.js.map b/tests/baselines/reference/ES5For-of36.js.map index 989da082d8011..10515f9b273a5 100644 --- a/tests/baselines/reference/ES5For-of36.js.map +++ b/tests/baselines/reference/ES5For-of36.js.map @@ -1,3 +1,3 @@ //// [ES5For-of36.js.map] -{"version":3,"file":"ES5For-of36.js","sourceRoot":"","sources":["ES5For-of36.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAA,KAA2B,IAAA,KAAA,SAAA,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA,gBAAA,4BAAE,CAAC;QAA3B,IAAA,KAAA,mBAAc,EAAb,UAAK,EAAL,CAAC,mBAAG,CAAC,KAAA,EAAE,UAAK,EAAL,CAAC,mBAAG,CAAC,KAAA;QAClB,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9fdmFsdWVzID0gKHRoaXMgJiYgdGhpcy5fX3ZhbHVlcykgfHwgZnVuY3Rpb24obykgew0KICAgIHZhciBzID0gdHlwZW9mIFN5bWJvbCA9PT0gImZ1bmN0aW9uIiAmJiBTeW1ib2wuaXRlcmF0b3IsIG0gPSBzICYmIG9bc10sIGkgPSAwOw0KICAgIGlmIChtKSByZXR1cm4gbS5jYWxsKG8pOw0KICAgIGlmIChvICYmIHR5cGVvZiBvLmxlbmd0aCA9PT0gIm51bWJlciIpIHJldHVybiB7DQogICAgICAgIG5leHQ6IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgICAgIGlmIChvICYmIGkgPj0gby5sZW5ndGgpIG8gPSB2b2lkIDA7DQogICAgICAgICAgICByZXR1cm4geyB2YWx1ZTogbyAmJiBvW2krK10sIGRvbmU6ICFvIH07DQogICAgICAgIH0NCiAgICB9Ow0KICAgIHRocm93IG5ldyBUeXBlRXJyb3IocyA/ICJPYmplY3QgaXMgbm90IGl0ZXJhYmxlLiIgOiAiU3ltYm9sLml0ZXJhdG9yIGlzIG5vdCBkZWZpbmVkLiIpOw0KfTsNCnZhciBfX3JlYWQgPSAodGhpcyAmJiB0aGlzLl9fcmVhZCkgfHwgZnVuY3Rpb24gKG8sIG4pIHsNCiAgICB2YXIgbSA9IHR5cGVvZiBTeW1ib2wgPT09ICJmdW5jdGlvbiIgJiYgb1tTeW1ib2wuaXRlcmF0b3JdOw0KICAgIGlmICghbSkgcmV0dXJuIG87DQogICAgdmFyIGkgPSBtLmNhbGwobyksIHIsIGFyID0gW10sIGU7DQogICAgdHJ5IHsNCiAgICAgICAgd2hpbGUg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iIiwic291cmNlcyI6WyJFUzVGb3Itb2YzNi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7OztJQUFBLEtBQTJCLElBQUEsS0FBQSxTQUFBLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxDQUFBLGdCQUFBLDRCQUFFLENBQUM7UUFBM0IsSUFBQSxLQUFBLG1CQUFjLEVBQWIsVUFBSyxFQUFMLENBQUMsbUJBQUcsQ0FBQyxLQUFBLEVBQUUsVUFBSyxFQUFMLENBQUMsbUJBQUcsQ0FBQyxLQUFBO1FBQ2xCLENBQUMsQ0FBQztRQUNGLENBQUMsQ0FBQztJQUNOLENBQUMifQ==,Zm9yIChsZXQgW2EgPSAwLCBiID0gMV0gb2YgWzIsIDNdKSB7CiAgICBhOwogICAgYjsKfQ== +{"version":3,"file":"ES5For-of36.js","sourceRoot":"","sources":["ES5For-of36.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAA,KAA2B,IAAA,KAAA,SAAA,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA,gBAAA,4BAAE,CAAC;QAA3B,IAAA,KAAA,mBAAc,EAAb,UAAK,EAAL,CAAC,mBAAG,CAAC,KAAA,EAAE,UAAK,EAAL,CAAC,mBAAG,CAAC,KAAA;QAClB,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIF9fdmFsdWVzID0gKHRoaXMgJiYgdGhpcy5fX3ZhbHVlcykgfHwgZnVuY3Rpb24obykgew0KICAgIHZhciBzID0gdHlwZW9mIFN5bWJvbCA9PT0gImZ1bmN0aW9uIiAmJiBTeW1ib2wuaXRlcmF0b3IsIG0gPSBzICYmIG9bc10sIGkgPSAwOw0KICAgIGlmIChtKSByZXR1cm4gbS5jYWxsKG8pOw0KICAgIGlmIChvICYmI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iID0gMV0gb2YgWzIsIDNdKSB7CiAgICBhOwogICAgYjsKfQ== diff --git a/tests/baselines/reference/ES5For-of36.sourcemap.txt b/tests/baselines/reference/ES5For-of36.sourcemap.txt index a15d71e2a08e8..9121ed080850d 100644 --- a/tests/baselines/reference/ES5For-of36.sourcemap.txt +++ b/tests/baselines/reference/ES5For-of36.sourcemap.txt @@ -8,6 +8,7 @@ sources: ES5For-of36.ts emittedFile:ES5For-of36.js sourceFile:ES5For-of36.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var __values = (this && this.__values) || function(o) { >>> var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; >>> if (m) return m.call(o); @@ -67,20 +68,20 @@ sourceFile:ES5For-of36.ts 12> 13> ) 14> { -1 >Emitted(30, 5) Source(1, 1) + SourceIndex(0) -2 >Emitted(30, 10) Source(1, 28) + SourceIndex(0) -3 >Emitted(30, 14) Source(1, 28) + SourceIndex(0) -4 >Emitted(30, 19) Source(1, 28) + SourceIndex(0) -5 >Emitted(30, 28) Source(1, 28) + SourceIndex(0) -6 >Emitted(30, 29) Source(1, 29) + SourceIndex(0) -7 >Emitted(30, 30) Source(1, 30) + SourceIndex(0) -8 >Emitted(30, 32) Source(1, 32) + SourceIndex(0) -9 >Emitted(30, 33) Source(1, 33) + SourceIndex(0) -10>Emitted(30, 34) Source(1, 34) + SourceIndex(0) -11>Emitted(30, 35) Source(1, 34) + SourceIndex(0) -12>Emitted(30, 51) Source(1, 34) + SourceIndex(0) -13>Emitted(30, 79) Source(1, 36) + SourceIndex(0) -14>Emitted(30, 80) Source(1, 37) + SourceIndex(0) +1 >Emitted(31, 5) Source(1, 1) + SourceIndex(0) +2 >Emitted(31, 10) Source(1, 28) + SourceIndex(0) +3 >Emitted(31, 14) Source(1, 28) + SourceIndex(0) +4 >Emitted(31, 19) Source(1, 28) + SourceIndex(0) +5 >Emitted(31, 28) Source(1, 28) + SourceIndex(0) +6 >Emitted(31, 29) Source(1, 29) + SourceIndex(0) +7 >Emitted(31, 30) Source(1, 30) + SourceIndex(0) +8 >Emitted(31, 32) Source(1, 32) + SourceIndex(0) +9 >Emitted(31, 33) Source(1, 33) + SourceIndex(0) +10>Emitted(31, 34) Source(1, 34) + SourceIndex(0) +11>Emitted(31, 35) Source(1, 34) + SourceIndex(0) +12>Emitted(31, 51) Source(1, 34) + SourceIndex(0) +13>Emitted(31, 79) Source(1, 36) + SourceIndex(0) +14>Emitted(31, 80) Source(1, 37) + SourceIndex(0) --- >>> var _d = __read(_c.value, 2), _e = _d[0], a = _e === void 0 ? 0 : _e, _f = _d[1], b = _f === void 0 ? 1 : _f; 1->^^^^^^^^ @@ -119,24 +120,24 @@ sourceFile:ES5For-of36.ts 16> = 17> 1 18> -1->Emitted(31, 9) Source(1, 10) + SourceIndex(0) -2 >Emitted(31, 13) Source(1, 10) + SourceIndex(0) -3 >Emitted(31, 18) Source(1, 10) + SourceIndex(0) -4 >Emitted(31, 37) Source(1, 24) + SourceIndex(0) -5 >Emitted(31, 39) Source(1, 11) + SourceIndex(0) -6 >Emitted(31, 49) Source(1, 16) + SourceIndex(0) -7 >Emitted(31, 51) Source(1, 11) + SourceIndex(0) -8 >Emitted(31, 52) Source(1, 12) + SourceIndex(0) -9 >Emitted(31, 71) Source(1, 15) + SourceIndex(0) -10>Emitted(31, 72) Source(1, 16) + SourceIndex(0) -11>Emitted(31, 77) Source(1, 16) + SourceIndex(0) -12>Emitted(31, 79) Source(1, 18) + SourceIndex(0) -13>Emitted(31, 89) Source(1, 23) + SourceIndex(0) -14>Emitted(31, 91) Source(1, 18) + SourceIndex(0) -15>Emitted(31, 92) Source(1, 19) + SourceIndex(0) -16>Emitted(31, 111) Source(1, 22) + SourceIndex(0) -17>Emitted(31, 112) Source(1, 23) + SourceIndex(0) -18>Emitted(31, 117) Source(1, 23) + SourceIndex(0) +1->Emitted(32, 9) Source(1, 10) + SourceIndex(0) +2 >Emitted(32, 13) Source(1, 10) + SourceIndex(0) +3 >Emitted(32, 18) Source(1, 10) + SourceIndex(0) +4 >Emitted(32, 37) Source(1, 24) + SourceIndex(0) +5 >Emitted(32, 39) Source(1, 11) + SourceIndex(0) +6 >Emitted(32, 49) Source(1, 16) + SourceIndex(0) +7 >Emitted(32, 51) Source(1, 11) + SourceIndex(0) +8 >Emitted(32, 52) Source(1, 12) + SourceIndex(0) +9 >Emitted(32, 71) Source(1, 15) + SourceIndex(0) +10>Emitted(32, 72) Source(1, 16) + SourceIndex(0) +11>Emitted(32, 77) Source(1, 16) + SourceIndex(0) +12>Emitted(32, 79) Source(1, 18) + SourceIndex(0) +13>Emitted(32, 89) Source(1, 23) + SourceIndex(0) +14>Emitted(32, 91) Source(1, 18) + SourceIndex(0) +15>Emitted(32, 92) Source(1, 19) + SourceIndex(0) +16>Emitted(32, 111) Source(1, 22) + SourceIndex(0) +17>Emitted(32, 112) Source(1, 23) + SourceIndex(0) +18>Emitted(32, 117) Source(1, 23) + SourceIndex(0) --- >>> a; 1 >^^^^^^^^ @@ -147,9 +148,9 @@ sourceFile:ES5For-of36.ts > 2 > a 3 > ; -1 >Emitted(32, 9) Source(2, 5) + SourceIndex(0) -2 >Emitted(32, 10) Source(2, 6) + SourceIndex(0) -3 >Emitted(32, 11) Source(2, 7) + SourceIndex(0) +1 >Emitted(33, 9) Source(2, 5) + SourceIndex(0) +2 >Emitted(33, 10) Source(2, 6) + SourceIndex(0) +3 >Emitted(33, 11) Source(2, 7) + SourceIndex(0) --- >>> b; 1->^^^^^^^^ @@ -159,9 +160,9 @@ sourceFile:ES5For-of36.ts > 2 > b 3 > ; -1->Emitted(33, 9) Source(3, 5) + SourceIndex(0) -2 >Emitted(33, 10) Source(3, 6) + SourceIndex(0) -3 >Emitted(33, 11) Source(3, 7) + SourceIndex(0) +1->Emitted(34, 9) Source(3, 5) + SourceIndex(0) +2 >Emitted(34, 10) Source(3, 6) + SourceIndex(0) +3 >Emitted(34, 11) Source(3, 7) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -169,8 +170,8 @@ sourceFile:ES5For-of36.ts 1 > > 2 > } -1 >Emitted(34, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(34, 6) Source(4, 2) + SourceIndex(0) +1 >Emitted(35, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(35, 6) Source(4, 2) + SourceIndex(0) --- >>>} >>>catch (e_1_1) { e_1 = { error: e_1_1 }; } diff --git a/tests/baselines/reference/ES5For-of37.js b/tests/baselines/reference/ES5For-of37.js index 5f388c3ae482d..b5f60068d3a9a 100644 --- a/tests/baselines/reference/ES5For-of37.js +++ b/tests/baselines/reference/ES5For-of37.js @@ -18,6 +18,7 @@ for (const i of [0, 1, 2, 3, 4]) { } //// [ES5For-of37.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/30083 var __values = (this && this.__values) || function(o) { var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; diff --git a/tests/baselines/reference/ES5For-of4.js b/tests/baselines/reference/ES5For-of4.js index f9966ad370998..d1d45ef9b7daf 100644 --- a/tests/baselines/reference/ES5For-of4.js +++ b/tests/baselines/reference/ES5For-of4.js @@ -6,6 +6,7 @@ for (var v of []) var y = v; //// [ES5For-of4.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var v = _a[_i]; var x = v; diff --git a/tests/baselines/reference/ES5For-of5.js b/tests/baselines/reference/ES5For-of5.js index 42dc8a621accb..211b3f2733ddc 100644 --- a/tests/baselines/reference/ES5For-of5.js +++ b/tests/baselines/reference/ES5For-of5.js @@ -6,6 +6,7 @@ for (var _a of []) { } //// [ES5For-of5.js] +"use strict"; for (var _i = 0, _b = []; _i < _b.length; _i++) { var _a = _b[_i]; var x = _a; diff --git a/tests/baselines/reference/ES5For-of6.js b/tests/baselines/reference/ES5For-of6.js index 1023bbf09269c..fdef5f97f199d 100644 --- a/tests/baselines/reference/ES5For-of6.js +++ b/tests/baselines/reference/ES5For-of6.js @@ -8,6 +8,7 @@ for (var w of []) { } //// [ES5For-of6.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var w = _a[_i]; for (var _b = 0, _c = []; _b < _c.length; _b++) { diff --git a/tests/baselines/reference/ES5For-of7.js b/tests/baselines/reference/ES5For-of7.js index b51417005045a..9febbfcc477aa 100644 --- a/tests/baselines/reference/ES5For-of7.js +++ b/tests/baselines/reference/ES5For-of7.js @@ -10,6 +10,7 @@ for (var v of []) { } //// [ES5For-of7.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var w = _a[_i]; var x = w; diff --git a/tests/baselines/reference/ES5For-of8.js b/tests/baselines/reference/ES5For-of8.js index 72badc560ca64..0ec762a8de970 100644 --- a/tests/baselines/reference/ES5For-of8.js +++ b/tests/baselines/reference/ES5For-of8.js @@ -9,6 +9,7 @@ for (foo().x of ['a', 'b', 'c']) { } //// [ES5For-of8.js] +"use strict"; function foo() { return { x: 0 }; } diff --git a/tests/baselines/reference/ES5For-of8.js.map b/tests/baselines/reference/ES5For-of8.js.map index 488728ccce276..05a93dd5b1da0 100644 --- a/tests/baselines/reference/ES5For-of8.js.map +++ b/tests/baselines/reference/ES5For-of8.js.map @@ -1,3 +1,3 @@ //// [ES5For-of8.js.map] -{"version":3,"file":"ES5For-of8.js","sourceRoot":"","sources":["ES5For-of8.ts"],"names":[],"mappings":"AAAA,SAAS,GAAG;IACR,OAAO,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC;AACpB,CAAC;AACD,KAAgB,UAAe,EAAf,MAAC,GAAG,EAAE,GAAG,EAAE,GAAG,CAAC,EAAf,cAAe,EAAf,IAAe,EAAE,CAAC;IAA7B,GAAG,EAAE,CAAC,CAAC,SAAA;IACR,IAAI,CAAC,GAAG,GAAG,EAAE,CAAC,CAAC,CAAC;AACpB,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,ZnVuY3Rpb24gZm9vKCkgew0KICAgIHJldHVybiB7IHg6IDAgfTsNCn0NCmZvciAodmFyIF9pID0gMCwgX2EgPSBbJ2EnLCAnYicsICd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ra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KZnVuY3Rpb24gZm9vKCkgew0KICAgIHJldHVybiB7IHg6IDAgfTsNCn0NCmZvciAodmFyIF9pID0gMCwgX2EgPSBbJ2EnLCAnYicsICdjJ107IF9pIDwgX2EubGVuZ3RoOyBfaSsrKSB7DQogICAgZm9vKCkueCA9IF9hW19pXTsNCiAgICB2YXIgcCA9IGZvbygpLng7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1FUzVGb3Itb2Y4LmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRVM1Rm9yLW9mOC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIkVTNUZvci1vZjgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLFNBQVMsR0FBRztJQUNSLE9BQU8sRUFBRSxDQUFDLEVBQUUsQ0FBQyxFQUFFLENBQUM7QUFDcEIsQ0FBQztBQUNELEtBQWdCLFVBQWUsRUFBZixNQUFDLEdBQUcsRUFBRSxHQUFHLEVBQUUsR0FBRyxDQUFDLEVBQWYsY0FBZSxFQUFmLElBQWUsRUFBRSxDQUFDO0lBQTdCLEdBQUcsRUFBRSxDQUFDLENBQUMsU0FBQTtJQUNSLElBQUksQ0FBQyxHQUFHLEdBQUcsRUFBRSxDQUFDLENBQUMsQ0FBQztBQUNwQixDQUFDIn0=,ZnVuY3Rpb24gZm9vKCkgewogICAgcmV0dXJuIHsgeDogMCB9Owp9CmZvciAoZm9vKCkueCBvZiBbJ2EnLCAnYicsICdjJ10pIHsKICAgIHZhciBwID0gZm9vKCkueDsKfQ== diff --git a/tests/baselines/reference/ES5For-of8.sourcemap.txt b/tests/baselines/reference/ES5For-of8.sourcemap.txt index 498313f9828b4..049e2ecef9fd5 100644 --- a/tests/baselines/reference/ES5For-of8.sourcemap.txt +++ b/tests/baselines/reference/ES5For-of8.sourcemap.txt @@ -8,6 +8,7 @@ sources: ES5For-of8.ts emittedFile:ES5For-of8.js sourceFile:ES5For-of8.ts ------------------------------------------------------------------- +>>>"use strict"; >>>function foo() { 1 > 2 >^^^^^^^^^ @@ -16,9 +17,9 @@ sourceFile:ES5For-of8.ts 1 > 2 >function 3 > foo -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -3 >Emitted(1, 13) Source(1, 13) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +3 >Emitted(2, 13) Source(1, 13) + SourceIndex(0) --- >>> return { x: 0 }; 1->^^^^ @@ -38,14 +39,14 @@ sourceFile:ES5For-of8.ts 6 > 0 7 > } 8 > ; -1->Emitted(2, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 12) Source(2, 12) + SourceIndex(0) -3 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) -4 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) -5 >Emitted(2, 17) Source(2, 17) + SourceIndex(0) -6 >Emitted(2, 18) Source(2, 18) + SourceIndex(0) -7 >Emitted(2, 20) Source(2, 20) + SourceIndex(0) -8 >Emitted(2, 21) Source(2, 21) + SourceIndex(0) +1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) +3 >Emitted(3, 14) Source(2, 14) + SourceIndex(0) +4 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) +5 >Emitted(3, 17) Source(2, 17) + SourceIndex(0) +6 >Emitted(3, 18) Source(2, 18) + SourceIndex(0) +7 >Emitted(3, 20) Source(2, 20) + SourceIndex(0) +8 >Emitted(3, 21) Source(2, 21) + SourceIndex(0) --- >>>} 1 > @@ -54,8 +55,8 @@ sourceFile:ES5For-of8.ts 1 > > 2 >} -1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(4, 2) Source(3, 2) + SourceIndex(0) --- >>>for (var _i = 0, _a = ['a', 'b', 'c']; _i < _a.length; _i++) { 1-> @@ -93,23 +94,23 @@ sourceFile:ES5For-of8.ts 15> ['a', 'b', 'c'] 16> ) 17> { -1->Emitted(4, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(4, 6) Source(4, 17) + SourceIndex(0) -3 >Emitted(4, 16) Source(4, 32) + SourceIndex(0) -4 >Emitted(4, 18) Source(4, 17) + SourceIndex(0) -5 >Emitted(4, 24) Source(4, 18) + SourceIndex(0) -6 >Emitted(4, 27) Source(4, 21) + SourceIndex(0) -7 >Emitted(4, 29) Source(4, 23) + SourceIndex(0) -8 >Emitted(4, 32) Source(4, 26) + SourceIndex(0) -9 >Emitted(4, 34) Source(4, 28) + SourceIndex(0) -10>Emitted(4, 37) Source(4, 31) + SourceIndex(0) -11>Emitted(4, 38) Source(4, 32) + SourceIndex(0) -12>Emitted(4, 40) Source(4, 17) + SourceIndex(0) -13>Emitted(4, 54) Source(4, 32) + SourceIndex(0) -14>Emitted(4, 56) Source(4, 17) + SourceIndex(0) -15>Emitted(4, 60) Source(4, 32) + SourceIndex(0) -16>Emitted(4, 62) Source(4, 34) + SourceIndex(0) -17>Emitted(4, 63) Source(4, 35) + SourceIndex(0) +1->Emitted(5, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(5, 6) Source(4, 17) + SourceIndex(0) +3 >Emitted(5, 16) Source(4, 32) + SourceIndex(0) +4 >Emitted(5, 18) Source(4, 17) + SourceIndex(0) +5 >Emitted(5, 24) Source(4, 18) + SourceIndex(0) +6 >Emitted(5, 27) Source(4, 21) + SourceIndex(0) +7 >Emitted(5, 29) Source(4, 23) + SourceIndex(0) +8 >Emitted(5, 32) Source(4, 26) + SourceIndex(0) +9 >Emitted(5, 34) Source(4, 28) + SourceIndex(0) +10>Emitted(5, 37) Source(4, 31) + SourceIndex(0) +11>Emitted(5, 38) Source(4, 32) + SourceIndex(0) +12>Emitted(5, 40) Source(4, 17) + SourceIndex(0) +13>Emitted(5, 54) Source(4, 32) + SourceIndex(0) +14>Emitted(5, 56) Source(4, 17) + SourceIndex(0) +15>Emitted(5, 60) Source(4, 32) + SourceIndex(0) +16>Emitted(5, 62) Source(4, 34) + SourceIndex(0) +17>Emitted(5, 63) Source(4, 35) + SourceIndex(0) --- >>> foo().x = _a[_i]; 1 >^^^^ @@ -125,12 +126,12 @@ sourceFile:ES5For-of8.ts 4 > . 5 > x 6 > -1 >Emitted(5, 5) Source(4, 6) + SourceIndex(0) -2 >Emitted(5, 8) Source(4, 9) + SourceIndex(0) -3 >Emitted(5, 10) Source(4, 11) + SourceIndex(0) -4 >Emitted(5, 11) Source(4, 12) + SourceIndex(0) -5 >Emitted(5, 12) Source(4, 13) + SourceIndex(0) -6 >Emitted(5, 21) Source(4, 13) + SourceIndex(0) +1 >Emitted(6, 5) Source(4, 6) + SourceIndex(0) +2 >Emitted(6, 8) Source(4, 9) + SourceIndex(0) +3 >Emitted(6, 10) Source(4, 11) + SourceIndex(0) +4 >Emitted(6, 11) Source(4, 12) + SourceIndex(0) +5 >Emitted(6, 12) Source(4, 13) + SourceIndex(0) +6 >Emitted(6, 21) Source(4, 13) + SourceIndex(0) --- >>> var p = foo().x; 1->^^^^ @@ -152,15 +153,15 @@ sourceFile:ES5For-of8.ts 7 > . 8 > x 9 > ; -1->Emitted(6, 5) Source(5, 5) + SourceIndex(0) -2 >Emitted(6, 9) Source(5, 9) + SourceIndex(0) -3 >Emitted(6, 10) Source(5, 10) + SourceIndex(0) -4 >Emitted(6, 13) Source(5, 13) + SourceIndex(0) -5 >Emitted(6, 16) Source(5, 16) + SourceIndex(0) -6 >Emitted(6, 18) Source(5, 18) + SourceIndex(0) -7 >Emitted(6, 19) Source(5, 19) + SourceIndex(0) -8 >Emitted(6, 20) Source(5, 20) + SourceIndex(0) -9 >Emitted(6, 21) Source(5, 21) + SourceIndex(0) +1->Emitted(7, 5) Source(5, 5) + SourceIndex(0) +2 >Emitted(7, 9) Source(5, 9) + SourceIndex(0) +3 >Emitted(7, 10) Source(5, 10) + SourceIndex(0) +4 >Emitted(7, 13) Source(5, 13) + SourceIndex(0) +5 >Emitted(7, 16) Source(5, 16) + SourceIndex(0) +6 >Emitted(7, 18) Source(5, 18) + SourceIndex(0) +7 >Emitted(7, 19) Source(5, 19) + SourceIndex(0) +8 >Emitted(7, 20) Source(5, 20) + SourceIndex(0) +9 >Emitted(7, 21) Source(5, 21) + SourceIndex(0) --- >>>} 1 > @@ -169,7 +170,7 @@ sourceFile:ES5For-of8.ts 1 > > 2 >} -1 >Emitted(7, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(6, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(6, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=ES5For-of8.js.map \ No newline at end of file diff --git a/tests/baselines/reference/ES5For-of9.js b/tests/baselines/reference/ES5For-of9.js index 79c18f4c7421a..0e1d20a864552 100644 --- a/tests/baselines/reference/ES5For-of9.js +++ b/tests/baselines/reference/ES5For-of9.js @@ -11,6 +11,7 @@ for (foo().x of []) { } //// [ES5For-of9.js] +"use strict"; function foo() { return { x: 0 }; } diff --git a/tests/baselines/reference/ES5For-ofTypeCheck1.js b/tests/baselines/reference/ES5For-ofTypeCheck1.js index 3c675ab41b9d7..2670b3c206d36 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck1.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck1.js @@ -4,6 +4,7 @@ for (var v of "") { } //// [ES5For-ofTypeCheck1.js] +"use strict"; for (var _i = 0, _a = ""; _i < _a.length; _i++) { var v = _a[_i]; } diff --git a/tests/baselines/reference/ES5For-ofTypeCheck10.js b/tests/baselines/reference/ES5For-ofTypeCheck10.js index 2537d78d12f63..20a8150c3c4d4 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck10.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck10.js @@ -17,6 +17,7 @@ class MyStringIterator { for (var v of new MyStringIterator) { } //// [ES5For-ofTypeCheck10.js] +"use strict"; // In ES3/5, you cannot for...of over an arbitrary iterable. var MyStringIterator = /** @class */ (function () { function MyStringIterator() { diff --git a/tests/baselines/reference/ES5For-ofTypeCheck11.js b/tests/baselines/reference/ES5For-ofTypeCheck11.js index 3f1e87cd7050b..c4e3d07efe099 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck11.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck11.js @@ -6,6 +6,7 @@ var v: string; for (v of union) { } //// [ES5For-ofTypeCheck11.js] +"use strict"; var v; for (var _i = 0, union_1 = union; _i < union_1.length; _i++) { v = union_1[_i]; diff --git a/tests/baselines/reference/ES5For-ofTypeCheck12.js b/tests/baselines/reference/ES5For-ofTypeCheck12.js index 6b3a16973f301..1078666a5d4ac 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck12.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck12.js @@ -4,6 +4,7 @@ for (const v of 0) { } //// [ES5For-ofTypeCheck12.js] +"use strict"; for (var _i = 0, _a = 0; _i < _a.length; _i++) { var v = _a[_i]; } diff --git a/tests/baselines/reference/ES5For-ofTypeCheck13.js b/tests/baselines/reference/ES5For-ofTypeCheck13.js index b2a0b7bfcfbf4..634c679e88f15 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck13.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck13.js @@ -7,6 +7,7 @@ strSet.add('World') for (const str of strSet) { } //// [ES5For-ofTypeCheck13.js] +"use strict"; var strSet = new Set(); strSet.add('Hello'); strSet.add('World'); diff --git a/tests/baselines/reference/ES5For-ofTypeCheck14.js b/tests/baselines/reference/ES5For-ofTypeCheck14.js index 3dd6049bc315d..0cb00b44fdcd3 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck14.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck14.js @@ -5,6 +5,7 @@ declare var union: string | Set for (const e of union) { } //// [ES5For-ofTypeCheck14.js] +"use strict"; for (var _i = 0, union_1 = union; _i < union_1.length; _i++) { var e = union_1[_i]; } diff --git a/tests/baselines/reference/ES5For-ofTypeCheck2.js b/tests/baselines/reference/ES5For-ofTypeCheck2.js index ba855f712c725..67dbc0d419d04 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck2.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck2.js @@ -4,6 +4,7 @@ for (var v of [true]) { } //// [ES5For-ofTypeCheck2.js] +"use strict"; for (var _i = 0, _a = [true]; _i < _a.length; _i++) { var v = _a[_i]; } diff --git a/tests/baselines/reference/ES5For-ofTypeCheck3.js b/tests/baselines/reference/ES5For-ofTypeCheck3.js index 91f78c704b6bb..b0354bb4b45ef 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck3.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck3.js @@ -5,6 +5,7 @@ var tuple: [string, number] = ["", 0]; for (var v of tuple) { } //// [ES5For-ofTypeCheck3.js] +"use strict"; var tuple = ["", 0]; for (var _i = 0, tuple_1 = tuple; _i < tuple_1.length; _i++) { var v = tuple_1[_i]; diff --git a/tests/baselines/reference/ES5For-ofTypeCheck4.js b/tests/baselines/reference/ES5For-ofTypeCheck4.js index 6ee223b523698..578ee570600c5 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck4.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck4.js @@ -5,6 +5,7 @@ var union: string | string[]; for (const v of union) { } //// [ES5For-ofTypeCheck4.js] +"use strict"; var union; for (var _i = 0, union_1 = union; _i < union_1.length; _i++) { var v = union_1[_i]; diff --git a/tests/baselines/reference/ES5For-ofTypeCheck5.js b/tests/baselines/reference/ES5For-ofTypeCheck5.js index 143f3508758aa..8fbea3f4dd0ef 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck5.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck5.js @@ -5,6 +5,7 @@ var union: string | number[]; for (var v of union) { } //// [ES5For-ofTypeCheck5.js] +"use strict"; var union; for (var _i = 0, union_1 = union; _i < union_1.length; _i++) { var v = union_1[_i]; diff --git a/tests/baselines/reference/ES5For-ofTypeCheck6.js b/tests/baselines/reference/ES5For-ofTypeCheck6.js index 0a7fbd19a15c5..2d5c3545e031e 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck6.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck6.js @@ -5,6 +5,7 @@ var union: string[] | number[]; for (var v of union) { } //// [ES5For-ofTypeCheck6.js] +"use strict"; var union; for (var _i = 0, union_1 = union; _i < union_1.length; _i++) { var v = union_1[_i]; diff --git a/tests/baselines/reference/ES5For-ofTypeCheck7.js b/tests/baselines/reference/ES5For-ofTypeCheck7.js index 517422a33ab57..3cb3ec98d4b96 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck7.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck7.js @@ -5,6 +5,7 @@ declare var union: string | number; for (var v of union) { } //// [ES5For-ofTypeCheck7.js] +"use strict"; for (var _i = 0, union_1 = union; _i < union_1.length; _i++) { var v = union_1[_i]; } diff --git a/tests/baselines/reference/ES5For-ofTypeCheck8.js b/tests/baselines/reference/ES5For-ofTypeCheck8.js index 04d929fbcb014..4347c8a710b4f 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck8.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck8.js @@ -6,6 +6,7 @@ var v: symbol; for (v of union) { } //// [ES5For-ofTypeCheck8.js] +"use strict"; var v; for (var _i = 0, union_1 = union; _i < union_1.length; _i++) { v = union_1[_i]; diff --git a/tests/baselines/reference/ES5For-ofTypeCheck9.js b/tests/baselines/reference/ES5For-ofTypeCheck9.js index fc66bb2967db7..815ee3645bf1a 100644 --- a/tests/baselines/reference/ES5For-ofTypeCheck9.js +++ b/tests/baselines/reference/ES5For-ofTypeCheck9.js @@ -5,6 +5,7 @@ declare var union: string | string[] | number | symbol; for (let v of union) { } //// [ES5For-ofTypeCheck9.js] +"use strict"; for (var _i = 0, union_1 = union; _i < union_1.length; _i++) { var v = union_1[_i]; } diff --git a/tests/baselines/reference/ES5SymbolProperty1.js b/tests/baselines/reference/ES5SymbolProperty1.js index 6e0979c35a64d..591288ab68f48 100644 --- a/tests/baselines/reference/ES5SymbolProperty1.js +++ b/tests/baselines/reference/ES5SymbolProperty1.js @@ -13,6 +13,7 @@ var obj = { obj[Symbol.foo]; //// [ES5SymbolProperty1.js] +"use strict"; var _a; var Symbol; var obj = (_a = {}, diff --git a/tests/baselines/reference/ES5SymbolProperty2.js b/tests/baselines/reference/ES5SymbolProperty2.js index 2bb2480bd32ef..6cf2d9889afd4 100644 --- a/tests/baselines/reference/ES5SymbolProperty2.js +++ b/tests/baselines/reference/ES5SymbolProperty2.js @@ -13,6 +13,7 @@ namespace M { (new M.C)[Symbol.iterator]; //// [ES5SymbolProperty2.js] +"use strict"; var M; (function (M) { var Symbol; diff --git a/tests/baselines/reference/ES5SymbolProperty3.js b/tests/baselines/reference/ES5SymbolProperty3.js index 1f8e9732f5ac4..22a188366d832 100644 --- a/tests/baselines/reference/ES5SymbolProperty3.js +++ b/tests/baselines/reference/ES5SymbolProperty3.js @@ -10,6 +10,7 @@ class C { (new C)[Symbol.iterator] //// [ES5SymbolProperty3.js] +"use strict"; var Symbol; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/ES5SymbolProperty4.js b/tests/baselines/reference/ES5SymbolProperty4.js index d772f7c2364cb..c786996c2b019 100644 --- a/tests/baselines/reference/ES5SymbolProperty4.js +++ b/tests/baselines/reference/ES5SymbolProperty4.js @@ -10,6 +10,7 @@ class C { (new C)[Symbol.iterator] //// [ES5SymbolProperty4.js] +"use strict"; var Symbol; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/ES5SymbolProperty5.js b/tests/baselines/reference/ES5SymbolProperty5.js index 45ff6b9e56199..41f98c9619e45 100644 --- a/tests/baselines/reference/ES5SymbolProperty5.js +++ b/tests/baselines/reference/ES5SymbolProperty5.js @@ -10,6 +10,7 @@ class C { (new C)[Symbol.iterator](0) // Should error //// [ES5SymbolProperty5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/ES5SymbolProperty6.js b/tests/baselines/reference/ES5SymbolProperty6.js index d167efaa059f2..a1a4e3103cb63 100644 --- a/tests/baselines/reference/ES5SymbolProperty6.js +++ b/tests/baselines/reference/ES5SymbolProperty6.js @@ -8,6 +8,7 @@ class C { (new C)[Symbol.iterator] //// [ES5SymbolProperty6.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/ES5SymbolProperty7.js b/tests/baselines/reference/ES5SymbolProperty7.js index 4921c9eeb1af6..27759951b27df 100644 --- a/tests/baselines/reference/ES5SymbolProperty7.js +++ b/tests/baselines/reference/ES5SymbolProperty7.js @@ -10,6 +10,7 @@ class C { (new C)[Symbol.iterator] //// [ES5SymbolProperty7.js] +"use strict"; var Symbol; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/ES5SymbolType1.js b/tests/baselines/reference/ES5SymbolType1.js index 0709bb89a8d27..b711bee62aea3 100644 --- a/tests/baselines/reference/ES5SymbolType1.js +++ b/tests/baselines/reference/ES5SymbolType1.js @@ -5,5 +5,6 @@ var s: symbol; s.toString(); //// [ES5SymbolType1.js] +"use strict"; var s; s.toString(); diff --git a/tests/baselines/reference/ES5for-of32.js b/tests/baselines/reference/ES5for-of32.js index 044002ebe8ccd..05abaa16aa56c 100644 --- a/tests/baselines/reference/ES5for-of32.js +++ b/tests/baselines/reference/ES5for-of32.js @@ -13,6 +13,7 @@ for (let num of array) { } //// [ES5for-of32.js] +"use strict"; var array = [1, 2, 3]; var sum = 0; for (var _i = 0, array_1 = array; _i < array_1.length; _i++) { diff --git a/tests/baselines/reference/EnumAndModuleWithSameNameAndCommonRoot.js b/tests/baselines/reference/EnumAndModuleWithSameNameAndCommonRoot.js index 60db514328ab2..ce140a64dc2e1 100644 --- a/tests/baselines/reference/EnumAndModuleWithSameNameAndCommonRoot.js +++ b/tests/baselines/reference/EnumAndModuleWithSameNameAndCommonRoot.js @@ -19,6 +19,7 @@ var y: { x: number; y: number }; var y = new enumdule.Point(0, 0); //// [EnumAndModuleWithSameNameAndCommonRoot.js] +"use strict"; var enumdule; (function (enumdule) { enumdule[enumdule["Red"] = 0] = "Red"; diff --git a/tests/baselines/reference/ExportClassWhichExtendsInterfaceWithInaccessibleType.js b/tests/baselines/reference/ExportClassWhichExtendsInterfaceWithInaccessibleType.js index 5e55dc15be60a..4e7cd92663bcf 100644 --- a/tests/baselines/reference/ExportClassWhichExtendsInterfaceWithInaccessibleType.js +++ b/tests/baselines/reference/ExportClassWhichExtendsInterfaceWithInaccessibleType.js @@ -22,6 +22,7 @@ namespace A { //// [ExportClassWhichExtendsInterfaceWithInaccessibleType.js] +"use strict"; var A; (function (A) { var Point2d = /** @class */ (function () { diff --git a/tests/baselines/reference/ExportClassWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js b/tests/baselines/reference/ExportClassWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js index 450891120fd51..8a10be70863bc 100644 --- a/tests/baselines/reference/ExportClassWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js +++ b/tests/baselines/reference/ExportClassWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js @@ -23,6 +23,7 @@ namespace A { //// [ExportClassWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/ExportClassWithInaccessibleTypeInIndexerTypeAnnotations.js b/tests/baselines/reference/ExportClassWithInaccessibleTypeInIndexerTypeAnnotations.js index 9a2fcad55accc..cf0a9515137c0 100644 --- a/tests/baselines/reference/ExportClassWithInaccessibleTypeInIndexerTypeAnnotations.js +++ b/tests/baselines/reference/ExportClassWithInaccessibleTypeInIndexerTypeAnnotations.js @@ -18,6 +18,7 @@ namespace A { //// [ExportClassWithInaccessibleTypeInIndexerTypeAnnotations.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.js b/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.js index 6cbc55e50dbe3..e0a816d16d7d1 100644 --- a/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.js +++ b/tests/baselines/reference/ExportClassWithInaccessibleTypeInTypeParameterConstraint.js @@ -27,6 +27,7 @@ namespace A { //// [ExportClassWithInaccessibleTypeInTypeParameterConstraint.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/ExportFunctionWithAccessibleTypesInParameterAndReturnTypeAnnotation.js b/tests/baselines/reference/ExportFunctionWithAccessibleTypesInParameterAndReturnTypeAnnotation.js index ad6d2b8e60e7b..080cf4bb9931e 100644 --- a/tests/baselines/reference/ExportFunctionWithAccessibleTypesInParameterAndReturnTypeAnnotation.js +++ b/tests/baselines/reference/ExportFunctionWithAccessibleTypesInParameterAndReturnTypeAnnotation.js @@ -18,6 +18,7 @@ namespace A { } //// [ExportFunctionWithAccessibleTypesInParameterAndReturnTypeAnnotation.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInParameterTypeAnnotation.js b/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInParameterTypeAnnotation.js index f8fa7861814ab..2eb07746d980b 100644 --- a/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInParameterTypeAnnotation.js +++ b/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInParameterTypeAnnotation.js @@ -18,6 +18,7 @@ namespace A { } //// [ExportFunctionWithInaccessibleTypesInParameterTypeAnnotation.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInReturnTypeAnnotation.js b/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInReturnTypeAnnotation.js index d6489f6061f5f..da4de9e4af744 100644 --- a/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInReturnTypeAnnotation.js +++ b/tests/baselines/reference/ExportFunctionWithInaccessibleTypesInReturnTypeAnnotation.js @@ -18,6 +18,7 @@ namespace A { } //// [ExportFunctionWithInaccessibleTypesInReturnTypeAnnotation.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/ExportInterfaceWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js b/tests/baselines/reference/ExportInterfaceWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js index 10b640014b997..183a15cde2640 100644 --- a/tests/baselines/reference/ExportInterfaceWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js +++ b/tests/baselines/reference/ExportInterfaceWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js @@ -25,6 +25,7 @@ namespace A { //// [ExportInterfaceWithAccessibleTypesInTypeParameterConstraintsClassHeritageListMemberTypeAnnotations.js] +"use strict"; var A; (function (A) { A.Origin = { x: 0, y: 0 }; diff --git a/tests/baselines/reference/ExportInterfaceWithInaccessibleTypeInIndexerTypeAnnotations.js b/tests/baselines/reference/ExportInterfaceWithInaccessibleTypeInIndexerTypeAnnotations.js index 28905bae6926b..806a419d90ee6 100644 --- a/tests/baselines/reference/ExportInterfaceWithInaccessibleTypeInIndexerTypeAnnotations.js +++ b/tests/baselines/reference/ExportInterfaceWithInaccessibleTypeInIndexerTypeAnnotations.js @@ -18,3 +18,4 @@ namespace A { //// [ExportInterfaceWithInaccessibleTypeInIndexerTypeAnnotations.js] +"use strict"; diff --git a/tests/baselines/reference/ExportInterfaceWithInaccessibleTypeInTypeParameterConstraint.js b/tests/baselines/reference/ExportInterfaceWithInaccessibleTypeInTypeParameterConstraint.js index c2a40862fc35f..36c4e2f891502 100644 --- a/tests/baselines/reference/ExportInterfaceWithInaccessibleTypeInTypeParameterConstraint.js +++ b/tests/baselines/reference/ExportInterfaceWithInaccessibleTypeInTypeParameterConstraint.js @@ -26,6 +26,7 @@ namespace A { //// [ExportInterfaceWithInaccessibleTypeInTypeParameterConstraint.js] +"use strict"; var A; (function (A) { A.Origin = { x: 0, y: 0 }; diff --git a/tests/baselines/reference/ExportModuleWithAccessibleTypesOnItsExportedMembers.js b/tests/baselines/reference/ExportModuleWithAccessibleTypesOnItsExportedMembers.js index 9f493380db4c9..9b9790f94538d 100644 --- a/tests/baselines/reference/ExportModuleWithAccessibleTypesOnItsExportedMembers.js +++ b/tests/baselines/reference/ExportModuleWithAccessibleTypesOnItsExportedMembers.js @@ -23,6 +23,7 @@ namespace A { } //// [ExportModuleWithAccessibleTypesOnItsExportedMembers.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInMemberTypeAnnotations.js b/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInMemberTypeAnnotations.js index 6f31bca303164..01fb56430dd54 100644 --- a/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInMemberTypeAnnotations.js +++ b/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInMemberTypeAnnotations.js @@ -14,6 +14,7 @@ namespace A { //// [ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInMemberTypeAnnotations.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.js b/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.js index 1c4f77934b6a6..2f94b9963b242 100644 --- a/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.js +++ b/tests/baselines/reference/ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.js @@ -14,6 +14,7 @@ namespace A { } //// [ExportObjectLiteralAndObjectTypeLiteralWithAccessibleTypesInNestedMemberTypeAnnotations.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.js b/tests/baselines/reference/ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.js index 6a209583d3531..b457f3d4487ea 100644 --- a/tests/baselines/reference/ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.js +++ b/tests/baselines/reference/ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.js @@ -11,6 +11,7 @@ namespace A { } //// [ExportVariableOfGenericTypeWithInaccessibleTypeAsTypeArgument.js] +"use strict"; var A; (function (A) { var B = /** @class */ (function () { diff --git a/tests/baselines/reference/ExportVariableWithAccessibleTypeInTypeAnnotation.js b/tests/baselines/reference/ExportVariableWithAccessibleTypeInTypeAnnotation.js index d9d0454085ee7..fc25237f58c55 100644 --- a/tests/baselines/reference/ExportVariableWithAccessibleTypeInTypeAnnotation.js +++ b/tests/baselines/reference/ExportVariableWithAccessibleTypeInTypeAnnotation.js @@ -14,6 +14,7 @@ namespace A { //// [ExportVariableWithAccessibleTypeInTypeAnnotation.js] +"use strict"; var A; (function (A) { // valid since Point is exported diff --git a/tests/baselines/reference/ExportVariableWithInaccessibleTypeInTypeAnnotation.js b/tests/baselines/reference/ExportVariableWithInaccessibleTypeInTypeAnnotation.js index a7915c1caee7c..bae1576a1c4b2 100644 --- a/tests/baselines/reference/ExportVariableWithInaccessibleTypeInTypeAnnotation.js +++ b/tests/baselines/reference/ExportVariableWithInaccessibleTypeInTypeAnnotation.js @@ -21,6 +21,7 @@ namespace A { //// [ExportVariableWithInaccessibleTypeInTypeAnnotation.js] +"use strict"; var A; (function (A) { // valid since Point is exported diff --git a/tests/baselines/reference/FunctionAndModuleWithSameNameAndCommonRoot.js b/tests/baselines/reference/FunctionAndModuleWithSameNameAndCommonRoot.js index 28bb71b193794..df2e59dc97795 100644 --- a/tests/baselines/reference/FunctionAndModuleWithSameNameAndCommonRoot.js +++ b/tests/baselines/reference/FunctionAndModuleWithSameNameAndCommonRoot.js @@ -44,6 +44,7 @@ var cl = B.Point.Origin; //// [function.js] +"use strict"; var A; (function (A) { function Point() { @@ -52,6 +53,7 @@ var A; A.Point = Point; })(A || (A = {})); //// [module.js] +"use strict"; var A; (function (A) { var Point; @@ -60,12 +62,14 @@ var A; })(Point = A.Point || (A.Point = {})); })(A || (A = {})); //// [test.js] +"use strict"; var fn; var fn = A.Point; var cl; var cl = A.Point(); var cl = A.Point.Origin; // not expected to be an error. //// [simple.js] +"use strict"; var B; (function (B) { function Point() { diff --git a/tests/baselines/reference/FunctionAndModuleWithSameNameAndDifferentCommonRoot.js b/tests/baselines/reference/FunctionAndModuleWithSameNameAndDifferentCommonRoot.js index 15d86e1c7325e..ee863b8af5ac5 100644 --- a/tests/baselines/reference/FunctionAndModuleWithSameNameAndDifferentCommonRoot.js +++ b/tests/baselines/reference/FunctionAndModuleWithSameNameAndDifferentCommonRoot.js @@ -23,6 +23,7 @@ var cl = B.Point.Origin; //// [function.js] +"use strict"; var A; (function (A) { function Point() { @@ -31,6 +32,7 @@ var A; A.Point = Point; })(A || (A = {})); //// [module.js] +"use strict"; var B; (function (B) { var Point; @@ -39,6 +41,7 @@ var B; })(Point = B.Point || (B.Point = {})); })(B || (B = {})); //// [test.js] +"use strict"; var fn; var fn = A.Point; var cl; diff --git a/tests/baselines/reference/FunctionDeclaration10_es6.js b/tests/baselines/reference/FunctionDeclaration10_es6.js index 4f7af9e24be2f..105fd29af269f 100644 --- a/tests/baselines/reference/FunctionDeclaration10_es6.js +++ b/tests/baselines/reference/FunctionDeclaration10_es6.js @@ -5,5 +5,6 @@ function * foo(a = yield => yield) { } //// [FunctionDeclaration10_es6.js] +"use strict"; function* foo(a = yield, yield) { } diff --git a/tests/baselines/reference/FunctionDeclaration11_es6.errors.txt b/tests/baselines/reference/FunctionDeclaration11_es6.errors.txt new file mode 100644 index 0000000000000..ed6c795761e21 --- /dev/null +++ b/tests/baselines/reference/FunctionDeclaration11_es6.errors.txt @@ -0,0 +1,8 @@ +FunctionDeclaration11_es6.ts(1,12): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + + +==== FunctionDeclaration11_es6.ts (1 errors) ==== + function * yield() { + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclaration11_es6.js b/tests/baselines/reference/FunctionDeclaration11_es6.js index 36436e5679ee4..02708e78849a4 100644 --- a/tests/baselines/reference/FunctionDeclaration11_es6.js +++ b/tests/baselines/reference/FunctionDeclaration11_es6.js @@ -5,5 +5,6 @@ function * yield() { } //// [FunctionDeclaration11_es6.js] +"use strict"; function* yield() { } diff --git a/tests/baselines/reference/FunctionDeclaration12_es6.errors.txt b/tests/baselines/reference/FunctionDeclaration12_es6.errors.txt index acdc5c9b2f32d..432b3035193ce 100644 --- a/tests/baselines/reference/FunctionDeclaration12_es6.errors.txt +++ b/tests/baselines/reference/FunctionDeclaration12_es6.errors.txt @@ -1,7 +1,7 @@ -FunctionDeclaration12_es6.ts(1,20): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +FunctionDeclaration12_es6.ts(1,20): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. ==== FunctionDeclaration12_es6.ts (1 errors) ==== var v = function * yield() { } ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. \ No newline at end of file +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclaration12_es6.js b/tests/baselines/reference/FunctionDeclaration12_es6.js index 77f783aa26e85..6df28237886a4 100644 --- a/tests/baselines/reference/FunctionDeclaration12_es6.js +++ b/tests/baselines/reference/FunctionDeclaration12_es6.js @@ -4,4 +4,5 @@ var v = function * yield() { } //// [FunctionDeclaration12_es6.js] +"use strict"; var v = function* yield() { }; diff --git a/tests/baselines/reference/FunctionDeclaration13_es6.errors.txt b/tests/baselines/reference/FunctionDeclaration13_es6.errors.txt index ba913e897b998..a828d0def89e6 100644 --- a/tests/baselines/reference/FunctionDeclaration13_es6.errors.txt +++ b/tests/baselines/reference/FunctionDeclaration13_es6.errors.txt @@ -1,11 +1,14 @@ +FunctionDeclaration13_es6.ts(3,11): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. FunctionDeclaration13_es6.ts(3,11): error TS2304: Cannot find name 'yield'. -==== FunctionDeclaration13_es6.ts (1 errors) ==== +==== FunctionDeclaration13_es6.ts (2 errors) ==== function * foo() { // Legal to use 'yield' in a type context. var v: yield; ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + ~~~~~ !!! error TS2304: Cannot find name 'yield'. } \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclaration13_es6.js b/tests/baselines/reference/FunctionDeclaration13_es6.js index 1495b2c78c90f..f7e236180e65b 100644 --- a/tests/baselines/reference/FunctionDeclaration13_es6.js +++ b/tests/baselines/reference/FunctionDeclaration13_es6.js @@ -8,6 +8,7 @@ function * foo() { //// [FunctionDeclaration13_es6.js] +"use strict"; function* foo() { // Legal to use 'yield' in a type context. var v; diff --git a/tests/baselines/reference/FunctionDeclaration1_es6.js b/tests/baselines/reference/FunctionDeclaration1_es6.js index ebe562345226f..97cec2ded8b3c 100644 --- a/tests/baselines/reference/FunctionDeclaration1_es6.js +++ b/tests/baselines/reference/FunctionDeclaration1_es6.js @@ -5,5 +5,6 @@ function * foo() { } //// [FunctionDeclaration1_es6.js] +"use strict"; function* foo() { } diff --git a/tests/baselines/reference/FunctionDeclaration2_es6.errors.txt b/tests/baselines/reference/FunctionDeclaration2_es6.errors.txt new file mode 100644 index 0000000000000..ed45ffd2e325f --- /dev/null +++ b/tests/baselines/reference/FunctionDeclaration2_es6.errors.txt @@ -0,0 +1,8 @@ +FunctionDeclaration2_es6.ts(1,12): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + + +==== FunctionDeclaration2_es6.ts (1 errors) ==== + function f(yield) { + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclaration2_es6.js b/tests/baselines/reference/FunctionDeclaration2_es6.js index b162aa7fe4560..08c7ab1554d55 100644 --- a/tests/baselines/reference/FunctionDeclaration2_es6.js +++ b/tests/baselines/reference/FunctionDeclaration2_es6.js @@ -5,5 +5,6 @@ function f(yield) { } //// [FunctionDeclaration2_es6.js] +"use strict"; function f(yield) { } diff --git a/tests/baselines/reference/FunctionDeclaration2_es6.types b/tests/baselines/reference/FunctionDeclaration2_es6.types index eb85c4124006f..ab3967a8e9039 100644 --- a/tests/baselines/reference/FunctionDeclaration2_es6.types +++ b/tests/baselines/reference/FunctionDeclaration2_es6.types @@ -5,4 +5,5 @@ function f(yield) { >f : (yield: any) => void > : ^ ^^^^^^^^^^^^^^ >yield : any +> : ^^^ } diff --git a/tests/baselines/reference/FunctionDeclaration3.js b/tests/baselines/reference/FunctionDeclaration3.js index 9e1cea2afc497..ae6d41579e0f9 100644 --- a/tests/baselines/reference/FunctionDeclaration3.js +++ b/tests/baselines/reference/FunctionDeclaration3.js @@ -4,3 +4,4 @@ function foo(); //// [FunctionDeclaration3.js] +"use strict"; diff --git a/tests/baselines/reference/FunctionDeclaration3_es6.errors.txt b/tests/baselines/reference/FunctionDeclaration3_es6.errors.txt index 131c54c9f1e20..4876db4fa8053 100644 --- a/tests/baselines/reference/FunctionDeclaration3_es6.errors.txt +++ b/tests/baselines/reference/FunctionDeclaration3_es6.errors.txt @@ -1,8 +1,14 @@ +FunctionDeclaration3_es6.ts(1,12): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +FunctionDeclaration3_es6.ts(1,20): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. FunctionDeclaration3_es6.ts(1,20): error TS2372: Parameter 'yield' cannot reference itself. -==== FunctionDeclaration3_es6.ts (1 errors) ==== +==== FunctionDeclaration3_es6.ts (3 errors) ==== function f(yield = yield) { + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. ~~~~~ !!! error TS2372: Parameter 'yield' cannot reference itself. } \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclaration3_es6.js b/tests/baselines/reference/FunctionDeclaration3_es6.js index 86a0765043c8e..f25c35f2c602f 100644 --- a/tests/baselines/reference/FunctionDeclaration3_es6.js +++ b/tests/baselines/reference/FunctionDeclaration3_es6.js @@ -5,5 +5,6 @@ function f(yield = yield) { } //// [FunctionDeclaration3_es6.js] +"use strict"; function f(yield = yield) { } diff --git a/tests/baselines/reference/FunctionDeclaration4.js b/tests/baselines/reference/FunctionDeclaration4.js index eee614c6e026c..48cb943275dd3 100644 --- a/tests/baselines/reference/FunctionDeclaration4.js +++ b/tests/baselines/reference/FunctionDeclaration4.js @@ -5,4 +5,5 @@ function foo(); function bar() { } //// [FunctionDeclaration4.js] +"use strict"; function bar() { } diff --git a/tests/baselines/reference/FunctionDeclaration4_es6.errors.txt b/tests/baselines/reference/FunctionDeclaration4_es6.errors.txt new file mode 100644 index 0000000000000..30e994926cbc5 --- /dev/null +++ b/tests/baselines/reference/FunctionDeclaration4_es6.errors.txt @@ -0,0 +1,8 @@ +FunctionDeclaration4_es6.ts(1,10): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + + +==== FunctionDeclaration4_es6.ts (1 errors) ==== + function yield() { + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclaration4_es6.js b/tests/baselines/reference/FunctionDeclaration4_es6.js index 7420537b63bc0..b97fac6da51bd 100644 --- a/tests/baselines/reference/FunctionDeclaration4_es6.js +++ b/tests/baselines/reference/FunctionDeclaration4_es6.js @@ -5,5 +5,6 @@ function yield() { } //// [FunctionDeclaration4_es6.js] +"use strict"; function yield() { } diff --git a/tests/baselines/reference/FunctionDeclaration5_es6.errors.txt b/tests/baselines/reference/FunctionDeclaration5_es6.errors.txt index f3aeba6c9c1ee..80454ec161941 100644 --- a/tests/baselines/reference/FunctionDeclaration5_es6.errors.txt +++ b/tests/baselines/reference/FunctionDeclaration5_es6.errors.txt @@ -1,8 +1,8 @@ -FunctionDeclaration5_es6.ts(1,14): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +FunctionDeclaration5_es6.ts(1,14): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. ==== FunctionDeclaration5_es6.ts (1 errors) ==== function*foo(yield) { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclaration5_es6.js b/tests/baselines/reference/FunctionDeclaration5_es6.js index 059ed261bb656..b1f00cd058bd5 100644 --- a/tests/baselines/reference/FunctionDeclaration5_es6.js +++ b/tests/baselines/reference/FunctionDeclaration5_es6.js @@ -5,5 +5,6 @@ function*foo(yield) { } //// [FunctionDeclaration5_es6.js] +"use strict"; function* foo(yield) { } diff --git a/tests/baselines/reference/FunctionDeclaration6.errors.txt b/tests/baselines/reference/FunctionDeclaration6.errors.txt index 11495f5d341e5..cf45b1af20afc 100644 --- a/tests/baselines/reference/FunctionDeclaration6.errors.txt +++ b/tests/baselines/reference/FunctionDeclaration6.errors.txt @@ -1,10 +1,16 @@ +FunctionDeclaration6.ts(2,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. +FunctionDeclaration6.ts(3,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. FunctionDeclaration6.ts(3,14): error TS2389: Function implementation name must be 'foo'. -==== FunctionDeclaration6.ts (1 errors) ==== +==== FunctionDeclaration6.ts (3 errors) ==== { function foo(); + ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. function bar() { } ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + ~~~ !!! error TS2389: Function implementation name must be 'foo'. } \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclaration6.js b/tests/baselines/reference/FunctionDeclaration6.js index 2e00f2e143514..08f2ab2b2b5c9 100644 --- a/tests/baselines/reference/FunctionDeclaration6.js +++ b/tests/baselines/reference/FunctionDeclaration6.js @@ -7,6 +7,7 @@ } //// [FunctionDeclaration6.js] +"use strict"; { function bar() { } } diff --git a/tests/baselines/reference/FunctionDeclaration6_es6.js b/tests/baselines/reference/FunctionDeclaration6_es6.js index d0ca5adb8a77e..a141cde54ada2 100644 --- a/tests/baselines/reference/FunctionDeclaration6_es6.js +++ b/tests/baselines/reference/FunctionDeclaration6_es6.js @@ -5,5 +5,6 @@ function*foo(a = yield) { } //// [FunctionDeclaration6_es6.js] +"use strict"; function* foo(a = yield) { } diff --git a/tests/baselines/reference/FunctionDeclaration7.js b/tests/baselines/reference/FunctionDeclaration7.js index 4990bf8f4bd9e..1d843d540b4f1 100644 --- a/tests/baselines/reference/FunctionDeclaration7.js +++ b/tests/baselines/reference/FunctionDeclaration7.js @@ -6,6 +6,7 @@ namespace M { } //// [FunctionDeclaration7.js] +"use strict"; var M; (function (M) { })(M || (M = {})); diff --git a/tests/baselines/reference/FunctionDeclaration7_es6.js b/tests/baselines/reference/FunctionDeclaration7_es6.js index b63493f860961..08f56b21f59cf 100644 --- a/tests/baselines/reference/FunctionDeclaration7_es6.js +++ b/tests/baselines/reference/FunctionDeclaration7_es6.js @@ -8,6 +8,7 @@ function*bar() { } //// [FunctionDeclaration7_es6.js] +"use strict"; function* bar() { // 'yield' here is an identifier, and not a yield expression. function* foo(a = yield) { diff --git a/tests/baselines/reference/FunctionDeclaration8_es6.errors.txt b/tests/baselines/reference/FunctionDeclaration8_es6.errors.txt index d649f8ef8b34b..972a640900c1b 100644 --- a/tests/baselines/reference/FunctionDeclaration8_es6.errors.txt +++ b/tests/baselines/reference/FunctionDeclaration8_es6.errors.txt @@ -1,10 +1,13 @@ +FunctionDeclaration8_es6.ts(1,12): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. FunctionDeclaration8_es6.ts(1,12): error TS2304: Cannot find name 'yield'. FunctionDeclaration8_es6.ts(1,20): error TS2304: Cannot find name 'foo'. -==== FunctionDeclaration8_es6.ts (2 errors) ==== +==== FunctionDeclaration8_es6.ts (3 errors) ==== var v = { [yield]: foo } ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + ~~~~~ !!! error TS2304: Cannot find name 'yield'. ~~~ !!! error TS2304: Cannot find name 'foo'. \ No newline at end of file diff --git a/tests/baselines/reference/FunctionDeclaration8_es6.js b/tests/baselines/reference/FunctionDeclaration8_es6.js index 99453bca92a8a..3fa05780c4e1d 100644 --- a/tests/baselines/reference/FunctionDeclaration8_es6.js +++ b/tests/baselines/reference/FunctionDeclaration8_es6.js @@ -4,5 +4,6 @@ var v = { [yield]: foo } //// [FunctionDeclaration8_es6.js] +"use strict"; var _a; var v = (_a = {}, _a[yield] = foo, _a); diff --git a/tests/baselines/reference/FunctionDeclaration9_es6.js b/tests/baselines/reference/FunctionDeclaration9_es6.js index bab288e53236b..0c221af3078f6 100644 --- a/tests/baselines/reference/FunctionDeclaration9_es6.js +++ b/tests/baselines/reference/FunctionDeclaration9_es6.js @@ -6,6 +6,7 @@ function * foo() { } //// [FunctionDeclaration9_es6.js] +"use strict"; function* foo() { var v = { [yield]: foo }; } diff --git a/tests/baselines/reference/FunctionExpression1_es6.js b/tests/baselines/reference/FunctionExpression1_es6.js index 8455084b0cdf1..e3b48f0129ffe 100644 --- a/tests/baselines/reference/FunctionExpression1_es6.js +++ b/tests/baselines/reference/FunctionExpression1_es6.js @@ -4,4 +4,5 @@ var v = function * () { } //// [FunctionExpression1_es6.js] +"use strict"; var v = function* () { }; diff --git a/tests/baselines/reference/FunctionExpression2_es6.js b/tests/baselines/reference/FunctionExpression2_es6.js index da565d4830f72..0b2940f1eae50 100644 --- a/tests/baselines/reference/FunctionExpression2_es6.js +++ b/tests/baselines/reference/FunctionExpression2_es6.js @@ -4,4 +4,5 @@ var v = function * foo() { } //// [FunctionExpression2_es6.js] +"use strict"; var v = function* foo() { }; diff --git a/tests/baselines/reference/FunctionPropertyAssignments1_es6.js b/tests/baselines/reference/FunctionPropertyAssignments1_es6.js index f9014eded106e..ab1387d057815 100644 --- a/tests/baselines/reference/FunctionPropertyAssignments1_es6.js +++ b/tests/baselines/reference/FunctionPropertyAssignments1_es6.js @@ -4,4 +4,5 @@ var v = { *foo() { } } //// [FunctionPropertyAssignments1_es6.js] +"use strict"; var v = { *foo() { } }; diff --git a/tests/baselines/reference/FunctionPropertyAssignments2_es6.js b/tests/baselines/reference/FunctionPropertyAssignments2_es6.js index 149426d1afa8b..f0551b23667db 100644 --- a/tests/baselines/reference/FunctionPropertyAssignments2_es6.js +++ b/tests/baselines/reference/FunctionPropertyAssignments2_es6.js @@ -4,4 +4,5 @@ var v = { *() { } } //// [FunctionPropertyAssignments2_es6.js] +"use strict"; var v = { *() { } }; diff --git a/tests/baselines/reference/FunctionPropertyAssignments3_es6.js b/tests/baselines/reference/FunctionPropertyAssignments3_es6.js index 3676eeb18cc79..603bba4652553 100644 --- a/tests/baselines/reference/FunctionPropertyAssignments3_es6.js +++ b/tests/baselines/reference/FunctionPropertyAssignments3_es6.js @@ -4,4 +4,5 @@ var v = { *{ } } //// [FunctionPropertyAssignments3_es6.js] +"use strict"; var v = { *() { } }; diff --git a/tests/baselines/reference/FunctionPropertyAssignments4_es6.js b/tests/baselines/reference/FunctionPropertyAssignments4_es6.js index 70c4938f04acc..39ee92a217d1b 100644 --- a/tests/baselines/reference/FunctionPropertyAssignments4_es6.js +++ b/tests/baselines/reference/FunctionPropertyAssignments4_es6.js @@ -4,4 +4,5 @@ var v = { * } //// [FunctionPropertyAssignments4_es6.js] +"use strict"; var v = {}; diff --git a/tests/baselines/reference/FunctionPropertyAssignments5_es6.js b/tests/baselines/reference/FunctionPropertyAssignments5_es6.js index f48e1593bcf24..516aebe59e95f 100644 --- a/tests/baselines/reference/FunctionPropertyAssignments5_es6.js +++ b/tests/baselines/reference/FunctionPropertyAssignments5_es6.js @@ -4,4 +4,5 @@ var v = { *[foo()]() { } } //// [FunctionPropertyAssignments5_es6.js] +"use strict"; var v = { *[foo()]() { } }; diff --git a/tests/baselines/reference/FunctionPropertyAssignments6_es6.js b/tests/baselines/reference/FunctionPropertyAssignments6_es6.js index 205bf9cf4979f..39396780cc24a 100644 --- a/tests/baselines/reference/FunctionPropertyAssignments6_es6.js +++ b/tests/baselines/reference/FunctionPropertyAssignments6_es6.js @@ -4,4 +4,5 @@ var v = { *() { } } //// [FunctionPropertyAssignments6_es6.js] +"use strict"; var v = { *() { } }; diff --git a/tests/baselines/reference/InterfaceDeclaration8.js b/tests/baselines/reference/InterfaceDeclaration8.js index 629c1e6e1a551..22e1936e67355 100644 --- a/tests/baselines/reference/InterfaceDeclaration8.js +++ b/tests/baselines/reference/InterfaceDeclaration8.js @@ -5,3 +5,4 @@ interface string { } //// [InterfaceDeclaration8.js] +"use strict"; diff --git a/tests/baselines/reference/InvalidNonInstantiatedModule.js b/tests/baselines/reference/InvalidNonInstantiatedModule.js index 5b585a42fb304..dc404bc0cf651 100644 --- a/tests/baselines/reference/InvalidNonInstantiatedModule.js +++ b/tests/baselines/reference/InvalidNonInstantiatedModule.js @@ -11,5 +11,6 @@ var x: typeof M; // Error only a namespace //// [InvalidNonInstantiatedModule.js] +"use strict"; var m = M; // Error, not instantiated can not be used as var var x; // Error only a namespace diff --git a/tests/baselines/reference/MemberAccessorDeclaration15.js b/tests/baselines/reference/MemberAccessorDeclaration15.js index 4d3b763e8e3bb..befea160bf448 100644 --- a/tests/baselines/reference/MemberAccessorDeclaration15.js +++ b/tests/baselines/reference/MemberAccessorDeclaration15.js @@ -6,6 +6,7 @@ class C { } //// [MemberAccessorDeclaration15.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/MemberFunctionDeclaration1_es6.js b/tests/baselines/reference/MemberFunctionDeclaration1_es6.js index 049b3149ed0df..27cb770126adf 100644 --- a/tests/baselines/reference/MemberFunctionDeclaration1_es6.js +++ b/tests/baselines/reference/MemberFunctionDeclaration1_es6.js @@ -6,6 +6,7 @@ class C { } //// [MemberFunctionDeclaration1_es6.js] +"use strict"; class C { *foo() { } } diff --git a/tests/baselines/reference/MemberFunctionDeclaration2_es6.js b/tests/baselines/reference/MemberFunctionDeclaration2_es6.js index cdae46df370f0..4d4a4cebffb33 100644 --- a/tests/baselines/reference/MemberFunctionDeclaration2_es6.js +++ b/tests/baselines/reference/MemberFunctionDeclaration2_es6.js @@ -6,6 +6,7 @@ class C { } //// [MemberFunctionDeclaration2_es6.js] +"use strict"; class C { *foo() { } } diff --git a/tests/baselines/reference/MemberFunctionDeclaration3_es6.js b/tests/baselines/reference/MemberFunctionDeclaration3_es6.js index 5a1db01dafabe..581a8308f674d 100644 --- a/tests/baselines/reference/MemberFunctionDeclaration3_es6.js +++ b/tests/baselines/reference/MemberFunctionDeclaration3_es6.js @@ -6,6 +6,7 @@ class C { } //// [MemberFunctionDeclaration3_es6.js] +"use strict"; class C { *[foo]() { } } diff --git a/tests/baselines/reference/MemberFunctionDeclaration4_es6.js b/tests/baselines/reference/MemberFunctionDeclaration4_es6.js index dc0f55f23bdaa..2d03bb47f5a2f 100644 --- a/tests/baselines/reference/MemberFunctionDeclaration4_es6.js +++ b/tests/baselines/reference/MemberFunctionDeclaration4_es6.js @@ -6,6 +6,7 @@ class C { } //// [MemberFunctionDeclaration4_es6.js] +"use strict"; class C { *() { } } diff --git a/tests/baselines/reference/MemberFunctionDeclaration5_es6.js b/tests/baselines/reference/MemberFunctionDeclaration5_es6.js index 02b6b91d103d4..9ac8f859ac92e 100644 --- a/tests/baselines/reference/MemberFunctionDeclaration5_es6.js +++ b/tests/baselines/reference/MemberFunctionDeclaration5_es6.js @@ -6,5 +6,6 @@ class C { } //// [MemberFunctionDeclaration5_es6.js] +"use strict"; class C { } diff --git a/tests/baselines/reference/MemberFunctionDeclaration6_es6.js b/tests/baselines/reference/MemberFunctionDeclaration6_es6.js index 9338d7d0e32f3..1df6e08498b65 100644 --- a/tests/baselines/reference/MemberFunctionDeclaration6_es6.js +++ b/tests/baselines/reference/MemberFunctionDeclaration6_es6.js @@ -6,5 +6,6 @@ class C { } //// [MemberFunctionDeclaration6_es6.js] +"use strict"; class C { } diff --git a/tests/baselines/reference/MemberFunctionDeclaration7_es6.js b/tests/baselines/reference/MemberFunctionDeclaration7_es6.js index d2b76e729f17e..96d3a0dc26c04 100644 --- a/tests/baselines/reference/MemberFunctionDeclaration7_es6.js +++ b/tests/baselines/reference/MemberFunctionDeclaration7_es6.js @@ -6,6 +6,7 @@ class C { } //// [MemberFunctionDeclaration7_es6.js] +"use strict"; class C { *foo() { } } diff --git a/tests/baselines/reference/MemberFunctionDeclaration8_es6.js b/tests/baselines/reference/MemberFunctionDeclaration8_es6.js index 00043612d6321..0fe905b010bc1 100644 --- a/tests/baselines/reference/MemberFunctionDeclaration8_es6.js +++ b/tests/baselines/reference/MemberFunctionDeclaration8_es6.js @@ -10,6 +10,7 @@ class C { } //// [MemberFunctionDeclaration8_es6.js] +"use strict"; class C { foo() { // Make sure we don't think of *bar as the start of a generator method. diff --git a/tests/baselines/reference/ModuleAndClassWithSameNameAndCommonRoot.js b/tests/baselines/reference/ModuleAndClassWithSameNameAndCommonRoot.js index 170371d4cba1a..3024ed67afa22 100644 --- a/tests/baselines/reference/ModuleAndClassWithSameNameAndCommonRoot.js +++ b/tests/baselines/reference/ModuleAndClassWithSameNameAndCommonRoot.js @@ -32,6 +32,7 @@ class A { //// [module.js] +"use strict"; var X; (function (X) { var Y; @@ -43,6 +44,7 @@ var X; })(Y = X.Y || (X.Y = {})); })(X || (X = {})); //// [classPoint.js] +"use strict"; var X; (function (X) { var Y; @@ -59,6 +61,7 @@ var X; })(Y = X.Y || (X.Y = {})); })(X || (X = {})); //// [simple.js] +"use strict"; var A; (function (A) { A.Instance = new A(); diff --git a/tests/baselines/reference/ModuleAndEnumWithSameNameAndCommonRoot.js b/tests/baselines/reference/ModuleAndEnumWithSameNameAndCommonRoot.js index e9f9583ff3fec..034c1020e0506 100644 --- a/tests/baselines/reference/ModuleAndEnumWithSameNameAndCommonRoot.js +++ b/tests/baselines/reference/ModuleAndEnumWithSameNameAndCommonRoot.js @@ -19,6 +19,7 @@ var y: { x: number; y: number }; var y = new enumdule.Point(0, 0); //// [ModuleAndEnumWithSameNameAndCommonRoot.js] +"use strict"; var enumdule; (function (enumdule) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/ModuleAndFunctionWithSameNameAndCommonRoot.js b/tests/baselines/reference/ModuleAndFunctionWithSameNameAndCommonRoot.js index b4441249deafd..1ec54a46ee15b 100644 --- a/tests/baselines/reference/ModuleAndFunctionWithSameNameAndCommonRoot.js +++ b/tests/baselines/reference/ModuleAndFunctionWithSameNameAndCommonRoot.js @@ -30,6 +30,7 @@ namespace B { //// [module.js] +"use strict"; var A; (function (A) { var Point; @@ -38,6 +39,7 @@ var A; })(Point = A.Point || (A.Point = {})); })(A || (A = {})); //// [function.js] +"use strict"; var A; (function (A) { // duplicate identifier error @@ -47,6 +49,7 @@ var A; A.Point = Point; })(A || (A = {})); //// [simple.js] +"use strict"; var B; (function (B) { var Point; diff --git a/tests/baselines/reference/ModuleWithExportedAndNonExportedClasses.js b/tests/baselines/reference/ModuleWithExportedAndNonExportedClasses.js index d9b0c2039686c..00d5041d79369 100644 --- a/tests/baselines/reference/ModuleWithExportedAndNonExportedClasses.js +++ b/tests/baselines/reference/ModuleWithExportedAndNonExportedClasses.js @@ -36,6 +36,7 @@ var ag2 = new A.A2(); //// [ModuleWithExportedAndNonExportedClasses.js] +"use strict"; var A; (function (A_1) { var A = /** @class */ (function () { diff --git a/tests/baselines/reference/ModuleWithExportedAndNonExportedEnums.js b/tests/baselines/reference/ModuleWithExportedAndNonExportedEnums.js index 2cdf02f5f97de..3249a1829e015 100644 --- a/tests/baselines/reference/ModuleWithExportedAndNonExportedEnums.js +++ b/tests/baselines/reference/ModuleWithExportedAndNonExportedEnums.js @@ -14,6 +14,7 @@ var b = A.Day.Monday; //// [ModuleWithExportedAndNonExportedEnums.js] +"use strict"; var A; (function (A) { var Color; diff --git a/tests/baselines/reference/ModuleWithExportedAndNonExportedFunctions.js b/tests/baselines/reference/ModuleWithExportedAndNonExportedFunctions.js index f052fe9bc91cf..40bcf5a2ccf82 100644 --- a/tests/baselines/reference/ModuleWithExportedAndNonExportedFunctions.js +++ b/tests/baselines/reference/ModuleWithExportedAndNonExportedFunctions.js @@ -32,6 +32,7 @@ var fn2 = A.fn2; var fng2 = A.fng2; //// [ModuleWithExportedAndNonExportedFunctions.js] +"use strict"; var A; (function (A) { function fn(s) { diff --git a/tests/baselines/reference/ModuleWithExportedAndNonExportedImportAlias.js b/tests/baselines/reference/ModuleWithExportedAndNonExportedImportAlias.js index c666185e82bf9..06d2cc78c1332 100644 --- a/tests/baselines/reference/ModuleWithExportedAndNonExportedImportAlias.js +++ b/tests/baselines/reference/ModuleWithExportedAndNonExportedImportAlias.js @@ -42,6 +42,7 @@ var line = Geometry.Lines.Line; //// [ModuleWithExportedAndNonExportedImportAlias.js] +"use strict"; var B; (function (B) { var Line = /** @class */ (function () { diff --git a/tests/baselines/reference/ModuleWithExportedAndNonExportedVariables.js b/tests/baselines/reference/ModuleWithExportedAndNonExportedVariables.js index 20dc6c94f4798..d676c05150ada 100644 --- a/tests/baselines/reference/ModuleWithExportedAndNonExportedVariables.js +++ b/tests/baselines/reference/ModuleWithExportedAndNonExportedVariables.js @@ -15,6 +15,7 @@ var y = A.y; //// [ModuleWithExportedAndNonExportedVariables.js] +"use strict"; var A; (function (A) { A.x = 'hello world'; diff --git a/tests/baselines/reference/NonInitializedExportInInternalModule.errors.txt b/tests/baselines/reference/NonInitializedExportInInternalModule.errors.txt index 20fd93f7c5cb8..6ebcd07495e35 100644 --- a/tests/baselines/reference/NonInitializedExportInInternalModule.errors.txt +++ b/tests/baselines/reference/NonInitializedExportInInternalModule.errors.txt @@ -1,15 +1,18 @@ NonInitializedExportInInternalModule.ts(2,8): error TS1123: Variable declaration list cannot be empty. +NonInitializedExportInInternalModule.ts(3,5): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. NonInitializedExportInInternalModule.ts(3,5): error TS2304: Cannot find name 'let'. NonInitializedExportInInternalModule.ts(4,10): error TS1123: Variable declaration list cannot be empty. -==== NonInitializedExportInInternalModule.ts (3 errors) ==== +==== NonInitializedExportInInternalModule.ts (4 errors) ==== namespace Inner { var; !!! error TS1123: Variable declaration list cannot be empty. let; ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2304: Cannot find name 'let'. const; diff --git a/tests/baselines/reference/NonInitializedExportInInternalModule.js b/tests/baselines/reference/NonInitializedExportInInternalModule.js index 0273474a2c11c..36f4192172e3f 100644 --- a/tests/baselines/reference/NonInitializedExportInInternalModule.js +++ b/tests/baselines/reference/NonInitializedExportInInternalModule.js @@ -37,6 +37,7 @@ namespace Inner { } //// [NonInitializedExportInInternalModule.js] +"use strict"; var Inner; (function (Inner) { var ; diff --git a/tests/baselines/reference/ParameterList13.js b/tests/baselines/reference/ParameterList13.js index d9273080b243e..69a47b32dd054 100644 --- a/tests/baselines/reference/ParameterList13.js +++ b/tests/baselines/reference/ParameterList13.js @@ -6,3 +6,4 @@ interface I { } //// [ParameterList13.js] +"use strict"; diff --git a/tests/baselines/reference/ParameterList4.js b/tests/baselines/reference/ParameterList4.js index 5070698cc2fcd..0b1d0c6d8481f 100644 --- a/tests/baselines/reference/ParameterList4.js +++ b/tests/baselines/reference/ParameterList4.js @@ -5,5 +5,6 @@ function F(public A) { } //// [ParameterList4.js] +"use strict"; function F(A) { } diff --git a/tests/baselines/reference/ParameterList5.js b/tests/baselines/reference/ParameterList5.js index 48715d6ae562a..cc4a3f48f86ee 100644 --- a/tests/baselines/reference/ParameterList5.js +++ b/tests/baselines/reference/ParameterList5.js @@ -5,5 +5,6 @@ function A(): (public B) => C { } //// [ParameterList5.js] +"use strict"; function A() { } diff --git a/tests/baselines/reference/ParameterList6.js b/tests/baselines/reference/ParameterList6.js index 7ccd946b44433..035a536717ec9 100644 --- a/tests/baselines/reference/ParameterList6.js +++ b/tests/baselines/reference/ParameterList6.js @@ -7,6 +7,7 @@ class C { } //// [ParameterList6.js] +"use strict"; var C = /** @class */ (function () { function C(C) { } diff --git a/tests/baselines/reference/ParameterList7.js b/tests/baselines/reference/ParameterList7.js index 57eadcb8da30f..bf2ee8db8761d 100644 --- a/tests/baselines/reference/ParameterList7.js +++ b/tests/baselines/reference/ParameterList7.js @@ -8,6 +8,7 @@ class C1 { } //// [ParameterList7.js] +"use strict"; var C1 = /** @class */ (function () { function C1(p3) { this.p3 = p3; diff --git a/tests/baselines/reference/ParameterList8.js b/tests/baselines/reference/ParameterList8.js index ba1a14752248b..c4457c4924486 100644 --- a/tests/baselines/reference/ParameterList8.js +++ b/tests/baselines/reference/ParameterList8.js @@ -8,3 +8,4 @@ declare class C2 { } //// [ParameterList8.js] +"use strict"; diff --git a/tests/baselines/reference/Protected1.js b/tests/baselines/reference/Protected1.js index b7a1f4eaa48bf..412093b216310 100644 --- a/tests/baselines/reference/Protected1.js +++ b/tests/baselines/reference/Protected1.js @@ -5,6 +5,7 @@ protected class C { } //// [Protected1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/Protected2.js b/tests/baselines/reference/Protected2.js index 042cb12504924..3355896095256 100644 --- a/tests/baselines/reference/Protected2.js +++ b/tests/baselines/reference/Protected2.js @@ -5,3 +5,4 @@ protected namespace M { } //// [Protected2.js] +"use strict"; diff --git a/tests/baselines/reference/Protected3.js b/tests/baselines/reference/Protected3.js index 4fe3e0a4c5c5d..2a61279327b90 100644 --- a/tests/baselines/reference/Protected3.js +++ b/tests/baselines/reference/Protected3.js @@ -6,6 +6,7 @@ class C { } //// [Protected3.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/Protected4.js b/tests/baselines/reference/Protected4.js index 67232f9d1edf8..ae3535a9cc376 100644 --- a/tests/baselines/reference/Protected4.js +++ b/tests/baselines/reference/Protected4.js @@ -6,6 +6,7 @@ class C { } //// [Protected4.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/Protected5.js b/tests/baselines/reference/Protected5.js index a2ee17321590f..1337abfd1f92b 100644 --- a/tests/baselines/reference/Protected5.js +++ b/tests/baselines/reference/Protected5.js @@ -6,6 +6,7 @@ class C { } //// [Protected5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/Protected6.js b/tests/baselines/reference/Protected6.js index 5a34d06deea46..ec44134ab125b 100644 --- a/tests/baselines/reference/Protected6.js +++ b/tests/baselines/reference/Protected6.js @@ -6,6 +6,7 @@ class C { } //// [Protected6.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/Protected7.js b/tests/baselines/reference/Protected7.js index 022c1468c7160..a0471bb0e244a 100644 --- a/tests/baselines/reference/Protected7.js +++ b/tests/baselines/reference/Protected7.js @@ -6,6 +6,7 @@ class C { } //// [Protected7.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/Protected8.js b/tests/baselines/reference/Protected8.js index 7a2dda4c92738..3a2997f5a4a43 100644 --- a/tests/baselines/reference/Protected8.js +++ b/tests/baselines/reference/Protected8.js @@ -7,3 +7,4 @@ interface I { } //// [Protected8.js] +"use strict"; diff --git a/tests/baselines/reference/Protected9.js b/tests/baselines/reference/Protected9.js index d9a9d81000973..7763dc899d566 100644 --- a/tests/baselines/reference/Protected9.js +++ b/tests/baselines/reference/Protected9.js @@ -6,6 +6,7 @@ class C { } //// [Protected9.js] +"use strict"; var C = /** @class */ (function () { function C(p) { this.p = p; diff --git a/tests/baselines/reference/TemplateExpression1.js b/tests/baselines/reference/TemplateExpression1.js index 5bd36658939ec..c566fca2c60ae 100644 --- a/tests/baselines/reference/TemplateExpression1.js +++ b/tests/baselines/reference/TemplateExpression1.js @@ -4,4 +4,5 @@ var v = `foo ${ a //// [TemplateExpression1.js] +"use strict"; var v = "foo ".concat(a); diff --git a/tests/baselines/reference/TransportStream.js b/tests/baselines/reference/TransportStream.js index 19e4cfce936a5..9f0603e59b338 100644 --- a/tests/baselines/reference/TransportStream.js +++ b/tests/baselines/reference/TransportStream.js @@ -4,4 +4,5 @@ G@�G@�G@� //// [TransportStream.js] +"use strict"; G; diff --git a/tests/baselines/reference/TupleType1.js b/tests/baselines/reference/TupleType1.js index 8be436f2e7b6b..463740b6ccf5e 100644 --- a/tests/baselines/reference/TupleType1.js +++ b/tests/baselines/reference/TupleType1.js @@ -4,4 +4,5 @@ var v: [number] //// [TupleType1.js] +"use strict"; var v; diff --git a/tests/baselines/reference/TupleType2.js b/tests/baselines/reference/TupleType2.js index d9ef15bf84fbf..1b45ec71ffbf9 100644 --- a/tests/baselines/reference/TupleType2.js +++ b/tests/baselines/reference/TupleType2.js @@ -4,4 +4,5 @@ var v: [number, string] //// [TupleType2.js] +"use strict"; var v; diff --git a/tests/baselines/reference/TupleType3.js b/tests/baselines/reference/TupleType3.js index 19a3e3c1d7926..188e90ee0bfbf 100644 --- a/tests/baselines/reference/TupleType3.js +++ b/tests/baselines/reference/TupleType3.js @@ -4,4 +4,5 @@ var v: [] //// [TupleType3.js] +"use strict"; var v; diff --git a/tests/baselines/reference/TupleType4.js b/tests/baselines/reference/TupleType4.js index 7d71182b6b42a..b95a5c70305aa 100644 --- a/tests/baselines/reference/TupleType4.js +++ b/tests/baselines/reference/TupleType4.js @@ -4,4 +4,5 @@ var v: [ //// [TupleType4.js] +"use strict"; var v; diff --git a/tests/baselines/reference/TupleType5.js b/tests/baselines/reference/TupleType5.js index 6b8d035e2f950..c1e1edb7bba72 100644 --- a/tests/baselines/reference/TupleType5.js +++ b/tests/baselines/reference/TupleType5.js @@ -4,4 +4,5 @@ var v: [number,] //// [TupleType5.js] +"use strict"; var v; diff --git a/tests/baselines/reference/TupleType6.js b/tests/baselines/reference/TupleType6.js index 1d48701b060c0..125ec40dfc163 100644 --- a/tests/baselines/reference/TupleType6.js +++ b/tests/baselines/reference/TupleType6.js @@ -4,4 +4,5 @@ var v: [number,,] //// [TupleType6.js] +"use strict"; var v; diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedClassesOfTheSameName.js b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedClassesOfTheSameName.js index 11dc78314e9f7..33bd98ac9610d 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedClassesOfTheSameName.js +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedClassesOfTheSameName.js @@ -43,6 +43,7 @@ var l: X.Y.Z.Line; //// [TwoInternalModulesThatMergeEachWithExportedAndNonExportedClassesOfTheSameName.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedInterfacesOfTheSameName.js b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedInterfacesOfTheSameName.js index cad11bb4f3235..2c5d82481aeb8 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedInterfacesOfTheSameName.js +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedInterfacesOfTheSameName.js @@ -40,6 +40,7 @@ var l: X.Y.Z.Line; //// [TwoInternalModulesThatMergeEachWithExportedAndNonExportedInterfacesOfTheSameName.js] +"use strict"; // ensure merges as expected var p; var p; diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedLocalVarsOfTheSameName.js b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedLocalVarsOfTheSameName.js index 54f168e3f52e0..41386a68b34ec 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedLocalVarsOfTheSameName.js +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedAndNonExportedLocalVarsOfTheSameName.js @@ -42,6 +42,7 @@ var p = new A.Utils.Plane(o, { x: 1, y: 1 }); //// [part1.js] +"use strict"; var A; (function (A) { var Utils; @@ -54,6 +55,7 @@ var A; A.Origin = { x: 0, y: 0 }; })(A || (A = {})); //// [part2.js] +"use strict"; var A; (function (A) { // not a collision, since we don't export @@ -71,6 +73,7 @@ var A; })(Utils = A.Utils || (A.Utils = {})); })(A || (A = {})); //// [part3.js] +"use strict"; // test the merging actually worked var o; var o; diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.js b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.js index f5285b0f7de52..e8dfa8e4ca455 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.js +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.js @@ -35,6 +35,7 @@ namespace X { //// [TwoInternalModulesThatMergeEachWithExportedClassesOfTheSameName.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedInterfacesOfTheSameName.js b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedInterfacesOfTheSameName.js index 0af0fe1881879..57e0a9cf27a67 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedInterfacesOfTheSameName.js +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedInterfacesOfTheSameName.js @@ -40,6 +40,7 @@ var l: X.Y.Z.Line; //// [TwoInternalModulesThatMergeEachWithExportedInterfacesOfTheSameName.js] +"use strict"; // ensure merges as expected var p; var p; diff --git a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.js b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.js index e7ee79902558f..6450c18549ed6 100644 --- a/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.js +++ b/tests/baselines/reference/TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.js @@ -37,6 +37,7 @@ var l: X.Y.Z.Line; //// [TwoInternalModulesThatMergeEachWithExportedModulesOfTheSameName.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndDifferentCommonRoot.js b/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndDifferentCommonRoot.js index b4e3df988acde..bc9dc775bbf76 100644 --- a/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndDifferentCommonRoot.js +++ b/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndDifferentCommonRoot.js @@ -31,6 +31,7 @@ namespace otherRoot { } //// [part1.js] +"use strict"; var Root; (function (Root) { var A; @@ -45,6 +46,7 @@ var Root; })(A = Root.A || (Root.A = {})); })(Root || (Root = {})); //// [part2.js] +"use strict"; var otherRoot; (function (otherRoot) { var A; diff --git a/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndSameCommonRoot.js b/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndSameCommonRoot.js index 0b39efa124d75..afb431d7fe70b 100644 --- a/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndSameCommonRoot.js +++ b/tests/baselines/reference/TwoInternalModulesWithTheSameNameAndSameCommonRoot.js @@ -40,6 +40,7 @@ var p = new A.Utils.Plane(o, { x: 1, y: 1 }); //// [part1.js] +"use strict"; var A; (function (A) { var Utils; @@ -51,6 +52,7 @@ var A; })(Utils = A.Utils || (A.Utils = {})); })(A || (A = {})); //// [part2.js] +"use strict"; var A; (function (A) { A.Origin = { x: 0, y: 0 }; @@ -67,6 +69,7 @@ var A; })(Utils = A.Utils || (A.Utils = {})); })(A || (A = {})); //// [part3.js] +"use strict"; // test the merging actually worked var o; var o; diff --git a/tests/baselines/reference/TypeArgumentList1.js b/tests/baselines/reference/TypeArgumentList1.js index 3254810cd804f..61e4b0f74ae01 100644 --- a/tests/baselines/reference/TypeArgumentList1.js +++ b/tests/baselines/reference/TypeArgumentList1.js @@ -4,5 +4,6 @@ Foo(4, 5, 6); //// [TypeArgumentList1.js] +"use strict"; Foo < A, B, ; C > (4, 5, 6); diff --git a/tests/baselines/reference/TypeGuardWithArrayUnion.js b/tests/baselines/reference/TypeGuardWithArrayUnion.js index e52e11ff3fa71..f64ca86c74941 100644 --- a/tests/baselines/reference/TypeGuardWithArrayUnion.js +++ b/tests/baselines/reference/TypeGuardWithArrayUnion.js @@ -13,6 +13,7 @@ function saySize(message: Message | Message[]) { //// [TypeGuardWithArrayUnion.js] +"use strict"; var Message = /** @class */ (function () { function Message() { } diff --git a/tests/baselines/reference/TypeGuardWithEnumUnion.js b/tests/baselines/reference/TypeGuardWithEnumUnion.js index 4a47a9aefcad5..5254c999dfff1 100644 --- a/tests/baselines/reference/TypeGuardWithEnumUnion.js +++ b/tests/baselines/reference/TypeGuardWithEnumUnion.js @@ -39,6 +39,7 @@ function f2(x: Color | string | string[]) { //// [TypeGuardWithEnumUnion.js] +"use strict"; var Color; (function (Color) { Color[Color["R"] = 0] = "R"; diff --git a/tests/baselines/reference/VariableDeclaration10_es6.js b/tests/baselines/reference/VariableDeclaration10_es6.js index 4aac9e2b945a5..27bfc087a6150 100644 --- a/tests/baselines/reference/VariableDeclaration10_es6.js +++ b/tests/baselines/reference/VariableDeclaration10_es6.js @@ -4,4 +4,5 @@ let a: number = 1 //// [VariableDeclaration10_es6.js] +"use strict"; let a = 1; diff --git a/tests/baselines/reference/VariableDeclaration12_es6.js b/tests/baselines/reference/VariableDeclaration12_es6.js index 98a622fe9a0e4..59f1c853ac7ae 100644 --- a/tests/baselines/reference/VariableDeclaration12_es6.js +++ b/tests/baselines/reference/VariableDeclaration12_es6.js @@ -5,4 +5,5 @@ let x //// [VariableDeclaration12_es6.js] +"use strict"; let x; diff --git a/tests/baselines/reference/VariableDeclaration13_es6.js b/tests/baselines/reference/VariableDeclaration13_es6.js index bafe314c4f55a..4fe76871492cb 100644 --- a/tests/baselines/reference/VariableDeclaration13_es6.js +++ b/tests/baselines/reference/VariableDeclaration13_es6.js @@ -7,6 +7,7 @@ var let: any; let[0] = 100; //// [VariableDeclaration13_es6.js] +"use strict"; // An ExpressionStatement cannot start with the two token sequence `let [` because // that would make it ambiguous with a `let` LexicalDeclaration whose first LexicalBinding was an ArrayBindingPattern. var let; diff --git a/tests/baselines/reference/VariableDeclaration1_es6.js b/tests/baselines/reference/VariableDeclaration1_es6.js index 753a718651913..697158257eee2 100644 --- a/tests/baselines/reference/VariableDeclaration1_es6.js +++ b/tests/baselines/reference/VariableDeclaration1_es6.js @@ -4,4 +4,5 @@ const //// [VariableDeclaration1_es6.js] +"use strict"; const ; diff --git a/tests/baselines/reference/VariableDeclaration2_es6.js b/tests/baselines/reference/VariableDeclaration2_es6.js index 8014be127dd8b..994b76542f2d9 100644 --- a/tests/baselines/reference/VariableDeclaration2_es6.js +++ b/tests/baselines/reference/VariableDeclaration2_es6.js @@ -4,4 +4,5 @@ const a //// [VariableDeclaration2_es6.js] +"use strict"; const a; diff --git a/tests/baselines/reference/VariableDeclaration3_es6.js b/tests/baselines/reference/VariableDeclaration3_es6.js index d7b0e57e8e8cd..d81660607762e 100644 --- a/tests/baselines/reference/VariableDeclaration3_es6.js +++ b/tests/baselines/reference/VariableDeclaration3_es6.js @@ -4,4 +4,5 @@ const a = 1 //// [VariableDeclaration3_es6.js] +"use strict"; const a = 1; diff --git a/tests/baselines/reference/VariableDeclaration4_es6.js b/tests/baselines/reference/VariableDeclaration4_es6.js index a14d01fda5c28..18b0c8c1a21a0 100644 --- a/tests/baselines/reference/VariableDeclaration4_es6.js +++ b/tests/baselines/reference/VariableDeclaration4_es6.js @@ -4,4 +4,5 @@ const a: number //// [VariableDeclaration4_es6.js] +"use strict"; const a; diff --git a/tests/baselines/reference/VariableDeclaration5_es6.js b/tests/baselines/reference/VariableDeclaration5_es6.js index 749f63fc508be..2ca89154c5169 100644 --- a/tests/baselines/reference/VariableDeclaration5_es6.js +++ b/tests/baselines/reference/VariableDeclaration5_es6.js @@ -4,4 +4,5 @@ const a: number = 1 //// [VariableDeclaration5_es6.js] +"use strict"; const a = 1; diff --git a/tests/baselines/reference/VariableDeclaration6_es6.errors.txt b/tests/baselines/reference/VariableDeclaration6_es6.errors.txt index a475016684007..f6d10640284d3 100644 --- a/tests/baselines/reference/VariableDeclaration6_es6.errors.txt +++ b/tests/baselines/reference/VariableDeclaration6_es6.errors.txt @@ -1,7 +1,10 @@ +VariableDeclaration6_es6.ts(1,1): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. VariableDeclaration6_es6.ts(1,1): error TS2304: Cannot find name 'let'. -==== VariableDeclaration6_es6.ts (1 errors) ==== +==== VariableDeclaration6_es6.ts (2 errors) ==== let ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2304: Cannot find name 'let'. \ No newline at end of file diff --git a/tests/baselines/reference/VariableDeclaration6_es6.js b/tests/baselines/reference/VariableDeclaration6_es6.js index 05bd083e66fdd..a20cb8d2533ad 100644 --- a/tests/baselines/reference/VariableDeclaration6_es6.js +++ b/tests/baselines/reference/VariableDeclaration6_es6.js @@ -4,4 +4,5 @@ let //// [VariableDeclaration6_es6.js] +"use strict"; let; diff --git a/tests/baselines/reference/VariableDeclaration7_es6.js b/tests/baselines/reference/VariableDeclaration7_es6.js index 448c1fa5198f4..c3b14cfab7ff9 100644 --- a/tests/baselines/reference/VariableDeclaration7_es6.js +++ b/tests/baselines/reference/VariableDeclaration7_es6.js @@ -4,4 +4,5 @@ let a //// [VariableDeclaration7_es6.js] +"use strict"; let a; diff --git a/tests/baselines/reference/VariableDeclaration8_es6.js b/tests/baselines/reference/VariableDeclaration8_es6.js index 8a26a861d5db1..38c8b7572eb23 100644 --- a/tests/baselines/reference/VariableDeclaration8_es6.js +++ b/tests/baselines/reference/VariableDeclaration8_es6.js @@ -4,4 +4,5 @@ let a = 1 //// [VariableDeclaration8_es6.js] +"use strict"; let a = 1; diff --git a/tests/baselines/reference/VariableDeclaration9_es6.js b/tests/baselines/reference/VariableDeclaration9_es6.js index 1d107657c4e3e..8a6ab5b8482e9 100644 --- a/tests/baselines/reference/VariableDeclaration9_es6.js +++ b/tests/baselines/reference/VariableDeclaration9_es6.js @@ -4,4 +4,5 @@ let a: number //// [VariableDeclaration9_es6.js] +"use strict"; let a; diff --git a/tests/baselines/reference/YieldExpression10_es6.js b/tests/baselines/reference/YieldExpression10_es6.js index 0e3f21cdde8b7..0f46400e5c1c0 100644 --- a/tests/baselines/reference/YieldExpression10_es6.js +++ b/tests/baselines/reference/YieldExpression10_es6.js @@ -8,6 +8,7 @@ var v = { * foo() { //// [YieldExpression10_es6.js] +"use strict"; var v = { *foo() { yield (foo); } diff --git a/tests/baselines/reference/YieldExpression11_es6.js b/tests/baselines/reference/YieldExpression11_es6.js index 41b8f2b9be513..3736e23f93512 100644 --- a/tests/baselines/reference/YieldExpression11_es6.js +++ b/tests/baselines/reference/YieldExpression11_es6.js @@ -8,6 +8,7 @@ class C { } //// [YieldExpression11_es6.js] +"use strict"; class C { *foo() { yield (foo); diff --git a/tests/baselines/reference/YieldExpression12_es6.js b/tests/baselines/reference/YieldExpression12_es6.js index b57f72e31d5d5..2b4708957d919 100644 --- a/tests/baselines/reference/YieldExpression12_es6.js +++ b/tests/baselines/reference/YieldExpression12_es6.js @@ -8,6 +8,7 @@ class C { } //// [YieldExpression12_es6.js] +"use strict"; class C { constructor() { yield foo; diff --git a/tests/baselines/reference/YieldExpression13_es6.js b/tests/baselines/reference/YieldExpression13_es6.js index 2d31a2ea6388b..11d55624ea9e9 100644 --- a/tests/baselines/reference/YieldExpression13_es6.js +++ b/tests/baselines/reference/YieldExpression13_es6.js @@ -4,4 +4,5 @@ function* foo() { yield } //// [YieldExpression13_es6.js] +"use strict"; function* foo() { yield; } diff --git a/tests/baselines/reference/YieldExpression14_es6.js b/tests/baselines/reference/YieldExpression14_es6.js index 94f6484284d0e..103ad38ed3bd0 100644 --- a/tests/baselines/reference/YieldExpression14_es6.js +++ b/tests/baselines/reference/YieldExpression14_es6.js @@ -8,6 +8,7 @@ class C { } //// [YieldExpression14_es6.js] +"use strict"; class C { foo() { yield foo; diff --git a/tests/baselines/reference/YieldExpression15_es6.js b/tests/baselines/reference/YieldExpression15_es6.js index 52413d7326e34..182ee54bb741f 100644 --- a/tests/baselines/reference/YieldExpression15_es6.js +++ b/tests/baselines/reference/YieldExpression15_es6.js @@ -6,6 +6,7 @@ var v = () => { } //// [YieldExpression15_es6.js] +"use strict"; var v = () => { yield foo; }; diff --git a/tests/baselines/reference/YieldExpression16_es6.js b/tests/baselines/reference/YieldExpression16_es6.js index fe803ae4e0ed2..e7b33612d24d5 100644 --- a/tests/baselines/reference/YieldExpression16_es6.js +++ b/tests/baselines/reference/YieldExpression16_es6.js @@ -8,6 +8,7 @@ function* foo() { } //// [YieldExpression16_es6.js] +"use strict"; function* foo() { function bar() { yield foo; diff --git a/tests/baselines/reference/YieldExpression17_es6.js b/tests/baselines/reference/YieldExpression17_es6.js index 176bc1382b4e7..339f84e1af7ce 100644 --- a/tests/baselines/reference/YieldExpression17_es6.js +++ b/tests/baselines/reference/YieldExpression17_es6.js @@ -4,4 +4,5 @@ var v = { get foo() { yield foo; } } //// [YieldExpression17_es6.js] +"use strict"; var v = { get foo() { yield foo; } }; diff --git a/tests/baselines/reference/YieldExpression19_es6.js b/tests/baselines/reference/YieldExpression19_es6.js index f99fa292080ad..501020bef7623 100644 --- a/tests/baselines/reference/YieldExpression19_es6.js +++ b/tests/baselines/reference/YieldExpression19_es6.js @@ -10,6 +10,7 @@ function*foo() { } //// [YieldExpression19_es6.js] +"use strict"; function* foo() { function bar() { function* quux() { diff --git a/tests/baselines/reference/YieldExpression1_es6.errors.txt b/tests/baselines/reference/YieldExpression1_es6.errors.txt index 5c5cf3714b9b1..853cf1ff814f3 100644 --- a/tests/baselines/reference/YieldExpression1_es6.errors.txt +++ b/tests/baselines/reference/YieldExpression1_es6.errors.txt @@ -1,7 +1,10 @@ +YieldExpression1_es6.ts(1,1): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. YieldExpression1_es6.ts(1,1): error TS2304: Cannot find name 'yield'. -==== YieldExpression1_es6.ts (1 errors) ==== +==== YieldExpression1_es6.ts (2 errors) ==== yield; ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + ~~~~~ !!! error TS2304: Cannot find name 'yield'. \ No newline at end of file diff --git a/tests/baselines/reference/YieldExpression1_es6.js b/tests/baselines/reference/YieldExpression1_es6.js index b948bfaf37f84..71f2ae42e3e47 100644 --- a/tests/baselines/reference/YieldExpression1_es6.js +++ b/tests/baselines/reference/YieldExpression1_es6.js @@ -4,4 +4,5 @@ yield; //// [YieldExpression1_es6.js] +"use strict"; yield; diff --git a/tests/baselines/reference/YieldExpression20_es6.js b/tests/baselines/reference/YieldExpression20_es6.js index 05ae6a9e79140..3c46f0c49c3af 100644 --- a/tests/baselines/reference/YieldExpression20_es6.js +++ b/tests/baselines/reference/YieldExpression20_es6.js @@ -9,6 +9,7 @@ function* test() { //// [YieldExpression20_es6.js] +"use strict"; function* test() { return () => ({ b: yield 2, // error diff --git a/tests/baselines/reference/YieldExpression2_es6.js b/tests/baselines/reference/YieldExpression2_es6.js index f290601ba5c51..4345ac5d71009 100644 --- a/tests/baselines/reference/YieldExpression2_es6.js +++ b/tests/baselines/reference/YieldExpression2_es6.js @@ -4,4 +4,5 @@ yield foo; //// [YieldExpression2_es6.js] +"use strict"; yield foo; diff --git a/tests/baselines/reference/YieldExpression3_es6.js b/tests/baselines/reference/YieldExpression3_es6.js index 979cbe7b033a0..cf6c343f88e54 100644 --- a/tests/baselines/reference/YieldExpression3_es6.js +++ b/tests/baselines/reference/YieldExpression3_es6.js @@ -7,6 +7,7 @@ function* foo() { } //// [YieldExpression3_es6.js] +"use strict"; function* foo() { yield; yield; diff --git a/tests/baselines/reference/YieldExpression4_es6.js b/tests/baselines/reference/YieldExpression4_es6.js index 4703f404c526a..d48966f583681 100644 --- a/tests/baselines/reference/YieldExpression4_es6.js +++ b/tests/baselines/reference/YieldExpression4_es6.js @@ -7,6 +7,7 @@ function* foo() { } //// [YieldExpression4_es6.js] +"use strict"; function* foo() { yield; yield; diff --git a/tests/baselines/reference/YieldExpression5_es6.js b/tests/baselines/reference/YieldExpression5_es6.js index da0904ba1db45..afe5bc5a1012b 100644 --- a/tests/baselines/reference/YieldExpression5_es6.js +++ b/tests/baselines/reference/YieldExpression5_es6.js @@ -6,6 +6,7 @@ function* foo() { } //// [YieldExpression5_es6.js] +"use strict"; function* foo() { yield* ; } diff --git a/tests/baselines/reference/YieldExpression6_es6.js b/tests/baselines/reference/YieldExpression6_es6.js index 93798bb3ac4a0..e14f23fb4dc0f 100644 --- a/tests/baselines/reference/YieldExpression6_es6.js +++ b/tests/baselines/reference/YieldExpression6_es6.js @@ -6,6 +6,7 @@ function* foo() { } //// [YieldExpression6_es6.js] +"use strict"; function* foo() { yield* foo; } diff --git a/tests/baselines/reference/YieldExpression7_es6.js b/tests/baselines/reference/YieldExpression7_es6.js index d86963a134533..501cf9283770d 100644 --- a/tests/baselines/reference/YieldExpression7_es6.js +++ b/tests/baselines/reference/YieldExpression7_es6.js @@ -6,6 +6,7 @@ function* foo() { } //// [YieldExpression7_es6.js] +"use strict"; function* foo() { yield foo; } diff --git a/tests/baselines/reference/YieldExpression8_es6.errors.txt b/tests/baselines/reference/YieldExpression8_es6.errors.txt index e7db07eb354f9..f5047733b6a83 100644 --- a/tests/baselines/reference/YieldExpression8_es6.errors.txt +++ b/tests/baselines/reference/YieldExpression8_es6.errors.txt @@ -1,9 +1,12 @@ +YieldExpression8_es6.ts(1,1): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. YieldExpression8_es6.ts(1,1): error TS2304: Cannot find name 'yield'. -==== YieldExpression8_es6.ts (1 errors) ==== +==== YieldExpression8_es6.ts (2 errors) ==== yield(foo); ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + ~~~~~ !!! error TS2304: Cannot find name 'yield'. function* foo() { yield(foo); diff --git a/tests/baselines/reference/YieldExpression8_es6.js b/tests/baselines/reference/YieldExpression8_es6.js index eb7bf197d0c25..2847ae5d91675 100644 --- a/tests/baselines/reference/YieldExpression8_es6.js +++ b/tests/baselines/reference/YieldExpression8_es6.js @@ -7,6 +7,7 @@ function* foo() { } //// [YieldExpression8_es6.js] +"use strict"; yield(foo); function* foo() { yield (foo); diff --git a/tests/baselines/reference/YieldExpression9_es6.js b/tests/baselines/reference/YieldExpression9_es6.js index 5cd88a575f87f..3e0d129b71584 100644 --- a/tests/baselines/reference/YieldExpression9_es6.js +++ b/tests/baselines/reference/YieldExpression9_es6.js @@ -6,6 +6,7 @@ var v = function*() { } //// [YieldExpression9_es6.js] +"use strict"; var v = function* () { yield (foo); }; diff --git a/tests/baselines/reference/YieldStarExpression1_es6.errors.txt b/tests/baselines/reference/YieldStarExpression1_es6.errors.txt index e7776535f90cb..cf59d189bc301 100644 --- a/tests/baselines/reference/YieldStarExpression1_es6.errors.txt +++ b/tests/baselines/reference/YieldStarExpression1_es6.errors.txt @@ -1,10 +1,13 @@ +YieldStarExpression1_es6.ts(1,1): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. YieldStarExpression1_es6.ts(1,1): error TS2304: Cannot find name 'yield'. YieldStarExpression1_es6.ts(1,9): error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. -==== YieldStarExpression1_es6.ts (2 errors) ==== +==== YieldStarExpression1_es6.ts (3 errors) ==== yield * []; ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + ~~~~~ !!! error TS2304: Cannot find name 'yield'. ~~ !!! error TS2363: The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type. \ No newline at end of file diff --git a/tests/baselines/reference/YieldStarExpression1_es6.js b/tests/baselines/reference/YieldStarExpression1_es6.js index 0c2e3356a9b6c..7a109e8e7f46f 100644 --- a/tests/baselines/reference/YieldStarExpression1_es6.js +++ b/tests/baselines/reference/YieldStarExpression1_es6.js @@ -4,4 +4,5 @@ yield * []; //// [YieldStarExpression1_es6.js] +"use strict"; yield * []; diff --git a/tests/baselines/reference/YieldStarExpression2_es6.js b/tests/baselines/reference/YieldStarExpression2_es6.js index f33990cad45de..2ebafc3ee0ed5 100644 --- a/tests/baselines/reference/YieldStarExpression2_es6.js +++ b/tests/baselines/reference/YieldStarExpression2_es6.js @@ -4,4 +4,5 @@ yield *; //// [YieldStarExpression2_es6.js] +"use strict"; yield * ; diff --git a/tests/baselines/reference/YieldStarExpression3_es6.js b/tests/baselines/reference/YieldStarExpression3_es6.js index 66bde1547ff76..edac58e7d24d2 100644 --- a/tests/baselines/reference/YieldStarExpression3_es6.js +++ b/tests/baselines/reference/YieldStarExpression3_es6.js @@ -6,6 +6,7 @@ function *g() { } //// [YieldStarExpression3_es6.js] +"use strict"; function* g() { yield* ; } diff --git a/tests/baselines/reference/YieldStarExpression4_es6.js b/tests/baselines/reference/YieldStarExpression4_es6.js index 7e743965459d6..ad435152e01a6 100644 --- a/tests/baselines/reference/YieldStarExpression4_es6.js +++ b/tests/baselines/reference/YieldStarExpression4_es6.js @@ -6,6 +6,7 @@ function *g() { } //// [YieldStarExpression4_es6.js] +"use strict"; function* g() { yield* []; } diff --git a/tests/baselines/reference/abstractClassInLocalScope.js b/tests/baselines/reference/abstractClassInLocalScope.js index 33ac1f8a647bd..114b2d24834d9 100644 --- a/tests/baselines/reference/abstractClassInLocalScope.js +++ b/tests/baselines/reference/abstractClassInLocalScope.js @@ -10,6 +10,7 @@ //// [abstractClassInLocalScope.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/abstractClassInLocalScopeIsAbstract.js b/tests/baselines/reference/abstractClassInLocalScopeIsAbstract.js index c26fa08b26423..056c18a2734a5 100644 --- a/tests/baselines/reference/abstractClassInLocalScopeIsAbstract.js +++ b/tests/baselines/reference/abstractClassInLocalScopeIsAbstract.js @@ -10,6 +10,7 @@ //// [abstractClassInLocalScopeIsAbstract.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/abstractClassUnionInstantiation.js b/tests/baselines/reference/abstractClassUnionInstantiation.js index 6f28f395ec709..afff78270a481 100644 --- a/tests/baselines/reference/abstractClassUnionInstantiation.js +++ b/tests/baselines/reference/abstractClassUnionInstantiation.js @@ -24,6 +24,7 @@ new cls3(); // should work [AbstractA, AbstractB].map(cls => new cls()); // should error //// [abstractClassUnionInstantiation.js] +"use strict"; var ConcreteA = /** @class */ (function () { function ConcreteA() { } diff --git a/tests/baselines/reference/abstractIdentifierNameStrict.js b/tests/baselines/reference/abstractIdentifierNameStrict.js index 9af7284f07cc4..1cca86105a028 100644 --- a/tests/baselines/reference/abstractIdentifierNameStrict.js +++ b/tests/baselines/reference/abstractIdentifierNameStrict.js @@ -9,6 +9,7 @@ function foo() { } //// [abstractIdentifierNameStrict.js] +"use strict"; var abstract = true; function foo() { "use strict"; diff --git a/tests/baselines/reference/abstractInterfaceIdentifierName.js b/tests/baselines/reference/abstractInterfaceIdentifierName.js index 2e092cf4b28c2..598e39c629e5d 100644 --- a/tests/baselines/reference/abstractInterfaceIdentifierName.js +++ b/tests/baselines/reference/abstractInterfaceIdentifierName.js @@ -7,3 +7,4 @@ interface abstract { //// [abstractInterfaceIdentifierName.js] +"use strict"; diff --git a/tests/baselines/reference/abstractProperty(target=es2015).js b/tests/baselines/reference/abstractProperty(target=es2015).js index 5d6ccd7959384..1e4e9eb1d8d9d 100644 --- a/tests/baselines/reference/abstractProperty(target=es2015).js +++ b/tests/baselines/reference/abstractProperty(target=es2015).js @@ -18,6 +18,7 @@ class C extends A { //// [abstractProperty.js] +"use strict"; class A { foo() { console.log(this.x); diff --git a/tests/baselines/reference/abstractProperty(target=esnext).js b/tests/baselines/reference/abstractProperty(target=esnext).js index 1d6a28b40d9ff..3ecf9650df638 100644 --- a/tests/baselines/reference/abstractProperty(target=esnext).js +++ b/tests/baselines/reference/abstractProperty(target=esnext).js @@ -18,6 +18,7 @@ class C extends A { //// [abstractProperty.js] +"use strict"; class A { foo() { console.log(this.x); diff --git a/tests/baselines/reference/abstractPropertyBasics.js b/tests/baselines/reference/abstractPropertyBasics.js index c20a295242ff3..735b9ab0461d8 100644 --- a/tests/baselines/reference/abstractPropertyBasics.js +++ b/tests/baselines/reference/abstractPropertyBasics.js @@ -24,6 +24,7 @@ class C extends B { } //// [abstractPropertyBasics.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/abstractPropertyInConstructor.js b/tests/baselines/reference/abstractPropertyInConstructor.js index 5656a8c9a6120..affa4f6465cb9 100644 --- a/tests/baselines/reference/abstractPropertyInConstructor.js +++ b/tests/baselines/reference/abstractPropertyInConstructor.js @@ -96,6 +96,7 @@ class C2 { //// [abstractPropertyInConstructor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/abstractPropertyNegative.js b/tests/baselines/reference/abstractPropertyNegative.js index 193fd8e5a2001..f8b0b7c3743fa 100644 --- a/tests/baselines/reference/abstractPropertyNegative.js +++ b/tests/baselines/reference/abstractPropertyNegative.js @@ -46,6 +46,7 @@ abstract class AbstractAccessorMismatch { //// [abstractPropertyNegative.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/acceptableAlias1.js b/tests/baselines/reference/acceptableAlias1.js index b360c5c3bb572..0904f10623dc6 100644 --- a/tests/baselines/reference/acceptableAlias1.js +++ b/tests/baselines/reference/acceptableAlias1.js @@ -10,6 +10,7 @@ namespace M { import r = M.X; //// [acceptableAlias1.js] +"use strict"; var M; (function (M) { })(M || (M = {})); diff --git a/tests/baselines/reference/accessInstanceMemberFromStaticMethod01.js b/tests/baselines/reference/accessInstanceMemberFromStaticMethod01.js index 250e78259926f..9cff925cdf269 100644 --- a/tests/baselines/reference/accessInstanceMemberFromStaticMethod01.js +++ b/tests/baselines/reference/accessInstanceMemberFromStaticMethod01.js @@ -10,6 +10,7 @@ class C { } //// [accessInstanceMemberFromStaticMethod01.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/accessOverriddenBaseClassMember1.js b/tests/baselines/reference/accessOverriddenBaseClassMember1.js index 1a81263e63813..e548ef54c854b 100644 --- a/tests/baselines/reference/accessOverriddenBaseClassMember1.js +++ b/tests/baselines/reference/accessOverriddenBaseClassMember1.js @@ -18,6 +18,7 @@ class ColoredPoint extends Point { //// [accessOverriddenBaseClassMember1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/accessStaticMemberFromInstanceMethod01.js b/tests/baselines/reference/accessStaticMemberFromInstanceMethod01.js index f87f90e4f5423..6aa0a97af5277 100644 --- a/tests/baselines/reference/accessStaticMemberFromInstanceMethod01.js +++ b/tests/baselines/reference/accessStaticMemberFromInstanceMethod01.js @@ -10,6 +10,7 @@ class C { } //// [accessStaticMemberFromInstanceMethod01.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/accessibilityModifiers.js b/tests/baselines/reference/accessibilityModifiers.js index 306717824e1b4..cae8a79337a4f 100644 --- a/tests/baselines/reference/accessibilityModifiers.js +++ b/tests/baselines/reference/accessibilityModifiers.js @@ -47,6 +47,7 @@ class E { //// [accessibilityModifiers.js] +"use strict"; // No errors var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/accessorAccidentalCallDiagnostic.js b/tests/baselines/reference/accessorAccidentalCallDiagnostic.js index a808e4bf767e6..03b8be874f2d3 100644 --- a/tests/baselines/reference/accessorAccidentalCallDiagnostic.js +++ b/tests/baselines/reference/accessorAccidentalCallDiagnostic.js @@ -11,6 +11,7 @@ function test24554(x: Test24554) { //// [accessorAccidentalCallDiagnostic.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/24554 var Test24554 = /** @class */ (function () { function Test24554() { diff --git a/tests/baselines/reference/accessorBodyInTypeContext.js b/tests/baselines/reference/accessorBodyInTypeContext.js index d2bcee2a086ce..2197d0ad34268 100644 --- a/tests/baselines/reference/accessorBodyInTypeContext.js +++ b/tests/baselines/reference/accessorBodyInTypeContext.js @@ -20,3 +20,4 @@ interface Y { //// [accessorBodyInTypeContext.js] +"use strict"; diff --git a/tests/baselines/reference/accessorDeclarationOrder.js b/tests/baselines/reference/accessorDeclarationOrder.js index 5fc9a7e71bd38..a9f427fc8e124 100644 --- a/tests/baselines/reference/accessorDeclarationOrder.js +++ b/tests/baselines/reference/accessorDeclarationOrder.js @@ -37,6 +37,7 @@ c2.name; //// [accessorDeclarationOrder.js] +"use strict"; class C1 { #name; get name() { diff --git a/tests/baselines/reference/accessorInAmbientContextES5.js b/tests/baselines/reference/accessorInAmbientContextES5.js index caea4933da878..356e94690cfd9 100644 --- a/tests/baselines/reference/accessorInAmbientContextES5.js +++ b/tests/baselines/reference/accessorInAmbientContextES5.js @@ -29,6 +29,7 @@ class RegularClass { } //// [accessorInAmbientContextES5.js] +"use strict"; // Should allow accessor in ambient contexts even when targeting ES5 var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); diff --git a/tests/baselines/reference/accessorParameterAccessibilityModifier.js b/tests/baselines/reference/accessorParameterAccessibilityModifier.js index c0cf7eb7c9eb0..f87eebeb6e8fc 100644 --- a/tests/baselines/reference/accessorParameterAccessibilityModifier.js +++ b/tests/baselines/reference/accessorParameterAccessibilityModifier.js @@ -7,6 +7,7 @@ class C { } //// [accessorParameterAccessibilityModifier.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/accessorWithES5.js b/tests/baselines/reference/accessorWithES5.js index 19d5409b7f1b9..5f037856ad487 100644 --- a/tests/baselines/reference/accessorWithES5.js +++ b/tests/baselines/reference/accessorWithES5.js @@ -21,6 +21,7 @@ var y = { } //// [accessorWithES5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/accessorWithInitializer.js b/tests/baselines/reference/accessorWithInitializer.js index d70cbd6828395..4d55352be22cc 100644 --- a/tests/baselines/reference/accessorWithInitializer.js +++ b/tests/baselines/reference/accessorWithInitializer.js @@ -7,6 +7,7 @@ class C { } //// [accessorWithInitializer.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/accessorWithLineTerminator.js b/tests/baselines/reference/accessorWithLineTerminator.js index 4d7b3fe8d0535..2a0ced9254f23 100644 --- a/tests/baselines/reference/accessorWithLineTerminator.js +++ b/tests/baselines/reference/accessorWithLineTerminator.js @@ -10,6 +10,7 @@ class C { } //// [accessorWithLineTerminator.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/accessorWithMismatchedAccessibilityModifiers.js b/tests/baselines/reference/accessorWithMismatchedAccessibilityModifiers.js index 5f608fdaafe9a..017f87fcf4712 100644 --- a/tests/baselines/reference/accessorWithMismatchedAccessibilityModifiers.js +++ b/tests/baselines/reference/accessorWithMismatchedAccessibilityModifiers.js @@ -34,6 +34,7 @@ class F { } //// [accessorWithMismatchedAccessibilityModifiers.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/accessorWithRestParam.js b/tests/baselines/reference/accessorWithRestParam.js index 1713b6e0ad354..ec2daf41e279f 100644 --- a/tests/baselines/reference/accessorWithRestParam.js +++ b/tests/baselines/reference/accessorWithRestParam.js @@ -7,6 +7,7 @@ class C { } //// [accessorWithRestParam.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/accessorWithoutBody1.js b/tests/baselines/reference/accessorWithoutBody1.js index 930cd3e6559b3..462c607fa5645 100644 --- a/tests/baselines/reference/accessorWithoutBody1.js +++ b/tests/baselines/reference/accessorWithoutBody1.js @@ -4,4 +4,5 @@ var v = { get foo() } //// [accessorWithoutBody1.js] +"use strict"; var v = { get foo() { } }; diff --git a/tests/baselines/reference/accessorWithoutBody2.js b/tests/baselines/reference/accessorWithoutBody2.js index 39a3bfd02dd40..7bdb67b3c572b 100644 --- a/tests/baselines/reference/accessorWithoutBody2.js +++ b/tests/baselines/reference/accessorWithoutBody2.js @@ -4,4 +4,5 @@ var v = { set foo(a) } //// [accessorWithoutBody2.js] +"use strict"; var v = { set foo(a) { } }; diff --git a/tests/baselines/reference/accessorsAreNotContextuallyTyped.js b/tests/baselines/reference/accessorsAreNotContextuallyTyped.js index 4daab7e02060c..f3038db7cfcc4 100644 --- a/tests/baselines/reference/accessorsAreNotContextuallyTyped.js +++ b/tests/baselines/reference/accessorsAreNotContextuallyTyped.js @@ -16,6 +16,7 @@ var c: C; var r = c.x(''); // string //// [accessorsAreNotContextuallyTyped.js] +"use strict"; // accessors are not contextually typed var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/accessorsEmit.js b/tests/baselines/reference/accessorsEmit.js index bba2f09a44eb8..4c39036819b60 100644 --- a/tests/baselines/reference/accessorsEmit.js +++ b/tests/baselines/reference/accessorsEmit.js @@ -18,6 +18,7 @@ class Test2 { } //// [accessorsEmit.js] +"use strict"; var Result = /** @class */ (function () { function Result() { } diff --git a/tests/baselines/reference/accessorsInAmbientContext.js b/tests/baselines/reference/accessorsInAmbientContext.js index 73122973c5b3c..189b4f1a9412a 100644 --- a/tests/baselines/reference/accessorsInAmbientContext.js +++ b/tests/baselines/reference/accessorsInAmbientContext.js @@ -20,3 +20,4 @@ declare class C { } //// [accessorsInAmbientContext.js] +"use strict"; diff --git a/tests/baselines/reference/accessorsOverrideMethod.js b/tests/baselines/reference/accessorsOverrideMethod.js index aebe8002d54ba..a352e4381f022 100644 --- a/tests/baselines/reference/accessorsOverrideMethod.js +++ b/tests/baselines/reference/accessorsOverrideMethod.js @@ -10,6 +10,7 @@ class B extends A { //// [accessorsOverrideMethod.js] +"use strict"; class A { m() { } } diff --git a/tests/baselines/reference/accessorsOverrideProperty.js b/tests/baselines/reference/accessorsOverrideProperty.js index fc81501712031..b5a17feb42895 100644 --- a/tests/baselines/reference/accessorsOverrideProperty.js +++ b/tests/baselines/reference/accessorsOverrideProperty.js @@ -18,6 +18,7 @@ class D extends C { //// [accessorsOverrideProperty.js] +"use strict"; class A { p = 'yep'; } diff --git a/tests/baselines/reference/accessorsOverrideProperty2.js b/tests/baselines/reference/accessorsOverrideProperty2.js index 39bad9d894e37..3b7a27b5e17f5 100644 --- a/tests/baselines/reference/accessorsOverrideProperty2.js +++ b/tests/baselines/reference/accessorsOverrideProperty2.js @@ -15,6 +15,7 @@ console.log(obj.x); // number //// [accessorsOverrideProperty2.js] +"use strict"; class Base { x = 1; } diff --git a/tests/baselines/reference/accessorsOverrideProperty3.js b/tests/baselines/reference/accessorsOverrideProperty3.js index f030e47d5a784..9240062059b68 100644 --- a/tests/baselines/reference/accessorsOverrideProperty3.js +++ b/tests/baselines/reference/accessorsOverrideProperty3.js @@ -12,6 +12,7 @@ class Lion extends Animal { //// [accessorsOverrideProperty3.js] +"use strict"; class Lion extends Animal { _sound = 'grrr'; get sound() { return this._sound; } // error here diff --git a/tests/baselines/reference/accessorsOverrideProperty4.js b/tests/baselines/reference/accessorsOverrideProperty4.js index 3b3f273685b63..d1fc34dc866ca 100644 --- a/tests/baselines/reference/accessorsOverrideProperty4.js +++ b/tests/baselines/reference/accessorsOverrideProperty4.js @@ -12,6 +12,7 @@ class Lion extends Animal { //// [accessorsOverrideProperty4.js] +"use strict"; class Lion extends Animal { _sound = 'roar'; get sound() { return this._sound; } diff --git a/tests/baselines/reference/accessorsOverrideProperty5.js b/tests/baselines/reference/accessorsOverrideProperty5.js index 6f6af3a404449..e2745e480e26b 100644 --- a/tests/baselines/reference/accessorsOverrideProperty5.js +++ b/tests/baselines/reference/accessorsOverrideProperty5.js @@ -13,6 +13,7 @@ class C extends B { //// [accessorsOverrideProperty5.js] +"use strict"; class B { } class C extends B { diff --git a/tests/baselines/reference/accessorsOverrideProperty6.js b/tests/baselines/reference/accessorsOverrideProperty6.js index 7a5ceb71e8c61..4c1a19dfb42c0 100644 --- a/tests/baselines/reference/accessorsOverrideProperty6.js +++ b/tests/baselines/reference/accessorsOverrideProperty6.js @@ -18,6 +18,7 @@ class D extends C { //// [accessorsOverrideProperty6.js] +"use strict"; class A { constructor() { this.p = 'yep'; diff --git a/tests/baselines/reference/accessorsOverrideProperty7.js b/tests/baselines/reference/accessorsOverrideProperty7.js index b4b222b18387d..6bd04f695d9d9 100644 --- a/tests/baselines/reference/accessorsOverrideProperty7.js +++ b/tests/baselines/reference/accessorsOverrideProperty7.js @@ -10,6 +10,7 @@ class B extends A { //// [accessorsOverrideProperty7.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/accessorsOverrideProperty8.js b/tests/baselines/reference/accessorsOverrideProperty8.js index 57f35263f166d..d43749339413b 100644 --- a/tests/baselines/reference/accessorsOverrideProperty8.js +++ b/tests/baselines/reference/accessorsOverrideProperty8.js @@ -35,6 +35,7 @@ const value = mine.x; //// [accessorsOverrideProperty8.js] +"use strict"; const Base = classWithProperties({ get x() { return 'boolean'; }, y: 'string', diff --git a/tests/baselines/reference/accessors_spec_section-4.5_error-cases.js b/tests/baselines/reference/accessors_spec_section-4.5_error-cases.js index 9a23d75382896..0c2311744061c 100644 --- a/tests/baselines/reference/accessors_spec_section-4.5_error-cases.js +++ b/tests/baselines/reference/accessors_spec_section-4.5_error-cases.js @@ -16,6 +16,7 @@ class LanguageSpec_section_4_5_error_cases { } //// [accessors_spec_section-4.5_error-cases.js] +"use strict"; var LanguageSpec_section_4_5_error_cases = /** @class */ (function () { function LanguageSpec_section_4_5_error_cases() { } diff --git a/tests/baselines/reference/accessors_spec_section-4.5_inference.js b/tests/baselines/reference/accessors_spec_section-4.5_inference.js index 24c228f075453..2208057294642 100644 --- a/tests/baselines/reference/accessors_spec_section-4.5_inference.js +++ b/tests/baselines/reference/accessors_spec_section-4.5_inference.js @@ -27,6 +27,7 @@ class LanguageSpec_section_4_5_inference { } //// [accessors_spec_section-4.5_inference.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/addMoreCallSignaturesToBaseSignature.js b/tests/baselines/reference/addMoreCallSignaturesToBaseSignature.js index 6d2085bf3c0b2..6366b65914aa3 100644 --- a/tests/baselines/reference/addMoreCallSignaturesToBaseSignature.js +++ b/tests/baselines/reference/addMoreCallSignaturesToBaseSignature.js @@ -14,5 +14,6 @@ var kitty = a(); //// [addMoreCallSignaturesToBaseSignature.js] +"use strict"; var a; var kitty = a(); diff --git a/tests/baselines/reference/addMoreCallSignaturesToBaseSignature2.js b/tests/baselines/reference/addMoreCallSignaturesToBaseSignature2.js index c21f6c2c4fe56..a49a733e3c913 100644 --- a/tests/baselines/reference/addMoreCallSignaturesToBaseSignature2.js +++ b/tests/baselines/reference/addMoreCallSignaturesToBaseSignature2.js @@ -13,5 +13,6 @@ var a: Bar; var kitty = a(1); //// [addMoreCallSignaturesToBaseSignature2.js] +"use strict"; var a; var kitty = a(1); diff --git a/tests/baselines/reference/addMoreOverloadsToBaseSignature.js b/tests/baselines/reference/addMoreOverloadsToBaseSignature.js index de56258b76f3f..e116e69dcec47 100644 --- a/tests/baselines/reference/addMoreOverloadsToBaseSignature.js +++ b/tests/baselines/reference/addMoreOverloadsToBaseSignature.js @@ -11,3 +11,4 @@ interface Bar extends Foo { //// [addMoreOverloadsToBaseSignature.js] +"use strict"; diff --git a/tests/baselines/reference/additionOperatorWithAnyAndEveryType.js b/tests/baselines/reference/additionOperatorWithAnyAndEveryType.js index 589def5941fd3..4cf6cde64a354 100644 --- a/tests/baselines/reference/additionOperatorWithAnyAndEveryType.js +++ b/tests/baselines/reference/additionOperatorWithAnyAndEveryType.js @@ -42,6 +42,7 @@ var r19 = a + { a: '' }; var r20 = a + ((a: string) => { return a }); //// [additionOperatorWithAnyAndEveryType.js] +"use strict"; function foo() { } var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/additionOperatorWithConstrainedTypeParameter.js b/tests/baselines/reference/additionOperatorWithConstrainedTypeParameter.js index dbf1f3ddaa83e..a357c26fa60b7 100644 --- a/tests/baselines/reference/additionOperatorWithConstrainedTypeParameter.js +++ b/tests/baselines/reference/additionOperatorWithConstrainedTypeParameter.js @@ -15,6 +15,7 @@ function realSum, K extends string>(n: number, vs: T //// [additionOperatorWithConstrainedTypeParameter.js] +"use strict"; // test for #17069 function sum(n, v, k) { n = n + v[k]; diff --git a/tests/baselines/reference/additionOperatorWithInvalidOperands.js b/tests/baselines/reference/additionOperatorWithInvalidOperands.js index d42f381dfd70c..c03dab286aa79 100644 --- a/tests/baselines/reference/additionOperatorWithInvalidOperands.js +++ b/tests/baselines/reference/additionOperatorWithInvalidOperands.js @@ -43,6 +43,7 @@ var r19 = E.a + C.foo(); var r20 = E.a + M; //// [additionOperatorWithInvalidOperands.js] +"use strict"; function foo() { } var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/additionOperatorWithNullValueAndInvalidOperator.js b/tests/baselines/reference/additionOperatorWithNullValueAndInvalidOperator.js index 6a38d10bd00aa..48dcae482ebc9 100644 --- a/tests/baselines/reference/additionOperatorWithNullValueAndInvalidOperator.js +++ b/tests/baselines/reference/additionOperatorWithNullValueAndInvalidOperator.js @@ -26,6 +26,7 @@ var r10 = null + foo(); var r11 = null + (() => { }); //// [additionOperatorWithNullValueAndInvalidOperator.js] +"use strict"; // If one operand is the null or undefined value, it is treated as having the type of the other operand. function foo() { return undefined; } // null + boolean/Object diff --git a/tests/baselines/reference/additionOperatorWithNullValueAndValidOperator.js b/tests/baselines/reference/additionOperatorWithNullValueAndValidOperator.js index 0c9c6750982ed..0ed68b06716c8 100644 --- a/tests/baselines/reference/additionOperatorWithNullValueAndValidOperator.js +++ b/tests/baselines/reference/additionOperatorWithNullValueAndValidOperator.js @@ -33,6 +33,7 @@ var r15 = d + null; var r16 = '' + null; //// [additionOperatorWithNullValueAndValidOperator.js] +"use strict"; // If one operand is the null or undefined value, it is treated as having the type of the other operand. var E; (function (E) { diff --git a/tests/baselines/reference/additionOperatorWithNumberAndEnum.js b/tests/baselines/reference/additionOperatorWithNumberAndEnum.js index f687ae509f49f..d41a009fdbf58 100644 --- a/tests/baselines/reference/additionOperatorWithNumberAndEnum.js +++ b/tests/baselines/reference/additionOperatorWithNumberAndEnum.js @@ -27,6 +27,7 @@ var r14 = c + c; //// [additionOperatorWithNumberAndEnum.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/additionOperatorWithOnlyNullValueOrUndefinedValue.js b/tests/baselines/reference/additionOperatorWithOnlyNullValueOrUndefinedValue.js index 94d34e8a15705..0c06a18fcd5e6 100644 --- a/tests/baselines/reference/additionOperatorWithOnlyNullValueOrUndefinedValue.js +++ b/tests/baselines/reference/additionOperatorWithOnlyNullValueOrUndefinedValue.js @@ -8,6 +8,7 @@ var r3 = undefined + null; var r4 = undefined + undefined; //// [additionOperatorWithOnlyNullValueOrUndefinedValue.js] +"use strict"; // bug 819721 var r1 = null + null; var r2 = null + undefined; diff --git a/tests/baselines/reference/additionOperatorWithStringAndEveryType.js b/tests/baselines/reference/additionOperatorWithStringAndEveryType.js index aa6652ac8a8d3..351176e204402 100644 --- a/tests/baselines/reference/additionOperatorWithStringAndEveryType.js +++ b/tests/baselines/reference/additionOperatorWithStringAndEveryType.js @@ -41,6 +41,7 @@ var r19 = x + { a: '' }; var r20 = x + []; //// [additionOperatorWithStringAndEveryType.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/additionOperatorWithTypeParameter.js b/tests/baselines/reference/additionOperatorWithTypeParameter.js index aaf8c9d72d9b2..8f87b409aebd5 100644 --- a/tests/baselines/reference/additionOperatorWithTypeParameter.js +++ b/tests/baselines/reference/additionOperatorWithTypeParameter.js @@ -41,6 +41,7 @@ function foo(t: T, u: U) { } //// [additionOperatorWithTypeParameter.js] +"use strict"; // type parameter type is not a valid operand of addition operator var E; (function (E) { diff --git a/tests/baselines/reference/additionOperatorWithUndefinedValueAndInvalidOperands.js b/tests/baselines/reference/additionOperatorWithUndefinedValueAndInvalidOperands.js index c4d1cafd628d3..f72fba440bcf6 100644 --- a/tests/baselines/reference/additionOperatorWithUndefinedValueAndInvalidOperands.js +++ b/tests/baselines/reference/additionOperatorWithUndefinedValueAndInvalidOperands.js @@ -26,6 +26,7 @@ var r10 = undefined + foo(); var r11 = undefined + (() => { }); //// [additionOperatorWithUndefinedValueAndInvalidOperands.js] +"use strict"; // If one operand is the null or undefined value, it is treated as having the type of the other operand. function foo() { return undefined; } // undefined + boolean/Object diff --git a/tests/baselines/reference/additionOperatorWithUndefinedValueAndValidOperator.js b/tests/baselines/reference/additionOperatorWithUndefinedValueAndValidOperator.js index f80fb1253c3f4..db7c8097db3e6 100644 --- a/tests/baselines/reference/additionOperatorWithUndefinedValueAndValidOperator.js +++ b/tests/baselines/reference/additionOperatorWithUndefinedValueAndValidOperator.js @@ -33,6 +33,7 @@ var r15 = d + undefined; var r16 = '' + undefined; //// [additionOperatorWithUndefinedValueAndValidOperator.js] +"use strict"; // If one operand is the null or undefined value, it is treated as having the type of the other operand. var E; (function (E) { diff --git a/tests/baselines/reference/aliasBug.js b/tests/baselines/reference/aliasBug.js index 06141186575be..bc664661516b2 100644 --- a/tests/baselines/reference/aliasBug.js +++ b/tests/baselines/reference/aliasBug.js @@ -22,6 +22,7 @@ function use() { //// [aliasBug.js] +"use strict"; var foo; (function (foo) { var Provide = /** @class */ (function () { diff --git a/tests/baselines/reference/aliasErrors.js b/tests/baselines/reference/aliasErrors.js index 5c30d59958a58..9ece25aa2f47b 100644 --- a/tests/baselines/reference/aliasErrors.js +++ b/tests/baselines/reference/aliasErrors.js @@ -33,6 +33,7 @@ function use() { //// [aliasErrors.js] +"use strict"; var foo; (function (foo) { var Provide = /** @class */ (function () { diff --git a/tests/baselines/reference/aliasInaccessibleModule.js b/tests/baselines/reference/aliasInaccessibleModule.js index 72460c86f5458..690b65b36f107 100644 --- a/tests/baselines/reference/aliasInaccessibleModule.js +++ b/tests/baselines/reference/aliasInaccessibleModule.js @@ -8,6 +8,7 @@ namespace M { } //// [aliasInaccessibleModule.js] +"use strict"; var M; (function (M) { })(M || (M = {})); diff --git a/tests/baselines/reference/aliasInaccessibleModule2.js b/tests/baselines/reference/aliasInaccessibleModule2.js index 46dd42695bb16..4ee21152c4047 100644 --- a/tests/baselines/reference/aliasInaccessibleModule2.js +++ b/tests/baselines/reference/aliasInaccessibleModule2.js @@ -12,6 +12,7 @@ namespace M { } //// [aliasInaccessibleModule2.js] +"use strict"; var M; (function (M) { var N; diff --git a/tests/baselines/reference/aliasOnMergedModuleInterface.js b/tests/baselines/reference/aliasOnMergedModuleInterface.js index 3d032add8eb62..5d9c2d30045da 100644 --- a/tests/baselines/reference/aliasOnMergedModuleInterface.js +++ b/tests/baselines/reference/aliasOnMergedModuleInterface.js @@ -22,6 +22,7 @@ var x: foo.A = foo.bar("hello"); // foo.A should be ok but foo.bar should be err //// [aliasOnMergedModuleInterface_0.js] +"use strict"; //// [aliasOnMergedModuleInterface_1.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/allowUnescapedParagraphAndLineSeparatorsInStringLiteral.js b/tests/baselines/reference/allowUnescapedParagraphAndLineSeparatorsInStringLiteral.js index 9080fce8c91d5..af4c01a2f69bf 100644 --- a/tests/baselines/reference/allowUnescapedParagraphAndLineSeparatorsInStringLiteral.js +++ b/tests/baselines/reference/allowUnescapedParagraphAndLineSeparatorsInStringLiteral.js @@ -27,6 +27,7 @@ var arr = [ ]; //// [allowUnescapedParagraphAndLineSeparatorsInStringLiteral.js] +"use strict"; // Strings containing unescaped line / paragraph separators // Using both single quotes, double quotes and template literals var stringContainingUnescapedLineSeparator1 = "
STRING_CONTENT
"; diff --git a/tests/baselines/reference/alwaysStrictDeprecation.errors.txt b/tests/baselines/reference/alwaysStrictDeprecation.errors.txt new file mode 100644 index 0000000000000..022c45ebf2369 --- /dev/null +++ b/tests/baselines/reference/alwaysStrictDeprecation.errors.txt @@ -0,0 +1,15 @@ +/foo/tsconfig.json(3,25): error TS5107: Option 'alwaysStrict=false' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + + +==== /foo/tsconfig.json (1 errors) ==== + { + "compilerOptions": { + "alwaysStrict": false + ~~~~~ +!!! error TS5107: Option 'alwaysStrict=false' is deprecated and will stop functioning in TypeScript 7.0. Specify compilerOption '"ignoreDeprecations": "6.0"' to silence this error. + } + } + +==== /foo/a.ts (0 errors) ==== + const a = 1; + \ No newline at end of file diff --git a/tests/baselines/reference/alwaysStrictDeprecation.js b/tests/baselines/reference/alwaysStrictDeprecation.js new file mode 100644 index 0000000000000..c83c5c4a3cd3e --- /dev/null +++ b/tests/baselines/reference/alwaysStrictDeprecation.js @@ -0,0 +1,8 @@ +//// [tests/cases/compiler/alwaysStrictDeprecation.ts] //// + +//// [a.ts] +const a = 1; + + +//// [a.js] +var a = 1; diff --git a/tests/baselines/reference/alwaysStrictDeprecation.symbols b/tests/baselines/reference/alwaysStrictDeprecation.symbols new file mode 100644 index 0000000000000..b7f2e1f27ecd7 --- /dev/null +++ b/tests/baselines/reference/alwaysStrictDeprecation.symbols @@ -0,0 +1,6 @@ +//// [tests/cases/compiler/alwaysStrictDeprecation.ts] //// + +=== /foo/a.ts === +const a = 1; +>a : Symbol(a, Decl(a.ts, 0, 5)) + diff --git a/tests/baselines/reference/alwaysStrictDeprecation.types b/tests/baselines/reference/alwaysStrictDeprecation.types new file mode 100644 index 0000000000000..e333b2124670c --- /dev/null +++ b/tests/baselines/reference/alwaysStrictDeprecation.types @@ -0,0 +1,9 @@ +//// [tests/cases/compiler/alwaysStrictDeprecation.ts] //// + +=== /foo/a.ts === +const a = 1; +>a : 1 +> : ^ +>1 : 1 +> : ^ + diff --git a/tests/baselines/reference/alwaysStrictDeprecationSilenced.js b/tests/baselines/reference/alwaysStrictDeprecationSilenced.js new file mode 100644 index 0000000000000..f2b75001311a4 --- /dev/null +++ b/tests/baselines/reference/alwaysStrictDeprecationSilenced.js @@ -0,0 +1,8 @@ +//// [tests/cases/compiler/alwaysStrictDeprecationSilenced.ts] //// + +//// [a.ts] +const a = 1; + + +//// [a.js] +var a = 1; diff --git a/tests/baselines/reference/alwaysStrictDeprecationSilenced.symbols b/tests/baselines/reference/alwaysStrictDeprecationSilenced.symbols new file mode 100644 index 0000000000000..6156f09729ded --- /dev/null +++ b/tests/baselines/reference/alwaysStrictDeprecationSilenced.symbols @@ -0,0 +1,6 @@ +//// [tests/cases/compiler/alwaysStrictDeprecationSilenced.ts] //// + +=== /foo/a.ts === +const a = 1; +>a : Symbol(a, Decl(a.ts, 0, 5)) + diff --git a/tests/baselines/reference/alwaysStrictDeprecationSilenced.types b/tests/baselines/reference/alwaysStrictDeprecationSilenced.types new file mode 100644 index 0000000000000..3797936457f1d --- /dev/null +++ b/tests/baselines/reference/alwaysStrictDeprecationSilenced.types @@ -0,0 +1,9 @@ +//// [tests/cases/compiler/alwaysStrictDeprecationSilenced.ts] //// + +=== /foo/a.ts === +const a = 1; +>a : 1 +> : ^ +>1 : 1 +> : ^ + diff --git a/tests/baselines/reference/ambientAccessors.js b/tests/baselines/reference/ambientAccessors.js index f9835d3460dd9..d88518695b26d 100644 --- a/tests/baselines/reference/ambientAccessors.js +++ b/tests/baselines/reference/ambientAccessors.js @@ -17,6 +17,7 @@ declare class C { } //// [ambientAccessors.js] +"use strict"; //// [ambientAccessors.d.ts] diff --git a/tests/baselines/reference/ambientClassDeclarationWithExtends.js b/tests/baselines/reference/ambientClassDeclarationWithExtends.js index 1b7bcf88b2084..b1d00a84c2dc6 100644 --- a/tests/baselines/reference/ambientClassDeclarationWithExtends.js +++ b/tests/baselines/reference/ambientClassDeclarationWithExtends.js @@ -24,15 +24,18 @@ var f: E = new F(); //// [ambientClassDeclarationExtends_singleFile.js] +"use strict"; var D; (function (D) { var x; })(D || (D = {})); var d = new D(); //// [ambientClassDeclarationExtends_file1.js] +"use strict"; var F; (function (F) { var y; })(F || (F = {})); //// [ambientClassDeclarationExtends_file2.js] +"use strict"; var f = new F(); diff --git a/tests/baselines/reference/ambientClassMergesOverloadsWithInterface.js b/tests/baselines/reference/ambientClassMergesOverloadsWithInterface.js index 65fa42abc0c1c..a07d4c7932958 100644 --- a/tests/baselines/reference/ambientClassMergesOverloadsWithInterface.js +++ b/tests/baselines/reference/ambientClassMergesOverloadsWithInterface.js @@ -12,3 +12,4 @@ interface C { //// [ambientClassMergesOverloadsWithInterface.js] +"use strict"; diff --git a/tests/baselines/reference/ambientClassOverloadForFunction.js b/tests/baselines/reference/ambientClassOverloadForFunction.js index cda770e893fdc..b3193ccce912e 100644 --- a/tests/baselines/reference/ambientClassOverloadForFunction.js +++ b/tests/baselines/reference/ambientClassOverloadForFunction.js @@ -6,5 +6,6 @@ function foo() { return null; } //// [ambientClassOverloadForFunction.js] +"use strict"; ; function foo() { return null; } diff --git a/tests/baselines/reference/ambientConstLiterals.js b/tests/baselines/reference/ambientConstLiterals.js index 8b35d43487203..25960234a567e 100644 --- a/tests/baselines/reference/ambientConstLiterals.js +++ b/tests/baselines/reference/ambientConstLiterals.js @@ -24,6 +24,7 @@ const c13 = Math.random() > 0.5 ? "abc" : "def"; const c14 = Math.random() > 0.5 ? 123 : 456; //// [ambientConstLiterals.js] +"use strict"; function f(x) { return x; } diff --git a/tests/baselines/reference/ambientDeclarations.js b/tests/baselines/reference/ambientDeclarations.js index 51c77dcb33df3..28b568f6cea64 100644 --- a/tests/baselines/reference/ambientDeclarations.js +++ b/tests/baselines/reference/ambientDeclarations.js @@ -79,6 +79,7 @@ declare module 'external1' { //// [ambientDeclarations.js] +"use strict"; var x = E3.B; // Ambient module members are always exported with or without export keyword var p = M1.x; diff --git a/tests/baselines/reference/ambientDeclarationsExternal.js b/tests/baselines/reference/ambientDeclarationsExternal.js index 6a4569d3dfcef..967d01e6040b3 100644 --- a/tests/baselines/reference/ambientDeclarationsExternal.js +++ b/tests/baselines/reference/ambientDeclarationsExternal.js @@ -24,6 +24,7 @@ var n: number; //// [decls.js] +"use strict"; // Ambient external import declaration referencing ambient external module using top level module name //// [consumer.js] "use strict"; diff --git a/tests/baselines/reference/ambientDeclarationsPatterns_merging1.js b/tests/baselines/reference/ambientDeclarationsPatterns_merging1.js index 7ffe5313a13c1..a3213e1881844 100644 --- a/tests/baselines/reference/ambientDeclarationsPatterns_merging1.js +++ b/tests/baselines/reference/ambientDeclarationsPatterns_merging1.js @@ -17,6 +17,7 @@ import { everywhere, onlyInA } from "b.foo"; // Error //// [types.js] +"use strict"; //// [testA.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/ambientDeclarationsPatterns_merging2.js b/tests/baselines/reference/ambientDeclarationsPatterns_merging2.js index 97c32855f449e..1833511e82b08 100644 --- a/tests/baselines/reference/ambientDeclarationsPatterns_merging2.js +++ b/tests/baselines/reference/ambientDeclarationsPatterns_merging2.js @@ -19,6 +19,7 @@ declare module "a.foo" { } //// [types.js] +"use strict"; //// [testA.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/ambientDeclarationsPatterns_merging3.js b/tests/baselines/reference/ambientDeclarationsPatterns_merging3.js index 63645257d8e7c..67a35bc03c37d 100644 --- a/tests/baselines/reference/ambientDeclarationsPatterns_merging3.js +++ b/tests/baselines/reference/ambientDeclarationsPatterns_merging3.js @@ -15,6 +15,7 @@ ohno.a // oh no //// [types.js] +"use strict"; //// [test.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/ambientDeclarationsPatterns_tooManyAsterisks.js b/tests/baselines/reference/ambientDeclarationsPatterns_tooManyAsterisks.js index 912a1132ba3e5..0e881b7e50f35 100644 --- a/tests/baselines/reference/ambientDeclarationsPatterns_tooManyAsterisks.js +++ b/tests/baselines/reference/ambientDeclarationsPatterns_tooManyAsterisks.js @@ -5,3 +5,4 @@ declare module "too*many*asterisks" { } //// [ambientDeclarationsPatterns_tooManyAsterisks.js] +"use strict"; diff --git a/tests/baselines/reference/ambientEnum1.js b/tests/baselines/reference/ambientEnum1.js index f79ceb09810ae..acff38d706129 100644 --- a/tests/baselines/reference/ambientEnum1.js +++ b/tests/baselines/reference/ambientEnum1.js @@ -11,3 +11,4 @@ } //// [ambientEnum1.js] +"use strict"; diff --git a/tests/baselines/reference/ambientEnumDeclaration1.js b/tests/baselines/reference/ambientEnumDeclaration1.js index 392815014a0cf..33ef6b0b93304 100644 --- a/tests/baselines/reference/ambientEnumDeclaration1.js +++ b/tests/baselines/reference/ambientEnumDeclaration1.js @@ -12,4 +12,5 @@ declare enum E { } //// [ambientEnumDeclaration1.js] +"use strict"; // In ambient enum declarations, all values specified in enum member declarations must be classified as constant enum expressions. diff --git a/tests/baselines/reference/ambientEnumDeclaration2.js b/tests/baselines/reference/ambientEnumDeclaration2.js index 52b0c859f0c0c..d20d8b43873cf 100644 --- a/tests/baselines/reference/ambientEnumDeclaration2.js +++ b/tests/baselines/reference/ambientEnumDeclaration2.js @@ -15,5 +15,6 @@ declare const enum E1 { } //// [ambientEnumDeclaration2.js] +"use strict"; // In ambient enum declarations that specify no const modifier, enum member declarations // that omit a value are considered computed members (as opposed to having auto- incremented values assigned). diff --git a/tests/baselines/reference/ambientEnumElementInitializer1.js b/tests/baselines/reference/ambientEnumElementInitializer1.js index 6d149cc3789bb..0348763b44570 100644 --- a/tests/baselines/reference/ambientEnumElementInitializer1.js +++ b/tests/baselines/reference/ambientEnumElementInitializer1.js @@ -6,3 +6,4 @@ declare enum E { } //// [ambientEnumElementInitializer1.js] +"use strict"; diff --git a/tests/baselines/reference/ambientEnumElementInitializer2.js b/tests/baselines/reference/ambientEnumElementInitializer2.js index 1521ff937cc39..ffa306c0af7d9 100644 --- a/tests/baselines/reference/ambientEnumElementInitializer2.js +++ b/tests/baselines/reference/ambientEnumElementInitializer2.js @@ -6,3 +6,4 @@ declare enum E { } //// [ambientEnumElementInitializer2.js] +"use strict"; diff --git a/tests/baselines/reference/ambientEnumElementInitializer3.js b/tests/baselines/reference/ambientEnumElementInitializer3.js index c490d76afef61..b2c1bce9f2893 100644 --- a/tests/baselines/reference/ambientEnumElementInitializer3.js +++ b/tests/baselines/reference/ambientEnumElementInitializer3.js @@ -6,3 +6,4 @@ declare enum E { } //// [ambientEnumElementInitializer3.js] +"use strict"; diff --git a/tests/baselines/reference/ambientEnumElementInitializer4.js b/tests/baselines/reference/ambientEnumElementInitializer4.js index 57c0c83c79238..3bd38ea249089 100644 --- a/tests/baselines/reference/ambientEnumElementInitializer4.js +++ b/tests/baselines/reference/ambientEnumElementInitializer4.js @@ -6,3 +6,4 @@ declare enum E { } //// [ambientEnumElementInitializer4.js] +"use strict"; diff --git a/tests/baselines/reference/ambientEnumElementInitializer5.js b/tests/baselines/reference/ambientEnumElementInitializer5.js index c262e98e9b9e8..57f90f616714b 100644 --- a/tests/baselines/reference/ambientEnumElementInitializer5.js +++ b/tests/baselines/reference/ambientEnumElementInitializer5.js @@ -6,3 +6,4 @@ declare enum E { } //// [ambientEnumElementInitializer5.js] +"use strict"; diff --git a/tests/baselines/reference/ambientEnumElementInitializer6.js b/tests/baselines/reference/ambientEnumElementInitializer6.js index 59e6b64781a86..8e4ead9804355 100644 --- a/tests/baselines/reference/ambientEnumElementInitializer6.js +++ b/tests/baselines/reference/ambientEnumElementInitializer6.js @@ -8,3 +8,4 @@ declare namespace M { } //// [ambientEnumElementInitializer6.js] +"use strict"; diff --git a/tests/baselines/reference/ambientErrors.js b/tests/baselines/reference/ambientErrors.js index 3997413b62abc..314361829881b 100644 --- a/tests/baselines/reference/ambientErrors.js +++ b/tests/baselines/reference/ambientErrors.js @@ -62,4 +62,5 @@ declare module 'bar' { //// [ambientErrors.js] +"use strict"; ; diff --git a/tests/baselines/reference/ambientErrors1.js b/tests/baselines/reference/ambientErrors1.js index 2e941b4cd7f23..5cd257080f2d6 100644 --- a/tests/baselines/reference/ambientErrors1.js +++ b/tests/baselines/reference/ambientErrors1.js @@ -4,3 +4,4 @@ declare var x = 4; //// [ambientErrors1.js] +"use strict"; diff --git a/tests/baselines/reference/ambientExternalModuleInsideNonAmbient.js b/tests/baselines/reference/ambientExternalModuleInsideNonAmbient.js index 36293e56b69e3..ba2caa15aa766 100644 --- a/tests/baselines/reference/ambientExternalModuleInsideNonAmbient.js +++ b/tests/baselines/reference/ambientExternalModuleInsideNonAmbient.js @@ -6,3 +6,4 @@ namespace M { } //// [ambientExternalModuleInsideNonAmbient.js] +"use strict"; diff --git a/tests/baselines/reference/ambientExternalModuleMerging.js b/tests/baselines/reference/ambientExternalModuleMerging.js index 9dffd75fc8c50..9af61b168d926 100644 --- a/tests/baselines/reference/ambientExternalModuleMerging.js +++ b/tests/baselines/reference/ambientExternalModuleMerging.js @@ -25,3 +25,4 @@ define(["require", "exports", "M"], function (require, exports, M) { var y = M.y; }); //// [ambientExternalModuleMerging_declare.js] +"use strict"; diff --git a/tests/baselines/reference/ambientExternalModuleReopen.js b/tests/baselines/reference/ambientExternalModuleReopen.js index aa8b45cf292a8..00930f0e09f4f 100644 --- a/tests/baselines/reference/ambientExternalModuleReopen.js +++ b/tests/baselines/reference/ambientExternalModuleReopen.js @@ -9,3 +9,4 @@ declare module 'fs' { } //// [ambientExternalModuleReopen.js] +"use strict"; diff --git a/tests/baselines/reference/ambientExternalModuleWithInternalImportDeclaration.js b/tests/baselines/reference/ambientExternalModuleWithInternalImportDeclaration.js index 8f3739c11b49b..7ea2ff7d6d488 100644 --- a/tests/baselines/reference/ambientExternalModuleWithInternalImportDeclaration.js +++ b/tests/baselines/reference/ambientExternalModuleWithInternalImportDeclaration.js @@ -19,6 +19,7 @@ import A = require('M'); var c = new A(); //// [ambientExternalModuleWithInternalImportDeclaration_0.js] +"use strict"; //// [ambientExternalModuleWithInternalImportDeclaration_1.js] define(["require", "exports", "M"], function (require, exports, A) { "use strict"; diff --git a/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.js b/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.js index 10c7fecb2c8fc..2f946802a1dc7 100644 --- a/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.js +++ b/tests/baselines/reference/ambientExternalModuleWithRelativeExternalImportDeclaration.js @@ -13,3 +13,4 @@ declare module "OuterModule" { } //// [ambientExternalModuleWithRelativeExternalImportDeclaration.js] +"use strict"; diff --git a/tests/baselines/reference/ambientExternalModuleWithRelativeModuleName.js b/tests/baselines/reference/ambientExternalModuleWithRelativeModuleName.js index 1dc10e694ca28..b13af46f1524d 100644 --- a/tests/baselines/reference/ambientExternalModuleWithRelativeModuleName.js +++ b/tests/baselines/reference/ambientExternalModuleWithRelativeModuleName.js @@ -10,3 +10,4 @@ declare module ".\\relativeModule" { } //// [ambientExternalModuleWithRelativeModuleName.js] +"use strict"; diff --git a/tests/baselines/reference/ambientExternalModuleWithoutInternalImportDeclaration.js b/tests/baselines/reference/ambientExternalModuleWithoutInternalImportDeclaration.js index 7f53c9b6e037e..16f1e753dfce3 100644 --- a/tests/baselines/reference/ambientExternalModuleWithoutInternalImportDeclaration.js +++ b/tests/baselines/reference/ambientExternalModuleWithoutInternalImportDeclaration.js @@ -18,6 +18,7 @@ import A = require('M'); var c = new A(); //// [ambientExternalModuleWithoutInternalImportDeclaration_0.js] +"use strict"; //// [ambientExternalModuleWithoutInternalImportDeclaration_1.js] define(["require", "exports", "M"], function (require, exports, A) { "use strict"; diff --git a/tests/baselines/reference/ambientFundule.js b/tests/baselines/reference/ambientFundule.js index 6ede114d99e92..c4c6a6d5d9a60 100644 --- a/tests/baselines/reference/ambientFundule.js +++ b/tests/baselines/reference/ambientFundule.js @@ -6,3 +6,4 @@ declare namespace f { var x } declare function f(x); //// [ambientFundule.js] +"use strict"; diff --git a/tests/baselines/reference/ambientGetters.js b/tests/baselines/reference/ambientGetters.js index df95e36dbfd3e..741c0a517e014 100644 --- a/tests/baselines/reference/ambientGetters.js +++ b/tests/baselines/reference/ambientGetters.js @@ -10,3 +10,4 @@ declare class B { } //// [ambientGetters.js] +"use strict"; diff --git a/tests/baselines/reference/ambientInsideNonAmbient.js b/tests/baselines/reference/ambientInsideNonAmbient.js index c6388d9939ca2..14053755d6f0f 100644 --- a/tests/baselines/reference/ambientInsideNonAmbient.js +++ b/tests/baselines/reference/ambientInsideNonAmbient.js @@ -18,6 +18,7 @@ namespace M2 { } //// [ambientInsideNonAmbient.js] +"use strict"; var M; (function (M) { })(M || (M = {})); diff --git a/tests/baselines/reference/ambientModuleExports.js b/tests/baselines/reference/ambientModuleExports.js index e4ea4d04c9619..67fb6f6480922 100644 --- a/tests/baselines/reference/ambientModuleExports.js +++ b/tests/baselines/reference/ambientModuleExports.js @@ -22,6 +22,7 @@ Foo2.b; var c2 = new Foo2.C(); //// [ambientModuleExports.js] +"use strict"; Foo.a(); Foo.b; var c = new Foo.C(); diff --git a/tests/baselines/reference/ambientModuleWithClassDeclarationWithExtends.js b/tests/baselines/reference/ambientModuleWithClassDeclarationWithExtends.js index 89af25fa662b2..c9eb7454f87be 100644 --- a/tests/baselines/reference/ambientModuleWithClassDeclarationWithExtends.js +++ b/tests/baselines/reference/ambientModuleWithClassDeclarationWithExtends.js @@ -7,3 +7,4 @@ declare namespace foo { } //// [ambientModuleWithClassDeclarationWithExtends.js] +"use strict"; diff --git a/tests/baselines/reference/ambientModuleWithTemplateLiterals.js b/tests/baselines/reference/ambientModuleWithTemplateLiterals.js index e2fce1a4cd796..c9a5a4a43f775 100644 --- a/tests/baselines/reference/ambientModuleWithTemplateLiterals.js +++ b/tests/baselines/reference/ambientModuleWithTemplateLiterals.js @@ -23,6 +23,7 @@ Foo.d; Foo.e; //// [ambientModuleWithTemplateLiterals.js] +"use strict"; Foo.a; Foo.b; Foo.c; diff --git a/tests/baselines/reference/ambientModules.js b/tests/baselines/reference/ambientModules.js index 2bf38460e61c1..500a11a5237b5 100644 --- a/tests/baselines/reference/ambientModules.js +++ b/tests/baselines/reference/ambientModules.js @@ -5,5 +5,6 @@ declare namespace Foo.Bar { export var foo; }; Foo.Bar.foo = 5; //// [ambientModules.js] +"use strict"; ; Foo.Bar.foo = 5; diff --git a/tests/baselines/reference/ambientRequireFunction(module=commonjs).js b/tests/baselines/reference/ambientRequireFunction(module=commonjs).js index 348ee0a144389..0d7443b76980d 100644 --- a/tests/baselines/reference/ambientRequireFunction(module=commonjs).js +++ b/tests/baselines/reference/ambientRequireFunction(module=commonjs).js @@ -14,6 +14,7 @@ const fs = require("fs"); const text = fs.readFileSync("/a/b/c"); //// [app.js] +"use strict"; /// var fs = require("fs"); var text = fs.readFileSync("/a/b/c"); diff --git a/tests/baselines/reference/ambientRequireFunction(module=preserve).js b/tests/baselines/reference/ambientRequireFunction(module=preserve).js index 348ee0a144389..0d7443b76980d 100644 --- a/tests/baselines/reference/ambientRequireFunction(module=preserve).js +++ b/tests/baselines/reference/ambientRequireFunction(module=preserve).js @@ -14,6 +14,7 @@ const fs = require("fs"); const text = fs.readFileSync("/a/b/c"); //// [app.js] +"use strict"; /// var fs = require("fs"); var text = fs.readFileSync("/a/b/c"); diff --git a/tests/baselines/reference/ambientShorthand_declarationEmit.js b/tests/baselines/reference/ambientShorthand_declarationEmit.js index 45f27c35b3f37..757c1e0b9c7bc 100644 --- a/tests/baselines/reference/ambientShorthand_declarationEmit.js +++ b/tests/baselines/reference/ambientShorthand_declarationEmit.js @@ -5,6 +5,7 @@ declare module "foo"; //// [ambientShorthand_declarationEmit.js] +"use strict"; //// [ambientShorthand_declarationEmit.d.ts] diff --git a/tests/baselines/reference/ambientStatement1.js b/tests/baselines/reference/ambientStatement1.js index 4143238a2b802..e91dfc8db84e9 100644 --- a/tests/baselines/reference/ambientStatement1.js +++ b/tests/baselines/reference/ambientStatement1.js @@ -8,3 +8,4 @@ } //// [ambientStatement1.js] +"use strict"; diff --git a/tests/baselines/reference/ambientWithStatements.errors.txt b/tests/baselines/reference/ambientWithStatements.errors.txt index bef1bb8c98da0..51416ef4b4aac 100644 --- a/tests/baselines/reference/ambientWithStatements.errors.txt +++ b/tests/baselines/reference/ambientWithStatements.errors.txt @@ -1,10 +1,11 @@ ambientWithStatements.ts(2,5): error TS1036: Statements are not allowed in ambient contexts. ambientWithStatements.ts(3,5): error TS1104: A 'continue' statement can only be used within an enclosing iteration statement. ambientWithStatements.ts(11,5): error TS1108: A 'return' statement can only be used within a function body. +ambientWithStatements.ts(25,5): error TS1101: 'with' statements are not allowed in strict mode. ambientWithStatements.ts(25,5): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. -==== ambientWithStatements.ts (4 errors) ==== +==== ambientWithStatements.ts (5 errors) ==== declare namespace M { break; ~~~~~ @@ -36,6 +37,8 @@ ambientWithStatements.ts(25,5): error TS2410: The 'with' statement is not suppor finally { } with (x) { + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. } diff --git a/tests/baselines/reference/ambientWithStatements.js b/tests/baselines/reference/ambientWithStatements.js index d56d11b02142e..860f4d3012866 100644 --- a/tests/baselines/reference/ambientWithStatements.js +++ b/tests/baselines/reference/ambientWithStatements.js @@ -30,3 +30,4 @@ declare namespace M { } //// [ambientWithStatements.js] +"use strict"; diff --git a/tests/baselines/reference/ambiguousCallsWhereReturnTypesAgree.js b/tests/baselines/reference/ambiguousCallsWhereReturnTypesAgree.js index 9f7661c7a5579..6bce28c562e04 100644 --- a/tests/baselines/reference/ambiguousCallsWhereReturnTypesAgree.js +++ b/tests/baselines/reference/ambiguousCallsWhereReturnTypesAgree.js @@ -31,6 +31,7 @@ class TestClass2 { //// [ambiguousCallsWhereReturnTypesAgree.js] +"use strict"; var TestClass = /** @class */ (function () { function TestClass() { } diff --git a/tests/baselines/reference/ambiguousGenericAssertion1.js b/tests/baselines/reference/ambiguousGenericAssertion1.js index 8cfd823941f07..fd447ec884901 100644 --- a/tests/baselines/reference/ambiguousGenericAssertion1.js +++ b/tests/baselines/reference/ambiguousGenericAssertion1.js @@ -8,6 +8,7 @@ var r3 = <(x: T) => T>f; // ambiguous, appears to the parser as a << operatio //// [ambiguousGenericAssertion1.js] +"use strict"; function f(x) { return null; } var r = function (x) { return x; }; var r2 = f; // valid diff --git a/tests/baselines/reference/ambiguousOverload.js b/tests/baselines/reference/ambiguousOverload.js index 725b7dafa9039..179f527f99985 100644 --- a/tests/baselines/reference/ambiguousOverload.js +++ b/tests/baselines/reference/ambiguousOverload.js @@ -14,6 +14,7 @@ var x2: string = foof2("s", null); var y2: number = foof2("s", null); //// [ambiguousOverload.js] +"use strict"; function foof(bar) { return bar; } ; var x = foof("s", null); diff --git a/tests/baselines/reference/ambiguousOverloadResolution.js b/tests/baselines/reference/ambiguousOverloadResolution.js index da03893c9e486..671adc75bb05f 100644 --- a/tests/baselines/reference/ambiguousOverloadResolution.js +++ b/tests/baselines/reference/ambiguousOverloadResolution.js @@ -11,6 +11,7 @@ var x: B; var t: number = f(x, x); // Not an error //// [ambiguousOverloadResolution.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/anonterface.js b/tests/baselines/reference/anonterface.js index d3f0b19d15683..fb53a2dfe4777 100644 --- a/tests/baselines/reference/anonterface.js +++ b/tests/baselines/reference/anonterface.js @@ -17,6 +17,7 @@ c.m(function(n) { return "hello: "+n; },18); //// [anonterface.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/anonymousClassExpression1.js b/tests/baselines/reference/anonymousClassExpression1.js index 19d56aa17bfff..1da522df72ffa 100644 --- a/tests/baselines/reference/anonymousClassExpression1.js +++ b/tests/baselines/reference/anonymousClassExpression1.js @@ -6,6 +6,7 @@ function f() { } //// [anonymousClassExpression1.js] +"use strict"; function f() { return typeof /** @class */ (function () { function class_1() { diff --git a/tests/baselines/reference/anonymousClassExpression2.js b/tests/baselines/reference/anonymousClassExpression2.js index 78ebb7c647468..058218f3d80f7 100644 --- a/tests/baselines/reference/anonymousClassExpression2.js +++ b/tests/baselines/reference/anonymousClassExpression2.js @@ -21,6 +21,7 @@ while (0) { //// [anonymousClassExpression2.js] +"use strict"; // Fixes #14860 // note: repros with `while (0);` too // but it's less inscrutable and more obvious to put it *inside* the loop diff --git a/tests/baselines/reference/anonymousModules.js b/tests/baselines/reference/anonymousModules.js index 179b05c2c8805..7ff515c33fe22 100644 --- a/tests/baselines/reference/anonymousModules.js +++ b/tests/baselines/reference/anonymousModules.js @@ -16,6 +16,7 @@ module { } //// [anonymousModules.js] +"use strict"; module; { export var foo = 1; diff --git a/tests/baselines/reference/anyAndUnknownHaveFalsyComponents.js b/tests/baselines/reference/anyAndUnknownHaveFalsyComponents.js index 6bc2b2b59e6c6..102831eaeddf6 100644 --- a/tests/baselines/reference/anyAndUnknownHaveFalsyComponents.js +++ b/tests/baselines/reference/anyAndUnknownHaveFalsyComponents.js @@ -31,6 +31,7 @@ function foo2() { //// [anyAndUnknownHaveFalsyComponents.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/anyAsConstructor.js b/tests/baselines/reference/anyAsConstructor.js index 52e6fdd48a5aa..cde9ca2aaa115 100644 --- a/tests/baselines/reference/anyAsConstructor.js +++ b/tests/baselines/reference/anyAsConstructor.js @@ -13,6 +13,7 @@ var c = new x(x); var d = new x(x); // no error //// [anyAsConstructor.js] +"use strict"; // any is considered an untyped function call // can be called except with type arguments which is an error var x; diff --git a/tests/baselines/reference/anyAsFunctionCall.js b/tests/baselines/reference/anyAsFunctionCall.js index bb7714cc48dc0..6de7c05f3cc1e 100644 --- a/tests/baselines/reference/anyAsFunctionCall.js +++ b/tests/baselines/reference/anyAsFunctionCall.js @@ -10,6 +10,7 @@ var b = x('hello'); var c = x(x); //// [anyAsFunctionCall.js] +"use strict"; // any is considered an untyped function call // can be called except with type arguments which is an error var x; diff --git a/tests/baselines/reference/anyAsGenericFunctionCall.js b/tests/baselines/reference/anyAsGenericFunctionCall.js index 742c22380c830..d2ff8d9ca9399 100644 --- a/tests/baselines/reference/anyAsGenericFunctionCall.js +++ b/tests/baselines/reference/anyAsGenericFunctionCall.js @@ -13,6 +13,7 @@ var c = x(x); var d = x(x); //// [anyAsGenericFunctionCall.js] +"use strict"; // any is considered an untyped function call // can be called except with type arguments which is an error var x; diff --git a/tests/baselines/reference/anyAsReturnTypeForNewOnCall.js b/tests/baselines/reference/anyAsReturnTypeForNewOnCall.js index cbb8d921a64b1..2258b64a07b2a 100644 --- a/tests/baselines/reference/anyAsReturnTypeForNewOnCall.js +++ b/tests/baselines/reference/anyAsReturnTypeForNewOnCall.js @@ -17,6 +17,7 @@ var xx = o.x; //// [anyAsReturnTypeForNewOnCall.js] +"use strict"; function Point(x, y) { this.x = x; this.y = y; diff --git a/tests/baselines/reference/anyAssignabilityInInheritance.js b/tests/baselines/reference/anyAssignabilityInInheritance.js index e875dd54df978..8e40aa0e0b346 100644 --- a/tests/baselines/reference/anyAssignabilityInInheritance.js +++ b/tests/baselines/reference/anyAssignabilityInInheritance.js @@ -91,6 +91,7 @@ declare function foo18(x: any): any; var r3 = foo3(a); // any //// [anyAssignabilityInInheritance.js] +"use strict"; // any is not a subtype of any other types, errors expected on all the below derived classes unless otherwise noted var a; var r3 = foo2(a); // any, not a subtype of number so it skips that overload, is a subtype of itself so it picks second (if truly ambiguous it would pick first overload) diff --git a/tests/baselines/reference/anyAssignableToEveryType.js b/tests/baselines/reference/anyAssignableToEveryType.js index 82f1f33bfe1c6..afbf2a92d8f9b 100644 --- a/tests/baselines/reference/anyAssignableToEveryType.js +++ b/tests/baselines/reference/anyAssignableToEveryType.js @@ -48,6 +48,7 @@ function foo(x: T, y: U, z: V) { //} //// [anyAssignableToEveryType.js] +"use strict"; var a; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/anyAssignableToEveryType2.js b/tests/baselines/reference/anyAssignableToEveryType2.js index df6b6d02678f3..ef673b8585313 100644 --- a/tests/baselines/reference/anyAssignableToEveryType2.js +++ b/tests/baselines/reference/anyAssignableToEveryType2.js @@ -133,6 +133,7 @@ interface I20 { //// [anyAssignableToEveryType2.js] +"use strict"; // any is not a subtype of any other types, but is assignable, all the below should work var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/anyDeclare.js b/tests/baselines/reference/anyDeclare.js index 6e16859b59892..ec3f5bdfbf786 100644 --- a/tests/baselines/reference/anyDeclare.js +++ b/tests/baselines/reference/anyDeclare.js @@ -9,6 +9,7 @@ namespace myMod { //// [anyDeclare.js] +"use strict"; var myMod; (function (myMod) { var myFn; diff --git a/tests/baselines/reference/anyIdenticalToItself.js b/tests/baselines/reference/anyIdenticalToItself.js index f987b7a1fcdd4..2635abae1f5e7 100644 --- a/tests/baselines/reference/anyIdenticalToItself.js +++ b/tests/baselines/reference/anyIdenticalToItself.js @@ -15,6 +15,7 @@ class C { } //// [anyIdenticalToItself.js] +"use strict"; function foo(x, y) { } var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/anyIndexedAccessArrayNoException.js b/tests/baselines/reference/anyIndexedAccessArrayNoException.js index 8765f4bd55936..425456ae4b74c 100644 --- a/tests/baselines/reference/anyIndexedAccessArrayNoException.js +++ b/tests/baselines/reference/anyIndexedAccessArrayNoException.js @@ -5,4 +5,5 @@ var x: any[[]]; //// [anyIndexedAccessArrayNoException.js] +"use strict"; var x; diff --git a/tests/baselines/reference/anyInferenceAnonymousFunctions.js b/tests/baselines/reference/anyInferenceAnonymousFunctions.js index b53bac5c9f3fb..14083a69b3319 100644 --- a/tests/baselines/reference/anyInferenceAnonymousFunctions.js +++ b/tests/baselines/reference/anyInferenceAnonymousFunctions.js @@ -20,6 +20,7 @@ paired.map((c1) => c1.count); paired.map(function (c2) { return c2.count; }); //// [anyInferenceAnonymousFunctions.js] +"use strict"; var paired; paired.reduce(function (a1, a2) { return a1.concat({}); diff --git a/tests/baselines/reference/anyIsAssignableToObject.js b/tests/baselines/reference/anyIsAssignableToObject.js index f132f9bc052c0..78af3ada67bd4 100644 --- a/tests/baselines/reference/anyIsAssignableToObject.js +++ b/tests/baselines/reference/anyIsAssignableToObject.js @@ -10,3 +10,4 @@ interface Q extends P { // Check assignability here. Any is assignable to {} } //// [anyIsAssignableToObject.js] +"use strict"; diff --git a/tests/baselines/reference/anyIsAssignableToVoid.js b/tests/baselines/reference/anyIsAssignableToVoid.js index 5aa2bda86ee2e..1e6a44d2470e6 100644 --- a/tests/baselines/reference/anyIsAssignableToVoid.js +++ b/tests/baselines/reference/anyIsAssignableToVoid.js @@ -10,3 +10,4 @@ interface Q extends P { // check assignability here. any is assignable to void. } //// [anyIsAssignableToVoid.js] +"use strict"; diff --git a/tests/baselines/reference/anyMappedTypesError.js b/tests/baselines/reference/anyMappedTypesError.js index a4f361804e1ec..9d7930007ac57 100644 --- a/tests/baselines/reference/anyMappedTypesError.js +++ b/tests/baselines/reference/anyMappedTypesError.js @@ -4,3 +4,4 @@ type Foo = {[P in "bar"]}; //// [anyMappedTypesError.js] +"use strict"; diff --git a/tests/baselines/reference/anyPlusAny1.js b/tests/baselines/reference/anyPlusAny1.js index 328a2e7024e5e..2f44c2b55764f 100644 --- a/tests/baselines/reference/anyPlusAny1.js +++ b/tests/baselines/reference/anyPlusAny1.js @@ -6,6 +6,7 @@ x.name = "hello"; var z = x + x; //// [anyPlusAny1.js] +"use strict"; var x; x.name = "hello"; var z = x + x; diff --git a/tests/baselines/reference/anyPropertyAccess.js b/tests/baselines/reference/anyPropertyAccess.js index c197c44b60834..ece61b2c49573 100644 --- a/tests/baselines/reference/anyPropertyAccess.js +++ b/tests/baselines/reference/anyPropertyAccess.js @@ -10,6 +10,7 @@ var e = x[0].foo; var f = x['0'].bar; //// [anyPropertyAccess.js] +"use strict"; var x; var a = x.foo; var b = x['foo']; diff --git a/tests/baselines/reference/apparentTypeSubtyping.js b/tests/baselines/reference/apparentTypeSubtyping.js index aef1ab7d1badc..dfd927fc265db 100644 --- a/tests/baselines/reference/apparentTypeSubtyping.js +++ b/tests/baselines/reference/apparentTypeSubtyping.js @@ -24,6 +24,7 @@ class Derived2 extends Base2 { // error because of the prototy } //// [apparentTypeSubtyping.js] +"use strict"; // subtype checks use the apparent type of the target type // S is a subtype of a type T, and T is a supertype of S, if one of the following is true, where S' denotes the apparent type (section 3.8.1) of S: var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/apparentTypeSupertype.js b/tests/baselines/reference/apparentTypeSupertype.js index e7dcffde189b0..1b4998a922de5 100644 --- a/tests/baselines/reference/apparentTypeSupertype.js +++ b/tests/baselines/reference/apparentTypeSupertype.js @@ -14,6 +14,7 @@ class Derived extends Base { // error } //// [apparentTypeSupertype.js] +"use strict"; // subtype checks use the apparent type of the target type // S is a subtype of a type T, and T is a supertype of S, if one of the following is true, where S' denotes the apparent type (section 3.8.1) of S: var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/argsInScope.js b/tests/baselines/reference/argsInScope.js index 6ba6be2e7c4d4..d2f07c2e96751 100644 --- a/tests/baselines/reference/argsInScope.js +++ b/tests/baselines/reference/argsInScope.js @@ -14,6 +14,7 @@ c.P(1,2,3); //// [argsInScope.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/argumentExpressionContextualTyping.js b/tests/baselines/reference/argumentExpressionContextualTyping.js index 4c73d0e458679..14d4e5aa636a9 100644 --- a/tests/baselines/reference/argumentExpressionContextualTyping.js +++ b/tests/baselines/reference/argumentExpressionContextualTyping.js @@ -21,6 +21,7 @@ baz(["string", 1, true, ...array]); // Error foo(o); // Error because x has an array type namely (string|number)[] //// [argumentExpressionContextualTyping.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/arguments.js b/tests/baselines/reference/arguments.js index 8e008f9182160..1e4f89bc7eec7 100644 --- a/tests/baselines/reference/arguments.js +++ b/tests/baselines/reference/arguments.js @@ -17,6 +17,7 @@ interface I { } //// [arguments.js] +"use strict"; function f() { var x = arguments[12]; (() => arguments)(); diff --git a/tests/baselines/reference/argumentsAsPropertyName.js b/tests/baselines/reference/argumentsAsPropertyName.js index 2b65bf195afd0..7c07d1f0fd309 100644 --- a/tests/baselines/reference/argumentsAsPropertyName.js +++ b/tests/baselines/reference/argumentsAsPropertyName.js @@ -18,6 +18,7 @@ function myFunction(myType: MyType) { } //// [argumentsAsPropertyName.js] +"use strict"; function myFunction(myType) { var _loop_1 = function (i) { use(myType.arguments[i]); diff --git a/tests/baselines/reference/argumentsAsPropertyName2.js b/tests/baselines/reference/argumentsAsPropertyName2.js index 29243412d7419..fb2bad77981a7 100644 --- a/tests/baselines/reference/argumentsAsPropertyName2.js +++ b/tests/baselines/reference/argumentsAsPropertyName2.js @@ -15,6 +15,7 @@ function foo() { //// [argumentsAsPropertyName2.js] +"use strict"; // target: es5 function foo() { var _loop_1 = function (x) { diff --git a/tests/baselines/reference/argumentsBindsToFunctionScopeArgumentList.errors.txt b/tests/baselines/reference/argumentsBindsToFunctionScopeArgumentList.errors.txt index 6f0eacb5dff5a..e603cc83c1632 100644 --- a/tests/baselines/reference/argumentsBindsToFunctionScopeArgumentList.errors.txt +++ b/tests/baselines/reference/argumentsBindsToFunctionScopeArgumentList.errors.txt @@ -1,10 +1,16 @@ +argumentsBindsToFunctionScopeArgumentList.ts(1,5): error TS1100: Invalid use of 'arguments' in strict mode. +argumentsBindsToFunctionScopeArgumentList.ts(3,5): error TS1100: Invalid use of 'arguments' in strict mode. argumentsBindsToFunctionScopeArgumentList.ts(3,5): error TS2322: Type 'number' is not assignable to type 'IArguments'. -==== argumentsBindsToFunctionScopeArgumentList.ts (1 errors) ==== +==== argumentsBindsToFunctionScopeArgumentList.ts (3 errors) ==== var arguments = 10; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function foo(a) { arguments = 10; /// This shouldnt be of type number and result in error. ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + ~~~~~~~~~ !!! error TS2322: Type 'number' is not assignable to type 'IArguments'. } \ No newline at end of file diff --git a/tests/baselines/reference/argumentsBindsToFunctionScopeArgumentList.js b/tests/baselines/reference/argumentsBindsToFunctionScopeArgumentList.js index b18f1cc7d05f8..8cd10362943b0 100644 --- a/tests/baselines/reference/argumentsBindsToFunctionScopeArgumentList.js +++ b/tests/baselines/reference/argumentsBindsToFunctionScopeArgumentList.js @@ -7,6 +7,7 @@ function foo(a) { } //// [argumentsBindsToFunctionScopeArgumentList.js] +"use strict"; var arguments = 10; function foo(a) { arguments = 10; /// This shouldnt be of type number and result in error. diff --git a/tests/baselines/reference/argumentsObjectIterator01_ES5.js b/tests/baselines/reference/argumentsObjectIterator01_ES5.js index 25980e36dd272..50d6cbc01a3e0 100644 --- a/tests/baselines/reference/argumentsObjectIterator01_ES5.js +++ b/tests/baselines/reference/argumentsObjectIterator01_ES5.js @@ -10,6 +10,7 @@ function doubleAndReturnAsArray(x: number, y: number, z: number): [number, numbe } //// [argumentsObjectIterator01_ES5.js] +"use strict"; function doubleAndReturnAsArray(x, y, z) { var result = []; for (var _i = 0, arguments_1 = arguments; _i < arguments_1.length; _i++) { diff --git a/tests/baselines/reference/argumentsObjectIterator01_ES6.js b/tests/baselines/reference/argumentsObjectIterator01_ES6.js index 13f198a7cb9bf..cccb75f9dd310 100644 --- a/tests/baselines/reference/argumentsObjectIterator01_ES6.js +++ b/tests/baselines/reference/argumentsObjectIterator01_ES6.js @@ -10,6 +10,7 @@ function doubleAndReturnAsArray(x: number, y: number, z: number): [number, numbe } //// [argumentsObjectIterator01_ES6.js] +"use strict"; function doubleAndReturnAsArray(x, y, z) { let result = []; for (let arg of arguments) { diff --git a/tests/baselines/reference/argumentsObjectIterator02_ES5.js b/tests/baselines/reference/argumentsObjectIterator02_ES5.js index 418475942c596..92aec1ffa0f3e 100644 --- a/tests/baselines/reference/argumentsObjectIterator02_ES5.js +++ b/tests/baselines/reference/argumentsObjectIterator02_ES5.js @@ -14,6 +14,7 @@ function doubleAndReturnAsArray(x: number, y: number, z: number): [number, numbe //// [argumentsObjectIterator02_ES5.js] +"use strict"; function doubleAndReturnAsArray(x, y, z) { var blah = arguments[Symbol.iterator]; var result = []; diff --git a/tests/baselines/reference/argumentsObjectIterator02_ES6.js b/tests/baselines/reference/argumentsObjectIterator02_ES6.js index 66ec96865e46c..0bfd5540377bb 100644 --- a/tests/baselines/reference/argumentsObjectIterator02_ES6.js +++ b/tests/baselines/reference/argumentsObjectIterator02_ES6.js @@ -14,6 +14,7 @@ function doubleAndReturnAsArray(x: number, y: number, z: number): [number, numbe //// [argumentsObjectIterator02_ES6.js] +"use strict"; function doubleAndReturnAsArray(x, y, z) { let blah = arguments[Symbol.iterator]; let result = []; diff --git a/tests/baselines/reference/argumentsObjectIterator03_ES5.js b/tests/baselines/reference/argumentsObjectIterator03_ES5.js index 56492b7277331..9ec97ab30a26c 100644 --- a/tests/baselines/reference/argumentsObjectIterator03_ES5.js +++ b/tests/baselines/reference/argumentsObjectIterator03_ES5.js @@ -10,6 +10,7 @@ function asReversedTuple(a: number, b: string, c: boolean): [boolean, string, nu //// [argumentsObjectIterator03_ES5.js] +"use strict"; function asReversedTuple(a, b, c) { var x = arguments[0], y = arguments[1], z = arguments[2]; return [z, y, x]; diff --git a/tests/baselines/reference/argumentsObjectIterator03_ES6.js b/tests/baselines/reference/argumentsObjectIterator03_ES6.js index 39815757c9442..d3a7770adad85 100644 --- a/tests/baselines/reference/argumentsObjectIterator03_ES6.js +++ b/tests/baselines/reference/argumentsObjectIterator03_ES6.js @@ -10,6 +10,7 @@ function asReversedTuple(a: number, b: string, c: boolean): [boolean, string, nu //// [argumentsObjectIterator03_ES6.js] +"use strict"; function asReversedTuple(a, b, c) { let [x, y, z] = arguments; return [z, y, x]; diff --git a/tests/baselines/reference/argumentsPropertyNameInJsMode1.js b/tests/baselines/reference/argumentsPropertyNameInJsMode1.js index e01cb9303c2d3..726e074976687 100644 --- a/tests/baselines/reference/argumentsPropertyNameInJsMode1.js +++ b/tests/baselines/reference/argumentsPropertyNameInJsMode1.js @@ -13,6 +13,7 @@ f2(1, 2, 3); //// [a.js] +"use strict"; var foo = { f1: function (params) { } }; diff --git a/tests/baselines/reference/argumentsPropertyNameInJsMode2.js b/tests/baselines/reference/argumentsPropertyNameInJsMode2.js index c32df3f1b4bb4..bfa2bfe582b0d 100644 --- a/tests/baselines/reference/argumentsPropertyNameInJsMode2.js +++ b/tests/baselines/reference/argumentsPropertyNameInJsMode2.js @@ -9,6 +9,7 @@ f(1, 2, 3); //// [a.js] +"use strict"; function f(x) { arguments; } diff --git a/tests/baselines/reference/argumentsReferenceInObjectLiteral_Js.errors.txt b/tests/baselines/reference/argumentsReferenceInObjectLiteral_Js.errors.txt index 1c26e2e60116b..4ab9073c95059 100644 --- a/tests/baselines/reference/argumentsReferenceInObjectLiteral_Js.errors.txt +++ b/tests/baselines/reference/argumentsReferenceInObjectLiteral_Js.errors.txt @@ -1,7 +1,8 @@ /a.js(16,9): error TS18004: No value exists in scope for the shorthand property 'arguments'. Either declare one or provide an initializer. +/a.js(21,11): error TS1100: Invalid use of 'arguments' in strict mode. -==== /a.js (1 errors) ==== +==== /a.js (2 errors) ==== const a = () => { return { arguments: [], @@ -25,6 +26,8 @@ const d = () => { const arguments = undefined; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. return { arguments, }; diff --git a/tests/baselines/reference/argumentsReferenceInObjectLiteral_Js.js b/tests/baselines/reference/argumentsReferenceInObjectLiteral_Js.js index d2b7a2997e9e9..76020266477fe 100644 --- a/tests/baselines/reference/argumentsReferenceInObjectLiteral_Js.js +++ b/tests/baselines/reference/argumentsReferenceInObjectLiteral_Js.js @@ -29,6 +29,7 @@ const d = () => { //// [a.js] +"use strict"; const a = () => { return { arguments: [], diff --git a/tests/baselines/reference/argumentsUsedInClassFieldInitializerOrStaticInitializationBlock.js b/tests/baselines/reference/argumentsUsedInClassFieldInitializerOrStaticInitializationBlock.js index 29bf050f4f38a..d1ef2df92786f 100644 --- a/tests/baselines/reference/argumentsUsedInClassFieldInitializerOrStaticInitializationBlock.js +++ b/tests/baselines/reference/argumentsUsedInClassFieldInitializerOrStaticInitializationBlock.js @@ -116,6 +116,7 @@ function D7() { //// [argumentsUsedInClassFieldInitializerOrStaticInitializationBlock.js] +"use strict"; function A() { return /** @class */ (function () { function T() { diff --git a/tests/baselines/reference/argumentsUsedInObjectLiteralProperty.js b/tests/baselines/reference/argumentsUsedInObjectLiteralProperty.js index 8567411cce3bb..b228bc06b36cd 100644 --- a/tests/baselines/reference/argumentsUsedInObjectLiteralProperty.js +++ b/tests/baselines/reference/argumentsUsedInObjectLiteralProperty.js @@ -10,6 +10,7 @@ class A { } //// [argumentsUsedInObjectLiteralProperty.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/arithAssignTyping.js b/tests/baselines/reference/arithAssignTyping.js index 66785837bc56d..ab75b923c9364 100644 --- a/tests/baselines/reference/arithAssignTyping.js +++ b/tests/baselines/reference/arithAssignTyping.js @@ -17,6 +17,7 @@ f >>>= 1; // error f ^= 1; // error //// [arithAssignTyping.js] +"use strict"; var f = /** @class */ (function () { function f() { } diff --git a/tests/baselines/reference/arithmeticOnInvalidTypes.js b/tests/baselines/reference/arithmeticOnInvalidTypes.js index 9cb3dfa524a47..107db3f38d996 100644 --- a/tests/baselines/reference/arithmeticOnInvalidTypes.js +++ b/tests/baselines/reference/arithmeticOnInvalidTypes.js @@ -9,6 +9,7 @@ var z3 = x * y; var z4 = x / y; //// [arithmeticOnInvalidTypes.js] +"use strict"; var x; var y; var z = x + y; diff --git a/tests/baselines/reference/arithmeticOnInvalidTypes2.js b/tests/baselines/reference/arithmeticOnInvalidTypes2.js index a449340adfde3..f34749a907fe8 100644 --- a/tests/baselines/reference/arithmeticOnInvalidTypes2.js +++ b/tests/baselines/reference/arithmeticOnInvalidTypes2.js @@ -10,6 +10,7 @@ var obj = function f(a: T, b: T) { }; //// [arithmeticOnInvalidTypes2.js] +"use strict"; var obj = function f(a, b) { var z1 = a + b; var z2 = a - b; diff --git a/tests/baselines/reference/arithmeticOperatorWithAnyAndNumber.js b/tests/baselines/reference/arithmeticOperatorWithAnyAndNumber.js index f2cef2c8e2791..e5c6babe0db89 100644 --- a/tests/baselines/reference/arithmeticOperatorWithAnyAndNumber.js +++ b/tests/baselines/reference/arithmeticOperatorWithAnyAndNumber.js @@ -105,6 +105,7 @@ var rj7 = 0 | b; var rj8 = b | b; //// [arithmeticOperatorWithAnyAndNumber.js] +"use strict"; var a; var b; // operator * diff --git a/tests/baselines/reference/arithmeticOperatorWithEnum.js b/tests/baselines/reference/arithmeticOperatorWithEnum.js index 23bdb09964f37..a6e6014f4aa4b 100644 --- a/tests/baselines/reference/arithmeticOperatorWithEnum.js +++ b/tests/baselines/reference/arithmeticOperatorWithEnum.js @@ -153,6 +153,7 @@ var rj11 = b | E.b; var rj12 = 1 | E.b; //// [arithmeticOperatorWithEnum.js] +"use strict"; // operands of an enum type are treated as having the primitive type Number. var E; (function (E) { diff --git a/tests/baselines/reference/arithmeticOperatorWithEnumUnion.js b/tests/baselines/reference/arithmeticOperatorWithEnumUnion.js index d25ed239166d1..111b12017a9b1 100644 --- a/tests/baselines/reference/arithmeticOperatorWithEnumUnion.js +++ b/tests/baselines/reference/arithmeticOperatorWithEnumUnion.js @@ -157,6 +157,7 @@ var rj11 = b | E.b; var rj12 = 1 | E.b; //// [arithmeticOperatorWithEnumUnion.js] +"use strict"; // operands of an enum type are treated as having the primitive type Number. var E; (function (E) { diff --git a/tests/baselines/reference/arithmeticOperatorWithInvalidOperands.js b/tests/baselines/reference/arithmeticOperatorWithInvalidOperands.js index e8a6cfa93d418..21b8733c041b5 100644 --- a/tests/baselines/reference/arithmeticOperatorWithInvalidOperands.js +++ b/tests/baselines/reference/arithmeticOperatorWithInvalidOperands.js @@ -584,6 +584,7 @@ var r10h5 = e | E.b; var r10h6 = f | E.b; //// [arithmeticOperatorWithInvalidOperands.js] +"use strict"; // these operators require their operands to be of type Any, the Number primitive type, or // an enum type var E; diff --git a/tests/baselines/reference/arithmeticOperatorWithNullValueAndInvalidOperands.js b/tests/baselines/reference/arithmeticOperatorWithNullValueAndInvalidOperands.js index 9cd24a96541d2..3f40bd5a23aa1 100644 --- a/tests/baselines/reference/arithmeticOperatorWithNullValueAndInvalidOperands.js +++ b/tests/baselines/reference/arithmeticOperatorWithNullValueAndInvalidOperands.js @@ -179,6 +179,7 @@ var r10d2 = '' | null; var r10d3 = {} | null; //// [arithmeticOperatorWithNullValueAndInvalidOperands.js] +"use strict"; // If one operand is the null or undefined value, it is treated as having the type of the // other operand. // operator * diff --git a/tests/baselines/reference/arithmeticOperatorWithNullValueAndValidOperands.js b/tests/baselines/reference/arithmeticOperatorWithNullValueAndValidOperands.js index eef8b00890737..bde29da889a83 100644 --- a/tests/baselines/reference/arithmeticOperatorWithNullValueAndValidOperands.js +++ b/tests/baselines/reference/arithmeticOperatorWithNullValueAndValidOperands.js @@ -113,6 +113,7 @@ var rj7 = 0 | null; var rj8 = E.b | null; //// [arithmeticOperatorWithNullValueAndValidOperands.js] +"use strict"; // If one operand is the null or undefined value, it is treated as having the type of the // other operand. var E; diff --git a/tests/baselines/reference/arithmeticOperatorWithOnlyNullValueOrUndefinedValue.js b/tests/baselines/reference/arithmeticOperatorWithOnlyNullValueOrUndefinedValue.js index 6c8e9babfbfb3..07dbeff6ca773 100644 --- a/tests/baselines/reference/arithmeticOperatorWithOnlyNullValueOrUndefinedValue.js +++ b/tests/baselines/reference/arithmeticOperatorWithOnlyNullValueOrUndefinedValue.js @@ -62,6 +62,7 @@ var rj3 = undefined | null; var rj4 = undefined | undefined; //// [arithmeticOperatorWithOnlyNullValueOrUndefinedValue.js] +"use strict"; // operator * var ra1 = null * null; var ra2 = null * undefined; diff --git a/tests/baselines/reference/arithmeticOperatorWithTypeParameter.js b/tests/baselines/reference/arithmeticOperatorWithTypeParameter.js index b25225c6e579a..9b9042f018052 100644 --- a/tests/baselines/reference/arithmeticOperatorWithTypeParameter.js +++ b/tests/baselines/reference/arithmeticOperatorWithTypeParameter.js @@ -132,6 +132,7 @@ function foo(t: T) { } //// [arithmeticOperatorWithTypeParameter.js] +"use strict"; // type parameter type is not valid for arithmetic operand function foo(t) { var a; diff --git a/tests/baselines/reference/arithmeticOperatorWithUndefinedValueAndInvalidOperands.js b/tests/baselines/reference/arithmeticOperatorWithUndefinedValueAndInvalidOperands.js index a771640b820d3..bf390501ce9bb 100644 --- a/tests/baselines/reference/arithmeticOperatorWithUndefinedValueAndInvalidOperands.js +++ b/tests/baselines/reference/arithmeticOperatorWithUndefinedValueAndInvalidOperands.js @@ -179,6 +179,7 @@ var r10d2 = '' | undefined; var r10d3 = {} | undefined; //// [arithmeticOperatorWithUndefinedValueAndInvalidOperands.js] +"use strict"; // If one operand is the undefined or undefined value, it is treated as having the type of the // other operand. // operator * diff --git a/tests/baselines/reference/arithmeticOperatorWithUndefinedValueAndValidOperands.js b/tests/baselines/reference/arithmeticOperatorWithUndefinedValueAndValidOperands.js index b87edf044ecd8..1c0ba6c1e3895 100644 --- a/tests/baselines/reference/arithmeticOperatorWithUndefinedValueAndValidOperands.js +++ b/tests/baselines/reference/arithmeticOperatorWithUndefinedValueAndValidOperands.js @@ -113,6 +113,7 @@ var rj7 = 0 | undefined; var rj8 = E.b | undefined; //// [arithmeticOperatorWithUndefinedValueAndValidOperands.js] +"use strict"; // If one operand is the undefined or undefined value, it is treated as having the type of the // other operand. var E; diff --git a/tests/baselines/reference/arityAndOrderCompatibility01.js b/tests/baselines/reference/arityAndOrderCompatibility01.js index 4226f80656b02..173ee2bb617d3 100644 --- a/tests/baselines/reference/arityAndOrderCompatibility01.js +++ b/tests/baselines/reference/arityAndOrderCompatibility01.js @@ -39,6 +39,7 @@ var o3: [string, number] = y; //// [arityAndOrderCompatibility01.js] +"use strict"; var a = x[0], b = x[1], c = x[2]; var d = y[0], e = y[1], f = y[2]; var g = z[0], h = z[1], i = z[2]; diff --git a/tests/baselines/reference/arityErrorRelatedSpanBindingPattern.js b/tests/baselines/reference/arityErrorRelatedSpanBindingPattern.js index 6d4adebd8469f..46ad2c33cc1e9 100644 --- a/tests/baselines/reference/arityErrorRelatedSpanBindingPattern.js +++ b/tests/baselines/reference/arityErrorRelatedSpanBindingPattern.js @@ -11,6 +11,7 @@ bar("", 0); //// [arityErrorRelatedSpanBindingPattern.js] +"use strict"; function foo(a, b, _a) { var c = _a.c; } diff --git a/tests/baselines/reference/arrayAssignmentPatternWithAny.js b/tests/baselines/reference/arrayAssignmentPatternWithAny.js index 5160c81de9b09..6b14731afca51 100644 --- a/tests/baselines/reference/arrayAssignmentPatternWithAny.js +++ b/tests/baselines/reference/arrayAssignmentPatternWithAny.js @@ -6,6 +6,7 @@ var x: string; [x] = a; //// [arrayAssignmentPatternWithAny.js] +"use strict"; var a; var x; x = a[0]; diff --git a/tests/baselines/reference/arrayAssignmentTest1.js b/tests/baselines/reference/arrayAssignmentTest1.js index 0d2051b310bef..e3493e87fca76 100644 --- a/tests/baselines/reference/arrayAssignmentTest1.js +++ b/tests/baselines/reference/arrayAssignmentTest1.js @@ -88,6 +88,7 @@ arr_any = c3; // should be an error - is arr_any = i1; // should be an error - is //// [arrayAssignmentTest1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/arrayAssignmentTest2.js b/tests/baselines/reference/arrayAssignmentTest2.js index caeeb10d16c23..6d8e481e86424 100644 --- a/tests/baselines/reference/arrayAssignmentTest2.js +++ b/tests/baselines/reference/arrayAssignmentTest2.js @@ -62,6 +62,7 @@ arr_any = i1; // should be an error - is //// [arrayAssignmentTest2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/arrayAssignmentTest3.js b/tests/baselines/reference/arrayAssignmentTest3.js index 1db156b9707dc..fc9a51f7fbca5 100644 --- a/tests/baselines/reference/arrayAssignmentTest3.js +++ b/tests/baselines/reference/arrayAssignmentTest3.js @@ -17,6 +17,7 @@ var xx = new a(null, 7, new B()); //// [arrayAssignmentTest3.js] +"use strict"; // The following gives no error // Michal saw no error if he used number instead of B, // but I do... diff --git a/tests/baselines/reference/arrayAssignmentTest4.js b/tests/baselines/reference/arrayAssignmentTest4.js index 1a568ee4fef60..29e6a34d303f2 100644 --- a/tests/baselines/reference/arrayAssignmentTest4.js +++ b/tests/baselines/reference/arrayAssignmentTest4.js @@ -27,6 +27,7 @@ arr_any = c3; // should be an error - is //// [arrayAssignmentTest4.js] +"use strict"; var C3 = /** @class */ (function () { function C3() { } diff --git a/tests/baselines/reference/arrayAssignmentTest5.js b/tests/baselines/reference/arrayAssignmentTest5.js index af4f52ed5a192..26b46217c8f9a 100644 --- a/tests/baselines/reference/arrayAssignmentTest5.js +++ b/tests/baselines/reference/arrayAssignmentTest5.js @@ -36,6 +36,7 @@ namespace Test { //// [arrayAssignmentTest5.js] +"use strict"; var Test; (function (Test) { var Bug = /** @class */ (function () { diff --git a/tests/baselines/reference/arrayAssignmentTest6.js b/tests/baselines/reference/arrayAssignmentTest6.js index f00581c93f8e3..5461365ae6084 100644 --- a/tests/baselines/reference/arrayAssignmentTest6.js +++ b/tests/baselines/reference/arrayAssignmentTest6.js @@ -23,6 +23,7 @@ namespace Test { //// [arrayAssignmentTest6.js] +"use strict"; var Test; (function (Test) { var Bug = /** @class */ (function () { diff --git a/tests/baselines/reference/arrayAugment.js b/tests/baselines/reference/arrayAugment.js index 887b7eb854d53..bb33dc5e34785 100644 --- a/tests/baselines/reference/arrayAugment.js +++ b/tests/baselines/reference/arrayAugment.js @@ -11,6 +11,7 @@ var y: string[][]; // Expect no error here //// [arrayAugment.js] +"use strict"; var x = ['']; var y = x.split(4); var y; // Expect no error here diff --git a/tests/baselines/reference/arrayBestCommonTypes.js b/tests/baselines/reference/arrayBestCommonTypes.js index e54bf00b8779d..8e981ba98d3db 100644 --- a/tests/baselines/reference/arrayBestCommonTypes.js +++ b/tests/baselines/reference/arrayBestCommonTypes.js @@ -110,6 +110,7 @@ namespace NonEmptyTypes { //// [arrayBestCommonTypes.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/arrayBindingPatternOmittedExpressions.js b/tests/baselines/reference/arrayBindingPatternOmittedExpressions.js index 4a6426b99ac29..238d450738f33 100644 --- a/tests/baselines/reference/arrayBindingPatternOmittedExpressions.js +++ b/tests/baselines/reference/arrayBindingPatternOmittedExpressions.js @@ -18,6 +18,7 @@ function f([, a, , b, , , , s, , , ] = results) { } //// [arrayBindingPatternOmittedExpressions.js] +"use strict"; var results; { let [, b, , a] = results; diff --git a/tests/baselines/reference/arrayBufferIsViewNarrowsType.js b/tests/baselines/reference/arrayBufferIsViewNarrowsType.js index eb162a6133ba0..b496ce6a8d1e9 100644 --- a/tests/baselines/reference/arrayBufferIsViewNarrowsType.js +++ b/tests/baselines/reference/arrayBufferIsViewNarrowsType.js @@ -8,6 +8,7 @@ if (ArrayBuffer.isView(obj)) { } //// [arrayBufferIsViewNarrowsType.js] +"use strict"; var obj; if (ArrayBuffer.isView(obj)) { // isView should be a guard that narrows type to ArrayBufferView. diff --git a/tests/baselines/reference/arrayCast.js b/tests/baselines/reference/arrayCast.js index 5454be517af0f..4fd00dbccd4d4 100644 --- a/tests/baselines/reference/arrayCast.js +++ b/tests/baselines/reference/arrayCast.js @@ -9,6 +9,7 @@ <{ id: number; }[]>[{ foo: "s" }, {}]; //// [arrayCast.js] +"use strict"; // Should fail. Even though the array is contextually typed with { id: number }[], it still // has type { foo: string }[], which is not assignable to { id: number }[]. [{ foo: "s" }]; diff --git a/tests/baselines/reference/arrayConcat2.js b/tests/baselines/reference/arrayConcat2.js index a684c2b5ebb7e..e1f3102620479 100644 --- a/tests/baselines/reference/arrayConcat2.js +++ b/tests/baselines/reference/arrayConcat2.js @@ -11,6 +11,7 @@ b.concat('hello'); //// [arrayConcat2.js] +"use strict"; var a = []; a.concat("hello", 'world'); a.concat('Hello'); diff --git a/tests/baselines/reference/arrayConcat3.js b/tests/baselines/reference/arrayConcat3.js index 1e6487ce7fe28..90d64c48e11ff 100644 --- a/tests/baselines/reference/arrayConcat3.js +++ b/tests/baselines/reference/arrayConcat3.js @@ -9,6 +9,7 @@ function doStuff(a: Array>, b: Array b.a); //// [arrayConcatMap.js] +"use strict"; var x = [].concat([{ a: 1 }], [{ a: 2 }]) .map(function (b) { return b.a; }); diff --git a/tests/baselines/reference/arrayConstructors1.js b/tests/baselines/reference/arrayConstructors1.js index 792b0a23780aa..5b3caa365b99c 100644 --- a/tests/baselines/reference/arrayConstructors1.js +++ b/tests/baselines/reference/arrayConstructors1.js @@ -12,6 +12,7 @@ y = new Array(1,2); y = new Array(1, 2); //// [arrayConstructors1.js] +"use strict"; var x; x = new Array(1); x = new Array('hi', 'bye'); diff --git a/tests/baselines/reference/arrayDestructuringInSwitch2.js b/tests/baselines/reference/arrayDestructuringInSwitch2.js index 4da13269936fa..d8b8ab103d99f 100644 --- a/tests/baselines/reference/arrayDestructuringInSwitch2.js +++ b/tests/baselines/reference/arrayDestructuringInSwitch2.js @@ -17,6 +17,7 @@ function foo(x: X): 1 { } //// [arrayDestructuringInSwitch2.js] +"use strict"; function foo(x) { var kind = x.kind, a = x.a; switch (kind) { diff --git a/tests/baselines/reference/arrayEvery.js b/tests/baselines/reference/arrayEvery.js index 04eece1b8d175..d70a4be4350b4 100644 --- a/tests/baselines/reference/arrayEvery.js +++ b/tests/baselines/reference/arrayEvery.js @@ -11,6 +11,7 @@ if (foo.every(isString)) { //// [arrayEvery.js] +"use strict"; var foo = ['aaa']; var isString = function (x) { return typeof x === 'string'; }; if (foo.every(isString)) { diff --git a/tests/baselines/reference/arrayFilter.js b/tests/baselines/reference/arrayFilter.js index c53f2e82e1bb0..782b6c60a6a91 100644 --- a/tests/baselines/reference/arrayFilter.js +++ b/tests/baselines/reference/arrayFilter.js @@ -10,6 +10,7 @@ var foo = [ foo.filter(x => x.name); //should accepted all possible types not only boolean! //// [arrayFilter.js] +"use strict"; var foo = [ { name: 'bar' }, { name: null }, diff --git a/tests/baselines/reference/arrayFind.js b/tests/baselines/reference/arrayFind.js index 8d460074302b5..91c602b7e1070 100644 --- a/tests/baselines/reference/arrayFind.js +++ b/tests/baselines/reference/arrayFind.js @@ -14,6 +14,7 @@ const readonlyFoundNumber: number | undefined = readonlyArrayOfStringsNumbersAnd //// [arrayFind.js] +"use strict"; // test fix for #18112, type guard predicates should narrow returned element function isNumber(x) { return typeof x === "number"; diff --git a/tests/baselines/reference/arrayFlatMap.js b/tests/baselines/reference/arrayFlatMap.js index cf0bcd800034f..1864e78ac2c2d 100644 --- a/tests/baselines/reference/arrayFlatMap.js +++ b/tests/baselines/reference/arrayFlatMap.js @@ -8,6 +8,7 @@ readonlyArray.flatMap((): ReadonlyArray => []); // ok //// [arrayFlatMap.js] +"use strict"; var array = []; var readonlyArray = []; array.flatMap(function () { return []; }); // ok diff --git a/tests/baselines/reference/arrayFrom.js b/tests/baselines/reference/arrayFrom.js index 13609e4b1692a..f7316d46223be 100644 --- a/tests/baselines/reference/arrayFrom.js +++ b/tests/baselines/reference/arrayFrom.js @@ -39,6 +39,7 @@ function getEither (in1: Iterable, in2: ArrayLike) { //// [arrayFrom.js] +"use strict"; // Tests fix for #20432, ensures Array.from accepts all valid inputs // Also tests for #19682 var inputA = []; diff --git a/tests/baselines/reference/arrayIndexWithArrayFails.js b/tests/baselines/reference/arrayIndexWithArrayFails.js index 312b1b790c588..d36842f3aac08 100644 --- a/tests/baselines/reference/arrayIndexWithArrayFails.js +++ b/tests/baselines/reference/arrayIndexWithArrayFails.js @@ -6,4 +6,5 @@ declare const arr2: number[]; const j = arr2[arr1[0]]; // should error //// [arrayIndexWithArrayFails.js] +"use strict"; var j = arr2[arr1[0]]; // should error diff --git a/tests/baselines/reference/arrayLiteral.js b/tests/baselines/reference/arrayLiteral.js index 08ec40049ea81..5ab2e9c56afc8 100644 --- a/tests/baselines/reference/arrayLiteral.js +++ b/tests/baselines/reference/arrayLiteral.js @@ -18,6 +18,7 @@ var y2: number[] = [1, 2]; var y2: number[] = new Array(); //// [arrayLiteral.js] +"use strict"; // valid uses of array literals var x = []; var x = new Array(1); diff --git a/tests/baselines/reference/arrayLiteral1.js b/tests/baselines/reference/arrayLiteral1.js index 1ba12d5456b40..0c9d6d5d99b26 100644 --- a/tests/baselines/reference/arrayLiteral1.js +++ b/tests/baselines/reference/arrayLiteral1.js @@ -4,4 +4,5 @@ var v30 = [1, 2]; //// [arrayLiteral1.js] +"use strict"; var v30 = [1, 2]; diff --git a/tests/baselines/reference/arrayLiteral2.js b/tests/baselines/reference/arrayLiteral2.js index f2362adb1439e..25addfb315eca 100644 --- a/tests/baselines/reference/arrayLiteral2.js +++ b/tests/baselines/reference/arrayLiteral2.js @@ -4,4 +4,5 @@ var v30 = [1, 2], v31; //// [arrayLiteral2.js] +"use strict"; var v30 = [1, 2], v31; diff --git a/tests/baselines/reference/arrayLiteralAndArrayConstructorEquivalence1.js b/tests/baselines/reference/arrayLiteralAndArrayConstructorEquivalence1.js index 555eddfeeed70..2f41596f553ad 100644 --- a/tests/baselines/reference/arrayLiteralAndArrayConstructorEquivalence1.js +++ b/tests/baselines/reference/arrayLiteralAndArrayConstructorEquivalence1.js @@ -16,6 +16,7 @@ myCars3 = myCars5; //// [arrayLiteralAndArrayConstructorEquivalence1.js] +"use strict"; var myCars = new Array(); var myCars3 = new Array({}); myCars = myCars3; diff --git a/tests/baselines/reference/arrayLiteralComments.js b/tests/baselines/reference/arrayLiteralComments.js index 4d2d03e07f18f..4ecd65d716566 100644 --- a/tests/baselines/reference/arrayLiteralComments.js +++ b/tests/baselines/reference/arrayLiteralComments.js @@ -17,6 +17,7 @@ var testArrayWithFunc = [ ] //// [arrayLiteralComments.js] +"use strict"; var testArrayWithFunc = [ // Function comment function () { diff --git a/tests/baselines/reference/arrayLiteralContextualType.js b/tests/baselines/reference/arrayLiteralContextualType.js index 63c236537589e..777cca19ed888 100644 --- a/tests/baselines/reference/arrayLiteralContextualType.js +++ b/tests/baselines/reference/arrayLiteralContextualType.js @@ -32,6 +32,7 @@ foo(arr); // ok because arr is Array not {}[] bar(arr); // ok because arr is Array not {}[] //// [arrayLiteralContextualType.js] +"use strict"; var Giraffe = /** @class */ (function () { function Giraffe() { this.name = "Giraffe"; diff --git a/tests/baselines/reference/arrayLiteralExpressionContextualTyping.js b/tests/baselines/reference/arrayLiteralExpressionContextualTyping.js index acba52443a9b4..863a8e7c55714 100644 --- a/tests/baselines/reference/arrayLiteralExpressionContextualTyping.js +++ b/tests/baselines/reference/arrayLiteralExpressionContextualTyping.js @@ -18,6 +18,7 @@ var spr2:[number, number, number] = [1, 2, 3, ...tup]; // Error //// [arrayLiteralExpressionContextualTyping.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/arrayLiteralInNonVarArgParameter.js b/tests/baselines/reference/arrayLiteralInNonVarArgParameter.js index 83321fddac144..9322cb97cf2eb 100644 --- a/tests/baselines/reference/arrayLiteralInNonVarArgParameter.js +++ b/tests/baselines/reference/arrayLiteralInNonVarArgParameter.js @@ -7,6 +7,7 @@ panic([], 'one', 'two'); //// [arrayLiteralInNonVarArgParameter.js] +"use strict"; function panic(val) { var opt = []; for (var _i = 1; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/arrayLiteralSpread.js b/tests/baselines/reference/arrayLiteralSpread.js index a0ea9ce127f74..8baf03f274409 100644 --- a/tests/baselines/reference/arrayLiteralSpread.js +++ b/tests/baselines/reference/arrayLiteralSpread.js @@ -26,6 +26,7 @@ function f2() { //// [arrayLiteralSpread.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/arrayLiteralSpreadES5iterable.js b/tests/baselines/reference/arrayLiteralSpreadES5iterable.js index 3f16bdfbeebe4..7ee1ec23a90d9 100644 --- a/tests/baselines/reference/arrayLiteralSpreadES5iterable.js +++ b/tests/baselines/reference/arrayLiteralSpreadES5iterable.js @@ -26,6 +26,7 @@ function f2() { //// [arrayLiteralSpreadES5iterable.js] +"use strict"; var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; diff --git a/tests/baselines/reference/arrayLiteralTypeInference.js b/tests/baselines/reference/arrayLiteralTypeInference.js index 9d27f4c561fa3..20c3031f41b08 100644 --- a/tests/baselines/reference/arrayLiteralTypeInference.js +++ b/tests/baselines/reference/arrayLiteralTypeInference.js @@ -54,6 +54,7 @@ var z3: { id: number }[] = //// [arrayLiteralTypeInference.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/arrayLiteralWidened.js b/tests/baselines/reference/arrayLiteralWidened.js index 39ee52e48df39..a8288e5e1a0f2 100644 --- a/tests/baselines/reference/arrayLiteralWidened.js +++ b/tests/baselines/reference/arrayLiteralWidened.js @@ -26,6 +26,7 @@ var d = [undefined, x]; //// [arrayLiteralWidened.js] +"use strict"; // array literals are widened upon assignment according to their element type var a = []; // any[] var a = [, ,]; diff --git a/tests/baselines/reference/arrayLiteralWithMultipleBestCommonTypes.js b/tests/baselines/reference/arrayLiteralWithMultipleBestCommonTypes.js index a1ff23200df6c..5153e2169301c 100644 --- a/tests/baselines/reference/arrayLiteralWithMultipleBestCommonTypes.js +++ b/tests/baselines/reference/arrayLiteralWithMultipleBestCommonTypes.js @@ -18,6 +18,7 @@ var gs = [(b: { x: number; z?: number }) => 2, (a: { x: number; y?: number }) => //// [arrayLiteralWithMultipleBestCommonTypes.js] +"use strict"; // when multiple best common types exist we will choose the first candidate var a; var b; diff --git a/tests/baselines/reference/arrayLiterals.js b/tests/baselines/reference/arrayLiterals.js index 0f2dc1f7e2ebf..a9435447a735f 100644 --- a/tests/baselines/reference/arrayLiterals.js +++ b/tests/baselines/reference/arrayLiterals.js @@ -39,6 +39,7 @@ var context4: Base[] = [new Derived1(), new Derived1()]; //// [arrayLiterals.js] +"use strict"; // Empty array literal with no contextual type has type Undefined[] var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/arrayLiterals2ES5.js b/tests/baselines/reference/arrayLiterals2ES5.js index 23b9662bb0506..03622cdf9ca60 100644 --- a/tests/baselines/reference/arrayLiterals2ES5.js +++ b/tests/baselines/reference/arrayLiterals2ES5.js @@ -59,6 +59,7 @@ var d8: number[][] = [[...temp1]] var d9 = [[...temp1], ...["hello"]]; //// [arrayLiterals2ES5.js] +"use strict"; // ElementList: ( Modified ) // Elisionopt AssignmentExpression // Elisionopt SpreadElement diff --git a/tests/baselines/reference/arrayLiterals2ES6.js b/tests/baselines/reference/arrayLiterals2ES6.js index 1a80dcbec0e98..c82e95ff7afb5 100644 --- a/tests/baselines/reference/arrayLiterals2ES6.js +++ b/tests/baselines/reference/arrayLiterals2ES6.js @@ -57,6 +57,7 @@ var d8: number[][] = [[...temp1]] var d9 = [[...temp1], ...["hello"]]; //// [arrayLiterals2ES6.js] +"use strict"; // ElementList: ( Modified ) // Elisionopt AssignmentExpression // Elisionopt SpreadElement diff --git a/tests/baselines/reference/arrayLiterals3.js b/tests/baselines/reference/arrayLiterals3.js index 15601e737ad96..abfaa092d9f38 100644 --- a/tests/baselines/reference/arrayLiterals3.js +++ b/tests/baselines/reference/arrayLiterals3.js @@ -38,6 +38,7 @@ var c2: myArray = [...temp1, ...temp]; // Error cannot assign (number //// [arrayLiterals3.js] +"use strict"; // Each element expression in a non-empty array literal is processed as follows: // - If the array literal contains no spread elements, and if the array literal is contextually typed (section 4.19) // by a type T and T has a property with the numeric name N, where N is the index of the element expression in the array literal, diff --git a/tests/baselines/reference/arrayLiteralsWithRecursiveGenerics.js b/tests/baselines/reference/arrayLiteralsWithRecursiveGenerics.js index b048aded77a6d..b54db22572bfd 100644 --- a/tests/baselines/reference/arrayLiteralsWithRecursiveGenerics.js +++ b/tests/baselines/reference/arrayLiteralsWithRecursiveGenerics.js @@ -28,6 +28,7 @@ var myDerivedList: DerivedList; var as = [list, myDerivedList]; // List[] //// [arrayLiteralsWithRecursiveGenerics.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/arrayOfFunctionTypes3.js b/tests/baselines/reference/arrayOfFunctionTypes3.js index d56193714c2e2..81848cf3616dc 100644 --- a/tests/baselines/reference/arrayOfFunctionTypes3.js +++ b/tests/baselines/reference/arrayOfFunctionTypes3.js @@ -29,6 +29,7 @@ var r6 = z2[0]; var r7 = r6(''); // any not string //// [arrayOfFunctionTypes3.js] +"use strict"; // valid uses of arrays of function types var x = [function () { return 1; }, function () { }]; var r2 = x[0](); diff --git a/tests/baselines/reference/arrayOfSubtypeIsAssignableToReadonlyArray.js b/tests/baselines/reference/arrayOfSubtypeIsAssignableToReadonlyArray.js index 4f326443f931c..eb88ef68b89be 100644 --- a/tests/baselines/reference/arrayOfSubtypeIsAssignableToReadonlyArray.js +++ b/tests/baselines/reference/arrayOfSubtypeIsAssignableToReadonlyArray.js @@ -22,6 +22,7 @@ rrb = cra; // error: 'A' is not assignable to 'B' //// [arrayOfSubtypeIsAssignableToReadonlyArray.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/arrayReferenceWithoutTypeArgs.js b/tests/baselines/reference/arrayReferenceWithoutTypeArgs.js index 7bb632a55f625..b8a508df1af02 100644 --- a/tests/baselines/reference/arrayReferenceWithoutTypeArgs.js +++ b/tests/baselines/reference/arrayReferenceWithoutTypeArgs.js @@ -6,6 +6,7 @@ class X { } //// [arrayReferenceWithoutTypeArgs.js] +"use strict"; var X = /** @class */ (function () { function X() { } diff --git a/tests/baselines/reference/arraySigChecking.js b/tests/baselines/reference/arraySigChecking.js index b114161260bad..73e6dadfe41fe 100644 --- a/tests/baselines/reference/arraySigChecking.js +++ b/tests/baselines/reference/arraySigChecking.js @@ -35,6 +35,7 @@ isEmpty(['a']); //// [arraySigChecking.js] +"use strict"; var strArray = [myVar.voidFn()]; var myArray; myArray = [[1, 2]]; diff --git a/tests/baselines/reference/arraySlice.js b/tests/baselines/reference/arraySlice.js index c496aa4ed2dd9..1b055db163d09 100644 --- a/tests/baselines/reference/arraySlice.js +++ b/tests/baselines/reference/arraySlice.js @@ -6,5 +6,6 @@ arr.splice(1, 1); //// [arraySlice.js] +"use strict"; var arr; arr.splice(1, 1); diff --git a/tests/baselines/reference/arrayToLocaleStringES2015.js b/tests/baselines/reference/arrayToLocaleStringES2015.js index 06a3af447db2e..92904e3e50406 100644 --- a/tests/baselines/reference/arrayToLocaleStringES2015.js +++ b/tests/baselines/reference/arrayToLocaleStringES2015.js @@ -65,6 +65,7 @@ str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' //// [arrayToLocaleStringES2015.js] +"use strict"; let str; const arr = [1, 2, 3]; str = arr.toLocaleString(); // OK diff --git a/tests/baselines/reference/arrayToLocaleStringES2020.js b/tests/baselines/reference/arrayToLocaleStringES2020.js index 7273c07e77367..26d55ab3c05bc 100644 --- a/tests/baselines/reference/arrayToLocaleStringES2020.js +++ b/tests/baselines/reference/arrayToLocaleStringES2020.js @@ -79,6 +79,7 @@ str = bigIntUint64Array.toLocaleString('en-US', { style: 'currency', currency: ' //// [arrayToLocaleStringES2020.js] +"use strict"; let str; const arr = [1, 2, 3]; str = arr.toLocaleString(); // OK diff --git a/tests/baselines/reference/arrayToLocaleStringES5.js b/tests/baselines/reference/arrayToLocaleStringES5.js index 0cc38b6750c4e..8fc1a7c00efdf 100644 --- a/tests/baselines/reference/arrayToLocaleStringES5.js +++ b/tests/baselines/reference/arrayToLocaleStringES5.js @@ -59,6 +59,7 @@ str = float64Array.toLocaleString('en-US', { style: 'currency', currency: 'EUR' //// [arrayToLocaleStringES5.js] +"use strict"; var str; var arr = [1, 2, 3]; str = arr.toLocaleString(); // OK diff --git a/tests/baselines/reference/arrayTypeInSignatureOfInterfaceAndClass.js b/tests/baselines/reference/arrayTypeInSignatureOfInterfaceAndClass.js index b99e5e949b615..50dc5f3a940c4 100644 --- a/tests/baselines/reference/arrayTypeInSignatureOfInterfaceAndClass.js +++ b/tests/baselines/reference/arrayTypeInSignatureOfInterfaceAndClass.js @@ -28,3 +28,4 @@ declare namespace Data { } //// [arrayTypeInSignatureOfInterfaceAndClass.js] +"use strict"; diff --git a/tests/baselines/reference/arrayTypeOfFunctionTypes.js b/tests/baselines/reference/arrayTypeOfFunctionTypes.js index 840ea1ad405dc..e2a66c37659cc 100644 --- a/tests/baselines/reference/arrayTypeOfFunctionTypes.js +++ b/tests/baselines/reference/arrayTypeOfFunctionTypes.js @@ -19,6 +19,7 @@ var r6 = r5(); var r6b = new r5(); // error //// [arrayTypeOfFunctionTypes.js] +"use strict"; // valid uses of arrays of function types var x; var r = x[1]; diff --git a/tests/baselines/reference/arrayTypeOfFunctionTypes2.js b/tests/baselines/reference/arrayTypeOfFunctionTypes2.js index 77e60bb8c08cf..ba706cb44e5b4 100644 --- a/tests/baselines/reference/arrayTypeOfFunctionTypes2.js +++ b/tests/baselines/reference/arrayTypeOfFunctionTypes2.js @@ -19,6 +19,7 @@ var r6 = new r5(); var r6b = r5(); //// [arrayTypeOfFunctionTypes2.js] +"use strict"; // valid uses of arrays of function types var x; var r = x[1]; diff --git a/tests/baselines/reference/arrayTypeOfTypeOf.js b/tests/baselines/reference/arrayTypeOfTypeOf.js index b6827bd2a9999..992aa55843d38 100644 --- a/tests/baselines/reference/arrayTypeOfTypeOf.js +++ b/tests/baselines/reference/arrayTypeOfTypeOf.js @@ -10,6 +10,7 @@ var xs3: typeof Array; var xs4: typeof Array; //// [arrayTypeOfTypeOf.js] +"use strict"; // array type cannot use typeof. var x = 1; var xs; // Not an error. This is equivalent to Array diff --git a/tests/baselines/reference/arrayconcat.js b/tests/baselines/reference/arrayconcat.js index b42610336bb66..9055828fb31a2 100644 --- a/tests/baselines/reference/arrayconcat.js +++ b/tests/baselines/reference/arrayconcat.js @@ -31,6 +31,7 @@ class parser { } //// [arrayconcat.js] +"use strict"; var parser = /** @class */ (function () { function parser() { } diff --git a/tests/baselines/reference/arrowFunctionContexts.errors.txt b/tests/baselines/reference/arrowFunctionContexts.errors.txt index 5d9a5ef323759..bc9bbac6219bf 100644 --- a/tests/baselines/reference/arrowFunctionContexts.errors.txt +++ b/tests/baselines/reference/arrowFunctionContexts.errors.txt @@ -1,14 +1,18 @@ +arrowFunctionContexts.ts(2,1): error TS1101: 'with' statements are not allowed in strict mode. arrowFunctionContexts.ts(2,1): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. arrowFunctionContexts.ts(30,9): error TS18033: Type '() => number' is not assignable to type 'number' as required for computed enum member values. arrowFunctionContexts.ts(31,16): error TS2332: 'this' cannot be referenced in current location. +arrowFunctionContexts.ts(43,5): error TS1101: 'with' statements are not allowed in strict mode. arrowFunctionContexts.ts(43,5): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. arrowFunctionContexts.ts(71,13): error TS18033: Type '() => number' is not assignable to type 'number' as required for computed enum member values. arrowFunctionContexts.ts(72,20): error TS2332: 'this' cannot be referenced in current location. -==== arrowFunctionContexts.ts (6 errors) ==== +==== arrowFunctionContexts.ts (8 errors) ==== // Arrow function used in with statement with (window) { + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. var p = () => this; @@ -56,6 +60,8 @@ arrowFunctionContexts.ts(72,20): error TS2332: 'this' cannot be referenced in cu namespace M2 { // Arrow function used in with statement with (window) { + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. var p = () => this; diff --git a/tests/baselines/reference/arrowFunctionContexts.js b/tests/baselines/reference/arrowFunctionContexts.js index 60d6fbb1f3b9b..f93a7197a2055 100644 --- a/tests/baselines/reference/arrowFunctionContexts.js +++ b/tests/baselines/reference/arrowFunctionContexts.js @@ -98,6 +98,7 @@ var asserted2: any; //// [arrowFunctionContexts.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/arrowFunctionErrorSpan.js b/tests/baselines/reference/arrowFunctionErrorSpan.js index b9dd81a62ea09..20325d0949358 100644 --- a/tests/baselines/reference/arrowFunctionErrorSpan.js +++ b/tests/baselines/reference/arrowFunctionErrorSpan.js @@ -57,6 +57,7 @@ f(_ => 1 + //// [arrowFunctionErrorSpan.js] +"use strict"; function f(a) { } // oneliner f(function () { }); diff --git a/tests/baselines/reference/arrowFunctionExpressions.js b/tests/baselines/reference/arrowFunctionExpressions.js index f4be03dd189a6..35d061f3a8a6c 100644 --- a/tests/baselines/reference/arrowFunctionExpressions.js +++ b/tests/baselines/reference/arrowFunctionExpressions.js @@ -102,6 +102,7 @@ function tryCatchFn() { //// [arrowFunctionExpressions.js] +"use strict"; // ArrowFormalParameters => AssignmentExpression is equivalent to ArrowFormalParameters => { return AssignmentExpression; } var a = function (p) { return p.length; }; var a = function (p) { return p.length; }; diff --git a/tests/baselines/reference/arrowFunctionInConstructorArgument1.js b/tests/baselines/reference/arrowFunctionInConstructorArgument1.js index d7762cad8adba..7db89b730e42e 100644 --- a/tests/baselines/reference/arrowFunctionInConstructorArgument1.js +++ b/tests/baselines/reference/arrowFunctionInConstructorArgument1.js @@ -8,6 +8,7 @@ var c = new C(() => { return asdf; } ) // should error //// [arrowFunctionInConstructorArgument1.js] +"use strict"; var C = /** @class */ (function () { function C(x) { } diff --git a/tests/baselines/reference/arrowFunctionInExpressionStatement1.js b/tests/baselines/reference/arrowFunctionInExpressionStatement1.js index 8edeb9c0a3460..b6e12018d6239 100644 --- a/tests/baselines/reference/arrowFunctionInExpressionStatement1.js +++ b/tests/baselines/reference/arrowFunctionInExpressionStatement1.js @@ -4,4 +4,5 @@ () => 0; //// [arrowFunctionInExpressionStatement1.js] +"use strict"; (function () { return 0; }); diff --git a/tests/baselines/reference/arrowFunctionInExpressionStatement2.js b/tests/baselines/reference/arrowFunctionInExpressionStatement2.js index 550a88228d8ba..6fb76f50d77e7 100644 --- a/tests/baselines/reference/arrowFunctionInExpressionStatement2.js +++ b/tests/baselines/reference/arrowFunctionInExpressionStatement2.js @@ -6,6 +6,7 @@ namespace M { } //// [arrowFunctionInExpressionStatement2.js] +"use strict"; var M; (function (M) { (function () { return 0; }); diff --git a/tests/baselines/reference/arrowFunctionMissingCurlyWithSemicolon.js b/tests/baselines/reference/arrowFunctionMissingCurlyWithSemicolon.js index ea026b5bb5bc7..fc0265be6cddd 100644 --- a/tests/baselines/reference/arrowFunctionMissingCurlyWithSemicolon.js +++ b/tests/baselines/reference/arrowFunctionMissingCurlyWithSemicolon.js @@ -7,6 +7,7 @@ var b = 1 * 2 * 3 * 4; var square = (x: number) => x * x; //// [arrowFunctionMissingCurlyWithSemicolon.js] +"use strict"; // Should error at semicolon. var f = function () { return ; }; var b = 1 * 2 * 3 * 4; diff --git a/tests/baselines/reference/arrowFunctionParsingDoesNotConfuseParenthesizedObjectForArrowHead.js b/tests/baselines/reference/arrowFunctionParsingDoesNotConfuseParenthesizedObjectForArrowHead.js index 5e99656ebdea6..ecdfc187ceeef 100644 --- a/tests/baselines/reference/arrowFunctionParsingDoesNotConfuseParenthesizedObjectForArrowHead.js +++ b/tests/baselines/reference/arrowFunctionParsingDoesNotConfuseParenthesizedObjectForArrowHead.js @@ -18,6 +18,7 @@ const test = () => ({ //// [arrowFunctionParsingDoesNotConfuseParenthesizedObjectForArrowHead.js] +"use strict"; var test = function () { return ({ // "Identifier expected." error on "!" and two "Duplicate identifier '(Missing)'." errors on space. prop: !value, // remove ! to see that errors will be gone diff --git a/tests/baselines/reference/arrowFunctionParsingGenericInObject.js b/tests/baselines/reference/arrowFunctionParsingGenericInObject.js index eb8a95546feec..c6bbd2aa754cb 100644 --- a/tests/baselines/reference/arrowFunctionParsingGenericInObject.js +++ b/tests/baselines/reference/arrowFunctionParsingGenericInObject.js @@ -43,6 +43,7 @@ const fn4async = () => ({ //// [arrowFunctionParsingGenericInObject.js] +"use strict"; const fn1 = () => ({ test: (value) => value, extraValue: () => { }, diff --git a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody1.js b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody1.js index 07163e950d79d..f747ddbafac58 100644 --- a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody1.js +++ b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody1.js @@ -4,4 +4,5 @@ var v = a => {} //// [arrowFunctionWithObjectLiteralBody1.js] +"use strict"; var v = function (a) { return ({}); }; diff --git a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody2.js b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody2.js index a7a6cae46a019..06418672e4c7d 100644 --- a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody2.js +++ b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody2.js @@ -4,4 +4,5 @@ var v = a => {} //// [arrowFunctionWithObjectLiteralBody2.js] +"use strict"; var v = function (a) { return ({}); }; diff --git a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody3.js b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody3.js index 77cbeeb1584bc..57254917b61cb 100644 --- a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody3.js +++ b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody3.js @@ -4,4 +4,5 @@ var v = a => {} //// [arrowFunctionWithObjectLiteralBody3.js] +"use strict"; var v = a => ({}); diff --git a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody4.js b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody4.js index 40b2842f3c438..8ef0003322644 100644 --- a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody4.js +++ b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody4.js @@ -4,4 +4,5 @@ var v = a => {} //// [arrowFunctionWithObjectLiteralBody4.js] +"use strict"; var v = a => ({}); diff --git a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody5.js b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody5.js index 4e83d53574428..e870b117b788e 100644 --- a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody5.js +++ b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody5.js @@ -10,6 +10,7 @@ var c = () => ({ name: "foo", message: "bar" }); var d = () => ((({ name: "foo", message: "bar" }))); //// [arrowFunctionWithObjectLiteralBody5.js] +"use strict"; var a = function () { return ({ name: "foo", message: "bar" }); }; var b = function () { return ({ name: "foo", message: "bar" }); }; var c = function () { return ({ name: "foo", message: "bar" }); }; diff --git a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody6.js b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody6.js index 8602d38b4645a..c6dad3530c5b0 100644 --- a/tests/baselines/reference/arrowFunctionWithObjectLiteralBody6.js +++ b/tests/baselines/reference/arrowFunctionWithObjectLiteralBody6.js @@ -10,6 +10,7 @@ var c = () => ({ name: "foo", message: "bar" }); var d = () => ((({ name: "foo", message: "bar" }))); //// [arrowFunctionWithObjectLiteralBody6.js] +"use strict"; var a = () => ({ name: "foo", message: "bar" }); var b = () => ({ name: "foo", message: "bar" }); var c = () => ({ name: "foo", message: "bar" }); diff --git a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017.js b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017.js index e767e6f6f169d..ec8759807f03b 100644 --- a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017.js +++ b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es2017.js @@ -4,4 +4,5 @@ const x = async => async; //// [arrowFunctionWithParameterNameAsync_es2017.js] +"use strict"; var x = function (async) { return async; }; diff --git a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5.js b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5.js index ceccea14ba50a..222c4b4d0be3c 100644 --- a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5.js +++ b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es5.js @@ -4,4 +4,5 @@ const x = async => async; //// [arrowFunctionWithParameterNameAsync_es5.js] +"use strict"; var x = function (async) { return async; }; diff --git a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6.js b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6.js index 8a19c99f8be03..e14cba5f4d752 100644 --- a/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6.js +++ b/tests/baselines/reference/arrowFunctionWithParameterNameAsync_es6.js @@ -4,4 +4,5 @@ const x = async => async; //// [arrowFunctionWithParameterNameAsync_es6.js] +"use strict"; var x = function (async) { return async; }; diff --git a/tests/baselines/reference/arrowFunctionsMissingTokens.js b/tests/baselines/reference/arrowFunctionsMissingTokens.js index 7b549aaf20f3c..f37fb8cd217e1 100644 --- a/tests/baselines/reference/arrowFunctionsMissingTokens.js +++ b/tests/baselines/reference/arrowFunctionsMissingTokens.js @@ -68,6 +68,7 @@ namespace okay { } //// [arrowFunctionsMissingTokens.js] +"use strict"; var missingArrowsWithCurly; (function (missingArrowsWithCurly) { var a = function () { }; diff --git a/tests/baselines/reference/asOpEmitParens.js b/tests/baselines/reference/asOpEmitParens.js index 1096a2a24762d..cd91f56547fdc 100644 --- a/tests/baselines/reference/asOpEmitParens.js +++ b/tests/baselines/reference/asOpEmitParens.js @@ -13,6 +13,7 @@ new (x() as any); //// [asOpEmitParens.js] +"use strict"; // Must emit as (x + 1) * 3 (x + 1) * 3; // Should still emit as x.y diff --git a/tests/baselines/reference/asOperator1.js b/tests/baselines/reference/asOperator1.js index a90f36fcd9fd9..6d59556bb9dd6 100644 --- a/tests/baselines/reference/asOperator1.js +++ b/tests/baselines/reference/asOperator1.js @@ -12,6 +12,7 @@ j = ''; //// [asOperator1.js] +"use strict"; var as = 43; var x = undefined; var y = null.length; diff --git a/tests/baselines/reference/asOperator2.js b/tests/baselines/reference/asOperator2.js index cbb984e148613..b886dfb587bb2 100644 --- a/tests/baselines/reference/asOperator2.js +++ b/tests/baselines/reference/asOperator2.js @@ -5,4 +5,5 @@ var x = 23 as string; //// [asOperator2.js] +"use strict"; var x = 23; diff --git a/tests/baselines/reference/asOperator3.js b/tests/baselines/reference/asOperator3.js index 9eac43c07e479..52e64c73acd55 100644 --- a/tests/baselines/reference/asOperator3.js +++ b/tests/baselines/reference/asOperator3.js @@ -13,6 +13,7 @@ var g = tag `Hello ${123} World` as string; var h = tag `Hello` as string; //// [asOperator3.js] +"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; diff --git a/tests/baselines/reference/asOperatorASI.js b/tests/baselines/reference/asOperatorASI.js index 1de18b75954e1..404e3ebc23fb0 100644 --- a/tests/baselines/reference/asOperatorASI.js +++ b/tests/baselines/reference/asOperatorASI.js @@ -14,6 +14,7 @@ as(Foo); // should emit //// [asOperatorASI.js] +"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; diff --git a/tests/baselines/reference/asOperatorAmbiguity.js b/tests/baselines/reference/asOperatorAmbiguity.js index e10fb695a5b9e..b4f5fe4031a9e 100644 --- a/tests/baselines/reference/asOperatorAmbiguity.js +++ b/tests/baselines/reference/asOperatorAmbiguity.js @@ -12,6 +12,7 @@ var z = y[0].m; // z should be string //// [asOperatorAmbiguity.js] +"use strict"; // Make sure this is a type assertion to an array type, and not nested comparison operators. var x; var y = x; diff --git a/tests/baselines/reference/asOperatorContextualType.js b/tests/baselines/reference/asOperatorContextualType.js index 0d55b4dbd3fb6..b1dcbc7254d58 100644 --- a/tests/baselines/reference/asOperatorContextualType.js +++ b/tests/baselines/reference/asOperatorContextualType.js @@ -5,5 +5,6 @@ var x = (v => v) as (x: number) => string; //// [asOperatorContextualType.js] +"use strict"; // should error var x = (function (v) { return v; }); diff --git a/tests/baselines/reference/asOperatorNames.js b/tests/baselines/reference/asOperatorNames.js index bf1d0f3c72653..6951723d582a9 100644 --- a/tests/baselines/reference/asOperatorNames.js +++ b/tests/baselines/reference/asOperatorNames.js @@ -8,6 +8,7 @@ var as1 = as as string; //// [asOperatorNames.js] +"use strict"; var a = 20; var b = a; var as = "hello"; diff --git a/tests/baselines/reference/asiAbstract.js b/tests/baselines/reference/asiAbstract.js index 55a6f8b175b44..a53f10a388661 100644 --- a/tests/baselines/reference/asiAbstract.js +++ b/tests/baselines/reference/asiAbstract.js @@ -18,6 +18,7 @@ class C3 { //// [asiAbstract.js] +"use strict"; abstract; var NonAbstractClass = /** @class */ (function () { function NonAbstractClass() { diff --git a/tests/baselines/reference/asiAmbientFunctionDeclaration.js b/tests/baselines/reference/asiAmbientFunctionDeclaration.js index fd36df59caa97..3f66751fab70e 100644 --- a/tests/baselines/reference/asiAmbientFunctionDeclaration.js +++ b/tests/baselines/reference/asiAmbientFunctionDeclaration.js @@ -4,3 +4,4 @@ declare function foo() //// [asiAmbientFunctionDeclaration.js] +"use strict"; diff --git a/tests/baselines/reference/asiArith.js b/tests/baselines/reference/asiArith.js index 441f09c9f62b7..f96b769c0ba40 100644 --- a/tests/baselines/reference/asiArith.js +++ b/tests/baselines/reference/asiArith.js @@ -37,6 +37,7 @@ y //// [asiArith.js] +"use strict"; var x = 1; var y = 1; var z = x diff --git a/tests/baselines/reference/asiBreak.js b/tests/baselines/reference/asiBreak.js index ff6296f0b78c9..a29b27567f803 100644 --- a/tests/baselines/reference/asiBreak.js +++ b/tests/baselines/reference/asiBreak.js @@ -4,5 +4,6 @@ while (true) break //// [asiBreak.js] +"use strict"; while (true) break; diff --git a/tests/baselines/reference/asiContinue.js b/tests/baselines/reference/asiContinue.js index 2937e6819b29b..6750ab641bc96 100644 --- a/tests/baselines/reference/asiContinue.js +++ b/tests/baselines/reference/asiContinue.js @@ -4,5 +4,6 @@ while (true) continue //// [asiContinue.js] +"use strict"; while (true) continue; diff --git a/tests/baselines/reference/asiInES6Classes.js b/tests/baselines/reference/asiInES6Classes.js index c0a9938449112..fbc2ba7a28884 100644 --- a/tests/baselines/reference/asiInES6Classes.js +++ b/tests/baselines/reference/asiInES6Classes.js @@ -25,6 +25,7 @@ class Foo { //// [asiInES6Classes.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.defaults = { diff --git a/tests/baselines/reference/asiPreventsParsingAsAmbientExternalModule01.js b/tests/baselines/reference/asiPreventsParsingAsAmbientExternalModule01.js index b78dfc31eebc5..f64157251115f 100644 --- a/tests/baselines/reference/asiPreventsParsingAsAmbientExternalModule01.js +++ b/tests/baselines/reference/asiPreventsParsingAsAmbientExternalModule01.js @@ -10,6 +10,7 @@ module // this is the identifier 'module' { } // this is a block body //// [asiPreventsParsingAsAmbientExternalModule01.js] +"use strict"; var declare; var module; declare; // this is the identifier 'declare' diff --git a/tests/baselines/reference/asiPreventsParsingAsAmbientExternalModule02.js b/tests/baselines/reference/asiPreventsParsingAsAmbientExternalModule02.js index be867624cc3b5..243d0a03104fe 100644 --- a/tests/baselines/reference/asiPreventsParsingAsAmbientExternalModule02.js +++ b/tests/baselines/reference/asiPreventsParsingAsAmbientExternalModule02.js @@ -12,6 +12,7 @@ namespace container { } //// [asiPreventsParsingAsAmbientExternalModule02.js] +"use strict"; var declare; var module; var container; diff --git a/tests/baselines/reference/asiPreventsParsingAsInterface01.errors.txt b/tests/baselines/reference/asiPreventsParsingAsInterface01.errors.txt new file mode 100644 index 0000000000000..0a02c70360b7e --- /dev/null +++ b/tests/baselines/reference/asiPreventsParsingAsInterface01.errors.txt @@ -0,0 +1,14 @@ +asiPreventsParsingAsInterface01.ts(1,5): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. +asiPreventsParsingAsInterface01.ts(3,1): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + + +==== asiPreventsParsingAsInterface01.ts (2 errors) ==== + var interface: number, I: string; + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + + interface // This should be the identifier 'interface' + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + I // This should be the identifier 'I' + {} // This should be a block body \ No newline at end of file diff --git a/tests/baselines/reference/asiPreventsParsingAsInterface01.js b/tests/baselines/reference/asiPreventsParsingAsInterface01.js index 49e75fd95b106..1c82878b91fb4 100644 --- a/tests/baselines/reference/asiPreventsParsingAsInterface01.js +++ b/tests/baselines/reference/asiPreventsParsingAsInterface01.js @@ -8,6 +8,7 @@ I // This should be the identifier 'I' {} // This should be a block body //// [asiPreventsParsingAsInterface01.js] +"use strict"; var interface, I; interface; // This should be the identifier 'interface' I; // This should be the identifier 'I' diff --git a/tests/baselines/reference/asiPreventsParsingAsInterface02.errors.txt b/tests/baselines/reference/asiPreventsParsingAsInterface02.errors.txt new file mode 100644 index 0000000000000..7668be900dff4 --- /dev/null +++ b/tests/baselines/reference/asiPreventsParsingAsInterface02.errors.txt @@ -0,0 +1,14 @@ +asiPreventsParsingAsInterface02.ts(1,12): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. +asiPreventsParsingAsInterface02.ts(2,5): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + + +==== asiPreventsParsingAsInterface02.ts (2 errors) ==== + function f(interface: number, I: string) { + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + interface // This should be the identifier 'interface' + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + I // This should be the identifier 'I' + {} // This should be a block body + } \ No newline at end of file diff --git a/tests/baselines/reference/asiPreventsParsingAsInterface02.js b/tests/baselines/reference/asiPreventsParsingAsInterface02.js index f2e14e01c0f7d..991c22b3cd983 100644 --- a/tests/baselines/reference/asiPreventsParsingAsInterface02.js +++ b/tests/baselines/reference/asiPreventsParsingAsInterface02.js @@ -8,6 +8,7 @@ function f(interface: number, I: string) { } //// [asiPreventsParsingAsInterface02.js] +"use strict"; function f(interface, I) { interface; // This should be the identifier 'interface' I; // This should be the identifier 'I' diff --git a/tests/baselines/reference/asiPreventsParsingAsInterface03.errors.txt b/tests/baselines/reference/asiPreventsParsingAsInterface03.errors.txt new file mode 100644 index 0000000000000..827183b498f30 --- /dev/null +++ b/tests/baselines/reference/asiPreventsParsingAsInterface03.errors.txt @@ -0,0 +1,16 @@ +asiPreventsParsingAsInterface03.ts(1,5): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. +asiPreventsParsingAsInterface03.ts(4,5): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + + +==== asiPreventsParsingAsInterface03.ts (2 errors) ==== + var interface: number, I: string; + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + + namespace n { + interface // This should be the identifier 'interface' + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + I // This should be the identifier 'I' + {} // This should be a block body + } \ No newline at end of file diff --git a/tests/baselines/reference/asiPreventsParsingAsInterface03.js b/tests/baselines/reference/asiPreventsParsingAsInterface03.js index 62650298ac91d..376c1fb487008 100644 --- a/tests/baselines/reference/asiPreventsParsingAsInterface03.js +++ b/tests/baselines/reference/asiPreventsParsingAsInterface03.js @@ -10,6 +10,7 @@ namespace n { } //// [asiPreventsParsingAsInterface03.js] +"use strict"; var interface, I; var n; (function (n) { diff --git a/tests/baselines/reference/asiPreventsParsingAsInterface04.errors.txt b/tests/baselines/reference/asiPreventsParsingAsInterface04.errors.txt new file mode 100644 index 0000000000000..326a6df7eb468 --- /dev/null +++ b/tests/baselines/reference/asiPreventsParsingAsInterface04.errors.txt @@ -0,0 +1,15 @@ +asiPreventsParsingAsInterface04.ts(1,23): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. +asiPreventsParsingAsInterface04.ts(4,1): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + + +==== asiPreventsParsingAsInterface04.ts (2 errors) ==== + var declare: boolean, interface: number, I: string; + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + + declare // This should be the identifier 'declare' + interface // This should be the identifier 'interface' + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. + I // This should be the identifier 'I' + {} // This should be a block body \ No newline at end of file diff --git a/tests/baselines/reference/asiPreventsParsingAsInterface04.js b/tests/baselines/reference/asiPreventsParsingAsInterface04.js index 248e9f0196769..18e8b3503ed79 100644 --- a/tests/baselines/reference/asiPreventsParsingAsInterface04.js +++ b/tests/baselines/reference/asiPreventsParsingAsInterface04.js @@ -9,6 +9,7 @@ I // This should be the identifier 'I' {} // This should be a block body //// [asiPreventsParsingAsInterface04.js] +"use strict"; var declare, interface, I; declare; // This should be the identifier 'declare' interface; // This should be the identifier 'interface' diff --git a/tests/baselines/reference/asiPreventsParsingAsNamespace01.js b/tests/baselines/reference/asiPreventsParsingAsNamespace01.js index d2a31b6db7357..948ec2daf1afe 100644 --- a/tests/baselines/reference/asiPreventsParsingAsNamespace01.js +++ b/tests/baselines/reference/asiPreventsParsingAsNamespace01.js @@ -9,6 +9,7 @@ n // this is the identifier 'n' { } // this is a block body //// [asiPreventsParsingAsNamespace01.js] +"use strict"; var namespace; var n; namespace; // this is the identifier 'namespace' diff --git a/tests/baselines/reference/asiPreventsParsingAsNamespace02.js b/tests/baselines/reference/asiPreventsParsingAsNamespace02.js index 968b0c1834857..7d9929a5a057f 100644 --- a/tests/baselines/reference/asiPreventsParsingAsNamespace02.js +++ b/tests/baselines/reference/asiPreventsParsingAsNamespace02.js @@ -9,6 +9,7 @@ m // this is the identifier 'm' { } // this is a block body //// [asiPreventsParsingAsNamespace02.js] +"use strict"; var module; var m; module; // this is the identifier 'namespace' diff --git a/tests/baselines/reference/asiPreventsParsingAsNamespace03.js b/tests/baselines/reference/asiPreventsParsingAsNamespace03.js index 3c4ad1422266a..46773838a6700 100644 --- a/tests/baselines/reference/asiPreventsParsingAsNamespace03.js +++ b/tests/baselines/reference/asiPreventsParsingAsNamespace03.js @@ -11,6 +11,7 @@ namespace container { } //// [asiPreventsParsingAsNamespace03.js] +"use strict"; var namespace; var n; var container; diff --git a/tests/baselines/reference/asiPreventsParsingAsNamespace04.js b/tests/baselines/reference/asiPreventsParsingAsNamespace04.js index 027b839404df2..6977ec554f518 100644 --- a/tests/baselines/reference/asiPreventsParsingAsNamespace04.js +++ b/tests/baselines/reference/asiPreventsParsingAsNamespace04.js @@ -5,5 +5,6 @@ let module = 10; module in {} //// [asiPreventsParsingAsNamespace04.js] +"use strict"; var module = 10; module in {}; diff --git a/tests/baselines/reference/asiPreventsParsingAsNamespace05.js b/tests/baselines/reference/asiPreventsParsingAsNamespace05.js index 0abf89d14d1c7..1cc48529cb88c 100644 --- a/tests/baselines/reference/asiPreventsParsingAsNamespace05.js +++ b/tests/baselines/reference/asiPreventsParsingAsNamespace05.js @@ -12,6 +12,7 @@ a.b.c } //// [asiPreventsParsingAsNamespace05.js] +"use strict"; var namespace = 10; var a; (function (a) { diff --git a/tests/baselines/reference/asiPreventsParsingAsTypeAlias01.js b/tests/baselines/reference/asiPreventsParsingAsTypeAlias01.js index 555ee106f7093..5c5112b523ac1 100644 --- a/tests/baselines/reference/asiPreventsParsingAsTypeAlias01.js +++ b/tests/baselines/reference/asiPreventsParsingAsTypeAlias01.js @@ -9,6 +9,7 @@ type Foo = string; //// [asiPreventsParsingAsTypeAlias01.js] +"use strict"; var type; var string; var Foo; diff --git a/tests/baselines/reference/asiPreventsParsingAsTypeAlias02.js b/tests/baselines/reference/asiPreventsParsingAsTypeAlias02.js index 6b86e53716a5d..975b5372cdd58 100644 --- a/tests/baselines/reference/asiPreventsParsingAsTypeAlias02.js +++ b/tests/baselines/reference/asiPreventsParsingAsTypeAlias02.js @@ -11,6 +11,7 @@ namespace container { } //// [asiPreventsParsingAsTypeAlias02.js] +"use strict"; var type; var string; var Foo; diff --git a/tests/baselines/reference/asiPublicPrivateProtected.errors.txt b/tests/baselines/reference/asiPublicPrivateProtected.errors.txt index c3653603ddc74..73bb539683e31 100644 --- a/tests/baselines/reference/asiPublicPrivateProtected.errors.txt +++ b/tests/baselines/reference/asiPublicPrivateProtected.errors.txt @@ -1,11 +1,16 @@ +asiPublicPrivateProtected.ts(1,1): error TS1212: Identifier expected. 'public' is a reserved word in strict mode. asiPublicPrivateProtected.ts(1,1): error TS2304: Cannot find name 'public'. +asiPublicPrivateProtected.ts(12,1): error TS1212: Identifier expected. 'private' is a reserved word in strict mode. asiPublicPrivateProtected.ts(12,1): error TS2304: Cannot find name 'private'. +asiPublicPrivateProtected.ts(23,1): error TS1212: Identifier expected. 'protected' is a reserved word in strict mode. asiPublicPrivateProtected.ts(23,1): error TS2304: Cannot find name 'protected'. -==== asiPublicPrivateProtected.ts (3 errors) ==== +==== asiPublicPrivateProtected.ts (6 errors) ==== public ~~~~~~ +!!! error TS1212: Identifier expected. 'public' is a reserved word in strict mode. + ~~~~~~ !!! error TS2304: Cannot find name 'public'. class NonPublicClass { public s() { @@ -19,6 +24,8 @@ asiPublicPrivateProtected.ts(23,1): error TS2304: Cannot find name 'protected'. } private ~~~~~~~ +!!! error TS1212: Identifier expected. 'private' is a reserved word in strict mode. + ~~~~~~~ !!! error TS2304: Cannot find name 'private'. class NonPrivateClass { private s() { @@ -32,6 +39,8 @@ asiPublicPrivateProtected.ts(23,1): error TS2304: Cannot find name 'protected'. } protected ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'protected' is a reserved word in strict mode. + ~~~~~~~~~ !!! error TS2304: Cannot find name 'protected'. class NonProtectedClass { protected s() { diff --git a/tests/baselines/reference/asiPublicPrivateProtected.js b/tests/baselines/reference/asiPublicPrivateProtected.js index 4f9ba76fc8e67..43f0f96ed9ea6 100644 --- a/tests/baselines/reference/asiPublicPrivateProtected.js +++ b/tests/baselines/reference/asiPublicPrivateProtected.js @@ -43,6 +43,7 @@ class ClassWithThreeMembers { //// [asiPublicPrivateProtected.js] +"use strict"; public; var NonPublicClass = /** @class */ (function () { function NonPublicClass() { diff --git a/tests/baselines/reference/asiReturn.js b/tests/baselines/reference/asiReturn.js index 0e416cf5544c2..0926e1ac51b7a 100644 --- a/tests/baselines/reference/asiReturn.js +++ b/tests/baselines/reference/asiReturn.js @@ -5,5 +5,6 @@ return //// [asiReturn.js] +"use strict"; // This should be an error for using a return outside a function, but ASI should work properly return; diff --git a/tests/baselines/reference/assertInWrapSomeTypeParameter.js b/tests/baselines/reference/assertInWrapSomeTypeParameter.js index e2428d6a5bbe6..e762eed9042c5 100644 --- a/tests/baselines/reference/assertInWrapSomeTypeParameter.js +++ b/tests/baselines/reference/assertInWrapSomeTypeParameter.js @@ -8,6 +8,7 @@ class C> { } //// [assertInWrapSomeTypeParameter.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/assign1.js b/tests/baselines/reference/assign1.js index c39e15498381b..223ae5b5b32b2 100644 --- a/tests/baselines/reference/assign1.js +++ b/tests/baselines/reference/assign1.js @@ -12,6 +12,7 @@ namespace M { //// [assign1.js] +"use strict"; var M; (function (M) { var x = { salt: 2, pepper: 0 }; diff --git a/tests/baselines/reference/assignAnyToEveryType.js b/tests/baselines/reference/assignAnyToEveryType.js index 7d68f62e3d705..fe57a69bb41ad 100644 --- a/tests/baselines/reference/assignAnyToEveryType.js +++ b/tests/baselines/reference/assignAnyToEveryType.js @@ -48,6 +48,7 @@ function k(a: T) { } //// [assignAnyToEveryType.js] +"use strict"; // all of these are valid var x; var a = x; diff --git a/tests/baselines/reference/assignEveryTypeToAny.js b/tests/baselines/reference/assignEveryTypeToAny.js index 0c7e4b20f59d4..c90b677f8d9bc 100644 --- a/tests/baselines/reference/assignEveryTypeToAny.js +++ b/tests/baselines/reference/assignEveryTypeToAny.js @@ -58,6 +58,7 @@ function j(a: T) { } //// [assignEveryTypeToAny.js] +"use strict"; // all of these are valid var x; x = 1; diff --git a/tests/baselines/reference/assignFromBooleanInterface.js b/tests/baselines/reference/assignFromBooleanInterface.js index 21b05dedd0d14..9dcb3b6daa4f7 100644 --- a/tests/baselines/reference/assignFromBooleanInterface.js +++ b/tests/baselines/reference/assignFromBooleanInterface.js @@ -7,6 +7,7 @@ x = a; a = x; //// [assignFromBooleanInterface.js] +"use strict"; var x = true; x = a; a = x; diff --git a/tests/baselines/reference/assignFromBooleanInterface2.js b/tests/baselines/reference/assignFromBooleanInterface2.js index 0ac4657706ff4..04401fcdbd65f 100644 --- a/tests/baselines/reference/assignFromBooleanInterface2.js +++ b/tests/baselines/reference/assignFromBooleanInterface2.js @@ -25,6 +25,7 @@ x = b; // expected error //// [assignFromBooleanInterface2.js] +"use strict"; var x = true; a = x; a = b; diff --git a/tests/baselines/reference/assignFromNumberInterface.js b/tests/baselines/reference/assignFromNumberInterface.js index d4b57147fd22c..c9674da90496f 100644 --- a/tests/baselines/reference/assignFromNumberInterface.js +++ b/tests/baselines/reference/assignFromNumberInterface.js @@ -7,6 +7,7 @@ x = a; a = x; //// [assignFromNumberInterface.js] +"use strict"; var x = 1; x = a; a = x; diff --git a/tests/baselines/reference/assignFromNumberInterface2.js b/tests/baselines/reference/assignFromNumberInterface2.js index 7fd396aa7673d..a27450629a3e7 100644 --- a/tests/baselines/reference/assignFromNumberInterface2.js +++ b/tests/baselines/reference/assignFromNumberInterface2.js @@ -30,6 +30,7 @@ x = b; // expected error //// [assignFromNumberInterface2.js] +"use strict"; var x = 1; a = x; a = b; diff --git a/tests/baselines/reference/assignFromStringInterface.js b/tests/baselines/reference/assignFromStringInterface.js index bb220c9ae28f8..68a34092fcf44 100644 --- a/tests/baselines/reference/assignFromStringInterface.js +++ b/tests/baselines/reference/assignFromStringInterface.js @@ -7,6 +7,7 @@ x = a; a = x; //// [assignFromStringInterface.js] +"use strict"; var x = ''; x = a; a = x; diff --git a/tests/baselines/reference/assignFromStringInterface2.js b/tests/baselines/reference/assignFromStringInterface2.js index 653ba0bce6ef0..d46e451ff9d7f 100644 --- a/tests/baselines/reference/assignFromStringInterface2.js +++ b/tests/baselines/reference/assignFromStringInterface2.js @@ -53,6 +53,7 @@ x = b; // expected error //// [assignFromStringInterface2.js] +"use strict"; var x = ''; a = x; a = b; diff --git a/tests/baselines/reference/assignLambdaToNominalSubtypeOfFunction.js b/tests/baselines/reference/assignLambdaToNominalSubtypeOfFunction.js index 9671f8d71852b..6d126ec19b525 100644 --- a/tests/baselines/reference/assignLambdaToNominalSubtypeOfFunction.js +++ b/tests/baselines/reference/assignLambdaToNominalSubtypeOfFunction.js @@ -12,6 +12,7 @@ fn(function (a, b) { return true; }) //// [assignLambdaToNominalSubtypeOfFunction.js] +"use strict"; function fn(cb) { } fn(function (a, b) { return true; }); fn(function (a, b) { return true; }); diff --git a/tests/baselines/reference/assignObjectToNonPrimitive.js b/tests/baselines/reference/assignObjectToNonPrimitive.js index 40eb2db3e1fa8..4e317aa92e0a7 100644 --- a/tests/baselines/reference/assignObjectToNonPrimitive.js +++ b/tests/baselines/reference/assignObjectToNonPrimitive.js @@ -9,6 +9,7 @@ a = y; //// [assignObjectToNonPrimitive.js] +"use strict"; var x = {}; var y = { foo: "bar" }; var a; diff --git a/tests/baselines/reference/assignParameterPropertyToPropertyDeclarationES2022.js b/tests/baselines/reference/assignParameterPropertyToPropertyDeclarationES2022.js index ebff1d836dd23..547be50a28185 100644 --- a/tests/baselines/reference/assignParameterPropertyToPropertyDeclarationES2022.js +++ b/tests/baselines/reference/assignParameterPropertyToPropertyDeclarationES2022.js @@ -54,6 +54,7 @@ class H { //// [assignParameterPropertyToPropertyDeclarationES2022.js] +"use strict"; class C { foo; qux = this.bar; // should error diff --git a/tests/baselines/reference/assignParameterPropertyToPropertyDeclarationESNext.js b/tests/baselines/reference/assignParameterPropertyToPropertyDeclarationESNext.js index 834dd77490ebc..9e8c4e5583fa0 100644 --- a/tests/baselines/reference/assignParameterPropertyToPropertyDeclarationESNext.js +++ b/tests/baselines/reference/assignParameterPropertyToPropertyDeclarationESNext.js @@ -54,6 +54,7 @@ class H { //// [assignParameterPropertyToPropertyDeclarationESNext.js] +"use strict"; class C { foo; qux = this.bar; // should error diff --git a/tests/baselines/reference/assignSharedArrayBufferToArrayBuffer.js b/tests/baselines/reference/assignSharedArrayBufferToArrayBuffer.js index f7642aae6275d..4ca4b631e851e 100644 --- a/tests/baselines/reference/assignSharedArrayBufferToArrayBuffer.js +++ b/tests/baselines/reference/assignSharedArrayBufferToArrayBuffer.js @@ -4,4 +4,5 @@ var foo: ArrayBuffer = new SharedArrayBuffer(1024); // should error //// [assignSharedArrayBufferToArrayBuffer.js] +"use strict"; var foo = new SharedArrayBuffer(1024); // should error diff --git a/tests/baselines/reference/assignToEnum.js b/tests/baselines/reference/assignToEnum.js index c0fee8f2fae3d..a83094c8a41b9 100644 --- a/tests/baselines/reference/assignToEnum.js +++ b/tests/baselines/reference/assignToEnum.js @@ -10,6 +10,7 @@ A.foo = A.bar; // invalid LHS //// [assignToEnum.js] +"use strict"; var A; (function (A) { A[A["foo"] = 0] = "foo"; diff --git a/tests/baselines/reference/assignToExistingClass.js b/tests/baselines/reference/assignToExistingClass.js index 69b61d3eff57c..9be3927dd450f 100644 --- a/tests/baselines/reference/assignToExistingClass.js +++ b/tests/baselines/reference/assignToExistingClass.js @@ -18,6 +18,7 @@ namespace Test { //// [assignToExistingClass.js] +"use strict"; var Test; (function (Test) { var Mocked = /** @class */ (function () { diff --git a/tests/baselines/reference/assignToFn.js b/tests/baselines/reference/assignToFn.js index 38f70b78b4ccb..c3af8ed373e24 100644 --- a/tests/baselines/reference/assignToFn.js +++ b/tests/baselines/reference/assignToFn.js @@ -13,6 +13,7 @@ namespace M { //// [assignToFn.js] +"use strict"; var M; (function (M) { var x = { f: function (n) { return true; } }; diff --git a/tests/baselines/reference/assignToInvalidLHS.js b/tests/baselines/reference/assignToInvalidLHS.js index e3a6f1ea11448..4c062ec00f479 100644 --- a/tests/baselines/reference/assignToInvalidLHS.js +++ b/tests/baselines/reference/assignToInvalidLHS.js @@ -7,5 +7,6 @@ declare var y:any; var x = new y = 5; //// [assignToInvalidLHS.js] +"use strict"; // Below is actually valid JavaScript (see http://es5.github.com/#x8.7 ), even though will always fail at runtime with 'invalid left-hand side' var x = new y = 5; diff --git a/tests/baselines/reference/assignToModule.js b/tests/baselines/reference/assignToModule.js index 16e68d534f4b9..8c1ea0a052d4a 100644 --- a/tests/baselines/reference/assignToModule.js +++ b/tests/baselines/reference/assignToModule.js @@ -5,4 +5,5 @@ namespace A {} A = undefined; // invalid LHS //// [assignToModule.js] +"use strict"; A = undefined; // invalid LHS diff --git a/tests/baselines/reference/assignToObjectTypeWithPrototypeProperty.js b/tests/baselines/reference/assignToObjectTypeWithPrototypeProperty.js index a43fc66615cfc..fcb7d22f5df39 100644 --- a/tests/baselines/reference/assignToObjectTypeWithPrototypeProperty.js +++ b/tests/baselines/reference/assignToObjectTypeWithPrototypeProperty.js @@ -6,6 +6,7 @@ var p: XEvent = XEvent.prototype; var x: {prototype: XEvent} = XEvent; //// [assignToObjectTypeWithPrototypeProperty.js] +"use strict"; var XEvent = /** @class */ (function () { function XEvent() { } diff --git a/tests/baselines/reference/assignToPrototype1.js b/tests/baselines/reference/assignToPrototype1.js index c3006b1d89d78..2ab06ffbbbaee 100644 --- a/tests/baselines/reference/assignToPrototype1.js +++ b/tests/baselines/reference/assignToPrototype1.js @@ -9,5 +9,6 @@ Point.prototype.add = function(dx, dy) { }; //// [assignToPrototype1.js] +"use strict"; Point.prototype.add = function (dx, dy) { }; diff --git a/tests/baselines/reference/assigningFromObjectToAnythingElse.js b/tests/baselines/reference/assigningFromObjectToAnythingElse.js index 393cda52bead6..72a95cb317411 100644 --- a/tests/baselines/reference/assigningFromObjectToAnythingElse.js +++ b/tests/baselines/reference/assigningFromObjectToAnythingElse.js @@ -12,6 +12,7 @@ var w: Error = new Object(); //// [assigningFromObjectToAnythingElse.js] +"use strict"; var y; y = x; var a = Object.create(""); diff --git a/tests/baselines/reference/assigningFunctionToTupleIssuesError.js b/tests/baselines/reference/assigningFunctionToTupleIssuesError.js index f5502a8feaad0..1f1e3c942377f 100644 --- a/tests/baselines/reference/assigningFunctionToTupleIssuesError.js +++ b/tests/baselines/reference/assigningFunctionToTupleIssuesError.js @@ -5,4 +5,5 @@ declare let a: () => void; let b: [string] = a; //// [assigningFunctionToTupleIssuesError.js] +"use strict"; var b = a; diff --git a/tests/baselines/reference/assignmentCompat1.js b/tests/baselines/reference/assignmentCompat1.js index 46129a3486827..c2344e9f339e2 100644 --- a/tests/baselines/reference/assignmentCompat1.js +++ b/tests/baselines/reference/assignmentCompat1.js @@ -15,6 +15,7 @@ z = false; // Error //// [assignmentCompat1.js] +"use strict"; var x = { one: 1 }; x = y; // Error y = x; // Ok because index signature type is any diff --git a/tests/baselines/reference/assignmentCompatBetweenTupleAndArray.js b/tests/baselines/reference/assignmentCompatBetweenTupleAndArray.js index 682af0db3825c..2ff490f04704f 100644 --- a/tests/baselines/reference/assignmentCompatBetweenTupleAndArray.js +++ b/tests/baselines/reference/assignmentCompatBetweenTupleAndArray.js @@ -22,6 +22,7 @@ emptyObjTuple = emptyObjArray; //// [assignmentCompatBetweenTupleAndArray.js] +"use strict"; // no error numArray = numNumTuple; emptyObjArray = emptyObjTuple; diff --git a/tests/baselines/reference/assignmentCompatBug2.js b/tests/baselines/reference/assignmentCompatBug2.js index 8eafbe2b11059..bef8e12f13e87 100644 --- a/tests/baselines/reference/assignmentCompatBug2.js +++ b/tests/baselines/reference/assignmentCompatBug2.js @@ -41,6 +41,7 @@ b3 = { }; // error //// [assignmentCompatBug2.js] +"use strict"; var b2 = { a: 0 }; // error b2 = { a: 0 }; // error b2 = { b: 0, a: 0 }; diff --git a/tests/baselines/reference/assignmentCompatBug3.js b/tests/baselines/reference/assignmentCompatBug3.js index b0497db1715ff..5963eb7c489a1 100644 --- a/tests/baselines/reference/assignmentCompatBug3.js +++ b/tests/baselines/reference/assignmentCompatBug3.js @@ -28,6 +28,7 @@ foo(x); foo(x + y); //// [assignmentCompatBug3.js] +"use strict"; function makePoint(x, y) { return { get x() { return x; }, // shouldn't be "void" diff --git a/tests/baselines/reference/assignmentCompatBug5.js b/tests/baselines/reference/assignmentCompatBug5.js index 3206dcdc9da5b..90232c39eb539 100644 --- a/tests/baselines/reference/assignmentCompatBug5.js +++ b/tests/baselines/reference/assignmentCompatBug5.js @@ -14,6 +14,7 @@ foo3((n) => { return; }); //// [assignmentCompatBug5.js] +"use strict"; function foo1(x) { } foo1({ b: 5 }); function foo2(x) { } diff --git a/tests/baselines/reference/assignmentCompatForEnums.js b/tests/baselines/reference/assignmentCompatForEnums.js index 81fca0dde353a..a9e4473db4d93 100644 --- a/tests/baselines/reference/assignmentCompatForEnums.js +++ b/tests/baselines/reference/assignmentCompatForEnums.js @@ -17,6 +17,7 @@ function foo() { //// [assignmentCompatForEnums.js] +"use strict"; var TokenType; (function (TokenType) { TokenType[TokenType["One"] = 0] = "One"; diff --git a/tests/baselines/reference/assignmentCompatFunctionsWithOptionalArgs.js b/tests/baselines/reference/assignmentCompatFunctionsWithOptionalArgs.js index 57acf2f70ace6..cc1b4ebe1d4f9 100644 --- a/tests/baselines/reference/assignmentCompatFunctionsWithOptionalArgs.js +++ b/tests/baselines/reference/assignmentCompatFunctionsWithOptionalArgs.js @@ -8,6 +8,7 @@ foo({ id: 1234, name: false }); // Error, name of wrong type foo({ name: "hello" }); // Error, id required but missing //// [assignmentCompatFunctionsWithOptionalArgs.js] +"use strict"; foo({ id: 1234 }); // Ok foo({ id: 1234, name: "hello" }); // Ok foo({ id: 1234, name: false }); // Error, name of wrong type diff --git a/tests/baselines/reference/assignmentCompatInterfaceWithStringIndexSignature.js b/tests/baselines/reference/assignmentCompatInterfaceWithStringIndexSignature.js index a03a4d0efb07c..aaeaba7100905 100644 --- a/tests/baselines/reference/assignmentCompatInterfaceWithStringIndexSignature.js +++ b/tests/baselines/reference/assignmentCompatInterfaceWithStringIndexSignature.js @@ -19,6 +19,7 @@ Biz(new Foo()); //// [assignmentCompatInterfaceWithStringIndexSignature.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/assignmentCompatOnNew.js b/tests/baselines/reference/assignmentCompatOnNew.js index f5607ae2eea0d..cc19a9f0e98af 100644 --- a/tests/baselines/reference/assignmentCompatOnNew.js +++ b/tests/baselines/reference/assignmentCompatOnNew.js @@ -9,6 +9,7 @@ bar(Foo); // Error, but should be allowed //// [assignmentCompatOnNew.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures.js b/tests/baselines/reference/assignmentCompatWithCallSignatures.js index c22e0d3b838af..c9fa37cb09c62 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures.js +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures.js @@ -46,6 +46,7 @@ a = function (x: string) { return ''; } //// [assignmentCompatWithCallSignatures.js] +"use strict"; // void returning call signatures can be assigned a non-void returning call signature that otherwise matches t = a; a = t; diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures2.js b/tests/baselines/reference/assignmentCompatWithCallSignatures2.js index 1528b9305f2a7..92b3e5992f23b 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures2.js +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures2.js @@ -53,6 +53,7 @@ a = function (x: string) { return ''; } //// [assignmentCompatWithCallSignatures2.js] +"use strict"; // void returning call signatures can be assigned a non-void returning call signature that otherwise matches t = a; a = t; diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures3.js b/tests/baselines/reference/assignmentCompatWithCallSignatures3.js index cdc9bdebef257..2cbc62b000538 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures3.js +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures3.js @@ -102,6 +102,7 @@ b18 = a18; // ok //// [assignmentCompatWithCallSignatures3.js] +"use strict"; // these are all permitted with the current rules, since we do not do contextual signature instantiation var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures4.js b/tests/baselines/reference/assignmentCompatWithCallSignatures4.js index 7be077910bbdb..d15c790d2e9ac 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures4.js +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures4.js @@ -101,6 +101,7 @@ namespace Errors { } //// [assignmentCompatWithCallSignatures4.js] +"use strict"; // These are mostly permitted with the current loose rules. All ok unless otherwise noted. var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures5.js b/tests/baselines/reference/assignmentCompatWithCallSignatures5.js index 458d0f9444d57..8f8d4898c3b05 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures5.js +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures5.js @@ -68,6 +68,7 @@ b18 = a18; // ok //// [assignmentCompatWithCallSignatures5.js] +"use strict"; // checking assignment compat for function types. No errors in this file var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithCallSignatures6.js b/tests/baselines/reference/assignmentCompatWithCallSignatures6.js index 07364b412fbbd..429413c00e16b 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignatures6.js +++ b/tests/baselines/reference/assignmentCompatWithCallSignatures6.js @@ -45,6 +45,7 @@ x.a16 = b16; b16 = x.a16; //// [assignmentCompatWithCallSignatures6.js] +"use strict"; // checking assignment compatibility relations for function types. All valid var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithCallSignaturesWithOptionalParameters.js b/tests/baselines/reference/assignmentCompatWithCallSignaturesWithOptionalParameters.js index 21cabbf0bea02..f415dda1f0b12 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignaturesWithOptionalParameters.js +++ b/tests/baselines/reference/assignmentCompatWithCallSignaturesWithOptionalParameters.js @@ -72,6 +72,7 @@ declare var a5: (x?: number, y?: number) => number; a5 = b.a6; // ok, same number of params //// [assignmentCompatWithCallSignaturesWithOptionalParameters.js] +"use strict"; // call signatures in derived types must have the same or fewer optional parameters as the base type a = function () { return 1; }; // ok, same number of required params a = function (x) { return 1; }; // ok, same number of required params diff --git a/tests/baselines/reference/assignmentCompatWithCallSignaturesWithRestParameters.js b/tests/baselines/reference/assignmentCompatWithCallSignaturesWithRestParameters.js index 200540d6373e7..1d5cc3254d394 100644 --- a/tests/baselines/reference/assignmentCompatWithCallSignaturesWithRestParameters.js +++ b/tests/baselines/reference/assignmentCompatWithCallSignaturesWithRestParameters.js @@ -48,6 +48,7 @@ var a4: (x?: number, y?: string, ...z: number[]) => number; a4 = (x: number, ...args: string[]) => 1; // error, rest params have type mismatch //// [assignmentCompatWithCallSignaturesWithRestParameters.js] +"use strict"; // call signatures in derived types must have the same or fewer optional parameters as the target for assignment var a; // ok, same number of required params a = function () { return 1; }; // ok, same number of required params diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures.js b/tests/baselines/reference/assignmentCompatWithConstructSignatures.js index fc3f1032914b4..6ddd8d227ccff 100644 --- a/tests/baselines/reference/assignmentCompatWithConstructSignatures.js +++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures.js @@ -39,6 +39,7 @@ a = function (x: string) { return ''; } //// [assignmentCompatWithConstructSignatures.js] +"use strict"; // void returning call signatures can be assigned a non-void returning call signature that otherwise matches t = a; a = t; diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures2.js b/tests/baselines/reference/assignmentCompatWithConstructSignatures2.js index 137507b68a57b..18bbe4793f1a5 100644 --- a/tests/baselines/reference/assignmentCompatWithConstructSignatures2.js +++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures2.js @@ -45,6 +45,7 @@ a = function (x: string) { return ''; } //// [assignmentCompatWithConstructSignatures2.js] +"use strict"; // void returning call signatures can be assigned a non-void returning call signature that otherwise matches t = a; a = t; diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures3.js b/tests/baselines/reference/assignmentCompatWithConstructSignatures3.js index 4e018ae363ac3..78942d4ddfef1 100644 --- a/tests/baselines/reference/assignmentCompatWithConstructSignatures3.js +++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures3.js @@ -102,6 +102,7 @@ b18 = a18; // ok //// [assignmentCompatWithConstructSignatures3.js] +"use strict"; // checking assignment compatibility relations for function types. All of these are valid. var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures4.js b/tests/baselines/reference/assignmentCompatWithConstructSignatures4.js index 9e3b6c58fc9e3..8682c2092cfb7 100644 --- a/tests/baselines/reference/assignmentCompatWithConstructSignatures4.js +++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures4.js @@ -101,6 +101,7 @@ namespace Errors { } //// [assignmentCompatWithConstructSignatures4.js] +"use strict"; // checking assignment compatibility relations for function types. var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures5.js b/tests/baselines/reference/assignmentCompatWithConstructSignatures5.js index 07460f736472f..3ef054966590b 100644 --- a/tests/baselines/reference/assignmentCompatWithConstructSignatures5.js +++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures5.js @@ -68,6 +68,7 @@ b18 = a18; // ok //// [assignmentCompatWithConstructSignatures5.js] +"use strict"; // checking assignment compat for function types. All valid var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignatures6.js b/tests/baselines/reference/assignmentCompatWithConstructSignatures6.js index d85d3e9b8f690..a849b112424e1 100644 --- a/tests/baselines/reference/assignmentCompatWithConstructSignatures6.js +++ b/tests/baselines/reference/assignmentCompatWithConstructSignatures6.js @@ -45,6 +45,7 @@ x.a16 = b16; b16 = x.a16; //// [assignmentCompatWithConstructSignatures6.js] +"use strict"; // checking assignment compatibility relations for function types. All valid. var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithConstructSignaturesWithOptionalParameters.js b/tests/baselines/reference/assignmentCompatWithConstructSignaturesWithOptionalParameters.js index c5c90eb13e1f4..457ec7a820737 100644 --- a/tests/baselines/reference/assignmentCompatWithConstructSignaturesWithOptionalParameters.js +++ b/tests/baselines/reference/assignmentCompatWithConstructSignaturesWithOptionalParameters.js @@ -55,6 +55,7 @@ declare var a5: new (x?: number, y?: number) => number; //// [assignmentCompatWithConstructSignaturesWithOptionalParameters.js] +"use strict"; // call signatures in derived types must have the same or fewer optional parameters as the base type a = b.a; // ok a = b.a2; // ok diff --git a/tests/baselines/reference/assignmentCompatWithDiscriminatedUnion.js b/tests/baselines/reference/assignmentCompatWithDiscriminatedUnion.js index 5d9d2a9f8bea9..78162280f6412 100644 --- a/tests/baselines/reference/assignmentCompatWithDiscriminatedUnion.js +++ b/tests/baselines/reference/assignmentCompatWithDiscriminatedUnion.js @@ -229,6 +229,7 @@ namespace GH58603 { //// [assignmentCompatWithDiscriminatedUnion.js] +"use strict"; // see 'typeRelatedToDiscriminatedType' in checker.ts: // IteratorResult var Example1; diff --git a/tests/baselines/reference/assignmentCompatWithEnumIndexer.js b/tests/baselines/reference/assignmentCompatWithEnumIndexer.js index cdd80c8bcfced..dc2bc60ac1062 100644 --- a/tests/baselines/reference/assignmentCompatWithEnumIndexer.js +++ b/tests/baselines/reference/assignmentCompatWithEnumIndexer.js @@ -9,6 +9,7 @@ let foo: Record = {} //// [assignmentCompatWithEnumIndexer.js] +"use strict"; var E; (function (E) { E[E["A"] = 0] = "A"; diff --git a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures.js b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures.js index 20a588e20ae48..7633d4aa2ec12 100644 --- a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures.js +++ b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures.js @@ -10,6 +10,7 @@ f = g; // ok g = f; // ok //// [assignmentCompatWithGenericCallSignatures.js] +"use strict"; // some complex cases of assignment compat of generic signatures that stress contextual signature instantiation var f; var g; diff --git a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures2.js b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures2.js index d4481339ebd19..2eacaa0e59ac1 100644 --- a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures2.js +++ b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures2.js @@ -20,6 +20,7 @@ b = a; //// [assignmentCompatWithGenericCallSignatures2.js] +"use strict"; // some complex cases of assignment compat of generic signatures. No contextual signature instantiation // Both errors a = b; diff --git a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures3.js b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures3.js index 5f396a569edcf..cf8275d96885f 100644 --- a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures3.js +++ b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures3.js @@ -13,6 +13,7 @@ var h: (x: T) => (y: S) => { (f: (x: T) => (y: S) => U): U } g = h // ok //// [assignmentCompatWithGenericCallSignatures3.js] +"use strict"; // some complex cases of assignment compat of generic signatures that stress contextual signature instantiation var g; var h; diff --git a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures4.js b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures4.js index f93dbf528e3fe..119f282954c59 100644 --- a/tests/baselines/reference/assignmentCompatWithGenericCallSignatures4.js +++ b/tests/baselines/reference/assignmentCompatWithGenericCallSignatures4.js @@ -16,6 +16,7 @@ y = x //// [assignmentCompatWithGenericCallSignatures4.js] +"use strict"; // some complex cases of assignment compat of generic signatures. // These both do not make sense as we would eventually be comparing I2 to I2>, and they are self referencing anyway x = y; diff --git a/tests/baselines/reference/assignmentCompatWithGenericCallSignaturesWithOptionalParameters.js b/tests/baselines/reference/assignmentCompatWithGenericCallSignaturesWithOptionalParameters.js index 722711c2c93ab..b917c9ffea54f 100644 --- a/tests/baselines/reference/assignmentCompatWithGenericCallSignaturesWithOptionalParameters.js +++ b/tests/baselines/reference/assignmentCompatWithGenericCallSignaturesWithOptionalParameters.js @@ -133,6 +133,7 @@ namespace GenericSignaturesValid { } //// [assignmentCompatWithGenericCallSignaturesWithOptionalParameters.js] +"use strict"; // call signatures in derived types must have the same or fewer optional parameters as the target for assignment var ClassTypeParam; (function (ClassTypeParam) { diff --git a/tests/baselines/reference/assignmentCompatWithNumericIndexer.js b/tests/baselines/reference/assignmentCompatWithNumericIndexer.js index 20720cf290a71..304edc4793085 100644 --- a/tests/baselines/reference/assignmentCompatWithNumericIndexer.js +++ b/tests/baselines/reference/assignmentCompatWithNumericIndexer.js @@ -46,6 +46,7 @@ namespace Generics { } //// [assignmentCompatWithNumericIndexer.js] +"use strict"; // Derived type indexer must be subtype of base type indexer var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithNumericIndexer2.js b/tests/baselines/reference/assignmentCompatWithNumericIndexer2.js index 1e15c05187860..3d7aef7fda755 100644 --- a/tests/baselines/reference/assignmentCompatWithNumericIndexer2.js +++ b/tests/baselines/reference/assignmentCompatWithNumericIndexer2.js @@ -46,6 +46,7 @@ namespace Generics { } //// [assignmentCompatWithNumericIndexer2.js] +"use strict"; // Derived type indexer must be subtype of base type indexer a = b; b = a; // error diff --git a/tests/baselines/reference/assignmentCompatWithNumericIndexer3.js b/tests/baselines/reference/assignmentCompatWithNumericIndexer3.js index 9329efbbf3264..7d1151870047b 100644 --- a/tests/baselines/reference/assignmentCompatWithNumericIndexer3.js +++ b/tests/baselines/reference/assignmentCompatWithNumericIndexer3.js @@ -43,6 +43,7 @@ namespace Generics { } //// [assignmentCompatWithNumericIndexer3.js] +"use strict"; // Derived type indexer must be subtype of base type indexer var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembers.js b/tests/baselines/reference/assignmentCompatWithObjectMembers.js index 89dc75b5fe122..8270fa0beca6e 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembers.js +++ b/tests/baselines/reference/assignmentCompatWithObjectMembers.js @@ -88,6 +88,7 @@ namespace ObjectTypes { } //// [assignmentCompatWithObjectMembers.js] +"use strict"; // members N and M of types S and T have the same name, same accessibility, same optionality, and N is assignable M // no errors expected var SimpleTypes; diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembers2.js b/tests/baselines/reference/assignmentCompatWithObjectMembers2.js index 6bda8ea8ffa18..c4119ffc0dd19 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembers2.js +++ b/tests/baselines/reference/assignmentCompatWithObjectMembers2.js @@ -45,6 +45,7 @@ a2 = t; //// [assignmentCompatWithObjectMembers2.js] +"use strict"; // members N and M of types S and T have the same name, same accessibility, same optionality, and N is assignable M // additional optional properties do not cause errors var S = /** @class */ (function () { diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembers3.js b/tests/baselines/reference/assignmentCompatWithObjectMembers3.js index bb71098c20054..a8b08b4d0d02b 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembers3.js +++ b/tests/baselines/reference/assignmentCompatWithObjectMembers3.js @@ -45,6 +45,7 @@ a2 = t; //// [assignmentCompatWithObjectMembers3.js] +"use strict"; // members N and M of types S and T have the same name, same accessibility, same optionality, and N is assignable M // additional optional properties do not cause errors var S = /** @class */ (function () { diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembers4.js b/tests/baselines/reference/assignmentCompatWithObjectMembers4.js index 93cd47af52552..df8c8e5bdf375 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembers4.js +++ b/tests/baselines/reference/assignmentCompatWithObjectMembers4.js @@ -94,6 +94,7 @@ namespace WithBase { } //// [assignmentCompatWithObjectMembers4.js] +"use strict"; // members N and M of types S and T have the same name, same accessibility, same optionality, and N is not assignable M var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembers5.js b/tests/baselines/reference/assignmentCompatWithObjectMembers5.js index 0da7ab9d13299..0016c475166a8 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembers5.js +++ b/tests/baselines/reference/assignmentCompatWithObjectMembers5.js @@ -17,6 +17,7 @@ c = i; // error i = c; // error //// [assignmentCompatWithObjectMembers5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembersAccessibility.js b/tests/baselines/reference/assignmentCompatWithObjectMembersAccessibility.js index 5a87f367adfa2..8ef71fde5e7a4 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembersAccessibility.js +++ b/tests/baselines/reference/assignmentCompatWithObjectMembersAccessibility.js @@ -112,6 +112,7 @@ namespace TargetIsPublic { } //// [assignmentCompatWithObjectMembersAccessibility.js] +"use strict"; // members N and M of types S and T have the same name, same accessibility, same optionality, and N is assignable M var TargetIsPublic; (function (TargetIsPublic) { diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembersNumericNames.js b/tests/baselines/reference/assignmentCompatWithObjectMembersNumericNames.js index 836fbe85310de..da920fc5c1a04 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembersNumericNames.js +++ b/tests/baselines/reference/assignmentCompatWithObjectMembersNumericNames.js @@ -45,6 +45,7 @@ a2 = t; //// [assignmentCompatWithObjectMembersNumericNames.js] +"use strict"; // members N and M of types S and T have the same name, same accessibility, same optionality, and N is assignable M // numeric named properties work correctly, no errors expected var S = /** @class */ (function () { diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.js b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.js index afd0d3f76c549..98ce4a6b0080e 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.js +++ b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality.js @@ -91,6 +91,7 @@ namespace SourceHasOptional { } //// [assignmentCompatWithObjectMembersOptionality.js] +"use strict"; // Derived member is not optional but base member is, should be ok var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.js b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.js index a77437c73b151..d4ad5d89dfbc3 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.js +++ b/tests/baselines/reference/assignmentCompatWithObjectMembersOptionality2.js @@ -93,6 +93,7 @@ namespace SourceHasOptional { //// [assignmentCompatWithObjectMembersOptionality2.js] +"use strict"; // M is optional and S contains no property with the same name as M // N is optional and T contains no property with the same name as N var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/assignmentCompatWithObjectMembersStringNumericNames.js b/tests/baselines/reference/assignmentCompatWithObjectMembersStringNumericNames.js index a9fea11c20cfb..257a88906723d 100644 --- a/tests/baselines/reference/assignmentCompatWithObjectMembersStringNumericNames.js +++ b/tests/baselines/reference/assignmentCompatWithObjectMembersStringNumericNames.js @@ -88,6 +88,7 @@ namespace NumbersAndStrings { } //// [assignmentCompatWithObjectMembersStringNumericNames.js] +"use strict"; // members N and M of types S and T have the same name, same accessibility, same optionality, and N is assignable M // string named numeric properties work correctly, errors below unless otherwise noted var JustStrings; diff --git a/tests/baselines/reference/assignmentCompatWithOverloads.js b/tests/baselines/reference/assignmentCompatWithOverloads.js index 7e6d7e0752ab7..c3dd1d90ba3af 100644 --- a/tests/baselines/reference/assignmentCompatWithOverloads.js +++ b/tests/baselines/reference/assignmentCompatWithOverloads.js @@ -33,6 +33,7 @@ var d: new(x: number) => void; d = C; // Error //// [assignmentCompatWithOverloads.js] +"use strict"; function f1(x) { return null; } function f2(x) { return null; } function f3(x) { return null; } diff --git a/tests/baselines/reference/assignmentCompatWithStringIndexer.js b/tests/baselines/reference/assignmentCompatWithStringIndexer.js index ec0713fcc280a..496fc0afde675 100644 --- a/tests/baselines/reference/assignmentCompatWithStringIndexer.js +++ b/tests/baselines/reference/assignmentCompatWithStringIndexer.js @@ -57,6 +57,7 @@ namespace Generics { //// [assignmentCompatWithStringIndexer.js] +"use strict"; // index signatures must be compatible in assignments var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/assignmentCompatWithStringIndexer2.js b/tests/baselines/reference/assignmentCompatWithStringIndexer2.js index 7f734d1629d65..89ac634f84615 100644 --- a/tests/baselines/reference/assignmentCompatWithStringIndexer2.js +++ b/tests/baselines/reference/assignmentCompatWithStringIndexer2.js @@ -56,6 +56,7 @@ namespace Generics { } //// [assignmentCompatWithStringIndexer2.js] +"use strict"; // index signatures must be compatible in assignments a = b; // ok b = a; // error diff --git a/tests/baselines/reference/assignmentCompatWithStringIndexer3.js b/tests/baselines/reference/assignmentCompatWithStringIndexer3.js index 0abdb96a66f69..b907acd6a78e4 100644 --- a/tests/baselines/reference/assignmentCompatWithStringIndexer3.js +++ b/tests/baselines/reference/assignmentCompatWithStringIndexer3.js @@ -26,6 +26,7 @@ namespace Generics { } //// [assignmentCompatWithStringIndexer3.js] +"use strict"; // Derived type indexer must be subtype of base type indexer a = b1; // error b1 = a; // error diff --git a/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.js b/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.js index 2ebdb77c275ee..017b0f677eaf0 100644 --- a/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.js +++ b/tests/baselines/reference/assignmentCompatWithWithGenericConstructSignatures.js @@ -4,3 +4,4 @@ //// [assignmentCompatWithWithGenericConstructSignatures.js] +"use strict"; diff --git a/tests/baselines/reference/assignmentCompatability1.js b/tests/baselines/reference/assignmentCompatability1.js index 014b53e74c45f..4f8690c578eba 100644 --- a/tests/baselines/reference/assignmentCompatability1.js +++ b/tests/baselines/reference/assignmentCompatability1.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability1.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability10.js b/tests/baselines/reference/assignmentCompatability10.js index dba6b098c2d44..e2784a0a6cf09 100644 --- a/tests/baselines/reference/assignmentCompatability10.js +++ b/tests/baselines/reference/assignmentCompatability10.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__x4 = __test1__.__val__obj4 //// [assignmentCompatability10.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability11.js b/tests/baselines/reference/assignmentCompatability11.js index 82de662e634a0..37eab1e8692f6 100644 --- a/tests/baselines/reference/assignmentCompatability11.js +++ b/tests/baselines/reference/assignmentCompatability11.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability11.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability12.js b/tests/baselines/reference/assignmentCompatability12.js index be8b5d994d113..e3458b79c44e5 100644 --- a/tests/baselines/reference/assignmentCompatability12.js +++ b/tests/baselines/reference/assignmentCompatability12.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability12.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability13.js b/tests/baselines/reference/assignmentCompatability13.js index 248d3be39bfa3..f53048040e504 100644 --- a/tests/baselines/reference/assignmentCompatability13.js +++ b/tests/baselines/reference/assignmentCompatability13.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability13.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability14.js b/tests/baselines/reference/assignmentCompatability14.js index fe40338fa4613..bdbdae9f9fef3 100644 --- a/tests/baselines/reference/assignmentCompatability14.js +++ b/tests/baselines/reference/assignmentCompatability14.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability14.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability15.js b/tests/baselines/reference/assignmentCompatability15.js index eaee07a0b8405..713b95ca672b0 100644 --- a/tests/baselines/reference/assignmentCompatability15.js +++ b/tests/baselines/reference/assignmentCompatability15.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability15.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability16.js b/tests/baselines/reference/assignmentCompatability16.js index e6f151a8c0e20..b0851711fdcc1 100644 --- a/tests/baselines/reference/assignmentCompatability16.js +++ b/tests/baselines/reference/assignmentCompatability16.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability16.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability17.js b/tests/baselines/reference/assignmentCompatability17.js index 4b91c72cb9972..279943af46c0f 100644 --- a/tests/baselines/reference/assignmentCompatability17.js +++ b/tests/baselines/reference/assignmentCompatability17.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability17.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability18.js b/tests/baselines/reference/assignmentCompatability18.js index 92d0d89d2101b..d3f01b7216a47 100644 --- a/tests/baselines/reference/assignmentCompatability18.js +++ b/tests/baselines/reference/assignmentCompatability18.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability18.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability19.js b/tests/baselines/reference/assignmentCompatability19.js index 638c2bc22b161..db27c327a6f7f 100644 --- a/tests/baselines/reference/assignmentCompatability19.js +++ b/tests/baselines/reference/assignmentCompatability19.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability19.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability2.js b/tests/baselines/reference/assignmentCompatability2.js index 5b92dfb77d358..f1eb02f815c9d 100644 --- a/tests/baselines/reference/assignmentCompatability2.js +++ b/tests/baselines/reference/assignmentCompatability2.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability2.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability20.js b/tests/baselines/reference/assignmentCompatability20.js index e5743ce43c336..d0011d2e81b30 100644 --- a/tests/baselines/reference/assignmentCompatability20.js +++ b/tests/baselines/reference/assignmentCompatability20.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability20.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability21.js b/tests/baselines/reference/assignmentCompatability21.js index 963bd13a87104..5af7b5e98fdc3 100644 --- a/tests/baselines/reference/assignmentCompatability21.js +++ b/tests/baselines/reference/assignmentCompatability21.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability21.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability22.js b/tests/baselines/reference/assignmentCompatability22.js index 9e2994c0de4b1..8730b1859775d 100644 --- a/tests/baselines/reference/assignmentCompatability22.js +++ b/tests/baselines/reference/assignmentCompatability22.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability22.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability23.js b/tests/baselines/reference/assignmentCompatability23.js index 81a3b770b981e..119d1ec63bde0 100644 --- a/tests/baselines/reference/assignmentCompatability23.js +++ b/tests/baselines/reference/assignmentCompatability23.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability23.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability24.js b/tests/baselines/reference/assignmentCompatability24.js index d2d615089087a..c963816b91791 100644 --- a/tests/baselines/reference/assignmentCompatability24.js +++ b/tests/baselines/reference/assignmentCompatability24.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability24.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability25.js b/tests/baselines/reference/assignmentCompatability25.js index bfbd06830c24d..d19ab80762c61 100644 --- a/tests/baselines/reference/assignmentCompatability25.js +++ b/tests/baselines/reference/assignmentCompatability25.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability25.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability26.js b/tests/baselines/reference/assignmentCompatability26.js index 5dbee18d2ab8b..3de4a3cbbdfb7 100644 --- a/tests/baselines/reference/assignmentCompatability26.js +++ b/tests/baselines/reference/assignmentCompatability26.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability26.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability27.js b/tests/baselines/reference/assignmentCompatability27.js index 45dfd39266bb4..c2f2fde41190e 100644 --- a/tests/baselines/reference/assignmentCompatability27.js +++ b/tests/baselines/reference/assignmentCompatability27.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability27.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability28.js b/tests/baselines/reference/assignmentCompatability28.js index 1f6d520ef9697..928b372077bbb 100644 --- a/tests/baselines/reference/assignmentCompatability28.js +++ b/tests/baselines/reference/assignmentCompatability28.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability28.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability29.js b/tests/baselines/reference/assignmentCompatability29.js index 1bf4358ba85c4..e41e319fff480 100644 --- a/tests/baselines/reference/assignmentCompatability29.js +++ b/tests/baselines/reference/assignmentCompatability29.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability29.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability3.js b/tests/baselines/reference/assignmentCompatability3.js index 116e44f5f020f..e85565236698a 100644 --- a/tests/baselines/reference/assignmentCompatability3.js +++ b/tests/baselines/reference/assignmentCompatability3.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability3.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability30.js b/tests/baselines/reference/assignmentCompatability30.js index a1d4fe8bf8298..bf2481cc738b4 100644 --- a/tests/baselines/reference/assignmentCompatability30.js +++ b/tests/baselines/reference/assignmentCompatability30.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability30.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability31.js b/tests/baselines/reference/assignmentCompatability31.js index b51435a5f2df6..6620c1d9ca324 100644 --- a/tests/baselines/reference/assignmentCompatability31.js +++ b/tests/baselines/reference/assignmentCompatability31.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability31.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability32.js b/tests/baselines/reference/assignmentCompatability32.js index 54f556ec8504f..42758a31082d1 100644 --- a/tests/baselines/reference/assignmentCompatability32.js +++ b/tests/baselines/reference/assignmentCompatability32.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability32.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability33.js b/tests/baselines/reference/assignmentCompatability33.js index 16212b2cf9bb5..ec1fd81e1333d 100644 --- a/tests/baselines/reference/assignmentCompatability33.js +++ b/tests/baselines/reference/assignmentCompatability33.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability33.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability34.js b/tests/baselines/reference/assignmentCompatability34.js index 00a0e3254c3e6..a3fc8c601158e 100644 --- a/tests/baselines/reference/assignmentCompatability34.js +++ b/tests/baselines/reference/assignmentCompatability34.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj = __test1__.__val__obj4 //// [assignmentCompatability34.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability35.js b/tests/baselines/reference/assignmentCompatability35.js index 043b98933ed8e..dc6efdea2dcc3 100644 --- a/tests/baselines/reference/assignmentCompatability35.js +++ b/tests/baselines/reference/assignmentCompatability35.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability35.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability36.js b/tests/baselines/reference/assignmentCompatability36.js index 7260e84353563..cf168e7263cc9 100644 --- a/tests/baselines/reference/assignmentCompatability36.js +++ b/tests/baselines/reference/assignmentCompatability36.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability36.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability37.js b/tests/baselines/reference/assignmentCompatability37.js index 2b639372376b4..5f1ac0f13c20a 100644 --- a/tests/baselines/reference/assignmentCompatability37.js +++ b/tests/baselines/reference/assignmentCompatability37.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability37.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability38.js b/tests/baselines/reference/assignmentCompatability38.js index 66c46eaeeec0f..29d958fe2cd46 100644 --- a/tests/baselines/reference/assignmentCompatability38.js +++ b/tests/baselines/reference/assignmentCompatability38.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability38.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability39.js b/tests/baselines/reference/assignmentCompatability39.js index cdd347ebbb9c0..d0f4b3af12a0c 100644 --- a/tests/baselines/reference/assignmentCompatability39.js +++ b/tests/baselines/reference/assignmentCompatability39.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__x2 = __test1__.__val__obj4 //// [assignmentCompatability39.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability4.js b/tests/baselines/reference/assignmentCompatability4.js index 91f1015e667f7..7980fd2a4ef26 100644 --- a/tests/baselines/reference/assignmentCompatability4.js +++ b/tests/baselines/reference/assignmentCompatability4.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__aa = __test1__.__val__obj4 //// [assignmentCompatability4.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability40.js b/tests/baselines/reference/assignmentCompatability40.js index 8b43022760f76..3c84938a117d6 100644 --- a/tests/baselines/reference/assignmentCompatability40.js +++ b/tests/baselines/reference/assignmentCompatability40.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__x5 = __test1__.__val__obj4 //// [assignmentCompatability40.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability41.js b/tests/baselines/reference/assignmentCompatability41.js index 70681c2953703..770ddd56cdcb2 100644 --- a/tests/baselines/reference/assignmentCompatability41.js +++ b/tests/baselines/reference/assignmentCompatability41.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__x6 = __test1__.__val__obj4 //// [assignmentCompatability41.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability42.js b/tests/baselines/reference/assignmentCompatability42.js index 2b088f43a1dbb..97a0693e85d57 100644 --- a/tests/baselines/reference/assignmentCompatability42.js +++ b/tests/baselines/reference/assignmentCompatability42.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__x7 = __test1__.__val__obj4 //// [assignmentCompatability42.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability43.js b/tests/baselines/reference/assignmentCompatability43.js index c9b87f6e9010a..acd238d3a2027 100644 --- a/tests/baselines/reference/assignmentCompatability43.js +++ b/tests/baselines/reference/assignmentCompatability43.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj2 = __test1__.__val__obj4 //// [assignmentCompatability43.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability44.js b/tests/baselines/reference/assignmentCompatability44.js index 5550c3ca545e4..4f9c4364000ba 100644 --- a/tests/baselines/reference/assignmentCompatability44.js +++ b/tests/baselines/reference/assignmentCompatability44.js @@ -9,6 +9,7 @@ const foo: { new(): Foo } = Foo; //// [assignmentCompatability44.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(x) { } diff --git a/tests/baselines/reference/assignmentCompatability45.js b/tests/baselines/reference/assignmentCompatability45.js index f712233976267..18ec8de983951 100644 --- a/tests/baselines/reference/assignmentCompatability45.js +++ b/tests/baselines/reference/assignmentCompatability45.js @@ -11,6 +11,7 @@ const b: typeof A = B; //// [assignmentCompatability45.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/assignmentCompatability46.js b/tests/baselines/reference/assignmentCompatability46.js index fe963750a07e0..86a1011a86299 100644 --- a/tests/baselines/reference/assignmentCompatability46.js +++ b/tests/baselines/reference/assignmentCompatability46.js @@ -8,5 +8,6 @@ fn({ a: 1, b: 2 }) //// [assignmentCompatability46.js] +"use strict"; fn([1, 2, 3]); fn({ a: 1, b: 2 }); diff --git a/tests/baselines/reference/assignmentCompatability5.js b/tests/baselines/reference/assignmentCompatability5.js index 1d348afb9c500..648b350a1f7ce 100644 --- a/tests/baselines/reference/assignmentCompatability5.js +++ b/tests/baselines/reference/assignmentCompatability5.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj1 = __test1__.__val__obj4 //// [assignmentCompatability5.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability6.js b/tests/baselines/reference/assignmentCompatability6.js index 5bf506ecf3d9a..8dd0a184dd3da 100644 --- a/tests/baselines/reference/assignmentCompatability6.js +++ b/tests/baselines/reference/assignmentCompatability6.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj3 = __test1__.__val__obj4 //// [assignmentCompatability6.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability7.js b/tests/baselines/reference/assignmentCompatability7.js index cb7e0807a077f..4e41e2cc01146 100644 --- a/tests/baselines/reference/assignmentCompatability7.js +++ b/tests/baselines/reference/assignmentCompatability7.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__obj4 = __test1__.__val__obj4 //// [assignmentCompatability7.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability8.js b/tests/baselines/reference/assignmentCompatability8.js index 513d44ae3af48..387d44c94408a 100644 --- a/tests/baselines/reference/assignmentCompatability8.js +++ b/tests/baselines/reference/assignmentCompatability8.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__x1 = __test1__.__val__obj4 //// [assignmentCompatability8.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability9.js b/tests/baselines/reference/assignmentCompatability9.js index 0a8c0640d109c..64f0d06881f52 100644 --- a/tests/baselines/reference/assignmentCompatability9.js +++ b/tests/baselines/reference/assignmentCompatability9.js @@ -12,6 +12,7 @@ namespace __test2__ { __test2__.__val__x3 = __test1__.__val__obj4 //// [assignmentCompatability9.js] +"use strict"; var __test1__; (function (__test1__) { ; diff --git a/tests/baselines/reference/assignmentCompatability_checking-apply-member-off-of-function-interface.js b/tests/baselines/reference/assignmentCompatability_checking-apply-member-off-of-function-interface.js index c233e66b00e3c..4dfe19b9afe6c 100644 --- a/tests/baselines/reference/assignmentCompatability_checking-apply-member-off-of-function-interface.js +++ b/tests/baselines/reference/assignmentCompatability_checking-apply-member-off-of-function-interface.js @@ -33,6 +33,7 @@ fn(a => { }); //// [assignmentCompatability_checking-apply-member-off-of-function-interface.js] +"use strict"; // 3.8.4 Assignment Compatibility var x; // Should fail diff --git a/tests/baselines/reference/assignmentCompatability_checking-call-member-off-of-function-interface.js b/tests/baselines/reference/assignmentCompatability_checking-call-member-off-of-function-interface.js index 2b61c2d1984c9..49f12d8741cc6 100644 --- a/tests/baselines/reference/assignmentCompatability_checking-call-member-off-of-function-interface.js +++ b/tests/baselines/reference/assignmentCompatability_checking-call-member-off-of-function-interface.js @@ -33,6 +33,7 @@ fn(a => { }); //// [assignmentCompatability_checking-call-member-off-of-function-interface.js] +"use strict"; // 3.8.4 Assignment Compatibility var x; // Should fail diff --git a/tests/baselines/reference/assignmentCompatibilityForConstrainedTypeParameters.js b/tests/baselines/reference/assignmentCompatibilityForConstrainedTypeParameters.js index f8b059e02d55a..fcef544c22e56 100644 --- a/tests/baselines/reference/assignmentCompatibilityForConstrainedTypeParameters.js +++ b/tests/baselines/reference/assignmentCompatibilityForConstrainedTypeParameters.js @@ -10,6 +10,7 @@ function foo() { } //// [assignmentCompatibilityForConstrainedTypeParameters.js] +"use strict"; function foo() { function bar() { var x; diff --git a/tests/baselines/reference/assignmentGenericLookupTypeNarrowing.js b/tests/baselines/reference/assignmentGenericLookupTypeNarrowing.js index 52f6be2d86a20..ee966780aabfb 100644 --- a/tests/baselines/reference/assignmentGenericLookupTypeNarrowing.js +++ b/tests/baselines/reference/assignmentGenericLookupTypeNarrowing.js @@ -15,6 +15,7 @@ function bar(key: K) { //// [assignmentGenericLookupTypeNarrowing.js] +"use strict"; // Repro from #26130 var mappedObject = { foo: { x: "hello" } }; function bar(key) { diff --git a/tests/baselines/reference/assignmentIndexedToPrimitives.js b/tests/baselines/reference/assignmentIndexedToPrimitives.js index 8fd43de37243c..528ec0a7539e2 100644 --- a/tests/baselines/reference/assignmentIndexedToPrimitives.js +++ b/tests/baselines/reference/assignmentIndexedToPrimitives.js @@ -19,6 +19,7 @@ const so3: string = { 0: "1" }; //// [assignmentIndexedToPrimitives.js] +"use strict"; var n1 = [0]; var n2 = ["0"]; var n3 = [0, "1"]; diff --git a/tests/baselines/reference/assignmentLHSIsReference.js b/tests/baselines/reference/assignmentLHSIsReference.js index 347d4f1c30968..b6839c66495ad 100644 --- a/tests/baselines/reference/assignmentLHSIsReference.js +++ b/tests/baselines/reference/assignmentLHSIsReference.js @@ -27,6 +27,7 @@ function fn2(x4: number) { (x3['a']) = value; //// [assignmentLHSIsReference.js] +"use strict"; var value; // identifiers: variable and parameter var x1; diff --git a/tests/baselines/reference/assignmentLHSIsValue.js b/tests/baselines/reference/assignmentLHSIsValue.js index 31df7b43ba226..efd707f0cfe79 100644 --- a/tests/baselines/reference/assignmentLHSIsValue.js +++ b/tests/baselines/reference/assignmentLHSIsValue.js @@ -73,6 +73,7 @@ foo() = value; (foo()) = value; //// [assignmentLHSIsValue.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/assignmentNestedInLiterals.js b/tests/baselines/reference/assignmentNestedInLiterals.js index a2d6e9547f167..b940d353b8a15 100644 --- a/tests/baselines/reference/assignmentNestedInLiterals.js +++ b/tests/baselines/reference/assignmentNestedInLiterals.js @@ -13,6 +13,7 @@ for (kowloona of [c = 1, d = c]) { //// [assignmentNestedInLiterals.js] +"use strict"; var target, x, y; target = [x = 1, y = x]; var aegis, a, b; diff --git a/tests/baselines/reference/assignmentNonObjectTypeConstraints.js b/tests/baselines/reference/assignmentNonObjectTypeConstraints.js index 2ad82c991588d..37c264c2daad3 100644 --- a/tests/baselines/reference/assignmentNonObjectTypeConstraints.js +++ b/tests/baselines/reference/assignmentNonObjectTypeConstraints.js @@ -22,6 +22,7 @@ bar(new B); //// [assignmentNonObjectTypeConstraints.js] +"use strict"; function foo(x) { var y = x; // Ok } diff --git a/tests/baselines/reference/assignmentRestElementWithErrorSourceType.js b/tests/baselines/reference/assignmentRestElementWithErrorSourceType.js index 748b2b387aa61..7cfbb1cede4d9 100644 --- a/tests/baselines/reference/assignmentRestElementWithErrorSourceType.js +++ b/tests/baselines/reference/assignmentRestElementWithErrorSourceType.js @@ -5,5 +5,6 @@ var tuple: [string, number]; [...c] = tupel; // intentionally misspelled //// [assignmentRestElementWithErrorSourceType.js] +"use strict"; var tuple; c = tupel.slice(0); // intentionally misspelled diff --git a/tests/baselines/reference/assignmentStricterConstraints.js b/tests/baselines/reference/assignmentStricterConstraints.js index 110f2157e0412..223b7c9900d00 100644 --- a/tests/baselines/reference/assignmentStricterConstraints.js +++ b/tests/baselines/reference/assignmentStricterConstraints.js @@ -12,6 +12,7 @@ g(1, "") //// [assignmentStricterConstraints.js] +"use strict"; var f = function (x, y) { x = y; }; diff --git a/tests/baselines/reference/assignmentToConditionalBrandedStringTemplateOrMapping.js b/tests/baselines/reference/assignmentToConditionalBrandedStringTemplateOrMapping.js index 4e6244df8e0e1..7d328e3f41bd6 100644 --- a/tests/baselines/reference/assignmentToConditionalBrandedStringTemplateOrMapping.js +++ b/tests/baselines/reference/assignmentToConditionalBrandedStringTemplateOrMapping.js @@ -13,6 +13,7 @@ c = d; //// [assignmentToConditionalBrandedStringTemplateOrMapping.js] +"use strict"; var a = null; var b = null; a = b; diff --git a/tests/baselines/reference/assignmentToExpandingArrayType.js b/tests/baselines/reference/assignmentToExpandingArrayType.js index 7e94d82cb69c7..82eebde36acad 100644 --- a/tests/baselines/reference/assignmentToExpandingArrayType.js +++ b/tests/baselines/reference/assignmentToExpandingArrayType.js @@ -30,6 +30,7 @@ x[0] = { foo: 'hi' } //// [assignmentToExpandingArrayType.js] +"use strict"; // Fixes exponential time/space in #14628 var x = []; x[0] = { foo: 'hi' }; diff --git a/tests/baselines/reference/assignmentToFunction.js b/tests/baselines/reference/assignmentToFunction.js index e6d01acac961e..4a5aba63bf38a 100644 --- a/tests/baselines/reference/assignmentToFunction.js +++ b/tests/baselines/reference/assignmentToFunction.js @@ -13,6 +13,7 @@ namespace foo { } //// [assignmentToFunction.js] +"use strict"; function fn() { } fn = function () { return 3; }; var foo; diff --git a/tests/baselines/reference/assignmentToObject.js b/tests/baselines/reference/assignmentToObject.js index aaa8c079afed5..26b6b2e555173 100644 --- a/tests/baselines/reference/assignmentToObject.js +++ b/tests/baselines/reference/assignmentToObject.js @@ -7,6 +7,7 @@ var c: Object = a; // should be error //// [assignmentToObject.js] +"use strict"; var a = { toString: 5 }; var b = a; // ok var c = a; // should be error diff --git a/tests/baselines/reference/assignmentToObjectAndFunction.js b/tests/baselines/reference/assignmentToObjectAndFunction.js index 216e38ebd05bb..e4ec0199197e7 100644 --- a/tests/baselines/reference/assignmentToObjectAndFunction.js +++ b/tests/baselines/reference/assignmentToObjectAndFunction.js @@ -32,6 +32,7 @@ namespace bad { var badFundule: Function = bad; // error //// [assignmentToObjectAndFunction.js] +"use strict"; var errObj = { toString: 0 }; // Error, incompatible toString var goodObj = { toString: function (x) { diff --git a/tests/baselines/reference/assignmentToParenthesizedExpression1.js b/tests/baselines/reference/assignmentToParenthesizedExpression1.js index 9164baa42a0e5..5215ea835a2e0 100644 --- a/tests/baselines/reference/assignmentToParenthesizedExpression1.js +++ b/tests/baselines/reference/assignmentToParenthesizedExpression1.js @@ -5,5 +5,6 @@ var x; (1, x)=0; //// [assignmentToParenthesizedExpression1.js] +"use strict"; var x; (1, x) = 0; diff --git a/tests/baselines/reference/assignmentToParenthesizedIdentifiers.js b/tests/baselines/reference/assignmentToParenthesizedIdentifiers.js index f7ed48ef43762..217d9dd688e00 100644 --- a/tests/baselines/reference/assignmentToParenthesizedIdentifiers.js +++ b/tests/baselines/reference/assignmentToParenthesizedIdentifiers.js @@ -74,6 +74,7 @@ C = undefined; // Error //// [assignmentToParenthesizedIdentifiers.js] +"use strict"; var x; x = 3; // OK (x) = 3; // OK diff --git a/tests/baselines/reference/assignmentToReferenceTypes.js b/tests/baselines/reference/assignmentToReferenceTypes.js index b42dcf53f0b08..10ba0a5a05ed4 100644 --- a/tests/baselines/reference/assignmentToReferenceTypes.js +++ b/tests/baselines/reference/assignmentToReferenceTypes.js @@ -26,6 +26,7 @@ function g(x) { } //// [assignmentToReferenceTypes.js] +"use strict"; // Should all be allowed M = null; var C = /** @class */ (function () { diff --git a/tests/baselines/reference/assignmentToVoidZero1.js b/tests/baselines/reference/assignmentToVoidZero1.js index 2aba92d0edacc..576e9a6560265 100644 --- a/tests/baselines/reference/assignmentToVoidZero1.js +++ b/tests/baselines/reference/assignmentToVoidZero1.js @@ -8,6 +8,7 @@ exports.y = 2; //// [assignmentToVoidZero1.js] +"use strict"; // #38552 exports.y = exports.x = void 0; exports.x = 1; diff --git a/tests/baselines/reference/assignmentToVoidZero2.js b/tests/baselines/reference/assignmentToVoidZero2.js index 530097504ea48..ab6c16b55f096 100644 --- a/tests/baselines/reference/assignmentToVoidZero2.js +++ b/tests/baselines/reference/assignmentToVoidZero2.js @@ -21,6 +21,7 @@ j + k //// [assignmentToVoidZero2.js] +"use strict"; exports.j = 1; exports.k = void 0; var o = {}; diff --git a/tests/baselines/reference/assignmentTypeNarrowing.js b/tests/baselines/reference/assignmentTypeNarrowing.js index 9d67dd0c50c3b..e7838dcf882ee 100644 --- a/tests/baselines/reference/assignmentTypeNarrowing.js +++ b/tests/baselines/reference/assignmentTypeNarrowing.js @@ -38,6 +38,7 @@ arr.push({ x: "ok" }); //// [assignmentTypeNarrowing.js] +"use strict"; var _a, _b, _c; var x; x = ""; diff --git a/tests/baselines/reference/assignments.js b/tests/baselines/reference/assignments.js index 1e7ff2bcce510..738a8b84b4876 100644 --- a/tests/baselines/reference/assignments.js +++ b/tests/baselines/reference/assignments.js @@ -34,6 +34,7 @@ interface I { } I = null; // Error //// [assignments.js] +"use strict"; // In this file: // Assign to a module // Assign to a class diff --git a/tests/baselines/reference/asyncAliasReturnType_es5.js b/tests/baselines/reference/asyncAliasReturnType_es5.js index 5a6514b88e691..d52a8a2c459ec 100644 --- a/tests/baselines/reference/asyncAliasReturnType_es5.js +++ b/tests/baselines/reference/asyncAliasReturnType_es5.js @@ -7,6 +7,7 @@ async function f(): PromiseAlias { } //// [asyncAliasReturnType_es5.js] +"use strict"; function f() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/asyncAliasReturnType_es6.js b/tests/baselines/reference/asyncAliasReturnType_es6.js index 47be5bd6b08a6..aafde75d17c8b 100644 --- a/tests/baselines/reference/asyncAliasReturnType_es6.js +++ b/tests/baselines/reference/asyncAliasReturnType_es6.js @@ -7,6 +7,7 @@ async function f(): PromiseAlias { } //// [asyncAliasReturnType_es6.js] +"use strict"; function f() { return __awaiter(this, void 0, void 0, function* () { }); diff --git a/tests/baselines/reference/asyncArrowFunction10_es2017.js b/tests/baselines/reference/asyncArrowFunction10_es2017.js index a66589308c19c..4bb7b00dcd910 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es2017.js +++ b/tests/baselines/reference/asyncArrowFunction10_es2017.js @@ -8,6 +8,7 @@ var foo = async (): Promise => { //// [asyncArrowFunction10_es2017.js] +"use strict"; var foo = async () => { // Legal to use 'await' in a type context. var v; diff --git a/tests/baselines/reference/asyncArrowFunction10_es5.js b/tests/baselines/reference/asyncArrowFunction10_es5.js index 521fb57df0cb4..c1af3f15acc3c 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es5.js +++ b/tests/baselines/reference/asyncArrowFunction10_es5.js @@ -8,8 +8,8 @@ var foo = async (): Promise => { //// [asyncArrowFunction10_es5.js] -var _this = this; -var foo = function () { return __awaiter(_this, void 0, void 0, function () { +"use strict"; +var foo = function () { return __awaiter(void 0, void 0, void 0, function () { var v; return __generator(this, function (_a) { return [2 /*return*/]; diff --git a/tests/baselines/reference/asyncArrowFunction10_es6.js b/tests/baselines/reference/asyncArrowFunction10_es6.js index c4d70600d9b85..37bd039984520 100644 --- a/tests/baselines/reference/asyncArrowFunction10_es6.js +++ b/tests/baselines/reference/asyncArrowFunction10_es6.js @@ -8,7 +8,8 @@ var foo = async (): Promise => { //// [asyncArrowFunction10_es6.js] -var foo = () => __awaiter(this, void 0, void 0, function* () { +"use strict"; +var foo = () => __awaiter(void 0, void 0, void 0, function* () { // Legal to use 'await' in a type context. var v; }); diff --git a/tests/baselines/reference/asyncArrowFunction11_es5.js b/tests/baselines/reference/asyncArrowFunction11_es5.js index 932079f3c83f9..b0cf216455139 100644 --- a/tests/baselines/reference/asyncArrowFunction11_es5.js +++ b/tests/baselines/reference/asyncArrowFunction11_es5.js @@ -10,6 +10,7 @@ class A { } //// [asyncArrowFunction11_es5.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/asyncArrowFunction1_es2017.js b/tests/baselines/reference/asyncArrowFunction1_es2017.js index 6f5c29d33911c..3128935dfe259 100644 --- a/tests/baselines/reference/asyncArrowFunction1_es2017.js +++ b/tests/baselines/reference/asyncArrowFunction1_es2017.js @@ -5,5 +5,6 @@ var foo = async (): Promise => { }; //// [asyncArrowFunction1_es2017.js] +"use strict"; var foo = async () => { }; diff --git a/tests/baselines/reference/asyncArrowFunction1_es5.js b/tests/baselines/reference/asyncArrowFunction1_es5.js index def5dec68d75c..912518b3d141f 100644 --- a/tests/baselines/reference/asyncArrowFunction1_es5.js +++ b/tests/baselines/reference/asyncArrowFunction1_es5.js @@ -5,8 +5,8 @@ var foo = async (): Promise => { }; //// [asyncArrowFunction1_es5.js] -var _this = this; -var foo = function () { return __awaiter(_this, void 0, void 0, function () { +"use strict"; +var foo = function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/]; }); diff --git a/tests/baselines/reference/asyncArrowFunction1_es6.js b/tests/baselines/reference/asyncArrowFunction1_es6.js index 51be9a1d71c55..426eb5570f3d5 100644 --- a/tests/baselines/reference/asyncArrowFunction1_es6.js +++ b/tests/baselines/reference/asyncArrowFunction1_es6.js @@ -5,5 +5,6 @@ var foo = async (): Promise => { }; //// [asyncArrowFunction1_es6.js] -var foo = () => __awaiter(this, void 0, void 0, function* () { +"use strict"; +var foo = () => __awaiter(void 0, void 0, void 0, function* () { }); diff --git a/tests/baselines/reference/asyncArrowFunction2_es2017.js b/tests/baselines/reference/asyncArrowFunction2_es2017.js index ec3fe6d438078..60f0a3a4f21e1 100644 --- a/tests/baselines/reference/asyncArrowFunction2_es2017.js +++ b/tests/baselines/reference/asyncArrowFunction2_es2017.js @@ -5,5 +5,6 @@ var f = (await) => { } //// [asyncArrowFunction2_es2017.js] +"use strict"; var f = (await) => { }; diff --git a/tests/baselines/reference/asyncArrowFunction2_es5.js b/tests/baselines/reference/asyncArrowFunction2_es5.js index 682593e04a2de..a3b057cb4b270 100644 --- a/tests/baselines/reference/asyncArrowFunction2_es5.js +++ b/tests/baselines/reference/asyncArrowFunction2_es5.js @@ -5,5 +5,6 @@ var f = (await) => { } //// [asyncArrowFunction2_es5.js] +"use strict"; var f = function (await) { }; diff --git a/tests/baselines/reference/asyncArrowFunction2_es6.js b/tests/baselines/reference/asyncArrowFunction2_es6.js index c7e10b6f70cd4..34c355d9cd83d 100644 --- a/tests/baselines/reference/asyncArrowFunction2_es6.js +++ b/tests/baselines/reference/asyncArrowFunction2_es6.js @@ -5,5 +5,6 @@ var f = (await) => { } //// [asyncArrowFunction2_es6.js] +"use strict"; var f = (await) => { }; diff --git a/tests/baselines/reference/asyncArrowFunction3_es2017.js b/tests/baselines/reference/asyncArrowFunction3_es2017.js index e51841e43764b..28fbddf018e12 100644 --- a/tests/baselines/reference/asyncArrowFunction3_es2017.js +++ b/tests/baselines/reference/asyncArrowFunction3_es2017.js @@ -5,5 +5,6 @@ function f(await = await) { } //// [asyncArrowFunction3_es2017.js] +"use strict"; function f(await = await) { } diff --git a/tests/baselines/reference/asyncArrowFunction3_es5.js b/tests/baselines/reference/asyncArrowFunction3_es5.js index 9d000b0d1a880..34d9b8f61488c 100644 --- a/tests/baselines/reference/asyncArrowFunction3_es5.js +++ b/tests/baselines/reference/asyncArrowFunction3_es5.js @@ -5,6 +5,7 @@ function f(await = await) { } //// [asyncArrowFunction3_es5.js] +"use strict"; function f(await) { if (await === void 0) { await = await; } } diff --git a/tests/baselines/reference/asyncArrowFunction3_es6.js b/tests/baselines/reference/asyncArrowFunction3_es6.js index 60aa9910e5abc..cb561e34194fd 100644 --- a/tests/baselines/reference/asyncArrowFunction3_es6.js +++ b/tests/baselines/reference/asyncArrowFunction3_es6.js @@ -5,5 +5,6 @@ function f(await = await) { } //// [asyncArrowFunction3_es6.js] +"use strict"; function f(await = await) { } diff --git a/tests/baselines/reference/asyncArrowFunction4_es2017.js b/tests/baselines/reference/asyncArrowFunction4_es2017.js index af9ef4449f81f..c883a2b1cb401 100644 --- a/tests/baselines/reference/asyncArrowFunction4_es2017.js +++ b/tests/baselines/reference/asyncArrowFunction4_es2017.js @@ -5,5 +5,6 @@ var await = () => { } //// [asyncArrowFunction4_es2017.js] +"use strict"; var await = () => { }; diff --git a/tests/baselines/reference/asyncArrowFunction4_es5.js b/tests/baselines/reference/asyncArrowFunction4_es5.js index 36d3d52f6cd84..0f79ad017ca6a 100644 --- a/tests/baselines/reference/asyncArrowFunction4_es5.js +++ b/tests/baselines/reference/asyncArrowFunction4_es5.js @@ -5,5 +5,6 @@ var await = () => { } //// [asyncArrowFunction4_es5.js] +"use strict"; var await = function () { }; diff --git a/tests/baselines/reference/asyncArrowFunction4_es6.js b/tests/baselines/reference/asyncArrowFunction4_es6.js index 7e80f55f30bd5..3a39a462ee2e0 100644 --- a/tests/baselines/reference/asyncArrowFunction4_es6.js +++ b/tests/baselines/reference/asyncArrowFunction4_es6.js @@ -5,5 +5,6 @@ var await = () => { } //// [asyncArrowFunction4_es6.js] +"use strict"; var await = () => { }; diff --git a/tests/baselines/reference/asyncArrowFunction5_es2017.js b/tests/baselines/reference/asyncArrowFunction5_es2017.js index 62da22fa6d5ce..2bdb8fbb37ae0 100644 --- a/tests/baselines/reference/asyncArrowFunction5_es2017.js +++ b/tests/baselines/reference/asyncArrowFunction5_es2017.js @@ -5,5 +5,6 @@ var foo = async (await): Promise => { } //// [asyncArrowFunction5_es2017.js] +"use strict"; var foo = async (await) => { }; diff --git a/tests/baselines/reference/asyncArrowFunction5_es5.js b/tests/baselines/reference/asyncArrowFunction5_es5.js index 395a3eebbc371..9460508412135 100644 --- a/tests/baselines/reference/asyncArrowFunction5_es5.js +++ b/tests/baselines/reference/asyncArrowFunction5_es5.js @@ -5,8 +5,8 @@ var foo = async (await): Promise => { } //// [asyncArrowFunction5_es5.js] -var _this = this; -var foo = function (await) { return __awaiter(_this, void 0, void 0, function () { +"use strict"; +var foo = function (await) { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/]; }); diff --git a/tests/baselines/reference/asyncArrowFunction5_es6.js b/tests/baselines/reference/asyncArrowFunction5_es6.js index b42bc6709df62..9b6d33e70af35 100644 --- a/tests/baselines/reference/asyncArrowFunction5_es6.js +++ b/tests/baselines/reference/asyncArrowFunction5_es6.js @@ -5,5 +5,6 @@ var foo = async (await): Promise => { } //// [asyncArrowFunction5_es6.js] -var foo = (await) => __awaiter(this, void 0, void 0, function* () { +"use strict"; +var foo = (await) => __awaiter(void 0, void 0, void 0, function* () { }); diff --git a/tests/baselines/reference/asyncArrowFunction6_es2017.js b/tests/baselines/reference/asyncArrowFunction6_es2017.js index 09d610694f293..6dac6697d8b09 100644 --- a/tests/baselines/reference/asyncArrowFunction6_es2017.js +++ b/tests/baselines/reference/asyncArrowFunction6_es2017.js @@ -5,5 +5,6 @@ var foo = async (a = await): Promise => { } //// [asyncArrowFunction6_es2017.js] +"use strict"; var foo = async (a = await ) => { }; diff --git a/tests/baselines/reference/asyncArrowFunction6_es5.js b/tests/baselines/reference/asyncArrowFunction6_es5.js index 52cfc0427eca5..cae0dccce9712 100644 --- a/tests/baselines/reference/asyncArrowFunction6_es5.js +++ b/tests/baselines/reference/asyncArrowFunction6_es5.js @@ -5,13 +5,13 @@ var foo = async (a = await): Promise => { } //// [asyncArrowFunction6_es5.js] -var _this = this; +"use strict"; var foo = function () { var args_1 = []; for (var _i = 0; _i < arguments.length; _i++) { args_1[_i] = arguments[_i]; } - return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (a) { + return __awaiter(void 0, __spreadArray([], args_1, true), void 0, function (a) { if (a === void 0) { a = _a.sent(); } return __generator(this, function (_a) { switch (_a.label) { diff --git a/tests/baselines/reference/asyncArrowFunction6_es6.js b/tests/baselines/reference/asyncArrowFunction6_es6.js index 4fc2e2b4113e7..5aa899524a0ac 100644 --- a/tests/baselines/reference/asyncArrowFunction6_es6.js +++ b/tests/baselines/reference/asyncArrowFunction6_es6.js @@ -5,5 +5,6 @@ var foo = async (a = await): Promise => { } //// [asyncArrowFunction6_es6.js] -var foo = (...args_1) => __awaiter(this, [...args_1], void 0, function* (a = yield ) { +"use strict"; +var foo = (...args_1) => __awaiter(void 0, [...args_1], void 0, function* (a = yield ) { }); diff --git a/tests/baselines/reference/asyncArrowFunction7_es2017.js b/tests/baselines/reference/asyncArrowFunction7_es2017.js index 5ed014d11f63a..dc100e55db51b 100644 --- a/tests/baselines/reference/asyncArrowFunction7_es2017.js +++ b/tests/baselines/reference/asyncArrowFunction7_es2017.js @@ -8,6 +8,7 @@ var bar = async (): Promise => { } //// [asyncArrowFunction7_es2017.js] +"use strict"; var bar = async () => { // 'await' here is an identifier, and not an await expression. var foo = async (a = await ) => { diff --git a/tests/baselines/reference/asyncArrowFunction7_es5.js b/tests/baselines/reference/asyncArrowFunction7_es5.js index 7144ebad6adaf..5e27c6dc23f3d 100644 --- a/tests/baselines/reference/asyncArrowFunction7_es5.js +++ b/tests/baselines/reference/asyncArrowFunction7_es5.js @@ -8,17 +8,16 @@ var bar = async (): Promise => { } //// [asyncArrowFunction7_es5.js] -var _this = this; -var bar = function () { return __awaiter(_this, void 0, void 0, function () { +"use strict"; +var bar = function () { return __awaiter(void 0, void 0, void 0, function () { var foo; - var _this = this; return __generator(this, function (_a) { foo = function () { var args_1 = []; for (var _i = 0; _i < arguments.length; _i++) { args_1[_i] = arguments[_i]; } - return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (a) { + return __awaiter(void 0, __spreadArray([], args_1, true), void 0, function (a) { if (a === void 0) { a = _a.sent(); } return __generator(this, function (_a) { switch (_a.label) { diff --git a/tests/baselines/reference/asyncArrowFunction7_es6.js b/tests/baselines/reference/asyncArrowFunction7_es6.js index 7a1ee0eeef4b5..2d506c6e4f8dd 100644 --- a/tests/baselines/reference/asyncArrowFunction7_es6.js +++ b/tests/baselines/reference/asyncArrowFunction7_es6.js @@ -8,8 +8,9 @@ var bar = async (): Promise => { } //// [asyncArrowFunction7_es6.js] -var bar = () => __awaiter(this, void 0, void 0, function* () { +"use strict"; +var bar = () => __awaiter(void 0, void 0, void 0, function* () { // 'await' here is an identifier, and not an await expression. - var foo = (...args_1) => __awaiter(this, [...args_1], void 0, function* (a = yield ) { + var foo = (...args_1) => __awaiter(void 0, [...args_1], void 0, function* (a = yield ) { }); }); diff --git a/tests/baselines/reference/asyncArrowFunction8_es2017.js b/tests/baselines/reference/asyncArrowFunction8_es2017.js index de63a0ece0d90..9f9dfcb47d585 100644 --- a/tests/baselines/reference/asyncArrowFunction8_es2017.js +++ b/tests/baselines/reference/asyncArrowFunction8_es2017.js @@ -6,6 +6,7 @@ var foo = async (): Promise => { } //// [asyncArrowFunction8_es2017.js] +"use strict"; var foo = async () => { var v = { [await ]: foo }; }; diff --git a/tests/baselines/reference/asyncArrowFunction8_es5.js b/tests/baselines/reference/asyncArrowFunction8_es5.js index 8d1c8f0cb0e17..bac6b5df8ec7c 100644 --- a/tests/baselines/reference/asyncArrowFunction8_es5.js +++ b/tests/baselines/reference/asyncArrowFunction8_es5.js @@ -6,8 +6,8 @@ var foo = async (): Promise => { } //// [asyncArrowFunction8_es5.js] -var _this = this; -var foo = function () { return __awaiter(_this, void 0, void 0, function () { +"use strict"; +var foo = function () { return __awaiter(void 0, void 0, void 0, function () { var v; var _a; return __generator(this, function (_b) { diff --git a/tests/baselines/reference/asyncArrowFunction8_es6.js b/tests/baselines/reference/asyncArrowFunction8_es6.js index 951d39b867390..3233fb47a52af 100644 --- a/tests/baselines/reference/asyncArrowFunction8_es6.js +++ b/tests/baselines/reference/asyncArrowFunction8_es6.js @@ -6,6 +6,7 @@ var foo = async (): Promise => { } //// [asyncArrowFunction8_es6.js] -var foo = () => __awaiter(this, void 0, void 0, function* () { +"use strict"; +var foo = () => __awaiter(void 0, void 0, void 0, function* () { var v = { [yield ]: foo }; }); diff --git a/tests/baselines/reference/asyncArrowFunction9_es2017.js b/tests/baselines/reference/asyncArrowFunction9_es2017.js index 3f2cc6c9f69a7..2537d5ae18832 100644 --- a/tests/baselines/reference/asyncArrowFunction9_es2017.js +++ b/tests/baselines/reference/asyncArrowFunction9_es2017.js @@ -5,6 +5,7 @@ var foo = async (a = await => await): Promise => { } //// [asyncArrowFunction9_es2017.js] +"use strict"; var foo = async(a = await => await), Promise; ; { diff --git a/tests/baselines/reference/asyncArrowFunction9_es5.js b/tests/baselines/reference/asyncArrowFunction9_es5.js index 8128f216ddcd6..8e6c2ebb2ad72 100644 --- a/tests/baselines/reference/asyncArrowFunction9_es5.js +++ b/tests/baselines/reference/asyncArrowFunction9_es5.js @@ -5,6 +5,7 @@ var foo = async (a = await => await): Promise => { } //// [asyncArrowFunction9_es5.js] +"use strict"; var foo = async(a = function (await) { return await; }), Promise; ; { diff --git a/tests/baselines/reference/asyncArrowFunction9_es6.js b/tests/baselines/reference/asyncArrowFunction9_es6.js index a9341bfb68cac..0e8b8ff9456ae 100644 --- a/tests/baselines/reference/asyncArrowFunction9_es6.js +++ b/tests/baselines/reference/asyncArrowFunction9_es6.js @@ -5,6 +5,7 @@ var foo = async (a = await => await): Promise => { } //// [asyncArrowFunction9_es6.js] +"use strict"; var foo = async(a = await => await), Promise; ; { diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es2017.js b/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es2017.js index 55a9decaf245c..b9528cded99f0 100644 --- a/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es2017.js +++ b/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es2017.js @@ -10,6 +10,7 @@ class C { //// [asyncArrowFunctionCapturesArguments_es2017.js] +"use strict"; class C { method() { function other() { } diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5.js b/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5.js index 5594f77accd7e..1d954adc1cef5 100644 --- a/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5.js +++ b/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es5.js @@ -10,6 +10,7 @@ class C { //// [asyncArrowFunctionCapturesArguments_es5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es6.js b/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es6.js index ae0db7fbe7cca..32b544bfa2d34 100644 --- a/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es6.js +++ b/tests/baselines/reference/asyncArrowFunctionCapturesArguments_es6.js @@ -13,6 +13,7 @@ function f() { } //// [asyncArrowFunctionCapturesArguments_es6.js] +"use strict"; class C { method() { function other() { } diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es2017.js b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es2017.js index 92b716f2ec4a4..40deb3a514dec 100644 --- a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es2017.js +++ b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es2017.js @@ -9,6 +9,7 @@ class C { //// [asyncArrowFunctionCapturesThis_es2017.js] +"use strict"; class C { method() { var fn = async () => await this; diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es5.js b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es5.js index 4d275a70215f0..a4aa548a950e6 100644 --- a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es5.js +++ b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es5.js @@ -9,6 +9,7 @@ class C { //// [asyncArrowFunctionCapturesThis_es5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es6.js b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es6.js index 1dd42adfc0339..cea268b11efc7 100644 --- a/tests/baselines/reference/asyncArrowFunctionCapturesThis_es6.js +++ b/tests/baselines/reference/asyncArrowFunctionCapturesThis_es6.js @@ -9,6 +9,7 @@ class C { //// [asyncArrowFunctionCapturesThis_es6.js] +"use strict"; class C { method() { var fn = () => __awaiter(this, void 0, void 0, function* () { return yield this; }); diff --git a/tests/baselines/reference/asyncArrowInClassES5.js b/tests/baselines/reference/asyncArrowInClassES5.js index d844b4310a8f8..c46faccdb5fd5 100644 --- a/tests/baselines/reference/asyncArrowInClassES5.js +++ b/tests/baselines/reference/asyncArrowInClassES5.js @@ -10,6 +10,7 @@ class Test { //// [asyncArrowInClassES5.js] +"use strict"; // https://github.com/Microsoft/TypeScript/issues/16924 // Should capture `this` var Test = /** @class */ (function () { @@ -17,7 +18,7 @@ var Test = /** @class */ (function () { } var _a; _a = Test; - Test.member = function (x) { return __awaiter(_a, void 0, void 0, function () { return __generator(_a, function (_b) { + Test.member = function (x) { return __awaiter(void 0, void 0, void 0, function () { return __generator(_a, function (_b) { return [2 /*return*/]; }); }); }; return Test; diff --git a/tests/baselines/reference/asyncAwaitNestedClasses_es5.js b/tests/baselines/reference/asyncAwaitNestedClasses_es5.js index 01404f9e6a65f..23ffbdae132e0 100644 --- a/tests/baselines/reference/asyncAwaitNestedClasses_es5.js +++ b/tests/baselines/reference/asyncAwaitNestedClasses_es5.js @@ -18,6 +18,7 @@ class A { A.B.C.func(); //// [asyncAwaitNestedClasses_es5.js] +"use strict"; // https://github.com/Microsoft/TypeScript/issues/20744 var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar.js b/tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar.js index fc8ef4ee2503f..aaa0f142ca11c 100644 --- a/tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar.js +++ b/tests/baselines/reference/asyncAwaitWithCapturedBlockScopeVar.js @@ -38,6 +38,7 @@ async function fn4(): Promise { //// [asyncAwaitWithCapturedBlockScopeVar.js] +"use strict"; function fn1() { return __awaiter(this, void 0, void 0, function () { var ar, _loop_1, i; diff --git a/tests/baselines/reference/asyncAwait_es2017.js b/tests/baselines/reference/asyncAwait_es2017.js index bd019a8dba892..61fc4994b0978 100644 --- a/tests/baselines/reference/asyncAwait_es2017.js +++ b/tests/baselines/reference/asyncAwait_es2017.js @@ -49,6 +49,7 @@ async function f14() { } //// [asyncAwait_es2017.js] +"use strict"; async function f0() { } async function f1() { } async function f3() { } diff --git a/tests/baselines/reference/asyncAwait_es5.js b/tests/baselines/reference/asyncAwait_es5.js index 1da4aa3c60ee7..cb3ccae780530 100644 --- a/tests/baselines/reference/asyncAwait_es5.js +++ b/tests/baselines/reference/asyncAwait_es5.js @@ -49,6 +49,7 @@ async function f14() { } //// [asyncAwait_es5.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -85,7 +86,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) { if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; -var _this = this; function f0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/]; @@ -116,25 +116,25 @@ var f6 = function () { return [2 /*return*/]; }); }); }; -var f7 = function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { +var f7 = function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/]; }); }); }; -var f8 = function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { +var f8 = function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/]; }); }); }; -var f9 = function () { return __awaiter(_this, void 0, MyPromise, function () { return __generator(this, function (_a) { +var f9 = function () { return __awaiter(void 0, void 0, MyPromise, function () { return __generator(this, function (_a) { return [2 /*return*/]; }); }); }; -var f10 = function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { +var f10 = function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/, p]; }); }); }; -var f11 = function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { +var f11 = function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/, mp]; }); }); }; -var f12 = function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { +var f12 = function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/, mp]; }); }); }; -var f13 = function () { return __awaiter(_this, void 0, MyPromise, function () { return __generator(this, function (_a) { +var f13 = function () { return __awaiter(void 0, void 0, MyPromise, function () { return __generator(this, function (_a) { return [2 /*return*/, p]; }); }); }; var o = { diff --git a/tests/baselines/reference/asyncAwait_es6.js b/tests/baselines/reference/asyncAwait_es6.js index 26e2ddc1c5e79..a4571ec7f0fcf 100644 --- a/tests/baselines/reference/asyncAwait_es6.js +++ b/tests/baselines/reference/asyncAwait_es6.js @@ -49,6 +49,7 @@ async function f14() { } //// [asyncAwait_es6.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -76,13 +77,13 @@ let f5 = function () { let f6 = function () { return __awaiter(this, void 0, void 0, function* () { }); }; -let f7 = () => __awaiter(this, void 0, void 0, function* () { }); -let f8 = () => __awaiter(this, void 0, void 0, function* () { }); -let f9 = () => __awaiter(this, void 0, void 0, function* () { }); -let f10 = () => __awaiter(this, void 0, void 0, function* () { return p; }); -let f11 = () => __awaiter(this, void 0, void 0, function* () { return mp; }); -let f12 = () => __awaiter(this, void 0, void 0, function* () { return mp; }); -let f13 = () => __awaiter(this, void 0, void 0, function* () { return p; }); +let f7 = () => __awaiter(void 0, void 0, void 0, function* () { }); +let f8 = () => __awaiter(void 0, void 0, void 0, function* () { }); +let f9 = () => __awaiter(void 0, void 0, void 0, function* () { }); +let f10 = () => __awaiter(void 0, void 0, void 0, function* () { return p; }); +let f11 = () => __awaiter(void 0, void 0, void 0, function* () { return mp; }); +let f12 = () => __awaiter(void 0, void 0, void 0, function* () { return mp; }); +let f13 = () => __awaiter(void 0, void 0, void 0, function* () { return p; }); let o = { m1() { return __awaiter(this, void 0, void 0, function* () { }); diff --git a/tests/baselines/reference/asyncClass_es5.js b/tests/baselines/reference/asyncClass_es5.js index 98230308f700b..6fb48a1ea0f37 100644 --- a/tests/baselines/reference/asyncClass_es5.js +++ b/tests/baselines/reference/asyncClass_es5.js @@ -5,6 +5,7 @@ async class C { } //// [asyncClass_es5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/asyncClass_es6.js b/tests/baselines/reference/asyncClass_es6.js index 505e8f45758dd..050452b858649 100644 --- a/tests/baselines/reference/asyncClass_es6.js +++ b/tests/baselines/reference/asyncClass_es6.js @@ -5,5 +5,6 @@ async class C { } //// [asyncClass_es6.js] +"use strict"; class C { } diff --git a/tests/baselines/reference/asyncConstructor_es5.js b/tests/baselines/reference/asyncConstructor_es5.js index ad26e50f1ba3b..e8ea8802f728c 100644 --- a/tests/baselines/reference/asyncConstructor_es5.js +++ b/tests/baselines/reference/asyncConstructor_es5.js @@ -7,6 +7,7 @@ class C { } //// [asyncConstructor_es5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/asyncConstructor_es6.js b/tests/baselines/reference/asyncConstructor_es6.js index c5797911bf022..678c7a54a2219 100644 --- a/tests/baselines/reference/asyncConstructor_es6.js +++ b/tests/baselines/reference/asyncConstructor_es6.js @@ -7,6 +7,7 @@ class C { } //// [asyncConstructor_es6.js] +"use strict"; class C { constructor() { } diff --git a/tests/baselines/reference/asyncDeclare_es5.js b/tests/baselines/reference/asyncDeclare_es5.js index ee2b01033a50f..73932c16f12d1 100644 --- a/tests/baselines/reference/asyncDeclare_es5.js +++ b/tests/baselines/reference/asyncDeclare_es5.js @@ -4,3 +4,4 @@ declare async function foo(): Promise; //// [asyncDeclare_es5.js] +"use strict"; diff --git a/tests/baselines/reference/asyncDeclare_es6.js b/tests/baselines/reference/asyncDeclare_es6.js index 1c1078c0f6bbe..ede8f375592e0 100644 --- a/tests/baselines/reference/asyncDeclare_es6.js +++ b/tests/baselines/reference/asyncDeclare_es6.js @@ -4,3 +4,4 @@ declare async function foo(): Promise; //// [asyncDeclare_es6.js] +"use strict"; diff --git a/tests/baselines/reference/asyncEnum_es5.js b/tests/baselines/reference/asyncEnum_es5.js index abeacf3871a8c..8178c181ef632 100644 --- a/tests/baselines/reference/asyncEnum_es5.js +++ b/tests/baselines/reference/asyncEnum_es5.js @@ -6,6 +6,7 @@ async enum E { } //// [asyncEnum_es5.js] +"use strict"; var E; (function (E) { E[E["Value"] = 0] = "Value"; diff --git a/tests/baselines/reference/asyncEnum_es6.js b/tests/baselines/reference/asyncEnum_es6.js index 368c7c29f176e..5f6fe899b5b1a 100644 --- a/tests/baselines/reference/asyncEnum_es6.js +++ b/tests/baselines/reference/asyncEnum_es6.js @@ -6,6 +6,7 @@ async enum E { } //// [asyncEnum_es6.js] +"use strict"; var E; (function (E) { E[E["Value"] = 0] = "Value"; diff --git a/tests/baselines/reference/asyncFunctionDeclaration10_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration10_es2017.js index 7be1f862134a9..785ca853a0638 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration10_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration10_es2017.js @@ -5,5 +5,6 @@ async function foo(a = await => await): Promise { } //// [asyncFunctionDeclaration10_es2017.js] +"use strict"; async function foo(a = await , await) { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration10_es5.js b/tests/baselines/reference/asyncFunctionDeclaration10_es5.js index 3e4b240577f72..329d096f4277c 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration10_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration10_es5.js @@ -5,6 +5,7 @@ async function foo(a = await => await): Promise { } //// [asyncFunctionDeclaration10_es5.js] +"use strict"; function foo() { return __awaiter(this, arguments, void 0, function (a, await) { if (a === void 0) { a = _a.sent(); } diff --git a/tests/baselines/reference/asyncFunctionDeclaration10_es6.js b/tests/baselines/reference/asyncFunctionDeclaration10_es6.js index f9f438cc67c02..634f669b52333 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration10_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration10_es6.js @@ -5,6 +5,7 @@ async function foo(a = await => await): Promise { } //// [asyncFunctionDeclaration10_es6.js] +"use strict"; function foo() { return __awaiter(this, arguments, void 0, function* (a = yield , await) { }); diff --git a/tests/baselines/reference/asyncFunctionDeclaration11_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration11_es2017.js index 00efbea86c6e2..e69015d45d45e 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration11_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration11_es2017.js @@ -5,5 +5,6 @@ async function await(): Promise { } //// [asyncFunctionDeclaration11_es2017.js] +"use strict"; async function await() { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration11_es5.js b/tests/baselines/reference/asyncFunctionDeclaration11_es5.js index c7894f82f0137..051dc2fc5ad75 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration11_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration11_es5.js @@ -5,6 +5,7 @@ async function await(): Promise { } //// [asyncFunctionDeclaration11_es5.js] +"use strict"; function await() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/asyncFunctionDeclaration11_es6.js b/tests/baselines/reference/asyncFunctionDeclaration11_es6.js index 75d0b74fff29f..3a0725b5515f8 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration11_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration11_es6.js @@ -5,6 +5,7 @@ async function await(): Promise { } //// [asyncFunctionDeclaration11_es6.js] +"use strict"; function await() { return __awaiter(this, void 0, void 0, function* () { }); diff --git a/tests/baselines/reference/asyncFunctionDeclaration12_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration12_es2017.js index 3cecf8c75d6e5..a18dc99c0f089 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration12_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration12_es2017.js @@ -4,4 +4,5 @@ var v = async function await(): Promise { } //// [asyncFunctionDeclaration12_es2017.js] +"use strict"; var v = async function await() { }; diff --git a/tests/baselines/reference/asyncFunctionDeclaration12_es5.js b/tests/baselines/reference/asyncFunctionDeclaration12_es5.js index 01ba79ec23bd2..426ad1d8aac01 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration12_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration12_es5.js @@ -4,6 +4,7 @@ var v = async function await(): Promise { } //// [asyncFunctionDeclaration12_es5.js] +"use strict"; var v = function await() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/]; diff --git a/tests/baselines/reference/asyncFunctionDeclaration12_es6.js b/tests/baselines/reference/asyncFunctionDeclaration12_es6.js index 8cb102b18a5df..07bf8caa8e465 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration12_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration12_es6.js @@ -4,6 +4,7 @@ var v = async function await(): Promise { } //// [asyncFunctionDeclaration12_es6.js] +"use strict"; var v = function await() { return __awaiter(this, void 0, void 0, function* () { }); }; diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration13_es2017.js index 4017c777eed8d..cb05b9b89f95e 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es2017.js @@ -8,6 +8,7 @@ async function foo(): Promise { //// [asyncFunctionDeclaration13_es2017.js] +"use strict"; async function foo() { // Legal to use 'await' in a type context. var v; diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es5.js b/tests/baselines/reference/asyncFunctionDeclaration13_es5.js index 9c7612197116d..25b3bde43ef1a 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es5.js @@ -8,6 +8,7 @@ async function foo(): Promise { //// [asyncFunctionDeclaration13_es5.js] +"use strict"; function foo() { return __awaiter(this, void 0, void 0, function () { var v; diff --git a/tests/baselines/reference/asyncFunctionDeclaration13_es6.js b/tests/baselines/reference/asyncFunctionDeclaration13_es6.js index 1e358fb9303ac..6cfe91869914f 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration13_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration13_es6.js @@ -8,6 +8,7 @@ async function foo(): Promise { //// [asyncFunctionDeclaration13_es6.js] +"use strict"; function foo() { return __awaiter(this, void 0, void 0, function* () { // Legal to use 'await' in a type context. diff --git a/tests/baselines/reference/asyncFunctionDeclaration14_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration14_es2017.js index 90db5a5a9ca81..c39e6d7fbb7d5 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration14_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration14_es2017.js @@ -6,6 +6,7 @@ async function foo(): Promise { } //// [asyncFunctionDeclaration14_es2017.js] +"use strict"; async function foo() { return; } diff --git a/tests/baselines/reference/asyncFunctionDeclaration14_es5.js b/tests/baselines/reference/asyncFunctionDeclaration14_es5.js index b5a208fa9355a..a7392b426ab82 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration14_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration14_es5.js @@ -6,6 +6,7 @@ async function foo(): Promise { } //// [asyncFunctionDeclaration14_es5.js] +"use strict"; function foo() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/asyncFunctionDeclaration14_es6.js b/tests/baselines/reference/asyncFunctionDeclaration14_es6.js index 8183393a56120..63416515f5c27 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration14_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration14_es6.js @@ -6,6 +6,7 @@ async function foo(): Promise { } //// [asyncFunctionDeclaration14_es6.js] +"use strict"; function foo() { return __awaiter(this, void 0, void 0, function* () { return; diff --git a/tests/baselines/reference/asyncFunctionDeclaration15_es5.js b/tests/baselines/reference/asyncFunctionDeclaration15_es5.js index c0e2ff621519a..561b5f70675d8 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration15_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration15_es5.js @@ -27,6 +27,7 @@ async function fn19() { await thenable; } // error //// [asyncFunctionDeclaration15_es5.js] +"use strict"; function fn1() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/]; diff --git a/tests/baselines/reference/asyncFunctionDeclaration15_es6.js b/tests/baselines/reference/asyncFunctionDeclaration15_es6.js index 91923bbd5a08b..131622339875c 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration15_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration15_es6.js @@ -27,6 +27,7 @@ async function fn19() { await thenable; } // error //// [asyncFunctionDeclaration15_es6.js] +"use strict"; function fn1() { return __awaiter(this, void 0, void 0, function* () { }); } // valid: Promise diff --git a/tests/baselines/reference/asyncFunctionDeclaration1_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration1_es2017.js index 5142149133142..bdf54bd092b82 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration1_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration1_es2017.js @@ -5,5 +5,6 @@ async function foo(): Promise { } //// [asyncFunctionDeclaration1_es2017.js] +"use strict"; async function foo() { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration1_es5.js b/tests/baselines/reference/asyncFunctionDeclaration1_es5.js index 3efe6e9b8031f..5957f1f27b209 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration1_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration1_es5.js @@ -5,6 +5,7 @@ async function foo(): Promise { } //// [asyncFunctionDeclaration1_es5.js] +"use strict"; function foo() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/asyncFunctionDeclaration1_es6.js b/tests/baselines/reference/asyncFunctionDeclaration1_es6.js index f882cdc78e895..278c16f7c612a 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration1_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration1_es6.js @@ -5,6 +5,7 @@ async function foo(): Promise { } //// [asyncFunctionDeclaration1_es6.js] +"use strict"; function foo() { return __awaiter(this, void 0, void 0, function* () { }); diff --git a/tests/baselines/reference/asyncFunctionDeclaration2_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration2_es2017.js index 13e9ccaadf235..34eeb6f9ac3c9 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration2_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration2_es2017.js @@ -5,5 +5,6 @@ function f(await) { } //// [asyncFunctionDeclaration2_es2017.js] +"use strict"; function f(await) { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration2_es5.js b/tests/baselines/reference/asyncFunctionDeclaration2_es5.js index 66c4cbddb1038..1de6000b3fb45 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration2_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration2_es5.js @@ -5,5 +5,6 @@ function f(await) { } //// [asyncFunctionDeclaration2_es5.js] +"use strict"; function f(await) { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration2_es6.js b/tests/baselines/reference/asyncFunctionDeclaration2_es6.js index e9e4ad3a09d4a..3692624795a90 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration2_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration2_es6.js @@ -5,5 +5,6 @@ function f(await) { } //// [asyncFunctionDeclaration2_es6.js] +"use strict"; function f(await) { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration3_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration3_es2017.js index 59752e8624c7a..e2ad06940e57a 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration3_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration3_es2017.js @@ -5,5 +5,6 @@ function f(await = await) { } //// [asyncFunctionDeclaration3_es2017.js] +"use strict"; function f(await = await) { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration3_es5.js b/tests/baselines/reference/asyncFunctionDeclaration3_es5.js index db9cc78f082b5..00c7fe9f4bf64 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration3_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration3_es5.js @@ -5,6 +5,7 @@ function f(await = await) { } //// [asyncFunctionDeclaration3_es5.js] +"use strict"; function f(await) { if (await === void 0) { await = await; } } diff --git a/tests/baselines/reference/asyncFunctionDeclaration3_es6.js b/tests/baselines/reference/asyncFunctionDeclaration3_es6.js index 3771c751c3a54..4c0f502ab989c 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration3_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration3_es6.js @@ -5,5 +5,6 @@ function f(await = await) { } //// [asyncFunctionDeclaration3_es6.js] +"use strict"; function f(await = await) { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration4_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration4_es2017.js index 7fc0fcd488113..e9b97d5ed0011 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration4_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration4_es2017.js @@ -5,5 +5,6 @@ function await() { } //// [asyncFunctionDeclaration4_es2017.js] +"use strict"; function await() { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration4_es5.js b/tests/baselines/reference/asyncFunctionDeclaration4_es5.js index 3a4b2beafbba5..2c4decfa4b311 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration4_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration4_es5.js @@ -5,5 +5,6 @@ function await() { } //// [asyncFunctionDeclaration4_es5.js] +"use strict"; function await() { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration4_es6.js b/tests/baselines/reference/asyncFunctionDeclaration4_es6.js index f6deb3948076c..faa2a1a5b8ec8 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration4_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration4_es6.js @@ -5,5 +5,6 @@ function await() { } //// [asyncFunctionDeclaration4_es6.js] +"use strict"; function await() { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration5_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration5_es2017.js index 4d0a1a61ddd7e..0afbfca77a4fb 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration5_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration5_es2017.js @@ -5,5 +5,6 @@ async function foo(await): Promise { } //// [asyncFunctionDeclaration5_es2017.js] +"use strict"; async function foo(await) { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration5_es5.js b/tests/baselines/reference/asyncFunctionDeclaration5_es5.js index 30a48dd8795af..f28f5173b77a4 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration5_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration5_es5.js @@ -5,6 +5,7 @@ async function foo(await): Promise { } //// [asyncFunctionDeclaration5_es5.js] +"use strict"; function foo(await) { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/asyncFunctionDeclaration5_es6.js b/tests/baselines/reference/asyncFunctionDeclaration5_es6.js index e103205e1f95f..e3cd6d11df470 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration5_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration5_es6.js @@ -5,6 +5,7 @@ async function foo(await): Promise { } //// [asyncFunctionDeclaration5_es6.js] +"use strict"; function foo(await) { return __awaiter(this, void 0, void 0, function* () { }); diff --git a/tests/baselines/reference/asyncFunctionDeclaration6_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration6_es2017.js index 6e6abd59a198b..b4a9bf387555e 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration6_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration6_es2017.js @@ -5,5 +5,6 @@ async function foo(a = await): Promise { } //// [asyncFunctionDeclaration6_es2017.js] +"use strict"; async function foo(a = await ) { } diff --git a/tests/baselines/reference/asyncFunctionDeclaration6_es5.js b/tests/baselines/reference/asyncFunctionDeclaration6_es5.js index 955e59b233202..5356d0ad3c758 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration6_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration6_es5.js @@ -5,6 +5,7 @@ async function foo(a = await): Promise { } //// [asyncFunctionDeclaration6_es5.js] +"use strict"; function foo() { return __awaiter(this, arguments, void 0, function (a) { if (a === void 0) { a = _a.sent(); } diff --git a/tests/baselines/reference/asyncFunctionDeclaration6_es6.js b/tests/baselines/reference/asyncFunctionDeclaration6_es6.js index 419d67e8e0df0..0f8ad65bc242c 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration6_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration6_es6.js @@ -5,6 +5,7 @@ async function foo(a = await): Promise { } //// [asyncFunctionDeclaration6_es6.js] +"use strict"; function foo() { return __awaiter(this, arguments, void 0, function* (a = yield ) { }); diff --git a/tests/baselines/reference/asyncFunctionDeclaration7_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration7_es2017.js index 7a54a233f82dd..c4227d13b92f5 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration7_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration7_es2017.js @@ -8,6 +8,7 @@ async function bar(): Promise { } //// [asyncFunctionDeclaration7_es2017.js] +"use strict"; async function bar() { // 'await' here is an identifier, and not a yield expression. async function foo(a = await ) { diff --git a/tests/baselines/reference/asyncFunctionDeclaration7_es5.js b/tests/baselines/reference/asyncFunctionDeclaration7_es5.js index 39cd2ed76a95c..45bd725eddfb6 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration7_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration7_es5.js @@ -8,6 +8,7 @@ async function bar(): Promise { } //// [asyncFunctionDeclaration7_es5.js] +"use strict"; function bar() { return __awaiter(this, void 0, void 0, function () { // 'await' here is an identifier, and not a yield expression. diff --git a/tests/baselines/reference/asyncFunctionDeclaration7_es6.js b/tests/baselines/reference/asyncFunctionDeclaration7_es6.js index bec37abf44280..69cbfc988fac6 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration7_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration7_es6.js @@ -8,6 +8,7 @@ async function bar(): Promise { } //// [asyncFunctionDeclaration7_es6.js] +"use strict"; function bar() { return __awaiter(this, void 0, void 0, function* () { // 'await' here is an identifier, and not a yield expression. diff --git a/tests/baselines/reference/asyncFunctionDeclaration8_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration8_es2017.js index 7231da90e5da0..32a1262e9755e 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration8_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration8_es2017.js @@ -4,4 +4,5 @@ var v = { [await]: foo } //// [asyncFunctionDeclaration8_es2017.js] +"use strict"; var v = { [await]: foo }; diff --git a/tests/baselines/reference/asyncFunctionDeclaration8_es5.js b/tests/baselines/reference/asyncFunctionDeclaration8_es5.js index c529aa25356b4..0fcd8bc69b8bb 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration8_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration8_es5.js @@ -4,5 +4,6 @@ var v = { [await]: foo } //// [asyncFunctionDeclaration8_es5.js] +"use strict"; var _a; var v = (_a = {}, _a[await] = foo, _a); diff --git a/tests/baselines/reference/asyncFunctionDeclaration8_es6.js b/tests/baselines/reference/asyncFunctionDeclaration8_es6.js index 9cc3cb7d1b7e0..12b7dbcced9da 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration8_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration8_es6.js @@ -4,4 +4,5 @@ var v = { [await]: foo } //// [asyncFunctionDeclaration8_es6.js] +"use strict"; var v = { [await]: foo }; diff --git a/tests/baselines/reference/asyncFunctionDeclaration9_es2017.js b/tests/baselines/reference/asyncFunctionDeclaration9_es2017.js index a157c6af6b759..aa97d2d23ac42 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration9_es2017.js +++ b/tests/baselines/reference/asyncFunctionDeclaration9_es2017.js @@ -6,6 +6,7 @@ async function foo(): Promise { } //// [asyncFunctionDeclaration9_es2017.js] +"use strict"; async function foo() { var v = { [await ]: foo }; } diff --git a/tests/baselines/reference/asyncFunctionDeclaration9_es5.js b/tests/baselines/reference/asyncFunctionDeclaration9_es5.js index bc1f7b6416c4b..5bce06d87b3d6 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration9_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclaration9_es5.js @@ -6,6 +6,7 @@ async function foo(): Promise { } //// [asyncFunctionDeclaration9_es5.js] +"use strict"; function foo() { return __awaiter(this, void 0, void 0, function () { var v; diff --git a/tests/baselines/reference/asyncFunctionDeclaration9_es6.js b/tests/baselines/reference/asyncFunctionDeclaration9_es6.js index 5e622d930843f..75249da182718 100644 --- a/tests/baselines/reference/asyncFunctionDeclaration9_es6.js +++ b/tests/baselines/reference/asyncFunctionDeclaration9_es6.js @@ -6,6 +6,7 @@ async function foo(): Promise { } //// [asyncFunctionDeclaration9_es6.js] +"use strict"; function foo() { return __awaiter(this, void 0, void 0, function* () { var v = { [yield ]: foo }; diff --git a/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5.js b/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5.js index b254df413ba4d..1231a3611d636 100644 --- a/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5.js +++ b/tests/baselines/reference/asyncFunctionDeclarationCapturesArguments_es5.js @@ -12,6 +12,7 @@ class C { //// [asyncFunctionDeclarationCapturesArguments_es5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/asyncFunctionDeclarationParameterEvaluation(target=es2015).js b/tests/baselines/reference/asyncFunctionDeclarationParameterEvaluation(target=es2015).js index 8b3f87a20b063..ea4f5efe96569 100644 --- a/tests/baselines/reference/asyncFunctionDeclarationParameterEvaluation(target=es2015).js +++ b/tests/baselines/reference/asyncFunctionDeclarationParameterEvaluation(target=es2015).js @@ -28,6 +28,7 @@ function f() { } //// [asyncFunctionDeclarationParameterEvaluation.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/40410 function f1(x_1) { return __awaiter(this, arguments, void 0, function* (x, y = z) { }); diff --git a/tests/baselines/reference/asyncFunctionDeclarationParameterEvaluation(target=es2017).js b/tests/baselines/reference/asyncFunctionDeclarationParameterEvaluation(target=es2017).js index ec09c5f4d8883..9bec8a05f5b65 100644 --- a/tests/baselines/reference/asyncFunctionDeclarationParameterEvaluation(target=es2017).js +++ b/tests/baselines/reference/asyncFunctionDeclarationParameterEvaluation(target=es2017).js @@ -28,6 +28,7 @@ function f() { } //// [asyncFunctionDeclarationParameterEvaluation.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/40410 async function f1(x, y = z) { } async function f2({ [z]: x }) { } diff --git a/tests/baselines/reference/asyncFunctionNoReturnType.js b/tests/baselines/reference/asyncFunctionNoReturnType.js index ef0a529fcc5ad..69e49d77bb609 100644 --- a/tests/baselines/reference/asyncFunctionNoReturnType.js +++ b/tests/baselines/reference/asyncFunctionNoReturnType.js @@ -8,6 +8,7 @@ async () => { //// [asyncFunctionNoReturnType.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -44,8 +45,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) { if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; -var _this = this; -(function () { return __awaiter(_this, void 0, void 0, function () { +(function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { if (window) return [2 /*return*/]; diff --git a/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.js b/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.js index 2863404726a47..fab153bbc384a 100644 --- a/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.js +++ b/tests/baselines/reference/asyncFunctionReturnExpressionErrorSpans.js @@ -24,6 +24,7 @@ async function asyncFoo(): Promise { } //// [asyncFunctionReturnExpressionErrorSpans.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/asyncFunctionReturnType.2.js b/tests/baselines/reference/asyncFunctionReturnType.2.js index 1580513685952..c88f339c5c8ec 100644 --- a/tests/baselines/reference/asyncFunctionReturnType.2.js +++ b/tests/baselines/reference/asyncFunctionReturnType.2.js @@ -7,6 +7,7 @@ class X { } //// [asyncFunctionReturnType.2.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/47291 class X { f = async () => this; diff --git a/tests/baselines/reference/asyncFunctionReturnType.js b/tests/baselines/reference/asyncFunctionReturnType.js index 425e25904d59d..a28436da88206 100644 --- a/tests/baselines/reference/asyncFunctionReturnType.js +++ b/tests/baselines/reference/asyncFunctionReturnType.js @@ -78,6 +78,7 @@ async function fGenericIndexedTypeForExplicitPromiseOfKProp bar(await foo); //// [asyncFunctionTempVariableScoping.js] +"use strict"; // https://github.com/Microsoft/TypeScript/issues/19187 var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } @@ -54,8 +55,7 @@ var __rest = (this && this.__rest) || function (s, e) { } return t; }; -var _this = this; -(function (_a) { return __awaiter(_this, void 0, void 0, function () { +(function (_a) { return __awaiter(void 0, void 0, void 0, function () { var _b; var foo = _a.foo, bar = _a.bar, rest = __rest(_a, ["foo", "bar"]); return __generator(this, function (_c) { diff --git a/tests/baselines/reference/asyncFunctionWithForStatementNoInitializer.js b/tests/baselines/reference/asyncFunctionWithForStatementNoInitializer.js index 8ea440e35cad1..57fc84837ca5f 100644 --- a/tests/baselines/reference/asyncFunctionWithForStatementNoInitializer.js +++ b/tests/baselines/reference/asyncFunctionWithForStatementNoInitializer.js @@ -27,6 +27,7 @@ async function test4() { } //// [asyncFunctionWithForStatementNoInitializer.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/asyncFunctionsAndStrictNullChecks.js b/tests/baselines/reference/asyncFunctionsAndStrictNullChecks.js index b04f3e7e8019d..a54b7029e68c3 100644 --- a/tests/baselines/reference/asyncFunctionsAndStrictNullChecks.js +++ b/tests/baselines/reference/asyncFunctionsAndStrictNullChecks.js @@ -28,6 +28,7 @@ async function sample2(x?: number) { //// [asyncFunctionsAndStrictNullChecks.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2015).js b/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2015).js index 2cbad17364e65..b01ac6b8e69a3 100644 --- a/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2015).js +++ b/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2015).js @@ -12,6 +12,7 @@ class Sub extends Super { //// [asyncGeneratorParameterEvaluation.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/40410 function f1(x_1) { return __asyncGenerator(this, arguments, function* f1_1(x, y = z) { }); } function f2(_a) { return __asyncGenerator(this, arguments, function* f2_1({ [z]: x }) { }); } diff --git a/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2017).js b/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2017).js index 2cbad17364e65..b01ac6b8e69a3 100644 --- a/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2017).js +++ b/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2017).js @@ -12,6 +12,7 @@ class Sub extends Super { //// [asyncGeneratorParameterEvaluation.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/40410 function f1(x_1) { return __asyncGenerator(this, arguments, function* f1_1(x, y = z) { }); } function f2(_a) { return __asyncGenerator(this, arguments, function* f2_1({ [z]: x }) { }); } diff --git a/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2018).js b/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2018).js index 1e72faf417bae..936d77da9b1a0 100644 --- a/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2018).js +++ b/tests/baselines/reference/asyncGeneratorParameterEvaluation(target=es2018).js @@ -12,6 +12,7 @@ class Sub extends Super { //// [asyncGeneratorParameterEvaluation.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/40410 async function* f1(x, y = z) { } async function* f2({ [z]: x }) { } diff --git a/tests/baselines/reference/asyncGetter_es5.js b/tests/baselines/reference/asyncGetter_es5.js index 4fff3daebb808..0981ed36a2a8b 100644 --- a/tests/baselines/reference/asyncGetter_es5.js +++ b/tests/baselines/reference/asyncGetter_es5.js @@ -7,6 +7,7 @@ class C { } //// [asyncGetter_es5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/asyncGetter_es6.js b/tests/baselines/reference/asyncGetter_es6.js index 0f97533b0af06..fbec4ae52e6fe 100644 --- a/tests/baselines/reference/asyncGetter_es6.js +++ b/tests/baselines/reference/asyncGetter_es6.js @@ -7,6 +7,7 @@ class C { } //// [asyncGetter_es6.js] +"use strict"; class C { get foo() { } diff --git a/tests/baselines/reference/asyncIIFE.js b/tests/baselines/reference/asyncIIFE.js index a05980d1d5dee..f273d8cee1690 100644 --- a/tests/baselines/reference/asyncIIFE.js +++ b/tests/baselines/reference/asyncIIFE.js @@ -12,6 +12,7 @@ function f1() { //// [asyncIIFE.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/asyncImportNestedYield.js b/tests/baselines/reference/asyncImportNestedYield.js index 81ffe76523fa8..25216a801b4e6 100644 --- a/tests/baselines/reference/asyncImportNestedYield.js +++ b/tests/baselines/reference/asyncImportNestedYield.js @@ -6,6 +6,7 @@ async function* foo() { } //// [asyncImportNestedYield.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/asyncInterface_es5.js b/tests/baselines/reference/asyncInterface_es5.js index 5931d9bb76a39..a5806bce7f952 100644 --- a/tests/baselines/reference/asyncInterface_es5.js +++ b/tests/baselines/reference/asyncInterface_es5.js @@ -5,3 +5,4 @@ async interface I { } //// [asyncInterface_es5.js] +"use strict"; diff --git a/tests/baselines/reference/asyncInterface_es6.js b/tests/baselines/reference/asyncInterface_es6.js index a27c90897b3f6..ac39c93f2368d 100644 --- a/tests/baselines/reference/asyncInterface_es6.js +++ b/tests/baselines/reference/asyncInterface_es6.js @@ -5,3 +5,4 @@ async interface I { } //// [asyncInterface_es6.js] +"use strict"; diff --git a/tests/baselines/reference/asyncMethodWithSuperConflict_es6.js b/tests/baselines/reference/asyncMethodWithSuperConflict_es6.js index bdf1f507d4cd6..6f461525e3377 100644 --- a/tests/baselines/reference/asyncMethodWithSuperConflict_es6.js +++ b/tests/baselines/reference/asyncMethodWithSuperConflict_es6.js @@ -62,6 +62,7 @@ class B extends A { //// [asyncMethodWithSuperConflict_es6.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/asyncMethodWithSuper_es2017.js b/tests/baselines/reference/asyncMethodWithSuper_es2017.js index 9db78311dca93..8de35871da20b 100644 --- a/tests/baselines/reference/asyncMethodWithSuper_es2017.js +++ b/tests/baselines/reference/asyncMethodWithSuper_es2017.js @@ -58,6 +58,7 @@ class B extends A { //// [asyncMethodWithSuper_es2017.js] +"use strict"; class A { x() { } diff --git a/tests/baselines/reference/asyncMethodWithSuper_es5.js b/tests/baselines/reference/asyncMethodWithSuper_es5.js index d58d7f2f0a8f8..efd86929730f1 100644 --- a/tests/baselines/reference/asyncMethodWithSuper_es5.js +++ b/tests/baselines/reference/asyncMethodWithSuper_es5.js @@ -58,6 +58,7 @@ class B extends A { //// [asyncMethodWithSuper_es5.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/asyncMethodWithSuper_es6.js b/tests/baselines/reference/asyncMethodWithSuper_es6.js index f011f488a83df..e354cad7acdcc 100644 --- a/tests/baselines/reference/asyncMethodWithSuper_es6.js +++ b/tests/baselines/reference/asyncMethodWithSuper_es6.js @@ -216,6 +216,7 @@ class Derived extends Base { //// [asyncMethodWithSuper_es6.js] +"use strict"; class A { x() { } diff --git a/tests/baselines/reference/asyncModule_es5.js b/tests/baselines/reference/asyncModule_es5.js index 2fdf36581c62b..82b0ff8f6527e 100644 --- a/tests/baselines/reference/asyncModule_es5.js +++ b/tests/baselines/reference/asyncModule_es5.js @@ -5,3 +5,4 @@ async namespace M { } //// [asyncModule_es5.js] +"use strict"; diff --git a/tests/baselines/reference/asyncModule_es6.js b/tests/baselines/reference/asyncModule_es6.js index f89a892e9aa69..b02b1bae46747 100644 --- a/tests/baselines/reference/asyncModule_es6.js +++ b/tests/baselines/reference/asyncModule_es6.js @@ -5,3 +5,4 @@ async namespace M { } //// [asyncModule_es6.js] +"use strict"; diff --git a/tests/baselines/reference/asyncMultiFile_es5.js b/tests/baselines/reference/asyncMultiFile_es5.js index e022b1e864a6b..3068938535652 100644 --- a/tests/baselines/reference/asyncMultiFile_es5.js +++ b/tests/baselines/reference/asyncMultiFile_es5.js @@ -6,6 +6,7 @@ async function f() {} function g() { } //// [a.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -48,4 +49,5 @@ function f() { }); }); } //// [b.js] +"use strict"; function g() { } diff --git a/tests/baselines/reference/asyncMultiFile_es6.js b/tests/baselines/reference/asyncMultiFile_es6.js index 7fbb00063c7aa..5621e21feb0ef 100644 --- a/tests/baselines/reference/asyncMultiFile_es6.js +++ b/tests/baselines/reference/asyncMultiFile_es6.js @@ -6,6 +6,7 @@ async function f() {} function g() { } //// [a.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -19,4 +20,5 @@ function f() { return __awaiter(this, void 0, void 0, function* () { }); } //// [b.js] +"use strict"; function g() { } diff --git a/tests/baselines/reference/asyncOrYieldAsBindingIdentifier1.errors.txt b/tests/baselines/reference/asyncOrYieldAsBindingIdentifier1.errors.txt index 2f031b8577301..b45795634ffc4 100644 --- a/tests/baselines/reference/asyncOrYieldAsBindingIdentifier1.errors.txt +++ b/tests/baselines/reference/asyncOrYieldAsBindingIdentifier1.errors.txt @@ -1,12 +1,15 @@ asyncOrYieldAsBindingIdentifier1.ts(14,9): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. asyncOrYieldAsBindingIdentifier1.ts(18,9): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. asyncOrYieldAsBindingIdentifier1.ts(22,11): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. -asyncOrYieldAsBindingIdentifier1.ts(38,9): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. -asyncOrYieldAsBindingIdentifier1.ts(42,9): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. -asyncOrYieldAsBindingIdentifier1.ts(46,11): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +asyncOrYieldAsBindingIdentifier1.ts(26,9): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +asyncOrYieldAsBindingIdentifier1.ts(30,9): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +asyncOrYieldAsBindingIdentifier1.ts(34,11): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +asyncOrYieldAsBindingIdentifier1.ts(38,9): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +asyncOrYieldAsBindingIdentifier1.ts(42,9): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +asyncOrYieldAsBindingIdentifier1.ts(46,11): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. -==== asyncOrYieldAsBindingIdentifier1.ts (6 errors) ==== +==== asyncOrYieldAsBindingIdentifier1.ts (9 errors) ==== function f_let () { let await = 1 } @@ -39,30 +42,36 @@ asyncOrYieldAsBindingIdentifier1.ts(46,11): error TS1359: Identifier expected. ' function f3_let () { let yield = 2 + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } function f3_var () { var yield = 2 + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } function f3_const () { const yield = 2 + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } function * f4_let () { let yield = 2; ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } function * f4_var () { var yield = 2; ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } function * f4_const () { const yield = 2; ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } \ No newline at end of file diff --git a/tests/baselines/reference/asyncOrYieldAsBindingIdentifier1.js b/tests/baselines/reference/asyncOrYieldAsBindingIdentifier1.js index 5b00ae26ea9d4..d349cd0bbec08 100644 --- a/tests/baselines/reference/asyncOrYieldAsBindingIdentifier1.js +++ b/tests/baselines/reference/asyncOrYieldAsBindingIdentifier1.js @@ -50,6 +50,7 @@ function * f4_const () { } //// [asyncOrYieldAsBindingIdentifier1.js] +"use strict"; function f_let() { let await = 1; } diff --git a/tests/baselines/reference/asyncQualifiedReturnType_es5.js b/tests/baselines/reference/asyncQualifiedReturnType_es5.js index d6414fb7967ea..12bf329a11a56 100644 --- a/tests/baselines/reference/asyncQualifiedReturnType_es5.js +++ b/tests/baselines/reference/asyncQualifiedReturnType_es5.js @@ -10,6 +10,7 @@ async function f(): X.MyPromise { } //// [asyncQualifiedReturnType_es5.js] +"use strict"; var X; (function (X) { var MyPromise = /** @class */ (function (_super) { diff --git a/tests/baselines/reference/asyncQualifiedReturnType_es6.js b/tests/baselines/reference/asyncQualifiedReturnType_es6.js index f75dca441f049..38be11eede657 100644 --- a/tests/baselines/reference/asyncQualifiedReturnType_es6.js +++ b/tests/baselines/reference/asyncQualifiedReturnType_es6.js @@ -10,6 +10,7 @@ async function f(): X.MyPromise { } //// [asyncQualifiedReturnType_es6.js] +"use strict"; var X; (function (X) { class MyPromise extends Promise { diff --git a/tests/baselines/reference/asyncSetter_es5.js b/tests/baselines/reference/asyncSetter_es5.js index 78ab925022a50..c5357e34ee04f 100644 --- a/tests/baselines/reference/asyncSetter_es5.js +++ b/tests/baselines/reference/asyncSetter_es5.js @@ -7,6 +7,7 @@ class C { } //// [asyncSetter_es5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/asyncSetter_es6.js b/tests/baselines/reference/asyncSetter_es6.js index be7393244047e..72faf0879645b 100644 --- a/tests/baselines/reference/asyncSetter_es6.js +++ b/tests/baselines/reference/asyncSetter_es6.js @@ -7,6 +7,7 @@ class C { } //// [asyncSetter_es6.js] +"use strict"; class C { set foo(value) { } diff --git a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es2017.js b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es2017.js index 42e28b3ced2c9..90aa398908257 100644 --- a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es2017.js +++ b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es2017.js @@ -6,5 +6,6 @@ const x = async i => await someOtherFunction(i) const x1 = async (i) => await someOtherFunction(i); //// [asyncUnParenthesizedArrowFunction_es2017.js] +"use strict"; const x = async (i) => await someOtherFunction(i); const x1 = async (i) => await someOtherFunction(i); diff --git a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5.js b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5.js index c614bd2aa4889..554801da30de7 100644 --- a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5.js +++ b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es5.js @@ -6,14 +6,14 @@ const x = async i => await someOtherFunction(i) const x1 = async (i) => await someOtherFunction(i); //// [asyncUnParenthesizedArrowFunction_es5.js] -var _this = this; -var x = function (i) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { +"use strict"; +var x = function (i) { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { switch (_a.label) { case 0: return [4 /*yield*/, someOtherFunction(i)]; case 1: return [2 /*return*/, _a.sent()]; } }); }); }; -var x1 = function (i) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { +var x1 = function (i) { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { switch (_a.label) { case 0: return [4 /*yield*/, someOtherFunction(i)]; case 1: return [2 /*return*/, _a.sent()]; diff --git a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es6.js b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es6.js index 676472b0adc74..798f01bac1781 100644 --- a/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es6.js +++ b/tests/baselines/reference/asyncUnParenthesizedArrowFunction_es6.js @@ -6,5 +6,6 @@ const x = async i => await someOtherFunction(i) const x1 = async (i) => await someOtherFunction(i); //// [asyncUnParenthesizedArrowFunction_es6.js] -const x = (i) => __awaiter(this, void 0, void 0, function* () { return yield someOtherFunction(i); }); -const x1 = (i) => __awaiter(this, void 0, void 0, function* () { return yield someOtherFunction(i); }); +"use strict"; +const x = (i) => __awaiter(void 0, void 0, void 0, function* () { return yield someOtherFunction(i); }); +const x1 = (i) => __awaiter(void 0, void 0, void 0, function* () { return yield someOtherFunction(i); }); diff --git a/tests/baselines/reference/asyncUseStrict_es2017.js b/tests/baselines/reference/asyncUseStrict_es2017.js index 3dd25e9365d17..b52b5550224ff 100644 --- a/tests/baselines/reference/asyncUseStrict_es2017.js +++ b/tests/baselines/reference/asyncUseStrict_es2017.js @@ -9,6 +9,7 @@ async function func(): Promise { } //// [asyncUseStrict_es2017.js] +"use strict"; async function func() { "use strict"; var b = await p || a; diff --git a/tests/baselines/reference/asyncUseStrict_es5.js b/tests/baselines/reference/asyncUseStrict_es5.js index 52b21660678df..a1cc77221069c 100644 --- a/tests/baselines/reference/asyncUseStrict_es5.js +++ b/tests/baselines/reference/asyncUseStrict_es5.js @@ -9,6 +9,7 @@ async function func(): Promise { } //// [asyncUseStrict_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { "use strict"; diff --git a/tests/baselines/reference/asyncUseStrict_es6.js b/tests/baselines/reference/asyncUseStrict_es6.js index 013cd747f0293..712e1b488fee9 100644 --- a/tests/baselines/reference/asyncUseStrict_es6.js +++ b/tests/baselines/reference/asyncUseStrict_es6.js @@ -9,6 +9,7 @@ async function func(): Promise { } //// [asyncUseStrict_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { "use strict"; diff --git a/tests/baselines/reference/asyncWithVarShadowing_es6.js b/tests/baselines/reference/asyncWithVarShadowing_es6.js index b9ba6480b99bf..2c230d0880efa 100644 --- a/tests/baselines/reference/asyncWithVarShadowing_es6.js +++ b/tests/baselines/reference/asyncWithVarShadowing_es6.js @@ -225,6 +225,7 @@ async function fn40(x) { //// [asyncWithVarShadowing_es6.js] +"use strict"; function fn1(x) { return __awaiter(this, void 0, void 0, function* () { var x; diff --git a/tests/baselines/reference/augmentArray.js b/tests/baselines/reference/augmentArray.js index 91c071d93ec32..f743a8b4a504b 100644 --- a/tests/baselines/reference/augmentArray.js +++ b/tests/baselines/reference/augmentArray.js @@ -6,3 +6,4 @@ interface Array { } //// [augmentArray.js] +"use strict"; diff --git a/tests/baselines/reference/augmentedClassWithPrototypePropertyOnModule.js b/tests/baselines/reference/augmentedClassWithPrototypePropertyOnModule.js index b9db7b5030505..aa1c7a2ad8b37 100644 --- a/tests/baselines/reference/augmentedClassWithPrototypePropertyOnModule.js +++ b/tests/baselines/reference/augmentedClassWithPrototypePropertyOnModule.js @@ -9,3 +9,4 @@ declare class m { } //// [augmentedClassWithPrototypePropertyOnModule.js] +"use strict"; diff --git a/tests/baselines/reference/augmentedTypeAssignmentCompatIndexSignature.js b/tests/baselines/reference/augmentedTypeAssignmentCompatIndexSignature.js index 186a8ed20f8c5..d4bd57af0097c 100644 --- a/tests/baselines/reference/augmentedTypeAssignmentCompatIndexSignature.js +++ b/tests/baselines/reference/augmentedTypeAssignmentCompatIndexSignature.js @@ -24,6 +24,7 @@ var v2: { } = f; // Should be allowed //// [augmentedTypeAssignmentCompatIndexSignature.js] +"use strict"; var o = {}; var f = function () { }; var v1 = o; // Should be allowed diff --git a/tests/baselines/reference/augmentedTypeBracketAccessIndexSignature.js b/tests/baselines/reference/augmentedTypeBracketAccessIndexSignature.js index b69be07fad64c..8afa8bf159e8f 100644 --- a/tests/baselines/reference/augmentedTypeBracketAccessIndexSignature.js +++ b/tests/baselines/reference/augmentedTypeBracketAccessIndexSignature.js @@ -16,5 +16,6 @@ var a = {}[0]; // Should be Foo var b = (() => { })[0]; // Should be Bar //// [augmentedTypeBracketAccessIndexSignature.js] +"use strict"; var a = {}[0]; // Should be Foo var b = (function () { })[0]; // Should be Bar diff --git a/tests/baselines/reference/augmentedTypeBracketNamedPropertyAccess.js b/tests/baselines/reference/augmentedTypeBracketNamedPropertyAccess.js index 77f4a07a7ae4d..b6f538f97d554 100644 --- a/tests/baselines/reference/augmentedTypeBracketNamedPropertyAccess.js +++ b/tests/baselines/reference/augmentedTypeBracketNamedPropertyAccess.js @@ -16,6 +16,7 @@ var r3 = f['functionData']; // Should be string var r4 = f['data']; // Should be number //// [augmentedTypeBracketNamedPropertyAccess.js] +"use strict"; var o = {}; var f = function () { }; var r1 = o['data']; // Should be number diff --git a/tests/baselines/reference/augmentedTypesClass.js b/tests/baselines/reference/augmentedTypesClass.js index 9116fe462689a..96681cb084942 100644 --- a/tests/baselines/reference/augmentedTypesClass.js +++ b/tests/baselines/reference/augmentedTypesClass.js @@ -10,6 +10,7 @@ class c4 { public foo() { } } enum c4 { One } // error //// [augmentedTypesClass.js] +"use strict"; //// class then var var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/augmentedTypesClass2.js b/tests/baselines/reference/augmentedTypesClass2.js index 0914b61b049f2..f246acec853eb 100644 --- a/tests/baselines/reference/augmentedTypesClass2.js +++ b/tests/baselines/reference/augmentedTypesClass2.js @@ -33,6 +33,7 @@ class c44 { //// [augmentedTypesClass2.js] +"use strict"; // Checking class with other things in type space not value space // class then interface var c11 = /** @class */ (function () { diff --git a/tests/baselines/reference/augmentedTypesClass2a.js b/tests/baselines/reference/augmentedTypesClass2a.js index 2de4ff0e052e0..3568ae4a609b4 100644 --- a/tests/baselines/reference/augmentedTypesClass2a.js +++ b/tests/baselines/reference/augmentedTypesClass2a.js @@ -7,6 +7,7 @@ function c2() { } // error var c2 = () => { } //// [augmentedTypesClass2a.js] +"use strict"; //// class then function var c2 = /** @class */ (function () { function c2() { diff --git a/tests/baselines/reference/augmentedTypesClass3.js b/tests/baselines/reference/augmentedTypesClass3.js index 169181343a59d..9f0f216ed7e5a 100644 --- a/tests/baselines/reference/augmentedTypesClass3.js +++ b/tests/baselines/reference/augmentedTypesClass3.js @@ -16,6 +16,7 @@ class c5c { public foo() { } } //import c5c = require(''); //// [augmentedTypesClass3.js] +"use strict"; // class then module var c5 = /** @class */ (function () { function c5() { diff --git a/tests/baselines/reference/augmentedTypesClass4.js b/tests/baselines/reference/augmentedTypesClass4.js index bb790c245e84f..413f42bd54f7c 100644 --- a/tests/baselines/reference/augmentedTypesClass4.js +++ b/tests/baselines/reference/augmentedTypesClass4.js @@ -7,6 +7,7 @@ class c3 { public bar() { } } // error //// [augmentedTypesClass4.js] +"use strict"; //// class then class var c3 = /** @class */ (function () { function c3() { diff --git a/tests/baselines/reference/augmentedTypesEnum.js b/tests/baselines/reference/augmentedTypesEnum.js index e3113ae4be800..64ab4db626e65 100644 --- a/tests/baselines/reference/augmentedTypesEnum.js +++ b/tests/baselines/reference/augmentedTypesEnum.js @@ -38,6 +38,7 @@ namespace e6b { export var y = 2; } // should be error //import e7 = require(''); // should be error //// [augmentedTypesEnum.js] +"use strict"; // enum then var var e1111; (function (e1111) { diff --git a/tests/baselines/reference/augmentedTypesEnum2.js b/tests/baselines/reference/augmentedTypesEnum2.js index bb376f71c34db..1b2bd64e2fd1f 100644 --- a/tests/baselines/reference/augmentedTypesEnum2.js +++ b/tests/baselines/reference/augmentedTypesEnum2.js @@ -22,6 +22,7 @@ class e2 { // error //enum then import - covered //// [augmentedTypesEnum2.js] +"use strict"; // enum then interface var e1; (function (e1) { diff --git a/tests/baselines/reference/augmentedTypesEnum3.js b/tests/baselines/reference/augmentedTypesEnum3.js index 8973e765299d1..e4a2d645c2927 100644 --- a/tests/baselines/reference/augmentedTypesEnum3.js +++ b/tests/baselines/reference/augmentedTypesEnum3.js @@ -23,6 +23,7 @@ namespace A { } //// [augmentedTypesEnum3.js] +"use strict"; var E; (function (E) { var t; diff --git a/tests/baselines/reference/augmentedTypesFunction.js b/tests/baselines/reference/augmentedTypesFunction.js index 504a24e955813..4e910c30dc1e7 100644 --- a/tests/baselines/reference/augmentedTypesFunction.js +++ b/tests/baselines/reference/augmentedTypesFunction.js @@ -41,6 +41,7 @@ namespace y5c { export interface I { foo(): void } } // should be an error //import y6 = require(''); //// [augmentedTypesFunction.js] +"use strict"; // function then var function y1() { } // error var y1 = 1; // error diff --git a/tests/baselines/reference/augmentedTypesInterface.js b/tests/baselines/reference/augmentedTypesInterface.js index c0b7abd7b5c1e..487a6d49b6ee7 100644 --- a/tests/baselines/reference/augmentedTypesInterface.js +++ b/tests/baselines/reference/augmentedTypesInterface.js @@ -36,6 +36,7 @@ interface i4 { //import i4 = require(''); // error //// [augmentedTypesInterface.js] +"use strict"; // interface then interface var i2 = /** @class */ (function () { function i2() { diff --git a/tests/baselines/reference/augmentedTypesModules.js b/tests/baselines/reference/augmentedTypesModules.js index ebcd8b49b9c69..d4250904f84e2 100644 --- a/tests/baselines/reference/augmentedTypesModules.js +++ b/tests/baselines/reference/augmentedTypesModules.js @@ -100,6 +100,7 @@ namespace m6 { export var y = 2; } //// [augmentedTypesModules.js] +"use strict"; var m1 = 1; // Should be allowed var m1a; (function (m1a) { diff --git a/tests/baselines/reference/augmentedTypesModules2.js b/tests/baselines/reference/augmentedTypesModules2.js index 033af2984ef9e..bf1ddbffe13bc 100644 --- a/tests/baselines/reference/augmentedTypesModules2.js +++ b/tests/baselines/reference/augmentedTypesModules2.js @@ -31,6 +31,7 @@ namespace m2g { export class C { foo() { } } } //// [augmentedTypesModules2.js] +"use strict"; function m2() { } ; // ok since the module is not instantiated var m2a; diff --git a/tests/baselines/reference/augmentedTypesModules3.js b/tests/baselines/reference/augmentedTypesModules3.js index 68f37176f7562..18e266fe5282f 100644 --- a/tests/baselines/reference/augmentedTypesModules3.js +++ b/tests/baselines/reference/augmentedTypesModules3.js @@ -9,6 +9,7 @@ namespace m3a { var y = 2; } class m3a { foo() { } } // error, class isn't ambient or declared before the module //// [augmentedTypesModules3.js] +"use strict"; var m3 = /** @class */ (function () { function m3() { } diff --git a/tests/baselines/reference/augmentedTypesModules3b.js b/tests/baselines/reference/augmentedTypesModules3b.js index 5ead3326ecc74..b9c637973c314 100644 --- a/tests/baselines/reference/augmentedTypesModules3b.js +++ b/tests/baselines/reference/augmentedTypesModules3b.js @@ -21,6 +21,7 @@ namespace m3g { export class C { foo() { } } } //// [augmentedTypesModules3b.js] +"use strict"; var m3b = /** @class */ (function () { function m3b() { } diff --git a/tests/baselines/reference/augmentedTypesModules4.js b/tests/baselines/reference/augmentedTypesModules4.js index 461db76d6d809..11c0a5b6bef60 100644 --- a/tests/baselines/reference/augmentedTypesModules4.js +++ b/tests/baselines/reference/augmentedTypesModules4.js @@ -25,6 +25,7 @@ namespace m5 { export interface I { foo(): void } } // should already be reasona //// [augmentedTypesModules4.js] +"use strict"; var m4; (function (m4) { })(m4 || (m4 = {})); diff --git a/tests/baselines/reference/augmentedTypesVar.js b/tests/baselines/reference/augmentedTypesVar.js index 1b315124bf37e..7890c1ff9ce77 100644 --- a/tests/baselines/reference/augmentedTypesVar.js +++ b/tests/baselines/reference/augmentedTypesVar.js @@ -39,6 +39,7 @@ namespace x6b { export var y = 2; } // error //// [augmentedTypesVar.js] +"use strict"; // var then var var x1 = 1; var x1 = 2; diff --git a/tests/baselines/reference/autoAccessor1(target=es2015).js b/tests/baselines/reference/autoAccessor1(target=es2015).js index e05e19fa51df5..ceec50f660f7e 100644 --- a/tests/baselines/reference/autoAccessor1(target=es2015).js +++ b/tests/baselines/reference/autoAccessor1(target=es2015).js @@ -10,6 +10,7 @@ class C1 { //// [autoAccessor1.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor1(target=es2022).js b/tests/baselines/reference/autoAccessor1(target=es2022).js index 639219b1deb97..cc42afbe943aa 100644 --- a/tests/baselines/reference/autoAccessor1(target=es2022).js +++ b/tests/baselines/reference/autoAccessor1(target=es2022).js @@ -10,6 +10,7 @@ class C1 { //// [autoAccessor1.js] +"use strict"; class C1 { #a_accessor_storage; get a() { return this.#a_accessor_storage; } diff --git a/tests/baselines/reference/autoAccessor1(target=es5).js b/tests/baselines/reference/autoAccessor1(target=es5).js index 014f81f4c8993..243644f75ca15 100644 --- a/tests/baselines/reference/autoAccessor1(target=es5).js +++ b/tests/baselines/reference/autoAccessor1(target=es5).js @@ -13,6 +13,7 @@ class C1 { !!!! File autoAccessor1.js missing from original emit, but present in noCheck emit //// [autoAccessor1.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor1(target=esnext).js b/tests/baselines/reference/autoAccessor1(target=esnext).js index 7be10ab1fe84c..5773958b092fd 100644 --- a/tests/baselines/reference/autoAccessor1(target=esnext).js +++ b/tests/baselines/reference/autoAccessor1(target=esnext).js @@ -10,6 +10,7 @@ class C1 { //// [autoAccessor1.js] +"use strict"; class C1 { accessor a; accessor b = 1; diff --git a/tests/baselines/reference/autoAccessor10.js b/tests/baselines/reference/autoAccessor10.js index 77170c8e85b72..ee4c42e3a6aae 100644 --- a/tests/baselines/reference/autoAccessor10.js +++ b/tests/baselines/reference/autoAccessor10.js @@ -31,6 +31,7 @@ class C4_2 { } //// [autoAccessor10.js] +"use strict"; class C1 { #a0_accessor_storage = 1; get a0() { return this.#a0_accessor_storage; } diff --git a/tests/baselines/reference/autoAccessor11.js b/tests/baselines/reference/autoAccessor11.js index 30097d652c87e..8165331830af1 100644 --- a/tests/baselines/reference/autoAccessor11.js +++ b/tests/baselines/reference/autoAccessor11.js @@ -18,6 +18,7 @@ class C { //// [autoAccessor11.js] +"use strict"; class C { accessor; a; diff --git a/tests/baselines/reference/autoAccessor2(target=es2015).js b/tests/baselines/reference/autoAccessor2(target=es2015).js index 7f5a806a58777..835afb13389d2 100644 --- a/tests/baselines/reference/autoAccessor2(target=es2015).js +++ b/tests/baselines/reference/autoAccessor2(target=es2015).js @@ -20,6 +20,7 @@ class C1 { //// [autoAccessor2.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor2(target=es2022).js b/tests/baselines/reference/autoAccessor2(target=es2022).js index 7efd7c0b5c957..873a3e0e990d8 100644 --- a/tests/baselines/reference/autoAccessor2(target=es2022).js +++ b/tests/baselines/reference/autoAccessor2(target=es2022).js @@ -20,6 +20,7 @@ class C1 { //// [autoAccessor2.js] +"use strict"; class C1 { #a_accessor_storage; get #a() { return this.#a_accessor_storage; } diff --git a/tests/baselines/reference/autoAccessor2(target=esnext).js b/tests/baselines/reference/autoAccessor2(target=esnext).js index 6840304ca67f9..6d5fb00004578 100644 --- a/tests/baselines/reference/autoAccessor2(target=esnext).js +++ b/tests/baselines/reference/autoAccessor2(target=esnext).js @@ -20,6 +20,7 @@ class C1 { //// [autoAccessor2.js] +"use strict"; class C1 { accessor #a; accessor #b = 1; diff --git a/tests/baselines/reference/autoAccessor3(target=es2015).js b/tests/baselines/reference/autoAccessor3(target=es2015).js index 4e664b01eff63..eea8d3a184403 100644 --- a/tests/baselines/reference/autoAccessor3(target=es2015).js +++ b/tests/baselines/reference/autoAccessor3(target=es2015).js @@ -10,6 +10,7 @@ class C1 { //// [autoAccessor3.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor3(target=es2022).js b/tests/baselines/reference/autoAccessor3(target=es2022).js index 142a66e96781a..f9ee4c99ca293 100644 --- a/tests/baselines/reference/autoAccessor3(target=es2022).js +++ b/tests/baselines/reference/autoAccessor3(target=es2022).js @@ -10,6 +10,7 @@ class C1 { //// [autoAccessor3.js] +"use strict"; class C1 { #_a_accessor_storage; get "w"() { return this.#_a_accessor_storage; } diff --git a/tests/baselines/reference/autoAccessor3(target=es5).js b/tests/baselines/reference/autoAccessor3(target=es5).js index aa624c216a8cc..52fd73b417d26 100644 --- a/tests/baselines/reference/autoAccessor3(target=es5).js +++ b/tests/baselines/reference/autoAccessor3(target=es5).js @@ -13,6 +13,7 @@ class C1 { !!!! File autoAccessor3.js missing from original emit, but present in noCheck emit //// [autoAccessor3.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor3(target=esnext).js b/tests/baselines/reference/autoAccessor3(target=esnext).js index cb2e729e0df15..256041c2f8d93 100644 --- a/tests/baselines/reference/autoAccessor3(target=esnext).js +++ b/tests/baselines/reference/autoAccessor3(target=esnext).js @@ -10,6 +10,7 @@ class C1 { //// [autoAccessor3.js] +"use strict"; class C1 { accessor "w"; accessor "x" = 1; diff --git a/tests/baselines/reference/autoAccessor4(target=es2015).js b/tests/baselines/reference/autoAccessor4(target=es2015).js index 3c774d990f336..314427fd44392 100644 --- a/tests/baselines/reference/autoAccessor4(target=es2015).js +++ b/tests/baselines/reference/autoAccessor4(target=es2015).js @@ -10,6 +10,7 @@ class C1 { //// [autoAccessor4.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor4(target=es2022).js b/tests/baselines/reference/autoAccessor4(target=es2022).js index 96a732d592d4b..21a93235a6347 100644 --- a/tests/baselines/reference/autoAccessor4(target=es2022).js +++ b/tests/baselines/reference/autoAccessor4(target=es2022).js @@ -10,6 +10,7 @@ class C1 { //// [autoAccessor4.js] +"use strict"; class C1 { #_a_accessor_storage; get 0() { return this.#_a_accessor_storage; } diff --git a/tests/baselines/reference/autoAccessor4(target=es5).js b/tests/baselines/reference/autoAccessor4(target=es5).js index 889d9f36dc3f6..4f7ff83ac54ed 100644 --- a/tests/baselines/reference/autoAccessor4(target=es5).js +++ b/tests/baselines/reference/autoAccessor4(target=es5).js @@ -13,6 +13,7 @@ class C1 { !!!! File autoAccessor4.js missing from original emit, but present in noCheck emit //// [autoAccessor4.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor4(target=esnext).js b/tests/baselines/reference/autoAccessor4(target=esnext).js index 1e0ae8b496e3e..2457ce2fa712f 100644 --- a/tests/baselines/reference/autoAccessor4(target=esnext).js +++ b/tests/baselines/reference/autoAccessor4(target=esnext).js @@ -10,6 +10,7 @@ class C1 { //// [autoAccessor4.js] +"use strict"; class C1 { accessor 0; accessor 1 = 1; diff --git a/tests/baselines/reference/autoAccessor5(target=es2015).js b/tests/baselines/reference/autoAccessor5(target=es2015).js index edafc0c9da1d2..4cc738208c4ad 100644 --- a/tests/baselines/reference/autoAccessor5(target=es2015).js +++ b/tests/baselines/reference/autoAccessor5(target=es2015).js @@ -14,6 +14,7 @@ class C2 { } //// [autoAccessor5.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor5(target=es2022).js b/tests/baselines/reference/autoAccessor5(target=es2022).js index ffee7eeaf6a93..afc469b4a6d5b 100644 --- a/tests/baselines/reference/autoAccessor5(target=es2022).js +++ b/tests/baselines/reference/autoAccessor5(target=es2022).js @@ -14,6 +14,7 @@ class C2 { } //// [autoAccessor5.js] +"use strict"; var _a; class C1 { #_a_accessor_storage; diff --git a/tests/baselines/reference/autoAccessor5(target=es5).js b/tests/baselines/reference/autoAccessor5(target=es5).js index 208bcefb2636e..e3fffe341efbf 100644 --- a/tests/baselines/reference/autoAccessor5(target=es5).js +++ b/tests/baselines/reference/autoAccessor5(target=es5).js @@ -14,6 +14,7 @@ class C2 { } //// [autoAccessor5.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor5(target=esnext).js b/tests/baselines/reference/autoAccessor5(target=esnext).js index 96847a123eb4e..1a68f13aa9098 100644 --- a/tests/baselines/reference/autoAccessor5(target=esnext).js +++ b/tests/baselines/reference/autoAccessor5(target=esnext).js @@ -14,6 +14,7 @@ class C2 { } //// [autoAccessor5.js] +"use strict"; class C1 { accessor ["w"]; accessor ["x"] = 1; diff --git a/tests/baselines/reference/autoAccessor6(target=es2015,usedefineforclassfields=false).js b/tests/baselines/reference/autoAccessor6(target=es2015,usedefineforclassfields=false).js index 3b8c4ecd41d52..7401b69beecdd 100644 --- a/tests/baselines/reference/autoAccessor6(target=es2015,usedefineforclassfields=false).js +++ b/tests/baselines/reference/autoAccessor6(target=es2015,usedefineforclassfields=false).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor6.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor6(target=es2015,usedefineforclassfields=true).js b/tests/baselines/reference/autoAccessor6(target=es2015,usedefineforclassfields=true).js index 4cee63158d1a5..ae7f920b01385 100644 --- a/tests/baselines/reference/autoAccessor6(target=es2015,usedefineforclassfields=true).js +++ b/tests/baselines/reference/autoAccessor6(target=es2015,usedefineforclassfields=true).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor6.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor6(target=es2022,usedefineforclassfields=false).js b/tests/baselines/reference/autoAccessor6(target=es2022,usedefineforclassfields=false).js index a8a2db5f108db..6c4577b6007d2 100644 --- a/tests/baselines/reference/autoAccessor6(target=es2022,usedefineforclassfields=false).js +++ b/tests/baselines/reference/autoAccessor6(target=es2022,usedefineforclassfields=false).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor6.js] +"use strict"; class C1 { #a_accessor_storage; get a() { return this.#a_accessor_storage; } diff --git a/tests/baselines/reference/autoAccessor6(target=es2022,usedefineforclassfields=true).js b/tests/baselines/reference/autoAccessor6(target=es2022,usedefineforclassfields=true).js index 00a43f638f6d4..9ef12fffd37cf 100644 --- a/tests/baselines/reference/autoAccessor6(target=es2022,usedefineforclassfields=true).js +++ b/tests/baselines/reference/autoAccessor6(target=es2022,usedefineforclassfields=true).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor6.js] +"use strict"; class C1 { #a_accessor_storage; get a() { return this.#a_accessor_storage; } diff --git a/tests/baselines/reference/autoAccessor6(target=esnext,usedefineforclassfields=false).js b/tests/baselines/reference/autoAccessor6(target=esnext,usedefineforclassfields=false).js index a1ee3e21c40e8..cf00ea392ebec 100644 --- a/tests/baselines/reference/autoAccessor6(target=esnext,usedefineforclassfields=false).js +++ b/tests/baselines/reference/autoAccessor6(target=esnext,usedefineforclassfields=false).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor6.js] +"use strict"; class C1 { accessor a; } diff --git a/tests/baselines/reference/autoAccessor6(target=esnext,usedefineforclassfields=true).js b/tests/baselines/reference/autoAccessor6(target=esnext,usedefineforclassfields=true).js index 36724c5f20183..12becbe0dfbc0 100644 --- a/tests/baselines/reference/autoAccessor6(target=esnext,usedefineforclassfields=true).js +++ b/tests/baselines/reference/autoAccessor6(target=esnext,usedefineforclassfields=true).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor6.js] +"use strict"; class C1 { accessor a; } diff --git a/tests/baselines/reference/autoAccessor7(target=es2015,usedefineforclassfields=false).js b/tests/baselines/reference/autoAccessor7(target=es2015,usedefineforclassfields=false).js index 0d7a38e94bb49..034c4cc15dc77 100644 --- a/tests/baselines/reference/autoAccessor7(target=es2015,usedefineforclassfields=false).js +++ b/tests/baselines/reference/autoAccessor7(target=es2015,usedefineforclassfields=false).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor7.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor7(target=es2015,usedefineforclassfields=true).js b/tests/baselines/reference/autoAccessor7(target=es2015,usedefineforclassfields=true).js index 0d7a38e94bb49..034c4cc15dc77 100644 --- a/tests/baselines/reference/autoAccessor7(target=es2015,usedefineforclassfields=true).js +++ b/tests/baselines/reference/autoAccessor7(target=es2015,usedefineforclassfields=true).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor7.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/autoAccessor7(target=es2022,usedefineforclassfields=false).js b/tests/baselines/reference/autoAccessor7(target=es2022,usedefineforclassfields=false).js index 161887407b527..d8007026aacf7 100644 --- a/tests/baselines/reference/autoAccessor7(target=es2022,usedefineforclassfields=false).js +++ b/tests/baselines/reference/autoAccessor7(target=es2022,usedefineforclassfields=false).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor7.js] +"use strict"; class C1 { } class C2 extends C1 { diff --git a/tests/baselines/reference/autoAccessor7(target=es2022,usedefineforclassfields=true).js b/tests/baselines/reference/autoAccessor7(target=es2022,usedefineforclassfields=true).js index 161887407b527..d8007026aacf7 100644 --- a/tests/baselines/reference/autoAccessor7(target=es2022,usedefineforclassfields=true).js +++ b/tests/baselines/reference/autoAccessor7(target=es2022,usedefineforclassfields=true).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor7.js] +"use strict"; class C1 { } class C2 extends C1 { diff --git a/tests/baselines/reference/autoAccessor7(target=esnext,usedefineforclassfields=false).js b/tests/baselines/reference/autoAccessor7(target=esnext,usedefineforclassfields=false).js index 4c3fccb2dc7f6..8367029f7cb27 100644 --- a/tests/baselines/reference/autoAccessor7(target=esnext,usedefineforclassfields=false).js +++ b/tests/baselines/reference/autoAccessor7(target=esnext,usedefineforclassfields=false).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor7.js] +"use strict"; class C1 { } class C2 extends C1 { diff --git a/tests/baselines/reference/autoAccessor7(target=esnext,usedefineforclassfields=true).js b/tests/baselines/reference/autoAccessor7(target=esnext,usedefineforclassfields=true).js index 4c3fccb2dc7f6..8367029f7cb27 100644 --- a/tests/baselines/reference/autoAccessor7(target=esnext,usedefineforclassfields=true).js +++ b/tests/baselines/reference/autoAccessor7(target=esnext,usedefineforclassfields=true).js @@ -15,6 +15,7 @@ class C3 extends C1 { //// [autoAccessor7.js] +"use strict"; class C1 { } class C2 extends C1 { diff --git a/tests/baselines/reference/autoAccessor8.js b/tests/baselines/reference/autoAccessor8.js index 3203876cec0ac..89add2d6a8958 100644 --- a/tests/baselines/reference/autoAccessor8.js +++ b/tests/baselines/reference/autoAccessor8.js @@ -21,6 +21,7 @@ function f() { //// [autoAccessor8.js] +"use strict"; class C1 { accessor a; static accessor b; diff --git a/tests/baselines/reference/autoAccessor9.js b/tests/baselines/reference/autoAccessor9.js index 5a0552f0e3432..fd90283ba07e0 100644 --- a/tests/baselines/reference/autoAccessor9.js +++ b/tests/baselines/reference/autoAccessor9.js @@ -49,6 +49,7 @@ class C7 { //// [autoAccessor9.js] +"use strict"; // Auto-accessors do not use Set semantics themselves, so do not need to be transformed if there are no other // initializers that need to be transformed: class C1 { diff --git a/tests/baselines/reference/autoAccessorAllowedModifiers.js b/tests/baselines/reference/autoAccessorAllowedModifiers.js index 204bdf2b5d55b..55b771845ca9c 100644 --- a/tests/baselines/reference/autoAccessorAllowedModifiers.js +++ b/tests/baselines/reference/autoAccessorAllowedModifiers.js @@ -30,6 +30,7 @@ declare class C3 { //// [autoAccessorAllowedModifiers.js] +"use strict"; class C1 { accessor a; accessor b; diff --git a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2015).js b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2015).js index e2d1b03a64fa8..647f58932abfd 100644 --- a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2015).js +++ b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2015).js @@ -21,6 +21,7 @@ class C2 { //// [autoAccessorExperimentalDecorators.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2022).js b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2022).js index 9c65115067bbd..88eb3570b5abc 100644 --- a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2022).js +++ b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=es2022).js @@ -21,6 +21,7 @@ class C2 { //// [autoAccessorExperimentalDecorators.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=esnext).js b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=esnext).js index c3f5fdcc2267a..87968b3bfa1c1 100644 --- a/tests/baselines/reference/autoAccessorExperimentalDecorators(target=esnext).js +++ b/tests/baselines/reference/autoAccessorExperimentalDecorators(target=esnext).js @@ -21,6 +21,7 @@ class C2 { //// [autoAccessorExperimentalDecorators.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/autoAccessorNoUseDefineForClassFields.js b/tests/baselines/reference/autoAccessorNoUseDefineForClassFields.js index 7409d2130cf40..040cfda506cad 100644 --- a/tests/baselines/reference/autoAccessorNoUseDefineForClassFields.js +++ b/tests/baselines/reference/autoAccessorNoUseDefineForClassFields.js @@ -41,23 +41,28 @@ class C6 { //// [file1.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/51528 class C1 { static accessor x = 0; } //// [file2.js] +"use strict"; class C2 { static accessor #x = 0; } //// [file3.js] +"use strict"; class C3 { accessor x = 0; } //// [file4.js] +"use strict"; class C4 { accessor #x = 0; } //// [file5.js] +"use strict"; class C5 { constructor() { this.x = 0; @@ -68,6 +73,7 @@ class C5 { set #x(value) { this.#x_accessor_storage = value; } } //// [file6.js] +"use strict"; class C6 { constructor() { this.#x_accessor_storage = 0; diff --git a/tests/baselines/reference/autoAsiForStaticsInClassDeclaration.js b/tests/baselines/reference/autoAsiForStaticsInClassDeclaration.js index 4f8c382ee555b..ab7f953ca37bf 100644 --- a/tests/baselines/reference/autoAsiForStaticsInClassDeclaration.js +++ b/tests/baselines/reference/autoAsiForStaticsInClassDeclaration.js @@ -7,6 +7,7 @@ class C { } //// [autoAsiForStaticsInClassDeclaration.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/autoLift2.js b/tests/baselines/reference/autoLift2.js index 09e5f9f812775..71b6189836d5a 100644 --- a/tests/baselines/reference/autoLift2.js +++ b/tests/baselines/reference/autoLift2.js @@ -34,6 +34,7 @@ a.baz(); //// [autoLift2.js] +"use strict"; var A = /** @class */ (function () { function A() { this.foo; diff --git a/tests/baselines/reference/autolift3.js b/tests/baselines/reference/autolift3.js index 67e174c4e3ebc..be5fb156e5e3b 100644 --- a/tests/baselines/reference/autolift3.js +++ b/tests/baselines/reference/autolift3.js @@ -33,6 +33,7 @@ b.foo(); //// [autolift3.js] +"use strict"; var B = /** @class */ (function () { function B() { function foo() { } diff --git a/tests/baselines/reference/autolift4.js b/tests/baselines/reference/autolift4.js index afa4a1b0aee32..3e5fe0b4862d7 100644 --- a/tests/baselines/reference/autolift4.js +++ b/tests/baselines/reference/autolift4.js @@ -26,6 +26,7 @@ class Point3D extends Point { //// [autolift4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/autonumberingInEnums.js b/tests/baselines/reference/autonumberingInEnums.js index 244e77a96a8c9..0b9703e437c60 100644 --- a/tests/baselines/reference/autonumberingInEnums.js +++ b/tests/baselines/reference/autonumberingInEnums.js @@ -10,6 +10,7 @@ enum Foo { } //// [autonumberingInEnums.js] +"use strict"; var Foo; (function (Foo) { Foo[Foo["a"] = 1] = "a"; diff --git a/tests/baselines/reference/avoid.js b/tests/baselines/reference/avoid.js index 0d53ad58d2a0d..e1536a500c8d0 100644 --- a/tests/baselines/reference/avoid.js +++ b/tests/baselines/reference/avoid.js @@ -22,6 +22,7 @@ var N=new f(); // ok with void fn //// [avoid.js] +"use strict"; function f() { var x = 1; } diff --git a/tests/baselines/reference/awaitAndYield.js b/tests/baselines/reference/awaitAndYield.js index 09606a3e8aba5..1ce395f64c2f3 100644 --- a/tests/baselines/reference/awaitAndYield.js +++ b/tests/baselines/reference/awaitAndYield.js @@ -9,6 +9,7 @@ async function* test(x: Promise) { } //// [awaitAndYield.js] +"use strict"; async function* test(x) { let E; (function (E) { diff --git a/tests/baselines/reference/awaitAndYieldInProperty.js b/tests/baselines/reference/awaitAndYieldInProperty.js index f310dc83331f8..7bd1063cf9dbc 100644 --- a/tests/baselines/reference/awaitAndYieldInProperty.js +++ b/tests/baselines/reference/awaitAndYieldInProperty.js @@ -20,6 +20,7 @@ async function* test(x: Promise) { } //// [awaitAndYieldInProperty.js] +"use strict"; async function* test(x) { var _a, _b, _c, _d, _e, _f, _g, _h, _j; class C { diff --git a/tests/baselines/reference/awaitBinaryExpression1_es2017.js b/tests/baselines/reference/awaitBinaryExpression1_es2017.js index 33d27b5348929..cdb6c529c3caa 100644 --- a/tests/baselines/reference/awaitBinaryExpression1_es2017.js +++ b/tests/baselines/reference/awaitBinaryExpression1_es2017.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression1_es2017.js] +"use strict"; async function func() { before(); var b = await p || a; diff --git a/tests/baselines/reference/awaitBinaryExpression1_es5.js b/tests/baselines/reference/awaitBinaryExpression1_es5.js index 45bc1bc2b81cf..f38f2d8aeb9e5 100644 --- a/tests/baselines/reference/awaitBinaryExpression1_es5.js +++ b/tests/baselines/reference/awaitBinaryExpression1_es5.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression1_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b; diff --git a/tests/baselines/reference/awaitBinaryExpression1_es6.js b/tests/baselines/reference/awaitBinaryExpression1_es6.js index bb1f31174f325..96f158e52b905 100644 --- a/tests/baselines/reference/awaitBinaryExpression1_es6.js +++ b/tests/baselines/reference/awaitBinaryExpression1_es6.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression1_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitBinaryExpression2_es2017.js b/tests/baselines/reference/awaitBinaryExpression2_es2017.js index 68dd53ad85f6e..6cf054cdee86d 100644 --- a/tests/baselines/reference/awaitBinaryExpression2_es2017.js +++ b/tests/baselines/reference/awaitBinaryExpression2_es2017.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression2_es2017.js] +"use strict"; async function func() { before(); var b = await p && a; diff --git a/tests/baselines/reference/awaitBinaryExpression2_es5.js b/tests/baselines/reference/awaitBinaryExpression2_es5.js index 0ee30666df4da..8b0d33133c9f9 100644 --- a/tests/baselines/reference/awaitBinaryExpression2_es5.js +++ b/tests/baselines/reference/awaitBinaryExpression2_es5.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression2_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b; diff --git a/tests/baselines/reference/awaitBinaryExpression2_es6.js b/tests/baselines/reference/awaitBinaryExpression2_es6.js index 7d28a411cdf6f..2b4b61eaeab55 100644 --- a/tests/baselines/reference/awaitBinaryExpression2_es6.js +++ b/tests/baselines/reference/awaitBinaryExpression2_es6.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression2_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitBinaryExpression3_es2017.js b/tests/baselines/reference/awaitBinaryExpression3_es2017.js index 46eecdd1e9c66..334870242e26b 100644 --- a/tests/baselines/reference/awaitBinaryExpression3_es2017.js +++ b/tests/baselines/reference/awaitBinaryExpression3_es2017.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression3_es2017.js] +"use strict"; async function func() { before(); var b = await p + a; diff --git a/tests/baselines/reference/awaitBinaryExpression3_es5.js b/tests/baselines/reference/awaitBinaryExpression3_es5.js index 7993f92d10ec7..64d5521ec5806 100644 --- a/tests/baselines/reference/awaitBinaryExpression3_es5.js +++ b/tests/baselines/reference/awaitBinaryExpression3_es5.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression3_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b; diff --git a/tests/baselines/reference/awaitBinaryExpression3_es6.js b/tests/baselines/reference/awaitBinaryExpression3_es6.js index 1d22fc27cbf38..2e2b8809c5fa3 100644 --- a/tests/baselines/reference/awaitBinaryExpression3_es6.js +++ b/tests/baselines/reference/awaitBinaryExpression3_es6.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression3_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitBinaryExpression4_es2017.js b/tests/baselines/reference/awaitBinaryExpression4_es2017.js index 2151cbf68e8a3..1b847bf30c2d0 100644 --- a/tests/baselines/reference/awaitBinaryExpression4_es2017.js +++ b/tests/baselines/reference/awaitBinaryExpression4_es2017.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression4_es2017.js] +"use strict"; async function func() { before(); var b = (await p, a); diff --git a/tests/baselines/reference/awaitBinaryExpression4_es5.js b/tests/baselines/reference/awaitBinaryExpression4_es5.js index b2bf508740e16..b6d8e6cbdd0d5 100644 --- a/tests/baselines/reference/awaitBinaryExpression4_es5.js +++ b/tests/baselines/reference/awaitBinaryExpression4_es5.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression4_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b; diff --git a/tests/baselines/reference/awaitBinaryExpression4_es6.js b/tests/baselines/reference/awaitBinaryExpression4_es6.js index 9fa78e1fe1bec..9ad737ba027b1 100644 --- a/tests/baselines/reference/awaitBinaryExpression4_es6.js +++ b/tests/baselines/reference/awaitBinaryExpression4_es6.js @@ -12,6 +12,7 @@ async function func(): Promise { } //// [awaitBinaryExpression4_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitBinaryExpression5_es2017.js b/tests/baselines/reference/awaitBinaryExpression5_es2017.js index 5ae9c21e79298..961e434c87295 100644 --- a/tests/baselines/reference/awaitBinaryExpression5_es2017.js +++ b/tests/baselines/reference/awaitBinaryExpression5_es2017.js @@ -13,6 +13,7 @@ async function func(): Promise { } //// [awaitBinaryExpression5_es2017.js] +"use strict"; async function func() { before(); var o; diff --git a/tests/baselines/reference/awaitBinaryExpression5_es5.js b/tests/baselines/reference/awaitBinaryExpression5_es5.js index 0444d8c2facb2..b727f0ebb5e5d 100644 --- a/tests/baselines/reference/awaitBinaryExpression5_es5.js +++ b/tests/baselines/reference/awaitBinaryExpression5_es5.js @@ -13,6 +13,7 @@ async function func(): Promise { } //// [awaitBinaryExpression5_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var o, _a; diff --git a/tests/baselines/reference/awaitBinaryExpression5_es6.js b/tests/baselines/reference/awaitBinaryExpression5_es6.js index 52c236a5c79b8..e34b60a90ed43 100644 --- a/tests/baselines/reference/awaitBinaryExpression5_es6.js +++ b/tests/baselines/reference/awaitBinaryExpression5_es6.js @@ -13,6 +13,7 @@ async function func(): Promise { } //// [awaitBinaryExpression5_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitCallExpression1_es2017.js b/tests/baselines/reference/awaitCallExpression1_es2017.js index a90317da20826..5c2b17e9b751c 100644 --- a/tests/baselines/reference/awaitCallExpression1_es2017.js +++ b/tests/baselines/reference/awaitCallExpression1_es2017.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression1_es2017.js] +"use strict"; async function func() { before(); var b = fn(a, a, a); diff --git a/tests/baselines/reference/awaitCallExpression1_es5.js b/tests/baselines/reference/awaitCallExpression1_es5.js index c190a216ae514..ef5b1ae2c2edd 100644 --- a/tests/baselines/reference/awaitCallExpression1_es5.js +++ b/tests/baselines/reference/awaitCallExpression1_es5.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression1_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b; diff --git a/tests/baselines/reference/awaitCallExpression1_es6.js b/tests/baselines/reference/awaitCallExpression1_es6.js index 124f72e021271..a52a186479c05 100644 --- a/tests/baselines/reference/awaitCallExpression1_es6.js +++ b/tests/baselines/reference/awaitCallExpression1_es6.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression1_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitCallExpression2_es2017.js b/tests/baselines/reference/awaitCallExpression2_es2017.js index ab83926fd675a..9d417f6c3ffc1 100644 --- a/tests/baselines/reference/awaitCallExpression2_es2017.js +++ b/tests/baselines/reference/awaitCallExpression2_es2017.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression2_es2017.js] +"use strict"; async function func() { before(); var b = fn(await p, a, a); diff --git a/tests/baselines/reference/awaitCallExpression2_es5.js b/tests/baselines/reference/awaitCallExpression2_es5.js index 353e76241f417..1b2317c1ff2ed 100644 --- a/tests/baselines/reference/awaitCallExpression2_es5.js +++ b/tests/baselines/reference/awaitCallExpression2_es5.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression2_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b, _a; diff --git a/tests/baselines/reference/awaitCallExpression2_es6.js b/tests/baselines/reference/awaitCallExpression2_es6.js index 6931c3ad0db3d..b7c5da8f9ad9b 100644 --- a/tests/baselines/reference/awaitCallExpression2_es6.js +++ b/tests/baselines/reference/awaitCallExpression2_es6.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression2_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitCallExpression3_es2017.js b/tests/baselines/reference/awaitCallExpression3_es2017.js index f1cabaaa45592..8cbb2fb72597a 100644 --- a/tests/baselines/reference/awaitCallExpression3_es2017.js +++ b/tests/baselines/reference/awaitCallExpression3_es2017.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression3_es2017.js] +"use strict"; async function func() { before(); var b = fn(a, await p, a); diff --git a/tests/baselines/reference/awaitCallExpression3_es5.js b/tests/baselines/reference/awaitCallExpression3_es5.js index 0bac1918e7bf1..7c6c476b5697e 100644 --- a/tests/baselines/reference/awaitCallExpression3_es5.js +++ b/tests/baselines/reference/awaitCallExpression3_es5.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression3_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b, _a, _b; diff --git a/tests/baselines/reference/awaitCallExpression3_es6.js b/tests/baselines/reference/awaitCallExpression3_es6.js index 0818f2fc0c513..a4ff7a0c152e3 100644 --- a/tests/baselines/reference/awaitCallExpression3_es6.js +++ b/tests/baselines/reference/awaitCallExpression3_es6.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression3_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitCallExpression4_es2017.js b/tests/baselines/reference/awaitCallExpression4_es2017.js index 639061aff622e..98d7cb324c46e 100644 --- a/tests/baselines/reference/awaitCallExpression4_es2017.js +++ b/tests/baselines/reference/awaitCallExpression4_es2017.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression4_es2017.js] +"use strict"; async function func() { before(); var b = (await pfn)(a, a, a); diff --git a/tests/baselines/reference/awaitCallExpression4_es5.js b/tests/baselines/reference/awaitCallExpression4_es5.js index b3994d9309ef2..82a8e54038f18 100644 --- a/tests/baselines/reference/awaitCallExpression4_es5.js +++ b/tests/baselines/reference/awaitCallExpression4_es5.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression4_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b; diff --git a/tests/baselines/reference/awaitCallExpression4_es6.js b/tests/baselines/reference/awaitCallExpression4_es6.js index 43458f2c97f49..6b8110e1b6abf 100644 --- a/tests/baselines/reference/awaitCallExpression4_es6.js +++ b/tests/baselines/reference/awaitCallExpression4_es6.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression4_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitCallExpression5_es2017.js b/tests/baselines/reference/awaitCallExpression5_es2017.js index a9d593b78f817..3373a23792ab0 100644 --- a/tests/baselines/reference/awaitCallExpression5_es2017.js +++ b/tests/baselines/reference/awaitCallExpression5_es2017.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression5_es2017.js] +"use strict"; async function func() { before(); var b = o.fn(a, a, a); diff --git a/tests/baselines/reference/awaitCallExpression5_es5.js b/tests/baselines/reference/awaitCallExpression5_es5.js index 284434e553937..8722dfed02580 100644 --- a/tests/baselines/reference/awaitCallExpression5_es5.js +++ b/tests/baselines/reference/awaitCallExpression5_es5.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression5_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b; diff --git a/tests/baselines/reference/awaitCallExpression5_es6.js b/tests/baselines/reference/awaitCallExpression5_es6.js index 73bb7a30e09b7..dcc1577b26819 100644 --- a/tests/baselines/reference/awaitCallExpression5_es6.js +++ b/tests/baselines/reference/awaitCallExpression5_es6.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression5_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitCallExpression6_es2017.js b/tests/baselines/reference/awaitCallExpression6_es2017.js index 335ba9b533773..75815f9a72e3b 100644 --- a/tests/baselines/reference/awaitCallExpression6_es2017.js +++ b/tests/baselines/reference/awaitCallExpression6_es2017.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression6_es2017.js] +"use strict"; async function func() { before(); var b = o.fn(await p, a, a); diff --git a/tests/baselines/reference/awaitCallExpression6_es5.js b/tests/baselines/reference/awaitCallExpression6_es5.js index be9b5ed244d97..40517a1532b5e 100644 --- a/tests/baselines/reference/awaitCallExpression6_es5.js +++ b/tests/baselines/reference/awaitCallExpression6_es5.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression6_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b, _a, _b; diff --git a/tests/baselines/reference/awaitCallExpression6_es6.js b/tests/baselines/reference/awaitCallExpression6_es6.js index 08f5aed3bae1b..bd2b28411b4a8 100644 --- a/tests/baselines/reference/awaitCallExpression6_es6.js +++ b/tests/baselines/reference/awaitCallExpression6_es6.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression6_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitCallExpression7_es2017.js b/tests/baselines/reference/awaitCallExpression7_es2017.js index 297de57f614a3..c743bda9d213d 100644 --- a/tests/baselines/reference/awaitCallExpression7_es2017.js +++ b/tests/baselines/reference/awaitCallExpression7_es2017.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression7_es2017.js] +"use strict"; async function func() { before(); var b = o.fn(a, await p, a); diff --git a/tests/baselines/reference/awaitCallExpression7_es5.js b/tests/baselines/reference/awaitCallExpression7_es5.js index b6e6ac95d28b5..f591e050daaa9 100644 --- a/tests/baselines/reference/awaitCallExpression7_es5.js +++ b/tests/baselines/reference/awaitCallExpression7_es5.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression7_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b, _a, _b, _c; diff --git a/tests/baselines/reference/awaitCallExpression7_es6.js b/tests/baselines/reference/awaitCallExpression7_es6.js index b661dc26d320f..da957dc26b1a2 100644 --- a/tests/baselines/reference/awaitCallExpression7_es6.js +++ b/tests/baselines/reference/awaitCallExpression7_es6.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression7_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitCallExpression8_es2017.js b/tests/baselines/reference/awaitCallExpression8_es2017.js index b790da7663c09..156906f8b0635 100644 --- a/tests/baselines/reference/awaitCallExpression8_es2017.js +++ b/tests/baselines/reference/awaitCallExpression8_es2017.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression8_es2017.js] +"use strict"; async function func() { before(); var b = (await po).fn(a, a, a); diff --git a/tests/baselines/reference/awaitCallExpression8_es5.js b/tests/baselines/reference/awaitCallExpression8_es5.js index 5fcadfb65d87b..494488ee62b3d 100644 --- a/tests/baselines/reference/awaitCallExpression8_es5.js +++ b/tests/baselines/reference/awaitCallExpression8_es5.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression8_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var b; diff --git a/tests/baselines/reference/awaitCallExpression8_es6.js b/tests/baselines/reference/awaitCallExpression8_es6.js index aabb7a2d1764f..162987cc84139 100644 --- a/tests/baselines/reference/awaitCallExpression8_es6.js +++ b/tests/baselines/reference/awaitCallExpression8_es6.js @@ -16,6 +16,7 @@ async function func(): Promise { } //// [awaitCallExpression8_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { before(); diff --git a/tests/baselines/reference/awaitCallExpressionInSyncFunction.js b/tests/baselines/reference/awaitCallExpressionInSyncFunction.js index 1982c1a6b0dfa..e9c6b61a56377 100644 --- a/tests/baselines/reference/awaitCallExpressionInSyncFunction.js +++ b/tests/baselines/reference/awaitCallExpressionInSyncFunction.js @@ -8,6 +8,7 @@ function foo() { //// [awaitCallExpressionInSyncFunction.js] +"use strict"; function foo() { const foo = await(Promise.resolve(1)); return foo; diff --git a/tests/baselines/reference/awaitClassExpression_es2017.js b/tests/baselines/reference/awaitClassExpression_es2017.js index c063d02c8e60f..577cd436abe35 100644 --- a/tests/baselines/reference/awaitClassExpression_es2017.js +++ b/tests/baselines/reference/awaitClassExpression_es2017.js @@ -10,6 +10,7 @@ async function func(): Promise { } //// [awaitClassExpression_es2017.js] +"use strict"; async function func() { class D extends (await p) { } diff --git a/tests/baselines/reference/awaitClassExpression_es5.js b/tests/baselines/reference/awaitClassExpression_es5.js index 0ca60ff15829c..8d3f3966997c2 100644 --- a/tests/baselines/reference/awaitClassExpression_es5.js +++ b/tests/baselines/reference/awaitClassExpression_es5.js @@ -10,6 +10,7 @@ async function func(): Promise { } //// [awaitClassExpression_es5.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function () { var D, _a; diff --git a/tests/baselines/reference/awaitClassExpression_es6.js b/tests/baselines/reference/awaitClassExpression_es6.js index e8c6b88e4a3e3..2457fd6e1f483 100644 --- a/tests/baselines/reference/awaitClassExpression_es6.js +++ b/tests/baselines/reference/awaitClassExpression_es6.js @@ -10,6 +10,7 @@ async function func(): Promise { } //// [awaitClassExpression_es6.js] +"use strict"; function func() { return __awaiter(this, void 0, void 0, function* () { class D extends (yield p) { diff --git a/tests/baselines/reference/awaitExpressionInnerCommentEmit.js b/tests/baselines/reference/awaitExpressionInnerCommentEmit.js index a2a475643cb0c..2b60754ed9444 100644 --- a/tests/baselines/reference/awaitExpressionInnerCommentEmit.js +++ b/tests/baselines/reference/awaitExpressionInnerCommentEmit.js @@ -8,6 +8,7 @@ async function foo() { } //// [awaitExpressionInnerCommentEmit.js] +"use strict"; async function foo() { /*comment1*/ await 1; await /*comment2*/ 2; diff --git a/tests/baselines/reference/awaitInClassInAsyncFunction.js b/tests/baselines/reference/awaitInClassInAsyncFunction.js index 0fe81a619f8fa..2b816ea04262c 100644 --- a/tests/baselines/reference/awaitInClassInAsyncFunction.js +++ b/tests/baselines/reference/awaitInClassInAsyncFunction.js @@ -15,6 +15,7 @@ async function foo() { //// [awaitInClassInAsyncFunction.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/34887 async function bar() { return 2; diff --git a/tests/baselines/reference/awaitInheritedPromise_es2017.js b/tests/baselines/reference/awaitInheritedPromise_es2017.js index 4845410cd892b..4acf252095f9d 100644 --- a/tests/baselines/reference/awaitInheritedPromise_es2017.js +++ b/tests/baselines/reference/awaitInheritedPromise_es2017.js @@ -8,6 +8,7 @@ async function f() { } //// [awaitInheritedPromise_es2017.js] +"use strict"; async function f() { await a; } diff --git a/tests/baselines/reference/awaitLiteralValues.js b/tests/baselines/reference/awaitLiteralValues.js index 1d8959ea6d3f4..8d4308e2df74b 100644 --- a/tests/baselines/reference/awaitLiteralValues.js +++ b/tests/baselines/reference/awaitLiteralValues.js @@ -27,6 +27,7 @@ function awaitUndefined() { //// [awaitLiteralValues.js] +"use strict"; function awaitString() { yield 'literal'; } diff --git a/tests/baselines/reference/awaitUnionPromise.js b/tests/baselines/reference/awaitUnionPromise.js index 934de1582e59f..75eee5d1b5537 100644 --- a/tests/baselines/reference/awaitUnionPromise.js +++ b/tests/baselines/reference/awaitUnionPromise.js @@ -22,6 +22,7 @@ async function main() { //// [awaitUnionPromise.js] +"use strict"; // https://github.com/Microsoft/TypeScript/issues/18186 var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } diff --git a/tests/baselines/reference/awaitUnion_es5.js b/tests/baselines/reference/awaitUnion_es5.js index 110a56b0d46f6..c114c8d750523 100644 --- a/tests/baselines/reference/awaitUnion_es5.js +++ b/tests/baselines/reference/awaitUnion_es5.js @@ -15,6 +15,7 @@ async function f() { } //// [awaitUnion_es5.js] +"use strict"; function f() { return __awaiter(this, void 0, void 0, function () { var await_a, await_b, await_c, await_d, await_e; diff --git a/tests/baselines/reference/awaitUnion_es6.js b/tests/baselines/reference/awaitUnion_es6.js index 1402cf2bb3590..38dc9549848cf 100644 --- a/tests/baselines/reference/awaitUnion_es6.js +++ b/tests/baselines/reference/awaitUnion_es6.js @@ -15,6 +15,7 @@ async function f() { } //// [awaitUnion_es6.js] +"use strict"; function f() { return __awaiter(this, void 0, void 0, function* () { let await_a = yield a; diff --git a/tests/baselines/reference/awaitUsingDeclarations.12.js b/tests/baselines/reference/awaitUsingDeclarations.12.js index 32de989383c3c..7b30c19e5e2bd 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.12.js +++ b/tests/baselines/reference/awaitUsingDeclarations.12.js @@ -6,6 +6,7 @@ async function f() { } //// [awaitUsingDeclarations.12.js] +"use strict"; async function f() { await using x = {}; } diff --git a/tests/baselines/reference/awaitUsingDeclarations.13.js b/tests/baselines/reference/awaitUsingDeclarations.13.js index f8a1d89e9f2ee..720f20fc27e10 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.13.js +++ b/tests/baselines/reference/awaitUsingDeclarations.13.js @@ -8,6 +8,7 @@ function f() { } //// [awaitUsingDeclarations.13.js] +"use strict"; await using x = null; function f() { await using x = null; diff --git a/tests/baselines/reference/awaitUsingDeclarations.14.js b/tests/baselines/reference/awaitUsingDeclarations.14.js index 223c913e74869..59f37e14172b7 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.14.js +++ b/tests/baselines/reference/awaitUsingDeclarations.14.js @@ -12,6 +12,7 @@ class C { //// [awaitUsingDeclarations.14.js] +"use strict"; class C { static { await using x = null; diff --git a/tests/baselines/reference/awaitUsingDeclarations.15.js b/tests/baselines/reference/awaitUsingDeclarations.15.js index af20512995cc6..b11fad9e5b2b9 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.15.js +++ b/tests/baselines/reference/awaitUsingDeclarations.15.js @@ -6,6 +6,7 @@ async function f() { } //// [awaitUsingDeclarations.15.js] +"use strict"; async function f() { await using _ = { async [Symbol.asyncDispose]() { } }; } diff --git a/tests/baselines/reference/awaitUsingDeclarations.16.js b/tests/baselines/reference/awaitUsingDeclarations.16.js index 4f9c01e8e2895..a84941f0338d7 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.16.js +++ b/tests/baselines/reference/awaitUsingDeclarations.16.js @@ -12,3 +12,4 @@ declare module 'M' { //// [awaitUsingDeclarations.16.js] +"use strict"; diff --git a/tests/baselines/reference/awaitUsingDeclarations.7.js b/tests/baselines/reference/awaitUsingDeclarations.7.js index c409558f39f9e..e27a9c7b090a3 100644 --- a/tests/baselines/reference/awaitUsingDeclarations.7.js +++ b/tests/baselines/reference/awaitUsingDeclarations.7.js @@ -8,6 +8,7 @@ } //// [awaitUsingDeclarations.7.js] +"use strict"; { await using a = null, { b } = null, c = null; } diff --git a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2015).js b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2015).js index f1c9be674ccf5..ca7169b2821f2 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2015).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2015).js @@ -10,6 +10,7 @@ async function main() { } //// [awaitUsingDeclarationsInFor.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2017).js b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2017).js index b430e2684b316..ca5d9c15102f7 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2017).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2017).js @@ -10,6 +10,7 @@ async function main() { } //// [awaitUsingDeclarationsInFor.js] +"use strict"; var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2022).js b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2022).js index b430e2684b316..ca5d9c15102f7 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2022).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es2022).js @@ -10,6 +10,7 @@ async function main() { } //// [awaitUsingDeclarationsInFor.js] +"use strict"; var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).js b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).js index d8226409a5dac..dc7e5ad84cc20 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=es5).js @@ -10,6 +10,7 @@ async function main() { } //// [awaitUsingDeclarationsInFor.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=esnext).js b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=esnext).js index d7e96493ed8a3..53723ed304570 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInFor(target=esnext).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInFor(target=esnext).js @@ -10,6 +10,7 @@ async function main() { } //// [awaitUsingDeclarationsInFor.js] +"use strict"; async function main() { for (await using d1 = { [Symbol.dispose]() { } }, d2 = { async [Symbol.asyncDispose]() { } }, d3 = null, d4 = undefined;;) { } diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2015).js b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2015).js index aa6dd826bd543..cf078e423db72 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2015).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2015).js @@ -7,6 +7,7 @@ async function main() { } //// [awaitUsingDeclarationsInForAwaitOf.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2017).js b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2017).js index 18c95ea8e4fca..a1fbca94a7033 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2017).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2017).js @@ -7,6 +7,7 @@ async function main() { } //// [awaitUsingDeclarationsInForAwaitOf.js] +"use strict"; var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2022).js b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2022).js index ac74f897e702a..960ea670ef0bd 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2022).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es2022).js @@ -7,6 +7,7 @@ async function main() { } //// [awaitUsingDeclarationsInForAwaitOf.js] +"use strict"; var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).js b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).js index 4deda344151fc..ae21ea63dce7d 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=es5).js @@ -7,6 +7,7 @@ async function main() { } //// [awaitUsingDeclarationsInForAwaitOf.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=esnext).js b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=esnext).js index 454e995313d07..034537fc8dbfa 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=esnext).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf(target=esnext).js @@ -7,6 +7,7 @@ async function main() { } //// [awaitUsingDeclarationsInForAwaitOf.js] +"use strict"; async function main() { for await (await using d1 of [{ async [Symbol.asyncDispose]() { } }, { [Symbol.dispose]() { } }, null, undefined]) { } diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.2.js b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.2.js index 2c1883eb8b22a..b664bf2bd2719 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.2.js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForAwaitOf.2.js @@ -9,6 +9,7 @@ async function test() { //// [awaitUsingDeclarationsInForAwaitOf.2.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/55555 async function test() { for await (await using of of of) { } diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForIn.js b/tests/baselines/reference/awaitUsingDeclarationsInForIn.js index 60b8eecfdcdac..a896801194c4d 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForIn.js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForIn.js @@ -8,6 +8,7 @@ async function main() { //// [awaitUsingDeclarationsInForIn.js] +"use strict"; async function main() { for (await using x in {}) { } diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2015).js b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2015).js index 9ea879d8b742e..ba2af9ca2aed8 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2015).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2015).js @@ -8,6 +8,7 @@ async function main() { //// [awaitUsingDeclarationsInForOf.1.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2017).js b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2017).js index 4d81c8b1f5f5f..763fd7cb7dd12 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2017).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2017).js @@ -8,6 +8,7 @@ async function main() { //// [awaitUsingDeclarationsInForOf.1.js] +"use strict"; var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2022).js b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2022).js index 4d81c8b1f5f5f..763fd7cb7dd12 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2022).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es2022).js @@ -8,6 +8,7 @@ async function main() { //// [awaitUsingDeclarationsInForOf.1.js] +"use strict"; var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) { if (value !== null && value !== void 0) { if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected."); diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).js b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).js index b48951bbe6d5e..de4af47d79d03 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=es5).js @@ -8,6 +8,7 @@ async function main() { //// [awaitUsingDeclarationsInForOf.1.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=esnext).js b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=esnext).js index 28c6d451bf2ae..c732454b4bd2c 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=esnext).js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.1(target=esnext).js @@ -8,6 +8,7 @@ async function main() { //// [awaitUsingDeclarationsInForOf.1.js] +"use strict"; async function main() { for (await using d1 of [{ async [Symbol.asyncDispose]() { } }, { [Symbol.dispose]() { } }, null, undefined]) { } diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.2.js b/tests/baselines/reference/awaitUsingDeclarationsInForOf.2.js index be904e59dc1f7..611e025a4d951 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForOf.2.js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.2.js @@ -8,6 +8,7 @@ async function main() { //// [awaitUsingDeclarationsInForOf.2.js] +"use strict"; async function main() { for (await using of of []) { } diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.3.js b/tests/baselines/reference/awaitUsingDeclarationsInForOf.3.js index 0b25f1b2cb39e..b052e6c915b93 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForOf.3.js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.3.js @@ -8,6 +8,7 @@ async function main() { //// [awaitUsingDeclarationsInForOf.3.js] +"use strict"; async function main() { for (await using {} of []) { } diff --git a/tests/baselines/reference/awaitUsingDeclarationsInForOf.4.js b/tests/baselines/reference/awaitUsingDeclarationsInForOf.4.js index 5541669060c52..5344057daa0e5 100644 --- a/tests/baselines/reference/awaitUsingDeclarationsInForOf.4.js +++ b/tests/baselines/reference/awaitUsingDeclarationsInForOf.4.js @@ -9,6 +9,7 @@ //// [awaitUsingDeclarationsInForOf.4.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/55555 { for (await using of of of) { } diff --git a/tests/baselines/reference/await_unaryExpression_es2017.js b/tests/baselines/reference/await_unaryExpression_es2017.js index 320795458eaaa..97e1aa0dbfdbd 100644 --- a/tests/baselines/reference/await_unaryExpression_es2017.js +++ b/tests/baselines/reference/await_unaryExpression_es2017.js @@ -18,6 +18,7 @@ async function bar4() { } //// [await_unaryExpression_es2017.js] +"use strict"; async function bar() { !await 42; // OK } diff --git a/tests/baselines/reference/await_unaryExpression_es2017_1.js b/tests/baselines/reference/await_unaryExpression_es2017_1.js index 5d6dc238e16af..fdef411b847e9 100644 --- a/tests/baselines/reference/await_unaryExpression_es2017_1.js +++ b/tests/baselines/reference/await_unaryExpression_es2017_1.js @@ -22,6 +22,7 @@ async function bar4() { } //// [await_unaryExpression_es2017_1.js] +"use strict"; async function bar() { !await 42; // OK } diff --git a/tests/baselines/reference/await_unaryExpression_es2017_2.js b/tests/baselines/reference/await_unaryExpression_es2017_2.js index 2b3aaf1d3af8c..06fbed9bb3ac0 100644 --- a/tests/baselines/reference/await_unaryExpression_es2017_2.js +++ b/tests/baselines/reference/await_unaryExpression_es2017_2.js @@ -14,6 +14,7 @@ async function bar3() { } //// [await_unaryExpression_es2017_2.js] +"use strict"; async function bar1() { delete await 42; } diff --git a/tests/baselines/reference/await_unaryExpression_es2017_3.js b/tests/baselines/reference/await_unaryExpression_es2017_3.js index f7e57dbda8159..1581f42c69171 100644 --- a/tests/baselines/reference/await_unaryExpression_es2017_3.js +++ b/tests/baselines/reference/await_unaryExpression_es2017_3.js @@ -20,6 +20,7 @@ async function bar4() { } //// [await_unaryExpression_es2017_3.js] +"use strict"; async function bar1() { ++; await 42; // Error diff --git a/tests/baselines/reference/await_unaryExpression_es6.js b/tests/baselines/reference/await_unaryExpression_es6.js index 7c202885a4187..66a8de7744e73 100644 --- a/tests/baselines/reference/await_unaryExpression_es6.js +++ b/tests/baselines/reference/await_unaryExpression_es6.js @@ -18,6 +18,7 @@ async function bar4() { } //// [await_unaryExpression_es6.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/await_unaryExpression_es6_1.js b/tests/baselines/reference/await_unaryExpression_es6_1.js index 7c10722aa1990..da1456efe50d1 100644 --- a/tests/baselines/reference/await_unaryExpression_es6_1.js +++ b/tests/baselines/reference/await_unaryExpression_es6_1.js @@ -22,6 +22,7 @@ async function bar4() { } //// [await_unaryExpression_es6_1.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/await_unaryExpression_es6_2.js b/tests/baselines/reference/await_unaryExpression_es6_2.js index 983fae901d339..f21bc2c9c7552 100644 --- a/tests/baselines/reference/await_unaryExpression_es6_2.js +++ b/tests/baselines/reference/await_unaryExpression_es6_2.js @@ -14,6 +14,7 @@ async function bar3() { } //// [await_unaryExpression_es6_2.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/await_unaryExpression_es6_3.js b/tests/baselines/reference/await_unaryExpression_es6_3.js index d0c5145775e44..e2aa51a1f76b7 100644 --- a/tests/baselines/reference/await_unaryExpression_es6_3.js +++ b/tests/baselines/reference/await_unaryExpression_es6_3.js @@ -20,6 +20,7 @@ async function bar4() { } //// [await_unaryExpression_es6_3.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/awaitedType.js b/tests/baselines/reference/awaitedType.js index d0d5da213a9d6..c5be249f98cdb 100644 --- a/tests/baselines/reference/awaitedType.js +++ b/tests/baselines/reference/awaitedType.js @@ -255,6 +255,7 @@ async function test40330() { //// [awaitedType.js] +"use strict"; async function main() { let aaa; let bbb; diff --git a/tests/baselines/reference/awaitedTypeCrash.js b/tests/baselines/reference/awaitedTypeCrash.js index 5f662c946231a..987bdb080057b 100644 --- a/tests/baselines/reference/awaitedTypeCrash.js +++ b/tests/baselines/reference/awaitedTypeCrash.js @@ -5,5 +5,6 @@ async function* f>(): AsyncGenerator { } //// [awaitedTypeCrash.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/51984 async function* f() { } diff --git a/tests/baselines/reference/awaitedTypeJQuery.js b/tests/baselines/reference/awaitedTypeJQuery.js index fa1b0ac2e6268..17cd32a1692b8 100644 --- a/tests/baselines/reference/awaitedTypeJQuery.js +++ b/tests/baselines/reference/awaitedTypeJQuery.js @@ -128,4 +128,5 @@ interface Promise3>; // string //// [awaitedTypeJQuery.js] +"use strict"; /// diff --git a/tests/baselines/reference/awaitedTypeNoLib.js b/tests/baselines/reference/awaitedTypeNoLib.js index 6a80032cd56da..56998fe3e423f 100644 --- a/tests/baselines/reference/awaitedTypeNoLib.js +++ b/tests/baselines/reference/awaitedTypeNoLib.js @@ -29,6 +29,7 @@ class Thenable { } //// [awaitedTypeNoLib.js] +"use strict"; var Thenable = /** @class */ (function () { function Thenable() { } diff --git a/tests/baselines/reference/awaitedTypeStrictNull.js b/tests/baselines/reference/awaitedTypeStrictNull.js index 09ca8d5b64302..5ed472199db4f 100644 --- a/tests/baselines/reference/awaitedTypeStrictNull.js +++ b/tests/baselines/reference/awaitedTypeStrictNull.js @@ -69,6 +69,7 @@ type _Expect = TActual; //// [awaitedTypeStrictNull.js] +"use strict"; async function main() { let aaa; let bbb; diff --git a/tests/baselines/reference/badArrayIndex.js b/tests/baselines/reference/badArrayIndex.js index 0f525d088e1c0..3aa9c41b2bf70 100644 --- a/tests/baselines/reference/badArrayIndex.js +++ b/tests/baselines/reference/badArrayIndex.js @@ -4,4 +4,5 @@ var results = number[]; //// [badArrayIndex.js] +"use strict"; var results = number[]; diff --git a/tests/baselines/reference/badArraySyntax.js b/tests/baselines/reference/badArraySyntax.js index 41fac3d3d40ef..4c444b0c54d00 100644 --- a/tests/baselines/reference/badArraySyntax.js +++ b/tests/baselines/reference/badArraySyntax.js @@ -14,6 +14,7 @@ var a6: Z[][] = new Z [ ] [ ]; //// [badArraySyntax.js] +"use strict"; var Z = /** @class */ (function () { function Z() { this.x = ""; diff --git a/tests/baselines/reference/badInferenceLowerPriorityThanGoodInference.js b/tests/baselines/reference/badInferenceLowerPriorityThanGoodInference.js index 483914e932d5b..998ba3e7cdbdb 100644 --- a/tests/baselines/reference/badInferenceLowerPriorityThanGoodInference.js +++ b/tests/baselines/reference/badInferenceLowerPriorityThanGoodInference.js @@ -26,6 +26,7 @@ goofus((a: string) => ({ dog: function() { return a; } })); //// [badInferenceLowerPriorityThanGoodInference.js] +"use strict"; // Repro from #13118 var result = canYouInferThis(function () { return ({ a: { BLAH: 33 }, diff --git a/tests/baselines/reference/badOverloadError.js b/tests/baselines/reference/badOverloadError.js index d57523ab7ffe7..4524a0ebe2bb3 100644 --- a/tests/baselines/reference/badOverloadError.js +++ b/tests/baselines/reference/badOverloadError.js @@ -7,6 +7,7 @@ function method() { //// [badOverloadError.js] +"use strict"; function method() { var dictionary = {}; } diff --git a/tests/baselines/reference/badThisBinding.js b/tests/baselines/reference/badThisBinding.js index 1f7dcb83bf6a9..715eed7e3a7c1 100644 --- a/tests/baselines/reference/badThisBinding.js +++ b/tests/baselines/reference/badThisBinding.js @@ -16,6 +16,7 @@ class Greeter { } //// [badThisBinding.js] +"use strict"; var Greeter = /** @class */ (function () { function Greeter() { var _this = this; diff --git a/tests/baselines/reference/baseCheck.js b/tests/baselines/reference/baseCheck.js index 5299d685971d5..127924b3d1d37 100644 --- a/tests/baselines/reference/baseCheck.js +++ b/tests/baselines/reference/baseCheck.js @@ -32,6 +32,7 @@ function f() { //// [baseCheck.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/baseClassImprovedMismatchErrors.js b/tests/baselines/reference/baseClassImprovedMismatchErrors.js index 6ce02320797a8..9311ac79adf74 100644 --- a/tests/baselines/reference/baseClassImprovedMismatchErrors.js +++ b/tests/baselines/reference/baseClassImprovedMismatchErrors.js @@ -21,6 +21,7 @@ class DerivedInterface implements Base { } //// [baseClassImprovedMismatchErrors.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/baseExpressionTypeParameters.js b/tests/baselines/reference/baseExpressionTypeParameters.js index f8959445f1c2d..b05e22efaf969 100644 --- a/tests/baselines/reference/baseExpressionTypeParameters.js +++ b/tests/baselines/reference/baseExpressionTypeParameters.js @@ -16,6 +16,7 @@ class Spec extends Gen {} Spec.prop; //// [baseExpressionTypeParameters.js] +"use strict"; // Repro from #17829 var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/baseIndexSignatureResolution.js b/tests/baselines/reference/baseIndexSignatureResolution.js index a03ad13610d3a..744e4b9aadc88 100644 --- a/tests/baselines/reference/baseIndexSignatureResolution.js +++ b/tests/baselines/reference/baseIndexSignatureResolution.js @@ -27,6 +27,7 @@ var z: Derived = b.foo(); */ //// [baseIndexSignatureResolution.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/baseTypeAfterDerivedType.js b/tests/baselines/reference/baseTypeAfterDerivedType.js index 133fd2596abf5..be62420c28c2f 100644 --- a/tests/baselines/reference/baseTypeAfterDerivedType.js +++ b/tests/baselines/reference/baseTypeAfterDerivedType.js @@ -19,6 +19,7 @@ interface Base2 { //// [baseTypeAfterDerivedType.js] +"use strict"; var Derived2 = /** @class */ (function () { function Derived2() { } diff --git a/tests/baselines/reference/baseTypeOrderChecking.js b/tests/baselines/reference/baseTypeOrderChecking.js index 00abe8514d64b..1bcf9b4e86601 100644 --- a/tests/baselines/reference/baseTypeOrderChecking.js +++ b/tests/baselines/reference/baseTypeOrderChecking.js @@ -39,6 +39,7 @@ class Class4 extends Class3 //// [baseTypeOrderChecking.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/baseTypePrivateMemberClash.js b/tests/baselines/reference/baseTypePrivateMemberClash.js index b2f1be7840f3b..99c6ae3a78d8f 100644 --- a/tests/baselines/reference/baseTypePrivateMemberClash.js +++ b/tests/baselines/reference/baseTypePrivateMemberClash.js @@ -11,6 +11,7 @@ class Y { interface Z extends X, Y { } //// [baseTypePrivateMemberClash.js] +"use strict"; var X = /** @class */ (function () { function X() { } diff --git a/tests/baselines/reference/baseTypeWrappingInstantiationChain.js b/tests/baselines/reference/baseTypeWrappingInstantiationChain.js index b891dadaa8dc5..c335db529ff70 100644 --- a/tests/baselines/reference/baseTypeWrappingInstantiationChain.js +++ b/tests/baselines/reference/baseTypeWrappingInstantiationChain.js @@ -30,6 +30,7 @@ class C extends CBase { //// [baseTypeWrappingInstantiationChain.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/bases.js b/tests/baselines/reference/bases.js index 96f8aaca36b55..2729d6befc9a0 100644 --- a/tests/baselines/reference/bases.js +++ b/tests/baselines/reference/bases.js @@ -23,6 +23,7 @@ new C().y; //// [bases.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/bestChoiceType.js b/tests/baselines/reference/bestChoiceType.js index 39ec75f58309b..5635937485f51 100644 --- a/tests/baselines/reference/bestChoiceType.js +++ b/tests/baselines/reference/bestChoiceType.js @@ -21,6 +21,7 @@ function f2() { //// [bestChoiceType.js] +"use strict"; // Repro from #10041 (''.match(/ /) || []).map(function (s) { return s.toLowerCase(); }); // Similar cases diff --git a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.js b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.js index d62c0769bfb25..8a67475549618 100644 --- a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.js +++ b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions.js @@ -29,6 +29,7 @@ function foo5(t: T, u: U): Object { } //// [bestCommonTypeOfConditionalExpressions.js] +"use strict"; // conditional expressions return the best common type of the branches plus contextual type (using the first candidate if multiple BCTs exist) // no errors expected here var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.js b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.js index f25d2bb5d6f2f..0a64536453a56 100644 --- a/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.js +++ b/tests/baselines/reference/bestCommonTypeOfConditionalExpressions2.js @@ -27,6 +27,7 @@ function foo3(t: T, u: U) { } //// [bestCommonTypeOfConditionalExpressions2.js] +"use strict"; // conditional expressions return the best common type of the branches plus contextual type (using the first candidate if multiple BCTs exist) // these are errors var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/bestCommonTypeOfTuple.js b/tests/baselines/reference/bestCommonTypeOfTuple.js index 9a5db94da9f7e..3aa2bab4bb81f 100644 --- a/tests/baselines/reference/bestCommonTypeOfTuple.js +++ b/tests/baselines/reference/bestCommonTypeOfTuple.js @@ -28,6 +28,7 @@ var e3 = t3[2]; // any var e4 = t4[3]; // number //// [bestCommonTypeOfTuple.js] +"use strict"; function f1(x) { return "foo"; } function f2(x) { return 10; } function f3(x) { return true; } diff --git a/tests/baselines/reference/bestCommonTypeOfTuple2.js b/tests/baselines/reference/bestCommonTypeOfTuple2.js index 2c4fa73218404..4292e5048af59 100644 --- a/tests/baselines/reference/bestCommonTypeOfTuple2.js +++ b/tests/baselines/reference/bestCommonTypeOfTuple2.js @@ -25,6 +25,7 @@ var e51 = t5[2]; // {} //// [bestCommonTypeOfTuple2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/bestCommonTypeReturnStatement.js b/tests/baselines/reference/bestCommonTypeReturnStatement.js index 15d0a79925bfc..038a200f9423c 100644 --- a/tests/baselines/reference/bestCommonTypeReturnStatement.js +++ b/tests/baselines/reference/bestCommonTypeReturnStatement.js @@ -15,6 +15,7 @@ function b(): IPromise { return null; } function d(): IPromise { return null; } //// [bestCommonTypeReturnStatement.js] +"use strict"; function f() { if (true) return b(); diff --git a/tests/baselines/reference/bestCommonTypeWithContextualTyping.js b/tests/baselines/reference/bestCommonTypeWithContextualTyping.js index 4ce6071619817..3eb18c5763db7 100644 --- a/tests/baselines/reference/bestCommonTypeWithContextualTyping.js +++ b/tests/baselines/reference/bestCommonTypeWithContextualTyping.js @@ -23,6 +23,7 @@ var conditional: Contextual = null ? e : e; // Ellement var contextualOr: Contextual = e || e; // Ellement //// [bestCommonTypeWithContextualTyping.js] +"use strict"; // All of these should pass. Neither type is a supertype of the other, but the RHS should // always use Ellement in these examples (not Contextual). Because Ellement is assignable // to Contextual, no errors. diff --git a/tests/baselines/reference/bestCommonTypeWithOptionalProperties.js b/tests/baselines/reference/bestCommonTypeWithOptionalProperties.js index ad717910dc9e2..9ecb6f383722f 100644 --- a/tests/baselines/reference/bestCommonTypeWithOptionalProperties.js +++ b/tests/baselines/reference/bestCommonTypeWithOptionalProperties.js @@ -18,6 +18,7 @@ var b5 = [z, x, y]; var b6 = [z, y, x]; //// [bestCommonTypeWithOptionalProperties.js] +"use strict"; var x; var y; var z; diff --git a/tests/baselines/reference/betterErrorForAccidentalCall.js b/tests/baselines/reference/betterErrorForAccidentalCall.js index e22336056f36d..492580b95be5b 100644 --- a/tests/baselines/reference/betterErrorForAccidentalCall.js +++ b/tests/baselines/reference/betterErrorForAccidentalCall.js @@ -18,6 +18,7 @@ foo() //// [betterErrorForAccidentalCall.js] +"use strict"; foo()(1).toString(); foo()(1).toString(); foo()(1).toString(); diff --git a/tests/baselines/reference/betterErrorForUnionCall.js b/tests/baselines/reference/betterErrorForUnionCall.js index 18a0a18117a61..579c5854ea2ce 100644 --- a/tests/baselines/reference/betterErrorForUnionCall.js +++ b/tests/baselines/reference/betterErrorForUnionCall.js @@ -12,6 +12,7 @@ fnUnion2(""); //// [betterErrorForUnionCall.js] +"use strict"; union(""); fnUnion(""); fnUnion2(""); diff --git a/tests/baselines/reference/bigIntWithTargetES2016.js b/tests/baselines/reference/bigIntWithTargetES2016.js index 16de875074f1a..f3c43ab2809e7 100644 --- a/tests/baselines/reference/bigIntWithTargetES2016.js +++ b/tests/baselines/reference/bigIntWithTargetES2016.js @@ -8,6 +8,7 @@ num **= BigInt(2); // should not error //// [bigIntWithTargetES2016.js] +"use strict"; BigInt(1) ** BigInt(1); // should not error let num = BigInt(2); num **= BigInt(2); // should not error diff --git a/tests/baselines/reference/bigIntWithTargetLessThanES2016.js b/tests/baselines/reference/bigIntWithTargetLessThanES2016.js index f8266ae31f79c..5699346b8e0ff 100644 --- a/tests/baselines/reference/bigIntWithTargetLessThanES2016.js +++ b/tests/baselines/reference/bigIntWithTargetLessThanES2016.js @@ -8,6 +8,7 @@ foo **= BigInt(2); // should error //// [bigIntWithTargetLessThanES2016.js] +"use strict"; Math.pow(BigInt(1), BigInt(1)); // should error let foo = BigInt(2); foo = Math.pow(foo, BigInt(2)); // should error diff --git a/tests/baselines/reference/bigint64ArraySubarray.js b/tests/baselines/reference/bigint64ArraySubarray.js index 14b75c4cd9eaf..7b605405c9e27 100644 --- a/tests/baselines/reference/bigint64ArraySubarray.js +++ b/tests/baselines/reference/bigint64ArraySubarray.js @@ -10,6 +10,7 @@ function bigInt64ArraySubarray() { //// [bigint64ArraySubarray.js] +"use strict"; function bigInt64ArraySubarray() { var arr = new BigInt64Array(10); arr.subarray(); diff --git a/tests/baselines/reference/bigintAmbientMinimal.js b/tests/baselines/reference/bigintAmbientMinimal.js index d2147fb7d30fb..ae3c3f282fbcd 100644 --- a/tests/baselines/reference/bigintAmbientMinimal.js +++ b/tests/baselines/reference/bigintAmbientMinimal.js @@ -14,5 +14,6 @@ declare const n = 123n; const regular = 456n; //// [main.js] +"use strict"; // Non-ambient for comparison var regular = 456n; diff --git a/tests/baselines/reference/bigintIndex.js b/tests/baselines/reference/bigintIndex.js index 0ee392380df41..0024d0456dda4 100644 --- a/tests/baselines/reference/bigintIndex.js +++ b/tests/baselines/reference/bigintIndex.js @@ -27,6 +27,7 @@ typedArray[2] = 0xCC; //// [a.js] +"use strict"; const arr = [1, 2, 3]; let num = arr[1]; num = arr["1"]; diff --git a/tests/baselines/reference/bigintMissingES2019.js b/tests/baselines/reference/bigintMissingES2019.js index b8faa1b7a8df5..42b258c404ec1 100644 --- a/tests/baselines/reference/bigintMissingES2019.js +++ b/tests/baselines/reference/bigintMissingES2019.js @@ -10,6 +10,7 @@ test<{t?: string}, bigint>(); //// [bigintMissingES2019.js] +"use strict"; test(); test(); // no error when bigint is used even when ES2020 lib is not present diff --git a/tests/baselines/reference/bigintMissingES2020.js b/tests/baselines/reference/bigintMissingES2020.js index 593123c9694d0..586e6c9808cbd 100644 --- a/tests/baselines/reference/bigintMissingES2020.js +++ b/tests/baselines/reference/bigintMissingES2020.js @@ -10,6 +10,7 @@ test<{t?: string}, bigint>(); //// [bigintMissingES2020.js] +"use strict"; test(); test(); // no error when bigint is used even when ES2020 lib is not present diff --git a/tests/baselines/reference/bigintMissingESNext.js b/tests/baselines/reference/bigintMissingESNext.js index ee19515847b21..44420f62c4755 100644 --- a/tests/baselines/reference/bigintMissingESNext.js +++ b/tests/baselines/reference/bigintMissingESNext.js @@ -10,6 +10,7 @@ test<{t?: string}, bigint>(); //// [bigintMissingESNext.js] +"use strict"; test(); test(); // no error when bigint is used even when ES2020 lib is not present diff --git a/tests/baselines/reference/bigintPropertyName.js b/tests/baselines/reference/bigintPropertyName.js index baf37339f1b7d..460e81e39139e 100644 --- a/tests/baselines/reference/bigintPropertyName.js +++ b/tests/baselines/reference/bigintPropertyName.js @@ -60,6 +60,7 @@ type T = { [t in Q]: string }; //// [a.js] +"use strict"; // BigInt cannot be used as an object literal property { ({ 1n: 123 }); @@ -76,6 +77,7 @@ const { 0n: f } = arr; // bigint should give an index error // BigInt cannot be used as an property name const x = { 0n: 123 }; //// [g.js] +"use strict"; class K { 4n = 0; } @@ -101,3 +103,4 @@ l2[5n]; g; .2n; // not valid JS //// [q.js] +"use strict"; diff --git a/tests/baselines/reference/bigintWithLib.js b/tests/baselines/reference/bigintWithLib.js index 18d7e410ee900..8141e335c605e 100644 --- a/tests/baselines/reference/bigintWithLib.js +++ b/tests/baselines/reference/bigintWithLib.js @@ -64,6 +64,7 @@ new Intl.NumberFormat("fr").format(bigintVal); //// [bigintWithLib.js] +"use strict"; // Test BigInt functions let bigintVal = BigInt(123); bigintVal = BigInt("456"); diff --git a/tests/baselines/reference/bigintWithoutLib.js b/tests/baselines/reference/bigintWithoutLib.js index de6a8f3d2e38d..81165f07c38eb 100644 --- a/tests/baselines/reference/bigintWithoutLib.js +++ b/tests/baselines/reference/bigintWithoutLib.js @@ -60,6 +60,7 @@ new Intl.NumberFormat("fr").format(bigintVal); //// [bigintWithoutLib.js] +"use strict"; // Every line should error because these builtins are not declared // Test BigInt functions var bigintVal = BigInt(123); diff --git a/tests/baselines/reference/binaryArithmatic1.js b/tests/baselines/reference/binaryArithmatic1.js index 7cfaa3d3f3be1..a716ada4cffa0 100644 --- a/tests/baselines/reference/binaryArithmatic1.js +++ b/tests/baselines/reference/binaryArithmatic1.js @@ -4,4 +4,5 @@ var v = 4 | null; //// [binaryArithmatic1.js] +"use strict"; var v = 4 | null; diff --git a/tests/baselines/reference/binaryArithmatic2.js b/tests/baselines/reference/binaryArithmatic2.js index 244fc6f91142b..4843afb20240c 100644 --- a/tests/baselines/reference/binaryArithmatic2.js +++ b/tests/baselines/reference/binaryArithmatic2.js @@ -4,4 +4,5 @@ var v = 4 | undefined; //// [binaryArithmatic2.js] +"use strict"; var v = 4 | undefined; diff --git a/tests/baselines/reference/binaryArithmatic3.js b/tests/baselines/reference/binaryArithmatic3.js index e2349b569f1f7..3d0f084b4679a 100644 --- a/tests/baselines/reference/binaryArithmatic3.js +++ b/tests/baselines/reference/binaryArithmatic3.js @@ -4,4 +4,5 @@ var v = undefined | undefined; //// [binaryArithmatic3.js] +"use strict"; var v = undefined | undefined; diff --git a/tests/baselines/reference/binaryArithmatic4.js b/tests/baselines/reference/binaryArithmatic4.js index 1bf696ddef33f..a3dc0cac94524 100644 --- a/tests/baselines/reference/binaryArithmatic4.js +++ b/tests/baselines/reference/binaryArithmatic4.js @@ -4,4 +4,5 @@ var v = null | null; //// [binaryArithmatic4.js] +"use strict"; var v = null | null; diff --git a/tests/baselines/reference/binaryIntegerLiteral.js b/tests/baselines/reference/binaryIntegerLiteral.js index da55042b1a984..7ced848a14c05 100644 --- a/tests/baselines/reference/binaryIntegerLiteral.js +++ b/tests/baselines/reference/binaryIntegerLiteral.js @@ -45,6 +45,7 @@ obj2["Infinity"]; // any //// [binaryIntegerLiteral.js] +"use strict"; var bin1 = 26; var bin2 = 26; var bin3 = 9.671406556917009e+24; diff --git a/tests/baselines/reference/binaryIntegerLiteralES6.js b/tests/baselines/reference/binaryIntegerLiteralES6.js index f5f939072bc37..495479b362042 100644 --- a/tests/baselines/reference/binaryIntegerLiteralES6.js +++ b/tests/baselines/reference/binaryIntegerLiteralES6.js @@ -46,6 +46,7 @@ obj2["Infinity"]; // any //// [binaryIntegerLiteralES6.js] +"use strict"; var bin1 = 0b11010; var bin2 = 0B11010; var bin3 = 0B11111111111111111111111111111111111111111111111101001010100000010111110001111111111; diff --git a/tests/baselines/reference/binaryIntegerLiteralError.js b/tests/baselines/reference/binaryIntegerLiteralError.js index b46f6a1216748..b35924f48210e 100644 --- a/tests/baselines/reference/binaryIntegerLiteralError.js +++ b/tests/baselines/reference/binaryIntegerLiteralError.js @@ -13,6 +13,7 @@ var obj1 = { //// [binaryIntegerLiteralError.js] +"use strict"; // error var bin1 = 6; 2110; diff --git a/tests/baselines/reference/bind1.js b/tests/baselines/reference/bind1.js index 0bbd6f903283b..b9bbd8cfb795e 100644 --- a/tests/baselines/reference/bind1.js +++ b/tests/baselines/reference/bind1.js @@ -8,6 +8,7 @@ namespace M { //// [bind1.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/bind2.js b/tests/baselines/reference/bind2.js index f249ef1ea1850..f948d1ccfe36a 100644 --- a/tests/baselines/reference/bind2.js +++ b/tests/baselines/reference/bind2.js @@ -4,3 +4,4 @@ //// [bind2.js] +"use strict"; diff --git a/tests/baselines/reference/binderBinaryExpressionStress.js b/tests/baselines/reference/binderBinaryExpressionStress.js index de9f50ecedfae..45fd955c280a5 100644 --- a/tests/baselines/reference/binderBinaryExpressionStress.js +++ b/tests/baselines/reference/binderBinaryExpressionStress.js @@ -4972,6 +4972,7 @@ var caps = //// [binderBinaryExpressionStress.js] +"use strict"; 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + 11 + 12 + 13 + 14 + 15 + 16 + 17 + 18 + 19 + 20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29 + 30 + 31 + 32 + 33 + 34 + 35 + 36 + 37 + 38 + 39 + 40 + 41 + 42 + 43 + 44 + 45 + 46 + 47 + 48 + 49 + 50 + 51 + 52 + 53 + 54 + 55 + 56 + 57 + 58 + 59 + 60 + 61 + 62 + 63 + 64 + 65 + 66 + 67 + 68 + 69 + 70 + 71 + 72 + 73 + 74 + 75 + 76 + 77 + 78 + 79 + 80 + 81 + 82 + 83 + 84 + 85 + 86 + 87 + 88 + 89 + 90 + 91 + 92 + 93 + 94 + 95 + 96 + 97 + 98 + 99 + 100 + 101 + 102 + 103 + 104 + 105 + 106 + 107 + 108 + 109 + 110 + 111 + 112 + 113 + 114 + 115 + 116 + 117 + 118 + 119 + 120 + 121 + 122 + 123 + 124 + 125 + 126 + 127 + 128 + 129 + 130 + 131 + 132 + 133 + 134 + 135 + 136 + 137 + 138 + 139 + 140 + 141 + 142 + 143 + 144 + 145 + 146 + 147 + 148 + 149 + 150 + 151 + 152 + 153 + 154 + 155 + 156 + 157 + 158 + 159 + 160 + 161 + 162 + 163 + 164 + 165 + 166 + 167 + 168 + 169 + 170 + 171 + 172 + 173 + 174 + 175 + 176 + 177 + 178 + 179 + 180 + 181 + 182 + 183 + 184 + 185 + 186 + 187 + 188 + 189 + 190 + 191 + 192 + 193 + 194 + 195 + 196 + 197 + 198 + 199 + 200 + 201 + 202 + 203 + 204 + 205 + 206 + 207 + 208 + 209 + 210 + 211 + 212 + 213 + 214 + 215 + 216 + 217 + 218 + 219 + 220 + 221 + 222 + 223 + 224 + 225 + 226 + 227 + 228 + 229 + 230 + 231 + 232 + 233 + 234 + 235 + 236 + 237 + 238 + 239 + 240 + 241 + 242 + 243 + 244 + 245 + 246 + 247 + 248 + 249 + 250 + 251 + 252 + 253 + 254 + 255 + 256 + 257 + 258 + 259 + 260 + 261 + 262 + 263 + 264 + 265 + 266 + 267 + 268 + 269 + 270 + 271 + 272 + 273 + 274 + 275 + 276 + 277 + 278 + 279 + 280 + 281 + 282 + 283 + 284 + 285 + 286 + 287 + 288 + 289 + 290 + 291 + 292 + 293 + 294 + 295 + 296 + 297 + 298 + 299 + 300 + 301 + 302 + 303 + 304 + 305 + 306 + 307 + 308 + 309 + 310 + 311 + 312 + 313 + 314 + 315 + 316 + 317 + 318 + 319 + 320 + 321 + 322 + 323 + 324 + 325 + 326 + 327 + 328 + 329 + 330 + 331 + 332 + 333 + 334 + 335 + 336 + 337 + 338 + 339 + 340 + 341 + 342 + 343 + 344 + 345 + 346 + 347 + 348 + 349 + 350 + 351 + 352 + 353 + 354 + 355 + 356 + 357 + 358 + 359 + 360 + 361 + 362 + 363 + 364 + 365 + 366 + 367 + 368 + 369 + 370 + 371 + 372 + 373 + 374 + 375 + 376 + 377 + 378 + 379 + 380 + 381 + 382 + 383 + 384 + 385 + 386 + 387 + 388 + 389 + 390 + 391 + 392 + 393 + 394 + 395 + 396 + 397 + 398 + 399 + 400 + 401 + 402 + 403 + 404 + 405 + 406 + 407 + 408 + 409 + 410 + 411 + 412 + 413 + 414 + 415 + 416 + 417 + 418 + 419 + 420 + 421 + 422 + 423 + 424 + 425 + 426 + 427 + 428 + 429 + 430 + 431 + 432 + 433 + 434 + 435 + 436 + 437 + 438 + 439 + 440 + 441 + 442 + 443 + 444 + 445 + 446 + 447 + 448 + 449 + 450 + 451 + 452 + 453 + 454 + 455 + 456 + 457 + 458 + 459 + 460 + 461 + 462 + 463 + 464 + 465 + 466 + 467 + 468 + 469 + 470 + 471 + 472 + 473 + 474 + 475 + 476 + 477 + 478 + 479 + 480 + 481 + 482 + 483 + 484 + 485 + 486 + 487 + 488 + 489 + 490 + 491 + 492 + 493 + 494 + 495 + 496 + 497 + 498 + 499 + 500 + 501 + 502 + 503 + 504 + 505 + 506 + 507 + 508 + 509 + 510 + 511 + 512 + 513 + 514 + 515 + 516 + 517 + 518 + 519 + 520 + 521 + 522 + 523 + 524 + 525 + 526 + 527 + 528 + 529 + 530 + 531 + 532 + 533 + 534 + 535 + 536 + 537 + 538 + 539 + 540 + 541 + 542 + 543 + 544 + 545 + 546 + 547 + 548 + 549 + 550 + 551 + 552 + 553 + 554 + 555 + 556 + 557 + 558 + 559 + 560 + 561 + 562 + 563 + 564 + 565 + 566 + 567 + 568 + 569 + 570 + 571 + 572 + 573 + 574 + 575 + 576 + 577 + 578 + 579 + 580 + 581 + 582 + 583 + 584 + 585 + 586 + 587 + 588 + 589 + 590 + 591 + 592 + 593 + 594 + 595 + 596 + 597 + 598 + 599 + 600 + 601 + 602 + 603 + 604 + 605 + 606 + 607 + 608 + 609 + 610 + 611 + 612 + 613 + 614 + 615 + 616 + 617 + 618 + 619 + 620 + 621 + 622 + 623 + 624 + 625 + 626 + 627 + 628 + 629 + 630 + 631 + 632 + 633 + 634 + 635 + 636 + 637 + 638 + 639 + 640 + 641 + 642 + 643 + 644 + 645 + 646 + 647 + 648 + 649 + 650 + 651 + 652 + 653 + 654 + 655 + 656 + 657 + 658 + 659 + 660 + 661 + 662 + 663 + 664 + 665 + 666 + 667 + 668 + 669 + 670 + 671 + 672 + 673 + 674 + 675 + 676 + 677 + 678 + 679 + 680 + 681 + 682 + 683 + 684 + 685 + 686 + 687 + 688 + 689 + 690 + 691 + 692 + 693 + 694 + 695 + 696 + 697 + 698 + 699 + 700 + 701 + 702 + 703 + 704 + 705 + 706 + 707 + 708 + 709 + 710 + 711 + 712 + 713 + 714 + 715 + 716 + 717 + 718 + 719 + 720 + 721 + 722 + 723 + 724 + 725 + 726 + 727 + 728 + 729 + 730 + 731 + 732 + 733 + 734 + 735 + 736 + 737 + 738 + 739 + 740 + 741 + 742 + 743 + 744 + 745 + 746 + 747 + 748 + 749 + 750 + 751 + 752 + 753 + 754 + 755 + 756 + 757 + 758 + 759 + 760 + 761 + 762 + 763 + 764 + 765 + 766 + 767 + 768 + 769 + 770 + 771 + 772 + 773 + 774 + 775 + 776 + 777 + 778 + 779 + 780 + 781 + 782 + 783 + 784 + 785 + 786 + 787 + 788 + 789 + 790 + 791 + 792 + 793 + 794 + 795 + 796 + 797 + 798 + 799 + 800 + 801 + 802 + 803 + 804 + 805 + 806 + 807 + 808 + 809 + 810 + 811 + 812 + 813 + 814 + 815 + 816 + 817 + 818 + 819 + 820 + 821 + 822 + 823 + 824 + 825 + 826 + 827 + 828 + 829 + 830 + 831 + 832 + 833 + 834 + 835 + 836 + 837 + 838 + 839 + 840 + 841 + 842 + 843 + 844 + 845 + 846 + 847 + 848 + 849 + 850 + 851 + 852 + 853 + 854 + 855 + 856 + 857 + 858 + 859 + 860 + 861 + 862 + 863 + 864 + 865 + 866 + 867 + 868 + 869 + 870 + 871 + 872 + 873 + 874 + 875 + 876 + 877 + 878 + 879 + 880 + 881 + 882 + 883 + 884 + 885 + 886 + 887 + 888 + 889 + 890 + 891 + 892 + 893 + 894 + 895 + 896 + 897 + 898 + 899 + 900 + 901 + 902 + 903 + 904 + 905 + 906 + 907 + 908 + 909 + 910 + 911 + 912 + 913 + 914 + 915 + 916 + 917 + 918 + 919 + 920 + 921 + 922 + 923 + 924 + 925 + 926 + 927 + 928 + 929 + 930 + 931 + 932 + 933 + 934 + 935 + 936 + 937 + 938 + 939 + 940 + 941 + 942 + 943 + 944 + 945 + 946 + 947 + 948 + 949 + 950 + 951 + 952 + 953 + 954 + 955 + 956 + 957 + 958 + 959 + 960 + 961 + 962 + 963 + 964 + 965 + 966 + 967 + 968 + 969 + 970 + 971 + 972 + 973 + 974 + 975 + 976 + 977 + 978 + 979 + 980 + 981 + 982 + 983 + 984 + 985 + 986 + 987 + 988 + 989 + 990 + 991 + 992 + 993 + 994 + 995 + 996 + 997 + 998 + 999 + 1000 + 1001 + 1002 + 1003 + 1004 + 1005 + 1006 + 1007 + 1008 + 1009 + 1010 + 1011 + 1012 + 1013 + 1014 + 1015 + 1016 + 1017 + 1018 + 1019 + 1020 + 1021 + 1022 + 1023 + 1024 + 1025 + 1026 + 1027 + 1028 + 1029 + 1030 + 1031 + 1032 + 1033 + 1034 + 1035 + 1036 + 1037 + 1038 + 1039 + 1040 + 1041 + 1042 + 1043 + 1044 + 1045 + 1046 + 1047 + 1048 + 1049 + 1050 + 1051 + 1052 + 1053 + 1054 + 1055 + 1056 + 1057 + 1058 + 1059 + 1060 + 1061 + 1062 + 1063 + 1064 + 1065 + 1066 + 1067 + 1068 + 1069 + 1070 + 1071 + 1072 + 1073 + 1074 + 1075 + 1076 + 1077 + 1078 + 1079 + 1080 + 1081 + 1082 + 1083 + 1084 + 1085 + 1086 + 1087 + 1088 + 1089 + 1090 + 1091 + 1092 + 1093 + 1094 + 1095 + 1096 + 1097 + 1098 + 1099 + 1100 + 1101 + 1102 + 1103 + 1104 + 1105 + 1106 + 1107 + 1108 + 1109 + 1110 + 1111 + 1112 + 1113 + 1114 + 1115 + 1116 + 1117 + 1118 + 1119 + 1120 + 1121 + 1122 + 1123 + 1124 + 1125 + 1126 + 1127 + 1128 + 1129 + 1130 + 1131 + 1132 + 1133 + 1134 + 1135 + 1136 + 1137 + 1138 + 1139 + 1140 + 1141 + 1142 + 1143 + 1144 + 1145 + 1146 + 1147 + 1148 + 1149 + 1150 + 1151 + 1152 + 1153 + 1154 + 1155 + 1156 + 1157 + 1158 + 1159 + 1160 + 1161 + 1162 + 1163 + 1164 + 1165 + 1166 + 1167 + 1168 + 1169 + 1170 + 1171 + 1172 + 1173 + 1174 + 1175 + 1176 + 1177 + 1178 + 1179 + 1180 + 1181 + 1182 + 1183 + 1184 + 1185 + 1186 + 1187 + 1188 + 1189 + 1190 + 1191 + 1192 + 1193 + 1194 + 1195 + 1196 + 1197 + 1198 + 1199 + 1200 + 1201 + 1202 + 1203 + 1204 + 1205 + 1206 + 1207 + 1208 + 1209 + 1210 + 1211 + 1212 + 1213 + 1214 + 1215 + 1216 + 1217 + 1218 + 1219 + 1220 + 1221 + 1222 + 1223 + 1224 + 1225 + 1226 + 1227 + 1228 + 1229 + 1230 + 1231 + 1232 + 1233 + 1234 + 1235 + 1236 + 1237 + 1238 + 1239 + 1240 + 1241 + 1242 + 1243 + 1244 + 1245 + 1246 + 1247 + 1248 + 1249 + 1250 + 1251 + 1252 + 1253 + 1254 + 1255 + 1256 + 1257 + 1258 + 1259 + 1260 + 1261 + 1262 + 1263 + 1264 + 1265 + 1266 + 1267 + 1268 + 1269 + 1270 + 1271 + 1272 + 1273 + 1274 + 1275 + 1276 + 1277 + 1278 + 1279 + 1280 + 1281 + 1282 + 1283 + 1284 + 1285 + 1286 + 1287 + 1288 + 1289 + 1290 + 1291 + 1292 + 1293 + 1294 + 1295 + 1296 + 1297 + 1298 + 1299 + 1300 + 1301 + 1302 + 1303 + 1304 + 1305 + 1306 + 1307 + 1308 + 1309 + 1310 + 1311 + 1312 + 1313 + 1314 + 1315 + 1316 + 1317 + 1318 + 1319 + 1320 + 1321 + 1322 + 1323 + 1324 + 1325 + 1326 + 1327 + 1328 + 1329 + 1330 + 1331 + 1332 + 1333 + 1334 + 1335 + 1336 + 1337 + 1338 + 1339 + 1340 + 1341 + 1342 + 1343 + 1344 + 1345 + 1346 + 1347 + 1348 + 1349 + 1350 + 1351 + 1352 + 1353 + 1354 + 1355 + 1356 + 1357 + 1358 + 1359 + 1360 + 1361 + 1362 + 1363 + 1364 + 1365 + 1366 + 1367 + 1368 + 1369 + 1370 + 1371 + 1372 + 1373 + 1374 + 1375 + 1376 + 1377 + 1378 + 1379 + 1380 + 1381 + 1382 + 1383 + 1384 + 1385 + 1386 + 1387 + 1388 + 1389 + 1390 + 1391 + 1392 + 1393 + 1394 + 1395 + 1396 + 1397 + 1398 + 1399 + 1400 + 1401 + 1402 + 1403 + 1404 + 1405 + 1406 + 1407 + 1408 + 1409 + 1410 + 1411 + 1412 + 1413 + 1414 + 1415 + 1416 + 1417 + 1418 + 1419 + 1420 + 1421 + 1422 + 1423 + 1424 + 1425 + 1426 + 1427 + 1428 + 1429 + 1430 + 1431 + 1432 + 1433 + 1434 + 1435 + 1436 + 1437 + 1438 + 1439 + 1440 + 1441 + 1442 + 1443 + 1444 + 1445 + 1446 + 1447 + 1448 + 1449 + 1450 + 1451 + 1452 + 1453 + 1454 + 1455 + 1456 + 1457 + 1458 + 1459 + 1460 + 1461 + 1462 + 1463 + 1464 + 1465 + 1466 + 1467 + 1468 + 1469 + 1470 + 1471 + 1472 + 1473 + 1474 + 1475 + 1476 + 1477 + 1478 + 1479 + 1480 + 1481 + 1482 + 1483 + 1484 + 1485 + 1486 + 1487 + 1488 + 1489 + 1490 + 1491 + 1492 + 1493 + 1494 + 1495 + 1496 + 1497 + 1498 + 1499; var caps = '' + '' + diff --git a/tests/baselines/reference/bindingPatternCannotBeOnlyInferenceSource.js b/tests/baselines/reference/bindingPatternCannotBeOnlyInferenceSource.js index a1f2c641c8fe1..b4359b80c4725 100644 --- a/tests/baselines/reference/bindingPatternCannotBeOnlyInferenceSource.js +++ b/tests/baselines/reference/bindingPatternCannotBeOnlyInferenceSource.js @@ -29,6 +29,7 @@ const {} = useReduxDispatch1( //// [bindingPatternCannotBeOnlyInferenceSource.js] +"use strict"; var _a = f(); // error (only in strictNullChecks) var p1 = f().p1; // error var _b = f(); // error diff --git a/tests/baselines/reference/bindingPatternContextualTypeDoesNotCauseWidening.js b/tests/baselines/reference/bindingPatternContextualTypeDoesNotCauseWidening.js index 8ae5cb7067453..c1ae1de5b95c3 100644 --- a/tests/baselines/reference/bindingPatternContextualTypeDoesNotCauseWidening.js +++ b/tests/baselines/reference/bindingPatternContextualTypeDoesNotCauseWidening.js @@ -7,5 +7,6 @@ const { } = pick(['b'], { a: 'a', b: 'b' }); // T: "b" | "a" ??? (before fix) //// [bindingPatternContextualTypeDoesNotCauseWidening.js] +"use strict"; var _ = pick(['b'], { a: 'a', b: 'b' }); // T: "b" var _a = pick(['b'], { a: 'a', b: 'b' }); // T: "b" | "a" ??? (before fix) diff --git a/tests/baselines/reference/bindingPatternInParameter01.js b/tests/baselines/reference/bindingPatternInParameter01.js index 5143313b5a720..f47c26e76dff6 100644 --- a/tests/baselines/reference/bindingPatternInParameter01.js +++ b/tests/baselines/reference/bindingPatternInParameter01.js @@ -9,6 +9,7 @@ nestedArray.forEach(([[a, b]]) => { //// [bindingPatternInParameter01.js] +"use strict"; var nestedArray = [[[1, 2]], [[3, 4]]]; nestedArray.forEach(function (_a) { var _b = _a[0], a = _b[0], b = _b[1]; diff --git a/tests/baselines/reference/binopAssignmentShouldHaveType.js b/tests/baselines/reference/binopAssignmentShouldHaveType.js index 73224a81cc64e..3a292cbd3140b 100644 --- a/tests/baselines/reference/binopAssignmentShouldHaveType.js +++ b/tests/baselines/reference/binopAssignmentShouldHaveType.js @@ -23,6 +23,7 @@ namespace Test { //// [binopAssignmentShouldHaveType.js] "use strict"; +"use strict"; var Test; (function (Test) { var Bug = /** @class */ (function () { diff --git a/tests/baselines/reference/bitwiseCompoundAssignmentOperators.js b/tests/baselines/reference/bitwiseCompoundAssignmentOperators.js index e71d8be72ebc3..d7adca8cfde55 100644 --- a/tests/baselines/reference/bitwiseCompoundAssignmentOperators.js +++ b/tests/baselines/reference/bitwiseCompoundAssignmentOperators.js @@ -35,6 +35,7 @@ f |= f; //// [bitwiseCompoundAssignmentOperators.js] +"use strict"; var a = true; var b = 1; a ^= a; diff --git a/tests/baselines/reference/bitwiseNotOperatorInvalidOperations.js b/tests/baselines/reference/bitwiseNotOperatorInvalidOperations.js index fd67d38e58e57..1b6a502b94f66 100644 --- a/tests/baselines/reference/bitwiseNotOperatorInvalidOperations.js +++ b/tests/baselines/reference/bitwiseNotOperatorInvalidOperations.js @@ -14,6 +14,7 @@ var mul = ~[1, 2, "abc"], ""; //expect error var b =~; //// [bitwiseNotOperatorInvalidOperations.js] +"use strict"; // Unary operator ~ var q; // operand before ~ diff --git a/tests/baselines/reference/bitwiseNotOperatorWithAnyOtherType.js b/tests/baselines/reference/bitwiseNotOperatorWithAnyOtherType.js index eb97d7dfa838a..ebeabc77140e1 100644 --- a/tests/baselines/reference/bitwiseNotOperatorWithAnyOtherType.js +++ b/tests/baselines/reference/bitwiseNotOperatorWithAnyOtherType.js @@ -65,6 +65,7 @@ var ResultIsNumber20 = ~~~(ANY + ANY1); ~~obj1.x; //// [bitwiseNotOperatorWithAnyOtherType.js] +"use strict"; // ~ operator on any type function foo() { var a; diff --git a/tests/baselines/reference/bitwiseNotOperatorWithBooleanType.js b/tests/baselines/reference/bitwiseNotOperatorWithBooleanType.js index cdf0804256f5f..e238e11acf905 100644 --- a/tests/baselines/reference/bitwiseNotOperatorWithBooleanType.js +++ b/tests/baselines/reference/bitwiseNotOperatorWithBooleanType.js @@ -41,6 +41,7 @@ var ResultIsNumber8 = ~~BOOLEAN; ~M.n; //// [bitwiseNotOperatorWithBooleanType.js] +"use strict"; // ~ operator on boolean type var BOOLEAN; function foo() { return true; } diff --git a/tests/baselines/reference/bitwiseNotOperatorWithEnumType.js b/tests/baselines/reference/bitwiseNotOperatorWithEnumType.js index 214c3b343a596..9e9aba1c576b4 100644 --- a/tests/baselines/reference/bitwiseNotOperatorWithEnumType.js +++ b/tests/baselines/reference/bitwiseNotOperatorWithEnumType.js @@ -21,6 +21,7 @@ var ResultIsNumber4 = ~~~(ENUM1["A"] + ENUM1.B); ~ENUM1.A, ~ENUM1["B"]; //// [bitwiseNotOperatorWithEnumType.js] +"use strict"; // ~ operator on enum type var ENUM1; (function (ENUM1) { diff --git a/tests/baselines/reference/bitwiseNotOperatorWithNumberType.js b/tests/baselines/reference/bitwiseNotOperatorWithNumberType.js index 9a2e3c4944ab9..ac9367d1badf8 100644 --- a/tests/baselines/reference/bitwiseNotOperatorWithNumberType.js +++ b/tests/baselines/reference/bitwiseNotOperatorWithNumberType.js @@ -47,6 +47,7 @@ var ResultIsNumber13 = ~~~(NUMBER + NUMBER); ~objA.a, M.n; //// [bitwiseNotOperatorWithNumberType.js] +"use strict"; // ~ operator on number type var NUMBER; var NUMBER1 = [1, 2]; diff --git a/tests/baselines/reference/bitwiseNotOperatorWithStringType.js b/tests/baselines/reference/bitwiseNotOperatorWithStringType.js index 2beff97a1527d..56bdb91712260 100644 --- a/tests/baselines/reference/bitwiseNotOperatorWithStringType.js +++ b/tests/baselines/reference/bitwiseNotOperatorWithStringType.js @@ -46,6 +46,7 @@ var ResultIsNumber14 = ~~~(STRING + STRING); ~objA.a,M.n; //// [bitwiseNotOperatorWithStringType.js] +"use strict"; // ~ operator on string type var STRING; var STRING1 = ["", "abc"]; diff --git a/tests/baselines/reference/blockScopedBindingCaptureThisInFunction.js b/tests/baselines/reference/blockScopedBindingCaptureThisInFunction.js index fe81e6e7e09b0..3176ddc88996d 100644 --- a/tests/baselines/reference/blockScopedBindingCaptureThisInFunction.js +++ b/tests/baselines/reference/blockScopedBindingCaptureThisInFunction.js @@ -10,6 +10,7 @@ }; //// [blockScopedBindingCaptureThisInFunction.js] +"use strict"; // https://github.com/Microsoft/TypeScript/issues/11038 (function () { return function () { var _loop_1 = function (someKey) { diff --git a/tests/baselines/reference/blockScopedBindingUsedBeforeDef.js b/tests/baselines/reference/blockScopedBindingUsedBeforeDef.js index 07650b4e9b4aa..67d916bcfeb5b 100644 --- a/tests/baselines/reference/blockScopedBindingUsedBeforeDef.js +++ b/tests/baselines/reference/blockScopedBindingUsedBeforeDef.js @@ -11,6 +11,7 @@ for (let {[a]: a} = { }; false; ) continue; let {[b]: b} = { }; //// [blockScopedBindingUsedBeforeDef.js] +"use strict"; // 1: for (var _i = 0, _a = [{}]; _i < _a.length; _i++) { var _b = a, a = _a[_i][_b]; diff --git a/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator.js b/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator.js index ca74ec4d9ddb1..fe8e2955d7113 100644 --- a/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator.js +++ b/tests/baselines/reference/blockScopedBindingsInDownlevelGenerator.js @@ -9,6 +9,7 @@ function* a() { } //// [blockScopedBindingsInDownlevelGenerator.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; diff --git a/tests/baselines/reference/blockScopedBindingsReassignedInLoop1.js b/tests/baselines/reference/blockScopedBindingsReassignedInLoop1.js index c7176a5e729b3..3c0152bf50cae 100644 --- a/tests/baselines/reference/blockScopedBindingsReassignedInLoop1.js +++ b/tests/baselines/reference/blockScopedBindingsReassignedInLoop1.js @@ -10,6 +10,7 @@ declare function use(n: number): void; })(); //// [blockScopedBindingsReassignedInLoop1.js] +"use strict"; (function () { 'use strict'; var _loop_1 = function (i) { diff --git a/tests/baselines/reference/blockScopedBindingsReassignedInLoop2.js b/tests/baselines/reference/blockScopedBindingsReassignedInLoop2.js index 06e143d98c62f..bebc3ef5a436f 100644 --- a/tests/baselines/reference/blockScopedBindingsReassignedInLoop2.js +++ b/tests/baselines/reference/blockScopedBindingsReassignedInLoop2.js @@ -44,6 +44,7 @@ for (let x = 1, y = 2; x < y; ++x, --y) { } //// [blockScopedBindingsReassignedInLoop2.js] +"use strict"; var _loop_1 = function (x, y) { var a = function () { return x++ + y++; }; if (x == 1) { diff --git a/tests/baselines/reference/blockScopedBindingsReassignedInLoop3.js b/tests/baselines/reference/blockScopedBindingsReassignedInLoop3.js index 047f6b23382ff..2c2614d034f63 100644 --- a/tests/baselines/reference/blockScopedBindingsReassignedInLoop3.js +++ b/tests/baselines/reference/blockScopedBindingsReassignedInLoop3.js @@ -94,6 +94,7 @@ for (let x = 1, y = 2; x < y; ++x, --y) { //// [blockScopedBindingsReassignedInLoop3.js] +"use strict"; var _loop_1 = function (x, y) { var a = function () { return x++ + y++; }; if (x == 1) { diff --git a/tests/baselines/reference/blockScopedBindingsReassignedInLoop4.js b/tests/baselines/reference/blockScopedBindingsReassignedInLoop4.js index d120cfd020c34..02d6a44902f17 100644 --- a/tests/baselines/reference/blockScopedBindingsReassignedInLoop4.js +++ b/tests/baselines/reference/blockScopedBindingsReassignedInLoop4.js @@ -14,6 +14,7 @@ function f1() { } //// [blockScopedBindingsReassignedInLoop4.js] +"use strict"; function f1() { var _loop_1 = function (x, y) { var a = function () { return x++ + y++; }; diff --git a/tests/baselines/reference/blockScopedBindingsReassignedInLoop5.js b/tests/baselines/reference/blockScopedBindingsReassignedInLoop5.js index 997ae3518c087..c2e3998389642 100644 --- a/tests/baselines/reference/blockScopedBindingsReassignedInLoop5.js +++ b/tests/baselines/reference/blockScopedBindingsReassignedInLoop5.js @@ -11,6 +11,7 @@ for (let x = 1, y = 2; x < y; ++x, --y) { //// [blockScopedBindingsReassignedInLoop5.js] +"use strict"; var _loop_1 = function (x, y) { var a = function () { return x++ + y++; }; if (x == 1) diff --git a/tests/baselines/reference/blockScopedBindingsReassignedInLoop6.js b/tests/baselines/reference/blockScopedBindingsReassignedInLoop6.js index fbf0fda7da598..a1797d44de95c 100644 --- a/tests/baselines/reference/blockScopedBindingsReassignedInLoop6.js +++ b/tests/baselines/reference/blockScopedBindingsReassignedInLoop6.js @@ -32,6 +32,7 @@ function f2() { //// [blockScopedBindingsReassignedInLoop6.js] +"use strict"; function f1() { var _loop_1 = function (x, y) { var a = function () { return x++ + y++; }; diff --git a/tests/baselines/reference/blockScopedClassDeclarationAcrossFiles.js b/tests/baselines/reference/blockScopedClassDeclarationAcrossFiles.js index 6559548ddff28..00e1433a3d0e5 100644 --- a/tests/baselines/reference/blockScopedClassDeclarationAcrossFiles.js +++ b/tests/baselines/reference/blockScopedClassDeclarationAcrossFiles.js @@ -7,6 +7,7 @@ class C { } //// [foo.js] +"use strict"; var foo; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.js b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.js index 80bd068246b4e..4ee33329e953f 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.js +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef.js @@ -21,6 +21,7 @@ const enum AfterObject { //// [blockScopedEnumVariablesUseBeforeDef.js] +"use strict"; function foo1() { return E.A; var E; diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.js b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.js index 02875471bcb3d..62aa6e410c659 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.js +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_isolatedModules.js @@ -21,6 +21,7 @@ const enum AfterObject { //// [blockScopedEnumVariablesUseBeforeDef_isolatedModules.js] +"use strict"; function foo1() { return E.A; var E; diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_preserve.js b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_preserve.js index 1729f1624959d..ab1dc82fb2add 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_preserve.js +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_preserve.js @@ -21,6 +21,7 @@ const enum AfterObject { //// [blockScopedEnumVariablesUseBeforeDef_preserve.js] +"use strict"; function foo1() { return E.A; var E; diff --git a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.js b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.js index 4d4f7ead87418..c41b4612ad882 100644 --- a/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.js +++ b/tests/baselines/reference/blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.js @@ -21,6 +21,7 @@ const enum AfterObject { //// [blockScopedEnumVariablesUseBeforeDef_verbatimModuleSyntax.js] +"use strict"; function foo1() { return E.A; var E; diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationES5.errors.txt b/tests/baselines/reference/blockScopedFunctionDeclarationES5.errors.txt new file mode 100644 index 0000000000000..94b9d0c6c550f --- /dev/null +++ b/tests/baselines/reference/blockScopedFunctionDeclarationES5.errors.txt @@ -0,0 +1,14 @@ +blockScopedFunctionDeclarationES5.ts(2,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. +blockScopedFunctionDeclarationES5.ts(5,1): error TS2304: Cannot find name 'foo'. + + +==== blockScopedFunctionDeclarationES5.ts (2 errors) ==== + if (true) { + function foo() { } + ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + foo(); + } + foo(); + ~~~ +!!! error TS2304: Cannot find name 'foo'. \ No newline at end of file diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationES5.js b/tests/baselines/reference/blockScopedFunctionDeclarationES5.js index 4c0498586ae03..68db3f5d62e99 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationES5.js +++ b/tests/baselines/reference/blockScopedFunctionDeclarationES5.js @@ -8,6 +8,7 @@ if (true) { foo(); //// [blockScopedFunctionDeclarationES5.js] +"use strict"; if (true) { function foo() { } foo(); diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationES5.symbols b/tests/baselines/reference/blockScopedFunctionDeclarationES5.symbols index 7a4653165a1e3..3a54ffb3303d5 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationES5.symbols +++ b/tests/baselines/reference/blockScopedFunctionDeclarationES5.symbols @@ -9,5 +9,3 @@ if (true) { >foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES5.ts, 0, 11)) } foo(); ->foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES5.ts, 0, 11)) - diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationES5.types b/tests/baselines/reference/blockScopedFunctionDeclarationES5.types index 5edf7f7fdf725..eec0d5dd2bd6c 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationES5.types +++ b/tests/baselines/reference/blockScopedFunctionDeclarationES5.types @@ -16,8 +16,8 @@ if (true) { > : ^^^^^^^^^^ } foo(); ->foo() : void -> : ^^^^ ->foo : () => void -> : ^^^^^^^^^^ +>foo() : any +> : ^^^ +>foo : any +> : ^^^ diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationES6.errors.txt b/tests/baselines/reference/blockScopedFunctionDeclarationES6.errors.txt new file mode 100644 index 0000000000000..99935089e46a1 --- /dev/null +++ b/tests/baselines/reference/blockScopedFunctionDeclarationES6.errors.txt @@ -0,0 +1,11 @@ +blockScopedFunctionDeclarationES6.ts(5,1): error TS2304: Cannot find name 'foo'. + + +==== blockScopedFunctionDeclarationES6.ts (1 errors) ==== + if (true) { + function foo() { } + foo(); + } + foo(); + ~~~ +!!! error TS2304: Cannot find name 'foo'. \ No newline at end of file diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationES6.js b/tests/baselines/reference/blockScopedFunctionDeclarationES6.js index 65aec79d5505a..bd23e8bcbb0c5 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationES6.js +++ b/tests/baselines/reference/blockScopedFunctionDeclarationES6.js @@ -8,6 +8,7 @@ if (true) { foo(); //// [blockScopedFunctionDeclarationES6.js] +"use strict"; if (true) { function foo() { } foo(); diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationES6.symbols b/tests/baselines/reference/blockScopedFunctionDeclarationES6.symbols index f19c147b66749..b05ed0cb85fc5 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationES6.symbols +++ b/tests/baselines/reference/blockScopedFunctionDeclarationES6.symbols @@ -9,5 +9,3 @@ if (true) { >foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES6.ts, 0, 11)) } foo(); ->foo : Symbol(foo, Decl(blockScopedFunctionDeclarationES6.ts, 0, 11)) - diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationES6.types b/tests/baselines/reference/blockScopedFunctionDeclarationES6.types index fbaec812410ca..3d3b9c479b487 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationES6.types +++ b/tests/baselines/reference/blockScopedFunctionDeclarationES6.types @@ -16,8 +16,8 @@ if (true) { > : ^^^^^^^^^^ } foo(); ->foo() : void -> : ^^^^ ->foo : () => void -> : ^^^^^^^^^^ +>foo() : any +> : ^^^ +>foo : any +> : ^^^ diff --git a/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass.js b/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass.js index 1c4d022022918..0bf6697eb136d 100644 --- a/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass.js +++ b/tests/baselines/reference/blockScopedFunctionDeclarationInStrictClass.js @@ -12,6 +12,7 @@ class c { } //// [blockScopedFunctionDeclarationInStrictClass.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/blockScopedNamespaceDifferentFile.js b/tests/baselines/reference/blockScopedNamespaceDifferentFile.js index 0933aa90fb61a..0a7c16cf68b5a 100644 --- a/tests/baselines/reference/blockScopedNamespaceDifferentFile.js +++ b/tests/baselines/reference/blockScopedNamespaceDifferentFile.js @@ -20,6 +20,7 @@ declare namespace A { //// [out.js] +"use strict"; var C; (function (C) { var Name = /** @class */ (function () { diff --git a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.errors.txt b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.errors.txt index 47b4cf9a063cf..7fd3eac2af197 100644 --- a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.errors.txt +++ b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.errors.txt @@ -1,8 +1,8 @@ -blockScopedSameNameFunctionDeclarationES5.ts(3,18): error TS2393: Duplicate function implementation. +blockScopedSameNameFunctionDeclarationES5.ts(3,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. blockScopedSameNameFunctionDeclarationES5.ts(5,13): error TS2554: Expected 0 arguments, but got 1. -blockScopedSameNameFunctionDeclarationES5.ts(8,18): error TS2393: Duplicate function implementation. +blockScopedSameNameFunctionDeclarationES5.ts(8,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. blockScopedSameNameFunctionDeclarationES5.ts(10,13): error TS2554: Expected 0 arguments, but got 1. -blockScopedSameNameFunctionDeclarationES5.ts(12,9): error TS2554: Expected 0 arguments, but got 1. +blockScopedSameNameFunctionDeclarationES5.ts(13,5): error TS2554: Expected 1 arguments, but got 0. blockScopedSameNameFunctionDeclarationES5.ts(16,1): error TS2554: Expected 1 arguments, but got 0. @@ -11,7 +11,7 @@ blockScopedSameNameFunctionDeclarationES5.ts(16,1): error TS2554: Expected 1 arg if (a === 1) { function foo() { } // duplicate function ~~~ -!!! error TS2393: Duplicate function implementation. +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. foo(); foo(10); // not ok ~~ @@ -20,16 +20,17 @@ blockScopedSameNameFunctionDeclarationES5.ts(16,1): error TS2554: Expected 1 arg else { function foo() { } // duplicate function ~~~ -!!! error TS2393: Duplicate function implementation. +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. foo(); foo(10); // not ok ~~ !!! error TS2554: Expected 0 arguments, but got 1. } foo(10); // not ok - ~~ -!!! error TS2554: Expected 0 arguments, but got 1. foo(); + ~~~ +!!! error TS2554: Expected 1 arguments, but got 0. +!!! related TS6210 blockScopedSameNameFunctionDeclarationES5.ts:1:14: An argument for 'a' was not provided. } foo(10); foo(); // not ok - needs number diff --git a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.js b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.js index 00efc973004c0..373db7739d0a7 100644 --- a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.js +++ b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.js @@ -19,6 +19,7 @@ foo(10); foo(); // not ok - needs number //// [blockScopedSameNameFunctionDeclarationES5.js] +"use strict"; function foo(a) { if (a === 1) { function foo() { } // duplicate function diff --git a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.symbols b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.symbols index 9059c98982ce8..094cdcd450a7e 100644 --- a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.symbols +++ b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.symbols @@ -9,29 +9,29 @@ function foo(a: number) { >a : Symbol(a, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 0, 13)) function foo() { } // duplicate function ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 1, 18), Decl(blockScopedSameNameFunctionDeclarationES5.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 1, 18)) foo(); ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 1, 18), Decl(blockScopedSameNameFunctionDeclarationES5.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 1, 18)) foo(10); // not ok ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 1, 18), Decl(blockScopedSameNameFunctionDeclarationES5.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 1, 18)) } else { function foo() { } // duplicate function ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 1, 18), Decl(blockScopedSameNameFunctionDeclarationES5.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 6, 10)) foo(); ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 1, 18), Decl(blockScopedSameNameFunctionDeclarationES5.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 6, 10)) foo(10); // not ok ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 1, 18), Decl(blockScopedSameNameFunctionDeclarationES5.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 6, 10)) } foo(10); // not ok ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 1, 18), Decl(blockScopedSameNameFunctionDeclarationES5.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 0, 0)) foo(); ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 1, 18), Decl(blockScopedSameNameFunctionDeclarationES5.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 0, 0)) } foo(10); >foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES5.ts, 0, 0)) diff --git a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.types b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.types index 33989fec6734f..810aa8608c57f 100644 --- a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.types +++ b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES5.types @@ -16,55 +16,55 @@ function foo(a: number) { > : ^ function foo() { } // duplicate function ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ foo(); >foo() : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ foo(10); // not ok >foo(10) : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ >10 : 10 > : ^^ } else { function foo() { } // duplicate function ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ foo(); >foo() : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ foo(10); // not ok >foo(10) : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ >10 : 10 > : ^^ } foo(10); // not ok >foo(10) : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : (a: number) => void +> : ^ ^^ ^^^^^^^^^ >10 : 10 > : ^^ foo(); >foo() : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : (a: number) => void +> : ^ ^^ ^^^^^^^^^ } foo(10); >foo(10) : void diff --git a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.errors.txt b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.errors.txt index 19f6f09e639f4..8f634b2d0b334 100644 --- a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.errors.txt +++ b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.errors.txt @@ -1,17 +1,13 @@ -blockScopedSameNameFunctionDeclarationES6.ts(3,18): error TS2393: Duplicate function implementation. blockScopedSameNameFunctionDeclarationES6.ts(5,13): error TS2554: Expected 0 arguments, but got 1. -blockScopedSameNameFunctionDeclarationES6.ts(8,18): error TS2393: Duplicate function implementation. blockScopedSameNameFunctionDeclarationES6.ts(10,13): error TS2554: Expected 0 arguments, but got 1. -blockScopedSameNameFunctionDeclarationES6.ts(12,9): error TS2554: Expected 0 arguments, but got 1. +blockScopedSameNameFunctionDeclarationES6.ts(13,5): error TS2554: Expected 1 arguments, but got 0. blockScopedSameNameFunctionDeclarationES6.ts(16,1): error TS2554: Expected 1 arguments, but got 0. -==== blockScopedSameNameFunctionDeclarationES6.ts (6 errors) ==== +==== blockScopedSameNameFunctionDeclarationES6.ts (4 errors) ==== function foo(a: number) { if (a === 10) { function foo() { } // duplicate - ~~~ -!!! error TS2393: Duplicate function implementation. foo(); foo(10); // not ok ~~ @@ -19,17 +15,16 @@ blockScopedSameNameFunctionDeclarationES6.ts(16,1): error TS2554: Expected 1 arg } else { function foo() { } // duplicate - ~~~ -!!! error TS2393: Duplicate function implementation. foo(); foo(10);// not ok ~~ !!! error TS2554: Expected 0 arguments, but got 1. } foo(10); // not ok - ~~ -!!! error TS2554: Expected 0 arguments, but got 1. foo(); + ~~~ +!!! error TS2554: Expected 1 arguments, but got 0. +!!! related TS6210 blockScopedSameNameFunctionDeclarationES6.ts:1:14: An argument for 'a' was not provided. } foo(10); foo(); // not ok - needs number diff --git a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.js b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.js index 24ca3a82bf71a..5501cf7631ad1 100644 --- a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.js +++ b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.js @@ -19,6 +19,7 @@ foo(10); foo(); // not ok - needs number //// [blockScopedSameNameFunctionDeclarationES6.js] +"use strict"; function foo(a) { if (a === 10) { function foo() { } // duplicate diff --git a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.symbols b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.symbols index 125116a09b49e..29d15d21f43f4 100644 --- a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.symbols +++ b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.symbols @@ -9,29 +9,29 @@ function foo(a: number) { >a : Symbol(a, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 0, 13)) function foo() { } // duplicate ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 1, 19), Decl(blockScopedSameNameFunctionDeclarationES6.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 1, 19)) foo(); ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 1, 19), Decl(blockScopedSameNameFunctionDeclarationES6.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 1, 19)) foo(10); // not ok ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 1, 19), Decl(blockScopedSameNameFunctionDeclarationES6.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 1, 19)) } else { function foo() { } // duplicate ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 1, 19), Decl(blockScopedSameNameFunctionDeclarationES6.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 6, 10)) foo(); ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 1, 19), Decl(blockScopedSameNameFunctionDeclarationES6.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 6, 10)) foo(10);// not ok ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 1, 19), Decl(blockScopedSameNameFunctionDeclarationES6.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 6, 10)) } foo(10); // not ok ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 1, 19), Decl(blockScopedSameNameFunctionDeclarationES6.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 0, 0)) foo(); ->foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 1, 19), Decl(blockScopedSameNameFunctionDeclarationES6.ts, 6, 10)) +>foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 0, 0)) } foo(10); >foo : Symbol(foo, Decl(blockScopedSameNameFunctionDeclarationES6.ts, 0, 0)) diff --git a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.types b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.types index 5820765d029d3..ff7ce8d82c286 100644 --- a/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.types +++ b/tests/baselines/reference/blockScopedSameNameFunctionDeclarationES6.types @@ -16,55 +16,55 @@ function foo(a: number) { > : ^^ function foo() { } // duplicate ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ foo(); >foo() : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ foo(10); // not ok >foo(10) : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ >10 : 10 > : ^^ } else { function foo() { } // duplicate ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ foo(); >foo() : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ foo(10);// not ok >foo(10) : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : () => void +> : ^^^^^^^^^^ >10 : 10 > : ^^ } foo(10); // not ok >foo(10) : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : (a: number) => void +> : ^ ^^ ^^^^^^^^^ >10 : 10 > : ^^ foo(); >foo() : void > : ^^^^ ->foo : { (): void; (): void; } -> : ^^^^^^^^^^^^^^^^^^^^^^^ +>foo : (a: number) => void +> : ^ ^^ ^^^^^^^^^ } foo(10); >foo(10) : void diff --git a/tests/baselines/reference/blockScopedVariablesUseBeforeDef.js b/tests/baselines/reference/blockScopedVariablesUseBeforeDef.js index eed9549b53df8..6340aa1eea313 100644 --- a/tests/baselines/reference/blockScopedVariablesUseBeforeDef.js +++ b/tests/baselines/reference/blockScopedVariablesUseBeforeDef.js @@ -162,6 +162,7 @@ function foo18() { //// [blockScopedVariablesUseBeforeDef.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/bom-utf16be.js b/tests/baselines/reference/bom-utf16be.js index e96c00c946bc6..eca81b9696500 100644 --- a/tests/baselines/reference/bom-utf16be.js +++ b/tests/baselines/reference/bom-utf16be.js @@ -5,4 +5,5 @@ var x=10; //// [bom-utf16be.js] +"use strict"; var x = 10; diff --git a/tests/baselines/reference/bom-utf16le.js b/tests/baselines/reference/bom-utf16le.js index 6dd21a102b28f..6d9a2c6205745 100644 --- a/tests/baselines/reference/bom-utf16le.js +++ b/tests/baselines/reference/bom-utf16le.js @@ -5,4 +5,5 @@ var x=10; //// [bom-utf16le.js] +"use strict"; var x = 10; diff --git a/tests/baselines/reference/bom-utf8.js b/tests/baselines/reference/bom-utf8.js index 2c2e7b3e6c06f..29e4866af6405 100644 --- a/tests/baselines/reference/bom-utf8.js +++ b/tests/baselines/reference/bom-utf8.js @@ -5,4 +5,5 @@ var x=10; //// [bom-utf8.js] +"use strict"; var x = 10; diff --git a/tests/baselines/reference/boolInsteadOfBoolean.js b/tests/baselines/reference/boolInsteadOfBoolean.js index b02fb15028a9b..b238d5bfd45b1 100644 --- a/tests/baselines/reference/boolInsteadOfBoolean.js +++ b/tests/baselines/reference/boolInsteadOfBoolean.js @@ -6,6 +6,7 @@ var a: boolean = x; x = a; //// [boolInsteadOfBoolean.js] +"use strict"; var x; var a = x; x = a; diff --git a/tests/baselines/reference/booleanAssignment.js b/tests/baselines/reference/booleanAssignment.js index 727823c4375ce..4fc714f1dda09 100644 --- a/tests/baselines/reference/booleanAssignment.js +++ b/tests/baselines/reference/booleanAssignment.js @@ -15,6 +15,7 @@ declare var b2:boolean; b = b2; // OK //// [booleanAssignment.js] +"use strict"; var b = new Boolean(); b = 1; // Error b = "a"; // Error diff --git a/tests/baselines/reference/booleanFilterAnyArray.js b/tests/baselines/reference/booleanFilterAnyArray.js index 40c2cc5e91c70..a69bc2894d663 100644 --- a/tests/baselines/reference/booleanFilterAnyArray.js +++ b/tests/baselines/reference/booleanFilterAnyArray.js @@ -28,6 +28,7 @@ var foos = [true, true, false, null].filter((thing): thing is boolean => thing ! //// [booleanFilterAnyArray.js] +"use strict"; var xs; var xs = anys.filter(Bullean); var ys; diff --git a/tests/baselines/reference/booleanLiteralTypes1.js b/tests/baselines/reference/booleanLiteralTypes1.js index 3d97fc78772ca..360e12187f376 100644 --- a/tests/baselines/reference/booleanLiteralTypes1.js +++ b/tests/baselines/reference/booleanLiteralTypes1.js @@ -98,6 +98,7 @@ function f21(x: Item) { } //// [booleanLiteralTypes1.js] +"use strict"; function f1() { var a; var a; diff --git a/tests/baselines/reference/booleanLiteralTypes2.js b/tests/baselines/reference/booleanLiteralTypes2.js index ac208a664af45..2b108f612f69f 100644 --- a/tests/baselines/reference/booleanLiteralTypes2.js +++ b/tests/baselines/reference/booleanLiteralTypes2.js @@ -98,6 +98,7 @@ function f21(x: Item) { } //// [booleanLiteralTypes2.js] +"use strict"; function f1() { var a; var a; diff --git a/tests/baselines/reference/booleanPropertyAccess.js b/tests/baselines/reference/booleanPropertyAccess.js index 267317d267eb6..5c848ee6bc5bf 100644 --- a/tests/baselines/reference/booleanPropertyAccess.js +++ b/tests/baselines/reference/booleanPropertyAccess.js @@ -7,6 +7,7 @@ var a = x.toString(); var b = x['toString'](); //// [booleanPropertyAccess.js] +"use strict"; var x = true; var a = x.toString(); var b = x['toString'](); diff --git a/tests/baselines/reference/breakInIterationOrSwitchStatement1.js b/tests/baselines/reference/breakInIterationOrSwitchStatement1.js index ae5c636656517..322c83d956368 100644 --- a/tests/baselines/reference/breakInIterationOrSwitchStatement1.js +++ b/tests/baselines/reference/breakInIterationOrSwitchStatement1.js @@ -6,6 +6,7 @@ while (true) { } //// [breakInIterationOrSwitchStatement1.js] +"use strict"; while (true) { break; } diff --git a/tests/baselines/reference/breakInIterationOrSwitchStatement2.js b/tests/baselines/reference/breakInIterationOrSwitchStatement2.js index 12c33887f6f88..4b1cd82361903 100644 --- a/tests/baselines/reference/breakInIterationOrSwitchStatement2.js +++ b/tests/baselines/reference/breakInIterationOrSwitchStatement2.js @@ -7,6 +7,7 @@ do { while (true); //// [breakInIterationOrSwitchStatement2.js] +"use strict"; do { break; } while (true); diff --git a/tests/baselines/reference/breakInIterationOrSwitchStatement3.js b/tests/baselines/reference/breakInIterationOrSwitchStatement3.js index 1bbe738aa55b1..f799f969624c5 100644 --- a/tests/baselines/reference/breakInIterationOrSwitchStatement3.js +++ b/tests/baselines/reference/breakInIterationOrSwitchStatement3.js @@ -6,6 +6,7 @@ for (;;) { } //// [breakInIterationOrSwitchStatement3.js] +"use strict"; for (;;) { break; } diff --git a/tests/baselines/reference/breakInIterationOrSwitchStatement4.js b/tests/baselines/reference/breakInIterationOrSwitchStatement4.js index e93ffe7661626..f34356f40c1f9 100644 --- a/tests/baselines/reference/breakInIterationOrSwitchStatement4.js +++ b/tests/baselines/reference/breakInIterationOrSwitchStatement4.js @@ -6,6 +6,7 @@ for (var i in something) { } //// [breakInIterationOrSwitchStatement4.js] +"use strict"; for (var i in something) { break; } diff --git a/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.js b/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.js index 29f70a69abb18..8709ecc8ef6a6 100644 --- a/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.js +++ b/tests/baselines/reference/breakNotInIterationOrSwitchStatement1.js @@ -4,4 +4,5 @@ break; //// [breakNotInIterationOrSwitchStatement1.js] +"use strict"; break; diff --git a/tests/baselines/reference/breakNotInIterationOrSwitchStatement2.errors.txt b/tests/baselines/reference/breakNotInIterationOrSwitchStatement2.errors.txt index 9b82de8363447..d2c6965999699 100644 --- a/tests/baselines/reference/breakNotInIterationOrSwitchStatement2.errors.txt +++ b/tests/baselines/reference/breakNotInIterationOrSwitchStatement2.errors.txt @@ -1,9 +1,12 @@ +breakNotInIterationOrSwitchStatement2.ts(2,12): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. breakNotInIterationOrSwitchStatement2.ts(3,5): error TS1107: Jump target cannot cross function boundary. -==== breakNotInIterationOrSwitchStatement2.ts (1 errors) ==== +==== breakNotInIterationOrSwitchStatement2.ts (2 errors) ==== while (true) { function f() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. break; ~~~~~~ !!! error TS1107: Jump target cannot cross function boundary. diff --git a/tests/baselines/reference/breakNotInIterationOrSwitchStatement2.js b/tests/baselines/reference/breakNotInIterationOrSwitchStatement2.js index e4141dd0e481f..da2a00bae395d 100644 --- a/tests/baselines/reference/breakNotInIterationOrSwitchStatement2.js +++ b/tests/baselines/reference/breakNotInIterationOrSwitchStatement2.js @@ -8,6 +8,7 @@ while (true) { } //// [breakNotInIterationOrSwitchStatement2.js] +"use strict"; while (true) { function f() { break; diff --git a/tests/baselines/reference/breakTarget1.js b/tests/baselines/reference/breakTarget1.js index 63ae8453566cd..0ef49b8fbad1d 100644 --- a/tests/baselines/reference/breakTarget1.js +++ b/tests/baselines/reference/breakTarget1.js @@ -5,4 +5,5 @@ target: break target; //// [breakTarget1.js] +"use strict"; target: break target; diff --git a/tests/baselines/reference/breakTarget2.js b/tests/baselines/reference/breakTarget2.js index b5d0fb650fe58..6e084d821c978 100644 --- a/tests/baselines/reference/breakTarget2.js +++ b/tests/baselines/reference/breakTarget2.js @@ -7,6 +7,7 @@ while (true) { } //// [breakTarget2.js] +"use strict"; target: while (true) { break target; } diff --git a/tests/baselines/reference/breakTarget3.js b/tests/baselines/reference/breakTarget3.js index 3bdc743b0c80a..48d36933a8192 100644 --- a/tests/baselines/reference/breakTarget3.js +++ b/tests/baselines/reference/breakTarget3.js @@ -8,6 +8,7 @@ while (true) { } //// [breakTarget3.js] +"use strict"; target1: target2: while (true) { break target1; } diff --git a/tests/baselines/reference/breakTarget4.js b/tests/baselines/reference/breakTarget4.js index 38dd0fd994b48..820939f1fdc9c 100644 --- a/tests/baselines/reference/breakTarget4.js +++ b/tests/baselines/reference/breakTarget4.js @@ -8,6 +8,7 @@ while (true) { } //// [breakTarget4.js] +"use strict"; target1: target2: while (true) { break target2; } diff --git a/tests/baselines/reference/breakTarget5.errors.txt b/tests/baselines/reference/breakTarget5.errors.txt index b842116ccca78..3a1c8c4a7bc8a 100644 --- a/tests/baselines/reference/breakTarget5.errors.txt +++ b/tests/baselines/reference/breakTarget5.errors.txt @@ -1,10 +1,13 @@ +breakTarget5.ts(3,12): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. breakTarget5.ts(5,7): error TS1107: Jump target cannot cross function boundary. -==== breakTarget5.ts (1 errors) ==== +==== breakTarget5.ts (2 errors) ==== target: while (true) { function f() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. while (true) { break target; ~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/breakTarget5.js b/tests/baselines/reference/breakTarget5.js index 51deeda7c3ba4..20ac88e6de2d9 100644 --- a/tests/baselines/reference/breakTarget5.js +++ b/tests/baselines/reference/breakTarget5.js @@ -11,6 +11,7 @@ while (true) { } //// [breakTarget5.js] +"use strict"; target: while (true) { function f() { while (true) { diff --git a/tests/baselines/reference/breakTarget6.js b/tests/baselines/reference/breakTarget6.js index 11ffb11504fee..32549903c8424 100644 --- a/tests/baselines/reference/breakTarget6.js +++ b/tests/baselines/reference/breakTarget6.js @@ -6,6 +6,7 @@ while (true) { } //// [breakTarget6.js] +"use strict"; while (true) { break target; } diff --git a/tests/baselines/reference/bundlerCommonJS.js b/tests/baselines/reference/bundlerCommonJS.js index 0d8c4c13d3c90..2517f907b0d77 100644 --- a/tests/baselines/reference/bundlerCommonJS.js +++ b/tests/baselines/reference/bundlerCommonJS.js @@ -42,4 +42,5 @@ Object.defineProperty(exports, "__esModule", { value: true }); var pkg_1 = require("pkg"); pkg_1.x; //// [real-imports.mjs] +"use strict"; export {}; diff --git a/tests/baselines/reference/callChain.2.js b/tests/baselines/reference/callChain.2.js index 1e5985f585401..01a30b47116e7 100644 --- a/tests/baselines/reference/callChain.2.js +++ b/tests/baselines/reference/callChain.2.js @@ -12,6 +12,7 @@ o3.b?.().c; //// [callChain.2.js] +"use strict"; var _a; o1 === null || o1 === void 0 ? void 0 : o1(); o2 === null || o2 === void 0 ? void 0 : o2.b(); diff --git a/tests/baselines/reference/callConstructAssignment.js b/tests/baselines/reference/callConstructAssignment.js index 2ecc4ef183923..b32180b149a76 100644 --- a/tests/baselines/reference/callConstructAssignment.js +++ b/tests/baselines/reference/callConstructAssignment.js @@ -9,5 +9,6 @@ foo = bar; // error bar = foo; // error //// [callConstructAssignment.js] +"use strict"; foo = bar; // error bar = foo; // error diff --git a/tests/baselines/reference/callExpressionWithMissingTypeArgument1.js b/tests/baselines/reference/callExpressionWithMissingTypeArgument1.js index 514cc6a77e7ff..915a67b13161f 100644 --- a/tests/baselines/reference/callExpressionWithMissingTypeArgument1.js +++ b/tests/baselines/reference/callExpressionWithMissingTypeArgument1.js @@ -4,4 +4,5 @@ Foo(); //// [callExpressionWithMissingTypeArgument1.js] +"use strict"; Foo(); diff --git a/tests/baselines/reference/callExpressionWithTypeParameterConstrainedToOuterTypeParameter.js b/tests/baselines/reference/callExpressionWithTypeParameterConstrainedToOuterTypeParameter.js index 8bb5b9aaae827..ae9671f0a76fe 100644 --- a/tests/baselines/reference/callExpressionWithTypeParameterConstrainedToOuterTypeParameter.js +++ b/tests/baselines/reference/callExpressionWithTypeParameterConstrainedToOuterTypeParameter.js @@ -8,5 +8,6 @@ var i: I; var y = i(""); // y should be string //// [callExpressionWithTypeParameterConstrainedToOuterTypeParameter.js] +"use strict"; var i; var y = i(""); // y should be string diff --git a/tests/baselines/reference/callGenericFunctionWithIncorrectNumberOfTypeArguments.js b/tests/baselines/reference/callGenericFunctionWithIncorrectNumberOfTypeArguments.js index 956611581c8d2..deb213759cad7 100644 --- a/tests/baselines/reference/callGenericFunctionWithIncorrectNumberOfTypeArguments.js +++ b/tests/baselines/reference/callGenericFunctionWithIncorrectNumberOfTypeArguments.js @@ -47,6 +47,7 @@ var r7 = i2.f(1, ''); var r7b = i2.f(1, ''); //// [callGenericFunctionWithIncorrectNumberOfTypeArguments.js] +"use strict"; // type parameter lists must exactly match type argument lists // all of these invocations are errors function f(x, y) { return null; } diff --git a/tests/baselines/reference/callGenericFunctionWithZeroTypeArguments.js b/tests/baselines/reference/callGenericFunctionWithZeroTypeArguments.js index 5bcb94f0d1860..14a27be376f89 100644 --- a/tests/baselines/reference/callGenericFunctionWithZeroTypeArguments.js +++ b/tests/baselines/reference/callGenericFunctionWithZeroTypeArguments.js @@ -39,6 +39,7 @@ var i2: I2; var r7 = i2.f(1); //// [callGenericFunctionWithZeroTypeArguments.js] +"use strict"; // valid invocations of generic functions with no explicit type arguments provided function f(x) { return null; } var r = f(1); diff --git a/tests/baselines/reference/callNonGenericFunctionWithTypeArguments.js b/tests/baselines/reference/callNonGenericFunctionWithTypeArguments.js index 3ed8d92d72537..2a122431902f6 100644 --- a/tests/baselines/reference/callNonGenericFunctionWithTypeArguments.js +++ b/tests/baselines/reference/callNonGenericFunctionWithTypeArguments.js @@ -46,6 +46,7 @@ declare var a2: any; var r8 = a2(); //// [callNonGenericFunctionWithTypeArguments.js] +"use strict"; // it is always illegal to provide type arguments to a non-generic function // all invocations here are illegal function f(x) { return null; } diff --git a/tests/baselines/reference/callOnClass.js b/tests/baselines/reference/callOnClass.js index f2695596d1dbe..b7a9c318ec46d 100644 --- a/tests/baselines/reference/callOnClass.js +++ b/tests/baselines/reference/callOnClass.js @@ -7,6 +7,7 @@ var c = C(); //// [callOnClass.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/callOnInstance.js b/tests/baselines/reference/callOnInstance.js index b8f4ac6adfc49..d00e29d4c61e5 100644 --- a/tests/baselines/reference/callOnInstance.js +++ b/tests/baselines/reference/callOnInstance.js @@ -13,6 +13,7 @@ declare class C { constructor(value: number); } (new C(1))(); // Error for calling an instance //// [callOnInstance.js] +"use strict"; var s1 = D(); // OK var s2 = (new D(1))(); (new C(1))(); // Error for calling an instance diff --git a/tests/baselines/reference/callOverload.js b/tests/baselines/reference/callOverload.js index e1e4377119ca8..b4f41251ad7d2 100644 --- a/tests/baselines/reference/callOverload.js +++ b/tests/baselines/reference/callOverload.js @@ -14,6 +14,7 @@ withRest(); withRest(...n); //// [callOverload.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/callOverloadViaElementAccessExpression.js b/tests/baselines/reference/callOverloadViaElementAccessExpression.js index 4d00a18a4e900..ccd444188e068 100644 --- a/tests/baselines/reference/callOverloadViaElementAccessExpression.js +++ b/tests/baselines/reference/callOverloadViaElementAccessExpression.js @@ -14,6 +14,7 @@ var r: string = c['foo'](1); var r2: number = c['foo'](''); //// [callOverloadViaElementAccessExpression.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/callOverloads1.js b/tests/baselines/reference/callOverloads1.js index 1a24c858e1f3b..1c562d9e91135 100644 --- a/tests/baselines/reference/callOverloads1.js +++ b/tests/baselines/reference/callOverloads1.js @@ -20,6 +20,7 @@ f1.bar1(); Foo(); //// [callOverloads1.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(x) { // WScript.Echo("Constructor function has executed"); diff --git a/tests/baselines/reference/callOverloads2.js b/tests/baselines/reference/callOverloads2.js index 366a42fa82197..3c41361ffdf8d 100644 --- a/tests/baselines/reference/callOverloads2.js +++ b/tests/baselines/reference/callOverloads2.js @@ -26,6 +26,7 @@ Foo(); //// [callOverloads2.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(x) { // WScript.Echo("Constructor function has executed"); diff --git a/tests/baselines/reference/callOverloads3.js b/tests/baselines/reference/callOverloads3.js index 51bb69f48fbd5..75beab687a7c9 100644 --- a/tests/baselines/reference/callOverloads3.js +++ b/tests/baselines/reference/callOverloads3.js @@ -20,6 +20,7 @@ Foo("s"); //// [callOverloads3.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(x) { // WScript.Echo("Constructor function has executed"); diff --git a/tests/baselines/reference/callOverloads4.js b/tests/baselines/reference/callOverloads4.js index 96d8662c1027d..37499be514a03 100644 --- a/tests/baselines/reference/callOverloads4.js +++ b/tests/baselines/reference/callOverloads4.js @@ -20,6 +20,7 @@ Foo("s"); //// [callOverloads4.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(x) { // WScript.Echo("Constructor function has executed"); diff --git a/tests/baselines/reference/callOverloads5.js b/tests/baselines/reference/callOverloads5.js index 9fd1462f0ffaa..e54890f86f6f7 100644 --- a/tests/baselines/reference/callOverloads5.js +++ b/tests/baselines/reference/callOverloads5.js @@ -22,6 +22,7 @@ Foo("s"); //// [callOverloads5.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(x) { // WScript.Echo("Constructor function has executed"); diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance.js b/tests/baselines/reference/callSignatureAssignabilityInInheritance.js index 5ef702d2a022e..5b9fd286e9506 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance.js +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance.js @@ -70,3 +70,4 @@ namespace MemberWithCallSignature { } //// [callSignatureAssignabilityInInheritance.js] +"use strict"; diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance2.js b/tests/baselines/reference/callSignatureAssignabilityInInheritance2.js index dbd499c336ce0..868ead086ddc6 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance2.js +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance2.js @@ -72,6 +72,7 @@ interface I extends A { } //// [callSignatureAssignabilityInInheritance2.js] +"use strict"; // checking subtype relations for function types as it relates to contextual signature instantiation var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance3.js b/tests/baselines/reference/callSignatureAssignabilityInInheritance3.js index c7dc8466274e6..e427de2e877b7 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance3.js +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance3.js @@ -116,6 +116,7 @@ namespace Errors { } //// [callSignatureAssignabilityInInheritance3.js] +"use strict"; // checking subtype relations for function types as it relates to contextual signature instantiation // error cases var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance4.js b/tests/baselines/reference/callSignatureAssignabilityInInheritance4.js index b805ebb772785..c71afe6df6cd6 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance4.js +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance4.js @@ -52,6 +52,7 @@ interface I extends A { } //// [callSignatureAssignabilityInInheritance4.js] +"use strict"; // checking subtype relations for function types as it relates to contextual signature instantiation var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance5.js b/tests/baselines/reference/callSignatureAssignabilityInInheritance5.js index c26f4527fb190..70ac670f82b1f 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance5.js +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance5.js @@ -51,6 +51,7 @@ interface I extends B { } //// [callSignatureAssignabilityInInheritance5.js] +"use strict"; // checking subtype relations for function types as it relates to contextual signature instantiation // same as subtypingWithCallSignatures2 just with an extra level of indirection in the inheritance chain var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/callSignatureAssignabilityInInheritance6.js b/tests/baselines/reference/callSignatureAssignabilityInInheritance6.js index 2f57fcebd5396..cf6bbb62c5ef5 100644 --- a/tests/baselines/reference/callSignatureAssignabilityInInheritance6.js +++ b/tests/baselines/reference/callSignatureAssignabilityInInheritance6.js @@ -53,6 +53,7 @@ interface I9 extends A { } //// [callSignatureAssignabilityInInheritance6.js] +"use strict"; // checking subtype relations for function types as it relates to contextual signature instantiation // same as subtypingWithCallSignatures4 but using class type parameters instead of generic signatures // all are errors diff --git a/tests/baselines/reference/callSignatureFunctionOverload.js b/tests/baselines/reference/callSignatureFunctionOverload.js index d1bf5643567c1..40646b608f60f 100644 --- a/tests/baselines/reference/callSignatureFunctionOverload.js +++ b/tests/baselines/reference/callSignatureFunctionOverload.js @@ -17,5 +17,6 @@ var foo2: { //// [callSignatureFunctionOverload.js] +"use strict"; var foo; var foo2; diff --git a/tests/baselines/reference/callSignatureWithOptionalParameterAndInitializer.js b/tests/baselines/reference/callSignatureWithOptionalParameterAndInitializer.js index e64df78dfad5f..b631ddd094fa1 100644 --- a/tests/baselines/reference/callSignatureWithOptionalParameterAndInitializer.js +++ b/tests/baselines/reference/callSignatureWithOptionalParameterAndInitializer.js @@ -58,6 +58,7 @@ b.b(1); //// [callSignatureWithOptionalParameterAndInitializer.js] +"use strict"; // Optional parameters cannot also have initializer expressions, these are all errors function foo(x) { if (x === void 0) { x = 1; } diff --git a/tests/baselines/reference/callSignatureWithoutAnnotationsOrBody.js b/tests/baselines/reference/callSignatureWithoutAnnotationsOrBody.js index 4cd7b156b0d30..0f543ddf56435 100644 --- a/tests/baselines/reference/callSignatureWithoutAnnotationsOrBody.js +++ b/tests/baselines/reference/callSignatureWithoutAnnotationsOrBody.js @@ -22,6 +22,7 @@ var r4 = a(); var r5 = a.f(); //// [callSignatureWithoutAnnotationsOrBody.js] +"use strict"; // Call signatures without a return type annotation and function body return 'any' function foo(x) { } var r = foo(1); // void since there's a body diff --git a/tests/baselines/reference/callSignatureWithoutReturnTypeAnnotationInference.js b/tests/baselines/reference/callSignatureWithoutReturnTypeAnnotationInference.js index 07f6382f2a82a..7bdb692ae6716 100644 --- a/tests/baselines/reference/callSignatureWithoutReturnTypeAnnotationInference.js +++ b/tests/baselines/reference/callSignatureWithoutReturnTypeAnnotationInference.js @@ -123,6 +123,7 @@ function foo15() { var r15 = foo15(); //// [callSignatureWithoutReturnTypeAnnotationInference.js] +"use strict"; // Call signatures without a return type should infer one from the function body (if present) // Simple types function foo(x) { diff --git a/tests/baselines/reference/callSignaturesShouldBeResolvedBeforeSpecialization.js b/tests/baselines/reference/callSignaturesShouldBeResolvedBeforeSpecialization.js index fa6b73519fe50..6cf5c6538715f 100644 --- a/tests/baselines/reference/callSignaturesShouldBeResolvedBeforeSpecialization.js +++ b/tests/baselines/reference/callSignaturesShouldBeResolvedBeforeSpecialization.js @@ -13,6 +13,7 @@ function foo() { } //// [callSignaturesShouldBeResolvedBeforeSpecialization.js] +"use strict"; function foo() { var test; test("expects boolean instead of string"); // should not error - "test" should not expect a boolean diff --git a/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType.js b/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType.js index 53ae65599d92b..706d9b53c867a 100644 --- a/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType.js +++ b/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType.js @@ -31,5 +31,6 @@ var a2: { } //// [callSignaturesThatDifferOnlyByReturnType.js] +"use strict"; var a; var a2; diff --git a/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType2.js b/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType2.js index 13da70445befb..f14de4d39ab89 100644 --- a/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType2.js +++ b/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType2.js @@ -17,6 +17,7 @@ var r2 = x.foo(''); // error //// [callSignaturesThatDifferOnlyByReturnType2.js] +"use strict"; // Normally it is an error to have multiple overloads which differ only by return type in a single type declaration. // Here the multiple overloads come from multiple bases. // BUG 822524 diff --git a/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType3.js b/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType3.js index d9ba902f71e74..3e49f46ddbb34 100644 --- a/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType3.js +++ b/tests/baselines/reference/callSignaturesThatDifferOnlyByReturnType3.js @@ -21,5 +21,6 @@ interface I2 { } //// [callSignaturesThatDifferOnlyByReturnType3.js] +"use strict"; // Normally it is an error to have multiple overloads with identical signatures in a single type declaration. // Here the multiple overloads come from multiple merged declarations. diff --git a/tests/baselines/reference/callSignaturesWithAccessibilityModifiersOnParameters.js b/tests/baselines/reference/callSignaturesWithAccessibilityModifiersOnParameters.js index 19a4182705ccc..2328d47f0222c 100644 --- a/tests/baselines/reference/callSignaturesWithAccessibilityModifiersOnParameters.js +++ b/tests/baselines/reference/callSignaturesWithAccessibilityModifiersOnParameters.js @@ -41,6 +41,7 @@ var b = { } //// [callSignaturesWithAccessibilityModifiersOnParameters.js] +"use strict"; // Call signature parameters do not allow accessibility modifiers function foo(x, y) { } var f = function foo(x, y) { }; diff --git a/tests/baselines/reference/callSignaturesWithDuplicateParameters.js b/tests/baselines/reference/callSignaturesWithDuplicateParameters.js index dcbb509d3eedc..273e8865444d9 100644 --- a/tests/baselines/reference/callSignaturesWithDuplicateParameters.js +++ b/tests/baselines/reference/callSignaturesWithDuplicateParameters.js @@ -41,6 +41,7 @@ var b = { } //// [callSignaturesWithDuplicateParameters.js] +"use strict"; // Duplicate parameter names are always an error function foo(x, x) { } var f = function foo(x, x) { }; diff --git a/tests/baselines/reference/callSignaturesWithOptionalParameters.js b/tests/baselines/reference/callSignaturesWithOptionalParameters.js index 33702b35d8e5d..a4617807dfe48 100644 --- a/tests/baselines/reference/callSignaturesWithOptionalParameters.js +++ b/tests/baselines/reference/callSignaturesWithOptionalParameters.js @@ -58,6 +58,7 @@ b.b(1); //// [callSignaturesWithOptionalParameters.js] +"use strict"; // Optional parameters should be valid in all the below casts function foo(x) { } var f = function foo(x) { }; diff --git a/tests/baselines/reference/callSignaturesWithOptionalParameters2.js b/tests/baselines/reference/callSignaturesWithOptionalParameters2.js index fa6b9432e0c5b..9215590d7acd2 100644 --- a/tests/baselines/reference/callSignaturesWithOptionalParameters2.js +++ b/tests/baselines/reference/callSignaturesWithOptionalParameters2.js @@ -62,6 +62,7 @@ a.foo(1, 2); a.foo(1, 2, 3); //// [callSignaturesWithOptionalParameters2.js] +"use strict"; // Optional parameters should be valid in all the below casts function foo(x) { } foo(1); diff --git a/tests/baselines/reference/callSignaturesWithParameterInitializers.js b/tests/baselines/reference/callSignaturesWithParameterInitializers.js index faf3182173d53..d7d5ebf10b583 100644 --- a/tests/baselines/reference/callSignaturesWithParameterInitializers.js +++ b/tests/baselines/reference/callSignaturesWithParameterInitializers.js @@ -60,6 +60,7 @@ b.b(1); //// [callSignaturesWithParameterInitializers.js] +"use strict"; // Optional parameters allow initializers only in implementation signatures function foo(x) { if (x === void 0) { x = 1; } diff --git a/tests/baselines/reference/callSignaturesWithParameterInitializers2.js b/tests/baselines/reference/callSignaturesWithParameterInitializers2.js index 0818e4b97e0e0..4e1fa61c8f19f 100644 --- a/tests/baselines/reference/callSignaturesWithParameterInitializers2.js +++ b/tests/baselines/reference/callSignaturesWithParameterInitializers2.js @@ -28,6 +28,7 @@ b.foo(); b.foo(1); //// [callSignaturesWithParameterInitializers2.js] +"use strict"; // Optional parameters allow initializers only in implementation signatures // All the below declarations are errors function foo(x) { diff --git a/tests/baselines/reference/callWithSpread.js b/tests/baselines/reference/callWithSpread.js index 6bf603161d25c..8de4f477f71bc 100644 --- a/tests/baselines/reference/callWithSpread.js +++ b/tests/baselines/reference/callWithSpread.js @@ -61,6 +61,7 @@ class D extends C { //// [callWithSpread.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/callWithSpread2.js b/tests/baselines/reference/callWithSpread2.js index ca7a2346c1fed..6efb5b4fd18b5 100644 --- a/tests/baselines/reference/callWithSpread2.js +++ b/tests/baselines/reference/callWithSpread2.js @@ -40,6 +40,7 @@ prefix2("g", ...ns); //// [callWithSpread2.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/callWithSpread3.js b/tests/baselines/reference/callWithSpread3.js index 5d725cf67926b..001b46260f76a 100644 --- a/tests/baselines/reference/callWithSpread3.js +++ b/tests/baselines/reference/callWithSpread3.js @@ -39,6 +39,7 @@ fs5(...s2, "foo", ...s2); //// [callWithSpread3.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/callWithSpread5.js b/tests/baselines/reference/callWithSpread5.js index 5938fe6e25d3f..0df2b453a7c0e 100644 --- a/tests/baselines/reference/callWithSpread5.js +++ b/tests/baselines/reference/callWithSpread5.js @@ -11,6 +11,7 @@ fn(...nntnnnt, x) //// [callWithSpread5.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/callWithSpreadES6.js b/tests/baselines/reference/callWithSpreadES6.js index f322034c5fa79..8fbe69feddda7 100644 --- a/tests/baselines/reference/callWithSpreadES6.js +++ b/tests/baselines/reference/callWithSpreadES6.js @@ -53,6 +53,7 @@ class D extends C { //// [callWithSpreadES6.js] +"use strict"; function foo(x, y, ...z) { } var a; diff --git a/tests/baselines/reference/callWithWrongNumberOfTypeArguments.js b/tests/baselines/reference/callWithWrongNumberOfTypeArguments.js index 21d3df12cbbe1..aa7a4bd175bba 100644 --- a/tests/baselines/reference/callWithWrongNumberOfTypeArguments.js +++ b/tests/baselines/reference/callWithWrongNumberOfTypeArguments.js @@ -8,6 +8,7 @@ f(); f(); //// [callWithWrongNumberOfTypeArguments.js] +"use strict"; function f() { } f(); f(); diff --git a/tests/baselines/reference/callbackArgsDifferByOptionality.js b/tests/baselines/reference/callbackArgsDifferByOptionality.js index a9baa81b477a8..296c8a11dd15b 100644 --- a/tests/baselines/reference/callbackArgsDifferByOptionality.js +++ b/tests/baselines/reference/callbackArgsDifferByOptionality.js @@ -8,6 +8,7 @@ function x3(callback: (x: any) => number) { } //// [callbackArgsDifferByOptionality.js] +"use strict"; function x3(callback) { cb(); } diff --git a/tests/baselines/reference/callbacksDontShareTypes.js b/tests/baselines/reference/callbacksDontShareTypes.js index 7816d509af389..81b5e2437451b 100644 --- a/tests/baselines/reference/callbacksDontShareTypes.js +++ b/tests/baselines/reference/callbacksDontShareTypes.js @@ -21,6 +21,7 @@ var r5a = _.map(c2, (x) => { return x.toFixed() }); var r5b = _.map(c2, rf1); //// [callbacksDontShareTypes.js] +"use strict"; var _; var c2; var rf1 = function (x) { return x.toFixed(); }; diff --git a/tests/baselines/reference/canFollowGetSetKeyword.js b/tests/baselines/reference/canFollowGetSetKeyword.js index 261125fc938b0..38aa4f5c5b0d0 100644 --- a/tests/baselines/reference/canFollowGetSetKeyword.js +++ b/tests/baselines/reference/canFollowGetSetKeyword.js @@ -19,6 +19,7 @@ const d = { }; //// [canFollowGetSetKeyword.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; diff --git a/tests/baselines/reference/cannotInvokeNewOnErrorExpression.js b/tests/baselines/reference/cannotInvokeNewOnErrorExpression.js index 4b5346fbfad02..fb819fbea6c08 100644 --- a/tests/baselines/reference/cannotInvokeNewOnErrorExpression.js +++ b/tests/baselines/reference/cannotInvokeNewOnErrorExpression.js @@ -8,6 +8,7 @@ namespace M var t = new M.ClassA[]; //// [cannotInvokeNewOnErrorExpression.js] +"use strict"; var M; (function (M) { var ClassA = /** @class */ (function () { diff --git a/tests/baselines/reference/cannotInvokeNewOnIndexExpression.js b/tests/baselines/reference/cannotInvokeNewOnIndexExpression.js index ed93b9d635e25..09f865648f468 100644 --- a/tests/baselines/reference/cannotInvokeNewOnIndexExpression.js +++ b/tests/baselines/reference/cannotInvokeNewOnIndexExpression.js @@ -4,4 +4,5 @@ var test: any[] = new any[1]; //// [cannotInvokeNewOnIndexExpression.js] +"use strict"; var test = new any[1]; diff --git a/tests/baselines/reference/captureSuperPropertyAccessInSuperCall01.js b/tests/baselines/reference/captureSuperPropertyAccessInSuperCall01.js index 36ec9c63d53a0..1998791ca43c6 100644 --- a/tests/baselines/reference/captureSuperPropertyAccessInSuperCall01.js +++ b/tests/baselines/reference/captureSuperPropertyAccessInSuperCall01.js @@ -14,6 +14,7 @@ class B extends A { } //// [captureSuperPropertyAccessInSuperCall01.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/captureThisInSuperCall.js b/tests/baselines/reference/captureThisInSuperCall.js index 7846e9e93a6e6..d80feaff5c84f 100644 --- a/tests/baselines/reference/captureThisInSuperCall.js +++ b/tests/baselines/reference/captureThisInSuperCall.js @@ -11,6 +11,7 @@ class B extends A { } //// [captureThisInSuperCall.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/capturedLetConstInLoop1.js b/tests/baselines/reference/capturedLetConstInLoop1.js index 9927c7a787ce0..f29fef630e815 100644 --- a/tests/baselines/reference/capturedLetConstInLoop1.js +++ b/tests/baselines/reference/capturedLetConstInLoop1.js @@ -141,6 +141,7 @@ for (let ix in iobj) { } //// [capturedLetConstInLoop1.js] +"use strict"; var _loop_1 = function (x) { (function () { return x; }); (function () { return x; }); diff --git a/tests/baselines/reference/capturedLetConstInLoop10.js b/tests/baselines/reference/capturedLetConstInLoop10.js index 18b3a118a440b..d97e8b7070fd9 100644 --- a/tests/baselines/reference/capturedLetConstInLoop10.js +++ b/tests/baselines/reference/capturedLetConstInLoop10.js @@ -48,6 +48,7 @@ class B { } //// [capturedLetConstInLoop10.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/capturedLetConstInLoop10_ES6.js b/tests/baselines/reference/capturedLetConstInLoop10_ES6.js index aa1935f3f31fd..fe3f4b858696d 100644 --- a/tests/baselines/reference/capturedLetConstInLoop10_ES6.js +++ b/tests/baselines/reference/capturedLetConstInLoop10_ES6.js @@ -48,6 +48,7 @@ class B { } //// [capturedLetConstInLoop10_ES6.js] +"use strict"; class A { foo() { for (let x of [0]) { diff --git a/tests/baselines/reference/capturedLetConstInLoop11.js b/tests/baselines/reference/capturedLetConstInLoop11.js index 067e4575cabd1..d3fa877f6414b 100644 --- a/tests/baselines/reference/capturedLetConstInLoop11.js +++ b/tests/baselines/reference/capturedLetConstInLoop11.js @@ -16,6 +16,7 @@ function foo() { } //// [capturedLetConstInLoop11.js] +"use strict"; var _loop_1 = function () { var x = 1; (function () { return x; }); diff --git a/tests/baselines/reference/capturedLetConstInLoop11_ES6.js b/tests/baselines/reference/capturedLetConstInLoop11_ES6.js index 22beaa2b8ccc1..cc2002bd384a7 100644 --- a/tests/baselines/reference/capturedLetConstInLoop11_ES6.js +++ b/tests/baselines/reference/capturedLetConstInLoop11_ES6.js @@ -16,6 +16,7 @@ function foo() { } //// [capturedLetConstInLoop11_ES6.js] +"use strict"; for (;;) { let x = 1; () => x; diff --git a/tests/baselines/reference/capturedLetConstInLoop12.js b/tests/baselines/reference/capturedLetConstInLoop12.js index 1fbc3fdb6cab8..727fa3d5c179c 100644 --- a/tests/baselines/reference/capturedLetConstInLoop12.js +++ b/tests/baselines/reference/capturedLetConstInLoop12.js @@ -18,6 +18,7 @@ })(); //// [capturedLetConstInLoop12.js] +"use strict"; (function () { "use strict"; var _loop_1 = function (i) { diff --git a/tests/baselines/reference/capturedLetConstInLoop13.js b/tests/baselines/reference/capturedLetConstInLoop13.js index 791cf1448763a..a4062638be359 100644 --- a/tests/baselines/reference/capturedLetConstInLoop13.js +++ b/tests/baselines/reference/capturedLetConstInLoop13.js @@ -25,6 +25,7 @@ class Main { new Main(); //// [capturedLetConstInLoop13.js] +"use strict"; var Main = /** @class */ (function () { function Main() { this.register("a", "b", "c"); diff --git a/tests/baselines/reference/capturedLetConstInLoop1_ES6.js b/tests/baselines/reference/capturedLetConstInLoop1_ES6.js index 18727ee67a0b2..97c4b57886fda 100644 --- a/tests/baselines/reference/capturedLetConstInLoop1_ES6.js +++ b/tests/baselines/reference/capturedLetConstInLoop1_ES6.js @@ -116,6 +116,7 @@ for (const y = 0; y < 1;) { } //// [capturedLetConstInLoop1_ES6.js] +"use strict"; //==== let for (let x in {}) { (function () { return x; }); diff --git a/tests/baselines/reference/capturedLetConstInLoop2.js b/tests/baselines/reference/capturedLetConstInLoop2.js index a5c5e21a5127d..9bcc784148d4b 100644 --- a/tests/baselines/reference/capturedLetConstInLoop2.js +++ b/tests/baselines/reference/capturedLetConstInLoop2.js @@ -177,6 +177,7 @@ function foo8_c(x) { } //// [capturedLetConstInLoop2.js] +"use strict"; // ========let function foo0(x) { var _loop_1 = function (x_1) { diff --git a/tests/baselines/reference/capturedLetConstInLoop2_ES6.js b/tests/baselines/reference/capturedLetConstInLoop2_ES6.js index 745bd874e2341..444fff3e3e83d 100644 --- a/tests/baselines/reference/capturedLetConstInLoop2_ES6.js +++ b/tests/baselines/reference/capturedLetConstInLoop2_ES6.js @@ -177,6 +177,7 @@ function foo8_c(x) { } //// [capturedLetConstInLoop2_ES6.js] +"use strict"; // ========let function foo0(x) { for (let x of []) { diff --git a/tests/baselines/reference/capturedLetConstInLoop3.js b/tests/baselines/reference/capturedLetConstInLoop3.js index be6a01db29d7c..127f5910a0fdd 100644 --- a/tests/baselines/reference/capturedLetConstInLoop3.js +++ b/tests/baselines/reference/capturedLetConstInLoop3.js @@ -220,6 +220,7 @@ function foo8_c(x) { } //// [capturedLetConstInLoop3.js] +"use strict"; function foo0(x) { var _loop_1 = function (x_1) { v = x_1; diff --git a/tests/baselines/reference/capturedLetConstInLoop3_ES6.js b/tests/baselines/reference/capturedLetConstInLoop3_ES6.js index 63d6c521b68db..672d39dfff00f 100644 --- a/tests/baselines/reference/capturedLetConstInLoop3_ES6.js +++ b/tests/baselines/reference/capturedLetConstInLoop3_ES6.js @@ -220,6 +220,7 @@ function foo8_c(x) { } //// [capturedLetConstInLoop3_ES6.js] +"use strict"; function foo0(x) { for (let x of []) { var v = x; diff --git a/tests/baselines/reference/capturedLetConstInLoop5.js b/tests/baselines/reference/capturedLetConstInLoop5.js index 3310e159ca77d..e35881994fe33 100644 --- a/tests/baselines/reference/capturedLetConstInLoop5.js +++ b/tests/baselines/reference/capturedLetConstInLoop5.js @@ -282,6 +282,7 @@ function foo8_c(x) { } //// [capturedLetConstInLoop5.js] +"use strict"; //====let function foo0(x) { var _loop_1 = function (x_1) { diff --git a/tests/baselines/reference/capturedLetConstInLoop5_ES6.js b/tests/baselines/reference/capturedLetConstInLoop5_ES6.js index 2b53c3c5b2d0b..25abdcde1f83a 100644 --- a/tests/baselines/reference/capturedLetConstInLoop5_ES6.js +++ b/tests/baselines/reference/capturedLetConstInLoop5_ES6.js @@ -282,6 +282,7 @@ function foo8_c(x) { } //// [capturedLetConstInLoop5_ES6.js] +"use strict"; //====let function foo0(x) { for (let x of []) { diff --git a/tests/baselines/reference/capturedLetConstInLoop6.js b/tests/baselines/reference/capturedLetConstInLoop6.js index a336075d031ec..48109a7a9af7a 100644 --- a/tests/baselines/reference/capturedLetConstInLoop6.js +++ b/tests/baselines/reference/capturedLetConstInLoop6.js @@ -241,6 +241,7 @@ for (const y = 0; y < 1;) { //// [capturedLetConstInLoop6.js] +"use strict"; var _loop_1 = function (x) { (function () { return x; }); (function () { return x; }); diff --git a/tests/baselines/reference/capturedLetConstInLoop6_ES6.js b/tests/baselines/reference/capturedLetConstInLoop6_ES6.js index ca856a9f3f9c4..6d982ebc99af3 100644 --- a/tests/baselines/reference/capturedLetConstInLoop6_ES6.js +++ b/tests/baselines/reference/capturedLetConstInLoop6_ES6.js @@ -241,6 +241,7 @@ for (const y = 0; y < 1;) { //// [capturedLetConstInLoop6_ES6.js] +"use strict"; // ====let for (let x of []) { (function () { return x; }); diff --git a/tests/baselines/reference/capturedLetConstInLoop7.js b/tests/baselines/reference/capturedLetConstInLoop7.js index 9b1d205f53e36..cc730aceab490 100644 --- a/tests/baselines/reference/capturedLetConstInLoop7.js +++ b/tests/baselines/reference/capturedLetConstInLoop7.js @@ -378,6 +378,7 @@ for (const y = 0; y < 1;) { } //// [capturedLetConstInLoop7.js] +"use strict"; var _loop_1 = function (x) { (function () { return x; }); (function () { return x; }); diff --git a/tests/baselines/reference/capturedLetConstInLoop7_ES6.js b/tests/baselines/reference/capturedLetConstInLoop7_ES6.js index 38974e9809ab1..18122a6f1b742 100644 --- a/tests/baselines/reference/capturedLetConstInLoop7_ES6.js +++ b/tests/baselines/reference/capturedLetConstInLoop7_ES6.js @@ -378,6 +378,7 @@ for (const y = 0; y < 1;) { } //// [capturedLetConstInLoop7_ES6.js] +"use strict"; //===let l0: for (let x of []) { (function () { return x; }); diff --git a/tests/baselines/reference/capturedLetConstInLoop8.js b/tests/baselines/reference/capturedLetConstInLoop8.js index 147fe3447eb2a..2de3099cfe49c 100644 --- a/tests/baselines/reference/capturedLetConstInLoop8.js +++ b/tests/baselines/reference/capturedLetConstInLoop8.js @@ -129,6 +129,7 @@ function foo_c() { //// [capturedLetConstInLoop8.js] +"use strict"; function foo() { l0: for (var z = 0; z < 1; ++z) { var _loop_1 = function (x) { diff --git a/tests/baselines/reference/capturedLetConstInLoop8_ES6.js b/tests/baselines/reference/capturedLetConstInLoop8_ES6.js index 7ade5fcecd882..f580aa79b188e 100644 --- a/tests/baselines/reference/capturedLetConstInLoop8_ES6.js +++ b/tests/baselines/reference/capturedLetConstInLoop8_ES6.js @@ -129,6 +129,7 @@ function foo_c() { //// [capturedLetConstInLoop8_ES6.js] +"use strict"; function foo() { l0: for (let z = 0; z < 1; ++z) { l1: for (let x = 0; x < 1; ++x) { diff --git a/tests/baselines/reference/capturedLetConstInLoop9.js b/tests/baselines/reference/capturedLetConstInLoop9.js index be7d4bb85e6d8..76396da355cda 100644 --- a/tests/baselines/reference/capturedLetConstInLoop9.js +++ b/tests/baselines/reference/capturedLetConstInLoop9.js @@ -141,6 +141,7 @@ function foo3 () { } //// [capturedLetConstInLoop9.js] +"use strict"; var _loop_1 = function (x) { var x_1; (function () { return x_1; }); diff --git a/tests/baselines/reference/capturedLetConstInLoop9_ES6.js b/tests/baselines/reference/capturedLetConstInLoop9_ES6.js index d5eb6a5571405..5e53a991edb60 100644 --- a/tests/baselines/reference/capturedLetConstInLoop9_ES6.js +++ b/tests/baselines/reference/capturedLetConstInLoop9_ES6.js @@ -140,6 +140,7 @@ function foo3 () { } //// [capturedLetConstInLoop9_ES6.js] +"use strict"; for (let x = 0; x < 1; ++x) { let x; (function () { return x; }); diff --git a/tests/baselines/reference/capturedParametersInInitializers1.js b/tests/baselines/reference/capturedParametersInInitializers1.js index c3403b7186889..71ce62a3dca19 100644 --- a/tests/baselines/reference/capturedParametersInInitializers1.js +++ b/tests/baselines/reference/capturedParametersInInitializers1.js @@ -43,6 +43,7 @@ function foo9(y = {[z]() { return z; }}, z = 1) { //// [capturedParametersInInitializers1.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/capturedParametersInInitializers2.js b/tests/baselines/reference/capturedParametersInInitializers2.js index 5289fa14092ac..a432d6ac92ec7 100644 --- a/tests/baselines/reference/capturedParametersInInitializers2.js +++ b/tests/baselines/reference/capturedParametersInInitializers2.js @@ -17,6 +17,7 @@ function foo2(y = class {[x] = x}, x = 1) { } //// [capturedParametersInInitializers2.js] +"use strict"; var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); diff --git a/tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck.js b/tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck.js index 14b8387479794..cf8d8e30596b2 100644 --- a/tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck.js +++ b/tests/baselines/reference/capturedShorthandPropertyAssignmentNoCheck.js @@ -10,6 +10,7 @@ console.log(result) //// [capturedShorthandPropertyAssignmentNoCheck.js] +"use strict"; var fns = []; var _loop_1 = function (value) { fns.push(function () { return ({ value: value }); }); diff --git a/tests/baselines/reference/capturedVarInLoop.js b/tests/baselines/reference/capturedVarInLoop.js index ff49cda7181b3..c76e955a14692 100644 --- a/tests/baselines/reference/capturedVarInLoop.js +++ b/tests/baselines/reference/capturedVarInLoop.js @@ -8,6 +8,7 @@ for (var i = 0; i < 10; i++) { } //// [capturedVarInLoop.js] +"use strict"; var _loop_1 = function () { str = 'x', len = str.length; var lambda1 = function (y) { }; diff --git a/tests/baselines/reference/castExpressionParentheses.js b/tests/baselines/reference/castExpressionParentheses.js index 8d2f0a15ddf98..f76fc262ec340 100644 --- a/tests/baselines/reference/castExpressionParentheses.js +++ b/tests/baselines/reference/castExpressionParentheses.js @@ -53,6 +53,7 @@ new (A()); //// [castExpressionParentheses.js] +"use strict"; // parentheses should be omitted // literals ({ a: 0 }); diff --git a/tests/baselines/reference/castFunctionExpressionShouldBeParenthesized.js b/tests/baselines/reference/castFunctionExpressionShouldBeParenthesized.js index e42bd801c4f6f..6aa5093ffd630 100644 --- a/tests/baselines/reference/castFunctionExpressionShouldBeParenthesized.js +++ b/tests/baselines/reference/castFunctionExpressionShouldBeParenthesized.js @@ -4,4 +4,5 @@ (function a() { } as any)().foo() //// [castFunctionExpressionShouldBeParenthesized.js] +"use strict"; (function a() { }().foo()); diff --git a/tests/baselines/reference/castNewObjectBug.js b/tests/baselines/reference/castNewObjectBug.js index 54fcd26568be7..868c6226c0ea0 100644 --- a/tests/baselines/reference/castNewObjectBug.js +++ b/tests/baselines/reference/castNewObjectBug.js @@ -5,4 +5,5 @@ interface Foo { } var xx = new Object(); //// [castNewObjectBug.js] +"use strict"; var xx = new Object(); diff --git a/tests/baselines/reference/castOfAwait.js b/tests/baselines/reference/castOfAwait.js index 7450b64f47233..6e36d785983e4 100644 --- a/tests/baselines/reference/castOfAwait.js +++ b/tests/baselines/reference/castOfAwait.js @@ -11,6 +11,7 @@ async function f() { //// [castOfAwait.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/castOfYield.js b/tests/baselines/reference/castOfYield.js index 94de9e5dddfdd..491eb1a522b9f 100644 --- a/tests/baselines/reference/castOfYield.js +++ b/tests/baselines/reference/castOfYield.js @@ -9,6 +9,7 @@ function* f() { //// [castOfYield.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; diff --git a/tests/baselines/reference/castParentheses.js b/tests/baselines/reference/castParentheses.js index a00bfbb65f62e..c097445aeb8c6 100644 --- a/tests/baselines/reference/castParentheses.js +++ b/tests/baselines/reference/castParentheses.js @@ -14,6 +14,7 @@ var b = (new a.b); var b = (new a).b //// [castParentheses.js] +"use strict"; var a = /** @class */ (function () { function a() { } diff --git a/tests/baselines/reference/castTest.js b/tests/baselines/reference/castTest.js index 02412d44beded..f0209ce695c76 100644 --- a/tests/baselines/reference/castTest.js +++ b/tests/baselines/reference/castTest.js @@ -34,6 +34,7 @@ var p_cast = ({ //// [castTest.js] +"use strict"; var x = 0; var z = x; var y = x + z; diff --git a/tests/baselines/reference/castingTuple.js b/tests/baselines/reference/castingTuple.js index 247bfff81bfdd..3351ac1dc8d9f 100644 --- a/tests/baselines/reference/castingTuple.js +++ b/tests/baselines/reference/castingTuple.js @@ -37,6 +37,7 @@ t4[2] = 10; //// [castingTuple.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/catch.js b/tests/baselines/reference/catch.js index 2539bad1eaa48..772d1f32c06c4 100644 --- a/tests/baselines/reference/catch.js +++ b/tests/baselines/reference/catch.js @@ -8,6 +8,7 @@ function f() { //// [catch.js] +"use strict"; function f() { try { } catch (e) { } diff --git a/tests/baselines/reference/catchClauseWithInitializer1.js b/tests/baselines/reference/catchClauseWithInitializer1.js index 7ddb817e90a81..42cb4fa1c4704 100644 --- a/tests/baselines/reference/catchClauseWithInitializer1.js +++ b/tests/baselines/reference/catchClauseWithInitializer1.js @@ -7,6 +7,7 @@ catch (e = 1) { } //// [catchClauseWithInitializer1.js] +"use strict"; try { } catch (e = 1) { diff --git a/tests/baselines/reference/catchClauseWithTypeAnnotation.js b/tests/baselines/reference/catchClauseWithTypeAnnotation.js index f93af26df239e..9155d429c6a39 100644 --- a/tests/baselines/reference/catchClauseWithTypeAnnotation.js +++ b/tests/baselines/reference/catchClauseWithTypeAnnotation.js @@ -44,6 +44,7 @@ function fn(x: boolean) { //// [catchClauseWithTypeAnnotation.js] +"use strict"; function fn(x) { // no type annotation allowed other than `any` and `unknown` try { } diff --git a/tests/baselines/reference/cf.js b/tests/baselines/reference/cf.js index 025f7e4cd88f7..2798a2aa2c4e6 100644 --- a/tests/baselines/reference/cf.js +++ b/tests/baselines/reference/cf.js @@ -60,6 +60,7 @@ function f() { //// [cf.js] +"use strict"; function f() { var z; var x = 10; diff --git a/tests/baselines/reference/chainedAssignment1.js b/tests/baselines/reference/chainedAssignment1.js index 1b45fda503a94..4215d0ae34432 100644 --- a/tests/baselines/reference/chainedAssignment1.js +++ b/tests/baselines/reference/chainedAssignment1.js @@ -25,6 +25,7 @@ c1 = c2 = c3; // a bug made this not report the same error as below c2 = c3; // Error TS111: Cannot convert Z to Y //// [chainedAssignment1.js] +"use strict"; var X = /** @class */ (function () { function X(z) { this.z = z; diff --git a/tests/baselines/reference/chainedAssignment2.js b/tests/baselines/reference/chainedAssignment2.js index 7a92c942d7f1f..6c159fd5fc567 100644 --- a/tests/baselines/reference/chainedAssignment2.js +++ b/tests/baselines/reference/chainedAssignment2.js @@ -12,6 +12,7 @@ a = b = c = d = e = null; //// [chainedAssignment2.js] +"use strict"; var a; var b; var c; diff --git a/tests/baselines/reference/chainedAssignment3.js b/tests/baselines/reference/chainedAssignment3.js index d08a5426f492f..eb755d7e041fb 100644 --- a/tests/baselines/reference/chainedAssignment3.js +++ b/tests/baselines/reference/chainedAssignment3.js @@ -25,6 +25,7 @@ a = b = new A(); //// [chainedAssignment3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/chainedAssignmentChecking.js b/tests/baselines/reference/chainedAssignmentChecking.js index f5334ad6bcae8..4aad1a134c7c4 100644 --- a/tests/baselines/reference/chainedAssignmentChecking.js +++ b/tests/baselines/reference/chainedAssignmentChecking.js @@ -25,6 +25,7 @@ c1 = c2 = c3; // Should be error //// [chainedAssignmentChecking.js] +"use strict"; var X = /** @class */ (function () { function X(z) { this.z = z; diff --git a/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.js b/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.js index 76497857f99a0..c724f6f7022c1 100644 --- a/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.js +++ b/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.js @@ -22,6 +22,7 @@ class C extends B { (new Chain(new A)).then(a => new B).then(b => new C).then(c => new B).then(b => new A); //// [chainedCallsWithTypeParameterConstrainedToOtherTypeParameter.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.js b/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.js index ba4ad714336d8..a443647e63a33 100644 --- a/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.js +++ b/tests/baselines/reference/chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.js @@ -44,6 +44,7 @@ class Chain2 { } //// [chainedCallsWithTypeParameterConstrainedToOtherTypeParameter2.js] +"use strict"; var Chain = /** @class */ (function () { function Chain(value) { this.value = value; diff --git a/tests/baselines/reference/chainedSpecializationToObjectTypeLiteral.js b/tests/baselines/reference/chainedSpecializationToObjectTypeLiteral.js index dda6c2b79b367..175dfb1d5fb8d 100644 --- a/tests/baselines/reference/chainedSpecializationToObjectTypeLiteral.js +++ b/tests/baselines/reference/chainedSpecializationToObjectTypeLiteral.js @@ -14,6 +14,7 @@ var s3 = s2.each(x => { x.key /* Type is K, should be number */ }); //// [chainedSpecializationToObjectTypeLiteral.js] +"use strict"; var s; var s2 = s.groupBy(function (s) { return s.length; }); var s3 = s2.each(function (x) { x.key; /* Type is K, should be number */ }); diff --git a/tests/baselines/reference/checkForObjectTooStrict.js b/tests/baselines/reference/checkForObjectTooStrict.js index bf3ec1631135b..a3881beb926b1 100644 --- a/tests/baselines/reference/checkForObjectTooStrict.js +++ b/tests/baselines/reference/checkForObjectTooStrict.js @@ -34,6 +34,7 @@ class Baz extends Object { //// [checkForObjectTooStrict.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/checkInfiniteExpansionTermination.js b/tests/baselines/reference/checkInfiniteExpansionTermination.js index d54c2d76667ae..1c1abe413423f 100644 --- a/tests/baselines/reference/checkInfiniteExpansionTermination.js +++ b/tests/baselines/reference/checkInfiniteExpansionTermination.js @@ -20,6 +20,7 @@ values = values2; //// [checkInfiniteExpansionTermination.js] +"use strict"; // Regression test for #1002 // Before fix this code would cause infinite loop var values; diff --git a/tests/baselines/reference/checkInfiniteExpansionTermination2.js b/tests/baselines/reference/checkInfiniteExpansionTermination2.js index 9726e7840487d..d6e4f32fe4998 100644 --- a/tests/baselines/reference/checkInfiniteExpansionTermination2.js +++ b/tests/baselines/reference/checkInfiniteExpansionTermination2.js @@ -20,6 +20,7 @@ function fn() { //// [checkInfiniteExpansionTermination2.js] +"use strict"; // Regression test for #1002 // Before fix this code would cause infinite loop function fn() { diff --git a/tests/baselines/reference/checkInterfaceBases.js b/tests/baselines/reference/checkInterfaceBases.js index a30f4938c9e6d..812ba5e1cd763 100644 --- a/tests/baselines/reference/checkInterfaceBases.js +++ b/tests/baselines/reference/checkInterfaceBases.js @@ -16,4 +16,5 @@ interface Third extends JQueryEventObjectTest, SecondEvent {} //// [app.js] +"use strict"; /// diff --git a/tests/baselines/reference/checkJsObjectLiteralHasCheckedKeyof.js b/tests/baselines/reference/checkJsObjectLiteralHasCheckedKeyof.js index c8513a0fdc65c..a1a00f71d8778 100644 --- a/tests/baselines/reference/checkJsObjectLiteralHasCheckedKeyof.js +++ b/tests/baselines/reference/checkJsObjectLiteralHasCheckedKeyof.js @@ -15,6 +15,7 @@ selected = "z"; // should fail //// [file.js] +"use strict"; // @ts-check var obj = { x: 1, diff --git a/tests/baselines/reference/checkJsObjectLiteralIndexSignatures.js b/tests/baselines/reference/checkJsObjectLiteralIndexSignatures.js index 2ed6da1651593..f84256d3c6eae 100644 --- a/tests/baselines/reference/checkJsObjectLiteralIndexSignatures.js +++ b/tests/baselines/reference/checkJsObjectLiteralIndexSignatures.js @@ -15,6 +15,7 @@ stringIndex[s].toFixed(); //// [file.js] +"use strict"; // @ts-check var _a, _b; var n = Math.random(); diff --git a/tests/baselines/reference/checkJsdocOnEndOfFile.js b/tests/baselines/reference/checkJsdocOnEndOfFile.js index 2afda1d7ed4ec..082e8f1369c00 100644 --- a/tests/baselines/reference/checkJsdocOnEndOfFile.js +++ b/tests/baselines/reference/checkJsdocOnEndOfFile.js @@ -7,6 +7,7 @@ //// [output.js] +"use strict"; /** * @typedef {Array} Should have error here */ diff --git a/tests/baselines/reference/checkJsdocOptionalParamOrder.js b/tests/baselines/reference/checkJsdocOptionalParamOrder.js index fb8c21dabd77f..e57bdb1c2a729 100644 --- a/tests/baselines/reference/checkJsdocOptionalParamOrder.js +++ b/tests/baselines/reference/checkJsdocOptionalParamOrder.js @@ -11,6 +11,7 @@ function foo(a, b, c) {} //// [0.js] +"use strict"; // @ts-check /** * @param {number} a diff --git a/tests/baselines/reference/checkJsdocParamOnVariableDeclaredFunctionExpression.js b/tests/baselines/reference/checkJsdocParamOnVariableDeclaredFunctionExpression.js index fc3748709e8a5..8d34ba0fe0f48 100644 --- a/tests/baselines/reference/checkJsdocParamOnVariableDeclaredFunctionExpression.js +++ b/tests/baselines/reference/checkJsdocParamOnVariableDeclaredFunctionExpression.js @@ -20,6 +20,7 @@ var one = function (s) { }, two = function (untyped) { }; //// [0.js] +"use strict"; // @ts-check /** * @param {number=} n diff --git a/tests/baselines/reference/checkJsdocParamTag1.js b/tests/baselines/reference/checkJsdocParamTag1.js index 495daf0bcae8d..e13c75af15d64 100644 --- a/tests/baselines/reference/checkJsdocParamTag1.js +++ b/tests/baselines/reference/checkJsdocParamTag1.js @@ -13,6 +13,7 @@ foo(1); foo(1, "hi"); //// [0.js] +"use strict"; // @ts-check /** * @param {number=} n diff --git a/tests/baselines/reference/checkJsdocReturnTag1.js b/tests/baselines/reference/checkJsdocReturnTag1.js index 128550bf26156..d0ce5259844f0 100644 --- a/tests/baselines/reference/checkJsdocReturnTag1.js +++ b/tests/baselines/reference/checkJsdocReturnTag1.js @@ -25,6 +25,7 @@ function f2() { //// [dummy.js] +"use strict"; // @ts-check /** * @returns {string} This comment is not currently exposed diff --git a/tests/baselines/reference/checkJsdocReturnTag2.js b/tests/baselines/reference/checkJsdocReturnTag2.js index fb39bc68dc450..1fe3bac735cda 100644 --- a/tests/baselines/reference/checkJsdocReturnTag2.js +++ b/tests/baselines/reference/checkJsdocReturnTag2.js @@ -18,6 +18,7 @@ function f1() { //// [dummy.js] +"use strict"; // @ts-check /** * @returns {string} This comment is not currently exposed diff --git a/tests/baselines/reference/checkJsdocTypeTag1.js b/tests/baselines/reference/checkJsdocTypeTag1.js index e605dfc187b34..ab5f2461b6d4a 100644 --- a/tests/baselines/reference/checkJsdocTypeTag1.js +++ b/tests/baselines/reference/checkJsdocTypeTag1.js @@ -44,6 +44,7 @@ var props = {}; //// [0.js] +"use strict"; // @ts-check /** @type {String} */ var S = "hello world"; diff --git a/tests/baselines/reference/checkJsdocTypeTag2.js b/tests/baselines/reference/checkJsdocTypeTag2.js index 1e7db9aa49c82..fe39fb25ce9db 100644 --- a/tests/baselines/reference/checkJsdocTypeTag2.js +++ b/tests/baselines/reference/checkJsdocTypeTag2.js @@ -28,6 +28,7 @@ const x4 = (a) => a + 1; x4(0); //// [0.js] +"use strict"; // @ts-check /** @type {String} */ var S = true; diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.js b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.js index 4ba0cb44b7a7e..374b4f403572c 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.js +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment1.js @@ -18,6 +18,7 @@ a; //// [checkJsdocTypeTagOnExportAssignment1.js] +"use strict"; //// [a.js] "use strict"; /** diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.js b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.js index 309fb75ad8700..2ba659972eb33 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.js +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment2.js @@ -18,6 +18,7 @@ b; //// [checkJsdocTypeTagOnExportAssignment2.js] +"use strict"; //// [a.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.js b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.js index a73cf1deae4a4..2f13c124c389d 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.js +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment3.js @@ -20,6 +20,7 @@ a; //// [checkJsdocTypeTagOnExportAssignment3.js] +"use strict"; //// [a.js] "use strict"; /** diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.js b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.js index 3e280248f4c98..0f223486be07d 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.js +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment4.js @@ -13,6 +13,7 @@ export default ""; //// [checkJsdocTypeTagOnExportAssignment4.js] +"use strict"; //// [a.js] "use strict"; /** diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.js b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.js index 0934b84307c40..8f1dc21092b93 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.js +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment5.js @@ -18,6 +18,7 @@ a; //// [checkJsdocTypeTagOnExportAssignment5.js] +"use strict"; //// [a.js] "use strict"; /** diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.js b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.js index 592d06b04074d..fe466064dfd2b 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.js +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment6.js @@ -18,6 +18,7 @@ a; //// [checkJsdocTypeTagOnExportAssignment6.js] +"use strict"; //// [a.js] "use strict"; /** diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.js b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.js index 217c55ad5e904..490226e8e32b3 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.js +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment7.js @@ -20,6 +20,7 @@ a; //// [checkJsdocTypeTagOnExportAssignment7.js] +"use strict"; //// [a.js] "use strict"; /** diff --git a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.js b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.js index b63560b276ed1..5b00e961467ac 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.js +++ b/tests/baselines/reference/checkJsdocTypeTagOnExportAssignment8.js @@ -17,6 +17,7 @@ export default { //// [checkJsdocTypeTagOnExportAssignment8.js] +"use strict"; //// [a.js] "use strict"; /** diff --git a/tests/baselines/reference/checkJsdocTypeTagOnObjectProperty1.js b/tests/baselines/reference/checkJsdocTypeTagOnObjectProperty1.js index 1c5c61fcbf5f2..982b6bc9004ff 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnObjectProperty1.js +++ b/tests/baselines/reference/checkJsdocTypeTagOnObjectProperty1.js @@ -27,6 +27,7 @@ obj.bar1 = "42"; obj.arrowFunc(0); //// [0.js] +"use strict"; var _a; // @ts-check var lol = "hello Lol"; diff --git a/tests/baselines/reference/checkJsdocTypeTagOnObjectProperty2.js b/tests/baselines/reference/checkJsdocTypeTagOnObjectProperty2.js index 62fe33e8b2675..33a73339237e9 100644 --- a/tests/baselines/reference/checkJsdocTypeTagOnObjectProperty2.js +++ b/tests/baselines/reference/checkJsdocTypeTagOnObjectProperty2.js @@ -25,6 +25,7 @@ var s = obj.method1(0); var s1 = obj.method2("0"); //// [0.js] +"use strict"; // @ts-check var lol; var obj = { diff --git a/tests/baselines/reference/checkJsdocTypedefInParamTag1.js b/tests/baselines/reference/checkJsdocTypedefInParamTag1.js index 15c7e79d6f7bb..8a6f8f5462b1d 100644 --- a/tests/baselines/reference/checkJsdocTypedefInParamTag1.js +++ b/tests/baselines/reference/checkJsdocTypedefInParamTag1.js @@ -46,6 +46,7 @@ foo2({x: 'abc'}); //// [0.js] +"use strict"; // @ts-check /** * @typedef {Object} Opts diff --git a/tests/baselines/reference/checkJsdocTypedefOnlySourceFile.js b/tests/baselines/reference/checkJsdocTypedefOnlySourceFile.js index 5289265970499..3aa102995326c 100644 --- a/tests/baselines/reference/checkJsdocTypedefOnlySourceFile.js +++ b/tests/baselines/reference/checkJsdocTypedefOnlySourceFile.js @@ -15,6 +15,7 @@ const myString = 'str'; //// [0.js] +"use strict"; // @ts-check var exports = {}; /** diff --git a/tests/baselines/reference/checkJsxChildrenProperty10.js b/tests/baselines/reference/checkJsxChildrenProperty10.js index e6a7b590603bb..081d77776aaea 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty10.js +++ b/tests/baselines/reference/checkJsxChildrenProperty10.js @@ -25,6 +25,7 @@ let k3 =
{1} {"That is a number"}
; let k4 = ; //// [file.jsx] +"use strict"; var Button = /** @class */ (function () { function Button() { } diff --git a/tests/baselines/reference/checkJsxChildrenProperty11.js b/tests/baselines/reference/checkJsxChildrenProperty11.js index 32370da04024b..52880f44200f2 100644 --- a/tests/baselines/reference/checkJsxChildrenProperty11.js +++ b/tests/baselines/reference/checkJsxChildrenProperty11.js @@ -25,6 +25,7 @@ let k3 =
{1} {"That is a number"}
; let k4 = ; //// [file.jsx] +"use strict"; var Button = /** @class */ (function () { function Button() { } diff --git a/tests/baselines/reference/checkJsxNamespaceNamesQuestionableForms.js b/tests/baselines/reference/checkJsxNamespaceNamesQuestionableForms.js index 091e48d9d981d..2b046156c35d5 100644 --- a/tests/baselines/reference/checkJsxNamespaceNamesQuestionableForms.js +++ b/tests/baselines/reference/checkJsxNamespaceNamesQuestionableForms.js @@ -16,6 +16,7 @@ declare namespace JSX { ; //// [checkJsxNamespaceNamesQuestionableForms.jsx] +"use strict"; ; ; x > ; diff --git a/tests/baselines/reference/checkMergedGlobalUMDSymbol.js b/tests/baselines/reference/checkMergedGlobalUMDSymbol.js index c3a3ed6fb8ae3..acc1455075fb8 100644 --- a/tests/baselines/reference/checkMergedGlobalUMDSymbol.js +++ b/tests/baselines/reference/checkMergedGlobalUMDSymbol.js @@ -19,4 +19,5 @@ const m = THREE //// [test.js] +"use strict"; var m = THREE; diff --git a/tests/baselines/reference/checkSuperCallBeforeThisAccessing1.js b/tests/baselines/reference/checkSuperCallBeforeThisAccessing1.js index 9a49db90574c5..8b79f575ada90 100644 --- a/tests/baselines/reference/checkSuperCallBeforeThisAccessing1.js +++ b/tests/baselines/reference/checkSuperCallBeforeThisAccessing1.js @@ -13,6 +13,7 @@ class Derived extends Based { } //// [checkSuperCallBeforeThisAccessing1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/checkSuperCallBeforeThisAccessing2.js b/tests/baselines/reference/checkSuperCallBeforeThisAccessing2.js index 4f0af77ef35cb..37e2ba12d80d4 100644 --- a/tests/baselines/reference/checkSuperCallBeforeThisAccessing2.js +++ b/tests/baselines/reference/checkSuperCallBeforeThisAccessing2.js @@ -13,6 +13,7 @@ class Derived extends Based { } //// [checkSuperCallBeforeThisAccessing2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/checkSuperCallBeforeThisAccessing3.js b/tests/baselines/reference/checkSuperCallBeforeThisAccessing3.js index 840ca110cac75..6004113e22bce 100644 --- a/tests/baselines/reference/checkSuperCallBeforeThisAccessing3.js +++ b/tests/baselines/reference/checkSuperCallBeforeThisAccessing3.js @@ -18,6 +18,7 @@ class Derived extends Based { } //// [checkSuperCallBeforeThisAccessing3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/checkSuperCallBeforeThisAccessing4.js b/tests/baselines/reference/checkSuperCallBeforeThisAccessing4.js index 30fae193781c6..facafd6a4f0e5 100644 --- a/tests/baselines/reference/checkSuperCallBeforeThisAccessing4.js +++ b/tests/baselines/reference/checkSuperCallBeforeThisAccessing4.js @@ -22,6 +22,7 @@ class Derived extends Based { } //// [checkSuperCallBeforeThisAccessing4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/checkSuperCallBeforeThisAccessing5.js b/tests/baselines/reference/checkSuperCallBeforeThisAccessing5.js index 13d03e893457c..043f845738f6c 100644 --- a/tests/baselines/reference/checkSuperCallBeforeThisAccessing5.js +++ b/tests/baselines/reference/checkSuperCallBeforeThisAccessing5.js @@ -10,6 +10,7 @@ class Derived extends Based { } //// [checkSuperCallBeforeThisAccessing5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/checkSuperCallBeforeThisAccessing6.js b/tests/baselines/reference/checkSuperCallBeforeThisAccessing6.js index 78dcd037c53d5..6c692ad2d5f79 100644 --- a/tests/baselines/reference/checkSuperCallBeforeThisAccessing6.js +++ b/tests/baselines/reference/checkSuperCallBeforeThisAccessing6.js @@ -13,6 +13,7 @@ class Super extends Base { } //// [checkSuperCallBeforeThisAccessing6.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/checkSuperCallBeforeThisAccessing7.js b/tests/baselines/reference/checkSuperCallBeforeThisAccessing7.js index 6ea9f8f789244..a4c5e015bbcb0 100644 --- a/tests/baselines/reference/checkSuperCallBeforeThisAccessing7.js +++ b/tests/baselines/reference/checkSuperCallBeforeThisAccessing7.js @@ -12,6 +12,7 @@ class Super extends Base { } //// [checkSuperCallBeforeThisAccessing7.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/checkSuperCallBeforeThisAccessing8.js b/tests/baselines/reference/checkSuperCallBeforeThisAccessing8.js index 08a0f865e8b1a..063ed2ab0dde9 100644 --- a/tests/baselines/reference/checkSuperCallBeforeThisAccessing8.js +++ b/tests/baselines/reference/checkSuperCallBeforeThisAccessing8.js @@ -13,6 +13,7 @@ class Super extends Base { } //// [checkSuperCallBeforeThisAccessing8.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/checkSwitchStatementIfCaseTypeIsString.js b/tests/baselines/reference/checkSwitchStatementIfCaseTypeIsString.js index 7ca83b5ac7c1a..834e6e6d3d538 100644 --- a/tests/baselines/reference/checkSwitchStatementIfCaseTypeIsString.js +++ b/tests/baselines/reference/checkSwitchStatementIfCaseTypeIsString.js @@ -14,6 +14,7 @@ class A { } //// [checkSwitchStatementIfCaseTypeIsString.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/checkTypePredicateForRedundantProperties.js b/tests/baselines/reference/checkTypePredicateForRedundantProperties.js index 9ff549b780937..fe0f37fd7ecee 100644 --- a/tests/baselines/reference/checkTypePredicateForRedundantProperties.js +++ b/tests/baselines/reference/checkTypePredicateForRedundantProperties.js @@ -7,6 +7,7 @@ function addProp2(x: any): x is { a: string; a: string; } { //// [checkTypePredicateForRedundantProperties.js] +"use strict"; function addProp2(x) { return true; } diff --git a/tests/baselines/reference/circularConstrainedMappedTypeNoCrash.js b/tests/baselines/reference/circularConstrainedMappedTypeNoCrash.js index 3836cd531b021..5edecd08149d5 100644 --- a/tests/baselines/reference/circularConstrainedMappedTypeNoCrash.js +++ b/tests/baselines/reference/circularConstrainedMappedTypeNoCrash.js @@ -6,3 +6,4 @@ type Loop> = { }; //// [circularConstrainedMappedTypeNoCrash.js] +"use strict"; diff --git a/tests/baselines/reference/circularConstraintYieldsAppropriateError.js b/tests/baselines/reference/circularConstraintYieldsAppropriateError.js index aaa472ac8bf41..650f291f7da16 100644 --- a/tests/baselines/reference/circularConstraintYieldsAppropriateError.js +++ b/tests/baselines/reference/circularConstraintYieldsAppropriateError.js @@ -20,6 +20,7 @@ const foo = new Foo(); foo.bar.test //// [circularConstraintYieldsAppropriateError.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/circularGetAccessor(noimplicitany=false).js b/tests/baselines/reference/circularGetAccessor(noimplicitany=false).js index 01c8bc80b1f23..1544dc79b926a 100644 --- a/tests/baselines/reference/circularGetAccessor(noimplicitany=false).js +++ b/tests/baselines/reference/circularGetAccessor(noimplicitany=false).js @@ -7,3 +7,4 @@ declare class C { //// [circularGetAccessor.js] +"use strict"; diff --git a/tests/baselines/reference/circularGetAccessor(noimplicitany=true).js b/tests/baselines/reference/circularGetAccessor(noimplicitany=true).js index 01c8bc80b1f23..1544dc79b926a 100644 --- a/tests/baselines/reference/circularGetAccessor(noimplicitany=true).js +++ b/tests/baselines/reference/circularGetAccessor(noimplicitany=true).js @@ -7,3 +7,4 @@ declare class C { //// [circularGetAccessor.js] +"use strict"; diff --git a/tests/baselines/reference/circularImportAlias.js b/tests/baselines/reference/circularImportAlias.js index b25bdf9d1a19e..2cdb46b29ce22 100644 --- a/tests/baselines/reference/circularImportAlias.js +++ b/tests/baselines/reference/circularImportAlias.js @@ -22,6 +22,7 @@ var c = new B.a.C(); //// [circularImportAlias.js] +"use strict"; // expected no error var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/circularIndexedAccessErrors.js b/tests/baselines/reference/circularIndexedAccessErrors.js index 8ce2bf0cb3cb9..f69ceaae1fa8e 100644 --- a/tests/baselines/reference/circularIndexedAccessErrors.js +++ b/tests/baselines/reference/circularIndexedAccessErrors.js @@ -42,6 +42,7 @@ function foo() { //// [circularIndexedAccessErrors.js] +"use strict"; var x2x = x2.x; var C1 = /** @class */ (function () { function C1() { diff --git a/tests/baselines/reference/circularInferredTypeOfVariable.js b/tests/baselines/reference/circularInferredTypeOfVariable.js index f046127fa47eb..29d713ccd9481 100644 --- a/tests/baselines/reference/circularInferredTypeOfVariable.js +++ b/tests/baselines/reference/circularInferredTypeOfVariable.js @@ -21,6 +21,7 @@ }); //// [circularInferredTypeOfVariable.js] +"use strict"; // Repro from #14428 var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } @@ -31,7 +32,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; -(() => __awaiter(this, void 0, void 0, function* () { +(() => __awaiter(void 0, void 0, void 0, function* () { function foo(p) { return []; } diff --git a/tests/baselines/reference/circularInstantiationExpression.js b/tests/baselines/reference/circularInstantiationExpression.js index 74d428a9f9547..49146b90d2a6e 100644 --- a/tests/baselines/reference/circularInstantiationExpression.js +++ b/tests/baselines/reference/circularInstantiationExpression.js @@ -6,6 +6,7 @@ foo(""); //// [circularInstantiationExpression.js] +"use strict"; foo(""); diff --git a/tests/baselines/reference/circularModuleImports.js b/tests/baselines/reference/circularModuleImports.js index 129feb9cbd247..dc9b50c096abe 100644 --- a/tests/baselines/reference/circularModuleImports.js +++ b/tests/baselines/reference/circularModuleImports.js @@ -13,3 +13,4 @@ namespace M //// [circularModuleImports.js] +"use strict"; diff --git a/tests/baselines/reference/circularObjectLiteralAccessors.js b/tests/baselines/reference/circularObjectLiteralAccessors.js index 339fa570e7172..87a64ed4abb51 100644 --- a/tests/baselines/reference/circularObjectLiteralAccessors.js +++ b/tests/baselines/reference/circularObjectLiteralAccessors.js @@ -16,6 +16,7 @@ const a = { }; //// [circularObjectLiteralAccessors.js] +"use strict"; // Repro from #6000 var a = { b: { diff --git a/tests/baselines/reference/circularOptionalityRemoval.js b/tests/baselines/reference/circularOptionalityRemoval.js index 3342916565f75..bc4f4a415529c 100644 --- a/tests/baselines/reference/circularOptionalityRemoval.js +++ b/tests/baselines/reference/circularOptionalityRemoval.js @@ -8,6 +8,7 @@ function fn1(x: number | undefined = x > 0 ? x : 0) { } function fn2(x?: string = someCondition ? 'value1' : x) { } //// [circularOptionalityRemoval.js] +"use strict"; // Constructed repro function fn1(x) { if (x === void 0) { x = x > 0 ? x : 0; } diff --git a/tests/baselines/reference/circularTypeAliasForUnionWithClass.js b/tests/baselines/reference/circularTypeAliasForUnionWithClass.js index ef7ea2132dc4d..3ca69df539561 100644 --- a/tests/baselines/reference/circularTypeAliasForUnionWithClass.js +++ b/tests/baselines/reference/circularTypeAliasForUnionWithClass.js @@ -21,6 +21,7 @@ class I4 { //// [circularTypeAliasForUnionWithClass.js] +"use strict"; var v0; var I0 = /** @class */ (function () { function I0() { diff --git a/tests/baselines/reference/circularTypeAliasForUnionWithInterface.js b/tests/baselines/reference/circularTypeAliasForUnionWithInterface.js index 4bf1f2297eb61..454427ebd63f2 100644 --- a/tests/baselines/reference/circularTypeAliasForUnionWithInterface.js +++ b/tests/baselines/reference/circularTypeAliasForUnionWithInterface.js @@ -33,6 +33,7 @@ interface I4 { //// [circularTypeAliasForUnionWithInterface.js] +"use strict"; var v0; var v1; var v2; diff --git a/tests/baselines/reference/circularTypeofWithFunctionModule.js b/tests/baselines/reference/circularTypeofWithFunctionModule.js index 70ab88d2db492..c3d93a426241c 100644 --- a/tests/baselines/reference/circularTypeofWithFunctionModule.js +++ b/tests/baselines/reference/circularTypeofWithFunctionModule.js @@ -15,6 +15,7 @@ namespace maker { //// [circularTypeofWithFunctionModule.js] +"use strict"; // Repro from #6072 var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/circularTypeofWithVarOrFunc.js b/tests/baselines/reference/circularTypeofWithVarOrFunc.js index f6425e7fbb322..7501b260a2f9d 100644 --- a/tests/baselines/reference/circularTypeofWithVarOrFunc.js +++ b/tests/baselines/reference/circularTypeofWithVarOrFunc.js @@ -30,6 +30,7 @@ function f(): R2 { return 0; } //// [circularTypeofWithVarOrFunc.js] +"use strict"; var varOfAliasedType1; var varOfAliasedType2; function func() { return null; } diff --git a/tests/baselines/reference/circularlyReferentialInterfaceAccessNoCrash.js b/tests/baselines/reference/circularlyReferentialInterfaceAccessNoCrash.js index 2cad6d7fb4748..02e1dd650f457 100644 --- a/tests/baselines/reference/circularlyReferentialInterfaceAccessNoCrash.js +++ b/tests/baselines/reference/circularlyReferentialInterfaceAccessNoCrash.js @@ -14,3 +14,4 @@ type TupleElem = [['list', TupleElem[0][0]]]; //// [circularlyReferentialInterfaceAccessNoCrash.js] +"use strict"; diff --git a/tests/baselines/reference/class2.js b/tests/baselines/reference/class2.js index a4613fd9d6858..afcb80ac9402a 100644 --- a/tests/baselines/reference/class2.js +++ b/tests/baselines/reference/class2.js @@ -4,6 +4,7 @@ class foo { constructor() { static f = 3; } } //// [class2.js] +"use strict"; var foo = /** @class */ (function () { function foo() { } diff --git a/tests/baselines/reference/classAbstractAccessor.js b/tests/baselines/reference/classAbstractAccessor.js index 37cd54edf0e1a..ee3ef95f7a5a7 100644 --- a/tests/baselines/reference/classAbstractAccessor.js +++ b/tests/baselines/reference/classAbstractAccessor.js @@ -10,6 +10,7 @@ abstract class A { //// [classAbstractAccessor.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classAbstractAsIdentifier.js b/tests/baselines/reference/classAbstractAsIdentifier.js index 9d6ca69f5b610..e45078f1e7ab9 100644 --- a/tests/baselines/reference/classAbstractAsIdentifier.js +++ b/tests/baselines/reference/classAbstractAsIdentifier.js @@ -8,6 +8,7 @@ class abstract { new abstract; //// [classAbstractAsIdentifier.js] +"use strict"; var abstract = /** @class */ (function () { function abstract() { } diff --git a/tests/baselines/reference/classAbstractAssignabilityConstructorFunction.js b/tests/baselines/reference/classAbstractAssignabilityConstructorFunction.js index d788bdaa02fff..4e369a289fb74 100644 --- a/tests/baselines/reference/classAbstractAssignabilityConstructorFunction.js +++ b/tests/baselines/reference/classAbstractAssignabilityConstructorFunction.js @@ -11,6 +11,7 @@ AAA = A; // error. AAA = "asdf"; //// [classAbstractAssignabilityConstructorFunction.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classAbstractClinterfaceAssignability.js b/tests/baselines/reference/classAbstractClinterfaceAssignability.js index bb912dba49016..909674c91cb46 100644 --- a/tests/baselines/reference/classAbstractClinterfaceAssignability.js +++ b/tests/baselines/reference/classAbstractClinterfaceAssignability.js @@ -26,6 +26,7 @@ declare var AAA: typeof I; AAA = A; //// [classAbstractClinterfaceAssignability.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classAbstractConstructor.js b/tests/baselines/reference/classAbstractConstructor.js index 639d650a7a273..b0ee40dd9a517 100644 --- a/tests/baselines/reference/classAbstractConstructor.js +++ b/tests/baselines/reference/classAbstractConstructor.js @@ -6,6 +6,7 @@ abstract class A { } //// [classAbstractConstructor.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classAbstractConstructorAssignability.js b/tests/baselines/reference/classAbstractConstructorAssignability.js index 0a2500aef1448..85bb66369a908 100644 --- a/tests/baselines/reference/classAbstractConstructorAssignability.js +++ b/tests/baselines/reference/classAbstractConstructorAssignability.js @@ -16,6 +16,7 @@ new BB; new CC; //// [classAbstractConstructorAssignability.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractCrashedOnce.js b/tests/baselines/reference/classAbstractCrashedOnce.js index 9e907bcd76659..f9854faafc165 100644 --- a/tests/baselines/reference/classAbstractCrashedOnce.js +++ b/tests/baselines/reference/classAbstractCrashedOnce.js @@ -13,6 +13,7 @@ class bar extends foo { var x = new bar(); //// [classAbstractCrashedOnce.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractExtends.js b/tests/baselines/reference/classAbstractExtends.js index ca6b87b2d20c5..6465045d5e0d8 100644 --- a/tests/baselines/reference/classAbstractExtends.js +++ b/tests/baselines/reference/classAbstractExtends.js @@ -18,6 +18,7 @@ class E extends B { } //// [classAbstractExtends.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractFactoryFunction.js b/tests/baselines/reference/classAbstractFactoryFunction.js index 6a224bc9d9cac..9d59f69530072 100644 --- a/tests/baselines/reference/classAbstractFactoryFunction.js +++ b/tests/baselines/reference/classAbstractFactoryFunction.js @@ -19,6 +19,7 @@ NewB(A); NewB(B); //// [classAbstractFactoryFunction.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractGeneric.js b/tests/baselines/reference/classAbstractGeneric.js index 061feebd50d24..d298b25ef8238 100644 --- a/tests/baselines/reference/classAbstractGeneric.js +++ b/tests/baselines/reference/classAbstractGeneric.js @@ -28,6 +28,7 @@ class G extends A { } //// [classAbstractGeneric.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractImportInstantiation.js b/tests/baselines/reference/classAbstractImportInstantiation.js index f0bf58089693b..496a5a0248168 100644 --- a/tests/baselines/reference/classAbstractImportInstantiation.js +++ b/tests/baselines/reference/classAbstractImportInstantiation.js @@ -13,6 +13,7 @@ new myA; //// [classAbstractImportInstantiation.js] +"use strict"; var M; (function (M) { var A = /** @class */ (function () { diff --git a/tests/baselines/reference/classAbstractInAModule.js b/tests/baselines/reference/classAbstractInAModule.js index 02951e0c03310..c3433dfb7f8ac 100644 --- a/tests/baselines/reference/classAbstractInAModule.js +++ b/tests/baselines/reference/classAbstractInAModule.js @@ -10,6 +10,7 @@ new M.A; new M.B; //// [classAbstractInAModule.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractInheritance1.js b/tests/baselines/reference/classAbstractInheritance1.js index 7e7211374d647..07ca1d3d0bc37 100644 --- a/tests/baselines/reference/classAbstractInheritance1.js +++ b/tests/baselines/reference/classAbstractInheritance1.js @@ -24,6 +24,7 @@ class FF extends CC {} abstract class GG extends CC {} //// [classAbstractInheritance1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractInheritance2.js b/tests/baselines/reference/classAbstractInheritance2.js index 3beb03e2dac72..a15c72471aea1 100644 --- a/tests/baselines/reference/classAbstractInheritance2.js +++ b/tests/baselines/reference/classAbstractInheritance2.js @@ -15,6 +15,7 @@ const C = class extends A {} //// [classAbstractInheritance2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractInstantiations1.js b/tests/baselines/reference/classAbstractInstantiations1.js index 74a5fbf3706c7..d9b22bebd34fb 100644 --- a/tests/baselines/reference/classAbstractInstantiations1.js +++ b/tests/baselines/reference/classAbstractInstantiations1.js @@ -26,6 +26,7 @@ c = new B; //// [classAbstractInstantiations1.js] +"use strict"; // // Calling new with (non)abstract classes. // diff --git a/tests/baselines/reference/classAbstractInstantiations2.js b/tests/baselines/reference/classAbstractInstantiations2.js index 5f257408b4ab8..9aaaf16d0bfd7 100644 --- a/tests/baselines/reference/classAbstractInstantiations2.js +++ b/tests/baselines/reference/classAbstractInstantiations2.js @@ -54,6 +54,7 @@ class H { // error -- not declared abstract } //// [classAbstractInstantiations2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractMergedDeclaration.js b/tests/baselines/reference/classAbstractMergedDeclaration.js index 8ea172bcd5f11..99bd7ee3e8493 100644 --- a/tests/baselines/reference/classAbstractMergedDeclaration.js +++ b/tests/baselines/reference/classAbstractMergedDeclaration.js @@ -43,6 +43,7 @@ new DCC1; new DCC2; //// [classAbstractMergedDeclaration.js] +"use strict"; var CM = /** @class */ (function () { function CM() { } diff --git a/tests/baselines/reference/classAbstractMethodInNonAbstractClass.js b/tests/baselines/reference/classAbstractMethodInNonAbstractClass.js index f3a0ff3271030..0a369575f3ac1 100644 --- a/tests/baselines/reference/classAbstractMethodInNonAbstractClass.js +++ b/tests/baselines/reference/classAbstractMethodInNonAbstractClass.js @@ -10,6 +10,7 @@ class B { } //// [classAbstractMethodInNonAbstractClass.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classAbstractMethodWithImplementation.js b/tests/baselines/reference/classAbstractMethodWithImplementation.js index 77ea1165eca1e..985c886723a3c 100644 --- a/tests/baselines/reference/classAbstractMethodWithImplementation.js +++ b/tests/baselines/reference/classAbstractMethodWithImplementation.js @@ -6,6 +6,7 @@ abstract class A { } //// [classAbstractMethodWithImplementation.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classAbstractMixedWithModifiers.js b/tests/baselines/reference/classAbstractMixedWithModifiers.js index 3556040688060..7ab73dc1c1236 100644 --- a/tests/baselines/reference/classAbstractMixedWithModifiers.js +++ b/tests/baselines/reference/classAbstractMixedWithModifiers.js @@ -21,6 +21,7 @@ abstract class A { //// [classAbstractMixedWithModifiers.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classAbstractOverloads.js b/tests/baselines/reference/classAbstractOverloads.js index f3bf4cd0ca0f7..0c523612e9827 100644 --- a/tests/baselines/reference/classAbstractOverloads.js +++ b/tests/baselines/reference/classAbstractOverloads.js @@ -27,6 +27,7 @@ abstract class B { } //// [classAbstractOverloads.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classAbstractOverrideWithAbstract.js b/tests/baselines/reference/classAbstractOverrideWithAbstract.js index 787cfd35578ef..7636381cc3c4e 100644 --- a/tests/baselines/reference/classAbstractOverrideWithAbstract.js +++ b/tests/baselines/reference/classAbstractOverrideWithAbstract.js @@ -26,6 +26,7 @@ class DD extends BB { } //// [classAbstractOverrideWithAbstract.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractProperties.js b/tests/baselines/reference/classAbstractProperties.js index bb690947b5d8b..8bf9dbe271ee0 100644 --- a/tests/baselines/reference/classAbstractProperties.js +++ b/tests/baselines/reference/classAbstractProperties.js @@ -16,6 +16,7 @@ abstract class A { } //// [classAbstractProperties.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classAbstractSingleLineDecl.js b/tests/baselines/reference/classAbstractSingleLineDecl.js index 32da342bc6584..fe88a7c780b40 100644 --- a/tests/baselines/reference/classAbstractSingleLineDecl.js +++ b/tests/baselines/reference/classAbstractSingleLineDecl.js @@ -15,6 +15,7 @@ new B; new C; //// [classAbstractSingleLineDecl.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classAbstractSuperCalls.js b/tests/baselines/reference/classAbstractSuperCalls.js index b7a34d832ddb3..4b4f689febf24 100644 --- a/tests/baselines/reference/classAbstractSuperCalls.js +++ b/tests/baselines/reference/classAbstractSuperCalls.js @@ -29,6 +29,7 @@ abstract class BB extends AA { //// [classAbstractSuperCalls.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractUsingAbstractMethod1.js b/tests/baselines/reference/classAbstractUsingAbstractMethod1.js index 6240d5cb2bc95..9820801895e35 100644 --- a/tests/baselines/reference/classAbstractUsingAbstractMethod1.js +++ b/tests/baselines/reference/classAbstractUsingAbstractMethod1.js @@ -20,6 +20,7 @@ a = new C; // error, cannot instantiate abstract class. a.foo(); //// [classAbstractUsingAbstractMethod1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractUsingAbstractMethods2.js b/tests/baselines/reference/classAbstractUsingAbstractMethods2.js index 765f5c2868321..3c33706a2c7e8 100644 --- a/tests/baselines/reference/classAbstractUsingAbstractMethods2.js +++ b/tests/baselines/reference/classAbstractUsingAbstractMethods2.js @@ -30,6 +30,7 @@ class DD extends AA { } //// [classAbstractUsingAbstractMethods2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classAbstractWithInterface.js b/tests/baselines/reference/classAbstractWithInterface.js index d7e8c0042c200..e360c1780f028 100644 --- a/tests/baselines/reference/classAbstractWithInterface.js +++ b/tests/baselines/reference/classAbstractWithInterface.js @@ -4,3 +4,4 @@ abstract interface I {} //// [classAbstractWithInterface.js] +"use strict"; diff --git a/tests/baselines/reference/classAndInterfaceMergeConflictingMembers.js b/tests/baselines/reference/classAndInterfaceMergeConflictingMembers.js index 64dea62aff45b..6ba0ca0eb6917 100644 --- a/tests/baselines/reference/classAndInterfaceMergeConflictingMembers.js +++ b/tests/baselines/reference/classAndInterfaceMergeConflictingMembers.js @@ -26,3 +26,4 @@ interface C3 { } //// [classAndInterfaceMergeConflictingMembers.js] +"use strict"; diff --git a/tests/baselines/reference/classAndInterfaceWithSameName.js b/tests/baselines/reference/classAndInterfaceWithSameName.js index 5dc95ea041b48..c49812cec6a42 100644 --- a/tests/baselines/reference/classAndInterfaceWithSameName.js +++ b/tests/baselines/reference/classAndInterfaceWithSameName.js @@ -15,6 +15,7 @@ namespace M { } //// [classAndInterfaceWithSameName.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classAndVariableWithSameName.js b/tests/baselines/reference/classAndVariableWithSameName.js index c3ddb1fab3c8c..a2c2d6715a671 100644 --- a/tests/baselines/reference/classAndVariableWithSameName.js +++ b/tests/baselines/reference/classAndVariableWithSameName.js @@ -13,6 +13,7 @@ namespace M { } //// [classAndVariableWithSameName.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classAppearsToHaveMembersOfObject.js b/tests/baselines/reference/classAppearsToHaveMembersOfObject.js index 945b798e7e01b..915351f482d92 100644 --- a/tests/baselines/reference/classAppearsToHaveMembersOfObject.js +++ b/tests/baselines/reference/classAppearsToHaveMembersOfObject.js @@ -11,6 +11,7 @@ var o2: {} = c; //// [classAppearsToHaveMembersOfObject.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classBlockScoping.js b/tests/baselines/reference/classBlockScoping.js index 7342e0f3ac227..98a8e38f1cb07 100644 --- a/tests/baselines/reference/classBlockScoping.js +++ b/tests/baselines/reference/classBlockScoping.js @@ -36,6 +36,7 @@ function f(b: boolean) { } //// [classBlockScoping.js] +"use strict"; function f(b) { var _a; var Foo; diff --git a/tests/baselines/reference/classBodyWithStatements.js b/tests/baselines/reference/classBodyWithStatements.js index 923e02cb8c1a5..7caf09120dd61 100644 --- a/tests/baselines/reference/classBodyWithStatements.js +++ b/tests/baselines/reference/classBodyWithStatements.js @@ -16,6 +16,7 @@ class C3 { } //// [classBodyWithStatements.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classCannotExtendVar.js b/tests/baselines/reference/classCannotExtendVar.js index 7fe0168781d25..39138fdb11b1d 100644 --- a/tests/baselines/reference/classCannotExtendVar.js +++ b/tests/baselines/reference/classCannotExtendVar.js @@ -10,6 +10,7 @@ class Markup { //// [classCannotExtendVar.js] +"use strict"; var Markup; var Markup = /** @class */ (function () { function Markup() { diff --git a/tests/baselines/reference/classConstructorAccessibility.js b/tests/baselines/reference/classConstructorAccessibility.js index 6661e4e99664d..ac5031930b24f 100644 --- a/tests/baselines/reference/classConstructorAccessibility.js +++ b/tests/baselines/reference/classConstructorAccessibility.js @@ -37,6 +37,7 @@ namespace Generic { //// [classConstructorAccessibility.js] +"use strict"; var C = /** @class */ (function () { function C(x) { this.x = x; diff --git a/tests/baselines/reference/classConstructorAccessibility2.js b/tests/baselines/reference/classConstructorAccessibility2.js index ea347fc7287e6..919645fed33b6 100644 --- a/tests/baselines/reference/classConstructorAccessibility2.js +++ b/tests/baselines/reference/classConstructorAccessibility2.js @@ -48,6 +48,7 @@ var dc = new DerivedC(1); //// [classConstructorAccessibility2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classConstructorAccessibility3.js b/tests/baselines/reference/classConstructorAccessibility3.js index d9a9d99af94c9..45192c4d7ee6a 100644 --- a/tests/baselines/reference/classConstructorAccessibility3.js +++ b/tests/baselines/reference/classConstructorAccessibility3.js @@ -36,6 +36,7 @@ c = Bar; c = Baz; //// [classConstructorAccessibility3.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(x) { this.x = x; diff --git a/tests/baselines/reference/classConstructorAccessibility4.js b/tests/baselines/reference/classConstructorAccessibility4.js index d28ca291e8e67..ea41bd3eb45e6 100644 --- a/tests/baselines/reference/classConstructorAccessibility4.js +++ b/tests/baselines/reference/classConstructorAccessibility4.js @@ -32,6 +32,7 @@ class D { } //// [classConstructorAccessibility4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classConstructorAccessibility5.js b/tests/baselines/reference/classConstructorAccessibility5.js index fa422b3f8cfe7..10542e932ae6b 100644 --- a/tests/baselines/reference/classConstructorAccessibility5.js +++ b/tests/baselines/reference/classConstructorAccessibility5.js @@ -14,6 +14,7 @@ class Unrelated { //// [classConstructorAccessibility5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classConstructorOverloadsAccessibility.js b/tests/baselines/reference/classConstructorOverloadsAccessibility.js index ae86315027fa4..bc9a64fb77a89 100644 --- a/tests/baselines/reference/classConstructorOverloadsAccessibility.js +++ b/tests/baselines/reference/classConstructorOverloadsAccessibility.js @@ -35,6 +35,7 @@ class D { } //// [classConstructorOverloadsAccessibility.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classConstructorParametersAccessibility.js b/tests/baselines/reference/classConstructorParametersAccessibility.js index a3508edaa72f6..7beb8853bb9c4 100644 --- a/tests/baselines/reference/classConstructorParametersAccessibility.js +++ b/tests/baselines/reference/classConstructorParametersAccessibility.js @@ -29,6 +29,7 @@ class Derived extends C3 { //// [classConstructorParametersAccessibility.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classConstructorParametersAccessibility2.js b/tests/baselines/reference/classConstructorParametersAccessibility2.js index 705364412cd77..a966c5aef9304 100644 --- a/tests/baselines/reference/classConstructorParametersAccessibility2.js +++ b/tests/baselines/reference/classConstructorParametersAccessibility2.js @@ -29,6 +29,7 @@ class Derived extends C3 { //// [classConstructorParametersAccessibility2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classConstructorParametersAccessibility3.js b/tests/baselines/reference/classConstructorParametersAccessibility3.js index 7b20cb86b2b3d..c671e5d95fe46 100644 --- a/tests/baselines/reference/classConstructorParametersAccessibility3.js +++ b/tests/baselines/reference/classConstructorParametersAccessibility3.js @@ -16,6 +16,7 @@ var d: Derived; d.p; // public, OK //// [classConstructorParametersAccessibility3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classDeclarationBlockScoping1.js b/tests/baselines/reference/classDeclarationBlockScoping1.js index c0a31bdd71422..3b15523a7205c 100644 --- a/tests/baselines/reference/classDeclarationBlockScoping1.js +++ b/tests/baselines/reference/classDeclarationBlockScoping1.js @@ -10,6 +10,7 @@ class C { } //// [classDeclarationBlockScoping1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classDeclarationBlockScoping2.js b/tests/baselines/reference/classDeclarationBlockScoping2.js index d0e362dedfaa5..d3fdf7c148dea 100644 --- a/tests/baselines/reference/classDeclarationBlockScoping2.js +++ b/tests/baselines/reference/classDeclarationBlockScoping2.js @@ -12,6 +12,7 @@ function f() { } //// [classDeclarationBlockScoping2.js] +"use strict"; function f() { var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classDeclarationCheckUsedBeforeDefinitionInFunctionDeclaration.js b/tests/baselines/reference/classDeclarationCheckUsedBeforeDefinitionInFunctionDeclaration.js index dc7770a42b264..cb57477bb1d54 100644 --- a/tests/baselines/reference/classDeclarationCheckUsedBeforeDefinitionInFunctionDeclaration.js +++ b/tests/baselines/reference/classDeclarationCheckUsedBeforeDefinitionInFunctionDeclaration.js @@ -7,6 +7,7 @@ function f() { class C2 { } //// [classDeclarationCheckUsedBeforeDefinitionInFunctionDeclaration.js] +"use strict"; function f() { new C2(); // OK } diff --git a/tests/baselines/reference/classDeclarationCheckUsedBeforeDefinitionInItself.js b/tests/baselines/reference/classDeclarationCheckUsedBeforeDefinitionInItself.js index 6c6bd9f843b2b..1c8bf0c8fe0b7 100644 --- a/tests/baselines/reference/classDeclarationCheckUsedBeforeDefinitionInItself.js +++ b/tests/baselines/reference/classDeclarationCheckUsedBeforeDefinitionInItself.js @@ -6,6 +6,7 @@ class C3 { } //// [classDeclarationCheckUsedBeforeDefinitionInItself.js] +"use strict"; class C3 { } C3.intance = new C3(); // ok diff --git a/tests/baselines/reference/classDeclarationLoop.js b/tests/baselines/reference/classDeclarationLoop.js index 13df4765a5923..a1dc4a725d33f 100644 --- a/tests/baselines/reference/classDeclarationLoop.js +++ b/tests/baselines/reference/classDeclarationLoop.js @@ -11,6 +11,7 @@ for (let i = 0; i < 10; ++i) { //// [classDeclarationLoop.js] +"use strict"; var arr = []; var _loop_1 = function (i) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/classDeclarationMergedInModuleWithContinuation.js b/tests/baselines/reference/classDeclarationMergedInModuleWithContinuation.js index 3d03656d05f51..e5bfe02987a5c 100644 --- a/tests/baselines/reference/classDeclarationMergedInModuleWithContinuation.js +++ b/tests/baselines/reference/classDeclarationMergedInModuleWithContinuation.js @@ -14,6 +14,7 @@ namespace M { } //// [classDeclarationMergedInModuleWithContinuation.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classDeclarationShouldBeOutOfScopeInComputedNames.js b/tests/baselines/reference/classDeclarationShouldBeOutOfScopeInComputedNames.js index 5963af9485a05..dc2cf9b4e55d7 100644 --- a/tests/baselines/reference/classDeclarationShouldBeOutOfScopeInComputedNames.js +++ b/tests/baselines/reference/classDeclarationShouldBeOutOfScopeInComputedNames.js @@ -13,6 +13,7 @@ class A { //// [classDeclarationShouldBeOutOfScopeInComputedNames.js] +"use strict"; var A = /** @class */ (function () { function A() { this[_b] = 0; diff --git a/tests/baselines/reference/classDeclaredBeforeClassFactory.js b/tests/baselines/reference/classDeclaredBeforeClassFactory.js index 7c205c327af48..4cfbec424d26c 100644 --- a/tests/baselines/reference/classDeclaredBeforeClassFactory.js +++ b/tests/baselines/reference/classDeclaredBeforeClassFactory.js @@ -10,6 +10,7 @@ function makeBaseClass() { //// [classDeclaredBeforeClassFactory.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classDoesNotDependOnBaseTypes.js b/tests/baselines/reference/classDoesNotDependOnBaseTypes.js index feeede8d4e5d3..5ed48400948dc 100644 --- a/tests/baselines/reference/classDoesNotDependOnBaseTypes.js +++ b/tests/baselines/reference/classDoesNotDependOnBaseTypes.js @@ -15,6 +15,7 @@ if (typeof x !== "string") { } //// [classDoesNotDependOnBaseTypes.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classDoesNotDependOnPrivateMember.js b/tests/baselines/reference/classDoesNotDependOnPrivateMember.js index 21aa37d60927b..7dfdc8f0b6e50 100644 --- a/tests/baselines/reference/classDoesNotDependOnPrivateMember.js +++ b/tests/baselines/reference/classDoesNotDependOnPrivateMember.js @@ -9,6 +9,7 @@ namespace M { } //// [classDoesNotDependOnPrivateMember.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/classExpression.js b/tests/baselines/reference/classExpression.js index 1bf60c67dbff6..e766448dbf83c 100644 --- a/tests/baselines/reference/classExpression.js +++ b/tests/baselines/reference/classExpression.js @@ -15,6 +15,7 @@ namespace M { } //// [classExpression.js] +"use strict"; var x = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classExpression1.js b/tests/baselines/reference/classExpression1.js index 6e69e38aaf054..f96f98f96d0d0 100644 --- a/tests/baselines/reference/classExpression1.js +++ b/tests/baselines/reference/classExpression1.js @@ -4,6 +4,7 @@ var v = class C {}; //// [classExpression1.js] +"use strict"; var v = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classExpression2.js b/tests/baselines/reference/classExpression2.js index d7a834122592a..06a087703d2d2 100644 --- a/tests/baselines/reference/classExpression2.js +++ b/tests/baselines/reference/classExpression2.js @@ -5,6 +5,7 @@ class D { } var v = class C extends D {}; //// [classExpression2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExpression3.js b/tests/baselines/reference/classExpression3.js index 2607f2ee095a0..bc8576792e12d 100644 --- a/tests/baselines/reference/classExpression3.js +++ b/tests/baselines/reference/classExpression3.js @@ -9,6 +9,7 @@ c.c; //// [classExpression3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExpression4.js b/tests/baselines/reference/classExpression4.js index 893bc0112be3a..55027d7b1f164 100644 --- a/tests/baselines/reference/classExpression4.js +++ b/tests/baselines/reference/classExpression4.js @@ -10,6 +10,7 @@ let x = (new C).foo(); //// [classExpression4.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classExpression5.js b/tests/baselines/reference/classExpression5.js index bd1d189a8a03d..a2f4cf52af091 100644 --- a/tests/baselines/reference/classExpression5.js +++ b/tests/baselines/reference/classExpression5.js @@ -8,6 +8,7 @@ new class { }().hi(); //// [classExpression5.js] +"use strict"; new /** @class */ (function () { function class_1() { } diff --git a/tests/baselines/reference/classExpressionAssignment.js b/tests/baselines/reference/classExpressionAssignment.js index a82ecdf28f29d..e2161ba33f159 100644 --- a/tests/baselines/reference/classExpressionAssignment.js +++ b/tests/baselines/reference/classExpressionAssignment.js @@ -10,6 +10,7 @@ const A: {new(): A} = class {} //// [classExpressionAssignment.js] +"use strict"; // This is invalid var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/classExpressionES61.js b/tests/baselines/reference/classExpressionES61.js index 6a7e8ff690d1e..2bfaadef3563c 100644 --- a/tests/baselines/reference/classExpressionES61.js +++ b/tests/baselines/reference/classExpressionES61.js @@ -4,5 +4,6 @@ var v = class C {}; //// [classExpressionES61.js] +"use strict"; var v = class C { }; diff --git a/tests/baselines/reference/classExpressionES62.js b/tests/baselines/reference/classExpressionES62.js index 5795a83af7b42..1630a50236fda 100644 --- a/tests/baselines/reference/classExpressionES62.js +++ b/tests/baselines/reference/classExpressionES62.js @@ -5,6 +5,7 @@ class D { } var v = class C extends D {}; //// [classExpressionES62.js] +"use strict"; class D { } var v = class C extends D { diff --git a/tests/baselines/reference/classExpressionES63.js b/tests/baselines/reference/classExpressionES63.js index d7c33ae2219ff..09b3d455a7a48 100644 --- a/tests/baselines/reference/classExpressionES63.js +++ b/tests/baselines/reference/classExpressionES63.js @@ -9,6 +9,7 @@ c.c; //// [classExpressionES63.js] +"use strict"; let C = class extends class extends class { constructor() { this.a = 1; diff --git a/tests/baselines/reference/classExpressionExtendingAbstractClass.js b/tests/baselines/reference/classExpressionExtendingAbstractClass.js index 1fcff3c135890..71a5ba4d16fc8 100644 --- a/tests/baselines/reference/classExpressionExtendingAbstractClass.js +++ b/tests/baselines/reference/classExpressionExtendingAbstractClass.js @@ -11,6 +11,7 @@ var C = class extends A { // no error reported! //// [classExpressionExtendingAbstractClass.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExpressionInClassStaticDeclarations.js b/tests/baselines/reference/classExpressionInClassStaticDeclarations.js index 1ad67eb43cd46..f1f69889e4057 100644 --- a/tests/baselines/reference/classExpressionInClassStaticDeclarations.js +++ b/tests/baselines/reference/classExpressionInClassStaticDeclarations.js @@ -6,6 +6,7 @@ class C { } //// [classExpressionInClassStaticDeclarations.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExpressionLoop.js b/tests/baselines/reference/classExpressionLoop.js index 409de69319267..d6074c973717b 100644 --- a/tests/baselines/reference/classExpressionLoop.js +++ b/tests/baselines/reference/classExpressionLoop.js @@ -10,6 +10,7 @@ for (let i = 0; i < 10; ++i) { //// [classExpressionLoop.js] +"use strict"; var arr = []; var _loop_1 = function (i) { arr.push(/** @class */ (function () { diff --git a/tests/baselines/reference/classExpressionTest1.js b/tests/baselines/reference/classExpressionTest1.js index 0aaaaabccfe33..ea7fdaad0709f 100644 --- a/tests/baselines/reference/classExpressionTest1.js +++ b/tests/baselines/reference/classExpressionTest1.js @@ -15,6 +15,7 @@ function M() { } //// [classExpressionTest1.js] +"use strict"; function M() { var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classExpressionTest2.js b/tests/baselines/reference/classExpressionTest2.js index 9ad36e28f0217..2877682676609 100644 --- a/tests/baselines/reference/classExpressionTest2.js +++ b/tests/baselines/reference/classExpressionTest2.js @@ -15,6 +15,7 @@ function M() { } //// [classExpressionTest2.js] +"use strict"; function M() { var m = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classExpressionWithDecorator1.js b/tests/baselines/reference/classExpressionWithDecorator1.js index 193547c4ba8ef..f66f319903bd4 100644 --- a/tests/baselines/reference/classExpressionWithDecorator1.js +++ b/tests/baselines/reference/classExpressionWithDecorator1.js @@ -4,6 +4,7 @@ var v = @decorate class C { static p = 1 }; //// [classExpressionWithDecorator1.js] +"use strict"; var _a; var v = (_a = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classExpressionWithResolutionOfNamespaceOfSameName01.js b/tests/baselines/reference/classExpressionWithResolutionOfNamespaceOfSameName01.js index a711f019dd65d..7aaf90d5d4ce7 100644 --- a/tests/baselines/reference/classExpressionWithResolutionOfNamespaceOfSameName01.js +++ b/tests/baselines/reference/classExpressionWithResolutionOfNamespaceOfSameName01.js @@ -11,6 +11,7 @@ var x = class C { } //// [classExpressionWithResolutionOfNamespaceOfSameName01.js] +"use strict"; var x = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classExpressionWithStaticProperties1.js b/tests/baselines/reference/classExpressionWithStaticProperties1.js index 03edea7d998c4..03b95d0d1a94e 100644 --- a/tests/baselines/reference/classExpressionWithStaticProperties1.js +++ b/tests/baselines/reference/classExpressionWithStaticProperties1.js @@ -8,6 +8,7 @@ var v = class C { }; //// [classExpressionWithStaticProperties1.js] +"use strict"; var _a; var v = (_a = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classExpressionWithStaticProperties2.js b/tests/baselines/reference/classExpressionWithStaticProperties2.js index 5421f1ff2ab9d..7e6a66e0673f4 100644 --- a/tests/baselines/reference/classExpressionWithStaticProperties2.js +++ b/tests/baselines/reference/classExpressionWithStaticProperties2.js @@ -11,6 +11,7 @@ var v = class C { }; //// [classExpressionWithStaticProperties2.js] +"use strict"; var _a; var v = (_a = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classExpressionWithStaticProperties3.js b/tests/baselines/reference/classExpressionWithStaticProperties3.js index 66adc741efc8c..f288c4fee7048 100644 --- a/tests/baselines/reference/classExpressionWithStaticProperties3.js +++ b/tests/baselines/reference/classExpressionWithStaticProperties3.js @@ -12,6 +12,7 @@ for (let i = 0; i < 3; i++) { arr.forEach(C => console.log(C.y())); //// [classExpressionWithStaticProperties3.js] +"use strict"; var arr = []; var _loop_1 = function (i) { var _a = void 0; diff --git a/tests/baselines/reference/classExpressionWithStaticPropertiesES61.js b/tests/baselines/reference/classExpressionWithStaticPropertiesES61.js index a1f92fd1c9f1d..6ef3a68b6b806 100644 --- a/tests/baselines/reference/classExpressionWithStaticPropertiesES61.js +++ b/tests/baselines/reference/classExpressionWithStaticPropertiesES61.js @@ -8,6 +8,7 @@ var v = class C { }; //// [classExpressionWithStaticPropertiesES61.js] +"use strict"; var _a; var v = (_a = class C { }, diff --git a/tests/baselines/reference/classExpressionWithStaticPropertiesES62.js b/tests/baselines/reference/classExpressionWithStaticPropertiesES62.js index 18aad7005ffc1..0ec443bd055d5 100644 --- a/tests/baselines/reference/classExpressionWithStaticPropertiesES62.js +++ b/tests/baselines/reference/classExpressionWithStaticPropertiesES62.js @@ -11,6 +11,7 @@ var v = class C { }; //// [classExpressionWithStaticPropertiesES62.js] +"use strict"; var _a; var v = (_a = class C { }, diff --git a/tests/baselines/reference/classExpressionWithStaticPropertiesES63.js b/tests/baselines/reference/classExpressionWithStaticPropertiesES63.js index 6591b9b7c88e4..7b7bebd6bfdf1 100644 --- a/tests/baselines/reference/classExpressionWithStaticPropertiesES63.js +++ b/tests/baselines/reference/classExpressionWithStaticPropertiesES63.js @@ -12,6 +12,7 @@ for (let i = 0; i < 3; i++) { arr.forEach(C => console.log(C.y())); //// [classExpressionWithStaticPropertiesES63.js] +"use strict"; var _a; const arr = []; for (let i = 0; i < 3; i++) { diff --git a/tests/baselines/reference/classExpressionWithStaticPropertiesES64.js b/tests/baselines/reference/classExpressionWithStaticPropertiesES64.js index 88f076da29b46..c0726ed89f390 100644 --- a/tests/baselines/reference/classExpressionWithStaticPropertiesES64.js +++ b/tests/baselines/reference/classExpressionWithStaticPropertiesES64.js @@ -5,6 +5,7 @@ //// [classExpressionWithStaticPropertiesES64.js] +"use strict"; var _a; (_a = class { }, diff --git a/tests/baselines/reference/classExpressions.js b/tests/baselines/reference/classExpressions.js index 7181b9bd5fc6b..02787339746dc 100644 --- a/tests/baselines/reference/classExpressions.js +++ b/tests/baselines/reference/classExpressions.js @@ -11,6 +11,7 @@ let x = class B implements A { }; //// [classExpressions.js] +"use strict"; var x = /** @class */ (function () { function B() { this.func = function () { diff --git a/tests/baselines/reference/classExtendingBuiltinType.js b/tests/baselines/reference/classExtendingBuiltinType.js index c585ecf8caeb9..d580924cb26ad 100644 --- a/tests/baselines/reference/classExtendingBuiltinType.js +++ b/tests/baselines/reference/classExtendingBuiltinType.js @@ -14,6 +14,7 @@ class C10 extends Array { } //// [classExtendingBuiltinType.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendingClass.js b/tests/baselines/reference/classExtendingClass.js index 9c026a04476eb..1baab99abe929 100644 --- a/tests/baselines/reference/classExtendingClass.js +++ b/tests/baselines/reference/classExtendingClass.js @@ -34,6 +34,7 @@ var r7 = d2.thing(''); var r8 = D2.other(1); //// [classExtendingClass.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendingClassLikeType.js b/tests/baselines/reference/classExtendingClassLikeType.js index c0f8c6840019e..7058e239dfb3a 100644 --- a/tests/baselines/reference/classExtendingClassLikeType.js +++ b/tests/baselines/reference/classExtendingClassLikeType.js @@ -61,6 +61,7 @@ class D5 extends getBadBase() { //// [classExtendingClassLikeType.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendingNonConstructor.js b/tests/baselines/reference/classExtendingNonConstructor.js index de68949028dfd..cbe5b1eeacdfb 100644 --- a/tests/baselines/reference/classExtendingNonConstructor.js +++ b/tests/baselines/reference/classExtendingNonConstructor.js @@ -17,6 +17,7 @@ class C7 extends foo { } //// [classExtendingNonConstructor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendingNull.js b/tests/baselines/reference/classExtendingNull.js index aedd7a992f14e..844257d6b3452 100644 --- a/tests/baselines/reference/classExtendingNull.js +++ b/tests/baselines/reference/classExtendingNull.js @@ -7,6 +7,7 @@ class C3 extends null { x = 1; } class C4 extends (null) { x = 1; } //// [classExtendingNull.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendingOptionalChain.js b/tests/baselines/reference/classExtendingOptionalChain.js index 3f6f68f480077..b99d5254c39f8 100644 --- a/tests/baselines/reference/classExtendingOptionalChain.js +++ b/tests/baselines/reference/classExtendingOptionalChain.js @@ -13,6 +13,7 @@ class C2 implements A?.B {} //// [classExtendingOptionalChain.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendingPrimitive.js b/tests/baselines/reference/classExtendingPrimitive.js index 5afe16d1bd274..92689946b8896 100644 --- a/tests/baselines/reference/classExtendingPrimitive.js +++ b/tests/baselines/reference/classExtendingPrimitive.js @@ -26,6 +26,7 @@ const C14 = class C extends boolean { } //// [classExtendingPrimitive.js] +"use strict"; // classes cannot extend primitives var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/classExtendingPrimitive2.js b/tests/baselines/reference/classExtendingPrimitive2.js index 9e5c8348e9651..4a14e664f4701 100644 --- a/tests/baselines/reference/classExtendingPrimitive2.js +++ b/tests/baselines/reference/classExtendingPrimitive2.js @@ -7,6 +7,7 @@ class C4a extends void {} class C5a extends null { } //// [classExtendingPrimitive2.js] +"use strict"; // classes cannot extend primitives var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/classExtendingQualifiedName.js b/tests/baselines/reference/classExtendingQualifiedName.js index 47c5428b9e08f..61b571674d873 100644 --- a/tests/baselines/reference/classExtendingQualifiedName.js +++ b/tests/baselines/reference/classExtendingQualifiedName.js @@ -10,6 +10,7 @@ namespace M { } //// [classExtendingQualifiedName.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendingQualifiedName2.js b/tests/baselines/reference/classExtendingQualifiedName2.js index 5bce593dfc8a4..fee85d00fa804 100644 --- a/tests/baselines/reference/classExtendingQualifiedName2.js +++ b/tests/baselines/reference/classExtendingQualifiedName2.js @@ -10,6 +10,7 @@ namespace M { } //// [classExtendingQualifiedName2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsClauseClassMergedWithModuleNotReferingConstructor.js b/tests/baselines/reference/classExtendsClauseClassMergedWithModuleNotReferingConstructor.js index 8fd04c11da2fd..87b54338a9777 100644 --- a/tests/baselines/reference/classExtendsClauseClassMergedWithModuleNotReferingConstructor.js +++ b/tests/baselines/reference/classExtendsClauseClassMergedWithModuleNotReferingConstructor.js @@ -16,6 +16,7 @@ namespace Foo { } //// [classExtendsClauseClassMergedWithModuleNotReferingConstructor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsClauseClassNotReferringConstructor.js b/tests/baselines/reference/classExtendsClauseClassNotReferringConstructor.js index 91503183c306b..3f545b8c8eb46 100644 --- a/tests/baselines/reference/classExtendsClauseClassNotReferringConstructor.js +++ b/tests/baselines/reference/classExtendsClauseClassNotReferringConstructor.js @@ -9,6 +9,7 @@ namespace Foo { //// [classExtendsClauseClassNotReferringConstructor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsEveryObjectType.js b/tests/baselines/reference/classExtendsEveryObjectType.js index 8db327f2f3fe4..00869ba9d9e65 100644 --- a/tests/baselines/reference/classExtendsEveryObjectType.js +++ b/tests/baselines/reference/classExtendsEveryObjectType.js @@ -19,6 +19,7 @@ class C5 extends foo { } // error class C6 extends []{ } // error //// [classExtendsEveryObjectType.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsEveryObjectType2.js b/tests/baselines/reference/classExtendsEveryObjectType2.js index c22c69b2a87d8..78310da711138 100644 --- a/tests/baselines/reference/classExtendsEveryObjectType2.js +++ b/tests/baselines/reference/classExtendsEveryObjectType2.js @@ -6,6 +6,7 @@ class C2 extends { foo: string; } { } // error class C6 extends []{ } // error //// [classExtendsEveryObjectType2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsInterface.js b/tests/baselines/reference/classExtendsInterface.js index d96104f8a4131..3427bb9c0bca2 100644 --- a/tests/baselines/reference/classExtendsInterface.js +++ b/tests/baselines/reference/classExtendsInterface.js @@ -11,6 +11,7 @@ class B2 implements Comparable2 {} //// [classExtendsInterface.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsInterfaceInExpression.js b/tests/baselines/reference/classExtendsInterfaceInExpression.js index c98518e0fd278..5a3ac73a8b517 100644 --- a/tests/baselines/reference/classExtendsInterfaceInExpression.js +++ b/tests/baselines/reference/classExtendsInterfaceInExpression.js @@ -11,6 +11,7 @@ class C extends factory(A) {} //// [classExtendsInterfaceInExpression.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsInterfaceInModule.js b/tests/baselines/reference/classExtendsInterfaceInModule.js index b61dcb045f046..6cc0ce8c08bf5 100644 --- a/tests/baselines/reference/classExtendsInterfaceInModule.js +++ b/tests/baselines/reference/classExtendsInterfaceInModule.js @@ -18,6 +18,7 @@ class D extends Mod.Nested.I {} //// [classExtendsInterfaceInModule.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsInterfaceThatExtendsClassWithPrivates1.js b/tests/baselines/reference/classExtendsInterfaceThatExtendsClassWithPrivates1.js index ead876ae5762e..00c110a27bb46 100644 --- a/tests/baselines/reference/classExtendsInterfaceThatExtendsClassWithPrivates1.js +++ b/tests/baselines/reference/classExtendsInterfaceThatExtendsClassWithPrivates1.js @@ -17,6 +17,7 @@ class D2 implements I { } //// [classExtendsInterfaceThatExtendsClassWithPrivates1.js] +"use strict"; var C = /** @class */ (function () { function C() { this.x = 1; diff --git a/tests/baselines/reference/classExtendsInterface_not.js b/tests/baselines/reference/classExtendsInterface_not.js index b1fd61ab65b64..e59d4334acde7 100644 --- a/tests/baselines/reference/classExtendsInterface_not.js +++ b/tests/baselines/reference/classExtendsInterface_not.js @@ -5,6 +5,7 @@ class C extends "".bogus {} //// [classExtendsInterface_not.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsItself.js b/tests/baselines/reference/classExtendsItself.js index 05a8e72344d44..604509307ada6 100644 --- a/tests/baselines/reference/classExtendsItself.js +++ b/tests/baselines/reference/classExtendsItself.js @@ -8,6 +8,7 @@ class D extends D { } // error class E extends E { } // error //// [classExtendsItself.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsItselfIndirectly.js b/tests/baselines/reference/classExtendsItselfIndirectly.js index 17e5c2a927990..ffe693df66f8e 100644 --- a/tests/baselines/reference/classExtendsItselfIndirectly.js +++ b/tests/baselines/reference/classExtendsItselfIndirectly.js @@ -14,6 +14,7 @@ class D2 extends C2 { bar: T; } class E2 extends D2 { baz: T; } //// [classExtendsItselfIndirectly.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsItselfIndirectly2.js b/tests/baselines/reference/classExtendsItselfIndirectly2.js index 7b4e3653f95f8..a9f19a408125a 100644 --- a/tests/baselines/reference/classExtendsItselfIndirectly2.js +++ b/tests/baselines/reference/classExtendsItselfIndirectly2.js @@ -25,6 +25,7 @@ namespace O { } //// [classExtendsItselfIndirectly2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsItselfIndirectly3.js b/tests/baselines/reference/classExtendsItselfIndirectly3.js index d758317216a69..03505308abcd5 100644 --- a/tests/baselines/reference/classExtendsItselfIndirectly3.js +++ b/tests/baselines/reference/classExtendsItselfIndirectly3.js @@ -19,6 +19,7 @@ class D2 extends C2 { bar: T; } class E2 extends D2 { baz: T; } //// [classExtendsItselfIndirectly_file1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || @@ -42,6 +43,7 @@ var C = /** @class */ (function (_super) { return C; }(E)); // error //// [classExtendsItselfIndirectly_file2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || @@ -65,6 +67,7 @@ var D = /** @class */ (function (_super) { return D; }(C)); //// [classExtendsItselfIndirectly_file3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || @@ -88,6 +91,7 @@ var E = /** @class */ (function (_super) { return E; }(D)); //// [classExtendsItselfIndirectly_file4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || @@ -111,6 +115,7 @@ var C2 = /** @class */ (function (_super) { return C2; }(E2)); // error //// [classExtendsItselfIndirectly_file5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || @@ -134,6 +139,7 @@ var D2 = /** @class */ (function (_super) { return D2; }(C2)); //// [classExtendsItselfIndirectly_file6.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsMultipleBaseClasses.js b/tests/baselines/reference/classExtendsMultipleBaseClasses.js index 6a77de8e9f3f2..e449e04d0d89d 100644 --- a/tests/baselines/reference/classExtendsMultipleBaseClasses.js +++ b/tests/baselines/reference/classExtendsMultipleBaseClasses.js @@ -6,6 +6,7 @@ class B { } class C extends A,B { } //// [classExtendsMultipleBaseClasses.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsNull.js b/tests/baselines/reference/classExtendsNull.js index 23dd09feb430f..56471d4adf315 100644 --- a/tests/baselines/reference/classExtendsNull.js +++ b/tests/baselines/reference/classExtendsNull.js @@ -15,6 +15,7 @@ class D extends null { } //// [classExtendsNull.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsShadowedConstructorFunction.js b/tests/baselines/reference/classExtendsShadowedConstructorFunction.js index 62383ff8c5692..4879151ba236b 100644 --- a/tests/baselines/reference/classExtendsShadowedConstructorFunction.js +++ b/tests/baselines/reference/classExtendsShadowedConstructorFunction.js @@ -11,6 +11,7 @@ namespace M { } //// [classExtendsShadowedConstructorFunction.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtendsValidConstructorFunction.js b/tests/baselines/reference/classExtendsValidConstructorFunction.js index 6ec9b809f0740..f4127bc9f5f05 100644 --- a/tests/baselines/reference/classExtendsValidConstructorFunction.js +++ b/tests/baselines/reference/classExtendsValidConstructorFunction.js @@ -8,6 +8,7 @@ var x = new foo(); // can be used as a constructor function class C extends foo { } // error, cannot extend it though //// [classExtendsValidConstructorFunction.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classExtensionNameOutput.js b/tests/baselines/reference/classExtensionNameOutput.js index 2139d9700cd40..67931d16246e1 100644 --- a/tests/baselines/reference/classExtensionNameOutput.js +++ b/tests/baselines/reference/classExtensionNameOutput.js @@ -11,6 +11,7 @@ if (true) { } //// [classExtensionNameOutput.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classFieldSuperAccessible.js b/tests/baselines/reference/classFieldSuperAccessible.js index d7ba25a981dea..105a8f0dd917f 100644 --- a/tests/baselines/reference/classFieldSuperAccessible.js +++ b/tests/baselines/reference/classFieldSuperAccessible.js @@ -28,6 +28,7 @@ class E extends D { //// [classFieldSuperAccessible.js] +"use strict"; class A extends class Expr { } { static { diff --git a/tests/baselines/reference/classFieldSuperNotAccessible.js b/tests/baselines/reference/classFieldSuperNotAccessible.js index c8949774834e8..b05a052b861b1 100644 --- a/tests/baselines/reference/classFieldSuperNotAccessible.js +++ b/tests/baselines/reference/classFieldSuperNotAccessible.js @@ -14,6 +14,7 @@ new T2().f() //// [classFieldSuperNotAccessible.js] +"use strict"; class T { field = () => { }; } diff --git a/tests/baselines/reference/classFunctionMerging.js b/tests/baselines/reference/classFunctionMerging.js index 82b408678d14e..cfa972e100f0b 100644 --- a/tests/baselines/reference/classFunctionMerging.js +++ b/tests/baselines/reference/classFunctionMerging.js @@ -15,5 +15,6 @@ const a = new Foo(""); const b = Foo(12); //// [classFunctionMerging.js] +"use strict"; var a = new Foo(""); var b = Foo(12); diff --git a/tests/baselines/reference/classFunctionMerging2.js b/tests/baselines/reference/classFunctionMerging2.js index fcae62a2a52b0..f7f20f79f879d 100644 --- a/tests/baselines/reference/classFunctionMerging2.js +++ b/tests/baselines/reference/classFunctionMerging2.js @@ -16,5 +16,6 @@ let b = new B("Hey") console.log(b.a) //// [classFunctionMerging2.js] +"use strict"; var b = new B("Hey"); console.log(b.a); diff --git a/tests/baselines/reference/classHeritageWithTrailingSeparator.js b/tests/baselines/reference/classHeritageWithTrailingSeparator.js index 1fcebb915b22d..c6b71f9f9e04d 100644 --- a/tests/baselines/reference/classHeritageWithTrailingSeparator.js +++ b/tests/baselines/reference/classHeritageWithTrailingSeparator.js @@ -6,6 +6,7 @@ class D extends C, { } //// [classHeritageWithTrailingSeparator.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classImplementingInterfaceIndexer.js b/tests/baselines/reference/classImplementingInterfaceIndexer.js index 91ec55254ddc7..050975bea0d77 100644 --- a/tests/baselines/reference/classImplementingInterfaceIndexer.js +++ b/tests/baselines/reference/classImplementingInterfaceIndexer.js @@ -9,6 +9,7 @@ class A implements I { } //// [classImplementingInterfaceIndexer.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classImplementsClass1.js b/tests/baselines/reference/classImplementsClass1.js index 0de305ed28c25..3c8f0d5adcdcd 100644 --- a/tests/baselines/reference/classImplementsClass1.js +++ b/tests/baselines/reference/classImplementsClass1.js @@ -5,6 +5,7 @@ class A { } class C implements A { } //// [classImplementsClass1.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classImplementsClass2.js b/tests/baselines/reference/classImplementsClass2.js index 442e986d42629..fa2fa77ec9f6c 100644 --- a/tests/baselines/reference/classImplementsClass2.js +++ b/tests/baselines/reference/classImplementsClass2.js @@ -16,6 +16,7 @@ c = c2; c2 = c; //// [classImplementsClass2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classImplementsClass3.js b/tests/baselines/reference/classImplementsClass3.js index edb50c162bf8f..13c9cd3081383 100644 --- a/tests/baselines/reference/classImplementsClass3.js +++ b/tests/baselines/reference/classImplementsClass3.js @@ -17,6 +17,7 @@ c = c2; c2 = c; //// [classImplementsClass3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classImplementsClass4.js b/tests/baselines/reference/classImplementsClass4.js index 2df2a438d0632..2662dea0eca92 100644 --- a/tests/baselines/reference/classImplementsClass4.js +++ b/tests/baselines/reference/classImplementsClass4.js @@ -19,6 +19,7 @@ c = c2; c2 = c; //// [classImplementsClass4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classImplementsClass5.js b/tests/baselines/reference/classImplementsClass5.js index e7c35a3f2dbd2..c1dc239a97857 100644 --- a/tests/baselines/reference/classImplementsClass5.js +++ b/tests/baselines/reference/classImplementsClass5.js @@ -20,6 +20,7 @@ c = c2; c2 = c; //// [classImplementsClass5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classImplementsClass6.js b/tests/baselines/reference/classImplementsClass6.js index 91e93e2e1c141..f9b7c943bcd18 100644 --- a/tests/baselines/reference/classImplementsClass6.js +++ b/tests/baselines/reference/classImplementsClass6.js @@ -24,6 +24,7 @@ c.bar(); // error c2.bar(); // should error //// [classImplementsClass6.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classImplementsClass7.js b/tests/baselines/reference/classImplementsClass7.js index 8eaa347c37623..f7de3406f6c49 100644 --- a/tests/baselines/reference/classImplementsClass7.js +++ b/tests/baselines/reference/classImplementsClass7.js @@ -9,6 +9,7 @@ class B implements A {} //// [classImplementsClass7.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classImplementsImportedInterface.js b/tests/baselines/reference/classImplementsImportedInterface.js index 5f42331c71232..d909d6d850809 100644 --- a/tests/baselines/reference/classImplementsImportedInterface.js +++ b/tests/baselines/reference/classImplementsImportedInterface.js @@ -15,6 +15,7 @@ namespace M2 { } //// [classImplementsImportedInterface.js] +"use strict"; var M2; (function (M2) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/classImplementsMergedClassInterface.js b/tests/baselines/reference/classImplementsMergedClassInterface.js index 6da4f97a0f5e9..501fa372a9cd2 100644 --- a/tests/baselines/reference/classImplementsMergedClassInterface.js +++ b/tests/baselines/reference/classImplementsMergedClassInterface.js @@ -26,6 +26,7 @@ class C5 implements C1 { // okay } //// [classImplementsMergedClassInterface.js] +"use strict"; var C2 = /** @class */ (function () { function C2() { } diff --git a/tests/baselines/reference/classImplementsPrimitive.js b/tests/baselines/reference/classImplementsPrimitive.js index e99e0061bcdef..5de02a53e7c63 100644 --- a/tests/baselines/reference/classImplementsPrimitive.js +++ b/tests/baselines/reference/classImplementsPrimitive.js @@ -17,6 +17,7 @@ const C9 = class C implements boolean { } //// [classImplementsPrimitive.js] +"use strict"; // classes cannot implement primitives var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classInConvertedLoopES5.js b/tests/baselines/reference/classInConvertedLoopES5.js index 60698bd23bd78..d96fd3f60951d 100644 --- a/tests/baselines/reference/classInConvertedLoopES5.js +++ b/tests/baselines/reference/classInConvertedLoopES5.js @@ -12,6 +12,7 @@ for (const row of ['1', '2', '3', '4', '5']) { } //// [classInConvertedLoopES5.js] +"use strict"; var classesByRow = {}; var _loop_1 = function (row) { var RowClass = /** @class */ (function () { diff --git a/tests/baselines/reference/classIndexer.js b/tests/baselines/reference/classIndexer.js index ca46686d60d93..e69c3a3efe29d 100644 --- a/tests/baselines/reference/classIndexer.js +++ b/tests/baselines/reference/classIndexer.js @@ -8,6 +8,7 @@ class C123 { } //// [classIndexer.js] +"use strict"; var C123 = /** @class */ (function () { function C123() { } diff --git a/tests/baselines/reference/classIndexer2.js b/tests/baselines/reference/classIndexer2.js index e58d7fecce688..26429da19f1d7 100644 --- a/tests/baselines/reference/classIndexer2.js +++ b/tests/baselines/reference/classIndexer2.js @@ -10,6 +10,7 @@ class C123 { } //// [classIndexer2.js] +"use strict"; var C123 = /** @class */ (function () { function C123() { } diff --git a/tests/baselines/reference/classIndexer3.js b/tests/baselines/reference/classIndexer3.js index 420fdfed19e2d..1b9f818a2b117 100644 --- a/tests/baselines/reference/classIndexer3.js +++ b/tests/baselines/reference/classIndexer3.js @@ -13,6 +13,7 @@ class D123 extends C123 { } //// [classIndexer3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classIndexer4.js b/tests/baselines/reference/classIndexer4.js index 34302bad6f93b..fcaf32975ea0f 100644 --- a/tests/baselines/reference/classIndexer4.js +++ b/tests/baselines/reference/classIndexer4.js @@ -13,6 +13,7 @@ interface D123 extends C123 { } //// [classIndexer4.js] +"use strict"; var C123 = /** @class */ (function () { function C123() { } diff --git a/tests/baselines/reference/classIndexer5.js b/tests/baselines/reference/classIndexer5.js index d6a44b4645cb5..94b8abedea4bc 100644 --- a/tests/baselines/reference/classIndexer5.js +++ b/tests/baselines/reference/classIndexer5.js @@ -10,6 +10,7 @@ class Foo { //// [classIndexer5.js] +"use strict"; class Foo { #a; #b = false; diff --git a/tests/baselines/reference/classInheritence.js b/tests/baselines/reference/classInheritence.js index 6a38d782707b5..06eec484fffe8 100644 --- a/tests/baselines/reference/classInheritence.js +++ b/tests/baselines/reference/classInheritence.js @@ -5,6 +5,7 @@ class B extends A { } class A extends A { } //// [classInheritence.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classInsideBlock.js b/tests/baselines/reference/classInsideBlock.js index b2def6e77ceb0..7384ac5f7bf36 100644 --- a/tests/baselines/reference/classInsideBlock.js +++ b/tests/baselines/reference/classInsideBlock.js @@ -6,6 +6,7 @@ function foo() { } //// [classInsideBlock.js] +"use strict"; function foo() { var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classIsSubtypeOfBaseType.js b/tests/baselines/reference/classIsSubtypeOfBaseType.js index 168f14fe26adc..3a761e398aea1 100644 --- a/tests/baselines/reference/classIsSubtypeOfBaseType.js +++ b/tests/baselines/reference/classIsSubtypeOfBaseType.js @@ -18,6 +18,7 @@ class Derived2 extends Base<{ bar: string; }> { } //// [classIsSubtypeOfBaseType.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classMemberInitializerScoping.js b/tests/baselines/reference/classMemberInitializerScoping.js index b7bd9d66c8c37..8a73082dba105 100644 --- a/tests/baselines/reference/classMemberInitializerScoping.js +++ b/tests/baselines/reference/classMemberInitializerScoping.js @@ -23,6 +23,7 @@ class CCCC { //// [classMemberInitializerScoping.js] +"use strict"; var aaa = 1; var CCC = /** @class */ (function () { function CCC(aaa) { diff --git a/tests/baselines/reference/classMemberInitializerScoping2(target=es2017,usedefineforclassfields=false).js b/tests/baselines/reference/classMemberInitializerScoping2(target=es2017,usedefineforclassfields=false).js index d7d6fa74d245f..3be6e16b88828 100644 --- a/tests/baselines/reference/classMemberInitializerScoping2(target=es2017,usedefineforclassfields=false).js +++ b/tests/baselines/reference/classMemberInitializerScoping2(target=es2017,usedefineforclassfields=false).js @@ -9,6 +9,7 @@ class C { //// [classMemberInitializerScoping2.js] +"use strict"; const x = 1; class C { constructor(x) { diff --git a/tests/baselines/reference/classMemberInitializerScoping2(target=es2017,usedefineforclassfields=true).js b/tests/baselines/reference/classMemberInitializerScoping2(target=es2017,usedefineforclassfields=true).js index 51bb95cc754aa..9c93734ee5c3a 100644 --- a/tests/baselines/reference/classMemberInitializerScoping2(target=es2017,usedefineforclassfields=true).js +++ b/tests/baselines/reference/classMemberInitializerScoping2(target=es2017,usedefineforclassfields=true).js @@ -9,6 +9,7 @@ class C { //// [classMemberInitializerScoping2.js] +"use strict"; const x = 1; class C { constructor(x) { diff --git a/tests/baselines/reference/classMemberInitializerScoping2(target=esnext,usedefineforclassfields=false).js b/tests/baselines/reference/classMemberInitializerScoping2(target=esnext,usedefineforclassfields=false).js index d7d6fa74d245f..3be6e16b88828 100644 --- a/tests/baselines/reference/classMemberInitializerScoping2(target=esnext,usedefineforclassfields=false).js +++ b/tests/baselines/reference/classMemberInitializerScoping2(target=esnext,usedefineforclassfields=false).js @@ -9,6 +9,7 @@ class C { //// [classMemberInitializerScoping2.js] +"use strict"; const x = 1; class C { constructor(x) { diff --git a/tests/baselines/reference/classMemberInitializerScoping2(target=esnext,usedefineforclassfields=true).js b/tests/baselines/reference/classMemberInitializerScoping2(target=esnext,usedefineforclassfields=true).js index fdd412eb0cf5b..f0f58049f7dc0 100644 --- a/tests/baselines/reference/classMemberInitializerScoping2(target=esnext,usedefineforclassfields=true).js +++ b/tests/baselines/reference/classMemberInitializerScoping2(target=esnext,usedefineforclassfields=true).js @@ -9,6 +9,7 @@ class C { //// [classMemberInitializerScoping2.js] +"use strict"; const x = 1; class C { p = x; diff --git a/tests/baselines/reference/classMemberInitializerWithLamdaScoping.js b/tests/baselines/reference/classMemberInitializerWithLamdaScoping.js index 7029fa4ed49cc..2887a8dccbd31 100644 --- a/tests/baselines/reference/classMemberInitializerWithLamdaScoping.js +++ b/tests/baselines/reference/classMemberInitializerWithLamdaScoping.js @@ -33,6 +33,7 @@ class Test1 { } //// [classMemberInitializerWithLamdaScoping.js] +"use strict"; var Test = /** @class */ (function () { function Test(field) { var _this = this; diff --git a/tests/baselines/reference/classMemberInitializerWithLamdaScoping2.js b/tests/baselines/reference/classMemberInitializerWithLamdaScoping2.js index dafd3d503ebf7..a8bc2a5d57cce 100644 --- a/tests/baselines/reference/classMemberInitializerWithLamdaScoping2.js +++ b/tests/baselines/reference/classMemberInitializerWithLamdaScoping2.js @@ -18,8 +18,10 @@ class Test1 { } //// [classMemberInitializerWithLamdaScoping2_0.js] +"use strict"; var field1; //// [classMemberInitializerWithLamdaScoping2_1.js] +"use strict"; var Test1 = /** @class */ (function () { function Test1(field1) { this.field1 = field1; diff --git a/tests/baselines/reference/classMemberInitializerWithLamdaScoping3.js b/tests/baselines/reference/classMemberInitializerWithLamdaScoping3.js index 94e5329bba927..baf77d938106f 100644 --- a/tests/baselines/reference/classMemberInitializerWithLamdaScoping3.js +++ b/tests/baselines/reference/classMemberInitializerWithLamdaScoping3.js @@ -18,6 +18,7 @@ export class Test1 { } //// [classMemberInitializerWithLamdaScoping3_0.js] +"use strict"; var field1; //// [classMemberInitializerWithLamdaScoping3_1.js] "use strict"; diff --git a/tests/baselines/reference/classMemberInitializerWithLamdaScoping5.js b/tests/baselines/reference/classMemberInitializerWithLamdaScoping5.js index 45eae342986ad..276dfc4d85fbc 100644 --- a/tests/baselines/reference/classMemberInitializerWithLamdaScoping5.js +++ b/tests/baselines/reference/classMemberInitializerWithLamdaScoping5.js @@ -14,6 +14,7 @@ class Greeter { } //// [classMemberInitializerWithLamdaScoping5.js] +"use strict"; var Greeter = /** @class */ (function () { function Greeter(message) { this.messageHandler = function (message) { diff --git a/tests/baselines/reference/classMemberWithMissingIdentifier.js b/tests/baselines/reference/classMemberWithMissingIdentifier.js index 94fd1ccdbc21f..9358d194f9c52 100644 --- a/tests/baselines/reference/classMemberWithMissingIdentifier.js +++ b/tests/baselines/reference/classMemberWithMissingIdentifier.js @@ -6,6 +6,7 @@ class C { } //// [classMemberWithMissingIdentifier.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classMemberWithMissingIdentifier2.js b/tests/baselines/reference/classMemberWithMissingIdentifier2.js index da24204489038..2cfab568f130a 100644 --- a/tests/baselines/reference/classMemberWithMissingIdentifier2.js +++ b/tests/baselines/reference/classMemberWithMissingIdentifier2.js @@ -6,6 +6,7 @@ class C { } //// [classMemberWithMissingIdentifier2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classMethodWithKeywordName1.js b/tests/baselines/reference/classMethodWithKeywordName1.js index ad68caa835540..cbc86737804ce 100644 --- a/tests/baselines/reference/classMethodWithKeywordName1.js +++ b/tests/baselines/reference/classMethodWithKeywordName1.js @@ -6,6 +6,7 @@ class C { } //// [classMethodWithKeywordName1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classNameReferencesInStaticElements.js b/tests/baselines/reference/classNameReferencesInStaticElements.js index b6dbd4bda14b5..caed1032bbe1c 100644 --- a/tests/baselines/reference/classNameReferencesInStaticElements.js +++ b/tests/baselines/reference/classNameReferencesInStaticElements.js @@ -18,6 +18,7 @@ oldFoo.y(); new oldFoo().x(); //// [classNameReferencesInStaticElements.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/classOrder1.js b/tests/baselines/reference/classOrder1.js index 13c9d0e7206ca..254c290b7904c 100644 --- a/tests/baselines/reference/classOrder1.js +++ b/tests/baselines/reference/classOrder1.js @@ -14,6 +14,7 @@ a.foo(); //// [classOrder1.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classOrder2.js b/tests/baselines/reference/classOrder2.js index ee99c802d5e4c..53749d009169c 100644 --- a/tests/baselines/reference/classOrder2.js +++ b/tests/baselines/reference/classOrder2.js @@ -21,6 +21,7 @@ a.foo(); //// [classOrder2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classOrderBug.js b/tests/baselines/reference/classOrderBug.js index 49a1e82a5571f..c2f02f792aaa6 100644 --- a/tests/baselines/reference/classOrderBug.js +++ b/tests/baselines/reference/classOrderBug.js @@ -18,6 +18,7 @@ class foo extends baz {} //// [classOrderBug.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classOverloadForFunction.js b/tests/baselines/reference/classOverloadForFunction.js index c26cffcb0efb9..1786fc3a36259 100644 --- a/tests/baselines/reference/classOverloadForFunction.js +++ b/tests/baselines/reference/classOverloadForFunction.js @@ -6,6 +6,7 @@ function foo() {} //// [classOverloadForFunction.js] +"use strict"; var foo = /** @class */ (function () { function foo() { } diff --git a/tests/baselines/reference/classOverloadForFunction2.js b/tests/baselines/reference/classOverloadForFunction2.js index 655523f53d28a..4d3ffffa7a9f1 100644 --- a/tests/baselines/reference/classOverloadForFunction2.js +++ b/tests/baselines/reference/classOverloadForFunction2.js @@ -5,6 +5,7 @@ function bar(): string; class bar {} //// [classOverloadForFunction2.js] +"use strict"; var bar = /** @class */ (function () { function bar() { } diff --git a/tests/baselines/reference/classPropertyAsPrivate.js b/tests/baselines/reference/classPropertyAsPrivate.js index 530ab59bc19bb..845f48a48a092 100644 --- a/tests/baselines/reference/classPropertyAsPrivate.js +++ b/tests/baselines/reference/classPropertyAsPrivate.js @@ -26,6 +26,7 @@ C.b = 1; C.foo(); //// [classPropertyAsPrivate.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classPropertyAsProtected.js b/tests/baselines/reference/classPropertyAsProtected.js index 81750e1e43034..bde3e8321cd7b 100644 --- a/tests/baselines/reference/classPropertyAsProtected.js +++ b/tests/baselines/reference/classPropertyAsProtected.js @@ -26,6 +26,7 @@ C.b = 1; C.foo(); //// [classPropertyAsProtected.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classPropertyIsPublicByDefault.js b/tests/baselines/reference/classPropertyIsPublicByDefault.js index f17910e8ad8da..c94c87f06ae58 100644 --- a/tests/baselines/reference/classPropertyIsPublicByDefault.js +++ b/tests/baselines/reference/classPropertyIsPublicByDefault.js @@ -25,6 +25,7 @@ C.b = 1; C.foo(); //// [classPropertyIsPublicByDefault.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classSideInheritance1.js b/tests/baselines/reference/classSideInheritance1.js index 97f0be7ac6eb4..6a2d75a4d8be2 100644 --- a/tests/baselines/reference/classSideInheritance1.js +++ b/tests/baselines/reference/classSideInheritance1.js @@ -18,6 +18,7 @@ A.bar(); // valid C2.bar(); // valid //// [classSideInheritance1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classSideInheritance2.js b/tests/baselines/reference/classSideInheritance2.js index cb522da7e9e9e..c746e937826da 100644 --- a/tests/baselines/reference/classSideInheritance2.js +++ b/tests/baselines/reference/classSideInheritance2.js @@ -23,6 +23,7 @@ class TextBase implements IText { } //// [classSideInheritance2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classSideInheritance3.js b/tests/baselines/reference/classSideInheritance3.js index 9d1877fd00f68..dcffcc10b1138 100644 --- a/tests/baselines/reference/classSideInheritance3.js +++ b/tests/baselines/reference/classSideInheritance3.js @@ -21,6 +21,7 @@ var r2: new (x: string) => A = B; // error var r3: typeof A = C; // ok //// [classSideInheritance3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classStaticBlock1(target=es2015).js b/tests/baselines/reference/classStaticBlock1(target=es2015).js index 8d00576d5d586..ff5e0c837aea1 100644 --- a/tests/baselines/reference/classStaticBlock1(target=es2015).js +++ b/tests/baselines/reference/classStaticBlock1(target=es2015).js @@ -13,6 +13,7 @@ class C { //// [classStaticBlock1.js] +"use strict"; const a = 2; class C { } diff --git a/tests/baselines/reference/classStaticBlock1(target=es2022).js b/tests/baselines/reference/classStaticBlock1(target=es2022).js index a98762a0ad0e2..b27042073d29b 100644 --- a/tests/baselines/reference/classStaticBlock1(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock1(target=es2022).js @@ -13,6 +13,7 @@ class C { //// [classStaticBlock1.js] +"use strict"; const a = 2; class C { static { diff --git a/tests/baselines/reference/classStaticBlock1(target=es5).js b/tests/baselines/reference/classStaticBlock1(target=es5).js index 952d584bb907c..d7e4e7243662e 100644 --- a/tests/baselines/reference/classStaticBlock1(target=es5).js +++ b/tests/baselines/reference/classStaticBlock1(target=es5).js @@ -13,6 +13,7 @@ class C { //// [classStaticBlock1.js] +"use strict"; var a = 2; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classStaticBlock1(target=esnext).js b/tests/baselines/reference/classStaticBlock1(target=esnext).js index a98762a0ad0e2..b27042073d29b 100644 --- a/tests/baselines/reference/classStaticBlock1(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock1(target=esnext).js @@ -13,6 +13,7 @@ class C { //// [classStaticBlock1.js] +"use strict"; const a = 2; class C { static { diff --git a/tests/baselines/reference/classStaticBlock10(target=es2015).js b/tests/baselines/reference/classStaticBlock10(target=es2015).js index 5ec314d672ffd..5ceb042f7a2a2 100644 --- a/tests/baselines/reference/classStaticBlock10(target=es2015).js +++ b/tests/baselines/reference/classStaticBlock10(target=es2015).js @@ -31,6 +31,7 @@ class C2 { //// [classStaticBlock10.js] +"use strict"; var a1 = 1; var a2 = 1; const b1 = 2; diff --git a/tests/baselines/reference/classStaticBlock10(target=es2022).js b/tests/baselines/reference/classStaticBlock10(target=es2022).js index 9c8190f35469e..47bb453b238cb 100644 --- a/tests/baselines/reference/classStaticBlock10(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock10(target=es2022).js @@ -31,6 +31,7 @@ class C2 { //// [classStaticBlock10.js] +"use strict"; var a1 = 1; var a2 = 1; const b1 = 2; diff --git a/tests/baselines/reference/classStaticBlock10(target=es5).js b/tests/baselines/reference/classStaticBlock10(target=es5).js index 8d4cd26a427ed..560de3e224486 100644 --- a/tests/baselines/reference/classStaticBlock10(target=es5).js +++ b/tests/baselines/reference/classStaticBlock10(target=es5).js @@ -31,6 +31,7 @@ class C2 { //// [classStaticBlock10.js] +"use strict"; var a1 = 1; var a2 = 1; var b1 = 2; diff --git a/tests/baselines/reference/classStaticBlock10(target=esnext).js b/tests/baselines/reference/classStaticBlock10(target=esnext).js index 9c8190f35469e..47bb453b238cb 100644 --- a/tests/baselines/reference/classStaticBlock10(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock10(target=esnext).js @@ -31,6 +31,7 @@ class C2 { //// [classStaticBlock10.js] +"use strict"; var a1 = 1; var a2 = 1; const b1 = 2; diff --git a/tests/baselines/reference/classStaticBlock11(target=es2015).js b/tests/baselines/reference/classStaticBlock11(target=es2015).js index faa693ae0d649..47c3f71affbfc 100644 --- a/tests/baselines/reference/classStaticBlock11(target=es2015).js +++ b/tests/baselines/reference/classStaticBlock11(target=es2015).js @@ -16,6 +16,7 @@ class C { //// [classStaticBlock11.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/classStaticBlock11(target=es2022).js b/tests/baselines/reference/classStaticBlock11(target=es2022).js index ebee5f8e5a146..c4ba0e039641b 100644 --- a/tests/baselines/reference/classStaticBlock11(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock11(target=es2022).js @@ -16,6 +16,7 @@ class C { //// [classStaticBlock11.js] +"use strict"; let getX; class C { #x = 1; diff --git a/tests/baselines/reference/classStaticBlock11(target=esnext).js b/tests/baselines/reference/classStaticBlock11(target=esnext).js index ebee5f8e5a146..c4ba0e039641b 100644 --- a/tests/baselines/reference/classStaticBlock11(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock11(target=esnext).js @@ -16,6 +16,7 @@ class C { //// [classStaticBlock11.js] +"use strict"; let getX; class C { #x = 1; diff --git a/tests/baselines/reference/classStaticBlock12.js b/tests/baselines/reference/classStaticBlock12.js index 9cba3a67235d4..22bf48a90daa3 100644 --- a/tests/baselines/reference/classStaticBlock12.js +++ b/tests/baselines/reference/classStaticBlock12.js @@ -11,6 +11,7 @@ class C { //// [classStaticBlock12.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/classStaticBlock13(target=es2015).js b/tests/baselines/reference/classStaticBlock13(target=es2015).js index f1a7dfe01795a..dd96e345f90b1 100644 --- a/tests/baselines/reference/classStaticBlock13(target=es2015).js +++ b/tests/baselines/reference/classStaticBlock13(target=es2015).js @@ -15,6 +15,7 @@ class C { //// [classStaticBlock13.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/classStaticBlock13(target=es2022).js b/tests/baselines/reference/classStaticBlock13(target=es2022).js index e88dc8c2fa89f..c3a702646d0df 100644 --- a/tests/baselines/reference/classStaticBlock13(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock13(target=es2022).js @@ -15,6 +15,7 @@ class C { //// [classStaticBlock13.js] +"use strict"; class C { static #x = 123; static { diff --git a/tests/baselines/reference/classStaticBlock13(target=esnext).js b/tests/baselines/reference/classStaticBlock13(target=esnext).js index e88dc8c2fa89f..c3a702646d0df 100644 --- a/tests/baselines/reference/classStaticBlock13(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock13(target=esnext).js @@ -15,6 +15,7 @@ class C { //// [classStaticBlock13.js] +"use strict"; class C { static #x = 123; static { diff --git a/tests/baselines/reference/classStaticBlock14.js b/tests/baselines/reference/classStaticBlock14.js index f40d2122850a1..9064ee0dd5250 100644 --- a/tests/baselines/reference/classStaticBlock14.js +++ b/tests/baselines/reference/classStaticBlock14.js @@ -16,6 +16,7 @@ class C { //// [classStaticBlock14.js] +"use strict"; var _a, _C__1, _C__3, _C__5; class C { } diff --git a/tests/baselines/reference/classStaticBlock15(target=es2015).js b/tests/baselines/reference/classStaticBlock15(target=es2015).js index 2ba53277d1461..5ae9cd6da172e 100644 --- a/tests/baselines/reference/classStaticBlock15(target=es2015).js +++ b/tests/baselines/reference/classStaticBlock15(target=es2015).js @@ -20,6 +20,7 @@ console.log(_C__1) //// [classStaticBlock15.js] +"use strict"; var _a, _C__1_1, _C__3, _C__5; var _C__1; class C { diff --git a/tests/baselines/reference/classStaticBlock15(target=es2022).js b/tests/baselines/reference/classStaticBlock15(target=es2022).js index 396df4718e75c..5fae60e518d5d 100644 --- a/tests/baselines/reference/classStaticBlock15(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock15(target=es2022).js @@ -20,6 +20,7 @@ console.log(_C__1) //// [classStaticBlock15.js] +"use strict"; var _C__1; class C { static #_1 = 1; diff --git a/tests/baselines/reference/classStaticBlock15(target=esnext).js b/tests/baselines/reference/classStaticBlock15(target=esnext).js index 396df4718e75c..5fae60e518d5d 100644 --- a/tests/baselines/reference/classStaticBlock15(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock15(target=esnext).js @@ -20,6 +20,7 @@ console.log(_C__1) //// [classStaticBlock15.js] +"use strict"; var _C__1; class C { static #_1 = 1; diff --git a/tests/baselines/reference/classStaticBlock16.js b/tests/baselines/reference/classStaticBlock16.js index 53bf038cac3d9..60a93faae55b5 100644 --- a/tests/baselines/reference/classStaticBlock16.js +++ b/tests/baselines/reference/classStaticBlock16.js @@ -27,6 +27,7 @@ class D { } //// [classStaticBlock16.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/classStaticBlock17.js b/tests/baselines/reference/classStaticBlock17.js index 0ea5608afd5f3..da4d165171480 100644 --- a/tests/baselines/reference/classStaticBlock17.js +++ b/tests/baselines/reference/classStaticBlock17.js @@ -34,6 +34,7 @@ const b = new B(a); a.getX(); //// [classStaticBlock17.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/classStaticBlock18(target=es2015).js b/tests/baselines/reference/classStaticBlock18(target=es2015).js index a594c733f7082..074a0f2ac49c4 100644 --- a/tests/baselines/reference/classStaticBlock18(target=es2015).js +++ b/tests/baselines/reference/classStaticBlock18(target=es2015).js @@ -17,6 +17,7 @@ function foo () { //// [classStaticBlock18.js] +"use strict"; var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); diff --git a/tests/baselines/reference/classStaticBlock18(target=es2022).js b/tests/baselines/reference/classStaticBlock18(target=es2022).js index 0bf043c30d8ac..806edddabb462 100644 --- a/tests/baselines/reference/classStaticBlock18(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock18(target=es2022).js @@ -17,6 +17,7 @@ function foo () { //// [classStaticBlock18.js] +"use strict"; function foo() { return class { static foo = 1; diff --git a/tests/baselines/reference/classStaticBlock18(target=es5).js b/tests/baselines/reference/classStaticBlock18(target=es5).js index f9c310c90de12..a7c7cc7a28947 100644 --- a/tests/baselines/reference/classStaticBlock18(target=es5).js +++ b/tests/baselines/reference/classStaticBlock18(target=es5).js @@ -17,6 +17,7 @@ function foo () { //// [classStaticBlock18.js] +"use strict"; var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); diff --git a/tests/baselines/reference/classStaticBlock18(target=esnext).js b/tests/baselines/reference/classStaticBlock18(target=esnext).js index 0bf043c30d8ac..806edddabb462 100644 --- a/tests/baselines/reference/classStaticBlock18(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock18(target=esnext).js @@ -17,6 +17,7 @@ function foo () { //// [classStaticBlock18.js] +"use strict"; function foo() { return class { static foo = 1; diff --git a/tests/baselines/reference/classStaticBlock19.js b/tests/baselines/reference/classStaticBlock19.js index d84eef4c90e73..1a34fe0aa6464 100644 --- a/tests/baselines/reference/classStaticBlock19.js +++ b/tests/baselines/reference/classStaticBlock19.js @@ -10,6 +10,7 @@ class C { //// [classStaticBlock19.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classStaticBlock2(target=es2015).js b/tests/baselines/reference/classStaticBlock2(target=es2015).js index 121818952873f..cddfa96f88f27 100644 --- a/tests/baselines/reference/classStaticBlock2(target=es2015).js +++ b/tests/baselines/reference/classStaticBlock2(target=es2015).js @@ -22,6 +22,7 @@ class C { //// [classStaticBlock2.js] +"use strict"; const a = 1; const b = 2; class C { diff --git a/tests/baselines/reference/classStaticBlock2(target=es2022).js b/tests/baselines/reference/classStaticBlock2(target=es2022).js index bda6e6dc7512c..5bb0698bce7ad 100644 --- a/tests/baselines/reference/classStaticBlock2(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock2(target=es2022).js @@ -22,6 +22,7 @@ class C { //// [classStaticBlock2.js] +"use strict"; const a = 1; const b = 2; class C { diff --git a/tests/baselines/reference/classStaticBlock2(target=es5).js b/tests/baselines/reference/classStaticBlock2(target=es5).js index 815b3c0a010ed..a59fa40ca4d36 100644 --- a/tests/baselines/reference/classStaticBlock2(target=es5).js +++ b/tests/baselines/reference/classStaticBlock2(target=es5).js @@ -22,6 +22,7 @@ class C { //// [classStaticBlock2.js] +"use strict"; var a = 1; var b = 2; var C = /** @class */ (function () { diff --git a/tests/baselines/reference/classStaticBlock2(target=esnext).js b/tests/baselines/reference/classStaticBlock2(target=esnext).js index bda6e6dc7512c..5bb0698bce7ad 100644 --- a/tests/baselines/reference/classStaticBlock2(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock2(target=esnext).js @@ -22,6 +22,7 @@ class C { //// [classStaticBlock2.js] +"use strict"; const a = 1; const b = 2; class C { diff --git a/tests/baselines/reference/classStaticBlock20.js b/tests/baselines/reference/classStaticBlock20.js index ce8a628b970e6..6efa96a783fa7 100644 --- a/tests/baselines/reference/classStaticBlock20.js +++ b/tests/baselines/reference/classStaticBlock20.js @@ -17,6 +17,7 @@ class C { //// [classStaticBlock20.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classStaticBlock21.js b/tests/baselines/reference/classStaticBlock21.js index 55b8c8431ec0a..d0abb341466db 100644 --- a/tests/baselines/reference/classStaticBlock21.js +++ b/tests/baselines/reference/classStaticBlock21.js @@ -10,6 +10,7 @@ class C { //// [classStaticBlock21.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classStaticBlock22(target=es2022).js b/tests/baselines/reference/classStaticBlock22(target=es2022).js index f1e722d87cba4..6408cad19d5ab 100644 --- a/tests/baselines/reference/classStaticBlock22(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock22(target=es2022).js @@ -74,6 +74,7 @@ class C { //// [classStaticBlock22.js] +"use strict"; let await; class C { static { diff --git a/tests/baselines/reference/classStaticBlock22(target=esnext).js b/tests/baselines/reference/classStaticBlock22(target=esnext).js index f1e722d87cba4..6408cad19d5ab 100644 --- a/tests/baselines/reference/classStaticBlock22(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock22(target=esnext).js @@ -74,6 +74,7 @@ class C { //// [classStaticBlock22.js] +"use strict"; let await; class C { static { diff --git a/tests/baselines/reference/classStaticBlock23(target=es2022).js b/tests/baselines/reference/classStaticBlock23(target=es2022).js index 2b0675d84ec0d..37741f22fd290 100644 --- a/tests/baselines/reference/classStaticBlock23(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock23(target=es2022).js @@ -23,6 +23,7 @@ async function foo () { //// [classStaticBlock23.js] +"use strict"; const nums = [1, 2, 3].map(n => Promise.resolve(n)); class C { static { diff --git a/tests/baselines/reference/classStaticBlock23(target=esnext).js b/tests/baselines/reference/classStaticBlock23(target=esnext).js index 2b0675d84ec0d..37741f22fd290 100644 --- a/tests/baselines/reference/classStaticBlock23(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock23(target=esnext).js @@ -23,6 +23,7 @@ async function foo () { //// [classStaticBlock23.js] +"use strict"; const nums = [1, 2, 3].map(n => Promise.resolve(n)); class C { static { diff --git a/tests/baselines/reference/classStaticBlock25(target=es2022).js b/tests/baselines/reference/classStaticBlock25(target=es2022).js index 8d79960bac8a7..f0270f435e8b4 100644 --- a/tests/baselines/reference/classStaticBlock25(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock25(target=es2022).js @@ -22,6 +22,7 @@ class C { //// [classStaticBlock25.js] +"use strict"; const a = 1; const b = 2; class C { diff --git a/tests/baselines/reference/classStaticBlock25(target=es2022).js.map b/tests/baselines/reference/classStaticBlock25(target=es2022).js.map index f3bccac8cb86f..2ea6762469b27 100644 --- a/tests/baselines/reference/classStaticBlock25(target=es2022).js.map +++ b/tests/baselines/reference/classStaticBlock25(target=es2022).js.map @@ -1,6 +1,6 @@ //// [classStaticBlock25.js.map] -{"version":3,"file":"classStaticBlock25.js","sourceRoot":"","sources":["classStaticBlock25.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,GAAG,CAAC,CAAC;AACZ,MAAM,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC;IACH;QACI,MAAM,CAAC,GAAG,EAAE,CAAC;QAEb,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC;IAED;QACI,MAAM,CAAC,GAAG,EAAE,CAAC;QAEb,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC;CACJ"} -//// https://sokra.github.io/source-map-visualization#base64,Y29uc3QgYSA9IDE7DQpjb25zdCBiID0gMjsNCmNsYXNzIEMgew0KICAgIHN0YXRpYyB7DQogICAgICAgIGNvbnN0IGEgPSAxMTsNCiAgICAgICAgYTsNCiAgICAgICAgYjsNCiAgICB9DQogICAgc3RhdGljIHsNCiAgICAgICAgY29uc3QgYSA9IDExOw0KICAgICAgICBhOw0KICAgICAgICBiOw0KICAgIH0NCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWNsYXNzU3RhdGljQmxvY2syNS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xhc3NTdGF0aWNCbG9jazI1LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY2xhc3NTdGF0aWNCbG9jazI1LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNaLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUVaLE1BQU0sQ0FBQztJQUNIO1FBQ0ksTUFBTSxDQUFDLEdBQUcsRUFBRSxDQUFDO1FBRWIsQ0FBQyxDQUFDO1FBQ0YsQ0FBQyxDQUFDO0lBQ04sQ0FBQztJQUVEO1FBQ0ksTUFBTSxDQUFDLEdBQUcsRUFBRSxDQUFDO1FBRWIsQ0FBQyxDQUFDO1FBQ0YsQ0FBQyxDQUFDO0lBQ04sQ0FBQztDQUNKIn0=,Y29uc3QgYSA9IDE7CmNvbnN0IGIgPSAyOwoKY2xhc3MgQyB7CiAgICBzdGF0aWMgewogICAgICAgIGNvbnN0IGEgPSAxMTsKCiAgICAgICAgYTsKICAgICAgICBiOwogICAgfQoKICAgIHN0YXRpYyB7CiAgICAgICAgY29uc3QgYSA9IDExOwoKICAgICAgICBhOwogICAgICAgIGI7CiAgICB9Cn0K +{"version":3,"file":"classStaticBlock25.js","sourceRoot":"","sources":["classStaticBlock25.ts"],"names":[],"mappings":";AAAA,MAAM,CAAC,GAAG,CAAC,CAAC;AACZ,MAAM,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC;IACH;QACI,MAAM,CAAC,GAAG,EAAE,CAAC;QAEb,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC;IAED;QACI,MAAM,CAAC,GAAG,EAAE,CAAC;QAEb,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC;CACJ"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KY29uc3QgYSA9IDE7DQpjb25zdCBiID0gMjsNCmNsYXNzIEMgew0KICAgIHN0YXRpYyB7DQogICAgICAgIGNvbnN0IGEgPSAxMTsNCiAgICAgICAgYTsNCiAgICAgICAgYjsNCiAgICB9DQogICAgc3RhdGljIHsNCiAgICAgICAgY29uc3QgYSA9IDExOw0KICAgICAgICBhOw0KICAgICAgICBiOw0KICAgIH0NCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWNsYXNzU3RhdGljQmxvY2syNS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xhc3NTdGF0aWNCbG9jazI1LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY2xhc3NTdGF0aWNCbG9jazI1LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDWixNQUFNLENBQUMsR0FBRyxDQUFDLENBQUM7QUFFWixNQUFNLENBQUM7SUFDSDtRQUNJLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztRQUViLENBQUMsQ0FBQztRQUNGLENBQUMsQ0FBQztJQUNOLENBQUM7SUFFRDtRQUNJLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztRQUViLENBQUMsQ0FBQztRQUNGLENBQUMsQ0FBQztJQUNOLENBQUM7Q0FDSiJ9,Y29uc3QgYSA9IDE7CmNvbnN0IGIgPSAyOwoKY2xhc3MgQyB7CiAgICBzdGF0aWMgewogICAgICAgIGNvbnN0IGEgPSAxMTsKCiAgICAgICAgYTsKICAgICAgICBiOwogICAgfQoKICAgIHN0YXRpYyB7CiAgICAgICAgY29uc3QgYSA9IDExOwoKICAgICAgICBhOwogICAgICAgIGI7CiAgICB9Cn0K //// [classStaticBlock25.d.ts.map] {"version":3,"file":"classStaticBlock25.d.ts","sourceRoot":"","sources":["classStaticBlock25.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,IAAI,CAAC;AACZ,QAAA,MAAM,CAAC,IAAI,CAAC;AAEZ,cAAM,CAAC;CAcN"} diff --git a/tests/baselines/reference/classStaticBlock25(target=es2022).sourcemap.txt b/tests/baselines/reference/classStaticBlock25(target=es2022).sourcemap.txt index f2f548f460210..20161418284a9 100644 --- a/tests/baselines/reference/classStaticBlock25(target=es2022).sourcemap.txt +++ b/tests/baselines/reference/classStaticBlock25(target=es2022).sourcemap.txt @@ -8,6 +8,7 @@ sources: classStaticBlock25.ts emittedFile:classStaticBlock25.js sourceFile:classStaticBlock25.ts ------------------------------------------------------------------- +>>>"use strict"; >>>const a = 1; 1 > 2 >^^^^^^ @@ -22,12 +23,12 @@ sourceFile:classStaticBlock25.ts 4 > = 5 > 1 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0) -3 >Emitted(1, 8) Source(1, 8) + SourceIndex(0) -4 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -5 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) -6 >Emitted(1, 13) Source(1, 13) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 7) Source(1, 7) + SourceIndex(0) +3 >Emitted(2, 8) Source(1, 8) + SourceIndex(0) +4 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +5 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) +6 >Emitted(2, 13) Source(1, 13) + SourceIndex(0) --- >>>const b = 2; 1-> @@ -43,12 +44,12 @@ sourceFile:classStaticBlock25.ts 4 > = 5 > 2 6 > ; -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 7) Source(2, 7) + SourceIndex(0) -3 >Emitted(2, 8) Source(2, 8) + SourceIndex(0) -4 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) -5 >Emitted(2, 12) Source(2, 12) + SourceIndex(0) -6 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 7) Source(2, 7) + SourceIndex(0) +3 >Emitted(3, 8) Source(2, 8) + SourceIndex(0) +4 >Emitted(3, 11) Source(2, 11) + SourceIndex(0) +5 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) +6 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) --- >>>class C { 1 > @@ -60,16 +61,16 @@ sourceFile:classStaticBlock25.ts > 2 >class 3 > C -1 >Emitted(3, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(3, 7) Source(4, 7) + SourceIndex(0) -3 >Emitted(3, 8) Source(4, 8) + SourceIndex(0) +1 >Emitted(4, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(4, 7) Source(4, 7) + SourceIndex(0) +3 >Emitted(4, 8) Source(4, 8) + SourceIndex(0) --- >>> static { 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^^-> 1-> { > -1->Emitted(4, 5) Source(5, 5) + SourceIndex(0) +1->Emitted(5, 5) Source(5, 5) + SourceIndex(0) --- >>> const a = 11; 1->^^^^^^^^ @@ -85,12 +86,12 @@ sourceFile:classStaticBlock25.ts 4 > = 5 > 11 6 > ; -1->Emitted(5, 9) Source(6, 9) + SourceIndex(0) -2 >Emitted(5, 15) Source(6, 15) + SourceIndex(0) -3 >Emitted(5, 16) Source(6, 16) + SourceIndex(0) -4 >Emitted(5, 19) Source(6, 19) + SourceIndex(0) -5 >Emitted(5, 21) Source(6, 21) + SourceIndex(0) -6 >Emitted(5, 22) Source(6, 22) + SourceIndex(0) +1->Emitted(6, 9) Source(6, 9) + SourceIndex(0) +2 >Emitted(6, 15) Source(6, 15) + SourceIndex(0) +3 >Emitted(6, 16) Source(6, 16) + SourceIndex(0) +4 >Emitted(6, 19) Source(6, 19) + SourceIndex(0) +5 >Emitted(6, 21) Source(6, 21) + SourceIndex(0) +6 >Emitted(6, 22) Source(6, 22) + SourceIndex(0) --- >>> a; 1 >^^^^^^^^ @@ -102,9 +103,9 @@ sourceFile:classStaticBlock25.ts > 2 > a 3 > ; -1 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) -2 >Emitted(6, 10) Source(8, 10) + SourceIndex(0) -3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +1 >Emitted(7, 9) Source(8, 9) + SourceIndex(0) +2 >Emitted(7, 10) Source(8, 10) + SourceIndex(0) +3 >Emitted(7, 11) Source(8, 11) + SourceIndex(0) --- >>> b; 1->^^^^^^^^ @@ -114,9 +115,9 @@ sourceFile:classStaticBlock25.ts > 2 > b 3 > ; -1->Emitted(7, 9) Source(9, 9) + SourceIndex(0) -2 >Emitted(7, 10) Source(9, 10) + SourceIndex(0) -3 >Emitted(7, 11) Source(9, 11) + SourceIndex(0) +1->Emitted(8, 9) Source(9, 9) + SourceIndex(0) +2 >Emitted(8, 10) Source(9, 10) + SourceIndex(0) +3 >Emitted(8, 11) Source(9, 11) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -125,8 +126,8 @@ sourceFile:classStaticBlock25.ts 1 > > 2 > } -1 >Emitted(8, 5) Source(10, 5) + SourceIndex(0) -2 >Emitted(8, 6) Source(10, 6) + SourceIndex(0) +1 >Emitted(9, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(9, 6) Source(10, 6) + SourceIndex(0) --- >>> static { 1->^^^^ @@ -134,7 +135,7 @@ sourceFile:classStaticBlock25.ts 1-> > > -1->Emitted(9, 5) Source(12, 5) + SourceIndex(0) +1->Emitted(10, 5) Source(12, 5) + SourceIndex(0) --- >>> const a = 11; 1->^^^^^^^^ @@ -150,12 +151,12 @@ sourceFile:classStaticBlock25.ts 4 > = 5 > 11 6 > ; -1->Emitted(10, 9) Source(13, 9) + SourceIndex(0) -2 >Emitted(10, 15) Source(13, 15) + SourceIndex(0) -3 >Emitted(10, 16) Source(13, 16) + SourceIndex(0) -4 >Emitted(10, 19) Source(13, 19) + SourceIndex(0) -5 >Emitted(10, 21) Source(13, 21) + SourceIndex(0) -6 >Emitted(10, 22) Source(13, 22) + SourceIndex(0) +1->Emitted(11, 9) Source(13, 9) + SourceIndex(0) +2 >Emitted(11, 15) Source(13, 15) + SourceIndex(0) +3 >Emitted(11, 16) Source(13, 16) + SourceIndex(0) +4 >Emitted(11, 19) Source(13, 19) + SourceIndex(0) +5 >Emitted(11, 21) Source(13, 21) + SourceIndex(0) +6 >Emitted(11, 22) Source(13, 22) + SourceIndex(0) --- >>> a; 1 >^^^^^^^^ @@ -167,9 +168,9 @@ sourceFile:classStaticBlock25.ts > 2 > a 3 > ; -1 >Emitted(11, 9) Source(15, 9) + SourceIndex(0) -2 >Emitted(11, 10) Source(15, 10) + SourceIndex(0) -3 >Emitted(11, 11) Source(15, 11) + SourceIndex(0) +1 >Emitted(12, 9) Source(15, 9) + SourceIndex(0) +2 >Emitted(12, 10) Source(15, 10) + SourceIndex(0) +3 >Emitted(12, 11) Source(15, 11) + SourceIndex(0) --- >>> b; 1->^^^^^^^^ @@ -179,9 +180,9 @@ sourceFile:classStaticBlock25.ts > 2 > b 3 > ; -1->Emitted(12, 9) Source(16, 9) + SourceIndex(0) -2 >Emitted(12, 10) Source(16, 10) + SourceIndex(0) -3 >Emitted(12, 11) Source(16, 11) + SourceIndex(0) +1->Emitted(13, 9) Source(16, 9) + SourceIndex(0) +2 >Emitted(13, 10) Source(16, 10) + SourceIndex(0) +3 >Emitted(13, 11) Source(16, 11) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -189,15 +190,15 @@ sourceFile:classStaticBlock25.ts 1 > > 2 > } -1 >Emitted(13, 5) Source(17, 5) + SourceIndex(0) -2 >Emitted(13, 6) Source(17, 6) + SourceIndex(0) +1 >Emitted(14, 5) Source(17, 5) + SourceIndex(0) +2 >Emitted(14, 6) Source(17, 6) + SourceIndex(0) --- >>>} 1 >^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > >} -1 >Emitted(14, 2) Source(18, 2) + SourceIndex(0) +1 >Emitted(15, 2) Source(18, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=classStaticBlock25.js.map=================================================================== JsFile: classStaticBlock25.d.ts diff --git a/tests/baselines/reference/classStaticBlock25(target=esnext).js b/tests/baselines/reference/classStaticBlock25(target=esnext).js index 8d79960bac8a7..f0270f435e8b4 100644 --- a/tests/baselines/reference/classStaticBlock25(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock25(target=esnext).js @@ -22,6 +22,7 @@ class C { //// [classStaticBlock25.js] +"use strict"; const a = 1; const b = 2; class C { diff --git a/tests/baselines/reference/classStaticBlock25(target=esnext).js.map b/tests/baselines/reference/classStaticBlock25(target=esnext).js.map index f3bccac8cb86f..2ea6762469b27 100644 --- a/tests/baselines/reference/classStaticBlock25(target=esnext).js.map +++ b/tests/baselines/reference/classStaticBlock25(target=esnext).js.map @@ -1,6 +1,6 @@ //// [classStaticBlock25.js.map] -{"version":3,"file":"classStaticBlock25.js","sourceRoot":"","sources":["classStaticBlock25.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC,GAAG,CAAC,CAAC;AACZ,MAAM,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC;IACH;QACI,MAAM,CAAC,GAAG,EAAE,CAAC;QAEb,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC;IAED;QACI,MAAM,CAAC,GAAG,EAAE,CAAC;QAEb,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC;CACJ"} -//// https://sokra.github.io/source-map-visualization#base64,Y29uc3QgYSA9IDE7DQpjb25zdCBiID0gMjsNCmNsYXNzIEMgew0KICAgIHN0YXRpYyB7DQogICAgICAgIGNvbnN0IGEgPSAxMTsNCiAgICAgICAgYTsNCiAgICAgICAgYjsNCiAgICB9DQogICAgc3RhdGljIHsNCiAgICAgICAgY29uc3QgYSA9IDExOw0KICAgICAgICBhOw0KICAgICAgICBiOw0KICAgIH0NCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWNsYXNzU3RhdGljQmxvY2syNS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xhc3NTdGF0aWNCbG9jazI1LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY2xhc3NTdGF0aWNCbG9jazI1LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNaLE1BQU0sQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUVaLE1BQU0sQ0FBQztJQUNIO1FBQ0ksTUFBTSxDQUFDLEdBQUcsRUFBRSxDQUFDO1FBRWIsQ0FBQyxDQUFDO1FBQ0YsQ0FBQyxDQUFDO0lBQ04sQ0FBQztJQUVEO1FBQ0ksTUFBTSxDQUFDLEdBQUcsRUFBRSxDQUFDO1FBRWIsQ0FBQyxDQUFDO1FBQ0YsQ0FBQyxDQUFDO0lBQ04sQ0FBQztDQUNKIn0=,Y29uc3QgYSA9IDE7CmNvbnN0IGIgPSAyOwoKY2xhc3MgQyB7CiAgICBzdGF0aWMgewogICAgICAgIGNvbnN0IGEgPSAxMTsKCiAgICAgICAgYTsKICAgICAgICBiOwogICAgfQoKICAgIHN0YXRpYyB7CiAgICAgICAgY29uc3QgYSA9IDExOwoKICAgICAgICBhOwogICAgICAgIGI7CiAgICB9Cn0K +{"version":3,"file":"classStaticBlock25.js","sourceRoot":"","sources":["classStaticBlock25.ts"],"names":[],"mappings":";AAAA,MAAM,CAAC,GAAG,CAAC,CAAC;AACZ,MAAM,CAAC,GAAG,CAAC,CAAC;AAEZ,MAAM,CAAC;IACH;QACI,MAAM,CAAC,GAAG,EAAE,CAAC;QAEb,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC;IAED;QACI,MAAM,CAAC,GAAG,EAAE,CAAC;QAEb,CAAC,CAAC;QACF,CAAC,CAAC;IACN,CAAC;CACJ"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KY29uc3QgYSA9IDE7DQpjb25zdCBiID0gMjsNCmNsYXNzIEMgew0KICAgIHN0YXRpYyB7DQogICAgICAgIGNvbnN0IGEgPSAxMTsNCiAgICAgICAgYTsNCiAgICAgICAgYjsNCiAgICB9DQogICAgc3RhdGljIHsNCiAgICAgICAgY29uc3QgYSA9IDExOw0KICAgICAgICBhOw0KICAgICAgICBiOw0KICAgIH0NCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWNsYXNzU3RhdGljQmxvY2syNS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xhc3NTdGF0aWNCbG9jazI1LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiY2xhc3NTdGF0aWNCbG9jazI1LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxNQUFNLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDWixNQUFNLENBQUMsR0FBRyxDQUFDLENBQUM7QUFFWixNQUFNLENBQUM7SUFDSDtRQUNJLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztRQUViLENBQUMsQ0FBQztRQUNGLENBQUMsQ0FBQztJQUNOLENBQUM7SUFFRDtRQUNJLE1BQU0sQ0FBQyxHQUFHLEVBQUUsQ0FBQztRQUViLENBQUMsQ0FBQztRQUNGLENBQUMsQ0FBQztJQUNOLENBQUM7Q0FDSiJ9,Y29uc3QgYSA9IDE7CmNvbnN0IGIgPSAyOwoKY2xhc3MgQyB7CiAgICBzdGF0aWMgewogICAgICAgIGNvbnN0IGEgPSAxMTsKCiAgICAgICAgYTsKICAgICAgICBiOwogICAgfQoKICAgIHN0YXRpYyB7CiAgICAgICAgY29uc3QgYSA9IDExOwoKICAgICAgICBhOwogICAgICAgIGI7CiAgICB9Cn0K //// [classStaticBlock25.d.ts.map] {"version":3,"file":"classStaticBlock25.d.ts","sourceRoot":"","sources":["classStaticBlock25.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,CAAC,IAAI,CAAC;AACZ,QAAA,MAAM,CAAC,IAAI,CAAC;AAEZ,cAAM,CAAC;CAcN"} diff --git a/tests/baselines/reference/classStaticBlock25(target=esnext).sourcemap.txt b/tests/baselines/reference/classStaticBlock25(target=esnext).sourcemap.txt index f2f548f460210..20161418284a9 100644 --- a/tests/baselines/reference/classStaticBlock25(target=esnext).sourcemap.txt +++ b/tests/baselines/reference/classStaticBlock25(target=esnext).sourcemap.txt @@ -8,6 +8,7 @@ sources: classStaticBlock25.ts emittedFile:classStaticBlock25.js sourceFile:classStaticBlock25.ts ------------------------------------------------------------------- +>>>"use strict"; >>>const a = 1; 1 > 2 >^^^^^^ @@ -22,12 +23,12 @@ sourceFile:classStaticBlock25.ts 4 > = 5 > 1 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0) -3 >Emitted(1, 8) Source(1, 8) + SourceIndex(0) -4 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -5 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) -6 >Emitted(1, 13) Source(1, 13) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 7) Source(1, 7) + SourceIndex(0) +3 >Emitted(2, 8) Source(1, 8) + SourceIndex(0) +4 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +5 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) +6 >Emitted(2, 13) Source(1, 13) + SourceIndex(0) --- >>>const b = 2; 1-> @@ -43,12 +44,12 @@ sourceFile:classStaticBlock25.ts 4 > = 5 > 2 6 > ; -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 7) Source(2, 7) + SourceIndex(0) -3 >Emitted(2, 8) Source(2, 8) + SourceIndex(0) -4 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) -5 >Emitted(2, 12) Source(2, 12) + SourceIndex(0) -6 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 7) Source(2, 7) + SourceIndex(0) +3 >Emitted(3, 8) Source(2, 8) + SourceIndex(0) +4 >Emitted(3, 11) Source(2, 11) + SourceIndex(0) +5 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) +6 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) --- >>>class C { 1 > @@ -60,16 +61,16 @@ sourceFile:classStaticBlock25.ts > 2 >class 3 > C -1 >Emitted(3, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(3, 7) Source(4, 7) + SourceIndex(0) -3 >Emitted(3, 8) Source(4, 8) + SourceIndex(0) +1 >Emitted(4, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(4, 7) Source(4, 7) + SourceIndex(0) +3 >Emitted(4, 8) Source(4, 8) + SourceIndex(0) --- >>> static { 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^^-> 1-> { > -1->Emitted(4, 5) Source(5, 5) + SourceIndex(0) +1->Emitted(5, 5) Source(5, 5) + SourceIndex(0) --- >>> const a = 11; 1->^^^^^^^^ @@ -85,12 +86,12 @@ sourceFile:classStaticBlock25.ts 4 > = 5 > 11 6 > ; -1->Emitted(5, 9) Source(6, 9) + SourceIndex(0) -2 >Emitted(5, 15) Source(6, 15) + SourceIndex(0) -3 >Emitted(5, 16) Source(6, 16) + SourceIndex(0) -4 >Emitted(5, 19) Source(6, 19) + SourceIndex(0) -5 >Emitted(5, 21) Source(6, 21) + SourceIndex(0) -6 >Emitted(5, 22) Source(6, 22) + SourceIndex(0) +1->Emitted(6, 9) Source(6, 9) + SourceIndex(0) +2 >Emitted(6, 15) Source(6, 15) + SourceIndex(0) +3 >Emitted(6, 16) Source(6, 16) + SourceIndex(0) +4 >Emitted(6, 19) Source(6, 19) + SourceIndex(0) +5 >Emitted(6, 21) Source(6, 21) + SourceIndex(0) +6 >Emitted(6, 22) Source(6, 22) + SourceIndex(0) --- >>> a; 1 >^^^^^^^^ @@ -102,9 +103,9 @@ sourceFile:classStaticBlock25.ts > 2 > a 3 > ; -1 >Emitted(6, 9) Source(8, 9) + SourceIndex(0) -2 >Emitted(6, 10) Source(8, 10) + SourceIndex(0) -3 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) +1 >Emitted(7, 9) Source(8, 9) + SourceIndex(0) +2 >Emitted(7, 10) Source(8, 10) + SourceIndex(0) +3 >Emitted(7, 11) Source(8, 11) + SourceIndex(0) --- >>> b; 1->^^^^^^^^ @@ -114,9 +115,9 @@ sourceFile:classStaticBlock25.ts > 2 > b 3 > ; -1->Emitted(7, 9) Source(9, 9) + SourceIndex(0) -2 >Emitted(7, 10) Source(9, 10) + SourceIndex(0) -3 >Emitted(7, 11) Source(9, 11) + SourceIndex(0) +1->Emitted(8, 9) Source(9, 9) + SourceIndex(0) +2 >Emitted(8, 10) Source(9, 10) + SourceIndex(0) +3 >Emitted(8, 11) Source(9, 11) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -125,8 +126,8 @@ sourceFile:classStaticBlock25.ts 1 > > 2 > } -1 >Emitted(8, 5) Source(10, 5) + SourceIndex(0) -2 >Emitted(8, 6) Source(10, 6) + SourceIndex(0) +1 >Emitted(9, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(9, 6) Source(10, 6) + SourceIndex(0) --- >>> static { 1->^^^^ @@ -134,7 +135,7 @@ sourceFile:classStaticBlock25.ts 1-> > > -1->Emitted(9, 5) Source(12, 5) + SourceIndex(0) +1->Emitted(10, 5) Source(12, 5) + SourceIndex(0) --- >>> const a = 11; 1->^^^^^^^^ @@ -150,12 +151,12 @@ sourceFile:classStaticBlock25.ts 4 > = 5 > 11 6 > ; -1->Emitted(10, 9) Source(13, 9) + SourceIndex(0) -2 >Emitted(10, 15) Source(13, 15) + SourceIndex(0) -3 >Emitted(10, 16) Source(13, 16) + SourceIndex(0) -4 >Emitted(10, 19) Source(13, 19) + SourceIndex(0) -5 >Emitted(10, 21) Source(13, 21) + SourceIndex(0) -6 >Emitted(10, 22) Source(13, 22) + SourceIndex(0) +1->Emitted(11, 9) Source(13, 9) + SourceIndex(0) +2 >Emitted(11, 15) Source(13, 15) + SourceIndex(0) +3 >Emitted(11, 16) Source(13, 16) + SourceIndex(0) +4 >Emitted(11, 19) Source(13, 19) + SourceIndex(0) +5 >Emitted(11, 21) Source(13, 21) + SourceIndex(0) +6 >Emitted(11, 22) Source(13, 22) + SourceIndex(0) --- >>> a; 1 >^^^^^^^^ @@ -167,9 +168,9 @@ sourceFile:classStaticBlock25.ts > 2 > a 3 > ; -1 >Emitted(11, 9) Source(15, 9) + SourceIndex(0) -2 >Emitted(11, 10) Source(15, 10) + SourceIndex(0) -3 >Emitted(11, 11) Source(15, 11) + SourceIndex(0) +1 >Emitted(12, 9) Source(15, 9) + SourceIndex(0) +2 >Emitted(12, 10) Source(15, 10) + SourceIndex(0) +3 >Emitted(12, 11) Source(15, 11) + SourceIndex(0) --- >>> b; 1->^^^^^^^^ @@ -179,9 +180,9 @@ sourceFile:classStaticBlock25.ts > 2 > b 3 > ; -1->Emitted(12, 9) Source(16, 9) + SourceIndex(0) -2 >Emitted(12, 10) Source(16, 10) + SourceIndex(0) -3 >Emitted(12, 11) Source(16, 11) + SourceIndex(0) +1->Emitted(13, 9) Source(16, 9) + SourceIndex(0) +2 >Emitted(13, 10) Source(16, 10) + SourceIndex(0) +3 >Emitted(13, 11) Source(16, 11) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -189,15 +190,15 @@ sourceFile:classStaticBlock25.ts 1 > > 2 > } -1 >Emitted(13, 5) Source(17, 5) + SourceIndex(0) -2 >Emitted(13, 6) Source(17, 6) + SourceIndex(0) +1 >Emitted(14, 5) Source(17, 5) + SourceIndex(0) +2 >Emitted(14, 6) Source(17, 6) + SourceIndex(0) --- >>>} 1 >^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > >} -1 >Emitted(14, 2) Source(18, 2) + SourceIndex(0) +1 >Emitted(15, 2) Source(18, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=classStaticBlock25.js.map=================================================================== JsFile: classStaticBlock25.d.ts diff --git a/tests/baselines/reference/classStaticBlock26(target=es2022).js b/tests/baselines/reference/classStaticBlock26(target=es2022).js index edda6e3b8f1e9..128c2d1bc599c 100644 --- a/tests/baselines/reference/classStaticBlock26(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock26(target=es2022).js @@ -32,6 +32,7 @@ class C { //// [classStaticBlock26.js] +"use strict"; class C { static { await ; // illegal diff --git a/tests/baselines/reference/classStaticBlock26(target=esnext).js b/tests/baselines/reference/classStaticBlock26(target=esnext).js index edda6e3b8f1e9..128c2d1bc599c 100644 --- a/tests/baselines/reference/classStaticBlock26(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock26(target=esnext).js @@ -32,6 +32,7 @@ class C { //// [classStaticBlock26.js] +"use strict"; class C { static { await ; // illegal diff --git a/tests/baselines/reference/classStaticBlock27.js b/tests/baselines/reference/classStaticBlock27.js index f845a9788c634..0c5db91c6d716 100644 --- a/tests/baselines/reference/classStaticBlock27.js +++ b/tests/baselines/reference/classStaticBlock27.js @@ -20,6 +20,7 @@ void class Foo { } //// [classStaticBlock27.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/44872 var _a; void (_a = /** @class */ (function () { diff --git a/tests/baselines/reference/classStaticBlock3(target=es2022).js b/tests/baselines/reference/classStaticBlock3(target=es2022).js index a8f509d8905ef..2332de398aca5 100644 --- a/tests/baselines/reference/classStaticBlock3(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock3(target=es2022).js @@ -21,6 +21,7 @@ class C { //// [classStaticBlock3.js] +"use strict"; const a = 1; class C { static f1 = 1; diff --git a/tests/baselines/reference/classStaticBlock3(target=esnext).js b/tests/baselines/reference/classStaticBlock3(target=esnext).js index a8f509d8905ef..2332de398aca5 100644 --- a/tests/baselines/reference/classStaticBlock3(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock3(target=esnext).js @@ -21,6 +21,7 @@ class C { //// [classStaticBlock3.js] +"use strict"; const a = 1; class C { static f1 = 1; diff --git a/tests/baselines/reference/classStaticBlock4(target=es2022).js b/tests/baselines/reference/classStaticBlock4(target=es2022).js index cc4ae4306da59..6c2e8fd5a7c13 100644 --- a/tests/baselines/reference/classStaticBlock4(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock4(target=es2022).js @@ -18,6 +18,7 @@ class C { //// [classStaticBlock4.js] +"use strict"; class C { static s1 = 1; static { diff --git a/tests/baselines/reference/classStaticBlock4(target=esnext).js b/tests/baselines/reference/classStaticBlock4(target=esnext).js index cc4ae4306da59..6c2e8fd5a7c13 100644 --- a/tests/baselines/reference/classStaticBlock4(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock4(target=esnext).js @@ -18,6 +18,7 @@ class C { //// [classStaticBlock4.js] +"use strict"; class C { static s1 = 1; static { diff --git a/tests/baselines/reference/classStaticBlock5(target=es2015).js b/tests/baselines/reference/classStaticBlock5(target=es2015).js index 404ca2101ee19..8b4753f2f5323 100644 --- a/tests/baselines/reference/classStaticBlock5(target=es2015).js +++ b/tests/baselines/reference/classStaticBlock5(target=es2015).js @@ -19,6 +19,7 @@ class C extends B { //// [classStaticBlock5.js] +"use strict"; var _a, _b; class B { } diff --git a/tests/baselines/reference/classStaticBlock5(target=es2022).js b/tests/baselines/reference/classStaticBlock5(target=es2022).js index 773bbaf926dea..f87977443923e 100644 --- a/tests/baselines/reference/classStaticBlock5(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock5(target=es2022).js @@ -19,6 +19,7 @@ class C extends B { //// [classStaticBlock5.js] +"use strict"; class B { static a = 1; static b = 2; diff --git a/tests/baselines/reference/classStaticBlock5(target=es5).js b/tests/baselines/reference/classStaticBlock5(target=es5).js index e12b8213aff5f..f052523360876 100644 --- a/tests/baselines/reference/classStaticBlock5(target=es5).js +++ b/tests/baselines/reference/classStaticBlock5(target=es5).js @@ -19,6 +19,7 @@ class C extends B { //// [classStaticBlock5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classStaticBlock5(target=esnext).js b/tests/baselines/reference/classStaticBlock5(target=esnext).js index 773bbaf926dea..f87977443923e 100644 --- a/tests/baselines/reference/classStaticBlock5(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock5(target=esnext).js @@ -19,6 +19,7 @@ class C extends B { //// [classStaticBlock5.js] +"use strict"; class B { static a = 1; static b = 2; diff --git a/tests/baselines/reference/classStaticBlock6.js b/tests/baselines/reference/classStaticBlock6.js index 3ac5eccd62a10..41cb6673b515a 100644 --- a/tests/baselines/reference/classStaticBlock6.js +++ b/tests/baselines/reference/classStaticBlock6.js @@ -77,6 +77,7 @@ class foo2 { } //// [classStaticBlock6.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classStaticBlock7.js b/tests/baselines/reference/classStaticBlock7.js index 29d74bf42609d..958dc5e3217a7 100644 --- a/tests/baselines/reference/classStaticBlock7.js +++ b/tests/baselines/reference/classStaticBlock7.js @@ -47,6 +47,7 @@ function f3 () { //// [classStaticBlock7.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/classStaticBlock8.js b/tests/baselines/reference/classStaticBlock8.js index eb34b1ec654c0..d88ba5661fd6d 100644 --- a/tests/baselines/reference/classStaticBlock8.js +++ b/tests/baselines/reference/classStaticBlock8.js @@ -52,6 +52,7 @@ function foo (v: number) { //// [classStaticBlock8.js] +"use strict"; function foo(v) { label: while (v) { var C_1 = /** @class */ (function () { diff --git a/tests/baselines/reference/classStaticBlock9(target=es2015).js b/tests/baselines/reference/classStaticBlock9(target=es2015).js index f9aa69b640278..184a4267765c5 100644 --- a/tests/baselines/reference/classStaticBlock9(target=es2015).js +++ b/tests/baselines/reference/classStaticBlock9(target=es2015).js @@ -11,6 +11,7 @@ class A { //// [classStaticBlock9.js] +"use strict"; class A { } A.bar = A.foo + 1; diff --git a/tests/baselines/reference/classStaticBlock9(target=es2022).js b/tests/baselines/reference/classStaticBlock9(target=es2022).js index 8801c6779c2c5..93a29a1a25dba 100644 --- a/tests/baselines/reference/classStaticBlock9(target=es2022).js +++ b/tests/baselines/reference/classStaticBlock9(target=es2022).js @@ -11,6 +11,7 @@ class A { //// [classStaticBlock9.js] +"use strict"; class A { static bar = A.foo + 1; static { diff --git a/tests/baselines/reference/classStaticBlock9(target=es5).js b/tests/baselines/reference/classStaticBlock9(target=es5).js index 824ee2770fe08..eac58fec8772f 100644 --- a/tests/baselines/reference/classStaticBlock9(target=es5).js +++ b/tests/baselines/reference/classStaticBlock9(target=es5).js @@ -11,6 +11,7 @@ class A { //// [classStaticBlock9.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classStaticBlock9(target=esnext).js b/tests/baselines/reference/classStaticBlock9(target=esnext).js index 8801c6779c2c5..93a29a1a25dba 100644 --- a/tests/baselines/reference/classStaticBlock9(target=esnext).js +++ b/tests/baselines/reference/classStaticBlock9(target=esnext).js @@ -11,6 +11,7 @@ class A { //// [classStaticBlock9.js] +"use strict"; class A { static bar = A.foo + 1; static { diff --git a/tests/baselines/reference/classStaticInitializersUsePropertiesBeforeDeclaration.js b/tests/baselines/reference/classStaticInitializersUsePropertiesBeforeDeclaration.js index f51d49b74a6be..235f0907d1a98 100644 --- a/tests/baselines/reference/classStaticInitializersUsePropertiesBeforeDeclaration.js +++ b/tests/baselines/reference/classStaticInitializersUsePropertiesBeforeDeclaration.js @@ -21,6 +21,7 @@ namespace Namespace { //// [classStaticInitializersUsePropertiesBeforeDeclaration.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/classStaticPropertyTypeGuard.js b/tests/baselines/reference/classStaticPropertyTypeGuard.js index e4e8564109d75..1d32e28c1fd92 100644 --- a/tests/baselines/reference/classStaticPropertyTypeGuard.js +++ b/tests/baselines/reference/classStaticPropertyTypeGuard.js @@ -15,6 +15,7 @@ class A { } //// [classStaticPropertyTypeGuard.js] +"use strict"; // Repro from #8923 var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/classTypeParametersInStatics.js b/tests/baselines/reference/classTypeParametersInStatics.js index 59100350263a4..61c819fa9d044 100644 --- a/tests/baselines/reference/classTypeParametersInStatics.js +++ b/tests/baselines/reference/classTypeParametersInStatics.js @@ -36,6 +36,7 @@ namespace Editor { } //// [classTypeParametersInStatics.js] +"use strict"; var Editor; (function (Editor) { var List = /** @class */ (function () { diff --git a/tests/baselines/reference/classUpdateTests.js b/tests/baselines/reference/classUpdateTests.js index 6e25d0c15a258..906eb0be20d17 100644 --- a/tests/baselines/reference/classUpdateTests.js +++ b/tests/baselines/reference/classUpdateTests.js @@ -116,6 +116,7 @@ class R { } //// [classUpdateTests.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classUsedBeforeInitializedVariables.js b/tests/baselines/reference/classUsedBeforeInitializedVariables.js index 343c8b0f6c127..55944a8e65269 100644 --- a/tests/baselines/reference/classUsedBeforeInitializedVariables.js +++ b/tests/baselines/reference/classUsedBeforeInitializedVariables.js @@ -50,6 +50,7 @@ class Test { //// [classUsedBeforeInitializedVariables.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classWithBaseClassButNoConstructor.js b/tests/baselines/reference/classWithBaseClassButNoConstructor.js index 11f9e34505c60..f8794799b90ca 100644 --- a/tests/baselines/reference/classWithBaseClassButNoConstructor.js +++ b/tests/baselines/reference/classWithBaseClassButNoConstructor.js @@ -43,6 +43,7 @@ var d5 = new D(); // error var d6 = new D(1); // ok //// [classWithBaseClassButNoConstructor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classWithConstructors.js b/tests/baselines/reference/classWithConstructors.js index ac28ca2eb770b..809e828e7e176 100644 --- a/tests/baselines/reference/classWithConstructors.js +++ b/tests/baselines/reference/classWithConstructors.js @@ -52,6 +52,7 @@ namespace Generics { } //// [classWithConstructors.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classWithDuplicateIdentifier.js b/tests/baselines/reference/classWithDuplicateIdentifier.js index f9e03abf8f54f..14305c2822255 100644 --- a/tests/baselines/reference/classWithDuplicateIdentifier.js +++ b/tests/baselines/reference/classWithDuplicateIdentifier.js @@ -16,6 +16,7 @@ class D { //// [classWithDuplicateIdentifier.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classWithEmptyBody.js b/tests/baselines/reference/classWithEmptyBody.js index 6583b922d9ba0..e9780288fe92d 100644 --- a/tests/baselines/reference/classWithEmptyBody.js +++ b/tests/baselines/reference/classWithEmptyBody.js @@ -23,6 +23,7 @@ d = { foo: '' } d = () => { } //// [classWithEmptyBody.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classWithEmptyTypeParameter.js b/tests/baselines/reference/classWithEmptyTypeParameter.js index 83277e95e7c10..82b93b5745e61 100644 --- a/tests/baselines/reference/classWithEmptyTypeParameter.js +++ b/tests/baselines/reference/classWithEmptyTypeParameter.js @@ -5,6 +5,7 @@ class C<> { } //// [classWithEmptyTypeParameter.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classWithMultipleBaseClasses.js b/tests/baselines/reference/classWithMultipleBaseClasses.js index a9435a2a14b81..62a7a4e076411 100644 --- a/tests/baselines/reference/classWithMultipleBaseClasses.js +++ b/tests/baselines/reference/classWithMultipleBaseClasses.js @@ -27,6 +27,7 @@ interface I extends A, B { } //// [classWithMultipleBaseClasses.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/classWithNoConstructorOrBaseClass.js b/tests/baselines/reference/classWithNoConstructorOrBaseClass.js index c415971756d96..7d17612ee64ad 100644 --- a/tests/baselines/reference/classWithNoConstructorOrBaseClass.js +++ b/tests/baselines/reference/classWithNoConstructorOrBaseClass.js @@ -19,6 +19,7 @@ var r2 = D; //// [classWithNoConstructorOrBaseClass.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface.js b/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface.js index 5c524304cbbe2..84a4260cb5ce3 100644 --- a/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface.js +++ b/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface.js @@ -28,6 +28,7 @@ c = i; i = c; //// [classWithOnlyPublicMembersEquivalentToInterface.js] +"use strict"; // no errors expected var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface2.js b/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface2.js index d485998827a96..578a199866730 100644 --- a/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface2.js +++ b/tests/baselines/reference/classWithOnlyPublicMembersEquivalentToInterface2.js @@ -30,6 +30,7 @@ c = i; i = c; //// [classWithOnlyPublicMembersEquivalentToInterface2.js] +"use strict"; // no errors expected var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classWithOptionalParameter.js b/tests/baselines/reference/classWithOptionalParameter.js index 74d7c243dc8cf..bb76571ef6ad1 100644 --- a/tests/baselines/reference/classWithOptionalParameter.js +++ b/tests/baselines/reference/classWithOptionalParameter.js @@ -14,6 +14,7 @@ class C2 { } //// [classWithOptionalParameter.js] +"use strict"; // classes do not permit optional parameters, these are errors var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classWithOverloadImplementationOfWrongName.js b/tests/baselines/reference/classWithOverloadImplementationOfWrongName.js index bcb732f41cd72..d663ece418960 100644 --- a/tests/baselines/reference/classWithOverloadImplementationOfWrongName.js +++ b/tests/baselines/reference/classWithOverloadImplementationOfWrongName.js @@ -8,6 +8,7 @@ class C { } //// [classWithOverloadImplementationOfWrongName.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classWithOverloadImplementationOfWrongName2.js b/tests/baselines/reference/classWithOverloadImplementationOfWrongName2.js index 15f0f3a977c81..ddaa69bb2be37 100644 --- a/tests/baselines/reference/classWithOverloadImplementationOfWrongName2.js +++ b/tests/baselines/reference/classWithOverloadImplementationOfWrongName2.js @@ -8,6 +8,7 @@ class C { } //// [classWithOverloadImplementationOfWrongName2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classWithPredefinedTypesAsNames.js b/tests/baselines/reference/classWithPredefinedTypesAsNames.js index 1a2b393212397..9a41c92e48b36 100644 --- a/tests/baselines/reference/classWithPredefinedTypesAsNames.js +++ b/tests/baselines/reference/classWithPredefinedTypesAsNames.js @@ -9,6 +9,7 @@ class boolean { } class string { } //// [classWithPredefinedTypesAsNames.js] +"use strict"; // classes cannot use predefined types as names var any = /** @class */ (function () { function any() { diff --git a/tests/baselines/reference/classWithPredefinedTypesAsNames2.js b/tests/baselines/reference/classWithPredefinedTypesAsNames2.js index 1281744c8384f..4728c01631f15 100644 --- a/tests/baselines/reference/classWithPredefinedTypesAsNames2.js +++ b/tests/baselines/reference/classWithPredefinedTypesAsNames2.js @@ -6,6 +6,7 @@ class void {} //// [classWithPredefinedTypesAsNames2.js] +"use strict"; // classes cannot use predefined types as names var default_1 = /** @class */ (function () { function default_1() { diff --git a/tests/baselines/reference/classWithPrivateProperty.js b/tests/baselines/reference/classWithPrivateProperty.js index 30e89ef5a215a..72ec0c09620d2 100644 --- a/tests/baselines/reference/classWithPrivateProperty.js +++ b/tests/baselines/reference/classWithPrivateProperty.js @@ -25,6 +25,7 @@ var r7: string = C.f(); var r8: string = C.g(); //// [classWithPrivateProperty.js] +"use strict"; // accessing any private outside the class is an error var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/classWithProtectedProperty.js b/tests/baselines/reference/classWithProtectedProperty.js index a294814674e5b..7963e870f2f5d 100644 --- a/tests/baselines/reference/classWithProtectedProperty.js +++ b/tests/baselines/reference/classWithProtectedProperty.js @@ -30,6 +30,7 @@ class D extends C { } //// [classWithProtectedProperty.js] +"use strict"; // accessing any protected outside the class is an error var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/classWithPublicProperty.js b/tests/baselines/reference/classWithPublicProperty.js index a6ce5803809bb..6b28b61ae21fc 100644 --- a/tests/baselines/reference/classWithPublicProperty.js +++ b/tests/baselines/reference/classWithPublicProperty.js @@ -24,6 +24,7 @@ var r7: string = C.f(); var r8: string = C.g(); //// [classWithPublicProperty.js] +"use strict"; var C = /** @class */ (function () { function C() { this.a = ''; diff --git a/tests/baselines/reference/classWithSemicolonClassElement1.js b/tests/baselines/reference/classWithSemicolonClassElement1.js index a9fcef9b83030..8ba2080797950 100644 --- a/tests/baselines/reference/classWithSemicolonClassElement1.js +++ b/tests/baselines/reference/classWithSemicolonClassElement1.js @@ -6,6 +6,7 @@ class C { } //// [classWithSemicolonClassElement1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classWithSemicolonClassElement2.js b/tests/baselines/reference/classWithSemicolonClassElement2.js index 076bfd877bd20..915cd90c80e62 100644 --- a/tests/baselines/reference/classWithSemicolonClassElement2.js +++ b/tests/baselines/reference/classWithSemicolonClassElement2.js @@ -7,6 +7,7 @@ class C { } //// [classWithSemicolonClassElement2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/classWithSemicolonClassElementES61.js b/tests/baselines/reference/classWithSemicolonClassElementES61.js index 913c8e62a3d30..7044fe0f00406 100644 --- a/tests/baselines/reference/classWithSemicolonClassElementES61.js +++ b/tests/baselines/reference/classWithSemicolonClassElementES61.js @@ -6,6 +6,7 @@ class C { } //// [classWithSemicolonClassElementES61.js] +"use strict"; class C { ; } diff --git a/tests/baselines/reference/classWithSemicolonClassElementES62.js b/tests/baselines/reference/classWithSemicolonClassElementES62.js index 1bb646d9b2cc2..1c6b49f1d34de 100644 --- a/tests/baselines/reference/classWithSemicolonClassElementES62.js +++ b/tests/baselines/reference/classWithSemicolonClassElementES62.js @@ -7,6 +7,7 @@ class C { } //// [classWithSemicolonClassElementES62.js] +"use strict"; class C { ; ; diff --git a/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es2015).js b/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es2015).js index 1f5494e202bc2..8f04085c9ae46 100644 --- a/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es2015).js +++ b/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es2015).js @@ -5,6 +5,7 @@ (({ [class { static x = 1 }.x]: b = "" }) => {})(); //// [classWithStaticFieldInParameterBindingPattern.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 ((_a) => { var _b; var { [(_b = class { }, diff --git a/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es5).js b/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es5).js index 63c0427a6ab66..48a95ff3383bd 100644 --- a/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es5).js +++ b/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=es5).js @@ -5,6 +5,7 @@ (({ [class { static x = 1 }.x]: b = "" }) => {})(); //// [classWithStaticFieldInParameterBindingPattern.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 (function (_a) { var _b; diff --git a/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=esnext).js b/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=esnext).js index c8a30ea33d34a..5b96397abbc92 100644 --- a/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=esnext).js +++ b/tests/baselines/reference/classWithStaticFieldInParameterBindingPattern(target=esnext).js @@ -5,6 +5,7 @@ (({ [class { static x = 1 }.x]: b = "" }) => {})(); //// [classWithStaticFieldInParameterBindingPattern.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 (({ [class { static x = 1; diff --git a/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es2015).js b/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es2015).js index e3adc92a100e4..497cf24a7eae1 100644 --- a/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es2015).js +++ b/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es2015).js @@ -5,6 +5,7 @@ ((b = class { static x = 1 }) => {})(); //// [classWithStaticFieldInParameterInitializer.js] +"use strict"; var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); diff --git a/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es5).js b/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es5).js index af41d155adb5d..52ac2c7913c0c 100644 --- a/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es5).js +++ b/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=es5).js @@ -5,6 +5,7 @@ ((b = class { static x = 1 }) => {})(); //// [classWithStaticFieldInParameterInitializer.js] +"use strict"; var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); diff --git a/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=esnext).js b/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=esnext).js index c90c730f6a4aa..697c5a8cfe8d2 100644 --- a/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=esnext).js +++ b/tests/baselines/reference/classWithStaticFieldInParameterInitializer(target=esnext).js @@ -5,6 +5,7 @@ ((b = class { static x = 1 }) => {})(); //// [classWithStaticFieldInParameterInitializer.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 ((b = class { static x = 1; diff --git a/tests/baselines/reference/classWithStaticMembers.js b/tests/baselines/reference/classWithStaticMembers.js index 07fef3b5a41c6..31f81b0524e6c 100644 --- a/tests/baselines/reference/classWithStaticMembers.js +++ b/tests/baselines/reference/classWithStaticMembers.js @@ -22,6 +22,7 @@ var r2 = r.x; var r3 = r.foo; //// [classWithStaticMembers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/classWithTwoConstructorDefinitions.js b/tests/baselines/reference/classWithTwoConstructorDefinitions.js index 43674a4f7c4de..e532f27022ea0 100644 --- a/tests/baselines/reference/classWithTwoConstructorDefinitions.js +++ b/tests/baselines/reference/classWithTwoConstructorDefinitions.js @@ -12,6 +12,7 @@ class D { } //// [classWithTwoConstructorDefinitions.js] +"use strict"; var C = /** @class */ (function () { function C() { } // error diff --git a/tests/baselines/reference/classWithoutExplicitConstructor.js b/tests/baselines/reference/classWithoutExplicitConstructor.js index df0085632bff0..3ee2a8a64020c 100644 --- a/tests/baselines/reference/classWithoutExplicitConstructor.js +++ b/tests/baselines/reference/classWithoutExplicitConstructor.js @@ -18,6 +18,7 @@ var d = new D(); var d2 = new D(null); // error //// [classWithoutExplicitConstructor.js] +"use strict"; var C = /** @class */ (function () { function C() { this.x = 1; diff --git a/tests/baselines/reference/classdecl.js b/tests/baselines/reference/classdecl.js index 9afd83763b15f..534d6296ccd6a 100644 --- a/tests/baselines/reference/classdecl.js +++ b/tests/baselines/reference/classdecl.js @@ -96,6 +96,7 @@ class e { } //// [classdecl.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/cloduleAcrossModuleDefinitions.js b/tests/baselines/reference/cloduleAcrossModuleDefinitions.js index 86007861f25c5..6d348e8796d4d 100644 --- a/tests/baselines/reference/cloduleAcrossModuleDefinitions.js +++ b/tests/baselines/reference/cloduleAcrossModuleDefinitions.js @@ -18,6 +18,7 @@ var b: A.B; // ok //// [cloduleAcrossModuleDefinitions.js] +"use strict"; var A; (function (A) { var B = /** @class */ (function () { diff --git a/tests/baselines/reference/cloduleAndTypeParameters.js b/tests/baselines/reference/cloduleAndTypeParameters.js index aa32816aba82b..4389a88e593a6 100644 --- a/tests/baselines/reference/cloduleAndTypeParameters.js +++ b/tests/baselines/reference/cloduleAndTypeParameters.js @@ -16,6 +16,7 @@ namespace Foo { } //// [cloduleAndTypeParameters.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/cloduleGenericOnSelfMember.js b/tests/baselines/reference/cloduleGenericOnSelfMember.js index aab360ad89816..1db4add61af4f 100644 --- a/tests/baselines/reference/cloduleGenericOnSelfMember.js +++ b/tests/baselines/reference/cloduleGenericOnSelfMember.js @@ -14,6 +14,7 @@ namespace Service { } //// [cloduleGenericOnSelfMember.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/cloduleSplitAcrossFiles.js b/tests/baselines/reference/cloduleSplitAcrossFiles.js index 511bfaa25dbe8..406c140ca5ce8 100644 --- a/tests/baselines/reference/cloduleSplitAcrossFiles.js +++ b/tests/baselines/reference/cloduleSplitAcrossFiles.js @@ -10,12 +10,14 @@ namespace D { D.y; //// [cloduleSplitAcrossFiles_class.js] +"use strict"; var D = /** @class */ (function () { function D() { } return D; }()); //// [cloduleSplitAcrossFiles_module.js] +"use strict"; var D; (function (D) { D.y = "hi"; diff --git a/tests/baselines/reference/cloduleStaticMembers.js b/tests/baselines/reference/cloduleStaticMembers.js index 7bb6bb421b744..91c74475bf455 100644 --- a/tests/baselines/reference/cloduleStaticMembers.js +++ b/tests/baselines/reference/cloduleStaticMembers.js @@ -15,6 +15,7 @@ namespace Clod { //// [cloduleStaticMembers.js] +"use strict"; var Clod = /** @class */ (function () { function Clod() { } diff --git a/tests/baselines/reference/cloduleTest1.js b/tests/baselines/reference/cloduleTest1.js index 5871181863b9a..b62cab15d71e0 100644 --- a/tests/baselines/reference/cloduleTest1.js +++ b/tests/baselines/reference/cloduleTest1.js @@ -14,6 +14,7 @@ //// [cloduleTest1.js] +"use strict"; var $; (function ($) { function ajax(options) { } diff --git a/tests/baselines/reference/cloduleTest2.js b/tests/baselines/reference/cloduleTest2.js index e0db44788bed9..2a04b58406291 100644 --- a/tests/baselines/reference/cloduleTest2.js +++ b/tests/baselines/reference/cloduleTest2.js @@ -39,6 +39,7 @@ declare class m4d extends m3d { } var r2 = new m4d(); // error //// [cloduleTest2.js] +"use strict"; var T1; (function (T1) { var m3d; diff --git a/tests/baselines/reference/cloduleWithDuplicateMember1.js b/tests/baselines/reference/cloduleWithDuplicateMember1.js index bffab90d12ba4..0b4e1c5f98349 100644 --- a/tests/baselines/reference/cloduleWithDuplicateMember1.js +++ b/tests/baselines/reference/cloduleWithDuplicateMember1.js @@ -18,6 +18,7 @@ namespace C { } //// [cloduleWithDuplicateMember1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/cloduleWithDuplicateMember2.js b/tests/baselines/reference/cloduleWithDuplicateMember2.js index acef3c11588c9..aef651e787048 100644 --- a/tests/baselines/reference/cloduleWithDuplicateMember2.js +++ b/tests/baselines/reference/cloduleWithDuplicateMember2.js @@ -14,6 +14,7 @@ namespace C { } //// [cloduleWithDuplicateMember2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/cloduleWithPriorInstantiatedModule.js b/tests/baselines/reference/cloduleWithPriorInstantiatedModule.js index eda6dfba65985..dcd38bfdff487 100644 --- a/tests/baselines/reference/cloduleWithPriorInstantiatedModule.js +++ b/tests/baselines/reference/cloduleWithPriorInstantiatedModule.js @@ -19,6 +19,7 @@ namespace Moclodule { } //// [cloduleWithPriorInstantiatedModule.js] +"use strict"; // Non-ambient & instantiated module. var Moclodule; (function (Moclodule) { diff --git a/tests/baselines/reference/cloduleWithPriorUninstantiatedModule.js b/tests/baselines/reference/cloduleWithPriorUninstantiatedModule.js index 189d029c69b51..ce6b5c57291c3 100644 --- a/tests/baselines/reference/cloduleWithPriorUninstantiatedModule.js +++ b/tests/baselines/reference/cloduleWithPriorUninstantiatedModule.js @@ -18,6 +18,7 @@ namespace Moclodule { } //// [cloduleWithPriorUninstantiatedModule.js] +"use strict"; var Moclodule = /** @class */ (function () { function Moclodule() { } diff --git a/tests/baselines/reference/cloduleWithRecursiveReference.js b/tests/baselines/reference/cloduleWithRecursiveReference.js index 6a5e57b64b76f..7bc6b00d995a3 100644 --- a/tests/baselines/reference/cloduleWithRecursiveReference.js +++ b/tests/baselines/reference/cloduleWithRecursiveReference.js @@ -10,6 +10,7 @@ namespace M } //// [cloduleWithRecursiveReference.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/clodulesDerivedClasses.js b/tests/baselines/reference/clodulesDerivedClasses.js index 688ecf7e23c4e..fc29d3a491cf9 100644 --- a/tests/baselines/reference/clodulesDerivedClasses.js +++ b/tests/baselines/reference/clodulesDerivedClasses.js @@ -25,6 +25,7 @@ namespace Path.Utils { //// [clodulesDerivedClasses.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collectionPatternNoError.js b/tests/baselines/reference/collectionPatternNoError.js index a393495e1938e..255d0e168fb8f 100644 --- a/tests/baselines/reference/collectionPatternNoError.js +++ b/tests/baselines/reference/collectionPatternNoError.js @@ -40,6 +40,7 @@ function f< //// [collectionPatternNoError.js] +"use strict"; var Message = /** @class */ (function () { function Message() { } diff --git a/tests/baselines/reference/collisionArgumentsArrowFunctions.errors.txt b/tests/baselines/reference/collisionArgumentsArrowFunctions.errors.txt index c3ed9abd5f8b7..615931277062e 100644 --- a/tests/baselines/reference/collisionArgumentsArrowFunctions.errors.txt +++ b/tests/baselines/reference/collisionArgumentsArrowFunctions.errors.txt @@ -1,25 +1,49 @@ collisionArgumentsArrowFunctions.ts(1,22): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +collisionArgumentsArrowFunctions.ts(1,25): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsArrowFunctions.ts(2,9): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsArrowFunctions.ts(4,12): error TS1100: Invalid use of 'arguments' in strict mode. collisionArgumentsArrowFunctions.ts(4,12): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +collisionArgumentsArrowFunctions.ts(5,9): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsArrowFunctions.ts(7,18): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsArrowFunctions.ts(8,9): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsArrowFunctions.ts(12,9): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsArrowFunctions.ts(15,9): error TS1100: Invalid use of 'arguments' in strict mode. -==== collisionArgumentsArrowFunctions.ts (2 errors) ==== +==== collisionArgumentsArrowFunctions.ts (10 errors) ==== var f1 = (i: number, ...arguments) => { //arguments is error ~~~~~~~~~~~~ !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var arguments: any[]; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } var f12 = (arguments: number, ...rest) => { //arguments is error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. ~~~~~~~~~~~~~~~~~ !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. var arguments = 10; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } var f1NoError = (arguments: number) => { // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var arguments = 10; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } var f2 = (...restParameters) => { var arguments = 10; // No Error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } var f2NoError = () => { var arguments = 10; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } \ No newline at end of file diff --git a/tests/baselines/reference/collisionArgumentsArrowFunctions.js b/tests/baselines/reference/collisionArgumentsArrowFunctions.js index 78527c71736da..f06a3f27f3d34 100644 --- a/tests/baselines/reference/collisionArgumentsArrowFunctions.js +++ b/tests/baselines/reference/collisionArgumentsArrowFunctions.js @@ -19,6 +19,7 @@ var f2NoError = () => { } //// [collisionArgumentsArrowFunctions.js] +"use strict"; var f1 = function (i) { var arguments = []; for (var _i = 1; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/collisionArgumentsClassConstructor.js b/tests/baselines/reference/collisionArgumentsClassConstructor.js index 621d5e2382a84..4738d5d8ff59b 100644 --- a/tests/baselines/reference/collisionArgumentsClassConstructor.js +++ b/tests/baselines/reference/collisionArgumentsClassConstructor.js @@ -89,6 +89,7 @@ declare class c6NoError { } //// [collisionArgumentsClassConstructor.js] +"use strict"; // Constructors var c1 = /** @class */ (function () { function c1(i) { diff --git a/tests/baselines/reference/collisionArgumentsClassMethod.js b/tests/baselines/reference/collisionArgumentsClassMethod.js index 25f98144d1331..7808b8378fea0 100644 --- a/tests/baselines/reference/collisionArgumentsClassMethod.js +++ b/tests/baselines/reference/collisionArgumentsClassMethod.js @@ -51,6 +51,7 @@ class c3 { } //// [collisionArgumentsClassMethod.js] +"use strict"; var c1 = /** @class */ (function () { function c1() { } diff --git a/tests/baselines/reference/collisionArgumentsFunction.errors.txt b/tests/baselines/reference/collisionArgumentsFunction.errors.txt index 1d7d2b3c99b7f..a21a8d87b6317 100644 --- a/tests/baselines/reference/collisionArgumentsFunction.errors.txt +++ b/tests/baselines/reference/collisionArgumentsFunction.errors.txt @@ -1,23 +1,55 @@ +collisionArgumentsFunction.ts(2,13): error TS1100: Invalid use of 'arguments' in strict mode. collisionArgumentsFunction.ts(2,13): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +collisionArgumentsFunction.ts(3,9): error TS1100: Invalid use of 'arguments' in strict mode. collisionArgumentsFunction.ts(5,25): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +collisionArgumentsFunction.ts(5,28): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(6,9): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(8,20): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(9,9): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(17,9): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(20,9): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(23,13): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(24,13): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(25,13): error TS1100: Invalid use of 'arguments' in strict mode. collisionArgumentsFunction.ts(25,13): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +collisionArgumentsFunction.ts(26,9): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(28,28): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(29,28): error TS1100: Invalid use of 'arguments' in strict mode. collisionArgumentsFunction.ts(30,22): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +collisionArgumentsFunction.ts(30,25): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(31,9): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(33,20): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(34,20): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(35,20): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunction.ts(36,9): error TS1100: Invalid use of 'arguments' in strict mode. -==== collisionArgumentsFunction.ts (4 errors) ==== +==== collisionArgumentsFunction.ts (24 errors) ==== // Functions function f1(arguments: number, ...restParameters) { //arguments is error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. ~~~~~~~~~~~~~~~~~ !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. var arguments = 10; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f12(i: number, ...arguments) { //arguments is error ~~~~~~~~~~~~ !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var arguments: any[]; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f1NoError(arguments: number) { // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var arguments = 10; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } declare function f2(i: number, ...arguments); // no error - no code gen @@ -26,29 +58,57 @@ collisionArgumentsFunction.ts(30,22): error TS2396: Duplicate identifier 'argume function f3(...restParameters) { var arguments = 10; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f3NoError() { var arguments = 10; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f4(arguments: number, ...rest); // no codegen no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f4(arguments: string, ...rest); // no codegen no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f4(arguments: any, ...rest) { // error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. ~~~~~~~~~~~~~~ !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. var arguments: any; // No error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f42(i: number, ...arguments); // no codegen no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f42(i: string, ...arguments); // no codegen no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f42(i: any, ...arguments) { // error ~~~~~~~~~~~~ !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var arguments: any[]; // No error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f4NoError(arguments: number); // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f4NoError(arguments: string); // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f4NoError(arguments: any) { // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var arguments: any; // No error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } declare function f5(arguments: number, ...rest); // no codegen no error diff --git a/tests/baselines/reference/collisionArgumentsFunction.js b/tests/baselines/reference/collisionArgumentsFunction.js index e23bb139ffca5..5690801bcde0b 100644 --- a/tests/baselines/reference/collisionArgumentsFunction.js +++ b/tests/baselines/reference/collisionArgumentsFunction.js @@ -47,6 +47,7 @@ declare function f6(arguments: number); // no codegen no error declare function f6(arguments: string); // no codegen no error //// [collisionArgumentsFunction.js] +"use strict"; // Functions function f1(arguments) { var restParameters = []; diff --git a/tests/baselines/reference/collisionArgumentsFunctionExpressions.errors.txt b/tests/baselines/reference/collisionArgumentsFunctionExpressions.errors.txt index f85bd42c754d8..33c1973c9fa23 100644 --- a/tests/baselines/reference/collisionArgumentsFunctionExpressions.errors.txt +++ b/tests/baselines/reference/collisionArgumentsFunctionExpressions.errors.txt @@ -1,49 +1,109 @@ +collisionArgumentsFunctionExpressions.ts(2,17): error TS1100: Invalid use of 'arguments' in strict mode. collisionArgumentsFunctionExpressions.ts(2,17): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +collisionArgumentsFunctionExpressions.ts(3,13): error TS1100: Invalid use of 'arguments' in strict mode. collisionArgumentsFunctionExpressions.ts(5,29): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +collisionArgumentsFunctionExpressions.ts(5,32): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(6,13): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(8,24): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(9,13): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(13,13): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(16,13): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(19,17): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(20,17): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(21,17): error TS1100: Invalid use of 'arguments' in strict mode. collisionArgumentsFunctionExpressions.ts(21,17): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +collisionArgumentsFunctionExpressions.ts(22,13): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(24,32): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(25,32): error TS1100: Invalid use of 'arguments' in strict mode. collisionArgumentsFunctionExpressions.ts(26,26): error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. +collisionArgumentsFunctionExpressions.ts(26,29): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(27,13): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(29,24): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(30,24): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(31,24): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsFunctionExpressions.ts(32,13): error TS1100: Invalid use of 'arguments' in strict mode. -==== collisionArgumentsFunctionExpressions.ts (4 errors) ==== +==== collisionArgumentsFunctionExpressions.ts (24 errors) ==== function foo() { function f1(arguments: number, ...restParameters) { //arguments is error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. ~~~~~~~~~~~~~~~~~ !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. var arguments = 10; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f12(i: number, ...arguments) { //arguments is error ~~~~~~~~~~~~ !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var arguments: any[]; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f1NoError(arguments: number) { // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var arguments = 10; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f3(...restParameters) { var arguments = 10; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f3NoError() { var arguments = 10; // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f4(arguments: number, ...rest); // no codegen no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f4(arguments: string, ...rest); // no codegen no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f4(arguments: any, ...rest) { // error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. ~~~~~~~~~~~~~~ !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. var arguments: any; // No error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f42(i: number, ...arguments); // no codegen no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f42(i: string, ...arguments); // no codegen no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f42(i: any, ...arguments) { // error ~~~~~~~~~~~~ !!! error TS2396: Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters. + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var arguments: any[]; // No error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } function f4NoError(arguments: number); // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f4NoError(arguments: string); // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. function f4NoError(arguments: any) { // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var arguments: any; // No error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } } \ No newline at end of file diff --git a/tests/baselines/reference/collisionArgumentsFunctionExpressions.js b/tests/baselines/reference/collisionArgumentsFunctionExpressions.js index 85bd9f641bd4b..c3f1ab3d7e216 100644 --- a/tests/baselines/reference/collisionArgumentsFunctionExpressions.js +++ b/tests/baselines/reference/collisionArgumentsFunctionExpressions.js @@ -37,6 +37,7 @@ function foo() { } //// [collisionArgumentsFunctionExpressions.js] +"use strict"; function foo() { function f1(arguments) { var restParameters = []; diff --git a/tests/baselines/reference/collisionArgumentsInType.errors.txt b/tests/baselines/reference/collisionArgumentsInType.errors.txt new file mode 100644 index 0000000000000..51a0a82db76ff --- /dev/null +++ b/tests/baselines/reference/collisionArgumentsInType.errors.txt @@ -0,0 +1,47 @@ +collisionArgumentsInType.ts(1,24): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInType.ts(2,11): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInType.ts(4,6): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInType.ts(5,10): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInType.ts(6,9): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInType.ts(7,12): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInType.ts(10,20): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInType.ts(11,24): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInType.ts(12,23): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInType.ts(13,26): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== collisionArgumentsInType.ts (10 errors) ==== + var v1: (i: number, ...arguments) => void; // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + var v12: (arguments: number, ...restParameters) => void; // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + var v2: { + (arguments: number, ...restParameters); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + new (arguments: number, ...restParameters); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + foo(arguments: number, ...restParameters); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + prop: (arguments: number, ...restParameters) => void; // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } + var v21: { + (i: number, ...arguments); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + new (i: number, ...arguments); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + foo(i: number, ...arguments); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + prop: (i: number, ...arguments) => void; // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/collisionArgumentsInType.js b/tests/baselines/reference/collisionArgumentsInType.js index 751e4d3a93a3b..492c227633bfb 100644 --- a/tests/baselines/reference/collisionArgumentsInType.js +++ b/tests/baselines/reference/collisionArgumentsInType.js @@ -17,6 +17,7 @@ var v21: { } //// [collisionArgumentsInType.js] +"use strict"; var v1; // no error - no code gen var v12; // no error - no code gen var v2; diff --git a/tests/baselines/reference/collisionArgumentsInterfaceMembers.errors.txt b/tests/baselines/reference/collisionArgumentsInterfaceMembers.errors.txt new file mode 100644 index 0000000000000..d7bbdbfb10074 --- /dev/null +++ b/tests/baselines/reference/collisionArgumentsInterfaceMembers.errors.txt @@ -0,0 +1,58 @@ +collisionArgumentsInterfaceMembers.ts(3,20): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInterfaceMembers.ts(6,6): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInterfaceMembers.ts(9,6): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInterfaceMembers.ts(14,24): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInterfaceMembers.ts(17,10): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInterfaceMembers.ts(20,10): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInterfaceMembers.ts(25,23): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInterfaceMembers.ts(26,10): error TS1100: Invalid use of 'arguments' in strict mode. +collisionArgumentsInterfaceMembers.ts(27,16): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== collisionArgumentsInterfaceMembers.ts (9 errors) ==== + // call + interface i1 { + (i: number, ...arguments); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } + interface i12 { + (arguments: number, ...rest); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } + interface i1NoError { + (arguments: number); // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } + + // new + interface i2 { + new (i: number, ...arguments); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } + interface i21 { + new (arguments: number, ...rest); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } + interface i2NoError { + new (arguments: number); // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } + + // method + interface i3 { + foo(i: number, ...arguments); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + foo1(arguments: number, ...rest); // no error - no code gen + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + fooNoError(arguments: number); // no error + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/collisionArgumentsInterfaceMembers.js b/tests/baselines/reference/collisionArgumentsInterfaceMembers.js index f0a187da57d34..9ad7c0a9992c8 100644 --- a/tests/baselines/reference/collisionArgumentsInterfaceMembers.js +++ b/tests/baselines/reference/collisionArgumentsInterfaceMembers.js @@ -31,3 +31,4 @@ interface i3 { } //// [collisionArgumentsInterfaceMembers.js] +"use strict"; diff --git a/tests/baselines/reference/collisionCodeGenEnumWithEnumMemberConflict.js b/tests/baselines/reference/collisionCodeGenEnumWithEnumMemberConflict.js index 0a3fc345557a4..db9ced859276d 100644 --- a/tests/baselines/reference/collisionCodeGenEnumWithEnumMemberConflict.js +++ b/tests/baselines/reference/collisionCodeGenEnumWithEnumMemberConflict.js @@ -7,6 +7,7 @@ enum Color { } //// [collisionCodeGenEnumWithEnumMemberConflict.js] +"use strict"; var Color; (function (Color) { Color[Color["Color"] = 0] = "Color"; diff --git a/tests/baselines/reference/collisionCodeGenModuleWithAccessorChildren.js b/tests/baselines/reference/collisionCodeGenModuleWithAccessorChildren.js index 228436dbbb980..9b0f199a98c27 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithAccessorChildren.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithAccessorChildren.js @@ -48,6 +48,7 @@ namespace M { // Shouldnt be _M } //// [collisionCodeGenModuleWithAccessorChildren.js] +"use strict"; var M; (function (M_1) { M_1.x = 3; diff --git a/tests/baselines/reference/collisionCodeGenModuleWithConstructorChildren.js b/tests/baselines/reference/collisionCodeGenModuleWithConstructorChildren.js index c050b651d36f5..461529249dbbf 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithConstructorChildren.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithConstructorChildren.js @@ -26,6 +26,7 @@ namespace M { } //// [collisionCodeGenModuleWithConstructorChildren.js] +"use strict"; var M; (function (M_1) { M_1.x = 3; diff --git a/tests/baselines/reference/collisionCodeGenModuleWithEnumMemberConflict.js b/tests/baselines/reference/collisionCodeGenModuleWithEnumMemberConflict.js index e616141b83fd4..c6be592773997 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithEnumMemberConflict.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithEnumMemberConflict.js @@ -9,6 +9,7 @@ namespace m1 { } //// [collisionCodeGenModuleWithEnumMemberConflict.js] +"use strict"; var m1; (function (m1) { var e; diff --git a/tests/baselines/reference/collisionCodeGenModuleWithFunctionChildren.js b/tests/baselines/reference/collisionCodeGenModuleWithFunctionChildren.js index 1e7b5df0076d9..ec1651a26d1f8 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithFunctionChildren.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithFunctionChildren.js @@ -22,6 +22,7 @@ namespace M { } //// [collisionCodeGenModuleWithFunctionChildren.js] +"use strict"; var M; (function (M_1) { M_1.x = 3; diff --git a/tests/baselines/reference/collisionCodeGenModuleWithMemberClassConflict.js b/tests/baselines/reference/collisionCodeGenModuleWithMemberClassConflict.js index 94258a854ee74..c63491df23b14 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithMemberClassConflict.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithMemberClassConflict.js @@ -18,6 +18,7 @@ var foo = new m2.m2(); var foo = new m2._m2(); //// [collisionCodeGenModuleWithMemberClassConflict.js] +"use strict"; var m1; (function (m1_1) { var m1 = /** @class */ (function () { diff --git a/tests/baselines/reference/collisionCodeGenModuleWithMemberInterfaceConflict.js b/tests/baselines/reference/collisionCodeGenModuleWithMemberInterfaceConflict.js index 07d6ca44db86c..3a1660ad41083 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithMemberInterfaceConflict.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithMemberInterfaceConflict.js @@ -10,6 +10,7 @@ namespace m1 { var foo = new m1.m2(); //// [collisionCodeGenModuleWithMemberInterfaceConflict.js] +"use strict"; var m1; (function (m1) { var m2 = /** @class */ (function () { diff --git a/tests/baselines/reference/collisionCodeGenModuleWithMemberVariable.js b/tests/baselines/reference/collisionCodeGenModuleWithMemberVariable.js index 023bf3a8d2abb..883944b0ccca8 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithMemberVariable.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithMemberVariable.js @@ -8,6 +8,7 @@ namespace m1 { var foo = m1.m1; //// [collisionCodeGenModuleWithMemberVariable.js] +"use strict"; var m1; (function (m1_1) { m1_1.m1 = 10; diff --git a/tests/baselines/reference/collisionCodeGenModuleWithMethodChildren.js b/tests/baselines/reference/collisionCodeGenModuleWithMethodChildren.js index ec2782168063c..60ee61b5a0459 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithMethodChildren.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithMethodChildren.js @@ -35,6 +35,7 @@ namespace M { // Shouldnt bn _M } //// [collisionCodeGenModuleWithMethodChildren.js] +"use strict"; var M; (function (M_1) { M_1.x = 3; diff --git a/tests/baselines/reference/collisionCodeGenModuleWithModuleChildren.js b/tests/baselines/reference/collisionCodeGenModuleWithModuleChildren.js index 8839a600aab30..859d668a5a9c6 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithModuleChildren.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithModuleChildren.js @@ -45,6 +45,7 @@ namespace M { } //// [collisionCodeGenModuleWithModuleChildren.js] +"use strict"; var M; (function (M_1) { M_1.x = 3; diff --git a/tests/baselines/reference/collisionCodeGenModuleWithModuleReopening.js b/tests/baselines/reference/collisionCodeGenModuleWithModuleReopening.js index 7fe7a64039bf0..ba4582e145212 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithModuleReopening.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithModuleReopening.js @@ -32,6 +32,7 @@ var foo3 = new m2.c1(); var foo2 = new m2.m2(); //// [collisionCodeGenModuleWithModuleReopening.js] +"use strict"; var m1; (function (m1_1) { var m1 = /** @class */ (function () { diff --git a/tests/baselines/reference/collisionCodeGenModuleWithPrivateMember.js b/tests/baselines/reference/collisionCodeGenModuleWithPrivateMember.js index 9e5c28d5f131c..70eb8080ee4fe 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithPrivateMember.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithPrivateMember.js @@ -11,6 +11,7 @@ namespace m1 { var foo = new m1.c1(); //// [collisionCodeGenModuleWithPrivateMember.js] +"use strict"; var m1; (function (m1_1) { var m1 = /** @class */ (function () { diff --git a/tests/baselines/reference/collisionCodeGenModuleWithUnicodeNames.js b/tests/baselines/reference/collisionCodeGenModuleWithUnicodeNames.js index 93f03c1eeb785..84964b40a2c8b 100644 --- a/tests/baselines/reference/collisionCodeGenModuleWithUnicodeNames.js +++ b/tests/baselines/reference/collisionCodeGenModuleWithUnicodeNames.js @@ -12,6 +12,7 @@ var x = new 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكو //// [collisionCodeGenModuleWithUnicodeNames.js] +"use strict"; var 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123; (function (才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123_1) { var 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123 = /** @class */ (function () { diff --git a/tests/baselines/reference/collisionExportsRequireAndAmbientClass.js b/tests/baselines/reference/collisionExportsRequireAndAmbientClass.js index 0cb05d30de00f..4f03daba883c1 100644 --- a/tests/baselines/reference/collisionExportsRequireAndAmbientClass.js +++ b/tests/baselines/reference/collisionExportsRequireAndAmbientClass.js @@ -44,6 +44,7 @@ var m2; (function (m2) { })(m2 || (m2 = {})); //// [collisionExportsRequireAndAmbientClass_globalFile.js] +"use strict"; var m4; (function (m4) { var a = 10; diff --git a/tests/baselines/reference/collisionExportsRequireAndAmbientEnum.js b/tests/baselines/reference/collisionExportsRequireAndAmbientEnum.js index b079a99993eae..f948b9abbc23f 100644 --- a/tests/baselines/reference/collisionExportsRequireAndAmbientEnum.js +++ b/tests/baselines/reference/collisionExportsRequireAndAmbientEnum.js @@ -67,6 +67,7 @@ var m2; (function (m2) { })(m2 || (m2 = {})); //// [collisionExportsRequireAndAmbientEnum_globalFile.js] +"use strict"; var m4; (function (m4) { })(m4 || (m4 = {})); diff --git a/tests/baselines/reference/collisionExportsRequireAndAmbientFunctionInGlobalFile.js b/tests/baselines/reference/collisionExportsRequireAndAmbientFunctionInGlobalFile.js index 4cc03dfa7b4c0..0c324b759a6f2 100644 --- a/tests/baselines/reference/collisionExportsRequireAndAmbientFunctionInGlobalFile.js +++ b/tests/baselines/reference/collisionExportsRequireAndAmbientFunctionInGlobalFile.js @@ -14,6 +14,7 @@ namespace m4 { } //// [collisionExportsRequireAndAmbientFunctionInGlobalFile.js] +"use strict"; var m4; (function (m4) { var a = 10; diff --git a/tests/baselines/reference/collisionExportsRequireAndAmbientModule.js b/tests/baselines/reference/collisionExportsRequireAndAmbientModule.js index ef3e16eeca09a..0332fb9ee2b51 100644 --- a/tests/baselines/reference/collisionExportsRequireAndAmbientModule.js +++ b/tests/baselines/reference/collisionExportsRequireAndAmbientModule.js @@ -110,6 +110,7 @@ var m2; var a = 10; })(m2 || (m2 = {})); //// [collisionExportsRequireAndAmbientModule_globalFile.js] +"use strict"; var m4; (function (m4) { var a = 10; diff --git a/tests/baselines/reference/collisionExportsRequireAndAmbientVar.js b/tests/baselines/reference/collisionExportsRequireAndAmbientVar.js index 273cee0d2e37e..8cf6f9924f406 100644 --- a/tests/baselines/reference/collisionExportsRequireAndAmbientVar.js +++ b/tests/baselines/reference/collisionExportsRequireAndAmbientVar.js @@ -34,6 +34,7 @@ var m2; var a = 10; })(m2 || (m2 = {})); //// [collisionExportsRequireAndAmbientVar_globalFile.js] +"use strict"; var m4; (function (m4) { var a = 10; diff --git a/tests/baselines/reference/collisionExportsRequireAndClass.js b/tests/baselines/reference/collisionExportsRequireAndClass.js index 0476fd8b9361f..9abcda4dda1e4 100644 --- a/tests/baselines/reference/collisionExportsRequireAndClass.js +++ b/tests/baselines/reference/collisionExportsRequireAndClass.js @@ -83,6 +83,7 @@ define(["require", "exports"], function (require, exports) { })(m2 || (m2 = {})); }); //// [collisionExportsRequireAndClass_globalFile.js] +"use strict"; var require = /** @class */ (function () { function require() { } diff --git a/tests/baselines/reference/collisionExportsRequireAndEnum.js b/tests/baselines/reference/collisionExportsRequireAndEnum.js index 2824652a8b661..91935ae182f60 100644 --- a/tests/baselines/reference/collisionExportsRequireAndEnum.js +++ b/tests/baselines/reference/collisionExportsRequireAndEnum.js @@ -103,6 +103,7 @@ define(["require", "exports"], function (require, exports) { })(m2 || (m2 = {})); }); //// [collisionExportsRequireAndEnum_globalFile.js] +"use strict"; var require; (function (require) { require[require["_thisVal1"] = 0] = "_thisVal1"; diff --git a/tests/baselines/reference/collisionExportsRequireAndFunctionInGlobalFile.js b/tests/baselines/reference/collisionExportsRequireAndFunctionInGlobalFile.js index b0b37f66d4add..473dc99762e57 100644 --- a/tests/baselines/reference/collisionExportsRequireAndFunctionInGlobalFile.js +++ b/tests/baselines/reference/collisionExportsRequireAndFunctionInGlobalFile.js @@ -25,6 +25,7 @@ namespace m4 { } //// [collisionExportsRequireAndFunctionInGlobalFile.js] +"use strict"; function exports() { return 1; } diff --git a/tests/baselines/reference/collisionExportsRequireAndInternalModuleAliasInGlobalFile.js b/tests/baselines/reference/collisionExportsRequireAndInternalModuleAliasInGlobalFile.js index a8d2366d0e1f1..4b6f6062d55af 100644 --- a/tests/baselines/reference/collisionExportsRequireAndInternalModuleAliasInGlobalFile.js +++ b/tests/baselines/reference/collisionExportsRequireAndInternalModuleAliasInGlobalFile.js @@ -25,6 +25,7 @@ namespace m2 { } //// [collisionExportsRequireAndInternalModuleAliasInGlobalFile.js] +"use strict"; var mOfGloalFile; (function (mOfGloalFile) { var c = /** @class */ (function () { diff --git a/tests/baselines/reference/collisionExportsRequireAndModule.js b/tests/baselines/reference/collisionExportsRequireAndModule.js index 00fec6da4dd36..80534f6c0fc0e 100644 --- a/tests/baselines/reference/collisionExportsRequireAndModule.js +++ b/tests/baselines/reference/collisionExportsRequireAndModule.js @@ -166,6 +166,7 @@ define(["require", "exports"], function (require, exports) { })(m2 || (m2 = {})); }); //// [collisionExportsRequireAndModule_globalFile.js] +"use strict"; var require; (function (require) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/collisionExportsRequireAndVar.js b/tests/baselines/reference/collisionExportsRequireAndVar.js index 4539468400565..fbc1bf21a055a 100644 --- a/tests/baselines/reference/collisionExportsRequireAndVar.js +++ b/tests/baselines/reference/collisionExportsRequireAndVar.js @@ -47,6 +47,7 @@ define(["require", "exports"], function (require, exports) { })(m2 || (m2 = {})); }); //// [collisionExportsRequireAndVar_globalFile.js] +"use strict"; var exports = 0; var require = "require"; var m3; diff --git a/tests/baselines/reference/collisionRestParameterArrowFunctions.js b/tests/baselines/reference/collisionRestParameterArrowFunctions.js index 25899401784ba..a422a26f2c113 100644 --- a/tests/baselines/reference/collisionRestParameterArrowFunctions.js +++ b/tests/baselines/reference/collisionRestParameterArrowFunctions.js @@ -16,6 +16,7 @@ var f2NoError = () => { } //// [collisionRestParameterArrowFunctions.js] +"use strict"; var f1 = function (_i) { var restParameters = []; for (var _a = 1; _a < arguments.length; _a++) { diff --git a/tests/baselines/reference/collisionRestParameterClassConstructor.js b/tests/baselines/reference/collisionRestParameterClassConstructor.js index 4273e0c139ae7..23f98524cc4fe 100644 --- a/tests/baselines/reference/collisionRestParameterClassConstructor.js +++ b/tests/baselines/reference/collisionRestParameterClassConstructor.js @@ -69,6 +69,7 @@ declare class c6NoError { } //// [collisionRestParameterClassConstructor.js] +"use strict"; // Constructors var c1 = /** @class */ (function () { function c1(_i) { diff --git a/tests/baselines/reference/collisionRestParameterClassMethod.js b/tests/baselines/reference/collisionRestParameterClassMethod.js index 2a4322c45a6ec..44e575fdc3b9f 100644 --- a/tests/baselines/reference/collisionRestParameterClassMethod.js +++ b/tests/baselines/reference/collisionRestParameterClassMethod.js @@ -41,6 +41,7 @@ class c3 { } //// [collisionRestParameterClassMethod.js] +"use strict"; var c1 = /** @class */ (function () { function c1() { } diff --git a/tests/baselines/reference/collisionRestParameterFunction.js b/tests/baselines/reference/collisionRestParameterFunction.js index ae8e7ce8650e1..e6d08d2bdaba1 100644 --- a/tests/baselines/reference/collisionRestParameterFunction.js +++ b/tests/baselines/reference/collisionRestParameterFunction.js @@ -36,6 +36,7 @@ declare function f6(_i: number); // no codegen no error declare function f6(_i: string); // no codegen no error //// [collisionRestParameterFunction.js] +"use strict"; // Functions function f1(_i) { var restParameters = []; diff --git a/tests/baselines/reference/collisionRestParameterFunctionExpressions.js b/tests/baselines/reference/collisionRestParameterFunctionExpressions.js index 00fcb9089e296..fe0c660bc8ee2 100644 --- a/tests/baselines/reference/collisionRestParameterFunctionExpressions.js +++ b/tests/baselines/reference/collisionRestParameterFunctionExpressions.js @@ -27,6 +27,7 @@ function foo() { } //// [collisionRestParameterFunctionExpressions.js] +"use strict"; function foo() { function f1(_i) { var restParameters = []; diff --git a/tests/baselines/reference/collisionRestParameterInType.js b/tests/baselines/reference/collisionRestParameterInType.js index 840a38be922b6..5d28e09fa66a7 100644 --- a/tests/baselines/reference/collisionRestParameterInType.js +++ b/tests/baselines/reference/collisionRestParameterInType.js @@ -10,5 +10,6 @@ var v2: { } //// [collisionRestParameterInType.js] +"use strict"; var v1; // no error - no code gen var v2; diff --git a/tests/baselines/reference/collisionRestParameterInterfaceMembers.js b/tests/baselines/reference/collisionRestParameterInterfaceMembers.js index 1429dbcb21370..ea5a0b92b33b9 100644 --- a/tests/baselines/reference/collisionRestParameterInterfaceMembers.js +++ b/tests/baselines/reference/collisionRestParameterInterfaceMembers.js @@ -24,3 +24,4 @@ interface i3 { } //// [collisionRestParameterInterfaceMembers.js] +"use strict"; diff --git a/tests/baselines/reference/collisionRestParameterUnderscoreIUsage.js b/tests/baselines/reference/collisionRestParameterUnderscoreIUsage.js index f4dccd030614d..b694f6466348b 100644 --- a/tests/baselines/reference/collisionRestParameterUnderscoreIUsage.js +++ b/tests/baselines/reference/collisionRestParameterUnderscoreIUsage.js @@ -11,6 +11,7 @@ class Foo { new Foo(); //// [collisionRestParameterUnderscoreIUsage.js] +"use strict"; var _i = "This is what I'd expect to see"; var Foo = /** @class */ (function () { function Foo() { diff --git a/tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors.js b/tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors.js index d7d3521ccfd90..e06687c483541 100644 --- a/tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors.js +++ b/tests/baselines/reference/collisionSuperAndLocalFunctionInAccessors.js @@ -42,6 +42,7 @@ class c extends Foo { } //// [collisionSuperAndLocalFunctionInAccessors.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionSuperAndLocalFunctionInConstructor.js b/tests/baselines/reference/collisionSuperAndLocalFunctionInConstructor.js index e130927e692a2..b6a733649f7d3 100644 --- a/tests/baselines/reference/collisionSuperAndLocalFunctionInConstructor.js +++ b/tests/baselines/reference/collisionSuperAndLocalFunctionInConstructor.js @@ -27,6 +27,7 @@ class c extends Foo { } //// [collisionSuperAndLocalFunctionInConstructor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionSuperAndLocalFunctionInMethod.js b/tests/baselines/reference/collisionSuperAndLocalFunctionInMethod.js index 7d9cf89f6bdbd..2a7185b603a5e 100644 --- a/tests/baselines/reference/collisionSuperAndLocalFunctionInMethod.js +++ b/tests/baselines/reference/collisionSuperAndLocalFunctionInMethod.js @@ -31,6 +31,7 @@ class c extends Foo { } //// [collisionSuperAndLocalFunctionInMethod.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionSuperAndLocalFunctionInProperty.js b/tests/baselines/reference/collisionSuperAndLocalFunctionInProperty.js index 25cc686480202..c60e56cdd8a3f 100644 --- a/tests/baselines/reference/collisionSuperAndLocalFunctionInProperty.js +++ b/tests/baselines/reference/collisionSuperAndLocalFunctionInProperty.js @@ -21,6 +21,7 @@ class b extends Foo { } //// [collisionSuperAndLocalFunctionInProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionSuperAndLocalVarInAccessors.js b/tests/baselines/reference/collisionSuperAndLocalVarInAccessors.js index 2eb4f2ee53360..2bb8e8085d8f0 100644 --- a/tests/baselines/reference/collisionSuperAndLocalVarInAccessors.js +++ b/tests/baselines/reference/collisionSuperAndLocalVarInAccessors.js @@ -35,6 +35,7 @@ class c extends Foo { } //// [collisionSuperAndLocalVarInAccessors.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionSuperAndLocalVarInConstructor.js b/tests/baselines/reference/collisionSuperAndLocalVarInConstructor.js index dce9ba870407b..597dfdadd19f6 100644 --- a/tests/baselines/reference/collisionSuperAndLocalVarInConstructor.js +++ b/tests/baselines/reference/collisionSuperAndLocalVarInConstructor.js @@ -23,6 +23,7 @@ class c extends Foo { } //// [collisionSuperAndLocalVarInConstructor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionSuperAndLocalVarInMethod.js b/tests/baselines/reference/collisionSuperAndLocalVarInMethod.js index 3fa48ab59e41d..e23775d1c9177 100644 --- a/tests/baselines/reference/collisionSuperAndLocalVarInMethod.js +++ b/tests/baselines/reference/collisionSuperAndLocalVarInMethod.js @@ -21,6 +21,7 @@ class c extends Foo { } //// [collisionSuperAndLocalVarInMethod.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionSuperAndLocalVarInProperty.js b/tests/baselines/reference/collisionSuperAndLocalVarInProperty.js index 8acb74135a8a9..21925df32e6ba 100644 --- a/tests/baselines/reference/collisionSuperAndLocalVarInProperty.js +++ b/tests/baselines/reference/collisionSuperAndLocalVarInProperty.js @@ -20,6 +20,7 @@ class b extends Foo { } //// [collisionSuperAndLocalVarInProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionSuperAndNameResolution.js b/tests/baselines/reference/collisionSuperAndNameResolution.js index 2a20870afbc79..be045010a7fbe 100644 --- a/tests/baselines/reference/collisionSuperAndNameResolution.js +++ b/tests/baselines/reference/collisionSuperAndNameResolution.js @@ -14,6 +14,7 @@ class Foo extends base { } //// [collisionSuperAndNameResolution.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionSuperAndParameter.js b/tests/baselines/reference/collisionSuperAndParameter.js index fc3705bbc3df2..d75b60586c65d 100644 --- a/tests/baselines/reference/collisionSuperAndParameter.js +++ b/tests/baselines/reference/collisionSuperAndParameter.js @@ -65,6 +65,7 @@ class Foo4 extends Foo { } //// [collisionSuperAndParameter.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionSuperAndParameter1.js b/tests/baselines/reference/collisionSuperAndParameter1.js index b8cb57535d959..011f2b75c6e7c 100644 --- a/tests/baselines/reference/collisionSuperAndParameter1.js +++ b/tests/baselines/reference/collisionSuperAndParameter1.js @@ -12,6 +12,7 @@ class Foo2 extends Foo { } //// [collisionSuperAndParameter1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionSuperAndPropertyNameAsConstuctorParameter.js b/tests/baselines/reference/collisionSuperAndPropertyNameAsConstuctorParameter.js index e40c462d13310..18917aa826da4 100644 --- a/tests/baselines/reference/collisionSuperAndPropertyNameAsConstuctorParameter.js +++ b/tests/baselines/reference/collisionSuperAndPropertyNameAsConstuctorParameter.js @@ -33,6 +33,7 @@ class b4 extends a { } //// [collisionSuperAndPropertyNameAsConstuctorParameter.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionThisExpressionAndAliasInGlobal.js b/tests/baselines/reference/collisionThisExpressionAndAliasInGlobal.js index a2a6546c8b9e4..dcc46b85e6d6d 100644 --- a/tests/baselines/reference/collisionThisExpressionAndAliasInGlobal.js +++ b/tests/baselines/reference/collisionThisExpressionAndAliasInGlobal.js @@ -8,6 +8,7 @@ var f = () => this; import _this = a; // Error //// [collisionThisExpressionAndAliasInGlobal.js] +"use strict"; var _this_1 = this; var a; (function (a) { diff --git a/tests/baselines/reference/collisionThisExpressionAndAmbientClassInGlobal.js b/tests/baselines/reference/collisionThisExpressionAndAmbientClassInGlobal.js index 07fc0e020ac45..431dbe3e5fa55 100644 --- a/tests/baselines/reference/collisionThisExpressionAndAmbientClassInGlobal.js +++ b/tests/baselines/reference/collisionThisExpressionAndAmbientClassInGlobal.js @@ -7,6 +7,7 @@ var f = () => this; var a = new _this(); // Error //// [collisionThisExpressionAndAmbientClassInGlobal.js] +"use strict"; var _this_1 = this; var f = function () { return _this_1; }; var a = new _this(); // Error diff --git a/tests/baselines/reference/collisionThisExpressionAndAmbientVarInGlobal.js b/tests/baselines/reference/collisionThisExpressionAndAmbientVarInGlobal.js index ff5772f9c91a9..a9104c2d5d8c2 100644 --- a/tests/baselines/reference/collisionThisExpressionAndAmbientVarInGlobal.js +++ b/tests/baselines/reference/collisionThisExpressionAndAmbientVarInGlobal.js @@ -6,6 +6,7 @@ var f = () => this; _this = 10; // Error //// [collisionThisExpressionAndAmbientVarInGlobal.js] +"use strict"; var _this_1 = this; var f = function () { return _this_1; }; _this = 10; // Error diff --git a/tests/baselines/reference/collisionThisExpressionAndClassInGlobal.js b/tests/baselines/reference/collisionThisExpressionAndClassInGlobal.js index 08d145c27d171..0e9ab5d4722cb 100644 --- a/tests/baselines/reference/collisionThisExpressionAndClassInGlobal.js +++ b/tests/baselines/reference/collisionThisExpressionAndClassInGlobal.js @@ -6,6 +6,7 @@ class _this { var f = () => this; //// [collisionThisExpressionAndClassInGlobal.js] +"use strict"; var _this_1 = this; var _this = /** @class */ (function () { function _this() { diff --git a/tests/baselines/reference/collisionThisExpressionAndEnumInGlobal.js b/tests/baselines/reference/collisionThisExpressionAndEnumInGlobal.js index 3fcca18f082c1..b9220d54b051d 100644 --- a/tests/baselines/reference/collisionThisExpressionAndEnumInGlobal.js +++ b/tests/baselines/reference/collisionThisExpressionAndEnumInGlobal.js @@ -8,6 +8,7 @@ enum _this { // Error var f = () => this; //// [collisionThisExpressionAndEnumInGlobal.js] +"use strict"; var _this_1 = this; var _this; (function (_this) { diff --git a/tests/baselines/reference/collisionThisExpressionAndFunctionInGlobal.js b/tests/baselines/reference/collisionThisExpressionAndFunctionInGlobal.js index aa0c132923ae8..399408cd4c131 100644 --- a/tests/baselines/reference/collisionThisExpressionAndFunctionInGlobal.js +++ b/tests/baselines/reference/collisionThisExpressionAndFunctionInGlobal.js @@ -7,6 +7,7 @@ function _this() { //Error var f = () => this; //// [collisionThisExpressionAndFunctionInGlobal.js] +"use strict"; var _this_1 = this; function _this() { return 10; diff --git a/tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors.js b/tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors.js index cf0a52a959cc1..659c60b45eb6b 100644 --- a/tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors.js +++ b/tests/baselines/reference/collisionThisExpressionAndLocalVarInAccessors.js @@ -46,6 +46,7 @@ class class2 { } //// [collisionThisExpressionAndLocalVarInAccessors.js] +"use strict"; var class1 = /** @class */ (function () { function class1() { } diff --git a/tests/baselines/reference/collisionThisExpressionAndLocalVarInConstructor.js b/tests/baselines/reference/collisionThisExpressionAndLocalVarInConstructor.js index 657cff635e88a..6dc405eb5c29e 100644 --- a/tests/baselines/reference/collisionThisExpressionAndLocalVarInConstructor.js +++ b/tests/baselines/reference/collisionThisExpressionAndLocalVarInConstructor.js @@ -24,6 +24,7 @@ class class2 { } //// [collisionThisExpressionAndLocalVarInConstructor.js] +"use strict"; var class1 = /** @class */ (function () { function class1() { var _this_1 = this; diff --git a/tests/baselines/reference/collisionThisExpressionAndLocalVarInFunction.js b/tests/baselines/reference/collisionThisExpressionAndLocalVarInFunction.js index dcf912d4c67c3..ee32cf593c6a7 100644 --- a/tests/baselines/reference/collisionThisExpressionAndLocalVarInFunction.js +++ b/tests/baselines/reference/collisionThisExpressionAndLocalVarInFunction.js @@ -10,6 +10,7 @@ function x() { } //// [collisionThisExpressionAndLocalVarInFunction.js] +"use strict"; var console; function x() { var _this_1 = this; diff --git a/tests/baselines/reference/collisionThisExpressionAndLocalVarInLambda.js b/tests/baselines/reference/collisionThisExpressionAndLocalVarInLambda.js index 0410ee3a3cecc..8fdfae08cf860 100644 --- a/tests/baselines/reference/collisionThisExpressionAndLocalVarInLambda.js +++ b/tests/baselines/reference/collisionThisExpressionAndLocalVarInLambda.js @@ -12,6 +12,7 @@ var x = { alert(x.doStuff(x => alert(x))); //// [collisionThisExpressionAndLocalVarInLambda.js] +"use strict"; var _this_1 = this; var x = { doStuff: function (callback) { return function () { diff --git a/tests/baselines/reference/collisionThisExpressionAndLocalVarInMethod.js b/tests/baselines/reference/collisionThisExpressionAndLocalVarInMethod.js index d0f844b6fe1d0..18031e8338c5a 100644 --- a/tests/baselines/reference/collisionThisExpressionAndLocalVarInMethod.js +++ b/tests/baselines/reference/collisionThisExpressionAndLocalVarInMethod.js @@ -21,6 +21,7 @@ class a { } //// [collisionThisExpressionAndLocalVarInMethod.js] +"use strict"; var a = /** @class */ (function () { function a() { } diff --git a/tests/baselines/reference/collisionThisExpressionAndLocalVarInProperty.js b/tests/baselines/reference/collisionThisExpressionAndLocalVarInProperty.js index 69c42cdd45a5c..2206a88ec90f8 100644 --- a/tests/baselines/reference/collisionThisExpressionAndLocalVarInProperty.js +++ b/tests/baselines/reference/collisionThisExpressionAndLocalVarInProperty.js @@ -22,6 +22,7 @@ class class2 { } //// [collisionThisExpressionAndLocalVarInProperty.js] +"use strict"; var class1 = /** @class */ (function () { function class1() { var _this_1 = this; diff --git a/tests/baselines/reference/collisionThisExpressionAndLocalVarWithSuperExperssion.js b/tests/baselines/reference/collisionThisExpressionAndLocalVarWithSuperExperssion.js index 802b6e5a0388d..4dddd546d3154 100644 --- a/tests/baselines/reference/collisionThisExpressionAndLocalVarWithSuperExperssion.js +++ b/tests/baselines/reference/collisionThisExpressionAndLocalVarWithSuperExperssion.js @@ -21,6 +21,7 @@ class b2 extends a { } //// [collisionThisExpressionAndLocalVarWithSuperExperssion.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/collisionThisExpressionAndModuleInGlobal.js b/tests/baselines/reference/collisionThisExpressionAndModuleInGlobal.js index 03aa98be24411..15a79503f1ad7 100644 --- a/tests/baselines/reference/collisionThisExpressionAndModuleInGlobal.js +++ b/tests/baselines/reference/collisionThisExpressionAndModuleInGlobal.js @@ -8,6 +8,7 @@ namespace _this { //Error var f = () => this; //// [collisionThisExpressionAndModuleInGlobal.js] +"use strict"; var _this_1 = this; var _this; (function (_this) { diff --git a/tests/baselines/reference/collisionThisExpressionAndNameResolution.js b/tests/baselines/reference/collisionThisExpressionAndNameResolution.js index e49d56ad27009..19760c1bbf073 100644 --- a/tests/baselines/reference/collisionThisExpressionAndNameResolution.js +++ b/tests/baselines/reference/collisionThisExpressionAndNameResolution.js @@ -15,6 +15,7 @@ class Foo { } //// [collisionThisExpressionAndNameResolution.js] +"use strict"; var console; var Foo = /** @class */ (function () { function Foo() { diff --git a/tests/baselines/reference/collisionThisExpressionAndParameter.js b/tests/baselines/reference/collisionThisExpressionAndParameter.js index 065a7bf63b88f..3936014022c1d 100644 --- a/tests/baselines/reference/collisionThisExpressionAndParameter.js +++ b/tests/baselines/reference/collisionThisExpressionAndParameter.js @@ -96,6 +96,7 @@ declare function f4(_this: number); // no code gen - no error declare function f4(_this: string); // no code gen - no error //// [collisionThisExpressionAndParameter.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/collisionThisExpressionAndPropertyNameAsConstuctorParameter.js b/tests/baselines/reference/collisionThisExpressionAndPropertyNameAsConstuctorParameter.js index 265df8bb654d3..d999990613f16 100644 --- a/tests/baselines/reference/collisionThisExpressionAndPropertyNameAsConstuctorParameter.js +++ b/tests/baselines/reference/collisionThisExpressionAndPropertyNameAsConstuctorParameter.js @@ -38,6 +38,7 @@ class Foo5 { } //// [collisionThisExpressionAndPropertyNameAsConstuctorParameter.js] +"use strict"; var Foo2 = /** @class */ (function () { function Foo2(_this) { var _this_1 = this; diff --git a/tests/baselines/reference/collisionThisExpressionAndVarInGlobal.js b/tests/baselines/reference/collisionThisExpressionAndVarInGlobal.js index 9e889b03408bf..53429db34a8da 100644 --- a/tests/baselines/reference/collisionThisExpressionAndVarInGlobal.js +++ b/tests/baselines/reference/collisionThisExpressionAndVarInGlobal.js @@ -5,6 +5,7 @@ var _this = 1; var f = () => this; //// [collisionThisExpressionAndVarInGlobal.js] +"use strict"; var _this_1 = this; var _this = 1; var f = function () { return _this_1; }; diff --git a/tests/baselines/reference/commaOperator1.js b/tests/baselines/reference/commaOperator1.js index 68613dfe26e64..28dc869fe8bac 100644 --- a/tests/baselines/reference/commaOperator1.js +++ b/tests/baselines/reference/commaOperator1.js @@ -9,6 +9,7 @@ function f1() { //// [commaOperator1.js] +"use strict"; var v1 = ((1, 2, 3), 4, 5, (6, 7)); function f1() { var a = 1; diff --git a/tests/baselines/reference/commaOperatorInConditionalExpression.js b/tests/baselines/reference/commaOperatorInConditionalExpression.js index 3c3d1ea28ac20..263dde6cccea5 100644 --- a/tests/baselines/reference/commaOperatorInConditionalExpression.js +++ b/tests/baselines/reference/commaOperatorInConditionalExpression.js @@ -8,6 +8,7 @@ function f (m: string) { } //// [commaOperatorInConditionalExpression.js] +"use strict"; function f(m) { [1, 2, 3].map(function (i) { var _a, _b; diff --git a/tests/baselines/reference/commaOperatorInvalidAssignmentType.js b/tests/baselines/reference/commaOperatorInvalidAssignmentType.js index c89be5e429951..ea2a591fe01cf 100644 --- a/tests/baselines/reference/commaOperatorInvalidAssignmentType.js +++ b/tests/baselines/reference/commaOperatorInvalidAssignmentType.js @@ -21,6 +21,7 @@ resultIsString = (STRING, NUMBER); //// [commaOperatorInvalidAssignmentType.js] +"use strict"; //Expect errors when the results type is different form the second operand resultIsBoolean = (BOOLEAN, STRING); resultIsBoolean = (BOOLEAN, NUMBER); diff --git a/tests/baselines/reference/commaOperatorLeftSideUnused.js b/tests/baselines/reference/commaOperatorLeftSideUnused.js index eb8ce9b1f3f1a..01cf634703153 100644 --- a/tests/baselines/reference/commaOperatorLeftSideUnused.js +++ b/tests/baselines/reference/commaOperatorLeftSideUnused.js @@ -59,6 +59,7 @@ xx = (0, xx['fn'])(); xx = (0, xx.fn)``; //// [commaOperatorLeftSideUnused.js] +"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; diff --git a/tests/baselines/reference/commaOperatorOtherInvalidOperation.js b/tests/baselines/reference/commaOperatorOtherInvalidOperation.js index 741ce87ee458a..a462d0c034e60 100644 --- a/tests/baselines/reference/commaOperatorOtherInvalidOperation.js +++ b/tests/baselines/reference/commaOperatorOtherInvalidOperation.js @@ -16,6 +16,7 @@ function foo1() { } //// [commaOperatorOtherInvalidOperation.js] +"use strict"; //Expect to have compiler errors //Comma operator in function arguments and return function foo(x, y) { diff --git a/tests/baselines/reference/commaOperatorOtherValidOperation.js b/tests/baselines/reference/commaOperatorOtherValidOperation.js index f33960b00b943..2ee6940a0ccf0 100644 --- a/tests/baselines/reference/commaOperatorOtherValidOperation.js +++ b/tests/baselines/reference/commaOperatorOtherValidOperation.js @@ -24,6 +24,7 @@ function foo1() //// [commaOperatorOtherValidOperation.js] +"use strict"; //Comma operator in for loop for (var i = 0, j = 10; i < j; i++, j--) { } diff --git a/tests/baselines/reference/commaOperatorWithSecondOperandAnyType.js b/tests/baselines/reference/commaOperatorWithSecondOperandAnyType.js index b552bf4383ff4..8f6f797146f17 100644 --- a/tests/baselines/reference/commaOperatorWithSecondOperandAnyType.js +++ b/tests/baselines/reference/commaOperatorWithSecondOperandAnyType.js @@ -40,6 +40,7 @@ var resultIsAny11 = (!BOOLEAN, x.doSomeThing()); //// [commaOperatorWithSecondOperandAnyType.js] +"use strict"; var ANY; var BOOLEAN; var NUMBER; diff --git a/tests/baselines/reference/commaOperatorWithSecondOperandBooleanType.js b/tests/baselines/reference/commaOperatorWithSecondOperandBooleanType.js index b0a95e8ae7149..832f685fd0a27 100644 --- a/tests/baselines/reference/commaOperatorWithSecondOperandBooleanType.js +++ b/tests/baselines/reference/commaOperatorWithSecondOperandBooleanType.js @@ -38,6 +38,7 @@ var resultIsBoolean11 = (OBJECT = [1, 2, 3], BOOLEAN = false); //// [commaOperatorWithSecondOperandBooleanType.js] +"use strict"; var ANY; var BOOLEAN; var NUMBER; diff --git a/tests/baselines/reference/commaOperatorWithSecondOperandNumberType.js b/tests/baselines/reference/commaOperatorWithSecondOperandNumberType.js index 5654c0558a4fa..d4e73841bff33 100644 --- a/tests/baselines/reference/commaOperatorWithSecondOperandNumberType.js +++ b/tests/baselines/reference/commaOperatorWithSecondOperandNumberType.js @@ -38,6 +38,7 @@ var resultIsNumber11 = (STRING.trim(), NUMBER = 1); //// [commaOperatorWithSecondOperandNumberType.js] +"use strict"; var ANY; var BOOLEAN; var NUMBER; diff --git a/tests/baselines/reference/commaOperatorWithSecondOperandObjectType.js b/tests/baselines/reference/commaOperatorWithSecondOperandObjectType.js index 6e76681739792..bb54a77d9cb62 100644 --- a/tests/baselines/reference/commaOperatorWithSecondOperandObjectType.js +++ b/tests/baselines/reference/commaOperatorWithSecondOperandObjectType.js @@ -42,6 +42,7 @@ var resultIsObject11 = (STRING.toLowerCase(), new CLASS()); //// [commaOperatorWithSecondOperandObjectType.js] +"use strict"; var ANY; var BOOLEAN; var NUMBER; diff --git a/tests/baselines/reference/commaOperatorWithSecondOperandStringType.js b/tests/baselines/reference/commaOperatorWithSecondOperandStringType.js index 86c594ddc2871..8bfbb99076a9a 100644 --- a/tests/baselines/reference/commaOperatorWithSecondOperandStringType.js +++ b/tests/baselines/reference/commaOperatorWithSecondOperandStringType.js @@ -40,6 +40,7 @@ var resultIsString11 = (new Object, STRING + "string"); //// [commaOperatorWithSecondOperandStringType.js] +"use strict"; var ANY; var BOOLEAN; var NUMBER; diff --git a/tests/baselines/reference/commaOperatorWithoutOperand.js b/tests/baselines/reference/commaOperatorWithoutOperand.js index a90217ff2a70c..d7d3ced81b31f 100644 --- a/tests/baselines/reference/commaOperatorWithoutOperand.js +++ b/tests/baselines/reference/commaOperatorWithoutOperand.js @@ -26,6 +26,7 @@ declare var OBJECT: Object; ( , ); //// [commaOperatorWithoutOperand.js] +"use strict"; // Expect to have compiler errors // Missing the second operand (ANY, ); diff --git a/tests/baselines/reference/commaOperatorsMultipleOperators.js b/tests/baselines/reference/commaOperatorsMultipleOperators.js index 9d22fd95553dc..41ff2bd6e1907 100644 --- a/tests/baselines/reference/commaOperatorsMultipleOperators.js +++ b/tests/baselines/reference/commaOperatorsMultipleOperators.js @@ -29,6 +29,7 @@ var resultIsNumber2 = (null, true, 1); var resultIsObject2 = (++NUMBER, STRING.charAt(0), new Object()); //// [commaOperatorsMultipleOperators.js] +"use strict"; var ANY; var BOOLEAN; var NUMBER; diff --git a/tests/baselines/reference/commentBeforeStaticMethod1.js b/tests/baselines/reference/commentBeforeStaticMethod1.js index 75a6dc9caa6d4..76593a73c4168 100644 --- a/tests/baselines/reference/commentBeforeStaticMethod1.js +++ b/tests/baselines/reference/commentBeforeStaticMethod1.js @@ -11,6 +11,7 @@ class C { } //// [commentBeforeStaticMethod1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/commentEmitAtEndOfFile1.js b/tests/baselines/reference/commentEmitAtEndOfFile1.js index b5886883da81f..4709d885c9ef9 100644 --- a/tests/baselines/reference/commentEmitAtEndOfFile1.js +++ b/tests/baselines/reference/commentEmitAtEndOfFile1.js @@ -13,6 +13,7 @@ namespace empty { // test #4 //// [commentEmitAtEndOfFile1.js] +"use strict"; // test var f = ''; // test #2 diff --git a/tests/baselines/reference/commentEmitWithCommentOnLastLine.js b/tests/baselines/reference/commentEmitWithCommentOnLastLine.js index 3f15c3a3dd9bb..704d208e96dc9 100644 --- a/tests/baselines/reference/commentEmitWithCommentOnLastLine.js +++ b/tests/baselines/reference/commentEmitWithCommentOnLastLine.js @@ -7,6 +7,7 @@ var bar; */ //// [commentEmitWithCommentOnLastLine.js] +"use strict"; var x; /* var bar; diff --git a/tests/baselines/reference/commentInEmptyParameterList1.js b/tests/baselines/reference/commentInEmptyParameterList1.js index 59de3a84487fe..3e76a33e6bc34 100644 --- a/tests/baselines/reference/commentInEmptyParameterList1.js +++ b/tests/baselines/reference/commentInEmptyParameterList1.js @@ -5,5 +5,6 @@ function foo(/** nothing */) { } //// [commentInEmptyParameterList1.js] +"use strict"; function foo( /** nothing */) { } diff --git a/tests/baselines/reference/commentInMethodCall.js b/tests/baselines/reference/commentInMethodCall.js index f748c36e76d3f..6cccda7c73357 100644 --- a/tests/baselines/reference/commentInMethodCall.js +++ b/tests/baselines/reference/commentInMethodCall.js @@ -8,6 +8,7 @@ s.map(// do something //// [commentInMethodCall.js] +"use strict"; //commment here var s; s.map(// do something diff --git a/tests/baselines/reference/commentInNamespaceDeclarationWithIdentifierPathName.js b/tests/baselines/reference/commentInNamespaceDeclarationWithIdentifierPathName.js index eba568e3c94eb..144146998baff 100644 --- a/tests/baselines/reference/commentInNamespaceDeclarationWithIdentifierPathName.js +++ b/tests/baselines/reference/commentInNamespaceDeclarationWithIdentifierPathName.js @@ -9,6 +9,7 @@ namespace hello.hi.world } //// [commentInNamespaceDeclarationWithIdentifierPathName.js] +"use strict"; var hello; (function (hello) { var hi; diff --git a/tests/baselines/reference/commentLeadingCloseBrace.js b/tests/baselines/reference/commentLeadingCloseBrace.js index 9ac7b1a2d15db..78c70513721fc 100644 --- a/tests/baselines/reference/commentLeadingCloseBrace.js +++ b/tests/baselines/reference/commentLeadingCloseBrace.js @@ -14,6 +14,7 @@ function ifelse() { } //// [commentLeadingCloseBrace.js] +"use strict"; function ifelse() { if (commentedParameters(1, 2)) { /*comment1*/ diff --git a/tests/baselines/reference/commentOnAmbientClass1.js b/tests/baselines/reference/commentOnAmbientClass1.js index 9837da4c371c4..897f73cdf08c4 100644 --- a/tests/baselines/reference/commentOnAmbientClass1.js +++ b/tests/baselines/reference/commentOnAmbientClass1.js @@ -20,9 +20,11 @@ declare class E extends C { } //// [a.js] +"use strict"; /*!========= Keep this pinned comment ========= */ //// [b.js] +"use strict"; /// diff --git a/tests/baselines/reference/commentOnAmbientEnum.js b/tests/baselines/reference/commentOnAmbientEnum.js index f6c9d92ebff45..08e182a787a51 100644 --- a/tests/baselines/reference/commentOnAmbientEnum.js +++ b/tests/baselines/reference/commentOnAmbientEnum.js @@ -23,9 +23,11 @@ declare enum E { } //// [a.js] +"use strict"; /*!========= Keep this pinned comment ========= */ //// [b.js] +"use strict"; /// diff --git a/tests/baselines/reference/commentOnAmbientModule.js b/tests/baselines/reference/commentOnAmbientModule.js index 34196ac4b84c5..4002c4c589cba 100644 --- a/tests/baselines/reference/commentOnAmbientModule.js +++ b/tests/baselines/reference/commentOnAmbientModule.js @@ -25,9 +25,11 @@ declare namespace E { } //// [a.js] +"use strict"; /*!========= Keep this pinned comment ========= */ //// [b.js] +"use strict"; /// diff --git a/tests/baselines/reference/commentOnAmbientVariable1.js b/tests/baselines/reference/commentOnAmbientVariable1.js index 5220f0f1b0c0f..f77ef6700a651 100644 --- a/tests/baselines/reference/commentOnAmbientVariable1.js +++ b/tests/baselines/reference/commentOnAmbientVariable1.js @@ -13,6 +13,7 @@ declare var v: number; declare var y: number; //// [commentOnAmbientVariable1.js] +"use strict"; /*!========= Keep this pinned comment ========= diff --git a/tests/baselines/reference/commentOnAmbientVariable2.js b/tests/baselines/reference/commentOnAmbientVariable2.js index 8aacecae0ef1a..725b62a968fec 100644 --- a/tests/baselines/reference/commentOnAmbientVariable2.js +++ b/tests/baselines/reference/commentOnAmbientVariable2.js @@ -9,7 +9,9 @@ declare var x: number; x = 2; //// [commentOnAmbientVariable2_1.js] +"use strict"; var y = 1; //// [commentOnAmbientVariable2_2.js] +"use strict"; /// x = 2; diff --git a/tests/baselines/reference/commentOnAmbientfunction.js b/tests/baselines/reference/commentOnAmbientfunction.js index 2261323694113..c7be06e41c266 100644 --- a/tests/baselines/reference/commentOnAmbientfunction.js +++ b/tests/baselines/reference/commentOnAmbientfunction.js @@ -17,9 +17,11 @@ declare function bar(); declare function foobar(a: typeof foo): typeof bar; //// [a.js] +"use strict"; /*!========= Keep this pinned comment ========= */ //// [b.js] +"use strict"; /// diff --git a/tests/baselines/reference/commentOnArrayElement1.js b/tests/baselines/reference/commentOnArrayElement1.js index 9cdef2d707301..edb92f0481d63 100644 --- a/tests/baselines/reference/commentOnArrayElement1.js +++ b/tests/baselines/reference/commentOnArrayElement1.js @@ -10,6 +10,7 @@ const array = [ ]; //// [commentOnArrayElement1.js] +"use strict"; var array = [ /* element 1*/ 1 diff --git a/tests/baselines/reference/commentOnArrayElement10.js b/tests/baselines/reference/commentOnArrayElement10.js index 0d85f4d7657c1..d220981475817 100644 --- a/tests/baselines/reference/commentOnArrayElement10.js +++ b/tests/baselines/reference/commentOnArrayElement10.js @@ -5,4 +5,5 @@ const array = [,, /* comment */]; //// [commentOnArrayElement10.js] +"use strict"; var array = [, , /* comment */]; diff --git a/tests/baselines/reference/commentOnArrayElement11.js b/tests/baselines/reference/commentOnArrayElement11.js index e4d1bce72c171..87400826fe717 100644 --- a/tests/baselines/reference/commentOnArrayElement11.js +++ b/tests/baselines/reference/commentOnArrayElement11.js @@ -7,6 +7,7 @@ const array = [ //// [commentOnArrayElement11.js] +"use strict"; var array = [ , /* comment */ ]; diff --git a/tests/baselines/reference/commentOnArrayElement12.js b/tests/baselines/reference/commentOnArrayElement12.js index f67c952d082bb..419ee615f83c1 100644 --- a/tests/baselines/reference/commentOnArrayElement12.js +++ b/tests/baselines/reference/commentOnArrayElement12.js @@ -7,6 +7,7 @@ const array = [ //// [commentOnArrayElement12.js] +"use strict"; var array = [ , , /* comment */ diff --git a/tests/baselines/reference/commentOnArrayElement13.js b/tests/baselines/reference/commentOnArrayElement13.js index 2520d38ec7e4f..018202ac30ffc 100644 --- a/tests/baselines/reference/commentOnArrayElement13.js +++ b/tests/baselines/reference/commentOnArrayElement13.js @@ -5,4 +5,5 @@ const array = [/* comment */]; //// [commentOnArrayElement13.js] +"use strict"; var array = [ /* comment */]; diff --git a/tests/baselines/reference/commentOnArrayElement14.js b/tests/baselines/reference/commentOnArrayElement14.js index 1246c9ef6f35a..cc76651ee1391 100644 --- a/tests/baselines/reference/commentOnArrayElement14.js +++ b/tests/baselines/reference/commentOnArrayElement14.js @@ -5,4 +5,5 @@ const array = [1 /* comment */]; //// [commentOnArrayElement14.js] +"use strict"; var array = [1 /* comment */]; diff --git a/tests/baselines/reference/commentOnArrayElement15.js b/tests/baselines/reference/commentOnArrayElement15.js index e96ba855684d0..45187cb2f9290 100644 --- a/tests/baselines/reference/commentOnArrayElement15.js +++ b/tests/baselines/reference/commentOnArrayElement15.js @@ -5,4 +5,5 @@ const array = [/* comment */ 1 /* comment */]; //// [commentOnArrayElement15.js] +"use strict"; var array = [/* comment */ 1 /* comment */]; diff --git a/tests/baselines/reference/commentOnArrayElement16.js b/tests/baselines/reference/commentOnArrayElement16.js index d4682d1067390..101795dc233d4 100644 --- a/tests/baselines/reference/commentOnArrayElement16.js +++ b/tests/baselines/reference/commentOnArrayElement16.js @@ -10,6 +10,7 @@ const array = [ //// [commentOnArrayElement16.js] +"use strict"; var array = [ // comment start 1, diff --git a/tests/baselines/reference/commentOnArrayElement2.js b/tests/baselines/reference/commentOnArrayElement2.js index 1e578382ad836..f955dffbf3fe3 100644 --- a/tests/baselines/reference/commentOnArrayElement2.js +++ b/tests/baselines/reference/commentOnArrayElement2.js @@ -9,6 +9,7 @@ const array = [ ]; //// [commentOnArrayElement2.js] +"use strict"; var array = [ /* element 1*/ 1 /* end of element 1 */, diff --git a/tests/baselines/reference/commentOnArrayElement3.js b/tests/baselines/reference/commentOnArrayElement3.js index 3fdd1604c6f25..aec03f74c5019 100644 --- a/tests/baselines/reference/commentOnArrayElement3.js +++ b/tests/baselines/reference/commentOnArrayElement3.js @@ -11,6 +11,7 @@ const array = [ ]; //// [commentOnArrayElement3.js] +"use strict"; var array = [ /* element 1*/ 1 diff --git a/tests/baselines/reference/commentOnArrayElement4.js b/tests/baselines/reference/commentOnArrayElement4.js index e3aee45322195..eb50267cf508c 100644 --- a/tests/baselines/reference/commentOnArrayElement4.js +++ b/tests/baselines/reference/commentOnArrayElement4.js @@ -9,6 +9,7 @@ const array = [ //// [commentOnArrayElement4.js] +"use strict"; var array = [ /* element 1 */ 1, diff --git a/tests/baselines/reference/commentOnArrayElement5.js b/tests/baselines/reference/commentOnArrayElement5.js index 21ac9dae9f99a..a195a08655a34 100644 --- a/tests/baselines/reference/commentOnArrayElement5.js +++ b/tests/baselines/reference/commentOnArrayElement5.js @@ -10,6 +10,7 @@ const array = [ //// [commentOnArrayElement5.js] +"use strict"; var array = [ /* element 1 */ 1, diff --git a/tests/baselines/reference/commentOnArrayElement6.js b/tests/baselines/reference/commentOnArrayElement6.js index 7d6b446e2008a..2e82cb78a216b 100644 --- a/tests/baselines/reference/commentOnArrayElement6.js +++ b/tests/baselines/reference/commentOnArrayElement6.js @@ -5,4 +5,5 @@ const array = [1, /* comment */]; //// [commentOnArrayElement6.js] +"use strict"; var array = [1, /* comment */]; diff --git a/tests/baselines/reference/commentOnArrayElement7.js b/tests/baselines/reference/commentOnArrayElement7.js index f34868ca57ed0..598618137c597 100644 --- a/tests/baselines/reference/commentOnArrayElement7.js +++ b/tests/baselines/reference/commentOnArrayElement7.js @@ -5,4 +5,5 @@ const array = [/* element 1 */ 1, /* end of element 1 */]; //// [commentOnArrayElement7.js] +"use strict"; var array = [/* element 1 */ 1, /* end of element 1 */]; diff --git a/tests/baselines/reference/commentOnArrayElement8.js b/tests/baselines/reference/commentOnArrayElement8.js index 75156974dc733..05dfbd53df725 100644 --- a/tests/baselines/reference/commentOnArrayElement8.js +++ b/tests/baselines/reference/commentOnArrayElement8.js @@ -7,6 +7,7 @@ const array = [ //// [commentOnArrayElement8.js] +"use strict"; var array = [ 1, /* comment */ ]; diff --git a/tests/baselines/reference/commentOnArrayElement9.js b/tests/baselines/reference/commentOnArrayElement9.js index 89a339be95ebe..291c72a5d40f4 100644 --- a/tests/baselines/reference/commentOnArrayElement9.js +++ b/tests/baselines/reference/commentOnArrayElement9.js @@ -7,6 +7,7 @@ const array = [ //// [commentOnArrayElement9.js] +"use strict"; var array = [ /* element 1 */ 1, /* end of element 1 */ ]; diff --git a/tests/baselines/reference/commentOnBinaryOperator1.js b/tests/baselines/reference/commentOnBinaryOperator1.js index e66ad54059b45..692f67c4839ca 100644 --- a/tests/baselines/reference/commentOnBinaryOperator1.js +++ b/tests/baselines/reference/commentOnBinaryOperator1.js @@ -15,6 +15,7 @@ var c = 'some' 'text'; //// [commentOnBinaryOperator1.js] +"use strict"; var a = 'some' // comment + 'text'; diff --git a/tests/baselines/reference/commentOnBinaryOperator2.js b/tests/baselines/reference/commentOnBinaryOperator2.js index 125a1757e6446..f062e2e5c707a 100644 --- a/tests/baselines/reference/commentOnBinaryOperator2.js +++ b/tests/baselines/reference/commentOnBinaryOperator2.js @@ -15,6 +15,7 @@ var c = 'some' 'text'; //// [commentOnBinaryOperator2.js] +"use strict"; var a = 'some' + 'text'; var b = 'some' diff --git a/tests/baselines/reference/commentOnBlock1.js b/tests/baselines/reference/commentOnBlock1.js index 614314e0d02d7..df0ac2aa39d97 100644 --- a/tests/baselines/reference/commentOnBlock1.js +++ b/tests/baselines/reference/commentOnBlock1.js @@ -7,6 +7,7 @@ function f() { } //// [commentOnBlock1.js] +"use strict"; // asdf function f() { /*asdf*/ { } diff --git a/tests/baselines/reference/commentOnClassAccessor1.js b/tests/baselines/reference/commentOnClassAccessor1.js index 3d3a81b5a9119..fb6a664567032 100644 --- a/tests/baselines/reference/commentOnClassAccessor1.js +++ b/tests/baselines/reference/commentOnClassAccessor1.js @@ -9,6 +9,7 @@ class C { } //// [commentOnClassAccessor1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/commentOnClassAccessor2.js b/tests/baselines/reference/commentOnClassAccessor2.js index f07ebc36c8094..1d429c7f34c32 100644 --- a/tests/baselines/reference/commentOnClassAccessor2.js +++ b/tests/baselines/reference/commentOnClassAccessor2.js @@ -14,6 +14,7 @@ class C { } //// [commentOnClassAccessor2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/commentOnClassMethod1.js b/tests/baselines/reference/commentOnClassMethod1.js index 21083923a6caa..a093cdbb23316 100644 --- a/tests/baselines/reference/commentOnClassMethod1.js +++ b/tests/baselines/reference/commentOnClassMethod1.js @@ -10,6 +10,7 @@ class WebControls { } //// [commentOnClassMethod1.js] +"use strict"; var WebControls = /** @class */ (function () { function WebControls() { } diff --git a/tests/baselines/reference/commentOnDecoratedClassDeclaration.js b/tests/baselines/reference/commentOnDecoratedClassDeclaration.js index 81a08819ded39..fd1b6ac814815 100644 --- a/tests/baselines/reference/commentOnDecoratedClassDeclaration.js +++ b/tests/baselines/reference/commentOnDecoratedClassDeclaration.js @@ -19,6 +19,7 @@ class AnotherRomote { } //// [commentOnDecoratedClassDeclaration.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/commentOnElidedModule1.js b/tests/baselines/reference/commentOnElidedModule1.js index d75796cb1e2ae..03a565fc22a59 100644 --- a/tests/baselines/reference/commentOnElidedModule1.js +++ b/tests/baselines/reference/commentOnElidedModule1.js @@ -20,9 +20,11 @@ namespace ElidedModule3 { } //// [a.js] +"use strict"; /*!================= Keep this pinned ================= */ //// [b.js] +"use strict"; /// diff --git a/tests/baselines/reference/commentOnExpressionStatement1.js b/tests/baselines/reference/commentOnExpressionStatement1.js index 4ebafb88cffc0..ae32ed4906d86 100644 --- a/tests/baselines/reference/commentOnExpressionStatement1.js +++ b/tests/baselines/reference/commentOnExpressionStatement1.js @@ -4,4 +4,5 @@ 1 + 1; // Comment. //// [commentOnExpressionStatement1.js] +"use strict"; 1 + 1; // Comment. diff --git a/tests/baselines/reference/commentOnIfStatement1.js b/tests/baselines/reference/commentOnIfStatement1.js index 6905b0c216e59..a5b4de05078ab 100644 --- a/tests/baselines/reference/commentOnIfStatement1.js +++ b/tests/baselines/reference/commentOnIfStatement1.js @@ -6,6 +6,7 @@ if (true) { } //// [commentOnIfStatement1.js] +"use strict"; // Test if (true) { } diff --git a/tests/baselines/reference/commentOnInterface1.js b/tests/baselines/reference/commentOnInterface1.js index c51658e2dfa9b..14c71f554351d 100644 --- a/tests/baselines/reference/commentOnInterface1.js +++ b/tests/baselines/reference/commentOnInterface1.js @@ -20,9 +20,11 @@ interface I3 { } //// [a.js] +"use strict"; /*!================= Keep this pinned ================= */ //// [b.js] +"use strict"; /// diff --git a/tests/baselines/reference/commentOnParameter1.js b/tests/baselines/reference/commentOnParameter1.js index 46d99a5162004..f8655c9e95d93 100644 --- a/tests/baselines/reference/commentOnParameter1.js +++ b/tests/baselines/reference/commentOnParameter1.js @@ -12,6 +12,7 @@ b ){} //// [commentOnParameter1.js] +"use strict"; function commentedParameters( /* Parameter a */ a diff --git a/tests/baselines/reference/commentOnParameter2.js b/tests/baselines/reference/commentOnParameter2.js index 545200e12d9aa..1f4e08277b221 100644 --- a/tests/baselines/reference/commentOnParameter2.js +++ b/tests/baselines/reference/commentOnParameter2.js @@ -11,6 +11,7 @@ b ){} //// [commentOnParameter2.js] +"use strict"; function commentedParameters( /* Parameter a */ a /* End of parameter a */ diff --git a/tests/baselines/reference/commentOnParameter3.js b/tests/baselines/reference/commentOnParameter3.js index 75ce1556ff62f..9bcaf521d5bf0 100644 --- a/tests/baselines/reference/commentOnParameter3.js +++ b/tests/baselines/reference/commentOnParameter3.js @@ -8,4 +8,5 @@ b /* parameter b */, ) { } //// [commentOnParameter3.js] +"use strict"; function commentedParameters(a /* parameter a */, b /* parameter b */) { } diff --git a/tests/baselines/reference/commentOnParenthesizedExpressionOpenParen1.js b/tests/baselines/reference/commentOnParenthesizedExpressionOpenParen1.js index f8b7ee90b0f89..7d426f7ae0557 100644 --- a/tests/baselines/reference/commentOnParenthesizedExpressionOpenParen1.js +++ b/tests/baselines/reference/commentOnParenthesizedExpressionOpenParen1.js @@ -7,6 +7,7 @@ var f: () => any; //// [commentOnParenthesizedExpressionOpenParen1.js] +"use strict"; var j; var f; ( /* Preserve */j = f()); diff --git a/tests/baselines/reference/commentOnSignature1.js b/tests/baselines/reference/commentOnSignature1.js index 1c438d1e9aca1..d0733b67936ef 100644 --- a/tests/baselines/reference/commentOnSignature1.js +++ b/tests/baselines/reference/commentOnSignature1.js @@ -38,6 +38,7 @@ function foo2(a: any): void { } //// [a.js] +"use strict"; /*!================= Keep this pinned ================= @@ -52,6 +53,7 @@ var c = /** @class */ (function () { return c; }()); //// [b.js] +"use strict"; /// function foo2(a) { } diff --git a/tests/baselines/reference/commentOnSimpleArrowFunctionBody1.js b/tests/baselines/reference/commentOnSimpleArrowFunctionBody1.js index 805eb7e89348a..58ce8bad18795 100644 --- a/tests/baselines/reference/commentOnSimpleArrowFunctionBody1.js +++ b/tests/baselines/reference/commentOnSimpleArrowFunctionBody1.js @@ -11,6 +11,7 @@ Foo(() => //// [commentOnSimpleArrowFunctionBody1.js] +"use strict"; function Foo(x) { } Foo(function () { diff --git a/tests/baselines/reference/commentOnStaticMember1.js b/tests/baselines/reference/commentOnStaticMember1.js index b3e5efcc52187..5724999120321 100644 --- a/tests/baselines/reference/commentOnStaticMember1.js +++ b/tests/baselines/reference/commentOnStaticMember1.js @@ -8,6 +8,7 @@ class Greeter { } //// [commentOnStaticMember1.js] +"use strict"; var Greeter = /** @class */ (function () { function Greeter() { } diff --git a/tests/baselines/reference/commentsAfterCaseClauses1.js b/tests/baselines/reference/commentsAfterCaseClauses1.js index b971a1f5ce187..1e69f0d40ca77 100644 --- a/tests/baselines/reference/commentsAfterCaseClauses1.js +++ b/tests/baselines/reference/commentsAfterCaseClauses1.js @@ -17,6 +17,7 @@ function getSecurity(level) { } //// [commentsAfterCaseClauses1.js] +"use strict"; function getSecurity(level) { switch (level) { case 0: // Zero diff --git a/tests/baselines/reference/commentsAfterCaseClauses2.js b/tests/baselines/reference/commentsAfterCaseClauses2.js index d3c4ab0a42bcf..aec58bd95d3e8 100644 --- a/tests/baselines/reference/commentsAfterCaseClauses2.js +++ b/tests/baselines/reference/commentsAfterCaseClauses2.js @@ -20,6 +20,7 @@ function getSecurity(level) { } //// [commentsAfterCaseClauses2.js] +"use strict"; function getSecurity(level) { switch (level) { case 0: // Zero diff --git a/tests/baselines/reference/commentsAfterCaseClauses3.js b/tests/baselines/reference/commentsAfterCaseClauses3.js index 5e0d4c5bd57c7..d13787a8b99b5 100644 --- a/tests/baselines/reference/commentsAfterCaseClauses3.js +++ b/tests/baselines/reference/commentsAfterCaseClauses3.js @@ -19,6 +19,7 @@ function getSecurity(level) { } //// [commentsAfterCaseClauses3.js] +"use strict"; function getSecurity(level) { switch (level) { case 0: /*Zero*/ diff --git a/tests/baselines/reference/commentsAfterFunctionExpression1.js b/tests/baselines/reference/commentsAfterFunctionExpression1.js index 1a8f200768997..4637abc8ce2a7 100644 --- a/tests/baselines/reference/commentsAfterFunctionExpression1.js +++ b/tests/baselines/reference/commentsAfterFunctionExpression1.js @@ -9,6 +9,7 @@ var v = { //// [commentsAfterFunctionExpression1.js] +"use strict"; var v = { f: function (a) { return 0; } /*t1*/, g: (function (a) { return 0; }) /*t2*/, diff --git a/tests/baselines/reference/commentsAfterSpread.js b/tests/baselines/reference/commentsAfterSpread.js index d2d9b9277cb2b..be72d255adb39 100644 --- a/tests/baselines/reference/commentsAfterSpread.js +++ b/tests/baselines/reference/commentsAfterSpread.js @@ -81,6 +81,7 @@ function k ({ } //// [commentsAfterSpread.js] +"use strict"; const identity = (a) => a; const a = { ... /*#__PURE__*/identity({ diff --git a/tests/baselines/reference/commentsArgumentsOfCallExpression1.js b/tests/baselines/reference/commentsArgumentsOfCallExpression1.js index a3547802f59fa..92f8906bd9b8f 100644 --- a/tests/baselines/reference/commentsArgumentsOfCallExpression1.js +++ b/tests/baselines/reference/commentsArgumentsOfCallExpression1.js @@ -18,6 +18,7 @@ foo( /*c8*/() => { }); //// [commentsArgumentsOfCallExpression1.js] +"use strict"; function foo(/*c1*/ x) { } foo(/*c2*/ 1); foo(/*c3*/ function () { }); diff --git a/tests/baselines/reference/commentsArgumentsOfCallExpression2.js b/tests/baselines/reference/commentsArgumentsOfCallExpression2.js index 1f560b6036126..296bd8b1c2e4e 100644 --- a/tests/baselines/reference/commentsArgumentsOfCallExpression2.js +++ b/tests/baselines/reference/commentsArgumentsOfCallExpression2.js @@ -13,6 +13,7 @@ foo( /*e5*/ "hello"); //// [commentsArgumentsOfCallExpression2.js] +"use strict"; function foo(/*c1*/ x, /*d1*/ y, /*e1*/ w) { } var a, b; foo(/*c2*/ 1, /*d2*/ 1 + 2, /*e1*/ a + b); diff --git a/tests/baselines/reference/commentsAtEndOfFile1.js b/tests/baselines/reference/commentsAtEndOfFile1.js index 7bbcba2e78e81..8fd473cc23bfc 100644 --- a/tests/baselines/reference/commentsAtEndOfFile1.js +++ b/tests/baselines/reference/commentsAtEndOfFile1.js @@ -7,5 +7,6 @@ Input: //// [commentsAtEndOfFile1.js] +"use strict"; Input: ; //Testing two diff --git a/tests/baselines/reference/commentsBeforeFunctionExpression1.js b/tests/baselines/reference/commentsBeforeFunctionExpression1.js index f465f77b779a7..369c4a01a8638 100644 --- a/tests/baselines/reference/commentsBeforeFunctionExpression1.js +++ b/tests/baselines/reference/commentsBeforeFunctionExpression1.js @@ -7,6 +7,7 @@ var v = { //// [commentsBeforeFunctionExpression1.js] +"use strict"; var v = { f: /**own f*/ function (a) { return 0; } }; diff --git a/tests/baselines/reference/commentsClass.js b/tests/baselines/reference/commentsClass.js index 037d69f3cbd7b..544ab8787e505 100644 --- a/tests/baselines/reference/commentsClass.js +++ b/tests/baselines/reference/commentsClass.js @@ -75,6 +75,7 @@ class c9 { //// [commentsClass.js] +"use strict"; /** This is class c2 without constuctor*/ var c2 = /** @class */ (function () { function c2() { diff --git a/tests/baselines/reference/commentsClassMembers.js b/tests/baselines/reference/commentsClassMembers.js index 3066e8b42d766..4a6d950e33d8f 100644 --- a/tests/baselines/reference/commentsClassMembers.js +++ b/tests/baselines/reference/commentsClassMembers.js @@ -220,6 +220,7 @@ cProperties_i.nc_p2 = cProperties_i.nc_p1; //// [commentsClassMembers.js] +"use strict"; /** This is comment for c1*/ var c1 = /** @class */ (function () { /** Constructor method*/ diff --git a/tests/baselines/reference/commentsCommentParsing.js b/tests/baselines/reference/commentsCommentParsing.js index 27074e85ffafd..7ecc49bffd1e5 100644 --- a/tests/baselines/reference/commentsCommentParsing.js +++ b/tests/baselines/reference/commentsCommentParsing.js @@ -156,6 +156,7 @@ class NoQuickInfoClass { } //// [commentsCommentParsing.js] +"use strict"; /// This is simple /// comments function simple() { } diff --git a/tests/baselines/reference/commentsEnums.js b/tests/baselines/reference/commentsEnums.js index 41e0c655b0230..09e1021817c1e 100644 --- a/tests/baselines/reference/commentsEnums.js +++ b/tests/baselines/reference/commentsEnums.js @@ -14,6 +14,7 @@ x = Colors.FancyPink; //// [commentsEnums.js] +"use strict"; /** Enum of colors*/ var Colors; (function (Colors) { diff --git a/tests/baselines/reference/commentsFormatting.js b/tests/baselines/reference/commentsFormatting.js index 1674dc2ab43c0..88b6887cd0fd7 100644 --- a/tests/baselines/reference/commentsFormatting.js +++ b/tests/baselines/reference/commentsFormatting.js @@ -88,6 +88,7 @@ this is 4 spaces left aligned but above line is empty } //// [commentsFormatting.js] +"use strict"; var m; (function (m) { /** this is first line - aligned to class declaration diff --git a/tests/baselines/reference/commentsFunction.js b/tests/baselines/reference/commentsFunction.js index bc1e901995cd9..8ac00cbca58a6 100644 --- a/tests/baselines/reference/commentsFunction.js +++ b/tests/baselines/reference/commentsFunction.js @@ -57,6 +57,7 @@ function foo2() { //// [commentsFunction.js] +"use strict"; /** This comment should appear for foo*/ function foo() { } /* trailing comment of function */ diff --git a/tests/baselines/reference/commentsInheritance.js b/tests/baselines/reference/commentsInheritance.js index 005acd6f69360..d3db3c2d84d87 100644 --- a/tests/baselines/reference/commentsInheritance.js +++ b/tests/baselines/reference/commentsInheritance.js @@ -153,6 +153,7 @@ i2_i = i3_i; //// [commentsInheritance.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/commentsInterface.js b/tests/baselines/reference/commentsInterface.js index 6ef89589c09ea..48aa5d370eeea 100644 --- a/tests/baselines/reference/commentsInterface.js +++ b/tests/baselines/reference/commentsInterface.js @@ -72,6 +72,7 @@ i3_i.nc_l(10); //// [commentsInterface.js] +"use strict"; var i1_i; var nc_i1_i; var i2_i; diff --git a/tests/baselines/reference/commentsModules.js b/tests/baselines/reference/commentsModules.js index 760d86d6c8c27..cdac6cc3f0cdf 100644 --- a/tests/baselines/reference/commentsModules.js +++ b/tests/baselines/reference/commentsModules.js @@ -100,6 +100,7 @@ namespace m7.m8 { new m7.m8.m9.c(); //// [commentsModules.js] +"use strict"; /** Module comment*/ var m1; (function (m1) { diff --git a/tests/baselines/reference/commentsMultiModuleSingleFile.js b/tests/baselines/reference/commentsMultiModuleSingleFile.js index 1466e96154cd4..8ed520d9e58e7 100644 --- a/tests/baselines/reference/commentsMultiModuleSingleFile.js +++ b/tests/baselines/reference/commentsMultiModuleSingleFile.js @@ -26,6 +26,7 @@ new multiM.b(); new multiM.c(); //// [commentsMultiModuleSingleFile.js] +"use strict"; /** this is multi declare module*/ var multiM; (function (multiM) { diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=commonjs,moduledetection=auto).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=commonjs,moduledetection=auto).js index 2341e04601c91..ed7edbcfa1f33 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=commonjs,moduledetection=auto).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=commonjs,moduledetection=auto).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.jsx] +"use strict"; var Component = /** @class */ (function () { function Component() { } diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=commonjs,moduledetection=legacy).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=commonjs,moduledetection=legacy).js index 2341e04601c91..ed7edbcfa1f33 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=commonjs,moduledetection=legacy).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=commonjs,moduledetection=legacy).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.jsx] +"use strict"; var Component = /** @class */ (function () { function Component() { } diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=system,moduledetection=auto).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=system,moduledetection=auto).js index 2341e04601c91..ed7edbcfa1f33 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=system,moduledetection=auto).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=system,moduledetection=auto).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.jsx] +"use strict"; var Component = /** @class */ (function () { function Component() { } diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=system,moduledetection=legacy).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=system,moduledetection=legacy).js index 2341e04601c91..ed7edbcfa1f33 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=system,moduledetection=legacy).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=preserve,module=system,moduledetection=legacy).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.jsx] +"use strict"; var Component = /** @class */ (function () { function Component() { } diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=commonjs,moduledetection=auto).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=commonjs,moduledetection=auto).js index ffb786ec79d24..5eb6e85816490 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=commonjs,moduledetection=auto).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=commonjs,moduledetection=auto).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.js] +"use strict"; var Component = /** @class */ (function () { function Component() { } diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=commonjs,moduledetection=legacy).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=commonjs,moduledetection=legacy).js index ffb786ec79d24..5eb6e85816490 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=commonjs,moduledetection=legacy).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=commonjs,moduledetection=legacy).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.js] +"use strict"; var Component = /** @class */ (function () { function Component() { } diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=system,moduledetection=auto).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=system,moduledetection=auto).js index ffb786ec79d24..5eb6e85816490 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=system,moduledetection=auto).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=system,moduledetection=auto).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.js] +"use strict"; var Component = /** @class */ (function () { function Component() { } diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=system,moduledetection=legacy).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=system,moduledetection=legacy).js index ffb786ec79d24..5eb6e85816490 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=system,moduledetection=legacy).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react,module=system,moduledetection=legacy).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.js] +"use strict"; var Component = /** @class */ (function () { function Component() { } diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsx,module=commonjs,moduledetection=legacy).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsx,module=commonjs,moduledetection=legacy).js index fffebfb35f06a..447df3022ef4e 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsx,module=commonjs,moduledetection=legacy).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsx,module=commonjs,moduledetection=legacy).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.js] +"use strict"; var Component = /** @class */ (function () { function Component() { } diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsx,module=system,moduledetection=legacy).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsx,module=system,moduledetection=legacy).js index 085c007984ec2..105fa194edf9e 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsx,module=system,moduledetection=legacy).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsx,module=system,moduledetection=legacy).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.js] +"use strict"; var Component = /** @class */ (function () { function Component() { } diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsxdev,module=commonjs,moduledetection=legacy).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsxdev,module=commonjs,moduledetection=legacy).js index 153988086c296..b90c7d6ce05b4 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsxdev,module=commonjs,moduledetection=legacy).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsxdev,module=commonjs,moduledetection=legacy).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.js] +"use strict"; var _jsxFileName = "commentsOnJSXExpressionsArePreserved.tsx"; var Component = /** @class */ (function () { function Component() { diff --git a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsxdev,module=system,moduledetection=legacy).js b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsxdev,module=system,moduledetection=legacy).js index e20d1a6ebb548..a49781c35d59d 100644 --- a/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsxdev,module=system,moduledetection=legacy).js +++ b/tests/baselines/reference/commentsOnJSXExpressionsArePreserved(jsx=react-jsxdev,module=system,moduledetection=legacy).js @@ -23,6 +23,7 @@ class Component { } //// [commentsOnJSXExpressionsArePreserved.js] +"use strict"; var _jsxFileName = "commentsOnJSXExpressionsArePreserved.tsx"; var Component = /** @class */ (function () { function Component() { diff --git a/tests/baselines/reference/commentsOnObjectLiteral1.js b/tests/baselines/reference/commentsOnObjectLiteral1.js index f807f3e1e023c..8b2603b490b77 100644 --- a/tests/baselines/reference/commentsOnObjectLiteral1.js +++ b/tests/baselines/reference/commentsOnObjectLiteral1.js @@ -10,6 +10,7 @@ var Person = makeClass( ); //// [commentsOnObjectLiteral1.js] +"use strict"; var Person = makeClass( /** @scope Person diff --git a/tests/baselines/reference/commentsOnObjectLiteral2.js b/tests/baselines/reference/commentsOnObjectLiteral2.js index 35a732210698a..2ac04dcf47b6f 100644 --- a/tests/baselines/reference/commentsOnObjectLiteral2.js +++ b/tests/baselines/reference/commentsOnObjectLiteral2.js @@ -15,6 +15,7 @@ var Person = makeClass( ); //// [commentsOnObjectLiteral2.js] +"use strict"; var Person = makeClass({ /** This is just another way to define a constructor. diff --git a/tests/baselines/reference/commentsOnObjectLiteral3.js b/tests/baselines/reference/commentsOnObjectLiteral3.js index 83cf9eebcb9a7..1b40f51905259 100644 --- a/tests/baselines/reference/commentsOnObjectLiteral3.js +++ b/tests/baselines/reference/commentsOnObjectLiteral3.js @@ -21,6 +21,7 @@ var v = { //// [commentsOnObjectLiteral3.js] +"use strict"; var v = { //property prop: 1 /* multiple trailing comments */ /*trailing comments*/, diff --git a/tests/baselines/reference/commentsOnObjectLiteral4.js b/tests/baselines/reference/commentsOnObjectLiteral4.js index cc0bfe8591785..b7650f7f2ceb4 100644 --- a/tests/baselines/reference/commentsOnObjectLiteral4.js +++ b/tests/baselines/reference/commentsOnObjectLiteral4.js @@ -12,6 +12,7 @@ var v = { //// [commentsOnObjectLiteral4.js] +"use strict"; var v = { /** * @type {number} diff --git a/tests/baselines/reference/commentsOnObjectLiteral5.js b/tests/baselines/reference/commentsOnObjectLiteral5.js index 0bb52c712a212..137fc540f7832 100644 --- a/tests/baselines/reference/commentsOnObjectLiteral5.js +++ b/tests/baselines/reference/commentsOnObjectLiteral5.js @@ -10,6 +10,7 @@ const a = { //// [commentsOnObjectLiteral5.js] +"use strict"; var a = { p0: 0, // Comment 0 p1: 0, /* Comment 1 diff --git a/tests/baselines/reference/commentsOnPropertyOfObjectLiteral1.js b/tests/baselines/reference/commentsOnPropertyOfObjectLiteral1.js index 6cb70fa07f90b..ea4cc824468c3 100644 --- a/tests/baselines/reference/commentsOnPropertyOfObjectLiteral1.js +++ b/tests/baselines/reference/commentsOnPropertyOfObjectLiteral1.js @@ -16,6 +16,7 @@ var resolve = { }; //// [commentsOnPropertyOfObjectLiteral1.js] +"use strict"; var resolve = { id: /*! @ngInject */ function (details) { return details.id; }, id1: /* c1 */ "hello", diff --git a/tests/baselines/reference/commentsOnReturnStatement1.js b/tests/baselines/reference/commentsOnReturnStatement1.js index bb3361020f4aa..a358e0966ba6e 100644 --- a/tests/baselines/reference/commentsOnReturnStatement1.js +++ b/tests/baselines/reference/commentsOnReturnStatement1.js @@ -12,6 +12,7 @@ class DebugClass { } //// [commentsOnReturnStatement1.js] +"use strict"; var DebugClass = /** @class */ (function () { function DebugClass() { } diff --git a/tests/baselines/reference/commentsOnStaticMembers.js b/tests/baselines/reference/commentsOnStaticMembers.js index 1853561ae30af..2e0adf34797ac 100644 --- a/tests/baselines/reference/commentsOnStaticMembers.js +++ b/tests/baselines/reference/commentsOnStaticMembers.js @@ -22,6 +22,7 @@ class test { } //// [commentsOnStaticMembers.js] +"use strict"; var test = /** @class */ (function () { function test() { } diff --git a/tests/baselines/reference/commentsOverloads.js b/tests/baselines/reference/commentsOverloads.js index 334c809bba9c4..fecff552d39e3 100644 --- a/tests/baselines/reference/commentsOverloads.js +++ b/tests/baselines/reference/commentsOverloads.js @@ -177,6 +177,7 @@ var c5_i_2 = new c5("hello"); //// [commentsOverloads.js] +"use strict"; function f1(aOrb) { return 10; } diff --git a/tests/baselines/reference/commentsPropertySignature1.js b/tests/baselines/reference/commentsPropertySignature1.js index 9a0126db2de44..91bd2168f78b4 100644 --- a/tests/baselines/reference/commentsPropertySignature1.js +++ b/tests/baselines/reference/commentsPropertySignature1.js @@ -8,6 +8,7 @@ var a = { //// [commentsPropertySignature1.js] +"use strict"; var a = { /** own x*/ x: 0 diff --git a/tests/baselines/reference/commentsTypeParameters.js b/tests/baselines/reference/commentsTypeParameters.js index 2ee98271949bd..210b2ec100ea2 100644 --- a/tests/baselines/reference/commentsTypeParameters.js +++ b/tests/baselines/reference/commentsTypeParameters.js @@ -18,6 +18,7 @@ function compare(a: T, b: T) { } //// [commentsTypeParameters.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/commentsVarDecl.js b/tests/baselines/reference/commentsVarDecl.js index 7c4df2bd0a7ad..36a2305c0a1ba 100644 --- a/tests/baselines/reference/commentsVarDecl.js +++ b/tests/baselines/reference/commentsVarDecl.js @@ -45,6 +45,7 @@ var n4: (x: number) => string; n4 = z2; //// [commentsVarDecl.js] +"use strict"; /** Variable comments*/ var myVariable = 10; // This trailing Comment1 /** This is another variable comment*/ diff --git a/tests/baselines/reference/commentsVariableStatement1.js b/tests/baselines/reference/commentsVariableStatement1.js index 1d3d18d59b10a..be300e6c1f8a4 100644 --- a/tests/baselines/reference/commentsVariableStatement1.js +++ b/tests/baselines/reference/commentsVariableStatement1.js @@ -5,6 +5,7 @@ var v = 1; //// [commentsVariableStatement1.js] +"use strict"; /** Comment */ var v = 1; diff --git a/tests/baselines/reference/commentsdoNotEmitComments.js b/tests/baselines/reference/commentsdoNotEmitComments.js index 8eb367586d069..503a4071cb6c9 100644 --- a/tests/baselines/reference/commentsdoNotEmitComments.js +++ b/tests/baselines/reference/commentsdoNotEmitComments.js @@ -95,6 +95,7 @@ var shade: color = color.green; //// [commentsdoNotEmitComments.js] +"use strict"; var myVariable = 10; function foo(p) { } diff --git a/tests/baselines/reference/commentsemitComments.js b/tests/baselines/reference/commentsemitComments.js index 678d8ff9dafb8..dd0fa2b04f63e 100644 --- a/tests/baselines/reference/commentsemitComments.js +++ b/tests/baselines/reference/commentsemitComments.js @@ -90,6 +90,7 @@ declare var x; //// [commentsemitComments.js] +"use strict"; /** Variable comments*/ var myVariable = 10; /** function comments*/ diff --git a/tests/baselines/reference/commonJSAliasedExport.js b/tests/baselines/reference/commonJSAliasedExport.js index 1a313cf178a38..fa79c7d21590d 100644 --- a/tests/baselines/reference/commonJSAliasedExport.js +++ b/tests/baselines/reference/commonJSAliasedExport.js @@ -18,6 +18,7 @@ var diddy = funky(1) //// [commonJSAliasedExport.js] +"use strict"; var donkey = function (ast) { return ast; }; function funky(declaration) { return false; @@ -25,6 +26,7 @@ function funky(declaration) { module.exports = donkey; module.exports.funky = funky; //// [bug43713.js] +"use strict"; var funky = require('./commonJSAliasedExport').funky; /** @type {boolean} */ var diddy; diff --git a/tests/baselines/reference/commonJsExportTypeDeclarationError.js b/tests/baselines/reference/commonJsExportTypeDeclarationError.js index 6120833035872..8c909402ddccc 100644 --- a/tests/baselines/reference/commonJsExportTypeDeclarationError.js +++ b/tests/baselines/reference/commonJsExportTypeDeclarationError.js @@ -19,6 +19,7 @@ export type test = test; //// [test.js] +"use strict"; module.exports = { message: "" }; diff --git a/tests/baselines/reference/commonJsIsolatedModules.js b/tests/baselines/reference/commonJsIsolatedModules.js index 78c32617947f1..0062ce5774c08 100644 --- a/tests/baselines/reference/commonJsIsolatedModules.js +++ b/tests/baselines/reference/commonJsIsolatedModules.js @@ -6,5 +6,6 @@ var x = 1 //// [index.js] +"use strict"; module.exports = {}; var x = 1; diff --git a/tests/baselines/reference/commonSourceDir1.js b/tests/baselines/reference/commonSourceDir1.js index 68833aed49db0..609fb8720c5ae 100644 --- a/tests/baselines/reference/commonSourceDir1.js +++ b/tests/baselines/reference/commonSourceDir1.js @@ -8,6 +8,8 @@ var y: number; //// [bar.js] +"use strict"; var x; //// [baz.js] +"use strict"; var y; diff --git a/tests/baselines/reference/commonSourceDir2.js b/tests/baselines/reference/commonSourceDir2.js index cf263b51fb60b..52c5b20881030 100644 --- a/tests/baselines/reference/commonSourceDir2.js +++ b/tests/baselines/reference/commonSourceDir2.js @@ -7,6 +7,8 @@ var x: number; var y: number; //// [bar.js] +"use strict"; var x; //// [baz.js] +"use strict"; var y; diff --git a/tests/baselines/reference/commonSourceDir3.js b/tests/baselines/reference/commonSourceDir3.js index 0535d51f4bf08..50930b1364981 100644 --- a/tests/baselines/reference/commonSourceDir3.js +++ b/tests/baselines/reference/commonSourceDir3.js @@ -7,6 +7,8 @@ var x: number; var y: number; //// [bar.js] +"use strict"; var x; //// [baz.js] +"use strict"; var y; diff --git a/tests/baselines/reference/commonSourceDir4.js b/tests/baselines/reference/commonSourceDir4.js index 2f2af9f68b2d9..502611a79aaea 100644 --- a/tests/baselines/reference/commonSourceDir4.js +++ b/tests/baselines/reference/commonSourceDir4.js @@ -7,6 +7,8 @@ var x: number; var y: number; //// [bar.js] +"use strict"; var x; //// [baz.js] +"use strict"; var y; diff --git a/tests/baselines/reference/commonTypeIntersection.js b/tests/baselines/reference/commonTypeIntersection.js index c3ea7ac5a8597..a8876715b442a 100644 --- a/tests/baselines/reference/commonTypeIntersection.js +++ b/tests/baselines/reference/commonTypeIntersection.js @@ -8,5 +8,6 @@ let y2: { __typename?: 'TypeOne' } & string = x2; // should error here //// [commonTypeIntersection.js] +"use strict"; var y1 = x1; // should error here var y2 = x2; // should error here diff --git a/tests/baselines/reference/comparabilityTypeParametersRelatedByUnion.js b/tests/baselines/reference/comparabilityTypeParametersRelatedByUnion.js index ef0d1069413d2..0b111627ef041 100644 --- a/tests/baselines/reference/comparabilityTypeParametersRelatedByUnion.js +++ b/tests/baselines/reference/comparabilityTypeParametersRelatedByUnion.js @@ -15,6 +15,7 @@ class C { //// [comparabilityTypeParametersRelatedByUnion.js] +"use strict"; var C = /** @class */ (function () { function C(x) { this.x = x; diff --git a/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.js b/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.js index 3ed38c0ccd85c..ce9ad79d5e2e0 100644 --- a/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.js +++ b/tests/baselines/reference/compareTypeParameterConstrainedByLiteralToLiteral.js @@ -10,6 +10,7 @@ function foo(t: T) { //// [compareTypeParameterConstrainedByLiteralToLiteral.js] +"use strict"; // Test for #26758 function foo(t) { t === "a"; // Should be allowed diff --git a/tests/baselines/reference/comparisonOperatorWithIdenticalObjects.js b/tests/baselines/reference/comparisonOperatorWithIdenticalObjects.js index 807041e4343dc..2f1cae2b1ff72 100644 --- a/tests/baselines/reference/comparisonOperatorWithIdenticalObjects.js +++ b/tests/baselines/reference/comparisonOperatorWithIdenticalObjects.js @@ -197,6 +197,7 @@ var r8b6 = b5 !== a5; var r8b7 = b6 !== a6; //// [comparisonOperatorWithIdenticalObjects.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithIdenticalPrimitiveType.js b/tests/baselines/reference/comparisonOperatorWithIdenticalPrimitiveType.js index 52bf9ad1d3246..32d6ed39347be 100644 --- a/tests/baselines/reference/comparisonOperatorWithIdenticalPrimitiveType.js +++ b/tests/baselines/reference/comparisonOperatorWithIdenticalPrimitiveType.js @@ -82,6 +82,7 @@ var rh6 = null !== null; var rh7 = undefined !== undefined; //// [comparisonOperatorWithIdenticalPrimitiveType.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/comparisonOperatorWithIdenticalTypeParameter.js b/tests/baselines/reference/comparisonOperatorWithIdenticalTypeParameter.js index 0d9fc9b4a2363..a045110e54bde 100644 --- a/tests/baselines/reference/comparisonOperatorWithIdenticalTypeParameter.js +++ b/tests/baselines/reference/comparisonOperatorWithIdenticalTypeParameter.js @@ -13,6 +13,7 @@ function foo(t: T) { } //// [comparisonOperatorWithIdenticalTypeParameter.js] +"use strict"; function foo(t) { var r1 = t < t; var r2 = t > t; diff --git a/tests/baselines/reference/comparisonOperatorWithIntersectionType.js b/tests/baselines/reference/comparisonOperatorWithIntersectionType.js index 31b8bfff83f6b..af92c5ba1f248 100644 --- a/tests/baselines/reference/comparisonOperatorWithIntersectionType.js +++ b/tests/baselines/reference/comparisonOperatorWithIntersectionType.js @@ -9,5 +9,6 @@ b > 1; //// [comparisonOperatorWithIntersectionType.js] +"use strict"; a > 1; b > 1; diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.js index d762a210b3e38..07b59c126a8b7 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.js +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnCallSignature.js @@ -171,6 +171,7 @@ var r8b6 = b6 !== a6; var r8b7 = b7 !== a7; //// [comparisonOperatorWithNoRelationshipObjectsOnCallSignature.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.js index 3fab5be8010d6..4882552dc460c 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.js +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.js @@ -171,6 +171,7 @@ var r8b6 = b6 !== a6; var r8b7 = b7 !== a7; //// [comparisonOperatorWithNoRelationshipObjectsOnConstructorSignature.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnIndexSignature.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnIndexSignature.js index 6ca70c1dd443b..107d2e24de753 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnIndexSignature.js +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnIndexSignature.js @@ -114,6 +114,7 @@ var r8b3 = b3 !== a3; var r8b4 = b4 !== a4; //// [comparisonOperatorWithNoRelationshipObjectsOnIndexSignature.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.js index 3a79857746475..73a77c4347258 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.js +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.js @@ -152,6 +152,7 @@ var r8b5 = b5 !== a5; var r8b6 = b6 !== a6; //// [comparisonOperatorWithNoRelationshipObjectsOnInstantiatedCallSignature.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.js index 8859016045c1f..ef228ba688faa 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.js +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.js @@ -152,6 +152,7 @@ var r8b5 = b5 !== a5; var r8b6 = b6 !== a6; //// [comparisonOperatorWithNoRelationshipObjectsOnInstantiatedConstructorSignature.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnOptionalProperty.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnOptionalProperty.js index da3905dd60007..0b9324d21e18b 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnOptionalProperty.js +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnOptionalProperty.js @@ -45,6 +45,7 @@ var rh1 = a !== b; var rh2 = b !== a; //// [comparisonOperatorWithNoRelationshipObjectsOnOptionalProperty.js] +"use strict"; // operator < var ra1 = a < b; var ra2 = b < a; diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnProperty.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnProperty.js index 663c06d6a6ec3..bbe2cee60b17e 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnProperty.js +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipObjectsOnProperty.js @@ -79,6 +79,7 @@ var r8b1 = b1 !== a1; var r8b2 = b2 !== a2; //// [comparisonOperatorWithNoRelationshipObjectsOnProperty.js] +"use strict"; var A1 = /** @class */ (function () { function A1() { } diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipPrimitiveType.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipPrimitiveType.js index 75660f874eb49..918d76ab86d72 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipPrimitiveType.js +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipPrimitiveType.js @@ -218,6 +218,7 @@ var r8e1 = e !== c; var r8e1 = e !== d; //// [comparisonOperatorWithNoRelationshipPrimitiveType.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.js b/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.js index eac939e01a22c..d132c91f5f46f 100644 --- a/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.js +++ b/tests/baselines/reference/comparisonOperatorWithNoRelationshipTypeParameter.js @@ -159,6 +159,7 @@ function foo(t: T, u: U) { } //// [comparisonOperatorWithNoRelationshipTypeParameter.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/comparisonOperatorWithNumericLiteral.js b/tests/baselines/reference/comparisonOperatorWithNumericLiteral.js index b47a4b5f4515e..b72798c85c047 100644 --- a/tests/baselines/reference/comparisonOperatorWithNumericLiteral.js +++ b/tests/baselines/reference/comparisonOperatorWithNumericLiteral.js @@ -46,6 +46,7 @@ x !== 0; //// [comparisonOperatorWithNumericLiteral.js] +"use strict"; var x; // operator > x > 0; diff --git a/tests/baselines/reference/comparisonOperatorWithOneOperandIsAny.js b/tests/baselines/reference/comparisonOperatorWithOneOperandIsAny.js index e5068b480ae08..ae6ca5c6e2397 100644 --- a/tests/baselines/reference/comparisonOperatorWithOneOperandIsAny.js +++ b/tests/baselines/reference/comparisonOperatorWithOneOperandIsAny.js @@ -170,6 +170,7 @@ var r8b6 = f !== x; var r8b7 = g !== x; //// [comparisonOperatorWithOneOperandIsAny.js] +"use strict"; var x; var E; (function (E) { diff --git a/tests/baselines/reference/comparisonOperatorWithOneOperandIsNull.js b/tests/baselines/reference/comparisonOperatorWithOneOperandIsNull.js index 7ca172c4cd1eb..13cd3a155aeae 100644 --- a/tests/baselines/reference/comparisonOperatorWithOneOperandIsNull.js +++ b/tests/baselines/reference/comparisonOperatorWithOneOperandIsNull.js @@ -168,6 +168,7 @@ var r8b6 = f !== null; var r8b7 = g !== null; //// [comparisonOperatorWithOneOperandIsNull.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/comparisonOperatorWithOneOperandIsUndefined.js b/tests/baselines/reference/comparisonOperatorWithOneOperandIsUndefined.js index 0eafe793f9573..89c094ed32290 100644 --- a/tests/baselines/reference/comparisonOperatorWithOneOperandIsUndefined.js +++ b/tests/baselines/reference/comparisonOperatorWithOneOperandIsUndefined.js @@ -170,6 +170,7 @@ var r8b6 = f !== x; var r8b7 = g !== x; //// [comparisonOperatorWithOneOperandIsUndefined.js] +"use strict"; var x; var E; (function (E) { diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeEnumAndNumber.js b/tests/baselines/reference/comparisonOperatorWithSubtypeEnumAndNumber.js index cf76811a8d04f..191583550f19d 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeEnumAndNumber.js +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeEnumAndNumber.js @@ -71,6 +71,7 @@ var rh5 = E.a !== 0; var rh6 = 0 !== E.a; //// [comparisonOperatorWithSubtypeEnumAndNumber.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.js index aebe5467c1c42..c69385f5aca2e 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.js +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnCallSignature.js @@ -262,6 +262,7 @@ var r8b11 = b11 !== a11; //var r8b12 = b12 !== a12; //// [comparisonOperatorWithSubtypeObjectOnCallSignature.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.js index 9bfc732583b07..5dce59055fac3 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.js +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnConstructorSignature.js @@ -224,6 +224,7 @@ var r8b9 = b9 !== a9; //var r8b10 = b10 !== a10; //// [comparisonOperatorWithSubtypeObjectOnConstructorSignature.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnIndexSignature.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnIndexSignature.js index d0d9d5a597a6a..6cca3d4cd82fe 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnIndexSignature.js +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnIndexSignature.js @@ -110,6 +110,7 @@ var r8b1 = b3 !== a3; var r8b1 = b4 !== a4; //// [comparisonOperatorWithSubtypeObjectOnIndexSignature.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.js index 24c995e634318..cac5c1e64399f 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.js +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.js @@ -167,6 +167,7 @@ var r8b6 = b6 !== a6; //var r8b7 = b7 !== a7; //// [comparisonOperatorWithSubtypeObjectOnInstantiatedCallSignature.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.js index f07a0ecba8469..e049ed9b09db2 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.js +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.js @@ -167,6 +167,7 @@ var r8b6 = b6 !== a6; //var r8b7 = b7 !== a7; //// [comparisonOperatorWithSubtypeObjectOnInstantiatedConstructorSignature.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnOptionalProperty.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnOptionalProperty.js index 6ce9ef250ee14..81aebebb34939 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnOptionalProperty.js +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnOptionalProperty.js @@ -46,6 +46,7 @@ var rh1 = a !== b; var rh2 = b !== a; //// [comparisonOperatorWithSubtypeObjectOnOptionalProperty.js] +"use strict"; var a; var b; // operator < diff --git a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnProperty.js b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnProperty.js index c87b4423a120d..8fa276adce1f6 100644 --- a/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnProperty.js +++ b/tests/baselines/reference/comparisonOperatorWithSubtypeObjectOnProperty.js @@ -81,6 +81,7 @@ var rh3 = b1 !== a1; var rh4 = b2 !== a2; //// [comparisonOperatorWithSubtypeObjectOnProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/comparisonOperatorWithTwoOperandsAreAny.js b/tests/baselines/reference/comparisonOperatorWithTwoOperandsAreAny.js index 644e2758f3eb7..a8d83eb112a1b 100644 --- a/tests/baselines/reference/comparisonOperatorWithTwoOperandsAreAny.js +++ b/tests/baselines/reference/comparisonOperatorWithTwoOperandsAreAny.js @@ -13,6 +13,7 @@ var r7 = a === a; var r8 = a !== a; //// [comparisonOperatorWithTwoOperandsAreAny.js] +"use strict"; var a; var r1 = a < a; var r2 = a > a; diff --git a/tests/baselines/reference/comparisonOperatorWithTypeParameter.js b/tests/baselines/reference/comparisonOperatorWithTypeParameter.js index 9bcb5e307ea3e..07d51e603ea82 100644 --- a/tests/baselines/reference/comparisonOperatorWithTypeParameter.js +++ b/tests/baselines/reference/comparisonOperatorWithTypeParameter.js @@ -81,6 +81,7 @@ function foo(t: T, u: U, v: V) { } //// [comparisonOperatorWithTypeParameter.js] +"use strict"; var a; var b; function foo(t, u, v) { diff --git a/tests/baselines/reference/compileOnSaveWorksWhenEmitBlockingErrorOnOtherFile.baseline b/tests/baselines/reference/compileOnSaveWorksWhenEmitBlockingErrorOnOtherFile.baseline index 596a2e7819e0e..7993019ac4d2c 100644 --- a/tests/baselines/reference/compileOnSaveWorksWhenEmitBlockingErrorOnOtherFile.baseline +++ b/tests/baselines/reference/compileOnSaveWorksWhenEmitBlockingErrorOnOtherFile.baseline @@ -7,5 +7,6 @@ Diagnostics: EmitSkipped: false FileName : /tests/cases/fourslash/a.js +"use strict"; function foo2() { return 30; } // no error - should emit a.js diff --git a/tests/baselines/reference/complexClassRelationships.js b/tests/baselines/reference/complexClassRelationships.js index 0ddb1b1403652..7d1f5c568d79d 100644 --- a/tests/baselines/reference/complexClassRelationships.js +++ b/tests/baselines/reference/complexClassRelationships.js @@ -50,6 +50,7 @@ class FooBase { } //// [complexClassRelationships.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/complexRecursiveCollections.js b/tests/baselines/reference/complexRecursiveCollections.js index 267212e6b99bb..46fd3a635cd65 100644 --- a/tests/baselines/reference/complexRecursiveCollections.js +++ b/tests/baselines/reference/complexRecursiveCollections.js @@ -535,4 +535,6 @@ declare module "immutable" { //// [complex.js] +"use strict"; //// [immutable.js] +"use strict"; diff --git a/tests/baselines/reference/complicatedGenericRecursiveBaseClassReference.js b/tests/baselines/reference/complicatedGenericRecursiveBaseClassReference.js index 38acb7edc8893..642be3655a25c 100644 --- a/tests/baselines/reference/complicatedGenericRecursiveBaseClassReference.js +++ b/tests/baselines/reference/complicatedGenericRecursiveBaseClassReference.js @@ -8,6 +8,7 @@ class S18 extends S18 //// [complicatedGenericRecursiveBaseClassReference.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/complicatedPrivacy.js b/tests/baselines/reference/complicatedPrivacy.js index 0b8d56d8611c1..7bd5ed9a08354 100644 --- a/tests/baselines/reference/complicatedPrivacy.js +++ b/tests/baselines/reference/complicatedPrivacy.js @@ -107,6 +107,7 @@ namespace mglo5 { //// [complicatedPrivacy.js] +"use strict"; var m1; (function (m1) { var m2; diff --git a/tests/baselines/reference/compositeGenericFunction.js b/tests/baselines/reference/compositeGenericFunction.js index fc60f37904ce5..e3e5839814c32 100644 --- a/tests/baselines/reference/compositeGenericFunction.js +++ b/tests/baselines/reference/compositeGenericFunction.js @@ -9,6 +9,7 @@ var z: number = h(f); var z: number = h(f); //// [compositeGenericFunction.js] +"use strict"; function f(value) { return value; } ; function h(func) { return null; } diff --git a/tests/baselines/reference/compoundAdditionAssignmentLHSCanBeAssigned.js b/tests/baselines/reference/compoundAdditionAssignmentLHSCanBeAssigned.js index 6e1cdb2348145..754cd1eafd5fa 100644 --- a/tests/baselines/reference/compoundAdditionAssignmentLHSCanBeAssigned.js +++ b/tests/baselines/reference/compoundAdditionAssignmentLHSCanBeAssigned.js @@ -53,6 +53,7 @@ declare var x7: void; x7 += a; //// [compoundAdditionAssignmentLHSCanBeAssigned.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/compoundAdditionAssignmentLHSCannotBeAssigned.js b/tests/baselines/reference/compoundAdditionAssignmentLHSCannotBeAssigned.js index 4cb2a4fd99579..6a5066273a8fc 100644 --- a/tests/baselines/reference/compoundAdditionAssignmentLHSCannotBeAssigned.js +++ b/tests/baselines/reference/compoundAdditionAssignmentLHSCannotBeAssigned.js @@ -20,6 +20,7 @@ declare var x5: void; x5 += ''; //// [compoundAdditionAssignmentLHSCannotBeAssigned.js] +"use strict"; // string can add every type, and result string cannot be assigned to below types var E; (function (E) { diff --git a/tests/baselines/reference/compoundAdditionAssignmentWithInvalidOperands.js b/tests/baselines/reference/compoundAdditionAssignmentWithInvalidOperands.js index 4227fc1bd64f3..ef5c068a6b4f0 100644 --- a/tests/baselines/reference/compoundAdditionAssignmentWithInvalidOperands.js +++ b/tests/baselines/reference/compoundAdditionAssignmentWithInvalidOperands.js @@ -43,6 +43,7 @@ x5 += true; x5 += {}; //// [compoundAdditionAssignmentWithInvalidOperands.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/compoundArithmeticAssignmentLHSCanBeAssigned.js b/tests/baselines/reference/compoundArithmeticAssignmentLHSCanBeAssigned.js index 0d234db3d1166..4f0be32b48aef 100644 --- a/tests/baselines/reference/compoundArithmeticAssignmentLHSCanBeAssigned.js +++ b/tests/baselines/reference/compoundArithmeticAssignmentLHSCanBeAssigned.js @@ -29,6 +29,7 @@ x3 *= null; x3 *= undefined; //// [compoundArithmeticAssignmentLHSCanBeAssigned.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/compoundArithmeticAssignmentWithInvalidOperands.js b/tests/baselines/reference/compoundArithmeticAssignmentWithInvalidOperands.js index f63a4ecd520f4..0492b888059f3 100644 --- a/tests/baselines/reference/compoundArithmeticAssignmentWithInvalidOperands.js +++ b/tests/baselines/reference/compoundArithmeticAssignmentWithInvalidOperands.js @@ -63,6 +63,7 @@ x6 *= '' x6 *= {}; //// [compoundArithmeticAssignmentWithInvalidOperands.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/compoundAssignmentLHSIsReference.js b/tests/baselines/reference/compoundAssignmentLHSIsReference.js index b828b631724f0..70937b90fcf0e 100644 --- a/tests/baselines/reference/compoundAssignmentLHSIsReference.js +++ b/tests/baselines/reference/compoundAssignmentLHSIsReference.js @@ -37,6 +37,7 @@ function fn2(x4: number) { (x3['a']) += value; //// [compoundAssignmentLHSIsReference.js] +"use strict"; var value; // identifiers: variable and parameter var x1; diff --git a/tests/baselines/reference/compoundAssignmentLHSIsValue.js b/tests/baselines/reference/compoundAssignmentLHSIsValue.js index a803b44f0430e..1519f1b9ec315 100644 --- a/tests/baselines/reference/compoundAssignmentLHSIsValue.js +++ b/tests/baselines/reference/compoundAssignmentLHSIsValue.js @@ -125,6 +125,7 @@ foo() += value; (foo()) += value; //// [compoundAssignmentLHSIsValue.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/compoundExponentiationAssignmentLHSCanBeAssigned1.js b/tests/baselines/reference/compoundExponentiationAssignmentLHSCanBeAssigned1.js index aacdc430b452d..f8ad0e746bfeb 100644 --- a/tests/baselines/reference/compoundExponentiationAssignmentLHSCanBeAssigned1.js +++ b/tests/baselines/reference/compoundExponentiationAssignmentLHSCanBeAssigned1.js @@ -29,6 +29,7 @@ x3 **= null; x3 **= undefined; //// [compoundExponentiationAssignmentLHSCanBeAssigned1.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/compoundExponentiationAssignmentLHSCannotBeAssigned.js b/tests/baselines/reference/compoundExponentiationAssignmentLHSCannotBeAssigned.js index ffbe6ed056dc3..a69c6a38f023f 100644 --- a/tests/baselines/reference/compoundExponentiationAssignmentLHSCannotBeAssigned.js +++ b/tests/baselines/reference/compoundExponentiationAssignmentLHSCannotBeAssigned.js @@ -63,6 +63,7 @@ x6 **= '' x6 **= {}; //// [compoundExponentiationAssignmentLHSCannotBeAssigned.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/compoundExponentiationAssignmentLHSIsReference.js b/tests/baselines/reference/compoundExponentiationAssignmentLHSIsReference.js index fa934526c5424..3410267ab5a2f 100644 --- a/tests/baselines/reference/compoundExponentiationAssignmentLHSIsReference.js +++ b/tests/baselines/reference/compoundExponentiationAssignmentLHSIsReference.js @@ -29,6 +29,7 @@ function fn2(x4: number) { (x3['a']) **= value; //// [compoundExponentiationAssignmentLHSIsReference.js] +"use strict"; var _a, _b, _c; var value; // identifiers: variable and parameter diff --git a/tests/baselines/reference/compoundExponentiationAssignmentLHSIsValue.js b/tests/baselines/reference/compoundExponentiationAssignmentLHSIsValue.js index 525cead33faef..5244a6fb68164 100644 --- a/tests/baselines/reference/compoundExponentiationAssignmentLHSIsValue.js +++ b/tests/baselines/reference/compoundExponentiationAssignmentLHSIsValue.js @@ -88,6 +88,7 @@ foo() **= value; (foo()) **= value; //// [compoundExponentiationAssignmentLHSIsValue.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/compoundVarDecl1.js b/tests/baselines/reference/compoundVarDecl1.js index 1b9992d5f5355..3b899b4738879 100644 --- a/tests/baselines/reference/compoundVarDecl1.js +++ b/tests/baselines/reference/compoundVarDecl1.js @@ -6,6 +6,7 @@ namespace Foo { var a = 1, b = 1; a = b + 2; } var foo = 4, bar = 5; //// [compoundVarDecl1.js] +"use strict"; var Foo; (function (Foo) { var a = 1, b = 1; diff --git a/tests/baselines/reference/computedEnumMemberSyntacticallyString(isolatedmodules=false).js b/tests/baselines/reference/computedEnumMemberSyntacticallyString(isolatedmodules=false).js index 38c360bdf0c83..f41e64f9d7576 100644 --- a/tests/baselines/reference/computedEnumMemberSyntacticallyString(isolatedmodules=false).js +++ b/tests/baselines/reference/computedEnumMemberSyntacticallyString(isolatedmodules=false).js @@ -18,6 +18,7 @@ enum Foo { //// [computedEnumMemberSyntacticallyString.js] +"use strict"; const BAR = 2..toFixed(0); var Foo; (function (Foo) { diff --git a/tests/baselines/reference/computedEnumMemberSyntacticallyString(isolatedmodules=true).js b/tests/baselines/reference/computedEnumMemberSyntacticallyString(isolatedmodules=true).js index 38c360bdf0c83..f41e64f9d7576 100644 --- a/tests/baselines/reference/computedEnumMemberSyntacticallyString(isolatedmodules=true).js +++ b/tests/baselines/reference/computedEnumMemberSyntacticallyString(isolatedmodules=true).js @@ -18,6 +18,7 @@ enum Foo { //// [computedEnumMemberSyntacticallyString.js] +"use strict"; const BAR = 2..toFixed(0); var Foo; (function (Foo) { diff --git a/tests/baselines/reference/computedPropertiesInDestructuring1.js b/tests/baselines/reference/computedPropertiesInDestructuring1.js index 9aa2a3e56284d..49c0ef428b12e 100644 --- a/tests/baselines/reference/computedPropertiesInDestructuring1.js +++ b/tests/baselines/reference/computedPropertiesInDestructuring1.js @@ -40,6 +40,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}]; //// [computedPropertiesInDestructuring1.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m; // destructuring in variable declarations var foo = "bar"; diff --git a/tests/baselines/reference/computedPropertiesInDestructuring1_ES6.js b/tests/baselines/reference/computedPropertiesInDestructuring1_ES6.js index aa101eec9421b..84fef73b17eea 100644 --- a/tests/baselines/reference/computedPropertiesInDestructuring1_ES6.js +++ b/tests/baselines/reference/computedPropertiesInDestructuring1_ES6.js @@ -39,6 +39,7 @@ let [{[foo.toExponential()]: bar7}] = [{bar: "bar"}]; //// [computedPropertiesInDestructuring1_ES6.js] +"use strict"; // destructuring in variable declarations let foo = "bar"; let { [foo]: bar } = { bar: "bar" }; diff --git a/tests/baselines/reference/computedPropertiesInDestructuring2.js b/tests/baselines/reference/computedPropertiesInDestructuring2.js index c81817003e7a9..88468c6e22680 100644 --- a/tests/baselines/reference/computedPropertiesInDestructuring2.js +++ b/tests/baselines/reference/computedPropertiesInDestructuring2.js @@ -5,5 +5,6 @@ let foo2 = () => "bar"; let {[foo2()]: bar3} = {}; //// [computedPropertiesInDestructuring2.js] +"use strict"; var foo2 = function () { return "bar"; }; var _a = {}, _b = foo2(), bar3 = _a[_b]; diff --git a/tests/baselines/reference/computedPropertiesInDestructuring2_ES6.js b/tests/baselines/reference/computedPropertiesInDestructuring2_ES6.js index 98a257f0c354b..7466a63c3a68e 100644 --- a/tests/baselines/reference/computedPropertiesInDestructuring2_ES6.js +++ b/tests/baselines/reference/computedPropertiesInDestructuring2_ES6.js @@ -5,5 +5,6 @@ let foo2 = () => "bar"; let {[foo2()]: bar3} = {}; //// [computedPropertiesInDestructuring2_ES6.js] +"use strict"; let foo2 = () => "bar"; let { [foo2()]: bar3 } = {}; diff --git a/tests/baselines/reference/computedPropertiesTransformedInOtherwiseNonTSClasses.js b/tests/baselines/reference/computedPropertiesTransformedInOtherwiseNonTSClasses.js index 5d473e3f57379..d3760fd65833b 100644 --- a/tests/baselines/reference/computedPropertiesTransformedInOtherwiseNonTSClasses.js +++ b/tests/baselines/reference/computedPropertiesTransformedInOtherwiseNonTSClasses.js @@ -11,6 +11,7 @@ namespace NS { //// [computedPropertiesTransformedInOtherwiseNonTSClasses.js] +"use strict"; var NS; (function (NS) { NS.x = Symbol(); diff --git a/tests/baselines/reference/computedPropertyNameAndTypeParameterConflict.js b/tests/baselines/reference/computedPropertyNameAndTypeParameterConflict.js index 128045887ae86..f0c7ccf3d1bc8 100644 --- a/tests/baselines/reference/computedPropertyNameAndTypeParameterConflict.js +++ b/tests/baselines/reference/computedPropertyNameAndTypeParameterConflict.js @@ -9,6 +9,7 @@ declare class Bar { //// [computedPropertyNameAndTypeParameterConflict.js] +"use strict"; //// [computedPropertyNameAndTypeParameterConflict.d.ts] diff --git a/tests/baselines/reference/computedPropertyNames10_ES5.js b/tests/baselines/reference/computedPropertyNames10_ES5.js index 7a2aafa52e628..4f7bdd03756df 100644 --- a/tests/baselines/reference/computedPropertyNames10_ES5.js +++ b/tests/baselines/reference/computedPropertyNames10_ES5.js @@ -19,6 +19,7 @@ var v = { } //// [computedPropertyNames10_ES5.js] +"use strict"; var _a; var s; var n; diff --git a/tests/baselines/reference/computedPropertyNames10_ES6.js b/tests/baselines/reference/computedPropertyNames10_ES6.js index af1090b6b5895..47a42a7b4d6ed 100644 --- a/tests/baselines/reference/computedPropertyNames10_ES6.js +++ b/tests/baselines/reference/computedPropertyNames10_ES6.js @@ -19,6 +19,7 @@ var v = { } //// [computedPropertyNames10_ES6.js] +"use strict"; var s; var n; var a; diff --git a/tests/baselines/reference/computedPropertyNames11_ES5.js b/tests/baselines/reference/computedPropertyNames11_ES5.js index c856cec1f87fb..67d54e10c131d 100644 --- a/tests/baselines/reference/computedPropertyNames11_ES5.js +++ b/tests/baselines/reference/computedPropertyNames11_ES5.js @@ -19,6 +19,7 @@ var v = { } //// [computedPropertyNames11_ES5.js] +"use strict"; var _a; var s; var n; diff --git a/tests/baselines/reference/computedPropertyNames11_ES6.js b/tests/baselines/reference/computedPropertyNames11_ES6.js index 7535bc8d563ee..d278b6de647c5 100644 --- a/tests/baselines/reference/computedPropertyNames11_ES6.js +++ b/tests/baselines/reference/computedPropertyNames11_ES6.js @@ -19,6 +19,7 @@ var v = { } //// [computedPropertyNames11_ES6.js] +"use strict"; var s; var n; var a; diff --git a/tests/baselines/reference/computedPropertyNames12_ES5.js b/tests/baselines/reference/computedPropertyNames12_ES5.js index 0c2ef338b76e3..e2043208f09a2 100644 --- a/tests/baselines/reference/computedPropertyNames12_ES5.js +++ b/tests/baselines/reference/computedPropertyNames12_ES5.js @@ -19,6 +19,7 @@ class C { } //// [computedPropertyNames12_ES5.js] +"use strict"; var s; var n; var a; diff --git a/tests/baselines/reference/computedPropertyNames12_ES6.js b/tests/baselines/reference/computedPropertyNames12_ES6.js index b60a25b174583..e2c2f6aaffa79 100644 --- a/tests/baselines/reference/computedPropertyNames12_ES6.js +++ b/tests/baselines/reference/computedPropertyNames12_ES6.js @@ -19,6 +19,7 @@ class C { } //// [computedPropertyNames12_ES6.js] +"use strict"; var _a, _b, _c; var s; var n; diff --git a/tests/baselines/reference/computedPropertyNames13_ES5.js b/tests/baselines/reference/computedPropertyNames13_ES5.js index 6f4394a391ebd..ecf98dde003f5 100644 --- a/tests/baselines/reference/computedPropertyNames13_ES5.js +++ b/tests/baselines/reference/computedPropertyNames13_ES5.js @@ -19,6 +19,7 @@ class C { } //// [computedPropertyNames13_ES5.js] +"use strict"; var s; var n; var a; diff --git a/tests/baselines/reference/computedPropertyNames13_ES6.js b/tests/baselines/reference/computedPropertyNames13_ES6.js index 0fdc03e0f4ef7..506dc7a5db824 100644 --- a/tests/baselines/reference/computedPropertyNames13_ES6.js +++ b/tests/baselines/reference/computedPropertyNames13_ES6.js @@ -19,6 +19,7 @@ class C { } //// [computedPropertyNames13_ES6.js] +"use strict"; var s; var n; var a; diff --git a/tests/baselines/reference/computedPropertyNames14_ES5.js b/tests/baselines/reference/computedPropertyNames14_ES5.js index 97a4402baf4cb..1a7f612d747e5 100644 --- a/tests/baselines/reference/computedPropertyNames14_ES5.js +++ b/tests/baselines/reference/computedPropertyNames14_ES5.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames14_ES5.js] +"use strict"; var b; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/computedPropertyNames14_ES6.js b/tests/baselines/reference/computedPropertyNames14_ES6.js index b59a5943b96e7..edf150aef3ddb 100644 --- a/tests/baselines/reference/computedPropertyNames14_ES6.js +++ b/tests/baselines/reference/computedPropertyNames14_ES6.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames14_ES6.js] +"use strict"; var b; class C { [b]() { } diff --git a/tests/baselines/reference/computedPropertyNames15_ES5.js b/tests/baselines/reference/computedPropertyNames15_ES5.js index e59f8df25b74e..8b5c68241304b 100644 --- a/tests/baselines/reference/computedPropertyNames15_ES5.js +++ b/tests/baselines/reference/computedPropertyNames15_ES5.js @@ -11,6 +11,7 @@ class C { } //// [computedPropertyNames15_ES5.js] +"use strict"; var p1; var p2; var p3; diff --git a/tests/baselines/reference/computedPropertyNames15_ES6.js b/tests/baselines/reference/computedPropertyNames15_ES6.js index ca6a9b790496b..01201dd43190c 100644 --- a/tests/baselines/reference/computedPropertyNames15_ES6.js +++ b/tests/baselines/reference/computedPropertyNames15_ES6.js @@ -11,6 +11,7 @@ class C { } //// [computedPropertyNames15_ES6.js] +"use strict"; var p1; var p2; var p3; diff --git a/tests/baselines/reference/computedPropertyNames16_ES5.js b/tests/baselines/reference/computedPropertyNames16_ES5.js index acabab442ced2..6ff455596590b 100644 --- a/tests/baselines/reference/computedPropertyNames16_ES5.js +++ b/tests/baselines/reference/computedPropertyNames16_ES5.js @@ -19,6 +19,7 @@ class C { } //// [computedPropertyNames16_ES5.js] +"use strict"; var s; var n; var a; diff --git a/tests/baselines/reference/computedPropertyNames16_ES6.js b/tests/baselines/reference/computedPropertyNames16_ES6.js index 9017a6feb78de..fdf30496d6693 100644 --- a/tests/baselines/reference/computedPropertyNames16_ES6.js +++ b/tests/baselines/reference/computedPropertyNames16_ES6.js @@ -19,6 +19,7 @@ class C { } //// [computedPropertyNames16_ES6.js] +"use strict"; var s; var n; var a; diff --git a/tests/baselines/reference/computedPropertyNames17_ES5.js b/tests/baselines/reference/computedPropertyNames17_ES5.js index 0d6e549d5bb42..559ad1c39a703 100644 --- a/tests/baselines/reference/computedPropertyNames17_ES5.js +++ b/tests/baselines/reference/computedPropertyNames17_ES5.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames17_ES5.js] +"use strict"; var b; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/computedPropertyNames17_ES6.js b/tests/baselines/reference/computedPropertyNames17_ES6.js index f3b9d31756c8d..4b0b296282711 100644 --- a/tests/baselines/reference/computedPropertyNames17_ES6.js +++ b/tests/baselines/reference/computedPropertyNames17_ES6.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames17_ES6.js] +"use strict"; var b; class C { get [b]() { return 0; } diff --git a/tests/baselines/reference/computedPropertyNames18_ES5.js b/tests/baselines/reference/computedPropertyNames18_ES5.js index 2e3907003e23c..b604798444c66 100644 --- a/tests/baselines/reference/computedPropertyNames18_ES5.js +++ b/tests/baselines/reference/computedPropertyNames18_ES5.js @@ -8,6 +8,7 @@ function foo() { } //// [computedPropertyNames18_ES5.js] +"use strict"; function foo() { var _a; var obj = (_a = {}, diff --git a/tests/baselines/reference/computedPropertyNames18_ES6.js b/tests/baselines/reference/computedPropertyNames18_ES6.js index 11248db1ab658..fec1ee2a2b7ae 100644 --- a/tests/baselines/reference/computedPropertyNames18_ES6.js +++ b/tests/baselines/reference/computedPropertyNames18_ES6.js @@ -8,6 +8,7 @@ function foo() { } //// [computedPropertyNames18_ES6.js] +"use strict"; function foo() { var obj = { [this.bar]: 0 diff --git a/tests/baselines/reference/computedPropertyNames19_ES5.js b/tests/baselines/reference/computedPropertyNames19_ES5.js index f100c749eb00c..a46498206bbbe 100644 --- a/tests/baselines/reference/computedPropertyNames19_ES5.js +++ b/tests/baselines/reference/computedPropertyNames19_ES5.js @@ -8,6 +8,7 @@ namespace M { } //// [computedPropertyNames19_ES5.js] +"use strict"; var M; (function (M) { var _a; diff --git a/tests/baselines/reference/computedPropertyNames19_ES6.js b/tests/baselines/reference/computedPropertyNames19_ES6.js index d604ea36c3f53..8ebcda740148e 100644 --- a/tests/baselines/reference/computedPropertyNames19_ES6.js +++ b/tests/baselines/reference/computedPropertyNames19_ES6.js @@ -8,6 +8,7 @@ namespace M { } //// [computedPropertyNames19_ES6.js] +"use strict"; var M; (function (M) { var obj = { diff --git a/tests/baselines/reference/computedPropertyNames1_ES5.js b/tests/baselines/reference/computedPropertyNames1_ES5.js index 33d2ac8ac315b..96d0976c3d903 100644 --- a/tests/baselines/reference/computedPropertyNames1_ES5.js +++ b/tests/baselines/reference/computedPropertyNames1_ES5.js @@ -7,6 +7,7 @@ var v = { } //// [computedPropertyNames1_ES5.js] +"use strict"; var _a; var v = (_a = {}, Object.defineProperty(_a, 0 + 1, { diff --git a/tests/baselines/reference/computedPropertyNames1_ES6.js b/tests/baselines/reference/computedPropertyNames1_ES6.js index d482a3fce71f4..e50d4292e4635 100644 --- a/tests/baselines/reference/computedPropertyNames1_ES6.js +++ b/tests/baselines/reference/computedPropertyNames1_ES6.js @@ -7,6 +7,7 @@ var v = { } //// [computedPropertyNames1_ES6.js] +"use strict"; var v = { get [0 + 1]() { return 0; }, set [0 + 1](v) { } //No error diff --git a/tests/baselines/reference/computedPropertyNames20_ES5.js b/tests/baselines/reference/computedPropertyNames20_ES5.js index 1b85ac6da761e..d9ba8b5832a59 100644 --- a/tests/baselines/reference/computedPropertyNames20_ES5.js +++ b/tests/baselines/reference/computedPropertyNames20_ES5.js @@ -6,6 +6,7 @@ var obj = { } //// [computedPropertyNames20_ES5.js] +"use strict"; var _a; var obj = (_a = {}, _a[this.bar] = 0, diff --git a/tests/baselines/reference/computedPropertyNames20_ES6.js b/tests/baselines/reference/computedPropertyNames20_ES6.js index aa6387c17536f..c5bf75210a465 100644 --- a/tests/baselines/reference/computedPropertyNames20_ES6.js +++ b/tests/baselines/reference/computedPropertyNames20_ES6.js @@ -6,6 +6,7 @@ var obj = { } //// [computedPropertyNames20_ES6.js] +"use strict"; var obj = { [this.bar]: 0 }; diff --git a/tests/baselines/reference/computedPropertyNames21_ES5.js b/tests/baselines/reference/computedPropertyNames21_ES5.js index 6f2c99bbfe4db..a0261b4c7696c 100644 --- a/tests/baselines/reference/computedPropertyNames21_ES5.js +++ b/tests/baselines/reference/computedPropertyNames21_ES5.js @@ -9,6 +9,7 @@ class C { } //// [computedPropertyNames21_ES5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/computedPropertyNames21_ES6.js b/tests/baselines/reference/computedPropertyNames21_ES6.js index 351b0b3a649f2..5014117d8cb0a 100644 --- a/tests/baselines/reference/computedPropertyNames21_ES6.js +++ b/tests/baselines/reference/computedPropertyNames21_ES6.js @@ -9,6 +9,7 @@ class C { } //// [computedPropertyNames21_ES6.js] +"use strict"; class C { bar() { return 0; diff --git a/tests/baselines/reference/computedPropertyNames22_ES5.js b/tests/baselines/reference/computedPropertyNames22_ES5.js index 9e204ca9b9ea5..507f68b12f4c3 100644 --- a/tests/baselines/reference/computedPropertyNames22_ES5.js +++ b/tests/baselines/reference/computedPropertyNames22_ES5.js @@ -11,6 +11,7 @@ class C { } //// [computedPropertyNames22_ES5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/computedPropertyNames22_ES6.js b/tests/baselines/reference/computedPropertyNames22_ES6.js index 39f6eb34fa67f..b6cb25853957a 100644 --- a/tests/baselines/reference/computedPropertyNames22_ES6.js +++ b/tests/baselines/reference/computedPropertyNames22_ES6.js @@ -11,6 +11,7 @@ class C { } //// [computedPropertyNames22_ES6.js] +"use strict"; class C { bar() { var obj = { diff --git a/tests/baselines/reference/computedPropertyNames23_ES5.js b/tests/baselines/reference/computedPropertyNames23_ES5.js index ea0d5c255d3a6..908063985e81c 100644 --- a/tests/baselines/reference/computedPropertyNames23_ES5.js +++ b/tests/baselines/reference/computedPropertyNames23_ES5.js @@ -11,6 +11,7 @@ class C { } //// [computedPropertyNames23_ES5.js] +"use strict"; var C = /** @class */ (function () { var _a; function C() { diff --git a/tests/baselines/reference/computedPropertyNames23_ES6.js b/tests/baselines/reference/computedPropertyNames23_ES6.js index 102e74c002440..6ed14dee6a4dd 100644 --- a/tests/baselines/reference/computedPropertyNames23_ES6.js +++ b/tests/baselines/reference/computedPropertyNames23_ES6.js @@ -11,6 +11,7 @@ class C { } //// [computedPropertyNames23_ES6.js] +"use strict"; class C { bar() { return 0; diff --git a/tests/baselines/reference/computedPropertyNames24_ES5.js b/tests/baselines/reference/computedPropertyNames24_ES5.js index 9149fb2b7f7da..d06c20b9b7658 100644 --- a/tests/baselines/reference/computedPropertyNames24_ES5.js +++ b/tests/baselines/reference/computedPropertyNames24_ES5.js @@ -11,6 +11,7 @@ class C extends Base { } //// [computedPropertyNames24_ES5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/computedPropertyNames24_ES6.js b/tests/baselines/reference/computedPropertyNames24_ES6.js index 67649001d7e7a..759680d9a4a81 100644 --- a/tests/baselines/reference/computedPropertyNames24_ES6.js +++ b/tests/baselines/reference/computedPropertyNames24_ES6.js @@ -13,6 +13,7 @@ class C extends Base { } //// [computedPropertyNames24_ES6.js] +"use strict"; class Base { bar() { return 0; diff --git a/tests/baselines/reference/computedPropertyNames25_ES5.js b/tests/baselines/reference/computedPropertyNames25_ES5.js index b1fcee5d2093c..454a0d0a7cd56 100644 --- a/tests/baselines/reference/computedPropertyNames25_ES5.js +++ b/tests/baselines/reference/computedPropertyNames25_ES5.js @@ -16,6 +16,7 @@ class C extends Base { } //// [computedPropertyNames25_ES5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/computedPropertyNames25_ES6.js b/tests/baselines/reference/computedPropertyNames25_ES6.js index 192c1151b677f..24ac126c671f0 100644 --- a/tests/baselines/reference/computedPropertyNames25_ES6.js +++ b/tests/baselines/reference/computedPropertyNames25_ES6.js @@ -16,6 +16,7 @@ class C extends Base { } //// [computedPropertyNames25_ES6.js] +"use strict"; class Base { bar() { return 0; diff --git a/tests/baselines/reference/computedPropertyNames26_ES5.js b/tests/baselines/reference/computedPropertyNames26_ES5.js index d11d3e62daf04..9416c8f0dc976 100644 --- a/tests/baselines/reference/computedPropertyNames26_ES5.js +++ b/tests/baselines/reference/computedPropertyNames26_ES5.js @@ -13,6 +13,7 @@ class C extends Base { } //// [computedPropertyNames26_ES5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/computedPropertyNames26_ES6.js b/tests/baselines/reference/computedPropertyNames26_ES6.js index df2b9c63f883a..e4f2ff3fcd74d 100644 --- a/tests/baselines/reference/computedPropertyNames26_ES6.js +++ b/tests/baselines/reference/computedPropertyNames26_ES6.js @@ -15,6 +15,7 @@ class C extends Base { } //// [computedPropertyNames26_ES6.js] +"use strict"; class Base { bar() { return 0; diff --git a/tests/baselines/reference/computedPropertyNames27_ES5.js b/tests/baselines/reference/computedPropertyNames27_ES5.js index b211de70f6f4f..537b6a79b0862 100644 --- a/tests/baselines/reference/computedPropertyNames27_ES5.js +++ b/tests/baselines/reference/computedPropertyNames27_ES5.js @@ -8,6 +8,7 @@ class C extends Base { } //// [computedPropertyNames27_ES5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/computedPropertyNames27_ES6.js b/tests/baselines/reference/computedPropertyNames27_ES6.js index 8063ea9abc6c0..c045c493f0285 100644 --- a/tests/baselines/reference/computedPropertyNames27_ES6.js +++ b/tests/baselines/reference/computedPropertyNames27_ES6.js @@ -8,6 +8,7 @@ class C extends Base { } //// [computedPropertyNames27_ES6.js] +"use strict"; class Base { } class C extends Base { diff --git a/tests/baselines/reference/computedPropertyNames28_ES5.js b/tests/baselines/reference/computedPropertyNames28_ES5.js index 2268c134780b6..edc141e9e04db 100644 --- a/tests/baselines/reference/computedPropertyNames28_ES5.js +++ b/tests/baselines/reference/computedPropertyNames28_ES5.js @@ -13,6 +13,7 @@ class C extends Base { } //// [computedPropertyNames28_ES5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/computedPropertyNames28_ES6.js b/tests/baselines/reference/computedPropertyNames28_ES6.js index 6f3dbf9d915ae..41d980ae9ec35 100644 --- a/tests/baselines/reference/computedPropertyNames28_ES6.js +++ b/tests/baselines/reference/computedPropertyNames28_ES6.js @@ -13,6 +13,7 @@ class C extends Base { } //// [computedPropertyNames28_ES6.js] +"use strict"; class Base { } class C extends Base { diff --git a/tests/baselines/reference/computedPropertyNames29_ES5.js b/tests/baselines/reference/computedPropertyNames29_ES5.js index ba27977b67018..4a6462481ed88 100644 --- a/tests/baselines/reference/computedPropertyNames29_ES5.js +++ b/tests/baselines/reference/computedPropertyNames29_ES5.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames29_ES5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/computedPropertyNames29_ES6.js b/tests/baselines/reference/computedPropertyNames29_ES6.js index 210ab45c06bd7..b6f748f79ca45 100644 --- a/tests/baselines/reference/computedPropertyNames29_ES6.js +++ b/tests/baselines/reference/computedPropertyNames29_ES6.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames29_ES6.js] +"use strict"; class C { bar() { () => { diff --git a/tests/baselines/reference/computedPropertyNames2_ES5.js b/tests/baselines/reference/computedPropertyNames2_ES5.js index 45419aa3fc4bc..620c302972c79 100644 --- a/tests/baselines/reference/computedPropertyNames2_ES5.js +++ b/tests/baselines/reference/computedPropertyNames2_ES5.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames2_ES5.js] +"use strict"; var methodName = "method"; var accessorName = "accessor"; var C = /** @class */ (function () { diff --git a/tests/baselines/reference/computedPropertyNames2_ES6.js b/tests/baselines/reference/computedPropertyNames2_ES6.js index 8a1cf475b636f..0574efabca9a5 100644 --- a/tests/baselines/reference/computedPropertyNames2_ES6.js +++ b/tests/baselines/reference/computedPropertyNames2_ES6.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames2_ES6.js] +"use strict"; var methodName = "method"; var accessorName = "accessor"; class C { diff --git a/tests/baselines/reference/computedPropertyNames30_ES5.js b/tests/baselines/reference/computedPropertyNames30_ES5.js index 77ee8645565cd..98f31227f22ab 100644 --- a/tests/baselines/reference/computedPropertyNames30_ES5.js +++ b/tests/baselines/reference/computedPropertyNames30_ES5.js @@ -18,6 +18,7 @@ class C extends Base { } //// [computedPropertyNames30_ES5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/computedPropertyNames30_ES6.js b/tests/baselines/reference/computedPropertyNames30_ES6.js index 4fed08e614eb9..9253a4194b745 100644 --- a/tests/baselines/reference/computedPropertyNames30_ES6.js +++ b/tests/baselines/reference/computedPropertyNames30_ES6.js @@ -18,6 +18,7 @@ class C extends Base { } //// [computedPropertyNames30_ES6.js] +"use strict"; class Base { } class C extends Base { diff --git a/tests/baselines/reference/computedPropertyNames31_ES5.js b/tests/baselines/reference/computedPropertyNames31_ES5.js index 4fe7dbdf7ac7f..044782f7932de 100644 --- a/tests/baselines/reference/computedPropertyNames31_ES5.js +++ b/tests/baselines/reference/computedPropertyNames31_ES5.js @@ -18,6 +18,7 @@ class C extends Base { } //// [computedPropertyNames31_ES5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/computedPropertyNames31_ES6.js b/tests/baselines/reference/computedPropertyNames31_ES6.js index 56e257d5960cc..7db1e6c75f212 100644 --- a/tests/baselines/reference/computedPropertyNames31_ES6.js +++ b/tests/baselines/reference/computedPropertyNames31_ES6.js @@ -18,6 +18,7 @@ class C extends Base { } //// [computedPropertyNames31_ES6.js] +"use strict"; class Base { bar() { return 0; diff --git a/tests/baselines/reference/computedPropertyNames32_ES5.js b/tests/baselines/reference/computedPropertyNames32_ES5.js index 247415e020928..3846c512c5a14 100644 --- a/tests/baselines/reference/computedPropertyNames32_ES5.js +++ b/tests/baselines/reference/computedPropertyNames32_ES5.js @@ -10,6 +10,7 @@ class C { } //// [computedPropertyNames32_ES5.js] +"use strict"; function foo() { return ''; } var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/computedPropertyNames32_ES6.js b/tests/baselines/reference/computedPropertyNames32_ES6.js index ad99ed359e137..eabd2e3e8a99f 100644 --- a/tests/baselines/reference/computedPropertyNames32_ES6.js +++ b/tests/baselines/reference/computedPropertyNames32_ES6.js @@ -10,6 +10,7 @@ class C { } //// [computedPropertyNames32_ES6.js] +"use strict"; function foo() { return ''; } class C { bar() { diff --git a/tests/baselines/reference/computedPropertyNames33_ES5.js b/tests/baselines/reference/computedPropertyNames33_ES5.js index a46f02a460274..184a184e391e4 100644 --- a/tests/baselines/reference/computedPropertyNames33_ES5.js +++ b/tests/baselines/reference/computedPropertyNames33_ES5.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames33_ES5.js] +"use strict"; function foo() { return ''; } var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/computedPropertyNames33_ES6.js b/tests/baselines/reference/computedPropertyNames33_ES6.js index c0439d4b75503..3857799ca1f47 100644 --- a/tests/baselines/reference/computedPropertyNames33_ES6.js +++ b/tests/baselines/reference/computedPropertyNames33_ES6.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames33_ES6.js] +"use strict"; function foo() { return ''; } class C { bar() { diff --git a/tests/baselines/reference/computedPropertyNames34_ES5.js b/tests/baselines/reference/computedPropertyNames34_ES5.js index 50c8ad1832c17..5b28afab91544 100644 --- a/tests/baselines/reference/computedPropertyNames34_ES5.js +++ b/tests/baselines/reference/computedPropertyNames34_ES5.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames34_ES5.js] +"use strict"; function foo() { return ''; } var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/computedPropertyNames34_ES6.js b/tests/baselines/reference/computedPropertyNames34_ES6.js index 5866089dfe216..3634638f6fb8a 100644 --- a/tests/baselines/reference/computedPropertyNames34_ES6.js +++ b/tests/baselines/reference/computedPropertyNames34_ES6.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames34_ES6.js] +"use strict"; function foo() { return ''; } class C { static bar() { diff --git a/tests/baselines/reference/computedPropertyNames35_ES5.js b/tests/baselines/reference/computedPropertyNames35_ES5.js index d5b1fad93b457..968b3c961b883 100644 --- a/tests/baselines/reference/computedPropertyNames35_ES5.js +++ b/tests/baselines/reference/computedPropertyNames35_ES5.js @@ -8,4 +8,5 @@ interface I { } //// [computedPropertyNames35_ES5.js] +"use strict"; function foo() { return ''; } diff --git a/tests/baselines/reference/computedPropertyNames35_ES6.js b/tests/baselines/reference/computedPropertyNames35_ES6.js index d84dc086c70c5..d67d5516b5958 100644 --- a/tests/baselines/reference/computedPropertyNames35_ES6.js +++ b/tests/baselines/reference/computedPropertyNames35_ES6.js @@ -8,4 +8,5 @@ interface I { } //// [computedPropertyNames35_ES6.js] +"use strict"; function foo() { return ''; } diff --git a/tests/baselines/reference/computedPropertyNames36_ES5.js b/tests/baselines/reference/computedPropertyNames36_ES5.js index 0b511af7605ba..d4f6c71567366 100644 --- a/tests/baselines/reference/computedPropertyNames36_ES5.js +++ b/tests/baselines/reference/computedPropertyNames36_ES5.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames36_ES5.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/computedPropertyNames36_ES6.js b/tests/baselines/reference/computedPropertyNames36_ES6.js index 03a026c0c1b9f..82657054d6775 100644 --- a/tests/baselines/reference/computedPropertyNames36_ES6.js +++ b/tests/baselines/reference/computedPropertyNames36_ES6.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames36_ES6.js] +"use strict"; class Foo { } class Foo2 { diff --git a/tests/baselines/reference/computedPropertyNames37_ES5.js b/tests/baselines/reference/computedPropertyNames37_ES5.js index 13b1d0ade0515..f9f88f3922bb1 100644 --- a/tests/baselines/reference/computedPropertyNames37_ES5.js +++ b/tests/baselines/reference/computedPropertyNames37_ES5.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames37_ES5.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/computedPropertyNames37_ES6.js b/tests/baselines/reference/computedPropertyNames37_ES6.js index 6e1f6242d205d..e5ae4e15f4ffa 100644 --- a/tests/baselines/reference/computedPropertyNames37_ES6.js +++ b/tests/baselines/reference/computedPropertyNames37_ES6.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames37_ES6.js] +"use strict"; class Foo { } class Foo2 { diff --git a/tests/baselines/reference/computedPropertyNames38_ES5.js b/tests/baselines/reference/computedPropertyNames38_ES5.js index 8daec73bff09b..d78e829f7b593 100644 --- a/tests/baselines/reference/computedPropertyNames38_ES5.js +++ b/tests/baselines/reference/computedPropertyNames38_ES5.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames38_ES5.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/computedPropertyNames38_ES6.js b/tests/baselines/reference/computedPropertyNames38_ES6.js index 805c81bc24f22..3315299dbe191 100644 --- a/tests/baselines/reference/computedPropertyNames38_ES6.js +++ b/tests/baselines/reference/computedPropertyNames38_ES6.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames38_ES6.js] +"use strict"; class Foo { } class Foo2 { diff --git a/tests/baselines/reference/computedPropertyNames39_ES5.js b/tests/baselines/reference/computedPropertyNames39_ES5.js index f90979b888f9e..d13d1afc0663f 100644 --- a/tests/baselines/reference/computedPropertyNames39_ES5.js +++ b/tests/baselines/reference/computedPropertyNames39_ES5.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames39_ES5.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/computedPropertyNames39_ES6.js b/tests/baselines/reference/computedPropertyNames39_ES6.js index e8a7b8cd7d293..55d88b7597c1c 100644 --- a/tests/baselines/reference/computedPropertyNames39_ES6.js +++ b/tests/baselines/reference/computedPropertyNames39_ES6.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames39_ES6.js] +"use strict"; class Foo { } class Foo2 { diff --git a/tests/baselines/reference/computedPropertyNames3_ES5.js b/tests/baselines/reference/computedPropertyNames3_ES5.js index 704185c43934f..f57e5bd3fe8b1 100644 --- a/tests/baselines/reference/computedPropertyNames3_ES5.js +++ b/tests/baselines/reference/computedPropertyNames3_ES5.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames3_ES5.js] +"use strict"; var id; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/computedPropertyNames3_ES6.js b/tests/baselines/reference/computedPropertyNames3_ES6.js index 47f74c659daf4..d1db482b80b13 100644 --- a/tests/baselines/reference/computedPropertyNames3_ES6.js +++ b/tests/baselines/reference/computedPropertyNames3_ES6.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames3_ES6.js] +"use strict"; var id; class C { [0 + 1]() { } diff --git a/tests/baselines/reference/computedPropertyNames40_ES5.js b/tests/baselines/reference/computedPropertyNames40_ES5.js index f0195986a8ec1..6cca0b5e8a502 100644 --- a/tests/baselines/reference/computedPropertyNames40_ES5.js +++ b/tests/baselines/reference/computedPropertyNames40_ES5.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames40_ES5.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/computedPropertyNames40_ES6.js b/tests/baselines/reference/computedPropertyNames40_ES6.js index 1d5ed8cfd221e..21ad19a1953a7 100644 --- a/tests/baselines/reference/computedPropertyNames40_ES6.js +++ b/tests/baselines/reference/computedPropertyNames40_ES6.js @@ -13,6 +13,7 @@ class C { } //// [computedPropertyNames40_ES6.js] +"use strict"; class Foo { } class Foo2 { diff --git a/tests/baselines/reference/computedPropertyNames41_ES5.js b/tests/baselines/reference/computedPropertyNames41_ES5.js index 176c71ea25da3..9b81465e3aed9 100644 --- a/tests/baselines/reference/computedPropertyNames41_ES5.js +++ b/tests/baselines/reference/computedPropertyNames41_ES5.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames41_ES5.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/computedPropertyNames41_ES6.js b/tests/baselines/reference/computedPropertyNames41_ES6.js index f8ebfaf75d4c6..441e9522349de 100644 --- a/tests/baselines/reference/computedPropertyNames41_ES6.js +++ b/tests/baselines/reference/computedPropertyNames41_ES6.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames41_ES6.js] +"use strict"; class Foo { } class Foo2 { diff --git a/tests/baselines/reference/computedPropertyNames42_ES5.js b/tests/baselines/reference/computedPropertyNames42_ES5.js index 52210d8559c4d..0a5bea745bc34 100644 --- a/tests/baselines/reference/computedPropertyNames42_ES5.js +++ b/tests/baselines/reference/computedPropertyNames42_ES5.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames42_ES5.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/computedPropertyNames42_ES6.js b/tests/baselines/reference/computedPropertyNames42_ES6.js index 16617edbf3790..e8234920f35bb 100644 --- a/tests/baselines/reference/computedPropertyNames42_ES6.js +++ b/tests/baselines/reference/computedPropertyNames42_ES6.js @@ -12,6 +12,7 @@ class C { } //// [computedPropertyNames42_ES6.js] +"use strict"; class Foo { } class Foo2 { diff --git a/tests/baselines/reference/computedPropertyNames43_ES5.js b/tests/baselines/reference/computedPropertyNames43_ES5.js index 5a5ff015ebb0e..1264fa10bcfac 100644 --- a/tests/baselines/reference/computedPropertyNames43_ES5.js +++ b/tests/baselines/reference/computedPropertyNames43_ES5.js @@ -15,6 +15,7 @@ class D extends C { } //// [computedPropertyNames43_ES5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/computedPropertyNames43_ES6.js b/tests/baselines/reference/computedPropertyNames43_ES6.js index ba36972d1babb..6ee01281b746d 100644 --- a/tests/baselines/reference/computedPropertyNames43_ES6.js +++ b/tests/baselines/reference/computedPropertyNames43_ES6.js @@ -15,6 +15,7 @@ class D extends C { } //// [computedPropertyNames43_ES6.js] +"use strict"; class Foo { } class Foo2 { diff --git a/tests/baselines/reference/computedPropertyNames44_ES5.js b/tests/baselines/reference/computedPropertyNames44_ES5.js index a0db5485d62b7..7dd045b667dd1 100644 --- a/tests/baselines/reference/computedPropertyNames44_ES5.js +++ b/tests/baselines/reference/computedPropertyNames44_ES5.js @@ -14,6 +14,7 @@ class D extends C { } //// [computedPropertyNames44_ES5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/computedPropertyNames44_ES6.js b/tests/baselines/reference/computedPropertyNames44_ES6.js index 3cc2451317c19..dce10a58bafbf 100644 --- a/tests/baselines/reference/computedPropertyNames44_ES6.js +++ b/tests/baselines/reference/computedPropertyNames44_ES6.js @@ -14,6 +14,7 @@ class D extends C { } //// [computedPropertyNames44_ES6.js] +"use strict"; class Foo { } class Foo2 { diff --git a/tests/baselines/reference/computedPropertyNames45_ES5.js b/tests/baselines/reference/computedPropertyNames45_ES5.js index 19b8fdacbcdfd..c2e55ca6931bb 100644 --- a/tests/baselines/reference/computedPropertyNames45_ES5.js +++ b/tests/baselines/reference/computedPropertyNames45_ES5.js @@ -15,6 +15,7 @@ class D extends C { } //// [computedPropertyNames45_ES5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/computedPropertyNames45_ES6.js b/tests/baselines/reference/computedPropertyNames45_ES6.js index 23849240b51f5..df49aa6b0aee3 100644 --- a/tests/baselines/reference/computedPropertyNames45_ES6.js +++ b/tests/baselines/reference/computedPropertyNames45_ES6.js @@ -15,6 +15,7 @@ class D extends C { } //// [computedPropertyNames45_ES6.js] +"use strict"; class Foo { } class Foo2 { diff --git a/tests/baselines/reference/computedPropertyNames46_ES5.js b/tests/baselines/reference/computedPropertyNames46_ES5.js index 6c74630e658a2..85e98d865a1dc 100644 --- a/tests/baselines/reference/computedPropertyNames46_ES5.js +++ b/tests/baselines/reference/computedPropertyNames46_ES5.js @@ -6,6 +6,7 @@ var o = { }; //// [computedPropertyNames46_ES5.js] +"use strict"; var _a; var o = (_a = {}, _a["" || 0] = 0, diff --git a/tests/baselines/reference/computedPropertyNames46_ES6.js b/tests/baselines/reference/computedPropertyNames46_ES6.js index 88cf4efd32aa2..f331bf6df4220 100644 --- a/tests/baselines/reference/computedPropertyNames46_ES6.js +++ b/tests/baselines/reference/computedPropertyNames46_ES6.js @@ -6,6 +6,7 @@ var o = { }; //// [computedPropertyNames46_ES6.js] +"use strict"; var o = { ["" || 0]: 0 }; diff --git a/tests/baselines/reference/computedPropertyNames47_ES5.js b/tests/baselines/reference/computedPropertyNames47_ES5.js index 67d76a25d4b79..faa7e7a97b3b2 100644 --- a/tests/baselines/reference/computedPropertyNames47_ES5.js +++ b/tests/baselines/reference/computedPropertyNames47_ES5.js @@ -8,6 +8,7 @@ var o = { }; //// [computedPropertyNames47_ES5.js] +"use strict"; var _a; var E1; (function (E1) { diff --git a/tests/baselines/reference/computedPropertyNames47_ES6.js b/tests/baselines/reference/computedPropertyNames47_ES6.js index 2f511279917ea..2275ff3dd2c3a 100644 --- a/tests/baselines/reference/computedPropertyNames47_ES6.js +++ b/tests/baselines/reference/computedPropertyNames47_ES6.js @@ -8,6 +8,7 @@ var o = { }; //// [computedPropertyNames47_ES6.js] +"use strict"; var E1; (function (E1) { E1[E1["x"] = 0] = "x"; diff --git a/tests/baselines/reference/computedPropertyNames48_ES5.js b/tests/baselines/reference/computedPropertyNames48_ES5.js index 8d8fbe74dfbe3..dacf8a43b338e 100644 --- a/tests/baselines/reference/computedPropertyNames48_ES5.js +++ b/tests/baselines/reference/computedPropertyNames48_ES5.js @@ -20,6 +20,7 @@ extractIndexer({ }); // Should return any (widened form of undefined) //// [computedPropertyNames48_ES5.js] +"use strict"; var _a, _b, _c; var E; (function (E) { diff --git a/tests/baselines/reference/computedPropertyNames48_ES6.js b/tests/baselines/reference/computedPropertyNames48_ES6.js index e167d19506ce0..af3934a77bfad 100644 --- a/tests/baselines/reference/computedPropertyNames48_ES6.js +++ b/tests/baselines/reference/computedPropertyNames48_ES6.js @@ -20,6 +20,7 @@ extractIndexer({ }); // Should return any (widened form of undefined) //// [computedPropertyNames48_ES6.js] +"use strict"; var E; (function (E) { E[E["x"] = 0] = "x"; diff --git a/tests/baselines/reference/computedPropertyNames49_ES5.js b/tests/baselines/reference/computedPropertyNames49_ES5.js index 70c6b4f9d8d69..da714c512c89e 100644 --- a/tests/baselines/reference/computedPropertyNames49_ES5.js +++ b/tests/baselines/reference/computedPropertyNames49_ES5.js @@ -27,6 +27,7 @@ var x = { } //// [computedPropertyNames49_ES5.js] +"use strict"; var _a; var x = (_a = { p1: 10 diff --git a/tests/baselines/reference/computedPropertyNames49_ES6.js b/tests/baselines/reference/computedPropertyNames49_ES6.js index 3dec94ce1d9aa..b9a838526e48e 100644 --- a/tests/baselines/reference/computedPropertyNames49_ES6.js +++ b/tests/baselines/reference/computedPropertyNames49_ES6.js @@ -27,6 +27,7 @@ var x = { } //// [computedPropertyNames49_ES6.js] +"use strict"; var x = { p1: 10, get [1 + 1]() { diff --git a/tests/baselines/reference/computedPropertyNames4_ES5.js b/tests/baselines/reference/computedPropertyNames4_ES5.js index e1bcc7035c87f..f31062d422178 100644 --- a/tests/baselines/reference/computedPropertyNames4_ES5.js +++ b/tests/baselines/reference/computedPropertyNames4_ES5.js @@ -19,6 +19,7 @@ var v = { } //// [computedPropertyNames4_ES5.js] +"use strict"; var _a; var s; var n; diff --git a/tests/baselines/reference/computedPropertyNames4_ES6.js b/tests/baselines/reference/computedPropertyNames4_ES6.js index 65645e2591aa2..1b7131424c840 100644 --- a/tests/baselines/reference/computedPropertyNames4_ES6.js +++ b/tests/baselines/reference/computedPropertyNames4_ES6.js @@ -19,6 +19,7 @@ var v = { } //// [computedPropertyNames4_ES6.js] +"use strict"; var s; var n; var a; diff --git a/tests/baselines/reference/computedPropertyNames50_ES5.js b/tests/baselines/reference/computedPropertyNames50_ES5.js index 1ae6cef69d2d7..ef383bd13230f 100644 --- a/tests/baselines/reference/computedPropertyNames50_ES5.js +++ b/tests/baselines/reference/computedPropertyNames50_ES5.js @@ -27,6 +27,7 @@ var x = { } //// [computedPropertyNames50_ES5.js] +"use strict"; var _a; var x = (_a = { p1: 10, diff --git a/tests/baselines/reference/computedPropertyNames50_ES6.js b/tests/baselines/reference/computedPropertyNames50_ES6.js index 64d7c8d8e9c94..eb3e781f55dd9 100644 --- a/tests/baselines/reference/computedPropertyNames50_ES6.js +++ b/tests/baselines/reference/computedPropertyNames50_ES6.js @@ -27,6 +27,7 @@ var x = { } //// [computedPropertyNames50_ES6.js] +"use strict"; var x = { p1: 10, get foo() { diff --git a/tests/baselines/reference/computedPropertyNames51_ES5.js b/tests/baselines/reference/computedPropertyNames51_ES5.js index d784efd2e3fb5..16ba4a507f164 100644 --- a/tests/baselines/reference/computedPropertyNames51_ES5.js +++ b/tests/baselines/reference/computedPropertyNames51_ES5.js @@ -12,6 +12,7 @@ function f() { //// [computedPropertyNames51_ES5.js] +"use strict"; function f() { var _a; var t; diff --git a/tests/baselines/reference/computedPropertyNames51_ES6.js b/tests/baselines/reference/computedPropertyNames51_ES6.js index c01180775aadb..66ac077dbc548 100644 --- a/tests/baselines/reference/computedPropertyNames51_ES6.js +++ b/tests/baselines/reference/computedPropertyNames51_ES6.js @@ -12,6 +12,7 @@ function f() { //// [computedPropertyNames51_ES6.js] +"use strict"; function f() { var t; var k; diff --git a/tests/baselines/reference/computedPropertyNames52(target=es2015).js b/tests/baselines/reference/computedPropertyNames52(target=es2015).js index e3ec395c756dc..c888a9d14f2fa 100644 --- a/tests/baselines/reference/computedPropertyNames52(target=es2015).js +++ b/tests/baselines/reference/computedPropertyNames52(target=es2015).js @@ -11,6 +11,7 @@ for (let i = 0; i < 10; ++i) { //// [computedPropertyNames52-emit.js] +"use strict"; var _a; const array = []; for (let i = 0; i < 10; ++i) { diff --git a/tests/baselines/reference/computedPropertyNames52(target=es5).js b/tests/baselines/reference/computedPropertyNames52(target=es5).js index 83d8cea45f921..65d190303e82f 100644 --- a/tests/baselines/reference/computedPropertyNames52(target=es5).js +++ b/tests/baselines/reference/computedPropertyNames52(target=es5).js @@ -11,6 +11,7 @@ for (let i = 0; i < 10; ++i) { //// [computedPropertyNames52-emit.js] +"use strict"; var _a; var array = []; var _loop_1 = function (i) { diff --git a/tests/baselines/reference/computedPropertyNames5_ES5.js b/tests/baselines/reference/computedPropertyNames5_ES5.js index c39dc301a05eb..e0896fa4eb2e0 100644 --- a/tests/baselines/reference/computedPropertyNames5_ES5.js +++ b/tests/baselines/reference/computedPropertyNames5_ES5.js @@ -12,6 +12,7 @@ var v = { } //// [computedPropertyNames5_ES5.js] +"use strict"; var _a; var v = (_a = {}, _a[b] = 0, diff --git a/tests/baselines/reference/computedPropertyNames5_ES6.js b/tests/baselines/reference/computedPropertyNames5_ES6.js index 97b0076dc43cd..a803274745b22 100644 --- a/tests/baselines/reference/computedPropertyNames5_ES6.js +++ b/tests/baselines/reference/computedPropertyNames5_ES6.js @@ -12,6 +12,7 @@ var v = { } //// [computedPropertyNames5_ES6.js] +"use strict"; var v = { [b]: 0, [true]: 1, diff --git a/tests/baselines/reference/computedPropertyNames6_ES5.js b/tests/baselines/reference/computedPropertyNames6_ES5.js index 63193cbe7fe00..d0713d49c2e54 100644 --- a/tests/baselines/reference/computedPropertyNames6_ES5.js +++ b/tests/baselines/reference/computedPropertyNames6_ES5.js @@ -11,6 +11,7 @@ var v = { } //// [computedPropertyNames6_ES5.js] +"use strict"; var _a; var v = (_a = {}, _a[p1] = 0, diff --git a/tests/baselines/reference/computedPropertyNames6_ES6.js b/tests/baselines/reference/computedPropertyNames6_ES6.js index 74c13b0c5eeaa..5307db5e14e9f 100644 --- a/tests/baselines/reference/computedPropertyNames6_ES6.js +++ b/tests/baselines/reference/computedPropertyNames6_ES6.js @@ -11,6 +11,7 @@ var v = { } //// [computedPropertyNames6_ES6.js] +"use strict"; var v = { [p1]: 0, [p2]: 1, diff --git a/tests/baselines/reference/computedPropertyNames7_ES5.js b/tests/baselines/reference/computedPropertyNames7_ES5.js index 26edf7b93ab0c..d36f7ddc99967 100644 --- a/tests/baselines/reference/computedPropertyNames7_ES5.js +++ b/tests/baselines/reference/computedPropertyNames7_ES5.js @@ -9,6 +9,7 @@ var v = { } //// [computedPropertyNames7_ES5.js] +"use strict"; var _a; var E; (function (E) { diff --git a/tests/baselines/reference/computedPropertyNames7_ES6.js b/tests/baselines/reference/computedPropertyNames7_ES6.js index daa6bc2995c2f..f3e1cb65b3cac 100644 --- a/tests/baselines/reference/computedPropertyNames7_ES6.js +++ b/tests/baselines/reference/computedPropertyNames7_ES6.js @@ -9,6 +9,7 @@ var v = { } //// [computedPropertyNames7_ES6.js] +"use strict"; var E; (function (E) { E[E["member"] = 0] = "member"; diff --git a/tests/baselines/reference/computedPropertyNames8_ES5.js b/tests/baselines/reference/computedPropertyNames8_ES5.js index cb9359fba6d28..ef3dffc1266b9 100644 --- a/tests/baselines/reference/computedPropertyNames8_ES5.js +++ b/tests/baselines/reference/computedPropertyNames8_ES5.js @@ -11,6 +11,7 @@ function f() { } //// [computedPropertyNames8_ES5.js] +"use strict"; function f() { var _a; var t; diff --git a/tests/baselines/reference/computedPropertyNames8_ES6.js b/tests/baselines/reference/computedPropertyNames8_ES6.js index 02c894eedf2e7..b50c57d4e13b4 100644 --- a/tests/baselines/reference/computedPropertyNames8_ES6.js +++ b/tests/baselines/reference/computedPropertyNames8_ES6.js @@ -11,6 +11,7 @@ function f() { } //// [computedPropertyNames8_ES6.js] +"use strict"; function f() { var t; var u; diff --git a/tests/baselines/reference/computedPropertyNames9_ES5.js b/tests/baselines/reference/computedPropertyNames9_ES5.js index 5cbd14985e98a..66e5aa0c216fa 100644 --- a/tests/baselines/reference/computedPropertyNames9_ES5.js +++ b/tests/baselines/reference/computedPropertyNames9_ES5.js @@ -13,6 +13,7 @@ var v = { } //// [computedPropertyNames9_ES5.js] +"use strict"; var _a; function f(x) { } var v = (_a = {}, diff --git a/tests/baselines/reference/computedPropertyNames9_ES6.js b/tests/baselines/reference/computedPropertyNames9_ES6.js index 4220f3f90c280..9b032db4cd706 100644 --- a/tests/baselines/reference/computedPropertyNames9_ES6.js +++ b/tests/baselines/reference/computedPropertyNames9_ES6.js @@ -13,6 +13,7 @@ var v = { } //// [computedPropertyNames9_ES6.js] +"use strict"; function f(x) { } var v = { [f("")]: 0, diff --git a/tests/baselines/reference/computedPropertyNamesContextualType10_ES5.js b/tests/baselines/reference/computedPropertyNamesContextualType10_ES5.js index 57ca3e3f0309a..37843d45d3908 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType10_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType10_ES5.js @@ -11,6 +11,7 @@ var o: I = { } //// [computedPropertyNamesContextualType10_ES5.js] +"use strict"; var _a; var o = (_a = {}, _a[+"foo"] = "", diff --git a/tests/baselines/reference/computedPropertyNamesContextualType10_ES6.js b/tests/baselines/reference/computedPropertyNamesContextualType10_ES6.js index b44c01bd5b1c3..65fe7ceb7abdf 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType10_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType10_ES6.js @@ -11,6 +11,7 @@ var o: I = { } //// [computedPropertyNamesContextualType10_ES6.js] +"use strict"; var o = { [+"foo"]: "", [+"bar"]: 0 diff --git a/tests/baselines/reference/computedPropertyNamesContextualType1_ES5.js b/tests/baselines/reference/computedPropertyNamesContextualType1_ES5.js index f36011e95d525..b0545ad2ce8c5 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType1_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType1_ES5.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType1_ES5.js] +"use strict"; var _a; var o = (_a = {}, _a["" + 0] = function (y) { return y.length; }, diff --git a/tests/baselines/reference/computedPropertyNamesContextualType1_ES6.js b/tests/baselines/reference/computedPropertyNamesContextualType1_ES6.js index ba85d58212f4a..4d28b5fc8a5d6 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType1_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType1_ES6.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType1_ES6.js] +"use strict"; var o = { ["" + 0](y) { return y.length; }, ["" + 1]: y => y.length diff --git a/tests/baselines/reference/computedPropertyNamesContextualType2_ES5.js b/tests/baselines/reference/computedPropertyNamesContextualType2_ES5.js index 1eacc22117627..e5909e967c1b3 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType2_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType2_ES5.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType2_ES5.js] +"use strict"; var _a; var o = (_a = {}, _a[+"foo"] = function (y) { return y.length; }, diff --git a/tests/baselines/reference/computedPropertyNamesContextualType2_ES6.js b/tests/baselines/reference/computedPropertyNamesContextualType2_ES6.js index 4745f73bbd0e3..065893e8453a3 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType2_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType2_ES6.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType2_ES6.js] +"use strict"; var o = { [+"foo"](y) { return y.length; }, [+"bar"]: y => y.length diff --git a/tests/baselines/reference/computedPropertyNamesContextualType3_ES5.js b/tests/baselines/reference/computedPropertyNamesContextualType3_ES5.js index 26670006a4305..7985838d7eecf 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType3_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType3_ES5.js @@ -11,6 +11,7 @@ var o: I = { } //// [computedPropertyNamesContextualType3_ES5.js] +"use strict"; var _a; var o = (_a = {}, _a[+"foo"] = function (y) { return y.length; }, diff --git a/tests/baselines/reference/computedPropertyNamesContextualType3_ES6.js b/tests/baselines/reference/computedPropertyNamesContextualType3_ES6.js index 483d40fbde0c0..b2786905a49fe 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType3_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType3_ES6.js @@ -11,6 +11,7 @@ var o: I = { } //// [computedPropertyNamesContextualType3_ES6.js] +"use strict"; var o = { [+"foo"](y) { return y.length; }, [+"bar"]: y => y.length diff --git a/tests/baselines/reference/computedPropertyNamesContextualType4_ES5.js b/tests/baselines/reference/computedPropertyNamesContextualType4_ES5.js index 0fe3a89bb91d5..426550758bfd2 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType4_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType4_ES5.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType4_ES5.js] +"use strict"; var _a; var o = (_a = {}, _a["" + "foo"] = "", diff --git a/tests/baselines/reference/computedPropertyNamesContextualType4_ES6.js b/tests/baselines/reference/computedPropertyNamesContextualType4_ES6.js index 2ca6e16fe3717..ac9d2a1449ec0 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType4_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType4_ES6.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType4_ES6.js] +"use strict"; var o = { ["" + "foo"]: "", ["" + "bar"]: 0 diff --git a/tests/baselines/reference/computedPropertyNamesContextualType5_ES5.js b/tests/baselines/reference/computedPropertyNamesContextualType5_ES5.js index 416024d8eee74..852b1ff8874af 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType5_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType5_ES5.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType5_ES5.js] +"use strict"; var _a; var o = (_a = {}, _a[+"foo"] = "", diff --git a/tests/baselines/reference/computedPropertyNamesContextualType5_ES6.js b/tests/baselines/reference/computedPropertyNamesContextualType5_ES6.js index 618dcbf5310b1..53729160d6ac8 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType5_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType5_ES6.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType5_ES6.js] +"use strict"; var o = { [+"foo"]: "", [+"bar"]: 0 diff --git a/tests/baselines/reference/computedPropertyNamesContextualType6_ES5.js b/tests/baselines/reference/computedPropertyNamesContextualType6_ES5.js index ae2419fb82db9..07e76ebe20d75 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType6_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType6_ES5.js @@ -16,6 +16,7 @@ foo({ }); //// [computedPropertyNamesContextualType6_ES5.js] +"use strict"; var _a; foo((_a = { p: "", diff --git a/tests/baselines/reference/computedPropertyNamesContextualType6_ES6.js b/tests/baselines/reference/computedPropertyNamesContextualType6_ES6.js index 23a355dff332d..2b298a472bed2 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType6_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType6_ES6.js @@ -16,6 +16,7 @@ foo({ }); //// [computedPropertyNamesContextualType6_ES6.js] +"use strict"; foo({ p: "", 0: () => { }, diff --git a/tests/baselines/reference/computedPropertyNamesContextualType7_ES5.js b/tests/baselines/reference/computedPropertyNamesContextualType7_ES5.js index ebcdfed3a9f7f..17bcfcc8abdf2 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType7_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType7_ES5.js @@ -22,6 +22,7 @@ g({ p: "" }); //// [computedPropertyNamesContextualType7_ES5.js] +"use strict"; var _a; foo((_a = { 0: function () { } diff --git a/tests/baselines/reference/computedPropertyNamesContextualType7_ES6.js b/tests/baselines/reference/computedPropertyNamesContextualType7_ES6.js index d0d8169292fd9..ab8393610ff5c 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType7_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType7_ES6.js @@ -22,6 +22,7 @@ g({ p: "" }); //// [computedPropertyNamesContextualType7_ES6.js] +"use strict"; foo({ 0: () => { }, ["hi" + "bye"]: true, diff --git a/tests/baselines/reference/computedPropertyNamesContextualType8_ES5.js b/tests/baselines/reference/computedPropertyNamesContextualType8_ES5.js index db93adadeda72..2a95befb3ab45 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType8_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType8_ES5.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType8_ES5.js] +"use strict"; var _a; var o = (_a = {}, _a["" + "foo"] = "", diff --git a/tests/baselines/reference/computedPropertyNamesContextualType8_ES6.js b/tests/baselines/reference/computedPropertyNamesContextualType8_ES6.js index 39fdf124cd716..63eb489a62962 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType8_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType8_ES6.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType8_ES6.js] +"use strict"; var o = { ["" + "foo"]: "", ["" + "bar"]: 0 diff --git a/tests/baselines/reference/computedPropertyNamesContextualType9_ES5.js b/tests/baselines/reference/computedPropertyNamesContextualType9_ES5.js index 1acf0456c9c8b..9982351f56784 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType9_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType9_ES5.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType9_ES5.js] +"use strict"; var _a; var o = (_a = {}, _a[+"foo"] = "", diff --git a/tests/baselines/reference/computedPropertyNamesContextualType9_ES6.js b/tests/baselines/reference/computedPropertyNamesContextualType9_ES6.js index 5c97b85194007..66a833535541b 100644 --- a/tests/baselines/reference/computedPropertyNamesContextualType9_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesContextualType9_ES6.js @@ -12,6 +12,7 @@ var o: I = { } //// [computedPropertyNamesContextualType9_ES6.js] +"use strict"; var o = { [+"foo"]: "", [+"bar"]: 0 diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5.js index 7b191d399503d..8ca9a7694d6df 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES5.js @@ -8,6 +8,7 @@ class C { } //// [computedPropertyNamesDeclarationEmit1_ES5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES6.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES6.js index 325ccb7b5ce4a..9c1b6ddbe9d92 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit1_ES6.js @@ -8,6 +8,7 @@ class C { } //// [computedPropertyNamesDeclarationEmit1_ES6.js] +"use strict"; class C { ["" + ""]() { } get ["" + ""]() { return 0; } diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5.js index 6bfa2b01e02dc..5864b07166692 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES5.js @@ -8,6 +8,7 @@ class C { } //// [computedPropertyNamesDeclarationEmit2_ES5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES6.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES6.js index 27c5f938e6584..eae137ac171c4 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit2_ES6.js @@ -8,6 +8,7 @@ class C { } //// [computedPropertyNamesDeclarationEmit2_ES6.js] +"use strict"; class C { static ["" + ""]() { } static get ["" + ""]() { return 0; } diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES5.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES5.js index 856dd36b5d9da..3c750e9045b58 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES5.js @@ -6,6 +6,7 @@ interface I { } //// [computedPropertyNamesDeclarationEmit3_ES5.js] +"use strict"; //// [computedPropertyNamesDeclarationEmit3_ES5.d.ts] diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES6.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES6.js index 89d9717c4cbac..cbc270783c455 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit3_ES6.js @@ -6,6 +6,7 @@ interface I { } //// [computedPropertyNamesDeclarationEmit3_ES6.js] +"use strict"; //// [computedPropertyNamesDeclarationEmit3_ES6.d.ts] diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES5.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES5.js index d55197324498e..d1c5b0414f610 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES5.js @@ -6,6 +6,7 @@ var v: { } //// [computedPropertyNamesDeclarationEmit4_ES5.js] +"use strict"; var v; diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES6.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES6.js index dad68e886d83c..9fbbdb7459d88 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit4_ES6.js @@ -6,6 +6,7 @@ var v: { } //// [computedPropertyNamesDeclarationEmit4_ES6.js] +"use strict"; var v; diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5.js index f377ed3bd476c..2fa252cd8c68a 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES5.js @@ -9,6 +9,7 @@ var v = { } //// [computedPropertyNamesDeclarationEmit5_ES5.js] +"use strict"; var _a; var v = (_a = {}, _a["" + ""] = 0, diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES6.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES6.js index 9c8910cd0ff08..43b7945df3cae 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit5_ES6.js @@ -9,6 +9,7 @@ var v = { } //// [computedPropertyNamesDeclarationEmit5_ES6.js] +"use strict"; var v = { ["" + ""]: 0, ["" + ""]() { }, diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES5.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES5.js index cbea770355a8e..43cf1f30bff31 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES5.js @@ -10,6 +10,7 @@ var v = { //// [computedPropertyNamesDeclarationEmit6_ES5.js] +"use strict"; var _a; var v = (_a = {}, _a[-1] = {}, diff --git a/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES6.js b/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES6.js index 2dc73405607ff..aae179c4dd22c 100644 --- a/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesDeclarationEmit6_ES6.js @@ -10,6 +10,7 @@ var v = { //// [computedPropertyNamesDeclarationEmit6_ES6.js] +"use strict"; var v = { [-1]: {}, [+1]: {}, diff --git a/tests/baselines/reference/computedPropertyNamesOnOverloads_ES5.js b/tests/baselines/reference/computedPropertyNamesOnOverloads_ES5.js index e0f77f33b6a2f..93802f9a1942b 100644 --- a/tests/baselines/reference/computedPropertyNamesOnOverloads_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesOnOverloads_ES5.js @@ -10,6 +10,7 @@ class C { } //// [computedPropertyNamesOnOverloads_ES5.js] +"use strict"; var methodName = "method"; var accessorName = "accessor"; var C = /** @class */ (function () { diff --git a/tests/baselines/reference/computedPropertyNamesOnOverloads_ES6.js b/tests/baselines/reference/computedPropertyNamesOnOverloads_ES6.js index 5017aff67babb..5489d60921588 100644 --- a/tests/baselines/reference/computedPropertyNamesOnOverloads_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesOnOverloads_ES6.js @@ -10,6 +10,7 @@ class C { } //// [computedPropertyNamesOnOverloads_ES6.js] +"use strict"; var methodName = "method"; var accessorName = "accessor"; class C { diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.js b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.js index 828d009383a4b..b549c32e218df 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.js @@ -11,6 +11,7 @@ class C { } //// [computedPropertyNamesSourceMap1_ES5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.js.map b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.js.map index 2a3dd476af1fa..92372815411e7 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.js.map +++ b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.js.map @@ -1,3 +1,3 @@ //// [computedPropertyNamesSourceMap1_ES5.js.map] -{"version":3,"file":"computedPropertyNamesSourceMap1_ES5.js","sourceRoot":"","sources":["computedPropertyNamesSourceMap1_ES5.ts"],"names":[],"mappings":"AAAA;IAAA;IAOA,CAAC;IANG,YAAC,OAAO,CAAC,GAAT;QACI,QAAQ,CAAC;IACb,CAAC;IACD,sBAAI,sBAAW;aAAf;YACF,OAAO,CAAC,CAAC;QACP,CAAC;;;OAAA;IACL,QAAC;AAAD,CAAC,AAPD,IAOC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIEMgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQygpIHsNCiAgICB9DQogICAgQy5wcm90b3R5cGVbImhlbGxvIl0gPSBmdW5jdGlvbiAoKSB7DQogICAgICAgIGRlYnVnZ2VyOw0KICAgIH07DQogICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEMucHJvdG90eXBlLCAiZ29vZGJ5ZSIsIHsNCiAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICByZXR1cm4gMDsNCiAgICAgICAgfSwNCiAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsDQogICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQ0KICAgIH0pOw0KICAgIHJldHVybiBDOw0KfSgpKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWNvbXB1dGVkUHJvcGVydHlOYW1lc1NvdXJjZU1hcDFfRVM1LmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcHV0ZWRQcm9wZXJ0eU5hbWVzU291cmNlTWFwMV9FUzUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb21wdXRlZFByb3BlcnR5TmFtZXNTb3VyY2VNYXAxX0VTNS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUFBO0lBT0EsQ0FBQztJQU5HLFlBQUMsT0FBTyxDQUFDLEdBQVQ7UUFDSSxRQUFRLENBQUM7SUFDYixDQUFDO0lBQ0Qsc0JBQUksc0JBQVc7YUFBZjtZQUNGLE9BQU8sQ0FBQyxDQUFDO1FBQ1AsQ0FBQzs7O09BQUE7SUFDTCxRQUFDO0FBQUQsQ0FBQyxBQVBELElBT0MifQ==,Y2xhc3MgQyB7CiAgICBbImhlbGxvIl0oKSB7CiAgICAgICAgZGVidWdnZXI7CiAgICB9CiAgICBnZXQgWyJnb29kYnllIl0oKSB7CgkJcmV0dXJuIDA7CiAgICB9Cn0= +{"version":3,"file":"computedPropertyNamesSourceMap1_ES5.js","sourceRoot":"","sources":["computedPropertyNamesSourceMap1_ES5.ts"],"names":[],"mappings":";AAAA;IAAA;IAOA,CAAC;IANG,YAAC,OAAO,CAAC,GAAT;QACI,QAAQ,CAAC;IACb,CAAC;IACD,sBAAI,sBAAW;aAAf;YACF,OAAO,CAAC,CAAC;QACP,CAAC;;;OAAA;IACL,QAAC;AAAD,CAAC,AAPD,IAOC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIEMgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQygpIHsNCiAgICB9DQogICAgQy5wcm90b3R5cGVbImhlbGxvIl0gPSBmdW5jdGlvbiAoKSB7DQogICAgICAgIGRlYnVnZ2VyOw0KICAgIH07DQogICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KEMucHJvdG90eXBlLCAiZ29vZGJ5ZSIsIHsNCiAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICByZXR1cm4gMDsNCiAgICAgICAgfSwNCiAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsDQogICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQ0KICAgIH0pOw0KICAgIHJldHVybiBDOw0KfSgpKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWNvbXB1dGVkUHJvcGVydHlOYW1lc1NvdXJjZU1hcDFfRVM1LmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcHV0ZWRQcm9wZXJ0eU5hbWVzU291cmNlTWFwMV9FUzUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb21wdXRlZFByb3BlcnR5TmFtZXNTb3VyY2VNYXAxX0VTNS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUE7SUFBQTtJQU9BLENBQUM7SUFORyxZQUFDLE9BQU8sQ0FBQyxHQUFUO1FBQ0ksUUFBUSxDQUFDO0lBQ2IsQ0FBQztJQUNELHNCQUFJLHNCQUFXO2FBQWY7WUFDRixPQUFPLENBQUMsQ0FBQztRQUNQLENBQUM7OztPQUFBO0lBQ0wsUUFBQztBQUFELENBQUMsQUFQRCxJQU9DIn0=,Y2xhc3MgQyB7CiAgICBbImhlbGxvIl0oKSB7CiAgICAgICAgZGVidWdnZXI7CiAgICB9CiAgICBnZXQgWyJnb29kYnllIl0oKSB7CgkJcmV0dXJuIDA7CiAgICB9Cn0= diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.sourcemap.txt b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.sourcemap.txt index 48f9352edaba9..ccb781f12a5ff 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.sourcemap.txt +++ b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES5.sourcemap.txt @@ -8,17 +8,18 @@ sources: computedPropertyNamesSourceMap1_ES5.ts emittedFile:computedPropertyNamesSourceMap1_ES5.js sourceFile:computedPropertyNamesSourceMap1_ES5.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var C = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function C() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -33,8 +34,8 @@ sourceFile:computedPropertyNamesSourceMap1_ES5.ts > } > 2 > } -1->Emitted(3, 5) Source(8, 1) + SourceIndex(0) -2 >Emitted(3, 6) Source(8, 2) + SourceIndex(0) +1->Emitted(4, 5) Source(8, 1) + SourceIndex(0) +2 >Emitted(4, 6) Source(8, 2) + SourceIndex(0) --- >>> C.prototype["hello"] = function () { 1->^^^^ @@ -47,11 +48,11 @@ sourceFile:computedPropertyNamesSourceMap1_ES5.ts 3 > "hello" 4 > ] 5 > -1->Emitted(4, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(4, 17) Source(2, 6) + SourceIndex(0) -3 >Emitted(4, 24) Source(2, 13) + SourceIndex(0) -4 >Emitted(4, 25) Source(2, 14) + SourceIndex(0) -5 >Emitted(4, 28) Source(2, 5) + SourceIndex(0) +1->Emitted(5, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(5, 17) Source(2, 6) + SourceIndex(0) +3 >Emitted(5, 24) Source(2, 13) + SourceIndex(0) +4 >Emitted(5, 25) Source(2, 14) + SourceIndex(0) +5 >Emitted(5, 28) Source(2, 5) + SourceIndex(0) --- >>> debugger; 1 >^^^^^^^^ @@ -61,9 +62,9 @@ sourceFile:computedPropertyNamesSourceMap1_ES5.ts > 2 > debugger 3 > ; -1 >Emitted(5, 9) Source(3, 9) + SourceIndex(0) -2 >Emitted(5, 17) Source(3, 17) + SourceIndex(0) -3 >Emitted(5, 18) Source(3, 18) + SourceIndex(0) +1 >Emitted(6, 9) Source(3, 9) + SourceIndex(0) +2 >Emitted(6, 17) Source(3, 17) + SourceIndex(0) +3 >Emitted(6, 18) Source(3, 18) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -72,8 +73,8 @@ sourceFile:computedPropertyNamesSourceMap1_ES5.ts 1 > > 2 > } -1 >Emitted(6, 5) Source(4, 5) + SourceIndex(0) -2 >Emitted(6, 6) Source(4, 6) + SourceIndex(0) +1 >Emitted(7, 5) Source(4, 5) + SourceIndex(0) +2 >Emitted(7, 6) Source(4, 6) + SourceIndex(0) --- >>> Object.defineProperty(C.prototype, "goodbye", { 1->^^^^ @@ -83,15 +84,15 @@ sourceFile:computedPropertyNamesSourceMap1_ES5.ts > 2 > get 3 > ["goodbye"] -1->Emitted(7, 5) Source(5, 5) + SourceIndex(0) -2 >Emitted(7, 27) Source(5, 9) + SourceIndex(0) -3 >Emitted(7, 49) Source(5, 20) + SourceIndex(0) +1->Emitted(8, 5) Source(5, 5) + SourceIndex(0) +2 >Emitted(8, 27) Source(5, 9) + SourceIndex(0) +3 >Emitted(8, 49) Source(5, 20) + SourceIndex(0) --- >>> get: function () { 1 >^^^^^^^^^^^^^ 2 > ^^^^^^^^^-> 1 > -1 >Emitted(8, 14) Source(5, 5) + SourceIndex(0) +1 >Emitted(9, 14) Source(5, 5) + SourceIndex(0) --- >>> return 0; 1->^^^^^^^^^^^^ @@ -103,10 +104,10 @@ sourceFile:computedPropertyNamesSourceMap1_ES5.ts 2 > return 3 > 0 4 > ; -1->Emitted(9, 13) Source(6, 3) + SourceIndex(0) -2 >Emitted(9, 20) Source(6, 10) + SourceIndex(0) -3 >Emitted(9, 21) Source(6, 11) + SourceIndex(0) -4 >Emitted(9, 22) Source(6, 12) + SourceIndex(0) +1->Emitted(10, 13) Source(6, 3) + SourceIndex(0) +2 >Emitted(10, 20) Source(6, 10) + SourceIndex(0) +3 >Emitted(10, 21) Source(6, 11) + SourceIndex(0) +4 >Emitted(10, 22) Source(6, 12) + SourceIndex(0) --- >>> }, 1 >^^^^^^^^ @@ -115,8 +116,8 @@ sourceFile:computedPropertyNamesSourceMap1_ES5.ts 1 > > 2 > } -1 >Emitted(10, 9) Source(7, 5) + SourceIndex(0) -2 >Emitted(10, 10) Source(7, 6) + SourceIndex(0) +1 >Emitted(11, 9) Source(7, 5) + SourceIndex(0) +2 >Emitted(11, 10) Source(7, 6) + SourceIndex(0) --- >>> enumerable: false, >>> configurable: true @@ -124,7 +125,7 @@ sourceFile:computedPropertyNamesSourceMap1_ES5.ts 1->^^^^^^^ 2 > ^^^^^^^-> 1-> -1->Emitted(13, 8) Source(7, 6) + SourceIndex(0) +1->Emitted(14, 8) Source(7, 6) + SourceIndex(0) --- >>> return C; 1->^^^^ @@ -132,8 +133,8 @@ sourceFile:computedPropertyNamesSourceMap1_ES5.ts 1-> > 2 > } -1->Emitted(14, 5) Source(8, 1) + SourceIndex(0) -2 >Emitted(14, 13) Source(8, 2) + SourceIndex(0) +1->Emitted(15, 5) Source(8, 1) + SourceIndex(0) +2 >Emitted(15, 13) Source(8, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -152,9 +153,9 @@ sourceFile:computedPropertyNamesSourceMap1_ES5.ts > return 0; > } > } -1 >Emitted(15, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(15, 2) Source(8, 2) + SourceIndex(0) -3 >Emitted(15, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(15, 6) Source(8, 2) + SourceIndex(0) +1 >Emitted(16, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(16, 2) Source(8, 2) + SourceIndex(0) +3 >Emitted(16, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(16, 6) Source(8, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=computedPropertyNamesSourceMap1_ES5.js.map \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.js b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.js index 825d4ef54a390..7255eba4e0a4d 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.js @@ -11,6 +11,7 @@ class C { } //// [computedPropertyNamesSourceMap1_ES6.js] +"use strict"; class C { ["hello"]() { debugger; diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.js.map b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.js.map index 6ddcc3fc78a0f..d2d48073b48fb 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.js.map +++ b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.js.map @@ -1,3 +1,3 @@ //// [computedPropertyNamesSourceMap1_ES6.js.map] -{"version":3,"file":"computedPropertyNamesSourceMap1_ES6.js","sourceRoot":"","sources":["computedPropertyNamesSourceMap1_ES6.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;IACH,CAAC,OAAO,CAAC;QACL,QAAQ,CAAC;IAChB,CAAC;IACD,IAAI,CAAC,SAAS,CAAC;QACd,OAAO,CAAC,CAAC;IACV,CAAC;CACD"} -//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgQyB7DQogICAgWyJoZWxsbyJdKCkgew0KICAgICAgICBkZWJ1Z2dlcjsNCiAgICB9DQogICAgZ2V0IFsiZ29vZGJ5ZSJdKCkgew0KICAgICAgICByZXR1cm4gMDsNCiAgICB9DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1jb21wdXRlZFByb3BlcnR5TmFtZXNTb3VyY2VNYXAxX0VTNi5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcHV0ZWRQcm9wZXJ0eU5hbWVzU291cmNlTWFwMV9FUzYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb21wdXRlZFByb3BlcnR5TmFtZXNTb3VyY2VNYXAxX0VTNi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUM7SUFDSCxDQUFDLE9BQU8sQ0FBQztRQUNMLFFBQVEsQ0FBQztJQUNoQixDQUFDO0lBQ0QsSUFBSSxDQUFDLFNBQVMsQ0FBQztRQUNkLE9BQU8sQ0FBQyxDQUFDO0lBQ1YsQ0FBQztDQUNEIn0=,Y2xhc3MgQyB7CiAgICBbImhlbGxvIl0oKSB7CiAgICAgICAgZGVidWdnZXI7Cgl9CglnZXQgWyJnb29kYnllIl0oKSB7CgkJcmV0dXJuIDA7Cgl9Cn0= +{"version":3,"file":"computedPropertyNamesSourceMap1_ES6.js","sourceRoot":"","sources":["computedPropertyNamesSourceMap1_ES6.ts"],"names":[],"mappings":";AAAA,MAAM,CAAC;IACH,CAAC,OAAO,CAAC;QACL,QAAQ,CAAC;IAChB,CAAC;IACD,IAAI,CAAC,SAAS,CAAC;QACd,OAAO,CAAC,CAAC;IACV,CAAC;CACD"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KY2xhc3MgQyB7DQogICAgWyJoZWxsbyJdKCkgew0KICAgICAgICBkZWJ1Z2dlcjsNCiAgICB9DQogICAgZ2V0IFsiZ29vZGJ5ZSJdKCkgew0KICAgICAgICByZXR1cm4gMDsNCiAgICB9DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1jb21wdXRlZFByb3BlcnR5TmFtZXNTb3VyY2VNYXAxX0VTNi5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcHV0ZWRQcm9wZXJ0eU5hbWVzU291cmNlTWFwMV9FUzYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb21wdXRlZFByb3BlcnR5TmFtZXNTb3VyY2VNYXAxX0VTNi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsTUFBTSxDQUFDO0lBQ0gsQ0FBQyxPQUFPLENBQUM7UUFDTCxRQUFRLENBQUM7SUFDaEIsQ0FBQztJQUNELElBQUksQ0FBQyxTQUFTLENBQUM7UUFDZCxPQUFPLENBQUMsQ0FBQztJQUNWLENBQUM7Q0FDRCJ9,Y2xhc3MgQyB7CiAgICBbImhlbGxvIl0oKSB7CiAgICAgICAgZGVidWdnZXI7Cgl9CglnZXQgWyJnb29kYnllIl0oKSB7CgkJcmV0dXJuIDA7Cgl9Cn0= diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.sourcemap.txt b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.sourcemap.txt index c14bc528581dc..265476f52b205 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.sourcemap.txt +++ b/tests/baselines/reference/computedPropertyNamesSourceMap1_ES6.sourcemap.txt @@ -8,6 +8,7 @@ sources: computedPropertyNamesSourceMap1_ES6.ts emittedFile:computedPropertyNamesSourceMap1_ES6.js sourceFile:computedPropertyNamesSourceMap1_ES6.ts ------------------------------------------------------------------- +>>>"use strict"; >>>class C { 1 > 2 >^^^^^^ @@ -16,9 +17,9 @@ sourceFile:computedPropertyNamesSourceMap1_ES6.ts 1 > 2 >class 3 > C -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0) -3 >Emitted(1, 8) Source(1, 8) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 7) Source(1, 7) + SourceIndex(0) +3 >Emitted(2, 8) Source(1, 8) + SourceIndex(0) --- >>> ["hello"]() { 1->^^^^ @@ -31,10 +32,10 @@ sourceFile:computedPropertyNamesSourceMap1_ES6.ts 2 > [ 3 > "hello" 4 > ] -1->Emitted(2, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 6) Source(2, 6) + SourceIndex(0) -3 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) -4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 6) Source(2, 6) + SourceIndex(0) +3 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) +4 >Emitted(3, 14) Source(2, 14) + SourceIndex(0) --- >>> debugger; 1->^^^^^^^^ @@ -44,9 +45,9 @@ sourceFile:computedPropertyNamesSourceMap1_ES6.ts > 2 > debugger 3 > ; -1->Emitted(3, 9) Source(3, 9) + SourceIndex(0) -2 >Emitted(3, 17) Source(3, 17) + SourceIndex(0) -3 >Emitted(3, 18) Source(3, 18) + SourceIndex(0) +1->Emitted(4, 9) Source(3, 9) + SourceIndex(0) +2 >Emitted(4, 17) Source(3, 17) + SourceIndex(0) +3 >Emitted(4, 18) Source(3, 18) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -55,8 +56,8 @@ sourceFile:computedPropertyNamesSourceMap1_ES6.ts 1 > > 2 > } -1 >Emitted(4, 5) Source(4, 2) + SourceIndex(0) -2 >Emitted(4, 6) Source(4, 3) + SourceIndex(0) +1 >Emitted(5, 5) Source(4, 2) + SourceIndex(0) +2 >Emitted(5, 6) Source(4, 3) + SourceIndex(0) --- >>> get ["goodbye"]() { 1->^^^^ @@ -70,11 +71,11 @@ sourceFile:computedPropertyNamesSourceMap1_ES6.ts 3 > [ 4 > "goodbye" 5 > ] -1->Emitted(5, 5) Source(5, 2) + SourceIndex(0) -2 >Emitted(5, 9) Source(5, 6) + SourceIndex(0) -3 >Emitted(5, 10) Source(5, 7) + SourceIndex(0) -4 >Emitted(5, 19) Source(5, 16) + SourceIndex(0) -5 >Emitted(5, 20) Source(5, 17) + SourceIndex(0) +1->Emitted(6, 5) Source(5, 2) + SourceIndex(0) +2 >Emitted(6, 9) Source(5, 6) + SourceIndex(0) +3 >Emitted(6, 10) Source(5, 7) + SourceIndex(0) +4 >Emitted(6, 19) Source(5, 16) + SourceIndex(0) +5 >Emitted(6, 20) Source(5, 17) + SourceIndex(0) --- >>> return 0; 1 >^^^^^^^^ @@ -86,10 +87,10 @@ sourceFile:computedPropertyNamesSourceMap1_ES6.ts 2 > return 3 > 0 4 > ; -1 >Emitted(6, 9) Source(6, 3) + SourceIndex(0) -2 >Emitted(6, 16) Source(6, 10) + SourceIndex(0) -3 >Emitted(6, 17) Source(6, 11) + SourceIndex(0) -4 >Emitted(6, 18) Source(6, 12) + SourceIndex(0) +1 >Emitted(7, 9) Source(6, 3) + SourceIndex(0) +2 >Emitted(7, 16) Source(6, 10) + SourceIndex(0) +3 >Emitted(7, 17) Source(6, 11) + SourceIndex(0) +4 >Emitted(7, 18) Source(6, 12) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -97,14 +98,14 @@ sourceFile:computedPropertyNamesSourceMap1_ES6.ts 1 > > 2 > } -1 >Emitted(7, 5) Source(7, 2) + SourceIndex(0) -2 >Emitted(7, 6) Source(7, 3) + SourceIndex(0) +1 >Emitted(8, 5) Source(7, 2) + SourceIndex(0) +2 >Emitted(8, 6) Source(7, 3) + SourceIndex(0) --- >>>} 1 >^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > >} -1 >Emitted(8, 2) Source(8, 2) + SourceIndex(0) +1 >Emitted(9, 2) Source(8, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=computedPropertyNamesSourceMap1_ES6.js.map \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.js b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.js index 17e87c67eca03..1b511fbfa4c00 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.js +++ b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.js @@ -11,6 +11,7 @@ var v = { } //// [computedPropertyNamesSourceMap2_ES5.js] +"use strict"; var _a; var v = (_a = {}, _a["hello"] = function () { diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.js.map b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.js.map index 1f5268e844fe8..362805d3a8c88 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.js.map +++ b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.js.map @@ -1,3 +1,3 @@ //// [computedPropertyNamesSourceMap2_ES5.js.map] -{"version":3,"file":"computedPropertyNamesSourceMap2_ES5.js","sourceRoot":"","sources":["computedPropertyNamesSourceMap2_ES5.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC;IACD,GAAC,OAAO,IAAR;QACI,QAAQ,CAAC;IAChB,CAAC;0BACM,aAAW;aAAf;YACF,OAAO,CAAC,CAAC;QACV,CAAC;;;;OACD,CAAA"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9hOw0KdmFyIHYgPSAoX2EgPSB7fSwNCiAgICBfYVsiaGVsbG8iXSA9IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgZGVidWdnZXI7DQogICAgfSwNCiAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoX2EsICJnb29kYnllIiwgew0KICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgICAgIHJldHVybiAwOw0KICAgICAgICB9LA0KICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwNCiAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlDQogICAgfSksDQogICAgX2EpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9Y29tcHV0ZWRQcm9wZXJ0eU5hbWVzU291cmNlTWFwMl9FUzUuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcHV0ZWRQcm9wZXJ0eU5hbWVzU291cmNlTWFwMl9FUzUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb21wdXRlZFByb3BlcnR5TmFtZXNTb3VyY2VNYXAyX0VTNS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsSUFBSSxDQUFDO0lBQ0QsR0FBQyxPQUFPLElBQVI7UUFDSSxRQUFRLENBQUM7SUFDaEIsQ0FBQzswQkFDTSxhQUFXO2FBQWY7WUFDRixPQUFPLENBQUMsQ0FBQztRQUNWLENBQUM7Ozs7T0FDRCxDQUFBIn0=,dmFyIHYgPSB7CiAgICBbImhlbGxvIl0oKSB7CiAgICAgICAgZGVidWdnZXI7Cgl9LAogICAgZ2V0IFsiZ29vZGJ5ZSJdKCkgewoJCXJldHVybiAwOwoJfQp9 +{"version":3,"file":"computedPropertyNamesSourceMap2_ES5.js","sourceRoot":"","sources":["computedPropertyNamesSourceMap2_ES5.ts"],"names":[],"mappings":";;AAAA,IAAI,CAAC;IACD,GAAC,OAAO,IAAR;QACI,QAAQ,CAAC;IAChB,CAAC;0BACM,aAAW;aAAf;YACF,OAAO,CAAC,CAAC;QACV,CAAC;;;;OACD,CAAA"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIF9hOw0KdmFyIHYgPSAoX2EgPSB7fSwNCiAgICBfYVsiaGVsbG8iXSA9IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgZGVidWdnZXI7DQogICAgfSwNCiAgICBPYmplY3QuZGVmaW5lUHJvcGVydHkoX2EsICJnb29kYnllIiwgew0KICAgICAgICBnZXQ6IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgICAgIHJldHVybiAwOw0KICAgICAgICB9LA0KICAgICAgICBlbnVtZXJhYmxlOiBmYWxzZSwNCiAgICAgICAgY29uZmlndXJhYmxlOiB0cnVlDQogICAgfSksDQogICAgX2EpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9Y29tcHV0ZWRQcm9wZXJ0eU5hbWVzU291cmNlTWFwMl9FUzUuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcHV0ZWRQcm9wZXJ0eU5hbWVzU291cmNlTWFwMl9FUzUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb21wdXRlZFByb3BlcnR5TmFtZXNTb3VyY2VNYXAyX0VTNS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOztBQUFBLElBQUksQ0FBQztJQUNELEdBQUMsT0FBTyxJQUFSO1FBQ0ksUUFBUSxDQUFDO0lBQ2hCLENBQUM7MEJBQ00sYUFBVzthQUFmO1lBQ0YsT0FBTyxDQUFDLENBQUM7UUFDVixDQUFDOzs7O09BQ0QsQ0FBQSJ9,dmFyIHYgPSB7CiAgICBbImhlbGxvIl0oKSB7CiAgICAgICAgZGVidWdnZXI7Cgl9LAogICAgZ2V0IFsiZ29vZGJ5ZSJdKCkgewoJCXJldHVybiAwOwoJfQp9 diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.sourcemap.txt b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.sourcemap.txt index acc372dd2b671..d89df76a5f691 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.sourcemap.txt +++ b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES5.sourcemap.txt @@ -8,6 +8,7 @@ sources: computedPropertyNamesSourceMap2_ES5.ts emittedFile:computedPropertyNamesSourceMap2_ES5.js sourceFile:computedPropertyNamesSourceMap2_ES5.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a; >>>var v = (_a = {}, 1 > @@ -17,9 +18,9 @@ sourceFile:computedPropertyNamesSourceMap2_ES5.ts 1 > 2 >var 3 > v -1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +1 >Emitted(3, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(3, 6) Source(1, 6) + SourceIndex(0) --- >>> _a["hello"] = function () { 1->^^^^ @@ -31,10 +32,10 @@ sourceFile:computedPropertyNamesSourceMap2_ES5.ts 2 > [ 3 > "hello" 4 > -1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(3, 8) Source(2, 6) + SourceIndex(0) -3 >Emitted(3, 15) Source(2, 13) + SourceIndex(0) -4 >Emitted(3, 19) Source(2, 5) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(4, 8) Source(2, 6) + SourceIndex(0) +3 >Emitted(4, 15) Source(2, 13) + SourceIndex(0) +4 >Emitted(4, 19) Source(2, 5) + SourceIndex(0) --- >>> debugger; 1 >^^^^^^^^ @@ -44,9 +45,9 @@ sourceFile:computedPropertyNamesSourceMap2_ES5.ts > 2 > debugger 3 > ; -1 >Emitted(4, 9) Source(3, 9) + SourceIndex(0) -2 >Emitted(4, 17) Source(3, 17) + SourceIndex(0) -3 >Emitted(4, 18) Source(3, 18) + SourceIndex(0) +1 >Emitted(5, 9) Source(3, 9) + SourceIndex(0) +2 >Emitted(5, 17) Source(3, 17) + SourceIndex(0) +3 >Emitted(5, 18) Source(3, 18) + SourceIndex(0) --- >>> }, 1 >^^^^ @@ -55,8 +56,8 @@ sourceFile:computedPropertyNamesSourceMap2_ES5.ts 1 > > 2 > } -1 >Emitted(5, 5) Source(4, 2) + SourceIndex(0) -2 >Emitted(5, 6) Source(4, 3) + SourceIndex(0) +1 >Emitted(6, 5) Source(4, 2) + SourceIndex(0) +2 >Emitted(6, 6) Source(4, 3) + SourceIndex(0) --- >>> Object.defineProperty(_a, "goodbye", { 1->^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -64,14 +65,14 @@ sourceFile:computedPropertyNamesSourceMap2_ES5.ts 1->, > get 2 > ["goodbye"] -1->Emitted(6, 27) Source(5, 9) + SourceIndex(0) -2 >Emitted(6, 40) Source(5, 20) + SourceIndex(0) +1->Emitted(7, 27) Source(5, 9) + SourceIndex(0) +2 >Emitted(7, 40) Source(5, 20) + SourceIndex(0) --- >>> get: function () { 1 >^^^^^^^^^^^^^ 2 > ^^^^^^^^^-> 1 > -1 >Emitted(7, 14) Source(5, 5) + SourceIndex(0) +1 >Emitted(8, 14) Source(5, 5) + SourceIndex(0) --- >>> return 0; 1->^^^^^^^^^^^^ @@ -83,10 +84,10 @@ sourceFile:computedPropertyNamesSourceMap2_ES5.ts 2 > return 3 > 0 4 > ; -1->Emitted(8, 13) Source(6, 3) + SourceIndex(0) -2 >Emitted(8, 20) Source(6, 10) + SourceIndex(0) -3 >Emitted(8, 21) Source(6, 11) + SourceIndex(0) -4 >Emitted(8, 22) Source(6, 12) + SourceIndex(0) +1->Emitted(9, 13) Source(6, 3) + SourceIndex(0) +2 >Emitted(9, 20) Source(6, 10) + SourceIndex(0) +3 >Emitted(9, 21) Source(6, 11) + SourceIndex(0) +4 >Emitted(9, 22) Source(6, 12) + SourceIndex(0) --- >>> }, 1 >^^^^^^^^ @@ -95,8 +96,8 @@ sourceFile:computedPropertyNamesSourceMap2_ES5.ts 1 > > 2 > } -1 >Emitted(9, 9) Source(7, 2) + SourceIndex(0) -2 >Emitted(9, 10) Source(7, 3) + SourceIndex(0) +1 >Emitted(10, 9) Source(7, 2) + SourceIndex(0) +2 >Emitted(10, 10) Source(7, 3) + SourceIndex(0) --- >>> enumerable: false, >>> configurable: true @@ -108,7 +109,7 @@ sourceFile:computedPropertyNamesSourceMap2_ES5.ts 1-> >} 2 > -1->Emitted(13, 8) Source(8, 2) + SourceIndex(0) -2 >Emitted(13, 9) Source(8, 2) + SourceIndex(0) +1->Emitted(14, 8) Source(8, 2) + SourceIndex(0) +2 >Emitted(14, 9) Source(8, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=computedPropertyNamesSourceMap2_ES5.js.map \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.js b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.js index 52a3db29a81e5..ff95ed9381ede 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.js +++ b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.js @@ -11,6 +11,7 @@ var v = { } //// [computedPropertyNamesSourceMap2_ES6.js] +"use strict"; var v = { ["hello"]() { debugger; diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.js.map b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.js.map index 862c36e1b5caa..9139e7ca72987 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.js.map +++ b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.js.map @@ -1,3 +1,3 @@ //// [computedPropertyNamesSourceMap2_ES6.js.map] -{"version":3,"file":"computedPropertyNamesSourceMap2_ES6.js","sourceRoot":"","sources":["computedPropertyNamesSourceMap2_ES6.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG;IACJ,CAAC,OAAO,CAAC;QACL,QAAQ,CAAC;IAChB,CAAC;IACD,IAAI,CAAC,SAAS,CAAC;QACd,OAAO,CAAC,CAAC;IACV,CAAC;CACD,CAAA"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHYgPSB7DQogICAgWyJoZWxsbyJdKCkgew0KICAgICAgICBkZWJ1Z2dlcjsNCiAgICB9LA0KICAgIGdldCBbImdvb2RieWUiXSgpIHsNCiAgICAgICAgcmV0dXJuIDA7DQogICAgfQ0KfTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWNvbXB1dGVkUHJvcGVydHlOYW1lc1NvdXJjZU1hcDJfRVM2LmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcHV0ZWRQcm9wZXJ0eU5hbWVzU291cmNlTWFwMl9FUzYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb21wdXRlZFByb3BlcnR5TmFtZXNTb3VyY2VNYXAyX0VTNi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxJQUFJLENBQUMsR0FBRztJQUNKLENBQUMsT0FBTyxDQUFDO1FBQ0wsUUFBUSxDQUFDO0lBQ2hCLENBQUM7SUFDRCxJQUFJLENBQUMsU0FBUyxDQUFDO1FBQ2QsT0FBTyxDQUFDLENBQUM7SUFDVixDQUFDO0NBQ0QsQ0FBQSJ9,dmFyIHYgPSB7CiAgICBbImhlbGxvIl0oKSB7CiAgICAgICAgZGVidWdnZXI7Cgl9LAoJZ2V0IFsiZ29vZGJ5ZSJdKCkgewoJCXJldHVybiAwOwoJfQp9 +{"version":3,"file":"computedPropertyNamesSourceMap2_ES6.js","sourceRoot":"","sources":["computedPropertyNamesSourceMap2_ES6.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG;IACJ,CAAC,OAAO,CAAC;QACL,QAAQ,CAAC;IAChB,CAAC;IACD,IAAI,CAAC,SAAS,CAAC;QACd,OAAO,CAAC,CAAC;IACV,CAAC;CACD,CAAA"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIHYgPSB7DQogICAgWyJoZWxsbyJdKCkgew0KICAgICAgICBkZWJ1Z2dlcjsNCiAgICB9LA0KICAgIGdldCBbImdvb2RieWUiXSgpIHsNCiAgICAgICAgcmV0dXJuIDA7DQogICAgfQ0KfTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWNvbXB1dGVkUHJvcGVydHlOYW1lc1NvdXJjZU1hcDJfRVM2LmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcHV0ZWRQcm9wZXJ0eU5hbWVzU291cmNlTWFwMl9FUzYuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJjb21wdXRlZFByb3BlcnR5TmFtZXNTb3VyY2VNYXAyX0VTNi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsSUFBSSxDQUFDLEdBQUc7SUFDSixDQUFDLE9BQU8sQ0FBQztRQUNMLFFBQVEsQ0FBQztJQUNoQixDQUFDO0lBQ0QsSUFBSSxDQUFDLFNBQVMsQ0FBQztRQUNkLE9BQU8sQ0FBQyxDQUFDO0lBQ1YsQ0FBQztDQUNELENBQUEifQ==,dmFyIHYgPSB7CiAgICBbImhlbGxvIl0oKSB7CiAgICAgICAgZGVidWdnZXI7Cgl9LAoJZ2V0IFsiZ29vZGJ5ZSJdKCkgewoJCXJldHVybiAwOwoJfQp9 diff --git a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.sourcemap.txt b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.sourcemap.txt index f16a328f6c1f1..cdf2034a85f33 100644 --- a/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.sourcemap.txt +++ b/tests/baselines/reference/computedPropertyNamesSourceMap2_ES6.sourcemap.txt @@ -8,6 +8,7 @@ sources: computedPropertyNamesSourceMap2_ES6.ts emittedFile:computedPropertyNamesSourceMap2_ES6.js sourceFile:computedPropertyNamesSourceMap2_ES6.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var v = { 1 > 2 >^^^^ @@ -18,10 +19,10 @@ sourceFile:computedPropertyNamesSourceMap2_ES6.ts 2 >var 3 > v 4 > = -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) --- >>> ["hello"]() { 1->^^^^ @@ -34,10 +35,10 @@ sourceFile:computedPropertyNamesSourceMap2_ES6.ts 2 > [ 3 > "hello" 4 > ] -1->Emitted(2, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 6) Source(2, 6) + SourceIndex(0) -3 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) -4 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) +1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 6) Source(2, 6) + SourceIndex(0) +3 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) +4 >Emitted(3, 14) Source(2, 14) + SourceIndex(0) --- >>> debugger; 1->^^^^^^^^ @@ -47,9 +48,9 @@ sourceFile:computedPropertyNamesSourceMap2_ES6.ts > 2 > debugger 3 > ; -1->Emitted(3, 9) Source(3, 9) + SourceIndex(0) -2 >Emitted(3, 17) Source(3, 17) + SourceIndex(0) -3 >Emitted(3, 18) Source(3, 18) + SourceIndex(0) +1->Emitted(4, 9) Source(3, 9) + SourceIndex(0) +2 >Emitted(4, 17) Source(3, 17) + SourceIndex(0) +3 >Emitted(4, 18) Source(3, 18) + SourceIndex(0) --- >>> }, 1 >^^^^ @@ -58,8 +59,8 @@ sourceFile:computedPropertyNamesSourceMap2_ES6.ts 1 > > 2 > } -1 >Emitted(4, 5) Source(4, 2) + SourceIndex(0) -2 >Emitted(4, 6) Source(4, 3) + SourceIndex(0) +1 >Emitted(5, 5) Source(4, 2) + SourceIndex(0) +2 >Emitted(5, 6) Source(4, 3) + SourceIndex(0) --- >>> get ["goodbye"]() { 1->^^^^ @@ -73,11 +74,11 @@ sourceFile:computedPropertyNamesSourceMap2_ES6.ts 3 > [ 4 > "goodbye" 5 > ] -1->Emitted(5, 5) Source(5, 2) + SourceIndex(0) -2 >Emitted(5, 9) Source(5, 6) + SourceIndex(0) -3 >Emitted(5, 10) Source(5, 7) + SourceIndex(0) -4 >Emitted(5, 19) Source(5, 16) + SourceIndex(0) -5 >Emitted(5, 20) Source(5, 17) + SourceIndex(0) +1->Emitted(6, 5) Source(5, 2) + SourceIndex(0) +2 >Emitted(6, 9) Source(5, 6) + SourceIndex(0) +3 >Emitted(6, 10) Source(5, 7) + SourceIndex(0) +4 >Emitted(6, 19) Source(5, 16) + SourceIndex(0) +5 >Emitted(6, 20) Source(5, 17) + SourceIndex(0) --- >>> return 0; 1 >^^^^^^^^ @@ -89,10 +90,10 @@ sourceFile:computedPropertyNamesSourceMap2_ES6.ts 2 > return 3 > 0 4 > ; -1 >Emitted(6, 9) Source(6, 3) + SourceIndex(0) -2 >Emitted(6, 16) Source(6, 10) + SourceIndex(0) -3 >Emitted(6, 17) Source(6, 11) + SourceIndex(0) -4 >Emitted(6, 18) Source(6, 12) + SourceIndex(0) +1 >Emitted(7, 9) Source(6, 3) + SourceIndex(0) +2 >Emitted(7, 16) Source(6, 10) + SourceIndex(0) +3 >Emitted(7, 17) Source(6, 11) + SourceIndex(0) +4 >Emitted(7, 18) Source(6, 12) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -100,8 +101,8 @@ sourceFile:computedPropertyNamesSourceMap2_ES6.ts 1 > > 2 > } -1 >Emitted(7, 5) Source(7, 2) + SourceIndex(0) -2 >Emitted(7, 6) Source(7, 3) + SourceIndex(0) +1 >Emitted(8, 5) Source(7, 2) + SourceIndex(0) +2 >Emitted(8, 6) Source(7, 3) + SourceIndex(0) --- >>>}; 1 >^ @@ -110,7 +111,7 @@ sourceFile:computedPropertyNamesSourceMap2_ES6.ts 1 > >} 2 > -1 >Emitted(8, 2) Source(8, 2) + SourceIndex(0) -2 >Emitted(8, 3) Source(8, 2) + SourceIndex(0) +1 >Emitted(9, 2) Source(8, 2) + SourceIndex(0) +2 >Emitted(9, 3) Source(8, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=computedPropertyNamesSourceMap2_ES6.js.map \ No newline at end of file diff --git a/tests/baselines/reference/computedPropertyNamesWithStaticProperty.js b/tests/baselines/reference/computedPropertyNamesWithStaticProperty.js index 63068159d9039..9b168318299b8 100644 --- a/tests/baselines/reference/computedPropertyNamesWithStaticProperty.js +++ b/tests/baselines/reference/computedPropertyNamesWithStaticProperty.js @@ -25,6 +25,7 @@ class C1 { //// [computedPropertyNamesWithStaticProperty.js] +"use strict"; var _a; class C1 { get [C1.staticProp]() { diff --git a/tests/baselines/reference/computedTypesKeyofNoIndexSignatureType.js b/tests/baselines/reference/computedTypesKeyofNoIndexSignatureType.js index cd3a70a999e07..0bfa521a807df 100644 --- a/tests/baselines/reference/computedTypesKeyofNoIndexSignatureType.js +++ b/tests/baselines/reference/computedTypesKeyofNoIndexSignatureType.js @@ -23,3 +23,4 @@ type WithIndexKey = keyof WithIndex; // string | number <-- Expected: stri type WithoutIndexKey = keyof WithoutIndex; // number <-- Expected: "foo" | "bar" //// [computedTypesKeyofNoIndexSignatureType.js] +"use strict"; diff --git a/tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed.js b/tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed.js index 5de7313f00b1b..5c9d680aa9dd5 100644 --- a/tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed.js +++ b/tests/baselines/reference/computerPropertiesInES5ShouldBeTransformed.js @@ -4,6 +4,7 @@ const b = ({ [`key`]: renamed }) => renamed; //// [computerPropertiesInES5ShouldBeTransformed.js] +"use strict"; var b = function (_a) { var _b = "key", renamed = _a[_b]; return renamed; diff --git a/tests/baselines/reference/concatClassAndString.js b/tests/baselines/reference/concatClassAndString.js index bbce610973cae..bd69e2bf37e2e 100644 --- a/tests/baselines/reference/concatClassAndString.js +++ b/tests/baselines/reference/concatClassAndString.js @@ -8,6 +8,7 @@ f += ''; //// [concatClassAndString.js] +"use strict"; // Shouldn't compile (the long form f = f + ""; doesn't): var f = /** @class */ (function () { function f() { diff --git a/tests/baselines/reference/concatError.js b/tests/baselines/reference/concatError.js index 45a21a0fd77b5..59122be07b80e 100644 --- a/tests/baselines/reference/concatError.js +++ b/tests/baselines/reference/concatError.js @@ -34,6 +34,7 @@ c = c.m(cc); */ //// [concatError.js] +"use strict"; var n1; /* interface Array { diff --git a/tests/baselines/reference/concatTuples.js b/tests/baselines/reference/concatTuples.js index 8f7111814b0d7..0937cc172fabc 100644 --- a/tests/baselines/reference/concatTuples.js +++ b/tests/baselines/reference/concatTuples.js @@ -6,5 +6,6 @@ ijs = ijs.concat([[3, 4], [5, 6]]); //// [concatTuples.js] +"use strict"; var ijs = [[1, 2]]; ijs = ijs.concat([[3, 4], [5, 6]]); diff --git a/tests/baselines/reference/conditionalAnyCheckTypePicksBothBranches.js b/tests/baselines/reference/conditionalAnyCheckTypePicksBothBranches.js index e168a4d7c9dd6..df00000673aca 100644 --- a/tests/baselines/reference/conditionalAnyCheckTypePicksBothBranches.js +++ b/tests/baselines/reference/conditionalAnyCheckTypePicksBothBranches.js @@ -12,6 +12,7 @@ y = 1; y = 0; // error //// [conditionalAnyCheckTypePicksBothBranches.js] +"use strict"; var x; x = 1; x = 0; // not an error diff --git a/tests/baselines/reference/conditionalDoesntLeakUninstantiatedTypeParameter.js b/tests/baselines/reference/conditionalDoesntLeakUninstantiatedTypeParameter.js index d8dc5c2382e25..e6f0487665ea4 100644 --- a/tests/baselines/reference/conditionalDoesntLeakUninstantiatedTypeParameter.js +++ b/tests/baselines/reference/conditionalDoesntLeakUninstantiatedTypeParameter.js @@ -11,5 +11,6 @@ const z: TestSynthetic = '3'; // Type '"3""' is not assignable to type 'T'. (sho //// [conditionalDoesntLeakUninstantiatedTypeParameter.js] +"use strict"; var y = 3; // Type '3' is not assignable to type 'T'. (shouldn't error) var z = '3'; // Type '"3""' is not assignable to type 'T'. (should not mention T) diff --git a/tests/baselines/reference/conditionalEqualityOnLiteralObjects.js b/tests/baselines/reference/conditionalEqualityOnLiteralObjects.js index 7ba1eb03bdb1d..cbc11f5cbca61 100644 --- a/tests/baselines/reference/conditionalEqualityOnLiteralObjects.js +++ b/tests/baselines/reference/conditionalEqualityOnLiteralObjects.js @@ -58,6 +58,7 @@ if ([1] != b) { //// [conditionalEqualityOnLiteralObjects.js] +"use strict"; var a = { a: 1 }; var b = [1]; if ({ a: 1 } === { a: 1 }) { diff --git a/tests/baselines/reference/conditionalExpression1.js b/tests/baselines/reference/conditionalExpression1.js index 1a55dd0372edd..88723ce6df89a 100644 --- a/tests/baselines/reference/conditionalExpression1.js +++ b/tests/baselines/reference/conditionalExpression1.js @@ -4,4 +4,5 @@ var x: boolean = (true ? 1 : ""); // should be an error //// [conditionalExpression1.js] +"use strict"; var x = (true ? 1 : ""); // should be an error diff --git a/tests/baselines/reference/conditionalExpressionNewLine1.js b/tests/baselines/reference/conditionalExpressionNewLine1.js index d042dd4cbca69..fbb058cf6bbe6 100644 --- a/tests/baselines/reference/conditionalExpressionNewLine1.js +++ b/tests/baselines/reference/conditionalExpressionNewLine1.js @@ -4,4 +4,5 @@ var v = a ? b : c; //// [conditionalExpressionNewLine1.js] +"use strict"; var v = a ? b : c; diff --git a/tests/baselines/reference/conditionalExpressionNewLine10.js b/tests/baselines/reference/conditionalExpressionNewLine10.js index a433164b082ef..72b56e9b240a7 100644 --- a/tests/baselines/reference/conditionalExpressionNewLine10.js +++ b/tests/baselines/reference/conditionalExpressionNewLine10.js @@ -10,6 +10,7 @@ var v = a : g; //// [conditionalExpressionNewLine10.js] +"use strict"; var v = a ? b ? d diff --git a/tests/baselines/reference/conditionalExpressionNewLine2.js b/tests/baselines/reference/conditionalExpressionNewLine2.js index 3ccacaa68e514..471f919759f85 100644 --- a/tests/baselines/reference/conditionalExpressionNewLine2.js +++ b/tests/baselines/reference/conditionalExpressionNewLine2.js @@ -5,5 +5,6 @@ var v = a ? b : c; //// [conditionalExpressionNewLine2.js] +"use strict"; var v = a ? b : c; diff --git a/tests/baselines/reference/conditionalExpressionNewLine3.js b/tests/baselines/reference/conditionalExpressionNewLine3.js index 36b125a612851..a958e1528f7af 100644 --- a/tests/baselines/reference/conditionalExpressionNewLine3.js +++ b/tests/baselines/reference/conditionalExpressionNewLine3.js @@ -5,5 +5,6 @@ var v = a ? b : c; //// [conditionalExpressionNewLine3.js] +"use strict"; var v = a ? b : c; diff --git a/tests/baselines/reference/conditionalExpressionNewLine4.js b/tests/baselines/reference/conditionalExpressionNewLine4.js index ce81225b5ae0a..ab29ef232e6ef 100644 --- a/tests/baselines/reference/conditionalExpressionNewLine4.js +++ b/tests/baselines/reference/conditionalExpressionNewLine4.js @@ -5,5 +5,6 @@ var v = a ? b : c; //// [conditionalExpressionNewLine4.js] +"use strict"; var v = a ? b : c; diff --git a/tests/baselines/reference/conditionalExpressionNewLine5.js b/tests/baselines/reference/conditionalExpressionNewLine5.js index 833a2f3ea9b8a..e7870e518e704 100644 --- a/tests/baselines/reference/conditionalExpressionNewLine5.js +++ b/tests/baselines/reference/conditionalExpressionNewLine5.js @@ -5,5 +5,6 @@ var v = a ? b : c; //// [conditionalExpressionNewLine5.js] +"use strict"; var v = a ? b : c; diff --git a/tests/baselines/reference/conditionalExpressionNewLine6.js b/tests/baselines/reference/conditionalExpressionNewLine6.js index c451af15fefcc..a93c10511cceb 100644 --- a/tests/baselines/reference/conditionalExpressionNewLine6.js +++ b/tests/baselines/reference/conditionalExpressionNewLine6.js @@ -6,6 +6,7 @@ var v = a : c; //// [conditionalExpressionNewLine6.js] +"use strict"; var v = a ? b : c; diff --git a/tests/baselines/reference/conditionalExpressionNewLine7.js b/tests/baselines/reference/conditionalExpressionNewLine7.js index b84f5466ac730..d5878e47f40ed 100644 --- a/tests/baselines/reference/conditionalExpressionNewLine7.js +++ b/tests/baselines/reference/conditionalExpressionNewLine7.js @@ -6,6 +6,7 @@ var v = a ? c; //// [conditionalExpressionNewLine7.js] +"use strict"; var v = a ? b : c; diff --git a/tests/baselines/reference/conditionalExpressionNewLine8.js b/tests/baselines/reference/conditionalExpressionNewLine8.js index 97ee2efcf912f..6e2bf7dfe1abd 100644 --- a/tests/baselines/reference/conditionalExpressionNewLine8.js +++ b/tests/baselines/reference/conditionalExpressionNewLine8.js @@ -6,6 +6,7 @@ var v = a : c ? f : g; //// [conditionalExpressionNewLine8.js] +"use strict"; var v = a ? b ? d : e : c ? f : g; diff --git a/tests/baselines/reference/conditionalExpressionNewLine9.js b/tests/baselines/reference/conditionalExpressionNewLine9.js index 36d120bc50bcd..81049b3593115 100644 --- a/tests/baselines/reference/conditionalExpressionNewLine9.js +++ b/tests/baselines/reference/conditionalExpressionNewLine9.js @@ -8,6 +8,7 @@ var v = a ? f : g; //// [conditionalExpressionNewLine9.js] +"use strict"; var v = a ? b ? d : e diff --git a/tests/baselines/reference/conditionalExpressions2.js b/tests/baselines/reference/conditionalExpressions2.js index 6bc156d2d2958..4613366f2c46c 100644 --- a/tests/baselines/reference/conditionalExpressions2.js +++ b/tests/baselines/reference/conditionalExpressions2.js @@ -12,6 +12,7 @@ var h = [{h:5}, null]; function i() { if (true) { return { x: 5 }; } else { return null; } } //// [conditionalExpressions2.js] +"use strict"; var a = false ? 1 : null; var b = false ? undefined : 0; var c = false ? 1 : 0; diff --git a/tests/baselines/reference/conditionalOperatorConditionIsBooleanType.js b/tests/baselines/reference/conditionalOperatorConditionIsBooleanType.js index 88c135aa412f3..a1dde6622ef1a 100644 --- a/tests/baselines/reference/conditionalOperatorConditionIsBooleanType.js +++ b/tests/baselines/reference/conditionalOperatorConditionIsBooleanType.js @@ -65,6 +65,7 @@ var resultIsStringOrBoolean4 = typeof "123" === "string" ? exprString1 : exprBoo //// [conditionalOperatorConditionIsBooleanType.js] +"use strict"; //Cond ? Expr1 : Expr2, Cond is of boolean type, Expr1 and Expr2 have the same type var condBoolean; var exprAny1; diff --git a/tests/baselines/reference/conditionalOperatorConditionIsNumberType.js b/tests/baselines/reference/conditionalOperatorConditionIsNumberType.js index 49d2a4d2b3975..98c23b6455594 100644 --- a/tests/baselines/reference/conditionalOperatorConditionIsNumberType.js +++ b/tests/baselines/reference/conditionalOperatorConditionIsNumberType.js @@ -66,6 +66,7 @@ var resultIsObject3 = foo() / array[1] ? exprIsObject1 : exprIsObject2; var resultIsStringOrBoolean3 = foo() / array[1] ? exprString1 : exprBoolean1; // Union //// [conditionalOperatorConditionIsNumberType.js] +"use strict"; //Cond is a number type variable condNumber ? exprAny1 : exprAny2; condNumber ? exprBoolean1 : exprBoolean2; diff --git a/tests/baselines/reference/conditionalOperatorConditionIsObjectType.js b/tests/baselines/reference/conditionalOperatorConditionIsObjectType.js index dd8a5c26dc179..768d89f556009 100644 --- a/tests/baselines/reference/conditionalOperatorConditionIsObjectType.js +++ b/tests/baselines/reference/conditionalOperatorConditionIsObjectType.js @@ -67,6 +67,7 @@ var resultIsStringOrBoolean3 = C.doIt() ? exprString1 : exprBoolean1; // union //// [conditionalOperatorConditionIsObjectType.js] +"use strict"; function foo() { } ; var C = /** @class */ (function () { diff --git a/tests/baselines/reference/conditionalOperatorConditoinIsAnyType.js b/tests/baselines/reference/conditionalOperatorConditoinIsAnyType.js index 767338af18bd2..d87680008c064 100644 --- a/tests/baselines/reference/conditionalOperatorConditoinIsAnyType.js +++ b/tests/baselines/reference/conditionalOperatorConditoinIsAnyType.js @@ -66,6 +66,7 @@ var resultIsObject3 = x.doSomeThing() ? exprIsObject1 : exprIsObject2; var resultIsStringOrBoolean5 = x.doSomeThing() ? exprString1 : exprBoolean1; // union //// [conditionalOperatorConditoinIsAnyType.js] +"use strict"; //Cond is an any type variable condAny ? exprAny1 : exprAny2; condAny ? exprBoolean1 : exprBoolean2; diff --git a/tests/baselines/reference/conditionalOperatorConditoinIsStringType.js b/tests/baselines/reference/conditionalOperatorConditoinIsStringType.js index 6d4c04abf537d..d4faf9c46b5a3 100644 --- a/tests/baselines/reference/conditionalOperatorConditoinIsStringType.js +++ b/tests/baselines/reference/conditionalOperatorConditoinIsStringType.js @@ -67,6 +67,7 @@ var resultIsStringOrBoolean3 = typeof condString ? exprString1 : exprBoolean1; / var resultIsStringOrBoolean4 = condString.toUpperCase ? exprString1 : exprBoolean1; // union //// [conditionalOperatorConditoinIsStringType.js] +"use strict"; //Cond is a string type variable condString ? exprAny1 : exprAny2; condString ? exprBoolean1 : exprBoolean2; diff --git a/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.js b/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.js index 88b0cdc288f9e..fadd251f848d0 100644 --- a/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.js +++ b/tests/baselines/reference/conditionalOperatorWithIdenticalBCT.js @@ -50,6 +50,7 @@ var result11: any = true ? 1 : 'string'; //// [conditionalOperatorWithIdenticalBCT.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.js b/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.js index 156102b6673fd..e5e981076951d 100644 --- a/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.js +++ b/tests/baselines/reference/conditionalOperatorWithoutIdenticalBCT.js @@ -26,6 +26,7 @@ var result61: (t: X) => number| string = true ? (m) => m.propertyX1 : (n) => n.p //// [conditionalOperatorWithoutIdenticalBCT.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/conditionalTypeAnyUnion.js b/tests/baselines/reference/conditionalTypeAnyUnion.js index 6afd67dd25a72..5a3faea2638fe 100644 --- a/tests/baselines/reference/conditionalTypeAnyUnion.js +++ b/tests/baselines/reference/conditionalTypeAnyUnion.js @@ -10,4 +10,5 @@ type WithSpec = T type R = WithSpec // should not error //// [conditionalTypeAnyUnion.js] +"use strict"; // repro from #52568 diff --git a/tests/baselines/reference/conditionalTypeBasedContextualTypeReturnTypeWidening.js b/tests/baselines/reference/conditionalTypeBasedContextualTypeReturnTypeWidening.js index ab228b53d9340..30058c66bde86 100644 --- a/tests/baselines/reference/conditionalTypeBasedContextualTypeReturnTypeWidening.js +++ b/tests/baselines/reference/conditionalTypeBasedContextualTypeReturnTypeWidening.js @@ -15,6 +15,7 @@ const func4 = useState2(() => () => 0); //// [conditionalTypeBasedContextualTypeReturnTypeWidening.js] +"use strict"; var func1 = useState1(function () { return function () { return 0; }; }); var func2 = useState2(function () { return function () { return 0; }; }); var func3 = useState1(function () { return function () { return 0; }; }); diff --git a/tests/baselines/reference/conditionalTypeClassMembers.js b/tests/baselines/reference/conditionalTypeClassMembers.js index 42c96ad8d53f2..4413fa0adc367 100644 --- a/tests/baselines/reference/conditionalTypeClassMembers.js +++ b/tests/baselines/reference/conditionalTypeClassMembers.js @@ -13,3 +13,4 @@ declare class MySet { type DS = TRec extends MyRecord ? MySet : TRec[]; //// [conditionalTypeClassMembers.js] +"use strict"; diff --git a/tests/baselines/reference/conditionalTypeGenericInSignatureTypeParameterConstraint.js b/tests/baselines/reference/conditionalTypeGenericInSignatureTypeParameterConstraint.js index 4865629639d98..f4e0dc9bd46c0 100644 --- a/tests/baselines/reference/conditionalTypeGenericInSignatureTypeParameterConstraint.js +++ b/tests/baselines/reference/conditionalTypeGenericInSignatureTypeParameterConstraint.js @@ -7,3 +7,4 @@ type H_inline1 = (() => o) extends (() => infer o) ? o : never; type Result = H_inline1; // should be `string` //// [conditionalTypeGenericInSignatureTypeParameterConstraint.js] +"use strict"; diff --git a/tests/baselines/reference/conditionalTypeSimplification.js b/tests/baselines/reference/conditionalTypeSimplification.js index 611917d26825e..48b048f01a436 100644 --- a/tests/baselines/reference/conditionalTypeSimplification.js +++ b/tests/baselines/reference/conditionalTypeSimplification.js @@ -14,4 +14,5 @@ interface AnySchemaType, V> extends AbstractS //// [conditionalTypeSimplification.js] +"use strict"; // Repro from #30794 diff --git a/tests/baselines/reference/conditionalTypeSubclassExtendsTypeParam.js b/tests/baselines/reference/conditionalTypeSubclassExtendsTypeParam.js index 3b6a13b72ccf7..db19ac6997f43 100644 --- a/tests/baselines/reference/conditionalTypeSubclassExtendsTypeParam.js +++ b/tests/baselines/reference/conditionalTypeSubclassExtendsTypeParam.js @@ -9,3 +9,4 @@ declare class Field { } //// [conditionalTypeSubclassExtendsTypeParam.js] +"use strict"; diff --git a/tests/baselines/reference/conditionalTypeVarianceBigArrayConstraintsPerformance.js b/tests/baselines/reference/conditionalTypeVarianceBigArrayConstraintsPerformance.js index 6b9288577efdf..fbb75325f0c29 100644 --- a/tests/baselines/reference/conditionalTypeVarianceBigArrayConstraintsPerformance.js +++ b/tests/baselines/reference/conditionalTypeVarianceBigArrayConstraintsPerformance.js @@ -13,6 +13,7 @@ function F(p1: Stuff, p2: Stuff) { } //// [conditionalTypeVarianceBigArrayConstraintsPerformance.js] +"use strict"; /// function F(p1, p2) { p1 = p2; // Error diff --git a/tests/baselines/reference/conditionalTypesASI.js b/tests/baselines/reference/conditionalTypesASI.js index cc958056c2275..a9cbb6d9cba65 100644 --- a/tests/baselines/reference/conditionalTypesASI.js +++ b/tests/baselines/reference/conditionalTypesASI.js @@ -10,6 +10,7 @@ interface JSONSchema4 { //// [conditionalTypesASI.js] +"use strict"; // Repro from #21637 diff --git a/tests/baselines/reference/conditionalTypesExcessProperties.js b/tests/baselines/reference/conditionalTypesExcessProperties.js index 3442e27746364..cdec52b3e8b4d 100644 --- a/tests/baselines/reference/conditionalTypesExcessProperties.js +++ b/tests/baselines/reference/conditionalTypesExcessProperties.js @@ -14,6 +14,7 @@ function testFunc2(a: A, sa: Something) { //// [conditionalTypesExcessProperties.js] +"use strict"; function testFunc2(a, sa) { sa = { test: 'hi', arg: a }; // not excess (but currently still not assignable) sa = { test: 'bye', arg: a, arr: a }; // excess diff --git a/tests/baselines/reference/conditionallyDuplicateOverloadsCausedByOverloadResolution.js b/tests/baselines/reference/conditionallyDuplicateOverloadsCausedByOverloadResolution.js index 8cdd35cecfb4e..901afd3c365a1 100644 --- a/tests/baselines/reference/conditionallyDuplicateOverloadsCausedByOverloadResolution.js +++ b/tests/baselines/reference/conditionallyDuplicateOverloadsCausedByOverloadResolution.js @@ -23,6 +23,7 @@ var out2 = foo2((x, y) => { }); //// [conditionallyDuplicateOverloadsCausedByOverloadResolution.js] +"use strict"; var out = foo(function (x, y) { function bar() { } return bar; diff --git a/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json b/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json index 18a7babc76d29..ebfe54fadfda8 100644 --- a/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Show TSConfig with compileOnSave and more/tsconfig.json @@ -11,7 +11,6 @@ "strictBindCallApply": true, "strictPropertyInitialization": true, "strictBuiltinIteratorReturn": true, - "alwaysStrict": true, "useUnknownInCatchVariables": true }, "references": [ diff --git a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/strict/tsconfig.json b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/strict/tsconfig.json index cb5f15904a123..2cb49ee69d729 100644 --- a/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/strict/tsconfig.json +++ b/tests/baselines/reference/config/showConfig/Shows tsconfig for single option/strict/tsconfig.json @@ -8,7 +8,6 @@ "strictBindCallApply": true, "strictPropertyInitialization": true, "strictBuiltinIteratorReturn": true, - "alwaysStrict": true, "useUnknownInCatchVariables": true } } diff --git a/tests/baselines/reference/configFileExtendsAsList.js b/tests/baselines/reference/configFileExtendsAsList.js index e805b7a293656..fd6b577bdcd0d 100644 --- a/tests/baselines/reference/configFileExtendsAsList.js +++ b/tests/baselines/reference/configFileExtendsAsList.js @@ -20,6 +20,7 @@ let y: string; y.toLowerCase(); // strictNullChecks error //// [index.js] +"use strict"; function f(x) { } // noImplicitAny error var y; y.toLowerCase(); // strictNullChecks error diff --git a/tests/baselines/reference/conflictMarkerDiff3Trivia1.js b/tests/baselines/reference/conflictMarkerDiff3Trivia1.js index 683eedcb9312c..1379eb00e2cc9 100644 --- a/tests/baselines/reference/conflictMarkerDiff3Trivia1.js +++ b/tests/baselines/reference/conflictMarkerDiff3Trivia1.js @@ -12,6 +12,7 @@ class C { } //// [conflictMarkerDiff3Trivia1.js] +"use strict"; var C = /** @class */ (function () { function C() { this.v = 1; diff --git a/tests/baselines/reference/conflictMarkerDiff3Trivia2.js b/tests/baselines/reference/conflictMarkerDiff3Trivia2.js index 8e3f0ba1c8f1d..59ee94603fd54 100644 --- a/tests/baselines/reference/conflictMarkerDiff3Trivia2.js +++ b/tests/baselines/reference/conflictMarkerDiff3Trivia2.js @@ -19,6 +19,7 @@ class C { //// [conflictMarkerDiff3Trivia2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/conflictMarkerTrivia1.js b/tests/baselines/reference/conflictMarkerTrivia1.js index bbb0ad8e1bb89..883c5a93287b6 100644 --- a/tests/baselines/reference/conflictMarkerTrivia1.js +++ b/tests/baselines/reference/conflictMarkerTrivia1.js @@ -10,6 +10,7 @@ class C { } //// [conflictMarkerTrivia1.js] +"use strict"; var C = /** @class */ (function () { function C() { this.v = 1; diff --git a/tests/baselines/reference/conflictMarkerTrivia2.js b/tests/baselines/reference/conflictMarkerTrivia2.js index b5fd823c31aaa..1ab870659d7d0 100644 --- a/tests/baselines/reference/conflictMarkerTrivia2.js +++ b/tests/baselines/reference/conflictMarkerTrivia2.js @@ -16,6 +16,7 @@ class C { //// [conflictMarkerTrivia2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/conflictMarkerTrivia3.js b/tests/baselines/reference/conflictMarkerTrivia3.js index 75773afa2cace..bb589cdd1f92c 100644 --- a/tests/baselines/reference/conflictMarkerTrivia3.js +++ b/tests/baselines/reference/conflictMarkerTrivia3.js @@ -5,4 +5,5 @@ const x =
<<<<<<< HEAD //// [conflictMarkerTrivia3.js] +"use strict"; var x =
; diff --git a/tests/baselines/reference/conflictMarkerTrivia4.js b/tests/baselines/reference/conflictMarkerTrivia4.js index d929c304616b3..c08c14548ad6a 100644 --- a/tests/baselines/reference/conflictMarkerTrivia4.js +++ b/tests/baselines/reference/conflictMarkerTrivia4.js @@ -5,4 +5,5 @@ const x =
<<<<<<< HEAD //// [conflictMarkerTrivia4.js] +"use strict"; var x = ; diff --git a/tests/baselines/reference/conflictingMemberTypesInBases.js b/tests/baselines/reference/conflictingMemberTypesInBases.js index 48ab40b0cfb16..35be5be2eca24 100644 --- a/tests/baselines/reference/conflictingMemberTypesInBases.js +++ b/tests/baselines/reference/conflictingMemberTypesInBases.js @@ -17,3 +17,4 @@ interface E extends D { } // No duplicate error here //// [conflictingMemberTypesInBases.js] +"use strict"; diff --git a/tests/baselines/reference/conflictingTypeAnnotatedVar.js b/tests/baselines/reference/conflictingTypeAnnotatedVar.js index bc850c4a6e749..51ae736ae8ea5 100644 --- a/tests/baselines/reference/conflictingTypeAnnotatedVar.js +++ b/tests/baselines/reference/conflictingTypeAnnotatedVar.js @@ -6,6 +6,7 @@ function foo(): number { } function foo(): number { } //// [conflictingTypeAnnotatedVar.js] +"use strict"; var foo; function foo() { } function foo() { } diff --git a/tests/baselines/reference/consistentAliasVsNonAliasRecordBehavior.js b/tests/baselines/reference/consistentAliasVsNonAliasRecordBehavior.js index 9e3fd4f2740d4..5c2b88f87ba36 100644 --- a/tests/baselines/reference/consistentAliasVsNonAliasRecordBehavior.js +++ b/tests/baselines/reference/consistentAliasVsNonAliasRecordBehavior.js @@ -43,6 +43,7 @@ function mixed4(x: Record<'a', T>, y: Record2) { //// [consistentAliasVsNonAliasRecordBehavior.js] +"use strict"; // TODO: FIXME: All the below cases labeled `no error` _should be an error_, and are only prevented from so being // by incorrect variance-based relationships // Ref: https://github.com/Microsoft/TypeScript/issues/29698 diff --git a/tests/baselines/reference/constDeclarationShadowedByVarDeclaration.js b/tests/baselines/reference/constDeclarationShadowedByVarDeclaration.js index 0ae7ad40d34da..c20f7b7ea7f2a 100644 --- a/tests/baselines/reference/constDeclarationShadowedByVarDeclaration.js +++ b/tests/baselines/reference/constDeclarationShadowedByVarDeclaration.js @@ -25,6 +25,7 @@ var y = 0; } //// [constDeclarationShadowedByVarDeclaration.js] +"use strict"; // Error as declaration of var would cause a write to the const value var x = 0; { diff --git a/tests/baselines/reference/constDeclarationShadowedByVarDeclaration2.js b/tests/baselines/reference/constDeclarationShadowedByVarDeclaration2.js index 24833cd388613..810f47758400c 100644 --- a/tests/baselines/reference/constDeclarationShadowedByVarDeclaration2.js +++ b/tests/baselines/reference/constDeclarationShadowedByVarDeclaration2.js @@ -10,6 +10,7 @@ function outer() { } //// [constDeclarationShadowedByVarDeclaration2.js] +"use strict"; // No errors, const declaration is not shadowed function outer() { const x = 0; diff --git a/tests/baselines/reference/constDeclarationShadowedByVarDeclaration3.js b/tests/baselines/reference/constDeclarationShadowedByVarDeclaration3.js index 7817e99ebc5fd..bd2f225355971 100644 --- a/tests/baselines/reference/constDeclarationShadowedByVarDeclaration3.js +++ b/tests/baselines/reference/constDeclarationShadowedByVarDeclaration3.js @@ -12,6 +12,7 @@ class Rule { } //// [constDeclarationShadowedByVarDeclaration3.js] +"use strict"; // Ensure only checking for const declarations shadowed by vars var Rule = /** @class */ (function () { function Rule(name) { diff --git a/tests/baselines/reference/constDeclarations-access.js b/tests/baselines/reference/constDeclarations-access.js index dd5624bcf4c8a..be8dbeec38de6 100644 --- a/tests/baselines/reference/constDeclarations-access.js +++ b/tests/baselines/reference/constDeclarations-access.js @@ -7,6 +7,8 @@ const x = 0 x++; //// [file1.js] +"use strict"; const x = 0; //// [file2.js] +"use strict"; x++; diff --git a/tests/baselines/reference/constDeclarations-access2.js b/tests/baselines/reference/constDeclarations-access2.js index 173398b3601ca..bb139c1c6528f 100644 --- a/tests/baselines/reference/constDeclarations-access2.js +++ b/tests/baselines/reference/constDeclarations-access2.js @@ -42,6 +42,7 @@ x.toString(); //// [constDeclarations-access2.js] +"use strict"; const x = 0; // Errors x = 1; diff --git a/tests/baselines/reference/constDeclarations-access3.js b/tests/baselines/reference/constDeclarations-access3.js index a6f967bb8cd06..2072785fad8c8 100644 --- a/tests/baselines/reference/constDeclarations-access3.js +++ b/tests/baselines/reference/constDeclarations-access3.js @@ -46,6 +46,7 @@ M.x.toString(); //// [constDeclarations-access3.js] +"use strict"; var M; (function (M) { M.x = 0; diff --git a/tests/baselines/reference/constDeclarations-access4.js b/tests/baselines/reference/constDeclarations-access4.js index 1cfd9e19262c1..d6414a8cb7c6e 100644 --- a/tests/baselines/reference/constDeclarations-access4.js +++ b/tests/baselines/reference/constDeclarations-access4.js @@ -46,6 +46,7 @@ M.x.toString(); //// [constDeclarations-access4.js] +"use strict"; // Errors M.x = 1; M.x += 2; diff --git a/tests/baselines/reference/constDeclarations-ambient-errors.js b/tests/baselines/reference/constDeclarations-ambient-errors.js index a1ded5492565b..220913caa9814 100644 --- a/tests/baselines/reference/constDeclarations-ambient-errors.js +++ b/tests/baselines/reference/constDeclarations-ambient-errors.js @@ -12,3 +12,4 @@ declare namespace M { } //// [constDeclarations-ambient-errors.js] +"use strict"; diff --git a/tests/baselines/reference/constDeclarations-ambient.js b/tests/baselines/reference/constDeclarations-ambient.js index 92b46de553337..db93a7a09d1f3 100644 --- a/tests/baselines/reference/constDeclarations-ambient.js +++ b/tests/baselines/reference/constDeclarations-ambient.js @@ -12,3 +12,4 @@ declare namespace M { } //// [constDeclarations-ambient.js] +"use strict"; diff --git a/tests/baselines/reference/constDeclarations-errors.js b/tests/baselines/reference/constDeclarations-errors.js index 2ee1bbec2b90e..425366ad0c897 100644 --- a/tests/baselines/reference/constDeclarations-errors.js +++ b/tests/baselines/reference/constDeclarations-errors.js @@ -18,6 +18,7 @@ for(const c9; c9 < 1;) { } for(const c10 = 0, c11; c10 < 1;) { } //// [constDeclarations-errors.js] +"use strict"; // error, missing intialicer const c1; const c2; diff --git a/tests/baselines/reference/constDeclarations-es5.js b/tests/baselines/reference/constDeclarations-es5.js index 755f47517b9dd..e8b10ff87685b 100644 --- a/tests/baselines/reference/constDeclarations-es5.js +++ b/tests/baselines/reference/constDeclarations-es5.js @@ -7,6 +7,7 @@ const z9 = 0, z10 :string = "", z11 = null; //// [constDeclarations-es5.js] +"use strict"; var z7 = false; var z8 = 23; var z9 = 0, z10 = "", z11 = null; diff --git a/tests/baselines/reference/constDeclarations-invalidContexts.errors.txt b/tests/baselines/reference/constDeclarations-invalidContexts.errors.txt index 7134a60544137..953604c1da149 100644 --- a/tests/baselines/reference/constDeclarations-invalidContexts.errors.txt +++ b/tests/baselines/reference/constDeclarations-invalidContexts.errors.txt @@ -2,14 +2,17 @@ constDeclarations-invalidContexts.ts(3,5): error TS1156: 'const' declarations ca constDeclarations-invalidContexts.ts(5,5): error TS1156: 'const' declarations can only be declared inside a block. constDeclarations-invalidContexts.ts(8,5): error TS1156: 'const' declarations can only be declared inside a block. constDeclarations-invalidContexts.ts(11,5): error TS1156: 'const' declarations can only be declared inside a block. +constDeclarations-invalidContexts.ts(15,1): error TS1101: 'with' statements are not allowed in strict mode. constDeclarations-invalidContexts.ts(15,1): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. constDeclarations-invalidContexts.ts(19,5): error TS1156: 'const' declarations can only be declared inside a block. constDeclarations-invalidContexts.ts(22,5): error TS1156: 'const' declarations can only be declared inside a block. +constDeclarations-invalidContexts.ts(25,5): error TS1344: 'A label is not allowed here. constDeclarations-invalidContexts.ts(25,12): error TS1156: 'const' declarations can only be declared inside a block. +constDeclarations-invalidContexts.ts(28,21): error TS1344: 'A label is not allowed here. constDeclarations-invalidContexts.ts(28,29): error TS1156: 'const' declarations can only be declared inside a block. -==== constDeclarations-invalidContexts.ts (9 errors) ==== +==== constDeclarations-invalidContexts.ts (12 errors) ==== // Errors, const must be defined inside a block if (true) const c1 = 0; @@ -33,6 +36,8 @@ constDeclarations-invalidContexts.ts(28,29): error TS1156: 'const' declarations var obj; with (obj) + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. const c5 = 0; // No Error will be reported here since we turn off all type checking @@ -49,11 +54,15 @@ constDeclarations-invalidContexts.ts(28,29): error TS1156: 'const' declarations if (true) label: const c8 = 0; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. ~~~~~~~~~~~~~ !!! error TS1156: 'const' declarations can only be declared inside a block. while (false) label2: label3: label4: const c9 = 0; + ~~~~~~ +!!! error TS1344: 'A label is not allowed here. ~~~~~~~~~~~~~ !!! error TS1156: 'const' declarations can only be declared inside a block. diff --git a/tests/baselines/reference/constDeclarations-invalidContexts.js b/tests/baselines/reference/constDeclarations-invalidContexts.js index 89f0d6d18cc27..8510795993652 100644 --- a/tests/baselines/reference/constDeclarations-invalidContexts.js +++ b/tests/baselines/reference/constDeclarations-invalidContexts.js @@ -35,6 +35,7 @@ while (false) //// [constDeclarations-invalidContexts.js] +"use strict"; // Errors, const must be defined inside a block if (true) const c1 = 0; diff --git a/tests/baselines/reference/constDeclarations-scopes.errors.txt b/tests/baselines/reference/constDeclarations-scopes.errors.txt index a715ebc860a44..8b260da649e04 100644 --- a/tests/baselines/reference/constDeclarations-scopes.errors.txt +++ b/tests/baselines/reference/constDeclarations-scopes.errors.txt @@ -1,7 +1,10 @@ +constDeclarations-scopes.ts(27,1): error TS1101: 'with' statements are not allowed in strict mode. constDeclarations-scopes.ts(27,1): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. +constDeclarations-scopes.ts(43,5): error TS1344: 'A label is not allowed here. +constDeclarations-scopes.ts(48,21): error TS1344: 'A label is not allowed here. -==== constDeclarations-scopes.ts (1 errors) ==== +==== constDeclarations-scopes.ts (4 errors) ==== // global const c = "string"; @@ -29,6 +32,8 @@ constDeclarations-scopes.ts(27,1): error TS2410: The 'with' statement is not sup var obj; with (obj) { + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. const c = 0; @@ -47,11 +52,15 @@ constDeclarations-scopes.ts(27,1): error TS2410: The 'with' statement is not sup if (true) { label: const c = 0; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. n = c; } while (false) { label2: label3: label4: const c = 0; + ~~~~~~ +!!! error TS1344: 'A label is not allowed here. n = c; } diff --git a/tests/baselines/reference/constDeclarations-scopes.js b/tests/baselines/reference/constDeclarations-scopes.js index b7fbe9021102f..0bf8f857d7772 100644 --- a/tests/baselines/reference/constDeclarations-scopes.js +++ b/tests/baselines/reference/constDeclarations-scopes.js @@ -149,6 +149,7 @@ var o = { } //// [constDeclarations-scopes.js] +"use strict"; // global const c = "string"; var n; diff --git a/tests/baselines/reference/constDeclarations-scopes2.js b/tests/baselines/reference/constDeclarations-scopes2.js index bb026f76290f9..5ecbbb061b8ff 100644 --- a/tests/baselines/reference/constDeclarations-scopes2.js +++ b/tests/baselines/reference/constDeclarations-scopes2.js @@ -17,6 +17,7 @@ for (const c = 0; c < 10; n = c ) { //// [constDeclarations-scopes2.js] +"use strict"; // global const c = "string"; var n; diff --git a/tests/baselines/reference/constDeclarations-useBeforeDefinition.js b/tests/baselines/reference/constDeclarations-useBeforeDefinition.js index e5b5656f4c126..624d4999bd14b 100644 --- a/tests/baselines/reference/constDeclarations-useBeforeDefinition.js +++ b/tests/baselines/reference/constDeclarations-useBeforeDefinition.js @@ -14,6 +14,7 @@ var v1; //// [constDeclarations-useBeforeDefinition.js] +"use strict"; { c1; const c1 = 0; diff --git a/tests/baselines/reference/constDeclarations-useBeforeDefinition2.js b/tests/baselines/reference/constDeclarations-useBeforeDefinition2.js index f75ec813d65f2..6d6488085677b 100644 --- a/tests/baselines/reference/constDeclarations-useBeforeDefinition2.js +++ b/tests/baselines/reference/constDeclarations-useBeforeDefinition2.js @@ -8,5 +8,6 @@ const c = 0; //// [out.js] +"use strict"; c; const c = 0; diff --git a/tests/baselines/reference/constDeclarations-validContexts.errors.txt b/tests/baselines/reference/constDeclarations-validContexts.errors.txt index ea2262681bf38..24f9a4a91235a 100644 --- a/tests/baselines/reference/constDeclarations-validContexts.errors.txt +++ b/tests/baselines/reference/constDeclarations-validContexts.errors.txt @@ -1,7 +1,11 @@ +constDeclarations-validContexts.ts(18,1): error TS1101: 'with' statements are not allowed in strict mode. constDeclarations-validContexts.ts(18,1): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. +constDeclarations-validContexts.ts(31,5): error TS1344: 'A label is not allowed here. +constDeclarations-validContexts.ts(35,21): error TS1344: 'A label is not allowed here. +constDeclarations-validContexts.ts(64,9): error TS1344: 'A label is not allowed here. -==== constDeclarations-validContexts.ts (1 errors) ==== +==== constDeclarations-validContexts.ts (5 errors) ==== // Control flow statements with blocks if (true) { const c1 = 0; @@ -20,6 +24,8 @@ constDeclarations-validContexts.ts(18,1): error TS2410: The 'with' statement is var obj; with (obj) { + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. const c5 = 0; @@ -35,10 +41,14 @@ constDeclarations-validContexts.ts(18,1): error TS2410: The 'with' statement is if (true) { label: const c8 = 0; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. } while (false) { label2: label3: label4: const c9 = 0; + ~~~~~~ +!!! error TS1344: 'A label is not allowed here. } // Try/catch/finally @@ -68,6 +78,8 @@ constDeclarations-validContexts.ts(18,1): error TS2410: The 'with' statement is { const c16 = 0 label17: const c17 = 0; + ~~~~~~~ +!!! error TS1344: 'A label is not allowed here. } } diff --git a/tests/baselines/reference/constDeclarations-validContexts.js b/tests/baselines/reference/constDeclarations-validContexts.js index 138e4828780c8..c2a6bb9b3cae0 100644 --- a/tests/baselines/reference/constDeclarations-validContexts.js +++ b/tests/baselines/reference/constDeclarations-validContexts.js @@ -124,6 +124,7 @@ var o = { } //// [constDeclarations-validContexts.js] +"use strict"; // Control flow statements with blocks if (true) { const c1 = 0; diff --git a/tests/baselines/reference/constDeclarations.js b/tests/baselines/reference/constDeclarations.js index 1f75520e56e4e..f1f4481fadefc 100644 --- a/tests/baselines/reference/constDeclarations.js +++ b/tests/baselines/reference/constDeclarations.js @@ -13,6 +13,7 @@ for(const c4 = 0; c4 < 9; ) { break; } for(const c5 = 0, c6 = 0; c5 < c6; ) { break; } //// [constDeclarations.js] +"use strict"; // No error const c1 = false; const c2 = 23; diff --git a/tests/baselines/reference/constDeclarations2.js b/tests/baselines/reference/constDeclarations2.js index f95a4755c655a..6f245f4a3b84a 100644 --- a/tests/baselines/reference/constDeclarations2.js +++ b/tests/baselines/reference/constDeclarations2.js @@ -10,6 +10,7 @@ namespace M { //// [constDeclarations2.js] +"use strict"; // No error var M; (function (M) { diff --git a/tests/baselines/reference/constEnum1.js b/tests/baselines/reference/constEnum1.js index 6ba59535def67..e75bdd763a9f4 100644 --- a/tests/baselines/reference/constEnum1.js +++ b/tests/baselines/reference/constEnum1.js @@ -17,6 +17,7 @@ const enum E { } //// [constEnum1.js] +"use strict"; // An enum declaration that specifies a const modifier is a constant enum declaration. // In a constant enum declaration, all members must have constant values and // it is an error for a member declaration to specify an expression that isn't classified as a constant enum expression. diff --git a/tests/baselines/reference/constEnum2.js b/tests/baselines/reference/constEnum2.js index 2a37ed0627003..44b3373b640a8 100644 --- a/tests/baselines/reference/constEnum2.js +++ b/tests/baselines/reference/constEnum2.js @@ -16,6 +16,7 @@ const enum D { } //// [constEnum2.js] +"use strict"; // An enum declaration that specifies a const modifier is a constant enum declaration. // In a constant enum declaration, all members must have constant values and // it is an error for a member declaration to specify an expression that isn't classified as a constant enum expression. diff --git a/tests/baselines/reference/constEnum3.js b/tests/baselines/reference/constEnum3.js index edebf31507c66..68ec355cc3055 100644 --- a/tests/baselines/reference/constEnum3.js +++ b/tests/baselines/reference/constEnum3.js @@ -14,6 +14,7 @@ f2('bar') //// [constEnum3.js] +"use strict"; function f1(f) { } function f2(f) { } f1(0 /* TestType.foo */); diff --git a/tests/baselines/reference/constEnum4.js b/tests/baselines/reference/constEnum4.js index 9cb33751f3605..ca2d27ed0fd4c 100644 --- a/tests/baselines/reference/constEnum4.js +++ b/tests/baselines/reference/constEnum4.js @@ -10,6 +10,7 @@ else //// [constEnum4.js] +"use strict"; if (1) ; else if (2) diff --git a/tests/baselines/reference/constEnumBadPropertyNames.js b/tests/baselines/reference/constEnumBadPropertyNames.js index 50191e7ca2670..fa511254cc547 100644 --- a/tests/baselines/reference/constEnumBadPropertyNames.js +++ b/tests/baselines/reference/constEnumBadPropertyNames.js @@ -5,4 +5,5 @@ const enum E { A } var x = E["B"] //// [constEnumBadPropertyNames.js] +"use strict"; var x = E["B"]; diff --git a/tests/baselines/reference/constEnumDeclarations.js b/tests/baselines/reference/constEnumDeclarations.js index 09f07ce0315d8..4e71462600ea5 100644 --- a/tests/baselines/reference/constEnumDeclarations.js +++ b/tests/baselines/reference/constEnumDeclarations.js @@ -14,6 +14,7 @@ const enum E2 { } //// [constEnumDeclarations.js] +"use strict"; //// [constEnumDeclarations.d.ts] diff --git a/tests/baselines/reference/constEnumErrors.js b/tests/baselines/reference/constEnumErrors.js index b5e89e328c373..5f75fee140606 100644 --- a/tests/baselines/reference/constEnumErrors.js +++ b/tests/baselines/reference/constEnumErrors.js @@ -47,6 +47,7 @@ const enum NaNOrInfinity { } //// [constEnumErrors.js] +"use strict"; var E; (function (E) { var x = 1; diff --git a/tests/baselines/reference/constEnumOnlyModuleMerging.js b/tests/baselines/reference/constEnumOnlyModuleMerging.js index 4bcd24bf59e70..22c160607e205 100644 --- a/tests/baselines/reference/constEnumOnlyModuleMerging.js +++ b/tests/baselines/reference/constEnumOnlyModuleMerging.js @@ -16,6 +16,7 @@ namespace B { } //// [constEnumOnlyModuleMerging.js] +"use strict"; var Outer; (function (Outer) { Outer.x = 1; diff --git a/tests/baselines/reference/constEnumPropertyAccess1.js b/tests/baselines/reference/constEnumPropertyAccess1.js index a4f27035f15d2..6beeb5f4c7dd5 100644 --- a/tests/baselines/reference/constEnumPropertyAccess1.js +++ b/tests/baselines/reference/constEnumPropertyAccess1.js @@ -33,6 +33,7 @@ class C { //// [constEnumPropertyAccess1.js] +"use strict"; // constant enum declarations are completely erased in the emitted JavaScript code. // it is an error to reference a constant enum object in any other context // than a property access that selects one of the enum's members diff --git a/tests/baselines/reference/constEnumPropertyAccess2.js b/tests/baselines/reference/constEnumPropertyAccess2.js index 27d97b1f13c15..5e646e0653a8f 100644 --- a/tests/baselines/reference/constEnumPropertyAccess2.js +++ b/tests/baselines/reference/constEnumPropertyAccess2.js @@ -22,6 +22,7 @@ G.B = 3; //// [constEnumPropertyAccess2.js] +"use strict"; // constant enum declarations are completely erased in the emitted JavaScript code. // it is an error to reference a constant enum object in any other context // than a property access that selects one of the enum's members diff --git a/tests/baselines/reference/constEnumPropertyAccess3.js b/tests/baselines/reference/constEnumPropertyAccess3.js index b7f184d281e5f..dcd15882b1028 100644 --- a/tests/baselines/reference/constEnumPropertyAccess3.js +++ b/tests/baselines/reference/constEnumPropertyAccess3.js @@ -22,6 +22,7 @@ E["E"].toString(); //// [constEnumPropertyAccess3.js] +"use strict"; (-2 /* E.A */).toString(); (-1 /* E.B */).toString(); (-3 /* E.C */).toString(); diff --git a/tests/baselines/reference/constEnumSyntheticNodesComments.js b/tests/baselines/reference/constEnumSyntheticNodesComments.js index 3993842b6bb80..786e5c859f3bf 100644 --- a/tests/baselines/reference/constEnumSyntheticNodesComments.js +++ b/tests/baselines/reference/constEnumSyntheticNodesComments.js @@ -21,6 +21,7 @@ function verify(a: En) { } //// [constEnumSyntheticNodesComments.js] +"use strict"; function assert(x) { return x; } diff --git a/tests/baselines/reference/constEnumToStringNoComments.js b/tests/baselines/reference/constEnumToStringNoComments.js index 4ab485ee16635..60c7dff8f9336 100644 --- a/tests/baselines/reference/constEnumToStringNoComments.js +++ b/tests/baselines/reference/constEnumToStringNoComments.js @@ -25,6 +25,7 @@ let c1 = Foo["C"].toString(); //// [constEnumToStringNoComments.js] +"use strict"; var x0 = 100..toString(); var x1 = 100..toString(); var y0 = 0.5.toString(); diff --git a/tests/baselines/reference/constEnumToStringWithComments.js b/tests/baselines/reference/constEnumToStringWithComments.js index 22d160b033af2..ef6c5a29255c8 100644 --- a/tests/baselines/reference/constEnumToStringWithComments.js +++ b/tests/baselines/reference/constEnumToStringWithComments.js @@ -25,6 +25,7 @@ let c1 = Foo["C"].toString(); //// [constEnumToStringWithComments.js] +"use strict"; var x0 = 100 /* Foo.X */.toString(); var x1 = 100 /* Foo["X"] */.toString(); var y0 = 0.5 /* Foo.Y */.toString(); diff --git a/tests/baselines/reference/constEnums.js b/tests/baselines/reference/constEnums.js index 023a4cf8b341f..e7588ea220932 100644 --- a/tests/baselines/reference/constEnums.js +++ b/tests/baselines/reference/constEnums.js @@ -181,6 +181,7 @@ function baz(c: Comments) { //// [constEnums.js] +"use strict"; var A2; (function (A2) { var B; diff --git a/tests/baselines/reference/constInClassExpression.js b/tests/baselines/reference/constInClassExpression.js index 76b84f691f8e1..4955f7eb7217e 100644 --- a/tests/baselines/reference/constInClassExpression.js +++ b/tests/baselines/reference/constInClassExpression.js @@ -7,6 +7,7 @@ let C = class { //// [constInClassExpression.js] +"use strict"; var C = /** @class */ (function () { function class_1() { this.a = 4; diff --git a/tests/baselines/reference/constIndexedAccess.js b/tests/baselines/reference/constIndexedAccess.js index a298e68abdc85..3c7842caabc80 100644 --- a/tests/baselines/reference/constIndexedAccess.js +++ b/tests/baselines/reference/constIndexedAccess.js @@ -32,6 +32,7 @@ let n3 = test[numbersNotConst.one]; //// [constIndexedAccess.js] +"use strict"; var test; var s = test[0]; var n = test[1]; diff --git a/tests/baselines/reference/constLocalsInFunctionExpressions.js b/tests/baselines/reference/constLocalsInFunctionExpressions.js index 68923d8da8f1d..c8014f93e1a55 100644 --- a/tests/baselines/reference/constLocalsInFunctionExpressions.js +++ b/tests/baselines/reference/constLocalsInFunctionExpressions.js @@ -41,6 +41,7 @@ function f5() { } //// [constLocalsInFunctionExpressions.js] +"use strict"; function f1() { var x = getStringOrNumber(); if (typeof x === "string") { diff --git a/tests/baselines/reference/constWithNonNull.js b/tests/baselines/reference/constWithNonNull.js index 6cf38ad519cf1..51c3584d0cdd9 100644 --- a/tests/baselines/reference/constWithNonNull.js +++ b/tests/baselines/reference/constWithNonNull.js @@ -8,5 +8,6 @@ x!++; //// [constWithNonNull.js] +"use strict"; // Fixes #21848 x++; diff --git a/tests/baselines/reference/constantEnumAssert.js b/tests/baselines/reference/constantEnumAssert.js index e86a49b27fc6e..f447d222433fe 100644 --- a/tests/baselines/reference/constantEnumAssert.js +++ b/tests/baselines/reference/constantEnumAssert.js @@ -53,6 +53,7 @@ const foo12 = { a: E5.a as const } //// [constantEnumAssert.js] +"use strict"; var E1; (function (E1) { E1[E1["a"] = 0] = "a"; diff --git a/tests/baselines/reference/constantOverloadFunction.js b/tests/baselines/reference/constantOverloadFunction.js index ceee962c2883b..6b976346d1629 100644 --- a/tests/baselines/reference/constantOverloadFunction.js +++ b/tests/baselines/reference/constantOverloadFunction.js @@ -16,6 +16,7 @@ function foo(tagName: any): Base { //// [constantOverloadFunction.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.js b/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.js index 2cf8252bf7ea8..ec3b715e3470c 100644 --- a/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.js +++ b/tests/baselines/reference/constantOverloadFunctionNoSubtypeError.js @@ -17,6 +17,7 @@ function foo(tagName: any): Base { //// [constantOverloadFunctionNoSubtypeError.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/constraintCheckInGenericBaseTypeReference.js b/tests/baselines/reference/constraintCheckInGenericBaseTypeReference.js index 25cd31bc3d9e0..9ebe303cffb4c 100644 --- a/tests/baselines/reference/constraintCheckInGenericBaseTypeReference.js +++ b/tests/baselines/reference/constraintCheckInGenericBaseTypeReference.js @@ -22,6 +22,7 @@ class Container { } //// [constraintCheckInGenericBaseTypeReference.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/constraintErrors1.js b/tests/baselines/reference/constraintErrors1.js index d981cee962b16..a24f3a77f8f01 100644 --- a/tests/baselines/reference/constraintErrors1.js +++ b/tests/baselines/reference/constraintErrors1.js @@ -4,4 +4,5 @@ function foo5(test: T) { } //// [constraintErrors1.js] +"use strict"; function foo5(test) { } diff --git a/tests/baselines/reference/constraintPropagationThroughReturnTypes.js b/tests/baselines/reference/constraintPropagationThroughReturnTypes.js index e600169dfaa8b..e4c1ccdc0e5a5 100644 --- a/tests/baselines/reference/constraintPropagationThroughReturnTypes.js +++ b/tests/baselines/reference/constraintPropagationThroughReturnTypes.js @@ -12,6 +12,7 @@ function f(x: S) { //// [constraintPropagationThroughReturnTypes.js] +"use strict"; function g(x) { return x; } diff --git a/tests/baselines/reference/constraintReferencingTypeParameterFromSameTypeParameterList.js b/tests/baselines/reference/constraintReferencingTypeParameterFromSameTypeParameterList.js index e918a9ea7299d..7326098f65e36 100644 --- a/tests/baselines/reference/constraintReferencingTypeParameterFromSameTypeParameterList.js +++ b/tests/baselines/reference/constraintReferencingTypeParameterFromSameTypeParameterList.js @@ -27,6 +27,7 @@ function foo(v: V) => void>() { //// [constraintReferencingTypeParameterFromSameTypeParameterList.js] +"use strict"; // used to be valid, now an error to do this function f() { } diff --git a/tests/baselines/reference/constraintSatisfactionWithAny.js b/tests/baselines/reference/constraintSatisfactionWithAny.js index dc13401049872..0773d2ed0e0e2 100644 --- a/tests/baselines/reference/constraintSatisfactionWithAny.js +++ b/tests/baselines/reference/constraintSatisfactionWithAny.js @@ -55,6 +55,7 @@ var c8 = new C4(b); //// [constraintSatisfactionWithAny.js] +"use strict"; // any is not a valid type argument unless there is no constraint, or the constraint is any function foo(x) { return null; } function foo2(x) { return null; } diff --git a/tests/baselines/reference/constraintSatisfactionWithAny2.js b/tests/baselines/reference/constraintSatisfactionWithAny2.js index c357bb6003d62..258ccc681bc97 100644 --- a/tests/baselines/reference/constraintSatisfactionWithAny2.js +++ b/tests/baselines/reference/constraintSatisfactionWithAny2.js @@ -11,6 +11,7 @@ foo(a); foo(a); //// [constraintSatisfactionWithAny2.js] +"use strict"; // errors expected for type parameter cannot be referenced in the constraints of the same list // any is not a valid type argument unless there is no constraint, or the constraint is any var a; diff --git a/tests/baselines/reference/constraintSatisfactionWithEmptyObject.js b/tests/baselines/reference/constraintSatisfactionWithEmptyObject.js index 82405dd69ecfa..146e09c856791 100644 --- a/tests/baselines/reference/constraintSatisfactionWithEmptyObject.js +++ b/tests/baselines/reference/constraintSatisfactionWithEmptyObject.js @@ -40,6 +40,7 @@ var i2: I2<{}>; //// [constraintSatisfactionWithEmptyObject.js] +"use strict"; // valid uses of a basic object constraint, no errors expected // Object constraint function foo(x) { } diff --git a/tests/baselines/reference/constraints0.js b/tests/baselines/reference/constraints0.js index be31d52823fd3..c14914af7a5a5 100644 --- a/tests/baselines/reference/constraints0.js +++ b/tests/baselines/reference/constraints0.js @@ -19,4 +19,5 @@ declare var v2: C; // should not work var y = v1.x.a; // 'a' should be of type 'number' //// [constraints0.js] +"use strict"; var y = v1.x.a; // 'a' should be of type 'number' diff --git a/tests/baselines/reference/constraintsThatReferenceOtherContstraints1.js b/tests/baselines/reference/constraintsThatReferenceOtherContstraints1.js index 0f739c713cd8e..01486c4104342 100644 --- a/tests/baselines/reference/constraintsThatReferenceOtherContstraints1.js +++ b/tests/baselines/reference/constraintsThatReferenceOtherContstraints1.js @@ -12,6 +12,7 @@ var x: Foo< { a: string }, { a: string; b: number }>; // Error 2 Type '{ a: stri //// [constraintsThatReferenceOtherContstraints1.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/constraintsUsedInPrototypeProperty.js b/tests/baselines/reference/constraintsUsedInPrototypeProperty.js index cc684b6ea2caf..5819c77efcdfe 100644 --- a/tests/baselines/reference/constraintsUsedInPrototypeProperty.js +++ b/tests/baselines/reference/constraintsUsedInPrototypeProperty.js @@ -5,6 +5,7 @@ class Foo { } Foo.prototype; // Foo //// [constraintsUsedInPrototypeProperty.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance.js b/tests/baselines/reference/constructSignatureAssignabilityInInheritance.js index 47dfc0185f722..9b67fe4977b43 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance.js +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance.js @@ -74,6 +74,7 @@ namespace MemberWithConstructSignature { } //// [constructSignatureAssignabilityInInheritance.js] +"use strict"; // Checking basic subtype relations with construct signatures var MemberWithConstructSignature; (function (MemberWithConstructSignature) { diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.js b/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.js index e85ec95d8af40..04384413de1f3 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.js +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance2.js @@ -72,6 +72,7 @@ interface I extends A { } //// [constructSignatureAssignabilityInInheritance2.js] +"use strict"; // checking subtype relations for function types as it relates to contextual signature instantiation var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.js b/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.js index 11ec189445876..964394c501181 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.js +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance3.js @@ -114,6 +114,7 @@ namespace Errors { } //// [constructSignatureAssignabilityInInheritance3.js] +"use strict"; // checking subtype relations for function types as it relates to contextual signature instantiation // error cases var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.js b/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.js index b7b5bf9a195a0..87df2b66db5d4 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.js +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance4.js @@ -62,6 +62,7 @@ interface I extends A { } //// [constructSignatureAssignabilityInInheritance4.js] +"use strict"; // checking subtype relations for function types as it relates to contextual signature instantiation var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.js b/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.js index ffd1d98a189f6..5562e713a8bfb 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.js +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance5.js @@ -51,6 +51,7 @@ interface I extends B { } //// [constructSignatureAssignabilityInInheritance5.js] +"use strict"; // checking subtype relations for function types as it relates to contextual signature instantiation // same as subtypingWithConstructSignatures2 just with an extra level of indirection in the inheritance chain var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.js b/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.js index 92255a8031888..187e945019372 100644 --- a/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.js +++ b/tests/baselines/reference/constructSignatureAssignabilityInInheritance6.js @@ -53,6 +53,7 @@ interface I9 extends A { } //// [constructSignatureAssignabilityInInheritance6.js] +"use strict"; // checking subtype relations for function types as it relates to contextual signature instantiation // same as subtypingWithConstructSignatures4 but using class type parameters instead of generic signatures // all are errors diff --git a/tests/baselines/reference/constructSignatureWithAccessibilityModifiersOnParameters.js b/tests/baselines/reference/constructSignatureWithAccessibilityModifiersOnParameters.js index 2b451299b53da..17ecd743d4690 100644 --- a/tests/baselines/reference/constructSignatureWithAccessibilityModifiersOnParameters.js +++ b/tests/baselines/reference/constructSignatureWithAccessibilityModifiersOnParameters.js @@ -32,6 +32,7 @@ var b: { } //// [constructSignatureWithAccessibilityModifiersOnParameters.js] +"use strict"; // Parameter properties are only valid in constructor definitions, not even in other forms of construct signatures var C = /** @class */ (function () { function C(x, y) { diff --git a/tests/baselines/reference/constructSignatureWithAccessibilityModifiersOnParameters2.js b/tests/baselines/reference/constructSignatureWithAccessibilityModifiersOnParameters2.js index 4fce24eee96ab..4a35c5a0b13c7 100644 --- a/tests/baselines/reference/constructSignatureWithAccessibilityModifiersOnParameters2.js +++ b/tests/baselines/reference/constructSignatureWithAccessibilityModifiersOnParameters2.js @@ -39,6 +39,7 @@ var b: { } //// [constructSignatureWithAccessibilityModifiersOnParameters2.js] +"use strict"; // Parameter properties are not valid in overloads of constructors var C = /** @class */ (function () { function C(x, y) { diff --git a/tests/baselines/reference/constructSignaturesWithIdenticalOverloads.js b/tests/baselines/reference/constructSignaturesWithIdenticalOverloads.js index 6874be22a2df7..1e4522750909d 100644 --- a/tests/baselines/reference/constructSignaturesWithIdenticalOverloads.js +++ b/tests/baselines/reference/constructSignaturesWithIdenticalOverloads.js @@ -52,6 +52,7 @@ var b: { var r6 = new b(1, ''); //// [constructSignaturesWithIdenticalOverloads.js] +"use strict"; // Duplicate overloads of construct signatures should generate errors var C = /** @class */ (function () { function C(x) { diff --git a/tests/baselines/reference/constructSignaturesWithOverloads.js b/tests/baselines/reference/constructSignaturesWithOverloads.js index ea15069b268df..14655a16b8798 100644 --- a/tests/baselines/reference/constructSignaturesWithOverloads.js +++ b/tests/baselines/reference/constructSignaturesWithOverloads.js @@ -53,6 +53,7 @@ var b: { var r6 = new b(1, ''); //// [constructSignaturesWithOverloads.js] +"use strict"; // No errors expected for basic overloads of construct signatures var C = /** @class */ (function () { function C(x) { diff --git a/tests/baselines/reference/constructSignaturesWithOverloads2.js b/tests/baselines/reference/constructSignaturesWithOverloads2.js index ed925a093c131..966e244881a73 100644 --- a/tests/baselines/reference/constructSignaturesWithOverloads2.js +++ b/tests/baselines/reference/constructSignaturesWithOverloads2.js @@ -42,6 +42,7 @@ var r4 = new i2(1, ''); var r5 = new i2(1, 1); //// [constructSignaturesWithOverloads2.js] +"use strict"; // No errors expected for basic overloads of construct signatures with merged declarations // clodules var C = /** @class */ (function () { diff --git a/tests/baselines/reference/constructSignaturesWithOverloadsThatDifferOnlyByReturnType.js b/tests/baselines/reference/constructSignaturesWithOverloadsThatDifferOnlyByReturnType.js index b76a8e58fe8bb..95988090cbec4 100644 --- a/tests/baselines/reference/constructSignaturesWithOverloadsThatDifferOnlyByReturnType.js +++ b/tests/baselines/reference/constructSignaturesWithOverloadsThatDifferOnlyByReturnType.js @@ -35,6 +35,7 @@ var b: { } //// [constructSignaturesWithOverloadsThatDifferOnlyByReturnType.js] +"use strict"; // Error for construct signature overloads to differ only by return type var C = /** @class */ (function () { function C(x) { diff --git a/tests/baselines/reference/constructableDecoratorOnClass01.js b/tests/baselines/reference/constructableDecoratorOnClass01.js index 53fbedfee15ba..f5aecc816cfd2 100644 --- a/tests/baselines/reference/constructableDecoratorOnClass01.js +++ b/tests/baselines/reference/constructableDecoratorOnClass01.js @@ -10,6 +10,7 @@ class C { //// [constructableDecoratorOnClass01.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/constructorArgWithGenericCallSignature.js b/tests/baselines/reference/constructorArgWithGenericCallSignature.js index fa1a9664c9e32..6406d71482387 100644 --- a/tests/baselines/reference/constructorArgWithGenericCallSignature.js +++ b/tests/baselines/reference/constructorArgWithGenericCallSignature.js @@ -17,6 +17,7 @@ var test = new Test.MyClass(func); // Should be OK //// [constructorArgWithGenericCallSignature.js] +"use strict"; var Test; (function (Test) { var MyClass = /** @class */ (function () { diff --git a/tests/baselines/reference/constructorArgs.js b/tests/baselines/reference/constructorArgs.js index ce0e1be76013f..4c52523fe5c20 100644 --- a/tests/baselines/reference/constructorArgs.js +++ b/tests/baselines/reference/constructorArgs.js @@ -18,6 +18,7 @@ class Sub extends Super { //// [constructorArgs.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/constructorArgsErrors1.js b/tests/baselines/reference/constructorArgsErrors1.js index 278db86f0fc4d..697747bb92f4f 100644 --- a/tests/baselines/reference/constructorArgsErrors1.js +++ b/tests/baselines/reference/constructorArgsErrors1.js @@ -7,6 +7,7 @@ class foo { } //// [constructorArgsErrors1.js] +"use strict"; var foo = /** @class */ (function () { function foo(a) { } diff --git a/tests/baselines/reference/constructorArgsErrors2.js b/tests/baselines/reference/constructorArgsErrors2.js index c171964f6395b..c93ddb5f5abce 100644 --- a/tests/baselines/reference/constructorArgsErrors2.js +++ b/tests/baselines/reference/constructorArgsErrors2.js @@ -8,6 +8,7 @@ class foo { //// [constructorArgsErrors2.js] +"use strict"; var foo = /** @class */ (function () { function foo(a) { this.a = a; diff --git a/tests/baselines/reference/constructorArgsErrors3.js b/tests/baselines/reference/constructorArgsErrors3.js index 4c51645e57155..8b10384ac23b8 100644 --- a/tests/baselines/reference/constructorArgsErrors3.js +++ b/tests/baselines/reference/constructorArgsErrors3.js @@ -8,6 +8,7 @@ class foo { //// [constructorArgsErrors3.js] +"use strict"; var foo = /** @class */ (function () { function foo(a) { this.a = a; diff --git a/tests/baselines/reference/constructorArgsErrors4.js b/tests/baselines/reference/constructorArgsErrors4.js index 2b39cf8a16eee..8fd2969bd316e 100644 --- a/tests/baselines/reference/constructorArgsErrors4.js +++ b/tests/baselines/reference/constructorArgsErrors4.js @@ -8,6 +8,7 @@ class foo { //// [constructorArgsErrors4.js] +"use strict"; var foo = /** @class */ (function () { function foo(a) { this.a = a; diff --git a/tests/baselines/reference/constructorArgsErrors5.js b/tests/baselines/reference/constructorArgsErrors5.js index 49abcacbea9b1..53a626bc7583c 100644 --- a/tests/baselines/reference/constructorArgsErrors5.js +++ b/tests/baselines/reference/constructorArgsErrors5.js @@ -8,6 +8,7 @@ class foo { //// [constructorArgsErrors5.js] +"use strict"; var foo = /** @class */ (function () { function foo(a) { } diff --git a/tests/baselines/reference/constructorAsType.js b/tests/baselines/reference/constructorAsType.js index d512a58c24fab..b771f649f6460 100644 --- a/tests/baselines/reference/constructorAsType.js +++ b/tests/baselines/reference/constructorAsType.js @@ -8,5 +8,6 @@ declare var Person2:{new() : {name:string;};}; Person = Person2; //// [constructorAsType.js] +"use strict"; var Person = function () { return { name: "joe" }; }; Person = Person2; diff --git a/tests/baselines/reference/constructorDefaultValuesReferencingThis.js b/tests/baselines/reference/constructorDefaultValuesReferencingThis.js index 87394c3841f34..f0cb33a028489 100644 --- a/tests/baselines/reference/constructorDefaultValuesReferencingThis.js +++ b/tests/baselines/reference/constructorDefaultValuesReferencingThis.js @@ -22,6 +22,7 @@ class F extends C { //// [constructorDefaultValuesReferencingThis.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.js b/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.js index e08402f915c9e..efaf6025e199f 100644 --- a/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.js +++ b/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType.js @@ -22,6 +22,7 @@ class Derived2 extends Base { } //// [constructorFunctionTypeIsAssignableToBaseType.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType2.js b/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType2.js index e98709608d1bb..bf1f821a8d862 100644 --- a/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType2.js +++ b/tests/baselines/reference/constructorFunctionTypeIsAssignableToBaseType2.js @@ -35,6 +35,7 @@ class Derived2 extends Base { } //// [constructorFunctionTypeIsAssignableToBaseType2.js] +"use strict"; // the constructor function itself does not need to be a subtype of the base type constructor function var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/constructorHasPrototypeProperty.js b/tests/baselines/reference/constructorHasPrototypeProperty.js index e9ee55d46c60f..fda0d0d7e0c9b 100644 --- a/tests/baselines/reference/constructorHasPrototypeProperty.js +++ b/tests/baselines/reference/constructorHasPrototypeProperty.js @@ -34,6 +34,7 @@ namespace Generic { } //// [constructorHasPrototypeProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/constructorImplementationWithDefaultValues.js b/tests/baselines/reference/constructorImplementationWithDefaultValues.js index 7e7cad26723d8..5226893207924 100644 --- a/tests/baselines/reference/constructorImplementationWithDefaultValues.js +++ b/tests/baselines/reference/constructorImplementationWithDefaultValues.js @@ -23,6 +23,7 @@ class E { } //// [constructorImplementationWithDefaultValues.js] +"use strict"; var C = /** @class */ (function () { function C(x) { if (x === void 0) { x = 1; } diff --git a/tests/baselines/reference/constructorImplementationWithDefaultValues2.js b/tests/baselines/reference/constructorImplementationWithDefaultValues2.js index 2a7eaa3cbb7c8..8ef897b64bffc 100644 --- a/tests/baselines/reference/constructorImplementationWithDefaultValues2.js +++ b/tests/baselines/reference/constructorImplementationWithDefaultValues2.js @@ -23,6 +23,7 @@ class E { } //// [constructorImplementationWithDefaultValues2.js] +"use strict"; var C = /** @class */ (function () { function C(x) { if (x === void 0) { x = 1; } diff --git a/tests/baselines/reference/constructorInvocationWithTooFewTypeArgs.js b/tests/baselines/reference/constructorInvocationWithTooFewTypeArgs.js index dda8209354f5e..fe94e3af474df 100644 --- a/tests/baselines/reference/constructorInvocationWithTooFewTypeArgs.js +++ b/tests/baselines/reference/constructorInvocationWithTooFewTypeArgs.js @@ -13,6 +13,7 @@ var d = new D(); //// [constructorInvocationWithTooFewTypeArgs.js] +"use strict"; var D = /** @class */ (function () { function D() { } diff --git a/tests/baselines/reference/constructorNameInAccessor.js b/tests/baselines/reference/constructorNameInAccessor.js index 7ce2369d59e35..2f16e860065d8 100644 --- a/tests/baselines/reference/constructorNameInAccessor.js +++ b/tests/baselines/reference/constructorNameInAccessor.js @@ -8,6 +8,7 @@ class C1 { //// [constructorNameInAccessor.js] +"use strict"; class C1 { get constructor() { return; } set constructor(value) { } diff --git a/tests/baselines/reference/constructorNameInGenerator.js b/tests/baselines/reference/constructorNameInGenerator.js index becb0208b7344..58eb17e9c9aad 100644 --- a/tests/baselines/reference/constructorNameInGenerator.js +++ b/tests/baselines/reference/constructorNameInGenerator.js @@ -7,6 +7,7 @@ class C2 { //// [constructorNameInGenerator.js] +"use strict"; class C2 { *constructor() { } } diff --git a/tests/baselines/reference/constructorNameInObjectLiteralAccessor.js b/tests/baselines/reference/constructorNameInObjectLiteralAccessor.js index 27c238b326f5b..7783ff311e0c9 100644 --- a/tests/baselines/reference/constructorNameInObjectLiteralAccessor.js +++ b/tests/baselines/reference/constructorNameInObjectLiteralAccessor.js @@ -8,6 +8,7 @@ const c1 = { //// [constructorNameInObjectLiteralAccessor.js] +"use strict"; const c1 = { get constructor() { return; }, set constructor(value) { } diff --git a/tests/baselines/reference/constructorOverloads1.js b/tests/baselines/reference/constructorOverloads1.js index 62bc33f549388..593022f423925 100644 --- a/tests/baselines/reference/constructorOverloads1.js +++ b/tests/baselines/reference/constructorOverloads1.js @@ -24,6 +24,7 @@ f1.bar2(); //// [constructorOverloads1.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(x) { } diff --git a/tests/baselines/reference/constructorOverloads2.js b/tests/baselines/reference/constructorOverloads2.js index 2f3e3e281134d..1eca11658a735 100644 --- a/tests/baselines/reference/constructorOverloads2.js +++ b/tests/baselines/reference/constructorOverloads2.js @@ -28,6 +28,7 @@ f1.bar1(); //// [constructorOverloads2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/constructorOverloads3.js b/tests/baselines/reference/constructorOverloads3.js index 1d51166ccd991..505af47e3f3d6 100644 --- a/tests/baselines/reference/constructorOverloads3.js +++ b/tests/baselines/reference/constructorOverloads3.js @@ -25,6 +25,7 @@ f1.bar1(); //// [constructorOverloads3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/constructorOverloads4.js b/tests/baselines/reference/constructorOverloads4.js index bf0b60d949b8b..d5e43e234c69e 100644 --- a/tests/baselines/reference/constructorOverloads4.js +++ b/tests/baselines/reference/constructorOverloads4.js @@ -15,5 +15,6 @@ M.Function("yo"); //// [constructorOverloads4.js] +"use strict"; (new M.Function("return 5"))(); M.Function("yo"); diff --git a/tests/baselines/reference/constructorOverloads5.js b/tests/baselines/reference/constructorOverloads5.js index 3cd36ce116bdc..f843fa88492b7 100644 --- a/tests/baselines/reference/constructorOverloads5.js +++ b/tests/baselines/reference/constructorOverloads5.js @@ -21,3 +21,4 @@ //// [constructorOverloads5.js] +"use strict"; diff --git a/tests/baselines/reference/constructorOverloads6.js b/tests/baselines/reference/constructorOverloads6.js index 831430f96cac0..dd3c8465cce5f 100644 --- a/tests/baselines/reference/constructorOverloads6.js +++ b/tests/baselines/reference/constructorOverloads6.js @@ -27,6 +27,7 @@ f1.bar1(); //// [constructorOverloads6.js] +"use strict"; var f1 = new Foo("hey"); var f2 = new Foo(0); var f3 = new Foo(f1); diff --git a/tests/baselines/reference/constructorOverloads7.js b/tests/baselines/reference/constructorOverloads7.js index 3b20c4827a236..7fb4d1101949d 100644 --- a/tests/baselines/reference/constructorOverloads7.js +++ b/tests/baselines/reference/constructorOverloads7.js @@ -28,6 +28,7 @@ function EF1(a,b) { return a+b; } //// [constructorOverloads7.js] +"use strict"; // Type provided by extern declaration // Because Point is a constructor function, this is inferred // to be Point and return type is inferred to be void diff --git a/tests/baselines/reference/constructorOverloads8.js b/tests/baselines/reference/constructorOverloads8.js index ccaffd1ff4489..ae9a1bbe33918 100644 --- a/tests/baselines/reference/constructorOverloads8.js +++ b/tests/baselines/reference/constructorOverloads8.js @@ -18,6 +18,7 @@ interface I { } //// [constructorOverloads8.js] +"use strict"; var C = /** @class */ (function () { function C(x) { } diff --git a/tests/baselines/reference/constructorOverloadsWithDefaultValues.js b/tests/baselines/reference/constructorOverloadsWithDefaultValues.js index 31df48ed565d3..0cc395049c77f 100644 --- a/tests/baselines/reference/constructorOverloadsWithDefaultValues.js +++ b/tests/baselines/reference/constructorOverloadsWithDefaultValues.js @@ -16,6 +16,7 @@ class D { } //// [constructorOverloadsWithDefaultValues.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/constructorOverloadsWithOptionalParameters.js b/tests/baselines/reference/constructorOverloadsWithOptionalParameters.js index 36f7e25e8beb1..885926f40d6a5 100644 --- a/tests/baselines/reference/constructorOverloadsWithOptionalParameters.js +++ b/tests/baselines/reference/constructorOverloadsWithOptionalParameters.js @@ -16,6 +16,7 @@ class D { } //// [constructorOverloadsWithOptionalParameters.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/constructorParameterProperties.js b/tests/baselines/reference/constructorParameterProperties.js index a15933052ad84..13ea9f5c64c99 100644 --- a/tests/baselines/reference/constructorParameterProperties.js +++ b/tests/baselines/reference/constructorParameterProperties.js @@ -24,6 +24,7 @@ var r4 = d.z; // error //// [constructorParameterProperties.js] +"use strict"; var C = /** @class */ (function () { function C(x, z) { this.x = x; diff --git a/tests/baselines/reference/constructorParameterProperties2.js b/tests/baselines/reference/constructorParameterProperties2.js index bc5333cc91368..0ed1ce7348015 100644 --- a/tests/baselines/reference/constructorParameterProperties2.js +++ b/tests/baselines/reference/constructorParameterProperties2.js @@ -35,6 +35,7 @@ var r4 = f.y; // error //// [constructorParameterProperties2.js] +"use strict"; var C = /** @class */ (function () { function C(y) { } // ok diff --git a/tests/baselines/reference/constructorParameterShadowsOuterScopes.js b/tests/baselines/reference/constructorParameterShadowsOuterScopes.js index 42bc925a006ca..a71f0f1e477f5 100644 --- a/tests/baselines/reference/constructorParameterShadowsOuterScopes.js +++ b/tests/baselines/reference/constructorParameterShadowsOuterScopes.js @@ -23,6 +23,7 @@ class D { } //// [constructorParameterShadowsOuterScopes.js] +"use strict"; // Initializer expressions for instance member variables are evaluated in the scope of the class constructor // body but are not permitted to reference parameters or local variables of the constructor. // This effectively means that entities from outer scopes by the same name as a constructor parameter or diff --git a/tests/baselines/reference/constructorParameterShadowsOuterScopes2.js b/tests/baselines/reference/constructorParameterShadowsOuterScopes2.js index 0bfdcaad8961f..5ad3d765620fc 100644 --- a/tests/baselines/reference/constructorParameterShadowsOuterScopes2.js +++ b/tests/baselines/reference/constructorParameterShadowsOuterScopes2.js @@ -35,6 +35,7 @@ class E { //// [constructorParameterShadowsOuterScopes2.js] +"use strict"; // With useDefineForClassFields: true and ESNext target, initializer // expressions for property declarations are evaluated in the scope of // the class body and are permitted to reference parameters or local diff --git a/tests/baselines/reference/constructorParametersInVariableDeclarations.js b/tests/baselines/reference/constructorParametersInVariableDeclarations.js index 834b95e7d25c4..b4327dc78106c 100644 --- a/tests/baselines/reference/constructorParametersInVariableDeclarations.js +++ b/tests/baselines/reference/constructorParametersInVariableDeclarations.js @@ -19,6 +19,7 @@ class B { } //// [constructorParametersInVariableDeclarations.js] +"use strict"; var A = /** @class */ (function () { function A(x) { this.a = x; diff --git a/tests/baselines/reference/constructorParametersThatShadowExternalNamesInVariableDeclarations.js b/tests/baselines/reference/constructorParametersThatShadowExternalNamesInVariableDeclarations.js index edc9e753c2795..a57b18104bf2f 100644 --- a/tests/baselines/reference/constructorParametersThatShadowExternalNamesInVariableDeclarations.js +++ b/tests/baselines/reference/constructorParametersThatShadowExternalNamesInVariableDeclarations.js @@ -16,6 +16,7 @@ class B { } //// [constructorParametersThatShadowExternalNamesInVariableDeclarations.js] +"use strict"; var x = 1; var A = /** @class */ (function () { function A(x) { diff --git a/tests/baselines/reference/constructorReturningAPrimitive.js b/tests/baselines/reference/constructorReturningAPrimitive.js index ab553a4297a69..96c30da32b6d1 100644 --- a/tests/baselines/reference/constructorReturningAPrimitive.js +++ b/tests/baselines/reference/constructorReturningAPrimitive.js @@ -22,6 +22,7 @@ class B { var b = new B(); //// [constructorReturningAPrimitive.js] +"use strict"; // technically not allowed by JavaScript but we don't have a 'not-primitive' constraint // functionally only possible when your class is otherwise devoid of members so of little consequence in practice var A = /** @class */ (function () { diff --git a/tests/baselines/reference/constructorReturnsInvalidType.js b/tests/baselines/reference/constructorReturnsInvalidType.js index d20165facd85a..d5e82fa5dd7e7 100644 --- a/tests/baselines/reference/constructorReturnsInvalidType.js +++ b/tests/baselines/reference/constructorReturnsInvalidType.js @@ -12,6 +12,7 @@ var x = new X(); //// [constructorReturnsInvalidType.js] +"use strict"; var X = /** @class */ (function () { function X() { return 1; diff --git a/tests/baselines/reference/constructorStaticParamName.js b/tests/baselines/reference/constructorStaticParamName.js index c2d3a311934d7..d47743725459d 100644 --- a/tests/baselines/reference/constructorStaticParamName.js +++ b/tests/baselines/reference/constructorStaticParamName.js @@ -9,6 +9,7 @@ class test { //// [constructorStaticParamName.js] +"use strict"; // static as constructor parameter name should only give error if 'use strict' var test = /** @class */ (function () { function test(static) { diff --git a/tests/baselines/reference/constructorTypeWithTypeParameters.js b/tests/baselines/reference/constructorTypeWithTypeParameters.js index f9b2ad81ddb53..9251f7f4c2095 100644 --- a/tests/baselines/reference/constructorTypeWithTypeParameters.js +++ b/tests/baselines/reference/constructorTypeWithTypeParameters.js @@ -10,6 +10,7 @@ declare var Y: { var anotherVar: new () => number; //// [constructorTypeWithTypeParameters.js] +"use strict"; var anotherVar; diff --git a/tests/baselines/reference/constructorWithAssignableReturnExpression.js b/tests/baselines/reference/constructorWithAssignableReturnExpression.js index 40e884bd4df1b..01ded077d66d7 100644 --- a/tests/baselines/reference/constructorWithAssignableReturnExpression.js +++ b/tests/baselines/reference/constructorWithAssignableReturnExpression.js @@ -38,6 +38,7 @@ class G { } //// [constructorWithAssignableReturnExpression.js] +"use strict"; // a class constructor may return an expression, it must be assignable to the class instance type to be valid var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/constructorWithCapturedSuper.js b/tests/baselines/reference/constructorWithCapturedSuper.js index daacc4419de48..320832f0e2c7f 100644 --- a/tests/baselines/reference/constructorWithCapturedSuper.js +++ b/tests/baselines/reference/constructorWithCapturedSuper.js @@ -55,6 +55,7 @@ class D extends A { } //// [constructorWithCapturedSuper.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/constructorWithExpressionLessReturn.js b/tests/baselines/reference/constructorWithExpressionLessReturn.js index 6c5504a8f7ec0..b51813561f7d1 100644 --- a/tests/baselines/reference/constructorWithExpressionLessReturn.js +++ b/tests/baselines/reference/constructorWithExpressionLessReturn.js @@ -27,6 +27,7 @@ class F { } //// [constructorWithExpressionLessReturn.js] +"use strict"; var C = /** @class */ (function () { function C() { return; diff --git a/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.js b/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.js index b90c7c07da390..7d501b2ffa9ca 100644 --- a/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.js +++ b/tests/baselines/reference/constructorWithIncompleteTypeAnnotation.js @@ -282,6 +282,7 @@ TypeScriptAllInOne.Program.Main(); //// [constructorWithIncompleteTypeAnnotation.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/constructorWithParameterPropertiesAndPrivateFields.es2015.js b/tests/baselines/reference/constructorWithParameterPropertiesAndPrivateFields.es2015.js index f1e7282ed4eb2..33d651c959f64 100644 --- a/tests/baselines/reference/constructorWithParameterPropertiesAndPrivateFields.es2015.js +++ b/tests/baselines/reference/constructorWithParameterPropertiesAndPrivateFields.es2015.js @@ -32,6 +32,7 @@ class B { //// [constructorWithParameterPropertiesAndPrivateFields.es2015.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/48771 var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); diff --git a/tests/baselines/reference/constructorsWithSpecializedSignatures.js b/tests/baselines/reference/constructorsWithSpecializedSignatures.js index c92e350f37f6c..0dd496fbfaa6e 100644 --- a/tests/baselines/reference/constructorsWithSpecializedSignatures.js +++ b/tests/baselines/reference/constructorsWithSpecializedSignatures.js @@ -46,6 +46,7 @@ interface I2 { } //// [constructorsWithSpecializedSignatures.js] +"use strict"; // errors var D = /** @class */ (function () { function D(x) { diff --git a/tests/baselines/reference/contextualIntersectionType.js b/tests/baselines/reference/contextualIntersectionType.js index fcd8f51dec145..13ff22d0f18dd 100644 --- a/tests/baselines/reference/contextualIntersectionType.js +++ b/tests/baselines/reference/contextualIntersectionType.js @@ -9,6 +9,7 @@ x = { //// [contextualIntersectionType.js] +"use strict"; var x; x = { a: function (s) { return s; }, diff --git a/tests/baselines/reference/contextualPropertyOfGenericMappedType.js b/tests/baselines/reference/contextualPropertyOfGenericMappedType.js index 002179566fe7f..af214089f7441 100644 --- a/tests/baselines/reference/contextualPropertyOfGenericMappedType.js +++ b/tests/baselines/reference/contextualPropertyOfGenericMappedType.js @@ -8,5 +8,6 @@ f({ data: 0 }, { data(value, key) {} }); //// [contextualPropertyOfGenericMappedType.js] +"use strict"; // Repro for #24694 f({ data: 0 }, { data: function (value, key) { } }); diff --git a/tests/baselines/reference/contextualReturnTypeOfIIFE.js b/tests/baselines/reference/contextualReturnTypeOfIIFE.js index 7baee9f0d4c96..269c3c85d7478 100644 --- a/tests/baselines/reference/contextualReturnTypeOfIIFE.js +++ b/tests/baselines/reference/contextualReturnTypeOfIIFE.js @@ -15,6 +15,7 @@ const obj: { foo: [one: number, two: string] } = { //// [contextualReturnTypeOfIIFE.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -51,8 +52,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) { if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; -var _this = this; -var test1 = (function () { return __awaiter(_this, void 0, void 0, function () { +var test1 = (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/, [1, 'two']]; }); diff --git a/tests/baselines/reference/contextualReturnTypeOfIIFE2.js b/tests/baselines/reference/contextualReturnTypeOfIIFE2.js index cafa4e867b78e..59f2495aec961 100644 --- a/tests/baselines/reference/contextualReturnTypeOfIIFE2.js +++ b/tests/baselines/reference/contextualReturnTypeOfIIFE2.js @@ -14,6 +14,7 @@ app.foo.bar.someFun(1); //// [contextualReturnTypeOfIIFE2.js] +"use strict"; app.foo.bar = (function () { var someFun = function (arg) { }; return { someFun: someFun }; diff --git a/tests/baselines/reference/contextualReturnTypeOfIIFE3.js b/tests/baselines/reference/contextualReturnTypeOfIIFE3.js index 978a2d0a8018c..4ba710b419716 100644 --- a/tests/baselines/reference/contextualReturnTypeOfIIFE3.js +++ b/tests/baselines/reference/contextualReturnTypeOfIIFE3.js @@ -17,6 +17,7 @@ app.foo.bar.someFun(1); //// [contextualReturnTypeOfIIFE3.js] +"use strict"; app.foo.bar = (function () { return { someFun: function (arg) { } }; })(); diff --git a/tests/baselines/reference/contextualSigInstantiationRestParams.js b/tests/baselines/reference/contextualSigInstantiationRestParams.js index 237b6bbdf79b4..0db035783121a 100644 --- a/tests/baselines/reference/contextualSigInstantiationRestParams.js +++ b/tests/baselines/reference/contextualSigInstantiationRestParams.js @@ -7,4 +7,5 @@ declare function contextual(...s: string[]): string var sig: typeof contextual = toInstantiate; //// [contextualSigInstantiationRestParams.js] +"use strict"; var sig = toInstantiate; diff --git a/tests/baselines/reference/contextualSignatureInObjectFreeze.js b/tests/baselines/reference/contextualSignatureInObjectFreeze.js index 8771cb0312f32..daf517ee28ff9 100644 --- a/tests/baselines/reference/contextualSignatureInObjectFreeze.js +++ b/tests/baselines/reference/contextualSignatureInObjectFreeze.js @@ -9,6 +9,7 @@ Object.freeze({ //// [contextualSignatureInObjectFreeze.js] +"use strict"; // #49101 Object.freeze({ f: function () { } diff --git a/tests/baselines/reference/contextualSignatureInstantiation.js b/tests/baselines/reference/contextualSignatureInstantiation.js index 5ef5d170de473..5a19e23a76a96 100644 --- a/tests/baselines/reference/contextualSignatureInstantiation.js +++ b/tests/baselines/reference/contextualSignatureInstantiation.js @@ -32,6 +32,7 @@ var d = baz(d, d, g); // Should be number[] | string[] //// [contextualSignatureInstantiation.js] +"use strict"; // TypeScript Spec, section 4.12.2: // If e is an expression of a function type that contains exactly one generic call signature and no other members, // and T is a function type with exactly one non - generic call signature and no other members, then any inferences diff --git a/tests/baselines/reference/contextualSignatureInstantiation1.js b/tests/baselines/reference/contextualSignatureInstantiation1.js index 340b562d776c2..646fcc5406e88 100644 --- a/tests/baselines/reference/contextualSignatureInstantiation1.js +++ b/tests/baselines/reference/contextualSignatureInstantiation1.js @@ -10,6 +10,7 @@ var e2 = (x: string, y?: K) => x.length; var r100 = map2(e2); // type arg inference should fail for S since a generic lambda is not inferentially typed. Falls back to { length: number } //// [contextualSignatureInstantiation1.js] +"use strict"; var e = function (x, y) { return x.length; }; var r99 = map(e); // should be {}[] for S since a generic lambda is not inferentially typed var e2 = function (x, y) { return x.length; }; diff --git a/tests/baselines/reference/contextualSignatureInstantiation2.js b/tests/baselines/reference/contextualSignatureInstantiation2.js index 30e08bc27677a..9238a32453410 100644 --- a/tests/baselines/reference/contextualSignatureInstantiation2.js +++ b/tests/baselines/reference/contextualSignatureInstantiation2.js @@ -8,6 +8,7 @@ var id: (x:T) => T; var r23 = dot(id)(id); //// [contextualSignatureInstantiation2.js] +"use strict"; // dot f g x = f(g(x)) var dot; dot = function (f) { return function (g) { return function (x) { return f(g(x)); }; }; }; diff --git a/tests/baselines/reference/contextualSignatureInstantiation3.js b/tests/baselines/reference/contextualSignatureInstantiation3.js index 9a29df8d592a2..896ba7c82d870 100644 --- a/tests/baselines/reference/contextualSignatureInstantiation3.js +++ b/tests/baselines/reference/contextualSignatureInstantiation3.js @@ -26,6 +26,7 @@ var v2 = map(xs, singleton); // Error if not number[][] //// [contextualSignatureInstantiation3.js] +"use strict"; function map(items, f) { return items.map(f); } diff --git a/tests/baselines/reference/contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.js b/tests/baselines/reference/contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.js index 7f928ac342b95..10dc0252357b7 100644 --- a/tests/baselines/reference/contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.js +++ b/tests/baselines/reference/contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.js @@ -9,6 +9,7 @@ var h: (v: V, func: (v: V) => W) => W; var x = h("", f()); // Call should succeed and x should be string. All type parameters should be instantiated to string //// [contextualSignatureInstantiationWithTypeParameterConstrainedToOuterTypeParameter.js] +"use strict"; function f() { function g(u) { return null; } return g; diff --git a/tests/baselines/reference/contextualSignatureInstatiationContravariance.js b/tests/baselines/reference/contextualSignatureInstatiationContravariance.js index 271c9c7aaa79d..5396b2485308b 100644 --- a/tests/baselines/reference/contextualSignatureInstatiationContravariance.js +++ b/tests/baselines/reference/contextualSignatureInstatiationContravariance.js @@ -14,5 +14,6 @@ declare var h2: (g1: Giraffe, g2: Giraffe) => void; h2 = f2; // valid because Giraffe satisfies the constraint. It is safe in the traditional contravariant fashion. //// [contextualSignatureInstatiationContravariance.js] +"use strict"; g2 = f2; // error because Giraffe and Elephant are disjoint types h2 = f2; // valid because Giraffe satisfies the constraint. It is safe in the traditional contravariant fashion. diff --git a/tests/baselines/reference/contextualSignatureInstatiationCovariance.js b/tests/baselines/reference/contextualSignatureInstatiationCovariance.js index 5755b200e57d6..f6a0f67b21bda 100644 --- a/tests/baselines/reference/contextualSignatureInstatiationCovariance.js +++ b/tests/baselines/reference/contextualSignatureInstatiationCovariance.js @@ -14,6 +14,7 @@ var h2: (a1: Animal, a2: Animal) => void; h2 = f2; // Animal does not satisfy the constraint, but T is at worst a Giraffe and compatible with Animal via covariance. //// [contextualSignatureInstatiationCovariance.js] +"use strict"; var f2; var g2; g2 = f2; // While neither Animal nor TallThing satisfy the constraint, T is at worst a Giraffe and compatible with both via covariance. diff --git a/tests/baselines/reference/contextualSignature_objectLiteralMethodMayReturnNever.js b/tests/baselines/reference/contextualSignature_objectLiteralMethodMayReturnNever.js index c95609a8ab0dd..ab68acb218533 100644 --- a/tests/baselines/reference/contextualSignature_objectLiteralMethodMayReturnNever.js +++ b/tests/baselines/reference/contextualSignature_objectLiteralMethodMayReturnNever.js @@ -6,4 +6,5 @@ const o: I = { m() { throw new Error("not implemented"); } }; //// [contextualSignature_objectLiteralMethodMayReturnNever.js] +"use strict"; var o = { m: function () { throw new Error("not implemented"); } }; diff --git a/tests/baselines/reference/contextualThisType.js b/tests/baselines/reference/contextualThisType.js index 7258aefac7f98..1f294fa20c6d8 100644 --- a/tests/baselines/reference/contextualThisType.js +++ b/tests/baselines/reference/contextualThisType.js @@ -18,6 +18,7 @@ var y = x.a(x); //// [contextualThisType.js] +"use strict"; var x = { a: function (p) { return p; diff --git a/tests/baselines/reference/contextualTypeAny.js b/tests/baselines/reference/contextualTypeAny.js index 8260517277387..614d53eadb85d 100644 --- a/tests/baselines/reference/contextualTypeAny.js +++ b/tests/baselines/reference/contextualTypeAny.js @@ -8,6 +8,7 @@ var obj: { [s: string]: number } = { p: "", q: x }; var arr: number[] = ["", x]; //// [contextualTypeAny.js] +"use strict"; var x; var obj = { p: "", q: x }; var arr = ["", x]; diff --git a/tests/baselines/reference/contextualTypeAppliedToVarArgs.js b/tests/baselines/reference/contextualTypeAppliedToVarArgs.js index b2fb24d3d951d..2cd6f46ef83a9 100644 --- a/tests/baselines/reference/contextualTypeAppliedToVarArgs.js +++ b/tests/baselines/reference/contextualTypeAppliedToVarArgs.js @@ -19,6 +19,7 @@ class Foo{ //// [contextualTypeAppliedToVarArgs.js] +"use strict"; function delegate(instance, method, data) { return function () { }; } diff --git a/tests/baselines/reference/contextualTypeArrayReturnType.js b/tests/baselines/reference/contextualTypeArrayReturnType.js index 66f201340c6eb..8bbe3483acc22 100644 --- a/tests/baselines/reference/contextualTypeArrayReturnType.js +++ b/tests/baselines/reference/contextualTypeArrayReturnType.js @@ -23,6 +23,7 @@ var style: IBookStyle = { //// [contextualTypeArrayReturnType.js] +"use strict"; var style = { initialLeftPageTransforms: function (width) { return [ diff --git a/tests/baselines/reference/contextualTypeLogicalOr.js b/tests/baselines/reference/contextualTypeLogicalOr.js index 6dc4adda3e5a1..fb71bd00d31c7 100644 --- a/tests/baselines/reference/contextualTypeLogicalOr.js +++ b/tests/baselines/reference/contextualTypeLogicalOr.js @@ -21,6 +21,7 @@ var a = //// [contextualTypeLogicalOr.js] +"use strict"; // Repro from #18005 var x = 123; var a = x && [1, 2, 3, 4] || diff --git a/tests/baselines/reference/contextualTypeObjectSpreadExpression.js b/tests/baselines/reference/contextualTypeObjectSpreadExpression.js index 69dfc2b4028ba..9273175f7d324 100644 --- a/tests/baselines/reference/contextualTypeObjectSpreadExpression.js +++ b/tests/baselines/reference/contextualTypeObjectSpreadExpression.js @@ -9,6 +9,7 @@ i = { ...{ a: "a" } }; //// [contextualTypeObjectSpreadExpression.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/contextualTypeWithTuple.js b/tests/baselines/reference/contextualTypeWithTuple.js index 589ebd29bf9db..39721ab495e27 100644 --- a/tests/baselines/reference/contextualTypeWithTuple.js +++ b/tests/baselines/reference/contextualTypeWithTuple.js @@ -39,6 +39,7 @@ const withExtra: MyEmptyTuple = [] //// [contextualTypeWithTuple.js] +"use strict"; // no error var numStrTuple = [5, "hello"]; var numStrTuple2 = [5, "foo", true]; diff --git a/tests/baselines/reference/contextualTypeWithUnionTypeCallSignatures.js b/tests/baselines/reference/contextualTypeWithUnionTypeCallSignatures.js index 8fd3f92801786..3bbb699beec18 100644 --- a/tests/baselines/reference/contextualTypeWithUnionTypeCallSignatures.js +++ b/tests/baselines/reference/contextualTypeWithUnionTypeCallSignatures.js @@ -39,6 +39,7 @@ var x3: IWithCallSignatures | IWithCallSignatures3 = a => /*here a should be any var x4: IWithCallSignatures | IWithCallSignatures4 = a => /*here a should be any*/ a.toString(); //// [contextualTypeWithUnionTypeCallSignatures.js] +"use strict"; //When used as a contextual type, a union type U has those members that are present in any of // its constituent types, with types that are unions of the respective members in the constituent types. // With no call signature | callSignatures diff --git a/tests/baselines/reference/contextualTypeWithUnionTypeIndexSignatures.js b/tests/baselines/reference/contextualTypeWithUnionTypeIndexSignatures.js index 6acf845f34456..90c15ead00ccb 100644 --- a/tests/baselines/reference/contextualTypeWithUnionTypeIndexSignatures.js +++ b/tests/baselines/reference/contextualTypeWithUnionTypeIndexSignatures.js @@ -57,6 +57,7 @@ var x4: IWithNumberIndexSignature1 | IWithNumberIndexSignature2 = { 1: a => a.to var x4: IWithNumberIndexSignature1 | IWithNumberIndexSignature2 = { 1: a => a }; // a should be number //// [contextualTypeWithUnionTypeIndexSignatures.js] +"use strict"; // When an object literal is contextually typed by a type that includes a string index signature, // the resulting type of the object literal includes a string index signature with the union type of // the types of the properties declared in the object literal, or the Undefined type if the object literal diff --git a/tests/baselines/reference/contextualTypeWithUnionTypeMembers.js b/tests/baselines/reference/contextualTypeWithUnionTypeMembers.js index 6c54ca1815ac8..9cb30c49f2364 100644 --- a/tests/baselines/reference/contextualTypeWithUnionTypeMembers.js +++ b/tests/baselines/reference/contextualTypeWithUnionTypeMembers.js @@ -122,6 +122,7 @@ var arrayOrI11OrI21: Array = [i11, i21, i11 || i21, { }]; //// [contextualTypeWithUnionTypeMembers.js] +"use strict"; // Let S be the set of types in U that has a property P. // If S is not empty, U has a property P of a union type of the types of P from each type in S. var i1; diff --git a/tests/baselines/reference/contextualTypeWithUnionTypeObjectLiteral.js b/tests/baselines/reference/contextualTypeWithUnionTypeObjectLiteral.js index ed07f67f5b79d..29be2d0900c89 100644 --- a/tests/baselines/reference/contextualTypeWithUnionTypeObjectLiteral.js +++ b/tests/baselines/reference/contextualTypeWithUnionTypeObjectLiteral.js @@ -62,6 +62,7 @@ var i11Ori21: I11 | I21 = { // Like i1 and i2 both }; //// [contextualTypeWithUnionTypeObjectLiteral.js] +"use strict"; var strOrNumber = str || num; var objStrOrNum1 = objStr || objNum; var objStrOrNum2 = objStr || objNum; diff --git a/tests/baselines/reference/contextualTyping.js b/tests/baselines/reference/contextualTyping.js index a19268d4576e7..993e861a8fb8c 100644 --- a/tests/baselines/reference/contextualTyping.js +++ b/tests/baselines/reference/contextualTyping.js @@ -227,6 +227,7 @@ var x: B = { }; //// [contextualTyping.js] +"use strict"; // CONTEXT: Class property declaration var C1T5 = /** @class */ (function () { function C1T5() { diff --git a/tests/baselines/reference/contextualTyping.js.map b/tests/baselines/reference/contextualTyping.js.map index be9a7dbcd3b5a..ebc5cb08e2411 100644 --- a/tests/baselines/reference/contextualTyping.js.map +++ b/tests/baselines/reference/contextualTyping.js.map @@ -1,3 +1,3 @@ //// [contextualTyping.js.map] -{"version":3,"file":"contextualTyping.js","sourceRoot":"","sources":["contextualTyping.ts"],"names":[],"mappings":"AAYA,sCAAsC;AACtC;IAAA;QACI,QAAG,GAAqC,UAAS,CAAC;YAC9C,OAAO,CAAC,CAAC;QACb,CAAC,CAAA;IACL,CAAC;IAAD,WAAC;AAAD,CAAC,AAJD,IAIC;AAED,0CAA0C;AAC1C,IAAU,IAAI,CAIb;AAJD,WAAU,IAAI;IACC,QAAG,GAAqC,UAAS,CAAC;QACzD,OAAO,CAAC,CAAC;IACb,CAAC,CAAA;AACL,CAAC,EAJS,IAAI,KAAJ,IAAI,QAIb;AAED,gCAAgC;AAChC,IAAI,IAAI,GAA0B,CAAC,UAAS,CAAC,IAAI,OAAO,CAAC,CAAA,CAAC,CAAC,CAAC,CAAC;AAC7D,IAAI,IAAI,GAAS,CAAC;IACd,CAAC,EAAE,CAAC;CACP,CAAC,CAAA;AACF,IAAI,IAAI,GAAa,EAAE,CAAC;AACxB,IAAI,IAAI,GAAe,cAAa,OAAa,CAAC,EAAE,CAAC,CAAA,CAAC,CAAC,CAAC;AACxD,IAAI,IAAI,GAAwB,UAAS,CAAC,IAAI,OAAa,CAAC,EAAE,CAAC,CAAA,CAAC,CAAC,CAAC;AAClE,IAAI,IAAI,GAAmC,UAAS,CAAC,EAAE,CAAC,IAAI,OAAa,CAAC,EAAE,CAAC,CAAA,CAAC,CAAC,CAAC;AAChF,IAAI,IAAI,GAGJ,UAAS,CAAC,IAAI,OAAO,CAA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yOyAgICAKICAgICAgICAgICAgLy8oczE6IHN0cmluZywgczI6IHN0cmluZyk6IG51bWJlcjsKICAgICAgICB9OwogICAgdDg6IChuOiBudW1iZXIsIHM6IHN0cmluZykgPT4gbnVtYmVyOwogICAgdDk6IG51bWJlcltdW107CiAgICB0MTA6IElGb29bXTsKICAgIHQxMTogeyhuOiBudW1iZXIsIHM6IHN0cmluZyk6IHN0cmluZzt9W107CiAgICB0MTI6IElCYXI7CiAgICB0MTM6IElGb287CiAgICB0MTQ6IElGb287CiAgICB9Cgp2YXIgb2JqYzg6IHsKICAgIHQxOiAoczogc3RyaW5nKSA9PiBzdHJpbmc7CiAgICB0MjogSUZvbzsKICAgIHQzOiBudW1iZXJbXTsKICAgIHQ0OiAoKSA9PiBJRm9vOwogICAgdDU6IChuOiBudW1iZXIpID0+IElGb287CiAgICB0NjogKG46IG51bWJlciwgczogc3RyaW5nKSA9PiBJRm9vOwogICAgdDc6IHsKICAgICAgICAgICAgKG46IG51bWJlciwgczogc3RyaW5nKTogbnVtYmVyOyAgICAKICAgICAgICAgICAgLy8oczE6IHN0cmluZywgczI6IHN0cmluZyk6IG51bWJlcjsKICAgICAgICB9OwogICAgdDg6IChuOiBudW1iZXIsIHM6IHN0cmluZykgPT4gbnVtYmVyOwogICAgdDk6IG51bWJlcltdW107CiAgICB0MTA6IElGb29bXTsKICAgIHQxMTogeyhuOiBudW1iZXIsIHM6IHN0cmluZyk6IHN0cmluZzt9W107CiAgICB0MTI6IElCYXI7CiAgICB0MTM6IElGb287CiAgICB0MTQ6IElGb287Cn0gPSA8SVBsYWNlSG9sZGVyPih7fSk7CgpvYmpjOC50MSA9IChmdW5jdGlvbihzKSB7IHJldHVybiBzIH0pOwpvYmpjOC50MiA9IDxJRm9vPih7CiAgICBuOiAxCn0pOwpvYmpjOC50MyA9IFtdOwpvYmpjOC50NCA9IGZ1bmN0aW9uKCkgeyByZXR1cm4gPElGb28+KHt9KSB9OwpvYmpjOC50NSA9IGZ1bmN0aW9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BhOiBbXQp9KQoKLy8gQ09OVEVYVDogQ29udGV4dHVhbCB0eXBpbmcgZGVjbGFyYXRpb25zCgovLyBjb250ZXh0dWFsbHkgdHlwaW5nIGZ1bmN0aW9uIGRlY2xhcmF0aW9ucwpkZWNsYXJlIGZ1bmN0aW9uIEVGMShhOm51bWJlciwgYjpudW1iZXIpOm51bWJlcjsKCmZ1bmN0aW9uIEVGMShhLGIpIHsgcmV0dXJuIGErYjsgfQoKdmFyIGVmdiA9IEVGMSgxLDIpOwoKCi8vIGNvbnRleHR1YWxseSB0eXBpbmcgZnJvbSBhbWJpZW50IGNsYXNzIGRlY2xhcmF0aW9ucwpkZWNsYXJlIGNsYXNzIFBvaW50CnsKICAgICAgY29uc3RydWN0b3IoeDogbnVtYmVyLCB5OiBudW1iZXIpOwogICAgICB4OiBudW1iZXI7CiAgICAgIHk6IG51bWJlcjsKICAgICAgYWRkKGR4OiBudW1iZXIsIGR5OiBudW1iZXIpOiBQb2ludDsKICAgICAgc3RhdGljIG9yaWdpbjogUG9pbnQ7Cgp9CgpQb2ludC5vcmlnaW4gPSBuZXcgUG9pbnQoMCwgMCk7CgpQb2ludC5wcm90b3R5cGUuYWRkID0gZnVuY3Rpb24oZHgsIGR5KSB7CiAgICByZXR1cm4gbmV3IFBvaW50KHRoaXMueCArIGR4LCB0aGlzLnkgKyBkeSk7Cn07CgpQb2ludC5wcm90b3R5cGUgPSB7CiAgICB4OiAwLAogICAgeTogMCwKICAgIGFkZDogZnVuY3Rpb24oZHgsIGR5KSB7CiAgICAgICAgcmV0dXJuIG5ldyBQb2ludCh0aGlzLnggKyBkeCwgdGhpcy55ICsgZHkpOwogICAgfQp9OwoKaW50ZXJmYWNlIEEgeyB4OiBzdHJpbmc7IH0KaW50ZXJmYWNlIEIgZXh0ZW5kcyBBIHsgfQp2YXIgeDogQiA9IHsgfTsK +{"version":3,"file":"contextualTyping.js","sourceRoot":"","sources":["contextualTyping.ts"],"names":[],"mappings":";AAYA,sCAAsC;AACt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BDNVQ1IHsKICAgIGV4cG9ydCB2YXIgZm9vOiAoaTogbnVtYmVyLCBzOiBzdHJpbmcpID0+IHN0cmluZzsKICAgIGZvbyA9IGZ1bmN0aW9uKGksIHMpIHsKICAgICAgICByZXR1cm4gczsKICAgIH0KfQoKLy8gQ09OVEVYVDogVmFyaWFibGUgYXNzaWdubWVudAp2YXIgYzZ0NTogKG46IG51bWJlcikgPT4gSUZvbzsKYzZ0NSA9IDwobjogbnVtYmVyKSA9PiBJRm9vPmZ1bmN0aW9uKG4pIHsgcmV0dXJuIDxJRm9vPih7fSkgfTsKCi8vIENPTlRFWFQ6IEFycmF5IGluZGV4IGFzc2lnbm1lbnQKdmFyIGM3dDI6IElGb29bXSA9IFtdOwpjN3QyWzBdID0gPElGb28+KHtuOiAxfSk7CgovLyBDT05URVhUOiBPYmplY3QgcHJvcGVydHkgYXNzaWdubWVudAppbnRlcmZhY2UgSVBsYWNlSG9sZGVyIHsKICAgIHQxOiAoczogc3RyaW5nKSA9PiBzdHJpbmc7CiAgICB0MjogSUZvbzsKICAgIHQzOiBudW1iZXJbXTsKICAgIHQ0OiAoKSA9PiBJRm9vOwogICAgdDU6IChuOiBudW1iZXIpID0+IElGb287CiAgICB0NjogKG46IG51bWJlciwgczogc3RyaW5nKSA9PiBJRm9vOwogICAgdDc6IHsKICAgICAgICAgICAgKG46IG51bWJlciwgczogc3RyaW5nKTogbnVtYmVyOyAgICAKICAgICAgICAgICAgLy8oczE6IHN0cmluZywgczI6IHN0cmluZyk6IG51bWJlcjsKICAgICAgICB9OwogICAgdDg6IChuOiBudW1iZXIsIHM6IHN0cmluZykgPT4gbnVtYmVyOwogICAgdDk6IG51bWJlcltdW107CiAgICB0MTA6IElGb29bXTsKICAgIHQxMTogeyhuOiBudW1iZXIsIHM6IHN0cmluZyk6IHN0cmluZzt9W107CiAgICB0MTI6IElCYXI7CiAgICB0MTM6IElGb287CiAgICB0MTQ6IElGb287CiAgICB9Cgp2YXIgb2JqYzg6IHsKICAgIHQxOiAoczogc3RyaW5nKSA9PiBzdHJpbmc7CiAgICB0MjogSUZvbzsKICAgIHQzOiBudW1iZXJbXTsKICAgIHQ0OiAoKSA9PiBJRm9vOwogICAgdDU6IChuOiBudW1iZXIpID0+IElGb287CiAgICB0NjogKG46IG51bWJlciwgczogc3RyaW5nKSA9PiBJRm9vOwogICAgdDc6IHsKICAgICAgICAgICAgKG46IG51bWJlciwgczogc3RyaW5nKTogbnVtYmVyOyAgICAKICAgICAgICAgICAgLy8oczE6IHN0cmluZywgczI6IHN0cmluZyk6IG51bWJlcjsKICAgICAgICB9OwogICAgdDg6IChuOiBudW1iZXIsIHM6IHN0cmluZykgPT4gbnVtYmVyOwogICAgdDk6IG51bWJlcltdW107CiAgICB0MTA6IElGb29bXTsKICAgIHQxMTogeyhuOiBudW1iZXIsIHM6IHN0cmluZyk6IHN0cmluZzt9W107CiAgICB0MTI6IElCYXI7CiAgICB0MTM6IElGb287CiAgICB0MTQ6IElGb287Cn0gPSA8SVBsYWNlSG9sZGVyPih7fSk7CgpvYmpjOC50MSA9IChmdW5jdGlvbihzKSB7IHJldHVybiBzIH0pOwpvYmpjOC50MiA9IDxJRm9vPih7CiAgICBuOiAxCn0pOwpvYmpjOC50MyA9IFtdOwpvYmpjOC50NCA9IGZ1bmN0aW9uKCkgeyByZXR1cm4gPElGb28+KHt9KSB9OwpvYmpjOC50NSA9IGZ1bmN0aW9uKG4pIHsgcmV0dXJuIDxJRm9vPih7fSkgfTsKb2JqYzgudDYgPSBmdW5jdGlvbihuLCBzKSB7IHJldHVybiA8SUZvbz4oe30pIH07Cm9iamM4LnQ3ID0gZnVuY3Rpb24objogbnVtYmVyKSB7IHJldHVybiBuIH07CgpvYmpjOC50OCA9IGZ1bmN0aW9uKG4pIHsgcmV0dXJuIG47IH07Cm9iamM4LnQ5ID0gW1tdLFtdXTsKb2JqYzgudDEwID0gWzxJRm9vPih7fSksPElGb28+KHt9KV07Cm9iamM4LnQxMSA9IFtmdW5jdGlvb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vbSBhbWJpZW50IGNsYXNzIGRlY2xhcmF0aW9ucwpkZWNsYXJlIGNsYXNzIFBvaW50CnsKICAgICAgY29uc3RydWN0b3IoeDogbnVtYmVyLCB5OiBudW1iZXIpOwogICAgICB4OiBudW1iZXI7CiAgICAgIHk6IG51bWJlcjsKICAgICAgYWRkKGR4OiBudW1iZXIsIGR5OiBudW1iZXIpOiBQb2ludDsKICAgICAgc3RhdGljIG9yaWdpbjogUG9pbnQ7Cgp9CgpQb2ludC5vcmlnaW4gPSBuZXcgUG9pbnQoMCwgMCk7CgpQb2ludC5wcm90b3R5cGUuYWRkID0gZnVuY3Rpb24oZHgsIGR5KSB7CiAgICByZXR1cm4gbmV3IFBvaW50KHRoaXMueCArIGR4LCB0aGlzLnkgKyBkeSk7Cn07CgpQb2ludC5wcm90b3R5cGUgPSB7CiAgICB4OiAwLAogICAgeTogMCwKICAgIGFkZDogZnVuY3Rpb24oZHgsIGR5KSB7CiAgICAgICAgcmV0dXJuIG5ldyBQb2ludCh0aGlzLnggKyBkeCwgdGhpcy55ICsgZHkpOwogICAgfQp9OwoKaW50ZXJmYWNlIEEgeyB4OiBzdHJpbmc7IH0KaW50ZXJmYWNlIEIgZXh0ZW5kcyBBIHsgfQp2YXIgeDogQiA9IHsgfTsK diff --git a/tests/baselines/reference/contextualTyping.sourcemap.txt b/tests/baselines/reference/contextualTyping.sourcemap.txt index c68b3d3394e89..2c49dab3fbc40 100644 --- a/tests/baselines/reference/contextualTyping.sourcemap.txt +++ b/tests/baselines/reference/contextualTyping.sourcemap.txt @@ -8,6 +8,7 @@ sources: contextualTyping.ts emittedFile:contextualTyping.js sourceFile:contextualTyping.ts ------------------------------------------------------------------- +>>>"use strict"; >>>// CONTEXT: Class property declaration 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -26,21 +27,21 @@ sourceFile:contextualTyping.ts > > 2 >// CONTEXT: Class property declaration -1 >Emitted(1, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(1, 39) Source(13, 39) + SourceIndex(0) +1 >Emitted(2, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(2, 39) Source(13, 39) + SourceIndex(0) --- >>>var C1T5 = /** @class */ (function () { 1-> 2 >^^^^^^^^^^^^^^^^^^^^^^-> 1-> > -1->Emitted(2, 1) Source(14, 1) + SourceIndex(0) +1->Emitted(3, 1) Source(14, 1) + SourceIndex(0) --- >>> function C1T5() { 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1-> -1->Emitted(3, 5) Source(14, 1) + SourceIndex(0) +1->Emitted(4, 5) Source(14, 1) + SourceIndex(0) --- >>> this.foo = function (i) { 1->^^^^^^^^ @@ -54,11 +55,11 @@ sourceFile:contextualTyping.ts 3 > : (i: number, s: string) => number = 4 > function( 5 > i -1->Emitted(4, 9) Source(15, 5) + SourceIndex(0) -2 >Emitted(4, 17) Source(15, 8) + SourceIndex(0) -3 >Emitted(4, 20) Source(15, 45) + SourceIndex(0) -4 >Emitted(4, 30) Source(15, 54) + SourceIndex(0) -5 >Emitted(4, 31) Source(15, 55) + SourceIndex(0) +1->Emitted(5, 9) Source(15, 5) + SourceIndex(0) +2 >Emitted(5, 17) Source(15, 8) + SourceIndex(0) +3 >Emitted(5, 20) Source(15, 45) + SourceIndex(0) +4 >Emitted(5, 30) Source(15, 54) + SourceIndex(0) +5 >Emitted(5, 31) Source(15, 55) + SourceIndex(0) --- >>> return i; 1 >^^^^^^^^^^^^ @@ -70,10 +71,10 @@ sourceFile:contextualTyping.ts 2 > return 3 > i 4 > ; -1 >Emitted(5, 13) Source(16, 9) + SourceIndex(0) -2 >Emitted(5, 20) Source(16, 16) + SourceIndex(0) -3 >Emitted(5, 21) Source(16, 17) + SourceIndex(0) -4 >Emitted(5, 22) Source(16, 18) + SourceIndex(0) +1 >Emitted(6, 13) Source(16, 9) + SourceIndex(0) +2 >Emitted(6, 20) Source(16, 16) + SourceIndex(0) +3 >Emitted(6, 21) Source(16, 17) + SourceIndex(0) +4 >Emitted(6, 22) Source(16, 18) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^ @@ -83,9 +84,9 @@ sourceFile:contextualTyping.ts > 2 > } 3 > -1 >Emitted(6, 9) Source(17, 5) + SourceIndex(0) -2 >Emitted(6, 10) Source(17, 6) + SourceIndex(0) -3 >Emitted(6, 11) Source(17, 6) + SourceIndex(0) +1 >Emitted(7, 9) Source(17, 5) + SourceIndex(0) +2 >Emitted(7, 10) Source(17, 6) + SourceIndex(0) +3 >Emitted(7, 11) Source(17, 6) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -94,16 +95,16 @@ sourceFile:contextualTyping.ts 1 > > 2 > } -1 >Emitted(7, 5) Source(18, 1) + SourceIndex(0) -2 >Emitted(7, 6) Source(18, 2) + SourceIndex(0) +1 >Emitted(8, 5) Source(18, 1) + SourceIndex(0) +2 >Emitted(8, 6) Source(18, 2) + SourceIndex(0) --- >>> return C1T5; 1->^^^^ 2 > ^^^^^^^^^^^ 1-> 2 > } -1->Emitted(8, 5) Source(18, 1) + SourceIndex(0) -2 >Emitted(8, 16) Source(18, 2) + SourceIndex(0) +1->Emitted(9, 5) Source(18, 1) + SourceIndex(0) +2 >Emitted(9, 16) Source(18, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -119,10 +120,10 @@ sourceFile:contextualTyping.ts > return i; > } > } -1 >Emitted(9, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(18, 2) + SourceIndex(0) -3 >Emitted(9, 2) Source(14, 1) + SourceIndex(0) -4 >Emitted(9, 6) Source(18, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(18, 2) + SourceIndex(0) +3 >Emitted(10, 2) Source(14, 1) + SourceIndex(0) +4 >Emitted(10, 6) Source(18, 2) + SourceIndex(0) --- >>>// CONTEXT: Namespace property declaration 1-> @@ -131,8 +132,8 @@ sourceFile:contextualTyping.ts > > 2 >// CONTEXT: Namespace property declaration -1->Emitted(10, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(10, 43) Source(20, 43) + SourceIndex(0) +1->Emitted(11, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(11, 43) Source(20, 43) + SourceIndex(0) --- >>>var C2T5; 1 > @@ -149,10 +150,10 @@ sourceFile:contextualTyping.ts > return i; > } > } -1 >Emitted(11, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(11, 5) Source(21, 11) + SourceIndex(0) -3 >Emitted(11, 9) Source(21, 15) + SourceIndex(0) -4 >Emitted(11, 10) Source(25, 2) + SourceIndex(0) +1 >Emitted(12, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(12, 5) Source(21, 11) + SourceIndex(0) +3 >Emitted(12, 9) Source(21, 15) + SourceIndex(0) +4 >Emitted(12, 10) Source(25, 2) + SourceIndex(0) --- >>>(function (C2T5) { 1-> @@ -162,9 +163,9 @@ sourceFile:contextualTyping.ts 1-> 2 >namespace 3 > C2T5 -1->Emitted(12, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(12, 12) Source(21, 11) + SourceIndex(0) -3 >Emitted(12, 16) Source(21, 15) + SourceIndex(0) +1->Emitted(13, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(13, 12) Source(21, 11) + SourceIndex(0) +3 >Emitted(13, 16) Source(21, 15) + SourceIndex(0) --- >>> C2T5.foo = function (i) { 1->^^^^ @@ -178,11 +179,11 @@ sourceFile:contextualTyping.ts 3 > : (i: number, s: string) => number = 4 > function( 5 > i -1->Emitted(13, 5) Source(22, 16) + SourceIndex(0) -2 >Emitted(13, 13) Source(22, 19) + SourceIndex(0) -3 >Emitted(13, 16) Source(22, 56) + SourceIndex(0) -4 >Emitted(13, 26) Source(22, 65) + SourceIndex(0) -5 >Emitted(13, 27) Source(22, 66) + SourceIndex(0) +1->Emitted(14, 5) Source(22, 16) + SourceIndex(0) +2 >Emitted(14, 13) Source(22, 19) + SourceIndex(0) +3 >Emitted(14, 16) Source(22, 56) + SourceIndex(0) +4 >Emitted(14, 26) Source(22, 65) + SourceIndex(0) +5 >Emitted(14, 27) Source(22, 66) + SourceIndex(0) --- >>> return i; 1 >^^^^^^^^ @@ -194,10 +195,10 @@ sourceFile:contextualTyping.ts 2 > return 3 > i 4 > ; -1 >Emitted(14, 9) Source(23, 9) + SourceIndex(0) -2 >Emitted(14, 16) Source(23, 16) + SourceIndex(0) -3 >Emitted(14, 17) Source(23, 17) + SourceIndex(0) -4 >Emitted(14, 18) Source(23, 18) + SourceIndex(0) +1 >Emitted(15, 9) Source(23, 9) + SourceIndex(0) +2 >Emitted(15, 16) Source(23, 16) + SourceIndex(0) +3 >Emitted(15, 17) Source(23, 17) + SourceIndex(0) +4 >Emitted(15, 18) Source(23, 18) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -208,9 +209,9 @@ sourceFile:contextualTyping.ts > 2 > } 3 > -1 >Emitted(15, 5) Source(24, 5) + SourceIndex(0) -2 >Emitted(15, 6) Source(24, 6) + SourceIndex(0) -3 >Emitted(15, 7) Source(24, 6) + SourceIndex(0) +1 >Emitted(16, 5) Source(24, 5) + SourceIndex(0) +2 >Emitted(16, 6) Source(24, 6) + SourceIndex(0) +3 >Emitted(16, 7) Source(24, 6) + SourceIndex(0) --- >>>})(C2T5 || (C2T5 = {})); 1-> @@ -233,13 +234,13 @@ sourceFile:contextualTyping.ts > return i; > } > } -1->Emitted(16, 1) Source(25, 1) + SourceIndex(0) -2 >Emitted(16, 2) Source(25, 2) + SourceIndex(0) -3 >Emitted(16, 4) Source(21, 11) + SourceIndex(0) -4 >Emitted(16, 8) Source(21, 15) + SourceIndex(0) -5 >Emitted(16, 13) Source(21, 11) + SourceIndex(0) -6 >Emitted(16, 17) Source(21, 15) + SourceIndex(0) -7 >Emitted(16, 25) Source(25, 2) + SourceIndex(0) +1->Emitted(17, 1) Source(25, 1) + SourceIndex(0) +2 >Emitted(17, 2) Source(25, 2) + SourceIndex(0) +3 >Emitted(17, 4) Source(21, 11) + SourceIndex(0) +4 >Emitted(17, 8) Source(21, 15) + SourceIndex(0) +5 >Emitted(17, 13) Source(21, 11) + SourceIndex(0) +6 >Emitted(17, 17) Source(21, 15) + SourceIndex(0) +7 >Emitted(17, 25) Source(25, 2) + SourceIndex(0) --- >>>// CONTEXT: Variable declaration 1-> @@ -249,8 +250,8 @@ sourceFile:contextualTyping.ts > > 2 >// CONTEXT: Variable declaration -1->Emitted(17, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(17, 33) Source(27, 33) + SourceIndex(0) +1->Emitted(18, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(18, 33) Source(27, 33) + SourceIndex(0) --- >>>var c3t1 = (function (s) { return s; }); 1-> @@ -284,21 +285,21 @@ sourceFile:contextualTyping.ts 13> } 14> ) 15> ; -1->Emitted(18, 1) Source(28, 1) + SourceIndex(0) -2 >Emitted(18, 5) Source(28, 5) + SourceIndex(0) -3 >Emitted(18, 9) Source(28, 9) + SourceIndex(0) -4 >Emitted(18, 12) Source(28, 35) + SourceIndex(0) -5 >Emitted(18, 13) Source(28, 36) + SourceIndex(0) -6 >Emitted(18, 23) Source(28, 45) + SourceIndex(0) -7 >Emitted(18, 24) Source(28, 46) + SourceIndex(0) -8 >Emitted(18, 28) Source(28, 50) + SourceIndex(0) -9 >Emitted(18, 35) Source(28, 57) + SourceIndex(0) -10>Emitted(18, 36) Source(28, 58) + SourceIndex(0) -11>Emitted(18, 37) Source(28, 58) + SourceIndex(0) -12>Emitted(18, 38) Source(28, 59) + SourceIndex(0) -13>Emitted(18, 39) Source(28, 60) + SourceIndex(0) -14>Emitted(18, 40) Source(28, 61) + SourceIndex(0) -15>Emitted(18, 41) Source(28, 62) + SourceIndex(0) +1->Emitted(19, 1) Source(28, 1) + SourceIndex(0) +2 >Emitted(19, 5) Source(28, 5) + SourceIndex(0) +3 >Emitted(19, 9) Source(28, 9) + SourceIndex(0) +4 >Emitted(19, 12) Source(28, 35) + SourceIndex(0) +5 >Emitted(19, 13) Source(28, 36) + SourceIndex(0) +6 >Emitted(19, 23) Source(28, 45) + SourceIndex(0) +7 >Emitted(19, 24) Source(28, 46) + SourceIndex(0) +8 >Emitted(19, 28) Source(28, 50) + SourceIndex(0) +9 >Emitted(19, 35) Source(28, 57) + SourceIndex(0) +10>Emitted(19, 36) Source(28, 58) + SourceIndex(0) +11>Emitted(19, 37) Source(28, 58) + SourceIndex(0) +12>Emitted(19, 38) Source(28, 59) + SourceIndex(0) +13>Emitted(19, 39) Source(28, 60) + SourceIndex(0) +14>Emitted(19, 40) Source(28, 61) + SourceIndex(0) +15>Emitted(19, 41) Source(28, 62) + SourceIndex(0) --- >>>var c3t2 = ({ 1 > @@ -312,11 +313,11 @@ sourceFile:contextualTyping.ts 3 > c3t2 4 > = 5 > ( -1 >Emitted(19, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(19, 5) Source(29, 5) + SourceIndex(0) -3 >Emitted(19, 9) Source(29, 9) + SourceIndex(0) -4 >Emitted(19, 12) Source(29, 18) + SourceIndex(0) -5 >Emitted(19, 13) Source(29, 19) + SourceIndex(0) +1 >Emitted(20, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(29, 5) + SourceIndex(0) +3 >Emitted(20, 9) Source(29, 9) + SourceIndex(0) +4 >Emitted(20, 12) Source(29, 18) + SourceIndex(0) +5 >Emitted(20, 13) Source(29, 19) + SourceIndex(0) --- >>> n: 1 1 >^^^^ @@ -328,10 +329,10 @@ sourceFile:contextualTyping.ts 2 > n 3 > : 4 > 1 -1 >Emitted(20, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(20, 6) Source(30, 6) + SourceIndex(0) -3 >Emitted(20, 8) Source(30, 8) + SourceIndex(0) -4 >Emitted(20, 9) Source(30, 9) + SourceIndex(0) +1 >Emitted(21, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(21, 6) Source(30, 6) + SourceIndex(0) +3 >Emitted(21, 8) Source(30, 8) + SourceIndex(0) +4 >Emitted(21, 9) Source(30, 9) + SourceIndex(0) --- >>>}); 1 >^ @@ -342,9 +343,9 @@ sourceFile:contextualTyping.ts >} 2 > ) 3 > -1 >Emitted(21, 2) Source(31, 2) + SourceIndex(0) -2 >Emitted(21, 3) Source(31, 3) + SourceIndex(0) -3 >Emitted(21, 4) Source(31, 3) + SourceIndex(0) +1 >Emitted(22, 2) Source(31, 2) + SourceIndex(0) +2 >Emitted(22, 3) Source(31, 3) + SourceIndex(0) +3 >Emitted(22, 4) Source(31, 3) + SourceIndex(0) --- >>>var c3t3 = []; 1-> @@ -361,12 +362,12 @@ sourceFile:contextualTyping.ts 4 > : number[] = 5 > [] 6 > ; -1->Emitted(22, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(22, 5) Source(32, 5) + SourceIndex(0) -3 >Emitted(22, 9) Source(32, 9) + SourceIndex(0) -4 >Emitted(22, 12) Source(32, 22) + SourceIndex(0) -5 >Emitted(22, 14) Source(32, 24) + SourceIndex(0) -6 >Emitted(22, 15) Source(32, 25) + SourceIndex(0) +1->Emitted(23, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(23, 5) Source(32, 5) + SourceIndex(0) +3 >Emitted(23, 9) Source(32, 9) + SourceIndex(0) +4 >Emitted(23, 12) Source(32, 22) + SourceIndex(0) +5 >Emitted(23, 14) Source(32, 24) + SourceIndex(0) +6 >Emitted(23, 15) Source(32, 25) + SourceIndex(0) --- >>>var c3t4 = function () { return ({}); }; 1-> @@ -397,19 +398,19 @@ sourceFile:contextualTyping.ts 11> 12> } 13> ; -1->Emitted(23, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(23, 5) Source(33, 5) + SourceIndex(0) -3 >Emitted(23, 9) Source(33, 9) + SourceIndex(0) -4 >Emitted(23, 12) Source(33, 24) + SourceIndex(0) -5 >Emitted(23, 26) Source(33, 37) + SourceIndex(0) -6 >Emitted(23, 33) Source(33, 50) + SourceIndex(0) -7 >Emitted(23, 34) Source(33, 51) + SourceIndex(0) -8 >Emitted(23, 36) Source(33, 53) + SourceIndex(0) -9 >Emitted(23, 37) Source(33, 54) + SourceIndex(0) -10>Emitted(23, 38) Source(33, 54) + SourceIndex(0) -11>Emitted(23, 39) Source(33, 55) + SourceIndex(0) -12>Emitted(23, 40) Source(33, 56) + SourceIndex(0) -13>Emitted(23, 41) Source(33, 57) + SourceIndex(0) +1->Emitted(24, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(24, 5) Source(33, 5) + SourceIndex(0) +3 >Emitted(24, 9) Source(33, 9) + SourceIndex(0) +4 >Emitted(24, 12) Source(33, 24) + SourceIndex(0) +5 >Emitted(24, 26) Source(33, 37) + SourceIndex(0) +6 >Emitted(24, 33) Source(33, 50) + SourceIndex(0) +7 >Emitted(24, 34) Source(33, 51) + SourceIndex(0) +8 >Emitted(24, 36) Source(33, 53) + SourceIndex(0) +9 >Emitted(24, 37) Source(33, 54) + SourceIndex(0) +10>Emitted(24, 38) Source(33, 54) + SourceIndex(0) +11>Emitted(24, 39) Source(33, 55) + SourceIndex(0) +12>Emitted(24, 40) Source(33, 56) + SourceIndex(0) +13>Emitted(24, 41) Source(33, 57) + SourceIndex(0) --- >>>var c3t5 = function (n) { return ({}); }; 1-> @@ -444,21 +445,21 @@ sourceFile:contextualTyping.ts 13> 14> } 15> ; -1->Emitted(24, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(24, 5) Source(34, 5) + SourceIndex(0) -3 >Emitted(24, 9) Source(34, 9) + SourceIndex(0) -4 >Emitted(24, 12) Source(34, 33) + SourceIndex(0) -5 >Emitted(24, 22) Source(34, 42) + SourceIndex(0) -6 >Emitted(24, 23) Source(34, 43) + SourceIndex(0) -7 >Emitted(24, 27) Source(34, 47) + SourceIndex(0) -8 >Emitted(24, 34) Source(34, 60) + SourceIndex(0) -9 >Emitted(24, 35) Source(34, 61) + SourceIndex(0) -10>Emitted(24, 37) Source(34, 63) + SourceIndex(0) -11>Emitted(24, 38) Source(34, 64) + SourceIndex(0) -12>Emitted(24, 39) Source(34, 64) + SourceIndex(0) -13>Emitted(24, 40) Source(34, 65) + SourceIndex(0) -14>Emitted(24, 41) Source(34, 66) + SourceIndex(0) -15>Emitted(24, 42) Source(34, 67) + SourceIndex(0) +1->Emitted(25, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(25, 5) Source(34, 5) + SourceIndex(0) +3 >Emitted(25, 9) Source(34, 9) + SourceIndex(0) +4 >Emitted(25, 12) Source(34, 33) + SourceIndex(0) +5 >Emitted(25, 22) Source(34, 42) + SourceIndex(0) +6 >Emitted(25, 23) Source(34, 43) + SourceIndex(0) +7 >Emitted(25, 27) Source(34, 47) + SourceIndex(0) +8 >Emitted(25, 34) Source(34, 60) + SourceIndex(0) +9 >Emitted(25, 35) Source(34, 61) + SourceIndex(0) +10>Emitted(25, 37) Source(34, 63) + SourceIndex(0) +11>Emitted(25, 38) Source(34, 64) + SourceIndex(0) +12>Emitted(25, 39) Source(34, 64) + SourceIndex(0) +13>Emitted(25, 40) Source(34, 65) + SourceIndex(0) +14>Emitted(25, 41) Source(34, 66) + SourceIndex(0) +15>Emitted(25, 42) Source(34, 67) + SourceIndex(0) --- >>>var c3t6 = function (n, s) { return ({}); }; 1-> @@ -496,23 +497,23 @@ sourceFile:contextualTyping.ts 15> 16> } 17> ; -1->Emitted(25, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(25, 5) Source(35, 5) + SourceIndex(0) -3 >Emitted(25, 9) Source(35, 9) + SourceIndex(0) -4 >Emitted(25, 12) Source(35, 44) + SourceIndex(0) -5 >Emitted(25, 22) Source(35, 53) + SourceIndex(0) -6 >Emitted(25, 23) Source(35, 54) + SourceIndex(0) -7 >Emitted(25, 25) Source(35, 56) + SourceIndex(0) -8 >Emitted(25, 26) Source(35, 57) + SourceIndex(0) -9 >Emitted(25, 30) Source(35, 61) + SourceIndex(0) -10>Emitted(25, 37) Source(35, 74) + SourceIndex(0) -11>Emitted(25, 38) Source(35, 75) + SourceIndex(0) -12>Emitted(25, 40) Source(35, 77) + SourceIndex(0) -13>Emitted(25, 41) Source(35, 78) + SourceIndex(0) -14>Emitted(25, 42) Source(35, 78) + SourceIndex(0) -15>Emitted(25, 43) Source(35, 79) + SourceIndex(0) -16>Emitted(25, 44) Source(35, 80) + SourceIndex(0) -17>Emitted(25, 45) Source(35, 81) + SourceIndex(0) +1->Emitted(26, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(26, 5) Source(35, 5) + SourceIndex(0) +3 >Emitted(26, 9) Source(35, 9) + SourceIndex(0) +4 >Emitted(26, 12) Source(35, 44) + SourceIndex(0) +5 >Emitted(26, 22) Source(35, 53) + SourceIndex(0) +6 >Emitted(26, 23) Source(35, 54) + SourceIndex(0) +7 >Emitted(26, 25) Source(35, 56) + SourceIndex(0) +8 >Emitted(26, 26) Source(35, 57) + SourceIndex(0) +9 >Emitted(26, 30) Source(35, 61) + SourceIndex(0) +10>Emitted(26, 37) Source(35, 74) + SourceIndex(0) +11>Emitted(26, 38) Source(35, 75) + SourceIndex(0) +12>Emitted(26, 40) Source(35, 77) + SourceIndex(0) +13>Emitted(26, 41) Source(35, 78) + SourceIndex(0) +14>Emitted(26, 42) Source(35, 78) + SourceIndex(0) +15>Emitted(26, 43) Source(35, 79) + SourceIndex(0) +16>Emitted(26, 44) Source(35, 80) + SourceIndex(0) +17>Emitted(26, 45) Source(35, 81) + SourceIndex(0) --- >>>var c3t7 = function (n) { return n; }; 1 > @@ -546,19 +547,19 @@ sourceFile:contextualTyping.ts 11> 12> } 13> ; -1 >Emitted(26, 1) Source(36, 1) + SourceIndex(0) -2 >Emitted(26, 5) Source(36, 5) + SourceIndex(0) -3 >Emitted(26, 9) Source(36, 9) + SourceIndex(0) -4 >Emitted(26, 12) Source(39, 5) + SourceIndex(0) -5 >Emitted(26, 22) Source(39, 14) + SourceIndex(0) -6 >Emitted(26, 23) Source(39, 15) + SourceIndex(0) -7 >Emitted(26, 27) Source(39, 19) + SourceIndex(0) -8 >Emitted(26, 34) Source(39, 26) + SourceIndex(0) -9 >Emitted(26, 35) Source(39, 27) + SourceIndex(0) -10>Emitted(26, 36) Source(39, 28) + SourceIndex(0) -11>Emitted(26, 37) Source(39, 29) + SourceIndex(0) -12>Emitted(26, 38) Source(39, 30) + SourceIndex(0) -13>Emitted(26, 39) Source(39, 31) + SourceIndex(0) +1 >Emitted(27, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(27, 5) Source(36, 5) + SourceIndex(0) +3 >Emitted(27, 9) Source(36, 9) + SourceIndex(0) +4 >Emitted(27, 12) Source(39, 5) + SourceIndex(0) +5 >Emitted(27, 22) Source(39, 14) + SourceIndex(0) +6 >Emitted(27, 23) Source(39, 15) + SourceIndex(0) +7 >Emitted(27, 27) Source(39, 19) + SourceIndex(0) +8 >Emitted(27, 34) Source(39, 26) + SourceIndex(0) +9 >Emitted(27, 35) Source(39, 27) + SourceIndex(0) +10>Emitted(27, 36) Source(39, 28) + SourceIndex(0) +11>Emitted(27, 37) Source(39, 29) + SourceIndex(0) +12>Emitted(27, 38) Source(39, 30) + SourceIndex(0) +13>Emitted(27, 39) Source(39, 31) + SourceIndex(0) --- >>>var c3t8 = function (n) { return n; }; 1-> @@ -589,19 +590,19 @@ sourceFile:contextualTyping.ts 11> 12> } 13> ; -1->Emitted(27, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(27, 5) Source(41, 5) + SourceIndex(0) -3 >Emitted(27, 9) Source(41, 9) + SourceIndex(0) -4 >Emitted(27, 12) Source(41, 46) + SourceIndex(0) -5 >Emitted(27, 22) Source(41, 55) + SourceIndex(0) -6 >Emitted(27, 23) Source(41, 56) + SourceIndex(0) -7 >Emitted(27, 27) Source(41, 60) + SourceIndex(0) -8 >Emitted(27, 34) Source(41, 67) + SourceIndex(0) -9 >Emitted(27, 35) Source(41, 68) + SourceIndex(0) -10>Emitted(27, 36) Source(41, 69) + SourceIndex(0) -11>Emitted(27, 37) Source(41, 70) + SourceIndex(0) -12>Emitted(27, 38) Source(41, 71) + SourceIndex(0) -13>Emitted(27, 39) Source(41, 72) + SourceIndex(0) +1->Emitted(28, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(28, 5) Source(41, 5) + SourceIndex(0) +3 >Emitted(28, 9) Source(41, 9) + SourceIndex(0) +4 >Emitted(28, 12) Source(41, 46) + SourceIndex(0) +5 >Emitted(28, 22) Source(41, 55) + SourceIndex(0) +6 >Emitted(28, 23) Source(41, 56) + SourceIndex(0) +7 >Emitted(28, 27) Source(41, 60) + SourceIndex(0) +8 >Emitted(28, 34) Source(41, 67) + SourceIndex(0) +9 >Emitted(28, 35) Source(41, 68) + SourceIndex(0) +10>Emitted(28, 36) Source(41, 69) + SourceIndex(0) +11>Emitted(28, 37) Source(41, 70) + SourceIndex(0) +12>Emitted(28, 38) Source(41, 71) + SourceIndex(0) +13>Emitted(28, 39) Source(41, 72) + SourceIndex(0) --- >>>var c3t9 = [[], []]; 1 > @@ -626,16 +627,16 @@ sourceFile:contextualTyping.ts 8 > [] 9 > ] 10> ; -1 >Emitted(28, 1) Source(42, 1) + SourceIndex(0) -2 >Emitted(28, 5) Source(42, 5) + SourceIndex(0) -3 >Emitted(28, 9) Source(42, 9) + SourceIndex(0) -4 >Emitted(28, 12) Source(42, 24) + SourceIndex(0) -5 >Emitted(28, 13) Source(42, 25) + SourceIndex(0) -6 >Emitted(28, 15) Source(42, 27) + SourceIndex(0) -7 >Emitted(28, 17) Source(42, 28) + SourceIndex(0) -8 >Emitted(28, 19) Source(42, 30) + SourceIndex(0) -9 >Emitted(28, 20) Source(42, 31) + SourceIndex(0) -10>Emitted(28, 21) Source(42, 32) + SourceIndex(0) +1 >Emitted(29, 1) Source(42, 1) + SourceIndex(0) +2 >Emitted(29, 5) Source(42, 5) + SourceIndex(0) +3 >Emitted(29, 9) Source(42, 9) + SourceIndex(0) +4 >Emitted(29, 12) Source(42, 24) + SourceIndex(0) +5 >Emitted(29, 13) Source(42, 25) + SourceIndex(0) +6 >Emitted(29, 15) Source(42, 27) + SourceIndex(0) +7 >Emitted(29, 17) Source(42, 28) + SourceIndex(0) +8 >Emitted(29, 19) Source(42, 30) + SourceIndex(0) +9 >Emitted(29, 20) Source(42, 31) + SourceIndex(0) +10>Emitted(29, 21) Source(42, 32) + SourceIndex(0) --- >>>var c3t10 = [({}), ({})]; 1-> @@ -668,20 +669,20 @@ sourceFile:contextualTyping.ts 12> ) 13> ] 14> ; -1->Emitted(29, 1) Source(43, 1) + SourceIndex(0) -2 >Emitted(29, 5) Source(43, 5) + SourceIndex(0) -3 >Emitted(29, 10) Source(43, 10) + SourceIndex(0) -4 >Emitted(29, 13) Source(43, 21) + SourceIndex(0) -5 >Emitted(29, 14) Source(43, 28) + SourceIndex(0) -6 >Emitted(29, 15) Source(43, 29) + SourceIndex(0) -7 >Emitted(29, 17) Source(43, 31) + SourceIndex(0) -8 >Emitted(29, 18) Source(43, 32) + SourceIndex(0) -9 >Emitted(29, 20) Source(43, 39) + SourceIndex(0) -10>Emitted(29, 21) Source(43, 40) + SourceIndex(0) -11>Emitted(29, 23) Source(43, 42) + SourceIndex(0) -12>Emitted(29, 24) Source(43, 43) + SourceIndex(0) -13>Emitted(29, 25) Source(43, 44) + SourceIndex(0) -14>Emitted(29, 26) Source(43, 45) + SourceIndex(0) +1->Emitted(30, 1) Source(43, 1) + SourceIndex(0) +2 >Emitted(30, 5) Source(43, 5) + SourceIndex(0) +3 >Emitted(30, 10) Source(43, 10) + SourceIndex(0) +4 >Emitted(30, 13) Source(43, 21) + SourceIndex(0) +5 >Emitted(30, 14) Source(43, 28) + SourceIndex(0) +6 >Emitted(30, 15) Source(43, 29) + SourceIndex(0) +7 >Emitted(30, 17) Source(43, 31) + SourceIndex(0) +8 >Emitted(30, 18) Source(43, 32) + SourceIndex(0) +9 >Emitted(30, 20) Source(43, 39) + SourceIndex(0) +10>Emitted(30, 21) Source(43, 40) + SourceIndex(0) +11>Emitted(30, 23) Source(43, 42) + SourceIndex(0) +12>Emitted(30, 24) Source(43, 43) + SourceIndex(0) +13>Emitted(30, 25) Source(43, 44) + SourceIndex(0) +14>Emitted(30, 26) Source(43, 45) + SourceIndex(0) --- >>>var c3t11 = [function (n, s) { return s; }]; 1-> @@ -719,23 +720,23 @@ sourceFile:contextualTyping.ts 15> } 16> ] 17> ; -1->Emitted(30, 1) Source(44, 1) + SourceIndex(0) -2 >Emitted(30, 5) Source(44, 5) + SourceIndex(0) -3 >Emitted(30, 10) Source(44, 10) + SourceIndex(0) -4 >Emitted(30, 13) Source(44, 50) + SourceIndex(0) -5 >Emitted(30, 14) Source(44, 51) + SourceIndex(0) -6 >Emitted(30, 24) Source(44, 60) + SourceIndex(0) -7 >Emitted(30, 25) Source(44, 61) + SourceIndex(0) -8 >Emitted(30, 27) Source(44, 63) + SourceIndex(0) -9 >Emitted(30, 28) Source(44, 64) + SourceIndex(0) -10>Emitted(30, 32) Source(44, 68) + SourceIndex(0) -11>Emitted(30, 39) Source(44, 75) + SourceIndex(0) -12>Emitted(30, 40) Source(44, 76) + SourceIndex(0) -13>Emitted(30, 41) Source(44, 77) + SourceIndex(0) -14>Emitted(30, 42) Source(44, 78) + SourceIndex(0) -15>Emitted(30, 43) Source(44, 79) + SourceIndex(0) -16>Emitted(30, 44) Source(44, 80) + SourceIndex(0) -17>Emitted(30, 45) Source(44, 81) + SourceIndex(0) +1->Emitted(31, 1) Source(44, 1) + SourceIndex(0) +2 >Emitted(31, 5) Source(44, 5) + SourceIndex(0) +3 >Emitted(31, 10) Source(44, 10) + SourceIndex(0) +4 >Emitted(31, 13) Source(44, 50) + SourceIndex(0) +5 >Emitted(31, 14) Source(44, 51) + SourceIndex(0) +6 >Emitted(31, 24) Source(44, 60) + SourceIndex(0) +7 >Emitted(31, 25) Source(44, 61) + SourceIndex(0) +8 >Emitted(31, 27) Source(44, 63) + SourceIndex(0) +9 >Emitted(31, 28) Source(44, 64) + SourceIndex(0) +10>Emitted(31, 32) Source(44, 68) + SourceIndex(0) +11>Emitted(31, 39) Source(44, 75) + SourceIndex(0) +12>Emitted(31, 40) Source(44, 76) + SourceIndex(0) +13>Emitted(31, 41) Source(44, 77) + SourceIndex(0) +14>Emitted(31, 42) Source(44, 78) + SourceIndex(0) +15>Emitted(31, 43) Source(44, 79) + SourceIndex(0) +16>Emitted(31, 44) Source(44, 80) + SourceIndex(0) +17>Emitted(31, 45) Source(44, 81) + SourceIndex(0) --- >>>var c3t12 = { 1 > @@ -748,10 +749,10 @@ sourceFile:contextualTyping.ts 2 >var 3 > c3t12 4 > : IBar = -1 >Emitted(31, 1) Source(45, 1) + SourceIndex(0) -2 >Emitted(31, 5) Source(45, 5) + SourceIndex(0) -3 >Emitted(31, 10) Source(45, 10) + SourceIndex(0) -4 >Emitted(31, 13) Source(45, 19) + SourceIndex(0) +1 >Emitted(32, 1) Source(45, 1) + SourceIndex(0) +2 >Emitted(32, 5) Source(45, 5) + SourceIndex(0) +3 >Emitted(32, 10) Source(45, 10) + SourceIndex(0) +4 >Emitted(32, 13) Source(45, 19) + SourceIndex(0) --- >>> foo: ({}) 1->^^^^ @@ -767,12 +768,12 @@ sourceFile:contextualTyping.ts 4 > ( 5 > {} 6 > ) -1->Emitted(32, 5) Source(46, 5) + SourceIndex(0) -2 >Emitted(32, 8) Source(46, 8) + SourceIndex(0) -3 >Emitted(32, 10) Source(46, 16) + SourceIndex(0) -4 >Emitted(32, 11) Source(46, 17) + SourceIndex(0) -5 >Emitted(32, 13) Source(46, 19) + SourceIndex(0) -6 >Emitted(32, 14) Source(46, 20) + SourceIndex(0) +1->Emitted(33, 5) Source(46, 5) + SourceIndex(0) +2 >Emitted(33, 8) Source(46, 8) + SourceIndex(0) +3 >Emitted(33, 10) Source(46, 16) + SourceIndex(0) +4 >Emitted(33, 11) Source(46, 17) + SourceIndex(0) +5 >Emitted(33, 13) Source(46, 19) + SourceIndex(0) +6 >Emitted(33, 14) Source(46, 20) + SourceIndex(0) --- >>>}; 1 >^ @@ -781,8 +782,8 @@ sourceFile:contextualTyping.ts 1 > >} 2 > -1 >Emitted(33, 2) Source(47, 2) + SourceIndex(0) -2 >Emitted(33, 3) Source(47, 2) + SourceIndex(0) +1 >Emitted(34, 2) Source(47, 2) + SourceIndex(0) +2 >Emitted(34, 3) Source(47, 2) + SourceIndex(0) --- >>>var c3t13 = ({ 1-> @@ -797,11 +798,11 @@ sourceFile:contextualTyping.ts 3 > c3t13 4 > = 5 > ( -1->Emitted(34, 1) Source(48, 1) + SourceIndex(0) -2 >Emitted(34, 5) Source(48, 5) + SourceIndex(0) -3 >Emitted(34, 10) Source(48, 10) + SourceIndex(0) -4 >Emitted(34, 13) Source(48, 19) + SourceIndex(0) -5 >Emitted(34, 14) Source(48, 20) + SourceIndex(0) +1->Emitted(35, 1) Source(48, 1) + SourceIndex(0) +2 >Emitted(35, 5) Source(48, 5) + SourceIndex(0) +3 >Emitted(35, 10) Source(48, 10) + SourceIndex(0) +4 >Emitted(35, 13) Source(48, 19) + SourceIndex(0) +5 >Emitted(35, 14) Source(48, 20) + SourceIndex(0) --- >>> f: function (i, s) { return s; } 1->^^^^ @@ -831,19 +832,19 @@ sourceFile:contextualTyping.ts 11> ; 12> 13> } -1->Emitted(35, 5) Source(49, 5) + SourceIndex(0) -2 >Emitted(35, 6) Source(49, 6) + SourceIndex(0) -3 >Emitted(35, 8) Source(49, 8) + SourceIndex(0) -4 >Emitted(35, 18) Source(49, 17) + SourceIndex(0) -5 >Emitted(35, 19) Source(49, 18) + SourceIndex(0) -6 >Emitted(35, 21) Source(49, 20) + SourceIndex(0) -7 >Emitted(35, 22) Source(49, 21) + SourceIndex(0) -8 >Emitted(35, 26) Source(49, 25) + SourceIndex(0) -9 >Emitted(35, 33) Source(49, 32) + SourceIndex(0) -10>Emitted(35, 34) Source(49, 33) + SourceIndex(0) -11>Emitted(35, 35) Source(49, 34) + SourceIndex(0) -12>Emitted(35, 36) Source(49, 35) + SourceIndex(0) -13>Emitted(35, 37) Source(49, 36) + SourceIndex(0) +1->Emitted(36, 5) Source(49, 5) + SourceIndex(0) +2 >Emitted(36, 6) Source(49, 6) + SourceIndex(0) +3 >Emitted(36, 8) Source(49, 8) + SourceIndex(0) +4 >Emitted(36, 18) Source(49, 17) + SourceIndex(0) +5 >Emitted(36, 19) Source(49, 18) + SourceIndex(0) +6 >Emitted(36, 21) Source(49, 20) + SourceIndex(0) +7 >Emitted(36, 22) Source(49, 21) + SourceIndex(0) +8 >Emitted(36, 26) Source(49, 25) + SourceIndex(0) +9 >Emitted(36, 33) Source(49, 32) + SourceIndex(0) +10>Emitted(36, 34) Source(49, 33) + SourceIndex(0) +11>Emitted(36, 35) Source(49, 34) + SourceIndex(0) +12>Emitted(36, 36) Source(49, 35) + SourceIndex(0) +13>Emitted(36, 37) Source(49, 36) + SourceIndex(0) --- >>>}); 1 >^ @@ -854,9 +855,9 @@ sourceFile:contextualTyping.ts >} 2 > ) 3 > -1 >Emitted(36, 2) Source(50, 2) + SourceIndex(0) -2 >Emitted(36, 3) Source(50, 3) + SourceIndex(0) -3 >Emitted(36, 4) Source(50, 3) + SourceIndex(0) +1 >Emitted(37, 2) Source(50, 2) + SourceIndex(0) +2 >Emitted(37, 3) Source(50, 3) + SourceIndex(0) +3 >Emitted(37, 4) Source(50, 3) + SourceIndex(0) --- >>>var c3t14 = ({ 1-> @@ -870,11 +871,11 @@ sourceFile:contextualTyping.ts 3 > c3t14 4 > = 5 > ( -1->Emitted(37, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(37, 5) Source(51, 5) + SourceIndex(0) -3 >Emitted(37, 10) Source(51, 10) + SourceIndex(0) -4 >Emitted(37, 13) Source(51, 19) + SourceIndex(0) -5 >Emitted(37, 14) Source(51, 20) + SourceIndex(0) +1->Emitted(38, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(38, 5) Source(51, 5) + SourceIndex(0) +3 >Emitted(38, 10) Source(51, 10) + SourceIndex(0) +4 >Emitted(38, 13) Source(51, 19) + SourceIndex(0) +5 >Emitted(38, 14) Source(51, 20) + SourceIndex(0) --- >>> a: [] 1 >^^^^ @@ -886,10 +887,10 @@ sourceFile:contextualTyping.ts 2 > a 3 > : 4 > [] -1 >Emitted(38, 5) Source(52, 5) + SourceIndex(0) -2 >Emitted(38, 6) Source(52, 6) + SourceIndex(0) -3 >Emitted(38, 8) Source(52, 8) + SourceIndex(0) -4 >Emitted(38, 10) Source(52, 10) + SourceIndex(0) +1 >Emitted(39, 5) Source(52, 5) + SourceIndex(0) +2 >Emitted(39, 6) Source(52, 6) + SourceIndex(0) +3 >Emitted(39, 8) Source(52, 8) + SourceIndex(0) +4 >Emitted(39, 10) Source(52, 10) + SourceIndex(0) --- >>>}); 1 >^ @@ -900,9 +901,9 @@ sourceFile:contextualTyping.ts >} 2 > ) 3 > -1 >Emitted(39, 2) Source(53, 2) + SourceIndex(0) -2 >Emitted(39, 3) Source(53, 3) + SourceIndex(0) -3 >Emitted(39, 4) Source(53, 3) + SourceIndex(0) +1 >Emitted(40, 2) Source(53, 2) + SourceIndex(0) +2 >Emitted(40, 3) Source(53, 3) + SourceIndex(0) +3 >Emitted(40, 4) Source(53, 3) + SourceIndex(0) --- >>>// CONTEXT: Class property assignment 1-> @@ -912,15 +913,15 @@ sourceFile:contextualTyping.ts > > 2 >// CONTEXT: Class property assignment -1->Emitted(40, 1) Source(55, 1) + SourceIndex(0) -2 >Emitted(40, 38) Source(55, 38) + SourceIndex(0) +1->Emitted(41, 1) Source(55, 1) + SourceIndex(0) +2 >Emitted(41, 38) Source(55, 38) + SourceIndex(0) --- >>>var C4T5 = /** @class */ (function () { 1-> 2 >^^^^^^^^^^^^^^^^^^^^^^-> 1-> > -1->Emitted(41, 1) Source(56, 1) + SourceIndex(0) +1->Emitted(42, 1) Source(56, 1) + SourceIndex(0) --- >>> function C4T5() { 1->^^^^ @@ -928,7 +929,7 @@ sourceFile:contextualTyping.ts 1->class C4T5 { > foo: (i: number, s: string) => string; > -1->Emitted(42, 5) Source(58, 5) + SourceIndex(0) +1->Emitted(43, 5) Source(58, 5) + SourceIndex(0) --- >>> this.foo = function (i, s) { 1->^^^^^^^^ @@ -950,15 +951,15 @@ sourceFile:contextualTyping.ts 7 > i 8 > , 9 > s -1->Emitted(43, 9) Source(59, 9) + SourceIndex(0) -2 >Emitted(43, 13) Source(59, 13) + SourceIndex(0) -3 >Emitted(43, 14) Source(59, 14) + SourceIndex(0) -4 >Emitted(43, 17) Source(59, 17) + SourceIndex(0) -5 >Emitted(43, 20) Source(59, 20) + SourceIndex(0) -6 >Emitted(43, 30) Source(59, 29) + SourceIndex(0) -7 >Emitted(43, 31) Source(59, 30) + SourceIndex(0) -8 >Emitted(43, 33) Source(59, 32) + SourceIndex(0) -9 >Emitted(43, 34) Source(59, 33) + SourceIndex(0) +1->Emitted(44, 9) Source(59, 9) + SourceIndex(0) +2 >Emitted(44, 13) Source(59, 13) + SourceIndex(0) +3 >Emitted(44, 14) Source(59, 14) + SourceIndex(0) +4 >Emitted(44, 17) Source(59, 17) + SourceIndex(0) +5 >Emitted(44, 20) Source(59, 20) + SourceIndex(0) +6 >Emitted(44, 30) Source(59, 29) + SourceIndex(0) +7 >Emitted(44, 31) Source(59, 30) + SourceIndex(0) +8 >Emitted(44, 33) Source(59, 32) + SourceIndex(0) +9 >Emitted(44, 34) Source(59, 33) + SourceIndex(0) --- >>> return s; 1 >^^^^^^^^^^^^ @@ -970,10 +971,10 @@ sourceFile:contextualTyping.ts 2 > return 3 > s 4 > ; -1 >Emitted(44, 13) Source(60, 13) + SourceIndex(0) -2 >Emitted(44, 20) Source(60, 20) + SourceIndex(0) -3 >Emitted(44, 21) Source(60, 21) + SourceIndex(0) -4 >Emitted(44, 22) Source(60, 22) + SourceIndex(0) +1 >Emitted(45, 13) Source(60, 13) + SourceIndex(0) +2 >Emitted(45, 20) Source(60, 20) + SourceIndex(0) +3 >Emitted(45, 21) Source(60, 21) + SourceIndex(0) +4 >Emitted(45, 22) Source(60, 22) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^ @@ -983,9 +984,9 @@ sourceFile:contextualTyping.ts > 2 > } 3 > -1 >Emitted(45, 9) Source(61, 9) + SourceIndex(0) -2 >Emitted(45, 10) Source(61, 10) + SourceIndex(0) -3 >Emitted(45, 11) Source(61, 10) + SourceIndex(0) +1 >Emitted(46, 9) Source(61, 9) + SourceIndex(0) +2 >Emitted(46, 10) Source(61, 10) + SourceIndex(0) +3 >Emitted(46, 11) Source(61, 10) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -994,8 +995,8 @@ sourceFile:contextualTyping.ts 1 > > 2 > } -1 >Emitted(46, 5) Source(62, 5) + SourceIndex(0) -2 >Emitted(46, 6) Source(62, 6) + SourceIndex(0) +1 >Emitted(47, 5) Source(62, 5) + SourceIndex(0) +2 >Emitted(47, 6) Source(62, 6) + SourceIndex(0) --- >>> return C4T5; 1->^^^^ @@ -1003,8 +1004,8 @@ sourceFile:contextualTyping.ts 1-> > 2 > } -1->Emitted(47, 5) Source(63, 1) + SourceIndex(0) -2 >Emitted(47, 16) Source(63, 2) + SourceIndex(0) +1->Emitted(48, 5) Source(63, 1) + SourceIndex(0) +2 >Emitted(48, 16) Source(63, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -1023,10 +1024,10 @@ sourceFile:contextualTyping.ts > } > } > } -1 >Emitted(48, 1) Source(63, 1) + SourceIndex(0) -2 >Emitted(48, 2) Source(63, 2) + SourceIndex(0) -3 >Emitted(48, 2) Source(56, 1) + SourceIndex(0) -4 >Emitted(48, 6) Source(63, 2) + SourceIndex(0) +1 >Emitted(49, 1) Source(63, 1) + SourceIndex(0) +2 >Emitted(49, 2) Source(63, 2) + SourceIndex(0) +3 >Emitted(49, 2) Source(56, 1) + SourceIndex(0) +4 >Emitted(49, 6) Source(63, 2) + SourceIndex(0) --- >>>// CONTEXT: Namespace property assignment 1-> @@ -1035,8 +1036,8 @@ sourceFile:contextualTyping.ts > > 2 >// CONTEXT: Namespace property assignment -1->Emitted(49, 1) Source(65, 1) + SourceIndex(0) -2 >Emitted(49, 42) Source(65, 42) + SourceIndex(0) +1->Emitted(50, 1) Source(65, 1) + SourceIndex(0) +2 >Emitted(50, 42) Source(65, 42) + SourceIndex(0) --- >>>var C5T5; 1 > @@ -1054,10 +1055,10 @@ sourceFile:contextualTyping.ts > return s; > } > } -1 >Emitted(50, 1) Source(66, 1) + SourceIndex(0) -2 >Emitted(50, 5) Source(66, 11) + SourceIndex(0) -3 >Emitted(50, 9) Source(66, 15) + SourceIndex(0) -4 >Emitted(50, 10) Source(71, 2) + SourceIndex(0) +1 >Emitted(51, 1) Source(66, 1) + SourceIndex(0) +2 >Emitted(51, 5) Source(66, 11) + SourceIndex(0) +3 >Emitted(51, 9) Source(66, 15) + SourceIndex(0) +4 >Emitted(51, 10) Source(71, 2) + SourceIndex(0) --- >>>(function (C5T5) { 1-> @@ -1067,9 +1068,9 @@ sourceFile:contextualTyping.ts 1-> 2 >namespace 3 > C5T5 -1->Emitted(51, 1) Source(66, 1) + SourceIndex(0) -2 >Emitted(51, 12) Source(66, 11) + SourceIndex(0) -3 >Emitted(51, 16) Source(66, 15) + SourceIndex(0) +1->Emitted(52, 1) Source(66, 1) + SourceIndex(0) +2 >Emitted(52, 12) Source(66, 11) + SourceIndex(0) +3 >Emitted(52, 16) Source(66, 15) + SourceIndex(0) --- >>> C5T5.foo = function (i, s) { 1->^^^^ @@ -1090,14 +1091,14 @@ sourceFile:contextualTyping.ts 6 > i 7 > , 8 > s -1->Emitted(52, 5) Source(68, 5) + SourceIndex(0) -2 >Emitted(52, 10) Source(68, 5) + SourceIndex(0) -3 >Emitted(52, 13) Source(68, 8) + SourceIndex(0) -4 >Emitted(52, 16) Source(68, 11) + SourceIndex(0) -5 >Emitted(52, 26) Source(68, 20) + SourceIndex(0) -6 >Emitted(52, 27) Source(68, 21) + SourceIndex(0) -7 >Emitted(52, 29) Source(68, 23) + SourceIndex(0) -8 >Emitted(52, 30) Source(68, 24) + SourceIndex(0) +1->Emitted(53, 5) Source(68, 5) + SourceIndex(0) +2 >Emitted(53, 10) Source(68, 5) + SourceIndex(0) +3 >Emitted(53, 13) Source(68, 8) + SourceIndex(0) +4 >Emitted(53, 16) Source(68, 11) + SourceIndex(0) +5 >Emitted(53, 26) Source(68, 20) + SourceIndex(0) +6 >Emitted(53, 27) Source(68, 21) + SourceIndex(0) +7 >Emitted(53, 29) Source(68, 23) + SourceIndex(0) +8 >Emitted(53, 30) Source(68, 24) + SourceIndex(0) --- >>> return s; 1 >^^^^^^^^ @@ -1109,10 +1110,10 @@ sourceFile:contextualTyping.ts 2 > return 3 > s 4 > ; -1 >Emitted(53, 9) Source(69, 9) + SourceIndex(0) -2 >Emitted(53, 16) Source(69, 16) + SourceIndex(0) -3 >Emitted(53, 17) Source(69, 17) + SourceIndex(0) -4 >Emitted(53, 18) Source(69, 18) + SourceIndex(0) +1 >Emitted(54, 9) Source(69, 9) + SourceIndex(0) +2 >Emitted(54, 16) Source(69, 16) + SourceIndex(0) +3 >Emitted(54, 17) Source(69, 17) + SourceIndex(0) +4 >Emitted(54, 18) Source(69, 18) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -1123,9 +1124,9 @@ sourceFile:contextualTyping.ts > 2 > } 3 > -1 >Emitted(54, 5) Source(70, 5) + SourceIndex(0) -2 >Emitted(54, 6) Source(70, 6) + SourceIndex(0) -3 >Emitted(54, 7) Source(70, 6) + SourceIndex(0) +1 >Emitted(55, 5) Source(70, 5) + SourceIndex(0) +2 >Emitted(55, 6) Source(70, 6) + SourceIndex(0) +3 >Emitted(55, 7) Source(70, 6) + SourceIndex(0) --- >>>})(C5T5 || (C5T5 = {})); 1-> @@ -1149,13 +1150,13 @@ sourceFile:contextualTyping.ts > return s; > } > } -1->Emitted(55, 1) Source(71, 1) + SourceIndex(0) -2 >Emitted(55, 2) Source(71, 2) + SourceIndex(0) -3 >Emitted(55, 4) Source(66, 11) + SourceIndex(0) -4 >Emitted(55, 8) Source(66, 15) + SourceIndex(0) -5 >Emitted(55, 13) Source(66, 11) + SourceIndex(0) -6 >Emitted(55, 17) Source(66, 15) + SourceIndex(0) -7 >Emitted(55, 25) Source(71, 2) + SourceIndex(0) +1->Emitted(56, 1) Source(71, 1) + SourceIndex(0) +2 >Emitted(56, 2) Source(71, 2) + SourceIndex(0) +3 >Emitted(56, 4) Source(66, 11) + SourceIndex(0) +4 >Emitted(56, 8) Source(66, 15) + SourceIndex(0) +5 >Emitted(56, 13) Source(66, 11) + SourceIndex(0) +6 >Emitted(56, 17) Source(66, 15) + SourceIndex(0) +7 >Emitted(56, 25) Source(71, 2) + SourceIndex(0) --- >>>// CONTEXT: Variable assignment 1-> @@ -1164,8 +1165,8 @@ sourceFile:contextualTyping.ts > > 2 >// CONTEXT: Variable assignment -1->Emitted(56, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(56, 32) Source(73, 32) + SourceIndex(0) +1->Emitted(57, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(57, 32) Source(73, 32) + SourceIndex(0) --- >>>var c6t5; 1 > @@ -1178,10 +1179,10 @@ sourceFile:contextualTyping.ts 2 >var 3 > c6t5: (n: number) => IFoo 4 > ; -1 >Emitted(57, 1) Source(74, 1) + SourceIndex(0) -2 >Emitted(57, 5) Source(74, 5) + SourceIndex(0) -3 >Emitted(57, 9) Source(74, 30) + SourceIndex(0) -4 >Emitted(57, 10) Source(74, 31) + SourceIndex(0) +1 >Emitted(58, 1) Source(74, 1) + SourceIndex(0) +2 >Emitted(58, 5) Source(74, 5) + SourceIndex(0) +3 >Emitted(58, 9) Source(74, 30) + SourceIndex(0) +4 >Emitted(58, 10) Source(74, 31) + SourceIndex(0) --- >>>c6t5 = function (n) { return ({}); }; 1-> @@ -1213,20 +1214,20 @@ sourceFile:contextualTyping.ts 12> 13> } 14> ; -1->Emitted(58, 1) Source(75, 1) + SourceIndex(0) -2 >Emitted(58, 5) Source(75, 5) + SourceIndex(0) -3 >Emitted(58, 8) Source(75, 29) + SourceIndex(0) -4 >Emitted(58, 18) Source(75, 38) + SourceIndex(0) -5 >Emitted(58, 19) Source(75, 39) + SourceIndex(0) -6 >Emitted(58, 23) Source(75, 43) + SourceIndex(0) -7 >Emitted(58, 30) Source(75, 56) + SourceIndex(0) -8 >Emitted(58, 31) Source(75, 57) + SourceIndex(0) -9 >Emitted(58, 33) Source(75, 59) + SourceIndex(0) -10>Emitted(58, 34) Source(75, 60) + SourceIndex(0) -11>Emitted(58, 35) Source(75, 60) + SourceIndex(0) -12>Emitted(58, 36) Source(75, 61) + SourceIndex(0) -13>Emitted(58, 37) Source(75, 62) + SourceIndex(0) -14>Emitted(58, 38) Source(75, 63) + SourceIndex(0) +1->Emitted(59, 1) Source(75, 1) + SourceIndex(0) +2 >Emitted(59, 5) Source(75, 5) + SourceIndex(0) +3 >Emitted(59, 8) Source(75, 29) + SourceIndex(0) +4 >Emitted(59, 18) Source(75, 38) + SourceIndex(0) +5 >Emitted(59, 19) Source(75, 39) + SourceIndex(0) +6 >Emitted(59, 23) Source(75, 43) + SourceIndex(0) +7 >Emitted(59, 30) Source(75, 56) + SourceIndex(0) +8 >Emitted(59, 31) Source(75, 57) + SourceIndex(0) +9 >Emitted(59, 33) Source(75, 59) + SourceIndex(0) +10>Emitted(59, 34) Source(75, 60) + SourceIndex(0) +11>Emitted(59, 35) Source(75, 60) + SourceIndex(0) +12>Emitted(59, 36) Source(75, 61) + SourceIndex(0) +13>Emitted(59, 37) Source(75, 62) + SourceIndex(0) +14>Emitted(59, 38) Source(75, 63) + SourceIndex(0) --- >>>// CONTEXT: Array index assignment 1 > @@ -1235,8 +1236,8 @@ sourceFile:contextualTyping.ts > > 2 >// CONTEXT: Array index assignment -1 >Emitted(59, 1) Source(77, 1) + SourceIndex(0) -2 >Emitted(59, 35) Source(77, 35) + SourceIndex(0) +1 >Emitted(60, 1) Source(77, 1) + SourceIndex(0) +2 >Emitted(60, 35) Source(77, 35) + SourceIndex(0) --- >>>var c7t2 = []; 1 > @@ -1253,12 +1254,12 @@ sourceFile:contextualTyping.ts 4 > : IFoo[] = 5 > [] 6 > ; -1 >Emitted(60, 1) Source(78, 1) + SourceIndex(0) -2 >Emitted(60, 5) Source(78, 5) + SourceIndex(0) -3 >Emitted(60, 9) Source(78, 9) + SourceIndex(0) -4 >Emitted(60, 12) Source(78, 20) + SourceIndex(0) -5 >Emitted(60, 14) Source(78, 22) + SourceIndex(0) -6 >Emitted(60, 15) Source(78, 23) + SourceIndex(0) +1 >Emitted(61, 1) Source(78, 1) + SourceIndex(0) +2 >Emitted(61, 5) Source(78, 5) + SourceIndex(0) +3 >Emitted(61, 9) Source(78, 9) + SourceIndex(0) +4 >Emitted(61, 12) Source(78, 20) + SourceIndex(0) +5 >Emitted(61, 14) Source(78, 22) + SourceIndex(0) +6 >Emitted(61, 15) Source(78, 23) + SourceIndex(0) --- >>>c7t2[0] = ({ n: 1 }); 1-> @@ -1290,20 +1291,20 @@ sourceFile:contextualTyping.ts 12> } 13> ) 14> ; -1->Emitted(61, 1) Source(79, 1) + SourceIndex(0) -2 >Emitted(61, 5) Source(79, 5) + SourceIndex(0) -3 >Emitted(61, 6) Source(79, 6) + SourceIndex(0) -4 >Emitted(61, 7) Source(79, 7) + SourceIndex(0) -5 >Emitted(61, 8) Source(79, 8) + SourceIndex(0) -6 >Emitted(61, 11) Source(79, 17) + SourceIndex(0) -7 >Emitted(61, 12) Source(79, 18) + SourceIndex(0) -8 >Emitted(61, 14) Source(79, 19) + SourceIndex(0) -9 >Emitted(61, 15) Source(79, 20) + SourceIndex(0) -10>Emitted(61, 17) Source(79, 22) + SourceIndex(0) -11>Emitted(61, 18) Source(79, 23) + SourceIndex(0) -12>Emitted(61, 20) Source(79, 24) + SourceIndex(0) -13>Emitted(61, 21) Source(79, 25) + SourceIndex(0) -14>Emitted(61, 22) Source(79, 26) + SourceIndex(0) +1->Emitted(62, 1) Source(79, 1) + SourceIndex(0) +2 >Emitted(62, 5) Source(79, 5) + SourceIndex(0) +3 >Emitted(62, 6) Source(79, 6) + SourceIndex(0) +4 >Emitted(62, 7) Source(79, 7) + SourceIndex(0) +5 >Emitted(62, 8) Source(79, 8) + SourceIndex(0) +6 >Emitted(62, 11) Source(79, 17) + SourceIndex(0) +7 >Emitted(62, 12) Source(79, 18) + SourceIndex(0) +8 >Emitted(62, 14) Source(79, 19) + SourceIndex(0) +9 >Emitted(62, 15) Source(79, 20) + SourceIndex(0) +10>Emitted(62, 17) Source(79, 22) + SourceIndex(0) +11>Emitted(62, 18) Source(79, 23) + SourceIndex(0) +12>Emitted(62, 20) Source(79, 24) + SourceIndex(0) +13>Emitted(62, 21) Source(79, 25) + SourceIndex(0) +14>Emitted(62, 22) Source(79, 26) + SourceIndex(0) --- >>>var objc8 = ({}); 1 > @@ -1364,14 +1365,14 @@ sourceFile:contextualTyping.ts 6 > {} 7 > ) 8 > ; -1 >Emitted(62, 1) Source(102, 1) + SourceIndex(0) -2 >Emitted(62, 5) Source(102, 5) + SourceIndex(0) -3 >Emitted(62, 10) Source(102, 10) + SourceIndex(0) -4 >Emitted(62, 13) Source(120, 19) + SourceIndex(0) -5 >Emitted(62, 14) Source(120, 20) + SourceIndex(0) -6 >Emitted(62, 16) Source(120, 22) + SourceIndex(0) -7 >Emitted(62, 17) Source(120, 23) + SourceIndex(0) -8 >Emitted(62, 18) Source(120, 24) + SourceIndex(0) +1 >Emitted(63, 1) Source(102, 1) + SourceIndex(0) +2 >Emitted(63, 5) Source(102, 5) + SourceIndex(0) +3 >Emitted(63, 10) Source(102, 10) + SourceIndex(0) +4 >Emitted(63, 13) Source(120, 19) + SourceIndex(0) +5 >Emitted(63, 14) Source(120, 20) + SourceIndex(0) +6 >Emitted(63, 16) Source(120, 22) + SourceIndex(0) +7 >Emitted(63, 17) Source(120, 23) + SourceIndex(0) +8 >Emitted(63, 18) Source(120, 24) + SourceIndex(0) --- >>>objc8.t1 = (function (s) { return s; }); 1-> @@ -1408,22 +1409,22 @@ sourceFile:contextualTyping.ts 14> } 15> ) 16> ; -1->Emitted(63, 1) Source(122, 1) + SourceIndex(0) -2 >Emitted(63, 6) Source(122, 6) + SourceIndex(0) -3 >Emitted(63, 7) Source(122, 7) + SourceIndex(0) -4 >Emitted(63, 9) Source(122, 9) + SourceIndex(0) -5 >Emitted(63, 12) Source(122, 12) + SourceIndex(0) -6 >Emitted(63, 13) Source(122, 13) + SourceIndex(0) -7 >Emitted(63, 23) Source(122, 22) + SourceIndex(0) -8 >Emitted(63, 24) Source(122, 23) + SourceIndex(0) -9 >Emitted(63, 28) Source(122, 27) + SourceIndex(0) -10>Emitted(63, 35) Source(122, 34) + SourceIndex(0) -11>Emitted(63, 36) Source(122, 35) + SourceIndex(0) -12>Emitted(63, 37) Source(122, 35) + SourceIndex(0) -13>Emitted(63, 38) Source(122, 36) + SourceIndex(0) -14>Emitted(63, 39) Source(122, 37) + SourceIndex(0) -15>Emitted(63, 40) Source(122, 38) + SourceIndex(0) -16>Emitted(63, 41) Source(122, 39) + SourceIndex(0) +1->Emitted(64, 1) Source(122, 1) + SourceIndex(0) +2 >Emitted(64, 6) Source(122, 6) + SourceIndex(0) +3 >Emitted(64, 7) Source(122, 7) + SourceIndex(0) +4 >Emitted(64, 9) Source(122, 9) + SourceIndex(0) +5 >Emitted(64, 12) Source(122, 12) + SourceIndex(0) +6 >Emitted(64, 13) Source(122, 13) + SourceIndex(0) +7 >Emitted(64, 23) Source(122, 22) + SourceIndex(0) +8 >Emitted(64, 24) Source(122, 23) + SourceIndex(0) +9 >Emitted(64, 28) Source(122, 27) + SourceIndex(0) +10>Emitted(64, 35) Source(122, 34) + SourceIndex(0) +11>Emitted(64, 36) Source(122, 35) + SourceIndex(0) +12>Emitted(64, 37) Source(122, 35) + SourceIndex(0) +13>Emitted(64, 38) Source(122, 36) + SourceIndex(0) +14>Emitted(64, 39) Source(122, 37) + SourceIndex(0) +15>Emitted(64, 40) Source(122, 38) + SourceIndex(0) +16>Emitted(64, 41) Source(122, 39) + SourceIndex(0) --- >>>objc8.t2 = ({ 1 > @@ -1439,12 +1440,12 @@ sourceFile:contextualTyping.ts 4 > t2 5 > = 6 > ( -1 >Emitted(64, 1) Source(123, 1) + SourceIndex(0) -2 >Emitted(64, 6) Source(123, 6) + SourceIndex(0) -3 >Emitted(64, 7) Source(123, 7) + SourceIndex(0) -4 >Emitted(64, 9) Source(123, 9) + SourceIndex(0) -5 >Emitted(64, 12) Source(123, 18) + SourceIndex(0) -6 >Emitted(64, 13) Source(123, 19) + SourceIndex(0) +1 >Emitted(65, 1) Source(123, 1) + SourceIndex(0) +2 >Emitted(65, 6) Source(123, 6) + SourceIndex(0) +3 >Emitted(65, 7) Source(123, 7) + SourceIndex(0) +4 >Emitted(65, 9) Source(123, 9) + SourceIndex(0) +5 >Emitted(65, 12) Source(123, 18) + SourceIndex(0) +6 >Emitted(65, 13) Source(123, 19) + SourceIndex(0) --- >>> n: 1 1 >^^^^ @@ -1456,10 +1457,10 @@ sourceFile:contextualTyping.ts 2 > n 3 > : 4 > 1 -1 >Emitted(65, 5) Source(124, 5) + SourceIndex(0) -2 >Emitted(65, 6) Source(124, 6) + SourceIndex(0) -3 >Emitted(65, 8) Source(124, 8) + SourceIndex(0) -4 >Emitted(65, 9) Source(124, 9) + SourceIndex(0) +1 >Emitted(66, 5) Source(124, 5) + SourceIndex(0) +2 >Emitted(66, 6) Source(124, 6) + SourceIndex(0) +3 >Emitted(66, 8) Source(124, 8) + SourceIndex(0) +4 >Emitted(66, 9) Source(124, 9) + SourceIndex(0) --- >>>}); 1 >^ @@ -1470,9 +1471,9 @@ sourceFile:contextualTyping.ts >} 2 > ) 3 > ; -1 >Emitted(66, 2) Source(125, 2) + SourceIndex(0) -2 >Emitted(66, 3) Source(125, 3) + SourceIndex(0) -3 >Emitted(66, 4) Source(125, 4) + SourceIndex(0) +1 >Emitted(67, 2) Source(125, 2) + SourceIndex(0) +2 >Emitted(67, 3) Source(125, 3) + SourceIndex(0) +3 >Emitted(67, 4) Source(125, 4) + SourceIndex(0) --- >>>objc8.t3 = []; 1-> @@ -1491,13 +1492,13 @@ sourceFile:contextualTyping.ts 5 > = 6 > [] 7 > ; -1->Emitted(67, 1) Source(126, 1) + SourceIndex(0) -2 >Emitted(67, 6) Source(126, 6) + SourceIndex(0) -3 >Emitted(67, 7) Source(126, 7) + SourceIndex(0) -4 >Emitted(67, 9) Source(126, 9) + SourceIndex(0) -5 >Emitted(67, 12) Source(126, 12) + SourceIndex(0) -6 >Emitted(67, 14) Source(126, 14) + SourceIndex(0) -7 >Emitted(67, 15) Source(126, 15) + SourceIndex(0) +1->Emitted(68, 1) Source(126, 1) + SourceIndex(0) +2 >Emitted(68, 6) Source(126, 6) + SourceIndex(0) +3 >Emitted(68, 7) Source(126, 7) + SourceIndex(0) +4 >Emitted(68, 9) Source(126, 9) + SourceIndex(0) +5 >Emitted(68, 12) Source(126, 12) + SourceIndex(0) +6 >Emitted(68, 14) Source(126, 14) + SourceIndex(0) +7 >Emitted(68, 15) Source(126, 15) + SourceIndex(0) --- >>>objc8.t4 = function () { return ({}); }; 1-> @@ -1530,20 +1531,20 @@ sourceFile:contextualTyping.ts 12> 13> } 14> ; -1->Emitted(68, 1) Source(127, 1) + SourceIndex(0) -2 >Emitted(68, 6) Source(127, 6) + SourceIndex(0) -3 >Emitted(68, 7) Source(127, 7) + SourceIndex(0) -4 >Emitted(68, 9) Source(127, 9) + SourceIndex(0) -5 >Emitted(68, 12) Source(127, 12) + SourceIndex(0) -6 >Emitted(68, 26) Source(127, 25) + SourceIndex(0) -7 >Emitted(68, 33) Source(127, 38) + SourceIndex(0) -8 >Emitted(68, 34) Source(127, 39) + SourceIndex(0) -9 >Emitted(68, 36) Source(127, 41) + SourceIndex(0) -10>Emitted(68, 37) Source(127, 42) + SourceIndex(0) -11>Emitted(68, 38) Source(127, 42) + SourceIndex(0) -12>Emitted(68, 39) Source(127, 43) + SourceIndex(0) -13>Emitted(68, 40) Source(127, 44) + SourceIndex(0) -14>Emitted(68, 41) Source(127, 45) + SourceIndex(0) +1->Emitted(69, 1) Source(127, 1) + SourceIndex(0) +2 >Emitted(69, 6) Source(127, 6) + SourceIndex(0) +3 >Emitted(69, 7) Source(127, 7) + SourceIndex(0) +4 >Emitted(69, 9) Source(127, 9) + SourceIndex(0) +5 >Emitted(69, 12) Source(127, 12) + SourceIndex(0) +6 >Emitted(69, 26) Source(127, 25) + SourceIndex(0) +7 >Emitted(69, 33) Source(127, 38) + SourceIndex(0) +8 >Emitted(69, 34) Source(127, 39) + SourceIndex(0) +9 >Emitted(69, 36) Source(127, 41) + SourceIndex(0) +10>Emitted(69, 37) Source(127, 42) + SourceIndex(0) +11>Emitted(69, 38) Source(127, 42) + SourceIndex(0) +12>Emitted(69, 39) Source(127, 43) + SourceIndex(0) +13>Emitted(69, 40) Source(127, 44) + SourceIndex(0) +14>Emitted(69, 41) Source(127, 45) + SourceIndex(0) --- >>>objc8.t5 = function (n) { return ({}); }; 1-> @@ -1580,22 +1581,22 @@ sourceFile:contextualTyping.ts 14> 15> } 16> ; -1->Emitted(69, 1) Source(128, 1) + SourceIndex(0) -2 >Emitted(69, 6) Source(128, 6) + SourceIndex(0) -3 >Emitted(69, 7) Source(128, 7) + SourceIndex(0) -4 >Emitted(69, 9) Source(128, 9) + SourceIndex(0) -5 >Emitted(69, 12) Source(128, 12) + SourceIndex(0) -6 >Emitted(69, 22) Source(128, 21) + SourceIndex(0) -7 >Emitted(69, 23) Source(128, 22) + SourceIndex(0) -8 >Emitted(69, 27) Source(128, 26) + SourceIndex(0) -9 >Emitted(69, 34) Source(128, 39) + SourceIndex(0) -10>Emitted(69, 35) Source(128, 40) + SourceIndex(0) -11>Emitted(69, 37) Source(128, 42) + SourceIndex(0) -12>Emitted(69, 38) Source(128, 43) + SourceIndex(0) -13>Emitted(69, 39) Source(128, 43) + SourceIndex(0) -14>Emitted(69, 40) Source(128, 44) + SourceIndex(0) -15>Emitted(69, 41) Source(128, 45) + SourceIndex(0) -16>Emitted(69, 42) Source(128, 46) + SourceIndex(0) +1->Emitted(70, 1) Source(128, 1) + SourceIndex(0) +2 >Emitted(70, 6) Source(128, 6) + SourceIndex(0) +3 >Emitted(70, 7) Source(128, 7) + SourceIndex(0) +4 >Emitted(70, 9) Source(128, 9) + SourceIndex(0) +5 >Emitted(70, 12) Source(128, 12) + SourceIndex(0) +6 >Emitted(70, 22) Source(128, 21) + SourceIndex(0) +7 >Emitted(70, 23) Source(128, 22) + SourceIndex(0) +8 >Emitted(70, 27) Source(128, 26) + SourceIndex(0) +9 >Emitted(70, 34) Source(128, 39) + SourceIndex(0) +10>Emitted(70, 35) Source(128, 40) + SourceIndex(0) +11>Emitted(70, 37) Source(128, 42) + SourceIndex(0) +12>Emitted(70, 38) Source(128, 43) + SourceIndex(0) +13>Emitted(70, 39) Source(128, 43) + SourceIndex(0) +14>Emitted(70, 40) Source(128, 44) + SourceIndex(0) +15>Emitted(70, 41) Source(128, 45) + SourceIndex(0) +16>Emitted(70, 42) Source(128, 46) + SourceIndex(0) --- >>>objc8.t6 = function (n, s) { return ({}); }; 1-> @@ -1635,24 +1636,24 @@ sourceFile:contextualTyping.ts 16> 17> } 18> ; -1->Emitted(70, 1) Source(129, 1) + SourceIndex(0) -2 >Emitted(70, 6) Source(129, 6) + SourceIndex(0) -3 >Emitted(70, 7) Source(129, 7) + SourceIndex(0) -4 >Emitted(70, 9) Source(129, 9) + SourceIndex(0) -5 >Emitted(70, 12) Source(129, 12) + SourceIndex(0) -6 >Emitted(70, 22) Source(129, 21) + SourceIndex(0) -7 >Emitted(70, 23) Source(129, 22) + SourceIndex(0) -8 >Emitted(70, 25) Source(129, 24) + SourceIndex(0) -9 >Emitted(70, 26) Source(129, 25) + SourceIndex(0) -10>Emitted(70, 30) Source(129, 29) + SourceIndex(0) -11>Emitted(70, 37) Source(129, 42) + SourceIndex(0) -12>Emitted(70, 38) Source(129, 43) + SourceIndex(0) -13>Emitted(70, 40) Source(129, 45) + SourceIndex(0) -14>Emitted(70, 41) Source(129, 46) + SourceIndex(0) -15>Emitted(70, 42) Source(129, 46) + SourceIndex(0) -16>Emitted(70, 43) Source(129, 47) + SourceIndex(0) -17>Emitted(70, 44) Source(129, 48) + SourceIndex(0) -18>Emitted(70, 45) Source(129, 49) + SourceIndex(0) +1->Emitted(71, 1) Source(129, 1) + SourceIndex(0) +2 >Emitted(71, 6) Source(129, 6) + SourceIndex(0) +3 >Emitted(71, 7) Source(129, 7) + SourceIndex(0) +4 >Emitted(71, 9) Source(129, 9) + SourceIndex(0) +5 >Emitted(71, 12) Source(129, 12) + SourceIndex(0) +6 >Emitted(71, 22) Source(129, 21) + SourceIndex(0) +7 >Emitted(71, 23) Source(129, 22) + SourceIndex(0) +8 >Emitted(71, 25) Source(129, 24) + SourceIndex(0) +9 >Emitted(71, 26) Source(129, 25) + SourceIndex(0) +10>Emitted(71, 30) Source(129, 29) + SourceIndex(0) +11>Emitted(71, 37) Source(129, 42) + SourceIndex(0) +12>Emitted(71, 38) Source(129, 43) + SourceIndex(0) +13>Emitted(71, 40) Source(129, 45) + SourceIndex(0) +14>Emitted(71, 41) Source(129, 46) + SourceIndex(0) +15>Emitted(71, 42) Source(129, 46) + SourceIndex(0) +16>Emitted(71, 43) Source(129, 47) + SourceIndex(0) +17>Emitted(71, 44) Source(129, 48) + SourceIndex(0) +18>Emitted(71, 45) Source(129, 49) + SourceIndex(0) --- >>>objc8.t7 = function (n) { return n; }; 1 > @@ -1685,20 +1686,20 @@ sourceFile:contextualTyping.ts 12> 13> } 14> ; -1 >Emitted(71, 1) Source(130, 1) + SourceIndex(0) -2 >Emitted(71, 6) Source(130, 6) + SourceIndex(0) -3 >Emitted(71, 7) Source(130, 7) + SourceIndex(0) -4 >Emitted(71, 9) Source(130, 9) + SourceIndex(0) -5 >Emitted(71, 12) Source(130, 12) + SourceIndex(0) -6 >Emitted(71, 22) Source(130, 21) + SourceIndex(0) -7 >Emitted(71, 23) Source(130, 30) + SourceIndex(0) -8 >Emitted(71, 27) Source(130, 34) + SourceIndex(0) -9 >Emitted(71, 34) Source(130, 41) + SourceIndex(0) -10>Emitted(71, 35) Source(130, 42) + SourceIndex(0) -11>Emitted(71, 36) Source(130, 42) + SourceIndex(0) -12>Emitted(71, 37) Source(130, 43) + SourceIndex(0) -13>Emitted(71, 38) Source(130, 44) + SourceIndex(0) -14>Emitted(71, 39) Source(130, 45) + SourceIndex(0) +1 >Emitted(72, 1) Source(130, 1) + SourceIndex(0) +2 >Emitted(72, 6) Source(130, 6) + SourceIndex(0) +3 >Emitted(72, 7) Source(130, 7) + SourceIndex(0) +4 >Emitted(72, 9) Source(130, 9) + SourceIndex(0) +5 >Emitted(72, 12) Source(130, 12) + SourceIndex(0) +6 >Emitted(72, 22) Source(130, 21) + SourceIndex(0) +7 >Emitted(72, 23) Source(130, 30) + SourceIndex(0) +8 >Emitted(72, 27) Source(130, 34) + SourceIndex(0) +9 >Emitted(72, 34) Source(130, 41) + SourceIndex(0) +10>Emitted(72, 35) Source(130, 42) + SourceIndex(0) +11>Emitted(72, 36) Source(130, 42) + SourceIndex(0) +12>Emitted(72, 37) Source(130, 43) + SourceIndex(0) +13>Emitted(72, 38) Source(130, 44) + SourceIndex(0) +14>Emitted(72, 39) Source(130, 45) + SourceIndex(0) --- >>>objc8.t8 = function (n) { return n; }; 1-> @@ -1731,20 +1732,20 @@ sourceFile:contextualTyping.ts 12> 13> } 14> ; -1->Emitted(72, 1) Source(132, 1) + SourceIndex(0) -2 >Emitted(72, 6) Source(132, 6) + SourceIndex(0) -3 >Emitted(72, 7) Source(132, 7) + SourceIndex(0) -4 >Emitted(72, 9) Source(132, 9) + SourceIndex(0) -5 >Emitted(72, 12) Source(132, 12) + SourceIndex(0) -6 >Emitted(72, 22) Source(132, 21) + SourceIndex(0) -7 >Emitted(72, 23) Source(132, 22) + SourceIndex(0) -8 >Emitted(72, 27) Source(132, 26) + SourceIndex(0) -9 >Emitted(72, 34) Source(132, 33) + SourceIndex(0) -10>Emitted(72, 35) Source(132, 34) + SourceIndex(0) -11>Emitted(72, 36) Source(132, 35) + SourceIndex(0) -12>Emitted(72, 37) Source(132, 36) + SourceIndex(0) -13>Emitted(72, 38) Source(132, 37) + SourceIndex(0) -14>Emitted(72, 39) Source(132, 38) + SourceIndex(0) +1->Emitted(73, 1) Source(132, 1) + SourceIndex(0) +2 >Emitted(73, 6) Source(132, 6) + SourceIndex(0) +3 >Emitted(73, 7) Source(132, 7) + SourceIndex(0) +4 >Emitted(73, 9) Source(132, 9) + SourceIndex(0) +5 >Emitted(73, 12) Source(132, 12) + SourceIndex(0) +6 >Emitted(73, 22) Source(132, 21) + SourceIndex(0) +7 >Emitted(73, 23) Source(132, 22) + SourceIndex(0) +8 >Emitted(73, 27) Source(132, 26) + SourceIndex(0) +9 >Emitted(73, 34) Source(132, 33) + SourceIndex(0) +10>Emitted(73, 35) Source(132, 34) + SourceIndex(0) +11>Emitted(73, 36) Source(132, 35) + SourceIndex(0) +12>Emitted(73, 37) Source(132, 36) + SourceIndex(0) +13>Emitted(73, 38) Source(132, 37) + SourceIndex(0) +14>Emitted(73, 39) Source(132, 38) + SourceIndex(0) --- >>>objc8.t9 = [[], []]; 1 > @@ -1771,17 +1772,17 @@ sourceFile:contextualTyping.ts 9 > [] 10> ] 11> ; -1 >Emitted(73, 1) Source(133, 1) + SourceIndex(0) -2 >Emitted(73, 6) Source(133, 6) + SourceIndex(0) -3 >Emitted(73, 7) Source(133, 7) + SourceIndex(0) -4 >Emitted(73, 9) Source(133, 9) + SourceIndex(0) -5 >Emitted(73, 12) Source(133, 12) + SourceIndex(0) -6 >Emitted(73, 13) Source(133, 13) + SourceIndex(0) -7 >Emitted(73, 15) Source(133, 15) + SourceIndex(0) -8 >Emitted(73, 17) Source(133, 16) + SourceIndex(0) -9 >Emitted(73, 19) Source(133, 18) + SourceIndex(0) -10>Emitted(73, 20) Source(133, 19) + SourceIndex(0) -11>Emitted(73, 21) Source(133, 20) + SourceIndex(0) +1 >Emitted(74, 1) Source(133, 1) + SourceIndex(0) +2 >Emitted(74, 6) Source(133, 6) + SourceIndex(0) +3 >Emitted(74, 7) Source(133, 7) + SourceIndex(0) +4 >Emitted(74, 9) Source(133, 9) + SourceIndex(0) +5 >Emitted(74, 12) Source(133, 12) + SourceIndex(0) +6 >Emitted(74, 13) Source(133, 13) + SourceIndex(0) +7 >Emitted(74, 15) Source(133, 15) + SourceIndex(0) +8 >Emitted(74, 17) Source(133, 16) + SourceIndex(0) +9 >Emitted(74, 19) Source(133, 18) + SourceIndex(0) +10>Emitted(74, 20) Source(133, 19) + SourceIndex(0) +11>Emitted(74, 21) Source(133, 20) + SourceIndex(0) --- >>>objc8.t10 = [({}), ({})]; 1-> @@ -1816,21 +1817,21 @@ sourceFile:contextualTyping.ts 13> ) 14> ] 15> ; -1->Emitted(74, 1) Source(134, 1) + SourceIndex(0) -2 >Emitted(74, 6) Source(134, 6) + SourceIndex(0) -3 >Emitted(74, 7) Source(134, 7) + SourceIndex(0) -4 >Emitted(74, 10) Source(134, 10) + SourceIndex(0) -5 >Emitted(74, 13) Source(134, 13) + SourceIndex(0) -6 >Emitted(74, 14) Source(134, 20) + SourceIndex(0) -7 >Emitted(74, 15) Source(134, 21) + SourceIndex(0) -8 >Emitted(74, 17) Source(134, 23) + SourceIndex(0) -9 >Emitted(74, 18) Source(134, 24) + SourceIndex(0) -10>Emitted(74, 20) Source(134, 31) + SourceIndex(0) -11>Emitted(74, 21) Source(134, 32) + SourceIndex(0) -12>Emitted(74, 23) Source(134, 34) + SourceIndex(0) -13>Emitted(74, 24) Source(134, 35) + SourceIndex(0) -14>Emitted(74, 25) Source(134, 36) + SourceIndex(0) -15>Emitted(74, 26) Source(134, 37) + SourceIndex(0) +1->Emitted(75, 1) Source(134, 1) + SourceIndex(0) +2 >Emitted(75, 6) Source(134, 6) + SourceIndex(0) +3 >Emitted(75, 7) Source(134, 7) + SourceIndex(0) +4 >Emitted(75, 10) Source(134, 10) + SourceIndex(0) +5 >Emitted(75, 13) Source(134, 13) + SourceIndex(0) +6 >Emitted(75, 14) Source(134, 20) + SourceIndex(0) +7 >Emitted(75, 15) Source(134, 21) + SourceIndex(0) +8 >Emitted(75, 17) Source(134, 23) + SourceIndex(0) +9 >Emitted(75, 18) Source(134, 24) + SourceIndex(0) +10>Emitted(75, 20) Source(134, 31) + SourceIndex(0) +11>Emitted(75, 21) Source(134, 32) + SourceIndex(0) +12>Emitted(75, 23) Source(134, 34) + SourceIndex(0) +13>Emitted(75, 24) Source(134, 35) + SourceIndex(0) +14>Emitted(75, 25) Source(134, 36) + SourceIndex(0) +15>Emitted(75, 26) Source(134, 37) + SourceIndex(0) --- >>>objc8.t11 = [function (n, s) { return s; }]; 1-> @@ -1870,24 +1871,24 @@ sourceFile:contextualTyping.ts 16> } 17> ] 18> ; -1->Emitted(75, 1) Source(135, 1) + SourceIndex(0) -2 >Emitted(75, 6) Source(135, 6) + SourceIndex(0) -3 >Emitted(75, 7) Source(135, 7) + SourceIndex(0) -4 >Emitted(75, 10) Source(135, 10) + SourceIndex(0) -5 >Emitted(75, 13) Source(135, 13) + SourceIndex(0) -6 >Emitted(75, 14) Source(135, 14) + SourceIndex(0) -7 >Emitted(75, 24) Source(135, 23) + SourceIndex(0) -8 >Emitted(75, 25) Source(135, 24) + SourceIndex(0) -9 >Emitted(75, 27) Source(135, 26) + SourceIndex(0) -10>Emitted(75, 28) Source(135, 27) + SourceIndex(0) -11>Emitted(75, 32) Source(135, 31) + SourceIndex(0) -12>Emitted(75, 39) Source(135, 38) + SourceIndex(0) -13>Emitted(75, 40) Source(135, 39) + SourceIndex(0) -14>Emitted(75, 41) Source(135, 40) + SourceIndex(0) -15>Emitted(75, 42) Source(135, 41) + SourceIndex(0) -16>Emitted(75, 43) Source(135, 42) + SourceIndex(0) -17>Emitted(75, 44) Source(135, 43) + SourceIndex(0) -18>Emitted(75, 45) Source(135, 44) + SourceIndex(0) +1->Emitted(76, 1) Source(135, 1) + SourceIndex(0) +2 >Emitted(76, 6) Source(135, 6) + SourceIndex(0) +3 >Emitted(76, 7) Source(135, 7) + SourceIndex(0) +4 >Emitted(76, 10) Source(135, 10) + SourceIndex(0) +5 >Emitted(76, 13) Source(135, 13) + SourceIndex(0) +6 >Emitted(76, 14) Source(135, 14) + SourceIndex(0) +7 >Emitted(76, 24) Source(135, 23) + SourceIndex(0) +8 >Emitted(76, 25) Source(135, 24) + SourceIndex(0) +9 >Emitted(76, 27) Source(135, 26) + SourceIndex(0) +10>Emitted(76, 28) Source(135, 27) + SourceIndex(0) +11>Emitted(76, 32) Source(135, 31) + SourceIndex(0) +12>Emitted(76, 39) Source(135, 38) + SourceIndex(0) +13>Emitted(76, 40) Source(135, 39) + SourceIndex(0) +14>Emitted(76, 41) Source(135, 40) + SourceIndex(0) +15>Emitted(76, 42) Source(135, 41) + SourceIndex(0) +16>Emitted(76, 43) Source(135, 42) + SourceIndex(0) +17>Emitted(76, 44) Source(135, 43) + SourceIndex(0) +18>Emitted(76, 45) Source(135, 44) + SourceIndex(0) --- >>>objc8.t12 = { 1 > @@ -1902,11 +1903,11 @@ sourceFile:contextualTyping.ts 3 > . 4 > t12 5 > = -1 >Emitted(76, 1) Source(136, 1) + SourceIndex(0) -2 >Emitted(76, 6) Source(136, 6) + SourceIndex(0) -3 >Emitted(76, 7) Source(136, 7) + SourceIndex(0) -4 >Emitted(76, 10) Source(136, 10) + SourceIndex(0) -5 >Emitted(76, 13) Source(136, 13) + SourceIndex(0) +1 >Emitted(77, 1) Source(136, 1) + SourceIndex(0) +2 >Emitted(77, 6) Source(136, 6) + SourceIndex(0) +3 >Emitted(77, 7) Source(136, 7) + SourceIndex(0) +4 >Emitted(77, 10) Source(136, 10) + SourceIndex(0) +5 >Emitted(77, 13) Source(136, 13) + SourceIndex(0) --- >>> foo: ({}) 1->^^^^ @@ -1922,12 +1923,12 @@ sourceFile:contextualTyping.ts 4 > ( 5 > {} 6 > ) -1->Emitted(77, 5) Source(137, 5) + SourceIndex(0) -2 >Emitted(77, 8) Source(137, 8) + SourceIndex(0) -3 >Emitted(77, 10) Source(137, 16) + SourceIndex(0) -4 >Emitted(77, 11) Source(137, 17) + SourceIndex(0) -5 >Emitted(77, 13) Source(137, 19) + SourceIndex(0) -6 >Emitted(77, 14) Source(137, 20) + SourceIndex(0) +1->Emitted(78, 5) Source(137, 5) + SourceIndex(0) +2 >Emitted(78, 8) Source(137, 8) + SourceIndex(0) +3 >Emitted(78, 10) Source(137, 16) + SourceIndex(0) +4 >Emitted(78, 11) Source(137, 17) + SourceIndex(0) +5 >Emitted(78, 13) Source(137, 19) + SourceIndex(0) +6 >Emitted(78, 14) Source(137, 20) + SourceIndex(0) --- >>>}; 1 >^ @@ -1936,8 +1937,8 @@ sourceFile:contextualTyping.ts 1 > >} 2 > -1 >Emitted(78, 2) Source(138, 2) + SourceIndex(0) -2 >Emitted(78, 3) Source(138, 2) + SourceIndex(0) +1 >Emitted(79, 2) Source(138, 2) + SourceIndex(0) +2 >Emitted(79, 3) Source(138, 2) + SourceIndex(0) --- >>>objc8.t13 = ({ 1-> @@ -1954,12 +1955,12 @@ sourceFile:contextualTyping.ts 4 > t13 5 > = 6 > ( -1->Emitted(79, 1) Source(139, 1) + SourceIndex(0) -2 >Emitted(79, 6) Source(139, 6) + SourceIndex(0) -3 >Emitted(79, 7) Source(139, 7) + SourceIndex(0) -4 >Emitted(79, 10) Source(139, 10) + SourceIndex(0) -5 >Emitted(79, 13) Source(139, 19) + SourceIndex(0) -6 >Emitted(79, 14) Source(139, 20) + SourceIndex(0) +1->Emitted(80, 1) Source(139, 1) + SourceIndex(0) +2 >Emitted(80, 6) Source(139, 6) + SourceIndex(0) +3 >Emitted(80, 7) Source(139, 7) + SourceIndex(0) +4 >Emitted(80, 10) Source(139, 10) + SourceIndex(0) +5 >Emitted(80, 13) Source(139, 19) + SourceIndex(0) +6 >Emitted(80, 14) Source(139, 20) + SourceIndex(0) --- >>> f: function (i, s) { return s; } 1->^^^^ @@ -1989,19 +1990,19 @@ sourceFile:contextualTyping.ts 11> ; 12> 13> } -1->Emitted(80, 5) Source(140, 5) + SourceIndex(0) -2 >Emitted(80, 6) Source(140, 6) + SourceIndex(0) -3 >Emitted(80, 8) Source(140, 8) + SourceIndex(0) -4 >Emitted(80, 18) Source(140, 17) + SourceIndex(0) -5 >Emitted(80, 19) Source(140, 18) + SourceIndex(0) -6 >Emitted(80, 21) Source(140, 20) + SourceIndex(0) -7 >Emitted(80, 22) Source(140, 21) + SourceIndex(0) -8 >Emitted(80, 26) Source(140, 25) + SourceIndex(0) -9 >Emitted(80, 33) Source(140, 32) + SourceIndex(0) -10>Emitted(80, 34) Source(140, 33) + SourceIndex(0) -11>Emitted(80, 35) Source(140, 34) + SourceIndex(0) -12>Emitted(80, 36) Source(140, 35) + SourceIndex(0) -13>Emitted(80, 37) Source(140, 36) + SourceIndex(0) +1->Emitted(81, 5) Source(140, 5) + SourceIndex(0) +2 >Emitted(81, 6) Source(140, 6) + SourceIndex(0) +3 >Emitted(81, 8) Source(140, 8) + SourceIndex(0) +4 >Emitted(81, 18) Source(140, 17) + SourceIndex(0) +5 >Emitted(81, 19) Source(140, 18) + SourceIndex(0) +6 >Emitted(81, 21) Source(140, 20) + SourceIndex(0) +7 >Emitted(81, 22) Source(140, 21) + SourceIndex(0) +8 >Emitted(81, 26) Source(140, 25) + SourceIndex(0) +9 >Emitted(81, 33) Source(140, 32) + SourceIndex(0) +10>Emitted(81, 34) Source(140, 33) + SourceIndex(0) +11>Emitted(81, 35) Source(140, 34) + SourceIndex(0) +12>Emitted(81, 36) Source(140, 35) + SourceIndex(0) +13>Emitted(81, 37) Source(140, 36) + SourceIndex(0) --- >>>}); 1 >^ @@ -2012,9 +2013,9 @@ sourceFile:contextualTyping.ts >} 2 > ) 3 > -1 >Emitted(81, 2) Source(141, 2) + SourceIndex(0) -2 >Emitted(81, 3) Source(141, 3) + SourceIndex(0) -3 >Emitted(81, 4) Source(141, 3) + SourceIndex(0) +1 >Emitted(82, 2) Source(141, 2) + SourceIndex(0) +2 >Emitted(82, 3) Source(141, 3) + SourceIndex(0) +3 >Emitted(82, 4) Source(141, 3) + SourceIndex(0) --- >>>objc8.t14 = ({ 1-> @@ -2030,12 +2031,12 @@ sourceFile:contextualTyping.ts 4 > t14 5 > = 6 > ( -1->Emitted(82, 1) Source(142, 1) + SourceIndex(0) -2 >Emitted(82, 6) Source(142, 6) + SourceIndex(0) -3 >Emitted(82, 7) Source(142, 7) + SourceIndex(0) -4 >Emitted(82, 10) Source(142, 10) + SourceIndex(0) -5 >Emitted(82, 13) Source(142, 19) + SourceIndex(0) -6 >Emitted(82, 14) Source(142, 20) + SourceIndex(0) +1->Emitted(83, 1) Source(142, 1) + SourceIndex(0) +2 >Emitted(83, 6) Source(142, 6) + SourceIndex(0) +3 >Emitted(83, 7) Source(142, 7) + SourceIndex(0) +4 >Emitted(83, 10) Source(142, 10) + SourceIndex(0) +5 >Emitted(83, 13) Source(142, 19) + SourceIndex(0) +6 >Emitted(83, 14) Source(142, 20) + SourceIndex(0) --- >>> a: [] 1 >^^^^ @@ -2047,10 +2048,10 @@ sourceFile:contextualTyping.ts 2 > a 3 > : 4 > [] -1 >Emitted(83, 5) Source(143, 5) + SourceIndex(0) -2 >Emitted(83, 6) Source(143, 6) + SourceIndex(0) -3 >Emitted(83, 8) Source(143, 8) + SourceIndex(0) -4 >Emitted(83, 10) Source(143, 10) + SourceIndex(0) +1 >Emitted(84, 5) Source(143, 5) + SourceIndex(0) +2 >Emitted(84, 6) Source(143, 6) + SourceIndex(0) +3 >Emitted(84, 8) Source(143, 8) + SourceIndex(0) +4 >Emitted(84, 10) Source(143, 10) + SourceIndex(0) --- >>>}); 1 >^ @@ -2061,9 +2062,9 @@ sourceFile:contextualTyping.ts >} 2 > ) 3 > -1 >Emitted(84, 2) Source(144, 2) + SourceIndex(0) -2 >Emitted(84, 3) Source(144, 3) + SourceIndex(0) -3 >Emitted(84, 4) Source(144, 3) + SourceIndex(0) +1 >Emitted(85, 2) Source(144, 2) + SourceIndex(0) +2 >Emitted(85, 3) Source(144, 3) + SourceIndex(0) +3 >Emitted(85, 4) Source(144, 3) + SourceIndex(0) --- >>>// CONTEXT: Function call 1-> @@ -2071,8 +2072,8 @@ sourceFile:contextualTyping.ts 1-> > 2 >// CONTEXT: Function call -1->Emitted(85, 1) Source(145, 1) + SourceIndex(0) -2 >Emitted(85, 26) Source(145, 26) + SourceIndex(0) +1->Emitted(86, 1) Source(145, 1) + SourceIndex(0) +2 >Emitted(86, 26) Source(145, 26) + SourceIndex(0) --- >>>function c9t5(f) { } 1 > @@ -2090,13 +2091,13 @@ sourceFile:contextualTyping.ts 5 > f: (n: number) => IFoo 6 > ) { 7 > } -1 >Emitted(86, 1) Source(146, 1) + SourceIndex(0) -2 >Emitted(86, 10) Source(146, 10) + SourceIndex(0) -3 >Emitted(86, 14) Source(146, 14) + SourceIndex(0) -4 >Emitted(86, 15) Source(146, 15) + SourceIndex(0) -5 >Emitted(86, 16) Source(146, 37) + SourceIndex(0) -6 >Emitted(86, 20) Source(146, 40) + SourceIndex(0) -7 >Emitted(86, 21) Source(146, 41) + SourceIndex(0) +1 >Emitted(87, 1) Source(146, 1) + SourceIndex(0) +2 >Emitted(87, 10) Source(146, 10) + SourceIndex(0) +3 >Emitted(87, 14) Source(146, 14) + SourceIndex(0) +4 >Emitted(87, 15) Source(146, 15) + SourceIndex(0) +5 >Emitted(87, 16) Source(146, 37) + SourceIndex(0) +6 >Emitted(87, 20) Source(146, 40) + SourceIndex(0) +7 >Emitted(87, 21) Source(146, 41) + SourceIndex(0) --- >>>; 1 > @@ -2104,8 +2105,8 @@ sourceFile:contextualTyping.ts 3 > ^^^^^^^^^^^^^^^^^^^-> 1 > 2 >; -1 >Emitted(87, 1) Source(146, 41) + SourceIndex(0) -2 >Emitted(87, 2) Source(146, 42) + SourceIndex(0) +1 >Emitted(88, 1) Source(146, 41) + SourceIndex(0) +2 >Emitted(88, 2) Source(146, 42) + SourceIndex(0) --- >>>c9t5(function (n) { 1-> @@ -2120,11 +2121,11 @@ sourceFile:contextualTyping.ts 3 > ( 4 > function( 5 > n -1->Emitted(88, 1) Source(147, 1) + SourceIndex(0) -2 >Emitted(88, 5) Source(147, 5) + SourceIndex(0) -3 >Emitted(88, 6) Source(147, 6) + SourceIndex(0) -4 >Emitted(88, 16) Source(147, 15) + SourceIndex(0) -5 >Emitted(88, 17) Source(147, 16) + SourceIndex(0) +1->Emitted(89, 1) Source(147, 1) + SourceIndex(0) +2 >Emitted(89, 5) Source(147, 5) + SourceIndex(0) +3 >Emitted(89, 6) Source(147, 6) + SourceIndex(0) +4 >Emitted(89, 16) Source(147, 15) + SourceIndex(0) +5 >Emitted(89, 17) Source(147, 16) + SourceIndex(0) --- >>> return ({}); 1->^^^^ @@ -2140,12 +2141,12 @@ sourceFile:contextualTyping.ts 4 > {} 5 > ) 6 > ; -1->Emitted(89, 5) Source(148, 5) + SourceIndex(0) -2 >Emitted(89, 12) Source(148, 18) + SourceIndex(0) -3 >Emitted(89, 13) Source(148, 19) + SourceIndex(0) -4 >Emitted(89, 15) Source(148, 21) + SourceIndex(0) -5 >Emitted(89, 16) Source(148, 22) + SourceIndex(0) -6 >Emitted(89, 17) Source(148, 23) + SourceIndex(0) +1->Emitted(90, 5) Source(148, 5) + SourceIndex(0) +2 >Emitted(90, 12) Source(148, 18) + SourceIndex(0) +3 >Emitted(90, 13) Source(148, 19) + SourceIndex(0) +4 >Emitted(90, 15) Source(148, 21) + SourceIndex(0) +5 >Emitted(90, 16) Source(148, 22) + SourceIndex(0) +6 >Emitted(90, 17) Source(148, 23) + SourceIndex(0) --- >>>}); 1 > @@ -2158,10 +2159,10 @@ sourceFile:contextualTyping.ts 2 >} 3 > ) 4 > ; -1 >Emitted(90, 1) Source(149, 1) + SourceIndex(0) -2 >Emitted(90, 2) Source(149, 2) + SourceIndex(0) -3 >Emitted(90, 3) Source(149, 3) + SourceIndex(0) -4 >Emitted(90, 4) Source(149, 4) + SourceIndex(0) +1 >Emitted(91, 1) Source(149, 1) + SourceIndex(0) +2 >Emitted(91, 2) Source(149, 2) + SourceIndex(0) +3 >Emitted(91, 3) Source(149, 3) + SourceIndex(0) +4 >Emitted(91, 4) Source(149, 4) + SourceIndex(0) --- >>>// CONTEXT: Return statement 1-> @@ -2171,8 +2172,8 @@ sourceFile:contextualTyping.ts > > 2 >// CONTEXT: Return statement -1->Emitted(91, 1) Source(151, 1) + SourceIndex(0) -2 >Emitted(91, 29) Source(151, 29) + SourceIndex(0) +1->Emitted(92, 1) Source(151, 1) + SourceIndex(0) +2 >Emitted(92, 29) Source(151, 29) + SourceIndex(0) --- >>>var c10t5 = function () { return function (n) { return ({}); }; }; 1-> @@ -2216,26 +2217,26 @@ sourceFile:contextualTyping.ts 18> 19> } 20> ; -1->Emitted(92, 1) Source(152, 1) + SourceIndex(0) -2 >Emitted(92, 5) Source(152, 5) + SourceIndex(0) -3 >Emitted(92, 10) Source(152, 10) + SourceIndex(0) -4 >Emitted(92, 13) Source(152, 40) + SourceIndex(0) -5 >Emitted(92, 27) Source(152, 53) + SourceIndex(0) -6 >Emitted(92, 34) Source(152, 60) + SourceIndex(0) -7 >Emitted(92, 44) Source(152, 69) + SourceIndex(0) -8 >Emitted(92, 45) Source(152, 70) + SourceIndex(0) -9 >Emitted(92, 49) Source(152, 74) + SourceIndex(0) -10>Emitted(92, 56) Source(152, 87) + SourceIndex(0) -11>Emitted(92, 57) Source(152, 88) + SourceIndex(0) -12>Emitted(92, 59) Source(152, 90) + SourceIndex(0) -13>Emitted(92, 60) Source(152, 91) + SourceIndex(0) -14>Emitted(92, 61) Source(152, 91) + SourceIndex(0) -15>Emitted(92, 62) Source(152, 92) + SourceIndex(0) -16>Emitted(92, 63) Source(152, 93) + SourceIndex(0) -17>Emitted(92, 64) Source(152, 93) + SourceIndex(0) -18>Emitted(92, 65) Source(152, 94) + SourceIndex(0) -19>Emitted(92, 66) Source(152, 95) + SourceIndex(0) -20>Emitted(92, 67) Source(152, 96) + SourceIndex(0) +1->Emitted(93, 1) Source(152, 1) + SourceIndex(0) +2 >Emitted(93, 5) Source(152, 5) + SourceIndex(0) +3 >Emitted(93, 10) Source(152, 10) + SourceIndex(0) +4 >Emitted(93, 13) Source(152, 40) + SourceIndex(0) +5 >Emitted(93, 27) Source(152, 53) + SourceIndex(0) +6 >Emitted(93, 34) Source(152, 60) + SourceIndex(0) +7 >Emitted(93, 44) Source(152, 69) + SourceIndex(0) +8 >Emitted(93, 45) Source(152, 70) + SourceIndex(0) +9 >Emitted(93, 49) Source(152, 74) + SourceIndex(0) +10>Emitted(93, 56) Source(152, 87) + SourceIndex(0) +11>Emitted(93, 57) Source(152, 88) + SourceIndex(0) +12>Emitted(93, 59) Source(152, 90) + SourceIndex(0) +13>Emitted(93, 60) Source(152, 91) + SourceIndex(0) +14>Emitted(93, 61) Source(152, 91) + SourceIndex(0) +15>Emitted(93, 62) Source(152, 92) + SourceIndex(0) +16>Emitted(93, 63) Source(152, 93) + SourceIndex(0) +17>Emitted(93, 64) Source(152, 93) + SourceIndex(0) +18>Emitted(93, 65) Source(152, 94) + SourceIndex(0) +19>Emitted(93, 66) Source(152, 95) + SourceIndex(0) +20>Emitted(93, 67) Source(152, 96) + SourceIndex(0) --- >>>// CONTEXT: Newing a class 1 > @@ -2245,15 +2246,15 @@ sourceFile:contextualTyping.ts > > 2 >// CONTEXT: Newing a class -1 >Emitted(93, 1) Source(154, 1) + SourceIndex(0) -2 >Emitted(93, 27) Source(154, 27) + SourceIndex(0) +1 >Emitted(94, 1) Source(154, 1) + SourceIndex(0) +2 >Emitted(94, 27) Source(154, 27) + SourceIndex(0) --- >>>var C11t5 = /** @class */ (function () { 1-> 2 >^^^^^^^^^^^^^^^^^^^^^^^^-> 1-> > -1->Emitted(94, 1) Source(155, 1) + SourceIndex(0) +1->Emitted(95, 1) Source(155, 1) + SourceIndex(0) --- >>> function C11t5(f) { 1->^^^^ @@ -2262,9 +2263,9 @@ sourceFile:contextualTyping.ts 1->class C11t5 { 2 > constructor( 3 > f: (n: number) => IFoo -1->Emitted(95, 5) Source(155, 15) + SourceIndex(0) -2 >Emitted(95, 20) Source(155, 27) + SourceIndex(0) -3 >Emitted(95, 21) Source(155, 49) + SourceIndex(0) +1->Emitted(96, 5) Source(155, 15) + SourceIndex(0) +2 >Emitted(96, 20) Source(155, 27) + SourceIndex(0) +3 >Emitted(96, 21) Source(155, 49) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -2272,16 +2273,16 @@ sourceFile:contextualTyping.ts 3 > ^^^^^^^^^^^^^-> 1 >) { 2 > } -1 >Emitted(96, 5) Source(155, 53) + SourceIndex(0) -2 >Emitted(96, 6) Source(155, 54) + SourceIndex(0) +1 >Emitted(97, 5) Source(155, 53) + SourceIndex(0) +2 >Emitted(97, 6) Source(155, 54) + SourceIndex(0) --- >>> return C11t5; 1->^^^^ 2 > ^^^^^^^^^^^^ 1-> 2 > } -1->Emitted(97, 5) Source(155, 55) + SourceIndex(0) -2 >Emitted(97, 17) Source(155, 56) + SourceIndex(0) +1->Emitted(98, 5) Source(155, 55) + SourceIndex(0) +2 >Emitted(98, 17) Source(155, 56) + SourceIndex(0) --- >>>}()); 1 > @@ -2292,10 +2293,10 @@ sourceFile:contextualTyping.ts 2 >} 3 > 4 > class C11t5 { constructor(f: (n: number) => IFoo) { } } -1 >Emitted(98, 1) Source(155, 55) + SourceIndex(0) -2 >Emitted(98, 2) Source(155, 56) + SourceIndex(0) -3 >Emitted(98, 2) Source(155, 1) + SourceIndex(0) -4 >Emitted(98, 6) Source(155, 56) + SourceIndex(0) +1 >Emitted(99, 1) Source(155, 55) + SourceIndex(0) +2 >Emitted(99, 2) Source(155, 56) + SourceIndex(0) +3 >Emitted(99, 2) Source(155, 1) + SourceIndex(0) +4 >Emitted(99, 6) Source(155, 56) + SourceIndex(0) --- >>>; 1 > @@ -2303,8 +2304,8 @@ sourceFile:contextualTyping.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > 2 >; -1 >Emitted(99, 1) Source(155, 56) + SourceIndex(0) -2 >Emitted(99, 2) Source(155, 57) + SourceIndex(0) +1 >Emitted(100, 1) Source(155, 56) + SourceIndex(0) +2 >Emitted(100, 2) Source(155, 57) + SourceIndex(0) --- >>>var i = new C11t5(function (n) { return ({}); }); 1-> @@ -2346,25 +2347,25 @@ sourceFile:contextualTyping.ts 17> } 18> ) 19> ; -1->Emitted(100, 1) Source(156, 1) + SourceIndex(0) -2 >Emitted(100, 5) Source(156, 5) + SourceIndex(0) -3 >Emitted(100, 6) Source(156, 6) + SourceIndex(0) -4 >Emitted(100, 9) Source(156, 9) + SourceIndex(0) -5 >Emitted(100, 13) Source(156, 13) + SourceIndex(0) -6 >Emitted(100, 18) Source(156, 18) + SourceIndex(0) -7 >Emitted(100, 19) Source(156, 19) + SourceIndex(0) -8 >Emitted(100, 29) Source(156, 28) + SourceIndex(0) -9 >Emitted(100, 30) Source(156, 29) + SourceIndex(0) -10>Emitted(100, 34) Source(156, 33) + SourceIndex(0) -11>Emitted(100, 41) Source(156, 46) + SourceIndex(0) -12>Emitted(100, 42) Source(156, 47) + SourceIndex(0) -13>Emitted(100, 44) Source(156, 49) + SourceIndex(0) -14>Emitted(100, 45) Source(156, 50) + SourceIndex(0) -15>Emitted(100, 46) Source(156, 50) + SourceIndex(0) -16>Emitted(100, 47) Source(156, 51) + SourceIndex(0) -17>Emitted(100, 48) Source(156, 52) + SourceIndex(0) -18>Emitted(100, 49) Source(156, 53) + SourceIndex(0) -19>Emitted(100, 50) Source(156, 54) + SourceIndex(0) +1->Emitted(101, 1) Source(156, 1) + SourceIndex(0) +2 >Emitted(101, 5) Source(156, 5) + SourceIndex(0) +3 >Emitted(101, 6) Source(156, 6) + SourceIndex(0) +4 >Emitted(101, 9) Source(156, 9) + SourceIndex(0) +5 >Emitted(101, 13) Source(156, 13) + SourceIndex(0) +6 >Emitted(101, 18) Source(156, 18) + SourceIndex(0) +7 >Emitted(101, 19) Source(156, 19) + SourceIndex(0) +8 >Emitted(101, 29) Source(156, 28) + SourceIndex(0) +9 >Emitted(101, 30) Source(156, 29) + SourceIndex(0) +10>Emitted(101, 34) Source(156, 33) + SourceIndex(0) +11>Emitted(101, 41) Source(156, 46) + SourceIndex(0) +12>Emitted(101, 42) Source(156, 47) + SourceIndex(0) +13>Emitted(101, 44) Source(156, 49) + SourceIndex(0) +14>Emitted(101, 45) Source(156, 50) + SourceIndex(0) +15>Emitted(101, 46) Source(156, 50) + SourceIndex(0) +16>Emitted(101, 47) Source(156, 51) + SourceIndex(0) +17>Emitted(101, 48) Source(156, 52) + SourceIndex(0) +18>Emitted(101, 49) Source(156, 53) + SourceIndex(0) +19>Emitted(101, 50) Source(156, 54) + SourceIndex(0) --- >>>// CONTEXT: Type annotated expression 1 > @@ -2374,8 +2375,8 @@ sourceFile:contextualTyping.ts > > 2 >// CONTEXT: Type annotated expression -1 >Emitted(101, 1) Source(158, 1) + SourceIndex(0) -2 >Emitted(101, 38) Source(158, 38) + SourceIndex(0) +1 >Emitted(102, 1) Source(158, 1) + SourceIndex(0) +2 >Emitted(102, 38) Source(158, 38) + SourceIndex(0) --- >>>var c12t1 = (function (s) { return s; }); 1-> @@ -2409,21 +2410,21 @@ sourceFile:contextualTyping.ts 13> } 14> ) 15> ; -1->Emitted(102, 1) Source(159, 1) + SourceIndex(0) -2 >Emitted(102, 5) Source(159, 5) + SourceIndex(0) -3 >Emitted(102, 10) Source(159, 10) + SourceIndex(0) -4 >Emitted(102, 13) Source(159, 37) + SourceIndex(0) -5 >Emitted(102, 14) Source(159, 38) + SourceIndex(0) -6 >Emitted(102, 24) Source(159, 47) + SourceIndex(0) -7 >Emitted(102, 25) Source(159, 48) + SourceIndex(0) -8 >Emitted(102, 29) Source(159, 52) + SourceIndex(0) -9 >Emitted(102, 36) Source(159, 59) + SourceIndex(0) -10>Emitted(102, 37) Source(159, 60) + SourceIndex(0) -11>Emitted(102, 38) Source(159, 60) + SourceIndex(0) -12>Emitted(102, 39) Source(159, 61) + SourceIndex(0) -13>Emitted(102, 40) Source(159, 62) + SourceIndex(0) -14>Emitted(102, 41) Source(159, 63) + SourceIndex(0) -15>Emitted(102, 42) Source(159, 64) + SourceIndex(0) +1->Emitted(103, 1) Source(159, 1) + SourceIndex(0) +2 >Emitted(103, 5) Source(159, 5) + SourceIndex(0) +3 >Emitted(103, 10) Source(159, 10) + SourceIndex(0) +4 >Emitted(103, 13) Source(159, 37) + SourceIndex(0) +5 >Emitted(103, 14) Source(159, 38) + SourceIndex(0) +6 >Emitted(103, 24) Source(159, 47) + SourceIndex(0) +7 >Emitted(103, 25) Source(159, 48) + SourceIndex(0) +8 >Emitted(103, 29) Source(159, 52) + SourceIndex(0) +9 >Emitted(103, 36) Source(159, 59) + SourceIndex(0) +10>Emitted(103, 37) Source(159, 60) + SourceIndex(0) +11>Emitted(103, 38) Source(159, 60) + SourceIndex(0) +12>Emitted(103, 39) Source(159, 61) + SourceIndex(0) +13>Emitted(103, 40) Source(159, 62) + SourceIndex(0) +14>Emitted(103, 41) Source(159, 63) + SourceIndex(0) +15>Emitted(103, 42) Source(159, 64) + SourceIndex(0) --- >>>var c12t2 = ({ 1 > @@ -2437,11 +2438,11 @@ sourceFile:contextualTyping.ts 3 > c12t2 4 > = 5 > ( -1 >Emitted(103, 1) Source(160, 1) + SourceIndex(0) -2 >Emitted(103, 5) Source(160, 5) + SourceIndex(0) -3 >Emitted(103, 10) Source(160, 10) + SourceIndex(0) -4 >Emitted(103, 13) Source(160, 20) + SourceIndex(0) -5 >Emitted(103, 14) Source(160, 21) + SourceIndex(0) +1 >Emitted(104, 1) Source(160, 1) + SourceIndex(0) +2 >Emitted(104, 5) Source(160, 5) + SourceIndex(0) +3 >Emitted(104, 10) Source(160, 10) + SourceIndex(0) +4 >Emitted(104, 13) Source(160, 20) + SourceIndex(0) +5 >Emitted(104, 14) Source(160, 21) + SourceIndex(0) --- >>> n: 1 1 >^^^^ @@ -2453,10 +2454,10 @@ sourceFile:contextualTyping.ts 2 > n 3 > : 4 > 1 -1 >Emitted(104, 5) Source(161, 5) + SourceIndex(0) -2 >Emitted(104, 6) Source(161, 6) + SourceIndex(0) -3 >Emitted(104, 8) Source(161, 8) + SourceIndex(0) -4 >Emitted(104, 9) Source(161, 9) + SourceIndex(0) +1 >Emitted(105, 5) Source(161, 5) + SourceIndex(0) +2 >Emitted(105, 6) Source(161, 6) + SourceIndex(0) +3 >Emitted(105, 8) Source(161, 8) + SourceIndex(0) +4 >Emitted(105, 9) Source(161, 9) + SourceIndex(0) --- >>>}); 1 >^ @@ -2467,9 +2468,9 @@ sourceFile:contextualTyping.ts >} 2 > ) 3 > ; -1 >Emitted(105, 2) Source(162, 2) + SourceIndex(0) -2 >Emitted(105, 3) Source(162, 3) + SourceIndex(0) -3 >Emitted(105, 4) Source(162, 4) + SourceIndex(0) +1 >Emitted(106, 2) Source(162, 2) + SourceIndex(0) +2 >Emitted(106, 3) Source(162, 3) + SourceIndex(0) +3 >Emitted(106, 4) Source(162, 4) + SourceIndex(0) --- >>>var c12t3 = []; 1-> @@ -2486,12 +2487,12 @@ sourceFile:contextualTyping.ts 4 > = 5 > [] 6 > ; -1->Emitted(106, 1) Source(163, 1) + SourceIndex(0) -2 >Emitted(106, 5) Source(163, 5) + SourceIndex(0) -3 >Emitted(106, 10) Source(163, 10) + SourceIndex(0) -4 >Emitted(106, 13) Source(163, 24) + SourceIndex(0) -5 >Emitted(106, 15) Source(163, 26) + SourceIndex(0) -6 >Emitted(106, 16) Source(163, 27) + SourceIndex(0) +1->Emitted(107, 1) Source(163, 1) + SourceIndex(0) +2 >Emitted(107, 5) Source(163, 5) + SourceIndex(0) +3 >Emitted(107, 10) Source(163, 10) + SourceIndex(0) +4 >Emitted(107, 13) Source(163, 24) + SourceIndex(0) +5 >Emitted(107, 15) Source(163, 26) + SourceIndex(0) +6 >Emitted(107, 16) Source(163, 27) + SourceIndex(0) --- >>>var c12t4 = function () { return ({}); }; 1-> @@ -2522,19 +2523,19 @@ sourceFile:contextualTyping.ts 11> 12> } 13> ; -1->Emitted(107, 1) Source(164, 1) + SourceIndex(0) -2 >Emitted(107, 5) Source(164, 5) + SourceIndex(0) -3 >Emitted(107, 10) Source(164, 10) + SourceIndex(0) -4 >Emitted(107, 13) Source(164, 26) + SourceIndex(0) -5 >Emitted(107, 27) Source(164, 39) + SourceIndex(0) -6 >Emitted(107, 34) Source(164, 52) + SourceIndex(0) -7 >Emitted(107, 35) Source(164, 53) + SourceIndex(0) -8 >Emitted(107, 37) Source(164, 55) + SourceIndex(0) -9 >Emitted(107, 38) Source(164, 56) + SourceIndex(0) -10>Emitted(107, 39) Source(164, 56) + SourceIndex(0) -11>Emitted(107, 40) Source(164, 57) + SourceIndex(0) -12>Emitted(107, 41) Source(164, 58) + SourceIndex(0) -13>Emitted(107, 42) Source(164, 59) + SourceIndex(0) +1->Emitted(108, 1) Source(164, 1) + SourceIndex(0) +2 >Emitted(108, 5) Source(164, 5) + SourceIndex(0) +3 >Emitted(108, 10) Source(164, 10) + SourceIndex(0) +4 >Emitted(108, 13) Source(164, 26) + SourceIndex(0) +5 >Emitted(108, 27) Source(164, 39) + SourceIndex(0) +6 >Emitted(108, 34) Source(164, 52) + SourceIndex(0) +7 >Emitted(108, 35) Source(164, 53) + SourceIndex(0) +8 >Emitted(108, 37) Source(164, 55) + SourceIndex(0) +9 >Emitted(108, 38) Source(164, 56) + SourceIndex(0) +10>Emitted(108, 39) Source(164, 56) + SourceIndex(0) +11>Emitted(108, 40) Source(164, 57) + SourceIndex(0) +12>Emitted(108, 41) Source(164, 58) + SourceIndex(0) +13>Emitted(108, 42) Source(164, 59) + SourceIndex(0) --- >>>var c12t5 = function (n) { return ({}); }; 1-> @@ -2569,21 +2570,21 @@ sourceFile:contextualTyping.ts 13> 14> } 15> ; -1->Emitted(108, 1) Source(165, 1) + SourceIndex(0) -2 >Emitted(108, 5) Source(165, 5) + SourceIndex(0) -3 >Emitted(108, 10) Source(165, 10) + SourceIndex(0) -4 >Emitted(108, 13) Source(165, 35) + SourceIndex(0) -5 >Emitted(108, 23) Source(165, 44) + SourceIndex(0) -6 >Emitted(108, 24) Source(165, 45) + SourceIndex(0) -7 >Emitted(108, 28) Source(165, 49) + SourceIndex(0) -8 >Emitted(108, 35) Source(165, 62) + SourceIndex(0) -9 >Emitted(108, 36) Source(165, 63) + SourceIndex(0) -10>Emitted(108, 38) Source(165, 65) + SourceIndex(0) -11>Emitted(108, 39) Source(165, 66) + SourceIndex(0) -12>Emitted(108, 40) Source(165, 66) + SourceIndex(0) -13>Emitted(108, 41) Source(165, 67) + SourceIndex(0) -14>Emitted(108, 42) Source(165, 68) + SourceIndex(0) -15>Emitted(108, 43) Source(165, 69) + SourceIndex(0) +1->Emitted(109, 1) Source(165, 1) + SourceIndex(0) +2 >Emitted(109, 5) Source(165, 5) + SourceIndex(0) +3 >Emitted(109, 10) Source(165, 10) + SourceIndex(0) +4 >Emitted(109, 13) Source(165, 35) + SourceIndex(0) +5 >Emitted(109, 23) Source(165, 44) + SourceIndex(0) +6 >Emitted(109, 24) Source(165, 45) + SourceIndex(0) +7 >Emitted(109, 28) Source(165, 49) + SourceIndex(0) +8 >Emitted(109, 35) Source(165, 62) + SourceIndex(0) +9 >Emitted(109, 36) Source(165, 63) + SourceIndex(0) +10>Emitted(109, 38) Source(165, 65) + SourceIndex(0) +11>Emitted(109, 39) Source(165, 66) + SourceIndex(0) +12>Emitted(109, 40) Source(165, 66) + SourceIndex(0) +13>Emitted(109, 41) Source(165, 67) + SourceIndex(0) +14>Emitted(109, 42) Source(165, 68) + SourceIndex(0) +15>Emitted(109, 43) Source(165, 69) + SourceIndex(0) --- >>>var c12t6 = function (n, s) { return ({}); }; 1-> @@ -2621,23 +2622,23 @@ sourceFile:contextualTyping.ts 15> 16> } 17> ; -1->Emitted(109, 1) Source(166, 1) + SourceIndex(0) -2 >Emitted(109, 5) Source(166, 5) + SourceIndex(0) -3 >Emitted(109, 10) Source(166, 10) + SourceIndex(0) -4 >Emitted(109, 13) Source(166, 46) + SourceIndex(0) -5 >Emitted(109, 23) Source(166, 55) + SourceIndex(0) -6 >Emitted(109, 24) Source(166, 56) + SourceIndex(0) -7 >Emitted(109, 26) Source(166, 58) + SourceIndex(0) -8 >Emitted(109, 27) Source(166, 59) + SourceIndex(0) -9 >Emitted(109, 31) Source(166, 63) + SourceIndex(0) -10>Emitted(109, 38) Source(166, 76) + SourceIndex(0) -11>Emitted(109, 39) Source(166, 77) + SourceIndex(0) -12>Emitted(109, 41) Source(166, 79) + SourceIndex(0) -13>Emitted(109, 42) Source(166, 80) + SourceIndex(0) -14>Emitted(109, 43) Source(166, 80) + SourceIndex(0) -15>Emitted(109, 44) Source(166, 81) + SourceIndex(0) -16>Emitted(109, 45) Source(166, 82) + SourceIndex(0) -17>Emitted(109, 46) Source(166, 83) + SourceIndex(0) +1->Emitted(110, 1) Source(166, 1) + SourceIndex(0) +2 >Emitted(110, 5) Source(166, 5) + SourceIndex(0) +3 >Emitted(110, 10) Source(166, 10) + SourceIndex(0) +4 >Emitted(110, 13) Source(166, 46) + SourceIndex(0) +5 >Emitted(110, 23) Source(166, 55) + SourceIndex(0) +6 >Emitted(110, 24) Source(166, 56) + SourceIndex(0) +7 >Emitted(110, 26) Source(166, 58) + SourceIndex(0) +8 >Emitted(110, 27) Source(166, 59) + SourceIndex(0) +9 >Emitted(110, 31) Source(166, 63) + SourceIndex(0) +10>Emitted(110, 38) Source(166, 76) + SourceIndex(0) +11>Emitted(110, 39) Source(166, 77) + SourceIndex(0) +12>Emitted(110, 41) Source(166, 79) + SourceIndex(0) +13>Emitted(110, 42) Source(166, 80) + SourceIndex(0) +14>Emitted(110, 43) Source(166, 80) + SourceIndex(0) +15>Emitted(110, 44) Source(166, 81) + SourceIndex(0) +16>Emitted(110, 45) Source(166, 82) + SourceIndex(0) +17>Emitted(110, 46) Source(166, 83) + SourceIndex(0) --- >>>var c12t7 = function (n) { return n; }; 1 > @@ -2671,19 +2672,19 @@ sourceFile:contextualTyping.ts 11> 12> } 13> ; -1 >Emitted(110, 1) Source(167, 1) + SourceIndex(0) -2 >Emitted(110, 5) Source(167, 5) + SourceIndex(0) -3 >Emitted(110, 10) Source(167, 10) + SourceIndex(0) -4 >Emitted(110, 13) Source(170, 4) + SourceIndex(0) -5 >Emitted(110, 23) Source(170, 13) + SourceIndex(0) -6 >Emitted(110, 24) Source(170, 21) + SourceIndex(0) -7 >Emitted(110, 28) Source(170, 25) + SourceIndex(0) -8 >Emitted(110, 35) Source(170, 32) + SourceIndex(0) -9 >Emitted(110, 36) Source(170, 33) + SourceIndex(0) -10>Emitted(110, 37) Source(170, 33) + SourceIndex(0) -11>Emitted(110, 38) Source(170, 34) + SourceIndex(0) -12>Emitted(110, 39) Source(170, 35) + SourceIndex(0) -13>Emitted(110, 40) Source(170, 36) + SourceIndex(0) +1 >Emitted(111, 1) Source(167, 1) + SourceIndex(0) +2 >Emitted(111, 5) Source(167, 5) + SourceIndex(0) +3 >Emitted(111, 10) Source(167, 10) + SourceIndex(0) +4 >Emitted(111, 13) Source(170, 4) + SourceIndex(0) +5 >Emitted(111, 23) Source(170, 13) + SourceIndex(0) +6 >Emitted(111, 24) Source(170, 21) + SourceIndex(0) +7 >Emitted(111, 28) Source(170, 25) + SourceIndex(0) +8 >Emitted(111, 35) Source(170, 32) + SourceIndex(0) +9 >Emitted(111, 36) Source(170, 33) + SourceIndex(0) +10>Emitted(111, 37) Source(170, 33) + SourceIndex(0) +11>Emitted(111, 38) Source(170, 34) + SourceIndex(0) +12>Emitted(111, 39) Source(170, 35) + SourceIndex(0) +13>Emitted(111, 40) Source(170, 36) + SourceIndex(0) --- >>>var c12t8 = function (n) { return n; }; 1-> @@ -2714,19 +2715,19 @@ sourceFile:contextualTyping.ts 11> 12> } 13> ; -1->Emitted(111, 1) Source(172, 1) + SourceIndex(0) -2 >Emitted(111, 5) Source(172, 5) + SourceIndex(0) -3 >Emitted(111, 10) Source(172, 10) + SourceIndex(0) -4 >Emitted(111, 13) Source(172, 48) + SourceIndex(0) -5 >Emitted(111, 23) Source(172, 57) + SourceIndex(0) -6 >Emitted(111, 24) Source(172, 58) + SourceIndex(0) -7 >Emitted(111, 28) Source(172, 62) + SourceIndex(0) -8 >Emitted(111, 35) Source(172, 69) + SourceIndex(0) -9 >Emitted(111, 36) Source(172, 70) + SourceIndex(0) -10>Emitted(111, 37) Source(172, 71) + SourceIndex(0) -11>Emitted(111, 38) Source(172, 72) + SourceIndex(0) -12>Emitted(111, 39) Source(172, 73) + SourceIndex(0) -13>Emitted(111, 40) Source(172, 74) + SourceIndex(0) +1->Emitted(112, 1) Source(172, 1) + SourceIndex(0) +2 >Emitted(112, 5) Source(172, 5) + SourceIndex(0) +3 >Emitted(112, 10) Source(172, 10) + SourceIndex(0) +4 >Emitted(112, 13) Source(172, 48) + SourceIndex(0) +5 >Emitted(112, 23) Source(172, 57) + SourceIndex(0) +6 >Emitted(112, 24) Source(172, 58) + SourceIndex(0) +7 >Emitted(112, 28) Source(172, 62) + SourceIndex(0) +8 >Emitted(112, 35) Source(172, 69) + SourceIndex(0) +9 >Emitted(112, 36) Source(172, 70) + SourceIndex(0) +10>Emitted(112, 37) Source(172, 71) + SourceIndex(0) +11>Emitted(112, 38) Source(172, 72) + SourceIndex(0) +12>Emitted(112, 39) Source(172, 73) + SourceIndex(0) +13>Emitted(112, 40) Source(172, 74) + SourceIndex(0) --- >>>var c12t9 = [[], []]; 1 > @@ -2751,16 +2752,16 @@ sourceFile:contextualTyping.ts 8 > [] 9 > ] 10> ; -1 >Emitted(112, 1) Source(173, 1) + SourceIndex(0) -2 >Emitted(112, 5) Source(173, 5) + SourceIndex(0) -3 >Emitted(112, 10) Source(173, 10) + SourceIndex(0) -4 >Emitted(112, 13) Source(173, 26) + SourceIndex(0) -5 >Emitted(112, 14) Source(173, 27) + SourceIndex(0) -6 >Emitted(112, 16) Source(173, 29) + SourceIndex(0) -7 >Emitted(112, 18) Source(173, 30) + SourceIndex(0) -8 >Emitted(112, 20) Source(173, 32) + SourceIndex(0) -9 >Emitted(112, 21) Source(173, 33) + SourceIndex(0) -10>Emitted(112, 22) Source(173, 34) + SourceIndex(0) +1 >Emitted(113, 1) Source(173, 1) + SourceIndex(0) +2 >Emitted(113, 5) Source(173, 5) + SourceIndex(0) +3 >Emitted(113, 10) Source(173, 10) + SourceIndex(0) +4 >Emitted(113, 13) Source(173, 26) + SourceIndex(0) +5 >Emitted(113, 14) Source(173, 27) + SourceIndex(0) +6 >Emitted(113, 16) Source(173, 29) + SourceIndex(0) +7 >Emitted(113, 18) Source(173, 30) + SourceIndex(0) +8 >Emitted(113, 20) Source(173, 32) + SourceIndex(0) +9 >Emitted(113, 21) Source(173, 33) + SourceIndex(0) +10>Emitted(113, 22) Source(173, 34) + SourceIndex(0) --- >>>var c12t10 = [({}), ({})]; 1-> @@ -2793,20 +2794,20 @@ sourceFile:contextualTyping.ts 12> ) 13> ] 14> ; -1->Emitted(113, 1) Source(174, 1) + SourceIndex(0) -2 >Emitted(113, 5) Source(174, 5) + SourceIndex(0) -3 >Emitted(113, 11) Source(174, 11) + SourceIndex(0) -4 >Emitted(113, 14) Source(174, 23) + SourceIndex(0) -5 >Emitted(113, 15) Source(174, 30) + SourceIndex(0) -6 >Emitted(113, 16) Source(174, 31) + SourceIndex(0) -7 >Emitted(113, 18) Source(174, 33) + SourceIndex(0) -8 >Emitted(113, 19) Source(174, 34) + SourceIndex(0) -9 >Emitted(113, 21) Source(174, 41) + SourceIndex(0) -10>Emitted(113, 22) Source(174, 42) + SourceIndex(0) -11>Emitted(113, 24) Source(174, 44) + SourceIndex(0) -12>Emitted(113, 25) Source(174, 45) + SourceIndex(0) -13>Emitted(113, 26) Source(174, 46) + SourceIndex(0) -14>Emitted(113, 27) Source(174, 47) + SourceIndex(0) +1->Emitted(114, 1) Source(174, 1) + SourceIndex(0) +2 >Emitted(114, 5) Source(174, 5) + SourceIndex(0) +3 >Emitted(114, 11) Source(174, 11) + SourceIndex(0) +4 >Emitted(114, 14) Source(174, 23) + SourceIndex(0) +5 >Emitted(114, 15) Source(174, 30) + SourceIndex(0) +6 >Emitted(114, 16) Source(174, 31) + SourceIndex(0) +7 >Emitted(114, 18) Source(174, 33) + SourceIndex(0) +8 >Emitted(114, 19) Source(174, 34) + SourceIndex(0) +9 >Emitted(114, 21) Source(174, 41) + SourceIndex(0) +10>Emitted(114, 22) Source(174, 42) + SourceIndex(0) +11>Emitted(114, 24) Source(174, 44) + SourceIndex(0) +12>Emitted(114, 25) Source(174, 45) + SourceIndex(0) +13>Emitted(114, 26) Source(174, 46) + SourceIndex(0) +14>Emitted(114, 27) Source(174, 47) + SourceIndex(0) --- >>>var c12t11 = [function (n, s) { return s; }]; 1-> @@ -2844,23 +2845,23 @@ sourceFile:contextualTyping.ts 15> } 16> ] 17> ; -1->Emitted(114, 1) Source(175, 1) + SourceIndex(0) -2 >Emitted(114, 5) Source(175, 5) + SourceIndex(0) -3 >Emitted(114, 11) Source(175, 11) + SourceIndex(0) -4 >Emitted(114, 14) Source(175, 52) + SourceIndex(0) -5 >Emitted(114, 15) Source(175, 53) + SourceIndex(0) -6 >Emitted(114, 25) Source(175, 62) + SourceIndex(0) -7 >Emitted(114, 26) Source(175, 63) + SourceIndex(0) -8 >Emitted(114, 28) Source(175, 65) + SourceIndex(0) -9 >Emitted(114, 29) Source(175, 66) + SourceIndex(0) -10>Emitted(114, 33) Source(175, 70) + SourceIndex(0) -11>Emitted(114, 40) Source(175, 77) + SourceIndex(0) -12>Emitted(114, 41) Source(175, 78) + SourceIndex(0) -13>Emitted(114, 42) Source(175, 79) + SourceIndex(0) -14>Emitted(114, 43) Source(175, 80) + SourceIndex(0) -15>Emitted(114, 44) Source(175, 81) + SourceIndex(0) -16>Emitted(114, 45) Source(175, 82) + SourceIndex(0) -17>Emitted(114, 46) Source(175, 83) + SourceIndex(0) +1->Emitted(115, 1) Source(175, 1) + SourceIndex(0) +2 >Emitted(115, 5) Source(175, 5) + SourceIndex(0) +3 >Emitted(115, 11) Source(175, 11) + SourceIndex(0) +4 >Emitted(115, 14) Source(175, 52) + SourceIndex(0) +5 >Emitted(115, 15) Source(175, 53) + SourceIndex(0) +6 >Emitted(115, 25) Source(175, 62) + SourceIndex(0) +7 >Emitted(115, 26) Source(175, 63) + SourceIndex(0) +8 >Emitted(115, 28) Source(175, 65) + SourceIndex(0) +9 >Emitted(115, 29) Source(175, 66) + SourceIndex(0) +10>Emitted(115, 33) Source(175, 70) + SourceIndex(0) +11>Emitted(115, 40) Source(175, 77) + SourceIndex(0) +12>Emitted(115, 41) Source(175, 78) + SourceIndex(0) +13>Emitted(115, 42) Source(175, 79) + SourceIndex(0) +14>Emitted(115, 43) Source(175, 80) + SourceIndex(0) +15>Emitted(115, 44) Source(175, 81) + SourceIndex(0) +16>Emitted(115, 45) Source(175, 82) + SourceIndex(0) +17>Emitted(115, 46) Source(175, 83) + SourceIndex(0) --- >>>var c12t12 = { 1 > @@ -2873,10 +2874,10 @@ sourceFile:contextualTyping.ts 2 >var 3 > c12t12 4 > = -1 >Emitted(115, 1) Source(176, 1) + SourceIndex(0) -2 >Emitted(115, 5) Source(176, 5) + SourceIndex(0) -3 >Emitted(115, 11) Source(176, 11) + SourceIndex(0) -4 >Emitted(115, 14) Source(176, 21) + SourceIndex(0) +1 >Emitted(116, 1) Source(176, 1) + SourceIndex(0) +2 >Emitted(116, 5) Source(176, 5) + SourceIndex(0) +3 >Emitted(116, 11) Source(176, 11) + SourceIndex(0) +4 >Emitted(116, 14) Source(176, 21) + SourceIndex(0) --- >>> foo: ({}) 1->^^^^ @@ -2892,12 +2893,12 @@ sourceFile:contextualTyping.ts 4 > ( 5 > {} 6 > ) -1->Emitted(116, 5) Source(177, 5) + SourceIndex(0) -2 >Emitted(116, 8) Source(177, 8) + SourceIndex(0) -3 >Emitted(116, 10) Source(177, 16) + SourceIndex(0) -4 >Emitted(116, 11) Source(177, 17) + SourceIndex(0) -5 >Emitted(116, 13) Source(177, 19) + SourceIndex(0) -6 >Emitted(116, 14) Source(177, 20) + SourceIndex(0) +1->Emitted(117, 5) Source(177, 5) + SourceIndex(0) +2 >Emitted(117, 8) Source(177, 8) + SourceIndex(0) +3 >Emitted(117, 10) Source(177, 16) + SourceIndex(0) +4 >Emitted(117, 11) Source(177, 17) + SourceIndex(0) +5 >Emitted(117, 13) Source(177, 19) + SourceIndex(0) +6 >Emitted(117, 14) Source(177, 20) + SourceIndex(0) --- >>>}; 1 >^ @@ -2906,8 +2907,8 @@ sourceFile:contextualTyping.ts 1 > >} 2 > -1 >Emitted(117, 2) Source(178, 2) + SourceIndex(0) -2 >Emitted(117, 3) Source(178, 2) + SourceIndex(0) +1 >Emitted(118, 2) Source(178, 2) + SourceIndex(0) +2 >Emitted(118, 3) Source(178, 2) + SourceIndex(0) --- >>>var c12t13 = ({ 1-> @@ -2922,11 +2923,11 @@ sourceFile:contextualTyping.ts 3 > c12t13 4 > = 5 > ( -1->Emitted(118, 1) Source(179, 1) + SourceIndex(0) -2 >Emitted(118, 5) Source(179, 5) + SourceIndex(0) -3 >Emitted(118, 11) Source(179, 11) + SourceIndex(0) -4 >Emitted(118, 14) Source(179, 21) + SourceIndex(0) -5 >Emitted(118, 15) Source(179, 22) + SourceIndex(0) +1->Emitted(119, 1) Source(179, 1) + SourceIndex(0) +2 >Emitted(119, 5) Source(179, 5) + SourceIndex(0) +3 >Emitted(119, 11) Source(179, 11) + SourceIndex(0) +4 >Emitted(119, 14) Source(179, 21) + SourceIndex(0) +5 >Emitted(119, 15) Source(179, 22) + SourceIndex(0) --- >>> f: function (i, s) { return s; } 1->^^^^ @@ -2956,19 +2957,19 @@ sourceFile:contextualTyping.ts 11> ; 12> 13> } -1->Emitted(119, 5) Source(180, 5) + SourceIndex(0) -2 >Emitted(119, 6) Source(180, 6) + SourceIndex(0) -3 >Emitted(119, 8) Source(180, 8) + SourceIndex(0) -4 >Emitted(119, 18) Source(180, 17) + SourceIndex(0) -5 >Emitted(119, 19) Source(180, 18) + SourceIndex(0) -6 >Emitted(119, 21) Source(180, 20) + SourceIndex(0) -7 >Emitted(119, 22) Source(180, 21) + SourceIndex(0) -8 >Emitted(119, 26) Source(180, 25) + SourceIndex(0) -9 >Emitted(119, 33) Source(180, 32) + SourceIndex(0) -10>Emitted(119, 34) Source(180, 33) + SourceIndex(0) -11>Emitted(119, 35) Source(180, 34) + SourceIndex(0) -12>Emitted(119, 36) Source(180, 35) + SourceIndex(0) -13>Emitted(119, 37) Source(180, 36) + SourceIndex(0) +1->Emitted(120, 5) Source(180, 5) + SourceIndex(0) +2 >Emitted(120, 6) Source(180, 6) + SourceIndex(0) +3 >Emitted(120, 8) Source(180, 8) + SourceIndex(0) +4 >Emitted(120, 18) Source(180, 17) + SourceIndex(0) +5 >Emitted(120, 19) Source(180, 18) + SourceIndex(0) +6 >Emitted(120, 21) Source(180, 20) + SourceIndex(0) +7 >Emitted(120, 22) Source(180, 21) + SourceIndex(0) +8 >Emitted(120, 26) Source(180, 25) + SourceIndex(0) +9 >Emitted(120, 33) Source(180, 32) + SourceIndex(0) +10>Emitted(120, 34) Source(180, 33) + SourceIndex(0) +11>Emitted(120, 35) Source(180, 34) + SourceIndex(0) +12>Emitted(120, 36) Source(180, 35) + SourceIndex(0) +13>Emitted(120, 37) Source(180, 36) + SourceIndex(0) --- >>>}); 1 >^ @@ -2979,9 +2980,9 @@ sourceFile:contextualTyping.ts >} 2 > ) 3 > -1 >Emitted(120, 2) Source(181, 2) + SourceIndex(0) -2 >Emitted(120, 3) Source(181, 3) + SourceIndex(0) -3 >Emitted(120, 4) Source(181, 3) + SourceIndex(0) +1 >Emitted(121, 2) Source(181, 2) + SourceIndex(0) +2 >Emitted(121, 3) Source(181, 3) + SourceIndex(0) +3 >Emitted(121, 4) Source(181, 3) + SourceIndex(0) --- >>>var c12t14 = ({ 1-> @@ -2995,11 +2996,11 @@ sourceFile:contextualTyping.ts 3 > c12t14 4 > = 5 > ( -1->Emitted(121, 1) Source(182, 1) + SourceIndex(0) -2 >Emitted(121, 5) Source(182, 5) + SourceIndex(0) -3 >Emitted(121, 11) Source(182, 11) + SourceIndex(0) -4 >Emitted(121, 14) Source(182, 21) + SourceIndex(0) -5 >Emitted(121, 15) Source(182, 22) + SourceIndex(0) +1->Emitted(122, 1) Source(182, 1) + SourceIndex(0) +2 >Emitted(122, 5) Source(182, 5) + SourceIndex(0) +3 >Emitted(122, 11) Source(182, 11) + SourceIndex(0) +4 >Emitted(122, 14) Source(182, 21) + SourceIndex(0) +5 >Emitted(122, 15) Source(182, 22) + SourceIndex(0) --- >>> a: [] 1 >^^^^ @@ -3011,10 +3012,10 @@ sourceFile:contextualTyping.ts 2 > a 3 > : 4 > [] -1 >Emitted(122, 5) Source(183, 5) + SourceIndex(0) -2 >Emitted(122, 6) Source(183, 6) + SourceIndex(0) -3 >Emitted(122, 8) Source(183, 8) + SourceIndex(0) -4 >Emitted(122, 10) Source(183, 10) + SourceIndex(0) +1 >Emitted(123, 5) Source(183, 5) + SourceIndex(0) +2 >Emitted(123, 6) Source(183, 6) + SourceIndex(0) +3 >Emitted(123, 8) Source(183, 8) + SourceIndex(0) +4 >Emitted(123, 10) Source(183, 10) + SourceIndex(0) --- >>>}); 1 >^ @@ -3025,9 +3026,9 @@ sourceFile:contextualTyping.ts >} 2 > ) 3 > -1 >Emitted(123, 2) Source(184, 2) + SourceIndex(0) -2 >Emitted(123, 3) Source(184, 3) + SourceIndex(0) -3 >Emitted(123, 4) Source(184, 3) + SourceIndex(0) +1 >Emitted(124, 2) Source(184, 2) + SourceIndex(0) +2 >Emitted(124, 3) Source(184, 3) + SourceIndex(0) +3 >Emitted(124, 4) Source(184, 3) + SourceIndex(0) --- >>>function EF1(a, b) { return a + b; } 1-> @@ -3067,21 +3068,21 @@ sourceFile:contextualTyping.ts 13> ; 14> 15> } -1->Emitted(124, 1) Source(191, 1) + SourceIndex(0) -2 >Emitted(124, 10) Source(191, 10) + SourceIndex(0) -3 >Emitted(124, 13) Source(191, 13) + SourceIndex(0) -4 >Emitted(124, 14) Source(191, 14) + SourceIndex(0) -5 >Emitted(124, 15) Source(191, 15) + SourceIndex(0) -6 >Emitted(124, 17) Source(191, 16) + SourceIndex(0) -7 >Emitted(124, 18) Source(191, 17) + SourceIndex(0) -8 >Emitted(124, 22) Source(191, 21) + SourceIndex(0) -9 >Emitted(124, 29) Source(191, 28) + SourceIndex(0) -10>Emitted(124, 30) Source(191, 29) + SourceIndex(0) -11>Emitted(124, 33) Source(191, 30) + SourceIndex(0) -12>Emitted(124, 34) Source(191, 31) + SourceIndex(0) -13>Emitted(124, 35) Source(191, 32) + SourceIndex(0) -14>Emitted(124, 36) Source(191, 33) + SourceIndex(0) -15>Emitted(124, 37) Source(191, 34) + SourceIndex(0) +1->Emitted(125, 1) Source(191, 1) + SourceIndex(0) +2 >Emitted(125, 10) Source(191, 10) + SourceIndex(0) +3 >Emitted(125, 13) Source(191, 13) + SourceIndex(0) +4 >Emitted(125, 14) Source(191, 14) + SourceIndex(0) +5 >Emitted(125, 15) Source(191, 15) + SourceIndex(0) +6 >Emitted(125, 17) Source(191, 16) + SourceIndex(0) +7 >Emitted(125, 18) Source(191, 17) + SourceIndex(0) +8 >Emitted(125, 22) Source(191, 21) + SourceIndex(0) +9 >Emitted(125, 29) Source(191, 28) + SourceIndex(0) +10>Emitted(125, 30) Source(191, 29) + SourceIndex(0) +11>Emitted(125, 33) Source(191, 30) + SourceIndex(0) +12>Emitted(125, 34) Source(191, 31) + SourceIndex(0) +13>Emitted(125, 35) Source(191, 32) + SourceIndex(0) +14>Emitted(125, 36) Source(191, 33) + SourceIndex(0) +15>Emitted(125, 37) Source(191, 34) + SourceIndex(0) --- >>>var efv = EF1(1, 2); 1 > @@ -3109,17 +3110,17 @@ sourceFile:contextualTyping.ts 9 > 2 10> ) 11> ; -1 >Emitted(125, 1) Source(193, 1) + SourceIndex(0) -2 >Emitted(125, 5) Source(193, 5) + SourceIndex(0) -3 >Emitted(125, 8) Source(193, 8) + SourceIndex(0) -4 >Emitted(125, 11) Source(193, 11) + SourceIndex(0) -5 >Emitted(125, 14) Source(193, 14) + SourceIndex(0) -6 >Emitted(125, 15) Source(193, 15) + SourceIndex(0) -7 >Emitted(125, 16) Source(193, 16) + SourceIndex(0) -8 >Emitted(125, 18) Source(193, 17) + SourceIndex(0) -9 >Emitted(125, 19) Source(193, 18) + SourceIndex(0) -10>Emitted(125, 20) Source(193, 19) + SourceIndex(0) -11>Emitted(125, 21) Source(193, 20) + SourceIndex(0) +1 >Emitted(126, 1) Source(193, 1) + SourceIndex(0) +2 >Emitted(126, 5) Source(193, 5) + SourceIndex(0) +3 >Emitted(126, 8) Source(193, 8) + SourceIndex(0) +4 >Emitted(126, 11) Source(193, 11) + SourceIndex(0) +5 >Emitted(126, 14) Source(193, 14) + SourceIndex(0) +6 >Emitted(126, 15) Source(193, 15) + SourceIndex(0) +7 >Emitted(126, 16) Source(193, 16) + SourceIndex(0) +8 >Emitted(126, 18) Source(193, 17) + SourceIndex(0) +9 >Emitted(126, 19) Source(193, 18) + SourceIndex(0) +10>Emitted(126, 20) Source(193, 19) + SourceIndex(0) +11>Emitted(126, 21) Source(193, 20) + SourceIndex(0) --- >>>Point.origin = new Point(0, 0); 1-> @@ -3163,19 +3164,19 @@ sourceFile:contextualTyping.ts 11> 0 12> ) 13> ; -1->Emitted(126, 1) Source(207, 1) + SourceIndex(0) -2 >Emitted(126, 6) Source(207, 6) + SourceIndex(0) -3 >Emitted(126, 7) Source(207, 7) + SourceIndex(0) -4 >Emitted(126, 13) Source(207, 13) + SourceIndex(0) -5 >Emitted(126, 16) Source(207, 16) + SourceIndex(0) -6 >Emitted(126, 20) Source(207, 20) + SourceIndex(0) -7 >Emitted(126, 25) Source(207, 25) + SourceIndex(0) -8 >Emitted(126, 26) Source(207, 26) + SourceIndex(0) -9 >Emitted(126, 27) Source(207, 27) + SourceIndex(0) -10>Emitted(126, 29) Source(207, 29) + SourceIndex(0) -11>Emitted(126, 30) Source(207, 30) + SourceIndex(0) -12>Emitted(126, 31) Source(207, 31) + SourceIndex(0) -13>Emitted(126, 32) Source(207, 32) + SourceIndex(0) +1->Emitted(127, 1) Source(207, 1) + SourceIndex(0) +2 >Emitted(127, 6) Source(207, 6) + SourceIndex(0) +3 >Emitted(127, 7) Source(207, 7) + SourceIndex(0) +4 >Emitted(127, 13) Source(207, 13) + SourceIndex(0) +5 >Emitted(127, 16) Source(207, 16) + SourceIndex(0) +6 >Emitted(127, 20) Source(207, 20) + SourceIndex(0) +7 >Emitted(127, 25) Source(207, 25) + SourceIndex(0) +8 >Emitted(127, 26) Source(207, 26) + SourceIndex(0) +9 >Emitted(127, 27) Source(207, 27) + SourceIndex(0) +10>Emitted(127, 29) Source(207, 29) + SourceIndex(0) +11>Emitted(127, 30) Source(207, 30) + SourceIndex(0) +12>Emitted(127, 31) Source(207, 31) + SourceIndex(0) +13>Emitted(127, 32) Source(207, 32) + SourceIndex(0) --- >>>Point.prototype.add = function (dx, dy) { 1-> @@ -3203,17 +3204,17 @@ sourceFile:contextualTyping.ts 9 > dx 10> , 11> dy -1->Emitted(127, 1) Source(209, 1) + SourceIndex(0) -2 >Emitted(127, 6) Source(209, 6) + SourceIndex(0) -3 >Emitted(127, 7) Source(209, 7) + SourceIndex(0) -4 >Emitted(127, 16) Source(209, 16) + SourceIndex(0) -5 >Emitted(127, 17) Source(209, 17) + SourceIndex(0) -6 >Emitted(127, 20) Source(209, 20) + SourceIndex(0) -7 >Emitted(127, 23) Source(209, 23) + SourceIndex(0) -8 >Emitted(127, 33) Source(209, 32) + SourceIndex(0) -9 >Emitted(127, 35) Source(209, 34) + SourceIndex(0) -10>Emitted(127, 37) Source(209, 36) + SourceIndex(0) -11>Emitted(127, 39) Source(209, 38) + SourceIndex(0) +1->Emitted(128, 1) Source(209, 1) + SourceIndex(0) +2 >Emitted(128, 6) Source(209, 6) + SourceIndex(0) +3 >Emitted(128, 7) Source(209, 7) + SourceIndex(0) +4 >Emitted(128, 16) Source(209, 16) + SourceIndex(0) +5 >Emitted(128, 17) Source(209, 17) + SourceIndex(0) +6 >Emitted(128, 20) Source(209, 20) + SourceIndex(0) +7 >Emitted(128, 23) Source(209, 23) + SourceIndex(0) +8 >Emitted(128, 33) Source(209, 32) + SourceIndex(0) +9 >Emitted(128, 35) Source(209, 34) + SourceIndex(0) +10>Emitted(128, 37) Source(209, 36) + SourceIndex(0) +11>Emitted(128, 39) Source(209, 38) + SourceIndex(0) --- >>> return new Point(this.x + dx, this.y + dy); 1->^^^^ @@ -3253,24 +3254,24 @@ sourceFile:contextualTyping.ts 16> dy 17> ) 18> ; -1->Emitted(128, 5) Source(210, 5) + SourceIndex(0) -2 >Emitted(128, 12) Source(210, 12) + SourceIndex(0) -3 >Emitted(128, 16) Source(210, 16) + SourceIndex(0) -4 >Emitted(128, 21) Source(210, 21) + SourceIndex(0) -5 >Emitted(128, 22) Source(210, 22) + SourceIndex(0) -6 >Emitted(128, 26) Source(210, 26) + SourceIndex(0) -7 >Emitted(128, 27) Source(210, 27) + SourceIndex(0) -8 >Emitted(128, 28) Source(210, 28) + SourceIndex(0) -9 >Emitted(128, 31) Source(210, 31) + SourceIndex(0) -10>Emitted(128, 33) Source(210, 33) + SourceIndex(0) -11>Emitted(128, 35) Source(210, 35) + SourceIndex(0) -12>Emitted(128, 39) Source(210, 39) + SourceIndex(0) -13>Emitted(128, 40) Source(210, 40) + SourceIndex(0) -14>Emitted(128, 41) Source(210, 41) + SourceIndex(0) -15>Emitted(128, 44) Source(210, 44) + SourceIndex(0) -16>Emitted(128, 46) Source(210, 46) + SourceIndex(0) -17>Emitted(128, 47) Source(210, 47) + SourceIndex(0) -18>Emitted(128, 48) Source(210, 48) + SourceIndex(0) +1->Emitted(129, 5) Source(210, 5) + SourceIndex(0) +2 >Emitted(129, 12) Source(210, 12) + SourceIndex(0) +3 >Emitted(129, 16) Source(210, 16) + SourceIndex(0) +4 >Emitted(129, 21) Source(210, 21) + SourceIndex(0) +5 >Emitted(129, 22) Source(210, 22) + SourceIndex(0) +6 >Emitted(129, 26) Source(210, 26) + SourceIndex(0) +7 >Emitted(129, 27) Source(210, 27) + SourceIndex(0) +8 >Emitted(129, 28) Source(210, 28) + SourceIndex(0) +9 >Emitted(129, 31) Source(210, 31) + SourceIndex(0) +10>Emitted(129, 33) Source(210, 33) + SourceIndex(0) +11>Emitted(129, 35) Source(210, 35) + SourceIndex(0) +12>Emitted(129, 39) Source(210, 39) + SourceIndex(0) +13>Emitted(129, 40) Source(210, 40) + SourceIndex(0) +14>Emitted(129, 41) Source(210, 41) + SourceIndex(0) +15>Emitted(129, 44) Source(210, 44) + SourceIndex(0) +16>Emitted(129, 46) Source(210, 46) + SourceIndex(0) +17>Emitted(129, 47) Source(210, 47) + SourceIndex(0) +18>Emitted(129, 48) Source(210, 48) + SourceIndex(0) --- >>>}; 1 > @@ -3281,9 +3282,9 @@ sourceFile:contextualTyping.ts > 2 >} 3 > ; -1 >Emitted(129, 1) Source(211, 1) + SourceIndex(0) -2 >Emitted(129, 2) Source(211, 2) + SourceIndex(0) -3 >Emitted(129, 3) Source(211, 3) + SourceIndex(0) +1 >Emitted(130, 1) Source(211, 1) + SourceIndex(0) +2 >Emitted(130, 2) Source(211, 2) + SourceIndex(0) +3 >Emitted(130, 3) Source(211, 3) + SourceIndex(0) --- >>>Point.prototype = { 1-> @@ -3298,11 +3299,11 @@ sourceFile:contextualTyping.ts 3 > . 4 > prototype 5 > = -1->Emitted(130, 1) Source(213, 1) + SourceIndex(0) -2 >Emitted(130, 6) Source(213, 6) + SourceIndex(0) -3 >Emitted(130, 7) Source(213, 7) + SourceIndex(0) -4 >Emitted(130, 16) Source(213, 16) + SourceIndex(0) -5 >Emitted(130, 19) Source(213, 19) + SourceIndex(0) +1->Emitted(131, 1) Source(213, 1) + SourceIndex(0) +2 >Emitted(131, 6) Source(213, 6) + SourceIndex(0) +3 >Emitted(131, 7) Source(213, 7) + SourceIndex(0) +4 >Emitted(131, 16) Source(213, 16) + SourceIndex(0) +5 >Emitted(131, 19) Source(213, 19) + SourceIndex(0) --- >>> x: 0, 1 >^^^^ @@ -3315,10 +3316,10 @@ sourceFile:contextualTyping.ts 2 > x 3 > : 4 > 0 -1 >Emitted(131, 5) Source(214, 5) + SourceIndex(0) -2 >Emitted(131, 6) Source(214, 6) + SourceIndex(0) -3 >Emitted(131, 8) Source(214, 8) + SourceIndex(0) -4 >Emitted(131, 9) Source(214, 9) + SourceIndex(0) +1 >Emitted(132, 5) Source(214, 5) + SourceIndex(0) +2 >Emitted(132, 6) Source(214, 6) + SourceIndex(0) +3 >Emitted(132, 8) Source(214, 8) + SourceIndex(0) +4 >Emitted(132, 9) Source(214, 9) + SourceIndex(0) --- >>> y: 0, 1->^^^^ @@ -3331,10 +3332,10 @@ sourceFile:contextualTyping.ts 2 > y 3 > : 4 > 0 -1->Emitted(132, 5) Source(215, 5) + SourceIndex(0) -2 >Emitted(132, 6) Source(215, 6) + SourceIndex(0) -3 >Emitted(132, 8) Source(215, 8) + SourceIndex(0) -4 >Emitted(132, 9) Source(215, 9) + SourceIndex(0) +1->Emitted(133, 5) Source(215, 5) + SourceIndex(0) +2 >Emitted(133, 6) Source(215, 6) + SourceIndex(0) +3 >Emitted(133, 8) Source(215, 8) + SourceIndex(0) +4 >Emitted(133, 9) Source(215, 9) + SourceIndex(0) --- >>> add: function (dx, dy) { 1->^^^^ @@ -3353,13 +3354,13 @@ sourceFile:contextualTyping.ts 5 > dx 6 > , 7 > dy -1->Emitted(133, 5) Source(216, 5) + SourceIndex(0) -2 >Emitted(133, 8) Source(216, 8) + SourceIndex(0) -3 >Emitted(133, 10) Source(216, 10) + SourceIndex(0) -4 >Emitted(133, 20) Source(216, 19) + SourceIndex(0) -5 >Emitted(133, 22) Source(216, 21) + SourceIndex(0) -6 >Emitted(133, 24) Source(216, 23) + SourceIndex(0) -7 >Emitted(133, 26) Source(216, 25) + SourceIndex(0) +1->Emitted(134, 5) Source(216, 5) + SourceIndex(0) +2 >Emitted(134, 8) Source(216, 8) + SourceIndex(0) +3 >Emitted(134, 10) Source(216, 10) + SourceIndex(0) +4 >Emitted(134, 20) Source(216, 19) + SourceIndex(0) +5 >Emitted(134, 22) Source(216, 21) + SourceIndex(0) +6 >Emitted(134, 24) Source(216, 23) + SourceIndex(0) +7 >Emitted(134, 26) Source(216, 25) + SourceIndex(0) --- >>> return new Point(this.x + dx, this.y + dy); 1->^^^^^^^^ @@ -3399,24 +3400,24 @@ sourceFile:contextualTyping.ts 16> dy 17> ) 18> ; -1->Emitted(134, 9) Source(217, 9) + SourceIndex(0) -2 >Emitted(134, 16) Source(217, 16) + SourceIndex(0) -3 >Emitted(134, 20) Source(217, 20) + SourceIndex(0) -4 >Emitted(134, 25) Source(217, 25) + SourceIndex(0) -5 >Emitted(134, 26) Source(217, 26) + SourceIndex(0) -6 >Emitted(134, 30) Source(217, 30) + SourceIndex(0) -7 >Emitted(134, 31) Source(217, 31) + SourceIndex(0) -8 >Emitted(134, 32) Source(217, 32) + SourceIndex(0) -9 >Emitted(134, 35) Source(217, 35) + SourceIndex(0) -10>Emitted(134, 37) Source(217, 37) + SourceIndex(0) -11>Emitted(134, 39) Source(217, 39) + SourceIndex(0) -12>Emitted(134, 43) Source(217, 43) + SourceIndex(0) -13>Emitted(134, 44) Source(217, 44) + SourceIndex(0) -14>Emitted(134, 45) Source(217, 45) + SourceIndex(0) -15>Emitted(134, 48) Source(217, 48) + SourceIndex(0) -16>Emitted(134, 50) Source(217, 50) + SourceIndex(0) -17>Emitted(134, 51) Source(217, 51) + SourceIndex(0) -18>Emitted(134, 52) Source(217, 52) + SourceIndex(0) +1->Emitted(135, 9) Source(217, 9) + SourceIndex(0) +2 >Emitted(135, 16) Source(217, 16) + SourceIndex(0) +3 >Emitted(135, 20) Source(217, 20) + SourceIndex(0) +4 >Emitted(135, 25) Source(217, 25) + SourceIndex(0) +5 >Emitted(135, 26) Source(217, 26) + SourceIndex(0) +6 >Emitted(135, 30) Source(217, 30) + SourceIndex(0) +7 >Emitted(135, 31) Source(217, 31) + SourceIndex(0) +8 >Emitted(135, 32) Source(217, 32) + SourceIndex(0) +9 >Emitted(135, 35) Source(217, 35) + SourceIndex(0) +10>Emitted(135, 37) Source(217, 37) + SourceIndex(0) +11>Emitted(135, 39) Source(217, 39) + SourceIndex(0) +12>Emitted(135, 43) Source(217, 43) + SourceIndex(0) +13>Emitted(135, 44) Source(217, 44) + SourceIndex(0) +14>Emitted(135, 45) Source(217, 45) + SourceIndex(0) +15>Emitted(135, 48) Source(217, 48) + SourceIndex(0) +16>Emitted(135, 50) Source(217, 50) + SourceIndex(0) +17>Emitted(135, 51) Source(217, 51) + SourceIndex(0) +18>Emitted(135, 52) Source(217, 52) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -3424,8 +3425,8 @@ sourceFile:contextualTyping.ts 1 > > 2 > } -1 >Emitted(135, 5) Source(218, 5) + SourceIndex(0) -2 >Emitted(135, 6) Source(218, 6) + SourceIndex(0) +1 >Emitted(136, 5) Source(218, 5) + SourceIndex(0) +2 >Emitted(136, 6) Source(218, 6) + SourceIndex(0) --- >>>}; 1 >^ @@ -3434,8 +3435,8 @@ sourceFile:contextualTyping.ts 1 > >} 2 > ; -1 >Emitted(136, 2) Source(219, 2) + SourceIndex(0) -2 >Emitted(136, 3) Source(219, 3) + SourceIndex(0) +1 >Emitted(137, 2) Source(219, 2) + SourceIndex(0) +2 >Emitted(137, 3) Source(219, 3) + SourceIndex(0) --- >>>var x = {}; 1-> @@ -3455,11 +3456,11 @@ sourceFile:contextualTyping.ts 4 > : B = 5 > { } 6 > ; -1->Emitted(137, 1) Source(223, 1) + SourceIndex(0) -2 >Emitted(137, 5) Source(223, 5) + SourceIndex(0) -3 >Emitted(137, 6) Source(223, 6) + SourceIndex(0) -4 >Emitted(137, 9) Source(223, 12) + SourceIndex(0) -5 >Emitted(137, 11) Source(223, 15) + SourceIndex(0) -6 >Emitted(137, 12) Source(223, 16) + SourceIndex(0) +1->Emitted(138, 1) Source(223, 1) + SourceIndex(0) +2 >Emitted(138, 5) Source(223, 5) + SourceIndex(0) +3 >Emitted(138, 6) Source(223, 6) + SourceIndex(0) +4 >Emitted(138, 9) Source(223, 12) + SourceIndex(0) +5 >Emitted(138, 11) Source(223, 15) + SourceIndex(0) +6 >Emitted(138, 12) Source(223, 16) + SourceIndex(0) --- >>>//# sourceMappingURL=contextualTyping.js.map \ No newline at end of file diff --git a/tests/baselines/reference/contextualTyping1.js b/tests/baselines/reference/contextualTyping1.js index 75d3d042a3a27..2edaff0533c5a 100644 --- a/tests/baselines/reference/contextualTyping1.js +++ b/tests/baselines/reference/contextualTyping1.js @@ -4,4 +4,5 @@ var foo: {id:number;} = {id:4}; //// [contextualTyping1.js] +"use strict"; var foo = { id: 4 }; diff --git a/tests/baselines/reference/contextualTyping10.js b/tests/baselines/reference/contextualTyping10.js index bb8a9ff9d5ce2..c117d046093fe 100644 --- a/tests/baselines/reference/contextualTyping10.js +++ b/tests/baselines/reference/contextualTyping10.js @@ -4,6 +4,7 @@ class foo { public bar:{id:number;}[] = [{id:1}, {id:2}]; } //// [contextualTyping10.js] +"use strict"; var foo = /** @class */ (function () { function foo() { this.bar = [{ id: 1 }, { id: 2 }]; diff --git a/tests/baselines/reference/contextualTyping11.js b/tests/baselines/reference/contextualTyping11.js index 74c54fe773038..d45e752cffb43 100644 --- a/tests/baselines/reference/contextualTyping11.js +++ b/tests/baselines/reference/contextualTyping11.js @@ -4,6 +4,7 @@ class foo { public bar:{id:number;}[] = [({})]; } //// [contextualTyping11.js] +"use strict"; var foo = /** @class */ (function () { function foo() { this.bar = [({})]; diff --git a/tests/baselines/reference/contextualTyping12.js b/tests/baselines/reference/contextualTyping12.js index 85246cb07d26b..f60960029957e 100644 --- a/tests/baselines/reference/contextualTyping12.js +++ b/tests/baselines/reference/contextualTyping12.js @@ -4,6 +4,7 @@ class foo { public bar:{id:number;}[] = [{id:1}, {id:2, name:"foo"}]; } //// [contextualTyping12.js] +"use strict"; var foo = /** @class */ (function () { function foo() { this.bar = [{ id: 1 }, { id: 2, name: "foo" }]; diff --git a/tests/baselines/reference/contextualTyping13.js b/tests/baselines/reference/contextualTyping13.js index f1768e528aafb..d8503582dd94c 100644 --- a/tests/baselines/reference/contextualTyping13.js +++ b/tests/baselines/reference/contextualTyping13.js @@ -4,4 +4,5 @@ var foo:(a:number)=>number = function(a){return a}; //// [contextualTyping13.js] +"use strict"; var foo = function (a) { return a; }; diff --git a/tests/baselines/reference/contextualTyping14.js b/tests/baselines/reference/contextualTyping14.js index e79ab106b5a84..2b53adb847ab8 100644 --- a/tests/baselines/reference/contextualTyping14.js +++ b/tests/baselines/reference/contextualTyping14.js @@ -4,6 +4,7 @@ class foo { public bar:(a:number)=>number = function(a){return a}; } //// [contextualTyping14.js] +"use strict"; var foo = /** @class */ (function () { function foo() { this.bar = function (a) { return a; }; diff --git a/tests/baselines/reference/contextualTyping15.js b/tests/baselines/reference/contextualTyping15.js index a8c199b35b526..e59dbe7340035 100644 --- a/tests/baselines/reference/contextualTyping15.js +++ b/tests/baselines/reference/contextualTyping15.js @@ -4,6 +4,7 @@ class foo { public bar: { (): number; (i: number): number; } = function() { return 1 }; } //// [contextualTyping15.js] +"use strict"; var foo = /** @class */ (function () { function foo() { this.bar = function () { return 1; }; diff --git a/tests/baselines/reference/contextualTyping16.js b/tests/baselines/reference/contextualTyping16.js index 691ff3c30e0e0..f3d0103d6d914 100644 --- a/tests/baselines/reference/contextualTyping16.js +++ b/tests/baselines/reference/contextualTyping16.js @@ -4,5 +4,6 @@ var foo: {id:number;} = {id:4}; foo = {id:5}; //// [contextualTyping16.js] +"use strict"; var foo = { id: 4 }; foo = { id: 5 }; diff --git a/tests/baselines/reference/contextualTyping17.js b/tests/baselines/reference/contextualTyping17.js index 202c2d3fd7f2d..f773b15d51d0d 100644 --- a/tests/baselines/reference/contextualTyping17.js +++ b/tests/baselines/reference/contextualTyping17.js @@ -4,5 +4,6 @@ var foo: {id:number;} = {id:4}; foo = {id: 5, name:"foo"}; //// [contextualTyping17.js] +"use strict"; var foo = { id: 4 }; foo = { id: 5, name: "foo" }; diff --git a/tests/baselines/reference/contextualTyping18.js b/tests/baselines/reference/contextualTyping18.js index 9a8c2725db0cf..8a101ee6ccb89 100644 --- a/tests/baselines/reference/contextualTyping18.js +++ b/tests/baselines/reference/contextualTyping18.js @@ -4,5 +4,6 @@ var foo: {id:number;} = <{id:number;}>({ }); foo = {id: 5}; //// [contextualTyping18.js] +"use strict"; var foo = ({}); foo = { id: 5 }; diff --git a/tests/baselines/reference/contextualTyping19.js b/tests/baselines/reference/contextualTyping19.js index 82c0b786829fe..97f3558113c5a 100644 --- a/tests/baselines/reference/contextualTyping19.js +++ b/tests/baselines/reference/contextualTyping19.js @@ -4,5 +4,6 @@ var foo:{id:number;}[] = [{id:1}]; foo = [{id:1}, {id:2}]; //// [contextualTyping19.js] +"use strict"; var foo = [{ id: 1 }]; foo = [{ id: 1 }, { id: 2 }]; diff --git a/tests/baselines/reference/contextualTyping2.js b/tests/baselines/reference/contextualTyping2.js index c6a0003c3ccb1..6c466c83d17d1 100644 --- a/tests/baselines/reference/contextualTyping2.js +++ b/tests/baselines/reference/contextualTyping2.js @@ -4,4 +4,5 @@ var foo: {id:number;} = {id:4, name:"foo"}; //// [contextualTyping2.js] +"use strict"; var foo = { id: 4, name: "foo" }; diff --git a/tests/baselines/reference/contextualTyping20.js b/tests/baselines/reference/contextualTyping20.js index 06ee1dd94eb2a..9a47060070981 100644 --- a/tests/baselines/reference/contextualTyping20.js +++ b/tests/baselines/reference/contextualTyping20.js @@ -4,5 +4,6 @@ var foo:{id:number;}[] = [{id:1}]; foo = [{id:1}, {id:2, name:"foo"}]; //// [contextualTyping20.js] +"use strict"; var foo = [{ id: 1 }]; foo = [{ id: 1 }, { id: 2, name: "foo" }]; diff --git a/tests/baselines/reference/contextualTyping21.js b/tests/baselines/reference/contextualTyping21.js index a8cb3288ea39a..4bb23ee906094 100644 --- a/tests/baselines/reference/contextualTyping21.js +++ b/tests/baselines/reference/contextualTyping21.js @@ -4,5 +4,6 @@ var foo:{id:number;}[] = [{id:1}]; foo = [{id:1}, 1]; //// [contextualTyping21.js] +"use strict"; var foo = [{ id: 1 }]; foo = [{ id: 1 }, 1]; diff --git a/tests/baselines/reference/contextualTyping22.js b/tests/baselines/reference/contextualTyping22.js index 3bb2c755581d5..941569aac9c37 100644 --- a/tests/baselines/reference/contextualTyping22.js +++ b/tests/baselines/reference/contextualTyping22.js @@ -4,5 +4,6 @@ var foo:(a:number)=>number = function(a){return a}; foo = function(b){return b}; //// [contextualTyping22.js] +"use strict"; var foo = function (a) { return a; }; foo = function (b) { return b; }; diff --git a/tests/baselines/reference/contextualTyping23.js b/tests/baselines/reference/contextualTyping23.js index e247c0bf4ad28..a3aa0bb3617ab 100644 --- a/tests/baselines/reference/contextualTyping23.js +++ b/tests/baselines/reference/contextualTyping23.js @@ -4,5 +4,6 @@ var foo:(a:{():number; (i:number):number; })=>number; foo = function(a){return 5}; //// [contextualTyping23.js] +"use strict"; var foo; foo = function (a) { return 5; }; diff --git a/tests/baselines/reference/contextualTyping24.js b/tests/baselines/reference/contextualTyping24.js index 6350be7978120..f114df537204d 100644 --- a/tests/baselines/reference/contextualTyping24.js +++ b/tests/baselines/reference/contextualTyping24.js @@ -4,5 +4,6 @@ var foo:(a:{():number; (i:number):number; })=>number; foo = function(this: void, a:string){return 5}; //// [contextualTyping24.js] +"use strict"; var foo; foo = function (a) { return 5; }; diff --git a/tests/baselines/reference/contextualTyping25.js b/tests/baselines/reference/contextualTyping25.js index 79f504444aff1..70ede98e384e3 100644 --- a/tests/baselines/reference/contextualTyping25.js +++ b/tests/baselines/reference/contextualTyping25.js @@ -4,6 +4,7 @@ function foo(param:{id:number;}){}; foo(<{id:number;}>({})); //// [contextualTyping25.js] +"use strict"; function foo(param) { } ; foo(({})); diff --git a/tests/baselines/reference/contextualTyping26.js b/tests/baselines/reference/contextualTyping26.js index b7ec3ce1027c3..5face883709ee 100644 --- a/tests/baselines/reference/contextualTyping26.js +++ b/tests/baselines/reference/contextualTyping26.js @@ -4,6 +4,7 @@ function foo(param:{id:number;}){}; foo(<{id:number;}>({})); //// [contextualTyping26.js] +"use strict"; function foo(param) { } ; foo(({})); diff --git a/tests/baselines/reference/contextualTyping27.js b/tests/baselines/reference/contextualTyping27.js index a4ed00f85eedd..abb867a0b96fa 100644 --- a/tests/baselines/reference/contextualTyping27.js +++ b/tests/baselines/reference/contextualTyping27.js @@ -4,6 +4,7 @@ function foo(param:{id:number;}){}; foo(<{id:number;}>({})); //// [contextualTyping27.js] +"use strict"; function foo(param) { } ; foo(({})); diff --git a/tests/baselines/reference/contextualTyping28.js b/tests/baselines/reference/contextualTyping28.js index eaed903b3e476..94ca131543697 100644 --- a/tests/baselines/reference/contextualTyping28.js +++ b/tests/baselines/reference/contextualTyping28.js @@ -4,6 +4,7 @@ function foo(param:number[]){}; foo([1]); //// [contextualTyping28.js] +"use strict"; function foo(param) { } ; foo([1]); diff --git a/tests/baselines/reference/contextualTyping29.js b/tests/baselines/reference/contextualTyping29.js index 9f7bbb70e8a3a..9d755e134ebe3 100644 --- a/tests/baselines/reference/contextualTyping29.js +++ b/tests/baselines/reference/contextualTyping29.js @@ -4,6 +4,7 @@ function foo(param:number[]){}; foo([1, 3]); //// [contextualTyping29.js] +"use strict"; function foo(param) { } ; foo([1, 3]); diff --git a/tests/baselines/reference/contextualTyping3.js b/tests/baselines/reference/contextualTyping3.js index 0c31763e37e7d..8f1ac54b4868b 100644 --- a/tests/baselines/reference/contextualTyping3.js +++ b/tests/baselines/reference/contextualTyping3.js @@ -4,6 +4,7 @@ class foo { public bar:{id:number;} = {id:5}; } //// [contextualTyping3.js] +"use strict"; var foo = /** @class */ (function () { function foo() { this.bar = { id: 5 }; diff --git a/tests/baselines/reference/contextualTyping30.js b/tests/baselines/reference/contextualTyping30.js index 58e469e65b77c..b82fd5c182681 100644 --- a/tests/baselines/reference/contextualTyping30.js +++ b/tests/baselines/reference/contextualTyping30.js @@ -4,6 +4,7 @@ function foo(param:number[]){}; foo([1, "a"]); //// [contextualTyping30.js] +"use strict"; function foo(param) { } ; foo([1, "a"]); diff --git a/tests/baselines/reference/contextualTyping31.js b/tests/baselines/reference/contextualTyping31.js index 3b767146b07e2..aa43f1ac67d89 100644 --- a/tests/baselines/reference/contextualTyping31.js +++ b/tests/baselines/reference/contextualTyping31.js @@ -4,6 +4,7 @@ function foo(param:number[]){}; foo([1]); //// [contextualTyping31.js] +"use strict"; function foo(param) { } ; foo([1]); diff --git a/tests/baselines/reference/contextualTyping32.js b/tests/baselines/reference/contextualTyping32.js index 0c309bbbac4f3..8a23dd3b1e8fb 100644 --- a/tests/baselines/reference/contextualTyping32.js +++ b/tests/baselines/reference/contextualTyping32.js @@ -4,6 +4,7 @@ function foo(param: {():number; (i:number):number; }[]) { }; foo([function(){return 1;}, function(){return 4}]); //// [contextualTyping32.js] +"use strict"; function foo(param) { } ; foo([function () { return 1; }, function () { return 4; }]); diff --git a/tests/baselines/reference/contextualTyping33.js b/tests/baselines/reference/contextualTyping33.js index acb80b58fb56d..4c14baeac837d 100644 --- a/tests/baselines/reference/contextualTyping33.js +++ b/tests/baselines/reference/contextualTyping33.js @@ -4,6 +4,7 @@ function foo(param: {():number; (i:number):number; }[]) { }; foo([function(){return 1;}, function(){return "foo"}]); //// [contextualTyping33.js] +"use strict"; function foo(param) { } ; foo([function () { return 1; }, function () { return "foo"; }]); diff --git a/tests/baselines/reference/contextualTyping34.js b/tests/baselines/reference/contextualTyping34.js index b2b2d8e56c934..fb2b3151bfcde 100644 --- a/tests/baselines/reference/contextualTyping34.js +++ b/tests/baselines/reference/contextualTyping34.js @@ -4,4 +4,5 @@ var foo = <{ id: number;}> ({id:4}); //// [contextualTyping34.js] +"use strict"; var foo = ({ id: 4 }); diff --git a/tests/baselines/reference/contextualTyping35.js b/tests/baselines/reference/contextualTyping35.js index 9efda06db03ec..d68a6c7cd9e15 100644 --- a/tests/baselines/reference/contextualTyping35.js +++ b/tests/baselines/reference/contextualTyping35.js @@ -4,4 +4,5 @@ var foo = <{ id: number;}> {id:4, name: "as"}; //// [contextualTyping35.js] +"use strict"; var foo = { id: 4, name: "as" }; diff --git a/tests/baselines/reference/contextualTyping36.js b/tests/baselines/reference/contextualTyping36.js index 34ba2af4e9d9f..6e97aace4c02f 100644 --- a/tests/baselines/reference/contextualTyping36.js +++ b/tests/baselines/reference/contextualTyping36.js @@ -4,4 +4,5 @@ var foo = <{ id: number; }[]>[{ id: 4 }, <{ id: number; }>({ })]; //// [contextualTyping36.js] +"use strict"; var foo = [{ id: 4 }, ({})]; diff --git a/tests/baselines/reference/contextualTyping37.js b/tests/baselines/reference/contextualTyping37.js index a3ead718ce689..955b0944f2bdb 100644 --- a/tests/baselines/reference/contextualTyping37.js +++ b/tests/baselines/reference/contextualTyping37.js @@ -4,4 +4,5 @@ var foo = <{ id: number; }[]>[{ foo: "s" }, { }]; //// [contextualTyping37.js] +"use strict"; var foo = [{ foo: "s" }, {}]; diff --git a/tests/baselines/reference/contextualTyping38.js b/tests/baselines/reference/contextualTyping38.js index 75ccd652f3df8..d639110ba887e 100644 --- a/tests/baselines/reference/contextualTyping38.js +++ b/tests/baselines/reference/contextualTyping38.js @@ -4,4 +4,5 @@ var foo = <{ (): number; }> function(a) { return a }; //// [contextualTyping38.js] +"use strict"; var foo = function (a) { return a; }; diff --git a/tests/baselines/reference/contextualTyping39.js b/tests/baselines/reference/contextualTyping39.js index 52cf17e1cf826..b94409567777a 100644 --- a/tests/baselines/reference/contextualTyping39.js +++ b/tests/baselines/reference/contextualTyping39.js @@ -4,4 +4,5 @@ var foo = <{ (): number; }> function() { return "err"; }; //// [contextualTyping39.js] +"use strict"; var foo = function () { return "err"; }; diff --git a/tests/baselines/reference/contextualTyping4.js b/tests/baselines/reference/contextualTyping4.js index c85199e9944b8..7e31a65db4191 100644 --- a/tests/baselines/reference/contextualTyping4.js +++ b/tests/baselines/reference/contextualTyping4.js @@ -4,6 +4,7 @@ class foo { public bar:{id:number;} = {id:5, name:"foo"}; } //// [contextualTyping4.js] +"use strict"; var foo = /** @class */ (function () { function foo() { this.bar = { id: 5, name: "foo" }; diff --git a/tests/baselines/reference/contextualTyping40.js b/tests/baselines/reference/contextualTyping40.js index 7f94eeea3267b..4598da5f428c0 100644 --- a/tests/baselines/reference/contextualTyping40.js +++ b/tests/baselines/reference/contextualTyping40.js @@ -4,4 +4,5 @@ var foo = <{():number; (i:number):number; }> function(){return 1;}; //// [contextualTyping40.js] +"use strict"; var foo = function () { return 1; }; diff --git a/tests/baselines/reference/contextualTyping41.js b/tests/baselines/reference/contextualTyping41.js index d121c2a138c48..10b23d8b66314 100644 --- a/tests/baselines/reference/contextualTyping41.js +++ b/tests/baselines/reference/contextualTyping41.js @@ -4,4 +4,5 @@ var foo = <{():number; (i:number):number; }> (function(){return "err";}); //// [contextualTyping41.js] +"use strict"; var foo = (function () { return "err"; }); diff --git a/tests/baselines/reference/contextualTyping5.js b/tests/baselines/reference/contextualTyping5.js index 0250e5330d655..0083d4dd6f1d3 100644 --- a/tests/baselines/reference/contextualTyping5.js +++ b/tests/baselines/reference/contextualTyping5.js @@ -4,6 +4,7 @@ class foo { public bar:{id:number;} = { }; } //// [contextualTyping5.js] +"use strict"; var foo = /** @class */ (function () { function foo() { this.bar = {}; diff --git a/tests/baselines/reference/contextualTyping6.js b/tests/baselines/reference/contextualTyping6.js index 16187e69945d5..e71df896a087f 100644 --- a/tests/baselines/reference/contextualTyping6.js +++ b/tests/baselines/reference/contextualTyping6.js @@ -4,4 +4,5 @@ var foo:{id:number;}[] = [{id:1}, {id:2}]; //// [contextualTyping6.js] +"use strict"; var foo = [{ id: 1 }, { id: 2 }]; diff --git a/tests/baselines/reference/contextualTyping7.js b/tests/baselines/reference/contextualTyping7.js index 6084beefc0cea..16822ba3024d4 100644 --- a/tests/baselines/reference/contextualTyping7.js +++ b/tests/baselines/reference/contextualTyping7.js @@ -4,4 +4,5 @@ var foo:{id:number;}[] = [<{id:number;}>({})]; //// [contextualTyping7.js] +"use strict"; var foo = [({})]; diff --git a/tests/baselines/reference/contextualTyping8.js b/tests/baselines/reference/contextualTyping8.js index ed900ce404a5a..81e97ddae9615 100644 --- a/tests/baselines/reference/contextualTyping8.js +++ b/tests/baselines/reference/contextualTyping8.js @@ -4,4 +4,5 @@ var foo:{id:number;}[] = [<{id:number;}>({})]; //// [contextualTyping8.js] +"use strict"; var foo = [({})]; diff --git a/tests/baselines/reference/contextualTyping9.js b/tests/baselines/reference/contextualTyping9.js index 33b33d8dc7c7b..bea3ffdb5d71c 100644 --- a/tests/baselines/reference/contextualTyping9.js +++ b/tests/baselines/reference/contextualTyping9.js @@ -4,4 +4,5 @@ var foo:{id:number;}[] = [{id:1}, {id:2, name:"foo"}]; //// [contextualTyping9.js] +"use strict"; var foo = [{ id: 1 }, { id: 2, name: "foo" }]; diff --git a/tests/baselines/reference/contextualTypingArrayDestructuringWithDefaults.js b/tests/baselines/reference/contextualTypingArrayDestructuringWithDefaults.js index 8e5c7e6cb3aba..3ad676a69f046 100644 --- a/tests/baselines/reference/contextualTypingArrayDestructuringWithDefaults.js +++ b/tests/baselines/reference/contextualTypingArrayDestructuringWithDefaults.js @@ -14,6 +14,7 @@ function foo() { //// [contextualTypingArrayDestructuringWithDefaults.js] +"use strict"; var _a = [][0], c0 = _a === void 0 ? { a: "a" } : _a; var _b = [1], x1 = _b[0], _c = _b[1], c1 = _c === void 0 ? { a: "a" } : _c; var _d = [][0], c_ = _d === void 0 ? { a: "a" } : _d; diff --git a/tests/baselines/reference/contextualTypingArrayOfLambdas.js b/tests/baselines/reference/contextualTypingArrayOfLambdas.js index 39256c76aaf22..001caeb78d918 100644 --- a/tests/baselines/reference/contextualTypingArrayOfLambdas.js +++ b/tests/baselines/reference/contextualTypingArrayOfLambdas.js @@ -17,6 +17,7 @@ var xs = [(x: A) => { }, (x: B) => { }, (x: C) => { }]; //// [contextualTypingArrayOfLambdas.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/contextualTypingFunctionReturningFunction.js b/tests/baselines/reference/contextualTypingFunctionReturningFunction.js index d99b9616ea832..9d3c376bc65f1 100644 --- a/tests/baselines/reference/contextualTypingFunctionReturningFunction.js +++ b/tests/baselines/reference/contextualTypingFunctionReturningFunction.js @@ -15,6 +15,7 @@ f({ //// [contextualTypingFunctionReturningFunction.js] +"use strict"; f({ a: function (s) { }, b: function () { return function (n) { }; }, diff --git a/tests/baselines/reference/contextualTypingFunctionReturningFunction2.js b/tests/baselines/reference/contextualTypingFunctionReturningFunction2.js index bb74a1d4bfcbd..00d59b5f3e3e4 100644 --- a/tests/baselines/reference/contextualTypingFunctionReturningFunction2.js +++ b/tests/baselines/reference/contextualTypingFunctionReturningFunction2.js @@ -8,4 +8,5 @@ f(() => n => n); //// [contextualTypingFunctionReturningFunction2.js] +"use strict"; f(function () { return function (n) { return n; }; }); diff --git a/tests/baselines/reference/contextualTypingOfAccessors.js b/tests/baselines/reference/contextualTypingOfAccessors.js index 045af345e831c..b5b195246ae3e 100644 --- a/tests/baselines/reference/contextualTypingOfAccessors.js +++ b/tests/baselines/reference/contextualTypingOfAccessors.js @@ -16,6 +16,7 @@ x = { //// [contextualTypingOfAccessors.js] +"use strict"; // not contextually typing accessors var x; x = { diff --git a/tests/baselines/reference/contextualTypingOfArrayLiterals1.js b/tests/baselines/reference/contextualTypingOfArrayLiterals1.js index 2b416b8d4d568..838eb6d007d4f 100644 --- a/tests/baselines/reference/contextualTypingOfArrayLiterals1.js +++ b/tests/baselines/reference/contextualTypingOfArrayLiterals1.js @@ -11,6 +11,7 @@ r2.getDate(); //// [contextualTypingOfArrayLiterals1.js] +"use strict"; var x3 = [new Date(), 1]; var r2 = x3[1]; r2.getDate(); diff --git a/tests/baselines/reference/contextualTypingOfConditionalExpression.js b/tests/baselines/reference/contextualTypingOfConditionalExpression.js index 27e8ef1928317..34383b1bbc195 100644 --- a/tests/baselines/reference/contextualTypingOfConditionalExpression.js +++ b/tests/baselines/reference/contextualTypingOfConditionalExpression.js @@ -17,6 +17,7 @@ var x2: (a: A) => void = true ? (a) => a.foo : (b) => b.foo; //// [contextualTypingOfConditionalExpression.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/contextualTypingOfConditionalExpression2.js b/tests/baselines/reference/contextualTypingOfConditionalExpression2.js index 6ca611b840b9a..11e1adb1c3540 100644 --- a/tests/baselines/reference/contextualTypingOfConditionalExpression2.js +++ b/tests/baselines/reference/contextualTypingOfConditionalExpression2.js @@ -15,6 +15,7 @@ var x2: (a: A) => void = true ? (a: C) => a.foo : (b: number) => { }; //// [contextualTypingOfConditionalExpression2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/contextualTypingOfGenericFunctionTypedArguments1.js b/tests/baselines/reference/contextualTypingOfGenericFunctionTypedArguments1.js index 3bca6ffd0e537..de577433820ad 100644 --- a/tests/baselines/reference/contextualTypingOfGenericFunctionTypedArguments1.js +++ b/tests/baselines/reference/contextualTypingOfGenericFunctionTypedArguments1.js @@ -21,6 +21,7 @@ var r6 = _.forEach(c2, (x) => { return x.toFixed() }); //// [contextualTypingOfGenericFunctionTypedArguments1.js] +"use strict"; // errors on all 3 lines, bug was that r5 was the only line with errors var f = function (x) { return x.toFixed(); }; var r5 = _.forEach(c2, f); diff --git a/tests/baselines/reference/contextualTypingOfLambdaReturnExpression.js b/tests/baselines/reference/contextualTypingOfLambdaReturnExpression.js index 399de39989ef2..2269265969702 100644 --- a/tests/baselines/reference/contextualTypingOfLambdaReturnExpression.js +++ b/tests/baselines/reference/contextualTypingOfLambdaReturnExpression.js @@ -9,6 +9,7 @@ callb((a) => a.length); // Ok, we choose the second overload because the first o callb((a) => { a.length; }); // Error, we picked the first overload and errored when type checking the lambda body //// [contextualTypingOfLambdaReturnExpression.js] +"use strict"; function callb(a) { } callb(function (a) { return a.length; }); // Ok, we choose the second overload because the first one gave us an error when trying to resolve the lambda return type callb(function (a) { a.length; }); // Error, we picked the first overload and errored when type checking the lambda body diff --git a/tests/baselines/reference/contextualTypingOfLambdaWithMultipleSignatures.js b/tests/baselines/reference/contextualTypingOfLambdaWithMultipleSignatures.js index bad44495e5d63..1ba316e820f7a 100644 --- a/tests/baselines/reference/contextualTypingOfLambdaWithMultipleSignatures.js +++ b/tests/baselines/reference/contextualTypingOfLambdaWithMultipleSignatures.js @@ -10,5 +10,6 @@ var foo: Foo; foo.getFoo = bar => { }; //// [contextualTypingOfLambdaWithMultipleSignatures.js] +"use strict"; var foo; foo.getFoo = function (bar) { }; diff --git a/tests/baselines/reference/contextualTypingOfLambdaWithMultipleSignatures2.js b/tests/baselines/reference/contextualTypingOfLambdaWithMultipleSignatures2.js index 2f9ed7ec0e3f2..f2a5519257ec0 100644 --- a/tests/baselines/reference/contextualTypingOfLambdaWithMultipleSignatures2.js +++ b/tests/baselines/reference/contextualTypingOfLambdaWithMultipleSignatures2.js @@ -9,5 +9,6 @@ var f: { f = (a) => { return a.asdf } //// [contextualTypingOfLambdaWithMultipleSignatures2.js] +"use strict"; var f; f = function (a) { return a.asdf; }; diff --git a/tests/baselines/reference/contextualTypingOfObjectLiterals.js b/tests/baselines/reference/contextualTypingOfObjectLiterals.js index f7894b4958263..e8b9bb6244b5e 100644 --- a/tests/baselines/reference/contextualTypingOfObjectLiterals.js +++ b/tests/baselines/reference/contextualTypingOfObjectLiterals.js @@ -13,6 +13,7 @@ f(obj1); // Ok f(obj2); // Error - indexer doesn't match //// [contextualTypingOfObjectLiterals.js] +"use strict"; var obj1; var obj2 = { x: "" }; obj1 = {}; // Ok diff --git a/tests/baselines/reference/contextualTypingOfObjectLiterals2.js b/tests/baselines/reference/contextualTypingOfObjectLiterals2.js index bfa57fed0fe9b..868273e8bf459 100644 --- a/tests/baselines/reference/contextualTypingOfObjectLiterals2.js +++ b/tests/baselines/reference/contextualTypingOfObjectLiterals2.js @@ -8,5 +8,6 @@ function f2(args: Foo) { } f2({ foo: s => s.hmm }) // 's' should be 'string', so this should be an error //// [contextualTypingOfObjectLiterals2.js] +"use strict"; function f2(args) { } f2({ foo: function (s) { return s.hmm; } }); // 's' should be 'string', so this should be an error diff --git a/tests/baselines/reference/contextualTypingOfOptionalMembers.js b/tests/baselines/reference/contextualTypingOfOptionalMembers.js index 5d1b3462ce4fd..b7f5e49d13ebe 100644 --- a/tests/baselines/reference/contextualTypingOfOptionalMembers.js +++ b/tests/baselines/reference/contextualTypingOfOptionalMembers.js @@ -77,6 +77,7 @@ const a = s} />; // TODO: should be number => number //// [index.jsx] +"use strict"; app({ state: 100, actions: { diff --git a/tests/baselines/reference/contextualTypingOfTooShortOverloads.js b/tests/baselines/reference/contextualTypingOfTooShortOverloads.js index deb6a4190dfc7..3eac9f68229a6 100644 --- a/tests/baselines/reference/contextualTypingOfTooShortOverloads.js +++ b/tests/baselines/reference/contextualTypingOfTooShortOverloads.js @@ -53,6 +53,7 @@ interface NextFunction { //// [contextualTypingOfTooShortOverloads.js] +"use strict"; // small repro from #11875 var use; use(function (req, res) { }); diff --git a/tests/baselines/reference/contextualTypingTwoInstancesOfSameTypeParameter.js b/tests/baselines/reference/contextualTypingTwoInstancesOfSameTypeParameter.js index 31894d47c1b74..9338e0a8d15d1 100644 --- a/tests/baselines/reference/contextualTypingTwoInstancesOfSameTypeParameter.js +++ b/tests/baselines/reference/contextualTypingTwoInstancesOfSameTypeParameter.js @@ -7,6 +7,7 @@ function f6(x: (a: T) => T) { f6(x => f6(y => x = y)); //// [contextualTypingTwoInstancesOfSameTypeParameter.js] +"use strict"; function f6(x) { return null; } diff --git a/tests/baselines/reference/contextualTypingWithFixedTypeParameters1.js b/tests/baselines/reference/contextualTypingWithFixedTypeParameters1.js index d05fd49e73bde..27146b59f183a 100644 --- a/tests/baselines/reference/contextualTypingWithFixedTypeParameters1.js +++ b/tests/baselines/reference/contextualTypingWithFixedTypeParameters1.js @@ -6,5 +6,6 @@ f10('', () => a => a.foo, ''); // a is "" var r9 = f10('', () => (a => a.foo), 1); // error //// [contextualTypingWithFixedTypeParameters1.js] +"use strict"; f10('', function () { return function (a) { return a.foo; }; }, ''); // a is "" var r9 = f10('', function () { return (function (a) { return a.foo; }); }, 1); // error diff --git a/tests/baselines/reference/contextualTypingWithGenericAndNonGenericSignature.js b/tests/baselines/reference/contextualTypingWithGenericAndNonGenericSignature.js index e1ecdcb573172..aa211309ab585 100644 --- a/tests/baselines/reference/contextualTypingWithGenericAndNonGenericSignature.js +++ b/tests/baselines/reference/contextualTypingWithGenericAndNonGenericSignature.js @@ -19,6 +19,7 @@ f3 = (x, y) => { return x } //// [contextualTypingWithGenericAndNonGenericSignature.js] +"use strict"; //• If e is a FunctionExpression or ArrowFunctionExpression with no type parameters and no parameter or return type annotations, and T is a function type with EXACTLY ONE non - generic call signature, then any inferences made for type parameters referenced by the parameters of T’s call signature are fixed(section 4.12.2) and e is processed with the contextual type T, as described in section 4.9.3. var f2; f2 = function (x, y) { return x; }; diff --git a/tests/baselines/reference/contextualTypingWithGenericSignature.js b/tests/baselines/reference/contextualTypingWithGenericSignature.js index e767aefe31bf2..aea848db3a55d 100644 --- a/tests/baselines/reference/contextualTypingWithGenericSignature.js +++ b/tests/baselines/reference/contextualTypingWithGenericSignature.js @@ -10,6 +10,7 @@ var f2: { f2 = (x, y) => { return x } //// [contextualTypingWithGenericSignature.js] +"use strict"; // If e is a FunctionExpression or ArrowFunctionExpression with no type parameters and no parameter or return type annotations, and T is a function type with EXACTLY ONE non - generic call signature, then any inferences made for type parameters referenced by the parameters of T’s call signature are fixed(section 4.12.2) and e is processed with the contextual type T, as described in section 4.9.3. var f2; f2 = function (x, y) { return x; }; diff --git a/tests/baselines/reference/contextuallyTypeCommaOperator01.js b/tests/baselines/reference/contextuallyTypeCommaOperator01.js index e177482bc59d9..c7f514b47b893 100644 --- a/tests/baselines/reference/contextuallyTypeCommaOperator01.js +++ b/tests/baselines/reference/contextuallyTypeCommaOperator01.js @@ -6,5 +6,6 @@ let x: (a: string) => string; x = (100, a => a); //// [contextuallyTypeCommaOperator01.js] +"use strict"; var x; x = (100, function (a) { return a; }); diff --git a/tests/baselines/reference/contextuallyTypeCommaOperator02.js b/tests/baselines/reference/contextuallyTypeCommaOperator02.js index f30803f5f5743..be8bd54df551f 100644 --- a/tests/baselines/reference/contextuallyTypeCommaOperator02.js +++ b/tests/baselines/reference/contextuallyTypeCommaOperator02.js @@ -9,6 +9,7 @@ x = (100, a => { }); //// [contextuallyTypeCommaOperator02.js] +"use strict"; var x; x = (100, function (a) { var b = a; diff --git a/tests/baselines/reference/contextuallyTypeCommaOperator03.js b/tests/baselines/reference/contextuallyTypeCommaOperator03.js index 75db1eeca9187..31575a74dad00 100644 --- a/tests/baselines/reference/contextuallyTypeCommaOperator03.js +++ b/tests/baselines/reference/contextuallyTypeCommaOperator03.js @@ -6,5 +6,6 @@ let x: (a: string) => string; x = (a => a, b => b); //// [contextuallyTypeCommaOperator03.js] +"use strict"; var x; x = (function (a) { return a; }, function (b) { return b; }); diff --git a/tests/baselines/reference/contextuallyTypeLogicalAnd01.js b/tests/baselines/reference/contextuallyTypeLogicalAnd01.js index 771da2cd9c9d1..75f2e30f10a18 100644 --- a/tests/baselines/reference/contextuallyTypeLogicalAnd01.js +++ b/tests/baselines/reference/contextuallyTypeLogicalAnd01.js @@ -7,6 +7,7 @@ let y = true; x = y && (a => a); //// [contextuallyTypeLogicalAnd01.js] +"use strict"; var x; var y = true; x = y && (function (a) { return a; }); diff --git a/tests/baselines/reference/contextuallyTypeLogicalAnd02.js b/tests/baselines/reference/contextuallyTypeLogicalAnd02.js index fdef782a5adcd..30be82f0713cc 100644 --- a/tests/baselines/reference/contextuallyTypeLogicalAnd02.js +++ b/tests/baselines/reference/contextuallyTypeLogicalAnd02.js @@ -10,6 +10,7 @@ x = y && (a => { }); //// [contextuallyTypeLogicalAnd02.js] +"use strict"; var x; var y = true; x = y && (function (a) { diff --git a/tests/baselines/reference/contextuallyTypeLogicalAnd03.js b/tests/baselines/reference/contextuallyTypeLogicalAnd03.js index ebef04855e641..06b5b58daa157 100644 --- a/tests/baselines/reference/contextuallyTypeLogicalAnd03.js +++ b/tests/baselines/reference/contextuallyTypeLogicalAnd03.js @@ -7,6 +7,7 @@ let y = true; x = (a => a) && (b => b); //// [contextuallyTypeLogicalAnd03.js] +"use strict"; var x; var y = true; x = (function (a) { return a; }) && (function (b) { return b; }); diff --git a/tests/baselines/reference/contextuallyTypedBindingInitializer.js b/tests/baselines/reference/contextuallyTypedBindingInitializer.js index 57e0387683506..9e2efa8fa7a57 100644 --- a/tests/baselines/reference/contextuallyTypedBindingInitializer.js +++ b/tests/baselines/reference/contextuallyTypedBindingInitializer.js @@ -32,6 +32,7 @@ let { stringIdentity: id = arg => arg }: StringIdentity = { stringIdentity: x => //// [contextuallyTypedBindingInitializer.js] +"use strict"; function f(_a) { var _b = _a.show, show = _b === void 0 ? function (v) { return v.toString(); } : _b; } diff --git a/tests/baselines/reference/contextuallyTypedBindingInitializerNegative.js b/tests/baselines/reference/contextuallyTypedBindingInitializerNegative.js index afdce2d7bc2c0..de086ef03a2ac 100644 --- a/tests/baselines/reference/contextuallyTypedBindingInitializerNegative.js +++ b/tests/baselines/reference/contextuallyTypedBindingInitializerNegative.js @@ -30,6 +30,7 @@ function h({ prop = "baz" }: StringUnion) {} //// [contextuallyTypedBindingInitializerNegative.js] +"use strict"; function f(_a) { var _b = _a.show, showRename = _b === void 0 ? function (v) { return v; } : _b; } diff --git a/tests/baselines/reference/contextuallyTypedByDiscriminableUnion.js b/tests/baselines/reference/contextuallyTypedByDiscriminableUnion.js index fa95921349075..271c1bc14e8cf 100644 --- a/tests/baselines/reference/contextuallyTypedByDiscriminableUnion.js +++ b/tests/baselines/reference/contextuallyTypedByDiscriminableUnion.js @@ -36,6 +36,7 @@ invoke({ //// [contextuallyTypedByDiscriminableUnion.js] +"use strict"; function invoke(item) { if (item.kind === "a") { item.method(""); diff --git a/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration01.js b/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration01.js index 3c115d06472ef..e2cfac988dc13 100644 --- a/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration01.js +++ b/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration01.js @@ -48,6 +48,7 @@ function getFoo3(): Foo { } //// [contextuallyTypedClassExpressionMethodDeclaration01.js] +"use strict"; function getFoo1() { return /** @class */ (function () { function class_1() { diff --git a/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration02.js b/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration02.js index 49a4ef7d51294..79dc1a10361a3 100644 --- a/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration02.js +++ b/tests/baselines/reference/contextuallyTypedClassExpressionMethodDeclaration02.js @@ -52,6 +52,7 @@ function getFoo3(): Foo { } //// [contextuallyTypedClassExpressionMethodDeclaration02.js] +"use strict"; function getFoo1() { return /** @class */ (function () { function class_1() { diff --git a/tests/baselines/reference/contextuallyTypedFunctionExpressionsAndReturnAnnotations.js b/tests/baselines/reference/contextuallyTypedFunctionExpressionsAndReturnAnnotations.js index c23a2c02427a5..0be0054bfc3bb 100644 --- a/tests/baselines/reference/contextuallyTypedFunctionExpressionsAndReturnAnnotations.js +++ b/tests/baselines/reference/contextuallyTypedFunctionExpressionsAndReturnAnnotations.js @@ -17,6 +17,7 @@ foo((y: string) => { }); //// [contextuallyTypedFunctionExpressionsAndReturnAnnotations.js] +"use strict"; // Contextually type the parameter even if there is a return annotation foo(function (y) { var z = y.charAt(0); // Should be string diff --git a/tests/baselines/reference/contextuallyTypedGenericAssignment.js b/tests/baselines/reference/contextuallyTypedGenericAssignment.js index 8d1b895519d6f..c20dc1a685b69 100644 --- a/tests/baselines/reference/contextuallyTypedGenericAssignment.js +++ b/tests/baselines/reference/contextuallyTypedGenericAssignment.js @@ -8,5 +8,6 @@ function foo( foo((t, u: number) => t.a) //// [contextuallyTypedGenericAssignment.js] +"use strict"; function foo(arg) { } foo(function (t, u) { return t.a; }); diff --git a/tests/baselines/reference/contextuallyTypedIife.js b/tests/baselines/reference/contextuallyTypedIife.js index 9996475167d93..afa7802a6829d 100644 --- a/tests/baselines/reference/contextuallyTypedIife.js +++ b/tests/baselines/reference/contextuallyTypedIife.js @@ -36,6 +36,7 @@ let eleven = (o => o.a(11))({ a: function(n) { return n; } }); //// [contextuallyTypedIife.js] +"use strict"; // arrow (function (jake) { })("build"); // function expression diff --git a/tests/baselines/reference/contextuallyTypedIifeStrict.js b/tests/baselines/reference/contextuallyTypedIifeStrict.js index ebbadce1865c3..a490b1781cc93 100644 --- a/tests/baselines/reference/contextuallyTypedIifeStrict.js +++ b/tests/baselines/reference/contextuallyTypedIifeStrict.js @@ -36,6 +36,7 @@ let eleven = (o => o.a(11))({ a: function(n) { return n; } }); //// [contextuallyTypedIifeStrict.js] +"use strict"; // arrow (function (jake) { })("build"); // function expression diff --git a/tests/baselines/reference/contextuallyTypedJsxAttribute.js b/tests/baselines/reference/contextuallyTypedJsxAttribute.js index eee04745aef0a..b7c0633d3f648 100644 --- a/tests/baselines/reference/contextuallyTypedJsxAttribute.js +++ b/tests/baselines/reference/contextuallyTypedJsxAttribute.js @@ -26,6 +26,7 @@ Test({ //// [index.jsx] +"use strict"; ; Test({ as: "bar", diff --git a/tests/baselines/reference/contextuallyTypedObjectLiteralMethodDeclaration01.js b/tests/baselines/reference/contextuallyTypedObjectLiteralMethodDeclaration01.js index 8be542f64f723..eb57da2a9fb08 100644 --- a/tests/baselines/reference/contextuallyTypedObjectLiteralMethodDeclaration01.js +++ b/tests/baselines/reference/contextuallyTypedObjectLiteralMethodDeclaration01.js @@ -48,6 +48,7 @@ function getFoo3(): Foo { } //// [contextuallyTypedObjectLiteralMethodDeclaration01.js] +"use strict"; function getFoo1() { return { method1: function (arg) { diff --git a/tests/baselines/reference/contextuallyTypedStringLiteralsInJsxAttributes01.js b/tests/baselines/reference/contextuallyTypedStringLiteralsInJsxAttributes01.js index a82cd6cd2acf3..a61ca6ad24202 100644 --- a/tests/baselines/reference/contextuallyTypedStringLiteralsInJsxAttributes01.js +++ b/tests/baselines/reference/contextuallyTypedStringLiteralsInJsxAttributes01.js @@ -19,6 +19,7 @@ const FooComponent = (props: { foo: "A" | "B" | "C" }) => {props.foo}; //// [contextuallyTypedStringLiteralsInJsxAttributes01.jsx] +"use strict"; var FooComponent = function (props) { return {props.foo}; }; ; ; diff --git a/tests/baselines/reference/contextuallyTypingOrOperator.js b/tests/baselines/reference/contextuallyTypingOrOperator.js index 6a48b7f6c5767..273bf09d7e7a7 100644 --- a/tests/baselines/reference/contextuallyTypingOrOperator.js +++ b/tests/baselines/reference/contextuallyTypingOrOperator.js @@ -9,6 +9,7 @@ var v3 = (s: string) => s.length || function (s: number) { return 1 }; var v4 = (s: number) => 1 || function (s: string) { return s.length }; //// [contextuallyTypingOrOperator.js] +"use strict"; var v = { a: function (s) { return s.length; } } || { a: function (s) { return 1; } }; var v2 = function (s) { return s.length || function (s) { s.length; }; }; var v3 = function (s) { return s.length || function (s) { return 1; }; }; diff --git a/tests/baselines/reference/contextuallyTypingOrOperator2.js b/tests/baselines/reference/contextuallyTypingOrOperator2.js index 9ce455001a47c..a0411b55ca63e 100644 --- a/tests/baselines/reference/contextuallyTypingOrOperator2.js +++ b/tests/baselines/reference/contextuallyTypingOrOperator2.js @@ -6,5 +6,6 @@ var v: { a: (_: string) => number } = { a: s => s.length } || { a: s => 1 }; var v2 = (s: string) => s.length || function (s) { s.aaa }; //// [contextuallyTypingOrOperator2.js] +"use strict"; var v = { a: function (s) { return s.length; } } || { a: function (s) { return 1; } }; var v2 = function (s) { return s.length || function (s) { s.aaa; }; }; diff --git a/tests/baselines/reference/contextuallyTypingOrOperator3.js b/tests/baselines/reference/contextuallyTypingOrOperator3.js index 172de1b180492..561fc01f0612e 100644 --- a/tests/baselines/reference/contextuallyTypingOrOperator3.js +++ b/tests/baselines/reference/contextuallyTypingOrOperator3.js @@ -6,6 +6,7 @@ function foo(u: U) { } //// [contextuallyTypingOrOperator3.js] +"use strict"; function foo(u) { var x3 = u || u; } diff --git a/tests/baselines/reference/contextuallyTypingRestParameters.js b/tests/baselines/reference/contextuallyTypingRestParameters.js index 526239da8b1b8..7bda155237d8f 100644 --- a/tests/baselines/reference/contextuallyTypingRestParameters.js +++ b/tests/baselines/reference/contextuallyTypingRestParameters.js @@ -10,6 +10,7 @@ var x: (...y: string[]) => void = function (.../*3*/y) { }; //// [contextuallyTypingRestParameters.js] +"use strict"; var x = function () { var y = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/continueInIterationStatement1.js b/tests/baselines/reference/continueInIterationStatement1.js index e20209775c79c..c15f0ccd0e1a2 100644 --- a/tests/baselines/reference/continueInIterationStatement1.js +++ b/tests/baselines/reference/continueInIterationStatement1.js @@ -6,6 +6,7 @@ while (true) { } //// [continueInIterationStatement1.js] +"use strict"; while (true) { continue; } diff --git a/tests/baselines/reference/continueInIterationStatement2.js b/tests/baselines/reference/continueInIterationStatement2.js index 2a0fbacef8653..2e47720f92805 100644 --- a/tests/baselines/reference/continueInIterationStatement2.js +++ b/tests/baselines/reference/continueInIterationStatement2.js @@ -7,6 +7,7 @@ do { while (true); //// [continueInIterationStatement2.js] +"use strict"; do { continue; } while (true); diff --git a/tests/baselines/reference/continueInIterationStatement3.js b/tests/baselines/reference/continueInIterationStatement3.js index 73c963da1f540..dcd0576c522b2 100644 --- a/tests/baselines/reference/continueInIterationStatement3.js +++ b/tests/baselines/reference/continueInIterationStatement3.js @@ -6,6 +6,7 @@ for (;;) { } //// [continueInIterationStatement3.js] +"use strict"; for (;;) { continue; } diff --git a/tests/baselines/reference/continueInIterationStatement4.js b/tests/baselines/reference/continueInIterationStatement4.js index 92c83ab1fe930..a05ee9de2ce6e 100644 --- a/tests/baselines/reference/continueInIterationStatement4.js +++ b/tests/baselines/reference/continueInIterationStatement4.js @@ -6,6 +6,7 @@ for (var i in something) { } //// [continueInIterationStatement4.js] +"use strict"; for (var i in something) { continue; } diff --git a/tests/baselines/reference/continueInLoopsWithCapturedBlockScopedBindings1.js b/tests/baselines/reference/continueInLoopsWithCapturedBlockScopedBindings1.js index 438c0e460400b..391ef3d3b15e1 100644 --- a/tests/baselines/reference/continueInLoopsWithCapturedBlockScopedBindings1.js +++ b/tests/baselines/reference/continueInLoopsWithCapturedBlockScopedBindings1.js @@ -15,6 +15,7 @@ function foo() { } //// [continueInLoopsWithCapturedBlockScopedBindings1.js] +"use strict"; function foo() { var _loop_1 = function (i) { if (i === 0) { diff --git a/tests/baselines/reference/continueLabel.js b/tests/baselines/reference/continueLabel.js index c3547801980e3..d324817ba58c5 100644 --- a/tests/baselines/reference/continueLabel.js +++ b/tests/baselines/reference/continueLabel.js @@ -6,6 +6,7 @@ label1: for(var i = 0; i < 1; i++) { } //// [continueLabel.js] +"use strict"; label1: for (var i = 0; i < 1; i++) { continue label1; } diff --git a/tests/baselines/reference/continueNotInIterationStatement1.js b/tests/baselines/reference/continueNotInIterationStatement1.js index 34438d25adc7f..dc761755bbf45 100644 --- a/tests/baselines/reference/continueNotInIterationStatement1.js +++ b/tests/baselines/reference/continueNotInIterationStatement1.js @@ -4,4 +4,5 @@ continue; //// [continueNotInIterationStatement1.js] +"use strict"; continue; diff --git a/tests/baselines/reference/continueNotInIterationStatement2.errors.txt b/tests/baselines/reference/continueNotInIterationStatement2.errors.txt index 38a95d8dda24e..d208f097e9267 100644 --- a/tests/baselines/reference/continueNotInIterationStatement2.errors.txt +++ b/tests/baselines/reference/continueNotInIterationStatement2.errors.txt @@ -1,9 +1,12 @@ +continueNotInIterationStatement2.ts(2,12): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. continueNotInIterationStatement2.ts(3,5): error TS1107: Jump target cannot cross function boundary. -==== continueNotInIterationStatement2.ts (1 errors) ==== +==== continueNotInIterationStatement2.ts (2 errors) ==== while (true) { function f() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. continue; ~~~~~~~~~ !!! error TS1107: Jump target cannot cross function boundary. diff --git a/tests/baselines/reference/continueNotInIterationStatement2.js b/tests/baselines/reference/continueNotInIterationStatement2.js index f3e458aca1686..28b6f74049afe 100644 --- a/tests/baselines/reference/continueNotInIterationStatement2.js +++ b/tests/baselines/reference/continueNotInIterationStatement2.js @@ -8,6 +8,7 @@ while (true) { } //// [continueNotInIterationStatement2.js] +"use strict"; while (true) { function f() { continue; diff --git a/tests/baselines/reference/continueNotInIterationStatement3.js b/tests/baselines/reference/continueNotInIterationStatement3.js index 58f035e9b8f0d..bf97dfc318782 100644 --- a/tests/baselines/reference/continueNotInIterationStatement3.js +++ b/tests/baselines/reference/continueNotInIterationStatement3.js @@ -7,6 +7,7 @@ switch (0) { } //// [continueNotInIterationStatement3.js] +"use strict"; switch (0) { default: continue; diff --git a/tests/baselines/reference/continueNotInIterationStatement4.js b/tests/baselines/reference/continueNotInIterationStatement4.js index 4f83f4603e501..f4c2c415f917c 100644 --- a/tests/baselines/reference/continueNotInIterationStatement4.js +++ b/tests/baselines/reference/continueNotInIterationStatement4.js @@ -10,6 +10,7 @@ while (true){ //// [continueNotInIterationStatement4.js] +"use strict"; TWO: while (true) { var x = function () { continue TWO; diff --git a/tests/baselines/reference/continueStatementInternalComments.js b/tests/baselines/reference/continueStatementInternalComments.js index a47bf6e104c8e..37a179b5b292b 100644 --- a/tests/baselines/reference/continueStatementInternalComments.js +++ b/tests/baselines/reference/continueStatementInternalComments.js @@ -6,6 +6,7 @@ foo: for (;;) { } //// [continueStatementInternalComments.js] +"use strict"; foo: for (;;) { /*1*/ continue /*2*/ foo /*3*/; } diff --git a/tests/baselines/reference/continueTarget1.js b/tests/baselines/reference/continueTarget1.js index fefd57e8595db..3ec60bab40c6c 100644 --- a/tests/baselines/reference/continueTarget1.js +++ b/tests/baselines/reference/continueTarget1.js @@ -5,4 +5,5 @@ target: continue target; //// [continueTarget1.js] +"use strict"; target: continue target; diff --git a/tests/baselines/reference/continueTarget2.js b/tests/baselines/reference/continueTarget2.js index ae0f2a34aca2f..a54bfeed25dbf 100644 --- a/tests/baselines/reference/continueTarget2.js +++ b/tests/baselines/reference/continueTarget2.js @@ -7,6 +7,7 @@ while (true) { } //// [continueTarget2.js] +"use strict"; target: while (true) { continue target; } diff --git a/tests/baselines/reference/continueTarget3.js b/tests/baselines/reference/continueTarget3.js index a0872980415c6..00593d90411bf 100644 --- a/tests/baselines/reference/continueTarget3.js +++ b/tests/baselines/reference/continueTarget3.js @@ -8,6 +8,7 @@ while (true) { } //// [continueTarget3.js] +"use strict"; target1: target2: while (true) { continue target1; } diff --git a/tests/baselines/reference/continueTarget4.js b/tests/baselines/reference/continueTarget4.js index a93256fda4b64..b142efc1d7156 100644 --- a/tests/baselines/reference/continueTarget4.js +++ b/tests/baselines/reference/continueTarget4.js @@ -8,6 +8,7 @@ while (true) { } //// [continueTarget4.js] +"use strict"; target1: target2: while (true) { continue target2; } diff --git a/tests/baselines/reference/continueTarget5.errors.txt b/tests/baselines/reference/continueTarget5.errors.txt index 64e5270ac83f1..ca06fd7709027 100644 --- a/tests/baselines/reference/continueTarget5.errors.txt +++ b/tests/baselines/reference/continueTarget5.errors.txt @@ -1,10 +1,13 @@ +continueTarget5.ts(3,12): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. continueTarget5.ts(5,7): error TS1107: Jump target cannot cross function boundary. -==== continueTarget5.ts (1 errors) ==== +==== continueTarget5.ts (2 errors) ==== target: while (true) { function f() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. while (true) { continue target; ~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/continueTarget5.js b/tests/baselines/reference/continueTarget5.js index 211bcded69e76..c8cf8bd2666a7 100644 --- a/tests/baselines/reference/continueTarget5.js +++ b/tests/baselines/reference/continueTarget5.js @@ -11,6 +11,7 @@ while (true) { } //// [continueTarget5.js] +"use strict"; target: while (true) { function f() { while (true) { diff --git a/tests/baselines/reference/continueTarget6.js b/tests/baselines/reference/continueTarget6.js index 1fb4aedf4b460..da7c31e38c175 100644 --- a/tests/baselines/reference/continueTarget6.js +++ b/tests/baselines/reference/continueTarget6.js @@ -6,6 +6,7 @@ while (true) { } //// [continueTarget6.js] +"use strict"; while (true) { continue target; } diff --git a/tests/baselines/reference/controlFlowAliasingCatchVariables(useunknownincatchvariables=false).js b/tests/baselines/reference/controlFlowAliasingCatchVariables(useunknownincatchvariables=false).js index e59b4d21a9350..38a361f148909 100644 --- a/tests/baselines/reference/controlFlowAliasingCatchVariables(useunknownincatchvariables=false).js +++ b/tests/baselines/reference/controlFlowAliasingCatchVariables(useunknownincatchvariables=false).js @@ -30,6 +30,7 @@ catch (e) { //// [controlFlowAliasingCatchVariables.js] +"use strict"; try { } catch (e) { var isString = typeof e === 'string'; diff --git a/tests/baselines/reference/controlFlowAliasingCatchVariables(useunknownincatchvariables=true).js b/tests/baselines/reference/controlFlowAliasingCatchVariables(useunknownincatchvariables=true).js index e59b4d21a9350..38a361f148909 100644 --- a/tests/baselines/reference/controlFlowAliasingCatchVariables(useunknownincatchvariables=true).js +++ b/tests/baselines/reference/controlFlowAliasingCatchVariables(useunknownincatchvariables=true).js @@ -30,6 +30,7 @@ catch (e) { //// [controlFlowAliasingCatchVariables.js] +"use strict"; try { } catch (e) { var isString = typeof e === 'string'; diff --git a/tests/baselines/reference/controlFlowArrayErrors.js b/tests/baselines/reference/controlFlowArrayErrors.js index 0a06e7234eb82..49a256a716f03 100644 --- a/tests/baselines/reference/controlFlowArrayErrors.js +++ b/tests/baselines/reference/controlFlowArrayErrors.js @@ -68,6 +68,7 @@ function f8() { } //// [controlFlowArrayErrors.js] +"use strict"; function f1() { var x = []; // Implicit any[] error in some locations var y = x; // Implicit any[] error diff --git a/tests/baselines/reference/controlFlowArrays.js b/tests/baselines/reference/controlFlowArrays.js index 31a19789161f2..8f5e9c60c592e 100644 --- a/tests/baselines/reference/controlFlowArrays.js +++ b/tests/baselines/reference/controlFlowArrays.js @@ -190,6 +190,7 @@ foo(arr); //// [controlFlowArrays.js] +"use strict"; function f1() { var x = []; x[0] = 5; diff --git a/tests/baselines/reference/controlFlowAssignmentExpression.js b/tests/baselines/reference/controlFlowAssignmentExpression.js index ef19be735f640..de3edf12ecc30 100644 --- a/tests/baselines/reference/controlFlowAssignmentExpression.js +++ b/tests/baselines/reference/controlFlowAssignmentExpression.js @@ -21,6 +21,7 @@ if ((o = fn()).done) { } //// [controlFlowAssignmentExpression.js] +"use strict"; var x; var obj; x = ""; diff --git a/tests/baselines/reference/controlFlowBinaryAndExpression.js b/tests/baselines/reference/controlFlowBinaryAndExpression.js index a838af25663d6..43116d985c057 100644 --- a/tests/baselines/reference/controlFlowBinaryAndExpression.js +++ b/tests/baselines/reference/controlFlowBinaryAndExpression.js @@ -13,6 +13,7 @@ x; // string | number //// [controlFlowBinaryAndExpression.js] +"use strict"; var x; var cond; (x = "") && (x = 0); diff --git a/tests/baselines/reference/controlFlowBindingElement.js b/tests/baselines/reference/controlFlowBindingElement.js index f2a67daf4b22c..550b3e2b3be67 100644 --- a/tests/baselines/reference/controlFlowBindingElement.js +++ b/tests/baselines/reference/controlFlowBindingElement.js @@ -92,6 +92,7 @@ //// [controlFlowBindingElement.js] +"use strict"; { var data = { param: 'value' }; var _a = data.param, param = _a === void 0 ? (function () { throw new Error('param is not defined'); })() : _a; diff --git a/tests/baselines/reference/controlFlowCaching.js b/tests/baselines/reference/controlFlowCaching.js index 4414096150d2a..4e48801c2fd29 100644 --- a/tests/baselines/reference/controlFlowCaching.js +++ b/tests/baselines/reference/controlFlowCaching.js @@ -70,6 +70,7 @@ function f(dim, offsets, arr, acommon, centerAnchorLimit, g, has, lin) { //// [controlFlowCaching.js] +"use strict"; // Repro for #8401 function f(dim, offsets, arr, acommon, centerAnchorLimit, g, has, lin) { var isRtl = this._isRtl(); // chart mirroring diff --git a/tests/baselines/reference/controlFlowCommaExpressionAssertionMultiple.js b/tests/baselines/reference/controlFlowCommaExpressionAssertionMultiple.js index bec208faba042..3307d11a5d8d1 100644 --- a/tests/baselines/reference/controlFlowCommaExpressionAssertionMultiple.js +++ b/tests/baselines/reference/controlFlowCommaExpressionAssertionMultiple.js @@ -18,6 +18,7 @@ function func2(foo: any, bar: any, baz: any) { //// [controlFlowCommaExpressionAssertionMultiple.js] +"use strict"; function Narrow(value) { } function func(foo, bar) { Narrow(foo), Narrow(bar); diff --git a/tests/baselines/reference/controlFlowCommaExpressionFunctionCall.js b/tests/baselines/reference/controlFlowCommaExpressionFunctionCall.js index 0c3a40c23a898..ab700024205eb 100644 --- a/tests/baselines/reference/controlFlowCommaExpressionFunctionCall.js +++ b/tests/baselines/reference/controlFlowCommaExpressionFunctionCall.js @@ -14,6 +14,7 @@ if (isNumber((otherValue(), value))) { } //// [controlFlowCommaExpressionFunctionCall.js] +"use strict"; var otherValue = function () { return true; }; var value = null; function isNumber(obj) { diff --git a/tests/baselines/reference/controlFlowCommaOperator.js b/tests/baselines/reference/controlFlowCommaOperator.js index ae756b4ff0320..206997d03148b 100644 --- a/tests/baselines/reference/controlFlowCommaOperator.js +++ b/tests/baselines/reference/controlFlowCommaOperator.js @@ -26,6 +26,7 @@ function f(x: string | number | boolean) { //// [controlFlowCommaOperator.js] +"use strict"; function f(x) { var y = false; var z = false; diff --git a/tests/baselines/reference/controlFlowConditionalExpression.js b/tests/baselines/reference/controlFlowConditionalExpression.js index 49e61fad543da..803a1b1e0576c 100644 --- a/tests/baselines/reference/controlFlowConditionalExpression.js +++ b/tests/baselines/reference/controlFlowConditionalExpression.js @@ -9,6 +9,7 @@ x; // string | number //// [controlFlowConditionalExpression.js] +"use strict"; var x; var cond; cond ? x = "" : x = 3; diff --git a/tests/baselines/reference/controlFlowDeleteOperator.errors.txt b/tests/baselines/reference/controlFlowDeleteOperator.errors.txt index 61f5f1df52263..5bdb63f7a6957 100644 --- a/tests/baselines/reference/controlFlowDeleteOperator.errors.txt +++ b/tests/baselines/reference/controlFlowDeleteOperator.errors.txt @@ -1,8 +1,9 @@ controlFlowDeleteOperator.ts(10,12): error TS2790: The operand of a 'delete' operator must be optional. +controlFlowDeleteOperator.ts(14,12): error TS1102: 'delete' cannot be called on an identifier in strict mode. controlFlowDeleteOperator.ts(14,12): error TS2703: The operand of a 'delete' operator must be a property reference. -==== controlFlowDeleteOperator.ts (2 errors) ==== +==== controlFlowDeleteOperator.ts (3 errors) ==== function f() { let x: { a?: number | string, b: number | string } = { b: 1 }; x.a; @@ -20,6 +21,8 @@ controlFlowDeleteOperator.ts(14,12): error TS2703: The operand of a 'delete' ope x; delete x; // No effect ~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. x; } \ No newline at end of file diff --git a/tests/baselines/reference/controlFlowDeleteOperator.js b/tests/baselines/reference/controlFlowDeleteOperator.js index 663b2fe787e2f..34604db42c37c 100644 --- a/tests/baselines/reference/controlFlowDeleteOperator.js +++ b/tests/baselines/reference/controlFlowDeleteOperator.js @@ -19,6 +19,7 @@ function f() { } //// [controlFlowDeleteOperator.js] +"use strict"; function f() { var x = { b: 1 }; x.a; diff --git a/tests/baselines/reference/controlFlowDestructuringDeclaration.js b/tests/baselines/reference/controlFlowDestructuringDeclaration.js index 0b489985cde8c..4db30056b8c2b 100644 --- a/tests/baselines/reference/controlFlowDestructuringDeclaration.js +++ b/tests/baselines/reference/controlFlowDestructuringDeclaration.js @@ -61,6 +61,7 @@ function f7() { //// [controlFlowDestructuringDeclaration.js] +"use strict"; function f1() { var x = 1; x; diff --git a/tests/baselines/reference/controlFlowDestructuringParameters.js b/tests/baselines/reference/controlFlowDestructuringParameters.js index cc2813e00d2e2..8e4083d95a6aa 100644 --- a/tests/baselines/reference/controlFlowDestructuringParameters.js +++ b/tests/baselines/reference/controlFlowDestructuringParameters.js @@ -10,6 +10,7 @@ //// [controlFlowDestructuringParameters.js] +"use strict"; // Repro for #8376 [{ x: 1 }].map(function (_a) { var x = _a.x; diff --git a/tests/baselines/reference/controlFlowDoWhileStatement.js b/tests/baselines/reference/controlFlowDoWhileStatement.js index 87c09018db164..6aa7e27d45e3f 100644 --- a/tests/baselines/reference/controlFlowDoWhileStatement.js +++ b/tests/baselines/reference/controlFlowDoWhileStatement.js @@ -80,6 +80,7 @@ function g() { //// [controlFlowDoWhileStatement.js] +"use strict"; var cond; function a() { var x; diff --git a/tests/baselines/reference/controlFlowElementAccess.js b/tests/baselines/reference/controlFlowElementAccess.js index 0850cbf7bae9d..c1e43956c7210 100644 --- a/tests/baselines/reference/controlFlowElementAccess.js +++ b/tests/baselines/reference/controlFlowElementAccess.js @@ -13,6 +13,7 @@ if (y[0] === 0) { //// [controlFlowElementAccess.js] +"use strict"; var x = { o: false }; if (x['o'] === false) { x['o'] = true; diff --git a/tests/baselines/reference/controlFlowForCompoundAssignmentToThisMember.js b/tests/baselines/reference/controlFlowForCompoundAssignmentToThisMember.js index e62fa1ec6f5d4..252def12dd32f 100644 --- a/tests/baselines/reference/controlFlowForCompoundAssignmentToThisMember.js +++ b/tests/baselines/reference/controlFlowForCompoundAssignmentToThisMember.js @@ -21,6 +21,7 @@ class DatasourceCommandWidgetElement { } //// [controlFlowForCompoundAssignmentToThisMember.js] +"use strict"; var DatasourceCommandWidgetElement = /** @class */ (function () { function DatasourceCommandWidgetElement(target) { if (target instanceof DatasourceCommandWidgetElement) { diff --git a/tests/baselines/reference/controlFlowForInStatement.js b/tests/baselines/reference/controlFlowForInStatement.js index 2c26bb80f48e5..2493a5a3564a1 100644 --- a/tests/baselines/reference/controlFlowForInStatement.js +++ b/tests/baselines/reference/controlFlowForInStatement.js @@ -21,6 +21,7 @@ x; // RegExp | string | number | boolean //// [controlFlowForInStatement.js] +"use strict"; var x; var obj; var cond; diff --git a/tests/baselines/reference/controlFlowForInStatement2.js b/tests/baselines/reference/controlFlowForInStatement2.js index 2e19499fbb172..2d87284886b61 100644 --- a/tests/baselines/reference/controlFlowForInStatement2.js +++ b/tests/baselines/reference/controlFlowForInStatement2.js @@ -28,6 +28,7 @@ if ((stringB as ('a' | 'b')) in c) { } //// [controlFlowForInStatement2.js] +"use strict"; var keywordA = 'a'; var keywordB = 'b'; if ('a' in c) { diff --git a/tests/baselines/reference/controlFlowForIndexSignatures.js b/tests/baselines/reference/controlFlowForIndexSignatures.js index 58bb8d3e626cd..3bfed7547f064 100644 --- a/tests/baselines/reference/controlFlowForIndexSignatures.js +++ b/tests/baselines/reference/controlFlowForIndexSignatures.js @@ -25,6 +25,7 @@ if (typeof c === 'string') { //// [controlFlowForIndexSignatures.js] +"use strict"; var boo = { bar: 'bar' }; function a(aboo1) { if (!aboo1) diff --git a/tests/baselines/reference/controlFlowForOfStatement.js b/tests/baselines/reference/controlFlowForOfStatement.js index 20b4b61f3e981..ac11ac4cbaf05 100644 --- a/tests/baselines/reference/controlFlowForOfStatement.js +++ b/tests/baselines/reference/controlFlowForOfStatement.js @@ -14,6 +14,7 @@ function a() { //// [controlFlowForOfStatement.js] +"use strict"; var obj; var x; function a() { diff --git a/tests/baselines/reference/controlFlowForStatement.js b/tests/baselines/reference/controlFlowForStatement.js index 1a8b15b17dd7f..2a2ebc67a9785 100644 --- a/tests/baselines/reference/controlFlowForStatement.js +++ b/tests/baselines/reference/controlFlowForStatement.js @@ -45,6 +45,7 @@ function f() { //// [controlFlowForStatement.js] +"use strict"; function a() { var x; for (x = ""; cond; x = 5) { diff --git a/tests/baselines/reference/controlFlowIIFE.js b/tests/baselines/reference/controlFlowIIFE.js index cb43a24c4ba6e..1a9ff046a7339 100644 --- a/tests/baselines/reference/controlFlowIIFE.js +++ b/tests/baselines/reference/controlFlowIIFE.js @@ -76,6 +76,7 @@ function f6() { } //// [controlFlowIIFE.js] +"use strict"; function f1() { let x = getStringOrNumber(); if (typeof x === "string") { diff --git a/tests/baselines/reference/controlFlowIfStatement.js b/tests/baselines/reference/controlFlowIfStatement.js index 374a2ff15426c..789d924d6dc88 100644 --- a/tests/baselines/reference/controlFlowIfStatement.js +++ b/tests/baselines/reference/controlFlowIfStatement.js @@ -65,6 +65,7 @@ function e(x: I<"A" | "B">) { //// [controlFlowIfStatement.js] +"use strict"; var x; var cond; x = /a/; diff --git a/tests/baselines/reference/controlFlowInOperator.js b/tests/baselines/reference/controlFlowInOperator.js index 46c01de9b52b5..ef5dbf56f9d77 100644 --- a/tests/baselines/reference/controlFlowInOperator.js +++ b/tests/baselines/reference/controlFlowInOperator.js @@ -69,6 +69,7 @@ function uniqueID_54790_3(id: string | number, seenIDs: object) { //// [controlFlowInOperator.js] +"use strict"; var a = 'a'; var b = 'b'; var d = 'd'; diff --git a/tests/baselines/reference/controlFlowInstanceOfGuardPrimitives.js b/tests/baselines/reference/controlFlowInstanceOfGuardPrimitives.js index 4d3e10a5b9fd4..982cca610e513 100644 --- a/tests/baselines/reference/controlFlowInstanceOfGuardPrimitives.js +++ b/tests/baselines/reference/controlFlowInstanceOfGuardPrimitives.js @@ -16,6 +16,7 @@ distinguish("beef"); distinguish(3.14159265); //// [controlFlowInstanceOfGuardPrimitives.js] +"use strict"; function distinguish(thing) { if (thing instanceof Object) { console.log("Aha!! It's a Date in " + thing.getFullYear()); diff --git a/tests/baselines/reference/controlFlowIteration.js b/tests/baselines/reference/controlFlowIteration.js index 43db6acf9c834..d2fe7ad34b28a 100644 --- a/tests/baselines/reference/controlFlowIteration.js +++ b/tests/baselines/reference/controlFlowIteration.js @@ -22,6 +22,7 @@ function ff() { //// [controlFlowIteration.js] +"use strict"; var cond; function ff() { var x; diff --git a/tests/baselines/reference/controlFlowIterationErrors.js b/tests/baselines/reference/controlFlowIterationErrors.js index 84e53e702d0fd..1119b93c66fc5 100644 --- a/tests/baselines/reference/controlFlowIterationErrors.js +++ b/tests/baselines/reference/controlFlowIterationErrors.js @@ -95,6 +95,7 @@ function h4() { //// [controlFlowIterationErrors.js] +"use strict"; var cond; function len(s) { return s.length; diff --git a/tests/baselines/reference/controlFlowJavascript.js b/tests/baselines/reference/controlFlowJavascript.js index 6b5aa5e56ee7c..4e618aaadc195 100644 --- a/tests/baselines/reference/controlFlowJavascript.js +++ b/tests/baselines/reference/controlFlowJavascript.js @@ -107,6 +107,7 @@ function f10() { //// [out.js] +"use strict"; var cond = true; // CFA for 'let' and no initializer function f1() { diff --git a/tests/baselines/reference/controlFlowLoopAnalysis.js b/tests/baselines/reference/controlFlowLoopAnalysis.js index c94fcef55f845..0c48a2a2af853 100644 --- a/tests/baselines/reference/controlFlowLoopAnalysis.js +++ b/tests/baselines/reference/controlFlowLoopAnalysis.js @@ -52,6 +52,7 @@ function mapUntilCant( //// [controlFlowLoopAnalysis.js] +"use strict"; // Repro from #8418 var cond; function foo(x) { return 1; } diff --git a/tests/baselines/reference/controlFlowNoImplicitAny.js b/tests/baselines/reference/controlFlowNoImplicitAny.js index 4b30714cb7513..6c27a619f3529 100644 --- a/tests/baselines/reference/controlFlowNoImplicitAny.js +++ b/tests/baselines/reference/controlFlowNoImplicitAny.js @@ -130,6 +130,7 @@ function f10() { } //// [controlFlowNoImplicitAny.js] +"use strict"; // CFA for 'let' with no type annotation and initializer function f1() { var x; diff --git a/tests/baselines/reference/controlFlowOptionalChain2.js b/tests/baselines/reference/controlFlowOptionalChain2.js index 19876a6444390..7b4539381c055 100644 --- a/tests/baselines/reference/controlFlowOptionalChain2.js +++ b/tests/baselines/reference/controlFlowOptionalChain2.js @@ -108,6 +108,7 @@ function f8(x: X | N | null) { //// [controlFlowOptionalChain2.js] +"use strict"; function funcTwo(arg) { if ((arg === null || arg === void 0 ? void 0 : arg.type) === 'B') { arg; // `B` diff --git a/tests/baselines/reference/controlFlowOuterVariable.js b/tests/baselines/reference/controlFlowOuterVariable.js index 5e25c974ca1f9..85efac283c71c 100644 --- a/tests/baselines/reference/controlFlowOuterVariable.js +++ b/tests/baselines/reference/controlFlowOuterVariable.js @@ -15,6 +15,7 @@ const helper = function(t: T[]) { } //// [controlFlowOuterVariable.js] +"use strict"; // Repros from #10641 var CONFIG = { foo: '', diff --git a/tests/baselines/reference/controlFlowParameter.js b/tests/baselines/reference/controlFlowParameter.js index fad2e9529473f..dcf929944bf98 100644 --- a/tests/baselines/reference/controlFlowParameter.js +++ b/tests/baselines/reference/controlFlowParameter.js @@ -36,6 +36,7 @@ function f4( //// [controlFlowParameter.js] +"use strict"; function f1(required) { if (required === void 0) { required = (function () { throw new Error("bad"); diff --git a/tests/baselines/reference/controlFlowPropertyInitializer.js b/tests/baselines/reference/controlFlowPropertyInitializer.js index ae125a24a22b6..af9ad83796b41 100644 --- a/tests/baselines/reference/controlFlowPropertyInitializer.js +++ b/tests/baselines/reference/controlFlowPropertyInitializer.js @@ -10,6 +10,7 @@ class BestLanguage { } //// [controlFlowPropertyInitializer.js] +"use strict"; // Repro from #8967 var LANG = "Turbo Pascal"; var BestLanguage = /** @class */ (function () { diff --git a/tests/baselines/reference/controlFlowSuperPropertyAccess.js b/tests/baselines/reference/controlFlowSuperPropertyAccess.js index 419705abbfd04..b475facd96935 100644 --- a/tests/baselines/reference/controlFlowSuperPropertyAccess.js +++ b/tests/baselines/reference/controlFlowSuperPropertyAccess.js @@ -12,6 +12,7 @@ class C extends B { //// [controlFlowSuperPropertyAccess.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/controlFlowTruthiness.js b/tests/baselines/reference/controlFlowTruthiness.js index 6f8abf09b7647..a9ca7e0d1ad63 100644 --- a/tests/baselines/reference/controlFlowTruthiness.js +++ b/tests/baselines/reference/controlFlowTruthiness.js @@ -98,6 +98,7 @@ function f9(x: T) { } //// [controlFlowTruthiness.js] +"use strict"; function f1() { var x = foo(); if (x) { diff --git a/tests/baselines/reference/controlFlowWhileStatement.js b/tests/baselines/reference/controlFlowWhileStatement.js index bc02a863f06bd..a549d09f7c313 100644 --- a/tests/baselines/reference/controlFlowWhileStatement.js +++ b/tests/baselines/reference/controlFlowWhileStatement.js @@ -110,6 +110,7 @@ function h3() { //// [controlFlowWhileStatement.js] +"use strict"; var cond; function a() { var x; diff --git a/tests/baselines/reference/controlFlowWithIncompleteTypes.js b/tests/baselines/reference/controlFlowWithIncompleteTypes.js index d603cd276ad9b..d3573d81219b0 100644 --- a/tests/baselines/reference/controlFlowWithIncompleteTypes.js +++ b/tests/baselines/reference/controlFlowWithIncompleteTypes.js @@ -30,6 +30,7 @@ function foo2() { } //// [controlFlowWithIncompleteTypes.js] +"use strict"; // Repro from #11000 function foo1() { var x = 0; diff --git a/tests/baselines/reference/controlFlowWithTemplateLiterals.js b/tests/baselines/reference/controlFlowWithTemplateLiterals.js index 613c0fa45fc78..8b46c2c3ab1fe 100644 --- a/tests/baselines/reference/controlFlowWithTemplateLiterals.js +++ b/tests/baselines/reference/controlFlowWithTemplateLiterals.js @@ -13,6 +13,7 @@ if (`test` in obj) { //// [controlFlowWithTemplateLiterals.js] +"use strict"; if (typeof envVar === "string") { envVar.slice(0); } diff --git a/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1.js b/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1.js index bead9234a9195..70ea88e53f70e 100644 --- a/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1.js +++ b/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty1.js @@ -243,6 +243,7 @@ foo.of = class { //// [convertClassExpressionToFunctionFromObjectProperty1.js] +"use strict"; var foo = {}; // properties foo.x = /** @class */ (function () { diff --git a/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty2.js b/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty2.js index 05debaed49a89..c0b752bf1de2b 100644 --- a/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty2.js +++ b/tests/baselines/reference/convertClassExpressionToFunctionFromObjectProperty2.js @@ -242,6 +242,7 @@ //// [convertClassExpressionToFunctionFromObjectProperty2.js] +"use strict"; ({ x: /** @class */ (function () { function x() { diff --git a/tests/baselines/reference/convertKeywords.js b/tests/baselines/reference/convertKeywords.js index c45d4f383a14d..22a109a40e70f 100644 --- a/tests/baselines/reference/convertKeywords.js +++ b/tests/baselines/reference/convertKeywords.js @@ -7,4 +7,5 @@ var abstract; //// [convertKeywords.js] +"use strict"; var abstract; diff --git a/tests/baselines/reference/convertKeywordsYes.errors.txt b/tests/baselines/reference/convertKeywordsYes.errors.txt index de9cad2cb2484..42978b89c9438 100644 --- a/tests/baselines/reference/convertKeywordsYes.errors.txt +++ b/tests/baselines/reference/convertKeywordsYes.errors.txt @@ -1,3 +1,30 @@ +convertKeywordsYes.ts(6,5): error TS1212: Identifier expected. 'implements' is a reserved word in strict mode. +convertKeywordsYes.ts(7,5): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. +convertKeywordsYes.ts(8,5): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. +convertKeywordsYes.ts(11,5): error TS1212: Identifier expected. 'package' is a reserved word in strict mode. +convertKeywordsYes.ts(12,5): error TS1212: Identifier expected. 'private' is a reserved word in strict mode. +convertKeywordsYes.ts(13,5): error TS1212: Identifier expected. 'protected' is a reserved word in strict mode. +convertKeywordsYes.ts(14,5): error TS1212: Identifier expected. 'public' is a reserved word in strict mode. +convertKeywordsYes.ts(16,5): error TS1212: Identifier expected. 'static' is a reserved word in strict mode. +convertKeywordsYes.ts(19,5): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +convertKeywordsYes.ts(24,5): error TS1212: Identifier expected. 'implements' is a reserved word in strict mode. +convertKeywordsYes.ts(25,5): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. +convertKeywordsYes.ts(26,5): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. +convertKeywordsYes.ts(28,5): error TS1212: Identifier expected. 'package' is a reserved word in strict mode. +convertKeywordsYes.ts(29,5): error TS1212: Identifier expected. 'private' is a reserved word in strict mode. +convertKeywordsYes.ts(30,5): error TS1212: Identifier expected. 'protected' is a reserved word in strict mode. +convertKeywordsYes.ts(31,5): error TS1212: Identifier expected. 'public' is a reserved word in strict mode. +convertKeywordsYes.ts(33,5): error TS1212: Identifier expected. 'static' is a reserved word in strict mode. +convertKeywordsYes.ts(35,5): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +convertKeywordsYes.ts(40,8): error TS1212: Identifier expected. 'implements' is a reserved word in strict mode. +convertKeywordsYes.ts(41,9): error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. +convertKeywordsYes.ts(42,8): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. +convertKeywordsYes.ts(45,8): error TS1212: Identifier expected. 'package' is a reserved word in strict mode. +convertKeywordsYes.ts(46,9): error TS1212: Identifier expected. 'private' is a reserved word in strict mode. +convertKeywordsYes.ts(47,9): error TS1212: Identifier expected. 'protected' is a reserved word in strict mode. +convertKeywordsYes.ts(48,9): error TS1212: Identifier expected. 'public' is a reserved word in strict mode. +convertKeywordsYes.ts(50,9): error TS1212: Identifier expected. 'static' is a reserved word in strict mode. +convertKeywordsYes.ts(53,8): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. convertKeywordsYes.ts(175,12): error TS18006: Classes may not have a field named 'constructor'. convertKeywordsYes.ts(292,11): error TS1213: Identifier expected. 'implements' is a reserved word in strict mode. Class definitions are automatically in strict mode. convertKeywordsYes.ts(293,11): error TS1213: Identifier expected. 'interface' is a reserved word in strict mode. Class definitions are automatically in strict mode. @@ -10,60 +37,114 @@ convertKeywordsYes.ts(301,11): error TS1213: Identifier expected. 'static' is a convertKeywordsYes.ts(303,11): error TS1213: Identifier expected. 'yield' is a reserved word in strict mode. Class definitions are automatically in strict mode. -==== convertKeywordsYes.ts (10 errors) ==== +==== convertKeywordsYes.ts (37 errors) ==== // reserved ES5 future in strict mode var constructor = 0; var any = 0; var boolean = 0; var implements = 0; + ~~~~~~~~~~ +!!! error TS1212: Identifier expected. 'implements' is a reserved word in strict mode. var interface = 0; + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. var let = 0; + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. var module = 0; var number = 0; var package = 0; + ~~~~~~~ +!!! error TS1212: Identifier expected. 'package' is a reserved word in strict mode. var private = 0; + ~~~~~~~ +!!! error TS1212: Identifier expected. 'private' is a reserved word in strict mode. var protected = 0; + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'protected' is a reserved word in strict mode. var public = 0; + ~~~~~~ +!!! error TS1212: Identifier expected. 'public' is a reserved word in strict mode. var set = 0; var static = 0; + ~~~~~~ +!!! error TS1212: Identifier expected. 'static' is a reserved word in strict mode. var string = 0; var get = 0; var yield = 0; + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. var declare = 0; function bigGeneric< constructor, implements , + ~~~~~~~~~~ +!!! error TS1212: Identifier expected. 'implements' is a reserved word in strict mode. interface , + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. let, + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. module , package, + ~~~~~~~ +!!! error TS1212: Identifier expected. 'package' is a reserved word in strict mode. private , + ~~~~~~~ +!!! error TS1212: Identifier expected. 'private' is a reserved word in strict mode. protected, + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'protected' is a reserved word in strict mode. public , + ~~~~~~ +!!! error TS1212: Identifier expected. 'public' is a reserved word in strict mode. set , static , + ~~~~~~ +!!! error TS1212: Identifier expected. 'static' is a reserved word in strict mode. get , yield, + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. declare >(c: constructor, a: any, b2: boolean, i: implements , + ~~~~~~~~~~ +!!! error TS1212: Identifier expected. 'implements' is a reserved word in strict mode. i2: interface , + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'interface' is a reserved word in strict mode. l: let, + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. m: module , n: number, p: package, + ~~~~~~~ +!!! error TS1212: Identifier expected. 'package' is a reserved word in strict mode. p2: private , + ~~~~~~~ +!!! error TS1212: Identifier expected. 'private' is a reserved word in strict mode. p3: protected, + ~~~~~~~~~ +!!! error TS1212: Identifier expected. 'protected' is a reserved word in strict mode. p4: public , + ~~~~~~ +!!! error TS1212: Identifier expected. 'public' is a reserved word in strict mode. s: set , s2: static , + ~~~~~~ +!!! error TS1212: Identifier expected. 'static' is a reserved word in strict mode. s3: string, g: get , y: yield, + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. d: declare ) { } var bigObject = { diff --git a/tests/baselines/reference/convertKeywordsYes.js b/tests/baselines/reference/convertKeywordsYes.js index 3cfe582213a74..f0ae35eb0d048 100644 --- a/tests/baselines/reference/convertKeywordsYes.js +++ b/tests/baselines/reference/convertKeywordsYes.js @@ -308,6 +308,7 @@ namespace bigModule { } //// [convertKeywordsYes.js] +"use strict"; // reserved ES5 future in strict mode var constructor = 0; var any = 0; diff --git a/tests/baselines/reference/correctOrderOfPromiseMethod.js b/tests/baselines/reference/correctOrderOfPromiseMethod.js index 4ae573b834198..be1a045e59a1c 100644 --- a/tests/baselines/reference/correctOrderOfPromiseMethod.js +++ b/tests/baselines/reference/correctOrderOfPromiseMethod.js @@ -33,6 +33,7 @@ const expected: Promise<["a", "b", "c"]> = Promise.all(undefined as readonly ["a //// [correctOrderOfPromiseMethod.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/corrupted.js b/tests/baselines/reference/corrupted.js index a8d5ec48956a0..4c17db81f2127 100644 --- a/tests/baselines/reference/corrupted.js +++ b/tests/baselines/reference/corrupted.js @@ -4,3 +4,4 @@ ��� //// [corrupted.js] +"use strict"; diff --git a/tests/baselines/reference/couldNotSelectGenericOverload.js b/tests/baselines/reference/couldNotSelectGenericOverload.js index ef24f614b7738..731309953e0dd 100644 --- a/tests/baselines/reference/couldNotSelectGenericOverload.js +++ b/tests/baselines/reference/couldNotSelectGenericOverload.js @@ -11,6 +11,7 @@ var b3G = makeArray2(1, ""); // error //// [couldNotSelectGenericOverload.js] +"use strict"; function makeArray(items) { return items; } var b = [1, ""]; var b1G = makeArray(1, ""); // any, no error diff --git a/tests/baselines/reference/covariance1.js b/tests/baselines/reference/covariance1.js index 06260bfb03eee..f40f3fa8ac97c 100644 --- a/tests/baselines/reference/covariance1.js +++ b/tests/baselines/reference/covariance1.js @@ -20,6 +20,7 @@ namespace M { //// [covariance1.js] +"use strict"; var M; (function (M) { var XX = /** @class */ (function () { diff --git a/tests/baselines/reference/crashInEmitTokenWithComment.js b/tests/baselines/reference/crashInEmitTokenWithComment.js index c587cc718b77b..89db5b2f8d400 100644 --- a/tests/baselines/reference/crashInEmitTokenWithComment.js +++ b/tests/baselines/reference/crashInEmitTokenWithComment.js @@ -8,6 +8,7 @@ const foo = {bar: 'a'}; fn(({[foo.bar]: c}) => undefined); //// [crashInEmitTokenWithComment.js] +"use strict"; // GH#32358 var fn = function (param) { return undefined; }; var foo = { bar: 'a' }; diff --git a/tests/baselines/reference/crashInResolveInterface.js b/tests/baselines/reference/crashInResolveInterface.js index 85b6217726aa3..7758b277abaf9 100644 --- a/tests/baselines/reference/crashInResolveInterface.js +++ b/tests/baselines/reference/crashInResolveInterface.js @@ -19,7 +19,9 @@ interface C { //// [file1.js] +"use strict"; var q1; var x = q1.each(function (x) { return c.log(x); }); //// [file2.js] +"use strict"; /// diff --git a/tests/baselines/reference/crashInYieldStarInAsyncFunction.js b/tests/baselines/reference/crashInYieldStarInAsyncFunction.js index 2f4352f016a15..46a0bc8fc3402 100644 --- a/tests/baselines/reference/crashInYieldStarInAsyncFunction.js +++ b/tests/baselines/reference/crashInYieldStarInAsyncFunction.js @@ -17,6 +17,7 @@ async function* g() { } //// [crashInYieldStarInAsyncFunction.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/53145 var obj = { [Symbol.asyncIterator]() { diff --git a/tests/baselines/reference/crashInresolveReturnStatement.js b/tests/baselines/reference/crashInresolveReturnStatement.js index 46c5a66990762..d78840264230e 100644 --- a/tests/baselines/reference/crashInresolveReturnStatement.js +++ b/tests/baselines/reference/crashInresolveReturnStatement.js @@ -21,6 +21,7 @@ class WITDialogs { //// [crashInresolveReturnStatement.js] +"use strict"; var WorkItemToolbar = /** @class */ (function () { function WorkItemToolbar() { } diff --git a/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.js b/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.js index 0a26f54de1a45..ec761d7dcb03a 100644 --- a/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.js +++ b/tests/baselines/reference/crashInsourcePropertyIsRelatableToTargetProperty.js @@ -13,6 +13,7 @@ var a: D = foo("hi", []); //// [crashInsourcePropertyIsRelatableToTargetProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/crashOnMethodSignatures.js b/tests/baselines/reference/crashOnMethodSignatures.js index 4bb9dfa294e69..acc96e53ad9f1 100644 --- a/tests/baselines/reference/crashOnMethodSignatures.js +++ b/tests/baselines/reference/crashOnMethodSignatures.js @@ -7,6 +7,7 @@ class A { //// [crashOnMethodSignatures.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/crashRegressionTest.js b/tests/baselines/reference/crashRegressionTest.js index 81b8b46cfb8d1..35428798d1020 100644 --- a/tests/baselines/reference/crashRegressionTest.js +++ b/tests/baselines/reference/crashRegressionTest.js @@ -28,6 +28,7 @@ namespace MsPortal.Util.TemplateEngine { //// [crashRegressionTest.js] +"use strict"; var MsPortal; (function (MsPortal) { var Util; diff --git a/tests/baselines/reference/createArray.js b/tests/baselines/reference/createArray.js index f1bd5d8b51f9e..e1d49e09061ea 100644 --- a/tests/baselines/reference/createArray.js +++ b/tests/baselines/reference/createArray.js @@ -18,6 +18,7 @@ if (ba[14]) { new C[1]; // not an error //// [createArray.js] +"use strict"; var na = new number[]; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/curiousNestedConditionalEvaluationResult.js b/tests/baselines/reference/curiousNestedConditionalEvaluationResult.js index fb23e77bc07cf..102d07c64241a 100644 --- a/tests/baselines/reference/curiousNestedConditionalEvaluationResult.js +++ b/tests/baselines/reference/curiousNestedConditionalEvaluationResult.js @@ -7,3 +7,4 @@ type Hmm = [0] extends [infer T, any?] ? : never //// [curiousNestedConditionalEvaluationResult.js] +"use strict"; diff --git a/tests/baselines/reference/customAsyncIterator.js b/tests/baselines/reference/customAsyncIterator.js index ea31a03b69d83..c649c12732313 100644 --- a/tests/baselines/reference/customAsyncIterator.js +++ b/tests/baselines/reference/customAsyncIterator.js @@ -14,6 +14,7 @@ class ConstantIterator implements AsyncIterator { } //// [customAsyncIterator.js] +"use strict"; // GH: https://github.com/microsoft/TypeScript/issues/33239 class ConstantIterator { constructor(constant) { diff --git a/tests/baselines/reference/customEventDetail.js b/tests/baselines/reference/customEventDetail.js index 39f084437a2f9..69456610a99eb 100644 --- a/tests/baselines/reference/customEventDetail.js +++ b/tests/baselines/reference/customEventDetail.js @@ -8,6 +8,7 @@ x.initCustomEvent('hello', true, true, { id: 12, name: 'hello' }); var y = x.detail.name; //// [customEventDetail.js] +"use strict"; var x; // valid since detail is any x.initCustomEvent('hello', true, true, { id: 12, name: 'hello' }); diff --git a/tests/baselines/reference/customTransforms/after.js b/tests/baselines/reference/customTransforms/after.js index 8bda237545f4c..e45bee212434b 100644 --- a/tests/baselines/reference/customTransforms/after.js +++ b/tests/baselines/reference/customTransforms/after.js @@ -1,4 +1,5 @@ // [source.js] +"use strict"; function f1() { } //@after var c = /** @class */ (function () { diff --git a/tests/baselines/reference/customTransforms/before.js b/tests/baselines/reference/customTransforms/before.js index a2729fc4529f4..bd681b590b748 100644 --- a/tests/baselines/reference/customTransforms/before.js +++ b/tests/baselines/reference/customTransforms/before.js @@ -1,4 +1,5 @@ // [source.js] +"use strict"; /*@before*/ function f1() { } var c = /** @class */ (function () { diff --git a/tests/baselines/reference/customTransforms/both.js b/tests/baselines/reference/customTransforms/both.js index b759c76ce3816..df82a88a7de23 100644 --- a/tests/baselines/reference/customTransforms/both.js +++ b/tests/baselines/reference/customTransforms/both.js @@ -1,4 +1,5 @@ // [source.js] +"use strict"; /*@before*/ function f1() { } //@after diff --git a/tests/baselines/reference/customTransforms/skipTriviaExternalSourceFiles.js b/tests/baselines/reference/customTransforms/skipTriviaExternalSourceFiles.js index 8c7fecf97f0bb..e5e7b9703c6c1 100644 --- a/tests/baselines/reference/customTransforms/skipTriviaExternalSourceFiles.js +++ b/tests/baselines/reference/customTransforms/skipTriviaExternalSourceFiles.js @@ -1,6 +1,7 @@ // [source.js.map] -{"version":3,"file":"source.js","sourceRoot":"","sources":["source.ts","another.html"],"names":[],"mappings":"ACAA,OAAO,CDAW"} +{"version":3,"file":"source.js","sourceRoot":"","sources":["source.ts","another.html"],"names":[],"mappings":";ACAA,OAAO,CDAW"} // [source.js] +"use strict"; changed; //# sourceMappingURL=source.js.map \ No newline at end of file diff --git a/tests/baselines/reference/customTransforms/sourceMapExternalSourceFiles.js b/tests/baselines/reference/customTransforms/sourceMapExternalSourceFiles.js index 7191d615fc65b..6e769a63a8218 100644 --- a/tests/baselines/reference/customTransforms/sourceMapExternalSourceFiles.js +++ b/tests/baselines/reference/customTransforms/sourceMapExternalSourceFiles.js @@ -1,7 +1,8 @@ // [source.js.map] -{"version":3,"file":"source.js","sourceRoot":"","sources":["source.ts","another.html"],"names":[],"mappings":"AAAA,iCACyB,CAAA;ACDzB,QAAS,CDED"} +{"version":3,"file":"source.js","sourceRoot":"","sources":["source.ts","another.html"],"names":[],"mappings":";AAAA,iCACyB,CAAA;ACDzB,QAAS,CDED"} // [source.js] +"use strict"; "multi\n line"; 'change'; //# sourceMappingURL=source.js.map \ No newline at end of file diff --git a/tests/baselines/reference/cyclicGenericTypeInstantiation.js b/tests/baselines/reference/cyclicGenericTypeInstantiation.js index afe2a0485fde3..7322bebeae6ca 100644 --- a/tests/baselines/reference/cyclicGenericTypeInstantiation.js +++ b/tests/baselines/reference/cyclicGenericTypeInstantiation.js @@ -24,6 +24,7 @@ a = b; //// [cyclicGenericTypeInstantiation.js] +"use strict"; function foo() { var z = foo(); var y; diff --git a/tests/baselines/reference/cyclicGenericTypeInstantiationInference.js b/tests/baselines/reference/cyclicGenericTypeInstantiationInference.js index 2143f5622ea74..6c59ce314981a 100644 --- a/tests/baselines/reference/cyclicGenericTypeInstantiationInference.js +++ b/tests/baselines/reference/cyclicGenericTypeInstantiationInference.js @@ -25,6 +25,7 @@ function test(x: typeof a): void { } test(b); //// [cyclicGenericTypeInstantiationInference.js] +"use strict"; function foo() { var z = foo(); var y; diff --git a/tests/baselines/reference/cyclicModuleImport.js b/tests/baselines/reference/cyclicModuleImport.js index e2972eb2785e0..9d19693bbb7dd 100644 --- a/tests/baselines/reference/cyclicModuleImport.js +++ b/tests/baselines/reference/cyclicModuleImport.js @@ -22,6 +22,7 @@ declare module "MainModule" { //// [cyclicModuleImport.js] +"use strict"; //// [cyclicModuleImport.d.ts] diff --git a/tests/baselines/reference/cyclicTypeInstantiation.js b/tests/baselines/reference/cyclicTypeInstantiation.js index 40ad533f24311..723b108121ae1 100644 --- a/tests/baselines/reference/cyclicTypeInstantiation.js +++ b/tests/baselines/reference/cyclicTypeInstantiation.js @@ -24,6 +24,7 @@ a = b; //// [cyclicTypeInstantiation.js] +"use strict"; function foo() { var x; return x; diff --git a/tests/baselines/reference/dataViewConstructor.js b/tests/baselines/reference/dataViewConstructor.js index 9e205f8aa5a42..f515fd85b2f79 100644 --- a/tests/baselines/reference/dataViewConstructor.js +++ b/tests/baselines/reference/dataViewConstructor.js @@ -4,4 +4,5 @@ new DataView(new Uint8Array(32)); // should error //// [dataViewConstructor.js] +"use strict"; new DataView(new Uint8Array(32)); // should error diff --git a/tests/baselines/reference/debugger.js b/tests/baselines/reference/debugger.js index 60c33ff9d6ab8..824d9834b8dd7 100644 --- a/tests/baselines/reference/debugger.js +++ b/tests/baselines/reference/debugger.js @@ -9,6 +9,7 @@ function foo() { } //// [debugger.js] +"use strict"; debugger; function foo() { debugger; diff --git a/tests/baselines/reference/debuggerEmit.js b/tests/baselines/reference/debuggerEmit.js index 0c51047a73675..ca9230f2a57dc 100644 --- a/tests/baselines/reference/debuggerEmit.js +++ b/tests/baselines/reference/debuggerEmit.js @@ -5,5 +5,6 @@ var x = function () { debugger; } x(); //// [debuggerEmit.js] +"use strict"; var x = function () { debugger; }; x(); diff --git a/tests/baselines/reference/declFileAccessors.js b/tests/baselines/reference/declFileAccessors.js index 69812fdbf1186..ff6142bfc0e70 100644 --- a/tests/baselines/reference/declFileAccessors.js +++ b/tests/baselines/reference/declFileAccessors.js @@ -187,6 +187,7 @@ var c1 = /** @class */ (function () { }()); exports.c1 = c1; //// [declFileAccessors_1.js] +"use strict"; /** This is comment for c2 - the global class*/ var c2 = /** @class */ (function () { function c2() { diff --git a/tests/baselines/reference/declFileAliasUseBeforeDeclaration2.js b/tests/baselines/reference/declFileAliasUseBeforeDeclaration2.js index 5853848f91032..c5880714a46a8 100644 --- a/tests/baselines/reference/declFileAliasUseBeforeDeclaration2.js +++ b/tests/baselines/reference/declFileAliasUseBeforeDeclaration2.js @@ -12,6 +12,7 @@ declare module "test" { } //// [declFileAliasUseBeforeDeclaration2.js] +"use strict"; //// [declFileAliasUseBeforeDeclaration2.d.ts] diff --git a/tests/baselines/reference/declFileAmbientExternalModuleWithSingleExportedModule.js b/tests/baselines/reference/declFileAmbientExternalModuleWithSingleExportedModule.js index 267611214d374..c88b0cd9366ac 100644 --- a/tests/baselines/reference/declFileAmbientExternalModuleWithSingleExportedModule.js +++ b/tests/baselines/reference/declFileAmbientExternalModuleWithSingleExportedModule.js @@ -18,6 +18,7 @@ export var x: SubModule.m.m3.c; //// [declFileAmbientExternalModuleWithSingleExportedModule_0.js] +"use strict"; //// [declFileAmbientExternalModuleWithSingleExportedModule_1.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/declFileCallSignatures.js b/tests/baselines/reference/declFileCallSignatures.js index a0a015591a980..ebaa2f98704d0 100644 --- a/tests/baselines/reference/declFileCallSignatures.js +++ b/tests/baselines/reference/declFileCallSignatures.js @@ -68,6 +68,7 @@ interface IGlobalCallSignatureWithOwnTypeParametes { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [declFileCallSignatures_1.js] +"use strict"; //// [declFileCallSignatures_0.d.ts] diff --git a/tests/baselines/reference/declFileClassExtendsNull.js b/tests/baselines/reference/declFileClassExtendsNull.js index 774e03f0435c3..8b799c93b5df6 100644 --- a/tests/baselines/reference/declFileClassExtendsNull.js +++ b/tests/baselines/reference/declFileClassExtendsNull.js @@ -5,6 +5,7 @@ class ExtendsNull extends null { } //// [declFileClassExtendsNull.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declFileClassWithIndexSignature.js b/tests/baselines/reference/declFileClassWithIndexSignature.js index 6ef7636ed23c1..691d00fb75806 100644 --- a/tests/baselines/reference/declFileClassWithIndexSignature.js +++ b/tests/baselines/reference/declFileClassWithIndexSignature.js @@ -6,6 +6,7 @@ class BlockIntrinsics { } //// [declFileClassWithIndexSignature.js] +"use strict"; var BlockIntrinsics = /** @class */ (function () { function BlockIntrinsics() { } diff --git a/tests/baselines/reference/declFileConstructSignatures.js b/tests/baselines/reference/declFileConstructSignatures.js index f3b38442381fe..6ef499d15df3e 100644 --- a/tests/baselines/reference/declFileConstructSignatures.js +++ b/tests/baselines/reference/declFileConstructSignatures.js @@ -68,6 +68,7 @@ interface IGlobalConstructSignatureWithOwnTypeParametes { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [declFileConstructSignatures_1.js] +"use strict"; //// [declFileConstructSignatures_0.d.ts] diff --git a/tests/baselines/reference/declFileConstructors.js b/tests/baselines/reference/declFileConstructors.js index 98e2da4aa6607..c28391ba05dca 100644 --- a/tests/baselines/reference/declFileConstructors.js +++ b/tests/baselines/reference/declFileConstructors.js @@ -164,6 +164,7 @@ var ConstructorWithParameterInitializer = /** @class */ (function () { }()); exports.ConstructorWithParameterInitializer = ConstructorWithParameterInitializer; //// [declFileConstructors_1.js] +"use strict"; var GlobalSimpleConstructor = /** @class */ (function () { /** This comment should appear for foo*/ function GlobalSimpleConstructor() { diff --git a/tests/baselines/reference/declFileEnumUsedAsValue.js b/tests/baselines/reference/declFileEnumUsedAsValue.js index 75391fc20160a..5b06e0ea21649 100644 --- a/tests/baselines/reference/declFileEnumUsedAsValue.js +++ b/tests/baselines/reference/declFileEnumUsedAsValue.js @@ -9,6 +9,7 @@ enum e { var x = e; //// [declFileEnumUsedAsValue.js] +"use strict"; var e; (function (e) { e[e["a"] = 0] = "a"; diff --git a/tests/baselines/reference/declFileEnums.js b/tests/baselines/reference/declFileEnums.js index f4fba9f5b3551..307efa09ea2bc 100644 --- a/tests/baselines/reference/declFileEnums.js +++ b/tests/baselines/reference/declFileEnums.js @@ -38,6 +38,7 @@ enum e5 { //// [declFileEnums.js] +"use strict"; var e1; (function (e1) { e1[e1["a"] = 0] = "a"; diff --git a/tests/baselines/reference/declFileForClassWithMultipleBaseClasses.js b/tests/baselines/reference/declFileForClassWithMultipleBaseClasses.js index e1e876742909f..79da6577352a8 100644 --- a/tests/baselines/reference/declFileForClassWithMultipleBaseClasses.js +++ b/tests/baselines/reference/declFileForClassWithMultipleBaseClasses.js @@ -29,6 +29,7 @@ interface I extends A, B { } //// [declFileForClassWithMultipleBaseClasses.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/declFileForClassWithPrivateOverloadedFunction.js b/tests/baselines/reference/declFileForClassWithPrivateOverloadedFunction.js index 59c46045f3cd6..58ab00ed5e49e 100644 --- a/tests/baselines/reference/declFileForClassWithPrivateOverloadedFunction.js +++ b/tests/baselines/reference/declFileForClassWithPrivateOverloadedFunction.js @@ -8,6 +8,7 @@ class C { } //// [declFileForClassWithPrivateOverloadedFunction.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/declFileForFunctionTypeAsTypeParameter.js b/tests/baselines/reference/declFileForFunctionTypeAsTypeParameter.js index ab40c6094ce72..ea3580c90afcb 100644 --- a/tests/baselines/reference/declFileForFunctionTypeAsTypeParameter.js +++ b/tests/baselines/reference/declFileForFunctionTypeAsTypeParameter.js @@ -11,6 +11,7 @@ interface I extends X<() => number> { //// [declFileForFunctionTypeAsTypeParameter.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declFileForInterfaceWithOptionalFunction.js b/tests/baselines/reference/declFileForInterfaceWithOptionalFunction.js index 4d7425fb9c4db..07efdf824b27d 100644 --- a/tests/baselines/reference/declFileForInterfaceWithOptionalFunction.js +++ b/tests/baselines/reference/declFileForInterfaceWithOptionalFunction.js @@ -7,6 +7,7 @@ interface I { } //// [declFileForInterfaceWithOptionalFunction.js] +"use strict"; //// [declFileForInterfaceWithOptionalFunction.d.ts] diff --git a/tests/baselines/reference/declFileForInterfaceWithRestParams.js b/tests/baselines/reference/declFileForInterfaceWithRestParams.js index 48221281d3b3d..1cf559fa70b26 100644 --- a/tests/baselines/reference/declFileForInterfaceWithRestParams.js +++ b/tests/baselines/reference/declFileForInterfaceWithRestParams.js @@ -8,6 +8,7 @@ interface I { } //// [declFileForInterfaceWithRestParams.js] +"use strict"; //// [declFileForInterfaceWithRestParams.d.ts] diff --git a/tests/baselines/reference/declFileForTypeParameters.js b/tests/baselines/reference/declFileForTypeParameters.js index b0dbb15ab5e7d..35880f0dc6c20 100644 --- a/tests/baselines/reference/declFileForTypeParameters.js +++ b/tests/baselines/reference/declFileForTypeParameters.js @@ -9,6 +9,7 @@ class C { } //// [declFileForTypeParameters.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/declFileForVarList.js b/tests/baselines/reference/declFileForVarList.js index 41aac261261be..d0b0ef9f57428 100644 --- a/tests/baselines/reference/declFileForVarList.js +++ b/tests/baselines/reference/declFileForVarList.js @@ -5,6 +5,7 @@ var x, y, z = 1; var x1 = 1, y2 = 2, z2 = 3; //// [declFileForVarList.js] +"use strict"; var x, y, z = 1; var x1 = 1, y2 = 2, z2 = 3; diff --git a/tests/baselines/reference/declFileFunctions.js b/tests/baselines/reference/declFileFunctions.js index 0f9c7e00450c5..ea2ebb85171c5 100644 --- a/tests/baselines/reference/declFileFunctions.js +++ b/tests/baselines/reference/declFileFunctions.js @@ -146,6 +146,7 @@ function nonExportedFooWithOverloads(a) { return a; } //// [declFileFunctions_1.js] +"use strict"; /** This comment should appear for foo*/ function globalfoo() { } diff --git a/tests/baselines/reference/declFileGenericClassWithGenericExtendedClass.js b/tests/baselines/reference/declFileGenericClassWithGenericExtendedClass.js index c34dd07ab8533..724b901e433b9 100644 --- a/tests/baselines/reference/declFileGenericClassWithGenericExtendedClass.js +++ b/tests/baselines/reference/declFileGenericClassWithGenericExtendedClass.js @@ -15,6 +15,7 @@ class Baz implements IBar { //// [declFileGenericClassWithGenericExtendedClass.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declFileGenericType2.js b/tests/baselines/reference/declFileGenericType2.js index 96abcba6ce793..5a427b0fe75c2 100644 --- a/tests/baselines/reference/declFileGenericType2.js +++ b/tests/baselines/reference/declFileGenericType2.js @@ -44,6 +44,7 @@ namespace templa.dom.mvc.composite { //// [declFileGenericType2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declFileImportedTypeUseInTypeArgPosition.js b/tests/baselines/reference/declFileImportedTypeUseInTypeArgPosition.js index 46c63b75d42d8..7815373c04653 100644 --- a/tests/baselines/reference/declFileImportedTypeUseInTypeArgPosition.js +++ b/tests/baselines/reference/declFileImportedTypeUseInTypeArgPosition.js @@ -16,6 +16,7 @@ declare module 'moo' { //// [declFileImportedTypeUseInTypeArgPosition.js] +"use strict"; var List = /** @class */ (function () { function List() { } diff --git a/tests/baselines/reference/declFileIndexSignatures.js b/tests/baselines/reference/declFileIndexSignatures.js index 0282816e9d868..5598df2f24d09 100644 --- a/tests/baselines/reference/declFileIndexSignatures.js +++ b/tests/baselines/reference/declFileIndexSignatures.js @@ -38,6 +38,7 @@ interface IGlobalIndexSignatureWithTypeParameter { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [declFileIndexSignatures_1.js] +"use strict"; //// [declFileIndexSignatures_0.d.ts] diff --git a/tests/baselines/reference/declFileInternalAliases.js b/tests/baselines/reference/declFileInternalAliases.js index 87dfcac577771..89f0b4c84ae4b 100644 --- a/tests/baselines/reference/declFileInternalAliases.js +++ b/tests/baselines/reference/declFileInternalAliases.js @@ -15,6 +15,7 @@ namespace m2 { } //// [declFileInternalAliases.js] +"use strict"; var m; (function (m) { var c = /** @class */ (function () { diff --git a/tests/baselines/reference/declFileMethods.js b/tests/baselines/reference/declFileMethods.js index 63208115e8c1f..71822e07cfb81 100644 --- a/tests/baselines/reference/declFileMethods.js +++ b/tests/baselines/reference/declFileMethods.js @@ -276,6 +276,7 @@ var c1 = /** @class */ (function () { }()); exports.c1 = c1; //// [declFileMethods_1.js] +"use strict"; var c2 = /** @class */ (function () { function c2() { } diff --git a/tests/baselines/reference/declFileModuleAssignmentInObjectLiteralProperty.js b/tests/baselines/reference/declFileModuleAssignmentInObjectLiteralProperty.js index 0a7d2dec1624b..5125cdc8c8fe7 100644 --- a/tests/baselines/reference/declFileModuleAssignmentInObjectLiteralProperty.js +++ b/tests/baselines/reference/declFileModuleAssignmentInObjectLiteralProperty.js @@ -11,6 +11,7 @@ var d = { }; //// [declFileModuleAssignmentInObjectLiteralProperty.js] +"use strict"; var m1; (function (m1) { var c = /** @class */ (function () { diff --git a/tests/baselines/reference/declFileModuleContinuation.js b/tests/baselines/reference/declFileModuleContinuation.js index 6e9629e9242e1..faa77cb869f82 100644 --- a/tests/baselines/reference/declFileModuleContinuation.js +++ b/tests/baselines/reference/declFileModuleContinuation.js @@ -12,6 +12,7 @@ namespace A.B.C { } //// [declFileModuleContinuation.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/declFileModuleWithPropertyOfTypeModule.js b/tests/baselines/reference/declFileModuleWithPropertyOfTypeModule.js index 25b4c9c7eddf6..87794f893f205 100644 --- a/tests/baselines/reference/declFileModuleWithPropertyOfTypeModule.js +++ b/tests/baselines/reference/declFileModuleWithPropertyOfTypeModule.js @@ -9,6 +9,7 @@ namespace m { } //// [declFileModuleWithPropertyOfTypeModule.js] +"use strict"; var m; (function (m) { var c = /** @class */ (function () { diff --git a/tests/baselines/reference/declFileObjectLiteralWithAccessors.js b/tests/baselines/reference/declFileObjectLiteralWithAccessors.js index a0feaea61b7ed..8edfcb1d8f3e3 100644 --- a/tests/baselines/reference/declFileObjectLiteralWithAccessors.js +++ b/tests/baselines/reference/declFileObjectLiteralWithAccessors.js @@ -13,6 +13,7 @@ var /*2*/x = point.x; point./*3*/x = 30; //// [declFileObjectLiteralWithAccessors.js] +"use strict"; function makePoint(x) { return { b: 10, diff --git a/tests/baselines/reference/declFileObjectLiteralWithOnlyGetter.js b/tests/baselines/reference/declFileObjectLiteralWithOnlyGetter.js index 379fd73856a90..4eb531710c6e2 100644 --- a/tests/baselines/reference/declFileObjectLiteralWithOnlyGetter.js +++ b/tests/baselines/reference/declFileObjectLiteralWithOnlyGetter.js @@ -11,6 +11,7 @@ var /*2*/x = point./*3*/x; //// [declFileObjectLiteralWithOnlyGetter.js] +"use strict"; function makePoint(x) { return { get x() { return x; }, diff --git a/tests/baselines/reference/declFileObjectLiteralWithOnlySetter.js b/tests/baselines/reference/declFileObjectLiteralWithOnlySetter.js index aa5d6bfa3e07f..97cb5cc259458 100644 --- a/tests/baselines/reference/declFileObjectLiteralWithOnlySetter.js +++ b/tests/baselines/reference/declFileObjectLiteralWithOnlySetter.js @@ -11,6 +11,7 @@ var /*3*/point = makePoint(2); point./*2*/x = 30; //// [declFileObjectLiteralWithOnlySetter.js] +"use strict"; function makePoint(x) { return { b: 10, diff --git a/tests/baselines/reference/declFileOptionalInterfaceMethod.js b/tests/baselines/reference/declFileOptionalInterfaceMethod.js index e0a9e095a482c..180a7a27463f7 100644 --- a/tests/baselines/reference/declFileOptionalInterfaceMethod.js +++ b/tests/baselines/reference/declFileOptionalInterfaceMethod.js @@ -7,6 +7,7 @@ interface X { //// [declFileOptionalInterfaceMethod.js] +"use strict"; //// [declFileOptionalInterfaceMethod.d.ts] diff --git a/tests/baselines/reference/declFilePrivateMethodOverloads.js b/tests/baselines/reference/declFilePrivateMethodOverloads.js index 36e5e19d37453..6eb5d01a6b998 100644 --- a/tests/baselines/reference/declFilePrivateMethodOverloads.js +++ b/tests/baselines/reference/declFilePrivateMethodOverloads.js @@ -25,6 +25,7 @@ declare class c2 { } //// [declFilePrivateMethodOverloads.js] +"use strict"; var c1 = /** @class */ (function () { function c1() { } diff --git a/tests/baselines/reference/declFilePrivateStatic.js b/tests/baselines/reference/declFilePrivateStatic.js index 888f7014c6d25..ecd87027f0d28 100644 --- a/tests/baselines/reference/declFilePrivateStatic.js +++ b/tests/baselines/reference/declFilePrivateStatic.js @@ -16,6 +16,7 @@ class C { } //// [declFilePrivateStatic.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/declFileRegressionTests.js b/tests/baselines/reference/declFileRegressionTests.js index ddc4f349be0cb..c2a41f24f02df 100644 --- a/tests/baselines/reference/declFileRegressionTests.js +++ b/tests/baselines/reference/declFileRegressionTests.js @@ -8,6 +8,7 @@ var n = { w: null, x: '', y: () => { }, z: 32 }; //// [declFileRegressionTests.js] +"use strict"; // 'null' not converted to 'any' in d.ts // function types not piped through correctly var n = { w: null, x: '', y: function () { }, z: 32 }; diff --git a/tests/baselines/reference/declFileRestParametersOfFunctionAndFunctionType.js b/tests/baselines/reference/declFileRestParametersOfFunctionAndFunctionType.js index fe92fba48b2d2..63e811b976027 100644 --- a/tests/baselines/reference/declFileRestParametersOfFunctionAndFunctionType.js +++ b/tests/baselines/reference/declFileRestParametersOfFunctionAndFunctionType.js @@ -12,6 +12,7 @@ var f6 = () => { return [10]; } //// [declFileRestParametersOfFunctionAndFunctionType.js] +"use strict"; function f1() { var args = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/declFileTypeAnnotationArrayType.js b/tests/baselines/reference/declFileTypeAnnotationArrayType.js index 0fbdd8bed4e0a..2ffa396a8d9d6 100644 --- a/tests/baselines/reference/declFileTypeAnnotationArrayType.js +++ b/tests/baselines/reference/declFileTypeAnnotationArrayType.js @@ -53,6 +53,7 @@ function foo10() { } //// [declFileTypeAnnotationArrayType.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/declFileTypeAnnotationBuiltInType.js b/tests/baselines/reference/declFileTypeAnnotationBuiltInType.js index f81cd5bd69c5c..b27dc51778eaf 100644 --- a/tests/baselines/reference/declFileTypeAnnotationBuiltInType.js +++ b/tests/baselines/reference/declFileTypeAnnotationBuiltInType.js @@ -42,6 +42,7 @@ function foo10() { } //// [declFileTypeAnnotationBuiltInType.js] +"use strict"; // string function foo() { return ""; diff --git a/tests/baselines/reference/declFileTypeAnnotationParenType.js b/tests/baselines/reference/declFileTypeAnnotationParenType.js index 6a1ddfef1331f..9bdf3ee1a8f8a 100644 --- a/tests/baselines/reference/declFileTypeAnnotationParenType.js +++ b/tests/baselines/reference/declFileTypeAnnotationParenType.js @@ -12,6 +12,7 @@ var k: (() => c) | string = (() => new c()) || ""; var l = (() => new c()) || ""; //// [declFileTypeAnnotationParenType.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/declFileTypeAnnotationStringLiteral.js b/tests/baselines/reference/declFileTypeAnnotationStringLiteral.js index 2884be0a1e805..0f1d2413c23b6 100644 --- a/tests/baselines/reference/declFileTypeAnnotationStringLiteral.js +++ b/tests/baselines/reference/declFileTypeAnnotationStringLiteral.js @@ -13,6 +13,7 @@ function foo(a: string): string | number { } //// [declFileTypeAnnotationStringLiteral.js] +"use strict"; function foo(a) { if (a === "hello") { return a.length; diff --git a/tests/baselines/reference/declFileTypeAnnotationTupleType.js b/tests/baselines/reference/declFileTypeAnnotationTupleType.js index 692582868766a..69a1bd6e0dad5 100644 --- a/tests/baselines/reference/declFileTypeAnnotationTupleType.js +++ b/tests/baselines/reference/declFileTypeAnnotationTupleType.js @@ -20,6 +20,7 @@ var x: [g, m.g, () => c] = [new g(), new m.g(), var y = x; //// [declFileTypeAnnotationTupleType.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/declFileTypeAnnotationTypeAlias.js b/tests/baselines/reference/declFileTypeAnnotationTypeAlias.js index e3a93bda3283b..6e2654ffae996 100644 --- a/tests/baselines/reference/declFileTypeAnnotationTypeAlias.js +++ b/tests/baselines/reference/declFileTypeAnnotationTypeAlias.js @@ -33,6 +33,7 @@ namespace M { } //// [declFileTypeAnnotationTypeAlias.js] +"use strict"; var M; (function (M) { var c = /** @class */ (function () { diff --git a/tests/baselines/reference/declFileTypeAnnotationTypeLiteral.js b/tests/baselines/reference/declFileTypeAnnotationTypeLiteral.js index 9b8f2f3f7b05c..06eb4f2d5bf53 100644 --- a/tests/baselines/reference/declFileTypeAnnotationTypeLiteral.js +++ b/tests/baselines/reference/declFileTypeAnnotationTypeLiteral.js @@ -41,6 +41,7 @@ var y: (a: string) => string; var z: new (a: string) => m.c; //// [declFileTypeAnnotationTypeLiteral.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/declFileTypeAnnotationTypeQuery.js b/tests/baselines/reference/declFileTypeAnnotationTypeQuery.js index f5f0f1eb99997..3dc5b4613b996 100644 --- a/tests/baselines/reference/declFileTypeAnnotationTypeQuery.js +++ b/tests/baselines/reference/declFileTypeAnnotationTypeQuery.js @@ -45,6 +45,7 @@ function foo8() { } //// [declFileTypeAnnotationTypeQuery.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/declFileTypeAnnotationTypeReference.js b/tests/baselines/reference/declFileTypeAnnotationTypeReference.js index a13f38e78ead8..153f095acf24b 100644 --- a/tests/baselines/reference/declFileTypeAnnotationTypeReference.js +++ b/tests/baselines/reference/declFileTypeAnnotationTypeReference.js @@ -45,6 +45,7 @@ function foo8() { } //// [declFileTypeAnnotationTypeReference.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/declFileTypeAnnotationUnionType.js b/tests/baselines/reference/declFileTypeAnnotationUnionType.js index 197ad34d440a9..4f4d7ac14370a 100644 --- a/tests/baselines/reference/declFileTypeAnnotationUnionType.js +++ b/tests/baselines/reference/declFileTypeAnnotationUnionType.js @@ -24,6 +24,7 @@ var x: g | m.g | (() => c) = new g() || new m.g() || new m.g() || (() => new c()); //// [declFileTypeAnnotationUnionType.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorAccessors.js b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorAccessors.js index 9cec0df4b5b79..ca842a1c7eff5 100644 --- a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorAccessors.js +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorAccessors.js @@ -102,6 +102,7 @@ namespace m { //// [declFileTypeAnnotationVisibilityErrorAccessors.js] +"use strict"; var m; (function (m) { var private1 = /** @class */ (function () { diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction.js b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction.js index 4f675d9e4bb8f..b32261a263d0f 100644 --- a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction.js +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorParameterOfFunction.js @@ -47,6 +47,7 @@ namespace m { //// [declFileTypeAnnotationVisibilityErrorParameterOfFunction.js] +"use strict"; var m; (function (m) { var private1 = /** @class */ (function () { diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.js b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.js index b125f13b8390f..7d3810f1a591e 100644 --- a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.js +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.js @@ -59,6 +59,7 @@ namespace m { //// [declFileTypeAnnotationVisibilityErrorReturnTypeOfFunction.js] +"use strict"; var m; (function (m) { var private1 = /** @class */ (function () { diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeAlias.js b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeAlias.js index 4eeac635d81c1..22b224385d689 100644 --- a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeAlias.js +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeAlias.js @@ -43,6 +43,7 @@ namespace M2 { //// [declFileTypeAnnotationVisibilityErrorTypeAlias.js] +"use strict"; var M; (function (M) { var N; diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral.js b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral.js index 70131c134a387..dd583b3bfa54b 100644 --- a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral.js +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorTypeLiteral.js @@ -36,6 +36,7 @@ namespace m { } //// [declFileTypeAnnotationVisibilityErrorTypeLiteral.js] +"use strict"; var m; (function (m) { var private1 = /** @class */ (function () { diff --git a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorVariableDeclaration.js b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorVariableDeclaration.js index 68b0fcaf5c7c5..741890d4db0e6 100644 --- a/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorVariableDeclaration.js +++ b/tests/baselines/reference/declFileTypeAnnotationVisibilityErrorVariableDeclaration.js @@ -35,6 +35,7 @@ namespace m { //// [declFileTypeAnnotationVisibilityErrorVariableDeclaration.js] +"use strict"; var m; (function (m) { var private1 = /** @class */ (function () { diff --git a/tests/baselines/reference/declFileTypeofClass.js b/tests/baselines/reference/declFileTypeofClass.js index 1a6c7fe6c14d7..0cbf089b89cf2 100644 --- a/tests/baselines/reference/declFileTypeofClass.js +++ b/tests/baselines/reference/declFileTypeofClass.js @@ -18,6 +18,7 @@ var genericX = genericC; //// [declFileTypeofClass.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/declFileTypeofEnum.js b/tests/baselines/reference/declFileTypeofEnum.js index 7ce8b9d2626ec..29ee4604be525 100644 --- a/tests/baselines/reference/declFileTypeofEnum.js +++ b/tests/baselines/reference/declFileTypeofEnum.js @@ -16,6 +16,7 @@ var daysOfMonth = days; var daysOfYear: typeof days; //// [declFileTypeofEnum.js] +"use strict"; var days; (function (days) { days[days["monday"] = 0] = "monday"; diff --git a/tests/baselines/reference/declFileTypeofFunction.js b/tests/baselines/reference/declFileTypeofFunction.js index bc2e82a5dfa41..246c8a148302e 100644 --- a/tests/baselines/reference/declFileTypeofFunction.js +++ b/tests/baselines/reference/declFileTypeofFunction.js @@ -35,6 +35,7 @@ function foo5(x: number) { } //// [declFileTypeofFunction.js] +"use strict"; function f() { return undefined; } function g() { return undefined; } var b; diff --git a/tests/baselines/reference/declFileTypeofInAnonymousType.js b/tests/baselines/reference/declFileTypeofInAnonymousType.js index 8ee97c1648586..6e0766edbaa88 100644 --- a/tests/baselines/reference/declFileTypeofInAnonymousType.js +++ b/tests/baselines/reference/declFileTypeofInAnonymousType.js @@ -24,6 +24,7 @@ var d = { }; //// [declFileTypeofInAnonymousType.js] +"use strict"; var m1; (function (m1) { var c = /** @class */ (function () { diff --git a/tests/baselines/reference/declFileTypeofModule.js b/tests/baselines/reference/declFileTypeofModule.js index 54927390c252b..8212ef8a5d263 100644 --- a/tests/baselines/reference/declFileTypeofModule.js +++ b/tests/baselines/reference/declFileTypeofModule.js @@ -15,6 +15,7 @@ var m2_1 = m2; var m2_2: typeof m2; //// [declFileTypeofModule.js] +"use strict"; var m1; (function (m1) { })(m1 || (m1 = {})); diff --git a/tests/baselines/reference/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js b/tests/baselines/reference/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js index 2263b14e9f0c5..92b0ec719810a 100644 --- a/tests/baselines/reference/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js +++ b/tests/baselines/reference/declFileWithClassNameConflictingWithClassReferredByExtendsClause.js @@ -22,6 +22,7 @@ namespace X.Y.base.Z { //// [declFileWithClassNameConflictingWithClassReferredByExtendsClause.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declFileWithErrorsInInputDeclarationFile.js b/tests/baselines/reference/declFileWithErrorsInInputDeclarationFile.js index 8efe2ad37a503..4a6b5fa3d9d94 100644 --- a/tests/baselines/reference/declFileWithErrorsInInputDeclarationFile.js +++ b/tests/baselines/reference/declFileWithErrorsInInputDeclarationFile.js @@ -16,6 +16,7 @@ var x = new M.C(); // Declaration file wont get emitted because there are errors //// [client.js] +"use strict"; /// var x = new M.C(); // Declaration file wont get emitted because there are errors in declaration file diff --git a/tests/baselines/reference/declFileWithErrorsInInputDeclarationFileWithOut.js b/tests/baselines/reference/declFileWithErrorsInInputDeclarationFileWithOut.js index 083bbf465580b..6469886bb9967 100644 --- a/tests/baselines/reference/declFileWithErrorsInInputDeclarationFileWithOut.js +++ b/tests/baselines/reference/declFileWithErrorsInInputDeclarationFileWithOut.js @@ -16,6 +16,7 @@ var x = new M.C(); // Declaration file wont get emitted because there are errors //// [out.js] +"use strict"; /// var x = new M.C(); // Declaration file wont get emitted because there are errors in declaration file diff --git a/tests/baselines/reference/declFileWithExtendsClauseThatHasItsContainerNameConflict.js b/tests/baselines/reference/declFileWithExtendsClauseThatHasItsContainerNameConflict.js index d807873cd5f88..9a0ba8e4c5221 100644 --- a/tests/baselines/reference/declFileWithExtendsClauseThatHasItsContainerNameConflict.js +++ b/tests/baselines/reference/declFileWithExtendsClauseThatHasItsContainerNameConflict.js @@ -20,6 +20,7 @@ namespace A.B.C { } //// [declFileWithExtendsClauseThatHasItsContainerNameConflict.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause1.js b/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause1.js index 504c83dd9f100..cfbbccf7158cf 100644 --- a/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause1.js +++ b/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause1.js @@ -13,6 +13,7 @@ namespace X.A.B.C { } //// [declFileWithInternalModuleNameConflictsInExtendsClause1.js] +"use strict"; var X; (function (X) { var A; diff --git a/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause2.js b/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause2.js index 0453e54557897..4733c90e6ebe4 100644 --- a/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause2.js +++ b/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause2.js @@ -16,6 +16,7 @@ namespace X.A.B.C { } //// [declFileWithInternalModuleNameConflictsInExtendsClause2.js] +"use strict"; var X; (function (X) { var A; diff --git a/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause3.js b/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause3.js index dcdaacc2298c7..c3d09a2916018 100644 --- a/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause3.js +++ b/tests/baselines/reference/declFileWithInternalModuleNameConflictsInExtendsClause3.js @@ -16,6 +16,7 @@ namespace X.A.B.C { } //// [declFileWithInternalModuleNameConflictsInExtendsClause3.js] +"use strict"; var X; (function (X) { var A; diff --git a/tests/baselines/reference/declInput-2.js b/tests/baselines/reference/declInput-2.js index 9ef3a296a0572..b5bf9f258ea85 100644 --- a/tests/baselines/reference/declInput-2.js +++ b/tests/baselines/reference/declInput-2.js @@ -24,6 +24,7 @@ namespace M { } //// [declInput-2.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/declInput.js b/tests/baselines/reference/declInput.js index aab6aa8728d16..3a1c4fee5011e 100644 --- a/tests/baselines/reference/declInput.js +++ b/tests/baselines/reference/declInput.js @@ -13,6 +13,7 @@ class bar { //// [declInput.js] +"use strict"; var bar = /** @class */ (function () { function bar() { } diff --git a/tests/baselines/reference/declInput3.js b/tests/baselines/reference/declInput3.js index 6ece94c6df1e1..1c0e2f5f8e8a0 100644 --- a/tests/baselines/reference/declInput3.js +++ b/tests/baselines/reference/declInput3.js @@ -13,6 +13,7 @@ class bar { //// [declInput3.js] +"use strict"; var bar = /** @class */ (function () { function bar() { } diff --git a/tests/baselines/reference/declInput4.js b/tests/baselines/reference/declInput4.js index d7c20cbcca3bc..44a315f0592d8 100644 --- a/tests/baselines/reference/declInput4.js +++ b/tests/baselines/reference/declInput4.js @@ -18,6 +18,7 @@ namespace M { } //// [declInput4.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/declarationEmitArrayTypesFromGenericArrayUsage.js b/tests/baselines/reference/declarationEmitArrayTypesFromGenericArrayUsage.js index 82cd9e033bfe0..734162a1922b2 100644 --- a/tests/baselines/reference/declarationEmitArrayTypesFromGenericArrayUsage.js +++ b/tests/baselines/reference/declarationEmitArrayTypesFromGenericArrayUsage.js @@ -5,6 +5,7 @@ interface A extends Array { } //// [declarationEmitArrayTypesFromGenericArrayUsage.js] +"use strict"; //// [declarationEmitArrayTypesFromGenericArrayUsage.d.ts] diff --git a/tests/baselines/reference/declarationEmitBindingPatterns.js b/tests/baselines/reference/declarationEmitBindingPatterns.js index 04c2bef0ed6d6..6251df1d3d7ec 100644 --- a/tests/baselines/reference/declarationEmitBindingPatterns.js +++ b/tests/baselines/reference/declarationEmitBindingPatterns.js @@ -8,6 +8,7 @@ function f({} = a, [] = a, { p: {} = a} = a) { } //// [declarationEmitBindingPatterns.js] +"use strict"; var k = function (_a) { var _b = _a.x, z = _b === void 0 ? 'y' : _b; }; diff --git a/tests/baselines/reference/declarationEmitBindingPatternsFunctionExpr.js b/tests/baselines/reference/declarationEmitBindingPatternsFunctionExpr.js index cb2a774fe5036..63b46cfc5fa9e 100644 --- a/tests/baselines/reference/declarationEmitBindingPatternsFunctionExpr.js +++ b/tests/baselines/reference/declarationEmitBindingPatternsFunctionExpr.js @@ -17,6 +17,7 @@ let value = ""; const shadowedVariable = ({ value: alias }: { value: string }): typeof value => value; //// [declarationEmitBindingPatternsFunctionExpr.js] +"use strict"; // Tempting to remove alias if unused let notReferenced = ({ name: alias }) => { }; // Resons we can't remove aliases that are not used in the function signature: diff --git a/tests/baselines/reference/declarationEmitBindingPatternsUnused.js b/tests/baselines/reference/declarationEmitBindingPatternsUnused.js index 3452e6cc8b0e8..a81027c2f78ee 100644 --- a/tests/baselines/reference/declarationEmitBindingPatternsUnused.js +++ b/tests/baselines/reference/declarationEmitBindingPatternsUnused.js @@ -124,6 +124,7 @@ interface ReferencedInSignartureInterface { } //// [declarationEmitBindingPatternsUnused.js] +"use strict"; // Resons we can't remove aliases that are not used in the function signature: // 1.Causes duplicate identifier if we remove alias function duplicateIndetifiers({ name: alias, name: alias2 }) { } diff --git a/tests/baselines/reference/declarationEmitClassMemberNameConflict2.js b/tests/baselines/reference/declarationEmitClassMemberNameConflict2.js index 8ecf384c0b594..a4913821c46c9 100644 --- a/tests/baselines/reference/declarationEmitClassMemberNameConflict2.js +++ b/tests/baselines/reference/declarationEmitClassMemberNameConflict2.js @@ -23,6 +23,7 @@ class Foo { } //// [declarationEmitClassMemberNameConflict2.js] +"use strict"; var Bar = 'bar'; var Hello; (function (Hello) { diff --git a/tests/baselines/reference/declarationEmitDestructuring1.js b/tests/baselines/reference/declarationEmitDestructuring1.js index 52b6ca6393f8e..ca61cc68de3b8 100644 --- a/tests/baselines/reference/declarationEmitDestructuring1.js +++ b/tests/baselines/reference/declarationEmitDestructuring1.js @@ -8,6 +8,7 @@ function baz({a2, b2: {b1, c1}}: { a2: number, b2: { b1: boolean, c1: string } } //// [declarationEmitDestructuring1.js] +"use strict"; function foo(_a) { var a = _a[0], b = _a[1], c = _a[2]; } diff --git a/tests/baselines/reference/declarationEmitDestructuring2.js b/tests/baselines/reference/declarationEmitDestructuring2.js index df680345ad5d0..17984389ade0f 100644 --- a/tests/baselines/reference/declarationEmitDestructuring2.js +++ b/tests/baselines/reference/declarationEmitDestructuring2.js @@ -7,6 +7,7 @@ function h([a, [b], [[c]], {x = 10, y: [a, b, c], z: {a1, b1}}]){ } function h1([a, [b], [[c]], {x = 10, y = [1, 2, 3], z: {a1, b1}}]){ } //// [declarationEmitDestructuring2.js] +"use strict"; function f(_a) { var _b = _a === void 0 ? { x: 10, y: [2, 4, 6, 8] } : _a, _c = _b.x, x = _c === void 0 ? 10 : _c, _d = _b.y, _e = _d === void 0 ? [1, 2, 3, 4] : _d, a = _e[0], b = _e[1], c = _e[2], d = _e[3]; } diff --git a/tests/baselines/reference/declarationEmitDestructuring3.js b/tests/baselines/reference/declarationEmitDestructuring3.js index b20658d75a208..118e4bd83805b 100644 --- a/tests/baselines/reference/declarationEmitDestructuring3.js +++ b/tests/baselines/reference/declarationEmitDestructuring3.js @@ -7,6 +7,7 @@ function foo([x, ...y] = [1, "string", true]) { } //// [declarationEmitDestructuring3.js] +"use strict"; function bar(_a) { var x = _a[0], z = _a[1], w = _a.slice(2); } diff --git a/tests/baselines/reference/declarationEmitDestructuring4.js b/tests/baselines/reference/declarationEmitDestructuring4.js index 7c465f0146c89..5b42327ffa964 100644 --- a/tests/baselines/reference/declarationEmitDestructuring4.js +++ b/tests/baselines/reference/declarationEmitDestructuring4.js @@ -14,6 +14,7 @@ function baz4({} = { x: 10 }) { } //// [declarationEmitDestructuring4.js] +"use strict"; // For an array binding pattern with empty elements, // we will not make any modification and will emit // the similar binding pattern users' have written diff --git a/tests/baselines/reference/declarationEmitDestructuring5.js b/tests/baselines/reference/declarationEmitDestructuring5.js index 4ef72c41ce25e..bfa29585ba700 100644 --- a/tests/baselines/reference/declarationEmitDestructuring5.js +++ b/tests/baselines/reference/declarationEmitDestructuring5.js @@ -8,6 +8,7 @@ function bar1([z, , , ] = [1, 3, 4, 6, 7]) { } function bar2([,,z, , , ]) { } //// [declarationEmitDestructuring5.js] +"use strict"; function baz(_a) { var z = _a[1]; } diff --git a/tests/baselines/reference/declarationEmitDestructuringArrayPattern1.js b/tests/baselines/reference/declarationEmitDestructuringArrayPattern1.js index 3babdc5349791..c617c1ce751bc 100644 --- a/tests/baselines/reference/declarationEmitDestructuringArrayPattern1.js +++ b/tests/baselines/reference/declarationEmitDestructuringArrayPattern1.js @@ -11,6 +11,7 @@ var [x2] = a; // emit x2: number | string var [x3, y3, z3] = a; // emit x3, y3, z3 //// [declarationEmitDestructuringArrayPattern1.js] +"use strict"; var _a = [1, "hello"]; // Dont emit anything var x = [1, "hello"][0]; // emit x: number var _b = [1, "hello"], x1 = _b[0], y1 = _b[1]; // emit x1: number, y1: string diff --git a/tests/baselines/reference/declarationEmitDestructuringArrayPattern2.js b/tests/baselines/reference/declarationEmitDestructuringArrayPattern2.js index e9753332a5999..25ee2f09063e5 100644 --- a/tests/baselines/reference/declarationEmitDestructuringArrayPattern2.js +++ b/tests/baselines/reference/declarationEmitDestructuringArrayPattern2.js @@ -13,6 +13,7 @@ var [a3, b3] = [[x13, y13], { x: x13, y: y13 }]; //// [declarationEmitDestructuringArrayPattern2.js] +"use strict"; var _a = [1, ["hello", [true]]], x10 = _a[0], _b = _a[1], y10 = _b[0], z10 = _b[1][0]; var _c = [1, "hello"], _d = _c[0], x11 = _d === void 0 ? 0 : _d, _e = _c[1], y11 = _e === void 0 ? "" : _e; var _f = [], a11 = _f[0], b11 = _f[1], c11 = _f[2]; diff --git a/tests/baselines/reference/declarationEmitDestructuringArrayPattern3.js b/tests/baselines/reference/declarationEmitDestructuringArrayPattern3.js index 9b0dc665e390a..5f40fc49a1b49 100644 --- a/tests/baselines/reference/declarationEmitDestructuringArrayPattern3.js +++ b/tests/baselines/reference/declarationEmitDestructuringArrayPattern3.js @@ -6,6 +6,7 @@ namespace M { } //// [declarationEmitDestructuringArrayPattern3.js] +"use strict"; var M; (function (M) { var _a; diff --git a/tests/baselines/reference/declarationEmitDestructuringArrayPattern4.js b/tests/baselines/reference/declarationEmitDestructuringArrayPattern4.js index 59c339072f7c7..07234b014ac54 100644 --- a/tests/baselines/reference/declarationEmitDestructuringArrayPattern4.js +++ b/tests/baselines/reference/declarationEmitDestructuringArrayPattern4.js @@ -12,6 +12,7 @@ var [x18, y18, ...a12] = [1, "hello", true]; var [x19, y19, z19, ...a13] = [1, "hello", true]; //// [declarationEmitDestructuringArrayPattern4.js] +"use strict"; var a5 = [1, 2, 3].slice(0); var _a = [1, 2, 3], x14 = _a[0], a6 = _a.slice(1); var _b = [1, 2, 3], x15 = _b[0], y15 = _b[1], a7 = _b.slice(2); diff --git a/tests/baselines/reference/declarationEmitDestructuringArrayPattern5.js b/tests/baselines/reference/declarationEmitDestructuringArrayPattern5.js index b185054421a96..58a8193c4ae50 100644 --- a/tests/baselines/reference/declarationEmitDestructuringArrayPattern5.js +++ b/tests/baselines/reference/declarationEmitDestructuringArrayPattern5.js @@ -6,6 +6,7 @@ var [, a, , ] = [3, 4, 5]; var [, , [, b, ]] = [3,5,[0, 1]]; //// [declarationEmitDestructuringArrayPattern5.js] +"use strict"; var _a = [1, 2, 4], z = _a[2]; var _b = [3, 4, 5], a = _b[1]; var _c = [3, 5, [0, 1]], _d = _c[2], b = _d[1]; diff --git a/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern.js b/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern.js index 1a62adf884fba..cc37ae55f73f6 100644 --- a/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern.js +++ b/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern.js @@ -24,6 +24,7 @@ namespace m { } //// [declarationEmitDestructuringObjectLiteralPattern.js] +"use strict"; var _a = { x: 5, y: "hello" }; var x4 = { x4: 5, y4: "hello" }.x4; var y5 = { x5: 5, y5: "hello" }.y5; diff --git a/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern1.js b/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern1.js index 89ccc43aec191..a65b722c5505d 100644 --- a/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern1.js +++ b/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern1.js @@ -10,6 +10,7 @@ var { y8: b1 } = { x8: 5, y8: "hello" }; var { x9: a2, y9: b2 } = { x9: 5, y9: "hello" }; //// [declarationEmitDestructuringObjectLiteralPattern1.js] +"use strict"; var _a = { x: 5, y: "hello" }; var x4 = { x4: 5, y4: "hello" }.x4; var y5 = { x5: 5, y5: "hello" }.y5; diff --git a/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern2.js b/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern2.js index 6ca61ccda6001..4dbd418438dd6 100644 --- a/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern2.js +++ b/tests/baselines/reference/declarationEmitDestructuringObjectLiteralPattern2.js @@ -16,6 +16,7 @@ namespace m { } //// [declarationEmitDestructuringObjectLiteralPattern2.js] +"use strict"; var _a = { a: 1, b: { a: "hello", b: { a: true } } }, x11 = _a.a, _b = _a.b, y11 = _b.a, z11 = _b.b.a; function f15() { var a4 = "hello"; diff --git a/tests/baselines/reference/declarationEmitDestructuringOptionalBindingParametersInOverloads.js b/tests/baselines/reference/declarationEmitDestructuringOptionalBindingParametersInOverloads.js index d2266d00eea93..f3cf390649b94 100644 --- a/tests/baselines/reference/declarationEmitDestructuringOptionalBindingParametersInOverloads.js +++ b/tests/baselines/reference/declarationEmitDestructuringOptionalBindingParametersInOverloads.js @@ -11,6 +11,7 @@ function foo2(...rest: any[]) { } //// [declarationEmitDestructuringOptionalBindingParametersInOverloads.js] +"use strict"; function foo() { var rest = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/declarationEmitDestructuringParameterProperties.js b/tests/baselines/reference/declarationEmitDestructuringParameterProperties.js index 206ac5da1bdcb..ee38f678c6305 100644 --- a/tests/baselines/reference/declarationEmitDestructuringParameterProperties.js +++ b/tests/baselines/reference/declarationEmitDestructuringParameterProperties.js @@ -19,6 +19,7 @@ class C3 { } //// [declarationEmitDestructuringParameterProperties.js] +"use strict"; var C1 = /** @class */ (function () { function C1(_a) { var x = _a[0], y = _a[1], z = _a[2]; diff --git a/tests/baselines/reference/declarationEmitDestructuringPrivacyError.js b/tests/baselines/reference/declarationEmitDestructuringPrivacyError.js index f3e0587a87324..6cdf3494e46fd 100644 --- a/tests/baselines/reference/declarationEmitDestructuringPrivacyError.js +++ b/tests/baselines/reference/declarationEmitDestructuringPrivacyError.js @@ -8,6 +8,7 @@ namespace m { } //// [declarationEmitDestructuringPrivacyError.js] +"use strict"; var m; (function (m) { var _a; diff --git a/tests/baselines/reference/declarationEmitDestructuringWithOptionalBindingParameters.js b/tests/baselines/reference/declarationEmitDestructuringWithOptionalBindingParameters.js index cfc80e1cb7d6f..bcb5114b6a153 100644 --- a/tests/baselines/reference/declarationEmitDestructuringWithOptionalBindingParameters.js +++ b/tests/baselines/reference/declarationEmitDestructuringWithOptionalBindingParameters.js @@ -7,6 +7,7 @@ function foo1( { x, y, z }?: { x: string; y: number; z: boolean }) { } //// [declarationEmitDestructuringWithOptionalBindingParameters.js] +"use strict"; function foo(_a) { var x = _a[0], y = _a[1], z = _a[2]; } diff --git a/tests/baselines/reference/declarationEmitDetachedComment1.js b/tests/baselines/reference/declarationEmitDetachedComment1.js index 6bc4f50a4a47a..660a16ffe0c92 100644 --- a/tests/baselines/reference/declarationEmitDetachedComment1.js +++ b/tests/baselines/reference/declarationEmitDetachedComment1.js @@ -32,6 +32,7 @@ class Hola { //// [test1.js] +"use strict"; /*! Copyright 2015 MyCompany Inc. */ /** * Hello class @@ -42,6 +43,7 @@ var Hello = /** @class */ (function () { return Hello; }()); //// [test2.js] +"use strict"; /* A comment at the top of the file. */ /** * Hi class @@ -52,6 +54,7 @@ var Hi = /** @class */ (function () { return Hi; }()); //// [test3.js] +"use strict"; // A one-line comment at the top of the file. /** * Hola class diff --git a/tests/baselines/reference/declarationEmitDetachedComment2.js b/tests/baselines/reference/declarationEmitDetachedComment2.js index 0874733e5327c..85705f4eecc27 100644 --- a/tests/baselines/reference/declarationEmitDetachedComment2.js +++ b/tests/baselines/reference/declarationEmitDetachedComment2.js @@ -32,6 +32,7 @@ class Hola { //// [test1.js] +"use strict"; /*! Copyright 2015 MyCompany Inc. */ var Hello = (function () { function Hello() { @@ -39,12 +40,14 @@ var Hello = (function () { return Hello; }()); //// [test2.js] +"use strict"; var Hi = (function () { function Hi() { } return Hi; }()); //// [test3.js] +"use strict"; var Hola = (function () { function Hola() { } diff --git a/tests/baselines/reference/declarationEmitEnumReadonlyProperty.js b/tests/baselines/reference/declarationEmitEnumReadonlyProperty.js index f7e9600c23275..1fedfb2ed7d0a 100644 --- a/tests/baselines/reference/declarationEmitEnumReadonlyProperty.js +++ b/tests/baselines/reference/declarationEmitEnumReadonlyProperty.js @@ -13,6 +13,7 @@ class C { let x: E.A = new C().type; //// [declarationEmitEnumReadonlyProperty.js] +"use strict"; var E; (function (E) { E["A"] = "a"; diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends.js b/tests/baselines/reference/declarationEmitExpressionInExtends.js index 9e1630b672502..96457bab60c29 100644 --- a/tests/baselines/reference/declarationEmitExpressionInExtends.js +++ b/tests/baselines/reference/declarationEmitExpressionInExtends.js @@ -16,6 +16,7 @@ var q: B; q.s; //// [declarationEmitExpressionInExtends.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends2.js b/tests/baselines/reference/declarationEmitExpressionInExtends2.js index e7ee7c34a4100..1f15cfe12f850 100644 --- a/tests/baselines/reference/declarationEmitExpressionInExtends2.js +++ b/tests/baselines/reference/declarationEmitExpressionInExtends2.js @@ -14,6 +14,7 @@ class MyClass extends getClass(2) { } //// [declarationEmitExpressionInExtends2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends4.js b/tests/baselines/reference/declarationEmitExpressionInExtends4.js index a5d57ceb73c95..f75654bc955bf 100644 --- a/tests/baselines/reference/declarationEmitExpressionInExtends4.js +++ b/tests/baselines/reference/declarationEmitExpressionInExtends4.js @@ -19,6 +19,7 @@ class C3 extends SomeUndefinedFunction { } //// [declarationEmitExpressionInExtends4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declarationEmitExpressionInExtends5.js b/tests/baselines/reference/declarationEmitExpressionInExtends5.js index 19659fdefec3f..06d78157b283f 100644 --- a/tests/baselines/reference/declarationEmitExpressionInExtends5.js +++ b/tests/baselines/reference/declarationEmitExpressionInExtends5.js @@ -23,6 +23,7 @@ namespace Test //// [declarationEmitExpressionInExtends5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declarationEmitFBoundedTypeParams.js b/tests/baselines/reference/declarationEmitFBoundedTypeParams.js index e11747d6f4474..819fcda67eef7 100644 --- a/tests/baselines/reference/declarationEmitFBoundedTypeParams.js +++ b/tests/baselines/reference/declarationEmitFBoundedTypeParams.js @@ -10,6 +10,7 @@ function append(result: a[], value: b): a[] { //// [declarationEmitFBoundedTypeParams.js] +"use strict"; // Repro from #6040 function append(result, value) { result.push(value); diff --git a/tests/baselines/reference/declarationEmitFirstTypeArgumentGenericFunctionType.js b/tests/baselines/reference/declarationEmitFirstTypeArgumentGenericFunctionType.js index de8f07d8240f6..aef7e632ba0a4 100644 --- a/tests/baselines/reference/declarationEmitFirstTypeArgumentGenericFunctionType.js +++ b/tests/baselines/reference/declarationEmitFirstTypeArgumentGenericFunctionType.js @@ -26,6 +26,7 @@ var prop4: Y<(() => Tany), () => Tany>; // parenthesized first type //// [declarationEmitFirstTypeArgumentGenericFunctionType.js] +"use strict"; class X { } var prop11; // spaces before the first type argument diff --git a/tests/baselines/reference/declarationEmitFunctionDuplicateNamespace.js b/tests/baselines/reference/declarationEmitFunctionDuplicateNamespace.js index e619f718e9f6c..1d05f6f3e6484 100644 --- a/tests/baselines/reference/declarationEmitFunctionDuplicateNamespace.js +++ b/tests/baselines/reference/declarationEmitFunctionDuplicateNamespace.js @@ -11,6 +11,7 @@ f.x = 2; //// [declarationEmitFunctionDuplicateNamespace.js] +"use strict"; function f(a) { return a; } diff --git a/tests/baselines/reference/declarationEmitFunctionKeywordProp.js b/tests/baselines/reference/declarationEmitFunctionKeywordProp.js index 1cd5228d0bba9..b2192c420a551 100644 --- a/tests/baselines/reference/declarationEmitFunctionKeywordProp.js +++ b/tests/baselines/reference/declarationEmitFunctionKeywordProp.js @@ -13,6 +13,7 @@ baz.class = true; baz.normal = false; //// [declarationEmitFunctionKeywordProp.js] +"use strict"; function foo() { } foo.null = true; function bar() { } diff --git a/tests/baselines/reference/declarationEmitHasTypesRefOnNamespaceUse.js b/tests/baselines/reference/declarationEmitHasTypesRefOnNamespaceUse.js index 5fa05a28139d9..41d7d6113ca9d 100644 --- a/tests/baselines/reference/declarationEmitHasTypesRefOnNamespaceUse.js +++ b/tests/baselines/reference/declarationEmitHasTypesRefOnNamespaceUse.js @@ -14,6 +14,7 @@ class Src implements NS.Dep { } //// [index.js] +"use strict"; var Src = /** @class */ (function () { function Src() { } diff --git a/tests/baselines/reference/declarationEmitIndexTypeArray.js b/tests/baselines/reference/declarationEmitIndexTypeArray.js index acf4d604ba8f7..e1346fa1cd9b0 100644 --- a/tests/baselines/reference/declarationEmitIndexTypeArray.js +++ b/tests/baselines/reference/declarationEmitIndexTypeArray.js @@ -9,6 +9,7 @@ const utilityFunctions = { //// [declarationEmitIndexTypeArray.js] +"use strict"; function doSomethingWithKeys() { var keys = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/declarationEmitInferredTypeAlias4.js b/tests/baselines/reference/declarationEmitInferredTypeAlias4.js index 3481283da3271..fba79dc0aa8b5 100644 --- a/tests/baselines/reference/declarationEmitInferredTypeAlias4.js +++ b/tests/baselines/reference/declarationEmitInferredTypeAlias4.js @@ -8,6 +8,7 @@ function f() { } //// [declarationEmitInferredTypeAlias4.js] +"use strict"; function f() { var x; return x; diff --git a/tests/baselines/reference/declarationEmitInferredTypeAlias8.js b/tests/baselines/reference/declarationEmitInferredTypeAlias8.js index aa5a31223a4d8..34ce6077e0410 100644 --- a/tests/baselines/reference/declarationEmitInferredTypeAlias8.js +++ b/tests/baselines/reference/declarationEmitInferredTypeAlias8.js @@ -9,6 +9,7 @@ function returnSomeGlobalValue() { } //// [declarationEmitInferredTypeAlias8.js] +"use strict"; var x; function returnSomeGlobalValue() { return x; diff --git a/tests/baselines/reference/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js b/tests/baselines/reference/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js index 0669e189ea68e..024776423a7e7 100644 --- a/tests/baselines/reference/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js +++ b/tests/baselines/reference/declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js @@ -5,6 +5,7 @@ class A { } interface Class extends (typeof A) { } //// [declarationEmitInterfaceWithNonEntityNameExpressionHeritage.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/declarationEmitInvalidReference.js b/tests/baselines/reference/declarationEmitInvalidReference.js index 21529f328f1a1..3bf84166315bf 100644 --- a/tests/baselines/reference/declarationEmitInvalidReference.js +++ b/tests/baselines/reference/declarationEmitInvalidReference.js @@ -5,6 +5,7 @@ var x = 0; //// [declarationEmitInvalidReference.js] +"use strict"; /// var x = 0; diff --git a/tests/baselines/reference/declarationEmitInvalidReference2.js b/tests/baselines/reference/declarationEmitInvalidReference2.js index 200c14c6ccce1..795156b815bf9 100644 --- a/tests/baselines/reference/declarationEmitInvalidReference2.js +++ b/tests/baselines/reference/declarationEmitInvalidReference2.js @@ -5,6 +5,7 @@ var x = 0; //// [declarationEmitInvalidReference2.js] +"use strict"; /// var x = 0; diff --git a/tests/baselines/reference/declarationEmitInvalidReferenceAllowJs.js b/tests/baselines/reference/declarationEmitInvalidReferenceAllowJs.js index 846b1decaf644..ac889cca6ebb5 100644 --- a/tests/baselines/reference/declarationEmitInvalidReferenceAllowJs.js +++ b/tests/baselines/reference/declarationEmitInvalidReferenceAllowJs.js @@ -6,6 +6,7 @@ var x = 0; //// [declarationEmitInvalidReferenceAllowJs.js] +"use strict"; /// var x = 0; diff --git a/tests/baselines/reference/declarationEmitKeywordDestructuring.js b/tests/baselines/reference/declarationEmitKeywordDestructuring.js index f039acc5c0134..5f80ff4c24c12 100644 --- a/tests/baselines/reference/declarationEmitKeywordDestructuring.js +++ b/tests/baselines/reference/declarationEmitKeywordDestructuring.js @@ -32,6 +32,7 @@ function f5({ await: _await, ...rest }: P) { //// [declarationEmitKeywordDestructuring.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/declarationEmitModuleWithScopeMarker.js b/tests/baselines/reference/declarationEmitModuleWithScopeMarker.js index ca5eb29497f3a..d5de7bb7b089a 100644 --- a/tests/baselines/reference/declarationEmitModuleWithScopeMarker.js +++ b/tests/baselines/reference/declarationEmitModuleWithScopeMarker.js @@ -15,6 +15,7 @@ declare module "bar" { //// [declarationEmitModuleWithScopeMarker.js] +"use strict"; //// [declarationEmitModuleWithScopeMarker.d.ts] diff --git a/tests/baselines/reference/declarationEmitNameConflicts2.js b/tests/baselines/reference/declarationEmitNameConflicts2.js index f7ffe32381d0c..388770b5537ea 100644 --- a/tests/baselines/reference/declarationEmitNameConflicts2.js +++ b/tests/baselines/reference/declarationEmitNameConflicts2.js @@ -18,6 +18,7 @@ namespace X.Y.base.Z { } //// [declarationEmitNameConflicts2.js] +"use strict"; var X; (function (X) { var Y; diff --git a/tests/baselines/reference/declarationEmitNameConflicts3.js b/tests/baselines/reference/declarationEmitNameConflicts3.js index e3b0a85b854ae..4c037dd5848c0 100644 --- a/tests/baselines/reference/declarationEmitNameConflicts3.js +++ b/tests/baselines/reference/declarationEmitNameConflicts3.js @@ -29,6 +29,7 @@ namespace M.P { } //// [declarationEmitNameConflicts3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declarationEmitNestedGenerics.js b/tests/baselines/reference/declarationEmitNestedGenerics.js index 8e4ebd58b26a6..c02648db72de5 100644 --- a/tests/baselines/reference/declarationEmitNestedGenerics.js +++ b/tests/baselines/reference/declarationEmitNestedGenerics.js @@ -12,6 +12,7 @@ function g(x: T) { } //// [declarationEmitNestedGenerics.js] +"use strict"; function f(p) { var g = null; return g; diff --git a/tests/baselines/reference/declarationEmitOfFuncspace.js b/tests/baselines/reference/declarationEmitOfFuncspace.js index bfb147eff4745..68eee63cfb6a2 100644 --- a/tests/baselines/reference/declarationEmitOfFuncspace.js +++ b/tests/baselines/reference/declarationEmitOfFuncspace.js @@ -11,6 +11,7 @@ namespace ExpandoMerge { //// [expando.js] +"use strict"; // #27032 function ExpandoMerge(n) { return n; diff --git a/tests/baselines/reference/declarationEmitPrivateReadonlyLiterals.js b/tests/baselines/reference/declarationEmitPrivateReadonlyLiterals.js index 75baefe795281..4c9cd0fd05c73 100644 --- a/tests/baselines/reference/declarationEmitPrivateReadonlyLiterals.js +++ b/tests/baselines/reference/declarationEmitPrivateReadonlyLiterals.js @@ -10,6 +10,7 @@ class Foo { //// [declarationEmitPrivateReadonlyLiterals.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.B = "b"; diff --git a/tests/baselines/reference/declarationEmitPropertyNumericStringKey.js b/tests/baselines/reference/declarationEmitPropertyNumericStringKey.js index 2c1a4c01da182..1dc7d7ba020b4 100644 --- a/tests/baselines/reference/declarationEmitPropertyNumericStringKey.js +++ b/tests/baselines/reference/declarationEmitPropertyNumericStringKey.js @@ -15,6 +15,7 @@ const obj2 = { [hundredNum]: "bar" }; //// [declarationEmitPropertyNumericStringKey.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/55292 var _a, _b, _c; var STATUS = (_a = {}, diff --git a/tests/baselines/reference/declarationEmitProtectedMembers.js b/tests/baselines/reference/declarationEmitProtectedMembers.js index 9dd015afe0272..91f036a3b15de 100644 --- a/tests/baselines/reference/declarationEmitProtectedMembers.js +++ b/tests/baselines/reference/declarationEmitProtectedMembers.js @@ -52,6 +52,7 @@ class C4 { } //// [declarationEmitProtectedMembers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declarationEmitReadonly.js b/tests/baselines/reference/declarationEmitReadonly.js index 01d6707eb37c8..a1ed2f5b83ae6 100644 --- a/tests/baselines/reference/declarationEmitReadonly.js +++ b/tests/baselines/reference/declarationEmitReadonly.js @@ -6,6 +6,7 @@ class C { } //// [declarationEmitReadonly.js] +"use strict"; var C = /** @class */ (function () { function C(x) { this.x = x; diff --git a/tests/baselines/reference/declarationEmitRelativeModuleError.js b/tests/baselines/reference/declarationEmitRelativeModuleError.js index 61bf0ca48cfb3..d52938d608c1d 100644 --- a/tests/baselines/reference/declarationEmitRelativeModuleError.js +++ b/tests/baselines/reference/declarationEmitRelativeModuleError.js @@ -10,3 +10,4 @@ declare module "b:/block" { // <-- still an error } //// [declarationEmitRelativeModuleError.js] +"use strict"; diff --git a/tests/baselines/reference/declarationEmitTupleRestSignatureLeadingVariadic.js b/tests/baselines/reference/declarationEmitTupleRestSignatureLeadingVariadic.js index 6c81dd9efc684..caae3dba238c4 100644 --- a/tests/baselines/reference/declarationEmitTupleRestSignatureLeadingVariadic.js +++ b/tests/baselines/reference/declarationEmitTupleRestSignatureLeadingVariadic.js @@ -4,6 +4,7 @@ const f = (...args: [...TFirstArgs, TLastArg]): void => {}; //// [declarationEmitTupleRestSignatureLeadingVariadic.js] +"use strict"; var f = function () { var args = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.js b/tests/baselines/reference/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.js index c3b2e1ec205be..07fc622aa626e 100644 --- a/tests/baselines/reference/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.js +++ b/tests/baselines/reference/declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.js @@ -4,6 +4,7 @@ type A = {} //// [declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.js] +"use strict"; //// [declarationEmitTypeAliasTypeParameterExtendingUnknownSymbol.d.ts] diff --git a/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters3.js b/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters3.js index c6a21e91e0ac3..30545e7a61642 100644 --- a/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters3.js +++ b/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters3.js @@ -10,6 +10,7 @@ function bar() { //// [declarationEmitTypeAliasWithTypeParameters3.js] +"use strict"; function bar() { return {}; } diff --git a/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters4.js b/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters4.js index cbc3ac31df2c4..782e566ff8db1 100644 --- a/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters4.js +++ b/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters4.js @@ -12,6 +12,7 @@ function foo() { //// [declarationEmitTypeAliasWithTypeParameters4.js] +"use strict"; function foo() { return {}; } diff --git a/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters6.js b/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters6.js index 47c8b8c6c3599..4fef25c3a4737 100644 --- a/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters6.js +++ b/tests/baselines/reference/declarationEmitTypeAliasWithTypeParameters6.js @@ -12,6 +12,7 @@ function foo() { //// [declarationEmitTypeAliasWithTypeParameters6.js] +"use strict"; function foo() { return {}; } diff --git a/tests/baselines/reference/declarationEmitTypeParameterNameInOuterScope.js b/tests/baselines/reference/declarationEmitTypeParameterNameInOuterScope.js index e69f942f7dbf6..f389401782061 100644 --- a/tests/baselines/reference/declarationEmitTypeParameterNameInOuterScope.js +++ b/tests/baselines/reference/declarationEmitTypeParameterNameInOuterScope.js @@ -17,6 +17,7 @@ function b2(x: B) { return x } //// [declarationEmitTypeParameterNameInOuterScope.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/declarationFileOverwriteError.js b/tests/baselines/reference/declarationFileOverwriteError.js index 6a4103f132ca5..75a4a3e6d4ec0 100644 --- a/tests/baselines/reference/declarationFileOverwriteError.js +++ b/tests/baselines/reference/declarationFileOverwriteError.js @@ -9,6 +9,7 @@ class d { } //// [a.js] +"use strict"; var d = /** @class */ (function () { function d() { } diff --git a/tests/baselines/reference/declarationFileOverwriteErrorWithOut.js b/tests/baselines/reference/declarationFileOverwriteErrorWithOut.js index 1400e371c75ef..e0e0176c0fcc1 100644 --- a/tests/baselines/reference/declarationFileOverwriteErrorWithOut.js +++ b/tests/baselines/reference/declarationFileOverwriteErrorWithOut.js @@ -10,6 +10,7 @@ class d { //// [out.js] +"use strict"; var d = /** @class */ (function () { function d() { } diff --git a/tests/baselines/reference/declarationFiles.js b/tests/baselines/reference/declarationFiles.js index a0857b720452e..1deb25ed56e59 100644 --- a/tests/baselines/reference/declarationFiles.js +++ b/tests/baselines/reference/declarationFiles.js @@ -50,6 +50,7 @@ class C4 { //// [declarationFiles.js] +"use strict"; var C1 = /** @class */ (function () { function C1(x) { } diff --git a/tests/baselines/reference/declarationFilesGeneratingTypeReferences.js b/tests/baselines/reference/declarationFilesGeneratingTypeReferences.js index ab7e828779193..958942beda1fc 100644 --- a/tests/baselines/reference/declarationFilesGeneratingTypeReferences.js +++ b/tests/baselines/reference/declarationFilesGeneratingTypeReferences.js @@ -13,6 +13,7 @@ namespace Test { //// [out.js] +"use strict"; /// var Test; (function (Test) { diff --git a/tests/baselines/reference/declarationFilesWithTypeReferences1.js b/tests/baselines/reference/declarationFilesWithTypeReferences1.js index 757fa4a7a3781..a5dc5cae0fe23 100644 --- a/tests/baselines/reference/declarationFilesWithTypeReferences1.js +++ b/tests/baselines/reference/declarationFilesWithTypeReferences1.js @@ -11,6 +11,7 @@ function foo(): Error { } //// [app.js] +"use strict"; function foo() { return undefined; } diff --git a/tests/baselines/reference/declarationFilesWithTypeReferences2.js b/tests/baselines/reference/declarationFilesWithTypeReferences2.js index 0f01a6d8f8e37..6b8bbc802ac06 100644 --- a/tests/baselines/reference/declarationFilesWithTypeReferences2.js +++ b/tests/baselines/reference/declarationFilesWithTypeReferences2.js @@ -11,6 +11,7 @@ function foo(): Error2 { } //// [app.js] +"use strict"; function foo() { return undefined; } diff --git a/tests/baselines/reference/declarationFilesWithTypeReferences3.js b/tests/baselines/reference/declarationFilesWithTypeReferences3.js index 20e3a8ce683bd..03f14862da06a 100644 --- a/tests/baselines/reference/declarationFilesWithTypeReferences3.js +++ b/tests/baselines/reference/declarationFilesWithTypeReferences3.js @@ -12,6 +12,7 @@ function foo(): Error2 { } //// [app.js] +"use strict"; /// function foo() { return undefined; diff --git a/tests/baselines/reference/declarationFilesWithTypeReferences4.js b/tests/baselines/reference/declarationFilesWithTypeReferences4.js index 1356c459c0955..6aae7b559d3e6 100644 --- a/tests/baselines/reference/declarationFilesWithTypeReferences4.js +++ b/tests/baselines/reference/declarationFilesWithTypeReferences4.js @@ -12,6 +12,7 @@ function foo(): Error { } //// [app.js] +"use strict"; /// function foo() { return undefined; diff --git a/tests/baselines/reference/declarationFunctionTypeNonlocalShouldNotBeAnError.js b/tests/baselines/reference/declarationFunctionTypeNonlocalShouldNotBeAnError.js index 7137929988f6b..66d6bf608001d 100644 --- a/tests/baselines/reference/declarationFunctionTypeNonlocalShouldNotBeAnError.js +++ b/tests/baselines/reference/declarationFunctionTypeNonlocalShouldNotBeAnError.js @@ -11,6 +11,7 @@ namespace foo { //// [declarationFunctionTypeNonlocalShouldNotBeAnError.js] +"use strict"; var foo; (function (foo) { function bar() { } diff --git a/tests/baselines/reference/declarationInAmbientContext.js b/tests/baselines/reference/declarationInAmbientContext.js index 28abbd967468c..c975e00656b14 100644 --- a/tests/baselines/reference/declarationInAmbientContext.js +++ b/tests/baselines/reference/declarationInAmbientContext.js @@ -6,3 +6,4 @@ declare var {c, d}; // Error, destructuring declaration not allowed in ambient //// [declarationInAmbientContext.js] +"use strict"; diff --git a/tests/baselines/reference/declarationMapsOutFile2.js b/tests/baselines/reference/declarationMapsOutFile2.js index 42bb8db558672..844cb5f36163d 100644 --- a/tests/baselines/reference/declarationMapsOutFile2.js +++ b/tests/baselines/reference/declarationMapsOutFile2.js @@ -17,6 +17,7 @@ let x = c.doThing({a: 12}); //// [bundle.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/declarationMapsWithSourceMap.js b/tests/baselines/reference/declarationMapsWithSourceMap.js index 38cbb61a10e85..a475e6b6ef736 100644 --- a/tests/baselines/reference/declarationMapsWithSourceMap.js +++ b/tests/baselines/reference/declarationMapsWithSourceMap.js @@ -17,6 +17,7 @@ let x = c.doThing({a: 12}); //// [bundle.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/declarationMapsWithSourceMap.js.map b/tests/baselines/reference/declarationMapsWithSourceMap.js.map index c0ab927400229..427eb22fd64fd 100644 --- a/tests/baselines/reference/declarationMapsWithSourceMap.js.map +++ b/tests/baselines/reference/declarationMapsWithSourceMap.js.map @@ -1,6 +1,6 @@ //// [bundle.js.map] -{"version":3,"file":"bundle.js","sourceRoot":"","sources":["a.ts","index.ts"],"names":[],"mappings":"AAAA;IAAA;IAOA,CAAC;IANG,qBAAO,GAAP,UAAQ,CAAc;QAClB,OAAO,EAAC,CAAC,EAAE,CAAC,CAAC,CAAC,EAAC,CAAC;IACpB,CAAC;IACM,QAAI,GAAX;QACI,OAAO,IAAI,GAAG,EAAE,CAAC;IACrB,CAAC;IACL,UAAC;AAAD,CAAC,AAPD,IAOC;ACPD,IAAM,CAAC,GAAG,IAAI,GAAG,EAAE,CAAC;AACpB,CAAC,CAAC,OAAO,CAAC,EAAC,CAAC,EAAE,EAAE,EAAC,CAAC,CAAC;AAEnB,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,EAAC,CAAC,EAAE,EAAE,EAAC,CAAC,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIEZvbyA9IC8qKiBAY2xhc3MgKi8gKGZ1bmN0aW9uICgpIHsNCiAgICBmdW5jdGlvbiBGb28oKSB7DQogICAgfQ0KICAgIEZvby5wcm90b3R5cGUuZG9UaGluZyA9IGZ1bmN0aW9uICh4KSB7DQogICAgICAgIHJldHVybiB7IGI6IHguYSB9Ow0KICAgIH07DQogICAgRm9vLm1ha2UgPSBmdW5jdGlvbiAoKSB7DQogICAgICAgIHJldHVybiBuZXcgRm9vKCk7DQogICAgfTsNCiAgICByZXR1cm4gRm9vOw0KfSgpKTsNCnZhciBjID0gbmV3IEZvbygpOw0KYy5kb1RoaW5nKHsgYTogNDIgfSk7DQp2YXIgeCA9IGMuZG9UaGluZyh7IGE6IDEyIH0pOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9YnVuZGxlLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYnVuZGxlLmpz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SUFDckIsQ0FBQztJQUNMLFVBQUM7QUFBRCxDQUFDLEFBUEQsSUFPQztBQ1BELElBQU0sQ0FBQyxHQUFHLElBQUksR0FBRyxFQUFFLENBQUM7QUFDcEIsQ0FBQyxDQUFDLE9BQU8sQ0FBQyxFQUFDLENBQUMsRUFBRSxFQUFFLEVBQUMsQ0FBQyxDQUFDO0FBRW5CLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQyxPQUFPLENBQUMsRUFBQyxDQUFDLEVBQUUsRUFBRSxFQUFDLENBQUMsQ0FBQyJ9,Y2xhc3MgRm9vIHsKICAgIGRvVGhpbmcoeDoge2E6IG51bWJlcn0pIHsKICAgICAgICByZXR1cm4ge2I6IHguYX07CiAgICB9CiAgICBzdGF0aWMgbWFrZSgpIHsKICAgICAgICByZXR1cm4gbmV3IEZvbygpOwogICAgfQp9,Y29uc3QgYyA9IG5ldyBGb28oKTsKYy5kb1RoaW5nKHthOiA0Mn0pOwoKbGV0IHggPSBjLmRvVGhpbmcoe2E6IDEyfSk7Cg== //// [bundle.d.ts.map] {"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["a.ts","index.ts"],"names":[],"mappings":"AAAA,cAAM,GAAG;IACL,OAAO,CAAC,GAAG;QAAC,CAAC,EAAE,MAAM,CAAA;KAAC;;;IAGtB,MAAM,CAAC,IAAI;CAGd;ACPD,QAAA,MAAM,CAAC,KAAY,CAAC;AAGpB,QAAA,IAAI,CAAC;;CAAqB,CAAC"} diff --git a/tests/baselines/reference/declarationMapsWithSourceMap.sourcemap.txt b/tests/baselines/reference/declarationMapsWithSourceMap.sourcemap.txt index ca0144e49ecd6..a67c0ea6244d6 100644 --- a/tests/baselines/reference/declarationMapsWithSourceMap.sourcemap.txt +++ b/tests/baselines/reference/declarationMapsWithSourceMap.sourcemap.txt @@ -8,17 +8,18 @@ sources: a.ts,index.ts emittedFile:bundle.js sourceFile:a.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var Foo = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function Foo() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -33,8 +34,8 @@ sourceFile:a.ts > } > 2 > } -1->Emitted(3, 5) Source(8, 1) + SourceIndex(0) -2 >Emitted(3, 6) Source(8, 2) + SourceIndex(0) +1->Emitted(4, 5) Source(8, 1) + SourceIndex(0) +2 >Emitted(4, 6) Source(8, 2) + SourceIndex(0) --- >>> Foo.prototype.doThing = function (x) { 1->^^^^ @@ -47,11 +48,11 @@ sourceFile:a.ts 3 > 4 > doThing( 5 > x: {a: number} -1->Emitted(4, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(4, 26) Source(2, 12) + SourceIndex(0) -3 >Emitted(4, 29) Source(2, 5) + SourceIndex(0) -4 >Emitted(4, 39) Source(2, 13) + SourceIndex(0) -5 >Emitted(4, 40) Source(2, 27) + SourceIndex(0) +1->Emitted(5, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(5, 26) Source(2, 12) + SourceIndex(0) +3 >Emitted(5, 29) Source(2, 5) + SourceIndex(0) +4 >Emitted(5, 39) Source(2, 13) + SourceIndex(0) +5 >Emitted(5, 40) Source(2, 27) + SourceIndex(0) --- >>> return { b: x.a }; 1 >^^^^^^^^ @@ -75,16 +76,16 @@ sourceFile:a.ts 8 > a 9 > } 10> ; -1 >Emitted(5, 9) Source(3, 9) + SourceIndex(0) -2 >Emitted(5, 16) Source(3, 16) + SourceIndex(0) -3 >Emitted(5, 18) Source(3, 17) + SourceIndex(0) -4 >Emitted(5, 19) Source(3, 18) + SourceIndex(0) -5 >Emitted(5, 21) Source(3, 20) + SourceIndex(0) -6 >Emitted(5, 22) Source(3, 21) + SourceIndex(0) -7 >Emitted(5, 23) Source(3, 22) + SourceIndex(0) -8 >Emitted(5, 24) Source(3, 23) + SourceIndex(0) -9 >Emitted(5, 26) Source(3, 24) + SourceIndex(0) -10>Emitted(5, 27) Source(3, 25) + SourceIndex(0) +1 >Emitted(6, 9) Source(3, 9) + SourceIndex(0) +2 >Emitted(6, 16) Source(3, 16) + SourceIndex(0) +3 >Emitted(6, 18) Source(3, 17) + SourceIndex(0) +4 >Emitted(6, 19) Source(3, 18) + SourceIndex(0) +5 >Emitted(6, 21) Source(3, 20) + SourceIndex(0) +6 >Emitted(6, 22) Source(3, 21) + SourceIndex(0) +7 >Emitted(6, 23) Source(3, 22) + SourceIndex(0) +8 >Emitted(6, 24) Source(3, 23) + SourceIndex(0) +9 >Emitted(6, 26) Source(3, 24) + SourceIndex(0) +10>Emitted(6, 27) Source(3, 25) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -93,8 +94,8 @@ sourceFile:a.ts 1 > > 2 > } -1 >Emitted(6, 5) Source(4, 5) + SourceIndex(0) -2 >Emitted(6, 6) Source(4, 6) + SourceIndex(0) +1 >Emitted(7, 5) Source(4, 5) + SourceIndex(0) +2 >Emitted(7, 6) Source(4, 6) + SourceIndex(0) --- >>> Foo.make = function () { 1->^^^^ @@ -105,9 +106,9 @@ sourceFile:a.ts > static 2 > make 3 > -1->Emitted(7, 5) Source(5, 12) + SourceIndex(0) -2 >Emitted(7, 13) Source(5, 16) + SourceIndex(0) -3 >Emitted(7, 16) Source(5, 5) + SourceIndex(0) +1->Emitted(8, 5) Source(5, 12) + SourceIndex(0) +2 >Emitted(8, 13) Source(5, 16) + SourceIndex(0) +3 >Emitted(8, 16) Source(5, 5) + SourceIndex(0) --- >>> return new Foo(); 1->^^^^^^^^ @@ -123,12 +124,12 @@ sourceFile:a.ts 4 > Foo 5 > () 6 > ; -1->Emitted(8, 9) Source(6, 9) + SourceIndex(0) -2 >Emitted(8, 16) Source(6, 16) + SourceIndex(0) -3 >Emitted(8, 20) Source(6, 20) + SourceIndex(0) -4 >Emitted(8, 23) Source(6, 23) + SourceIndex(0) -5 >Emitted(8, 25) Source(6, 25) + SourceIndex(0) -6 >Emitted(8, 26) Source(6, 26) + SourceIndex(0) +1->Emitted(9, 9) Source(6, 9) + SourceIndex(0) +2 >Emitted(9, 16) Source(6, 16) + SourceIndex(0) +3 >Emitted(9, 20) Source(6, 20) + SourceIndex(0) +4 >Emitted(9, 23) Source(6, 23) + SourceIndex(0) +5 >Emitted(9, 25) Source(6, 25) + SourceIndex(0) +6 >Emitted(9, 26) Source(6, 26) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -137,8 +138,8 @@ sourceFile:a.ts 1 > > 2 > } -1 >Emitted(9, 5) Source(7, 5) + SourceIndex(0) -2 >Emitted(9, 6) Source(7, 6) + SourceIndex(0) +1 >Emitted(10, 5) Source(7, 5) + SourceIndex(0) +2 >Emitted(10, 6) Source(7, 6) + SourceIndex(0) --- >>> return Foo; 1->^^^^ @@ -146,8 +147,8 @@ sourceFile:a.ts 1-> > 2 > } -1->Emitted(10, 5) Source(8, 1) + SourceIndex(0) -2 >Emitted(10, 15) Source(8, 2) + SourceIndex(0) +1->Emitted(11, 5) Source(8, 1) + SourceIndex(0) +2 >Emitted(11, 15) Source(8, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -166,10 +167,10 @@ sourceFile:a.ts > return new Foo(); > } > } -1 >Emitted(11, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(11, 2) Source(8, 2) + SourceIndex(0) -3 >Emitted(11, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(11, 6) Source(8, 2) + SourceIndex(0) +1 >Emitted(12, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(12, 2) Source(8, 2) + SourceIndex(0) +3 >Emitted(12, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(12, 6) Source(8, 2) + SourceIndex(0) --- ------------------------------------------------------------------- emittedFile:bundle.js @@ -193,14 +194,14 @@ sourceFile:index.ts 6 > Foo 7 > () 8 > ; -1->Emitted(12, 1) Source(1, 1) + SourceIndex(1) -2 >Emitted(12, 5) Source(1, 7) + SourceIndex(1) -3 >Emitted(12, 6) Source(1, 8) + SourceIndex(1) -4 >Emitted(12, 9) Source(1, 11) + SourceIndex(1) -5 >Emitted(12, 13) Source(1, 15) + SourceIndex(1) -6 >Emitted(12, 16) Source(1, 18) + SourceIndex(1) -7 >Emitted(12, 18) Source(1, 20) + SourceIndex(1) -8 >Emitted(12, 19) Source(1, 21) + SourceIndex(1) +1->Emitted(13, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(13, 5) Source(1, 7) + SourceIndex(1) +3 >Emitted(13, 6) Source(1, 8) + SourceIndex(1) +4 >Emitted(13, 9) Source(1, 11) + SourceIndex(1) +5 >Emitted(13, 13) Source(1, 15) + SourceIndex(1) +6 >Emitted(13, 16) Source(1, 18) + SourceIndex(1) +7 >Emitted(13, 18) Source(1, 20) + SourceIndex(1) +8 >Emitted(13, 19) Source(1, 21) + SourceIndex(1) --- >>>c.doThing({ a: 42 }); 1-> @@ -229,18 +230,18 @@ sourceFile:index.ts 10> } 11> ) 12> ; -1->Emitted(13, 1) Source(2, 1) + SourceIndex(1) -2 >Emitted(13, 2) Source(2, 2) + SourceIndex(1) -3 >Emitted(13, 3) Source(2, 3) + SourceIndex(1) -4 >Emitted(13, 10) Source(2, 10) + SourceIndex(1) -5 >Emitted(13, 11) Source(2, 11) + SourceIndex(1) -6 >Emitted(13, 13) Source(2, 12) + SourceIndex(1) -7 >Emitted(13, 14) Source(2, 13) + SourceIndex(1) -8 >Emitted(13, 16) Source(2, 15) + SourceIndex(1) -9 >Emitted(13, 18) Source(2, 17) + SourceIndex(1) -10>Emitted(13, 20) Source(2, 18) + SourceIndex(1) -11>Emitted(13, 21) Source(2, 19) + SourceIndex(1) -12>Emitted(13, 22) Source(2, 20) + SourceIndex(1) +1->Emitted(14, 1) Source(2, 1) + SourceIndex(1) +2 >Emitted(14, 2) Source(2, 2) + SourceIndex(1) +3 >Emitted(14, 3) Source(2, 3) + SourceIndex(1) +4 >Emitted(14, 10) Source(2, 10) + SourceIndex(1) +5 >Emitted(14, 11) Source(2, 11) + SourceIndex(1) +6 >Emitted(14, 13) Source(2, 12) + SourceIndex(1) +7 >Emitted(14, 14) Source(2, 13) + SourceIndex(1) +8 >Emitted(14, 16) Source(2, 15) + SourceIndex(1) +9 >Emitted(14, 18) Source(2, 17) + SourceIndex(1) +10>Emitted(14, 20) Source(2, 18) + SourceIndex(1) +11>Emitted(14, 21) Source(2, 19) + SourceIndex(1) +12>Emitted(14, 22) Source(2, 20) + SourceIndex(1) --- >>>var x = c.doThing({ a: 12 }); 1-> @@ -276,21 +277,21 @@ sourceFile:index.ts 13> } 14> ) 15> ; -1->Emitted(14, 1) Source(4, 1) + SourceIndex(1) -2 >Emitted(14, 5) Source(4, 5) + SourceIndex(1) -3 >Emitted(14, 6) Source(4, 6) + SourceIndex(1) -4 >Emitted(14, 9) Source(4, 9) + SourceIndex(1) -5 >Emitted(14, 10) Source(4, 10) + SourceIndex(1) -6 >Emitted(14, 11) Source(4, 11) + SourceIndex(1) -7 >Emitted(14, 18) Source(4, 18) + SourceIndex(1) -8 >Emitted(14, 19) Source(4, 19) + SourceIndex(1) -9 >Emitted(14, 21) Source(4, 20) + SourceIndex(1) -10>Emitted(14, 22) Source(4, 21) + SourceIndex(1) -11>Emitted(14, 24) Source(4, 23) + SourceIndex(1) -12>Emitted(14, 26) Source(4, 25) + SourceIndex(1) -13>Emitted(14, 28) Source(4, 26) + SourceIndex(1) -14>Emitted(14, 29) Source(4, 27) + SourceIndex(1) -15>Emitted(14, 30) Source(4, 28) + SourceIndex(1) +1->Emitted(15, 1) Source(4, 1) + SourceIndex(1) +2 >Emitted(15, 5) Source(4, 5) + SourceIndex(1) +3 >Emitted(15, 6) Source(4, 6) + SourceIndex(1) +4 >Emitted(15, 9) Source(4, 9) + SourceIndex(1) +5 >Emitted(15, 10) Source(4, 10) + SourceIndex(1) +6 >Emitted(15, 11) Source(4, 11) + SourceIndex(1) +7 >Emitted(15, 18) Source(4, 18) + SourceIndex(1) +8 >Emitted(15, 19) Source(4, 19) + SourceIndex(1) +9 >Emitted(15, 21) Source(4, 20) + SourceIndex(1) +10>Emitted(15, 22) Source(4, 21) + SourceIndex(1) +11>Emitted(15, 24) Source(4, 23) + SourceIndex(1) +12>Emitted(15, 26) Source(4, 25) + SourceIndex(1) +13>Emitted(15, 28) Source(4, 26) + SourceIndex(1) +14>Emitted(15, 29) Source(4, 27) + SourceIndex(1) +15>Emitted(15, 30) Source(4, 28) + SourceIndex(1) --- >>>//# sourceMappingURL=bundle.js.map=================================================================== JsFile: bundle.d.ts diff --git a/tests/baselines/reference/declarationMerging1.js b/tests/baselines/reference/declarationMerging1.js index 36f503005e43d..3b9e20a61bae9 100644 --- a/tests/baselines/reference/declarationMerging1.js +++ b/tests/baselines/reference/declarationMerging1.js @@ -12,6 +12,7 @@ interface A { } //// [file1.js] +"use strict"; var A = /** @class */ (function () { function A() { } @@ -19,3 +20,4 @@ var A = /** @class */ (function () { return A; }()); //// [file2.js] +"use strict"; diff --git a/tests/baselines/reference/declarationWithNoInitializer.js b/tests/baselines/reference/declarationWithNoInitializer.js index fb9585ebde139..72329078517d0 100644 --- a/tests/baselines/reference/declarationWithNoInitializer.js +++ b/tests/baselines/reference/declarationWithNoInitializer.js @@ -6,5 +6,6 @@ var {c, d}; // Error, no initializer //// [declarationWithNoInitializer.js] +"use strict"; var _a = void 0, a = _a[0], b = _a[1]; // Error, no initializer var _b = void 0, c = _b.c, d = _b.d; // Error, no initializer diff --git a/tests/baselines/reference/declarationsAndAssignments.js b/tests/baselines/reference/declarationsAndAssignments.js index e74b1769ef2b4..c55650abcfe63 100644 --- a/tests/baselines/reference/declarationsAndAssignments.js +++ b/tests/baselines/reference/declarationsAndAssignments.js @@ -189,6 +189,7 @@ function f21(v: [number, string, boolean]) { //// [declarationsAndAssignments.js] +"use strict"; function f0() { var _a = [1, "hello"]; var x = [1, "hello"][0]; diff --git a/tests/baselines/reference/declareAlreadySeen.js b/tests/baselines/reference/declareAlreadySeen.js index 0c1d8dd5a01b6..d2b82a32d774f 100644 --- a/tests/baselines/reference/declareAlreadySeen.js +++ b/tests/baselines/reference/declareAlreadySeen.js @@ -11,6 +11,7 @@ namespace M { } //// [declareAlreadySeen.js] +"use strict"; var M; (function (M) { })(M || (M = {})); diff --git a/tests/baselines/reference/declareClassInterfaceImplementation.js b/tests/baselines/reference/declareClassInterfaceImplementation.js index 1a91f3bd59092..9538e47c3334d 100644 --- a/tests/baselines/reference/declareClassInterfaceImplementation.js +++ b/tests/baselines/reference/declareClassInterfaceImplementation.js @@ -11,3 +11,4 @@ declare class Buffer implements IBuffer { //// [declareClassInterfaceImplementation.js] +"use strict"; diff --git a/tests/baselines/reference/declareDottedExtend.js b/tests/baselines/reference/declareDottedExtend.js index 81ddd799f0b1e..cf7b42d06ffb5 100644 --- a/tests/baselines/reference/declareDottedExtend.js +++ b/tests/baselines/reference/declareDottedExtend.js @@ -14,6 +14,7 @@ class E extends A.B.C{ } //// [declareDottedExtend.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/declareDottedModuleName.js b/tests/baselines/reference/declareDottedModuleName.js index 5b807c05132e6..7d909005aed97 100644 --- a/tests/baselines/reference/declareDottedModuleName.js +++ b/tests/baselines/reference/declareDottedModuleName.js @@ -13,6 +13,7 @@ namespace T.U { // This needs to be emitted } //// [declareDottedModuleName.js] +"use strict"; //// [declareDottedModuleName.d.ts] diff --git a/tests/baselines/reference/declareExternalModuleWithExportAssignedFundule.js b/tests/baselines/reference/declareExternalModuleWithExportAssignedFundule.js index 8683d3d7d1c93..033587a4d4592 100644 --- a/tests/baselines/reference/declareExternalModuleWithExportAssignedFundule.js +++ b/tests/baselines/reference/declareExternalModuleWithExportAssignedFundule.js @@ -27,3 +27,4 @@ declare module "express" { //// [declareExternalModuleWithExportAssignedFundule.js] +"use strict"; diff --git a/tests/baselines/reference/declareIdentifierAsBeginningOfStatementExpression01.js b/tests/baselines/reference/declareIdentifierAsBeginningOfStatementExpression01.js index b6c2716e52c01..02b28f0a7c0bb 100644 --- a/tests/baselines/reference/declareIdentifierAsBeginningOfStatementExpression01.js +++ b/tests/baselines/reference/declareIdentifierAsBeginningOfStatementExpression01.js @@ -9,6 +9,7 @@ var declare: any; declare instanceof C; //// [declareIdentifierAsBeginningOfStatementExpression01.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/declareModifierOnImport1.js b/tests/baselines/reference/declareModifierOnImport1.js index ff83d29fa36fc..f7574b54cb1c1 100644 --- a/tests/baselines/reference/declareModifierOnImport1.js +++ b/tests/baselines/reference/declareModifierOnImport1.js @@ -4,4 +4,5 @@ declare import a = b; //// [declareModifierOnImport1.js] +"use strict"; var a = b; diff --git a/tests/baselines/reference/declareModifierOnTypeAlias.js b/tests/baselines/reference/declareModifierOnTypeAlias.js index 41e5e0fdb97d9..ff5df6f600b7d 100644 --- a/tests/baselines/reference/declareModifierOnTypeAlias.js +++ b/tests/baselines/reference/declareModifierOnTypeAlias.js @@ -6,3 +6,4 @@ type Bar = number; declare type Baz = Bar; //// [declareModifierOnTypeAlias.js] +"use strict"; diff --git a/tests/baselines/reference/declaredClassMergedwithSelf.js b/tests/baselines/reference/declaredClassMergedwithSelf.js index efbf93f59d65a..d7b5d6e0caed6 100644 --- a/tests/baselines/reference/declaredClassMergedwithSelf.js +++ b/tests/baselines/reference/declaredClassMergedwithSelf.js @@ -18,5 +18,8 @@ declare class C3 { } declare class C3 { } //// [file1.js] +"use strict"; //// [file2.js] +"use strict"; //// [file3.js] +"use strict"; diff --git a/tests/baselines/reference/declaredExternalModule.js b/tests/baselines/reference/declaredExternalModule.js index fc798b2ded6ee..79dc7c56275b8 100644 --- a/tests/baselines/reference/declaredExternalModule.js +++ b/tests/baselines/reference/declaredExternalModule.js @@ -30,3 +30,4 @@ declare module 'connect' { //// [declaredExternalModule.js] +"use strict"; diff --git a/tests/baselines/reference/declaredExternalModuleWithExportAssignment.js b/tests/baselines/reference/declaredExternalModuleWithExportAssignment.js index b278d0d86522f..64bacf33fb7f4 100644 --- a/tests/baselines/reference/declaredExternalModuleWithExportAssignment.js +++ b/tests/baselines/reference/declaredExternalModuleWithExportAssignment.js @@ -21,3 +21,4 @@ declare module 'connect' { //// [declaredExternalModuleWithExportAssignment.js] +"use strict"; diff --git a/tests/baselines/reference/decoratedBlockScopedClass1.js b/tests/baselines/reference/decoratedBlockScopedClass1.js index 14036cbb6c93a..f2c72ac66f83e 100644 --- a/tests/baselines/reference/decoratedBlockScopedClass1.js +++ b/tests/baselines/reference/decoratedBlockScopedClass1.js @@ -15,6 +15,7 @@ Foo.func(); //// [a.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratedBlockScopedClass2.js b/tests/baselines/reference/decoratedBlockScopedClass2.js index 4123e28245826..e5b1b8870775f 100644 --- a/tests/baselines/reference/decoratedBlockScopedClass2.js +++ b/tests/baselines/reference/decoratedBlockScopedClass2.js @@ -18,6 +18,7 @@ catch (e) {} //// [a.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratedBlockScopedClass3.js b/tests/baselines/reference/decoratedBlockScopedClass3.js index 7b2442ed44867..049a24f90f957 100644 --- a/tests/baselines/reference/decoratedBlockScopedClass3.js +++ b/tests/baselines/reference/decoratedBlockScopedClass3.js @@ -26,6 +26,7 @@ catch (e) {} //// [a.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorCallGeneric.js b/tests/baselines/reference/decoratorCallGeneric.js index 41ecdedcf80b9..76c2ddeb076d9 100644 --- a/tests/baselines/reference/decoratorCallGeneric.js +++ b/tests/baselines/reference/decoratorCallGeneric.js @@ -15,6 +15,7 @@ class C { //// [decoratorCallGeneric.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorChecksFunctionBodies.js b/tests/baselines/reference/decoratorChecksFunctionBodies.js index 948ddbb74afa9..b4d58a5381170 100644 --- a/tests/baselines/reference/decoratorChecksFunctionBodies.js +++ b/tests/baselines/reference/decoratorChecksFunctionBodies.js @@ -17,6 +17,7 @@ class A { } //// [decoratorChecksFunctionBodies.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorInAmbientContext.js b/tests/baselines/reference/decoratorInAmbientContext.js index 988aa2e638182..90fb2e1a03858 100644 --- a/tests/baselines/reference/decoratorInAmbientContext.js +++ b/tests/baselines/reference/decoratorInAmbientContext.js @@ -11,6 +11,7 @@ class Foo { //// [decoratorInAmbientContext.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorMetadata-jsdoc.js b/tests/baselines/reference/decoratorMetadata-jsdoc.js index 5f87101be9dbd..e21a387cc8756 100644 --- a/tests/baselines/reference/decoratorMetadata-jsdoc.js +++ b/tests/baselines/reference/decoratorMetadata-jsdoc.js @@ -13,6 +13,7 @@ class X { } //// [decoratorMetadata-jsdoc.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorMetadataConditionalType.js b/tests/baselines/reference/decoratorMetadataConditionalType.js index 52e71a6c98d69..c2db03f7121e3 100644 --- a/tests/baselines/reference/decoratorMetadataConditionalType.js +++ b/tests/baselines/reference/decoratorMetadataConditionalType.js @@ -12,6 +12,7 @@ class C { } //// [decoratorMetadataConditionalType.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js b/tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js index 2fcf498ef648d..27f4610f8d154 100644 --- a/tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js +++ b/tests/baselines/reference/decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js @@ -16,6 +16,7 @@ class MyClass { //// [decoratorMetadataForMethodWithNoReturnTypeAnnotation01.js] +"use strict"; var MyClass = /** @class */ (function () { function MyClass(test, test2) { } diff --git a/tests/baselines/reference/decoratorMetadataNoStrictNull.js b/tests/baselines/reference/decoratorMetadataNoStrictNull.js index f0a71f4014362..b88b0346cac7a 100644 --- a/tests/baselines/reference/decoratorMetadataNoStrictNull.js +++ b/tests/baselines/reference/decoratorMetadataNoStrictNull.js @@ -9,6 +9,7 @@ class Foo { } //// [decoratorMetadataNoStrictNull.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorMetadataPromise.js b/tests/baselines/reference/decoratorMetadataPromise.js index 8c942f92c4e63..3d89979844616 100644 --- a/tests/baselines/reference/decoratorMetadataPromise.js +++ b/tests/baselines/reference/decoratorMetadataPromise.js @@ -14,6 +14,7 @@ class A { //// [decoratorMetadataPromise.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnArrowFunction.js b/tests/baselines/reference/decoratorOnArrowFunction.js index faee29cb85080..702f03a103a2d 100644 --- a/tests/baselines/reference/decoratorOnArrowFunction.js +++ b/tests/baselines/reference/decoratorOnArrowFunction.js @@ -7,6 +7,7 @@ var F = @dec () => { } //// [decoratorOnArrowFunction.js] +"use strict"; var F = ; { } diff --git a/tests/baselines/reference/decoratorOnAwait.js b/tests/baselines/reference/decoratorOnAwait.js index c8a0546e388ff..0bffd15594ed4 100644 --- a/tests/baselines/reference/decoratorOnAwait.js +++ b/tests/baselines/reference/decoratorOnAwait.js @@ -8,4 +8,5 @@ await 1 //// [decoratorOnAwait.js] +"use strict"; await 1; diff --git a/tests/baselines/reference/decoratorOnClass1.es6.js b/tests/baselines/reference/decoratorOnClass1.es6.js index 22c8b20836ba7..0571f619563b8 100644 --- a/tests/baselines/reference/decoratorOnClass1.es6.js +++ b/tests/baselines/reference/decoratorOnClass1.es6.js @@ -10,6 +10,7 @@ class C { let c = new C(); //// [decoratorOnClass1.es6.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClass1.js b/tests/baselines/reference/decoratorOnClass1.js index dd64c7c5eb368..bac1ad93c9154 100644 --- a/tests/baselines/reference/decoratorOnClass1.js +++ b/tests/baselines/reference/decoratorOnClass1.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClass1.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClass4.js b/tests/baselines/reference/decoratorOnClass4.js index f9868bbe345a6..c911a98c71b5c 100644 --- a/tests/baselines/reference/decoratorOnClass4.js +++ b/tests/baselines/reference/decoratorOnClass4.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClass4.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClass5.es6.js b/tests/baselines/reference/decoratorOnClass5.es6.js index 88092f17197ba..b198b839d5d0b 100644 --- a/tests/baselines/reference/decoratorOnClass5.es6.js +++ b/tests/baselines/reference/decoratorOnClass5.es6.js @@ -12,6 +12,7 @@ class C { let c = new C(); //// [decoratorOnClass5.es6.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClass5.js b/tests/baselines/reference/decoratorOnClass5.js index e3c2732ebfeda..844bcb366d539 100644 --- a/tests/baselines/reference/decoratorOnClass5.js +++ b/tests/baselines/reference/decoratorOnClass5.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClass5.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClass8.js b/tests/baselines/reference/decoratorOnClass8.js index 3edec935b8d6d..48b6978f6fdad 100644 --- a/tests/baselines/reference/decoratorOnClass8.js +++ b/tests/baselines/reference/decoratorOnClass8.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClass8.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClass9.js b/tests/baselines/reference/decoratorOnClass9.js index 645ab366e1fba..c06c6e81502e5 100644 --- a/tests/baselines/reference/decoratorOnClass9.js +++ b/tests/baselines/reference/decoratorOnClass9.js @@ -16,6 +16,7 @@ class B extends A { } //// [decoratorOnClass9.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/decoratorOnClassAccessor1.js b/tests/baselines/reference/decoratorOnClassAccessor1.js index 74b29e0bd6b99..777fa36206903 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor1.js +++ b/tests/baselines/reference/decoratorOnClassAccessor1.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassAccessor1.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassAccessor2.js b/tests/baselines/reference/decoratorOnClassAccessor2.js index 5e69d768ae15b..1531804674bcc 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor2.js +++ b/tests/baselines/reference/decoratorOnClassAccessor2.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassAccessor2.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassAccessor3.js b/tests/baselines/reference/decoratorOnClassAccessor3.js index 9bb8376c3309d..c89fb9ada5974 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor3.js +++ b/tests/baselines/reference/decoratorOnClassAccessor3.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassAccessor3.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassAccessor4.js b/tests/baselines/reference/decoratorOnClassAccessor4.js index 0fd17b2931970..68d1b0d3ed9c3 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor4.js +++ b/tests/baselines/reference/decoratorOnClassAccessor4.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassAccessor4.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassAccessor5.js b/tests/baselines/reference/decoratorOnClassAccessor5.js index 2779aad15c886..49aab152d0ca2 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor5.js +++ b/tests/baselines/reference/decoratorOnClassAccessor5.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassAccessor5.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassAccessor6.js b/tests/baselines/reference/decoratorOnClassAccessor6.js index 189fa1a2d9421..3712eeaef4712 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor6.js +++ b/tests/baselines/reference/decoratorOnClassAccessor6.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassAccessor6.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassAccessor7.js b/tests/baselines/reference/decoratorOnClassAccessor7.js index 69c1b86c34440..5ce5bb47085bc 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor7.js +++ b/tests/baselines/reference/decoratorOnClassAccessor7.js @@ -35,6 +35,7 @@ class F { } //// [decoratorOnClassAccessor7.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassAccessor8.js b/tests/baselines/reference/decoratorOnClassAccessor8.js index 06a0822dcfbb4..7eb35d20d070b 100644 --- a/tests/baselines/reference/decoratorOnClassAccessor8.js +++ b/tests/baselines/reference/decoratorOnClassAccessor8.js @@ -32,6 +32,7 @@ class F { } //// [decoratorOnClassAccessor8.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassConstructor1.js b/tests/baselines/reference/decoratorOnClassConstructor1.js index 6a7323c1c1536..61cf596273306 100644 --- a/tests/baselines/reference/decoratorOnClassConstructor1.js +++ b/tests/baselines/reference/decoratorOnClassConstructor1.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassConstructor1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/decoratorOnClassConstructor4.js b/tests/baselines/reference/decoratorOnClassConstructor4.js index a844c02e3fb5a..476824a995e9a 100644 --- a/tests/baselines/reference/decoratorOnClassConstructor4.js +++ b/tests/baselines/reference/decoratorOnClassConstructor4.js @@ -17,6 +17,7 @@ class C extends A { } //// [decoratorOnClassConstructor4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/decoratorOnClassConstructorParameter1.js b/tests/baselines/reference/decoratorOnClassConstructorParameter1.js index 63ea1be789dd1..6339c335a39c6 100644 --- a/tests/baselines/reference/decoratorOnClassConstructorParameter1.js +++ b/tests/baselines/reference/decoratorOnClassConstructorParameter1.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassConstructorParameter1.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassConstructorParameter4.js b/tests/baselines/reference/decoratorOnClassConstructorParameter4.js index 2e2d1e8e45d0d..a6ebb1ddef720 100644 --- a/tests/baselines/reference/decoratorOnClassConstructorParameter4.js +++ b/tests/baselines/reference/decoratorOnClassConstructorParameter4.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassConstructorParameter4.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassConstructorParameter5.js b/tests/baselines/reference/decoratorOnClassConstructorParameter5.js index 3aeaa3e1d9f53..1c86c1d7c1d44 100644 --- a/tests/baselines/reference/decoratorOnClassConstructorParameter5.js +++ b/tests/baselines/reference/decoratorOnClassConstructorParameter5.js @@ -13,6 +13,7 @@ class BulkEditPreviewProvider { } //// [decoratorOnClassConstructorParameter5.js] +"use strict"; var BulkEditPreviewProvider_1; let BulkEditPreviewProvider = BulkEditPreviewProvider_1 = class BulkEditPreviewProvider { constructor(_modeService) { diff --git a/tests/baselines/reference/decoratorOnClassMethod1.js b/tests/baselines/reference/decoratorOnClassMethod1.js index f4969996c0eb8..8005ded608131 100644 --- a/tests/baselines/reference/decoratorOnClassMethod1.js +++ b/tests/baselines/reference/decoratorOnClassMethod1.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassMethod1.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod10.js b/tests/baselines/reference/decoratorOnClassMethod10.js index e257721d818b3..3faf79391368f 100644 --- a/tests/baselines/reference/decoratorOnClassMethod10.js +++ b/tests/baselines/reference/decoratorOnClassMethod10.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassMethod10.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod11.js b/tests/baselines/reference/decoratorOnClassMethod11.js index 27cd204d0a688..efbe2701c4052 100644 --- a/tests/baselines/reference/decoratorOnClassMethod11.js +++ b/tests/baselines/reference/decoratorOnClassMethod11.js @@ -11,6 +11,7 @@ namespace M { } //// [decoratorOnClassMethod11.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod12.js b/tests/baselines/reference/decoratorOnClassMethod12.js index 64aa5e87c004c..2c4ff77e6ed5f 100644 --- a/tests/baselines/reference/decoratorOnClassMethod12.js +++ b/tests/baselines/reference/decoratorOnClassMethod12.js @@ -12,6 +12,7 @@ namespace M { } //// [decoratorOnClassMethod12.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/decoratorOnClassMethod13.js b/tests/baselines/reference/decoratorOnClassMethod13.js index 41a434374e15b..51a62efd235ac 100644 --- a/tests/baselines/reference/decoratorOnClassMethod13.js +++ b/tests/baselines/reference/decoratorOnClassMethod13.js @@ -9,6 +9,7 @@ class C { } //// [decoratorOnClassMethod13.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod14.js b/tests/baselines/reference/decoratorOnClassMethod14.js index 6f0a8fa902532..4607e7fdd9086 100644 --- a/tests/baselines/reference/decoratorOnClassMethod14.js +++ b/tests/baselines/reference/decoratorOnClassMethod14.js @@ -15,6 +15,7 @@ class Foo { //// [decoratorOnClassMethod14.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod15.js b/tests/baselines/reference/decoratorOnClassMethod15.js index 4a4df4eb8eb55..a9dce6fe60dd3 100644 --- a/tests/baselines/reference/decoratorOnClassMethod15.js +++ b/tests/baselines/reference/decoratorOnClassMethod15.js @@ -13,6 +13,7 @@ class Foo { //// [decoratorOnClassMethod15.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod16.js b/tests/baselines/reference/decoratorOnClassMethod16.js index 18281f9c3cf02..01ad66d44efd2 100644 --- a/tests/baselines/reference/decoratorOnClassMethod16.js +++ b/tests/baselines/reference/decoratorOnClassMethod16.js @@ -13,6 +13,7 @@ class Foo { //// [decoratorOnClassMethod16.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod17.js b/tests/baselines/reference/decoratorOnClassMethod17.js index af2ded6420c95..2fb6061f827f5 100644 --- a/tests/baselines/reference/decoratorOnClassMethod17.js +++ b/tests/baselines/reference/decoratorOnClassMethod17.js @@ -12,6 +12,7 @@ class Foo { //// [decoratorOnClassMethod17.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod18.js b/tests/baselines/reference/decoratorOnClassMethod18.js index 8e2f974c9aeaf..924e738454334 100644 --- a/tests/baselines/reference/decoratorOnClassMethod18.js +++ b/tests/baselines/reference/decoratorOnClassMethod18.js @@ -12,6 +12,7 @@ class Foo { //// [decoratorOnClassMethod18.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod19(target=es2015).js b/tests/baselines/reference/decoratorOnClassMethod19(target=es2015).js index 8358cbad96df6..8db0675a0fcfe 100644 --- a/tests/baselines/reference/decoratorOnClassMethod19(target=es2015).js +++ b/tests/baselines/reference/decoratorOnClassMethod19(target=es2015).js @@ -19,6 +19,7 @@ class C2 { //// [decoratorOnClassMethod19.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod19(target=es2022).js b/tests/baselines/reference/decoratorOnClassMethod19(target=es2022).js index e74282afbb747..3b7ac9b4b64bc 100644 --- a/tests/baselines/reference/decoratorOnClassMethod19(target=es2022).js +++ b/tests/baselines/reference/decoratorOnClassMethod19(target=es2022).js @@ -19,6 +19,7 @@ class C2 { //// [decoratorOnClassMethod19.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod19(target=esnext).js b/tests/baselines/reference/decoratorOnClassMethod19(target=esnext).js index e74282afbb747..3b7ac9b4b64bc 100644 --- a/tests/baselines/reference/decoratorOnClassMethod19(target=esnext).js +++ b/tests/baselines/reference/decoratorOnClassMethod19(target=esnext).js @@ -19,6 +19,7 @@ class C2 { //// [decoratorOnClassMethod19.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod2.js b/tests/baselines/reference/decoratorOnClassMethod2.js index 0e442b6491a7a..485bb60b1b191 100644 --- a/tests/baselines/reference/decoratorOnClassMethod2.js +++ b/tests/baselines/reference/decoratorOnClassMethod2.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassMethod2.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod3.js b/tests/baselines/reference/decoratorOnClassMethod3.js index de036b9b2a926..b415e3aec2b83 100644 --- a/tests/baselines/reference/decoratorOnClassMethod3.js +++ b/tests/baselines/reference/decoratorOnClassMethod3.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassMethod3.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod4.js b/tests/baselines/reference/decoratorOnClassMethod4.js index 94c2cb480f5ec..1e870604530b9 100644 --- a/tests/baselines/reference/decoratorOnClassMethod4.js +++ b/tests/baselines/reference/decoratorOnClassMethod4.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassMethod4.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod5.js b/tests/baselines/reference/decoratorOnClassMethod5.js index 3955103488668..5682d4de8d539 100644 --- a/tests/baselines/reference/decoratorOnClassMethod5.js +++ b/tests/baselines/reference/decoratorOnClassMethod5.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassMethod5.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod6.js b/tests/baselines/reference/decoratorOnClassMethod6.js index 9d2c4948f98a2..2ffba4a53273a 100644 --- a/tests/baselines/reference/decoratorOnClassMethod6.js +++ b/tests/baselines/reference/decoratorOnClassMethod6.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassMethod6.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod7.js b/tests/baselines/reference/decoratorOnClassMethod7.js index 0431ec3350d15..234822c64d542 100644 --- a/tests/baselines/reference/decoratorOnClassMethod7.js +++ b/tests/baselines/reference/decoratorOnClassMethod7.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassMethod7.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethod8.js b/tests/baselines/reference/decoratorOnClassMethod8.js index e35b0179ac897..63d6a48064aa7 100644 --- a/tests/baselines/reference/decoratorOnClassMethod8.js +++ b/tests/baselines/reference/decoratorOnClassMethod8.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassMethod8.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethodOverload1.js b/tests/baselines/reference/decoratorOnClassMethodOverload1.js index f37d3a37e6172..f58ddd4b89f68 100644 --- a/tests/baselines/reference/decoratorOnClassMethodOverload1.js +++ b/tests/baselines/reference/decoratorOnClassMethodOverload1.js @@ -10,6 +10,7 @@ class C { } //// [decoratorOnClassMethodOverload1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/decoratorOnClassMethodOverload2.js b/tests/baselines/reference/decoratorOnClassMethodOverload2.js index fd8b171306727..b44e851a9fd0a 100644 --- a/tests/baselines/reference/decoratorOnClassMethodOverload2.js +++ b/tests/baselines/reference/decoratorOnClassMethodOverload2.js @@ -10,6 +10,7 @@ class C { } //// [decoratorOnClassMethodOverload2.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethodParameter1.js b/tests/baselines/reference/decoratorOnClassMethodParameter1.js index 7fb976009948a..ca69c0fabe77c 100644 --- a/tests/baselines/reference/decoratorOnClassMethodParameter1.js +++ b/tests/baselines/reference/decoratorOnClassMethodParameter1.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassMethodParameter1.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethodParameter2.js b/tests/baselines/reference/decoratorOnClassMethodParameter2.js index 860c7cdf0d6d4..40274e45fd444 100644 --- a/tests/baselines/reference/decoratorOnClassMethodParameter2.js +++ b/tests/baselines/reference/decoratorOnClassMethodParameter2.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassMethodParameter2.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethodParameter3.js b/tests/baselines/reference/decoratorOnClassMethodParameter3.js index 0f1506f983c65..8505c0d2c0af7 100644 --- a/tests/baselines/reference/decoratorOnClassMethodParameter3.js +++ b/tests/baselines/reference/decoratorOnClassMethodParameter3.js @@ -12,6 +12,7 @@ function fn(value: Promise): any { //// [decoratorOnClassMethodParameter3.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassMethodThisParameter.js b/tests/baselines/reference/decoratorOnClassMethodThisParameter.js index 5a68e63fd40b0..95caad52391a2 100644 --- a/tests/baselines/reference/decoratorOnClassMethodThisParameter.js +++ b/tests/baselines/reference/decoratorOnClassMethodThisParameter.js @@ -12,6 +12,7 @@ class C2 { } //// [decoratorOnClassMethodThisParameter.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassProperty1.js b/tests/baselines/reference/decoratorOnClassProperty1.js index 2998a5857670a..3f07a29b8911d 100644 --- a/tests/baselines/reference/decoratorOnClassProperty1.js +++ b/tests/baselines/reference/decoratorOnClassProperty1.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassProperty1.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassProperty10.js b/tests/baselines/reference/decoratorOnClassProperty10.js index 89dcd0b326442..35d037d2ebb15 100644 --- a/tests/baselines/reference/decoratorOnClassProperty10.js +++ b/tests/baselines/reference/decoratorOnClassProperty10.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassProperty10.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassProperty11.js b/tests/baselines/reference/decoratorOnClassProperty11.js index b593cc9061bbe..269fb70885cb6 100644 --- a/tests/baselines/reference/decoratorOnClassProperty11.js +++ b/tests/baselines/reference/decoratorOnClassProperty11.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassProperty11.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassProperty12.js b/tests/baselines/reference/decoratorOnClassProperty12.js index 6e9998684ec0a..d43d1e3e7539c 100644 --- a/tests/baselines/reference/decoratorOnClassProperty12.js +++ b/tests/baselines/reference/decoratorOnClassProperty12.js @@ -10,6 +10,7 @@ class A { //// [decoratorOnClassProperty12.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassProperty13.js b/tests/baselines/reference/decoratorOnClassProperty13.js index 7cdcc17daac53..f763615e0a9f6 100644 --- a/tests/baselines/reference/decoratorOnClassProperty13.js +++ b/tests/baselines/reference/decoratorOnClassProperty13.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassProperty13.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassProperty2.js b/tests/baselines/reference/decoratorOnClassProperty2.js index dabb4abddcf37..a7f5f1117b9a9 100644 --- a/tests/baselines/reference/decoratorOnClassProperty2.js +++ b/tests/baselines/reference/decoratorOnClassProperty2.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassProperty2.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassProperty3.js b/tests/baselines/reference/decoratorOnClassProperty3.js index 08b9f8ee0965a..f7123f0ac9f61 100644 --- a/tests/baselines/reference/decoratorOnClassProperty3.js +++ b/tests/baselines/reference/decoratorOnClassProperty3.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassProperty3.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassProperty6.js b/tests/baselines/reference/decoratorOnClassProperty6.js index 76cfcadc28381..b26bd20718a79 100644 --- a/tests/baselines/reference/decoratorOnClassProperty6.js +++ b/tests/baselines/reference/decoratorOnClassProperty6.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassProperty6.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnClassProperty7.js b/tests/baselines/reference/decoratorOnClassProperty7.js index 6b6106be96879..3c4feb4ee99ad 100644 --- a/tests/baselines/reference/decoratorOnClassProperty7.js +++ b/tests/baselines/reference/decoratorOnClassProperty7.js @@ -8,6 +8,7 @@ class C { } //// [decoratorOnClassProperty7.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorOnEnum.js b/tests/baselines/reference/decoratorOnEnum.js index 32c8bbfca7f58..9359ca245165d 100644 --- a/tests/baselines/reference/decoratorOnEnum.js +++ b/tests/baselines/reference/decoratorOnEnum.js @@ -8,6 +8,7 @@ enum E { } //// [decoratorOnEnum.js] +"use strict"; var E; (function (E) { })(E || (E = {})); diff --git a/tests/baselines/reference/decoratorOnEnum2.js b/tests/baselines/reference/decoratorOnEnum2.js index 3d50461993ce4..792ecdc319bc9 100644 --- a/tests/baselines/reference/decoratorOnEnum2.js +++ b/tests/baselines/reference/decoratorOnEnum2.js @@ -8,6 +8,7 @@ enum E { } //// [decoratorOnEnum2.js] +"use strict"; var E; (function (E) { })(E || (E = {})); diff --git a/tests/baselines/reference/decoratorOnFunctionDeclaration.js b/tests/baselines/reference/decoratorOnFunctionDeclaration.js index 9f097ba4acb87..aa481e7deb1df 100644 --- a/tests/baselines/reference/decoratorOnFunctionDeclaration.js +++ b/tests/baselines/reference/decoratorOnFunctionDeclaration.js @@ -8,5 +8,6 @@ function F() { } //// [decoratorOnFunctionDeclaration.js] +"use strict"; function F() { } diff --git a/tests/baselines/reference/decoratorOnFunctionExpression.js b/tests/baselines/reference/decoratorOnFunctionExpression.js index 268c05b40bb24..b7c4d11d8bc87 100644 --- a/tests/baselines/reference/decoratorOnFunctionExpression.js +++ b/tests/baselines/reference/decoratorOnFunctionExpression.js @@ -7,6 +7,7 @@ var F = @dec function () { } //// [decoratorOnFunctionExpression.js] +"use strict"; var F = ; function () { } diff --git a/tests/baselines/reference/decoratorOnFunctionParameter.js b/tests/baselines/reference/decoratorOnFunctionParameter.js index e823e8c05483c..955eda42da0c8 100644 --- a/tests/baselines/reference/decoratorOnFunctionParameter.js +++ b/tests/baselines/reference/decoratorOnFunctionParameter.js @@ -9,6 +9,7 @@ function direct(@dec this: C) { return this.n; } function called(@dec() this: C) { return this.n; } //// [decoratorOnFunctionParameter.js] +"use strict"; var C = /** @class */ (function () { function C() { this.n = true; diff --git a/tests/baselines/reference/decoratorOnImportEquals1.js b/tests/baselines/reference/decoratorOnImportEquals1.js index f1ea1e8ea5b94..13f106cf0a2e5 100644 --- a/tests/baselines/reference/decoratorOnImportEquals1.js +++ b/tests/baselines/reference/decoratorOnImportEquals1.js @@ -13,6 +13,7 @@ namespace M2 { } //// [decoratorOnImportEquals1.js] +"use strict"; var M1; (function (M1) { })(M1 || (M1 = {})); diff --git a/tests/baselines/reference/decoratorOnInterface.js b/tests/baselines/reference/decoratorOnInterface.js index 00a313cd643cc..5653da9fd124f 100644 --- a/tests/baselines/reference/decoratorOnInterface.js +++ b/tests/baselines/reference/decoratorOnInterface.js @@ -8,3 +8,4 @@ interface I { } //// [decoratorOnInterface.js] +"use strict"; diff --git a/tests/baselines/reference/decoratorOnInternalModule.js b/tests/baselines/reference/decoratorOnInternalModule.js index 1c92c8ffa328f..008c28562d991 100644 --- a/tests/baselines/reference/decoratorOnInternalModule.js +++ b/tests/baselines/reference/decoratorOnInternalModule.js @@ -9,3 +9,4 @@ namespace M { } //// [decoratorOnInternalModule.js] +"use strict"; diff --git a/tests/baselines/reference/decoratorOnTypeAlias.js b/tests/baselines/reference/decoratorOnTypeAlias.js index a83756aef5fe6..3ca537de41399 100644 --- a/tests/baselines/reference/decoratorOnTypeAlias.js +++ b/tests/baselines/reference/decoratorOnTypeAlias.js @@ -7,3 +7,4 @@ declare function dec(target: T): T; type T = number; //// [decoratorOnTypeAlias.js] +"use strict"; diff --git a/tests/baselines/reference/decoratorOnUsing.js b/tests/baselines/reference/decoratorOnUsing.js index 47b470c658d9b..895b28dfe6956 100644 --- a/tests/baselines/reference/decoratorOnUsing.js +++ b/tests/baselines/reference/decoratorOnUsing.js @@ -11,6 +11,7 @@ using x //// [decoratorOnUsing.js] +"use strict"; using ; 1; using x; diff --git a/tests/baselines/reference/decoratorOnVar.js b/tests/baselines/reference/decoratorOnVar.js index 195feaeb70ac5..0486f5cac5983 100644 --- a/tests/baselines/reference/decoratorOnVar.js +++ b/tests/baselines/reference/decoratorOnVar.js @@ -7,4 +7,5 @@ declare function dec(target: T): T; var x: number; //// [decoratorOnVar.js] +"use strict"; var x; diff --git a/tests/baselines/reference/decoratorReferences.js b/tests/baselines/reference/decoratorReferences.js index 124a469f2986f..9beb58a829cb0 100644 --- a/tests/baselines/reference/decoratorReferences.js +++ b/tests/baselines/reference/decoratorReferences.js @@ -10,6 +10,7 @@ class C { } //// [decoratorReferences.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorUsedBeforeDeclaration.js b/tests/baselines/reference/decoratorUsedBeforeDeclaration.js index 1b704ffb8df92..482f02f59be9f 100644 --- a/tests/baselines/reference/decoratorUsedBeforeDeclaration.js +++ b/tests/baselines/reference/decoratorUsedBeforeDeclaration.js @@ -76,6 +76,7 @@ class Greeter1 { //// [decoratorUsedBeforeDeclaration.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash.js b/tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash.js index a9b062a68b4c1..c2d515329cb13 100644 --- a/tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash.js +++ b/tests/baselines/reference/decoratorWithNegativeLiteralTypeNoCrash.js @@ -8,6 +8,7 @@ class A { function decorator(target: any, field: any) {} //// [decoratorWithNegativeLiteralTypeNoCrash.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decoratorWithUnderscoreMethod.js b/tests/baselines/reference/decoratorWithUnderscoreMethod.js index 100a4b8bfb603..c0d6e8274b89c 100644 --- a/tests/baselines/reference/decoratorWithUnderscoreMethod.js +++ b/tests/baselines/reference/decoratorWithUnderscoreMethod.js @@ -18,6 +18,7 @@ class A { } //// [decoratorWithUnderscoreMethod.js] +"use strict"; function dec() { return function (target, propKey, descr) { console.log(target[propKey]); diff --git a/tests/baselines/reference/decoratorsOnComputedProperties.js b/tests/baselines/reference/decoratorsOnComputedProperties.js index 784a5fa519f08..cb2aea6e43a82 100644 --- a/tests/baselines/reference/decoratorsOnComputedProperties.js +++ b/tests/baselines/reference/decoratorsOnComputedProperties.js @@ -192,6 +192,7 @@ void class J { }; //// [decoratorsOnComputedProperties.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/decrementAndIncrementOperators.js b/tests/baselines/reference/decrementAndIncrementOperators.js index 4b26b013eca19..01c2b2ce55ee5 100644 --- a/tests/baselines/reference/decrementAndIncrementOperators.js +++ b/tests/baselines/reference/decrementAndIncrementOperators.js @@ -41,6 +41,7 @@ x[x++]++; //// [decrementAndIncrementOperators.js] +"use strict"; var x = 0; // errors 1++; diff --git a/tests/baselines/reference/decrementOperatorWithAnyOtherType.js b/tests/baselines/reference/decrementOperatorWithAnyOtherType.js index 9a27094a67e5b..abf3902a2f4a4 100644 --- a/tests/baselines/reference/decrementOperatorWithAnyOtherType.js +++ b/tests/baselines/reference/decrementOperatorWithAnyOtherType.js @@ -51,6 +51,7 @@ objA.a--; M.n--; //// [decrementOperatorWithAnyOtherType.js] +"use strict"; // -- operator on any type var ANY; var ANY1; diff --git a/tests/baselines/reference/decrementOperatorWithAnyOtherTypeInvalidOperations.js b/tests/baselines/reference/decrementOperatorWithAnyOtherTypeInvalidOperations.js index ad74954fd365f..2a847c4065cff 100644 --- a/tests/baselines/reference/decrementOperatorWithAnyOtherTypeInvalidOperations.js +++ b/tests/baselines/reference/decrementOperatorWithAnyOtherTypeInvalidOperations.js @@ -75,6 +75,7 @@ ANY2--; ++ANY2[0]--; //// [decrementOperatorWithAnyOtherTypeInvalidOperations.js] +"use strict"; var ANY2 = ["", ""]; var obj1 = { x: "", y: function () { } }; function foo() { diff --git a/tests/baselines/reference/decrementOperatorWithEnumType.js b/tests/baselines/reference/decrementOperatorWithEnumType.js index 262eb7efdf577..d3899726c6ed6 100644 --- a/tests/baselines/reference/decrementOperatorWithEnumType.js +++ b/tests/baselines/reference/decrementOperatorWithEnumType.js @@ -16,6 +16,7 @@ ENUM1[A]--; //// [decrementOperatorWithEnumType.js] +"use strict"; // -- operator on enum type var ENUM1; (function (ENUM1) { diff --git a/tests/baselines/reference/decrementOperatorWithEnumTypeInvalidOperations.js b/tests/baselines/reference/decrementOperatorWithEnumTypeInvalidOperations.js index 1db9adc4173e2..77f519b1ee18f 100644 --- a/tests/baselines/reference/decrementOperatorWithEnumTypeInvalidOperations.js +++ b/tests/baselines/reference/decrementOperatorWithEnumTypeInvalidOperations.js @@ -25,6 +25,7 @@ ENUM--; ENUM1--; //// [decrementOperatorWithEnumTypeInvalidOperations.js] +"use strict"; // -- operator on enum type var ENUM; (function (ENUM) { diff --git a/tests/baselines/reference/decrementOperatorWithNumberType.js b/tests/baselines/reference/decrementOperatorWithNumberType.js index 31978acf713fa..7fb9791f65f7f 100644 --- a/tests/baselines/reference/decrementOperatorWithNumberType.js +++ b/tests/baselines/reference/decrementOperatorWithNumberType.js @@ -42,6 +42,7 @@ M.n--; objA.a--, M.n--; //// [decrementOperatorWithNumberType.js] +"use strict"; // -- operator on number type var NUMBER; var NUMBER1 = [1, 2]; diff --git a/tests/baselines/reference/decrementOperatorWithNumberTypeInvalidOperations.js b/tests/baselines/reference/decrementOperatorWithNumberTypeInvalidOperations.js index ea5ed5708c1b9..58519edf1d648 100644 --- a/tests/baselines/reference/decrementOperatorWithNumberTypeInvalidOperations.js +++ b/tests/baselines/reference/decrementOperatorWithNumberTypeInvalidOperations.js @@ -49,6 +49,7 @@ NUMBER1--; foo()--; //// [decrementOperatorWithNumberTypeInvalidOperations.js] +"use strict"; var NUMBER1 = [1, 2]; function foo() { return 1; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/decrementOperatorWithUnsupportedBooleanType.js b/tests/baselines/reference/decrementOperatorWithUnsupportedBooleanType.js index 170be44722104..6726eb3a60f8a 100644 --- a/tests/baselines/reference/decrementOperatorWithUnsupportedBooleanType.js +++ b/tests/baselines/reference/decrementOperatorWithUnsupportedBooleanType.js @@ -57,6 +57,7 @@ M.n--; objA.a--, M.n--; //// [decrementOperatorWithUnsupportedBooleanType.js] +"use strict"; function foo() { return true; } var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/decrementOperatorWithUnsupportedStringType.js b/tests/baselines/reference/decrementOperatorWithUnsupportedStringType.js index 7464e7761d8ed..a93df525ac88a 100644 --- a/tests/baselines/reference/decrementOperatorWithUnsupportedStringType.js +++ b/tests/baselines/reference/decrementOperatorWithUnsupportedStringType.js @@ -68,6 +68,7 @@ M.n--; objA.a--, M.n--; //// [decrementOperatorWithUnsupportedStringType.js] +"use strict"; var STRING1 = ["", ""]; function foo() { return ""; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/deepComparisons.js b/tests/baselines/reference/deepComparisons.js index 6f15e627aaef4..259aef2e64a49 100644 --- a/tests/baselines/reference/deepComparisons.js +++ b/tests/baselines/reference/deepComparisons.js @@ -41,6 +41,7 @@ function g() { //// [deepComparisons.js] +"use strict"; function f1() { var v1 = 0; // Error var v2 = 0; // Error diff --git a/tests/baselines/reference/deepElaborationsIntoArrowExpressions.js b/tests/baselines/reference/deepElaborationsIntoArrowExpressions.js index 5aad18c310358..8c8ccbc13d2cf 100644 --- a/tests/baselines/reference/deepElaborationsIntoArrowExpressions.js +++ b/tests/baselines/reference/deepElaborationsIntoArrowExpressions.js @@ -21,6 +21,7 @@ function foo3(): Foo[] { var y: Foo[] = [{a: ''}] //// [deepElaborationsIntoArrowExpressions.js] +"use strict"; const a = { y: () => "b" }; diff --git a/tests/baselines/reference/deepExcessPropertyCheckingWhenTargetIsIntersection.js b/tests/baselines/reference/deepExcessPropertyCheckingWhenTargetIsIntersection.js index d215f2201845d..03bbf3bcc5fb8 100644 --- a/tests/baselines/reference/deepExcessPropertyCheckingWhenTargetIsIntersection.js +++ b/tests/baselines/reference/deepExcessPropertyCheckingWhenTargetIsIntersection.js @@ -31,6 +31,7 @@ TestComponent2({icon: { props: { INVALID_PROP_NAME: 'share', ariaLabel: 'test la //// [deepExcessPropertyCheckingWhenTargetIsIntersection.js] +"use strict"; var TestComponent = function (props) { return null; }; diff --git a/tests/baselines/reference/deepKeysIndexing.js b/tests/baselines/reference/deepKeysIndexing.js index b2bd1aa2b5d6f..f153fb76777fa 100644 --- a/tests/baselines/reference/deepKeysIndexing.js +++ b/tests/baselines/reference/deepKeysIndexing.js @@ -59,6 +59,7 @@ bar.workaround("a", "1", true); // ok - true is not allowed //// [deepKeysIndexing.js] +"use strict"; var Bar = /** @class */ (function () { function Bar() { } diff --git a/tests/baselines/reference/deeplyNestedAssignabilityErrorsCombined.js b/tests/baselines/reference/deeplyNestedAssignabilityErrorsCombined.js index ea83c55dc31f0..66d141ee4a7f6 100644 --- a/tests/baselines/reference/deeplyNestedAssignabilityErrorsCombined.js +++ b/tests/baselines/reference/deeplyNestedAssignabilityErrorsCombined.js @@ -18,6 +18,7 @@ let y2 = { a: { b: { c: { d: { e: { f: Ctor2 } } } } } }; x2 = y2; //// [deeplyNestedAssignabilityErrorsCombined.js] +"use strict"; var x = { a: { b: { c: { d: { e: { f: function () { return { g: "hello" }; } } } } } } }; var y = { a: { b: { c: { d: { e: { f: function () { return { g: 12345 }; } } } } } } }; x = y; diff --git a/tests/baselines/reference/deeplyNestedAssignabilityIssue.js b/tests/baselines/reference/deeplyNestedAssignabilityIssue.js index 95e0d714a23b4..c23946d7aecab 100644 --- a/tests/baselines/reference/deeplyNestedAssignabilityIssue.js +++ b/tests/baselines/reference/deeplyNestedAssignabilityIssue.js @@ -33,6 +33,7 @@ const x: Large = { //// [deeplyNestedAssignabilityIssue.js] +"use strict"; var x = { something: { another: { diff --git a/tests/baselines/reference/deeplyNestedCheck.js b/tests/baselines/reference/deeplyNestedCheck.js index 81cd6613c7941..cd1c284265f85 100644 --- a/tests/baselines/reference/deeplyNestedCheck.js +++ b/tests/baselines/reference/deeplyNestedCheck.js @@ -57,6 +57,7 @@ const a2: string[][][][][][][][][][] = [[[[[[[[[[42]]]]]]]]]]; //// [deeplyNestedCheck.js] +"use strict"; // Repro from #14794 var x = { b: [ diff --git a/tests/baselines/reference/defaultArgsInFunctionExpressions.js b/tests/baselines/reference/defaultArgsInFunctionExpressions.js index 8c4651a57311e..20e39e6c1c272 100644 --- a/tests/baselines/reference/defaultArgsInFunctionExpressions.js +++ b/tests/baselines/reference/defaultArgsInFunctionExpressions.js @@ -34,6 +34,7 @@ var f7 = (t = U) => { return t; }; f7().x; //// [defaultArgsInFunctionExpressions.js] +"use strict"; var f = function (a) { if (a === void 0) { a = 3; } return a; diff --git a/tests/baselines/reference/defaultArgsInOverloads.js b/tests/baselines/reference/defaultArgsInOverloads.js index a243df9c17465..f7d43bcffea04 100644 --- a/tests/baselines/reference/defaultArgsInOverloads.js +++ b/tests/baselines/reference/defaultArgsInOverloads.js @@ -22,6 +22,7 @@ interface I { var f: (a = 3) => number; //// [defaultArgsInOverloads.js] +"use strict"; function fun(a) { if (a === void 0) { a = null; } } diff --git a/tests/baselines/reference/defaultBestCommonTypesHaveDecls.js b/tests/baselines/reference/defaultBestCommonTypesHaveDecls.js index 38ab65c01385e..e47e094b749a0 100644 --- a/tests/baselines/reference/defaultBestCommonTypesHaveDecls.js +++ b/tests/baselines/reference/defaultBestCommonTypesHaveDecls.js @@ -18,6 +18,7 @@ var elementCount2 = result.length; //// [defaultBestCommonTypesHaveDecls.js] +"use strict"; var obj1; obj1.length; var obj2; diff --git a/tests/baselines/reference/defaultIndexProps1.js b/tests/baselines/reference/defaultIndexProps1.js index 94675e579887c..154807b4eb817 100644 --- a/tests/baselines/reference/defaultIndexProps1.js +++ b/tests/baselines/reference/defaultIndexProps1.js @@ -15,6 +15,7 @@ var q2 = o["v"]; //// [defaultIndexProps1.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.v = "Yo"; diff --git a/tests/baselines/reference/defaultIndexProps2.js b/tests/baselines/reference/defaultIndexProps2.js index 0e81917832165..b3e14cf4436fe 100644 --- a/tests/baselines/reference/defaultIndexProps2.js +++ b/tests/baselines/reference/defaultIndexProps2.js @@ -18,6 +18,7 @@ var q = "s"[0]; //// [defaultIndexProps2.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.v = "Yo"; diff --git a/tests/baselines/reference/defaultKeywordWithoutExport1.js b/tests/baselines/reference/defaultKeywordWithoutExport1.js index c936673baad1c..6d7922c3de582 100644 --- a/tests/baselines/reference/defaultKeywordWithoutExport1.js +++ b/tests/baselines/reference/defaultKeywordWithoutExport1.js @@ -7,6 +7,7 @@ declare function decorator(constructor: any): any; default class {} //// [defaultKeywordWithoutExport1.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/defaultKeywordWithoutExport2.js b/tests/baselines/reference/defaultKeywordWithoutExport2.js index 84e146d5eff5e..b5470aadde164 100644 --- a/tests/baselines/reference/defaultKeywordWithoutExport2.js +++ b/tests/baselines/reference/defaultKeywordWithoutExport2.js @@ -6,5 +6,6 @@ default function () { } //// [defaultKeywordWithoutExport2.js] +"use strict"; function () { } diff --git a/tests/baselines/reference/defaultOfAnyInStrictNullChecks.js b/tests/baselines/reference/defaultOfAnyInStrictNullChecks.js index d760240bd37fb..bdc8337c1859b 100644 --- a/tests/baselines/reference/defaultOfAnyInStrictNullChecks.js +++ b/tests/baselines/reference/defaultOfAnyInStrictNullChecks.js @@ -13,6 +13,7 @@ function foo() { //// [defaultOfAnyInStrictNullChecks.js] +"use strict"; // Regression test for #8295 function foo() { try { diff --git a/tests/baselines/reference/defaultParameterAddsUndefinedWithStrictNullChecks.js b/tests/baselines/reference/defaultParameterAddsUndefinedWithStrictNullChecks.js index fc18b0fd2f0ef..be4f581b08a53 100644 --- a/tests/baselines/reference/defaultParameterAddsUndefinedWithStrictNullChecks.js +++ b/tests/baselines/reference/defaultParameterAddsUndefinedWithStrictNullChecks.js @@ -62,6 +62,7 @@ function removeNothing(y = cond ? true : undefined) { //// [defaultParameterAddsUndefinedWithStrictNullChecks.js] +"use strict"; function f(addUndefined1, addUndefined2) { if (addUndefined1 === void 0) { addUndefined1 = "J"; } return addUndefined1.length + (addUndefined2 || 0); diff --git a/tests/baselines/reference/defaultParameterTrailingComments.js b/tests/baselines/reference/defaultParameterTrailingComments.js index 61c472c86b9a5..9ef19312f4f08 100644 --- a/tests/baselines/reference/defaultParameterTrailingComments.js +++ b/tests/baselines/reference/defaultParameterTrailingComments.js @@ -8,6 +8,7 @@ class C { function foo(defaultParam = 10 /*emit only once*/) {} //// [defaultParameterTrailingComments.js] +"use strict"; var C = /** @class */ (function () { function C(defaultParam /* Emit only once*/) { if (defaultParam === void 0) { defaultParam = false; } diff --git a/tests/baselines/reference/defaultValueInConstructorOverload1.js b/tests/baselines/reference/defaultValueInConstructorOverload1.js index 7e051dc9b9aee..d16bd1afe0cbf 100644 --- a/tests/baselines/reference/defaultValueInConstructorOverload1.js +++ b/tests/baselines/reference/defaultValueInConstructorOverload1.js @@ -8,6 +8,7 @@ class C { } //// [defaultValueInConstructorOverload1.js] +"use strict"; var C = /** @class */ (function () { function C(x) { if (x === void 0) { x = ''; } diff --git a/tests/baselines/reference/defaultValueInFunctionOverload1.js b/tests/baselines/reference/defaultValueInFunctionOverload1.js index c5532b664cdf7..c867f0a3eb7eb 100644 --- a/tests/baselines/reference/defaultValueInFunctionOverload1.js +++ b/tests/baselines/reference/defaultValueInFunctionOverload1.js @@ -5,6 +5,7 @@ function foo(x: string = ''); function foo(x = '') { } //// [defaultValueInFunctionOverload1.js] +"use strict"; function foo(x) { if (x === void 0) { x = ''; } } diff --git a/tests/baselines/reference/defaultValueInFunctionTypes.js b/tests/baselines/reference/defaultValueInFunctionTypes.js index c5a76f4133b1d..52d16b0ac9dd4 100644 --- a/tests/baselines/reference/defaultValueInFunctionTypes.js +++ b/tests/baselines/reference/defaultValueInFunctionTypes.js @@ -8,5 +8,6 @@ var y = <(a : string = "") => any>(undefined) //// [defaultValueInFunctionTypes.js] +"use strict"; var x; var y = (undefined); diff --git a/tests/baselines/reference/deferredTypeReferenceWithinArrayWithinTuple.js b/tests/baselines/reference/deferredTypeReferenceWithinArrayWithinTuple.js index 9e99a48080498..195e0d18b7363 100644 --- a/tests/baselines/reference/deferredTypeReferenceWithinArrayWithinTuple.js +++ b/tests/baselines/reference/deferredTypeReferenceWithinArrayWithinTuple.js @@ -8,3 +8,4 @@ type TypeStructure = | ["list", TypeStructure] // with just this it is ok //// [deferredTypeReferenceWithinArrayWithinTuple.js] +"use strict"; diff --git a/tests/baselines/reference/defineProperty(target=es5).js b/tests/baselines/reference/defineProperty(target=es5).js index 6df924e66a672..160c56c08ec70 100644 --- a/tests/baselines/reference/defineProperty(target=es5).js +++ b/tests/baselines/reference/defineProperty(target=es5).js @@ -27,6 +27,7 @@ class C extends B { //// [defineProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/defineProperty(target=esnext).js b/tests/baselines/reference/defineProperty(target=esnext).js index 69d2e99c75937..5ec0da699bbac 100644 --- a/tests/baselines/reference/defineProperty(target=esnext).js +++ b/tests/baselines/reference/defineProperty(target=esnext).js @@ -27,6 +27,7 @@ class C extends B { //// [defineProperty.js] +"use strict"; var x = "p"; class A { y; diff --git a/tests/baselines/reference/defineVariables_useDefineForClassFields.js b/tests/baselines/reference/defineVariables_useDefineForClassFields.js index 486f993dd8c07..1700b9af6010e 100644 --- a/tests/baselines/reference/defineVariables_useDefineForClassFields.js +++ b/tests/baselines/reference/defineVariables_useDefineForClassFields.js @@ -6,6 +6,7 @@ const b = () => null a() //// [defineVariables_useDefineForClassFields.js] +"use strict"; const a = () => b(); const b = () => null; a(); diff --git a/tests/baselines/reference/definiteAssignmentOfDestructuredVariable.js b/tests/baselines/reference/definiteAssignmentOfDestructuredVariable.js index 0427eee8c7087..5e86df31d29fb 100644 --- a/tests/baselines/reference/definiteAssignmentOfDestructuredVariable.js +++ b/tests/baselines/reference/definiteAssignmentOfDestructuredVariable.js @@ -18,6 +18,7 @@ class C { } //// [definiteAssignmentOfDestructuredVariable.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/definiteAssignmentWithErrorStillStripped.js b/tests/baselines/reference/definiteAssignmentWithErrorStillStripped.js index 1397a0197c1c8..2bada5c1c9cd7 100644 --- a/tests/baselines/reference/definiteAssignmentWithErrorStillStripped.js +++ b/tests/baselines/reference/definiteAssignmentWithErrorStillStripped.js @@ -6,6 +6,7 @@ class C { } //// [definiteAssignmentWithErrorStillStripped.js] +"use strict"; class C { p; } diff --git a/tests/baselines/reference/deleteExpressionMustBeOptional(strict=false).js b/tests/baselines/reference/deleteExpressionMustBeOptional(strict=false).js index 35c06230fe171..262eac63738f9 100644 --- a/tests/baselines/reference/deleteExpressionMustBeOptional(strict=false).js +++ b/tests/baselines/reference/deleteExpressionMustBeOptional(strict=false).js @@ -44,6 +44,7 @@ delete b.b //// [deleteExpressionMustBeOptional.js] +"use strict"; delete f.a; delete f.b; delete f.c; diff --git a/tests/baselines/reference/deleteExpressionMustBeOptional_exactOptionalPropertyTypes(exactoptionalpropertytypes=false).js b/tests/baselines/reference/deleteExpressionMustBeOptional_exactOptionalPropertyTypes(exactoptionalpropertytypes=false).js index 2fcbe8432ffa5..55c34070e8790 100644 --- a/tests/baselines/reference/deleteExpressionMustBeOptional_exactOptionalPropertyTypes(exactoptionalpropertytypes=false).js +++ b/tests/baselines/reference/deleteExpressionMustBeOptional_exactOptionalPropertyTypes(exactoptionalpropertytypes=false).js @@ -56,6 +56,7 @@ delete b.b //// [deleteExpressionMustBeOptional_exactOptionalPropertyTypes.js] +"use strict"; delete f.a; delete f.b; delete f.c; diff --git a/tests/baselines/reference/deleteExpressionMustBeOptional_exactOptionalPropertyTypes(exactoptionalpropertytypes=true).js b/tests/baselines/reference/deleteExpressionMustBeOptional_exactOptionalPropertyTypes(exactoptionalpropertytypes=true).js index 2fcbe8432ffa5..55c34070e8790 100644 --- a/tests/baselines/reference/deleteExpressionMustBeOptional_exactOptionalPropertyTypes(exactoptionalpropertytypes=true).js +++ b/tests/baselines/reference/deleteExpressionMustBeOptional_exactOptionalPropertyTypes(exactoptionalpropertytypes=true).js @@ -56,6 +56,7 @@ delete b.b //// [deleteExpressionMustBeOptional_exactOptionalPropertyTypes.js] +"use strict"; delete f.a; delete f.b; delete f.c; diff --git a/tests/baselines/reference/deleteOperator1.errors.txt b/tests/baselines/reference/deleteOperator1.errors.txt index 19feefa6c6228..7f01da08d18eb 100644 --- a/tests/baselines/reference/deleteOperator1.errors.txt +++ b/tests/baselines/reference/deleteOperator1.errors.txt @@ -1,19 +1,28 @@ +deleteOperator1.ts(2,25): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperator1.ts(2,25): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperator1.ts(3,21): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperator1.ts(3,21): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperator1.ts(4,5): error TS2322: Type 'boolean' is not assignable to type 'number'. +deleteOperator1.ts(4,24): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperator1.ts(4,24): error TS2703: The operand of a 'delete' operator must be a property reference. -==== deleteOperator1.ts (4 errors) ==== +==== deleteOperator1.ts (7 errors) ==== var a; var x: boolean = delete a; ~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var y: any = delete a; ~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var z: number = delete a; ~ !!! error TS2322: Type 'boolean' is not assignable to type 'number'. ~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. \ No newline at end of file diff --git a/tests/baselines/reference/deleteOperator1.js b/tests/baselines/reference/deleteOperator1.js index 0a1fcb315adcb..c259e3ff5d701 100644 --- a/tests/baselines/reference/deleteOperator1.js +++ b/tests/baselines/reference/deleteOperator1.js @@ -7,6 +7,7 @@ var y: any = delete a; var z: number = delete a; //// [deleteOperator1.js] +"use strict"; var a; var x = delete a; var y = delete a; diff --git a/tests/baselines/reference/deleteOperatorInvalidOperations.errors.txt b/tests/baselines/reference/deleteOperatorInvalidOperations.errors.txt index df4c0ad868f5a..ce87d1518af74 100644 --- a/tests/baselines/reference/deleteOperatorInvalidOperations.errors.txt +++ b/tests/baselines/reference/deleteOperatorInvalidOperations.errors.txt @@ -1,13 +1,15 @@ deleteOperatorInvalidOperations.ts(5,20): error TS1005: ',' expected. +deleteOperatorInvalidOperations.ts(5,26): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorInvalidOperations.ts(5,26): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorInvalidOperations.ts(5,27): error TS1109: Expression expected. +deleteOperatorInvalidOperations.ts(8,22): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorInvalidOperations.ts(8,22): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorInvalidOperations.ts(8,23): error TS1109: Expression expected. deleteOperatorInvalidOperations.ts(13,16): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorInvalidOperations.ts(13,16): error TS2703: The operand of a 'delete' operator must be a property reference. -==== deleteOperatorInvalidOperations.ts (7 errors) ==== +==== deleteOperatorInvalidOperations.ts (9 errors) ==== // Unary operator delete var ANY; @@ -16,6 +18,8 @@ deleteOperatorInvalidOperations.ts(13,16): error TS2703: The operand of a 'delet ~~~~~~ !!! error TS1005: ',' expected. +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + !!! error TS2703: The operand of a 'delete' operator must be a property reference. ~ !!! error TS1109: Expression expected. @@ -23,6 +27,8 @@ deleteOperatorInvalidOperations.ts(13,16): error TS2703: The operand of a 'delet // miss an operand var BOOLEAN2 = delete ; +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + !!! error TS2703: The operand of a 'delete' operator must be a property reference. ~ !!! error TS1109: Expression expected. diff --git a/tests/baselines/reference/deleteOperatorInvalidOperations.js b/tests/baselines/reference/deleteOperatorInvalidOperations.js index 71b26b834b714..7b5ed0067f104 100644 --- a/tests/baselines/reference/deleteOperatorInvalidOperations.js +++ b/tests/baselines/reference/deleteOperatorInvalidOperations.js @@ -18,6 +18,7 @@ class testADelx { } //// [deleteOperatorInvalidOperations.js] +"use strict"; // Unary operator delete var ANY; // operand before delete operator diff --git a/tests/baselines/reference/deleteOperatorWithAnyOtherType.errors.txt b/tests/baselines/reference/deleteOperatorWithAnyOtherType.errors.txt index 82266312f7190..69bab738aa41e 100644 --- a/tests/baselines/reference/deleteOperatorWithAnyOtherType.errors.txt +++ b/tests/baselines/reference/deleteOperatorWithAnyOtherType.errors.txt @@ -1,9 +1,16 @@ +deleteOperatorWithAnyOtherType.ts(25,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithAnyOtherType.ts(25,31): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithAnyOtherType.ts(26,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithAnyOtherType.ts(26,31): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithAnyOtherType.ts(27,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithAnyOtherType.ts(27,31): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithAnyOtherType.ts(28,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithAnyOtherType.ts(28,31): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithAnyOtherType.ts(29,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithAnyOtherType.ts(29,31): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithAnyOtherType.ts(30,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithAnyOtherType.ts(30,31): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithAnyOtherType.ts(33,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithAnyOtherType.ts(33,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithAnyOtherType.ts(34,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithAnyOtherType.ts(42,32): error TS2703: The operand of a 'delete' operator must be a property reference. @@ -16,16 +23,20 @@ deleteOperatorWithAnyOtherType.ts(46,33): error TS2703: The operand of a 'delete deleteOperatorWithAnyOtherType.ts(47,33): error TS2365: Operator '+' cannot be applied to types 'undefined' and 'undefined'. deleteOperatorWithAnyOtherType.ts(47,33): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithAnyOtherType.ts(50,32): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithAnyOtherType.ts(50,39): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithAnyOtherType.ts(50,39): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithAnyOtherType.ts(51,32): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithAnyOtherType.ts(51,39): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithAnyOtherType.ts(51,47): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithAnyOtherType.ts(54,8): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithAnyOtherType.ts(54,8): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithAnyOtherType.ts(55,8): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithAnyOtherType.ts(55,8): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithAnyOtherType.ts(57,8): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithAnyOtherType.ts(57,8): error TS2703: The operand of a 'delete' operator must be a property reference. -==== deleteOperatorWithAnyOtherType.ts (25 errors) ==== +==== deleteOperatorWithAnyOtherType.ts (36 errors) ==== // delete operator on any type declare var ANY: any; @@ -52,26 +63,40 @@ deleteOperatorWithAnyOtherType.ts(57,8): error TS2703: The operand of a 'delete' // any type var var ResultIsBoolean1 = delete ANY1; ~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean2 = delete ANY2; ~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean3 = delete A; ~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean4 = delete M; ~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean5 = delete obj; ~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean6 = delete obj1; ~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. // any type literal var ResultIsBoolean7 = delete undefined; ~~~~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean8 = delete null; ~~~~ @@ -113,6 +138,8 @@ deleteOperatorWithAnyOtherType.ts(57,8): error TS2703: The operand of a 'delete' ~~~~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. ~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean21 = delete delete delete (ANY + ANY1); ~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -125,13 +152,19 @@ deleteOperatorWithAnyOtherType.ts(57,8): error TS2703: The operand of a 'delete' // miss assignment operators delete ANY; ~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete ANY1; ~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete ANY2[0]; delete ANY, ANY1; ~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete obj1.x; delete obj1.y; diff --git a/tests/baselines/reference/deleteOperatorWithAnyOtherType.js b/tests/baselines/reference/deleteOperatorWithAnyOtherType.js index 96c6a1e9532ee..b43729221b619 100644 --- a/tests/baselines/reference/deleteOperatorWithAnyOtherType.js +++ b/tests/baselines/reference/deleteOperatorWithAnyOtherType.js @@ -64,6 +64,7 @@ delete objA.a; delete M.n; //// [deleteOperatorWithAnyOtherType.js] +"use strict"; // delete operator on any type var ANY2 = ["", ""]; var obj1 = { x: "", y: function () { } }; diff --git a/tests/baselines/reference/deleteOperatorWithBooleanType.errors.txt b/tests/baselines/reference/deleteOperatorWithBooleanType.errors.txt index 57563e975fbf2..54914c32cf12f 100644 --- a/tests/baselines/reference/deleteOperatorWithBooleanType.errors.txt +++ b/tests/baselines/reference/deleteOperatorWithBooleanType.errors.txt @@ -1,17 +1,20 @@ +deleteOperatorWithBooleanType.ts(17,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithBooleanType.ts(17,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithBooleanType.ts(20,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithBooleanType.ts(21,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithBooleanType.ts(26,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithBooleanType.ts(27,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithBooleanType.ts(30,31): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithBooleanType.ts(30,38): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithBooleanType.ts(30,38): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithBooleanType.ts(33,8): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithBooleanType.ts(34,8): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithBooleanType.ts(34,8): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithBooleanType.ts(35,8): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithBooleanType.ts(36,8): error TS2703: The operand of a 'delete' operator must be a property reference. -==== deleteOperatorWithBooleanType.ts (11 errors) ==== +==== deleteOperatorWithBooleanType.ts (14 errors) ==== // delete operator on boolean type declare var BOOLEAN: boolean; @@ -30,6 +33,8 @@ deleteOperatorWithBooleanType.ts(36,8): error TS2703: The operand of a 'delete' // boolean type var var ResultIsBoolean1 = delete BOOLEAN; ~~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. // boolean type literal @@ -55,6 +60,8 @@ deleteOperatorWithBooleanType.ts(36,8): error TS2703: The operand of a 'delete' ~~~~~~~~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. ~~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. // miss assignment operators @@ -63,6 +70,8 @@ deleteOperatorWithBooleanType.ts(36,8): error TS2703: The operand of a 'delete' !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete BOOLEAN; ~~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete foo(); ~~~~~ diff --git a/tests/baselines/reference/deleteOperatorWithBooleanType.js b/tests/baselines/reference/deleteOperatorWithBooleanType.js index b9041dc353ed3..63a607bc2e34e 100644 --- a/tests/baselines/reference/deleteOperatorWithBooleanType.js +++ b/tests/baselines/reference/deleteOperatorWithBooleanType.js @@ -41,6 +41,7 @@ delete objA.a; delete M.n; //// [deleteOperatorWithBooleanType.js] +"use strict"; function foo() { return true; } var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/deleteOperatorWithEnumType.errors.txt b/tests/baselines/reference/deleteOperatorWithEnumType.errors.txt index 087b0635132a9..c673275cf7987 100644 --- a/tests/baselines/reference/deleteOperatorWithEnumType.errors.txt +++ b/tests/baselines/reference/deleteOperatorWithEnumType.errors.txt @@ -1,19 +1,25 @@ +deleteOperatorWithEnumType.ts(7,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithEnumType.ts(7,31): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithEnumType.ts(8,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithEnumType.ts(8,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithEnumType.ts(11,31): error TS2704: The operand of a 'delete' operator cannot be a read-only property. deleteOperatorWithEnumType.ts(12,32): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithEnumType.ts(15,31): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithEnumType.ts(15,38): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithEnumType.ts(15,38): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithEnumType.ts(16,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithEnumType.ts(16,38): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithEnumType.ts(16,46): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithEnumType.ts(19,8): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithEnumType.ts(19,8): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithEnumType.ts(20,8): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithEnumType.ts(20,8): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithEnumType.ts(21,8): error TS2704: The operand of a 'delete' operator cannot be a read-only property. +deleteOperatorWithEnumType.ts(22,8): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithEnumType.ts(22,8): error TS2703: The operand of a 'delete' operator must be a property reference. -==== deleteOperatorWithEnumType.ts (13 errors) ==== +==== deleteOperatorWithEnumType.ts (19 errors) ==== // delete operator on enum type enum ENUM { }; @@ -22,9 +28,13 @@ deleteOperatorWithEnumType.ts(22,8): error TS2703: The operand of a 'delete' ope // enum type var var ResultIsBoolean1 = delete ENUM; ~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean2 = delete ENUM1; ~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. // enum type expressions @@ -40,6 +50,8 @@ deleteOperatorWithEnumType.ts(22,8): error TS2703: The operand of a 'delete' ope ~~~~~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. ~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean6 = delete delete delete (ENUM[0] + ENUM1["B"]); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -52,13 +64,19 @@ deleteOperatorWithEnumType.ts(22,8): error TS2703: The operand of a 'delete' ope // miss assignment operators delete ENUM; ~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete ENUM1; ~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete ENUM1.B; ~~~~~~~ !!! error TS2704: The operand of a 'delete' operator cannot be a read-only property. delete ENUM, ENUM1; ~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. \ No newline at end of file diff --git a/tests/baselines/reference/deleteOperatorWithEnumType.js b/tests/baselines/reference/deleteOperatorWithEnumType.js index 8bc19a1195613..6096c9f2fde23 100644 --- a/tests/baselines/reference/deleteOperatorWithEnumType.js +++ b/tests/baselines/reference/deleteOperatorWithEnumType.js @@ -25,6 +25,7 @@ delete ENUM1.B; delete ENUM, ENUM1; //// [deleteOperatorWithEnumType.js] +"use strict"; // delete operator on enum type var ENUM; (function (ENUM) { diff --git a/tests/baselines/reference/deleteOperatorWithNumberType.errors.txt b/tests/baselines/reference/deleteOperatorWithNumberType.errors.txt index 86d0813cfc9dc..fad342b636cc3 100644 --- a/tests/baselines/reference/deleteOperatorWithNumberType.errors.txt +++ b/tests/baselines/reference/deleteOperatorWithNumberType.errors.txt @@ -1,4 +1,6 @@ +deleteOperatorWithNumberType.ts(18,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithNumberType.ts(18,31): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithNumberType.ts(19,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithNumberType.ts(19,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithNumberType.ts(22,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithNumberType.ts(23,31): error TS2703: The operand of a 'delete' operator must be a property reference. @@ -7,17 +9,20 @@ deleteOperatorWithNumberType.ts(30,31): error TS2703: The operand of a 'delete' deleteOperatorWithNumberType.ts(31,32): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithNumberType.ts(32,33): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithNumberType.ts(35,32): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithNumberType.ts(35,39): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithNumberType.ts(35,39): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithNumberType.ts(36,32): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithNumberType.ts(36,39): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithNumberType.ts(36,47): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithNumberType.ts(39,8): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithNumberType.ts(40,8): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithNumberType.ts(40,8): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithNumberType.ts(41,8): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithNumberType.ts(41,8): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithNumberType.ts(42,8): error TS2703: The operand of a 'delete' operator must be a property reference. -==== deleteOperatorWithNumberType.ts (17 errors) ==== +==== deleteOperatorWithNumberType.ts (22 errors) ==== // delete operator on number type declare var NUMBER: number; var NUMBER1: number[] = [1, 2]; @@ -37,9 +42,13 @@ deleteOperatorWithNumberType.ts(42,8): error TS2703: The operand of a 'delete' o // number type var var ResultIsBoolean1 = delete NUMBER; ~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean2 = delete NUMBER1; ~~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. // number type literal @@ -72,6 +81,8 @@ deleteOperatorWithNumberType.ts(42,8): error TS2703: The operand of a 'delete' o ~~~~~~~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. ~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean13 = delete delete delete (NUMBER + NUMBER); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -87,9 +98,13 @@ deleteOperatorWithNumberType.ts(42,8): error TS2703: The operand of a 'delete' o !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete NUMBER; ~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete NUMBER1; ~~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete foo(); ~~~~~ diff --git a/tests/baselines/reference/deleteOperatorWithNumberType.js b/tests/baselines/reference/deleteOperatorWithNumberType.js index e86c940f50d1c..bc47d4ef0ae74 100644 --- a/tests/baselines/reference/deleteOperatorWithNumberType.js +++ b/tests/baselines/reference/deleteOperatorWithNumberType.js @@ -48,6 +48,7 @@ delete M.n; delete objA.a, M.n; //// [deleteOperatorWithNumberType.js] +"use strict"; var NUMBER1 = [1, 2]; function foo() { return 1; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/deleteOperatorWithStringType.errors.txt b/tests/baselines/reference/deleteOperatorWithStringType.errors.txt index 346ea15e1e077..b12bfcf0edd3c 100644 --- a/tests/baselines/reference/deleteOperatorWithStringType.errors.txt +++ b/tests/baselines/reference/deleteOperatorWithStringType.errors.txt @@ -1,4 +1,6 @@ +deleteOperatorWithStringType.ts(18,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithStringType.ts(18,31): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithStringType.ts(19,31): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithStringType.ts(19,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithStringType.ts(22,31): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithStringType.ts(23,31): error TS2703: The operand of a 'delete' operator must be a property reference. @@ -8,17 +10,20 @@ deleteOperatorWithStringType.ts(31,32): error TS2703: The operand of a 'delete' deleteOperatorWithStringType.ts(32,33): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithStringType.ts(33,32): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithStringType.ts(36,32): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithStringType.ts(36,39): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithStringType.ts(36,39): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithStringType.ts(37,32): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithStringType.ts(37,39): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithStringType.ts(37,47): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithStringType.ts(40,8): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithStringType.ts(41,8): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithStringType.ts(41,8): error TS2703: The operand of a 'delete' operator must be a property reference. +deleteOperatorWithStringType.ts(42,8): error TS1102: 'delete' cannot be called on an identifier in strict mode. deleteOperatorWithStringType.ts(42,8): error TS2703: The operand of a 'delete' operator must be a property reference. deleteOperatorWithStringType.ts(43,8): error TS2703: The operand of a 'delete' operator must be a property reference. -==== deleteOperatorWithStringType.ts (18 errors) ==== +==== deleteOperatorWithStringType.ts (23 errors) ==== // delete operator on string type declare var STRING: string; var STRING1: string[] = ["", "abc"]; @@ -38,9 +43,13 @@ deleteOperatorWithStringType.ts(43,8): error TS2703: The operand of a 'delete' o // string type var var ResultIsBoolean1 = delete STRING; ~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean2 = delete STRING1; ~~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. // string type literal @@ -76,6 +85,8 @@ deleteOperatorWithStringType.ts(43,8): error TS2703: The operand of a 'delete' o ~~~~~~~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. ~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. var ResultIsBoolean14 = delete delete delete (STRING + STRING); ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ @@ -91,9 +102,13 @@ deleteOperatorWithStringType.ts(43,8): error TS2703: The operand of a 'delete' o !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete STRING; ~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete STRING1; ~~~~~~~ +!!! error TS1102: 'delete' cannot be called on an identifier in strict mode. + ~~~~~~~ !!! error TS2703: The operand of a 'delete' operator must be a property reference. delete foo(); ~~~~~ diff --git a/tests/baselines/reference/deleteOperatorWithStringType.js b/tests/baselines/reference/deleteOperatorWithStringType.js index 60e7ecd779ac9..b1dba28c07cda 100644 --- a/tests/baselines/reference/deleteOperatorWithStringType.js +++ b/tests/baselines/reference/deleteOperatorWithStringType.js @@ -47,6 +47,7 @@ delete foo(); delete objA.a,M.n; //// [deleteOperatorWithStringType.js] +"use strict"; var STRING1 = ["", "abc"]; function foo() { return "abc"; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/deleteReadonly.js b/tests/baselines/reference/deleteReadonly.js index e0e7062b81d5e..1de9f69e09f3f 100644 --- a/tests/baselines/reference/deleteReadonly.js +++ b/tests/baselines/reference/deleteReadonly.js @@ -24,6 +24,7 @@ delete ((((b['test'])))); //// [deleteReadonly.js] +"use strict"; var a = { b: 123 }; diff --git a/tests/baselines/reference/deleteReadonlyInStrictNullChecks.js b/tests/baselines/reference/deleteReadonlyInStrictNullChecks.js index da2d57e18cb38..e1b7c29cc841e 100644 --- a/tests/baselines/reference/deleteReadonlyInStrictNullChecks.js +++ b/tests/baselines/reference/deleteReadonlyInStrictNullChecks.js @@ -7,6 +7,7 @@ delete Foo.name; //// [deleteReadonlyInStrictNullChecks.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/deprecatedBool.js b/tests/baselines/reference/deprecatedBool.js index abd0437a7ae67..5a0e260ab65dd 100644 --- a/tests/baselines/reference/deprecatedBool.js +++ b/tests/baselines/reference/deprecatedBool.js @@ -6,5 +6,6 @@ var bool: boolean; //// [deprecatedBool.js] +"use strict"; var b4; var bool; diff --git a/tests/baselines/reference/deprecatedCompilerOptions1.js b/tests/baselines/reference/deprecatedCompilerOptions1.js index 777f182437350..4333fa50b611c 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions1.js +++ b/tests/baselines/reference/deprecatedCompilerOptions1.js @@ -5,4 +5,5 @@ const a = 1; //// [a.js] +"use strict"; var a = 1; diff --git a/tests/baselines/reference/deprecatedCompilerOptions2.js b/tests/baselines/reference/deprecatedCompilerOptions2.js index 89286386b8053..28342ddc3440c 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions2.js +++ b/tests/baselines/reference/deprecatedCompilerOptions2.js @@ -5,4 +5,5 @@ const a = 1; //// [a.js] +"use strict"; var a = 1; diff --git a/tests/baselines/reference/deprecatedCompilerOptions3.js b/tests/baselines/reference/deprecatedCompilerOptions3.js index 3e175cce84226..3ccf2ce113c17 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions3.js +++ b/tests/baselines/reference/deprecatedCompilerOptions3.js @@ -5,4 +5,5 @@ const a = 1; //// [a.js] +"use strict"; var a = 1; diff --git a/tests/baselines/reference/deprecatedCompilerOptions4.js b/tests/baselines/reference/deprecatedCompilerOptions4.js index 1557f74b2011d..055fcc15b5188 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions4.js +++ b/tests/baselines/reference/deprecatedCompilerOptions4.js @@ -5,4 +5,5 @@ const a = 1; //// [a.js] +"use strict"; var a = 1; diff --git a/tests/baselines/reference/deprecatedCompilerOptions5.js b/tests/baselines/reference/deprecatedCompilerOptions5.js index ed591b33fa618..4d719410056d2 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions5.js +++ b/tests/baselines/reference/deprecatedCompilerOptions5.js @@ -5,4 +5,5 @@ const a = 1; //// [a.js] +"use strict"; var a = 1; diff --git a/tests/baselines/reference/deprecatedCompilerOptions6.js b/tests/baselines/reference/deprecatedCompilerOptions6.js index 2d8cb9f10c3d2..60067746c580a 100644 --- a/tests/baselines/reference/deprecatedCompilerOptions6.js +++ b/tests/baselines/reference/deprecatedCompilerOptions6.js @@ -5,4 +5,5 @@ const a = 1; //// [a.js] +"use strict"; var a = 1; diff --git a/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.js b/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.js index dea83d414c0ea..4886eaa20dc29 100644 --- a/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.js +++ b/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.js @@ -36,6 +36,7 @@ class D extends C { } //// [derivedClassConstructorWithExplicitReturns01.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.js.map b/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.js.map index 591d33250101c..1ddd362d7452b 100644 --- a/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.js.map +++ b/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.js.map @@ -1,3 +1,3 @@ //// [derivedClassConstructorWithExplicitReturns01.js.map] -{"version":3,"file":"derivedClassConstructorWithExplicitReturns01.js","sourceRoot":"","sources":["derivedClassConstructorWithExplicitReturns01.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;IAKI,WAAY,KAAa;QAJzB,UAAK,GAAG,EAAE,CAAC;QAKP,OAAO;YACH,KAAK,EAAE,KAAK;YACZ,GAAG;gBACC,OAAO,8BAA8B,CAAC;YAC1C,CAAC;SACJ,CAAA;IACL,CAAC;IATD,eAAG,GAAH,cAAQ,OAAO,uBAAuB,CAAC,CAAC,CAAC;IAU7C,QAAC;AAAD,CAAC,AAbD,IAaC;AAED;IAAgB,qBAAC;IAGb,WAAY,CAAO;QAAP,kBAAA,EAAA,OAAO;QACf,YAAA,MAAK,YAAC,CAAC,CAAC,SAAC;QAHb,WAAK,GAAG,cAAM,OAAA,KAAI,EAAJ,CAAI,CAAC;QAKf,IAAI,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,EAAE,CAAC;YACtB,UAAU,CAAA;YACV,OAAO;gBACH,KAAK,EAAE,CAAC;gBACR,KAAK,EAAE,cAAM,OAAA,KAAI,EAAJ,CAAI;gBACjB,GAAG,gBAAK,OAAO,cAAc,CAAA,CAAC,CAAC;aAClC,CAAC;QACN,CAAC;;YAEG,OAAO,IAAI,CAAC;IACpB,CAAC;IACL,QAAC;AAAD,CAAC,AAjBD,CAAgB,CAAC,GAiBhB"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9fZXh0ZW5kcyA9ICh0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AgICAgdGhpcy5jUHJvcCA9IDEwOw0KICAgICAgICByZXR1cm4gew0KICAgICAgICAgICAgY1Byb3A6IHZhbHVlLA0KICAgICAgICAgICAgZm9vOiBmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICAgICAgcmV0dXJuICJ3ZWxsIHRoaXMgbG9va3Mga2luZGEgQy1pc2guIjsNCiAgICAgICAgICAgIH0NCiAgICAgICAgfTsNCiAgICB9DQogICAgQy5wcm90b3R5cGUuZm9vID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gInRoaXMgbmV2ZXIgZ2V0cyB1c2VkLiI7IH07DQogICAgcmV0dXJuIEM7DQp9KCkpOw0KdmFyIEQgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoX3N1cGVyKSB7DQogICAgX19leHRlbmRzKEQsIF9zdXBlcik7DQogICAgZnVuY3Rpb24gRChhKSB7DQogICAgICAgIGlmIChhID09PSB2b2lkIDApIHsgYSA9IDEwMDsgfQ0KICAgICAgICB2YXIgX3RoaXMgPSBfc3VwZXIuY2FsbCh0aGlzLCBhKSB8fCB0aGlzOw0KICAgICAgICBfdGhpcy5kUHJvcCA9IGZ1bmN0aW9uICgpIHsgcmV0dXJuIF90aGlzOyB9Ow0KICAgICAgICBpZiAoTWF0aC5yYW5kb20oKSA8IDAuNSkgew0KICAgICAgICAgICAgIllvdSB3aW4hIjsNCiAgICAgICAgICAgIHJldHVybiB7DQogICAgICAgICAgICAgICAgY1Byb3A6IDEsDQogICAgICAgICAgICAgICAgZFByb3A6IGZ1bmN0aW9uICgpIHsgcmV0dXJuIF90aGlzOyB9LA0KICAgICAgICAgICAgICAgIGZvbzogZnVuY3Rpb24gKCkgeyByZXR1cm4gIllvdSB3aW4hISEhISI7IH0NCiAgICAgICAgICAgIH07DQogICAgICAgIH0NCiAgICAgICAgZWxzZQ0KICAgICAgICAgICAgcmV0dXJuIG51bGw7DQogICAgfQ0KICAgIHJldHVybiBEOw0KfShDKSk7DQovLyMgc291cmNlTWFwc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7UUFDTixDQUFDOztZQUVHLE9BQU8sSUFBSSxDQUFDO0lBQ3BCLENBQUM7SUFDTCxRQUFDO0FBQUQsQ0FBQyxBQWpCRCxDQUFnQixDQUFDLEdBaUJoQiJ9,Y2xhc3MgQyB7CiAgICBjUHJvcCA9IDEwOwoKICAgIGZvbygpIHsgcmV0dXJuICJ0aGlzIG5ldmVyIGdldHMgdXNlZC4iOyB9CgogICAgY29uc3RydWN0b3IodmFsdWU6IG51bWJlcikgewogICAgICAgIHJldHVybiB7CiAgICAgICAgICAgIGNQcm9wOiB2YWx1ZSwKICAgICAgICAgICAgZm9vKCkgewogICAgICAgICAgICAgICAgcmV0dXJuICJ3ZWxsIHRoaXMgbG9va3Mga2luZGEgQy1pc2guIjsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KfQoKY2xhc3MgRCBleHRlbmRzIEMgewogICAgZFByb3AgPSAoKSA9PiB0aGlzOwoKICAgIGNvbnN0cnVjdG9yKGEgPSAxMDApIHsKICAgICAgICBzdXBlcihhKTsKCiAgICAgICAgaWYgKE1hdGgucmFuZG9tKCkgPCAwLjUpIHsKICAgICAgICAgICAgIllvdSB3aW4hIgogICAgICAgICAgICByZXR1cm4gewogICAgICAgICAgICAgICAgY1Byb3A6IDEsCiAgICAgICAgICAgICAgICBkUHJvcDogKCkgPT4gdGhpcywKICAgICAgICAgICAgICAgIGZvbygpIHsgcmV0dXJuICJZb3Ugd2luISEhISEiIH0KICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgZWxzZQogICAgICAgICAgICByZXR1cm4gbnVsbDsKICAgIH0KfQ== +{"version":3,"file":"derivedClassConstructorWithExplicitReturns01.js","sourceRoot":"","sources":["derivedClassConstructorWithExplicitReturns01.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;IAKI,WAAY,KAAa;QAJzB,UAAK,GAAG,EAAE,CAAC;QAKP,OAAO;YACH,KAAK,EAAE,KAAK;YACZ,GAAG;gBACC,OAAO,8BAA8B,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HRlbmRzIEMgewogICAgZFByb3AgPSAoKSA9PiB0aGlzOwoKICAgIGNvbnN0cnVjdG9yKGEgPSAxMDApIHsKICAgICAgICBzdXBlcihhKTsKCiAgICAgICAgaWYgKE1hdGgucmFuZG9tKCkgPCAwLjUpIHsKICAgICAgICAgICAgIllvdSB3aW4hIgogICAgICAgICAgICByZXR1cm4gewogICAgICAgICAgICAgICAgY1Byb3A6IDEsCiAgICAgICAgICAgICAgICBkUHJvcDogKCkgPT4gdGhpcywKICAgICAgICAgICAgICAgIGZvbygpIHsgcmV0dXJuICJZb3Ugd2luISEhISEiIH0KICAgICAgICAgICAgfTsKICAgICAgICB9CiAgICAgICAgZWxzZQogICAgICAgICAgICByZXR1cm4gbnVsbDsKICAgIH0KfQ== diff --git a/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.sourcemap.txt b/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.sourcemap.txt index f51d0759aa4de..0234e45bb0ba9 100644 --- a/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.sourcemap.txt +++ b/tests/baselines/reference/derivedClassConstructorWithExplicitReturns01.sourcemap.txt @@ -8,6 +8,7 @@ sources: derivedClassConstructorWithExplicitReturns01.ts emittedFile:derivedClassConstructorWithExplicitReturns01.js sourceFile:derivedClassConstructorWithExplicitReturns01.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var __extends = (this && this.__extends) || (function () { >>> var extendStatics = function (d, b) { >>> extendStatics = Object.setPrototypeOf || @@ -27,7 +28,7 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(16, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(17, 1) Source(1, 1) + SourceIndex(0) --- >>> function C(value) { 1->^^^^ @@ -42,9 +43,9 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts > 2 > constructor( 3 > value: number -1->Emitted(17, 5) Source(6, 5) + SourceIndex(0) -2 >Emitted(17, 16) Source(6, 17) + SourceIndex(0) -3 >Emitted(17, 21) Source(6, 30) + SourceIndex(0) +1->Emitted(18, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(18, 16) Source(6, 17) + SourceIndex(0) +3 >Emitted(18, 21) Source(6, 30) + SourceIndex(0) --- >>> this.cProp = 10; 1->^^^^^^^^ @@ -57,11 +58,11 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 3 > = 4 > 10 5 > ; -1->Emitted(18, 9) Source(2, 5) + SourceIndex(0) -2 >Emitted(18, 19) Source(2, 10) + SourceIndex(0) -3 >Emitted(18, 22) Source(2, 13) + SourceIndex(0) -4 >Emitted(18, 24) Source(2, 15) + SourceIndex(0) -5 >Emitted(18, 25) Source(2, 16) + SourceIndex(0) +1->Emitted(19, 9) Source(2, 5) + SourceIndex(0) +2 >Emitted(19, 19) Source(2, 10) + SourceIndex(0) +3 >Emitted(19, 22) Source(2, 13) + SourceIndex(0) +4 >Emitted(19, 24) Source(2, 15) + SourceIndex(0) +5 >Emitted(19, 25) Source(2, 16) + SourceIndex(0) --- >>> return { 1 >^^^^^^^^ @@ -74,8 +75,8 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts > constructor(value: number) { > 2 > return -1 >Emitted(19, 9) Source(7, 9) + SourceIndex(0) -2 >Emitted(19, 16) Source(7, 16) + SourceIndex(0) +1 >Emitted(20, 9) Source(7, 9) + SourceIndex(0) +2 >Emitted(20, 16) Source(7, 16) + SourceIndex(0) --- >>> cProp: value, 1->^^^^^^^^^^^^ @@ -88,10 +89,10 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 2 > cProp 3 > : 4 > value -1->Emitted(20, 13) Source(8, 13) + SourceIndex(0) -2 >Emitted(20, 18) Source(8, 18) + SourceIndex(0) -3 >Emitted(20, 20) Source(8, 20) + SourceIndex(0) -4 >Emitted(20, 25) Source(8, 25) + SourceIndex(0) +1->Emitted(21, 13) Source(8, 13) + SourceIndex(0) +2 >Emitted(21, 18) Source(8, 18) + SourceIndex(0) +3 >Emitted(21, 20) Source(8, 20) + SourceIndex(0) +4 >Emitted(21, 25) Source(8, 25) + SourceIndex(0) --- >>> foo: function () { 1->^^^^^^^^^^^^ @@ -100,8 +101,8 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 1->, > 2 > foo -1->Emitted(21, 13) Source(9, 13) + SourceIndex(0) -2 >Emitted(21, 16) Source(9, 16) + SourceIndex(0) +1->Emitted(22, 13) Source(9, 13) + SourceIndex(0) +2 >Emitted(22, 16) Source(9, 16) + SourceIndex(0) --- >>> return "well this looks kinda C-ish."; 1->^^^^^^^^^^^^^^^^ @@ -113,10 +114,10 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 2 > return 3 > "well this looks kinda C-ish." 4 > ; -1->Emitted(22, 17) Source(10, 17) + SourceIndex(0) -2 >Emitted(22, 24) Source(10, 24) + SourceIndex(0) -3 >Emitted(22, 54) Source(10, 54) + SourceIndex(0) -4 >Emitted(22, 55) Source(10, 55) + SourceIndex(0) +1->Emitted(23, 17) Source(10, 17) + SourceIndex(0) +2 >Emitted(23, 24) Source(10, 24) + SourceIndex(0) +3 >Emitted(23, 54) Source(10, 54) + SourceIndex(0) +4 >Emitted(23, 55) Source(10, 55) + SourceIndex(0) --- >>> } 1 >^^^^^^^^^^^^ @@ -124,8 +125,8 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 1 > > 2 > } -1 >Emitted(23, 13) Source(11, 13) + SourceIndex(0) -2 >Emitted(23, 14) Source(11, 14) + SourceIndex(0) +1 >Emitted(24, 13) Source(11, 13) + SourceIndex(0) +2 >Emitted(24, 14) Source(11, 14) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^^ @@ -133,8 +134,8 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 1 > > } 2 > -1 >Emitted(24, 10) Source(12, 10) + SourceIndex(0) -2 >Emitted(24, 11) Source(12, 10) + SourceIndex(0) +1 >Emitted(25, 10) Source(12, 10) + SourceIndex(0) +2 >Emitted(25, 11) Source(12, 10) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -143,8 +144,8 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 1 > > 2 > } -1 >Emitted(25, 5) Source(13, 5) + SourceIndex(0) -2 >Emitted(25, 6) Source(13, 6) + SourceIndex(0) +1 >Emitted(26, 5) Source(13, 5) + SourceIndex(0) +2 >Emitted(26, 6) Source(13, 6) + SourceIndex(0) --- >>> C.prototype.foo = function () { return "this never gets used."; }; 1->^^^^ @@ -165,15 +166,15 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 7 > ; 8 > 9 > } -1->Emitted(26, 5) Source(4, 5) + SourceIndex(0) -2 >Emitted(26, 20) Source(4, 8) + SourceIndex(0) -3 >Emitted(26, 23) Source(4, 5) + SourceIndex(0) -4 >Emitted(26, 37) Source(4, 13) + SourceIndex(0) -5 >Emitted(26, 44) Source(4, 20) + SourceIndex(0) -6 >Emitted(26, 67) Source(4, 43) + SourceIndex(0) -7 >Emitted(26, 68) Source(4, 44) + SourceIndex(0) -8 >Emitted(26, 69) Source(4, 45) + SourceIndex(0) -9 >Emitted(26, 70) Source(4, 46) + SourceIndex(0) +1->Emitted(27, 5) Source(4, 5) + SourceIndex(0) +2 >Emitted(27, 20) Source(4, 8) + SourceIndex(0) +3 >Emitted(27, 23) Source(4, 5) + SourceIndex(0) +4 >Emitted(27, 37) Source(4, 13) + SourceIndex(0) +5 >Emitted(27, 44) Source(4, 20) + SourceIndex(0) +6 >Emitted(27, 67) Source(4, 43) + SourceIndex(0) +7 >Emitted(27, 68) Source(4, 44) + SourceIndex(0) +8 >Emitted(27, 69) Source(4, 45) + SourceIndex(0) +9 >Emitted(27, 70) Source(4, 46) + SourceIndex(0) --- >>> return C; 1 >^^^^ @@ -190,8 +191,8 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts > } > 2 > } -1 >Emitted(27, 5) Source(14, 1) + SourceIndex(0) -2 >Emitted(27, 13) Source(14, 2) + SourceIndex(0) +1 >Emitted(28, 5) Source(14, 1) + SourceIndex(0) +2 >Emitted(28, 13) Source(14, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -216,10 +217,10 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts > } > } > } -1 >Emitted(28, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(28, 2) Source(14, 2) + SourceIndex(0) -3 >Emitted(28, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(28, 6) Source(14, 2) + SourceIndex(0) +1 >Emitted(29, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(29, 2) Source(14, 2) + SourceIndex(0) +3 >Emitted(29, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(29, 6) Source(14, 2) + SourceIndex(0) --- >>>var D = /** @class */ (function (_super) { 1-> @@ -227,15 +228,15 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 1-> > > -1->Emitted(29, 1) Source(16, 1) + SourceIndex(0) +1->Emitted(30, 1) Source(16, 1) + SourceIndex(0) --- >>> __extends(D, _super); 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^ 1->class D extends 2 > C -1->Emitted(30, 5) Source(16, 17) + SourceIndex(0) -2 >Emitted(30, 26) Source(16, 18) + SourceIndex(0) +1->Emitted(31, 5) Source(16, 17) + SourceIndex(0) +2 >Emitted(31, 26) Source(16, 18) + SourceIndex(0) --- >>> function D(a) { 1 >^^^^ @@ -248,9 +249,9 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts > 2 > constructor( 3 > a = 100 -1 >Emitted(31, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(31, 16) Source(19, 17) + SourceIndex(0) -3 >Emitted(31, 17) Source(19, 24) + SourceIndex(0) +1 >Emitted(32, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(32, 16) Source(19, 17) + SourceIndex(0) +3 >Emitted(32, 17) Source(19, 24) + SourceIndex(0) --- >>> if (a === void 0) { a = 100; } 1->^^^^^^^^ @@ -262,10 +263,10 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 2 > 3 > 4 > a = 100 -1->Emitted(32, 9) Source(19, 17) + SourceIndex(0) -2 >Emitted(32, 27) Source(19, 17) + SourceIndex(0) -3 >Emitted(32, 29) Source(19, 17) + SourceIndex(0) -4 >Emitted(32, 36) Source(19, 24) + SourceIndex(0) +1->Emitted(33, 9) Source(19, 17) + SourceIndex(0) +2 >Emitted(33, 27) Source(19, 17) + SourceIndex(0) +3 >Emitted(33, 29) Source(19, 17) + SourceIndex(0) +4 >Emitted(33, 36) Source(19, 24) + SourceIndex(0) --- >>> var _this = _super.call(this, a) || this; 1->^^^^^^^^ @@ -284,13 +285,13 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 5 > a 6 > ) 7 > ; -1->Emitted(33, 9) Source(20, 9) + SourceIndex(0) -2 >Emitted(33, 21) Source(20, 9) + SourceIndex(0) -3 >Emitted(33, 27) Source(20, 14) + SourceIndex(0) -4 >Emitted(33, 39) Source(20, 15) + SourceIndex(0) -5 >Emitted(33, 40) Source(20, 16) + SourceIndex(0) -6 >Emitted(33, 41) Source(20, 17) + SourceIndex(0) -7 >Emitted(33, 50) Source(20, 18) + SourceIndex(0) +1->Emitted(34, 9) Source(20, 9) + SourceIndex(0) +2 >Emitted(34, 21) Source(20, 9) + SourceIndex(0) +3 >Emitted(34, 27) Source(20, 14) + SourceIndex(0) +4 >Emitted(34, 39) Source(20, 15) + SourceIndex(0) +5 >Emitted(34, 40) Source(20, 16) + SourceIndex(0) +6 >Emitted(34, 41) Source(20, 17) + SourceIndex(0) +7 >Emitted(34, 50) Source(20, 18) + SourceIndex(0) --- >>> _this.dProp = function () { return _this; }; 1->^^^^^^^^ @@ -311,15 +312,15 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 7 > 8 > this 9 > ; -1->Emitted(34, 9) Source(17, 5) + SourceIndex(0) -2 >Emitted(34, 20) Source(17, 10) + SourceIndex(0) -3 >Emitted(34, 23) Source(17, 13) + SourceIndex(0) -4 >Emitted(34, 37) Source(17, 19) + SourceIndex(0) -5 >Emitted(34, 44) Source(17, 19) + SourceIndex(0) -6 >Emitted(34, 49) Source(17, 23) + SourceIndex(0) -7 >Emitted(34, 51) Source(17, 19) + SourceIndex(0) -8 >Emitted(34, 52) Source(17, 23) + SourceIndex(0) -9 >Emitted(34, 53) Source(17, 24) + SourceIndex(0) +1->Emitted(35, 9) Source(17, 5) + SourceIndex(0) +2 >Emitted(35, 20) Source(17, 10) + SourceIndex(0) +3 >Emitted(35, 23) Source(17, 13) + SourceIndex(0) +4 >Emitted(35, 37) Source(17, 19) + SourceIndex(0) +5 >Emitted(35, 44) Source(17, 19) + SourceIndex(0) +6 >Emitted(35, 49) Source(17, 23) + SourceIndex(0) +7 >Emitted(35, 51) Source(17, 19) + SourceIndex(0) +8 >Emitted(35, 52) Source(17, 23) + SourceIndex(0) +9 >Emitted(35, 53) Source(17, 24) + SourceIndex(0) --- >>> if (Math.random() < 0.5) { 1 >^^^^^^^^ @@ -347,16 +348,16 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 8 > 0.5 9 > ) 10> { -1 >Emitted(35, 9) Source(22, 9) + SourceIndex(0) -2 >Emitted(35, 13) Source(22, 13) + SourceIndex(0) -3 >Emitted(35, 17) Source(22, 17) + SourceIndex(0) -4 >Emitted(35, 18) Source(22, 18) + SourceIndex(0) -5 >Emitted(35, 24) Source(22, 24) + SourceIndex(0) -6 >Emitted(35, 26) Source(22, 26) + SourceIndex(0) -7 >Emitted(35, 29) Source(22, 29) + SourceIndex(0) -8 >Emitted(35, 32) Source(22, 32) + SourceIndex(0) -9 >Emitted(35, 34) Source(22, 34) + SourceIndex(0) -10>Emitted(35, 35) Source(22, 35) + SourceIndex(0) +1 >Emitted(36, 9) Source(22, 9) + SourceIndex(0) +2 >Emitted(36, 13) Source(22, 13) + SourceIndex(0) +3 >Emitted(36, 17) Source(22, 17) + SourceIndex(0) +4 >Emitted(36, 18) Source(22, 18) + SourceIndex(0) +5 >Emitted(36, 24) Source(22, 24) + SourceIndex(0) +6 >Emitted(36, 26) Source(22, 26) + SourceIndex(0) +7 >Emitted(36, 29) Source(22, 29) + SourceIndex(0) +8 >Emitted(36, 32) Source(22, 32) + SourceIndex(0) +9 >Emitted(36, 34) Source(22, 34) + SourceIndex(0) +10>Emitted(36, 35) Source(22, 35) + SourceIndex(0) --- >>> "You win!"; 1 >^^^^^^^^^^^^ @@ -366,9 +367,9 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts > 2 > "You win!" 3 > -1 >Emitted(36, 13) Source(23, 13) + SourceIndex(0) -2 >Emitted(36, 23) Source(23, 23) + SourceIndex(0) -3 >Emitted(36, 24) Source(23, 23) + SourceIndex(0) +1 >Emitted(37, 13) Source(23, 13) + SourceIndex(0) +2 >Emitted(37, 23) Source(23, 23) + SourceIndex(0) +3 >Emitted(37, 24) Source(23, 23) + SourceIndex(0) --- >>> return { 1 >^^^^^^^^^^^^ @@ -377,8 +378,8 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 1 > > 2 > return -1 >Emitted(37, 13) Source(24, 13) + SourceIndex(0) -2 >Emitted(37, 20) Source(24, 20) + SourceIndex(0) +1 >Emitted(38, 13) Source(24, 13) + SourceIndex(0) +2 >Emitted(38, 20) Source(24, 20) + SourceIndex(0) --- >>> cProp: 1, 1->^^^^^^^^^^^^^^^^ @@ -391,10 +392,10 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 2 > cProp 3 > : 4 > 1 -1->Emitted(38, 17) Source(25, 17) + SourceIndex(0) -2 >Emitted(38, 22) Source(25, 22) + SourceIndex(0) -3 >Emitted(38, 24) Source(25, 24) + SourceIndex(0) -4 >Emitted(38, 25) Source(25, 25) + SourceIndex(0) +1->Emitted(39, 17) Source(25, 17) + SourceIndex(0) +2 >Emitted(39, 22) Source(25, 22) + SourceIndex(0) +3 >Emitted(39, 24) Source(25, 24) + SourceIndex(0) +4 >Emitted(39, 25) Source(25, 25) + SourceIndex(0) --- >>> dProp: function () { return _this; }, 1->^^^^^^^^^^^^^^^^ @@ -415,14 +416,14 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 6 > this 7 > 8 > this -1->Emitted(39, 17) Source(26, 17) + SourceIndex(0) -2 >Emitted(39, 22) Source(26, 22) + SourceIndex(0) -3 >Emitted(39, 24) Source(26, 24) + SourceIndex(0) -4 >Emitted(39, 38) Source(26, 30) + SourceIndex(0) -5 >Emitted(39, 45) Source(26, 30) + SourceIndex(0) -6 >Emitted(39, 50) Source(26, 34) + SourceIndex(0) -7 >Emitted(39, 52) Source(26, 30) + SourceIndex(0) -8 >Emitted(39, 53) Source(26, 34) + SourceIndex(0) +1->Emitted(40, 17) Source(26, 17) + SourceIndex(0) +2 >Emitted(40, 22) Source(26, 22) + SourceIndex(0) +3 >Emitted(40, 24) Source(26, 24) + SourceIndex(0) +4 >Emitted(40, 38) Source(26, 30) + SourceIndex(0) +5 >Emitted(40, 45) Source(26, 30) + SourceIndex(0) +6 >Emitted(40, 50) Source(26, 34) + SourceIndex(0) +7 >Emitted(40, 52) Source(26, 30) + SourceIndex(0) +8 >Emitted(40, 53) Source(26, 34) + SourceIndex(0) --- >>> foo: function () { return "You win!!!!!"; } 1->^^^^^^^^^^^^^^^^ @@ -442,14 +443,14 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 6 > 7 > 8 > } -1->Emitted(40, 17) Source(27, 17) + SourceIndex(0) -2 >Emitted(40, 20) Source(27, 20) + SourceIndex(0) -3 >Emitted(40, 36) Source(27, 25) + SourceIndex(0) -4 >Emitted(40, 43) Source(27, 32) + SourceIndex(0) -5 >Emitted(40, 57) Source(27, 46) + SourceIndex(0) -6 >Emitted(40, 58) Source(27, 46) + SourceIndex(0) -7 >Emitted(40, 59) Source(27, 47) + SourceIndex(0) -8 >Emitted(40, 60) Source(27, 48) + SourceIndex(0) +1->Emitted(41, 17) Source(27, 17) + SourceIndex(0) +2 >Emitted(41, 20) Source(27, 20) + SourceIndex(0) +3 >Emitted(41, 36) Source(27, 25) + SourceIndex(0) +4 >Emitted(41, 43) Source(27, 32) + SourceIndex(0) +5 >Emitted(41, 57) Source(27, 46) + SourceIndex(0) +6 >Emitted(41, 58) Source(27, 46) + SourceIndex(0) +7 >Emitted(41, 59) Source(27, 47) + SourceIndex(0) +8 >Emitted(41, 60) Source(27, 48) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^^^^^^ @@ -457,8 +458,8 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 1 > > } 2 > ; -1 >Emitted(41, 14) Source(28, 14) + SourceIndex(0) -2 >Emitted(41, 15) Source(28, 15) + SourceIndex(0) +1 >Emitted(42, 14) Source(28, 14) + SourceIndex(0) +2 >Emitted(42, 15) Source(28, 15) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -467,8 +468,8 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 1 > > 2 > } -1 >Emitted(42, 9) Source(29, 9) + SourceIndex(0) -2 >Emitted(42, 10) Source(29, 10) + SourceIndex(0) +1 >Emitted(43, 9) Source(29, 9) + SourceIndex(0) +2 >Emitted(43, 10) Source(29, 10) + SourceIndex(0) --- >>> else >>> return null; @@ -482,10 +483,10 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 2 > return 3 > null 4 > ; -1->Emitted(44, 13) Source(31, 13) + SourceIndex(0) -2 >Emitted(44, 20) Source(31, 20) + SourceIndex(0) -3 >Emitted(44, 24) Source(31, 24) + SourceIndex(0) -4 >Emitted(44, 25) Source(31, 25) + SourceIndex(0) +1->Emitted(45, 13) Source(31, 13) + SourceIndex(0) +2 >Emitted(45, 20) Source(31, 20) + SourceIndex(0) +3 >Emitted(45, 24) Source(31, 24) + SourceIndex(0) +4 >Emitted(45, 25) Source(31, 25) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -494,8 +495,8 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 1 > > 2 > } -1 >Emitted(45, 5) Source(32, 5) + SourceIndex(0) -2 >Emitted(45, 6) Source(32, 6) + SourceIndex(0) +1 >Emitted(46, 5) Source(32, 5) + SourceIndex(0) +2 >Emitted(46, 6) Source(32, 6) + SourceIndex(0) --- >>> return D; 1->^^^^ @@ -503,8 +504,8 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts 1-> > 2 > } -1->Emitted(46, 5) Source(33, 1) + SourceIndex(0) -2 >Emitted(46, 13) Source(33, 2) + SourceIndex(0) +1->Emitted(47, 5) Source(33, 1) + SourceIndex(0) +2 >Emitted(47, 13) Source(33, 2) + SourceIndex(0) --- >>>}(C)); 1 > @@ -537,11 +538,11 @@ sourceFile:derivedClassConstructorWithExplicitReturns01.ts > return null; > } > } -1 >Emitted(47, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(47, 2) Source(33, 2) + SourceIndex(0) -3 >Emitted(47, 2) Source(16, 1) + SourceIndex(0) -4 >Emitted(47, 3) Source(16, 17) + SourceIndex(0) -5 >Emitted(47, 4) Source(16, 18) + SourceIndex(0) -6 >Emitted(47, 7) Source(33, 2) + SourceIndex(0) +1 >Emitted(48, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(48, 2) Source(33, 2) + SourceIndex(0) +3 >Emitted(48, 2) Source(16, 1) + SourceIndex(0) +4 >Emitted(48, 3) Source(16, 17) + SourceIndex(0) +5 >Emitted(48, 4) Source(16, 18) + SourceIndex(0) +6 >Emitted(48, 7) Source(33, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=derivedClassConstructorWithExplicitReturns01.js.map \ No newline at end of file diff --git a/tests/baselines/reference/derivedClassConstructorWithoutSuperCall.js b/tests/baselines/reference/derivedClassConstructorWithoutSuperCall.js index 0953788b1d4ba..5f7507d86c0a9 100644 --- a/tests/baselines/reference/derivedClassConstructorWithoutSuperCall.js +++ b/tests/baselines/reference/derivedClassConstructorWithoutSuperCall.js @@ -35,6 +35,7 @@ class Derived4 extends Base2 { } //// [derivedClassConstructorWithoutSuperCall.js] +"use strict"; // derived class constructors must contain a super call var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/derivedClassFunctionOverridesBaseClassAccessor.js b/tests/baselines/reference/derivedClassFunctionOverridesBaseClassAccessor.js index 72df2c4fb3349..199d1f761bc2f 100644 --- a/tests/baselines/reference/derivedClassFunctionOverridesBaseClassAccessor.js +++ b/tests/baselines/reference/derivedClassFunctionOverridesBaseClassAccessor.js @@ -17,6 +17,7 @@ class Derived extends Base { } //// [derivedClassFunctionOverridesBaseClassAccessor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassIncludesInheritedMembers.js b/tests/baselines/reference/derivedClassIncludesInheritedMembers.js index ce057d8ae5215..9e9d8cc44b219 100644 --- a/tests/baselines/reference/derivedClassIncludesInheritedMembers.js +++ b/tests/baselines/reference/derivedClassIncludesInheritedMembers.js @@ -43,6 +43,7 @@ var r8 = d2[1]; //// [derivedClassIncludesInheritedMembers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassOverridesIndexersWithAssignmentCompatibility.js b/tests/baselines/reference/derivedClassOverridesIndexersWithAssignmentCompatibility.js index 81ca7159c1c15..9246f1ac71ed6 100644 --- a/tests/baselines/reference/derivedClassOverridesIndexersWithAssignmentCompatibility.js +++ b/tests/baselines/reference/derivedClassOverridesIndexersWithAssignmentCompatibility.js @@ -20,6 +20,7 @@ class Derived2 extends Base2 { } //// [derivedClassOverridesIndexersWithAssignmentCompatibility.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassOverridesPrivateFunction1.js b/tests/baselines/reference/derivedClassOverridesPrivateFunction1.js index 6055e92896c1f..56e5454651376 100644 --- a/tests/baselines/reference/derivedClassOverridesPrivateFunction1.js +++ b/tests/baselines/reference/derivedClassOverridesPrivateFunction1.js @@ -18,6 +18,7 @@ class DerivedClass extends BaseClass { new DerivedClass(); //// [derivedClassOverridesPrivateFunction1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassOverridesPrivates.js b/tests/baselines/reference/derivedClassOverridesPrivates.js index 5cd757f31fe24..a3c5c9496c38c 100644 --- a/tests/baselines/reference/derivedClassOverridesPrivates.js +++ b/tests/baselines/reference/derivedClassOverridesPrivates.js @@ -18,6 +18,7 @@ class Derived2 extends Base2 { } //// [derivedClassOverridesPrivates.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers.js b/tests/baselines/reference/derivedClassOverridesProtectedMembers.js index f127264c581c8..fafc67d284e7f 100644 --- a/tests/baselines/reference/derivedClassOverridesProtectedMembers.js +++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers.js @@ -38,6 +38,7 @@ class Derived extends Base { //// [derivedClassOverridesProtectedMembers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers2.js b/tests/baselines/reference/derivedClassOverridesProtectedMembers2.js index d9934123144a2..53d83afdb66ae 100644 --- a/tests/baselines/reference/derivedClassOverridesProtectedMembers2.js +++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers2.js @@ -66,6 +66,7 @@ var r8 = d2[1]; //// [derivedClassOverridesProtectedMembers2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers3.js b/tests/baselines/reference/derivedClassOverridesProtectedMembers3.js index 35114f3413951..d2b95e056a8e1 100644 --- a/tests/baselines/reference/derivedClassOverridesProtectedMembers3.js +++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers3.js @@ -73,6 +73,7 @@ class Derived10 extends Base { } //// [derivedClassOverridesProtectedMembers3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassOverridesProtectedMembers4.js b/tests/baselines/reference/derivedClassOverridesProtectedMembers4.js index 3d20f3b1867e0..49895bf033816 100644 --- a/tests/baselines/reference/derivedClassOverridesProtectedMembers4.js +++ b/tests/baselines/reference/derivedClassOverridesProtectedMembers4.js @@ -17,6 +17,7 @@ class Derived2 extends Derived1 { } //// [derivedClassOverridesProtectedMembers4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassOverridesPublicMembers.js b/tests/baselines/reference/derivedClassOverridesPublicMembers.js index 6bb6d08a6beb6..528eea90a780b 100644 --- a/tests/baselines/reference/derivedClassOverridesPublicMembers.js +++ b/tests/baselines/reference/derivedClassOverridesPublicMembers.js @@ -65,6 +65,7 @@ var r8 = d2[1]; //// [derivedClassOverridesPublicMembers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassOverridesWithoutSubtype.js b/tests/baselines/reference/derivedClassOverridesWithoutSubtype.js index b8395e5ec796d..21acb39c28511 100644 --- a/tests/baselines/reference/derivedClassOverridesWithoutSubtype.js +++ b/tests/baselines/reference/derivedClassOverridesWithoutSubtype.js @@ -26,6 +26,7 @@ class Derived2 extends Base2 { } //// [derivedClassOverridesWithoutSubtype.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassParameterProperties.js b/tests/baselines/reference/derivedClassParameterProperties.js index 0c6bc13af140d..64f98cb7091bb 100644 --- a/tests/baselines/reference/derivedClassParameterProperties.js +++ b/tests/baselines/reference/derivedClassParameterProperties.js @@ -97,6 +97,7 @@ class Derived10 extends Base2 { } //// [derivedClassParameterProperties.js] +"use strict"; // ordering of super calls in derived constructors matters depending on other class contents var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.js b/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.js index 8b95f4a7c58d5..7e4a7ab792b5e 100644 --- a/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.js +++ b/tests/baselines/reference/derivedClassSuperCallsInNonConstructorMembers.js @@ -34,6 +34,7 @@ class Derived extends Base { } //// [derivedClassSuperCallsInNonConstructorMembers.js] +"use strict"; // error to use super calls outside a constructor var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/derivedClassSuperCallsWithThisArg.js b/tests/baselines/reference/derivedClassSuperCallsWithThisArg.js index f64c8a7c62a9c..91c694f9147ae 100644 --- a/tests/baselines/reference/derivedClassSuperCallsWithThisArg.js +++ b/tests/baselines/reference/derivedClassSuperCallsWithThisArg.js @@ -31,6 +31,7 @@ class Derived4 extends Base { } //// [derivedClassSuperCallsWithThisArg.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassSuperProperties.js b/tests/baselines/reference/derivedClassSuperProperties.js index 7a2f83b3f0108..c33dcb42c8d59 100644 --- a/tests/baselines/reference/derivedClassSuperProperties.js +++ b/tests/baselines/reference/derivedClassSuperProperties.js @@ -404,6 +404,7 @@ const DerivedWithLoops = [ //// [derivedClassSuperProperties.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassSuperStatementPosition.js b/tests/baselines/reference/derivedClassSuperStatementPosition.js index dcbfd4dd78bea..506e4b39b820d 100644 --- a/tests/baselines/reference/derivedClassSuperStatementPosition.js +++ b/tests/baselines/reference/derivedClassSuperStatementPosition.js @@ -99,6 +99,7 @@ class DerivedInConditionalWithProperties extends Object { //// [derivedClassSuperStatementPosition.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassTransitivity.js b/tests/baselines/reference/derivedClassTransitivity.js index 931afb99a96f3..799045425a9d2 100644 --- a/tests/baselines/reference/derivedClassTransitivity.js +++ b/tests/baselines/reference/derivedClassTransitivity.js @@ -23,6 +23,7 @@ var r = c.foo(1); var r2 = e.foo(''); //// [derivedClassTransitivity.js] +"use strict"; // subclassing is not transitive when you can remove required parameters and add optional parameters var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/derivedClassTransitivity2.js b/tests/baselines/reference/derivedClassTransitivity2.js index 558dd41264f36..411ee43e0d699 100644 --- a/tests/baselines/reference/derivedClassTransitivity2.js +++ b/tests/baselines/reference/derivedClassTransitivity2.js @@ -23,6 +23,7 @@ var r = c.foo(1, 1); var r2 = e.foo(1, ''); //// [derivedClassTransitivity2.js] +"use strict"; // subclassing is not transitive when you can remove required parameters and add optional parameters var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/derivedClassTransitivity3.js b/tests/baselines/reference/derivedClassTransitivity3.js index 5c05cec05b87e..c5d9245c60d4f 100644 --- a/tests/baselines/reference/derivedClassTransitivity3.js +++ b/tests/baselines/reference/derivedClassTransitivity3.js @@ -23,6 +23,7 @@ var r = c.foo('', ''); var r2 = e.foo('', 1); //// [derivedClassTransitivity3.js] +"use strict"; // subclassing is not transitive when you can remove required parameters and add optional parameters var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/derivedClassTransitivity4.js b/tests/baselines/reference/derivedClassTransitivity4.js index 80abfba7ef4ee..d4a138a1f3f81 100644 --- a/tests/baselines/reference/derivedClassTransitivity4.js +++ b/tests/baselines/reference/derivedClassTransitivity4.js @@ -23,6 +23,7 @@ var r = c.foo(1); var r2 = e.foo(''); //// [derivedClassTransitivity4.js] +"use strict"; // subclassing is not transitive when you can remove required parameters and add optional parameters on protected members var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/derivedClassWithAny.js b/tests/baselines/reference/derivedClassWithAny.js index b612afaa5b293..84ba1a16872c1 100644 --- a/tests/baselines/reference/derivedClassWithAny.js +++ b/tests/baselines/reference/derivedClassWithAny.js @@ -62,6 +62,7 @@ var r = c.foo(); // e.foo would return string //// [derivedClassWithAny.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance.js b/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance.js index 2c653e7a6f0dc..793d614cd02dd 100644 --- a/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance.js +++ b/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingProtectedInstance.js @@ -24,6 +24,7 @@ class Derived extends Base { //// [derivedClassWithPrivateInstanceShadowingProtectedInstance.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingPublicInstance.js b/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingPublicInstance.js index bb508d77b9a0e..68b1a3bb67d25 100644 --- a/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingPublicInstance.js +++ b/tests/baselines/reference/derivedClassWithPrivateInstanceShadowingPublicInstance.js @@ -35,6 +35,7 @@ var r6 = Derived.a; // error Derived.a = 2; // error //// [derivedClassWithPrivateInstanceShadowingPublicInstance.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic.js b/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic.js index 2a58a105c74c1..d29e136f353ba 100644 --- a/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic.js +++ b/tests/baselines/reference/derivedClassWithPrivateStaticShadowingProtectedStatic.js @@ -23,6 +23,7 @@ class Derived extends Base { } //// [derivedClassWithPrivateStaticShadowingProtectedStatic.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassWithPrivateStaticShadowingPublicStatic.js b/tests/baselines/reference/derivedClassWithPrivateStaticShadowingPublicStatic.js index 4d9fd225099d2..13ab7cc5eba6b 100644 --- a/tests/baselines/reference/derivedClassWithPrivateStaticShadowingPublicStatic.js +++ b/tests/baselines/reference/derivedClassWithPrivateStaticShadowingPublicStatic.js @@ -36,6 +36,7 @@ var r6 = Derived.a; // error Derived.a = 2; // error //// [derivedClassWithPrivateStaticShadowingPublicStatic.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassWithoutExplicitConstructor.js b/tests/baselines/reference/derivedClassWithoutExplicitConstructor.js index e607e16c38677..bbfbd8156baed 100644 --- a/tests/baselines/reference/derivedClassWithoutExplicitConstructor.js +++ b/tests/baselines/reference/derivedClassWithoutExplicitConstructor.js @@ -28,6 +28,7 @@ var d = new D(); // error var d2 = new D(new Date()); // ok //// [derivedClassWithoutExplicitConstructor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassWithoutExplicitConstructor2.js b/tests/baselines/reference/derivedClassWithoutExplicitConstructor2.js index 18b8a203a7da0..92605449113c1 100644 --- a/tests/baselines/reference/derivedClassWithoutExplicitConstructor2.js +++ b/tests/baselines/reference/derivedClassWithoutExplicitConstructor2.js @@ -36,6 +36,7 @@ var d3 = new D(new Date(), new Date()); var d4 = new D(new Date(), new Date(), new Date()); //// [derivedClassWithoutExplicitConstructor2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedClassWithoutExplicitConstructor3.js b/tests/baselines/reference/derivedClassWithoutExplicitConstructor3.js index 5b5dc774d28b7..7216e4a3e4d57 100644 --- a/tests/baselines/reference/derivedClassWithoutExplicitConstructor3.js +++ b/tests/baselines/reference/derivedClassWithoutExplicitConstructor3.js @@ -49,6 +49,7 @@ var d2 = new D2(new Date()); // error var d3 = new D2(new Date(), new Date()); // ok //// [derivedClassWithoutExplicitConstructor3.js] +"use strict"; // automatic constructors with a class hieararchy of depth > 2 var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/derivedClasses.js b/tests/baselines/reference/derivedClasses.js index 59929ea72def9..55df1b960d228 100644 --- a/tests/baselines/reference/derivedClasses.js +++ b/tests/baselines/reference/derivedClasses.js @@ -33,6 +33,7 @@ b.hue(); //// [derivedClasses.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedGenericClassWithAny.js b/tests/baselines/reference/derivedGenericClassWithAny.js index 948b2df6f1bb1..630931bc4f641 100644 --- a/tests/baselines/reference/derivedGenericClassWithAny.js +++ b/tests/baselines/reference/derivedGenericClassWithAny.js @@ -45,6 +45,7 @@ c = e; var r = c.foo(); // e.foo would return string //// [derivedGenericClassWithAny.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedInterfaceCallSignature.js b/tests/baselines/reference/derivedInterfaceCallSignature.js index fde7a98286c6d..f1ae6824beca3 100644 --- a/tests/baselines/reference/derivedInterfaceCallSignature.js +++ b/tests/baselines/reference/derivedInterfaceCallSignature.js @@ -30,4 +30,5 @@ declare var area: D3SvgArea; area.interpolate('two')('one'); //// [derivedInterfaceCallSignature.js] +"use strict"; area.interpolate('two')('one'); diff --git a/tests/baselines/reference/derivedInterfaceDoesNotHideBaseSignatures.js b/tests/baselines/reference/derivedInterfaceDoesNotHideBaseSignatures.js index bc69d5b4509c5..b3e9cbe9f5f2d 100644 --- a/tests/baselines/reference/derivedInterfaceDoesNotHideBaseSignatures.js +++ b/tests/baselines/reference/derivedInterfaceDoesNotHideBaseSignatures.js @@ -13,3 +13,4 @@ interface Derived extends Base { } //// [derivedInterfaceDoesNotHideBaseSignatures.js] +"use strict"; diff --git a/tests/baselines/reference/derivedInterfaceIncompatibleWithBaseIndexer.js b/tests/baselines/reference/derivedInterfaceIncompatibleWithBaseIndexer.js index 73ded0d113b08..1dae7ab886ecc 100644 --- a/tests/baselines/reference/derivedInterfaceIncompatibleWithBaseIndexer.js +++ b/tests/baselines/reference/derivedInterfaceIncompatibleWithBaseIndexer.js @@ -32,3 +32,4 @@ interface Derived5 extends Base { } //// [derivedInterfaceIncompatibleWithBaseIndexer.js] +"use strict"; diff --git a/tests/baselines/reference/derivedTypeAccessesHiddenBaseCallViaSuperPropertyAccess.js b/tests/baselines/reference/derivedTypeAccessesHiddenBaseCallViaSuperPropertyAccess.js index a0e47878cd701..9f091afdf7625 100644 --- a/tests/baselines/reference/derivedTypeAccessesHiddenBaseCallViaSuperPropertyAccess.js +++ b/tests/baselines/reference/derivedTypeAccessesHiddenBaseCallViaSuperPropertyAccess.js @@ -20,6 +20,7 @@ class Derived extends Base { } //// [derivedTypeAccessesHiddenBaseCallViaSuperPropertyAccess.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedTypeCallingBaseImplWithOptionalParams.js b/tests/baselines/reference/derivedTypeCallingBaseImplWithOptionalParams.js index 87d7d639a4ba2..1d1e7d4ca0e7b 100644 --- a/tests/baselines/reference/derivedTypeCallingBaseImplWithOptionalParams.js +++ b/tests/baselines/reference/derivedTypeCallingBaseImplWithOptionalParams.js @@ -16,6 +16,7 @@ var y: MyClass = new MyClass(); y.myMethod(); // error //// [derivedTypeCallingBaseImplWithOptionalParams.js] +"use strict"; var MyClass = /** @class */ (function () { function MyClass() { } diff --git a/tests/baselines/reference/derivedTypeDoesNotRequireExtendsClause.js b/tests/baselines/reference/derivedTypeDoesNotRequireExtendsClause.js index 0766673843d56..8535c58174659 100644 --- a/tests/baselines/reference/derivedTypeDoesNotRequireExtendsClause.js +++ b/tests/baselines/reference/derivedTypeDoesNotRequireExtendsClause.js @@ -23,6 +23,7 @@ b = d2; var r: Base[] = [d1, d2]; //// [derivedTypeDoesNotRequireExtendsClause.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/derivedTypeIncompatibleSignatures.js b/tests/baselines/reference/derivedTypeIncompatibleSignatures.js index 029329f13a2cb..ff3e11a7f39a9 100644 --- a/tests/baselines/reference/derivedTypeIncompatibleSignatures.js +++ b/tests/baselines/reference/derivedTypeIncompatibleSignatures.js @@ -34,3 +34,4 @@ interface H extends G { } //// [derivedTypeIncompatibleSignatures.js] +"use strict"; diff --git a/tests/baselines/reference/destructionAssignmentError.js b/tests/baselines/reference/destructionAssignmentError.js index fea41b62a94e4..de147a26fbdd4 100644 --- a/tests/baselines/reference/destructionAssignmentError.js +++ b/tests/baselines/reference/destructionAssignmentError.js @@ -15,6 +15,7 @@ fn()); = fn(); //// [destructionAssignmentError.js] +"use strict"; var _a, _b; var a; var b; diff --git a/tests/baselines/reference/destructureCatchClause(strict=false,useunknownincatchvariables=false).js b/tests/baselines/reference/destructureCatchClause(strict=false,useunknownincatchvariables=false).js index 089dd595e3922..46e8dc2c2c766 100644 --- a/tests/baselines/reference/destructureCatchClause(strict=false,useunknownincatchvariables=false).js +++ b/tests/baselines/reference/destructureCatchClause(strict=false,useunknownincatchvariables=false).js @@ -39,6 +39,7 @@ try {} catch ({ a: { b: { c: { x }} }}: unknown) { x } //// [destructureCatchClause.js] +"use strict"; // These are okay with useUnknownInCatchVariables=false, but not okay with useUnknownInCatchVariables=true. try { } catch (_a) { diff --git a/tests/baselines/reference/destructureCatchClause(strict=false,useunknownincatchvariables=true).js b/tests/baselines/reference/destructureCatchClause(strict=false,useunknownincatchvariables=true).js index 089dd595e3922..46e8dc2c2c766 100644 --- a/tests/baselines/reference/destructureCatchClause(strict=false,useunknownincatchvariables=true).js +++ b/tests/baselines/reference/destructureCatchClause(strict=false,useunknownincatchvariables=true).js @@ -39,6 +39,7 @@ try {} catch ({ a: { b: { c: { x }} }}: unknown) { x } //// [destructureCatchClause.js] +"use strict"; // These are okay with useUnknownInCatchVariables=false, but not okay with useUnknownInCatchVariables=true. try { } catch (_a) { diff --git a/tests/baselines/reference/destructureComputedProperty.js b/tests/baselines/reference/destructureComputedProperty.js index 0e2ed87337285..725e43f6ce224 100644 --- a/tests/baselines/reference/destructureComputedProperty.js +++ b/tests/baselines/reference/destructureComputedProperty.js @@ -14,6 +14,7 @@ const { p: p3 } = new C(); //// [destructureComputedProperty.js] +"use strict"; var nameN = "n"; var _a = ab, _b = nameN, n = _a[_b]; var C = /** @class */ (function () { diff --git a/tests/baselines/reference/destructureOfVariableSameAsShorthand.js b/tests/baselines/reference/destructureOfVariableSameAsShorthand.js index c8e0620ea8ae9..7860411229526 100644 --- a/tests/baselines/reference/destructureOfVariableSameAsShorthand.js +++ b/tests/baselines/reference/destructureOfVariableSameAsShorthand.js @@ -29,6 +29,7 @@ async function main() { } //// [destructureOfVariableSameAsShorthand.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/destructureOptionalParameter.js b/tests/baselines/reference/destructureOptionalParameter.js index c70e5b55b2508..2d458c4ccc42c 100644 --- a/tests/baselines/reference/destructureOptionalParameter.js +++ b/tests/baselines/reference/destructureOptionalParameter.js @@ -26,6 +26,7 @@ interface QueryMetadataFactory { //// [destructureOptionalParameter.js] +"use strict"; function f2(_a) { var _b = _a === void 0 ? { a: 0, b: 0 } : _a, a = _b.a, b = _b.b; a; diff --git a/tests/baselines/reference/destructuredLateBoundNameHasCorrectTypes.js b/tests/baselines/reference/destructuredLateBoundNameHasCorrectTypes.js index 9d21ffcfe0f4d..2c206f1238196 100644 --- a/tests/baselines/reference/destructuredLateBoundNameHasCorrectTypes.js +++ b/tests/baselines/reference/destructuredLateBoundNameHasCorrectTypes.js @@ -15,6 +15,7 @@ let { [notPresent]: computed2 } = { prop: "b" }; //// [destructuredLateBoundNameHasCorrectTypes.js] +"use strict"; let { [Symbol.iterator]: destructured } = []; void destructured; const named = "prop"; diff --git a/tests/baselines/reference/destructuredMaappedTypeIsNotImplicitlyAny.js b/tests/baselines/reference/destructuredMaappedTypeIsNotImplicitlyAny.js index dce435ca01fb7..b2ae6b54a64c3 100644 --- a/tests/baselines/reference/destructuredMaappedTypeIsNotImplicitlyAny.js +++ b/tests/baselines/reference/destructuredMaappedTypeIsNotImplicitlyAny.js @@ -10,6 +10,7 @@ function foo(key: T, obj: { [_ in T]: number }) { } //// [destructuredMaappedTypeIsNotImplicitlyAny.js] +"use strict"; function foo(key, obj) { var _a = obj, _b = key, bar = _a[_b]; // Element implicitly has an 'any' type because type '{ [_ in T]: number; }' has no index signature. bar; // bar : any diff --git a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES5.js b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES5.js index 38224a655e3bf..84437d5975114 100644 --- a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES5.js +++ b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES5.js @@ -56,6 +56,7 @@ var [c14, c15, c16] = [1, 2, "string"]; //// [destructuringArrayBindingPatternAndAssignment1ES5.js] +"use strict"; /* AssignmentPattern: * ObjectAssignmentPattern * ArrayAssignmentPattern diff --git a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES5iterable.js b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES5iterable.js index 3118cb6f952f9..b7b2b812d024f 100644 --- a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES5iterable.js +++ b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES5iterable.js @@ -56,6 +56,7 @@ var [c14, c15, c16] = [1, 2, "string"]; //// [destructuringArrayBindingPatternAndAssignment1ES5iterable.js] +"use strict"; /* AssignmentPattern: * ObjectAssignmentPattern * ArrayAssignmentPattern diff --git a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES6.js b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES6.js index 04cb78e588732..0efbc4c2d9ece 100644 --- a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES6.js +++ b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment1ES6.js @@ -54,6 +54,7 @@ var [c11, c12, ...c13] = [1, 2, "string"]; var [c14, c15, c16] = [1, 2, "string"]; //// [destructuringArrayBindingPatternAndAssignment1ES6.js] +"use strict"; /* AssignmentPattern: * ObjectAssignmentPattern * ArrayAssignmentPattern diff --git a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment2.js b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment2.js index 606e7834f719e..98157e6f7ba89 100644 --- a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment2.js +++ b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment2.js @@ -37,6 +37,7 @@ function foo(idx: number): F { var [c4, c5, c6] = foo(1); // Error //// [destructuringArrayBindingPatternAndAssignment2.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment3.js b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment3.js index 99c58ff5a8079..db929e68e1d04 100644 --- a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment3.js +++ b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment3.js @@ -14,6 +14,7 @@ const [f, g = f, h = i, i = f] = [1]; // error for h = i //// [destructuringArrayBindingPatternAndAssignment3.js] +"use strict"; var _a = [1], a = _a[0], _b = _a[1], b = _b === void 0 ? a : _b; // ok var _c = [1], c = _c[0], _d = _c[1], d = _d === void 0 ? c : _d, _e = _c[2], e = _e === void 0 ? e : _e; // error for e = e var _f = [1], f = _f[0], _g = _f[1], g = _g === void 0 ? f : _g, _h = _f[2], h = _h === void 0 ? i : _h, _j = _f[3], i = _j === void 0 ? f : _j; // error for h = i diff --git a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment5SiblingInitializer.js b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment5SiblingInitializer.js index 47eaab26cd17b..798bdc99437ab 100644 --- a/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment5SiblingInitializer.js +++ b/tests/baselines/reference/destructuringArrayBindingPatternAndAssignment5SiblingInitializer.js @@ -28,6 +28,7 @@ function f4() { //// [destructuringArrayBindingPatternAndAssignment5SiblingInitializer.js] +"use strict"; // To be inferred as `number` function f1() { var _a = [1], a1 = _a[0], _b = _a[1], b1 = _b === void 0 ? a1 : _b; diff --git a/tests/baselines/reference/destructuringAssignmentWithDefault.js b/tests/baselines/reference/destructuringAssignmentWithDefault.js index c8274216675e3..919c6883db659 100644 --- a/tests/baselines/reference/destructuringAssignmentWithDefault.js +++ b/tests/baselines/reference/destructuringAssignmentWithDefault.js @@ -35,6 +35,7 @@ function f4(options?: [string, number]) { //// [destructuringAssignmentWithDefault.js] +"use strict"; var _a; var a = {}; var x = 0; diff --git a/tests/baselines/reference/destructuringAssignmentWithDefault2.js b/tests/baselines/reference/destructuringAssignmentWithDefault2.js index 827894ef68730..242ed10f9158b 100644 --- a/tests/baselines/reference/destructuringAssignmentWithDefault2.js +++ b/tests/baselines/reference/destructuringAssignmentWithDefault2.js @@ -28,6 +28,7 @@ let value; ({ done: done = false, value } = r.next()); //// [destructuringAssignmentWithDefault2.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k; var a = {}; var x; diff --git a/tests/baselines/reference/destructuringAssignmentWithStrictNullChecks.js b/tests/baselines/reference/destructuringAssignmentWithStrictNullChecks.js index f26351b73c17e..68b67a75ad9b2 100644 --- a/tests/baselines/reference/destructuringAssignmentWithStrictNullChecks.js +++ b/tests/baselines/reference/destructuringAssignmentWithStrictNullChecks.js @@ -6,6 +6,7 @@ let bar: {}; //// [destructuringAssignmentWithStrictNullChecks.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/destructuringAssignment_private.js b/tests/baselines/reference/destructuringAssignment_private.js index 3c6adb55cda95..20fe1203cda3b 100644 --- a/tests/baselines/reference/destructuringAssignment_private.js +++ b/tests/baselines/reference/destructuringAssignment_private.js @@ -17,6 +17,7 @@ const nameO = "o"; //// [destructuringAssignment_private.js] +"use strict"; var _a, _b, _c, _d; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/destructuringCatch.js b/tests/baselines/reference/destructuringCatch.js index 8586dddf52597..ff6932b64b06c 100644 --- a/tests/baselines/reference/destructuringCatch.js +++ b/tests/baselines/reference/destructuringCatch.js @@ -31,6 +31,7 @@ catch (/*Test comment ranges*/[/*a*/a]) { //// [destructuringCatch.js] +"use strict"; try { throw [0, 1]; } diff --git a/tests/baselines/reference/destructuringControlFlowNoCrash.js b/tests/baselines/reference/destructuringControlFlowNoCrash.js index 1cadd21894ac1..0373d9fcdc250 100644 --- a/tests/baselines/reference/destructuringControlFlowNoCrash.js +++ b/tests/baselines/reference/destructuringControlFlowNoCrash.js @@ -20,6 +20,7 @@ const { constructor } = async () => {}; //// [destructuringControlFlowNoCrash.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -56,7 +57,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) { if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; -var _this = this; // legal JS, if nonsensical, which also triggers the issue var date = function (inspectedElement) { return 0; }.date; date.toISOString(); @@ -64,6 +64,6 @@ date.toISOString(); var date2 = function (inspectedElement) { return ; }.date2, props; date2.toISOString(); // It could also be an async function -var constructor = function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { +var constructor = function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/]; }); }); }.constructor; diff --git a/tests/baselines/reference/destructuringEvaluationOrder(target=es2015).js b/tests/baselines/reference/destructuringEvaluationOrder(target=es2015).js index 49607c6b7b4a6..dfe2d9a9dee85 100644 --- a/tests/baselines/reference/destructuringEvaluationOrder(target=es2015).js +++ b/tests/baselines/reference/destructuringEvaluationOrder(target=es2015).js @@ -24,6 +24,7 @@ let [{ ...a }, b = a]: any[] = [{ x: 1 }] //// [destructuringEvaluationOrder.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/destructuringEvaluationOrder(target=es5).js b/tests/baselines/reference/destructuringEvaluationOrder(target=es5).js index fb8f47f695fb6..27c48a8e75f06 100644 --- a/tests/baselines/reference/destructuringEvaluationOrder(target=es5).js +++ b/tests/baselines/reference/destructuringEvaluationOrder(target=es5).js @@ -24,6 +24,7 @@ let [{ ...a }, b = a]: any[] = [{ x: 1 }] //// [destructuringEvaluationOrder.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/destructuringFromUnionSpread.js b/tests/baselines/reference/destructuringFromUnionSpread.js index 275bc88c69d0e..5f06f65db66ee 100644 --- a/tests/baselines/reference/destructuringFromUnionSpread.js +++ b/tests/baselines/reference/destructuringFromUnionSpread.js @@ -9,6 +9,7 @@ const { a } = { ...x } // error //// [destructuringFromUnionSpread.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/destructuringInFunctionType.js b/tests/baselines/reference/destructuringInFunctionType.js index bd444d850f382..2ef34e64a9940 100644 --- a/tests/baselines/reference/destructuringInFunctionType.js +++ b/tests/baselines/reference/destructuringInFunctionType.js @@ -24,6 +24,7 @@ var v2: ([a, b, c]) => string; //// [destructuringInFunctionType.js] +"use strict"; var v1 = function (_a) { var a = _a[0], b = _a[1], c = _a[2]; return "hello"; diff --git a/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es2015).js b/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es2015).js index 1ab05a9a557e0..ea2db1616e61d 100644 --- a/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es2015).js +++ b/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es2015).js @@ -6,6 +6,7 @@ let a: any, b: any, c: any = {x: {a: 1, y: 2}}, d: any; //// [destructuringObjectAssignmentPatternWithNestedSpread.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es2018).js b/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es2018).js index 8c3eb6028113e..66e527556e55c 100644 --- a/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es2018).js +++ b/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es2018).js @@ -6,5 +6,6 @@ let a: any, b: any, c: any = {x: {a: 1, y: 2}}, d: any; //// [destructuringObjectAssignmentPatternWithNestedSpread.js] +"use strict"; let a, b, c = { x: { a: 1, y: 2 } }, d; ({ x: { a, ...b } = d } = c); diff --git a/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es5).js b/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es5).js index e79abd4a77a19..6220e6e3ddc14 100644 --- a/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es5).js +++ b/tests/baselines/reference/destructuringObjectAssignmentPatternWithNestedSpread(target=es5).js @@ -6,6 +6,7 @@ let a: any, b: any, c: any = {x: {a: 1, y: 2}}, d: any; //// [destructuringObjectAssignmentPatternWithNestedSpread.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES5.js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES5.js index 87f055dce3519..5879281303433 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES5.js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES5.js @@ -57,6 +57,7 @@ var {"prop1": d1} = foo1(); var {"prop2": d1} = foo1(); //// [destructuringObjectBindingPatternAndAssignment1ES5.js] +"use strict"; // In a destructuring assignment expression, the type of the expression on the right must be assignable to the assignment target on the left. // An expression of type S is considered assignable to an assignment target V if one of the following is true // V is an object assignment pattern and, for each assignment property P in V, diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES6.js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES6.js index 181858d7d58d4..6a3ecd9219594 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES6.js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment1ES6.js @@ -57,6 +57,7 @@ var {"prop1": d1} = foo1(); var {"prop2": d1} = foo1(); //// [destructuringObjectBindingPatternAndAssignment1ES6.js] +"use strict"; // In a destructuring assignment expression, the type of the expression on the right must be assignable to the assignment target on the left. // An expression of type S is considered assignable to an assignment target V if one of the following is true // V is an object assignment pattern and, for each assignment property P in V, diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment3.js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment3.js index 9ba06e0196494..1213b14ae9600 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment3.js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment3.js @@ -11,6 +11,7 @@ var {"prop"} = { "prop": 1 }; //// [destructuringObjectBindingPatternAndAssignment3.js] +"use strict"; // Error var h = { h: 1 }.h; var i = { i: 2 }.i; diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment4.js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment4.js index 9f7af6b450ebb..7212a316cd03a 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment4.js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment4.js @@ -12,6 +12,7 @@ const { //// [destructuringObjectBindingPatternAndAssignment4.js] +"use strict"; var _a = {}, _b = _a.a, a = _b === void 0 ? 1 : _b, _c = _a.b, b = _c === void 0 ? 2 : _c, _d = _a.c, c = _d === void 0 ? b : _d, // ok _e = _a.d, // ok d = _e === void 0 ? a : _e, // ok diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment5.js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment5.js index 92ae9b8ea29ae..92ad4365d6c02 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment5.js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment5.js @@ -9,6 +9,7 @@ function a () { //// [destructuringObjectBindingPatternAndAssignment5.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=es5).js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=es5).js index 5e00dbbe50a83..3ec75a216d244 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=es5).js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=es5).js @@ -11,6 +11,7 @@ console.log(aVal, bVal); //// [destructuringObjectBindingPatternAndAssignment6.js] +"use strict"; var a = "a"; var b = "b"; var _a = (function () { diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=esnext).js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=esnext).js index 4fd714f9a6f24..f17820d85666e 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=esnext).js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment6(target=esnext).js @@ -11,6 +11,7 @@ console.log(aVal, bVal); //// [destructuringObjectBindingPatternAndAssignment6.js] +"use strict"; const a = "a"; const b = "b"; const { [a]: aVal, [b]: bVal } = (() => { diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=es5).js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=es5).js index 53db636926dd2..2ffe8f91cf91f 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=es5).js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=es5).js @@ -12,6 +12,7 @@ console.log(aVal, bVal); //// [destructuringObjectBindingPatternAndAssignment7.js] +"use strict"; var K; (function (K) { K["a"] = "a"; diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=esnext).js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=esnext).js index f5ad94c26167e..4def58c6c7df7 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=esnext).js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment7(target=esnext).js @@ -12,6 +12,7 @@ console.log(aVal, bVal); //// [destructuringObjectBindingPatternAndAssignment7.js] +"use strict"; var K; (function (K) { K["a"] = "a"; diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=es5).js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=es5).js index 3950542d79621..edce572a66d27 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=es5).js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=es5).js @@ -12,6 +12,7 @@ console.log(aVal, bVal); //// [destructuringObjectBindingPatternAndAssignment8.js] +"use strict"; var K = { a: "a", b: "b" diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=esnext).js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=esnext).js index c9692acb77311..8618eb023e040 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=esnext).js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment8(target=esnext).js @@ -12,6 +12,7 @@ console.log(aVal, bVal); //// [destructuringObjectBindingPatternAndAssignment8.js] +"use strict"; const K = { a: "a", b: "b" diff --git a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment9SiblingInitializer.js b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment9SiblingInitializer.js index 92a7a56842bfc..3ef63ac16032d 100644 --- a/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment9SiblingInitializer.js +++ b/tests/baselines/reference/destructuringObjectBindingPatternAndAssignment9SiblingInitializer.js @@ -28,6 +28,7 @@ function f4() { //// [destructuringObjectBindingPatternAndAssignment9SiblingInitializer.js] +"use strict"; // To be inferred as `number` function f1() { var _a = { a1: 1 }, a1 = _a.a1, _b = _a.b1, b1 = _b === void 0 ? a1 : _b; diff --git a/tests/baselines/reference/destructuringParameterDeclaration1ES5.js b/tests/baselines/reference/destructuringParameterDeclaration1ES5.js index 3bf2b636b1762..97c8e9edb6478 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration1ES5.js +++ b/tests/baselines/reference/destructuringParameterDeclaration1ES5.js @@ -100,6 +100,7 @@ function e5({x: [a, b, c]}: { x: [number, number, number] }) { } // x has type //// [destructuringParameterDeclaration1ES5.js] +"use strict"; // A parameter declaration may specify either an identifier or a binding pattern. // The identifiers specified in parameter declarations and binding patterns // in a parameter list must be unique within that parameter list. diff --git a/tests/baselines/reference/destructuringParameterDeclaration1ES5iterable.js b/tests/baselines/reference/destructuringParameterDeclaration1ES5iterable.js index dea2af86541b7..1c7ad2e5f8814 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration1ES5iterable.js +++ b/tests/baselines/reference/destructuringParameterDeclaration1ES5iterable.js @@ -100,6 +100,7 @@ function e5({x: [a, b, c]}: { x: [number, number, number] }) { } // x has type //// [destructuringParameterDeclaration1ES5iterable.js] +"use strict"; // A parameter declaration may specify either an identifier or a binding pattern. // The identifiers specified in parameter declarations and binding patterns // in a parameter list must be unique within that parameter list. diff --git a/tests/baselines/reference/destructuringParameterDeclaration1ES6.js b/tests/baselines/reference/destructuringParameterDeclaration1ES6.js index 3a12d3bd68903..f669f35ccbe6f 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration1ES6.js +++ b/tests/baselines/reference/destructuringParameterDeclaration1ES6.js @@ -102,6 +102,7 @@ function e6({x: [number, number, number]}) { } // error, duplicate identifier; //// [destructuringParameterDeclaration1ES6.js] +"use strict"; // Conformance for emitting ES6 // A parameter declaration may specify either an identifier or a binding pattern. // The identifiers specified in parameter declarations and binding patterns diff --git a/tests/baselines/reference/destructuringParameterDeclaration2.js b/tests/baselines/reference/destructuringParameterDeclaration2.js index 92b51d2291fb5..8be34a2790532 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration2.js +++ b/tests/baselines/reference/destructuringParameterDeclaration2.js @@ -71,6 +71,7 @@ function e0({x: [number, number, number]}) { } // error, duplicate identifier; //// [destructuringParameterDeclaration2.js] +"use strict"; // A parameter declaration may specify either an identifier or a binding pattern. // The identifiers specified in parameter declarations and binding patterns // in a parameter list must be unique within that parameter list. diff --git a/tests/baselines/reference/destructuringParameterDeclaration3ES5.js b/tests/baselines/reference/destructuringParameterDeclaration3ES5.js index cc12769654739..f6bfb7c371766 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration3ES5.js +++ b/tests/baselines/reference/destructuringParameterDeclaration3ES5.js @@ -48,6 +48,7 @@ foo1(1, 2, 3, E1.a, E.b); //// [destructuringParameterDeclaration3ES5.js] +"use strict"; // If the parameter is a rest parameter, the parameter type is any[] // A type annotation for a rest parameter must denote an array type. function a1(...x) { } diff --git a/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable.js b/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable.js index 2cb6e249a2678..c6911216846a5 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable.js +++ b/tests/baselines/reference/destructuringParameterDeclaration3ES5iterable.js @@ -48,6 +48,7 @@ foo1(1, 2, 3, E1.a, E.b); //// [destructuringParameterDeclaration3ES5iterable.js] +"use strict"; // If the parameter is a rest parameter, the parameter type is any[] // A type annotation for a rest parameter must denote an array type. var __read = (this && this.__read) || function (o, n) { diff --git a/tests/baselines/reference/destructuringParameterDeclaration3ES6.js b/tests/baselines/reference/destructuringParameterDeclaration3ES6.js index 985b66b9beddf..178cf3e20c078 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration3ES6.js +++ b/tests/baselines/reference/destructuringParameterDeclaration3ES6.js @@ -48,6 +48,7 @@ foo1(1, 2, 3, E1.a, E.b); //// [destructuringParameterDeclaration3ES6.js] +"use strict"; // If the parameter is a rest parameter, the parameter type is any[] // A type annotation for a rest parameter must denote an array type. function a1(...x) { } diff --git a/tests/baselines/reference/destructuringParameterDeclaration4.js b/tests/baselines/reference/destructuringParameterDeclaration4.js index a544b6806fef6..1b360275d37c6 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration4.js +++ b/tests/baselines/reference/destructuringParameterDeclaration4.js @@ -40,6 +40,7 @@ foo1(1, 2, "string", E1.a, E.b); // Error //// [destructuringParameterDeclaration4.js] +"use strict"; // If the parameter is a rest parameter, the parameter type is any[] // A type annotation for a rest parameter must denote an array type. function a0() { diff --git a/tests/baselines/reference/destructuringParameterDeclaration5.js b/tests/baselines/reference/destructuringParameterDeclaration5.js index fdd45d220a59c..8a27a8efc9e17 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration5.js +++ b/tests/baselines/reference/destructuringParameterDeclaration5.js @@ -53,6 +53,7 @@ d3({ y: 1 }); d3({ y: "world" }); //// [destructuringParameterDeclaration5.js] +"use strict"; // Parameter Declaration with generic var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/destructuringParameterDeclaration7ES5.js b/tests/baselines/reference/destructuringParameterDeclaration7ES5.js index 8022fd507ace0..f200599fae12c 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration7ES5.js +++ b/tests/baselines/reference/destructuringParameterDeclaration7ES5.js @@ -16,6 +16,7 @@ function two([], [a, b, c]: number[]) {} //// [destructuringParameterDeclaration7ES5.js] +"use strict"; function foo(_a, _b) { var foo = _b.foo, bar = _b.bar; } diff --git a/tests/baselines/reference/destructuringParameterDeclaration7ES5iterable.js b/tests/baselines/reference/destructuringParameterDeclaration7ES5iterable.js index 6e6238752ae20..4edc9347ff4b6 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration7ES5iterable.js +++ b/tests/baselines/reference/destructuringParameterDeclaration7ES5iterable.js @@ -16,6 +16,7 @@ function two([], [a, b, c]: number[]) {} //// [destructuringParameterDeclaration7ES5iterable.js] +"use strict"; var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; diff --git a/tests/baselines/reference/destructuringParameterDeclaration8.js b/tests/baselines/reference/destructuringParameterDeclaration8.js index 61e661f71bd83..4c4153725c924 100644 --- a/tests/baselines/reference/destructuringParameterDeclaration8.js +++ b/tests/baselines/reference/destructuringParameterDeclaration8.js @@ -22,6 +22,7 @@ test({ method: 'one', nested: { p: 'a' } }) //// [destructuringParameterDeclaration8.js] +"use strict"; // explicit type annotation should cause `method` to have type 'x' | 'y' // both inside and outside `test`. function test(_a) { diff --git a/tests/baselines/reference/destructuringParameterProperties1.js b/tests/baselines/reference/destructuringParameterProperties1.js index 6fb9ffb0f21d6..1bd42f234ffd6 100644 --- a/tests/baselines/reference/destructuringParameterProperties1.js +++ b/tests/baselines/reference/destructuringParameterProperties1.js @@ -32,6 +32,7 @@ c3 = new C3({x: 0, "y": "y", z: true}); var [c3_x, c3_y, c3_z] = [c3.x, c3.y, c3.z]; //// [destructuringParameterProperties1.js] +"use strict"; var C1 = /** @class */ (function () { function C1(_a) { var x = _a[0], y = _a[1], z = _a[2]; diff --git a/tests/baselines/reference/destructuringParameterProperties2.js b/tests/baselines/reference/destructuringParameterProperties2.js index 56843bb7b744d..f1c0d2ae9244e 100644 --- a/tests/baselines/reference/destructuringParameterProperties2.js +++ b/tests/baselines/reference/destructuringParameterProperties2.js @@ -32,6 +32,7 @@ var [z_a, z_b, z_c] = [z.getA(), z.getB(), z.getC()]; //// [destructuringParameterProperties2.js] +"use strict"; var C1 = /** @class */ (function () { function C1(k, _a) { var a = _a[0], b = _a[1], c = _a[2]; diff --git a/tests/baselines/reference/destructuringParameterProperties3.js b/tests/baselines/reference/destructuringParameterProperties3.js index 0910986a4ecad..316bfb2b63cda 100644 --- a/tests/baselines/reference/destructuringParameterProperties3.js +++ b/tests/baselines/reference/destructuringParameterProperties3.js @@ -35,6 +35,7 @@ var [z_a, z_b, z_c] = [z.getA(), z.getB(), z.getC()]; //// [destructuringParameterProperties3.js] +"use strict"; var C1 = /** @class */ (function () { function C1(k, _a) { var a = _a[0], b = _a[1], c = _a[2]; diff --git a/tests/baselines/reference/destructuringParameterProperties4.js b/tests/baselines/reference/destructuringParameterProperties4.js index 99245b5b67b6b..394df352b2176 100644 --- a/tests/baselines/reference/destructuringParameterProperties4.js +++ b/tests/baselines/reference/destructuringParameterProperties4.js @@ -29,6 +29,7 @@ class C2 extends C1 { //// [destructuringParameterProperties4.js] +"use strict"; class C1 { constructor(k, [a, b, c]) { this.k = k; diff --git a/tests/baselines/reference/destructuringParameterProperties5.js b/tests/baselines/reference/destructuringParameterProperties5.js index a1d7989b8f4ad..4d2dca41d13df 100644 --- a/tests/baselines/reference/destructuringParameterProperties5.js +++ b/tests/baselines/reference/destructuringParameterProperties5.js @@ -15,6 +15,7 @@ var a = new C1([{ x1: 10, x2: "", x3: true }, "", false]); var [a_x1, a_x2, a_x3, a_y, a_z] = [a.x1, a.x2, a.x3, a.y, a.z]; //// [destructuringParameterProperties5.js] +"use strict"; var C1 = /** @class */ (function () { function C1(_a) { var _b = _a[0], x1 = _b.x1, x2 = _b.x2, x3 = _b.x3, y = _a[1], z = _a[2]; diff --git a/tests/baselines/reference/destructuringPropertyAssignmentNameIsNotAssignmentTarget.js b/tests/baselines/reference/destructuringPropertyAssignmentNameIsNotAssignmentTarget.js index a535ff7f6d35b..fb7ab87f28df3 100644 --- a/tests/baselines/reference/destructuringPropertyAssignmentNameIsNotAssignmentTarget.js +++ b/tests/baselines/reference/destructuringPropertyAssignmentNameIsNotAssignmentTarget.js @@ -11,6 +11,7 @@ function qux(bar: { value: number }) { //// [destructuringPropertyAssignmentNameIsNotAssignmentTarget.js] +"use strict"; // test for #10668 function qux(bar) { var foo; diff --git a/tests/baselines/reference/destructuringReassignsRightHandSide.js b/tests/baselines/reference/destructuringReassignsRightHandSide.js index 9eef7db85fde9..cbf9547bba1a1 100644 --- a/tests/baselines/reference/destructuringReassignsRightHandSide.js +++ b/tests/baselines/reference/destructuringReassignsRightHandSide.js @@ -11,6 +11,7 @@ var bar: any; var { foo, baz } = foo; //// [destructuringReassignsRightHandSide.js] +"use strict"; var _a; var foo = { foo: 1, bar: 2 }; var bar; diff --git a/tests/baselines/reference/destructuringSameNames.js b/tests/baselines/reference/destructuringSameNames.js index 6448530072a7d..dd3fc92e3f375 100644 --- a/tests/baselines/reference/destructuringSameNames.js +++ b/tests/baselines/reference/destructuringSameNames.js @@ -33,6 +33,7 @@ const [blah2, blah2] = [333, 444]; //// [destructuringSameNames.js] +"use strict"; // Valid cases var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; var _p = { foo: 1 }, foo = _p.foo, bar = _p.foo; diff --git a/tests/baselines/reference/destructuringSpread.js b/tests/baselines/reference/destructuringSpread.js index 4a90637250f3a..3a226c6196d78 100644 --- a/tests/baselines/reference/destructuringSpread.js +++ b/tests/baselines/reference/destructuringSpread.js @@ -31,6 +31,7 @@ const { c, d, e, f, g } = { //// [destructuringSpread.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/destructuringTempOccursAfterPrologue.js b/tests/baselines/reference/destructuringTempOccursAfterPrologue.js index f17eabcfc187d..48b21714e972a 100644 --- a/tests/baselines/reference/destructuringTempOccursAfterPrologue.js +++ b/tests/baselines/reference/destructuringTempOccursAfterPrologue.js @@ -8,6 +8,7 @@ function test(p: any) { } //// [destructuringTempOccursAfterPrologue.js] +"use strict"; function test(p) { 'use strict'; 'use strong'; diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_1.js b/tests/baselines/reference/destructuringTypeAssertionsES5_1.js index 0ca95f5f5d917..cb832b1c17a47 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_1.js +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_1.js @@ -4,4 +4,5 @@ var { x } = foo(); //// [destructuringTypeAssertionsES5_1.js] +"use strict"; var x = foo().x; diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_2.js b/tests/baselines/reference/destructuringTypeAssertionsES5_2.js index da0b3c149543d..74ba1790654a6 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_2.js +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_2.js @@ -4,4 +4,5 @@ var { x } = (foo()); //// [destructuringTypeAssertionsES5_2.js] +"use strict"; var x = foo().x; diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_3.js b/tests/baselines/reference/destructuringTypeAssertionsES5_3.js index 1a099d5c874d7..170424820391c 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_3.js +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_3.js @@ -4,4 +4,5 @@ var { x } = (foo()); //// [destructuringTypeAssertionsES5_3.js] +"use strict"; var x = (foo()).x; diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_4.js b/tests/baselines/reference/destructuringTypeAssertionsES5_4.js index 110ade5e06671..37468d58d1f65 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_4.js +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_4.js @@ -4,4 +4,5 @@ var { x } = foo(); //// [destructuringTypeAssertionsES5_4.js] +"use strict"; var x = foo().x; diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_5.js b/tests/baselines/reference/destructuringTypeAssertionsES5_5.js index 9a4f306b69a63..f5035799f194e 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_5.js +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_5.js @@ -4,4 +4,5 @@ var { x } = 0; //// [destructuringTypeAssertionsES5_5.js] +"use strict"; var x = 0..x; diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_6.js b/tests/baselines/reference/destructuringTypeAssertionsES5_6.js index 46d232c474f9e..e21602025c40f 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_6.js +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_6.js @@ -4,4 +4,5 @@ var { x } = new Foo; //// [destructuringTypeAssertionsES5_6.js] +"use strict"; var x = (new Foo).x; diff --git a/tests/baselines/reference/destructuringTypeAssertionsES5_7.js b/tests/baselines/reference/destructuringTypeAssertionsES5_7.js index 14058942c12da..6dcf9f2a9ef1b 100644 --- a/tests/baselines/reference/destructuringTypeAssertionsES5_7.js +++ b/tests/baselines/reference/destructuringTypeAssertionsES5_7.js @@ -4,4 +4,5 @@ var { x } = new Foo; //// [destructuringTypeAssertionsES5_7.js] +"use strict"; var x = (new Foo).x; diff --git a/tests/baselines/reference/destructuringTypeGuardFlow.js b/tests/baselines/reference/destructuringTypeGuardFlow.js index caa199582dd79..23048eb301518 100644 --- a/tests/baselines/reference/destructuringTypeGuardFlow.js +++ b/tests/baselines/reference/destructuringTypeGuardFlow.js @@ -39,6 +39,7 @@ if (bBar.elem2 && bBar.elem2.bar && bBar.elem2.nested.b) { //// [destructuringTypeGuardFlow.js] +"use strict"; var aFoo = { bar: 3, baz: "b", nested: { a: 1, b: "y" } }; if (aFoo.bar && aFoo.nested.b) { var bar = aFoo.bar, baz = aFoo.baz, _a = aFoo.nested, a = _a.a, text = _a.b; diff --git a/tests/baselines/reference/destructuringUnspreadableIntoRest.js b/tests/baselines/reference/destructuringUnspreadableIntoRest.js index ab914087f995a..e7ff417a3457d 100644 --- a/tests/baselines/reference/destructuringUnspreadableIntoRest.js +++ b/tests/baselines/reference/destructuringUnspreadableIntoRest.js @@ -91,6 +91,7 @@ function destructure(x: T) { //// [destructuringUnspreadableIntoRest.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/destructuringVariableDeclaration1ES5.js b/tests/baselines/reference/destructuringVariableDeclaration1ES5.js index c12d8765d3316..f00fe67db6de5 100644 --- a/tests/baselines/reference/destructuringVariableDeclaration1ES5.js +++ b/tests/baselines/reference/destructuringVariableDeclaration1ES5.js @@ -44,6 +44,7 @@ var {h: {h1 = [undefined, null]}}: { h: { h1: number[] } } = { h: { h1: [1, 2] } //// [destructuringVariableDeclaration1ES5.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/destructuringVariableDeclaration1ES5iterable.js b/tests/baselines/reference/destructuringVariableDeclaration1ES5iterable.js index ae7943f57e578..37b32484f4e0a 100644 --- a/tests/baselines/reference/destructuringVariableDeclaration1ES5iterable.js +++ b/tests/baselines/reference/destructuringVariableDeclaration1ES5iterable.js @@ -44,6 +44,7 @@ var {h: {h1 = [undefined, null]}}: { h: { h1: number[] } } = { h: { h1: [1, 2] } //// [destructuringVariableDeclaration1ES5iterable.js] +"use strict"; var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; diff --git a/tests/baselines/reference/destructuringVariableDeclaration1ES6.js b/tests/baselines/reference/destructuringVariableDeclaration1ES6.js index 9756a60d6426a..3c203756958a5 100644 --- a/tests/baselines/reference/destructuringVariableDeclaration1ES6.js +++ b/tests/baselines/reference/destructuringVariableDeclaration1ES6.js @@ -44,6 +44,7 @@ var {h: {h1 = [undefined, null]}}: { h: { h1: number[] } } = { h: { h1: [1, 2] } //// [destructuringVariableDeclaration1ES6.js] +"use strict"; // The type T associated with a destructuring variable declaration is determined as follows: // If the declaration includes a type annotation, T is that type. var { a1, a2 } = { a1: 10, a2: "world" }; diff --git a/tests/baselines/reference/destructuringVariableDeclaration2.js b/tests/baselines/reference/destructuringVariableDeclaration2.js index 7a6c94cd6b131..b60b6f8da630d 100644 --- a/tests/baselines/reference/destructuringVariableDeclaration2.js +++ b/tests/baselines/reference/destructuringVariableDeclaration2.js @@ -22,6 +22,7 @@ var [c1, c2, { c3: c4, c5 }, , ...c6] = [1, 2, { c3: 4, c5: 0 }]; // Error var {d: {d1 = ["string", null]}}: { d: { d1: number[] } } = { d: { d1: [1, 2] } }; // Error //// [destructuringVariableDeclaration2.js] +"use strict"; // The type T associated with a destructuring variable declaration is determined as follows: // If the declaration includes a type annotation, T is that type. var _a = { a1: true, a2: 1 }, a1 = _a.a1, a2 = _a.a2; // Error diff --git a/tests/baselines/reference/destructuringVoid.js b/tests/baselines/reference/destructuringVoid.js index b56d4dc1f6a0c..bc1de823e1988 100644 --- a/tests/baselines/reference/destructuringVoid.js +++ b/tests/baselines/reference/destructuringVoid.js @@ -6,4 +6,5 @@ const {} = v; //// [destructuringVoid.js] +"use strict"; var _a = v; diff --git a/tests/baselines/reference/destructuringVoidStrictNullChecks.js b/tests/baselines/reference/destructuringVoidStrictNullChecks.js index 9316a67064eb4..ebf41f7c03bc7 100644 --- a/tests/baselines/reference/destructuringVoidStrictNullChecks.js +++ b/tests/baselines/reference/destructuringVoidStrictNullChecks.js @@ -6,4 +6,5 @@ const {} = v; //// [destructuringVoidStrictNullChecks.js] +"use strict"; var _a = v; diff --git a/tests/baselines/reference/destructuringWithGenericParameter.js b/tests/baselines/reference/destructuringWithGenericParameter.js index 08146df87ed77..325a9d2529c97 100644 --- a/tests/baselines/reference/destructuringWithGenericParameter.js +++ b/tests/baselines/reference/destructuringWithGenericParameter.js @@ -17,6 +17,7 @@ genericFunction(genericObject, ({greeting}) => { //// [destructuringWithGenericParameter.js] +"use strict"; var GenericClass = /** @class */ (function () { function GenericClass() { } diff --git a/tests/baselines/reference/destructuringWithLiteralInitializers.js b/tests/baselines/reference/destructuringWithLiteralInitializers.js index 90ccca60a91e1..4a14c2659256f 100644 --- a/tests/baselines/reference/destructuringWithLiteralInitializers.js +++ b/tests/baselines/reference/destructuringWithLiteralInitializers.js @@ -69,6 +69,7 @@ g5([1, 1]); //// [destructuringWithLiteralInitializers.js] +"use strict"; // (arg: { x: any, y: any }) => void function f1(_a) { var x = _a.x, y = _a.y; diff --git a/tests/baselines/reference/destructuringWithNewExpression.js b/tests/baselines/reference/destructuringWithNewExpression.js index cfd1a5077effc..50f64bfc0ce1a 100644 --- a/tests/baselines/reference/destructuringWithNewExpression.js +++ b/tests/baselines/reference/destructuringWithNewExpression.js @@ -8,6 +8,7 @@ class C { var { x } = new C; //// [destructuringWithNewExpression.js] +"use strict"; var C = /** @class */ (function () { function C() { this.x = 0; diff --git a/tests/baselines/reference/destructuringWithNumberLiteral.js b/tests/baselines/reference/destructuringWithNumberLiteral.js index 613ab30c13563..7d6e4c708eedd 100644 --- a/tests/baselines/reference/destructuringWithNumberLiteral.js +++ b/tests/baselines/reference/destructuringWithNumberLiteral.js @@ -4,4 +4,5 @@ var { toExponential } = 0; //// [destructuringWithNumberLiteral.js] +"use strict"; var toExponential = 0..toExponential; diff --git a/tests/baselines/reference/detachedCommentAtStartOfConstructor1.js b/tests/baselines/reference/detachedCommentAtStartOfConstructor1.js index e38daa466c0e8..913f29da9f0e4 100644 --- a/tests/baselines/reference/detachedCommentAtStartOfConstructor1.js +++ b/tests/baselines/reference/detachedCommentAtStartOfConstructor1.js @@ -13,6 +13,7 @@ class TestFile { } //// [detachedCommentAtStartOfConstructor1.js] +"use strict"; var TestFile = /** @class */ (function () { function TestFile(message) { var _this = this; diff --git a/tests/baselines/reference/detachedCommentAtStartOfConstructor2.js b/tests/baselines/reference/detachedCommentAtStartOfConstructor2.js index 47102ee2f403c..f6806646c8160 100644 --- a/tests/baselines/reference/detachedCommentAtStartOfConstructor2.js +++ b/tests/baselines/reference/detachedCommentAtStartOfConstructor2.js @@ -14,6 +14,7 @@ class TestFile { } //// [detachedCommentAtStartOfConstructor2.js] +"use strict"; var TestFile = /** @class */ (function () { function TestFile(message) { /// Test summary diff --git a/tests/baselines/reference/detachedCommentAtStartOfFunctionBody1.js b/tests/baselines/reference/detachedCommentAtStartOfFunctionBody1.js index 2e1091a0a256c..03e7dda624d61 100644 --- a/tests/baselines/reference/detachedCommentAtStartOfFunctionBody1.js +++ b/tests/baselines/reference/detachedCommentAtStartOfFunctionBody1.js @@ -11,6 +11,7 @@ class TestFile { } //// [detachedCommentAtStartOfFunctionBody1.js] +"use strict"; var TestFile = /** @class */ (function () { function TestFile() { } diff --git a/tests/baselines/reference/detachedCommentAtStartOfFunctionBody2.js b/tests/baselines/reference/detachedCommentAtStartOfFunctionBody2.js index dc6caf3146c40..0db2941417f73 100644 --- a/tests/baselines/reference/detachedCommentAtStartOfFunctionBody2.js +++ b/tests/baselines/reference/detachedCommentAtStartOfFunctionBody2.js @@ -12,6 +12,7 @@ class TestFile { } //// [detachedCommentAtStartOfFunctionBody2.js] +"use strict"; var TestFile = /** @class */ (function () { function TestFile() { } diff --git a/tests/baselines/reference/detachedCommentAtStartOfLambdaFunction1.js b/tests/baselines/reference/detachedCommentAtStartOfLambdaFunction1.js index 82df740c147fb..dc8033bf403c6 100644 --- a/tests/baselines/reference/detachedCommentAtStartOfLambdaFunction1.js +++ b/tests/baselines/reference/detachedCommentAtStartOfLambdaFunction1.js @@ -13,6 +13,7 @@ class TestFile { } //// [detachedCommentAtStartOfLambdaFunction1.js] +"use strict"; var TestFile = /** @class */ (function () { function TestFile() { } diff --git a/tests/baselines/reference/detachedCommentAtStartOfLambdaFunction2.js b/tests/baselines/reference/detachedCommentAtStartOfLambdaFunction2.js index d072b1c5089e5..58c42044f531f 100644 --- a/tests/baselines/reference/detachedCommentAtStartOfLambdaFunction2.js +++ b/tests/baselines/reference/detachedCommentAtStartOfLambdaFunction2.js @@ -14,6 +14,7 @@ class TestFile { } //// [detachedCommentAtStartOfLambdaFunction2.js] +"use strict"; var TestFile = /** @class */ (function () { function TestFile() { } diff --git a/tests/baselines/reference/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js b/tests/baselines/reference/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js index 03cec3b70aecf..eb0213c132536 100644 --- a/tests/baselines/reference/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js +++ b/tests/baselines/reference/didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js @@ -31,6 +31,7 @@ foo({ //// [didYouMeanElaborationsForExpressionsWhichCouldBeCalled.js] +"use strict"; var Bar = /** @class */ (function () { function Bar() { } diff --git a/tests/baselines/reference/didYouMeanStringLiteral.js b/tests/baselines/reference/didYouMeanStringLiteral.js index 189b28ff9ced4..3d2955c933f5c 100644 --- a/tests/baselines/reference/didYouMeanStringLiteral.js +++ b/tests/baselines/reference/didYouMeanStringLiteral.js @@ -11,6 +11,7 @@ const t3: T3 = "strong"; //// [didYouMeanStringLiteral.js] +"use strict"; var t1 = "strong"; var t2 = "strong"; var t3 = "strong"; diff --git a/tests/baselines/reference/didYouMeanSuggestionErrors.js b/tests/baselines/reference/didYouMeanSuggestionErrors.js index a07d1676da4d2..32b2e939fbc94 100644 --- a/tests/baselines/reference/didYouMeanSuggestionErrors.js +++ b/tests/baselines/reference/didYouMeanSuggestionErrors.js @@ -31,6 +31,7 @@ suite("another suite", () => { }); //// [didYouMeanSuggestionErrors.js] +"use strict"; describe("my test suite", function () { it("should run", function () { var a = $(".thing"); diff --git a/tests/baselines/reference/differentTypesWithSameName.js b/tests/baselines/reference/differentTypesWithSameName.js index 1662e9c19324b..550291d959043 100644 --- a/tests/baselines/reference/differentTypesWithSameName.js +++ b/tests/baselines/reference/differentTypesWithSameName.js @@ -19,6 +19,7 @@ var v: variable = new variable(); m.doSomething(v); //// [differentTypesWithSameName.js] +"use strict"; var m; (function (m) { var variable = /** @class */ (function () { diff --git a/tests/baselines/reference/directDependenceBetweenTypeAliases.js b/tests/baselines/reference/directDependenceBetweenTypeAliases.js index dbc705786321a..90fea9fe8f326 100644 --- a/tests/baselines/reference/directDependenceBetweenTypeAliases.js +++ b/tests/baselines/reference/directDependenceBetweenTypeAliases.js @@ -45,6 +45,7 @@ var zz: { x: T11 } //// [directDependenceBetweenTypeAliases.js] +"use strict"; // It is an error for the type specified in a type alias to depend on that type alias var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/directReferenceToNull.js b/tests/baselines/reference/directReferenceToNull.js index 7d4b5a4b1cc98..0c1c9e3980e49 100644 --- a/tests/baselines/reference/directReferenceToNull.js +++ b/tests/baselines/reference/directReferenceToNull.js @@ -4,4 +4,5 @@ var x: Null; //// [directReferenceToNull.js] +"use strict"; var x; diff --git a/tests/baselines/reference/directReferenceToUndefined.js b/tests/baselines/reference/directReferenceToUndefined.js index d7ca756546d11..8e8f94719c982 100644 --- a/tests/baselines/reference/directReferenceToUndefined.js +++ b/tests/baselines/reference/directReferenceToUndefined.js @@ -5,5 +5,6 @@ var x: Undefined; var y = undefined; //// [directReferenceToUndefined.js] +"use strict"; var x; var y = undefined; diff --git a/tests/baselines/reference/disallowLineTerminatorBeforeArrow.js b/tests/baselines/reference/disallowLineTerminatorBeforeArrow.js index ac98e691914ae..9d78b2975438f 100644 --- a/tests/baselines/reference/disallowLineTerminatorBeforeArrow.js +++ b/tests/baselines/reference/disallowLineTerminatorBeforeArrow.js @@ -77,6 +77,7 @@ namespace m { //// [disallowLineTerminatorBeforeArrow.js] +"use strict"; var f1 = function () { }; var f2 = function (x, y) { }; var f3 = function (x, y) { diff --git a/tests/baselines/reference/discriminableUnionWithIntersectedMembers.js b/tests/baselines/reference/discriminableUnionWithIntersectedMembers.js index 5c7f2af138298..313f0dfbf0fde 100644 --- a/tests/baselines/reference/discriminableUnionWithIntersectedMembers.js +++ b/tests/baselines/reference/discriminableUnionWithIntersectedMembers.js @@ -17,6 +17,7 @@ type Y = const y: Y = 4 as any as { x: 'x' | 'y', y: number }; //// [discriminableUnionWithIntersectedMembers.js] +"use strict"; // error var x = 4; // no error diff --git a/tests/baselines/reference/discriminantElementAccessCheck.js b/tests/baselines/reference/discriminantElementAccessCheck.js index 9ea4363190473..0d294f1976828 100644 --- a/tests/baselines/reference/discriminantElementAccessCheck.js +++ b/tests/baselines/reference/discriminantElementAccessCheck.js @@ -55,6 +55,7 @@ function SwitchWithTemplate(val: U) { } //// [discriminantElementAccessCheck.js] +"use strict"; function assertNever(x) { return x; } diff --git a/tests/baselines/reference/discriminantOrderIndependence.js b/tests/baselines/reference/discriminantOrderIndependence.js index 0dcd9850e352f..57844f28bacc6 100644 --- a/tests/baselines/reference/discriminantOrderIndependence.js +++ b/tests/baselines/reference/discriminantOrderIndependence.js @@ -44,6 +44,7 @@ if (order2 && order2.type === "a") { } //// [discriminantOrderIndependence.js] +"use strict"; // Should NOT error: 'order1' is possibly 'undefined' after the guard if (order1 && order1.type === "a") { order1.type; // Should be OK diff --git a/tests/baselines/reference/discriminantPropertyInference.js b/tests/baselines/reference/discriminantPropertyInference.js index 255a16fb7138b..82067546aa816 100644 --- a/tests/baselines/reference/discriminantPropertyInference.js +++ b/tests/baselines/reference/discriminantPropertyInference.js @@ -42,6 +42,7 @@ f({ //// [discriminantPropertyInference.js] +"use strict"; // Repro from #41759 // simple inference f({ diff --git a/tests/baselines/reference/discriminantsAndNullOrUndefined.js b/tests/baselines/reference/discriminantsAndNullOrUndefined.js index 5dbe68cd7cb81..441506c7bde38 100644 --- a/tests/baselines/reference/discriminantsAndNullOrUndefined.js +++ b/tests/baselines/reference/discriminantsAndNullOrUndefined.js @@ -26,6 +26,7 @@ if (c !== undefined) { } //// [discriminantsAndNullOrUndefined.js] +"use strict"; // Repro from #10228 function never(_) { throw new Error(); diff --git a/tests/baselines/reference/discriminantsAndPrimitives.js b/tests/baselines/reference/discriminantsAndPrimitives.js index 8121c65c27b2a..33304201db46d 100644 --- a/tests/baselines/reference/discriminantsAndPrimitives.js +++ b/tests/baselines/reference/discriminantsAndPrimitives.js @@ -83,6 +83,7 @@ else { //// [discriminantsAndPrimitives.js] +"use strict"; // Repro from #10257 plus other tests function f1(x) { if (typeof x !== 'string') { diff --git a/tests/baselines/reference/discriminantsAndTypePredicates.js b/tests/baselines/reference/discriminantsAndTypePredicates.js index 123d88e4b6c53..6d664a3ac9661 100644 --- a/tests/baselines/reference/discriminantsAndTypePredicates.js +++ b/tests/baselines/reference/discriminantsAndTypePredicates.js @@ -34,6 +34,7 @@ function foo2(x: A | B): any { } //// [discriminantsAndTypePredicates.js] +"use strict"; // Repro from #10145 function isA(x) { return x.type === 'A'; } function isB(x) { return x.type === 'B'; } diff --git a/tests/baselines/reference/discriminatedUnionErrorMessage.js b/tests/baselines/reference/discriminatedUnionErrorMessage.js index fc278daef70b7..78955cd053c4f 100644 --- a/tests/baselines/reference/discriminatedUnionErrorMessage.js +++ b/tests/baselines/reference/discriminatedUnionErrorMessage.js @@ -16,6 +16,7 @@ let shape: Shape = { //// [discriminatedUnionErrorMessage.js] +"use strict"; var shape = { kind: "sq", x: 12, diff --git a/tests/baselines/reference/discriminatedUnionTypes1.js b/tests/baselines/reference/discriminatedUnionTypes1.js index 475034cb8c48b..f388eaf840e90 100644 --- a/tests/baselines/reference/discriminatedUnionTypes1.js +++ b/tests/baselines/reference/discriminatedUnionTypes1.js @@ -145,6 +145,7 @@ function f8(m: Message) { } //// [discriminatedUnionTypes1.js] +"use strict"; function area1(s) { if (s.kind === "square") { return s.size * s.size; diff --git a/tests/baselines/reference/dissallowSymbolAsWeakType.js b/tests/baselines/reference/dissallowSymbolAsWeakType.js index 58d97a184f5c8..149a7cbc491a6 100644 --- a/tests/baselines/reference/dissallowSymbolAsWeakType.js +++ b/tests/baselines/reference/dissallowSymbolAsWeakType.js @@ -23,6 +23,7 @@ f.unregister(s); //// [dissallowSymbolAsWeakType.js] +"use strict"; const s = Symbol('s'); const ws = new WeakSet([s]); ws.add(s); diff --git a/tests/baselines/reference/divergentAccessorsTypes3.js b/tests/baselines/reference/divergentAccessorsTypes3.js index 45429aad02e72..e896663913b1f 100644 --- a/tests/baselines/reference/divergentAccessorsTypes3.js +++ b/tests/baselines/reference/divergentAccessorsTypes3.js @@ -46,6 +46,7 @@ u1.prop4 = true; //// [divergentAccessorsTypes3.js] +"use strict"; var One = /** @class */ (function () { function One() { } diff --git a/tests/baselines/reference/divergentAccessorsTypes4.js b/tests/baselines/reference/divergentAccessorsTypes4.js index aed09844941d3..6cb9fac038b34 100644 --- a/tests/baselines/reference/divergentAccessorsTypes4.js +++ b/tests/baselines/reference/divergentAccessorsTypes4.js @@ -33,6 +33,7 @@ i.prop2 = "hello"; // error //// [divergentAccessorsTypes4.js] +"use strict"; var One = /** @class */ (function () { function One() { } diff --git a/tests/baselines/reference/divergentAccessorsTypes5.js b/tests/baselines/reference/divergentAccessorsTypes5.js index 780f38db7ed00..a435d35159bee 100644 --- a/tests/baselines/reference/divergentAccessorsTypes5.js +++ b/tests/baselines/reference/divergentAccessorsTypes5.js @@ -40,6 +40,7 @@ i.prop2 = "hello"; // error //// [divergentAccessorsTypes5.js] +"use strict"; // Not really different from divergentAccessorsTypes4.ts, // but goes through the deferred type code var One = /** @class */ (function () { diff --git a/tests/baselines/reference/divergentAccessorsTypes7.js b/tests/baselines/reference/divergentAccessorsTypes7.js index f5a534f1f7af2..c2f1a0b6309f3 100644 --- a/tests/baselines/reference/divergentAccessorsTypes7.js +++ b/tests/baselines/reference/divergentAccessorsTypes7.js @@ -28,6 +28,7 @@ a['value'] = (item) => item.property //// [divergentAccessorsTypes7.js] +"use strict"; var Test = /** @class */ (function () { function Test() { } diff --git a/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.js b/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.js index e0cc967c19563..5fd52beedd632 100644 --- a/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.js +++ b/tests/baselines/reference/doNotElaborateAssignabilityToTypeParameters.js @@ -15,6 +15,7 @@ declare function getXOrYadda(x: T): T | Yadda; //// [doNotElaborateAssignabilityToTypeParameters.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/doNotEmitDetachedComments.js b/tests/baselines/reference/doNotEmitDetachedComments.js index 2879fca40b470..28f7d3d2045fe 100644 --- a/tests/baselines/reference/doNotEmitDetachedComments.js +++ b/tests/baselines/reference/doNotEmitDetachedComments.js @@ -30,6 +30,7 @@ function bar() { } //// [doNotEmitDetachedComments.js] +"use strict"; var x = 10; function foo() { } function bar() { } diff --git a/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfConstructor.js b/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfConstructor.js index 66b9b645385c6..0edcb1bb01b2d 100644 --- a/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfConstructor.js +++ b/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfConstructor.js @@ -40,6 +40,7 @@ class D { } //// [doNotEmitDetachedCommentsAtStartOfConstructor.js] +"use strict"; var A = (function () { function A() { var x = 10; diff --git a/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfFunctionBody.js b/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfFunctionBody.js index e0163e29f9533..4a987ce30abe1 100644 --- a/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfFunctionBody.js +++ b/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfFunctionBody.js @@ -36,6 +36,7 @@ function foo4() { //// [doNotEmitDetachedCommentsAtStartOfFunctionBody.js] +"use strict"; function foo1() { return 42; } diff --git a/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfLambdaFunction.js b/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfLambdaFunction.js index 1c6a36df794c1..935b7f1470ada 100644 --- a/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfLambdaFunction.js +++ b/tests/baselines/reference/doNotEmitDetachedCommentsAtStartOfLambdaFunction.js @@ -33,6 +33,7 @@ //// [doNotEmitDetachedCommentsAtStartOfLambdaFunction.js] +"use strict"; (function () { return 0; }); diff --git a/tests/baselines/reference/doNotEmitPinnedCommentNotOnTopOfFile.js b/tests/baselines/reference/doNotEmitPinnedCommentNotOnTopOfFile.js index 03552e876f0ac..e3c38ee90482d 100644 --- a/tests/baselines/reference/doNotEmitPinnedCommentNotOnTopOfFile.js +++ b/tests/baselines/reference/doNotEmitPinnedCommentNotOnTopOfFile.js @@ -12,5 +12,6 @@ var x = 10; var x = 10; //// [doNotEmitPinnedCommentNotOnTopOfFile.js] +"use strict"; var x = 10; var x = 10; diff --git a/tests/baselines/reference/doNotEmitPinnedCommentOnNotEmittedNode.js b/tests/baselines/reference/doNotEmitPinnedCommentOnNotEmittedNode.js index 74434660010c7..c1669a8a13ef2 100644 --- a/tests/baselines/reference/doNotEmitPinnedCommentOnNotEmittedNode.js +++ b/tests/baselines/reference/doNotEmitPinnedCommentOnNotEmittedNode.js @@ -13,6 +13,7 @@ var x = 10; declare var OData: any; //// [doNotEmitPinnedCommentOnNotEmittedNode.js] +"use strict"; var C = (function () { function C() { } diff --git a/tests/baselines/reference/doNotEmitPinnedCommentOnNotEmittedNodets.js b/tests/baselines/reference/doNotEmitPinnedCommentOnNotEmittedNodets.js index 8ee595a853602..1ac7a17862796 100644 --- a/tests/baselines/reference/doNotEmitPinnedCommentOnNotEmittedNodets.js +++ b/tests/baselines/reference/doNotEmitPinnedCommentOnNotEmittedNodets.js @@ -11,6 +11,7 @@ class C { declare var OData: any; //// [doNotEmitPinnedCommentOnNotEmittedNodets.js] +"use strict"; var C = (function () { function C() { } diff --git a/tests/baselines/reference/doNotEmitPinnedDetachedComments.js b/tests/baselines/reference/doNotEmitPinnedDetachedComments.js index 03c18a2d99191..62243882d8d41 100644 --- a/tests/baselines/reference/doNotEmitPinnedDetachedComments.js +++ b/tests/baselines/reference/doNotEmitPinnedDetachedComments.js @@ -35,6 +35,7 @@ function foo() { //// [doNotEmitPinnedDetachedComments.js] +"use strict"; var x = 10; function baz() { } function bar() { diff --git a/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.js b/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.js index eaa9cd065145f..2876103ddd2dc 100644 --- a/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.js +++ b/tests/baselines/reference/doNotEmitTripleSlashCommentsInEmptyFile.js @@ -10,5 +10,8 @@ /// //// [file0.js] +"use strict"; //// [file1.js] +"use strict"; //// [file2.js] +"use strict"; diff --git a/tests/baselines/reference/doNotEmitTripleSlashCommentsOnNotEmittedNode.js b/tests/baselines/reference/doNotEmitTripleSlashCommentsOnNotEmittedNode.js index 57727cfd1870d..bd00105e11d44 100644 --- a/tests/baselines/reference/doNotEmitTripleSlashCommentsOnNotEmittedNode.js +++ b/tests/baselines/reference/doNotEmitTripleSlashCommentsOnNotEmittedNode.js @@ -11,4 +11,6 @@ interface F { } //// [file0.js] +"use strict"; //// [file1.js] +"use strict"; diff --git a/tests/baselines/reference/doNotInferUnrelatedTypes.js b/tests/baselines/reference/doNotInferUnrelatedTypes.js index 0497fec76de75..ccdd2484a3626 100644 --- a/tests/baselines/reference/doNotInferUnrelatedTypes.js +++ b/tests/baselines/reference/doNotInferUnrelatedTypes.js @@ -10,4 +10,5 @@ let foo: LiteralType = dearray(alt); //// [doNotInferUnrelatedTypes.js] +"use strict"; var foo = dearray(alt); diff --git a/tests/baselines/reference/doNotWidenAtObjectLiteralPropertyAssignment.js b/tests/baselines/reference/doNotWidenAtObjectLiteralPropertyAssignment.js index e06626076157d..1893ed25f6345 100644 --- a/tests/baselines/reference/doNotWidenAtObjectLiteralPropertyAssignment.js +++ b/tests/baselines/reference/doNotWidenAtObjectLiteralPropertyAssignment.js @@ -14,4 +14,5 @@ var test: IIntervalTreeNode[] = [{ interval: { begin: 0 }, children: null }]; // //// [doNotWidenAtObjectLiteralPropertyAssignment.js] +"use strict"; var test = [{ interval: { begin: 0 }, children: null }]; // was error here because best common type is {} diff --git a/tests/baselines/reference/doNotemitTripleSlashComments.js b/tests/baselines/reference/doNotemitTripleSlashComments.js index f3f7440190264..b55627c2f36bc 100644 --- a/tests/baselines/reference/doNotemitTripleSlashComments.js +++ b/tests/baselines/reference/doNotemitTripleSlashComments.js @@ -36,10 +36,13 @@ function bar() { } //// [file0.js] +"use strict"; var x = 10; var y = "hello"; //// [file1.js] +"use strict"; function foo() { } var z = "world"; //// [file2.js] +"use strict"; function bar() { } diff --git a/tests/baselines/reference/doWhileBreakStatements.js b/tests/baselines/reference/doWhileBreakStatements.js index 46ddec6e188b4..0bf73e9093d8c 100644 --- a/tests/baselines/reference/doWhileBreakStatements.js +++ b/tests/baselines/reference/doWhileBreakStatements.js @@ -41,6 +41,7 @@ do{ //// [doWhileBreakStatements.js] +"use strict"; do { break; } while (true); diff --git a/tests/baselines/reference/doWhileContinueStatements.js b/tests/baselines/reference/doWhileContinueStatements.js index b18cef4c2521f..94e673886db0f 100644 --- a/tests/baselines/reference/doWhileContinueStatements.js +++ b/tests/baselines/reference/doWhileContinueStatements.js @@ -41,6 +41,7 @@ do{ //// [doWhileContinueStatements.js] +"use strict"; do { continue; } while (true); diff --git a/tests/baselines/reference/doWhileLoop.js b/tests/baselines/reference/doWhileLoop.js index f7f827a1666e0..dcdd394ad90d0 100644 --- a/tests/baselines/reference/doWhileLoop.js +++ b/tests/baselines/reference/doWhileLoop.js @@ -5,5 +5,6 @@ do { } while (false); var n; //// [doWhileLoop.js] +"use strict"; do { } while (false); var n; diff --git a/tests/baselines/reference/doWhileUnreachableCode.js b/tests/baselines/reference/doWhileUnreachableCode.js index ec82520684c60..b67e764a19f62 100644 --- a/tests/baselines/reference/doWhileUnreachableCode.js +++ b/tests/baselines/reference/doWhileUnreachableCode.js @@ -15,6 +15,7 @@ function test() { } //// [doWhileUnreachableCode.js] +"use strict"; function test() { var foo = 0; testLoop: do { diff --git a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.js b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.js index 5d85e0ab14c47..7e8eeb638ff6b 100644 --- a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.js +++ b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2015.js @@ -95,6 +95,7 @@ const testRegExpUnicode = /abc/g.unicode; //// [doYouNeedToChangeYourTargetLibraryES2015.js] +"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; diff --git a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.js b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.js index 15953908374a0..78dbda0d59816 100644 --- a/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.js +++ b/tests/baselines/reference/doYouNeedToChangeYourTargetLibraryES2016Plus.js @@ -50,6 +50,7 @@ const testStringReplaceAll = "".replaceAll(); //// [doYouNeedToChangeYourTargetLibraryES2016Plus.js] +"use strict"; // es2016 var testIncludes = ["hello"].includes("world"); // es2017 diff --git a/tests/baselines/reference/doesNotNarrowUnionOfConstructorsWithInstanceof.js b/tests/baselines/reference/doesNotNarrowUnionOfConstructorsWithInstanceof.js index 86663d7076016..e0ad7059bd83e 100644 --- a/tests/baselines/reference/doesNotNarrowUnionOfConstructorsWithInstanceof.js +++ b/tests/baselines/reference/doesNotNarrowUnionOfConstructorsWithInstanceof.js @@ -30,6 +30,7 @@ if (!(a instanceof b)) { //// [doesNotNarrowUnionOfConstructorsWithInstanceof.js] +"use strict"; var A = /** @class */ (function () { function A() { this.length = 1; diff --git a/tests/baselines/reference/dontShowCompilerGeneratedMembers.js b/tests/baselines/reference/dontShowCompilerGeneratedMembers.js index 362947e5b7caa..17a57f9a911b9 100644 --- a/tests/baselines/reference/dontShowCompilerGeneratedMembers.js +++ b/tests/baselines/reference/dontShowCompilerGeneratedMembers.js @@ -7,6 +7,7 @@ var f: { }; //// [dontShowCompilerGeneratedMembers.js] +"use strict"; var f; -; ; diff --git a/tests/baselines/reference/dottedModuleName.js b/tests/baselines/reference/dottedModuleName.js index 812a7b3c82530..7e473205adfeb 100644 --- a/tests/baselines/reference/dottedModuleName.js +++ b/tests/baselines/reference/dottedModuleName.js @@ -22,6 +22,7 @@ namespace M.N { //// [dottedModuleName.js] +"use strict"; var M; (function (M) { var N; diff --git a/tests/baselines/reference/dottedModuleName2.js b/tests/baselines/reference/dottedModuleName2.js index 65c4e4cccf4c5..692626214b211 100644 --- a/tests/baselines/reference/dottedModuleName2.js +++ b/tests/baselines/reference/dottedModuleName2.js @@ -46,6 +46,7 @@ namespace M //// [dottedModuleName2.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/dottedSymbolResolution1.js b/tests/baselines/reference/dottedSymbolResolution1.js index 347089d0a2cac..a8934d0c27d8e 100644 --- a/tests/baselines/reference/dottedSymbolResolution1.js +++ b/tests/baselines/reference/dottedSymbolResolution1.js @@ -28,6 +28,7 @@ function _setBarAndText(): void { } //// [dottedSymbolResolution1.js] +"use strict"; var Base = /** @class */ (function () { function Base() { } diff --git a/tests/baselines/reference/doubleMixinConditionalTypeBaseClassWorks.js b/tests/baselines/reference/doubleMixinConditionalTypeBaseClassWorks.js index 0b93164b256e0..218e333efb809 100644 --- a/tests/baselines/reference/doubleMixinConditionalTypeBaseClassWorks.js +++ b/tests/baselines/reference/doubleMixinConditionalTypeBaseClassWorks.js @@ -11,6 +11,7 @@ const Mixin2 = (Base: C) => class extends Base {}; class C extends Mixin2(Mixin1(Object)) {} //// [doubleMixinConditionalTypeBaseClassWorks.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/doubleUnderStringLiteralAssignability.js b/tests/baselines/reference/doubleUnderStringLiteralAssignability.js index 0556527ded369..4ef7226cc9d24 100644 --- a/tests/baselines/reference/doubleUnderStringLiteralAssignability.js +++ b/tests/baselines/reference/doubleUnderStringLiteralAssignability.js @@ -8,6 +8,7 @@ var alsoOk: '_sunder' = '_sunder'; //// [doubleUnderStringLiteralAssignability.js] +"use strict"; var shouldBeOk = '__dunder'; var bad = 'no_dunder'; var okok = '___thunder'; diff --git a/tests/baselines/reference/doubleUnderscoreEnumEmit.js b/tests/baselines/reference/doubleUnderscoreEnumEmit.js index 88fe2121a2c1f..b9c5dc69097d1 100644 --- a/tests/baselines/reference/doubleUnderscoreEnumEmit.js +++ b/tests/baselines/reference/doubleUnderscoreEnumEmit.js @@ -22,6 +22,7 @@ namespace Bar { } //// [doubleUnderscoreEnumEmit.js] +"use strict"; var Foo; (function (Foo) { Foo[Foo["__a"] = 1] = "__a"; diff --git a/tests/baselines/reference/doubleUnderscoreLabels.js b/tests/baselines/reference/doubleUnderscoreLabels.js index a4039d2c40d96..79f1b7de40fdc 100644 --- a/tests/baselines/reference/doubleUnderscoreLabels.js +++ b/tests/baselines/reference/doubleUnderscoreLabels.js @@ -16,6 +16,7 @@ function doThing() { doThing(); //// [doubleUnderscoreLabels.js] +"use strict"; function doThing() { __call: while (true) { aLabel: for (var i = 0; i < 10; i++) { diff --git a/tests/baselines/reference/doubleUnderscoreMappedTypes.js b/tests/baselines/reference/doubleUnderscoreMappedTypes.js index 996b8f564d5c6..203078a153a75 100644 --- a/tests/baselines/reference/doubleUnderscoreMappedTypes.js +++ b/tests/baselines/reference/doubleUnderscoreMappedTypes.js @@ -27,6 +27,7 @@ const partial: Partial = { //// [doubleUnderscoreMappedTypes.js] +"use strict"; // As expected, I can make an object satisfying this interface var ok = { property1: "", diff --git a/tests/baselines/reference/downlevelLetConst1.js b/tests/baselines/reference/downlevelLetConst1.js index b363965f30b4b..2175672658dc4 100644 --- a/tests/baselines/reference/downlevelLetConst1.js +++ b/tests/baselines/reference/downlevelLetConst1.js @@ -4,4 +4,5 @@ const //// [downlevelLetConst1.js] +"use strict"; var ; diff --git a/tests/baselines/reference/downlevelLetConst10.js b/tests/baselines/reference/downlevelLetConst10.js index 8c325ce1f1a0f..a16742229a999 100644 --- a/tests/baselines/reference/downlevelLetConst10.js +++ b/tests/baselines/reference/downlevelLetConst10.js @@ -4,4 +4,5 @@ let a: number = 1 //// [downlevelLetConst10.js] +"use strict"; var a = 1; diff --git a/tests/baselines/reference/downlevelLetConst2.js b/tests/baselines/reference/downlevelLetConst2.js index 2bdbee8c0c125..713139c907951 100644 --- a/tests/baselines/reference/downlevelLetConst2.js +++ b/tests/baselines/reference/downlevelLetConst2.js @@ -4,4 +4,5 @@ const a //// [downlevelLetConst2.js] +"use strict"; var a; diff --git a/tests/baselines/reference/downlevelLetConst3.js b/tests/baselines/reference/downlevelLetConst3.js index 7aaf4f9f625c9..fd64c8d0515bb 100644 --- a/tests/baselines/reference/downlevelLetConst3.js +++ b/tests/baselines/reference/downlevelLetConst3.js @@ -4,4 +4,5 @@ const a = 1 //// [downlevelLetConst3.js] +"use strict"; var a = 1; diff --git a/tests/baselines/reference/downlevelLetConst4.js b/tests/baselines/reference/downlevelLetConst4.js index cb198d3f067ef..9366ca300e54d 100644 --- a/tests/baselines/reference/downlevelLetConst4.js +++ b/tests/baselines/reference/downlevelLetConst4.js @@ -4,4 +4,5 @@ const a: number //// [downlevelLetConst4.js] +"use strict"; var a; diff --git a/tests/baselines/reference/downlevelLetConst5.js b/tests/baselines/reference/downlevelLetConst5.js index 896e4a43dc136..c3f54a9905549 100644 --- a/tests/baselines/reference/downlevelLetConst5.js +++ b/tests/baselines/reference/downlevelLetConst5.js @@ -4,4 +4,5 @@ const a: number = 1 //// [downlevelLetConst5.js] +"use strict"; var a = 1; diff --git a/tests/baselines/reference/downlevelLetConst6.errors.txt b/tests/baselines/reference/downlevelLetConst6.errors.txt index efb292ac95142..67f961f1a90d9 100644 --- a/tests/baselines/reference/downlevelLetConst6.errors.txt +++ b/tests/baselines/reference/downlevelLetConst6.errors.txt @@ -1,7 +1,10 @@ +downlevelLetConst6.ts(1,1): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. downlevelLetConst6.ts(1,1): error TS2304: Cannot find name 'let'. -==== downlevelLetConst6.ts (1 errors) ==== +==== downlevelLetConst6.ts (2 errors) ==== let ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2304: Cannot find name 'let'. \ No newline at end of file diff --git a/tests/baselines/reference/downlevelLetConst6.js b/tests/baselines/reference/downlevelLetConst6.js index b44b46ba28b8f..ee872f0ba6c95 100644 --- a/tests/baselines/reference/downlevelLetConst6.js +++ b/tests/baselines/reference/downlevelLetConst6.js @@ -4,4 +4,5 @@ let //// [downlevelLetConst6.js] +"use strict"; let; diff --git a/tests/baselines/reference/downlevelLetConst7.js b/tests/baselines/reference/downlevelLetConst7.js index 9512d944bb25f..2e3c7c540654c 100644 --- a/tests/baselines/reference/downlevelLetConst7.js +++ b/tests/baselines/reference/downlevelLetConst7.js @@ -4,4 +4,5 @@ let a //// [downlevelLetConst7.js] +"use strict"; var a; diff --git a/tests/baselines/reference/downlevelLetConst8.js b/tests/baselines/reference/downlevelLetConst8.js index f8500b8ab8d69..f495796919eee 100644 --- a/tests/baselines/reference/downlevelLetConst8.js +++ b/tests/baselines/reference/downlevelLetConst8.js @@ -4,4 +4,5 @@ let a = 1 //// [downlevelLetConst8.js] +"use strict"; var a = 1; diff --git a/tests/baselines/reference/downlevelLetConst9.js b/tests/baselines/reference/downlevelLetConst9.js index 5bc2fa95f0575..860bbf945308c 100644 --- a/tests/baselines/reference/downlevelLetConst9.js +++ b/tests/baselines/reference/downlevelLetConst9.js @@ -4,4 +4,5 @@ let a: number //// [downlevelLetConst9.js] +"use strict"; var a; diff --git a/tests/baselines/reference/duplicateAnonymousInners1.js b/tests/baselines/reference/duplicateAnonymousInners1.js index 5a77051b4a6a3..248395d9ddad5 100644 --- a/tests/baselines/reference/duplicateAnonymousInners1.js +++ b/tests/baselines/reference/duplicateAnonymousInners1.js @@ -28,6 +28,7 @@ namespace Foo { //// [duplicateAnonymousInners1.js] +"use strict"; var Foo; (function (Foo) { var Helper = /** @class */ (function () { diff --git a/tests/baselines/reference/duplicateAnonymousModuleClasses.js b/tests/baselines/reference/duplicateAnonymousModuleClasses.js index 9ac2bb0f4e091..74f03147e4bc4 100644 --- a/tests/baselines/reference/duplicateAnonymousModuleClasses.js +++ b/tests/baselines/reference/duplicateAnonymousModuleClasses.js @@ -59,6 +59,7 @@ namespace Gar { //// [duplicateAnonymousModuleClasses.js] +"use strict"; var F; (function (F) { var Helper = /** @class */ (function () { diff --git a/tests/baselines/reference/duplicateClassElements.js b/tests/baselines/reference/duplicateClassElements.js index 336dae6259b1f..28bf903e224b0 100644 --- a/tests/baselines/reference/duplicateClassElements.js +++ b/tests/baselines/reference/duplicateClassElements.js @@ -47,6 +47,7 @@ class a { } //// [duplicateClassElements.js] +"use strict"; var a = /** @class */ (function () { function a() { } diff --git a/tests/baselines/reference/duplicateConstructSignature.js b/tests/baselines/reference/duplicateConstructSignature.js index aab278b96a6fe..5f1fbb615a1d0 100644 --- a/tests/baselines/reference/duplicateConstructSignature.js +++ b/tests/baselines/reference/duplicateConstructSignature.js @@ -7,3 +7,4 @@ interface I { } //// [duplicateConstructSignature.js] +"use strict"; diff --git a/tests/baselines/reference/duplicateConstructSignature2.js b/tests/baselines/reference/duplicateConstructSignature2.js index 62750a15a5f60..eec37fee4bf7b 100644 --- a/tests/baselines/reference/duplicateConstructSignature2.js +++ b/tests/baselines/reference/duplicateConstructSignature2.js @@ -7,3 +7,4 @@ interface I { } //// [duplicateConstructSignature2.js] +"use strict"; diff --git a/tests/baselines/reference/duplicateConstructorOverloadSignature.js b/tests/baselines/reference/duplicateConstructorOverloadSignature.js index 8cdf726bb7e40..add1dd9adc2f2 100644 --- a/tests/baselines/reference/duplicateConstructorOverloadSignature.js +++ b/tests/baselines/reference/duplicateConstructorOverloadSignature.js @@ -8,6 +8,7 @@ class C { } //// [duplicateConstructorOverloadSignature.js] +"use strict"; var C = /** @class */ (function () { function C(x) { } diff --git a/tests/baselines/reference/duplicateConstructorOverloadSignature2.js b/tests/baselines/reference/duplicateConstructorOverloadSignature2.js index 4003b43a58565..5c4e2a6ee1a66 100644 --- a/tests/baselines/reference/duplicateConstructorOverloadSignature2.js +++ b/tests/baselines/reference/duplicateConstructorOverloadSignature2.js @@ -8,6 +8,7 @@ class C { } //// [duplicateConstructorOverloadSignature2.js] +"use strict"; var C = /** @class */ (function () { function C(x) { } diff --git a/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration1.js b/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration1.js index 58666f83d718e..750e9c6ca443f 100644 --- a/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration1.js +++ b/tests/baselines/reference/duplicateIdentifierBindingElementInParameterDeclaration1.js @@ -11,6 +11,7 @@ function f6([f, ...f]) { } function f7(a, func = (a) => { return 1 }) { } // not error //// [duplicateIdentifierBindingElementInParameterDeclaration1.js] +"use strict"; function f0(a, _a, _b) { var a = _a[0], b = _a[1][0]; var b = _b.b; diff --git a/tests/baselines/reference/duplicateIdentifierComputedName.js b/tests/baselines/reference/duplicateIdentifierComputedName.js index 6df33efa2b6ea..3139d74d09f0b 100644 --- a/tests/baselines/reference/duplicateIdentifierComputedName.js +++ b/tests/baselines/reference/duplicateIdentifierComputedName.js @@ -8,6 +8,7 @@ class C { //// [duplicateIdentifierComputedName.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/duplicateIdentifierDifferentModifiers.js b/tests/baselines/reference/duplicateIdentifierDifferentModifiers.js index a532c0b8464aa..156c3f41b88d6 100644 --- a/tests/baselines/reference/duplicateIdentifierDifferentModifiers.js +++ b/tests/baselines/reference/duplicateIdentifierDifferentModifiers.js @@ -25,6 +25,7 @@ interface C { //// [duplicateIdentifierDifferentModifiers.js] +"use strict"; // OK var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/duplicateIdentifierDifferentSpelling.js b/tests/baselines/reference/duplicateIdentifierDifferentSpelling.js index b46b4fef31db6..ccab5485dbf26 100644 --- a/tests/baselines/reference/duplicateIdentifierDifferentSpelling.js +++ b/tests/baselines/reference/duplicateIdentifierDifferentSpelling.js @@ -10,6 +10,7 @@ var X = { 0b11: '', 3: '' }; //// [duplicateIdentifierDifferentSpelling.js] +"use strict"; var A = /** @class */ (function () { function A() { this[3] = ''; diff --git a/tests/baselines/reference/duplicateIdentifierEnum.js b/tests/baselines/reference/duplicateIdentifierEnum.js index 523494b4addd9..1ffae5921d82d 100644 --- a/tests/baselines/reference/duplicateIdentifierEnum.js +++ b/tests/baselines/reference/duplicateIdentifierEnum.js @@ -38,6 +38,7 @@ enum E { } //// [duplicateIdentifierEnum_A.js] +"use strict"; var A; (function (A) { A[A["bar"] = 0] = "bar"; @@ -61,6 +62,7 @@ var E = /** @class */ (function () { }()); // also make sure the error appears when trying to merge an enum in a separate file. //// [duplicateIdentifierEnum_B.js] +"use strict"; function D() { return 0; } diff --git a/tests/baselines/reference/duplicateIdentifierInCatchBlock.errors.txt b/tests/baselines/reference/duplicateIdentifierInCatchBlock.errors.txt index 53aa06835010b..02aaeb8ce6e68 100644 --- a/tests/baselines/reference/duplicateIdentifierInCatchBlock.errors.txt +++ b/tests/baselines/reference/duplicateIdentifierInCatchBlock.errors.txt @@ -1,20 +1,17 @@ -duplicateIdentifierInCatchBlock.ts(1,5): error TS2300: Duplicate identifier 'v'. -duplicateIdentifierInCatchBlock.ts(3,14): error TS2300: Duplicate identifier 'v'. +duplicateIdentifierInCatchBlock.ts(3,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. duplicateIdentifierInCatchBlock.ts(6,10): error TS2300: Duplicate identifier 'w'. duplicateIdentifierInCatchBlock.ts(8,9): error TS2300: Duplicate identifier 'w'. -duplicateIdentifierInCatchBlock.ts(12,9): error TS2300: Duplicate identifier 'x'. -duplicateIdentifierInCatchBlock.ts(13,14): error TS2300: Duplicate identifier 'x'. +duplicateIdentifierInCatchBlock.ts(13,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. +duplicateIdentifierInCatchBlock.ts(14,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. duplicateIdentifierInCatchBlock.ts(16,9): error TS2403: Subsequent variable declarations must have the same type. Variable 'p' must be of type 'string', but here has type 'number'. -==== duplicateIdentifierInCatchBlock.ts (7 errors) ==== +==== duplicateIdentifierInCatchBlock.ts (6 errors) ==== var v; - ~ -!!! error TS2300: Duplicate identifier 'v'. try { } catch (e) { function v() { } ~ -!!! error TS2300: Duplicate identifier 'v'. +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. } function w() { } @@ -28,12 +25,12 @@ duplicateIdentifierInCatchBlock.ts(16,9): error TS2403: Subsequent variable decl try { } catch (e) { var x; - ~ -!!! error TS2300: Duplicate identifier 'x'. function x() { } // error ~ -!!! error TS2300: Duplicate identifier 'x'. +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. function e() { } // error + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. var p: string; var p: number; // error ~ diff --git a/tests/baselines/reference/duplicateIdentifierInCatchBlock.js b/tests/baselines/reference/duplicateIdentifierInCatchBlock.js index 79e3f85cc9b0d..9ea98e70ead74 100644 --- a/tests/baselines/reference/duplicateIdentifierInCatchBlock.js +++ b/tests/baselines/reference/duplicateIdentifierInCatchBlock.js @@ -20,6 +20,7 @@ try { } catch (e) { } //// [duplicateIdentifierInCatchBlock.js] +"use strict"; var v; try { } catch (e) { diff --git a/tests/baselines/reference/duplicateIdentifierRelatedSpans1.js b/tests/baselines/reference/duplicateIdentifierRelatedSpans1.js index 899c87fffd5bb..1046781e71004 100644 --- a/tests/baselines/reference/duplicateIdentifierRelatedSpans1.js +++ b/tests/baselines/reference/duplicateIdentifierRelatedSpans1.js @@ -12,6 +12,7 @@ let Bar = 42 //// [file1.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } @@ -19,10 +20,12 @@ var Foo = /** @class */ (function () { }()); var Bar = 3; //// [file2.js] +"use strict"; var Bar = /** @class */ (function () { function Bar() { } return Bar; }()); //// [file3.js] +"use strict"; var Bar = 42; diff --git a/tests/baselines/reference/duplicateIdentifierRelatedSpans2.js b/tests/baselines/reference/duplicateIdentifierRelatedSpans2.js index 318bd4d135e2e..aa822d6f51b4d 100644 --- a/tests/baselines/reference/duplicateIdentifierRelatedSpans2.js +++ b/tests/baselines/reference/duplicateIdentifierRelatedSpans2.js @@ -23,6 +23,7 @@ class I { } //// [file1.js] +"use strict"; var A = /** @class */ (function () { function A() { } @@ -69,6 +70,7 @@ var I = /** @class */ (function () { return I; }()); //// [file2.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/duplicateIdentifierRelatedSpans3.js b/tests/baselines/reference/duplicateIdentifierRelatedSpans3.js index 978b5013570c3..6b5c1acea91dc 100644 --- a/tests/baselines/reference/duplicateIdentifierRelatedSpans3.js +++ b/tests/baselines/reference/duplicateIdentifierRelatedSpans3.js @@ -15,4 +15,6 @@ interface TopLevel { //// [file1.js] +"use strict"; //// [file2.js] +"use strict"; diff --git a/tests/baselines/reference/duplicateIdentifierRelatedSpans4.js b/tests/baselines/reference/duplicateIdentifierRelatedSpans4.js index 113e488c7bb24..65d483f4d2a51 100644 --- a/tests/baselines/reference/duplicateIdentifierRelatedSpans4.js +++ b/tests/baselines/reference/duplicateIdentifierRelatedSpans4.js @@ -25,4 +25,6 @@ interface TopLevel { //// [file1.js] +"use strict"; //// [file2.js] +"use strict"; diff --git a/tests/baselines/reference/duplicateIdentifierRelatedSpans6.js b/tests/baselines/reference/duplicateIdentifierRelatedSpans6.js index 80ffb5f15ce90..3f2829c1c9c4f 100644 --- a/tests/baselines/reference/duplicateIdentifierRelatedSpans6.js +++ b/tests/baselines/reference/duplicateIdentifierRelatedSpans6.js @@ -22,6 +22,7 @@ export {}; //// [file1.js] +"use strict"; //// [file2.js] "use strict"; /// diff --git a/tests/baselines/reference/duplicateIdentifierRelatedSpans7.js b/tests/baselines/reference/duplicateIdentifierRelatedSpans7.js index 3c92667a5bf0d..172bdb8befaa1 100644 --- a/tests/baselines/reference/duplicateIdentifierRelatedSpans7.js +++ b/tests/baselines/reference/duplicateIdentifierRelatedSpans7.js @@ -34,6 +34,7 @@ export {}; //// [file1.js] +"use strict"; //// [file2.js] "use strict"; /// diff --git a/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.js b/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.js index 46b74dac013b8..0d0f7bb8c46ff 100644 --- a/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.js +++ b/tests/baselines/reference/duplicateIdentifierShouldNotShortCircuitBaseTypeBinding.js @@ -35,6 +35,7 @@ define(["require", "exports"], function (require, exports) { })(Shapes || (exports.Shapes = Shapes = {})); }); //// [duplicateIdentifierShouldNotShortCircuitBaseTypeBinding_1.js] +"use strict"; //var x = new Shapes.Point(); //interface IPoint {} //namespace Shapes { diff --git a/tests/baselines/reference/duplicateIdentifiersAcrossContainerBoundaries.js b/tests/baselines/reference/duplicateIdentifiersAcrossContainerBoundaries.js index 283907af8ccff..37da1a5e13e50 100644 --- a/tests/baselines/reference/duplicateIdentifiersAcrossContainerBoundaries.js +++ b/tests/baselines/reference/duplicateIdentifiersAcrossContainerBoundaries.js @@ -55,6 +55,7 @@ declare namespace N { //// [duplicateIdentifiersAcrossContainerBoundaries.js] +"use strict"; var M; (function (M) { var I = /** @class */ (function () { diff --git a/tests/baselines/reference/duplicateIdentifiersAcrossFileBoundaries.js b/tests/baselines/reference/duplicateIdentifiersAcrossFileBoundaries.js index 6a0efdc220ef0..b672df5987751 100644 --- a/tests/baselines/reference/duplicateIdentifiersAcrossFileBoundaries.js +++ b/tests/baselines/reference/duplicateIdentifiersAcrossFileBoundaries.js @@ -34,6 +34,7 @@ declare namespace N { //// [file1.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } @@ -59,6 +60,7 @@ var N; })(F = N.F || (N.F = {})); })(N || (N = {})); //// [file2.js] +"use strict"; var I = /** @class */ (function () { function I() { } diff --git a/tests/baselines/reference/duplicateInterfaceMembers1.js b/tests/baselines/reference/duplicateInterfaceMembers1.js index b45e14f9b734b..c2b0d89084842 100644 --- a/tests/baselines/reference/duplicateInterfaceMembers1.js +++ b/tests/baselines/reference/duplicateInterfaceMembers1.js @@ -8,3 +8,4 @@ interface Bar { //// [duplicateInterfaceMembers1.js] +"use strict"; diff --git a/tests/baselines/reference/duplicateLabel1.js b/tests/baselines/reference/duplicateLabel1.js index c77ffa1260603..2d5724aed7818 100644 --- a/tests/baselines/reference/duplicateLabel1.js +++ b/tests/baselines/reference/duplicateLabel1.js @@ -7,5 +7,6 @@ while (true) { } //// [duplicateLabel1.js] +"use strict"; target: target: while (true) { } diff --git a/tests/baselines/reference/duplicateLabel2.js b/tests/baselines/reference/duplicateLabel2.js index 40bb78fbd4488..16f6823ac187b 100644 --- a/tests/baselines/reference/duplicateLabel2.js +++ b/tests/baselines/reference/duplicateLabel2.js @@ -9,6 +9,7 @@ while (true) { } //// [duplicateLabel2.js] +"use strict"; target: while (true) { target: while (true) { } diff --git a/tests/baselines/reference/duplicateLabel3.errors.txt b/tests/baselines/reference/duplicateLabel3.errors.txt new file mode 100644 index 0000000000000..0f6b762ba1f18 --- /dev/null +++ b/tests/baselines/reference/duplicateLabel3.errors.txt @@ -0,0 +1,14 @@ +duplicateLabel3.ts(3,12): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + + +==== duplicateLabel3.ts (1 errors) ==== + target: + while (true) { + function f() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + target: + while (true) { + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/duplicateLabel3.js b/tests/baselines/reference/duplicateLabel3.js index 9d6220e813448..c2c103085ba4b 100644 --- a/tests/baselines/reference/duplicateLabel3.js +++ b/tests/baselines/reference/duplicateLabel3.js @@ -11,6 +11,7 @@ while (true) { } //// [duplicateLabel3.js] +"use strict"; target: while (true) { function f() { target: while (true) { diff --git a/tests/baselines/reference/duplicateLabel4.js b/tests/baselines/reference/duplicateLabel4.js index 961e4441b3904..49cb4beb09a8d 100644 --- a/tests/baselines/reference/duplicateLabel4.js +++ b/tests/baselines/reference/duplicateLabel4.js @@ -10,6 +10,7 @@ while (true) { } //// [duplicateLabel4.js] +"use strict"; target: while (true) { } target: while (true) { diff --git a/tests/baselines/reference/duplicateLocalVariable3.js b/tests/baselines/reference/duplicateLocalVariable3.js index f946c6ba8c62f..249ad6ed94349 100644 --- a/tests/baselines/reference/duplicateLocalVariable3.js +++ b/tests/baselines/reference/duplicateLocalVariable3.js @@ -15,6 +15,7 @@ function f2() { } //// [duplicateLocalVariable3.js] +"use strict"; var x = 1; var x = 2; function f() { diff --git a/tests/baselines/reference/duplicateLocalVariable4.js b/tests/baselines/reference/duplicateLocalVariable4.js index 48b866636eef6..d526c5e69e316 100644 --- a/tests/baselines/reference/duplicateLocalVariable4.js +++ b/tests/baselines/reference/duplicateLocalVariable4.js @@ -9,6 +9,7 @@ var x = E; var x = E.a; //// [duplicateLocalVariable4.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/duplicateNumericIndexers.js b/tests/baselines/reference/duplicateNumericIndexers.js index dd543b7ca9f72..41f87ab77a347 100644 --- a/tests/baselines/reference/duplicateNumericIndexers.js +++ b/tests/baselines/reference/duplicateNumericIndexers.js @@ -36,6 +36,7 @@ var a: { //// [duplicateNumericIndexers.js] +"use strict"; // it is an error to have duplicate index signatures of the same kind in a type var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/duplicateObjectLiteralProperty.js b/tests/baselines/reference/duplicateObjectLiteralProperty.js index c4b2b29293d78..36d7699fe9570 100644 --- a/tests/baselines/reference/duplicateObjectLiteralProperty.js +++ b/tests/baselines/reference/duplicateObjectLiteralProperty.js @@ -21,6 +21,7 @@ var y = { //// [duplicateObjectLiteralProperty.js] +"use strict"; var x = { a: 1, b: true, // OK diff --git a/tests/baselines/reference/duplicateObjectLiteralProperty_computedName1.js b/tests/baselines/reference/duplicateObjectLiteralProperty_computedName1.js index 54beb6e5d103a..f6fe5b95cb502 100644 --- a/tests/baselines/reference/duplicateObjectLiteralProperty_computedName1.js +++ b/tests/baselines/reference/duplicateObjectLiteralProperty_computedName1.js @@ -38,6 +38,7 @@ const t7 = { //// [duplicateObjectLiteralProperty_computedName1.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g; var t1 = (_a = { 1: 1 diff --git a/tests/baselines/reference/duplicateObjectLiteralProperty_computedName2.js b/tests/baselines/reference/duplicateObjectLiteralProperty_computedName2.js index e82b192c7507d..5216cd83c6da5 100644 --- a/tests/baselines/reference/duplicateObjectLiteralProperty_computedName2.js +++ b/tests/baselines/reference/duplicateObjectLiteralProperty_computedName2.js @@ -28,6 +28,7 @@ const t4 = { //// [duplicateObjectLiteralProperty_computedName2.js] +"use strict"; var _a, _b, _c, _d; var n = 1; var s = "s"; diff --git a/tests/baselines/reference/duplicateOverloadInTypeAugmentation1.js b/tests/baselines/reference/duplicateOverloadInTypeAugmentation1.js index 46b4b6fabc1e4..22432a0f67c42 100644 --- a/tests/baselines/reference/duplicateOverloadInTypeAugmentation1.js +++ b/tests/baselines/reference/duplicateOverloadInTypeAugmentation1.js @@ -11,5 +11,6 @@ var a: Array; var r5 = a.reduce((x, y) => x + y); //// [duplicateOverloadInTypeAugmentation1.js] +"use strict"; var a; var r5 = a.reduce(function (x, y) { return x + y; }); diff --git a/tests/baselines/reference/duplicatePropertiesInTypeAssertions01.js b/tests/baselines/reference/duplicatePropertiesInTypeAssertions01.js index d30c21323c469..da8526616bfe3 100644 --- a/tests/baselines/reference/duplicatePropertiesInTypeAssertions01.js +++ b/tests/baselines/reference/duplicatePropertiesInTypeAssertions01.js @@ -4,6 +4,7 @@ let x = <{a: number; a: number}>{}; //// [duplicatePropertiesInTypeAssertions01.js] +"use strict"; var x = {}; diff --git a/tests/baselines/reference/duplicatePropertiesInTypeAssertions02.js b/tests/baselines/reference/duplicatePropertiesInTypeAssertions02.js index b0c622dd240e0..2101c29835120 100644 --- a/tests/baselines/reference/duplicatePropertiesInTypeAssertions02.js +++ b/tests/baselines/reference/duplicatePropertiesInTypeAssertions02.js @@ -4,6 +4,7 @@ let x = {} as {a: number; a: number}; //// [duplicatePropertiesInTypeAssertions02.js] +"use strict"; var x = {}; diff --git a/tests/baselines/reference/duplicatePropertyNames.js b/tests/baselines/reference/duplicatePropertyNames.js index f4f1e2d010cdf..7ec4e70d3180d 100644 --- a/tests/baselines/reference/duplicatePropertyNames.js +++ b/tests/baselines/reference/duplicatePropertyNames.js @@ -51,6 +51,7 @@ var b = { //// [duplicatePropertyNames.js] +"use strict"; // duplicate property names are an error in all types var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/duplicateStringIndexers.js b/tests/baselines/reference/duplicateStringIndexers.js index a36899e2b87b7..fa267e32eb8f2 100644 --- a/tests/baselines/reference/duplicateStringIndexers.js +++ b/tests/baselines/reference/duplicateStringIndexers.js @@ -37,6 +37,7 @@ namespace test { //// [duplicateStringIndexers.js] +"use strict"; // it is an error to have duplicate index signatures of the same kind in a type var test; (function (test) { diff --git a/tests/baselines/reference/duplicateTypeParameters1.js b/tests/baselines/reference/duplicateTypeParameters1.js index 3b74550171ce3..c1cddd1fbef2c 100644 --- a/tests/baselines/reference/duplicateTypeParameters1.js +++ b/tests/baselines/reference/duplicateTypeParameters1.js @@ -5,4 +5,5 @@ function A() { } //// [duplicateTypeParameters1.js] +"use strict"; function A() { } diff --git a/tests/baselines/reference/duplicateTypeParameters2.js b/tests/baselines/reference/duplicateTypeParameters2.js index 29fa3b505fd99..740409c25ce7d 100644 --- a/tests/baselines/reference/duplicateTypeParameters2.js +++ b/tests/baselines/reference/duplicateTypeParameters2.js @@ -7,6 +7,7 @@ class B { public bar() { } } interface I {} //// [duplicateTypeParameters2.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/duplicateTypeParameters3.js b/tests/baselines/reference/duplicateTypeParameters3.js index 7e06d91e1f2f0..6c244adf2e2ab 100644 --- a/tests/baselines/reference/duplicateTypeParameters3.js +++ b/tests/baselines/reference/duplicateTypeParameters3.js @@ -8,3 +8,4 @@ x: () => () => void; //// [duplicateTypeParameters3.js] +"use strict"; diff --git a/tests/baselines/reference/duplicateVarAndImport.js b/tests/baselines/reference/duplicateVarAndImport.js index d387c69916616..30e8c7763c381 100644 --- a/tests/baselines/reference/duplicateVarAndImport.js +++ b/tests/baselines/reference/duplicateVarAndImport.js @@ -8,5 +8,6 @@ namespace M { } import a = M; //// [duplicateVarAndImport.js] +"use strict"; // no error since module is not instantiated var a; diff --git a/tests/baselines/reference/duplicateVarAndImport2.js b/tests/baselines/reference/duplicateVarAndImport2.js index 2280b95c5f1a0..a0f1551b0a4a6 100644 --- a/tests/baselines/reference/duplicateVarAndImport2.js +++ b/tests/baselines/reference/duplicateVarAndImport2.js @@ -7,6 +7,7 @@ namespace M { export var x = 1; } import a = M; //// [duplicateVarAndImport2.js] +"use strict"; // error since module is instantiated var a; var M; diff --git a/tests/baselines/reference/duplicateVariableDeclaration1.js b/tests/baselines/reference/duplicateVariableDeclaration1.js index 52f524c1f4bbe..23405cd0b7bd5 100644 --- a/tests/baselines/reference/duplicateVariableDeclaration1.js +++ b/tests/baselines/reference/duplicateVariableDeclaration1.js @@ -5,5 +5,6 @@ var v var v //// [duplicateVariableDeclaration1.js] +"use strict"; var v; var v; diff --git a/tests/baselines/reference/duplicateVariablesByScope.js b/tests/baselines/reference/duplicateVariablesByScope.js index bd7f658ae6cd1..66094e00cde5d 100644 --- a/tests/baselines/reference/duplicateVariablesByScope.js +++ b/tests/baselines/reference/duplicateVariablesByScope.js @@ -34,6 +34,7 @@ class C { } //// [duplicateVariablesByScope.js] +"use strict"; // duplicate local variables are only reported at global scope var M; (function (M) { diff --git a/tests/baselines/reference/duplicateVariablesWithAny.js b/tests/baselines/reference/duplicateVariablesWithAny.js index a343053bee58b..b9af2225f7649 100644 --- a/tests/baselines/reference/duplicateVariablesWithAny.js +++ b/tests/baselines/reference/duplicateVariablesWithAny.js @@ -20,6 +20,7 @@ var z: any; var z; // ok //// [duplicateVariablesWithAny.js] +"use strict"; // They should have to be the same even when one of the types is 'any' var x; var x = 2; //error diff --git a/tests/baselines/reference/duplicateVarsAcrossFileBoundaries.js b/tests/baselines/reference/duplicateVarsAcrossFileBoundaries.js index c70ebcab20a46..bfcd4050cb7a2 100644 --- a/tests/baselines/reference/duplicateVarsAcrossFileBoundaries.js +++ b/tests/baselines/reference/duplicateVarsAcrossFileBoundaries.js @@ -29,21 +29,27 @@ import q = Q; var p; //// [duplicateVarsAcrossFileBoundaries_0.js] +"use strict"; var x = 3; var y = ""; //// [duplicateVarsAcrossFileBoundaries_1.js] +"use strict"; var x = true; var z = 3; //// [duplicateVarsAcrossFileBoundaries_2.js] +"use strict"; var x = ""; var y = 3; var z = false; //// [duplicateVarsAcrossFileBoundaries_3.js] +"use strict"; var x = 0; var y = ""; var z = 0; //// [duplicateVarsAcrossFileBoundaries_4.js] +"use strict"; var p = P; var q; //// [duplicateVarsAcrossFileBoundaries_5.js] +"use strict"; var p; diff --git a/tests/baselines/reference/dynamicImportDefer(module=commonjs).js b/tests/baselines/reference/dynamicImportDefer(module=commonjs).js index 2388439dfc228..337fff8b5a02b 100644 --- a/tests/baselines/reference/dynamicImportDefer(module=commonjs).js +++ b/tests/baselines/reference/dynamicImportDefer(module=commonjs).js @@ -19,6 +19,7 @@ function foo() { console.log("foo from a"); } //// [b.js] +"use strict"; import.defer("./a.js").then(ns => { ns.foo(); }); diff --git a/tests/baselines/reference/dynamicImportDefer(module=es2015).js b/tests/baselines/reference/dynamicImportDefer(module=es2015).js index 476b046b47223..43c4eb6c1b4ff 100644 --- a/tests/baselines/reference/dynamicImportDefer(module=es2015).js +++ b/tests/baselines/reference/dynamicImportDefer(module=es2015).js @@ -16,6 +16,7 @@ export function foo() { console.log("foo from a"); } //// [b.js] +"use strict"; import.defer("./a.js").then(ns => { ns.foo(); }); diff --git a/tests/baselines/reference/dynamicImportDefer(module=es2020).js b/tests/baselines/reference/dynamicImportDefer(module=es2020).js index 476b046b47223..43c4eb6c1b4ff 100644 --- a/tests/baselines/reference/dynamicImportDefer(module=es2020).js +++ b/tests/baselines/reference/dynamicImportDefer(module=es2020).js @@ -16,6 +16,7 @@ export function foo() { console.log("foo from a"); } //// [b.js] +"use strict"; import.defer("./a.js").then(ns => { ns.foo(); }); diff --git a/tests/baselines/reference/dynamicImportDefer(module=esnext).js b/tests/baselines/reference/dynamicImportDefer(module=esnext).js index 476b046b47223..43c4eb6c1b4ff 100644 --- a/tests/baselines/reference/dynamicImportDefer(module=esnext).js +++ b/tests/baselines/reference/dynamicImportDefer(module=esnext).js @@ -16,6 +16,7 @@ export function foo() { console.log("foo from a"); } //// [b.js] +"use strict"; import.defer("./a.js").then(ns => { ns.foo(); }); diff --git a/tests/baselines/reference/dynamicImportDefer(module=preserve).js b/tests/baselines/reference/dynamicImportDefer(module=preserve).js index 476b046b47223..43c4eb6c1b4ff 100644 --- a/tests/baselines/reference/dynamicImportDefer(module=preserve).js +++ b/tests/baselines/reference/dynamicImportDefer(module=preserve).js @@ -16,6 +16,7 @@ export function foo() { console.log("foo from a"); } //// [b.js] +"use strict"; import.defer("./a.js").then(ns => { ns.foo(); }); diff --git a/tests/baselines/reference/dynamicImportDeferInvalidStandalone.js b/tests/baselines/reference/dynamicImportDeferInvalidStandalone.js index 79dba2b213290..7db07e1c6334b 100644 --- a/tests/baselines/reference/dynamicImportDeferInvalidStandalone.js +++ b/tests/baselines/reference/dynamicImportDeferInvalidStandalone.js @@ -10,6 +10,7 @@ Function(import.defer); import.defer //// [b.js] +"use strict"; import.defer; (import.defer)("a"); Function(import.defer); diff --git a/tests/baselines/reference/dynamicImportEvaluateSpecifier.js b/tests/baselines/reference/dynamicImportEvaluateSpecifier.js index d69f1eee00c48..21bb38fd6b110 100644 --- a/tests/baselines/reference/dynamicImportEvaluateSpecifier.js +++ b/tests/baselines/reference/dynamicImportEvaluateSpecifier.js @@ -18,6 +18,7 @@ const someFunction = async () => { //// [dynamicImportEvaluateSpecifier.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/dynamicImportTrailingComma.js b/tests/baselines/reference/dynamicImportTrailingComma.js index bec6abe6df0e3..b28a0cad0fbc8 100644 --- a/tests/baselines/reference/dynamicImportTrailingComma.js +++ b/tests/baselines/reference/dynamicImportTrailingComma.js @@ -5,6 +5,7 @@ const path = './foo'; import(path,); //// [dynamicImportTrailingComma.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/dynamicRequire.js b/tests/baselines/reference/dynamicRequire.js index d0c82e4abcd41..af7ddf34499f0 100644 --- a/tests/baselines/reference/dynamicRequire.js +++ b/tests/baselines/reference/dynamicRequire.js @@ -7,6 +7,7 @@ function foo(name) { //// [a_out.js] +"use strict"; function foo(name) { var s = require("t/" + name); } diff --git a/tests/baselines/reference/elaboratedErrors.js b/tests/baselines/reference/elaboratedErrors.js index 24d4ea2b743d5..c7e9a33c7ea43 100644 --- a/tests/baselines/reference/elaboratedErrors.js +++ b/tests/baselines/reference/elaboratedErrors.js @@ -29,6 +29,7 @@ y = x; //// [elaboratedErrors.js] +"use strict"; function fn(s) { } // This should issue a large error, not a small one var WorkerFS = /** @class */ (function () { diff --git a/tests/baselines/reference/elaborationForPossiblyCallableTypeStillReferencesArgumentAtTopLevel.js b/tests/baselines/reference/elaborationForPossiblyCallableTypeStillReferencesArgumentAtTopLevel.js index a9022d2169667..1a257f8332ff2 100644 --- a/tests/baselines/reference/elaborationForPossiblyCallableTypeStillReferencesArgumentAtTopLevel.js +++ b/tests/baselines/reference/elaborationForPossiblyCallableTypeStillReferencesArgumentAtTopLevel.js @@ -6,4 +6,5 @@ declare function ff(t: number): void; ff(ohno) //// [elaborationForPossiblyCallableTypeStillReferencesArgumentAtTopLevel.js] +"use strict"; ff(ohno); diff --git a/tests/baselines/reference/elementAccessChain.2.js b/tests/baselines/reference/elementAccessChain.2.js index f2a5c526e8d4c..e09cb1e90a510 100644 --- a/tests/baselines/reference/elementAccessChain.2.js +++ b/tests/baselines/reference/elementAccessChain.2.js @@ -14,6 +14,7 @@ o3.b?.["c"]; //// [elementAccessChain.2.js] +"use strict"; var _a, _b; o1 === null || o1 === void 0 ? void 0 : o1["b"]; o2 === null || o2 === void 0 ? void 0 : o2["b"].c; diff --git a/tests/baselines/reference/elementAccessExpressionInternalComments.js b/tests/baselines/reference/elementAccessExpressionInternalComments.js index 3d758a4b9799b..3e4ef08751608 100644 --- a/tests/baselines/reference/elementAccessExpressionInternalComments.js +++ b/tests/baselines/reference/elementAccessExpressionInternalComments.js @@ -11,6 +11,7 @@ //// [elementAccessExpressionInternalComments.js] +"use strict"; /*0*/ Array /*1*/[ /*2*/"toString" /*3*/] /*4*/; /*5*/ /*0*/ Array // single line diff --git a/tests/baselines/reference/elidedEmbeddedStatementsReplacedWithSemicolon.js b/tests/baselines/reference/elidedEmbeddedStatementsReplacedWithSemicolon.js index 13668848cb86e..3cde72c365b01 100644 --- a/tests/baselines/reference/elidedEmbeddedStatementsReplacedWithSemicolon.js +++ b/tests/baselines/reference/elidedEmbeddedStatementsReplacedWithSemicolon.js @@ -27,6 +27,7 @@ with (window) const enum H {} //// [elidedEmbeddedStatementsReplacedWithSemicolon.js] +"use strict"; if (1) ; else diff --git a/tests/baselines/reference/emit(jsx=preserve).js b/tests/baselines/reference/emit(jsx=preserve).js index 46da467f6ac0b..7832fc09e20c0 100644 --- a/tests/baselines/reference/emit(jsx=preserve).js +++ b/tests/baselines/reference/emit(jsx=preserve).js @@ -118,4 +118,5 @@ import {} from "node:foo.ts"; import("node:path"); require("node:path"); //// [lol.js] +"use strict"; // Sad face https://github.com/microsoft/TypeScript/blob/6b04f5039429b9d412696fe2febe39ecc69ad365/src/testRunner/compilerRunner.ts#L207 diff --git a/tests/baselines/reference/emit(jsx=react).js b/tests/baselines/reference/emit(jsx=react).js index a3074c3e2fb8e..4089a1744fa36 100644 --- a/tests/baselines/reference/emit(jsx=react).js +++ b/tests/baselines/reference/emit(jsx=react).js @@ -118,4 +118,5 @@ import {} from "node:foo.ts"; import("node:path"); require("node:path"); //// [lol.js] +"use strict"; // Sad face https://github.com/microsoft/TypeScript/blob/6b04f5039429b9d412696fe2febe39ecc69ad365/src/testRunner/compilerRunner.ts#L207 diff --git a/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.js b/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.js index 74e4d8c3c36ba..f683a70663ca7 100644 --- a/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.js +++ b/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.js @@ -5,5 +5,6 @@ (x) => ({ "1": "one", "2": "two" } as { [key: string]: string }).x; //// [emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES5.js] +"use strict"; (function (x) { return ({ "1": "one", "2": "two" }[x]); }); (function (x) { return ({ "1": "one", "2": "two" }.x); }); diff --git a/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES6.js b/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES6.js index 185e21e87b2d7..9dd8f60cf1bfa 100644 --- a/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES6.js +++ b/tests/baselines/reference/emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES6.js @@ -5,5 +5,6 @@ (x) => ({ "1": "one", "2": "two" } as { [key: string]: string }).x; //// [emitAccessExpressionOfCastedObjectLiteralExpressionInArrowFunctionES6.js] +"use strict"; (x) => ({ "1": "one", "2": "two" }[x]); (x) => ({ "1": "one", "2": "two" }.x); diff --git a/tests/baselines/reference/emitArrowFunction.js b/tests/baselines/reference/emitArrowFunction.js index c069222e03ff7..2b2024ed6bfdc 100644 --- a/tests/baselines/reference/emitArrowFunction.js +++ b/tests/baselines/reference/emitArrowFunction.js @@ -10,6 +10,7 @@ foo(() => true); foo(() => { return false; }); //// [emitArrowFunction.js] +"use strict"; var f1 = function () { }; var f2 = function (x, y) { }; var f3 = function (x, y) { diff --git a/tests/baselines/reference/emitArrowFunctionAsIs.js b/tests/baselines/reference/emitArrowFunctionAsIs.js index f974e6e6a78e5..55e68d85000e5 100644 --- a/tests/baselines/reference/emitArrowFunctionAsIs.js +++ b/tests/baselines/reference/emitArrowFunctionAsIs.js @@ -7,6 +7,7 @@ var arrow2 = (a) => { }; var arrow3 = (a, b) => { }; //// [emitArrowFunctionAsIs.js] +"use strict"; var arrow1 = function (a) { }; var arrow2 = function (a) { }; var arrow3 = function (a, b) { }; diff --git a/tests/baselines/reference/emitArrowFunctionAsIsES6.js b/tests/baselines/reference/emitArrowFunctionAsIsES6.js index 2c43d82906e2b..6c7b924920a19 100644 --- a/tests/baselines/reference/emitArrowFunctionAsIsES6.js +++ b/tests/baselines/reference/emitArrowFunctionAsIsES6.js @@ -7,6 +7,7 @@ var arrow2 = (a) => { }; var arrow3 = (a, b) => { }; //// [emitArrowFunctionAsIsES6.js] +"use strict"; var arrow1 = a => { }; var arrow2 = (a) => { }; var arrow3 = (a, b) => { }; diff --git a/tests/baselines/reference/emitArrowFunctionES6.js b/tests/baselines/reference/emitArrowFunctionES6.js index cda6fdf374427..0fe57438f036b 100644 --- a/tests/baselines/reference/emitArrowFunctionES6.js +++ b/tests/baselines/reference/emitArrowFunctionES6.js @@ -23,6 +23,7 @@ var p10 = ([{ value, done }]) => { }; //// [emitArrowFunctionES6.js] +"use strict"; var f1 = () => { }; var f2 = (x, y) => { }; var f3 = (x, y, ...rest) => { }; diff --git a/tests/baselines/reference/emitArrowFunctionThisCapturing.js b/tests/baselines/reference/emitArrowFunctionThisCapturing.js index f103641b9ab86..23ab81aaa5d6c 100644 --- a/tests/baselines/reference/emitArrowFunctionThisCapturing.js +++ b/tests/baselines/reference/emitArrowFunctionThisCapturing.js @@ -17,6 +17,7 @@ foo(() => { //// [emitArrowFunctionThisCapturing.js] +"use strict"; var _this = this; var f1 = function () { _this.age = 10; diff --git a/tests/baselines/reference/emitArrowFunctionThisCapturingES6.js b/tests/baselines/reference/emitArrowFunctionThisCapturingES6.js index 06e5a98a65265..5a36dcc7b824e 100644 --- a/tests/baselines/reference/emitArrowFunctionThisCapturingES6.js +++ b/tests/baselines/reference/emitArrowFunctionThisCapturingES6.js @@ -17,6 +17,7 @@ foo(() => { //// [emitArrowFunctionThisCapturingES6.js] +"use strict"; var f1 = () => { this.age = 10; }; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01.js index d86abb682e33c..e4f5762a02c20 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01.js @@ -34,6 +34,7 @@ function bar() { } //// [emitArrowFunctionWhenUsingArguments01.js] +"use strict"; var a = function () { var arg = arguments[0]; // error }; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01_ES6.js index af775ae5a35d2..a6a688d957abb 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments01_ES6.js @@ -34,6 +34,7 @@ function bar() { } //// [emitArrowFunctionWhenUsingArguments01_ES6.js] +"use strict"; var a = () => { var arg = arguments[0]; // error }; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02.js index d430a2a170f54..660dfafe0e509 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02.js @@ -4,4 +4,5 @@ var a = () => arguments; //// [emitArrowFunctionWhenUsingArguments02.js] +"use strict"; var a = function () { return arguments; }; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02_ES6.js index 88b19b2bd41b7..7accc4874594f 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments02_ES6.js @@ -4,4 +4,5 @@ var a = () => arguments; //// [emitArrowFunctionWhenUsingArguments02_ES6.js] +"use strict"; var a = () => arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.errors.txt index c9f5526b14ebe..4b3bd937f9fec 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.errors.txt @@ -1,8 +1,11 @@ +emitArrowFunctionWhenUsingArguments03.ts(1,5): error TS1100: Invalid use of 'arguments' in strict mode. emitArrowFunctionWhenUsingArguments03.ts(2,15): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. -==== emitArrowFunctionWhenUsingArguments03.ts (1 errors) ==== +==== emitArrowFunctionWhenUsingArguments03.ts (2 errors) ==== var arguments; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var a = () => arguments; ~~~~~~~~~ !!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.js index 4db9f4458466b..2d7fcdd50b577 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03.js @@ -5,5 +5,6 @@ var arguments; var a = () => arguments; //// [emitArrowFunctionWhenUsingArguments03.js] +"use strict"; var arguments; var a = function () { return arguments; }; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03_ES6.errors.txt new file mode 100644 index 0000000000000..d5496138bb520 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03_ES6.errors.txt @@ -0,0 +1,8 @@ +emitArrowFunctionWhenUsingArguments03_ES6.ts(1,5): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments03_ES6.ts (1 errors) ==== + var arguments; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + var a = () => arguments; \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03_ES6.js index 35b1f55d59aff..c2ffd90be1159 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03_ES6.js @@ -5,5 +5,6 @@ var arguments; var a = () => arguments; //// [emitArrowFunctionWhenUsingArguments03_ES6.js] +"use strict"; var arguments; var a = () => arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03_ES6.types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03_ES6.types index f255903903057..2779840ecb7b9 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03_ES6.types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments03_ES6.types @@ -3,6 +3,7 @@ === emitArrowFunctionWhenUsingArguments03_ES6.ts === var arguments; >arguments : any +> : ^^^ var a = () => arguments; >a : () => any @@ -10,4 +11,5 @@ var a = () => arguments; >() => arguments : () => any > : ^^^^^^^^^ >arguments : any +> : ^^^ diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.errors.txt index b962c5453e1bf..93e9809dde71f 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.errors.txt @@ -1,9 +1,12 @@ +emitArrowFunctionWhenUsingArguments04.ts(2,9): error TS1100: Invalid use of 'arguments' in strict mode. emitArrowFunctionWhenUsingArguments04.ts(3,19): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. -==== emitArrowFunctionWhenUsingArguments04.ts (1 errors) ==== +==== emitArrowFunctionWhenUsingArguments04.ts (2 errors) ==== function f() { var arguments; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var a = () => arguments; ~~~~~~~~~ !!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.js index bd1afafa0ce85..203c90ae32b6d 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04.js @@ -7,6 +7,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments04.js] +"use strict"; function f() { var arguments; var a = function () { return arguments; }; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04_ES6.errors.txt new file mode 100644 index 0000000000000..7f18575e8b6c1 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04_ES6.errors.txt @@ -0,0 +1,10 @@ +emitArrowFunctionWhenUsingArguments04_ES6.ts(2,9): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments04_ES6.ts (1 errors) ==== + function f() { + var arguments; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + var a = () => arguments; + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04_ES6.js index 47904c4522437..fcd2776bb88bd 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04_ES6.js @@ -7,6 +7,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments04_ES6.js] +"use strict"; function f() { var arguments; var a = () => arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04_ES6.types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04_ES6.types index b6b6a39254d6e..f165f38180df0 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04_ES6.types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments04_ES6.types @@ -7,6 +7,7 @@ function f() { var arguments; >arguments : any +> : ^^^ var a = () => arguments; >a : () => any @@ -14,4 +15,5 @@ function f() { >() => arguments : () => any > : ^^^^^^^^^ >arguments : any +> : ^^^ } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.errors.txt index 802e88b146761..163eb3852b309 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.errors.txt @@ -1,8 +1,11 @@ +emitArrowFunctionWhenUsingArguments05.ts(1,12): error TS1100: Invalid use of 'arguments' in strict mode. emitArrowFunctionWhenUsingArguments05.ts(2,19): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. -==== emitArrowFunctionWhenUsingArguments05.ts (1 errors) ==== +==== emitArrowFunctionWhenUsingArguments05.ts (2 errors) ==== function f(arguments) { + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var a = () => arguments; ~~~~~~~~~ !!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.js index 79c891f4409e9..ef6e08a80410f 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05.js @@ -6,6 +6,7 @@ function f(arguments) { } //// [emitArrowFunctionWhenUsingArguments05.js] +"use strict"; function f(arguments) { var a = function () { return arguments; }; } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05_ES6.errors.txt new file mode 100644 index 0000000000000..965c8bc8a84f9 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05_ES6.errors.txt @@ -0,0 +1,9 @@ +emitArrowFunctionWhenUsingArguments05_ES6.ts(1,12): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments05_ES6.ts (1 errors) ==== + function f(arguments) { + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + var a = () => arguments; + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05_ES6.js index 8ba62e67f2e6a..8357771c23ea6 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05_ES6.js @@ -6,6 +6,7 @@ function f(arguments) { } //// [emitArrowFunctionWhenUsingArguments05_ES6.js] +"use strict"; function f(arguments) { var a = () => arguments; } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05_ES6.types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05_ES6.types index db3a8162f8ca4..121ea6447a88a 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05_ES6.types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments05_ES6.types @@ -5,6 +5,7 @@ function f(arguments) { >f : (arguments: any) => void > : ^ ^^^^^^^^^^^^^^ >arguments : any +> : ^^^ var a = () => arguments; >a : () => any @@ -12,4 +13,5 @@ function f(arguments) { >() => arguments : () => any > : ^^^^^^^^^ >arguments : any +> : ^^^ } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.errors.txt index 1d17c2669a321..b0ae5ecf1f887 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.errors.txt @@ -1,8 +1,11 @@ +emitArrowFunctionWhenUsingArguments06.ts(1,12): error TS1100: Invalid use of 'arguments' in strict mode. emitArrowFunctionWhenUsingArguments06.ts(2,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. -==== emitArrowFunctionWhenUsingArguments06.ts (1 errors) ==== +==== emitArrowFunctionWhenUsingArguments06.ts (2 errors) ==== function f(arguments) { + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var a = () => () => arguments; ~~~~~~~~~ !!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.js index 5492bb1d00e34..e41ba32657a2b 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06.js @@ -6,6 +6,7 @@ function f(arguments) { } //// [emitArrowFunctionWhenUsingArguments06.js] +"use strict"; function f(arguments) { var a = function () { return function () { return arguments; }; }; } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06_ES6.errors.txt new file mode 100644 index 0000000000000..7d719319caf3a --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06_ES6.errors.txt @@ -0,0 +1,9 @@ +emitArrowFunctionWhenUsingArguments06_ES6.ts(1,12): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments06_ES6.ts (1 errors) ==== + function f(arguments) { + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + var a = () => () => arguments; + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06_ES6.js index 4e9e45b715a5e..021c69f13be19 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06_ES6.js @@ -6,6 +6,7 @@ function f(arguments) { } //// [emitArrowFunctionWhenUsingArguments06_ES6.js] +"use strict"; function f(arguments) { var a = () => () => arguments; } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06_ES6.types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06_ES6.types index fd66dc71493a3..18aed6b01e027 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06_ES6.types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments06_ES6.types @@ -5,6 +5,7 @@ function f(arguments) { >f : (arguments: any) => void > : ^ ^^^^^^^^^^^^^^ >arguments : any +> : ^^^ var a = () => () => arguments; >a : () => () => any @@ -14,4 +15,5 @@ function f(arguments) { >() => arguments : () => any > : ^^^^^^^^^ >arguments : any +> : ^^^ } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.errors.txt index c3037a6e2b559..eda078533f6c2 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.errors.txt @@ -1,9 +1,15 @@ +emitArrowFunctionWhenUsingArguments07.ts(1,12): error TS1100: Invalid use of 'arguments' in strict mode. +emitArrowFunctionWhenUsingArguments07.ts(2,14): error TS1100: Invalid use of 'arguments' in strict mode. emitArrowFunctionWhenUsingArguments07.ts(2,34): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. -==== emitArrowFunctionWhenUsingArguments07.ts (1 errors) ==== +==== emitArrowFunctionWhenUsingArguments07.ts (3 errors) ==== function f(arguments) { + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var a = (arguments) => () => arguments; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. ~~~~~~~~~ !!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.js index 75ca5939bccd2..659821b4f9f65 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07.js @@ -6,6 +6,7 @@ function f(arguments) { } //// [emitArrowFunctionWhenUsingArguments07.js] +"use strict"; function f(arguments) { var a = function (arguments) { return function () { return arguments; }; }; } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07_ES6.errors.txt new file mode 100644 index 0000000000000..81f21de0e6fb2 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07_ES6.errors.txt @@ -0,0 +1,12 @@ +emitArrowFunctionWhenUsingArguments07_ES6.ts(1,12): error TS1100: Invalid use of 'arguments' in strict mode. +emitArrowFunctionWhenUsingArguments07_ES6.ts(2,14): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments07_ES6.ts (2 errors) ==== + function f(arguments) { + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + var a = (arguments) => () => arguments; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07_ES6.js index e9ffad32a6d6a..0b952c6b19f5a 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07_ES6.js @@ -6,6 +6,7 @@ function f(arguments) { } //// [emitArrowFunctionWhenUsingArguments07_ES6.js] +"use strict"; function f(arguments) { var a = (arguments) => () => arguments; } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07_ES6.types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07_ES6.types index 2db42c24a88ec..fcd4f4569c791 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07_ES6.types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments07_ES6.types @@ -5,6 +5,7 @@ function f(arguments) { >f : (arguments: any) => void > : ^ ^^^^^^^^^^^^^^ >arguments : any +> : ^^^ var a = (arguments) => () => arguments; >a : (arguments: any) => () => any @@ -12,7 +13,9 @@ function f(arguments) { >(arguments) => () => arguments : (arguments: any) => () => any > : ^ ^^^^^^^^^^^^^^^^^^^ >arguments : any +> : ^^^ >() => arguments : () => any > : ^^^^^^^^^ >arguments : any +> : ^^^ } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08.errors.txt new file mode 100644 index 0000000000000..1764f2f84bef6 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08.errors.txt @@ -0,0 +1,12 @@ +emitArrowFunctionWhenUsingArguments08.ts(1,12): error TS1100: Invalid use of 'arguments' in strict mode. +emitArrowFunctionWhenUsingArguments08.ts(2,20): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments08.ts (2 errors) ==== + function f(arguments) { + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + var a = () => (arguments) => arguments; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08.js index 51f14ad3f5ab1..4ff696bd8c1e9 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08.js @@ -6,6 +6,7 @@ function f(arguments) { } //// [emitArrowFunctionWhenUsingArguments08.js] +"use strict"; function f(arguments) { var a = function () { return function (arguments) { return arguments; }; }; } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08.types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08.types index b47b22daec481..90a6b46b58d41 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08.types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08.types @@ -5,6 +5,7 @@ function f(arguments) { >f : (arguments: any) => void > : ^ ^^^^^^^^^^^^^^ >arguments : any +> : ^^^ var a = () => (arguments) => arguments; >a : () => (arguments: any) => any @@ -14,5 +15,7 @@ function f(arguments) { >(arguments) => arguments : (arguments: any) => any > : ^ ^^^^^^^^^^^^^ >arguments : any +> : ^^^ >arguments : any +> : ^^^ } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08_ES6.errors.txt new file mode 100644 index 0000000000000..f55b018eff4a1 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08_ES6.errors.txt @@ -0,0 +1,12 @@ +emitArrowFunctionWhenUsingArguments08_ES6.ts(1,12): error TS1100: Invalid use of 'arguments' in strict mode. +emitArrowFunctionWhenUsingArguments08_ES6.ts(2,20): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments08_ES6.ts (2 errors) ==== + function f(arguments) { + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + var a = () => (arguments) => arguments; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08_ES6.js index 63b6b875386c4..7e5f8d3d2bece 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08_ES6.js @@ -6,6 +6,7 @@ function f(arguments) { } //// [emitArrowFunctionWhenUsingArguments08_ES6.js] +"use strict"; function f(arguments) { var a = () => (arguments) => arguments; } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08_ES6.types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08_ES6.types index 0f6f1c03d6407..aeea922a665ba 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08_ES6.types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments08_ES6.types @@ -5,6 +5,7 @@ function f(arguments) { >f : (arguments: any) => void > : ^ ^^^^^^^^^^^^^^ >arguments : any +> : ^^^ var a = () => (arguments) => arguments; >a : () => (arguments: any) => any @@ -14,5 +15,7 @@ function f(arguments) { >(arguments) => arguments : (arguments: any) => any > : ^ ^^^^^^^^^^^^^ >arguments : any +> : ^^^ >arguments : any +> : ^^^ } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09.js index 2615031b664aa..5de38e757c78e 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09.js @@ -6,6 +6,7 @@ function f(_arguments) { } //// [emitArrowFunctionWhenUsingArguments09.js] +"use strict"; function f(_arguments) { var a = function () { return function () { return arguments; }; }; } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09_ES6.js index 06571f42c5292..8da3756a4e67e 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments09_ES6.js @@ -6,6 +6,7 @@ function f(_arguments) { } //// [emitArrowFunctionWhenUsingArguments09_ES6.js] +"use strict"; function f(_arguments) { var a = () => () => arguments; } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10.js index 6175674a658c2..8dcc7215d5d2e 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10.js @@ -7,6 +7,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments10.js] +"use strict"; function f() { var _arguments = 10; var a = function () { return function () { return arguments; }; }; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10_ES6.js index e426e0e3e5214..b917f4e163bff 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments10_ES6.js @@ -7,6 +7,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments10_ES6.js] +"use strict"; function f() { var _arguments = 10; var a = () => () => arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.errors.txt index dcce324a922d3..9bacfc14b76eb 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.errors.txt @@ -1,8 +1,11 @@ +emitArrowFunctionWhenUsingArguments11.ts(1,12): error TS1100: Invalid use of 'arguments' in strict mode. emitArrowFunctionWhenUsingArguments11.ts(3,25): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. -==== emitArrowFunctionWhenUsingArguments11.ts (1 errors) ==== +==== emitArrowFunctionWhenUsingArguments11.ts (2 errors) ==== function f(arguments) { + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. var _arguments = 10; var a = () => () => arguments; ~~~~~~~~~ diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.js index 85de56283837c..d8bbafb7a7c7f 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11.js @@ -7,6 +7,7 @@ function f(arguments) { } //// [emitArrowFunctionWhenUsingArguments11.js] +"use strict"; function f(arguments) { var _arguments = 10; var a = function () { return function () { return arguments; }; }; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11_ES6.errors.txt new file mode 100644 index 0000000000000..0bc335d9e0200 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11_ES6.errors.txt @@ -0,0 +1,10 @@ +emitArrowFunctionWhenUsingArguments11_ES6.ts(1,12): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments11_ES6.ts (1 errors) ==== + function f(arguments) { + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + var _arguments = 10; + var a = () => () => arguments; + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11_ES6.js index 2d8a1f65a34e7..4fc5e40566e2b 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11_ES6.js @@ -7,6 +7,7 @@ function f(arguments) { } //// [emitArrowFunctionWhenUsingArguments11_ES6.js] +"use strict"; function f(arguments) { var _arguments = 10; var a = () => () => arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11_ES6.types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11_ES6.types index 1d6162b54968c..2ec0fa53e0742 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11_ES6.types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments11_ES6.types @@ -5,6 +5,7 @@ function f(arguments) { >f : (arguments: any) => void > : ^ ^^^^^^^^^^^^^^ >arguments : any +> : ^^^ var _arguments = 10; >_arguments : number @@ -20,4 +21,5 @@ function f(arguments) { >() => arguments : () => any > : ^^^^^^^^^ >arguments : any +> : ^^^ } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12.js index 62d6badacb523..58a60be7a02a9 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12.js @@ -8,6 +8,7 @@ class C { } //// [emitArrowFunctionWhenUsingArguments12.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12_ES6.js index 19e18f97f4cc5..5d3fef1cf6173 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments12_ES6.js @@ -8,6 +8,7 @@ class C { } //// [emitArrowFunctionWhenUsingArguments12_ES6.js] +"use strict"; class C { f(arguments) { var a = () => arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13.errors.txt new file mode 100644 index 0000000000000..014ac9794db26 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13.errors.txt @@ -0,0 +1,10 @@ +emitArrowFunctionWhenUsingArguments13.ts(3,14): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments13.ts (1 errors) ==== + function f() { + var _arguments = 10; + var a = (arguments) => () => _arguments; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13.js index 0f80793d82cbf..f7b6ac2e8f70c 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13.js @@ -7,6 +7,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments13.js] +"use strict"; function f() { var _arguments = 10; var a = function (arguments) { return function () { return _arguments; }; }; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13.types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13.types index 6de9462639006..90f2c840dc66c 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13.types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13.types @@ -17,6 +17,7 @@ function f() { >(arguments) => () => _arguments : (arguments: any) => () => number > : ^ ^^^^^^^^^^^^^^^^^^^^^^ >arguments : any +> : ^^^ >() => _arguments : () => number > : ^^^^^^^^^^^^ >_arguments : number diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13_ES6.errors.txt new file mode 100644 index 0000000000000..b57bbf9baeb78 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13_ES6.errors.txt @@ -0,0 +1,10 @@ +emitArrowFunctionWhenUsingArguments13_ES6.ts(3,14): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments13_ES6.ts (1 errors) ==== + function f() { + var _arguments = 10; + var a = (arguments) => () => _arguments; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13_ES6.js index 8182b097389d4..4e96874003a5f 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13_ES6.js @@ -7,6 +7,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments13_ES6.js] +"use strict"; function f() { var _arguments = 10; var a = (arguments) => () => _arguments; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13_ES6.types b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13_ES6.types index fe34d30f83068..c3f12720f0f3c 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13_ES6.types +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments13_ES6.types @@ -17,6 +17,7 @@ function f() { >(arguments) => () => _arguments : (arguments: any) => () => number > : ^ ^^^^^^^^^^^^^^^^^^^^^^ >arguments : any +> : ^^^ >() => _arguments : () => number > : ^^^^^^^^^^^^ >_arguments : number diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.errors.txt index 38491ae7195a5..1f73dd4d42f2d 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.errors.txt @@ -1,10 +1,13 @@ +emitArrowFunctionWhenUsingArguments14.ts(3,15): error TS1100: Invalid use of 'arguments' in strict mode. emitArrowFunctionWhenUsingArguments14.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. -==== emitArrowFunctionWhenUsingArguments14.ts (1 errors) ==== +==== emitArrowFunctionWhenUsingArguments14.ts (2 errors) ==== function f() { if (Math.random()) { const arguments = 100; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. return () => arguments; ~~~~~~~~~ !!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.js index 4685edabaa3c0..d8200a73918fc 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14.js @@ -9,6 +9,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments14.js] +"use strict"; function f() { if (Math.random()) { var arguments_1 = 100; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14_ES6.errors.txt new file mode 100644 index 0000000000000..39f7734b72e60 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14_ES6.errors.txt @@ -0,0 +1,12 @@ +emitArrowFunctionWhenUsingArguments14_ES6.ts(3,13): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments14_ES6.ts (1 errors) ==== + function f() { + if (Math.random()) { + let arguments = 100; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + return () => arguments; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14_ES6.js index 1fd80c55f2070..730059243dc90 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments14_ES6.js @@ -9,6 +9,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments14_ES6.js] +"use strict"; function f() { if (Math.random()) { let arguments = 100; diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.errors.txt index 08a608ae1216d..052edf9546011 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.errors.txt @@ -1,11 +1,17 @@ +emitArrowFunctionWhenUsingArguments15.ts(2,9): error TS1100: Invalid use of 'arguments' in strict mode. +emitArrowFunctionWhenUsingArguments15.ts(4,15): error TS1100: Invalid use of 'arguments' in strict mode. emitArrowFunctionWhenUsingArguments15.ts(5,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. -==== emitArrowFunctionWhenUsingArguments15.ts (1 errors) ==== +==== emitArrowFunctionWhenUsingArguments15.ts (3 errors) ==== function f() { var arguments = "hello"; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. if (Math.random()) { const arguments = 100; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. return () => arguments; ~~~~~~~~~ !!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.js index 8e320e0253202..a07b7d592d2c6 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15.js @@ -10,6 +10,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments15.js] +"use strict"; function f() { var arguments = "hello"; if (Math.random()) { diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15_ES6.errors.txt new file mode 100644 index 0000000000000..672c64982bdb6 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15_ES6.errors.txt @@ -0,0 +1,16 @@ +emitArrowFunctionWhenUsingArguments15_ES6.ts(2,9): error TS1100: Invalid use of 'arguments' in strict mode. +emitArrowFunctionWhenUsingArguments15_ES6.ts(4,15): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments15_ES6.ts (2 errors) ==== + function f() { + var arguments = "hello"; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + if (Math.random()) { + const arguments = 100; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + return () => arguments; + } + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15_ES6.js index 5927b5a452f51..8dae6ba71bedd 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments15_ES6.js @@ -10,6 +10,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments15_ES6.js] +"use strict"; function f() { var arguments = "hello"; if (Math.random()) { diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.errors.txt index f3becb13393c7..71e9b035d1325 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.errors.txt @@ -1,13 +1,19 @@ +emitArrowFunctionWhenUsingArguments16.ts(2,9): error TS1100: Invalid use of 'arguments' in strict mode. emitArrowFunctionWhenUsingArguments16.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments16.ts(6,9): error TS1100: Invalid use of 'arguments' in strict mode. -==== emitArrowFunctionWhenUsingArguments16.ts (1 errors) ==== +==== emitArrowFunctionWhenUsingArguments16.ts (3 errors) ==== function f() { var arguments = "hello"; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. if (Math.random()) { return () => arguments[0]; ~~~~~~~~~ !!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } var arguments = "world"; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.js index 15fcfde8676ca..d176c79d86165 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16.js @@ -10,6 +10,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments16.js] +"use strict"; function f() { var arguments = "hello"; if (Math.random()) { diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.errors.txt new file mode 100644 index 0000000000000..958c33c5f0e08 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.errors.txt @@ -0,0 +1,16 @@ +emitArrowFunctionWhenUsingArguments16_ES6.ts(2,9): error TS1100: Invalid use of 'arguments' in strict mode. +emitArrowFunctionWhenUsingArguments16_ES6.ts(6,9): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments16_ES6.ts (2 errors) ==== + function f() { + var arguments = "hello"; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + if (Math.random()) { + return () => arguments[0]; + } + var arguments = "world"; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.js index 143355efe1f2b..9bd1fb8c890dc 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments16_ES6.js @@ -10,6 +10,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments16_ES6.js] +"use strict"; function f() { var arguments = "hello"; if (Math.random()) { diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.errors.txt index 47a1971378097..73fa1d0bf4926 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.errors.txt +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.errors.txt @@ -1,13 +1,19 @@ +emitArrowFunctionWhenUsingArguments17.ts(2,11): error TS1100: Invalid use of 'arguments' in strict mode. emitArrowFunctionWhenUsingArguments17.ts(4,22): error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. +emitArrowFunctionWhenUsingArguments17.ts(6,9): error TS1100: Invalid use of 'arguments' in strict mode. -==== emitArrowFunctionWhenUsingArguments17.ts (1 errors) ==== +==== emitArrowFunctionWhenUsingArguments17.ts (3 errors) ==== function f() { var { arguments } = { arguments: "hello" }; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. if (Math.random()) { return () => arguments[0]; ~~~~~~~~~ !!! error TS2496: The 'arguments' object cannot be referenced in an arrow function in ES5. Consider using a standard function expression. } var arguments = "world"; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.js index 9d5574d864de9..e1396e00995a9 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17.js @@ -10,6 +10,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments17.js] +"use strict"; function f() { var arguments = { arguments: "hello" }.arguments; if (Math.random()) { diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17_ES6.errors.txt b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17_ES6.errors.txt new file mode 100644 index 0000000000000..5ffd967d5f0e7 --- /dev/null +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17_ES6.errors.txt @@ -0,0 +1,16 @@ +emitArrowFunctionWhenUsingArguments17_ES6.ts(2,11): error TS1100: Invalid use of 'arguments' in strict mode. +emitArrowFunctionWhenUsingArguments17_ES6.ts(6,9): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== emitArrowFunctionWhenUsingArguments17_ES6.ts (2 errors) ==== + function f() { + var { arguments } = { arguments: "hello" }; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + if (Math.random()) { + return () => arguments[0]; + } + var arguments = "world"; + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17_ES6.js index 1abdb2a0c4049..893bfb2b40e38 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments17_ES6.js @@ -10,6 +10,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments17_ES6.js] +"use strict"; function f() { var { arguments } = { arguments: "hello" }; if (Math.random()) { diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18.js index 72f14692b93ea..a362028915386 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18.js @@ -9,6 +9,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments18.js] +"use strict"; function f() { var args = { arguments: arguments }.arguments; if (Math.random()) { diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18_ES6.js index 7741f12192cba..7f60891ab91d0 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments18_ES6.js @@ -9,6 +9,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments18_ES6.js] +"use strict"; function f() { var { arguments: args } = { arguments }; if (Math.random()) { diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19.js index 040c7c20d6d8a..7c7369bce223b 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19.js @@ -16,6 +16,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments19.js] +"use strict"; function f() { function g() { var _arguments = 10; // No capture in 'g', so no conflict. diff --git a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19_ES6.js b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19_ES6.js index 23e9cfbdd2837..69a963ee77593 100644 --- a/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19_ES6.js +++ b/tests/baselines/reference/emitArrowFunctionWhenUsingArguments19_ES6.js @@ -16,6 +16,7 @@ function f() { } //// [emitArrowFunctionWhenUsingArguments19_ES6.js] +"use strict"; function f() { function g() { var _arguments = 10; // No capture in 'g', so no conflict. diff --git a/tests/baselines/reference/emitArrowFunctionsAsIs.js b/tests/baselines/reference/emitArrowFunctionsAsIs.js index 99cfd84c94894..307d45cbfba3a 100644 --- a/tests/baselines/reference/emitArrowFunctionsAsIs.js +++ b/tests/baselines/reference/emitArrowFunctionsAsIs.js @@ -7,6 +7,7 @@ var arrow2 = (a) => { }; var arrow3 = (a, b) => { }; //// [emitArrowFunctionsAsIs.js] +"use strict"; var arrow1 = function (a) { }; var arrow2 = function (a) { }; var arrow3 = function (a, b) { }; diff --git a/tests/baselines/reference/emitArrowFunctionsAsIsES6.js b/tests/baselines/reference/emitArrowFunctionsAsIsES6.js index 5719cfbb94319..1d9aa8a48f6a9 100644 --- a/tests/baselines/reference/emitArrowFunctionsAsIsES6.js +++ b/tests/baselines/reference/emitArrowFunctionsAsIsES6.js @@ -7,6 +7,7 @@ var arrow2 = (a) => { }; var arrow3 = (a, b) => { }; //// [emitArrowFunctionsAsIsES6.js] +"use strict"; var arrow1 = a => { }; var arrow2 = (a) => { }; var arrow3 = (a, b) => { }; diff --git a/tests/baselines/reference/emitBOM.js b/tests/baselines/reference/emitBOM.js index 38fa68f1f04d8..5ad2d64330194 100644 --- a/tests/baselines/reference/emitBOM.js +++ b/tests/baselines/reference/emitBOM.js @@ -9,11 +9,12 @@ emitBOM.js(1,3): error TS1127: Invalid character. ==== emitBOM.js (2 errors) ==== - // JS and d.ts output should have a BOM but not the sourcemap + "use strict"; ~ !!! error TS1127: Invalid character. ~ !!! error TS1127: Invalid character. + // JS and d.ts output should have a BOM but not the sourcemap var x; //# sourceMappingURL=emitBOM.js.map diff --git a/tests/baselines/reference/emitBOM.js.map b/tests/baselines/reference/emitBOM.js.map index 77f96c242d5b4..460c9b17042cf 100644 --- a/tests/baselines/reference/emitBOM.js.map +++ b/tests/baselines/reference/emitBOM.js.map @@ -1,3 +1,3 @@ //// [emitBOM.js.map] -{"version":3,"file":"emitBOM.js","sourceRoot":"","sources":["emitBOM.ts"],"names":[],"mappings":"AAAA,6DAA6D;AAC7D,IAAI,CAAC,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,w6/Cu8K/Ly8gSlMgYW5kIGQudHMgb3V0cHV0IHNob3VsZCBoYXZlIGEgQk9NIGJ1dCBub3QgdGhlIHNvdXJjZW1hcA0KdmFyIHg7DQovLyMgc291cmNlTWFwcGluZ1VSTD1lbWl0Qk9NLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1pdEJPTS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImVtaXRCT00udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsNkRBQTZEO0FBQzdELElBQUksQ0FBQyxDQUFDIn0=,Ly8gSlMgYW5kIGQudHMgb3V0cHV0IHNob3VsZCBoYXZlIGEgQk9NIGJ1dCBub3QgdGhlIHNvdXJjZW1hcAp2YXIgeDs= +{"version":3,"file":"emitBOM.js","sourceRoot":"","sources":["emitBOM.ts"],"names":[],"mappings":";AAAA,6DAA6D;AAC7D,IAAI,CAAC,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,w6/Cu8K/InVzZSBzdHJpY3QiOw0KLy8gSlMgYW5kIGQudHMgb3V0cHV0IHNob3VsZCBoYXZlIGEgQk9NIGJ1dCBub3QgdGhlIHNvdXJjZW1hcA0KdmFyIHg7DQovLyMgc291cmNlTWFwcGluZ1VSTD1lbWl0Qk9NLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1pdEJPTS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImVtaXRCT00udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLDZEQUE2RDtBQUM3RCxJQUFJLENBQUMsQ0FBQyJ9,Ly8gSlMgYW5kIGQudHMgb3V0cHV0IHNob3VsZCBoYXZlIGEgQk9NIGJ1dCBub3QgdGhlIHNvdXJjZW1hcAp2YXIgeDs= diff --git a/tests/baselines/reference/emitBOM.sourcemap.txt b/tests/baselines/reference/emitBOM.sourcemap.txt index ae59b10808178..0ab44dac59521 100644 --- a/tests/baselines/reference/emitBOM.sourcemap.txt +++ b/tests/baselines/reference/emitBOM.sourcemap.txt @@ -8,13 +8,14 @@ sources: emitBOM.ts emittedFile:emitBOM.js sourceFile:emitBOM.ts ------------------------------------------------------------------- +>>>"use strict"; >>>// JS and d.ts output should have a BOM but not the sourcemap 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 >// JS and d.ts output should have a BOM but not the sourcemap -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 62) Source(1, 62) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 62) Source(1, 62) + SourceIndex(0) --- >>>var x; 1 > @@ -27,9 +28,9 @@ sourceFile:emitBOM.ts 2 >var 3 > x 4 > ; -1 >Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -3 >Emitted(2, 6) Source(2, 6) + SourceIndex(0) -4 >Emitted(2, 7) Source(2, 7) + SourceIndex(0) +1 >Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +3 >Emitted(3, 6) Source(2, 6) + SourceIndex(0) +4 >Emitted(3, 7) Source(2, 7) + SourceIndex(0) --- >>>//# sourceMappingURL=emitBOM.js.map \ No newline at end of file diff --git a/tests/baselines/reference/emitBundleWithShebang1.js b/tests/baselines/reference/emitBundleWithShebang1.js index cd8c32fec9fda..3a8b41890ebfe 100644 --- a/tests/baselines/reference/emitBundleWithShebang1.js +++ b/tests/baselines/reference/emitBundleWithShebang1.js @@ -7,6 +7,7 @@ class Scooby extends Doo {} //// [outFile.js] #!/usr/bin/env gjs +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/emitBundleWithShebang2.js b/tests/baselines/reference/emitBundleWithShebang2.js index 98310ca1bb4ce..cfeb14623907b 100644 --- a/tests/baselines/reference/emitBundleWithShebang2.js +++ b/tests/baselines/reference/emitBundleWithShebang2.js @@ -12,6 +12,7 @@ class Scoobyd extends Dood {} //// [outFile.js] #!/usr/bin/env gjs +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/emitCapturingThisInTupleDestructuring1.js b/tests/baselines/reference/emitCapturingThisInTupleDestructuring1.js index f3d21dfa34bfa..409a907f9a7ef 100644 --- a/tests/baselines/reference/emitCapturingThisInTupleDestructuring1.js +++ b/tests/baselines/reference/emitCapturingThisInTupleDestructuring1.js @@ -7,6 +7,7 @@ wrapper((array: [any]) => { }); //// [emitCapturingThisInTupleDestructuring1.js] +"use strict"; var _this = this; wrapper(function (array) { _this.test = array[0], _this.test1 = array[1], _this.test2 = array[2]; // even though there is a compiler error, we should still emit lexical capture for "this" diff --git a/tests/baselines/reference/emitCapturingThisInTupleDestructuring2.js b/tests/baselines/reference/emitCapturingThisInTupleDestructuring2.js index 17ec870909c48..4964ca8a921c5 100644 --- a/tests/baselines/reference/emitCapturingThisInTupleDestructuring2.js +++ b/tests/baselines/reference/emitCapturingThisInTupleDestructuring2.js @@ -13,6 +13,7 @@ class B { } //// [emitCapturingThisInTupleDestructuring2.js] +"use strict"; var array1 = [1, 2]; var B = /** @class */ (function () { function B() { diff --git a/tests/baselines/reference/emitClassDeclarationOverloadInES6.js b/tests/baselines/reference/emitClassDeclarationOverloadInES6.js index 05bd39b3fd429..735f3a1abc664 100644 --- a/tests/baselines/reference/emitClassDeclarationOverloadInES6.js +++ b/tests/baselines/reference/emitClassDeclarationOverloadInES6.js @@ -13,6 +13,7 @@ class D { } //// [emitClassDeclarationOverloadInES6.js] +"use strict"; class C { constructor(x) { } diff --git a/tests/baselines/reference/emitClassDeclarationWithConstructorInES6.js b/tests/baselines/reference/emitClassDeclarationWithConstructorInES6.js index 8b8c9438ff4e7..2c858197cc3bd 100644 --- a/tests/baselines/reference/emitClassDeclarationWithConstructorInES6.js +++ b/tests/baselines/reference/emitClassDeclarationWithConstructorInES6.js @@ -27,6 +27,7 @@ class B { //// [emitClassDeclarationWithConstructorInES6.js] +"use strict"; class A { constructor(x) { } diff --git a/tests/baselines/reference/emitClassDeclarationWithExtensionAndTypeArgumentInES6.js b/tests/baselines/reference/emitClassDeclarationWithExtensionAndTypeArgumentInES6.js index c285a9f35b751..51ea4d55ab1b4 100644 --- a/tests/baselines/reference/emitClassDeclarationWithExtensionAndTypeArgumentInES6.js +++ b/tests/baselines/reference/emitClassDeclarationWithExtensionAndTypeArgumentInES6.js @@ -13,6 +13,7 @@ class D extends B { } //// [emitClassDeclarationWithExtensionAndTypeArgumentInES6.js] +"use strict"; class B { constructor(a) { } } diff --git a/tests/baselines/reference/emitClassDeclarationWithExtensionInES6.js b/tests/baselines/reference/emitClassDeclarationWithExtensionInES6.js index d12cd6751d05f..c914115c56d2a 100644 --- a/tests/baselines/reference/emitClassDeclarationWithExtensionInES6.js +++ b/tests/baselines/reference/emitClassDeclarationWithExtensionInES6.js @@ -26,6 +26,7 @@ class D extends C { //// [emitClassDeclarationWithExtensionInES6.js] +"use strict"; class B { baz(a, y = 10) { } } diff --git a/tests/baselines/reference/emitClassDeclarationWithGetterSetterInES6.js b/tests/baselines/reference/emitClassDeclarationWithGetterSetterInES6.js index f4795b4c2daf8..fa869157d5dc9 100644 --- a/tests/baselines/reference/emitClassDeclarationWithGetterSetterInES6.js +++ b/tests/baselines/reference/emitClassDeclarationWithGetterSetterInES6.js @@ -30,6 +30,7 @@ class C { } //// [emitClassDeclarationWithGetterSetterInES6.js] +"use strict"; class C { get name() { return this._name; diff --git a/tests/baselines/reference/emitClassDeclarationWithLiteralPropertyNameInES6.js b/tests/baselines/reference/emitClassDeclarationWithLiteralPropertyNameInES6.js index 21926812da8be..ad5732a8db555 100644 --- a/tests/baselines/reference/emitClassDeclarationWithLiteralPropertyNameInES6.js +++ b/tests/baselines/reference/emitClassDeclarationWithLiteralPropertyNameInES6.js @@ -17,6 +17,7 @@ class B { } //// [emitClassDeclarationWithLiteralPropertyNameInES6.js] +"use strict"; class B { constructor() { this["hello"] = 10; diff --git a/tests/baselines/reference/emitClassDeclarationWithMethodInES6.js b/tests/baselines/reference/emitClassDeclarationWithMethodInES6.js index 1837a2681511a..a7cd9c5c79c34 100644 --- a/tests/baselines/reference/emitClassDeclarationWithMethodInES6.js +++ b/tests/baselines/reference/emitClassDeclarationWithMethodInES6.js @@ -25,6 +25,7 @@ class D { } //// [emitClassDeclarationWithMethodInES6.js] +"use strict"; class D { foo() { } ["computedName1"]() { } diff --git a/tests/baselines/reference/emitClassDeclarationWithPropertyAccessInHeritageClause1.js b/tests/baselines/reference/emitClassDeclarationWithPropertyAccessInHeritageClause1.js index 96475891f5f77..2459920229e88 100644 --- a/tests/baselines/reference/emitClassDeclarationWithPropertyAccessInHeritageClause1.js +++ b/tests/baselines/reference/emitClassDeclarationWithPropertyAccessInHeritageClause1.js @@ -8,6 +8,7 @@ function foo() { class C extends (foo()).B {} //// [emitClassDeclarationWithPropertyAccessInHeritageClause1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/emitClassDeclarationWithPropertyAssignmentInES6.js b/tests/baselines/reference/emitClassDeclarationWithPropertyAssignmentInES6.js index 52b5f812174a6..ffa7df5242130 100644 --- a/tests/baselines/reference/emitClassDeclarationWithPropertyAssignmentInES6.js +++ b/tests/baselines/reference/emitClassDeclarationWithPropertyAssignmentInES6.js @@ -27,6 +27,7 @@ class F extends D{ } //// [emitClassDeclarationWithPropertyAssignmentInES6.js] +"use strict"; class C { constructor() { this.x = "Hello world"; diff --git a/tests/baselines/reference/emitClassDeclarationWithStaticPropertyAssignmentInES6.js b/tests/baselines/reference/emitClassDeclarationWithStaticPropertyAssignmentInES6.js index eb2dc69456f51..0b78111205240 100644 --- a/tests/baselines/reference/emitClassDeclarationWithStaticPropertyAssignmentInES6.js +++ b/tests/baselines/reference/emitClassDeclarationWithStaticPropertyAssignmentInES6.js @@ -12,6 +12,7 @@ class D { //// [emitClassDeclarationWithStaticPropertyAssignmentInES6.js] +"use strict"; class C { } C.z = "Foo"; diff --git a/tests/baselines/reference/emitClassDeclarationWithSuperMethodCall01.js b/tests/baselines/reference/emitClassDeclarationWithSuperMethodCall01.js index 8de6dc567a3a3..2204070d5452f 100644 --- a/tests/baselines/reference/emitClassDeclarationWithSuperMethodCall01.js +++ b/tests/baselines/reference/emitClassDeclarationWithSuperMethodCall01.js @@ -13,6 +13,7 @@ class Foo extends Parent { } //// [emitClassDeclarationWithSuperMethodCall01.js] +"use strict"; class Parent { foo() { } diff --git a/tests/baselines/reference/emitClassDeclarationWithThisKeywordInES6.js b/tests/baselines/reference/emitClassDeclarationWithThisKeywordInES6.js index 15ae3f491a13c..e9f44234c969c 100644 --- a/tests/baselines/reference/emitClassDeclarationWithThisKeywordInES6.js +++ b/tests/baselines/reference/emitClassDeclarationWithThisKeywordInES6.js @@ -21,6 +21,7 @@ class B { } //// [emitClassDeclarationWithThisKeywordInES6.js] +"use strict"; class B { constructor() { this.x = 10; diff --git a/tests/baselines/reference/emitClassDeclarationWithTypeArgumentAndOverloadInES6.js b/tests/baselines/reference/emitClassDeclarationWithTypeArgumentAndOverloadInES6.js index 07c80d4cb86d1..04d0a03e21d69 100644 --- a/tests/baselines/reference/emitClassDeclarationWithTypeArgumentAndOverloadInES6.js +++ b/tests/baselines/reference/emitClassDeclarationWithTypeArgumentAndOverloadInES6.js @@ -25,6 +25,7 @@ class B { } //// [emitClassDeclarationWithTypeArgumentAndOverloadInES6.js] +"use strict"; class B { constructor(a) { this.B = a; } foo() { diff --git a/tests/baselines/reference/emitClassDeclarationWithTypeArgumentInES6.js b/tests/baselines/reference/emitClassDeclarationWithTypeArgumentInES6.js index 691be7811b6c8..98c5a95085cca 100644 --- a/tests/baselines/reference/emitClassDeclarationWithTypeArgumentInES6.js +++ b/tests/baselines/reference/emitClassDeclarationWithTypeArgumentInES6.js @@ -17,6 +17,7 @@ class B { } //// [emitClassDeclarationWithTypeArgumentInES6.js] +"use strict"; class B { constructor(a) { this.B = a; } foo() { diff --git a/tests/baselines/reference/emitCommentsOnlyFile.js b/tests/baselines/reference/emitCommentsOnlyFile.js index 3e42067d17355..4efd9aff62335 100644 --- a/tests/baselines/reference/emitCommentsOnlyFile.js +++ b/tests/baselines/reference/emitCommentsOnlyFile.js @@ -30,6 +30,7 @@ //// [emitCommentsOnlyFile.js] +"use strict"; /** * @name Foo * @class diff --git a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS1.js b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS1.js index 122b6b79b5ce8..020478b53a4ee 100644 --- a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS1.js +++ b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS1.js @@ -18,6 +18,7 @@ var j0 = 0, j1 = 1; array3[j0++] **= array3[j1++] **= array3[j0++] **= 1; //// [emitCompoundExponentiationAssignmentWithIndexingOnLHS1.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p; var array0 = [1, 2, 3]; var i0 = 0; diff --git a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS2.js b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS2.js index 8a01ab1bb266b..910b0cd9d9e14 100644 --- a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS2.js +++ b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS2.js @@ -14,6 +14,7 @@ foo()[0] **= foo()[0] ** 2; var result_foo3 = foo()[0] **= foo()[0] ** 2; //// [emitCompoundExponentiationAssignmentWithIndexingOnLHS2.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r; var globalCounter = 0; function foo() { diff --git a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3.js b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3.js index 8bdebc055dbac..b2457629c5a13 100644 --- a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3.js +++ b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS3.js @@ -15,6 +15,7 @@ object[0] **= object[0] **= 2; object[0] **= object[0] ** 2; //// [emitCompoundExponentiationAssignmentWithIndexingOnLHS3.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h; var object = { _0: 2, diff --git a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS4.js b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS4.js index 6368809dc1a27..b965cd5c05f48 100644 --- a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS4.js +++ b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithIndexingOnLHS4.js @@ -17,6 +17,7 @@ array1[incrementIdx(array1.length)] **= array1[incrementIdx(array1.length)] **= array1[incrementIdx(array1.length)] **= array1[incrementIdx(array1.length)] ** 2; //// [emitCompoundExponentiationAssignmentWithIndexingOnLHS4.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h; var globalCounter = 0; function incrementIdx(max) { diff --git a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1.js b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1.js index fe715bdef41f0..6b8e9ab85f613 100644 --- a/tests/baselines/reference/emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1.js +++ b/tests/baselines/reference/emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1.js @@ -14,6 +14,7 @@ foo().prop **= foo().prop ** 2; var result2 = foo().prop **= foo().prop ** 2; //// [emitCompoundExponentiationAssignmentWithPropertyAccessingOnLHS1.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h; var globalCounter = 0; function foo() { diff --git a/tests/baselines/reference/emitCompoundExponentiationOperator1.js b/tests/baselines/reference/emitCompoundExponentiationOperator1.js index 548f5799bec8e..9aee7aab6d1c1 100644 --- a/tests/baselines/reference/emitCompoundExponentiationOperator1.js +++ b/tests/baselines/reference/emitCompoundExponentiationOperator1.js @@ -23,6 +23,7 @@ comp **= comp ** (5 / 2); comp **= comp ** (5 % 2); //// [emitCompoundExponentiationOperator1.js] +"use strict"; var comp; comp = Math.pow(comp, 1); comp = Math.pow(comp, Math.pow(comp, comp)); diff --git a/tests/baselines/reference/emitCompoundExponentiationOperator2.js b/tests/baselines/reference/emitCompoundExponentiationOperator2.js index b2b51634f6087..5ad679780028d 100644 --- a/tests/baselines/reference/emitCompoundExponentiationOperator2.js +++ b/tests/baselines/reference/emitCompoundExponentiationOperator2.js @@ -27,6 +27,7 @@ comp **= comp **= (1 / 2) ** 6; //// [emitCompoundExponentiationOperator2.js] +"use strict"; var comp; comp = Math.pow(comp, 1); comp = Math.pow(comp, comp = Math.pow(comp, 1)); diff --git a/tests/baselines/reference/emitDecoratorMetadata_object.js b/tests/baselines/reference/emitDecoratorMetadata_object.js index 29314e1895e51..6bf80bd119561 100644 --- a/tests/baselines/reference/emitDecoratorMetadata_object.js +++ b/tests/baselines/reference/emitDecoratorMetadata_object.js @@ -13,6 +13,7 @@ class A { //// [emitDecoratorMetadata_object.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/emitDecoratorMetadata_restArgs.js b/tests/baselines/reference/emitDecoratorMetadata_restArgs.js index 1a2837f035bc4..8bdef1cf36379 100644 --- a/tests/baselines/reference/emitDecoratorMetadata_restArgs.js +++ b/tests/baselines/reference/emitDecoratorMetadata_restArgs.js @@ -20,6 +20,7 @@ class B { //// [emitDecoratorMetadata_restArgs.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/emitDefaultParametersFunction.js b/tests/baselines/reference/emitDefaultParametersFunction.js index f57380fb50ab7..f225b38de1ffa 100644 --- a/tests/baselines/reference/emitDefaultParametersFunction.js +++ b/tests/baselines/reference/emitDefaultParametersFunction.js @@ -7,6 +7,7 @@ function bar(y = 10) { } function bar1(y = 10, ...rest) { } //// [emitDefaultParametersFunction.js] +"use strict"; function foo(x, y) { if (y === void 0) { y = 10; } } diff --git a/tests/baselines/reference/emitDefaultParametersFunctionES6.js b/tests/baselines/reference/emitDefaultParametersFunctionES6.js index 84f7ecb99fc97..f4578b88cd54a 100644 --- a/tests/baselines/reference/emitDefaultParametersFunctionES6.js +++ b/tests/baselines/reference/emitDefaultParametersFunctionES6.js @@ -7,6 +7,7 @@ function bar(y = 10) { } function bar1(y = 10, ...rest) { } //// [emitDefaultParametersFunctionES6.js] +"use strict"; function foo(x, y = 10) { } function baz(x, y = 5, ...rest) { } function bar(y = 10) { } diff --git a/tests/baselines/reference/emitDefaultParametersFunctionExpression.js b/tests/baselines/reference/emitDefaultParametersFunctionExpression.js index 74de81f45ad9c..79f3174f1daf8 100644 --- a/tests/baselines/reference/emitDefaultParametersFunctionExpression.js +++ b/tests/baselines/reference/emitDefaultParametersFunctionExpression.js @@ -12,6 +12,7 @@ var z = (function (num: number, boo = false, ...rest) { })(10) //// [emitDefaultParametersFunctionExpression.js] +"use strict"; var lambda1 = function (y) { if (y === void 0) { y = "hello"; } }; diff --git a/tests/baselines/reference/emitDefaultParametersFunctionExpressionES6.js b/tests/baselines/reference/emitDefaultParametersFunctionExpressionES6.js index 1f8a35357c9e1..a8faff6ff498f 100644 --- a/tests/baselines/reference/emitDefaultParametersFunctionExpressionES6.js +++ b/tests/baselines/reference/emitDefaultParametersFunctionExpressionES6.js @@ -11,6 +11,7 @@ var y = (function (num = 10, boo = false, ...rest) { })() var z = (function (num: number, boo = false, ...rest) { })(10) //// [emitDefaultParametersFunctionExpressionES6.js] +"use strict"; var lambda1 = (y = "hello") => { }; var lambda2 = (x, y = "hello") => { }; var lambda3 = (x, y = "hello", ...rest) => { }; diff --git a/tests/baselines/reference/emitDefaultParametersFunctionProperty.js b/tests/baselines/reference/emitDefaultParametersFunctionProperty.js index 103ff165ee32a..b5e4030395c61 100644 --- a/tests/baselines/reference/emitDefaultParametersFunctionProperty.js +++ b/tests/baselines/reference/emitDefaultParametersFunctionProperty.js @@ -10,6 +10,7 @@ var obj2 = { //// [emitDefaultParametersFunctionProperty.js] +"use strict"; var obj2 = { func1: function (y) { if (y === void 0) { y = 10; } diff --git a/tests/baselines/reference/emitDefaultParametersFunctionPropertyES6.js b/tests/baselines/reference/emitDefaultParametersFunctionPropertyES6.js index d4b742d685b38..d2c52c03dc3dd 100644 --- a/tests/baselines/reference/emitDefaultParametersFunctionPropertyES6.js +++ b/tests/baselines/reference/emitDefaultParametersFunctionPropertyES6.js @@ -9,6 +9,7 @@ var obj2 = { } //// [emitDefaultParametersFunctionPropertyES6.js] +"use strict"; var obj2 = { func1(y = 10, ...rest) { }, func2(x = "hello") { }, diff --git a/tests/baselines/reference/emitDefaultParametersMethod.js b/tests/baselines/reference/emitDefaultParametersMethod.js index 17cb0765abe47..73857390c2b73 100644 --- a/tests/baselines/reference/emitDefaultParametersMethod.js +++ b/tests/baselines/reference/emitDefaultParametersMethod.js @@ -20,6 +20,7 @@ class E { //// [emitDefaultParametersMethod.js] +"use strict"; var C = /** @class */ (function () { function C(t, z, x, y) { if (y === void 0) { y = "hello"; } diff --git a/tests/baselines/reference/emitDefaultParametersMethodES6.js b/tests/baselines/reference/emitDefaultParametersMethodES6.js index 58d27659307ad..e5b2b840be3b1 100644 --- a/tests/baselines/reference/emitDefaultParametersMethodES6.js +++ b/tests/baselines/reference/emitDefaultParametersMethodES6.js @@ -19,6 +19,7 @@ class E { } //// [emitDefaultParametersMethodES6.js] +"use strict"; class C { constructor(t, z, x, y = "hello") { } foo(x, t = false) { } diff --git a/tests/baselines/reference/emitExponentiationOperator1.js b/tests/baselines/reference/emitExponentiationOperator1.js index 9ed295fe4f7cf..b2cc2a3ad4a60 100644 --- a/tests/baselines/reference/emitExponentiationOperator1.js +++ b/tests/baselines/reference/emitExponentiationOperator1.js @@ -34,6 +34,7 @@ (2 / 3) ** 4; //// [emitExponentiationOperator1.js] +"use strict"; Math.pow(1, -2); Math.pow(1, 2); Math.pow((-1), 2); diff --git a/tests/baselines/reference/emitExponentiationOperator2.js b/tests/baselines/reference/emitExponentiationOperator2.js index 750f0768c277d..e8541d4cf42d3 100644 --- a/tests/baselines/reference/emitExponentiationOperator2.js +++ b/tests/baselines/reference/emitExponentiationOperator2.js @@ -57,6 +57,7 @@ temp-- % temp ** 3; 3 ** --temp % 2; //// [emitExponentiationOperator2.js] +"use strict"; var temp = 10; Math.pow(++temp, 3); Math.pow(--temp, 3); diff --git a/tests/baselines/reference/emitExponentiationOperator3.js b/tests/baselines/reference/emitExponentiationOperator3.js index 962bbf293a981..5a058b8a03e0e 100644 --- a/tests/baselines/reference/emitExponentiationOperator3.js +++ b/tests/baselines/reference/emitExponentiationOperator3.js @@ -42,6 +42,7 @@ var temp = 10; //// [emitExponentiationOperator3.js] +"use strict"; var temp = 10; Math.pow((-++temp), 3); Math.pow((+--temp), 3); diff --git a/tests/baselines/reference/emitExponentiationOperator4.js b/tests/baselines/reference/emitExponentiationOperator4.js index 89e1b81d04dbd..b93ccd117181f 100644 --- a/tests/baselines/reference/emitExponentiationOperator4.js +++ b/tests/baselines/reference/emitExponentiationOperator4.js @@ -40,6 +40,7 @@ var temp: any; 1 ** (~ temp--) ** 4; //// [emitExponentiationOperator4.js] +"use strict"; var temp; Math.pow(temp, 3); Math.pow(--temp, 3); diff --git a/tests/baselines/reference/emitExponentiationOperatorInTempalteString4.js b/tests/baselines/reference/emitExponentiationOperatorInTempalteString4.js index 6bbe0c2852c3b..11477da6b96eb 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTempalteString4.js +++ b/tests/baselines/reference/emitExponentiationOperatorInTempalteString4.js @@ -29,6 +29,7 @@ var s; `hello ${typeof (t1 ** t2 ** t1)}`; //// [emitExponentiationOperatorInTempalteString4.js] +"use strict"; var t1 = 10; var t2 = 10; var s; diff --git a/tests/baselines/reference/emitExponentiationOperatorInTempalteString4ES6.js b/tests/baselines/reference/emitExponentiationOperatorInTempalteString4ES6.js index b148760f55d7f..371887d9ddf48 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTempalteString4ES6.js +++ b/tests/baselines/reference/emitExponentiationOperatorInTempalteString4ES6.js @@ -29,6 +29,7 @@ var s; `hello ${typeof (t1 ** t2 ** t1)}`; //// [emitExponentiationOperatorInTempalteString4ES6.js] +"use strict"; var t1 = 10; var t2 = 10; var s; diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString1.js b/tests/baselines/reference/emitExponentiationOperatorInTemplateString1.js index 237296947fff7..09dd45ca120cf 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTemplateString1.js +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString1.js @@ -29,6 +29,7 @@ var s; `${typeof (t1 ** t2 ** t1) } hello world ${typeof (t1 ** t2 ** t1) }`; //// [emitExponentiationOperatorInTemplateString1.js] +"use strict"; var t1 = 10; var t2 = 10; var s; diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString1ES6.js b/tests/baselines/reference/emitExponentiationOperatorInTemplateString1ES6.js index 1d85d2e7d9bae..41b2ff5b82bcd 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTemplateString1ES6.js +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString1ES6.js @@ -29,6 +29,7 @@ var s; `${typeof (t1 ** t2 ** t1) } hello world ${typeof (t1 ** t2 ** t1) }`; //// [emitExponentiationOperatorInTemplateString1ES6.js] +"use strict"; var t1 = 10; var t2 = 10; var s; diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString2.js b/tests/baselines/reference/emitExponentiationOperatorInTemplateString2.js index 1f6a27b74b65e..dbe355ab9c9d6 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTemplateString2.js +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString2.js @@ -29,6 +29,7 @@ var s; `hello ${typeof (t1 ** t2 ** t1) } hello world ${typeof (t1 ** t2 ** t1) }`; //// [emitExponentiationOperatorInTemplateString2.js] +"use strict"; var t1 = 10; var t2 = 10; var s; diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString2ES6.js b/tests/baselines/reference/emitExponentiationOperatorInTemplateString2ES6.js index 0eed22ea8218f..d07052cd6ff19 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTemplateString2ES6.js +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString2ES6.js @@ -29,6 +29,7 @@ var s; `hello ${typeof (t1 ** t2 ** t1) } hello world ${typeof (t1 ** t2 ** t1) }`; //// [emitExponentiationOperatorInTemplateString2ES6.js] +"use strict"; var t1 = 10; var t2 = 10; var s; diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString3.js b/tests/baselines/reference/emitExponentiationOperatorInTemplateString3.js index 7de960a6a0f6a..6e2c7ef2a8ca0 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTemplateString3.js +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString3.js @@ -30,6 +30,7 @@ var s; //// [emitExponentiationOperatorInTemplateString3.js] +"use strict"; var t1 = 10; var t2 = 10; var s; diff --git a/tests/baselines/reference/emitExponentiationOperatorInTemplateString3ES6.js b/tests/baselines/reference/emitExponentiationOperatorInTemplateString3ES6.js index 58d88ea75080b..26b2b41402cb1 100644 --- a/tests/baselines/reference/emitExponentiationOperatorInTemplateString3ES6.js +++ b/tests/baselines/reference/emitExponentiationOperatorInTemplateString3ES6.js @@ -30,6 +30,7 @@ var s; //// [emitExponentiationOperatorInTemplateString3ES6.js] +"use strict"; var t1 = 10; var t2 = 10; var s; diff --git a/tests/baselines/reference/emitMemberAccessExpression.js b/tests/baselines/reference/emitMemberAccessExpression.js index 5d1eb93484ef3..2b37427468d46 100644 --- a/tests/baselines/reference/emitMemberAccessExpression.js +++ b/tests/baselines/reference/emitMemberAccessExpression.js @@ -49,6 +49,7 @@ var Microsoft; /// "use strict"; //// [emitMemberAccessExpression_file3.js] +"use strict"; /// /// var Microsoft; diff --git a/tests/baselines/reference/emitModuleCommonJS(module=commonjs).js b/tests/baselines/reference/emitModuleCommonJS(module=commonjs).js index 0442043886f1e..fc72d0a81fe4c 100644 --- a/tests/baselines/reference/emitModuleCommonJS(module=commonjs).js +++ b/tests/baselines/reference/emitModuleCommonJS(module=commonjs).js @@ -16,6 +16,7 @@ //// [a.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); @@ -64,6 +65,7 @@ var __rewriteRelativeImportExtension = (this && this.__rewriteRelativeImportExte Promise.resolve().then(() => __importStar(require("./foo.js"))); } //// [b.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/emitOneLineVariableDeclarationRemoveCommentsFalse.js b/tests/baselines/reference/emitOneLineVariableDeclarationRemoveCommentsFalse.js index a5d23815cd8ed..48bfd0f20af21 100644 --- a/tests/baselines/reference/emitOneLineVariableDeclarationRemoveCommentsFalse.js +++ b/tests/baselines/reference/emitOneLineVariableDeclarationRemoveCommentsFalse.js @@ -11,6 +11,7 @@ let g: any = /* comment2 */ d(e); //// [emitOneLineVariableDeclarationRemoveCommentsFalse.js] +"use strict"; var a = /*[[${something}]]*/ {}; var b = /*[[${something}]]*/ {}; var c = /*[[${something}]]*/ { hoge: true }; diff --git a/tests/baselines/reference/emitPinnedCommentsOnTopOfFile.js b/tests/baselines/reference/emitPinnedCommentsOnTopOfFile.js index d50c8fc1c47a4..1c9048a4e5c23 100644 --- a/tests/baselines/reference/emitPinnedCommentsOnTopOfFile.js +++ b/tests/baselines/reference/emitPinnedCommentsOnTopOfFile.js @@ -10,6 +10,7 @@ var x = 10; //// [emitPinnedCommentsOnTopOfFile.js] +"use strict"; /*! multi line diff --git a/tests/baselines/reference/emitPostComments.js b/tests/baselines/reference/emitPostComments.js index 30c1f9a4a0d7f..b4ebc71c43368 100644 --- a/tests/baselines/reference/emitPostComments.js +++ b/tests/baselines/reference/emitPostComments.js @@ -31,6 +31,7 @@ var y = 10; //// [emitPostComments.js] +"use strict"; var y = 10; /** * @name Foo diff --git a/tests/baselines/reference/emitPreComments.js b/tests/baselines/reference/emitPreComments.js index 4d52b91c3808c..be615ba7bae3e 100644 --- a/tests/baselines/reference/emitPreComments.js +++ b/tests/baselines/reference/emitPreComments.js @@ -32,6 +32,7 @@ var y = 10; //// [emitPreComments.js] +"use strict"; // This is pre comment var y = 10; /** diff --git a/tests/baselines/reference/emitRestParametersFunction.js b/tests/baselines/reference/emitRestParametersFunction.js index ca31cd6fd0dba..c10704f6f7009 100644 --- a/tests/baselines/reference/emitRestParametersFunction.js +++ b/tests/baselines/reference/emitRestParametersFunction.js @@ -5,6 +5,7 @@ function bar(...rest) { } function foo(x: number, y: string, ...rest) { } //// [emitRestParametersFunction.js] +"use strict"; function bar() { var rest = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/emitRestParametersFunctionES6.js b/tests/baselines/reference/emitRestParametersFunctionES6.js index e4718f6c88661..0685a4c8e2fd3 100644 --- a/tests/baselines/reference/emitRestParametersFunctionES6.js +++ b/tests/baselines/reference/emitRestParametersFunctionES6.js @@ -5,5 +5,6 @@ function bar(...rest) { } function foo(x: number, y: string, ...rest) { } //// [emitRestParametersFunctionES6.js] +"use strict"; function bar(...rest) { } function foo(x, y, ...rest) { } diff --git a/tests/baselines/reference/emitRestParametersFunctionExpression.js b/tests/baselines/reference/emitRestParametersFunctionExpression.js index d765a0bc6ae53..fdf3426a99ebe 100644 --- a/tests/baselines/reference/emitRestParametersFunctionExpression.js +++ b/tests/baselines/reference/emitRestParametersFunctionExpression.js @@ -8,6 +8,7 @@ var funcExp3 = (function (...rest) { })() //// [emitRestParametersFunctionExpression.js] +"use strict"; var funcExp = function () { var rest = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/emitRestParametersFunctionExpressionES6.js b/tests/baselines/reference/emitRestParametersFunctionExpressionES6.js index 40236cac0765d..cff7aebc38316 100644 --- a/tests/baselines/reference/emitRestParametersFunctionExpressionES6.js +++ b/tests/baselines/reference/emitRestParametersFunctionExpressionES6.js @@ -7,6 +7,7 @@ var funcExp2 = function (...rest) { } var funcExp3 = (function (...rest) { })() //// [emitRestParametersFunctionExpressionES6.js] +"use strict"; var funcExp = (...rest) => { }; var funcExp1 = (X, ...rest) => { }; var funcExp2 = function (...rest) { }; diff --git a/tests/baselines/reference/emitRestParametersFunctionProperty.js b/tests/baselines/reference/emitRestParametersFunctionProperty.js index e2732ba246e98..b07f2ebd5a1ad 100644 --- a/tests/baselines/reference/emitRestParametersFunctionProperty.js +++ b/tests/baselines/reference/emitRestParametersFunctionProperty.js @@ -10,6 +10,7 @@ var obj2 = { } //// [emitRestParametersFunctionProperty.js] +"use strict"; var obj; var obj2 = { func: function () { diff --git a/tests/baselines/reference/emitRestParametersFunctionPropertyES6.js b/tests/baselines/reference/emitRestParametersFunctionPropertyES6.js index fedc5dbaf58cb..a40ae951654ec 100644 --- a/tests/baselines/reference/emitRestParametersFunctionPropertyES6.js +++ b/tests/baselines/reference/emitRestParametersFunctionPropertyES6.js @@ -10,6 +10,7 @@ var obj2 = { } //// [emitRestParametersFunctionPropertyES6.js] +"use strict"; var obj; var obj2 = { func(...rest) { } diff --git a/tests/baselines/reference/emitRestParametersMethod.js b/tests/baselines/reference/emitRestParametersMethod.js index b174b4e6edfac..6e1ba82e5642e 100644 --- a/tests/baselines/reference/emitRestParametersMethod.js +++ b/tests/baselines/reference/emitRestParametersMethod.js @@ -16,6 +16,7 @@ class D { } //// [emitRestParametersMethod.js] +"use strict"; var C = /** @class */ (function () { function C(name) { var rest = []; diff --git a/tests/baselines/reference/emitRestParametersMethodES6.js b/tests/baselines/reference/emitRestParametersMethodES6.js index f5196ae629137..dc00ac6bfe9ac 100644 --- a/tests/baselines/reference/emitRestParametersMethodES6.js +++ b/tests/baselines/reference/emitRestParametersMethodES6.js @@ -17,6 +17,7 @@ class D { //// [emitRestParametersMethodES6.js] +"use strict"; class C { constructor(name, ...rest) { } bar(...rest) { } diff --git a/tests/baselines/reference/emitSkipsThisWithRestParameter.js b/tests/baselines/reference/emitSkipsThisWithRestParameter.js index 8399367d9d47b..c8f0534e37205 100644 --- a/tests/baselines/reference/emitSkipsThisWithRestParameter.js +++ b/tests/baselines/reference/emitSkipsThisWithRestParameter.js @@ -9,6 +9,7 @@ function rebase(fn: (base: any, ...args: any[]) => any): (...args: any[]) => any //// [emitSkipsThisWithRestParameter.js] +"use strict"; function rebase(fn) { return function () { var args = []; diff --git a/tests/baselines/reference/emitStatementsBeforeSuperCall.js b/tests/baselines/reference/emitStatementsBeforeSuperCall.js index ef497c767ffe9..f41df7210c903 100644 --- a/tests/baselines/reference/emitStatementsBeforeSuperCall.js +++ b/tests/baselines/reference/emitStatementsBeforeSuperCall.js @@ -24,6 +24,7 @@ class Test extends Base { //// [emitStatementsBeforeSuperCall.js] +"use strict"; class Base { } class Sub extends Base { diff --git a/tests/baselines/reference/emitStatementsBeforeSuperCallWithDefineFields.js b/tests/baselines/reference/emitStatementsBeforeSuperCallWithDefineFields.js index 5884c389455d1..4acd65514d779 100644 --- a/tests/baselines/reference/emitStatementsBeforeSuperCallWithDefineFields.js +++ b/tests/baselines/reference/emitStatementsBeforeSuperCallWithDefineFields.js @@ -24,6 +24,7 @@ class Test extends Base { //// [emitStatementsBeforeSuperCallWithDefineFields.js] +"use strict"; class Base { } class Sub extends Base { diff --git a/tests/baselines/reference/emitSuperCallBeforeEmitParameterPropertyDeclaration1.js b/tests/baselines/reference/emitSuperCallBeforeEmitParameterPropertyDeclaration1.js index ecc0e1b15da1f..b1121d3acfee0 100644 --- a/tests/baselines/reference/emitSuperCallBeforeEmitParameterPropertyDeclaration1.js +++ b/tests/baselines/reference/emitSuperCallBeforeEmitParameterPropertyDeclaration1.js @@ -16,6 +16,7 @@ class B extends A { //// [emitSuperCallBeforeEmitParameterPropertyDeclaration1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/emitSuperCallBeforeEmitParameterPropertyDeclaration1ES6.js b/tests/baselines/reference/emitSuperCallBeforeEmitParameterPropertyDeclaration1ES6.js index e2a498b48293e..5a0b92499f5a6 100644 --- a/tests/baselines/reference/emitSuperCallBeforeEmitParameterPropertyDeclaration1ES6.js +++ b/tests/baselines/reference/emitSuperCallBeforeEmitParameterPropertyDeclaration1ES6.js @@ -16,6 +16,7 @@ class B extends A { //// [emitSuperCallBeforeEmitParameterPropertyDeclaration1ES6.js] +"use strict"; class A { constructor() { this.blub = 6; diff --git a/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclaration1.js b/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclaration1.js index b86293a11ab64..47b4f53a90f02 100644 --- a/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclaration1.js +++ b/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclaration1.js @@ -18,6 +18,7 @@ class B extends A { } //// [emitSuperCallBeforeEmitPropertyDeclaration1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclaration1ES6.js b/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclaration1ES6.js index 5b25df611bf13..6273a98dfea15 100644 --- a/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclaration1ES6.js +++ b/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclaration1ES6.js @@ -17,6 +17,7 @@ class B extends A { } //// [emitSuperCallBeforeEmitPropertyDeclaration1ES6.js] +"use strict"; class A { constructor() { this.blub = 6; diff --git a/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js b/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js index ebf17a5fa7f26..10ba927a06d59 100644 --- a/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js +++ b/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js @@ -16,6 +16,7 @@ class B extends A { } //// [emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1ES6.js b/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1ES6.js index 331f8354543dd..e306ecdb8d931 100644 --- a/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1ES6.js +++ b/tests/baselines/reference/emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1ES6.js @@ -16,6 +16,7 @@ class B extends A { } //// [emitSuperCallBeforeEmitPropertyDeclarationAndParameterPropertyDeclaration1ES6.js] +"use strict"; class A { constructor() { this.blub = 6; diff --git a/tests/baselines/reference/emitThisInObjectLiteralGetter.js b/tests/baselines/reference/emitThisInObjectLiteralGetter.js index 6823d39e252bd..0c2812b8a1adf 100644 --- a/tests/baselines/reference/emitThisInObjectLiteralGetter.js +++ b/tests/baselines/reference/emitThisInObjectLiteralGetter.js @@ -9,6 +9,7 @@ const example = { //// [emitThisInObjectLiteralGetter.js] +"use strict"; var example = { get foo() { var _this = this; diff --git a/tests/baselines/reference/emitThisInSuperMethodCall.js b/tests/baselines/reference/emitThisInSuperMethodCall.js index 038e3d87b8e2a..cb4a2362b67c1 100644 --- a/tests/baselines/reference/emitThisInSuperMethodCall.js +++ b/tests/baselines/reference/emitThisInSuperMethodCall.js @@ -30,6 +30,7 @@ class RegisteredUser extends User { //// [emitThisInSuperMethodCall.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/emitTopOfFileTripleSlashCommentOnNotEmittedNodeIfRemoveCommentsIsFalse.js b/tests/baselines/reference/emitTopOfFileTripleSlashCommentOnNotEmittedNodeIfRemoveCommentsIsFalse.js index 387f700e8e98c..bee72cbb4d202 100644 --- a/tests/baselines/reference/emitTopOfFileTripleSlashCommentOnNotEmittedNodeIfRemoveCommentsIsFalse.js +++ b/tests/baselines/reference/emitTopOfFileTripleSlashCommentOnNotEmittedNodeIfRemoveCommentsIsFalse.js @@ -14,6 +14,8 @@ interface F { } //// [file0.js] +"use strict"; var x = 10; //// [file1.js] +"use strict"; /// diff --git a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.js b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.js index 34333f4d0bc8e..e41b71de25975 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.js +++ b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2015.js @@ -61,6 +61,7 @@ class C9 extends B9 { //// [C1.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -81,6 +82,7 @@ class C1 { } } //// [C2.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -102,6 +104,7 @@ class C2 { } } //// [C3.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -123,6 +126,7 @@ class C3 { } } //// [C4.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -156,6 +160,7 @@ class C4 { } } //// [C5.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -189,6 +194,7 @@ class C5 { } } //// [C6.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -210,6 +216,7 @@ class C6 { } } //// [C7.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -231,6 +238,7 @@ class C7 { } } //// [C8.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -254,6 +262,7 @@ class C8 { } } //// [C9.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); diff --git a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2018.js b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2018.js index 6fcebafdd45ac..819c7c8b56696 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2018.js +++ b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es2018.js @@ -61,47 +61,55 @@ class C9 extends B9 { //// [C1.js] +"use strict"; class C1 { async *f() { } } //// [C2.js] +"use strict"; class C2 { async *f() { const x = yield; } } //// [C3.js] +"use strict"; class C3 { async *f() { const x = yield 1; } } //// [C4.js] +"use strict"; class C4 { async *f() { const x = yield* [1]; } } //// [C5.js] +"use strict"; class C5 { async *f() { const x = yield* (async function* () { yield 1; })(); } } //// [C6.js] +"use strict"; class C6 { async *f() { const x = await 1; } } //// [C7.js] +"use strict"; class C7 { async *f() { return 1; } } //// [C8.js] +"use strict"; class C8 { g() { } @@ -110,6 +118,7 @@ class C8 { } } //// [C9.js] +"use strict"; class B9 { g() { } } diff --git a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js index d39903e283504..23a3065261b9a 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.classMethods.es5.js @@ -61,6 +61,7 @@ class C9 extends B9 { //// [C1.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -114,6 +115,7 @@ var C1 = /** @class */ (function () { return C1; }()); //// [C2.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -174,6 +176,7 @@ var C2 = /** @class */ (function () { return C2; }()); //// [C3.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -234,6 +237,7 @@ var C3 = /** @class */ (function () { return C3; }()); //// [C4.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -317,6 +321,7 @@ var C4 = /** @class */ (function () { return C4; }()); //// [C5.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -408,6 +413,7 @@ var C5 = /** @class */ (function () { return C5; }()); //// [C6.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -467,6 +473,7 @@ var C6 = /** @class */ (function () { return C6; }()); //// [C7.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -523,6 +530,7 @@ var C7 = /** @class */ (function () { return C7; }()); //// [C8.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -579,6 +587,7 @@ var C8 = /** @class */ (function () { return C8; }()); //// [C9.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.js b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.js index 2271510771807..e608bbdc760ba 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2015.js @@ -30,6 +30,7 @@ async function * f7() { //// [F1.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -48,6 +49,7 @@ function f1() { }); } //// [F2.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -67,6 +69,7 @@ function f2() { }); } //// [F3.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -86,6 +89,7 @@ function f3() { }); } //// [F4.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -117,6 +121,7 @@ function f4() { }); } //// [F5.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -148,6 +153,7 @@ function f5() { }); } //// [F6.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -167,6 +173,7 @@ function f6() { }); } //// [F7.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2018.js b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2018.js index 6937d84f276c9..97750cd2e167b 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2018.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es2018.js @@ -30,29 +30,36 @@ async function * f7() { //// [F1.js] +"use strict"; async function* f1() { } //// [F2.js] +"use strict"; async function* f2() { const x = yield; } //// [F3.js] +"use strict"; async function* f3() { const x = yield 1; } //// [F4.js] +"use strict"; async function* f4() { const x = yield* [1]; } //// [F5.js] +"use strict"; async function* f5() { const x = yield* (async function* () { yield 1; })(); } //// [F6.js] +"use strict"; async function* f6() { const x = await 1; } //// [F7.js] +"use strict"; async function* f7() { return 1; } diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js index a129d13003af0..ba085d7ae90df 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionDeclarations.es5.js @@ -30,6 +30,7 @@ async function * f7() { //// [F1.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -78,6 +79,7 @@ function f1() { }); } //// [F2.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -133,6 +135,7 @@ function f2() { }); } //// [F3.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -188,6 +191,7 @@ function f3() { }); } //// [F4.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -266,6 +270,7 @@ function f4() { }); } //// [F5.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -352,6 +357,7 @@ function f5() { }); } //// [F6.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -406,6 +412,7 @@ function f6() { }); } //// [F7.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.js b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.js index 88ae6f0e40597..881c8e9aada04 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2015.js @@ -30,6 +30,7 @@ const f7 = async function * () { //// [F1.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -48,6 +49,7 @@ const f1 = function () { }); }; //// [F2.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -67,6 +69,7 @@ const f2 = function () { }); }; //// [F3.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -86,6 +89,7 @@ const f3 = function () { }); }; //// [F4.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -117,6 +121,7 @@ const f4 = function () { }); }; //// [F5.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -148,6 +153,7 @@ const f5 = function () { }); }; //// [F6.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -167,6 +173,7 @@ const f6 = function () { }); }; //// [F7.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2018.js b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2018.js index f9be141c5b2d3..51f7a2f65966d 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2018.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es2018.js @@ -30,29 +30,36 @@ const f7 = async function * () { //// [F1.js] +"use strict"; const f1 = async function* () { }; //// [F2.js] +"use strict"; const f2 = async function* () { const x = yield; }; //// [F3.js] +"use strict"; const f3 = async function* () { const x = yield 1; }; //// [F4.js] +"use strict"; const f4 = async function* () { const x = yield* [1]; }; //// [F5.js] +"use strict"; const f5 = async function* () { const x = yield* (async function* () { yield 1; })(); }; //// [F6.js] +"use strict"; const f6 = async function* () { const x = await 1; }; //// [F7.js] +"use strict"; const f7 = async function* () { return 1; }; diff --git a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js index e4076be6c7a0b..94653f74a81a2 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.functionExpressions.es5.js @@ -30,6 +30,7 @@ const f7 = async function * () { //// [F1.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -78,6 +79,7 @@ var f1 = function () { }); }; //// [F2.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -133,6 +135,7 @@ var f2 = function () { }); }; //// [F3.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -188,6 +191,7 @@ var f3 = function () { }); }; //// [F4.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -266,6 +270,7 @@ var f4 = function () { }); }; //// [F5.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -352,6 +357,7 @@ var f5 = function () { }); }; //// [F6.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -406,6 +412,7 @@ var f6 = function () { }); }; //// [F7.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; diff --git a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.js b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.js index e24410353e555..61a512b686800 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.js +++ b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2015.js @@ -44,6 +44,7 @@ const o7 = { //// [O1.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -64,6 +65,7 @@ const o1 = { } }; //// [O2.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -85,6 +87,7 @@ const o2 = { } }; //// [O3.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -106,6 +109,7 @@ const o3 = { } }; //// [O4.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -139,6 +143,7 @@ const o4 = { } }; //// [O5.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -172,6 +177,7 @@ const o5 = { } }; //// [O6.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); @@ -193,6 +199,7 @@ const o6 = { } }; //// [O7.js] +"use strict"; var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); } var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); diff --git a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2018.js b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2018.js index 765e6a2fdfaa1..9b1700ba8b756 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2018.js +++ b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es2018.js @@ -44,41 +44,48 @@ const o7 = { //// [O1.js] +"use strict"; const o1 = { async *f() { } }; //// [O2.js] +"use strict"; const o2 = { async *f() { const x = yield; } }; //// [O3.js] +"use strict"; const o3 = { async *f() { const x = yield 1; } }; //// [O4.js] +"use strict"; const o4 = { async *f() { const x = yield* [1]; } }; //// [O5.js] +"use strict"; const o5 = { async *f() { const x = yield* (async function* () { yield 1; })(); } }; //// [O6.js] +"use strict"; const o6 = { async *f() { const x = await 1; } }; //// [O7.js] +"use strict"; const o7 = { async *f() { return 1; diff --git a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js index 194c26f59da1f..4cf06b6c773a4 100644 --- a/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js +++ b/tests/baselines/reference/emitter.asyncGenerators.objectLiteralMethods.es5.js @@ -44,6 +44,7 @@ const o7 = { //// [O1.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -94,6 +95,7 @@ var o1 = { } }; //// [O2.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -151,6 +153,7 @@ var o2 = { } }; //// [O3.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -208,6 +211,7 @@ var o3 = { } }; //// [O4.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -288,6 +292,7 @@ var o4 = { } }; //// [O5.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -376,6 +381,7 @@ var o5 = { } }; //// [O6.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -432,6 +438,7 @@ var o6 = { } }; //// [O7.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; diff --git a/tests/baselines/reference/emitter.forAwait(target=es2015).js b/tests/baselines/reference/emitter.forAwait(target=es2015).js index 1fe4ae6da47bd..9a1cde748a55c 100644 --- a/tests/baselines/reference/emitter.forAwait(target=es2015).js +++ b/tests/baselines/reference/emitter.forAwait(target=es2015).js @@ -51,6 +51,7 @@ async function* f7() { } //// [file1.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -88,6 +89,7 @@ function f1() { }); } //// [file2.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -125,6 +127,7 @@ function f2() { }); } //// [file3.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -166,6 +169,7 @@ function f3() { }); } //// [file4.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -207,6 +211,7 @@ function f4() { }); } //// [file5.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -246,6 +251,7 @@ function f5() { }); } //// [file6.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -289,6 +295,7 @@ function f6() { }); } //// [file7.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; diff --git a/tests/baselines/reference/emitter.forAwait(target=es2017).js b/tests/baselines/reference/emitter.forAwait(target=es2017).js index 76499a01b26fe..20a9bd65b4c48 100644 --- a/tests/baselines/reference/emitter.forAwait(target=es2017).js +++ b/tests/baselines/reference/emitter.forAwait(target=es2017).js @@ -51,6 +51,7 @@ async function* f7() { } //// [file1.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -77,6 +78,7 @@ async function f1() { } } //// [file2.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -103,6 +105,7 @@ async function f2() { } } //// [file3.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -144,6 +147,7 @@ function f3() { }); } //// [file4.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -185,6 +189,7 @@ function f4() { }); } //// [file5.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -213,6 +218,7 @@ async function f5() { } } //// [file6.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; @@ -256,6 +262,7 @@ function f6() { }); } //// [file7.js] +"use strict"; var __asyncValues = (this && this.__asyncValues) || function (o) { if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined."); var m = o[Symbol.asyncIterator], i; diff --git a/tests/baselines/reference/emitter.forAwait(target=es2018).js b/tests/baselines/reference/emitter.forAwait(target=es2018).js index f111d9d4bc1d1..0af934b8a7097 100644 --- a/tests/baselines/reference/emitter.forAwait(target=es2018).js +++ b/tests/baselines/reference/emitter.forAwait(target=es2018).js @@ -51,30 +51,35 @@ async function* f7() { } //// [file1.js] +"use strict"; async function f1() { let y; for await (const x of y) { } } //// [file2.js] +"use strict"; async function f2() { let x, y; for await (x of y) { } } //// [file3.js] +"use strict"; async function* f3() { let y; for await (const x of y) { } } //// [file4.js] +"use strict"; async function* f4() { let x, y; for await (x of y) { } } //// [file5.js] +"use strict"; // https://github.com/Microsoft/TypeScript/issues/21363 async function f5() { let y; @@ -83,6 +88,7 @@ async function f5() { } } //// [file6.js] +"use strict"; // https://github.com/Microsoft/TypeScript/issues/21363 async function* f6() { let y; @@ -91,6 +97,7 @@ async function* f6() { } } //// [file7.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36166 async function* f7() { let y; diff --git a/tests/baselines/reference/emitter.forAwait(target=es5).js b/tests/baselines/reference/emitter.forAwait(target=es5).js index 212f6b4eeb990..b006d59a25706 100644 --- a/tests/baselines/reference/emitter.forAwait(target=es5).js +++ b/tests/baselines/reference/emitter.forAwait(target=es5).js @@ -51,6 +51,7 @@ async function* f7() { } //// [file1.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -137,6 +138,7 @@ function f1() { }); } //// [file2.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -223,6 +225,7 @@ function f2() { }); } //// [file3.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -313,6 +316,7 @@ function f3() { }); } //// [file4.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -403,6 +407,7 @@ function f4() { }); } //// [file5.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -490,6 +495,7 @@ function f5() { }); } //// [file6.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -581,6 +587,7 @@ function f6() { }); } //// [file7.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; diff --git a/tests/baselines/reference/emitter.noCatchBinding.es2019.js b/tests/baselines/reference/emitter.noCatchBinding.es2019.js index f31b8563aa805..801a82ddf9740 100644 --- a/tests/baselines/reference/emitter.noCatchBinding.es2019.js +++ b/tests/baselines/reference/emitter.noCatchBinding.es2019.js @@ -11,6 +11,7 @@ function f() { //// [emitter.noCatchBinding.es2019.js] +"use strict"; function f() { try { } catch { } diff --git a/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=false).js b/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=false).js index 828ad20bd4e0a..301f716957ad4 100644 --- a/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=false).js +++ b/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=false).js @@ -77,6 +77,7 @@ const foo = (value: unknown): string => { //// [emptyAnonymousObjectNarrowing.js] +"use strict"; if (nonNull === "foo") { nonNull; } diff --git a/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=true).js b/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=true).js index 828ad20bd4e0a..301f716957ad4 100644 --- a/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=true).js +++ b/tests/baselines/reference/emptyAnonymousObjectNarrowing(strictnullchecks=true).js @@ -77,6 +77,7 @@ const foo = (value: unknown): string => { //// [emptyAnonymousObjectNarrowing.js] +"use strict"; if (nonNull === "foo") { nonNull; } diff --git a/tests/baselines/reference/emptyArgumentsListComment.js b/tests/baselines/reference/emptyArgumentsListComment.js index 49cb562b57bc7..6863a5dcce5d9 100644 --- a/tests/baselines/reference/emptyArgumentsListComment.js +++ b/tests/baselines/reference/emptyArgumentsListComment.js @@ -14,6 +14,7 @@ a( //// [emptyArgumentsListComment.js] +"use strict"; a( /*1*/); a( /*first*/ diff --git a/tests/baselines/reference/emptyArrayBindingPatternParameter01.js b/tests/baselines/reference/emptyArrayBindingPatternParameter01.js index ac0c9c7dbd456..8262eb80779a8 100644 --- a/tests/baselines/reference/emptyArrayBindingPatternParameter01.js +++ b/tests/baselines/reference/emptyArrayBindingPatternParameter01.js @@ -6,6 +6,7 @@ function f([]) { } //// [emptyArrayBindingPatternParameter01.js] +"use strict"; function f(_a) { var x, y, z; } diff --git a/tests/baselines/reference/emptyArrayBindingPatternParameter02.js b/tests/baselines/reference/emptyArrayBindingPatternParameter02.js index ee21e23313027..e26c86e419d14 100644 --- a/tests/baselines/reference/emptyArrayBindingPatternParameter02.js +++ b/tests/baselines/reference/emptyArrayBindingPatternParameter02.js @@ -6,6 +6,7 @@ function f(a, []) { } //// [emptyArrayBindingPatternParameter02.js] +"use strict"; function f(a, _a) { var x, y, z; } diff --git a/tests/baselines/reference/emptyArrayBindingPatternParameter03.js b/tests/baselines/reference/emptyArrayBindingPatternParameter03.js index 829fe41a8c059..a7430f3d103f8 100644 --- a/tests/baselines/reference/emptyArrayBindingPatternParameter03.js +++ b/tests/baselines/reference/emptyArrayBindingPatternParameter03.js @@ -6,6 +6,7 @@ function f(a, []) { } //// [emptyArrayBindingPatternParameter03.js] +"use strict"; function f(a, _a) { var x, y, z; } diff --git a/tests/baselines/reference/emptyArrayBindingPatternParameter04.js b/tests/baselines/reference/emptyArrayBindingPatternParameter04.js index f3e917dbf73ec..04b7329c7f94f 100644 --- a/tests/baselines/reference/emptyArrayBindingPatternParameter04.js +++ b/tests/baselines/reference/emptyArrayBindingPatternParameter04.js @@ -6,6 +6,7 @@ function f([] = [1,2,3,4]) { } //// [emptyArrayBindingPatternParameter04.js] +"use strict"; function f(_a) { _a = [1, 2, 3, 4]; var x, y, z; diff --git a/tests/baselines/reference/emptyArrayDestructuringExpressionVisitedByTransformer.js b/tests/baselines/reference/emptyArrayDestructuringExpressionVisitedByTransformer.js index dd9d4cb2988d7..9938482459874 100644 --- a/tests/baselines/reference/emptyArrayDestructuringExpressionVisitedByTransformer.js +++ b/tests/baselines/reference/emptyArrayDestructuringExpressionVisitedByTransformer.js @@ -5,5 +5,6 @@ var a = [] = [1].map(_ => _); var b = [1].map(_ => _); //// [emptyArrayDestructuringExpressionVisitedByTransformer.js] +"use strict"; var a = [1].map(function (_) { return _; }); var b = [1].map(function (_) { return _; }); diff --git a/tests/baselines/reference/emptyAssignmentPatterns01_ES5.js b/tests/baselines/reference/emptyAssignmentPatterns01_ES5.js index 0111ccbe6d416..3f54919e78368 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns01_ES5.js +++ b/tests/baselines/reference/emptyAssignmentPatterns01_ES5.js @@ -9,6 +9,7 @@ var a: any; var [,] = [1,2]; //// [emptyAssignmentPatterns01_ES5.js] +"use strict"; var a; (a); (a); diff --git a/tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable.js b/tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable.js index cb219feafdf71..fdbcb35af3527 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable.js +++ b/tests/baselines/reference/emptyAssignmentPatterns01_ES5iterable.js @@ -7,6 +7,7 @@ var a: any; ([] = a); //// [emptyAssignmentPatterns01_ES5iterable.js] +"use strict"; var a; (a); (a); diff --git a/tests/baselines/reference/emptyAssignmentPatterns01_ES6.js b/tests/baselines/reference/emptyAssignmentPatterns01_ES6.js index 01fb731afd5a3..f9ca46c377605 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns01_ES6.js +++ b/tests/baselines/reference/emptyAssignmentPatterns01_ES6.js @@ -7,6 +7,7 @@ var a: any; ([] = a); //// [emptyAssignmentPatterns01_ES6.js] +"use strict"; var a; ({} = a); ([] = a); diff --git a/tests/baselines/reference/emptyAssignmentPatterns02_ES5.js b/tests/baselines/reference/emptyAssignmentPatterns02_ES5.js index 59480e7059a92..0e33828e302b4 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns02_ES5.js +++ b/tests/baselines/reference/emptyAssignmentPatterns02_ES5.js @@ -8,6 +8,7 @@ let x, y, z, a1, a2, a3; ([] = [ a1, a2, a3] = a); //// [emptyAssignmentPatterns02_ES5.js] +"use strict"; var a; var x, y, z, a1, a2, a3; (x = a.x, y = a.y, z = a.z); diff --git a/tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable.js b/tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable.js index cfa5415248919..d60c4913b62f1 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable.js +++ b/tests/baselines/reference/emptyAssignmentPatterns02_ES5iterable.js @@ -8,6 +8,7 @@ let x, y, z, a1, a2, a3; ([] = [ a1, a2, a3] = a); //// [emptyAssignmentPatterns02_ES5iterable.js] +"use strict"; var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; diff --git a/tests/baselines/reference/emptyAssignmentPatterns02_ES6.js b/tests/baselines/reference/emptyAssignmentPatterns02_ES6.js index 0688d2b9bf896..e7276a920e0b1 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns02_ES6.js +++ b/tests/baselines/reference/emptyAssignmentPatterns02_ES6.js @@ -8,6 +8,7 @@ let x, y, z, a1, a2, a3; ([] = [ a1, a2, a3] = a); //// [emptyAssignmentPatterns02_ES6.js] +"use strict"; var a; let x, y, z, a1, a2, a3; ({} = { x, y, z } = a); diff --git a/tests/baselines/reference/emptyAssignmentPatterns03_ES5.js b/tests/baselines/reference/emptyAssignmentPatterns03_ES5.js index b686d8bde9c23..b2542d683fe45 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns03_ES5.js +++ b/tests/baselines/reference/emptyAssignmentPatterns03_ES5.js @@ -7,6 +7,7 @@ var a: any; ([] = [] = a); //// [emptyAssignmentPatterns03_ES5.js] +"use strict"; var a; (a); (a); diff --git a/tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable.js b/tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable.js index f6c457b387053..5b8b674c7fcdf 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable.js +++ b/tests/baselines/reference/emptyAssignmentPatterns03_ES5iterable.js @@ -7,6 +7,7 @@ var a: any; ([] = [] = a); //// [emptyAssignmentPatterns03_ES5iterable.js] +"use strict"; var a; (a); (a); diff --git a/tests/baselines/reference/emptyAssignmentPatterns03_ES6.js b/tests/baselines/reference/emptyAssignmentPatterns03_ES6.js index 088d3739dc951..0f5a7d99fdda0 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns03_ES6.js +++ b/tests/baselines/reference/emptyAssignmentPatterns03_ES6.js @@ -7,6 +7,7 @@ var a: any; ([] = [] = a); //// [emptyAssignmentPatterns03_ES6.js] +"use strict"; var a; ({} = {} = a); ([] = [] = a); diff --git a/tests/baselines/reference/emptyAssignmentPatterns04_ES5.js b/tests/baselines/reference/emptyAssignmentPatterns04_ES5.js index a66a788adba64..d3477945637d4 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns04_ES5.js +++ b/tests/baselines/reference/emptyAssignmentPatterns04_ES5.js @@ -8,6 +8,7 @@ let x, y, z, a1, a2, a3; ([ a1, a2, a3] = [] = a); //// [emptyAssignmentPatterns04_ES5.js] +"use strict"; var a; var x, y, z, a1, a2, a3; (x = a.x, y = a.y, z = a.z); diff --git a/tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable.js b/tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable.js index 909c0789f3868..12363f829b9ec 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable.js +++ b/tests/baselines/reference/emptyAssignmentPatterns04_ES5iterable.js @@ -8,6 +8,7 @@ let x, y, z, a1, a2, a3; ([ a1, a2, a3] = [] = a); //// [emptyAssignmentPatterns04_ES5iterable.js] +"use strict"; var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; diff --git a/tests/baselines/reference/emptyAssignmentPatterns04_ES6.js b/tests/baselines/reference/emptyAssignmentPatterns04_ES6.js index 959b71e7a746d..a9841f2b331b3 100644 --- a/tests/baselines/reference/emptyAssignmentPatterns04_ES6.js +++ b/tests/baselines/reference/emptyAssignmentPatterns04_ES6.js @@ -8,6 +8,7 @@ let x, y, z, a1, a2, a3; ([ a1, a2, a3] = [] = a); //// [emptyAssignmentPatterns04_ES6.js] +"use strict"; var a; let x, y, z, a1, a2, a3; ({ x, y, z } = {} = a); diff --git a/tests/baselines/reference/emptyEnum.js b/tests/baselines/reference/emptyEnum.js index 1aac1ff6990fe..5437db4d5be78 100644 --- a/tests/baselines/reference/emptyEnum.js +++ b/tests/baselines/reference/emptyEnum.js @@ -5,6 +5,7 @@ enum E { } //// [emptyEnum.js] +"use strict"; var E; (function (E) { })(E || (E = {})); diff --git a/tests/baselines/reference/emptyExpr.js b/tests/baselines/reference/emptyExpr.js index ea99882e1dea5..8ad7f37f47d3c 100644 --- a/tests/baselines/reference/emptyExpr.js +++ b/tests/baselines/reference/emptyExpr.js @@ -4,4 +4,5 @@ [{},] //// [emptyExpr.js] +"use strict"; [{},]; diff --git a/tests/baselines/reference/emptyFile-declaration.js b/tests/baselines/reference/emptyFile-declaration.js index 0a7a22bace23a..6ec44f128b798 100644 --- a/tests/baselines/reference/emptyFile-declaration.js +++ b/tests/baselines/reference/emptyFile-declaration.js @@ -4,6 +4,7 @@ //// [emptyFile-declaration.js] +"use strict"; //// [emptyFile-declaration.d.ts] diff --git a/tests/baselines/reference/emptyFile-souremap.js b/tests/baselines/reference/emptyFile-souremap.js index be3bbb703020b..0e9ae919b8f64 100644 --- a/tests/baselines/reference/emptyFile-souremap.js +++ b/tests/baselines/reference/emptyFile-souremap.js @@ -4,4 +4,5 @@ //// [emptyFile-souremap.js] +"use strict"; //# sourceMappingURL=emptyFile-souremap.js.map \ No newline at end of file diff --git a/tests/baselines/reference/emptyFile-souremap.js.map b/tests/baselines/reference/emptyFile-souremap.js.map index 11d6b10140628..5954608fdd201 100644 --- a/tests/baselines/reference/emptyFile-souremap.js.map +++ b/tests/baselines/reference/emptyFile-souremap.js.map @@ -1,3 +1,3 @@ //// [emptyFile-souremap.js.map] {"version":3,"file":"emptyFile-souremap.js","sourceRoot":"","sources":["emptyFile-souremap.ts"],"names":[],"mappings":""} -//// https://sokra.github.io/source-map-visualization#base64,Ly8jIHNvdXJjZU1hcHBpbmdVUkw9ZW1wdHlGaWxlLXNvdXJlbWFwLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wdHlGaWxlLXNvdXJlbWFwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZW1wdHlGaWxlLXNvdXJlbWFwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==, +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9ZW1wdHlGaWxlLXNvdXJlbWFwLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW1wdHlGaWxlLXNvdXJlbWFwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiZW1wdHlGaWxlLXNvdXJlbWFwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==, diff --git a/tests/baselines/reference/emptyFile-souremap.sourcemap.txt b/tests/baselines/reference/emptyFile-souremap.sourcemap.txt index a1e1d5d5ac57f..0e5a5f00a3010 100644 --- a/tests/baselines/reference/emptyFile-souremap.sourcemap.txt +++ b/tests/baselines/reference/emptyFile-souremap.sourcemap.txt @@ -4,4 +4,5 @@ mapUrl: emptyFile-souremap.js.map sourceRoot: sources: emptyFile-souremap.ts =================================================================== +>>>"use strict"; >>>//# sourceMappingURL=emptyFile-souremap.js.map \ No newline at end of file diff --git a/tests/baselines/reference/emptyFile.js b/tests/baselines/reference/emptyFile.js index fc6dfd3cde89f..dc902040215cf 100644 --- a/tests/baselines/reference/emptyFile.js +++ b/tests/baselines/reference/emptyFile.js @@ -4,3 +4,4 @@ //// [emptyFile.js] +"use strict"; diff --git a/tests/baselines/reference/emptyGenericParamList.js b/tests/baselines/reference/emptyGenericParamList.js index 7e3a6d4095a32..cc8ac85cef775 100644 --- a/tests/baselines/reference/emptyGenericParamList.js +++ b/tests/baselines/reference/emptyGenericParamList.js @@ -5,6 +5,7 @@ class I {} var x: I<>; //// [emptyGenericParamList.js] +"use strict"; var I = /** @class */ (function () { function I() { } diff --git a/tests/baselines/reference/emptyIndexer.js b/tests/baselines/reference/emptyIndexer.js index 46a1dc6126874..6bce80616f34a 100644 --- a/tests/baselines/reference/emptyIndexer.js +++ b/tests/baselines/reference/emptyIndexer.js @@ -15,5 +15,6 @@ var x: I2; var n = x[''].m(); // should not crash compiler //// [emptyIndexer.js] +"use strict"; var x; var n = x[''].m(); // should not crash compiler diff --git a/tests/baselines/reference/emptyMemberAccess.js b/tests/baselines/reference/emptyMemberAccess.js index 5afe1de78f553..00d689311c947 100644 --- a/tests/baselines/reference/emptyMemberAccess.js +++ b/tests/baselines/reference/emptyMemberAccess.js @@ -9,6 +9,7 @@ function getObj() { //// [emptyMemberAccess.js] +"use strict"; function getObj() { ().toString(); } diff --git a/tests/baselines/reference/emptyObjectBindingPatternParameter01.js b/tests/baselines/reference/emptyObjectBindingPatternParameter01.js index e70b48f9ac401..d5c9925285a67 100644 --- a/tests/baselines/reference/emptyObjectBindingPatternParameter01.js +++ b/tests/baselines/reference/emptyObjectBindingPatternParameter01.js @@ -6,6 +6,7 @@ function f({}) { } //// [emptyObjectBindingPatternParameter01.js] +"use strict"; function f(_a) { var x, y, z; } diff --git a/tests/baselines/reference/emptyObjectBindingPatternParameter02.js b/tests/baselines/reference/emptyObjectBindingPatternParameter02.js index 10cf6eaacc11e..371ea2b580de7 100644 --- a/tests/baselines/reference/emptyObjectBindingPatternParameter02.js +++ b/tests/baselines/reference/emptyObjectBindingPatternParameter02.js @@ -6,6 +6,7 @@ function f(a, {}) { } //// [emptyObjectBindingPatternParameter02.js] +"use strict"; function f(a, _a) { var x, y, z; } diff --git a/tests/baselines/reference/emptyObjectBindingPatternParameter03.js b/tests/baselines/reference/emptyObjectBindingPatternParameter03.js index bb4f6686a32c7..e7588e2db1ca7 100644 --- a/tests/baselines/reference/emptyObjectBindingPatternParameter03.js +++ b/tests/baselines/reference/emptyObjectBindingPatternParameter03.js @@ -6,6 +6,7 @@ function f({}, a) { } //// [emptyObjectBindingPatternParameter03.js] +"use strict"; function f(_a, a) { var x, y, z; } diff --git a/tests/baselines/reference/emptyObjectBindingPatternParameter04.js b/tests/baselines/reference/emptyObjectBindingPatternParameter04.js index 95b684c3ce333..0c845c89240a3 100644 --- a/tests/baselines/reference/emptyObjectBindingPatternParameter04.js +++ b/tests/baselines/reference/emptyObjectBindingPatternParameter04.js @@ -6,6 +6,7 @@ function f({} = {a: 1, b: "2", c: true}) { } //// [emptyObjectBindingPatternParameter04.js] +"use strict"; function f(_a) { _a = { a: 1, b: "2", c: true }; var x, y, z; diff --git a/tests/baselines/reference/emptyThenWarning.js b/tests/baselines/reference/emptyThenWarning.js index 336e6caab211f..069c3ed2894b3 100644 --- a/tests/baselines/reference/emptyThenWarning.js +++ b/tests/baselines/reference/emptyThenWarning.js @@ -9,6 +9,7 @@ if (true === true); { } //// [emptyThenWarning.js] +"use strict"; if (1) ; var x = 0; diff --git a/tests/baselines/reference/emptyThenWithoutWarning.js b/tests/baselines/reference/emptyThenWithoutWarning.js index 23f9e0fcb0139..e2727fddba726 100644 --- a/tests/baselines/reference/emptyThenWithoutWarning.js +++ b/tests/baselines/reference/emptyThenWithoutWarning.js @@ -10,6 +10,7 @@ else { } //// [emptyThenWithoutWarning.js] +"use strict"; var a = 4; if (a === 1 || a === 2 || a === 3) { } diff --git a/tests/baselines/reference/emptyTuplesTypeAssertion01.js b/tests/baselines/reference/emptyTuplesTypeAssertion01.js index 2273a15fbc38e..b5fbe48635683 100644 --- a/tests/baselines/reference/emptyTuplesTypeAssertion01.js +++ b/tests/baselines/reference/emptyTuplesTypeAssertion01.js @@ -5,6 +5,7 @@ let x = <[]>[]; let y = x[0]; //// [emptyTuplesTypeAssertion01.js] +"use strict"; var x = []; var y = x[0]; diff --git a/tests/baselines/reference/emptyTuplesTypeAssertion02.js b/tests/baselines/reference/emptyTuplesTypeAssertion02.js index 31d09825b4002..1c2ec47d7fe14 100644 --- a/tests/baselines/reference/emptyTuplesTypeAssertion02.js +++ b/tests/baselines/reference/emptyTuplesTypeAssertion02.js @@ -5,6 +5,7 @@ let x = [] as []; let y = x[0]; //// [emptyTuplesTypeAssertion02.js] +"use strict"; var x = []; var y = x[0]; diff --git a/tests/baselines/reference/emptyTypeArgumentList.js b/tests/baselines/reference/emptyTypeArgumentList.js index f242ab619f083..6a22a94b26fde 100644 --- a/tests/baselines/reference/emptyTypeArgumentList.js +++ b/tests/baselines/reference/emptyTypeArgumentList.js @@ -9,6 +9,7 @@ function noParams() {} noParams<>(); //// [emptyTypeArgumentList.js] +"use strict"; function foo() { } foo(); // https://github.com/microsoft/TypeScript/issues/33041 diff --git a/tests/baselines/reference/emptyTypeArgumentListWithNew.js b/tests/baselines/reference/emptyTypeArgumentListWithNew.js index ecc44318da91e..daa6afbe3806c 100644 --- a/tests/baselines/reference/emptyTypeArgumentListWithNew.js +++ b/tests/baselines/reference/emptyTypeArgumentListWithNew.js @@ -9,6 +9,7 @@ class noParams {} new noParams<>(); //// [emptyTypeArgumentListWithNew.js] +"use strict"; var foo = /** @class */ (function () { function foo() { } diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5.js b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5.js index 51f2c66894e8e..683b35e15ef6c 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5.js +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5.js @@ -51,6 +51,7 @@ })(); //// [emptyVariableDeclarationBindingPatterns01_ES5.js] +"use strict"; (function () { var a; var _a = a; diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable.js b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable.js index 63891112197fe..20208bd9c7b59 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable.js +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES5iterable.js @@ -51,6 +51,7 @@ })(); //// [emptyVariableDeclarationBindingPatterns01_ES5iterable.js] +"use strict"; var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES6.js b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES6.js index d925529f4b9d1..64458064911fc 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES6.js +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns01_ES6.js @@ -51,6 +51,7 @@ })(); //// [emptyVariableDeclarationBindingPatterns01_ES6.js] +"use strict"; (function () { var a; var {} = a; diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5.js b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5.js index 215f6eef27873..45d7cf050d33b 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5.js +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5.js @@ -12,6 +12,7 @@ })(); //// [emptyVariableDeclarationBindingPatterns02_ES5.js] +"use strict"; (function () { var _a = void 0; var _b = void 0; diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable.js b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable.js index eefd744649250..c8301a58894cc 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable.js +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES5iterable.js @@ -12,6 +12,7 @@ })(); //// [emptyVariableDeclarationBindingPatterns02_ES5iterable.js] +"use strict"; var __read = (this && this.__read) || function (o, n) { var m = typeof Symbol === "function" && o[Symbol.iterator]; if (!m) return o; diff --git a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES6.js b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES6.js index 8dbdcb3193474..a3457571878e2 100644 --- a/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES6.js +++ b/tests/baselines/reference/emptyVariableDeclarationBindingPatterns02_ES6.js @@ -12,6 +12,7 @@ })(); //// [emptyVariableDeclarationBindingPatterns02_ES6.js] +"use strict"; (function () { var {}; let {}; diff --git a/tests/baselines/reference/enumAssignability.js b/tests/baselines/reference/enumAssignability.js index 870074686a0cf..34ad4163513ff 100644 --- a/tests/baselines/reference/enumAssignability.js +++ b/tests/baselines/reference/enumAssignability.js @@ -57,6 +57,7 @@ namespace Others { } //// [enumAssignability.js] +"use strict"; // enums assignable to number, any, Object, errors unless otherwise noted var E; (function (E) { diff --git a/tests/baselines/reference/enumAssignabilityInInheritance.js b/tests/baselines/reference/enumAssignabilityInInheritance.js index 839f1905aca39..93b8ef9da24f0 100644 --- a/tests/baselines/reference/enumAssignabilityInInheritance.js +++ b/tests/baselines/reference/enumAssignabilityInInheritance.js @@ -112,6 +112,7 @@ declare function foo17(x: E): E; var r4 = foo16(E.A); //// [enumAssignabilityInInheritance.js] +"use strict"; // enum is only a subtype of number, no types are subtypes of enum, all of these except the first are errors var E; (function (E) { diff --git a/tests/baselines/reference/enumAssignmentCompat.js b/tests/baselines/reference/enumAssignmentCompat.js index ab0b70f0f7fb8..dd8dae826efb6 100644 --- a/tests/baselines/reference/enumAssignmentCompat.js +++ b/tests/baselines/reference/enumAssignmentCompat.js @@ -41,6 +41,7 @@ W.D; var p: W.D; //// [enumAssignmentCompat.js] +"use strict"; var W; (function (W) { var D = /** @class */ (function () { diff --git a/tests/baselines/reference/enumAssignmentCompat2.js b/tests/baselines/reference/enumAssignmentCompat2.js index 4da32220f9c06..3ac40702350d3 100644 --- a/tests/baselines/reference/enumAssignmentCompat2.js +++ b/tests/baselines/reference/enumAssignmentCompat2.js @@ -40,6 +40,7 @@ W.D; var p: W.D; //// [enumAssignmentCompat2.js] +"use strict"; var W; (function (W) { W[W["a"] = 0] = "a"; diff --git a/tests/baselines/reference/enumAssignmentCompat3.js b/tests/baselines/reference/enumAssignmentCompat3.js index e8074dd7bdfb0..3bb3716fbbb28 100644 --- a/tests/baselines/reference/enumAssignmentCompat3.js +++ b/tests/baselines/reference/enumAssignmentCompat3.js @@ -92,6 +92,7 @@ abc = merged2; // ok merged2 = abc; // ok //// [enumAssignmentCompat3.js] +"use strict"; var First; (function (First) { var E; diff --git a/tests/baselines/reference/enumAssignmentCompat4.js b/tests/baselines/reference/enumAssignmentCompat4.js index 13806f7de7021..11ca33243fc6c 100644 --- a/tests/baselines/reference/enumAssignmentCompat4.js +++ b/tests/baselines/reference/enumAssignmentCompat4.js @@ -26,6 +26,7 @@ let broken = [ //// [enumAssignmentCompat4.js] +"use strict"; var M; (function (M) { var MyEnum; diff --git a/tests/baselines/reference/enumAssignmentCompat5.js b/tests/baselines/reference/enumAssignmentCompat5.js index 9c136b8b8c053..4b6d090756877 100644 --- a/tests/baselines/reference/enumAssignmentCompat5.js +++ b/tests/baselines/reference/enumAssignmentCompat5.js @@ -27,6 +27,7 @@ let ca: Computed.A = 1; // error, Computed.A isn't a literal type because Comput //// [enumAssignmentCompat5.js] +"use strict"; var E; (function (E) { E[E["A"] = 0] = "A"; diff --git a/tests/baselines/reference/enumAssignmentCompat6.js b/tests/baselines/reference/enumAssignmentCompat6.js index b1d3ebbd91694..b531066f342f2 100644 --- a/tests/baselines/reference/enumAssignmentCompat6.js +++ b/tests/baselines/reference/enumAssignmentCompat6.js @@ -79,6 +79,7 @@ export let x: DiagnosticCategory; })() //// [a.js] +"use strict"; var numerics; (function (numerics) { var DiagnosticCategory; diff --git a/tests/baselines/reference/enumBasics.js b/tests/baselines/reference/enumBasics.js index b1b0ba8a415bb..88cac58f505d3 100644 --- a/tests/baselines/reference/enumBasics.js +++ b/tests/baselines/reference/enumBasics.js @@ -83,6 +83,7 @@ var doPropagate = [ //// [enumBasics.js] +"use strict"; // Enum without initializers have first member = 0 and successive members = N + 1 var E1; (function (E1) { diff --git a/tests/baselines/reference/enumBasics1.js b/tests/baselines/reference/enumBasics1.js index 6b930276ffb6d..28745713c2691 100644 --- a/tests/baselines/reference/enumBasics1.js +++ b/tests/baselines/reference/enumBasics1.js @@ -40,6 +40,7 @@ enum E2 { // should error for continued autonumbering } //// [enumBasics1.js] +"use strict"; var E; (function (E) { E[E["A"] = 1] = "A"; diff --git a/tests/baselines/reference/enumBasics2.js b/tests/baselines/reference/enumBasics2.js index dae06d0378b41..f4de098ca8efb 100644 --- a/tests/baselines/reference/enumBasics2.js +++ b/tests/baselines/reference/enumBasics2.js @@ -18,6 +18,7 @@ enum Bar { //// [enumBasics2.js] +"use strict"; var Foo; (function (Foo) { Foo[Foo["a"] = 2] = "a"; diff --git a/tests/baselines/reference/enumBasics3.js b/tests/baselines/reference/enumBasics3.js index d2a8c21ad7922..b6c4640dbc47b 100644 --- a/tests/baselines/reference/enumBasics3.js +++ b/tests/baselines/reference/enumBasics3.js @@ -21,6 +21,7 @@ namespace M { //// [enumBasics3.js] +"use strict"; var M; (function (M) { var N; diff --git a/tests/baselines/reference/enumClassification.js b/tests/baselines/reference/enumClassification.js index bbf165352e513..d06ed87ad7046 100644 --- a/tests/baselines/reference/enumClassification.js +++ b/tests/baselines/reference/enumClassification.js @@ -82,6 +82,7 @@ enum E20 { //// [enumClassification.js] +"use strict"; // An enum type where each member has no initializer or an initializer that specififes // a numeric literal, a string literal, or a single identifier naming another member in // the enum type is classified as a literal enum type. An enum type that doesn't adhere diff --git a/tests/baselines/reference/enumCodeGenNewLines1.js b/tests/baselines/reference/enumCodeGenNewLines1.js index efa6746cd28f4..1b73785068c9e 100644 --- a/tests/baselines/reference/enumCodeGenNewLines1.js +++ b/tests/baselines/reference/enumCodeGenNewLines1.js @@ -9,6 +9,7 @@ enum foo { //// [enumCodeGenNewLines1.js] +"use strict"; var foo; (function (foo) { foo[foo["b"] = 1] = "b"; diff --git a/tests/baselines/reference/enumConflictsWithGlobalIdentifier.js b/tests/baselines/reference/enumConflictsWithGlobalIdentifier.js index ad82eb76a8c78..8638a01353e8a 100644 --- a/tests/baselines/reference/enumConflictsWithGlobalIdentifier.js +++ b/tests/baselines/reference/enumConflictsWithGlobalIdentifier.js @@ -9,6 +9,7 @@ var y = Position.IgnoreRulesSpecific; //// [enumConflictsWithGlobalIdentifier.js] +"use strict"; var Position; (function (Position) { Position[Position["IgnoreRulesSpecific"] = 0] = "IgnoreRulesSpecific"; diff --git a/tests/baselines/reference/enumConstantMemberWithString.js b/tests/baselines/reference/enumConstantMemberWithString.js index 693dbf90e5fae..498dd38e62d4a 100644 --- a/tests/baselines/reference/enumConstantMemberWithString.js +++ b/tests/baselines/reference/enumConstantMemberWithString.js @@ -36,6 +36,7 @@ declare enum T6 { //// [enumConstantMemberWithString.js] +"use strict"; var T1; (function (T1) { T1["a"] = "1"; diff --git a/tests/baselines/reference/enumConstantMemberWithStringEmitDeclaration.js b/tests/baselines/reference/enumConstantMemberWithStringEmitDeclaration.js index 95d44c8f8992d..39005bb7e45e2 100644 --- a/tests/baselines/reference/enumConstantMemberWithStringEmitDeclaration.js +++ b/tests/baselines/reference/enumConstantMemberWithStringEmitDeclaration.js @@ -32,6 +32,7 @@ declare enum T6 { //// [enumConstantMemberWithStringEmitDeclaration.js] +"use strict"; var T1; (function (T1) { T1["a"] = "1"; diff --git a/tests/baselines/reference/enumConstantMemberWithTemplateLiterals.js b/tests/baselines/reference/enumConstantMemberWithTemplateLiterals.js index 64135327ec0ff..798b17ceda857 100644 --- a/tests/baselines/reference/enumConstantMemberWithTemplateLiterals.js +++ b/tests/baselines/reference/enumConstantMemberWithTemplateLiterals.js @@ -47,6 +47,7 @@ declare enum T7 { //// [enumConstantMemberWithTemplateLiterals.js] +"use strict"; var T1; (function (T1) { T1["a"] = "1"; diff --git a/tests/baselines/reference/enumConstantMemberWithTemplateLiteralsEmitDeclaration.js b/tests/baselines/reference/enumConstantMemberWithTemplateLiteralsEmitDeclaration.js index ec719b386a8a4..0f4aa9f9846b9 100644 --- a/tests/baselines/reference/enumConstantMemberWithTemplateLiteralsEmitDeclaration.js +++ b/tests/baselines/reference/enumConstantMemberWithTemplateLiteralsEmitDeclaration.js @@ -43,6 +43,7 @@ declare enum T7 { //// [enumConstantMemberWithTemplateLiteralsEmitDeclaration.js] +"use strict"; var T1; (function (T1) { T1["a"] = "1"; diff --git a/tests/baselines/reference/enumConstantMembers.js b/tests/baselines/reference/enumConstantMembers.js index 30760c98f20e8..f38cf9b670690 100644 --- a/tests/baselines/reference/enumConstantMembers.js +++ b/tests/baselines/reference/enumConstantMembers.js @@ -43,6 +43,7 @@ const enum E6 { //// [enumConstantMembers.js] +"use strict"; // Constant members allow negatives, but not decimals. Also hex literals are allowed var E1; (function (E1) { diff --git a/tests/baselines/reference/enumDecl1.js b/tests/baselines/reference/enumDecl1.js index 5d90868cbd122..60fa4745958c2 100644 --- a/tests/baselines/reference/enumDecl1.js +++ b/tests/baselines/reference/enumDecl1.js @@ -11,6 +11,7 @@ declare namespace mAmbient { //// [enumDecl1.js] +"use strict"; //// [enumDecl1.d.ts] diff --git a/tests/baselines/reference/enumErrors.js b/tests/baselines/reference/enumErrors.js index 98acfc47a3e2a..2fb1d04d51922 100644 --- a/tests/baselines/reference/enumErrors.js +++ b/tests/baselines/reference/enumErrors.js @@ -57,6 +57,7 @@ enum E14 { a, b: any "hello" += 1, c, d} //// [enumErrors.js] +"use strict"; // Enum named with PredefinedTypes var any; (function (any) { diff --git a/tests/baselines/reference/enumGenericTypeClash.js b/tests/baselines/reference/enumGenericTypeClash.js index 402e544835281..329df9c9ac5e9 100644 --- a/tests/baselines/reference/enumGenericTypeClash.js +++ b/tests/baselines/reference/enumGenericTypeClash.js @@ -6,6 +6,7 @@ enum X { MyVal } //// [enumGenericTypeClash.js] +"use strict"; var X = /** @class */ (function () { function X() { } diff --git a/tests/baselines/reference/enumIdentifierLiterals.js b/tests/baselines/reference/enumIdentifierLiterals.js index 80c79759c747b..504f8185b44ca 100644 --- a/tests/baselines/reference/enumIdentifierLiterals.js +++ b/tests/baselines/reference/enumIdentifierLiterals.js @@ -10,6 +10,7 @@ enum Nums { } //// [enumIdentifierLiterals.js] +"use strict"; var Nums; (function (Nums) { Nums[Nums[1] = 0] = 1; diff --git a/tests/baselines/reference/enumIndexer.js b/tests/baselines/reference/enumIndexer.js index 6a88ef97d9c0c..649d60c38fabe 100644 --- a/tests/baselines/reference/enumIndexer.js +++ b/tests/baselines/reference/enumIndexer.js @@ -10,6 +10,7 @@ var x = _arr.map(o => MyEnumType[o.key] === enumValue); // these are not same ty //// [enumIndexer.js] +"use strict"; var MyEnumType; (function (MyEnumType) { MyEnumType[MyEnumType["foo"] = 0] = "foo"; diff --git a/tests/baselines/reference/enumInitializersWithExponents.js b/tests/baselines/reference/enumInitializersWithExponents.js index 3f53db73bade6..bbfa35d84c63c 100644 --- a/tests/baselines/reference/enumInitializersWithExponents.js +++ b/tests/baselines/reference/enumInitializersWithExponents.js @@ -12,3 +12,4 @@ declare enum E { } //// [enumInitializersWithExponents.js] +"use strict"; diff --git a/tests/baselines/reference/enumIsNotASubtypeOfAnythingButNumber.js b/tests/baselines/reference/enumIsNotASubtypeOfAnythingButNumber.js index 3b9aa210c7554..0a4bb34c5095e 100644 --- a/tests/baselines/reference/enumIsNotASubtypeOfAnythingButNumber.js +++ b/tests/baselines/reference/enumIsNotASubtypeOfAnythingButNumber.js @@ -133,6 +133,7 @@ interface I20 { } //// [enumIsNotASubtypeOfAnythingButNumber.js] +"use strict"; // enums are only subtypes of number, any and no other types var E; (function (E) { diff --git a/tests/baselines/reference/enumLiteralAssignableToEnumInsideUnion.js b/tests/baselines/reference/enumLiteralAssignableToEnumInsideUnion.js index 3a660f327ef3c..dac4f3925695f 100644 --- a/tests/baselines/reference/enumLiteralAssignableToEnumInsideUnion.js +++ b/tests/baselines/reference/enumLiteralAssignableToEnumInsideUnion.js @@ -32,6 +32,7 @@ const e5: Ka.Foo | boolean = Z.Foo.A; // ok //// [enumLiteralAssignableToEnumInsideUnion.js] +"use strict"; var X; (function (X) { var Foo; diff --git a/tests/baselines/reference/enumLiteralTypes1.js b/tests/baselines/reference/enumLiteralTypes1.js index 082e560c3f99c..e65482ab3b523 100644 --- a/tests/baselines/reference/enumLiteralTypes1.js +++ b/tests/baselines/reference/enumLiteralTypes1.js @@ -116,6 +116,7 @@ function f21(x: Item) { } //// [enumLiteralTypes1.js] +"use strict"; ; function f1() { var a; diff --git a/tests/baselines/reference/enumLiteralTypes2.js b/tests/baselines/reference/enumLiteralTypes2.js index b7da6e68d8a88..709edc7f28be3 100644 --- a/tests/baselines/reference/enumLiteralTypes2.js +++ b/tests/baselines/reference/enumLiteralTypes2.js @@ -116,6 +116,7 @@ function f21(x: Item) { } //// [enumLiteralTypes2.js] +"use strict"; ; function f1() { var a; diff --git a/tests/baselines/reference/enumLiteralTypes3.js b/tests/baselines/reference/enumLiteralTypes3.js index 3a0a371b493be..9ee6807ddfc09 100644 --- a/tests/baselines/reference/enumLiteralTypes3.js +++ b/tests/baselines/reference/enumLiteralTypes3.js @@ -122,6 +122,7 @@ function f13(x: Choice): Choice { } //// [enumLiteralTypes3.js] +"use strict"; ; function f1(a, b, c, d) { a = a; diff --git a/tests/baselines/reference/enumLiteralUnionNotWidened.js b/tests/baselines/reference/enumLiteralUnionNotWidened.js index 7348be13621c0..5e725601b7cb6 100644 --- a/tests/baselines/reference/enumLiteralUnionNotWidened.js +++ b/tests/baselines/reference/enumLiteralUnionNotWidened.js @@ -23,6 +23,7 @@ function fn1(x: C): List { return asList(x); } function fn2(x: D): List { return asList(x); } //// [enumLiteralUnionNotWidened.js] +"use strict"; // repro from #22093 var A; (function (A) { diff --git a/tests/baselines/reference/enumLiteralsSubtypeReduction.js b/tests/baselines/reference/enumLiteralsSubtypeReduction.js index b5520e807c0e4..072d5e7e9ae52 100644 --- a/tests/baselines/reference/enumLiteralsSubtypeReduction.js +++ b/tests/baselines/reference/enumLiteralsSubtypeReduction.js @@ -2058,6 +2058,7 @@ function run(a: number) { //// [enumLiteralsSubtypeReduction.js] +"use strict"; var E; (function (E) { E[E["E0"] = 0] = "E0"; diff --git a/tests/baselines/reference/enumMapBackIntoItself.js b/tests/baselines/reference/enumMapBackIntoItself.js index 1e769bad20152..da4d69ddac227 100644 --- a/tests/baselines/reference/enumMapBackIntoItself.js +++ b/tests/baselines/reference/enumMapBackIntoItself.js @@ -12,6 +12,7 @@ var test = TShirtSize[mySize]; test + '' //// [enumMapBackIntoItself.js] +"use strict"; var TShirtSize; (function (TShirtSize) { TShirtSize[TShirtSize["Small"] = 0] = "Small"; diff --git a/tests/baselines/reference/enumMemberResolution.js b/tests/baselines/reference/enumMemberResolution.js index 8bc62fb56cf43..3f111b62d38b6 100644 --- a/tests/baselines/reference/enumMemberResolution.js +++ b/tests/baselines/reference/enumMemberResolution.js @@ -10,6 +10,7 @@ var z = Position2.IgnoreRulesSpecific; // no error //// [enumMemberResolution.js] +"use strict"; var Position2; (function (Position2) { Position2[Position2["IgnoreRulesSpecific"] = 0] = "IgnoreRulesSpecific"; diff --git a/tests/baselines/reference/enumMerging.js b/tests/baselines/reference/enumMerging.js index f8a6121cdfd9c..c98c3d0f17138 100644 --- a/tests/baselines/reference/enumMerging.js +++ b/tests/baselines/reference/enumMerging.js @@ -69,6 +69,7 @@ namespace M6 { //// [enumMerging.js] +"use strict"; // Enum with only constant members across 2 declarations with the same root module // Enum with initializer in all declarations with constant members with the same root module var M1; diff --git a/tests/baselines/reference/enumMergingErrors.js b/tests/baselines/reference/enumMergingErrors.js index 2c2d29a4d1e2f..806e44ea63bb4 100644 --- a/tests/baselines/reference/enumMergingErrors.js +++ b/tests/baselines/reference/enumMergingErrors.js @@ -45,6 +45,7 @@ namespace M2 { //// [enumMergingErrors.js] +"use strict"; // Enum with constant, computed, constant members split across 3 declarations with the same root module var M; (function (M) { diff --git a/tests/baselines/reference/enumNegativeLiteral1.js b/tests/baselines/reference/enumNegativeLiteral1.js index 86465c9137910..740ad70550edf 100644 --- a/tests/baselines/reference/enumNegativeLiteral1.js +++ b/tests/baselines/reference/enumNegativeLiteral1.js @@ -7,6 +7,7 @@ enum E { //// [enumNegativeLiteral1.js] +"use strict"; var E; (function (E) { E[E["a"] = -5] = "a"; diff --git a/tests/baselines/reference/enumNumbering1.js b/tests/baselines/reference/enumNumbering1.js index dcecaea5e2216..743d372feacb9 100644 --- a/tests/baselines/reference/enumNumbering1.js +++ b/tests/baselines/reference/enumNumbering1.js @@ -11,6 +11,7 @@ enum Test { //// [enumNumbering1.js] +"use strict"; var Test; (function (Test) { Test[Test["A"] = 0] = "A"; diff --git a/tests/baselines/reference/enumOperations.js b/tests/baselines/reference/enumOperations.js index a67588deaf9a8..159de59e19201 100644 --- a/tests/baselines/reference/enumOperations.js +++ b/tests/baselines/reference/enumOperations.js @@ -19,6 +19,7 @@ enumType >>>anyType; //// [enumOperations.js] +"use strict"; var Enum; (function (Enum) { Enum[Enum["None"] = 0] = "None"; diff --git a/tests/baselines/reference/enumPropertyAccess.js b/tests/baselines/reference/enumPropertyAccess.js index e75bb30402a7b..409977838c624 100644 --- a/tests/baselines/reference/enumPropertyAccess.js +++ b/tests/baselines/reference/enumPropertyAccess.js @@ -17,6 +17,7 @@ function fill(f: B) { } //// [enumPropertyAccess.js] +"use strict"; var Colors; (function (Colors) { Colors[Colors["Red"] = 0] = "Red"; diff --git a/tests/baselines/reference/enumPropertyAccessBeforeInitalisation.js b/tests/baselines/reference/enumPropertyAccessBeforeInitalisation.js index 7d6bb9bc90110..65353c97e0526 100644 --- a/tests/baselines/reference/enumPropertyAccessBeforeInitalisation.js +++ b/tests/baselines/reference/enumPropertyAccessBeforeInitalisation.js @@ -10,6 +10,7 @@ enum E { //// [enumPropertyAccessBeforeInitalisation.js] +"use strict"; var E; (function (E) { E[E["A"] = E.A] = "A"; diff --git a/tests/baselines/reference/enumShadowedInfinityNaN.js b/tests/baselines/reference/enumShadowedInfinityNaN.js index f34162951efb1..6ba8ecac38d3e 100644 --- a/tests/baselines/reference/enumShadowedInfinityNaN.js +++ b/tests/baselines/reference/enumShadowedInfinityNaN.js @@ -19,6 +19,7 @@ //// [enumShadowedInfinityNaN.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/54981 { var Infinity_1 = {}; diff --git a/tests/baselines/reference/enumUsedBeforeDeclaration.js b/tests/baselines/reference/enumUsedBeforeDeclaration.js index bf3e5f70ff78d..6ee9a0b54e339 100644 --- a/tests/baselines/reference/enumUsedBeforeDeclaration.js +++ b/tests/baselines/reference/enumUsedBeforeDeclaration.js @@ -9,6 +9,7 @@ const enum ConstColor { Red, Green, Blue } //// [enumUsedBeforeDeclaration.js] +"use strict"; var v = Color.Green; var v2 = 1 /* ConstColor.Green */; var Color; diff --git a/tests/baselines/reference/enumWithBigint.js b/tests/baselines/reference/enumWithBigint.js index 9b8880af092a6..13abf25f483d7 100644 --- a/tests/baselines/reference/enumWithBigint.js +++ b/tests/baselines/reference/enumWithBigint.js @@ -7,6 +7,7 @@ enum E { //// [enumWithBigint.js] +"use strict"; var E; (function (E) { E[E[0n] = 0] = 0n; diff --git a/tests/baselines/reference/enumWithComputedMember.js b/tests/baselines/reference/enumWithComputedMember.js index 9db30dec9a26a..83af16f11a251 100644 --- a/tests/baselines/reference/enumWithComputedMember.js +++ b/tests/baselines/reference/enumWithComputedMember.js @@ -9,6 +9,7 @@ enum A { //// [enumWithComputedMember.js] +"use strict"; var A; (function (A) { A[A["X"] = "".length] = "X"; diff --git a/tests/baselines/reference/enumWithExport.js b/tests/baselines/reference/enumWithExport.js index 51b2dcd1d401c..e0776409911e2 100644 --- a/tests/baselines/reference/enumWithExport.js +++ b/tests/baselines/reference/enumWithExport.js @@ -9,6 +9,7 @@ enum x { } //// [enumWithExport.js] +"use strict"; var x; (function (x) { x.y = 123; diff --git a/tests/baselines/reference/enumWithInfinityProperty.js b/tests/baselines/reference/enumWithInfinityProperty.js index 3c6d3978807f3..7b1d04be96a51 100644 --- a/tests/baselines/reference/enumWithInfinityProperty.js +++ b/tests/baselines/reference/enumWithInfinityProperty.js @@ -7,6 +7,7 @@ enum A { //// [enumWithInfinityProperty.js] +"use strict"; var A; (function (A) { A[A["Infinity"] = 1] = "Infinity"; diff --git a/tests/baselines/reference/enumWithNaNProperty.js b/tests/baselines/reference/enumWithNaNProperty.js index 1c4f29c8cf43f..b6b52887db5f2 100644 --- a/tests/baselines/reference/enumWithNaNProperty.js +++ b/tests/baselines/reference/enumWithNaNProperty.js @@ -7,6 +7,7 @@ enum A { //// [enumWithNaNProperty.js] +"use strict"; var A; (function (A) { A[A["NaN"] = 1] = "NaN"; diff --git a/tests/baselines/reference/enumWithNegativeInfinityProperty.js b/tests/baselines/reference/enumWithNegativeInfinityProperty.js index c4604e6957f18..28dc986a0d308 100644 --- a/tests/baselines/reference/enumWithNegativeInfinityProperty.js +++ b/tests/baselines/reference/enumWithNegativeInfinityProperty.js @@ -7,6 +7,7 @@ enum A { //// [enumWithNegativeInfinityProperty.js] +"use strict"; var A; (function (A) { A[A["-Infinity"] = 1] = "-Infinity"; diff --git a/tests/baselines/reference/enumWithParenthesizedInitializer1.js b/tests/baselines/reference/enumWithParenthesizedInitializer1.js index cbd7c92cf4f19..b9bf5c58d5452 100644 --- a/tests/baselines/reference/enumWithParenthesizedInitializer1.js +++ b/tests/baselines/reference/enumWithParenthesizedInitializer1.js @@ -6,6 +6,7 @@ enum E { } //// [enumWithParenthesizedInitializer1.js] +"use strict"; var E; (function (E) { E[E["e"] = -3] = "e"; diff --git a/tests/baselines/reference/enumWithPrimitiveName.js b/tests/baselines/reference/enumWithPrimitiveName.js index 1dce4629638e1..7e2f87c5d539c 100644 --- a/tests/baselines/reference/enumWithPrimitiveName.js +++ b/tests/baselines/reference/enumWithPrimitiveName.js @@ -6,6 +6,7 @@ enum number { } enum any { } //// [enumWithPrimitiveName.js] +"use strict"; var string; (function (string) { })(string || (string = {})); diff --git a/tests/baselines/reference/enumWithQuotedElementName1.js b/tests/baselines/reference/enumWithQuotedElementName1.js index 46bd9a080767f..577ee2c7e534d 100644 --- a/tests/baselines/reference/enumWithQuotedElementName1.js +++ b/tests/baselines/reference/enumWithQuotedElementName1.js @@ -6,6 +6,7 @@ enum E { } //// [enumWithQuotedElementName1.js] +"use strict"; var E; (function (E) { E[E["fo\"o"] = 0] = "fo\"o"; diff --git a/tests/baselines/reference/enumWithQuotedElementName2.js b/tests/baselines/reference/enumWithQuotedElementName2.js index 817c2c343c24e..2fdc13a3da41e 100644 --- a/tests/baselines/reference/enumWithQuotedElementName2.js +++ b/tests/baselines/reference/enumWithQuotedElementName2.js @@ -6,6 +6,7 @@ enum E { } //// [enumWithQuotedElementName2.js] +"use strict"; var E; (function (E) { E[E["fo'o"] = 0] = "fo'o"; diff --git a/tests/baselines/reference/enumWithUnicodeEscape1.js b/tests/baselines/reference/enumWithUnicodeEscape1.js index 6cd3a92d0b045..73b84f2f092e4 100644 --- a/tests/baselines/reference/enumWithUnicodeEscape1.js +++ b/tests/baselines/reference/enumWithUnicodeEscape1.js @@ -7,6 +7,7 @@ enum E { //// [enumWithUnicodeEscape1.js] +"use strict"; var E; (function (E) { E[E["gold \u2730"] = 0] = "gold \u2730"; diff --git a/tests/baselines/reference/enumWithoutInitializerAfterComputedMember.js b/tests/baselines/reference/enumWithoutInitializerAfterComputedMember.js index 3b8d59625a4ab..02e7efef0348e 100644 --- a/tests/baselines/reference/enumWithoutInitializerAfterComputedMember.js +++ b/tests/baselines/reference/enumWithoutInitializerAfterComputedMember.js @@ -8,6 +8,7 @@ enum E { } //// [enumWithoutInitializerAfterComputedMember.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/enumsWithMultipleDeclarations1.js b/tests/baselines/reference/enumsWithMultipleDeclarations1.js index 16c637991c265..c526bf9299f32 100644 --- a/tests/baselines/reference/enumsWithMultipleDeclarations1.js +++ b/tests/baselines/reference/enumsWithMultipleDeclarations1.js @@ -14,6 +14,7 @@ enum E { } //// [enumsWithMultipleDeclarations1.js] +"use strict"; var E; (function (E) { E[E["A"] = 0] = "A"; diff --git a/tests/baselines/reference/enumsWithMultipleDeclarations2.js b/tests/baselines/reference/enumsWithMultipleDeclarations2.js index fbd1a5dbb2a86..29575f1303036 100644 --- a/tests/baselines/reference/enumsWithMultipleDeclarations2.js +++ b/tests/baselines/reference/enumsWithMultipleDeclarations2.js @@ -14,6 +14,7 @@ enum E { } //// [enumsWithMultipleDeclarations2.js] +"use strict"; var E; (function (E) { E[E["A"] = 0] = "A"; diff --git a/tests/baselines/reference/enumsWithMultipleDeclarations3.js b/tests/baselines/reference/enumsWithMultipleDeclarations3.js index d23017459463d..5425f04aecafd 100644 --- a/tests/baselines/reference/enumsWithMultipleDeclarations3.js +++ b/tests/baselines/reference/enumsWithMultipleDeclarations3.js @@ -9,6 +9,7 @@ enum E { } //// [enumsWithMultipleDeclarations3.js] +"use strict"; var E; (function (E) { E[E["A"] = 0] = "A"; diff --git a/tests/baselines/reference/equalityStrictNulls.js b/tests/baselines/reference/equalityStrictNulls.js index e2a9a507b5a24..8c512d64535f4 100644 --- a/tests/baselines/reference/equalityStrictNulls.js +++ b/tests/baselines/reference/equalityStrictNulls.js @@ -81,6 +81,7 @@ function f5(x: string) { //// [equalityStrictNulls.js] +"use strict"; function f1(x) { if (x == undefined) { } diff --git a/tests/baselines/reference/equalityWithIntersectionTypes01.js b/tests/baselines/reference/equalityWithIntersectionTypes01.js index 96f256fa57b5a..3edacc35585ab 100644 --- a/tests/baselines/reference/equalityWithIntersectionTypes01.js +++ b/tests/baselines/reference/equalityWithIntersectionTypes01.js @@ -27,6 +27,7 @@ else if (y != z || z != y) { } //// [equalityWithIntersectionTypes01.js] +"use strict"; var x = { p1: 10, p2: 20, p3: 30 }; var y = x; var z = x; diff --git a/tests/baselines/reference/equalityWithUnionTypes01.js b/tests/baselines/reference/equalityWithUnionTypes01.js index 59cbcebb3cc71..164c61083e191 100644 --- a/tests/baselines/reference/equalityWithUnionTypes01.js +++ b/tests/baselines/reference/equalityWithUnionTypes01.js @@ -23,6 +23,7 @@ else if (y != z || z != y) { } //// [equalityWithUnionTypes01.js] +"use strict"; var x = { p1: 10, p2: 20 }; var y = x; var z = x; diff --git a/tests/baselines/reference/equalityWithtNullishCoalescingAssignment(strict=false).js b/tests/baselines/reference/equalityWithtNullishCoalescingAssignment(strict=false).js index 97e082be8c7be..894ebe5258022 100644 --- a/tests/baselines/reference/equalityWithtNullishCoalescingAssignment(strict=false).js +++ b/tests/baselines/reference/equalityWithtNullishCoalescingAssignment(strict=false).js @@ -20,6 +20,7 @@ function f2() { //// [equalityWithtNullishCoalescingAssignment.js] +"use strict"; function f1(a) { a !== null && a !== void 0 ? a : (a = true); if (a === false) { diff --git a/tests/baselines/reference/erasableSyntaxOnly.js b/tests/baselines/reference/erasableSyntaxOnly.js index beb8262097152..81a1c5147c511 100644 --- a/tests/baselines/reference/erasableSyntaxOnly.js +++ b/tests/baselines/reference/erasableSyntaxOnly.js @@ -112,6 +112,7 @@ export default foo; //// [index.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; @@ -213,5 +214,6 @@ function gen() { var foo = require("./other.cjs"); module.exports = foo; //// [esm.mjs] +"use strict"; var foo = 1234; export default foo; diff --git a/tests/baselines/reference/erasableSyntaxOnly2.js b/tests/baselines/reference/erasableSyntaxOnly2.js index 132a9ff4941d3..85bd8540d5d3a 100644 --- a/tests/baselines/reference/erasableSyntaxOnly2.js +++ b/tests/baselines/reference/erasableSyntaxOnly2.js @@ -6,6 +6,7 @@ let b = undefined; //// [errorElaboration.js] +"use strict"; // Repro for #5712 foo(a); // Repro for #25498 diff --git a/tests/baselines/reference/errorElaborationDivesIntoApparentlyPresentPropsOnly.js b/tests/baselines/reference/errorElaborationDivesIntoApparentlyPresentPropsOnly.js index 5a1df25cde0a9..7e6f8487f2a19 100644 --- a/tests/baselines/reference/errorElaborationDivesIntoApparentlyPresentPropsOnly.js +++ b/tests/baselines/reference/errorElaborationDivesIntoApparentlyPresentPropsOnly.js @@ -15,6 +15,7 @@ function baz(x: T) { //// [errorElaborationDivesIntoApparentlyPresentPropsOnly.js] +"use strict"; function foo(x) { x = { a: "abc", b: 20, c: 30 }; } diff --git a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.js b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.js index bd111ce9e55b5..a41cb85d693b0 100644 --- a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.js +++ b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType01.js @@ -47,6 +47,7 @@ namespace Test5 { import lol = Test5.Foo. //// [errorForUsingPropertyOfTypeAsType01.js] +"use strict"; var Test1; (function (Test1) { var x = ""; diff --git a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.js b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.js index 7d628eca2aeab..9a17e67284ecc 100644 --- a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.js +++ b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType02.js @@ -8,6 +8,7 @@ namespace Test1 { } //// [errorForUsingPropertyOfTypeAsType02.js] +"use strict"; var Test1; (function (Test1) { function foo(x) { diff --git a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.js b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.js index e38be9c3416a1..06ee87eabb8e1 100644 --- a/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.js +++ b/tests/baselines/reference/errorForUsingPropertyOfTypeAsType03.js @@ -29,6 +29,7 @@ namespace Test1 { } //// [errorForUsingPropertyOfTypeAsType03.js] +"use strict"; var Test1; (function (Test1) { var Color; diff --git a/tests/baselines/reference/errorForwardReferenceForwadingConstructor.js b/tests/baselines/reference/errorForwardReferenceForwadingConstructor.js index c17cc4bb2bfdf..8419f6c8cb9d5 100644 --- a/tests/baselines/reference/errorForwardReferenceForwadingConstructor.js +++ b/tests/baselines/reference/errorForwardReferenceForwadingConstructor.js @@ -13,6 +13,7 @@ class derived extends base { } //// [errorForwardReferenceForwadingConstructor.js] +"use strict"; // Error forward referencing derived class with forwarding constructor var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/errorHandlingInInstanceOf.js b/tests/baselines/reference/errorHandlingInInstanceOf.js index ea68f6077b085..c51d52cdd1194 100644 --- a/tests/baselines/reference/errorHandlingInInstanceOf.js +++ b/tests/baselines/reference/errorHandlingInInstanceOf.js @@ -9,6 +9,7 @@ if (y instanceof UnknownType) { } //// [errorHandlingInInstanceOf.js] +"use strict"; if (x instanceof String) { } var y; diff --git a/tests/baselines/reference/errorInfoForRelatedIndexTypesNoConstraintElaboration.js b/tests/baselines/reference/errorInfoForRelatedIndexTypesNoConstraintElaboration.js index 800340549ba7e..9842821da9a6b 100644 --- a/tests/baselines/reference/errorInfoForRelatedIndexTypesNoConstraintElaboration.js +++ b/tests/baselines/reference/errorInfoForRelatedIndexTypesNoConstraintElaboration.js @@ -11,6 +11,7 @@ class I var I = /** @class */ (function () { function I() { diff --git a/tests/baselines/reference/errorLocationForInterfaceExtension.js b/tests/baselines/reference/errorLocationForInterfaceExtension.js index 7b049301d6a17..f3e7e3b7edfc7 100644 --- a/tests/baselines/reference/errorLocationForInterfaceExtension.js +++ b/tests/baselines/reference/errorLocationForInterfaceExtension.js @@ -7,4 +7,5 @@ interface x extends string { } //// [errorLocationForInterfaceExtension.js] +"use strict"; var n = ''; diff --git a/tests/baselines/reference/errorMessageOnObjectLiteralType.js b/tests/baselines/reference/errorMessageOnObjectLiteralType.js index 63f3e5ce1363a..c7ab823bbb792 100644 --- a/tests/baselines/reference/errorMessageOnObjectLiteralType.js +++ b/tests/baselines/reference/errorMessageOnObjectLiteralType.js @@ -9,5 +9,6 @@ x.getOwnPropertyNamess(); Object.getOwnPropertyNamess(null); //// [errorMessageOnObjectLiteralType.js] +"use strict"; x.getOwnPropertyNamess(); Object.getOwnPropertyNamess(null); diff --git a/tests/baselines/reference/errorMessagesIntersectionTypes01.js b/tests/baselines/reference/errorMessagesIntersectionTypes01.js index 78db385b9792c..6779ec9b6e719 100644 --- a/tests/baselines/reference/errorMessagesIntersectionTypes01.js +++ b/tests/baselines/reference/errorMessagesIntersectionTypes01.js @@ -19,6 +19,7 @@ let fooBar: FooBar = mixBar({ }); //// [errorMessagesIntersectionTypes01.js] +"use strict"; var fooBar = mixBar({ fooProp: "frizzlebizzle" }); diff --git a/tests/baselines/reference/errorMessagesIntersectionTypes02.js b/tests/baselines/reference/errorMessagesIntersectionTypes02.js index bfade4e739719..898ac05d35a7f 100644 --- a/tests/baselines/reference/errorMessagesIntersectionTypes02.js +++ b/tests/baselines/reference/errorMessagesIntersectionTypes02.js @@ -19,6 +19,7 @@ let fooBar: FooBar = mixBar({ }); //// [errorMessagesIntersectionTypes02.js] +"use strict"; var fooBar = mixBar({ fooProp: "frizzlebizzle" }); diff --git a/tests/baselines/reference/errorMessagesIntersectionTypes03.js b/tests/baselines/reference/errorMessagesIntersectionTypes03.js index 765f3c6ac69f4..09c43cc73abac 100644 --- a/tests/baselines/reference/errorMessagesIntersectionTypes03.js +++ b/tests/baselines/reference/errorMessagesIntersectionTypes03.js @@ -27,6 +27,7 @@ function f(): void { } //// [errorMessagesIntersectionTypes03.js] +"use strict"; function f() { var t; var u; diff --git a/tests/baselines/reference/errorMessagesIntersectionTypes04.js b/tests/baselines/reference/errorMessagesIntersectionTypes04.js index 090539acd7064..f21d46f624947 100644 --- a/tests/baselines/reference/errorMessagesIntersectionTypes04.js +++ b/tests/baselines/reference/errorMessagesIntersectionTypes04.js @@ -25,6 +25,7 @@ function f(): void { } //// [errorMessagesIntersectionTypes04.js] +"use strict"; function f() { var num; var bool; diff --git a/tests/baselines/reference/errorOnContextuallyTypedReturnType.js b/tests/baselines/reference/errorOnContextuallyTypedReturnType.js index 674b5b76c1877..e6e01b7568063 100644 --- a/tests/baselines/reference/errorOnContextuallyTypedReturnType.js +++ b/tests/baselines/reference/errorOnContextuallyTypedReturnType.js @@ -6,5 +6,6 @@ var n2: () => boolean = function ():boolean { }; // expect an error here //// [errorOnContextuallyTypedReturnType.js] +"use strict"; var n1 = function () { }; // expect an error here var n2 = function () { }; // expect an error here diff --git a/tests/baselines/reference/errorOnInitializerInInterfaceProperty.js b/tests/baselines/reference/errorOnInitializerInInterfaceProperty.js index f54c634d8a3a6..6fd519ec7bbd2 100644 --- a/tests/baselines/reference/errorOnInitializerInInterfaceProperty.js +++ b/tests/baselines/reference/errorOnInitializerInInterfaceProperty.js @@ -7,3 +7,4 @@ interface Foo { //// [errorOnInitializerInInterfaceProperty.js] +"use strict"; diff --git a/tests/baselines/reference/errorOnInitializerInObjectTypeLiteralProperty.js b/tests/baselines/reference/errorOnInitializerInObjectTypeLiteralProperty.js index 01b7ff844df13..523183eb702c8 100644 --- a/tests/baselines/reference/errorOnInitializerInObjectTypeLiteralProperty.js +++ b/tests/baselines/reference/errorOnInitializerInObjectTypeLiteralProperty.js @@ -11,5 +11,6 @@ let Bar: { //// [errorOnInitializerInObjectTypeLiteralProperty.js] +"use strict"; var Foo; var Bar; diff --git a/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate.js b/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate.js index de80b2521a22c..9c839dc2b16af 100644 --- a/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate.js +++ b/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate.js @@ -32,6 +32,7 @@ interface Stuff { } //// [errorOnUnionVsObjectShouldDeeplyDisambiguate.js] +"use strict"; function foo() { return { a: function () { return [123]; }, diff --git a/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate2.js b/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate2.js index d02a1457b2c70..75d67e40879be 100644 --- a/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate2.js +++ b/tests/baselines/reference/errorOnUnionVsObjectShouldDeeplyDisambiguate2.js @@ -32,6 +32,7 @@ function foo(): Stuff | Date { } //// [errorOnUnionVsObjectShouldDeeplyDisambiguate2.js] +"use strict"; function foo() { return { a: function () { return [123]; }, diff --git a/tests/baselines/reference/errorRecoveryInClassDeclaration.js b/tests/baselines/reference/errorRecoveryInClassDeclaration.js index ba66334532ea3..b86201c5ff42c 100644 --- a/tests/baselines/reference/errorRecoveryInClassDeclaration.js +++ b/tests/baselines/reference/errorRecoveryInClassDeclaration.js @@ -10,6 +10,7 @@ class C { } //// [errorRecoveryInClassDeclaration.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/errorRecoveryWithDotFollowedByNamespaceKeyword.js b/tests/baselines/reference/errorRecoveryWithDotFollowedByNamespaceKeyword.js index a06ad7308f610..925404b018960 100644 --- a/tests/baselines/reference/errorRecoveryWithDotFollowedByNamespaceKeyword.js +++ b/tests/baselines/reference/errorRecoveryWithDotFollowedByNamespaceKeyword.js @@ -12,6 +12,7 @@ namespace A { } //// [errorRecoveryWithDotFollowedByNamespaceKeyword.js] +"use strict"; var A; (function (A) { function foo() { diff --git a/tests/baselines/reference/errorSpanForUnclosedJsxTag.js b/tests/baselines/reference/errorSpanForUnclosedJsxTag.js index 35790bddbc9c3..3c48adbd0204e 100644 --- a/tests/baselines/reference/errorSpanForUnclosedJsxTag.js +++ b/tests/baselines/reference/errorSpanForUnclosedJsxTag.js @@ -14,6 +14,7 @@ let x = < Foo.Bar >Hello let y = < Baz >Hello //// [errorSpanForUnclosedJsxTag.js] +"use strict"; var Foo = { Bar: function () { } }; diff --git a/tests/baselines/reference/errorSuperCalls.js b/tests/baselines/reference/errorSuperCalls.js index be2bee7189eeb..284cb1c5da850 100644 --- a/tests/baselines/reference/errorSuperCalls.js +++ b/tests/baselines/reference/errorSuperCalls.js @@ -77,6 +77,7 @@ class OtherDerived extends OtherBase { //// [errorSuperCalls.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/errorSuperPropertyAccess.js b/tests/baselines/reference/errorSuperPropertyAccess.js index 02b8ddb5fa5e0..5ca95d7ab0ea4 100644 --- a/tests/baselines/reference/errorSuperPropertyAccess.js +++ b/tests/baselines/reference/errorSuperPropertyAccess.js @@ -131,6 +131,7 @@ var obj = { n: super.wat, p: super.foo() }; //// [errorSuperPropertyAccess.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/errorSupression1.js b/tests/baselines/reference/errorSupression1.js index 27a651dfe12bd..a6f5b3e2392c8 100644 --- a/tests/baselines/reference/errorSupression1.js +++ b/tests/baselines/reference/errorSupression1.js @@ -10,6 +10,7 @@ baz.concat("y"); // So we don't want an error on 'concat'. //// [errorSupression1.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/errorTypesAsTypeArguments.js b/tests/baselines/reference/errorTypesAsTypeArguments.js index 367f850efc7fa..e42c5b4f4ec7e 100644 --- a/tests/baselines/reference/errorTypesAsTypeArguments.js +++ b/tests/baselines/reference/errorTypesAsTypeArguments.js @@ -6,3 +6,4 @@ interface Foo { } //// [errorTypesAsTypeArguments.js] +"use strict"; diff --git a/tests/baselines/reference/errorWithTruncatedType.js b/tests/baselines/reference/errorWithTruncatedType.js index 2a8800c8477db..550c52eee8c1d 100644 --- a/tests/baselines/reference/errorWithTruncatedType.js +++ b/tests/baselines/reference/errorWithTruncatedType.js @@ -14,5 +14,6 @@ var s: string = x; //// [errorWithTruncatedType.js] +"use strict"; // String representation of type of 'x' should be truncated in error message var s = x; diff --git a/tests/baselines/reference/errorsForCallAndAssignmentAreSimilar.js b/tests/baselines/reference/errorsForCallAndAssignmentAreSimilar.js index 993aa4dbdb370..ba8382aba8476 100644 --- a/tests/baselines/reference/errorsForCallAndAssignmentAreSimilar.js +++ b/tests/baselines/reference/errorsForCallAndAssignmentAreSimilar.js @@ -21,6 +21,7 @@ function minimalExample1() { } //// [errorsForCallAndAssignmentAreSimilar.js] +"use strict"; function minimalExample1() { function foo(x) { } diff --git a/tests/baselines/reference/errorsInGenericTypeReference.js b/tests/baselines/reference/errorsInGenericTypeReference.js index 7064c21e2e263..17119308343df 100644 --- a/tests/baselines/reference/errorsInGenericTypeReference.js +++ b/tests/baselines/reference/errorsInGenericTypeReference.js @@ -74,6 +74,7 @@ interface testInterface2 { //// [errorsInGenericTypeReference.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/es2016IntlAPIs.js b/tests/baselines/reference/es2016IntlAPIs.js index 318aceaad76e6..b30a161421f41 100644 --- a/tests/baselines/reference/es2016IntlAPIs.js +++ b/tests/baselines/reference/es2016IntlAPIs.js @@ -18,6 +18,7 @@ try { //// [es2016IntlAPIs.js] +"use strict"; // Sample from // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/getCanonicalLocales console.log(Intl.getCanonicalLocales('EN-US')); diff --git a/tests/baselines/reference/es2017DateAPIs.js b/tests/baselines/reference/es2017DateAPIs.js index 925c8b3a33b1e..8f57faa674c3e 100644 --- a/tests/baselines/reference/es2017DateAPIs.js +++ b/tests/baselines/reference/es2017DateAPIs.js @@ -4,4 +4,5 @@ Date.UTC(2017); //// [es2017DateAPIs.js] +"use strict"; Date.UTC(2017); diff --git a/tests/baselines/reference/es2017basicAsync.js b/tests/baselines/reference/es2017basicAsync.js index 6e80884fd0bc1..e4d7d3c9f3391 100644 --- a/tests/baselines/reference/es2017basicAsync.js +++ b/tests/baselines/reference/es2017basicAsync.js @@ -49,6 +49,7 @@ class AsyncClass { //// [es2017basicAsync.js] +"use strict"; async () => { await 0; }; diff --git a/tests/baselines/reference/es2018IntlAPIs.js b/tests/baselines/reference/es2018IntlAPIs.js index 707c4c65bfb4f..28dfa2c8cb536 100644 --- a/tests/baselines/reference/es2018IntlAPIs.js +++ b/tests/baselines/reference/es2018IntlAPIs.js @@ -12,6 +12,7 @@ console.log(part.type, part.value); //// [es2018IntlAPIs.js] +"use strict"; // Sample from // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/supportedLocalesOf const locales = ['ban', 'id-u-co-pinyin', 'de-ID']; diff --git a/tests/baselines/reference/es2018ObjectAssign.js b/tests/baselines/reference/es2018ObjectAssign.js index 3dbaff618cc30..6c11b7e6a7b13 100644 --- a/tests/baselines/reference/es2018ObjectAssign.js +++ b/tests/baselines/reference/es2018ObjectAssign.js @@ -7,5 +7,6 @@ declare const p: Promise; p.finally(); //// [es2018ObjectAssign.js] +"use strict"; const test = Object.assign({}, { test: true }); p.finally(); diff --git a/tests/baselines/reference/es2020IntlAPIs.js b/tests/baselines/reference/es2020IntlAPIs.js index 0bedc9f2bef39..17c9577f53718 100644 --- a/tests/baselines/reference/es2020IntlAPIs.js +++ b/tests/baselines/reference/es2020IntlAPIs.js @@ -61,6 +61,7 @@ console.log(Intl.DisplayNames.supportedLocalesOf(localesArg, {})); // ["es-ES", //// [es2020IntlAPIs.js] +"use strict"; // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#Locale_identification_and_negotiation const count = 26254.39; const date = new Date("2012-05-24"); diff --git a/tests/baselines/reference/es2021LocalesObjectArgument.js b/tests/baselines/reference/es2021LocalesObjectArgument.js index 4287c3f534793..241d0a020ab5f 100644 --- a/tests/baselines/reference/es2021LocalesObjectArgument.js +++ b/tests/baselines/reference/es2021LocalesObjectArgument.js @@ -12,6 +12,7 @@ Intl.ListFormat.supportedLocalesOf([deDE, jaJP]); //// [es2021LocalesObjectArgument.js] +"use strict"; const enUS = new Intl.Locale("en-US"); const deDE = new Intl.Locale("de-DE"); const jaJP = new Intl.Locale("ja-JP"); diff --git a/tests/baselines/reference/es2022IntlAPIs.js b/tests/baselines/reference/es2022IntlAPIs.js index 3e4fd3154fa52..beddaac51c2d0 100644 --- a/tests/baselines/reference/es2022IntlAPIs.js +++ b/tests/baselines/reference/es2022IntlAPIs.js @@ -17,6 +17,7 @@ for (const key of enumerationKeys) { //// [es2022IntlAPIs.js] +"use strict"; // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/DateTimeFormat#using_timezonename const timezoneNames = ['short', 'long', 'shortOffset', 'longOffset', 'shortGeneric', 'longGeneric']; for (const zoneName of timezoneNames) { diff --git a/tests/baselines/reference/es2022LocalesObjectArgument.js b/tests/baselines/reference/es2022LocalesObjectArgument.js index 335b921f8222a..ca7b613feb5d3 100644 --- a/tests/baselines/reference/es2022LocalesObjectArgument.js +++ b/tests/baselines/reference/es2022LocalesObjectArgument.js @@ -12,6 +12,7 @@ Intl.Segmenter.supportedLocalesOf([deDE, jaJP]); //// [es2022LocalesObjectArgument.js] +"use strict"; const enUS = new Intl.Locale("en-US"); const deDE = new Intl.Locale("de-DE"); const jaJP = new Intl.Locale("ja-JP"); diff --git a/tests/baselines/reference/es5-amd.js b/tests/baselines/reference/es5-amd.js index 1571ec851a4e4..8652e44722eb4 100644 --- a/tests/baselines/reference/es5-amd.js +++ b/tests/baselines/reference/es5-amd.js @@ -15,6 +15,7 @@ class A } //// [es5-amd.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/es5-asyncFunction.js b/tests/baselines/reference/es5-asyncFunction.js index 9b262e16c8844..aea68ba0b26f8 100644 --- a/tests/baselines/reference/es5-asyncFunction.js +++ b/tests/baselines/reference/es5-asyncFunction.js @@ -11,6 +11,7 @@ async function singleAwait() { } //// [es5-asyncFunction.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/es5-asyncFunctionArrayLiterals.js b/tests/baselines/reference/es5-asyncFunctionArrayLiterals.js index a881bb1e428c0..7332ca4d3b4a1 100644 --- a/tests/baselines/reference/es5-asyncFunctionArrayLiterals.js +++ b/tests/baselines/reference/es5-asyncFunctionArrayLiterals.js @@ -36,6 +36,7 @@ async function arrayLiteral7() { } //// [es5-asyncFunctionArrayLiterals.js] +"use strict"; function arrayLiteral0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionBinaryExpressions.js b/tests/baselines/reference/es5-asyncFunctionBinaryExpressions.js index 3af7498b43f54..71c7782d9baea 100644 --- a/tests/baselines/reference/es5-asyncFunctionBinaryExpressions.js +++ b/tests/baselines/reference/es5-asyncFunctionBinaryExpressions.js @@ -125,6 +125,7 @@ async function binaryComma1(): Promise { } //// [es5-asyncFunctionBinaryExpressions.js] +"use strict"; function binaryPlus0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionCallExpressions.js b/tests/baselines/reference/es5-asyncFunctionCallExpressions.js index baebdfb38f045..17a1aece238c2 100644 --- a/tests/baselines/reference/es5-asyncFunctionCallExpressions.js +++ b/tests/baselines/reference/es5-asyncFunctionCallExpressions.js @@ -89,6 +89,7 @@ async function callExpression20() { //// [es5-asyncFunctionCallExpressions.js] +"use strict"; function callExpression0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionConditionals.js b/tests/baselines/reference/es5-asyncFunctionConditionals.js index 2d5d7ab4fe7f5..1e77010d794c2 100644 --- a/tests/baselines/reference/es5-asyncFunctionConditionals.js +++ b/tests/baselines/reference/es5-asyncFunctionConditionals.js @@ -16,6 +16,7 @@ async function conditional2() { } //// [es5-asyncFunctionConditionals.js] +"use strict"; function conditional0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionDoStatements.js b/tests/baselines/reference/es5-asyncFunctionDoStatements.js index d6fa2bb6141f9..10471dd71ccef 100644 --- a/tests/baselines/reference/es5-asyncFunctionDoStatements.js +++ b/tests/baselines/reference/es5-asyncFunctionDoStatements.js @@ -80,6 +80,7 @@ async function doStatement18() { } //// [es5-asyncFunctionDoStatements.js] +"use strict"; function doStatement0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionElementAccess.js b/tests/baselines/reference/es5-asyncFunctionElementAccess.js index 19a92f57e1c03..742e2586f8f30 100644 --- a/tests/baselines/reference/es5-asyncFunctionElementAccess.js +++ b/tests/baselines/reference/es5-asyncFunctionElementAccess.js @@ -17,6 +17,7 @@ async function elementAccess2() { //// [es5-asyncFunctionElementAccess.js] +"use strict"; function elementAccess0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionForInStatements.js b/tests/baselines/reference/es5-asyncFunctionForInStatements.js index 0f846ee83e895..10365ecfa39c1 100644 --- a/tests/baselines/reference/es5-asyncFunctionForInStatements.js +++ b/tests/baselines/reference/es5-asyncFunctionForInStatements.js @@ -40,6 +40,7 @@ async function forInStatement8() { } //// [es5-asyncFunctionForInStatements.js] +"use strict"; function forInStatement0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionForOfStatements.js b/tests/baselines/reference/es5-asyncFunctionForOfStatements.js index f7e23714c2030..4f4c9fee0c25d 100644 --- a/tests/baselines/reference/es5-asyncFunctionForOfStatements.js +++ b/tests/baselines/reference/es5-asyncFunctionForOfStatements.js @@ -80,6 +80,7 @@ async function forOfStatement18() { } //// [es5-asyncFunctionForOfStatements.js] +"use strict"; function forOfStatement0() { return __awaiter(this, void 0, void 0, function () { var _i, y_1; diff --git a/tests/baselines/reference/es5-asyncFunctionForStatements.js b/tests/baselines/reference/es5-asyncFunctionForStatements.js index 8c7ff9d73c3d0..b46adcfd7d945 100644 --- a/tests/baselines/reference/es5-asyncFunctionForStatements.js +++ b/tests/baselines/reference/es5-asyncFunctionForStatements.js @@ -32,6 +32,7 @@ async function forStatement6() { } //// [es5-asyncFunctionForStatements.js] +"use strict"; function forStatement0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionHoisting.js b/tests/baselines/reference/es5-asyncFunctionHoisting.js index 2c2045ac2e0c1..29c5892113cef 100644 --- a/tests/baselines/reference/es5-asyncFunctionHoisting.js +++ b/tests/baselines/reference/es5-asyncFunctionHoisting.js @@ -55,6 +55,7 @@ async function hoistingWithAwait() { //// [es5-asyncFunctionHoisting.js] +"use strict"; function hoisting() { return __awaiter(this, void 0, void 0, function () { function z() { diff --git a/tests/baselines/reference/es5-asyncFunctionIfStatements.js b/tests/baselines/reference/es5-asyncFunctionIfStatements.js index 91e6741befe45..adc9e7eccf21c 100644 --- a/tests/baselines/reference/es5-asyncFunctionIfStatements.js +++ b/tests/baselines/reference/es5-asyncFunctionIfStatements.js @@ -16,6 +16,7 @@ async function ifStatement3() { } //// [es5-asyncFunctionIfStatements.js] +"use strict"; function ifStatement1() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionLongObjectLiteral.js b/tests/baselines/reference/es5-asyncFunctionLongObjectLiteral.js index 48fdc5eb3600e..3a895d4d3f3d6 100644 --- a/tests/baselines/reference/es5-asyncFunctionLongObjectLiteral.js +++ b/tests/baselines/reference/es5-asyncFunctionLongObjectLiteral.js @@ -30,6 +30,7 @@ const fooLong = async () => { //// [es5-asyncFunctionLongObjectLiteral.js] +"use strict"; // the generated code from both should be similar var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } @@ -67,8 +68,7 @@ var __generator = (this && this.__generator) || function (thisArg, body) { if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; -var _this = this; -var fooShort = function () { return __awaiter(_this, void 0, void 0, function () { +var fooShort = function () { return __awaiter(void 0, void 0, void 0, function () { var _a; return __generator(this, function (_b) { switch (_b.label) { @@ -92,7 +92,7 @@ var fooShort = function () { return __awaiter(_this, void 0, void 0, function () } }); }); }; -var fooLong = function () { return __awaiter(_this, void 0, void 0, function () { +var fooLong = function () { return __awaiter(void 0, void 0, void 0, function () { var _a; return __generator(this, function (_b) { switch (_b.label) { diff --git a/tests/baselines/reference/es5-asyncFunctionNestedLoops.js b/tests/baselines/reference/es5-asyncFunctionNestedLoops.js index 06340cf3306fd..3bf48d870cde1 100644 --- a/tests/baselines/reference/es5-asyncFunctionNestedLoops.js +++ b/tests/baselines/reference/es5-asyncFunctionNestedLoops.js @@ -16,6 +16,7 @@ async function nestedLoops() { } //// [es5-asyncFunctionNestedLoops.js] +"use strict"; function nestedLoops() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionNewExpressions.js b/tests/baselines/reference/es5-asyncFunctionNewExpressions.js index edb0beebd7509..03a9162945512 100644 --- a/tests/baselines/reference/es5-asyncFunctionNewExpressions.js +++ b/tests/baselines/reference/es5-asyncFunctionNewExpressions.js @@ -88,6 +88,7 @@ async function newExpression20() { } //// [es5-asyncFunctionNewExpressions.js] +"use strict"; function newExpression0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionObjectLiterals.js b/tests/baselines/reference/es5-asyncFunctionObjectLiterals.js index 3d2a34d03bafb..c630238a4579c 100644 --- a/tests/baselines/reference/es5-asyncFunctionObjectLiterals.js +++ b/tests/baselines/reference/es5-asyncFunctionObjectLiterals.js @@ -53,6 +53,7 @@ async function objectLiteral6() { } //// [es5-asyncFunctionObjectLiterals.js] +"use strict"; function objectLiteral0() { return __awaiter(this, void 0, void 0, function () { var _a; diff --git a/tests/baselines/reference/es5-asyncFunctionPropertyAccess.js b/tests/baselines/reference/es5-asyncFunctionPropertyAccess.js index 83199fe158a56..624c637719aff 100644 --- a/tests/baselines/reference/es5-asyncFunctionPropertyAccess.js +++ b/tests/baselines/reference/es5-asyncFunctionPropertyAccess.js @@ -16,6 +16,7 @@ async function callExpression0() { } //// [es5-asyncFunctionPropertyAccess.js] +"use strict"; function propertyAccess0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionReturnStatements.js b/tests/baselines/reference/es5-asyncFunctionReturnStatements.js index 1f089b8afa866..f8e2c2fe3fac1 100644 --- a/tests/baselines/reference/es5-asyncFunctionReturnStatements.js +++ b/tests/baselines/reference/es5-asyncFunctionReturnStatements.js @@ -29,6 +29,7 @@ async function returnStatement5(): Promise{ } //// [es5-asyncFunctionReturnStatements.js] +"use strict"; function returnStatement0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionSwitchStatements.js b/tests/baselines/reference/es5-asyncFunctionSwitchStatements.js index 1e08b821bc1a3..b53a1217663d8 100644 --- a/tests/baselines/reference/es5-asyncFunctionSwitchStatements.js +++ b/tests/baselines/reference/es5-asyncFunctionSwitchStatements.js @@ -70,6 +70,7 @@ async function switchStatement8() { } //// [es5-asyncFunctionSwitchStatements.js] +"use strict"; function switchStatement0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionTryStatements.js b/tests/baselines/reference/es5-asyncFunctionTryStatements.js index cd6e63fe53d45..08556135b3e52 100644 --- a/tests/baselines/reference/es5-asyncFunctionTryStatements.js +++ b/tests/baselines/reference/es5-asyncFunctionTryStatements.js @@ -125,6 +125,7 @@ async function tryCatchFinally3() { } //// [es5-asyncFunctionTryStatements.js] +"use strict"; function tryCatch0() { return __awaiter(this, void 0, void 0, function () { var x, y; diff --git a/tests/baselines/reference/es5-asyncFunctionWhileStatements.js b/tests/baselines/reference/es5-asyncFunctionWhileStatements.js index 939fdd521eff4..0f43540637b64 100644 --- a/tests/baselines/reference/es5-asyncFunctionWhileStatements.js +++ b/tests/baselines/reference/es5-asyncFunctionWhileStatements.js @@ -80,6 +80,7 @@ async function whileStatement18() { } //// [es5-asyncFunctionWhileStatements.js] +"use strict"; function whileStatement0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-asyncFunctionWithStatements.errors.txt b/tests/baselines/reference/es5-asyncFunctionWithStatements.errors.txt index b1245d7c46e27..74edf96ff9326 100644 --- a/tests/baselines/reference/es5-asyncFunctionWithStatements.errors.txt +++ b/tests/baselines/reference/es5-asyncFunctionWithStatements.errors.txt @@ -1,19 +1,26 @@ +es5-asyncFunctionWithStatements.ts(4,5): error TS1101: 'with' statements are not allowed in strict mode. es5-asyncFunctionWithStatements.ts(4,5): error TS1300: 'with' statements are not allowed in an async function block. es5-asyncFunctionWithStatements.ts(4,5): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. +es5-asyncFunctionWithStatements.ts(10,5): error TS1101: 'with' statements are not allowed in strict mode. es5-asyncFunctionWithStatements.ts(10,5): error TS1300: 'with' statements are not allowed in an async function block. es5-asyncFunctionWithStatements.ts(10,5): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. +es5-asyncFunctionWithStatements.ts(16,5): error TS1101: 'with' statements are not allowed in strict mode. es5-asyncFunctionWithStatements.ts(16,5): error TS1300: 'with' statements are not allowed in an async function block. es5-asyncFunctionWithStatements.ts(16,5): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. +es5-asyncFunctionWithStatements.ts(24,5): error TS1101: 'with' statements are not allowed in strict mode. es5-asyncFunctionWithStatements.ts(24,5): error TS1300: 'with' statements are not allowed in an async function block. es5-asyncFunctionWithStatements.ts(24,5): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. +es5-asyncFunctionWithStatements.ts(25,9): error TS1101: 'with' statements are not allowed in strict mode. -==== es5-asyncFunctionWithStatements.ts (8 errors) ==== +==== es5-asyncFunctionWithStatements.ts (13 errors) ==== declare var x, y, z, a, b, c; async function withStatement0() { with (x) { ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. + ~~~~ !!! error TS1300: 'with' statements are not allowed in an async function block. ~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. @@ -24,6 +31,8 @@ es5-asyncFunctionWithStatements.ts(24,5): error TS2410: The 'with' statement is async function withStatement1() { with (await x) { ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. + ~~~~ !!! error TS1300: 'with' statements are not allowed in an async function block. ~~~~~~~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. @@ -34,6 +43,8 @@ es5-asyncFunctionWithStatements.ts(24,5): error TS2410: The 'with' statement is async function withStatement2() { with (x) { ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. + ~~~~ !!! error TS1300: 'with' statements are not allowed in an async function block. ~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. @@ -46,10 +57,14 @@ es5-asyncFunctionWithStatements.ts(24,5): error TS2410: The 'with' statement is async function withStatement3() { with (x) { ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. + ~~~~ !!! error TS1300: 'with' statements are not allowed in an async function block. ~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. with (z) { + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. a; await y; b; diff --git a/tests/baselines/reference/es5-asyncFunctionWithStatements.js b/tests/baselines/reference/es5-asyncFunctionWithStatements.js index efa005107e9b2..887de23be9c9f 100644 --- a/tests/baselines/reference/es5-asyncFunctionWithStatements.js +++ b/tests/baselines/reference/es5-asyncFunctionWithStatements.js @@ -34,6 +34,7 @@ async function withStatement3() { } //// [es5-asyncFunctionWithStatements.js] +"use strict"; function withStatement0() { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/es5-declaration-amd.js b/tests/baselines/reference/es5-declaration-amd.js index f2af73aaacea6..e0b1ca9dc316c 100644 --- a/tests/baselines/reference/es5-declaration-amd.js +++ b/tests/baselines/reference/es5-declaration-amd.js @@ -15,6 +15,7 @@ class A } //// [es5-declaration-amd.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/es5-importHelpersAsyncFunctions.js b/tests/baselines/reference/es5-importHelpersAsyncFunctions.js index d01de6ede62b8..73d01b409b26b 100644 --- a/tests/baselines/reference/es5-importHelpersAsyncFunctions.js +++ b/tests/baselines/reference/es5-importHelpersAsyncFunctions.js @@ -30,6 +30,7 @@ function foo() { }); } //// [script.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/es5-oldStyleOctalLiteralInEnums.js b/tests/baselines/reference/es5-oldStyleOctalLiteralInEnums.js index 55c3d7800a147..efc5c8494083c 100644 --- a/tests/baselines/reference/es5-oldStyleOctalLiteralInEnums.js +++ b/tests/baselines/reference/es5-oldStyleOctalLiteralInEnums.js @@ -7,6 +7,7 @@ enum E { } //// [es5-oldStyleOctalLiteralInEnums.js] +"use strict"; var E; (function (E) { E[E["x"] = -1] = "x"; diff --git a/tests/baselines/reference/es5-souremap-amd.js b/tests/baselines/reference/es5-souremap-amd.js index 5d851ff6dd082..6b72628ebb0b9 100644 --- a/tests/baselines/reference/es5-souremap-amd.js +++ b/tests/baselines/reference/es5-souremap-amd.js @@ -15,6 +15,7 @@ class A } //// [es5-souremap-amd.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/es5-souremap-amd.js.map b/tests/baselines/reference/es5-souremap-amd.js.map index 8bf8cb754f15c..09a0395d9d4bd 100644 --- a/tests/baselines/reference/es5-souremap-amd.js.map +++ b/tests/baselines/reference/es5-souremap-amd.js.map @@ -1,3 +1,3 @@ //// [es5-souremap-amd.js.map] -{"version":3,"file":"es5-souremap-amd.js","sourceRoot":"","sources":["es5-souremap-amd.ts"],"names":[],"mappings":"AAAA;IAEI;IAGA,CAAC;IAEM,aAAC,GAAR;QAEI,OAAO,EAAE,CAAC;IACd,CAAC;IACL,QAAC;AAAD,CAAC,AAXD,IAWC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIEEgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQSgpIHsNCiAgICB9DQogICAgQS5wcm90b3R5cGUuQiA9IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgcmV0dXJuIDQyOw0KICAgIH07DQogICAgcmV0dXJuIEE7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9ZXM1LXNvdXJlbWFwLWFtZC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXM1LXNvdXJlbWFwLWFtZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImVzNS1zb3VyZW1hcC1hbWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFFSTtJQUdBLENBQUM7SUFFTSxhQUFDLEdBQVI7UUFFSSxPQUFPLEVBQUUsQ0FBQztJQUNkLENBQUM7SUFDTCxRQUFDO0FBQUQsQ0FBQyxBQVhELElBV0MifQ==,Y2xhc3MgQQp7CiAgICBjb25zdHJ1Y3RvciAoKQogICAgewoKICAgIH0KCiAgICBwdWJsaWMgQigpCiAgICB7CiAgICAgICAgcmV0dXJuIDQyOwogICAgfQp9 +{"version":3,"file":"es5-souremap-amd.js","sourceRoot":"","sources":["es5-souremap-amd.ts"],"names":[],"mappings":";AAAA;IAEI;IAGA,CAAC;IAEM,aAAC,GAAR;QAEI,OAAO,EAAE,CAAC;IACd,CAAC;IACL,QAAC;AAAD,CAAC,AAXD,IAWC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIEEgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQSgpIHsNCiAgICB9DQogICAgQS5wcm90b3R5cGUuQiA9IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgcmV0dXJuIDQyOw0KICAgIH07DQogICAgcmV0dXJuIEE7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9ZXM1LXNvdXJlbWFwLWFtZC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXM1LXNvdXJlbWFwLWFtZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImVzNS1zb3VyZW1hcC1hbWQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0lBRUk7SUFHQSxDQUFDO0lBRU0sYUFBQyxHQUFSO1FBRUksT0FBTyxFQUFFLENBQUM7SUFDZCxDQUFDO0lBQ0wsUUFBQztBQUFELENBQUMsQUFYRCxJQVdDIn0=,Y2xhc3MgQQp7CiAgICBjb25zdHJ1Y3RvciAoKQogICAgewoKICAgIH0KCiAgICBwdWJsaWMgQigpCiAgICB7CiAgICAgICAgcmV0dXJuIDQyOwogICAgfQp9 diff --git a/tests/baselines/reference/es5-souremap-amd.sourcemap.txt b/tests/baselines/reference/es5-souremap-amd.sourcemap.txt index 037eb86be98cc..27e15b28afbee 100644 --- a/tests/baselines/reference/es5-souremap-amd.sourcemap.txt +++ b/tests/baselines/reference/es5-souremap-amd.sourcemap.txt @@ -8,11 +8,12 @@ sources: es5-souremap-amd.ts emittedFile:es5-souremap-amd.js sourceFile:es5-souremap-amd.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var A = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function A() { 1->^^^^ @@ -20,7 +21,7 @@ sourceFile:es5-souremap-amd.ts 1->class A >{ > -1->Emitted(2, 5) Source(3, 5) + SourceIndex(0) +1->Emitted(3, 5) Source(3, 5) + SourceIndex(0) --- >>> } 1->^^^^ @@ -31,8 +32,8 @@ sourceFile:es5-souremap-amd.ts > > 2 > } -1->Emitted(3, 5) Source(6, 5) + SourceIndex(0) -2 >Emitted(3, 6) Source(6, 6) + SourceIndex(0) +1->Emitted(4, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(4, 6) Source(6, 6) + SourceIndex(0) --- >>> A.prototype.B = function () { 1->^^^^ @@ -43,9 +44,9 @@ sourceFile:es5-souremap-amd.ts > public 2 > B 3 > -1->Emitted(4, 5) Source(8, 12) + SourceIndex(0) -2 >Emitted(4, 18) Source(8, 13) + SourceIndex(0) -3 >Emitted(4, 21) Source(8, 5) + SourceIndex(0) +1->Emitted(5, 5) Source(8, 12) + SourceIndex(0) +2 >Emitted(5, 18) Source(8, 13) + SourceIndex(0) +3 >Emitted(5, 21) Source(8, 5) + SourceIndex(0) --- >>> return 42; 1 >^^^^^^^^ @@ -58,10 +59,10 @@ sourceFile:es5-souremap-amd.ts 2 > return 3 > 42 4 > ; -1 >Emitted(5, 9) Source(10, 9) + SourceIndex(0) -2 >Emitted(5, 16) Source(10, 16) + SourceIndex(0) -3 >Emitted(5, 18) Source(10, 18) + SourceIndex(0) -4 >Emitted(5, 19) Source(10, 19) + SourceIndex(0) +1 >Emitted(6, 9) Source(10, 9) + SourceIndex(0) +2 >Emitted(6, 16) Source(10, 16) + SourceIndex(0) +3 >Emitted(6, 18) Source(10, 18) + SourceIndex(0) +4 >Emitted(6, 19) Source(10, 19) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -70,8 +71,8 @@ sourceFile:es5-souremap-amd.ts 1 > > 2 > } -1 >Emitted(6, 5) Source(11, 5) + SourceIndex(0) -2 >Emitted(6, 6) Source(11, 6) + SourceIndex(0) +1 >Emitted(7, 5) Source(11, 5) + SourceIndex(0) +2 >Emitted(7, 6) Source(11, 6) + SourceIndex(0) --- >>> return A; 1->^^^^ @@ -79,8 +80,8 @@ sourceFile:es5-souremap-amd.ts 1-> > 2 > } -1->Emitted(7, 5) Source(12, 1) + SourceIndex(0) -2 >Emitted(7, 13) Source(12, 2) + SourceIndex(0) +1->Emitted(8, 5) Source(12, 1) + SourceIndex(0) +2 >Emitted(8, 13) Source(12, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -103,9 +104,9 @@ sourceFile:es5-souremap-amd.ts > return 42; > } > } -1 >Emitted(8, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(8, 2) Source(12, 2) + SourceIndex(0) -3 >Emitted(8, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(8, 6) Source(12, 2) + SourceIndex(0) +1 >Emitted(9, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(9, 2) Source(12, 2) + SourceIndex(0) +3 >Emitted(9, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(9, 6) Source(12, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=es5-souremap-amd.js.map \ No newline at end of file diff --git a/tests/baselines/reference/es5-umd.js b/tests/baselines/reference/es5-umd.js index 30bb74f381f69..87567d9282318 100644 --- a/tests/baselines/reference/es5-umd.js +++ b/tests/baselines/reference/es5-umd.js @@ -16,6 +16,7 @@ class A //// [es5-umd.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/es5-yieldFunctionObjectLiterals.js b/tests/baselines/reference/es5-yieldFunctionObjectLiterals.js index 799b3332aeae5..e7a828f76ccef 100644 --- a/tests/baselines/reference/es5-yieldFunctionObjectLiterals.js +++ b/tests/baselines/reference/es5-yieldFunctionObjectLiterals.js @@ -65,6 +65,7 @@ function* objectLiteral7() { //// [es5-yieldFunctionObjectLiterals.js] +"use strict"; // mainly to verify indentation of emitted code function g() { return "g"; } function objectLiteral1() { diff --git a/tests/baselines/reference/es5DateAPIs.js b/tests/baselines/reference/es5DateAPIs.js index 4d3699579d646..dcaac99481b7e 100644 --- a/tests/baselines/reference/es5DateAPIs.js +++ b/tests/baselines/reference/es5DateAPIs.js @@ -4,4 +4,5 @@ Date.UTC(2017); // should error //// [es5DateAPIs.js] +"use strict"; Date.UTC(2017); // should error diff --git a/tests/baselines/reference/es5ExportDefaultClassDeclaration4.js b/tests/baselines/reference/es5ExportDefaultClassDeclaration4.js index 626dc74842636..d659c9ee67372 100644 --- a/tests/baselines/reference/es5ExportDefaultClassDeclaration4.js +++ b/tests/baselines/reference/es5ExportDefaultClassDeclaration4.js @@ -16,6 +16,7 @@ declare module "foo" { //// [es5ExportDefaultClassDeclaration4.js] +"use strict"; //// [es5ExportDefaultClassDeclaration4.d.ts] diff --git a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration4.js b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration4.js index 075581be5acf5..179278a6b5967 100644 --- a/tests/baselines/reference/es5ExportDefaultFunctionDeclaration4.js +++ b/tests/baselines/reference/es5ExportDefaultFunctionDeclaration4.js @@ -10,6 +10,7 @@ declare module "bar" { } //// [es5ExportDefaultFunctionDeclaration4.js] +"use strict"; //// [es5ExportDefaultFunctionDeclaration4.d.ts] diff --git a/tests/baselines/reference/es5SetterparameterDestructuringNotElided.js b/tests/baselines/reference/es5SetterparameterDestructuringNotElided.js index 4c6e3a9aba807..6c30301525b5e 100644 --- a/tests/baselines/reference/es5SetterparameterDestructuringNotElided.js +++ b/tests/baselines/reference/es5SetterparameterDestructuringNotElided.js @@ -9,6 +9,7 @@ const foo = { }; //// [es5SetterparameterDestructuringNotElided.js] +"use strict"; var foo = { set foo(_a) { var start = _a[0], end = _a[1]; diff --git a/tests/baselines/reference/es6-amd.js b/tests/baselines/reference/es6-amd.js index 24d8196e5b143..019d7a4bd42d3 100644 --- a/tests/baselines/reference/es6-amd.js +++ b/tests/baselines/reference/es6-amd.js @@ -15,6 +15,7 @@ class A } //// [es6-amd.js] +"use strict"; class A { constructor() { } diff --git a/tests/baselines/reference/es6-declaration-amd.js b/tests/baselines/reference/es6-declaration-amd.js index 772fc94715ab4..09a30ce4a50af 100644 --- a/tests/baselines/reference/es6-declaration-amd.js +++ b/tests/baselines/reference/es6-declaration-amd.js @@ -15,6 +15,7 @@ class A } //// [es6-declaration-amd.js] +"use strict"; class A { constructor() { } diff --git a/tests/baselines/reference/es6-sourcemap-amd.js b/tests/baselines/reference/es6-sourcemap-amd.js index 045160539612f..ba7959c0766c1 100644 --- a/tests/baselines/reference/es6-sourcemap-amd.js +++ b/tests/baselines/reference/es6-sourcemap-amd.js @@ -15,6 +15,7 @@ class A } //// [es6-sourcemap-amd.js] +"use strict"; class A { constructor() { } diff --git a/tests/baselines/reference/es6-sourcemap-amd.js.map b/tests/baselines/reference/es6-sourcemap-amd.js.map index 5b87f9ffdd117..841cf61636372 100644 --- a/tests/baselines/reference/es6-sourcemap-amd.js.map +++ b/tests/baselines/reference/es6-sourcemap-amd.js.map @@ -1,3 +1,3 @@ //// [es6-sourcemap-amd.js.map] -{"version":3,"file":"es6-sourcemap-amd.js","sourceRoot":"","sources":["es6-sourcemap-amd.ts"],"names":[],"mappings":"AAAA,MAAM,CAAC;IAEH;IAGA,CAAC;IAEM,CAAC;QAEJ,OAAO,EAAE,CAAC;IACd,CAAC;CACJ"} -//// https://sokra.github.io/source-map-visualization#base64,Y2xhc3MgQSB7DQogICAgY29uc3RydWN0b3IoKSB7DQogICAgfQ0KICAgIEIoKSB7DQogICAgICAgIHJldHVybiA0MjsNCiAgICB9DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1lczYtc291cmNlbWFwLWFtZC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXM2LXNvdXJjZW1hcC1hbWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlczYtc291cmNlbWFwLWFtZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLENBQUM7SUFFSDtJQUdBLENBQUM7SUFFTSxDQUFDO1FBRUosT0FBTyxFQUFFLENBQUM7SUFDZCxDQUFDO0NBQ0oifQ==,Y2xhc3MgQQp7CiAgICBjb25zdHJ1Y3RvciAoKQogICAgewoKICAgIH0KCiAgICBwdWJsaWMgQigpCiAgICB7CiAgICAgICAgcmV0dXJuIDQyOwogICAgfQp9 +{"version":3,"file":"es6-sourcemap-amd.js","sourceRoot":"","sources":["es6-sourcemap-amd.ts"],"names":[],"mappings":";AAAA,MAAM,CAAC;IAEH;IAGA,CAAC;IAEM,CAAC;QAEJ,OAAO,EAAE,CAAC;IACd,CAAC;CACJ"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KY2xhc3MgQSB7DQogICAgY29uc3RydWN0b3IoKSB7DQogICAgfQ0KICAgIEIoKSB7DQogICAgICAgIHJldHVybiA0MjsNCiAgICB9DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1lczYtc291cmNlbWFwLWFtZC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZXM2LXNvdXJjZW1hcC1hbWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJlczYtc291cmNlbWFwLWFtZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsTUFBTSxDQUFDO0lBRUg7SUFHQSxDQUFDO0lBRU0sQ0FBQztRQUVKLE9BQU8sRUFBRSxDQUFDO0lBQ2QsQ0FBQztDQUNKIn0=,Y2xhc3MgQQp7CiAgICBjb25zdHJ1Y3RvciAoKQogICAgewoKICAgIH0KCiAgICBwdWJsaWMgQigpCiAgICB7CiAgICAgICAgcmV0dXJuIDQyOwogICAgfQp9 diff --git a/tests/baselines/reference/es6-sourcemap-amd.sourcemap.txt b/tests/baselines/reference/es6-sourcemap-amd.sourcemap.txt index accc3b97c7aed..dfcb58fe7b2aa 100644 --- a/tests/baselines/reference/es6-sourcemap-amd.sourcemap.txt +++ b/tests/baselines/reference/es6-sourcemap-amd.sourcemap.txt @@ -8,6 +8,7 @@ sources: es6-sourcemap-amd.ts emittedFile:es6-sourcemap-amd.js sourceFile:es6-sourcemap-amd.ts ------------------------------------------------------------------- +>>>"use strict"; >>>class A { 1 > 2 >^^^^^^ @@ -16,9 +17,9 @@ sourceFile:es6-sourcemap-amd.ts 1 > 2 >class 3 > A -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 7) Source(1, 7) + SourceIndex(0) -3 >Emitted(1, 8) Source(1, 8) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 7) Source(1, 7) + SourceIndex(0) +3 >Emitted(2, 8) Source(1, 8) + SourceIndex(0) --- >>> constructor() { 1->^^^^ @@ -26,7 +27,7 @@ sourceFile:es6-sourcemap-amd.ts 1-> >{ > -1->Emitted(2, 5) Source(3, 5) + SourceIndex(0) +1->Emitted(3, 5) Source(3, 5) + SourceIndex(0) --- >>> } 1->^^^^ @@ -37,8 +38,8 @@ sourceFile:es6-sourcemap-amd.ts > > 2 > } -1->Emitted(3, 5) Source(6, 5) + SourceIndex(0) -2 >Emitted(3, 6) Source(6, 6) + SourceIndex(0) +1->Emitted(4, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(4, 6) Source(6, 6) + SourceIndex(0) --- >>> B() { 1->^^^^ @@ -48,8 +49,8 @@ sourceFile:es6-sourcemap-amd.ts > > public 2 > B -1->Emitted(4, 5) Source(8, 12) + SourceIndex(0) -2 >Emitted(4, 6) Source(8, 13) + SourceIndex(0) +1->Emitted(5, 5) Source(8, 12) + SourceIndex(0) +2 >Emitted(5, 6) Source(8, 13) + SourceIndex(0) --- >>> return 42; 1->^^^^^^^^ @@ -62,10 +63,10 @@ sourceFile:es6-sourcemap-amd.ts 2 > return 3 > 42 4 > ; -1->Emitted(5, 9) Source(10, 9) + SourceIndex(0) -2 >Emitted(5, 16) Source(10, 16) + SourceIndex(0) -3 >Emitted(5, 18) Source(10, 18) + SourceIndex(0) -4 >Emitted(5, 19) Source(10, 19) + SourceIndex(0) +1->Emitted(6, 9) Source(10, 9) + SourceIndex(0) +2 >Emitted(6, 16) Source(10, 16) + SourceIndex(0) +3 >Emitted(6, 18) Source(10, 18) + SourceIndex(0) +4 >Emitted(6, 19) Source(10, 19) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -73,14 +74,14 @@ sourceFile:es6-sourcemap-amd.ts 1 > > 2 > } -1 >Emitted(6, 5) Source(11, 5) + SourceIndex(0) -2 >Emitted(6, 6) Source(11, 6) + SourceIndex(0) +1 >Emitted(7, 5) Source(11, 5) + SourceIndex(0) +2 >Emitted(7, 6) Source(11, 6) + SourceIndex(0) --- >>>} 1 >^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > >} -1 >Emitted(7, 2) Source(12, 2) + SourceIndex(0) +1 >Emitted(8, 2) Source(12, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=es6-sourcemap-amd.js.map \ No newline at end of file diff --git a/tests/baselines/reference/es6-umd.js b/tests/baselines/reference/es6-umd.js index a4367c81380f5..e2f6170223786 100644 --- a/tests/baselines/reference/es6-umd.js +++ b/tests/baselines/reference/es6-umd.js @@ -15,6 +15,7 @@ class A } //// [es6-umd.js] +"use strict"; class A { constructor() { } diff --git a/tests/baselines/reference/es6ClassSuperCodegenBug.js b/tests/baselines/reference/es6ClassSuperCodegenBug.js index ad8eb5d65397d..d1fcb5e497f0b 100644 --- a/tests/baselines/reference/es6ClassSuperCodegenBug.js +++ b/tests/baselines/reference/es6ClassSuperCodegenBug.js @@ -16,6 +16,7 @@ class B extends A { //// [es6ClassSuperCodegenBug.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/es6ClassTest.js b/tests/baselines/reference/es6ClassTest.js index 1fdfda16a932a..dcfcc344d7c75 100644 --- a/tests/baselines/reference/es6ClassTest.js +++ b/tests/baselines/reference/es6ClassTest.js @@ -87,6 +87,7 @@ declare namespace AmbientMod { //// [es6ClassTest.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/es6ClassTest2.js b/tests/baselines/reference/es6ClassTest2.js index 0bfcecaecf432..f5bd74cf27d10 100644 --- a/tests/baselines/reference/es6ClassTest2.js +++ b/tests/baselines/reference/es6ClassTest2.js @@ -161,6 +161,7 @@ var ccwc = new ChildClassWithoutConstructor(1, "s"); //// [es6ClassTest2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/es6ClassTest3.js b/tests/baselines/reference/es6ClassTest3.js index dd39dc1e34926..dcaffbc78a62b 100644 --- a/tests/baselines/reference/es6ClassTest3.js +++ b/tests/baselines/reference/es6ClassTest3.js @@ -17,6 +17,7 @@ namespace M { } //// [es6ClassTest3.js] +"use strict"; var M; (function (M) { var Visibility = /** @class */ (function () { diff --git a/tests/baselines/reference/es6ClassTest4.js b/tests/baselines/reference/es6ClassTest4.js index de71a0477104e..e5f664a3830f2 100644 --- a/tests/baselines/reference/es6ClassTest4.js +++ b/tests/baselines/reference/es6ClassTest4.js @@ -13,3 +13,4 @@ declare class Point //// [es6ClassTest4.js] +"use strict"; diff --git a/tests/baselines/reference/es6ClassTest5.js b/tests/baselines/reference/es6ClassTest5.js index 129342d5b5016..b16330dcac0cc 100644 --- a/tests/baselines/reference/es6ClassTest5.js +++ b/tests/baselines/reference/es6ClassTest5.js @@ -15,6 +15,7 @@ class bigClass { //// [es6ClassTest5.js] +"use strict"; var C1T5 = /** @class */ (function () { function C1T5() { this.foo = function (i) { diff --git a/tests/baselines/reference/es6ClassTest7.js b/tests/baselines/reference/es6ClassTest7.js index 2411bf53ee85c..d4f492c1fb61b 100644 --- a/tests/baselines/reference/es6ClassTest7.js +++ b/tests/baselines/reference/es6ClassTest7.js @@ -11,6 +11,7 @@ class Bar extends M.Foo { //// [es6ClassTest7.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/es6ClassTest8.js b/tests/baselines/reference/es6ClassTest8.js index 11f9fe73a5701..857f246150262 100644 --- a/tests/baselines/reference/es6ClassTest8.js +++ b/tests/baselines/reference/es6ClassTest8.js @@ -43,6 +43,7 @@ class Camera { //// [es6ClassTest8.js] +"use strict"; function f1(x) { return x; } var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/es6ClassTest9.js b/tests/baselines/reference/es6ClassTest9.js index 3d9a142500331..50354c13f5b5a 100644 --- a/tests/baselines/reference/es6ClassTest9.js +++ b/tests/baselines/reference/es6ClassTest9.js @@ -6,5 +6,6 @@ function foo() {} //// [es6ClassTest9.js] +"use strict"; (); function foo() { } diff --git a/tests/baselines/reference/es6DeclOrdering.js b/tests/baselines/reference/es6DeclOrdering.js index a356536a487a3..b54868725c077 100644 --- a/tests/baselines/reference/es6DeclOrdering.js +++ b/tests/baselines/reference/es6DeclOrdering.js @@ -19,6 +19,7 @@ class Bar { //// [es6DeclOrdering.js] +"use strict"; var Bar = /** @class */ (function () { function Bar(store) { this._store = store; // this is an error for some reason? Unresolved symbol store diff --git a/tests/baselines/reference/es6ImportParseErrors.js b/tests/baselines/reference/es6ImportParseErrors.js index 8b2809940bad6..5c2cedd075127 100644 --- a/tests/baselines/reference/es6ImportParseErrors.js +++ b/tests/baselines/reference/es6ImportParseErrors.js @@ -4,4 +4,5 @@ import 10; //// [es6ImportParseErrors.js] +"use strict"; 10; diff --git a/tests/baselines/reference/es6MemberScoping.js b/tests/baselines/reference/es6MemberScoping.js index 5efa0f5ef367d..38befbb189cdb 100644 --- a/tests/baselines/reference/es6MemberScoping.js +++ b/tests/baselines/reference/es6MemberScoping.js @@ -18,6 +18,7 @@ class Foo2 { //// [es6MemberScoping.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(store) { this._store = store; // should be an error. diff --git a/tests/baselines/reference/esDecorators-arguments.js b/tests/baselines/reference/esDecorators-arguments.js index 66a10fb8a8505..fa43fe7d19994 100644 --- a/tests/baselines/reference/esDecorators-arguments.js +++ b/tests/baselines/reference/esDecorators-arguments.js @@ -10,6 +10,7 @@ class C1 {} //// [esDecorators-arguments.js] +"use strict"; @(() => { }) @((a) => { }) @((a, b) => { }) diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es2015).js index ca1fcaf34a893..93bc16387251f 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es2015).js @@ -16,6 +16,7 @@ class C { //// [esDecorators-classDeclaration-accessors-nonStatic.js] +"use strict"; const method3 = "method3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es2022).js index 5dec37116ac37..7cae6ac5627ad 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es2022).js @@ -16,6 +16,7 @@ class C { //// [esDecorators-classDeclaration-accessors-nonStatic.js] +"use strict"; const method3 = "method3"; let C = (() => { var _a, _b; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es5).js index 016ca1b23e36c..b6389639e769a 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=es5).js @@ -16,6 +16,7 @@ class C { //// [esDecorators-classDeclaration-accessors-nonStatic.js] +"use strict"; var method3 = "method3"; var C = function () { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=esnext).js index 90303b2c9332a..d63862b38e3c8 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStatic(target=esnext).js @@ -16,6 +16,7 @@ class C { //// [esDecorators-classDeclaration-accessors-nonStatic.js] +"use strict"; const method3 = "method3"; class C { @dec(11) diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es2015).js index 1d89d49057655..d0ba36f246424 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es2015).js @@ -16,6 +16,7 @@ abstract class C { //// [esDecorators-classDeclaration-accessors-nonStaticAbstract.js] +"use strict"; const method3 = "method3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es2022).js index 1d89d49057655..d0ba36f246424 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es2022).js @@ -16,6 +16,7 @@ abstract class C { //// [esDecorators-classDeclaration-accessors-nonStaticAbstract.js] +"use strict"; const method3 = "method3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es5).js index 58f8f43397945..50fc2ed6807a9 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=es5).js @@ -16,6 +16,7 @@ abstract class C { //// [esDecorators-classDeclaration-accessors-nonStaticAbstract.js] +"use strict"; var method3 = "method3"; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=esnext).js index 1d89d49057655..d0ba36f246424 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticAbstract(target=esnext).js @@ -16,6 +16,7 @@ abstract class C { //// [esDecorators-classDeclaration-accessors-nonStaticAbstract.js] +"use strict"; const method3 = "method3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=es2015).js index 09af69d353862..301b7d6716e2b 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=es2015).js @@ -10,6 +10,7 @@ class C { //// [esDecorators-classDeclaration-accessors-nonStaticPrivate.js] +"use strict"; let C = (() => { var _C_instances, _a, _C_method1_get, _C_method1_set; let _instanceExtraInitializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=es2022).js index 3c63993410b8c..a23faac2003e5 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=es2022).js @@ -10,6 +10,7 @@ class C { //// [esDecorators-classDeclaration-accessors-nonStaticPrivate.js] +"use strict"; let C = (() => { let _instanceExtraInitializers = []; let _private_get_method1_decorators; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=esnext).js index eedf3223b86a1..8162f532788eb 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-nonStaticPrivate(target=esnext).js @@ -10,6 +10,7 @@ class C { //// [esDecorators-classDeclaration-accessors-nonStaticPrivate.js] +"use strict"; class C { @dec(1) get #method1() { return 0; } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es2015).js index 2ee1947d0d143..2682fd77065ca 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es2015).js @@ -16,6 +16,7 @@ class C { //// [esDecorators-classDeclaration-accessors-static.js] +"use strict"; const method3 = "method3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es2022).js index 715b083d990ad..35aa314fadee4 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es2022).js @@ -16,6 +16,7 @@ class C { //// [esDecorators-classDeclaration-accessors-static.js] +"use strict"; const method3 = "method3"; let C = (() => { var _a, _b; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es5).js index b0139112e7e15..930942555eda7 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=es5).js @@ -16,6 +16,7 @@ class C { //// [esDecorators-classDeclaration-accessors-static.js] +"use strict"; var method3 = "method3"; var C = function () { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=esnext).js index dda919043ee7f..6972fea4a1857 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-static(target=esnext).js @@ -16,6 +16,7 @@ class C { //// [esDecorators-classDeclaration-accessors-static.js] +"use strict"; const method3 = "method3"; class C { @dec(11) diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=es2015).js index 25267d61f907f..881f6d72873f5 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=es2015).js @@ -20,6 +20,7 @@ class D { //// [esDecorators-classDeclaration-accessors-staticPrivate.js] +"use strict"; let C = (() => { var _a, _C_method1_get, _C_method1_set; let _staticExtraInitializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=es2022).js index e3ccb7edba7d9..c5631ae81be18 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=es2022).js @@ -20,6 +20,7 @@ class D { //// [esDecorators-classDeclaration-accessors-staticPrivate.js] +"use strict"; let C = (() => { let _staticExtraInitializers = []; let _static_private_get_method1_decorators; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=esnext).js index 3132872a1c436..d253f663779c9 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-accessors-staticPrivate(target=esnext).js @@ -20,6 +20,7 @@ class D { //// [esDecorators-classDeclaration-accessors-staticPrivate.js] +"use strict"; class C { @dec(1) static get #method1() { return 0; } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.1.js b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.1.js index a8e51561f3ff4..2a6af1561b585 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.1.js +++ b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.1.js @@ -24,6 +24,7 @@ class C extends Base { //// [esDecorators-classDeclaration-classSuper.1.js] +"use strict"; const method = "method"; let C = (() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.2.js b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.2.js index 73bef5d6834c9..843d63870e434 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.2.js +++ b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.2.js @@ -29,6 +29,7 @@ class C3 extends ((() => {}) as any) { //// [esDecorators-classDeclaration-classSuper.2.js] +"use strict"; // class expression in extends should not get an assigned name let C1 = (() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.3.js b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.3.js index 163608b9d4416..895fb121dbfc5 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.3.js +++ b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.3.js @@ -46,6 +46,7 @@ class C extends Base { //// [esDecorators-classDeclaration-classSuper.3.js] +"use strict"; const x = "x"; let C = (() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.4.js b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.4.js index 215fb03d15adf..54c4216e41898 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.4.js +++ b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.4.js @@ -21,6 +21,7 @@ class C extends Base { //// [esDecorators-classDeclaration-classSuper.4.js] +"use strict"; const method = "method"; let C = (() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.5.js b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.5.js index f4bc3025edc2a..a022bbea15852 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.5.js +++ b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.5.js @@ -50,6 +50,7 @@ class C3 extends Base { //// [esDecorators-classDeclaration-classSuper.5.js] +"use strict"; const x = "x"; let C1 = (() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.6.js b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.6.js index c99395166671a..24a23c35123d3 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.6.js +++ b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.6.js @@ -28,6 +28,7 @@ class C extends Base { //// [esDecorators-classDeclaration-classSuper.6.js] +"use strict"; // none of the following should result in caching `super` let C = (() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.7.js b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.7.js index 70aa74aa92e88..f1f7df3b0e1b4 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-classSuper.7.js +++ b/tests/baselines/reference/esDecorators-classDeclaration-classSuper.7.js @@ -43,6 +43,7 @@ class D extends A { //// [esDecorators-classDeclaration-classSuper.7.js] +"use strict"; class A { } let B = (() => { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=es2015).js index 66f15fe9c942f..57d34e703d9be 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=es2015).js @@ -14,6 +14,7 @@ class C { //// [esDecorators-classDeclaration-classThisReference.js] +"use strict"; let C = (() => { var _C_a_accessor_storage; let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=es2022).js index ed7697f730fde..8ece29c36842e 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=es2022).js @@ -14,6 +14,7 @@ class C { //// [esDecorators-classDeclaration-classThisReference.js] +"use strict"; let C = (() => { var _C_a_accessor_storage; let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=esnext).js index 869cdb1a2beb3..2b6a9e8b516ac 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-classThisReference(target=esnext).js @@ -14,6 +14,7 @@ class C { //// [esDecorators-classDeclaration-classThisReference.js] +"use strict"; @dec class C { static { this; } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-classThisReference.es5.js b/tests/baselines/reference/esDecorators-classDeclaration-classThisReference.es5.js index 663113737c592..2c1385452dfc7 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-classThisReference.es5.js +++ b/tests/baselines/reference/esDecorators-classDeclaration-classThisReference.es5.js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-classThisReference.es5.js] +"use strict"; var C = function () { var _classDecorators = [dec]; var _classDescriptor; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=es2015).js index 6e098787886f4..b8d67a556b4b5 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=es2015).js @@ -120,6 +120,7 @@ class G { //// [file1.js] +"use strict"; /*1*/ let C = (() => { var _C_method_get, _C_x_get, _C_x_set, _C_y, _C_z_accessor_storage, _C_z_get, _C_z_set, _C_z_1_accessor_storage; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=es2022).js index a7b585e5678c1..9e45c033b4088 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=es2022).js @@ -120,6 +120,7 @@ class G { //// [file1.js] +"use strict"; /*1*/ let C = (() => { var _C_method_get, _C_x_get, _C_x_set, _C_y, _C_z_accessor_storage, _C_z_get, _C_z_set; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=esnext).js index 4008d7e6d3fbb..9b262f2054fd5 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=commonjs,target=esnext).js @@ -120,6 +120,7 @@ class G { //// [file1.js] +"use strict"; /*1*/ @dec /*2*/ diff --git a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=es2015).js index 625b665888e1d..5b9ba4df9f943 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=es2015).js @@ -120,6 +120,7 @@ class G { //// [file1.js] +"use strict"; /*1*/ let C = (() => { var _C_method_get, _C_x_get, _C_x_set, _C_y, _C_z_accessor_storage, _C_z_get, _C_z_set, _C_z_1_accessor_storage; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=es2022).js index 07a163354c17e..a40101920c7ed 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=es2022).js @@ -120,6 +120,7 @@ class G { //// [file1.js] +"use strict"; /*1*/ let C = (() => { var _C_method_get, _C_x_get, _C_x_set, _C_y, _C_z_accessor_storage, _C_z_get, _C_z_set; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=esnext).js index d56f696134740..7ab740d28731a 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-commentPreservation(module=esnext,target=esnext).js @@ -120,6 +120,7 @@ class G { //// [file1.js] +"use strict"; /*1*/ @dec /*2*/ diff --git a/tests/baselines/reference/esDecorators-classDeclaration-exportModifier.2.js b/tests/baselines/reference/esDecorators-classDeclaration-exportModifier.2.js index ce8468d988d17..627c8b7f0a3a4 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-exportModifier.2.js +++ b/tests/baselines/reference/esDecorators-classDeclaration-exportModifier.2.js @@ -66,6 +66,7 @@ export default abstract @dec class C15 {} //// [global.js] +"use strict"; /** @type {*} */ var dec; //// [file1.js] @@ -111,6 +112,7 @@ export default class C7 { } //// [file8.js] +"use strict"; // ok @dec class C8 { @@ -138,12 +140,14 @@ export default class C12 { } //// [file13.js] +"use strict"; // error abstract; @dec class C13 { } //// [file14.js] +"use strict"; abstract; @dec class C14 { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2015,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2015,usedefineforclassfields=false).js index 9a30f48f2cfeb..8bd2b63c8236c 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2015,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2015,usedefineforclassfields=false).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStatic.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2015,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2015,usedefineforclassfields=true).js index eb5a305ea63b4..466e535b6bb15 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2015,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2015,usedefineforclassfields=true).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStatic.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2022,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2022,usedefineforclassfields=false).js index bed8a4f89cf1f..51dd4b77fcfb2 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2022,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2022,usedefineforclassfields=false).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStatic.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2022,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2022,usedefineforclassfields=true).js index ca57211bbb7fa..c1207ec16412c 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2022,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es2022,usedefineforclassfields=true).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStatic.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=false).js index fe2c28eb12957..e20ea023b4699 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=false).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStatic.js] +"use strict"; var field3 = "field3"; var C = function () { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=true).js index 6c8c7701bdf6e..d5a580ec31edc 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=es5,usedefineforclassfields=true).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStatic.js] +"use strict"; var field3 = "field3"; var C = function () { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=esnext,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=esnext,usedefineforclassfields=false).js index bed8a4f89cf1f..51dd4b77fcfb2 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=esnext,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=esnext,usedefineforclassfields=false).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStatic.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=esnext,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=esnext,usedefineforclassfields=true).js index 462706419ac93..50e8b14f42441 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=esnext,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStatic(target=esnext,usedefineforclassfields=true).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStatic.js] +"use strict"; const field3 = "field3"; class C { @dec(1) diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es2015).js index 1d9f5e179734d..ef5596fa1c7ba 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es2015).js @@ -13,6 +13,7 @@ abstract class C { //// [esDecorators-classDeclaration-fields-nonStaticAbstract.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es2022).js index 1d9f5e179734d..ef5596fa1c7ba 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es2022).js @@ -13,6 +13,7 @@ abstract class C { //// [esDecorators-classDeclaration-fields-nonStaticAbstract.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es5).js index d01de425bfa42..4af6073eb96e9 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=es5).js @@ -13,6 +13,7 @@ abstract class C { //// [esDecorators-classDeclaration-fields-nonStaticAbstract.js] +"use strict"; var field3 = "field3"; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=esnext).js index 1d9f5e179734d..ef5596fa1c7ba 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstract(target=esnext).js @@ -13,6 +13,7 @@ abstract class C { //// [esDecorators-classDeclaration-fields-nonStaticAbstract.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=es2015).js index 7dd5d6b96a0ea..e19ad6aeecdd1 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=es2015).js @@ -13,6 +13,7 @@ abstract class C { //// [esDecorators-classDeclaration-fields-nonStaticAbstractAccessor.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=es2022).js index 7dd5d6b96a0ea..e19ad6aeecdd1 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=es2022).js @@ -13,6 +13,7 @@ abstract class C { //// [esDecorators-classDeclaration-fields-nonStaticAbstractAccessor.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=esnext).js index 7dd5d6b96a0ea..e19ad6aeecdd1 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAbstractAccessor(target=esnext).js @@ -13,6 +13,7 @@ abstract class C { //// [esDecorators-classDeclaration-fields-nonStaticAbstractAccessor.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=es2015).js index f8ca6d07bfced..bcc6b83d52abd 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=es2015).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticAccessor.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a, _C_field1_accessor_storage, _C__a_accessor_storage, _C__b_accessor_storage; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=es2022).js index 26fd995bcfd4d..ef3496cdf73a1 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=es2022).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticAccessor.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=esnext).js index df787ff88db02..f811b8a8fe685 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAccessor(target=esnext).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticAccessor.js] +"use strict"; const field3 = "field3"; class C { @dec(1) diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es2015).js index 05e1b047b84bb..7d70966fdb143 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es2015).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticAmbient.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es2022).js index 05e1b047b84bb..7d70966fdb143 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es2022).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticAmbient.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es5).js index 18fecf62a1f46..761534e921fd4 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=es5).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticAmbient.js] +"use strict"; var field3 = "field3"; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=esnext).js index 05e1b047b84bb..7d70966fdb143 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticAmbient(target=esnext).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticAmbient.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=es2015).js index c01012fa9bfcd..c6c518602013f 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=es2015).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticPrivate.js] +"use strict"; let C = (() => { var _a, _C_field1; let _private_field1_decorators; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=es2022).js index c5ee185a42888..a1690ae9d93d9 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=es2022).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticPrivate.js] +"use strict"; let C = (() => { let _private_field1_decorators; let _private_field1_initializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=esnext).js index b369d880bb53c..879dbcf7c0e52 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivate(target=esnext).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticPrivate.js] +"use strict"; class C { @dec #field1 = 0; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=es2015).js index 3f1025856e94e..c5775f6a4cc8b 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=es2015).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticPrivateAccessor.js] +"use strict"; let C = (() => { var _C_instances, _a, _C_field1_accessor_storage, _C_field1_get, _C_field1_set; let _private_field1_decorators; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=es2022).js index c658a261dd483..9e1d860361b7c 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=es2022).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticPrivateAccessor.js] +"use strict"; let C = (() => { let _private_field1_decorators; let _private_field1_initializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=esnext).js index 3c5075cfa923c..94987f377c087 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-nonStaticPrivateAccessor(target=esnext).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-fields-nonStaticPrivateAccessor.js] +"use strict"; class C { @dec accessor #field1 = 0; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2015,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2015,usedefineforclassfields=false).js index fbb1c1e8da69a..920040b14738d 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2015,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2015,usedefineforclassfields=false).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-static.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2015,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2015,usedefineforclassfields=true).js index f09ee49d39ab9..328abc8933266 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2015,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2015,usedefineforclassfields=true).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-static.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2022,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2022,usedefineforclassfields=false).js index f57f24768729a..719ec986a6261 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2022,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2022,usedefineforclassfields=false).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-static.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2022,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2022,usedefineforclassfields=true).js index f44410851e42f..f9eb8e4bc0687 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2022,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es2022,usedefineforclassfields=true).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-static.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=false).js index d040c944fa38d..2598b53c4a01e 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=false).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-static.js] +"use strict"; var _this = this; var field3 = "field3"; var C = function () { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=true).js index dba3f2851a151..c1c5c515951c3 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=es5,usedefineforclassfields=true).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-static.js] +"use strict"; var _this = this; var field3 = "field3"; var C = function () { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=esnext,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=esnext,usedefineforclassfields=false).js index f57f24768729a..719ec986a6261 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=esnext,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=esnext,usedefineforclassfields=false).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-static.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=esnext,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=esnext,usedefineforclassfields=true).js index b037e267da120..df86208608742 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=esnext,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-static(target=esnext,usedefineforclassfields=true).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-static.js] +"use strict"; const field3 = "field3"; class C { @dec(1) diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=es2015).js index 5af39781a986d..d202059eb0808 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=es2015).js @@ -21,6 +21,7 @@ class D { } //// [esDecorators-classDeclaration-fields-staticAccessor.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a, _C_field1_accessor_storage, _C__a_accessor_storage, _C__b_accessor_storage; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=es2022).js index 7c2a8f23f0aa4..cd00d4b35fe68 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=es2022).js @@ -21,6 +21,7 @@ class D { } //// [esDecorators-classDeclaration-fields-staticAccessor.js] +"use strict"; const field3 = "field3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=esnext).js index fda4ec4369ddc..148e79c4d12f1 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAccessor(target=esnext).js @@ -21,6 +21,7 @@ class D { } //// [esDecorators-classDeclaration-fields-staticAccessor.js] +"use strict"; const field3 = "field3"; class C { @dec(1) diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es2015).js index e086713ee6579..56206b049661c 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es2015).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-staticAmbient.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es2022).js index e086713ee6579..56206b049661c 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es2022).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-staticAmbient.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es5).js index 28e4bc2ad2e9e..e7d6a498b928c 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=es5).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-staticAmbient.js] +"use strict"; var field3 = "field3"; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=esnext).js index e086713ee6579..56206b049661c 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticAmbient(target=esnext).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-fields-staticAmbient.js] +"use strict"; const field3 = "field3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=es2015).js index 3d0ade65e6ca7..a7a0fa38391d9 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=es2015).js @@ -18,6 +18,7 @@ class D { //// [esDecorators-classDeclaration-fields-staticPrivate.js] +"use strict"; let C = (() => { var _a, _C_field1; let _static_private_field1_decorators; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=es2022).js index 0c970446b57d2..f64ccb4261cd2 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=es2022).js @@ -18,6 +18,7 @@ class D { //// [esDecorators-classDeclaration-fields-staticPrivate.js] +"use strict"; let C = (() => { let _static_private_field1_decorators; let _static_private_field1_initializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=esnext).js index ab11d0608e12d..0956730600063 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivate(target=esnext).js @@ -18,6 +18,7 @@ class D { //// [esDecorators-classDeclaration-fields-staticPrivate.js] +"use strict"; class C { @dec static #field1 = 0; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=es2015).js index 6ef8dd57ac4b3..0b95ab1c27c55 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=es2015).js @@ -18,6 +18,7 @@ class D { //// [esDecorators-classDeclaration-fields-staticPrivateAccessor.js] +"use strict"; let C = (() => { var _a, _C_field1_accessor_storage, _C_field1_get, _C_field1_set; let _static_private_field1_decorators; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=es2022).js index 87534a6392bd0..f2beb947d5682 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=es2022).js @@ -18,6 +18,7 @@ class D { //// [esDecorators-classDeclaration-fields-staticPrivateAccessor.js] +"use strict"; let C = (() => { let _static_private_field1_decorators; let _static_private_field1_initializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=esnext).js index e15001c56b51b..dcb5414033736 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-fields-staticPrivateAccessor(target=esnext).js @@ -18,6 +18,7 @@ class D { //// [esDecorators-classDeclaration-fields-staticPrivateAccessor.js] +"use strict"; class C { @dec static accessor #field1 = 0; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es2015).js index 6b480c5a73786..641ce38e3cd3f 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es2015).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-methods-nonStatic.js] +"use strict"; const method3 = "method3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es2022).js index 7a67bacf1403b..5ff4566934946 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es2022).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-methods-nonStatic.js] +"use strict"; const method3 = "method3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es5).js index 65d0dd2ccac26..727f2ab9f6a38 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=es5).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-methods-nonStatic.js] +"use strict"; var method3 = "method3"; var C = function () { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=esnext).js index 9fa1943b191b8..c7ed96596fc9d 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStatic(target=esnext).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-methods-nonStatic.js] +"use strict"; const method3 = "method3"; class C { @dec(1) diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es2015).js index eed4b69893aae..d3678d9019883 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es2015).js @@ -13,6 +13,7 @@ abstract class C { //// [esDecorators-classDeclaration-methods-nonStaticAbstract.js] +"use strict"; const method3 = "method3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es2022).js index eed4b69893aae..d3678d9019883 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es2022).js @@ -13,6 +13,7 @@ abstract class C { //// [esDecorators-classDeclaration-methods-nonStaticAbstract.js] +"use strict"; const method3 = "method3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es5).js index 731c95b946207..7d889ddcdb34a 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=es5).js @@ -13,6 +13,7 @@ abstract class C { //// [esDecorators-classDeclaration-methods-nonStaticAbstract.js] +"use strict"; var method3 = "method3"; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=esnext).js index eed4b69893aae..d3678d9019883 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticAbstract(target=esnext).js @@ -13,6 +13,7 @@ abstract class C { //// [esDecorators-classDeclaration-methods-nonStaticAbstract.js] +"use strict"; const method3 = "method3"; class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=es2015).js index 91339a5c96be8..5e7086959a130 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=es2015).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-methods-nonStaticPrivate.js] +"use strict"; let C = (() => { var _C_instances, _a, _C_method1_get; let _instanceExtraInitializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=es2022).js index 9d62c6f4fa82a..3df10afba51fa 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=es2022).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-methods-nonStaticPrivate.js] +"use strict"; let C = (() => { let _instanceExtraInitializers = []; let _private_method1_decorators; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=esnext).js index 5d8921c4de310..bdb976225e501 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-nonStaticPrivate(target=esnext).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-methods-nonStaticPrivate.js] +"use strict"; class C { @dec #method1() { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es2015).js index 9c226b2e31140..2df6284f53159 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es2015).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-methods-static.js] +"use strict"; const method3 = "method3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es2022).js index 73e4f07432022..86f38dd96dd1c 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es2022).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-methods-static.js] +"use strict"; const method3 = "method3"; let C = (() => { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es5).js index 824f38952f59d..2a82d19e8c16a 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=es5).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-methods-static.js] +"use strict"; var method3 = "method3"; var C = function () { var _a; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=esnext).js index 4ab8d2ab3544e..c13e81a41ddc7 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-static(target=esnext).js @@ -13,6 +13,7 @@ class C { //// [esDecorators-classDeclaration-methods-static.js] +"use strict"; const method3 = "method3"; class C { @dec(1) diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=es2015).js index a6c38466cfcdf..4db3b713a6ed3 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=es2015).js @@ -14,6 +14,7 @@ class D { //// [esDecorators-classDeclaration-methods-staticPrivate.js] +"use strict"; let C = (() => { var _a, _C_method1_get; let _staticExtraInitializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=es2022).js index 239f8e8f929a2..63b4ea82d5828 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=es2022).js @@ -14,6 +14,7 @@ class D { //// [esDecorators-classDeclaration-methods-staticPrivate.js] +"use strict"; let C = (() => { let _staticExtraInitializers = []; let _static_private_method1_decorators; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=esnext).js index 6651a5e66b5e0..40084510a5fe9 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-methods-staticPrivate(target=esnext).js @@ -14,6 +14,7 @@ class D { //// [esDecorators-classDeclaration-methods-staticPrivate.js] +"use strict"; class C { @dec static #method1() { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es2015).js index 23a2abdede464..60110f956493a 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es2015).js @@ -10,6 +10,7 @@ class C { //// [esDecorators-classDeclaration-multipleDecorators.js] +"use strict"; let C = (() => { let _classDecorators = [dec1, dec2]; let _classDescriptor; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es2022).js index a7f92000fca43..390a48ee12ffa 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es2022).js @@ -10,6 +10,7 @@ class C { //// [esDecorators-classDeclaration-multipleDecorators.js] +"use strict"; let C = (() => { let _classDecorators = [dec1, dec2]; let _classDescriptor; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es5).js index b749cde654087..14bc6b91c9c0f 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=es5).js @@ -10,6 +10,7 @@ class C { //// [esDecorators-classDeclaration-multipleDecorators.js] +"use strict"; var C = function () { var _classDecorators = [dec1, dec2]; var _classDescriptor; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=esnext).js index 9be1c853b5ac0..d66cbe65cc973 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-multipleDecorators(target=esnext).js @@ -10,6 +10,7 @@ class C { //// [esDecorators-classDeclaration-multipleDecorators.js] +"use strict"; @dec1 @dec2 class C { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2015).js index 8e411fe4bfe38..94b12e99942bf 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2015).js @@ -38,6 +38,7 @@ class C { } //// [esDecorators-classDeclaration-outerThisReference.js] +"use strict"; // `this` should point to the outer `this` in both cases. let A = (() => { let _outerThis = this; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2021).js b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2021).js index 8e411fe4bfe38..94b12e99942bf 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2021).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2021).js @@ -38,6 +38,7 @@ class C { } //// [esDecorators-classDeclaration-outerThisReference.js] +"use strict"; // `this` should point to the outer `this` in both cases. let A = (() => { let _outerThis = this; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2022).js index d1ce061b8adad..96f51d2042197 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=es2022).js @@ -38,6 +38,7 @@ class C { } //// [esDecorators-classDeclaration-outerThisReference.js] +"use strict"; // `this` should point to the outer `this` in both cases. let A = (() => { let _outerThis = this; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=esnext).js index 094ad5b64a7d7..8a7a58353ff49 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-outerThisReference(target=esnext).js @@ -38,6 +38,7 @@ class C { } //// [esDecorators-classDeclaration-outerThisReference.js] +"use strict"; // `this` should point to the outer `this` in both cases. @dec(this) class A { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es2015).js index 4b38c99e82fbe..f28af645b54d8 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es2015).js @@ -20,6 +20,7 @@ class C { }); //// [esDecorators-classDeclaration-parameterDecorators.js] +"use strict"; class C { constructor(x) { } method(x) { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es2022).js index 4b38c99e82fbe..f28af645b54d8 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es2022).js @@ -20,6 +20,7 @@ class C { }); //// [esDecorators-classDeclaration-parameterDecorators.js] +"use strict"; class C { constructor(x) { } method(x) { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es5).js index bbe969c85aeb9..5a4acce587c97 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=es5).js @@ -20,6 +20,7 @@ class C { }); //// [esDecorators-classDeclaration-parameterDecorators.js] +"use strict"; var C = /** @class */ (function () { function C(x) { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=esnext).js index e77651611444e..781954e5bad87 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterDecorators(target=esnext).js @@ -20,6 +20,7 @@ class C { }); //// [esDecorators-classDeclaration-parameterDecorators.js] +"use strict"; class C { constructor( @dec diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2015,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2015,usedefineforclassfields=false).js index b3b629e0c86ef..9e47671f39ed8 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2015,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2015,usedefineforclassfields=false).js @@ -12,6 +12,7 @@ class C { //// [esDecorators-classDeclaration-parameterProperties.js] +"use strict"; let C = (() => { var _a; let _instanceExtraInitializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2015,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2015,usedefineforclassfields=true).js index 3174830b7742f..3f047b00b2db6 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2015,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2015,usedefineforclassfields=true).js @@ -12,6 +12,7 @@ class C { //// [esDecorators-classDeclaration-parameterProperties.js] +"use strict"; let C = (() => { var _a; let _instanceExtraInitializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2022,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2022,usedefineforclassfields=false).js index 005a2ac5e11cc..c5a55f7af162e 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2022,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2022,usedefineforclassfields=false).js @@ -12,6 +12,7 @@ class C { //// [esDecorators-classDeclaration-parameterProperties.js] +"use strict"; let C = (() => { let _instanceExtraInitializers = []; let _speak_decorators; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2022,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2022,usedefineforclassfields=true).js index 00424b7929ed6..b9ad121ca6895 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2022,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es2022,usedefineforclassfields=true).js @@ -12,6 +12,7 @@ class C { //// [esDecorators-classDeclaration-parameterProperties.js] +"use strict"; let C = (() => { let _instanceExtraInitializers = []; let _speak_decorators; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=false).js index 1f4454641218f..c5385d2f7ab05 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=false).js @@ -12,6 +12,7 @@ class C { //// [esDecorators-classDeclaration-parameterProperties.js] +"use strict"; var C = function () { var _a; var _instanceExtraInitializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=true).js index 9cd393bcadba9..063e2f264337d 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=es5,usedefineforclassfields=true).js @@ -12,6 +12,7 @@ class C { //// [esDecorators-classDeclaration-parameterProperties.js] +"use strict"; var C = function () { var _a; var _instanceExtraInitializers = []; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=esnext,usedefineforclassfields=false).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=esnext,usedefineforclassfields=false).js index 005a2ac5e11cc..c5a55f7af162e 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=esnext,usedefineforclassfields=false).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=esnext,usedefineforclassfields=false).js @@ -12,6 +12,7 @@ class C { //// [esDecorators-classDeclaration-parameterProperties.js] +"use strict"; let C = (() => { let _instanceExtraInitializers = []; let _speak_decorators; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=esnext,usedefineforclassfields=true).js b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=esnext,usedefineforclassfields=true).js index 2190b039b1a35..16235069ce98f 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=esnext,usedefineforclassfields=true).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-parameterProperties(target=esnext,usedefineforclassfields=true).js @@ -12,6 +12,7 @@ class C { //// [esDecorators-classDeclaration-parameterProperties.js] +"use strict"; class C { message; constructor(message) { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es2015).js index 83ef4c41ad474..ebfef2e2b085e 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es2015).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-simpleTransformation.js] +"use strict"; let C = (() => { let _classDecorators = [dec]; let _classDescriptor; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es2022).js index 688cfc6e32a93..4cb3d3e9ef4d5 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es2022).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-simpleTransformation.js] +"use strict"; let C = (() => { let _classDecorators = [dec]; let _classDescriptor; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es5).js b/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es5).js index 115a0adbe9f49..2fe80d27d7100 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es5).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=es5).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-simpleTransformation.js] +"use strict"; var C = function () { var _classDecorators = [dec]; var _classDescriptor; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=esnext).js index fe11b1659e9b6..89790084fae33 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-simpleTransformation(target=esnext).js @@ -9,6 +9,7 @@ class C { //// [esDecorators-classDeclaration-simpleTransformation.js] +"use strict"; @dec class C { } diff --git a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).js b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).js index c5df07be4f1e6..0201cbbacffdf 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).js @@ -49,6 +49,7 @@ class C { //// [esDecorators-classDeclaration-sourceMap.js] +"use strict"; var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).js.map b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).js.map index 2d62dd58cc05b..1564b615db38e 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).js.map +++ b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).js.map @@ -1,6 +1,6 @@ //// [esDecorators-classDeclaration-sourceMap.js.map] -{"version":3,"file":"esDecorators-classDeclaration-sourceMap.js","sourceRoot":"","sources":["esDecorators-classDeclaration-sourceMap.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIM,CAAC;;4BAFN,GAAG,EACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAIA,MAAM,KAAI,CAAC;QAIX,IAAI,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;QAIrB,IAAI,CAAC,CAAC,KAAa,IAAI,CAAC;QAQxB,IAAS,CAAC,yEAAK;QAAf,IAAS,CAAC,8EAAK;;YAJf,MAAC,IAfC,mDAAC,2CAeC,CAAC,GAAC;YAIG,2HAAI,CAAC,IAAC;;;;;;;;;;;;;8BAlBd,GAAG,EACH,GAAG;6BAGH,GAAG,EACH,GAAG;6BAGH,GAAG,EACH,GAAG;yBAGH,GAAG,EACH,GAAG;yBAGH,GAAG,EACH,GAAG;6CAGH,GAAG,EACH,GAAG;4CAGH,GAAG,EACH,GAAG;4C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TtRQXBDdkIsMktBQUEsTUFBTSw2REFBSztRQUlYLGdLQUFJLENBQUMsNkRBQWdCO1FBSXJCLDJLQUFJLENBQUMsd0VBQW1CO1FBUXhCLDhKQUFTLENBQUMsNkJBQUQsQ0FBQyw2RUFBSztRQWdCZixrYUFBYztRQXBCZCxxSkFBQSxDQUFDLDZCQUFELENBQUMsNkVBQUs7UUFmViw2S0F3Q0M7Ozs7SUFMVSxpQkFuQ0wsdURBQUMsZ0VBbUNTLENBQUMsSUFBSixDQUFLO0lBSUUsb0tBQUssQ0FBQyxJQUFKLENBQUs7OztRQXZDckIsdURBQUMifQ==,ZGVjbGFyZSB2YXIgZGVjOiBhbnk7CgpAZGVjCkBkZWMKY2xhc3MgQyB7CiAgICBAZGVjCiAgICBAZGVjCiAgICBtZXRob2QoKSB7fQoKICAgIEBkZWMKICAgIEBkZWMKICAgIGdldCB4KCkgeyByZXR1cm4gMTsgfQoKICAgIEBkZWMKICAgIEBkZWMKICAgIHNldCB4KHZhbHVlOiBudW1iZXIpIHsgfQoKICAgIEBkZWMKICAgIEBkZWMKICAgIHkgPSAxOwoKICAgIEBkZWMKICAgIEBkZWMKICAgIGFjY2Vzc29yIHogPSAxOwoKICAgIEBkZWMKICAgIEBkZWMKICAgIHN0YXRpYyAjbWV0aG9kKCkge30KCiAgICBAZGVjCiAgICBAZGVjCiAgICBzdGF0aWMgZ2V0ICN4KCkgeyByZXR1cm4gMTsgfQoKICAgIEBkZWMKICAgIEBkZWMKICAgIHN0YXRpYyBzZXQgI3godmFsdWU6IG51bWJlcikgeyB9CgogICAgQGRlYwogICAgQGRlYwogICAgc3RhdGljICN5ID0gMTsKCiAgICBAZGVjCiAgICBAZGVjCiAgICBzdGF0aWMgYWNjZXNzb3IgI3ogPSAxOwp9Cg== +{"version":3,"file":"esDecorators-classDeclaration-sourceMap.js","sourceRoot":"","sources":["esDecorators-classDeclaration-sourceMap.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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gfQoKICAgIEBkZWMKICAgIEBkZWMKICAgIHkgPSAxOwoKICAgIEBkZWMKICAgIEBkZWMKICAgIGFjY2Vzc29yIHogPSAxOwoKICAgIEBkZWMKICAgIEBkZWMKICAgIHN0YXRpYyAjbWV0aG9kKCkge30KCiAgICBAZGVjCiAgICBAZGVjCiAgICBzdGF0aWMgZ2V0ICN4KCkgeyByZXR1cm4gMTsgfQoKICAgIEBkZWMKICAgIEBkZWMKICAgIHN0YXRpYyBzZXQgI3godmFsdWU6IG51bWJlcikgeyB9CgogICAgQGRlYwogICAgQGRlYwogICAgc3RhdGljICN5ID0gMTsKCiAgICBAZGVjCiAgICBAZGVjCiAgICBzdGF0aWMgYWNjZXNzb3IgI3ogPSAxOwp9Cg== //// [esDecorators-classDeclaration-sourceMap.d.ts.map] {"version":3,"file":"esDecorators-classDeclaration-sourceMap.d.ts","sourceRoot":"","sources":["esDecorators-classDeclaration-sourceMap.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,IAAI,GAAG,EAAE,GAAG,CAAC;AAErB,cAEM,CAAC;;IAGH,MAAM;IAEN,IAEI,CAAC,IAIQ,MAAM,CAJE;IAErB,IAEI,CAAC,CAAC,KAAK,EAAE,MAAM,EAAK;IAIxB,CAAC,SAAK;IAIN,QAAQ,CAAC,CAAC,SAAK;CAqBlB"} diff --git a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).sourcemap.txt b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).sourcemap.txt index 51ceedca9e400..9a3f02db4512a 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).sourcemap.txt +++ b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2015).sourcemap.txt @@ -8,6 +8,7 @@ sources: esDecorators-classDeclaration-sourceMap.ts emittedFile:esDecorators-classDeclaration-sourceMap.js sourceFile:esDecorators-classDeclaration-sourceMap.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { >>> var useValue = arguments.length > 2; >>> for (var i = 0; i < initializers.length; i++) { @@ -71,8 +72,8 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts >@dec >class 2 > C -1 >Emitted(54, 5) Source(5, 7) + SourceIndex(0) -2 >Emitted(54, 6) Source(5, 8) + SourceIndex(0) +1 >Emitted(55, 5) Source(5, 7) + SourceIndex(0) +2 >Emitted(55, 6) Source(5, 8) + SourceIndex(0) --- >>> var _C_method_get, _C_x_get, _C_x_set, _C_y, _C_z_accessor_storage, _C_z_get, _C_z_set, _C_z_1_accessor_storage; >>> let _classDecorators = [dec, dec]; @@ -85,10 +86,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(56, 29) Source(3, 2) + SourceIndex(0) -2 >Emitted(56, 32) Source(3, 5) + SourceIndex(0) -3 >Emitted(56, 34) Source(4, 2) + SourceIndex(0) -4 >Emitted(56, 37) Source(4, 5) + SourceIndex(0) +1->Emitted(57, 29) Source(3, 2) + SourceIndex(0) +2 >Emitted(57, 32) Source(3, 5) + SourceIndex(0) +3 >Emitted(57, 34) Source(4, 2) + SourceIndex(0) +4 >Emitted(57, 37) Source(4, 5) + SourceIndex(0) --- >>> let _classDescriptor; >>> let _classExtraInitializers = []; @@ -132,10 +133,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > method 3 > () { 4 > } -1 >Emitted(85, 9) Source(8, 5) + SourceIndex(0) -2 >Emitted(85, 15) Source(8, 11) + SourceIndex(0) -3 >Emitted(85, 20) Source(8, 15) + SourceIndex(0) -4 >Emitted(85, 21) Source(8, 16) + SourceIndex(0) +1 >Emitted(86, 9) Source(8, 5) + SourceIndex(0) +2 >Emitted(86, 15) Source(8, 11) + SourceIndex(0) +3 >Emitted(86, 20) Source(8, 15) + SourceIndex(0) +4 >Emitted(86, 21) Source(8, 16) + SourceIndex(0) --- >>> get x() { return 1; } 1->^^^^^^^^ @@ -160,15 +161,15 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 7 > ; 8 > 9 > } -1->Emitted(86, 9) Source(12, 5) + SourceIndex(0) -2 >Emitted(86, 13) Source(12, 9) + SourceIndex(0) -3 >Emitted(86, 14) Source(12, 10) + SourceIndex(0) -4 >Emitted(86, 19) Source(12, 15) + SourceIndex(0) -5 >Emitted(86, 26) Source(12, 22) + SourceIndex(0) -6 >Emitted(86, 27) Source(12, 23) + SourceIndex(0) -7 >Emitted(86, 28) Source(12, 24) + SourceIndex(0) -8 >Emitted(86, 29) Source(12, 25) + SourceIndex(0) -9 >Emitted(86, 30) Source(12, 26) + SourceIndex(0) +1->Emitted(87, 9) Source(12, 5) + SourceIndex(0) +2 >Emitted(87, 13) Source(12, 9) + SourceIndex(0) +3 >Emitted(87, 14) Source(12, 10) + SourceIndex(0) +4 >Emitted(87, 19) Source(12, 15) + SourceIndex(0) +5 >Emitted(87, 26) Source(12, 22) + SourceIndex(0) +6 >Emitted(87, 27) Source(12, 23) + SourceIndex(0) +7 >Emitted(87, 28) Source(12, 24) + SourceIndex(0) +8 >Emitted(87, 29) Source(12, 25) + SourceIndex(0) +9 >Emitted(87, 30) Source(12, 26) + SourceIndex(0) --- >>> set x(value) { } 1 >^^^^^^^^ @@ -190,13 +191,13 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 5 > value: number 6 > ) { 7 > } -1 >Emitted(87, 9) Source(16, 5) + SourceIndex(0) -2 >Emitted(87, 13) Source(16, 9) + SourceIndex(0) -3 >Emitted(87, 14) Source(16, 10) + SourceIndex(0) -4 >Emitted(87, 15) Source(16, 11) + SourceIndex(0) -5 >Emitted(87, 20) Source(16, 24) + SourceIndex(0) -6 >Emitted(87, 24) Source(16, 28) + SourceIndex(0) -7 >Emitted(87, 25) Source(16, 29) + SourceIndex(0) +1 >Emitted(88, 9) Source(16, 5) + SourceIndex(0) +2 >Emitted(88, 13) Source(16, 9) + SourceIndex(0) +3 >Emitted(88, 14) Source(16, 10) + SourceIndex(0) +4 >Emitted(88, 15) Source(16, 11) + SourceIndex(0) +5 >Emitted(88, 20) Source(16, 24) + SourceIndex(0) +6 >Emitted(88, 24) Source(16, 28) + SourceIndex(0) +7 >Emitted(88, 25) Source(16, 29) + SourceIndex(0) --- >>> get z() { return __classPrivateFieldGet(this, _C_z_1_accessor_storage, "f"); } 1->^^^^^^^^ @@ -216,10 +217,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > accessor 3 > z 4 > = 1; -1->Emitted(88, 9) Source(24, 5) + SourceIndex(0) -2 >Emitted(88, 13) Source(24, 14) + SourceIndex(0) -3 >Emitted(88, 14) Source(24, 15) + SourceIndex(0) -4 >Emitted(88, 87) Source(24, 20) + SourceIndex(0) +1->Emitted(89, 9) Source(24, 5) + SourceIndex(0) +2 >Emitted(89, 13) Source(24, 14) + SourceIndex(0) +3 >Emitted(89, 14) Source(24, 15) + SourceIndex(0) +4 >Emitted(89, 87) Source(24, 20) + SourceIndex(0) --- >>> set z(value) { __classPrivateFieldSet(this, _C_z_1_accessor_storage, value, "f"); } 1->^^^^^^^^ @@ -230,10 +231,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > accessor 3 > z 4 > = 1; -1->Emitted(89, 9) Source(24, 5) + SourceIndex(0) -2 >Emitted(89, 13) Source(24, 14) + SourceIndex(0) -3 >Emitted(89, 14) Source(24, 15) + SourceIndex(0) -4 >Emitted(89, 92) Source(24, 20) + SourceIndex(0) +1->Emitted(90, 9) Source(24, 5) + SourceIndex(0) +2 >Emitted(90, 13) Source(24, 14) + SourceIndex(0) +3 >Emitted(90, 14) Source(24, 15) + SourceIndex(0) +4 >Emitted(90, 92) Source(24, 20) + SourceIndex(0) --- >>> constructor() { >>> this.y = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _y_initializers, 1)); @@ -267,13 +268,13 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > y = 6 > 1 7 > ; -1 >Emitted(91, 13) Source(20, 5) + SourceIndex(0) -2 >Emitted(91, 19) Source(20, 6) + SourceIndex(0) -3 >Emitted(91, 23) Source(5, 7) + SourceIndex(0) -4 >Emitted(91, 74) Source(5, 8) + SourceIndex(0) -5 >Emitted(91, 117) Source(20, 9) + SourceIndex(0) -6 >Emitted(91, 118) Source(20, 10) + SourceIndex(0) -7 >Emitted(91, 121) Source(20, 11) + SourceIndex(0) +1 >Emitted(92, 13) Source(20, 5) + SourceIndex(0) +2 >Emitted(92, 19) Source(20, 6) + SourceIndex(0) +3 >Emitted(92, 23) Source(5, 7) + SourceIndex(0) +4 >Emitted(92, 74) Source(5, 8) + SourceIndex(0) +5 >Emitted(92, 117) Source(20, 9) + SourceIndex(0) +6 >Emitted(92, 118) Source(20, 10) + SourceIndex(0) +7 >Emitted(92, 121) Source(20, 11) + SourceIndex(0) --- >>> _C_z_1_accessor_storage.set(this, (__runInitializers(this, _y_extraInitializers), __runInitializers(this, _z_initializers, 1))); 1->^^^^^^^^^^^^ @@ -288,10 +289,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > z = 3 > 1 4 > ; -1->Emitted(92, 13) Source(24, 14) + SourceIndex(0) -2 >Emitted(92, 136) Source(24, 18) + SourceIndex(0) -3 >Emitted(92, 137) Source(24, 19) + SourceIndex(0) -4 >Emitted(92, 141) Source(24, 20) + SourceIndex(0) +1->Emitted(93, 13) Source(24, 14) + SourceIndex(0) +2 >Emitted(93, 136) Source(24, 18) + SourceIndex(0) +3 >Emitted(93, 137) Source(24, 19) + SourceIndex(0) +4 >Emitted(93, 141) Source(24, 20) + SourceIndex(0) --- >>> __runInitializers(this, _z_extraInitializers); >>> } @@ -316,10 +317,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1 >Emitted(105, 31) Source(6, 6) + SourceIndex(0) -2 >Emitted(105, 34) Source(6, 9) + SourceIndex(0) -3 >Emitted(105, 36) Source(7, 6) + SourceIndex(0) -4 >Emitted(105, 39) Source(7, 9) + SourceIndex(0) +1 >Emitted(106, 31) Source(6, 6) + SourceIndex(0) +2 >Emitted(106, 34) Source(6, 9) + SourceIndex(0) +3 >Emitted(106, 36) Source(7, 6) + SourceIndex(0) +4 >Emitted(106, 39) Source(7, 9) + SourceIndex(0) --- >>> _get_x_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -335,10 +336,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(106, 30) Source(10, 6) + SourceIndex(0) -2 >Emitted(106, 33) Source(10, 9) + SourceIndex(0) -3 >Emitted(106, 35) Source(11, 6) + SourceIndex(0) -4 >Emitted(106, 38) Source(11, 9) + SourceIndex(0) +1->Emitted(107, 30) Source(10, 6) + SourceIndex(0) +2 >Emitted(107, 33) Source(10, 9) + SourceIndex(0) +3 >Emitted(107, 35) Source(11, 6) + SourceIndex(0) +4 >Emitted(107, 38) Source(11, 9) + SourceIndex(0) --- >>> _set_x_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -353,10 +354,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(107, 30) Source(14, 6) + SourceIndex(0) -2 >Emitted(107, 33) Source(14, 9) + SourceIndex(0) -3 >Emitted(107, 35) Source(15, 6) + SourceIndex(0) -4 >Emitted(107, 38) Source(15, 9) + SourceIndex(0) +1->Emitted(108, 30) Source(14, 6) + SourceIndex(0) +2 >Emitted(108, 33) Source(14, 9) + SourceIndex(0) +3 >Emitted(108, 35) Source(15, 6) + SourceIndex(0) +4 >Emitted(108, 38) Source(15, 9) + SourceIndex(0) --- >>> _y_decorators = [dec, dec]; 1 >^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -372,10 +373,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1 >Emitted(108, 26) Source(18, 6) + SourceIndex(0) -2 >Emitted(108, 29) Source(18, 9) + SourceIndex(0) -3 >Emitted(108, 31) Source(19, 6) + SourceIndex(0) -4 >Emitted(108, 34) Source(19, 9) + SourceIndex(0) +1 >Emitted(109, 26) Source(18, 6) + SourceIndex(0) +2 >Emitted(109, 29) Source(18, 9) + SourceIndex(0) +3 >Emitted(109, 31) Source(19, 6) + SourceIndex(0) +4 >Emitted(109, 34) Source(19, 9) + SourceIndex(0) --- >>> _z_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -391,10 +392,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(109, 26) Source(22, 6) + SourceIndex(0) -2 >Emitted(109, 29) Source(22, 9) + SourceIndex(0) -3 >Emitted(109, 31) Source(23, 6) + SourceIndex(0) -4 >Emitted(109, 34) Source(23, 9) + SourceIndex(0) +1->Emitted(110, 26) Source(22, 6) + SourceIndex(0) +2 >Emitted(110, 29) Source(22, 9) + SourceIndex(0) +3 >Emitted(110, 31) Source(23, 6) + SourceIndex(0) +4 >Emitted(110, 34) Source(23, 9) + SourceIndex(0) --- >>> _static_private_method_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -410,10 +411,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(110, 46) Source(26, 6) + SourceIndex(0) -2 >Emitted(110, 49) Source(26, 9) + SourceIndex(0) -3 >Emitted(110, 51) Source(27, 6) + SourceIndex(0) -4 >Emitted(110, 54) Source(27, 9) + SourceIndex(0) +1->Emitted(111, 46) Source(26, 6) + SourceIndex(0) +2 >Emitted(111, 49) Source(26, 9) + SourceIndex(0) +3 >Emitted(111, 51) Source(27, 6) + SourceIndex(0) +4 >Emitted(111, 54) Source(27, 9) + SourceIndex(0) --- >>> _static_private_get_x_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -429,10 +430,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(111, 45) Source(30, 6) + SourceIndex(0) -2 >Emitted(111, 48) Source(30, 9) + SourceIndex(0) -3 >Emitted(111, 50) Source(31, 6) + SourceIndex(0) -4 >Emitted(111, 53) Source(31, 9) + SourceIndex(0) +1->Emitted(112, 45) Source(30, 6) + SourceIndex(0) +2 >Emitted(112, 48) Source(30, 9) + SourceIndex(0) +3 >Emitted(112, 50) Source(31, 6) + SourceIndex(0) +4 >Emitted(112, 53) Source(31, 9) + SourceIndex(0) --- >>> _static_private_set_x_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -447,10 +448,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(112, 45) Source(34, 6) + SourceIndex(0) -2 >Emitted(112, 48) Source(34, 9) + SourceIndex(0) -3 >Emitted(112, 50) Source(35, 6) + SourceIndex(0) -4 >Emitted(112, 53) Source(35, 9) + SourceIndex(0) +1->Emitted(113, 45) Source(34, 6) + SourceIndex(0) +2 >Emitted(113, 48) Source(34, 9) + SourceIndex(0) +3 >Emitted(113, 50) Source(35, 6) + SourceIndex(0) +4 >Emitted(113, 53) Source(35, 9) + SourceIndex(0) --- >>> _static_private_y_decorators = [dec, dec]; 1 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -466,10 +467,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1 >Emitted(113, 41) Source(38, 6) + SourceIndex(0) -2 >Emitted(113, 44) Source(38, 9) + SourceIndex(0) -3 >Emitted(113, 46) Source(39, 6) + SourceIndex(0) -4 >Emitted(113, 49) Source(39, 9) + SourceIndex(0) +1 >Emitted(114, 41) Source(38, 6) + SourceIndex(0) +2 >Emitted(114, 44) Source(38, 9) + SourceIndex(0) +3 >Emitted(114, 46) Source(39, 6) + SourceIndex(0) +4 >Emitted(114, 49) Source(39, 9) + SourceIndex(0) --- >>> _static_private_z_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -485,10 +486,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(114, 41) Source(42, 6) + SourceIndex(0) -2 >Emitted(114, 44) Source(42, 9) + SourceIndex(0) -3 >Emitted(114, 46) Source(43, 6) + SourceIndex(0) -4 >Emitted(114, 49) Source(43, 9) + SourceIndex(0) +1->Emitted(115, 41) Source(42, 6) + SourceIndex(0) +2 >Emitted(115, 44) Source(42, 9) + SourceIndex(0) +3 >Emitted(115, 46) Source(43, 6) + SourceIndex(0) +4 >Emitted(115, 49) Source(43, 9) + SourceIndex(0) --- >>> __esDecorate(_classThis, _static_private_method_descriptor = { value: __setFunctionName(function () { }, "#method") }, _static_private_method_decorators, { kind: "method", name: "#method", static: true, private: true, access: { has: obj => __classPrivateFieldIn(_classThis, obj), get: obj => __classPrivateFieldGet(obj, _classThis, "a", _C_method_get) }, metadata: _metadata }, null, _staticExtraInitializers); 1->^^^^^^^^ @@ -505,13 +506,13 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 5 > } 6 > 7 > -1->Emitted(115, 9) Source(28, 5) + SourceIndex(0) -2 >Emitted(115, 72) Source(28, 5) + SourceIndex(0) -3 >Emitted(115, 97) Source(28, 5) + SourceIndex(0) -4 >Emitted(115, 111) Source(28, 23) + SourceIndex(0) -5 >Emitted(115, 112) Source(28, 24) + SourceIndex(0) -6 >Emitted(115, 124) Source(28, 24) + SourceIndex(0) -7 >Emitted(115, 419) Source(28, 24) + SourceIndex(0) +1->Emitted(116, 9) Source(28, 5) + SourceIndex(0) +2 >Emitted(116, 72) Source(28, 5) + SourceIndex(0) +3 >Emitted(116, 97) Source(28, 5) + SourceIndex(0) +4 >Emitted(116, 111) Source(28, 23) + SourceIndex(0) +5 >Emitted(116, 112) Source(28, 24) + SourceIndex(0) +6 >Emitted(116, 124) Source(28, 24) + SourceIndex(0) +7 >Emitted(116, 419) Source(28, 24) + SourceIndex(0) --- >>> __esDecorate(_classThis, _static_private_get_x_descriptor = { get: __setFunctionName(function () { return 1; }, "#x", "get") }, _static_private_get_x_decorators, { kind: "getter", name: "#x", static: true, private: true, access: { has: obj => __classPrivateFieldIn(_classThis, obj), get: obj => __classPrivateFieldGet(obj, _classThis, "a", _C_x_get) }, metadata: _metadata }, null, _staticExtraInitializers); 1 >^^^^^^^^ @@ -541,17 +542,17 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 9 > } 10> 11> -1 >Emitted(116, 9) Source(32, 5) + SourceIndex(0) -2 >Emitted(116, 71) Source(32, 5) + SourceIndex(0) -3 >Emitted(116, 94) Source(32, 5) + SourceIndex(0) -4 >Emitted(116, 108) Source(32, 23) + SourceIndex(0) -5 >Emitted(116, 115) Source(32, 30) + SourceIndex(0) -6 >Emitted(116, 116) Source(32, 31) + SourceIndex(0) -7 >Emitted(116, 117) Source(32, 32) + SourceIndex(0) -8 >Emitted(116, 118) Source(32, 33) + SourceIndex(0) -9 >Emitted(116, 119) Source(32, 34) + SourceIndex(0) -10>Emitted(116, 133) Source(32, 34) + SourceIndex(0) -11>Emitted(116, 417) Source(32, 34) + SourceIndex(0) +1 >Emitted(117, 9) Source(32, 5) + SourceIndex(0) +2 >Emitted(117, 71) Source(32, 5) + SourceIndex(0) +3 >Emitted(117, 94) Source(32, 5) + SourceIndex(0) +4 >Emitted(117, 108) Source(32, 23) + SourceIndex(0) +5 >Emitted(117, 115) Source(32, 30) + SourceIndex(0) +6 >Emitted(117, 116) Source(32, 31) + SourceIndex(0) +7 >Emitted(117, 117) Source(32, 32) + SourceIndex(0) +8 >Emitted(117, 118) Source(32, 33) + SourceIndex(0) +9 >Emitted(117, 119) Source(32, 34) + SourceIndex(0) +10>Emitted(117, 133) Source(32, 34) + SourceIndex(0) +11>Emitted(117, 417) Source(32, 34) + SourceIndex(0) --- >>> __esDecorate(_classThis, _static_private_set_x_descriptor = { set: __setFunctionName(function (value) { }, "#x", "set") }, _static_private_set_x_decorators, { kind: "setter", name: "#x", static: true, private: true, access: { has: obj => __classPrivateFieldIn(_classThis, obj), set: (obj, value) => { __classPrivateFieldSet(obj, _classThis, value, "a", _C_x_set); } }, metadata: _metadata }, null, _staticExtraInitializers); 1->^^^^^^^^ @@ -577,15 +578,15 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 7 > } 8 > 9 > -1->Emitted(117, 9) Source(36, 5) + SourceIndex(0) -2 >Emitted(117, 71) Source(36, 5) + SourceIndex(0) -3 >Emitted(117, 94) Source(36, 5) + SourceIndex(0) -4 >Emitted(117, 104) Source(36, 19) + SourceIndex(0) -5 >Emitted(117, 109) Source(36, 32) + SourceIndex(0) -6 >Emitted(117, 113) Source(36, 36) + SourceIndex(0) -7 >Emitted(117, 114) Source(36, 37) + SourceIndex(0) -8 >Emitted(117, 128) Source(36, 37) + SourceIndex(0) -9 >Emitted(117, 433) Source(36, 37) + SourceIndex(0) +1->Emitted(118, 9) Source(36, 5) + SourceIndex(0) +2 >Emitted(118, 71) Source(36, 5) + SourceIndex(0) +3 >Emitted(118, 94) Source(36, 5) + SourceIndex(0) +4 >Emitted(118, 104) Source(36, 19) + SourceIndex(0) +5 >Emitted(118, 109) Source(36, 32) + SourceIndex(0) +6 >Emitted(118, 113) Source(36, 36) + SourceIndex(0) +7 >Emitted(118, 114) Source(36, 37) + SourceIndex(0) +8 >Emitted(118, 128) Source(36, 37) + SourceIndex(0) +9 >Emitted(118, 433) Source(36, 37) + SourceIndex(0) --- >>> __esDecorate(_classThis, _static_private_z_descriptor = { get: __setFunctionName(function () { return __classPrivateFieldGet(_classThis, _classThis, "f", _C_z_accessor_storage); }, "#z", "get"), set: __setFunctionName(function (value) { __classPrivateFieldSet(_classThis, _classThis, value, "f", _C_z_accessor_storage); }, "#z", "set") }, _static_private_z_decorators, { kind: "accessor", name: "#z", static: true, private: true, access: { has: obj => __classPrivateFieldIn(_classThis, obj), get: obj => __classPrivateFieldGet(obj, _classThis, "a", _C_z_get), set: (obj, value) => { __classPrivateFieldSet(obj, _classThis, value, "a", _C_z_set); } }, metadata: _metadata }, _static_private_z_initializers, _static_private_z_extraInitializers); 1->^^^^^^^^ @@ -616,16 +617,16 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 8 > static accessor #z = 1; 9 > 10> -1->Emitted(118, 9) Source(44, 5) + SourceIndex(0) -2 >Emitted(118, 67) Source(44, 5) + SourceIndex(0) -3 >Emitted(118, 90) Source(44, 5) + SourceIndex(0) -4 >Emitted(118, 188) Source(44, 28) + SourceIndex(0) -5 >Emitted(118, 202) Source(44, 28) + SourceIndex(0) -6 >Emitted(118, 204) Source(44, 5) + SourceIndex(0) -7 >Emitted(118, 227) Source(44, 5) + SourceIndex(0) -8 >Emitted(118, 330) Source(44, 28) + SourceIndex(0) -9 >Emitted(118, 344) Source(44, 28) + SourceIndex(0) -10>Emitted(118, 752) Source(44, 28) + SourceIndex(0) +1->Emitted(119, 9) Source(44, 5) + SourceIndex(0) +2 >Emitted(119, 67) Source(44, 5) + SourceIndex(0) +3 >Emitted(119, 90) Source(44, 5) + SourceIndex(0) +4 >Emitted(119, 188) Source(44, 28) + SourceIndex(0) +5 >Emitted(119, 202) Source(44, 28) + SourceIndex(0) +6 >Emitted(119, 204) Source(44, 5) + SourceIndex(0) +7 >Emitted(119, 227) Source(44, 5) + SourceIndex(0) +8 >Emitted(119, 330) Source(44, 28) + SourceIndex(0) +9 >Emitted(119, 344) Source(44, 28) + SourceIndex(0) +10>Emitted(119, 752) Source(44, 28) + SourceIndex(0) --- >>> __esDecorate(_classThis, null, _method_decorators, { kind: "method", name: "method", static: false, private: false, access: { has: obj => "method" in obj, get: obj => obj.method }, metadata: _metadata }, null, _instanceExtraInitializers); 1 >^^^^^^^^ @@ -636,10 +637,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > 3 > method 4 > () {} -1 >Emitted(119, 9) Source(8, 5) + SourceIndex(0) -2 >Emitted(119, 180) Source(8, 5) + SourceIndex(0) -3 >Emitted(119, 186) Source(8, 11) + SourceIndex(0) -4 >Emitted(119, 247) Source(8, 16) + SourceIndex(0) +1 >Emitted(120, 9) Source(8, 5) + SourceIndex(0) +2 >Emitted(120, 180) Source(8, 5) + SourceIndex(0) +3 >Emitted(120, 186) Source(8, 11) + SourceIndex(0) +4 >Emitted(120, 247) Source(8, 16) + SourceIndex(0) --- >>> __esDecorate(_classThis, null, _get_x_decorators, { kind: "getter", name: "x", static: false, private: false, access: { has: obj => "x" in obj, get: obj => obj.x }, metadata: _metadata }, null, _instanceExtraInitializers); 1 >^^^^^^^^ @@ -655,10 +656,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > get 3 > x 4 > () { return 1; } -1 >Emitted(120, 9) Source(12, 5) + SourceIndex(0) -2 >Emitted(120, 169) Source(12, 9) + SourceIndex(0) -3 >Emitted(120, 170) Source(12, 10) + SourceIndex(0) -4 >Emitted(120, 231) Source(12, 26) + SourceIndex(0) +1 >Emitted(121, 9) Source(12, 5) + SourceIndex(0) +2 >Emitted(121, 169) Source(12, 9) + SourceIndex(0) +3 >Emitted(121, 170) Source(12, 10) + SourceIndex(0) +4 >Emitted(121, 231) Source(12, 26) + SourceIndex(0) --- >>> __esDecorate(_classThis, null, _set_x_decorators, { kind: "setter", name: "x", static: false, private: false, access: { has: obj => "x" in obj, set: (obj, value) => { obj.x = value; } }, metadata: _metadata }, null, _instanceExtraInitializers); 1->^^^^^^^^ @@ -674,10 +675,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > set 3 > x 4 > (value: number) { } -1->Emitted(121, 9) Source(16, 5) + SourceIndex(0) -2 >Emitted(121, 180) Source(16, 9) + SourceIndex(0) -3 >Emitted(121, 181) Source(16, 10) + SourceIndex(0) -4 >Emitted(121, 253) Source(16, 29) + SourceIndex(0) +1->Emitted(122, 9) Source(16, 5) + SourceIndex(0) +2 >Emitted(122, 180) Source(16, 9) + SourceIndex(0) +3 >Emitted(122, 181) Source(16, 10) + SourceIndex(0) +4 >Emitted(122, 253) Source(16, 29) + SourceIndex(0) --- >>> __esDecorate(_classThis, null, _z_decorators, { kind: "accessor", name: "z", static: false, private: false, access: { has: obj => "z" in obj, get: obj => obj.z, set: (obj, value) => { obj.z = value; } }, metadata: _metadata }, _z_initializers, _z_extraInitializers); 1->^^^^^^^^ @@ -701,12 +702,12 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 4 > 5 > z 6 > = 1; -1->Emitted(122, 9) Source(24, 5) + SourceIndex(0) -2 >Emitted(122, 167) Source(24, 14) + SourceIndex(0) -3 >Emitted(122, 168) Source(24, 15) + SourceIndex(0) -4 >Emitted(122, 197) Source(24, 14) + SourceIndex(0) -5 >Emitted(122, 198) Source(24, 15) + SourceIndex(0) -6 >Emitted(122, 275) Source(24, 20) + SourceIndex(0) +1->Emitted(123, 9) Source(24, 5) + SourceIndex(0) +2 >Emitted(123, 167) Source(24, 14) + SourceIndex(0) +3 >Emitted(123, 168) Source(24, 15) + SourceIndex(0) +4 >Emitted(123, 197) Source(24, 14) + SourceIndex(0) +5 >Emitted(123, 198) Source(24, 15) + SourceIndex(0) +6 >Emitted(123, 275) Source(24, 20) + SourceIndex(0) --- >>> __esDecorate(null, null, _static_private_y_decorators, { kind: "field", name: "#y", static: true, private: true, access: { has: obj => __classPrivateFieldIn(_classThis, obj), get: obj => __classPrivateFieldGet(obj, _classThis, "f", _C_y), set: (obj, value) => { __classPrivateFieldSet(obj, _classThis, value, "f", _C_y); } }, metadata: _metadata }, _static_private_y_initializers, _static_private_y_extraInitializers); 1->^^^^^^^^ @@ -729,8 +730,8 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > @dec > 2 > static #y = 1; -1->Emitted(123, 9) Source(40, 5) + SourceIndex(0) -2 >Emitted(123, 427) Source(40, 19) + SourceIndex(0) +1->Emitted(124, 9) Source(40, 5) + SourceIndex(0) +2 >Emitted(124, 427) Source(40, 19) + SourceIndex(0) --- >>> __esDecorate(null, null, _y_decorators, { kind: "field", name: "y", static: false, private: false, access: { has: obj => "y" in obj, get: obj => obj.y, set: (obj, value) => { obj.y = value; } }, metadata: _metadata }, _y_initializers, _y_extraInitializers); 1 >^^^^^^^^ @@ -745,12 +746,12 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 4 > 5 > y 6 > = 1; -1 >Emitted(124, 9) Source(20, 5) + SourceIndex(0) -2 >Emitted(124, 158) Source(20, 5) + SourceIndex(0) -3 >Emitted(124, 159) Source(20, 6) + SourceIndex(0) -4 >Emitted(124, 188) Source(20, 5) + SourceIndex(0) -5 >Emitted(124, 189) Source(20, 6) + SourceIndex(0) -6 >Emitted(124, 266) Source(20, 11) + SourceIndex(0) +1 >Emitted(125, 9) Source(20, 5) + SourceIndex(0) +2 >Emitted(125, 158) Source(20, 5) + SourceIndex(0) +3 >Emitted(125, 159) Source(20, 6) + SourceIndex(0) +4 >Emitted(125, 188) Source(20, 5) + SourceIndex(0) +5 >Emitted(125, 189) Source(20, 6) + SourceIndex(0) +6 >Emitted(125, 266) Source(20, 11) + SourceIndex(0) --- >>> __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers); 1 >^^^^^^^^ @@ -797,8 +798,8 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > @dec > static accessor #z = 1; > } -1 >Emitted(125, 9) Source(5, 1) + SourceIndex(0) -2 >Emitted(125, 182) Source(45, 2) + SourceIndex(0) +1 >Emitted(126, 9) Source(5, 1) + SourceIndex(0) +2 >Emitted(126, 182) Source(45, 2) + SourceIndex(0) --- >>> C = _classThis = _classDescriptor.value; >>> if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata }); @@ -854,13 +855,13 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 5 > 1 6 > 7 > = 1; -1 >Emitted(129, 5) Source(40, 12) + SourceIndex(0) -2 >Emitted(129, 22) Source(5, 7) + SourceIndex(0) -3 >Emitted(129, 77) Source(5, 8) + SourceIndex(0) -4 >Emitted(129, 141) Source(40, 17) + SourceIndex(0) -5 >Emitted(129, 142) Source(40, 18) + SourceIndex(0) -6 >Emitted(129, 146) Source(40, 14) + SourceIndex(0) -7 >Emitted(129, 147) Source(40, 19) + SourceIndex(0) +1 >Emitted(130, 5) Source(40, 12) + SourceIndex(0) +2 >Emitted(130, 22) Source(5, 7) + SourceIndex(0) +3 >Emitted(130, 77) Source(5, 8) + SourceIndex(0) +4 >Emitted(130, 141) Source(40, 17) + SourceIndex(0) +5 >Emitted(130, 142) Source(40, 18) + SourceIndex(0) +6 >Emitted(130, 146) Source(40, 14) + SourceIndex(0) +7 >Emitted(130, 147) Source(40, 19) + SourceIndex(0) --- >>> _C_z_accessor_storage = { value: (__runInitializers(_classThis, _static_private_y_extraInitializers), __runInitializers(_classThis, _static_private_z_initializers, 1)) }; 1->^^^^ @@ -877,11 +878,11 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > 1 4 > 5 > = 1; -1->Emitted(130, 5) Source(44, 21) + SourceIndex(0) -2 >Emitted(130, 169) Source(44, 26) + SourceIndex(0) -3 >Emitted(130, 170) Source(44, 27) + SourceIndex(0) -4 >Emitted(130, 174) Source(44, 23) + SourceIndex(0) -5 >Emitted(130, 175) Source(44, 28) + SourceIndex(0) +1->Emitted(131, 5) Source(44, 21) + SourceIndex(0) +2 >Emitted(131, 169) Source(44, 26) + SourceIndex(0) +3 >Emitted(131, 170) Source(44, 27) + SourceIndex(0) +4 >Emitted(131, 174) Source(44, 23) + SourceIndex(0) +5 >Emitted(131, 175) Source(44, 28) + SourceIndex(0) --- >>> (() => { >>> __runInitializers(_classThis, _static_private_z_extraInitializers); @@ -890,8 +891,8 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 > C -1 >Emitted(133, 9) Source(5, 7) + SourceIndex(0) -2 >Emitted(133, 64) Source(5, 8) + SourceIndex(0) +1 >Emitted(134, 9) Source(5, 7) + SourceIndex(0) +2 >Emitted(134, 64) Source(5, 8) + SourceIndex(0) --- >>> })(); >>> return C = _classThis; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).js b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).js index ab0a43f6b02e1..044025f937890 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).js @@ -49,6 +49,7 @@ class C { //// [esDecorators-classDeclaration-sourceMap.js] +"use strict"; var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).js.map b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).js.map index b8f99545e64c7..6e9326ed2908e 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).js.map +++ b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).js.map @@ -1,6 +1,6 @@ //// [esDecorators-classDeclaration-sourceMap.js.map] -{"version":3,"file":"esDecorators-classDeclaration-sourceMap.js","sourceRoot":"","sources":["esDecorators-classDeclaration-sourceMap.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIM,CAAC;;4BAFN,GAAG,EACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAEC,GAAG,EACH,GAAG;iCAGH,GAAG,EACH,GAAG;iCAGH,GAAG,EACH,GAAG;6BAGH,GAAG,EACH,GAAG;6BAGH,GAAG,EACH,G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KICAgIHN0YXRpYyBzZXQgI3godmFsdWU6IG51bWJlcikgeyB9CgogICAgQGRlYwogICAgQGRlYwogICAgc3RhdGljICN5ID0gMTsKCiAgICBAZGVjCiAgICBAZGVjCiAgICBzdGF0aWMgYWNjZXNzb3IgI3ogPSAxOwp9Cg== +{"version":3,"file":"esDecorators-classDeclaration-sourceMap.js","sourceRoot":"","sources":["esDecorators-classDeclaration-sourceMap.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAIM,CAAC;;4BAFN,GAAG,EACH,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kCAEC,GAAG,EACH,GAAG;iCAGH,GAAG,EACH,GAAG;iCAGH,GAAG,EACH,GAAG;6BAGH,GAAG,EACH,GAAG;6BAGH,GAAG,EACH,GAAG;iDAGH,GAAG,EACH,GAAG;gDAGH,GAAG,EACH,GAAG;gDAGH,GAAG,EACH,GAAG;4CAGH,GAAG,EACH,GAAG;4CAGH,GAAG,EACH,GAAG;YAfJ,yDAAA,yBAAA,cAAkB,CAAC,YAAA,uSAAA;YAInB,wDAAA,uBAAA,cAAkB,OAAO,CAAC,CAAC,CAAC,CAAC,cAAA,4RAAA;YAI7B,wDAAA,uBAAA,UAAc,KAAa,IAAI,CAAC,cAAA,iTAAA;YAQhC,oDAAA,uBAAA,4FAAuB,cAAA,EAAvB,uBAAA,iGAAuB,cAAA,wZAAA;YApCvB,qKAAA,MAAM,6DAAK;YAIX,0JAAI,CAAC,6DAAgB;YAIrB,qKAAI,CAAC,wEAAmB;YAQxB,wJAAS,CAAC,6BAAD,CAAC,6EAAK;YAgBf,kaAAc;YApBd,qJAAA,CAAC,6BAAD,CAAC,6EAAK;YAfV,6KAwCC;;;;QArCG,MAAM,KAAI,CAAC;QAIX,IAAI,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,CAAC;QAIrB,IAAI,CAAC,CAAC,KAAa,IAAI,CAAC;QA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Ozs7WUF2Q3JCLHVEQUFDIn0=,ZGVjbGFyZSB2YXIgZGVjOiBhbnk7CgpAZGVjCkBkZWMKY2xhc3MgQyB7CiAgICBAZGVjCiAgICBAZGVjCiAgICBtZXRob2QoKSB7fQoKICAgIEBkZWMKICAgIEBkZWMKICAgIGdldCB4KCkgeyByZXR1cm4gMTsgfQoKICAgIEBkZWMKICAgIEBkZWMKICAgIHNldCB4KHZhbHVlOiBudW1iZXIpIHsgfQoKICAgIEBkZWMKICAgIEBkZWMKICAgIHkgPSAxOwoKICAgIEBkZWMKICAgIEBkZWMKICAgIGFjY2Vzc29yIHogPSAxOwoKICAgIEBkZWMKICAgIEBkZWMKICAgIHN0YXRpYyAjbWV0aG9kKCkge30KCiAgICBAZGVjCiAgICBAZGVjCiAgICBzdGF0aWMgZ2V0ICN4KCkgeyByZXR1cm4gMTsgfQoKICAgIEBkZWMKICAgIEBkZWMKICAgIHN0YXRpYyBzZXQgI3godmFsdWU6IG51bWJlcikgeyB9CgogICAgQGRlYwogICAgQGRlYwogICAgc3RhdGljICN5ID0gMTsKCiAgICBAZGVjCiAgICBAZGVjCiAgICBzdGF0aWMgYWNjZXNzb3IgI3ogPSAxOwp9Cg== //// [esDecorators-classDeclaration-sourceMap.d.ts.map] {"version":3,"file":"esDecorators-classDeclaration-sourceMap.d.ts","sourceRoot":"","sources":["esDecorators-classDeclaration-sourceMap.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,IAAI,GAAG,EAAE,GAAG,CAAC;AAErB,cAEM,CAAC;;IAGH,MAAM;IAEN,IAEI,CAAC,IAIQ,MAAM,CAJE;IAErB,IAEI,CAAC,CAAC,KAAK,EAAE,MAAM,EAAK;IAIxB,CAAC,SAAK;IAIN,QAAQ,CAAC,CAAC,SAAK;CAqBlB"} diff --git a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).sourcemap.txt b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).sourcemap.txt index 2b89583dd8ff5..c24ebb7ae9a8c 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).sourcemap.txt +++ b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=es2022).sourcemap.txt @@ -8,6 +8,7 @@ sources: esDecorators-classDeclaration-sourceMap.ts emittedFile:esDecorators-classDeclaration-sourceMap.js sourceFile:esDecorators-classDeclaration-sourceMap.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { >>> var useValue = arguments.length > 2; >>> for (var i = 0; i < initializers.length; i++) { @@ -71,8 +72,8 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts >@dec >class 2 > C -1 >Emitted(54, 5) Source(5, 7) + SourceIndex(0) -2 >Emitted(54, 6) Source(5, 8) + SourceIndex(0) +1 >Emitted(55, 5) Source(5, 7) + SourceIndex(0) +2 >Emitted(55, 6) Source(5, 8) + SourceIndex(0) --- >>> var _C_method_get, _C_x_get, _C_x_set, _C_y, _C_z_accessor_storage, _C_z_get, _C_z_set; >>> let _classDecorators = [dec, dec]; @@ -85,10 +86,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(56, 29) Source(3, 2) + SourceIndex(0) -2 >Emitted(56, 32) Source(3, 5) + SourceIndex(0) -3 >Emitted(56, 34) Source(4, 2) + SourceIndex(0) -4 >Emitted(56, 37) Source(4, 5) + SourceIndex(0) +1->Emitted(57, 29) Source(3, 2) + SourceIndex(0) +2 >Emitted(57, 32) Source(3, 5) + SourceIndex(0) +3 >Emitted(57, 34) Source(4, 2) + SourceIndex(0) +4 >Emitted(57, 37) Source(4, 5) + SourceIndex(0) --- >>> let _classDescriptor; >>> let _classExtraInitializers = []; @@ -136,10 +137,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1 >Emitted(90, 35) Source(6, 6) + SourceIndex(0) -2 >Emitted(90, 38) Source(6, 9) + SourceIndex(0) -3 >Emitted(90, 40) Source(7, 6) + SourceIndex(0) -4 >Emitted(90, 43) Source(7, 9) + SourceIndex(0) +1 >Emitted(91, 35) Source(6, 6) + SourceIndex(0) +2 >Emitted(91, 38) Source(6, 9) + SourceIndex(0) +3 >Emitted(91, 40) Source(7, 6) + SourceIndex(0) +4 >Emitted(91, 43) Source(7, 9) + SourceIndex(0) --- >>> _get_x_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -155,10 +156,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(91, 34) Source(10, 6) + SourceIndex(0) -2 >Emitted(91, 37) Source(10, 9) + SourceIndex(0) -3 >Emitted(91, 39) Source(11, 6) + SourceIndex(0) -4 >Emitted(91, 42) Source(11, 9) + SourceIndex(0) +1->Emitted(92, 34) Source(10, 6) + SourceIndex(0) +2 >Emitted(92, 37) Source(10, 9) + SourceIndex(0) +3 >Emitted(92, 39) Source(11, 6) + SourceIndex(0) +4 >Emitted(92, 42) Source(11, 9) + SourceIndex(0) --- >>> _set_x_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -173,10 +174,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(92, 34) Source(14, 6) + SourceIndex(0) -2 >Emitted(92, 37) Source(14, 9) + SourceIndex(0) -3 >Emitted(92, 39) Source(15, 6) + SourceIndex(0) -4 >Emitted(92, 42) Source(15, 9) + SourceIndex(0) +1->Emitted(93, 34) Source(14, 6) + SourceIndex(0) +2 >Emitted(93, 37) Source(14, 9) + SourceIndex(0) +3 >Emitted(93, 39) Source(15, 6) + SourceIndex(0) +4 >Emitted(93, 42) Source(15, 9) + SourceIndex(0) --- >>> _y_decorators = [dec, dec]; 1 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -192,10 +193,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1 >Emitted(93, 30) Source(18, 6) + SourceIndex(0) -2 >Emitted(93, 33) Source(18, 9) + SourceIndex(0) -3 >Emitted(93, 35) Source(19, 6) + SourceIndex(0) -4 >Emitted(93, 38) Source(19, 9) + SourceIndex(0) +1 >Emitted(94, 30) Source(18, 6) + SourceIndex(0) +2 >Emitted(94, 33) Source(18, 9) + SourceIndex(0) +3 >Emitted(94, 35) Source(19, 6) + SourceIndex(0) +4 >Emitted(94, 38) Source(19, 9) + SourceIndex(0) --- >>> _z_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -211,10 +212,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(94, 30) Source(22, 6) + SourceIndex(0) -2 >Emitted(94, 33) Source(22, 9) + SourceIndex(0) -3 >Emitted(94, 35) Source(23, 6) + SourceIndex(0) -4 >Emitted(94, 38) Source(23, 9) + SourceIndex(0) +1->Emitted(95, 30) Source(22, 6) + SourceIndex(0) +2 >Emitted(95, 33) Source(22, 9) + SourceIndex(0) +3 >Emitted(95, 35) Source(23, 6) + SourceIndex(0) +4 >Emitted(95, 38) Source(23, 9) + SourceIndex(0) --- >>> _static_private_method_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -230,10 +231,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(95, 50) Source(26, 6) + SourceIndex(0) -2 >Emitted(95, 53) Source(26, 9) + SourceIndex(0) -3 >Emitted(95, 55) Source(27, 6) + SourceIndex(0) -4 >Emitted(95, 58) Source(27, 9) + SourceIndex(0) +1->Emitted(96, 50) Source(26, 6) + SourceIndex(0) +2 >Emitted(96, 53) Source(26, 9) + SourceIndex(0) +3 >Emitted(96, 55) Source(27, 6) + SourceIndex(0) +4 >Emitted(96, 58) Source(27, 9) + SourceIndex(0) --- >>> _static_private_get_x_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -249,10 +250,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(96, 49) Source(30, 6) + SourceIndex(0) -2 >Emitted(96, 52) Source(30, 9) + SourceIndex(0) -3 >Emitted(96, 54) Source(31, 6) + SourceIndex(0) -4 >Emitted(96, 57) Source(31, 9) + SourceIndex(0) +1->Emitted(97, 49) Source(30, 6) + SourceIndex(0) +2 >Emitted(97, 52) Source(30, 9) + SourceIndex(0) +3 >Emitted(97, 54) Source(31, 6) + SourceIndex(0) +4 >Emitted(97, 57) Source(31, 9) + SourceIndex(0) --- >>> _static_private_set_x_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -267,10 +268,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(97, 49) Source(34, 6) + SourceIndex(0) -2 >Emitted(97, 52) Source(34, 9) + SourceIndex(0) -3 >Emitted(97, 54) Source(35, 6) + SourceIndex(0) -4 >Emitted(97, 57) Source(35, 9) + SourceIndex(0) +1->Emitted(98, 49) Source(34, 6) + SourceIndex(0) +2 >Emitted(98, 52) Source(34, 9) + SourceIndex(0) +3 >Emitted(98, 54) Source(35, 6) + SourceIndex(0) +4 >Emitted(98, 57) Source(35, 9) + SourceIndex(0) --- >>> _static_private_y_decorators = [dec, dec]; 1 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -286,10 +287,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1 >Emitted(98, 45) Source(38, 6) + SourceIndex(0) -2 >Emitted(98, 48) Source(38, 9) + SourceIndex(0) -3 >Emitted(98, 50) Source(39, 6) + SourceIndex(0) -4 >Emitted(98, 53) Source(39, 9) + SourceIndex(0) +1 >Emitted(99, 45) Source(38, 6) + SourceIndex(0) +2 >Emitted(99, 48) Source(38, 9) + SourceIndex(0) +3 >Emitted(99, 50) Source(39, 6) + SourceIndex(0) +4 >Emitted(99, 53) Source(39, 9) + SourceIndex(0) --- >>> _static_private_z_decorators = [dec, dec]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -305,10 +306,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > > @ 4 > dec -1->Emitted(99, 45) Source(42, 6) + SourceIndex(0) -2 >Emitted(99, 48) Source(42, 9) + SourceIndex(0) -3 >Emitted(99, 50) Source(43, 6) + SourceIndex(0) -4 >Emitted(99, 53) Source(43, 9) + SourceIndex(0) +1->Emitted(100, 45) Source(42, 6) + SourceIndex(0) +2 >Emitted(100, 48) Source(42, 9) + SourceIndex(0) +3 >Emitted(100, 50) Source(43, 6) + SourceIndex(0) +4 >Emitted(100, 53) Source(43, 9) + SourceIndex(0) --- >>> __esDecorate(this, _static_private_method_descriptor = { value: __setFunctionName(function () { }, "#method") }, _static_private_method_decorators, { kind: "method", name: "#method", static: true, private: true, access: { has: obj => __classPrivateFieldIn(_classThis, obj), get: obj => __classPrivateFieldGet(obj, _classThis, "a", _C_method_get) }, metadata: _metadata }, null, _staticExtraInitializers); 1->^^^^^^^^^^^^ @@ -325,13 +326,13 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 5 > } 6 > 7 > -1->Emitted(100, 13) Source(28, 5) + SourceIndex(0) -2 >Emitted(100, 70) Source(28, 5) + SourceIndex(0) -3 >Emitted(100, 95) Source(28, 5) + SourceIndex(0) -4 >Emitted(100, 109) Source(28, 23) + SourceIndex(0) -5 >Emitted(100, 110) Source(28, 24) + SourceIndex(0) -6 >Emitted(100, 122) Source(28, 24) + SourceIndex(0) -7 >Emitted(100, 417) Source(28, 24) + SourceIndex(0) +1->Emitted(101, 13) Source(28, 5) + SourceIndex(0) +2 >Emitted(101, 70) Source(28, 5) + SourceIndex(0) +3 >Emitted(101, 95) Source(28, 5) + SourceIndex(0) +4 >Emitted(101, 109) Source(28, 23) + SourceIndex(0) +5 >Emitted(101, 110) Source(28, 24) + SourceIndex(0) +6 >Emitted(101, 122) Source(28, 24) + SourceIndex(0) +7 >Emitted(101, 417) Source(28, 24) + SourceIndex(0) --- >>> __esDecorate(this, _static_private_get_x_descriptor = { get: __setFunctionName(function () { return 1; }, "#x", "get") }, _static_private_get_x_decorators, { kind: "getter", name: "#x", static: true, private: true, access: { has: obj => __classPrivateFieldIn(_classThis, obj), get: obj => __classPrivateFieldGet(obj, _classThis, "a", _C_x_get) }, metadata: _metadata }, null, _staticExtraInitializers); 1 >^^^^^^^^^^^^ @@ -361,17 +362,17 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 9 > } 10> 11> -1 >Emitted(101, 13) Source(32, 5) + SourceIndex(0) -2 >Emitted(101, 69) Source(32, 5) + SourceIndex(0) -3 >Emitted(101, 92) Source(32, 5) + SourceIndex(0) -4 >Emitted(101, 106) Source(32, 23) + SourceIndex(0) -5 >Emitted(101, 113) Source(32, 30) + SourceIndex(0) -6 >Emitted(101, 114) Source(32, 31) + SourceIndex(0) -7 >Emitted(101, 115) Source(32, 32) + SourceIndex(0) -8 >Emitted(101, 116) Source(32, 33) + SourceIndex(0) -9 >Emitted(101, 117) Source(32, 34) + SourceIndex(0) -10>Emitted(101, 131) Source(32, 34) + SourceIndex(0) -11>Emitted(101, 415) Source(32, 34) + SourceIndex(0) +1 >Emitted(102, 13) Source(32, 5) + SourceIndex(0) +2 >Emitted(102, 69) Source(32, 5) + SourceIndex(0) +3 >Emitted(102, 92) Source(32, 5) + SourceIndex(0) +4 >Emitted(102, 106) Source(32, 23) + SourceIndex(0) +5 >Emitted(102, 113) Source(32, 30) + SourceIndex(0) +6 >Emitted(102, 114) Source(32, 31) + SourceIndex(0) +7 >Emitted(102, 115) Source(32, 32) + SourceIndex(0) +8 >Emitted(102, 116) Source(32, 33) + SourceIndex(0) +9 >Emitted(102, 117) Source(32, 34) + SourceIndex(0) +10>Emitted(102, 131) Source(32, 34) + SourceIndex(0) +11>Emitted(102, 415) Source(32, 34) + SourceIndex(0) --- >>> __esDecorate(this, _static_private_set_x_descriptor = { set: __setFunctionName(function (value) { }, "#x", "set") }, _static_private_set_x_decorators, { kind: "setter", name: "#x", static: true, private: true, access: { has: obj => __classPrivateFieldIn(_classThis, obj), set: (obj, value) => { __classPrivateFieldSet(obj, _classThis, value, "a", _C_x_set); } }, metadata: _metadata }, null, _staticExtraInitializers); 1->^^^^^^^^^^^^ @@ -397,15 +398,15 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 7 > } 8 > 9 > -1->Emitted(102, 13) Source(36, 5) + SourceIndex(0) -2 >Emitted(102, 69) Source(36, 5) + SourceIndex(0) -3 >Emitted(102, 92) Source(36, 5) + SourceIndex(0) -4 >Emitted(102, 102) Source(36, 19) + SourceIndex(0) -5 >Emitted(102, 107) Source(36, 32) + SourceIndex(0) -6 >Emitted(102, 111) Source(36, 36) + SourceIndex(0) -7 >Emitted(102, 112) Source(36, 37) + SourceIndex(0) -8 >Emitted(102, 126) Source(36, 37) + SourceIndex(0) -9 >Emitted(102, 431) Source(36, 37) + SourceIndex(0) +1->Emitted(103, 13) Source(36, 5) + SourceIndex(0) +2 >Emitted(103, 69) Source(36, 5) + SourceIndex(0) +3 >Emitted(103, 92) Source(36, 5) + SourceIndex(0) +4 >Emitted(103, 102) Source(36, 19) + SourceIndex(0) +5 >Emitted(103, 107) Source(36, 32) + SourceIndex(0) +6 >Emitted(103, 111) Source(36, 36) + SourceIndex(0) +7 >Emitted(103, 112) Source(36, 37) + SourceIndex(0) +8 >Emitted(103, 126) Source(36, 37) + SourceIndex(0) +9 >Emitted(103, 431) Source(36, 37) + SourceIndex(0) --- >>> __esDecorate(this, _static_private_z_descriptor = { get: __setFunctionName(function () { return __classPrivateFieldGet(this, _classThis, "f", _C_z_accessor_storage); }, "#z", "get"), set: __setFunctionName(function (value) { __classPrivateFieldSet(this, _classThis, value, "f", _C_z_accessor_storage); }, "#z", "set") }, _static_private_z_decorators, { kind: "accessor", name: "#z", static: true, private: true, access: { has: obj => __classPrivateFieldIn(_classThis, obj), get: obj => __classPrivateFieldGet(obj, _classThis, "a", _C_z_get), set: (obj, value) => { __classPrivateFieldSet(obj, _classThis, value, "a", _C_z_set); } }, metadata: _metadata }, _static_private_z_initializers, _static_private_z_extraInitializers); 1->^^^^^^^^^^^^ @@ -436,16 +437,16 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 8 > static accessor #z = 1; 9 > 10> -1->Emitted(103, 13) Source(44, 5) + SourceIndex(0) -2 >Emitted(103, 65) Source(44, 5) + SourceIndex(0) -3 >Emitted(103, 88) Source(44, 5) + SourceIndex(0) -4 >Emitted(103, 180) Source(44, 28) + SourceIndex(0) -5 >Emitted(103, 194) Source(44, 28) + SourceIndex(0) -6 >Emitted(103, 196) Source(44, 5) + SourceIndex(0) -7 >Emitted(103, 219) Source(44, 5) + SourceIndex(0) -8 >Emitted(103, 316) Source(44, 28) + SourceIndex(0) -9 >Emitted(103, 330) Source(44, 28) + SourceIndex(0) -10>Emitted(103, 738) Source(44, 28) + SourceIndex(0) +1->Emitted(104, 13) Source(44, 5) + SourceIndex(0) +2 >Emitted(104, 65) Source(44, 5) + SourceIndex(0) +3 >Emitted(104, 88) Source(44, 5) + SourceIndex(0) +4 >Emitted(104, 180) Source(44, 28) + SourceIndex(0) +5 >Emitted(104, 194) Source(44, 28) + SourceIndex(0) +6 >Emitted(104, 196) Source(44, 5) + SourceIndex(0) +7 >Emitted(104, 219) Source(44, 5) + SourceIndex(0) +8 >Emitted(104, 316) Source(44, 28) + SourceIndex(0) +9 >Emitted(104, 330) Source(44, 28) + SourceIndex(0) +10>Emitted(104, 738) Source(44, 28) + SourceIndex(0) --- >>> __esDecorate(this, null, _method_decorators, { kind: "method", name: "method", static: false, private: false, access: { has: obj => "method" in obj, get: obj => obj.method }, metadata: _metadata }, null, _instanceExtraInitializers); 1 >^^^^^^^^^^^^ @@ -456,10 +457,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > 3 > method 4 > () {} -1 >Emitted(104, 13) Source(8, 5) + SourceIndex(0) -2 >Emitted(104, 178) Source(8, 5) + SourceIndex(0) -3 >Emitted(104, 184) Source(8, 11) + SourceIndex(0) -4 >Emitted(104, 245) Source(8, 16) + SourceIndex(0) +1 >Emitted(105, 13) Source(8, 5) + SourceIndex(0) +2 >Emitted(105, 178) Source(8, 5) + SourceIndex(0) +3 >Emitted(105, 184) Source(8, 11) + SourceIndex(0) +4 >Emitted(105, 245) Source(8, 16) + SourceIndex(0) --- >>> __esDecorate(this, null, _get_x_decorators, { kind: "getter", name: "x", static: false, private: false, access: { has: obj => "x" in obj, get: obj => obj.x }, metadata: _metadata }, null, _instanceExtraInitializers); 1 >^^^^^^^^^^^^ @@ -475,10 +476,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > get 3 > x 4 > () { return 1; } -1 >Emitted(105, 13) Source(12, 5) + SourceIndex(0) -2 >Emitted(105, 167) Source(12, 9) + SourceIndex(0) -3 >Emitted(105, 168) Source(12, 10) + SourceIndex(0) -4 >Emitted(105, 229) Source(12, 26) + SourceIndex(0) +1 >Emitted(106, 13) Source(12, 5) + SourceIndex(0) +2 >Emitted(106, 167) Source(12, 9) + SourceIndex(0) +3 >Emitted(106, 168) Source(12, 10) + SourceIndex(0) +4 >Emitted(106, 229) Source(12, 26) + SourceIndex(0) --- >>> __esDecorate(this, null, _set_x_decorators, { kind: "setter", name: "x", static: false, private: false, access: { has: obj => "x" in obj, set: (obj, value) => { obj.x = value; } }, metadata: _metadata }, null, _instanceExtraInitializers); 1->^^^^^^^^^^^^ @@ -494,10 +495,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > set 3 > x 4 > (value: number) { } -1->Emitted(106, 13) Source(16, 5) + SourceIndex(0) -2 >Emitted(106, 178) Source(16, 9) + SourceIndex(0) -3 >Emitted(106, 179) Source(16, 10) + SourceIndex(0) -4 >Emitted(106, 251) Source(16, 29) + SourceIndex(0) +1->Emitted(107, 13) Source(16, 5) + SourceIndex(0) +2 >Emitted(107, 178) Source(16, 9) + SourceIndex(0) +3 >Emitted(107, 179) Source(16, 10) + SourceIndex(0) +4 >Emitted(107, 251) Source(16, 29) + SourceIndex(0) --- >>> __esDecorate(this, null, _z_decorators, { kind: "accessor", name: "z", static: false, private: false, access: { has: obj => "z" in obj, get: obj => obj.z, set: (obj, value) => { obj.z = value; } }, metadata: _metadata }, _z_initializers, _z_extraInitializers); 1->^^^^^^^^^^^^ @@ -521,12 +522,12 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 4 > 5 > z 6 > = 1; -1->Emitted(107, 13) Source(24, 5) + SourceIndex(0) -2 >Emitted(107, 165) Source(24, 14) + SourceIndex(0) -3 >Emitted(107, 166) Source(24, 15) + SourceIndex(0) -4 >Emitted(107, 195) Source(24, 14) + SourceIndex(0) -5 >Emitted(107, 196) Source(24, 15) + SourceIndex(0) -6 >Emitted(107, 273) Source(24, 20) + SourceIndex(0) +1->Emitted(108, 13) Source(24, 5) + SourceIndex(0) +2 >Emitted(108, 165) Source(24, 14) + SourceIndex(0) +3 >Emitted(108, 166) Source(24, 15) + SourceIndex(0) +4 >Emitted(108, 195) Source(24, 14) + SourceIndex(0) +5 >Emitted(108, 196) Source(24, 15) + SourceIndex(0) +6 >Emitted(108, 273) Source(24, 20) + SourceIndex(0) --- >>> __esDecorate(null, null, _static_private_y_decorators, { kind: "field", name: "#y", static: true, private: true, access: { has: obj => __classPrivateFieldIn(_classThis, obj), get: obj => __classPrivateFieldGet(obj, _classThis, "f", _C_y), set: (obj, value) => { __classPrivateFieldSet(obj, _classThis, value, "f", _C_y); } }, metadata: _metadata }, _static_private_y_initializers, _static_private_y_extraInitializers); 1->^^^^^^^^^^^^ @@ -549,8 +550,8 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > @dec > 2 > static #y = 1; -1->Emitted(108, 13) Source(40, 5) + SourceIndex(0) -2 >Emitted(108, 431) Source(40, 19) + SourceIndex(0) +1->Emitted(109, 13) Source(40, 5) + SourceIndex(0) +2 >Emitted(109, 431) Source(40, 19) + SourceIndex(0) --- >>> __esDecorate(null, null, _y_decorators, { kind: "field", name: "y", static: false, private: false, access: { has: obj => "y" in obj, get: obj => obj.y, set: (obj, value) => { obj.y = value; } }, metadata: _metadata }, _y_initializers, _y_extraInitializers); 1 >^^^^^^^^^^^^ @@ -565,12 +566,12 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 4 > 5 > y 6 > = 1; -1 >Emitted(109, 13) Source(20, 5) + SourceIndex(0) -2 >Emitted(109, 162) Source(20, 5) + SourceIndex(0) -3 >Emitted(109, 163) Source(20, 6) + SourceIndex(0) -4 >Emitted(109, 192) Source(20, 5) + SourceIndex(0) -5 >Emitted(109, 193) Source(20, 6) + SourceIndex(0) -6 >Emitted(109, 270) Source(20, 11) + SourceIndex(0) +1 >Emitted(110, 13) Source(20, 5) + SourceIndex(0) +2 >Emitted(110, 162) Source(20, 5) + SourceIndex(0) +3 >Emitted(110, 163) Source(20, 6) + SourceIndex(0) +4 >Emitted(110, 192) Source(20, 5) + SourceIndex(0) +5 >Emitted(110, 193) Source(20, 6) + SourceIndex(0) +6 >Emitted(110, 270) Source(20, 11) + SourceIndex(0) --- >>> __esDecorate(null, _classDescriptor = { value: _classThis }, _classDecorators, { kind: "class", name: _classThis.name, metadata: _metadata }, null, _classExtraInitializers); 1 >^^^^^^^^^^^^ @@ -617,8 +618,8 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > @dec > static accessor #z = 1; > } -1 >Emitted(110, 13) Source(5, 1) + SourceIndex(0) -2 >Emitted(110, 186) Source(45, 2) + SourceIndex(0) +1 >Emitted(111, 13) Source(5, 1) + SourceIndex(0) +2 >Emitted(111, 186) Source(45, 2) + SourceIndex(0) --- >>> C = _classThis = _classDescriptor.value; >>> if (_metadata) Object.defineProperty(_classThis, Symbol.metadata, { enumerable: true, configurable: true, writable: true, value: _metadata }); @@ -633,10 +634,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > method 3 > () { 4 > } -1 >Emitted(114, 9) Source(8, 5) + SourceIndex(0) -2 >Emitted(114, 15) Source(8, 11) + SourceIndex(0) -3 >Emitted(114, 20) Source(8, 15) + SourceIndex(0) -4 >Emitted(114, 21) Source(8, 16) + SourceIndex(0) +1 >Emitted(115, 9) Source(8, 5) + SourceIndex(0) +2 >Emitted(115, 15) Source(8, 11) + SourceIndex(0) +3 >Emitted(115, 20) Source(8, 15) + SourceIndex(0) +4 >Emitted(115, 21) Source(8, 16) + SourceIndex(0) --- >>> get x() { return 1; } 1->^^^^^^^^ @@ -661,15 +662,15 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 7 > ; 8 > 9 > } -1->Emitted(115, 9) Source(12, 5) + SourceIndex(0) -2 >Emitted(115, 13) Source(12, 9) + SourceIndex(0) -3 >Emitted(115, 14) Source(12, 10) + SourceIndex(0) -4 >Emitted(115, 19) Source(12, 15) + SourceIndex(0) -5 >Emitted(115, 26) Source(12, 22) + SourceIndex(0) -6 >Emitted(115, 27) Source(12, 23) + SourceIndex(0) -7 >Emitted(115, 28) Source(12, 24) + SourceIndex(0) -8 >Emitted(115, 29) Source(12, 25) + SourceIndex(0) -9 >Emitted(115, 30) Source(12, 26) + SourceIndex(0) +1->Emitted(116, 9) Source(12, 5) + SourceIndex(0) +2 >Emitted(116, 13) Source(12, 9) + SourceIndex(0) +3 >Emitted(116, 14) Source(12, 10) + SourceIndex(0) +4 >Emitted(116, 19) Source(12, 15) + SourceIndex(0) +5 >Emitted(116, 26) Source(12, 22) + SourceIndex(0) +6 >Emitted(116, 27) Source(12, 23) + SourceIndex(0) +7 >Emitted(116, 28) Source(12, 24) + SourceIndex(0) +8 >Emitted(116, 29) Source(12, 25) + SourceIndex(0) +9 >Emitted(116, 30) Source(12, 26) + SourceIndex(0) --- >>> set x(value) { } 1 >^^^^^^^^ @@ -691,13 +692,13 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 5 > value: number 6 > ) { 7 > } -1 >Emitted(116, 9) Source(16, 5) + SourceIndex(0) -2 >Emitted(116, 13) Source(16, 9) + SourceIndex(0) -3 >Emitted(116, 14) Source(16, 10) + SourceIndex(0) -4 >Emitted(116, 15) Source(16, 11) + SourceIndex(0) -5 >Emitted(116, 20) Source(16, 24) + SourceIndex(0) -6 >Emitted(116, 24) Source(16, 28) + SourceIndex(0) -7 >Emitted(116, 25) Source(16, 29) + SourceIndex(0) +1 >Emitted(117, 9) Source(16, 5) + SourceIndex(0) +2 >Emitted(117, 13) Source(16, 9) + SourceIndex(0) +3 >Emitted(117, 14) Source(16, 10) + SourceIndex(0) +4 >Emitted(117, 15) Source(16, 11) + SourceIndex(0) +5 >Emitted(117, 20) Source(16, 24) + SourceIndex(0) +6 >Emitted(117, 24) Source(16, 28) + SourceIndex(0) +7 >Emitted(117, 25) Source(16, 29) + SourceIndex(0) --- >>> y = (__runInitializers(this, _instanceExtraInitializers), __runInitializers(this, _y_initializers, 1)); 1->^^^^^^^^ @@ -734,13 +735,13 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > y = 6 > 1 7 > ; -1->Emitted(117, 9) Source(20, 5) + SourceIndex(0) -2 >Emitted(117, 10) Source(20, 6) + SourceIndex(0) -3 >Emitted(117, 14) Source(5, 7) + SourceIndex(0) -4 >Emitted(117, 65) Source(5, 8) + SourceIndex(0) -5 >Emitted(117, 108) Source(20, 9) + SourceIndex(0) -6 >Emitted(117, 109) Source(20, 10) + SourceIndex(0) -7 >Emitted(117, 112) Source(20, 11) + SourceIndex(0) +1->Emitted(118, 9) Source(20, 5) + SourceIndex(0) +2 >Emitted(118, 10) Source(20, 6) + SourceIndex(0) +3 >Emitted(118, 14) Source(5, 7) + SourceIndex(0) +4 >Emitted(118, 65) Source(5, 8) + SourceIndex(0) +5 >Emitted(118, 108) Source(20, 9) + SourceIndex(0) +6 >Emitted(118, 109) Source(20, 10) + SourceIndex(0) +7 >Emitted(118, 112) Source(20, 11) + SourceIndex(0) --- >>> #z_1_accessor_storage = (__runInitializers(this, _y_extraInitializers), __runInitializers(this, _z_initializers, 1)); 1->^^^^^^^^ @@ -755,10 +756,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > accessor z = 3 > 1 4 > ; -1->Emitted(118, 9) Source(24, 5) + SourceIndex(0) -2 >Emitted(118, 122) Source(24, 18) + SourceIndex(0) -3 >Emitted(118, 123) Source(24, 19) + SourceIndex(0) -4 >Emitted(118, 126) Source(24, 20) + SourceIndex(0) +1->Emitted(119, 9) Source(24, 5) + SourceIndex(0) +2 >Emitted(119, 122) Source(24, 18) + SourceIndex(0) +3 >Emitted(119, 123) Source(24, 19) + SourceIndex(0) +4 >Emitted(119, 126) Source(24, 20) + SourceIndex(0) --- >>> get z() { return this.#z_1_accessor_storage; } 1 >^^^^^^^^ @@ -770,10 +771,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > accessor 3 > z 4 > = 1; -1 >Emitted(119, 9) Source(24, 5) + SourceIndex(0) -2 >Emitted(119, 13) Source(24, 14) + SourceIndex(0) -3 >Emitted(119, 14) Source(24, 15) + SourceIndex(0) -4 >Emitted(119, 55) Source(24, 20) + SourceIndex(0) +1 >Emitted(120, 9) Source(24, 5) + SourceIndex(0) +2 >Emitted(120, 13) Source(24, 14) + SourceIndex(0) +3 >Emitted(120, 14) Source(24, 15) + SourceIndex(0) +4 >Emitted(120, 55) Source(24, 20) + SourceIndex(0) --- >>> set z(value) { this.#z_1_accessor_storage = value; } 1->^^^^^^^^ @@ -784,10 +785,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > accessor 3 > z 4 > = 1; -1->Emitted(120, 9) Source(24, 5) + SourceIndex(0) -2 >Emitted(120, 13) Source(24, 14) + SourceIndex(0) -3 >Emitted(120, 14) Source(24, 15) + SourceIndex(0) -4 >Emitted(120, 61) Source(24, 20) + SourceIndex(0) +1->Emitted(121, 9) Source(24, 5) + SourceIndex(0) +2 >Emitted(121, 13) Source(24, 14) + SourceIndex(0) +3 >Emitted(121, 14) Source(24, 15) + SourceIndex(0) +4 >Emitted(121, 61) Source(24, 20) + SourceIndex(0) --- >>> static { >>> _C_y = { value: (__runInitializers(_classThis, _staticExtraInitializers), __runInitializers(_classThis, _static_private_y_initializers, 1)) }; @@ -856,13 +857,13 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 5 > 1 6 > 7 > = 1; -1 >Emitted(122, 13) Source(40, 12) + SourceIndex(0) -2 >Emitted(122, 30) Source(5, 7) + SourceIndex(0) -3 >Emitted(122, 85) Source(5, 8) + SourceIndex(0) -4 >Emitted(122, 149) Source(40, 17) + SourceIndex(0) -5 >Emitted(122, 150) Source(40, 18) + SourceIndex(0) -6 >Emitted(122, 154) Source(40, 14) + SourceIndex(0) -7 >Emitted(122, 155) Source(40, 19) + SourceIndex(0) +1 >Emitted(123, 13) Source(40, 12) + SourceIndex(0) +2 >Emitted(123, 30) Source(5, 7) + SourceIndex(0) +3 >Emitted(123, 85) Source(5, 8) + SourceIndex(0) +4 >Emitted(123, 149) Source(40, 17) + SourceIndex(0) +5 >Emitted(123, 150) Source(40, 18) + SourceIndex(0) +6 >Emitted(123, 154) Source(40, 14) + SourceIndex(0) +7 >Emitted(123, 155) Source(40, 19) + SourceIndex(0) --- >>> } >>> static { @@ -881,11 +882,11 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > 1 4 > 5 > = 1; -1 >Emitted(125, 13) Source(44, 21) + SourceIndex(0) -2 >Emitted(125, 177) Source(44, 26) + SourceIndex(0) -3 >Emitted(125, 178) Source(44, 27) + SourceIndex(0) -4 >Emitted(125, 182) Source(44, 23) + SourceIndex(0) -5 >Emitted(125, 183) Source(44, 28) + SourceIndex(0) +1 >Emitted(126, 13) Source(44, 21) + SourceIndex(0) +2 >Emitted(126, 177) Source(44, 26) + SourceIndex(0) +3 >Emitted(126, 178) Source(44, 27) + SourceIndex(0) +4 >Emitted(126, 182) Source(44, 23) + SourceIndex(0) +5 >Emitted(126, 183) Source(44, 28) + SourceIndex(0) --- >>> } >>> constructor() { @@ -898,8 +899,8 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 > C -1 >Emitted(132, 13) Source(5, 7) + SourceIndex(0) -2 >Emitted(132, 68) Source(5, 8) + SourceIndex(0) +1 >Emitted(133, 13) Source(5, 7) + SourceIndex(0) +2 >Emitted(133, 68) Source(5, 8) + SourceIndex(0) --- >>> } >>> }; diff --git a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).js b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).js index 0096b201f87f5..29891661b35ac 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).js @@ -49,6 +49,7 @@ class C { //// [esDecorators-classDeclaration-sourceMap.js] +"use strict"; @dec @dec class C { diff --git a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).js.map b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).js.map index da283b863de83..66a656230276e 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).js.map +++ b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).js.map @@ -1,6 +1,6 @@ //// [esDecorators-classDeclaration-sourceMap.js.map] -{"version":3,"file":"esDecorators-classDeclaration-sourceMap.js","sourceRoot":"","sources":["esDecorators-classDeclaration-sourceMap.ts"],"names":[],"mappings":"AAEA,CAAC,GAAG;AACJ,CAAC,GAAG;MACE,CAAC;IACH,CAAC,GAAG;IACJ,CAAC,GAAG;IACJ,MAAM,KAAI,CAAC;IAEX,CAAC,GA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UFNLEtBQUssRUFBRSxLQUFLLE9BQU8sQ0FBQyxDQUFDLENBQUMsQ0FBQztJQUU3QixDQUFDLEdBQUc7SUFDSixDQUFDLEdBQUc7SUFDSixNQUFNLEtBQUssRUFBRSxDQUFDLEtBQWEsSUFBSSxDQUFDO0lBRWhDLENBQUMsR0FBRztJQUNKLENBQUMsR0FBRztJQUNKLE1BQU0sQ0FBQyxFQUFFLEdBQUcsQ0FBQyxDQUFDO0lBRWQsQ0FBQyxHQUFHO0lBQ0osQ0FBQyxHQUFHO0lBQ0osTUFBTSxDQUFDLFFBQVEsQ0FBQyxFQUFFLEdBQUcsQ0FBQyxDQUFDIn0=,ZGVjbGFyZSB2YXIgZGVjOiBhbnk7CgpAZGVjCkBkZWMKY2xhc3MgQyB7CiAgICBAZGVjCiAgICBAZGVjCiAgICBtZXRob2QoKSB7fQoKICAgIEBkZWMKICAgIEBkZWMKICAgIGdldCB4KCkgeyByZXR1cm4gMTsgfQoKICAgIEBkZWMKICAgIEBkZWMKICAgIHNldCB4KHZhbHVlOiBudW1iZXIpIHsgfQoKICAgIEBkZWMKICAgIEBkZWMKICAgIHkgPSAxOwoKICAgIEBkZWMKICAgIEBkZWMKICAgIGFjY2Vzc29yIHogPSAxOwoKICAgIEBkZWMKICAgIEBkZWMKICAgIHN0YXRpYyAjbWV0aG9kKCkge30KCiAgICBAZGVjCiAgICBAZGVjCiAgICBzdGF0aWMgZ2V0ICN4KCkgeyByZXR1cm4gMTsgfQoKICAgIEBkZWMKICAgIEBkZWMKICAgIHN0YXRpYyBzZXQgI3godmFsdWU6IG51bWJlcikgeyB9CgogICAgQGRlYwogICAgQGRlYwogICAgc3RhdGljICN5ID0gMTsKCiAgICBAZGVjCiAgICBAZGVjCiAgICBzdGF0aWMgYWNjZXNzb3IgI3ogPSAxOwp9Cg== +{"version":3,"file":"esDecorators-classDeclaration-sourceMap.js","sourceRoot":"","sources":["esDecorators-classDeclaration-sourceMap.ts"],"names":[],"mappings":";AAEA,CAAC,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aWMgYWNjZXNzb3IgI3ogPSAxOwp9Cg== //// [esDecorators-classDeclaration-sourceMap.d.ts.map] {"version":3,"file":"esDecorators-classDeclaration-sourceMap.d.ts","sourceRoot":"","sources":["esDecorators-classDeclaration-sourceMap.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,IAAI,GAAG,EAAE,GAAG,CAAC;AAErB,cAEM,CAAC;;IAGH,MAAM;IAEN,IAEI,CAAC,IAIQ,MAAM,CAJE;IAErB,IAEI,CAAC,CAAC,KAAK,EAAE,MAAM,EAAK;IAIxB,CAAC,SAAK;IAIN,QAAQ,CAAC,CAAC,SAAK;CAqBlB"} diff --git a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).sourcemap.txt b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).sourcemap.txt index ed5c714e6898e..8416b90a41ba3 100644 --- a/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).sourcemap.txt +++ b/tests/baselines/reference/esDecorators-classDeclaration-sourceMap(target=esnext).sourcemap.txt @@ -8,6 +8,7 @@ sources: esDecorators-classDeclaration-sourceMap.ts emittedFile:esDecorators-classDeclaration-sourceMap.js sourceFile:esDecorators-classDeclaration-sourceMap.ts ------------------------------------------------------------------- +>>>"use strict"; >>>@dec 1 > 2 >^ @@ -18,9 +19,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 >@ 3 > dec -1 >Emitted(1, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(1, 2) Source(3, 2) + SourceIndex(0) -3 >Emitted(1, 5) Source(3, 5) + SourceIndex(0) +1 >Emitted(2, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(2, 2) Source(3, 2) + SourceIndex(0) +3 >Emitted(2, 5) Source(3, 5) + SourceIndex(0) --- >>>@dec 1-> @@ -31,9 +32,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 >@ 3 > dec -1->Emitted(2, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(2, 2) Source(4, 2) + SourceIndex(0) -3 >Emitted(2, 5) Source(4, 5) + SourceIndex(0) +1->Emitted(3, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(3, 2) Source(4, 2) + SourceIndex(0) +3 >Emitted(3, 5) Source(4, 5) + SourceIndex(0) --- >>>class C { 1->^^^^^^ @@ -42,8 +43,8 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 1-> >class 2 > C -1->Emitted(3, 7) Source(5, 7) + SourceIndex(0) -2 >Emitted(3, 8) Source(5, 8) + SourceIndex(0) +1->Emitted(4, 7) Source(5, 7) + SourceIndex(0) +2 >Emitted(4, 8) Source(5, 8) + SourceIndex(0) --- >>> @dec 1->^^^^ @@ -54,9 +55,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1->Emitted(4, 5) Source(6, 5) + SourceIndex(0) -2 >Emitted(4, 6) Source(6, 6) + SourceIndex(0) -3 >Emitted(4, 9) Source(6, 9) + SourceIndex(0) +1->Emitted(5, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(6, 6) + SourceIndex(0) +3 >Emitted(5, 9) Source(6, 9) + SourceIndex(0) --- >>> @dec 1->^^^^ @@ -67,9 +68,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1->Emitted(5, 5) Source(7, 5) + SourceIndex(0) -2 >Emitted(5, 6) Source(7, 6) + SourceIndex(0) -3 >Emitted(5, 9) Source(7, 9) + SourceIndex(0) +1->Emitted(6, 5) Source(7, 5) + SourceIndex(0) +2 >Emitted(6, 6) Source(7, 6) + SourceIndex(0) +3 >Emitted(6, 9) Source(7, 9) + SourceIndex(0) --- >>> method() { } 1->^^^^ @@ -81,10 +82,10 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 2 > method 3 > () { 4 > } -1->Emitted(6, 5) Source(8, 5) + SourceIndex(0) -2 >Emitted(6, 11) Source(8, 11) + SourceIndex(0) -3 >Emitted(6, 16) Source(8, 15) + SourceIndex(0) -4 >Emitted(6, 17) Source(8, 16) + SourceIndex(0) +1->Emitted(7, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(7, 11) Source(8, 11) + SourceIndex(0) +3 >Emitted(7, 16) Source(8, 15) + SourceIndex(0) +4 >Emitted(7, 17) Source(8, 16) + SourceIndex(0) --- >>> @dec 1 >^^^^ @@ -96,9 +97,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1 >Emitted(7, 5) Source(10, 5) + SourceIndex(0) -2 >Emitted(7, 6) Source(10, 6) + SourceIndex(0) -3 >Emitted(7, 9) Source(10, 9) + SourceIndex(0) +1 >Emitted(8, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(8, 6) Source(10, 6) + SourceIndex(0) +3 >Emitted(8, 9) Source(10, 9) + SourceIndex(0) --- >>> @dec 1->^^^^ @@ -109,9 +110,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1->Emitted(8, 5) Source(11, 5) + SourceIndex(0) -2 >Emitted(8, 6) Source(11, 6) + SourceIndex(0) -3 >Emitted(8, 9) Source(11, 9) + SourceIndex(0) +1->Emitted(9, 5) Source(11, 5) + SourceIndex(0) +2 >Emitted(9, 6) Source(11, 6) + SourceIndex(0) +3 >Emitted(9, 9) Source(11, 9) + SourceIndex(0) --- >>> get x() { return 1; } 1->^^^^^^^^ @@ -131,14 +132,14 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 6 > ; 7 > 8 > } -1->Emitted(9, 9) Source(12, 9) + SourceIndex(0) -2 >Emitted(9, 10) Source(12, 10) + SourceIndex(0) -3 >Emitted(9, 15) Source(12, 15) + SourceIndex(0) -4 >Emitted(9, 22) Source(12, 22) + SourceIndex(0) -5 >Emitted(9, 23) Source(12, 23) + SourceIndex(0) -6 >Emitted(9, 24) Source(12, 24) + SourceIndex(0) -7 >Emitted(9, 25) Source(12, 25) + SourceIndex(0) -8 >Emitted(9, 26) Source(12, 26) + SourceIndex(0) +1->Emitted(10, 9) Source(12, 9) + SourceIndex(0) +2 >Emitted(10, 10) Source(12, 10) + SourceIndex(0) +3 >Emitted(10, 15) Source(12, 15) + SourceIndex(0) +4 >Emitted(10, 22) Source(12, 22) + SourceIndex(0) +5 >Emitted(10, 23) Source(12, 23) + SourceIndex(0) +6 >Emitted(10, 24) Source(12, 24) + SourceIndex(0) +7 >Emitted(10, 25) Source(12, 25) + SourceIndex(0) +8 >Emitted(10, 26) Source(12, 26) + SourceIndex(0) --- >>> @dec 1 >^^^^ @@ -150,9 +151,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1 >Emitted(10, 5) Source(14, 5) + SourceIndex(0) -2 >Emitted(10, 6) Source(14, 6) + SourceIndex(0) -3 >Emitted(10, 9) Source(14, 9) + SourceIndex(0) +1 >Emitted(11, 5) Source(14, 5) + SourceIndex(0) +2 >Emitted(11, 6) Source(14, 6) + SourceIndex(0) +3 >Emitted(11, 9) Source(14, 9) + SourceIndex(0) --- >>> @dec 1->^^^^ @@ -163,9 +164,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1->Emitted(11, 5) Source(15, 5) + SourceIndex(0) -2 >Emitted(11, 6) Source(15, 6) + SourceIndex(0) -3 >Emitted(11, 9) Source(15, 9) + SourceIndex(0) +1->Emitted(12, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(12, 6) Source(15, 6) + SourceIndex(0) +3 >Emitted(12, 9) Source(15, 9) + SourceIndex(0) --- >>> set x(value) { } 1->^^^^^^^^ @@ -181,12 +182,12 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 4 > value: number 5 > ) { 6 > } -1->Emitted(12, 9) Source(16, 9) + SourceIndex(0) -2 >Emitted(12, 10) Source(16, 10) + SourceIndex(0) -3 >Emitted(12, 11) Source(16, 11) + SourceIndex(0) -4 >Emitted(12, 16) Source(16, 24) + SourceIndex(0) -5 >Emitted(12, 20) Source(16, 28) + SourceIndex(0) -6 >Emitted(12, 21) Source(16, 29) + SourceIndex(0) +1->Emitted(13, 9) Source(16, 9) + SourceIndex(0) +2 >Emitted(13, 10) Source(16, 10) + SourceIndex(0) +3 >Emitted(13, 11) Source(16, 11) + SourceIndex(0) +4 >Emitted(13, 16) Source(16, 24) + SourceIndex(0) +5 >Emitted(13, 20) Source(16, 28) + SourceIndex(0) +6 >Emitted(13, 21) Source(16, 29) + SourceIndex(0) --- >>> @dec 1 >^^^^ @@ -198,9 +199,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1 >Emitted(13, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(13, 6) Source(18, 6) + SourceIndex(0) -3 >Emitted(13, 9) Source(18, 9) + SourceIndex(0) +1 >Emitted(14, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(14, 6) Source(18, 6) + SourceIndex(0) +3 >Emitted(14, 9) Source(18, 9) + SourceIndex(0) --- >>> @dec 1->^^^^ @@ -211,9 +212,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1->Emitted(14, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(14, 6) Source(19, 6) + SourceIndex(0) -3 >Emitted(14, 9) Source(19, 9) + SourceIndex(0) +1->Emitted(15, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(15, 6) Source(19, 6) + SourceIndex(0) +3 >Emitted(15, 9) Source(19, 9) + SourceIndex(0) --- >>> y = 1; 1->^^^^ @@ -227,11 +228,11 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 3 > = 4 > 1 5 > ; -1->Emitted(15, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(15, 6) Source(20, 6) + SourceIndex(0) -3 >Emitted(15, 9) Source(20, 9) + SourceIndex(0) -4 >Emitted(15, 10) Source(20, 10) + SourceIndex(0) -5 >Emitted(15, 11) Source(20, 11) + SourceIndex(0) +1->Emitted(16, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(16, 6) Source(20, 6) + SourceIndex(0) +3 >Emitted(16, 9) Source(20, 9) + SourceIndex(0) +4 >Emitted(16, 10) Source(20, 10) + SourceIndex(0) +5 >Emitted(16, 11) Source(20, 11) + SourceIndex(0) --- >>> @dec 1 >^^^^ @@ -243,9 +244,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1 >Emitted(16, 5) Source(22, 5) + SourceIndex(0) -2 >Emitted(16, 6) Source(22, 6) + SourceIndex(0) -3 >Emitted(16, 9) Source(22, 9) + SourceIndex(0) +1 >Emitted(17, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(17, 6) Source(22, 6) + SourceIndex(0) +3 >Emitted(17, 9) Source(22, 9) + SourceIndex(0) --- >>> @dec 1->^^^^ @@ -256,9 +257,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1->Emitted(17, 5) Source(23, 5) + SourceIndex(0) -2 >Emitted(17, 6) Source(23, 6) + SourceIndex(0) -3 >Emitted(17, 9) Source(23, 9) + SourceIndex(0) +1->Emitted(18, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(18, 6) Source(23, 6) + SourceIndex(0) +3 >Emitted(18, 9) Source(23, 9) + SourceIndex(0) --- >>> accessor z = 1; 1->^^^^ @@ -276,13 +277,13 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 5 > = 6 > 1 7 > ; -1->Emitted(18, 5) Source(24, 5) + SourceIndex(0) -2 >Emitted(18, 13) Source(24, 13) + SourceIndex(0) -3 >Emitted(18, 14) Source(24, 14) + SourceIndex(0) -4 >Emitted(18, 15) Source(24, 15) + SourceIndex(0) -5 >Emitted(18, 18) Source(24, 18) + SourceIndex(0) -6 >Emitted(18, 19) Source(24, 19) + SourceIndex(0) -7 >Emitted(18, 20) Source(24, 20) + SourceIndex(0) +1->Emitted(19, 5) Source(24, 5) + SourceIndex(0) +2 >Emitted(19, 13) Source(24, 13) + SourceIndex(0) +3 >Emitted(19, 14) Source(24, 14) + SourceIndex(0) +4 >Emitted(19, 15) Source(24, 15) + SourceIndex(0) +5 >Emitted(19, 18) Source(24, 18) + SourceIndex(0) +6 >Emitted(19, 19) Source(24, 19) + SourceIndex(0) +7 >Emitted(19, 20) Source(24, 20) + SourceIndex(0) --- >>> @dec 1 >^^^^ @@ -294,9 +295,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1 >Emitted(19, 5) Source(26, 5) + SourceIndex(0) -2 >Emitted(19, 6) Source(26, 6) + SourceIndex(0) -3 >Emitted(19, 9) Source(26, 9) + SourceIndex(0) +1 >Emitted(20, 5) Source(26, 5) + SourceIndex(0) +2 >Emitted(20, 6) Source(26, 6) + SourceIndex(0) +3 >Emitted(20, 9) Source(26, 9) + SourceIndex(0) --- >>> @dec 1->^^^^ @@ -307,9 +308,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1->Emitted(20, 5) Source(27, 5) + SourceIndex(0) -2 >Emitted(20, 6) Source(27, 6) + SourceIndex(0) -3 >Emitted(20, 9) Source(27, 9) + SourceIndex(0) +1->Emitted(21, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(21, 6) Source(27, 6) + SourceIndex(0) +3 >Emitted(21, 9) Source(27, 9) + SourceIndex(0) --- >>> static #method() { } 1->^^^^ @@ -325,12 +326,12 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 4 > #method 5 > () { 6 > } -1->Emitted(21, 5) Source(28, 5) + SourceIndex(0) -2 >Emitted(21, 11) Source(28, 11) + SourceIndex(0) -3 >Emitted(21, 12) Source(28, 12) + SourceIndex(0) -4 >Emitted(21, 19) Source(28, 19) + SourceIndex(0) -5 >Emitted(21, 24) Source(28, 23) + SourceIndex(0) -6 >Emitted(21, 25) Source(28, 24) + SourceIndex(0) +1->Emitted(22, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(22, 11) Source(28, 11) + SourceIndex(0) +3 >Emitted(22, 12) Source(28, 12) + SourceIndex(0) +4 >Emitted(22, 19) Source(28, 19) + SourceIndex(0) +5 >Emitted(22, 24) Source(28, 23) + SourceIndex(0) +6 >Emitted(22, 25) Source(28, 24) + SourceIndex(0) --- >>> @dec 1 >^^^^ @@ -342,9 +343,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1 >Emitted(22, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(22, 6) Source(30, 6) + SourceIndex(0) -3 >Emitted(22, 9) Source(30, 9) + SourceIndex(0) +1 >Emitted(23, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(23, 6) Source(30, 6) + SourceIndex(0) +3 >Emitted(23, 9) Source(30, 9) + SourceIndex(0) --- >>> @dec 1->^^^^ @@ -355,9 +356,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1->Emitted(23, 5) Source(31, 5) + SourceIndex(0) -2 >Emitted(23, 6) Source(31, 6) + SourceIndex(0) -3 >Emitted(23, 9) Source(31, 9) + SourceIndex(0) +1->Emitted(24, 5) Source(31, 5) + SourceIndex(0) +2 >Emitted(24, 6) Source(31, 6) + SourceIndex(0) +3 >Emitted(24, 9) Source(31, 9) + SourceIndex(0) --- >>> static get #x() { return 1; } 1->^^^^ @@ -381,16 +382,16 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 8 > ; 9 > 10> } -1->Emitted(24, 5) Source(32, 5) + SourceIndex(0) -2 >Emitted(24, 11) Source(32, 11) + SourceIndex(0) -3 >Emitted(24, 16) Source(32, 16) + SourceIndex(0) -4 >Emitted(24, 18) Source(32, 18) + SourceIndex(0) -5 >Emitted(24, 23) Source(32, 23) + SourceIndex(0) -6 >Emitted(24, 30) Source(32, 30) + SourceIndex(0) -7 >Emitted(24, 31) Source(32, 31) + SourceIndex(0) -8 >Emitted(24, 32) Source(32, 32) + SourceIndex(0) -9 >Emitted(24, 33) Source(32, 33) + SourceIndex(0) -10>Emitted(24, 34) Source(32, 34) + SourceIndex(0) +1->Emitted(25, 5) Source(32, 5) + SourceIndex(0) +2 >Emitted(25, 11) Source(32, 11) + SourceIndex(0) +3 >Emitted(25, 16) Source(32, 16) + SourceIndex(0) +4 >Emitted(25, 18) Source(32, 18) + SourceIndex(0) +5 >Emitted(25, 23) Source(32, 23) + SourceIndex(0) +6 >Emitted(25, 30) Source(32, 30) + SourceIndex(0) +7 >Emitted(25, 31) Source(32, 31) + SourceIndex(0) +8 >Emitted(25, 32) Source(32, 32) + SourceIndex(0) +9 >Emitted(25, 33) Source(32, 33) + SourceIndex(0) +10>Emitted(25, 34) Source(32, 34) + SourceIndex(0) --- >>> @dec 1 >^^^^ @@ -402,9 +403,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1 >Emitted(25, 5) Source(34, 5) + SourceIndex(0) -2 >Emitted(25, 6) Source(34, 6) + SourceIndex(0) -3 >Emitted(25, 9) Source(34, 9) + SourceIndex(0) +1 >Emitted(26, 5) Source(34, 5) + SourceIndex(0) +2 >Emitted(26, 6) Source(34, 6) + SourceIndex(0) +3 >Emitted(26, 9) Source(34, 9) + SourceIndex(0) --- >>> @dec 1->^^^^ @@ -415,9 +416,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1->Emitted(26, 5) Source(35, 5) + SourceIndex(0) -2 >Emitted(26, 6) Source(35, 6) + SourceIndex(0) -3 >Emitted(26, 9) Source(35, 9) + SourceIndex(0) +1->Emitted(27, 5) Source(35, 5) + SourceIndex(0) +2 >Emitted(27, 6) Source(35, 6) + SourceIndex(0) +3 >Emitted(27, 9) Source(35, 9) + SourceIndex(0) --- >>> static set #x(value) { } 1->^^^^ @@ -437,14 +438,14 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 6 > value: number 7 > ) { 8 > } -1->Emitted(27, 5) Source(36, 5) + SourceIndex(0) -2 >Emitted(27, 11) Source(36, 11) + SourceIndex(0) -3 >Emitted(27, 16) Source(36, 16) + SourceIndex(0) -4 >Emitted(27, 18) Source(36, 18) + SourceIndex(0) -5 >Emitted(27, 19) Source(36, 19) + SourceIndex(0) -6 >Emitted(27, 24) Source(36, 32) + SourceIndex(0) -7 >Emitted(27, 28) Source(36, 36) + SourceIndex(0) -8 >Emitted(27, 29) Source(36, 37) + SourceIndex(0) +1->Emitted(28, 5) Source(36, 5) + SourceIndex(0) +2 >Emitted(28, 11) Source(36, 11) + SourceIndex(0) +3 >Emitted(28, 16) Source(36, 16) + SourceIndex(0) +4 >Emitted(28, 18) Source(36, 18) + SourceIndex(0) +5 >Emitted(28, 19) Source(36, 19) + SourceIndex(0) +6 >Emitted(28, 24) Source(36, 32) + SourceIndex(0) +7 >Emitted(28, 28) Source(36, 36) + SourceIndex(0) +8 >Emitted(28, 29) Source(36, 37) + SourceIndex(0) --- >>> @dec 1 >^^^^ @@ -456,9 +457,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1 >Emitted(28, 5) Source(38, 5) + SourceIndex(0) -2 >Emitted(28, 6) Source(38, 6) + SourceIndex(0) -3 >Emitted(28, 9) Source(38, 9) + SourceIndex(0) +1 >Emitted(29, 5) Source(38, 5) + SourceIndex(0) +2 >Emitted(29, 6) Source(38, 6) + SourceIndex(0) +3 >Emitted(29, 9) Source(38, 9) + SourceIndex(0) --- >>> @dec 1->^^^^ @@ -469,9 +470,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1->Emitted(29, 5) Source(39, 5) + SourceIndex(0) -2 >Emitted(29, 6) Source(39, 6) + SourceIndex(0) -3 >Emitted(29, 9) Source(39, 9) + SourceIndex(0) +1->Emitted(30, 5) Source(39, 5) + SourceIndex(0) +2 >Emitted(30, 6) Source(39, 6) + SourceIndex(0) +3 >Emitted(30, 9) Source(39, 9) + SourceIndex(0) --- >>> static #y = 1; 1->^^^^ @@ -489,13 +490,13 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 5 > = 6 > 1 7 > ; -1->Emitted(30, 5) Source(40, 5) + SourceIndex(0) -2 >Emitted(30, 11) Source(40, 11) + SourceIndex(0) -3 >Emitted(30, 12) Source(40, 12) + SourceIndex(0) -4 >Emitted(30, 14) Source(40, 14) + SourceIndex(0) -5 >Emitted(30, 17) Source(40, 17) + SourceIndex(0) -6 >Emitted(30, 18) Source(40, 18) + SourceIndex(0) -7 >Emitted(30, 19) Source(40, 19) + SourceIndex(0) +1->Emitted(31, 5) Source(40, 5) + SourceIndex(0) +2 >Emitted(31, 11) Source(40, 11) + SourceIndex(0) +3 >Emitted(31, 12) Source(40, 12) + SourceIndex(0) +4 >Emitted(31, 14) Source(40, 14) + SourceIndex(0) +5 >Emitted(31, 17) Source(40, 17) + SourceIndex(0) +6 >Emitted(31, 18) Source(40, 18) + SourceIndex(0) +7 >Emitted(31, 19) Source(40, 19) + SourceIndex(0) --- >>> @dec 1 >^^^^ @@ -507,9 +508,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1 >Emitted(31, 5) Source(42, 5) + SourceIndex(0) -2 >Emitted(31, 6) Source(42, 6) + SourceIndex(0) -3 >Emitted(31, 9) Source(42, 9) + SourceIndex(0) +1 >Emitted(32, 5) Source(42, 5) + SourceIndex(0) +2 >Emitted(32, 6) Source(42, 6) + SourceIndex(0) +3 >Emitted(32, 9) Source(42, 9) + SourceIndex(0) --- >>> @dec 1->^^^^ @@ -520,9 +521,9 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts > 2 > @ 3 > dec -1->Emitted(32, 5) Source(43, 5) + SourceIndex(0) -2 >Emitted(32, 6) Source(43, 6) + SourceIndex(0) -3 >Emitted(32, 9) Source(43, 9) + SourceIndex(0) +1->Emitted(33, 5) Source(43, 5) + SourceIndex(0) +2 >Emitted(33, 6) Source(43, 6) + SourceIndex(0) +3 >Emitted(33, 9) Source(43, 9) + SourceIndex(0) --- >>> static accessor #z = 1; 1->^^^^ @@ -544,15 +545,15 @@ sourceFile:esDecorators-classDeclaration-sourceMap.ts 7 > = 8 > 1 9 > ; -1->Emitted(33, 5) Source(44, 5) + SourceIndex(0) -2 >Emitted(33, 11) Source(44, 11) + SourceIndex(0) -3 >Emitted(33, 12) Source(44, 12) + SourceIndex(0) -4 >Emitted(33, 20) Source(44, 20) + SourceIndex(0) -5 >Emitted(33, 21) Source(44, 21) + SourceIndex(0) -6 >Emitted(33, 23) Source(44, 23) + SourceIndex(0) -7 >Emitted(33, 26) Source(44, 26) + SourceIndex(0) -8 >Emitted(33, 27) Source(44, 27) + SourceIndex(0) -9 >Emitted(33, 28) Source(44, 28) + SourceIndex(0) +1->Emitted(34, 5) Source(44, 5) + SourceIndex(0) +2 >Emitted(34, 11) Source(44, 11) + SourceIndex(0) +3 >Emitted(34, 12) Source(44, 12) + SourceIndex(0) +4 >Emitted(34, 20) Source(44, 20) + SourceIndex(0) +5 >Emitted(34, 21) Source(44, 21) + SourceIndex(0) +6 >Emitted(34, 23) Source(44, 23) + SourceIndex(0) +7 >Emitted(34, 26) Source(44, 26) + SourceIndex(0) +8 >Emitted(34, 27) Source(44, 27) + SourceIndex(0) +9 >Emitted(34, 28) Source(44, 28) + SourceIndex(0) --- >>>} >>>//# sourceMappingURL=esDecorators-classDeclaration-sourceMap.js.map=================================================================== diff --git a/tests/baselines/reference/esDecorators-classExpression-classSuper.1.js b/tests/baselines/reference/esDecorators-classExpression-classSuper.1.js index b570ae358489b..dc887e44daa79 100644 --- a/tests/baselines/reference/esDecorators-classExpression-classSuper.1.js +++ b/tests/baselines/reference/esDecorators-classExpression-classSuper.1.js @@ -23,6 +23,7 @@ class C extends Base { }); //// [esDecorators-classExpression-classSuper.1.js] +"use strict"; const method = "method"; ((() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classExpression-classSuper.2.js b/tests/baselines/reference/esDecorators-classExpression-classSuper.2.js index deda6d0c650ad..00288d2b678f8 100644 --- a/tests/baselines/reference/esDecorators-classExpression-classSuper.2.js +++ b/tests/baselines/reference/esDecorators-classExpression-classSuper.2.js @@ -29,6 +29,7 @@ class C3 extends ((() => {}) as any) { //// [esDecorators-classExpression-classSuper.2.js] +"use strict"; // class expression in extends should not get an assigned name ((() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classExpression-classSuper.3.js b/tests/baselines/reference/esDecorators-classExpression-classSuper.3.js index b7aea996af094..70f73e55c83d3 100644 --- a/tests/baselines/reference/esDecorators-classExpression-classSuper.3.js +++ b/tests/baselines/reference/esDecorators-classExpression-classSuper.3.js @@ -46,6 +46,7 @@ class C extends Base { //// [esDecorators-classExpression-classSuper.3.js] +"use strict"; const x = "x"; ((() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classExpression-classSuper.4.js b/tests/baselines/reference/esDecorators-classExpression-classSuper.4.js index 94f1ec7df8d97..0fc63fedf4938 100644 --- a/tests/baselines/reference/esDecorators-classExpression-classSuper.4.js +++ b/tests/baselines/reference/esDecorators-classExpression-classSuper.4.js @@ -21,6 +21,7 @@ class C extends Base { //// [esDecorators-classExpression-classSuper.4.js] +"use strict"; const method = "method"; ((() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classExpression-classSuper.5.js b/tests/baselines/reference/esDecorators-classExpression-classSuper.5.js index e3ddb7e67fd4c..e8a82da1bcdf9 100644 --- a/tests/baselines/reference/esDecorators-classExpression-classSuper.5.js +++ b/tests/baselines/reference/esDecorators-classExpression-classSuper.5.js @@ -50,6 +50,7 @@ class C3 extends Base { //// [esDecorators-classExpression-classSuper.5.js] +"use strict"; const x = "x"; ((() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classExpression-classSuper.6.js b/tests/baselines/reference/esDecorators-classExpression-classSuper.6.js index ae0f21aa614f5..5e881f1d7be78 100644 --- a/tests/baselines/reference/esDecorators-classExpression-classSuper.6.js +++ b/tests/baselines/reference/esDecorators-classExpression-classSuper.6.js @@ -28,6 +28,7 @@ class C extends Base { //// [esDecorators-classExpression-classSuper.6.js] +"use strict"; // none of the following should result in caching `super` ((() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=es2015).js b/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=es2015).js index f36fccc349374..5c6db6db2cf31 100644 --- a/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=es2015).js +++ b/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=es2015).js @@ -85,6 +85,7 @@ class C { //// [esDecorators-classExpression-commentPreservation.js] +"use strict"; /*1*/ ((() => { var _C_method_get, _C_x_get, _C_x_set, _C_y, _C_z_accessor_storage, _C_z_get, _C_z_set, _C_z_1_accessor_storage; diff --git a/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=es2022).js b/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=es2022).js index 77ddaa3bc82b5..210a29f4f7830 100644 --- a/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=es2022).js +++ b/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=es2022).js @@ -85,6 +85,7 @@ class C { //// [esDecorators-classExpression-commentPreservation.js] +"use strict"; /*1*/ ((() => { var _C_method_get, _C_x_get, _C_x_set, _C_y, _C_z_accessor_storage, _C_z_get, _C_z_set; diff --git a/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=esnext).js b/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=esnext).js index 6ae99cbca5168..e83adb7ef2243 100644 --- a/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=esnext).js +++ b/tests/baselines/reference/esDecorators-classExpression-commentPreservation(target=esnext).js @@ -85,6 +85,7 @@ class C { //// [esDecorators-classExpression-commentPreservation.js] +"use strict"; /*1*/ ( /*2*/ diff --git a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.1.js b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.1.js index a733f1cd4daa8..6ee0407589ec0 100644 --- a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.1.js +++ b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.1.js @@ -31,6 +31,7 @@ x ??= class { @dec y: any; }; //// [esDecorators-classExpression-namedEvaluation.1.js] +"use strict"; let x; // 13.15.2 RS: Evaluation // AssignmentExpression : LeftHandSideExpression `=` AssignmentExpression diff --git a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.10.js b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.10.js index 2119eb472ee78..3ab6b7584d01c 100644 --- a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.10.js +++ b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.10.js @@ -35,6 +35,7 @@ declare let dec: any, f: any; //// [esDecorators-classExpression-namedEvaluation.10.js] +"use strict"; var _a, _b; // 10.2.1.3 RS: EvaluateBody // Initializer : `=` AssignmentExpression diff --git a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.11.js b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.11.js index 58f9685b1bf21..301d57e70c9cf 100644 --- a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.11.js +++ b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.11.js @@ -15,6 +15,7 @@ declare let dec: any; //// [esDecorators-classExpression-namedEvaluation.11.js] +"use strict"; // No NamedEvaluation, no class name ((() => { let _classDecorators = [dec]; diff --git a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.2.js b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.2.js index ed72ed612181e..75bd7b8717072 100644 --- a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.2.js +++ b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.2.js @@ -34,6 +34,7 @@ let x: any, f: any; ({ ["__proto__"]: @dec class { } }); //// [esDecorators-classExpression-namedEvaluation.2.js] +"use strict"; var _a, _b; let x, f; // 13.2.5.5 RS: PropertyDefinitionEvaluation diff --git a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.3.js b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.3.js index d56d30b46f870..16177047b4e69 100644 --- a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.3.js +++ b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.3.js @@ -20,6 +20,7 @@ declare let dec: any; //// [esDecorators-classExpression-namedEvaluation.3.js] +"use strict"; // 14.3.1.2 RS: Evaluation // LexicalBinding : BindingIdentifier Initializer { diff --git a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.4.js b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.4.js index 3b68a02e5fab0..ff6e7ae7e2414 100644 --- a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.4.js +++ b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.4.js @@ -21,6 +21,7 @@ declare let dec: any, obj: any; //// [esDecorators-classExpression-namedEvaluation.4.js] +"use strict"; // 8.6.3 RS: IteratorBindingInitialization // SingleNameBinding : BindingIdentifier Initializer? { diff --git a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.5.js b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.5.js index 0c7884483dbe8..9015b77d5efb4 100644 --- a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.5.js +++ b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.5.js @@ -11,6 +11,7 @@ declare let dec: any, obj: any, x: any; //// [esDecorators-classExpression-namedEvaluation.5.js] +"use strict"; // 13.15.5.3 RS: PropertyDestructuringAssignmentEvaluation // AssignmentProperty : IdentifierReference Initializer? ({ x = (() => { diff --git a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.6.js b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.6.js index 37dd63a7c7370..0bd317372cb43 100644 --- a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.6.js +++ b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.6.js @@ -11,6 +11,7 @@ declare let dec: any, obj: any, x: any; //// [esDecorators-classExpression-namedEvaluation.6.js] +"use strict"; // 13.15.5.6 RS: KeyedDestructuringAssignmentEvaluation // AssignmentElement : DestructuringAssignmentTarget Initializer? ({ y: x = (() => { diff --git a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.7.js b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.7.js index 9ba9ca8cec8fd..62ab68738bc4a 100644 --- a/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.7.js +++ b/tests/baselines/reference/esDecorators-classExpression-namedEvaluation.7.js @@ -11,6 +11,7 @@ declare let dec: any, obj: any, x: any; //// [esDecorators-classExpression-namedEvaluation.7.js] +"use strict"; // 13.15.5.6 RS: KeyedDestructuringAssignmentEvaluation // AssignmentElement : DestructuringAssignmentTarget Initializer? [x = (() => { diff --git a/tests/baselines/reference/esDecorators-contextualTypes.js b/tests/baselines/reference/esDecorators-contextualTypes.js index 99bf836435e09..63414c44eacd4 100644 --- a/tests/baselines/reference/esDecorators-contextualTypes.js +++ b/tests/baselines/reference/esDecorators-contextualTypes.js @@ -65,6 +65,7 @@ class C { } //// [esDecorators-contextualTypes.js] +"use strict"; @((t, c) => { }) class C { @((t, c) => { }) diff --git a/tests/baselines/reference/esDecorators-decoratorExpression.1(experimentaldecorators=false).js b/tests/baselines/reference/esDecorators-decoratorExpression.1(experimentaldecorators=false).js index b9a4c97f746ad..1140113b6166c 100644 --- a/tests/baselines/reference/esDecorators-decoratorExpression.1(experimentaldecorators=false).js +++ b/tests/baselines/reference/esDecorators-decoratorExpression.1(experimentaldecorators=false).js @@ -49,6 +49,7 @@ declare let x: any; //// [esDecorators-decoratorExpression.1.js] +"use strict"; { @x().y class C { diff --git a/tests/baselines/reference/esDecorators-decoratorExpression.1(experimentaldecorators=true).js b/tests/baselines/reference/esDecorators-decoratorExpression.1(experimentaldecorators=true).js index 2e16e04490759..8ee9dba9b576c 100644 --- a/tests/baselines/reference/esDecorators-decoratorExpression.1(experimentaldecorators=true).js +++ b/tests/baselines/reference/esDecorators-decoratorExpression.1(experimentaldecorators=true).js @@ -49,6 +49,7 @@ declare let x: any; //// [esDecorators-decoratorExpression.1.js] +"use strict"; { let C = class C { }; diff --git a/tests/baselines/reference/esDecorators-decoratorExpression.2(experimentaldecorators=false).js b/tests/baselines/reference/esDecorators-decoratorExpression.2(experimentaldecorators=false).js index 5fa5c99b08397..346522a46bd6d 100644 --- a/tests/baselines/reference/esDecorators-decoratorExpression.2(experimentaldecorators=false).js +++ b/tests/baselines/reference/esDecorators-decoratorExpression.2(experimentaldecorators=false).js @@ -59,6 +59,7 @@ declare let h: () => (...args: any) => any; //// [esDecorators-decoratorExpression.2.js] +"use strict"; { @x class C { diff --git a/tests/baselines/reference/esDecorators-decoratorExpression.2(experimentaldecorators=true).js b/tests/baselines/reference/esDecorators-decoratorExpression.2(experimentaldecorators=true).js index d82dde020ffcc..9fd5cddf782ca 100644 --- a/tests/baselines/reference/esDecorators-decoratorExpression.2(experimentaldecorators=true).js +++ b/tests/baselines/reference/esDecorators-decoratorExpression.2(experimentaldecorators=true).js @@ -59,6 +59,7 @@ declare let h: () => (...args: any) => any; //// [esDecorators-decoratorExpression.2.js] +"use strict"; { let C = class C { }; diff --git a/tests/baselines/reference/esDecorators-decoratorExpression.3(experimentaldecorators=false).js b/tests/baselines/reference/esDecorators-decoratorExpression.3(experimentaldecorators=false).js index 8e1fc64d2be55..9f9239ecef373 100644 --- a/tests/baselines/reference/esDecorators-decoratorExpression.3(experimentaldecorators=false).js +++ b/tests/baselines/reference/esDecorators-decoratorExpression.3(experimentaldecorators=false).js @@ -11,6 +11,7 @@ declare let g: (...args: any) => any; //// [esDecorators-decoratorExpression.3.js] +"use strict"; // existing errors { class C { diff --git a/tests/baselines/reference/esDecorators-decoratorExpression.3(experimentaldecorators=true).js b/tests/baselines/reference/esDecorators-decoratorExpression.3(experimentaldecorators=true).js index 8e1fc64d2be55..9f9239ecef373 100644 --- a/tests/baselines/reference/esDecorators-decoratorExpression.3(experimentaldecorators=true).js +++ b/tests/baselines/reference/esDecorators-decoratorExpression.3(experimentaldecorators=true).js @@ -11,6 +11,7 @@ declare let g: (...args: any) => any; //// [esDecorators-decoratorExpression.3.js] +"use strict"; // existing errors { class C { diff --git a/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es2015).js b/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es2015).js index 4c997cd95e023..fb938c59b1138 100644 --- a/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es2015).js +++ b/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es2015).js @@ -49,6 +49,7 @@ class C { }); //// [esDecorators-emitDecoratorMetadata.js] +"use strict"; let C = (() => { let _classDecorators = [dec]; let _classDescriptor; diff --git a/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es2022).js b/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es2022).js index 3f6ed5f446e01..e07711601bb12 100644 --- a/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es2022).js +++ b/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es2022).js @@ -49,6 +49,7 @@ class C { }); //// [esDecorators-emitDecoratorMetadata.js] +"use strict"; let C = (() => { let _classDecorators = [dec]; let _classDescriptor; diff --git a/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es5).js b/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es5).js index 37540d64860a1..baec076ef2ecf 100644 --- a/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es5).js +++ b/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=es5).js @@ -49,6 +49,7 @@ class C { }); //// [esDecorators-emitDecoratorMetadata.js] +"use strict"; var C = function () { var _classDecorators = [dec]; var _classDescriptor; diff --git a/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=esnext).js b/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=esnext).js index 06fe3d446b055..b80864810b8f8 100644 --- a/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=esnext).js +++ b/tests/baselines/reference/esDecorators-emitDecoratorMetadata(target=esnext).js @@ -49,6 +49,7 @@ class C { }); //// [esDecorators-emitDecoratorMetadata.js] +"use strict"; @dec class C { constructor(x) { } diff --git a/tests/baselines/reference/esDecorators-preservesThis.js b/tests/baselines/reference/esDecorators-preservesThis.js index ceaac9e67721c..38fa8a2632cfd 100644 --- a/tests/baselines/reference/esDecorators-preservesThis.js +++ b/tests/baselines/reference/esDecorators-preservesThis.js @@ -40,6 +40,7 @@ class D extends DecoratorProvider { //// [esDecorators-preservesThis.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/53752 var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { var useValue = arguments.length > 2; diff --git a/tests/baselines/reference/esDecorators-privateFieldAccess.js b/tests/baselines/reference/esDecorators-privateFieldAccess.js index d8cf63be70edd..4a1676019c691 100644 --- a/tests/baselines/reference/esDecorators-privateFieldAccess.js +++ b/tests/baselines/reference/esDecorators-privateFieldAccess.js @@ -27,6 +27,7 @@ class C { //// [esDecorators-privateFieldAccess.js] +"use strict"; @dec(x => x.#foo) // error class A { #foo = 3; diff --git a/tests/baselines/reference/esDecoratorsClassFieldsCrash.js b/tests/baselines/reference/esDecoratorsClassFieldsCrash.js index 99869d7b5f1d1..cbddc7db975cd 100644 --- a/tests/baselines/reference/esDecoratorsClassFieldsCrash.js +++ b/tests/baselines/reference/esDecoratorsClassFieldsCrash.js @@ -18,6 +18,7 @@ const Foo = class { //// [esDecoratorsClassFieldsCrash.js] +"use strict"; var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; diff --git a/tests/baselines/reference/esDecoratorsMetadata1(target=es2015).js b/tests/baselines/reference/esDecoratorsMetadata1(target=es2015).js index 6d142d2a4d8d7..d75d0ac2850ef 100644 --- a/tests/baselines/reference/esDecoratorsMetadata1(target=es2015).js +++ b/tests/baselines/reference/esDecoratorsMetadata1(target=es2015).js @@ -18,6 +18,7 @@ C[Symbol.metadata].b; // 'y' //// [foo.js] +"use strict"; var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { diff --git a/tests/baselines/reference/esDecoratorsMetadata1(target=es2022).js b/tests/baselines/reference/esDecoratorsMetadata1(target=es2022).js index 89829ed23d352..ba62c0060c1ce 100644 --- a/tests/baselines/reference/esDecoratorsMetadata1(target=es2022).js +++ b/tests/baselines/reference/esDecoratorsMetadata1(target=es2022).js @@ -18,6 +18,7 @@ C[Symbol.metadata].b; // 'y' //// [foo.js] +"use strict"; var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { diff --git a/tests/baselines/reference/esDecoratorsMetadata2(target=es2015).js b/tests/baselines/reference/esDecoratorsMetadata2(target=es2015).js index c40e77507058f..7cba1db397a63 100644 --- a/tests/baselines/reference/esDecoratorsMetadata2(target=es2015).js +++ b/tests/baselines/reference/esDecoratorsMetadata2(target=es2015).js @@ -26,6 +26,7 @@ D[Symbol.metadata].b; // 'z' //// [foo.js] +"use strict"; var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { diff --git a/tests/baselines/reference/esDecoratorsMetadata2(target=es2022).js b/tests/baselines/reference/esDecoratorsMetadata2(target=es2022).js index 426bcfa0ef112..669c5fed386c6 100644 --- a/tests/baselines/reference/esDecoratorsMetadata2(target=es2022).js +++ b/tests/baselines/reference/esDecoratorsMetadata2(target=es2022).js @@ -26,6 +26,7 @@ D[Symbol.metadata].b; // 'z' //// [foo.js] +"use strict"; var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { diff --git a/tests/baselines/reference/esDecoratorsMetadata3(target=es2015).js b/tests/baselines/reference/esDecoratorsMetadata3(target=es2015).js index f0d3e6727ca67..220847f12023e 100644 --- a/tests/baselines/reference/esDecoratorsMetadata3(target=es2015).js +++ b/tests/baselines/reference/esDecoratorsMetadata3(target=es2015).js @@ -21,6 +21,7 @@ D[Symbol.metadata].a; // ['x', 'z'] //// [foo.js] +"use strict"; var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; diff --git a/tests/baselines/reference/esDecoratorsMetadata3(target=es2022).js b/tests/baselines/reference/esDecoratorsMetadata3(target=es2022).js index d838170cd6a61..b4d39bd35594d 100644 --- a/tests/baselines/reference/esDecoratorsMetadata3(target=es2022).js +++ b/tests/baselines/reference/esDecoratorsMetadata3(target=es2022).js @@ -21,6 +21,7 @@ D[Symbol.metadata].a; // ['x', 'z'] //// [foo.js] +"use strict"; var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value"; diff --git a/tests/baselines/reference/esDecoratorsMetadata4(target=es2015).js b/tests/baselines/reference/esDecoratorsMetadata4(target=es2015).js index bad3be6e96a61..933833089c6af 100644 --- a/tests/baselines/reference/esDecoratorsMetadata4(target=es2015).js +++ b/tests/baselines/reference/esDecoratorsMetadata4(target=es2015).js @@ -27,6 +27,7 @@ PRIVATE_METADATA.get(C[Symbol.metadata]).b; // 'y' //// [foo.js] +"use strict"; var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { diff --git a/tests/baselines/reference/esDecoratorsMetadata4(target=es2022).js b/tests/baselines/reference/esDecoratorsMetadata4(target=es2022).js index 587292e9250a1..c913510f78277 100644 --- a/tests/baselines/reference/esDecoratorsMetadata4(target=es2022).js +++ b/tests/baselines/reference/esDecoratorsMetadata4(target=es2022).js @@ -27,6 +27,7 @@ PRIVATE_METADATA.get(C[Symbol.metadata]).b; // 'y' //// [foo.js] +"use strict"; var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { diff --git a/tests/baselines/reference/esDecoratorsMetadata5.js b/tests/baselines/reference/esDecoratorsMetadata5.js index 9aa3b7f70841e..c0824d6a23717 100644 --- a/tests/baselines/reference/esDecoratorsMetadata5.js +++ b/tests/baselines/reference/esDecoratorsMetadata5.js @@ -8,6 +8,7 @@ class C { //// [foo.js] +"use strict"; var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) { var useValue = arguments.length > 2; for (var i = 0; i < initializers.length; i++) { diff --git a/tests/baselines/reference/esModuleInteropImportCall.js b/tests/baselines/reference/esModuleInteropImportCall.js index 3b77991c066a8..c1271376b343b 100644 --- a/tests/baselines/reference/esModuleInteropImportCall.js +++ b/tests/baselines/reference/esModuleInteropImportCall.js @@ -11,6 +11,7 @@ import("./foo").then(f => { }); //// [index.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/escapedIdentifiers.js b/tests/baselines/reference/escapedIdentifiers.js index 308e0b40db6af..f4f9442398107 100644 --- a/tests/baselines/reference/escapedIdentifiers.js +++ b/tests/baselines/reference/escapedIdentifiers.js @@ -122,6 +122,7 @@ l\u0061bel4: } //// [escapedIdentifiers.js] +"use strict"; /* 0 .. \u0030 9 .. \u0039 diff --git a/tests/baselines/reference/escapedReservedCompilerNamedIdentifier.js b/tests/baselines/reference/escapedReservedCompilerNamedIdentifier.js index 6ae365348a5f8..b3421b977a7df 100644 --- a/tests/baselines/reference/escapedReservedCompilerNamedIdentifier.js +++ b/tests/baselines/reference/escapedReservedCompilerNamedIdentifier.js @@ -33,6 +33,7 @@ var o5 = { var b5 = o5["_proto__"]; //// [escapedReservedCompilerNamedIdentifier.js] +"use strict"; // double underscores var __proto__ = 10; var o = { diff --git a/tests/baselines/reference/esnextSharedMemory.js b/tests/baselines/reference/esnextSharedMemory.js index eae988d4fac86..367f1d7e30fcd 100644 --- a/tests/baselines/reference/esnextSharedMemory.js +++ b/tests/baselines/reference/esnextSharedMemory.js @@ -6,5 +6,6 @@ Atomics.pause(1); //// [esnextSharedMemory.js] +"use strict"; Atomics.pause(); Atomics.pause(1); diff --git a/tests/baselines/reference/evalAfter0.js b/tests/baselines/reference/evalAfter0.js index 4fdc390f2d02e..5964ef1c0dda9 100644 --- a/tests/baselines/reference/evalAfter0.js +++ b/tests/baselines/reference/evalAfter0.js @@ -7,5 +7,6 @@ declare var eva; (0,eva)("10"); // error: no side effect left of comma (suspect of missing method name or something) //// [evalAfter0.js] +"use strict"; (0, eval)("10"); // fine: special case for eval (0, eva)("10"); // error: no side effect left of comma (suspect of missing method name or something) diff --git a/tests/baselines/reference/everyTypeAssignableToAny.js b/tests/baselines/reference/everyTypeAssignableToAny.js index c47f4ca4e04b6..7fab71befffe8 100644 --- a/tests/baselines/reference/everyTypeAssignableToAny.js +++ b/tests/baselines/reference/everyTypeAssignableToAny.js @@ -63,6 +63,7 @@ function foo(x: T, y: U, z: V) { //} //// [everyTypeAssignableToAny.js] +"use strict"; var a; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/everyTypeWithAnnotationAndInitializer.js b/tests/baselines/reference/everyTypeWithAnnotationAndInitializer.js index c7ed8df444c53..cdba6e87b2249 100644 --- a/tests/baselines/reference/everyTypeWithAnnotationAndInitializer.js +++ b/tests/baselines/reference/everyTypeWithAnnotationAndInitializer.js @@ -51,6 +51,7 @@ var aFunctionInModule: typeof M.F2 = (x) => 'this is a string'; //// [everyTypeWithAnnotationAndInitializer.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/everyTypeWithAnnotationAndInvalidInitializer.js b/tests/baselines/reference/everyTypeWithAnnotationAndInvalidInitializer.js index 22ae6327328ff..6c870b59abdc5 100644 --- a/tests/baselines/reference/everyTypeWithAnnotationAndInvalidInitializer.js +++ b/tests/baselines/reference/everyTypeWithAnnotationAndInvalidInitializer.js @@ -57,6 +57,7 @@ var aFunctionInModule: typeof M.F2 = F2; //// [everyTypeWithAnnotationAndInvalidInitializer.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/everyTypeWithInitializer.js b/tests/baselines/reference/everyTypeWithInitializer.js index a840c78a3664c..32645e92095f0 100644 --- a/tests/baselines/reference/everyTypeWithInitializer.js +++ b/tests/baselines/reference/everyTypeWithInitializer.js @@ -52,6 +52,7 @@ var x; //// [everyTypeWithInitializer.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/exactSpellingSuggestion.js b/tests/baselines/reference/exactSpellingSuggestion.js index 0c33428211330..35e2c55feb825 100644 --- a/tests/baselines/reference/exactSpellingSuggestion.js +++ b/tests/baselines/reference/exactSpellingSuggestion.js @@ -13,6 +13,7 @@ U8.bit_2 //// [exactSpellingSuggestion.js] +"use strict"; // Fixes #16245 -- always suggest the exact match, even when // other options are very close var U8; diff --git a/tests/baselines/reference/excessPropertyCheckWithEmptyObject.js b/tests/baselines/reference/excessPropertyCheckWithEmptyObject.js index 17f6e339907f1..1c375a7b45a2c 100644 --- a/tests/baselines/reference/excessPropertyCheckWithEmptyObject.js +++ b/tests/baselines/reference/excessPropertyCheckWithEmptyObject.js @@ -18,6 +18,7 @@ let x: Empty & { x: number } = { y: "hello" }; //// [excessPropertyCheckWithEmptyObject.js] +"use strict"; // Repro from #14910 // Excess property error expected here Object.defineProperty(window, "prop", { value: "v1.0.0", readonly: false }); diff --git a/tests/baselines/reference/excessPropertyCheckWithNestedArrayIntersection.js b/tests/baselines/reference/excessPropertyCheckWithNestedArrayIntersection.js index 45856ab77d775..1b8b6812a1e8b 100644 --- a/tests/baselines/reference/excessPropertyCheckWithNestedArrayIntersection.js +++ b/tests/baselines/reference/excessPropertyCheckWithNestedArrayIntersection.js @@ -26,6 +26,7 @@ const repro: BugRepro = { //// [excessPropertyCheckWithNestedArrayIntersection.js] +"use strict"; var repro = { dataType: { fields: [{ diff --git a/tests/baselines/reference/excessPropertyCheckWithSpread.js b/tests/baselines/reference/excessPropertyCheckWithSpread.js index a05d342391902..80ba3f3abe3cb 100644 --- a/tests/baselines/reference/excessPropertyCheckWithSpread.js +++ b/tests/baselines/reference/excessPropertyCheckWithSpread.js @@ -20,6 +20,7 @@ f({ a: 1, ...l, ...r }); //// [excessPropertyCheckWithSpread.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/excessPropertyCheckingIntersectionWithConditional.js b/tests/baselines/reference/excessPropertyCheckingIntersectionWithConditional.js index 639972c8276ee..26dcdbab64209 100644 --- a/tests/baselines/reference/excessPropertyCheckingIntersectionWithConditional.js +++ b/tests/baselines/reference/excessPropertyCheckingIntersectionWithConditional.js @@ -7,6 +7,7 @@ const createDefaultExample = (x: K): Foo & { x: K; } => { } //// [excessPropertyCheckingIntersectionWithConditional.js] +"use strict"; var createDefaultExample = function (x) { return { a: 1, x: x }; // okay in TS 4.7.4, error in TS 4.8.2 }; diff --git a/tests/baselines/reference/excessPropertyErrorForFunctionTypes.js b/tests/baselines/reference/excessPropertyErrorForFunctionTypes.js index 008628de546a4..406825e5e02d0 100644 --- a/tests/baselines/reference/excessPropertyErrorForFunctionTypes.js +++ b/tests/baselines/reference/excessPropertyErrorForFunctionTypes.js @@ -7,4 +7,5 @@ type DoesntWork = { a: number, c: number } | FunctionType; let doesntWork: DoesntWork = { a: 1, c: 2, d: 3 } //// [excessPropertyErrorForFunctionTypes.js] +"use strict"; var doesntWork = { a: 1, c: 2, d: 3 }; diff --git a/tests/baselines/reference/excessPropertyErrorsSuppressed.js b/tests/baselines/reference/excessPropertyErrorsSuppressed.js index f32fcad2c08de..fa9536fd4ddb1 100644 --- a/tests/baselines/reference/excessPropertyErrorsSuppressed.js +++ b/tests/baselines/reference/excessPropertyErrorsSuppressed.js @@ -5,4 +5,5 @@ var x: { a: string } = { a: "hello", b: 42 }; // No error //// [excessPropertyErrorsSuppressed.js] +"use strict"; var x = { a: "hello", b: 42 }; // No error diff --git a/tests/baselines/reference/excessiveStackDepthFlatArray.js b/tests/baselines/reference/excessiveStackDepthFlatArray.js index 3375d9fe8dc03..0786dc5de3ad8 100644 --- a/tests/baselines/reference/excessiveStackDepthFlatArray.js +++ b/tests/baselines/reference/excessiveStackDepthFlatArray.js @@ -43,6 +43,7 @@ const Component = () => { //// [index.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/excessivelyLargeTupleSpread.js b/tests/baselines/reference/excessivelyLargeTupleSpread.js index cb7b6f1ad5021..56e3c6b4558e9 100644 --- a/tests/baselines/reference/excessivelyLargeTupleSpread.js +++ b/tests/baselines/reference/excessivelyLargeTupleSpread.js @@ -42,6 +42,7 @@ const a14 = [...a13, ...a13] as const; // 2^14 > 10,000 //// [excessivelyLargeTupleSpread.js] +"use strict"; // #41771 var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { diff --git a/tests/baselines/reference/exhaustiveSwitchImplicitReturn.js b/tests/baselines/reference/exhaustiveSwitchImplicitReturn.js index 794d9a81aac53..d69cb790571f8 100644 --- a/tests/baselines/reference/exhaustiveSwitchImplicitReturn.js +++ b/tests/baselines/reference/exhaustiveSwitchImplicitReturn.js @@ -58,6 +58,7 @@ function foo6(bar: "a", a: boolean, b: boolean): number { //// [exhaustiveSwitchImplicitReturn.js] +"use strict"; function foo1(bar) { switch (bar) { case "a": diff --git a/tests/baselines/reference/exhaustiveSwitchWithWideningLiteralTypes.js b/tests/baselines/reference/exhaustiveSwitchWithWideningLiteralTypes.js index 318d4df97caea..99680198471af 100644 --- a/tests/baselines/reference/exhaustiveSwitchWithWideningLiteralTypes.js +++ b/tests/baselines/reference/exhaustiveSwitchWithWideningLiteralTypes.js @@ -19,6 +19,7 @@ function f(value: A | B): number { } //// [exhaustiveSwitchWithWideningLiteralTypes.js] +"use strict"; // Repro from #12529 var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/expandoFunctionContextualTypes.js b/tests/baselines/reference/expandoFunctionContextualTypes.js index 93c3044350027..68628a2da6a0e 100644 --- a/tests/baselines/reference/expandoFunctionContextualTypes.js +++ b/tests/baselines/reference/expandoFunctionContextualTypes.js @@ -18,6 +18,7 @@ MyComponent.defaultProps = { //// [expandoFunctionContextualTypes.js] +"use strict"; var MyComponent = function () { return null; }; MyComponent.defaultProps = { color: "red" diff --git a/tests/baselines/reference/expandoFunctionNestedAssigments.js b/tests/baselines/reference/expandoFunctionNestedAssigments.js index fe8b13b3a919e..7c68407227410 100644 --- a/tests/baselines/reference/expandoFunctionNestedAssigments.js +++ b/tests/baselines/reference/expandoFunctionNestedAssigments.js @@ -54,6 +54,7 @@ for(let f in (Foo.forIn = []) ){ } //// [expandoFunctionNestedAssigments.js] +"use strict"; function Foo() { } var d = (Foo.inVariableInit = 1); diff --git a/tests/baselines/reference/expandoFunctionNestedAssigmentsDeclared.js b/tests/baselines/reference/expandoFunctionNestedAssigmentsDeclared.js index 31245f44ced26..cd8c6ee63f77a 100644 --- a/tests/baselines/reference/expandoFunctionNestedAssigmentsDeclared.js +++ b/tests/baselines/reference/expandoFunctionNestedAssigmentsDeclared.js @@ -74,6 +74,7 @@ for(let f in (Foo.forIn = []) ){ } //// [expandoFunctionNestedAssigmentsDeclared.js] +"use strict"; function Foo() { } (Foo.bla = { foo: 1 }).foo = (Foo.baz = 1) + (Foo.bar = 0); diff --git a/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.js b/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.js index df4ead185225d..40043e4f21e6f 100644 --- a/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.js +++ b/tests/baselines/reference/experimentalDecoratorMetadataUnresolvedTypeObjectInEmit.js @@ -16,6 +16,7 @@ class Foo { //// [usage.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/explicitAnyAfterSpreadNoImplicitAnyError.js b/tests/baselines/reference/explicitAnyAfterSpreadNoImplicitAnyError.js index 07230af6f6ab4..da6cee7a2f2ab 100644 --- a/tests/baselines/reference/explicitAnyAfterSpreadNoImplicitAnyError.js +++ b/tests/baselines/reference/explicitAnyAfterSpreadNoImplicitAnyError.js @@ -6,6 +6,7 @@ let x: any; //// [explicitAnyAfterSpreadNoImplicitAnyError.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError1.js b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError1.js index 6778923f23ce0..a9725e1e3e597 100644 --- a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError1.js +++ b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError1.js @@ -29,6 +29,7 @@ var s; `${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1}`; //// [exponentiationOperatorInTemplateStringWithSyntaxError1.js] +"use strict"; var t1 = 10; var t2 = 10; var s; diff --git a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError2.js b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError2.js index 65b6c6bcc3b57..f8a1ceb1ca46d 100644 --- a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError2.js +++ b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError2.js @@ -30,6 +30,7 @@ var s; //// [exponentiationOperatorInTemplateStringWithSyntaxError2.js] +"use strict"; var t1 = 10; var t2 = 10; var s; diff --git a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError3.js b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError3.js index 0f049e172ec46..d48d4d0fa3c7d 100644 --- a/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError3.js +++ b/tests/baselines/reference/exponentiationOperatorInTemplateStringWithSyntaxError3.js @@ -29,6 +29,7 @@ var s; `${1 + typeof t1 ** t2 ** t1} hello world ${1 + typeof t1 ** t2 ** t1} !!`; //// [exponentiationOperatorInTemplateStringWithSyntaxError3.js] +"use strict"; var t1 = 10; var t2 = 10; var s; diff --git a/tests/baselines/reference/exponentiationOperatorSyntaxError1.js b/tests/baselines/reference/exponentiationOperatorSyntaxError1.js index c1903ac4fa3cf..c062dd374ffe7 100644 --- a/tests/baselines/reference/exponentiationOperatorSyntaxError1.js +++ b/tests/baselines/reference/exponentiationOperatorSyntaxError1.js @@ -41,6 +41,7 @@ var temp = 10; //// [exponentiationOperatorSyntaxError1.js] +"use strict"; // Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without () Math.pow(// Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without () -1, 2); diff --git a/tests/baselines/reference/exponentiationOperatorSyntaxError2.js b/tests/baselines/reference/exponentiationOperatorSyntaxError2.js index 1517b404d3159..c5ca4cd189f82 100644 --- a/tests/baselines/reference/exponentiationOperatorSyntaxError2.js +++ b/tests/baselines/reference/exponentiationOperatorSyntaxError2.js @@ -70,6 +70,7 @@ void temp-- ** 4; temp-- ** 3; //// [exponentiationOperatorSyntaxError2.js] +"use strict"; // Error: early syntax error using ES7 SimpleUnaryExpression on left-hand side without () var temp; Math.pow(delete --temp, 3); diff --git a/tests/baselines/reference/exponentiationOperatorWithAnyAndNumber.js b/tests/baselines/reference/exponentiationOperatorWithAnyAndNumber.js index 4bc398a566f58..e0d2979f76c9f 100644 --- a/tests/baselines/reference/exponentiationOperatorWithAnyAndNumber.js +++ b/tests/baselines/reference/exponentiationOperatorWithAnyAndNumber.js @@ -15,6 +15,7 @@ var r7 = 0 ** b; var r8 = b ** b; //// [exponentiationOperatorWithAnyAndNumber.js] +"use strict"; var a; var b; // operator ** diff --git a/tests/baselines/reference/exponentiationOperatorWithEnum.js b/tests/baselines/reference/exponentiationOperatorWithEnum.js index e5e9ad0496c03..4d58da97a6a0c 100644 --- a/tests/baselines/reference/exponentiationOperatorWithEnum.js +++ b/tests/baselines/reference/exponentiationOperatorWithEnum.js @@ -27,6 +27,7 @@ var r11 = b ** E.b; var r12 = 1 ** E.b; //// [exponentiationOperatorWithEnum.js] +"use strict"; // operands of an enum type are treated as having the primitive type Number. var E; (function (E) { diff --git a/tests/baselines/reference/exponentiationOperatorWithEnumUnion.js b/tests/baselines/reference/exponentiationOperatorWithEnumUnion.js index 9f125a53c59bb..e98a262fcfb17 100644 --- a/tests/baselines/reference/exponentiationOperatorWithEnumUnion.js +++ b/tests/baselines/reference/exponentiationOperatorWithEnumUnion.js @@ -31,6 +31,7 @@ var r11 = b ** E.b; var r12 = 1 ** E.b; //// [exponentiationOperatorWithEnumUnion.js] +"use strict"; // operands of an enum type are treated as having the primitive type Number. var E; (function (E) { diff --git a/tests/baselines/reference/exponentiationOperatorWithInvalidOperands.js b/tests/baselines/reference/exponentiationOperatorWithInvalidOperands.js index 9f45b969d94c6..31a633b46fe4f 100644 --- a/tests/baselines/reference/exponentiationOperatorWithInvalidOperands.js +++ b/tests/baselines/reference/exponentiationOperatorWithInvalidOperands.js @@ -71,6 +71,7 @@ var r1h5 = e ** E.b; var r1h6 = f ** E.b //// [exponentiationOperatorWithInvalidOperands.js] +"use strict"; // these operators require their operands to be of type Any, the Number primitive type, or // an enum type var E; diff --git a/tests/baselines/reference/exponentiationOperatorWithInvalidSimpleUnaryExpressionOperands.js b/tests/baselines/reference/exponentiationOperatorWithInvalidSimpleUnaryExpressionOperands.js index bd096ee5731d1..56769811cbe51 100644 --- a/tests/baselines/reference/exponentiationOperatorWithInvalidSimpleUnaryExpressionOperands.js +++ b/tests/baselines/reference/exponentiationOperatorWithInvalidSimpleUnaryExpressionOperands.js @@ -39,6 +39,7 @@ var temp: any; 1 ** (delete temp++) ** 3; //// [exponentiationOperatorWithInvalidSimpleUnaryExpressionOperands.js] +"use strict"; var temp; // Error: incorrect type on left-hand side Math.pow((!--temp), 3); diff --git a/tests/baselines/reference/exponentiationOperatorWithNew.js b/tests/baselines/reference/exponentiationOperatorWithNew.js index 812bab863bfa3..d3364e974865f 100644 --- a/tests/baselines/reference/exponentiationOperatorWithNew.js +++ b/tests/baselines/reference/exponentiationOperatorWithNew.js @@ -9,6 +9,7 @@ new a ** new b ** c; new (a ** b ** c); //// [exponentiationOperatorWithNew.js] +"use strict"; var a; var b; var c; diff --git a/tests/baselines/reference/exponentiationOperatorWithNullValueAndInvalidOperands.js b/tests/baselines/reference/exponentiationOperatorWithNullValueAndInvalidOperands.js index f52cdfde69870..953387730a6b0 100644 --- a/tests/baselines/reference/exponentiationOperatorWithNullValueAndInvalidOperands.js +++ b/tests/baselines/reference/exponentiationOperatorWithNullValueAndInvalidOperands.js @@ -26,6 +26,7 @@ var r1d2 = '' ** null; var r1d3 = {} ** null; //// [exponentiationOperatorWithNullValueAndInvalidOperands.js] +"use strict"; // If one operand is the null or undefined value, it is treated as having the type of the // other operand. // operator ** diff --git a/tests/baselines/reference/exponentiationOperatorWithNullValueAndValidOperands.js b/tests/baselines/reference/exponentiationOperatorWithNullValueAndValidOperands.js index de86a45f2282b..a221bcd6c7ad5 100644 --- a/tests/baselines/reference/exponentiationOperatorWithNullValueAndValidOperands.js +++ b/tests/baselines/reference/exponentiationOperatorWithNullValueAndValidOperands.js @@ -23,6 +23,7 @@ var r7 = 0 ** null; var r8 = E.b ** null; //// [exponentiationOperatorWithNullValueAndValidOperands.js] +"use strict"; // If one operand is the null or undefined value, it is treated as having the type of the // other operand. var E; diff --git a/tests/baselines/reference/exponentiationOperatorWithOnlyNullValueOrUndefinedValue.js b/tests/baselines/reference/exponentiationOperatorWithOnlyNullValueOrUndefinedValue.js index dd2bb6bf18f30..955e8acf731e5 100644 --- a/tests/baselines/reference/exponentiationOperatorWithOnlyNullValueOrUndefinedValue.js +++ b/tests/baselines/reference/exponentiationOperatorWithOnlyNullValueOrUndefinedValue.js @@ -9,6 +9,7 @@ var r4 = undefined ** undefined; //// [exponentiationOperatorWithOnlyNullValueOrUndefinedValue.js] +"use strict"; // operator ** var r1 = Math.pow(null, null); var r2 = Math.pow(null, undefined); diff --git a/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalid.js b/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalid.js index 2c4a48930277b..7dbb5aba62a53 100644 --- a/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalid.js +++ b/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalid.js @@ -20,6 +20,7 @@ k **= `2${ 3 }4`; //// [exponentiationOperatorWithTemplateStringInvalid.js] +"use strict"; var a = Math.pow(1, "".concat(3)); var b = Math.pow(1, "2".concat(3)); var c = Math.pow(1, "".concat(3, "4")); diff --git a/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalidES6.js b/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalidES6.js index accd237801fdd..c3f611aeef11c 100644 --- a/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalidES6.js +++ b/tests/baselines/reference/exponentiationOperatorWithTemplateStringInvalidES6.js @@ -17,6 +17,7 @@ k **= `2${ 3 }4`; kj **= `2${ 3 }4`; //// [exponentiationOperatorWithTemplateStringInvalidES6.js] +"use strict"; var a = Math.pow(1, `${3}`); var b = Math.pow(1, `2${3}`); var c = Math.pow(1, `${3}4`); diff --git a/tests/baselines/reference/exponentiationOperatorWithTypeParameter.js b/tests/baselines/reference/exponentiationOperatorWithTypeParameter.js index c9dcb316211ab..4b9ec49f56de5 100644 --- a/tests/baselines/reference/exponentiationOperatorWithTypeParameter.js +++ b/tests/baselines/reference/exponentiationOperatorWithTypeParameter.js @@ -23,6 +23,7 @@ function foo(t: T) { } //// [exponentiationOperatorWithTypeParameter.js] +"use strict"; // type parameter type is not valid for arithmetic operand function foo(t) { var a; diff --git a/tests/baselines/reference/exponentiationOperatorWithUndefinedValueAndInvalidOperands.js b/tests/baselines/reference/exponentiationOperatorWithUndefinedValueAndInvalidOperands.js index e0a9130d21177..53755a7bd9568 100644 --- a/tests/baselines/reference/exponentiationOperatorWithUndefinedValueAndInvalidOperands.js +++ b/tests/baselines/reference/exponentiationOperatorWithUndefinedValueAndInvalidOperands.js @@ -26,6 +26,7 @@ var r1d2 = '' ** undefined; var r1d3 = {} ** undefined; //// [exponentiationOperatorWithUndefinedValueAndInvalidOperands.js] +"use strict"; // If one operand is the undefined or undefined value, it is treated as having the type of the // other operand. // operator ** diff --git a/tests/baselines/reference/exponentiationOperatorWithUndefinedValueAndValidOperands.js b/tests/baselines/reference/exponentiationOperatorWithUndefinedValueAndValidOperands.js index 1dcfd18eadfee..eb28e106bb31c 100644 --- a/tests/baselines/reference/exponentiationOperatorWithUndefinedValueAndValidOperands.js +++ b/tests/baselines/reference/exponentiationOperatorWithUndefinedValueAndValidOperands.js @@ -23,6 +23,7 @@ var rk7 = 0 ** undefined; var rk8 = E.b ** undefined; //// [exponentiationOperatorWithUndefinedValueAndValidOperands.js] +"use strict"; // If one operand is the undefined or undefined value, it is treated as having the type of the // other operand. var E; diff --git a/tests/baselines/reference/exportAlreadySeen.js b/tests/baselines/reference/exportAlreadySeen.js index a3f186dca8fad..c4e5201890e57 100644 --- a/tests/baselines/reference/exportAlreadySeen.js +++ b/tests/baselines/reference/exportAlreadySeen.js @@ -22,6 +22,7 @@ declare namespace A { } //// [exportAlreadySeen.js] +"use strict"; var M; (function (M) { M.x = 1; diff --git a/tests/baselines/reference/exportCodeGen.js b/tests/baselines/reference/exportCodeGen.js index 0b5c01b6fa1a1..30df7f816acb6 100644 --- a/tests/baselines/reference/exportCodeGen.js +++ b/tests/baselines/reference/exportCodeGen.js @@ -56,6 +56,7 @@ namespace F { } //// [exportCodeGen.js] +"use strict"; // should replace all refs to 'x' in the body, // with fully qualified var A; diff --git a/tests/baselines/reference/exportDeclarationForModuleOrEnumWithMemberOfSameName(module=system).js b/tests/baselines/reference/exportDeclarationForModuleOrEnumWithMemberOfSameName(module=system).js index 7cd3a6e33a436..d3c8f36093978 100644 --- a/tests/baselines/reference/exportDeclarationForModuleOrEnumWithMemberOfSameName(module=system).js +++ b/tests/baselines/reference/exportDeclarationForModuleOrEnumWithMemberOfSameName(module=system).js @@ -24,7 +24,7 @@ System.register([], function (exports_1, context_1) { var __moduleName = context_1 && context_1.id; return { setters: [], - execute: function () {// https://github.com/microsoft/TypeScript/issues/55038 + execute: function () { (function (A_1) { A_1.A = 0; })(A || (exports_1("A", A = {}))); diff --git a/tests/baselines/reference/exportDeclarationInInternalModule.js b/tests/baselines/reference/exportDeclarationInInternalModule.js index 3b2de7ae4131d..a004375396222 100644 --- a/tests/baselines/reference/exportDeclarationInInternalModule.js +++ b/tests/baselines/reference/exportDeclarationInInternalModule.js @@ -20,6 +20,7 @@ var a: Bbb.SomeType; //// [exportDeclarationInInternalModule.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/exportDeclarationsInAmbientNamespaces.js b/tests/baselines/reference/exportDeclarationsInAmbientNamespaces.js index e4cfbde5946a5..642a5bf136328 100644 --- a/tests/baselines/reference/exportDeclarationsInAmbientNamespaces.js +++ b/tests/baselines/reference/exportDeclarationsInAmbientNamespaces.js @@ -11,4 +11,5 @@ Q.try(() => { }); //// [exportDeclarationsInAmbientNamespaces.js] +"use strict"; Q.try(function () { }); diff --git a/tests/baselines/reference/exportDeclarationsInAmbientNamespaces2.js b/tests/baselines/reference/exportDeclarationsInAmbientNamespaces2.js index db04242d1c4b1..e67865a1cdf6e 100644 --- a/tests/baselines/reference/exportDeclarationsInAmbientNamespaces2.js +++ b/tests/baselines/reference/exportDeclarationsInAmbientNamespaces2.js @@ -12,3 +12,4 @@ declare namespace N { //// [exportDeclarationsInAmbientNamespaces2.js] +"use strict"; diff --git a/tests/baselines/reference/exportDefaultClassInNamespace.js b/tests/baselines/reference/exportDefaultClassInNamespace.js index 2989ab7761868..9e435d510f36c 100644 --- a/tests/baselines/reference/exportDefaultClassInNamespace.js +++ b/tests/baselines/reference/exportDefaultClassInNamespace.js @@ -11,6 +11,7 @@ namespace ns_abstract_class { //// [exportDefaultClassInNamespace.js] +"use strict"; var ns_class; (function (ns_class) { var default_1 = /** @class */ (function () { diff --git a/tests/baselines/reference/exportDefaultFunctionInNamespace.js b/tests/baselines/reference/exportDefaultFunctionInNamespace.js index a0746a0e49282..198b54d8c4963 100644 --- a/tests/baselines/reference/exportDefaultFunctionInNamespace.js +++ b/tests/baselines/reference/exportDefaultFunctionInNamespace.js @@ -11,6 +11,7 @@ namespace ns_async_function { //// [exportDefaultFunctionInNamespace.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/exportDefaultVariable.js b/tests/baselines/reference/exportDefaultVariable.js index ed42c5818ecbf..be151885c828f 100644 --- a/tests/baselines/reference/exportDefaultVariable.js +++ b/tests/baselines/reference/exportDefaultVariable.js @@ -11,4 +11,5 @@ declare module 'module' { //// [exportDefaultVariable.js] +"use strict"; // Regression test for #3018 diff --git a/tests/baselines/reference/exportDeferInvalid.js b/tests/baselines/reference/exportDeferInvalid.js index 8b2e752a22b66..65285108043f2 100644 --- a/tests/baselines/reference/exportDeferInvalid.js +++ b/tests/baselines/reference/exportDeferInvalid.js @@ -14,6 +14,7 @@ export function foo() { console.log("foo from a"); } //// [b.js] +"use strict"; defer * as; ns; from; diff --git a/tests/baselines/reference/exportEqualsOfModule.js b/tests/baselines/reference/exportEqualsOfModule.js index 5586b42cafad1..5f13f7c3562ec 100644 --- a/tests/baselines/reference/exportEqualsOfModule.js +++ b/tests/baselines/reference/exportEqualsOfModule.js @@ -23,3 +23,4 @@ declare module 'popsicle-proxy-agent' { //// [exportEqualsOfModule.js] +"use strict"; diff --git a/tests/baselines/reference/exportImportAlias.js b/tests/baselines/reference/exportImportAlias.js index ed961f150d466..a754e5d88c6f5 100644 --- a/tests/baselines/reference/exportImportAlias.js +++ b/tests/baselines/reference/exportImportAlias.js @@ -71,6 +71,7 @@ var p: { x: number; y: number; } var p: M.D.Point; //// [exportImportAlias.js] +"use strict"; // expect no errors here var A; (function (A) { diff --git a/tests/baselines/reference/exportImportAndClodule.js b/tests/baselines/reference/exportImportAndClodule.js index 2505ae5572baa..93e93cb9382ca 100644 --- a/tests/baselines/reference/exportImportAndClodule.js +++ b/tests/baselines/reference/exportImportAndClodule.js @@ -22,6 +22,7 @@ var p: { x: number; y: number; } var p: M.D.Point; //// [exportImportAndClodule.js] +"use strict"; var K; (function (K) { var L = /** @class */ (function () { diff --git a/tests/baselines/reference/exportImportCanSubstituteConstEnumForValue.js b/tests/baselines/reference/exportImportCanSubstituteConstEnumForValue.js index dd85d0aa44531..627831e22c3bd 100644 --- a/tests/baselines/reference/exportImportCanSubstituteConstEnumForValue.js +++ b/tests/baselines/reference/exportImportCanSubstituteConstEnumForValue.js @@ -61,6 +61,7 @@ namespace MsPortalFx.ViewModels { //// [exportImportCanSubstituteConstEnumForValue.js] +"use strict"; var MsPortalFx; (function (MsPortalFx) { var ViewModels; diff --git a/tests/baselines/reference/exportImportNonInstantiatedModule.js b/tests/baselines/reference/exportImportNonInstantiatedModule.js index d3bd41b545dff..336e1a15dacee 100644 --- a/tests/baselines/reference/exportImportNonInstantiatedModule.js +++ b/tests/baselines/reference/exportImportNonInstantiatedModule.js @@ -13,6 +13,7 @@ namespace B { var x: B.A1.I = { x: 1 }; //// [exportImportNonInstantiatedModule.js] +"use strict"; var B; (function (B) { })(B || (B = {})); diff --git a/tests/baselines/reference/exportInFunction.js b/tests/baselines/reference/exportInFunction.js index 0046e3640edcd..e75f2366521b0 100644 --- a/tests/baselines/reference/exportInFunction.js +++ b/tests/baselines/reference/exportInFunction.js @@ -6,6 +6,7 @@ function f() { //// [exportInFunction.js] +"use strict"; function f() { export = 0; } diff --git a/tests/baselines/reference/exportPrivateType.js b/tests/baselines/reference/exportPrivateType.js index 665caf9d28b73..4b1717b8df6cf 100644 --- a/tests/baselines/reference/exportPrivateType.js +++ b/tests/baselines/reference/exportPrivateType.js @@ -33,6 +33,7 @@ var y = foo.g; // Exported variable 'y' has or is using private type 'foo.C2'. //// [exportPrivateType.js] +"use strict"; var foo; (function (foo) { var C1 = /** @class */ (function () { diff --git a/tests/baselines/reference/exportSpecifierAndExportedMemberDeclaration.js b/tests/baselines/reference/exportSpecifierAndExportedMemberDeclaration.js index 0647cbc006222..4ffd287e1f57f 100644 --- a/tests/baselines/reference/exportSpecifierAndExportedMemberDeclaration.js +++ b/tests/baselines/reference/exportSpecifierAndExportedMemberDeclaration.js @@ -15,3 +15,4 @@ declare module "m2" { } //// [exportSpecifierAndExportedMemberDeclaration.js] +"use strict"; diff --git a/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.js b/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.js index 71a14cd5ec587..4a26ead7bf58d 100644 --- a/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.js +++ b/tests/baselines/reference/exportSpecifierAndLocalMemberDeclaration.js @@ -15,3 +15,4 @@ declare module "m2" { } //// [exportSpecifierAndLocalMemberDeclaration.js] +"use strict"; diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration1.js b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration1.js index 6743dac936567..99ada763c22c7 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration1.js +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration1.js @@ -8,3 +8,4 @@ declare module "m" { } //// [exportSpecifierReferencingOuterDeclaration1.js] +"use strict"; diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.js b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.js index 9974c0efbe0c1..7e4f02478004d 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.js +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration2.js @@ -8,6 +8,7 @@ export { X }; export declare function foo(): X.bar; //// [exportSpecifierReferencingOuterDeclaration2_A.js] +"use strict"; //// [exportSpecifierReferencingOuterDeclaration2_B.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.js b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.js index a26ef1219151c..dabac9ac6f11d 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.js +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration3.js @@ -10,3 +10,4 @@ declare module "m" { } //// [exportSpecifierReferencingOuterDeclaration3.js] +"use strict"; diff --git a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.js b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.js index 80e9c2e6cbc6a..dedccc563eee8 100644 --- a/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.js +++ b/tests/baselines/reference/exportSpecifierReferencingOuterDeclaration4.js @@ -10,6 +10,7 @@ export declare function foo(): X.foo; export declare function bar(): X.bar; // error //// [exportSpecifierReferencingOuterDeclaration2_A.js] +"use strict"; //// [exportSpecifierReferencingOuterDeclaration2_B.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/exportStarFromEmptyModule.js b/tests/baselines/reference/exportStarFromEmptyModule.js index 2f33395a35257..592bc2b55fb8a 100644 --- a/tests/baselines/reference/exportStarFromEmptyModule.js +++ b/tests/baselines/reference/exportStarFromEmptyModule.js @@ -33,6 +33,7 @@ var A = /** @class */ (function () { }()); exports.A = A; //// [exportStarFromEmptyModule_module2.js] +"use strict"; // empty //// [exportStarFromEmptyModule_module3.js] "use strict"; diff --git a/tests/baselines/reference/exportsInAmbientModules1.js b/tests/baselines/reference/exportsInAmbientModules1.js index cc9d62cd7dad0..15e673bb038cd 100644 --- a/tests/baselines/reference/exportsInAmbientModules1.js +++ b/tests/baselines/reference/exportsInAmbientModules1.js @@ -9,3 +9,4 @@ declare module "M" { } //// [main.js] +"use strict"; diff --git a/tests/baselines/reference/exportsInAmbientModules2.js b/tests/baselines/reference/exportsInAmbientModules2.js index d7ecccaebe1b4..3a191fa47d4f2 100644 --- a/tests/baselines/reference/exportsInAmbientModules2.js +++ b/tests/baselines/reference/exportsInAmbientModules2.js @@ -9,3 +9,4 @@ declare module "M" { } //// [main.js] +"use strict"; diff --git a/tests/baselines/reference/expr.js b/tests/baselines/reference/expr.js index ff3a1062e5697..5d750934d2090 100644 --- a/tests/baselines/reference/expr.js +++ b/tests/baselines/reference/expr.js @@ -248,6 +248,7 @@ function f() { } //// [expr.js] +"use strict"; var E; (function (E) { E[E["Red"] = 0] = "Red"; diff --git a/tests/baselines/reference/expressionTypeNodeShouldError.js b/tests/baselines/reference/expressionTypeNodeShouldError.js index 73850a6a6c6ba..dcb3df8a80c3a 100644 --- a/tests/baselines/reference/expressionTypeNodeShouldError.js +++ b/tests/baselines/reference/expressionTypeNodeShouldError.js @@ -48,6 +48,7 @@ type ItemType3 = true.typeof(nodes.item(0)); //// [string.js] +"use strict"; var C = /** @class */ (function () { function C() { } @@ -60,6 +61,7 @@ var C = /** @class */ (function () { var nodes = document.getElementsByTagName("li"); typeof (nodes.item(0)); //// [number.js] +"use strict"; var C2 = /** @class */ (function () { function C2() { } @@ -72,6 +74,7 @@ var C2 = /** @class */ (function () { var nodes2 = document.getElementsByTagName("li"); typeof (nodes.item(0)); //// [boolean.js] +"use strict"; var C3 = /** @class */ (function () { function C3() { } diff --git a/tests/baselines/reference/extBaseClass1.js b/tests/baselines/reference/extBaseClass1.js index 4f86d032ebe75..7d24ee74ee52b 100644 --- a/tests/baselines/reference/extBaseClass1.js +++ b/tests/baselines/reference/extBaseClass1.js @@ -22,6 +22,7 @@ namespace N { //// [extBaseClass1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extBaseClass2.js b/tests/baselines/reference/extBaseClass2.js index a1da070040b55..4f4a24734cd82 100644 --- a/tests/baselines/reference/extBaseClass2.js +++ b/tests/baselines/reference/extBaseClass2.js @@ -13,6 +13,7 @@ namespace M { //// [extBaseClass2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extendAndImplementTheSameBaseType.js b/tests/baselines/reference/extendAndImplementTheSameBaseType.js index 4c55fb05a7bb6..dff3ed81af59c 100644 --- a/tests/baselines/reference/extendAndImplementTheSameBaseType.js +++ b/tests/baselines/reference/extendAndImplementTheSameBaseType.js @@ -16,6 +16,7 @@ d.baz(); d.foo; //// [extendAndImplementTheSameBaseType.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extendAndImplementTheSameBaseType2.js b/tests/baselines/reference/extendAndImplementTheSameBaseType2.js index 06446a30b451f..cd61220caf7a1 100644 --- a/tests/baselines/reference/extendAndImplementTheSameBaseType2.js +++ b/tests/baselines/reference/extendAndImplementTheSameBaseType2.js @@ -19,6 +19,7 @@ var r3: string = d.bar(); var r4: number = d.bar(); //// [extendAndImplementTheSameBaseType2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extendArray.js b/tests/baselines/reference/extendArray.js index 07176dcbf653c..8ab6dc5fcdf32 100644 --- a/tests/baselines/reference/extendArray.js +++ b/tests/baselines/reference/extendArray.js @@ -26,6 +26,7 @@ arr.collect = function (fn) { //// [extendArray.js] +"use strict"; var a = [1, 2]; a.forEach(function (v, i, a) { }); var arr = Array.prototype; diff --git a/tests/baselines/reference/extendBaseClassBeforeItsDeclared.js b/tests/baselines/reference/extendBaseClassBeforeItsDeclared.js index 8f73281fecdc0..3021f9156abd3 100644 --- a/tests/baselines/reference/extendBaseClassBeforeItsDeclared.js +++ b/tests/baselines/reference/extendBaseClassBeforeItsDeclared.js @@ -6,6 +6,7 @@ class derived extends base { } class base { constructor (public n: number) { } } //// [extendBaseClassBeforeItsDeclared.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extendBooleanInterface.js b/tests/baselines/reference/extendBooleanInterface.js index 1b473c698dd6c..934a9982a8cef 100644 --- a/tests/baselines/reference/extendBooleanInterface.js +++ b/tests/baselines/reference/extendBooleanInterface.js @@ -13,6 +13,7 @@ var c: string = x['doStuff'](); var d: string = x['doOtherStuff']('hm'); //// [extendBooleanInterface.js] +"use strict"; var x = true; var a = x.doStuff(); var b = x.doOtherStuff('hm'); diff --git a/tests/baselines/reference/extendConstructSignatureInInterface.js b/tests/baselines/reference/extendConstructSignatureInInterface.js index 266c4d9d57873..d3dfe64a3fee8 100644 --- a/tests/baselines/reference/extendConstructSignatureInInterface.js +++ b/tests/baselines/reference/extendConstructSignatureInInterface.js @@ -13,6 +13,7 @@ var e: E = new E(1); //// [extendConstructSignatureInInterface.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extendFromAny.js b/tests/baselines/reference/extendFromAny.js index bef64c8d6bacf..280e82bac3467 100644 --- a/tests/baselines/reference/extendFromAny.js +++ b/tests/baselines/reference/extendFromAny.js @@ -15,6 +15,7 @@ C.sunknown.length; // ok: sunknown: any //// [extendFromAny.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extendGenericArray.js b/tests/baselines/reference/extendGenericArray.js index 4a0cfe8b1f3a8..e123b6b11c5cf 100644 --- a/tests/baselines/reference/extendGenericArray.js +++ b/tests/baselines/reference/extendGenericArray.js @@ -9,5 +9,6 @@ var arr: string[] = []; var x: number = arr.foo(); //// [extendGenericArray.js] +"use strict"; var arr = []; var x = arr.foo(); diff --git a/tests/baselines/reference/extendGenericArray2.js b/tests/baselines/reference/extendGenericArray2.js index 55a5f42611c17..56328562930d2 100644 --- a/tests/baselines/reference/extendGenericArray2.js +++ b/tests/baselines/reference/extendGenericArray2.js @@ -11,5 +11,6 @@ var arr: string[] = []; var y: number = arr.x; //// [extendGenericArray2.js] +"use strict"; var arr = []; var y = arr.x; diff --git a/tests/baselines/reference/extendGlobalThis2.js b/tests/baselines/reference/extendGlobalThis2.js index 057ef3dc34aab..5ced750ab04ec 100644 --- a/tests/baselines/reference/extendGlobalThis2.js +++ b/tests/baselines/reference/extendGlobalThis2.js @@ -7,6 +7,7 @@ namespace globalThis { //// [extendGlobalThis2.js] +"use strict"; var globalThis; (function (globalThis) { function foo() { console.log("x"); } diff --git a/tests/baselines/reference/extendNonClassSymbol1.js b/tests/baselines/reference/extendNonClassSymbol1.js index 6f1e85ca82612..18922420b2504 100644 --- a/tests/baselines/reference/extendNonClassSymbol1.js +++ b/tests/baselines/reference/extendNonClassSymbol1.js @@ -6,6 +6,7 @@ var x = A; class C extends x { } // error, could not find symbol xs //// [extendNonClassSymbol1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extendNonClassSymbol2.js b/tests/baselines/reference/extendNonClassSymbol2.js index 43d97147b2f83..1baaba10148bd 100644 --- a/tests/baselines/reference/extendNonClassSymbol2.js +++ b/tests/baselines/reference/extendNonClassSymbol2.js @@ -8,6 +8,7 @@ var x = new Foo(); // legal, considered a constructor function class C extends Foo {} // error, could not find symbol Foo //// [extendNonClassSymbol2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extendNumberInterface.js b/tests/baselines/reference/extendNumberInterface.js index 746e169c275ab..4d25193a93113 100644 --- a/tests/baselines/reference/extendNumberInterface.js +++ b/tests/baselines/reference/extendNumberInterface.js @@ -13,6 +13,7 @@ var c: string = x['doStuff'](); var d: string = x['doOtherStuff']('hm'); //// [extendNumberInterface.js] +"use strict"; var x = 1; var a = x.doStuff(); var b = x.doOtherStuff('hm'); diff --git a/tests/baselines/reference/extendPrivateConstructorClass.js b/tests/baselines/reference/extendPrivateConstructorClass.js index aba75bce93b00..821a30c31c9d8 100644 --- a/tests/baselines/reference/extendPrivateConstructorClass.js +++ b/tests/baselines/reference/extendPrivateConstructorClass.js @@ -12,6 +12,7 @@ class C extends abc.XYZ { //// [extendPrivateConstructorClass.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extendStringInterface.js b/tests/baselines/reference/extendStringInterface.js index 68219cf2cae9a..f37d16a075827 100644 --- a/tests/baselines/reference/extendStringInterface.js +++ b/tests/baselines/reference/extendStringInterface.js @@ -13,6 +13,7 @@ var c: string = x['doStuff'](); var d: string = x['doOtherStuff']('hm'); //// [extendStringInterface.js] +"use strict"; var x = ''; var a = x.doStuff(); var b = x.doOtherStuff('hm'); diff --git a/tests/baselines/reference/extendedInterfaceGenericType.js b/tests/baselines/reference/extendedInterfaceGenericType.js index f4dba4340d8d1..444c0d9c87209 100644 --- a/tests/baselines/reference/extendedInterfaceGenericType.js +++ b/tests/baselines/reference/extendedInterfaceGenericType.js @@ -14,6 +14,7 @@ betaOfNumber.takesArgOfT(5); //// [extendedInterfaceGenericType.js] +"use strict"; var alpha; var betaOfNumber = alpha.makeBetaOfNumber(); betaOfNumber.takesArgOfT(5); diff --git a/tests/baselines/reference/extendedInterfacesWithDuplicateTypeParameters.js b/tests/baselines/reference/extendedInterfacesWithDuplicateTypeParameters.js index 9023ba9333906..173aeccc48cf4 100644 --- a/tests/baselines/reference/extendedInterfacesWithDuplicateTypeParameters.js +++ b/tests/baselines/reference/extendedInterfacesWithDuplicateTypeParameters.js @@ -14,3 +14,4 @@ interface InterfaceWithSomeTypars { // should error } //// [extendedInterfacesWithDuplicateTypeParameters.js] +"use strict"; diff --git a/tests/baselines/reference/extendedUnicodeEscapeSequenceIdentifiers.js b/tests/baselines/reference/extendedUnicodeEscapeSequenceIdentifiers.js index 4072ce2a3ab56..89460f9feffc3 100644 --- a/tests/baselines/reference/extendedUnicodeEscapeSequenceIdentifiers.js +++ b/tests/baselines/reference/extendedUnicodeEscapeSequenceIdentifiers.js @@ -8,6 +8,7 @@ console.log(a + aa); //// [extendedUnicodeEscapeSequenceIdentifiers.js] +"use strict"; const \u{0061} = 12; const a\u{0061} = 12; console.log(a + aa); diff --git a/tests/baselines/reference/extendedUnicodePlaneIdentifiers.js b/tests/baselines/reference/extendedUnicodePlaneIdentifiers.js index d8cce42e133e5..d6ea36f00894a 100644 --- a/tests/baselines/reference/extendedUnicodePlaneIdentifiers.js +++ b/tests/baselines/reference/extendedUnicodePlaneIdentifiers.js @@ -46,6 +46,7 @@ const 𝓮𡚭𓀺ⱱ = "ok"; //// [extendedUnicodePlaneIdentifiers.js] +"use strict"; var _K_𝑚, _K_𝑀; const 𝑚 = 4; const 𝑀 = 5; diff --git a/tests/baselines/reference/extendedUnicodePlaneIdentifiersJSDoc.js b/tests/baselines/reference/extendedUnicodePlaneIdentifiersJSDoc.js index f852621e8e42c..79c22599f60ac 100644 --- a/tests/baselines/reference/extendedUnicodePlaneIdentifiersJSDoc.js +++ b/tests/baselines/reference/extendedUnicodePlaneIdentifiersJSDoc.js @@ -11,6 +11,7 @@ function foo(𝑚, 𝑀) { } //// [file.js] +"use strict"; /** * Adds * @param {number} 𝑚 diff --git a/tests/baselines/reference/extendsClauseAlreadySeen.js b/tests/baselines/reference/extendsClauseAlreadySeen.js index 76616a94ec42a..eb1a0ec465d2b 100644 --- a/tests/baselines/reference/extendsClauseAlreadySeen.js +++ b/tests/baselines/reference/extendsClauseAlreadySeen.js @@ -9,6 +9,7 @@ class D extends C extends C { } //// [extendsClauseAlreadySeen.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extendsClauseAlreadySeen2.js b/tests/baselines/reference/extendsClauseAlreadySeen2.js index 0aa470000b7a4..2a4c7949661bf 100644 --- a/tests/baselines/reference/extendsClauseAlreadySeen2.js +++ b/tests/baselines/reference/extendsClauseAlreadySeen2.js @@ -9,6 +9,7 @@ class D extends C extends C { } //// [extendsClauseAlreadySeen2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/extendsJavaScript.js b/tests/baselines/reference/extendsJavaScript.js index 958344d2a41a7..8025ea5463842 100644 --- a/tests/baselines/reference/extendsJavaScript.js +++ b/tests/baselines/reference/extendsJavaScript.js @@ -10,6 +10,7 @@ class MyClass { //// [extendsJavaScript.js] +"use strict"; /** * @extends {SomeBase} */ diff --git a/tests/baselines/reference/extendsTag2.js b/tests/baselines/reference/extendsTag2.js index cc4ae15cae240..e76efcfd60198 100644 --- a/tests/baselines/reference/extendsTag2.js +++ b/tests/baselines/reference/extendsTag2.js @@ -23,6 +23,7 @@ class B extends A { //// [foo.js] +"use strict"; /** * @constructor */ diff --git a/tests/baselines/reference/extendsTag3.js b/tests/baselines/reference/extendsTag3.js index 68180aa6214fb..76addc75398b6 100644 --- a/tests/baselines/reference/extendsTag3.js +++ b/tests/baselines/reference/extendsTag3.js @@ -30,6 +30,7 @@ class C extends A { //// [foo.js] +"use strict"; /** * @constructor */ diff --git a/tests/baselines/reference/extendsTag4.js b/tests/baselines/reference/extendsTag4.js index 1adcbb9cebb0a..48ccacfd82ebc 100644 --- a/tests/baselines/reference/extendsTag4.js +++ b/tests/baselines/reference/extendsTag4.js @@ -14,6 +14,7 @@ class A { //// [foo.js] +"use strict"; /** * @constructor */ diff --git a/tests/baselines/reference/extension.js b/tests/baselines/reference/extension.js index 232533b28c4a3..13d7aa06957ee 100644 --- a/tests/baselines/reference/extension.js +++ b/tests/baselines/reference/extension.js @@ -31,6 +31,7 @@ i.y; //// [extension.js] +"use strict"; var c = new M.C(); c.pe; c.p; diff --git a/tests/baselines/reference/externFunc.js b/tests/baselines/reference/externFunc.js index 200b709090db0..15cca97caa3d5 100644 --- a/tests/baselines/reference/externFunc.js +++ b/tests/baselines/reference/externFunc.js @@ -7,4 +7,5 @@ parseInt("2"); //// [externFunc.js] +"use strict"; parseInt("2"); diff --git a/tests/baselines/reference/externModule.js b/tests/baselines/reference/externModule.js index f4adcf6f1c98d..3abdf9a16e0e0 100644 --- a/tests/baselines/reference/externModule.js +++ b/tests/baselines/reference/externModule.js @@ -42,6 +42,7 @@ n=XDate.UTC(1964,2,1); //// [externModule.js] +"use strict"; declare; module; { diff --git a/tests/baselines/reference/externModuleClobber.js b/tests/baselines/reference/externModuleClobber.js index 4b470f430ec8b..8255e2cb28d3c 100644 --- a/tests/baselines/reference/externModuleClobber.js +++ b/tests/baselines/reference/externModuleClobber.js @@ -16,6 +16,7 @@ x = ec.getPosition(); //// [externModuleClobber.js] +"use strict"; var x; var ec = new EM.EC(); x = ec.getPosition(); diff --git a/tests/baselines/reference/externSemantics.js b/tests/baselines/reference/externSemantics.js index 5fc8dc4d37021..9e460a0734dc5 100644 --- a/tests/baselines/reference/externSemantics.js +++ b/tests/baselines/reference/externSemantics.js @@ -7,3 +7,4 @@ declare var y:number=3; //// [externSemantics.js] +"use strict"; diff --git a/tests/baselines/reference/externSyntax.js b/tests/baselines/reference/externSyntax.js index e35cb9574e8ff..51ce687a0bb58 100644 --- a/tests/baselines/reference/externSyntax.js +++ b/tests/baselines/reference/externSyntax.js @@ -17,3 +17,4 @@ declare namespace M { //// [externSyntax.js] +"use strict"; diff --git a/tests/baselines/reference/externalModuleReferenceDoubleUnderscore1.js b/tests/baselines/reference/externalModuleReferenceDoubleUnderscore1.js index f5f0f32617717..921f94fdc1d15 100644 --- a/tests/baselines/reference/externalModuleReferenceDoubleUnderscore1.js +++ b/tests/baselines/reference/externalModuleReferenceDoubleUnderscore1.js @@ -19,3 +19,4 @@ declare module '__timezonecomplete/basics' { } //// [externalModuleReferenceDoubleUnderscore1.js] +"use strict"; diff --git a/tests/baselines/reference/externalModuleRefernceResolutionOrderInImportDeclaration.js b/tests/baselines/reference/externalModuleRefernceResolutionOrderInImportDeclaration.js index 1487804fd8108..735114dcdfbac 100644 --- a/tests/baselines/reference/externalModuleRefernceResolutionOrderInImportDeclaration.js +++ b/tests/baselines/reference/externalModuleRefernceResolutionOrderInImportDeclaration.js @@ -18,6 +18,7 @@ file1.bar(); //// [externalModuleRefernceResolutionOrderInImportDeclaration_file2.js] +"use strict"; //// [externalModuleRefernceResolutionOrderInImportDeclaration_file1.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/extractInferenceImprovement.js b/tests/baselines/reference/extractInferenceImprovement.js index b0c32416ab4d7..7df97d4d6599a 100644 --- a/tests/baselines/reference/extractInferenceImprovement.js +++ b/tests/baselines/reference/extractInferenceImprovement.js @@ -32,6 +32,7 @@ prop = getProperty3(obj, s); //// [extractInferenceImprovement.js] +"use strict"; // repro mostly from https://github.com/Microsoft/TypeScript/issues/25065 function getProperty2(obj, key) { return obj[key]; diff --git a/tests/baselines/reference/fallFromLastCase1.js b/tests/baselines/reference/fallFromLastCase1.js index 7303905029b80..10bae8698cd32 100644 --- a/tests/baselines/reference/fallFromLastCase1.js +++ b/tests/baselines/reference/fallFromLastCase1.js @@ -25,6 +25,7 @@ function foo2(a: number) { } //// [fallFromLastCase1.js] +"use strict"; function foo1(a) { switch (a) { case 1: diff --git a/tests/baselines/reference/fallFromLastCase2.js b/tests/baselines/reference/fallFromLastCase2.js index 2e2ce19f09470..1ff18cdab6fc5 100644 --- a/tests/baselines/reference/fallFromLastCase2.js +++ b/tests/baselines/reference/fallFromLastCase2.js @@ -29,6 +29,7 @@ function foo2(a: number) { } //// [fallFromLastCase2.js] +"use strict"; function foo1(a) { switch (a) { case 1: diff --git a/tests/baselines/reference/fallbackToBindingPatternForTypeInference.js b/tests/baselines/reference/fallbackToBindingPatternForTypeInference.js index 1a69ef22b02dc..f7fec1be9bcda 100644 --- a/tests/baselines/reference/fallbackToBindingPatternForTypeInference.js +++ b/tests/baselines/reference/fallbackToBindingPatternForTypeInference.js @@ -10,6 +10,7 @@ trans(({a, b = 10}) => a); //// [fallbackToBindingPatternForTypeInference.js] +"use strict"; trans(function (_a) { var a = _a.a; return a; diff --git a/tests/baselines/reference/fatArrowSelf.js b/tests/baselines/reference/fatArrowSelf.js index df7deca2e2345..79ebd5df1624a 100644 --- a/tests/baselines/reference/fatArrowSelf.js +++ b/tests/baselines/reference/fatArrowSelf.js @@ -27,6 +27,7 @@ namespace Consumer { } //// [fatArrowSelf.js] +"use strict"; var Events; (function (Events) { var EventEmitter = /** @class */ (function () { diff --git a/tests/baselines/reference/fatArrowfunctionAsType.js b/tests/baselines/reference/fatArrowfunctionAsType.js index 4ffd739f9df80..9fec67ddf8e24 100644 --- a/tests/baselines/reference/fatArrowfunctionAsType.js +++ b/tests/baselines/reference/fatArrowfunctionAsType.js @@ -9,5 +9,6 @@ b = c; //// [fatArrowfunctionAsType.js] +"use strict"; var c = function (x) { return 42; }; b = c; diff --git a/tests/baselines/reference/fatarrowfunctions.js b/tests/baselines/reference/fatarrowfunctions.js index b3e6656301c19..4a3fee2607d3b 100644 --- a/tests/baselines/reference/fatarrowfunctions.js +++ b/tests/baselines/reference/fatarrowfunctions.js @@ -47,6 +47,7 @@ var messenger = { //// [fatarrowfunctions.js] +"use strict"; function foo(x) { return x(); } diff --git a/tests/baselines/reference/fatarrowfunctionsErrors.js b/tests/baselines/reference/fatarrowfunctionsErrors.js index c8f73eb53cb49..4481711e917cf 100644 --- a/tests/baselines/reference/fatarrowfunctionsErrors.js +++ b/tests/baselines/reference/fatarrowfunctionsErrors.js @@ -15,6 +15,7 @@ var x3 = (a:number) {}; var x4= (...a: any[]) { }; //// [fatarrowfunctionsErrors.js] +"use strict"; foo(function () { var Far = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/fatarrowfunctionsInFunctionParameterDefaults.js b/tests/baselines/reference/fatarrowfunctionsInFunctionParameterDefaults.js index 0fbbc70f97923..74ffe9db33052 100644 --- a/tests/baselines/reference/fatarrowfunctionsInFunctionParameterDefaults.js +++ b/tests/baselines/reference/fatarrowfunctionsInFunctionParameterDefaults.js @@ -12,6 +12,7 @@ fn.call(4); // Should be 4 //// [fatarrowfunctionsInFunctionParameterDefaults.js] +"use strict"; function fn(x, y) { var _this = this; if (x === void 0) { x = function () { return _this; }; } diff --git a/tests/baselines/reference/fatarrowfunctionsInFunctions.js b/tests/baselines/reference/fatarrowfunctionsInFunctions.js index 6350233b2cfa4..0a983eda4ce04 100644 --- a/tests/baselines/reference/fatarrowfunctionsInFunctions.js +++ b/tests/baselines/reference/fatarrowfunctionsInFunctions.js @@ -16,6 +16,7 @@ messenger.start(); //// [fatarrowfunctionsInFunctions.js] +"use strict"; var messenger = { message: "Hello World", start: function () { diff --git a/tests/baselines/reference/fatarrowfunctionsOptionalArgs.js b/tests/baselines/reference/fatarrowfunctionsOptionalArgs.js index 89e3f33244aa6..b0f8b01f31f53 100644 --- a/tests/baselines/reference/fatarrowfunctionsOptionalArgs.js +++ b/tests/baselines/reference/fatarrowfunctionsOptionalArgs.js @@ -134,6 +134,7 @@ foo( ); //// [fatarrowfunctionsOptionalArgs.js] +"use strict"; // valid // no params (function () { return 1; }); diff --git a/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors1.js b/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors1.js index 389dbad7b791b..e6c209dbcb030 100644 --- a/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors1.js +++ b/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors1.js @@ -10,6 +10,7 @@ (arg1 = 1, arg2) => 1; //// [fatarrowfunctionsOptionalArgsErrors1.js] +"use strict"; (function (arg1, arg2) { return 101; }); (function () { var arg = []; diff --git a/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors2.js b/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors2.js index acc1768e28599..3f5496192e33e 100644 --- a/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors2.js +++ b/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors2.js @@ -7,6 +7,7 @@ var tt2 = ((a), b, c) => a+b+c; var tt3 = ((a)) => a; //// [fatarrowfunctionsOptionalArgsErrors2.js] +"use strict"; var tt1 = (a, (b, c)); a + b + c; var tt2 = ((a), b, c); diff --git a/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors3.js b/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors3.js index bfcc496a60da5..943c9148ebc63 100644 --- a/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors3.js +++ b/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors3.js @@ -5,6 +5,7 @@ //// [fatarrowfunctionsOptionalArgsErrors3.js] +"use strict"; (function () { var = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors4.js b/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors4.js index 539ea59e65c8c..24cc6dee63726 100644 --- a/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors4.js +++ b/tests/baselines/reference/fatarrowfunctionsOptionalArgsErrors4.js @@ -25,6 +25,7 @@ ); //// [fatarrowfunctionsOptionalArgsErrors4.js] +"use strict"; false ? function (arg) { if (arg === void 0) { arg = 0; } return 47; diff --git a/tests/baselines/reference/fileReferencesWithNoExtensions.js b/tests/baselines/reference/fileReferencesWithNoExtensions.js index 48421954c3a49..b836bc670e0c4 100644 --- a/tests/baselines/reference/fileReferencesWithNoExtensions.js +++ b/tests/baselines/reference/fileReferencesWithNoExtensions.js @@ -22,10 +22,13 @@ declare var xx: number; //// [a.js] +"use strict"; var aa = 1; //// [c.js] +"use strict"; var cc = 1; //// [t.js] +"use strict"; /// /// /// diff --git a/tests/baselines/reference/fileWithNextLine1.js b/tests/baselines/reference/fileWithNextLine1.js index 29a30b3f2e8c0..00435cbd011e1 100644 --- a/tests/baselines/reference/fileWithNextLine1.js +++ b/tests/baselines/reference/fileWithNextLine1.js @@ -6,6 +6,7 @@ var v = '…'; //// [fileWithNextLine1.js] +"use strict"; // Note: there is a nextline (0x85) in the string // 0. It should be counted as a space and should not cause an error. var v = '…'; diff --git a/tests/baselines/reference/fileWithNextLine2.js b/tests/baselines/reference/fileWithNextLine2.js index 873ec597f9487..12b0ab7135f27 100644 --- a/tests/baselines/reference/fileWithNextLine2.js +++ b/tests/baselines/reference/fileWithNextLine2.js @@ -6,6 +6,7 @@ var v =…0; //// [fileWithNextLine2.js] +"use strict"; // Note: there is a nextline (0x85) char between the = and the 0. // it should be treated like a space var v = 0; diff --git a/tests/baselines/reference/fileWithNextLine3.js b/tests/baselines/reference/fileWithNextLine3.js index 7e74eb439abe2..269b417237530 100644 --- a/tests/baselines/reference/fileWithNextLine3.js +++ b/tests/baselines/reference/fileWithNextLine3.js @@ -6,6 +6,7 @@ return…0; //// [fileWithNextLine3.js] +"use strict"; // Note: there is a nextline (0x85) between the return and the // 0. It should be counted as a space and should not trigger ASI return 0; diff --git a/tests/baselines/reference/filesEmittingIntoSameOutputWithOutOption.js b/tests/baselines/reference/filesEmittingIntoSameOutputWithOutOption.js index b646f53e4840e..db8fe1a75243c 100644 --- a/tests/baselines/reference/filesEmittingIntoSameOutputWithOutOption.js +++ b/tests/baselines/reference/filesEmittingIntoSameOutputWithOutOption.js @@ -10,6 +10,7 @@ function foo() { //// [a.js] +"use strict"; define("a", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/fillInMissingTypeArgsOnConstructCalls.js b/tests/baselines/reference/fillInMissingTypeArgsOnConstructCalls.js index 2ff58942e0f37..bd9052e32325a 100644 --- a/tests/baselines/reference/fillInMissingTypeArgsOnConstructCalls.js +++ b/tests/baselines/reference/fillInMissingTypeArgsOnConstructCalls.js @@ -8,6 +8,7 @@ var a = new A(); //// [fillInMissingTypeArgsOnConstructCalls.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/findLast(target=es2022).js b/tests/baselines/reference/findLast(target=es2022).js index 4add0a0f0fe98..5d1412d8924e3 100644 --- a/tests/baselines/reference/findLast(target=es2022).js +++ b/tests/baselines/reference/findLast(target=es2022).js @@ -31,6 +31,7 @@ new BigUint64Array().findLastIndex((item) => item === BigInt(0)); //// [findLast.js] +"use strict"; const itemNumber = [0].findLast((item) => item === 0); const itemString = ["string"].findLast((item) => item === "string"); new Int8Array().findLast((item) => item === 0); diff --git a/tests/baselines/reference/findLast(target=esnext).js b/tests/baselines/reference/findLast(target=esnext).js index 4add0a0f0fe98..5d1412d8924e3 100644 --- a/tests/baselines/reference/findLast(target=esnext).js +++ b/tests/baselines/reference/findLast(target=esnext).js @@ -31,6 +31,7 @@ new BigUint64Array().findLastIndex((item) => item === BigInt(0)); //// [findLast.js] +"use strict"; const itemNumber = [0].findLast((item) => item === 0); const itemString = ["string"].findLast((item) => item === "string"); new Int8Array().findLast((item) => item === 0); diff --git a/tests/baselines/reference/fixSignatureCaching.js b/tests/baselines/reference/fixSignatureCaching.js index 20b4ebeb2eb31..0296e4d897bb1 100644 --- a/tests/baselines/reference/fixSignatureCaching.js +++ b/tests/baselines/reference/fixSignatureCaching.js @@ -992,6 +992,7 @@ define(function () { //// [fixSignatureCaching.js] +"use strict"; // Repro from #10697 (function (define, undefined) { define(function () { diff --git a/tests/baselines/reference/fixTypeParameterInSignatureWithRestParameters.js b/tests/baselines/reference/fixTypeParameterInSignatureWithRestParameters.js index d1c98df016e7c..f3fd7e39044f2 100644 --- a/tests/baselines/reference/fixTypeParameterInSignatureWithRestParameters.js +++ b/tests/baselines/reference/fixTypeParameterInSignatureWithRestParameters.js @@ -5,5 +5,6 @@ function bar(item1: T, item2: T) { } bar(1, ""); // Should be ok //// [fixTypeParameterInSignatureWithRestParameters.js] +"use strict"; function bar(item1, item2) { } bar(1, ""); // Should be ok diff --git a/tests/baselines/reference/fixingTypeParametersRepeatedly1.js b/tests/baselines/reference/fixingTypeParametersRepeatedly1.js index 7e02e0c60611b..a629a8fc4e0a8 100644 --- a/tests/baselines/reference/fixingTypeParametersRepeatedly1.js +++ b/tests/baselines/reference/fixingTypeParametersRepeatedly1.js @@ -10,5 +10,6 @@ declare function g(); g("", x => null, x => x.toLowerCase()); //// [fixingTypeParametersRepeatedly1.js] +"use strict"; f("", function (x) { return null; }, function (x) { return x.toLowerCase(); }); g("", function (x) { return null; }, function (x) { return x.toLowerCase(); }); diff --git a/tests/baselines/reference/fixingTypeParametersRepeatedly2.js b/tests/baselines/reference/fixingTypeParametersRepeatedly2.js index f36f1cc0969a7..7bc95e8d4c64c 100644 --- a/tests/baselines/reference/fixingTypeParametersRepeatedly2.js +++ b/tests/baselines/reference/fixingTypeParametersRepeatedly2.js @@ -20,5 +20,6 @@ declare function bar(x: T, func: (p: T) => T): T; var result = bar(derived, d => d.toBase()); //// [fixingTypeParametersRepeatedly2.js] +"use strict"; var result = foo(derived, function (d) { return d.toBase(); }); var result = bar(derived, function (d) { return d.toBase(); }); diff --git a/tests/baselines/reference/fixingTypeParametersRepeatedly3.js b/tests/baselines/reference/fixingTypeParametersRepeatedly3.js index 5cb501053238e..44b4783aa222b 100644 --- a/tests/baselines/reference/fixingTypeParametersRepeatedly3.js +++ b/tests/baselines/reference/fixingTypeParametersRepeatedly3.js @@ -20,6 +20,7 @@ declare function bar(x: T, func: (p: T) => T): T; var result2 = bar(derived, d => d.toBase()); //// [fixingTypeParametersRepeatedly3.js] +"use strict"; var derived; var result = foo(derived, function (d) { return d.toBase(); }); var result2 = bar(derived, function (d) { return d.toBase(); }); diff --git a/tests/baselines/reference/flowAfterFinally1.js b/tests/baselines/reference/flowAfterFinally1.js index bcf7e5c408cad..f0bd742297caa 100644 --- a/tests/baselines/reference/flowAfterFinally1.js +++ b/tests/baselines/reference/flowAfterFinally1.js @@ -16,6 +16,7 @@ try { result // should not error here //// [flowAfterFinally1.js] +"use strict"; var result; openFile(); try { diff --git a/tests/baselines/reference/flowControlTypeGuardThenSwitch.js b/tests/baselines/reference/flowControlTypeGuardThenSwitch.js index 07498d9e39aac..e88910672ef4d 100644 --- a/tests/baselines/reference/flowControlTypeGuardThenSwitch.js +++ b/tests/baselines/reference/flowControlTypeGuardThenSwitch.js @@ -39,6 +39,7 @@ if (isBoth(foo)) { //// [flowControlTypeGuardThenSwitch.js] +"use strict"; var Kind; (function (Kind) { Kind[Kind["A"] = 0] = "A"; diff --git a/tests/baselines/reference/flowInFinally1.js b/tests/baselines/reference/flowInFinally1.js index 22cc89b0e1cef..1e58173f4c2fd 100644 --- a/tests/baselines/reference/flowInFinally1.js +++ b/tests/baselines/reference/flowInFinally1.js @@ -17,6 +17,7 @@ try { } //// [flowInFinally1.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/fluentClasses.js b/tests/baselines/reference/fluentClasses.js index a1cb6f117d119..5cf8d17b92670 100644 --- a/tests/baselines/reference/fluentClasses.js +++ b/tests/baselines/reference/fluentClasses.js @@ -21,6 +21,7 @@ var z = c.foo().bar().baz(); // Fluent pattern //// [fluentClasses.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/fluentInterfaces.js b/tests/baselines/reference/fluentInterfaces.js index b46b204ae8156..8b4e67353bc65 100644 --- a/tests/baselines/reference/fluentInterfaces.js +++ b/tests/baselines/reference/fluentInterfaces.js @@ -15,5 +15,6 @@ var z = c.foo().bar().baz(); // Fluent pattern //// [fluentInterfaces.js] +"use strict"; var c; var z = c.foo().bar().baz(); // Fluent pattern diff --git a/tests/baselines/reference/for-inStatements.js b/tests/baselines/reference/for-inStatements.js index ae56b1816bad6..e2ebc1ceb0b7d 100644 --- a/tests/baselines/reference/for-inStatements.js +++ b/tests/baselines/reference/for-inStatements.js @@ -83,6 +83,7 @@ for (var x in Color.Blue) { } //// [for-inStatements.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/for-inStatementsArray.js b/tests/baselines/reference/for-inStatementsArray.js index e7c70202c612d..f78c4d01c023b 100644 --- a/tests/baselines/reference/for-inStatementsArray.js +++ b/tests/baselines/reference/for-inStatementsArray.js @@ -42,6 +42,7 @@ for (s in a) { //// [for-inStatementsArray.js] +"use strict"; var a; var b; for (var x in a) { diff --git a/tests/baselines/reference/for-inStatementsArrayErrors.js b/tests/baselines/reference/for-inStatementsArrayErrors.js index 91e9ca3447875..a60cc4244be38 100644 --- a/tests/baselines/reference/for-inStatementsArrayErrors.js +++ b/tests/baselines/reference/for-inStatementsArrayErrors.js @@ -21,6 +21,7 @@ for (var j in a ) { //// [for-inStatementsArrayErrors.js] +"use strict"; for (var x in a) { var a1 = a[x + 1]; var a2 = a[x - 1]; diff --git a/tests/baselines/reference/for-inStatementsAsyncIdentifier.js b/tests/baselines/reference/for-inStatementsAsyncIdentifier.js index 0970f0cc0667b..489578d874b8e 100644 --- a/tests/baselines/reference/for-inStatementsAsyncIdentifier.js +++ b/tests/baselines/reference/for-inStatementsAsyncIdentifier.js @@ -6,5 +6,6 @@ for (async in { a: 1, b: 2 }) {} //// [for-inStatementsAsyncIdentifier.js] +"use strict"; var async; for (async in { a: 1, b: 2 }) { } diff --git a/tests/baselines/reference/for-inStatementsDestructuring.js b/tests/baselines/reference/for-inStatementsDestructuring.js index a2a6744972bbb..52d00c5e62fe6 100644 --- a/tests/baselines/reference/for-inStatementsDestructuring.js +++ b/tests/baselines/reference/for-inStatementsDestructuring.js @@ -4,4 +4,5 @@ for (var [a, b] in []) {} //// [for-inStatementsDestructuring.js] +"use strict"; for (var _a = void 0, a = _a[0], b = _a[1] in []) { } diff --git a/tests/baselines/reference/for-inStatementsDestructuring2.js b/tests/baselines/reference/for-inStatementsDestructuring2.js index 51eb2c751eefe..cf718aec6a651 100644 --- a/tests/baselines/reference/for-inStatementsDestructuring2.js +++ b/tests/baselines/reference/for-inStatementsDestructuring2.js @@ -4,4 +4,5 @@ for (var {a, b} in []) {} //// [for-inStatementsDestructuring2.js] +"use strict"; for (var _a = void 0, a = _a.a, b = _a.b in []) { } diff --git a/tests/baselines/reference/for-inStatementsDestructuring3.js b/tests/baselines/reference/for-inStatementsDestructuring3.js index fc2fa49c69b7d..de6f9adff95de 100644 --- a/tests/baselines/reference/for-inStatementsDestructuring3.js +++ b/tests/baselines/reference/for-inStatementsDestructuring3.js @@ -5,5 +5,6 @@ var a, b; for ([a, b] in []) { } //// [for-inStatementsDestructuring3.js] +"use strict"; var a, b; for ([a, b] in []) { } diff --git a/tests/baselines/reference/for-inStatementsDestructuring4.js b/tests/baselines/reference/for-inStatementsDestructuring4.js index 83d6e3cf3d101..4d2dcf6b07319 100644 --- a/tests/baselines/reference/for-inStatementsDestructuring4.js +++ b/tests/baselines/reference/for-inStatementsDestructuring4.js @@ -5,5 +5,6 @@ var a, b; for ({a, b} in []) { } //// [for-inStatementsDestructuring4.js] +"use strict"; var a, b; for ({ a: a, b: b } in []) { } diff --git a/tests/baselines/reference/for-inStatementsInvalid.js b/tests/baselines/reference/for-inStatementsInvalid.js index e907f57b8ee82..a1485b4e32fda 100644 --- a/tests/baselines/reference/for-inStatementsInvalid.js +++ b/tests/baselines/reference/for-inStatementsInvalid.js @@ -66,6 +66,7 @@ for (var x in i[42]) { } //// [for-inStatementsInvalid.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/for-of-excess-declarations.js b/tests/baselines/reference/for-of-excess-declarations.js index 84783caa013aa..a4706939c3479 100644 --- a/tests/baselines/reference/for-of-excess-declarations.js +++ b/tests/baselines/reference/for-of-excess-declarations.js @@ -6,5 +6,6 @@ for (const a, { [b]: c} of [1]) { } //// [for-of-excess-declarations.js] +"use strict"; for (const a, { [b]: c } of [1]) { } diff --git a/tests/baselines/reference/for-of1.js b/tests/baselines/reference/for-of1.js index 8b4b1e6b275bd..f7672351f1bfe 100644 --- a/tests/baselines/reference/for-of1.js +++ b/tests/baselines/reference/for-of1.js @@ -5,5 +5,6 @@ var v; for (v of []) { } //// [for-of1.js] +"use strict"; var v; for (v of []) { } diff --git a/tests/baselines/reference/for-of10.js b/tests/baselines/reference/for-of10.js index 9580c618fbc42..1f83f5b1010cc 100644 --- a/tests/baselines/reference/for-of10.js +++ b/tests/baselines/reference/for-of10.js @@ -5,5 +5,6 @@ var v: string; for (v of [0]) { } //// [for-of10.js] +"use strict"; var v; for (v of [0]) { } diff --git a/tests/baselines/reference/for-of11.js b/tests/baselines/reference/for-of11.js index 958fa65f2cbaf..643ff73155bac 100644 --- a/tests/baselines/reference/for-of11.js +++ b/tests/baselines/reference/for-of11.js @@ -5,5 +5,6 @@ var v: string; for (v of [0, ""]) { } //// [for-of11.js] +"use strict"; var v; for (v of [0, ""]) { } diff --git a/tests/baselines/reference/for-of12.js b/tests/baselines/reference/for-of12.js index 1e39f62b0d33b..9a7e1dd965ab1 100644 --- a/tests/baselines/reference/for-of12.js +++ b/tests/baselines/reference/for-of12.js @@ -5,5 +5,6 @@ var v: string; for (v of [0, ""].values()) { } //// [for-of12.js] +"use strict"; var v; for (v of [0, ""].values()) { } diff --git a/tests/baselines/reference/for-of13.js b/tests/baselines/reference/for-of13.js index 1b970a9e86c1e..01e9462e3e820 100644 --- a/tests/baselines/reference/for-of13.js +++ b/tests/baselines/reference/for-of13.js @@ -5,5 +5,6 @@ var v: string; for (v of [""].values()) { } //// [for-of13.js] +"use strict"; var v; for (v of [""].values()) { } diff --git a/tests/baselines/reference/for-of14.js b/tests/baselines/reference/for-of14.js index 92d9613bfe622..25e57fccededa 100644 --- a/tests/baselines/reference/for-of14.js +++ b/tests/baselines/reference/for-of14.js @@ -11,6 +11,7 @@ var v: string; for (v of new MyStringIterator) { } // Should fail because the iterator is not iterable //// [for-of14.js] +"use strict"; class MyStringIterator { next() { return ""; diff --git a/tests/baselines/reference/for-of15.js b/tests/baselines/reference/for-of15.js index 3505ed87fe29c..75f6d67f4d2fe 100644 --- a/tests/baselines/reference/for-of15.js +++ b/tests/baselines/reference/for-of15.js @@ -14,6 +14,7 @@ var v: string; for (v of new MyStringIterator) { } // Should fail //// [for-of15.js] +"use strict"; class MyStringIterator { next() { return ""; diff --git a/tests/baselines/reference/for-of16.js b/tests/baselines/reference/for-of16.js index cf7699af90a5b..50d0adacdc862 100644 --- a/tests/baselines/reference/for-of16.js +++ b/tests/baselines/reference/for-of16.js @@ -13,6 +13,7 @@ for (v of new MyStringIterator) { } // Should fail for (v of new MyStringIterator) { } // Should still fail (related errors should still be shown even though type is cached). //// [for-of16.js] +"use strict"; class MyStringIterator { [Symbol.iterator]() { return this; diff --git a/tests/baselines/reference/for-of17.js b/tests/baselines/reference/for-of17.js index 94c1150c3eb69..90f069394a7e4 100644 --- a/tests/baselines/reference/for-of17.js +++ b/tests/baselines/reference/for-of17.js @@ -17,6 +17,7 @@ var v: string; for (v of new NumberIterator) { } // Should succeed //// [for-of17.js] +"use strict"; class NumberIterator { next() { return { diff --git a/tests/baselines/reference/for-of18.js b/tests/baselines/reference/for-of18.js index c81fa6a0bc405..0628c8e8871cd 100644 --- a/tests/baselines/reference/for-of18.js +++ b/tests/baselines/reference/for-of18.js @@ -17,6 +17,7 @@ var v: string; for (v of new MyStringIterator) { } // Should succeed //// [for-of18.js] +"use strict"; class MyStringIterator { next() { return { diff --git a/tests/baselines/reference/for-of19.js b/tests/baselines/reference/for-of19.js index 9862edc59f5ef..1228f7b3dc711 100644 --- a/tests/baselines/reference/for-of19.js +++ b/tests/baselines/reference/for-of19.js @@ -19,6 +19,7 @@ for (var v of new FooIterator) { } //// [for-of19.js] +"use strict"; class Foo { } class FooIterator { diff --git a/tests/baselines/reference/for-of2.js b/tests/baselines/reference/for-of2.js index 751e8fc0837ea..b927f6995075e 100644 --- a/tests/baselines/reference/for-of2.js +++ b/tests/baselines/reference/for-of2.js @@ -5,5 +5,6 @@ const v; for (v of []) { } //// [for-of2.js] +"use strict"; const v; for (v of []) { } diff --git a/tests/baselines/reference/for-of20.js b/tests/baselines/reference/for-of20.js index f7323012d8ffa..7dd69e89893d5 100644 --- a/tests/baselines/reference/for-of20.js +++ b/tests/baselines/reference/for-of20.js @@ -19,6 +19,7 @@ for (let v of new FooIterator) { } //// [for-of20.js] +"use strict"; class Foo { } class FooIterator { diff --git a/tests/baselines/reference/for-of21.js b/tests/baselines/reference/for-of21.js index eb7177c897daf..78e5545f335eb 100644 --- a/tests/baselines/reference/for-of21.js +++ b/tests/baselines/reference/for-of21.js @@ -19,6 +19,7 @@ for (const v of new FooIterator) { } //// [for-of21.js] +"use strict"; class Foo { } class FooIterator { diff --git a/tests/baselines/reference/for-of22.js b/tests/baselines/reference/for-of22.js index 108ebb621842d..95241e95452d2 100644 --- a/tests/baselines/reference/for-of22.js +++ b/tests/baselines/reference/for-of22.js @@ -20,6 +20,7 @@ for (var v of new FooIterator) { } //// [for-of22.js] +"use strict"; class Foo { } class FooIterator { diff --git a/tests/baselines/reference/for-of23.js b/tests/baselines/reference/for-of23.js index 680b8c5dc1200..e4047521cfd72 100644 --- a/tests/baselines/reference/for-of23.js +++ b/tests/baselines/reference/for-of23.js @@ -19,6 +19,7 @@ for (const v of new FooIterator) { } //// [for-of23.js] +"use strict"; class Foo { } class FooIterator { diff --git a/tests/baselines/reference/for-of24.js b/tests/baselines/reference/for-of24.js index a63b09e3f5b11..0f5f23d81dad5 100644 --- a/tests/baselines/reference/for-of24.js +++ b/tests/baselines/reference/for-of24.js @@ -6,5 +6,6 @@ for (var v of x) { } //// [for-of24.js] +"use strict"; var x; for (var v of x) { } diff --git a/tests/baselines/reference/for-of25.js b/tests/baselines/reference/for-of25.js index bac7342af9714..4b119a324a2cc 100644 --- a/tests/baselines/reference/for-of25.js +++ b/tests/baselines/reference/for-of25.js @@ -11,6 +11,7 @@ var x: any; for (var v of new MyStringIterator) { } //// [for-of25.js] +"use strict"; class MyStringIterator { [Symbol.iterator]() { return x; diff --git a/tests/baselines/reference/for-of26.js b/tests/baselines/reference/for-of26.js index 133ad856d2516..f8c1129199aec 100644 --- a/tests/baselines/reference/for-of26.js +++ b/tests/baselines/reference/for-of26.js @@ -14,6 +14,7 @@ var x: any; for (var v of new MyStringIterator) { } //// [for-of26.js] +"use strict"; class MyStringIterator { next() { return x; diff --git a/tests/baselines/reference/for-of27.js b/tests/baselines/reference/for-of27.js index eaa09a06b72b3..50ba890e9abf8 100644 --- a/tests/baselines/reference/for-of27.js +++ b/tests/baselines/reference/for-of27.js @@ -8,6 +8,7 @@ class MyStringIterator { for (var v of new MyStringIterator) { } //// [for-of27.js] +"use strict"; class MyStringIterator { } Symbol.iterator; diff --git a/tests/baselines/reference/for-of28.js b/tests/baselines/reference/for-of28.js index a144ef9260d38..6012565eee825 100644 --- a/tests/baselines/reference/for-of28.js +++ b/tests/baselines/reference/for-of28.js @@ -11,6 +11,7 @@ class MyStringIterator { for (var v of new MyStringIterator) { } //// [for-of28.js] +"use strict"; class MyStringIterator { [Symbol.iterator]() { return this; diff --git a/tests/baselines/reference/for-of29.js b/tests/baselines/reference/for-of29.js index af88e044ef90b..664ef4a1055fc 100644 --- a/tests/baselines/reference/for-of29.js +++ b/tests/baselines/reference/for-of29.js @@ -9,4 +9,5 @@ for (var v of iterableWithOptionalIterator) { } //// [for-of29.js] +"use strict"; for (var v of iterableWithOptionalIterator) { } diff --git a/tests/baselines/reference/for-of3.js b/tests/baselines/reference/for-of3.js index d7ab9b3c42184..b01d9604981e4 100644 --- a/tests/baselines/reference/for-of3.js +++ b/tests/baselines/reference/for-of3.js @@ -5,5 +5,6 @@ var v: any; for (v++ of []) { } //// [for-of3.js] +"use strict"; var v; for (v++ of []) { } diff --git a/tests/baselines/reference/for-of30.js b/tests/baselines/reference/for-of30.js index cb7a096a5a6b6..fcd8a37efdbac 100644 --- a/tests/baselines/reference/for-of30.js +++ b/tests/baselines/reference/for-of30.js @@ -19,6 +19,7 @@ class MyStringIterator { for (var v of new MyStringIterator) { } //// [for-of30.js] +"use strict"; class MyStringIterator { constructor() { this.return = 0; diff --git a/tests/baselines/reference/for-of31.js b/tests/baselines/reference/for-of31.js index 76395f273241c..db0aaea8edc7f 100644 --- a/tests/baselines/reference/for-of31.js +++ b/tests/baselines/reference/for-of31.js @@ -17,6 +17,7 @@ class MyStringIterator { for (var v of new MyStringIterator) { } //// [for-of31.js] +"use strict"; class MyStringIterator { next() { return { diff --git a/tests/baselines/reference/for-of32.js b/tests/baselines/reference/for-of32.js index 3290ec2732ccc..40a89511c29e3 100644 --- a/tests/baselines/reference/for-of32.js +++ b/tests/baselines/reference/for-of32.js @@ -4,4 +4,5 @@ for (var v of v) { } //// [for-of32.js] +"use strict"; for (var v of v) { } diff --git a/tests/baselines/reference/for-of33.js b/tests/baselines/reference/for-of33.js index 5018026b9651e..75bb0e3e47b15 100644 --- a/tests/baselines/reference/for-of33.js +++ b/tests/baselines/reference/for-of33.js @@ -10,6 +10,7 @@ class MyStringIterator { for (var v of new MyStringIterator) { } //// [for-of33.js] +"use strict"; class MyStringIterator { [Symbol.iterator]() { return v; diff --git a/tests/baselines/reference/for-of34.js b/tests/baselines/reference/for-of34.js index bb674e84e1c63..b3970a55c200e 100644 --- a/tests/baselines/reference/for-of34.js +++ b/tests/baselines/reference/for-of34.js @@ -14,6 +14,7 @@ class MyStringIterator { for (var v of new MyStringIterator) { } //// [for-of34.js] +"use strict"; class MyStringIterator { next() { return v; diff --git a/tests/baselines/reference/for-of35.js b/tests/baselines/reference/for-of35.js index 66b4d298db03a..9c7fb9d0177e6 100644 --- a/tests/baselines/reference/for-of35.js +++ b/tests/baselines/reference/for-of35.js @@ -17,6 +17,7 @@ class MyStringIterator { for (var v of new MyStringIterator) { } //// [for-of35.js] +"use strict"; class MyStringIterator { next() { return { diff --git a/tests/baselines/reference/for-of36.js b/tests/baselines/reference/for-of36.js index 0e1afd4064f12..b5ae9e085bb49 100644 --- a/tests/baselines/reference/for-of36.js +++ b/tests/baselines/reference/for-of36.js @@ -7,6 +7,7 @@ for (var v of tuple) { } //// [for-of36.js] +"use strict"; var tuple = ["", true]; for (var v of tuple) { v; diff --git a/tests/baselines/reference/for-of37.js b/tests/baselines/reference/for-of37.js index 24a99864fba67..931a5153cb75e 100644 --- a/tests/baselines/reference/for-of37.js +++ b/tests/baselines/reference/for-of37.js @@ -7,6 +7,7 @@ for (var v of map) { } //// [for-of37.js] +"use strict"; var map = new Map([["", true]]); for (var v of map) { v; diff --git a/tests/baselines/reference/for-of38.js b/tests/baselines/reference/for-of38.js index 9c16512e4da96..e080d393df798 100644 --- a/tests/baselines/reference/for-of38.js +++ b/tests/baselines/reference/for-of38.js @@ -8,6 +8,7 @@ for (var [k, v] of map) { } //// [for-of38.js] +"use strict"; var map = new Map([["", true]]); for (var [k, v] of map) { k; diff --git a/tests/baselines/reference/for-of39.js b/tests/baselines/reference/for-of39.js index d851662fc029c..d86950fcff277 100644 --- a/tests/baselines/reference/for-of39.js +++ b/tests/baselines/reference/for-of39.js @@ -8,6 +8,7 @@ for (var [k, v] of map) { } //// [for-of39.js] +"use strict"; var map = new Map([["", true], ["", 0]]); for (var [k, v] of map) { k; diff --git a/tests/baselines/reference/for-of4.js b/tests/baselines/reference/for-of4.js index b7bc970210e80..6866c441305d5 100644 --- a/tests/baselines/reference/for-of4.js +++ b/tests/baselines/reference/for-of4.js @@ -6,6 +6,7 @@ for (var v of [0]) { } //// [for-of4.js] +"use strict"; for (var v of [0]) { v; } diff --git a/tests/baselines/reference/for-of40.js b/tests/baselines/reference/for-of40.js index cf18260a6e91c..7dcd2e7774682 100644 --- a/tests/baselines/reference/for-of40.js +++ b/tests/baselines/reference/for-of40.js @@ -8,6 +8,7 @@ for (var [k = "", v = false] of map) { } //// [for-of40.js] +"use strict"; var map = new Map([["", true]]); for (var [k = "", v = false] of map) { k; diff --git a/tests/baselines/reference/for-of41.js b/tests/baselines/reference/for-of41.js index 21a6dadcd6e84..8e6cc12558ec4 100644 --- a/tests/baselines/reference/for-of41.js +++ b/tests/baselines/reference/for-of41.js @@ -8,6 +8,7 @@ for (var {x: [a], y: {p}} of array) { } //// [for-of41.js] +"use strict"; var array = [{ x: [0], y: { p: "" } }]; for (var { x: [a], y: { p } } of array) { a; diff --git a/tests/baselines/reference/for-of42.js b/tests/baselines/reference/for-of42.js index 484e7e8d117a8..01e9642b87a06 100644 --- a/tests/baselines/reference/for-of42.js +++ b/tests/baselines/reference/for-of42.js @@ -8,6 +8,7 @@ for (var {x: a, y: b} of array) { } //// [for-of42.js] +"use strict"; var array = [{ x: "", y: 0 }]; for (var { x: a, y: b } of array) { a; diff --git a/tests/baselines/reference/for-of43.js b/tests/baselines/reference/for-of43.js index d318fa2f51b83..03386dcfe9005 100644 --- a/tests/baselines/reference/for-of43.js +++ b/tests/baselines/reference/for-of43.js @@ -8,6 +8,7 @@ for (var {x: a = "", y: b = true} of array) { } //// [for-of43.js] +"use strict"; var array = [{ x: "", y: 0 }]; for (var { x: a = "", y: b = true } of array) { a; diff --git a/tests/baselines/reference/for-of44.js b/tests/baselines/reference/for-of44.js index 0bb854e96c8d0..d96a1b23d379e 100644 --- a/tests/baselines/reference/for-of44.js +++ b/tests/baselines/reference/for-of44.js @@ -8,6 +8,7 @@ for (var [num, strBoolSym] of array) { } //// [for-of44.js] +"use strict"; var array = [[0, ""], [0, true], [1, Symbol()]]; for (var [num, strBoolSym] of array) { num; diff --git a/tests/baselines/reference/for-of45.js b/tests/baselines/reference/for-of45.js index d5d022c5adc37..14deedc08c0de 100644 --- a/tests/baselines/reference/for-of45.js +++ b/tests/baselines/reference/for-of45.js @@ -9,6 +9,7 @@ for ([k = "", v = false] of map) { } //// [for-of45.js] +"use strict"; var k, v; var map = new Map([["", true]]); for ([k = "", v = false] of map) { diff --git a/tests/baselines/reference/for-of46.js b/tests/baselines/reference/for-of46.js index 6914e9c05e61b..5c64d5f7da3cc 100644 --- a/tests/baselines/reference/for-of46.js +++ b/tests/baselines/reference/for-of46.js @@ -9,6 +9,7 @@ for ([k = false, v = ""] of map) { } //// [for-of46.js] +"use strict"; var k, v; var map = new Map([["", true]]); for ([k = false, v = ""] of map) { diff --git a/tests/baselines/reference/for-of47.js b/tests/baselines/reference/for-of47.js index 422dce26e373d..70ac5edbcd001 100644 --- a/tests/baselines/reference/for-of47.js +++ b/tests/baselines/reference/for-of47.js @@ -10,6 +10,7 @@ for ({x, y: y = E.x} of array) { } //// [for-of47.js] +"use strict"; var x, y; var array = [{ x: "", y: true }]; var E; diff --git a/tests/baselines/reference/for-of48.js b/tests/baselines/reference/for-of48.js index 2cb54d656b5f2..c709879e47c1b 100644 --- a/tests/baselines/reference/for-of48.js +++ b/tests/baselines/reference/for-of48.js @@ -10,6 +10,7 @@ for ({x, y = E.x} of array) { } //// [for-of48.js] +"use strict"; var x, y; var array = [{ x: "", y: true }]; var E; diff --git a/tests/baselines/reference/for-of49.js b/tests/baselines/reference/for-of49.js index f1180a48b2c2b..2e0ae01a8f80a 100644 --- a/tests/baselines/reference/for-of49.js +++ b/tests/baselines/reference/for-of49.js @@ -9,6 +9,7 @@ for ([k, ...[v]] of map) { } //// [for-of49.js] +"use strict"; var k, v; var map = new Map([["", true]]); for ([k, ...[v]] of map) { diff --git a/tests/baselines/reference/for-of5.js b/tests/baselines/reference/for-of5.js index 18c7bb007d809..4e72b766d2c1c 100644 --- a/tests/baselines/reference/for-of5.js +++ b/tests/baselines/reference/for-of5.js @@ -6,6 +6,7 @@ for (let v of [0]) { } //// [for-of5.js] +"use strict"; for (let v of [0]) { v; } diff --git a/tests/baselines/reference/for-of50.js b/tests/baselines/reference/for-of50.js index 175cda7abc577..8a577ce50c5eb 100644 --- a/tests/baselines/reference/for-of50.js +++ b/tests/baselines/reference/for-of50.js @@ -8,6 +8,7 @@ for (const [k, v] of map) { } //// [for-of50.js] +"use strict"; var map = new Map([["", true]]); for (const [k, v] of map) { k; diff --git a/tests/baselines/reference/for-of51.errors.txt b/tests/baselines/reference/for-of51.errors.txt index b58f4ca58a42f..2df64cf3202ac 100644 --- a/tests/baselines/reference/for-of51.errors.txt +++ b/tests/baselines/reference/for-of51.errors.txt @@ -1,7 +1,10 @@ +for-of51.ts(1,10): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. for-of51.ts(1,10): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. -==== for-of51.ts (1 errors) ==== +==== for-of51.ts (2 errors) ==== for (let let of []) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. \ No newline at end of file diff --git a/tests/baselines/reference/for-of51.js b/tests/baselines/reference/for-of51.js index debc4360ea860..10847295d4f35 100644 --- a/tests/baselines/reference/for-of51.js +++ b/tests/baselines/reference/for-of51.js @@ -4,4 +4,5 @@ for (let let of []) {} //// [for-of51.js] +"use strict"; for (let let of []) { } diff --git a/tests/baselines/reference/for-of52.js b/tests/baselines/reference/for-of52.js index 024d977ddc11a..6137b00b5b1ad 100644 --- a/tests/baselines/reference/for-of52.js +++ b/tests/baselines/reference/for-of52.js @@ -4,4 +4,5 @@ for (let [v, v] of [[]]) {} //// [for-of52.js] +"use strict"; for (let [v, v] of [[]]) { } diff --git a/tests/baselines/reference/for-of53.js b/tests/baselines/reference/for-of53.js index 1c439df9a58e5..29b998818169a 100644 --- a/tests/baselines/reference/for-of53.js +++ b/tests/baselines/reference/for-of53.js @@ -6,6 +6,7 @@ for (let v of []) { } //// [for-of53.js] +"use strict"; for (let v of []) { var v; } diff --git a/tests/baselines/reference/for-of54.js b/tests/baselines/reference/for-of54.js index 8d1c88a76fe2c..22ffc5e2dadd7 100644 --- a/tests/baselines/reference/for-of54.js +++ b/tests/baselines/reference/for-of54.js @@ -6,6 +6,7 @@ for (let v of []) { } //// [for-of54.js] +"use strict"; for (let v of []) { var v = 0; } diff --git a/tests/baselines/reference/for-of55.js b/tests/baselines/reference/for-of55.js index 5c9d15052356e..08349d4556206 100644 --- a/tests/baselines/reference/for-of55.js +++ b/tests/baselines/reference/for-of55.js @@ -7,6 +7,7 @@ for (let v of v) { } //// [for-of55.js] +"use strict"; let v = [1]; for (let v of v) { v; diff --git a/tests/baselines/reference/for-of56.errors.txt b/tests/baselines/reference/for-of56.errors.txt new file mode 100644 index 0000000000000..d2b1cc974f91c --- /dev/null +++ b/tests/baselines/reference/for-of56.errors.txt @@ -0,0 +1,7 @@ +for-of56.ts(1,10): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + + +==== for-of56.ts (1 errors) ==== + for (var let of []) {} + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. \ No newline at end of file diff --git a/tests/baselines/reference/for-of56.js b/tests/baselines/reference/for-of56.js index 02c44effd6dfe..53cb67e67e2d8 100644 --- a/tests/baselines/reference/for-of56.js +++ b/tests/baselines/reference/for-of56.js @@ -4,4 +4,5 @@ for (var let of []) {} //// [for-of56.js] +"use strict"; for (var let of []) { } diff --git a/tests/baselines/reference/for-of56.types b/tests/baselines/reference/for-of56.types index 8c4b7a9d8a4df..0571d0cd09367 100644 --- a/tests/baselines/reference/for-of56.types +++ b/tests/baselines/reference/for-of56.types @@ -3,6 +3,7 @@ === for-of56.ts === for (var let of []) {} >let : any +> : ^^^ >[] : undefined[] > : ^^^^^^^^^^^ diff --git a/tests/baselines/reference/for-of57.js b/tests/baselines/reference/for-of57.js index 8654d110a312c..07ed4de30841a 100644 --- a/tests/baselines/reference/for-of57.js +++ b/tests/baselines/reference/for-of57.js @@ -5,5 +5,6 @@ var iter: Iterable; for (let num of iter) { } //// [for-of57.js] +"use strict"; var iter; for (let num of iter) { } diff --git a/tests/baselines/reference/for-of58.js b/tests/baselines/reference/for-of58.js index 2536e19915566..e937771390a4e 100644 --- a/tests/baselines/reference/for-of58.js +++ b/tests/baselines/reference/for-of58.js @@ -13,6 +13,7 @@ for (const item of arr) { //// [for-of58.js] +"use strict"; for (const item of arr) { item.x; item.y; diff --git a/tests/baselines/reference/for-of6.js b/tests/baselines/reference/for-of6.js index c49eebc43b502..79a68d678c9ac 100644 --- a/tests/baselines/reference/for-of6.js +++ b/tests/baselines/reference/for-of6.js @@ -6,6 +6,7 @@ for (v of [0]) { } //// [for-of6.js] +"use strict"; for (v of [0]) { let v; } diff --git a/tests/baselines/reference/for-of7.js b/tests/baselines/reference/for-of7.js index b4251df6ffa44..8996c89eac77e 100644 --- a/tests/baselines/reference/for-of7.js +++ b/tests/baselines/reference/for-of7.js @@ -5,5 +5,6 @@ v; for (let v of [0]) { } //// [for-of7.js] +"use strict"; v; for (let v of [0]) { } diff --git a/tests/baselines/reference/for-of8.js b/tests/baselines/reference/for-of8.js index 70cefca8a616f..a27d3fc20d240 100644 --- a/tests/baselines/reference/for-of8.js +++ b/tests/baselines/reference/for-of8.js @@ -5,5 +5,6 @@ v; for (var v of [0]) { } //// [for-of8.js] +"use strict"; v; for (var v of [0]) { } diff --git a/tests/baselines/reference/for-of9.js b/tests/baselines/reference/for-of9.js index a5f9a966c687e..9ec6be5359ecb 100644 --- a/tests/baselines/reference/for-of9.js +++ b/tests/baselines/reference/for-of9.js @@ -6,6 +6,7 @@ for (v of ["hello"]) { } for (v of "hello") { } //// [for-of9.js] +"use strict"; var v; for (v of ["hello"]) { } for (v of "hello") { } diff --git a/tests/baselines/reference/for.js b/tests/baselines/reference/for.js index 40484e9f15ac1..684ce6dc60550 100644 --- a/tests/baselines/reference/for.js +++ b/tests/baselines/reference/for.js @@ -33,6 +33,7 @@ for () { // error } //// [for.js] +"use strict"; for (var i = 0; i < 10; i++) { // ok var x1 = i; } diff --git a/tests/baselines/reference/forAwaitForUnion.js b/tests/baselines/reference/forAwaitForUnion.js index fa6547858355a..26d294193f05d 100644 --- a/tests/baselines/reference/forAwaitForUnion.js +++ b/tests/baselines/reference/forAwaitForUnion.js @@ -8,6 +8,7 @@ async function f(source: Iterable | AsyncIterable) { //// [forAwaitForUnion.js] +"use strict"; async function f(source) { for await (const x of source) { } diff --git a/tests/baselines/reference/forAwaitPerIterationBindingDownlevel.js b/tests/baselines/reference/forAwaitPerIterationBindingDownlevel.js index b9d78e748190a..0b356e4ced2a9 100644 --- a/tests/baselines/reference/forAwaitPerIterationBindingDownlevel.js +++ b/tests/baselines/reference/forAwaitPerIterationBindingDownlevel.js @@ -27,6 +27,7 @@ const log = console.log; })(); //// [forAwaitPerIterationBindingDownlevel.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { @@ -83,7 +84,6 @@ var __asyncValues = (this && this.__asyncValues) || function (o) { function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; } function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); } }; -var _this = this; var sleep = function (tm) { return new Promise(function (resolve) { return setTimeout(resolve, tm); }); }; function gen() { return __asyncGenerator(this, arguments, function gen_1() { @@ -106,9 +106,8 @@ function gen() { }); } var log = console.log; -(function () { return __awaiter(_this, void 0, void 0, function () { +(function () { return __awaiter(void 0, void 0, void 0, function () { var _loop_1, _a, _b, _c, e_1_1; - var _this = this; var _d, e_1, _e, _f; return __generator(this, function (_g) { switch (_g.label) { @@ -119,7 +118,7 @@ var log = console.log; _a = false; var outer = _f; log("I'm loop ".concat(outer)); - (function () { return __awaiter(_this, void 0, void 0, function () { + (function () { return __awaiter(void 0, void 0, void 0, function () { var inner; return __generator(this, function (_a) { switch (_a.label) { diff --git a/tests/baselines/reference/forBreakStatements.js b/tests/baselines/reference/forBreakStatements.js index 422a5c28bf274..f992b684c93c9 100644 --- a/tests/baselines/reference/forBreakStatements.js +++ b/tests/baselines/reference/forBreakStatements.js @@ -40,6 +40,7 @@ for (; ;) { //// [forBreakStatements.js] +"use strict"; for (;;) { break; } diff --git a/tests/baselines/reference/forContinueStatements.js b/tests/baselines/reference/forContinueStatements.js index a1f4cd5af09af..75f24290c7540 100644 --- a/tests/baselines/reference/forContinueStatements.js +++ b/tests/baselines/reference/forContinueStatements.js @@ -40,6 +40,7 @@ for (; ;) { //// [forContinueStatements.js] +"use strict"; for (;;) { continue; } diff --git a/tests/baselines/reference/forIn.js b/tests/baselines/reference/forIn.js index f2828c0a08684..cb72dd72164cd 100644 --- a/tests/baselines/reference/forIn.js +++ b/tests/baselines/reference/forIn.js @@ -24,6 +24,7 @@ for (var l in arr) { } //// [forIn.js] +"use strict"; var arr = null; for (var i in arr) { // error var x1 = arr[i]; diff --git a/tests/baselines/reference/forIn2.js b/tests/baselines/reference/forIn2.js index cba414ded51fc..8f3dcb8224f23 100644 --- a/tests/baselines/reference/forIn2.js +++ b/tests/baselines/reference/forIn2.js @@ -5,5 +5,6 @@ for (var i in 1) { } //// [forIn2.js] +"use strict"; for (var i in 1) { } diff --git a/tests/baselines/reference/forInBreakStatements.js b/tests/baselines/reference/forInBreakStatements.js index 9b3f7d875a207..a00a737cd8548 100644 --- a/tests/baselines/reference/forInBreakStatements.js +++ b/tests/baselines/reference/forInBreakStatements.js @@ -40,6 +40,7 @@ for (var x in {}){ //// [forInBreakStatements.js] +"use strict"; for (var x in {}) { break; } diff --git a/tests/baselines/reference/forInContinueStatements.js b/tests/baselines/reference/forInContinueStatements.js index ddcb46caab2f7..4fb18ba8c2e2f 100644 --- a/tests/baselines/reference/forInContinueStatements.js +++ b/tests/baselines/reference/forInContinueStatements.js @@ -40,6 +40,7 @@ for (var x in {}){ //// [forInContinueStatements.js] +"use strict"; for (var x in {}) { continue; } diff --git a/tests/baselines/reference/forInModule.js b/tests/baselines/reference/forInModule.js index de658b57e6d58..e2f659ef50961 100644 --- a/tests/baselines/reference/forInModule.js +++ b/tests/baselines/reference/forInModule.js @@ -8,6 +8,7 @@ namespace Foo { } //// [forInModule.js] +"use strict"; var Foo; (function (Foo) { for (var i = 0; i < 1; i++) { diff --git a/tests/baselines/reference/forInStatement1.js b/tests/baselines/reference/forInStatement1.js index cd0794506b4c0..eb5f92a8eb1f8 100644 --- a/tests/baselines/reference/forInStatement1.js +++ b/tests/baselines/reference/forInStatement1.js @@ -6,6 +6,7 @@ for (var a in expr) { } //// [forInStatement1.js] +"use strict"; var expr; for (var a in expr) { } diff --git a/tests/baselines/reference/forInStatement2.js b/tests/baselines/reference/forInStatement2.js index add41eb72115e..44cd00be8eb90 100644 --- a/tests/baselines/reference/forInStatement2.js +++ b/tests/baselines/reference/forInStatement2.js @@ -6,5 +6,6 @@ for (var a in expr) { } //// [forInStatement2.js] +"use strict"; for (var a in expr) { } diff --git a/tests/baselines/reference/forInStatement3.js b/tests/baselines/reference/forInStatement3.js index bd1c7dd374ef2..c0fd38ffb1590 100644 --- a/tests/baselines/reference/forInStatement3.js +++ b/tests/baselines/reference/forInStatement3.js @@ -8,6 +8,7 @@ function F() { } //// [forInStatement3.js] +"use strict"; function F() { var expr; for (var a in expr) { diff --git a/tests/baselines/reference/forInStatement4.js b/tests/baselines/reference/forInStatement4.js index 293aff7587025..5fb4990c9834f 100644 --- a/tests/baselines/reference/forInStatement4.js +++ b/tests/baselines/reference/forInStatement4.js @@ -6,6 +6,7 @@ for (var a: number in expr) { } //// [forInStatement4.js] +"use strict"; var expr; for (var a in expr) { } diff --git a/tests/baselines/reference/forInStatement5.js b/tests/baselines/reference/forInStatement5.js index 2fd3e03d19776..f0ed36ea39a32 100644 --- a/tests/baselines/reference/forInStatement5.js +++ b/tests/baselines/reference/forInStatement5.js @@ -7,6 +7,7 @@ for (a in expr) { } //// [forInStatement5.js] +"use strict"; var a; var expr; for (a in expr) { diff --git a/tests/baselines/reference/forInStatement6.js b/tests/baselines/reference/forInStatement6.js index 67b43e3bb651c..f3f71021d3ede 100644 --- a/tests/baselines/reference/forInStatement6.js +++ b/tests/baselines/reference/forInStatement6.js @@ -7,6 +7,7 @@ for (a in expr) { } //// [forInStatement6.js] +"use strict"; var a; var expr; for (a in expr) { diff --git a/tests/baselines/reference/forInStatement7.js b/tests/baselines/reference/forInStatement7.js index 323b2397b137f..c216136577ac3 100644 --- a/tests/baselines/reference/forInStatement7.js +++ b/tests/baselines/reference/forInStatement7.js @@ -7,6 +7,7 @@ for (a in expr) { } //// [forInStatement7.js] +"use strict"; var a; var expr; for (a in expr) { diff --git a/tests/baselines/reference/forInStrictNullChecksNoError.js b/tests/baselines/reference/forInStrictNullChecksNoError.js index 45b8764d0cd22..b02cbfd87bbd6 100644 --- a/tests/baselines/reference/forInStrictNullChecksNoError.js +++ b/tests/baselines/reference/forInStrictNullChecksNoError.js @@ -9,6 +9,7 @@ function f(x: { [key: string]: number; } | null | undefined) { } //// [forInStrictNullChecksNoError.js] +"use strict"; function f(x) { for (var key in x) { // 1 console.log(x[key]); // 2 diff --git a/tests/baselines/reference/forLoopWithDestructuringDoesNotElideFollowingStatement.js b/tests/baselines/reference/forLoopWithDestructuringDoesNotElideFollowingStatement.js index ee23c28d98912..880447c665a30 100644 --- a/tests/baselines/reference/forLoopWithDestructuringDoesNotElideFollowingStatement.js +++ b/tests/baselines/reference/forLoopWithDestructuringDoesNotElideFollowingStatement.js @@ -6,6 +6,7 @@ for (let { a, ...rest } of array) void a //// [forLoopWithDestructuringDoesNotElideFollowingStatement.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/forOfStringConstituents.js b/tests/baselines/reference/forOfStringConstituents.js index b5fb226b9f66c..29f7a810d258c 100644 --- a/tests/baselines/reference/forOfStringConstituents.js +++ b/tests/baselines/reference/forOfStringConstituents.js @@ -11,6 +11,7 @@ declare let x: AB, y: CD; for (y of x.y); //// [forOfStringConstituents.js] +"use strict"; for (var _i = 0, _a = x.y; _i < _a.length; _i++) { y = _a[_i]; ; diff --git a/tests/baselines/reference/forOfTransformsExpression.js b/tests/baselines/reference/forOfTransformsExpression.js index 6c54bc5092da5..b318945705bfb 100644 --- a/tests/baselines/reference/forOfTransformsExpression.js +++ b/tests/baselines/reference/forOfTransformsExpression.js @@ -8,6 +8,7 @@ for (var item of items.sort((a, b) => a.name.localeCompare(b.name))) { } //// [forOfTransformsExpression.js] +"use strict"; // https://github.com/Microsoft/TypeScript/issues/11024 var items = [{ name: "A" }, { name: "C" }, { name: "B" }]; for (var _i = 0, _a = items.sort(function (a, b) { return a.name.localeCompare(b.name); }); _i < _a.length; _i++) { diff --git a/tests/baselines/reference/forStatementInnerComments.js b/tests/baselines/reference/forStatementInnerComments.js index 0fab068fd3e24..fdc211448fdbc 100644 --- a/tests/baselines/reference/forStatementInnerComments.js +++ b/tests/baselines/reference/forStatementInnerComments.js @@ -10,6 +10,7 @@ declare var a; //// [forStatementInnerComments.js] +"use strict"; /*0*/ for /*1*/ ( /*2*/var /*3*/ x /*4*/ in /*5*/ a /*6*/) /*7*/ { } /*0*/ for /*1*/ ( /*2*/var /*3*/ y /*4*/ of /*5*/ a /*6*/) /*7*/ { } /*0*/ for /*1*/ ( /*2*/x /*3*/ in /*4*/ a /*5*/) /*6*/ { } diff --git a/tests/baselines/reference/forStatements.js b/tests/baselines/reference/forStatements.js index f8fea59fec9ca..a93424c9d2e3e 100644 --- a/tests/baselines/reference/forStatements.js +++ b/tests/baselines/reference/forStatements.js @@ -49,6 +49,7 @@ for(var aClassInModule: M.A = new M.A();;){} for(var aFunctionInModule: typeof M.F2 = (x) => 'this is a string';;){} //// [forStatements.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/forStatementsMultipleInvalidDecl.js b/tests/baselines/reference/forStatementsMultipleInvalidDecl.js index f9ffc3205377f..86dcf0a7efab6 100644 --- a/tests/baselines/reference/forStatementsMultipleInvalidDecl.js +++ b/tests/baselines/reference/forStatementsMultipleInvalidDecl.js @@ -56,6 +56,7 @@ for(var m: typeof M;;){} for( var m = M.A;;){} //// [forStatementsMultipleInvalidDecl.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/forStatementsMultipleValidDecl.js b/tests/baselines/reference/forStatementsMultipleValidDecl.js index 89d27a9d587a3..08db4db06e037 100644 --- a/tests/baselines/reference/forStatementsMultipleValidDecl.js +++ b/tests/baselines/reference/forStatementsMultipleValidDecl.js @@ -36,6 +36,7 @@ for (var a = new Array(); ;) { } for (var a: typeof a; ;) { } //// [forStatementsMultipleValidDecl.js] +"use strict"; // all expected to be valid for (var x;;) { } for (var x = 2;;) { } diff --git a/tests/baselines/reference/forgottenNew.js b/tests/baselines/reference/forgottenNew.js index b7f93c0fa7c1b..89dc11cf123da 100644 --- a/tests/baselines/reference/forgottenNew.js +++ b/tests/baselines/reference/forgottenNew.js @@ -8,6 +8,7 @@ namespace Tools { var logger = Tools.NullLogger(); //// [forgottenNew.js] +"use strict"; var Tools; (function (Tools) { var NullLogger = /** @class */ (function () { diff --git a/tests/baselines/reference/formatToPartsFractionalSecond.js b/tests/baselines/reference/formatToPartsFractionalSecond.js index ca32959da6768..d286b9cce42f2 100644 --- a/tests/baselines/reference/formatToPartsFractionalSecond.js +++ b/tests/baselines/reference/formatToPartsFractionalSecond.js @@ -4,4 +4,5 @@ new Intl.DateTimeFormat().formatToParts().find((val) => val.type === 'fractionalSecond') //// [formatToPartsFractionalSecond.js] +"use strict"; new Intl.DateTimeFormat().formatToParts().find((val) => val.type === 'fractionalSecond'); diff --git a/tests/baselines/reference/forwardDeclaredCommonTypes01.js b/tests/baselines/reference/forwardDeclaredCommonTypes01.js index 10ee9961faf0c..23bcd37a98aae 100644 --- a/tests/baselines/reference/forwardDeclaredCommonTypes01.js +++ b/tests/baselines/reference/forwardDeclaredCommonTypes01.js @@ -19,6 +19,7 @@ interface WeakSet {} //// [forwardDeclaredCommonTypes01.js] +"use strict"; (function () { new Promise; new Symbol; diff --git a/tests/baselines/reference/forwardRefInClassProperties.js b/tests/baselines/reference/forwardRefInClassProperties.js index 3f5d1ab17496e..f4feb26ec8d0c 100644 --- a/tests/baselines/reference/forwardRefInClassProperties.js +++ b/tests/baselines/reference/forwardRefInClassProperties.js @@ -18,6 +18,7 @@ class Test //// [forwardRefInClassProperties.js] +"use strict"; var Test = /** @class */ (function () { function Test() { this._b = this._a; // undefined, no error/warning diff --git a/tests/baselines/reference/forwardRefInEnum.js b/tests/baselines/reference/forwardRefInEnum.js index ac5e142d2dccd..ad37ec5fdb9d5 100644 --- a/tests/baselines/reference/forwardRefInEnum.js +++ b/tests/baselines/reference/forwardRefInEnum.js @@ -17,6 +17,7 @@ enum E1 { //// [forwardRefInEnum.js] +"use strict"; var E1; (function (E1) { // illegal case diff --git a/tests/baselines/reference/forwardRefInTypeDeclaration(strict=false).js b/tests/baselines/reference/forwardRefInTypeDeclaration(strict=false).js index 418e8aee5ef4f..4dc1434629c6a 100644 --- a/tests/baselines/reference/forwardRefInTypeDeclaration(strict=false).js +++ b/tests/baselines/reference/forwardRefInTypeDeclaration(strict=false).js @@ -30,6 +30,7 @@ const obj2 = { d: 'd' } as const //// [forwardRefInTypeDeclaration.js] +"use strict"; var s1 = "x"; var s2 = "x"; var s3 = "x"; diff --git a/tests/baselines/reference/freshLiteralInference.js b/tests/baselines/reference/freshLiteralInference.js index dbab8813870cb..ff848e4af4ac4 100644 --- a/tests/baselines/reference/freshLiteralInference.js +++ b/tests/baselines/reference/freshLiteralInference.js @@ -18,6 +18,7 @@ let x3 = obj3.value; // before: string, after: "1" //// [freshLiteralInference.js] +"use strict"; var value = f1("1"); // regular "1" var x1 = value; // regular "1" var obj2 = f2({ value: "1" }); // { value: regular "1" } diff --git a/tests/baselines/reference/fromAsIdentifier1.js b/tests/baselines/reference/fromAsIdentifier1.js index 6c8bee35c9f94..fbd0a9b06f80a 100644 --- a/tests/baselines/reference/fromAsIdentifier1.js +++ b/tests/baselines/reference/fromAsIdentifier1.js @@ -4,4 +4,5 @@ var from; //// [fromAsIdentifier1.js] +"use strict"; var from; diff --git a/tests/baselines/reference/funClodule.js b/tests/baselines/reference/funClodule.js index 4ec1a4543cc59..7e75ddd601d7c 100644 --- a/tests/baselines/reference/funClodule.js +++ b/tests/baselines/reference/funClodule.js @@ -22,6 +22,7 @@ namespace foo3 { class foo3 { } // Should error //// [funClodule.js] +"use strict"; function foo3() { } (function (foo3) { function x() { } diff --git a/tests/baselines/reference/funcdecl.js b/tests/baselines/reference/funcdecl.js index f42ffa5e4c5df..d1f65624a9771 100644 --- a/tests/baselines/reference/funcdecl.js +++ b/tests/baselines/reference/funcdecl.js @@ -74,6 +74,7 @@ var f2 = () => { } //// [funcdecl.js] +"use strict"; function simpleFunc() { return "this is my simple func"; } diff --git a/tests/baselines/reference/functionAndInterfaceWithSeparateErrors.js b/tests/baselines/reference/functionAndInterfaceWithSeparateErrors.js index e9c38e9029724..a8aa5a2f4e9a9 100644 --- a/tests/baselines/reference/functionAndInterfaceWithSeparateErrors.js +++ b/tests/baselines/reference/functionAndInterfaceWithSeparateErrors.js @@ -10,4 +10,5 @@ interface Foo { } //// [functionAndInterfaceWithSeparateErrors.js] +"use strict"; function Foo(n) { } diff --git a/tests/baselines/reference/functionAndPropertyNameConflict.js b/tests/baselines/reference/functionAndPropertyNameConflict.js index b2cb4cafc8be5..fd11611788c34 100644 --- a/tests/baselines/reference/functionAndPropertyNameConflict.js +++ b/tests/baselines/reference/functionAndPropertyNameConflict.js @@ -9,6 +9,7 @@ class C65 { } //// [functionAndPropertyNameConflict.js] +"use strict"; var C65 = /** @class */ (function () { function C65() { } diff --git a/tests/baselines/reference/functionArgShadowing.js b/tests/baselines/reference/functionArgShadowing.js index d640ae619fef0..f904b87547fdc 100644 --- a/tests/baselines/reference/functionArgShadowing.js +++ b/tests/baselines/reference/functionArgShadowing.js @@ -17,6 +17,7 @@ class C { } //// [functionArgShadowing.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/functionAssignabilityWithArrayLike01(strict=false).js b/tests/baselines/reference/functionAssignabilityWithArrayLike01(strict=false).js index c7ccb5d14cb3d..e06c4cdf73e8a 100644 --- a/tests/baselines/reference/functionAssignabilityWithArrayLike01(strict=false).js +++ b/tests/baselines/reference/functionAssignabilityWithArrayLike01(strict=false).js @@ -5,5 +5,6 @@ function func() {} const array: ArrayLike = func; //// [functionAssignabilityWithArrayLike01.js] +"use strict"; function func() { } var array = func; diff --git a/tests/baselines/reference/functionAssignment.js b/tests/baselines/reference/functionAssignment.js index 41f3940947ef6..1f5d36178c133 100644 --- a/tests/baselines/reference/functionAssignment.js +++ b/tests/baselines/reference/functionAssignment.js @@ -40,6 +40,7 @@ callb((a) =>{ a.length; }); //// [functionAssignment.js] +"use strict"; function f(n) { } f(function () { }); test.get(function (param) { diff --git a/tests/baselines/reference/functionAssignmentError.js b/tests/baselines/reference/functionAssignmentError.js index abcac4476a231..feaea86a20cbd 100644 --- a/tests/baselines/reference/functionAssignmentError.js +++ b/tests/baselines/reference/functionAssignmentError.js @@ -5,5 +5,6 @@ var func = function (){return "ONE";}; func = function (){return "ONE";}; //// [functionAssignmentError.js] +"use strict"; var func = function () { return "ONE"; }; func = function () { return "ONE"; }; diff --git a/tests/baselines/reference/functionCall1.js b/tests/baselines/reference/functionCall1.js index c50dc64fc31a9..068b02f1d3c66 100644 --- a/tests/baselines/reference/functionCall1.js +++ b/tests/baselines/reference/functionCall1.js @@ -5,6 +5,7 @@ function foo():any{return ""}; var x = foo(); //// [functionCall1.js] +"use strict"; function foo() { return ""; } ; var x = foo(); diff --git a/tests/baselines/reference/functionCall10.js b/tests/baselines/reference/functionCall10.js index 6638fe415d04c..9aea5f08fa2c8 100644 --- a/tests/baselines/reference/functionCall10.js +++ b/tests/baselines/reference/functionCall10.js @@ -9,6 +9,7 @@ foo(1, 'bar'); //// [functionCall10.js] +"use strict"; function foo() { var a = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/functionCall11.js b/tests/baselines/reference/functionCall11.js index 8985fc8e69181..97cfd1b3172e8 100644 --- a/tests/baselines/reference/functionCall11.js +++ b/tests/baselines/reference/functionCall11.js @@ -10,6 +10,7 @@ foo('foo', 1, 'bar'); //// [functionCall11.js] +"use strict"; function foo(a, b) { } foo('foo', 1); foo('foo'); diff --git a/tests/baselines/reference/functionCall12.js b/tests/baselines/reference/functionCall12.js index 7742284f224eb..bc874408581dd 100644 --- a/tests/baselines/reference/functionCall12.js +++ b/tests/baselines/reference/functionCall12.js @@ -11,6 +11,7 @@ foo('foo', 1, 3); //// [functionCall12.js] +"use strict"; function foo(a, b, c) { } foo('foo', 1); foo('foo'); diff --git a/tests/baselines/reference/functionCall13.js b/tests/baselines/reference/functionCall13.js index 3a317ef59a796..6e4eeae5c9a10 100644 --- a/tests/baselines/reference/functionCall13.js +++ b/tests/baselines/reference/functionCall13.js @@ -10,6 +10,7 @@ foo('foo', 1, 3); //// [functionCall13.js] +"use strict"; function foo(a) { var b = []; for (var _i = 1; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/functionCall14.js b/tests/baselines/reference/functionCall14.js index e724acd972aaa..6cb6173f39802 100644 --- a/tests/baselines/reference/functionCall14.js +++ b/tests/baselines/reference/functionCall14.js @@ -10,6 +10,7 @@ foo('foo', 1, 3); //// [functionCall14.js] +"use strict"; function foo(a) { var b = []; for (var _i = 1; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/functionCall15.js b/tests/baselines/reference/functionCall15.js index 190c8eaf97062..a7249d90305f3 100644 --- a/tests/baselines/reference/functionCall15.js +++ b/tests/baselines/reference/functionCall15.js @@ -4,6 +4,7 @@ function foo(a?:string, b?:number, ...b:number[]){} //// [functionCall15.js] +"use strict"; function foo(a, b) { var b = []; for (var _i = 2; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/functionCall16.js b/tests/baselines/reference/functionCall16.js index 318633784090e..6dcbab0bade3a 100644 --- a/tests/baselines/reference/functionCall16.js +++ b/tests/baselines/reference/functionCall16.js @@ -11,6 +11,7 @@ foo('foo', 'bar', 3); //// [functionCall16.js] +"use strict"; function foo(a, b) { var c = []; for (var _i = 2; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/functionCall17.js b/tests/baselines/reference/functionCall17.js index 34900cad32b04..88776a4a77a54 100644 --- a/tests/baselines/reference/functionCall17.js +++ b/tests/baselines/reference/functionCall17.js @@ -11,6 +11,7 @@ foo('foo', 'bar', 3, 4); //// [functionCall17.js] +"use strict"; function foo(a, b, c) { var d = []; for (var _i = 3; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/functionCall18.js b/tests/baselines/reference/functionCall18.js index 19209b72a14b2..0df4ba215f0c8 100644 --- a/tests/baselines/reference/functionCall18.js +++ b/tests/baselines/reference/functionCall18.js @@ -8,4 +8,5 @@ foo("hello"); //// [functionCall18.js] +"use strict"; foo("hello"); diff --git a/tests/baselines/reference/functionCall2.js b/tests/baselines/reference/functionCall2.js index da85c7a9a22e3..e6c0b3013007f 100644 --- a/tests/baselines/reference/functionCall2.js +++ b/tests/baselines/reference/functionCall2.js @@ -5,6 +5,7 @@ function foo():number{return 1}; var x = foo(); //// [functionCall2.js] +"use strict"; function foo() { return 1; } ; var x = foo(); diff --git a/tests/baselines/reference/functionCall3.js b/tests/baselines/reference/functionCall3.js index c2624029973e3..0913dfcc05990 100644 --- a/tests/baselines/reference/functionCall3.js +++ b/tests/baselines/reference/functionCall3.js @@ -5,5 +5,6 @@ function foo():any[]{return [1];} var x = foo(); //// [functionCall3.js] +"use strict"; function foo() { return [1]; } var x = foo(); diff --git a/tests/baselines/reference/functionCall4.js b/tests/baselines/reference/functionCall4.js index 81815ef8730bf..bf0a00a401696 100644 --- a/tests/baselines/reference/functionCall4.js +++ b/tests/baselines/reference/functionCall4.js @@ -6,6 +6,7 @@ function bar():()=>any{return foo}; var x = bar(); //// [functionCall4.js] +"use strict"; function foo() { return ""; } ; function bar() { return foo; } diff --git a/tests/baselines/reference/functionCall5.js b/tests/baselines/reference/functionCall5.js index 0912495d56181..5c8cc935f2c7e 100644 --- a/tests/baselines/reference/functionCall5.js +++ b/tests/baselines/reference/functionCall5.js @@ -6,6 +6,7 @@ function foo():m1.c1{return new m1.c1();}; var x = foo(); //// [functionCall5.js] +"use strict"; var m1; (function (m1) { var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/functionCall6.js b/tests/baselines/reference/functionCall6.js index a1f9d6af9af33..dbb00ee5c1e05 100644 --- a/tests/baselines/reference/functionCall6.js +++ b/tests/baselines/reference/functionCall6.js @@ -9,6 +9,7 @@ foo(); //// [functionCall6.js] +"use strict"; function foo(a) { } ; foo('bar'); diff --git a/tests/baselines/reference/functionCall7.js b/tests/baselines/reference/functionCall7.js index e986596fd6fb3..47b314a8d8f32 100644 --- a/tests/baselines/reference/functionCall7.js +++ b/tests/baselines/reference/functionCall7.js @@ -11,6 +11,7 @@ foo(); //// [functionCall7.js] +"use strict"; var m1; (function (m1) { var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/functionCall8.js b/tests/baselines/reference/functionCall8.js index 85dd767865213..903f601e45954 100644 --- a/tests/baselines/reference/functionCall8.js +++ b/tests/baselines/reference/functionCall8.js @@ -9,6 +9,7 @@ foo(); //// [functionCall8.js] +"use strict"; function foo(a) { } foo('foo'); foo('foo', 'bar'); diff --git a/tests/baselines/reference/functionCall9.js b/tests/baselines/reference/functionCall9.js index cb08bda3ef4ad..d721353f15bf0 100644 --- a/tests/baselines/reference/functionCall9.js +++ b/tests/baselines/reference/functionCall9.js @@ -9,6 +9,7 @@ foo('foo', 1, 'bar'); foo(); //// [functionCall9.js] +"use strict"; function foo(a, b) { } ; foo('foo', 1); diff --git a/tests/baselines/reference/functionCalls.js b/tests/baselines/reference/functionCalls.js index bfddf4005e54c..a39d4df0a1413 100644 --- a/tests/baselines/reference/functionCalls.js +++ b/tests/baselines/reference/functionCalls.js @@ -38,6 +38,7 @@ func(); //// [functionCalls.js] +"use strict"; anyVar(0); anyVar(''); // Invoke function call on value of type 'any' with type arguments diff --git a/tests/baselines/reference/functionConstraintSatisfaction.js b/tests/baselines/reference/functionConstraintSatisfaction.js index b5fe69b0b8e61..9516afa0fef2d 100644 --- a/tests/baselines/reference/functionConstraintSatisfaction.js +++ b/tests/baselines/reference/functionConstraintSatisfaction.js @@ -64,6 +64,7 @@ function foo2(x: T, y: U) { //} //// [functionConstraintSatisfaction.js] +"use strict"; // satisfaction of a constraint to Function, no errors expected function foo(x) { return x; } var i; diff --git a/tests/baselines/reference/functionConstraintSatisfaction2.js b/tests/baselines/reference/functionConstraintSatisfaction2.js index 151b325a843bf..5047dce68399e 100644 --- a/tests/baselines/reference/functionConstraintSatisfaction2.js +++ b/tests/baselines/reference/functionConstraintSatisfaction2.js @@ -43,6 +43,7 @@ function fff(x: T, y: U) { //// [functionConstraintSatisfaction2.js] +"use strict"; // satisfaction of a constraint to Function, all of these invocations are errors unless otherwise noted function foo(x) { return x; } foo(1); diff --git a/tests/baselines/reference/functionConstraintSatisfaction3.js b/tests/baselines/reference/functionConstraintSatisfaction3.js index 63973e78f2168..33227b772dbae 100644 --- a/tests/baselines/reference/functionConstraintSatisfaction3.js +++ b/tests/baselines/reference/functionConstraintSatisfaction3.js @@ -44,6 +44,7 @@ var r12 = foo(i2); var r15 = foo(c2); //// [functionConstraintSatisfaction3.js] +"use strict"; // satisfaction of a constraint to Function, no errors expected function foo(x) { return x; } var i; diff --git a/tests/baselines/reference/functionDeclarationWithArgumentOfTypeFunctionTypeArray.js b/tests/baselines/reference/functionDeclarationWithArgumentOfTypeFunctionTypeArray.js index 542ef9a96476d..155633cb04e42 100644 --- a/tests/baselines/reference/functionDeclarationWithArgumentOfTypeFunctionTypeArray.js +++ b/tests/baselines/reference/functionDeclarationWithArgumentOfTypeFunctionTypeArray.js @@ -7,6 +7,7 @@ function foo(args: { (x): number }[]) { //// [functionDeclarationWithArgumentOfTypeFunctionTypeArray.js] +"use strict"; function foo(args) { return args.length; } diff --git a/tests/baselines/reference/functionDeclarationWithResolutionOfTypeNamedArguments01.js b/tests/baselines/reference/functionDeclarationWithResolutionOfTypeNamedArguments01.js index 7f4e143f86f1a..9ce5548065699 100644 --- a/tests/baselines/reference/functionDeclarationWithResolutionOfTypeNamedArguments01.js +++ b/tests/baselines/reference/functionDeclarationWithResolutionOfTypeNamedArguments01.js @@ -9,6 +9,7 @@ function f() { } //// [functionDeclarationWithResolutionOfTypeNamedArguments01.js] +"use strict"; function f() { arguments; } diff --git a/tests/baselines/reference/functionDeclarationWithResolutionOfTypeOfSameName01.js b/tests/baselines/reference/functionDeclarationWithResolutionOfTypeOfSameName01.js index 6de3a8f8afeb4..fa2add4a211a3 100644 --- a/tests/baselines/reference/functionDeclarationWithResolutionOfTypeOfSameName01.js +++ b/tests/baselines/reference/functionDeclarationWithResolutionOfTypeOfSameName01.js @@ -9,6 +9,7 @@ function f() { } //// [functionDeclarationWithResolutionOfTypeOfSameName01.js] +"use strict"; function f() { f; } diff --git a/tests/baselines/reference/functionExpressionAndLambdaMatchesFunction.js b/tests/baselines/reference/functionExpressionAndLambdaMatchesFunction.js index ec0acecd1adaf..747178edbdb62 100644 --- a/tests/baselines/reference/functionExpressionAndLambdaMatchesFunction.js +++ b/tests/baselines/reference/functionExpressionAndLambdaMatchesFunction.js @@ -12,6 +12,7 @@ class CDoc { //// [functionExpressionAndLambdaMatchesFunction.js] +"use strict"; var CDoc = /** @class */ (function () { function CDoc() { function doSomething(a) { diff --git a/tests/baselines/reference/functionExpressionContextualTyping1.js b/tests/baselines/reference/functionExpressionContextualTyping1.js index 51255c6fa65f5..8062c1b46f8c5 100644 --- a/tests/baselines/reference/functionExpressionContextualTyping1.js +++ b/tests/baselines/reference/functionExpressionContextualTyping1.js @@ -59,6 +59,7 @@ class C { } //// [functionExpressionContextualTyping1.js] +"use strict"; // When a function expression with no type parameters and no parameter type annotations // is contextually typed (section 4.19) by a type T and a contextual signature S can be extracted from T var E; diff --git a/tests/baselines/reference/functionExpressionContextualTyping2.js b/tests/baselines/reference/functionExpressionContextualTyping2.js index 9026fe282e0da..6e351aa8fb9ba 100644 --- a/tests/baselines/reference/functionExpressionContextualTyping2.js +++ b/tests/baselines/reference/functionExpressionContextualTyping2.js @@ -14,6 +14,7 @@ var a1: typeof a0 | ((n: number, s: string) => string); a1 = (foo, bar) => { return true; } // Error //// [functionExpressionContextualTyping2.js] +"use strict"; // A contextual signature S is extracted from a function type T as follows: // If T is a function type with exactly one call signature, and if that call signature is non- generic, S is that signature. // If T is a union type, let U be the set of element types in T that have call signatures. diff --git a/tests/baselines/reference/functionExpressionContextualTyping3.js b/tests/baselines/reference/functionExpressionContextualTyping3.js index b7db51359aa1a..9fb0ec384aa22 100644 --- a/tests/baselines/reference/functionExpressionContextualTyping3.js +++ b/tests/baselines/reference/functionExpressionContextualTyping3.js @@ -7,4 +7,5 @@ f((a: any) => "") //// [functionExpressionContextualTyping3.js] +"use strict"; f(function (a) { return ""; }); diff --git a/tests/baselines/reference/functionExpressionInWithBlock.errors.txt b/tests/baselines/reference/functionExpressionInWithBlock.errors.txt index d5b6ea80835cb..94d4228fce28a 100644 --- a/tests/baselines/reference/functionExpressionInWithBlock.errors.txt +++ b/tests/baselines/reference/functionExpressionInWithBlock.errors.txt @@ -1,12 +1,18 @@ +functionExpressionInWithBlock.ts(2,2): error TS1101: 'with' statements are not allowed in strict mode. functionExpressionInWithBlock.ts(2,2): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. +functionExpressionInWithBlock.ts(3,12): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. -==== functionExpressionInWithBlock.ts (1 errors) ==== +==== functionExpressionInWithBlock.ts (3 errors) ==== function x() { with({}) { + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. function f() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. () => this; } } diff --git a/tests/baselines/reference/functionExpressionInWithBlock.js b/tests/baselines/reference/functionExpressionInWithBlock.js index b4925de59bc88..48488d06ff48b 100644 --- a/tests/baselines/reference/functionExpressionInWithBlock.js +++ b/tests/baselines/reference/functionExpressionInWithBlock.js @@ -10,6 +10,7 @@ function x() { } //// [functionExpressionInWithBlock.js] +"use strict"; function x() { with ({}) { function f() { diff --git a/tests/baselines/reference/functionExpressionReturningItself.js b/tests/baselines/reference/functionExpressionReturningItself.js index d586748c30b56..279364408b5e4 100644 --- a/tests/baselines/reference/functionExpressionReturningItself.js +++ b/tests/baselines/reference/functionExpressionReturningItself.js @@ -4,6 +4,7 @@ var x = function somefn() { return somefn; }; //// [functionExpressionReturningItself.js] +"use strict"; var x = function somefn() { return somefn; }; diff --git a/tests/baselines/reference/functionExpressionShadowedByParams.js b/tests/baselines/reference/functionExpressionShadowedByParams.js index 540a371b55555..ce68e49ec3e24 100644 --- a/tests/baselines/reference/functionExpressionShadowedByParams.js +++ b/tests/baselines/reference/functionExpressionShadowedByParams.js @@ -16,6 +16,7 @@ var x = { //// [functionExpressionShadowedByParams.js] +"use strict"; function b1(b1) { b1.toPrecision(2); // should not error b1(12); // should error diff --git a/tests/baselines/reference/functionExpressionWithResolutionOfTypeNamedArguments01.js b/tests/baselines/reference/functionExpressionWithResolutionOfTypeNamedArguments01.js index ff9cebb31a7ae..a4260ff64d64c 100644 --- a/tests/baselines/reference/functionExpressionWithResolutionOfTypeNamedArguments01.js +++ b/tests/baselines/reference/functionExpressionWithResolutionOfTypeNamedArguments01.js @@ -9,6 +9,7 @@ var x = function f() { } //// [functionExpressionWithResolutionOfTypeNamedArguments01.js] +"use strict"; var x = function f() { arguments; }; diff --git a/tests/baselines/reference/functionExpressionWithResolutionOfTypeOfSameName01.js b/tests/baselines/reference/functionExpressionWithResolutionOfTypeOfSameName01.js index 654b7e7f8e5d6..7cb75d844fc6e 100644 --- a/tests/baselines/reference/functionExpressionWithResolutionOfTypeOfSameName01.js +++ b/tests/baselines/reference/functionExpressionWithResolutionOfTypeOfSameName01.js @@ -9,6 +9,7 @@ var x = function f() { } //// [functionExpressionWithResolutionOfTypeOfSameName01.js] +"use strict"; var x = function f() { f; }; diff --git a/tests/baselines/reference/functionExpressionWithResolutionOfTypeOfSameName02.js b/tests/baselines/reference/functionExpressionWithResolutionOfTypeOfSameName02.js index 61b98bce0f20a..74337549814ec 100644 --- a/tests/baselines/reference/functionExpressionWithResolutionOfTypeOfSameName02.js +++ b/tests/baselines/reference/functionExpressionWithResolutionOfTypeOfSameName02.js @@ -9,6 +9,7 @@ var x = function Foo() { } //// [functionExpressionWithResolutionOfTypeOfSameName02.js] +"use strict"; var x = function Foo() { var x; }; diff --git a/tests/baselines/reference/functionImplementationErrors.js b/tests/baselines/reference/functionImplementationErrors.js index 455ee411b1d88..4e5b69d4197e7 100644 --- a/tests/baselines/reference/functionImplementationErrors.js +++ b/tests/baselines/reference/functionImplementationErrors.js @@ -76,6 +76,7 @@ var f13 = () => { //// [functionImplementationErrors.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/functionImplementations.js b/tests/baselines/reference/functionImplementations.js index 38e9c08bc3133..a2215ab3d31fc 100644 --- a/tests/baselines/reference/functionImplementations.js +++ b/tests/baselines/reference/functionImplementations.js @@ -159,6 +159,7 @@ var f12: (x: number) => any = x => { // should be (x: number) => Base | AnotherC } //// [functionImplementations.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/functionInIfStatementInModule.errors.txt b/tests/baselines/reference/functionInIfStatementInModule.errors.txt new file mode 100644 index 0000000000000..ae84b58c667d9 --- /dev/null +++ b/tests/baselines/reference/functionInIfStatementInModule.errors.txt @@ -0,0 +1,16 @@ +functionInIfStatementInModule.ts(5,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + + +==== functionInIfStatementInModule.ts (1 errors) ==== + + namespace Midori + { + if (false) { + function Foo(src) + ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + { + } + } + } + \ No newline at end of file diff --git a/tests/baselines/reference/functionInIfStatementInModule.js b/tests/baselines/reference/functionInIfStatementInModule.js index 6afcd6efe7c85..b6a0c88a1f800 100644 --- a/tests/baselines/reference/functionInIfStatementInModule.js +++ b/tests/baselines/reference/functionInIfStatementInModule.js @@ -13,6 +13,7 @@ namespace Midori //// [functionInIfStatementInModule.js] +"use strict"; var Midori; (function (Midori) { if (false) { diff --git a/tests/baselines/reference/functionInIfStatementInModule.types b/tests/baselines/reference/functionInIfStatementInModule.types index 9910aac2655c6..30e413ce37800 100644 --- a/tests/baselines/reference/functionInIfStatementInModule.types +++ b/tests/baselines/reference/functionInIfStatementInModule.types @@ -14,6 +14,7 @@ namespace Midori >Foo : (src: any) => void > : ^ ^^^^^^^^^^^^^^ >src : any +> : ^^^ { } } diff --git a/tests/baselines/reference/functionLiteral.js b/tests/baselines/reference/functionLiteral.js index 915c439a9cdd4..f92d9f3a23dc5 100644 --- a/tests/baselines/reference/functionLiteral.js +++ b/tests/baselines/reference/functionLiteral.js @@ -16,6 +16,7 @@ var z: { new (x: number): number; }; var z: new (x: number) => number; //// [functionLiteral.js] +"use strict"; // basic valid forms of function literals var x = function () { return 1; }; var x; diff --git a/tests/baselines/reference/functionLiteralForOverloads.js b/tests/baselines/reference/functionLiteralForOverloads.js index ba7896eadc12b..b587d60955129 100644 --- a/tests/baselines/reference/functionLiteralForOverloads.js +++ b/tests/baselines/reference/functionLiteralForOverloads.js @@ -24,6 +24,7 @@ var f4: { } = (x) => x; //// [functionLiteralForOverloads.js] +"use strict"; // basic uses of function literals with overloads var f = function (x) { return x; }; var f2 = function (x) { return x; }; diff --git a/tests/baselines/reference/functionLiteralForOverloads2.js b/tests/baselines/reference/functionLiteralForOverloads2.js index 8387d18679e9b..5e2d3c2e67696 100644 --- a/tests/baselines/reference/functionLiteralForOverloads2.js +++ b/tests/baselines/reference/functionLiteralForOverloads2.js @@ -31,6 +31,7 @@ var f3: { } = D; //// [functionLiteralForOverloads2.js] +"use strict"; // basic uses of function literals with constructor overloads var C = /** @class */ (function () { function C(x) { diff --git a/tests/baselines/reference/functionLiterals.js b/tests/baselines/reference/functionLiterals.js index 72e1133d264a3..9b99720e4ec1c 100644 --- a/tests/baselines/reference/functionLiterals.js +++ b/tests/baselines/reference/functionLiterals.js @@ -60,6 +60,7 @@ c2.func5 = c2.func4; //// [functionLiterals.js] +"use strict"; // PropName(ParamList):ReturnType is equivalent to PropName: { (ParamList): ReturnType } var b; // no errors diff --git a/tests/baselines/reference/functionMergedWithModule.js b/tests/baselines/reference/functionMergedWithModule.js index 86e919532ad7d..f83141540290e 100644 --- a/tests/baselines/reference/functionMergedWithModule.js +++ b/tests/baselines/reference/functionMergedWithModule.js @@ -17,6 +17,7 @@ namespace foo.Baz { } //// [functionMergedWithModule.js] +"use strict"; function foo(title) { var x = 10; } diff --git a/tests/baselines/reference/functionNameConflicts.js b/tests/baselines/reference/functionNameConflicts.js index ad5f82edc0d90..c92492c626957 100644 --- a/tests/baselines/reference/functionNameConflicts.js +++ b/tests/baselines/reference/functionNameConflicts.js @@ -30,6 +30,7 @@ function overrr() { //// [functionNameConflicts.js] +"use strict"; //Function and variable of the same name in same declaration space //Function overload with different name from implementation signature var M; diff --git a/tests/baselines/reference/functionOnlyHasThrow.js b/tests/baselines/reference/functionOnlyHasThrow.js index 75a5698250d28..a8517bf8a8974 100644 --- a/tests/baselines/reference/functionOnlyHasThrow.js +++ b/tests/baselines/reference/functionOnlyHasThrow.js @@ -6,6 +6,7 @@ function clone():number { } //// [functionOnlyHasThrow.js] +"use strict"; function clone() { throw new Error("To be implemented"); } diff --git a/tests/baselines/reference/functionOverloadAmbiguity1.js b/tests/baselines/reference/functionOverloadAmbiguity1.js index 4f5e1b36ceadc..88f00053dface 100644 --- a/tests/baselines/reference/functionOverloadAmbiguity1.js +++ b/tests/baselines/reference/functionOverloadAmbiguity1.js @@ -13,6 +13,7 @@ callb2((a) => { a.length; } ); // ok, chose first overload //// [functionOverloadAmbiguity1.js] +"use strict"; function callb(a) { } callb(function (a) { a.length; }); // error, chose first overload function callb2(a) { } diff --git a/tests/baselines/reference/functionOverloadCompatibilityWithVoid01.js b/tests/baselines/reference/functionOverloadCompatibilityWithVoid01.js index 17adfe80cb898..da3ab93fa2e8c 100644 --- a/tests/baselines/reference/functionOverloadCompatibilityWithVoid01.js +++ b/tests/baselines/reference/functionOverloadCompatibilityWithVoid01.js @@ -7,6 +7,7 @@ function f(x: string): void { } //// [functionOverloadCompatibilityWithVoid01.js] +"use strict"; function f(x) { return; } diff --git a/tests/baselines/reference/functionOverloadCompatibilityWithVoid02.js b/tests/baselines/reference/functionOverloadCompatibilityWithVoid02.js index 4477841f08cc7..7fb39abff17d1 100644 --- a/tests/baselines/reference/functionOverloadCompatibilityWithVoid02.js +++ b/tests/baselines/reference/functionOverloadCompatibilityWithVoid02.js @@ -7,6 +7,7 @@ function f(x: string): number { } //// [functionOverloadCompatibilityWithVoid02.js] +"use strict"; function f(x) { return 0; } diff --git a/tests/baselines/reference/functionOverloadCompatibilityWithVoid03.js b/tests/baselines/reference/functionOverloadCompatibilityWithVoid03.js index 13501243b9f25..95faa21a10109 100644 --- a/tests/baselines/reference/functionOverloadCompatibilityWithVoid03.js +++ b/tests/baselines/reference/functionOverloadCompatibilityWithVoid03.js @@ -7,6 +7,7 @@ function f(x: string): void { } //// [functionOverloadCompatibilityWithVoid03.js] +"use strict"; function f(x) { return; } diff --git a/tests/baselines/reference/functionOverloadErrors.js b/tests/baselines/reference/functionOverloadErrors.js index 029da652c80c9..89da83bdf5c43 100644 --- a/tests/baselines/reference/functionOverloadErrors.js +++ b/tests/baselines/reference/functionOverloadErrors.js @@ -121,6 +121,7 @@ function initExpr() { } //// [functionOverloadErrors.js] +"use strict"; function fn1() { } function fn2a() { } diff --git a/tests/baselines/reference/functionOverloadErrorsSyntax.js b/tests/baselines/reference/functionOverloadErrorsSyntax.js index a4e4e41d9fd80..cec24615a1e88 100644 --- a/tests/baselines/reference/functionOverloadErrorsSyntax.js +++ b/tests/baselines/reference/functionOverloadErrorsSyntax.js @@ -14,6 +14,7 @@ function fn5() { } //// [functionOverloadErrorsSyntax.js] +"use strict"; function fn4a() { } function fn4b() { } function fn5() { } diff --git a/tests/baselines/reference/functionOverloadImplementationOfWrongName.js b/tests/baselines/reference/functionOverloadImplementationOfWrongName.js index 66dfdee848174..d3ca8c6e243eb 100644 --- a/tests/baselines/reference/functionOverloadImplementationOfWrongName.js +++ b/tests/baselines/reference/functionOverloadImplementationOfWrongName.js @@ -6,4 +6,5 @@ function foo(x, y); function bar() { } //// [functionOverloadImplementationOfWrongName.js] +"use strict"; function bar() { } diff --git a/tests/baselines/reference/functionOverloadImplementationOfWrongName2.js b/tests/baselines/reference/functionOverloadImplementationOfWrongName2.js index 8a69f1aa96ffa..5e855ea87f817 100644 --- a/tests/baselines/reference/functionOverloadImplementationOfWrongName2.js +++ b/tests/baselines/reference/functionOverloadImplementationOfWrongName2.js @@ -6,4 +6,5 @@ function bar() { } function foo(x, y); //// [functionOverloadImplementationOfWrongName2.js] +"use strict"; function bar() { } diff --git a/tests/baselines/reference/functionOverloads.js b/tests/baselines/reference/functionOverloads.js index 5d40e6630863e..2e681f17401d5 100644 --- a/tests/baselines/reference/functionOverloads.js +++ b/tests/baselines/reference/functionOverloads.js @@ -7,6 +7,7 @@ function foo(bar?: string): any { return "" }; var x = foo(5); //// [functionOverloads.js] +"use strict"; function foo(bar) { return ""; } ; var x = foo(5); diff --git a/tests/baselines/reference/functionOverloads1.js b/tests/baselines/reference/functionOverloads1.js index f0f237930bbe0..0cbb57fca2df1 100644 --- a/tests/baselines/reference/functionOverloads1.js +++ b/tests/baselines/reference/functionOverloads1.js @@ -6,5 +6,6 @@ function foo(); function foo():string { return "a" } //// [functionOverloads1.js] +"use strict"; 1 + 1; function foo() { return "a"; } diff --git a/tests/baselines/reference/functionOverloads10.js b/tests/baselines/reference/functionOverloads10.js index cc6ad2ad38e13..d1d758310c287 100644 --- a/tests/baselines/reference/functionOverloads10.js +++ b/tests/baselines/reference/functionOverloads10.js @@ -7,4 +7,5 @@ function foo(foo:any){ } //// [functionOverloads10.js] +"use strict"; function foo(foo) { } diff --git a/tests/baselines/reference/functionOverloads11.js b/tests/baselines/reference/functionOverloads11.js index d072fa463329d..8d58c0390632d 100644 --- a/tests/baselines/reference/functionOverloads11.js +++ b/tests/baselines/reference/functionOverloads11.js @@ -6,4 +6,5 @@ function foo():string { return "" } //// [functionOverloads11.js] +"use strict"; function foo() { return ""; } diff --git a/tests/baselines/reference/functionOverloads12.js b/tests/baselines/reference/functionOverloads12.js index 592ef329439ba..ef56ac3bc5497 100644 --- a/tests/baselines/reference/functionOverloads12.js +++ b/tests/baselines/reference/functionOverloads12.js @@ -7,6 +7,7 @@ function foo():any { if (true) return ""; else return 0;} //// [functionOverloads12.js] +"use strict"; function foo() { if (true) return ""; else diff --git a/tests/baselines/reference/functionOverloads13.js b/tests/baselines/reference/functionOverloads13.js index 1732845e9e071..3bb40c84e61e2 100644 --- a/tests/baselines/reference/functionOverloads13.js +++ b/tests/baselines/reference/functionOverloads13.js @@ -7,4 +7,5 @@ function foo(bar?:number):any { return "" } //// [functionOverloads13.js] +"use strict"; function foo(bar) { return ""; } diff --git a/tests/baselines/reference/functionOverloads14.js b/tests/baselines/reference/functionOverloads14.js index 276d012d5e38c..362798a8803e4 100644 --- a/tests/baselines/reference/functionOverloads14.js +++ b/tests/baselines/reference/functionOverloads14.js @@ -7,4 +7,5 @@ function foo():{a:any;} { return {a:1} } //// [functionOverloads14.js] +"use strict"; function foo() { return { a: 1 }; } diff --git a/tests/baselines/reference/functionOverloads15.js b/tests/baselines/reference/functionOverloads15.js index 8a7272cd12c18..784f865430168 100644 --- a/tests/baselines/reference/functionOverloads15.js +++ b/tests/baselines/reference/functionOverloads15.js @@ -7,4 +7,5 @@ function foo(foo:{a:string; b?:number;}):any { return "" } //// [functionOverloads15.js] +"use strict"; function foo(foo) { return ""; } diff --git a/tests/baselines/reference/functionOverloads16.js b/tests/baselines/reference/functionOverloads16.js index 1d5ed77c97ee2..095b45ca764e3 100644 --- a/tests/baselines/reference/functionOverloads16.js +++ b/tests/baselines/reference/functionOverloads16.js @@ -7,4 +7,5 @@ function foo(foo:{a:string; b?:number;}):any { return "" } //// [functionOverloads16.js] +"use strict"; function foo(foo) { return ""; } diff --git a/tests/baselines/reference/functionOverloads17.js b/tests/baselines/reference/functionOverloads17.js index f5c42e3e8c2b4..e673e0e784f1e 100644 --- a/tests/baselines/reference/functionOverloads17.js +++ b/tests/baselines/reference/functionOverloads17.js @@ -6,4 +6,5 @@ function foo():{a:string;} { return {a:""} } //// [functionOverloads17.js] +"use strict"; function foo() { return { a: "" }; } diff --git a/tests/baselines/reference/functionOverloads18.js b/tests/baselines/reference/functionOverloads18.js index 02d1512d06396..825311a920ac3 100644 --- a/tests/baselines/reference/functionOverloads18.js +++ b/tests/baselines/reference/functionOverloads18.js @@ -6,4 +6,5 @@ function foo(bar:{a:string;}) { return {a:""} } //// [functionOverloads18.js] +"use strict"; function foo(bar) { return { a: "" }; } diff --git a/tests/baselines/reference/functionOverloads19.js b/tests/baselines/reference/functionOverloads19.js index 066e5fbe63aed..a1540b9f7c4a3 100644 --- a/tests/baselines/reference/functionOverloads19.js +++ b/tests/baselines/reference/functionOverloads19.js @@ -7,4 +7,5 @@ function foo(bar:{a:any;}) { return {a:""} } //// [functionOverloads19.js] +"use strict"; function foo(bar) { return { a: "" }; } diff --git a/tests/baselines/reference/functionOverloads2.js b/tests/baselines/reference/functionOverloads2.js index 70b10dd478f19..f21f712ca3dcb 100644 --- a/tests/baselines/reference/functionOverloads2.js +++ b/tests/baselines/reference/functionOverloads2.js @@ -7,6 +7,7 @@ function foo(bar: any): any { return bar }; var x = foo(true); //// [functionOverloads2.js] +"use strict"; function foo(bar) { return bar; } ; var x = foo(true); diff --git a/tests/baselines/reference/functionOverloads20.js b/tests/baselines/reference/functionOverloads20.js index 674faecc66acf..ab29207d3b4a0 100644 --- a/tests/baselines/reference/functionOverloads20.js +++ b/tests/baselines/reference/functionOverloads20.js @@ -7,4 +7,5 @@ function foo(bar:{a:any;}): string {return ""} //// [functionOverloads20.js] +"use strict"; function foo(bar) { return ""; } diff --git a/tests/baselines/reference/functionOverloads21.js b/tests/baselines/reference/functionOverloads21.js index b611cbaabfb53..777a0605cbeb8 100644 --- a/tests/baselines/reference/functionOverloads21.js +++ b/tests/baselines/reference/functionOverloads21.js @@ -7,4 +7,5 @@ function foo(bar:{a:any; b?:string;}[]) { return 0 } //// [functionOverloads21.js] +"use strict"; function foo(bar) { return 0; } diff --git a/tests/baselines/reference/functionOverloads22.js b/tests/baselines/reference/functionOverloads22.js index 53caef792fce6..3f80e937dd9e6 100644 --- a/tests/baselines/reference/functionOverloads22.js +++ b/tests/baselines/reference/functionOverloads22.js @@ -7,4 +7,5 @@ function foo(bar:any):{a:any;b?:any;}[] { return [{a:""}] } //// [functionOverloads22.js] +"use strict"; function foo(bar) { return [{ a: "" }]; } diff --git a/tests/baselines/reference/functionOverloads23.js b/tests/baselines/reference/functionOverloads23.js index 0ad808f2dd20d..0688cc2cf7afe 100644 --- a/tests/baselines/reference/functionOverloads23.js +++ b/tests/baselines/reference/functionOverloads23.js @@ -7,4 +7,5 @@ function foo(bar:(a?)=>void) { return 0 } //// [functionOverloads23.js] +"use strict"; function foo(bar) { return 0; } diff --git a/tests/baselines/reference/functionOverloads24.js b/tests/baselines/reference/functionOverloads24.js index b49ae9a5a11d0..d3d29b3d51556 100644 --- a/tests/baselines/reference/functionOverloads24.js +++ b/tests/baselines/reference/functionOverloads24.js @@ -7,4 +7,5 @@ function foo(bar:any):(a)=>void { return function(){} } //// [functionOverloads24.js] +"use strict"; function foo(bar) { return function () { }; } diff --git a/tests/baselines/reference/functionOverloads25.js b/tests/baselines/reference/functionOverloads25.js index 605b041ceab59..cf625ccb8b96f 100644 --- a/tests/baselines/reference/functionOverloads25.js +++ b/tests/baselines/reference/functionOverloads25.js @@ -8,6 +8,7 @@ var x = foo(); //// [functionOverloads25.js] +"use strict"; function foo(bar) { return ''; } ; var x = foo(); diff --git a/tests/baselines/reference/functionOverloads26.js b/tests/baselines/reference/functionOverloads26.js index 2cf281587ed07..327729674d278 100644 --- a/tests/baselines/reference/functionOverloads26.js +++ b/tests/baselines/reference/functionOverloads26.js @@ -8,5 +8,6 @@ var x = foo('baz'); //// [functionOverloads26.js] +"use strict"; function foo(bar) { return ''; } var x = foo('baz'); diff --git a/tests/baselines/reference/functionOverloads27.js b/tests/baselines/reference/functionOverloads27.js index 3dba4a6e371d0..ede8e13c4012a 100644 --- a/tests/baselines/reference/functionOverloads27.js +++ b/tests/baselines/reference/functionOverloads27.js @@ -8,5 +8,6 @@ var x = foo(5); //// [functionOverloads27.js] +"use strict"; function foo(bar) { return ''; } var x = foo(5); diff --git a/tests/baselines/reference/functionOverloads28.js b/tests/baselines/reference/functionOverloads28.js index 477c19edd47d1..092f115af4688 100644 --- a/tests/baselines/reference/functionOverloads28.js +++ b/tests/baselines/reference/functionOverloads28.js @@ -8,6 +8,7 @@ var t:any; var x = foo(t); //// [functionOverloads28.js] +"use strict"; function foo(bar) { return ''; } var t; var x = foo(t); diff --git a/tests/baselines/reference/functionOverloads29.js b/tests/baselines/reference/functionOverloads29.js index b9639ac3b3846..365b946c6e2b5 100644 --- a/tests/baselines/reference/functionOverloads29.js +++ b/tests/baselines/reference/functionOverloads29.js @@ -8,5 +8,6 @@ var x = foo(); //// [functionOverloads29.js] +"use strict"; function foo(bar) { return bar; } var x = foo(); diff --git a/tests/baselines/reference/functionOverloads3.js b/tests/baselines/reference/functionOverloads3.js index b732f2b0f3b52..01729baec09b2 100644 --- a/tests/baselines/reference/functionOverloads3.js +++ b/tests/baselines/reference/functionOverloads3.js @@ -4,3 +4,4 @@ function foo():string; //// [functionOverloads3.js] +"use strict"; diff --git a/tests/baselines/reference/functionOverloads30.js b/tests/baselines/reference/functionOverloads30.js index 262b23dee6c1e..9738de46447de 100644 --- a/tests/baselines/reference/functionOverloads30.js +++ b/tests/baselines/reference/functionOverloads30.js @@ -8,5 +8,6 @@ var x = foo('bar'); //// [functionOverloads30.js] +"use strict"; function foo(bar) { return bar; } var x = foo('bar'); diff --git a/tests/baselines/reference/functionOverloads31.js b/tests/baselines/reference/functionOverloads31.js index f90719c392247..d146a957ba7f5 100644 --- a/tests/baselines/reference/functionOverloads31.js +++ b/tests/baselines/reference/functionOverloads31.js @@ -8,5 +8,6 @@ var x = foo(5); //// [functionOverloads31.js] +"use strict"; function foo(bar) { return bar; } var x = foo(5); diff --git a/tests/baselines/reference/functionOverloads32.js b/tests/baselines/reference/functionOverloads32.js index 2c2dcc1babbdd..c5a92cbda5251 100644 --- a/tests/baselines/reference/functionOverloads32.js +++ b/tests/baselines/reference/functionOverloads32.js @@ -8,6 +8,7 @@ var baz:number; var x = foo(baz); //// [functionOverloads32.js] +"use strict"; function foo(bar) { return bar; } var baz; var x = foo(baz); diff --git a/tests/baselines/reference/functionOverloads33.js b/tests/baselines/reference/functionOverloads33.js index 90d0ae1b5dbf6..e4360e9ac6fa5 100644 --- a/tests/baselines/reference/functionOverloads33.js +++ b/tests/baselines/reference/functionOverloads33.js @@ -8,5 +8,6 @@ var x = foo(5); //// [functionOverloads33.js] +"use strict"; function foo(bar) { return bar; } var x = foo(5); diff --git a/tests/baselines/reference/functionOverloads34.js b/tests/baselines/reference/functionOverloads34.js index e0aa991b8b9c8..7cd212560588d 100644 --- a/tests/baselines/reference/functionOverloads34.js +++ b/tests/baselines/reference/functionOverloads34.js @@ -8,5 +8,6 @@ var x = foo(); //// [functionOverloads34.js] +"use strict"; function foo(bar) { return bar; } var x = foo(); diff --git a/tests/baselines/reference/functionOverloads35.js b/tests/baselines/reference/functionOverloads35.js index 9333137255ff4..b45870917dbc3 100644 --- a/tests/baselines/reference/functionOverloads35.js +++ b/tests/baselines/reference/functionOverloads35.js @@ -8,5 +8,6 @@ var x = foo({a:1}); //// [functionOverloads35.js] +"use strict"; function foo(bar) { return bar; } var x = foo({ a: 1 }); diff --git a/tests/baselines/reference/functionOverloads36.js b/tests/baselines/reference/functionOverloads36.js index 54850a7b63bdc..65feeabb5ce70 100644 --- a/tests/baselines/reference/functionOverloads36.js +++ b/tests/baselines/reference/functionOverloads36.js @@ -8,5 +8,6 @@ var x = foo({a:'foo'}); //// [functionOverloads36.js] +"use strict"; function foo(bar) { return bar; } var x = foo({ a: 'foo' }); diff --git a/tests/baselines/reference/functionOverloads37.js b/tests/baselines/reference/functionOverloads37.js index 37ce85c526ba8..e3073966855e2 100644 --- a/tests/baselines/reference/functionOverloads37.js +++ b/tests/baselines/reference/functionOverloads37.js @@ -8,5 +8,6 @@ var x = foo(); //// [functionOverloads37.js] +"use strict"; function foo(bar) { return bar; } var x = foo(); diff --git a/tests/baselines/reference/functionOverloads38.js b/tests/baselines/reference/functionOverloads38.js index caa4525a7bf33..a457609782082 100644 --- a/tests/baselines/reference/functionOverloads38.js +++ b/tests/baselines/reference/functionOverloads38.js @@ -8,5 +8,6 @@ var x = foo([{a:1}]); //// [functionOverloads38.js] +"use strict"; function foo(bar) { return bar; } var x = foo([{ a: 1 }]); diff --git a/tests/baselines/reference/functionOverloads39.js b/tests/baselines/reference/functionOverloads39.js index 6b36b06a3fef2..a459d8ee02ab1 100644 --- a/tests/baselines/reference/functionOverloads39.js +++ b/tests/baselines/reference/functionOverloads39.js @@ -8,5 +8,6 @@ var x = foo([{a:true}]); //// [functionOverloads39.js] +"use strict"; function foo(bar) { return bar; } var x = foo([{ a: true }]); diff --git a/tests/baselines/reference/functionOverloads4.js b/tests/baselines/reference/functionOverloads4.js index 59794b76609ce..185ff6de26b57 100644 --- a/tests/baselines/reference/functionOverloads4.js +++ b/tests/baselines/reference/functionOverloads4.js @@ -5,4 +5,5 @@ function foo():number; function foo():string { return "a" } //// [functionOverloads4.js] +"use strict"; function foo() { return "a"; } diff --git a/tests/baselines/reference/functionOverloads40.js b/tests/baselines/reference/functionOverloads40.js index 02e966a730fd1..b70a182e008af 100644 --- a/tests/baselines/reference/functionOverloads40.js +++ b/tests/baselines/reference/functionOverloads40.js @@ -8,5 +8,6 @@ var x = foo([{a:'bar'}]); //// [functionOverloads40.js] +"use strict"; function foo(bar) { return bar; } var x = foo([{ a: 'bar' }]); diff --git a/tests/baselines/reference/functionOverloads41.js b/tests/baselines/reference/functionOverloads41.js index 8798c84edf6ef..3661937bef8f9 100644 --- a/tests/baselines/reference/functionOverloads41.js +++ b/tests/baselines/reference/functionOverloads41.js @@ -8,5 +8,6 @@ var x = foo([{}]); //// [functionOverloads41.js] +"use strict"; function foo(bar) { return bar; } var x = foo([{}]); diff --git a/tests/baselines/reference/functionOverloads42.js b/tests/baselines/reference/functionOverloads42.js index 78cd30137cd25..cbfba2097a096 100644 --- a/tests/baselines/reference/functionOverloads42.js +++ b/tests/baselines/reference/functionOverloads42.js @@ -8,5 +8,6 @@ var x = foo([{a:'s'}]); //// [functionOverloads42.js] +"use strict"; function foo(bar) { return bar; } var x = foo([{ a: 's' }]); diff --git a/tests/baselines/reference/functionOverloads43.js b/tests/baselines/reference/functionOverloads43.js index 8300608cb3e8b..1ed0062dd7727 100644 --- a/tests/baselines/reference/functionOverloads43.js +++ b/tests/baselines/reference/functionOverloads43.js @@ -15,6 +15,7 @@ var x = foo([{a: "str"}]); var y = foo([{a: 100}]); //// [functionOverloads43.js] +"use strict"; function foo(_a) { var x = _a[0]; if (x) { diff --git a/tests/baselines/reference/functionOverloads44.js b/tests/baselines/reference/functionOverloads44.js index b945f5ecaf41f..da63f54c72fc5 100644 --- a/tests/baselines/reference/functionOverloads44.js +++ b/tests/baselines/reference/functionOverloads44.js @@ -25,6 +25,7 @@ var x2 = foo2([{a: "str"}]); var y2 = foo2([{a: 100}]); //// [functionOverloads44.js] +"use strict"; function foo1(_a) { var x = _a[0]; return undefined; diff --git a/tests/baselines/reference/functionOverloads45.js b/tests/baselines/reference/functionOverloads45.js index a1a44d866a187..46888c74c7aac 100644 --- a/tests/baselines/reference/functionOverloads45.js +++ b/tests/baselines/reference/functionOverloads45.js @@ -25,6 +25,7 @@ var x2 = foo2([{a: "str"}]); var y2 = foo2([{a: 100}]); //// [functionOverloads45.js] +"use strict"; function foo1(_a) { var x = _a[0]; return undefined; diff --git a/tests/baselines/reference/functionOverloads5.js b/tests/baselines/reference/functionOverloads5.js index 78f67e130cbfb..c2f492aa8b5c5 100644 --- a/tests/baselines/reference/functionOverloads5.js +++ b/tests/baselines/reference/functionOverloads5.js @@ -8,6 +8,7 @@ class baz { //// [functionOverloads5.js] +"use strict"; var baz = /** @class */ (function () { function baz() { } diff --git a/tests/baselines/reference/functionOverloads6.js b/tests/baselines/reference/functionOverloads6.js index a4f1fb5819478..0eeff5952f7b3 100644 --- a/tests/baselines/reference/functionOverloads6.js +++ b/tests/baselines/reference/functionOverloads6.js @@ -9,6 +9,7 @@ class foo { //// [functionOverloads6.js] +"use strict"; var foo = /** @class */ (function () { function foo() { } diff --git a/tests/baselines/reference/functionOverloads7.js b/tests/baselines/reference/functionOverloads7.js index a66887c48d14b..d2d219f20f1b1 100644 --- a/tests/baselines/reference/functionOverloads7.js +++ b/tests/baselines/reference/functionOverloads7.js @@ -13,6 +13,7 @@ class foo { //// [functionOverloads7.js] +"use strict"; var foo = /** @class */ (function () { function foo() { } diff --git a/tests/baselines/reference/functionOverloads8.js b/tests/baselines/reference/functionOverloads8.js index 9b1518c589555..23a10faf0549c 100644 --- a/tests/baselines/reference/functionOverloads8.js +++ b/tests/baselines/reference/functionOverloads8.js @@ -7,4 +7,5 @@ function foo(foo?:any){ return '' } //// [functionOverloads8.js] +"use strict"; function foo(foo) { return ''; } diff --git a/tests/baselines/reference/functionOverloads9.js b/tests/baselines/reference/functionOverloads9.js index 30cf95fc24c30..4f32952b1077a 100644 --- a/tests/baselines/reference/functionOverloads9.js +++ b/tests/baselines/reference/functionOverloads9.js @@ -7,6 +7,7 @@ var x = foo('foo'); //// [functionOverloads9.js] +"use strict"; function foo(foo) { return ''; } ; var x = foo('foo'); diff --git a/tests/baselines/reference/functionOverloadsOnGenericArity1.js b/tests/baselines/reference/functionOverloadsOnGenericArity1.js index be2a39a116896..3353a0aa4cccf 100644 --- a/tests/baselines/reference/functionOverloadsOnGenericArity1.js +++ b/tests/baselines/reference/functionOverloadsOnGenericArity1.js @@ -15,3 +15,4 @@ interface C { //// [functionOverloadsOnGenericArity1.js] +"use strict"; diff --git a/tests/baselines/reference/functionOverloadsOnGenericArity2.js b/tests/baselines/reference/functionOverloadsOnGenericArity2.js index fd891d6fbadd9..0d7cdcf6b6be3 100644 --- a/tests/baselines/reference/functionOverloadsOnGenericArity2.js +++ b/tests/baselines/reference/functionOverloadsOnGenericArity2.js @@ -8,3 +8,4 @@ interface I { } //// [functionOverloadsOnGenericArity2.js] +"use strict"; diff --git a/tests/baselines/reference/functionOverloadsOutOfOrder.js b/tests/baselines/reference/functionOverloadsOutOfOrder.js index c75005bed25a6..db07cba3cccb3 100644 --- a/tests/baselines/reference/functionOverloadsOutOfOrder.js +++ b/tests/baselines/reference/functionOverloadsOutOfOrder.js @@ -18,6 +18,7 @@ class e { } //// [functionOverloadsOutOfOrder.js] +"use strict"; var d = /** @class */ (function () { function d() { } diff --git a/tests/baselines/reference/functionOverloadsRecursiveGenericReturnType.js b/tests/baselines/reference/functionOverloadsRecursiveGenericReturnType.js index d68b5518b4c39..365b199685bc0 100644 --- a/tests/baselines/reference/functionOverloadsRecursiveGenericReturnType.js +++ b/tests/baselines/reference/functionOverloadsRecursiveGenericReturnType.js @@ -17,6 +17,7 @@ function Choice(...v_args: any[]): A{ //// [functionOverloadsRecursiveGenericReturnType.js] +"use strict"; var B = /** @class */ (function () { function B() { } diff --git a/tests/baselines/reference/functionParameterArityMismatch.js b/tests/baselines/reference/functionParameterArityMismatch.js index 784ddbd05347c..77525d384e789 100644 --- a/tests/baselines/reference/functionParameterArityMismatch.js +++ b/tests/baselines/reference/functionParameterArityMismatch.js @@ -19,6 +19,7 @@ f2(1, 2, 3, 4, 5, ...[6, 7]); //// [functionParameterArityMismatch.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/functionParameterObjectRestAndInitializers.js b/tests/baselines/reference/functionParameterObjectRestAndInitializers.js index 0e88a1ecfd80e..55edd5034415d 100644 --- a/tests/baselines/reference/functionParameterObjectRestAndInitializers.js +++ b/tests/baselines/reference/functionParameterObjectRestAndInitializers.js @@ -13,6 +13,7 @@ function g({a, ...x}, b = ({a}, b = a) => {}) { //// [functionParameterObjectRestAndInitializers.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/47079 var __rest = (this && this.__rest) || function (s, e) { var t = {}; diff --git a/tests/baselines/reference/functionReturn.js b/tests/baselines/reference/functionReturn.js index 6ece43f299bcf..a02182cab93a3 100644 --- a/tests/baselines/reference/functionReturn.js +++ b/tests/baselines/reference/functionReturn.js @@ -17,6 +17,7 @@ function f5(): string { } //// [functionReturn.js] +"use strict"; function f0() { } function f1() { var n = f0(); diff --git a/tests/baselines/reference/functionReturnTypeQuery.js b/tests/baselines/reference/functionReturnTypeQuery.js index ef3bf8edb826c..7fc9ae264ce96 100644 --- a/tests/baselines/reference/functionReturnTypeQuery.js +++ b/tests/baselines/reference/functionReturnTypeQuery.js @@ -7,3 +7,4 @@ declare function test1(foo: string, bar: typeof foo): typeof foo; declare function test2({foo}: {foo: string}, bar: typeof foo): typeof foo; //// [functionReturnTypeQuery.js] +"use strict"; diff --git a/tests/baselines/reference/functionReturningItself.js b/tests/baselines/reference/functionReturningItself.js index 6767ebb692cb7..3e8af27565547 100644 --- a/tests/baselines/reference/functionReturningItself.js +++ b/tests/baselines/reference/functionReturningItself.js @@ -6,6 +6,7 @@ function somefn() { } //// [functionReturningItself.js] +"use strict"; function somefn() { return somefn; } diff --git a/tests/baselines/reference/functionSignatureAssignmentCompat1.js b/tests/baselines/reference/functionSignatureAssignmentCompat1.js index 1657fc8fcfade..31f4841696179 100644 --- a/tests/baselines/reference/functionSignatureAssignmentCompat1.js +++ b/tests/baselines/reference/functionSignatureAssignmentCompat1.js @@ -14,6 +14,7 @@ var d: ParserFunc = parsers.readline; // not ok var e: ParserFunc = parsers.readline(); // ok //// [functionSignatureAssignmentCompat1.js] +"use strict"; var c = parsers.raw; // ok! var d = parsers.readline; // not ok var e = parsers.readline(); // ok diff --git a/tests/baselines/reference/functionSubtypingOfVarArgs.js b/tests/baselines/reference/functionSubtypingOfVarArgs.js index efc610db26383..3605414c673d9 100644 --- a/tests/baselines/reference/functionSubtypingOfVarArgs.js +++ b/tests/baselines/reference/functionSubtypingOfVarArgs.js @@ -17,6 +17,7 @@ class StringEvent extends EventBase { // should work //// [functionSubtypingOfVarArgs.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/functionSubtypingOfVarArgs2.js b/tests/baselines/reference/functionSubtypingOfVarArgs2.js index 91fcb518c565c..36b089ef7fd1c 100644 --- a/tests/baselines/reference/functionSubtypingOfVarArgs2.js +++ b/tests/baselines/reference/functionSubtypingOfVarArgs2.js @@ -17,6 +17,7 @@ class StringEvent extends EventBase { //// [functionSubtypingOfVarArgs2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/functionToFunctionWithPropError.js b/tests/baselines/reference/functionToFunctionWithPropError.js index fed01c83fb959..be06be2d8767d 100644 --- a/tests/baselines/reference/functionToFunctionWithPropError.js +++ b/tests/baselines/reference/functionToFunctionWithPropError.js @@ -8,5 +8,6 @@ x = y; y = x; //// [functionToFunctionWithPropError.js] +"use strict"; x = y; y = x; diff --git a/tests/baselines/reference/functionType.js b/tests/baselines/reference/functionType.js index 007796306b3de..26d884f611e03 100644 --- a/tests/baselines/reference/functionType.js +++ b/tests/baselines/reference/functionType.js @@ -9,6 +9,7 @@ salt.apply("hello", []); //// [functionType.js] +"use strict"; function salt() { } salt.apply("hello", []); (new Function("return 5"))(); diff --git a/tests/baselines/reference/functionTypeArgumentArityErrors.js b/tests/baselines/reference/functionTypeArgumentArityErrors.js index 0c33d9ce31cdb..8c4dba2fa6a0d 100644 --- a/tests/baselines/reference/functionTypeArgumentArityErrors.js +++ b/tests/baselines/reference/functionTypeArgumentArityErrors.js @@ -30,6 +30,7 @@ f5(); //// [functionTypeArgumentArityErrors.js] +"use strict"; f1(); f1(); f2(); diff --git a/tests/baselines/reference/functionTypeArgumentArrayAssignment.js b/tests/baselines/reference/functionTypeArgumentArrayAssignment.js index ae70cd117da33..20abca7c9539b 100644 --- a/tests/baselines/reference/functionTypeArgumentArrayAssignment.js +++ b/tests/baselines/reference/functionTypeArgumentArrayAssignment.js @@ -14,6 +14,7 @@ namespace test { //// [functionTypeArgumentArrayAssignment.js] +"use strict"; var test; (function (test) { function map() { diff --git a/tests/baselines/reference/functionTypeArgumentAssignmentCompat.js b/tests/baselines/reference/functionTypeArgumentAssignmentCompat.js index 36dc0084c0fcd..8dd61807e6ef1 100644 --- a/tests/baselines/reference/functionTypeArgumentAssignmentCompat.js +++ b/tests/baselines/reference/functionTypeArgumentAssignmentCompat.js @@ -16,6 +16,7 @@ console.log(s); //// [functionTypeArgumentAssignmentCompat.js] +"use strict"; var f; var g = function () { return []; }; f = g; diff --git a/tests/baselines/reference/functionTypesLackingReturnTypes.js b/tests/baselines/reference/functionTypesLackingReturnTypes.js index e97f34ef83bbd..d7a00b4d9f1ea 100644 --- a/tests/baselines/reference/functionTypesLackingReturnTypes.js +++ b/tests/baselines/reference/functionTypesLackingReturnTypes.js @@ -15,6 +15,7 @@ var h: { () } var i: { new () } //// [functionTypesLackingReturnTypes.js] +"use strict"; // Error (no '=>') function f(x) { } diff --git a/tests/baselines/reference/functionVariableInReturnTypeAnnotation.js b/tests/baselines/reference/functionVariableInReturnTypeAnnotation.js index fb08e064f2599..c73b3ad7817b5 100644 --- a/tests/baselines/reference/functionVariableInReturnTypeAnnotation.js +++ b/tests/baselines/reference/functionVariableInReturnTypeAnnotation.js @@ -7,6 +7,7 @@ function bar(): typeof b { } //// [functionVariableInReturnTypeAnnotation.js] +"use strict"; function bar() { var b = 1; return undefined; diff --git a/tests/baselines/reference/functionWithAnyReturnTypeAndNoReturnExpression.js b/tests/baselines/reference/functionWithAnyReturnTypeAndNoReturnExpression.js index bc70338874e24..f515f19434e11 100644 --- a/tests/baselines/reference/functionWithAnyReturnTypeAndNoReturnExpression.js +++ b/tests/baselines/reference/functionWithAnyReturnTypeAndNoReturnExpression.js @@ -7,6 +7,7 @@ var f2: () => any = () => { }; var f3 = (): any => { }; //// [functionWithAnyReturnTypeAndNoReturnExpression.js] +"use strict"; // All should be allowed function f() { } var f2 = function () { }; diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements1.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements1.js index 83c67ea182ae7..afbfb3bcc50c3 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements1.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements1.js @@ -4,6 +4,7 @@ function foo(x = 0) { } //// [functionWithDefaultParameterWithNoStatements1.js] +"use strict"; function foo(x) { if (x === void 0) { x = 0; } } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements10.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements10.js index a77495bdbd714..1dca642d5c8dd 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements10.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements10.js @@ -7,6 +7,7 @@ function bar(a = [0]) { } //// [functionWithDefaultParameterWithNoStatements10.js] +"use strict"; function foo(a) { if (a === void 0) { a = [0]; } } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements11.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements11.js index 184a5bda216f5..7aef688aec419 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements11.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements11.js @@ -9,6 +9,7 @@ function bar(a = v[0]) { } //// [functionWithDefaultParameterWithNoStatements11.js] +"use strict"; var v; function foo(a) { if (a === void 0) { a = v[0]; } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements12.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements12.js index 4f01a579125fe..fd08ece77f41e 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements12.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements12.js @@ -9,6 +9,7 @@ function bar(a = (v)) { } //// [functionWithDefaultParameterWithNoStatements12.js] +"use strict"; var v; function foo(a) { if (a === void 0) { a = (v); } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements13.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements13.js index f51e005390f38..12c7418d789e4 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements13.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements13.js @@ -9,6 +9,7 @@ function bar(a = [1 + 1]) { } //// [functionWithDefaultParameterWithNoStatements13.js] +"use strict"; var v; function foo(a) { if (a === void 0) { a = [1 + 1]; } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements14.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements14.js index 45b34f4551a34..889b4c05fde1c 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements14.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements14.js @@ -9,6 +9,7 @@ function bar(a = v[1 + 1]) { } //// [functionWithDefaultParameterWithNoStatements14.js] +"use strict"; var v; function foo(a) { if (a === void 0) { a = v[1 + 1]; } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements15.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements15.js index 4a1bef5b3e8da..46979e1930527 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements15.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements15.js @@ -9,6 +9,7 @@ function bar(a = (1 + 1)) { } //// [functionWithDefaultParameterWithNoStatements15.js] +"use strict"; var v; function foo(a) { if (a === void 0) { a = (1 + 1); } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements16.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements16.js index 7c01b50b2bde0..658df6a8d20f8 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements16.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements16.js @@ -9,6 +9,7 @@ function bar(a = foo()) { } //// [functionWithDefaultParameterWithNoStatements16.js] +"use strict"; var v; function foo(a) { if (a === void 0) { a = bar(); } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements2.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements2.js index e64d58947f38d..824a127ff285a 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements2.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements2.js @@ -5,6 +5,7 @@ function foo(x = 0) { } //// [functionWithDefaultParameterWithNoStatements2.js] +"use strict"; function foo(x) { if (x === void 0) { x = 0; } } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements3.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements3.js index a631c6cf7e707..19e34d5a06732 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements3.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements3.js @@ -7,6 +7,7 @@ function bar(a = "") { } //// [functionWithDefaultParameterWithNoStatements3.js] +"use strict"; function foo(a) { if (a === void 0) { a = ""; } } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements4.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements4.js index e44e1d456eab3..c5f8cd7613ffd 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements4.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements4.js @@ -7,6 +7,7 @@ function bar(a = ``) { } //// [functionWithDefaultParameterWithNoStatements4.js] +"use strict"; function foo(a) { if (a === void 0) { a = ""; } } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements5.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements5.js index 785b84f580387..714e394257767 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements5.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements5.js @@ -7,6 +7,7 @@ function bar(a = 0) { } //// [functionWithDefaultParameterWithNoStatements5.js] +"use strict"; function foo(a) { if (a === void 0) { a = 0; } } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements6.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements6.js index 6d31764ca4767..7dfd70817340f 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements6.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements6.js @@ -7,6 +7,7 @@ function bar(a = true) { } //// [functionWithDefaultParameterWithNoStatements6.js] +"use strict"; function foo(a) { if (a === void 0) { a = true; } } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements7.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements7.js index a56a178c7cf76..cde858fe7b47c 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements7.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements7.js @@ -7,6 +7,7 @@ function bar(a = false) { } //// [functionWithDefaultParameterWithNoStatements7.js] +"use strict"; function foo(a) { if (a === void 0) { a = false; } } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements8.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements8.js index 9e6c21f5b97ff..10c010deefa22 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements8.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements8.js @@ -7,6 +7,7 @@ function bar(a = undefined) { } //// [functionWithDefaultParameterWithNoStatements8.js] +"use strict"; function foo(a) { if (a === void 0) { a = undefined; } } diff --git a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements9.js b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements9.js index bd24b7aaa5cfd..4f2e079c489d3 100644 --- a/tests/baselines/reference/functionWithDefaultParameterWithNoStatements9.js +++ b/tests/baselines/reference/functionWithDefaultParameterWithNoStatements9.js @@ -7,6 +7,7 @@ function bar(a = console.log) { } //// [functionWithDefaultParameterWithNoStatements9.js] +"use strict"; function foo(a) { if (a === void 0) { a = console.log; } } diff --git a/tests/baselines/reference/functionWithMultipleReturnStatements.js b/tests/baselines/reference/functionWithMultipleReturnStatements.js index 66ec6c61cb5a6..3821e0d5030a3 100644 --- a/tests/baselines/reference/functionWithMultipleReturnStatements.js +++ b/tests/baselines/reference/functionWithMultipleReturnStatements.js @@ -66,6 +66,7 @@ function f8(x: T, y: U) { //// [functionWithMultipleReturnStatements.js] +"use strict"; // return type of a function with multiple returns is the BCT of each return statement // it is an error if there is no single BCT, these are error cases function f1() { diff --git a/tests/baselines/reference/functionWithMultipleReturnStatements2.js b/tests/baselines/reference/functionWithMultipleReturnStatements2.js index e10fd1a8dab15..de5b27f6bf80a 100644 --- a/tests/baselines/reference/functionWithMultipleReturnStatements2.js +++ b/tests/baselines/reference/functionWithMultipleReturnStatements2.js @@ -94,6 +94,7 @@ function f12() { } //// [functionWithMultipleReturnStatements2.js] +"use strict"; // return type of a function with multiple returns is the BCT of each return statement // no errors expected here function f1() { diff --git a/tests/baselines/reference/functionWithNoBestCommonType1.js b/tests/baselines/reference/functionWithNoBestCommonType1.js index ea84d45ff08a3..2fd558be23597 100644 --- a/tests/baselines/reference/functionWithNoBestCommonType1.js +++ b/tests/baselines/reference/functionWithNoBestCommonType1.js @@ -10,6 +10,7 @@ function bar(): void { } //// [functionWithNoBestCommonType1.js] +"use strict"; function foo() { return true; return bar(); diff --git a/tests/baselines/reference/functionWithNoBestCommonType2.js b/tests/baselines/reference/functionWithNoBestCommonType2.js index 0b288a42d46d6..224c13fbc9d7f 100644 --- a/tests/baselines/reference/functionWithNoBestCommonType2.js +++ b/tests/baselines/reference/functionWithNoBestCommonType2.js @@ -10,6 +10,7 @@ function bar(): void { } //// [functionWithNoBestCommonType2.js] +"use strict"; var v = function () { return true; return bar(); diff --git a/tests/baselines/reference/functionWithSameNameAsField.js b/tests/baselines/reference/functionWithSameNameAsField.js index 28a9dc57f1fbd..a015724a7e968 100644 --- a/tests/baselines/reference/functionWithSameNameAsField.js +++ b/tests/baselines/reference/functionWithSameNameAsField.js @@ -11,6 +11,7 @@ class TestProgressBar { //// [functionWithSameNameAsField.js] +"use strict"; var TestProgressBar = /** @class */ (function () { function TestProgressBar() { } diff --git a/tests/baselines/reference/functionWithThrowButNoReturn1.js b/tests/baselines/reference/functionWithThrowButNoReturn1.js index 0fd25d3498d53..c8a4617d9315f 100644 --- a/tests/baselines/reference/functionWithThrowButNoReturn1.js +++ b/tests/baselines/reference/functionWithThrowButNoReturn1.js @@ -8,6 +8,7 @@ function fn(): number { //// [functionWithThrowButNoReturn1.js] +"use strict"; function fn() { throw new Error('NYI'); var t; diff --git a/tests/baselines/reference/functionsInClassExpressions.js b/tests/baselines/reference/functionsInClassExpressions.js index 813197f280e42..60b90bb8c544b 100644 --- a/tests/baselines/reference/functionsInClassExpressions.js +++ b/tests/baselines/reference/functionsInClassExpressions.js @@ -13,6 +13,7 @@ let Foo = class { } //// [functionsInClassExpressions.js] +"use strict"; var Foo = /** @class */ (function () { function class_1() { var _this = this; diff --git a/tests/baselines/reference/functionsMissingReturnStatementsAndExpressions.js b/tests/baselines/reference/functionsMissingReturnStatementsAndExpressions.js index 66ac066240905..a668367677103 100644 --- a/tests/baselines/reference/functionsMissingReturnStatementsAndExpressions.js +++ b/tests/baselines/reference/functionsMissingReturnStatementsAndExpressions.js @@ -158,6 +158,7 @@ class C { //// [functionsMissingReturnStatementsAndExpressions.js] +"use strict"; function f1() { // errors because there are no return statements } diff --git a/tests/baselines/reference/functionsMissingReturnStatementsAndExpressionsStrictNullChecks.js b/tests/baselines/reference/functionsMissingReturnStatementsAndExpressionsStrictNullChecks.js index 83e3287f6331e..701522987591c 100644 --- a/tests/baselines/reference/functionsMissingReturnStatementsAndExpressionsStrictNullChecks.js +++ b/tests/baselines/reference/functionsMissingReturnStatementsAndExpressionsStrictNullChecks.js @@ -77,6 +77,7 @@ const fn4: FN = async () => {}; //// [functionsMissingReturnStatementsAndExpressionsStrictNullChecks.js] +"use strict"; function f10() { // Ok, return type allows implicit return of undefined } diff --git a/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=false).js b/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=false).js index 75eaa53f2f8e8..cc81c9680dc0a 100644 --- a/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=false).js +++ b/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=false).js @@ -48,6 +48,7 @@ function f8(): string | null { } //// [functionsWithImplicitReturnTypeAssignableToUndefined.js] +"use strict"; function f1() { if (Math.random() < 0.5) return true; diff --git a/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=true).js b/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=true).js index 75eaa53f2f8e8..cc81c9680dc0a 100644 --- a/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=true).js +++ b/tests/baselines/reference/functionsWithImplicitReturnTypeAssignableToUndefined(strictnullchecks=true).js @@ -48,6 +48,7 @@ function f8(): string | null { } //// [functionsWithImplicitReturnTypeAssignableToUndefined.js] +"use strict"; function f1() { if (Math.random() < 0.5) return true; diff --git a/tests/baselines/reference/functionsWithModifiersInBlocks1.errors.txt b/tests/baselines/reference/functionsWithModifiersInBlocks1.errors.txt index d8f81e8ea16cb..a080994eea616 100644 --- a/tests/baselines/reference/functionsWithModifiersInBlocks1.errors.txt +++ b/tests/baselines/reference/functionsWithModifiersInBlocks1.errors.txt @@ -1,19 +1,24 @@ functionsWithModifiersInBlocks1.ts(2,4): error TS1184: Modifiers cannot appear here. +functionsWithModifiersInBlocks1.ts(2,21): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. functionsWithModifiersInBlocks1.ts(2,21): error TS2393: Duplicate function implementation. functionsWithModifiersInBlocks1.ts(2,25): error TS1183: An implementation cannot be declared in ambient contexts. functionsWithModifiersInBlocks1.ts(3,4): error TS1184: Modifiers cannot appear here. +functionsWithModifiersInBlocks1.ts(3,20): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. functionsWithModifiersInBlocks1.ts(3,20): error TS2393: Duplicate function implementation. functionsWithModifiersInBlocks1.ts(4,4): error TS1184: Modifiers cannot appear here. +functionsWithModifiersInBlocks1.ts(4,28): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. functionsWithModifiersInBlocks1.ts(4,28): error TS2393: Duplicate function implementation. functionsWithModifiersInBlocks1.ts(4,32): error TS1183: An implementation cannot be declared in ambient contexts. -==== functionsWithModifiersInBlocks1.ts (8 errors) ==== +==== functionsWithModifiersInBlocks1.ts (11 errors) ==== { declare function f() { } ~~~~~~~ !!! error TS1184: Modifiers cannot appear here. ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + ~ !!! error TS2393: Duplicate function implementation. ~ !!! error TS1183: An implementation cannot be declared in ambient contexts. @@ -21,11 +26,15 @@ functionsWithModifiersInBlocks1.ts(4,32): error TS1183: An implementation cannot ~~~~~~ !!! error TS1184: Modifiers cannot appear here. ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + ~ !!! error TS2393: Duplicate function implementation. declare export function f() { } ~~~~~~~ !!! error TS1184: Modifiers cannot appear here. ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + ~ !!! error TS2393: Duplicate function implementation. ~ !!! error TS1183: An implementation cannot be declared in ambient contexts. diff --git a/tests/baselines/reference/functionsWithModifiersInBlocks1.js b/tests/baselines/reference/functionsWithModifiersInBlocks1.js index 44d20bec98a84..29af3e359c38d 100644 --- a/tests/baselines/reference/functionsWithModifiersInBlocks1.js +++ b/tests/baselines/reference/functionsWithModifiersInBlocks1.js @@ -8,6 +8,7 @@ } //// [functionsWithModifiersInBlocks1.js] +"use strict"; { export function f() { } } diff --git a/tests/baselines/reference/funduleExportedClassIsUsedBeforeDeclaration.js b/tests/baselines/reference/funduleExportedClassIsUsedBeforeDeclaration.js index 0d2790be87091..43aca9122838b 100644 --- a/tests/baselines/reference/funduleExportedClassIsUsedBeforeDeclaration.js +++ b/tests/baselines/reference/funduleExportedClassIsUsedBeforeDeclaration.js @@ -12,4 +12,5 @@ declare namespace B { new B.C(); //// [funduleExportedClassIsUsedBeforeDeclaration.js] +"use strict"; new B.C(); diff --git a/tests/baselines/reference/funduleOfFunctionWithoutReturnTypeAnnotation.js b/tests/baselines/reference/funduleOfFunctionWithoutReturnTypeAnnotation.js index fba189c67e1b5..c9d896ed366de 100644 --- a/tests/baselines/reference/funduleOfFunctionWithoutReturnTypeAnnotation.js +++ b/tests/baselines/reference/funduleOfFunctionWithoutReturnTypeAnnotation.js @@ -10,6 +10,7 @@ namespace fn { //// [funduleOfFunctionWithoutReturnTypeAnnotation.js] +"use strict"; function fn() { return fn.n; } diff --git a/tests/baselines/reference/funduleSplitAcrossFiles.js b/tests/baselines/reference/funduleSplitAcrossFiles.js index 2b13b938808ee..441461d4c25c5 100644 --- a/tests/baselines/reference/funduleSplitAcrossFiles.js +++ b/tests/baselines/reference/funduleSplitAcrossFiles.js @@ -10,8 +10,10 @@ namespace D { D.y; //// [funduleSplitAcrossFiles_function.js] +"use strict"; function D() { } //// [funduleSplitAcrossFiles_module.js] +"use strict"; var D; (function (D) { D.y = "hi"; diff --git a/tests/baselines/reference/funduleUsedAcrossFileBoundary.js b/tests/baselines/reference/funduleUsedAcrossFileBoundary.js index 6b48ea1e67a63..08ca264bbe263 100644 --- a/tests/baselines/reference/funduleUsedAcrossFileBoundary.js +++ b/tests/baselines/reference/funduleUsedAcrossFileBoundary.js @@ -15,7 +15,9 @@ function promiseWithCancellation(promise: Q.Promise) { } //// [funduleUsedAcrossFileBoundary_file1.js] +"use strict"; //// [funduleUsedAcrossFileBoundary_file2.js] +"use strict"; function promiseWithCancellation(promise) { var deferred = Q.defer(); // used to be an error } diff --git a/tests/baselines/reference/fuzzy.js b/tests/baselines/reference/fuzzy.js index 6f0e0f83dc799..5cd695cfcea3e 100644 --- a/tests/baselines/reference/fuzzy.js +++ b/tests/baselines/reference/fuzzy.js @@ -33,6 +33,7 @@ namespace M { //// [fuzzy.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/generatedContextualTyping.js b/tests/baselines/reference/generatedContextualTyping.js index d7abfd0846057..534817ecdb9aa 100644 --- a/tests/baselines/reference/generatedContextualTyping.js +++ b/tests/baselines/reference/generatedContextualTyping.js @@ -357,6 +357,7 @@ var x355 = function(n: (s: Base[]) => any) { }; x355(n => { var n: Base[]; retur var x356 = function(n: Genric) { }; x356({ func: n => { return [d1, d2]; } }); //// [generatedContextualTyping.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/generativeRecursionWithTypeOf.js b/tests/baselines/reference/generativeRecursionWithTypeOf.js index 464e34b719cab..dc76fe9d984f1 100644 --- a/tests/baselines/reference/generativeRecursionWithTypeOf.js +++ b/tests/baselines/reference/generativeRecursionWithTypeOf.js @@ -13,6 +13,7 @@ namespace M { } //// [generativeRecursionWithTypeOf.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/generatorES6_1.js b/tests/baselines/reference/generatorES6_1.js index 4a948eed6a1dc..1ff957ce2e8e8 100644 --- a/tests/baselines/reference/generatorES6_1.js +++ b/tests/baselines/reference/generatorES6_1.js @@ -6,6 +6,7 @@ function* foo() { } //// [generatorES6_1.js] +"use strict"; function* foo() { yield; } diff --git a/tests/baselines/reference/generatorES6_2.js b/tests/baselines/reference/generatorES6_2.js index 87524ab34f915..97e6882750862 100644 --- a/tests/baselines/reference/generatorES6_2.js +++ b/tests/baselines/reference/generatorES6_2.js @@ -8,6 +8,7 @@ class C { } //// [generatorES6_2.js] +"use strict"; class C { *foo() { yield 1; diff --git a/tests/baselines/reference/generatorES6_3.js b/tests/baselines/reference/generatorES6_3.js index 531d720acd6af..87673ecd78a12 100644 --- a/tests/baselines/reference/generatorES6_3.js +++ b/tests/baselines/reference/generatorES6_3.js @@ -6,6 +6,7 @@ var v = function*() { } //// [generatorES6_3.js] +"use strict"; var v = function* () { yield 0; }; diff --git a/tests/baselines/reference/generatorES6_4.js b/tests/baselines/reference/generatorES6_4.js index 499ff7c1d092a..faeeb6ea880e3 100644 --- a/tests/baselines/reference/generatorES6_4.js +++ b/tests/baselines/reference/generatorES6_4.js @@ -8,6 +8,7 @@ var v = { } //// [generatorES6_4.js] +"use strict"; var v = { *foo() { yield 0; diff --git a/tests/baselines/reference/generatorES6_5.js b/tests/baselines/reference/generatorES6_5.js index 9c0b404863f16..fabd6656d8b92 100644 --- a/tests/baselines/reference/generatorES6_5.js +++ b/tests/baselines/reference/generatorES6_5.js @@ -6,6 +6,7 @@ function* foo() { } //// [generatorES6_5.js] +"use strict"; function* foo() { yield a ? b : c; } diff --git a/tests/baselines/reference/generatorES6_6.js b/tests/baselines/reference/generatorES6_6.js index 4e0954e14632a..e355655ff9a68 100644 --- a/tests/baselines/reference/generatorES6_6.js +++ b/tests/baselines/reference/generatorES6_6.js @@ -8,6 +8,7 @@ class C { } //// [generatorES6_6.js] +"use strict"; class C { *[Symbol.iterator]() { let a = yield 1; diff --git a/tests/baselines/reference/generatorExplicitReturnType.js b/tests/baselines/reference/generatorExplicitReturnType.js index 06df49c348c60..5eb05337345c3 100644 --- a/tests/baselines/reference/generatorExplicitReturnType.js +++ b/tests/baselines/reference/generatorExplicitReturnType.js @@ -26,6 +26,7 @@ function* g4(): Generator { } //// [generatorExplicitReturnType.js] +"use strict"; function* g1() { yield; // error yield "a"; // error diff --git a/tests/baselines/reference/generatorImplicitAny.js b/tests/baselines/reference/generatorImplicitAny.js index 75c2488c561fb..62c22575c698c 100644 --- a/tests/baselines/reference/generatorImplicitAny.js +++ b/tests/baselines/reference/generatorImplicitAny.js @@ -34,6 +34,7 @@ function* g6() { } //// [generatorImplicitAny.js] +"use strict"; function* g() { } function* g2() { const value = yield; // error: implicit any diff --git a/tests/baselines/reference/generatorInAmbientContext1.js b/tests/baselines/reference/generatorInAmbientContext1.js index fc5f8b60ae04e..269177ab24cc5 100644 --- a/tests/baselines/reference/generatorInAmbientContext1.js +++ b/tests/baselines/reference/generatorInAmbientContext1.js @@ -6,3 +6,4 @@ declare class C { } //// [generatorInAmbientContext1.js] +"use strict"; diff --git a/tests/baselines/reference/generatorInAmbientContext2.js b/tests/baselines/reference/generatorInAmbientContext2.js index 71a9afbd21289..f7389cfdac6e8 100644 --- a/tests/baselines/reference/generatorInAmbientContext2.js +++ b/tests/baselines/reference/generatorInAmbientContext2.js @@ -6,3 +6,4 @@ declare namespace M { } //// [generatorInAmbientContext2.js] +"use strict"; diff --git a/tests/baselines/reference/generatorInAmbientContext5.js b/tests/baselines/reference/generatorInAmbientContext5.js index fcfa089cf577f..5b4a63b737bd9 100644 --- a/tests/baselines/reference/generatorInAmbientContext5.js +++ b/tests/baselines/reference/generatorInAmbientContext5.js @@ -6,6 +6,7 @@ class C { } //// [generatorInAmbientContext5.js] +"use strict"; class C { *generator() { } } diff --git a/tests/baselines/reference/generatorInAmbientContext6.js b/tests/baselines/reference/generatorInAmbientContext6.js index 7e2739c27fc7b..bb3b7818a0963 100644 --- a/tests/baselines/reference/generatorInAmbientContext6.js +++ b/tests/baselines/reference/generatorInAmbientContext6.js @@ -6,6 +6,7 @@ namespace M { } //// [generatorInAmbientContext6.js] +"use strict"; var M; (function (M) { function* generator() { } diff --git a/tests/baselines/reference/generatorNoImplicitReturns.js b/tests/baselines/reference/generatorNoImplicitReturns.js index 8f979cfcd4878..5889ecf4abeea 100644 --- a/tests/baselines/reference/generatorNoImplicitReturns.js +++ b/tests/baselines/reference/generatorNoImplicitReturns.js @@ -11,6 +11,7 @@ function* testGenerator () { //// [generatorNoImplicitReturns.js] +"use strict"; function* testGenerator() { if (Math.random() > 0.5) { return; diff --git a/tests/baselines/reference/generatorOverloads1.js b/tests/baselines/reference/generatorOverloads1.js index fd36f05e5148a..dfbdbafa28635 100644 --- a/tests/baselines/reference/generatorOverloads1.js +++ b/tests/baselines/reference/generatorOverloads1.js @@ -8,6 +8,7 @@ namespace M { } //// [generatorOverloads1.js] +"use strict"; var M; (function (M) { function* f(s) { } diff --git a/tests/baselines/reference/generatorOverloads2.js b/tests/baselines/reference/generatorOverloads2.js index 22fa83af7da18..10049a6ddd3eb 100644 --- a/tests/baselines/reference/generatorOverloads2.js +++ b/tests/baselines/reference/generatorOverloads2.js @@ -8,3 +8,4 @@ declare namespace M { } //// [generatorOverloads2.js] +"use strict"; diff --git a/tests/baselines/reference/generatorOverloads3.js b/tests/baselines/reference/generatorOverloads3.js index f1b794e8bf03d..15a722ea87a58 100644 --- a/tests/baselines/reference/generatorOverloads3.js +++ b/tests/baselines/reference/generatorOverloads3.js @@ -8,6 +8,7 @@ class C { } //// [generatorOverloads3.js] +"use strict"; class C { *f(s) { } } diff --git a/tests/baselines/reference/generatorOverloads4.js b/tests/baselines/reference/generatorOverloads4.js index 6eab0a7fc4958..7a072ed497e0a 100644 --- a/tests/baselines/reference/generatorOverloads4.js +++ b/tests/baselines/reference/generatorOverloads4.js @@ -8,6 +8,7 @@ class C { } //// [generatorOverloads4.js] +"use strict"; class C { *f(s) { } } diff --git a/tests/baselines/reference/generatorOverloads5.js b/tests/baselines/reference/generatorOverloads5.js index 8195497e45b80..4e8b718977936 100644 --- a/tests/baselines/reference/generatorOverloads5.js +++ b/tests/baselines/reference/generatorOverloads5.js @@ -8,6 +8,7 @@ namespace M { } //// [generatorOverloads5.js] +"use strict"; var M; (function (M) { function* f(s) { } diff --git a/tests/baselines/reference/generatorReturnExpressionIsChecked.js b/tests/baselines/reference/generatorReturnExpressionIsChecked.js index 809bd5a9aaf97..2bc4bd1eba98f 100644 --- a/tests/baselines/reference/generatorReturnExpressionIsChecked.js +++ b/tests/baselines/reference/generatorReturnExpressionIsChecked.js @@ -7,6 +7,7 @@ function* f(): Iterator { //// [generatorReturnExpressionIsChecked.js] +"use strict"; function* f() { return invalid; } diff --git a/tests/baselines/reference/generatorReturnTypeInference.js b/tests/baselines/reference/generatorReturnTypeInference.js index 430ff32104b68..74219f5877f09 100644 --- a/tests/baselines/reference/generatorReturnTypeInference.js +++ b/tests/baselines/reference/generatorReturnTypeInference.js @@ -136,6 +136,7 @@ function* g311() { // Generator //// [generatorReturnTypeInference.js] +"use strict"; function* g000() { } // 'yield' iteration type inference diff --git a/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.js b/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.js index 51da317561cff..419c5f38cb39d 100644 --- a/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.js +++ b/tests/baselines/reference/generatorReturnTypeInferenceNonStrict.js @@ -138,6 +138,7 @@ function* g311() { // Generator //// [generatorReturnTypeInferenceNonStrict.js] +"use strict"; function* g000() { } // 'yield' iteration type inference diff --git a/tests/baselines/reference/generatorTransformFinalLabel.js b/tests/baselines/reference/generatorTransformFinalLabel.js index fbc825f610fce..6cbad950e9899 100644 --- a/tests/baselines/reference/generatorTransformFinalLabel.js +++ b/tests/baselines/reference/generatorTransformFinalLabel.js @@ -11,6 +11,7 @@ async function test(skip: boolean) { } //// [generatorTransformFinalLabel.js] +"use strict"; function test(skip) { return __awaiter(this, void 0, void 0, function () { return __generator(this, function (_a) { diff --git a/tests/baselines/reference/generatorTypeCheck1.js b/tests/baselines/reference/generatorTypeCheck1.js index 4f8d40404802a..876e3913e2f48 100644 --- a/tests/baselines/reference/generatorTypeCheck1.js +++ b/tests/baselines/reference/generatorTypeCheck1.js @@ -4,4 +4,5 @@ function* g1(): Iterator { } //// [generatorTypeCheck1.js] +"use strict"; function* g1() { } diff --git a/tests/baselines/reference/generatorTypeCheck10.js b/tests/baselines/reference/generatorTypeCheck10.js index d96626e3104f4..e31e8aaa398e7 100644 --- a/tests/baselines/reference/generatorTypeCheck10.js +++ b/tests/baselines/reference/generatorTypeCheck10.js @@ -6,6 +6,7 @@ function* g(): IterableIterator { } //// [generatorTypeCheck10.js] +"use strict"; function* g() { return; } diff --git a/tests/baselines/reference/generatorTypeCheck11.js b/tests/baselines/reference/generatorTypeCheck11.js index 7d9b616a264b2..670dcf85142de 100644 --- a/tests/baselines/reference/generatorTypeCheck11.js +++ b/tests/baselines/reference/generatorTypeCheck11.js @@ -6,6 +6,7 @@ function* g(): IterableIterator { } //// [generatorTypeCheck11.js] +"use strict"; function* g() { return 0; } diff --git a/tests/baselines/reference/generatorTypeCheck12.js b/tests/baselines/reference/generatorTypeCheck12.js index 4acc1e520580b..93f9c57e64f94 100644 --- a/tests/baselines/reference/generatorTypeCheck12.js +++ b/tests/baselines/reference/generatorTypeCheck12.js @@ -6,6 +6,7 @@ function* g(): IterableIterator { } //// [generatorTypeCheck12.js] +"use strict"; function* g() { return ""; } diff --git a/tests/baselines/reference/generatorTypeCheck13.js b/tests/baselines/reference/generatorTypeCheck13.js index a447f44ea86ae..7211a37c542d6 100644 --- a/tests/baselines/reference/generatorTypeCheck13.js +++ b/tests/baselines/reference/generatorTypeCheck13.js @@ -7,6 +7,7 @@ function* g(): IterableIterator { } //// [generatorTypeCheck13.js] +"use strict"; function* g() { yield 0; return ""; diff --git a/tests/baselines/reference/generatorTypeCheck14.js b/tests/baselines/reference/generatorTypeCheck14.js index d131c0157dc35..5e53df3ad9dfc 100644 --- a/tests/baselines/reference/generatorTypeCheck14.js +++ b/tests/baselines/reference/generatorTypeCheck14.js @@ -7,6 +7,7 @@ function* g() { } //// [generatorTypeCheck14.js] +"use strict"; function* g() { yield 0; return ""; diff --git a/tests/baselines/reference/generatorTypeCheck15.js b/tests/baselines/reference/generatorTypeCheck15.js index c19953a70306b..26914c676fa36 100644 --- a/tests/baselines/reference/generatorTypeCheck15.js +++ b/tests/baselines/reference/generatorTypeCheck15.js @@ -6,6 +6,7 @@ function* g() { } //// [generatorTypeCheck15.js] +"use strict"; function* g() { return ""; } diff --git a/tests/baselines/reference/generatorTypeCheck16.js b/tests/baselines/reference/generatorTypeCheck16.js index e55dc1eac80b0..58f03e9ca6b49 100644 --- a/tests/baselines/reference/generatorTypeCheck16.js +++ b/tests/baselines/reference/generatorTypeCheck16.js @@ -6,6 +6,7 @@ function* g() { } //// [generatorTypeCheck16.js] +"use strict"; function* g() { return; } diff --git a/tests/baselines/reference/generatorTypeCheck17.js b/tests/baselines/reference/generatorTypeCheck17.js index 90158c583552a..16afe7417e570 100644 --- a/tests/baselines/reference/generatorTypeCheck17.js +++ b/tests/baselines/reference/generatorTypeCheck17.js @@ -9,6 +9,7 @@ function* g(): IterableIterator { } //// [generatorTypeCheck17.js] +"use strict"; class Foo { } class Bar extends Foo { diff --git a/tests/baselines/reference/generatorTypeCheck18.js b/tests/baselines/reference/generatorTypeCheck18.js index a70041586c1c4..a1c21f78a0056 100644 --- a/tests/baselines/reference/generatorTypeCheck18.js +++ b/tests/baselines/reference/generatorTypeCheck18.js @@ -9,6 +9,7 @@ function* g(): IterableIterator { } //// [generatorTypeCheck18.js] +"use strict"; class Foo { } class Baz { diff --git a/tests/baselines/reference/generatorTypeCheck19.js b/tests/baselines/reference/generatorTypeCheck19.js index 9a48e22fa086e..f33704652eb1d 100644 --- a/tests/baselines/reference/generatorTypeCheck19.js +++ b/tests/baselines/reference/generatorTypeCheck19.js @@ -9,6 +9,7 @@ function* g(): IterableIterator { } //// [generatorTypeCheck19.js] +"use strict"; class Foo { } class Bar extends Foo { diff --git a/tests/baselines/reference/generatorTypeCheck2.js b/tests/baselines/reference/generatorTypeCheck2.js index 71e786a997054..89d4fb5eef1b6 100644 --- a/tests/baselines/reference/generatorTypeCheck2.js +++ b/tests/baselines/reference/generatorTypeCheck2.js @@ -4,4 +4,5 @@ function* g1(): Iterable { } //// [generatorTypeCheck2.js] +"use strict"; function* g1() { } diff --git a/tests/baselines/reference/generatorTypeCheck20.js b/tests/baselines/reference/generatorTypeCheck20.js index 8a335713f315d..c9f96108961ff 100644 --- a/tests/baselines/reference/generatorTypeCheck20.js +++ b/tests/baselines/reference/generatorTypeCheck20.js @@ -9,6 +9,7 @@ function* g(): IterableIterator { } //// [generatorTypeCheck20.js] +"use strict"; class Foo { } class Baz { diff --git a/tests/baselines/reference/generatorTypeCheck21.js b/tests/baselines/reference/generatorTypeCheck21.js index 51fb08da4ae25..53d6ca1b0fc80 100644 --- a/tests/baselines/reference/generatorTypeCheck21.js +++ b/tests/baselines/reference/generatorTypeCheck21.js @@ -9,6 +9,7 @@ function* g(): IterableIterator { } //// [generatorTypeCheck21.js] +"use strict"; class Foo { } class Bar extends Foo { diff --git a/tests/baselines/reference/generatorTypeCheck22.js b/tests/baselines/reference/generatorTypeCheck22.js index 1ccec6afcc6f9..def37872c1a34 100644 --- a/tests/baselines/reference/generatorTypeCheck22.js +++ b/tests/baselines/reference/generatorTypeCheck22.js @@ -13,6 +13,7 @@ function* g3() { } //// [generatorTypeCheck22.js] +"use strict"; class Foo { } class Bar extends Foo { diff --git a/tests/baselines/reference/generatorTypeCheck23.js b/tests/baselines/reference/generatorTypeCheck23.js index 6a19efcc59edf..88ffb9a386c80 100644 --- a/tests/baselines/reference/generatorTypeCheck23.js +++ b/tests/baselines/reference/generatorTypeCheck23.js @@ -14,6 +14,7 @@ function* g3() { } //// [generatorTypeCheck23.js] +"use strict"; class Foo { } class Bar extends Foo { diff --git a/tests/baselines/reference/generatorTypeCheck24.js b/tests/baselines/reference/generatorTypeCheck24.js index 36062e144f6ed..c8090c1871150 100644 --- a/tests/baselines/reference/generatorTypeCheck24.js +++ b/tests/baselines/reference/generatorTypeCheck24.js @@ -14,6 +14,7 @@ function* g3() { } //// [generatorTypeCheck24.js] +"use strict"; class Foo { } class Bar extends Foo { diff --git a/tests/baselines/reference/generatorTypeCheck25.js b/tests/baselines/reference/generatorTypeCheck25.js index 53854e92fab52..9c115e4b83b2c 100644 --- a/tests/baselines/reference/generatorTypeCheck25.js +++ b/tests/baselines/reference/generatorTypeCheck25.js @@ -13,6 +13,7 @@ var g3: () => Iterable = function* () { } //// [generatorTypeCheck25.js] +"use strict"; class Foo { } class Bar extends Foo { diff --git a/tests/baselines/reference/generatorTypeCheck26.js b/tests/baselines/reference/generatorTypeCheck26.js index 5004a9aa05223..a7cea42b5c345 100644 --- a/tests/baselines/reference/generatorTypeCheck26.js +++ b/tests/baselines/reference/generatorTypeCheck26.js @@ -8,6 +8,7 @@ function* g(): IterableIterator<(x: string) => number, (x: string) => number> { } //// [generatorTypeCheck26.js] +"use strict"; function* g() { yield x => x.length; yield* [x => x.length]; diff --git a/tests/baselines/reference/generatorTypeCheck27.js b/tests/baselines/reference/generatorTypeCheck27.js index fdc7846dcc06c..7cee9085d348e 100644 --- a/tests/baselines/reference/generatorTypeCheck27.js +++ b/tests/baselines/reference/generatorTypeCheck27.js @@ -8,6 +8,7 @@ function* g(): IterableIterator<(x: string) => number> { } //// [generatorTypeCheck27.js] +"use strict"; function* g() { yield* function* () { yield x => x.length; diff --git a/tests/baselines/reference/generatorTypeCheck28.js b/tests/baselines/reference/generatorTypeCheck28.js index a68c1043af7a0..0d8800d7df332 100644 --- a/tests/baselines/reference/generatorTypeCheck28.js +++ b/tests/baselines/reference/generatorTypeCheck28.js @@ -10,6 +10,7 @@ function* g(): IterableIterator<(x: string) => number> { } //// [generatorTypeCheck28.js] +"use strict"; function* g() { yield* { *[Symbol.iterator]() { diff --git a/tests/baselines/reference/generatorTypeCheck29.js b/tests/baselines/reference/generatorTypeCheck29.js index 27f2b307460cf..bdfd2036e89bf 100644 --- a/tests/baselines/reference/generatorTypeCheck29.js +++ b/tests/baselines/reference/generatorTypeCheck29.js @@ -8,6 +8,7 @@ function* g2(): Iterator number>> { } //// [generatorTypeCheck29.js] +"use strict"; function* g2() { yield function* () { yield x => x.length; diff --git a/tests/baselines/reference/generatorTypeCheck3.js b/tests/baselines/reference/generatorTypeCheck3.js index 0cc0cb1024b93..6194da248563e 100644 --- a/tests/baselines/reference/generatorTypeCheck3.js +++ b/tests/baselines/reference/generatorTypeCheck3.js @@ -4,4 +4,5 @@ function* g1(): IterableIterator { } //// [generatorTypeCheck3.js] +"use strict"; function* g1() { } diff --git a/tests/baselines/reference/generatorTypeCheck30.js b/tests/baselines/reference/generatorTypeCheck30.js index dbb78724c41ad..f3886df46df34 100644 --- a/tests/baselines/reference/generatorTypeCheck30.js +++ b/tests/baselines/reference/generatorTypeCheck30.js @@ -8,6 +8,7 @@ function* g2(): Iterator number>> { } //// [generatorTypeCheck30.js] +"use strict"; function* g2() { yield function* () { yield x => x.length; diff --git a/tests/baselines/reference/generatorTypeCheck31.js b/tests/baselines/reference/generatorTypeCheck31.js index 22cc465a75155..b2da4f02b694d 100644 --- a/tests/baselines/reference/generatorTypeCheck31.js +++ b/tests/baselines/reference/generatorTypeCheck31.js @@ -8,6 +8,7 @@ function* g2(): Iterator<() => Iterable<(x: string) => number>> { } //// [generatorTypeCheck31.js] +"use strict"; function* g2() { yield function* () { yield x => x.length; diff --git a/tests/baselines/reference/generatorTypeCheck32.js b/tests/baselines/reference/generatorTypeCheck32.js index a0abd264c2fda..454105a7f5906 100644 --- a/tests/baselines/reference/generatorTypeCheck32.js +++ b/tests/baselines/reference/generatorTypeCheck32.js @@ -5,5 +5,6 @@ var s: string; var f: () => number = () => yield s; //// [generatorTypeCheck32.js] +"use strict"; var s; var f = () => yield s; diff --git a/tests/baselines/reference/generatorTypeCheck33.js b/tests/baselines/reference/generatorTypeCheck33.js index 22ce1f5825586..69c87fc32b72f 100644 --- a/tests/baselines/reference/generatorTypeCheck33.js +++ b/tests/baselines/reference/generatorTypeCheck33.js @@ -9,6 +9,7 @@ function* g() { } //// [generatorTypeCheck33.js] +"use strict"; function* g() { yield 0; function* g2() { diff --git a/tests/baselines/reference/generatorTypeCheck34.js b/tests/baselines/reference/generatorTypeCheck34.js index 88c5d72511a0a..33b29c14c299a 100644 --- a/tests/baselines/reference/generatorTypeCheck34.js +++ b/tests/baselines/reference/generatorTypeCheck34.js @@ -9,6 +9,7 @@ function* g() { } //// [generatorTypeCheck34.js] +"use strict"; function* g() { yield 0; function* g2() { diff --git a/tests/baselines/reference/generatorTypeCheck35.js b/tests/baselines/reference/generatorTypeCheck35.js index 58bb63ceb6bbc..fd9b0792c645a 100644 --- a/tests/baselines/reference/generatorTypeCheck35.js +++ b/tests/baselines/reference/generatorTypeCheck35.js @@ -9,6 +9,7 @@ function* g() { } //// [generatorTypeCheck35.js] +"use strict"; function* g() { yield 0; function g2() { diff --git a/tests/baselines/reference/generatorTypeCheck36.js b/tests/baselines/reference/generatorTypeCheck36.js index fd18ba4ada86b..8641fb136aeab 100644 --- a/tests/baselines/reference/generatorTypeCheck36.js +++ b/tests/baselines/reference/generatorTypeCheck36.js @@ -6,6 +6,7 @@ function* g() { } //// [generatorTypeCheck36.js] +"use strict"; function* g() { yield yield 0; } diff --git a/tests/baselines/reference/generatorTypeCheck37.js b/tests/baselines/reference/generatorTypeCheck37.js index 44881af6534eb..602a60f93e990 100644 --- a/tests/baselines/reference/generatorTypeCheck37.js +++ b/tests/baselines/reference/generatorTypeCheck37.js @@ -6,6 +6,7 @@ function* g() { } //// [generatorTypeCheck37.js] +"use strict"; function* g() { return yield yield 0; } diff --git a/tests/baselines/reference/generatorTypeCheck38.errors.txt b/tests/baselines/reference/generatorTypeCheck38.errors.txt new file mode 100644 index 0000000000000..d3948ae800df1 --- /dev/null +++ b/tests/baselines/reference/generatorTypeCheck38.errors.txt @@ -0,0 +1,14 @@ +generatorTypeCheck38.ts(1,5): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +generatorTypeCheck38.ts(4,19): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + + +==== generatorTypeCheck38.ts (2 errors) ==== + var yield; + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + function* g() { + yield 0; + var v: typeof yield; + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. + } \ No newline at end of file diff --git a/tests/baselines/reference/generatorTypeCheck38.js b/tests/baselines/reference/generatorTypeCheck38.js index c682bf9566561..8b557f5fd8d9a 100644 --- a/tests/baselines/reference/generatorTypeCheck38.js +++ b/tests/baselines/reference/generatorTypeCheck38.js @@ -8,6 +8,7 @@ function* g() { } //// [generatorTypeCheck38.js] +"use strict"; var yield; function* g() { yield 0; diff --git a/tests/baselines/reference/generatorTypeCheck38.types b/tests/baselines/reference/generatorTypeCheck38.types index da815c386e60f..d8ad76a698fc6 100644 --- a/tests/baselines/reference/generatorTypeCheck38.types +++ b/tests/baselines/reference/generatorTypeCheck38.types @@ -3,6 +3,7 @@ === generatorTypeCheck38.ts === var yield; >yield : any +> : ^^^ function* g() { >g : () => Generator @@ -10,10 +11,13 @@ function* g() { yield 0; >yield 0 : any +> : ^^^ >0 : 0 > : ^ var v: typeof yield; >v : any +> : ^^^ >yield : any +> : ^^^ } diff --git a/tests/baselines/reference/generatorTypeCheck39.js b/tests/baselines/reference/generatorTypeCheck39.js index a391fe5dfbd3c..1118f535e4655 100644 --- a/tests/baselines/reference/generatorTypeCheck39.js +++ b/tests/baselines/reference/generatorTypeCheck39.js @@ -12,6 +12,7 @@ function* g() { } //// [generatorTypeCheck39.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/generatorTypeCheck4.js b/tests/baselines/reference/generatorTypeCheck4.js index 673cddfa2ea1d..0163e280eca38 100644 --- a/tests/baselines/reference/generatorTypeCheck4.js +++ b/tests/baselines/reference/generatorTypeCheck4.js @@ -4,4 +4,5 @@ function* g1(): {} { } //// [generatorTypeCheck4.js] +"use strict"; function* g1() { } diff --git a/tests/baselines/reference/generatorTypeCheck40.js b/tests/baselines/reference/generatorTypeCheck40.js index 0840710ac119f..2206a6bd5eb25 100644 --- a/tests/baselines/reference/generatorTypeCheck40.js +++ b/tests/baselines/reference/generatorTypeCheck40.js @@ -6,6 +6,7 @@ function* g() { } //// [generatorTypeCheck40.js] +"use strict"; function* g() { class C extends (yield 0) { } diff --git a/tests/baselines/reference/generatorTypeCheck41.js b/tests/baselines/reference/generatorTypeCheck41.js index f9a3194ceb69e..6159d01de9a04 100644 --- a/tests/baselines/reference/generatorTypeCheck41.js +++ b/tests/baselines/reference/generatorTypeCheck41.js @@ -8,6 +8,7 @@ function* g() { } //// [generatorTypeCheck41.js] +"use strict"; function* g() { let x = { [yield 0]: 0 diff --git a/tests/baselines/reference/generatorTypeCheck42.js b/tests/baselines/reference/generatorTypeCheck42.js index 00c856d522c0a..830a4cd30a123 100644 --- a/tests/baselines/reference/generatorTypeCheck42.js +++ b/tests/baselines/reference/generatorTypeCheck42.js @@ -10,6 +10,7 @@ function* g() { } //// [generatorTypeCheck42.js] +"use strict"; function* g() { let x = { [yield 0]() { diff --git a/tests/baselines/reference/generatorTypeCheck43.js b/tests/baselines/reference/generatorTypeCheck43.js index cc4f9c1948fe2..6dd8c39182ab5 100644 --- a/tests/baselines/reference/generatorTypeCheck43.js +++ b/tests/baselines/reference/generatorTypeCheck43.js @@ -10,6 +10,7 @@ function* g() { } //// [generatorTypeCheck43.js] +"use strict"; function* g() { let x = { *[yield 0]() { diff --git a/tests/baselines/reference/generatorTypeCheck44.js b/tests/baselines/reference/generatorTypeCheck44.js index 861e6513ed46e..9391acac42b72 100644 --- a/tests/baselines/reference/generatorTypeCheck44.js +++ b/tests/baselines/reference/generatorTypeCheck44.js @@ -10,6 +10,7 @@ function* g() { } //// [generatorTypeCheck44.js] +"use strict"; function* g() { let x = { get [yield 0]() { diff --git a/tests/baselines/reference/generatorTypeCheck45.js b/tests/baselines/reference/generatorTypeCheck45.js index b67f7ffad1fa1..ddbc46ccdd075 100644 --- a/tests/baselines/reference/generatorTypeCheck45.js +++ b/tests/baselines/reference/generatorTypeCheck45.js @@ -6,4 +6,5 @@ declare function foo(x: T, fun: () => Iterator<(x: T) => U>, fun2: (y: U) foo("", function* () { yield x => x.length }, p => undefined); // T is fixed, should be string //// [generatorTypeCheck45.js] +"use strict"; foo("", function* () { yield x => x.length; }, p => undefined); // T is fixed, should be string diff --git a/tests/baselines/reference/generatorTypeCheck46.js b/tests/baselines/reference/generatorTypeCheck46.js index 6d34ed511415a..7dbc2d90ee449 100644 --- a/tests/baselines/reference/generatorTypeCheck46.js +++ b/tests/baselines/reference/generatorTypeCheck46.js @@ -12,6 +12,7 @@ foo("", function* () { }, p => undefined); // T is fixed, should be string //// [generatorTypeCheck46.js] +"use strict"; foo("", function* () { yield* { *[Symbol.iterator]() { diff --git a/tests/baselines/reference/generatorTypeCheck47.js b/tests/baselines/reference/generatorTypeCheck47.js index f8f3b5d5aab11..38db9ad470f7b 100644 --- a/tests/baselines/reference/generatorTypeCheck47.js +++ b/tests/baselines/reference/generatorTypeCheck47.js @@ -4,4 +4,5 @@ function* g() { } //// [generatorTypeCheck47.js] +"use strict"; function* g() { } diff --git a/tests/baselines/reference/generatorTypeCheck48.js b/tests/baselines/reference/generatorTypeCheck48.js index 729b8049ed40c..5e7a2e3e5598a 100644 --- a/tests/baselines/reference/generatorTypeCheck48.js +++ b/tests/baselines/reference/generatorTypeCheck48.js @@ -11,6 +11,7 @@ function* h() { //// [generatorTypeCheck48.js] +"use strict"; function* g() { yield; } diff --git a/tests/baselines/reference/generatorTypeCheck49.js b/tests/baselines/reference/generatorTypeCheck49.js index b4045b56dd8a9..0d66c56b052ef 100644 --- a/tests/baselines/reference/generatorTypeCheck49.js +++ b/tests/baselines/reference/generatorTypeCheck49.js @@ -6,6 +6,7 @@ function* g() { } //// [generatorTypeCheck49.js] +"use strict"; function* g() { yield 0; } diff --git a/tests/baselines/reference/generatorTypeCheck5.js b/tests/baselines/reference/generatorTypeCheck5.js index f49d9cbd70ae9..821710985eb67 100644 --- a/tests/baselines/reference/generatorTypeCheck5.js +++ b/tests/baselines/reference/generatorTypeCheck5.js @@ -4,4 +4,5 @@ function* g1(): any { } //// [generatorTypeCheck5.js] +"use strict"; function* g1() { } diff --git a/tests/baselines/reference/generatorTypeCheck50.js b/tests/baselines/reference/generatorTypeCheck50.js index cb775ff5f2838..6459998ffa95e 100644 --- a/tests/baselines/reference/generatorTypeCheck50.js +++ b/tests/baselines/reference/generatorTypeCheck50.js @@ -6,6 +6,7 @@ function* g() { } //// [generatorTypeCheck50.js] +"use strict"; function* g() { yield yield; } diff --git a/tests/baselines/reference/generatorTypeCheck51.js b/tests/baselines/reference/generatorTypeCheck51.js index 66a39fac8b100..0fa789849ce6e 100644 --- a/tests/baselines/reference/generatorTypeCheck51.js +++ b/tests/baselines/reference/generatorTypeCheck51.js @@ -8,6 +8,7 @@ function* g() { } //// [generatorTypeCheck51.js] +"use strict"; function* g() { function* h() { yield 0; diff --git a/tests/baselines/reference/generatorTypeCheck52.js b/tests/baselines/reference/generatorTypeCheck52.js index 3b6626cea5bb5..00928fb675036 100644 --- a/tests/baselines/reference/generatorTypeCheck52.js +++ b/tests/baselines/reference/generatorTypeCheck52.js @@ -9,6 +9,7 @@ function* g() { } //// [generatorTypeCheck52.js] +"use strict"; class Foo { } class Baz { diff --git a/tests/baselines/reference/generatorTypeCheck53.js b/tests/baselines/reference/generatorTypeCheck53.js index a69f75010bf40..bd29695fbe391 100644 --- a/tests/baselines/reference/generatorTypeCheck53.js +++ b/tests/baselines/reference/generatorTypeCheck53.js @@ -9,6 +9,7 @@ function* g() { } //// [generatorTypeCheck53.js] +"use strict"; class Foo { } class Baz { diff --git a/tests/baselines/reference/generatorTypeCheck54.js b/tests/baselines/reference/generatorTypeCheck54.js index 64c4cf2589c16..fb55dd11c0009 100644 --- a/tests/baselines/reference/generatorTypeCheck54.js +++ b/tests/baselines/reference/generatorTypeCheck54.js @@ -9,6 +9,7 @@ function* g() { } //// [generatorTypeCheck54.js] +"use strict"; class Foo { } class Baz { diff --git a/tests/baselines/reference/generatorTypeCheck55.js b/tests/baselines/reference/generatorTypeCheck55.js index 003973e33ea42..93e37045a22ec 100644 --- a/tests/baselines/reference/generatorTypeCheck55.js +++ b/tests/baselines/reference/generatorTypeCheck55.js @@ -6,6 +6,7 @@ function* g() { } //// [generatorTypeCheck55.js] +"use strict"; function* g() { var x = class C extends (yield) { }; diff --git a/tests/baselines/reference/generatorTypeCheck56.js b/tests/baselines/reference/generatorTypeCheck56.js index dfe4fc6e35322..f679da77602a7 100644 --- a/tests/baselines/reference/generatorTypeCheck56.js +++ b/tests/baselines/reference/generatorTypeCheck56.js @@ -10,6 +10,7 @@ function* g() { } //// [generatorTypeCheck56.js] +"use strict"; function* g() { var x = class C { *[yield 0]() { diff --git a/tests/baselines/reference/generatorTypeCheck57.js b/tests/baselines/reference/generatorTypeCheck57.js index d4ae1cbe7c634..90a248c84d694 100644 --- a/tests/baselines/reference/generatorTypeCheck57.js +++ b/tests/baselines/reference/generatorTypeCheck57.js @@ -8,6 +8,7 @@ function* g() { } //// [generatorTypeCheck57.js] +"use strict"; function* g() { class C { constructor() { diff --git a/tests/baselines/reference/generatorTypeCheck58.js b/tests/baselines/reference/generatorTypeCheck58.js index 35ee74a1d1336..25882c6a6f36b 100644 --- a/tests/baselines/reference/generatorTypeCheck58.js +++ b/tests/baselines/reference/generatorTypeCheck58.js @@ -8,6 +8,7 @@ function* g() { } //// [generatorTypeCheck58.js] +"use strict"; function* g() { class C { } diff --git a/tests/baselines/reference/generatorTypeCheck59.js b/tests/baselines/reference/generatorTypeCheck59.js index e93345f62acad..c2b0159e7a763 100644 --- a/tests/baselines/reference/generatorTypeCheck59.js +++ b/tests/baselines/reference/generatorTypeCheck59.js @@ -9,6 +9,7 @@ function* g() { } //// [generatorTypeCheck59.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/generatorTypeCheck6.js b/tests/baselines/reference/generatorTypeCheck6.js index d68f0d98a96ab..ac8ba1257fd89 100644 --- a/tests/baselines/reference/generatorTypeCheck6.js +++ b/tests/baselines/reference/generatorTypeCheck6.js @@ -4,4 +4,5 @@ function* g1(): number { } //// [generatorTypeCheck6.js] +"use strict"; function* g1() { } diff --git a/tests/baselines/reference/generatorTypeCheck60.js b/tests/baselines/reference/generatorTypeCheck60.js index 7fabd94a1bec5..8a428a217bfcc 100644 --- a/tests/baselines/reference/generatorTypeCheck60.js +++ b/tests/baselines/reference/generatorTypeCheck60.js @@ -6,6 +6,7 @@ function* g() { } //// [generatorTypeCheck60.js] +"use strict"; function* g() { class C extends (yield) { } diff --git a/tests/baselines/reference/generatorTypeCheck61.js b/tests/baselines/reference/generatorTypeCheck61.js index 698777d67bef9..4fdeaba810ea3 100644 --- a/tests/baselines/reference/generatorTypeCheck61.js +++ b/tests/baselines/reference/generatorTypeCheck61.js @@ -7,6 +7,7 @@ function * g() { } //// [generatorTypeCheck61.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/generatorTypeCheck7.js b/tests/baselines/reference/generatorTypeCheck7.js index 65ad074fcfe9b..e291248398827 100644 --- a/tests/baselines/reference/generatorTypeCheck7.js +++ b/tests/baselines/reference/generatorTypeCheck7.js @@ -7,4 +7,5 @@ interface WeirdIter extends IterableIterator { function* g1(): WeirdIter { } //// [generatorTypeCheck7.js] +"use strict"; function* g1() { } diff --git a/tests/baselines/reference/generatorTypeCheck8.js b/tests/baselines/reference/generatorTypeCheck8.js index 106818a0ab278..8013caca9aa4e 100644 --- a/tests/baselines/reference/generatorTypeCheck8.js +++ b/tests/baselines/reference/generatorTypeCheck8.js @@ -5,4 +5,5 @@ interface BadGenerator extends Iterator, Iterable { } function* g3(): BadGenerator { } //// [generatorTypeCheck8.js] +"use strict"; function* g3() { } diff --git a/tests/baselines/reference/generatorTypeCheck9.js b/tests/baselines/reference/generatorTypeCheck9.js index c849b2b5ed0cd..c5f198ce3dcfb 100644 --- a/tests/baselines/reference/generatorTypeCheck9.js +++ b/tests/baselines/reference/generatorTypeCheck9.js @@ -4,4 +4,5 @@ function* g3(): void { } //// [generatorTypeCheck9.js] +"use strict"; function* g3() { } diff --git a/tests/baselines/reference/genericAndNonGenericInheritedSignature1.js b/tests/baselines/reference/genericAndNonGenericInheritedSignature1.js index c037c550630e3..37b6f7923bb5a 100644 --- a/tests/baselines/reference/genericAndNonGenericInheritedSignature1.js +++ b/tests/baselines/reference/genericAndNonGenericInheritedSignature1.js @@ -12,3 +12,4 @@ interface Hello extends Foo, Bar { //// [genericAndNonGenericInheritedSignature1.js] +"use strict"; diff --git a/tests/baselines/reference/genericAndNonGenericInheritedSignature2.js b/tests/baselines/reference/genericAndNonGenericInheritedSignature2.js index ba6042ac7ed99..aa3ba08ee9fcd 100644 --- a/tests/baselines/reference/genericAndNonGenericInheritedSignature2.js +++ b/tests/baselines/reference/genericAndNonGenericInheritedSignature2.js @@ -12,3 +12,4 @@ interface Hello extends Bar, Foo { //// [genericAndNonGenericInheritedSignature2.js] +"use strict"; diff --git a/tests/baselines/reference/genericAndNonGenericInterfaceWithTheSameName.js b/tests/baselines/reference/genericAndNonGenericInterfaceWithTheSameName.js index d9773beb325f0..65258a0aad03a 100644 --- a/tests/baselines/reference/genericAndNonGenericInterfaceWithTheSameName.js +++ b/tests/baselines/reference/genericAndNonGenericInterfaceWithTheSameName.js @@ -46,4 +46,5 @@ namespace M3 { } //// [genericAndNonGenericInterfaceWithTheSameName.js] +"use strict"; // generic and non-generic interfaces with the same name do not merge diff --git a/tests/baselines/reference/genericAndNonGenericInterfaceWithTheSameName2.js b/tests/baselines/reference/genericAndNonGenericInterfaceWithTheSameName2.js index 9914bbe9ef4bd..61b6979e30b79 100644 --- a/tests/baselines/reference/genericAndNonGenericInterfaceWithTheSameName2.js +++ b/tests/baselines/reference/genericAndNonGenericInterfaceWithTheSameName2.js @@ -30,4 +30,5 @@ namespace N { } //// [genericAndNonGenericInterfaceWithTheSameName2.js] +"use strict"; // generic and non-generic interfaces with the same name do not merge diff --git a/tests/baselines/reference/genericAndNonGenericOverload1.js b/tests/baselines/reference/genericAndNonGenericOverload1.js index 0ad4b07cea403..9a5d51ac3c35e 100644 --- a/tests/baselines/reference/genericAndNonGenericOverload1.js +++ b/tests/baselines/reference/genericAndNonGenericOverload1.js @@ -9,5 +9,6 @@ var c2: callable2; c2(1); //// [genericAndNonGenericOverload1.js] +"use strict"; var c2; c2(1); diff --git a/tests/baselines/reference/genericArgumentCallSigAssignmentCompat.js b/tests/baselines/reference/genericArgumentCallSigAssignmentCompat.js index d15140fd18ac5..b36c8ddaa8864 100644 --- a/tests/baselines/reference/genericArgumentCallSigAssignmentCompat.js +++ b/tests/baselines/reference/genericArgumentCallSigAssignmentCompat.js @@ -23,6 +23,7 @@ _.all([true], _.identity); //// [genericArgumentCallSigAssignmentCompat.js] +"use strict"; // No error, Call signatures of types '(value: T) => T' and 'Underscore.Iterator<{}, boolean>' are compatible when instantiated with any. // Ideally, we would not have a generic signature here, because it should be instantiated with {} during inferential typing _.all([true, 1, null, 'yes'], _.identity); diff --git a/tests/baselines/reference/genericArray0.js b/tests/baselines/reference/genericArray0.js index b437091fcf95a..fe6c80eeb5890 100644 --- a/tests/baselines/reference/genericArray0.js +++ b/tests/baselines/reference/genericArray0.js @@ -12,6 +12,7 @@ function map() { //// [genericArray0.js] +"use strict"; var x; var y = x; function map() { diff --git a/tests/baselines/reference/genericArray1.js b/tests/baselines/reference/genericArray1.js index b584db27dffb6..e3c7f1a8822b0 100644 --- a/tests/baselines/reference/genericArray1.js +++ b/tests/baselines/reference/genericArray1.js @@ -17,6 +17,7 @@ var lengths = ["a", "b", "c"].map(x => x.length); //// [genericArray1.js] +"use strict"; /* var n: number[]; diff --git a/tests/baselines/reference/genericArrayAssignment1.js b/tests/baselines/reference/genericArrayAssignment1.js index 98e3d9e1fae80..b92ea28597c7e 100644 --- a/tests/baselines/reference/genericArrayAssignment1.js +++ b/tests/baselines/reference/genericArrayAssignment1.js @@ -7,4 +7,5 @@ declare var n: number[]; s = n; //// [genericArrayAssignment1.js] +"use strict"; s = n; diff --git a/tests/baselines/reference/genericArrayAssignmentCompatErrors.js b/tests/baselines/reference/genericArrayAssignmentCompatErrors.js index 4749c56a18b82..bcc1c0d5e8170 100644 --- a/tests/baselines/reference/genericArrayAssignmentCompatErrors.js +++ b/tests/baselines/reference/genericArrayAssignmentCompatErrors.js @@ -24,6 +24,7 @@ myCars3 = myCars5; //// [genericArrayAssignmentCompatErrors.js] +"use strict"; var myCars = new Array(); var myCars2 = new []; var myCars3 = new Array({}); diff --git a/tests/baselines/reference/genericArrayMethods1.js b/tests/baselines/reference/genericArrayMethods1.js index 8a56cb81e42d2..5a1fe8ce9d963 100644 --- a/tests/baselines/reference/genericArrayMethods1.js +++ b/tests/baselines/reference/genericArrayMethods1.js @@ -5,4 +5,5 @@ var x:string[] = [0,1].slice(0); // this should be an error //// [genericArrayMethods1.js] +"use strict"; var x = [0, 1].slice(0); // this should be an error diff --git a/tests/baselines/reference/genericArrayPropertyAssignment.js b/tests/baselines/reference/genericArrayPropertyAssignment.js index 9e84be3e73042..a4a20d35dc413 100644 --- a/tests/baselines/reference/genericArrayPropertyAssignment.js +++ b/tests/baselines/reference/genericArrayPropertyAssignment.js @@ -11,6 +11,7 @@ isEmpty([]); // error //// [genericArrayPropertyAssignment.js] +"use strict"; function isEmpty(list) { return list.length === 0; } diff --git a/tests/baselines/reference/genericArrayWithoutTypeAnnotation.js b/tests/baselines/reference/genericArrayWithoutTypeAnnotation.js index 5cb704ffb6689..924210234eaff 100644 --- a/tests/baselines/reference/genericArrayWithoutTypeAnnotation.js +++ b/tests/baselines/reference/genericArrayWithoutTypeAnnotation.js @@ -10,6 +10,7 @@ class Bar { //// [genericArrayWithoutTypeAnnotation.js] +"use strict"; var Bar = /** @class */ (function () { function Bar() { } diff --git a/tests/baselines/reference/genericAssignmentCompatOfFunctionSignatures1.js b/tests/baselines/reference/genericAssignmentCompatOfFunctionSignatures1.js index fdec13728832e..a17edc07b1493 100644 --- a/tests/baselines/reference/genericAssignmentCompatOfFunctionSignatures1.js +++ b/tests/baselines/reference/genericAssignmentCompatOfFunctionSignatures1.js @@ -8,6 +8,7 @@ x1 = x2; x2 = x1; //// [genericAssignmentCompatOfFunctionSignatures1.js] +"use strict"; var x1 = function foo3(x, z) { }; var x2 = function foo3(x, z) { }; x1 = x2; diff --git a/tests/baselines/reference/genericAssignmentCompatWithInterfaces1.js b/tests/baselines/reference/genericAssignmentCompatWithInterfaces1.js index df8bdcb0e6f0c..db8765368e893 100644 --- a/tests/baselines/reference/genericAssignmentCompatWithInterfaces1.js +++ b/tests/baselines/reference/genericAssignmentCompatWithInterfaces1.js @@ -22,6 +22,7 @@ var a4: I = >z; //// [genericAssignmentCompatWithInterfaces1.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/genericBaseClassLiteralProperty.js b/tests/baselines/reference/genericBaseClassLiteralProperty.js index 4b8e9fa2e09f8..394c045dfbd83 100644 --- a/tests/baselines/reference/genericBaseClassLiteralProperty.js +++ b/tests/baselines/reference/genericBaseClassLiteralProperty.js @@ -15,6 +15,7 @@ class SubClass extends BaseClass { } //// [genericBaseClassLiteralProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericBaseClassLiteralProperty2.js b/tests/baselines/reference/genericBaseClassLiteralProperty2.js index 44c944f1f30cd..20989642c21e5 100644 --- a/tests/baselines/reference/genericBaseClassLiteralProperty2.js +++ b/tests/baselines/reference/genericBaseClassLiteralProperty2.js @@ -18,6 +18,7 @@ class DataView2 extends BaseCollection2 { //// [genericBaseClassLiteralProperty2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericCallSpecializedToTypeArg.js b/tests/baselines/reference/genericCallSpecializedToTypeArg.js index 2c11033fe68d4..097ef22e40cef 100644 --- a/tests/baselines/reference/genericCallSpecializedToTypeArg.js +++ b/tests/baselines/reference/genericCallSpecializedToTypeArg.js @@ -12,6 +12,7 @@ function dupeAndGetDist(x: U): U { //// [genericCallSpecializedToTypeArg.js] +"use strict"; function dupe(x) { return x; } diff --git a/tests/baselines/reference/genericCallToOverloadedMethodWithOverloadedArguments.js b/tests/baselines/reference/genericCallToOverloadedMethodWithOverloadedArguments.js index 09eed54c91248..102ec1e4fe299 100644 --- a/tests/baselines/reference/genericCallToOverloadedMethodWithOverloadedArguments.js +++ b/tests/baselines/reference/genericCallToOverloadedMethodWithOverloadedArguments.js @@ -89,6 +89,7 @@ namespace m6 { //// [genericCallToOverloadedMethodWithOverloadedArguments.js] +"use strict"; var m1; (function (m1) { var newPromise = numPromise.then(testFunction); diff --git a/tests/baselines/reference/genericCallTypeArgumentInference.js b/tests/baselines/reference/genericCallTypeArgumentInference.js index b3db8afc16645..627841ffc703b 100644 --- a/tests/baselines/reference/genericCallTypeArgumentInference.js +++ b/tests/baselines/reference/genericCallTypeArgumentInference.js @@ -94,6 +94,7 @@ var r10 = i.foo7(''); // {} var r11 = i.foo8(); // {} //// [genericCallTypeArgumentInference.js] +"use strict"; // Basic type inference with generic calls, no errors expected function foo(t) { return t; diff --git a/tests/baselines/reference/genericCallWithArrayLiteralArgs.js b/tests/baselines/reference/genericCallWithArrayLiteralArgs.js index 21def69d671b0..1b2641d5bf526 100644 --- a/tests/baselines/reference/genericCallWithArrayLiteralArgs.js +++ b/tests/baselines/reference/genericCallWithArrayLiteralArgs.js @@ -16,6 +16,7 @@ var r6 = foo([1, '']); // Object[] //// [genericCallWithArrayLiteralArgs.js] +"use strict"; function foo(t) { return t; } diff --git a/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.js b/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.js index dc8e356ffa0ea..1d96f17cd87e2 100644 --- a/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.js +++ b/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference.js @@ -110,6 +110,7 @@ var r11 = i.foo8(); // Base //// [genericCallWithConstraintsTypeArgumentInference.js] +"use strict"; // Basic type inference with generic calls and constraints, no errors expected var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference2.js b/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference2.js index bc591ac360cbe..bea70a6d3f15c 100644 --- a/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference2.js +++ b/tests/baselines/reference/genericCallWithConstraintsTypeArgumentInference2.js @@ -15,6 +15,7 @@ var r4 = foo(1); // error var r5 = foo(new Date()); // no error //// [genericCallWithConstraintsTypeArgumentInference2.js] +"use strict"; // Generic call with parameters of T and U, U extends T, no parameter of type U function foo(t) { var u; diff --git a/tests/baselines/reference/genericCallWithConstructorTypedArguments5.js b/tests/baselines/reference/genericCallWithConstructorTypedArguments5.js index 304622ed7a3a0..915f8da9ef5e8 100644 --- a/tests/baselines/reference/genericCallWithConstructorTypedArguments5.js +++ b/tests/baselines/reference/genericCallWithConstructorTypedArguments5.js @@ -28,6 +28,7 @@ var r7 = foo(arg5); // string //// [genericCallWithConstructorTypedArguments5.js] +"use strict"; // Generic call with parameter of object type with member of function type of n args passed object whose associated member is call signature with n+1 args function foo(arg) { return new arg.cb(null); diff --git a/tests/baselines/reference/genericCallWithFixedArguments.js b/tests/baselines/reference/genericCallWithFixedArguments.js index be2a0989ba7e2..4e1ed301d7493 100644 --- a/tests/baselines/reference/genericCallWithFixedArguments.js +++ b/tests/baselines/reference/genericCallWithFixedArguments.js @@ -10,6 +10,7 @@ g(7) // the parameter list is fixed, so this should not error //// [genericCallWithFixedArguments.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/genericCallWithFunctionTypedArguments.js b/tests/baselines/reference/genericCallWithFunctionTypedArguments.js index 974ede5689868..2ef57bb894d54 100644 --- a/tests/baselines/reference/genericCallWithFunctionTypedArguments.js +++ b/tests/baselines/reference/genericCallWithFunctionTypedArguments.js @@ -39,6 +39,7 @@ function other(t: T, u: U) { } //// [genericCallWithFunctionTypedArguments.js] +"use strict"; // Generic functions used as arguments for function typed parameters are not used to make inferences from // Using function arguments, no errors expected function foo(x) { diff --git a/tests/baselines/reference/genericCallWithFunctionTypedArguments2.js b/tests/baselines/reference/genericCallWithFunctionTypedArguments2.js index 2ef8b36bd084e..5e1f8a0c7c22d 100644 --- a/tests/baselines/reference/genericCallWithFunctionTypedArguments2.js +++ b/tests/baselines/reference/genericCallWithFunctionTypedArguments2.js @@ -44,6 +44,7 @@ var r8 = foo3(1, i2, 1); // error var r9 = foo3('', i2, ''); // string //// [genericCallWithFunctionTypedArguments2.js] +"use strict"; // Generic functions used as arguments for function typed parameters are not used to make inferences from // Using construct signature arguments, no errors expected function foo(x) { diff --git a/tests/baselines/reference/genericCallWithFunctionTypedArguments3.js b/tests/baselines/reference/genericCallWithFunctionTypedArguments3.js index 41cf7bc886eb6..9744efe136476 100644 --- a/tests/baselines/reference/genericCallWithFunctionTypedArguments3.js +++ b/tests/baselines/reference/genericCallWithFunctionTypedArguments3.js @@ -23,6 +23,7 @@ var b: { var r2 = foo4(b); // T is {} (candidates boolean and {}), U is any (candidates any and {}) //// [genericCallWithFunctionTypedArguments3.js] +"use strict"; // No inference is made from function typed arguments which have multiple call signatures var a; function foo4(cb) { diff --git a/tests/baselines/reference/genericCallWithFunctionTypedArguments4.js b/tests/baselines/reference/genericCallWithFunctionTypedArguments4.js index 5a99255022ec3..c4b84ea0794a6 100644 --- a/tests/baselines/reference/genericCallWithFunctionTypedArguments4.js +++ b/tests/baselines/reference/genericCallWithFunctionTypedArguments4.js @@ -25,6 +25,7 @@ var b: { var r2 = foo4(b); // T is {} (candidates boolean and {}), U is any (candidates any and {}) //// [genericCallWithFunctionTypedArguments4.js] +"use strict"; // No inference is made from function typed arguments which have multiple call signatures var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/genericCallWithFunctionTypedArguments5.js b/tests/baselines/reference/genericCallWithFunctionTypedArguments5.js index 9fc9d5c0e61bd..7cff1b6de6852 100644 --- a/tests/baselines/reference/genericCallWithFunctionTypedArguments5.js +++ b/tests/baselines/reference/genericCallWithFunctionTypedArguments5.js @@ -25,6 +25,7 @@ var r7 = foo({ cb: () => '' }); // string //// [genericCallWithFunctionTypedArguments5.js] +"use strict"; // Generic call with parameter of object type with member of function type of n args passed object whose associated member is call signature with n+1 args function foo(arg) { return arg.cb(null); diff --git a/tests/baselines/reference/genericCallWithGenericSignatureArguments.js b/tests/baselines/reference/genericCallWithGenericSignatureArguments.js index 9f1da9df2df4d..f2413635a1162 100644 --- a/tests/baselines/reference/genericCallWithGenericSignatureArguments.js +++ b/tests/baselines/reference/genericCallWithGenericSignatureArguments.js @@ -45,6 +45,7 @@ function other3(x: T) { } //// [genericCallWithGenericSignatureArguments.js] +"use strict"; // When a function expression is inferentially typed (section 4.9.3) and a type assigned to a parameter in that expression references type parameters for which inferences are being made, // the corresponding inferred type arguments to become fixed and no further candidate inferences are made for them. function foo(a, b) { diff --git a/tests/baselines/reference/genericCallWithGenericSignatureArguments2.js b/tests/baselines/reference/genericCallWithGenericSignatureArguments2.js index 1a94b1247d462..48a4bfeaa8ecb 100644 --- a/tests/baselines/reference/genericCallWithGenericSignatureArguments2.js +++ b/tests/baselines/reference/genericCallWithGenericSignatureArguments2.js @@ -76,6 +76,7 @@ namespace TU { } //// [genericCallWithGenericSignatureArguments2.js] +"use strict"; // When a function expression is inferentially typed (section 4.9.3) and a type assigned to a parameter in that expression references type parameters for which inferences are being made, // the corresponding inferred type arguments to become fixed and no further candidate inferences are made for them. var onlyT; diff --git a/tests/baselines/reference/genericCallWithGenericSignatureArguments3.js b/tests/baselines/reference/genericCallWithGenericSignatureArguments3.js index 1f618fa610665..1d84fc9e95633 100644 --- a/tests/baselines/reference/genericCallWithGenericSignatureArguments3.js +++ b/tests/baselines/reference/genericCallWithGenericSignatureArguments3.js @@ -36,6 +36,7 @@ var r11 = foo2(x, (a1: (y: string) => string) => (n: Object) => 1, (a2: (z: stri var r12 = foo2(x, (a1: (y: string) => boolean) => (n: Object) => 1, (a2: (z: string) => boolean) => 2); // error //// [genericCallWithGenericSignatureArguments3.js] +"use strict"; // When a function expression is inferentially typed (section 4.9.3) and a type assigned to a parameter in that expression references type parameters for which inferences are being made, // the corresponding inferred type arguments to become fixed and no further candidate inferences are made for them. function foo(x, a, b) { diff --git a/tests/baselines/reference/genericCallWithNonGenericArgs1.js b/tests/baselines/reference/genericCallWithNonGenericArgs1.js index 2fb83ea1277aa..b43b02618bb8e 100644 --- a/tests/baselines/reference/genericCallWithNonGenericArgs1.js +++ b/tests/baselines/reference/genericCallWithNonGenericArgs1.js @@ -6,5 +6,6 @@ f(null) //// [genericCallWithNonGenericArgs1.js] +"use strict"; function f(x) { } f(null); diff --git a/tests/baselines/reference/genericCallWithNonSymmetricSubtypes.js b/tests/baselines/reference/genericCallWithNonSymmetricSubtypes.js index 59243709c897d..3eaf7c1185b97 100644 --- a/tests/baselines/reference/genericCallWithNonSymmetricSubtypes.js +++ b/tests/baselines/reference/genericCallWithNonSymmetricSubtypes.js @@ -34,6 +34,7 @@ var r7 = foo(s1, s2); // (x: Object) => string; var r8 = foo(s2, s1); // (x: string) => string; //// [genericCallWithNonSymmetricSubtypes.js] +"use strict"; // generic type argument inference where inference leads to two candidates that are both supertypes of all candidates // we choose the first candidate so the result is dependent on the order of the arguments provided function foo(x, y) { diff --git a/tests/baselines/reference/genericCallWithObjectLiteralArgs.js b/tests/baselines/reference/genericCallWithObjectLiteralArgs.js index c0060f3e31d16..6f8b747b248a2 100644 --- a/tests/baselines/reference/genericCallWithObjectLiteralArgs.js +++ b/tests/baselines/reference/genericCallWithObjectLiteralArgs.js @@ -11,6 +11,7 @@ var r3 = foo({ bar: foo, baz: foo }); // T = typeof foo var r4 = foo({ bar: 1, baz: '' }); // T = Object //// [genericCallWithObjectLiteralArgs.js] +"use strict"; function foo(x) { return x; } diff --git a/tests/baselines/reference/genericCallWithObjectLiteralArguments1.js b/tests/baselines/reference/genericCallWithObjectLiteralArguments1.js index 29c45bdb2c970..a86ec8a8bbc42 100644 --- a/tests/baselines/reference/genericCallWithObjectLiteralArguments1.js +++ b/tests/baselines/reference/genericCallWithObjectLiteralArguments1.js @@ -10,6 +10,7 @@ var x4 = foo({ x: "", y: 4 }, ""); var x5 = foo({ x: "", y: 4 }, ""); //// [genericCallWithObjectLiteralArguments1.js] +"use strict"; function foo(n, m) { return m; } // these are all errors var x = foo({ x: 3, y: "" }, 4); diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgs.js b/tests/baselines/reference/genericCallWithObjectTypeArgs.js index c5cc4d41ad5c3..2a1a53217f761 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgs.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgs.js @@ -24,6 +24,7 @@ var r = foo(c1, d1); // error var r2 = foo(c1, c1); // ok //// [genericCallWithObjectTypeArgs.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgs2.js b/tests/baselines/reference/genericCallWithObjectTypeArgs2.js index 4b33dc00388c7..2e7ae47c3cc35 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgs2.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgs2.js @@ -35,6 +35,7 @@ var i: I; var r4 = f2(i); // Base => Derived //// [genericCallWithObjectTypeArgs2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints.js index 9a3ca1a0b169e..19f477ab3c0c2 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints.js @@ -36,6 +36,7 @@ var r = foo2(c1, d1); var r2 = foo2(c1, c1); //// [genericCallWithObjectTypeArgsAndConstraints.js] +"use strict"; // Generic call with constraints infering type parameter from object member properties // No errors expected var C = /** @class */ (function () { diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.js index 5a3e096ba8342..35748e5cdbcf2 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints2.js @@ -41,6 +41,7 @@ var r7 = f3(null, x => x); // any //// [genericCallWithObjectTypeArgsAndConstraints2.js] +"use strict"; // Generic call with constraints infering type parameter from object member properties // No errors expected var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.js index 46e0479bde340..d73449798b36f 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints3.js @@ -40,6 +40,7 @@ var r6 = f3(x => x, null); //// [genericCallWithObjectTypeArgsAndConstraints3.js] +"use strict"; // Generic call with constraints infering type parameter from object member properties var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints4.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints4.js index d272b63e8d89d..db4d524bd9599 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints4.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints4.js @@ -36,6 +36,7 @@ function other() { //// [genericCallWithObjectTypeArgsAndConstraints4.js] +"use strict"; // Generic call with constraints infering type parameter from object member properties var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints5.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints5.js index dddc80eef2e3a..0384b0f7c5706 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints5.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndConstraints5.js @@ -27,6 +27,7 @@ function other() { //// [genericCallWithObjectTypeArgsAndConstraints5.js] +"use strict"; // Generic call with constraints infering type parameter from object member properties var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexers.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexers.js index f9cf9d807b91b..087a6ed354030 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexers.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexers.js @@ -24,6 +24,7 @@ function other(arg: T) { } //// [genericCallWithObjectTypeArgsAndIndexers.js] +"use strict"; // Type inference infers from indexers in target type, no errors expected function foo(x) { return x; diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexersErrors.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexersErrors.js index 4270490fce409..b7d1a8ae0cd08 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexersErrors.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndIndexersErrors.js @@ -27,6 +27,7 @@ function other3(arg: T) { } //// [genericCallWithObjectTypeArgsAndIndexersErrors.js] +"use strict"; // Type inference infers from indexers in target type, error cases function foo(x) { return x; diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndInitializers.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndInitializers.js index 502d1b5bf97c6..c2e35f6e50e82 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndInitializers.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndInitializers.js @@ -12,6 +12,7 @@ function foo6(x: T, y: U, z: V = y) { } // error function foo7(x: V, y: U = x) { } // should be ok //// [genericCallWithObjectTypeArgsAndInitializers.js] +"use strict"; // Generic typed parameters with initializers function foo(x) { if (x === void 0) { x = null; } diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndNumericIndexer.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndNumericIndexer.js index 380cd0447bd03..7ed954a4c01e4 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndNumericIndexer.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndNumericIndexer.js @@ -37,6 +37,7 @@ function other3(arg: T) { //} //// [genericCallWithObjectTypeArgsAndNumericIndexer.js] +"use strict"; // Type inference infers from indexers in target type, no errors expected function foo(x) { return x; diff --git a/tests/baselines/reference/genericCallWithObjectTypeArgsAndStringIndexer.js b/tests/baselines/reference/genericCallWithObjectTypeArgsAndStringIndexer.js index 723d731b26bc4..17af51612b9be 100644 --- a/tests/baselines/reference/genericCallWithObjectTypeArgsAndStringIndexer.js +++ b/tests/baselines/reference/genericCallWithObjectTypeArgsAndStringIndexer.js @@ -38,6 +38,7 @@ function other3(arg: T) { //} //// [genericCallWithObjectTypeArgsAndStringIndexer.js] +"use strict"; // Type inference infers from indexers in target type, no errors expected function foo(x) { return x; diff --git a/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments.js b/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments.js index 35f5932a3c2b3..5dbe3487173f4 100644 --- a/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments.js +++ b/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments.js @@ -51,6 +51,7 @@ namespace GenericParameter { } //// [genericCallWithOverloadedConstructorTypedArguments.js] +"use strict"; // Function typed arguments with multiple signatures must be passed an implementation that matches all of them // Inferences are made quadratic-pairwise to and from these overload sets var NonGenericParameter; diff --git a/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments2.js b/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments2.js index 755d19ed220f5..c7d6a1f8bdfb1 100644 --- a/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments2.js +++ b/tests/baselines/reference/genericCallWithOverloadedConstructorTypedArguments2.js @@ -43,6 +43,7 @@ namespace GenericParameter { } //// [genericCallWithOverloadedConstructorTypedArguments2.js] +"use strict"; // Function typed arguments with multiple signatures must be passed an implementation that matches all of them // Inferences are made quadratic-pairwise to and from these overload sets var NonGenericParameter; diff --git a/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments.js b/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments.js index 54a5a7f87b80c..507589e98f5fe 100644 --- a/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments.js +++ b/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments.js @@ -47,6 +47,7 @@ namespace GenericParameter { } //// [genericCallWithOverloadedFunctionTypedArguments.js] +"use strict"; // Function typed arguments with multiple signatures must be passed an implementation that matches all of them // Inferences are made quadratic-pairwise to and from these overload sets var NonGenericParameter; diff --git a/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments2.js b/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments2.js index 76feb2ec0c9c1..ef2b23042b05a 100644 --- a/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments2.js +++ b/tests/baselines/reference/genericCallWithOverloadedFunctionTypedArguments2.js @@ -40,6 +40,7 @@ namespace GenericParameter { } //// [genericCallWithOverloadedFunctionTypedArguments2.js] +"use strict"; // Function typed arguments with multiple signatures must be passed an implementation that matches all of them // Inferences are made quadratic-pairwise to and from these overload sets var NonGenericParameter; diff --git a/tests/baselines/reference/genericCallWithTupleType.js b/tests/baselines/reference/genericCallWithTupleType.js index c420b8d9b0595..9bde6ba21fef5 100644 --- a/tests/baselines/reference/genericCallWithTupleType.js +++ b/tests/baselines/reference/genericCallWithTupleType.js @@ -29,6 +29,7 @@ i2.tuple1 = [{}]; //// [genericCallWithTupleType.js] +"use strict"; var i1; // no error i1.tuple1 = ["foo", 5]; diff --git a/tests/baselines/reference/genericCallWithoutArgs.js b/tests/baselines/reference/genericCallWithoutArgs.js index c8aa9760f95c0..0d52e65bed196 100644 --- a/tests/baselines/reference/genericCallWithoutArgs.js +++ b/tests/baselines/reference/genericCallWithoutArgs.js @@ -7,6 +7,7 @@ function f(x: X, y: Y) { f. //// [genericCallWithoutArgs.js] +"use strict"; function f(x, y) { } f.; diff --git a/tests/baselines/reference/genericCallbackInvokedInsideItsContainingFunction1.js b/tests/baselines/reference/genericCallbackInvokedInsideItsContainingFunction1.js index ec06447a248b2..6894b9e8efb61 100644 --- a/tests/baselines/reference/genericCallbackInvokedInsideItsContainingFunction1.js +++ b/tests/baselines/reference/genericCallbackInvokedInsideItsContainingFunction1.js @@ -19,6 +19,7 @@ function foo(x:T, y:U, f: (v: T) => U) { } //// [genericCallbackInvokedInsideItsContainingFunction1.js] +"use strict"; function foo(x, y, f) { var r1 = f(1); var r2 = f(1); diff --git a/tests/baselines/reference/genericCallbacksAndClassHierarchy.js b/tests/baselines/reference/genericCallbacksAndClassHierarchy.js index 48722e8b7714d..55feaa09365f3 100644 --- a/tests/baselines/reference/genericCallbacksAndClassHierarchy.js +++ b/tests/baselines/reference/genericCallbacksAndClassHierarchy.js @@ -26,6 +26,7 @@ namespace M { } //// [genericCallbacksAndClassHierarchy.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericCapturingFunctionNarrowing.js b/tests/baselines/reference/genericCapturingFunctionNarrowing.js index 2b668d602beaa..b80b894194dc7 100644 --- a/tests/baselines/reference/genericCapturingFunctionNarrowing.js +++ b/tests/baselines/reference/genericCapturingFunctionNarrowing.js @@ -16,6 +16,7 @@ function needsToNarrowTheType num.toString()) //// [genericChainedCalls.js] +"use strict"; var r1 = v1.func(function (num) { return num.toString(); }) .func(function (str) { return str.length; }) // error, number doesn't have a length .func(function (num) { return num.toString(); }); diff --git a/tests/baselines/reference/genericClassExpressionInFunction.js b/tests/baselines/reference/genericClassExpressionInFunction.js index bbb54988d3991..349ec1470dcc2 100644 --- a/tests/baselines/reference/genericClassExpressionInFunction.js +++ b/tests/baselines/reference/genericClassExpressionInFunction.js @@ -34,6 +34,7 @@ s.genericVar = 12; //// [genericClassExpressionInFunction.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericClassImplementingGenericInterfaceFromAnotherModule.js b/tests/baselines/reference/genericClassImplementingGenericInterfaceFromAnotherModule.js index 988f2f940767d..d59f31cb4913b 100644 --- a/tests/baselines/reference/genericClassImplementingGenericInterfaceFromAnotherModule.js +++ b/tests/baselines/reference/genericClassImplementingGenericInterfaceFromAnotherModule.js @@ -10,6 +10,7 @@ namespace bar { //// [genericClassImplementingGenericInterfaceFromAnotherModule.js] +"use strict"; var bar; (function (bar) { var Foo = /** @class */ (function () { diff --git a/tests/baselines/reference/genericClassInheritsConstructorFromNonGenericClass.js b/tests/baselines/reference/genericClassInheritsConstructorFromNonGenericClass.js index e9f0e57d0f376..1d5b3d642b198 100644 --- a/tests/baselines/reference/genericClassInheritsConstructorFromNonGenericClass.js +++ b/tests/baselines/reference/genericClassInheritsConstructorFromNonGenericClass.js @@ -8,6 +8,7 @@ class C { } //// [genericClassInheritsConstructorFromNonGenericClass.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericClassPropertyInheritanceSpecialization.js b/tests/baselines/reference/genericClassPropertyInheritanceSpecialization.js index f115c8c2d3f30..c7fef0068ce21 100644 --- a/tests/baselines/reference/genericClassPropertyInheritanceSpecialization.js +++ b/tests/baselines/reference/genericClassPropertyInheritanceSpecialization.js @@ -78,6 +78,7 @@ class ViewModel implements Contract { //// [genericClassPropertyInheritanceSpecialization.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericClassStaticMethod.js b/tests/baselines/reference/genericClassStaticMethod.js index 6d8456baad360..1304aac4df5b7 100644 --- a/tests/baselines/reference/genericClassStaticMethod.js +++ b/tests/baselines/reference/genericClassStaticMethod.js @@ -13,6 +13,7 @@ class Bar extends Foo { //// [genericClassStaticMethod.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericClassWithFunctionTypedMemberArguments.js b/tests/baselines/reference/genericClassWithFunctionTypedMemberArguments.js index 809ef27d70e09..72d1f34bbbcd7 100644 --- a/tests/baselines/reference/genericClassWithFunctionTypedMemberArguments.js +++ b/tests/baselines/reference/genericClassWithFunctionTypedMemberArguments.js @@ -67,6 +67,7 @@ namespace WithCandidates { } //// [genericClassWithFunctionTypedMemberArguments.js] +"use strict"; // Generic functions used as arguments for function typed parameters are not used to make inferences from // Using function arguments, no errors expected var ImmediatelyFix; diff --git a/tests/baselines/reference/genericClassWithObjectTypeArgsAndConstraints.js b/tests/baselines/reference/genericClassWithObjectTypeArgsAndConstraints.js index 373c9c1627ab6..ad731780e0318 100644 --- a/tests/baselines/reference/genericClassWithObjectTypeArgsAndConstraints.js +++ b/tests/baselines/reference/genericClassWithObjectTypeArgsAndConstraints.js @@ -63,6 +63,7 @@ namespace Interface { } //// [genericClassWithObjectTypeArgsAndConstraints.js] +"use strict"; // Generic call with constraints infering type parameter from object member properties // No errors expected var C = /** @class */ (function () { diff --git a/tests/baselines/reference/genericClassWithStaticFactory.js b/tests/baselines/reference/genericClassWithStaticFactory.js index faa033b25bb08..f9c950a2ed0af 100644 --- a/tests/baselines/reference/genericClassWithStaticFactory.js +++ b/tests/baselines/reference/genericClassWithStaticFactory.js @@ -144,6 +144,7 @@ namespace Editor { } //// [genericClassWithStaticFactory.js] +"use strict"; var Editor; (function (Editor) { var List = /** @class */ (function () { diff --git a/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.js b/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.js index d97c7fb76a1c8..d42744fb43c4b 100644 --- a/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.js +++ b/tests/baselines/reference/genericClassWithStaticsUsingTypeArguments.js @@ -20,6 +20,7 @@ class Foo { //// [genericClassWithStaticsUsingTypeArguments.js] +"use strict"; // Should be error to use 'T' in all declarations within Foo. var Foo = /** @class */ (function () { function Foo() { diff --git a/tests/baselines/reference/genericClasses0.js b/tests/baselines/reference/genericClasses0.js index 330d907a22791..a1ba71843597e 100644 --- a/tests/baselines/reference/genericClasses0.js +++ b/tests/baselines/reference/genericClasses0.js @@ -10,6 +10,7 @@ var v1 : C; var y = v1.x; // should be 'string' //// [genericClasses0.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/genericClasses1.js b/tests/baselines/reference/genericClasses1.js index ee60a259619f3..f2c7870d8c7aa 100644 --- a/tests/baselines/reference/genericClasses1.js +++ b/tests/baselines/reference/genericClasses1.js @@ -10,6 +10,7 @@ var v1 = new C(); var y = v1.x; // should be 'string' //// [genericClasses1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/genericClasses2.js b/tests/baselines/reference/genericClasses2.js index bb5a6be3f2d33..5923091e39435 100644 --- a/tests/baselines/reference/genericClasses2.js +++ b/tests/baselines/reference/genericClasses2.js @@ -18,6 +18,7 @@ var w = v1.y.a; // should be 'string' var z = v1.z.a; // should be 'number' //// [genericClasses2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/genericClasses3.js b/tests/baselines/reference/genericClasses3.js index 93510e4f6ce19..df64fc272e1de 100644 --- a/tests/baselines/reference/genericClasses3.js +++ b/tests/baselines/reference/genericClasses3.js @@ -20,6 +20,7 @@ var z = v2.b; //// [genericClasses3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericClasses4.js b/tests/baselines/reference/genericClasses4.js index a2f0116e12d8b..f5ca95e0b693c 100644 --- a/tests/baselines/reference/genericClasses4.js +++ b/tests/baselines/reference/genericClasses4.js @@ -20,6 +20,7 @@ class Vec2_T } //// [genericClasses4.js] +"use strict"; // once caused stack overflow var Vec2_T = /** @class */ (function () { function Vec2_T(x, y) { diff --git a/tests/baselines/reference/genericClassesInModule.js b/tests/baselines/reference/genericClassesInModule.js index fc806adc032cb..2d6e4b01b82b9 100644 --- a/tests/baselines/reference/genericClassesInModule.js +++ b/tests/baselines/reference/genericClassesInModule.js @@ -11,6 +11,7 @@ namespace Foo { var a = new Foo.B(); //// [genericClassesInModule.js] +"use strict"; var Foo; (function (Foo) { var B = /** @class */ (function () { diff --git a/tests/baselines/reference/genericClassesRedeclaration.js b/tests/baselines/reference/genericClassesRedeclaration.js index 3363ce635b1e1..2d1aedc001ab2 100644 --- a/tests/baselines/reference/genericClassesRedeclaration.js +++ b/tests/baselines/reference/genericClassesRedeclaration.js @@ -80,3 +80,4 @@ declare namespace TypeScript { } //// [genericClassesRedeclaration.js] +"use strict"; diff --git a/tests/baselines/reference/genericCloduleInModule.js b/tests/baselines/reference/genericCloduleInModule.js index 71de86526917e..b7b4fcaed3ff6 100644 --- a/tests/baselines/reference/genericCloduleInModule.js +++ b/tests/baselines/reference/genericCloduleInModule.js @@ -15,6 +15,7 @@ var b: A.B; b.foo(); //// [genericCloduleInModule.js] +"use strict"; var A; (function (A) { var B = /** @class */ (function () { diff --git a/tests/baselines/reference/genericCloduleInModule2.js b/tests/baselines/reference/genericCloduleInModule2.js index 0848bd1ca5b66..c960250aa6ccd 100644 --- a/tests/baselines/reference/genericCloduleInModule2.js +++ b/tests/baselines/reference/genericCloduleInModule2.js @@ -18,6 +18,7 @@ var b: A.B; b.foo(); //// [genericCloduleInModule2.js] +"use strict"; var A; (function (A) { var B = /** @class */ (function () { diff --git a/tests/baselines/reference/genericCloneReturnTypes.js b/tests/baselines/reference/genericCloneReturnTypes.js index 8514648fe5df3..69abffea20855 100644 --- a/tests/baselines/reference/genericCloneReturnTypes.js +++ b/tests/baselines/reference/genericCloneReturnTypes.js @@ -28,6 +28,7 @@ b = b2; b = b3; //// [genericCloneReturnTypes.js] +"use strict"; var Bar = /** @class */ (function () { function Bar(x) { this.size = x; diff --git a/tests/baselines/reference/genericCloneReturnTypes2.js b/tests/baselines/reference/genericCloneReturnTypes2.js index 53eab89305436..36b5a8336c3c8 100644 --- a/tests/baselines/reference/genericCloneReturnTypes2.js +++ b/tests/baselines/reference/genericCloneReturnTypes2.js @@ -18,6 +18,7 @@ var c: MyList = a.clone(); // bug was there was an error on this line var d: MyList = a.clone(); // error //// [genericCloneReturnTypes2.js] +"use strict"; var MyList = /** @class */ (function () { function MyList(n) { this.size = n; diff --git a/tests/baselines/reference/genericCombinators2.js b/tests/baselines/reference/genericCombinators2.js index d167af3150fc8..ea2c3c9ce71bb 100644 --- a/tests/baselines/reference/genericCombinators2.js +++ b/tests/baselines/reference/genericCombinators2.js @@ -19,6 +19,7 @@ var r5a = _.map(c2, (x, y) => { return x.toFixed() }); var r5b = _.map(c2, rf1); //// [genericCombinators2.js] +"use strict"; var rf1 = function (x, y) { return x.toFixed(); }; var r5a = _.map(c2, function (x, y) { return x.toFixed(); }); var r5b = _.map(c2, rf1); diff --git a/tests/baselines/reference/genericConditionalConstrainedToUnknownNotAssignableToConcreteObject.js b/tests/baselines/reference/genericConditionalConstrainedToUnknownNotAssignableToConcreteObject.js index f4b889805e06e..1eae86f6cab5d 100644 --- a/tests/baselines/reference/genericConditionalConstrainedToUnknownNotAssignableToConcreteObject.js +++ b/tests/baselines/reference/genericConditionalConstrainedToUnknownNotAssignableToConcreteObject.js @@ -30,6 +30,7 @@ function g2< //// [genericConditionalConstrainedToUnknownNotAssignableToConcreteObject.js] +"use strict"; function g(a2, x) { x = a2; } diff --git a/tests/baselines/reference/genericConstraint1.js b/tests/baselines/reference/genericConstraint1.js index 145b8e6304ee5..18ca4994b37c2 100644 --- a/tests/baselines/reference/genericConstraint1.js +++ b/tests/baselines/reference/genericConstraint1.js @@ -11,6 +11,7 @@ var x = new C(); x.bar2(2, ""); //// [genericConstraint1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/genericConstraint2.js b/tests/baselines/reference/genericConstraint2.js index a60e3f27ae8f7..198817b64c6b2 100644 --- a/tests/baselines/reference/genericConstraint2.js +++ b/tests/baselines/reference/genericConstraint2.js @@ -24,6 +24,7 @@ var b = new ComparableString("b"); var c = compare(a, b); //// [genericConstraint2.js] +"use strict"; function compare(x, y) { if (x == null) return y == null ? 0 : -1; diff --git a/tests/baselines/reference/genericConstraint3.js b/tests/baselines/reference/genericConstraint3.js index d4f32654cdfa0..1f5aa16eade67 100644 --- a/tests/baselines/reference/genericConstraint3.js +++ b/tests/baselines/reference/genericConstraint3.js @@ -6,3 +6,4 @@ interface A> { x: U; } interface B extends A<{}, { x: {} }> { } // Should not produce an error //// [genericConstraint3.js] +"use strict"; diff --git a/tests/baselines/reference/genericConstraintDeclaration.js b/tests/baselines/reference/genericConstraintDeclaration.js index c8c27ab8a5743..fd1d7667af111 100644 --- a/tests/baselines/reference/genericConstraintDeclaration.js +++ b/tests/baselines/reference/genericConstraintDeclaration.js @@ -11,6 +11,7 @@ class List{ //// [genericConstraintDeclaration.js] +"use strict"; var List = /** @class */ (function () { function List() { } diff --git a/tests/baselines/reference/genericConstraintOnExtendedBuiltinTypes.js b/tests/baselines/reference/genericConstraintOnExtendedBuiltinTypes.js index 81b922fd87d0c..177a0a71332a2 100644 --- a/tests/baselines/reference/genericConstraintOnExtendedBuiltinTypes.js +++ b/tests/baselines/reference/genericConstraintOnExtendedBuiltinTypes.js @@ -29,6 +29,7 @@ namespace EndGate.Tweening { } //// [genericConstraintOnExtendedBuiltinTypes.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericConstraintOnExtendedBuiltinTypes2.js b/tests/baselines/reference/genericConstraintOnExtendedBuiltinTypes2.js index b2ff736c6ef5a..9856bb2a3ee9a 100644 --- a/tests/baselines/reference/genericConstraintOnExtendedBuiltinTypes2.js +++ b/tests/baselines/reference/genericConstraintOnExtendedBuiltinTypes2.js @@ -28,6 +28,7 @@ namespace EndGate.Tweening { } //// [genericConstraintOnExtendedBuiltinTypes2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericConstraintSatisfaction1.js b/tests/baselines/reference/genericConstraintSatisfaction1.js index aef5258246f9c..fe73618d0949b 100644 --- a/tests/baselines/reference/genericConstraintSatisfaction1.js +++ b/tests/baselines/reference/genericConstraintSatisfaction1.js @@ -11,5 +11,6 @@ x.f({s: 1}) //// [genericConstraintSatisfaction1.js] +"use strict"; var x; x.f({ s: 1 }); diff --git a/tests/baselines/reference/genericConstructInvocationWithNoTypeArg.js b/tests/baselines/reference/genericConstructInvocationWithNoTypeArg.js index 2850613c607f1..a8affdd57b4c8 100644 --- a/tests/baselines/reference/genericConstructInvocationWithNoTypeArg.js +++ b/tests/baselines/reference/genericConstructInvocationWithNoTypeArg.js @@ -8,4 +8,5 @@ var f2: Foo = new Foo(3); //// [genericConstructInvocationWithNoTypeArg.js] +"use strict"; var f2 = new Foo(3); diff --git a/tests/baselines/reference/genericConstructSignatureInInterface.js b/tests/baselines/reference/genericConstructSignatureInInterface.js index 1e7caf08aafd6..efeeaf8c159a0 100644 --- a/tests/baselines/reference/genericConstructSignatureInInterface.js +++ b/tests/baselines/reference/genericConstructSignatureInInterface.js @@ -9,5 +9,6 @@ var v: C; var r = new v(1); //// [genericConstructSignatureInInterface.js] +"use strict"; var v; var r = new v(1); diff --git a/tests/baselines/reference/genericConstructorFunction1.js b/tests/baselines/reference/genericConstructorFunction1.js index 687f265dccc8c..0a4fdd43e6caa 100644 --- a/tests/baselines/reference/genericConstructorFunction1.js +++ b/tests/baselines/reference/genericConstructorFunction1.js @@ -18,6 +18,7 @@ function f2(args: T) { } //// [genericConstructorFunction1.js] +"use strict"; function f1(args) { var v1; var v2 = v1['test']; diff --git a/tests/baselines/reference/genericContextualTypingSpecialization.js b/tests/baselines/reference/genericContextualTypingSpecialization.js index cfbf977cb0772..8b104f01e2f74 100644 --- a/tests/baselines/reference/genericContextualTypingSpecialization.js +++ b/tests/baselines/reference/genericContextualTypingSpecialization.js @@ -5,5 +5,6 @@ var b: number[]; b.reduce((c, d) => c + d, 0); // should not error on '+' //// [genericContextualTypingSpecialization.js] +"use strict"; var b; b.reduce(function (c, d) { return c + d; }, 0); // should not error on '+' diff --git a/tests/baselines/reference/genericDefaults.js b/tests/baselines/reference/genericDefaults.js index ac75bb2749c27..ae8931892456c 100644 --- a/tests/baselines/reference/genericDefaults.js +++ b/tests/baselines/reference/genericDefaults.js @@ -495,6 +495,7 @@ const t03c04 = (>x).a; interface SelfReference> {} //// [genericDefaults.js] +"use strict"; // no inference f00(); f00(a); diff --git a/tests/baselines/reference/genericDefaultsErrors.js b/tests/baselines/reference/genericDefaultsErrors.js index 3166bdc47c4ec..4c8ba311078c7 100644 --- a/tests/baselines/reference/genericDefaultsErrors.js +++ b/tests/baselines/reference/genericDefaultsErrors.js @@ -45,6 +45,7 @@ interface i10 {} interface SelfReference {} //// [genericDefaultsErrors.js] +"use strict"; f11(); // ok f11(); // error f11(); // ok diff --git a/tests/baselines/reference/genericDerivedTypeWithSpecializedBase.js b/tests/baselines/reference/genericDerivedTypeWithSpecializedBase.js index 8542c6a60e4cb..c87e1d97ab4d8 100644 --- a/tests/baselines/reference/genericDerivedTypeWithSpecializedBase.js +++ b/tests/baselines/reference/genericDerivedTypeWithSpecializedBase.js @@ -15,6 +15,7 @@ x = y; // error //// [genericDerivedTypeWithSpecializedBase.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericDerivedTypeWithSpecializedBase2.js b/tests/baselines/reference/genericDerivedTypeWithSpecializedBase2.js index 1393167f8f0af..f80741f1f5871 100644 --- a/tests/baselines/reference/genericDerivedTypeWithSpecializedBase2.js +++ b/tests/baselines/reference/genericDerivedTypeWithSpecializedBase2.js @@ -15,6 +15,7 @@ x = y; // error //// [genericDerivedTypeWithSpecializedBase2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericFunctionCallSignatureReturnTypeMismatch.js b/tests/baselines/reference/genericFunctionCallSignatureReturnTypeMismatch.js index f95de5e4b71a2..2e6f5239e6712 100644 --- a/tests/baselines/reference/genericFunctionCallSignatureReturnTypeMismatch.js +++ b/tests/baselines/reference/genericFunctionCallSignatureReturnTypeMismatch.js @@ -14,6 +14,7 @@ console.log(s); //// [genericFunctionCallSignatureReturnTypeMismatch.js] +"use strict"; f = g; var s = f("str").toUpperCase(); console.log(s); diff --git a/tests/baselines/reference/genericFunctionHasFreshTypeArgs.js b/tests/baselines/reference/genericFunctionHasFreshTypeArgs.js index 7d42c0a0aceba..ec1e3cb586f4e 100644 --- a/tests/baselines/reference/genericFunctionHasFreshTypeArgs.js +++ b/tests/baselines/reference/genericFunctionHasFreshTypeArgs.js @@ -5,6 +5,7 @@ function f(p: (x: T) => void) { }; f(x => f(y => x = y)); //// [genericFunctionHasFreshTypeArgs.js] +"use strict"; function f(p) { } ; f(function (x) { return f(function (y) { return x = y; }); }); diff --git a/tests/baselines/reference/genericFunctionInference2.js b/tests/baselines/reference/genericFunctionInference2.js index a5a42772ad307..16e47d673f255 100644 --- a/tests/baselines/reference/genericFunctionInference2.js +++ b/tests/baselines/reference/genericFunctionInference2.js @@ -34,6 +34,7 @@ enhancer4.onChange(null); //// [genericFunctionInference2.js] +"use strict"; // Repro from #30685 var myReducer1 = combineReducers({ combined: combineReducers({ foo: foo }), diff --git a/tests/baselines/reference/genericFunctionSpecializations1.js b/tests/baselines/reference/genericFunctionSpecializations1.js index f455ace016e73..9a7fb6970c30e 100644 --- a/tests/baselines/reference/genericFunctionSpecializations1.js +++ b/tests/baselines/reference/genericFunctionSpecializations1.js @@ -8,5 +8,6 @@ function foo4(test: string); // valid function foo4(test: T) { } //// [genericFunctionSpecializations1.js] +"use strict"; function foo3(test) { } function foo4(test) { } diff --git a/tests/baselines/reference/genericFunctionTypedArgumentsAreFixed.js b/tests/baselines/reference/genericFunctionTypedArgumentsAreFixed.js index 662729e875153..58352ed391fc0 100644 --- a/tests/baselines/reference/genericFunctionTypedArgumentsAreFixed.js +++ b/tests/baselines/reference/genericFunctionTypedArgumentsAreFixed.js @@ -5,4 +5,5 @@ declare function map(f: (x: T) => U, xs: T[]): U[]; map((a) => a.length, [1]); //// [genericFunctionTypedArgumentsAreFixed.js] +"use strict"; map(function (a) { return a.length; }, [1]); diff --git a/tests/baselines/reference/genericFunctions0.js b/tests/baselines/reference/genericFunctions0.js index 76e041f33a61b..8bffb0f61753d 100644 --- a/tests/baselines/reference/genericFunctions0.js +++ b/tests/baselines/reference/genericFunctions0.js @@ -6,6 +6,7 @@ function foo (x: T) { return x; } var x = foo(5); // 'x' should be number //// [genericFunctions0.js] +"use strict"; function foo(x) { return x; } var x = foo(5); // 'x' should be number diff --git a/tests/baselines/reference/genericFunctions1.js b/tests/baselines/reference/genericFunctions1.js index 971b0ced049e2..78660cd36da13 100644 --- a/tests/baselines/reference/genericFunctions1.js +++ b/tests/baselines/reference/genericFunctions1.js @@ -6,6 +6,7 @@ function foo (x: T) { return x; } var x = foo(5); // 'x' should be number //// [genericFunctions1.js] +"use strict"; function foo(x) { return x; } var x = foo(5); // 'x' should be number diff --git a/tests/baselines/reference/genericFunctions2.js b/tests/baselines/reference/genericFunctions2.js index 27327c4033c53..001236b58376b 100644 --- a/tests/baselines/reference/genericFunctions2.js +++ b/tests/baselines/reference/genericFunctions2.js @@ -9,6 +9,7 @@ var lengths = map(myItems, x => x.length); //// [genericFunctions2.js] +"use strict"; var myItems; var lengths = map(myItems, function (x) { return x.length; }); diff --git a/tests/baselines/reference/genericFunctions3.js b/tests/baselines/reference/genericFunctions3.js index d3b4956f746c8..fa5a2546e119a 100644 --- a/tests/baselines/reference/genericFunctions3.js +++ b/tests/baselines/reference/genericFunctions3.js @@ -12,6 +12,7 @@ function from(arg: any): Query { //// [genericFunctions3.js] +"use strict"; function from(arg) { return undefined; } diff --git a/tests/baselines/reference/genericFunctionsAndConditionalInference.js b/tests/baselines/reference/genericFunctionsAndConditionalInference.js index 667c9f6b1b2d3..3ca343bb3cab1 100644 --- a/tests/baselines/reference/genericFunctionsAndConditionalInference.js +++ b/tests/baselines/reference/genericFunctionsAndConditionalInference.js @@ -41,6 +41,7 @@ const rightOk = ok(right) const rightOrphaned = orphaned(right) //// [genericFunctionsAndConditionalInference.js] +"use strict"; function foo(obj) { return unboxify(obj); } diff --git a/tests/baselines/reference/genericFunctionsWithOptionalParameters1.js b/tests/baselines/reference/genericFunctionsWithOptionalParameters1.js index ceb85fe7512b0..73e98ce69cbdc 100644 --- a/tests/baselines/reference/genericFunctionsWithOptionalParameters1.js +++ b/tests/baselines/reference/genericFunctionsWithOptionalParameters1.js @@ -14,6 +14,7 @@ utils.fold(null, null, null); // no error //// [genericFunctionsWithOptionalParameters1.js] +"use strict"; var utils; utils.fold(); // no error utils.fold(null); // no error diff --git a/tests/baselines/reference/genericFunctionsWithOptionalParameters2.js b/tests/baselines/reference/genericFunctionsWithOptionalParameters2.js index 3ac52228ce6a1..67c9aafffe976 100644 --- a/tests/baselines/reference/genericFunctionsWithOptionalParameters2.js +++ b/tests/baselines/reference/genericFunctionsWithOptionalParameters2.js @@ -14,6 +14,7 @@ utils.fold(null, null, null); // error: Unable to invoke type with no call signa //// [genericFunctionsWithOptionalParameters2.js] +"use strict"; utils.fold(); // error utils.fold(null); // no error utils.fold(null, null); // no error diff --git a/tests/baselines/reference/genericFunctionsWithOptionalParameters3.js b/tests/baselines/reference/genericFunctionsWithOptionalParameters3.js index 621cbeacab847..24d2a829ff848 100644 --- a/tests/baselines/reference/genericFunctionsWithOptionalParameters3.js +++ b/tests/baselines/reference/genericFunctionsWithOptionalParameters3.js @@ -18,6 +18,7 @@ var r5 = utils.mapReduce(c, f1, f2); //// [genericFunctionsWithOptionalParameters3.js] +"use strict"; var Collection = /** @class */ (function () { function Collection() { } diff --git a/tests/baselines/reference/genericFunduleInModule.js b/tests/baselines/reference/genericFunduleInModule.js index de0139911bcec..a592e40e24fef 100644 --- a/tests/baselines/reference/genericFunduleInModule.js +++ b/tests/baselines/reference/genericFunduleInModule.js @@ -12,6 +12,7 @@ var b: A.B; A.B(1); //// [genericFunduleInModule.js] +"use strict"; var A; (function (A) { function B(x) { return x; } diff --git a/tests/baselines/reference/genericFunduleInModule2.js b/tests/baselines/reference/genericFunduleInModule2.js index 78085bd88eb30..fc0c13cde7180 100644 --- a/tests/baselines/reference/genericFunduleInModule2.js +++ b/tests/baselines/reference/genericFunduleInModule2.js @@ -15,6 +15,7 @@ var b: A.B; A.B(1); //// [genericFunduleInModule2.js] +"use strict"; var A; (function (A) { function B(x) { return x; } diff --git a/tests/baselines/reference/genericGetter.js b/tests/baselines/reference/genericGetter.js index 041bfab6113f8..63c2a0c5ef843 100644 --- a/tests/baselines/reference/genericGetter.js +++ b/tests/baselines/reference/genericGetter.js @@ -12,6 +12,7 @@ var c = new C(); var r: string = c.x; //// [genericGetter.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/genericGetter2.js b/tests/baselines/reference/genericGetter2.js index 27770772ac911..88f5b14cedab3 100644 --- a/tests/baselines/reference/genericGetter2.js +++ b/tests/baselines/reference/genericGetter2.js @@ -11,6 +11,7 @@ class C { } //// [genericGetter2.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/genericGetter3.js b/tests/baselines/reference/genericGetter3.js index 2bf470fd167a0..4ece901759e32 100644 --- a/tests/baselines/reference/genericGetter3.js +++ b/tests/baselines/reference/genericGetter3.js @@ -14,6 +14,7 @@ var c = new C(); var r: string = c.x; //// [genericGetter3.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/genericImplements.js b/tests/baselines/reference/genericImplements.js index e56d97f007e19..0c2c85f2390cc 100644 --- a/tests/baselines/reference/genericImplements.js +++ b/tests/baselines/reference/genericImplements.js @@ -23,6 +23,7 @@ class Z implements I { } // { f: () => T } //// [genericImplements.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/genericIndexTypeHasSensibleErrorMessage.js b/tests/baselines/reference/genericIndexTypeHasSensibleErrorMessage.js index 0e1a62b527f79..77955e60eb0cb 100644 --- a/tests/baselines/reference/genericIndexTypeHasSensibleErrorMessage.js +++ b/tests/baselines/reference/genericIndexTypeHasSensibleErrorMessage.js @@ -4,3 +4,4 @@ type Wat = { [x: T]: string }; //// [genericIndexTypeHasSensibleErrorMessage.js] +"use strict"; diff --git a/tests/baselines/reference/genericIndexedAccessVarianceComparisonResultCorrect.js b/tests/baselines/reference/genericIndexedAccessVarianceComparisonResultCorrect.js index a65f49739d0a5..86dd2f46cf71e 100644 --- a/tests/baselines/reference/genericIndexedAccessVarianceComparisonResultCorrect.js +++ b/tests/baselines/reference/genericIndexedAccessVarianceComparisonResultCorrect.js @@ -29,6 +29,7 @@ b = a; // should be no error c = d; //// [genericIndexedAccessVarianceComparisonResultCorrect.js] +"use strict"; var A = /** @class */ (function () { function A() { this.x = 'A'; diff --git a/tests/baselines/reference/genericInference1.js b/tests/baselines/reference/genericInference1.js index 80b51ca2f7ede..3deeebae110a1 100644 --- a/tests/baselines/reference/genericInference1.js +++ b/tests/baselines/reference/genericInference1.js @@ -4,4 +4,5 @@ ['a', 'b', 'c'].map(x => x.length); //// [genericInference1.js] +"use strict"; ['a', 'b', 'c'].map(function (x) { return x.length; }); diff --git a/tests/baselines/reference/genericInference2.js b/tests/baselines/reference/genericInference2.js index 382cd97bca8e0..9807d4391d136 100644 --- a/tests/baselines/reference/genericInference2.js +++ b/tests/baselines/reference/genericInference2.js @@ -23,6 +23,7 @@ var rr_v = o.name.r; // should be 'string' //// [genericInference2.js] +"use strict"; var o = { name: ko.observable("Bob"), age: ko.observable(37) diff --git a/tests/baselines/reference/genericInheritedDefaultConstructors.js b/tests/baselines/reference/genericInheritedDefaultConstructors.js index 5cd81c9e8bb81..32ffa749bf457 100644 --- a/tests/baselines/reference/genericInheritedDefaultConstructors.js +++ b/tests/baselines/reference/genericInheritedDefaultConstructors.js @@ -13,6 +13,7 @@ var c:Constructor> = B; // shouldn't error here //// [genericInheritedDefaultConstructors.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericInstanceOf.js b/tests/baselines/reference/genericInstanceOf.js index c7c5359f9fe76..cda967d394333 100644 --- a/tests/baselines/reference/genericInstanceOf.js +++ b/tests/baselines/reference/genericInstanceOf.js @@ -14,6 +14,7 @@ class C { } //// [genericInstanceOf.js] +"use strict"; var C = /** @class */ (function () { function C(a, b) { this.a = a; diff --git a/tests/baselines/reference/genericInstantiationEquivalentToObjectLiteral.js b/tests/baselines/reference/genericInstantiationEquivalentToObjectLiteral.js index 01fa809840630..8e1d2d77ce872 100644 --- a/tests/baselines/reference/genericInstantiationEquivalentToObjectLiteral.js +++ b/tests/baselines/reference/genericInstantiationEquivalentToObjectLiteral.js @@ -17,6 +17,7 @@ f2(x); f2(y); //// [genericInstantiationEquivalentToObjectLiteral.js] +"use strict"; var x; var y; x = y; diff --git a/tests/baselines/reference/genericInterfaceImplementation.js b/tests/baselines/reference/genericInterfaceImplementation.js index 718f78e642bcb..e72c44a9eb5ff 100644 --- a/tests/baselines/reference/genericInterfaceImplementation.js +++ b/tests/baselines/reference/genericInterfaceImplementation.js @@ -19,6 +19,7 @@ class None implements IOption{ //// [genericInterfaceImplementation.js] +"use strict"; var None = /** @class */ (function () { function None() { } diff --git a/tests/baselines/reference/genericInterfaceTypeCall.js b/tests/baselines/reference/genericInterfaceTypeCall.js index 1671695ed5061..77bdcd8c0a7c0 100644 --- a/tests/baselines/reference/genericInterfaceTypeCall.js +++ b/tests/baselines/reference/genericInterfaceTypeCall.js @@ -17,6 +17,7 @@ test.fail2(arg => foo.reject(arg)); // Error: Supplied parameters do not match a //// [genericInterfaceTypeCall.js] +"use strict"; var foo; var test; test.fail(function (arg) { return foo.reject(arg); }); diff --git a/tests/baselines/reference/genericInterfacesWithoutTypeArguments.js b/tests/baselines/reference/genericInterfacesWithoutTypeArguments.js index 1a9dc054b171b..e943503686842 100644 --- a/tests/baselines/reference/genericInterfacesWithoutTypeArguments.js +++ b/tests/baselines/reference/genericInterfacesWithoutTypeArguments.js @@ -8,6 +8,7 @@ var c: C; //// [genericInterfacesWithoutTypeArguments.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/genericLambaArgWithoutTypeArguments.js b/tests/baselines/reference/genericLambaArgWithoutTypeArguments.js index daa4de93b9320..6e34d7aca077e 100644 --- a/tests/baselines/reference/genericLambaArgWithoutTypeArguments.js +++ b/tests/baselines/reference/genericLambaArgWithoutTypeArguments.js @@ -11,6 +11,7 @@ foo((arg: Foo) => { return arg.x; }); //// [genericLambaArgWithoutTypeArguments.js] +"use strict"; function foo(a) { return null; } diff --git a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.js b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.js index 78af72d0955c2..437bac1930d53 100644 --- a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.js +++ b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter.js @@ -9,6 +9,7 @@ namespace foo { //// [genericMergedDeclarationUsingTypeParameter.js] +"use strict"; function foo(y, z) { return y; } (function (foo) { var y = 1; diff --git a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.js b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.js index b74a09dc26eba..eb7762de05b08 100644 --- a/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.js +++ b/tests/baselines/reference/genericMergedDeclarationUsingTypeParameter2.js @@ -9,6 +9,7 @@ namespace foo { //// [genericMergedDeclarationUsingTypeParameter2.js] +"use strict"; var foo = /** @class */ (function () { function foo(x) { } diff --git a/tests/baselines/reference/genericMethodOverspecialization.js b/tests/baselines/reference/genericMethodOverspecialization.js index 7e0709f2c7c17..2564cb9f4c90e 100644 --- a/tests/baselines/reference/genericMethodOverspecialization.js +++ b/tests/baselines/reference/genericMethodOverspecialization.js @@ -29,6 +29,7 @@ var widths:number[] = elements.map(function (e) { // should not error //// [genericMethodOverspecialization.js] +"use strict"; var names = ["list", "table1", "table2", "table3", "summary"]; var elements = names.map(function (name) { return document.getElementById(name); diff --git a/tests/baselines/reference/genericNewInterface.js b/tests/baselines/reference/genericNewInterface.js index 4d8a8560a5e5f..c2a4accb1e1a6 100644 --- a/tests/baselines/reference/genericNewInterface.js +++ b/tests/baselines/reference/genericNewInterface.js @@ -14,6 +14,7 @@ function createInstance2(ctor: INewable): T { } //// [genericNewInterface.js] +"use strict"; function createInstance(ctor) { return new ctor(42); //should be an error } diff --git a/tests/baselines/reference/genericNumberIndex.js b/tests/baselines/reference/genericNumberIndex.js index 17d5d3f8e917a..92301c86a1a79 100644 --- a/tests/baselines/reference/genericNumberIndex.js +++ b/tests/baselines/reference/genericNumberIndex.js @@ -5,3 +5,4 @@ type X = ['a'][I]; //// [genericNumberIndex.js] +"use strict"; diff --git a/tests/baselines/reference/genericObjectCreationWithoutTypeArgs.js b/tests/baselines/reference/genericObjectCreationWithoutTypeArgs.js index b70fd08865904..12ddec4fa5a7f 100644 --- a/tests/baselines/reference/genericObjectCreationWithoutTypeArgs.js +++ b/tests/baselines/reference/genericObjectCreationWithoutTypeArgs.js @@ -12,6 +12,7 @@ var x4 = new SS; // OK //// [genericObjectCreationWithoutTypeArgs.js] +"use strict"; var SS = /** @class */ (function () { function SS() { } diff --git a/tests/baselines/reference/genericObjectLitReturnType.js b/tests/baselines/reference/genericObjectLitReturnType.js index 2c47b65f8d1ea..84640ed3beb7c 100644 --- a/tests/baselines/reference/genericObjectLitReturnType.js +++ b/tests/baselines/reference/genericObjectLitReturnType.js @@ -14,6 +14,7 @@ t1.a = 5; // Should not error: t1 should have type {a: number}, instead has type //// [genericObjectLitReturnType.js] +"use strict"; var X = /** @class */ (function () { function X() { } diff --git a/tests/baselines/reference/genericObjectSpreadResultInSwitch.js b/tests/baselines/reference/genericObjectSpreadResultInSwitch.js index ecc549836b1b6..4fac28478ded1 100644 --- a/tests/baselines/reference/genericObjectSpreadResultInSwitch.js +++ b/tests/baselines/reference/genericObjectSpreadResultInSwitch.js @@ -36,6 +36,7 @@ switch (params.tag) { } //// [genericObjectSpreadResultInSwitch.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/genericOfACloduleType1.js b/tests/baselines/reference/genericOfACloduleType1.js index 09840362816f6..9268aea41488b 100644 --- a/tests/baselines/reference/genericOfACloduleType1.js +++ b/tests/baselines/reference/genericOfACloduleType1.js @@ -15,6 +15,7 @@ namespace M { var g2 = new G() // was: error Type reference cannot refer to container 'M.C'. //// [genericOfACloduleType1.js] +"use strict"; var G = /** @class */ (function () { function G() { } diff --git a/tests/baselines/reference/genericOfACloduleType2.js b/tests/baselines/reference/genericOfACloduleType2.js index e35d8e95ef6d0..7f63e63d57913 100644 --- a/tests/baselines/reference/genericOfACloduleType2.js +++ b/tests/baselines/reference/genericOfACloduleType2.js @@ -18,6 +18,7 @@ namespace N { } //// [genericOfACloduleType2.js] +"use strict"; var G = /** @class */ (function () { function G() { } diff --git a/tests/baselines/reference/genericOverloadSignatures.js b/tests/baselines/reference/genericOverloadSignatures.js index 6523f5635f373..5ebbedd9b3591 100644 --- a/tests/baselines/reference/genericOverloadSignatures.js +++ b/tests/baselines/reference/genericOverloadSignatures.js @@ -33,6 +33,7 @@ interface D { } //// [genericOverloadSignatures.js] +"use strict"; function f(a) { } var C2 = /** @class */ (function () { function C2() { diff --git a/tests/baselines/reference/genericParameterAssignability1.js b/tests/baselines/reference/genericParameterAssignability1.js index 00c81bbc175a9..1478d900c6038 100644 --- a/tests/baselines/reference/genericParameterAssignability1.js +++ b/tests/baselines/reference/genericParameterAssignability1.js @@ -6,6 +6,7 @@ var r = (x: T) => x; r = f; // should be allowed //// [genericParameterAssignability1.js] +"use strict"; function f(x) { return null; } var r = function (x) { return x; }; r = f; // should be allowed diff --git a/tests/baselines/reference/genericPrototypeProperty.js b/tests/baselines/reference/genericPrototypeProperty.js index 738c89b4677d4..b74b2500271d9 100644 --- a/tests/baselines/reference/genericPrototypeProperty.js +++ b/tests/baselines/reference/genericPrototypeProperty.js @@ -12,6 +12,7 @@ var r2 = r.x var r3 = r.foo(null); //// [genericPrototypeProperty.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/genericPrototypeProperty2.js b/tests/baselines/reference/genericPrototypeProperty2.js index 76e0f9859535f..7df9edfb1e8de 100644 --- a/tests/baselines/reference/genericPrototypeProperty2.js +++ b/tests/baselines/reference/genericPrototypeProperty2.js @@ -18,6 +18,7 @@ class MyEventWrapper extends BaseEventWrapper { } //// [genericPrototypeProperty2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericPrototypeProperty3.js b/tests/baselines/reference/genericPrototypeProperty3.js index a98ab1f444ec4..358414cacb063 100644 --- a/tests/baselines/reference/genericPrototypeProperty3.js +++ b/tests/baselines/reference/genericPrototypeProperty3.js @@ -17,6 +17,7 @@ class MyEventWrapper extends BaseEventWrapper { } //// [genericPrototypeProperty3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.js b/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.js index 4c4a8a910335f..e28fc6c2c3451 100644 --- a/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.js +++ b/tests/baselines/reference/genericRecursiveImplicitConstructorErrors2.js @@ -29,6 +29,7 @@ namespace TypeScript2 { //// [genericRecursiveImplicitConstructorErrors2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericRecursiveImplicitConstructorErrors3.js b/tests/baselines/reference/genericRecursiveImplicitConstructorErrors3.js index 3203b826c25d9..9d35adac4678c 100644 --- a/tests/baselines/reference/genericRecursiveImplicitConstructorErrors3.js +++ b/tests/baselines/reference/genericRecursiveImplicitConstructorErrors3.js @@ -33,6 +33,7 @@ namespace TypeScript { //// [genericRecursiveImplicitConstructorErrors3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericReduce.js b/tests/baselines/reference/genericReduce.js index ae41923d8ce05..78d487c835ab3 100644 --- a/tests/baselines/reference/genericReduce.js +++ b/tests/baselines/reference/genericReduce.js @@ -16,6 +16,7 @@ n3.toExponential(2); // should error if 'n3' is correctly type 'string' n3.charAt(0); // should not error if 'n3' is correctly type 'string' //// [genericReduce.js] +"use strict"; var a = ["An", "array", "of", "strings"]; var b = a.map(function (s) { return s.length; }); var n1 = b.reduce(function (x, y) { return x + y; }); diff --git a/tests/baselines/reference/genericRestArgs.js b/tests/baselines/reference/genericRestArgs.js index 54a7c1737435e..407c5aa2177e5 100644 --- a/tests/baselines/reference/genericRestArgs.js +++ b/tests/baselines/reference/genericRestArgs.js @@ -15,6 +15,7 @@ var a2Gb = makeArrayG(1, ""); var a2Gc = makeArrayG(1, ""); // error //// [genericRestArgs.js] +"use strict"; function makeArrayG() { var items = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/genericRestArity.js b/tests/baselines/reference/genericRestArity.js index 55d5eee6bb27f..16d469f7e4dc9 100644 --- a/tests/baselines/reference/genericRestArity.js +++ b/tests/baselines/reference/genericRestArity.js @@ -12,6 +12,7 @@ call((x: number, y: number) => x + y, 1, 2, 3, 4, 5, 6, 7); //// [genericRestArity.js] +"use strict"; // Repro from #25559 call(function (x, y) { return x + y; }); call(function (x, y) { return x + y; }, 1, 2, 3, 4, 5, 6, 7); diff --git a/tests/baselines/reference/genericReversingTypeParameters.js b/tests/baselines/reference/genericReversingTypeParameters.js index 6f9b2a11a1877..5aecbda1f6c3d 100644 --- a/tests/baselines/reference/genericReversingTypeParameters.js +++ b/tests/baselines/reference/genericReversingTypeParameters.js @@ -13,6 +13,7 @@ var i = b.inverse(); // used to get the type wrong here. var r2b = i.get(1); //// [genericReversingTypeParameters.js] +"use strict"; var BiMap = /** @class */ (function () { function BiMap() { } diff --git a/tests/baselines/reference/genericReversingTypeParameters2.js b/tests/baselines/reference/genericReversingTypeParameters2.js index 15a6596b3f2af..0cf8936ec0afb 100644 --- a/tests/baselines/reference/genericReversingTypeParameters2.js +++ b/tests/baselines/reference/genericReversingTypeParameters2.js @@ -12,6 +12,7 @@ var i = b.inverse(); // used to get the type wrong here. var r2b = i.get(1); //// [genericReversingTypeParameters2.js] +"use strict"; var BiMap = /** @class */ (function () { function BiMap() { } diff --git a/tests/baselines/reference/genericSetterInClassType.js b/tests/baselines/reference/genericSetterInClassType.js index 398821cb4ccb5..3199337d732dd 100644 --- a/tests/baselines/reference/genericSetterInClassType.js +++ b/tests/baselines/reference/genericSetterInClassType.js @@ -28,6 +28,7 @@ namespace Generic { } //// [genericSetterInClassType.js] +"use strict"; var Generic; (function (Generic) { class C { diff --git a/tests/baselines/reference/genericSetterInClassTypeJsDoc.js b/tests/baselines/reference/genericSetterInClassTypeJsDoc.js index f1fe44969bf79..45ed13a794977 100644 --- a/tests/baselines/reference/genericSetterInClassTypeJsDoc.js +++ b/tests/baselines/reference/genericSetterInClassTypeJsDoc.js @@ -26,6 +26,7 @@ new Box(3).value = 3; //// [genericSetterInClassTypeJsDoc-out.js] +"use strict"; /** * @template T */ diff --git a/tests/baselines/reference/genericSignatureIdentity.js b/tests/baselines/reference/genericSignatureIdentity.js index c4e65d5bea463..aae62c453b6e1 100644 --- a/tests/baselines/reference/genericSignatureIdentity.js +++ b/tests/baselines/reference/genericSignatureIdentity.js @@ -24,6 +24,7 @@ var x: { //// [genericSignatureIdentity.js] +"use strict"; // This test is here to remind us of our current limits of type identity checking. // Ideally all of the below declarations would be considered different (and thus errors) // but they aren't because we erase type parameters to type any and don't check that diff --git a/tests/baselines/reference/genericSignatureInheritance.js b/tests/baselines/reference/genericSignatureInheritance.js index d7f09d082c019..47e3bf9b79498 100644 --- a/tests/baselines/reference/genericSignatureInheritance.js +++ b/tests/baselines/reference/genericSignatureInheritance.js @@ -9,3 +9,4 @@ interface I2 extends I { } //// [genericSignatureInheritance.js] +"use strict"; diff --git a/tests/baselines/reference/genericSignatureInheritance2.js b/tests/baselines/reference/genericSignatureInheritance2.js index 97b8897b21e9d..1bf8a9ed16d58 100644 --- a/tests/baselines/reference/genericSignatureInheritance2.js +++ b/tests/baselines/reference/genericSignatureInheritance2.js @@ -11,3 +11,4 @@ interface I2 extends I { //// [genericSignatureInheritance2.js] +"use strict"; diff --git a/tests/baselines/reference/genericSpecializationToTypeLiteral1.js b/tests/baselines/reference/genericSpecializationToTypeLiteral1.js index 50d1c4eeadd7a..bbd2dead992f8 100644 --- a/tests/baselines/reference/genericSpecializationToTypeLiteral1.js +++ b/tests/baselines/reference/genericSpecializationToTypeLiteral1.js @@ -31,3 +31,4 @@ interface IDictionary { } //// [genericSpecializationToTypeLiteral1.js] +"use strict"; diff --git a/tests/baselines/reference/genericSpecializations1.js b/tests/baselines/reference/genericSpecializations1.js index 66a8aab9fdd41..599f7e6d7d07c 100644 --- a/tests/baselines/reference/genericSpecializations1.js +++ b/tests/baselines/reference/genericSpecializations1.js @@ -18,6 +18,7 @@ class StringFoo3 implements IFoo { } //// [genericSpecializations1.js] +"use strict"; var IntFooBad = /** @class */ (function () { function IntFooBad() { } diff --git a/tests/baselines/reference/genericSpecializations2.js b/tests/baselines/reference/genericSpecializations2.js index d225e57297e06..fade54f32acff 100644 --- a/tests/baselines/reference/genericSpecializations2.js +++ b/tests/baselines/reference/genericSpecializations2.js @@ -22,6 +22,7 @@ class StringFoo3 implements IFoo { //// [genericSpecializations2.js] +"use strict"; var IFoo = /** @class */ (function () { function IFoo() { } diff --git a/tests/baselines/reference/genericSpecializations3.js b/tests/baselines/reference/genericSpecializations3.js index b2601ce0be45e..aec865b916edf 100644 --- a/tests/baselines/reference/genericSpecializations3.js +++ b/tests/baselines/reference/genericSpecializations3.js @@ -38,6 +38,7 @@ class StringFoo3 implements IFoo { // error var stringFoo3: StringFoo3; //// [genericSpecializations3.js] +"use strict"; iFoo.foo(1); var IntFooBad = /** @class */ (function () { function IntFooBad() { diff --git a/tests/baselines/reference/genericStaticAnyTypeFunction.js b/tests/baselines/reference/genericStaticAnyTypeFunction.js index 4d3987d3fab00..b6211a5a4de99 100644 --- a/tests/baselines/reference/genericStaticAnyTypeFunction.js +++ b/tests/baselines/reference/genericStaticAnyTypeFunction.js @@ -21,6 +21,7 @@ class A { //// [genericStaticAnyTypeFunction.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/genericTemplateOverloadResolution.js b/tests/baselines/reference/genericTemplateOverloadResolution.js index 72751c80ab60a..6021c11e3a34d 100644 --- a/tests/baselines/reference/genericTemplateOverloadResolution.js +++ b/tests/baselines/reference/genericTemplateOverloadResolution.js @@ -14,6 +14,7 @@ expect(fooFn``); //// [genericTemplateOverloadResolution.js] +"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; diff --git a/tests/baselines/reference/genericTypeAliases.js b/tests/baselines/reference/genericTypeAliases.js index bbcc78b3c6c2a..23b395e8072ce 100644 --- a/tests/baselines/reference/genericTypeAliases.js +++ b/tests/baselines/reference/genericTypeAliases.js @@ -77,6 +77,7 @@ a = b; //// [genericTypeAliases.js] +"use strict"; var tree = { left: { left: 0, diff --git a/tests/baselines/reference/genericTypeArgumentInference1.js b/tests/baselines/reference/genericTypeArgumentInference1.js index 1077eafbb5f34..d8fa222b1060e 100644 --- a/tests/baselines/reference/genericTypeArgumentInference1.js +++ b/tests/baselines/reference/genericTypeArgumentInference1.js @@ -19,6 +19,7 @@ var r4 = _.all([true], _.identity); //// [genericTypeArgumentInference1.js] +"use strict"; var r = _.all([true, 1, null, 'yes'], _.identity); var r2 = _.all([true], _.identity); var r3 = _.all([], _.identity); diff --git a/tests/baselines/reference/genericTypeAssertions1.js b/tests/baselines/reference/genericTypeAssertions1.js index c8def54beb088..9134300fc604b 100644 --- a/tests/baselines/reference/genericTypeAssertions1.js +++ b/tests/baselines/reference/genericTypeAssertions1.js @@ -7,6 +7,7 @@ var r: A = >new A(); // error var r2: A = >>foo; // error //// [genericTypeAssertions1.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/genericTypeAssertions2.js b/tests/baselines/reference/genericTypeAssertions2.js index e26d966e632b7..c9f3dfd0c1215 100644 --- a/tests/baselines/reference/genericTypeAssertions2.js +++ b/tests/baselines/reference/genericTypeAssertions2.js @@ -16,6 +16,7 @@ var r4: A = >new A(); var r5: A = >[]; // error //// [genericTypeAssertions2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericTypeAssertions3.js b/tests/baselines/reference/genericTypeAssertions3.js index 0a1152cde8e6f..21e779428cf66 100644 --- a/tests/baselines/reference/genericTypeAssertions3.js +++ b/tests/baselines/reference/genericTypeAssertions3.js @@ -6,5 +6,6 @@ var s = < (x: T) => T > ((x: any) => { return null; }); // no error //// [genericTypeAssertions3.js] +"use strict"; var r = (function (x) { return null; }); // bug was 'could not find dotted symbol T' on x's annotation in the type assertion instead of no error var s = (function (x) { return null; }); // no error diff --git a/tests/baselines/reference/genericTypeAssertions4.js b/tests/baselines/reference/genericTypeAssertions4.js index 97849e41f8bae..a1cff11587529 100644 --- a/tests/baselines/reference/genericTypeAssertions4.js +++ b/tests/baselines/reference/genericTypeAssertions4.js @@ -28,6 +28,7 @@ function foo2(x: T) { } //// [genericTypeAssertions4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericTypeAssertions5.js b/tests/baselines/reference/genericTypeAssertions5.js index 02893078b53aa..88e9294f34db5 100644 --- a/tests/baselines/reference/genericTypeAssertions5.js +++ b/tests/baselines/reference/genericTypeAssertions5.js @@ -28,6 +28,7 @@ function foo2(x: T) { } //// [genericTypeAssertions5.js] +"use strict"; var a; var b; var c; diff --git a/tests/baselines/reference/genericTypeAssertions6.js b/tests/baselines/reference/genericTypeAssertions6.js index 39dd26a6e1c62..89d11bba78035 100644 --- a/tests/baselines/reference/genericTypeAssertions6.js +++ b/tests/baselines/reference/genericTypeAssertions6.js @@ -27,6 +27,7 @@ declare var b: B; var c: A = >b; //// [genericTypeAssertions6.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericTypeConstraints.js b/tests/baselines/reference/genericTypeConstraints.js index 7af7c490ce779..1ab5658077c33 100644 --- a/tests/baselines/reference/genericTypeConstraints.js +++ b/tests/baselines/reference/genericTypeConstraints.js @@ -16,6 +16,7 @@ class BarExtended extends Bar { } //// [genericTypeConstraints.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/genericTypeParameterEquivalence2.js b/tests/baselines/reference/genericTypeParameterEquivalence2.js index 33c3f05dc0b55..c3b2938ce01e3 100644 --- a/tests/baselines/reference/genericTypeParameterEquivalence2.js +++ b/tests/baselines/reference/genericTypeParameterEquivalence2.js @@ -61,6 +61,7 @@ function countWhere_2(pred: (a: A) => boolean): (a: A[]) => number { } //// [genericTypeParameterEquivalence2.js] +"use strict"; // compose :: (b->c) -> (a->b) -> (a->c) function compose(f, g) { return function (a) { diff --git a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.js b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.js index 00a5a280fa3ae..35ddf2edd8400 100644 --- a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.js +++ b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument.js @@ -40,6 +40,7 @@ var j = null; var k = null; //// [genericTypeReferenceWithoutTypeArgument.js] +"use strict"; // it is an error to use a generic type without type arguments // all of these are errors var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.js b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.js index 8b09d5bd6e038..bb55ec826142c 100644 --- a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.js +++ b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument2.js @@ -40,6 +40,7 @@ var j = null; var k = null; //// [genericTypeReferenceWithoutTypeArgument2.js] +"use strict"; // it is an error to use a generic type without type arguments // all of these are errors var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument3.js b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument3.js index 6926d5f65b29e..1f94d99dc28bf 100644 --- a/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument3.js +++ b/tests/baselines/reference/genericTypeReferenceWithoutTypeArgument3.js @@ -29,5 +29,6 @@ declare function h(x: T); declare function i(x: T); //// [genericTypeReferenceWithoutTypeArgument3.js] +"use strict"; // it is an error to use a generic type without type arguments // all of these are errors diff --git a/tests/baselines/reference/genericTypeReferencesRequireTypeArgs.js b/tests/baselines/reference/genericTypeReferencesRequireTypeArgs.js index 37668877281c7..feb436bdca3f1 100644 --- a/tests/baselines/reference/genericTypeReferencesRequireTypeArgs.js +++ b/tests/baselines/reference/genericTypeReferencesRequireTypeArgs.js @@ -14,6 +14,7 @@ var i2: I; // should be an error //// [genericTypeReferencesRequireTypeArgs.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/genericTypeUsedWithoutTypeArguments1.js b/tests/baselines/reference/genericTypeUsedWithoutTypeArguments1.js index 10b10a89da636..01415ed13ff99 100644 --- a/tests/baselines/reference/genericTypeUsedWithoutTypeArguments1.js +++ b/tests/baselines/reference/genericTypeUsedWithoutTypeArguments1.js @@ -6,6 +6,7 @@ class Bar implements Foo { } //// [genericTypeUsedWithoutTypeArguments1.js] +"use strict"; var Bar = /** @class */ (function () { function Bar() { } diff --git a/tests/baselines/reference/genericTypeUsedWithoutTypeArguments3.js b/tests/baselines/reference/genericTypeUsedWithoutTypeArguments3.js index 6cad00b21e65d..2d3f76e721d61 100644 --- a/tests/baselines/reference/genericTypeUsedWithoutTypeArguments3.js +++ b/tests/baselines/reference/genericTypeUsedWithoutTypeArguments3.js @@ -6,3 +6,4 @@ interface Bar extends Foo { } //// [genericTypeUsedWithoutTypeArguments3.js] +"use strict"; diff --git a/tests/baselines/reference/genericTypeWithCallableMembers.js b/tests/baselines/reference/genericTypeWithCallableMembers.js index 756fdf378ded4..9b68955b64618 100644 --- a/tests/baselines/reference/genericTypeWithCallableMembers.js +++ b/tests/baselines/reference/genericTypeWithCallableMembers.js @@ -15,6 +15,7 @@ class C { //// [genericTypeWithCallableMembers.js] +"use strict"; var C = /** @class */ (function () { function C(data, data2) { this.data = data; diff --git a/tests/baselines/reference/genericTypeWithCallableMembers2.js b/tests/baselines/reference/genericTypeWithCallableMembers2.js index 025efe2cd8377..76f079b001571 100644 --- a/tests/baselines/reference/genericTypeWithCallableMembers2.js +++ b/tests/baselines/reference/genericTypeWithCallableMembers2.js @@ -10,6 +10,7 @@ function foo2(f: T) { } //// [genericTypeWithCallableMembers2.js] +"use strict"; function foo1(f) { return f(); // should return 'string', once returned 'any' } diff --git a/tests/baselines/reference/genericTypeWithMultipleBases3.js b/tests/baselines/reference/genericTypeWithMultipleBases3.js index 6ce8067a197cd..58978d87cd914 100644 --- a/tests/baselines/reference/genericTypeWithMultipleBases3.js +++ b/tests/baselines/reference/genericTypeWithMultipleBases3.js @@ -23,6 +23,7 @@ var y = c.bar; //// [genericTypeWithMultipleBases3.js] +"use strict"; var c; var x = c.foo; var y = c.bar; diff --git a/tests/baselines/reference/genericTypeWithNonGenericBaseMisMatch.js b/tests/baselines/reference/genericTypeWithNonGenericBaseMisMatch.js index 789970bfbe157..bff5b5282e4c2 100644 --- a/tests/baselines/reference/genericTypeWithNonGenericBaseMisMatch.js +++ b/tests/baselines/reference/genericTypeWithNonGenericBaseMisMatch.js @@ -12,6 +12,7 @@ var i: I = x; // Should not be allowed -- type of 'f' is incompatible with 'I' //// [genericTypeWithNonGenericBaseMisMatch.js] +"use strict"; var X = /** @class */ (function () { function X() { } diff --git a/tests/baselines/reference/genericWithCallSignatureReturningSpecialization.js b/tests/baselines/reference/genericWithCallSignatureReturningSpecialization.js index f7a44216c3808..9748a77078f44 100644 --- a/tests/baselines/reference/genericWithCallSignatureReturningSpecialization.js +++ b/tests/baselines/reference/genericWithCallSignatureReturningSpecialization.js @@ -10,5 +10,6 @@ x(true); // was error //// [genericWithCallSignatureReturningSpecialization.js] +"use strict"; var x; x(true); // was error diff --git a/tests/baselines/reference/genericWithCallSignatures1.js b/tests/baselines/reference/genericWithCallSignatures1.js index cd44e9444a412..86c180447a461 100644 --- a/tests/baselines/reference/genericWithCallSignatures1.js +++ b/tests/baselines/reference/genericWithCallSignatures1.js @@ -19,7 +19,9 @@ class MyClass { } //// [genericWithCallSignatures_0.js] +"use strict"; //// [genericWithCallSignatures_1.js] +"use strict"; /// var MyClass = /** @class */ (function () { function MyClass() { diff --git a/tests/baselines/reference/genericWithIndexerOfTypeParameterType1.js b/tests/baselines/reference/genericWithIndexerOfTypeParameterType1.js index ca0af20134320..dda44ae948888 100644 --- a/tests/baselines/reference/genericWithIndexerOfTypeParameterType1.js +++ b/tests/baselines/reference/genericWithIndexerOfTypeParameterType1.js @@ -11,6 +11,7 @@ var lazyArray = new LazyArray(); var value: string = lazyArray.array()["test"]; // used to be an error //// [genericWithIndexerOfTypeParameterType1.js] +"use strict"; var LazyArray = /** @class */ (function () { function LazyArray() { this.objects = {}; diff --git a/tests/baselines/reference/genericWithOpenTypeParameters1.js b/tests/baselines/reference/genericWithOpenTypeParameters1.js index d6dfe50133113..4f6a0c49d5b38 100644 --- a/tests/baselines/reference/genericWithOpenTypeParameters1.js +++ b/tests/baselines/reference/genericWithOpenTypeParameters1.js @@ -14,6 +14,7 @@ var f4 = (x: B) => { return x.foo(1); } // no error //// [genericWithOpenTypeParameters1.js] +"use strict"; var B = /** @class */ (function () { function B() { } diff --git a/tests/baselines/reference/generics0.js b/tests/baselines/reference/generics0.js index 104deb99049b7..8e6943976dcb5 100644 --- a/tests/baselines/reference/generics0.js +++ b/tests/baselines/reference/generics0.js @@ -10,6 +10,7 @@ var v2: G; var z = v2.x; // 'y' should be of type 'string' //// [generics0.js] +"use strict"; var v2; var z = v2.x; // 'y' should be of type 'string' diff --git a/tests/baselines/reference/generics1.js b/tests/baselines/reference/generics1.js index 5d012adb1a72c..588ea8f3bd585 100644 --- a/tests/baselines/reference/generics1.js +++ b/tests/baselines/reference/generics1.js @@ -18,6 +18,7 @@ var v7: G; // Error, no type arguments //// [generics1.js] +"use strict"; var v1; // Ok var v2; // Ok, equivalent to G var v3; // Error, A not valid argument for U diff --git a/tests/baselines/reference/generics1NoError.js b/tests/baselines/reference/generics1NoError.js index 333ed2e694f0d..f1f021d6703d0 100644 --- a/tests/baselines/reference/generics1NoError.js +++ b/tests/baselines/reference/generics1NoError.js @@ -13,6 +13,7 @@ var v2: G<{ a: string }, C>; // Ok, equivalent to G var v4: G, C>; // Ok //// [generics1NoError.js] +"use strict"; var v1; // Ok var v2; // Ok, equivalent to G var v4; // Ok diff --git a/tests/baselines/reference/generics2.js b/tests/baselines/reference/generics2.js index 7008ff9a6e5a7..55af3920bbac7 100644 --- a/tests/baselines/reference/generics2.js +++ b/tests/baselines/reference/generics2.js @@ -25,6 +25,7 @@ var v7: G; // Error, no type arguments //// [generics2.js] +"use strict"; var v1; // Ok var v2; // Ok, equivalent to G var v3; // Error, A not valid argument for U diff --git a/tests/baselines/reference/generics2NoError.js b/tests/baselines/reference/generics2NoError.js index 08ad9dc34d859..a4379ff9ba585 100644 --- a/tests/baselines/reference/generics2NoError.js +++ b/tests/baselines/reference/generics2NoError.js @@ -20,6 +20,7 @@ var v2: G<{ a: string }, C>; // Ok, equivalent to G var v4: G, C>; // Ok //// [generics2NoError.js] +"use strict"; var v1; // Ok var v2; // Ok, equivalent to G var v4; // Ok diff --git a/tests/baselines/reference/generics3.js b/tests/baselines/reference/generics3.js index 24f98d84c2276..1163113b3d678 100644 --- a/tests/baselines/reference/generics3.js +++ b/tests/baselines/reference/generics3.js @@ -10,6 +10,7 @@ var b: C; a = b; // Ok - should be identical //// [generics3.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/generics4.js b/tests/baselines/reference/generics4.js index a57b66ff69ac5..07f8661174044 100644 --- a/tests/baselines/reference/generics4.js +++ b/tests/baselines/reference/generics4.js @@ -10,6 +10,7 @@ declare var b: C; a = b; // Not ok - return types of "f" are different //// [generics4.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/generics4NoError.js b/tests/baselines/reference/generics4NoError.js index 53aee1ccd9672..13ebe4058e616 100644 --- a/tests/baselines/reference/generics4NoError.js +++ b/tests/baselines/reference/generics4NoError.js @@ -9,6 +9,7 @@ var b: C; //// [generics4NoError.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/generics5.js b/tests/baselines/reference/generics5.js index 0319e54fd024c..e9b55679b6497 100644 --- a/tests/baselines/reference/generics5.js +++ b/tests/baselines/reference/generics5.js @@ -15,4 +15,5 @@ var v3: G; // Error, A not valid argument for U //// [generics5.js] +"use strict"; var v3; // Error, A not valid argument for U diff --git a/tests/baselines/reference/genericsAndHigherOrderFunctions.js b/tests/baselines/reference/genericsAndHigherOrderFunctions.js index 5cc8486e52da7..4211ff35e166f 100644 --- a/tests/baselines/reference/genericsAndHigherOrderFunctions.js +++ b/tests/baselines/reference/genericsAndHigherOrderFunctions.js @@ -20,6 +20,7 @@ var foo: (g: (x: K) => N) => (f: (_: N) => (_: R) => R) => h(combine(f)(g)) //// [genericsAndHigherOrderFunctions.js] +"use strict"; // no errors expected var combine = function (f) { return function (g) { diff --git a/tests/baselines/reference/genericsManyTypeParameters.js b/tests/baselines/reference/genericsManyTypeParameters.js index 0e4d905fcb19f..56967e4548ab3 100644 --- a/tests/baselines/reference/genericsManyTypeParameters.js +++ b/tests/baselines/reference/genericsManyTypeParameters.js @@ -62,6 +62,7 @@ function Foo< } //// [genericsManyTypeParameters.js] +"use strict"; function Foo(x1, y1, z1, a1, b1, c1, x2, y2, z2, a2, b2, c2, x3, y3, z3, a3, b3, c3, x4, y4, z4, a4, b4, c4, x5, y5, z5, a5, b5, c5, x6, y6, z6, a6, b6, c6, x7, y7, z7, a7, b7, c7, x8, y8, z8, a8, b8, c8, x9, y9, z9, a9, b9, c9, x10, y12, z10, a10, b10, c10, x11, y13, z11, a11, b11, c11, x12, y14, z12, a12, b12, c12, x13, y15, z13, a13, b13, c13, x14, y16, z14, a14, b14, c14, x15, y17, z15, a15, b15, c15, x16, y18, z16, a16, b16, c16, x17, y19, z17, a17, b17, c17, x18, y10, z18, a18, b18, c18) { return [x1, y1, z1, a1, b1, c1, x2, y2, z2, a2, b2, c2, diff --git a/tests/baselines/reference/genericsWithDuplicateTypeParameters1.js b/tests/baselines/reference/genericsWithDuplicateTypeParameters1.js index 0ed7f6d64793a..830817199f680 100644 --- a/tests/baselines/reference/genericsWithDuplicateTypeParameters1.js +++ b/tests/baselines/reference/genericsWithDuplicateTypeParameters1.js @@ -19,6 +19,7 @@ var m = { } //// [genericsWithDuplicateTypeParameters1.js] +"use strict"; function f() { } function f2(a, b) { return null; } var C = /** @class */ (function () { diff --git a/tests/baselines/reference/genericsWithoutTypeParameters1.js b/tests/baselines/reference/genericsWithoutTypeParameters1.js index 22e4661b009e4..664de3e9bf017 100644 --- a/tests/baselines/reference/genericsWithoutTypeParameters1.js +++ b/tests/baselines/reference/genericsWithoutTypeParameters1.js @@ -36,6 +36,7 @@ function f(x: T): A { } //// [genericsWithoutTypeParameters1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.js b/tests/baselines/reference/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.js index 8c0cc56ffe55d..66d217629870c 100644 --- a/tests/baselines/reference/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.js +++ b/tests/baselines/reference/getAccessorWithImpliedReturnTypeAndFunctionClassMerge.js @@ -30,6 +30,7 @@ namespace MyModule { } //// [getAccessorWithImpliedReturnTypeAndFunctionClassMerge.js] +"use strict"; var MyModule; (function (MyModule) { var MyClass = /** @class */ (function () { diff --git a/tests/baselines/reference/getAndSetAsMemberNames.js b/tests/baselines/reference/getAndSetAsMemberNames.js index 3b73460596a73..8d4c1087cd4b3 100644 --- a/tests/baselines/reference/getAndSetAsMemberNames.js +++ b/tests/baselines/reference/getAndSetAsMemberNames.js @@ -24,6 +24,7 @@ class C5 { //// [getAndSetAsMemberNames.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { this.get = 1; diff --git a/tests/baselines/reference/getAndSetNotIdenticalType.js b/tests/baselines/reference/getAndSetNotIdenticalType.js index d63a209ca5aaa..7fa9f2620bcb1 100644 --- a/tests/baselines/reference/getAndSetNotIdenticalType.js +++ b/tests/baselines/reference/getAndSetNotIdenticalType.js @@ -9,6 +9,7 @@ class C { } //// [getAndSetNotIdenticalType.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/getAndSetNotIdenticalType2.js b/tests/baselines/reference/getAndSetNotIdenticalType2.js index 48739ef96a0e7..c9cc71602dcf0 100644 --- a/tests/baselines/reference/getAndSetNotIdenticalType2.js +++ b/tests/baselines/reference/getAndSetNotIdenticalType2.js @@ -18,6 +18,7 @@ var r = x.x; x.x = r; //// [getAndSetNotIdenticalType2.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/getAndSetNotIdenticalType3.js b/tests/baselines/reference/getAndSetNotIdenticalType3.js index 91dd03a93cf0c..414834e921744 100644 --- a/tests/baselines/reference/getAndSetNotIdenticalType3.js +++ b/tests/baselines/reference/getAndSetNotIdenticalType3.js @@ -18,6 +18,7 @@ var r = x.x; x.x = r; //// [getAndSetNotIdenticalType3.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/getEmitOutputDeclarationMultiFiles.baseline b/tests/baselines/reference/getEmitOutputDeclarationMultiFiles.baseline index 9a39e03997412..d5e4d0c771b4a 100644 --- a/tests/baselines/reference/getEmitOutputDeclarationMultiFiles.baseline +++ b/tests/baselines/reference/getEmitOutputDeclarationMultiFiles.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js +"use strict"; var x = 5; var Bar = /** @class */ (function () { function Bar() { @@ -19,6 +20,7 @@ declare class Bar { EmitSkipped: false FileName : /tests/cases/fourslash/inputFile2.js +"use strict"; var x1 = "hello world"; var Foo = /** @class */ (function () { function Foo() { diff --git a/tests/baselines/reference/getEmitOutputDeclarationSingleFile.baseline b/tests/baselines/reference/getEmitOutputDeclarationSingleFile.baseline index 241ba6f3a5016..eba96644d968f 100644 --- a/tests/baselines/reference/getEmitOutputDeclarationSingleFile.baseline +++ b/tests/baselines/reference/getEmitOutputDeclarationSingleFile.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : declSingleFile.js +"use strict"; var x = 5; var Bar = /** @class */ (function () { function Bar() { diff --git a/tests/baselines/reference/getEmitOutputExternalModule.baseline b/tests/baselines/reference/getEmitOutputExternalModule.baseline index 9dfdf9a63620d..04520045c963f 100644 --- a/tests/baselines/reference/getEmitOutputExternalModule.baseline +++ b/tests/baselines/reference/getEmitOutputExternalModule.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : declSingleFile.js +"use strict"; var x = 5; var Bar = /** @class */ (function () { function Bar() { diff --git a/tests/baselines/reference/getEmitOutputExternalModule2.baseline b/tests/baselines/reference/getEmitOutputExternalModule2.baseline index cbd532561ab74..be62a2a90beca 100644 --- a/tests/baselines/reference/getEmitOutputExternalModule2.baseline +++ b/tests/baselines/reference/getEmitOutputExternalModule2.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : declSingleFile.js +"use strict"; var x = 5; var Bar = /** @class */ (function () { function Bar() { diff --git a/tests/baselines/reference/getEmitOutputMapRoots.baseline b/tests/baselines/reference/getEmitOutputMapRoots.baseline index c87a6205f62b6..0547dde2f5597 100644 --- a/tests/baselines/reference/getEmitOutputMapRoots.baseline +++ b/tests/baselines/reference/getEmitOutputMapRoots.baseline @@ -2,8 +2,9 @@ EmitSkipped: false FileName : declSingleFile.js.map -{"version":3,"file":"declSingleFile.js","sourceRoot":"","sources":["../inputFile.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"declSingleFile.js","sourceRoot":"","sources":["../inputFile.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} FileName : declSingleFile.js +"use strict"; var x = 109; var foo = "hello world"; var M = /** @class */ (function () { diff --git a/tests/baselines/reference/getEmitOutputNoErrors.baseline b/tests/baselines/reference/getEmitOutputNoErrors.baseline index a1c99f0589950..ddf07032c1a74 100644 --- a/tests/baselines/reference/getEmitOutputNoErrors.baseline +++ b/tests/baselines/reference/getEmitOutputNoErrors.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile.js +"use strict"; var x; var M = /** @class */ (function () { function M() { diff --git a/tests/baselines/reference/getEmitOutputOnlyOneFile.baseline b/tests/baselines/reference/getEmitOutputOnlyOneFile.baseline index 3a845632cfbb5..b0dc99c6274f9 100644 --- a/tests/baselines/reference/getEmitOutputOnlyOneFile.baseline +++ b/tests/baselines/reference/getEmitOutputOnlyOneFile.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile2.js +"use strict"; var x; var Foo = /** @class */ (function () { function Foo() { diff --git a/tests/baselines/reference/getEmitOutputOut.baseline b/tests/baselines/reference/getEmitOutputOut.baseline index 1ef6a24c11e72..043071fd8acdd 100644 --- a/tests/baselines/reference/getEmitOutputOut.baseline +++ b/tests/baselines/reference/getEmitOutputOut.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : out.js +"use strict"; /// var foo; (function (foo) { diff --git a/tests/baselines/reference/getEmitOutputOutFile.baseline b/tests/baselines/reference/getEmitOutputOutFile.baseline index bb6ab294ec0e5..f21aca21bf1bf 100644 --- a/tests/baselines/reference/getEmitOutputOutFile.baseline +++ b/tests/baselines/reference/getEmitOutputOutFile.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : outFile.js +"use strict"; var x = 5; var Bar = /** @class */ (function () { function Bar() { diff --git a/tests/baselines/reference/getEmitOutputSingleFile.baseline b/tests/baselines/reference/getEmitOutputSingleFile.baseline index 274e040bfbb0a..3d181d0009454 100644 --- a/tests/baselines/reference/getEmitOutputSingleFile.baseline +++ b/tests/baselines/reference/getEmitOutputSingleFile.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : outputDir/singleFile.js +"use strict"; var x; var Bar = /** @class */ (function () { function Bar() { diff --git a/tests/baselines/reference/getEmitOutputSingleFile2.baseline b/tests/baselines/reference/getEmitOutputSingleFile2.baseline index 241ba6f3a5016..eba96644d968f 100644 --- a/tests/baselines/reference/getEmitOutputSingleFile2.baseline +++ b/tests/baselines/reference/getEmitOutputSingleFile2.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : declSingleFile.js +"use strict"; var x = 5; var Bar = /** @class */ (function () { function Bar() { diff --git a/tests/baselines/reference/getEmitOutputSourceMap.baseline b/tests/baselines/reference/getEmitOutputSourceMap.baseline index 566225e0f17a4..ade2e39fb6198 100644 --- a/tests/baselines/reference/getEmitOutputSourceMap.baseline +++ b/tests/baselines/reference/getEmitOutputSourceMap.baseline @@ -2,8 +2,9 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile.js.map -{"version":3,"file":"inputFile.js","sourceRoot":"","sources":["inputFile.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile.js","sourceRoot":"","sources":["inputFile.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} FileName : /tests/cases/fourslash/inputFile.js +"use strict"; var x = 109; var foo = "hello world"; var M = /** @class */ (function () { diff --git a/tests/baselines/reference/getEmitOutputSourceMap2.baseline b/tests/baselines/reference/getEmitOutputSourceMap2.baseline index c954be858ac03..6fe25822ecddf 100644 --- a/tests/baselines/reference/getEmitOutputSourceMap2.baseline +++ b/tests/baselines/reference/getEmitOutputSourceMap2.baseline @@ -2,8 +2,9 @@ EmitSkipped: false FileName : sample/outDir/inputFile1.js.map -{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["../../tests/cases/fourslash/inputFile1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["../../tests/cases/fourslash/inputFile1.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} FileName : sample/outDir/inputFile1.js +"use strict"; var x = 109; var foo = "hello world"; var M = /** @class */ (function () { @@ -15,8 +16,9 @@ var M = /** @class */ (function () { EmitSkipped: false FileName : sample/outDir/inputFile2.js.map -{"version":3,"file":"inputFile2.js","sourceRoot":"","sources":["../../tests/cases/fourslash/inputFile2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,aAAa,CAAC;AAC1B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;IACvB,IAAI,CAAC,GAAG,EAAE,CAAC;AACd,CAAC"} +{"version":3,"file":"inputFile2.js","sourceRoot":"","sources":["../../tests/cases/fourslash/inputFile2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,aAAa,CAAC;AAC1B,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;IACvB,IAAI,CAAC,GAAG,EAAE,CAAC;AACd,CAAC"} FileName : sample/outDir/inputFile2.js +"use strict"; var intro = "hello world"; if (intro !== undefined) { var k = 10; diff --git a/tests/baselines/reference/getEmitOutputSourceRoot.baseline b/tests/baselines/reference/getEmitOutputSourceRoot.baseline index eb5eef155b52f..f1446a7e9746d 100644 --- a/tests/baselines/reference/getEmitOutputSourceRoot.baseline +++ b/tests/baselines/reference/getEmitOutputSourceRoot.baseline @@ -2,8 +2,9 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile.js.map -{"version":3,"file":"inputFile.js","sourceRoot":"sourceRootDir/","sources":["inputFile.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile.js","sourceRoot":"sourceRootDir/","sources":["inputFile.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} FileName : /tests/cases/fourslash/inputFile.js +"use strict"; var x = 109; var foo = "hello world"; var M = /** @class */ (function () { diff --git a/tests/baselines/reference/getEmitOutputSourceRootMultiFiles.baseline b/tests/baselines/reference/getEmitOutputSourceRootMultiFiles.baseline index f840171abc8a7..62e86649a7b2b 100644 --- a/tests/baselines/reference/getEmitOutputSourceRootMultiFiles.baseline +++ b/tests/baselines/reference/getEmitOutputSourceRootMultiFiles.baseline @@ -2,8 +2,9 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js.map -{"version":3,"file":"inputFile1.js","sourceRoot":"sourceRootDir/","sources":["inputFile1.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile1.js","sourceRoot":"sourceRootDir/","sources":["inputFile1.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,GAAG,CAAC;AACZ,IAAI,GAAG,GAAG,aAAa,CAAC;AACxB;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} FileName : /tests/cases/fourslash/inputFile1.js +"use strict"; var x = 109; var foo = "hello world"; var M = /** @class */ (function () { @@ -15,8 +16,9 @@ var M = /** @class */ (function () { EmitSkipped: false FileName : /tests/cases/fourslash/inputFile2.js.map -{"version":3,"file":"inputFile2.js","sourceRoot":"sourceRootDir/","sources":["inputFile2.ts"],"names":[],"mappings":"AAAA,IAAI,GAAG,GAAG,wBAAwB,CAAC;AACnC;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile2.js","sourceRoot":"sourceRootDir/","sources":["inputFile2.ts"],"names":[],"mappings":";AAAA,IAAI,GAAG,GAAG,wBAAwB,CAAC;AACnC;IAAA;IAGA,CAAC;IAAD,QAAC;AAAD,CAAC,AAHD,IAGC"} FileName : /tests/cases/fourslash/inputFile2.js +"use strict"; var bar = "hello world Typescript"; var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/getEmitOutputTsxFile_Preserve.baseline b/tests/baselines/reference/getEmitOutputTsxFile_Preserve.baseline index 1639e59986e07..326fb53fe3e4f 100644 --- a/tests/baselines/reference/getEmitOutputTsxFile_Preserve.baseline +++ b/tests/baselines/reference/getEmitOutputTsxFile_Preserve.baseline @@ -2,8 +2,9 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js.map -{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["inputFile1.ts"],"names":[],"mappings":"AAAA,kBAAkB;AACjB,IAAI,CAAC,GAAW,CAAC,CAAC;AAClB;IAAA;IAGA,CAAC;IAAD,UAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["inputFile1.ts"],"names":[],"mappings":";AAAA,kBAAkB;AACjB,IAAI,CAAC,GAAW,CAAC,CAAC;AAClB;IAAA;IAGA,CAAC;IAAD,UAAC;AAAD,CAAC,AAHD,IAGC"} FileName : /tests/cases/fourslash/inputFile1.js +"use strict"; // regular ts file var t = 5; var Bar = /** @class */ (function () { @@ -22,8 +23,9 @@ declare class Bar { EmitSkipped: false FileName : /tests/cases/fourslash/inputFile2.jsx.map -{"version":3,"file":"inputFile2.jsx","sourceRoot":"","sources":["inputFile2.tsx"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,QAAQ,CAAC;AACjB,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAE,CAAC,CAAC,CAAC,EAAG,CAAA"} +{"version":3,"file":"inputFile2.jsx","sourceRoot":"","sources":["inputFile2.tsx"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,QAAQ,CAAC;AACjB,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,IAAI,CAAE,CAAC,CAAC,CAAC,EAAG,CAAA"} FileName : /tests/cases/fourslash/inputFile2.jsx +"use strict"; var y = "my div"; var x =
; //# sourceMappingURL=inputFile2.jsx.map diff --git a/tests/baselines/reference/getEmitOutputTsxFile_React.baseline b/tests/baselines/reference/getEmitOutputTsxFile_React.baseline index 5fa94301498d5..357ad07847ffd 100644 --- a/tests/baselines/reference/getEmitOutputTsxFile_React.baseline +++ b/tests/baselines/reference/getEmitOutputTsxFile_React.baseline @@ -2,8 +2,9 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js.map -{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["inputFile1.ts"],"names":[],"mappings":"AAAA,kBAAkB;AACjB,IAAI,CAAC,GAAW,CAAC,CAAC;AAClB;IAAA;IAGA,CAAC;IAAD,UAAC;AAAD,CAAC,AAHD,IAGC"} +{"version":3,"file":"inputFile1.js","sourceRoot":"","sources":["inputFile1.ts"],"names":[],"mappings":";AAAA,kBAAkB;AACjB,IAAI,CAAC,GAAW,CAAC,CAAC;AAClB;IAAA;IAGA,CAAC;IAAD,UAAC;AAAD,CAAC,AAHD,IAGC"} FileName : /tests/cases/fourslash/inputFile1.js +"use strict"; // regular ts file var t = 5; var Bar = /** @class */ (function () { @@ -22,8 +23,9 @@ declare class Bar { EmitSkipped: false FileName : /tests/cases/fourslash/inputFile2.js.map -{"version":3,"file":"inputFile2.js","sourceRoot":"","sources":["inputFile2.tsx"],"names":[],"mappings":"AACA,IAAI,CAAC,GAAG,QAAQ,CAAC;AACjB,IAAI,CAAC,GAAG,6BAAK,IAAI,EAAG,CAAC,GAAI,CAAA"} +{"version":3,"file":"inputFile2.js","sourceRoot":"","sources":["inputFile2.tsx"],"names":[],"mappings":";AACA,IAAI,CAAC,GAAG,QAAQ,CAAC;AACjB,IAAI,CAAC,GAAG,6BAAK,IAAI,EAAG,CAAC,GAAI,CAAA"} FileName : /tests/cases/fourslash/inputFile2.js +"use strict"; var y = "my div"; var x = React.createElement("div", { name: y }); //# sourceMappingURL=inputFile2.js.map diff --git a/tests/baselines/reference/getEmitOutputWithDeclarationFile.baseline b/tests/baselines/reference/getEmitOutputWithDeclarationFile.baseline index 0b61cbd061f4a..fe0977dee3b06 100644 --- a/tests/baselines/reference/getEmitOutputWithDeclarationFile.baseline +++ b/tests/baselines/reference/getEmitOutputWithDeclarationFile.baseline @@ -4,6 +4,7 @@ EmitSkipped: false EmitSkipped: false FileName : /tests/cases/fourslash/inputFile2.js +"use strict"; var x1 = "hello world"; var Foo = /** @class */ (function () { function Foo() { diff --git a/tests/baselines/reference/getEmitOutputWithDeclarationFile2.baseline b/tests/baselines/reference/getEmitOutputWithDeclarationFile2.baseline index 388b00a459391..a270f059c94af 100644 --- a/tests/baselines/reference/getEmitOutputWithDeclarationFile2.baseline +++ b/tests/baselines/reference/getEmitOutputWithDeclarationFile2.baseline @@ -17,5 +17,6 @@ exports.Foo = Foo; EmitSkipped: false FileName : /tests/cases/fourslash/inputFile3.js +"use strict"; var x = "hello"; diff --git a/tests/baselines/reference/getEmitOutputWithDeclarationFile3.baseline b/tests/baselines/reference/getEmitOutputWithDeclarationFile3.baseline index 03f6d17ba967c..9225a31767722 100644 --- a/tests/baselines/reference/getEmitOutputWithDeclarationFile3.baseline +++ b/tests/baselines/reference/getEmitOutputWithDeclarationFile3.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : declSingle.js +"use strict"; var x = "hello"; var x1 = 1000; diff --git a/tests/baselines/reference/getEmitOutputWithEarlySyntacticErrors.baseline b/tests/baselines/reference/getEmitOutputWithEarlySyntacticErrors.baseline index 70fb57556271d..371cc45637c46 100644 --- a/tests/baselines/reference/getEmitOutputWithEarlySyntacticErrors.baseline +++ b/tests/baselines/reference/getEmitOutputWithEarlySyntacticErrors.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js +"use strict"; // File contains early errors. All outputs should be skipped. var uninitialized_const_error; diff --git a/tests/baselines/reference/getEmitOutputWithEmitterErrors.baseline b/tests/baselines/reference/getEmitOutputWithEmitterErrors.baseline index 2328e3b7e1aab..1262147851151 100644 --- a/tests/baselines/reference/getEmitOutputWithEmitterErrors.baseline +++ b/tests/baselines/reference/getEmitOutputWithEmitterErrors.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile.js +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/getEmitOutputWithSemanticErrors.baseline b/tests/baselines/reference/getEmitOutputWithSemanticErrors.baseline index 93fdc50af7ea4..bfa284c240123 100644 --- a/tests/baselines/reference/getEmitOutputWithSemanticErrors.baseline +++ b/tests/baselines/reference/getEmitOutputWithSemanticErrors.baseline @@ -2,5 +2,6 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile.js +"use strict"; var x = "hello world"; diff --git a/tests/baselines/reference/getEmitOutputWithSemanticErrors2.baseline b/tests/baselines/reference/getEmitOutputWithSemanticErrors2.baseline index a9e562a138ac1..3afea05a7bd52 100644 --- a/tests/baselines/reference/getEmitOutputWithSemanticErrors2.baseline +++ b/tests/baselines/reference/getEmitOutputWithSemanticErrors2.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile.js +"use strict"; var x = "hello world"; FileName : /tests/cases/fourslash/inputFile.d.ts diff --git a/tests/baselines/reference/getEmitOutputWithSemanticErrorsForMultipleFiles.baseline b/tests/baselines/reference/getEmitOutputWithSemanticErrorsForMultipleFiles.baseline index 0161f687cfcd7..f2ed2bb845ddd 100644 --- a/tests/baselines/reference/getEmitOutputWithSemanticErrorsForMultipleFiles.baseline +++ b/tests/baselines/reference/getEmitOutputWithSemanticErrorsForMultipleFiles.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js +"use strict"; // File to emit, does not contain semantic errors // expected to be emitted correctelly regardless of the semantic errors in the other file var noErrors = true; diff --git a/tests/baselines/reference/getEmitOutputWithSemanticErrorsForMultipleFiles2.baseline b/tests/baselines/reference/getEmitOutputWithSemanticErrorsForMultipleFiles2.baseline index d151c68daedc3..4c773a9b4db08 100644 --- a/tests/baselines/reference/getEmitOutputWithSemanticErrorsForMultipleFiles2.baseline +++ b/tests/baselines/reference/getEmitOutputWithSemanticErrorsForMultipleFiles2.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : out.js +"use strict"; // File to emit, does not contain semantic errors, but --out is passed // expected to not generate declarations because of the semantic errors in the other file var noErrors = true; diff --git a/tests/baselines/reference/getEmitOutputWithSyntacticErrorsForMultipleFiles.baseline b/tests/baselines/reference/getEmitOutputWithSyntacticErrorsForMultipleFiles.baseline index 061ded577c26c..4be8e81bc5daa 100644 --- a/tests/baselines/reference/getEmitOutputWithSyntacticErrorsForMultipleFiles.baseline +++ b/tests/baselines/reference/getEmitOutputWithSyntacticErrorsForMultipleFiles.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile1.js +"use strict"; // File to emit, does not contain syntactic errors // expected to be emitted correctelly regardless of the syntactic errors in the other file var noErrors = true; diff --git a/tests/baselines/reference/getEmitOutputWithSyntacticErrorsForMultipleFiles2.baseline b/tests/baselines/reference/getEmitOutputWithSyntacticErrorsForMultipleFiles2.baseline index 9ba713b1fdfeb..3014b05905789 100644 --- a/tests/baselines/reference/getEmitOutputWithSyntacticErrorsForMultipleFiles2.baseline +++ b/tests/baselines/reference/getEmitOutputWithSyntacticErrorsForMultipleFiles2.baseline @@ -2,6 +2,7 @@ EmitSkipped: false FileName : out.js +"use strict"; // File to emit, does not contain syntactic errors, but --out is passed // expected to not generate outputs because of the syntactic errors in the other file. var noErrors = true; diff --git a/tests/baselines/reference/getEmitOutputWithSyntaxErrors.baseline b/tests/baselines/reference/getEmitOutputWithSyntaxErrors.baseline index eec8ef779d83d..edff01367f088 100644 --- a/tests/baselines/reference/getEmitOutputWithSyntaxErrors.baseline +++ b/tests/baselines/reference/getEmitOutputWithSyntaxErrors.baseline @@ -2,5 +2,6 @@ EmitSkipped: false FileName : /tests/cases/fourslash/inputFile.js +"use strict"; var x; diff --git a/tests/baselines/reference/getSetAccessorContextualTyping.js b/tests/baselines/reference/getSetAccessorContextualTyping.js index d66fe850f83dc..aa51e55918ab7 100644 --- a/tests/baselines/reference/getSetAccessorContextualTyping.js +++ b/tests/baselines/reference/getSetAccessorContextualTyping.js @@ -28,6 +28,7 @@ class C { } //// [getSetAccessorContextualTyping.js] +"use strict"; // In the body of a get accessor with no return type annotation, // if a matching set accessor exists and that set accessor has a parameter type annotation, // return expressions are contextually typed by the type given in the set accessor's parameter type annotation. diff --git a/tests/baselines/reference/getSetEnumerable.js b/tests/baselines/reference/getSetEnumerable.js index 97f157fc294e0..064b4745bc8f1 100644 --- a/tests/baselines/reference/getSetEnumerable.js +++ b/tests/baselines/reference/getSetEnumerable.js @@ -29,6 +29,7 @@ const GetSetEnumerableObjectGetSet = { //// [getSetEnumerable.js] +"use strict"; var GetSetEnumerableClassGet = /** @class */ (function () { function GetSetEnumerableClassGet() { } diff --git a/tests/baselines/reference/getsetReturnTypes.js b/tests/baselines/reference/getsetReturnTypes.js index d3d46cba25117..b0560dfc49a8e 100644 --- a/tests/baselines/reference/getsetReturnTypes.js +++ b/tests/baselines/reference/getsetReturnTypes.js @@ -10,6 +10,7 @@ var x = makePoint(2).x; var y: number = makePoint(2).x; //// [getsetReturnTypes.js] +"use strict"; function makePoint(x) { return { get x() { return x; } diff --git a/tests/baselines/reference/getterControlFlowStrictNull.js b/tests/baselines/reference/getterControlFlowStrictNull.js index 2273678113ea6..ee0c93978d686 100644 --- a/tests/baselines/reference/getterControlFlowStrictNull.js +++ b/tests/baselines/reference/getterControlFlowStrictNull.js @@ -33,6 +33,7 @@ class C { } //// [getterControlFlowStrictNull.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/getterErrorMessageNotDuplicated.js b/tests/baselines/reference/getterErrorMessageNotDuplicated.js index 33ef55469a90b..6e05fb27f5b76 100644 --- a/tests/baselines/reference/getterErrorMessageNotDuplicated.js +++ b/tests/baselines/reference/getterErrorMessageNotDuplicated.js @@ -16,3 +16,4 @@ interface Bar extends Foo { } //// [getterErrorMessageNotDuplicated.js] +"use strict"; diff --git a/tests/baselines/reference/getterMissingReturnError.js b/tests/baselines/reference/getterMissingReturnError.js index 54c049419808c..6b0bacefc4a69 100644 --- a/tests/baselines/reference/getterMissingReturnError.js +++ b/tests/baselines/reference/getterMissingReturnError.js @@ -9,6 +9,7 @@ class test { //// [getterMissingReturnError.js] +"use strict"; var test = /** @class */ (function () { function test() { } diff --git a/tests/baselines/reference/getterSetterNonAccessor.js b/tests/baselines/reference/getterSetterNonAccessor.js index 973b3ba50fb0a..53a0478f0edb9 100644 --- a/tests/baselines/reference/getterSetterNonAccessor.js +++ b/tests/baselines/reference/getterSetterNonAccessor.js @@ -12,6 +12,7 @@ Object.defineProperty({}, "0", ({ //// [getterSetterNonAccessor.js] +"use strict"; function getFunc() { return 0; } function setFunc(v) { } Object.defineProperty({}, "0", ({ diff --git a/tests/baselines/reference/getterSetterSubtypeAssignment.js b/tests/baselines/reference/getterSetterSubtypeAssignment.js index 9be0bc0d42c9d..6a6bfade3c9f2 100644 --- a/tests/baselines/reference/getterSetterSubtypeAssignment.js +++ b/tests/baselines/reference/getterSetterSubtypeAssignment.js @@ -88,6 +88,7 @@ numberOrObject.x *= 1; numberOrObject.x /= 1; //// [getterSetterSubtypeAssignment.js] +"use strict"; class NumberOrUndefined { get x() { var _a; return (_a = this._x) !== null && _a !== void 0 ? _a : 0; } set x(value) { this._x = value; } diff --git a/tests/baselines/reference/getterThatThrowsShouldNotNeedReturn.js b/tests/baselines/reference/getterThatThrowsShouldNotNeedReturn.js index 7a54d6b27bf82..6d24a1480ca52 100644 --- a/tests/baselines/reference/getterThatThrowsShouldNotNeedReturn.js +++ b/tests/baselines/reference/getterThatThrowsShouldNotNeedReturn.js @@ -12,6 +12,7 @@ class Greeter { //// [getterThatThrowsShouldNotNeedReturn.js] +"use strict"; var Greeter = /** @class */ (function () { function Greeter() { } diff --git a/tests/baselines/reference/gettersAndSetters.js b/tests/baselines/reference/gettersAndSetters.js index 74157c4c935b2..52c0ba13a712a 100644 --- a/tests/baselines/reference/gettersAndSetters.js +++ b/tests/baselines/reference/gettersAndSetters.js @@ -53,6 +53,7 @@ if (typeof x === "string") { //// [gettersAndSetters.js] +"use strict"; // classes class C { constructor() { diff --git a/tests/baselines/reference/gettersAndSettersAccessibility.js b/tests/baselines/reference/gettersAndSettersAccessibility.js index ce8681edd8122..5349e92ef5d9d 100644 --- a/tests/baselines/reference/gettersAndSettersAccessibility.js +++ b/tests/baselines/reference/gettersAndSettersAccessibility.js @@ -8,6 +8,7 @@ class C99 { //// [gettersAndSettersAccessibility.js] +"use strict"; var C99 = /** @class */ (function () { function C99() { } diff --git a/tests/baselines/reference/gettersAndSettersErrors.js b/tests/baselines/reference/gettersAndSettersErrors.js index a222081c8bcd4..63e5a38a7adc5 100644 --- a/tests/baselines/reference/gettersAndSettersErrors.js +++ b/tests/baselines/reference/gettersAndSettersErrors.js @@ -19,6 +19,7 @@ class E { //// [gettersAndSettersErrors.js] +"use strict"; var C = /** @class */ (function () { function C() { this.Foo = 0; // error - duplicate identifier Foo - confirmed diff --git a/tests/baselines/reference/gettersAndSettersTypesAgree.js b/tests/baselines/reference/gettersAndSettersTypesAgree.js index 0dbed3f97e430..4a251c3b024cc 100644 --- a/tests/baselines/reference/gettersAndSettersTypesAgree.js +++ b/tests/baselines/reference/gettersAndSettersTypesAgree.js @@ -13,6 +13,7 @@ var o1 = {get Foo(){return 0;}, set Foo(val){}}; // ok - types agree (inference) var o2 = {get Foo(){return 0;}, set Foo(val:number){}}; // ok - types agree //// [gettersAndSettersTypesAgree.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/global.js b/tests/baselines/reference/global.js index ce7dded330e85..417b0319de145 100644 --- a/tests/baselines/reference/global.js +++ b/tests/baselines/reference/global.js @@ -13,6 +13,7 @@ M.f(3); //// [global.js] +"use strict"; var M; (function (M) { function f(y) { diff --git a/tests/baselines/reference/globalIsContextualKeyword.js b/tests/baselines/reference/globalIsContextualKeyword.js index 5efc26f22c693..b765f6d1d08a1 100644 --- a/tests/baselines/reference/globalIsContextualKeyword.js +++ b/tests/baselines/reference/globalIsContextualKeyword.js @@ -19,6 +19,7 @@ let obj = { } //// [globalIsContextualKeyword.js] +"use strict"; function a() { var global = 1; } diff --git a/tests/baselines/reference/globalThis.js b/tests/baselines/reference/globalThis.js index 10dcc231c915a..a3c496a29c283 100644 --- a/tests/baselines/reference/globalThis.js +++ b/tests/baselines/reference/globalThis.js @@ -4,4 +4,5 @@ var __e = Math.E; // should not generate 'this.Math.E' //// [globalThis.js] +"use strict"; var __e = Math.E; // should not generate 'this.Math.E' diff --git a/tests/baselines/reference/globalThisAmbientModules.js b/tests/baselines/reference/globalThisAmbientModules.js index ec6b759509ee7..35db18aa76b2d 100644 --- a/tests/baselines/reference/globalThisAmbientModules.js +++ b/tests/baselines/reference/globalThisAmbientModules.js @@ -15,6 +15,7 @@ const bad1: (typeof globalThis)["\"ambientModule\""] = 'ambientModule' //// [globalThisAmbientModules.js] +"use strict"; var valueModule; (function (valueModule) { valueModule.val = 1; diff --git a/tests/baselines/reference/globalThisBlockscopedProperties.js b/tests/baselines/reference/globalThisBlockscopedProperties.js index 70f0dd318219f..dbe6f17304b72 100644 --- a/tests/baselines/reference/globalThisBlockscopedProperties.js +++ b/tests/baselines/reference/globalThisBlockscopedProperties.js @@ -20,6 +20,7 @@ declare let themAll: keyof typeof globalThis //// [globalThisBlockscopedProperties.js] +"use strict"; var x = 1; var y = 2; var z = 3; diff --git a/tests/baselines/reference/globalThisCapture.js b/tests/baselines/reference/globalThisCapture.js index 03498eac77334..22eab8e0a2e44 100644 --- a/tests/baselines/reference/globalThisCapture.js +++ b/tests/baselines/reference/globalThisCapture.js @@ -11,6 +11,7 @@ parts[0]; //// [globalThisCapture.js] +"use strict"; var _this = this; // Add a lambda to ensure global 'this' capture is triggered (function () { return _this.window; }); diff --git a/tests/baselines/reference/globalThisGlobalExportAsGlobal.js b/tests/baselines/reference/globalThisGlobalExportAsGlobal.js index 27c65976e959a..0f3c0384c4887 100644 --- a/tests/baselines/reference/globalThisGlobalExportAsGlobal.js +++ b/tests/baselines/reference/globalThisGlobalExportAsGlobal.js @@ -8,3 +8,4 @@ declare global { //// [globalThisGlobalExportAsGlobal.js] +"use strict"; diff --git a/tests/baselines/reference/globalThisReadonlyProperties.js b/tests/baselines/reference/globalThisReadonlyProperties.js index d64dda3a66774..213f4cf92a243 100644 --- a/tests/baselines/reference/globalThisReadonlyProperties.js +++ b/tests/baselines/reference/globalThisReadonlyProperties.js @@ -9,6 +9,7 @@ globalThis.y = 4 // should error //// [globalThisReadonlyProperties.js] +"use strict"; globalThis.globalThis = 1; // should error var x = 1; var y = 2; diff --git a/tests/baselines/reference/globalThisTypeIndexAccess.js b/tests/baselines/reference/globalThisTypeIndexAccess.js index 201ebaf3b73d8..a47d88263e85f 100644 --- a/tests/baselines/reference/globalThisTypeIndexAccess.js +++ b/tests/baselines/reference/globalThisTypeIndexAccess.js @@ -5,3 +5,4 @@ declare const w_e: (typeof globalThis)["globalThis"] //// [globalThisTypeIndexAccess.js] +"use strict"; diff --git a/tests/baselines/reference/globalThisUnknown.js b/tests/baselines/reference/globalThisUnknown.js index c313ab5e9179d..b63ba0463ac25 100644 --- a/tests/baselines/reference/globalThisUnknown.js +++ b/tests/baselines/reference/globalThisUnknown.js @@ -17,6 +17,7 @@ globalThis['hi'] //// [globalThisUnknown.js] +"use strict"; // this access should be an error win.hi; // these two should be fine, with type any diff --git a/tests/baselines/reference/globalThisUnknownNoImplicitAny.js b/tests/baselines/reference/globalThisUnknownNoImplicitAny.js index 6727c16824dc3..d138d3f59ed63 100644 --- a/tests/baselines/reference/globalThisUnknownNoImplicitAny.js +++ b/tests/baselines/reference/globalThisUnknownNoImplicitAny.js @@ -14,6 +14,7 @@ globalThis['hi'] //// [globalThisUnknownNoImplicitAny.js] +"use strict"; // all accesses should be errors win.hi; this.hi; diff --git a/tests/baselines/reference/globalThisVarDeclaration.js b/tests/baselines/reference/globalThisVarDeclaration.js index 2ae75af703ebc..22c66dcf8064e 100644 --- a/tests/baselines/reference/globalThisVarDeclaration.js +++ b/tests/baselines/reference/globalThisVarDeclaration.js @@ -33,6 +33,7 @@ top.b; //// [output.js] +"use strict"; var a = 10; this.a; this.b; diff --git a/tests/baselines/reference/grammarAmbiguities.js b/tests/baselines/reference/grammarAmbiguities.js index da67711c5364b..f74d7fa829bec 100644 --- a/tests/baselines/reference/grammarAmbiguities.js +++ b/tests/baselines/reference/grammarAmbiguities.js @@ -14,6 +14,7 @@ f(g < A, B > +(7)); // Should error //// [grammarAmbiguities.js] +"use strict"; function f(n) { return null; } function g(x) { return null; } var A, B; diff --git a/tests/baselines/reference/grammarAmbiguities1.js b/tests/baselines/reference/grammarAmbiguities1.js index 953f2e27b4154..4ea544198201a 100644 --- a/tests/baselines/reference/grammarAmbiguities1.js +++ b/tests/baselines/reference/grammarAmbiguities1.js @@ -13,6 +13,7 @@ f(g < A, B > +(7)); //// [grammarAmbiguities1.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/grammarErrors.js b/tests/baselines/reference/grammarErrors.js index 6b08a23adae65..f6046cec3043b 100644 --- a/tests/baselines/reference/grammarErrors.js +++ b/tests/baselines/reference/grammarErrors.js @@ -23,6 +23,7 @@ import type Foo = ns.Foo; "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [c.js] +"use strict"; var ns; (function (ns) { var Foo = /** @class */ (function () { diff --git a/tests/baselines/reference/heterogeneousArrayAndOverloads.js b/tests/baselines/reference/heterogeneousArrayAndOverloads.js index f563d4dd02b17..e00ca52391c53 100644 --- a/tests/baselines/reference/heterogeneousArrayAndOverloads.js +++ b/tests/baselines/reference/heterogeneousArrayAndOverloads.js @@ -14,6 +14,7 @@ class arrTest { } //// [heterogeneousArrayAndOverloads.js] +"use strict"; var arrTest = /** @class */ (function () { function arrTest() { } diff --git a/tests/baselines/reference/heterogeneousArrayLiterals.js b/tests/baselines/reference/heterogeneousArrayLiterals.js index bb96e96961bb4..71ae91c39ede7 100644 --- a/tests/baselines/reference/heterogeneousArrayLiterals.js +++ b/tests/baselines/reference/heterogeneousArrayLiterals.js @@ -134,6 +134,7 @@ function foo4(t: T, u: U) { //} //// [heterogeneousArrayLiterals.js] +"use strict"; // type of an array is the best common type of its elements (plus its contextual type if it exists) var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/hidingCallSignatures.js b/tests/baselines/reference/hidingCallSignatures.js index 4f6eb4cd820c4..f13f1b458a1c1 100644 --- a/tests/baselines/reference/hidingCallSignatures.js +++ b/tests/baselines/reference/hidingCallSignatures.js @@ -28,6 +28,7 @@ var e: E; e(""); // {} //// [hidingCallSignatures.js] +"use strict"; var d; d(""); // number new d(""); // should be string diff --git a/tests/baselines/reference/hidingConstructSignatures.js b/tests/baselines/reference/hidingConstructSignatures.js index f28e93948c6de..538d0c258f950 100644 --- a/tests/baselines/reference/hidingConstructSignatures.js +++ b/tests/baselines/reference/hidingConstructSignatures.js @@ -28,6 +28,7 @@ var e: E; new e(""); // {} //// [hidingConstructSignatures.js] +"use strict"; var d; d(""); // string new d(""); // should be number diff --git a/tests/baselines/reference/hidingIndexSignatures.js b/tests/baselines/reference/hidingIndexSignatures.js index 8933c19d5db12..6e73b14fdedf6 100644 --- a/tests/baselines/reference/hidingIndexSignatures.js +++ b/tests/baselines/reference/hidingIndexSignatures.js @@ -15,6 +15,7 @@ var a: A; a[""]; // Should be {} //// [hidingIndexSignatures.js] +"use strict"; var b; b[""]; // Should be number var a; diff --git a/tests/baselines/reference/higherOrderMappedIndexLookupInference.js b/tests/baselines/reference/higherOrderMappedIndexLookupInference.js index 2bfd85057f341..393ee34c0c686 100644 --- a/tests/baselines/reference/higherOrderMappedIndexLookupInference.js +++ b/tests/baselines/reference/higherOrderMappedIndexLookupInference.js @@ -29,6 +29,7 @@ const h: typeof g = f; //// [higherOrderMappedIndexLookupInference.js] +"use strict"; // @strict function f1(a, b) { a = b; diff --git a/tests/baselines/reference/i3.js b/tests/baselines/reference/i3.js index 10165c82a992c..46c9b0d5072f5 100644 --- a/tests/baselines/reference/i3.js +++ b/tests/baselines/reference/i3.js @@ -9,6 +9,7 @@ i = x; x = i; //// [i3.js] +"use strict"; ; i = x; x = i; diff --git a/tests/baselines/reference/icomparable.js b/tests/baselines/reference/icomparable.js index 1ef199ecc8e8f..54052e986d0ce 100644 --- a/tests/baselines/reference/icomparable.js +++ b/tests/baselines/reference/icomparable.js @@ -15,5 +15,6 @@ var x = sort(sc); //// [icomparable.js] +"use strict"; var sc; var x = sort(sc); diff --git a/tests/baselines/reference/idInProp.js b/tests/baselines/reference/idInProp.js index c42e0cea4b481..02f30abeeb504 100644 --- a/tests/baselines/reference/idInProp.js +++ b/tests/baselines/reference/idInProp.js @@ -9,6 +9,7 @@ var t: { (f: any) : any; }; //// [idInProp.js] +"use strict"; function f() { var t; } diff --git a/tests/baselines/reference/identicalCallSignatures.js b/tests/baselines/reference/identicalCallSignatures.js index 8e4fa15e762c7..d373dcd57d590 100644 --- a/tests/baselines/reference/identicalCallSignatures.js +++ b/tests/baselines/reference/identicalCallSignatures.js @@ -23,4 +23,5 @@ var a: { } //// [identicalCallSignatures.js] +"use strict"; var a; diff --git a/tests/baselines/reference/identicalCallSignatures2.js b/tests/baselines/reference/identicalCallSignatures2.js index a09765980d496..e5e4d71570aaf 100644 --- a/tests/baselines/reference/identicalCallSignatures2.js +++ b/tests/baselines/reference/identicalCallSignatures2.js @@ -13,5 +13,6 @@ interface I extends Base, Base { } interface I2 extends Base, Base { } //// [identicalCallSignatures2.js] +"use strict"; // Normally it is an error to have multiple overloads with identical signatures in a single type declaration. // Here the multiple overloads come from multiple bases. diff --git a/tests/baselines/reference/identicalCallSignatures3.js b/tests/baselines/reference/identicalCallSignatures3.js index 5d11ad0d23c90..5b1e5c2b2a3cb 100644 --- a/tests/baselines/reference/identicalCallSignatures3.js +++ b/tests/baselines/reference/identicalCallSignatures3.js @@ -21,5 +21,6 @@ interface I2 { } //// [identicalCallSignatures3.js] +"use strict"; // Normally it is an error to have multiple overloads with identical signatures in a single type declaration. // Here the multiple overloads come from multiple merged declarations, so we do not report errors. diff --git a/tests/baselines/reference/identicalTypesNoDifferByCheckOrder.js b/tests/baselines/reference/identicalTypesNoDifferByCheckOrder.js index dbec4ee7a6866..96b4bb66a3fef 100644 --- a/tests/baselines/reference/identicalTypesNoDifferByCheckOrder.js +++ b/tests/baselines/reference/identicalTypesNoDifferByCheckOrder.js @@ -39,6 +39,7 @@ const comp2: FunctionComponent1 = null as any; needsComponentOfSomeProps2({ renderAs: comp2 }); //// [identicalTypesNoDifferByCheckOrder.js] +"use strict"; function needsComponentOfSomeProps3() { var x = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/identifierStartAfterNumericLiteral.js b/tests/baselines/reference/identifierStartAfterNumericLiteral.js index 361359ec07d82..3712dec471054 100644 --- a/tests/baselines/reference/identifierStartAfterNumericLiteral.js +++ b/tests/baselines/reference/identifierStartAfterNumericLiteral.js @@ -30,6 +30,7 @@ let valueIn = 3in[null]; //// [identifierStartAfterNumericLiteral.js] +"use strict"; var valueIn = 3 in [null]; 3; a[null]; diff --git a/tests/baselines/reference/identityForSignaturesWithTypeParametersAndAny.js b/tests/baselines/reference/identityForSignaturesWithTypeParametersAndAny.js index f18ffa7e9412c..86320c6e2f007 100644 --- a/tests/baselines/reference/identityForSignaturesWithTypeParametersAndAny.js +++ b/tests/baselines/reference/identityForSignaturesWithTypeParametersAndAny.js @@ -17,6 +17,7 @@ var j: (x: T, y: U) => T; var j: (x: any, y: any) => string; //// [identityForSignaturesWithTypeParametersAndAny.js] +"use strict"; var f; var f; var g; diff --git a/tests/baselines/reference/identityForSignaturesWithTypeParametersSwitched.js b/tests/baselines/reference/identityForSignaturesWithTypeParametersSwitched.js index ccc69263b61cf..07a6f3570844d 100644 --- a/tests/baselines/reference/identityForSignaturesWithTypeParametersSwitched.js +++ b/tests/baselines/reference/identityForSignaturesWithTypeParametersSwitched.js @@ -5,5 +5,6 @@ var f: (x: T, y: U) => T; var f: (x: U, y: T) => U; //// [identityForSignaturesWithTypeParametersSwitched.js] +"use strict"; var f; var f; diff --git a/tests/baselines/reference/ifDoWhileStatements.js b/tests/baselines/reference/ifDoWhileStatements.js index f12feeea5b1ce..bcb049760e086 100644 --- a/tests/baselines/reference/ifDoWhileStatements.js +++ b/tests/baselines/reference/ifDoWhileStatements.js @@ -165,6 +165,7 @@ do { }while(fn) //// [ifDoWhileStatements.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/ifElseWithStatements1.js b/tests/baselines/reference/ifElseWithStatements1.js index 302e855fc009a..8498e6c10d78a 100644 --- a/tests/baselines/reference/ifElseWithStatements1.js +++ b/tests/baselines/reference/ifElseWithStatements1.js @@ -15,6 +15,7 @@ function foo(): boolean { //// [ifElseWithStatements1.js] +"use strict"; if (true) f(); else diff --git a/tests/baselines/reference/ifStatementInternalComments.js b/tests/baselines/reference/ifStatementInternalComments.js index 0d21736716dec..014dd58570bff 100644 --- a/tests/baselines/reference/ifStatementInternalComments.js +++ b/tests/baselines/reference/ifStatementInternalComments.js @@ -7,6 +7,7 @@ //// [ifStatementInternalComments.js] +"use strict"; /*1*/ if /*2*/ ( /*3*/true /*4*/) /*5*/ { } /*1*/ if /*2*/ ( /*3*/true /*4*/) /*5*/ { } /*6*/ else /*7*/ { } diff --git a/tests/baselines/reference/illegalGenericWrapping1.js b/tests/baselines/reference/illegalGenericWrapping1.js index 3c3049a366795..0f0ca9048bfbb 100644 --- a/tests/baselines/reference/illegalGenericWrapping1.js +++ b/tests/baselines/reference/illegalGenericWrapping1.js @@ -10,3 +10,4 @@ interface Sequence { //// [illegalGenericWrapping1.js] +"use strict"; diff --git a/tests/baselines/reference/illegalModifiersOnClassElements.js b/tests/baselines/reference/illegalModifiersOnClassElements.js index 495065ea7402b..d09e49cfdbe16 100644 --- a/tests/baselines/reference/illegalModifiersOnClassElements.js +++ b/tests/baselines/reference/illegalModifiersOnClassElements.js @@ -7,6 +7,7 @@ class C { } //// [illegalModifiersOnClassElements.js] +"use strict"; var C = /** @class */ (function () { function C() { this.bar = 1; diff --git a/tests/baselines/reference/illegalSuperCallsInConstructor.js b/tests/baselines/reference/illegalSuperCallsInConstructor.js index 58e7072f1e71f..192a839a5e1c0 100644 --- a/tests/baselines/reference/illegalSuperCallsInConstructor.js +++ b/tests/baselines/reference/illegalSuperCallsInConstructor.js @@ -23,6 +23,7 @@ class Derived extends Base { } //// [illegalSuperCallsInConstructor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/implementArrayInterface.js b/tests/baselines/reference/implementArrayInterface.js index 5c44cb4a6d849..af52c0ac53f1e 100644 --- a/tests/baselines/reference/implementArrayInterface.js +++ b/tests/baselines/reference/implementArrayInterface.js @@ -36,3 +36,4 @@ declare class MyArray implements Array { //// [implementArrayInterface.js] +"use strict"; diff --git a/tests/baselines/reference/implementClausePrecedingExtends.js b/tests/baselines/reference/implementClausePrecedingExtends.js index e871c7da56dea..0975f9c339851 100644 --- a/tests/baselines/reference/implementClausePrecedingExtends.js +++ b/tests/baselines/reference/implementClausePrecedingExtends.js @@ -5,6 +5,7 @@ class C { foo: number } class D implements C extends C { } //// [implementClausePrecedingExtends.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/implementGenericWithMismatchedTypes.js b/tests/baselines/reference/implementGenericWithMismatchedTypes.js index 47fdc3d0315f9..265b0f15ea68f 100644 --- a/tests/baselines/reference/implementGenericWithMismatchedTypes.js +++ b/tests/baselines/reference/implementGenericWithMismatchedTypes.js @@ -23,6 +23,7 @@ class C2 implements IFoo2 { // error } //// [implementGenericWithMismatchedTypes.js] +"use strict"; // no errors because in the derived types the best common type for T's value is Object // and that matches the original signature for assignability since we treat its T's as Object var C = /** @class */ (function () { diff --git a/tests/baselines/reference/implementInterfaceAnyMemberWithVoid.js b/tests/baselines/reference/implementInterfaceAnyMemberWithVoid.js index 580baed8ca7d3..f5b5265e59b8e 100644 --- a/tests/baselines/reference/implementInterfaceAnyMemberWithVoid.js +++ b/tests/baselines/reference/implementInterfaceAnyMemberWithVoid.js @@ -12,6 +12,7 @@ class Bug implements I { //// [implementInterfaceAnyMemberWithVoid.js] +"use strict"; var Bug = /** @class */ (function () { function Bug() { } diff --git a/tests/baselines/reference/implementPublicPropertyAsPrivate.js b/tests/baselines/reference/implementPublicPropertyAsPrivate.js index deaf1e6dbee9a..93346525111ea 100644 --- a/tests/baselines/reference/implementPublicPropertyAsPrivate.js +++ b/tests/baselines/reference/implementPublicPropertyAsPrivate.js @@ -9,6 +9,7 @@ class C implements I { } //// [implementPublicPropertyAsPrivate.js] +"use strict"; var C = /** @class */ (function () { function C() { this.x = 0; // should raise error at class decl diff --git a/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates.js b/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates.js index 4913517fbcd9f..c0e51a9033c71 100644 --- a/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates.js +++ b/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates.js @@ -27,6 +27,7 @@ class Bar4 implements I { // error } //// [implementingAnInterfaceExtendingClassWithPrivates.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates2.js b/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates2.js index 53752d5942912..4068ed4366b60 100644 --- a/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates2.js +++ b/tests/baselines/reference/implementingAnInterfaceExtendingClassWithPrivates2.js @@ -88,6 +88,7 @@ namespace M2 { } //// [implementingAnInterfaceExtendingClassWithPrivates2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/implementingAnInterfaceExtendingClassWithProtecteds.js b/tests/baselines/reference/implementingAnInterfaceExtendingClassWithProtecteds.js index 16fe16343f885..fe7d0178662b7 100644 --- a/tests/baselines/reference/implementingAnInterfaceExtendingClassWithProtecteds.js +++ b/tests/baselines/reference/implementingAnInterfaceExtendingClassWithProtecteds.js @@ -44,6 +44,7 @@ class Bar8 extends Foo implements I { //// [implementingAnInterfaceExtendingClassWithProtecteds.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/implementsClauseAlreadySeen.js b/tests/baselines/reference/implementsClauseAlreadySeen.js index 95aedd677daf4..46cb125e37f6f 100644 --- a/tests/baselines/reference/implementsClauseAlreadySeen.js +++ b/tests/baselines/reference/implementsClauseAlreadySeen.js @@ -9,6 +9,7 @@ class D implements C implements C { } //// [implementsClauseAlreadySeen.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/implementsInClassExpression.js b/tests/baselines/reference/implementsInClassExpression.js index 49e2a43d93d49..28fa697fef789 100644 --- a/tests/baselines/reference/implementsInClassExpression.js +++ b/tests/baselines/reference/implementsInClassExpression.js @@ -10,6 +10,7 @@ let cls = class implements Foo { } //// [implementsInClassExpression.js] +"use strict"; var cls = /** @class */ (function () { function class_1() { } diff --git a/tests/baselines/reference/implementsIncorrectlyNoAssertion.js b/tests/baselines/reference/implementsIncorrectlyNoAssertion.js index 969dfad29d183..392cb555dca1c 100644 --- a/tests/baselines/reference/implementsIncorrectlyNoAssertion.js +++ b/tests/baselines/reference/implementsIncorrectlyNoAssertion.js @@ -15,6 +15,7 @@ class Baz implements Wrapper { //// [implementsIncorrectlyNoAssertion.js] +"use strict"; var Baz = /** @class */ (function () { function Baz() { } diff --git a/tests/baselines/reference/implicitAnyAmbients.js b/tests/baselines/reference/implicitAnyAmbients.js index 70c34cdcf2e9e..a797101beb2a3 100644 --- a/tests/baselines/reference/implicitAnyAmbients.js +++ b/tests/baselines/reference/implicitAnyAmbients.js @@ -29,3 +29,4 @@ declare namespace m { } //// [implicitAnyAmbients.js] +"use strict"; diff --git a/tests/baselines/reference/implicitAnyAnyReturningFunction.js b/tests/baselines/reference/implicitAnyAnyReturningFunction.js index 65086c2af14dd..8978e39b93b99 100644 --- a/tests/baselines/reference/implicitAnyAnyReturningFunction.js +++ b/tests/baselines/reference/implicitAnyAnyReturningFunction.js @@ -23,6 +23,7 @@ class C { //// [implicitAnyAnyReturningFunction.js] +"use strict"; function A() { return ""; } diff --git a/tests/baselines/reference/implicitAnyCastedValue.js b/tests/baselines/reference/implicitAnyCastedValue.js index d803ca24f94d1..4a4dbaa0f346a 100644 --- a/tests/baselines/reference/implicitAnyCastedValue.js +++ b/tests/baselines/reference/implicitAnyCastedValue.js @@ -81,6 +81,7 @@ var bar3 = 0; var array = [null, undefined]; //// [implicitAnyCastedValue.js] +"use strict"; var x = function () { return 0; // this should not be an error }; diff --git a/tests/baselines/reference/implicitAnyDeclareFunctionExprWithoutFormalType.js b/tests/baselines/reference/implicitAnyDeclareFunctionExprWithoutFormalType.js index ad05c6d96fbda..47bae8ba44c7e 100644 --- a/tests/baselines/reference/implicitAnyDeclareFunctionExprWithoutFormalType.js +++ b/tests/baselines/reference/implicitAnyDeclareFunctionExprWithoutFormalType.js @@ -20,6 +20,7 @@ var lambda10 = function temp1() { return 5; } //// [implicitAnyDeclareFunctionExprWithoutFormalType.js] +"use strict"; // these should be errors for implicit any parameter var lambda = function (l1) { }; // Error at "l1" var lambd2 = function (ll1, ll2) { }; // Error at "ll1" diff --git a/tests/baselines/reference/implicitAnyDeclareFunctionWithoutFormalType.js b/tests/baselines/reference/implicitAnyDeclareFunctionWithoutFormalType.js index 23a74b70e9499..7cab01a666807 100644 --- a/tests/baselines/reference/implicitAnyDeclareFunctionWithoutFormalType.js +++ b/tests/baselines/reference/implicitAnyDeclareFunctionWithoutFormalType.js @@ -14,6 +14,7 @@ function noError2(x: number, y: string) { }; //// [implicitAnyDeclareFunctionWithoutFormalType.js] +"use strict"; // these should be errors function foo(x) { } ; diff --git a/tests/baselines/reference/implicitAnyDeclareFunctionWithoutFormalType2.js b/tests/baselines/reference/implicitAnyDeclareFunctionWithoutFormalType2.js index aeb646f1b3fe5..4266a761ec8a6 100644 --- a/tests/baselines/reference/implicitAnyDeclareFunctionWithoutFormalType2.js +++ b/tests/baselines/reference/implicitAnyDeclareFunctionWithoutFormalType2.js @@ -19,6 +19,7 @@ function fn3() { //// [implicitAnyDeclareFunctionWithoutFormalType2.js] +"use strict"; // generates function fn1(): number; function fn1() { var x; diff --git a/tests/baselines/reference/implicitAnyDeclareMemberWithoutType.js b/tests/baselines/reference/implicitAnyDeclareMemberWithoutType.js index e4bee51176500..52ec5a452b8e4 100644 --- a/tests/baselines/reference/implicitAnyDeclareMemberWithoutType.js +++ b/tests/baselines/reference/implicitAnyDeclareMemberWithoutType.js @@ -12,3 +12,4 @@ interface IFace { //// [implicitAnyDeclareMemberWithoutType.js] +"use strict"; diff --git a/tests/baselines/reference/implicitAnyDeclareMemberWithoutType2.js b/tests/baselines/reference/implicitAnyDeclareMemberWithoutType2.js index c6619b8ad55a9..9b3bff6fdddd8 100644 --- a/tests/baselines/reference/implicitAnyDeclareMemberWithoutType2.js +++ b/tests/baselines/reference/implicitAnyDeclareMemberWithoutType2.js @@ -12,6 +12,7 @@ class C { //// [implicitAnyDeclareMemberWithoutType2.js] +"use strict"; // this should be an error var C = /** @class */ (function () { function C(c1, c2, c3) { diff --git a/tests/baselines/reference/implicitAnyDeclareTypePropertyWithoutType.js b/tests/baselines/reference/implicitAnyDeclareTypePropertyWithoutType.js index e9871ca143fad..1b7a21d5f4d79 100644 --- a/tests/baselines/reference/implicitAnyDeclareTypePropertyWithoutType.js +++ b/tests/baselines/reference/implicitAnyDeclareTypePropertyWithoutType.js @@ -20,6 +20,7 @@ var x5: () => any; //// [implicitAnyDeclareTypePropertyWithoutType.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/implicitAnyDeclareVariablesWithoutTypeAndInit.js b/tests/baselines/reference/implicitAnyDeclareVariablesWithoutTypeAndInit.js index aa193fd8a84b1..fe895558ecf2a 100644 --- a/tests/baselines/reference/implicitAnyDeclareVariablesWithoutTypeAndInit.js +++ b/tests/baselines/reference/implicitAnyDeclareVariablesWithoutTypeAndInit.js @@ -15,6 +15,7 @@ declare var bar2: any; var x1: any; var y1 = new x1; //// [implicitAnyDeclareVariablesWithoutTypeAndInit.js] +"use strict"; // this should be an error var x; // no error, control flow typed var y; // error because captured diff --git a/tests/baselines/reference/implicitAnyFromCircularInference.js b/tests/baselines/reference/implicitAnyFromCircularInference.js index 216457cef4b4f..36db067c63972 100644 --- a/tests/baselines/reference/implicitAnyFromCircularInference.js +++ b/tests/baselines/reference/implicitAnyFromCircularInference.js @@ -51,6 +51,7 @@ class D { //// [implicitAnyFromCircularInference.js] +"use strict"; // Error expected var a; // Error expected on b or c diff --git a/tests/baselines/reference/implicitAnyFunctionInvocationWithAnyArguements.js b/tests/baselines/reference/implicitAnyFunctionInvocationWithAnyArguements.js index 0f8970c1e980b..400d1e6f2e7fa 100644 --- a/tests/baselines/reference/implicitAnyFunctionInvocationWithAnyArguements.js +++ b/tests/baselines/reference/implicitAnyFunctionInvocationWithAnyArguements.js @@ -38,6 +38,7 @@ var newC2 = new C([], null) //// [implicitAnyFunctionInvocationWithAnyArguements.js] +"use strict"; // this should be errors var arg0 = null; // error at "arg0" var anyArray = [null, undefined]; // error at array literal diff --git a/tests/baselines/reference/implicitAnyFunctionOverloadWithImplicitAnyReturnType.js b/tests/baselines/reference/implicitAnyFunctionOverloadWithImplicitAnyReturnType.js index 43b76764811ec..c390dc0fb24d4 100644 --- a/tests/baselines/reference/implicitAnyFunctionOverloadWithImplicitAnyReturnType.js +++ b/tests/baselines/reference/implicitAnyFunctionOverloadWithImplicitAnyReturnType.js @@ -14,3 +14,4 @@ interface IFace1{ //// [implicitAnyFunctionOverloadWithImplicitAnyReturnType.js] +"use strict"; diff --git a/tests/baselines/reference/implicitAnyFunctionReturnNullOrUndefined.js b/tests/baselines/reference/implicitAnyFunctionReturnNullOrUndefined.js index 05acccfa44965..7349e7cf2abb4 100644 --- a/tests/baselines/reference/implicitAnyFunctionReturnNullOrUndefined.js +++ b/tests/baselines/reference/implicitAnyFunctionReturnNullOrUndefined.js @@ -27,6 +27,7 @@ undefinedWidenFunction(); //// [implicitAnyFunctionReturnNullOrUndefined.js] +"use strict"; // this should be an error function nullWidenFunction() { return null; } // error at "nullWidenFunction" function undefinedWidenFunction() { return undefined; } // error at "undefinedWidenFunction" diff --git a/tests/baselines/reference/implicitAnyGenericTypeInference.js b/tests/baselines/reference/implicitAnyGenericTypeInference.js index 951e90552243c..1b4dbdfbea3c0 100644 --- a/tests/baselines/reference/implicitAnyGenericTypeInference.js +++ b/tests/baselines/reference/implicitAnyGenericTypeInference.js @@ -32,6 +32,7 @@ Promise.resolve().catch(e => null); Promise.resolve().then(v => null); //// [implicitAnyGenericTypeInference.js] +"use strict"; var c; c = { compareTo: (x, y) => { return y; } }; var r = c.compareTo(1, ''); diff --git a/tests/baselines/reference/implicitAnyGenerics.js b/tests/baselines/reference/implicitAnyGenerics.js index 42513399b765e..cd0cc2cdd011f 100644 --- a/tests/baselines/reference/implicitAnyGenerics.js +++ b/tests/baselines/reference/implicitAnyGenerics.js @@ -28,6 +28,7 @@ foo(); //// [implicitAnyGenerics.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/implicitAnyGetAndSetAccessorWithAnyReturnType.js b/tests/baselines/reference/implicitAnyGetAndSetAccessorWithAnyReturnType.js index 5a16671e0aceb..ec27a1f060082 100644 --- a/tests/baselines/reference/implicitAnyGetAndSetAccessorWithAnyReturnType.js +++ b/tests/baselines/reference/implicitAnyGetAndSetAccessorWithAnyReturnType.js @@ -26,6 +26,7 @@ class GetterOnly { } //// [implicitAnyGetAndSetAccessorWithAnyReturnType.js] +"use strict"; // these should be errors var GetAndSet = /** @class */ (function () { function GetAndSet() { diff --git a/tests/baselines/reference/implicitAnyInAmbientDeclaration.js b/tests/baselines/reference/implicitAnyInAmbientDeclaration.js index b03e847dd7cc7..4eae5c34f1711 100644 --- a/tests/baselines/reference/implicitAnyInAmbientDeclaration.js +++ b/tests/baselines/reference/implicitAnyInAmbientDeclaration.js @@ -13,6 +13,7 @@ namespace Test { } //// [implicitAnyInAmbientDeclaration.js] +"use strict"; var Test; (function (Test) { })(Test || (Test = {})); diff --git a/tests/baselines/reference/implicitAnyInCatch.js b/tests/baselines/reference/implicitAnyInCatch.js index e68076277738e..25e071e41dce6 100644 --- a/tests/baselines/reference/implicitAnyInCatch.js +++ b/tests/baselines/reference/implicitAnyInCatch.js @@ -17,6 +17,7 @@ class C { //// [implicitAnyInCatch.js] +"use strict"; // this should not be an error try { } catch (error) { diff --git a/tests/baselines/reference/implicitAnyNewExprLackConstructorSignature.js b/tests/baselines/reference/implicitAnyNewExprLackConstructorSignature.js index ade580021e274..672ccc5b227de 100644 --- a/tests/baselines/reference/implicitAnyNewExprLackConstructorSignature.js +++ b/tests/baselines/reference/implicitAnyNewExprLackConstructorSignature.js @@ -5,5 +5,6 @@ function Point() { this.x = 3; } var x: any = new Point(); // error at "new" //// [implicitAnyNewExprLackConstructorSignature.js] +"use strict"; function Point() { this.x = 3; } var x = new Point(); // error at "new" diff --git a/tests/baselines/reference/implicitAnyWidenToAny.js b/tests/baselines/reference/implicitAnyWidenToAny.js index 258e44d3d91b5..bdf9fdacb6ad1 100644 --- a/tests/baselines/reference/implicitAnyWidenToAny.js +++ b/tests/baselines/reference/implicitAnyWidenToAny.js @@ -30,6 +30,7 @@ var obj1 = anyReturnFunc(); //// [implicitAnyWidenToAny.js] +"use strict"; // these should be errors var x = null; // error at "x" var x1 = undefined; // error at "x1" diff --git a/tests/baselines/reference/implicitConstParameters.js b/tests/baselines/reference/implicitConstParameters.js index c14592085405a..fe6ee6b18a83a 100644 --- a/tests/baselines/reference/implicitConstParameters.js +++ b/tests/baselines/reference/implicitConstParameters.js @@ -58,6 +58,7 @@ function f6(x: string | undefined) { } //// [implicitConstParameters.js] +"use strict"; function doSomething(cb) { cb(); } diff --git a/tests/baselines/reference/implicitIndexSignatures.js b/tests/baselines/reference/implicitIndexSignatures.js index 36dbb67bc6237..c63a7eeb3d3c7 100644 --- a/tests/baselines/reference/implicitIndexSignatures.js +++ b/tests/baselines/reference/implicitIndexSignatures.js @@ -61,6 +61,7 @@ function f5() { //// [implicitIndexSignatures.js] +"use strict"; var empty1 = {}; var empty2; var names1 = { a: "foo", b: "bar" }; diff --git a/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js index 0b19d2dc41f55..e4c774d2aea7a 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit1(module=commonjs).js @@ -40,6 +40,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [b.mjs] +"use strict"; export var _ = 0; //// [c.cjs] "use strict"; @@ -52,13 +53,16 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [e.mjs] +"use strict"; export var _ = 0; //// [f.mjs] +"use strict"; export var _ = 0; //// [g.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] +"use strict"; export {}; //// [i.cjs] "use strict"; diff --git a/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js index 4fd6dc70684ae..13958cb89c60a 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit2(module=commonjs).js @@ -43,6 +43,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [b.mjs] +"use strict"; export var _ = 0; //// [c.cjs] "use strict"; @@ -55,13 +56,16 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [e.mjs] +"use strict"; export var _ = 0; //// [f.mjs] +"use strict"; export var _ = 0; //// [g.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] +"use strict"; export {}; //// [i.cjs] "use strict"; diff --git a/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js index 46df34b5ff651..a89530eb3bb4c 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit3(module=commonjs).js @@ -45,6 +45,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [b.mjs] +"use strict"; export var _ = 0; //// [c.cjs] "use strict"; @@ -57,13 +58,16 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [e.mjs] +"use strict"; export var _ = 0; //// [f.mjs] +"use strict"; export var _ = 0; //// [g.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] +"use strict"; export {}; //// [i.cjs] "use strict"; diff --git a/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js b/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js index aa7fab5c345d9..c0a5f849e6972 100644 --- a/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js +++ b/tests/baselines/reference/impliedNodeFormatEmit4(module=commonjs).js @@ -45,6 +45,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [b.mjs] +"use strict"; export var _ = 0; //// [c.cjs] "use strict"; @@ -57,13 +58,16 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports._ = void 0; exports._ = 0; //// [e.mjs] +"use strict"; export var _ = 0; //// [f.mjs] +"use strict"; export var _ = 0; //// [g.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [h.mjs] +"use strict"; export {}; //// [i.cjs] "use strict"; diff --git a/tests/baselines/reference/importAliasFromNamespace.js b/tests/baselines/reference/importAliasFromNamespace.js index f02d002b21c24..18be9c141ea5e 100644 --- a/tests/baselines/reference/importAliasFromNamespace.js +++ b/tests/baselines/reference/importAliasFromNamespace.js @@ -22,6 +22,7 @@ namespace SomeOther.Thing { } //// [internal.js] +"use strict"; var My; (function (My) { var Internal; @@ -31,6 +32,7 @@ var My; })(Internal = My.Internal || (My.Internal = {})); })(My || (My = {})); //// [usage.js] +"use strict"; /// var SomeOther; (function (SomeOther) { diff --git a/tests/baselines/reference/importAliasIdentifiers.js b/tests/baselines/reference/importAliasIdentifiers.js index 52626ba4460bf..87d95714fb422 100644 --- a/tests/baselines/reference/importAliasIdentifiers.js +++ b/tests/baselines/reference/importAliasIdentifiers.js @@ -49,6 +49,7 @@ var p: fundule.Point; var p: { x: number; y: number; }; //// [importAliasIdentifiers.js] +"use strict"; var moduleA; (function (moduleA) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/importAliasWithDottedName.js b/tests/baselines/reference/importAliasWithDottedName.js index 00b0f34eca20a..9f8c7313ceb33 100644 --- a/tests/baselines/reference/importAliasWithDottedName.js +++ b/tests/baselines/reference/importAliasWithDottedName.js @@ -15,6 +15,7 @@ namespace A { } //// [importAliasWithDottedName.js] +"use strict"; var M; (function (M) { M.x = 1; diff --git a/tests/baselines/reference/importAnImport.js b/tests/baselines/reference/importAnImport.js index 176741fc03130..561799c87c54f 100644 --- a/tests/baselines/reference/importAnImport.js +++ b/tests/baselines/reference/importAnImport.js @@ -10,3 +10,4 @@ namespace m0 { } //// [importAnImport.js] +"use strict"; diff --git a/tests/baselines/reference/importAndVariableDeclarationConflict1.js b/tests/baselines/reference/importAndVariableDeclarationConflict1.js index 8a27b173a8c10..cdd5481a306d2 100644 --- a/tests/baselines/reference/importAndVariableDeclarationConflict1.js +++ b/tests/baselines/reference/importAndVariableDeclarationConflict1.js @@ -10,6 +10,7 @@ var x = ''; //// [importAndVariableDeclarationConflict1.js] +"use strict"; var m; (function (m_1) { m_1.m = ''; diff --git a/tests/baselines/reference/importAndVariableDeclarationConflict2.js b/tests/baselines/reference/importAndVariableDeclarationConflict2.js index 2edea93bbbcf3..90c8f27fe4e64 100644 --- a/tests/baselines/reference/importAndVariableDeclarationConflict2.js +++ b/tests/baselines/reference/importAndVariableDeclarationConflict2.js @@ -14,6 +14,7 @@ class C { } //// [importAndVariableDeclarationConflict2.js] +"use strict"; var m; (function (m_1) { m_1.m = ''; diff --git a/tests/baselines/reference/importAndVariableDeclarationConflict3.js b/tests/baselines/reference/importAndVariableDeclarationConflict3.js index 5a610b145f257..7542a518137ba 100644 --- a/tests/baselines/reference/importAndVariableDeclarationConflict3.js +++ b/tests/baselines/reference/importAndVariableDeclarationConflict3.js @@ -10,6 +10,7 @@ import x = m.m; //// [importAndVariableDeclarationConflict3.js] +"use strict"; var m; (function (m_1) { m_1.m = ''; diff --git a/tests/baselines/reference/importAndVariableDeclarationConflict4.js b/tests/baselines/reference/importAndVariableDeclarationConflict4.js index 7be0293b28902..d37b18f86aa10 100644 --- a/tests/baselines/reference/importAndVariableDeclarationConflict4.js +++ b/tests/baselines/reference/importAndVariableDeclarationConflict4.js @@ -10,6 +10,7 @@ import x = m.m; //// [importAndVariableDeclarationConflict4.js] +"use strict"; var m; (function (m_1) { m_1.m = ''; diff --git a/tests/baselines/reference/importAssertion1(module=commonjs).js b/tests/baselines/reference/importAssertion1(module=commonjs).js index a927686c3499c..4a11590ca7e3e 100644 --- a/tests/baselines/reference/importAssertion1(module=commonjs).js +++ b/tests/baselines/reference/importAssertion1(module=commonjs).js @@ -94,6 +94,7 @@ _0_1.b; _0_2.a; _0_2.b; //// [3.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importAssertion1(module=es2015).js b/tests/baselines/reference/importAssertion1(module=es2015).js index 0dcd0888aed9d..b12e02f81ca87 100644 --- a/tests/baselines/reference/importAssertion1(module=es2015).js +++ b/tests/baselines/reference/importAssertion1(module=es2015).js @@ -54,6 +54,7 @@ b; c; d; //// [3.js] +"use strict"; const a = import('./0'); const b = import('./0', { assert: { type: "json" } }); const c = import('./0', { assert: { type: "json", ttype: "typo" } }); diff --git a/tests/baselines/reference/importAssertion1(module=esnext).js b/tests/baselines/reference/importAssertion1(module=esnext).js index 0dcd0888aed9d..b12e02f81ca87 100644 --- a/tests/baselines/reference/importAssertion1(module=esnext).js +++ b/tests/baselines/reference/importAssertion1(module=esnext).js @@ -54,6 +54,7 @@ b; c; d; //// [3.js] +"use strict"; const a = import('./0'); const b = import('./0', { assert: { type: "json" } }); const c = import('./0', { assert: { type: "json", ttype: "typo" } }); diff --git a/tests/baselines/reference/importAttributes1(module=commonjs).js b/tests/baselines/reference/importAttributes1(module=commonjs).js index 3825f530c3e95..948e874b7f684 100644 --- a/tests/baselines/reference/importAttributes1(module=commonjs).js +++ b/tests/baselines/reference/importAttributes1(module=commonjs).js @@ -91,6 +91,7 @@ _0_1.b; _0_2.a; _0_2.b; //// [3.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importAttributes1(module=es2015).js b/tests/baselines/reference/importAttributes1(module=es2015).js index 6a3d38f34e0d4..a255708de517c 100644 --- a/tests/baselines/reference/importAttributes1(module=es2015).js +++ b/tests/baselines/reference/importAttributes1(module=es2015).js @@ -51,6 +51,7 @@ b; c; d; //// [3.js] +"use strict"; const a = import('./0'); const b = import('./0', { with: { type: "json" } }); const c = import('./0', { with: { type: "json", ttype: "typo" } }); diff --git a/tests/baselines/reference/importAttributes1(module=esnext).js b/tests/baselines/reference/importAttributes1(module=esnext).js index 6a3d38f34e0d4..a255708de517c 100644 --- a/tests/baselines/reference/importAttributes1(module=esnext).js +++ b/tests/baselines/reference/importAttributes1(module=esnext).js @@ -51,6 +51,7 @@ b; c; d; //// [3.js] +"use strict"; const a = import('./0'); const b = import('./0', { with: { type: "json" } }); const c = import('./0', { with: { type: "json", ttype: "typo" } }); diff --git a/tests/baselines/reference/importCallExpression2ES2020.js b/tests/baselines/reference/importCallExpression2ES2020.js index 12ca057cf4a8e..ed1875d40aaec 100644 --- a/tests/baselines/reference/importCallExpression2ES2020.js +++ b/tests/baselines/reference/importCallExpression2ES2020.js @@ -21,6 +21,7 @@ export class B { print() { return "I am B"; } } //// [2.js] +"use strict"; function foo(x) { x.then(value => { let b = new value.B(); diff --git a/tests/baselines/reference/importCallExpression3ES2020.js b/tests/baselines/reference/importCallExpression3ES2020.js index 82aac400c74d6..277ad7d7c465d 100644 --- a/tests/baselines/reference/importCallExpression3ES2020.js +++ b/tests/baselines/reference/importCallExpression3ES2020.js @@ -19,6 +19,7 @@ export class B { print() { return "I am B"; } } //// [2.js] +"use strict"; async function foo() { class C extends (await import("./0")).B { } diff --git a/tests/baselines/reference/importCallExpression4ES2020.js b/tests/baselines/reference/importCallExpression4ES2020.js index 842593277598c..a15ae9a33149f 100644 --- a/tests/baselines/reference/importCallExpression4ES2020.js +++ b/tests/baselines/reference/importCallExpression4ES2020.js @@ -35,6 +35,7 @@ export function foo() { return "foo"; } //// [1.js] export function backup() { return "backup"; } //// [2.js] +"use strict"; class C { constructor() { this.myModule = import("./0"); diff --git a/tests/baselines/reference/importCallExpression5ES2020.js b/tests/baselines/reference/importCallExpression5ES2020.js index 40a4578d4d40e..c029ff35f1c75 100644 --- a/tests/baselines/reference/importCallExpression5ES2020.js +++ b/tests/baselines/reference/importCallExpression5ES2020.js @@ -27,6 +27,7 @@ export function foo() { return "foo"; } //// [1.js] export function backup() { return "backup"; } //// [2.js] +"use strict"; const specify = bar() ? "./0" : undefined; let myModule = import(specify); let myModule1 = import(undefined); diff --git a/tests/baselines/reference/importCallExpression6ES2020.js b/tests/baselines/reference/importCallExpression6ES2020.js index 17169c1e722fb..fc6bde2a8e8b1 100644 --- a/tests/baselines/reference/importCallExpression6ES2020.js +++ b/tests/baselines/reference/importCallExpression6ES2020.js @@ -27,6 +27,7 @@ export function foo() { return "foo"; } //// [1.js] export function backup() { return "backup"; } //// [2.js] +"use strict"; const specify = bar() ? "./0" : undefined; let myModule = import(specify); let myModule1 = import(undefined); diff --git a/tests/baselines/reference/importCallExpressionDeclarationEmit1.js b/tests/baselines/reference/importCallExpressionDeclarationEmit1.js index ff4c5a3080921..0749f01e113e1 100644 --- a/tests/baselines/reference/importCallExpressionDeclarationEmit1.js +++ b/tests/baselines/reference/importCallExpressionDeclarationEmit1.js @@ -17,6 +17,7 @@ function returnDynamicLoad(path: string) { } //// [importCallExpressionDeclarationEmit1.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importCallExpressionDeclarationEmit2.js b/tests/baselines/reference/importCallExpressionDeclarationEmit2.js index 12eea213a751c..18a1f21dca746 100644 --- a/tests/baselines/reference/importCallExpressionDeclarationEmit2.js +++ b/tests/baselines/reference/importCallExpressionDeclarationEmit2.js @@ -10,6 +10,7 @@ var p1 = import("./0"); //// [0.js] export function foo() { return "foo"; } //// [1.js] +"use strict"; var p1 = import("./0"); diff --git a/tests/baselines/reference/importCallExpressionErrorInES2015.js b/tests/baselines/reference/importCallExpressionErrorInES2015.js index f07486504eebe..e8e57300fe432 100644 --- a/tests/baselines/reference/importCallExpressionErrorInES2015.js +++ b/tests/baselines/reference/importCallExpressionErrorInES2015.js @@ -17,6 +17,7 @@ function foo() { //// [0.js] export function foo() { return "foo"; } //// [1.js] +"use strict"; import("./0"); var p1 = import("./0"); p1.then(zero => { diff --git a/tests/baselines/reference/importCallExpressionGrammarError.js b/tests/baselines/reference/importCallExpressionGrammarError.js index d05efe316a13f..5baddd532b216 100644 --- a/tests/baselines/reference/importCallExpressionGrammarError.js +++ b/tests/baselines/reference/importCallExpressionGrammarError.js @@ -12,6 +12,7 @@ const p2 = import(); const p4 = import("pathToModule", "secondModule"); //// [importCallExpressionGrammarError.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importCallExpressionInCJS2.js b/tests/baselines/reference/importCallExpressionInCJS2.js index 0c6ab6027f689..e2c7eee58b9c4 100644 --- a/tests/baselines/reference/importCallExpressionInCJS2.js +++ b/tests/baselines/reference/importCallExpressionInCJS2.js @@ -29,6 +29,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.backup = backup; function backup() { return "backup"; } //// [2.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importCallExpressionInCJS3.js b/tests/baselines/reference/importCallExpressionInCJS3.js index ea5abc43eaad2..21dfa85237ac0 100644 --- a/tests/baselines/reference/importCallExpressionInCJS3.js +++ b/tests/baselines/reference/importCallExpressionInCJS3.js @@ -25,6 +25,7 @@ class B { } exports.B = B; //// [2.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importCallExpressionInCJS4.js b/tests/baselines/reference/importCallExpressionInCJS4.js index f5c1f01cf053a..6ebb6a51c3e71 100644 --- a/tests/baselines/reference/importCallExpressionInCJS4.js +++ b/tests/baselines/reference/importCallExpressionInCJS4.js @@ -22,6 +22,7 @@ class B { } exports.B = B; //// [2.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importCallExpressionInScriptContext1.errors.txt b/tests/baselines/reference/importCallExpressionInScriptContext1.errors.txt new file mode 100644 index 0000000000000..1de82f64ddbe3 --- /dev/null +++ b/tests/baselines/reference/importCallExpressionInScriptContext1.errors.txt @@ -0,0 +1,11 @@ +1.ts(2,10): error TS1100: Invalid use of 'arguments' in strict mode. + + +==== 0.ts (0 errors) ==== + export function foo() { return "foo"; } + +==== 1.ts (1 errors) ==== + var p1 = import("./0"); + function arguments() { } // this is allow as the file doesn't have implicit "use strict" + ~~~~~~~~~ +!!! error TS1100: Invalid use of 'arguments' in strict mode. \ No newline at end of file diff --git a/tests/baselines/reference/importCallExpressionInScriptContext1.js b/tests/baselines/reference/importCallExpressionInScriptContext1.js index 4387900106dcd..3d4f288f55c77 100644 --- a/tests/baselines/reference/importCallExpressionInScriptContext1.js +++ b/tests/baselines/reference/importCallExpressionInScriptContext1.js @@ -13,6 +13,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.foo = foo; function foo() { return "foo"; } //// [1.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importCallExpressionInSystem2.js b/tests/baselines/reference/importCallExpressionInSystem2.js index 165b47fdb1a39..b456a67958ec8 100644 --- a/tests/baselines/reference/importCallExpressionInSystem2.js +++ b/tests/baselines/reference/importCallExpressionInSystem2.js @@ -33,6 +33,7 @@ System.register([], function (exports_1, context_1) { }); //// [2.js] System.register([], function (exports_1, context_1) { + "use strict"; var __moduleName = context_1 && context_1.id; // We use Promise for now as there is no way to specify shape of module object function foo(x) { diff --git a/tests/baselines/reference/importCallExpressionInSystem3.js b/tests/baselines/reference/importCallExpressionInSystem3.js index 2bf6d4c028849..701321e0cb9be 100644 --- a/tests/baselines/reference/importCallExpressionInSystem3.js +++ b/tests/baselines/reference/importCallExpressionInSystem3.js @@ -30,6 +30,7 @@ System.register([], function (exports_1, context_1) { }); //// [2.js] System.register([], function (exports_1, context_1) { + "use strict"; var __moduleName = context_1 && context_1.id; async function foo() { class C extends (await context_1.import("./0")).B { diff --git a/tests/baselines/reference/importCallExpressionNestedCJS.js b/tests/baselines/reference/importCallExpressionNestedCJS.js index 39a60f3efe1c5..65708040239db 100644 --- a/tests/baselines/reference/importCallExpressionNestedCJS.js +++ b/tests/baselines/reference/importCallExpressionNestedCJS.js @@ -13,6 +13,7 @@ async function foo() { Object.defineProperty(exports, "__esModule", { value: true }); exports.default = "./foo"; //// [index.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importCallExpressionNestedCJS2.js b/tests/baselines/reference/importCallExpressionNestedCJS2.js index 929d0ff086209..e6597f3467482 100644 --- a/tests/baselines/reference/importCallExpressionNestedCJS2.js +++ b/tests/baselines/reference/importCallExpressionNestedCJS2.js @@ -13,6 +13,7 @@ async function foo() { Object.defineProperty(exports, "__esModule", { value: true }); exports.default = "./foo"; //// [index.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importCallExpressionNestedES2015.js b/tests/baselines/reference/importCallExpressionNestedES2015.js index 8bbb7c7b1f360..a394b4e4b94c8 100644 --- a/tests/baselines/reference/importCallExpressionNestedES2015.js +++ b/tests/baselines/reference/importCallExpressionNestedES2015.js @@ -11,6 +11,7 @@ async function foo() { //// [foo.js] export default "./foo"; //// [index.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/importCallExpressionNestedES20152.js b/tests/baselines/reference/importCallExpressionNestedES20152.js index 07e9f0ced120e..0993ae6f7b17e 100644 --- a/tests/baselines/reference/importCallExpressionNestedES20152.js +++ b/tests/baselines/reference/importCallExpressionNestedES20152.js @@ -11,6 +11,7 @@ async function foo() { //// [foo.js] export default "./foo"; //// [index.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/importCallExpressionNestedES2020.js b/tests/baselines/reference/importCallExpressionNestedES2020.js index 8fdc57118d259..c4853da0eab8e 100644 --- a/tests/baselines/reference/importCallExpressionNestedES2020.js +++ b/tests/baselines/reference/importCallExpressionNestedES2020.js @@ -12,6 +12,7 @@ async function foo() { //// [foo.js] export default "./foo"; //// [index.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/importCallExpressionNestedES20202.js b/tests/baselines/reference/importCallExpressionNestedES20202.js index 999f8ce28e6be..132484ba7ee27 100644 --- a/tests/baselines/reference/importCallExpressionNestedES20202.js +++ b/tests/baselines/reference/importCallExpressionNestedES20202.js @@ -12,6 +12,7 @@ async function foo() { //// [foo.js] export default "./foo"; //// [index.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/importCallExpressionNestedSystem.js b/tests/baselines/reference/importCallExpressionNestedSystem.js index 15a825c8a76f3..1a74411553d09 100644 --- a/tests/baselines/reference/importCallExpressionNestedSystem.js +++ b/tests/baselines/reference/importCallExpressionNestedSystem.js @@ -21,6 +21,7 @@ System.register([], function (exports_1, context_1) { }); //// [index.js] System.register([], function (exports_1, context_1) { + "use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/importCallExpressionNestedSystem2.js b/tests/baselines/reference/importCallExpressionNestedSystem2.js index 1490a4690022d..3ed469c696e07 100644 --- a/tests/baselines/reference/importCallExpressionNestedSystem2.js +++ b/tests/baselines/reference/importCallExpressionNestedSystem2.js @@ -21,6 +21,7 @@ System.register([], function (exports_1, context_1) { }); //// [index.js] System.register([], function (exports_1, context_1) { + "use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.js b/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.js index 4252b45fe218d..7bd76cb869743 100644 --- a/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.js +++ b/tests/baselines/reference/importCallExpressionNoModuleKindSpecified.js @@ -45,6 +45,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.backup = backup; function backup() { return "backup"; } //// [2.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importCallExpressionShouldNotGetParen.js b/tests/baselines/reference/importCallExpressionShouldNotGetParen.js index 2594f900feb4b..d5ee42e40324e 100644 --- a/tests/baselines/reference/importCallExpressionShouldNotGetParen.js +++ b/tests/baselines/reference/importCallExpressionShouldNotGetParen.js @@ -12,6 +12,7 @@ import("./locales/" + localeName + ".js").then(bar => { //// [importCallExpressionShouldNotGetParen.js] +"use strict"; const localeName = "zh-CN"; import(`./locales/${localeName}.js`).then(bar => { let x = bar; diff --git a/tests/baselines/reference/importCallExpressionSpecifierNotStringTypeError.js b/tests/baselines/reference/importCallExpressionSpecifierNotStringTypeError.js index bbf0929466469..7adf196ee77ce 100644 --- a/tests/baselines/reference/importCallExpressionSpecifierNotStringTypeError.js +++ b/tests/baselines/reference/importCallExpressionSpecifierNotStringTypeError.js @@ -16,6 +16,7 @@ var p3 = import(["path1", "path2"]); var p4 = import(()=>"PathToModule"); //// [importCallExpressionSpecifierNotStringTypeError.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/importDeclWithDeclareModifierInAmbientContext.js b/tests/baselines/reference/importDeclWithDeclareModifierInAmbientContext.js index 78e8e8afd9268..a019b961bee56 100644 --- a/tests/baselines/reference/importDeclWithDeclareModifierInAmbientContext.js +++ b/tests/baselines/reference/importDeclWithDeclareModifierInAmbientContext.js @@ -12,3 +12,4 @@ declare module "m" { //// [importDeclWithDeclareModifierInAmbientContext.js] +"use strict"; diff --git a/tests/baselines/reference/importDeclWithExportModifierAndExportAssignmentInAmbientContext.js b/tests/baselines/reference/importDeclWithExportModifierAndExportAssignmentInAmbientContext.js index eb8c785efd79d..e9731cef6e59f 100644 --- a/tests/baselines/reference/importDeclWithExportModifierAndExportAssignmentInAmbientContext.js +++ b/tests/baselines/reference/importDeclWithExportModifierAndExportAssignmentInAmbientContext.js @@ -11,3 +11,4 @@ declare module "m" { } //// [importDeclWithExportModifierAndExportAssignmentInAmbientContext.js] +"use strict"; diff --git a/tests/baselines/reference/importDeclWithExportModifierInAmbientContext.js b/tests/baselines/reference/importDeclWithExportModifierInAmbientContext.js index cfa076bf7c71f..031467fd12d85 100644 --- a/tests/baselines/reference/importDeclWithExportModifierInAmbientContext.js +++ b/tests/baselines/reference/importDeclWithExportModifierInAmbientContext.js @@ -12,3 +12,4 @@ declare module "m" { //// [importDeclWithExportModifierInAmbientContext.js] +"use strict"; diff --git a/tests/baselines/reference/importDeclarationInModuleDeclaration1.js b/tests/baselines/reference/importDeclarationInModuleDeclaration1.js index 4eeb39cb03c50..73917e380a891 100644 --- a/tests/baselines/reference/importDeclarationInModuleDeclaration1.js +++ b/tests/baselines/reference/importDeclarationInModuleDeclaration1.js @@ -6,3 +6,4 @@ namespace m2 { } //// [importDeclarationInModuleDeclaration1.js] +"use strict"; diff --git a/tests/baselines/reference/importDeferTypeConflict1.js b/tests/baselines/reference/importDeferTypeConflict1.js index 463ebf0241037..b092901a08c6a 100644 --- a/tests/baselines/reference/importDeferTypeConflict1.js +++ b/tests/baselines/reference/importDeferTypeConflict1.js @@ -14,6 +14,7 @@ export function foo() { console.log("foo from a"); } //// [b.js] +"use strict"; * as; ns1; from; diff --git a/tests/baselines/reference/importEqualsError45874.js b/tests/baselines/reference/importEqualsError45874.js index 7f153fe422fe0..1eba5dd501ffe 100644 --- a/tests/baselines/reference/importEqualsError45874.js +++ b/tests/baselines/reference/importEqualsError45874.js @@ -12,10 +12,12 @@ const Foo = {}; //// [globals.js] +"use strict"; var globals; (function (globals) { globals.Bar = {}; })(globals || (globals = {})); var Foo = globals.toString.Blah; //// [index.js] +"use strict"; var Foo = {}; diff --git a/tests/baselines/reference/importHelpers.js b/tests/baselines/reference/importHelpers.js index 34b5f67f8c555..f4b25b33f59af 100644 --- a/tests/baselines/reference/importHelpers.js +++ b/tests/baselines/reference/importHelpers.js @@ -87,6 +87,7 @@ function id(x) { exports.result = id(templateObject_1 || (templateObject_1 = tslib_1.__makeTemplateObject(["hello world"], ["hello world"]))); var templateObject_1; //// [script.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/importHelpersCommonJSJavaScript(verbatimmodulesyntax=false).js b/tests/baselines/reference/importHelpersCommonJSJavaScript(verbatimmodulesyntax=false).js index 9f9a2f4c6e064..6624001164b7b 100644 --- a/tests/baselines/reference/importHelpersCommonJSJavaScript(verbatimmodulesyntax=false).js +++ b/tests/baselines/reference/importHelpersCommonJSJavaScript(verbatimmodulesyntax=false).js @@ -45,6 +45,7 @@ module.exports = Bar; //// [index.js] +"use strict"; var tslib_1 = require("tslib"); var Foo = /** @class */ (function () { function Foo() { diff --git a/tests/baselines/reference/importHelpersCommonJSJavaScript(verbatimmodulesyntax=true).js b/tests/baselines/reference/importHelpersCommonJSJavaScript(verbatimmodulesyntax=true).js index 9f9a2f4c6e064..6624001164b7b 100644 --- a/tests/baselines/reference/importHelpersCommonJSJavaScript(verbatimmodulesyntax=true).js +++ b/tests/baselines/reference/importHelpersCommonJSJavaScript(verbatimmodulesyntax=true).js @@ -45,6 +45,7 @@ module.exports = Bar; //// [index.js] +"use strict"; var tslib_1 = require("tslib"); var Foo = /** @class */ (function () { function Foo() { diff --git a/tests/baselines/reference/importHelpersInIsolatedModules.js b/tests/baselines/reference/importHelpersInIsolatedModules.js index 2c771e83caf2d..81359a7fe6954 100644 --- a/tests/baselines/reference/importHelpersInIsolatedModules.js +++ b/tests/baselines/reference/importHelpersInIsolatedModules.js @@ -69,6 +69,7 @@ var C = /** @class */ (function () { return C; }()); //// [script.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/importHelpersInTsx.js b/tests/baselines/reference/importHelpersInTsx.js index 230c81859a682..1db3ab413bfc2 100644 --- a/tests/baselines/reference/importHelpersInTsx.js +++ b/tests/baselines/reference/importHelpersInTsx.js @@ -26,6 +26,7 @@ exports.x = void 0; var tslib_1 = require("tslib"); exports.x = React.createElement("span", tslib_1.__assign({}, o)); //// [script.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/importHelpersNoHelpers.js b/tests/baselines/reference/importHelpersNoHelpers.js index 23af5f3ca43e3..d231ec88ae94b 100644 --- a/tests/baselines/reference/importHelpersNoHelpers.js +++ b/tests/baselines/reference/importHelpersNoHelpers.js @@ -81,6 +81,7 @@ var o = { a: 1 }; var y = tslib_1.__assign({}, o); var x = tslib_1.__rest(y, []); //// [script.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/importHelpersNoModule.js b/tests/baselines/reference/importHelpersNoModule.js index b4a8fa89c1e4c..e279183554fb0 100644 --- a/tests/baselines/reference/importHelpersNoModule.js +++ b/tests/baselines/reference/importHelpersNoModule.js @@ -61,6 +61,7 @@ var C = /** @class */ (function () { return C; }()); //// [script.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/importInTypePosition.js b/tests/baselines/reference/importInTypePosition.js index b680cfc74dc17..40d4264a390f3 100644 --- a/tests/baselines/reference/importInTypePosition.js +++ b/tests/baselines/reference/importInTypePosition.js @@ -24,6 +24,7 @@ namespace C { //// [importInTypePosition.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/importMetaPropertyInvalidInCall.js b/tests/baselines/reference/importMetaPropertyInvalidInCall.js index 74f24f160a212..44992d2380803 100644 --- a/tests/baselines/reference/importMetaPropertyInvalidInCall.js +++ b/tests/baselines/reference/importMetaPropertyInvalidInCall.js @@ -6,5 +6,6 @@ import.foo; //// [b.js] +"use strict"; import.foo(); import.foo; diff --git a/tests/baselines/reference/importNonExternalModule.js b/tests/baselines/reference/importNonExternalModule.js index 7817daebbb9ea..4070213bcc9f3 100644 --- a/tests/baselines/reference/importNonExternalModule.js +++ b/tests/baselines/reference/importNonExternalModule.js @@ -14,6 +14,7 @@ if(foo.answer === 42){ //// [foo_0.js] +"use strict"; var foo; (function (foo) { foo.answer = 42; diff --git a/tests/baselines/reference/importOnAliasedIdentifiers.js b/tests/baselines/reference/importOnAliasedIdentifiers.js index 4cdc5614dfead..8783003f3644d 100644 --- a/tests/baselines/reference/importOnAliasedIdentifiers.js +++ b/tests/baselines/reference/importOnAliasedIdentifiers.js @@ -13,6 +13,7 @@ namespace B { } //// [importOnAliasedIdentifiers.js] +"use strict"; var A; (function (A) { })(A || (A = {})); diff --git a/tests/baselines/reference/importStatements.js b/tests/baselines/reference/importStatements.js index ea66544ee7014..9af3c9ca03fb5 100644 --- a/tests/baselines/reference/importStatements.js +++ b/tests/baselines/reference/importStatements.js @@ -37,6 +37,7 @@ namespace E { } //// [importStatements.js] +"use strict"; var A; (function (A) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/importStatementsInterfaces.js b/tests/baselines/reference/importStatementsInterfaces.js index b1320ca6909ba..f1d85a1a81c81 100644 --- a/tests/baselines/reference/importStatementsInterfaces.js +++ b/tests/baselines/reference/importStatementsInterfaces.js @@ -44,6 +44,7 @@ namespace E { } //// [importStatementsInterfaces.js] +"use strict"; // no code gen expected var C; (function (C) { diff --git a/tests/baselines/reference/importTypeAmbient.js b/tests/baselines/reference/importTypeAmbient.js index 47cf4d5c8bda4..55dd8bc205e88 100644 --- a/tests/baselines/reference/importTypeAmbient.js +++ b/tests/baselines/reference/importTypeAmbient.js @@ -44,6 +44,7 @@ let shim: typeof import("foo2") = { //// [importTypeAmbient.js] +"use strict"; var x = { x: 0, y: 0 }; var y = { a: "", b: 0 }; var Bar2 = /** @class */ (function () { diff --git a/tests/baselines/reference/importTypeAmbientMissing.js b/tests/baselines/reference/importTypeAmbientMissing.js index f0e152e3f3bdf..419b6bfe32477 100644 --- a/tests/baselines/reference/importTypeAmbientMissing.js +++ b/tests/baselines/reference/importTypeAmbientMissing.js @@ -13,6 +13,7 @@ const x: import("fo") = { x: 0, y: 0 }; // typo, error //// [importTypeAmbientMissing.js] +"use strict"; var x = { x: 0, y: 0 }; // typo, error diff --git a/tests/baselines/reference/importTypeInJSDoc.js b/tests/baselines/reference/importTypeInJSDoc.js index 53a521c6062c2..b1053af27a2dd 100644 --- a/tests/baselines/reference/importTypeInJSDoc.js +++ b/tests/baselines/reference/importTypeInJSDoc.js @@ -27,6 +27,7 @@ const r = /** @type {typeof import("./externs").Bar} */(r => r); //// [index.js] +"use strict"; /** * @typedef {import("./externs")} Foo */ diff --git a/tests/baselines/reference/importWithTypeArguments.js b/tests/baselines/reference/importWithTypeArguments.js index 0177f4af16680..c2ee7f5467861 100644 --- a/tests/baselines/reference/importWithTypeArguments.js +++ b/tests/baselines/reference/importWithTypeArguments.js @@ -6,5 +6,6 @@ const a = import //// [importWithTypeArguments.js] +"use strict"; import; var a = (import); diff --git a/tests/baselines/reference/import_unneeded-require-when-referenecing-aliased-type-throug-array.js b/tests/baselines/reference/import_unneeded-require-when-referenecing-aliased-type-throug-array.js index 09abbb09683ba..a2e38541c5290 100644 --- a/tests/baselines/reference/import_unneeded-require-when-referenecing-aliased-type-throug-array.js +++ b/tests/baselines/reference/import_unneeded-require-when-referenecing-aliased-type-throug-array.js @@ -16,6 +16,7 @@ var p = testData[0].name; //// [b.js] +"use strict"; //// [a.js] define(["require", "exports"], function (require, exports) { "use strict"; diff --git a/tests/baselines/reference/importedModuleAddToGlobal.js b/tests/baselines/reference/importedModuleAddToGlobal.js index 3cc0fc33f8bf1..81633dbdbf673 100644 --- a/tests/baselines/reference/importedModuleAddToGlobal.js +++ b/tests/baselines/reference/importedModuleAddToGlobal.js @@ -19,6 +19,7 @@ namespace C { } //// [importedModuleAddToGlobal.js] +"use strict"; var B; (function (B_1) { var B = /** @class */ (function () { diff --git a/tests/baselines/reference/importsInAmbientModules1.js b/tests/baselines/reference/importsInAmbientModules1.js index da5dcce74f279..11e2930d8f8de 100644 --- a/tests/baselines/reference/importsInAmbientModules1.js +++ b/tests/baselines/reference/importsInAmbientModules1.js @@ -9,3 +9,4 @@ declare module "M" { } //// [main.js] +"use strict"; diff --git a/tests/baselines/reference/importsInAmbientModules2.js b/tests/baselines/reference/importsInAmbientModules2.js index 4f1a9d54e3720..d7c7067fe7419 100644 --- a/tests/baselines/reference/importsInAmbientModules2.js +++ b/tests/baselines/reference/importsInAmbientModules2.js @@ -9,3 +9,4 @@ declare module "M" { } //// [main.js] +"use strict"; diff --git a/tests/baselines/reference/importsInAmbientModules3.js b/tests/baselines/reference/importsInAmbientModules3.js index 5539b5e8397e3..c47017aa82a0f 100644 --- a/tests/baselines/reference/importsInAmbientModules3.js +++ b/tests/baselines/reference/importsInAmbientModules3.js @@ -9,3 +9,4 @@ declare module "M" { } //// [main.js] +"use strict"; diff --git a/tests/baselines/reference/importsNotUsedAsValues_error.js b/tests/baselines/reference/importsNotUsedAsValues_error.js index 5716c66d632ab..89b27974a87d2 100644 --- a/tests/baselines/reference/importsNotUsedAsValues_error.js +++ b/tests/baselines/reference/importsNotUsedAsValues_error.js @@ -122,6 +122,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); var h = {}; console.log(h); //// [j.js] +"use strict"; // Sad face https://github.com/microsoft/TypeScript/blob/6b04f5039429b9d412696fe2febe39ecc69ad365/src/testRunner/compilerRunner.ts#L207 //// [k.js] "use strict"; diff --git a/tests/baselines/reference/inDoesNotOperateOnPrimitiveTypes.js b/tests/baselines/reference/inDoesNotOperateOnPrimitiveTypes.js index 47e2729a04585..9ac92df3ea43a 100644 --- a/tests/baselines/reference/inDoesNotOperateOnPrimitiveTypes.js +++ b/tests/baselines/reference/inDoesNotOperateOnPrimitiveTypes.js @@ -69,6 +69,7 @@ function intersection2(thing: T & (0 | 1 | 2)) { //// [inDoesNotOperateOnPrimitiveTypes.js] +"use strict"; var validHasKey = function (thing, key) { return key in thing; // Ok }; diff --git a/tests/baselines/reference/inKeywordTypeguard(strict=false).js b/tests/baselines/reference/inKeywordTypeguard(strict=false).js index ce5cdbb6369b7..c041d5d841964 100644 --- a/tests/baselines/reference/inKeywordTypeguard(strict=false).js +++ b/tests/baselines/reference/inKeywordTypeguard(strict=false).js @@ -387,6 +387,7 @@ function test3>(obj: T) { //// [inKeywordTypeguard.js] +"use strict"; class A { } class B { diff --git a/tests/baselines/reference/inOperator.js b/tests/baselines/reference/inOperator.js index cf4448af24d68..00d2778e9c913 100644 --- a/tests/baselines/reference/inOperator.js +++ b/tests/baselines/reference/inOperator.js @@ -15,6 +15,7 @@ if (y in c) { } //// [inOperator.js] +"use strict"; var a = []; for (var x in a) { } if (3 in a) { } diff --git a/tests/baselines/reference/inOperatorWithFunction.js b/tests/baselines/reference/inOperatorWithFunction.js index 1f51c7932d785..0d7028a5c5377 100644 --- a/tests/baselines/reference/inOperatorWithFunction.js +++ b/tests/baselines/reference/inOperatorWithFunction.js @@ -6,5 +6,6 @@ fn("a" in { "a": true }); //// [inOperatorWithFunction.js] +"use strict"; var fn = function (val) { return val; }; fn("a" in { "a": true }); diff --git a/tests/baselines/reference/inOperatorWithGeneric.js b/tests/baselines/reference/inOperatorWithGeneric.js index 1b57d09d5a4fa..1f512b2b8d422 100644 --- a/tests/baselines/reference/inOperatorWithGeneric.js +++ b/tests/baselines/reference/inOperatorWithGeneric.js @@ -9,6 +9,7 @@ class C { } //// [inOperatorWithGeneric.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/inOperatorWithInvalidOperands.js b/tests/baselines/reference/inOperatorWithInvalidOperands.js index 9d66c5b81bfe1..e7da51f893c30 100644 --- a/tests/baselines/reference/inOperatorWithInvalidOperands.js +++ b/tests/baselines/reference/inOperatorWithInvalidOperands.js @@ -50,6 +50,7 @@ var rb10 = x in undefined; var rc1 = {} in ''; //// [inOperatorWithInvalidOperands.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/inOperatorWithValidOperands.js b/tests/baselines/reference/inOperatorWithValidOperands.js index d47b0a7626643..6941d181259d1 100644 --- a/tests/baselines/reference/inOperatorWithValidOperands.js +++ b/tests/baselines/reference/inOperatorWithValidOperands.js @@ -49,6 +49,7 @@ var rc2 = x in (c2 || c3); //// [inOperatorWithValidOperands.js] +"use strict"; var x; var ra1 = x in x; var ra2 = a1 in x; diff --git a/tests/baselines/reference/incompatibleAssignmentOfIdenticallyNamedTypes.js b/tests/baselines/reference/incompatibleAssignmentOfIdenticallyNamedTypes.js index c7a7f15bf2488..2dcdaec88f809 100644 --- a/tests/baselines/reference/incompatibleAssignmentOfIdenticallyNamedTypes.js +++ b/tests/baselines/reference/incompatibleAssignmentOfIdenticallyNamedTypes.js @@ -12,6 +12,7 @@ class Foo { //// [incompatibleAssignmentOfIdenticallyNamedTypes.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/incompatibleExports1.js b/tests/baselines/reference/incompatibleExports1.js index 765077fb459eb..90c75669449ab 100644 --- a/tests/baselines/reference/incompatibleExports1.js +++ b/tests/baselines/reference/incompatibleExports1.js @@ -21,3 +21,4 @@ declare module "baz" { //// [incompatibleExports1.js] +"use strict"; diff --git a/tests/baselines/reference/incompatibleExports2.js b/tests/baselines/reference/incompatibleExports2.js index ae93fab140fd2..784b673dfd4cb 100644 --- a/tests/baselines/reference/incompatibleExports2.js +++ b/tests/baselines/reference/incompatibleExports2.js @@ -8,3 +8,4 @@ declare module "foo" { } //// [incompatibleExports2.js] +"use strict"; diff --git a/tests/baselines/reference/incompatibleGenericTypes.js b/tests/baselines/reference/incompatibleGenericTypes.js index 5283413bb3113..c33aae4cad3d1 100644 --- a/tests/baselines/reference/incompatibleGenericTypes.js +++ b/tests/baselines/reference/incompatibleGenericTypes.js @@ -12,5 +12,6 @@ var v1: I1; var v2: I1 = v1; //// [incompatibleGenericTypes.js] +"use strict"; var v1; var v2 = v1; diff --git a/tests/baselines/reference/incompatibleTypes.js b/tests/baselines/reference/incompatibleTypes.js index 9358904015b52..fa29988f40186 100644 --- a/tests/baselines/reference/incompatibleTypes.js +++ b/tests/baselines/reference/incompatibleTypes.js @@ -78,6 +78,7 @@ var fp1: () =>any = a => 0; //// [incompatibleTypes.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/incompleteDottedExpressionAtEOF.js b/tests/baselines/reference/incompleteDottedExpressionAtEOF.js index 2ef80c9b84ea6..fc7040b049a19 100644 --- a/tests/baselines/reference/incompleteDottedExpressionAtEOF.js +++ b/tests/baselines/reference/incompleteDottedExpressionAtEOF.js @@ -5,5 +5,6 @@ var p2 = window. //// [incompleteDottedExpressionAtEOF.js] +"use strict"; // used to leak __missing into error message var p2 = window.; diff --git a/tests/baselines/reference/incompleteObjectLiteral1.js b/tests/baselines/reference/incompleteObjectLiteral1.js index 39257cab44d47..7254294022cfa 100644 --- a/tests/baselines/reference/incompleteObjectLiteral1.js +++ b/tests/baselines/reference/incompleteObjectLiteral1.js @@ -5,5 +5,6 @@ var tt = { aa; } var x = tt; //// [incompleteObjectLiteral1.js] +"use strict"; var tt = { aa: aa }; var x = tt; diff --git a/tests/baselines/reference/incorrectClassOverloadChain.js b/tests/baselines/reference/incorrectClassOverloadChain.js index e37fc8c9f17df..0aba374076a7b 100644 --- a/tests/baselines/reference/incorrectClassOverloadChain.js +++ b/tests/baselines/reference/incorrectClassOverloadChain.js @@ -8,6 +8,7 @@ class C { } //// [incorrectClassOverloadChain.js] +"use strict"; var C = /** @class */ (function () { function C() { this.x = 1; diff --git a/tests/baselines/reference/incorrectNumberOfTypeArgumentsDuringErrorReporting.js b/tests/baselines/reference/incorrectNumberOfTypeArgumentsDuringErrorReporting.js index d38b42fd9218a..ef9f170cfe890 100644 --- a/tests/baselines/reference/incorrectNumberOfTypeArgumentsDuringErrorReporting.js +++ b/tests/baselines/reference/incorrectNumberOfTypeArgumentsDuringErrorReporting.js @@ -25,6 +25,7 @@ fn({ //// [incorrectNumberOfTypeArgumentsDuringErrorReporting.js] +"use strict"; var fn = function (opts) { return 'Z'; }; fn({ a: { x: 'X', y: 'Y' }, diff --git a/tests/baselines/reference/incorrectRecursiveMappedTypeConstraint.js b/tests/baselines/reference/incorrectRecursiveMappedTypeConstraint.js index 79fe55074f206..44dab35cfb679 100644 --- a/tests/baselines/reference/incorrectRecursiveMappedTypeConstraint.js +++ b/tests/baselines/reference/incorrectRecursiveMappedTypeConstraint.js @@ -8,6 +8,7 @@ function sum(n: number, v: T, //// [incorrectRecursiveMappedTypeConstraint.js] +"use strict"; // #17847 function sum(n, v, k) { n += v[k]; diff --git a/tests/baselines/reference/incrementAndDecrement.js b/tests/baselines/reference/incrementAndDecrement.js index 3a9bf2fc6474f..8b4439064d3a4 100644 --- a/tests/baselines/reference/incrementAndDecrement.js +++ b/tests/baselines/reference/incrementAndDecrement.js @@ -64,6 +64,7 @@ w--; // Error //// [incrementAndDecrement.js] +"use strict"; var E; (function (E) { E[E["A"] = 0] = "A"; diff --git a/tests/baselines/reference/incrementOnTypeParameter.js b/tests/baselines/reference/incrementOnTypeParameter.js index d9786bca6fbfe..27d0e4c5aaf2b 100644 --- a/tests/baselines/reference/incrementOnTypeParameter.js +++ b/tests/baselines/reference/incrementOnTypeParameter.js @@ -12,6 +12,7 @@ class C { //// [incrementOnTypeParameter.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/incrementOperatorWithAnyOtherType.js b/tests/baselines/reference/incrementOperatorWithAnyOtherType.js index c7f03708c9a7b..2a6681e1ec084 100644 --- a/tests/baselines/reference/incrementOperatorWithAnyOtherType.js +++ b/tests/baselines/reference/incrementOperatorWithAnyOtherType.js @@ -51,6 +51,7 @@ objA.a++; M.n++; //// [incrementOperatorWithAnyOtherType.js] +"use strict"; // ++ operator on any type var ANY; var ANY1; diff --git a/tests/baselines/reference/incrementOperatorWithAnyOtherTypeInvalidOperations.js b/tests/baselines/reference/incrementOperatorWithAnyOtherTypeInvalidOperations.js index 2c1938e416e5c..c7a77281fdb6a 100644 --- a/tests/baselines/reference/incrementOperatorWithAnyOtherTypeInvalidOperations.js +++ b/tests/baselines/reference/incrementOperatorWithAnyOtherTypeInvalidOperations.js @@ -72,6 +72,7 @@ ANY2++; ++ANY2[0]++; //// [incrementOperatorWithAnyOtherTypeInvalidOperations.js] +"use strict"; // ++ operator on any type var ANY1; var ANY2 = [1, 2]; diff --git a/tests/baselines/reference/incrementOperatorWithEnumType.js b/tests/baselines/reference/incrementOperatorWithEnumType.js index 9afd0d7aa6128..321eeb969615c 100644 --- a/tests/baselines/reference/incrementOperatorWithEnumType.js +++ b/tests/baselines/reference/incrementOperatorWithEnumType.js @@ -15,6 +15,7 @@ var ResultIsNumber2 = ENUM1.B++; ENUM1.B++; //// [incrementOperatorWithEnumType.js] +"use strict"; // ++ operator on enum type var ENUM1; (function (ENUM1) { diff --git a/tests/baselines/reference/incrementOperatorWithEnumTypeInvalidOperations.js b/tests/baselines/reference/incrementOperatorWithEnumTypeInvalidOperations.js index 48b2e08fcc4e0..47e00267f5f81 100644 --- a/tests/baselines/reference/incrementOperatorWithEnumTypeInvalidOperations.js +++ b/tests/baselines/reference/incrementOperatorWithEnumTypeInvalidOperations.js @@ -25,6 +25,7 @@ ENUM++; ENUM1++; //// [incrementOperatorWithEnumTypeInvalidOperations.js] +"use strict"; // ++ operator on enum type var ENUM; (function (ENUM) { diff --git a/tests/baselines/reference/incrementOperatorWithNumberType.js b/tests/baselines/reference/incrementOperatorWithNumberType.js index ea52e517add85..4c2e422cbb38d 100644 --- a/tests/baselines/reference/incrementOperatorWithNumberType.js +++ b/tests/baselines/reference/incrementOperatorWithNumberType.js @@ -42,6 +42,7 @@ M.n++; objA.a++, M.n++; //// [incrementOperatorWithNumberType.js] +"use strict"; // ++ operator on number type var NUMBER; var NUMBER1 = [1, 2]; diff --git a/tests/baselines/reference/incrementOperatorWithNumberTypeInvalidOperations.js b/tests/baselines/reference/incrementOperatorWithNumberTypeInvalidOperations.js index cf2ed13880b52..7f4197f7eef96 100644 --- a/tests/baselines/reference/incrementOperatorWithNumberTypeInvalidOperations.js +++ b/tests/baselines/reference/incrementOperatorWithNumberTypeInvalidOperations.js @@ -49,6 +49,7 @@ NUMBER1++; foo()++; //// [incrementOperatorWithNumberTypeInvalidOperations.js] +"use strict"; var NUMBER1 = [1, 2]; function foo() { return 1; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/incrementOperatorWithUnsupportedBooleanType.js b/tests/baselines/reference/incrementOperatorWithUnsupportedBooleanType.js index 10241566d2d35..b1397cbcef675 100644 --- a/tests/baselines/reference/incrementOperatorWithUnsupportedBooleanType.js +++ b/tests/baselines/reference/incrementOperatorWithUnsupportedBooleanType.js @@ -57,6 +57,7 @@ M.n++; objA.a++, M.n++; //// [incrementOperatorWithUnsupportedBooleanType.js] +"use strict"; function foo() { return true; } var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/incrementOperatorWithUnsupportedStringType.js b/tests/baselines/reference/incrementOperatorWithUnsupportedStringType.js index 67a1e52b19866..32eb350167346 100644 --- a/tests/baselines/reference/incrementOperatorWithUnsupportedStringType.js +++ b/tests/baselines/reference/incrementOperatorWithUnsupportedStringType.js @@ -68,6 +68,7 @@ M.n++; objA.a++, M.n++; //// [incrementOperatorWithUnsupportedStringType.js] +"use strict"; var STRING1 = ["", ""]; function foo() { return ""; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/incrementalConfig.js b/tests/baselines/reference/incrementalConfig.js index e44e3b67f30ff..29e749cad0fda 100644 --- a/tests/baselines/reference/incrementalConfig.js +++ b/tests/baselines/reference/incrementalConfig.js @@ -5,4 +5,5 @@ const x = 10; //// [a.js] +"use strict"; var x = 10; diff --git a/tests/baselines/reference/incrementalInvalid.js b/tests/baselines/reference/incrementalInvalid.js index 0f117783832c9..08cabdc5a4f74 100644 --- a/tests/baselines/reference/incrementalInvalid.js +++ b/tests/baselines/reference/incrementalInvalid.js @@ -6,4 +6,5 @@ const x = 10; //// [incrementalInvalid.js] +"use strict"; var x = 10; diff --git a/tests/baselines/reference/incrementalOut.js b/tests/baselines/reference/incrementalOut.js index d42a4976ec995..0dd3de096a20c 100644 --- a/tests/baselines/reference/incrementalOut.js +++ b/tests/baselines/reference/incrementalOut.js @@ -6,4 +6,5 @@ const x = 10; //// [output.js] +"use strict"; var x = 10; diff --git a/tests/baselines/reference/incrementalTsBuildInfoFile.js b/tests/baselines/reference/incrementalTsBuildInfoFile.js index 4c98738d6a611..7830a78e21ffe 100644 --- a/tests/baselines/reference/incrementalTsBuildInfoFile.js +++ b/tests/baselines/reference/incrementalTsBuildInfoFile.js @@ -7,4 +7,5 @@ const x = 10; //// [a.js] +"use strict"; var x = 10; diff --git a/tests/baselines/reference/indexAt(target=es2021).js b/tests/baselines/reference/indexAt(target=es2021).js index da135ead7d1df..794ada8a0eed1 100644 --- a/tests/baselines/reference/indexAt(target=es2021).js +++ b/tests/baselines/reference/indexAt(target=es2021).js @@ -17,6 +17,7 @@ new BigUint64Array().at(0); //// [indexAt.js] +"use strict"; [0].at(0); "foo".at(0); new Int8Array().at(0); diff --git a/tests/baselines/reference/indexAt(target=es2022).js b/tests/baselines/reference/indexAt(target=es2022).js index da135ead7d1df..794ada8a0eed1 100644 --- a/tests/baselines/reference/indexAt(target=es2022).js +++ b/tests/baselines/reference/indexAt(target=es2022).js @@ -17,6 +17,7 @@ new BigUint64Array().at(0); //// [indexAt.js] +"use strict"; [0].at(0); "foo".at(0); new Int8Array().at(0); diff --git a/tests/baselines/reference/indexAt(target=esnext).js b/tests/baselines/reference/indexAt(target=esnext).js index da135ead7d1df..794ada8a0eed1 100644 --- a/tests/baselines/reference/indexAt(target=esnext).js +++ b/tests/baselines/reference/indexAt(target=esnext).js @@ -17,6 +17,7 @@ new BigUint64Array().at(0); //// [indexAt.js] +"use strict"; [0].at(0); "foo".at(0); new Int8Array().at(0); diff --git a/tests/baselines/reference/indexClassByNumber.js b/tests/baselines/reference/indexClassByNumber.js index e94c5983b4844..6752fd0f48083 100644 --- a/tests/baselines/reference/indexClassByNumber.js +++ b/tests/baselines/reference/indexClassByNumber.js @@ -10,6 +10,7 @@ var f = new foo(); f[0] = 4; // Shouldn't be allowed //// [indexClassByNumber.js] +"use strict"; // Shouldn't be able to index a class instance by a number (unless it has declared a number index signature) var foo = /** @class */ (function () { function foo() { diff --git a/tests/baselines/reference/indexIntoArraySubclass.js b/tests/baselines/reference/indexIntoArraySubclass.js index 7c793cedd290e..ea3a12022e63a 100644 --- a/tests/baselines/reference/indexIntoArraySubclass.js +++ b/tests/baselines/reference/indexIntoArraySubclass.js @@ -7,5 +7,6 @@ var r = x2[0]; // string r = 0; //error //// [indexIntoArraySubclass.js] +"use strict"; var r = x2[0]; // string r = 0; //error diff --git a/tests/baselines/reference/indexIntoEnum.js b/tests/baselines/reference/indexIntoEnum.js index d3b226f3efb58..a37384377ee1b 100644 --- a/tests/baselines/reference/indexIntoEnum.js +++ b/tests/baselines/reference/indexIntoEnum.js @@ -9,6 +9,7 @@ namespace M { } //// [indexIntoEnum.js] +"use strict"; var M; (function (M) { var E; diff --git a/tests/baselines/reference/indexSignatureInOtherFile.js b/tests/baselines/reference/indexSignatureInOtherFile.js index 68c14ca853e97..7605fb5b32021 100644 --- a/tests/baselines/reference/indexSignatureInOtherFile.js +++ b/tests/baselines/reference/indexSignatureInOtherFile.js @@ -41,6 +41,8 @@ interface Array1 { //// [index.js] +"use strict"; class Test extends Array1 { } //// [other.js] +"use strict"; diff --git a/tests/baselines/reference/indexSignatureInOtherFile1.js b/tests/baselines/reference/indexSignatureInOtherFile1.js index e756f9fd8e040..02ea9f05fb74b 100644 --- a/tests/baselines/reference/indexSignatureInOtherFile1.js +++ b/tests/baselines/reference/indexSignatureInOtherFile1.js @@ -40,6 +40,8 @@ class Test extends Array1 { } //// [other.js] +"use strict"; //// [index.js] +"use strict"; class Test extends Array1 { } diff --git a/tests/baselines/reference/indexSignatureMustHaveTypeAnnotation.js b/tests/baselines/reference/indexSignatureMustHaveTypeAnnotation.js index 9caec909a0bee..29d72b034a221 100644 --- a/tests/baselines/reference/indexSignatureMustHaveTypeAnnotation.js +++ b/tests/baselines/reference/indexSignatureMustHaveTypeAnnotation.js @@ -18,6 +18,7 @@ class C2 { } //// [indexSignatureMustHaveTypeAnnotation.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/indexSignatureOfTypeUnknownStillRequiresIndexSignature.js b/tests/baselines/reference/indexSignatureOfTypeUnknownStillRequiresIndexSignature.js index 08d90f2f5f921..50ee618bc7871 100644 --- a/tests/baselines/reference/indexSignatureOfTypeUnknownStillRequiresIndexSignature.js +++ b/tests/baselines/reference/indexSignatureOfTypeUnknownStillRequiresIndexSignature.js @@ -13,6 +13,7 @@ f(stooges); // Should throw //// [indexSignatureOfTypeUnknownStillRequiresIndexSignature.js] +"use strict"; var stooges = [ { name: "moe", age: 40 }, { name: "larry", age: 50 }, diff --git a/tests/baselines/reference/indexSignatureTypeCheck.js b/tests/baselines/reference/indexSignatureTypeCheck.js index 43bce0935756e..309dcfec21a12 100644 --- a/tests/baselines/reference/indexSignatureTypeCheck.js +++ b/tests/baselines/reference/indexSignatureTypeCheck.js @@ -21,6 +21,7 @@ interface indexErrors { } //// [indexSignatureTypeCheck.js] +"use strict"; var ps = null; var index = "hello"; ps[index] = 12; diff --git a/tests/baselines/reference/indexSignatureTypeCheck2.js b/tests/baselines/reference/indexSignatureTypeCheck2.js index c980169d5debf..7a814500d6e4f 100644 --- a/tests/baselines/reference/indexSignatureTypeCheck2.js +++ b/tests/baselines/reference/indexSignatureTypeCheck2.js @@ -17,6 +17,7 @@ interface indexErrors { } //// [indexSignatureTypeCheck2.js] +"use strict"; var IPropertySet = /** @class */ (function () { function IPropertySet() { } diff --git a/tests/baselines/reference/indexSignatureTypeInference.js b/tests/baselines/reference/indexSignatureTypeInference.js index bd9d92dd437ee..cfccdce27b83d 100644 --- a/tests/baselines/reference/indexSignatureTypeInference.js +++ b/tests/baselines/reference/indexSignatureTypeInference.js @@ -23,6 +23,7 @@ var v1 = stringMapToArray(stringMap); // Ok //// [indexSignatureTypeInference.js] +"use strict"; var v1; var v1 = numberMapToArray(numberMap); // Ok var v1 = numberMapToArray(stringMap); // Ok diff --git a/tests/baselines/reference/indexSignatureWithAccessibilityModifier.js b/tests/baselines/reference/indexSignatureWithAccessibilityModifier.js index b4772598b01a4..af5ff29decada 100644 --- a/tests/baselines/reference/indexSignatureWithAccessibilityModifier.js +++ b/tests/baselines/reference/indexSignatureWithAccessibilityModifier.js @@ -10,6 +10,7 @@ class C { } //// [indexSignatureWithAccessibilityModifier.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/indexSignatureWithInitializer.js b/tests/baselines/reference/indexSignatureWithInitializer.js index 71473ba326bda..ca842b6c5a35a 100644 --- a/tests/baselines/reference/indexSignatureWithInitializer.js +++ b/tests/baselines/reference/indexSignatureWithInitializer.js @@ -11,6 +11,7 @@ class C { } //// [indexSignatureWithInitializer.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/indexSignatureWithInitializer1.js b/tests/baselines/reference/indexSignatureWithInitializer1.js index df79d456fa5aa..fb9cb74f2b60f 100644 --- a/tests/baselines/reference/indexSignatureWithInitializer1.js +++ b/tests/baselines/reference/indexSignatureWithInitializer1.js @@ -6,6 +6,7 @@ class C { } //// [indexSignatureWithInitializer1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/indexSignatureWithTrailingComma.js b/tests/baselines/reference/indexSignatureWithTrailingComma.js index a89c050528571..902f2bba6d1e9 100644 --- a/tests/baselines/reference/indexSignatureWithTrailingComma.js +++ b/tests/baselines/reference/indexSignatureWithTrailingComma.js @@ -15,6 +15,7 @@ class C { //// [indexSignatureWithTrailingComma.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..js b/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..js index 9296d5d962c77..8e5c776f3bb7d 100644 --- a/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..js +++ b/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1..js @@ -4,3 +4,4 @@ //// [indexSignatureWithoutTypeAnnotation1..js] +"use strict"; diff --git a/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1.js b/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1.js index 404c577d75b94..77bb4de287b64 100644 --- a/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1.js +++ b/tests/baselines/reference/indexSignatureWithoutTypeAnnotation1.js @@ -6,6 +6,7 @@ class C { } //// [indexSignatureWithoutTypeAnnotation1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/indexSignaturesInferentialTyping.js b/tests/baselines/reference/indexSignaturesInferentialTyping.js index 715e048ff94ba..679f3bb90ec0a 100644 --- a/tests/baselines/reference/indexSignaturesInferentialTyping.js +++ b/tests/baselines/reference/indexSignaturesInferentialTyping.js @@ -10,6 +10,7 @@ var x3 = bar({ zero: 0, one: 1 }); // type should be number //// [indexSignaturesInferentialTyping.js] +"use strict"; function foo(items) { return undefined; } function bar(items) { return undefined; } var x1 = foo({ 0: 0, 1: 1 }); // type should be number diff --git a/tests/baselines/reference/indexTypeCheck.js b/tests/baselines/reference/indexTypeCheck.js index ce026a807ecdf..730502480a304 100644 --- a/tests/baselines/reference/indexTypeCheck.js +++ b/tests/baselines/reference/indexTypeCheck.js @@ -66,6 +66,7 @@ class Benchmark { } //// [indexTypeCheck.js] +"use strict"; var s = "some string"; yellow[5]; // ok yellow["hue"]; // ok diff --git a/tests/baselines/reference/indexWithUndefinedAndNull.js b/tests/baselines/reference/indexWithUndefinedAndNull.js index 427582b5e1a8a..925b1d3b690b0 100644 --- a/tests/baselines/reference/indexWithUndefinedAndNull.js +++ b/tests/baselines/reference/indexWithUndefinedAndNull.js @@ -16,6 +16,7 @@ num = s[null]; //// [indexWithUndefinedAndNull.js] +"use strict"; var n; var s; var str = n[undefined]; diff --git a/tests/baselines/reference/indexWithUndefinedAndNullStrictNullChecks.js b/tests/baselines/reference/indexWithUndefinedAndNullStrictNullChecks.js index c3336cec2070a..ef67dcda61dcc 100644 --- a/tests/baselines/reference/indexWithUndefinedAndNullStrictNullChecks.js +++ b/tests/baselines/reference/indexWithUndefinedAndNullStrictNullChecks.js @@ -16,6 +16,7 @@ num = s[null]; //// [indexWithUndefinedAndNullStrictNullChecks.js] +"use strict"; var n; var s; var str = n[undefined]; diff --git a/tests/baselines/reference/indexWithoutParamType.js b/tests/baselines/reference/indexWithoutParamType.js index 70c60b5a71b4e..96da4ee5e312f 100644 --- a/tests/baselines/reference/indexWithoutParamType.js +++ b/tests/baselines/reference/indexWithoutParamType.js @@ -4,4 +4,5 @@ var y: { []; } // Error //// [indexWithoutParamType.js] +"use strict"; var y; // Error diff --git a/tests/baselines/reference/indexWithoutParamType2.js b/tests/baselines/reference/indexWithoutParamType2.js index 6f78c1bcb5af6..b763bfba00e51 100644 --- a/tests/baselines/reference/indexWithoutParamType2.js +++ b/tests/baselines/reference/indexWithoutParamType2.js @@ -7,6 +7,7 @@ class C { } //// [indexWithoutParamType2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/indexedAccessCanBeHighOrder.js b/tests/baselines/reference/indexedAccessCanBeHighOrder.js index 47bcf48e99d81..b35767ddca701 100644 --- a/tests/baselines/reference/indexedAccessCanBeHighOrder.js +++ b/tests/baselines/reference/indexedAccessCanBeHighOrder.js @@ -14,6 +14,7 @@ const r = impl(o, "x"); r[0][r[1]] = o[r[1]]; //// [indexedAccessCanBeHighOrder.js] +"use strict"; function impl(a, b) { var item = get(a, b); return find(item); diff --git a/tests/baselines/reference/indexedAccessImplicitlyAny.js b/tests/baselines/reference/indexedAccessImplicitlyAny.js index c99baeb948eb6..acef195412122 100644 --- a/tests/baselines/reference/indexedAccessImplicitlyAny.js +++ b/tests/baselines/reference/indexedAccessImplicitlyAny.js @@ -7,6 +7,7 @@ i.foo; i["foo"]; //// [indexedAccessImplicitlyAny.js] +"use strict"; ; i.foo; i["foo"]; diff --git a/tests/baselines/reference/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js b/tests/baselines/reference/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js index a8b1688d633c3..77d7aeeb15171 100644 --- a/tests/baselines/reference/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js +++ b/tests/baselines/reference/indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js @@ -25,6 +25,7 @@ class B extends A { } //// [indexedAccessKeyofNestedSimplifiedSubstituteUnwrapped.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/indexedAccessPrivateMemberOfGenericConstraint.js b/tests/baselines/reference/indexedAccessPrivateMemberOfGenericConstraint.js index ff80de9774c23..0f0d29d3ffbd9 100644 --- a/tests/baselines/reference/indexedAccessPrivateMemberOfGenericConstraint.js +++ b/tests/baselines/reference/indexedAccessPrivateMemberOfGenericConstraint.js @@ -15,6 +15,7 @@ type Z = T["a"]; //// [indexedAccessPrivateMemberOfGenericConstraint.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/indexedAccessToThisTypeOnIntersection01.js b/tests/baselines/reference/indexedAccessToThisTypeOnIntersection01.js index 2a2eb8256d882..0a22e3811ae4b 100644 --- a/tests/baselines/reference/indexedAccessToThisTypeOnIntersection01.js +++ b/tests/baselines/reference/indexedAccessToThisTypeOnIntersection01.js @@ -9,3 +9,4 @@ interface A { type T = (A & { a: number })['getA']; //// [indexedAccessToThisTypeOnIntersection01.js] +"use strict"; diff --git a/tests/baselines/reference/indexer.js b/tests/baselines/reference/indexer.js index 54c33032b933d..a46cc44527f21 100644 --- a/tests/baselines/reference/indexer.js +++ b/tests/baselines/reference/indexer.js @@ -13,5 +13,6 @@ var jq:JQuery={ 0: { id : "a" }, 1: { id : "b" } }; jq[0].id; //// [indexer.js] +"use strict"; var jq = { 0: { id: "a" }, 1: { id: "b" } }; jq[0].id; diff --git a/tests/baselines/reference/indexer2.js b/tests/baselines/reference/indexer2.js index 609fa7c138653..da8d8c64b8506 100644 --- a/tests/baselines/reference/indexer2.js +++ b/tests/baselines/reference/indexer2.js @@ -9,4 +9,5 @@ interface IDirectChildrenMap { var directChildrenMap = {}; //// [indexer2.js] +"use strict"; var directChildrenMap = {}; diff --git a/tests/baselines/reference/indexer2A.js b/tests/baselines/reference/indexer2A.js index 7ea9b80fbcfab..051deec81f5ef 100644 --- a/tests/baselines/reference/indexer2A.js +++ b/tests/baselines/reference/indexer2A.js @@ -10,6 +10,7 @@ class IDirectChildrenMap { var directChildrenMap = {}; //// [indexer2A.js] +"use strict"; var IHeapObjectProperty = /** @class */ (function () { function IHeapObjectProperty() { } diff --git a/tests/baselines/reference/indexer3.js b/tests/baselines/reference/indexer3.js index f9d10bd5eb2da..b338e565d8717 100644 --- a/tests/baselines/reference/indexer3.js +++ b/tests/baselines/reference/indexer3.js @@ -5,5 +5,6 @@ var dateMap: { [x: string]: Date; } = {} var r: Date = dateMap["hello"] // result type includes indexer using BCT //// [indexer3.js] +"use strict"; var dateMap = {}; var r = dateMap["hello"]; // result type includes indexer using BCT diff --git a/tests/baselines/reference/indexerA.js b/tests/baselines/reference/indexerA.js index 1fc1be4959185..e7c5dc29c6dcf 100644 --- a/tests/baselines/reference/indexerA.js +++ b/tests/baselines/reference/indexerA.js @@ -13,6 +13,7 @@ var jq:JQuery={ 0: { id : "a" }, 1: { id : "b" } }; jq[0].id; //// [indexerA.js] +"use strict"; var JQueryElement = /** @class */ (function () { function JQueryElement() { } diff --git a/tests/baselines/reference/indexerAsOptional.js b/tests/baselines/reference/indexerAsOptional.js index 38b43ed5f87aa..394af8437885f 100644 --- a/tests/baselines/reference/indexerAsOptional.js +++ b/tests/baselines/reference/indexerAsOptional.js @@ -12,6 +12,7 @@ class indexSig2 { } //// [indexerAsOptional.js] +"use strict"; var indexSig2 = /** @class */ (function () { function indexSig2() { } diff --git a/tests/baselines/reference/indexerAssignability.js b/tests/baselines/reference/indexerAssignability.js index 14b18f42d58ab..88228b7b0efa0 100644 --- a/tests/baselines/reference/indexerAssignability.js +++ b/tests/baselines/reference/indexerAssignability.js @@ -13,6 +13,7 @@ c = a; c = b; //// [indexerAssignability.js] +"use strict"; var a; var b; var c; diff --git a/tests/baselines/reference/indexerConstraints.js b/tests/baselines/reference/indexerConstraints.js index d481aefe617bb..46cb840db5e70 100644 --- a/tests/baselines/reference/indexerConstraints.js +++ b/tests/baselines/reference/indexerConstraints.js @@ -46,3 +46,4 @@ interface K extends J { } //// [indexerConstraints.js] +"use strict"; diff --git a/tests/baselines/reference/indexerConstraints2.js b/tests/baselines/reference/indexerConstraints2.js index 767e2cbcd2b84..292b459fa2573 100644 --- a/tests/baselines/reference/indexerConstraints2.js +++ b/tests/baselines/reference/indexerConstraints2.js @@ -84,6 +84,7 @@ interface T { //// [indexerConstraints2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/indexerReturningTypeParameter1.js b/tests/baselines/reference/indexerReturningTypeParameter1.js index a313a43ab7640..93b4dd935eb9e 100644 --- a/tests/baselines/reference/indexerReturningTypeParameter1.js +++ b/tests/baselines/reference/indexerReturningTypeParameter1.js @@ -16,6 +16,7 @@ var a2: c; var r2 = a2.groupBy(); //// [indexerReturningTypeParameter1.js] +"use strict"; var a; var r = a.groupBy(); var c = /** @class */ (function () { diff --git a/tests/baselines/reference/indexerSignatureWithRestParam.js b/tests/baselines/reference/indexerSignatureWithRestParam.js index c30df01481258..f43c21ad311d3 100644 --- a/tests/baselines/reference/indexerSignatureWithRestParam.js +++ b/tests/baselines/reference/indexerSignatureWithRestParam.js @@ -10,6 +10,7 @@ class C { } //// [indexerSignatureWithRestParam.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/indexerWithTuple.js b/tests/baselines/reference/indexerWithTuple.js index 14f36857102dc..78378a2eace72 100644 --- a/tests/baselines/reference/indexerWithTuple.js +++ b/tests/baselines/reference/indexerWithTuple.js @@ -42,6 +42,7 @@ type t3 = [string, number][-1]; // undefined //// [indexerWithTuple.js] +"use strict"; var strNumTuple = ["foo", 10]; var numTupleTuple = [10, ["bar", 20]]; var unionTuple1 = [10, "foo"]; diff --git a/tests/baselines/reference/indexersInClassType.js b/tests/baselines/reference/indexersInClassType.js index 1fdfafde7de09..eff7cdc6dce50 100644 --- a/tests/baselines/reference/indexersInClassType.js +++ b/tests/baselines/reference/indexersInClassType.js @@ -20,6 +20,7 @@ var r3 = r.a //// [indexersInClassType.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/indirectSelfReference.js b/tests/baselines/reference/indirectSelfReference.js index 19ac130ab1fb8..27d45898b4224 100644 --- a/tests/baselines/reference/indirectSelfReference.js +++ b/tests/baselines/reference/indirectSelfReference.js @@ -5,6 +5,7 @@ class a extends b{ } class b extends a{ } //// [indirectSelfReference.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/indirectSelfReferenceGeneric.js b/tests/baselines/reference/indirectSelfReferenceGeneric.js index 0f22f478c6ac0..1d25e107c32ae 100644 --- a/tests/baselines/reference/indirectSelfReferenceGeneric.js +++ b/tests/baselines/reference/indirectSelfReferenceGeneric.js @@ -5,6 +5,7 @@ class a extends b { } class b extends a { } //// [indirectSelfReferenceGeneric.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/indirectTypeParameterReferences.js b/tests/baselines/reference/indirectTypeParameterReferences.js index 404d45b3aa4ce..dee6d553b7380 100644 --- a/tests/baselines/reference/indirectTypeParameterReferences.js +++ b/tests/baselines/reference/indirectTypeParameterReferences.js @@ -33,6 +33,7 @@ let n: number = f(2).a; //// [indirectTypeParameterReferences.js] +"use strict"; // Repro from #19043 var flowtypes = function (b) { var combined = function (fn) { return null; }; diff --git a/tests/baselines/reference/inferFromGenericFunctionReturnTypes1.js b/tests/baselines/reference/inferFromGenericFunctionReturnTypes1.js index 6002d6d8e9863..75c3aa72db835 100644 --- a/tests/baselines/reference/inferFromGenericFunctionReturnTypes1.js +++ b/tests/baselines/reference/inferFromGenericFunctionReturnTypes1.js @@ -74,6 +74,7 @@ testSet.transform( //// [inferFromGenericFunctionReturnTypes1.js] +"use strict"; // Repro from #15680 // This is a contrived class. We could do the same thing with Observables, etc. var SetOf = /** @class */ (function () { diff --git a/tests/baselines/reference/inferFromGenericFunctionReturnTypes2.js b/tests/baselines/reference/inferFromGenericFunctionReturnTypes2.js index c856c9808595f..cfd970c5d0d95 100644 --- a/tests/baselines/reference/inferFromGenericFunctionReturnTypes2.js +++ b/tests/baselines/reference/inferFromGenericFunctionReturnTypes2.js @@ -98,6 +98,7 @@ const t2 = testSet.transform( //// [inferFromGenericFunctionReturnTypes2.js] +"use strict"; var f1 = function (s) { return s.length; }; var f2 = wrap(function (s) { return s.length; }); var f3 = arrayize(wrap(function (s) { return s.length; })); diff --git a/tests/baselines/reference/inferObjectTypeFromStringLiteralToKeyof.js b/tests/baselines/reference/inferObjectTypeFromStringLiteralToKeyof.js index 2f92ad35b326a..9a382c3e7bccc 100644 --- a/tests/baselines/reference/inferObjectTypeFromStringLiteralToKeyof.js +++ b/tests/baselines/reference/inferObjectTypeFromStringLiteralToKeyof.js @@ -9,5 +9,6 @@ const y = inference2({ a: 1, b: 2, c: 3, d(n) { return n } }, two); //// [inferObjectTypeFromStringLiteralToKeyof.js] +"use strict"; var x = inference1(two); var y = inference2({ a: 1, b: 2, c: 3, d: function (n) { return n; } }, two); diff --git a/tests/baselines/reference/inferParameterWithMethodCallInitializer.js b/tests/baselines/reference/inferParameterWithMethodCallInitializer.js index 59c7e8af37f27..ed53e4dc67b0a 100644 --- a/tests/baselines/reference/inferParameterWithMethodCallInitializer.js +++ b/tests/baselines/reference/inferParameterWithMethodCallInitializer.js @@ -23,6 +23,7 @@ class Weird { //// [inferParameterWithMethodCallInitializer.js] +"use strict"; function getNumber() { return 1; } diff --git a/tests/baselines/reference/inferSecondaryParameter.js b/tests/baselines/reference/inferSecondaryParameter.js index fd0f6080ea20a..761984f91d22f 100644 --- a/tests/baselines/reference/inferSecondaryParameter.js +++ b/tests/baselines/reference/inferSecondaryParameter.js @@ -12,6 +12,7 @@ b.m("test", function (bug) { }); //// [inferSecondaryParameter.js] +"use strict"; // type inference on 'bug' should give 'any' var b = { m: function (test, fn) { } }; b.m("test", function (bug) { diff --git a/tests/baselines/reference/inferSetterParamType.js b/tests/baselines/reference/inferSetterParamType.js index ad0ebb7eff0a4..38535ea755df7 100644 --- a/tests/baselines/reference/inferSetterParamType.js +++ b/tests/baselines/reference/inferSetterParamType.js @@ -21,6 +21,7 @@ class Foo2 { //// [inferSetterParamType.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/inferStringLiteralUnionForBindingElement.js b/tests/baselines/reference/inferStringLiteralUnionForBindingElement.js index 6eb174f496a1c..a342f3a2e4e69 100644 --- a/tests/baselines/reference/inferStringLiteralUnionForBindingElement.js +++ b/tests/baselines/reference/inferStringLiteralUnionForBindingElement.js @@ -25,6 +25,7 @@ function func3() { //// [inferStringLiteralUnionForBindingElement.js] +"use strict"; function func1() { var firstKey = func({ keys: ["aa", "bb"] }).firstKey; var a = firstKey; diff --git a/tests/baselines/reference/inferTInParentheses.js b/tests/baselines/reference/inferTInParentheses.js index 62efdabd4368e..190eda02c923d 100644 --- a/tests/baselines/reference/inferTInParentheses.js +++ b/tests/baselines/reference/inferTInParentheses.js @@ -17,3 +17,4 @@ type T8 = F1 extends (args: [...((((infer T))))]) => void ? T : never; type T9 = T extends IsNumber<((((infer N))))> ? true : false; //// [inferTInParentheses.js] +"use strict"; diff --git a/tests/baselines/reference/inferThisType.js b/tests/baselines/reference/inferThisType.js index cfa104230f952..d2def94c3e473 100644 --- a/tests/baselines/reference/inferThisType.js +++ b/tests/baselines/reference/inferThisType.js @@ -14,4 +14,5 @@ type r2 = This<(this: number) => void>; // should be number //// [inferThisType.js] +"use strict"; f(h); diff --git a/tests/baselines/reference/inferTupleFromBindingPattern.js b/tests/baselines/reference/inferTupleFromBindingPattern.js index bab1caa7c1696..4d585fb31ac3d 100644 --- a/tests/baselines/reference/inferTupleFromBindingPattern.js +++ b/tests/baselines/reference/inferTupleFromBindingPattern.js @@ -6,4 +6,5 @@ const [e1, e2, e3] = f(() => [1, "hi", true]); //// [inferTupleFromBindingPattern.js] +"use strict"; var _a = f(function () { return [1, "hi", true]; }), e1 = _a[0], e2 = _a[1], e3 = _a[2]; diff --git a/tests/baselines/reference/inferTypeArgumentsInSignatureWithRestParameters.js b/tests/baselines/reference/inferTypeArgumentsInSignatureWithRestParameters.js index 0a956db66ace0..89d9c9b451f5a 100644 --- a/tests/baselines/reference/inferTypeArgumentsInSignatureWithRestParameters.js +++ b/tests/baselines/reference/inferTypeArgumentsInSignatureWithRestParameters.js @@ -14,6 +14,7 @@ i(a); // OK //// [inferTypeArgumentsInSignatureWithRestParameters.js] +"use strict"; function f(array) { var args = []; for (var _i = 1; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/inferTypePredicates.js b/tests/baselines/reference/inferTypePredicates.js index a24586a228653..fae1a45c5dfcf 100644 --- a/tests/baselines/reference/inferTypePredicates.js +++ b/tests/baselines/reference/inferTypePredicates.js @@ -315,6 +315,7 @@ function negative(t: Something) { //// [inferTypePredicates.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/16069 var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/inferTypesInvalidExtendsDeclaration.js b/tests/baselines/reference/inferTypesInvalidExtendsDeclaration.js index 57833de7e4a6b..f61a82c8f2944 100644 --- a/tests/baselines/reference/inferTypesInvalidExtendsDeclaration.js +++ b/tests/baselines/reference/inferTypesInvalidExtendsDeclaration.js @@ -5,6 +5,7 @@ type Test = T extends infer A extends B ? number : string; //// [inferTypesInvalidExtendsDeclaration.js] +"use strict"; //// [inferTypesInvalidExtendsDeclaration.d.ts] diff --git a/tests/baselines/reference/inferenceAndSelfReferentialConstraint.js b/tests/baselines/reference/inferenceAndSelfReferentialConstraint.js index a45282b1362b3..ea523228e544d 100644 --- a/tests/baselines/reference/inferenceAndSelfReferentialConstraint.js +++ b/tests/baselines/reference/inferenceAndSelfReferentialConstraint.js @@ -33,6 +33,7 @@ const res3 = test({ //// [inferenceAndSelfReferentialConstraint.js] +"use strict"; // @strict function test(arg) { return arg; diff --git a/tests/baselines/reference/inferenceFromParameterlessLambda.js b/tests/baselines/reference/inferenceFromParameterlessLambda.js index 58a472b901d8f..6bd50a6e467ef 100644 --- a/tests/baselines/reference/inferenceFromParameterlessLambda.js +++ b/tests/baselines/reference/inferenceFromParameterlessLambda.js @@ -13,6 +13,7 @@ foo(n => n.length, () => 'hi'); //// [inferenceFromParameterlessLambda.js] +"use strict"; function foo(o, i) { } // Infer string from second argument because it isn't context sensitive foo(function (n) { return n.length; }, function () { return 'hi'; }); diff --git a/tests/baselines/reference/inferentialTypingObjectLiteralMethod1.js b/tests/baselines/reference/inferentialTypingObjectLiteralMethod1.js index f631f39d5fe21..23ba59ad1cab5 100644 --- a/tests/baselines/reference/inferentialTypingObjectLiteralMethod1.js +++ b/tests/baselines/reference/inferentialTypingObjectLiteralMethod1.js @@ -8,4 +8,5 @@ declare function foo(x: T, y: Int, z: Int): T; foo("", { method(p1) { return p1.length } }, { method(p2) { return undefined } }); //// [inferentialTypingObjectLiteralMethod1.js] +"use strict"; foo("", { method: function (p1) { return p1.length; } }, { method: function (p2) { return undefined; } }); diff --git a/tests/baselines/reference/inferentialTypingObjectLiteralMethod2.js b/tests/baselines/reference/inferentialTypingObjectLiteralMethod2.js index 568578efbbd09..957a1fd0607d4 100644 --- a/tests/baselines/reference/inferentialTypingObjectLiteralMethod2.js +++ b/tests/baselines/reference/inferentialTypingObjectLiteralMethod2.js @@ -8,4 +8,5 @@ declare function foo(x: T, y: Int, z: Int): T; foo("", { method(p1) { return p1.length } }, { method(p2) { return undefined } }); //// [inferentialTypingObjectLiteralMethod2.js] +"use strict"; foo("", { method: function (p1) { return p1.length; } }, { method: function (p2) { return undefined; } }); diff --git a/tests/baselines/reference/inferentialTypingUsingApparentType1.js b/tests/baselines/reference/inferentialTypingUsingApparentType1.js index 566beee75c720..2c5e4921d2a65 100644 --- a/tests/baselines/reference/inferentialTypingUsingApparentType1.js +++ b/tests/baselines/reference/inferentialTypingUsingApparentType1.js @@ -8,6 +8,7 @@ function foo number>(x: T): T { foo(x => x.length); //// [inferentialTypingUsingApparentType1.js] +"use strict"; function foo(x) { return undefined; } diff --git a/tests/baselines/reference/inferentialTypingUsingApparentType2.js b/tests/baselines/reference/inferentialTypingUsingApparentType2.js index 60e9c60ebafa6..60cd1c87addf4 100644 --- a/tests/baselines/reference/inferentialTypingUsingApparentType2.js +++ b/tests/baselines/reference/inferentialTypingUsingApparentType2.js @@ -8,6 +8,7 @@ function foo(x: T): T { foo({ m(x) { return x.length } }); //// [inferentialTypingUsingApparentType2.js] +"use strict"; function foo(x) { return undefined; } diff --git a/tests/baselines/reference/inferentialTypingUsingApparentType3.js b/tests/baselines/reference/inferentialTypingUsingApparentType3.js index ce8506d1e777b..8dc3498bc0821 100644 --- a/tests/baselines/reference/inferentialTypingUsingApparentType3.js +++ b/tests/baselines/reference/inferentialTypingUsingApparentType3.js @@ -29,6 +29,7 @@ var person = new ObjectField({ person.fields.id; //// [inferentialTypingUsingApparentType3.js] +"use strict"; var CharField = /** @class */ (function () { function CharField() { } diff --git a/tests/baselines/reference/inferentialTypingWithFunctionType.js b/tests/baselines/reference/inferentialTypingWithFunctionType.js index 8d92f5210a586..ba124729ccf17 100644 --- a/tests/baselines/reference/inferentialTypingWithFunctionType.js +++ b/tests/baselines/reference/inferentialTypingWithFunctionType.js @@ -7,4 +7,5 @@ declare function identity(y: V): V; var s = map("", identity); //// [inferentialTypingWithFunctionType.js] +"use strict"; var s = map("", identity); diff --git a/tests/baselines/reference/inferentialTypingWithFunctionType2.js b/tests/baselines/reference/inferentialTypingWithFunctionType2.js index 0c760aebfa4cf..15a5eac10d6df 100644 --- a/tests/baselines/reference/inferentialTypingWithFunctionType2.js +++ b/tests/baselines/reference/inferentialTypingWithFunctionType2.js @@ -7,6 +7,7 @@ function identity(a: A): A { var x = [1, 2, 3].map(identity)[0]; //// [inferentialTypingWithFunctionType2.js] +"use strict"; function identity(a) { return a; } diff --git a/tests/baselines/reference/inferentialTypingWithFunctionTypeNested.js b/tests/baselines/reference/inferentialTypingWithFunctionTypeNested.js index 785970d0dcfae..13407ea52ec86 100644 --- a/tests/baselines/reference/inferentialTypingWithFunctionTypeNested.js +++ b/tests/baselines/reference/inferentialTypingWithFunctionTypeNested.js @@ -7,4 +7,5 @@ declare function identity(y: V): V; var s = map("", () => { return { x: identity }; }); //// [inferentialTypingWithFunctionTypeNested.js] +"use strict"; var s = map("", function () { return { x: identity }; }); diff --git a/tests/baselines/reference/inferentialTypingWithFunctionTypeSyntacticScenarios.js b/tests/baselines/reference/inferentialTypingWithFunctionTypeSyntacticScenarios.js index 366be982741d4..adb3cb8c37a2f 100644 --- a/tests/baselines/reference/inferentialTypingWithFunctionTypeSyntacticScenarios.js +++ b/tests/baselines/reference/inferentialTypingWithFunctionTypeSyntacticScenarios.js @@ -36,6 +36,7 @@ s = map("", (identity)); s = map("", ("", identity)); //// [inferentialTypingWithFunctionTypeSyntacticScenarios.js] +"use strict"; var s; // dotted name var dottedIdentity = { x: identity }; diff --git a/tests/baselines/reference/inferentialTypingWithFunctionTypeZip.js b/tests/baselines/reference/inferentialTypingWithFunctionTypeZip.js index 49748d1e5187f..91dfaa9dfa586 100644 --- a/tests/baselines/reference/inferentialTypingWithFunctionTypeZip.js +++ b/tests/baselines/reference/inferentialTypingWithFunctionTypeZip.js @@ -7,6 +7,7 @@ var result = zipWith([1, 2], ['a', 'b'], pair); var i = result[0].x; // number //// [inferentialTypingWithFunctionTypeZip.js] +"use strict"; var pair; var zipWith; var result = zipWith([1, 2], ['a', 'b'], pair); diff --git a/tests/baselines/reference/inferentialTypingWithObjectLiteralProperties.js b/tests/baselines/reference/inferentialTypingWithObjectLiteralProperties.js index 6e7e03350f882..7763987f4a3db 100644 --- a/tests/baselines/reference/inferentialTypingWithObjectLiteralProperties.js +++ b/tests/baselines/reference/inferentialTypingWithObjectLiteralProperties.js @@ -9,6 +9,7 @@ f({ x: [1] }, { x: [null] }).x[0] = "" // was error TS2011: Cannot convert 'stri //// [inferentialTypingWithObjectLiteralProperties.js] +"use strict"; function f(x, y) { return x; } diff --git a/tests/baselines/reference/inferentiallyTypingAnEmptyArray.js b/tests/baselines/reference/inferentiallyTypingAnEmptyArray.js index 6007e7fdeb549..1291a70085e55 100644 --- a/tests/baselines/reference/inferentiallyTypingAnEmptyArray.js +++ b/tests/baselines/reference/inferentiallyTypingAnEmptyArray.js @@ -20,4 +20,5 @@ declare function foo(arr: T[]): T; foo([]).bar; //// [inferentiallyTypingAnEmptyArray.js] +"use strict"; foo([]).bar; diff --git a/tests/baselines/reference/inferredFunctionReturnTypeIsEmptyType.js b/tests/baselines/reference/inferredFunctionReturnTypeIsEmptyType.js index 50a7c732121f1..734bea2a2274c 100644 --- a/tests/baselines/reference/inferredFunctionReturnTypeIsEmptyType.js +++ b/tests/baselines/reference/inferredFunctionReturnTypeIsEmptyType.js @@ -12,6 +12,7 @@ function foo() { //// [inferredFunctionReturnTypeIsEmptyType.js] +"use strict"; function foo() { if (true) { return 42; diff --git a/tests/baselines/reference/inferredNonidentifierTypesGetQuotes.js b/tests/baselines/reference/inferredNonidentifierTypesGetQuotes.js index 1aa854079e8b7..e7cd516e1670b 100644 --- a/tests/baselines/reference/inferredNonidentifierTypesGetQuotes.js +++ b/tests/baselines/reference/inferredNonidentifierTypesGetQuotes.js @@ -6,6 +6,7 @@ var x = [{ "a-b": "string" }, {}]; var y = [{ ["a-b"]: "string" }, {}]; //// [inferredNonidentifierTypesGetQuotes.js] +"use strict"; var _a; var x = [{ "a-b": "string" }, {}]; var y = [(_a = {}, _a["a-b"] = "string", _a), {}]; diff --git a/tests/baselines/reference/inferredRestTypeFixedOnce.js b/tests/baselines/reference/inferredRestTypeFixedOnce.js index 8e6f6b272ebbf..b2703833d6543 100644 --- a/tests/baselines/reference/inferredRestTypeFixedOnce.js +++ b/tests/baselines/reference/inferredRestTypeFixedOnce.js @@ -6,6 +6,7 @@ wrap(({ cancelable } = {}) => {}); //// [inferredRestTypeFixedOnce.js] +"use strict"; function wrap(_) { } wrap(function (_a) { var _b = _a === void 0 ? {} : _a, cancelable = _b.cancelable; diff --git a/tests/baselines/reference/inferringAnyFunctionType1.js b/tests/baselines/reference/inferringAnyFunctionType1.js index 7ef813d063733..7cea6d91ed491 100644 --- a/tests/baselines/reference/inferringAnyFunctionType1.js +++ b/tests/baselines/reference/inferringAnyFunctionType1.js @@ -9,6 +9,7 @@ var v = f([x => x]); //// [inferringAnyFunctionType1.js] +"use strict"; function f(p) { return p; } diff --git a/tests/baselines/reference/inferringAnyFunctionType2.js b/tests/baselines/reference/inferringAnyFunctionType2.js index a2f825f27534a..9bff97fd9916a 100644 --- a/tests/baselines/reference/inferringAnyFunctionType2.js +++ b/tests/baselines/reference/inferringAnyFunctionType2.js @@ -8,6 +8,7 @@ function f number]>(p: T): T { var v = f([x => x]); //// [inferringAnyFunctionType2.js] +"use strict"; function f(p) { return p; } diff --git a/tests/baselines/reference/inferringAnyFunctionType3.js b/tests/baselines/reference/inferringAnyFunctionType3.js index ee3259443c591..43a8245f5d0cb 100644 --- a/tests/baselines/reference/inferringAnyFunctionType3.js +++ b/tests/baselines/reference/inferringAnyFunctionType3.js @@ -8,6 +8,7 @@ function f number)[]>(p: T): T { var v = f([x => x]); //// [inferringAnyFunctionType3.js] +"use strict"; function f(p) { return p; } diff --git a/tests/baselines/reference/inferringAnyFunctionType4.js b/tests/baselines/reference/inferringAnyFunctionType4.js index f6ec0dbe9bd5d..bff79f9661eac 100644 --- a/tests/baselines/reference/inferringAnyFunctionType4.js +++ b/tests/baselines/reference/inferringAnyFunctionType4.js @@ -8,6 +8,7 @@ function f number>(p: T): T { var v = f(x => x); //// [inferringAnyFunctionType4.js] +"use strict"; function f(p) { return p; } diff --git a/tests/baselines/reference/inferringAnyFunctionType5.js b/tests/baselines/reference/inferringAnyFunctionType5.js index 02b0fe72659a7..be5e17fbd25e2 100644 --- a/tests/baselines/reference/inferringAnyFunctionType5.js +++ b/tests/baselines/reference/inferringAnyFunctionType5.js @@ -8,6 +8,7 @@ function f number }>(p: T): T { var v = f({ q: x => x }); //// [inferringAnyFunctionType5.js] +"use strict"; function f(p) { return p; } diff --git a/tests/baselines/reference/inferringClassMembersFromAssignments.js b/tests/baselines/reference/inferringClassMembersFromAssignments.js index b3830e6f2c7eb..96e561e8cf765 100644 --- a/tests/baselines/reference/inferringClassMembersFromAssignments.js +++ b/tests/baselines/reference/inferringClassMembersFromAssignments.js @@ -133,6 +133,7 @@ var stringOrNumberOrUndefined = C.inStaticNestedArrowFunction; //// [output.js] +"use strict"; var C = /** @class */ (function () { function C() { var _this = this; diff --git a/tests/baselines/reference/inferringClassMembersFromAssignments8.js b/tests/baselines/reference/inferringClassMembersFromAssignments8.js index 0ae842bc4c0bc..06dd1d1e9ca80 100644 --- a/tests/baselines/reference/inferringClassMembersFromAssignments8.js +++ b/tests/baselines/reference/inferringClassMembersFromAssignments8.js @@ -12,6 +12,7 @@ a //// [inferringClassMembersFromAssignments8.js] +"use strict"; // no inference in TS files, even for `this` aliases: var app = function () { var _this = this; diff --git a/tests/baselines/reference/inferringReturnTypeFromConstructSignatureGeneric.js b/tests/baselines/reference/inferringReturnTypeFromConstructSignatureGeneric.js index 0da46be358e9b..eb4de736112bd 100644 --- a/tests/baselines/reference/inferringReturnTypeFromConstructSignatureGeneric.js +++ b/tests/baselines/reference/inferringReturnTypeFromConstructSignatureGeneric.js @@ -37,6 +37,7 @@ const g4 = g(C); //// [inferringReturnTypeFromConstructSignatureGeneric.js] +"use strict"; var GenericObject = /** @class */ (function () { function GenericObject() { } diff --git a/tests/baselines/reference/infiniteExpandingTypeThroughInheritanceInstantiation.js b/tests/baselines/reference/infiniteExpandingTypeThroughInheritanceInstantiation.js index c71c70663c33b..3321f8c8404ec 100644 --- a/tests/baselines/reference/infiniteExpandingTypeThroughInheritanceInstantiation.js +++ b/tests/baselines/reference/infiniteExpandingTypeThroughInheritanceInstantiation.js @@ -13,3 +13,4 @@ interface B extends A // error //// [infiniteExpandingTypeThroughInheritanceInstantiation.js] +"use strict"; diff --git a/tests/baselines/reference/infiniteExpansionThroughInstantiation.js b/tests/baselines/reference/infiniteExpansionThroughInstantiation.js index 0089646135f16..f94c7d90ce75a 100644 --- a/tests/baselines/reference/infiniteExpansionThroughInstantiation.js +++ b/tests/baselines/reference/infiniteExpansionThroughInstantiation.js @@ -27,6 +27,7 @@ function other(x: T) { //// [infiniteExpansionThroughInstantiation.js] +"use strict"; // instantiating a derived type can cause an infinitely expanding type reference to be generated list = ownerList; function other(x) { diff --git a/tests/baselines/reference/infiniteExpansionThroughInstantiation2.js b/tests/baselines/reference/infiniteExpansionThroughInstantiation2.js index 1f5e1131366b7..7e7280d78ef3b 100644 --- a/tests/baselines/reference/infiniteExpansionThroughInstantiation2.js +++ b/tests/baselines/reference/infiniteExpansionThroughInstantiation2.js @@ -14,5 +14,6 @@ interface BB extends AA> } //// [infiniteExpansionThroughInstantiation2.js] +"use strict"; // instantiating a derived type can cause an infinitely expanding type reference to be generated // which could be used in an assignment check for constraint satisfaction diff --git a/tests/baselines/reference/infiniteExpansionThroughTypeInference.js b/tests/baselines/reference/infiniteExpansionThroughTypeInference.js index 255d98906fdc0..19a00977255f9 100644 --- a/tests/baselines/reference/infiniteExpansionThroughTypeInference.js +++ b/tests/baselines/reference/infiniteExpansionThroughTypeInference.js @@ -13,6 +13,7 @@ function ff(g: G): void { //// [infiniteExpansionThroughTypeInference.js] +"use strict"; function ff(g) { ff(g); // when infering T here we need to make sure to not descend into the structure of G infinitely } diff --git a/tests/baselines/reference/infinitelyExpandingBaseTypes1.js b/tests/baselines/reference/infinitelyExpandingBaseTypes1.js index ecb3578338617..0db6e7ad02341 100644 --- a/tests/baselines/reference/infinitelyExpandingBaseTypes1.js +++ b/tests/baselines/reference/infinitelyExpandingBaseTypes1.js @@ -17,3 +17,4 @@ interface C extends A, B { } //// [infinitelyExpandingBaseTypes1.js] +"use strict"; diff --git a/tests/baselines/reference/infinitelyExpandingBaseTypes2.js b/tests/baselines/reference/infinitelyExpandingBaseTypes2.js index dff8c59ed46e7..d6d4cf8417d94 100644 --- a/tests/baselines/reference/infinitelyExpandingBaseTypes2.js +++ b/tests/baselines/reference/infinitelyExpandingBaseTypes2.js @@ -16,5 +16,6 @@ var b: B = a //// [infinitelyExpandingBaseTypes2.js] +"use strict"; var a; var b = a; diff --git a/tests/baselines/reference/infinitelyExpandingOverloads.js b/tests/baselines/reference/infinitelyExpandingOverloads.js index 950f244ae854d..716252c7e95af 100644 --- a/tests/baselines/reference/infinitelyExpandingOverloads.js +++ b/tests/baselines/reference/infinitelyExpandingOverloads.js @@ -29,6 +29,7 @@ class Widget { } //// [infinitelyExpandingOverloads.js] +"use strict"; var Validator2 = /** @class */ (function () { function Validator2() { } diff --git a/tests/baselines/reference/infinitelyExpandingTypeAssignability.js b/tests/baselines/reference/infinitelyExpandingTypeAssignability.js index 309449735143c..453e39817c0e4 100644 --- a/tests/baselines/reference/infinitelyExpandingTypeAssignability.js +++ b/tests/baselines/reference/infinitelyExpandingTypeAssignability.js @@ -14,5 +14,6 @@ var y : C = x //// [infinitelyExpandingTypeAssignability.js] +"use strict"; var x; var y = x; diff --git a/tests/baselines/reference/infinitelyExpandingTypes1.js b/tests/baselines/reference/infinitelyExpandingTypes1.js index 340753a9c436d..9e04e50488a0f 100644 --- a/tests/baselines/reference/infinitelyExpandingTypes1.js +++ b/tests/baselines/reference/infinitelyExpandingTypes1.js @@ -26,6 +26,7 @@ l == l2; // should error; l == l; // should not error //// [infinitelyExpandingTypes1.js] +"use strict"; var l; var m; l == m; // should error diff --git a/tests/baselines/reference/infinitelyExpandingTypes2.js b/tests/baselines/reference/infinitelyExpandingTypes2.js index 7206744480a6b..0de513c4bd853 100644 --- a/tests/baselines/reference/infinitelyExpandingTypes2.js +++ b/tests/baselines/reference/infinitelyExpandingTypes2.js @@ -19,6 +19,7 @@ f(v); // should not error //// [infinitelyExpandingTypes2.js] +"use strict"; function f(p) { console.log(p); } diff --git a/tests/baselines/reference/infinitelyExpandingTypes3.js b/tests/baselines/reference/infinitelyExpandingTypes3.js index 2d48d71b4378f..88e3a52ad0efe 100644 --- a/tests/baselines/reference/infinitelyExpandingTypes3.js +++ b/tests/baselines/reference/infinitelyExpandingTypes3.js @@ -21,6 +21,7 @@ var o2: OwnerList2; o1 = o2; // should not error //// [infinitelyExpandingTypes3.js] +"use strict"; var o1; var o2; o1 = o2; // should not error diff --git a/tests/baselines/reference/infinitelyExpandingTypes4.js b/tests/baselines/reference/infinitelyExpandingTypes4.js index 00dac58b75f9c..0d0845cfb0535 100644 --- a/tests/baselines/reference/infinitelyExpandingTypes4.js +++ b/tests/baselines/reference/infinitelyExpandingTypes4.js @@ -26,6 +26,7 @@ q1 = q3; // should not error //// [infinitelyExpandingTypes4.js] +"use strict"; var q1; var q2; var q3; diff --git a/tests/baselines/reference/infinitelyExpandingTypes5.js b/tests/baselines/reference/infinitelyExpandingTypes5.js index ad7b462ea46c0..791743ee95725 100644 --- a/tests/baselines/reference/infinitelyExpandingTypes5.js +++ b/tests/baselines/reference/infinitelyExpandingTypes5.js @@ -17,6 +17,7 @@ function from(arg: any): any { //// [infinitelyExpandingTypes5.js] +"use strict"; function from(arg) { return undefined; } diff --git a/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.js b/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.js index 378439a3a8cb8..077f81120bf1c 100644 --- a/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.js +++ b/tests/baselines/reference/infinitelyExpandingTypesNonGenericBase.js @@ -27,6 +27,7 @@ o(A); //// [infinitelyExpandingTypesNonGenericBase.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/infinitelyGenerativeInheritance1.js b/tests/baselines/reference/infinitelyGenerativeInheritance1.js index 033c8ca8ae1f3..3929880221102 100644 --- a/tests/baselines/reference/infinitelyGenerativeInheritance1.js +++ b/tests/baselines/reference/infinitelyGenerativeInheritance1.js @@ -12,3 +12,4 @@ interface MyStack extends Stack { //// [infinitelyGenerativeInheritance1.js] +"use strict"; diff --git a/tests/baselines/reference/inheritFromGenericTypeParameter.js b/tests/baselines/reference/inheritFromGenericTypeParameter.js index 34f4c187af298..c1f925ea5e511 100644 --- a/tests/baselines/reference/inheritFromGenericTypeParameter.js +++ b/tests/baselines/reference/inheritFromGenericTypeParameter.js @@ -5,6 +5,7 @@ class C extends T { } interface I extends T { } //// [inheritFromGenericTypeParameter.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritSameNamePrivatePropertiesFromDifferentOrigins.js b/tests/baselines/reference/inheritSameNamePrivatePropertiesFromDifferentOrigins.js index 72018ac809f26..27a03f8a77ae4 100644 --- a/tests/baselines/reference/inheritSameNamePrivatePropertiesFromDifferentOrigins.js +++ b/tests/baselines/reference/inheritSameNamePrivatePropertiesFromDifferentOrigins.js @@ -14,6 +14,7 @@ interface A extends C, C2 { // error } //// [inheritSameNamePrivatePropertiesFromDifferentOrigins.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/inheritSameNamePrivatePropertiesFromSameOrigin.js b/tests/baselines/reference/inheritSameNamePrivatePropertiesFromSameOrigin.js index a5546e093ce94..e0169935813a5 100644 --- a/tests/baselines/reference/inheritSameNamePrivatePropertiesFromSameOrigin.js +++ b/tests/baselines/reference/inheritSameNamePrivatePropertiesFromSameOrigin.js @@ -13,6 +13,7 @@ interface A extends C, C2 { // ok } //// [inheritSameNamePrivatePropertiesFromSameOrigin.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritSameNamePropertiesWithDifferentOptionality.js b/tests/baselines/reference/inheritSameNamePropertiesWithDifferentOptionality.js index 364711b4dea1c..6c905607f5160 100644 --- a/tests/baselines/reference/inheritSameNamePropertiesWithDifferentOptionality.js +++ b/tests/baselines/reference/inheritSameNamePropertiesWithDifferentOptionality.js @@ -14,3 +14,4 @@ interface A extends C, C2 { // error } //// [inheritSameNamePropertiesWithDifferentOptionality.js] +"use strict"; diff --git a/tests/baselines/reference/inheritSameNamePropertiesWithDifferentVisibility.js b/tests/baselines/reference/inheritSameNamePropertiesWithDifferentVisibility.js index 4702e9c8cbeff..4c69973a1e108 100644 --- a/tests/baselines/reference/inheritSameNamePropertiesWithDifferentVisibility.js +++ b/tests/baselines/reference/inheritSameNamePropertiesWithDifferentVisibility.js @@ -14,6 +14,7 @@ interface A extends C, C2 { // error } //// [inheritSameNamePropertiesWithDifferentVisibility.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/inheritance.js b/tests/baselines/reference/inheritance.js index a58e8c19a6dae..915b64d4bf0f3 100644 --- a/tests/baselines/reference/inheritance.js +++ b/tests/baselines/reference/inheritance.js @@ -37,6 +37,7 @@ class Baad extends Good { //// [inheritance.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritance1.js b/tests/baselines/reference/inheritance1.js index 87bea2f68fa6a..a7fbfcdc40fc7 100644 --- a/tests/baselines/reference/inheritance1.js +++ b/tests/baselines/reference/inheritance1.js @@ -64,6 +64,7 @@ l1 = sc; l1 = c; //// [inheritance1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollision.js b/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollision.js index 9bff1a8c7011e..b8d332bdfbc02 100644 --- a/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollision.js +++ b/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollision.js @@ -13,6 +13,7 @@ class C extends B { //// [inheritanceGrandParentPrivateMemberCollision.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js b/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js index 6039cd7edacf4..5fd6cd43893bb 100644 --- a/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js +++ b/tests/baselines/reference/inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js @@ -13,6 +13,7 @@ class C extends B { //// [inheritanceGrandParentPrivateMemberCollisionWithPublicMember.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js b/tests/baselines/reference/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js index c30e1cddb2a2f..4ded0f72f27b8 100644 --- a/tests/baselines/reference/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js +++ b/tests/baselines/reference/inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js @@ -13,6 +13,7 @@ class C extends B { //// [inheritanceGrandParentPublicMemberCollisionWithPrivateMember.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceMemberAccessorOverridingAccessor.js b/tests/baselines/reference/inheritanceMemberAccessorOverridingAccessor.js index 96bc1a5c6be40..baf65f23cf5ec 100644 --- a/tests/baselines/reference/inheritanceMemberAccessorOverridingAccessor.js +++ b/tests/baselines/reference/inheritanceMemberAccessorOverridingAccessor.js @@ -20,6 +20,7 @@ class b extends a { } //// [inheritanceMemberAccessorOverridingAccessor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod.js b/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod.js index f40bd95e04e77..9b60213d93cd7 100644 --- a/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod.js +++ b/tests/baselines/reference/inheritanceMemberAccessorOverridingMethod.js @@ -17,6 +17,7 @@ class b extends a { } //// [inheritanceMemberAccessorOverridingMethod.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceMemberAccessorOverridingProperty.js b/tests/baselines/reference/inheritanceMemberAccessorOverridingProperty.js index 6582ccac62377..4bac96429176d 100644 --- a/tests/baselines/reference/inheritanceMemberAccessorOverridingProperty.js +++ b/tests/baselines/reference/inheritanceMemberAccessorOverridingProperty.js @@ -15,6 +15,7 @@ class b extends a { } //// [inheritanceMemberAccessorOverridingProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceMemberFuncOverridingAccessor.js b/tests/baselines/reference/inheritanceMemberFuncOverridingAccessor.js index f72760f47b851..ccc70bca18dc6 100644 --- a/tests/baselines/reference/inheritanceMemberFuncOverridingAccessor.js +++ b/tests/baselines/reference/inheritanceMemberFuncOverridingAccessor.js @@ -17,6 +17,7 @@ class b extends a { } //// [inheritanceMemberFuncOverridingAccessor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceMemberFuncOverridingMethod.js b/tests/baselines/reference/inheritanceMemberFuncOverridingMethod.js index 5f787e6ea7da6..b1dd8ff442b98 100644 --- a/tests/baselines/reference/inheritanceMemberFuncOverridingMethod.js +++ b/tests/baselines/reference/inheritanceMemberFuncOverridingMethod.js @@ -14,6 +14,7 @@ class b extends a { } //// [inheritanceMemberFuncOverridingMethod.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceMemberFuncOverridingProperty.js b/tests/baselines/reference/inheritanceMemberFuncOverridingProperty.js index f18752e4a926f..bd9c5cde28d17 100644 --- a/tests/baselines/reference/inheritanceMemberFuncOverridingProperty.js +++ b/tests/baselines/reference/inheritanceMemberFuncOverridingProperty.js @@ -12,6 +12,7 @@ class b extends a { } //// [inheritanceMemberFuncOverridingProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceMemberPropertyOverridingAccessor.js b/tests/baselines/reference/inheritanceMemberPropertyOverridingAccessor.js index b734fe03ea3d6..ac5a8e7fb540c 100644 --- a/tests/baselines/reference/inheritanceMemberPropertyOverridingAccessor.js +++ b/tests/baselines/reference/inheritanceMemberPropertyOverridingAccessor.js @@ -16,6 +16,7 @@ class b extends a { } //// [inheritanceMemberPropertyOverridingAccessor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceMemberPropertyOverridingMethod.js b/tests/baselines/reference/inheritanceMemberPropertyOverridingMethod.js index 7e3c209d2327c..6295b0310d1fb 100644 --- a/tests/baselines/reference/inheritanceMemberPropertyOverridingMethod.js +++ b/tests/baselines/reference/inheritanceMemberPropertyOverridingMethod.js @@ -12,6 +12,7 @@ class b extends a { } //// [inheritanceMemberPropertyOverridingMethod.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceMemberPropertyOverridingProperty.js b/tests/baselines/reference/inheritanceMemberPropertyOverridingProperty.js index 4eafd8c34a15b..9cf23b6ec63a3 100644 --- a/tests/baselines/reference/inheritanceMemberPropertyOverridingProperty.js +++ b/tests/baselines/reference/inheritanceMemberPropertyOverridingProperty.js @@ -10,6 +10,7 @@ class b extends a { } //// [inheritanceMemberPropertyOverridingProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceOfGenericConstructorMethod1.js b/tests/baselines/reference/inheritanceOfGenericConstructorMethod1.js index e9f188d493063..5a7fa23bb6fd0 100644 --- a/tests/baselines/reference/inheritanceOfGenericConstructorMethod1.js +++ b/tests/baselines/reference/inheritanceOfGenericConstructorMethod1.js @@ -10,6 +10,7 @@ var b3 = new B(); // error, could not select overload for 'new' expression //// [inheritanceOfGenericConstructorMethod1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceOfGenericConstructorMethod2.js b/tests/baselines/reference/inheritanceOfGenericConstructorMethod2.js index 79cfcdf721c17..f561329ddb1e6 100644 --- a/tests/baselines/reference/inheritanceOfGenericConstructorMethod2.js +++ b/tests/baselines/reference/inheritanceOfGenericConstructorMethod2.js @@ -17,6 +17,7 @@ var n3 = new N.D2(); // no error, D2 //// [inheritanceOfGenericConstructorMethod2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticAccessorOverridingAccessor.js b/tests/baselines/reference/inheritanceStaticAccessorOverridingAccessor.js index 0d282b0273d37..953b7304a2f3e 100644 --- a/tests/baselines/reference/inheritanceStaticAccessorOverridingAccessor.js +++ b/tests/baselines/reference/inheritanceStaticAccessorOverridingAccessor.js @@ -20,6 +20,7 @@ class b extends a { } //// [inheritanceStaticAccessorOverridingAccessor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticAccessorOverridingMethod.js b/tests/baselines/reference/inheritanceStaticAccessorOverridingMethod.js index 3a504f8928e21..757fdd2798fd5 100644 --- a/tests/baselines/reference/inheritanceStaticAccessorOverridingMethod.js +++ b/tests/baselines/reference/inheritanceStaticAccessorOverridingMethod.js @@ -17,6 +17,7 @@ class b extends a { } //// [inheritanceStaticAccessorOverridingMethod.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticAccessorOverridingProperty.js b/tests/baselines/reference/inheritanceStaticAccessorOverridingProperty.js index 3c81e4bc57451..c0c82fd58c5de 100644 --- a/tests/baselines/reference/inheritanceStaticAccessorOverridingProperty.js +++ b/tests/baselines/reference/inheritanceStaticAccessorOverridingProperty.js @@ -15,6 +15,7 @@ class b extends a { } //// [inheritanceStaticAccessorOverridingProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticFuncOverridingAccessor.js b/tests/baselines/reference/inheritanceStaticFuncOverridingAccessor.js index 45c6d93080413..2be32fe047ef4 100644 --- a/tests/baselines/reference/inheritanceStaticFuncOverridingAccessor.js +++ b/tests/baselines/reference/inheritanceStaticFuncOverridingAccessor.js @@ -17,6 +17,7 @@ class b extends a { } //// [inheritanceStaticFuncOverridingAccessor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticFuncOverridingAccessorOfFuncType.js b/tests/baselines/reference/inheritanceStaticFuncOverridingAccessorOfFuncType.js index b62441a5d946b..0127eddb926b9 100644 --- a/tests/baselines/reference/inheritanceStaticFuncOverridingAccessorOfFuncType.js +++ b/tests/baselines/reference/inheritanceStaticFuncOverridingAccessorOfFuncType.js @@ -14,6 +14,7 @@ class b extends a { } //// [inheritanceStaticFuncOverridingAccessorOfFuncType.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticFuncOverridingMethod.js b/tests/baselines/reference/inheritanceStaticFuncOverridingMethod.js index e7342b1bd2f8c..c93b627ac69ff 100644 --- a/tests/baselines/reference/inheritanceStaticFuncOverridingMethod.js +++ b/tests/baselines/reference/inheritanceStaticFuncOverridingMethod.js @@ -14,6 +14,7 @@ class b extends a { } //// [inheritanceStaticFuncOverridingMethod.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticFuncOverridingProperty.js b/tests/baselines/reference/inheritanceStaticFuncOverridingProperty.js index 2adc5957c89a4..ea074c3c887e4 100644 --- a/tests/baselines/reference/inheritanceStaticFuncOverridingProperty.js +++ b/tests/baselines/reference/inheritanceStaticFuncOverridingProperty.js @@ -12,6 +12,7 @@ class b extends a { } //// [inheritanceStaticFuncOverridingProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticFuncOverridingPropertyOfFuncType.js b/tests/baselines/reference/inheritanceStaticFuncOverridingPropertyOfFuncType.js index d05f45e990103..f6b3735408057 100644 --- a/tests/baselines/reference/inheritanceStaticFuncOverridingPropertyOfFuncType.js +++ b/tests/baselines/reference/inheritanceStaticFuncOverridingPropertyOfFuncType.js @@ -12,6 +12,7 @@ class b extends a { } //// [inheritanceStaticFuncOverridingPropertyOfFuncType.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticFunctionOverridingInstanceProperty.js b/tests/baselines/reference/inheritanceStaticFunctionOverridingInstanceProperty.js index 409740df0accf..b47d657538be0 100644 --- a/tests/baselines/reference/inheritanceStaticFunctionOverridingInstanceProperty.js +++ b/tests/baselines/reference/inheritanceStaticFunctionOverridingInstanceProperty.js @@ -12,6 +12,7 @@ class b extends a { } //// [inheritanceStaticFunctionOverridingInstanceProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticMembersCompatible.js b/tests/baselines/reference/inheritanceStaticMembersCompatible.js index 6fe28fa34414b..c78504c27c935 100644 --- a/tests/baselines/reference/inheritanceStaticMembersCompatible.js +++ b/tests/baselines/reference/inheritanceStaticMembersCompatible.js @@ -10,6 +10,7 @@ class b extends a { } //// [inheritanceStaticMembersCompatible.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticMembersIncompatible.js b/tests/baselines/reference/inheritanceStaticMembersIncompatible.js index 6c16525851756..81c51be5b0830 100644 --- a/tests/baselines/reference/inheritanceStaticMembersIncompatible.js +++ b/tests/baselines/reference/inheritanceStaticMembersIncompatible.js @@ -10,6 +10,7 @@ class b extends a { } //// [inheritanceStaticMembersIncompatible.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticPropertyOverridingAccessor.js b/tests/baselines/reference/inheritanceStaticPropertyOverridingAccessor.js index 7c8cb8cd0fac0..09a88ec1d54d8 100644 --- a/tests/baselines/reference/inheritanceStaticPropertyOverridingAccessor.js +++ b/tests/baselines/reference/inheritanceStaticPropertyOverridingAccessor.js @@ -14,6 +14,7 @@ class b extends a { } //// [inheritanceStaticPropertyOverridingAccessor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticPropertyOverridingMethod.js b/tests/baselines/reference/inheritanceStaticPropertyOverridingMethod.js index cb226e73c987e..8630cbe97ef09 100644 --- a/tests/baselines/reference/inheritanceStaticPropertyOverridingMethod.js +++ b/tests/baselines/reference/inheritanceStaticPropertyOverridingMethod.js @@ -12,6 +12,7 @@ class b extends a { } //// [inheritanceStaticPropertyOverridingMethod.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritanceStaticPropertyOverridingProperty.js b/tests/baselines/reference/inheritanceStaticPropertyOverridingProperty.js index e91e08a3d8b76..25494c7a987af 100644 --- a/tests/baselines/reference/inheritanceStaticPropertyOverridingProperty.js +++ b/tests/baselines/reference/inheritanceStaticPropertyOverridingProperty.js @@ -10,6 +10,7 @@ class b extends a { } //// [inheritanceStaticPropertyOverridingProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritedConstructorPropertyContextualType.js b/tests/baselines/reference/inheritedConstructorPropertyContextualType.js index 5874cacb7a4bc..2f5ab1fc50c77 100644 --- a/tests/baselines/reference/inheritedConstructorPropertyContextualType.js +++ b/tests/baselines/reference/inheritedConstructorPropertyContextualType.js @@ -15,6 +15,7 @@ class Assignment extends Base { } //// [inheritedConstructorPropertyContextualType.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritedConstructorWithRestParams.js b/tests/baselines/reference/inheritedConstructorWithRestParams.js index d2575e79e7d81..9ec84c52c1667 100644 --- a/tests/baselines/reference/inheritedConstructorWithRestParams.js +++ b/tests/baselines/reference/inheritedConstructorWithRestParams.js @@ -17,6 +17,7 @@ new Derived("", 3); new Derived(3); //// [inheritedConstructorWithRestParams.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritedConstructorWithRestParams2.js b/tests/baselines/reference/inheritedConstructorWithRestParams2.js index 7b5a1e6e79cb4..a9dc65a0e3d80 100644 --- a/tests/baselines/reference/inheritedConstructorWithRestParams2.js +++ b/tests/baselines/reference/inheritedConstructorWithRestParams2.js @@ -37,6 +37,7 @@ new Derived("", 3, "", 3); new Derived("", 3, "", ""); //// [inheritedConstructorWithRestParams2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritedFunctionAssignmentCompatibility.js b/tests/baselines/reference/inheritedFunctionAssignmentCompatibility.js index 4eb00eebc8736..01d10a58b651d 100644 --- a/tests/baselines/reference/inheritedFunctionAssignmentCompatibility.js +++ b/tests/baselines/reference/inheritedFunctionAssignmentCompatibility.js @@ -11,6 +11,7 @@ fn(function (a, b) { return true; }) //// [inheritedFunctionAssignmentCompatibility.js] +"use strict"; function fn(cb) { } fn(function (a, b) { return true; }); fn(function (a, b) { return true; }); diff --git a/tests/baselines/reference/inheritedGenericCallSignature.js b/tests/baselines/reference/inheritedGenericCallSignature.js index 76495091a26ad..7469d5bb76666 100644 --- a/tests/baselines/reference/inheritedGenericCallSignature.js +++ b/tests/baselines/reference/inheritedGenericCallSignature.js @@ -30,6 +30,7 @@ y.length; // should not error //// [inheritedGenericCallSignature.js] +"use strict"; var x; var y = x(undefined); y.length; // should not error diff --git a/tests/baselines/reference/inheritedMembersAndIndexSignaturesFromDifferentBases.js b/tests/baselines/reference/inheritedMembersAndIndexSignaturesFromDifferentBases.js index d0ebc4198a5c1..c1d1f568aae09 100644 --- a/tests/baselines/reference/inheritedMembersAndIndexSignaturesFromDifferentBases.js +++ b/tests/baselines/reference/inheritedMembersAndIndexSignaturesFromDifferentBases.js @@ -30,3 +30,4 @@ interface G extends A, B, C, E { } // should only report one error interface H extends A, F { } // Should report no error at all because error is internal to F //// [inheritedMembersAndIndexSignaturesFromDifferentBases.js] +"use strict"; diff --git a/tests/baselines/reference/inheritedMembersAndIndexSignaturesFromDifferentBases2.js b/tests/baselines/reference/inheritedMembersAndIndexSignaturesFromDifferentBases2.js index 960ca5a183b21..1364c4cf95466 100644 --- a/tests/baselines/reference/inheritedMembersAndIndexSignaturesFromDifferentBases2.js +++ b/tests/baselines/reference/inheritedMembersAndIndexSignaturesFromDifferentBases2.js @@ -12,3 +12,4 @@ interface B { interface C extends B, A { } // Should succeed //// [inheritedMembersAndIndexSignaturesFromDifferentBases2.js] +"use strict"; diff --git a/tests/baselines/reference/inheritedModuleMembersForClodule.js b/tests/baselines/reference/inheritedModuleMembersForClodule.js index c918ed1b2f901..b8acb49b37114 100644 --- a/tests/baselines/reference/inheritedModuleMembersForClodule.js +++ b/tests/baselines/reference/inheritedModuleMembersForClodule.js @@ -24,6 +24,7 @@ class E extends D { //// [inheritedModuleMembersForClodule.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/inheritedOverloadedSpecializedSignatures.js b/tests/baselines/reference/inheritedOverloadedSpecializedSignatures.js index d5e0774b7f28a..43d65be507de0 100644 --- a/tests/baselines/reference/inheritedOverloadedSpecializedSignatures.js +++ b/tests/baselines/reference/inheritedOverloadedSpecializedSignatures.js @@ -56,6 +56,7 @@ var x9: void = c('generic'); //// [inheritedOverloadedSpecializedSignatures.js] +"use strict"; var b; // Should not error b('foo').charAt(0); diff --git a/tests/baselines/reference/inheritedStringIndexersFromDifferentBaseTypes.js b/tests/baselines/reference/inheritedStringIndexersFromDifferentBaseTypes.js index ad85e985eee75..5bc2c7bc86ddf 100644 --- a/tests/baselines/reference/inheritedStringIndexersFromDifferentBaseTypes.js +++ b/tests/baselines/reference/inheritedStringIndexersFromDifferentBaseTypes.js @@ -31,3 +31,4 @@ interface D2 { interface E2 extends A2, D2 { } // error //// [inheritedStringIndexersFromDifferentBaseTypes.js] +"use strict"; diff --git a/tests/baselines/reference/inheritedStringIndexersFromDifferentBaseTypes2.js b/tests/baselines/reference/inheritedStringIndexersFromDifferentBaseTypes2.js index 7ad455a0f9e22..1ada71fa0c8f0 100644 --- a/tests/baselines/reference/inheritedStringIndexersFromDifferentBaseTypes2.js +++ b/tests/baselines/reference/inheritedStringIndexersFromDifferentBaseTypes2.js @@ -27,3 +27,4 @@ interface F extends A, D { } // ok because we overrode D's number index signature //// [inheritedStringIndexersFromDifferentBaseTypes2.js] +"use strict"; diff --git a/tests/baselines/reference/initializePropertiesWithRenamedLet.js b/tests/baselines/reference/initializePropertiesWithRenamedLet.js index d7485cd496c4d..ad21393ba2deb 100644 --- a/tests/baselines/reference/initializePropertiesWithRenamedLet.js +++ b/tests/baselines/reference/initializePropertiesWithRenamedLet.js @@ -18,6 +18,7 @@ if (true) { } //// [initializePropertiesWithRenamedLet.js] +"use strict"; var x0; if (true) { var x0_1; diff --git a/tests/baselines/reference/initializedDestructuringAssignmentTypes.js b/tests/baselines/reference/initializedDestructuringAssignmentTypes.js index 5ac56370292d7..d8c59308ebc02 100644 --- a/tests/baselines/reference/initializedDestructuringAssignmentTypes.js +++ b/tests/baselines/reference/initializedDestructuringAssignmentTypes.js @@ -6,5 +6,6 @@ const [, a = ''] = ''.match('') || []; a.toFixed() //// [initializedDestructuringAssignmentTypes.js] +"use strict"; var _a = ''.match('') || [], _b = _a[1], a = _b === void 0 ? '' : _b; a.toFixed(); diff --git a/tests/baselines/reference/initializerReferencingConstructorLocals.js b/tests/baselines/reference/initializerReferencingConstructorLocals.js index c582022a25c68..0670edf301db1 100644 --- a/tests/baselines/reference/initializerReferencingConstructorLocals.js +++ b/tests/baselines/reference/initializerReferencingConstructorLocals.js @@ -24,6 +24,7 @@ class D { } //// [initializerReferencingConstructorLocals.js] +"use strict"; // Initializer expressions for instance member variables are evaluated in the scope of the class constructor body but are not permitted to reference parameters or local variables of the constructor. var C = /** @class */ (function () { function C(x) { diff --git a/tests/baselines/reference/initializerReferencingConstructorParameters.js b/tests/baselines/reference/initializerReferencingConstructorParameters.js index 93d1e69605a90..67df1cae4c1ea 100644 --- a/tests/baselines/reference/initializerReferencingConstructorParameters.js +++ b/tests/baselines/reference/initializerReferencingConstructorParameters.js @@ -28,6 +28,7 @@ class F { } //// [initializerReferencingConstructorParameters.js] +"use strict"; // Initializer expressions for instance member variables are evaluated in the scope of the class constructor body but are not permitted to reference parameters or local variables of the constructor. var C = /** @class */ (function () { function C(x) { diff --git a/tests/baselines/reference/initializersInAmbientEnums.js b/tests/baselines/reference/initializersInAmbientEnums.js index a4fb4acaaab33..9732b37e55656 100644 --- a/tests/baselines/reference/initializersInAmbientEnums.js +++ b/tests/baselines/reference/initializersInAmbientEnums.js @@ -8,3 +8,4 @@ declare enum E { } //// [initializersInAmbientEnums.js] +"use strict"; diff --git a/tests/baselines/reference/initializersWidened.js b/tests/baselines/reference/initializersWidened.js index 4c4c7c64cd6cc..a1f8048e73e84 100644 --- a/tests/baselines/reference/initializersWidened.js +++ b/tests/baselines/reference/initializersWidened.js @@ -27,6 +27,7 @@ var y5 = undefined || y2; var z5 = void 0 || y2; //// [initializersWidened.js] +"use strict"; // these are widened to any at the point of assignment var x1 = null; var y1 = undefined; diff --git a/tests/baselines/reference/inlineConditionalHasSimilarAssignability.js b/tests/baselines/reference/inlineConditionalHasSimilarAssignability.js index fd3e01515fe23..60bf61f69247d 100644 --- a/tests/baselines/reference/inlineConditionalHasSimilarAssignability.js +++ b/tests/baselines/reference/inlineConditionalHasSimilarAssignability.js @@ -19,6 +19,7 @@ function foo(a: T) { } //// [inlineConditionalHasSimilarAssignability.js] +"use strict"; function foo(a) { var b = 0; a = b; // ok diff --git a/tests/baselines/reference/inlineSourceMap.js b/tests/baselines/reference/inlineSourceMap.js index de17791d8dc95..5dd6cac046d2c 100644 --- a/tests/baselines/reference/inlineSourceMap.js +++ b/tests/baselines/reference/inlineSourceMap.js @@ -5,6 +5,7 @@ var x = 0; console.log(x); //// [inlineSourceMap.js] +"use strict"; var x = 0; console.log(x); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lU291cmNlTWFwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW5saW5lU291cmNlTWFwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMifQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lU291cmNlTWFwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW5saW5lU291cmNlTWFwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDIn0= \ No newline at end of file diff --git a/tests/baselines/reference/inlineSourceMap.sourcemap.txt b/tests/baselines/reference/inlineSourceMap.sourcemap.txt index 3eaa409d2f558..91d869554150b 100644 --- a/tests/baselines/reference/inlineSourceMap.sourcemap.txt +++ b/tests/baselines/reference/inlineSourceMap.sourcemap.txt @@ -1,6 +1,6 @@ =================================================================== JsFile: inlineSourceMap.js -mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lU291cmNlTWFwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW5saW5lU291cmNlTWFwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMifQ== +mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lU291cmNlTWFwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW5saW5lU291cmNlTWFwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDIn0= sourceRoot: sources: inlineSourceMap.ts =================================================================== @@ -8,6 +8,7 @@ sources: inlineSourceMap.ts emittedFile:inlineSourceMap.js sourceFile:inlineSourceMap.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var x = 0; 1 > 2 >^^^^ @@ -22,12 +23,12 @@ sourceFile:inlineSourceMap.ts 4 > = 5 > 0 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -6 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +6 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) --- >>>console.log(x); 1-> @@ -48,13 +49,13 @@ sourceFile:inlineSourceMap.ts 6 > x 7 > ) 8 > ; -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 8) Source(2, 8) + SourceIndex(0) -3 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) -4 >Emitted(2, 12) Source(2, 12) + SourceIndex(0) -5 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) -6 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) -7 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) -8 >Emitted(2, 16) Source(2, 16) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(2, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(2, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(2, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(2, 16) + SourceIndex(0) --- ->>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lU291cmNlTWFwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW5saW5lU291cmNlTWFwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMifQ== \ No newline at end of file +>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5saW5lU291cmNlTWFwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiaW5saW5lU291cmNlTWFwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDIn0= \ No newline at end of file diff --git a/tests/baselines/reference/inlineSourceMap2.js b/tests/baselines/reference/inlineSourceMap2.js index d5e14bac1f70f..f2f6b78610ad2 100644 --- a/tests/baselines/reference/inlineSourceMap2.js +++ b/tests/baselines/reference/inlineSourceMap2.js @@ -8,7 +8,8 @@ console.log(x); //// [outfile.js] +"use strict"; // configuration errors var x = 0; console.log(x); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0ZmlsZS5qcyIsInNvdXJjZVJvb3QiOiJmaWxlOi8vL2ZvbGRlci8iLCJzb3VyY2VzIjpbImlubGluZVNvdXJjZU1hcDIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsdUJBQXVCO0FBRXZCLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMifQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0ZmlsZS5qcyIsInNvdXJjZVJvb3QiOiJmaWxlOi8vL2ZvbGRlci8iLCJzb3VyY2VzIjpbImlubGluZVNvdXJjZU1hcDIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHVCQUF1QjtBQUV2QixJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDIn0= \ No newline at end of file diff --git a/tests/baselines/reference/inlineSourceMap2.sourcemap.txt b/tests/baselines/reference/inlineSourceMap2.sourcemap.txt index 5407acb05fd64..d9901f473fc86 100644 --- a/tests/baselines/reference/inlineSourceMap2.sourcemap.txt +++ b/tests/baselines/reference/inlineSourceMap2.sourcemap.txt @@ -1,6 +1,6 @@ =================================================================== JsFile: outfile.js -mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0ZmlsZS5qcyIsInNvdXJjZVJvb3QiOiJmaWxlOi8vL2ZvbGRlci8iLCJzb3VyY2VzIjpbImlubGluZVNvdXJjZU1hcDIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsdUJBQXVCO0FBRXZCLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMifQ== +mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0ZmlsZS5qcyIsInNvdXJjZVJvb3QiOiJmaWxlOi8vL2ZvbGRlci8iLCJzb3VyY2VzIjpbImlubGluZVNvdXJjZU1hcDIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHVCQUF1QjtBQUV2QixJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDIn0= sourceRoot: file:///folder/ sources: inlineSourceMap2.ts =================================================================== @@ -8,13 +8,14 @@ sources: inlineSourceMap2.ts emittedFile:outfile.js sourceFile:inlineSourceMap2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>// configuration errors 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 >// configuration errors -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 24) Source(1, 24) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 24) Source(1, 24) + SourceIndex(0) --- >>>var x = 0; 1 > @@ -32,12 +33,12 @@ sourceFile:inlineSourceMap2.ts 4 > = 5 > 0 6 > ; -1 >Emitted(2, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(3, 5) + SourceIndex(0) -3 >Emitted(2, 6) Source(3, 6) + SourceIndex(0) -4 >Emitted(2, 9) Source(3, 9) + SourceIndex(0) -5 >Emitted(2, 10) Source(3, 10) + SourceIndex(0) -6 >Emitted(2, 11) Source(3, 11) + SourceIndex(0) +1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) +3 >Emitted(3, 6) Source(3, 6) + SourceIndex(0) +4 >Emitted(3, 9) Source(3, 9) + SourceIndex(0) +5 >Emitted(3, 10) Source(3, 10) + SourceIndex(0) +6 >Emitted(3, 11) Source(3, 11) + SourceIndex(0) --- >>>console.log(x); 1-> @@ -58,13 +59,13 @@ sourceFile:inlineSourceMap2.ts 6 > x 7 > ) 8 > ; -1->Emitted(3, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(3, 8) Source(4, 8) + SourceIndex(0) -3 >Emitted(3, 9) Source(4, 9) + SourceIndex(0) -4 >Emitted(3, 12) Source(4, 12) + SourceIndex(0) -5 >Emitted(3, 13) Source(4, 13) + SourceIndex(0) -6 >Emitted(3, 14) Source(4, 14) + SourceIndex(0) -7 >Emitted(3, 15) Source(4, 15) + SourceIndex(0) -8 >Emitted(3, 16) Source(4, 16) + SourceIndex(0) +1->Emitted(4, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(4, 8) Source(4, 8) + SourceIndex(0) +3 >Emitted(4, 9) Source(4, 9) + SourceIndex(0) +4 >Emitted(4, 12) Source(4, 12) + SourceIndex(0) +5 >Emitted(4, 13) Source(4, 13) + SourceIndex(0) +6 >Emitted(4, 14) Source(4, 14) + SourceIndex(0) +7 >Emitted(4, 15) Source(4, 15) + SourceIndex(0) +8 >Emitted(4, 16) Source(4, 16) + SourceIndex(0) --- ->>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0ZmlsZS5qcyIsInNvdXJjZVJvb3QiOiJmaWxlOi8vL2ZvbGRlci8iLCJzb3VyY2VzIjpbImlubGluZVNvdXJjZU1hcDIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsdUJBQXVCO0FBRXZCLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMifQ== \ No newline at end of file +>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0ZmlsZS5qcyIsInNvdXJjZVJvb3QiOiJmaWxlOi8vL2ZvbGRlci8iLCJzb3VyY2VzIjpbImlubGluZVNvdXJjZU1hcDIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLHVCQUF1QjtBQUV2QixJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDIn0= \ No newline at end of file diff --git a/tests/baselines/reference/inlineSources.js b/tests/baselines/reference/inlineSources.js index 5251c994b5c90..662ee3435eaea 100644 --- a/tests/baselines/reference/inlineSources.js +++ b/tests/baselines/reference/inlineSources.js @@ -10,6 +10,7 @@ console.log(b); //// [out.js] +"use strict"; var a = 0; console.log(a); var b = 0; diff --git a/tests/baselines/reference/inlineSources.js.map b/tests/baselines/reference/inlineSources.js.map index 584d695034f86..1bc98a0c3cf66 100644 --- a/tests/baselines/reference/inlineSources.js.map +++ b/tests/baselines/reference/inlineSources.js.map @@ -1,3 +1,3 @@ //// [out.js.map] -{"version":3,"file":"out.js","sourceRoot":"","sources":["a.ts","b.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,CAAC,CAAC;AACV,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACDf,IAAI,CAAC,GAAG,CAAC,CAAC;AACV,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC","sourcesContent":["var a = 0;\nconsole.log(a);\n","var b = 0;\nconsole.log(b);\n"]} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGEgPSAwOw0KY29uc29sZS5sb2coYSk7DQp2YXIgYiA9IDA7DQpjb25zb2xlLmxvZyhiKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPW91dC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYS50cyIsImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ1YsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQ0RmLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgYSA9IDA7XG5jb25zb2xlLmxvZyhhKTtcbiIsInZhciBiID0gMDtcbmNvbnNvbGUubG9nKGIpO1xuIl19,dmFyIGEgPSAwOwpjb25zb2xlLmxvZyhhKTsK,dmFyIGIgPSAwOwpjb25zb2xlLmxvZyhiKTsK +{"version":3,"file":"out.js","sourceRoot":"","sources":["a.ts","b.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,CAAC,CAAC;AACV,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;ACDf,IAAI,CAAC,GAAG,CAAC,CAAC;AACV,OAAO,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC","sourcesContent":["var a = 0;\nconsole.log(a);\n","var b = 0;\nconsole.log(b);\n"]} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGEgPSAwOw0KY29uc29sZS5sb2coYSk7DQp2YXIgYiA9IDA7DQpjb25zb2xlLmxvZyhiKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPW91dC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYS50cyIsImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUM7QUNEZixJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsidmFyIGEgPSAwO1xuY29uc29sZS5sb2coYSk7XG4iLCJ2YXIgYiA9IDA7XG5jb25zb2xlLmxvZyhiKTtcbiJdfQ==,dmFyIGEgPSAwOwpjb25zb2xlLmxvZyhhKTsK,dmFyIGIgPSAwOwpjb25zb2xlLmxvZyhiKTsK diff --git a/tests/baselines/reference/inlineSources.sourcemap.txt b/tests/baselines/reference/inlineSources.sourcemap.txt index 4325aa8cd87de..a122376826ea8 100644 --- a/tests/baselines/reference/inlineSources.sourcemap.txt +++ b/tests/baselines/reference/inlineSources.sourcemap.txt @@ -9,6 +9,7 @@ sourcesContent: ["var a = 0;\nconsole.log(a);\n","var b = 0;\nconsole.log(b);\n" emittedFile:out.js sourceFile:a.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = 0; 1 > 2 >^^^^ @@ -23,12 +24,12 @@ sourceFile:a.ts 4 > = 5 > 0 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -6 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +6 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) --- >>>console.log(a); 1-> @@ -48,14 +49,14 @@ sourceFile:a.ts 6 > a 7 > ) 8 > ; -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 8) Source(2, 8) + SourceIndex(0) -3 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) -4 >Emitted(2, 12) Source(2, 12) + SourceIndex(0) -5 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) -6 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) -7 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) -8 >Emitted(2, 16) Source(2, 16) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(2, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(2, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(2, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(2, 16) + SourceIndex(0) --- ------------------------------------------------------------------- emittedFile:out.js @@ -75,12 +76,12 @@ sourceFile:b.ts 4 > = 5 > 0 6 > ; -1 >Emitted(3, 1) Source(1, 1) + SourceIndex(1) -2 >Emitted(3, 5) Source(1, 5) + SourceIndex(1) -3 >Emitted(3, 6) Source(1, 6) + SourceIndex(1) -4 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) -5 >Emitted(3, 10) Source(1, 10) + SourceIndex(1) -6 >Emitted(3, 11) Source(1, 11) + SourceIndex(1) +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 5) Source(1, 5) + SourceIndex(1) +3 >Emitted(4, 6) Source(1, 6) + SourceIndex(1) +4 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +5 >Emitted(4, 10) Source(1, 10) + SourceIndex(1) +6 >Emitted(4, 11) Source(1, 11) + SourceIndex(1) --- >>>console.log(b); 1-> @@ -101,13 +102,13 @@ sourceFile:b.ts 6 > b 7 > ) 8 > ; -1->Emitted(4, 1) Source(2, 1) + SourceIndex(1) -2 >Emitted(4, 8) Source(2, 8) + SourceIndex(1) -3 >Emitted(4, 9) Source(2, 9) + SourceIndex(1) -4 >Emitted(4, 12) Source(2, 12) + SourceIndex(1) -5 >Emitted(4, 13) Source(2, 13) + SourceIndex(1) -6 >Emitted(4, 14) Source(2, 14) + SourceIndex(1) -7 >Emitted(4, 15) Source(2, 15) + SourceIndex(1) -8 >Emitted(4, 16) Source(2, 16) + SourceIndex(1) +1->Emitted(5, 1) Source(2, 1) + SourceIndex(1) +2 >Emitted(5, 8) Source(2, 8) + SourceIndex(1) +3 >Emitted(5, 9) Source(2, 9) + SourceIndex(1) +4 >Emitted(5, 12) Source(2, 12) + SourceIndex(1) +5 >Emitted(5, 13) Source(2, 13) + SourceIndex(1) +6 >Emitted(5, 14) Source(2, 14) + SourceIndex(1) +7 >Emitted(5, 15) Source(2, 15) + SourceIndex(1) +8 >Emitted(5, 16) Source(2, 16) + SourceIndex(1) --- >>>//# sourceMappingURL=out.js.map \ No newline at end of file diff --git a/tests/baselines/reference/inlineSources2.js b/tests/baselines/reference/inlineSources2.js index 14658a64251af..c42d71d735372 100644 --- a/tests/baselines/reference/inlineSources2.js +++ b/tests/baselines/reference/inlineSources2.js @@ -10,8 +10,9 @@ console.log(b); //// [out.js] +"use strict"; var a = 0; console.log(a); var b = 0; console.log(b); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYS50cyIsImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ1YsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQ0RmLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgYSA9IDA7XG5jb25zb2xlLmxvZyhhKTtcbiIsInZhciBiID0gMDtcbmNvbnNvbGUubG9nKGIpO1xuIl19 \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYS50cyIsImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUM7QUNEZixJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsidmFyIGEgPSAwO1xuY29uc29sZS5sb2coYSk7XG4iLCJ2YXIgYiA9IDA7XG5jb25zb2xlLmxvZyhiKTtcbiJdfQ== \ No newline at end of file diff --git a/tests/baselines/reference/inlineSources2.sourcemap.txt b/tests/baselines/reference/inlineSources2.sourcemap.txt index 7b807de6076db..86bed43e623b0 100644 --- a/tests/baselines/reference/inlineSources2.sourcemap.txt +++ b/tests/baselines/reference/inlineSources2.sourcemap.txt @@ -1,6 +1,6 @@ =================================================================== JsFile: out.js -mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYS50cyIsImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ1YsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQ0RmLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgYSA9IDA7XG5jb25zb2xlLmxvZyhhKTtcbiIsInZhciBiID0gMDtcbmNvbnNvbGUubG9nKGIpO1xuIl19 +mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYS50cyIsImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUM7QUNEZixJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsidmFyIGEgPSAwO1xuY29uc29sZS5sb2coYSk7XG4iLCJ2YXIgYiA9IDA7XG5jb25zb2xlLmxvZyhiKTtcbiJdfQ== sourceRoot: sources: a.ts,b.ts sourcesContent: ["var a = 0;\nconsole.log(a);\n","var b = 0;\nconsole.log(b);\n"] @@ -9,6 +9,7 @@ sourcesContent: ["var a = 0;\nconsole.log(a);\n","var b = 0;\nconsole.log(b);\n" emittedFile:out.js sourceFile:a.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = 0; 1 > 2 >^^^^ @@ -23,12 +24,12 @@ sourceFile:a.ts 4 > = 5 > 0 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -6 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +6 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) --- >>>console.log(a); 1-> @@ -48,14 +49,14 @@ sourceFile:a.ts 6 > a 7 > ) 8 > ; -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 8) Source(2, 8) + SourceIndex(0) -3 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) -4 >Emitted(2, 12) Source(2, 12) + SourceIndex(0) -5 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) -6 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) -7 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) -8 >Emitted(2, 16) Source(2, 16) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(2, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(2, 9) + SourceIndex(0) +4 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) +6 >Emitted(3, 14) Source(2, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) +8 >Emitted(3, 16) Source(2, 16) + SourceIndex(0) --- ------------------------------------------------------------------- emittedFile:out.js @@ -75,12 +76,12 @@ sourceFile:b.ts 4 > = 5 > 0 6 > ; -1 >Emitted(3, 1) Source(1, 1) + SourceIndex(1) -2 >Emitted(3, 5) Source(1, 5) + SourceIndex(1) -3 >Emitted(3, 6) Source(1, 6) + SourceIndex(1) -4 >Emitted(3, 9) Source(1, 9) + SourceIndex(1) -5 >Emitted(3, 10) Source(1, 10) + SourceIndex(1) -6 >Emitted(3, 11) Source(1, 11) + SourceIndex(1) +1 >Emitted(4, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(4, 5) Source(1, 5) + SourceIndex(1) +3 >Emitted(4, 6) Source(1, 6) + SourceIndex(1) +4 >Emitted(4, 9) Source(1, 9) + SourceIndex(1) +5 >Emitted(4, 10) Source(1, 10) + SourceIndex(1) +6 >Emitted(4, 11) Source(1, 11) + SourceIndex(1) --- >>>console.log(b); 1-> @@ -91,7 +92,7 @@ sourceFile:b.ts 6 > ^ 7 > ^ 8 > ^ -9 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> +9 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1-> > 2 >console @@ -101,13 +102,13 @@ sourceFile:b.ts 6 > b 7 > ) 8 > ; -1->Emitted(4, 1) Source(2, 1) + SourceIndex(1) -2 >Emitted(4, 8) Source(2, 8) + SourceIndex(1) -3 >Emitted(4, 9) Source(2, 9) + SourceIndex(1) -4 >Emitted(4, 12) Source(2, 12) + SourceIndex(1) -5 >Emitted(4, 13) Source(2, 13) + SourceIndex(1) -6 >Emitted(4, 14) Source(2, 14) + SourceIndex(1) -7 >Emitted(4, 15) Source(2, 15) + SourceIndex(1) -8 >Emitted(4, 16) Source(2, 16) + SourceIndex(1) +1->Emitted(5, 1) Source(2, 1) + SourceIndex(1) +2 >Emitted(5, 8) Source(2, 8) + SourceIndex(1) +3 >Emitted(5, 9) Source(2, 9) + SourceIndex(1) +4 >Emitted(5, 12) Source(2, 12) + SourceIndex(1) +5 >Emitted(5, 13) Source(2, 13) + SourceIndex(1) +6 >Emitted(5, 14) Source(2, 14) + SourceIndex(1) +7 >Emitted(5, 15) Source(2, 15) + SourceIndex(1) +8 >Emitted(5, 16) Source(2, 16) + SourceIndex(1) --- ->>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYS50cyIsImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ1YsT0FBTyxDQUFDLEdBQUcsQ0FBQyxDQUFDLENBQUMsQ0FBQztBQ0RmLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgYSA9IDA7XG5jb25zb2xlLmxvZyhhKTtcbiIsInZhciBiID0gMDtcbmNvbnNvbGUubG9nKGIpO1xuIl19 \ No newline at end of file +>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYS50cyIsImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLE9BQU8sQ0FBQyxHQUFHLENBQUMsQ0FBQyxDQUFDLENBQUM7QUNEZixJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDVixPQUFPLENBQUMsR0FBRyxDQUFDLENBQUMsQ0FBQyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsidmFyIGEgPSAwO1xuY29uc29sZS5sb2coYSk7XG4iLCJ2YXIgYiA9IDA7XG5jb25zb2xlLmxvZyhiKTtcbiJdfQ== \ No newline at end of file diff --git a/tests/baselines/reference/inlinedAliasAssignableToConstraintSameAsAlias.js b/tests/baselines/reference/inlinedAliasAssignableToConstraintSameAsAlias.js index 9ba2c05fe6f80..4bddc93577fff 100644 --- a/tests/baselines/reference/inlinedAliasAssignableToConstraintSameAsAlias.js +++ b/tests/baselines/reference/inlinedAliasAssignableToConstraintSameAsAlias.js @@ -28,6 +28,7 @@ class A { //// [inlinedAliasAssignableToConstraintSameAsAlias.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/innerAliases.js b/tests/baselines/reference/innerAliases.js index 5dd3c2f7ac8c7..4d21192d9819a 100644 --- a/tests/baselines/reference/innerAliases.js +++ b/tests/baselines/reference/innerAliases.js @@ -26,6 +26,7 @@ c = new D.inner.Class1(); //// [innerAliases.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/innerAliases2.js b/tests/baselines/reference/innerAliases2.js index 8a93d8debc664..cc42c25dedd9c 100644 --- a/tests/baselines/reference/innerAliases2.js +++ b/tests/baselines/reference/innerAliases2.js @@ -22,6 +22,7 @@ namespace consumer { //// [innerAliases2.js] +"use strict"; var _provider; (function (_provider) { var UsefulClass = /** @class */ (function () { diff --git a/tests/baselines/reference/innerBoundLambdaEmit.js b/tests/baselines/reference/innerBoundLambdaEmit.js index 78813eeb3565c..e6fbf58126bbe 100644 --- a/tests/baselines/reference/innerBoundLambdaEmit.js +++ b/tests/baselines/reference/innerBoundLambdaEmit.js @@ -12,6 +12,7 @@ interface Array { //// [innerBoundLambdaEmit.js] +"use strict"; var M; (function (M) { var Foo = /** @class */ (function () { diff --git a/tests/baselines/reference/innerExtern.js b/tests/baselines/reference/innerExtern.js index de38c2a0c5a71..cf3576a705a3d 100644 --- a/tests/baselines/reference/innerExtern.js +++ b/tests/baselines/reference/innerExtern.js @@ -16,6 +16,7 @@ namespace A { //// [innerExtern.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/innerFunc.js b/tests/baselines/reference/innerFunc.js index db475fa7537ca..4d0cd1024d972 100644 --- a/tests/baselines/reference/innerFunc.js +++ b/tests/baselines/reference/innerFunc.js @@ -15,6 +15,7 @@ namespace M { //// [innerFunc.js] +"use strict"; function salt() { function pepper() { return 5; } return pepper(); diff --git a/tests/baselines/reference/innerModExport1.errors.txt b/tests/baselines/reference/innerModExport1.errors.txt index 6ff7e61c1650c..c47bfb84b3561 100644 --- a/tests/baselines/reference/innerModExport1.errors.txt +++ b/tests/baselines/reference/innerModExport1.errors.txt @@ -1,8 +1,11 @@ innerModExport1.ts(5,5): error TS2580: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. innerModExport1.ts(5,12): error TS1437: Namespace must be given a name. +innerModExport1.ts(9,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. +innerModExport1.ts(11,25): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. +innerModExport1.ts(19,7): error TS2339: Property 'ExportFunc' does not exist on type 'typeof Outer'. -==== innerModExport1.ts (2 errors) ==== +==== innerModExport1.ts (5 errors) ==== namespace Outer { // inner mod 1 @@ -16,8 +19,12 @@ innerModExport1.ts(5,12): error TS1437: Namespace must be given a name. export var export_var = 1; function NonExportFunc() { return 0; } + ~~~~~~~~~~~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. export function ExportFunc() { return 0; } + ~~~~~~~~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. } export var outer_var_export = 0; @@ -25,4 +32,6 @@ innerModExport1.ts(5,12): error TS1437: Namespace must be given a name. } - Outer.ExportFunc(); \ No newline at end of file + Outer.ExportFunc(); + ~~~~~~~~~~ +!!! error TS2339: Property 'ExportFunc' does not exist on type 'typeof Outer'. \ No newline at end of file diff --git a/tests/baselines/reference/innerModExport1.js b/tests/baselines/reference/innerModExport1.js index ff25d55c11924..855264154eeb8 100644 --- a/tests/baselines/reference/innerModExport1.js +++ b/tests/baselines/reference/innerModExport1.js @@ -22,6 +22,7 @@ namespace Outer { Outer.ExportFunc(); //// [innerModExport1.js] +"use strict"; var Outer; (function (Outer) { // inner mod 1 diff --git a/tests/baselines/reference/innerModExport1.symbols b/tests/baselines/reference/innerModExport1.symbols index 2c98ac82d7888..2b1f6d920fa7a 100644 --- a/tests/baselines/reference/innerModExport1.symbols +++ b/tests/baselines/reference/innerModExport1.symbols @@ -31,7 +31,5 @@ namespace Outer { } Outer.ExportFunc(); ->Outer.ExportFunc : Symbol(Outer.ExportFunc, Decl(innerModExport1.ts, 8, 46)) >Outer : Symbol(Outer, Decl(innerModExport1.ts, 0, 0)) ->ExportFunc : Symbol(Outer.ExportFunc, Decl(innerModExport1.ts, 8, 46)) diff --git a/tests/baselines/reference/innerModExport1.types b/tests/baselines/reference/innerModExport1.types index 2ec5060600cd5..060d5f0ffcae5 100644 --- a/tests/baselines/reference/innerModExport1.types +++ b/tests/baselines/reference/innerModExport1.types @@ -54,12 +54,12 @@ namespace Outer { } Outer.ExportFunc(); ->Outer.ExportFunc() : number -> : ^^^^^^ ->Outer.ExportFunc : () => number -> : ^^^^^^^^^^^^ +>Outer.ExportFunc() : any +> : ^^^ +>Outer.ExportFunc : any +> : ^^^ >Outer : typeof Outer > : ^^^^^^^^^^^^ ->ExportFunc : () => number -> : ^^^^^^^^^^^^ +>ExportFunc : any +> : ^^^ diff --git a/tests/baselines/reference/innerModExport2.errors.txt b/tests/baselines/reference/innerModExport2.errors.txt index 1132230b92730..c87f14bccfebc 100644 --- a/tests/baselines/reference/innerModExport2.errors.txt +++ b/tests/baselines/reference/innerModExport2.errors.txt @@ -1,11 +1,13 @@ innerModExport2.ts(5,5): error TS2580: Cannot find name 'module'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`. innerModExport2.ts(5,12): error TS1437: Namespace must be given a name. innerModExport2.ts(7,20): error TS2395: Individual declarations in merged declaration 'export_var' must be all exported or all local. +innerModExport2.ts(9,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. +innerModExport2.ts(11,25): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. innerModExport2.ts(13,9): error TS2395: Individual declarations in merged declaration 'export_var' must be all exported or all local. -innerModExport2.ts(20,7): error TS2551: Property 'NonExportFunc' does not exist on type 'typeof Outer'. Did you mean 'ExportFunc'? +innerModExport2.ts(20,7): error TS2339: Property 'NonExportFunc' does not exist on type 'typeof Outer'. -==== innerModExport2.ts (5 errors) ==== +==== innerModExport2.ts (7 errors) ==== namespace Outer { // inner mod 1 @@ -21,8 +23,12 @@ innerModExport2.ts(20,7): error TS2551: Property 'NonExportFunc' does not exist !!! error TS2395: Individual declarations in merged declaration 'export_var' must be all exported or all local. function NonExportFunc() { return 0; } + ~~~~~~~~~~~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. export function ExportFunc() { return 0; } + ~~~~~~~~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. } var export_var: number; ~~~~~~~~~~ @@ -35,5 +41,4 @@ innerModExport2.ts(20,7): error TS2551: Property 'NonExportFunc' does not exist Outer.NonExportFunc(); ~~~~~~~~~~~~~ -!!! error TS2551: Property 'NonExportFunc' does not exist on type 'typeof Outer'. Did you mean 'ExportFunc'? -!!! related TS2728 innerModExport2.ts:11:25: 'ExportFunc' is declared here. \ No newline at end of file +!!! error TS2339: Property 'NonExportFunc' does not exist on type 'typeof Outer'. \ No newline at end of file diff --git a/tests/baselines/reference/innerModExport2.js b/tests/baselines/reference/innerModExport2.js index 01565ab71bd41..f64fd38d80c75 100644 --- a/tests/baselines/reference/innerModExport2.js +++ b/tests/baselines/reference/innerModExport2.js @@ -23,6 +23,7 @@ namespace Outer { Outer.NonExportFunc(); //// [innerModExport2.js] +"use strict"; var Outer; (function (Outer) { // inner mod 1 diff --git a/tests/baselines/reference/innerOverloads.js b/tests/baselines/reference/innerOverloads.js index a7b38c59cc233..fd9819ff8d122 100644 --- a/tests/baselines/reference/innerOverloads.js +++ b/tests/baselines/reference/innerOverloads.js @@ -14,6 +14,7 @@ var x = outer(); // should work //// [innerOverloads.js] +"use strict"; function outer() { function inner(a) { return a; } return inner(0); diff --git a/tests/baselines/reference/innerTypeArgumentInference.js b/tests/baselines/reference/innerTypeArgumentInference.js index 597d76389d304..8f76cf304962d 100644 --- a/tests/baselines/reference/innerTypeArgumentInference.js +++ b/tests/baselines/reference/innerTypeArgumentInference.js @@ -7,6 +7,7 @@ function Generate(func: Generator): U { } //// [innerTypeArgumentInference.js] +"use strict"; function Generate(func) { return Generate(func); } diff --git a/tests/baselines/reference/innerTypeCheckOfLambdaArgument.js b/tests/baselines/reference/innerTypeCheckOfLambdaArgument.js index 3bd81de477a0d..f62a452100e68 100644 --- a/tests/baselines/reference/innerTypeCheckOfLambdaArgument.js +++ b/tests/baselines/reference/innerTypeCheckOfLambdaArgument.js @@ -16,6 +16,7 @@ takesCallback( //// [innerTypeCheckOfLambdaArgument.js] +"use strict"; function takesCallback(callback) { } takesCallback(function inner(n) { diff --git a/tests/baselines/reference/innerTypeParameterShadowingOuterOne.js b/tests/baselines/reference/innerTypeParameterShadowingOuterOne.js index 796c39fa5d2d1..3d028aeb30686 100644 --- a/tests/baselines/reference/innerTypeParameterShadowingOuterOne.js +++ b/tests/baselines/reference/innerTypeParameterShadowingOuterOne.js @@ -31,6 +31,7 @@ function f2() { //} //// [innerTypeParameterShadowingOuterOne.js] +"use strict"; // inner type parameters shadow outer ones of the same name // no errors expected function f() { diff --git a/tests/baselines/reference/innerTypeParameterShadowingOuterOne2.js b/tests/baselines/reference/innerTypeParameterShadowingOuterOne2.js index a8bf99a2beba6..a883d3663b6c1 100644 --- a/tests/baselines/reference/innerTypeParameterShadowingOuterOne2.js +++ b/tests/baselines/reference/innerTypeParameterShadowingOuterOne2.js @@ -40,6 +40,7 @@ class C2 { //} //// [innerTypeParameterShadowingOuterOne2.js] +"use strict"; // inner type parameters shadow outer ones of the same name // no errors expected var C = /** @class */ (function () { diff --git a/tests/baselines/reference/instanceAndStaticDeclarations1.js b/tests/baselines/reference/instanceAndStaticDeclarations1.js index d3da82125e03b..0f3445dac49ab 100644 --- a/tests/baselines/reference/instanceAndStaticDeclarations1.js +++ b/tests/baselines/reference/instanceAndStaticDeclarations1.js @@ -15,6 +15,7 @@ class Point { } //// [instanceAndStaticDeclarations1.js] +"use strict"; // from spec var Point = /** @class */ (function () { function Point(x, y) { diff --git a/tests/baselines/reference/instanceMemberAssignsToClassPrototype.js b/tests/baselines/reference/instanceMemberAssignsToClassPrototype.js index 01f9f0430a000..90be749368b00 100644 --- a/tests/baselines/reference/instanceMemberAssignsToClassPrototype.js +++ b/tests/baselines/reference/instanceMemberAssignsToClassPrototype.js @@ -15,6 +15,7 @@ class C { } //// [instanceMemberAssignsToClassPrototype.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/instanceMemberInitialization.js b/tests/baselines/reference/instanceMemberInitialization.js index 349a77494e635..9b9e6b4e3bf2e 100644 --- a/tests/baselines/reference/instanceMemberInitialization.js +++ b/tests/baselines/reference/instanceMemberInitialization.js @@ -20,6 +20,7 @@ class MyMap { } //// [instanceMemberInitialization.js] +"use strict"; var C = /** @class */ (function () { function C() { this.x = 1; diff --git a/tests/baselines/reference/instanceOfAssignability.js b/tests/baselines/reference/instanceOfAssignability.js index c3cbbb29162b8..d7579104bff8e 100644 --- a/tests/baselines/reference/instanceOfAssignability.js +++ b/tests/baselines/reference/instanceOfAssignability.js @@ -92,6 +92,7 @@ function fn8(x: Alpha|Beta|Gamma) { //// [instanceOfAssignability.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/instancePropertiesInheritedIntoClassType.js b/tests/baselines/reference/instancePropertiesInheritedIntoClassType.js index 126c25722b1fb..f66ebf3250855 100644 --- a/tests/baselines/reference/instancePropertiesInheritedIntoClassType.js +++ b/tests/baselines/reference/instancePropertiesInheritedIntoClassType.js @@ -45,6 +45,7 @@ namespace Generic { } //// [instancePropertiesInheritedIntoClassType.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/instancePropertyInClassType.js b/tests/baselines/reference/instancePropertyInClassType.js index 729481d1fed22..4a1c958bb12d9 100644 --- a/tests/baselines/reference/instancePropertyInClassType.js +++ b/tests/baselines/reference/instancePropertyInClassType.js @@ -41,6 +41,7 @@ namespace Generic { } //// [instancePropertyInClassType.js] +"use strict"; var NonGeneric; (function (NonGeneric) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/instanceSubtypeCheck1.js b/tests/baselines/reference/instanceSubtypeCheck1.js index 421bb57ae5a83..33ff8a64fefe5 100644 --- a/tests/baselines/reference/instanceSubtypeCheck1.js +++ b/tests/baselines/reference/instanceSubtypeCheck1.js @@ -12,3 +12,4 @@ interface B extends A } //// [instanceSubtypeCheck1.js] +"use strict"; diff --git a/tests/baselines/reference/instanceSubtypeCheck2.js b/tests/baselines/reference/instanceSubtypeCheck2.js index f00fbfeeb767d..26324a8577627 100644 --- a/tests/baselines/reference/instanceSubtypeCheck2.js +++ b/tests/baselines/reference/instanceSubtypeCheck2.js @@ -10,6 +10,7 @@ class C2 extends C1 { } //// [instanceSubtypeCheck2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/instanceofNarrowReadonlyArray.js b/tests/baselines/reference/instanceofNarrowReadonlyArray.js index d42278301d3bf..29f1ea30b218e 100644 --- a/tests/baselines/reference/instanceofNarrowReadonlyArray.js +++ b/tests/baselines/reference/instanceofNarrowReadonlyArray.js @@ -12,6 +12,7 @@ function narrow(x: readonly number[] | number): readonly number[] { } //// [instanceofNarrowReadonlyArray.js] +"use strict"; // @strict function narrow(x) { if (x instanceof Array) { diff --git a/tests/baselines/reference/instanceofOnInstantiationExpression.js b/tests/baselines/reference/instanceofOnInstantiationExpression.js index 14afa711b26c2..d11ebed021985 100644 --- a/tests/baselines/reference/instanceofOnInstantiationExpression.js +++ b/tests/baselines/reference/instanceofOnInstantiationExpression.js @@ -20,6 +20,7 @@ Box instanceof Object; // OK //// [instanceofOnInstantiationExpression.js] +"use strict"; maybeBox instanceof Box; // OK maybeBox instanceof (Box); // error maybeBox instanceof (Box); // error diff --git a/tests/baselines/reference/instanceofOperator.js b/tests/baselines/reference/instanceofOperator.js index 63b93f6783a5a..f1775597c9b40 100644 --- a/tests/baselines/reference/instanceofOperator.js +++ b/tests/baselines/reference/instanceofOperator.js @@ -27,6 +27,7 @@ namespace test { //// [instanceofOperator.js] +"use strict"; // Spec: // The instanceof operator requires the left operand to be of type Any or an object type, and the right // operand to be of type Any or a subtype of the ‘Function’ interface type. The result is always of the diff --git a/tests/baselines/reference/instanceofOperatorWithAny.js b/tests/baselines/reference/instanceofOperatorWithAny.js index 95071f2ddc471..d8e81edec4a67 100644 --- a/tests/baselines/reference/instanceofOperatorWithAny.js +++ b/tests/baselines/reference/instanceofOperatorWithAny.js @@ -6,5 +6,6 @@ var a: any; var r: boolean = a instanceof a; //// [instanceofOperatorWithAny.js] +"use strict"; var a; var r = a instanceof a; diff --git a/tests/baselines/reference/instanceofOperatorWithInvalidOperands.es2015.js b/tests/baselines/reference/instanceofOperatorWithInvalidOperands.es2015.js index 5ed5ee9e0369b..32a85fca6b964 100644 --- a/tests/baselines/reference/instanceofOperatorWithInvalidOperands.es2015.js +++ b/tests/baselines/reference/instanceofOperatorWithInvalidOperands.es2015.js @@ -58,6 +58,7 @@ declare var o6: {[Symbol.hasInstance](value: unknown): number;}; var rb11 = x instanceof o6; //// [instanceofOperatorWithInvalidOperands.es2015.js] +"use strict"; class C { foo() { } } diff --git a/tests/baselines/reference/instanceofOperatorWithInvalidOperands.js b/tests/baselines/reference/instanceofOperatorWithInvalidOperands.js index 9425be9addc03..b3a2538b5cfb4 100644 --- a/tests/baselines/reference/instanceofOperatorWithInvalidOperands.js +++ b/tests/baselines/reference/instanceofOperatorWithInvalidOperands.js @@ -49,6 +49,7 @@ var rb10 = x instanceof o3; var rc1 = '' instanceof {}; //// [instanceofOperatorWithInvalidOperands.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/instanceofOperatorWithInvalidStaticToString.js b/tests/baselines/reference/instanceofOperatorWithInvalidStaticToString.js index 68c8eaad7c40c..57dafd4fb4fa5 100644 --- a/tests/baselines/reference/instanceofOperatorWithInvalidStaticToString.js +++ b/tests/baselines/reference/instanceofOperatorWithInvalidStaticToString.js @@ -25,6 +25,7 @@ function baz(normal: NormalToString) { //// [instanceofOperatorWithInvalidStaticToString.js] +"use strict"; function foo(staticToString) { return staticToString instanceof StaticToString; } diff --git a/tests/baselines/reference/instanceofOperatorWithLHSIsObject.js b/tests/baselines/reference/instanceofOperatorWithLHSIsObject.js index d423f6c73a149..8e8ddd9fd5f49 100644 --- a/tests/baselines/reference/instanceofOperatorWithLHSIsObject.js +++ b/tests/baselines/reference/instanceofOperatorWithLHSIsObject.js @@ -18,6 +18,7 @@ var r4 = d instanceof x1; //// [instanceofOperatorWithLHSIsObject.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/instanceofOperatorWithLHSIsTypeParameter.js b/tests/baselines/reference/instanceofOperatorWithLHSIsTypeParameter.js index 5fbde1a91e2c5..cbbf63c144aed 100644 --- a/tests/baselines/reference/instanceofOperatorWithLHSIsTypeParameter.js +++ b/tests/baselines/reference/instanceofOperatorWithLHSIsTypeParameter.js @@ -7,6 +7,7 @@ function foo(t: T) { } //// [instanceofOperatorWithLHSIsTypeParameter.js] +"use strict"; function foo(t) { var x; var r = t instanceof x; diff --git a/tests/baselines/reference/instanceofOperatorWithRHSHasSymbolHasInstance.js b/tests/baselines/reference/instanceofOperatorWithRHSHasSymbolHasInstance.js index 6d6f36a084f10..580294a101688 100644 --- a/tests/baselines/reference/instanceofOperatorWithRHSHasSymbolHasInstance.js +++ b/tests/baselines/reference/instanceofOperatorWithRHSHasSymbolHasInstance.js @@ -135,6 +135,7 @@ lhs0 instanceof rhs15 && lhs0; //// [instanceofOperatorWithRHSHasSymbolHasInstance.js] +"use strict"; lhs0 instanceof rhs0 && lhs0; lhs0 instanceof rhs1 && lhs0; lhs0 instanceof rhs2 && lhs0; diff --git a/tests/baselines/reference/instanceofOperatorWithRHSIsSubtypeOfFunction.js b/tests/baselines/reference/instanceofOperatorWithRHSIsSubtypeOfFunction.js index 8b7ff3004ff5c..86160fab1170a 100644 --- a/tests/baselines/reference/instanceofOperatorWithRHSIsSubtypeOfFunction.js +++ b/tests/baselines/reference/instanceofOperatorWithRHSIsSubtypeOfFunction.js @@ -17,6 +17,7 @@ var r5 = x instanceof null; var r6 = x instanceof undefined; //// [instanceofOperatorWithRHSIsSubtypeOfFunction.js] +"use strict"; var x; var f1; var f2; diff --git a/tests/baselines/reference/instanceofWithPrimitiveUnion.js b/tests/baselines/reference/instanceofWithPrimitiveUnion.js index 5bf47c15ccf80..86ef57f7053bc 100644 --- a/tests/baselines/reference/instanceofWithPrimitiveUnion.js +++ b/tests/baselines/reference/instanceofWithPrimitiveUnion.js @@ -15,6 +15,7 @@ function test2(x: (number | string) | number) { //// [instanceofWithPrimitiveUnion.js] +"use strict"; function test1(x) { if (x instanceof Object) { x; diff --git a/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.js b/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.js index f40baf0d7ca91..26ac507a3cee7 100644 --- a/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.js +++ b/tests/baselines/reference/instanceofWithStructurallyIdenticalTypes.js @@ -73,6 +73,7 @@ function goo(x: A) { //// [instanceofWithStructurallyIdenticalTypes.js] +"use strict"; // Repro from #7271 var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/instantiateConstraintsToTypeArguments2.js b/tests/baselines/reference/instantiateConstraintsToTypeArguments2.js index 4be947ac0271c..64eb1a55d341c 100644 --- a/tests/baselines/reference/instantiateConstraintsToTypeArguments2.js +++ b/tests/baselines/reference/instantiateConstraintsToTypeArguments2.js @@ -5,3 +5,4 @@ interface A, S extends A> { } interface B, S extends B> extends A, B> { } //// [instantiateConstraintsToTypeArguments2.js] +"use strict"; diff --git a/tests/baselines/reference/instantiateContextuallyTypedGenericThis.js b/tests/baselines/reference/instantiateContextuallyTypedGenericThis.js index a02b998c9c9cf..1243e301f4cc4 100644 --- a/tests/baselines/reference/instantiateContextuallyTypedGenericThis.js +++ b/tests/baselines/reference/instantiateContextuallyTypedGenericThis.js @@ -15,6 +15,7 @@ $.each(lines, function(dit) { //// [instantiateContextuallyTypedGenericThis.js] +"use strict"; var $; var lines; $.each(lines, function (dit) { diff --git a/tests/baselines/reference/instantiateCrossFileMerge.js b/tests/baselines/reference/instantiateCrossFileMerge.js index cf452b599bd76..c305f72c8f336 100644 --- a/tests/baselines/reference/instantiateCrossFileMerge.js +++ b/tests/baselines/reference/instantiateCrossFileMerge.js @@ -11,5 +11,7 @@ new P(r => { r('foo') }); //// [first.js] +"use strict"; //// [second.js] +"use strict"; new P(function (r) { r('foo'); }); diff --git a/tests/baselines/reference/instantiateGenericClassWithWrongNumberOfTypeArguments.js b/tests/baselines/reference/instantiateGenericClassWithWrongNumberOfTypeArguments.js index ed59b98b6218b..22f79050190f8 100644 --- a/tests/baselines/reference/instantiateGenericClassWithWrongNumberOfTypeArguments.js +++ b/tests/baselines/reference/instantiateGenericClassWithWrongNumberOfTypeArguments.js @@ -19,6 +19,7 @@ class D { var d = new D(); //// [instantiateGenericClassWithWrongNumberOfTypeArguments.js] +"use strict"; // it is always an error to provide a type argument list whose count does not match the type parameter list // both of these attempts to construct a type is an error var C = /** @class */ (function () { diff --git a/tests/baselines/reference/instantiateGenericClassWithZeroTypeArguments.js b/tests/baselines/reference/instantiateGenericClassWithZeroTypeArguments.js index 6f85ddb805288..52536f3ee7454 100644 --- a/tests/baselines/reference/instantiateGenericClassWithZeroTypeArguments.js +++ b/tests/baselines/reference/instantiateGenericClassWithZeroTypeArguments.js @@ -18,6 +18,7 @@ var d = new D(); //// [instantiateGenericClassWithZeroTypeArguments.js] +"use strict"; // no errors expected when instantiating a generic type with no type arguments provided var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/instantiateNonGenericTypeWithTypeArguments.js b/tests/baselines/reference/instantiateNonGenericTypeWithTypeArguments.js index 0b4ecc6ccf469..1703024b059c9 100644 --- a/tests/baselines/reference/instantiateNonGenericTypeWithTypeArguments.js +++ b/tests/baselines/reference/instantiateNonGenericTypeWithTypeArguments.js @@ -21,6 +21,7 @@ var a: any; var r2 = new a(); //// [instantiateNonGenericTypeWithTypeArguments.js] +"use strict"; // it is an error to provide type arguments to a non-generic call // all of these are errors var C = /** @class */ (function () { diff --git a/tests/baselines/reference/instantiateTypeParameter.js b/tests/baselines/reference/instantiateTypeParameter.js index c1e677b3e3bc8..7641377c0b3d1 100644 --- a/tests/baselines/reference/instantiateTypeParameter.js +++ b/tests/baselines/reference/instantiateTypeParameter.js @@ -6,4 +6,5 @@ interface Foo { } //// [instantiateTypeParameter.js] +"use strict"; var x; diff --git a/tests/baselines/reference/instantiatedBaseTypeConstraints.js b/tests/baselines/reference/instantiatedBaseTypeConstraints.js index b7809b4303c3b..aaafec35ff59e 100644 --- a/tests/baselines/reference/instantiatedBaseTypeConstraints.js +++ b/tests/baselines/reference/instantiatedBaseTypeConstraints.js @@ -14,6 +14,7 @@ class Bar implements Foo { //// [instantiatedBaseTypeConstraints.js] +"use strict"; var Bar = /** @class */ (function () { function Bar() { } diff --git a/tests/baselines/reference/instantiatedBaseTypeConstraints2.js b/tests/baselines/reference/instantiatedBaseTypeConstraints2.js index 7c6c866c921fc..db3115edc6bab 100644 --- a/tests/baselines/reference/instantiatedBaseTypeConstraints2.js +++ b/tests/baselines/reference/instantiatedBaseTypeConstraints2.js @@ -5,3 +5,4 @@ interface A, S extends A> { } interface B extends A, B> { } //// [instantiatedBaseTypeConstraints2.js] +"use strict"; diff --git a/tests/baselines/reference/instantiatedModule.js b/tests/baselines/reference/instantiatedModule.js index 036ef21e28ecc..aa81844f706ea 100644 --- a/tests/baselines/reference/instantiatedModule.js +++ b/tests/baselines/reference/instantiatedModule.js @@ -63,6 +63,7 @@ var p3 = m3.Color.Blue; //// [instantiatedModule.js] +"use strict"; // adding the var makes this an instantiated module var M; (function (M) { diff --git a/tests/baselines/reference/instantiatedReturnTypeContravariance.js b/tests/baselines/reference/instantiatedReturnTypeContravariance.js index e41e6b822a55e..d467c4f7ba39a 100644 --- a/tests/baselines/reference/instantiatedReturnTypeContravariance.js +++ b/tests/baselines/reference/instantiatedReturnTypeContravariance.js @@ -33,6 +33,7 @@ return null; //// [instantiatedReturnTypeContravariance.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/instantiatedTypeAliasDisplay.js b/tests/baselines/reference/instantiatedTypeAliasDisplay.js index 050f68530efca..7afd5a57f2ee6 100644 --- a/tests/baselines/reference/instantiatedTypeAliasDisplay.js +++ b/tests/baselines/reference/instantiatedTypeAliasDisplay.js @@ -18,6 +18,7 @@ const x1 = f1(); // Z const x2 = f2({}, {}, {}, {}); // Z<{}, string[]> //// [instantiatedTypeAliasDisplay.js] +"use strict"; // Repros from #12066 var x1 = f1(); // Z var x2 = f2({}, {}, {}, {}); // Z<{}, string[]> diff --git a/tests/baselines/reference/intTypeCheck.js b/tests/baselines/reference/intTypeCheck.js index 2efd21cbe1902..933af6355a162 100644 --- a/tests/baselines/reference/intTypeCheck.js +++ b/tests/baselines/reference/intTypeCheck.js @@ -208,6 +208,7 @@ var obj86: i8 = new anyVar; var obj87: i8 = new {}; //// [intTypeCheck.js] +"use strict"; var Base = /** @class */ (function () { function Base() { } diff --git a/tests/baselines/reference/interMixingModulesInterfaces0.js b/tests/baselines/reference/interMixingModulesInterfaces0.js index c937997365bc8..17768ef92aada 100644 --- a/tests/baselines/reference/interMixingModulesInterfaces0.js +++ b/tests/baselines/reference/interMixingModulesInterfaces0.js @@ -18,6 +18,7 @@ namespace A { var x: A.B = A.B.createB(); //// [interMixingModulesInterfaces0.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/interMixingModulesInterfaces1.js b/tests/baselines/reference/interMixingModulesInterfaces1.js index 0815134c074e1..3f11b325fff0d 100644 --- a/tests/baselines/reference/interMixingModulesInterfaces1.js +++ b/tests/baselines/reference/interMixingModulesInterfaces1.js @@ -18,6 +18,7 @@ namespace A { var x: A.B = A.B.createB(); //// [interMixingModulesInterfaces1.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/interMixingModulesInterfaces2.js b/tests/baselines/reference/interMixingModulesInterfaces2.js index 760501c527fa8..3776ef68a1b88 100644 --- a/tests/baselines/reference/interMixingModulesInterfaces2.js +++ b/tests/baselines/reference/interMixingModulesInterfaces2.js @@ -18,6 +18,7 @@ namespace A { var x: A.B = null; //// [interMixingModulesInterfaces2.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/interMixingModulesInterfaces3.js b/tests/baselines/reference/interMixingModulesInterfaces3.js index dd65229d406f1..e743780f0014b 100644 --- a/tests/baselines/reference/interMixingModulesInterfaces3.js +++ b/tests/baselines/reference/interMixingModulesInterfaces3.js @@ -18,6 +18,7 @@ namespace A { var x: A.B = null; //// [interMixingModulesInterfaces3.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/interMixingModulesInterfaces4.js b/tests/baselines/reference/interMixingModulesInterfaces4.js index a13d76f68b5c1..07cfb9366dad3 100644 --- a/tests/baselines/reference/interMixingModulesInterfaces4.js +++ b/tests/baselines/reference/interMixingModulesInterfaces4.js @@ -18,6 +18,7 @@ namespace A { var x : number = A.B.createB(); //// [interMixingModulesInterfaces4.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/interMixingModulesInterfaces5.js b/tests/baselines/reference/interMixingModulesInterfaces5.js index d89243d8f3560..17786b0f3e786 100644 --- a/tests/baselines/reference/interMixingModulesInterfaces5.js +++ b/tests/baselines/reference/interMixingModulesInterfaces5.js @@ -18,6 +18,7 @@ namespace A { var x: number = A.B.createB(); //// [interMixingModulesInterfaces5.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/interface0.js b/tests/baselines/reference/interface0.js index 5744fd55c543f..9a93f96d0b903 100644 --- a/tests/baselines/reference/interface0.js +++ b/tests/baselines/reference/interface0.js @@ -9,4 +9,5 @@ var y: Generic = { x: 3 }; //// [interface0.js] +"use strict"; var y = { x: 3 }; diff --git a/tests/baselines/reference/interfaceAssignmentCompat.js b/tests/baselines/reference/interfaceAssignmentCompat.js index 115da0a4ea506..c2e89ce1f40a1 100644 --- a/tests/baselines/reference/interfaceAssignmentCompat.js +++ b/tests/baselines/reference/interfaceAssignmentCompat.js @@ -55,6 +55,7 @@ M.test(); //// [interfaceAssignmentCompat.js] +"use strict"; var M; (function (M) { var Color; diff --git a/tests/baselines/reference/interfaceClassMerging.js b/tests/baselines/reference/interfaceClassMerging.js index 4467930c28390..8a482c49a6952 100644 --- a/tests/baselines/reference/interfaceClassMerging.js +++ b/tests/baselines/reference/interfaceClassMerging.js @@ -43,6 +43,7 @@ obj = bar; //// [interfaceClassMerging.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/interfaceClassMerging2.js b/tests/baselines/reference/interfaceClassMerging2.js index 83e389f53d6bd..b10e80e2f9d68 100644 --- a/tests/baselines/reference/interfaceClassMerging2.js +++ b/tests/baselines/reference/interfaceClassMerging2.js @@ -39,6 +39,7 @@ foo = bar; //// [interfaceClassMerging2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/interfaceDeclaration1.js b/tests/baselines/reference/interfaceDeclaration1.js index 75cc9b4b123cd..3c2f48512079d 100644 --- a/tests/baselines/reference/interfaceDeclaration1.js +++ b/tests/baselines/reference/interfaceDeclaration1.js @@ -56,6 +56,7 @@ interface i12 extends i10, i11 { } //// [interfaceDeclaration1.js] +"use strict"; var v1; v1(); var C1 = /** @class */ (function () { diff --git a/tests/baselines/reference/interfaceDeclaration2.js b/tests/baselines/reference/interfaceDeclaration2.js index ad7bf789552cb..3668477f9fe18 100644 --- a/tests/baselines/reference/interfaceDeclaration2.js +++ b/tests/baselines/reference/interfaceDeclaration2.js @@ -16,6 +16,7 @@ var I4:number; //// [interfaceDeclaration2.js] +"use strict"; var I2 = /** @class */ (function () { function I2() { } diff --git a/tests/baselines/reference/interfaceDeclaration4.js b/tests/baselines/reference/interfaceDeclaration4.js index 78ae453536c6c..5f9a4c8f8a622 100644 --- a/tests/baselines/reference/interfaceDeclaration4.js +++ b/tests/baselines/reference/interfaceDeclaration4.js @@ -43,6 +43,7 @@ interface Foo.I1 { } //// [interfaceDeclaration4.js] +"use strict"; // Import this module when test harness supports external modules. Also remove the internal module below. // import Foo = require("interfaceDeclaration5") var Foo; diff --git a/tests/baselines/reference/interfaceDeclaration6.js b/tests/baselines/reference/interfaceDeclaration6.js index de54d7be82841..4b3ab1d27bcc3 100644 --- a/tests/baselines/reference/interfaceDeclaration6.js +++ b/tests/baselines/reference/interfaceDeclaration6.js @@ -10,6 +10,7 @@ interface i4 { } //// [interfaceDeclaration6.js] +"use strict"; ; ; ; diff --git a/tests/baselines/reference/interfaceDoesNotDependOnBaseTypes.js b/tests/baselines/reference/interfaceDoesNotDependOnBaseTypes.js index 74a6b94020f2d..2e702cf7a64d6 100644 --- a/tests/baselines/reference/interfaceDoesNotDependOnBaseTypes.js +++ b/tests/baselines/reference/interfaceDoesNotDependOnBaseTypes.js @@ -11,6 +11,7 @@ type StringTree = string | StringTreeArray; interface StringTreeArray extends Array { } //// [interfaceDoesNotDependOnBaseTypes.js] +"use strict"; var x; if (typeof x !== "string") { x.push(""); diff --git a/tests/baselines/reference/interfaceExtendingClass.js b/tests/baselines/reference/interfaceExtendingClass.js index e074ca3c02b74..7afdc43267c58 100644 --- a/tests/baselines/reference/interfaceExtendingClass.js +++ b/tests/baselines/reference/interfaceExtendingClass.js @@ -22,6 +22,7 @@ var f: Foo = i; i = f; //// [interfaceExtendingClass.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/interfaceExtendingClass2.js b/tests/baselines/reference/interfaceExtendingClass2.js index 740ad67964336..549ad3c98177f 100644 --- a/tests/baselines/reference/interfaceExtendingClass2.js +++ b/tests/baselines/reference/interfaceExtendingClass2.js @@ -18,6 +18,7 @@ interface I2 extends Foo { // error } //// [interfaceExtendingClass2.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/interfaceExtendingClassWithPrivates.js b/tests/baselines/reference/interfaceExtendingClassWithPrivates.js index 57fc7fe3b6d23..8978077de4567 100644 --- a/tests/baselines/reference/interfaceExtendingClassWithPrivates.js +++ b/tests/baselines/reference/interfaceExtendingClassWithPrivates.js @@ -18,6 +18,7 @@ var r = i.y; var r2 = i.x; // error //// [interfaceExtendingClassWithPrivates.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/interfaceExtendingClassWithPrivates2.js b/tests/baselines/reference/interfaceExtendingClassWithPrivates2.js index d7de9354dbd79..665031c26072d 100644 --- a/tests/baselines/reference/interfaceExtendingClassWithPrivates2.js +++ b/tests/baselines/reference/interfaceExtendingClassWithPrivates2.js @@ -30,6 +30,7 @@ var r2 = i.x; // error var r3 = i.y; // error //// [interfaceExtendingClassWithPrivates2.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/interfaceExtendingClassWithProtecteds.js b/tests/baselines/reference/interfaceExtendingClassWithProtecteds.js index a31d644cbae70..132c2ba6e89e3 100644 --- a/tests/baselines/reference/interfaceExtendingClassWithProtecteds.js +++ b/tests/baselines/reference/interfaceExtendingClassWithProtecteds.js @@ -18,6 +18,7 @@ var r = i.y; var r2 = i.x; // error //// [interfaceExtendingClassWithProtecteds.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/interfaceExtendingClassWithProtecteds2.js b/tests/baselines/reference/interfaceExtendingClassWithProtecteds2.js index 21038846b855b..b6ed742550e97 100644 --- a/tests/baselines/reference/interfaceExtendingClassWithProtecteds2.js +++ b/tests/baselines/reference/interfaceExtendingClassWithProtecteds2.js @@ -30,6 +30,7 @@ var r2 = i.x; // error var r3 = i.y; // error //// [interfaceExtendingClassWithProtecteds2.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/interfaceExtendingOptionalChain.js b/tests/baselines/reference/interfaceExtendingOptionalChain.js index 84e0913990ee7..fd0703243fdd2 100644 --- a/tests/baselines/reference/interfaceExtendingOptionalChain.js +++ b/tests/baselines/reference/interfaceExtendingOptionalChain.js @@ -9,6 +9,7 @@ interface C1 extends Foo?.Bar {} //// [interfaceExtendingOptionalChain.js] +"use strict"; var Foo; (function (Foo) { var Bar = /** @class */ (function () { diff --git a/tests/baselines/reference/interfaceExtendsClass1.js b/tests/baselines/reference/interfaceExtendsClass1.js index 716a5ebb44a02..910efeda1e0ed 100644 --- a/tests/baselines/reference/interfaceExtendsClass1.js +++ b/tests/baselines/reference/interfaceExtendsClass1.js @@ -21,6 +21,7 @@ class Location { //// [interfaceExtendsClass1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/interfaceExtendsClassWithPrivate1.js b/tests/baselines/reference/interfaceExtendsClassWithPrivate1.js index 7ae863d8e923c..823c0cf646b0d 100644 --- a/tests/baselines/reference/interfaceExtendsClassWithPrivate1.js +++ b/tests/baselines/reference/interfaceExtendsClassWithPrivate1.js @@ -30,6 +30,7 @@ c = d; d = c; // error //// [interfaceExtendsClassWithPrivate1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/interfaceExtendsClassWithPrivate2.js b/tests/baselines/reference/interfaceExtendsClassWithPrivate2.js index 20857b31f6892..817113cf49063 100644 --- a/tests/baselines/reference/interfaceExtendsClassWithPrivate2.js +++ b/tests/baselines/reference/interfaceExtendsClassWithPrivate2.js @@ -26,6 +26,7 @@ class D2 extends C implements I { // error } //// [interfaceExtendsClassWithPrivate2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/interfaceExtendsObjectIntersection.js b/tests/baselines/reference/interfaceExtendsObjectIntersection.js index 5e0c3d1519ef9..bdf299b984d2d 100644 --- a/tests/baselines/reference/interfaceExtendsObjectIntersection.js +++ b/tests/baselines/reference/interfaceExtendsObjectIntersection.js @@ -57,6 +57,7 @@ class C23 extends Constructor>() { x: string } //// [interfaceExtendsObjectIntersection.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/interfaceExtendsObjectIntersectionErrors.js b/tests/baselines/reference/interfaceExtendsObjectIntersectionErrors.js index 0a9f5c668e7f5..e30d6bae3a5a1 100644 --- a/tests/baselines/reference/interfaceExtendsObjectIntersectionErrors.js +++ b/tests/baselines/reference/interfaceExtendsObjectIntersectionErrors.js @@ -51,6 +51,7 @@ interface I31 extends T { x: string } //// [interfaceExtendsObjectIntersectionErrors.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/interfaceImplementation1.js b/tests/baselines/reference/interfaceImplementation1.js index 9fd852e9ca3e9..5135764278b94 100644 --- a/tests/baselines/reference/interfaceImplementation1.js +++ b/tests/baselines/reference/interfaceImplementation1.js @@ -49,6 +49,7 @@ c["foo"]; //// [interfaceImplementation1.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/interfaceImplementation2.js b/tests/baselines/reference/interfaceImplementation2.js index fcdc2ec7a2151..ae2fdb035a7e2 100644 --- a/tests/baselines/reference/interfaceImplementation2.js +++ b/tests/baselines/reference/interfaceImplementation2.js @@ -16,6 +16,7 @@ class C3 implements I1 { //// [interfaceImplementation2.js] +"use strict"; var C3 = /** @class */ (function () { function C3() { } diff --git a/tests/baselines/reference/interfaceImplementation3.js b/tests/baselines/reference/interfaceImplementation3.js index 2877ef6b362b1..df62c87a16cda 100644 --- a/tests/baselines/reference/interfaceImplementation3.js +++ b/tests/baselines/reference/interfaceImplementation3.js @@ -18,6 +18,7 @@ class C4 implements I1 { //// [interfaceImplementation3.js] +"use strict"; var C4 = /** @class */ (function () { function C4() { } diff --git a/tests/baselines/reference/interfaceImplementation4.js b/tests/baselines/reference/interfaceImplementation4.js index add15a4b77121..03f79b4f1ba65 100644 --- a/tests/baselines/reference/interfaceImplementation4.js +++ b/tests/baselines/reference/interfaceImplementation4.js @@ -16,6 +16,7 @@ class C5 implements I1 { //// [interfaceImplementation4.js] +"use strict"; var C5 = /** @class */ (function () { function C5() { } diff --git a/tests/baselines/reference/interfaceImplementation5.js b/tests/baselines/reference/interfaceImplementation5.js index 5c2142b05ed7c..57c3eace70891 100644 --- a/tests/baselines/reference/interfaceImplementation5.js +++ b/tests/baselines/reference/interfaceImplementation5.js @@ -34,6 +34,7 @@ class C6 implements I1 { //// [interfaceImplementation5.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/interfaceImplementation7.js b/tests/baselines/reference/interfaceImplementation7.js index 840be910e489d..28b3e948228b3 100644 --- a/tests/baselines/reference/interfaceImplementation7.js +++ b/tests/baselines/reference/interfaceImplementation7.js @@ -13,6 +13,7 @@ class C1 implements i4 { //// [interfaceImplementation7.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/interfaceImplementation8.js b/tests/baselines/reference/interfaceImplementation8.js index ea4b282be92b0..d3bfd332a869f 100644 --- a/tests/baselines/reference/interfaceImplementation8.js +++ b/tests/baselines/reference/interfaceImplementation8.js @@ -43,6 +43,7 @@ class C8 extends C7 implements i2{ //// [interfaceImplementation8.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/interfaceInReopenedModule.js b/tests/baselines/reference/interfaceInReopenedModule.js index d0b65251a8d6c..0b5161f88ceb2 100644 --- a/tests/baselines/reference/interfaceInReopenedModule.js +++ b/tests/baselines/reference/interfaceInReopenedModule.js @@ -14,6 +14,7 @@ namespace m { //// [interfaceInReopenedModule.js] +"use strict"; // In second instance of same module, exported interface is not visible var m; (function (m) { diff --git a/tests/baselines/reference/interfaceInheritance.js b/tests/baselines/reference/interfaceInheritance.js index 9b3f38735ca06..6b6fc1093f97f 100644 --- a/tests/baselines/reference/interfaceInheritance.js +++ b/tests/baselines/reference/interfaceInheritance.js @@ -43,6 +43,7 @@ i5 = i4; // should be an error //// [interfaceInheritance.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/interfaceInheritance2.js b/tests/baselines/reference/interfaceInheritance2.js index 48c4475ca344a..05761f3351961 100644 --- a/tests/baselines/reference/interfaceInheritance2.js +++ b/tests/baselines/reference/interfaceInheritance2.js @@ -12,5 +12,6 @@ v1(); //// [interfaceInheritance2.js] +"use strict"; var v1; v1(); diff --git a/tests/baselines/reference/interfaceMayNotBeExtendedWitACall.js b/tests/baselines/reference/interfaceMayNotBeExtendedWitACall.js index a217de547585c..02adb3114af6d 100644 --- a/tests/baselines/reference/interfaceMayNotBeExtendedWitACall.js +++ b/tests/baselines/reference/interfaceMayNotBeExtendedWitACall.js @@ -9,3 +9,4 @@ interface blue extends color() { // error //// [interfaceMayNotBeExtendedWitACall.js] +"use strict"; diff --git a/tests/baselines/reference/interfaceMemberValidation.js b/tests/baselines/reference/interfaceMemberValidation.js index f4e5a792e11f0..d82cc04a33515 100644 --- a/tests/baselines/reference/interfaceMemberValidation.js +++ b/tests/baselines/reference/interfaceMemberValidation.js @@ -14,3 +14,4 @@ interface foo { } //// [interfaceMemberValidation.js] +"use strict"; diff --git a/tests/baselines/reference/interfaceNameAsIdentifier.js b/tests/baselines/reference/interfaceNameAsIdentifier.js index d36f6f5b6b202..4fbe3f4b5702b 100644 --- a/tests/baselines/reference/interfaceNameAsIdentifier.js +++ b/tests/baselines/reference/interfaceNameAsIdentifier.js @@ -16,5 +16,6 @@ m2.C(); //// [interfaceNameAsIdentifier.js] +"use strict"; C(); m2.C(); diff --git a/tests/baselines/reference/interfaceNaming1.js b/tests/baselines/reference/interfaceNaming1.js index 37a7a6bea2f8e..27a69f84dbe30 100644 --- a/tests/baselines/reference/interfaceNaming1.js +++ b/tests/baselines/reference/interfaceNaming1.js @@ -7,6 +7,7 @@ interface & { } //// [interfaceNaming1.js] +"use strict"; interface; { } interface & {}; diff --git a/tests/baselines/reference/interfaceOnly.js b/tests/baselines/reference/interfaceOnly.js index 90f42084de0e6..cdc3a047a652d 100644 --- a/tests/baselines/reference/interfaceOnly.js +++ b/tests/baselines/reference/interfaceOnly.js @@ -7,6 +7,7 @@ interface foo { } //// [interfaceOnly.js] +"use strict"; //// [interfaceOnly.d.ts] diff --git a/tests/baselines/reference/interfacePropertiesWithSameName1.js b/tests/baselines/reference/interfacePropertiesWithSameName1.js index d431c2a159174..ff03964cded20 100644 --- a/tests/baselines/reference/interfacePropertiesWithSameName1.js +++ b/tests/baselines/reference/interfacePropertiesWithSameName1.js @@ -16,3 +16,4 @@ interface MoverShaker extends Mover, Shaker { //// [interfacePropertiesWithSameName1.js] +"use strict"; diff --git a/tests/baselines/reference/interfacePropertiesWithSameName2.js b/tests/baselines/reference/interfacePropertiesWithSameName2.js index 632c0eba8176c..f60241a4bd0c6 100644 --- a/tests/baselines/reference/interfacePropertiesWithSameName2.js +++ b/tests/baselines/reference/interfacePropertiesWithSameName2.js @@ -33,3 +33,4 @@ interface MoverShaker3 extends MoversAndShakers.Mover, MoversAndShakers.Shaker { } //// [interfacePropertiesWithSameName2.js] +"use strict"; diff --git a/tests/baselines/reference/interfacePropertiesWithSameName3.js b/tests/baselines/reference/interfacePropertiesWithSameName3.js index 62b8f6b2334e5..776b179ab35c6 100644 --- a/tests/baselines/reference/interfacePropertiesWithSameName3.js +++ b/tests/baselines/reference/interfacePropertiesWithSameName3.js @@ -11,6 +11,7 @@ interface F2 extends E2, D2 { } // error //// [interfacePropertiesWithSameName3.js] +"use strict"; var D2 = /** @class */ (function () { function D2() { } diff --git a/tests/baselines/reference/interfaceSubtyping.js b/tests/baselines/reference/interfaceSubtyping.js index 9337ac4514742..346cc485835de 100644 --- a/tests/baselines/reference/interfaceSubtyping.js +++ b/tests/baselines/reference/interfaceSubtyping.js @@ -12,6 +12,7 @@ class Camera implements iface{ //// [interfaceSubtyping.js] +"use strict"; var Camera = /** @class */ (function () { function Camera(str) { this.str = str; diff --git a/tests/baselines/reference/interfaceThatHidesBaseProperty.js b/tests/baselines/reference/interfaceThatHidesBaseProperty.js index 56b8dab6e5d07..1d8f6e405adf8 100644 --- a/tests/baselines/reference/interfaceThatHidesBaseProperty.js +++ b/tests/baselines/reference/interfaceThatHidesBaseProperty.js @@ -12,3 +12,4 @@ interface Derived extends Base { } //// [interfaceThatHidesBaseProperty.js] +"use strict"; diff --git a/tests/baselines/reference/interfaceThatHidesBaseProperty2.js b/tests/baselines/reference/interfaceThatHidesBaseProperty2.js index fcfb4c47ea381..21573fa5d3b47 100644 --- a/tests/baselines/reference/interfaceThatHidesBaseProperty2.js +++ b/tests/baselines/reference/interfaceThatHidesBaseProperty2.js @@ -12,3 +12,4 @@ interface Derived extends Base { // error } //// [interfaceThatHidesBaseProperty2.js] +"use strict"; diff --git a/tests/baselines/reference/interfaceThatIndirectlyInheritsFromItself.js b/tests/baselines/reference/interfaceThatIndirectlyInheritsFromItself.js index f3bea8f11ca60..bc4ad98819da1 100644 --- a/tests/baselines/reference/interfaceThatIndirectlyInheritsFromItself.js +++ b/tests/baselines/reference/interfaceThatIndirectlyInheritsFromItself.js @@ -28,3 +28,4 @@ namespace Generic { } //// [interfaceThatIndirectlyInheritsFromItself.js] +"use strict"; diff --git a/tests/baselines/reference/interfaceThatInheritsFromItself.js b/tests/baselines/reference/interfaceThatInheritsFromItself.js index fa5000eaaeb32..02b2d720d5633 100644 --- a/tests/baselines/reference/interfaceThatInheritsFromItself.js +++ b/tests/baselines/reference/interfaceThatInheritsFromItself.js @@ -16,3 +16,4 @@ interface Bar implements Bar { // error //// [interfaceThatInheritsFromItself.js] +"use strict"; diff --git a/tests/baselines/reference/interfaceWithAccessibilityModifiers.js b/tests/baselines/reference/interfaceWithAccessibilityModifiers.js index 42df334ecf56d..1ba47636f339c 100644 --- a/tests/baselines/reference/interfaceWithAccessibilityModifiers.js +++ b/tests/baselines/reference/interfaceWithAccessibilityModifiers.js @@ -9,3 +9,4 @@ interface Foo { } //// [interfaceWithAccessibilityModifiers.js] +"use strict"; diff --git a/tests/baselines/reference/interfaceWithCallAndConstructSignature.js b/tests/baselines/reference/interfaceWithCallAndConstructSignature.js index db7ef07bfe571..f43704565ed3c 100644 --- a/tests/baselines/reference/interfaceWithCallAndConstructSignature.js +++ b/tests/baselines/reference/interfaceWithCallAndConstructSignature.js @@ -11,6 +11,7 @@ var r = f(); var r2 = new f(); //// [interfaceWithCallAndConstructSignature.js] +"use strict"; var f; var r = f(); var r2 = new f(); diff --git a/tests/baselines/reference/interfaceWithCallSignaturesThatHidesBaseSignature.js b/tests/baselines/reference/interfaceWithCallSignaturesThatHidesBaseSignature.js index 6994df63259a3..f2e9e01f5b164 100644 --- a/tests/baselines/reference/interfaceWithCallSignaturesThatHidesBaseSignature.js +++ b/tests/baselines/reference/interfaceWithCallSignaturesThatHidesBaseSignature.js @@ -13,5 +13,6 @@ var d: Derived; var r = d(); //// [interfaceWithCallSignaturesThatHidesBaseSignature.js] +"use strict"; var d; var r = d(); diff --git a/tests/baselines/reference/interfaceWithCallSignaturesThatHidesBaseSignature2.js b/tests/baselines/reference/interfaceWithCallSignaturesThatHidesBaseSignature2.js index 365b4a06ca2d4..433110db7c75a 100644 --- a/tests/baselines/reference/interfaceWithCallSignaturesThatHidesBaseSignature2.js +++ b/tests/baselines/reference/interfaceWithCallSignaturesThatHidesBaseSignature2.js @@ -13,5 +13,6 @@ var d: Derived; var r = d(); //// [interfaceWithCallSignaturesThatHidesBaseSignature2.js] +"use strict"; var d; var r = d(); diff --git a/tests/baselines/reference/interfaceWithCommaSeparators.js b/tests/baselines/reference/interfaceWithCommaSeparators.js index ea04683455fe9..d020d6e7d2eed 100644 --- a/tests/baselines/reference/interfaceWithCommaSeparators.js +++ b/tests/baselines/reference/interfaceWithCommaSeparators.js @@ -5,4 +5,5 @@ var v: { bar(): void, baz } interface Foo { bar(): void, baz } //// [interfaceWithCommaSeparators.js] +"use strict"; var v; diff --git a/tests/baselines/reference/interfaceWithConstructSignaturesThatHidesBaseSignature.js b/tests/baselines/reference/interfaceWithConstructSignaturesThatHidesBaseSignature.js index c3ad9e9c57b77..8347cd4a3e1d4 100644 --- a/tests/baselines/reference/interfaceWithConstructSignaturesThatHidesBaseSignature.js +++ b/tests/baselines/reference/interfaceWithConstructSignaturesThatHidesBaseSignature.js @@ -13,5 +13,6 @@ var d: Derived; var r = new d(); //// [interfaceWithConstructSignaturesThatHidesBaseSignature.js] +"use strict"; var d; var r = new d(); diff --git a/tests/baselines/reference/interfaceWithConstructSignaturesThatHidesBaseSignature2.js b/tests/baselines/reference/interfaceWithConstructSignaturesThatHidesBaseSignature2.js index 2e91eff1c1357..a94a57ede4bd6 100644 --- a/tests/baselines/reference/interfaceWithConstructSignaturesThatHidesBaseSignature2.js +++ b/tests/baselines/reference/interfaceWithConstructSignaturesThatHidesBaseSignature2.js @@ -13,5 +13,6 @@ var d: Derived; var r = new d(); //// [interfaceWithConstructSignaturesThatHidesBaseSignature2.js] +"use strict"; var d; var r = new d(); diff --git a/tests/baselines/reference/interfaceWithImplements1.js b/tests/baselines/reference/interfaceWithImplements1.js index aeced743d5621..50def208e05e7 100644 --- a/tests/baselines/reference/interfaceWithImplements1.js +++ b/tests/baselines/reference/interfaceWithImplements1.js @@ -7,3 +7,4 @@ interface IBar implements IFoo { } //// [interfaceWithImplements1.js] +"use strict"; diff --git a/tests/baselines/reference/interfaceWithMultipleBaseTypes.js b/tests/baselines/reference/interfaceWithMultipleBaseTypes.js index 304a5c393ce12..e940c91789672 100644 --- a/tests/baselines/reference/interfaceWithMultipleBaseTypes.js +++ b/tests/baselines/reference/interfaceWithMultipleBaseTypes.js @@ -66,4 +66,5 @@ namespace Generic { } //// [interfaceWithMultipleBaseTypes.js] +"use strict"; // an interface may have multiple bases with properties of the same name as long as the interface's implementation satisfies all base type versions diff --git a/tests/baselines/reference/interfaceWithMultipleBaseTypes2.js b/tests/baselines/reference/interfaceWithMultipleBaseTypes2.js index 43640323d5c06..1bf3cb2102942 100644 --- a/tests/baselines/reference/interfaceWithMultipleBaseTypes2.js +++ b/tests/baselines/reference/interfaceWithMultipleBaseTypes2.js @@ -28,3 +28,4 @@ interface Derived3 extends Base, Base2 { //// [interfaceWithMultipleBaseTypes2.js] +"use strict"; diff --git a/tests/baselines/reference/interfaceWithMultipleDeclarations.js b/tests/baselines/reference/interfaceWithMultipleDeclarations.js index 97be4e2ee5b07..b0ff915ec547b 100644 --- a/tests/baselines/reference/interfaceWithMultipleDeclarations.js +++ b/tests/baselines/reference/interfaceWithMultipleDeclarations.js @@ -40,6 +40,7 @@ interface I4> { // Should not be error } //// [interfaceWithMultipleDeclarations.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/interfaceWithOptionalProperty.js b/tests/baselines/reference/interfaceWithOptionalProperty.js index 91d2f200c16a2..0419bc548944d 100644 --- a/tests/baselines/reference/interfaceWithOptionalProperty.js +++ b/tests/baselines/reference/interfaceWithOptionalProperty.js @@ -6,6 +6,7 @@ interface I { } //// [interfaceWithOptionalProperty.js] +"use strict"; //// [interfaceWithOptionalProperty.d.ts] diff --git a/tests/baselines/reference/interfaceWithOverloadedCallAndConstructSignatures.js b/tests/baselines/reference/interfaceWithOverloadedCallAndConstructSignatures.js index 0aa951a1d732e..dc8e19515b28d 100644 --- a/tests/baselines/reference/interfaceWithOverloadedCallAndConstructSignatures.js +++ b/tests/baselines/reference/interfaceWithOverloadedCallAndConstructSignatures.js @@ -16,6 +16,7 @@ var r3 = new f(); var r4 = new f(''); //// [interfaceWithOverloadedCallAndConstructSignatures.js] +"use strict"; var f; var r1 = f(); var r2 = f(''); diff --git a/tests/baselines/reference/interfaceWithPrivateMember.js b/tests/baselines/reference/interfaceWithPrivateMember.js index cae07a31f5c48..c71f5b3f06de9 100644 --- a/tests/baselines/reference/interfaceWithPrivateMember.js +++ b/tests/baselines/reference/interfaceWithPrivateMember.js @@ -16,5 +16,6 @@ var x: { } //// [interfaceWithPrivateMember.js] +"use strict"; // interfaces do not permit private members, these are errors var x; diff --git a/tests/baselines/reference/interfaceWithPropertyOfEveryType.js b/tests/baselines/reference/interfaceWithPropertyOfEveryType.js index 171a11026496f..f2a67b3ae0137 100644 --- a/tests/baselines/reference/interfaceWithPropertyOfEveryType.js +++ b/tests/baselines/reference/interfaceWithPropertyOfEveryType.js @@ -45,6 +45,7 @@ var a: Foo = { } //// [interfaceWithPropertyOfEveryType.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/interfaceWithPropertyThatIsPrivateInBaseType.js b/tests/baselines/reference/interfaceWithPropertyThatIsPrivateInBaseType.js index f700b8bfcfa26..c6c7d9f9e9cd1 100644 --- a/tests/baselines/reference/interfaceWithPropertyThatIsPrivateInBaseType.js +++ b/tests/baselines/reference/interfaceWithPropertyThatIsPrivateInBaseType.js @@ -18,6 +18,7 @@ interface Foo2 extends Base2 { // error } //// [interfaceWithPropertyThatIsPrivateInBaseType.js] +"use strict"; var Base = /** @class */ (function () { function Base() { } diff --git a/tests/baselines/reference/interfaceWithPropertyThatIsPrivateInBaseType2.js b/tests/baselines/reference/interfaceWithPropertyThatIsPrivateInBaseType2.js index 7abb777a38e06..ef502caf61fc5 100644 --- a/tests/baselines/reference/interfaceWithPropertyThatIsPrivateInBaseType2.js +++ b/tests/baselines/reference/interfaceWithPropertyThatIsPrivateInBaseType2.js @@ -18,6 +18,7 @@ interface Foo2 extends Base2 { // error } //// [interfaceWithPropertyThatIsPrivateInBaseType2.js] +"use strict"; var Base = /** @class */ (function () { function Base() { } diff --git a/tests/baselines/reference/interfaceWithSpecializedCallAndConstructSignatures.js b/tests/baselines/reference/interfaceWithSpecializedCallAndConstructSignatures.js index 6518bdf04ff60..d18abf78d50db 100644 --- a/tests/baselines/reference/interfaceWithSpecializedCallAndConstructSignatures.js +++ b/tests/baselines/reference/interfaceWithSpecializedCallAndConstructSignatures.js @@ -17,6 +17,7 @@ var r4 = new f('A'); //// [interfaceWithSpecializedCallAndConstructSignatures.js] +"use strict"; var f; var r = f('a'); var r2 = f('A'); diff --git a/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer.js b/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer.js index 7ba1d0e0335ff..a16317208ddba 100644 --- a/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer.js +++ b/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer.js @@ -19,3 +19,4 @@ interface Derived extends Base { } //// [interfaceWithStringIndexerHidingBaseTypeIndexer.js] +"use strict"; diff --git a/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer2.js b/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer2.js index 7ee3dded3b909..97b231466d001 100644 --- a/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer2.js +++ b/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer2.js @@ -23,3 +23,4 @@ interface Derived extends Base { } //// [interfaceWithStringIndexerHidingBaseTypeIndexer2.js] +"use strict"; diff --git a/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer3.js b/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer3.js index c9b27e3261a04..7d157cbb49b96 100644 --- a/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer3.js +++ b/tests/baselines/reference/interfaceWithStringIndexerHidingBaseTypeIndexer3.js @@ -19,3 +19,4 @@ interface Derived extends Base { } //// [interfaceWithStringIndexerHidingBaseTypeIndexer3.js] +"use strict"; diff --git a/tests/baselines/reference/interfacedecl.js b/tests/baselines/reference/interfacedecl.js index 70c780de0f527..d56d1a9e36611 100644 --- a/tests/baselines/reference/interfacedecl.js +++ b/tests/baselines/reference/interfacedecl.js @@ -49,6 +49,7 @@ class c1 implements a { var instance2 = new c1(); //// [interfacedecl.js] +"use strict"; var c1 = /** @class */ (function () { function c1() { } diff --git a/tests/baselines/reference/interfacedeclWithIndexerErrors.js b/tests/baselines/reference/interfacedeclWithIndexerErrors.js index e1e2c53b581a7..0477cb9d77457 100644 --- a/tests/baselines/reference/interfacedeclWithIndexerErrors.js +++ b/tests/baselines/reference/interfacedeclWithIndexerErrors.js @@ -56,6 +56,7 @@ class c1 implements a { var instance2 = new c1(); //// [interfacedeclWithIndexerErrors.js] +"use strict"; var c1 = /** @class */ (function () { function c1() { } diff --git a/tests/baselines/reference/interfacesWithPredefinedTypesAsNames.js b/tests/baselines/reference/interfacesWithPredefinedTypesAsNames.js index 8153d50d99bcb..b63f99cb181f9 100644 --- a/tests/baselines/reference/interfacesWithPredefinedTypesAsNames.js +++ b/tests/baselines/reference/interfacesWithPredefinedTypesAsNames.js @@ -10,5 +10,6 @@ interface unknown {} interface never {} //// [interfacesWithPredefinedTypesAsNames.js] +"use strict"; interface; void {}; diff --git a/tests/baselines/reference/internalAliasClass.js b/tests/baselines/reference/internalAliasClass.js index e9e0607d06883..51428869593a1 100644 --- a/tests/baselines/reference/internalAliasClass.js +++ b/tests/baselines/reference/internalAliasClass.js @@ -12,6 +12,7 @@ namespace c { } //// [internalAliasClass.js] +"use strict"; var a; (function (a) { var c = /** @class */ (function () { diff --git a/tests/baselines/reference/internalAliasEnum.js b/tests/baselines/reference/internalAliasEnum.js index 3dc513bda8dc7..f393d3337d023 100644 --- a/tests/baselines/reference/internalAliasEnum.js +++ b/tests/baselines/reference/internalAliasEnum.js @@ -16,6 +16,7 @@ namespace c { //// [internalAliasEnum.js] +"use strict"; var a; (function (a) { var weekend; diff --git a/tests/baselines/reference/internalAliasFunction.js b/tests/baselines/reference/internalAliasFunction.js index 2b1cbd6307703..f6c600e5d8004 100644 --- a/tests/baselines/reference/internalAliasFunction.js +++ b/tests/baselines/reference/internalAliasFunction.js @@ -15,6 +15,7 @@ namespace c { //// [internalAliasFunction.js] +"use strict"; var a; (function (a) { function foo(x) { diff --git a/tests/baselines/reference/internalAliasInitializedModule.js b/tests/baselines/reference/internalAliasInitializedModule.js index 1efcc2ef44f8f..42d52c4bde3a3 100644 --- a/tests/baselines/reference/internalAliasInitializedModule.js +++ b/tests/baselines/reference/internalAliasInitializedModule.js @@ -14,6 +14,7 @@ namespace c { } //// [internalAliasInitializedModule.js] +"use strict"; var a; (function (a) { var b; diff --git a/tests/baselines/reference/internalAliasInterface.js b/tests/baselines/reference/internalAliasInterface.js index fc2cb41c54c19..b815b57728da1 100644 --- a/tests/baselines/reference/internalAliasInterface.js +++ b/tests/baselines/reference/internalAliasInterface.js @@ -13,6 +13,7 @@ namespace c { //// [internalAliasInterface.js] +"use strict"; var c; (function (c) { })(c || (c = {})); diff --git a/tests/baselines/reference/internalAliasUninitializedModule.js b/tests/baselines/reference/internalAliasUninitializedModule.js index ec9e86912d673..1fe050161da1f 100644 --- a/tests/baselines/reference/internalAliasUninitializedModule.js +++ b/tests/baselines/reference/internalAliasUninitializedModule.js @@ -16,6 +16,7 @@ namespace c { } //// [internalAliasUninitializedModule.js] +"use strict"; var c; (function (c) { c.x.foo(); diff --git a/tests/baselines/reference/internalAliasVar.js b/tests/baselines/reference/internalAliasVar.js index 3f45caa18645c..fa223091556be 100644 --- a/tests/baselines/reference/internalAliasVar.js +++ b/tests/baselines/reference/internalAliasVar.js @@ -12,6 +12,7 @@ namespace c { //// [internalAliasVar.js] +"use strict"; var a; (function (a) { a.x = 10; diff --git a/tests/baselines/reference/internalAliasWithDottedNameEmit.js b/tests/baselines/reference/internalAliasWithDottedNameEmit.js index 2f4c67e2dbdbf..e830e721326d9 100644 --- a/tests/baselines/reference/internalAliasWithDottedNameEmit.js +++ b/tests/baselines/reference/internalAliasWithDottedNameEmit.js @@ -10,6 +10,7 @@ namespace a.e.f { //// [internalAliasWithDottedNameEmit.js] +"use strict"; var a; (function (a) { var b; diff --git a/tests/baselines/reference/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js b/tests/baselines/reference/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js index 49fe44d3b1acc..24cf799dfd10b 100644 --- a/tests/baselines/reference/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js +++ b/tests/baselines/reference/internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js @@ -16,6 +16,7 @@ namespace B { //// [internalImportInstantiatedModuleMergedWithClassNotReferencingInstance.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js b/tests/baselines/reference/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js index 88e5f6d1ba663..30a078face66f 100644 --- a/tests/baselines/reference/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js +++ b/tests/baselines/reference/internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js @@ -15,6 +15,7 @@ namespace B { //// [internalImportInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/internalImportInstantiatedModuleNotReferencingInstance.js b/tests/baselines/reference/internalImportInstantiatedModuleNotReferencingInstance.js index 8965f41daece9..070d7b424d935 100644 --- a/tests/baselines/reference/internalImportInstantiatedModuleNotReferencingInstance.js +++ b/tests/baselines/reference/internalImportInstantiatedModuleNotReferencingInstance.js @@ -13,6 +13,7 @@ namespace B { //// [internalImportInstantiatedModuleNotReferencingInstance.js] +"use strict"; var A; (function (A) { A.a = 10; diff --git a/tests/baselines/reference/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js b/tests/baselines/reference/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js index 892ea1e1be138..3d5dd83a12cc9 100644 --- a/tests/baselines/reference/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js +++ b/tests/baselines/reference/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js @@ -15,6 +15,7 @@ namespace B { //// [internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstance.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js b/tests/baselines/reference/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js index 32f4c2a2e164a..77a45dc3e8016 100644 --- a/tests/baselines/reference/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js +++ b/tests/baselines/reference/internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js @@ -14,6 +14,7 @@ namespace B { //// [internalImportUnInstantiatedModuleMergedWithClassNotReferencingInstanceNoConflict.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.js b/tests/baselines/reference/internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.js index 698403174e021..a8ee82c1f90eb 100644 --- a/tests/baselines/reference/internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.js +++ b/tests/baselines/reference/internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.js @@ -12,6 +12,7 @@ namespace B { //// [internalImportUnInstantiatedModuleNotReferencingInstanceNoConflict.js] +"use strict"; var B; (function (B) { var A = 1; diff --git a/tests/baselines/reference/intersectionAndUnionTypes.js b/tests/baselines/reference/intersectionAndUnionTypes.js index e2485b4db87a8..a5448a0744c63 100644 --- a/tests/baselines/reference/intersectionAndUnionTypes.js +++ b/tests/baselines/reference/intersectionAndUnionTypes.js @@ -42,6 +42,7 @@ cod = y; // Ok //// [intersectionAndUnionTypes.js] +"use strict"; var a; var b; var c; diff --git a/tests/baselines/reference/intersectionAsWeakTypeSource.js b/tests/baselines/reference/intersectionAsWeakTypeSource.js index e23e6a7d0ad98..184dd428ec5f8 100644 --- a/tests/baselines/reference/intersectionAsWeakTypeSource.js +++ b/tests/baselines/reference/intersectionAsWeakTypeSource.js @@ -22,6 +22,7 @@ const vs: ViewStyle = wrapped.first // error, first is a branded number //// [intersectionAsWeakTypeSource.js] +"use strict"; var xy = { x: 'x', y: 10 }; var z1 = xy; // error, {xy} doesn't overlap with {z} var wrapped = create({ first: { view: 0, styleMedia: "???" } }); diff --git a/tests/baselines/reference/intersectionOfMixinConstructorTypeAndNonConstructorType.js b/tests/baselines/reference/intersectionOfMixinConstructorTypeAndNonConstructorType.js index e68f399703056..13abdad50c204 100644 --- a/tests/baselines/reference/intersectionOfMixinConstructorTypeAndNonConstructorType.js +++ b/tests/baselines/reference/intersectionOfMixinConstructorTypeAndNonConstructorType.js @@ -8,5 +8,6 @@ new x(); //// [intersectionOfMixinConstructorTypeAndNonConstructorType.js] +"use strict"; // Repro for #17388 new x(); diff --git a/tests/baselines/reference/intersectionOfTypeVariableHasApparentSignatures.js b/tests/baselines/reference/intersectionOfTypeVariableHasApparentSignatures.js index 76368427894b9..cdd370b794a3b 100644 --- a/tests/baselines/reference/intersectionOfTypeVariableHasApparentSignatures.js +++ b/tests/baselines/reference/intersectionOfTypeVariableHasApparentSignatures.js @@ -18,6 +18,7 @@ f({ }); //// [intersectionOfTypeVariableHasApparentSignatures.js] +"use strict"; f({ props: { children: (function (_a) { diff --git a/tests/baselines/reference/intersectionOfUnionOfUnitTypes.js b/tests/baselines/reference/intersectionOfUnionOfUnitTypes.js index e91042ca72d62..89ce3d0694269 100644 --- a/tests/baselines/reference/intersectionOfUnionOfUnitTypes.js +++ b/tests/baselines/reference/intersectionOfUnionOfUnitTypes.js @@ -28,6 +28,7 @@ let z5: (E.A | E.B | E.C) & (E.B | E.C | E.D) & (E.C | E.D | E.E) & (E.D | E.E | //// [intersectionOfUnionOfUnitTypes.js] +"use strict"; // @strict var x0; // 'a' | 'b' | 'c' var x1; // 'b' | 'c' diff --git a/tests/baselines/reference/intersectionReduction.js b/tests/baselines/reference/intersectionReduction.js index 2d9c4c5fb932e..9dc9ef1e9a5ac 100644 --- a/tests/baselines/reference/intersectionReduction.js +++ b/tests/baselines/reference/intersectionReduction.js @@ -144,6 +144,7 @@ function bar(x: T & CA) { //// [intersectionReduction.js] +"use strict"; ab.kind; // Error var a = x; var r1 = f10(a1); // unknown diff --git a/tests/baselines/reference/intersectionThisTypes.js b/tests/baselines/reference/intersectionThisTypes.js index 1110fc89c93ae..3f0e1526eb35d 100644 --- a/tests/baselines/reference/intersectionThisTypes.js +++ b/tests/baselines/reference/intersectionThisTypes.js @@ -44,6 +44,7 @@ function test(label: Label) { //// [intersectionThisTypes.js] +"use strict"; function f1(t) { t = t.self(); t = t.me().self().me(); diff --git a/tests/baselines/reference/intersectionTypeAssignment.js b/tests/baselines/reference/intersectionTypeAssignment.js index 3970c72e95a72..f9dab8f911614 100644 --- a/tests/baselines/reference/intersectionTypeAssignment.js +++ b/tests/baselines/reference/intersectionTypeAssignment.js @@ -21,6 +21,7 @@ y = x; //// [intersectionTypeAssignment.js] +"use strict"; a = x; a = y; x = a; // Error diff --git a/tests/baselines/reference/intersectionTypeEquivalence.js b/tests/baselines/reference/intersectionTypeEquivalence.js index ddbf25795cef6..72a06b459339e 100644 --- a/tests/baselines/reference/intersectionTypeEquivalence.js +++ b/tests/baselines/reference/intersectionTypeEquivalence.js @@ -20,6 +20,7 @@ var z1: A & typeof bc; //// [intersectionTypeEquivalence.js] +"use strict"; // A & B is equivalent to B & A. var y; var y; diff --git a/tests/baselines/reference/intersectionTypeInference.js b/tests/baselines/reference/intersectionTypeInference.js index 601a88e3753f5..4701f959c27dc 100644 --- a/tests/baselines/reference/intersectionTypeInference.js +++ b/tests/baselines/reference/intersectionTypeInference.js @@ -31,6 +31,7 @@ var z: string | number; //// [intersectionTypeInference.js] +"use strict"; function extend(obj1, obj2) { var result; obj1 = result; diff --git a/tests/baselines/reference/intersectionTypeInference2.js b/tests/baselines/reference/intersectionTypeInference2.js index 933b4f374d05e..d1beaa35599da 100644 --- a/tests/baselines/reference/intersectionTypeInference2.js +++ b/tests/baselines/reference/intersectionTypeInference2.js @@ -19,6 +19,7 @@ f2(obj, 'b'); //// [intersectionTypeInference2.js] +"use strict"; f(a); // never f(b); // never f2(obj, 'a'); diff --git a/tests/baselines/reference/intersectionTypeMembers.js b/tests/baselines/reference/intersectionTypeMembers.js index a25d4a15394c1..0f0ebb8b7507e 100644 --- a/tests/baselines/reference/intersectionTypeMembers.js +++ b/tests/baselines/reference/intersectionTypeMembers.js @@ -70,6 +70,7 @@ const defg: D & E & F & G = { //// [intersectionTypeMembers.js] +"use strict"; // An intersection type has those members that are present in any of its constituent types, // with types that are intersections of the respective members in the constituent types var abc; diff --git a/tests/baselines/reference/intersectionTypeNormalization.js b/tests/baselines/reference/intersectionTypeNormalization.js index e88ec7b193619..74b5532b3f641 100644 --- a/tests/baselines/reference/intersectionTypeNormalization.js +++ b/tests/baselines/reference/intersectionTypeNormalization.js @@ -108,6 +108,7 @@ function foo(so: any) { } //// [intersectionTypeNormalization.js] +"use strict"; var x; var x; var x; diff --git a/tests/baselines/reference/intersectionTypeOverloading.js b/tests/baselines/reference/intersectionTypeOverloading.js index 066ed46241607..a274983d635fb 100644 --- a/tests/baselines/reference/intersectionTypeOverloading.js +++ b/tests/baselines/reference/intersectionTypeOverloading.js @@ -18,6 +18,7 @@ var y: any; //// [intersectionTypeOverloading.js] +"use strict"; // Check that order is preserved in intersection types for purposes of // overload resolution var fg; diff --git a/tests/baselines/reference/intersectionTypeReadonly.js b/tests/baselines/reference/intersectionTypeReadonly.js index d031123d41b08..508364ac87919 100644 --- a/tests/baselines/reference/intersectionTypeReadonly.js +++ b/tests/baselines/reference/intersectionTypeReadonly.js @@ -29,6 +29,7 @@ differentName.value = 12; // error, property 'value' doesn't exist //// [intersectionTypeReadonly.js] +"use strict"; base.value = 12; // error, lhs can't be a readonly property identical.value = 12; // error, lhs can't be a readonly property mutable.value = 12; diff --git a/tests/baselines/reference/intersectionTypeWithLeadingOperator.js b/tests/baselines/reference/intersectionTypeWithLeadingOperator.js index af77b4e63f98a..ee482f706eef6 100644 --- a/tests/baselines/reference/intersectionTypeWithLeadingOperator.js +++ b/tests/baselines/reference/intersectionTypeWithLeadingOperator.js @@ -10,3 +10,4 @@ type C = [& { foo: 1 } & { bar: 2 }, & { foo: 3 } & { bar: 4 }]; //// [intersectionTypeWithLeadingOperator.js] +"use strict"; diff --git a/tests/baselines/reference/intersectionType_useDefineForClassFields.js b/tests/baselines/reference/intersectionType_useDefineForClassFields.js index ee63a3e8fd87e..ea24fef19da67 100644 --- a/tests/baselines/reference/intersectionType_useDefineForClassFields.js +++ b/tests/baselines/reference/intersectionType_useDefineForClassFields.js @@ -13,6 +13,7 @@ class Baz extends bar({ x: 1 }) { } //// [intersectionType_useDefineForClassFields.js] +"use strict"; function bar(_p) { return null; } diff --git a/tests/baselines/reference/intersectionsAndEmptyObjects.js b/tests/baselines/reference/intersectionsAndEmptyObjects.js index bb786ece46e72..2c12f1efd1d08 100644 --- a/tests/baselines/reference/intersectionsAndEmptyObjects.js +++ b/tests/baselines/reference/intersectionsAndEmptyObjects.js @@ -93,6 +93,7 @@ export {} //// [intersectionsAndEmptyObjects.js] +"use strict"; // Empty object type literals are removed from intersections types // that contain other object types var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { diff --git a/tests/baselines/reference/intersectionsAndReadonlyProperties.js b/tests/baselines/reference/intersectionsAndReadonlyProperties.js index e540e0abaf4d1..1311dca01d335 100644 --- a/tests/baselines/reference/intersectionsAndReadonlyProperties.js +++ b/tests/baselines/reference/intersectionsAndReadonlyProperties.js @@ -21,6 +21,7 @@ ia.a = 2; // Error //// [intersectionsAndReadonlyProperties.js] +"use strict"; i1.a = 2; i2.a = 2; ia.a = 2; // Error diff --git a/tests/baselines/reference/intlDateTimeFormatRangeES2021.js b/tests/baselines/reference/intlDateTimeFormatRangeES2021.js index c42c04293fed2..82f91ebd60240 100644 --- a/tests/baselines/reference/intlDateTimeFormatRangeES2021.js +++ b/tests/baselines/reference/intlDateTimeFormatRangeES2021.js @@ -6,5 +6,6 @@ const [ part ] = new Intl.DateTimeFormat().formatRangeToParts(1000, 1000000000); //// [intlDateTimeFormatRangeES2021.js] +"use strict"; new Intl.DateTimeFormat().formatRange(new Date(0), new Date()); var part = new Intl.DateTimeFormat().formatRangeToParts(1000, 1000000000)[0]; diff --git a/tests/baselines/reference/intrinsics.js b/tests/baselines/reference/intrinsics.js index 9a2ed1a6358f7..c7d29a7eea1c3 100644 --- a/tests/baselines/reference/intrinsics.js +++ b/tests/baselines/reference/intrinsics.js @@ -17,6 +17,7 @@ class Foo<__proto__> { } var foo: (__proto__: number) => void; //// [intrinsics.js] +"use strict"; var hasOwnProperty; // Error var m1; (function (m1) { diff --git a/tests/baselines/reference/invalidAssignmentsToVoid.js b/tests/baselines/reference/invalidAssignmentsToVoid.js index 899e90d01d844..333884b186666 100644 --- a/tests/baselines/reference/invalidAssignmentsToVoid.js +++ b/tests/baselines/reference/invalidAssignmentsToVoid.js @@ -25,6 +25,7 @@ function f(a: T) { x = f; //// [invalidAssignmentsToVoid.js] +"use strict"; var x; x = 1; x = true; diff --git a/tests/baselines/reference/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.js b/tests/baselines/reference/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.js index 9a78ab960952f..472c876650b0b 100644 --- a/tests/baselines/reference/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.js +++ b/tests/baselines/reference/invalidBinaryIntegerLiteralAndOctalIntegerLiteral.js @@ -8,6 +8,7 @@ var octal = 0o81010; var octal = 0O91010; //// [invalidBinaryIntegerLiteralAndOctalIntegerLiteral.js] +"use strict"; // Error var binary = 0; 21010; diff --git a/tests/baselines/reference/invalidBooleanAssignments.js b/tests/baselines/reference/invalidBooleanAssignments.js index 69b54a3ff5dcc..622e2bb50f656 100644 --- a/tests/baselines/reference/invalidBooleanAssignments.js +++ b/tests/baselines/reference/invalidBooleanAssignments.js @@ -29,6 +29,7 @@ function i(a: T) { i = x; //// [invalidBooleanAssignments.js] +"use strict"; var x = true; var a = x; var b = x; diff --git a/tests/baselines/reference/invalidConstraint1.js b/tests/baselines/reference/invalidConstraint1.js index 001da9aaa36d1..313dc7192acaf 100644 --- a/tests/baselines/reference/invalidConstraint1.js +++ b/tests/baselines/reference/invalidConstraint1.js @@ -9,6 +9,7 @@ f(); // should error //// [invalidConstraint1.js] +"use strict"; function f() { return undefined; } diff --git a/tests/baselines/reference/invalidContinueInDownlevelAsync.js b/tests/baselines/reference/invalidContinueInDownlevelAsync.js index 7aa96b7fc6c1c..c3bd3245e163e 100644 --- a/tests/baselines/reference/invalidContinueInDownlevelAsync.js +++ b/tests/baselines/reference/invalidContinueInDownlevelAsync.js @@ -11,6 +11,7 @@ async function func() { } //// [invalidContinueInDownlevelAsync.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/invalidDoWhileBreakStatements.js b/tests/baselines/reference/invalidDoWhileBreakStatements.js index 8c79dad6928ee..c922cf33cd3d1 100644 --- a/tests/baselines/reference/invalidDoWhileBreakStatements.js +++ b/tests/baselines/reference/invalidDoWhileBreakStatements.js @@ -41,6 +41,7 @@ do { }while (true) //// [invalidDoWhileBreakStatements.js] +"use strict"; // All errors // naked break not allowed break; diff --git a/tests/baselines/reference/invalidDoWhileContinueStatements.js b/tests/baselines/reference/invalidDoWhileContinueStatements.js index 348af4cc019a9..27611398e39d6 100644 --- a/tests/baselines/reference/invalidDoWhileContinueStatements.js +++ b/tests/baselines/reference/invalidDoWhileContinueStatements.js @@ -41,6 +41,7 @@ do { }while (true) //// [invalidDoWhileContinueStatements.js] +"use strict"; // All errors // naked continue not allowed continue; diff --git a/tests/baselines/reference/invalidEnumAssignments.js b/tests/baselines/reference/invalidEnumAssignments.js index c5f27169956da..da0d1d0d52617 100644 --- a/tests/baselines/reference/invalidEnumAssignments.js +++ b/tests/baselines/reference/invalidEnumAssignments.js @@ -25,6 +25,7 @@ function f(a: T) { } //// [invalidEnumAssignments.js] +"use strict"; var E; (function (E) { E[E["A"] = 0] = "A"; diff --git a/tests/baselines/reference/invalidForBreakStatements.js b/tests/baselines/reference/invalidForBreakStatements.js index 60cb719685c4a..66e917df004f0 100644 --- a/tests/baselines/reference/invalidForBreakStatements.js +++ b/tests/baselines/reference/invalidForBreakStatements.js @@ -40,6 +40,7 @@ for(;;) { } //// [invalidForBreakStatements.js] +"use strict"; // All errors // naked break not allowed break; diff --git a/tests/baselines/reference/invalidForContinueStatements.js b/tests/baselines/reference/invalidForContinueStatements.js index 3842b92aaca54..cbdce21959de2 100644 --- a/tests/baselines/reference/invalidForContinueStatements.js +++ b/tests/baselines/reference/invalidForContinueStatements.js @@ -40,6 +40,7 @@ for(;;) { } //// [invalidForContinueStatements.js] +"use strict"; // All errors // naked continue not allowed continue; diff --git a/tests/baselines/reference/invalidForInBreakStatements.js b/tests/baselines/reference/invalidForInBreakStatements.js index 1f9ad0adab8f6..6bbb1b20658c2 100644 --- a/tests/baselines/reference/invalidForInBreakStatements.js +++ b/tests/baselines/reference/invalidForInBreakStatements.js @@ -41,6 +41,7 @@ for (var x in {}) { } //// [invalidForInBreakStatements.js] +"use strict"; // All errors // naked break not allowed break; diff --git a/tests/baselines/reference/invalidForInContinueStatements.js b/tests/baselines/reference/invalidForInContinueStatements.js index bbca7525aa561..2426458d5c56f 100644 --- a/tests/baselines/reference/invalidForInContinueStatements.js +++ b/tests/baselines/reference/invalidForInContinueStatements.js @@ -41,6 +41,7 @@ for (var x in {}) { } //// [invalidForInContinueStatements.js] +"use strict"; // All errors // naked continue not allowed continue; diff --git a/tests/baselines/reference/invalidImportAliasIdentifiers.js b/tests/baselines/reference/invalidImportAliasIdentifiers.js index 3871715e88d08..cb00f85e7c1c4 100644 --- a/tests/baselines/reference/invalidImportAliasIdentifiers.js +++ b/tests/baselines/reference/invalidImportAliasIdentifiers.js @@ -27,6 +27,7 @@ import i = I; //// [invalidImportAliasIdentifiers.js] +"use strict"; // none of these should work, since non are actually modules var V = 12; var v = V; diff --git a/tests/baselines/reference/invalidInstantiatedModule.js b/tests/baselines/reference/invalidInstantiatedModule.js index 10cf9e58ae978..fa8ff7093757e 100644 --- a/tests/baselines/reference/invalidInstantiatedModule.js +++ b/tests/baselines/reference/invalidInstantiatedModule.js @@ -18,6 +18,7 @@ var p: m.Point; // Error //// [invalidInstantiatedModule.js] +"use strict"; var M; (function (M) { var Point = /** @class */ (function () { diff --git a/tests/baselines/reference/invalidLetInForOfAndForIn_ES5.js b/tests/baselines/reference/invalidLetInForOfAndForIn_ES5.js index b7c29b77c6f88..ab7a7747457dd 100644 --- a/tests/baselines/reference/invalidLetInForOfAndForIn_ES5.js +++ b/tests/baselines/reference/invalidLetInForOfAndForIn_ES5.js @@ -13,6 +13,7 @@ for (let in [1,2,3]) {} //// [invalidLetInForOfAndForIn_ES5.js] +"use strict"; // This should be an error // More details: http://www.ecma-international.org/ecma-262/6.0/#sec-iteration-statements var let = 10; diff --git a/tests/baselines/reference/invalidLetInForOfAndForIn_ES6.js b/tests/baselines/reference/invalidLetInForOfAndForIn_ES6.js index fd70b94065dc3..250b2215d36ce 100644 --- a/tests/baselines/reference/invalidLetInForOfAndForIn_ES6.js +++ b/tests/baselines/reference/invalidLetInForOfAndForIn_ES6.js @@ -13,6 +13,7 @@ for (let in [1,2,3]) {} //// [invalidLetInForOfAndForIn_ES6.js] +"use strict"; // This should be an error // More details: http://www.ecma-international.org/ecma-262/6.0/#sec-iteration-statements var let = 10; diff --git a/tests/baselines/reference/invalidModuleWithStatementsOfEveryKind.js b/tests/baselines/reference/invalidModuleWithStatementsOfEveryKind.js index 44bedcc839bfd..b12a2c9f71757 100644 --- a/tests/baselines/reference/invalidModuleWithStatementsOfEveryKind.js +++ b/tests/baselines/reference/invalidModuleWithStatementsOfEveryKind.js @@ -81,6 +81,7 @@ namespace YYY4 { //// [invalidModuleWithStatementsOfEveryKind.js] +"use strict"; // All of these should be an error var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/invalidModuleWithVarStatements.js b/tests/baselines/reference/invalidModuleWithVarStatements.js index 857acf58bdb06..0794cfaaca1c3 100644 --- a/tests/baselines/reference/invalidModuleWithVarStatements.js +++ b/tests/baselines/reference/invalidModuleWithVarStatements.js @@ -30,6 +30,7 @@ namespace YY3 { //// [invalidModuleWithVarStatements.js] +"use strict"; // All of these should be an error var Y; (function (Y) { diff --git a/tests/baselines/reference/invalidMultipleVariableDeclarations.js b/tests/baselines/reference/invalidMultipleVariableDeclarations.js index c62b01b926f42..983023071dd06 100644 --- a/tests/baselines/reference/invalidMultipleVariableDeclarations.js +++ b/tests/baselines/reference/invalidMultipleVariableDeclarations.js @@ -56,6 +56,7 @@ var m: typeof M; var m = M.A; //// [invalidMultipleVariableDeclarations.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/invalidNestedModules.js b/tests/baselines/reference/invalidNestedModules.js index c2265272f211e..244f71fe3bbaf 100644 --- a/tests/baselines/reference/invalidNestedModules.js +++ b/tests/baselines/reference/invalidNestedModules.js @@ -32,6 +32,7 @@ namespace M2 { //// [invalidNestedModules.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/invalidNewTarget.es5.js b/tests/baselines/reference/invalidNewTarget.es5.js index 22dc973b32ec0..51685c2ef12b0 100644 --- a/tests/baselines/reference/invalidNewTarget.es5.js +++ b/tests/baselines/reference/invalidNewTarget.es5.js @@ -27,6 +27,7 @@ const O = { }; //// [invalidNewTarget.es5.js] +"use strict"; var _a; var a = _newTarget; var b = function () { return _newTarget; }; diff --git a/tests/baselines/reference/invalidNewTarget.es6.js b/tests/baselines/reference/invalidNewTarget.es6.js index 48e7b794bd284..eb44249d2b676 100644 --- a/tests/baselines/reference/invalidNewTarget.es6.js +++ b/tests/baselines/reference/invalidNewTarget.es6.js @@ -27,6 +27,7 @@ const O = { }; //// [invalidNewTarget.es6.js] +"use strict"; const a = new.target; const b = () => new.target; class C { diff --git a/tests/baselines/reference/invalidNumberAssignments.js b/tests/baselines/reference/invalidNumberAssignments.js index 4addea23ca00b..04a3321594b99 100644 --- a/tests/baselines/reference/invalidNumberAssignments.js +++ b/tests/baselines/reference/invalidNumberAssignments.js @@ -26,6 +26,7 @@ function i(a: T) { i = x; //// [invalidNumberAssignments.js] +"use strict"; var x = 1; var a = x; var b = x; diff --git a/tests/baselines/reference/invalidOptionalChainFromNewExpression.js b/tests/baselines/reference/invalidOptionalChainFromNewExpression.js index 5fc4d31322f36..fe592cf84c2b4 100644 --- a/tests/baselines/reference/invalidOptionalChainFromNewExpression.js +++ b/tests/baselines/reference/invalidOptionalChainFromNewExpression.js @@ -10,6 +10,7 @@ new A()?.b() // ok //// [invalidOptionalChainFromNewExpression.js] +"use strict"; var _a, _b; var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/invalidReferenceSyntax1.js b/tests/baselines/reference/invalidReferenceSyntax1.js index 478dbdfbe78c7..1e2bb6f5b0ae5 100644 --- a/tests/baselines/reference/invalidReferenceSyntax1.js +++ b/tests/baselines/reference/invalidReferenceSyntax1.js @@ -7,6 +7,7 @@ class C { } //// [invalidReferenceSyntax1.js] +"use strict"; /// /// // this test doesn't actually give the errors you want due to the way the compiler reports errors diff --git a/tests/baselines/reference/invalidTryStatements.js b/tests/baselines/reference/invalidTryStatements.js index 182d69dc6ca9d..1a121f7a4bfd2 100644 --- a/tests/baselines/reference/invalidTryStatements.js +++ b/tests/baselines/reference/invalidTryStatements.js @@ -23,6 +23,7 @@ function fn2() { } //// [invalidTryStatements.js] +"use strict"; function fn() { try { } diff --git a/tests/baselines/reference/invalidTypeNames.js b/tests/baselines/reference/invalidTypeNames.js index 40acc3bdd86c3..858243c01b6da 100644 --- a/tests/baselines/reference/invalidTypeNames.js +++ b/tests/baselines/reference/invalidTypeNames.js @@ -7,6 +7,7 @@ class illegal_name_here { //// [invalidTypeNames.js] +"use strict"; // Refer to calling code - a real illegal name is subbed in here var illegal_name_here = /** @class */ (function () { function illegal_name_here() { diff --git a/tests/baselines/reference/invalidTypeOfTarget.js b/tests/baselines/reference/invalidTypeOfTarget.js index b39939fbd1d40..dc4463b06a4eb 100644 --- a/tests/baselines/reference/invalidTypeOfTarget.js +++ b/tests/baselines/reference/invalidTypeOfTarget.js @@ -11,6 +11,7 @@ var x7: typeof function f() { }; var x8: typeof /123/; //// [invalidTypeOfTarget.js] +"use strict"; var x1, _a = void 0; var x2; (function () { return ; }); diff --git a/tests/baselines/reference/invalidUndefinedAssignments.js b/tests/baselines/reference/invalidUndefinedAssignments.js index c073f001463f1..8ce4c4be1a2bc 100644 --- a/tests/baselines/reference/invalidUndefinedAssignments.js +++ b/tests/baselines/reference/invalidUndefinedAssignments.js @@ -24,6 +24,7 @@ function i(a: T) { } i = x; //// [invalidUndefinedAssignments.js] +"use strict"; var x; var E; (function (E) { diff --git a/tests/baselines/reference/invalidUndefinedValues.js b/tests/baselines/reference/invalidUndefinedValues.js index c044f4a076a0f..ed346893547ef 100644 --- a/tests/baselines/reference/invalidUndefinedValues.js +++ b/tests/baselines/reference/invalidUndefinedValues.js @@ -34,6 +34,7 @@ x = E; x = E.A; //// [invalidUndefinedValues.js] +"use strict"; var x; x = 1; x = ''; diff --git a/tests/baselines/reference/invalidUnicodeEscapeSequance.js b/tests/baselines/reference/invalidUnicodeEscapeSequance.js index 603f1bc020007..87d3f5265bdb7 100644 --- a/tests/baselines/reference/invalidUnicodeEscapeSequance.js +++ b/tests/baselines/reference/invalidUnicodeEscapeSequance.js @@ -4,4 +4,5 @@ var arg\u003 //// [invalidUnicodeEscapeSequance.js] +"use strict"; var arg, u003; diff --git a/tests/baselines/reference/invalidUnicodeEscapeSequance2.js b/tests/baselines/reference/invalidUnicodeEscapeSequance2.js index 7adc6e111e5b0..fdaf8a729df7c 100644 --- a/tests/baselines/reference/invalidUnicodeEscapeSequance2.js +++ b/tests/baselines/reference/invalidUnicodeEscapeSequance2.js @@ -4,4 +4,5 @@ var arg\uxxxx //// [invalidUnicodeEscapeSequance2.js] +"use strict"; var arg, uxxxx; diff --git a/tests/baselines/reference/invalidUnicodeEscapeSequance3.js b/tests/baselines/reference/invalidUnicodeEscapeSequance3.js index c001c529c2f0b..b3b79e158d0fe 100644 --- a/tests/baselines/reference/invalidUnicodeEscapeSequance3.js +++ b/tests/baselines/reference/invalidUnicodeEscapeSequance3.js @@ -4,5 +4,6 @@ a\u //// [invalidUnicodeEscapeSequance3.js] +"use strict"; a; u; diff --git a/tests/baselines/reference/invalidUnicodeEscapeSequance4.js b/tests/baselines/reference/invalidUnicodeEscapeSequance4.js index 9022a4ea33254..187c0136016a6 100644 --- a/tests/baselines/reference/invalidUnicodeEscapeSequance4.js +++ b/tests/baselines/reference/invalidUnicodeEscapeSequance4.js @@ -5,5 +5,6 @@ var a\u0031; // a1 is a valid identifier var \u0031a; // 1a is an invalid identifier //// [invalidUnicodeEscapeSequance4.js] +"use strict"; var a\u0031; // a1 is a valid identifier var u0031a; // 1a is an invalid identifier diff --git a/tests/baselines/reference/invalidUseOfTypeAsNamespace.js b/tests/baselines/reference/invalidUseOfTypeAsNamespace.js index 3d18ea1ad124b..b7adc2be542b1 100644 --- a/tests/baselines/reference/invalidUseOfTypeAsNamespace.js +++ b/tests/baselines/reference/invalidUseOfTypeAsNamespace.js @@ -8,3 +8,4 @@ declare let y: OhNo.hello; //// [invalidUseOfTypeAsNamespace.js] +"use strict"; diff --git a/tests/baselines/reference/invalidVoidAssignments.js b/tests/baselines/reference/invalidVoidAssignments.js index 1bf4364349952..bff4a6196dd9c 100644 --- a/tests/baselines/reference/invalidVoidAssignments.js +++ b/tests/baselines/reference/invalidVoidAssignments.js @@ -32,6 +32,7 @@ x = E.A; x = { f() { } } //// [invalidVoidAssignments.js] +"use strict"; var x; var a = x; var b = x; diff --git a/tests/baselines/reference/invalidVoidValues.js b/tests/baselines/reference/invalidVoidValues.js index 1f0bac6e5df46..5f2e065ab1289 100644 --- a/tests/baselines/reference/invalidVoidValues.js +++ b/tests/baselines/reference/invalidVoidValues.js @@ -29,6 +29,7 @@ function f(a: T) { x = f; //// [invalidVoidValues.js] +"use strict"; var x; x = 1; x = ''; diff --git a/tests/baselines/reference/invalidWhileBreakStatements.js b/tests/baselines/reference/invalidWhileBreakStatements.js index 59c917334ff6d..bc7c7e0eb61f5 100644 --- a/tests/baselines/reference/invalidWhileBreakStatements.js +++ b/tests/baselines/reference/invalidWhileBreakStatements.js @@ -41,6 +41,7 @@ while (true) { } //// [invalidWhileBreakStatements.js] +"use strict"; // All errors // naked break not allowed break; diff --git a/tests/baselines/reference/invalidWhileContinueStatements.js b/tests/baselines/reference/invalidWhileContinueStatements.js index 9828576df81af..543c7f18256e3 100644 --- a/tests/baselines/reference/invalidWhileContinueStatements.js +++ b/tests/baselines/reference/invalidWhileContinueStatements.js @@ -41,6 +41,7 @@ while (true) { } //// [invalidWhileContinueStatements.js] +"use strict"; // All errors // naked continue not allowed continue; diff --git a/tests/baselines/reference/invocationExpressionInFunctionParameter.js b/tests/baselines/reference/invocationExpressionInFunctionParameter.js index 8249bc9f7bf92..cd41aa9967e2f 100644 --- a/tests/baselines/reference/invocationExpressionInFunctionParameter.js +++ b/tests/baselines/reference/invocationExpressionInFunctionParameter.js @@ -7,6 +7,7 @@ function foo3(x = foo1(123)) { //should error, 123 is not string } //// [invocationExpressionInFunctionParameter.js] +"use strict"; function foo1(val) { } function foo3(x) { diff --git a/tests/baselines/reference/invokingNonGenericMethodWithTypeArguments1.js b/tests/baselines/reference/invokingNonGenericMethodWithTypeArguments1.js index 6ecac5e15ef60..1b6fbfaed85e0 100644 --- a/tests/baselines/reference/invokingNonGenericMethodWithTypeArguments1.js +++ b/tests/baselines/reference/invokingNonGenericMethodWithTypeArguments1.js @@ -9,6 +9,7 @@ class Foo { //// [invokingNonGenericMethodWithTypeArguments1.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.foo(); diff --git a/tests/baselines/reference/invokingNonGenericMethodWithTypeArguments2.js b/tests/baselines/reference/invokingNonGenericMethodWithTypeArguments2.js index daa58abd05143..fbd283860c321 100644 --- a/tests/baselines/reference/invokingNonGenericMethodWithTypeArguments2.js +++ b/tests/baselines/reference/invokingNonGenericMethodWithTypeArguments2.js @@ -11,6 +11,7 @@ class Foo { //// [invokingNonGenericMethodWithTypeArguments2.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.foo(); diff --git a/tests/baselines/reference/ipromise2.js b/tests/baselines/reference/ipromise2.js index 992895304f231..3064979746ffc 100644 --- a/tests/baselines/reference/ipromise2.js +++ b/tests/baselines/reference/ipromise2.js @@ -24,6 +24,7 @@ var x: number = p2.value; //// [ipromise2.js] +"use strict"; var p; var p2 = p.then(function (s) { return 34; diff --git a/tests/baselines/reference/ipromise3.js b/tests/baselines/reference/ipromise3.js index 7ad36515e59b1..78c81b2237d5f 100644 --- a/tests/baselines/reference/ipromise3.js +++ b/tests/baselines/reference/ipromise3.js @@ -15,6 +15,7 @@ var p2: IPromise3 = p1.then(function (x) { //// [ipromise3.js] +"use strict"; var p1; var p2 = p1.then(function (x) { return x; diff --git a/tests/baselines/reference/ipromise4.js b/tests/baselines/reference/ipromise4.js index cf91d12a68754..cf48a030aadf8 100644 --- a/tests/baselines/reference/ipromise4.js +++ b/tests/baselines/reference/ipromise4.js @@ -19,6 +19,7 @@ p.then(function (x) { return "hello"; } ).then(function (x) { return x } ); // s //// [ipromise4.js] +"use strict"; var p = null; p.then(function (x) { }); // should not error p.then(function (x) { return "hello"; }).then(function (x) { return x; }); // should not error diff --git a/tests/baselines/reference/isArray.js b/tests/baselines/reference/isArray.js index af7d23275f121..829bcb8692af7 100644 --- a/tests/baselines/reference/isArray.js +++ b/tests/baselines/reference/isArray.js @@ -12,6 +12,7 @@ else { } //// [isArray.js] +"use strict"; var maybeArray; if (Array.isArray(maybeArray)) { maybeArray.length; // OK diff --git a/tests/baselines/reference/isDeclarationVisibleNodeKinds.js b/tests/baselines/reference/isDeclarationVisibleNodeKinds.js index d8cba6a6c4700..2a12ea305a211 100644 --- a/tests/baselines/reference/isDeclarationVisibleNodeKinds.js +++ b/tests/baselines/reference/isDeclarationVisibleNodeKinds.js @@ -71,6 +71,7 @@ namespace schema { } //// [isDeclarationVisibleNodeKinds.js] +"use strict"; // Function types var schema; (function (schema_1) { diff --git a/tests/baselines/reference/isLiteral1.js b/tests/baselines/reference/isLiteral1.js index 0f1409d6c06e7..036b0cda5059e 100644 --- a/tests/baselines/reference/isLiteral1.js +++ b/tests/baselines/reference/isLiteral1.js @@ -4,4 +4,5 @@ var x: number = 02343; //// [isLiteral1.js] +"use strict"; var x = 1251; diff --git a/tests/baselines/reference/isolatedDeclarationErrors.js b/tests/baselines/reference/isolatedDeclarationErrors.js index 237991f636aae..323e05fd22920 100644 --- a/tests/baselines/reference/isolatedDeclarationErrors.js +++ b/tests/baselines/reference/isolatedDeclarationErrors.js @@ -12,6 +12,7 @@ errorOnMissingReturn.a = ""; //// [isolatedDeclarationErrors.js] +"use strict"; function errorOnAssignmentBelowDecl() { } errorOnAssignmentBelowDecl.a = ""; const errorOnAssignmentBelow = () => { }; diff --git a/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=false,strictbuiltiniteratorreturn=false).js b/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=false,strictbuiltiniteratorreturn=false).js index a3915d2aa8930..78dbc240dd586 100644 --- a/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=false,strictbuiltiniteratorreturn=false).js +++ b/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=false,strictbuiltiniteratorreturn=false).js @@ -50,6 +50,7 @@ const a13 = (): IterableIterator => null!; const a14 = (): IterableIterator => null!; //// [isolatedDeclarationsStrictBuiltinIteratorReturn.js] +"use strict"; const a1 = () => null; const a2 = () => null; const a3 = () => null; diff --git a/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=false,strictbuiltiniteratorreturn=true).js b/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=false,strictbuiltiniteratorreturn=true).js index a3915d2aa8930..78dbc240dd586 100644 --- a/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=false,strictbuiltiniteratorreturn=true).js +++ b/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=false,strictbuiltiniteratorreturn=true).js @@ -50,6 +50,7 @@ const a13 = (): IterableIterator => null!; const a14 = (): IterableIterator => null!; //// [isolatedDeclarationsStrictBuiltinIteratorReturn.js] +"use strict"; const a1 = () => null; const a2 = () => null; const a3 = () => null; diff --git a/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=true,strictbuiltiniteratorreturn=false).js b/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=true,strictbuiltiniteratorreturn=false).js index a3915d2aa8930..78dbc240dd586 100644 --- a/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=true,strictbuiltiniteratorreturn=false).js +++ b/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=true,strictbuiltiniteratorreturn=false).js @@ -50,6 +50,7 @@ const a13 = (): IterableIterator => null!; const a14 = (): IterableIterator => null!; //// [isolatedDeclarationsStrictBuiltinIteratorReturn.js] +"use strict"; const a1 = () => null; const a2 = () => null; const a3 = () => null; diff --git a/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=true,strictbuiltiniteratorreturn=true).js b/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=true,strictbuiltiniteratorreturn=true).js index a3915d2aa8930..78dbc240dd586 100644 --- a/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=true,strictbuiltiniteratorreturn=true).js +++ b/tests/baselines/reference/isolatedDeclarationsStrictBuiltinIteratorReturn(isolateddeclarations=true,strictbuiltiniteratorreturn=true).js @@ -50,6 +50,7 @@ const a13 = (): IterableIterator => null!; const a14 = (): IterableIterator => null!; //// [isolatedDeclarationsStrictBuiltinIteratorReturn.js] +"use strict"; const a1 = () => null; const a2 = () => null; const a3 = () => null; diff --git a/tests/baselines/reference/isolatedModulesConstEnum.js b/tests/baselines/reference/isolatedModulesConstEnum.js index 10486d2d3a143..54ec22e1fedb3 100644 --- a/tests/baselines/reference/isolatedModulesConstEnum.js +++ b/tests/baselines/reference/isolatedModulesConstEnum.js @@ -19,3 +19,4 @@ type E2 = { //// [bar.js] +"use strict"; diff --git a/tests/baselines/reference/isolatedModulesGlobalNamespacesAndEnums.js b/tests/baselines/reference/isolatedModulesGlobalNamespacesAndEnums.js index c8c9a8f0aaaff..fef7779cfc0d7 100644 --- a/tests/baselines/reference/isolatedModulesGlobalNamespacesAndEnums.js +++ b/tests/baselines/reference/isolatedModulesGlobalNamespacesAndEnums.js @@ -34,6 +34,7 @@ declare enum Enum { } //// [script-namespaces.js] +"use strict"; var Instantiated; (function (Instantiated) { Instantiated.x = 1; @@ -47,6 +48,7 @@ var Instantiated; Instantiated.x = 1; })(Instantiated || (exports.Instantiated = Instantiated = {})); //// [enum1.js] +"use strict"; var Enum; (function (Enum) { Enum[Enum["A"] = 0] = "A"; @@ -55,6 +57,7 @@ var Enum; })(Enum || (Enum = {})); var d = 'd'; //// [enum2.js] +"use strict"; var Enum; (function (Enum) { Enum["D"] = "d"; diff --git a/tests/baselines/reference/isolatedModulesNoExternalModule.js b/tests/baselines/reference/isolatedModulesNoExternalModule.js index 292a3ba781d1c..f7ca7aca49155 100644 --- a/tests/baselines/reference/isolatedModulesNoExternalModule.js +++ b/tests/baselines/reference/isolatedModulesNoExternalModule.js @@ -4,4 +4,5 @@ var x; //// [file1.js] +"use strict"; var x; diff --git a/tests/baselines/reference/isolatedModulesNoExternalModuleMultiple.js b/tests/baselines/reference/isolatedModulesNoExternalModuleMultiple.js index ab9e2b2c78c2a..5844890e474c5 100644 --- a/tests/baselines/reference/isolatedModulesNoExternalModuleMultiple.js +++ b/tests/baselines/reference/isolatedModulesNoExternalModuleMultiple.js @@ -11,8 +11,11 @@ var z; //// [file1.js] +"use strict"; var x; //// [file2.js] +"use strict"; var y; //// [file3.js] +"use strict"; var z; diff --git a/tests/baselines/reference/isolatedModulesOut.js b/tests/baselines/reference/isolatedModulesOut.js index df65d3b55a38c..190d6429e3d6b 100644 --- a/tests/baselines/reference/isolatedModulesOut.js +++ b/tests/baselines/reference/isolatedModulesOut.js @@ -8,4 +8,5 @@ var y; //// [file1.js] export var x; //// [file2.js] +"use strict"; var y; diff --git a/tests/baselines/reference/isolatedModulesPlainFile-AMD.js b/tests/baselines/reference/isolatedModulesPlainFile-AMD.js index 9ac95c79b6a75..1eee3ab8e23e8 100644 --- a/tests/baselines/reference/isolatedModulesPlainFile-AMD.js +++ b/tests/baselines/reference/isolatedModulesPlainFile-AMD.js @@ -6,4 +6,5 @@ run(1); //// [isolatedModulesPlainFile-AMD.js] +"use strict"; run(1); diff --git a/tests/baselines/reference/isolatedModulesPlainFile-CommonJS.js b/tests/baselines/reference/isolatedModulesPlainFile-CommonJS.js index cc5167d8b8774..ab8170646f9d2 100644 --- a/tests/baselines/reference/isolatedModulesPlainFile-CommonJS.js +++ b/tests/baselines/reference/isolatedModulesPlainFile-CommonJS.js @@ -6,4 +6,5 @@ run(1); //// [isolatedModulesPlainFile-CommonJS.js] +"use strict"; run(1); diff --git a/tests/baselines/reference/isolatedModulesPlainFile-ES6.js b/tests/baselines/reference/isolatedModulesPlainFile-ES6.js index bbc0303a35e7e..c468f6189586c 100644 --- a/tests/baselines/reference/isolatedModulesPlainFile-ES6.js +++ b/tests/baselines/reference/isolatedModulesPlainFile-ES6.js @@ -6,4 +6,5 @@ run(1); //// [isolatedModulesPlainFile-ES6.js] +"use strict"; run(1); diff --git a/tests/baselines/reference/isolatedModulesPlainFile-System.js b/tests/baselines/reference/isolatedModulesPlainFile-System.js index 1b156658d8ea3..de34e4050fc7d 100644 --- a/tests/baselines/reference/isolatedModulesPlainFile-System.js +++ b/tests/baselines/reference/isolatedModulesPlainFile-System.js @@ -6,4 +6,5 @@ run(1); //// [isolatedModulesPlainFile-System.js] +"use strict"; run(1); diff --git a/tests/baselines/reference/isolatedModulesPlainFile-UMD.js b/tests/baselines/reference/isolatedModulesPlainFile-UMD.js index 705fa291e69ed..8d45cf988809e 100644 --- a/tests/baselines/reference/isolatedModulesPlainFile-UMD.js +++ b/tests/baselines/reference/isolatedModulesPlainFile-UMD.js @@ -6,4 +6,5 @@ run(1); //// [isolatedModulesPlainFile-UMD.js] +"use strict"; run(1); diff --git a/tests/baselines/reference/isomorphicMappedTypeInference.js b/tests/baselines/reference/isomorphicMappedTypeInference.js index ee60e3717fec4..2a61c9238d790 100644 --- a/tests/baselines/reference/isomorphicMappedTypeInference.js +++ b/tests/baselines/reference/isomorphicMappedTypeInference.js @@ -182,6 +182,7 @@ const o2: { foo: any; bar: any } = getProps(myAny, ['foo', 'bar']); //// [isomorphicMappedTypeInference.js] +"use strict"; function box(x) { return { value: x }; } diff --git a/tests/baselines/reference/iterableArrayPattern1.js b/tests/baselines/reference/iterableArrayPattern1.js index b8e85e6bf36ce..bbc80e420a7aa 100644 --- a/tests/baselines/reference/iterableArrayPattern1.js +++ b/tests/baselines/reference/iterableArrayPattern1.js @@ -17,6 +17,7 @@ class SymbolIterator { var [a, b] = new SymbolIterator; //// [iterableArrayPattern1.js] +"use strict"; class SymbolIterator { next() { return { diff --git a/tests/baselines/reference/iterableArrayPattern10.js b/tests/baselines/reference/iterableArrayPattern10.js index e3c50859db97b..8c1efeda2fc88 100644 --- a/tests/baselines/reference/iterableArrayPattern10.js +++ b/tests/baselines/reference/iterableArrayPattern10.js @@ -20,6 +20,7 @@ function fun([a, b]) { } fun(new FooIterator); //// [iterableArrayPattern10.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern11.js b/tests/baselines/reference/iterableArrayPattern11.js index cd548750a9528..b59598f791b89 100644 --- a/tests/baselines/reference/iterableArrayPattern11.js +++ b/tests/baselines/reference/iterableArrayPattern11.js @@ -21,6 +21,7 @@ fun(new FooIterator); //// [iterableArrayPattern11.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern12.js b/tests/baselines/reference/iterableArrayPattern12.js index 9f8ce78e8d14c..cdda0816ba6ee 100644 --- a/tests/baselines/reference/iterableArrayPattern12.js +++ b/tests/baselines/reference/iterableArrayPattern12.js @@ -20,6 +20,7 @@ function fun([a, ...b] = new FooIterator) { } fun(new FooIterator); //// [iterableArrayPattern12.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern13.js b/tests/baselines/reference/iterableArrayPattern13.js index 5841c6598ec59..037023ed2b981 100644 --- a/tests/baselines/reference/iterableArrayPattern13.js +++ b/tests/baselines/reference/iterableArrayPattern13.js @@ -20,6 +20,7 @@ function fun([a, ...b]) { } fun(new FooIterator); //// [iterableArrayPattern13.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern14.js b/tests/baselines/reference/iterableArrayPattern14.js index 6ae0a1f4dfc75..0b4a89160d8f3 100644 --- a/tests/baselines/reference/iterableArrayPattern14.js +++ b/tests/baselines/reference/iterableArrayPattern14.js @@ -20,6 +20,7 @@ function fun(...[a, ...b]) { } fun(new FooIterator); //// [iterableArrayPattern14.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern15.js b/tests/baselines/reference/iterableArrayPattern15.js index a079aba0f1aec..c7f1fc09de2ff 100644 --- a/tests/baselines/reference/iterableArrayPattern15.js +++ b/tests/baselines/reference/iterableArrayPattern15.js @@ -20,6 +20,7 @@ function fun(...[a, b]: Bar[]) { } fun(...new FooIterator); //// [iterableArrayPattern15.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern16.js b/tests/baselines/reference/iterableArrayPattern16.js index 712186cccca6c..cc48d4cc941f8 100644 --- a/tests/baselines/reference/iterableArrayPattern16.js +++ b/tests/baselines/reference/iterableArrayPattern16.js @@ -32,6 +32,7 @@ class FooIteratorIterator { } //// [iterableArrayPattern16.js] +"use strict"; function fun(...[a, b]) { } fun(...new FooIteratorIterator); class Bar { diff --git a/tests/baselines/reference/iterableArrayPattern17.js b/tests/baselines/reference/iterableArrayPattern17.js index d70088fd36058..94301f0bd38d1 100644 --- a/tests/baselines/reference/iterableArrayPattern17.js +++ b/tests/baselines/reference/iterableArrayPattern17.js @@ -20,6 +20,7 @@ function fun(...[a, b]: Bar[]) { } fun(new FooIterator); //// [iterableArrayPattern17.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern18.js b/tests/baselines/reference/iterableArrayPattern18.js index a88f3a7c3a320..36afdf49d8177 100644 --- a/tests/baselines/reference/iterableArrayPattern18.js +++ b/tests/baselines/reference/iterableArrayPattern18.js @@ -20,6 +20,7 @@ function fun([a, b]: Bar[]) { } fun(new FooIterator); //// [iterableArrayPattern18.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern19.js b/tests/baselines/reference/iterableArrayPattern19.js index c56cfb1bf2d4d..3d87adc808607 100644 --- a/tests/baselines/reference/iterableArrayPattern19.js +++ b/tests/baselines/reference/iterableArrayPattern19.js @@ -20,6 +20,7 @@ function fun([[a], b]: Bar[][]) { } fun(new FooArrayIterator); //// [iterableArrayPattern19.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern2.js b/tests/baselines/reference/iterableArrayPattern2.js index f7db95698893f..aa66741214c8e 100644 --- a/tests/baselines/reference/iterableArrayPattern2.js +++ b/tests/baselines/reference/iterableArrayPattern2.js @@ -17,6 +17,7 @@ class SymbolIterator { var [a, ...b] = new SymbolIterator; //// [iterableArrayPattern2.js] +"use strict"; class SymbolIterator { next() { return { diff --git a/tests/baselines/reference/iterableArrayPattern20.js b/tests/baselines/reference/iterableArrayPattern20.js index 6798163037ccb..d595e5a3e2491 100644 --- a/tests/baselines/reference/iterableArrayPattern20.js +++ b/tests/baselines/reference/iterableArrayPattern20.js @@ -20,6 +20,7 @@ function fun(...[[a = new Foo], b = [new Foo]]: Bar[][]) { } fun(...new FooArrayIterator); //// [iterableArrayPattern20.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern21.js b/tests/baselines/reference/iterableArrayPattern21.js index 68e933b0bfae8..3350268bae143 100644 --- a/tests/baselines/reference/iterableArrayPattern21.js +++ b/tests/baselines/reference/iterableArrayPattern21.js @@ -4,4 +4,5 @@ var [a, b] = { 0: "", 1: true }; //// [iterableArrayPattern21.js] +"use strict"; var [a, b] = { 0: "", 1: true }; diff --git a/tests/baselines/reference/iterableArrayPattern22.js b/tests/baselines/reference/iterableArrayPattern22.js index f72fafd8fc09c..dff2ac37d8bcd 100644 --- a/tests/baselines/reference/iterableArrayPattern22.js +++ b/tests/baselines/reference/iterableArrayPattern22.js @@ -4,4 +4,5 @@ var [...a] = { 0: "", 1: true }; //// [iterableArrayPattern22.js] +"use strict"; var [...a] = { 0: "", 1: true }; diff --git a/tests/baselines/reference/iterableArrayPattern23.js b/tests/baselines/reference/iterableArrayPattern23.js index d7bda91b8ec87..268e7e1f05419 100644 --- a/tests/baselines/reference/iterableArrayPattern23.js +++ b/tests/baselines/reference/iterableArrayPattern23.js @@ -5,5 +5,6 @@ var a: string, b: boolean; [a, b] = { 0: "", 1: true }; //// [iterableArrayPattern23.js] +"use strict"; var a, b; [a, b] = { 0: "", 1: true }; diff --git a/tests/baselines/reference/iterableArrayPattern24.js b/tests/baselines/reference/iterableArrayPattern24.js index b045eb5b27ee3..22ad732e2b465 100644 --- a/tests/baselines/reference/iterableArrayPattern24.js +++ b/tests/baselines/reference/iterableArrayPattern24.js @@ -5,5 +5,6 @@ var a: string, b: boolean[]; [a, ...b] = { 0: "", 1: true }; //// [iterableArrayPattern24.js] +"use strict"; var a, b; [a, ...b] = { 0: "", 1: true }; diff --git a/tests/baselines/reference/iterableArrayPattern25.js b/tests/baselines/reference/iterableArrayPattern25.js index 11aa48f82cb63..e4a62542d84b0 100644 --- a/tests/baselines/reference/iterableArrayPattern25.js +++ b/tests/baselines/reference/iterableArrayPattern25.js @@ -5,5 +5,6 @@ function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]) { } takeFirstTwoEntries(new Map([["", 0], ["hello", 1]])); //// [iterableArrayPattern25.js] +"use strict"; function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]) { } takeFirstTwoEntries(new Map([["", 0], ["hello", 1]])); diff --git a/tests/baselines/reference/iterableArrayPattern26.js b/tests/baselines/reference/iterableArrayPattern26.js index 28fede8cba424..6436cbde01c8c 100644 --- a/tests/baselines/reference/iterableArrayPattern26.js +++ b/tests/baselines/reference/iterableArrayPattern26.js @@ -5,5 +5,6 @@ function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]: [string, number][]) { } takeFirstTwoEntries(new Map([["", 0], ["hello", 1]])); //// [iterableArrayPattern26.js] +"use strict"; function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]) { } takeFirstTwoEntries(new Map([["", 0], ["hello", 1]])); diff --git a/tests/baselines/reference/iterableArrayPattern27.js b/tests/baselines/reference/iterableArrayPattern27.js index 3a2ac566e7178..0011739b3a31b 100644 --- a/tests/baselines/reference/iterableArrayPattern27.js +++ b/tests/baselines/reference/iterableArrayPattern27.js @@ -5,5 +5,6 @@ function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]: [string, number][]) { } takeFirstTwoEntries(...new Map([["", 0], ["hello", 1]])); //// [iterableArrayPattern27.js] +"use strict"; function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]) { } takeFirstTwoEntries(...new Map([["", 0], ["hello", 1]])); diff --git a/tests/baselines/reference/iterableArrayPattern28.js b/tests/baselines/reference/iterableArrayPattern28.js index d5df6a51de361..48ecf6eb359c7 100644 --- a/tests/baselines/reference/iterableArrayPattern28.js +++ b/tests/baselines/reference/iterableArrayPattern28.js @@ -5,5 +5,6 @@ function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]: [string, number][]) { } takeFirstTwoEntries(...new Map([["", 0], ["hello", true]])); //// [iterableArrayPattern28.js] +"use strict"; function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]) { } takeFirstTwoEntries(...new Map([["", 0], ["hello", true]])); diff --git a/tests/baselines/reference/iterableArrayPattern29.js b/tests/baselines/reference/iterableArrayPattern29.js index b927b3bff344c..30bc67cf29abd 100644 --- a/tests/baselines/reference/iterableArrayPattern29.js +++ b/tests/baselines/reference/iterableArrayPattern29.js @@ -5,5 +5,6 @@ function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]: [string, number][]) { } takeFirstTwoEntries(...new Map([["", true], ["hello", true]])); //// [iterableArrayPattern29.js] +"use strict"; function takeFirstTwoEntries(...[[k1, v1], [k2, v2]]) { } takeFirstTwoEntries(...new Map([["", true], ["hello", true]])); diff --git a/tests/baselines/reference/iterableArrayPattern3.js b/tests/baselines/reference/iterableArrayPattern3.js index c86a66800eea4..4d977a1f5adbd 100644 --- a/tests/baselines/reference/iterableArrayPattern3.js +++ b/tests/baselines/reference/iterableArrayPattern3.js @@ -20,6 +20,7 @@ var a: Bar, b: Bar; [a, b] = new FooIterator; //// [iterableArrayPattern3.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern30.js b/tests/baselines/reference/iterableArrayPattern30.js index e6a4fb86f1a35..d7dd2fae11317 100644 --- a/tests/baselines/reference/iterableArrayPattern30.js +++ b/tests/baselines/reference/iterableArrayPattern30.js @@ -4,4 +4,5 @@ const [[k1, v1], [k2, v2]] = new Map([["", true], ["hello", true]]) //// [iterableArrayPattern30.js] +"use strict"; const [[k1, v1], [k2, v2]] = new Map([["", true], ["hello", true]]); diff --git a/tests/baselines/reference/iterableArrayPattern4.js b/tests/baselines/reference/iterableArrayPattern4.js index 764dedd6f8b41..4d841aed56441 100644 --- a/tests/baselines/reference/iterableArrayPattern4.js +++ b/tests/baselines/reference/iterableArrayPattern4.js @@ -20,6 +20,7 @@ var a: Bar, b: Bar[]; [a, ...b] = new FooIterator //// [iterableArrayPattern4.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern5.js b/tests/baselines/reference/iterableArrayPattern5.js index 4fd51b670f642..2e3e431c2da59 100644 --- a/tests/baselines/reference/iterableArrayPattern5.js +++ b/tests/baselines/reference/iterableArrayPattern5.js @@ -20,6 +20,7 @@ var a: Bar, b: string; [a, b] = new FooIterator; //// [iterableArrayPattern5.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern6.js b/tests/baselines/reference/iterableArrayPattern6.js index 6db38fd5dc6cf..78ac9da0c886f 100644 --- a/tests/baselines/reference/iterableArrayPattern6.js +++ b/tests/baselines/reference/iterableArrayPattern6.js @@ -20,6 +20,7 @@ var a: Bar, b: string[]; [a, ...b] = new FooIterator; //// [iterableArrayPattern6.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern7.js b/tests/baselines/reference/iterableArrayPattern7.js index be53b6f1f97fa..59a21a2813a07 100644 --- a/tests/baselines/reference/iterableArrayPattern7.js +++ b/tests/baselines/reference/iterableArrayPattern7.js @@ -20,6 +20,7 @@ var a: Bar, b: string[]; [a, b] = new FooIterator; //// [iterableArrayPattern7.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern8.js b/tests/baselines/reference/iterableArrayPattern8.js index 5608427b49f5b..d005b213eb18d 100644 --- a/tests/baselines/reference/iterableArrayPattern8.js +++ b/tests/baselines/reference/iterableArrayPattern8.js @@ -20,6 +20,7 @@ var a: Bar, b: string; [a, ...b] = new FooIterator; //// [iterableArrayPattern8.js] +"use strict"; class Bar { } class Foo extends Bar { diff --git a/tests/baselines/reference/iterableArrayPattern9.js b/tests/baselines/reference/iterableArrayPattern9.js index 45ea88f597bdd..3ffa6bf9f7591 100644 --- a/tests/baselines/reference/iterableArrayPattern9.js +++ b/tests/baselines/reference/iterableArrayPattern9.js @@ -18,6 +18,7 @@ class FooIterator { } //// [iterableArrayPattern9.js] +"use strict"; function fun([a, b] = new FooIterator) { } class Bar { } diff --git a/tests/baselines/reference/iterableContextualTyping1.js b/tests/baselines/reference/iterableContextualTyping1.js index d1b9a6ab733e2..7d75d90cc3c8a 100644 --- a/tests/baselines/reference/iterableContextualTyping1.js +++ b/tests/baselines/reference/iterableContextualTyping1.js @@ -4,4 +4,5 @@ var iter: Iterable<(x: string) => number> = [s => s.length]; //// [iterableContextualTyping1.js] +"use strict"; var iter = [s => s.length]; diff --git a/tests/baselines/reference/iteratorSpreadInArray.js b/tests/baselines/reference/iteratorSpreadInArray.js index e1baf3be6a0fb..1aa26bee6cf70 100644 --- a/tests/baselines/reference/iteratorSpreadInArray.js +++ b/tests/baselines/reference/iteratorSpreadInArray.js @@ -18,6 +18,7 @@ var array = [...new SymbolIterator]; //// [iteratorSpreadInArray.js] +"use strict"; class SymbolIterator { next() { return { diff --git a/tests/baselines/reference/iteratorSpreadInArray10.js b/tests/baselines/reference/iteratorSpreadInArray10.js index fcc8f9710a712..b990019ea45cc 100644 --- a/tests/baselines/reference/iteratorSpreadInArray10.js +++ b/tests/baselines/reference/iteratorSpreadInArray10.js @@ -10,6 +10,7 @@ class SymbolIterator { var array = [...new SymbolIterator]; //// [iteratorSpreadInArray10.js] +"use strict"; class SymbolIterator { [Symbol.iterator]() { return this; diff --git a/tests/baselines/reference/iteratorSpreadInArray11.js b/tests/baselines/reference/iteratorSpreadInArray11.js index 5779ae28aedba..0686f3e65fff4 100644 --- a/tests/baselines/reference/iteratorSpreadInArray11.js +++ b/tests/baselines/reference/iteratorSpreadInArray11.js @@ -5,5 +5,6 @@ var iter: Iterable; var array = [...iter]; //// [iteratorSpreadInArray11.js] +"use strict"; var iter; var array = [...iter]; diff --git a/tests/baselines/reference/iteratorSpreadInArray2.js b/tests/baselines/reference/iteratorSpreadInArray2.js index 1356d71d20f7f..5a97342e2794d 100644 --- a/tests/baselines/reference/iteratorSpreadInArray2.js +++ b/tests/baselines/reference/iteratorSpreadInArray2.js @@ -31,6 +31,7 @@ var array = [...new NumberIterator, ...new SymbolIterator]; //// [iteratorSpreadInArray2.js] +"use strict"; class SymbolIterator { next() { return { diff --git a/tests/baselines/reference/iteratorSpreadInArray3.js b/tests/baselines/reference/iteratorSpreadInArray3.js index ebcd88a4cb96d..e932bca0e0fdf 100644 --- a/tests/baselines/reference/iteratorSpreadInArray3.js +++ b/tests/baselines/reference/iteratorSpreadInArray3.js @@ -17,6 +17,7 @@ class SymbolIterator { var array = [...[0, 1], ...new SymbolIterator]; //// [iteratorSpreadInArray3.js] +"use strict"; class SymbolIterator { next() { return { diff --git a/tests/baselines/reference/iteratorSpreadInArray4.js b/tests/baselines/reference/iteratorSpreadInArray4.js index 0819d80e7a2b6..7beefef5b8c5b 100644 --- a/tests/baselines/reference/iteratorSpreadInArray4.js +++ b/tests/baselines/reference/iteratorSpreadInArray4.js @@ -17,6 +17,7 @@ class SymbolIterator { var array = [0, 1, ...new SymbolIterator]; //// [iteratorSpreadInArray4.js] +"use strict"; class SymbolIterator { next() { return { diff --git a/tests/baselines/reference/iteratorSpreadInArray5.js b/tests/baselines/reference/iteratorSpreadInArray5.js index cce35b6ae95bf..6720a16c11def 100644 --- a/tests/baselines/reference/iteratorSpreadInArray5.js +++ b/tests/baselines/reference/iteratorSpreadInArray5.js @@ -17,6 +17,7 @@ class SymbolIterator { var array: number[] = [0, 1, ...new SymbolIterator]; //// [iteratorSpreadInArray5.js] +"use strict"; class SymbolIterator { next() { return { diff --git a/tests/baselines/reference/iteratorSpreadInArray6.js b/tests/baselines/reference/iteratorSpreadInArray6.js index 94dafd52a1ef9..a6cc2f18a69c9 100644 --- a/tests/baselines/reference/iteratorSpreadInArray6.js +++ b/tests/baselines/reference/iteratorSpreadInArray6.js @@ -18,6 +18,7 @@ var array: number[] = [0, 1]; array.concat([...new SymbolIterator]); //// [iteratorSpreadInArray6.js] +"use strict"; class SymbolIterator { next() { return { diff --git a/tests/baselines/reference/iteratorSpreadInArray7.js b/tests/baselines/reference/iteratorSpreadInArray7.js index fa20b1d8d70ee..4165ebe08a3c0 100644 --- a/tests/baselines/reference/iteratorSpreadInArray7.js +++ b/tests/baselines/reference/iteratorSpreadInArray7.js @@ -18,6 +18,7 @@ var array: symbol[]; array.concat([...new SymbolIterator]); //// [iteratorSpreadInArray7.js] +"use strict"; class SymbolIterator { next() { return { diff --git a/tests/baselines/reference/iteratorSpreadInArray8.js b/tests/baselines/reference/iteratorSpreadInArray8.js index fc5b01c23c33e..b5b1de0151be8 100644 --- a/tests/baselines/reference/iteratorSpreadInArray8.js +++ b/tests/baselines/reference/iteratorSpreadInArray8.js @@ -13,6 +13,7 @@ class SymbolIterator { var array = [...new SymbolIterator]; //// [iteratorSpreadInArray8.js] +"use strict"; class SymbolIterator { next() { return { diff --git a/tests/baselines/reference/iteratorSpreadInArray9.js b/tests/baselines/reference/iteratorSpreadInArray9.js index 6b569cf1995f0..9dfb40fadde4b 100644 --- a/tests/baselines/reference/iteratorSpreadInArray9.js +++ b/tests/baselines/reference/iteratorSpreadInArray9.js @@ -16,6 +16,7 @@ class SymbolIterator { var array = [...new SymbolIterator]; //// [iteratorSpreadInArray9.js] +"use strict"; class SymbolIterator { next() { return { diff --git a/tests/baselines/reference/iteratorSpreadInCall.js b/tests/baselines/reference/iteratorSpreadInCall.js index d389fd0617a3e..63b8de8e20bcc 100644 --- a/tests/baselines/reference/iteratorSpreadInCall.js +++ b/tests/baselines/reference/iteratorSpreadInCall.js @@ -18,6 +18,7 @@ class SymbolIterator { foo(...new SymbolIterator); //// [iteratorSpreadInCall.js] +"use strict"; function foo(s) { } class SymbolIterator { next() { diff --git a/tests/baselines/reference/iteratorSpreadInCall10.js b/tests/baselines/reference/iteratorSpreadInCall10.js index ec95af10d9bca..f07caeb23a282 100644 --- a/tests/baselines/reference/iteratorSpreadInCall10.js +++ b/tests/baselines/reference/iteratorSpreadInCall10.js @@ -18,6 +18,7 @@ class SymbolIterator { foo(...new SymbolIterator); //// [iteratorSpreadInCall10.js] +"use strict"; function foo(s) { return s[0]; } class SymbolIterator { next() { diff --git a/tests/baselines/reference/iteratorSpreadInCall11.js b/tests/baselines/reference/iteratorSpreadInCall11.js index 89740c64f301b..d8b431cb535e7 100644 --- a/tests/baselines/reference/iteratorSpreadInCall11.js +++ b/tests/baselines/reference/iteratorSpreadInCall11.js @@ -18,6 +18,7 @@ class SymbolIterator { foo(...new SymbolIterator); //// [iteratorSpreadInCall11.js] +"use strict"; function foo(...s) { return s[0]; } class SymbolIterator { next() { diff --git a/tests/baselines/reference/iteratorSpreadInCall12.js b/tests/baselines/reference/iteratorSpreadInCall12.js index 5bc694fa95591..438494db307a4 100644 --- a/tests/baselines/reference/iteratorSpreadInCall12.js +++ b/tests/baselines/reference/iteratorSpreadInCall12.js @@ -34,6 +34,7 @@ class _StringIterator { new Foo(...[...new SymbolIterator, ...[...new _StringIterator]]); //// [iteratorSpreadInCall12.js] +"use strict"; class Foo { constructor(...s) { } } diff --git a/tests/baselines/reference/iteratorSpreadInCall2.js b/tests/baselines/reference/iteratorSpreadInCall2.js index 11539bda2314a..938d18a5f8127 100644 --- a/tests/baselines/reference/iteratorSpreadInCall2.js +++ b/tests/baselines/reference/iteratorSpreadInCall2.js @@ -18,6 +18,7 @@ class SymbolIterator { foo(...new SymbolIterator); //// [iteratorSpreadInCall2.js] +"use strict"; function foo(s) { } class SymbolIterator { next() { diff --git a/tests/baselines/reference/iteratorSpreadInCall3.js b/tests/baselines/reference/iteratorSpreadInCall3.js index 4397c2c54f672..8eb4cee5b7cf2 100644 --- a/tests/baselines/reference/iteratorSpreadInCall3.js +++ b/tests/baselines/reference/iteratorSpreadInCall3.js @@ -18,6 +18,7 @@ class SymbolIterator { foo(...new SymbolIterator); //// [iteratorSpreadInCall3.js] +"use strict"; function foo(...s) { } class SymbolIterator { next() { diff --git a/tests/baselines/reference/iteratorSpreadInCall4.js b/tests/baselines/reference/iteratorSpreadInCall4.js index 04d4a97c0985d..f84c7ba0c4d3f 100644 --- a/tests/baselines/reference/iteratorSpreadInCall4.js +++ b/tests/baselines/reference/iteratorSpreadInCall4.js @@ -18,6 +18,7 @@ class SymbolIterator { foo(...new SymbolIterator); //// [iteratorSpreadInCall4.js] +"use strict"; function foo(s1, ...s) { } class SymbolIterator { next() { diff --git a/tests/baselines/reference/iteratorSpreadInCall5.js b/tests/baselines/reference/iteratorSpreadInCall5.js index 9a1387ce21041..483f5a5a78c2c 100644 --- a/tests/baselines/reference/iteratorSpreadInCall5.js +++ b/tests/baselines/reference/iteratorSpreadInCall5.js @@ -31,6 +31,7 @@ class _StringIterator { foo(...new SymbolIterator, ...new _StringIterator); //// [iteratorSpreadInCall5.js] +"use strict"; function foo(...s) { } class SymbolIterator { next() { diff --git a/tests/baselines/reference/iteratorSpreadInCall6.js b/tests/baselines/reference/iteratorSpreadInCall6.js index 978bed0e2f16a..32c609685f8aa 100644 --- a/tests/baselines/reference/iteratorSpreadInCall6.js +++ b/tests/baselines/reference/iteratorSpreadInCall6.js @@ -31,6 +31,7 @@ class _StringIterator { foo(...new SymbolIterator, ...new _StringIterator); //// [iteratorSpreadInCall6.js] +"use strict"; function foo(...s) { } class SymbolIterator { next() { diff --git a/tests/baselines/reference/iteratorSpreadInCall7.js b/tests/baselines/reference/iteratorSpreadInCall7.js index 04f9bf994d992..c54ee1c6dea25 100644 --- a/tests/baselines/reference/iteratorSpreadInCall7.js +++ b/tests/baselines/reference/iteratorSpreadInCall7.js @@ -31,6 +31,7 @@ class _StringIterator { foo(...new SymbolIterator, ...new _StringIterator); //// [iteratorSpreadInCall7.js] +"use strict"; function foo(...s) { return s[0]; } class SymbolIterator { next() { diff --git a/tests/baselines/reference/iteratorSpreadInCall8.js b/tests/baselines/reference/iteratorSpreadInCall8.js index 2be95759c221b..0a55c17855ab9 100644 --- a/tests/baselines/reference/iteratorSpreadInCall8.js +++ b/tests/baselines/reference/iteratorSpreadInCall8.js @@ -34,6 +34,7 @@ class _StringIterator { new Foo(...new SymbolIterator, ...new _StringIterator); //// [iteratorSpreadInCall8.js] +"use strict"; class Foo { constructor(...s) { } } diff --git a/tests/baselines/reference/iteratorSpreadInCall9.js b/tests/baselines/reference/iteratorSpreadInCall9.js index 9e2c1b44cd751..32e907fe3c6f9 100644 --- a/tests/baselines/reference/iteratorSpreadInCall9.js +++ b/tests/baselines/reference/iteratorSpreadInCall9.js @@ -35,6 +35,7 @@ new Foo(...new SymbolIterator, ...[...new _StringIterator]); //// [iteratorSpreadInCall9.js] +"use strict"; class Foo { constructor(...s) { } } diff --git a/tests/baselines/reference/iteratorsAndStrictNullChecks.js b/tests/baselines/reference/iteratorsAndStrictNullChecks.js index 88bc42d3e7ee7..df022016206a1 100644 --- a/tests/baselines/reference/iteratorsAndStrictNullChecks.js +++ b/tests/baselines/reference/iteratorsAndStrictNullChecks.js @@ -13,6 +13,7 @@ xs.push(...ys); //// [iteratorsAndStrictNullChecks.js] +"use strict"; // for..of for (const x of ["a", "b"]) { x.substring; diff --git a/tests/baselines/reference/javascriptCommonjsModule.js b/tests/baselines/reference/javascriptCommonjsModule.js index 6036f9d603078..a7406af2df6df 100644 --- a/tests/baselines/reference/javascriptCommonjsModule.js +++ b/tests/baselines/reference/javascriptCommonjsModule.js @@ -9,6 +9,7 @@ module.exports = Bar; //// [index.js] +"use strict"; var tslib_1 = require("tslib"); var Foo = /** @class */ (function () { function Foo() { diff --git a/tests/baselines/reference/javascriptThisAssignmentInStaticBlock.js b/tests/baselines/reference/javascriptThisAssignmentInStaticBlock.js index bae195f802150..17f335eab9deb 100644 --- a/tests/baselines/reference/javascriptThisAssignmentInStaticBlock.js +++ b/tests/baselines/reference/javascriptThisAssignmentInStaticBlock.js @@ -21,6 +21,7 @@ class ElementsArray extends Array { ElementsArray.isArray(new ElementsArray()); //// [a.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/jqueryInference.js b/tests/baselines/reference/jqueryInference.js index 0b1b175dd5670..0b3dd8d8ac15a 100644 --- a/tests/baselines/reference/jqueryInference.js +++ b/tests/baselines/reference/jqueryInference.js @@ -17,5 +17,6 @@ var p2: MyPromise; //// [jqueryInference.js] +"use strict"; var p2 = shouldBeIdentity(p1); var p2; diff --git a/tests/baselines/reference/jsDeclarationsClassExtendsVisibility.js b/tests/baselines/reference/jsDeclarationsClassExtendsVisibility.js index bbe7783650f78..aa3e23e8b4baf 100644 --- a/tests/baselines/reference/jsDeclarationsClassExtendsVisibility.js +++ b/tests/baselines/reference/jsDeclarationsClassExtendsVisibility.js @@ -14,6 +14,7 @@ module.exports = Foo; module.exports.Strings = Strings; //// [bar.js] +"use strict"; var Bar = /** @class */ (function () { function Bar() { } @@ -21,6 +22,7 @@ var Bar = /** @class */ (function () { }()); module.exports = Bar; //// [cls.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/jsDeclarationsClassLikeHeuristic.js b/tests/baselines/reference/jsDeclarationsClassLikeHeuristic.js index dc71cd12aabf3..918d48545144a 100644 --- a/tests/baselines/reference/jsDeclarationsClassLikeHeuristic.js +++ b/tests/baselines/reference/jsDeclarationsClassLikeHeuristic.js @@ -7,6 +7,7 @@ A = {}; A.prototype.b = {}; //// [index.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/35801 var A; A = {}; diff --git a/tests/baselines/reference/jsDeclarationsClassMethod.js b/tests/baselines/reference/jsDeclarationsClassMethod.js index d099f2e825f02..15cc44d2812d0 100644 --- a/tests/baselines/reference/jsDeclarationsClassMethod.js +++ b/tests/baselines/reference/jsDeclarationsClassMethod.js @@ -67,6 +67,7 @@ C2.staticProp = function (x, y) { //// [jsDeclarationsClassMethod.js] +"use strict"; function C1() { /** * A comment prop diff --git a/tests/baselines/reference/jsDeclarationsClassStatic.js b/tests/baselines/reference/jsDeclarationsClassStatic.js index b7dbcd4601b4a..5d3f4f06e19df 100644 --- a/tests/baselines/reference/jsDeclarationsClassStatic.js +++ b/tests/baselines/reference/jsDeclarationsClassStatic.js @@ -26,6 +26,7 @@ module.exports.Strings = Strings //// [source.js] +"use strict"; var Handler = /** @class */ (function () { function Handler() { } diff --git a/tests/baselines/reference/jsDeclarationsComputedNames.js b/tests/baselines/reference/jsDeclarationsComputedNames.js index 127b4604583da..0804c95ce2ba0 100644 --- a/tests/baselines/reference/jsDeclarationsComputedNames.js +++ b/tests/baselines/reference/jsDeclarationsComputedNames.js @@ -29,6 +29,7 @@ export class MyClass { //// [index.js] +"use strict"; var _a, _b; var TopLevelSym = Symbol(); var InnerSym = Symbol(); diff --git a/tests/baselines/reference/jsDeclarationsCrossfileMerge.js b/tests/baselines/reference/jsDeclarationsCrossfileMerge.js index ed5d9dbe7807f..df52d01505a4c 100644 --- a/tests/baselines/reference/jsDeclarationsCrossfileMerge.js +++ b/tests/baselines/reference/jsDeclarationsCrossfileMerge.js @@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); function validate() { } exports.default = validate; //// [index.js] +"use strict"; var m = require("./exporter"); module.exports = m.default; module.exports.memberName = "thing"; diff --git a/tests/baselines/reference/jsDeclarationsDocCommentsOnConsts.js b/tests/baselines/reference/jsDeclarationsDocCommentsOnConsts.js index d58406f0bd645..44d53f4d085b3 100644 --- a/tests/baselines/reference/jsDeclarationsDocCommentsOnConsts.js +++ b/tests/baselines/reference/jsDeclarationsDocCommentsOnConsts.js @@ -18,6 +18,7 @@ function b() { module.exports = {x, b} //// [index1.js] +"use strict"; /** * const doc comment */ diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpression.js b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpression.js index 25ff7419a4963..ac1c651331656 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpression.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpression.js @@ -11,6 +11,7 @@ module.exports = class Thing { } //// [index.js] +"use strict"; module.exports = /** @class */ (function () { /** * @param {number} p diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous.js b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous.js index 6c31ca2816cb0..e7937dbae4057 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymous.js @@ -11,6 +11,7 @@ module.exports = class { } //// [index.js] +"use strict"; module.exports = /** @class */ (function () { /** * @param {number} p diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub.js b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub.js index 6d7c77bd70dd7..14a545f609e4e 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionAnonymousWithSub.js @@ -17,6 +17,7 @@ module.exports.Sub = class { //// [index.js] +"use strict"; module.exports = /** @class */ (function () { /** * @param {number} p diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing.js b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing.js index 6e9b6f0bfd0aa..8e60cc4a743c7 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassExpressionShadowing.js @@ -16,6 +16,7 @@ module.exports.Another = Q; //// [index.js] +"use strict"; var A = /** @class */ (function () { function A() { this.member = new Q(); diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance1.js b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance1.js index a521bdc4f6d64..3e78fdbe109f1 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance1.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance1.js @@ -6,6 +6,7 @@ class Foo {} module.exports = new Foo(); //// [index.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance2.js b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance2.js index b17d26908560f..df4083c2ae6fd 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance2.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance2.js @@ -9,6 +9,7 @@ class Foo { module.exports = new Foo(); //// [index.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.member = 10; diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance3.js b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance3.js index 5f23727d23111..e8b5043e63f04 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance3.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignedClassInstance3.js @@ -11,6 +11,7 @@ module.exports = new Foo(); module.exports.additional = 20; //// [index.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.member = 10; diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction.js b/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction.js index 07696c8e790f3..0bd15d089da55 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunction.js @@ -12,6 +12,7 @@ module.exports.MyClass.prototype = { //// [jsDeclarationsExportAssignedConstructorFunction.js] +"use strict"; /** @constructor */ module.exports.MyClass = function () { this.x = 1; diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunctionWithSub.js b/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunctionWithSub.js index 59a5017c576b5..ab209b4fb3d79 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunctionWithSub.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignedConstructorFunctionWithSub.js @@ -14,6 +14,7 @@ module.exports.Sub.prototype = { } //// [jsDeclarationsExportAssignedConstructorFunctionWithSub.js] +"use strict"; /** * @param {number} p */ diff --git a/tests/baselines/reference/jsDeclarationsExportAssignedVisibility.js b/tests/baselines/reference/jsDeclarationsExportAssignedVisibility.js index 018aebdfec9cf..9227c040d3c5a 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignedVisibility.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignedVisibility.js @@ -18,6 +18,7 @@ class Container { module.exports = Container; //// [obj.js] +"use strict"; module.exports = /** @class */ (function () { function Obj() { this.x = 12; @@ -25,6 +26,7 @@ module.exports = /** @class */ (function () { return Obj; }()); //// [index.js] +"use strict"; var Obj = require("./obj"); var Container = /** @class */ (function () { function Container() { diff --git a/tests/baselines/reference/jsDeclarationsExportAssignmentExpressionPlusSecondary.js b/tests/baselines/reference/jsDeclarationsExportAssignmentExpressionPlusSecondary.js index 83bf1fb653a31..90157b6478708 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignmentExpressionPlusSecondary.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignmentExpressionPlusSecondary.js @@ -16,6 +16,7 @@ module.exports.Strings = Strings; //// [index.js] +"use strict"; var Strings = { a: "A", b: "B" diff --git a/tests/baselines/reference/jsDeclarationsExportAssignmentWithKeywordName.js b/tests/baselines/reference/jsDeclarationsExportAssignmentWithKeywordName.js index 04948d3fab8c2..cc5c0c161edc6 100644 --- a/tests/baselines/reference/jsDeclarationsExportAssignmentWithKeywordName.js +++ b/tests/baselines/reference/jsDeclarationsExportAssignmentWithKeywordName.js @@ -11,6 +11,7 @@ module.exports = { }; //// [index.js] +"use strict"; var x = 12; module.exports = { extends: 'base', diff --git a/tests/baselines/reference/jsDeclarationsExportDefinePropertyEmit.js b/tests/baselines/reference/jsDeclarationsExportDefinePropertyEmit.js index 3130ddfdae728..78909c3c4c211 100644 --- a/tests/baselines/reference/jsDeclarationsExportDefinePropertyEmit.js +++ b/tests/baselines/reference/jsDeclarationsExportDefinePropertyEmit.js @@ -62,6 +62,7 @@ Object.defineProperty(module.exports, "j", { value: function j() {} }); //// [index.js] +"use strict"; Object.defineProperty(module.exports, "a", { value: function a() { } }); Object.defineProperty(module.exports, "b", { value: function b() { } }); Object.defineProperty(module.exports.b, "cat", { value: "cat" }); diff --git a/tests/baselines/reference/jsDeclarationsExportDoubleAssignmentInClosure.js b/tests/baselines/reference/jsDeclarationsExportDoubleAssignmentInClosure.js index 610ded5f10b07..c7f44b41662ff 100644 --- a/tests/baselines/reference/jsDeclarationsExportDoubleAssignmentInClosure.js +++ b/tests/baselines/reference/jsDeclarationsExportDoubleAssignmentInClosure.js @@ -14,6 +14,7 @@ function foo() { //// [index.js] +"use strict"; // @ts-nocheck function foo() { module.exports = exports = function (o) { diff --git a/tests/baselines/reference/jsDeclarationsExportForms.js b/tests/baselines/reference/jsDeclarationsExportForms.js index 3300bfe12fafa..85d5e464ffcc8 100644 --- a/tests/baselines/reference/jsDeclarationsExportForms.js +++ b/tests/baselines/reference/jsDeclarationsExportForms.js @@ -233,15 +233,19 @@ exports.classContainer = void 0; var ns = __importStar(require("./cls")); exports.classContainer = ns; //// [cjs.js] +"use strict"; var ns = require("./cls"); module.exports = { ns: ns }; //// [cjs2.js] +"use strict"; var ns = require("./cls"); module.exports = ns; //// [cjs3.js] +"use strict"; var ns = require("./cls"); module.exports.ns = ns; //// [cjs4.js] +"use strict"; var ns = require("./cls"); module.exports.names = ns; //// [includeAll.js] diff --git a/tests/baselines/reference/jsDeclarationsExportSubAssignments.js b/tests/baselines/reference/jsDeclarationsExportSubAssignments.js index f25e7b06d5f3b..7bbc5ddfc7e51 100644 --- a/tests/baselines/reference/jsDeclarationsExportSubAssignments.js +++ b/tests/baselines/reference/jsDeclarationsExportSubAssignments.js @@ -10,6 +10,7 @@ module.exports = Foo; module.exports.Strings = Strings; //// [cls.js] +"use strict"; var Strings = { a: "A", b: "B" diff --git a/tests/baselines/reference/jsDeclarationsExportedClassAliases.js b/tests/baselines/reference/jsDeclarationsExportedClassAliases.js index 3a79339339c98..18fc47aea93df 100644 --- a/tests/baselines/reference/jsDeclarationsExportedClassAliases.js +++ b/tests/baselines/reference/jsDeclarationsExportedClassAliases.js @@ -20,6 +20,7 @@ module.exports = { }; //// [errors.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || @@ -46,6 +47,7 @@ module.exports = { FancyError: FancyError }; //// [index.js] +"use strict"; // issue arises here on compilation var errors = require("./errors"); module.exports = { diff --git a/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment.js b/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment.js index 129d1c42d9aea..e704149f310e7 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment.js +++ b/tests/baselines/reference/jsDeclarationsFunctionClassesCjsExportAssignment.js @@ -72,6 +72,7 @@ module.exports = Context; //// [timer.js] +"use strict"; /** * @param {number} timeout */ @@ -80,6 +81,7 @@ function Timer(timeout) { } module.exports = Timer; //// [context.js] +"use strict"; /** * Imports * @@ -126,6 +128,7 @@ Context.prototype = { }; module.exports = Context; //// [hook.js] +"use strict"; /** * @typedef {(arg: import("./context")) => void} HookHandler */ diff --git a/tests/baselines/reference/jsDeclarationsFunctionKeywordProp.js b/tests/baselines/reference/jsDeclarationsFunctionKeywordProp.js index bb3e24db6f113..bfb654322d6d2 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionKeywordProp.js +++ b/tests/baselines/reference/jsDeclarationsFunctionKeywordProp.js @@ -13,6 +13,7 @@ baz.class = true; baz.normal = false; //// [source.js] +"use strict"; function foo() { } foo.null = true; function bar() { } diff --git a/tests/baselines/reference/jsDeclarationsFunctionKeywordPropExhaustive.js b/tests/baselines/reference/jsDeclarationsFunctionKeywordPropExhaustive.js index 81f8c1eae4bf8..c3afdc5c1d4fe 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionKeywordPropExhaustive.js +++ b/tests/baselines/reference/jsDeclarationsFunctionKeywordPropExhaustive.js @@ -85,6 +85,7 @@ foo.bigint = 1; foo.of = 1; //// [source.js] +"use strict"; function foo() { } // properties foo.x = 1; diff --git a/tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic.js b/tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic.js index d3ea7c808beb6..c88535f124f96 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic.js +++ b/tests/baselines/reference/jsDeclarationsFunctionPrototypeStatic.js @@ -16,6 +16,7 @@ MyClass.staticProperty = 123; */ //// [source.js] +"use strict"; module.exports = MyClass; function MyClass() { } MyClass.staticMethod = function () { }; diff --git a/tests/baselines/reference/jsDeclarationsFunctionWithDefaultAssignedMember.js b/tests/baselines/reference/jsDeclarationsFunctionWithDefaultAssignedMember.js index a9827853639f7..eaa44c00403a1 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionWithDefaultAssignedMember.js +++ b/tests/baselines/reference/jsDeclarationsFunctionWithDefaultAssignedMember.js @@ -8,6 +8,7 @@ foo.default = foo; module.exports = foo; //// [index.js] +"use strict"; function foo() { } foo.foo = foo; foo.default = foo; diff --git a/tests/baselines/reference/jsDeclarationsFunctionsCjs.js b/tests/baselines/reference/jsDeclarationsFunctionsCjs.js index 10c18af579d2e..b4e139ea118a1 100644 --- a/tests/baselines/reference/jsDeclarationsFunctionsCjs.js +++ b/tests/baselines/reference/jsDeclarationsFunctionsCjs.js @@ -62,6 +62,7 @@ module.exports.j = function j() {} //// [index.js] +"use strict"; module.exports.a = function a() { }; module.exports.b = function b() { }; module.exports.b.cat = "cat"; diff --git a/tests/baselines/reference/jsDeclarationsImportTypeBundled.js b/tests/baselines/reference/jsDeclarationsImportTypeBundled.js index 13d62d4e18337..540f7f8edd440 100644 --- a/tests/baselines/reference/jsDeclarationsImportTypeBundled.js +++ b/tests/baselines/reference/jsDeclarationsImportTypeBundled.js @@ -15,6 +15,7 @@ const items = [{x: 12}]; module.exports = items; //// [out.js] +"use strict"; /** * @typedef {{x: number}} Item */ diff --git a/tests/baselines/reference/jsDeclarationsJson.js b/tests/baselines/reference/jsDeclarationsJson.js index ac1f357159260..d3a4190883356 100644 --- a/tests/baselines/reference/jsDeclarationsJson.js +++ b/tests/baselines/reference/jsDeclarationsJson.js @@ -21,6 +21,7 @@ module.exports = j; } } //// [index.js] +"use strict"; var j = require("./obj.json"); module.exports = j; diff --git a/tests/baselines/reference/jsDeclarationsMissingGenerics.js b/tests/baselines/reference/jsDeclarationsMissingGenerics.js index c9ac98b8ada36..5b2d0163befcc 100644 --- a/tests/baselines/reference/jsDeclarationsMissingGenerics.js +++ b/tests/baselines/reference/jsDeclarationsMissingGenerics.js @@ -11,6 +11,7 @@ function x(x) {} function y(x) {} //// [file.js] +"use strict"; /** * @param {Array} x */ diff --git a/tests/baselines/reference/jsDeclarationsMissingTypeParameters.js b/tests/baselines/reference/jsDeclarationsMissingTypeParameters.js index a596dc70fa860..1e56c2d4620a4 100644 --- a/tests/baselines/reference/jsDeclarationsMissingTypeParameters.js +++ b/tests/baselines/reference/jsDeclarationsMissingTypeParameters.js @@ -23,6 +23,7 @@ function z() { return null ;} function w() { return null; } //// [file.js] +"use strict"; /** * @param {Array=} y desc */ diff --git a/tests/baselines/reference/jsDeclarationsNestedParams.js b/tests/baselines/reference/jsDeclarationsNestedParams.js index c675fd800992d..27591e101f821 100644 --- a/tests/baselines/reference/jsDeclarationsNestedParams.js +++ b/tests/baselines/reference/jsDeclarationsNestedParams.js @@ -27,6 +27,7 @@ class Y { //// [file.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/jsDeclarationsOptionalTypeLiteralProps1.js b/tests/baselines/reference/jsDeclarationsOptionalTypeLiteralProps1.js index 50df9b734eee7..13f82b80b832e 100644 --- a/tests/baselines/reference/jsDeclarationsOptionalTypeLiteralProps1.js +++ b/tests/baselines/reference/jsDeclarationsOptionalTypeLiteralProps1.js @@ -17,6 +17,7 @@ function foo({ a, b, c }) { //// [foo.js] +"use strict"; /** * foo * diff --git a/tests/baselines/reference/jsDeclarationsPackageJson.js b/tests/baselines/reference/jsDeclarationsPackageJson.js index b214d65195357..192bfb3dd326e 100644 --- a/tests/baselines/reference/jsDeclarationsPackageJson.js +++ b/tests/baselines/reference/jsDeclarationsPackageJson.js @@ -70,6 +70,7 @@ module.exports = j; } } //// [index.js] +"use strict"; var j = require("./package.json"); module.exports = j; diff --git a/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit1.js b/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit1.js index 8227c8d04ee0e..2c043248ace87 100644 --- a/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit1.js +++ b/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit1.js @@ -33,6 +33,7 @@ const test = (base) => { //// [base.js] +"use strict"; class Base { constructor() { } } @@ -42,6 +43,7 @@ const BaseFactory = () => { BaseFactory.Base = Base; module.exports = BaseFactory; //// [file.js] +"use strict"; /** @typedef {import('./base')} BaseFactory */ /** * @callback BaseFactoryFactory diff --git a/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit2.js b/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit2.js index 3f566b066854c..a6b664972c6cb 100644 --- a/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit2.js +++ b/tests/baselines/reference/jsDeclarationsParameterTagReusesInputNodeInEmit2.js @@ -27,6 +27,7 @@ const test = (base) => { //// [base.js] +"use strict"; class Base { constructor() { } } @@ -36,6 +37,7 @@ const BaseFactory = () => { BaseFactory.Base = Base; module.exports = BaseFactory; //// [file.js] +"use strict"; /** @typedef {typeof import('./base')} BaseFactory */ /** * diff --git a/tests/baselines/reference/jsDeclarationsReexportAliasesEsModuleInterop.js b/tests/baselines/reference/jsDeclarationsReexportAliasesEsModuleInterop.js index ea1f56be97038..44ff0e9a68742 100644 --- a/tests/baselines/reference/jsDeclarationsReexportAliasesEsModuleInterop.js +++ b/tests/baselines/reference/jsDeclarationsReexportAliasesEsModuleInterop.js @@ -13,6 +13,7 @@ export {default as Foob} from "./cls"; //// [cls.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/jsDeclarationsReexportedCjsAlias.js b/tests/baselines/reference/jsDeclarationsReexportedCjsAlias.js index d8f635713a538..58f496ad54b86 100644 --- a/tests/baselines/reference/jsDeclarationsReexportedCjsAlias.js +++ b/tests/baselines/reference/jsDeclarationsReexportedCjsAlias.js @@ -27,6 +27,7 @@ module.exports = { } //// [lib.js] +"use strict"; /** * @param {string} a */ @@ -46,6 +47,7 @@ module.exports = { SomeClass: SomeClass }; //// [main.js] +"use strict"; var _a = require('./lib'), SomeClass = _a.SomeClass, Another = _a.SomeClass; module.exports = { SomeClass: SomeClass, diff --git a/tests/baselines/reference/jsDeclarationsTypeAliases.js b/tests/baselines/reference/jsDeclarationsTypeAliases.js index 16706495a77eb..585703d4b3170 100644 --- a/tests/baselines/reference/jsDeclarationsTypeAliases.js +++ b/tests/baselines/reference/jsDeclarationsTypeAliases.js @@ -77,6 +77,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); * @returns {T} */ //// [mixed.js] +"use strict"; /** * @typedef {{x: string} | number | LocalThing | ExportedThing} SomeType */ diff --git a/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration.js b/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration.js index d7c404f8bb56e..16afdd8d81570 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration.js +++ b/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration.js @@ -12,6 +12,7 @@ const items = []; module.exports = items; //// [index.js] +"use strict"; /** @type {typeof import("/some-mod")} */ var items = []; module.exports = items; diff --git a/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration2.js b/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration2.js index 02068c5cef713..c81e521d0c9fa 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration2.js +++ b/tests/baselines/reference/jsDeclarationsTypeReassignmentFromDeclaration2.js @@ -11,5 +11,6 @@ const items = require("./some-mod")(); module.exports = items; //// [index.js] +"use strict"; var items = require("./some-mod")(); module.exports = items; diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences.js b/tests/baselines/reference/jsDeclarationsTypeReferences.js index 108297facae19..683b379410dfc 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReferences.js +++ b/tests/baselines/reference/jsDeclarationsTypeReferences.js @@ -17,6 +17,7 @@ module.exports = { //// [index.js] +"use strict"; /// var Something = require("fs").Something; var thing = new Something(); diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences2.js b/tests/baselines/reference/jsDeclarationsTypeReferences2.js index 0f219af391097..12350b1218caf 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReferences2.js +++ b/tests/baselines/reference/jsDeclarationsTypeReferences2.js @@ -25,6 +25,7 @@ exports.o = { m: 1 }; //// [index.js] +"use strict"; var _a = require("./something").o, a = _a.a, m = _a.m; var thing = a + m; module.exports = { diff --git a/tests/baselines/reference/jsDeclarationsTypeReferences3.js b/tests/baselines/reference/jsDeclarationsTypeReferences3.js index c149fbb82b57d..330096f72a2b1 100644 --- a/tests/baselines/reference/jsDeclarationsTypeReferences3.js +++ b/tests/baselines/reference/jsDeclarationsTypeReferences3.js @@ -15,6 +15,7 @@ module.exports.A.B = { //// [index.js] +"use strict"; /// var Something = require("fs").Something; module.exports.A = {}; diff --git a/tests/baselines/reference/jsDeclarationsTypedefAndImportTypes.js b/tests/baselines/reference/jsDeclarationsTypedefAndImportTypes.js index d1ddbafb7005f..e4602e8610154 100644 --- a/tests/baselines/reference/jsDeclarationsTypedefAndImportTypes.js +++ b/tests/baselines/reference/jsDeclarationsTypedefAndImportTypes.js @@ -35,6 +35,7 @@ module.exports = { //// [conn.js] +"use strict"; /** * @typedef {string | number} Whatever */ @@ -47,6 +48,7 @@ var Conn = /** @class */ (function () { }()); module.exports = Conn; //// [usage.js] +"use strict"; /** * @typedef {import("./conn")} Conn */ diff --git a/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.js b/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.js index 965e5a8547573..2f65376c71d6f 100644 --- a/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.js +++ b/tests/baselines/reference/jsDeclarationsTypedefDescriptionsPreserved.js @@ -19,6 +19,7 @@ //// [index.js] +"use strict"; /** * Options for Foo <------------ * @typedef {Object} FooOptions diff --git a/tests/baselines/reference/jsDeclarationsTypedefFunction.js b/tests/baselines/reference/jsDeclarationsTypedefFunction.js index b6d99b242d8da..48c0cbb302813 100644 --- a/tests/baselines/reference/jsDeclarationsTypedefFunction.js +++ b/tests/baselines/reference/jsDeclarationsTypedefFunction.js @@ -18,6 +18,7 @@ const send = handlers => new Promise((resolve, reject) => { }) //// [foo.js] +"use strict"; /** * @typedef {{ * [id: string]: [Function, Function]; diff --git a/tests/baselines/reference/jsDeclarationsTypedefPropertyAndExportAssignment.js b/tests/baselines/reference/jsDeclarationsTypedefPropertyAndExportAssignment.js index 6e90297a1e46e..fec3f281696dd 100644 --- a/tests/baselines/reference/jsDeclarationsTypedefPropertyAndExportAssignment.js +++ b/tests/baselines/reference/jsDeclarationsTypedefPropertyAndExportAssignment.js @@ -55,6 +55,7 @@ class MainThreadTasks { module.exports = MainThreadTasks; //// [module.js] +"use strict"; /** @typedef {'parseHTML'|'styleLayout'} TaskGroupIds */ /** * @typedef TaskGroup @@ -82,6 +83,7 @@ module.exports = { taskNameToGroup: taskNameToGroup, }; //// [index.js] +"use strict"; var _a = require('./module.js'), taskGroups = _a.taskGroups, taskNameToGroup = _a.taskNameToGroup; /** @typedef {import('./module.js').TaskGroup} TaskGroup */ /** diff --git a/tests/baselines/reference/jsFileAlternativeUseOfOverloadTag.js b/tests/baselines/reference/jsFileAlternativeUseOfOverloadTag.js index 034426c675247..336e19d845779 100644 --- a/tests/baselines/reference/jsFileAlternativeUseOfOverloadTag.js +++ b/tests/baselines/reference/jsFileAlternativeUseOfOverloadTag.js @@ -55,6 +55,7 @@ const example3 = { //// [jsFileAlternativeUseOfOverloadTag.js] +"use strict"; // These are a few examples of existing alternative uses of @overload tag. // They will not work as expected with our implementation, but we are // trying to make sure that our changes do not result in any crashes here. diff --git a/tests/baselines/reference/jsFileCompilationAwaitModifier.js b/tests/baselines/reference/jsFileCompilationAwaitModifier.js index 92361660afc56..9b34ecba2a4e5 100644 --- a/tests/baselines/reference/jsFileCompilationAwaitModifier.js +++ b/tests/baselines/reference/jsFileCompilationAwaitModifier.js @@ -13,6 +13,7 @@ class Foo { //// [a.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.js b/tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.js index 8b833c00693d6..20482c3710fba 100644 --- a/tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.js +++ b/tests/baselines/reference/jsFileCompilationClassMethodContainingArrowFunction.js @@ -9,6 +9,7 @@ class c { //// [out.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementation.js b/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementation.js index 25c804f1088b7..3f88368a49e1e 100644 --- a/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementation.js +++ b/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementation.js @@ -12,6 +12,7 @@ function foo() { //// [out.js] +"use strict"; function foo() { return 10; } diff --git a/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementationFileOrderReversed.js b/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementationFileOrderReversed.js index 96e2c603a8320..24806f5c6a76f 100644 --- a/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementationFileOrderReversed.js +++ b/tests/baselines/reference/jsFileCompilationDuplicateFunctionImplementationFileOrderReversed.js @@ -13,6 +13,7 @@ function foo() { //// [out.js] +"use strict"; function foo() { return 30; } diff --git a/tests/baselines/reference/jsFileCompilationDuplicateVariable.js b/tests/baselines/reference/jsFileCompilationDuplicateVariable.js index 6286060cac053..0aff6454d4922 100644 --- a/tests/baselines/reference/jsFileCompilationDuplicateVariable.js +++ b/tests/baselines/reference/jsFileCompilationDuplicateVariable.js @@ -8,6 +8,7 @@ var x = "hello"; // Error is recorded here, but suppressed because the js file i //// [out.js] +"use strict"; var x = 10; var x = "hello"; // Error is recorded here, but suppressed because the js file isn't checked diff --git a/tests/baselines/reference/jsFileCompilationDuplicateVariableErrorReported.js b/tests/baselines/reference/jsFileCompilationDuplicateVariableErrorReported.js index 61ce622c7cd98..1931a2fd8ce98 100644 --- a/tests/baselines/reference/jsFileCompilationDuplicateVariableErrorReported.js +++ b/tests/baselines/reference/jsFileCompilationDuplicateVariableErrorReported.js @@ -8,6 +8,7 @@ var x = 10; // Error reported //// [out.js] +"use strict"; var x = "hello"; var x = 10; // Error reported diff --git a/tests/baselines/reference/jsFileCompilationEmitBlockedCorrectly.js b/tests/baselines/reference/jsFileCompilationEmitBlockedCorrectly.js index dcf23e62ed6ef..3fcff55e036f9 100644 --- a/tests/baselines/reference/jsFileCompilationEmitBlockedCorrectly.js +++ b/tests/baselines/reference/jsFileCompilationEmitBlockedCorrectly.js @@ -15,6 +15,7 @@ function foo() { //// [b.js] +"use strict"; // this should be emitted var d = /** @class */ (function () { function d() { diff --git a/tests/baselines/reference/jsFileCompilationEmitDeclarations.js b/tests/baselines/reference/jsFileCompilationEmitDeclarations.js index 2671a580cbc7e..3a2d04711ebb9 100644 --- a/tests/baselines/reference/jsFileCompilationEmitDeclarations.js +++ b/tests/baselines/reference/jsFileCompilationEmitDeclarations.js @@ -10,6 +10,7 @@ function foo() { //// [out.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsFileCompilationEmitTrippleSlashReference.js b/tests/baselines/reference/jsFileCompilationEmitTrippleSlashReference.js index 41f4513d4e6e0..80159d506f8dd 100644 --- a/tests/baselines/reference/jsFileCompilationEmitTrippleSlashReference.js +++ b/tests/baselines/reference/jsFileCompilationEmitTrippleSlashReference.js @@ -15,6 +15,7 @@ function bar() { //// [out.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithNoOut.js b/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithNoOut.js index 62b4e0164b7f8..0080aaeecdaf0 100644 --- a/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithNoOut.js +++ b/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithNoOut.js @@ -15,12 +15,14 @@ function bar() { } //// [a.js] +"use strict"; var c = /** @class */ (function () { function c() { } return c; }()); //// [b.js] +"use strict"; /// // b.d.ts should have c.d.ts as the reference path function foo() { diff --git a/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOut.js b/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOut.js index e91124d534fa6..2f7e8b070aecf 100644 --- a/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOut.js +++ b/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOut.js @@ -15,6 +15,7 @@ function bar() { //// [out.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOutDir.js b/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOutDir.js index e175f07246258..3feaaa58edc09 100644 --- a/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOutDir.js +++ b/tests/baselines/reference/jsFileCompilationErrorOnDeclarationsWithJsFileReferenceWithOutDir.js @@ -14,15 +14,18 @@ function bar() { } //// [a.js] +"use strict"; var c = /** @class */ (function () { function c() { } return c; }()); //// [c.js] +"use strict"; function bar() { } //// [b.js] +"use strict"; /// function foo() { } diff --git a/tests/baselines/reference/jsFileCompilationLetBeingRenamed.js b/tests/baselines/reference/jsFileCompilationLetBeingRenamed.js index 31ab9d4aa96ea..a8b0919f22fe1 100644 --- a/tests/baselines/reference/jsFileCompilationLetBeingRenamed.js +++ b/tests/baselines/reference/jsFileCompilationLetBeingRenamed.js @@ -9,6 +9,7 @@ function foo(a) { //// [out.js] +"use strict"; function foo(a) { for (var a_1 = 0; a_1 < 10; a_1++) { // do something diff --git a/tests/baselines/reference/jsFileCompilationLetDeclarationOrder.js b/tests/baselines/reference/jsFileCompilationLetDeclarationOrder.js index 15a1e8d753354..d87beb289178e 100644 --- a/tests/baselines/reference/jsFileCompilationLetDeclarationOrder.js +++ b/tests/baselines/reference/jsFileCompilationLetDeclarationOrder.js @@ -10,6 +10,7 @@ a = 10; //// [out.js] +"use strict"; var a = 10; b = 30; var b = 30; diff --git a/tests/baselines/reference/jsFileCompilationLetDeclarationOrder2.js b/tests/baselines/reference/jsFileCompilationLetDeclarationOrder2.js index 641a89c1c5049..e348b00f23d14 100644 --- a/tests/baselines/reference/jsFileCompilationLetDeclarationOrder2.js +++ b/tests/baselines/reference/jsFileCompilationLetDeclarationOrder2.js @@ -9,6 +9,7 @@ b = 30; //// [out.js] +"use strict"; var b = 30; a = 10; var a = 10; diff --git a/tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithNoOut.js b/tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithNoOut.js index df602540b1e66..8694c1edb43c9 100644 --- a/tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithNoOut.js +++ b/tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithNoOut.js @@ -15,12 +15,14 @@ function bar() { } //// [a.js] +"use strict"; var c = /** @class */ (function () { function c() { } return c; }()); //// [b.js] +"use strict"; /// // no error on above reference path since not emitting declarations function foo() { diff --git a/tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithOut.js b/tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithOut.js index 2c28c5c5f46a3..f00e52340373b 100644 --- a/tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithOut.js +++ b/tests/baselines/reference/jsFileCompilationNoErrorWithoutDeclarationsWithJsFileReferenceWithOut.js @@ -16,6 +16,7 @@ function bar() { //// [out.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsFileCompilationNonNullAssertion.js b/tests/baselines/reference/jsFileCompilationNonNullAssertion.js index 56122d1c794b6..d4cbe0c46760f 100644 --- a/tests/baselines/reference/jsFileCompilationNonNullAssertion.js +++ b/tests/baselines/reference/jsFileCompilationNonNullAssertion.js @@ -5,4 +5,5 @@ //// [a.js] +"use strict"; 0; diff --git a/tests/baselines/reference/jsFileCompilationRestParameter.js b/tests/baselines/reference/jsFileCompilationRestParameter.js index 84ff150def987..96044c2c01473 100644 --- a/tests/baselines/reference/jsFileCompilationRestParameter.js +++ b/tests/baselines/reference/jsFileCompilationRestParameter.js @@ -5,4 +5,5 @@ function foo(...a) { } //// [b.js] +"use strict"; function foo(...a) { } diff --git a/tests/baselines/reference/jsFileCompilationShortHandProperty.js b/tests/baselines/reference/jsFileCompilationShortHandProperty.js index 5b1df6dccc803..04016c78e8f48 100644 --- a/tests/baselines/reference/jsFileCompilationShortHandProperty.js +++ b/tests/baselines/reference/jsFileCompilationShortHandProperty.js @@ -12,6 +12,7 @@ function foo() { //// [out.js] +"use strict"; function foo() { var a = 10; var b = "Hello"; diff --git a/tests/baselines/reference/jsFileCompilationTypeArgumentSyntaxOfCall.js b/tests/baselines/reference/jsFileCompilationTypeArgumentSyntaxOfCall.js index cb02ed8923154..fdb00ab2f8072 100644 --- a/tests/baselines/reference/jsFileCompilationTypeArgumentSyntaxOfCall.js +++ b/tests/baselines/reference/jsFileCompilationTypeArgumentSyntaxOfCall.js @@ -9,6 +9,7 @@ Foo``; //// [a.js] +"use strict"; Foo < number > (); Foo < number > (1); Foo < number > ""; diff --git a/tests/baselines/reference/jsFileCompilationTypeAssertions.js b/tests/baselines/reference/jsFileCompilationTypeAssertions.js index f3baaa906f759..a2e589aa7172e 100644 --- a/tests/baselines/reference/jsFileCompilationTypeAssertions.js +++ b/tests/baselines/reference/jsFileCompilationTypeAssertions.js @@ -6,6 +6,7 @@ var v = undefined; //// [a.js] +"use strict"; 0; var v = undefined; ; diff --git a/tests/baselines/reference/jsFileCompilationWithDeclarationEmitPathSameAsInput.js b/tests/baselines/reference/jsFileCompilationWithDeclarationEmitPathSameAsInput.js index a3839b600e581..ac2f54b7c6d49 100644 --- a/tests/baselines/reference/jsFileCompilationWithDeclarationEmitPathSameAsInput.js +++ b/tests/baselines/reference/jsFileCompilationWithDeclarationEmitPathSameAsInput.js @@ -8,6 +8,7 @@ class c { declare function isC(): boolean; //// [a.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsFileCompilationWithEnabledCompositeOption.js b/tests/baselines/reference/jsFileCompilationWithEnabledCompositeOption.js index 9a1dbcd530140..9fe112b80d217 100644 --- a/tests/baselines/reference/jsFileCompilationWithEnabledCompositeOption.js +++ b/tests/baselines/reference/jsFileCompilationWithEnabledCompositeOption.js @@ -10,6 +10,7 @@ function foo() { //// [out.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.js b/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.js index 2e1fb60447288..5c209c062d4b1 100644 --- a/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.js +++ b/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.js @@ -13,6 +13,7 @@ function bar() { } //// [a.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.js.map b/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.js.map index ed9927883c099..592355bc08d78 100644 --- a/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.js.map +++ b/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.js.map @@ -1,3 +1,3 @@ //// [a.js.map] -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGMgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gYygpIHsNCiAgICB9DQogICAgcmV0dXJuIGM7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9YS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFBQTtJQUNBLENBQUM7SUFBRCxRQUFDO0FBQUQsQ0FBQyxBQURELElBQ0MifQ==,Y2xhc3MgYyB7Cn0K +{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts"],"names":[],"mappings":";AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGMgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gYygpIHsNCiAgICB9DQogICAgcmV0dXJuIGM7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9YS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0lBQUE7SUFDQSxDQUFDO0lBQUQsUUFBQztBQUFELENBQUMsQUFERCxJQUNDIn0=,Y2xhc3MgYyB7Cn0K diff --git a/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.sourcemap.txt b/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.sourcemap.txt index 21869431da04b..53a61784bf4ae 100644 --- a/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.sourcemap.txt +++ b/tests/baselines/reference/jsFileCompilationWithMapFileAsJs.sourcemap.txt @@ -8,17 +8,18 @@ sources: a.ts emittedFile:a.js sourceFile:a.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var c = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function c() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -27,16 +28,16 @@ sourceFile:a.ts 1->class c { > 2 > } -1->Emitted(3, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(3, 6) Source(2, 2) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(4, 6) Source(2, 2) + SourceIndex(0) --- >>> return c; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(4, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(4, 13) Source(2, 2) + SourceIndex(0) +1->Emitted(5, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(5, 13) Source(2, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -49,9 +50,9 @@ sourceFile:a.ts 3 > 4 > class c { > } -1 >Emitted(5, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(2, 2) + SourceIndex(0) -3 >Emitted(5, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(5, 6) Source(2, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(2, 2) + SourceIndex(0) +3 >Emitted(6, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(6, 6) Source(2, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=a.js.map \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.js b/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.js index e996e59576308..2ac0069ff73c5 100644 --- a/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.js +++ b/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.js @@ -13,9 +13,10 @@ function bar() { } //// [a.js] +"use strict"; var c = /** @class */ (function () { function c() { } return c; }()); -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFBQTtJQUNBLENBQUM7SUFBRCxRQUFDO0FBQUQsQ0FBQyxBQURELElBQ0MifQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0lBQUE7SUFDQSxDQUFDO0lBQUQsUUFBQztBQUFELENBQUMsQUFERCxJQUNDIn0= \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.sourcemap.txt b/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.sourcemap.txt index a5e71981c94e6..764a8754d3bec 100644 --- a/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.sourcemap.txt +++ b/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithInlineSourceMap.sourcemap.txt @@ -1,6 +1,6 @@ =================================================================== JsFile: a.js -mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFBQTtJQUNBLENBQUM7SUFBRCxRQUFDO0FBQUQsQ0FBQyxBQURELElBQ0MifQ== +mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0lBQUE7SUFDQSxDQUFDO0lBQUQsUUFBQztBQUFELENBQUMsQUFERCxJQUNDIn0= sourceRoot: sources: a.ts =================================================================== @@ -8,17 +8,18 @@ sources: a.ts emittedFile:a.js sourceFile:a.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var c = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function c() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -27,16 +28,16 @@ sourceFile:a.ts 1->class c { > 2 > } -1->Emitted(3, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(3, 6) Source(2, 2) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(4, 6) Source(2, 2) + SourceIndex(0) --- >>> return c; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(4, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(4, 13) Source(2, 2) + SourceIndex(0) +1->Emitted(5, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(5, 13) Source(2, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -49,9 +50,9 @@ sourceFile:a.ts 3 > 4 > class c { > } -1 >Emitted(5, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(2, 2) + SourceIndex(0) -3 >Emitted(5, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(5, 6) Source(2, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(2, 2) + SourceIndex(0) +3 >Emitted(6, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(6, 6) Source(2, 2) + SourceIndex(0) --- ->>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFBQTtJQUNBLENBQUM7SUFBRCxRQUFDO0FBQUQsQ0FBQyxBQURELElBQ0MifQ== \ No newline at end of file +>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0lBQUE7SUFDQSxDQUFDO0lBQUQsUUFBQztBQUFELENBQUMsQUFERCxJQUNDIn0= \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.js b/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.js index ed21437983493..cbb9b01397208 100644 --- a/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.js +++ b/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.js @@ -13,6 +13,7 @@ function bar() { } //// [a.js] +"use strict"; var c = /** @class */ (function () { function c() { } @@ -20,6 +21,7 @@ var c = /** @class */ (function () { }()); //# sourceMappingURL=a.js.map //// [b.js] +"use strict"; function bar() { } //# sourceMappingURL=b.js.map \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.js.map b/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.js.map index 7cc002476841d..28ac2bac1fbff 100644 --- a/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.js.map +++ b/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.js.map @@ -1,4 +1,4 @@ //// [a.js.map] -{"version":3,"file":"a.js","sourceRoot":"","sources":["../a.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} +{"version":3,"file":"a.js","sourceRoot":"","sources":["../a.ts"],"names":[],"mappings":";AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} //// [b.js.map] -{"version":3,"file":"b.js","sourceRoot":"","sources":["../b.js"],"names":[],"mappings":"AAAA,SAAS,GAAG;AACZ,CAAC"} \ No newline at end of file +{"version":3,"file":"b.js","sourceRoot":"","sources":["../b.js"],"names":[],"mappings":";AAAA,SAAS,GAAG;AACZ,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.sourcemap.txt b/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.sourcemap.txt index a00057db7c49b..ff048a5719981 100644 --- a/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.sourcemap.txt +++ b/tests/baselines/reference/jsFileCompilationWithMapFileAsJsWithOutDir.sourcemap.txt @@ -8,17 +8,18 @@ sources: ../a.ts emittedFile:out/a.js sourceFile:../a.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var c = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function c() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -27,16 +28,16 @@ sourceFile:../a.ts 1->class c { > 2 > } -1->Emitted(3, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(3, 6) Source(2, 2) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(4, 6) Source(2, 2) + SourceIndex(0) --- >>> return c; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(4, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(4, 13) Source(2, 2) + SourceIndex(0) +1->Emitted(5, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(5, 13) Source(2, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -49,10 +50,10 @@ sourceFile:../a.ts 3 > 4 > class c { > } -1 >Emitted(5, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(2, 2) + SourceIndex(0) -3 >Emitted(5, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(5, 6) Source(2, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(2, 2) + SourceIndex(0) +3 >Emitted(6, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(6, 6) Source(2, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=a.js.map=================================================================== JsFile: b.js @@ -64,6 +65,7 @@ sources: ../b.js emittedFile:out/b.js sourceFile:../b.js ------------------------------------------------------------------- +>>>"use strict"; >>>function bar() { 1 > 2 >^^^^^^^^^ @@ -71,9 +73,9 @@ sourceFile:../b.js 1 > 2 >function 3 > bar -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -3 >Emitted(1, 13) Source(1, 13) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +3 >Emitted(2, 13) Source(1, 13) + SourceIndex(0) --- >>>} 1 > @@ -82,7 +84,7 @@ sourceFile:../b.js 1 >() { > 2 >} -1 >Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 2) Source(2, 2) + SourceIndex(0) +1 >Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 2) Source(2, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=b.js.map \ No newline at end of file diff --git a/tests/baselines/reference/jsFileCompilationWithOut.js b/tests/baselines/reference/jsFileCompilationWithOut.js index 6c9e486cacc3b..b1bf8db563123 100644 --- a/tests/baselines/reference/jsFileCompilationWithOut.js +++ b/tests/baselines/reference/jsFileCompilationWithOut.js @@ -10,6 +10,7 @@ function foo() { //// [out.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsFileCompilationWithOutDeclarationFileNameSameAsInputJsFile.js b/tests/baselines/reference/jsFileCompilationWithOutDeclarationFileNameSameAsInputJsFile.js index d87924e68add8..951e7229b5660 100644 --- a/tests/baselines/reference/jsFileCompilationWithOutDeclarationFileNameSameAsInputJsFile.js +++ b/tests/baselines/reference/jsFileCompilationWithOutDeclarationFileNameSameAsInputJsFile.js @@ -9,6 +9,7 @@ declare function foo(): boolean; //// [b.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsFileCompilationWithoutOut.js b/tests/baselines/reference/jsFileCompilationWithoutOut.js index 98a533a932516..7d64514f75b4e 100644 --- a/tests/baselines/reference/jsFileCompilationWithoutOut.js +++ b/tests/baselines/reference/jsFileCompilationWithoutOut.js @@ -10,6 +10,7 @@ function foo() { //// [a.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsFileFunctionOverloads.js b/tests/baselines/reference/jsFileFunctionOverloads.js index 367ef9c9e309d..3bdcf590197e6 100644 --- a/tests/baselines/reference/jsFileFunctionOverloads.js +++ b/tests/baselines/reference/jsFileFunctionOverloads.js @@ -61,6 +61,7 @@ function flatMap(array, iterable = identity) { //// [jsFileFunctionOverloads.js] +"use strict"; /** * @overload * @param {number} x diff --git a/tests/baselines/reference/jsFileFunctionOverloads2.js b/tests/baselines/reference/jsFileFunctionOverloads2.js index 2579d96ea4b65..6517bce5465a4 100644 --- a/tests/baselines/reference/jsFileFunctionOverloads2.js +++ b/tests/baselines/reference/jsFileFunctionOverloads2.js @@ -56,6 +56,7 @@ function flatMap(array, iterable = identity) { //// [jsFileFunctionOverloads2.js] +"use strict"; // Also works if all @overload tags are combined in one comment. /** * @overload diff --git a/tests/baselines/reference/jsFileMethodOverloads.js b/tests/baselines/reference/jsFileMethodOverloads.js index 0816b56b3eadb..d1f6c5dfacdf7 100644 --- a/tests/baselines/reference/jsFileMethodOverloads.js +++ b/tests/baselines/reference/jsFileMethodOverloads.js @@ -50,6 +50,7 @@ //// [jsFileMethodOverloads.js] +"use strict"; /** * @template T */ diff --git a/tests/baselines/reference/jsFileMethodOverloads2.js b/tests/baselines/reference/jsFileMethodOverloads2.js index 66b2297d69e27..0f9b3b9060481 100644 --- a/tests/baselines/reference/jsFileMethodOverloads2.js +++ b/tests/baselines/reference/jsFileMethodOverloads2.js @@ -47,6 +47,7 @@ //// [jsFileMethodOverloads2.js] +"use strict"; // Also works if all @overload tags are combined in one comment. /** * @template T diff --git a/tests/baselines/reference/jsFunctionWithPrototypeNoErrorTruncationNoCrash.js b/tests/baselines/reference/jsFunctionWithPrototypeNoErrorTruncationNoCrash.js index 0fb45769264c3..044c50e190478 100644 --- a/tests/baselines/reference/jsFunctionWithPrototypeNoErrorTruncationNoCrash.js +++ b/tests/baselines/reference/jsFunctionWithPrototypeNoErrorTruncationNoCrash.js @@ -18,6 +18,7 @@ Color.prototype = { }; //// [index.js] +"use strict"; function Color(obj) { this.example = true; } diff --git a/tests/baselines/reference/jsObjectsMarkedAsOpenEnded.js b/tests/baselines/reference/jsObjectsMarkedAsOpenEnded.js index b5c6ebd5eb2ea..cb01a68d78feb 100644 --- a/tests/baselines/reference/jsObjectsMarkedAsOpenEnded.js +++ b/tests/baselines/reference/jsObjectsMarkedAsOpenEnded.js @@ -36,6 +36,7 @@ getObj().a = 1; //// [output.js] +"use strict"; var variable = {}; variable.a = 0; var C = /** @class */ (function () { diff --git a/tests/baselines/reference/jsdocAccessibilityTagsDeclarations.js b/tests/baselines/reference/jsdocAccessibilityTagsDeclarations.js index 37eecc454632a..1745fc6b1287c 100644 --- a/tests/baselines/reference/jsdocAccessibilityTagsDeclarations.js +++ b/tests/baselines/reference/jsdocAccessibilityTagsDeclarations.js @@ -41,6 +41,7 @@ class C { //// [foo.js] +"use strict"; class Protected { /** @protected */ constructor(c) { diff --git a/tests/baselines/reference/jsdocCastCommentEmit.js b/tests/baselines/reference/jsdocCastCommentEmit.js index 47869e9cf3be1..c7e2e38785345 100644 --- a/tests/baselines/reference/jsdocCastCommentEmit.js +++ b/tests/baselines/reference/jsdocCastCommentEmit.js @@ -10,6 +10,7 @@ function f() { } //// [jsdocCastCommentEmit.js] +"use strict"; // allowJs: true // checkJs: true // outDir: out/ diff --git a/tests/baselines/reference/jsdocCatchClauseWithTypeAnnotation.js b/tests/baselines/reference/jsdocCatchClauseWithTypeAnnotation.js index b7c3e4e63f1b9..c9b33d35d5e8c 100644 --- a/tests/baselines/reference/jsdocCatchClauseWithTypeAnnotation.js +++ b/tests/baselines/reference/jsdocCatchClauseWithTypeAnnotation.js @@ -54,6 +54,7 @@ function fn() { //// [foo.js] +"use strict"; /** * @typedef {any} Any */ diff --git a/tests/baselines/reference/jsdocInTypeScript.js b/tests/baselines/reference/jsdocInTypeScript.js index f8125c67c3b62..207d6bd74f718 100644 --- a/tests/baselines/reference/jsdocInTypeScript.js +++ b/tests/baselines/reference/jsdocInTypeScript.js @@ -60,6 +60,7 @@ var v = import(String()); //// [jsdocInTypeScript.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/jsdocLinkTag6.js b/tests/baselines/reference/jsdocLinkTag6.js index 1e9e933dee8a9..55628bf100426 100644 --- a/tests/baselines/reference/jsdocLinkTag6.js +++ b/tests/baselines/reference/jsdocLinkTag6.js @@ -13,6 +13,7 @@ class B extends A { //// [a.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/jsdocLiteral.js b/tests/baselines/reference/jsdocLiteral.js index 68442c3c52f41..207a12539d1e7 100644 --- a/tests/baselines/reference/jsdocLiteral.js +++ b/tests/baselines/reference/jsdocLiteral.js @@ -14,6 +14,7 @@ function f(p1, p2, p3, p4, p5) { //// [out.js] +"use strict"; /** * @param {'literal'} p1 * @param {"literal"} p2 diff --git a/tests/baselines/reference/jsdocNeverUndefinedNull.js b/tests/baselines/reference/jsdocNeverUndefinedNull.js index a1a4a260668e3..214920178a869 100644 --- a/tests/baselines/reference/jsdocNeverUndefinedNull.js +++ b/tests/baselines/reference/jsdocNeverUndefinedNull.js @@ -12,6 +12,7 @@ function f(p1, p2, p3) { //// [out.js] +"use strict"; /** * @param {never} p1 * @param {undefined} p2 diff --git a/tests/baselines/reference/jsdocParameterParsingInvalidName.js b/tests/baselines/reference/jsdocParameterParsingInvalidName.js index acf2178132e53..1928834a6e788 100644 --- a/tests/baselines/reference/jsdocParameterParsingInvalidName.js +++ b/tests/baselines/reference/jsdocParameterParsingInvalidName.js @@ -10,6 +10,7 @@ class c { } //// [jsdocParameterParsingInvalidName.js] +"use strict"; var c = /** @class */ (function () { function c() { } diff --git a/tests/baselines/reference/jsdocParseErrorsInTypescript.js b/tests/baselines/reference/jsdocParseErrorsInTypescript.js index 6b96ddd7a4bb3..36225e99a3191 100644 --- a/tests/baselines/reference/jsdocParseErrorsInTypescript.js +++ b/tests/baselines/reference/jsdocParseErrorsInTypescript.js @@ -6,6 +6,7 @@ function parse1(n: number=) { } //// [jsdocParseErrorsInTypescript.js] +"use strict"; // parse error (blocks grammar errors from checker) function parse1(n) { if (n === void 0) { n = ; } diff --git a/tests/baselines/reference/jsdocReadonlyDeclarations.js b/tests/baselines/reference/jsdocReadonlyDeclarations.js index a14f54a4b416f..c16d89a53e3b1 100644 --- a/tests/baselines/reference/jsdocReadonlyDeclarations.js +++ b/tests/baselines/reference/jsdocReadonlyDeclarations.js @@ -28,6 +28,7 @@ class D { //// [foo.js] +"use strict"; class C { /** @readonly */ constructor(n) { diff --git a/tests/baselines/reference/jsdocReturnTag1.js b/tests/baselines/reference/jsdocReturnTag1.js index f74196f1efa54..cca38667bea8c 100644 --- a/tests/baselines/reference/jsdocReturnTag1.js +++ b/tests/baselines/reference/jsdocReturnTag1.js @@ -24,6 +24,7 @@ function f2() { //// [dummy.js] +"use strict"; /** * @returns {string} This comment is not currently exposed */ diff --git a/tests/baselines/reference/jsdocSignatureOnReturnedFunction.js b/tests/baselines/reference/jsdocSignatureOnReturnedFunction.js index 67d3a6195e518..50e535f722979 100644 --- a/tests/baselines/reference/jsdocSignatureOnReturnedFunction.js +++ b/tests/baselines/reference/jsdocSignatureOnReturnedFunction.js @@ -39,6 +39,7 @@ function f4() { //// [jsdocSignatureOnReturnedFunction.js] +"use strict"; function f1() { /** * @param {number} a diff --git a/tests/baselines/reference/jsdocTemplateTagDefault.js b/tests/baselines/reference/jsdocTemplateTagDefault.js index f718ac3e56831..101415c98fab4 100644 --- a/tests/baselines/reference/jsdocTemplateTagDefault.js +++ b/tests/baselines/reference/jsdocTemplateTagDefault.js @@ -69,6 +69,7 @@ function f3(a, b) {} //// [file.js] +"use strict"; /** * @template {string | number} [T=string] - ok: defaults are permitted * @typedef {[T]} A diff --git a/tests/baselines/reference/jsdocTemplateTagNameResolution.js b/tests/baselines/reference/jsdocTemplateTagNameResolution.js index 0b3fbab03976c..bc9bda93022ba 100644 --- a/tests/baselines/reference/jsdocTemplateTagNameResolution.js +++ b/tests/baselines/reference/jsdocTemplateTagNameResolution.js @@ -13,6 +13,7 @@ const x = { a: 1 }; const y = "a"; //// [file.js] +"use strict"; /** * @template T * @template {keyof T} K diff --git a/tests/baselines/reference/jsdocTwoLineTypedef.js b/tests/baselines/reference/jsdocTwoLineTypedef.js index 29666c4ee52ff..999abb27f50c6 100644 --- a/tests/baselines/reference/jsdocTwoLineTypedef.js +++ b/tests/baselines/reference/jsdocTwoLineTypedef.js @@ -10,3 +10,4 @@ type LoadCallback = void; //// [jsdocTwoLineTypedef.js] +"use strict"; diff --git a/tests/baselines/reference/jsdocTypeCast.js b/tests/baselines/reference/jsdocTypeCast.js index 01f9303598108..b8af6a6505f10 100644 --- a/tests/baselines/reference/jsdocTypeCast.js +++ b/tests/baselines/reference/jsdocTypeCast.js @@ -20,6 +20,7 @@ //// [jsdocTypeCast.js] +"use strict"; /** * @param {string} x */ diff --git a/tests/baselines/reference/jsdocTypeTag.js b/tests/baselines/reference/jsdocTypeTag.js index 77d7aacba2b63..603a391f1af15 100644 --- a/tests/baselines/reference/jsdocTypeTag.js +++ b/tests/baselines/reference/jsdocTypeTag.js @@ -101,6 +101,7 @@ var ctor: new (s: string) => { s: string }; //// [a.js] +"use strict"; /** @type {String} */ var S; /** @type {string} */ @@ -150,6 +151,7 @@ var f; /** @type {new (s: string) => { s: string }} */ var ctor; //// [b.js] +"use strict"; var S; var s; var N; diff --git a/tests/baselines/reference/jsdocTypeTagCast.js b/tests/baselines/reference/jsdocTypeTagCast.js index d829ef238addd..dc51df96df7be 100644 --- a/tests/baselines/reference/jsdocTypeTagCast.js +++ b/tests/baselines/reference/jsdocTypeTagCast.js @@ -80,8 +80,10 @@ var asConst2 = /** @type {const} */({ }); //// [a.js] +"use strict"; var W; //// [b.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/jsdocTypecastNoTypeNoCrash.js b/tests/baselines/reference/jsdocTypecastNoTypeNoCrash.js index b334d5a35722c..bf1ae4f14a893 100644 --- a/tests/baselines/reference/jsdocTypecastNoTypeNoCrash.js +++ b/tests/baselines/reference/jsdocTypecastNoTypeNoCrash.js @@ -6,5 +6,6 @@ const a = /* @type string */(Foo); //// [index.js] +"use strict"; function Foo() { } var a = /* @type string */ (Foo); diff --git a/tests/baselines/reference/jsdocVariableDeclarationWithTypeAnnotation.js b/tests/baselines/reference/jsdocVariableDeclarationWithTypeAnnotation.js index 6357f7e9f358e..4bc872b02ce4e 100644 --- a/tests/baselines/reference/jsdocVariableDeclarationWithTypeAnnotation.js +++ b/tests/baselines/reference/jsdocVariableDeclarationWithTypeAnnotation.js @@ -7,6 +7,7 @@ var /** @type {string} */ x, //// [foo.js] +"use strict"; /** @type {boolean} */ var /** @type {string} */ x, /** @type {number} */ y; diff --git a/tests/baselines/reference/json.stringify.js b/tests/baselines/reference/json.stringify.js index 0de72914f3961..40830ead8bae7 100644 --- a/tests/baselines/reference/json.stringify.js +++ b/tests/baselines/reference/json.stringify.js @@ -9,6 +9,7 @@ JSON.stringify(value, (k) => undefined, 2); JSON.stringify(value, undefined, 2); //// [json.stringify.js] +"use strict"; var value = null; JSON.stringify(value, undefined, 2); JSON.stringify(value, null, 2); diff --git a/tests/baselines/reference/jsxAndTypeAssertion.js b/tests/baselines/reference/jsxAndTypeAssertion.js index c5c8588935ac6..5607cd01df9d5 100644 --- a/tests/baselines/reference/jsxAndTypeAssertion.js +++ b/tests/baselines/reference/jsxAndTypeAssertion.js @@ -24,6 +24,7 @@ x = x, x = ; //// [jsxAndTypeAssertion.jsx] +"use strict"; var foo = /** @class */ (function () { function foo() { } diff --git a/tests/baselines/reference/jsxAttributeInitializer(jsx=preserve).js b/tests/baselines/reference/jsxAttributeInitializer(jsx=preserve).js index ab6d714fb80db..f044d76ee4e1f 100644 --- a/tests/baselines/reference/jsxAttributeInitializer(jsx=preserve).js +++ b/tests/baselines/reference/jsxAttributeInitializer(jsx=preserve).js @@ -12,6 +12,7 @@ declare var React: any; //// [a.jsx] +"use strict";
/>
foo
/> diff --git a/tests/baselines/reference/jsxAttributeInitializer(jsx=react).js b/tests/baselines/reference/jsxAttributeInitializer(jsx=react).js index c3794a287cfc9..b4c36da056760 100644 --- a/tests/baselines/reference/jsxAttributeInitializer(jsx=react).js +++ b/tests/baselines/reference/jsxAttributeInitializer(jsx=react).js @@ -12,6 +12,7 @@ declare var React: any; //// [a.js] +"use strict"; React.createElement("div", null, React.createElement("div", { attr: React.createElement("div", null) }), React.createElement("div", { attr: React.createElement("div", null, "foo") }), diff --git a/tests/baselines/reference/jsxAttributeMissingInitializer.js b/tests/baselines/reference/jsxAttributeMissingInitializer.js index 85e2daa223247..7d8b4ea1c51c4 100644 --- a/tests/baselines/reference/jsxAttributeMissingInitializer.js +++ b/tests/baselines/reference/jsxAttributeMissingInitializer.js @@ -6,5 +6,6 @@ const y = 0; //// [jsxAttributeMissingInitializer.jsx] +"use strict"; var x =
; var y = 0; diff --git a/tests/baselines/reference/jsxAttributeWithoutExpressionReact.js b/tests/baselines/reference/jsxAttributeWithoutExpressionReact.js index c537ca89a1a7b..5be52c8244c8f 100644 --- a/tests/baselines/reference/jsxAttributeWithoutExpressionReact.js +++ b/tests/baselines/reference/jsxAttributeWithoutExpressionReact.js @@ -11,5 +11,6 @@ declare var React: any; //// [jsxAttributeWithoutExpressionReact.js] +"use strict"; React.createElement(View, null, React.createElement(ListView, { refreshControl: React.createElement(RefreshControl, { onRefresh: true, refreshing: true }), dataSource: this.state.ds, renderRow: true })); diff --git a/tests/baselines/reference/jsxEmitAttributeWithPreserve.js b/tests/baselines/reference/jsxEmitAttributeWithPreserve.js index b1646cf3faad8..d78138545875a 100644 --- a/tests/baselines/reference/jsxEmitAttributeWithPreserve.js +++ b/tests/baselines/reference/jsxEmitAttributeWithPreserve.js @@ -5,4 +5,5 @@ declare var React: any; //// [jsxEmitAttributeWithPreserve.jsx] +"use strict"; ; diff --git a/tests/baselines/reference/jsxEsprimaFbTestSuite.js b/tests/baselines/reference/jsxEsprimaFbTestSuite.js index bda934262f314..b8c0362183d13 100644 --- a/tests/baselines/reference/jsxEsprimaFbTestSuite.js +++ b/tests/baselines/reference/jsxEsprimaFbTestSuite.js @@ -58,6 +58,7 @@ baz //// [jsxEsprimaFbTestSuite.jsx] +"use strict";
; ; {value} ; diff --git a/tests/baselines/reference/jsxFactoryAndJsxFragmentFactory.js b/tests/baselines/reference/jsxFactoryAndJsxFragmentFactory.js index 18800eb73bc5a..c5ada8d12eec3 100644 --- a/tests/baselines/reference/jsxFactoryAndJsxFragmentFactory.js +++ b/tests/baselines/reference/jsxFactoryAndJsxFragmentFactory.js @@ -8,6 +8,7 @@ declare var Frag: any; <>1<>2.12.2; //// [jsxFactoryAndJsxFragmentFactory.js] +"use strict"; h(Frag, null); h(Frag, null, h("span", null, "1"), diff --git a/tests/baselines/reference/jsxFactoryAndJsxFragmentFactoryErrorNotIdentifier.js b/tests/baselines/reference/jsxFactoryAndJsxFragmentFactoryErrorNotIdentifier.js index b6882ec8ec36b..38e0e9ba823c0 100644 --- a/tests/baselines/reference/jsxFactoryAndJsxFragmentFactoryErrorNotIdentifier.js +++ b/tests/baselines/reference/jsxFactoryAndJsxFragmentFactoryErrorNotIdentifier.js @@ -7,6 +7,7 @@ declare var h: any; <>1<>2.12.2; //// [jsxFactoryAndJsxFragmentFactoryErrorNotIdentifier.js] +"use strict"; h(React.Fragment, null); h(React.Fragment, null, h("span", null, "1"), diff --git a/tests/baselines/reference/jsxFactoryAndJsxFragmentFactoryNull.js b/tests/baselines/reference/jsxFactoryAndJsxFragmentFactoryNull.js index 83b4e2ee6734d..f13cbabf808ae 100644 --- a/tests/baselines/reference/jsxFactoryAndJsxFragmentFactoryNull.js +++ b/tests/baselines/reference/jsxFactoryAndJsxFragmentFactoryNull.js @@ -7,6 +7,7 @@ declare var h: any; <>1<>2.12.2; //// [jsxFactoryAndJsxFragmentFactoryNull.js] +"use strict"; h(null, null); h(null, null, h("span", null, "1"), diff --git a/tests/baselines/reference/jsxFactoryButNoJsxFragmentFactory.js b/tests/baselines/reference/jsxFactoryButNoJsxFragmentFactory.js index a62a05ca0b415..ded656df58c55 100644 --- a/tests/baselines/reference/jsxFactoryButNoJsxFragmentFactory.js +++ b/tests/baselines/reference/jsxFactoryButNoJsxFragmentFactory.js @@ -7,6 +7,7 @@ declare var h: any; <>1<>2.12.2; //// [jsxFactoryButNoJsxFragmentFactory.js] +"use strict"; h(React.Fragment, null); h(React.Fragment, null, h("span", null, "1"), diff --git a/tests/baselines/reference/jsxHash.js b/tests/baselines/reference/jsxHash.js index 0bf0ca40b3a3f..7a4113fda5df2 100644 --- a/tests/baselines/reference/jsxHash.js +++ b/tests/baselines/reference/jsxHash.js @@ -15,6 +15,7 @@ var t12 = #; //// [jsxHash.jsx] +"use strict"; var t02 = {0}#; var t03 = #{0}; var t04 = #{0}#; diff --git a/tests/baselines/reference/jsxInExtendsClause.js b/tests/baselines/reference/jsxInExtendsClause.js index ecd405c36b983..e05f33266faf6 100644 --- a/tests/baselines/reference/jsxInExtendsClause.js +++ b/tests/baselines/reference/jsxInExtendsClause.js @@ -14,6 +14,7 @@ class Foo extends createComponentClass(() => class extends React.Component<{}, { }) {} //// [jsxInExtendsClause.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/jsxIntrinsicElementsExtendsRecord.js b/tests/baselines/reference/jsxIntrinsicElementsExtendsRecord.js index d39d6c1289524..4c58e6e84ff1d 100644 --- a/tests/baselines/reference/jsxIntrinsicElementsExtendsRecord.js +++ b/tests/baselines/reference/jsxIntrinsicElementsExtendsRecord.js @@ -9,4 +9,5 @@ declare namespace JSX { //// [index.jsx] +"use strict"; ; diff --git a/tests/baselines/reference/jsxInvalidEsprimaTestSuite.js b/tests/baselines/reference/jsxInvalidEsprimaTestSuite.js index be3f6cdf424f4..8901a44054f63 100644 --- a/tests/baselines/reference/jsxInvalidEsprimaTestSuite.js +++ b/tests/baselines/reference/jsxInvalidEsprimaTestSuite.js @@ -75,85 +75,116 @@ var x =
one
/* intervening comment */
two
;;
; //// [1.jsx] +"use strict"; > ; //// [2.jsx] +"use strict"; ; //// [3.jsx] +"use strict"; < ; a / > ; //// [4.jsx] +"use strict"; ; //// [5.jsx] +"use strict"; ;; //// [6.jsx] +"use strict"; ; //// [7.jsx] +"use strict"; ; //// [9.jsx] +"use strict"; ; c > ; //// [10.jsx] +"use strict"; ; c > ; //// [11.jsx] +"use strict"; ; //// [12.jsx] +"use strict"; < .a > ; a > ; //// [13.jsx] +"use strict"; ; //// [14.jsx] +"use strict"; ; [foo] > ; a[foo] > ; //// [15.jsx] +"use strict"; ; ['foo'] > ; a['foo'] > ; //// [16.jsx] +"use strict"; ;; //// [17.jsx] +"use strict"; ;; //// [18.jsx] +"use strict"; var x = /* Leading trivia */
one
,
two
; ; //// [19.jsx] +"use strict"; var x =
one
/* intervening comment */, /* intervening comment */
two
; ; //// [20.jsx] +"use strict";
{"str"};}; //// [21.jsx] +"use strict"; ; //// [22.jsx] +"use strict";
; "app" > ; //// [23.jsx] +"use strict";
; //// [24.jsx] +"use strict";
stuff
; { props; } > ; //// [25.jsx] +"use strict";
stuff
; { props; } > ; //// [26.jsx] +"use strict"; >; //// [27.jsx] +"use strict"; >; //// [28.jsx] +"use strict"; ; ; //// [29.jsx] +"use strict"; ; />; //// [30.jsx] +"use strict"; }; //// [31.jsx] +"use strict"; ; diff --git a/tests/baselines/reference/jsxMultilineAttributeStringValues.js b/tests/baselines/reference/jsxMultilineAttributeStringValues.js index 440112bdac847..f6ead77dcad7d 100644 --- a/tests/baselines/reference/jsxMultilineAttributeStringValues.js +++ b/tests/baselines/reference/jsxMultilineAttributeStringValues.js @@ -10,6 +10,7 @@ foo: 23 //// [jsxMultilineAttributeStringValues.jsx] +"use strict"; var a = ; diff --git a/tests/baselines/reference/jsxMultilineAttributeValuesReact.js b/tests/baselines/reference/jsxMultilineAttributeValuesReact.js index a46d32b7df669..3a13059675ba5 100644 --- a/tests/baselines/reference/jsxMultilineAttributeValuesReact.js +++ b/tests/baselines/reference/jsxMultilineAttributeValuesReact.js @@ -14,6 +14,7 @@ foo: 23\n //// [jsxMultilineAttributeValuesReact.js] +"use strict"; var a = React.createElement("input", { value: "\nfoo: 23\n" }); var b = React.createElement("input", { value: '\nfoo: 23\n' }); var c = React.createElement("input", { value: '\nfoo: 23\\n\n' }); diff --git a/tests/baselines/reference/jsxNamespacePrefixInName.js b/tests/baselines/reference/jsxNamespacePrefixInName.js index 816f032f2f23e..8544f8269993a 100644 --- a/tests/baselines/reference/jsxNamespacePrefixInName.js +++ b/tests/baselines/reference/jsxNamespacePrefixInName.js @@ -32,6 +32,7 @@ var upcaseComponent2 = ; // Parsed as instrinsic //// [jsxNamespacePrefixInName.jsx] +"use strict"; var justElement1 = ; var justElement2 = ; var justElement3 = ; diff --git a/tests/baselines/reference/jsxNamespacePrefixInNameReact.js b/tests/baselines/reference/jsxNamespacePrefixInNameReact.js index 71d7334c9ab91..ada0eb009404f 100644 --- a/tests/baselines/reference/jsxNamespacePrefixInNameReact.js +++ b/tests/baselines/reference/jsxNamespacePrefixInNameReact.js @@ -34,6 +34,7 @@ var upcaseComponent2 = ; // Parsed as instrinsic //// [jsxNamespacePrefixInNameReact.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/jsxNamespacePrefixIntrinsics.js b/tests/baselines/reference/jsxNamespacePrefixIntrinsics.js index b5400aa73097f..9fcb8f516d170 100644 --- a/tests/baselines/reference/jsxNamespacePrefixIntrinsics.js +++ b/tests/baselines/reference/jsxNamespacePrefixIntrinsics.js @@ -21,6 +21,7 @@ const invalid3 = ; //// [jsxNamespacePrefixIntrinsics.jsx] +"use strict"; var valid = ; var validUpcase1 = ; var validUpcase2 = ; diff --git a/tests/baselines/reference/jsxNestedWithinTernaryParsesCorrectly.js b/tests/baselines/reference/jsxNestedWithinTernaryParsesCorrectly.js index 45786f442bbc0..d5acbd39ec27d 100644 --- a/tests/baselines/reference/jsxNestedWithinTernaryParsesCorrectly.js +++ b/tests/baselines/reference/jsxNestedWithinTernaryParsesCorrectly.js @@ -16,6 +16,7 @@ const a = ( ); //// [jsxNestedWithinTernaryParsesCorrectly.jsx] +"use strict"; var emptyMessage = null; var a = (
{0 ? (emptyMessage // must be identifier? diff --git a/tests/baselines/reference/jsxParsingError1.js b/tests/baselines/reference/jsxParsingError1.js index 3c46556d13b58..40d102412626c 100644 --- a/tests/baselines/reference/jsxParsingError1.js +++ b/tests/baselines/reference/jsxParsingError1.js @@ -15,6 +15,7 @@ const elem =
; //// [file.jsx] +"use strict"; // This should be a parse error var class1 = "foo"; var class2 = "bar"; diff --git a/tests/baselines/reference/jsxParsingError2.js b/tests/baselines/reference/jsxParsingError2.js index fa1ae499a5c26..5cda01caa2f97 100644 --- a/tests/baselines/reference/jsxParsingError2.js +++ b/tests/baselines/reference/jsxParsingError2.js @@ -29,19 +29,25 @@ let x5 =
//// [file.jsx] +"use strict"; //// [Error1.jsx] +"use strict"; // Issue error about missing span closing tag, not missing div closing tag var x1 =
; //// [Error2.jsx] +"use strict"; var x2 =
; //// [Error3.jsx] +"use strict"; var x3 =
; ; //// [Error4.jsx] +"use strict"; var x4 =
; ; //// [Error5.jsx] +"use strict"; var x5 =
; diff --git a/tests/baselines/reference/jsxParsingError3.js b/tests/baselines/reference/jsxParsingError3.js index 0088eed8a3bb1..ce0acc0d9ceac 100644 --- a/tests/baselines/reference/jsxParsingError3.js +++ b/tests/baselines/reference/jsxParsingError3.js @@ -28,15 +28,22 @@ let x6 =
>{"foo"}
; //// [file.jsx] +"use strict"; //// [Error1.jsx] +"use strict"; var x1 =
}
; //// [Error2.jsx] +"use strict"; var x2 =
>
; //// [Error3.jsx] +"use strict"; var x3 =
{"foo"}}
; //// [Error4.jsx] +"use strict"; var x4 =
{"foo"}>
; //// [Error5.jsx] +"use strict"; var x5 =
}{"foo"}
; //// [Error6.jsx] +"use strict"; var x6 =
>{"foo"}
; diff --git a/tests/baselines/reference/jsxParsingError4(strict=false).js b/tests/baselines/reference/jsxParsingError4(strict=false).js index 959cc4018349f..d84abd5044cf8 100644 --- a/tests/baselines/reference/jsxParsingError4(strict=false).js +++ b/tests/baselines/reference/jsxParsingError4(strict=false).js @@ -18,5 +18,6 @@ const b = ( //// [a.js] +"use strict"; var a = (React.createElement("public-foo", null)); var b = (React.createElement("public", null)); diff --git a/tests/baselines/reference/jsxParsingErrorImmediateSpreadInAttributeValue.js b/tests/baselines/reference/jsxParsingErrorImmediateSpreadInAttributeValue.js index 8fa436d2428aa..1cc76939f4d5d 100644 --- a/tests/baselines/reference/jsxParsingErrorImmediateSpreadInAttributeValue.js +++ b/tests/baselines/reference/jsxParsingErrorImmediateSpreadInAttributeValue.js @@ -15,6 +15,7 @@ const a: any //// [a.js] +"use strict"; var X; var a; React.createElement(X, { a: , a: true }); diff --git a/tests/baselines/reference/jsxPreserveWithJsInput.js b/tests/baselines/reference/jsxPreserveWithJsInput.js index e91d2a0c19cdf..ab6e5a844d2a4 100644 --- a/tests/baselines/reference/jsxPreserveWithJsInput.js +++ b/tests/baselines/reference/jsxPreserveWithJsInput.js @@ -17,12 +17,17 @@ var elemE = {true}; //// [a.js] +"use strict"; var elemA = 42; //// [b.jsx] +"use strict"; var elemB = {"test"}; //// [c.js] +"use strict"; var elemC = {42}; //// [d.js] +"use strict"; var elemD = 42; //// [e.jsx] +"use strict"; var elemE = {true}; diff --git a/tests/baselines/reference/jsxReactTestSuite.js b/tests/baselines/reference/jsxReactTestSuite.js index 3bd3a62c42835..f2bd50239dad6 100644 --- a/tests/baselines/reference/jsxReactTestSuite.js +++ b/tests/baselines/reference/jsxReactTestSuite.js @@ -119,6 +119,7 @@ var x = //// [jsxReactTestSuite.jsx] +"use strict";
text
;
{this.props.children} diff --git a/tests/baselines/reference/jsxSpreadTag(target=es2015).js b/tests/baselines/reference/jsxSpreadTag(target=es2015).js index abcb63d30e462..96a25ca1049ee 100644 --- a/tests/baselines/reference/jsxSpreadTag(target=es2015).js +++ b/tests/baselines/reference/jsxSpreadTag(target=es2015).js @@ -24,6 +24,7 @@ const t6 = (obj: { [P in K]: T[P] }, k: K) { } //// [keyofAndForIn.js] +"use strict"; // Repro from #12513 function f1(obj, k) { var b = k in obj; diff --git a/tests/baselines/reference/keyofAndIndexedAccess.js b/tests/baselines/reference/keyofAndIndexedAccess.js index ea10cf32f5e50..13e53ee02ad51 100644 --- a/tests/baselines/reference/keyofAndIndexedAccess.js +++ b/tests/baselines/reference/keyofAndIndexedAccess.js @@ -661,6 +661,7 @@ const cf2 = (t: T, //// [keyofAndIndexedAccess.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/keyofAndIndexedAccessErrors.js b/tests/baselines/reference/keyofAndIndexedAccessErrors.js index c9aee8125c72f..412e810f1d5ca 100644 --- a/tests/baselines/reference/keyofAndIndexedAccessErrors.js +++ b/tests/baselines/reference/keyofAndIndexedAccessErrors.js @@ -173,6 +173,7 @@ class Test> { //// [keyofAndIndexedAccessErrors.js] +"use strict"; var Shape = /** @class */ (function () { function Shape() { } diff --git a/tests/baselines/reference/keyofDoesntContainSymbols.js b/tests/baselines/reference/keyofDoesntContainSymbols.js index aa7ebe52dd242..db990c204b951 100644 --- a/tests/baselines/reference/keyofDoesntContainSymbols.js +++ b/tests/baselines/reference/keyofDoesntContainSymbols.js @@ -27,6 +27,7 @@ type Values = T[keyof T]; type ValuesOfObj = Values; //// [keyofDoesntContainSymbols.js] +"use strict"; var _a; var sym = Symbol(); var num = 0; diff --git a/tests/baselines/reference/keyofGenericExtendingClassDoubleLayer.js b/tests/baselines/reference/keyofGenericExtendingClassDoubleLayer.js index 92c2ae000721f..280a826f73bd7 100644 --- a/tests/baselines/reference/keyofGenericExtendingClassDoubleLayer.js +++ b/tests/baselines/reference/keyofGenericExtendingClassDoubleLayer.js @@ -19,6 +19,7 @@ class PersonModel extends AutoModel { //// [keyofGenericExtendingClassDoubleLayer.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/keyofInferenceIntersectsResults.js b/tests/baselines/reference/keyofInferenceIntersectsResults.js index c7bb3619a7991..0423dc2107153 100644 --- a/tests/baselines/reference/keyofInferenceIntersectsResults.js +++ b/tests/baselines/reference/keyofInferenceIntersectsResults.js @@ -14,6 +14,7 @@ const b = foo('a', 'b'); // also clean const c = bar('a', 'b'); // still clean //// [keyofInferenceIntersectsResults.js] +"use strict"; var a = foo('a', 'b'); // compiles cleanly var b = foo('a', 'b'); // also clean var c = bar('a', 'b'); // still clean diff --git a/tests/baselines/reference/keyofInferenceLowerPriorityThanReturn.js b/tests/baselines/reference/keyofInferenceLowerPriorityThanReturn.js index c90bfca02d505..1960fc3d72044 100644 --- a/tests/baselines/reference/keyofInferenceLowerPriorityThanReturn.js +++ b/tests/baselines/reference/keyofInferenceLowerPriorityThanReturn.js @@ -50,6 +50,7 @@ function f() { //// [keyofInferenceLowerPriorityThanReturn.js] +"use strict"; var bookTable = null; function insertOnConflictDoNothing(_table, _conflictTarget) { throw new Error(); diff --git a/tests/baselines/reference/keyofIsLiteralContexualType.js b/tests/baselines/reference/keyofIsLiteralContexualType.js index 1f772744685bd..e1bdf9b39d874 100644 --- a/tests/baselines/reference/keyofIsLiteralContexualType.js +++ b/tests/baselines/reference/keyofIsLiteralContexualType.js @@ -16,6 +16,7 @@ let x = pick({ a: 10, b: 20, c: 30 }, ["a", "c"]); let b = x.b; // Error //// [keyofIsLiteralContexualType.js] +"use strict"; // keyof T is a literal contextual type function foo() { var a = ["a", "b"]; diff --git a/tests/baselines/reference/keywordExpressionInternalComments.js b/tests/baselines/reference/keywordExpressionInternalComments.js index 88c1f985fdabd..4a97ea2fff0af 100644 --- a/tests/baselines/reference/keywordExpressionInternalComments.js +++ b/tests/baselines/reference/keywordExpressionInternalComments.js @@ -8,6 +8,7 @@ //// [keywordExpressionInternalComments.js] +"use strict"; /*1*/ new /*2*/ Array /*3*/; /*1*/ typeof /*2*/ Array /*3*/; /*1*/ void /*2*/ Array /*3*/; diff --git a/tests/baselines/reference/keywordField.js b/tests/baselines/reference/keywordField.js index 59253b59454ba..ce01009472815 100644 --- a/tests/baselines/reference/keywordField.js +++ b/tests/baselines/reference/keywordField.js @@ -13,6 +13,7 @@ var q = a["if"]; //// [keywordField.js] +"use strict"; var obj = {}; obj.if = 1; var a = { if: "test" }; diff --git a/tests/baselines/reference/keywordInJsxIdentifier.js b/tests/baselines/reference/keywordInJsxIdentifier.js index 6f7c1ccc00c44..5c6ef74bf6f1e 100644 --- a/tests/baselines/reference/keywordInJsxIdentifier.js +++ b/tests/baselines/reference/keywordInJsxIdentifier.js @@ -9,6 +9,7 @@ declare var React: any; //// [keywordInJsxIdentifier.js] +"use strict"; React.createElement("foo", { "class-id": true }); React.createElement("foo", { class: true }); React.createElement("foo", { "class-id": "1" }); diff --git a/tests/baselines/reference/knockout.js b/tests/baselines/reference/knockout.js index b52e62b708968..307c924026c51 100644 --- a/tests/baselines/reference/knockout.js +++ b/tests/baselines/reference/knockout.js @@ -25,6 +25,7 @@ //// [knockout.js] +"use strict"; var o = { name: ko.observable("Bob"), age: ko.observable(37) diff --git a/tests/baselines/reference/labeledStatementWithLabel.js b/tests/baselines/reference/labeledStatementWithLabel.js index f30c0a38f7860..8705aa7f91aae 100644 --- a/tests/baselines/reference/labeledStatementWithLabel.js +++ b/tests/baselines/reference/labeledStatementWithLabel.js @@ -17,6 +17,7 @@ label: type T = {} //// [labeledStatementWithLabel.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/labeledStatementWithLabel_es2015.errors.txt b/tests/baselines/reference/labeledStatementWithLabel_es2015.errors.txt index 7b0207d9a76b7..c332284ea0ce4 100644 --- a/tests/baselines/reference/labeledStatementWithLabel_es2015.errors.txt +++ b/tests/baselines/reference/labeledStatementWithLabel_es2015.errors.txt @@ -1,23 +1,59 @@ +labeledStatementWithLabel_es2015.ts(1,1): error TS1344: 'A label is not allowed here. +labeledStatementWithLabel_es2015.ts(2,1): error TS1344: 'A label is not allowed here. +labeledStatementWithLabel_es2015.ts(3,1): error TS1344: 'A label is not allowed here. +labeledStatementWithLabel_es2015.ts(4,1): error TS1344: 'A label is not allowed here. +labeledStatementWithLabel_es2015.ts(5,1): error TS1344: 'A label is not allowed here. +labeledStatementWithLabel_es2015.ts(6,1): error TS1344: 'A label is not allowed here. +labeledStatementWithLabel_es2015.ts(7,1): error TS1344: 'A label is not allowed here. +labeledStatementWithLabel_es2015.ts(8,1): error TS1344: 'A label is not allowed here. +labeledStatementWithLabel_es2015.ts(9,1): error TS1344: 'A label is not allowed here. +labeledStatementWithLabel_es2015.ts(11,1): error TS1344: 'A label is not allowed here. labeledStatementWithLabel_es2015.ts(11,8): error TS1235: A namespace declaration is only allowed at the top level of a namespace or module. +labeledStatementWithLabel_es2015.ts(12,1): error TS1344: 'A label is not allowed here. labeledStatementWithLabel_es2015.ts(12,8): error TS1235: A namespace declaration is only allowed at the top level of a namespace or module. +labeledStatementWithLabel_es2015.ts(13,1): error TS1344: 'A label is not allowed here. -==== labeledStatementWithLabel_es2015.ts (2 errors) ==== +==== labeledStatementWithLabel_es2015.ts (14 errors) ==== label: function fn() { } + ~~~~~ +!!! error TS1344: 'A label is not allowed here. label: function* gen() { } + ~~~~~ +!!! error TS1344: 'A label is not allowed here. label: async function gen1() { } + ~~~~~ +!!! error TS1344: 'A label is not allowed here. label: enum E {} + ~~~~~ +!!! error TS1344: 'A label is not allowed here. label: interface I {} + ~~~~~ +!!! error TS1344: 'A label is not allowed here. label: class C { } + ~~~~~ +!!! error TS1344: 'A label is not allowed here. label: var a = 1; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. label: let b = 1; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. label: const c = 1; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. label: namespace M { } + ~~~~~ +!!! error TS1344: 'A label is not allowed here. ~~~~~~~~~ !!! error TS1235: A namespace declaration is only allowed at the top level of a namespace or module. label: namespace N {} + ~~~~~ +!!! error TS1344: 'A label is not allowed here. ~~~~~~~~~ !!! error TS1235: A namespace declaration is only allowed at the top level of a namespace or module. label: type T = {} + ~~~~~ +!!! error TS1344: 'A label is not allowed here. \ No newline at end of file diff --git a/tests/baselines/reference/labeledStatementWithLabel_es2015.js b/tests/baselines/reference/labeledStatementWithLabel_es2015.js index c8491811c955b..d2c9a9fa26e04 100644 --- a/tests/baselines/reference/labeledStatementWithLabel_es2015.js +++ b/tests/baselines/reference/labeledStatementWithLabel_es2015.js @@ -17,6 +17,7 @@ label: type T = {} //// [labeledStatementWithLabel_es2015.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/lambdaASIEmit.js b/tests/baselines/reference/lambdaASIEmit.js index 5ebf912a63cec..567270995c95c 100644 --- a/tests/baselines/reference/lambdaASIEmit.js +++ b/tests/baselines/reference/lambdaASIEmit.js @@ -11,6 +11,7 @@ Foo(() => //// [lambdaASIEmit.js] +"use strict"; function Foo(x) { } Foo(function () { diff --git a/tests/baselines/reference/lambdaArgCrash.js b/tests/baselines/reference/lambdaArgCrash.js index ed8057854bd2a..30b945f6072c5 100644 --- a/tests/baselines/reference/lambdaArgCrash.js +++ b/tests/baselines/reference/lambdaArgCrash.js @@ -37,6 +37,7 @@ class ItemSetEvent extends Event { //// [lambdaArgCrash.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/lambdaExpression.js b/tests/baselines/reference/lambdaExpression.js index 04963f9d81e08..effcf9d08704b 100644 --- a/tests/baselines/reference/lambdaExpression.js +++ b/tests/baselines/reference/lambdaExpression.js @@ -8,6 +8,7 @@ var x = 0; //// [lambdaExpression.js] +"use strict"; (function () { return 0; }); // Needs to be wrapped in parens to be a valid expression (not declaration) var y = 0; (function () { return 0; }); diff --git a/tests/baselines/reference/lambdaParamTypes.js b/tests/baselines/reference/lambdaParamTypes.js index 03601b7fd5683..b0f85c9eb9faa 100644 --- a/tests/baselines/reference/lambdaParamTypes.js +++ b/tests/baselines/reference/lambdaParamTypes.js @@ -26,6 +26,7 @@ thing.doSomething((x, y) => y.name.toExponential(0)); //// [lambdaParamTypes.js] +"use strict"; var thing = create([{ name: "bob", id: 24 }, { name: "doug", id: 32 }]); // Below should all be OK thing.doSomething(function (x, y) { return x.name.charAt(0); }); // x.name should be string, so should be OK diff --git a/tests/baselines/reference/lambdaPropSelf.js b/tests/baselines/reference/lambdaPropSelf.js index 9651550f175d5..3618aa4b37bef 100644 --- a/tests/baselines/reference/lambdaPropSelf.js +++ b/tests/baselines/reference/lambdaPropSelf.js @@ -26,6 +26,7 @@ namespace M { //// [lambdaPropSelf.js] +"use strict"; var Person = /** @class */ (function () { function Person(name, children) { var _this = this; diff --git a/tests/baselines/reference/lastPropertyInLiteralWins.js b/tests/baselines/reference/lastPropertyInLiteralWins.js index 06dee772ba8f3..89ad72eb45c11 100644 --- a/tests/baselines/reference/lastPropertyInLiteralWins.js +++ b/tests/baselines/reference/lastPropertyInLiteralWins.js @@ -19,6 +19,7 @@ test({ // Should be OK. Last 'thunk' is of correct type //// [lastPropertyInLiteralWins.js] +"use strict"; function test(thing) { thing.thunk("str"); } diff --git a/tests/baselines/reference/lateBoundDestructuringImplicitAnyError.js b/tests/baselines/reference/lateBoundDestructuringImplicitAnyError.js index 6a23b91f3a8e3..51f5bc8366c1b 100644 --- a/tests/baselines/reference/lateBoundDestructuringImplicitAnyError.js +++ b/tests/baselines/reference/lateBoundDestructuringImplicitAnyError.js @@ -31,6 +31,7 @@ let {[symed2]: prop9} = strIndexed; void prop9; //// [lateBoundDestructuringImplicitAnyError.js] +"use strict"; var named = "foo"; var _a = { prop: "foo" }, _b = named, prop = _a[_b]; void prop; diff --git a/tests/baselines/reference/legacyDecorators-contextualTypes.js b/tests/baselines/reference/legacyDecorators-contextualTypes.js index da2bf590cfe4a..ad2cc155126fa 100644 --- a/tests/baselines/reference/legacyDecorators-contextualTypes.js +++ b/tests/baselines/reference/legacyDecorators-contextualTypes.js @@ -36,6 +36,7 @@ class C { } //// [legacyDecorators-contextualTypes.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/letAndVarRedeclaration.errors.txt b/tests/baselines/reference/letAndVarRedeclaration.errors.txt index 3cc27b6dab8d2..6465cc652d631 100644 --- a/tests/baselines/reference/letAndVarRedeclaration.errors.txt +++ b/tests/baselines/reference/letAndVarRedeclaration.errors.txt @@ -6,13 +6,11 @@ letAndVarRedeclaration.ts(7,9): error TS2300: Duplicate identifier 'x1'. letAndVarRedeclaration.ts(8,14): error TS2300: Duplicate identifier 'x1'. letAndVarRedeclaration.ts(12,9): error TS2451: Cannot redeclare block-scoped variable 'x'. letAndVarRedeclaration.ts(14,13): error TS2451: Cannot redeclare block-scoped variable 'x'. -letAndVarRedeclaration.ts(17,18): error TS2451: Cannot redeclare block-scoped variable 'x'. letAndVarRedeclaration.ts(22,9): error TS2300: Duplicate identifier 'x2'. letAndVarRedeclaration.ts(23,9): error TS2300: Duplicate identifier 'x2'. letAndVarRedeclaration.ts(24,14): error TS2300: Duplicate identifier 'x2'. letAndVarRedeclaration.ts(28,9): error TS2451: Cannot redeclare block-scoped variable 'x2'. letAndVarRedeclaration.ts(30,13): error TS2451: Cannot redeclare block-scoped variable 'x2'. -letAndVarRedeclaration.ts(33,18): error TS2451: Cannot redeclare block-scoped variable 'x2'. letAndVarRedeclaration.ts(37,5): error TS2451: Cannot redeclare block-scoped variable 'x11'. letAndVarRedeclaration.ts(38,10): error TS2451: Cannot redeclare block-scoped variable 'x11'. letAndVarRedeclaration.ts(42,9): error TS2451: Cannot redeclare block-scoped variable 'x11'. @@ -21,7 +19,7 @@ letAndVarRedeclaration.ts(48,9): error TS2451: Cannot redeclare block-scoped var letAndVarRedeclaration.ts(49,14): error TS2451: Cannot redeclare block-scoped variable 'x11'. -==== letAndVarRedeclaration.ts (21 errors) ==== +==== letAndVarRedeclaration.ts (19 errors) ==== let e0 ~~ !!! error TS2300: Duplicate identifier 'e0'. @@ -55,8 +53,6 @@ letAndVarRedeclaration.ts(49,14): error TS2451: Cannot redeclare block-scoped va } { function x() { } - ~ -!!! error TS2451: Cannot redeclare block-scoped variable 'x'. } } @@ -83,8 +79,6 @@ letAndVarRedeclaration.ts(49,14): error TS2451: Cannot redeclare block-scoped va } { function x2() { } - ~~ -!!! error TS2451: Cannot redeclare block-scoped variable 'x2'. } } diff --git a/tests/baselines/reference/letAndVarRedeclaration.js b/tests/baselines/reference/letAndVarRedeclaration.js index c41dbd1b70353..2a8240fc5818a 100644 --- a/tests/baselines/reference/letAndVarRedeclaration.js +++ b/tests/baselines/reference/letAndVarRedeclaration.js @@ -54,6 +54,7 @@ namespace M2 { } //// [letAndVarRedeclaration.js] +"use strict"; let e0; var e0; function e0() { } diff --git a/tests/baselines/reference/letAsIdentifier.errors.txt b/tests/baselines/reference/letAsIdentifier.errors.txt index f5fe550997581..e34f634d5e3ce 100644 --- a/tests/baselines/reference/letAsIdentifier.errors.txt +++ b/tests/baselines/reference/letAsIdentifier.errors.txt @@ -1,13 +1,19 @@ +letAsIdentifier.ts(1,5): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letAsIdentifier.ts(2,5): error TS2300: Duplicate identifier 'a'. +letAsIdentifier.ts(3,1): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letAsIdentifier.ts(5,1): error TS2300: Duplicate identifier 'a'. -==== letAsIdentifier.ts (2 errors) ==== +==== letAsIdentifier.ts (4 errors) ==== var let = 10; + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. var a = 10; ~ !!! error TS2300: Duplicate identifier 'a'. let = 30; + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. let a; ~ diff --git a/tests/baselines/reference/letAsIdentifier.js b/tests/baselines/reference/letAsIdentifier.js index 177401a0310d6..cbf058592b832 100644 --- a/tests/baselines/reference/letAsIdentifier.js +++ b/tests/baselines/reference/letAsIdentifier.js @@ -8,6 +8,7 @@ let a; //// [letAsIdentifier.js] +"use strict"; var let = 10; var a = 10; let = 30; diff --git a/tests/baselines/reference/letAsIdentifier2.errors.txt b/tests/baselines/reference/letAsIdentifier2.errors.txt new file mode 100644 index 0000000000000..84bc1ea4938d5 --- /dev/null +++ b/tests/baselines/reference/letAsIdentifier2.errors.txt @@ -0,0 +1,7 @@ +letAsIdentifier2.ts(1,10): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + + +==== letAsIdentifier2.ts (1 errors) ==== + function let() {} + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. \ No newline at end of file diff --git a/tests/baselines/reference/letAsIdentifier2.js b/tests/baselines/reference/letAsIdentifier2.js index 4c965a35ae543..20365a3709050 100644 --- a/tests/baselines/reference/letAsIdentifier2.js +++ b/tests/baselines/reference/letAsIdentifier2.js @@ -4,4 +4,5 @@ function let() {} //// [letAsIdentifier2.js] +"use strict"; function let() { } diff --git a/tests/baselines/reference/letConstInCaseClauses.js b/tests/baselines/reference/letConstInCaseClauses.js index 35db7f33f8bff..4fd3c6829d0af 100644 --- a/tests/baselines/reference/letConstInCaseClauses.js +++ b/tests/baselines/reference/letConstInCaseClauses.js @@ -32,6 +32,7 @@ var y = 20; } //// [letConstInCaseClauses.js] +"use strict"; var x = 10; var y = 20; { diff --git a/tests/baselines/reference/letConstMatchingParameterNames.js b/tests/baselines/reference/letConstMatchingParameterNames.js index 4ba24b634bafe..d2f579ee32be5 100644 --- a/tests/baselines/reference/letConstMatchingParameterNames.js +++ b/tests/baselines/reference/letConstMatchingParameterNames.js @@ -18,6 +18,7 @@ function a() { //// [letConstMatchingParameterNames.js] +"use strict"; var parent = true; var parent2 = true; function a() { diff --git a/tests/baselines/reference/letDeclarations-access.js b/tests/baselines/reference/letDeclarations-access.js index 1a00d6c6c4663..7e0f41cdf0f8d 100644 --- a/tests/baselines/reference/letDeclarations-access.js +++ b/tests/baselines/reference/letDeclarations-access.js @@ -40,6 +40,7 @@ x.toString(); //// [letDeclarations-access.js] +"use strict"; let x = 0; // No errors x = 1; diff --git a/tests/baselines/reference/letDeclarations-es5-1.js b/tests/baselines/reference/letDeclarations-es5-1.js index eee7c9fdc6908..6db202342a44f 100644 --- a/tests/baselines/reference/letDeclarations-es5-1.js +++ b/tests/baselines/reference/letDeclarations-es5-1.js @@ -9,6 +9,7 @@ let l9 = 0, l10 :string = "", l11 = null; //// [letDeclarations-es5-1.js] +"use strict"; var l1; var l2; var l3, l4, l5, l6; diff --git a/tests/baselines/reference/letDeclarations-es5.js b/tests/baselines/reference/letDeclarations-es5.js index f03110eebe3d2..c7b807a9c4dd8 100644 --- a/tests/baselines/reference/letDeclarations-es5.js +++ b/tests/baselines/reference/letDeclarations-es5.js @@ -15,6 +15,7 @@ for(let l12 = 0; l12 < 9; l12++) { } //// [letDeclarations-es5.js] +"use strict"; var l1; var l2; var l3, l4, l5, l6; diff --git a/tests/baselines/reference/letDeclarations-invalidContexts.errors.txt b/tests/baselines/reference/letDeclarations-invalidContexts.errors.txt index 645962e02e130..4f913ff135ec0 100644 --- a/tests/baselines/reference/letDeclarations-invalidContexts.errors.txt +++ b/tests/baselines/reference/letDeclarations-invalidContexts.errors.txt @@ -2,14 +2,17 @@ letDeclarations-invalidContexts.ts(3,5): error TS1156: 'let' declarations can on letDeclarations-invalidContexts.ts(5,5): error TS1156: 'let' declarations can only be declared inside a block. letDeclarations-invalidContexts.ts(8,5): error TS1156: 'let' declarations can only be declared inside a block. letDeclarations-invalidContexts.ts(11,5): error TS1156: 'let' declarations can only be declared inside a block. +letDeclarations-invalidContexts.ts(15,1): error TS1101: 'with' statements are not allowed in strict mode. letDeclarations-invalidContexts.ts(15,1): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. letDeclarations-invalidContexts.ts(19,5): error TS1156: 'let' declarations can only be declared inside a block. letDeclarations-invalidContexts.ts(22,5): error TS1156: 'let' declarations can only be declared inside a block. +letDeclarations-invalidContexts.ts(25,5): error TS1344: 'A label is not allowed here. letDeclarations-invalidContexts.ts(25,12): error TS1156: 'let' declarations can only be declared inside a block. +letDeclarations-invalidContexts.ts(28,21): error TS1344: 'A label is not allowed here. letDeclarations-invalidContexts.ts(28,29): error TS1156: 'let' declarations can only be declared inside a block. -==== letDeclarations-invalidContexts.ts (9 errors) ==== +==== letDeclarations-invalidContexts.ts (12 errors) ==== // Errors, let must be defined inside a block if (true) let l1 = 0; @@ -33,6 +36,8 @@ letDeclarations-invalidContexts.ts(28,29): error TS1156: 'let' declarations can var obj; with (obj) + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. let l5 = 0; @@ -49,11 +54,15 @@ letDeclarations-invalidContexts.ts(28,29): error TS1156: 'let' declarations can if (true) label: let l8 = 0; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. ~~~~~~~~~~~ !!! error TS1156: 'let' declarations can only be declared inside a block. while (false) label2: label3: label4: let l9 = 0; + ~~~~~~ +!!! error TS1344: 'A label is not allowed here. ~~~~~~~~~~~ !!! error TS1156: 'let' declarations can only be declared inside a block. diff --git a/tests/baselines/reference/letDeclarations-invalidContexts.js b/tests/baselines/reference/letDeclarations-invalidContexts.js index 75b3bb97c4fa0..87c2225e59b79 100644 --- a/tests/baselines/reference/letDeclarations-invalidContexts.js +++ b/tests/baselines/reference/letDeclarations-invalidContexts.js @@ -35,6 +35,7 @@ while (false) //// [letDeclarations-invalidContexts.js] +"use strict"; // Errors, let must be defined inside a block if (true) let l1 = 0; diff --git a/tests/baselines/reference/letDeclarations-scopes-duplicates.js b/tests/baselines/reference/letDeclarations-scopes-duplicates.js index 1c5e4bc2ae13d..f486de98dc3db 100644 --- a/tests/baselines/reference/letDeclarations-scopes-duplicates.js +++ b/tests/baselines/reference/letDeclarations-scopes-duplicates.js @@ -79,6 +79,7 @@ function F() { //// [letDeclarations-scopes-duplicates.js] +"use strict"; // Errors: redeclaration let var1 = 0; let var1 = 0; // error diff --git a/tests/baselines/reference/letDeclarations-scopes-duplicates2.js b/tests/baselines/reference/letDeclarations-scopes-duplicates2.js index 0647b4ac12784..3f57509e81f2f 100644 --- a/tests/baselines/reference/letDeclarations-scopes-duplicates2.js +++ b/tests/baselines/reference/letDeclarations-scopes-duplicates2.js @@ -7,6 +7,8 @@ let var1 = 0; let var1 = 0; //// [file1.js] +"use strict"; let var1 = 0; //// [file2.js] +"use strict"; let var1 = 0; diff --git a/tests/baselines/reference/letDeclarations-scopes-duplicates3.js b/tests/baselines/reference/letDeclarations-scopes-duplicates3.js index ece7c74046299..7b52919caec9a 100644 --- a/tests/baselines/reference/letDeclarations-scopes-duplicates3.js +++ b/tests/baselines/reference/letDeclarations-scopes-duplicates3.js @@ -7,6 +7,8 @@ let var1 = 0; const var1 = 0; //// [file1.js] +"use strict"; let var1 = 0; //// [file2.js] +"use strict"; const var1 = 0; diff --git a/tests/baselines/reference/letDeclarations-scopes-duplicates4.js b/tests/baselines/reference/letDeclarations-scopes-duplicates4.js index 68d31e011d659..e05a74747ea9c 100644 --- a/tests/baselines/reference/letDeclarations-scopes-duplicates4.js +++ b/tests/baselines/reference/letDeclarations-scopes-duplicates4.js @@ -7,6 +7,8 @@ const var1 = 0; let var1 = 0; //// [file1.js] +"use strict"; const var1 = 0; //// [file2.js] +"use strict"; let var1 = 0; diff --git a/tests/baselines/reference/letDeclarations-scopes-duplicates5.js b/tests/baselines/reference/letDeclarations-scopes-duplicates5.js index 524a1f0e1164e..55de28d3b620a 100644 --- a/tests/baselines/reference/letDeclarations-scopes-duplicates5.js +++ b/tests/baselines/reference/letDeclarations-scopes-duplicates5.js @@ -7,6 +7,8 @@ const var1 = 0; const var1 = 0; //// [file1.js] +"use strict"; const var1 = 0; //// [file2.js] +"use strict"; const var1 = 0; diff --git a/tests/baselines/reference/letDeclarations-scopes-duplicates6.js b/tests/baselines/reference/letDeclarations-scopes-duplicates6.js index ba4aeed7d8af9..d9460eead9da1 100644 --- a/tests/baselines/reference/letDeclarations-scopes-duplicates6.js +++ b/tests/baselines/reference/letDeclarations-scopes-duplicates6.js @@ -7,6 +7,8 @@ var var1 = 0; let var1 = 0; //// [file1.js] +"use strict"; var var1 = 0; //// [file2.js] +"use strict"; let var1 = 0; diff --git a/tests/baselines/reference/letDeclarations-scopes-duplicates7.js b/tests/baselines/reference/letDeclarations-scopes-duplicates7.js index e11a51d31d896..498944f72d423 100644 --- a/tests/baselines/reference/letDeclarations-scopes-duplicates7.js +++ b/tests/baselines/reference/letDeclarations-scopes-duplicates7.js @@ -7,6 +7,8 @@ let var1 = 0; var var1 = 0; //// [file1.js] +"use strict"; let var1 = 0; //// [file2.js] +"use strict"; var var1 = 0; diff --git a/tests/baselines/reference/letDeclarations-scopes.errors.txt b/tests/baselines/reference/letDeclarations-scopes.errors.txt index 88220a8a4efad..fd14ca81b0909 100644 --- a/tests/baselines/reference/letDeclarations-scopes.errors.txt +++ b/tests/baselines/reference/letDeclarations-scopes.errors.txt @@ -1,7 +1,11 @@ +letDeclarations-scopes.ts(27,1): error TS1101: 'with' statements are not allowed in strict mode. letDeclarations-scopes.ts(27,1): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. +letDeclarations-scopes.ts(43,5): error TS1344: 'A label is not allowed here. +letDeclarations-scopes.ts(48,21): error TS1344: 'A label is not allowed here. +letDeclarations-scopes.ts(119,5): error TS1344: 'A label is not allowed here. -==== letDeclarations-scopes.ts (1 errors) ==== +==== letDeclarations-scopes.ts (5 errors) ==== // global let l = "string"; @@ -29,6 +33,8 @@ letDeclarations-scopes.ts(27,1): error TS2410: The 'with' statement is not suppo var obj; with (obj) { + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. let l = 0; @@ -47,11 +53,15 @@ letDeclarations-scopes.ts(27,1): error TS2410: The 'with' statement is not suppo if (true) { label: let l = 0; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. n = l; } while (false) { label2: label3: label4: let l = 0; + ~~~~~~ +!!! error TS1344: 'A label is not allowed here. n = l; } @@ -123,6 +133,8 @@ letDeclarations-scopes.ts(27,1): error TS2410: The 'with' statement is not suppo } lable: let l2 = 0; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. } // methods diff --git a/tests/baselines/reference/letDeclarations-scopes.js b/tests/baselines/reference/letDeclarations-scopes.js index 88a7d557b2cc3..715da4dc5351f 100644 --- a/tests/baselines/reference/letDeclarations-scopes.js +++ b/tests/baselines/reference/letDeclarations-scopes.js @@ -159,6 +159,7 @@ var o = { } //// [letDeclarations-scopes.js] +"use strict"; // global let l = "string"; var n; diff --git a/tests/baselines/reference/letDeclarations-scopes2.js b/tests/baselines/reference/letDeclarations-scopes2.js index 39ae36d71d024..4937bfe917a4a 100644 --- a/tests/baselines/reference/letDeclarations-scopes2.js +++ b/tests/baselines/reference/letDeclarations-scopes2.js @@ -29,6 +29,7 @@ local2; // Error //// [letDeclarations-scopes2.js] +"use strict"; let global = 0; { let local = 0; diff --git a/tests/baselines/reference/letDeclarations-useBeforeDefinition.js b/tests/baselines/reference/letDeclarations-useBeforeDefinition.js index f83a5ddac349c..62157db1d7b35 100644 --- a/tests/baselines/reference/letDeclarations-useBeforeDefinition.js +++ b/tests/baselines/reference/letDeclarations-useBeforeDefinition.js @@ -14,6 +14,7 @@ var v1; //// [letDeclarations-useBeforeDefinition.js] +"use strict"; { l1; let l1; diff --git a/tests/baselines/reference/letDeclarations-useBeforeDefinition2.js b/tests/baselines/reference/letDeclarations-useBeforeDefinition2.js index 33db2d5d059a5..1fe694490235b 100644 --- a/tests/baselines/reference/letDeclarations-useBeforeDefinition2.js +++ b/tests/baselines/reference/letDeclarations-useBeforeDefinition2.js @@ -8,5 +8,6 @@ const l = 0; //// [out.js] +"use strict"; l; const l = 0; diff --git a/tests/baselines/reference/letDeclarations-validContexts.errors.txt b/tests/baselines/reference/letDeclarations-validContexts.errors.txt index cfe1d3d189d66..3c3aa84e21e35 100644 --- a/tests/baselines/reference/letDeclarations-validContexts.errors.txt +++ b/tests/baselines/reference/letDeclarations-validContexts.errors.txt @@ -1,7 +1,17 @@ +letDeclarations-validContexts.ts(18,1): error TS1101: 'with' statements are not allowed in strict mode. letDeclarations-validContexts.ts(18,1): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. +letDeclarations-validContexts.ts(31,5): error TS1344: 'A label is not allowed here. +letDeclarations-validContexts.ts(35,21): error TS1344: 'A label is not allowed here. +letDeclarations-validContexts.ts(64,9): error TS1344: 'A label is not allowed here. +letDeclarations-validContexts.ts(124,1): error TS1344: 'A label is not allowed here. +letDeclarations-validContexts.ts(126,5): error TS1344: 'A label is not allowed here. +letDeclarations-validContexts.ts(130,5): error TS1344: 'A label is not allowed here. +letDeclarations-validContexts.ts(132,9): error TS1344: 'A label is not allowed here. +letDeclarations-validContexts.ts(137,5): error TS1344: 'A label is not allowed here. +letDeclarations-validContexts.ts(139,9): error TS1344: 'A label is not allowed here. -==== letDeclarations-validContexts.ts (1 errors) ==== +==== letDeclarations-validContexts.ts (11 errors) ==== // Control flow statements with blocks if (true) { let l1 = 0; @@ -20,6 +30,8 @@ letDeclarations-validContexts.ts(18,1): error TS2410: The 'with' statement is no var obj; with (obj) { + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. let l5 = 0; @@ -35,10 +47,14 @@ letDeclarations-validContexts.ts(18,1): error TS2410: The 'with' statement is no if (true) { label: let l8 = 0; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. } while (false) { label2: label3: label4: let l9 = 0; + ~~~~~~ +!!! error TS1344: 'A label is not allowed here. } // Try/catch/finally @@ -68,6 +84,8 @@ letDeclarations-validContexts.ts(18,1): error TS2410: The 'with' statement is no { let l16 = 0 label17: let l17 = 0; + ~~~~~~~ +!!! error TS1344: 'A label is not allowed here. } } @@ -128,20 +146,32 @@ letDeclarations-validContexts.ts(18,1): error TS2410: The 'with' statement is no // labels label: let l30 = 0; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. { label2: let l31 = 0; + ~~~~~~ +!!! error TS1344: 'A label is not allowed here. } function f3() { label: let l32 = 0; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. { label2: let l33 = 0; + ~~~~~~ +!!! error TS1344: 'A label is not allowed here. } } namespace m3 { label: let l34 = 0; + ~~~~~ +!!! error TS1344: 'A label is not allowed here. { label2: let l35 = 0; + ~~~~~~ +!!! error TS1344: 'A label is not allowed here. } } \ No newline at end of file diff --git a/tests/baselines/reference/letDeclarations-validContexts.js b/tests/baselines/reference/letDeclarations-validContexts.js index e38d594b25718..19d677ca140f6 100644 --- a/tests/baselines/reference/letDeclarations-validContexts.js +++ b/tests/baselines/reference/letDeclarations-validContexts.js @@ -144,6 +144,7 @@ namespace m3 { } //// [letDeclarations-validContexts.js] +"use strict"; // Control flow statements with blocks if (true) { let l1 = 0; diff --git a/tests/baselines/reference/letDeclarations.js b/tests/baselines/reference/letDeclarations.js index 5a684fcb8d7b1..8e30e78175539 100644 --- a/tests/baselines/reference/letDeclarations.js +++ b/tests/baselines/reference/letDeclarations.js @@ -15,6 +15,7 @@ for(let l12 = 0; l12 < 9; l12++) { } //// [letDeclarations.js] +"use strict"; let l1; let l2; let l3, l4, l5, l6; diff --git a/tests/baselines/reference/letDeclarations2.js b/tests/baselines/reference/letDeclarations2.js index 32cadf409f1cb..50e21e8fb3237 100644 --- a/tests/baselines/reference/letDeclarations2.js +++ b/tests/baselines/reference/letDeclarations2.js @@ -7,6 +7,7 @@ namespace M { } //// [letDeclarations2.js] +"use strict"; var M; (function (M) { let l1 = "s"; diff --git a/tests/baselines/reference/letIdentifierInElementAccess01.errors.txt b/tests/baselines/reference/letIdentifierInElementAccess01.errors.txt new file mode 100644 index 0000000000000..ad5189793ed36 --- /dev/null +++ b/tests/baselines/reference/letIdentifierInElementAccess01.errors.txt @@ -0,0 +1,11 @@ +letIdentifierInElementAccess01.ts(1,5): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. +letIdentifierInElementAccess01.ts(2,2): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + + +==== letIdentifierInElementAccess01.ts (2 errors) ==== + var let: any = {}; + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + (let[0] = 100); + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. \ No newline at end of file diff --git a/tests/baselines/reference/letIdentifierInElementAccess01.js b/tests/baselines/reference/letIdentifierInElementAccess01.js index d83cde2f262b1..5c769fd49691f 100644 --- a/tests/baselines/reference/letIdentifierInElementAccess01.js +++ b/tests/baselines/reference/letIdentifierInElementAccess01.js @@ -5,5 +5,6 @@ var let: any = {}; (let[0] = 100); //// [letIdentifierInElementAccess01.js] +"use strict"; var let = {}; (let[0] = 100); diff --git a/tests/baselines/reference/letIdentifierInElementAccess01.types b/tests/baselines/reference/letIdentifierInElementAccess01.types index eaf69777d7509..8a19511352e77 100644 --- a/tests/baselines/reference/letIdentifierInElementAccess01.types +++ b/tests/baselines/reference/letIdentifierInElementAccess01.types @@ -3,6 +3,7 @@ === letIdentifierInElementAccess01.ts === var let: any = {}; >let : any +> : ^^^ >{} : {} > : ^^ @@ -12,7 +13,9 @@ var let: any = {}; >let[0] = 100 : 100 > : ^^^ >let[0] : any +> : ^^^ >let : any +> : ^^^ >0 : 0 > : ^ >100 : 100 diff --git a/tests/baselines/reference/letInConstDeclarations_ES5.errors.txt b/tests/baselines/reference/letInConstDeclarations_ES5.errors.txt index a0637a1b9d0ba..8382bccd97616 100644 --- a/tests/baselines/reference/letInConstDeclarations_ES5.errors.txt +++ b/tests/baselines/reference/letInConstDeclarations_ES5.errors.txt @@ -1,15 +1,21 @@ +letInConstDeclarations_ES5.ts(2,15): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInConstDeclarations_ES5.ts(2,15): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInConstDeclarations_ES5.ts(5,19): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInConstDeclarations_ES5.ts(5,19): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. -==== letInConstDeclarations_ES5.ts (2 errors) ==== +==== letInConstDeclarations_ES5.ts (4 errors) ==== // All use of let in const declaration should be an error const x = 50, let = 5; ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. { const x = 10, let = 20; ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. } \ No newline at end of file diff --git a/tests/baselines/reference/letInConstDeclarations_ES5.js b/tests/baselines/reference/letInConstDeclarations_ES5.js index 7d3d03739d20f..680a47b9bf873 100644 --- a/tests/baselines/reference/letInConstDeclarations_ES5.js +++ b/tests/baselines/reference/letInConstDeclarations_ES5.js @@ -9,6 +9,7 @@ const x = 50, let = 5; } //// [letInConstDeclarations_ES5.js] +"use strict"; // All use of let in const declaration should be an error var x = 50, let = 5; { diff --git a/tests/baselines/reference/letInConstDeclarations_ES6.errors.txt b/tests/baselines/reference/letInConstDeclarations_ES6.errors.txt index 3bd8501e1a610..71b556c64c238 100644 --- a/tests/baselines/reference/letInConstDeclarations_ES6.errors.txt +++ b/tests/baselines/reference/letInConstDeclarations_ES6.errors.txt @@ -1,15 +1,21 @@ +letInConstDeclarations_ES6.ts(2,15): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInConstDeclarations_ES6.ts(2,15): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInConstDeclarations_ES6.ts(5,19): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInConstDeclarations_ES6.ts(5,19): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. -==== letInConstDeclarations_ES6.ts (2 errors) ==== +==== letInConstDeclarations_ES6.ts (4 errors) ==== // All use of let in const declaration should be an error const x = 50, let = 5; ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. { const x = 10, let = 20; ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. } \ No newline at end of file diff --git a/tests/baselines/reference/letInConstDeclarations_ES6.js b/tests/baselines/reference/letInConstDeclarations_ES6.js index de7a573ba0da0..6d0aee66a8d24 100644 --- a/tests/baselines/reference/letInConstDeclarations_ES6.js +++ b/tests/baselines/reference/letInConstDeclarations_ES6.js @@ -9,6 +9,7 @@ const x = 50, let = 5; } //// [letInConstDeclarations_ES6.js] +"use strict"; // All use of let in const declaration should be an error const x = 50, let = 5; { diff --git a/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5.errors.txt b/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5.errors.txt index 0bb7d4e38b242..60ecd6d1afb00 100644 --- a/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5.errors.txt +++ b/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5.errors.txt @@ -1,46 +1,70 @@ +letInLetConstDeclOfForOfAndForIn_ES5.ts(2,10): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES5.ts(2,10): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES5.ts(4,12): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES5.ts(4,12): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES5.ts(6,10): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES5.ts(6,10): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES5.ts(8,12): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES5.ts(8,12): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES5.ts(11,11): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES5.ts(11,11): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES5.ts(13,13): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES5.ts(13,13): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES5.ts(15,11): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES5.ts(15,11): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES5.ts(17,13): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES5.ts(17,13): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. -==== letInLetConstDeclOfForOfAndForIn_ES5.ts (8 errors) ==== +==== letInLetConstDeclOfForOfAndForIn_ES5.ts (16 errors) ==== // Should be an error for (let let of [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (const let of [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (let let in [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (const let in [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. { for (let let of [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (const let of [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (let let in [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (const let in [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. } diff --git a/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5.js b/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5.js index 7f10ebdc8edd1..9fb0f42bc133c 100644 --- a/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5.js +++ b/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES5.js @@ -23,6 +23,7 @@ for (const let in [1,2,3]) {} //// [letInLetConstDeclOfForOfAndForIn_ES5.js] +"use strict"; // Should be an error for (var _i = 0, _a = [1, 2, 3]; _i < _a.length; _i++) { var let = _a[_i]; diff --git a/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES6.errors.txt b/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES6.errors.txt index f2118a7c694ae..607a6e71e7cf3 100644 --- a/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES6.errors.txt +++ b/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES6.errors.txt @@ -1,46 +1,70 @@ +letInLetConstDeclOfForOfAndForIn_ES6.ts(2,10): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES6.ts(2,10): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES6.ts(4,12): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES6.ts(4,12): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES6.ts(6,10): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES6.ts(6,10): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES6.ts(8,12): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES6.ts(8,12): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES6.ts(11,11): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES6.ts(11,11): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES6.ts(13,13): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES6.ts(13,13): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES6.ts(15,11): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES6.ts(15,11): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetConstDeclOfForOfAndForIn_ES6.ts(17,13): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetConstDeclOfForOfAndForIn_ES6.ts(17,13): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. -==== letInLetConstDeclOfForOfAndForIn_ES6.ts (8 errors) ==== +==== letInLetConstDeclOfForOfAndForIn_ES6.ts (16 errors) ==== // Should be an error for (let let of [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (const let of [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (let let in [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (const let in [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. { for (let let of [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (const let of [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (let let in [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. for (const let in [1,2,3]) {} ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. } diff --git a/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES6.js b/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES6.js index f9b94cf4a7f35..6d06c40ab6bcb 100644 --- a/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES6.js +++ b/tests/baselines/reference/letInLetConstDeclOfForOfAndForIn_ES6.js @@ -23,6 +23,7 @@ for (const let in [1,2,3]) {} //// [letInLetConstDeclOfForOfAndForIn_ES6.js] +"use strict"; // Should be an error for (let let of [1, 2, 3]) { } for (const let of [1, 2, 3]) { } diff --git a/tests/baselines/reference/letInLetDeclarations_ES5.errors.txt b/tests/baselines/reference/letInLetDeclarations_ES5.errors.txt index 72c96cb1ab856..8e7addcb2b729 100644 --- a/tests/baselines/reference/letInLetDeclarations_ES5.errors.txt +++ b/tests/baselines/reference/letInLetDeclarations_ES5.errors.txt @@ -1,15 +1,21 @@ +letInLetDeclarations_ES5.ts(2,13): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetDeclarations_ES5.ts(2,13): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetDeclarations_ES5.ts(5,17): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetDeclarations_ES5.ts(5,17): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. -==== letInLetDeclarations_ES5.ts (2 errors) ==== +==== letInLetDeclarations_ES5.ts (4 errors) ==== // All use of let in const declaration should be an error let x = 50, let = 5; ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. { let x = 10, let = 20; ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. } \ No newline at end of file diff --git a/tests/baselines/reference/letInLetDeclarations_ES5.js b/tests/baselines/reference/letInLetDeclarations_ES5.js index 38974c2907105..ab43c2427c5da 100644 --- a/tests/baselines/reference/letInLetDeclarations_ES5.js +++ b/tests/baselines/reference/letInLetDeclarations_ES5.js @@ -9,6 +9,7 @@ let x = 50, let = 5; } //// [letInLetDeclarations_ES5.js] +"use strict"; // All use of let in const declaration should be an error var x = 50, let = 5; { diff --git a/tests/baselines/reference/letInLetDeclarations_ES6.errors.txt b/tests/baselines/reference/letInLetDeclarations_ES6.errors.txt index e12b77e2bd1da..279674d37c763 100644 --- a/tests/baselines/reference/letInLetDeclarations_ES6.errors.txt +++ b/tests/baselines/reference/letInLetDeclarations_ES6.errors.txt @@ -1,15 +1,21 @@ +letInLetDeclarations_ES6.ts(2,13): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetDeclarations_ES6.ts(2,13): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. +letInLetDeclarations_ES6.ts(5,17): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. letInLetDeclarations_ES6.ts(5,17): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. -==== letInLetDeclarations_ES6.ts (2 errors) ==== +==== letInLetDeclarations_ES6.ts (4 errors) ==== // All use of let in const declaration should be an error let x = 50, let = 5; ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. { let x = 10, let = 20; ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. } \ No newline at end of file diff --git a/tests/baselines/reference/letInLetDeclarations_ES6.js b/tests/baselines/reference/letInLetDeclarations_ES6.js index f6eb716656485..0404182ae8d8a 100644 --- a/tests/baselines/reference/letInLetDeclarations_ES6.js +++ b/tests/baselines/reference/letInLetDeclarations_ES6.js @@ -9,6 +9,7 @@ let x = 50, let = 5; } //// [letInLetDeclarations_ES6.js] +"use strict"; // All use of let in const declaration should be an error let x = 50, let = 5; { diff --git a/tests/baselines/reference/letInNonStrictMode.js b/tests/baselines/reference/letInNonStrictMode.js index ddd2091122e37..5dfc2ed9d37af 100644 --- a/tests/baselines/reference/letInNonStrictMode.js +++ b/tests/baselines/reference/letInNonStrictMode.js @@ -5,5 +5,6 @@ let [x] = [1]; let {a: y} = {a: 1}; //// [letInNonStrictMode.js] +"use strict"; var x = [1][0]; var y = { a: 1 }.a; diff --git a/tests/baselines/reference/letInVarDeclOfForIn_ES5.errors.txt b/tests/baselines/reference/letInVarDeclOfForIn_ES5.errors.txt new file mode 100644 index 0000000000000..82c8fbaba35c8 --- /dev/null +++ b/tests/baselines/reference/letInVarDeclOfForIn_ES5.errors.txt @@ -0,0 +1,16 @@ +letInVarDeclOfForIn_ES5.ts(2,10): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. +letInVarDeclOfForIn_ES5.ts(5,11): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + + +==== letInVarDeclOfForIn_ES5.ts (2 errors) ==== + // should not be an error + for (var let in [1,2,3]) {} + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + + { + for (var let in [1,2,3]) {} + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + } + \ No newline at end of file diff --git a/tests/baselines/reference/letInVarDeclOfForIn_ES5.js b/tests/baselines/reference/letInVarDeclOfForIn_ES5.js index ae857c02b91ac..48120bcbc88d6 100644 --- a/tests/baselines/reference/letInVarDeclOfForIn_ES5.js +++ b/tests/baselines/reference/letInVarDeclOfForIn_ES5.js @@ -10,6 +10,7 @@ for (var let in [1,2,3]) {} //// [letInVarDeclOfForIn_ES5.js] +"use strict"; // should not be an error for (var let in [1, 2, 3]) { } { diff --git a/tests/baselines/reference/letInVarDeclOfForIn_ES6.errors.txt b/tests/baselines/reference/letInVarDeclOfForIn_ES6.errors.txt new file mode 100644 index 0000000000000..23b8312aa835d --- /dev/null +++ b/tests/baselines/reference/letInVarDeclOfForIn_ES6.errors.txt @@ -0,0 +1,16 @@ +letInVarDeclOfForIn_ES6.ts(2,10): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. +letInVarDeclOfForIn_ES6.ts(5,11): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + + +==== letInVarDeclOfForIn_ES6.ts (2 errors) ==== + // should not be an error + for (var let in [1,2,3]) {} + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + + { + for (var let in [1,2,3]) {} + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + } + \ No newline at end of file diff --git a/tests/baselines/reference/letInVarDeclOfForIn_ES6.js b/tests/baselines/reference/letInVarDeclOfForIn_ES6.js index 72ee2d6a3f7e0..cacfdb02f4152 100644 --- a/tests/baselines/reference/letInVarDeclOfForIn_ES6.js +++ b/tests/baselines/reference/letInVarDeclOfForIn_ES6.js @@ -10,6 +10,7 @@ for (var let in [1,2,3]) {} //// [letInVarDeclOfForIn_ES6.js] +"use strict"; // should not be an error for (var let in [1, 2, 3]) { } { diff --git a/tests/baselines/reference/letInVarDeclOfForOf_ES5.errors.txt b/tests/baselines/reference/letInVarDeclOfForOf_ES5.errors.txt new file mode 100644 index 0000000000000..f87781e649ea7 --- /dev/null +++ b/tests/baselines/reference/letInVarDeclOfForOf_ES5.errors.txt @@ -0,0 +1,16 @@ +letInVarDeclOfForOf_ES5.ts(2,10): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. +letInVarDeclOfForOf_ES5.ts(5,11): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + + +==== letInVarDeclOfForOf_ES5.ts (2 errors) ==== + // should not be an error + for (var let of [1,2,3]) {} + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + + { + for (var let of [1,2,3]) {} + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + } + \ No newline at end of file diff --git a/tests/baselines/reference/letInVarDeclOfForOf_ES5.js b/tests/baselines/reference/letInVarDeclOfForOf_ES5.js index e94b4c8189511..d77a846f066c4 100644 --- a/tests/baselines/reference/letInVarDeclOfForOf_ES5.js +++ b/tests/baselines/reference/letInVarDeclOfForOf_ES5.js @@ -10,6 +10,7 @@ for (var let of [1,2,3]) {} //// [letInVarDeclOfForOf_ES5.js] +"use strict"; // should not be an error for (var _i = 0, _a = [1, 2, 3]; _i < _a.length; _i++) { var let = _a[_i]; diff --git a/tests/baselines/reference/letInVarDeclOfForOf_ES6.errors.txt b/tests/baselines/reference/letInVarDeclOfForOf_ES6.errors.txt new file mode 100644 index 0000000000000..de8fb7a9b9781 --- /dev/null +++ b/tests/baselines/reference/letInVarDeclOfForOf_ES6.errors.txt @@ -0,0 +1,16 @@ +letInVarDeclOfForOf_ES6.ts(2,10): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. +letInVarDeclOfForOf_ES6.ts(5,11): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + + +==== letInVarDeclOfForOf_ES6.ts (2 errors) ==== + // should not be an error + for (var let of [1,2,3]) {} + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + + { + for (var let of [1,2,3]) {} + ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + } + \ No newline at end of file diff --git a/tests/baselines/reference/letInVarDeclOfForOf_ES6.js b/tests/baselines/reference/letInVarDeclOfForOf_ES6.js index 992e3dc2de2e6..2d8985d7fd6ad 100644 --- a/tests/baselines/reference/letInVarDeclOfForOf_ES6.js +++ b/tests/baselines/reference/letInVarDeclOfForOf_ES6.js @@ -10,6 +10,7 @@ for (var let of [1,2,3]) {} //// [letInVarDeclOfForOf_ES6.js] +"use strict"; // should not be an error for (var let of [1, 2, 3]) { } { diff --git a/tests/baselines/reference/letKeepNamesOfTopLevelItems.js b/tests/baselines/reference/letKeepNamesOfTopLevelItems.js index 37a45f930570b..9d680a73a00dc 100644 --- a/tests/baselines/reference/letKeepNamesOfTopLevelItems.js +++ b/tests/baselines/reference/letKeepNamesOfTopLevelItems.js @@ -11,6 +11,7 @@ namespace A { } //// [letKeepNamesOfTopLevelItems.js] +"use strict"; var x; function foo() { var x; diff --git a/tests/baselines/reference/letShadowedByNameInNestedScope.js b/tests/baselines/reference/letShadowedByNameInNestedScope.js index ffb2226d62388..c4a8e6c29f19f 100644 --- a/tests/baselines/reference/letShadowedByNameInNestedScope.js +++ b/tests/baselines/reference/letShadowedByNameInNestedScope.js @@ -11,6 +11,7 @@ function foo() { } //// [letShadowedByNameInNestedScope.js] +"use strict"; var x; function foo() { var x = 0; diff --git a/tests/baselines/reference/libCompileChecks.js b/tests/baselines/reference/libCompileChecks.js index a227a5db41f00..db6f5150df6f5 100644 --- a/tests/baselines/reference/libCompileChecks.js +++ b/tests/baselines/reference/libCompileChecks.js @@ -5,5 +5,6 @@ // as false everywhere. //// [libCompileChecks.js] +"use strict"; // This test is effectively the 'lib check' for all our .d.ts files because we use skipLibCheck // as false everywhere. diff --git a/tests/baselines/reference/libMembers.js b/tests/baselines/reference/libMembers.js index c3d8678a2d284..d308f0a24a91d 100644 --- a/tests/baselines/reference/libMembers.js +++ b/tests/baselines/reference/libMembers.js @@ -18,6 +18,7 @@ namespace M { //// [libMembers.js] +"use strict"; var s = "hello"; s.substring(0); s.substring(3, 4); diff --git a/tests/baselines/reference/libReferenceNoLib.js b/tests/baselines/reference/libReferenceNoLib.js index 864756bd26faf..7bd46cfa78186 100644 --- a/tests/baselines/reference/libReferenceNoLib.js +++ b/tests/baselines/reference/libReferenceNoLib.js @@ -18,6 +18,7 @@ export const elem: HTMLElement = { field: 'a' }; //// [fakelib.js] +"use strict"; //// [file1.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/libReferenceNoLibBundle.js b/tests/baselines/reference/libReferenceNoLibBundle.js index 2d80dad98a626..2981a866166d1 100644 --- a/tests/baselines/reference/libReferenceNoLibBundle.js +++ b/tests/baselines/reference/libReferenceNoLibBundle.js @@ -18,6 +18,7 @@ export const elem: HTMLElement = { field: 'a' }; //// [bundle.js] +"use strict"; define("file1", ["require", "exports"], function (require, exports) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/libTypeScriptOverrideSimple.js b/tests/baselines/reference/libTypeScriptOverrideSimple.js index 96cdcfb55a942..d69c3bbfd6f84 100644 --- a/tests/baselines/reference/libTypeScriptOverrideSimple.js +++ b/tests/baselines/reference/libTypeScriptOverrideSimple.js @@ -12,6 +12,7 @@ window.localStorage //// [index.js] +"use strict"; /// var a = { abc: "Hello" }; // This should fail because libdom has been replaced diff --git a/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.js b/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.js index acddbd3622e3a..d8c3901b9abc3 100644 --- a/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.js +++ b/tests/baselines/reference/libTypeScriptOverrideSimpleConfig.js @@ -12,6 +12,7 @@ window.localStorage //// [index.js] +"use strict"; /// var a = { abc: "Hello" }; // This should fail because libdom has been replaced diff --git a/tests/baselines/reference/libTypeScriptSubfileResolving.js b/tests/baselines/reference/libTypeScriptSubfileResolving.js index 3a546c2bcfaaf..094200aa9a0f0 100644 --- a/tests/baselines/reference/libTypeScriptSubfileResolving.js +++ b/tests/baselines/reference/libTypeScriptSubfileResolving.js @@ -14,6 +14,7 @@ window.localStorage //// [index.js] +"use strict"; /// var a = { abc: "Hello" }; // This should fail because libdom has been replaced diff --git a/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.js b/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.js index 6cbfd4c28be5d..006391b54b2a5 100644 --- a/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.js +++ b/tests/baselines/reference/libTypeScriptSubfileResolvingConfig.js @@ -14,6 +14,7 @@ window.localStorage //// [index.js] +"use strict"; /// var a = { abc: "Hello" }; // This should fail because libdom has been replaced diff --git a/tests/baselines/reference/libdtsFix.js b/tests/baselines/reference/libdtsFix.js index 20b978a2bfffd..944e705187a5a 100644 --- a/tests/baselines/reference/libdtsFix.js +++ b/tests/baselines/reference/libdtsFix.js @@ -7,3 +7,4 @@ interface HTMLElement { //// [libdtsFix.js] +"use strict"; diff --git a/tests/baselines/reference/library-reference-1.js b/tests/baselines/reference/library-reference-1.js index 8688c1efac340..fe3d5d7b0ecad 100644 --- a/tests/baselines/reference/library-reference-1.js +++ b/tests/baselines/reference/library-reference-1.js @@ -10,5 +10,6 @@ $.foo(); //// [consumer.js] +"use strict"; /// $.foo(); diff --git a/tests/baselines/reference/library-reference-10.js b/tests/baselines/reference/library-reference-10.js index bec97f1ca24b7..8cd1112620833 100644 --- a/tests/baselines/reference/library-reference-10.js +++ b/tests/baselines/reference/library-reference-10.js @@ -15,5 +15,6 @@ $.foo(); //// [consumer.js] +"use strict"; /// $.foo(); diff --git a/tests/baselines/reference/library-reference-11.js b/tests/baselines/reference/library-reference-11.js index 2184456b529bd..ec41c3af6c20b 100644 --- a/tests/baselines/reference/library-reference-11.js +++ b/tests/baselines/reference/library-reference-11.js @@ -15,5 +15,6 @@ $.foo(); //// [consumer.js] +"use strict"; /// $.foo(); diff --git a/tests/baselines/reference/library-reference-12.js b/tests/baselines/reference/library-reference-12.js index 76ef6cddad2b5..fa1eece132003 100644 --- a/tests/baselines/reference/library-reference-12.js +++ b/tests/baselines/reference/library-reference-12.js @@ -15,5 +15,6 @@ $.foo(); //// [consumer.js] +"use strict"; /// $.foo(); diff --git a/tests/baselines/reference/library-reference-13.js b/tests/baselines/reference/library-reference-13.js index be52aba1a39c7..df3228752eb70 100644 --- a/tests/baselines/reference/library-reference-13.js +++ b/tests/baselines/reference/library-reference-13.js @@ -9,4 +9,5 @@ $.foo(); //// [consumer.js] +"use strict"; $.foo(); diff --git a/tests/baselines/reference/library-reference-14.js b/tests/baselines/reference/library-reference-14.js index 03ac3fab8256d..41f04808e0afc 100644 --- a/tests/baselines/reference/library-reference-14.js +++ b/tests/baselines/reference/library-reference-14.js @@ -9,4 +9,5 @@ $.foo(); //// [consumer.js] +"use strict"; $.foo(); diff --git a/tests/baselines/reference/library-reference-15.js b/tests/baselines/reference/library-reference-15.js index bdbf0c9a1c21b..92c05b0410b26 100644 --- a/tests/baselines/reference/library-reference-15.js +++ b/tests/baselines/reference/library-reference-15.js @@ -11,5 +11,6 @@ $.foo(); // should OK $2.foo(); // should error //// [consumer.js] +"use strict"; $.foo(); // should OK $2.foo(); // should error diff --git a/tests/baselines/reference/library-reference-2.js b/tests/baselines/reference/library-reference-2.js index 8ccdd016e6409..bc6650555b90e 100644 --- a/tests/baselines/reference/library-reference-2.js +++ b/tests/baselines/reference/library-reference-2.js @@ -15,5 +15,6 @@ $.foo(); //// [consumer.js] +"use strict"; /// $.foo(); diff --git a/tests/baselines/reference/library-reference-3.js b/tests/baselines/reference/library-reference-3.js index bfee65a4a96bb..3b077947a55de 100644 --- a/tests/baselines/reference/library-reference-3.js +++ b/tests/baselines/reference/library-reference-3.js @@ -9,5 +9,6 @@ $.foo(); //// [consumer.js] +"use strict"; /// $.foo(); diff --git a/tests/baselines/reference/library-reference-4.js b/tests/baselines/reference/library-reference-4.js index 88aff2a689359..474a67fcc5e7b 100644 --- a/tests/baselines/reference/library-reference-4.js +++ b/tests/baselines/reference/library-reference-4.js @@ -20,5 +20,6 @@ declare var alpha: any; //// [root.js] +"use strict"; /// /// diff --git a/tests/baselines/reference/library-reference-5.js b/tests/baselines/reference/library-reference-5.js index 84ec3adabf0b6..6f5c2478d79d9 100644 --- a/tests/baselines/reference/library-reference-5.js +++ b/tests/baselines/reference/library-reference-5.js @@ -20,5 +20,6 @@ declare var alpha: {}; //// [root.js] +"use strict"; /// /// diff --git a/tests/baselines/reference/library-reference-6.js b/tests/baselines/reference/library-reference-6.js index fafbea78d3992..c39fd356fd210 100644 --- a/tests/baselines/reference/library-reference-6.js +++ b/tests/baselines/reference/library-reference-6.js @@ -9,5 +9,6 @@ var x: string = alpha.a; //// [foo.js] +"use strict"; /// var x = alpha.a; diff --git a/tests/baselines/reference/library-reference-7.js b/tests/baselines/reference/library-reference-7.js index d026a4594535e..49afec42b3891 100644 --- a/tests/baselines/reference/library-reference-7.js +++ b/tests/baselines/reference/library-reference-7.js @@ -9,5 +9,6 @@ $.foo(); //// [consumer.js] +"use strict"; /// $.foo(); diff --git a/tests/baselines/reference/library-reference-8.js b/tests/baselines/reference/library-reference-8.js index eec812780e6f6..3cbc9bace20f3 100644 --- a/tests/baselines/reference/library-reference-8.js +++ b/tests/baselines/reference/library-reference-8.js @@ -16,6 +16,7 @@ var x: string = alpha.a + beta.b; //// [foo.js] +"use strict"; /// /// var x = alpha.a + beta.b; diff --git a/tests/baselines/reference/library-reference-scoped-packages.js b/tests/baselines/reference/library-reference-scoped-packages.js index 3019008c16b7b..dbda2297d798b 100644 --- a/tests/baselines/reference/library-reference-scoped-packages.js +++ b/tests/baselines/reference/library-reference-scoped-packages.js @@ -8,4 +8,5 @@ export const y = 0; //// [a.js] +"use strict"; /// diff --git a/tests/baselines/reference/library_ArraySlice.js b/tests/baselines/reference/library_ArraySlice.js index 82d7a57fddf25..9501b6a8a7275 100644 --- a/tests/baselines/reference/library_ArraySlice.js +++ b/tests/baselines/reference/library_ArraySlice.js @@ -7,6 +7,7 @@ Array.prototype.slice(0); Array.prototype.slice(0, 1); //// [library_ArraySlice.js] +"use strict"; // Array.prototype.slice can have zero, one, or two arguments Array.prototype.slice(); Array.prototype.slice(0); diff --git a/tests/baselines/reference/library_DatePrototypeProperties.js b/tests/baselines/reference/library_DatePrototypeProperties.js index 412e858a06854..977ccb65c8b3c 100644 --- a/tests/baselines/reference/library_DatePrototypeProperties.js +++ b/tests/baselines/reference/library_DatePrototypeProperties.js @@ -52,6 +52,7 @@ Date.prototype.toISOString(); Date.prototype.toJSON(null); //// [library_DatePrototypeProperties.js] +"use strict"; // Properties of the Date prototype object as per ES5 spec // http://www.ecma-international.org/ecma-262/5.1/#sec-15.9.5 Date.prototype.constructor; diff --git a/tests/baselines/reference/library_ObjectPrototypeProperties.js b/tests/baselines/reference/library_ObjectPrototypeProperties.js index ca377a4e45a9f..b44c600c36a50 100644 --- a/tests/baselines/reference/library_ObjectPrototypeProperties.js +++ b/tests/baselines/reference/library_ObjectPrototypeProperties.js @@ -12,6 +12,7 @@ Object.prototype.isPrototypeOf(Object); Object.prototype.propertyIsEnumerable("string"); //// [library_ObjectPrototypeProperties.js] +"use strict"; // Properties of the Object Prototype Object as per ES5 spec // http://www.ecma-international.org/ecma-262/5.1/#sec-15.2.4 Object.prototype.constructor; diff --git a/tests/baselines/reference/library_RegExpExecArraySlice.js b/tests/baselines/reference/library_RegExpExecArraySlice.js index 2684862d9b2c3..c5d942c31e22e 100644 --- a/tests/baselines/reference/library_RegExpExecArraySlice.js +++ b/tests/baselines/reference/library_RegExpExecArraySlice.js @@ -8,6 +8,7 @@ regExpExecArrayValue.slice(0); regExpExecArrayValue.slice(0,1); //// [library_RegExpExecArraySlice.js] +"use strict"; // RegExpExecArray.slice can have zero, one, or two arguments var regExpExecArrayValue; regExpExecArrayValue.slice(); diff --git a/tests/baselines/reference/library_StringSlice.js b/tests/baselines/reference/library_StringSlice.js index 8ddc319130562..c365276ed0100 100644 --- a/tests/baselines/reference/library_StringSlice.js +++ b/tests/baselines/reference/library_StringSlice.js @@ -8,6 +8,7 @@ String.prototype.slice(0,1); //// [library_StringSlice.js] +"use strict"; // String.prototype.slice can have zero, one, or two arguments String.prototype.slice(); String.prototype.slice(0); diff --git a/tests/baselines/reference/lift.js b/tests/baselines/reference/lift.js index 5788497c92059..9d10e65a64e48 100644 --- a/tests/baselines/reference/lift.js +++ b/tests/baselines/reference/lift.js @@ -20,6 +20,7 @@ class C extends B { //// [lift.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/limitDeepInstantiations.js b/tests/baselines/reference/limitDeepInstantiations.js index a7e2af568710f..769a128d2d3b2 100644 --- a/tests/baselines/reference/limitDeepInstantiations.js +++ b/tests/baselines/reference/limitDeepInstantiations.js @@ -9,6 +9,7 @@ let f2: Foo<"false", {}>; //// [limitDeepInstantiations.js] +"use strict"; // Repro from #14837 var f1; var f2; diff --git a/tests/baselines/reference/linkTagEmit1.js b/tests/baselines/reference/linkTagEmit1.js index 9c847515badd2..b9524581f85b1 100644 --- a/tests/baselines/reference/linkTagEmit1.js +++ b/tests/baselines/reference/linkTagEmit1.js @@ -28,6 +28,7 @@ var see3 = true //// [linkTagEmit1.js] +"use strict"; /** @typedef {number} N */ /** * @typedef {Object} D1 diff --git a/tests/baselines/reference/listFailure.js b/tests/baselines/reference/listFailure.js index a66e2918a8345..f03f5a5b10bd6 100644 --- a/tests/baselines/reference/listFailure.js +++ b/tests/baselines/reference/listFailure.js @@ -44,6 +44,7 @@ namespace Editor { } //// [listFailure.js] +"use strict"; var Editor; (function (Editor) { var Buffer = /** @class */ (function () { diff --git a/tests/baselines/reference/literalFreshnessPropagationOnNarrowing.js b/tests/baselines/reference/literalFreshnessPropagationOnNarrowing.js index 518b1f90e08c5..6438d3e3569c3 100644 --- a/tests/baselines/reference/literalFreshnessPropagationOnNarrowing.js +++ b/tests/baselines/reference/literalFreshnessPropagationOnNarrowing.js @@ -64,6 +64,7 @@ function f5() { } //// [literalFreshnessPropagationOnNarrowing.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/literalIntersectionYieldsLiteral.js b/tests/baselines/reference/literalIntersectionYieldsLiteral.js index 554ef8bbb203a..819a2d574aa55 100644 --- a/tests/baselines/reference/literalIntersectionYieldsLiteral.js +++ b/tests/baselines/reference/literalIntersectionYieldsLiteral.js @@ -5,4 +5,5 @@ const x: { type: string } & { type: "string" } = { type: "string" }; //// [literalIntersectionYieldsLiteral.js] +"use strict"; var x = { type: "string" }; diff --git a/tests/baselines/reference/literalTypes1.js b/tests/baselines/reference/literalTypes1.js index b71b6e60ee35f..df751118c3fd1 100644 --- a/tests/baselines/reference/literalTypes1.js +++ b/tests/baselines/reference/literalTypes1.js @@ -91,6 +91,7 @@ function f5(x: string | number | boolean) { } //// [literalTypes1.js] +"use strict"; var zero = 0; var one = 1; var two = 2; diff --git a/tests/baselines/reference/literalTypes2.js b/tests/baselines/reference/literalTypes2.js index b0b2990c85beb..3acab40086a3f 100644 --- a/tests/baselines/reference/literalTypes2.js +++ b/tests/baselines/reference/literalTypes2.js @@ -182,6 +182,7 @@ aa = append(aa, 1); //// [literalTypes2.js] +"use strict"; var E; (function (E) { E[E["A"] = 0] = "A"; diff --git a/tests/baselines/reference/literalTypes3.js b/tests/baselines/reference/literalTypes3.js index e9321553f69be..ca006c07f3258 100644 --- a/tests/baselines/reference/literalTypes3.js +++ b/tests/baselines/reference/literalTypes3.js @@ -67,6 +67,7 @@ function f8(x: number | "foo" | "bar") { } //// [literalTypes3.js] +"use strict"; function f1(s) { if (s === "foo") { s; // "foo" diff --git a/tests/baselines/reference/literalTypesAndTypeAssertions.js b/tests/baselines/reference/literalTypesAndTypeAssertions.js index 504b5bb61d8b8..f4807e91d17df 100644 --- a/tests/baselines/reference/literalTypesAndTypeAssertions.js +++ b/tests/baselines/reference/literalTypesAndTypeAssertions.js @@ -17,6 +17,7 @@ let { d = "foo" as "foo" } = { d: "bar" as "bar" }; //// [literalTypesAndTypeAssertions.js] +"use strict"; var obj = { a: "foo", b: "foo", diff --git a/tests/baselines/reference/literalTypesWidenInParameterPosition.js b/tests/baselines/reference/literalTypesWidenInParameterPosition.js index 7671bbba4c819..a8a238e1f26ea 100644 --- a/tests/baselines/reference/literalTypesWidenInParameterPosition.js +++ b/tests/baselines/reference/literalTypesWidenInParameterPosition.js @@ -12,6 +12,7 @@ new D(7); // ok //// [literalTypesWidenInParameterPosition.js] +"use strict"; var D = /** @class */ (function () { function D(widen) { if (widen === void 0) { widen = 2; } diff --git a/tests/baselines/reference/literals-negative.js b/tests/baselines/reference/literals-negative.js index 02ba64b50bbed..44c6ef148a80e 100644 --- a/tests/baselines/reference/literals-negative.js +++ b/tests/baselines/reference/literals-negative.js @@ -14,6 +14,7 @@ if(null === isVoid()) { } //// [literals-negative.js] +"use strict"; // Type type of the null literal is the Null type. // Null can be converted to anything except Void var n = (null); diff --git a/tests/baselines/reference/literals.js b/tests/baselines/reference/literals.js index 51fe7cc82672b..9b0ec14e3f1bb 100644 --- a/tests/baselines/reference/literals.js +++ b/tests/baselines/reference/literals.js @@ -41,6 +41,7 @@ var r = /\\\\/; //// [literals.js] +"use strict"; //typeof null is Null //typeof true is Boolean //typeof false is Boolean diff --git a/tests/baselines/reference/literals1.js b/tests/baselines/reference/literals1.js index 03570fa12c845..5d3db3dcc11d1 100644 --- a/tests/baselines/reference/literals1.js +++ b/tests/baselines/reference/literals1.js @@ -20,6 +20,7 @@ var n = /\d+/g; var o = /[3-5]+/i; //// [literals1.js] +"use strict"; var a = 42; var b = 0xFA34; var c = 0.1715; diff --git a/tests/baselines/reference/literalsInComputedProperties1.js b/tests/baselines/reference/literalsInComputedProperties1.js index e8a1650793e9f..5ab9155d6719d 100644 --- a/tests/baselines/reference/literalsInComputedProperties1.js +++ b/tests/baselines/reference/literalsInComputedProperties1.js @@ -53,6 +53,7 @@ let a0 = X["bar"]; // TODO: make sure that enum still disallow template literals as member names //// [literalsInComputedProperties1.js] +"use strict"; var _a; var x = (_a = { 1: 1 diff --git a/tests/baselines/reference/localClassesInLoop.js b/tests/baselines/reference/localClassesInLoop.js index e055de8517a17..7b9d3f69f29c6 100644 --- a/tests/baselines/reference/localClassesInLoop.js +++ b/tests/baselines/reference/localClassesInLoop.js @@ -14,6 +14,7 @@ use(data[0]() === data[1]()); //// [localClassesInLoop.js] "use strict"; +"use strict"; var data = []; var _loop_1 = function (x) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/localClassesInLoop_ES6.js b/tests/baselines/reference/localClassesInLoop_ES6.js index c471ff1a6e216..a66a5e5f64a18 100644 --- a/tests/baselines/reference/localClassesInLoop_ES6.js +++ b/tests/baselines/reference/localClassesInLoop_ES6.js @@ -14,6 +14,7 @@ use(data[0]() === data[1]()); //// [localClassesInLoop_ES6.js] "use strict"; +"use strict"; var data = []; for (let x = 0; x < 2; ++x) { class C { diff --git a/tests/baselines/reference/localImportNameVsGlobalName.js b/tests/baselines/reference/localImportNameVsGlobalName.js index 699c069ee09ff..b4e54c4d2a1c3 100644 --- a/tests/baselines/reference/localImportNameVsGlobalName.js +++ b/tests/baselines/reference/localImportNameVsGlobalName.js @@ -16,6 +16,7 @@ namespace App { } //// [localImportNameVsGlobalName.js] +"use strict"; var Keyboard; (function (Keyboard) { var Key; diff --git a/tests/baselines/reference/localRequireFunction.js b/tests/baselines/reference/localRequireFunction.js index 25adbe4f27cc8..550d50a27c8e4 100644 --- a/tests/baselines/reference/localRequireFunction.js +++ b/tests/baselines/reference/localRequireFunction.js @@ -9,6 +9,7 @@ const fs = require("fs"); const text = fs.readFileSync("/a/b/c"); //// [app.js] +"use strict"; function require(a) { return a; } diff --git a/tests/baselines/reference/localTypes1.js b/tests/baselines/reference/localTypes1.js index f00ab93a9049e..720b1437a5620 100644 --- a/tests/baselines/reference/localTypes1.js +++ b/tests/baselines/reference/localTypes1.js @@ -143,6 +143,7 @@ function f6() { //// [localTypes1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/localTypes2.js b/tests/baselines/reference/localTypes2.js index 363e689aac02a..5186feb7cf3e4 100644 --- a/tests/baselines/reference/localTypes2.js +++ b/tests/baselines/reference/localTypes2.js @@ -44,6 +44,7 @@ function f3() { //// [localTypes2.js] +"use strict"; function f1() { function f() { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/localTypes3.js b/tests/baselines/reference/localTypes3.js index 0932732f58173..e53e58b41b57f 100644 --- a/tests/baselines/reference/localTypes3.js +++ b/tests/baselines/reference/localTypes3.js @@ -44,6 +44,7 @@ function f3() { //// [localTypes3.js] +"use strict"; function f1() { function f() { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/localTypes4.js b/tests/baselines/reference/localTypes4.js index 0b429a967effc..721d900a7fe27 100644 --- a/tests/baselines/reference/localTypes4.js +++ b/tests/baselines/reference/localTypes4.js @@ -41,6 +41,7 @@ function f4() { //// [localTypes4.js] +"use strict"; function f1() { // Type parameters are in scope in parameters and return types function f(x) { diff --git a/tests/baselines/reference/localTypes5.js b/tests/baselines/reference/localTypes5.js index 780b8efdba2d7..95c18456fdc12 100644 --- a/tests/baselines/reference/localTypes5.js +++ b/tests/baselines/reference/localTypes5.js @@ -18,6 +18,7 @@ var x = foo(); //// [localTypes5.js] +"use strict"; function foo() { var X = /** @class */ (function () { function X() { diff --git a/tests/baselines/reference/localVariablesReturnedFromCatchBlocks.js b/tests/baselines/reference/localVariablesReturnedFromCatchBlocks.js index 8b62adbe1a170..626fde8fc069e 100644 --- a/tests/baselines/reference/localVariablesReturnedFromCatchBlocks.js +++ b/tests/baselines/reference/localVariablesReturnedFromCatchBlocks.js @@ -10,6 +10,7 @@ function f() { } //// [localVariablesReturnedFromCatchBlocks.js] +"use strict"; function f() { try { } diff --git a/tests/baselines/reference/localesObjectArgument.js b/tests/baselines/reference/localesObjectArgument.js index 7bd08efad08a0..beeb383b30707 100644 --- a/tests/baselines/reference/localesObjectArgument.js +++ b/tests/baselines/reference/localesObjectArgument.js @@ -67,6 +67,7 @@ Intl.NumberFormat.supportedLocalesOf(readonlyLocales); //// [localesObjectArgument.js] +"use strict"; const enUS = new Intl.Locale("en-US"); const deDE = new Intl.Locale("de-DE"); const jaJP = new Intl.Locale("ja-JP"); diff --git a/tests/baselines/reference/logicalAndOperatorStrictMode.js b/tests/baselines/reference/logicalAndOperatorStrictMode.js index eda8077bc45c4..c9e0e64303be5 100644 --- a/tests/baselines/reference/logicalAndOperatorStrictMode.js +++ b/tests/baselines/reference/logicalAndOperatorStrictMode.js @@ -83,6 +83,7 @@ const z7 = z && n; const z8 = z && z; //// [logicalAndOperatorStrictMode.js] +"use strict"; var a = [0]; var s = ""; var x = 0; diff --git a/tests/baselines/reference/logicalAndOperatorWithEveryType.js b/tests/baselines/reference/logicalAndOperatorWithEveryType.js index 6ad32731b4b56..2836489bef659 100644 --- a/tests/baselines/reference/logicalAndOperatorWithEveryType.js +++ b/tests/baselines/reference/logicalAndOperatorWithEveryType.js @@ -126,6 +126,7 @@ var rj9 = null && undefined; var rj10 = undefined && undefined; //// [logicalAndOperatorWithEveryType.js] +"use strict"; // The && operator permits the operands to be of any type and produces a result of the same // type as the second operand. var E; diff --git a/tests/baselines/reference/logicalAndOperatorWithTypeParameters.js b/tests/baselines/reference/logicalAndOperatorWithTypeParameters.js index 6f2563ae96f51..b17e00957b31b 100644 --- a/tests/baselines/reference/logicalAndOperatorWithTypeParameters.js +++ b/tests/baselines/reference/logicalAndOperatorWithTypeParameters.js @@ -22,6 +22,7 @@ function foo(t: T, u: U, v: V) { } //// [logicalAndOperatorWithTypeParameters.js] +"use strict"; // The && operator permits the operands to be of any type and produces a result of the same // type as the second operand. function foo(t, u, v) { diff --git a/tests/baselines/reference/logicalAssignment10(target=es2015).js b/tests/baselines/reference/logicalAssignment10(target=es2015).js index a09d15a89e145..7348006ea6264 100644 --- a/tests/baselines/reference/logicalAssignment10(target=es2015).js +++ b/tests/baselines/reference/logicalAssignment10(target=es2015).js @@ -16,6 +16,7 @@ oobj["obj"][incr()] ??= incr(); //// [logicalAssignment10.js] +"use strict"; var _a, _b; var _c, _d, _e; var count = 0; diff --git a/tests/baselines/reference/logicalAssignment10(target=es2020).js b/tests/baselines/reference/logicalAssignment10(target=es2020).js index e28dd7c88a054..e5d3f71d487d8 100644 --- a/tests/baselines/reference/logicalAssignment10(target=es2020).js +++ b/tests/baselines/reference/logicalAssignment10(target=es2020).js @@ -16,6 +16,7 @@ oobj["obj"][incr()] ??= incr(); //// [logicalAssignment10.js] +"use strict"; var _a, _b, _c; var count = 0; var obj = {}; diff --git a/tests/baselines/reference/logicalAssignment10(target=es2021).js b/tests/baselines/reference/logicalAssignment10(target=es2021).js index cb427f577c69f..43e3b2e886678 100644 --- a/tests/baselines/reference/logicalAssignment10(target=es2021).js +++ b/tests/baselines/reference/logicalAssignment10(target=es2021).js @@ -16,6 +16,7 @@ oobj["obj"][incr()] ??= incr(); //// [logicalAssignment10.js] +"use strict"; var count = 0; var obj = {}; function incr() { diff --git a/tests/baselines/reference/logicalAssignment10(target=esnext).js b/tests/baselines/reference/logicalAssignment10(target=esnext).js index cb427f577c69f..43e3b2e886678 100644 --- a/tests/baselines/reference/logicalAssignment10(target=esnext).js +++ b/tests/baselines/reference/logicalAssignment10(target=esnext).js @@ -16,6 +16,7 @@ oobj["obj"][incr()] ??= incr(); //// [logicalAssignment10.js] +"use strict"; var count = 0; var obj = {}; function incr() { diff --git a/tests/baselines/reference/logicalNotExpression1.js b/tests/baselines/reference/logicalNotExpression1.js index 0c0329c2797e6..1dc9968f313e3 100644 --- a/tests/baselines/reference/logicalNotExpression1.js +++ b/tests/baselines/reference/logicalNotExpression1.js @@ -4,4 +4,5 @@ !foo; //// [logicalNotExpression1.js] +"use strict"; !foo; diff --git a/tests/baselines/reference/logicalNotOperatorInvalidOperations.js b/tests/baselines/reference/logicalNotOperatorInvalidOperations.js index ad0f41bb1d15a..49a043ce0fffa 100644 --- a/tests/baselines/reference/logicalNotOperatorInvalidOperations.js +++ b/tests/baselines/reference/logicalNotOperatorInvalidOperations.js @@ -14,6 +14,7 @@ var BOOLEAN2 = !b + b; var BOOLEAN3 =!; //// [logicalNotOperatorInvalidOperations.js] +"use strict"; // operand before ! var BOOLEAN1 = b; //expect error // miss parentheses diff --git a/tests/baselines/reference/logicalNotOperatorWithAnyOtherType.js b/tests/baselines/reference/logicalNotOperatorWithAnyOtherType.js index e72bc55b517c8..9e6a32f8b9a6b 100644 --- a/tests/baselines/reference/logicalNotOperatorWithAnyOtherType.js +++ b/tests/baselines/reference/logicalNotOperatorWithAnyOtherType.js @@ -62,6 +62,7 @@ var ResultIsBoolean21 = !!!(ANY + ANY1); !M.n; //// [logicalNotOperatorWithAnyOtherType.js] +"use strict"; // ! operator on any type var ANY; var ANY1; diff --git a/tests/baselines/reference/logicalNotOperatorWithBooleanType.js b/tests/baselines/reference/logicalNotOperatorWithBooleanType.js index 605c1960eea1a..7c6a9bde60468 100644 --- a/tests/baselines/reference/logicalNotOperatorWithBooleanType.js +++ b/tests/baselines/reference/logicalNotOperatorWithBooleanType.js @@ -41,6 +41,7 @@ var ResultIsBoolean = !!BOOLEAN; !M.n; //// [logicalNotOperatorWithBooleanType.js] +"use strict"; function foo() { return true; } var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/logicalNotOperatorWithEnumType.js b/tests/baselines/reference/logicalNotOperatorWithEnumType.js index f2fb0877517b3..68bcb260c3dea 100644 --- a/tests/baselines/reference/logicalNotOperatorWithEnumType.js +++ b/tests/baselines/reference/logicalNotOperatorWithEnumType.js @@ -24,6 +24,7 @@ var ResultIsBoolean5 = !!!(ENUM["B"] + ENUM.C); !ENUM, ENUM1; //// [logicalNotOperatorWithEnumType.js] +"use strict"; // ! operator on enum type var ENUM; (function (ENUM) { diff --git a/tests/baselines/reference/logicalNotOperatorWithNumberType.js b/tests/baselines/reference/logicalNotOperatorWithNumberType.js index 0242fa51fbec0..b563a4913e080 100644 --- a/tests/baselines/reference/logicalNotOperatorWithNumberType.js +++ b/tests/baselines/reference/logicalNotOperatorWithNumberType.js @@ -48,6 +48,7 @@ var ResultIsBoolean13 = !!!(NUMBER + NUMBER); !objA.a, M.n; //// [logicalNotOperatorWithNumberType.js] +"use strict"; var NUMBER1 = [1, 2]; function foo() { return 1; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/logicalNotOperatorWithStringType.js b/tests/baselines/reference/logicalNotOperatorWithStringType.js index b40db09e300a0..278622fcbce29 100644 --- a/tests/baselines/reference/logicalNotOperatorWithStringType.js +++ b/tests/baselines/reference/logicalNotOperatorWithStringType.js @@ -47,6 +47,7 @@ var ResultIsBoolean14 = !!!(STRING + STRING); !objA.a,M.n; //// [logicalNotOperatorWithStringType.js] +"use strict"; var STRING1 = ["", "abc"]; function foo() { return "abc"; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/logicalOrExpressionIsContextuallyTyped.js b/tests/baselines/reference/logicalOrExpressionIsContextuallyTyped.js index 434b623d90bc7..163f5aacb5dee 100644 --- a/tests/baselines/reference/logicalOrExpressionIsContextuallyTyped.js +++ b/tests/baselines/reference/logicalOrExpressionIsContextuallyTyped.js @@ -9,6 +9,7 @@ var r: { a: string } = { a: '', b: 123 } || { a: '', b: true }; //// [logicalOrExpressionIsContextuallyTyped.js] +"use strict"; // The || operator permits the operands to be of any type. // If the || expression is contextually typed, the operands are contextually typed by the // same type and the result is of the best common type of the contextual type and the two diff --git a/tests/baselines/reference/logicalOrExpressionIsNotContextuallyTyped.js b/tests/baselines/reference/logicalOrExpressionIsNotContextuallyTyped.js index f26d626e21558..853cf956cbe6e 100644 --- a/tests/baselines/reference/logicalOrExpressionIsNotContextuallyTyped.js +++ b/tests/baselines/reference/logicalOrExpressionIsNotContextuallyTyped.js @@ -13,6 +13,7 @@ var a: (a: string) => string; var r = a || ((a) => a.toLowerCase()); //// [logicalOrExpressionIsNotContextuallyTyped.js] +"use strict"; // The || operator permits the operands to be of any type. // If the || expression is not contextually typed, the right operand is contextually typed // by the type of the left operand and the result is of the best common type of the two diff --git a/tests/baselines/reference/logicalOrOperatorWithEveryType.js b/tests/baselines/reference/logicalOrOperatorWithEveryType.js index 8cc3a145693b8..97256547fcf70 100644 --- a/tests/baselines/reference/logicalOrOperatorWithEveryType.js +++ b/tests/baselines/reference/logicalOrOperatorWithEveryType.js @@ -128,6 +128,7 @@ var rf9 = null || undefined; // null || undefined is any var rf10 = undefined || undefined; // undefined || undefined is any //// [logicalOrOperatorWithEveryType.js] +"use strict"; // The || operator permits the operands to be of any type. // If the || expression is not contextually typed, the right operand is contextually typed // by the type of the left operand and the result is of the best common type of the two diff --git a/tests/baselines/reference/logicalOrOperatorWithTypeParameters.js b/tests/baselines/reference/logicalOrOperatorWithTypeParameters.js index b6aff90871bab..dc397c3a2ce78 100644 --- a/tests/baselines/reference/logicalOrOperatorWithTypeParameters.js +++ b/tests/baselines/reference/logicalOrOperatorWithTypeParameters.js @@ -26,6 +26,7 @@ function fn3 {}; //// [m7Bugs.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/malformedTags.js b/tests/baselines/reference/malformedTags.js index 14913d3babc83..97b24e18a2053 100644 --- a/tests/baselines/reference/malformedTags.js +++ b/tests/baselines/reference/malformedTags.js @@ -10,6 +10,7 @@ var isArray = Array.isArray; //// [myFile02.js] +"use strict"; /** * Checks if `value` is classified as an `Array` object. * diff --git a/tests/baselines/reference/manyCompilerErrorsInTheTwoFiles.js b/tests/baselines/reference/manyCompilerErrorsInTheTwoFiles.js index 4953a653c3da7..3a0fb465f1530 100644 --- a/tests/baselines/reference/manyCompilerErrorsInTheTwoFiles.js +++ b/tests/baselines/reference/manyCompilerErrorsInTheTwoFiles.js @@ -13,6 +13,7 @@ to limit //// [a.js] +"use strict"; var a = !; !; var b = !; @@ -25,6 +26,7 @@ GOTTA; GO; FAST; //// [b.js] +"use strict"; fhqwhgads; to; limit; diff --git a/tests/baselines/reference/mapConstructorOnReadonlyTuple.js b/tests/baselines/reference/mapConstructorOnReadonlyTuple.js index a2076951b60e4..6770fb8062c7c 100644 --- a/tests/baselines/reference/mapConstructorOnReadonlyTuple.js +++ b/tests/baselines/reference/mapConstructorOnReadonlyTuple.js @@ -7,6 +7,7 @@ new WeakMap(pairs); //// [mapConstructorOnReadonlyTuple.js] +"use strict"; const pairs = [[{}, 1], [{}, 2]]; new Map(pairs); new WeakMap(pairs); diff --git a/tests/baselines/reference/mapGroupBy.js b/tests/baselines/reference/mapGroupBy.js index 497f555fd0120..57166fad2dd43 100644 --- a/tests/baselines/reference/mapGroupBy.js +++ b/tests/baselines/reference/mapGroupBy.js @@ -13,6 +13,7 @@ const byNonKey = Map.groupBy(employees, x => x); //// [mapGroupBy.js] +"use strict"; const basic = Map.groupBy([0, 2, 8], x => x < 5 ? 'small' : 'large'); const chars = Map.groupBy('a string', c => c); const employees = new Set(); diff --git a/tests/baselines/reference/mappedToToIndexSignatureInference.js b/tests/baselines/reference/mappedToToIndexSignatureInference.js index b289216ee2b6b..d60f850e0e0fa 100644 --- a/tests/baselines/reference/mappedToToIndexSignatureInference.js +++ b/tests/baselines/reference/mappedToToIndexSignatureInference.js @@ -15,6 +15,7 @@ let x: E[] = enumValues(E); //// [mappedToToIndexSignatureInference.js] +"use strict"; fn(a); var E; (function (E) { diff --git a/tests/baselines/reference/mappedTypeAsClauseRelationships.js b/tests/baselines/reference/mappedTypeAsClauseRelationships.js index ee8c6a743456d..d1d75f2848ce7 100644 --- a/tests/baselines/reference/mappedTypeAsClauseRelationships.js +++ b/tests/baselines/reference/mappedTypeAsClauseRelationships.js @@ -31,6 +31,7 @@ function fun2(val: T) { //// [mappedTypeAsClauseRelationships.js] +"use strict"; function fun(val) { var x = val; // Ok var y = val; // Error diff --git a/tests/baselines/reference/mappedTypeAsStringTemplate.js b/tests/baselines/reference/mappedTypeAsStringTemplate.js index d5cdac855a5a7..30f06ae33ab98 100644 --- a/tests/baselines/reference/mappedTypeAsStringTemplate.js +++ b/tests/baselines/reference/mappedTypeAsStringTemplate.js @@ -11,6 +11,7 @@ foo(c); //// [mappedTypeAsStringTemplate.js] +"use strict"; // Repro from #44220 function foo(foox) { } var c = { x: 1 }; diff --git a/tests/baselines/reference/mappedTypeCircularReferenceInAccessor.js b/tests/baselines/reference/mappedTypeCircularReferenceInAccessor.js index cd7fd0b48139c..931a2aa3c9ed6 100644 --- a/tests/baselines/reference/mappedTypeCircularReferenceInAccessor.js +++ b/tests/baselines/reference/mappedTypeCircularReferenceInAccessor.js @@ -16,3 +16,4 @@ type SerializablePartial = { //// [mappedTypeCircularReferenceInAccessor.js] +"use strict"; diff --git a/tests/baselines/reference/mappedTypeErrors.js b/tests/baselines/reference/mappedTypeErrors.js index 39018b0e2874c..9e65a0eacd55b 100644 --- a/tests/baselines/reference/mappedTypeErrors.js +++ b/tests/baselines/reference/mappedTypeErrors.js @@ -160,6 +160,7 @@ function test2(obj: Record) { //// [mappedTypeErrors.js] +"use strict"; function f1(x) { var y; // Error } diff --git a/tests/baselines/reference/mappedTypeErrors2.js b/tests/baselines/reference/mappedTypeErrors2.js index 01bf863a58d16..57c46aada6e3e 100644 --- a/tests/baselines/reference/mappedTypeErrors2.js +++ b/tests/baselines/reference/mappedTypeErrors2.js @@ -23,6 +23,7 @@ type T7 = {[key in AB[S]]: true}[L]; //// [mappedTypeErrors2.js] +"use strict"; // Repros from #17238 diff --git a/tests/baselines/reference/mappedTypeInferenceCircularity.js b/tests/baselines/reference/mappedTypeInferenceCircularity.js index 9559d67856408..6bf3503797d46 100644 --- a/tests/baselines/reference/mappedTypeInferenceCircularity.js +++ b/tests/baselines/reference/mappedTypeInferenceCircularity.js @@ -10,5 +10,6 @@ declare var h: HTML; h.div(h); //// [mappedTypeInferenceCircularity.js] +"use strict"; // Repro from #12511 h.div(h); diff --git a/tests/baselines/reference/mappedTypeModifiers.js b/tests/baselines/reference/mappedTypeModifiers.js index 83e3385e76a04..4806d5e474941 100644 --- a/tests/baselines/reference/mappedTypeModifiers.js +++ b/tests/baselines/reference/mappedTypeModifiers.js @@ -101,6 +101,7 @@ function f4(x: { [P in keyof Foo]: Foo[P] }) { //// [mappedTypeModifiers.js] +"use strict"; var v00; var v00; var v00; diff --git a/tests/baselines/reference/mappedTypeMultiInference.js b/tests/baselines/reference/mappedTypeMultiInference.js index b35dafc625805..54c5588d57719 100644 --- a/tests/baselines/reference/mappedTypeMultiInference.js +++ b/tests/baselines/reference/mappedTypeMultiInference.js @@ -24,6 +24,7 @@ let x = mergeStyleSets( ) //// [mappedTypeMultiInference.js] +"use strict"; // Expected: // let x: { // a: Style; diff --git a/tests/baselines/reference/mappedTypeNestedGenericInstantiation.js b/tests/baselines/reference/mappedTypeNestedGenericInstantiation.js index 10c1a631adc33..a3fa63982b43b 100644 --- a/tests/baselines/reference/mappedTypeNestedGenericInstantiation.js +++ b/tests/baselines/reference/mappedTypeNestedGenericInstantiation.js @@ -16,6 +16,7 @@ const v = chain({a: 1, b: 2}).mapValues(square).value(); //// [mappedTypeNestedGenericInstantiation.js] +"use strict"; // Repro from #13346 var square = function (x) { return x * x; }; var v = chain({ a: 1, b: 2 }).mapValues(square).value(); diff --git a/tests/baselines/reference/mappedTypeNoTypeNoCrash.js b/tests/baselines/reference/mappedTypeNoTypeNoCrash.js index fca931ae19e7c..8eddf25695c02 100644 --- a/tests/baselines/reference/mappedTypeNoTypeNoCrash.js +++ b/tests/baselines/reference/mappedTypeNoTypeNoCrash.js @@ -4,6 +4,7 @@ type T0 = ({[K in keyof T]}) extends ({[key in K]: T[K]}) ? number : never; //// [mappedTypeNoTypeNoCrash.js] +"use strict"; //// [mappedTypeNoTypeNoCrash.d.ts] diff --git a/tests/baselines/reference/mappedTypeNotMistakenlyHomomorphic.js b/tests/baselines/reference/mappedTypeNotMistakenlyHomomorphic.js index 39bb5ef5b778c..fde66a5294fb3 100644 --- a/tests/baselines/reference/mappedTypeNotMistakenlyHomomorphic.js +++ b/tests/baselines/reference/mappedTypeNotMistakenlyHomomorphic.js @@ -38,6 +38,7 @@ b = a; //// [mappedTypeNotMistakenlyHomomorphic.js] +"use strict"; var ABC; (function (ABC) { ABC[ABC["A"] = 0] = "A"; diff --git a/tests/baselines/reference/mappedTypeOverlappingStringEnumKeys.js b/tests/baselines/reference/mappedTypeOverlappingStringEnumKeys.js index dd69243e2b951..dd936a9f3b41f 100644 --- a/tests/baselines/reference/mappedTypeOverlappingStringEnumKeys.js +++ b/tests/baselines/reference/mappedTypeOverlappingStringEnumKeys.js @@ -40,6 +40,7 @@ const catMap: CatMap = { //// [mappedTypeOverlappingStringEnumKeys.js] +"use strict"; // #37859 var TerrestrialAnimalTypes; (function (TerrestrialAnimalTypes) { diff --git a/tests/baselines/reference/mappedTypeParameterConstraint.js b/tests/baselines/reference/mappedTypeParameterConstraint.js index 2573d7a36bb86..cfd87a66a7bd2 100644 --- a/tests/baselines/reference/mappedTypeParameterConstraint.js +++ b/tests/baselines/reference/mappedTypeParameterConstraint.js @@ -10,6 +10,7 @@ function foo(arg: U): MyMap { //// [mappedTypeParameterConstraint.js] +"use strict"; // Repro for #27596 function foo(arg) { return arg; diff --git a/tests/baselines/reference/mappedTypePartialConstraints.js b/tests/baselines/reference/mappedTypePartialConstraints.js index f3a00c09ca9ed..71709814a4039 100644 --- a/tests/baselines/reference/mappedTypePartialConstraints.js +++ b/tests/baselines/reference/mappedTypePartialConstraints.js @@ -19,6 +19,7 @@ fn(MySubClass); //// [mappedTypePartialConstraints.js] +"use strict"; // Repro from #16985 var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/mappedTypeRecursiveInference.js b/tests/baselines/reference/mappedTypeRecursiveInference.js index cd6547dde2f79..66a8544c7f8b0 100644 --- a/tests/baselines/reference/mappedTypeRecursiveInference.js +++ b/tests/baselines/reference/mappedTypeRecursiveInference.js @@ -25,6 +25,7 @@ out2.responseXML.activeElement.className.length //// [mappedTypeRecursiveInference.js] +"use strict"; var out = foo(a); out.a; out.a.a; diff --git a/tests/baselines/reference/mappedTypeRelationships.js b/tests/baselines/reference/mappedTypeRelationships.js index a8ecd047da27b..7257748c279a0 100644 --- a/tests/baselines/reference/mappedTypeRelationships.js +++ b/tests/baselines/reference/mappedTypeRelationships.js @@ -212,6 +212,7 @@ type GenericSettingsResult1 = GenericSettingsAccess<"audio">; type GenericSettingsResult2 = GenericSettingsAccess<"audio" | "video">; //// [mappedTypeRelationships.js] +"use strict"; function f1(x, k) { return x[k]; } diff --git a/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.js b/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.js index 48a71e30900be..79fac230f33c0 100644 --- a/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.js +++ b/tests/baselines/reference/mappedTypeWithAsClauseAndLateBoundProperty.js @@ -7,4 +7,5 @@ tgt2 = src2; // Should error //// [mappedTypeWithAsClauseAndLateBoundProperty.js] +"use strict"; tgt2 = src2; // Should error diff --git a/tests/baselines/reference/mappedTypeWithCombinedTypeMappers.js b/tests/baselines/reference/mappedTypeWithCombinedTypeMappers.js index d33f53b91ce06..daa228a1f326c 100644 --- a/tests/baselines/reference/mappedTypeWithCombinedTypeMappers.js +++ b/tests/baselines/reference/mappedTypeWithCombinedTypeMappers.js @@ -22,5 +22,6 @@ const shouldFail: { important: boolean } = output.x.children; //// [mappedTypeWithCombinedTypeMappers.js] +"use strict"; // Repro from #13351 var shouldFail = output.x.children; diff --git a/tests/baselines/reference/mappedTypes1.js b/tests/baselines/reference/mappedTypes1.js index bdf288a977f60..6923a409a11fe 100644 --- a/tests/baselines/reference/mappedTypes1.js +++ b/tests/baselines/reference/mappedTypes1.js @@ -42,6 +42,7 @@ let x3 = f3(); let x4 = f4(); //// [mappedTypes1.js] +"use strict"; var x1 = f1(); var x2 = f2(); var x3 = f3(); diff --git a/tests/baselines/reference/mappedTypes2.js b/tests/baselines/reference/mappedTypes2.js index 8bcdb4818789e..323041735b4a4 100644 --- a/tests/baselines/reference/mappedTypes2.js +++ b/tests/baselines/reference/mappedTypes2.js @@ -96,6 +96,7 @@ function f6(shape: DeepReadonly) { } //// [mappedTypes2.js] +"use strict"; function verifyLibTypes() { var x1; var x1; diff --git a/tests/baselines/reference/mappedTypes3.js b/tests/baselines/reference/mappedTypes3.js index 15e98481e4cff..c2dd6203b29e3 100644 --- a/tests/baselines/reference/mappedTypes3.js +++ b/tests/baselines/reference/mappedTypes3.js @@ -41,6 +41,7 @@ function f3(bb: BoxifiedBacon) { } //// [mappedTypes3.js] +"use strict"; var Box = /** @class */ (function () { function Box() { } diff --git a/tests/baselines/reference/mappedTypes4.js b/tests/baselines/reference/mappedTypes4.js index 3a8dbedcf65e4..df3694482d0d9 100644 --- a/tests/baselines/reference/mappedTypes4.js +++ b/tests/baselines/reference/mappedTypes4.js @@ -74,6 +74,7 @@ var z1: Clone; //// [mappedTypes4.js] +"use strict"; function boxify(obj) { if (typeof obj === "object") { var result = {}; diff --git a/tests/baselines/reference/mappedTypesAndObjects.js b/tests/baselines/reference/mappedTypesAndObjects.js index 2d3962455b5d8..4519436e229fb 100644 --- a/tests/baselines/reference/mappedTypesAndObjects.js +++ b/tests/baselines/reference/mappedTypesAndObjects.js @@ -46,6 +46,7 @@ class Form { //// [mappedTypesAndObjects.js] +"use strict"; function f1(x, y) { var obj; obj = x; diff --git a/tests/baselines/reference/matchReturnTypeInAllBranches.js b/tests/baselines/reference/matchReturnTypeInAllBranches.js index 78387f4fa0d36..06eba538899ef 100644 --- a/tests/baselines/reference/matchReturnTypeInAllBranches.js +++ b/tests/baselines/reference/matchReturnTypeInAllBranches.js @@ -38,6 +38,7 @@ var cookieMonster: IceCreamMonster; cookieMonster = new IceCreamMonster("Chocolate Chip", false, "COOOOOKIE", "Cookie Monster"); //// [matchReturnTypeInAllBranches.js] +"use strict"; // Represents a monster who enjoys ice cream var IceCreamMonster = /** @class */ (function () { function IceCreamMonster(iceCreamFlavor, wantsSprinkles, soundsWhenEating, name) { diff --git a/tests/baselines/reference/matchingOfObjectLiteralConstraints.js b/tests/baselines/reference/matchingOfObjectLiteralConstraints.js index bc2b743d3a8b4..f0b22abc4ef4e 100644 --- a/tests/baselines/reference/matchingOfObjectLiteralConstraints.js +++ b/tests/baselines/reference/matchingOfObjectLiteralConstraints.js @@ -7,5 +7,6 @@ foo2({ y: "foo" }, "foo"); //// [matchingOfObjectLiteralConstraints.js] +"use strict"; function foo2(x, z) { } foo2({ y: "foo" }, "foo"); diff --git a/tests/baselines/reference/maxConstraints.js b/tests/baselines/reference/maxConstraints.js index 582d188aaeca0..b9b002470f99a 100644 --- a/tests/baselines/reference/maxConstraints.js +++ b/tests/baselines/reference/maxConstraints.js @@ -11,5 +11,6 @@ var max2: Comparer = (x, y) => { return (x.compareTo(y) > 0) ? x : y }; var maxResult = max2(1, 2); //// [maxConstraints.js] +"use strict"; var max2 = function (x, y) { return (x.compareTo(y) > 0) ? x : y; }; var maxResult = max2(1, 2); diff --git a/tests/baselines/reference/maximum10SpellingSuggestions.js b/tests/baselines/reference/maximum10SpellingSuggestions.js index 69590e08735a0..49932ea8fed63 100644 --- a/tests/baselines/reference/maximum10SpellingSuggestions.js +++ b/tests/baselines/reference/maximum10SpellingSuggestions.js @@ -9,6 +9,7 @@ bob; bob; //// [maximum10SpellingSuggestions.js] +"use strict"; // 10 bobs on the first line // the last two bobs should not have did-you-mean spelling suggestions var blob; diff --git a/tests/baselines/reference/memberAccessOnConstructorType.js b/tests/baselines/reference/memberAccessOnConstructorType.js index 5280f31a176d9..ac8bc974ea081 100644 --- a/tests/baselines/reference/memberAccessOnConstructorType.js +++ b/tests/baselines/reference/memberAccessOnConstructorType.js @@ -5,5 +5,6 @@ var f: new () => void; f.arguments == 0; //// [memberAccessOnConstructorType.js] +"use strict"; var f; f.arguments == 0; diff --git a/tests/baselines/reference/memberFunctionOverloadMixingStaticAndInstance.js b/tests/baselines/reference/memberFunctionOverloadMixingStaticAndInstance.js index 131d6029a01b0..20cfc01b67c93 100644 --- a/tests/baselines/reference/memberFunctionOverloadMixingStaticAndInstance.js +++ b/tests/baselines/reference/memberFunctionOverloadMixingStaticAndInstance.js @@ -22,6 +22,7 @@ class F { } //// [memberFunctionOverloadMixingStaticAndInstance.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/memberFunctionsWithPrivateOverloads.js b/tests/baselines/reference/memberFunctionsWithPrivateOverloads.js index b71039879a36c..40288caedf84c 100644 --- a/tests/baselines/reference/memberFunctionsWithPrivateOverloads.js +++ b/tests/baselines/reference/memberFunctionsWithPrivateOverloads.js @@ -52,6 +52,7 @@ var r3 = C.foo(1); // error var r4 = D.bar(''); // error //// [memberFunctionsWithPrivateOverloads.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/memberFunctionsWithPublicOverloads.js b/tests/baselines/reference/memberFunctionsWithPublicOverloads.js index 5a37331e3b17a..181dd766cfbe0 100644 --- a/tests/baselines/reference/memberFunctionsWithPublicOverloads.js +++ b/tests/baselines/reference/memberFunctionsWithPublicOverloads.js @@ -43,6 +43,7 @@ class D { } //// [memberFunctionsWithPublicOverloads.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/memberFunctionsWithPublicPrivateOverloads.js b/tests/baselines/reference/memberFunctionsWithPublicPrivateOverloads.js index 72b0d2f011992..16e7dbbede922 100644 --- a/tests/baselines/reference/memberFunctionsWithPublicPrivateOverloads.js +++ b/tests/baselines/reference/memberFunctionsWithPublicPrivateOverloads.js @@ -65,6 +65,7 @@ declare var d: D; var r2 = d.foo(2); // error //// [memberFunctionsWithPublicPrivateOverloads.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/memberOverride.js b/tests/baselines/reference/memberOverride.js index 8630c2b636b3c..b43137eb0c15b 100644 --- a/tests/baselines/reference/memberOverride.js +++ b/tests/baselines/reference/memberOverride.js @@ -11,6 +11,7 @@ var x = { var n: number = x.a; //// [memberOverride.js] +"use strict"; // An object initialiser accepts the first definition for the same property with a different type signature // Should compile, since the second declaration of a overrides the first var x = { diff --git a/tests/baselines/reference/memberScope.js b/tests/baselines/reference/memberScope.js index 6bf20f9ea28ef..8d807286990ac 100644 --- a/tests/baselines/reference/memberScope.js +++ b/tests/baselines/reference/memberScope.js @@ -10,6 +10,7 @@ namespace Salt { //// [memberScope.js] +"use strict"; var Salt; (function (Salt) { var Pepper = /** @class */ (function () { diff --git a/tests/baselines/reference/memberVariableDeclarations1.js b/tests/baselines/reference/memberVariableDeclarations1.js index 97300fc583892..d3b0028a56fce 100644 --- a/tests/baselines/reference/memberVariableDeclarations1.js +++ b/tests/baselines/reference/memberVariableDeclarations1.js @@ -30,6 +30,7 @@ e1 = e2; e2 = e1; //// [memberVariableDeclarations1.js] +"use strict"; // from spec var Employee = /** @class */ (function () { function Employee() { diff --git a/tests/baselines/reference/mergeClassInterfaceAndModule.js b/tests/baselines/reference/mergeClassInterfaceAndModule.js index 2645544846d23..015413ca66151 100644 --- a/tests/baselines/reference/mergeClassInterfaceAndModule.js +++ b/tests/baselines/reference/mergeClassInterfaceAndModule.js @@ -18,3 +18,4 @@ declare class C4 {} // error -- class declaration must precede module declaratio interface C4 {} //// [mergeClassInterfaceAndModule.js] +"use strict"; diff --git a/tests/baselines/reference/mergeThreeInterfaces.js b/tests/baselines/reference/mergeThreeInterfaces.js index b93dfb30e8250..dcb185e127700 100644 --- a/tests/baselines/reference/mergeThreeInterfaces.js +++ b/tests/baselines/reference/mergeThreeInterfaces.js @@ -81,6 +81,7 @@ namespace M { } //// [mergeThreeInterfaces.js] +"use strict"; // interfaces with the same root module should merge var a; var r1 = a.foo; diff --git a/tests/baselines/reference/mergeThreeInterfaces2.js b/tests/baselines/reference/mergeThreeInterfaces2.js index e50f87cb3560e..6f145854f717f 100644 --- a/tests/baselines/reference/mergeThreeInterfaces2.js +++ b/tests/baselines/reference/mergeThreeInterfaces2.js @@ -70,6 +70,7 @@ namespace M2 { } //// [mergeThreeInterfaces2.js] +"use strict"; // two interfaces with the same root module should merge // root module now multiple module declarations var M2; diff --git a/tests/baselines/reference/mergeTwoInterfaces.js b/tests/baselines/reference/mergeTwoInterfaces.js index 7f7bf2d58f085..1691c748bb446 100644 --- a/tests/baselines/reference/mergeTwoInterfaces.js +++ b/tests/baselines/reference/mergeTwoInterfaces.js @@ -60,6 +60,7 @@ namespace M { } //// [mergeTwoInterfaces.js] +"use strict"; // two interfaces with the same root module should merge var a; var r1 = a.foo; diff --git a/tests/baselines/reference/mergeTwoInterfaces2.js b/tests/baselines/reference/mergeTwoInterfaces2.js index 31bd60ba5376b..3caeaa85a8ca6 100644 --- a/tests/baselines/reference/mergeTwoInterfaces2.js +++ b/tests/baselines/reference/mergeTwoInterfaces2.js @@ -50,6 +50,7 @@ namespace M2 { } //// [mergeTwoInterfaces2.js] +"use strict"; // two interfaces with the same root module should merge // root module now multiple module declarations var M2; diff --git a/tests/baselines/reference/mergedClassInterface.js b/tests/baselines/reference/mergedClassInterface.js index cc26d614e1295..be0eb4fd7c154 100644 --- a/tests/baselines/reference/mergedClassInterface.js +++ b/tests/baselines/reference/mergedClassInterface.js @@ -51,6 +51,7 @@ interface C6 { } declare class C7 { } //// [file1.js] +"use strict"; var C3 = /** @class */ (function () { function C3() { } @@ -68,7 +69,9 @@ c5.x2; c5.x3; c5.x4; //// [file2.js] +"use strict"; //// [file3.js] +"use strict"; //// [file1.d.ts] diff --git a/tests/baselines/reference/mergedClassNamespaceRecordCast.js b/tests/baselines/reference/mergedClassNamespaceRecordCast.js index b5dce91b05a37..a8ea619dbeb9a 100644 --- a/tests/baselines/reference/mergedClassNamespaceRecordCast.js +++ b/tests/baselines/reference/mergedClassNamespaceRecordCast.js @@ -21,6 +21,7 @@ C3 as Record; //// [mergedClassNamespaceRecordCast.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/mergedClassWithNamespacePrototype.js b/tests/baselines/reference/mergedClassWithNamespacePrototype.js index fbacd3b8baa58..40fe22839e845 100644 --- a/tests/baselines/reference/mergedClassWithNamespacePrototype.js +++ b/tests/baselines/reference/mergedClassWithNamespacePrototype.js @@ -12,3 +12,4 @@ declare namespace Foo { //// [b.js] +"use strict"; diff --git a/tests/baselines/reference/mergedDeclarations1.js b/tests/baselines/reference/mergedDeclarations1.js index 636778b19d11b..f6d0aa7ea6315 100644 --- a/tests/baselines/reference/mergedDeclarations1.js +++ b/tests/baselines/reference/mergedDeclarations1.js @@ -19,6 +19,7 @@ var p2 = point.origin; var b = point.equals(p1, p2); //// [mergedDeclarations1.js] +"use strict"; function point(x, y) { return { x: x, y: y }; } diff --git a/tests/baselines/reference/mergedDeclarations2.js b/tests/baselines/reference/mergedDeclarations2.js index 12414e62d4b1c..855be093875cc 100644 --- a/tests/baselines/reference/mergedDeclarations2.js +++ b/tests/baselines/reference/mergedDeclarations2.js @@ -13,6 +13,7 @@ namespace Foo { } //// [mergedDeclarations2.js] +"use strict"; var Foo; (function (Foo) { Foo[Foo["b"] = 0] = "b"; diff --git a/tests/baselines/reference/mergedDeclarations3.js b/tests/baselines/reference/mergedDeclarations3.js index 9f76baa4ff10f..dcf22fe729e6d 100644 --- a/tests/baselines/reference/mergedDeclarations3.js +++ b/tests/baselines/reference/mergedDeclarations3.js @@ -42,6 +42,7 @@ M.foo.y // ok M.foo.z // error //// [mergedDeclarations3.js] +"use strict"; var M; (function (M) { var Color; diff --git a/tests/baselines/reference/mergedDeclarations4.js b/tests/baselines/reference/mergedDeclarations4.js index 4124abdb72655..6811fa738fef0 100644 --- a/tests/baselines/reference/mergedDeclarations4.js +++ b/tests/baselines/reference/mergedDeclarations4.js @@ -21,6 +21,7 @@ M.f(); M.f.hello; //// [mergedDeclarations4.js] +"use strict"; var M; (function (M) { function f() { } diff --git a/tests/baselines/reference/mergedDeclarations5.js b/tests/baselines/reference/mergedDeclarations5.js index 5c3d3978e8296..db213c885e79e 100644 --- a/tests/baselines/reference/mergedDeclarations5.js +++ b/tests/baselines/reference/mergedDeclarations5.js @@ -12,6 +12,7 @@ class B extends A { } //// [a.js] +"use strict"; var A = /** @class */ (function () { function A() { } @@ -19,6 +20,7 @@ var A = /** @class */ (function () { return A; }()); //// [b.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/mergedEnumDeclarationCodeGen.js b/tests/baselines/reference/mergedEnumDeclarationCodeGen.js index ba996221a7699..d57a6ccd6df1e 100644 --- a/tests/baselines/reference/mergedEnumDeclarationCodeGen.js +++ b/tests/baselines/reference/mergedEnumDeclarationCodeGen.js @@ -10,6 +10,7 @@ enum E { } //// [mergedEnumDeclarationCodeGen.js] +"use strict"; var E; (function (E) { E[E["a"] = 0] = "a"; diff --git a/tests/baselines/reference/mergedInheritedClassInterface.js b/tests/baselines/reference/mergedInheritedClassInterface.js index 6af9f8308fc37..c33bf50c64d7d 100644 --- a/tests/baselines/reference/mergedInheritedClassInterface.js +++ b/tests/baselines/reference/mergedInheritedClassInterface.js @@ -49,6 +49,7 @@ grandchild.method2(); //// [mergedInheritedClassInterface.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/mergedInheritedMembersSatisfyAbstractBase.js b/tests/baselines/reference/mergedInheritedMembersSatisfyAbstractBase.js index e3f20b0a6fe0c..19227dc325f12 100644 --- a/tests/baselines/reference/mergedInheritedMembersSatisfyAbstractBase.js +++ b/tests/baselines/reference/mergedInheritedMembersSatisfyAbstractBase.js @@ -23,6 +23,7 @@ interface IncorrectlyExtends extends IncorrectGetters {} //// [mergedInheritedMembersSatisfyAbstractBase.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/mergedInterfaceFromMultipleFiles1.js b/tests/baselines/reference/mergedInterfaceFromMultipleFiles1.js index 31f25d22b791c..4989589440f79 100644 --- a/tests/baselines/reference/mergedInterfaceFromMultipleFiles1.js +++ b/tests/baselines/reference/mergedInterfaceFromMultipleFiles1.js @@ -23,7 +23,9 @@ var d: number = c.a(); var e: Date = c.b(); //// [mergedInterfaceFromMultipleFiles1_0.js] +"use strict"; //// [mergedInterfaceFromMultipleFiles1_1.js] +"use strict"; /// var c; var a = c.foo(); diff --git a/tests/baselines/reference/mergedInterfacesWithConflictingPropertyNames.js b/tests/baselines/reference/mergedInterfacesWithConflictingPropertyNames.js index bcee14e1e1937..660020e147153 100644 --- a/tests/baselines/reference/mergedInterfacesWithConflictingPropertyNames.js +++ b/tests/baselines/reference/mergedInterfacesWithConflictingPropertyNames.js @@ -44,3 +44,4 @@ namespace M3 { } //// [mergedInterfacesWithConflictingPropertyNames.js] +"use strict"; diff --git a/tests/baselines/reference/mergedInterfacesWithConflictingPropertyNames2.js b/tests/baselines/reference/mergedInterfacesWithConflictingPropertyNames2.js index 14ea95b88550a..c0c94df076d66 100644 --- a/tests/baselines/reference/mergedInterfacesWithConflictingPropertyNames2.js +++ b/tests/baselines/reference/mergedInterfacesWithConflictingPropertyNames2.js @@ -44,3 +44,4 @@ namespace M3 { } //// [mergedInterfacesWithConflictingPropertyNames2.js] +"use strict"; diff --git a/tests/baselines/reference/mergedInterfacesWithIndexers.js b/tests/baselines/reference/mergedInterfacesWithIndexers.js index a67761dded994..16e78b7c9b806 100644 --- a/tests/baselines/reference/mergedInterfacesWithIndexers.js +++ b/tests/baselines/reference/mergedInterfacesWithIndexers.js @@ -18,6 +18,7 @@ var r2 = a['1']; var r3 = a['hi']; //// [mergedInterfacesWithIndexers.js] +"use strict"; // indexers should behave like other members when merging interface declarations var a; var r = a[1]; diff --git a/tests/baselines/reference/mergedInterfacesWithIndexers2.js b/tests/baselines/reference/mergedInterfacesWithIndexers2.js index 6bba063ee114a..58664cfad69e0 100644 --- a/tests/baselines/reference/mergedInterfacesWithIndexers2.js +++ b/tests/baselines/reference/mergedInterfacesWithIndexers2.js @@ -25,4 +25,5 @@ interface A2 { //// [mergedInterfacesWithIndexers2.js] +"use strict"; // indexers should behave like other members when merging interface declarations diff --git a/tests/baselines/reference/mergedInterfacesWithInheritedPrivates.js b/tests/baselines/reference/mergedInterfacesWithInheritedPrivates.js index dbb09dc88cc42..5708520da5c6c 100644 --- a/tests/baselines/reference/mergedInterfacesWithInheritedPrivates.js +++ b/tests/baselines/reference/mergedInterfacesWithInheritedPrivates.js @@ -29,6 +29,7 @@ declare var a: A; var r = a.x; // error //// [mergedInterfacesWithInheritedPrivates.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/mergedInterfacesWithInheritedPrivates2.js b/tests/baselines/reference/mergedInterfacesWithInheritedPrivates2.js index 9111c795c8a6b..28080a366b161 100644 --- a/tests/baselines/reference/mergedInterfacesWithInheritedPrivates2.js +++ b/tests/baselines/reference/mergedInterfacesWithInheritedPrivates2.js @@ -34,6 +34,7 @@ var r = a.x; // error var r2 = a.w; // error //// [mergedInterfacesWithInheritedPrivates2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/mergedInterfacesWithInheritedPrivates3.js b/tests/baselines/reference/mergedInterfacesWithInheritedPrivates3.js index 18316b702f6e3..91ab893be3528 100644 --- a/tests/baselines/reference/mergedInterfacesWithInheritedPrivates3.js +++ b/tests/baselines/reference/mergedInterfacesWithInheritedPrivates3.js @@ -41,6 +41,7 @@ namespace M { } //// [mergedInterfacesWithInheritedPrivates3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/mergedInterfacesWithMultipleBases.js b/tests/baselines/reference/mergedInterfacesWithMultipleBases.js index 36e1a8b51c63f..de3fce307ac9f 100644 --- a/tests/baselines/reference/mergedInterfacesWithMultipleBases.js +++ b/tests/baselines/reference/mergedInterfacesWithMultipleBases.js @@ -57,6 +57,7 @@ namespace M { } //// [mergedInterfacesWithMultipleBases.js] +"use strict"; // merged interfaces behave as if all extends clauses from each declaration are merged together // no errors expected var C = /** @class */ (function () { diff --git a/tests/baselines/reference/mergedInterfacesWithMultipleBases2.js b/tests/baselines/reference/mergedInterfacesWithMultipleBases2.js index b323211ac2a2e..238913c517636 100644 --- a/tests/baselines/reference/mergedInterfacesWithMultipleBases2.js +++ b/tests/baselines/reference/mergedInterfacesWithMultipleBases2.js @@ -78,6 +78,7 @@ namespace M { } //// [mergedInterfacesWithMultipleBases2.js] +"use strict"; // merged interfaces behave as if all extends clauses from each declaration are merged together // no errors expected var C = /** @class */ (function () { diff --git a/tests/baselines/reference/mergedInterfacesWithMultipleBases3.js b/tests/baselines/reference/mergedInterfacesWithMultipleBases3.js index dee046614bad5..197fab63515db 100644 --- a/tests/baselines/reference/mergedInterfacesWithMultipleBases3.js +++ b/tests/baselines/reference/mergedInterfacesWithMultipleBases3.js @@ -38,6 +38,7 @@ class D implements A { } //// [mergedInterfacesWithMultipleBases3.js] +"use strict"; // merged interfaces behave as if all extends clauses from each declaration are merged together // no errors expected var C = /** @class */ (function () { diff --git a/tests/baselines/reference/mergedInterfacesWithMultipleBases4.js b/tests/baselines/reference/mergedInterfacesWithMultipleBases4.js index f6dd81d226798..85a0b6a23731b 100644 --- a/tests/baselines/reference/mergedInterfacesWithMultipleBases4.js +++ b/tests/baselines/reference/mergedInterfacesWithMultipleBases4.js @@ -37,6 +37,7 @@ class D implements A { } //// [mergedInterfacesWithMultipleBases4.js] +"use strict"; // merged interfaces behave as if all extends clauses from each declaration are merged together var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/mergedModuleDeclarationCodeGen2.js b/tests/baselines/reference/mergedModuleDeclarationCodeGen2.js index 46732b37f0a25..74ba02a51385c 100644 --- a/tests/baselines/reference/mergedModuleDeclarationCodeGen2.js +++ b/tests/baselines/reference/mergedModuleDeclarationCodeGen2.js @@ -11,6 +11,7 @@ namespace my.data { } //// [mergedModuleDeclarationCodeGen2.js] +"use strict"; var my; (function (my) { var data; diff --git a/tests/baselines/reference/mergedModuleDeclarationCodeGen3.js b/tests/baselines/reference/mergedModuleDeclarationCodeGen3.js index 4eb38c889eaf6..e50e3ed063f96 100644 --- a/tests/baselines/reference/mergedModuleDeclarationCodeGen3.js +++ b/tests/baselines/reference/mergedModuleDeclarationCodeGen3.js @@ -11,6 +11,7 @@ namespace my.data.foo { } //// [mergedModuleDeclarationCodeGen3.js] +"use strict"; var my; (function (my) { var data; diff --git a/tests/baselines/reference/mergedModuleDeclarationCodeGen4.js b/tests/baselines/reference/mergedModuleDeclarationCodeGen4.js index 9370f47c1abf1..c11d1197c7370 100644 --- a/tests/baselines/reference/mergedModuleDeclarationCodeGen4.js +++ b/tests/baselines/reference/mergedModuleDeclarationCodeGen4.js @@ -19,6 +19,7 @@ namespace superContain { } //// [mergedModuleDeclarationCodeGen4.js] +"use strict"; var superContain; (function (superContain) { var contain; diff --git a/tests/baselines/reference/mergedModuleDeclarationCodeGen5.js b/tests/baselines/reference/mergedModuleDeclarationCodeGen5.js index bd705648e44db..77512801d2f81 100644 --- a/tests/baselines/reference/mergedModuleDeclarationCodeGen5.js +++ b/tests/baselines/reference/mergedModuleDeclarationCodeGen5.js @@ -21,6 +21,7 @@ namespace M.buz.plop { } //// [mergedModuleDeclarationCodeGen5.js] +"use strict"; var M; (function (M_1) { var buz; diff --git a/tests/baselines/reference/mergedModuleDeclarationWithSharedExportedVar.js b/tests/baselines/reference/mergedModuleDeclarationWithSharedExportedVar.js index bb1fedc23bba4..7a4e436c69509 100644 --- a/tests/baselines/reference/mergedModuleDeclarationWithSharedExportedVar.js +++ b/tests/baselines/reference/mergedModuleDeclarationWithSharedExportedVar.js @@ -10,6 +10,7 @@ namespace M { } //// [mergedModuleDeclarationWithSharedExportedVar.js] +"use strict"; var M; (function (M) { M.v = 10; diff --git a/tests/baselines/reference/metadataOfClassFromModule.js b/tests/baselines/reference/metadataOfClassFromModule.js index 88cbed247ea06..82ee10811e335 100644 --- a/tests/baselines/reference/metadataOfClassFromModule.js +++ b/tests/baselines/reference/metadataOfClassFromModule.js @@ -14,6 +14,7 @@ namespace MyModule { } //// [metadataOfClassFromModule.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/metadataOfStringLiteral.js b/tests/baselines/reference/metadataOfStringLiteral.js index 94287dc08864e..14a22fbcbb413 100644 --- a/tests/baselines/reference/metadataOfStringLiteral.js +++ b/tests/baselines/reference/metadataOfStringLiteral.js @@ -9,6 +9,7 @@ class Foo { } //// [metadataOfStringLiteral.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/metadataOfUnion.js b/tests/baselines/reference/metadataOfUnion.js index 5f4ea5a6721d6..249fb54d96c67 100644 --- a/tests/baselines/reference/metadataOfUnion.js +++ b/tests/baselines/reference/metadataOfUnion.js @@ -39,6 +39,7 @@ class D { } //// [metadataOfUnion.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/metadataOfUnionWithNull(strictnullchecks=false).js b/tests/baselines/reference/metadataOfUnionWithNull(strictnullchecks=false).js index ce3d856b55d92..60463d40561f7 100644 --- a/tests/baselines/reference/metadataOfUnionWithNull(strictnullchecks=false).js +++ b/tests/baselines/reference/metadataOfUnionWithNull(strictnullchecks=false).js @@ -45,6 +45,7 @@ class B { } //// [metadataOfUnionWithNull.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/metadataOfUnionWithNull(strictnullchecks=true).js b/tests/baselines/reference/metadataOfUnionWithNull(strictnullchecks=true).js index 877fcb4ae1dcf..f79d48892d3bb 100644 --- a/tests/baselines/reference/metadataOfUnionWithNull(strictnullchecks=true).js +++ b/tests/baselines/reference/metadataOfUnionWithNull(strictnullchecks=true).js @@ -45,6 +45,7 @@ class B { } //// [metadataOfUnionWithNull.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/methodChainError.js b/tests/baselines/reference/methodChainError.js index 631e4a2cd4eee..b9b84d0779d3c 100644 --- a/tests/baselines/reference/methodChainError.js +++ b/tests/baselines/reference/methodChainError.js @@ -20,6 +20,7 @@ new Builder() .method("a"); //// [methodChainError.js] +"use strict"; var Builder = /** @class */ (function () { function Builder() { } diff --git a/tests/baselines/reference/methodContainingLocalFunction.js b/tests/baselines/reference/methodContainingLocalFunction.js index 8603085a0b009..1aa1880c337f5 100644 --- a/tests/baselines/reference/methodContainingLocalFunction.js +++ b/tests/baselines/reference/methodContainingLocalFunction.js @@ -53,6 +53,7 @@ enum E { } //// [methodContainingLocalFunction.js] +"use strict"; // The first case here (BugExhibition) caused a crash. Try with different permutations of features. var BugExhibition = /** @class */ (function () { function BugExhibition() { diff --git a/tests/baselines/reference/methodInAmbientClass1.js b/tests/baselines/reference/methodInAmbientClass1.js index f2404586b1418..2e78cb0459c16 100644 --- a/tests/baselines/reference/methodInAmbientClass1.js +++ b/tests/baselines/reference/methodInAmbientClass1.js @@ -7,3 +7,4 @@ } //// [methodInAmbientClass1.js] +"use strict"; diff --git a/tests/baselines/reference/methodSignatureDeclarationEmit1.js b/tests/baselines/reference/methodSignatureDeclarationEmit1.js index 9bbe5b5982726..dea442992fe03 100644 --- a/tests/baselines/reference/methodSignatureDeclarationEmit1.js +++ b/tests/baselines/reference/methodSignatureDeclarationEmit1.js @@ -9,6 +9,7 @@ class C { } //// [methodSignatureDeclarationEmit1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/methodSignatureHandledDeclarationKindForSymbol.js b/tests/baselines/reference/methodSignatureHandledDeclarationKindForSymbol.js index 11bd72503b19e..9d3d3057ef92b 100644 --- a/tests/baselines/reference/methodSignatureHandledDeclarationKindForSymbol.js +++ b/tests/baselines/reference/methodSignatureHandledDeclarationKindForSymbol.js @@ -12,3 +12,4 @@ interface Foo { //// [methodSignatureHandledDeclarationKindForSymbol.js] +"use strict"; diff --git a/tests/baselines/reference/methodSignaturesWithOverloads.js b/tests/baselines/reference/methodSignaturesWithOverloads.js index ae26999902265..dd6336ecd7c0c 100644 --- a/tests/baselines/reference/methodSignaturesWithOverloads.js +++ b/tests/baselines/reference/methodSignaturesWithOverloads.js @@ -22,6 +22,7 @@ var c2: { }; //// [methodSignaturesWithOverloads.js] +"use strict"; // Object type literals permit overloads with optionality but they must match var c; var c2; diff --git a/tests/baselines/reference/methodSignaturesWithOverloads2.js b/tests/baselines/reference/methodSignaturesWithOverloads2.js index a3e2756a6ba2e..711f35f7cbdf8 100644 --- a/tests/baselines/reference/methodSignaturesWithOverloads2.js +++ b/tests/baselines/reference/methodSignaturesWithOverloads2.js @@ -31,6 +31,7 @@ c2.func4 = c2.func5; c2.func5 = c2.func4; //// [methodSignaturesWithOverloads2.js] +"use strict"; // Object type literals permit overloads with optionality but they must match var c; // no errors diff --git a/tests/baselines/reference/methodsReturningThis.js b/tests/baselines/reference/methodsReturningThis.js index f590d793114bf..aa0ba1cf13ae9 100644 --- a/tests/baselines/reference/methodsReturningThis.js +++ b/tests/baselines/reference/methodsReturningThis.js @@ -22,6 +22,7 @@ Class.prototype.m9 = function () { return this; }; //// [output.js] +"use strict"; function Class() { } // error: 'Class' doesn't have property 'notPresent' diff --git a/tests/baselines/reference/mismatchedClassConstructorVariable.js b/tests/baselines/reference/mismatchedClassConstructorVariable.js index e54a95d1a6940..fe8431ecd145f 100644 --- a/tests/baselines/reference/mismatchedClassConstructorVariable.js +++ b/tests/baselines/reference/mismatchedClassConstructorVariable.js @@ -6,6 +6,7 @@ class baz { } class foo { } //// [mismatchedClassConstructorVariable.js] +"use strict"; var baz; var baz = /** @class */ (function () { function baz() { diff --git a/tests/baselines/reference/mismatchedExplicitTypeParameterAndArgumentType.js b/tests/baselines/reference/mismatchedExplicitTypeParameterAndArgumentType.js index 1d7f765184578..5628f455a85ce 100644 --- a/tests/baselines/reference/mismatchedExplicitTypeParameterAndArgumentType.js +++ b/tests/baselines/reference/mismatchedExplicitTypeParameterAndArgumentType.js @@ -15,6 +15,7 @@ var r7b = map([1, ""], (x) => x.toString()); // error var r8 = map([1, ""], (x) => x.toString()); //// [mismatchedExplicitTypeParameterAndArgumentType.js] +"use strict"; function map(xs, f) { var ys = []; xs.forEach(function (x) { return ys.push(f(x)); }); diff --git a/tests/baselines/reference/mismatchedGenericArguments1.js b/tests/baselines/reference/mismatchedGenericArguments1.js index d5de663c9447c..cc2f91b708b80 100644 --- a/tests/baselines/reference/mismatchedGenericArguments1.js +++ b/tests/baselines/reference/mismatchedGenericArguments1.js @@ -18,6 +18,7 @@ class C2 implements IFoo { //// [mismatchedGenericArguments1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/missingAndExcessProperties.js b/tests/baselines/reference/missingAndExcessProperties.js index 7a45d88675e92..6e012195971a7 100644 --- a/tests/baselines/reference/missingAndExcessProperties.js +++ b/tests/baselines/reference/missingAndExcessProperties.js @@ -37,6 +37,7 @@ function f4() { //// [missingAndExcessProperties.js] +"use strict"; // Missing properties function f1() { var _a = {}, x = _a.x, y = _a.y; diff --git a/tests/baselines/reference/missingArgument1.js b/tests/baselines/reference/missingArgument1.js index aa42f261cc0fe..a16fac39ee1b6 100644 --- a/tests/baselines/reference/missingArgument1.js +++ b/tests/baselines/reference/missingArgument1.js @@ -4,4 +4,5 @@ foo(a,,b); //// [missingArgument1.js] +"use strict"; foo(a, b); diff --git a/tests/baselines/reference/missingCloseBrace.js b/tests/baselines/reference/missingCloseBrace.js index ba420e7729f50..31472ace2999a 100644 --- a/tests/baselines/reference/missingCloseBrace.js +++ b/tests/baselines/reference/missingCloseBrace.js @@ -12,6 +12,7 @@ function base_init() { //// [missingCloseBrace.js] +"use strict"; function base_init() { { } diff --git a/tests/baselines/reference/missingCloseBraceInObjectLiteral.js b/tests/baselines/reference/missingCloseBraceInObjectLiteral.js index 3180482e7000f..9c00ae5c18532 100644 --- a/tests/baselines/reference/missingCloseBraceInObjectLiteral.js +++ b/tests/baselines/reference/missingCloseBraceInObjectLiteral.js @@ -8,6 +8,7 @@ var foo = { //// [missingCloseBraceInObjectLiteral.js] +"use strict"; var foo = { a: 'a', b: 'b', diff --git a/tests/baselines/reference/missingCloseBracketInArray.js b/tests/baselines/reference/missingCloseBracketInArray.js index 5a63cc7268500..18c48b4c4ea2b 100644 --- a/tests/baselines/reference/missingCloseBracketInArray.js +++ b/tests/baselines/reference/missingCloseBracketInArray.js @@ -4,4 +4,5 @@ var alphas:string[] = alphas = ["1","2","3","4" //// [missingCloseBracketInArray.js] +"use strict"; var alphas = alphas = ["1", "2", "3", "4"]; diff --git a/tests/baselines/reference/missingCloseParenStatements.errors.txt b/tests/baselines/reference/missingCloseParenStatements.errors.txt index 2c7829a92049b..0d2e3bdca3f6d 100644 --- a/tests/baselines/reference/missingCloseParenStatements.errors.txt +++ b/tests/baselines/reference/missingCloseParenStatements.errors.txt @@ -1,10 +1,11 @@ missingCloseParenStatements.ts(2,26): error TS1005: ')' expected. missingCloseParenStatements.ts(4,5): error TS1005: ')' expected. +missingCloseParenStatements.ts(8,13): error TS1101: 'with' statements are not allowed in strict mode. missingCloseParenStatements.ts(8,39): error TS1005: ')' expected. missingCloseParenStatements.ts(11,35): error TS1005: ')' expected. -==== missingCloseParenStatements.ts (4 errors) ==== +==== missingCloseParenStatements.ts (5 errors) ==== var a1, a2, a3 = 0; if ( a1 && (a2 + a3 > 0) { ~ @@ -19,6 +20,8 @@ missingCloseParenStatements.ts(11,35): error TS1005: ')' expected. var i = i + 1; a1 = a1 + i; with ((a2 + a3 > 0) && a1 { + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~ !!! error TS1005: ')' expected. !!! related TS1007 missingCloseParenStatements.ts:8:18: The parser expected to find a ')' to match the '(' token here. diff --git a/tests/baselines/reference/missingCloseParenStatements.js b/tests/baselines/reference/missingCloseParenStatements.js index f0e4de88167a5..b3efecc7024ff 100644 --- a/tests/baselines/reference/missingCloseParenStatements.js +++ b/tests/baselines/reference/missingCloseParenStatements.js @@ -16,6 +16,7 @@ if ( a1 && (a2 + a3 > 0) { } //// [missingCloseParenStatements.js] +"use strict"; var a1, a2, a3 = 0; if (a1 && (a2 + a3 > 0)) { while ((a2 > 0) && a1) { diff --git a/tests/baselines/reference/missingCommaInTemplateStringsArray.js b/tests/baselines/reference/missingCommaInTemplateStringsArray.js index 22da2927fecb0..9bcae4fb1e901 100644 --- a/tests/baselines/reference/missingCommaInTemplateStringsArray.js +++ b/tests/baselines/reference/missingCommaInTemplateStringsArray.js @@ -7,6 +7,7 @@ var array = [ ]; //// [missingCommaInTemplateStringsArray.js] +"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; diff --git a/tests/baselines/reference/missingDecoratorType.js b/tests/baselines/reference/missingDecoratorType.js index cfcc301d8a67f..8b5ac3b49b560 100644 --- a/tests/baselines/reference/missingDecoratorType.js +++ b/tests/baselines/reference/missingDecoratorType.js @@ -21,7 +21,9 @@ class C { //// [a.js] +"use strict"; //// [b.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/missingDomElement_UsingDomLib.js b/tests/baselines/reference/missingDomElement_UsingDomLib.js index 782eb02393c97..5052ba7c7cc46 100644 --- a/tests/baselines/reference/missingDomElement_UsingDomLib.js +++ b/tests/baselines/reference/missingDomElement_UsingDomLib.js @@ -7,4 +7,5 @@ interface HTMLMissingElement {} //// [missingDomElement_UsingDomLib.js] +"use strict"; ({}).textContent; diff --git a/tests/baselines/reference/missingDomElements.js b/tests/baselines/reference/missingDomElements.js index 8eefafba9e470..258c2dbf74fed 100644 --- a/tests/baselines/reference/missingDomElements.js +++ b/tests/baselines/reference/missingDomElements.js @@ -21,6 +21,7 @@ interface Node { //// [missingDomElements.js] +"use strict"; ({}.textContent); ({}.textContent); ({}.textContent); diff --git a/tests/baselines/reference/missingImportAfterModuleImport.js b/tests/baselines/reference/missingImportAfterModuleImport.js index 2cb0348f328ec..ff560b000deab 100644 --- a/tests/baselines/reference/missingImportAfterModuleImport.js +++ b/tests/baselines/reference/missingImportAfterModuleImport.js @@ -23,6 +23,7 @@ export = MainModule; //// [missingImportAfterModuleImport_0.js] +"use strict"; //// [missingImportAfterModuleImport_1.js] "use strict"; var MainModule = /** @class */ (function () { diff --git a/tests/baselines/reference/missingPropertiesOfClassExpression.js b/tests/baselines/reference/missingPropertiesOfClassExpression.js index 863496dfacbac..d90bacafc0e76 100644 --- a/tests/baselines/reference/missingPropertiesOfClassExpression.js +++ b/tests/baselines/reference/missingPropertiesOfClassExpression.js @@ -9,6 +9,7 @@ class George extends class { reset() { return this.y; } } { //// [missingPropertiesOfClassExpression.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/missingReturnStatement.js b/tests/baselines/reference/missingReturnStatement.js index c1ee76028f7dc..ba43f5005493b 100644 --- a/tests/baselines/reference/missingReturnStatement.js +++ b/tests/baselines/reference/missingReturnStatement.js @@ -10,6 +10,7 @@ namespace Test { //// [missingReturnStatement.js] +"use strict"; var Test; (function (Test) { var Bug = /** @class */ (function () { diff --git a/tests/baselines/reference/missingReturnStatement1.js b/tests/baselines/reference/missingReturnStatement1.js index e9b1bfab69fc5..8c77e96a51064 100644 --- a/tests/baselines/reference/missingReturnStatement1.js +++ b/tests/baselines/reference/missingReturnStatement1.js @@ -9,6 +9,7 @@ class Foo { //// [missingReturnStatement1.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/missingSelf.js b/tests/baselines/reference/missingSelf.js index 644ffa44e24d9..e6de8f472ef14 100644 --- a/tests/baselines/reference/missingSelf.js +++ b/tests/baselines/reference/missingSelf.js @@ -21,6 +21,7 @@ c2.b(); //// [missingSelf.js] +"use strict"; var CalcButton = /** @class */ (function () { function CalcButton() { } diff --git a/tests/baselines/reference/missingTypeArguments1.js b/tests/baselines/reference/missingTypeArguments1.js index c3c192de3c303..6b301473c8610 100644 --- a/tests/baselines/reference/missingTypeArguments1.js +++ b/tests/baselines/reference/missingTypeArguments1.js @@ -57,6 +57,7 @@ var a10: X10; //// [missingTypeArguments1.js] +"use strict"; var Y = /** @class */ (function () { function Y() { } diff --git a/tests/baselines/reference/missingTypeArguments2.js b/tests/baselines/reference/missingTypeArguments2.js index 5d9594fc815cc..53ff45ea36003 100644 --- a/tests/baselines/reference/missingTypeArguments2.js +++ b/tests/baselines/reference/missingTypeArguments2.js @@ -9,6 +9,7 @@ var y: A; (): A => null; //// [missingTypeArguments2.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/missingTypeArguments3.js b/tests/baselines/reference/missingTypeArguments3.js index 7ee4cacc595b0..0b91d1d4232cc 100644 --- a/tests/baselines/reference/missingTypeArguments3.js +++ b/tests/baselines/reference/missingTypeArguments3.js @@ -44,3 +44,4 @@ declare namespace linq { //// [missingTypeArguments3.js] +"use strict"; diff --git a/tests/baselines/reference/misspelledNewMetaProperty.js b/tests/baselines/reference/misspelledNewMetaProperty.js index caf5f5989d953..648f95331670b 100644 --- a/tests/baselines/reference/misspelledNewMetaProperty.js +++ b/tests/baselines/reference/misspelledNewMetaProperty.js @@ -4,4 +4,5 @@ function foo(){new.targ} //// [misspelledNewMetaProperty.js] +"use strict"; function foo() { new.targ; } diff --git a/tests/baselines/reference/mixedExports.js b/tests/baselines/reference/mixedExports.js index 3d8d32a78a1da..effb167c02098 100644 --- a/tests/baselines/reference/mixedExports.js +++ b/tests/baselines/reference/mixedExports.js @@ -19,3 +19,4 @@ namespace A { } //// [mixedExports.js] +"use strict"; diff --git a/tests/baselines/reference/mixedPropertyElementAccessAssignmentDeclaration.js b/tests/baselines/reference/mixedPropertyElementAccessAssignmentDeclaration.js index d11ec6a1c1891..1a1534bcc32e2 100644 --- a/tests/baselines/reference/mixedPropertyElementAccessAssignmentDeclaration.js +++ b/tests/baselines/reference/mixedPropertyElementAccessAssignmentDeclaration.js @@ -7,6 +7,7 @@ arr[0].prop[2] = {}; //// [mixedPropertyElementAccessAssignmentDeclaration.js] +"use strict"; // Should not crash: #34642 var arr = []; arr[0].prop[2] = {}; diff --git a/tests/baselines/reference/mixedStaticAndInstanceClassMembers.js b/tests/baselines/reference/mixedStaticAndInstanceClassMembers.js index 2074cfa375de5..82ccd0ed04039 100644 --- a/tests/baselines/reference/mixedStaticAndInstanceClassMembers.js +++ b/tests/baselines/reference/mixedStaticAndInstanceClassMembers.js @@ -18,6 +18,7 @@ class B { } //// [mixedStaticAndInstanceClassMembers.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/mixinAbstractClasses.2.js b/tests/baselines/reference/mixinAbstractClasses.2.js index bc06f13c05062..5b140b615016a 100644 --- a/tests/baselines/reference/mixinAbstractClasses.2.js +++ b/tests/baselines/reference/mixinAbstractClasses.2.js @@ -28,6 +28,7 @@ class DerivedFromAbstract extends MixedBase { new MixedBase(); //// [mixinAbstractClasses.2.js] +"use strict"; function Mixin(baseClass) { // error expected: A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'. class MixinClass extends baseClass { diff --git a/tests/baselines/reference/mixinAbstractClasses.js b/tests/baselines/reference/mixinAbstractClasses.js index e787c467451bf..25a0a66a1b244 100644 --- a/tests/baselines/reference/mixinAbstractClasses.js +++ b/tests/baselines/reference/mixinAbstractClasses.js @@ -37,6 +37,7 @@ wasAbstract.abstractBaseMethod(); wasAbstract.mixinMethod(); //// [mixinAbstractClasses.js] +"use strict"; function Mixin(baseClass) { class MixinClass extends baseClass { mixinMethod() { diff --git a/tests/baselines/reference/mixinAbstractClassesReturnTypeInference.js b/tests/baselines/reference/mixinAbstractClassesReturnTypeInference.js index 98bfeaf3a3105..afe813eaf3105 100644 --- a/tests/baselines/reference/mixinAbstractClassesReturnTypeInference.js +++ b/tests/baselines/reference/mixinAbstractClassesReturnTypeInference.js @@ -25,6 +25,7 @@ class DerivedFromAbstract2 extends Mixin2(AbstractBase) { //// [mixinAbstractClassesReturnTypeInference.js] +"use strict"; class AbstractBase { } function Mixin2(baseClass) { diff --git a/tests/baselines/reference/mixinAccessModifiers.js b/tests/baselines/reference/mixinAccessModifiers.js index 1effc9954afb8..5c7ee1af7cfed 100644 --- a/tests/baselines/reference/mixinAccessModifiers.js +++ b/tests/baselines/reference/mixinAccessModifiers.js @@ -135,6 +135,7 @@ function f9(x: ProtectedGeneric<{a: void;}> & ProtectedGeneric<{a:void;b:void;}> //// [mixinAccessModifiers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/mixinClassesAnnotated.js b/tests/baselines/reference/mixinClassesAnnotated.js index f8d9bdc3ac972..ab5c1b91b43c7 100644 --- a/tests/baselines/reference/mixinClassesAnnotated.js +++ b/tests/baselines/reference/mixinClassesAnnotated.js @@ -69,6 +69,7 @@ class Thing3 extends Thing2 { //// [mixinClassesAnnotated.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/mixinClassesAnonymous.js b/tests/baselines/reference/mixinClassesAnonymous.js index e8c6c892e8283..cdafd74dcfdcd 100644 --- a/tests/baselines/reference/mixinClassesAnonymous.js +++ b/tests/baselines/reference/mixinClassesAnonymous.js @@ -68,6 +68,7 @@ const Timestamped = >(Base: CT) => { //// [mixinClassesAnonymous.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/mixinClassesMembers.js b/tests/baselines/reference/mixinClassesMembers.js index 894e7e31d386f..5860711974a92 100644 --- a/tests/baselines/reference/mixinClassesMembers.js +++ b/tests/baselines/reference/mixinClassesMembers.js @@ -101,6 +101,7 @@ class C3 extends Mixed3 { //// [mixinClassesMembers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/mixinPrivateAndProtected.js b/tests/baselines/reference/mixinPrivateAndProtected.js index 3dbf93e89b76a..c53a34565457d 100644 --- a/tests/baselines/reference/mixinPrivateAndProtected.js +++ b/tests/baselines/reference/mixinPrivateAndProtected.js @@ -92,6 +92,7 @@ class Customer extends PersonMixin(Person) { //// [mixinPrivateAndProtected.js] +"use strict"; // Repro from #13830 var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/mixingApparentTypeOverrides.js b/tests/baselines/reference/mixingApparentTypeOverrides.js index f1cba2bcbaa94..4c63a0859cbdd 100644 --- a/tests/baselines/reference/mixingApparentTypeOverrides.js +++ b/tests/baselines/reference/mixingApparentTypeOverrides.js @@ -31,6 +31,7 @@ class C extends A { } //// [mixingApparentTypeOverrides.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/mixingFunctionAndAmbientModule1.js b/tests/baselines/reference/mixingFunctionAndAmbientModule1.js index ccf125f8a0429..ab474d21f5925 100644 --- a/tests/baselines/reference/mixingFunctionAndAmbientModule1.js +++ b/tests/baselines/reference/mixingFunctionAndAmbientModule1.js @@ -45,6 +45,7 @@ namespace E { //// [mixingFunctionAndAmbientModule1.js] +"use strict"; var A; (function (A) { function My(s) { } diff --git a/tests/baselines/reference/mixingStaticAndInstanceOverloads.js b/tests/baselines/reference/mixingStaticAndInstanceOverloads.js index ad8f20bb76e23..8eb06ee5d5137 100644 --- a/tests/baselines/reference/mixingStaticAndInstanceOverloads.js +++ b/tests/baselines/reference/mixingStaticAndInstanceOverloads.js @@ -38,6 +38,7 @@ class C5 { } //// [mixingStaticAndInstanceOverloads.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/modFunctionCrash.js b/tests/baselines/reference/modFunctionCrash.js index 682573b41f0cc..d476d09568031 100644 --- a/tests/baselines/reference/modFunctionCrash.js +++ b/tests/baselines/reference/modFunctionCrash.js @@ -9,4 +9,5 @@ declare namespace Q { Q.f(function() {this;}); //// [modFunctionCrash.js] +"use strict"; Q.f(function () { this; }); diff --git a/tests/baselines/reference/modKeyword.js b/tests/baselines/reference/modKeyword.js index 9dca43fadeacc..7ea63b03f97f8 100644 --- a/tests/baselines/reference/modKeyword.js +++ b/tests/baselines/reference/modKeyword.js @@ -7,6 +7,7 @@ var foo:any; var _ = module.exports = foo //// [modKeyword.js] +"use strict"; var module; var foo; var _ = module.exports = foo; diff --git a/tests/baselines/reference/modifierOnClassDeclarationMemberInFunction.js b/tests/baselines/reference/modifierOnClassDeclarationMemberInFunction.js index df3a9ced900db..04407610ccfca 100644 --- a/tests/baselines/reference/modifierOnClassDeclarationMemberInFunction.js +++ b/tests/baselines/reference/modifierOnClassDeclarationMemberInFunction.js @@ -10,6 +10,7 @@ function f() { } //// [modifierOnClassDeclarationMemberInFunction.js] +"use strict"; function f() { var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/modifierOnClassExpressionMemberInFunction.js b/tests/baselines/reference/modifierOnClassExpressionMemberInFunction.js index ce1cfc0aa16bb..8a7b9b21153d4 100644 --- a/tests/baselines/reference/modifierOnClassExpressionMemberInFunction.js +++ b/tests/baselines/reference/modifierOnClassExpressionMemberInFunction.js @@ -10,6 +10,7 @@ function g() { } //// [modifierOnClassExpressionMemberInFunction.js] +"use strict"; function g() { var _a; var x = (_a = /** @class */ (function () { diff --git a/tests/baselines/reference/modifierOnParameter1.js b/tests/baselines/reference/modifierOnParameter1.js index 52ef12853ff2a..37e9bf4b6bf55 100644 --- a/tests/baselines/reference/modifierOnParameter1.js +++ b/tests/baselines/reference/modifierOnParameter1.js @@ -6,6 +6,7 @@ class C { } //// [modifierOnParameter1.js] +"use strict"; var C = /** @class */ (function () { function C(p) { } diff --git a/tests/baselines/reference/modifiersInObjectLiterals.js b/tests/baselines/reference/modifiersInObjectLiterals.js index 708e217980aeb..6d15910aa9a49 100644 --- a/tests/baselines/reference/modifiersInObjectLiterals.js +++ b/tests/baselines/reference/modifiersInObjectLiterals.js @@ -12,6 +12,7 @@ data.foo + data.bar + data.baz + data.noWay //// [modifiersInObjectLiterals.js] +"use strict"; var data = { foo: 'hey', bar: 'nay', diff --git a/tests/baselines/reference/modifiersOnInterfaceIndexSignature1.js b/tests/baselines/reference/modifiersOnInterfaceIndexSignature1.js index e73985265830a..3d15a3197e573 100644 --- a/tests/baselines/reference/modifiersOnInterfaceIndexSignature1.js +++ b/tests/baselines/reference/modifiersOnInterfaceIndexSignature1.js @@ -6,3 +6,4 @@ interface I { } //// [modifiersOnInterfaceIndexSignature1.js] +"use strict"; diff --git a/tests/baselines/reference/modularizeLibrary_Dom.asynciterable.js b/tests/baselines/reference/modularizeLibrary_Dom.asynciterable.js index 3a681bcde07e2..f360e1912109a 100644 --- a/tests/baselines/reference/modularizeLibrary_Dom.asynciterable.js +++ b/tests/baselines/reference/modularizeLibrary_Dom.asynciterable.js @@ -9,6 +9,7 @@ navigator.storage.getDirectory().then(async directory => { //// [modularizeLibrary_Dom.asynciterable.js] +"use strict"; navigator.storage.getDirectory().then(async (directory) => { for await (const [key, handle] of directory) { handle.kind; diff --git a/tests/baselines/reference/modularizeLibrary_Dom.iterable.js b/tests/baselines/reference/modularizeLibrary_Dom.iterable.js index 50fee3b6cc8f6..c928145715037 100644 --- a/tests/baselines/reference/modularizeLibrary_Dom.iterable.js +++ b/tests/baselines/reference/modularizeLibrary_Dom.iterable.js @@ -6,6 +6,7 @@ for (const element of document.getElementsByTagName("a")) { } //// [modularizeLibrary_Dom.iterable.js] +"use strict"; for (const element of document.getElementsByTagName("a")) { element.href; } diff --git a/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib.js b/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib.js index 7820fcaeeb072..184b8f92b87ec 100644 --- a/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib.js +++ b/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib.js @@ -10,6 +10,7 @@ f(1, 2, 3); //// [modularizeLibrary_ErrorFromUsingES6ArrayWithOnlyES6ArrayLib.js] +"use strict"; // Error missing basic JavaScript objects function f(x, y, z) { return Array.from(arguments); diff --git a/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6FeaturesWithOnlyES5Lib.js b/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6FeaturesWithOnlyES5Lib.js index e4470ab6c2abc..224453a05d529 100644 --- a/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6FeaturesWithOnlyES5Lib.js +++ b/tests/baselines/reference/modularizeLibrary_ErrorFromUsingES6FeaturesWithOnlyES5Lib.js @@ -57,6 +57,7 @@ const o1 = { } //// [modularizeLibrary_ErrorFromUsingES6FeaturesWithOnlyES5Lib.js] +"use strict"; // All will be error from using ES6 features but only include ES5 library // Using Es6 array function f(x, y, z) { diff --git a/tests/baselines/reference/modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.js b/tests/baselines/reference/modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.js index a151b270296ab..ce55adff68edf 100644 --- a/tests/baselines/reference/modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.js +++ b/tests/baselines/reference/modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.js @@ -10,6 +10,7 @@ let a = ['c', 'd']; a[Symbol.isConcatSpreadable] = false; //// [modularizeLibrary_ErrorFromUsingWellknownSymbolWithOutES6WellknownSymbolLib.js] +"use strict"; function f(x, y, z) { return Array.from(arguments); } diff --git a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.js b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.js index a5b8ea16d73e3..a1254b4431903 100644 --- a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.js +++ b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions1.js @@ -83,6 +83,7 @@ const o1 = { } //// [modularizeLibrary_NoErrorDuplicateLibOptions1.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.js b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.js index e7e286e4c1164..b3f2dfaba88e4 100644 --- a/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.js +++ b/tests/baselines/reference/modularizeLibrary_NoErrorDuplicateLibOptions2.js @@ -83,6 +83,7 @@ const o1 = { } //// [modularizeLibrary_NoErrorDuplicateLibOptions2.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.js b/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.js index 53bdbc65ac852..b15182b8b1808 100644 --- a/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.js +++ b/tests/baselines/reference/modularizeLibrary_TargetES5UsingES6Lib.js @@ -83,6 +83,7 @@ const o1 = { } //// [modularizeLibrary_TargetES5UsingES6Lib.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.js b/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.js index bce5908f755c5..181f6eb9067fb 100644 --- a/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.js +++ b/tests/baselines/reference/modularizeLibrary_TargetES6UsingES6Lib.js @@ -56,6 +56,7 @@ const o1 = { } //// [modularizeLibrary_TargetES6UsingES6Lib.js] +"use strict"; // Using Es6 array function f(x, y, z) { return Array.from(arguments); diff --git a/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.js b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.js index 79f042c09e830..4c6b195dcad67 100644 --- a/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.js +++ b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6ArrayLib.js @@ -9,6 +9,7 @@ function f(x: number, y: number, z: number) { f(1, 2, 3); //// [modularizeLibrary_UsingES5LibAndES6ArrayLib.js] +"use strict"; // No error function f(x, y, z) { return Array.from(arguments); diff --git a/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6FeatureLibs.js b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6FeatureLibs.js index d682190b3fefc..e7b84b04fbeac 100644 --- a/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6FeatureLibs.js +++ b/tests/baselines/reference/modularizeLibrary_UsingES5LibAndES6FeatureLibs.js @@ -16,6 +16,7 @@ function* idGen() { //// [modularizeLibrary_UsingES5LibAndES6FeatureLibs.js] +"use strict"; var s = Symbol(); var t = {}; var p = new Proxy(t, {}); diff --git a/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.js b/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.js index 0a31054c350fa..3e41cbba81b0d 100644 --- a/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.js +++ b/tests/baselines/reference/modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.js @@ -10,6 +10,7 @@ let a = ['c', 'd']; a[Symbol.isConcatSpreadable] = false; //// [modularizeLibrary_UsingES5LibES6ArrayLibES6WellknownSymbolLib.js] +"use strict"; function f(x, y, z) { return Array.from(arguments); } diff --git a/tests/baselines/reference/modularizeLibrary_Worker.asynciterable.js b/tests/baselines/reference/modularizeLibrary_Worker.asynciterable.js index 5810e5062be82..bebd6da41ea97 100644 --- a/tests/baselines/reference/modularizeLibrary_Worker.asynciterable.js +++ b/tests/baselines/reference/modularizeLibrary_Worker.asynciterable.js @@ -9,6 +9,7 @@ navigator.storage.getDirectory().then(async directory => { //// [modularizeLibrary_Worker.asynciterable.js] +"use strict"; navigator.storage.getDirectory().then(async (directory) => { for await (const [key, handle] of directory) { handle.kind; diff --git a/tests/baselines/reference/modularizeLibrary_Worker.iterable.js b/tests/baselines/reference/modularizeLibrary_Worker.iterable.js index bf4b3790f218c..dad4de8803def 100644 --- a/tests/baselines/reference/modularizeLibrary_Worker.iterable.js +++ b/tests/baselines/reference/modularizeLibrary_Worker.iterable.js @@ -7,6 +7,7 @@ for (const [key, entry] of new FormData()) { //// [modularizeLibrary_Worker.iterable.js] +"use strict"; for (const [key, entry] of new FormData()) { entry; } diff --git a/tests/baselines/reference/moduleAliasInterface.js b/tests/baselines/reference/moduleAliasInterface.js index 2bd6d5d9e2d32..dc0593228fb2c 100644 --- a/tests/baselines/reference/moduleAliasInterface.js +++ b/tests/baselines/reference/moduleAliasInterface.js @@ -58,6 +58,7 @@ namespace B1 { //// [moduleAliasInterface.js] +"use strict"; var _modes; (function (_modes) { var Mode = /** @class */ (function () { diff --git a/tests/baselines/reference/moduleAndInterfaceSharingName.js b/tests/baselines/reference/moduleAndInterfaceSharingName.js index 05cbb77f40309..b2e2548b2ab41 100644 --- a/tests/baselines/reference/moduleAndInterfaceSharingName.js +++ b/tests/baselines/reference/moduleAndInterfaceSharingName.js @@ -11,5 +11,6 @@ var z: X.Y.Z = null; var z2: X.Y; //// [moduleAndInterfaceSharingName.js] +"use strict"; var z = null; var z2; diff --git a/tests/baselines/reference/moduleAndInterfaceSharingName2.js b/tests/baselines/reference/moduleAndInterfaceSharingName2.js index 5aca5f3429a08..7998d3081fccb 100644 --- a/tests/baselines/reference/moduleAndInterfaceSharingName2.js +++ b/tests/baselines/reference/moduleAndInterfaceSharingName2.js @@ -11,5 +11,6 @@ var z: X.Y.Z = null; var z2: X.Y; //// [moduleAndInterfaceSharingName2.js] +"use strict"; var z = null; var z2; diff --git a/tests/baselines/reference/moduleAndInterfaceSharingName3.js b/tests/baselines/reference/moduleAndInterfaceSharingName3.js index fa007cc30d06f..88b2632515d55 100644 --- a/tests/baselines/reference/moduleAndInterfaceSharingName3.js +++ b/tests/baselines/reference/moduleAndInterfaceSharingName3.js @@ -11,5 +11,6 @@ var z: X.Y.Z = null; var z2: X.Y; //// [moduleAndInterfaceSharingName3.js] +"use strict"; var z = null; var z2; diff --git a/tests/baselines/reference/moduleAndInterfaceSharingName4.js b/tests/baselines/reference/moduleAndInterfaceSharingName4.js index 978db06812930..09b52bfb7f990 100644 --- a/tests/baselines/reference/moduleAndInterfaceSharingName4.js +++ b/tests/baselines/reference/moduleAndInterfaceSharingName4.js @@ -12,3 +12,4 @@ declare namespace D3 { } //// [moduleAndInterfaceSharingName4.js] +"use strict"; diff --git a/tests/baselines/reference/moduleAndInterfaceWithSameName.js b/tests/baselines/reference/moduleAndInterfaceWithSameName.js index 7361da03198fc..9dee132c06c3e 100644 --- a/tests/baselines/reference/moduleAndInterfaceWithSameName.js +++ b/tests/baselines/reference/moduleAndInterfaceWithSameName.js @@ -34,6 +34,7 @@ namespace Foo3 { } //// [moduleAndInterfaceWithSameName.js] +"use strict"; var Foo1; (function (Foo1) { var Bar; diff --git a/tests/baselines/reference/moduleAsBaseType.js b/tests/baselines/reference/moduleAsBaseType.js index 379e22a91620f..ff5bbbca42ccf 100644 --- a/tests/baselines/reference/moduleAsBaseType.js +++ b/tests/baselines/reference/moduleAsBaseType.js @@ -7,6 +7,7 @@ interface I extends M { } class C2 implements M { } //// [moduleAsBaseType.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/moduleAssignmentCompat1.js b/tests/baselines/reference/moduleAssignmentCompat1.js index e3a41f27cd422..9b3681c92b3e3 100644 --- a/tests/baselines/reference/moduleAssignmentCompat1.js +++ b/tests/baselines/reference/moduleAssignmentCompat1.js @@ -19,6 +19,7 @@ b = a; //// [moduleAssignmentCompat1.js] +"use strict"; var A; (function (A) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/moduleAssignmentCompat2.js b/tests/baselines/reference/moduleAssignmentCompat2.js index 8907f43f48af7..4fc6e3b48e11d 100644 --- a/tests/baselines/reference/moduleAssignmentCompat2.js +++ b/tests/baselines/reference/moduleAssignmentCompat2.js @@ -16,6 +16,7 @@ a = b; b = a; // error //// [moduleAssignmentCompat2.js] +"use strict"; var A; (function (A) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/moduleAssignmentCompat3.js b/tests/baselines/reference/moduleAssignmentCompat3.js index 823518659e48c..3776376cb3b80 100644 --- a/tests/baselines/reference/moduleAssignmentCompat3.js +++ b/tests/baselines/reference/moduleAssignmentCompat3.js @@ -17,6 +17,7 @@ b = a; //// [moduleAssignmentCompat3.js] +"use strict"; var A; (function (A) { A.x = 1; diff --git a/tests/baselines/reference/moduleAssignmentCompat4.js b/tests/baselines/reference/moduleAssignmentCompat4.js index 1b506eecc6a90..bccb48ee78e6a 100644 --- a/tests/baselines/reference/moduleAssignmentCompat4.js +++ b/tests/baselines/reference/moduleAssignmentCompat4.js @@ -19,6 +19,7 @@ a = b; b = a; // error //// [moduleAssignmentCompat4.js] +"use strict"; var A; (function (A) { var M; diff --git a/tests/baselines/reference/moduleAugmentationGlobal6.js b/tests/baselines/reference/moduleAugmentationGlobal6.js index ebd58c06d5229..a6666ae745898 100644 --- a/tests/baselines/reference/moduleAugmentationGlobal6.js +++ b/tests/baselines/reference/moduleAugmentationGlobal6.js @@ -6,3 +6,4 @@ declare global { } //// [moduleAugmentationGlobal6.js] +"use strict"; diff --git a/tests/baselines/reference/moduleAugmentationGlobal6_1.js b/tests/baselines/reference/moduleAugmentationGlobal6_1.js index ab881e65f0fac..a3538ac81c2b6 100644 --- a/tests/baselines/reference/moduleAugmentationGlobal6_1.js +++ b/tests/baselines/reference/moduleAugmentationGlobal6_1.js @@ -6,3 +6,4 @@ global { } //// [moduleAugmentationGlobal6_1.js] +"use strict"; diff --git a/tests/baselines/reference/moduleAugmentationGlobal7.js b/tests/baselines/reference/moduleAugmentationGlobal7.js index b68d022db32c3..cff0c712d38de 100644 --- a/tests/baselines/reference/moduleAugmentationGlobal7.js +++ b/tests/baselines/reference/moduleAugmentationGlobal7.js @@ -8,3 +8,4 @@ namespace A { } //// [moduleAugmentationGlobal7.js] +"use strict"; diff --git a/tests/baselines/reference/moduleAugmentationGlobal7_1.js b/tests/baselines/reference/moduleAugmentationGlobal7_1.js index f1fe7d8a2c8e2..21692a3b10640 100644 --- a/tests/baselines/reference/moduleAugmentationGlobal7_1.js +++ b/tests/baselines/reference/moduleAugmentationGlobal7_1.js @@ -8,3 +8,4 @@ namespace A { } //// [moduleAugmentationGlobal7_1.js] +"use strict"; diff --git a/tests/baselines/reference/moduleClassArrayCodeGenTest.js b/tests/baselines/reference/moduleClassArrayCodeGenTest.js index 05fa75d326dd2..34f31334f2b12 100644 --- a/tests/baselines/reference/moduleClassArrayCodeGenTest.js +++ b/tests/baselines/reference/moduleClassArrayCodeGenTest.js @@ -13,6 +13,7 @@ var t: M.A[] = []; var t2: M.B[] = []; //// [moduleClassArrayCodeGenTest.js] +"use strict"; // Invalid code gen for Array of Module class var M; (function (M) { diff --git a/tests/baselines/reference/moduleCodeGenTest3.js b/tests/baselines/reference/moduleCodeGenTest3.js index 4544ff4a0a6e5..984b9b55419cb 100644 --- a/tests/baselines/reference/moduleCodeGenTest3.js +++ b/tests/baselines/reference/moduleCodeGenTest3.js @@ -6,6 +6,7 @@ namespace Baz { export var x = "hello"; } Baz.x = "goodbye"; //// [moduleCodeGenTest3.js] +"use strict"; var Baz; (function (Baz) { Baz.x = "hello"; diff --git a/tests/baselines/reference/moduleCrashBug1.js b/tests/baselines/reference/moduleCrashBug1.js index 9ae4f0703bc49..64d89e33a64e0 100644 --- a/tests/baselines/reference/moduleCrashBug1.js +++ b/tests/baselines/reference/moduleCrashBug1.js @@ -24,6 +24,7 @@ var m : _modes; //// [moduleCrashBug1.js] +"use strict"; var _modes; (function (_modes) { var Mode = /** @class */ (function () { diff --git a/tests/baselines/reference/moduleElementsInWrongContext.errors.txt b/tests/baselines/reference/moduleElementsInWrongContext.errors.txt index af0204ba8e224..e48229bbef5e7 100644 --- a/tests/baselines/reference/moduleElementsInWrongContext.errors.txt +++ b/tests/baselines/reference/moduleElementsInWrongContext.errors.txt @@ -3,12 +3,14 @@ moduleElementsInWrongContext.ts(3,5): error TS1235: A namespace declaration is o moduleElementsInWrongContext.ts(7,5): error TS1235: A namespace declaration is only allowed at the top level of a namespace or module. moduleElementsInWrongContext.ts(9,5): error TS1234: An ambient module declaration is only allowed at the top level in a file. moduleElementsInWrongContext.ts(13,5): error TS1231: An export assignment must be at the top level of a file or module declaration. +moduleElementsInWrongContext.ts(16,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. moduleElementsInWrongContext.ts(17,5): error TS1233: An export declaration can only be used at the top level of a namespace or module. moduleElementsInWrongContext.ts(18,5): error TS1233: An export declaration can only be used at the top level of a namespace or module. moduleElementsInWrongContext.ts(19,5): error TS1233: An export declaration can only be used at the top level of a namespace or module. moduleElementsInWrongContext.ts(20,5): error TS1258: A default export must be at the top level of a file or module declaration. moduleElementsInWrongContext.ts(21,5): error TS1184: Modifiers cannot appear here. moduleElementsInWrongContext.ts(22,5): error TS1184: Modifiers cannot appear here. +moduleElementsInWrongContext.ts(22,21): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. moduleElementsInWrongContext.ts(23,5): error TS1232: An import declaration can only be used at the top level of a namespace or module. moduleElementsInWrongContext.ts(24,5): error TS1232: An import declaration can only be used at the top level of a namespace or module. moduleElementsInWrongContext.ts(25,5): error TS1232: An import declaration can only be used at the top level of a namespace or module. @@ -17,7 +19,7 @@ moduleElementsInWrongContext.ts(27,5): error TS1232: An import declaration can o moduleElementsInWrongContext.ts(28,5): error TS1232: An import declaration can only be used at the top level of a namespace or module. -==== moduleElementsInWrongContext.ts (17 errors) ==== +==== moduleElementsInWrongContext.ts (19 errors) ==== { namespace M { } ~~~~~~~~~ @@ -44,6 +46,8 @@ moduleElementsInWrongContext.ts(28,5): error TS1232: An import declaration can o var v; function foo() { } + ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. export * from "ambient"; ~~~~~~ !!! error TS1233: An export declaration can only be used at the top level of a namespace or module. @@ -62,6 +66,8 @@ moduleElementsInWrongContext.ts(28,5): error TS1232: An import declaration can o export function bee() { } ~~~~~~ !!! error TS1184: Modifiers cannot appear here. + ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. import I = M; ~~~~~~ !!! error TS1232: An import declaration can only be used at the top level of a namespace or module. diff --git a/tests/baselines/reference/moduleElementsInWrongContext.js b/tests/baselines/reference/moduleElementsInWrongContext.js index 7f815fd504e9a..c69c37215e64c 100644 --- a/tests/baselines/reference/moduleElementsInWrongContext.js +++ b/tests/baselines/reference/moduleElementsInWrongContext.js @@ -33,6 +33,7 @@ //// [moduleElementsInWrongContext.js] +"use strict"; { export = M; var v; diff --git a/tests/baselines/reference/moduleElementsInWrongContext.symbols b/tests/baselines/reference/moduleElementsInWrongContext.symbols index 9bb4ff0da426a..bd6a13380eafb 100644 --- a/tests/baselines/reference/moduleElementsInWrongContext.symbols +++ b/tests/baselines/reference/moduleElementsInWrongContext.symbols @@ -28,11 +28,11 @@ >v : Symbol(v, Decl(moduleElementsInWrongContext.ts, 14, 7)) function foo() { } ->foo : Symbol(foo, Decl(moduleElementsInWrongContext.ts, 14, 10), Decl(moduleElementsInWrongContext.ts, 17, 12)) +>foo : Symbol(foo, Decl(moduleElementsInWrongContext.ts, 14, 10)) export * from "ambient"; export { foo }; ->foo : Symbol(foo, Decl(moduleElementsInWrongContext.ts, 14, 10), Decl(moduleElementsInWrongContext.ts, 17, 12)) +>foo : Symbol(foo, Decl(moduleElementsInWrongContext.ts, 17, 12)) export { baz as b } from "ambient"; >b : Symbol(b, Decl(moduleElementsInWrongContext.ts, 18, 12)) diff --git a/tests/baselines/reference/moduleElementsInWrongContext2.js b/tests/baselines/reference/moduleElementsInWrongContext2.js index bcc20d8b8e703..ad243e3eaaa44 100644 --- a/tests/baselines/reference/moduleElementsInWrongContext2.js +++ b/tests/baselines/reference/moduleElementsInWrongContext2.js @@ -33,6 +33,7 @@ function blah () { //// [moduleElementsInWrongContext2.js] +"use strict"; function blah() { export = M; var v; diff --git a/tests/baselines/reference/moduleElementsInWrongContext3.errors.txt b/tests/baselines/reference/moduleElementsInWrongContext3.errors.txt index dc5ebd4bf9d74..f4023269ffc09 100644 --- a/tests/baselines/reference/moduleElementsInWrongContext3.errors.txt +++ b/tests/baselines/reference/moduleElementsInWrongContext3.errors.txt @@ -3,12 +3,14 @@ moduleElementsInWrongContext3.ts(4,9): error TS1235: A namespace declaration is moduleElementsInWrongContext3.ts(8,9): error TS1235: A namespace declaration is only allowed at the top level of a namespace or module. moduleElementsInWrongContext3.ts(10,9): error TS1234: An ambient module declaration is only allowed at the top level in a file. moduleElementsInWrongContext3.ts(14,9): error TS1231: An export assignment must be at the top level of a file or module declaration. +moduleElementsInWrongContext3.ts(17,18): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. moduleElementsInWrongContext3.ts(18,9): error TS1233: An export declaration can only be used at the top level of a namespace or module. moduleElementsInWrongContext3.ts(19,9): error TS1233: An export declaration can only be used at the top level of a namespace or module. moduleElementsInWrongContext3.ts(20,9): error TS1233: An export declaration can only be used at the top level of a namespace or module. moduleElementsInWrongContext3.ts(21,9): error TS1258: A default export must be at the top level of a file or module declaration. moduleElementsInWrongContext3.ts(22,9): error TS1184: Modifiers cannot appear here. moduleElementsInWrongContext3.ts(23,9): error TS1184: Modifiers cannot appear here. +moduleElementsInWrongContext3.ts(23,25): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. moduleElementsInWrongContext3.ts(24,9): error TS1232: An import declaration can only be used at the top level of a namespace or module. moduleElementsInWrongContext3.ts(25,9): error TS1232: An import declaration can only be used at the top level of a namespace or module. moduleElementsInWrongContext3.ts(26,9): error TS1232: An import declaration can only be used at the top level of a namespace or module. @@ -17,7 +19,7 @@ moduleElementsInWrongContext3.ts(28,9): error TS1232: An import declaration can moduleElementsInWrongContext3.ts(29,9): error TS1232: An import declaration can only be used at the top level of a namespace or module. -==== moduleElementsInWrongContext3.ts (17 errors) ==== +==== moduleElementsInWrongContext3.ts (19 errors) ==== namespace P { { namespace M { } @@ -45,6 +47,8 @@ moduleElementsInWrongContext3.ts(29,9): error TS1232: An import declaration can var v; function foo() { } + ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. export * from "ambient"; ~~~~~~ !!! error TS1233: An export declaration can only be used at the top level of a namespace or module. @@ -63,6 +67,8 @@ moduleElementsInWrongContext3.ts(29,9): error TS1232: An import declaration can export function bee() { } ~~~~~~ !!! error TS1184: Modifiers cannot appear here. + ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. import I = M; ~~~~~~ !!! error TS1232: An import declaration can only be used at the top level of a namespace or module. diff --git a/tests/baselines/reference/moduleElementsInWrongContext3.js b/tests/baselines/reference/moduleElementsInWrongContext3.js index b28181167f1c9..71930463b13f6 100644 --- a/tests/baselines/reference/moduleElementsInWrongContext3.js +++ b/tests/baselines/reference/moduleElementsInWrongContext3.js @@ -34,6 +34,7 @@ namespace P { } //// [moduleElementsInWrongContext3.js] +"use strict"; var P; (function (P) { { diff --git a/tests/baselines/reference/moduleExportAliasElementAccessExpression.js b/tests/baselines/reference/moduleExportAliasElementAccessExpression.js index e140eaeca0e6f..1aee7c80e0548 100644 --- a/tests/baselines/reference/moduleExportAliasElementAccessExpression.js +++ b/tests/baselines/reference/moduleExportAliasElementAccessExpression.js @@ -8,6 +8,7 @@ exports["Does not work yet"] = D; //// [moduleExportAliasElementAccessExpression.js] +"use strict"; function D() { } exports["D"] = D; // (the only package I could find that uses spaces in identifiers is webidl-conversions) diff --git a/tests/baselines/reference/moduleIdentifiers.js b/tests/baselines/reference/moduleIdentifiers.js index 921bb15b675ab..6092133250218 100644 --- a/tests/baselines/reference/moduleIdentifiers.js +++ b/tests/baselines/reference/moduleIdentifiers.js @@ -13,6 +13,7 @@ var x1 = M.a; //var q: m.P; //// [moduleIdentifiers.js] +"use strict"; var M; (function (M) { M.a = 1; diff --git a/tests/baselines/reference/moduleImport.js b/tests/baselines/reference/moduleImport.js index a74344255e7fb..40d259f99448c 100644 --- a/tests/baselines/reference/moduleImport.js +++ b/tests/baselines/reference/moduleImport.js @@ -16,6 +16,7 @@ namespace X { } //// [moduleImport.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/moduleKeywordDeprecated.js b/tests/baselines/reference/moduleKeywordDeprecated.js index 7306e67af7ff8..c58a5eb32cc2c 100644 --- a/tests/baselines/reference/moduleKeywordDeprecated.js +++ b/tests/baselines/reference/moduleKeywordDeprecated.js @@ -22,3 +22,4 @@ export module exported.sub { } //// [foo.js] +"use strict"; diff --git a/tests/baselines/reference/moduleKeywordRepeatError.js b/tests/baselines/reference/moduleKeywordRepeatError.js index 37eaed5cada2b..bdc0d5fc2528a 100644 --- a/tests/baselines/reference/moduleKeywordRepeatError.js +++ b/tests/baselines/reference/moduleKeywordRepeatError.js @@ -6,6 +6,7 @@ module.module { } //// [moduleKeywordRepeatError.js] +"use strict"; // "module.module { }" should raise a syntax error module.module; { } diff --git a/tests/baselines/reference/moduleMemberWithoutTypeAnnotation1.js b/tests/baselines/reference/moduleMemberWithoutTypeAnnotation1.js index 674c486a6604b..972e4c05d76af 100644 --- a/tests/baselines/reference/moduleMemberWithoutTypeAnnotation1.js +++ b/tests/baselines/reference/moduleMemberWithoutTypeAnnotation1.js @@ -49,6 +49,7 @@ namespace TypeScript.Syntax { //// [moduleMemberWithoutTypeAnnotation1.js] +"use strict"; var TypeScript; (function (TypeScript) { var Parser; diff --git a/tests/baselines/reference/moduleMemberWithoutTypeAnnotation2.js b/tests/baselines/reference/moduleMemberWithoutTypeAnnotation2.js index 00e80837d755b..e587266ba24e5 100644 --- a/tests/baselines/reference/moduleMemberWithoutTypeAnnotation2.js +++ b/tests/baselines/reference/moduleMemberWithoutTypeAnnotation2.js @@ -20,6 +20,7 @@ namespace TypeScript { //// [moduleMemberWithoutTypeAnnotation2.js] +"use strict"; var TypeScript; (function (TypeScript) { var CompilerDiagnostics; diff --git a/tests/baselines/reference/moduleMerge.js b/tests/baselines/reference/moduleMerge.js index 155d1d93c80a0..914d8bcb5db26 100644 --- a/tests/baselines/reference/moduleMerge.js +++ b/tests/baselines/reference/moduleMerge.js @@ -26,6 +26,7 @@ namespace A } //// [moduleMerge.js] +"use strict"; // This should not compile both B classes are in the same module this should be a collission var A; (function (A) { diff --git a/tests/baselines/reference/moduleNewExportBug.js b/tests/baselines/reference/moduleNewExportBug.js index 8e0ab18c6f458..4465fdd716c27 100644 --- a/tests/baselines/reference/moduleNewExportBug.js +++ b/tests/baselines/reference/moduleNewExportBug.js @@ -16,6 +16,7 @@ var c : mod1.C; // ERROR: C should not be visible //// [moduleNewExportBug.js] +"use strict"; var mod1; (function (mod1) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/moduleNoEmit.js b/tests/baselines/reference/moduleNoEmit.js index 59ed1e7fc874b..90b2f16cbf3e1 100644 --- a/tests/baselines/reference/moduleNoEmit.js +++ b/tests/baselines/reference/moduleNoEmit.js @@ -6,6 +6,7 @@ namespace Foo { } //// [moduleNoEmit.js] +"use strict"; var Foo; (function (Foo) { 1 + 1; diff --git a/tests/baselines/reference/moduleNoneDynamicImport(target=es2015).js b/tests/baselines/reference/moduleNoneDynamicImport(target=es2015).js index 44c04563b1c64..8285e86946948 100644 --- a/tests/baselines/reference/moduleNoneDynamicImport(target=es2015).js +++ b/tests/baselines/reference/moduleNoneDynamicImport(target=es2015).js @@ -8,6 +8,7 @@ export default 1; //// [a.js] +"use strict"; var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { if (k2 === undefined) k2 = k; var desc = Object.getOwnPropertyDescriptor(m, k); diff --git a/tests/baselines/reference/moduleNoneDynamicImport(target=es2020).js b/tests/baselines/reference/moduleNoneDynamicImport(target=es2020).js index af2a4e0bf4f6f..a6abaf5ed939c 100644 --- a/tests/baselines/reference/moduleNoneDynamicImport(target=es2020).js +++ b/tests/baselines/reference/moduleNoneDynamicImport(target=es2020).js @@ -8,4 +8,5 @@ export default 1; //// [a.js] +"use strict"; const foo = import("./b"); diff --git a/tests/baselines/reference/moduleNoneOutFile.js b/tests/baselines/reference/moduleNoneOutFile.js index 6bce4c35be100..0316f48075213 100644 --- a/tests/baselines/reference/moduleNoneOutFile.js +++ b/tests/baselines/reference/moduleNoneOutFile.js @@ -6,6 +6,7 @@ class Foo {} class Bar extends Foo {} //// [bundle.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/moduleOuterQualification.js b/tests/baselines/reference/moduleOuterQualification.js index d0d5da5a0dead..0461326d02e35 100644 --- a/tests/baselines/reference/moduleOuterQualification.js +++ b/tests/baselines/reference/moduleOuterQualification.js @@ -11,6 +11,7 @@ declare namespace outer { //// [moduleOuterQualification.js] +"use strict"; //// [moduleOuterQualification.d.ts] diff --git a/tests/baselines/reference/moduleProperty1.js b/tests/baselines/reference/moduleProperty1.js index e8b284cdeebfd..341eab63ffb0b 100644 --- a/tests/baselines/reference/moduleProperty1.js +++ b/tests/baselines/reference/moduleProperty1.js @@ -14,6 +14,7 @@ namespace M2 { } //// [moduleProperty1.js] +"use strict"; var M; (function (M) { var x = 10; // variable local to this module body diff --git a/tests/baselines/reference/moduleProperty2.js b/tests/baselines/reference/moduleProperty2.js index adb49f1d1c548..3afd06f39e4dd 100644 --- a/tests/baselines/reference/moduleProperty2.js +++ b/tests/baselines/reference/moduleProperty2.js @@ -17,6 +17,7 @@ namespace N { } //// [moduleProperty2.js] +"use strict"; var M; (function (M) { function f() { diff --git a/tests/baselines/reference/moduleRedifinitionErrors.js b/tests/baselines/reference/moduleRedifinitionErrors.js index c48fd9ce1d94c..61468271917a4 100644 --- a/tests/baselines/reference/moduleRedifinitionErrors.js +++ b/tests/baselines/reference/moduleRedifinitionErrors.js @@ -8,6 +8,7 @@ namespace A { //// [moduleRedifinitionErrors.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/moduleReopenedTypeOtherBlock.js b/tests/baselines/reference/moduleReopenedTypeOtherBlock.js index 875b6f0f9fafb..7c38a632fe187 100644 --- a/tests/baselines/reference/moduleReopenedTypeOtherBlock.js +++ b/tests/baselines/reference/moduleReopenedTypeOtherBlock.js @@ -11,6 +11,7 @@ namespace M { //// [moduleReopenedTypeOtherBlock.js] +"use strict"; var M; (function (M) { var C1 = /** @class */ (function () { diff --git a/tests/baselines/reference/moduleReopenedTypeSameBlock.js b/tests/baselines/reference/moduleReopenedTypeSameBlock.js index 3755b0855c9d4..bba98989d50dc 100644 --- a/tests/baselines/reference/moduleReopenedTypeSameBlock.js +++ b/tests/baselines/reference/moduleReopenedTypeSameBlock.js @@ -9,6 +9,7 @@ namespace M { //// [moduleReopenedTypeSameBlock.js] +"use strict"; var M; (function (M) { var C1 = /** @class */ (function () { diff --git a/tests/baselines/reference/moduleResolutionWithRequire.js b/tests/baselines/reference/moduleResolutionWithRequire.js index bd822050d69b8..fd7c127ab2ba8 100644 --- a/tests/baselines/reference/moduleResolutionWithRequire.js +++ b/tests/baselines/reference/moduleResolutionWithRequire.js @@ -12,6 +12,7 @@ function foo() { //// [index.js] +"use strict"; function foo() { var a = require('../outside-of-rootdir/foo'); var other = require('./other').other; diff --git a/tests/baselines/reference/moduleResolutionWithRequireAndImport.js b/tests/baselines/reference/moduleResolutionWithRequireAndImport.js index f56e7f5788635..672c07266f874 100644 --- a/tests/baselines/reference/moduleResolutionWithRequireAndImport.js +++ b/tests/baselines/reference/moduleResolutionWithRequireAndImport.js @@ -18,6 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true }); exports.other = void 0; exports.other = 123; //// [index.js] +"use strict"; var a = null; function foo() { var a = require('../outside-of-rootdir/foo'); diff --git a/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.js b/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.js index bf755322fb84a..788407f3286e6 100644 --- a/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.js +++ b/tests/baselines/reference/moduleResolutionWithSymlinks_referenceTypes.js @@ -12,5 +12,6 @@ declare class MyClass { private x: number; } //// [/app.js] +"use strict"; /// /// diff --git a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.js b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.js index 14e34f6d7edb7..57de8a19201d5 100644 --- a/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.js +++ b/tests/baselines/reference/moduleResolution_automaticTypeDirectiveNames.js @@ -11,4 +11,5 @@ a; //// [a.js] +"use strict"; a; diff --git a/tests/baselines/reference/moduleResolution_noLeadingDot.js b/tests/baselines/reference/moduleResolution_noLeadingDot.js index 9e2cbaa736e46..573365856b833 100644 --- a/tests/baselines/reference/moduleResolution_noLeadingDot.js +++ b/tests/baselines/reference/moduleResolution_noLeadingDot.js @@ -8,4 +8,5 @@ true; //// [a.js] +"use strict"; true; diff --git a/tests/baselines/reference/moduleScoping.js b/tests/baselines/reference/moduleScoping.js index ed9f3727a6043..82677bab22bd8 100644 --- a/tests/baselines/reference/moduleScoping.js +++ b/tests/baselines/reference/moduleScoping.js @@ -23,8 +23,10 @@ var x = v2; // Should be global v2 of type number again //// [file1.js] +"use strict"; var v1 = "sausages"; // Global scope //// [file2.js] +"use strict"; var v2 = 42; // Global scope var v4 = function () { return 5; }; //// [file3.js] @@ -42,4 +44,5 @@ var t2 = v2; var t3 = file3.v3; var v4 = { a: true, b: NaN }; // Should shadow global v2 in this module //// [file5.js] +"use strict"; var x = v2; // Should be global v2 of type number again diff --git a/tests/baselines/reference/moduleScopingBug.js b/tests/baselines/reference/moduleScopingBug.js index 324a64d1375b4..c2f51e8ab84cc 100644 --- a/tests/baselines/reference/moduleScopingBug.js +++ b/tests/baselines/reference/moduleScopingBug.js @@ -32,6 +32,7 @@ namespace M //// [moduleScopingBug.js] +"use strict"; var M; (function (M) { var outer; diff --git a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt.js b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt.js index d9f560827b8fd..269b93ab0f830 100644 --- a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt.js +++ b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt.js @@ -14,6 +14,7 @@ namespace A.M { } //// [moduleSharesNameWithImportDeclarationInsideIt.js] +"use strict"; var Z; (function (Z) { var M; diff --git a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt2.js b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt2.js index bfabf5b636367..fcb32fc502e25 100644 --- a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt2.js +++ b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt2.js @@ -14,6 +14,7 @@ namespace A.M { } //// [moduleSharesNameWithImportDeclarationInsideIt2.js] +"use strict"; var Z; (function (Z) { var M; diff --git a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt3.js b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt3.js index cdd7b8b6428c9..1213da15c72a5 100644 --- a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt3.js +++ b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt3.js @@ -19,6 +19,7 @@ namespace A.M { } //// [moduleSharesNameWithImportDeclarationInsideIt3.js] +"use strict"; var Z; (function (Z) { var M; diff --git a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt4.js b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt4.js index 5e461ed791670..57c7a641e28ff 100644 --- a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt4.js +++ b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt4.js @@ -15,6 +15,7 @@ namespace A.M { } //// [moduleSharesNameWithImportDeclarationInsideIt4.js] +"use strict"; var Z; (function (Z) { var M; diff --git a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt5.js b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt5.js index e6d23a8379a40..94f2356928035 100644 --- a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt5.js +++ b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt5.js @@ -19,6 +19,7 @@ namespace A.M { } //// [moduleSharesNameWithImportDeclarationInsideIt5.js] +"use strict"; var Z; (function (Z) { var M; diff --git a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt6.js b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt6.js index 3ca5fb962a4d1..bdc261aab680a 100644 --- a/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt6.js +++ b/tests/baselines/reference/moduleSharesNameWithImportDeclarationInsideIt6.js @@ -13,6 +13,7 @@ namespace A.M { } //// [moduleSharesNameWithImportDeclarationInsideIt6.js] +"use strict"; var Z; (function (Z) { var M; diff --git a/tests/baselines/reference/moduleSymbolMerging.js b/tests/baselines/reference/moduleSymbolMerging.js index 164cfff0ca6ba..b7665df687cfa 100644 --- a/tests/baselines/reference/moduleSymbolMerging.js +++ b/tests/baselines/reference/moduleSymbolMerging.js @@ -13,7 +13,9 @@ namespace B { //// [A.js] +"use strict"; //// [B.js] +"use strict"; /// var A; (function (A) { diff --git a/tests/baselines/reference/moduleUnassignedVariable.js b/tests/baselines/reference/moduleUnassignedVariable.js index bf588e15c8ba5..1a68596ac1409 100644 --- a/tests/baselines/reference/moduleUnassignedVariable.js +++ b/tests/baselines/reference/moduleUnassignedVariable.js @@ -11,6 +11,7 @@ namespace Bar { //// [moduleUnassignedVariable.js] +"use strict"; var Bar; (function (Bar) { Bar.a = 1; diff --git a/tests/baselines/reference/moduleVariableArrayIndexer.js b/tests/baselines/reference/moduleVariableArrayIndexer.js index a9388686f1288..bc978db12e4d1 100644 --- a/tests/baselines/reference/moduleVariableArrayIndexer.js +++ b/tests/baselines/reference/moduleVariableArrayIndexer.js @@ -8,6 +8,7 @@ namespace Bar { //// [moduleVariableArrayIndexer.js] +"use strict"; var Bar; (function (Bar) { Bar.a = 1; diff --git a/tests/baselines/reference/moduleVariables.js b/tests/baselines/reference/moduleVariables.js index e8552c500f49f..17f95fda694ec 100644 --- a/tests/baselines/reference/moduleVariables.js +++ b/tests/baselines/reference/moduleVariables.js @@ -20,6 +20,7 @@ namespace M { //// [moduleVariables.js] +"use strict"; var x = 1; var M; (function (M) { diff --git a/tests/baselines/reference/moduleVisibilityTest1.js b/tests/baselines/reference/moduleVisibilityTest1.js index cd0c1b813eb95..db9750c4aff4c 100644 --- a/tests/baselines/reference/moduleVisibilityTest1.js +++ b/tests/baselines/reference/moduleVisibilityTest1.js @@ -68,6 +68,7 @@ c.someMethodThatCallsAnOuterMethod(); //// [moduleVisibilityTest1.js] +"use strict"; var OuterMod; (function (OuterMod) { function someExportedOuterFunc() { return -1; } diff --git a/tests/baselines/reference/moduleVisibilityTest2.js b/tests/baselines/reference/moduleVisibilityTest2.js index 550ad6ca6febd..e39d4193034ae 100644 --- a/tests/baselines/reference/moduleVisibilityTest2.js +++ b/tests/baselines/reference/moduleVisibilityTest2.js @@ -69,6 +69,7 @@ c.someMethodThatCallsAnOuterMethod(); //// [moduleVisibilityTest2.js] +"use strict"; var OuterMod; (function (OuterMod) { function someExportedOuterFunc() { return -1; } diff --git a/tests/baselines/reference/moduleVisibilityTest3.js b/tests/baselines/reference/moduleVisibilityTest3.js index 480fd51decd53..79f3f5e1fa5e5 100644 --- a/tests/baselines/reference/moduleVisibilityTest3.js +++ b/tests/baselines/reference/moduleVisibilityTest3.js @@ -29,6 +29,7 @@ namespace editor { //// [moduleVisibilityTest3.js] +"use strict"; var _modes; (function (_modes) { var Mode = /** @class */ (function () { diff --git a/tests/baselines/reference/moduleVisibilityTest4.js b/tests/baselines/reference/moduleVisibilityTest4.js index e5f5af8ff48f6..87f15e0e1a604 100644 --- a/tests/baselines/reference/moduleVisibilityTest4.js +++ b/tests/baselines/reference/moduleVisibilityTest4.js @@ -19,6 +19,7 @@ let c2: N.bar; //// [moduleVisibilityTest4.js] +"use strict"; var a1; var b1; var c1; diff --git a/tests/baselines/reference/moduleWithNoValuesAsType.js b/tests/baselines/reference/moduleWithNoValuesAsType.js index 4f149f63774d0..3dd3791942791 100644 --- a/tests/baselines/reference/moduleWithNoValuesAsType.js +++ b/tests/baselines/reference/moduleWithNoValuesAsType.js @@ -18,6 +18,7 @@ namespace C { var c: C; // error //// [moduleWithNoValuesAsType.js] +"use strict"; var a; // error var b; // error var c; // error diff --git a/tests/baselines/reference/moduleWithStatementsOfEveryKind.js b/tests/baselines/reference/moduleWithStatementsOfEveryKind.js index 948d629e2a986..30e59f3bc4bf5 100644 --- a/tests/baselines/reference/moduleWithStatementsOfEveryKind.js +++ b/tests/baselines/reference/moduleWithStatementsOfEveryKind.js @@ -61,6 +61,7 @@ namespace Y { //// [moduleWithStatementsOfEveryKind.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/moduleWithTryStatement1.js b/tests/baselines/reference/moduleWithTryStatement1.js index 8a59e9be7d36f..dd72f63da1b6b 100644 --- a/tests/baselines/reference/moduleWithTryStatement1.js +++ b/tests/baselines/reference/moduleWithTryStatement1.js @@ -11,6 +11,7 @@ var v = M; //// [moduleWithTryStatement1.js] +"use strict"; var M; (function (M) { try { diff --git a/tests/baselines/reference/moduleWithValuesAsType.js b/tests/baselines/reference/moduleWithValuesAsType.js index ba19a39ea2e8d..4aab745335e48 100644 --- a/tests/baselines/reference/moduleWithValuesAsType.js +++ b/tests/baselines/reference/moduleWithValuesAsType.js @@ -8,6 +8,7 @@ namespace A { var a: A; // no error //// [moduleWithValuesAsType.js] +"use strict"; var A; (function (A) { var b = 1; diff --git a/tests/baselines/reference/module_augmentExistingAmbientVariable.js b/tests/baselines/reference/module_augmentExistingAmbientVariable.js index c10b34aac2dc9..0dd230cf9e8c5 100644 --- a/tests/baselines/reference/module_augmentExistingAmbientVariable.js +++ b/tests/baselines/reference/module_augmentExistingAmbientVariable.js @@ -8,6 +8,7 @@ namespace console { } //// [module_augmentExistingAmbientVariable.js] +"use strict"; var console; (function (console) { console.x = 2; diff --git a/tests/baselines/reference/module_augmentExistingVariable.js b/tests/baselines/reference/module_augmentExistingVariable.js index 4afb608411f13..7df96fee8037f 100644 --- a/tests/baselines/reference/module_augmentExistingVariable.js +++ b/tests/baselines/reference/module_augmentExistingVariable.js @@ -8,6 +8,7 @@ namespace console { } //// [module_augmentExistingVariable.js] +"use strict"; var console; var console; (function (console) { diff --git a/tests/baselines/reference/module_augmentUninstantiatedModule.js b/tests/baselines/reference/module_augmentUninstantiatedModule.js index 1a6798c3c3ba9..39dd80c99839d 100644 --- a/tests/baselines/reference/module_augmentUninstantiatedModule.js +++ b/tests/baselines/reference/module_augmentUninstantiatedModule.js @@ -12,3 +12,4 @@ declare module "bar" { } //// [module_augmentUninstantiatedModule.js] +"use strict"; diff --git a/tests/baselines/reference/moduledecl.js b/tests/baselines/reference/moduledecl.js index f3630ba4d6b3a..cf051df15be7f 100644 --- a/tests/baselines/reference/moduledecl.js +++ b/tests/baselines/reference/moduledecl.js @@ -235,6 +235,7 @@ var m3eVar: mAmbient.m3.e; //// [moduledecl.js] +"use strict"; var m0; (function (m0) { function f1() { diff --git a/tests/baselines/reference/multiCallOverloads.js b/tests/baselines/reference/multiCallOverloads.js index c54e72c67a771..1329dd9700bb5 100644 --- a/tests/baselines/reference/multiCallOverloads.js +++ b/tests/baselines/reference/multiCallOverloads.js @@ -16,6 +16,7 @@ load(function(z?) {}) // this shouldn't be an error //// [multiCallOverloads.js] +"use strict"; function load(f) { } var f1 = function (z) { }; var f2 = function (z) { }; diff --git a/tests/baselines/reference/multiExtendsSplitInterfaces1.js b/tests/baselines/reference/multiExtendsSplitInterfaces1.js index 08bf5056db056..0ea78f7f5dacd 100644 --- a/tests/baselines/reference/multiExtendsSplitInterfaces1.js +++ b/tests/baselines/reference/multiExtendsSplitInterfaces1.js @@ -4,4 +4,5 @@ self.cancelAnimationFrame(0); //// [multiExtendsSplitInterfaces1.js] +"use strict"; self.cancelAnimationFrame(0); diff --git a/tests/baselines/reference/multiExtendsSplitInterfaces2.js b/tests/baselines/reference/multiExtendsSplitInterfaces2.js index 48e49c9ff8f72..60e295b9385e9 100644 --- a/tests/baselines/reference/multiExtendsSplitInterfaces2.js +++ b/tests/baselines/reference/multiExtendsSplitInterfaces2.js @@ -25,6 +25,7 @@ var b = i.b; var i2 = i.i2; //// [multiExtendsSplitInterfaces2.js] +"use strict"; var i; var a = i.a; var i1 = i.i1; diff --git a/tests/baselines/reference/multiLineContextDiagnosticWithPretty.js b/tests/baselines/reference/multiLineContextDiagnosticWithPretty.js index ea0d3137f9289..c465a86fe0a78 100644 --- a/tests/baselines/reference/multiLineContextDiagnosticWithPretty.js +++ b/tests/baselines/reference/multiLineContextDiagnosticWithPretty.js @@ -9,6 +9,7 @@ const x: {c: string} = { //// [multiLineContextDiagnosticWithPretty.js] +"use strict"; var x = { a: { b: '', diff --git a/tests/baselines/reference/multiLineErrors.js b/tests/baselines/reference/multiLineErrors.js index e789db15e9179..e5a20cdec91be 100644 --- a/tests/baselines/reference/multiLineErrors.js +++ b/tests/baselines/reference/multiLineErrors.js @@ -25,6 +25,7 @@ t1 = t2; //// [multiLineErrors.js] +"use strict"; var t = 32; function noReturn() { var x = 4; diff --git a/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.js b/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.js index 134c6305d797f..b71aa0ca555ed 100644 --- a/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.js +++ b/tests/baselines/reference/multiLinePropertyAccessAndArrowFunctionIndent1.js @@ -8,6 +8,7 @@ return this.edit(role) //// [multiLinePropertyAccessAndArrowFunctionIndent1.js] +"use strict"; var _this = this; return this.edit(role) .then(function (role) { diff --git a/tests/baselines/reference/multiModuleClodule1.js b/tests/baselines/reference/multiModuleClodule1.js index 765edfdc8326e..4e53069e60fda 100644 --- a/tests/baselines/reference/multiModuleClodule1.js +++ b/tests/baselines/reference/multiModuleClodule1.js @@ -21,6 +21,7 @@ var c = new C(C.x); c.foo = C.foo; //// [multiModuleClodule1.js] +"use strict"; var C = /** @class */ (function () { function C(x) { } diff --git a/tests/baselines/reference/multiModuleFundule1.js b/tests/baselines/reference/multiModuleFundule1.js index 9a51743ec3e28..4d514e4258155 100644 --- a/tests/baselines/reference/multiModuleFundule1.js +++ b/tests/baselines/reference/multiModuleFundule1.js @@ -15,6 +15,7 @@ var r2 = new C(2); // using void returning function as constructor var r3 = C.foo(); //// [multiModuleFundule1.js] +"use strict"; function C(x) { } (function (C) { C.x = 1; diff --git a/tests/baselines/reference/multipleBaseInterfaesWithIncompatibleProperties.js b/tests/baselines/reference/multipleBaseInterfaesWithIncompatibleProperties.js index c7c6050b9237b..256ebe551dbe7 100644 --- a/tests/baselines/reference/multipleBaseInterfaesWithIncompatibleProperties.js +++ b/tests/baselines/reference/multipleBaseInterfaesWithIncompatibleProperties.js @@ -10,3 +10,4 @@ interface C extends A, A { } //// [multipleBaseInterfaesWithIncompatibleProperties.js] +"use strict"; diff --git a/tests/baselines/reference/multipleClassPropertyModifiers.js b/tests/baselines/reference/multipleClassPropertyModifiers.js index 575c296830584..dfb2c56c02be4 100644 --- a/tests/baselines/reference/multipleClassPropertyModifiers.js +++ b/tests/baselines/reference/multipleClassPropertyModifiers.js @@ -9,6 +9,7 @@ class C { } //// [multipleClassPropertyModifiers.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/multipleClassPropertyModifiersErrors.js b/tests/baselines/reference/multipleClassPropertyModifiersErrors.js index 66e78629a8f51..60e69981710d8 100644 --- a/tests/baselines/reference/multipleClassPropertyModifiersErrors.js +++ b/tests/baselines/reference/multipleClassPropertyModifiersErrors.js @@ -12,6 +12,7 @@ class C { } //// [multipleClassPropertyModifiersErrors.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/multipleDeclarations.js b/tests/baselines/reference/multipleDeclarations.js index 3ae86910fdfd9..f01598283c84b 100644 --- a/tests/baselines/reference/multipleDeclarations.js +++ b/tests/baselines/reference/multipleDeclarations.js @@ -38,6 +38,7 @@ y.mistake(); //// [output.js] +"use strict"; function C() { this.m = null; } diff --git a/tests/baselines/reference/multipleExportAssignmentsInAmbientDeclaration.js b/tests/baselines/reference/multipleExportAssignmentsInAmbientDeclaration.js index 020a96bcd7974..aa3f177bdf3e8 100644 --- a/tests/baselines/reference/multipleExportAssignmentsInAmbientDeclaration.js +++ b/tests/baselines/reference/multipleExportAssignmentsInAmbientDeclaration.js @@ -9,3 +9,4 @@ declare module "m1" { } //// [multipleExportAssignmentsInAmbientDeclaration.js] +"use strict"; diff --git a/tests/baselines/reference/multipleInheritance.js b/tests/baselines/reference/multipleInheritance.js index 3bfa7089bad5c..9b1ef24b0861f 100644 --- a/tests/baselines/reference/multipleInheritance.js +++ b/tests/baselines/reference/multipleInheritance.js @@ -41,6 +41,7 @@ class Baad extends Good { //// [multipleInheritance.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/multipleNumericIndexers.js b/tests/baselines/reference/multipleNumericIndexers.js index e10dac931c152..474b3d9aa08a6 100644 --- a/tests/baselines/reference/multipleNumericIndexers.js +++ b/tests/baselines/reference/multipleNumericIndexers.js @@ -35,6 +35,7 @@ interface I { //// [multipleNumericIndexers.js] +"use strict"; // Multiple indexers of the same type are an error var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/multipleStringIndexers.js b/tests/baselines/reference/multipleStringIndexers.js index 65d61656ce078..723dc8a5cbbb6 100644 --- a/tests/baselines/reference/multipleStringIndexers.js +++ b/tests/baselines/reference/multipleStringIndexers.js @@ -34,6 +34,7 @@ interface I2 { } //// [multipleStringIndexers.js] +"use strict"; // Multiple indexers of the same type are an error var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/multivar.js b/tests/baselines/reference/multivar.js index dac6b065f2669..fd47d0cbfd394 100644 --- a/tests/baselines/reference/multivar.js +++ b/tests/baselines/reference/multivar.js @@ -49,6 +49,7 @@ for (var i = 0; i < 30; i++) { var b5 = 10; //// [multivar.js] +"use strict"; var a, b, c; var x = 1, y = 2, z = 3; var m2; diff --git a/tests/baselines/reference/mutrec.js b/tests/baselines/reference/mutrec.js index a8b048a1344b4..8548c16f67c1f 100644 --- a/tests/baselines/reference/mutrec.js +++ b/tests/baselines/reference/mutrec.js @@ -45,6 +45,7 @@ g(i4); //// [mutrec.js] +"use strict"; function f(p) { return p; } ; var b; diff --git a/tests/baselines/reference/mutuallyRecursiveCallbacks.js b/tests/baselines/reference/mutuallyRecursiveCallbacks.js index 29786c4222991..d9cd1097ddffb 100644 --- a/tests/baselines/reference/mutuallyRecursiveCallbacks.js +++ b/tests/baselines/reference/mutuallyRecursiveCallbacks.js @@ -11,6 +11,7 @@ bar = foo; //// [mutuallyRecursiveCallbacks.js] +"use strict"; // Repro from #18277 ; bar = foo; diff --git a/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes1.js b/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes1.js index 61d1ad2ad1d1b..27ee881264498 100644 --- a/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes1.js +++ b/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes1.js @@ -19,5 +19,6 @@ b.foo(); // should not error //// [mutuallyRecursiveGenericBaseTypes1.js] +"use strict"; var b; b.foo(); // should not error diff --git a/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes2.js b/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes2.js index 708c06c5cd740..dee79fc18f859 100644 --- a/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes2.js +++ b/tests/baselines/reference/mutuallyRecursiveGenericBaseTypes2.js @@ -13,6 +13,7 @@ var test = new foo(); //// [mutuallyRecursiveGenericBaseTypes2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/mutuallyRecursiveInference.js b/tests/baselines/reference/mutuallyRecursiveInference.js index 5a87854a09b47..f07099a0b80ca 100644 --- a/tests/baselines/reference/mutuallyRecursiveInference.js +++ b/tests/baselines/reference/mutuallyRecursiveInference.js @@ -18,6 +18,7 @@ class X extends L { //// [mutuallyRecursiveInference.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/nameCollision.js b/tests/baselines/reference/nameCollision.js index 3b774e64ac418..e5f6b0c1b1329 100644 --- a/tests/baselines/reference/nameCollision.js +++ b/tests/baselines/reference/nameCollision.js @@ -49,6 +49,7 @@ namespace D { } //// [nameCollision.js] +"use strict"; var A; (function (A_1) { // these 2 statements force an underscore before the 'A' diff --git a/tests/baselines/reference/nameCollisionWithBlockScopedVariable1.js b/tests/baselines/reference/nameCollisionWithBlockScopedVariable1.js index e3b19d48003bb..abe3cf577c2dc 100644 --- a/tests/baselines/reference/nameCollisionWithBlockScopedVariable1.js +++ b/tests/baselines/reference/nameCollisionWithBlockScopedVariable1.js @@ -12,6 +12,7 @@ namespace M { } //// [nameCollisionWithBlockScopedVariable1.js] +"use strict"; var M; (function (M) { class C { diff --git a/tests/baselines/reference/nameCollisions.js b/tests/baselines/reference/nameCollisions.js index 9295a84d1c43a..88f076d91109e 100644 --- a/tests/baselines/reference/nameCollisions.js +++ b/tests/baselines/reference/nameCollisions.js @@ -50,6 +50,7 @@ namespace T { } //// [nameCollisions.js] +"use strict"; var T; (function (T) { var x = 2; diff --git a/tests/baselines/reference/nameCollisionsInPropertyAssignments.js b/tests/baselines/reference/nameCollisionsInPropertyAssignments.js index 9db9f1733756d..f4461fc076d8b 100644 --- a/tests/baselines/reference/nameCollisionsInPropertyAssignments.js +++ b/tests/baselines/reference/nameCollisionsInPropertyAssignments.js @@ -5,5 +5,6 @@ var x = 1 var y = { x() { x++; } }; //// [nameCollisionsInPropertyAssignments.js] +"use strict"; var x = 1; var y = { x: function () { x++; } }; diff --git a/tests/baselines/reference/namedFunctionExpressionAssignedToClassProperty.js b/tests/baselines/reference/namedFunctionExpressionAssignedToClassProperty.js index 4a9c138dae4de..21ef09846b4c2 100644 --- a/tests/baselines/reference/namedFunctionExpressionAssignedToClassProperty.js +++ b/tests/baselines/reference/namedFunctionExpressionAssignedToClassProperty.js @@ -17,6 +17,7 @@ class Foo{ //// [namedFunctionExpressionAssignedToClassProperty.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.a = function bar() { diff --git a/tests/baselines/reference/namedFunctionExpressionCall.js b/tests/baselines/reference/namedFunctionExpressionCall.js index f7fa6a359440f..5970d517c8557 100644 --- a/tests/baselines/reference/namedFunctionExpressionCall.js +++ b/tests/baselines/reference/namedFunctionExpressionCall.js @@ -15,6 +15,7 @@ var recurser = function foo() { }); //// [namedFunctionExpressionCall.js] +"use strict"; var recurser = function foo() { // using the local name foo(); diff --git a/tests/baselines/reference/namedFunctionExpressionCallErrors.js b/tests/baselines/reference/namedFunctionExpressionCallErrors.js index be37b7470e894..bedf89f069692 100644 --- a/tests/baselines/reference/namedFunctionExpressionCallErrors.js +++ b/tests/baselines/reference/namedFunctionExpressionCallErrors.js @@ -19,6 +19,7 @@ recurser(); bar(); //// [namedFunctionExpressionCallErrors.js] +"use strict"; var recurser = function foo() { }; // Error: foo should not be visible here diff --git a/tests/baselines/reference/namedFunctionExpressionInModule.js b/tests/baselines/reference/namedFunctionExpressionInModule.js index 80ca717335350..2368235af0562 100644 --- a/tests/baselines/reference/namedFunctionExpressionInModule.js +++ b/tests/baselines/reference/namedFunctionExpressionInModule.js @@ -9,6 +9,7 @@ namespace Variables{ //// [namedFunctionExpressionInModule.js] +"use strict"; var Variables; (function (Variables) { var x = function bar(a, b, c) { diff --git a/tests/baselines/reference/namespaceDisambiguationInUnion.js b/tests/baselines/reference/namespaceDisambiguationInUnion.js index 680e773a1ab98..22c6f1dbe6353 100644 --- a/tests/baselines/reference/namespaceDisambiguationInUnion.js +++ b/tests/baselines/reference/namespaceDisambiguationInUnion.js @@ -17,6 +17,7 @@ const val2: [Foo.Yep, Bar.Yep] = y; //// [namespaceDisambiguationInUnion.js] +"use strict"; var x = { type: "wat.nup" }; var val1 = x; var y = [{ type: "a" }, { type: "b" }]; diff --git a/tests/baselines/reference/namespaces1.js b/tests/baselines/reference/namespaces1.js index 33ae63960c4b6..6d2dc98959404 100644 --- a/tests/baselines/reference/namespaces1.js +++ b/tests/baselines/reference/namespaces1.js @@ -12,5 +12,6 @@ var x: X.Y.Z; var x2: X.Y; //// [namespaces1.js] +"use strict"; var x; var x2; diff --git a/tests/baselines/reference/namespaces2.js b/tests/baselines/reference/namespaces2.js index bea28de3e317f..556cd217a6932 100644 --- a/tests/baselines/reference/namespaces2.js +++ b/tests/baselines/reference/namespaces2.js @@ -10,6 +10,7 @@ namespace A { var c: A.B.C = new A.B.C(); //// [namespaces2.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/namespacesDeclaration1.js b/tests/baselines/reference/namespacesDeclaration1.js index 9d0981392426d..d72c7638256e5 100644 --- a/tests/baselines/reference/namespacesDeclaration1.js +++ b/tests/baselines/reference/namespacesDeclaration1.js @@ -10,6 +10,7 @@ namespace M { } //// [namespacesDeclaration1.js] +"use strict"; //// [namespacesDeclaration1.d.ts] diff --git a/tests/baselines/reference/namespacesDeclaration2.js b/tests/baselines/reference/namespacesDeclaration2.js index d360ca8fd6de1..2d4555957fc92 100644 --- a/tests/baselines/reference/namespacesDeclaration2.js +++ b/tests/baselines/reference/namespacesDeclaration2.js @@ -17,6 +17,7 @@ var foo: M.F; let x: ns.A; //// [namespacesDeclaration2.js] +"use strict"; var N; (function (N) { function S() { } diff --git a/tests/baselines/reference/nanEquality.js b/tests/baselines/reference/nanEquality.js index ee8b4befb0518..027eea459d577 100644 --- a/tests/baselines/reference/nanEquality.js +++ b/tests/baselines/reference/nanEquality.js @@ -45,6 +45,7 @@ function t3(NaN: number) { //// [nanEquality.js] +"use strict"; if (x === NaN) { } if (NaN === x) { } if (x == NaN) { } diff --git a/tests/baselines/reference/narrowCommaOperatorNestedWithinLHS.js b/tests/baselines/reference/narrowCommaOperatorNestedWithinLHS.js index 467efb4577bf1..c115a8728185e 100644 --- a/tests/baselines/reference/narrowCommaOperatorNestedWithinLHS.js +++ b/tests/baselines/reference/narrowCommaOperatorNestedWithinLHS.js @@ -19,6 +19,7 @@ if (isNumber((otherValue(), value).inner)) { } //// [narrowCommaOperatorNestedWithinLHS.js] +"use strict"; var otherValue = function () { return true; }; var value = null; function isNumber(obj) { diff --git a/tests/baselines/reference/narrowExceptionVariableInCatchClause.js b/tests/baselines/reference/narrowExceptionVariableInCatchClause.js index d11dcb920e597..47eebeb5ed528 100644 --- a/tests/baselines/reference/narrowExceptionVariableInCatchClause.js +++ b/tests/baselines/reference/narrowExceptionVariableInCatchClause.js @@ -27,6 +27,7 @@ function tryCatch() { //// [narrowExceptionVariableInCatchClause.js] +"use strict"; function tryCatch() { try { // do stuff... diff --git a/tests/baselines/reference/narrowFromAnyWithInstanceof.js b/tests/baselines/reference/narrowFromAnyWithInstanceof.js index a7d2d4dfd7d0f..0acc01f9996d2 100644 --- a/tests/baselines/reference/narrowFromAnyWithInstanceof.js +++ b/tests/baselines/reference/narrowFromAnyWithInstanceof.js @@ -27,6 +27,7 @@ if (x instanceof Date) { //// [narrowFromAnyWithInstanceof.js] +"use strict"; if (x instanceof Function) { // 'any' is not narrowed when target type is 'Function' x(); x(1, 2, 3); diff --git a/tests/baselines/reference/narrowFromAnyWithTypePredicate.js b/tests/baselines/reference/narrowFromAnyWithTypePredicate.js index af6d1677e879b..badccd581eeb0 100644 --- a/tests/baselines/reference/narrowFromAnyWithTypePredicate.js +++ b/tests/baselines/reference/narrowFromAnyWithTypePredicate.js @@ -38,6 +38,7 @@ if (isDate(x)) { //// [narrowFromAnyWithTypePredicate.js] +"use strict"; if (isFunction(x)) { // 'any' is not narrowed when target type is 'Function' x(); x(1, 2, 3); diff --git a/tests/baselines/reference/narrowTypeByInstanceof.js b/tests/baselines/reference/narrowTypeByInstanceof.js index 75241d6ef24fe..a96e15c231655 100644 --- a/tests/baselines/reference/narrowTypeByInstanceof.js +++ b/tests/baselines/reference/narrowTypeByInstanceof.js @@ -28,6 +28,7 @@ if (elementA instanceof FileMatch && elementB instanceof FileMatch) { //// [narrowTypeByInstanceof.js] +"use strict"; var Match = /** @class */ (function () { function Match() { } diff --git a/tests/baselines/reference/narrowUnknownByTypeofObject.js b/tests/baselines/reference/narrowUnknownByTypeofObject.js index 425d1a0649106..7e81fd3bb74c6 100644 --- a/tests/baselines/reference/narrowUnknownByTypeofObject.js +++ b/tests/baselines/reference/narrowUnknownByTypeofObject.js @@ -9,6 +9,7 @@ function foo(x: unknown) { //// [narrowUnknownByTypeofObject.js] +"use strict"; function foo(x) { if (typeof x === "object") { x; diff --git a/tests/baselines/reference/narrowedConstInMethod.js b/tests/baselines/reference/narrowedConstInMethod.js index 14d44a88902b4..e6536cf6298c9 100644 --- a/tests/baselines/reference/narrowedConstInMethod.js +++ b/tests/baselines/reference/narrowedConstInMethod.js @@ -22,6 +22,7 @@ function f2() { //// [narrowedConstInMethod.js] +"use strict"; // Fixes #10501, possibly null 'x' function f() { var x = {}; diff --git a/tests/baselines/reference/narrowingAssignmentReadonlyRespectsAssertion.js b/tests/baselines/reference/narrowingAssignmentReadonlyRespectsAssertion.js index e02bfef69ea58..0689192859fe8 100644 --- a/tests/baselines/reference/narrowingAssignmentReadonlyRespectsAssertion.js +++ b/tests/baselines/reference/narrowingAssignmentReadonlyRespectsAssertion.js @@ -43,6 +43,7 @@ testFunc(); //// [narrowingAssignmentReadonlyRespectsAssertion.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/41984 function subDataFunc() { return [ diff --git a/tests/baselines/reference/narrowingByDiscriminantInLoop.js b/tests/baselines/reference/narrowingByDiscriminantInLoop.js index a429b7351903e..0f7536c947dd7 100644 --- a/tests/baselines/reference/narrowingByDiscriminantInLoop.js +++ b/tests/baselines/reference/narrowingByDiscriminantInLoop.js @@ -88,6 +88,7 @@ function f2(x: A | B) { } //// [narrowingByDiscriminantInLoop.js] +"use strict"; // Repro from #9977 function insertInterface(callbackType) { for (var _i = 0, _a = callbackType.members; _i < _a.length; _i++) { diff --git a/tests/baselines/reference/narrowingDestructuring.js b/tests/baselines/reference/narrowingDestructuring.js index 810662296f833..b5ee48902f5dd 100644 --- a/tests/baselines/reference/narrowingDestructuring.js +++ b/tests/baselines/reference/narrowingDestructuring.js @@ -43,6 +43,7 @@ function farr(x: //// [narrowingDestructuring.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/narrowingGenericTypeFromInstanceof01.js b/tests/baselines/reference/narrowingGenericTypeFromInstanceof01.js index d55210c998750..d68dd8a400d75 100644 --- a/tests/baselines/reference/narrowingGenericTypeFromInstanceof01.js +++ b/tests/baselines/reference/narrowingGenericTypeFromInstanceof01.js @@ -30,6 +30,7 @@ function test(x: A | B) { } //// [narrowingGenericTypeFromInstanceof01.js] +"use strict"; var A = /** @class */ (function () { function A(a) { this.a = a; diff --git a/tests/baselines/reference/narrowingIntersection.js b/tests/baselines/reference/narrowingIntersection.js index f0dd2a0a63787..e903885773f4c 100644 --- a/tests/baselines/reference/narrowingIntersection.js +++ b/tests/baselines/reference/narrowingIntersection.js @@ -27,6 +27,7 @@ function test2(a: 0 | TrivialIntersection) { } //// [narrowingIntersection.js] +"use strict"; function test1(result) { if (result.err) { throw result.err; diff --git a/tests/baselines/reference/narrowingPlainJsNoCrash1.js b/tests/baselines/reference/narrowingPlainJsNoCrash1.js index f83a5c5c0108b..7354fb5205a8f 100644 --- a/tests/baselines/reference/narrowingPlainJsNoCrash1.js +++ b/tests/baselines/reference/narrowingPlainJsNoCrash1.js @@ -11,6 +11,7 @@ while ((c = a$b != a$b)) c.e; //// [index.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/59594 var a$b = {}; var c, d; diff --git a/tests/baselines/reference/narrowingRestGenericCall.js b/tests/baselines/reference/narrowingRestGenericCall.js index f04b709b93542..f3d6c7dffe89a 100644 --- a/tests/baselines/reference/narrowingRestGenericCall.js +++ b/tests/baselines/reference/narrowingRestGenericCall.js @@ -16,6 +16,7 @@ call(obj, ({foo, ...rest}) => { }); //// [narrowingRestGenericCall.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/narrowingTypeofUndefined1.js b/tests/baselines/reference/narrowingTypeofUndefined1.js index 8f0bc7e0078d7..a0fc75ac74a6c 100644 --- a/tests/baselines/reference/narrowingTypeofUndefined1.js +++ b/tests/baselines/reference/narrowingTypeofUndefined1.js @@ -19,6 +19,7 @@ else { //// [narrowingTypeofUndefined1.js] +"use strict"; if (typeof a.error === 'undefined') { a.result.prop; // number } diff --git a/tests/baselines/reference/narrowingWithNonNullExpression.js b/tests/baselines/reference/narrowingWithNonNullExpression.js index f7c9b1ccb1a8a..55f5a882bc000 100644 --- a/tests/baselines/reference/narrowingWithNonNullExpression.js +++ b/tests/baselines/reference/narrowingWithNonNullExpression.js @@ -7,6 +7,7 @@ m?.[0]! && m[0]; //// [narrowingWithNonNullExpression.js] +"use strict"; var m = ''.match(''); m && m[0]; (m === null || m === void 0 ? void 0 : m[0]) && m[0]; diff --git a/tests/baselines/reference/nativeToBoxedTypes.js b/tests/baselines/reference/nativeToBoxedTypes.js index 55f00ed30a73e..04ef5b0d9fb6c 100644 --- a/tests/baselines/reference/nativeToBoxedTypes.js +++ b/tests/baselines/reference/nativeToBoxedTypes.js @@ -18,6 +18,7 @@ var Sym: Symbol; sym = Sym; //// [nativeToBoxedTypes.js] +"use strict"; var N = new Number(); var n = 100; n = N; diff --git a/tests/baselines/reference/nearbyIdenticalGenericLambdasAssignable.js b/tests/baselines/reference/nearbyIdenticalGenericLambdasAssignable.js index 89bdd6f8ac923..d94a52961503a 100644 --- a/tests/baselines/reference/nearbyIdenticalGenericLambdasAssignable.js +++ b/tests/baselines/reference/nearbyIdenticalGenericLambdasAssignable.js @@ -31,6 +31,7 @@ accL(fA); accL(fB); accL(fC); // ~~ previously an error //// [nearbyIdenticalGenericLambdasAssignable.js] +"use strict"; var fB = function () { return { v: '' }; }; diff --git a/tests/baselines/reference/negateOperatorInvalidOperations.js b/tests/baselines/reference/negateOperatorInvalidOperations.js index f2c46ddec15c0..3c57363660157 100644 --- a/tests/baselines/reference/negateOperatorInvalidOperations.js +++ b/tests/baselines/reference/negateOperatorInvalidOperations.js @@ -15,6 +15,7 @@ var NUMBER4 = -(undefined - undefined); var NUMBER =-; //// [negateOperatorInvalidOperations.js] +"use strict"; // Unary operator - // operand before - var NUMBER1 = ; diff --git a/tests/baselines/reference/negateOperatorWithAnyOtherType.js b/tests/baselines/reference/negateOperatorWithAnyOtherType.js index 3a358f1da8f59..f7c8543011a14 100644 --- a/tests/baselines/reference/negateOperatorWithAnyOtherType.js +++ b/tests/baselines/reference/negateOperatorWithAnyOtherType.js @@ -56,6 +56,7 @@ var ResultIsNumber15 = -(ANY - ANY1); -M.n; //// [negateOperatorWithAnyOtherType.js] +"use strict"; // - operator on any type var ANY; var ANY1; diff --git a/tests/baselines/reference/negateOperatorWithBooleanType.js b/tests/baselines/reference/negateOperatorWithBooleanType.js index 2f9e72b4ec718..e7d3611081272 100644 --- a/tests/baselines/reference/negateOperatorWithBooleanType.js +++ b/tests/baselines/reference/negateOperatorWithBooleanType.js @@ -38,6 +38,7 @@ var ResultIsNumber7 = -A.foo(); -M.n; //// [negateOperatorWithBooleanType.js] +"use strict"; function foo() { return true; } var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/negateOperatorWithEnumType.js b/tests/baselines/reference/negateOperatorWithEnumType.js index 3781d718799c2..14184c8ff1681 100644 --- a/tests/baselines/reference/negateOperatorWithEnumType.js +++ b/tests/baselines/reference/negateOperatorWithEnumType.js @@ -20,6 +20,7 @@ var ResultIsNumber3 = -(ENUM1.B + ENUM1[""]); -ENUM, ENUM1; //// [negateOperatorWithEnumType.js] +"use strict"; // - operator on enum type var ENUM; (function (ENUM) { diff --git a/tests/baselines/reference/negateOperatorWithNumberType.js b/tests/baselines/reference/negateOperatorWithNumberType.js index 134bd0d1b7611..945ff761626d6 100644 --- a/tests/baselines/reference/negateOperatorWithNumberType.js +++ b/tests/baselines/reference/negateOperatorWithNumberType.js @@ -44,6 +44,7 @@ var ResultIsNumber11 = -(NUMBER - NUMBER); -objA.a, M.n; //// [negateOperatorWithNumberType.js] +"use strict"; var NUMBER1 = [1, 2]; function foo() { return 1; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/negateOperatorWithStringType.js b/tests/baselines/reference/negateOperatorWithStringType.js index 079e955f1a479..002a0c13da419 100644 --- a/tests/baselines/reference/negateOperatorWithStringType.js +++ b/tests/baselines/reference/negateOperatorWithStringType.js @@ -43,6 +43,7 @@ var ResultIsNumber12 = -STRING.charAt(0); -objA.a,M.n; //// [negateOperatorWithStringType.js] +"use strict"; var STRING1 = ["", "abc"]; function foo() { return "abc"; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/negativeZero.js b/tests/baselines/reference/negativeZero.js index b569e542d918b..1c252cb6f46eb 100644 --- a/tests/baselines/reference/negativeZero.js +++ b/tests/baselines/reference/negativeZero.js @@ -5,4 +5,5 @@ var x = -0 //// [negativeZero.js] +"use strict"; var x = -0; diff --git a/tests/baselines/reference/nestedBlockScopedBindings1.js b/tests/baselines/reference/nestedBlockScopedBindings1.js index 5852afcc0958b..7d11d0c0e2e09 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings1.js +++ b/tests/baselines/reference/nestedBlockScopedBindings1.js @@ -53,6 +53,7 @@ function a4() { //// [nestedBlockScopedBindings1.js] +"use strict"; function a0() { { var x = 1; diff --git a/tests/baselines/reference/nestedBlockScopedBindings10.js b/tests/baselines/reference/nestedBlockScopedBindings10.js index d4750ec912165..39a3812d773e6 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings10.js +++ b/tests/baselines/reference/nestedBlockScopedBindings10.js @@ -14,6 +14,7 @@ switch (1) { } //// [nestedBlockScopedBindings10.js] +"use strict"; { var x = void 0; x = 1; diff --git a/tests/baselines/reference/nestedBlockScopedBindings11.js b/tests/baselines/reference/nestedBlockScopedBindings11.js index 852dabf01b42f..57701795327a5 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings11.js +++ b/tests/baselines/reference/nestedBlockScopedBindings11.js @@ -16,6 +16,7 @@ switch (1) { } //// [nestedBlockScopedBindings11.js] +"use strict"; var x; { var x_1; diff --git a/tests/baselines/reference/nestedBlockScopedBindings12.js b/tests/baselines/reference/nestedBlockScopedBindings12.js index 5cd0e0922b74d..9cbc6120dd866 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings12.js +++ b/tests/baselines/reference/nestedBlockScopedBindings12.js @@ -16,6 +16,7 @@ switch (1) { } //// [nestedBlockScopedBindings12.js] +"use strict"; var x; { var x_1; diff --git a/tests/baselines/reference/nestedBlockScopedBindings13.js b/tests/baselines/reference/nestedBlockScopedBindings13.js index 07337033b2e6c..3a96f30dd8a54 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings13.js +++ b/tests/baselines/reference/nestedBlockScopedBindings13.js @@ -12,6 +12,7 @@ for (; false;) { } //// [nestedBlockScopedBindings13.js] +"use strict"; var _loop_1 = function () { var x; (function () { return x; }); diff --git a/tests/baselines/reference/nestedBlockScopedBindings14.js b/tests/baselines/reference/nestedBlockScopedBindings14.js index 48aa0daa72f8c..d8ae4be63d52c 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings14.js +++ b/tests/baselines/reference/nestedBlockScopedBindings14.js @@ -14,6 +14,7 @@ for (; false;) { } //// [nestedBlockScopedBindings14.js] +"use strict"; var x; var _loop_1 = function () { var x_1; diff --git a/tests/baselines/reference/nestedBlockScopedBindings15.js b/tests/baselines/reference/nestedBlockScopedBindings15.js index 7e20d5f2feeaa..7435ecdc81dfa 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings15.js +++ b/tests/baselines/reference/nestedBlockScopedBindings15.js @@ -34,6 +34,7 @@ for (; false;) { } //// [nestedBlockScopedBindings15.js] +"use strict"; var _loop_1 = function () { { var x_1; diff --git a/tests/baselines/reference/nestedBlockScopedBindings16.js b/tests/baselines/reference/nestedBlockScopedBindings16.js index 3b5bf398f58e2..3a8f70285c720 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings16.js +++ b/tests/baselines/reference/nestedBlockScopedBindings16.js @@ -38,6 +38,7 @@ for (; false;) { } //// [nestedBlockScopedBindings16.js] +"use strict"; var x; var _loop_1 = function () { { diff --git a/tests/baselines/reference/nestedBlockScopedBindings2.js b/tests/baselines/reference/nestedBlockScopedBindings2.js index e1501a1ea5075..a0f336f8311b0 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings2.js +++ b/tests/baselines/reference/nestedBlockScopedBindings2.js @@ -130,6 +130,7 @@ function a9() { //// [nestedBlockScopedBindings2.js] +"use strict"; function a0() { { var x_1 = 1; diff --git a/tests/baselines/reference/nestedBlockScopedBindings3.js b/tests/baselines/reference/nestedBlockScopedBindings3.js index 50a60c3a5dcfe..0e36a53ef7418 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings3.js +++ b/tests/baselines/reference/nestedBlockScopedBindings3.js @@ -71,6 +71,7 @@ function a5() { } //// [nestedBlockScopedBindings3.js] +"use strict"; function a0() { { var _loop_1 = function (x) { diff --git a/tests/baselines/reference/nestedBlockScopedBindings4.js b/tests/baselines/reference/nestedBlockScopedBindings4.js index 57868cb7fc584..dc01711efcaf6 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings4.js +++ b/tests/baselines/reference/nestedBlockScopedBindings4.js @@ -43,6 +43,7 @@ function a3() { } //// [nestedBlockScopedBindings4.js] +"use strict"; function a0() { for (var x = void 0; x < 1;) { x = x + 1; diff --git a/tests/baselines/reference/nestedBlockScopedBindings5.js b/tests/baselines/reference/nestedBlockScopedBindings5.js index 0ae3c9c5ba304..a7a38a75b11ac 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings5.js +++ b/tests/baselines/reference/nestedBlockScopedBindings5.js @@ -83,6 +83,7 @@ function a5() { } //// [nestedBlockScopedBindings5.js] +"use strict"; function a0() { for (var x in []) { x = x + 1; diff --git a/tests/baselines/reference/nestedBlockScopedBindings6.js b/tests/baselines/reference/nestedBlockScopedBindings6.js index f37fd28a80e22..339160e4ebee3 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings6.js +++ b/tests/baselines/reference/nestedBlockScopedBindings6.js @@ -91,6 +91,7 @@ function a7() { } //// [nestedBlockScopedBindings6.js] +"use strict"; function a0() { for (var _i = 0, _a = [1]; _i < _a.length; _i++) { var x = _a[_i]; diff --git a/tests/baselines/reference/nestedBlockScopedBindings7.js b/tests/baselines/reference/nestedBlockScopedBindings7.js index 98a8c209a8df6..badba4feeee3b 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings7.js +++ b/tests/baselines/reference/nestedBlockScopedBindings7.js @@ -10,6 +10,7 @@ for (let y; false;) { } //// [nestedBlockScopedBindings7.js] +"use strict"; var _loop_1 = function (x) { (function () { return x; }); }; diff --git a/tests/baselines/reference/nestedBlockScopedBindings8.js b/tests/baselines/reference/nestedBlockScopedBindings8.js index d54286d890f1b..f320e4f9458be 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings8.js +++ b/tests/baselines/reference/nestedBlockScopedBindings8.js @@ -12,6 +12,7 @@ for (let y; false; ) { } //// [nestedBlockScopedBindings8.js] +"use strict"; var x; var _loop_1 = function (x_1) { (function () { return x_1; }); diff --git a/tests/baselines/reference/nestedBlockScopedBindings9.js b/tests/baselines/reference/nestedBlockScopedBindings9.js index 3cbde990796f4..147276a6fac19 100644 --- a/tests/baselines/reference/nestedBlockScopedBindings9.js +++ b/tests/baselines/reference/nestedBlockScopedBindings9.js @@ -14,6 +14,7 @@ switch (1) { } //// [nestedBlockScopedBindings9.js] +"use strict"; { var x_1; (function () { return x_1; }); diff --git a/tests/baselines/reference/nestedClassDeclaration.js b/tests/baselines/reference/nestedClassDeclaration.js index b8b6643caa9c3..6ba8e13d95c7a 100644 --- a/tests/baselines/reference/nestedClassDeclaration.js +++ b/tests/baselines/reference/nestedClassDeclaration.js @@ -21,6 +21,7 @@ var x = { //// [nestedClassDeclaration.js] +"use strict"; // nested classes are not allowed var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/nestedDestructuringOfRequire.js b/tests/baselines/reference/nestedDestructuringOfRequire.js index 3fbbd7f183f1f..fedb884ebb024 100644 --- a/tests/baselines/reference/nestedDestructuringOfRequire.js +++ b/tests/baselines/reference/nestedDestructuringOfRequire.js @@ -15,11 +15,13 @@ chalk //// [mod1.js] +"use strict"; var chalk = { grey: {} }; module.exports.chalk = chalk; //// [main.js] +"use strict"; var grey = require('./mod1').chalk.grey; grey; chalk; diff --git a/tests/baselines/reference/nestedFreshLiteral.js b/tests/baselines/reference/nestedFreshLiteral.js index ede669b6afada..ec6cb141a955b 100644 --- a/tests/baselines/reference/nestedFreshLiteral.js +++ b/tests/baselines/reference/nestedFreshLiteral.js @@ -16,6 +16,7 @@ let stylen: NestedCSSProps = { } //// [nestedFreshLiteral.js] +"use strict"; var stylen = { nested: { prop: { colour: 'red' } } }; diff --git a/tests/baselines/reference/nestedGenericConditionalTypeWithGenericImportType.js b/tests/baselines/reference/nestedGenericConditionalTypeWithGenericImportType.js index 865604c656f8a..1e32c3b400209 100644 --- a/tests/baselines/reference/nestedGenericConditionalTypeWithGenericImportType.js +++ b/tests/baselines/reference/nestedGenericConditionalTypeWithGenericImportType.js @@ -13,3 +13,4 @@ type T = any extends ((any extends any ? any : string) extends any ? import(" "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [index.js] +"use strict"; diff --git a/tests/baselines/reference/nestedGenerics.js b/tests/baselines/reference/nestedGenerics.js index d377fc67c2cd0..d703367b4a476 100644 --- a/tests/baselines/reference/nestedGenerics.js +++ b/tests/baselines/reference/nestedGenerics.js @@ -8,4 +8,5 @@ interface Foo { var f: Foo>; //// [nestedGenerics.js] +"use strict"; var f; diff --git a/tests/baselines/reference/nestedGlobalNamespaceInClass.js b/tests/baselines/reference/nestedGlobalNamespaceInClass.js index 54fc00a48a4c0..76820ce195991 100644 --- a/tests/baselines/reference/nestedGlobalNamespaceInClass.js +++ b/tests/baselines/reference/nestedGlobalNamespaceInClass.js @@ -8,6 +8,7 @@ class C { //// [nestedGlobalNamespaceInClass.js] +"use strict"; // should not crash - from #35717 var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/nestedIfStatement.js b/tests/baselines/reference/nestedIfStatement.js index c2b82f01537e3..364f491913cd7 100644 --- a/tests/baselines/reference/nestedIfStatement.js +++ b/tests/baselines/reference/nestedIfStatement.js @@ -9,6 +9,7 @@ if (0) { } //// [nestedIfStatement.js] +"use strict"; if (0) { } else if (1) { diff --git a/tests/baselines/reference/nestedIndexer.js b/tests/baselines/reference/nestedIndexer.js index e0625cbc52359..26a1ec5cf33ec 100644 --- a/tests/baselines/reference/nestedIndexer.js +++ b/tests/baselines/reference/nestedIndexer.js @@ -9,6 +9,7 @@ var match: { [index: number]: string; } //// [nestedIndexer.js] +"use strict"; function then(x) { var match; } diff --git a/tests/baselines/reference/nestedInfinitelyExpandedRecursiveTypes.js b/tests/baselines/reference/nestedInfinitelyExpandedRecursiveTypes.js index b8f404a689cd3..79ded4cbd3625 100644 --- a/tests/baselines/reference/nestedInfinitelyExpandedRecursiveTypes.js +++ b/tests/baselines/reference/nestedInfinitelyExpandedRecursiveTypes.js @@ -14,6 +14,7 @@ f = g; g = f; //// [nestedInfinitelyExpandedRecursiveTypes.js] +"use strict"; var f; var g; f = g; diff --git a/tests/baselines/reference/nestedLoopTypeGuards.js b/tests/baselines/reference/nestedLoopTypeGuards.js index 4bb06544feb2b..7543bf4b2a575 100644 --- a/tests/baselines/reference/nestedLoopTypeGuards.js +++ b/tests/baselines/reference/nestedLoopTypeGuards.js @@ -34,6 +34,7 @@ function f2() { } //// [nestedLoopTypeGuards.js] +"use strict"; // Repros from #10378 function f1() { var a; diff --git a/tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured.js b/tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured.js index 559561b713e52..9e18ba24d651c 100644 --- a/tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured.js +++ b/tests/baselines/reference/nestedLoopWithOnlyInnerLetCaptured.js @@ -8,6 +8,7 @@ for (let a1 of []) doSomething(() => a2); //// [nestedLoopWithOnlyInnerLetCaptured.js] +"use strict"; for (var _i = 0, _a = []; _i < _a.length; _i++) { var a1 = _a[_i]; var _loop_1 = function (a2) { diff --git a/tests/baselines/reference/nestedModulePrivateAccess.js b/tests/baselines/reference/nestedModulePrivateAccess.js index 5e042553ce88a..06bf511cefdb1 100644 --- a/tests/baselines/reference/nestedModulePrivateAccess.js +++ b/tests/baselines/reference/nestedModulePrivateAccess.js @@ -9,6 +9,7 @@ namespace a{ } //// [nestedModulePrivateAccess.js] +"use strict"; var a; (function (a) { var x; diff --git a/tests/baselines/reference/nestedModules.js b/tests/baselines/reference/nestedModules.js index bad3264f58107..44fb67fc9146b 100644 --- a/tests/baselines/reference/nestedModules.js +++ b/tests/baselines/reference/nestedModules.js @@ -35,6 +35,7 @@ var p: M2.X.Point; //// [nestedModules.js] +"use strict"; var A; (function (A) { var B; diff --git a/tests/baselines/reference/nestedObjectRest.js b/tests/baselines/reference/nestedObjectRest.js index 38c3441b17750..4751ff229ac3d 100644 --- a/tests/baselines/reference/nestedObjectRest.js +++ b/tests/baselines/reference/nestedObjectRest.js @@ -8,6 +8,7 @@ var x, y; for ([{ ...y }] of [[{ abc: 1 }]]) ; //// [nestedObjectRest.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/nestedRecursiveArraysOrObjectsError01.js b/tests/baselines/reference/nestedRecursiveArraysOrObjectsError01.js index b077ff87f4023..18fa437ebc5c5 100644 --- a/tests/baselines/reference/nestedRecursiveArraysOrObjectsError01.js +++ b/tests/baselines/reference/nestedRecursiveArraysOrObjectsError01.js @@ -17,6 +17,7 @@ const blah: Style = [ //// [nestedRecursiveArraysOrObjectsError01.js] +"use strict"; var blah = [ [[{ foo: 'asdf', diff --git a/tests/baselines/reference/nestedRecursiveLambda.js b/tests/baselines/reference/nestedRecursiveLambda.js index cb014afd87324..320362fbc4e00 100644 --- a/tests/baselines/reference/nestedRecursiveLambda.js +++ b/tests/baselines/reference/nestedRecursiveLambda.js @@ -9,6 +9,7 @@ void(r =>(r => r)); [(r =>(r => r))] //// [nestedRecursiveLambda.js] +"use strict"; function f(a) { void (function (r) { return (function (r) { return r; }); }); } diff --git a/tests/baselines/reference/nestedRedeclarationInES6AMD.js b/tests/baselines/reference/nestedRedeclarationInES6AMD.js index cb1a7e5884c42..32a9c573b413d 100644 --- a/tests/baselines/reference/nestedRedeclarationInES6AMD.js +++ b/tests/baselines/reference/nestedRedeclarationInES6AMD.js @@ -9,6 +9,7 @@ function a() { } //// [nestedRedeclarationInES6AMD.js] +"use strict"; function a() { { let status = 1; diff --git a/tests/baselines/reference/nestedSelf.js b/tests/baselines/reference/nestedSelf.js index fa8cd165900bb..63017e9f9adb3 100644 --- a/tests/baselines/reference/nestedSelf.js +++ b/tests/baselines/reference/nestedSelf.js @@ -11,6 +11,7 @@ namespace M { //// [nestedSelf.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/nestedSuperCallEmit.js b/tests/baselines/reference/nestedSuperCallEmit.js index 705323a4db188..12b1798deecb0 100644 --- a/tests/baselines/reference/nestedSuperCallEmit.js +++ b/tests/baselines/reference/nestedSuperCallEmit.js @@ -28,6 +28,7 @@ new Bar(); //// [nestedSuperCallEmit.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/nestedThisContainer.js b/tests/baselines/reference/nestedThisContainer.js index a253a79cf52ba..05f0f842ff71d 100644 --- a/tests/baselines/reference/nestedThisContainer.js +++ b/tests/baselines/reference/nestedThisContainer.js @@ -15,6 +15,7 @@ foo.zab = (function () { //// [nestedThisContainer.js] +"use strict"; var foo = {}; foo.bar = function () { var self = this; diff --git a/tests/baselines/reference/nestedTypeVariableInfersLiteral.js b/tests/baselines/reference/nestedTypeVariableInfersLiteral.js index 7e22f743781d7..9e47850161611 100644 --- a/tests/baselines/reference/nestedTypeVariableInfersLiteral.js +++ b/tests/baselines/reference/nestedTypeVariableInfersLiteral.js @@ -22,6 +22,7 @@ hasZField(nestedUnionArray) // ok //// [nestedTypeVariableInfersLiteral.js] +"use strict"; var directUnionSingle = direct("z"); var directUnionArray = direct(["z", "y"]); var nestedSingle = nested({ fields: "z" }); diff --git a/tests/baselines/reference/nestedUnaryExpressionHang.js b/tests/baselines/reference/nestedUnaryExpressionHang.js index 4385872cb8601..1017aa04d23ce 100644 --- a/tests/baselines/reference/nestedUnaryExpressionHang.js +++ b/tests/baselines/reference/nestedUnaryExpressionHang.js @@ -5,4 +5,5 @@ //// [nestedUnaryExpressionHang.js] +"use strict"; 3333 % !!!!!!!!!!!!!!!!!!!!!!!!!!!!; diff --git a/tests/baselines/reference/neverIntersectionNotCallable.js b/tests/baselines/reference/neverIntersectionNotCallable.js index 5f44932078be7..e8750c03f6541 100644 --- a/tests/baselines/reference/neverIntersectionNotCallable.js +++ b/tests/baselines/reference/neverIntersectionNotCallable.js @@ -6,4 +6,5 @@ f() //// [neverIntersectionNotCallable.js] +"use strict"; f(); diff --git a/tests/baselines/reference/neverType.js b/tests/baselines/reference/neverType.js index 1daef5ace7abe..53cdd444c8e18 100644 --- a/tests/baselines/reference/neverType.js +++ b/tests/baselines/reference/neverType.js @@ -93,6 +93,7 @@ test(errorCallback); //// [neverType.js] +"use strict"; function error(message) { throw new Error(message); } diff --git a/tests/baselines/reference/neverTypeErrors1.js b/tests/baselines/reference/neverTypeErrors1.js index e9df5322968bd..5c92fb943f14f 100644 --- a/tests/baselines/reference/neverTypeErrors1.js +++ b/tests/baselines/reference/neverTypeErrors1.js @@ -50,6 +50,7 @@ function func(): { value: Union[] } { //// [neverTypeErrors1.js] +"use strict"; function f1() { var x; x = 1; diff --git a/tests/baselines/reference/neverTypeErrors2.js b/tests/baselines/reference/neverTypeErrors2.js index 1fc5ea1fc8ceb..dad03264dc8b9 100644 --- a/tests/baselines/reference/neverTypeErrors2.js +++ b/tests/baselines/reference/neverTypeErrors2.js @@ -50,6 +50,7 @@ function func(): { value: Union[] } { //// [neverTypeErrors2.js] +"use strict"; function f1() { var x; x = 1; diff --git a/tests/baselines/reference/newAbstractInstance.js b/tests/baselines/reference/newAbstractInstance.js index 0d0627111f7b6..bb76a2e904525 100644 --- a/tests/baselines/reference/newAbstractInstance.js +++ b/tests/baselines/reference/newAbstractInstance.js @@ -7,6 +7,7 @@ new b(); //// [newAbstractInstance.js] +"use strict"; var B = /** @class */ (function () { function B() { } diff --git a/tests/baselines/reference/newArrays.js b/tests/baselines/reference/newArrays.js index 2fd202d028925..bae43f0415f6c 100644 --- a/tests/baselines/reference/newArrays.js +++ b/tests/baselines/reference/newArrays.js @@ -15,6 +15,7 @@ namespace M { } //// [newArrays.js] +"use strict"; var M; (function (M) { var Foo = /** @class */ (function () { diff --git a/tests/baselines/reference/newExpressionWithCast.js b/tests/baselines/reference/newExpressionWithCast.js index 37db4a56a9d12..f00259a380e2e 100644 --- a/tests/baselines/reference/newExpressionWithCast.js +++ b/tests/baselines/reference/newExpressionWithCast.js @@ -16,6 +16,7 @@ var test3 = new (Test3)(); //// [newExpressionWithCast.js] +"use strict"; function Test() { } // valid but error with noImplicitAny var test = new Test(); diff --git a/tests/baselines/reference/newExpressionWithTypeParameterConstrainedToOuterTypeParameter.js b/tests/baselines/reference/newExpressionWithTypeParameterConstrainedToOuterTypeParameter.js index 7d6363b3e62ac..ba8fe9f0e4cf8 100644 --- a/tests/baselines/reference/newExpressionWithTypeParameterConstrainedToOuterTypeParameter.js +++ b/tests/baselines/reference/newExpressionWithTypeParameterConstrainedToOuterTypeParameter.js @@ -8,5 +8,6 @@ var i: I; var y = new i(""); // y should be string //// [newExpressionWithTypeParameterConstrainedToOuterTypeParameter.js] +"use strict"; var i; var y = new i(""); // y should be string diff --git a/tests/baselines/reference/newFunctionImplicitAny.js b/tests/baselines/reference/newFunctionImplicitAny.js index 80a3f4b455679..a28a5bcfd9f51 100644 --- a/tests/baselines/reference/newFunctionImplicitAny.js +++ b/tests/baselines/reference/newFunctionImplicitAny.js @@ -7,6 +7,7 @@ function Test() { } var test = new Test(); //// [newFunctionImplicitAny.js] +"use strict"; // No implicit any error given when newing a function (up for debate) function Test() { } var test = new Test(); diff --git a/tests/baselines/reference/newLexicalEnvironmentForConvertedLoop.js b/tests/baselines/reference/newLexicalEnvironmentForConvertedLoop.js index 5fe6592214401..2d64d601863c7 100644 --- a/tests/baselines/reference/newLexicalEnvironmentForConvertedLoop.js +++ b/tests/baselines/reference/newLexicalEnvironmentForConvertedLoop.js @@ -15,6 +15,7 @@ function foo(set: any) { }; //// [newLexicalEnvironmentForConvertedLoop.js] +"use strict"; function baz(x) { return [[x, x]]; } diff --git a/tests/baselines/reference/newLineFlagWithCRLF.js b/tests/baselines/reference/newLineFlagWithCRLF.js index 9e25ecde04f0d..a2616705190a8 100644 --- a/tests/baselines/reference/newLineFlagWithCRLF.js +++ b/tests/baselines/reference/newLineFlagWithCRLF.js @@ -7,5 +7,6 @@ x=2; //// [newLineFlagWithCRLF.js] +"use strict"; var x = 1; x = 2; diff --git a/tests/baselines/reference/newLineFlagWithLF.js b/tests/baselines/reference/newLineFlagWithLF.js index b6a5ba79054c9..40695152df3f8 100644 --- a/tests/baselines/reference/newLineFlagWithLF.js +++ b/tests/baselines/reference/newLineFlagWithLF.js @@ -7,5 +7,6 @@ x=2; //// [newLineFlagWithLF.js] +"use strict"; var x = 1; x = 2; diff --git a/tests/baselines/reference/newLineInTypeofInstantiation.js b/tests/baselines/reference/newLineInTypeofInstantiation.js index 4ec22cf194f52..4d7bd8226b20c 100644 --- a/tests/baselines/reference/newLineInTypeofInstantiation.js +++ b/tests/baselines/reference/newLineInTypeofInstantiation.js @@ -9,3 +9,4 @@ interface Example { //// [newLineInTypeofInstantiation.js] +"use strict"; diff --git a/tests/baselines/reference/newMap.js b/tests/baselines/reference/newMap.js index b40e48499b0cf..b279f97b68ebf 100644 --- a/tests/baselines/reference/newMap.js +++ b/tests/baselines/reference/newMap.js @@ -5,4 +5,5 @@ new Map(); //// [newMap.js] +"use strict"; new Map(); diff --git a/tests/baselines/reference/newMissingIdentifier.js b/tests/baselines/reference/newMissingIdentifier.js index 09ca93c289f04..835366d0c24a8 100644 --- a/tests/baselines/reference/newMissingIdentifier.js +++ b/tests/baselines/reference/newMissingIdentifier.js @@ -5,4 +5,5 @@ var x = new (); //// [newMissingIdentifier.js] +"use strict"; var x = new (); diff --git a/tests/baselines/reference/newNamesInGlobalAugmentations1.js b/tests/baselines/reference/newNamesInGlobalAugmentations1.js index e8e5af890a834..cea327bac9527 100644 --- a/tests/baselines/reference/newNamesInGlobalAugmentations1.js +++ b/tests/baselines/reference/newNamesInGlobalAugmentations1.js @@ -21,6 +21,7 @@ new Cls().x let c = a + b + X; //// [main.js] +"use strict"; Symbol.observable; new Cls().x; let c = a + b + X; diff --git a/tests/baselines/reference/newNonReferenceType.js b/tests/baselines/reference/newNonReferenceType.js index 4d73b3ba87f6f..da268e2675f1a 100644 --- a/tests/baselines/reference/newNonReferenceType.js +++ b/tests/baselines/reference/newNonReferenceType.js @@ -6,5 +6,6 @@ var b = new boolean(); // error //// [newNonReferenceType.js] +"use strict"; var a = new any(); var b = new boolean(); // error diff --git a/tests/baselines/reference/newOnInstanceSymbol.js b/tests/baselines/reference/newOnInstanceSymbol.js index 34cc04e692543..978614e0d6bba 100644 --- a/tests/baselines/reference/newOnInstanceSymbol.js +++ b/tests/baselines/reference/newOnInstanceSymbol.js @@ -6,6 +6,7 @@ var x = new C(); // should be ok new x(); // should error //// [newOnInstanceSymbol.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/newOperator.js b/tests/baselines/reference/newOperator.js index f972a886544fb..c35e6a57e9bf4 100644 --- a/tests/baselines/reference/newOperator.js +++ b/tests/baselines/reference/newOperator.js @@ -62,6 +62,7 @@ class S { //// [newOperator.js] +"use strict"; // Attempting to 'new' an interface yields poor error var i = new ifc(); // Parens are optional diff --git a/tests/baselines/reference/newOperatorConformance.js b/tests/baselines/reference/newOperatorConformance.js index 26aa64b7fec45..187f6a7f202c2 100644 --- a/tests/baselines/reference/newOperatorConformance.js +++ b/tests/baselines/reference/newOperatorConformance.js @@ -65,6 +65,7 @@ var n = new nested(); //// [newOperatorConformance.js] +"use strict"; var C0 = /** @class */ (function () { function C0() { } diff --git a/tests/baselines/reference/newOperatorErrorCases.js b/tests/baselines/reference/newOperatorErrorCases.js index 702fd7c355dd1..52fc70b193a35 100644 --- a/tests/baselines/reference/newOperatorErrorCases.js +++ b/tests/baselines/reference/newOperatorErrorCases.js @@ -40,6 +40,7 @@ var s = new fnNumber(); // Error //// [newOperatorErrorCases.js] +"use strict"; var C0 = /** @class */ (function () { function C0() { } diff --git a/tests/baselines/reference/newOperatorErrorCases_noImplicitAny.js b/tests/baselines/reference/newOperatorErrorCases_noImplicitAny.js index db4e8f9d7b3a3..0dde48f59f3e2 100644 --- a/tests/baselines/reference/newOperatorErrorCases_noImplicitAny.js +++ b/tests/baselines/reference/newOperatorErrorCases_noImplicitAny.js @@ -12,6 +12,7 @@ new functionVoidNoThis(); // Error //// [newOperatorErrorCases_noImplicitAny.js] +"use strict"; function fnNumber() { return 90; } new fnNumber(); // Error function fnVoid() { } diff --git a/tests/baselines/reference/newTarget.es5.js b/tests/baselines/reference/newTarget.es5.js index a499e83be5b06..f2d2fe8cee4ff 100644 --- a/tests/baselines/reference/newTarget.es5.js +++ b/tests/baselines/reference/newTarget.es5.js @@ -35,6 +35,7 @@ const O = { //// [newTarget.es5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/newTarget.es6.js b/tests/baselines/reference/newTarget.es6.js index 525c61ad4ec76..9a4e3fc46dfe4 100644 --- a/tests/baselines/reference/newTarget.es6.js +++ b/tests/baselines/reference/newTarget.es6.js @@ -35,6 +35,7 @@ const O = { //// [newTarget.es6.js] +"use strict"; class A { constructor() { this.d = function () { return new.target; }; diff --git a/tests/baselines/reference/newWithSpread.js b/tests/baselines/reference/newWithSpread.js index 5779b93adadf1..ed451683bea5d 100644 --- a/tests/baselines/reference/newWithSpread.js +++ b/tests/baselines/reference/newWithSpread.js @@ -99,6 +99,7 @@ new i["a-b"][1](1, 2, ...a); new i["a-b"][1](1, 2, ...a, "string"); //// [newWithSpread.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/newWithSpreadES5.js b/tests/baselines/reference/newWithSpreadES5.js index f956aeaddfa2d..5202cc24f3122 100644 --- a/tests/baselines/reference/newWithSpreadES5.js +++ b/tests/baselines/reference/newWithSpreadES5.js @@ -98,6 +98,7 @@ new i["a-b"][1](1, 2, ...a); new i["a-b"][1](1, 2, ...a, "string"); //// [newWithSpreadES5.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/newWithSpreadES6.js b/tests/baselines/reference/newWithSpreadES6.js index 1e8bc4ee99fd9..9bdc7dac066d2 100644 --- a/tests/baselines/reference/newWithSpreadES6.js +++ b/tests/baselines/reference/newWithSpreadES6.js @@ -99,6 +99,7 @@ new i["a-b"][1](1, 2, ...a); new i["a-b"][1](1, 2, ...a, "string"); //// [newWithSpreadES6.js] +"use strict"; function f(x, y, ...z) { } function f2(...x) { diff --git a/tests/baselines/reference/noCatchBlock.js b/tests/baselines/reference/noCatchBlock.js index d66d79eed23a7..1bf90d6207cbc 100644 --- a/tests/baselines/reference/noCatchBlock.js +++ b/tests/baselines/reference/noCatchBlock.js @@ -8,6 +8,7 @@ try { } //// [noCatchBlock.js] +"use strict"; try { // ... } diff --git a/tests/baselines/reference/noCatchBlock.js.map b/tests/baselines/reference/noCatchBlock.js.map index abeb1620a934e..a6d45c5dbd43f 100644 --- a/tests/baselines/reference/noCatchBlock.js.map +++ b/tests/baselines/reference/noCatchBlock.js.map @@ -1,3 +1,3 @@ //// [noCatchBlock.js.map] -{"version":3,"file":"noCatchBlock.js","sourceRoot":"","sources":["noCatchBlock.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC;IACJ,MAAM;AACP,CAAC;QAAS,CAAC;IACV,wBAAwB;AACzB,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dHJ5IHsNCiAgICAvLyAuLi4NCn0NCmZpbmFsbHkgew0KICAgIC8vIE4uQi4gTm8gJ2NhdGNoJyBibG9jaw0KfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9bm9DYXRjaEJsb2NrLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9DYXRjaEJsb2NrLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibm9DYXRjaEJsb2NrLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQztJQUNKLE1BQU07QUFDUCxDQUFDO1FBQVMsQ0FBQztJQUNWLHdCQUF3QjtBQUN6QixDQUFDIn0=,dHJ5IHsKIC8vIC4uLgp9IGZpbmFsbHkgewogLy8gTi5CLiBObyAnY2F0Y2gnIGJsb2NrCn0= +{"version":3,"file":"noCatchBlock.js","sourceRoot":"","sources":["noCatchBlock.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC;IACJ,MAAM;AACP,CAAC;QAAS,CAAC;IACV,wBAAwB;AACzB,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdHJ5IHsNCiAgICAvLyAuLi4NCn0NCmZpbmFsbHkgew0KICAgIC8vIE4uQi4gTm8gJ2NhdGNoJyBibG9jaw0KfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9bm9DYXRjaEJsb2NrLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibm9DYXRjaEJsb2NrLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsibm9DYXRjaEJsb2NrLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFJLENBQUM7SUFDSixNQUFNO0FBQ1AsQ0FBQztRQUFTLENBQUM7SUFDVix3QkFBd0I7QUFDekIsQ0FBQyJ9,dHJ5IHsKIC8vIC4uLgp9IGZpbmFsbHkgewogLy8gTi5CLiBObyAnY2F0Y2gnIGJsb2NrCn0= diff --git a/tests/baselines/reference/noCatchBlock.sourcemap.txt b/tests/baselines/reference/noCatchBlock.sourcemap.txt index 02141b281e4fb..427ad6db57c2c 100644 --- a/tests/baselines/reference/noCatchBlock.sourcemap.txt +++ b/tests/baselines/reference/noCatchBlock.sourcemap.txt @@ -8,6 +8,7 @@ sources: noCatchBlock.ts emittedFile:noCatchBlock.js sourceFile:noCatchBlock.ts ------------------------------------------------------------------- +>>>"use strict"; >>>try { 1 > 2 >^^^^ @@ -16,9 +17,9 @@ sourceFile:noCatchBlock.ts 1 > 2 >try 3 > { -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) --- >>> // ... 1->^^^^ @@ -26,8 +27,8 @@ sourceFile:noCatchBlock.ts 1-> > 2 > // ... -1->Emitted(2, 5) Source(2, 2) + SourceIndex(0) -2 >Emitted(2, 11) Source(2, 8) + SourceIndex(0) +1->Emitted(3, 5) Source(2, 2) + SourceIndex(0) +2 >Emitted(3, 11) Source(2, 8) + SourceIndex(0) --- >>>} 1 > @@ -36,8 +37,8 @@ sourceFile:noCatchBlock.ts 1 > > 2 >} -1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(4, 2) Source(3, 2) + SourceIndex(0) --- >>>finally { 1->^^^^^^^^ @@ -45,8 +46,8 @@ sourceFile:noCatchBlock.ts 3 > ^^^^^^^^^^^^^^^^^^^^-> 1-> finally 2 > { -1->Emitted(4, 9) Source(3, 11) + SourceIndex(0) -2 >Emitted(4, 10) Source(3, 12) + SourceIndex(0) +1->Emitted(5, 9) Source(3, 11) + SourceIndex(0) +2 >Emitted(5, 10) Source(3, 12) + SourceIndex(0) --- >>> // N.B. No 'catch' block 1->^^^^ @@ -54,8 +55,8 @@ sourceFile:noCatchBlock.ts 1-> > 2 > // N.B. No 'catch' block -1->Emitted(5, 5) Source(4, 2) + SourceIndex(0) -2 >Emitted(5, 29) Source(4, 26) + SourceIndex(0) +1->Emitted(6, 5) Source(4, 2) + SourceIndex(0) +2 >Emitted(6, 29) Source(4, 26) + SourceIndex(0) --- >>>} 1 > @@ -64,7 +65,7 @@ sourceFile:noCatchBlock.ts 1 > > 2 >} -1 >Emitted(6, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(5, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(5, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=noCatchBlock.js.map \ No newline at end of file diff --git a/tests/baselines/reference/noCollisionThisExpressionAndClassInGlobal.js b/tests/baselines/reference/noCollisionThisExpressionAndClassInGlobal.js index bf78d4265c54c..37cb547ffe946 100644 --- a/tests/baselines/reference/noCollisionThisExpressionAndClassInGlobal.js +++ b/tests/baselines/reference/noCollisionThisExpressionAndClassInGlobal.js @@ -6,6 +6,7 @@ class _this { var f = () => _this; //// [noCollisionThisExpressionAndClassInGlobal.js] +"use strict"; var _this = /** @class */ (function () { function _this() { } diff --git a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInAccessors.js b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInAccessors.js index 606498585dff7..0607447e07fd3 100644 --- a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInAccessors.js +++ b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInAccessors.js @@ -46,6 +46,7 @@ class class2 { } //// [noCollisionThisExpressionAndLocalVarInAccessors.js] +"use strict"; var class1 = /** @class */ (function () { function class1() { } diff --git a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInConstructor.js b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInConstructor.js index 502114de78bf5..7b1bf62ad680e 100644 --- a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInConstructor.js +++ b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInConstructor.js @@ -24,6 +24,7 @@ class class2 { } //// [noCollisionThisExpressionAndLocalVarInConstructor.js] +"use strict"; var class1 = /** @class */ (function () { function class1() { var x2 = { diff --git a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInFunction.js b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInFunction.js index a7e0ab8e3fe5e..198dcfa82ac3a 100644 --- a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInFunction.js +++ b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInFunction.js @@ -10,6 +10,7 @@ function x() { } //// [noCollisionThisExpressionAndLocalVarInFunction.js] +"use strict"; var console; function x() { var _this = 5; diff --git a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInLambda.js b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInLambda.js index 988b624f2f448..e1712a768dfd6 100644 --- a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInLambda.js +++ b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInLambda.js @@ -11,6 +11,7 @@ var x = { alert(x.doStuff(x => alert(x))); //// [noCollisionThisExpressionAndLocalVarInLambda.js] +"use strict"; var x = { doStuff: function (callback) { return function () { var _this = 2; diff --git a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInMethod.js b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInMethod.js index f7bcb754a2811..f87b2b9e2754d 100644 --- a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInMethod.js +++ b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInMethod.js @@ -22,6 +22,7 @@ class a { } //// [noCollisionThisExpressionAndLocalVarInMethod.js] +"use strict"; var _this = 2; var a = /** @class */ (function () { function a() { diff --git a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInProperty.js b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInProperty.js index 2469673c7f59b..f02590c14a552 100644 --- a/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInProperty.js +++ b/tests/baselines/reference/noCollisionThisExpressionAndLocalVarInProperty.js @@ -22,6 +22,7 @@ class class2 { } //// [noCollisionThisExpressionAndLocalVarInProperty.js] +"use strict"; var class1 = /** @class */ (function () { function class1() { this.prop1 = { diff --git a/tests/baselines/reference/noCollisionThisExpressionAndVarInGlobal.js b/tests/baselines/reference/noCollisionThisExpressionAndVarInGlobal.js index 3562f58f7c219..195808a99b92c 100644 --- a/tests/baselines/reference/noCollisionThisExpressionAndVarInGlobal.js +++ b/tests/baselines/reference/noCollisionThisExpressionAndVarInGlobal.js @@ -5,5 +5,6 @@ var _this = 1; var f = () => _this; //// [noCollisionThisExpressionAndVarInGlobal.js] +"use strict"; var _this = 1; var f = function () { return _this; }; diff --git a/tests/baselines/reference/noCollisionThisExpressionInFunctionAndVarInGlobal.js b/tests/baselines/reference/noCollisionThisExpressionInFunctionAndVarInGlobal.js index 612eb1504b205..7efb7286d6130 100644 --- a/tests/baselines/reference/noCollisionThisExpressionInFunctionAndVarInGlobal.js +++ b/tests/baselines/reference/noCollisionThisExpressionInFunctionAndVarInGlobal.js @@ -10,6 +10,7 @@ function x() { } //// [noCollisionThisExpressionInFunctionAndVarInGlobal.js] +"use strict"; var console; var _this = 5; function x() { diff --git a/tests/baselines/reference/noConstraintInReturnType1.js b/tests/baselines/reference/noConstraintInReturnType1.js index 5aa1567abdde0..6eb6a5478fb7e 100644 --- a/tests/baselines/reference/noConstraintInReturnType1.js +++ b/tests/baselines/reference/noConstraintInReturnType1.js @@ -7,6 +7,7 @@ class List { //// [noConstraintInReturnType1.js] +"use strict"; var List = /** @class */ (function () { function List() { } diff --git a/tests/baselines/reference/noCrashOnMixin.js b/tests/baselines/reference/noCrashOnMixin.js index 615fdf53324c1..e41c8ef58dff7 100644 --- a/tests/baselines/reference/noCrashOnMixin.js +++ b/tests/baselines/reference/noCrashOnMixin.js @@ -26,6 +26,7 @@ class CrashTrigger extends Mixin(Empty) { } //// [noCrashOnMixin.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/noCrashOnParameterNamedRequire.js b/tests/baselines/reference/noCrashOnParameterNamedRequire.js index f1b17e698401a..506dd6a87b024 100644 --- a/tests/baselines/reference/noCrashOnParameterNamedRequire.js +++ b/tests/baselines/reference/noCrashOnParameterNamedRequire.js @@ -7,6 +7,7 @@ })(null, null, null); //// [index.js] +"use strict"; (function (require, module, exports) { var mod = require("./mod"); mod.foo; diff --git a/tests/baselines/reference/noCrashUMDMergedWithGlobalValue.js b/tests/baselines/reference/noCrashUMDMergedWithGlobalValue.js index 7f8edd9c38703..9594ccc1aba64 100644 --- a/tests/baselines/reference/noCrashUMDMergedWithGlobalValue.js +++ b/tests/baselines/reference/noCrashUMDMergedWithGlobalValue.js @@ -12,3 +12,4 @@ declare const value: SomeInterface; //// [main.js] +"use strict"; diff --git a/tests/baselines/reference/noEmitHelpers.js b/tests/baselines/reference/noEmitHelpers.js index 9153af408e8e5..74654e9f84250 100644 --- a/tests/baselines/reference/noEmitHelpers.js +++ b/tests/baselines/reference/noEmitHelpers.js @@ -6,6 +6,7 @@ class B extends A { } //// [noEmitHelpers.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/noEmitHelpers2.js b/tests/baselines/reference/noEmitHelpers2.js index bd2468f0d0e53..e0f932e2b37bd 100644 --- a/tests/baselines/reference/noEmitHelpers2.js +++ b/tests/baselines/reference/noEmitHelpers2.js @@ -10,6 +10,7 @@ class A { } //// [noEmitHelpers2.js] +"use strict"; var A = /** @class */ (function () { function A(a, b) { } diff --git a/tests/baselines/reference/noEmitOnError.js b/tests/baselines/reference/noEmitOnError.js index 844d502f03530..a67ef2b53492c 100644 --- a/tests/baselines/reference/noEmitOnError.js +++ b/tests/baselines/reference/noEmitOnError.js @@ -13,5 +13,6 @@ declare var x: number; !!!! File noEmitOnError.js missing from original emit, but present in noCheck emit //// [noEmitOnError.js] +"use strict"; var x = ""; //# sourceMappingURL=noEmitOnError.js.map \ No newline at end of file diff --git a/tests/baselines/reference/noErrorTruncation.js b/tests/baselines/reference/noErrorTruncation.js index ae621e9a287ce..e38a81cdc548a 100644 --- a/tests/baselines/reference/noErrorTruncation.js +++ b/tests/baselines/reference/noErrorTruncation.js @@ -19,5 +19,6 @@ const x: SomeLongOptionA //// [noErrorTruncation.js] +"use strict"; // @noErrorTruncation var x = 42; diff --git a/tests/baselines/reference/noErrorsInCallback.js b/tests/baselines/reference/noErrorsInCallback.js index 0ee9c619db8de..a80874bb80ab1 100644 --- a/tests/baselines/reference/noErrorsInCallback.js +++ b/tests/baselines/reference/noErrorsInCallback.js @@ -11,6 +11,7 @@ var one = new Bar({}); // Error //// [noErrorsInCallback.js] +"use strict"; var Bar = /** @class */ (function () { function Bar(foo) { this.foo = foo; diff --git a/tests/baselines/reference/noImplicitAnyAndPrivateMembersWithoutTypeAnnotations.js b/tests/baselines/reference/noImplicitAnyAndPrivateMembersWithoutTypeAnnotations.js index 633a1d07876b4..09eb1be85fb3c 100644 --- a/tests/baselines/reference/noImplicitAnyAndPrivateMembersWithoutTypeAnnotations.js +++ b/tests/baselines/reference/noImplicitAnyAndPrivateMembersWithoutTypeAnnotations.js @@ -15,5 +15,6 @@ var x = new Something(); //// [app.js] +"use strict"; /// var x = new Something(); diff --git a/tests/baselines/reference/noImplicitAnyDestructuringParameterDeclaration.js b/tests/baselines/reference/noImplicitAnyDestructuringParameterDeclaration.js index 648a483999574..49ae2beedd837 100644 --- a/tests/baselines/reference/noImplicitAnyDestructuringParameterDeclaration.js +++ b/tests/baselines/reference/noImplicitAnyDestructuringParameterDeclaration.js @@ -13,6 +13,7 @@ function f5([a1] = [undefined], {b1} = { b1: null }, c1 = undefined, d1 = null) } //// [noImplicitAnyDestructuringParameterDeclaration.js] +"use strict"; function f1(_a, _b, c, d) { var a = _a[0]; var b = _b.b; diff --git a/tests/baselines/reference/noImplicitAnyDestructuringVarDeclaration.js b/tests/baselines/reference/noImplicitAnyDestructuringVarDeclaration.js index 0f9bea289dfb1..0f619aa2e6403 100644 --- a/tests/baselines/reference/noImplicitAnyDestructuringVarDeclaration.js +++ b/tests/baselines/reference/noImplicitAnyDestructuringVarDeclaration.js @@ -14,6 +14,7 @@ var [a4] = [undefined], {b4} = { b4: null }, c4 = undefined, d4 = null; // error var [a5 = undefined] = []; // error //// [noImplicitAnyDestructuringVarDeclaration.js] +"use strict"; var a = (void 0)[0], b = (void 0).b, c, d; // error var _a = (void 0)[0], a1 = _a === void 0 ? undefined : _a, _b = (void 0).b1, b1 = _b === void 0 ? null : _b, c1 = undefined, d1 = null; // error var a2 = (void 0)[0], b2 = (void 0).b2, c2, d2; diff --git a/tests/baselines/reference/noImplicitAnyDestructuringVarDeclaration2.js b/tests/baselines/reference/noImplicitAnyDestructuringVarDeclaration2.js index cb21f41261c00..7df4bfa489e24 100644 --- a/tests/baselines/reference/noImplicitAnyDestructuringVarDeclaration2.js +++ b/tests/baselines/reference/noImplicitAnyDestructuringVarDeclaration2.js @@ -15,6 +15,7 @@ let {x4} = { x4: undefined }, {y4} = { y4: null }; // no error //// [noImplicitAnyDestructuringVarDeclaration2.js] +"use strict"; var _a = [1, 2, 3], a = _a[0], b = _a[1], c = _a[2]; // no error var _b = [1, 2, 3], _c = _b[0], a1 = _c === void 0 ? 10 : _c, _d = _b[1], b1 = _d === void 0 ? 10 : _d, _e = _b[2], c1 = _e === void 0 ? 10 : _e; // no error var _f = [1, 2, 3], _g = _f[0], a2 = _g === void 0 ? undefined : _g, _h = _f[1], b2 = _h === void 0 ? undefined : _h, _j = _f[2], c2 = _j === void 0 ? undefined : _j; // no error diff --git a/tests/baselines/reference/noImplicitAnyForIn.js b/tests/baselines/reference/noImplicitAnyForIn.js index ee2d0be4aea07..e2e512b545ccd 100644 --- a/tests/baselines/reference/noImplicitAnyForIn.js +++ b/tests/baselines/reference/noImplicitAnyForIn.js @@ -33,6 +33,7 @@ var n = [[]] || []; for (n[idx++] in m); //// [noImplicitAnyForIn.js] +"use strict"; var x = [[1, 2, 3], ["hello"]]; for (var i in x) { for (var j in x[i]) { diff --git a/tests/baselines/reference/noImplicitAnyForMethodParameters.js b/tests/baselines/reference/noImplicitAnyForMethodParameters.js index c17e4fe9d8c01..7d9d582352a1e 100644 --- a/tests/baselines/reference/noImplicitAnyForMethodParameters.js +++ b/tests/baselines/reference/noImplicitAnyForMethodParameters.js @@ -17,6 +17,7 @@ class D { } //// [noImplicitAnyForMethodParameters.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/noImplicitAnyForwardReferencedInterface.js b/tests/baselines/reference/noImplicitAnyForwardReferencedInterface.js index 3ca69032d54cd..f089979053672 100644 --- a/tests/baselines/reference/noImplicitAnyForwardReferencedInterface.js +++ b/tests/baselines/reference/noImplicitAnyForwardReferencedInterface.js @@ -9,3 +9,4 @@ interface Entry { } //// [noImplicitAnyForwardReferencedInterface.js] +"use strict"; diff --git a/tests/baselines/reference/noImplicitAnyFunctionExpressionAssignment.js b/tests/baselines/reference/noImplicitAnyFunctionExpressionAssignment.js index 5b074cf3fd748..0dfc37899c439 100644 --- a/tests/baselines/reference/noImplicitAnyFunctionExpressionAssignment.js +++ b/tests/baselines/reference/noImplicitAnyFunctionExpressionAssignment.js @@ -10,6 +10,7 @@ var x2: (a: any) => void = function f(x: T) { }; //// [noImplicitAnyFunctionExpressionAssignment.js] +"use strict"; var x = function (x) { return null; }; diff --git a/tests/baselines/reference/noImplicitAnyFunctions.js b/tests/baselines/reference/noImplicitAnyFunctions.js index e5274f5f0aad3..882d6b0b1b09e 100644 --- a/tests/baselines/reference/noImplicitAnyFunctions.js +++ b/tests/baselines/reference/noImplicitAnyFunctions.js @@ -23,6 +23,7 @@ function f6(x: string, y) { } //// [noImplicitAnyFunctions.js] +"use strict"; function f3(x) { } function f4(x) { diff --git a/tests/baselines/reference/noImplicitAnyInBareInterface.js b/tests/baselines/reference/noImplicitAnyInBareInterface.js index fbe7c8bb83d1b..4fc960883f2c5 100644 --- a/tests/baselines/reference/noImplicitAnyInBareInterface.js +++ b/tests/baselines/reference/noImplicitAnyInBareInterface.js @@ -9,3 +9,4 @@ interface Entry { } //// [noImplicitAnyInBareInterface.js] +"use strict"; diff --git a/tests/baselines/reference/noImplicitAnyInCastExpression.js b/tests/baselines/reference/noImplicitAnyInCastExpression.js index b6f7a76726bcd..ff9173ee2c7ab 100644 --- a/tests/baselines/reference/noImplicitAnyInCastExpression.js +++ b/tests/baselines/reference/noImplicitAnyInCastExpression.js @@ -18,6 +18,7 @@ interface IFoo { ({ c: null }); //// [noImplicitAnyInCastExpression.js] +"use strict"; // verify no noImplictAny errors reported with cast expression // Expr type not assignable to target type ({ a: null }); diff --git a/tests/baselines/reference/noImplicitAnyInContextuallyTypesFunctionParamter.js b/tests/baselines/reference/noImplicitAnyInContextuallyTypesFunctionParamter.js index c666abdcd7b4d..e7a9cc82a98a3 100644 --- a/tests/baselines/reference/noImplicitAnyInContextuallyTypesFunctionParamter.js +++ b/tests/baselines/reference/noImplicitAnyInContextuallyTypesFunctionParamter.js @@ -6,5 +6,6 @@ regexMatchList.forEach(match => ''.replace(match, '')); //// [noImplicitAnyInContextuallyTypesFunctionParamter.js] +"use strict"; var regexMatchList = ['', '']; regexMatchList.forEach(function (match) { return ''.replace(match, ''); }); diff --git a/tests/baselines/reference/noImplicitAnyIndexing.js b/tests/baselines/reference/noImplicitAnyIndexing.js index 2f577a8c8895a..f2110b5a46d82 100644 --- a/tests/baselines/reference/noImplicitAnyIndexing.js +++ b/tests/baselines/reference/noImplicitAnyIndexing.js @@ -51,6 +51,7 @@ var mResult3 = m[hi]; //// [noImplicitAnyIndexing.js] +"use strict"; var MyEmusEnum; (function (MyEmusEnum) { MyEmusEnum[MyEmusEnum["emu"] = 0] = "emu"; diff --git a/tests/baselines/reference/noImplicitAnyIndexingSuppressed.js b/tests/baselines/reference/noImplicitAnyIndexingSuppressed.js index 007728b0069be..b75e29fbbc97c 100644 --- a/tests/baselines/reference/noImplicitAnyIndexingSuppressed.js +++ b/tests/baselines/reference/noImplicitAnyIndexingSuppressed.js @@ -50,6 +50,7 @@ var mResult3 = m[hi]; //// [noImplicitAnyIndexingSuppressed.js] +"use strict"; var MyEmusEnum; (function (MyEmusEnum) { MyEmusEnum[MyEmusEnum["emu"] = 0] = "emu"; diff --git a/tests/baselines/reference/noImplicitAnyLoopCrash.js b/tests/baselines/reference/noImplicitAnyLoopCrash.js index a674b8e741460..e71cc04661535 100644 --- a/tests/baselines/reference/noImplicitAnyLoopCrash.js +++ b/tests/baselines/reference/noImplicitAnyLoopCrash.js @@ -9,6 +9,7 @@ while (1) { //// [noImplicitAnyLoopCrash.js] +"use strict"; var foo = function () { }; var bar; while (1) { diff --git a/tests/baselines/reference/noImplicitAnyMissingGetAccessor.js b/tests/baselines/reference/noImplicitAnyMissingGetAccessor.js index 3f0c21591914d..8e267ea1ab95c 100644 --- a/tests/baselines/reference/noImplicitAnyMissingGetAccessor.js +++ b/tests/baselines/reference/noImplicitAnyMissingGetAccessor.js @@ -14,6 +14,7 @@ class Child extends Parent { } //// [noImplicitAnyMissingGetAccessor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/noImplicitAnyMissingSetAccessor.js b/tests/baselines/reference/noImplicitAnyMissingSetAccessor.js index 1284912c9754d..0a44d5e3063d0 100644 --- a/tests/baselines/reference/noImplicitAnyMissingSetAccessor.js +++ b/tests/baselines/reference/noImplicitAnyMissingSetAccessor.js @@ -13,6 +13,7 @@ class Child extends Parent { } //// [noImplicitAnyMissingSetAccessor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/noImplicitAnyModule.js b/tests/baselines/reference/noImplicitAnyModule.js index 52371949c7a43..fa5da8d8d40dd 100644 --- a/tests/baselines/reference/noImplicitAnyModule.js +++ b/tests/baselines/reference/noImplicitAnyModule.js @@ -22,3 +22,4 @@ declare namespace Module { //// [noImplicitAnyModule.js] +"use strict"; diff --git a/tests/baselines/reference/noImplicitAnyNamelessParameter.js b/tests/baselines/reference/noImplicitAnyNamelessParameter.js index 0b28a47edf3ac..ae8a8a9978cb3 100644 --- a/tests/baselines/reference/noImplicitAnyNamelessParameter.js +++ b/tests/baselines/reference/noImplicitAnyNamelessParameter.js @@ -10,6 +10,7 @@ declare var d: { m(boolean, C, object, undefined): void } //// [noImplicitAnyNamelessParameter.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/noImplicitAnyParametersInAmbientClass.js b/tests/baselines/reference/noImplicitAnyParametersInAmbientClass.js index 42961a288ac86..7e232e07e11f4 100644 --- a/tests/baselines/reference/noImplicitAnyParametersInAmbientClass.js +++ b/tests/baselines/reference/noImplicitAnyParametersInAmbientClass.js @@ -94,3 +94,4 @@ declare class D_C { } //// [noImplicitAnyParametersInAmbientClass.js] +"use strict"; diff --git a/tests/baselines/reference/noImplicitAnyParametersInAmbientFunctions.js b/tests/baselines/reference/noImplicitAnyParametersInAmbientFunctions.js index 41013093a8fde..249970cf4ff19 100644 --- a/tests/baselines/reference/noImplicitAnyParametersInAmbientFunctions.js +++ b/tests/baselines/reference/noImplicitAnyParametersInAmbientFunctions.js @@ -46,3 +46,4 @@ declare var d_f13: (...r) => string; declare var d_f14: (x, ...r) => string; //// [noImplicitAnyParametersInAmbientFunctions.js] +"use strict"; diff --git a/tests/baselines/reference/noImplicitAnyParametersInAmbientModule.js b/tests/baselines/reference/noImplicitAnyParametersInAmbientModule.js index a3996bdcdbb4e..139e932a65bfe 100644 --- a/tests/baselines/reference/noImplicitAnyParametersInAmbientModule.js +++ b/tests/baselines/reference/noImplicitAnyParametersInAmbientModule.js @@ -48,3 +48,4 @@ declare namespace D_M { } //// [noImplicitAnyParametersInAmbientModule.js] +"use strict"; diff --git a/tests/baselines/reference/noImplicitAnyParametersInBareFunctions.js b/tests/baselines/reference/noImplicitAnyParametersInBareFunctions.js index 56bdcb0a88690..4837a36de27e1 100644 --- a/tests/baselines/reference/noImplicitAnyParametersInBareFunctions.js +++ b/tests/baselines/reference/noImplicitAnyParametersInBareFunctions.js @@ -46,6 +46,7 @@ var f13 = (...r) => ""; var f14 = (x, ...r) => ""; //// [noImplicitAnyParametersInBareFunctions.js] +"use strict"; // No implicit-'any' errors. function f1() { } // Implicit-'any' error for x. diff --git a/tests/baselines/reference/noImplicitAnyParametersInClass.js b/tests/baselines/reference/noImplicitAnyParametersInClass.js index 0e9e6abc85958..d5b0218d3a038 100644 --- a/tests/baselines/reference/noImplicitAnyParametersInClass.js +++ b/tests/baselines/reference/noImplicitAnyParametersInClass.js @@ -94,6 +94,7 @@ class C { } //// [noImplicitAnyParametersInClass.js] +"use strict"; var C = /** @class */ (function () { function C() { // No implicit-'any' errors. diff --git a/tests/baselines/reference/noImplicitAnyParametersInInterface.js b/tests/baselines/reference/noImplicitAnyParametersInInterface.js index 850b7c89d9267..4b29a9e13a41a 100644 --- a/tests/baselines/reference/noImplicitAnyParametersInInterface.js +++ b/tests/baselines/reference/noImplicitAnyParametersInInterface.js @@ -53,3 +53,4 @@ interface I { } //// [noImplicitAnyParametersInInterface.js] +"use strict"; diff --git a/tests/baselines/reference/noImplicitAnyParametersInModule.js b/tests/baselines/reference/noImplicitAnyParametersInModule.js index 575fbdbebef26..ca9c8ad882b54 100644 --- a/tests/baselines/reference/noImplicitAnyParametersInModule.js +++ b/tests/baselines/reference/noImplicitAnyParametersInModule.js @@ -48,6 +48,7 @@ namespace M { } //// [noImplicitAnyParametersInModule.js] +"use strict"; var M; (function (M) { // No implicit-'any' errors. diff --git a/tests/baselines/reference/noImplicitAnyReferencingDeclaredInterface.js b/tests/baselines/reference/noImplicitAnyReferencingDeclaredInterface.js index 71ffae8ac1f35..c970db4c1df17 100644 --- a/tests/baselines/reference/noImplicitAnyReferencingDeclaredInterface.js +++ b/tests/baselines/reference/noImplicitAnyReferencingDeclaredInterface.js @@ -9,3 +9,4 @@ interface Entry { declare var x: Entry; //// [noImplicitAnyReferencingDeclaredInterface.js] +"use strict"; diff --git a/tests/baselines/reference/noImplicitAnyStringIndexerOnObject.js b/tests/baselines/reference/noImplicitAnyStringIndexerOnObject.js index c9430c443a1ea..b5b91570bf5e7 100644 --- a/tests/baselines/reference/noImplicitAnyStringIndexerOnObject.js +++ b/tests/baselines/reference/noImplicitAnyStringIndexerOnObject.js @@ -103,6 +103,7 @@ m.prop['a']; //// [noImplicitAnyStringIndexerOnObject.js] +"use strict"; var a = {}["hello"]; var b = { '': 'foo' }['']; var c = { diff --git a/tests/baselines/reference/noImplicitAnyWithOverloads.js b/tests/baselines/reference/noImplicitAnyWithOverloads.js index 60737b1c25587..5d7f14dd79040 100644 --- a/tests/baselines/reference/noImplicitAnyWithOverloads.js +++ b/tests/baselines/reference/noImplicitAnyWithOverloads.js @@ -12,5 +12,6 @@ function callb(a) { } callb((a) => { a.foo; }); // error, chose first overload //// [noImplicitAnyWithOverloads.js] +"use strict"; function callb(a) { } callb(function (a) { a.foo; }); // error, chose first overload diff --git a/tests/baselines/reference/noImplicitReturnInConstructors.js b/tests/baselines/reference/noImplicitReturnInConstructors.js index 787b0d60a6619..c2e6e25c1fd72 100644 --- a/tests/baselines/reference/noImplicitReturnInConstructors.js +++ b/tests/baselines/reference/noImplicitReturnInConstructors.js @@ -8,6 +8,7 @@ class C { } //// [noImplicitReturnInConstructors.js] +"use strict"; var C = /** @class */ (function () { function C() { return; diff --git a/tests/baselines/reference/noImplicitReturnsInAsync1.js b/tests/baselines/reference/noImplicitReturnsInAsync1.js index fd6446e196634..08621497a2993 100644 --- a/tests/baselines/reference/noImplicitReturnsInAsync1.js +++ b/tests/baselines/reference/noImplicitReturnsInAsync1.js @@ -9,6 +9,7 @@ async function test(isError: boolean = false) { } //// [noImplicitReturnsInAsync1.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/noImplicitReturnsInAsync2.js b/tests/baselines/reference/noImplicitReturnsInAsync2.js index b378a7637ab18..903d38326a328 100644 --- a/tests/baselines/reference/noImplicitReturnsInAsync2.js +++ b/tests/baselines/reference/noImplicitReturnsInAsync2.js @@ -38,6 +38,7 @@ async function test7(isError: boolean = true) { } //// [noImplicitReturnsInAsync2.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks1.js b/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks1.js index 09ad6f42703d4..9c54ad47eef51 100644 --- a/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks1.js +++ b/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks1.js @@ -14,6 +14,7 @@ function main1() : number { } //// [noImplicitReturnsWithProtectedBlocks1.js] +"use strict"; function main1() { try { return get(); diff --git a/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks2.js b/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks2.js index 7f760199f3cba..776ed54e2f9ef 100644 --- a/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks2.js +++ b/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks2.js @@ -17,6 +17,7 @@ function main1() : number { } //// [noImplicitReturnsWithProtectedBlocks2.js] +"use strict"; function main1() { try { return get(); diff --git a/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks3.js b/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks3.js index cc8582cda5e7c..156b1af91ef6d 100644 --- a/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks3.js +++ b/tests/baselines/reference/noImplicitReturnsWithProtectedBlocks3.js @@ -14,6 +14,7 @@ function main1() : number { } //// [noImplicitReturnsWithProtectedBlocks3.js] +"use strict"; function main1() { try { return get(); diff --git a/tests/baselines/reference/noImplicitReturnsWithoutReturnExpression.js b/tests/baselines/reference/noImplicitReturnsWithoutReturnExpression.js index 57191333c6b07..3a2e90fb0d7ce 100644 --- a/tests/baselines/reference/noImplicitReturnsWithoutReturnExpression.js +++ b/tests/baselines/reference/noImplicitReturnsWithoutReturnExpression.js @@ -28,6 +28,7 @@ function isMissingReturnExpression5(x) { //// [noImplicitReturnsWithoutReturnExpression.js] +"use strict"; function isMissingReturnExpression() { return; } diff --git a/tests/baselines/reference/noImplicitSymbolToString.js b/tests/baselines/reference/noImplicitSymbolToString.js index 18d43131542b9..68a6d9b6abcdb 100644 --- a/tests/baselines/reference/noImplicitSymbolToString.js +++ b/tests/baselines/reference/noImplicitSymbolToString.js @@ -50,6 +50,7 @@ function getKey2(key: S) { //// [noImplicitSymbolToString.js] +"use strict"; // Fix #19666 var symbol; var str = "hello "; diff --git a/tests/baselines/reference/noImplicitThisBigThis.js b/tests/baselines/reference/noImplicitThisBigThis.js index 7c5b795183abe..31e3087a3e852 100644 --- a/tests/baselines/reference/noImplicitThisBigThis.js +++ b/tests/baselines/reference/noImplicitThisBigThis.js @@ -51,6 +51,7 @@ function createObjNoCrash() { //// [noImplicitThisBigThis.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/29902 function createObj() { return { diff --git a/tests/baselines/reference/noImplicitThisFunctions.js b/tests/baselines/reference/noImplicitThisFunctions.js index a26700a682927..c796ba4dc8bc3 100644 --- a/tests/baselines/reference/noImplicitThisFunctions.js +++ b/tests/baselines/reference/noImplicitThisFunctions.js @@ -25,6 +25,7 @@ let f7 = function() { return function() { return this } }; //// [noImplicitThisFunctions.js] +"use strict"; var _this = this; function f1(x) { // implicit any is still allowed diff --git a/tests/baselines/reference/noMappedGetSet.js b/tests/baselines/reference/noMappedGetSet.js index dbfac2aad2dab..628f2314d6288 100644 --- a/tests/baselines/reference/noMappedGetSet.js +++ b/tests/baselines/reference/noMappedGetSet.js @@ -7,3 +7,4 @@ type OH_NO = { //// [noMappedGetSet.js] +"use strict"; diff --git a/tests/baselines/reference/noObjectKeysToKeyofT.js b/tests/baselines/reference/noObjectKeysToKeyofT.js index c90feef0446cc..833356aae296a 100644 --- a/tests/baselines/reference/noObjectKeysToKeyofT.js +++ b/tests/baselines/reference/noObjectKeysToKeyofT.js @@ -9,6 +9,7 @@ Object.keys({ a: 0 }).push("b"); // https://stackoverflow.com/questions/55012174/why-doesnt-object-keys-return-a-keyof-type-in-typescript //// [noObjectKeysToKeyofT.js] +"use strict"; // Do not change Object.keys to return keyof T. // The current return type (string[]) is intentional. Object.keys({ a: 0 }).push("b"); diff --git a/tests/baselines/reference/noPropertyAccessFromIndexSignature1.js b/tests/baselines/reference/noPropertyAccessFromIndexSignature1.js index d921e96cfb4b4..3d135f16a7f1b 100644 --- a/tests/baselines/reference/noPropertyAccessFromIndexSignature1.js +++ b/tests/baselines/reference/noPropertyAccessFromIndexSignature1.js @@ -45,6 +45,7 @@ d?.["bar"]; //// [noPropertyAccessFromIndexSignature1.js] +"use strict"; // access property a.foo; a["foo"]; diff --git a/tests/baselines/reference/noReachabilityErrorsOnEmptyStatement.js b/tests/baselines/reference/noReachabilityErrorsOnEmptyStatement.js index 36b527fe44028..bc97edaa2a021 100644 --- a/tests/baselines/reference/noReachabilityErrorsOnEmptyStatement.js +++ b/tests/baselines/reference/noReachabilityErrorsOnEmptyStatement.js @@ -6,6 +6,7 @@ function foo() { } //// [noReachabilityErrorsOnEmptyStatement.js] +"use strict"; function foo() { return 1; ; diff --git a/tests/baselines/reference/noRepeatedPropertyNames.js b/tests/baselines/reference/noRepeatedPropertyNames.js index 5b71f76089fcf..7f5c34cf96a39 100644 --- a/tests/baselines/reference/noRepeatedPropertyNames.js +++ b/tests/baselines/reference/noRepeatedPropertyNames.js @@ -12,6 +12,7 @@ class C { //// [noRepeatedPropertyNames.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/46815 var first = { a: 1, a: 2 }; var C = /** @class */ (function () { diff --git a/tests/baselines/reference/noSelfOnVars.js b/tests/baselines/reference/noSelfOnVars.js index 0684a17e4fb08..a8856cba792a3 100644 --- a/tests/baselines/reference/noSelfOnVars.js +++ b/tests/baselines/reference/noSelfOnVars.js @@ -10,6 +10,7 @@ function foo() { //// [noSelfOnVars.js] +"use strict"; function foo() { function bar() { } var x = bar; diff --git a/tests/baselines/reference/noStrictGenericChecks.js b/tests/baselines/reference/noStrictGenericChecks.js index 55f3bbfd902f5..9619511322229 100644 --- a/tests/baselines/reference/noStrictGenericChecks.js +++ b/tests/baselines/reference/noStrictGenericChecks.js @@ -11,6 +11,7 @@ function f(a: A, b: B) { //// [noStrictGenericChecks.js] +"use strict"; function f(a, b) { a = b; // Error disabled here b = a; // Ok diff --git a/tests/baselines/reference/noSubstitutionTemplateStringLiteralTypes.js b/tests/baselines/reference/noSubstitutionTemplateStringLiteralTypes.js index 07e2a0b75fa6a..df17672afe81a 100644 --- a/tests/baselines/reference/noSubstitutionTemplateStringLiteralTypes.js +++ b/tests/baselines/reference/noSubstitutionTemplateStringLiteralTypes.js @@ -5,4 +5,5 @@ const x: `foo` = "foo"; //// [noSubstitutionTemplateStringLiteralTypes.js] +"use strict"; var x = "foo"; diff --git a/tests/baselines/reference/noSymbolForMergeCrash.js b/tests/baselines/reference/noSymbolForMergeCrash.js index 341c9313982f9..83021ceebc15b 100644 --- a/tests/baselines/reference/noSymbolForMergeCrash.js +++ b/tests/baselines/reference/noSymbolForMergeCrash.js @@ -9,4 +9,6 @@ type A = {} //// [initial.js] +"use strict"; //// [final.js] +"use strict"; diff --git a/tests/baselines/reference/noTypeArgumentOnReturnType1.js b/tests/baselines/reference/noTypeArgumentOnReturnType1.js index 36812a9c2fc64..f27bb323da19f 100644 --- a/tests/baselines/reference/noTypeArgumentOnReturnType1.js +++ b/tests/baselines/reference/noTypeArgumentOnReturnType1.js @@ -9,6 +9,7 @@ class A{ } //// [noTypeArgumentOnReturnType1.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/noUncheckedIndexAccess.js b/tests/baselines/reference/noUncheckedIndexAccess.js index 89c4770cc2f66..4f69da586580e 100644 --- a/tests/baselines/reference/noUncheckedIndexAccess.js +++ b/tests/baselines/reference/noUncheckedIndexAccess.js @@ -30,6 +30,7 @@ enum Meat { const value3 = A[B.x]; //// [noUncheckedIndexAccess.js] +"use strict"; var Meat; (function (Meat) { Meat[Meat["Sausage"] = 0] = "Sausage"; diff --git a/tests/baselines/reference/noUnusedLocals_destructuringAssignment.js b/tests/baselines/reference/noUnusedLocals_destructuringAssignment.js index e713cd21a6c2a..fb787cd27734f 100644 --- a/tests/baselines/reference/noUnusedLocals_destructuringAssignment.js +++ b/tests/baselines/reference/noUnusedLocals_destructuringAssignment.js @@ -19,6 +19,7 @@ class C { //// [noUnusedLocals_destructuringAssignment.js] +"use strict"; var C = /** @class */ (function () { function C() { this.x = 0; diff --git a/tests/baselines/reference/noUnusedLocals_selfReference_skipsBlockLocations.errors.txt b/tests/baselines/reference/noUnusedLocals_selfReference_skipsBlockLocations.errors.txt index 3e12752d88810..3fa9d7d1aa578 100644 --- a/tests/baselines/reference/noUnusedLocals_selfReference_skipsBlockLocations.errors.txt +++ b/tests/baselines/reference/noUnusedLocals_selfReference_skipsBlockLocations.errors.txt @@ -1,9 +1,11 @@ noUnusedLocals_selfReference_skipsBlockLocations.ts(2,14): error TS6133: 'f' is declared but its value is never read. +noUnusedLocals_selfReference_skipsBlockLocations.ts(8,22): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. noUnusedLocals_selfReference_skipsBlockLocations.ts(8,22): error TS6133: 'g' is declared but its value is never read. +noUnusedLocals_selfReference_skipsBlockLocations.ts(12,22): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. noUnusedLocals_selfReference_skipsBlockLocations.ts(12,22): error TS6133: 'h' is declared but its value is never read. -==== noUnusedLocals_selfReference_skipsBlockLocations.ts (3 errors) ==== +==== noUnusedLocals_selfReference_skipsBlockLocations.ts (5 errors) ==== namespace n { function f() { ~ @@ -15,12 +17,16 @@ noUnusedLocals_selfReference_skipsBlockLocations.ts(12,22): error TS6133: 'h' is case 0: function g() { ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + ~ !!! error TS6133: 'g' is declared but its value is never read. g; } default: function h() { ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + ~ !!! error TS6133: 'h' is declared but its value is never read. h; } diff --git a/tests/baselines/reference/noUnusedLocals_selfReference_skipsBlockLocations.js b/tests/baselines/reference/noUnusedLocals_selfReference_skipsBlockLocations.js index 7a6806d0564fd..101c0b6dd22db 100644 --- a/tests/baselines/reference/noUnusedLocals_selfReference_skipsBlockLocations.js +++ b/tests/baselines/reference/noUnusedLocals_selfReference_skipsBlockLocations.js @@ -20,6 +20,7 @@ namespace n { //// [noUnusedLocals_selfReference_skipsBlockLocations.js] +"use strict"; var n; (function (n) { function f() { diff --git a/tests/baselines/reference/noUnusedLocals_typeParameterMergedWithParameter.js b/tests/baselines/reference/noUnusedLocals_typeParameterMergedWithParameter.js index 9805e8b449387..af7098d99aae7 100644 --- a/tests/baselines/reference/noUnusedLocals_typeParameterMergedWithParameter.js +++ b/tests/baselines/reference/noUnusedLocals_typeParameterMergedWithParameter.js @@ -15,6 +15,7 @@ function useBoth(T: T) { //// [noUnusedLocals_typeParameterMergedWithParameter.js] +"use strict"; function useNone(T) { } function useParam(T) { return T; diff --git a/tests/baselines/reference/noUnusedLocals_writeOnlyProperty.js b/tests/baselines/reference/noUnusedLocals_writeOnlyProperty.js index 3670687131f07..942c65dae53d7 100644 --- a/tests/baselines/reference/noUnusedLocals_writeOnlyProperty.js +++ b/tests/baselines/reference/noUnusedLocals_writeOnlyProperty.js @@ -10,6 +10,7 @@ class C { //// [noUnusedLocals_writeOnlyProperty.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/noUnusedLocals_writeOnlyProperty_dynamicNames.js b/tests/baselines/reference/noUnusedLocals_writeOnlyProperty_dynamicNames.js index 2f91a1fc2f0f9..bbb93edf43b7b 100644 --- a/tests/baselines/reference/noUnusedLocals_writeOnlyProperty_dynamicNames.js +++ b/tests/baselines/reference/noUnusedLocals_writeOnlyProperty_dynamicNames.js @@ -14,6 +14,7 @@ class C { //// [noUnusedLocals_writeOnlyProperty_dynamicNames.js] +"use strict"; var x = Symbol("x"); var y = Symbol("y"); var C = /** @class */ (function () { diff --git a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).js b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).js index e3ca6368e77fb..1ff4ae293e425 100644 --- a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).js +++ b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node16).js @@ -10,4 +10,5 @@ Object.defineProperty(exports, "__esModule", { value: true }); // this file is a module despite having no imports //// [bar.js] +"use strict"; // however this file is _not_ a module diff --git a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node18).js b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node18).js index e3ca6368e77fb..1ff4ae293e425 100644 --- a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node18).js +++ b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node18).js @@ -10,4 +10,5 @@ Object.defineProperty(exports, "__esModule", { value: true }); // this file is a module despite having no imports //// [bar.js] +"use strict"; // however this file is _not_ a module diff --git a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node20).js b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node20).js index e3ca6368e77fb..1ff4ae293e425 100644 --- a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node20).js +++ b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=node20).js @@ -10,4 +10,5 @@ Object.defineProperty(exports, "__esModule", { value: true }); // this file is a module despite having no imports //// [bar.js] +"use strict"; // however this file is _not_ a module diff --git a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).js b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).js index e3ca6368e77fb..1ff4ae293e425 100644 --- a/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).js +++ b/tests/baselines/reference/nodeModulesAllowJsExportlessJsModuleDetectionAuto(module=nodenext).js @@ -10,4 +10,5 @@ Object.defineProperty(exports, "__esModule", { value: true }); // this file is a module despite having no imports //// [bar.js] +"use strict"; // however this file is _not_ a module diff --git a/tests/baselines/reference/nodeNextModuleResolution1.js b/tests/baselines/reference/nodeNextModuleResolution1.js index a006d7840c307..415020b18d25b 100644 --- a/tests/baselines/reference/nodeNextModuleResolution1.js +++ b/tests/baselines/reference/nodeNextModuleResolution1.js @@ -15,4 +15,5 @@ import {x} from "foo"; //// [app.js] +"use strict"; export {}; diff --git a/tests/baselines/reference/nodeNextModuleResolution2.js b/tests/baselines/reference/nodeNextModuleResolution2.js index e57c0f2575603..ba436e931f47e 100644 --- a/tests/baselines/reference/nodeNextModuleResolution2.js +++ b/tests/baselines/reference/nodeNextModuleResolution2.js @@ -16,4 +16,5 @@ import {x} from "foo"; //// [app.mjs] +"use strict"; export {}; diff --git a/tests/baselines/reference/nodeResolution4.js b/tests/baselines/reference/nodeResolution4.js index d1b68a207cc6c..753dc73dae22c 100644 --- a/tests/baselines/reference/nodeResolution4.js +++ b/tests/baselines/reference/nodeResolution4.js @@ -11,6 +11,7 @@ export var y; import y = require("./a"); //// [ref.js] +"use strict"; var x = 1; //// [a.js] "use strict"; diff --git a/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter.js b/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter.js index aaf60b5465495..9083c11b1716c 100644 --- a/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter.js +++ b/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter.js @@ -21,3 +21,4 @@ interface List extends Sequence { //// [nominalSubtypeCheckOfTypeParameter.js] +"use strict"; diff --git a/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter2.js b/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter2.js index eb733ea17bcfb..78133a37ffc00 100644 --- a/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter2.js +++ b/tests/baselines/reference/nominalSubtypeCheckOfTypeParameter2.js @@ -25,3 +25,4 @@ interface A3 extends B> { } //// [nominalSubtypeCheckOfTypeParameter2.js] +"use strict"; diff --git a/tests/baselines/reference/nonArrayRestArgs.js b/tests/baselines/reference/nonArrayRestArgs.js index f28de09514e38..d5b150da54c57 100644 --- a/tests/baselines/reference/nonArrayRestArgs.js +++ b/tests/baselines/reference/nonArrayRestArgs.js @@ -7,6 +7,7 @@ function foo(...rest: number) { // error } //// [nonArrayRestArgs.js] +"use strict"; function foo() { var rest = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/nonConflictingRecursiveBaseTypeMembers.js b/tests/baselines/reference/nonConflictingRecursiveBaseTypeMembers.js index 4b555162e8617..5f35678543c27 100644 --- a/tests/baselines/reference/nonConflictingRecursiveBaseTypeMembers.js +++ b/tests/baselines/reference/nonConflictingRecursiveBaseTypeMembers.js @@ -12,3 +12,4 @@ interface B { interface C extends A, B { } // Should not be an error //// [nonConflictingRecursiveBaseTypeMembers.js] +"use strict"; diff --git a/tests/baselines/reference/nonContextuallyTypedLogicalOr.js b/tests/baselines/reference/nonContextuallyTypedLogicalOr.js index 4ba287e6ab899..0905b612d015d 100644 --- a/tests/baselines/reference/nonContextuallyTypedLogicalOr.js +++ b/tests/baselines/reference/nonContextuallyTypedLogicalOr.js @@ -17,6 +17,7 @@ var e: Ellement; (c || e).dummy; //// [nonContextuallyTypedLogicalOr.js] +"use strict"; var c; var e; (c || e).dummy; diff --git a/tests/baselines/reference/nonExportedElementsOfMergedModules.js b/tests/baselines/reference/nonExportedElementsOfMergedModules.js index 1f1a0cb69ed1f..862ffc2293ee5 100644 --- a/tests/baselines/reference/nonExportedElementsOfMergedModules.js +++ b/tests/baselines/reference/nonExportedElementsOfMergedModules.js @@ -19,6 +19,7 @@ namespace One { //// [nonExportedElementsOfMergedModules.js] +"use strict"; var One; (function (One) { var A; diff --git a/tests/baselines/reference/nonGenericClassExtendingGenericClassWithAny.js b/tests/baselines/reference/nonGenericClassExtendingGenericClassWithAny.js index ae96b1fd1eae3..d566da767ab0c 100644 --- a/tests/baselines/reference/nonGenericClassExtendingGenericClassWithAny.js +++ b/tests/baselines/reference/nonGenericClassExtendingGenericClassWithAny.js @@ -8,6 +8,7 @@ class Foo { class Bar extends Foo { } // Valid //// [nonGenericClassExtendingGenericClassWithAny.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/nonGenericTypeReferenceWithTypeArguments.js b/tests/baselines/reference/nonGenericTypeReferenceWithTypeArguments.js index 4e6b577a0b7f6..a397294625f97 100644 --- a/tests/baselines/reference/nonGenericTypeReferenceWithTypeArguments.js +++ b/tests/baselines/reference/nonGenericTypeReferenceWithTypeArguments.js @@ -26,6 +26,7 @@ function f() { //// [nonGenericTypeReferenceWithTypeArguments.js] +"use strict"; // Check that errors are reported for non-generic types with type arguments var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/nonIdenticalTypeConstraints.js b/tests/baselines/reference/nonIdenticalTypeConstraints.js index 9e09d06d4198d..73002fe6e7d32 100644 --- a/tests/baselines/reference/nonIdenticalTypeConstraints.js +++ b/tests/baselines/reference/nonIdenticalTypeConstraints.js @@ -41,6 +41,7 @@ interface Quux { } //// [nonIdenticalTypeConstraints.js] +"use strict"; var Different = /** @class */ (function () { function Different() { } diff --git a/tests/baselines/reference/nonInstantiatedModule.js b/tests/baselines/reference/nonInstantiatedModule.js index 09a6c69e4a632..55c26f61ddadc 100644 --- a/tests/baselines/reference/nonInstantiatedModule.js +++ b/tests/baselines/reference/nonInstantiatedModule.js @@ -48,6 +48,7 @@ namespace M3 { } //// [nonInstantiatedModule.js] +"use strict"; var M; (function (M) { M.a = 1; diff --git a/tests/baselines/reference/nonIterableRestElement1.js b/tests/baselines/reference/nonIterableRestElement1.js index bf1d1b79bbc05..54bab1b4f588d 100644 --- a/tests/baselines/reference/nonIterableRestElement1.js +++ b/tests/baselines/reference/nonIterableRestElement1.js @@ -5,5 +5,6 @@ var c = {}; [...c] = ["", 0]; //// [nonIterableRestElement1.js] +"use strict"; var c = {}; c = ["", 0].slice(0); diff --git a/tests/baselines/reference/nonIterableRestElement2.js b/tests/baselines/reference/nonIterableRestElement2.js index 9f0a6ad04572f..5e9adc9755136 100644 --- a/tests/baselines/reference/nonIterableRestElement2.js +++ b/tests/baselines/reference/nonIterableRestElement2.js @@ -5,5 +5,6 @@ var c = {}; [...c] = ["", 0]; //// [nonIterableRestElement2.js] +"use strict"; var c = {}; [...c] = ["", 0]; diff --git a/tests/baselines/reference/nonIterableRestElement3.js b/tests/baselines/reference/nonIterableRestElement3.js index b38e9c1c42e5e..ea93df7f6f4ea 100644 --- a/tests/baselines/reference/nonIterableRestElement3.js +++ b/tests/baselines/reference/nonIterableRestElement3.js @@ -5,5 +5,6 @@ var c = { bogus: 0 }; [...c] = ["", 0]; //// [nonIterableRestElement3.js] +"use strict"; var c = { bogus: 0 }; c = ["", 0].slice(0); diff --git a/tests/baselines/reference/nonMergedDeclarationsAndOverloads.js b/tests/baselines/reference/nonMergedDeclarationsAndOverloads.js index af5e9c7ce9a86..b5044a4295bdf 100644 --- a/tests/baselines/reference/nonMergedDeclarationsAndOverloads.js +++ b/tests/baselines/reference/nonMergedDeclarationsAndOverloads.js @@ -11,6 +11,7 @@ class A { } //// [nonMergedDeclarationsAndOverloads.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/nonNullFullInference.js b/tests/baselines/reference/nonNullFullInference.js index 1970a4973d205..4636060a6b538 100644 --- a/tests/baselines/reference/nonNullFullInference.js +++ b/tests/baselines/reference/nonNullFullInference.js @@ -36,6 +36,7 @@ function testNonNullInferenceWithArrays(numbers: number[]) { } //// [nonNullFullInference.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/19577 function testNonNullInference(numbers) { var last; diff --git a/tests/baselines/reference/nonNullableAndObjectIntersections(strict=false).js b/tests/baselines/reference/nonNullableAndObjectIntersections(strict=false).js index cc81c52b2dee9..2b8edfc4bf060 100644 --- a/tests/baselines/reference/nonNullableAndObjectIntersections(strict=false).js +++ b/tests/baselines/reference/nonNullableAndObjectIntersections(strict=false).js @@ -20,4 +20,5 @@ type TestOld = NonNullableOld; //// [nonNullableAndObjectIntersections.js] +"use strict"; // These should all resolve to never diff --git a/tests/baselines/reference/nonNullableReductionNonStrict.js b/tests/baselines/reference/nonNullableReductionNonStrict.js index 8181afce225c9..f2ea0a3fece61 100644 --- a/tests/baselines/reference/nonNullableReductionNonStrict.js +++ b/tests/baselines/reference/nonNullableReductionNonStrict.js @@ -21,6 +21,7 @@ function f2(x: T | U) { //// [nonNullableReductionNonStrict.js] +"use strict"; // Repros from #43425 function test(f1, f2) { f1 === null || f1 === void 0 ? void 0 : f1("hello"); diff --git a/tests/baselines/reference/nonObjectUnionNestedExcessPropertyCheck.js b/tests/baselines/reference/nonObjectUnionNestedExcessPropertyCheck.js index 27db4340e2ca5..967dfa0170a62 100644 --- a/tests/baselines/reference/nonObjectUnionNestedExcessPropertyCheck.js +++ b/tests/baselines/reference/nonObjectUnionNestedExcessPropertyCheck.js @@ -23,6 +23,7 @@ const propA1: INestedProps | number = { nestedProps: { INVALID_PROP_NAME: 'share //// [nonObjectUnionNestedExcessPropertyCheck.js] +"use strict"; // These are the types of errors we want: var propB1 = { INVALID_PROP_NAME: 'share', iconProp: 'test' }; // Nested typing works here and we also get an expected error: diff --git a/tests/baselines/reference/nonPrimitiveAccessProperty.js b/tests/baselines/reference/nonPrimitiveAccessProperty.js index 41d9b8873ad6e..6426ebbab90e7 100644 --- a/tests/baselines/reference/nonPrimitiveAccessProperty.js +++ b/tests/baselines/reference/nonPrimitiveAccessProperty.js @@ -10,6 +10,7 @@ var { ...rest } = a; // ok //// [nonPrimitiveAccessProperty.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/nonPrimitiveAsProperty.js b/tests/baselines/reference/nonPrimitiveAsProperty.js index 9a9ff081b2a93..61250d54d898a 100644 --- a/tests/baselines/reference/nonPrimitiveAsProperty.js +++ b/tests/baselines/reference/nonPrimitiveAsProperty.js @@ -11,6 +11,7 @@ var b: WithNonPrimitive = {foo: "bar"}; // expect error //// [nonPrimitiveAsProperty.js] +"use strict"; var a = { foo: { bar: "bar" } }; var b = { foo: "bar" }; // expect error diff --git a/tests/baselines/reference/nonPrimitiveAssignError.js b/tests/baselines/reference/nonPrimitiveAssignError.js index a064c662de7cd..e15a2be88ff98 100644 --- a/tests/baselines/reference/nonPrimitiveAssignError.js +++ b/tests/baselines/reference/nonPrimitiveAssignError.js @@ -31,6 +31,7 @@ a = strObj; // ok //// [nonPrimitiveAssignError.js] +"use strict"; var x = {}; var y = { foo: "bar" }; var a = {}; diff --git a/tests/baselines/reference/nonPrimitiveInFunction.js b/tests/baselines/reference/nonPrimitiveInFunction.js index 03b1b872c200a..68fda0ab3e4a8 100644 --- a/tests/baselines/reference/nonPrimitiveInFunction.js +++ b/tests/baselines/reference/nonPrimitiveInFunction.js @@ -22,6 +22,7 @@ function returnError(): object { //// [nonPrimitiveInFunction.js] +"use strict"; function takeObject(o) { } function returnObject() { return {}; diff --git a/tests/baselines/reference/nonPrimitiveInGeneric.js b/tests/baselines/reference/nonPrimitiveInGeneric.js index 9cc6c93b2c134..4e35145493571 100644 --- a/tests/baselines/reference/nonPrimitiveInGeneric.js +++ b/tests/baselines/reference/nonPrimitiveInGeneric.js @@ -47,6 +47,7 @@ var u: Proxy; // ok //// [nonPrimitiveInGeneric.js] +"use strict"; function generic(t) { var o = t; // expect error } diff --git a/tests/baselines/reference/nonPrimitiveIndexingWithForIn.js b/tests/baselines/reference/nonPrimitiveIndexingWithForIn.js index 7959b20a84cb6..101e433b6189b 100644 --- a/tests/baselines/reference/nonPrimitiveIndexingWithForIn.js +++ b/tests/baselines/reference/nonPrimitiveIndexingWithForIn.js @@ -9,6 +9,7 @@ for (var key in a) { //// [nonPrimitiveIndexingWithForIn.js] +"use strict"; var a; for (var key in a) { var value = a[key]; diff --git a/tests/baselines/reference/nonPrimitiveIndexingWithForInNoImplicitAny.js b/tests/baselines/reference/nonPrimitiveIndexingWithForInNoImplicitAny.js index b447629cec0b9..cb3afb4617018 100644 --- a/tests/baselines/reference/nonPrimitiveIndexingWithForInNoImplicitAny.js +++ b/tests/baselines/reference/nonPrimitiveIndexingWithForInNoImplicitAny.js @@ -9,6 +9,7 @@ for (var key in a) { //// [nonPrimitiveIndexingWithForInNoImplicitAny.js] +"use strict"; var a = {}; for (var key in a) { var value = a[key]; // error diff --git a/tests/baselines/reference/nonPrimitiveIndexingWithForInSupressError.js b/tests/baselines/reference/nonPrimitiveIndexingWithForInSupressError.js index fefa7350782da..e316e6f4108f6 100644 --- a/tests/baselines/reference/nonPrimitiveIndexingWithForInSupressError.js +++ b/tests/baselines/reference/nonPrimitiveIndexingWithForInSupressError.js @@ -9,6 +9,7 @@ for (var key in a) { //// [nonPrimitiveIndexingWithForInSupressError.js] +"use strict"; var a = {}; for (var key in a) { var value = a[key]; diff --git a/tests/baselines/reference/nonPrimitiveNarrow.js b/tests/baselines/reference/nonPrimitiveNarrow.js index 92eaafaabd477..f4f9417497ad2 100644 --- a/tests/baselines/reference/nonPrimitiveNarrow.js +++ b/tests/baselines/reference/nonPrimitiveNarrow.js @@ -26,6 +26,7 @@ if (typeof b === 'object') { //// [nonPrimitiveNarrow.js] +"use strict"; var Narrow = /** @class */ (function () { function Narrow() { } diff --git a/tests/baselines/reference/nonPrimitiveRhsSideOfInExpression.js b/tests/baselines/reference/nonPrimitiveRhsSideOfInExpression.js index 56736abfe0c25..d7fb70d45cd6b 100644 --- a/tests/baselines/reference/nonPrimitiveRhsSideOfInExpression.js +++ b/tests/baselines/reference/nonPrimitiveRhsSideOfInExpression.js @@ -11,6 +11,7 @@ const b1 = "foo" in o; const b2 = "bar" in f(); //// [nonPrimitiveRhsSideOfInExpression.js] +"use strict"; var o = {}; function f() { return {}; diff --git a/tests/baselines/reference/nonPrimitiveStrictNull.js b/tests/baselines/reference/nonPrimitiveStrictNull.js index 863ada44d3c6c..f8a458a16d66b 100644 --- a/tests/baselines/reference/nonPrimitiveStrictNull.js +++ b/tests/baselines/reference/nonPrimitiveStrictNull.js @@ -63,6 +63,7 @@ var u: Proxy; // ok //// [nonPrimitiveStrictNull.js] +"use strict"; var a; var e; a.toString; // error diff --git a/tests/baselines/reference/nonPrimitiveUnionIntersection.js b/tests/baselines/reference/nonPrimitiveUnionIntersection.js index 08e33b9b96a69..0b9496f72a67d 100644 --- a/tests/baselines/reference/nonPrimitiveUnionIntersection.js +++ b/tests/baselines/reference/nonPrimitiveUnionIntersection.js @@ -12,6 +12,7 @@ const bar: object & {err: string} = {bar: 'bar'}; // error //// [nonPrimitiveUnionIntersection.js] +"use strict"; var a = ""; // error var b = ""; // ok var c = 123; // error diff --git a/tests/baselines/reference/nondistributiveConditionalTypeInfer.js b/tests/baselines/reference/nondistributiveConditionalTypeInfer.js index 29ffe4992a968..231aeec8f9c93 100644 --- a/tests/baselines/reference/nondistributiveConditionalTypeInfer.js +++ b/tests/baselines/reference/nondistributiveConditionalTypeInfer.js @@ -16,3 +16,4 @@ type E = _E>; type A = _A>; //// [nondistributiveConditionalTypeInfer.js] +"use strict"; diff --git a/tests/baselines/reference/nonexistentPropertyOnUnion.js b/tests/baselines/reference/nonexistentPropertyOnUnion.js index 9f91b2c214662..a243c3cbe1882 100644 --- a/tests/baselines/reference/nonexistentPropertyOnUnion.js +++ b/tests/baselines/reference/nonexistentPropertyOnUnion.js @@ -7,6 +7,7 @@ function f(x: string | Promise) { //// [nonexistentPropertyOnUnion.js] +"use strict"; function f(x) { x.toLowerCase(); } diff --git a/tests/baselines/reference/nonexistentPropertyUnavailableOnPromisedType.js b/tests/baselines/reference/nonexistentPropertyUnavailableOnPromisedType.js index 45dd8b885098d..b3b246efb5c5e 100644 --- a/tests/baselines/reference/nonexistentPropertyUnavailableOnPromisedType.js +++ b/tests/baselines/reference/nonexistentPropertyUnavailableOnPromisedType.js @@ -7,6 +7,7 @@ function f(x: Promise) { //// [nonexistentPropertyUnavailableOnPromisedType.js] +"use strict"; function f(x) { x.toLowerCase(); } diff --git a/tests/baselines/reference/nongenericConditionalNotPartiallyComputed.js b/tests/baselines/reference/nongenericConditionalNotPartiallyComputed.js index 50b8c1fced175..a89c235777ed5 100644 --- a/tests/baselines/reference/nongenericConditionalNotPartiallyComputed.js +++ b/tests/baselines/reference/nongenericConditionalNotPartiallyComputed.js @@ -6,3 +6,4 @@ type A = Array extends Array ? Array extends Array ? T : never : never //// [nongenericConditionalNotPartiallyComputed.js] +"use strict"; diff --git a/tests/baselines/reference/nongenericPartialInstantiationsRelatedInBothDirections.js b/tests/baselines/reference/nongenericPartialInstantiationsRelatedInBothDirections.js index 992e24873996f..3d6b07583a901 100644 --- a/tests/baselines/reference/nongenericPartialInstantiationsRelatedInBothDirections.js +++ b/tests/baselines/reference/nongenericPartialInstantiationsRelatedInBothDirections.js @@ -16,5 +16,6 @@ cafoo = cfoo; //// [nongenericPartialInstantiationsRelatedInBothDirections.js] +"use strict"; cfoo = cafoo; cafoo = cfoo; diff --git a/tests/baselines/reference/nonstrictTemplateWithNotOctalPrintsAsIs.js b/tests/baselines/reference/nonstrictTemplateWithNotOctalPrintsAsIs.js index 5ec2fced81722..c79e6b0f8f836 100644 --- a/tests/baselines/reference/nonstrictTemplateWithNotOctalPrintsAsIs.js +++ b/tests/baselines/reference/nonstrictTemplateWithNotOctalPrintsAsIs.js @@ -6,5 +6,6 @@ const d2 = `\\0041`; //// [nonstrictTemplateWithNotOctalPrintsAsIs.js] +"use strict"; // https://github.com/Microsoft/TypeScript/issues/21828 var d2 = "\\0041"; diff --git a/tests/baselines/reference/null.js b/tests/baselines/reference/null.js index f2f1ecfa0e953..8ef44714fbd28 100644 --- a/tests/baselines/reference/null.js +++ b/tests/baselines/reference/null.js @@ -24,6 +24,7 @@ var w:I={x:null,y:3}; //// [null.js] +"use strict"; var x = null; var y = 3 + x; var z = 3 + null; diff --git a/tests/baselines/reference/nullAssignableToEveryType.js b/tests/baselines/reference/nullAssignableToEveryType.js index 8c8bf1b763d97..31ee627d3060a 100644 --- a/tests/baselines/reference/nullAssignableToEveryType.js +++ b/tests/baselines/reference/nullAssignableToEveryType.js @@ -46,6 +46,7 @@ function foo(x: T, y: U, z: V) { //} //// [nullAssignableToEveryType.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/nullAssignedToUndefined.js b/tests/baselines/reference/nullAssignedToUndefined.js index 9be3fe1645c40..70bf68972b5e7 100644 --- a/tests/baselines/reference/nullAssignedToUndefined.js +++ b/tests/baselines/reference/nullAssignedToUndefined.js @@ -5,5 +5,6 @@ var x = undefined = null; // error var y: typeof undefined = null; // ok, widened //// [nullAssignedToUndefined.js] +"use strict"; var x = undefined = null; // error var y = null; // ok, widened diff --git a/tests/baselines/reference/nullIsSubtypeOfEverythingButUndefined.js b/tests/baselines/reference/nullIsSubtypeOfEverythingButUndefined.js index 6458b3540b90e..8b0d8a6e1b7d3 100644 --- a/tests/baselines/reference/nullIsSubtypeOfEverythingButUndefined.js +++ b/tests/baselines/reference/nullIsSubtypeOfEverythingButUndefined.js @@ -94,6 +94,7 @@ var r20 = true ? null : {}; //// [nullIsSubtypeOfEverythingButUndefined.js] +"use strict"; // null is a subtype of any other types except undefined var r0 = true ? null : null; var r0 = true ? null : null; diff --git a/tests/baselines/reference/nullKeyword.js b/tests/baselines/reference/nullKeyword.js index 1dbf1e8688a75..ce4573206b8a1 100644 --- a/tests/baselines/reference/nullKeyword.js +++ b/tests/baselines/reference/nullKeyword.js @@ -4,4 +4,5 @@ null.foo; //// [nullKeyword.js] +"use strict"; null.foo; diff --git a/tests/baselines/reference/nullOrUndefinedTypeGuardIsOrderIndependent.js b/tests/baselines/reference/nullOrUndefinedTypeGuardIsOrderIndependent.js index e1729db204e1b..51b0f0c441887 100644 --- a/tests/baselines/reference/nullOrUndefinedTypeGuardIsOrderIndependent.js +++ b/tests/baselines/reference/nullOrUndefinedTypeGuardIsOrderIndependent.js @@ -17,6 +17,7 @@ function test(strOrNull: string | null, strOrUndefined: string | undefined) { //// [nullOrUndefinedTypeGuardIsOrderIndependent.js] +"use strict"; function test(strOrNull, strOrUndefined) { var str = "original"; var nil; diff --git a/tests/baselines/reference/nullPropertyName.js b/tests/baselines/reference/nullPropertyName.js index 088080daf9110..69f394025995b 100644 --- a/tests/baselines/reference/nullPropertyName.js +++ b/tests/baselines/reference/nullPropertyName.js @@ -86,6 +86,7 @@ foo.of = 1; //// [nullPropertyName.js] +"use strict"; function foo() { } // properties foo.x = 1; diff --git a/tests/baselines/reference/nullableFunctionError.js b/tests/baselines/reference/nullableFunctionError.js index 25e901d487fd9..18d80f88595ff 100644 --- a/tests/baselines/reference/nullableFunctionError.js +++ b/tests/baselines/reference/nullableFunctionError.js @@ -8,6 +8,7 @@ f(); //// [nullableFunctionError.js] +"use strict"; null(); undefined(); var f; diff --git a/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es2015).js b/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es2015).js index 4e9cf2dea6f18..9bc68ac64b8d5 100644 --- a/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es2015).js +++ b/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es2015).js @@ -11,6 +11,7 @@ async function* f(a: { b?: number }) { //// [nullishCoalescingOperatorInAsyncGenerator.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/37686 function f(a) { return __asyncGenerator(this, arguments, function* f_1() { diff --git a/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es5).js b/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es5).js index d02228bac340e..78407e25d0c5d 100644 --- a/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es5).js +++ b/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=es5).js @@ -11,6 +11,7 @@ async function* f(a: { b?: number }) { //// [nullishCoalescingOperatorInAsyncGenerator.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/37686 function f(a) { return __asyncGenerator(this, arguments, function f_1() { diff --git a/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=esnext).js b/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=esnext).js index 94736918948ea..5f6730d90c097 100644 --- a/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=esnext).js +++ b/tests/baselines/reference/nullishCoalescingOperatorInAsyncGenerator(target=esnext).js @@ -11,6 +11,7 @@ async function* f(a: { b?: number }) { //// [nullishCoalescingOperatorInAsyncGenerator.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/37686 async function* f(a) { let c = a.b ?? 10; diff --git a/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es2015).js b/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es2015).js index 0b889037b0d8d..105d69841d7b5 100644 --- a/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es2015).js +++ b/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es2015).js @@ -6,6 +6,7 @@ const a = (): string | undefined => undefined; (({ [a() ?? "d"]: c = "" }) => {})(); //// [nullishCoalescingOperatorInParameterBindingPattern.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 const a = () => undefined; ((_a) => { var _b; var { [(_b = a()) !== null && _b !== void 0 ? _b : "d"]: c = "" } = _a; })(); diff --git a/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es5).js b/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es5).js index ce2dc3778c52f..51236a4994a9b 100644 --- a/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es5).js +++ b/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=es5).js @@ -6,6 +6,7 @@ const a = (): string | undefined => undefined; (({ [a() ?? "d"]: c = "" }) => {})(); //// [nullishCoalescingOperatorInParameterBindingPattern.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 var a = function () { return undefined; }; (function (_a) { diff --git a/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=esnext).js b/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=esnext).js index e0e29e26da734..735eb93ffa3fd 100644 --- a/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=esnext).js +++ b/tests/baselines/reference/nullishCoalescingOperatorInParameterBindingPattern(target=esnext).js @@ -6,6 +6,7 @@ const a = (): string | undefined => undefined; (({ [a() ?? "d"]: c = "" }) => {})(); //// [nullishCoalescingOperatorInParameterBindingPattern.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 const a = () => undefined; (({ [a() ?? "d"]: c = "" }) => { })(); diff --git a/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es2015).js b/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es2015).js index 793f507743131..eb548e40bfdda 100644 --- a/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es2015).js +++ b/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es2015).js @@ -6,6 +6,7 @@ const a = (): string | undefined => undefined; ((b = a() ?? "d") => {})(); //// [nullishCoalescingOperatorInParameterInitializer.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 const a = () => undefined; ((b) => { var _a; if (b === void 0) { b = (_a = a()) !== null && _a !== void 0 ? _a : "d"; } })(); diff --git a/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es5).js b/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es5).js index b80996914f2b5..8c5ddca4e092b 100644 --- a/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es5).js +++ b/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=es5).js @@ -6,6 +6,7 @@ const a = (): string | undefined => undefined; ((b = a() ?? "d") => {})(); //// [nullishCoalescingOperatorInParameterInitializer.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 var a = function () { return undefined; }; (function (b) { diff --git a/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=esnext).js b/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=esnext).js index 65d23f486003e..8f1ca21f2769c 100644 --- a/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=esnext).js +++ b/tests/baselines/reference/nullishCoalescingOperatorInParameterInitializer(target=esnext).js @@ -6,6 +6,7 @@ const a = (): string | undefined => undefined; ((b = a() ?? "d") => {})(); //// [nullishCoalescingOperatorInParameterInitializer.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 const a = () => undefined; ((b = a() ?? "d") => { })(); diff --git a/tests/baselines/reference/nullishCoalescingOperator_not_strict.js b/tests/baselines/reference/nullishCoalescingOperator_not_strict.js index fd6353ba44a42..b1e907c7fabc5 100644 --- a/tests/baselines/reference/nullishCoalescingOperator_not_strict.js +++ b/tests/baselines/reference/nullishCoalescingOperator_not_strict.js @@ -23,6 +23,7 @@ const aa8 = a8 ?? 'whatever' const aa9 = a9 ?? 'whatever' //// [nullishCoalescingOperator_not_strict.js] +"use strict"; var aa1 = a1 !== null && a1 !== void 0 ? a1 : 'whatever'; var aa2 = a2 !== null && a2 !== void 0 ? a2 : 'whatever'; var aa3 = a3 !== null && a3 !== void 0 ? a3 : 'whatever'; diff --git a/tests/baselines/reference/numberAsInLHS.js b/tests/baselines/reference/numberAsInLHS.js index a477e1009df6d..46e2c3c004d81 100644 --- a/tests/baselines/reference/numberAsInLHS.js +++ b/tests/baselines/reference/numberAsInLHS.js @@ -4,4 +4,5 @@ 3 in [0, 1] //// [numberAsInLHS.js] +"use strict"; 3 in [0, 1]; diff --git a/tests/baselines/reference/numberAssignableToEnum.js b/tests/baselines/reference/numberAssignableToEnum.js index f1ce841a382bd..40bbd8b85d248 100644 --- a/tests/baselines/reference/numberAssignableToEnum.js +++ b/tests/baselines/reference/numberAssignableToEnum.js @@ -8,6 +8,7 @@ e = n; n = e; //// [numberAssignableToEnum.js] +"use strict"; var E; (function (E) { E[E["A"] = 0] = "A"; diff --git a/tests/baselines/reference/numberAssignableToEnumInsideUnion.js b/tests/baselines/reference/numberAssignableToEnumInsideUnion.js index 31e135ea0664f..13d76ee4161df 100644 --- a/tests/baselines/reference/numberAssignableToEnumInsideUnion.js +++ b/tests/baselines/reference/numberAssignableToEnumInsideUnion.js @@ -7,6 +7,7 @@ let z: E | boolean = n; //// [numberAssignableToEnumInsideUnion.js] +"use strict"; var E; (function (E) { E[E["A"] = 0] = "A"; diff --git a/tests/baselines/reference/numberLiteralsWithLeadingZeros.js b/tests/baselines/reference/numberLiteralsWithLeadingZeros.js index 6b2ba1a3e44b6..2c53a2950435b 100644 --- a/tests/baselines/reference/numberLiteralsWithLeadingZeros.js +++ b/tests/baselines/reference/numberLiteralsWithLeadingZeros.js @@ -82,6 +82,7 @@ //// [numberLiteralsWithLeadingZeros.js] +"use strict"; 0; 0; 1; diff --git a/tests/baselines/reference/numberOnLeftSideOfInExpression.js b/tests/baselines/reference/numberOnLeftSideOfInExpression.js index 18c683e40593f..9e5038a69301c 100644 --- a/tests/baselines/reference/numberOnLeftSideOfInExpression.js +++ b/tests/baselines/reference/numberOnLeftSideOfInExpression.js @@ -6,6 +6,7 @@ var right: any; left in right; //// [numberOnLeftSideOfInExpression.js] +"use strict"; var left; var right; left in right; diff --git a/tests/baselines/reference/numberPropertyAccess.js b/tests/baselines/reference/numberPropertyAccess.js index 959a62bbeaaee..8ed6a643a0758 100644 --- a/tests/baselines/reference/numberPropertyAccess.js +++ b/tests/baselines/reference/numberPropertyAccess.js @@ -9,6 +9,7 @@ var c = x['toExponential'](); var d = x['hasOwnProperty']('toFixed'); //// [numberPropertyAccess.js] +"use strict"; var x = 1; var a = x.toExponential(); var b = x.hasOwnProperty('toFixed'); diff --git a/tests/baselines/reference/numberToString.js b/tests/baselines/reference/numberToString.js index 6bc4e13436784..28efb04a24519 100644 --- a/tests/baselines/reference/numberToString.js +++ b/tests/baselines/reference/numberToString.js @@ -14,6 +14,7 @@ f2(3+""); // ok + operator promotes //// [numberToString.js] +"use strict"; function f1(n) { return n; // error return type mismatch } diff --git a/tests/baselines/reference/numberVsBigIntOperations.js b/tests/baselines/reference/numberVsBigIntOperations.js index c895cd09b4549..313d588a56b26 100644 --- a/tests/baselines/reference/numberVsBigIntOperations.js +++ b/tests/baselines/reference/numberVsBigIntOperations.js @@ -104,6 +104,7 @@ function getKey(key: S) { //// [numberVsBigIntOperations.js] +"use strict"; // Cannot mix bigints and numbers let bigInt = 1n, num = 2; bigInt = 1n; diff --git a/tests/baselines/reference/numericClassMembers1.js b/tests/baselines/reference/numericClassMembers1.js index 37c52e26def31..eb06f95214732 100644 --- a/tests/baselines/reference/numericClassMembers1.js +++ b/tests/baselines/reference/numericClassMembers1.js @@ -18,6 +18,7 @@ class C236 { //// [numericClassMembers1.js] +"use strict"; var C234 = /** @class */ (function () { function C234() { this[0] = 1; diff --git a/tests/baselines/reference/numericIndexExpressions.js b/tests/baselines/reference/numericIndexExpressions.js index 2b4fbad5ceece..4be2cd8f727ff 100644 --- a/tests/baselines/reference/numericIndexExpressions.js +++ b/tests/baselines/reference/numericIndexExpressions.js @@ -18,6 +18,7 @@ y['1'] = 4; // should be error y[1] = 4; // should be error //// [numericIndexExpressions.js] +"use strict"; x[1] = 4; // error x['1'] = 4; // error y['1'] = 4; // should be error diff --git a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.js b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.js index f2a8c0884df47..fafafd2275423 100644 --- a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.js +++ b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations.js @@ -100,6 +100,7 @@ var b: { [x: number]: string; } = { } //// [numericIndexerConstrainsPropertyDeclarations.js] +"use strict"; // String indexer types constrain the types of named properties in their containing type var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations2.js b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations2.js index fdcd01c67ec38..9f8dcf33299fe 100644 --- a/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations2.js +++ b/tests/baselines/reference/numericIndexerConstrainsPropertyDeclarations2.js @@ -48,6 +48,7 @@ var b: { [x: number]: A } = { } //// [numericIndexerConstrainsPropertyDeclarations2.js] +"use strict"; // String indexer providing a constraint of a user defined type var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/numericIndexerConstraint.js b/tests/baselines/reference/numericIndexerConstraint.js index 243c83b268bf2..da733220c6955 100644 --- a/tests/baselines/reference/numericIndexerConstraint.js +++ b/tests/baselines/reference/numericIndexerConstraint.js @@ -7,6 +7,7 @@ class C { } //// [numericIndexerConstraint.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/numericIndexerConstraint1.js b/tests/baselines/reference/numericIndexerConstraint1.js index bde751800f53a..50f36514ee815 100644 --- a/tests/baselines/reference/numericIndexerConstraint1.js +++ b/tests/baselines/reference/numericIndexerConstraint1.js @@ -7,6 +7,7 @@ var result: Foo = x["one"]; // error //// [numericIndexerConstraint1.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/numericIndexerConstraint2.js b/tests/baselines/reference/numericIndexerConstraint2.js index 8cb4493468d87..fd83a8f4a36dc 100644 --- a/tests/baselines/reference/numericIndexerConstraint2.js +++ b/tests/baselines/reference/numericIndexerConstraint2.js @@ -7,6 +7,7 @@ var a: { one: number; } = { one: 1 }; x = a; //// [numericIndexerConstraint2.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/numericIndexerConstraint3.js b/tests/baselines/reference/numericIndexerConstraint3.js index 68d085fa3e967..1ea87b0439fb6 100644 --- a/tests/baselines/reference/numericIndexerConstraint3.js +++ b/tests/baselines/reference/numericIndexerConstraint3.js @@ -15,6 +15,7 @@ class C { } //// [numericIndexerConstraint3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/numericIndexerConstraint4.js b/tests/baselines/reference/numericIndexerConstraint4.js index ed8c4c3c07482..135a5cc19442d 100644 --- a/tests/baselines/reference/numericIndexerConstraint4.js +++ b/tests/baselines/reference/numericIndexerConstraint4.js @@ -15,6 +15,7 @@ var x: { //// [numericIndexerConstraint4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/numericIndexerConstraint5.js b/tests/baselines/reference/numericIndexerConstraint5.js index b01e107a7c0b7..d835e784c8ce4 100644 --- a/tests/baselines/reference/numericIndexerConstraint5.js +++ b/tests/baselines/reference/numericIndexerConstraint5.js @@ -5,5 +5,6 @@ var x = { name: "x", 0: new Date() }; var z: { [name: number]: string } = x; //// [numericIndexerConstraint5.js] +"use strict"; var x = { name: "x", 0: new Date() }; var z = x; diff --git a/tests/baselines/reference/numericIndexerTyping1.js b/tests/baselines/reference/numericIndexerTyping1.js index 57289320bde72..896af45e461e1 100644 --- a/tests/baselines/reference/numericIndexerTyping1.js +++ b/tests/baselines/reference/numericIndexerTyping1.js @@ -15,5 +15,6 @@ declare var i2: I2; var r2: string = i2[1]; // error: numeric indexer returns the type of the string indexer //// [numericIndexerTyping1.js] +"use strict"; var r = i[1]; // error: numeric indexer returns the type of the string indexer var r2 = i2[1]; // error: numeric indexer returns the type of the string indexer diff --git a/tests/baselines/reference/numericIndexerTyping2.js b/tests/baselines/reference/numericIndexerTyping2.js index ab52dc3c45cbb..c513c7f3cf60a 100644 --- a/tests/baselines/reference/numericIndexerTyping2.js +++ b/tests/baselines/reference/numericIndexerTyping2.js @@ -15,6 +15,7 @@ declare var i2: I2; var r2: string = i2[1]; // error: numeric indexer returns the type of the string indexere //// [numericIndexerTyping2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/numericIndexingResults.js b/tests/baselines/reference/numericIndexingResults.js index 7cc66bb3c7d35..e20a6125a72a6 100644 --- a/tests/baselines/reference/numericIndexingResults.js +++ b/tests/baselines/reference/numericIndexingResults.js @@ -59,6 +59,7 @@ var r5 = b2[2]; var r6 = b2[3]; //// [numericIndexingResults.js] +"use strict"; var C = /** @class */ (function () { function C() { this[1] = ''; diff --git a/tests/baselines/reference/numericLiteralTypes1.js b/tests/baselines/reference/numericLiteralTypes1.js index d931dd06908c7..15db08f5cb1c1 100644 --- a/tests/baselines/reference/numericLiteralTypes1.js +++ b/tests/baselines/reference/numericLiteralTypes1.js @@ -142,6 +142,7 @@ function f21(x: Item) { } //// [numericLiteralTypes1.js] +"use strict"; function f1() { var a = 1; var a = 1; diff --git a/tests/baselines/reference/numericLiteralTypes2.js b/tests/baselines/reference/numericLiteralTypes2.js index fd1e7b4c7b188..5004cf63bed71 100644 --- a/tests/baselines/reference/numericLiteralTypes2.js +++ b/tests/baselines/reference/numericLiteralTypes2.js @@ -142,6 +142,7 @@ function f21(x: Item) { } //// [numericLiteralTypes2.js] +"use strict"; function f1() { var a = 1; var a = 1; diff --git a/tests/baselines/reference/numericLiteralTypes3.js b/tests/baselines/reference/numericLiteralTypes3.js index d990b9d249cba..82dda5d9773fd 100644 --- a/tests/baselines/reference/numericLiteralTypes3.js +++ b/tests/baselines/reference/numericLiteralTypes3.js @@ -103,6 +103,7 @@ function f8(x: 0 | 2 | 4) { } //// [numericLiteralTypes3.js] +"use strict"; function f1(a, b, c, d) { a = a; a = b; diff --git a/tests/baselines/reference/numericLiteralsWithTrailingDecimalPoints01.js b/tests/baselines/reference/numericLiteralsWithTrailingDecimalPoints01.js index 60fd54b934e0b..4345da29eb6a8 100644 --- a/tests/baselines/reference/numericLiteralsWithTrailingDecimalPoints01.js +++ b/tests/baselines/reference/numericLiteralsWithTrailingDecimalPoints01.js @@ -38,6 +38,7 @@ var test17 = 3. // comment time again //// [numericLiteralsWithTrailingDecimalPoints01.js] +"use strict"; 1..toString(); 1.0.toString(); 1.; diff --git a/tests/baselines/reference/numericLiteralsWithTrailingDecimalPoints02.js b/tests/baselines/reference/numericLiteralsWithTrailingDecimalPoints02.js index 9ffff33e4666d..623072c1c4c77 100644 --- a/tests/baselines/reference/numericLiteralsWithTrailingDecimalPoints02.js +++ b/tests/baselines/reference/numericLiteralsWithTrailingDecimalPoints02.js @@ -38,6 +38,7 @@ var test17 = 3. // comment time again //// [numericLiteralsWithTrailingDecimalPoints02.js] +"use strict"; 1..toString(); 1.0.toString(); 1.; diff --git a/tests/baselines/reference/numericMethodName1.js b/tests/baselines/reference/numericMethodName1.js index 9ed8205d5c874..5e4d29caf770a 100644 --- a/tests/baselines/reference/numericMethodName1.js +++ b/tests/baselines/reference/numericMethodName1.js @@ -7,6 +7,7 @@ class C { //// [numericMethodName1.js] +"use strict"; var C = /** @class */ (function () { function C() { this[1] = 2; diff --git a/tests/baselines/reference/numericNamedPropertyDuplicates.js b/tests/baselines/reference/numericNamedPropertyDuplicates.js index 5ee278913e285..d813e753852cb 100644 --- a/tests/baselines/reference/numericNamedPropertyDuplicates.js +++ b/tests/baselines/reference/numericNamedPropertyDuplicates.js @@ -24,6 +24,7 @@ var b = { } //// [numericNamedPropertyDuplicates.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/numericStringNamedPropertyEquivalence.js b/tests/baselines/reference/numericStringNamedPropertyEquivalence.js index 9809925134704..acdfc8efdade5 100644 --- a/tests/baselines/reference/numericStringNamedPropertyEquivalence.js +++ b/tests/baselines/reference/numericStringNamedPropertyEquivalence.js @@ -26,6 +26,7 @@ var b = { } //// [numericStringNamedPropertyEquivalence.js] +"use strict"; // Each of these types has an error in it. // String named and numeric named properties conflict if they would be equivalent after ToNumber on the property name. var C = /** @class */ (function () { diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es2015).js b/tests/baselines/reference/numericUnderscoredSeparator(target=es2015).js index b37b75d1f9dcc..9bdb943266f4a 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es2015).js +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es2015).js @@ -8,6 +8,7 @@ //// [numericUnderscoredSeparator.js] +"use strict"; 1000000000000; 41349; 41349; diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es2016).js b/tests/baselines/reference/numericUnderscoredSeparator(target=es2016).js index b37b75d1f9dcc..9bdb943266f4a 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es2016).js +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es2016).js @@ -8,6 +8,7 @@ //// [numericUnderscoredSeparator.js] +"use strict"; 1000000000000; 41349; 41349; diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es2017).js b/tests/baselines/reference/numericUnderscoredSeparator(target=es2017).js index b37b75d1f9dcc..9bdb943266f4a 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es2017).js +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es2017).js @@ -8,6 +8,7 @@ //// [numericUnderscoredSeparator.js] +"use strict"; 1000000000000; 41349; 41349; diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es2018).js b/tests/baselines/reference/numericUnderscoredSeparator(target=es2018).js index b37b75d1f9dcc..9bdb943266f4a 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es2018).js +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es2018).js @@ -8,6 +8,7 @@ //// [numericUnderscoredSeparator.js] +"use strict"; 1000000000000; 41349; 41349; diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es2019).js b/tests/baselines/reference/numericUnderscoredSeparator(target=es2019).js index b37b75d1f9dcc..9bdb943266f4a 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es2019).js +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es2019).js @@ -8,6 +8,7 @@ //// [numericUnderscoredSeparator.js] +"use strict"; 1000000000000; 41349; 41349; diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=es5).js b/tests/baselines/reference/numericUnderscoredSeparator(target=es5).js index b37b75d1f9dcc..9bdb943266f4a 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=es5).js +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=es5).js @@ -8,6 +8,7 @@ //// [numericUnderscoredSeparator.js] +"use strict"; 1000000000000; 41349; 41349; diff --git a/tests/baselines/reference/numericUnderscoredSeparator(target=esnext).js b/tests/baselines/reference/numericUnderscoredSeparator(target=esnext).js index 9288684a898b8..6a53e2b5d2d9d 100644 --- a/tests/baselines/reference/numericUnderscoredSeparator(target=esnext).js +++ b/tests/baselines/reference/numericUnderscoredSeparator(target=esnext).js @@ -8,6 +8,7 @@ //// [numericUnderscoredSeparator.js] +"use strict"; 1_000_000_000_000; 0b1010_0001_1000_0101; 0b1010_0001_1000_0101; diff --git a/tests/baselines/reference/objectAssignLikeNonUnionResult.js b/tests/baselines/reference/objectAssignLikeNonUnionResult.js index 1a205391befd7..c329c56430940 100644 --- a/tests/baselines/reference/objectAssignLikeNonUnionResult.js +++ b/tests/baselines/reference/objectAssignLikeNonUnionResult.js @@ -21,6 +21,7 @@ type Explode = T extends { x: infer A } ? [A] : 'X'; type e1 = Explode; //// [objectAssignLikeNonUnionResult.js] +"use strict"; var defaultValue = { field: 1 }; // Displayed type: Interface & { field: number } // Underlying type: Something else... diff --git a/tests/baselines/reference/objectBindingPatternContextuallyTypesArgument.js b/tests/baselines/reference/objectBindingPatternContextuallyTypesArgument.js index ba0c8e0acd8c8..a04de82c6ed5d 100644 --- a/tests/baselines/reference/objectBindingPatternContextuallyTypesArgument.js +++ b/tests/baselines/reference/objectBindingPatternContextuallyTypesArgument.js @@ -6,4 +6,5 @@ const { f = (x: string) => x.length } = id({ f: x => x.charAt }); //// [objectBindingPatternContextuallyTypesArgument.js] +"use strict"; var _a = id({ f: function (x) { return x.charAt; } }).f, f = _a === void 0 ? function (x) { return x.length; } : _a; diff --git a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers01.js b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers01.js index 201eed38f3427..25c8890ac4767 100644 --- a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers01.js +++ b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers01.js @@ -4,4 +4,5 @@ var { while } = { while: 1 } //// [objectBindingPatternKeywordIdentifiers01.js] +"use strict"; var = { while: 1 }.while; diff --git a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers02.js b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers02.js index 44eaa8915de1e..73a555deb8fb2 100644 --- a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers02.js +++ b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers02.js @@ -4,4 +4,5 @@ var { while: while } = { while: 1 } //// [objectBindingPatternKeywordIdentifiers02.js] +"use strict"; var _a = { while: 1 }, = _a.while, = _a.while; diff --git a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers03.js b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers03.js index 252b1585581a8..2fa12fdd85791 100644 --- a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers03.js +++ b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers03.js @@ -4,4 +4,5 @@ var { "while" } = { while: 1 } //// [objectBindingPatternKeywordIdentifiers03.js] +"use strict"; var = { while: 1 }["while"]; diff --git a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers04.js b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers04.js index 04867581e9b9d..58f7c2eedba5d 100644 --- a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers04.js +++ b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers04.js @@ -4,4 +4,5 @@ var { "while": while } = { while: 1 } //// [objectBindingPatternKeywordIdentifiers04.js] +"use strict"; var _a = { while: 1 }, = _a["while"], = _a.while; diff --git a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers05.js b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers05.js index 1fccdd360672c..907cecf28501a 100644 --- a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers05.js +++ b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers05.js @@ -4,4 +4,5 @@ var { as } = { as: 1 } //// [objectBindingPatternKeywordIdentifiers05.js] +"use strict"; var as = { as: 1 }.as; diff --git a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers06.js b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers06.js index f85af19a4c29e..488bdbcd7a3e5 100644 --- a/tests/baselines/reference/objectBindingPatternKeywordIdentifiers06.js +++ b/tests/baselines/reference/objectBindingPatternKeywordIdentifiers06.js @@ -4,4 +4,5 @@ var { as: as } = { as: 1 } //// [objectBindingPatternKeywordIdentifiers06.js] +"use strict"; var as = { as: 1 }.as; diff --git a/tests/baselines/reference/objectBindingPattern_restElementWithPropertyName.js b/tests/baselines/reference/objectBindingPattern_restElementWithPropertyName.js index f7198bd166cf1..4329f904c4117 100644 --- a/tests/baselines/reference/objectBindingPattern_restElementWithPropertyName.js +++ b/tests/baselines/reference/objectBindingPattern_restElementWithPropertyName.js @@ -5,6 +5,7 @@ const { ...a: b } = {}; //// [objectBindingPattern_restElementWithPropertyName.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/objectCreate-errors.js b/tests/baselines/reference/objectCreate-errors.js index 9ecb11afd0f86..756af78fc568a 100644 --- a/tests/baselines/reference/objectCreate-errors.js +++ b/tests/baselines/reference/objectCreate-errors.js @@ -13,6 +13,7 @@ var e7 = Object.create(false, {}); // Error var e8 = Object.create(undefined, {}); // Error //// [objectCreate-errors.js] +"use strict"; var e1 = Object.create(1); // Error var e2 = Object.create("string"); // Error var e3 = Object.create(false); // Error diff --git a/tests/baselines/reference/objectCreate.js b/tests/baselines/reference/objectCreate.js index 2d296bab4ea4c..1c4c1b42f8bd2 100644 --- a/tests/baselines/reference/objectCreate.js +++ b/tests/baselines/reference/objectCreate.js @@ -17,6 +17,7 @@ var a = Object.create({}, {}); //// [objectCreate.js] +"use strict"; var n = Object.create(null); // object var t = Object.create({ a: 1, b: "" }); // {a: number, b: string } var u = Object.create(union); // object | {a: number, b: string } diff --git a/tests/baselines/reference/objectCreate2.js b/tests/baselines/reference/objectCreate2.js index 4883fa21f10ee..99087a24ede7a 100644 --- a/tests/baselines/reference/objectCreate2.js +++ b/tests/baselines/reference/objectCreate2.js @@ -17,6 +17,7 @@ var a = Object.create({}, {}); //// [objectCreate2.js] +"use strict"; var n = Object.create(null); // any var t = Object.create({ a: 1, b: "" }); // {a: number, b: string } var u = Object.create(union); // {a: number, b: string } diff --git a/tests/baselines/reference/objectCreationExpressionInFunctionParameter.js b/tests/baselines/reference/objectCreationExpressionInFunctionParameter.js index f1a9b44e1de4a..9972d39e285dc 100644 --- a/tests/baselines/reference/objectCreationExpressionInFunctionParameter.js +++ b/tests/baselines/reference/objectCreationExpressionInFunctionParameter.js @@ -9,6 +9,7 @@ function foo(x = new A(123)) { //should error, 123 is not string }} //// [objectCreationExpressionInFunctionParameter.js] +"use strict"; var A = /** @class */ (function () { function A(a1) { this.a1 = a1; diff --git a/tests/baselines/reference/objectCreationOfElementAccessExpression.js b/tests/baselines/reference/objectCreationOfElementAccessExpression.js index 0ad46eebe3035..4ae0c64baae7d 100644 --- a/tests/baselines/reference/objectCreationOfElementAccessExpression.js +++ b/tests/baselines/reference/objectCreationOfElementAccessExpression.js @@ -58,6 +58,7 @@ var foods2: MonsterFood[] = new PetFood[new IceCream('Mint chocolate chip') , Co //// [objectCreationOfElementAccessExpression.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/objectFreeze.js b/tests/baselines/reference/objectFreeze.js index c307ef34a6287..c7019907b1952 100644 --- a/tests/baselines/reference/objectFreeze.js +++ b/tests/baselines/reference/objectFreeze.js @@ -16,6 +16,7 @@ o.b = o.a.toString(); //// [objectFreeze.js] +"use strict"; var f = Object.freeze(function foo(a, b) { return false; }); f(1, "") === false; var C = /** @class */ (function () { diff --git a/tests/baselines/reference/objectFreezeLiteralsDontWiden.js b/tests/baselines/reference/objectFreezeLiteralsDontWiden.js index 796c4a7a8de83..9cbaba93406f2 100644 --- a/tests/baselines/reference/objectFreezeLiteralsDontWiden.js +++ b/tests/baselines/reference/objectFreezeLiteralsDontWiden.js @@ -11,6 +11,7 @@ preferredRevision = PUPPETEER_REVISIONS.firefox; //// [objectFreezeLiteralsDontWiden.js] +"use strict"; var PUPPETEER_REVISIONS = Object.freeze({ chromium: '1011831', firefox: 'latest', diff --git a/tests/baselines/reference/objectFromEntries.js b/tests/baselines/reference/objectFromEntries.js index a2c64d7bc1767..83abe26f5c35b 100644 --- a/tests/baselines/reference/objectFromEntries.js +++ b/tests/baselines/reference/objectFromEntries.js @@ -13,6 +13,7 @@ const o5 = Object.fromEntries(frozenArray2); //// [objectFromEntries.js] +"use strict"; const o = Object.fromEntries([['a', 1], ['b', 2], ['c', 3]]); const o2 = Object.fromEntries(new URLSearchParams()); const o3 = Object.fromEntries(new Map([[Symbol("key"), "value"]])); diff --git a/tests/baselines/reference/objectGroupBy.js b/tests/baselines/reference/objectGroupBy.js index 320475a1a427c..09b3c6bf800eb 100644 --- a/tests/baselines/reference/objectGroupBy.js +++ b/tests/baselines/reference/objectGroupBy.js @@ -13,6 +13,7 @@ const byNonKey = Object.groupBy(employees, x => x); //// [objectGroupBy.js] +"use strict"; const basic = Object.groupBy([0, 2, 8], x => x < 5 ? 'small' : 'large'); const chars = Object.groupBy('a string', c => c); const employees = new Set(); diff --git a/tests/baselines/reference/objectInstantiationFromUnionSpread.js b/tests/baselines/reference/objectInstantiationFromUnionSpread.js index aa7a2a8e8e28f..de18fd4ad2cbf 100644 --- a/tests/baselines/reference/objectInstantiationFromUnionSpread.js +++ b/tests/baselines/reference/objectInstantiationFromUnionSpread.js @@ -23,6 +23,7 @@ function f2(a: Item[]) { //// [objectInstantiationFromUnionSpread.js] +"use strict"; // #40995 var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { diff --git a/tests/baselines/reference/objectLitArrayDeclNoNew.js b/tests/baselines/reference/objectLitArrayDeclNoNew.js index 3d4a87bf246e0..c88b350217658 100644 --- a/tests/baselines/reference/objectLitArrayDeclNoNew.js +++ b/tests/baselines/reference/objectLitArrayDeclNoNew.js @@ -31,6 +31,7 @@ namespace Test { //// [objectLitArrayDeclNoNew.js] "use strict"; +"use strict"; var Test; (function (Test) { var Gar = /** @class */ (function () { diff --git a/tests/baselines/reference/objectLitGetterSetter.js b/tests/baselines/reference/objectLitGetterSetter.js index 2a2668fdfb4f1..71c0f94dc3b56 100644 --- a/tests/baselines/reference/objectLitGetterSetter.js +++ b/tests/baselines/reference/objectLitGetterSetter.js @@ -13,6 +13,7 @@ //// [objectLitGetterSetter.js] +"use strict"; var obj = {}; Object.defineProperty(obj, "accProperty", ({ get: function () { diff --git a/tests/baselines/reference/objectLitIndexerContextualType.js b/tests/baselines/reference/objectLitIndexerContextualType.js index 832b06409d776..7e530199efed3 100644 --- a/tests/baselines/reference/objectLitIndexerContextualType.js +++ b/tests/baselines/reference/objectLitIndexerContextualType.js @@ -26,6 +26,7 @@ y = { //// [objectLitIndexerContextualType.js] +"use strict"; var x; var y; x = { diff --git a/tests/baselines/reference/objectLitPropertyScoping.js b/tests/baselines/reference/objectLitPropertyScoping.js index 9ae3745b7b045..85b5b7b4ddc7c 100644 --- a/tests/baselines/reference/objectLitPropertyScoping.js +++ b/tests/baselines/reference/objectLitPropertyScoping.js @@ -18,6 +18,7 @@ function makePoint(x: number, y: number) { }; //// [objectLitPropertyScoping.js] +"use strict"; // Should compile, x and y should not be picked up from the properties function makePoint(x, y) { return { diff --git a/tests/baselines/reference/objectLitStructuralTypeMismatch.js b/tests/baselines/reference/objectLitStructuralTypeMismatch.js index c0b7e7253f665..cf17a74c74a0e 100644 --- a/tests/baselines/reference/objectLitStructuralTypeMismatch.js +++ b/tests/baselines/reference/objectLitStructuralTypeMismatch.js @@ -5,5 +5,6 @@ var x: { a: number; } = { b: 5 }; //// [objectLitStructuralTypeMismatch.js] +"use strict"; // Shouldn't compile var x = { b: 5 }; diff --git a/tests/baselines/reference/objectLitTargetTypeCallSite.js b/tests/baselines/reference/objectLitTargetTypeCallSite.js index 847b3c24c74b2..b85f323b27e48 100644 --- a/tests/baselines/reference/objectLitTargetTypeCallSite.js +++ b/tests/baselines/reference/objectLitTargetTypeCallSite.js @@ -8,6 +8,7 @@ function process( x: {a:number; b:string;}) { process({a:true,b:"y"}); //// [objectLitTargetTypeCallSite.js] +"use strict"; function process(x) { return x.a; } diff --git a/tests/baselines/reference/objectLiteral1.js b/tests/baselines/reference/objectLiteral1.js index 6a1e4fcaff5e5..14e81508c11aa 100644 --- a/tests/baselines/reference/objectLiteral1.js +++ b/tests/baselines/reference/objectLiteral1.js @@ -4,4 +4,5 @@ var v30 = {a:1, b:2}; //// [objectLiteral1.js] +"use strict"; var v30 = { a: 1, b: 2 }; diff --git a/tests/baselines/reference/objectLiteral2.js b/tests/baselines/reference/objectLiteral2.js index 1a5d2da87a1e1..526fde5a6d6fb 100644 --- a/tests/baselines/reference/objectLiteral2.js +++ b/tests/baselines/reference/objectLiteral2.js @@ -4,4 +4,5 @@ var v30 = {a:1, b:2}, v31; //// [objectLiteral2.js] +"use strict"; var v30 = { a: 1, b: 2 }, v31; diff --git a/tests/baselines/reference/objectLiteralArraySpecialization.js b/tests/baselines/reference/objectLiteralArraySpecialization.js index a59c007dfb329..b2c832546ee2a 100644 --- a/tests/baselines/reference/objectLiteralArraySpecialization.js +++ b/tests/baselines/reference/objectLiteralArraySpecialization.js @@ -11,5 +11,6 @@ thing.doSomething((x, y) => x.name === "bob"); // should not error //// [objectLiteralArraySpecialization.js] +"use strict"; var thing = create([{ name: "bob", id: 24 }, { name: "doug", id: 32 }]); // should not error thing.doSomething(function (x, y) { return x.name === "bob"; }); // should not error diff --git a/tests/baselines/reference/objectLiteralContextualTyping.js b/tests/baselines/reference/objectLiteralContextualTyping.js index 0baec82689543..bc81cdebf5e05 100644 --- a/tests/baselines/reference/objectLiteralContextualTyping.js +++ b/tests/baselines/reference/objectLiteralContextualTyping.js @@ -33,6 +33,7 @@ var b: {}; //// [objectLiteralContextualTyping.js] +"use strict"; // In a contextually typed object literal, each property value expression is contextually typed by // the type of the property with a matching name in the contextual type, if any, or otherwise // for a numerically named property, the numeric index type of the contextual type, if any, or otherwise diff --git a/tests/baselines/reference/objectLiteralDeclarationGeneration1.js b/tests/baselines/reference/objectLiteralDeclarationGeneration1.js index c26e8503074a2..34b31665cd467 100644 --- a/tests/baselines/reference/objectLiteralDeclarationGeneration1.js +++ b/tests/baselines/reference/objectLiteralDeclarationGeneration1.js @@ -4,6 +4,7 @@ class y{ } //// [objectLiteralDeclarationGeneration1.js] +"use strict"; var y = /** @class */ (function () { function y() { } diff --git a/tests/baselines/reference/objectLiteralEnumPropertyNames.js b/tests/baselines/reference/objectLiteralEnumPropertyNames.js index 5e885865e5379..7a6f07a48b652 100644 --- a/tests/baselines/reference/objectLiteralEnumPropertyNames.js +++ b/tests/baselines/reference/objectLiteralEnumPropertyNames.js @@ -56,6 +56,7 @@ const um = { //// [objectLiteralEnumPropertyNames.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j; // Fixes #16887 var Strs; diff --git a/tests/baselines/reference/objectLiteralErrors.js b/tests/baselines/reference/objectLiteralErrors.js index c520da3390eac..173927d964ba0 100644 --- a/tests/baselines/reference/objectLiteralErrors.js +++ b/tests/baselines/reference/objectLiteralErrors.js @@ -55,6 +55,7 @@ var h1 = { //// [objectLiteralErrors.js] +"use strict"; // Multiple properties with the same name var e1 = { a: 0, a: 0 }; var e2 = { a: '', a: '' }; diff --git a/tests/baselines/reference/objectLiteralExcessProperties.js b/tests/baselines/reference/objectLiteralExcessProperties.js index becdf45db008a..a655e199d63af 100644 --- a/tests/baselines/reference/objectLiteralExcessProperties.js +++ b/tests/baselines/reference/objectLiteralExcessProperties.js @@ -54,6 +54,7 @@ function test() { //// [objectLiteralExcessProperties.js] +"use strict"; var b1 = { forword: "oops" }; var b2 = { foreward: "nope" }; var b3 = [{ foreword: "hello" }, { forwards: "back" }]; diff --git a/tests/baselines/reference/objectLiteralFreshnessWithSpread.js b/tests/baselines/reference/objectLiteralFreshnessWithSpread.js index 09ff8b4e0bc8d..bc7df7abee0b2 100644 --- a/tests/baselines/reference/objectLiteralFreshnessWithSpread.js +++ b/tests/baselines/reference/objectLiteralFreshnessWithSpread.js @@ -6,6 +6,7 @@ let xx: { a, b } = { a: 1, ...x, z: 3 } // error for 'z', no error for 'extra' //// [objectLiteralFreshnessWithSpread.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/objectLiteralFunctionArgContextualTyping.js b/tests/baselines/reference/objectLiteralFunctionArgContextualTyping.js index 9aba38d1748ec..f372e6f14092b 100644 --- a/tests/baselines/reference/objectLiteralFunctionArgContextualTyping.js +++ b/tests/baselines/reference/objectLiteralFunctionArgContextualTyping.js @@ -16,6 +16,7 @@ f2({ toString: (s: string) => s }) // error, missing property value from ArgsStr f2({ value: '', toString: (s) => s.uhhh }) // error //// [objectLiteralFunctionArgContextualTyping.js] +"use strict"; function f2(args) { } f2({ hello: 1 }); // error f2({ value: '' }); // missing toString satisfied by Object's member diff --git a/tests/baselines/reference/objectLiteralFunctionArgContextualTyping2.js b/tests/baselines/reference/objectLiteralFunctionArgContextualTyping2.js index 1252481e16bbc..3220c6cffec0f 100644 --- a/tests/baselines/reference/objectLiteralFunctionArgContextualTyping2.js +++ b/tests/baselines/reference/objectLiteralFunctionArgContextualTyping2.js @@ -16,6 +16,7 @@ f2({ toString: (s: string) => s }) f2({ value: '', toString: (s) => s.uhhh }) //// [objectLiteralFunctionArgContextualTyping2.js] +"use strict"; function f2(args) { } f2({ hello: 1 }); f2({ value: '' }); diff --git a/tests/baselines/reference/objectLiteralGettersAndSetters.js b/tests/baselines/reference/objectLiteralGettersAndSetters.js index 5b7a4e896f59f..2bc882fbbe815 100644 --- a/tests/baselines/reference/objectLiteralGettersAndSetters.js +++ b/tests/baselines/reference/objectLiteralGettersAndSetters.js @@ -86,6 +86,7 @@ var getParamType3 = { //// [objectLiteralGettersAndSetters.js] +"use strict"; // Get and set accessor with the same name var sameName1a = { get 'a'() { return ''; }, set a(n) { var p = n; var p; } }; var sameName2a = { get 0.0() { return ''; }, set 0(n) { var p = n; var p; } }; diff --git a/tests/baselines/reference/objectLiteralIndexerErrors.js b/tests/baselines/reference/objectLiteralIndexerErrors.js index 8db724939e5f2..bee05c6eb0c6f 100644 --- a/tests/baselines/reference/objectLiteralIndexerErrors.js +++ b/tests/baselines/reference/objectLiteralIndexerErrors.js @@ -17,6 +17,7 @@ var o1: { [s: string]: A;[n: number]: B; } = { x: b, 0: a }; // both indexers ar o1 = { x: c, 0: a }; // string indexer is any, number indexer is A //// [objectLiteralIndexerErrors.js] +"use strict"; var c; var o1 = { x: b, 0: a }; // both indexers are A o1 = { x: c, 0: a }; // string indexer is any, number indexer is A diff --git a/tests/baselines/reference/objectLiteralIndexerNoImplicitAny.js b/tests/baselines/reference/objectLiteralIndexerNoImplicitAny.js index cfbc5a6f0a2a8..fad27e6a45a0c 100644 --- a/tests/baselines/reference/objectLiteralIndexerNoImplicitAny.js +++ b/tests/baselines/reference/objectLiteralIndexerNoImplicitAny.js @@ -10,6 +10,7 @@ var x: I = { } //// [objectLiteralIndexerNoImplicitAny.js] +"use strict"; var x = { p: null }; diff --git a/tests/baselines/reference/objectLiteralIndexers.js b/tests/baselines/reference/objectLiteralIndexers.js index c64a31a9fa4d8..515ac7b7da775 100644 --- a/tests/baselines/reference/objectLiteralIndexers.js +++ b/tests/baselines/reference/objectLiteralIndexers.js @@ -18,6 +18,7 @@ o1 = { x: b, 0: c }; // both indexers are any o1 = { x: c, 0: b }; // string indexer is any, number indexer is B //// [objectLiteralIndexers.js] +"use strict"; var a; var b; var c; diff --git a/tests/baselines/reference/objectLiteralMemberWithModifiers1.js b/tests/baselines/reference/objectLiteralMemberWithModifiers1.js index 392a14031801f..9928d270563c7 100644 --- a/tests/baselines/reference/objectLiteralMemberWithModifiers1.js +++ b/tests/baselines/reference/objectLiteralMemberWithModifiers1.js @@ -4,4 +4,5 @@ var v = { public foo() { } } //// [objectLiteralMemberWithModifiers1.js] +"use strict"; var v = { foo: function () { } }; diff --git a/tests/baselines/reference/objectLiteralMemberWithModifiers2.js b/tests/baselines/reference/objectLiteralMemberWithModifiers2.js index 31f824759561c..ae72004794edd 100644 --- a/tests/baselines/reference/objectLiteralMemberWithModifiers2.js +++ b/tests/baselines/reference/objectLiteralMemberWithModifiers2.js @@ -4,4 +4,5 @@ var v = { public get foo() { } } //// [objectLiteralMemberWithModifiers2.js] +"use strict"; var v = { get foo() { } }; diff --git a/tests/baselines/reference/objectLiteralMemberWithQuestionMark1.js b/tests/baselines/reference/objectLiteralMemberWithQuestionMark1.js index 141395074518b..61e81436fcc68 100644 --- a/tests/baselines/reference/objectLiteralMemberWithQuestionMark1.js +++ b/tests/baselines/reference/objectLiteralMemberWithQuestionMark1.js @@ -4,4 +4,5 @@ var v = { foo?() { } } //// [objectLiteralMemberWithQuestionMark1.js] +"use strict"; var v = { foo: function () { } }; diff --git a/tests/baselines/reference/objectLiteralMemberWithoutBlock1.js b/tests/baselines/reference/objectLiteralMemberWithoutBlock1.js index c4524a4685003..f50a6d81eba1b 100644 --- a/tests/baselines/reference/objectLiteralMemberWithoutBlock1.js +++ b/tests/baselines/reference/objectLiteralMemberWithoutBlock1.js @@ -4,4 +4,5 @@ var v = { foo(); } //// [objectLiteralMemberWithoutBlock1.js] +"use strict"; var v = {}; diff --git a/tests/baselines/reference/objectLiteralParameterResolution.js b/tests/baselines/reference/objectLiteralParameterResolution.js index 11422ea5d7325..a073ececdb4e7 100644 --- a/tests/baselines/reference/objectLiteralParameterResolution.js +++ b/tests/baselines/reference/objectLiteralParameterResolution.js @@ -19,6 +19,7 @@ var s = $.extend({ //// [objectLiteralParameterResolution.js] +"use strict"; var s = $.extend({ type: "GET", data: "data", diff --git a/tests/baselines/reference/objectLiteralPropertyImplicitlyAny.js b/tests/baselines/reference/objectLiteralPropertyImplicitlyAny.js index 3d119317e1095..745e2b35cfa1a 100644 --- a/tests/baselines/reference/objectLiteralPropertyImplicitlyAny.js +++ b/tests/baselines/reference/objectLiteralPropertyImplicitlyAny.js @@ -6,5 +6,6 @@ const o = { [foo]: undefined }; //// [objectLiteralPropertyImplicitlyAny.js] +"use strict"; const foo = Symbol.for("foo"); const o = { [foo]: undefined }; diff --git a/tests/baselines/reference/objectLiteralReferencingInternalProperties.js b/tests/baselines/reference/objectLiteralReferencingInternalProperties.js index 6293af39502bb..933f5dba4acd2 100644 --- a/tests/baselines/reference/objectLiteralReferencingInternalProperties.js +++ b/tests/baselines/reference/objectLiteralReferencingInternalProperties.js @@ -4,4 +4,5 @@ var a = { b: 10, c: b }; // Should give error for attempting to reference b. //// [objectLiteralReferencingInternalProperties.js] +"use strict"; var a = { b: 10, c: b }; // Should give error for attempting to reference b. diff --git a/tests/baselines/reference/objectLiteralShorthandProperties.js b/tests/baselines/reference/objectLiteralShorthandProperties.js index d1e5ff2e20961..45b4bbe6826a9 100644 --- a/tests/baselines/reference/objectLiteralShorthandProperties.js +++ b/tests/baselines/reference/objectLiteralShorthandProperties.js @@ -23,6 +23,7 @@ var x3 = { //// [objectLiteralShorthandProperties.js] +"use strict"; var a, b, c; var x1 = { a: a diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesAssignment.js b/tests/baselines/reference/objectLiteralShorthandPropertiesAssignment.js index 4f7f0b07e1678..7b729833d4e8e 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesAssignment.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesAssignment.js @@ -17,6 +17,7 @@ var person3: { name: string; id:number } = bar("Hello", 5); //// [objectLiteralShorthandPropertiesAssignment.js] +"use strict"; var id = 10000; var name = "my name"; var person = { name: name, id: id }; diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentES6.js b/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentES6.js index b88fbe9e672e5..7aec56f4ab6d6 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentES6.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentES6.js @@ -17,6 +17,7 @@ var person3: { name: string; id: number } = bar("Hello", 5); //// [objectLiteralShorthandPropertiesAssignmentES6.js] +"use strict"; var id = 10000; var name = "my name"; var person = { name, id }; diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentError.js b/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentError.js index 9d21f183109a1..bc8e17c316c30 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentError.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentError.js @@ -13,6 +13,7 @@ bar({ name, id }); // error //// [objectLiteralShorthandPropertiesAssignmentError.js] +"use strict"; var id = 10000; var name = "my name"; var person = { name: name, id: id }; // error diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentErrorFromMissingIdentifier.js b/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentErrorFromMissingIdentifier.js index f0c33df3bfefb..94b163a7d0180 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentErrorFromMissingIdentifier.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesAssignmentErrorFromMissingIdentifier.js @@ -12,6 +12,7 @@ var person2: { name: string, id: number } = bar("hello", 5); //// [objectLiteralShorthandPropertiesAssignmentErrorFromMissingIdentifier.js] +"use strict"; var id = 10000; var name = "my name"; var person = { name: name, id: id }; // error diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesES6.js b/tests/baselines/reference/objectLiteralShorthandPropertiesES6.js index 01c7832cbd40b..ea536bcbf8d86 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesES6.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesES6.js @@ -23,6 +23,7 @@ var x3 = { //// [objectLiteralShorthandPropertiesES6.js] +"use strict"; var a, b, c; var x1 = { a diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNoneExistingIdentifier.js b/tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNoneExistingIdentifier.js index 037e1037f1cba..adae35fd589db 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNoneExistingIdentifier.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNoneExistingIdentifier.js @@ -8,6 +8,7 @@ var x = { //// [objectLiteralShorthandPropertiesErrorFromNoneExistingIdentifier.js] +"use strict"; var x = { x: x, // OK undefinedVariable: undefinedVariable // Error diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.js b/tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.js index 10951a8e47eef..f063d70688411 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.js @@ -23,6 +23,7 @@ var x = { var v = { class }; // error //// [objectLiteralShorthandPropertiesErrorFromNotUsingIdentifier.js] +"use strict"; var _a; // errors var y = { diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesErrorWithModule.js b/tests/baselines/reference/objectLiteralShorthandPropertiesErrorWithModule.js index 86e9217c6952b..7cf1e505d472c 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesErrorWithModule.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesErrorWithModule.js @@ -18,6 +18,7 @@ m.y.x; //// [objectLiteralShorthandPropertiesErrorWithModule.js] +"use strict"; // module export var x = "Foo"; var m; diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesFunctionArgument.js b/tests/baselines/reference/objectLiteralShorthandPropertiesFunctionArgument.js index 87294005a51ef..8e5ea9096cecb 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesFunctionArgument.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesFunctionArgument.js @@ -13,6 +13,7 @@ foo(person); var obj = { name: name, id: id }; //// [objectLiteralShorthandPropertiesFunctionArgument.js] +"use strict"; var id = 10000; var name = "my name"; var person = { name: name, id: id }; diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesFunctionArgument2.js b/tests/baselines/reference/objectLiteralShorthandPropertiesFunctionArgument2.js index 3af3bfa0ef981..ec7a251e7ec48 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesFunctionArgument2.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesFunctionArgument2.js @@ -11,6 +11,7 @@ foo(person); // error //// [objectLiteralShorthandPropertiesFunctionArgument2.js] +"use strict"; var id = 10000; var name = "my name"; var person = { name: name, id: id }; diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesWithModule.js b/tests/baselines/reference/objectLiteralShorthandPropertiesWithModule.js index acd6177669c4f..708f482d4c111 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesWithModule.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesWithModule.js @@ -17,6 +17,7 @@ namespace m { //// [objectLiteralShorthandPropertiesWithModule.js] +"use strict"; // module export var m; (function (m) { diff --git a/tests/baselines/reference/objectLiteralShorthandPropertiesWithModuleES6.js b/tests/baselines/reference/objectLiteralShorthandPropertiesWithModuleES6.js index f665c8e40badd..1d31d96b26eb8 100644 --- a/tests/baselines/reference/objectLiteralShorthandPropertiesWithModuleES6.js +++ b/tests/baselines/reference/objectLiteralShorthandPropertiesWithModuleES6.js @@ -15,6 +15,7 @@ namespace m { //// [objectLiteralShorthandPropertiesWithModuleES6.js] +"use strict"; var m; (function (m) { })(m || (m = {})); diff --git a/tests/baselines/reference/objectLiteralThisWidenedOnUse.js b/tests/baselines/reference/objectLiteralThisWidenedOnUse.js index 4ddf506c14aeb..49f1feaad9748 100644 --- a/tests/baselines/reference/objectLiteralThisWidenedOnUse.js +++ b/tests/baselines/reference/objectLiteralThisWidenedOnUse.js @@ -16,6 +16,7 @@ var GlobalIns = { }; //// [objectLiteralThisWidenedOnUse.js] +"use strict"; var GlobalIns = { prop1: 1, prop2: 2, diff --git a/tests/baselines/reference/objectLiteralWidened.js b/tests/baselines/reference/objectLiteralWidened.js index be9d638d51b44..11e4dcac557fc 100644 --- a/tests/baselines/reference/objectLiteralWidened.js +++ b/tests/baselines/reference/objectLiteralWidened.js @@ -35,6 +35,7 @@ var y2 = { } //// [objectLiteralWidened.js] +"use strict"; // object literal properties are widened to any var x1 = { foo: null, diff --git a/tests/baselines/reference/objectLiteralWithGetAccessorInsideFunction.js b/tests/baselines/reference/objectLiteralWithGetAccessorInsideFunction.js index f9d3c28ad7013..737300d9a11e8 100644 --- a/tests/baselines/reference/objectLiteralWithGetAccessorInsideFunction.js +++ b/tests/baselines/reference/objectLiteralWithGetAccessorInsideFunction.js @@ -11,6 +11,7 @@ function bar() { } //// [objectLiteralWithGetAccessorInsideFunction.js] +"use strict"; function bar() { var x = { get _extraOccluded() { diff --git a/tests/baselines/reference/objectLiteralWithNumericPropertyName.js b/tests/baselines/reference/objectLiteralWithNumericPropertyName.js index 58b1067d143d6..c1dd504b546f0 100644 --- a/tests/baselines/reference/objectLiteralWithNumericPropertyName.js +++ b/tests/baselines/reference/objectLiteralWithNumericPropertyName.js @@ -10,6 +10,7 @@ var x: A = { //// [objectLiteralWithNumericPropertyName.js] +"use strict"; var x = { 0: 3 }; diff --git a/tests/baselines/reference/objectLiteralWithSemicolons1.js b/tests/baselines/reference/objectLiteralWithSemicolons1.js index c55652845842e..6e8864d7e62ba 100644 --- a/tests/baselines/reference/objectLiteralWithSemicolons1.js +++ b/tests/baselines/reference/objectLiteralWithSemicolons1.js @@ -4,4 +4,5 @@ var v = { a; b; c } //// [objectLiteralWithSemicolons1.js] +"use strict"; var v = { a: a, b: b, c: c }; diff --git a/tests/baselines/reference/objectLiteralWithSemicolons2.js b/tests/baselines/reference/objectLiteralWithSemicolons2.js index ed9096479491a..2998ff978d304 100644 --- a/tests/baselines/reference/objectLiteralWithSemicolons2.js +++ b/tests/baselines/reference/objectLiteralWithSemicolons2.js @@ -8,6 +8,7 @@ var v = { } //// [objectLiteralWithSemicolons2.js] +"use strict"; var v = { a: a, b: b, diff --git a/tests/baselines/reference/objectLiteralWithSemicolons3.js b/tests/baselines/reference/objectLiteralWithSemicolons3.js index 4cdd569f7b175..945e26332f7b6 100644 --- a/tests/baselines/reference/objectLiteralWithSemicolons3.js +++ b/tests/baselines/reference/objectLiteralWithSemicolons3.js @@ -8,6 +8,7 @@ var v = { } //// [objectLiteralWithSemicolons3.js] +"use strict"; var v = { a: a, b: b, diff --git a/tests/baselines/reference/objectLiteralWithSemicolons4.js b/tests/baselines/reference/objectLiteralWithSemicolons4.js index af583d3f8eff3..e0667af717003 100644 --- a/tests/baselines/reference/objectLiteralWithSemicolons4.js +++ b/tests/baselines/reference/objectLiteralWithSemicolons4.js @@ -6,6 +6,7 @@ var v = { ; //// [objectLiteralWithSemicolons4.js] +"use strict"; var v = { a: a }; diff --git a/tests/baselines/reference/objectLiteralWithSemicolons5.js b/tests/baselines/reference/objectLiteralWithSemicolons5.js index 8e87aa4c733da..10b00d0e60bb1 100644 --- a/tests/baselines/reference/objectLiteralWithSemicolons5.js +++ b/tests/baselines/reference/objectLiteralWithSemicolons5.js @@ -4,4 +4,5 @@ var v = { foo() { }; a: b; get baz() { }; } //// [objectLiteralWithSemicolons5.js] +"use strict"; var v = { foo: function () { }, a: b, get baz() { } }; diff --git a/tests/baselines/reference/objectLiteralsAgainstUnionsOfArrays01.js b/tests/baselines/reference/objectLiteralsAgainstUnionsOfArrays01.js index ca52e53154371..e447ca7ddaaa2 100644 --- a/tests/baselines/reference/objectLiteralsAgainstUnionsOfArrays01.js +++ b/tests/baselines/reference/objectLiteralsAgainstUnionsOfArrays01.js @@ -15,6 +15,7 @@ let x: Foo[] = [ //// [objectLiteralsAgainstUnionsOfArrays01.js] +"use strict"; var x = [ { bar: { prop: 100 } } ]; diff --git a/tests/baselines/reference/objectMembersOnTypes.js b/tests/baselines/reference/objectMembersOnTypes.js index 4a164177616a9..6e238f85c20dd 100644 --- a/tests/baselines/reference/objectMembersOnTypes.js +++ b/tests/baselines/reference/objectMembersOnTypes.js @@ -12,6 +12,7 @@ c.toString(); // used to be an error //// [objectMembersOnTypes.js] +"use strict"; var AAA = /** @class */ (function () { function AAA() { } diff --git a/tests/baselines/reference/objectRest.js b/tests/baselines/reference/objectRest.js index 7fcd740a0bd57..26303baed89bc 100644 --- a/tests/baselines/reference/objectRest.js +++ b/tests/baselines/reference/objectRest.js @@ -50,6 +50,7 @@ var noContextualType = ({ aNumber = 12, ...notEmptyObject }) => aNumber + notEmp //// [objectRest.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/objectRest2.js b/tests/baselines/reference/objectRest2.js index 84c0b98ec85e6..94b9bda94ef38 100644 --- a/tests/baselines/reference/objectRest2.js +++ b/tests/baselines/reference/objectRest2.js @@ -17,6 +17,7 @@ rootConnection('test'); //// [objectRest2.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/objectRestAssignment.js b/tests/baselines/reference/objectRestAssignment.js index d0536481c2908..8f57d844fb843 100644 --- a/tests/baselines/reference/objectRestAssignment.js +++ b/tests/baselines/reference/objectRestAssignment.js @@ -17,6 +17,7 @@ var { a: [{ ...nested2 }, ...y], b: { z, ...c }, ...rest2 } = overEmit; //// [objectRestAssignment.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/objectRestCatchES5.js b/tests/baselines/reference/objectRestCatchES5.js index 318800c70b0f4..4ad0d1900f616 100644 --- a/tests/baselines/reference/objectRestCatchES5.js +++ b/tests/baselines/reference/objectRestCatchES5.js @@ -5,6 +5,7 @@ let a = 1, b = 2; try {} catch ({ a, ...b }) {} //// [objectRestCatchES5.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/objectRestForOf.js b/tests/baselines/reference/objectRestForOf.js index cc7088611572e..55d15a8c54b23 100644 --- a/tests/baselines/reference/objectRestForOf.js +++ b/tests/baselines/reference/objectRestForOf.js @@ -17,6 +17,7 @@ for (const norest of array.map(a => ({ ...a, x: 'a string' }))) { //// [objectRestForOf.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/objectRestNegative.js b/tests/baselines/reference/objectRestNegative.js index 70c14379e79e3..66ba43e7a5fa8 100644 --- a/tests/baselines/reference/objectRestNegative.js +++ b/tests/baselines/reference/objectRestNegative.js @@ -21,6 +21,7 @@ let rest: { b: string } = { b: "" }; //// [objectRestNegative.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/objectRestParameter.js b/tests/baselines/reference/objectRestParameter.js index ed9ba45b74e01..8c290e0846373 100644 --- a/tests/baselines/reference/objectRestParameter.js +++ b/tests/baselines/reference/objectRestParameter.js @@ -24,6 +24,7 @@ foobar({ bar: { greeting: 'hello' } }); //// [objectRestParameter.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/objectRestParameterES5.js b/tests/baselines/reference/objectRestParameterES5.js index 6454dc7a11f29..f7e47cdc3d4cd 100644 --- a/tests/baselines/reference/objectRestParameterES5.js +++ b/tests/baselines/reference/objectRestParameterES5.js @@ -24,6 +24,7 @@ foobar({ bar: { greeting: 'hello' } }); //// [objectRestParameterES5.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/objectRestPropertyMustBeLast.js b/tests/baselines/reference/objectRestPropertyMustBeLast.js index aa644259f6e92..6327acff7d774 100644 --- a/tests/baselines/reference/objectRestPropertyMustBeLast.js +++ b/tests/baselines/reference/objectRestPropertyMustBeLast.js @@ -9,6 +9,7 @@ var {...a, x, ...b } = { x: 1 }; // Error, rest must be last property //// [objectRestPropertyMustBeLast.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/objectRestReadonly.js b/tests/baselines/reference/objectRestReadonly.js index 7eec715eb9acb..917f708b7d423 100644 --- a/tests/baselines/reference/objectRestReadonly.js +++ b/tests/baselines/reference/objectRestReadonly.js @@ -20,6 +20,7 @@ delete rest.baz //// [objectRestReadonly.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/objectRestSpread.js b/tests/baselines/reference/objectRestSpread.js index a689b3f57614a..cb2a99ba6bfcf 100644 --- a/tests/baselines/reference/objectRestSpread.js +++ b/tests/baselines/reference/objectRestSpread.js @@ -25,6 +25,7 @@ function test({ }) {} //// [objectRestSpread.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/objectSpread.js b/tests/baselines/reference/objectSpread.js index 7cab9f1fb733d..2f6911b302bd3 100644 --- a/tests/baselines/reference/objectSpread.js +++ b/tests/baselines/reference/objectSpread.js @@ -146,6 +146,7 @@ function genericSpread(t: T, u: U, v: T | U, w: T | { s: string }, obj: { //// [objectSpread.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/objectSpreadComputedProperty.js b/tests/baselines/reference/objectSpreadComputedProperty.js index e5ecbdac98343..f92cf08a28ace 100644 --- a/tests/baselines/reference/objectSpreadComputedProperty.js +++ b/tests/baselines/reference/objectSpreadComputedProperty.js @@ -13,6 +13,7 @@ function f() { //// [objectSpreadComputedProperty.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/objectSpreadNegative.js b/tests/baselines/reference/objectSpreadNegative.js index 474b76dd8cfc0..5cb7332e88f99 100644 --- a/tests/baselines/reference/objectSpreadNegative.js +++ b/tests/baselines/reference/objectSpreadNegative.js @@ -78,6 +78,7 @@ spreadObj.a; // error 'a' is not in {} //// [objectSpreadNegative.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/objectSpreadNegativeParse.js b/tests/baselines/reference/objectSpreadNegativeParse.js index 7099bd84b534b..8ce9ffdade53c 100644 --- a/tests/baselines/reference/objectSpreadNegativeParse.js +++ b/tests/baselines/reference/objectSpreadNegativeParse.js @@ -8,6 +8,7 @@ let o10 = { ...get x() { return 12; }}; //// [objectSpreadNegativeParse.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/objectSpreadNoTransform.js b/tests/baselines/reference/objectSpreadNoTransform.js index 7bd03e67ffe56..3712180fdadb6 100644 --- a/tests/baselines/reference/objectSpreadNoTransform.js +++ b/tests/baselines/reference/objectSpreadNoTransform.js @@ -9,6 +9,7 @@ var rest: any; //// [objectSpreadNoTransform.js] +"use strict"; const y = { a: 'yes', b: 'no' }; const o = { x: 1, ...y }; var b; diff --git a/tests/baselines/reference/objectSpreadStrictNull.js b/tests/baselines/reference/objectSpreadStrictNull.js index d7b15bb4d8732..51dd646710bda 100644 --- a/tests/baselines/reference/objectSpreadStrictNull.js +++ b/tests/baselines/reference/objectSpreadStrictNull.js @@ -47,6 +47,7 @@ function g(fields: Fields, partialFields: Partial, nearlyPartialFields: //// [objectSpreadStrictNull.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/objectSpreadWithinMethodWithinObjectWithSpread.js b/tests/baselines/reference/objectSpreadWithinMethodWithinObjectWithSpread.js index 100d7bc4ec617..112351ff7d2d6 100644 --- a/tests/baselines/reference/objectSpreadWithinMethodWithinObjectWithSpread.js +++ b/tests/baselines/reference/objectSpreadWithinMethodWithinObjectWithSpread.js @@ -14,6 +14,7 @@ const a = { //// [objectSpreadWithinMethodWithinObjectWithSpread.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/objectTypeHidingMembersOfExtendedObject.js b/tests/baselines/reference/objectTypeHidingMembersOfExtendedObject.js index ea6279b5929e4..800ca823687ca 100644 --- a/tests/baselines/reference/objectTypeHidingMembersOfExtendedObject.js +++ b/tests/baselines/reference/objectTypeHidingMembersOfExtendedObject.js @@ -57,6 +57,7 @@ declare var b: { var r4: void = b.valueOf(); //// [objectTypeHidingMembersOfExtendedObject.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/objectTypeHidingMembersOfObject.js b/tests/baselines/reference/objectTypeHidingMembersOfObject.js index 1c43a2742fef5..a31f0ddcf89aa 100644 --- a/tests/baselines/reference/objectTypeHidingMembersOfObject.js +++ b/tests/baselines/reference/objectTypeHidingMembersOfObject.js @@ -30,6 +30,7 @@ var b: { var r4: void = b.valueOf(); //// [objectTypeHidingMembersOfObject.js] +"use strict"; // all of these valueOf calls should return the type shown in the overriding signatures here var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/objectTypeHidingMembersOfObjectAssignmentCompat.js b/tests/baselines/reference/objectTypeHidingMembersOfObjectAssignmentCompat.js index 0531fe4fed403..47acf0dbade62 100644 --- a/tests/baselines/reference/objectTypeHidingMembersOfObjectAssignmentCompat.js +++ b/tests/baselines/reference/objectTypeHidingMembersOfObjectAssignmentCompat.js @@ -24,6 +24,7 @@ o = a; // error a = o; // ok //// [objectTypeHidingMembersOfObjectAssignmentCompat.js] +"use strict"; o = i; // error i = o; // ok var C = /** @class */ (function () { diff --git a/tests/baselines/reference/objectTypeHidingMembersOfObjectAssignmentCompat2.js b/tests/baselines/reference/objectTypeHidingMembersOfObjectAssignmentCompat2.js index b16c3b4a70ad6..2232c885e6a36 100644 --- a/tests/baselines/reference/objectTypeHidingMembersOfObjectAssignmentCompat2.js +++ b/tests/baselines/reference/objectTypeHidingMembersOfObjectAssignmentCompat2.js @@ -24,6 +24,7 @@ o = a; // error a = o; // ok //// [objectTypeHidingMembersOfObjectAssignmentCompat2.js] +"use strict"; o = i; // error i = o; // error var C = /** @class */ (function () { diff --git a/tests/baselines/reference/objectTypeLiteralSyntax.js b/tests/baselines/reference/objectTypeLiteralSyntax.js index 2962ec6ef7316..32f0eb27b4368 100644 --- a/tests/baselines/reference/objectTypeLiteralSyntax.js +++ b/tests/baselines/reference/objectTypeLiteralSyntax.js @@ -12,5 +12,6 @@ var y: { } //// [objectTypeLiteralSyntax.js] +"use strict"; var x; var y; diff --git a/tests/baselines/reference/objectTypeLiteralSyntax2.js b/tests/baselines/reference/objectTypeLiteralSyntax2.js index c6960010a8a72..c2465e342d95f 100644 --- a/tests/baselines/reference/objectTypeLiteralSyntax2.js +++ b/tests/baselines/reference/objectTypeLiteralSyntax2.js @@ -15,6 +15,7 @@ var y: { var z: { foo: string bar: string } //// [objectTypeLiteralSyntax2.js] +"use strict"; var x; // ASI makes this work var y; diff --git a/tests/baselines/reference/objectTypePropertyAccess.js b/tests/baselines/reference/objectTypePropertyAccess.js index 8c6b7325eb985..51132900e9205 100644 --- a/tests/baselines/reference/objectTypePropertyAccess.js +++ b/tests/baselines/reference/objectTypePropertyAccess.js @@ -32,6 +32,7 @@ var r11 = a['foo']; //// [objectTypePropertyAccess.js] +"use strict"; // Index notation should resolve to the type of a declared property with that same name var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/objectTypeWithCallSignatureAppearsToBeFunctionType.js b/tests/baselines/reference/objectTypeWithCallSignatureAppearsToBeFunctionType.js index ea1c997c60e22..90c0d0d25f679 100644 --- a/tests/baselines/reference/objectTypeWithCallSignatureAppearsToBeFunctionType.js +++ b/tests/baselines/reference/objectTypeWithCallSignatureAppearsToBeFunctionType.js @@ -20,6 +20,7 @@ var r4: void = b(); var rb4: (x: any, y?: any) => any = b.apply; //// [objectTypeWithCallSignatureAppearsToBeFunctionType.js] +"use strict"; // objects with call signatures should be permitted where function types are expected // no errors expected below var i; diff --git a/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfExtendedFunction.js b/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfExtendedFunction.js index 4f219ffdd8206..bbad09a8abe0f 100644 --- a/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfExtendedFunction.js +++ b/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfExtendedFunction.js @@ -35,6 +35,7 @@ var r2d = x.data; var r2e = x['hm']; // should be Object //// [objectTypeWithCallSignatureHidingMembersOfExtendedFunction.js] +"use strict"; // object types with call signatures can override members of Function // no errors expected below var i; diff --git a/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfFunction.js b/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfFunction.js index 96b593178bfe8..82709c79e0eb2 100644 --- a/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfFunction.js +++ b/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfFunction.js @@ -27,6 +27,7 @@ var r2c = x.arguments; //// [objectTypeWithCallSignatureHidingMembersOfFunction.js] +"use strict"; // object types with call signatures can override members of Function // no errors expected below var i; diff --git a/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.js b/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.js index 6648e544dfe82..a0ce7b82a57a7 100644 --- a/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.js +++ b/tests/baselines/reference/objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.js @@ -17,6 +17,7 @@ f = a; a = f; //// [objectTypeWithCallSignatureHidingMembersOfFunctionAssignmentCompat.js] +"use strict"; f = i; i = f; f = a; diff --git a/tests/baselines/reference/objectTypeWithConstructSignatureAppearsToBeFunctionType.js b/tests/baselines/reference/objectTypeWithConstructSignatureAppearsToBeFunctionType.js index 989e2505c88d4..5a1247a16a6ca 100644 --- a/tests/baselines/reference/objectTypeWithConstructSignatureAppearsToBeFunctionType.js +++ b/tests/baselines/reference/objectTypeWithConstructSignatureAppearsToBeFunctionType.js @@ -21,6 +21,7 @@ var r4b: number = new b(); var r4c: (x: any, y?: any) => any = b.apply; //// [objectTypeWithConstructSignatureAppearsToBeFunctionType.js] +"use strict"; // no errors expected below var r2 = i(); var r2b = new i(); diff --git a/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfExtendedFunction.js b/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfExtendedFunction.js index 3d08339fbe7c5..74e06205b2514 100644 --- a/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfExtendedFunction.js +++ b/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfExtendedFunction.js @@ -32,6 +32,7 @@ var r2d = x.data; var r2e = x['hm']; // should be Object //// [objectTypeWithConstructSignatureHidingMembersOfExtendedFunction.js] +"use strict"; var i; var r1 = i.apply; var r1b = i.call; diff --git a/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfFunction.js b/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfFunction.js index f025f31af23d3..2b8ef70674fda 100644 --- a/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfFunction.js +++ b/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfFunction.js @@ -24,6 +24,7 @@ var r2c = x.arguments; //// [objectTypeWithConstructSignatureHidingMembersOfFunction.js] +"use strict"; var i; var r1 = i.apply; var r1b = i.call; diff --git a/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfFunctionAssignmentCompat.js b/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfFunctionAssignmentCompat.js index 3bcb1e76c19ea..be4917d73e44f 100644 --- a/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfFunctionAssignmentCompat.js +++ b/tests/baselines/reference/objectTypeWithConstructSignatureHidingMembersOfFunctionAssignmentCompat.js @@ -17,6 +17,7 @@ f = a; a = f; //// [objectTypeWithConstructSignatureHidingMembersOfFunctionAssignmentCompat.js] +"use strict"; f = i; i = f; f = a; diff --git a/tests/baselines/reference/objectTypeWithDuplicateNumericProperty.js b/tests/baselines/reference/objectTypeWithDuplicateNumericProperty.js index 75ebd255adefb..3938fc8105751 100644 --- a/tests/baselines/reference/objectTypeWithDuplicateNumericProperty.js +++ b/tests/baselines/reference/objectTypeWithDuplicateNumericProperty.js @@ -35,6 +35,7 @@ var b = { //// [objectTypeWithDuplicateNumericProperty.js] +"use strict"; // numeric properties must be distinct after a ToNumber operation // so the below are all errors var C = /** @class */ (function () { diff --git a/tests/baselines/reference/objectTypeWithNumericProperty.js b/tests/baselines/reference/objectTypeWithNumericProperty.js index 909085af14899..6c8f91eb7296d 100644 --- a/tests/baselines/reference/objectTypeWithNumericProperty.js +++ b/tests/baselines/reference/objectTypeWithNumericProperty.js @@ -46,6 +46,7 @@ var r3 = b['1']; var r4 = b['1.1']; //// [objectTypeWithNumericProperty.js] +"use strict"; // no errors here var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/objectTypeWithOptionalProperty1.js b/tests/baselines/reference/objectTypeWithOptionalProperty1.js index 068e35e20acab..aa53160ae3f31 100644 --- a/tests/baselines/reference/objectTypeWithOptionalProperty1.js +++ b/tests/baselines/reference/objectTypeWithOptionalProperty1.js @@ -6,6 +6,7 @@ } //// [objectTypeWithOptionalProperty1.js] +"use strict"; var b = { x: 1 // error }; diff --git a/tests/baselines/reference/objectTypeWithRecursiveWrappedProperty.js b/tests/baselines/reference/objectTypeWithRecursiveWrappedProperty.js index 7b2dce65b4e88..1c1a9b96ab8f1 100644 --- a/tests/baselines/reference/objectTypeWithRecursiveWrappedProperty.js +++ b/tests/baselines/reference/objectTypeWithRecursiveWrappedProperty.js @@ -16,6 +16,7 @@ list1 = list2; // ok list1 = list3; // error //// [objectTypeWithRecursiveWrappedProperty.js] +"use strict"; // Basic recursive type var List = /** @class */ (function () { function List() { diff --git a/tests/baselines/reference/objectTypeWithRecursiveWrappedProperty2.js b/tests/baselines/reference/objectTypeWithRecursiveWrappedProperty2.js index 6c78a29a717cd..2fd5e18e2fd5a 100644 --- a/tests/baselines/reference/objectTypeWithRecursiveWrappedProperty2.js +++ b/tests/baselines/reference/objectTypeWithRecursiveWrappedProperty2.js @@ -16,6 +16,7 @@ list1 = list2; // ok list1 = list3; // error //// [objectTypeWithRecursiveWrappedProperty2.js] +"use strict"; // Basic recursive type var List = /** @class */ (function () { function List() { diff --git a/tests/baselines/reference/objectTypeWithRecursiveWrappedPropertyCheckedNominally.js b/tests/baselines/reference/objectTypeWithRecursiveWrappedPropertyCheckedNominally.js index a64d0def82132..3c8a5b48e30ea 100644 --- a/tests/baselines/reference/objectTypeWithRecursiveWrappedPropertyCheckedNominally.js +++ b/tests/baselines/reference/objectTypeWithRecursiveWrappedPropertyCheckedNominally.js @@ -55,6 +55,7 @@ function foo2>(t: T, u: U) { } //// [objectTypeWithRecursiveWrappedPropertyCheckedNominally.js] +"use strict"; // Types with infinitely expanding recursive types are type checked nominally var List = /** @class */ (function () { function List() { diff --git a/tests/baselines/reference/objectTypeWithStringIndexerHidingObjectIndexer.js b/tests/baselines/reference/objectTypeWithStringIndexerHidingObjectIndexer.js index 95ff596fe0b42..c2ed08d1abc7f 100644 --- a/tests/baselines/reference/objectTypeWithStringIndexerHidingObjectIndexer.js +++ b/tests/baselines/reference/objectTypeWithStringIndexerHidingObjectIndexer.js @@ -34,6 +34,7 @@ var r4: string = o2['']; //// [objectTypeWithStringIndexerHidingObjectIndexer.js] +"use strict"; // object types can define string indexers that are more specific than the default 'any' that would be returned // no errors expected below var o = {}; diff --git a/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.js b/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.js index 530dc84165c7c..9ef0cd5fd7677 100644 --- a/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.js +++ b/tests/baselines/reference/objectTypeWithStringNamedNumericProperty.js @@ -129,6 +129,7 @@ var r13 = i[-01] //// [objectTypeWithStringNamedNumericProperty.js] +"use strict"; // string named numeric properties are legal and distinct when indexed by string values // indexed numerically the value is converted to a number // no errors expected below diff --git a/tests/baselines/reference/objectTypeWithStringNamedPropertyOfIllegalCharacters.js b/tests/baselines/reference/objectTypeWithStringNamedPropertyOfIllegalCharacters.js index 09c038269667c..f9bcd74577fac 100644 --- a/tests/baselines/reference/objectTypeWithStringNamedPropertyOfIllegalCharacters.js +++ b/tests/baselines/reference/objectTypeWithStringNamedPropertyOfIllegalCharacters.js @@ -56,6 +56,7 @@ var r4 = b["~!@#$%^&*()_+{}|:'<>?\/.,`"]; //// [objectTypeWithStringNamedPropertyOfIllegalCharacters.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/objectTypesIdentity.js b/tests/baselines/reference/objectTypesIdentity.js index 549463374ce07..c41834d521961 100644 --- a/tests/baselines/reference/objectTypesIdentity.js +++ b/tests/baselines/reference/objectTypesIdentity.js @@ -91,6 +91,7 @@ function foo14(x: typeof b); // error function foo14(x: any) { } //// [objectTypesIdentity.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentity2.js b/tests/baselines/reference/objectTypesIdentity2.js index 3e7bffe0ce33b..44f36645191ce 100644 --- a/tests/baselines/reference/objectTypesIdentity2.js +++ b/tests/baselines/reference/objectTypesIdentity2.js @@ -68,6 +68,7 @@ function foo14(x: typeof b); // ok function foo14(x: any) { } //// [objectTypesIdentity2.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignatures.js b/tests/baselines/reference/objectTypesIdentityWithCallSignatures.js index 7117f05de9cbd..b7c5a833054dd 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignatures.js +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignatures.js @@ -103,6 +103,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithCallSignatures.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignatures2.js b/tests/baselines/reference/objectTypesIdentityWithCallSignatures2.js index e4dfd90d7f204..cf3808f31f561 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignatures2.js +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignatures2.js @@ -103,6 +103,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithCallSignatures2.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignatures3.js b/tests/baselines/reference/objectTypesIdentityWithCallSignatures3.js index 2e9adbcd7509b..b9e7f97353d53 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignatures3.js +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignatures3.js @@ -42,6 +42,7 @@ function foo15(x: I2); // ok function foo15(x: any) { } //// [objectTypesIdentityWithCallSignatures3.js] +"use strict"; // object types are identical structurally var a; function foo2(x) { } diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts.js b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts.js index 83f9f354d2a96..727868c7ff416 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts.js +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts.js @@ -103,6 +103,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithCallSignaturesDifferingParamCounts.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts2.js b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts2.js index 703d64e9484f6..57dde22ea0ea2 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts2.js +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesDifferingParamCounts2.js @@ -46,6 +46,7 @@ function foo15(x: I2); // ok function foo15(x: any) { } //// [objectTypesIdentityWithCallSignaturesDifferingParamCounts2.js] +"use strict"; // object types are identical structurally var a; function foo2(x) { } diff --git a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesWithOverloads.js b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesWithOverloads.js index 759a616b7fc5f..0b535b1deccff 100644 --- a/tests/baselines/reference/objectTypesIdentityWithCallSignaturesWithOverloads.js +++ b/tests/baselines/reference/objectTypesIdentityWithCallSignaturesWithOverloads.js @@ -119,6 +119,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithCallSignaturesWithOverloads.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentityWithComplexConstraints.js b/tests/baselines/reference/objectTypesIdentityWithComplexConstraints.js index 4aef590b2517b..696f8cc221e55 100644 --- a/tests/baselines/reference/objectTypesIdentityWithComplexConstraints.js +++ b/tests/baselines/reference/objectTypesIdentityWithComplexConstraints.js @@ -17,4 +17,5 @@ function foo(x: B); // error after constraints above made illegal function foo(x: any) { } //// [objectTypesIdentityWithComplexConstraints.js] +"use strict"; function foo(x) { } diff --git a/tests/baselines/reference/objectTypesIdentityWithConstructSignatures.js b/tests/baselines/reference/objectTypesIdentityWithConstructSignatures.js index cde807d1f8e78..be473954b1e27 100644 --- a/tests/baselines/reference/objectTypesIdentityWithConstructSignatures.js +++ b/tests/baselines/reference/objectTypesIdentityWithConstructSignatures.js @@ -90,6 +90,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithConstructSignatures.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A(x) { diff --git a/tests/baselines/reference/objectTypesIdentityWithConstructSignatures2.js b/tests/baselines/reference/objectTypesIdentityWithConstructSignatures2.js index 3463fac66b7c2..dc5d41eb620a5 100644 --- a/tests/baselines/reference/objectTypesIdentityWithConstructSignatures2.js +++ b/tests/baselines/reference/objectTypesIdentityWithConstructSignatures2.js @@ -79,6 +79,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithConstructSignatures2.js] +"use strict"; // object types are identical structurally var B = /** @class */ (function () { function B(x) { diff --git a/tests/baselines/reference/objectTypesIdentityWithConstructSignaturesDifferingParamCounts.js b/tests/baselines/reference/objectTypesIdentityWithConstructSignaturesDifferingParamCounts.js index a84713c423191..5f72808ae52e1 100644 --- a/tests/baselines/reference/objectTypesIdentityWithConstructSignaturesDifferingParamCounts.js +++ b/tests/baselines/reference/objectTypesIdentityWithConstructSignaturesDifferingParamCounts.js @@ -79,6 +79,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithConstructSignaturesDifferingParamCounts.js] +"use strict"; // object types are identical structurally var B = /** @class */ (function () { function B(x, y) { diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures.js index 7ee41d19204db..cc0fc542e9112 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures.js @@ -103,6 +103,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignatures.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures2.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures2.js index b187ad581d157..b0072d6566f1d 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures2.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignatures2.js @@ -103,6 +103,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignatures2.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints.js index 1292642199848..f5b9c680b80f9 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints.js @@ -105,6 +105,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints2.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints2.js index d20334e50c63b..8298da2e2c068 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints2.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints2.js @@ -117,6 +117,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints2.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.js index f79b0499bfde6..01e7bb2e086b2 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.js @@ -126,6 +126,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignaturesDifferingByConstraints3.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType.js index f1b4c6c7c23a9..84ca373789b03 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType.js @@ -105,6 +105,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType2.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType2.js index 0d11a5af2f945..caeb67481c552 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType2.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType2.js @@ -105,6 +105,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignaturesDifferingByReturnType2.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts.js index bc64500616dea..7072d72235bc4 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts.js @@ -103,6 +103,7 @@ function foo15(x: C, B>); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts2.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts2.js index 09befe0ed6693..1fc9f6c281b75 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts2.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts2.js @@ -43,6 +43,7 @@ function foo15(x: I2); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterCounts2.js] +"use strict"; // object types are identical structurally var a; function foo1(x) { } diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.js index 77fed8e398bad..bfb3a05f546ea 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.js @@ -103,6 +103,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignaturesDifferingTypeParameterNames.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams.js index 9d3ec44e1362b..70eb1c30e0467 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams.js @@ -105,6 +105,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignaturesOptionalParams.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams2.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams2.js index 85451b6e3617d..71f8d36621f4c 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams2.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams2.js @@ -105,6 +105,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignaturesOptionalParams2.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams3.js b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams3.js index 2f9433c1e8018..493981de98b5c 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams3.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericCallSignaturesOptionalParams3.js @@ -105,6 +105,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericCallSignaturesOptionalParams3.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints.js b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints.js index 47e7ac890b957..de50d6d690775 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints.js @@ -78,6 +78,7 @@ function foo14(x: any) { } //// [objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints2.js b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints2.js index 81aea417c7689..6034df009340e 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints2.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints2.js @@ -89,6 +89,7 @@ function foo14(x: typeof b); // ok function foo14(x: any) { } //// [objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints2.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.js b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.js index f93d72cec4699..89f5117f8f56b 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.js @@ -98,6 +98,7 @@ function foo14(x: typeof b); // ok function foo14(x: any) { } //// [objectTypesIdentityWithGenericConstructSignaturesDifferingByConstraints3.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType.js b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType.js index f985d39308942..103c3b2ce4c9f 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType.js @@ -85,6 +85,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType2.js b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType2.js index 3f9db2d9a3108..e82898c8f89a5 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType2.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType2.js @@ -81,6 +81,7 @@ function foo15(x: C); // ok function foo15(x: any) { } //// [objectTypesIdentityWithGenericConstructSignaturesDifferingByReturnType2.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterCounts.js b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterCounts.js index 05cdf1baad7b2..75f4362a79392 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterCounts.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterCounts.js @@ -75,6 +75,7 @@ function foo14(x: typeof b); // ok function foo14(x: any) { } //// [objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterCounts.js] +"use strict"; // object types are identical structurally var B = /** @class */ (function () { function B(x) { diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterNames.js b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterNames.js index 9d517f3b003e7..ef8d229936a9f 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterNames.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterNames.js @@ -75,6 +75,7 @@ function foo14(x: typeof b); // ok function foo14(x: any) { } //// [objectTypesIdentityWithGenericConstructSignaturesDifferingTypeParameterNames.js] +"use strict"; // object types are identical structurally var B = /** @class */ (function () { function B(x) { diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams.js b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams.js index 8ab195f28ffe3..420d312ea3e62 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams.js @@ -77,6 +77,7 @@ function foo14(x: typeof b); // ok function foo14(x: any) { } //// [objectTypesIdentityWithGenericConstructSignaturesOptionalParams.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams2.js b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams2.js index a2ef38900e42a..e642236ec404a 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams2.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams2.js @@ -77,6 +77,7 @@ function foo14(x: typeof b); // ok function foo14(x: any) { } //// [objectTypesIdentityWithGenericConstructSignaturesOptionalParams2.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.js b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.js index 82f0250bfd6ec..b78e539ae2769 100644 --- a/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.js +++ b/tests/baselines/reference/objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.js @@ -77,6 +77,7 @@ function foo14(x: typeof b); // ok function foo14(x: any) { } //// [objectTypesIdentityWithGenericConstructSignaturesOptionalParams3.js] +"use strict"; // Two call or construct signatures are considered identical when they have the same number of type parameters and, considering those // parameters pairwise identical, have identical type parameter constraints, identical number of parameters with identical kind(required, // optional or rest) and types, and identical return types. diff --git a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers1.js b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers1.js index 50d17add0ad7b..aeca50cdd246f 100644 --- a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers1.js +++ b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers1.js @@ -125,6 +125,7 @@ function foo16(x: any) { } //// [objectTypesIdentityWithNumericIndexers1.js] +"use strict"; // object types are identical structurally var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers2.js b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers2.js index 322fc5e1a4f1f..33ad461fa9089 100644 --- a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers2.js +++ b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers2.js @@ -128,6 +128,7 @@ function foo16(x: any) { } //// [objectTypesIdentityWithNumericIndexers2.js] +"use strict"; // object types are identical structurally var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers3.js b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers3.js index 4c64d0998e246..8ec1920cd7d30 100644 --- a/tests/baselines/reference/objectTypesIdentityWithNumericIndexers3.js +++ b/tests/baselines/reference/objectTypesIdentityWithNumericIndexers3.js @@ -125,6 +125,7 @@ function foo16(x: any) { } //// [objectTypesIdentityWithNumericIndexers3.js] +"use strict"; // object types are identical structurally var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/objectTypesIdentityWithOptionality.js b/tests/baselines/reference/objectTypesIdentityWithOptionality.js index a29a3fbf2a533..102c8a82fff29 100644 --- a/tests/baselines/reference/objectTypesIdentityWithOptionality.js +++ b/tests/baselines/reference/objectTypesIdentityWithOptionality.js @@ -59,6 +59,7 @@ function foo14(x: typeof b); // ok function foo14(x: any) { } //// [objectTypesIdentityWithOptionality.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentityWithPrivates.js b/tests/baselines/reference/objectTypesIdentityWithPrivates.js index efd78c55751f4..f76358c0b6932 100644 --- a/tests/baselines/reference/objectTypesIdentityWithPrivates.js +++ b/tests/baselines/reference/objectTypesIdentityWithPrivates.js @@ -123,6 +123,7 @@ function foo16(x: any) { } //// [objectTypesIdentityWithPrivates.js] +"use strict"; // object types are identical structurally var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/objectTypesIdentityWithPrivates2.js b/tests/baselines/reference/objectTypesIdentityWithPrivates2.js index 29d783254f6cd..e0a2815ab9c7e 100644 --- a/tests/baselines/reference/objectTypesIdentityWithPrivates2.js +++ b/tests/baselines/reference/objectTypesIdentityWithPrivates2.js @@ -41,6 +41,7 @@ function foo6(x: any): any { } //// [objectTypesIdentityWithPrivates2.js] +"use strict"; // object types are identical structurally var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/objectTypesIdentityWithPrivates3.js b/tests/baselines/reference/objectTypesIdentityWithPrivates3.js index 17223da04f9ba..93d787ecfac05 100644 --- a/tests/baselines/reference/objectTypesIdentityWithPrivates3.js +++ b/tests/baselines/reference/objectTypesIdentityWithPrivates3.js @@ -28,6 +28,7 @@ var c3: C3; c3; // Should fail (private x originates in the same declaration, but different types) //// [objectTypesIdentityWithPrivates3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/objectTypesIdentityWithPublics.js b/tests/baselines/reference/objectTypesIdentityWithPublics.js index 70a2d27066052..356410438e8ee 100644 --- a/tests/baselines/reference/objectTypesIdentityWithPublics.js +++ b/tests/baselines/reference/objectTypesIdentityWithPublics.js @@ -91,6 +91,7 @@ function foo14(x: typeof b); // error function foo14(x: any) { } //// [objectTypesIdentityWithPublics.js] +"use strict"; // object types are identical structurally var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/objectTypesIdentityWithStringIndexers.js b/tests/baselines/reference/objectTypesIdentityWithStringIndexers.js index da9760fbf31de..904e771cc11fe 100644 --- a/tests/baselines/reference/objectTypesIdentityWithStringIndexers.js +++ b/tests/baselines/reference/objectTypesIdentityWithStringIndexers.js @@ -125,6 +125,7 @@ function foo16(x: any) { } //// [objectTypesIdentityWithStringIndexers.js] +"use strict"; // object types are identical structurally var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/objectTypesIdentityWithStringIndexers2.js b/tests/baselines/reference/objectTypesIdentityWithStringIndexers2.js index 4eddffa012c75..a2206531f560d 100644 --- a/tests/baselines/reference/objectTypesIdentityWithStringIndexers2.js +++ b/tests/baselines/reference/objectTypesIdentityWithStringIndexers2.js @@ -128,6 +128,7 @@ function foo16(x: any) { } //// [objectTypesIdentityWithStringIndexers2.js] +"use strict"; // object types are identical structurally var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/objectTypesWithOptionalProperties.js b/tests/baselines/reference/objectTypesWithOptionalProperties.js index a1dc055168eb3..5339433397faa 100644 --- a/tests/baselines/reference/objectTypesWithOptionalProperties.js +++ b/tests/baselines/reference/objectTypesWithOptionalProperties.js @@ -28,6 +28,7 @@ var b = { } //// [objectTypesWithOptionalProperties.js] +"use strict"; // Basic uses of optional properties var a; var C = /** @class */ (function () { diff --git a/tests/baselines/reference/objectTypesWithOptionalProperties2.js b/tests/baselines/reference/objectTypesWithOptionalProperties2.js index 3d19fc452ef11..90c2b434f769d 100644 --- a/tests/baselines/reference/objectTypesWithOptionalProperties2.js +++ b/tests/baselines/reference/objectTypesWithOptionalProperties2.js @@ -29,6 +29,7 @@ var b = { } //// [objectTypesWithOptionalProperties2.js] +"use strict"; // Illegal attempts to define optional methods var a; var C = /** @class */ (function () { diff --git a/tests/baselines/reference/objectTypesWithPredefinedTypesAsName.js b/tests/baselines/reference/objectTypesWithPredefinedTypesAsName.js index 485bd17d5cc4f..8c470ab769721 100644 --- a/tests/baselines/reference/objectTypesWithPredefinedTypesAsName.js +++ b/tests/baselines/reference/objectTypesWithPredefinedTypesAsName.js @@ -16,6 +16,7 @@ class string { } //// [objectTypesWithPredefinedTypesAsName.js] +"use strict"; // it is an error to use a predefined type as a type name var any = /** @class */ (function () { function any() { diff --git a/tests/baselines/reference/objectTypesWithPredefinedTypesAsName2.js b/tests/baselines/reference/objectTypesWithPredefinedTypesAsName2.js index 970a3fc1f8eda..a93aa55bcc240 100644 --- a/tests/baselines/reference/objectTypesWithPredefinedTypesAsName2.js +++ b/tests/baselines/reference/objectTypesWithPredefinedTypesAsName2.js @@ -6,6 +6,7 @@ class void {} // parse error unlike the others //// [objectTypesWithPredefinedTypesAsName2.js] +"use strict"; // it is an error to use a predefined type as a type name var default_1 = /** @class */ (function () { function default_1() { diff --git a/tests/baselines/reference/octalIntegerLiteral.js b/tests/baselines/reference/octalIntegerLiteral.js index 45c4e2c905691..6c686e95d6f2b 100644 --- a/tests/baselines/reference/octalIntegerLiteral.js +++ b/tests/baselines/reference/octalIntegerLiteral.js @@ -43,6 +43,7 @@ obj2["5.462437423415177e+244"]; // boolean obj2["Infinity"]; // any //// [octalIntegerLiteral.js] +"use strict"; var oct1 = 19230; var oct2 = 19230; var oct3 = Infinity; diff --git a/tests/baselines/reference/octalIntegerLiteralES6.js b/tests/baselines/reference/octalIntegerLiteralES6.js index 702904caae191..91fc13b61db95 100644 --- a/tests/baselines/reference/octalIntegerLiteralES6.js +++ b/tests/baselines/reference/octalIntegerLiteralES6.js @@ -43,6 +43,7 @@ obj2["5.462437423415177e+244"]; // boolean obj2["Infinity"]; // any //// [octalIntegerLiteralES6.js] +"use strict"; var oct1 = 0o45436; var oct2 = 0O45436; var oct3 = 0o7777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777; diff --git a/tests/baselines/reference/octalIntegerLiteralError.js b/tests/baselines/reference/octalIntegerLiteralError.js index 1102d4e41f876..fa5697271daee 100644 --- a/tests/baselines/reference/octalIntegerLiteralError.js +++ b/tests/baselines/reference/octalIntegerLiteralError.js @@ -13,6 +13,7 @@ var obj1 = { //// [octalIntegerLiteralError.js] +"use strict"; // error var oct1 = 5852; 823; diff --git a/tests/baselines/reference/octalLiteralAndEscapeSequence.js b/tests/baselines/reference/octalLiteralAndEscapeSequence.js index d2b3310f753be..d5cbe67c9ddd1 100644 --- a/tests/baselines/reference/octalLiteralAndEscapeSequence.js +++ b/tests/baselines/reference/octalLiteralAndEscapeSequence.js @@ -122,6 +122,7 @@ //// [octalLiteralAndEscapeSequence.js] +"use strict"; 0; 5; 0; diff --git a/tests/baselines/reference/operationsAvailableOnPromisedType.js b/tests/baselines/reference/operationsAvailableOnPromisedType.js index c84b83aed12d3..c4c13bb49927d 100644 --- a/tests/baselines/reference/operationsAvailableOnPromisedType.js +++ b/tests/baselines/reference/operationsAvailableOnPromisedType.js @@ -32,6 +32,7 @@ async function fn( //// [operationsAvailableOnPromisedType.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/operatorAddNullUndefined.js b/tests/baselines/reference/operatorAddNullUndefined.js index cb4d51f18ee68..e8f42f5845041 100644 --- a/tests/baselines/reference/operatorAddNullUndefined.js +++ b/tests/baselines/reference/operatorAddNullUndefined.js @@ -20,6 +20,7 @@ var x15 = E.x + null var x16 = E.x + undefined //// [operatorAddNullUndefined.js] +"use strict"; var E; (function (E) { E[E["x"] = 0] = "x"; diff --git a/tests/baselines/reference/operatorsAndIntersectionTypes.js b/tests/baselines/reference/operatorsAndIntersectionTypes.js index e9dbe6827a41c..f3f01a7a61140 100644 --- a/tests/baselines/reference/operatorsAndIntersectionTypes.js +++ b/tests/baselines/reference/operatorsAndIntersectionTypes.js @@ -34,6 +34,7 @@ const b4 = serialNo === serialNo; //// [operatorsAndIntersectionTypes.js] +"use strict"; function createGuid() { return "21EC2020-3AEA-4069-A2DD-08002B30309D"; } diff --git a/tests/baselines/reference/optionalAccessorsInInterface1.js b/tests/baselines/reference/optionalAccessorsInInterface1.js index adf885eeab109..47e27f40b88ce 100644 --- a/tests/baselines/reference/optionalAccessorsInInterface1.js +++ b/tests/baselines/reference/optionalAccessorsInInterface1.js @@ -19,5 +19,6 @@ defineMyProperty2({}, "name", { get: function () { return 5; } }); //// [optionalAccessorsInInterface1.js] +"use strict"; defineMyProperty({}, "name", { get: function () { return 5; } }); defineMyProperty2({}, "name", { get: function () { return 5; } }); diff --git a/tests/baselines/reference/optionalArgsWithDefaultValues.js b/tests/baselines/reference/optionalArgsWithDefaultValues.js index fd49073b40022..bca2cbbcf1407 100644 --- a/tests/baselines/reference/optionalArgsWithDefaultValues.js +++ b/tests/baselines/reference/optionalArgsWithDefaultValues.js @@ -12,6 +12,7 @@ var a = (x?=0) => { return 1; }; var b = (x, y?:number = 2) => { x; }; //// [optionalArgsWithDefaultValues.js] +"use strict"; function foo(x, y, z) { if (y === void 0) { y = false; } if (z === void 0) { z = 0; } diff --git a/tests/baselines/reference/optionalBindingParameters1.js b/tests/baselines/reference/optionalBindingParameters1.js index fdbdf7cc918f4..d1b18a316dc19 100644 --- a/tests/baselines/reference/optionalBindingParameters1.js +++ b/tests/baselines/reference/optionalBindingParameters1.js @@ -10,6 +10,7 @@ foo(["", 0, false]); foo([false, 0, ""]); //// [optionalBindingParameters1.js] +"use strict"; function foo(_a) { var x = _a[0], y = _a[1], z = _a[2]; } diff --git a/tests/baselines/reference/optionalBindingParameters2.js b/tests/baselines/reference/optionalBindingParameters2.js index 93921b37cc394..d4c932f1b42bc 100644 --- a/tests/baselines/reference/optionalBindingParameters2.js +++ b/tests/baselines/reference/optionalBindingParameters2.js @@ -10,6 +10,7 @@ foo({ x: "", y: 0, z: false }); foo({ x: false, y: 0, z: "" }); //// [optionalBindingParameters2.js] +"use strict"; function foo(_a) { var x = _a.x, y = _a.y, z = _a.z; } diff --git a/tests/baselines/reference/optionalBindingParametersInOverloads1.js b/tests/baselines/reference/optionalBindingParametersInOverloads1.js index a4cd1508ba841..5a86dcf36f6ce 100644 --- a/tests/baselines/reference/optionalBindingParametersInOverloads1.js +++ b/tests/baselines/reference/optionalBindingParametersInOverloads1.js @@ -11,6 +11,7 @@ foo(["", 0, false]); foo([false, 0, ""]); //// [optionalBindingParametersInOverloads1.js] +"use strict"; function foo() { var rest = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/optionalBindingParametersInOverloads2.js b/tests/baselines/reference/optionalBindingParametersInOverloads2.js index 5aa1e71d1b5a7..380721ad18e2d 100644 --- a/tests/baselines/reference/optionalBindingParametersInOverloads2.js +++ b/tests/baselines/reference/optionalBindingParametersInOverloads2.js @@ -11,6 +11,7 @@ foo({ x: "", y: 0, z: false }); foo({ x: false, y: 0, z: "" }); //// [optionalBindingParametersInOverloads2.js] +"use strict"; function foo() { var rest = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/optionalChainWithInstantiationExpression1(target=es2019).js b/tests/baselines/reference/optionalChainWithInstantiationExpression1(target=es2019).js index 1a8c60a8aac2a..fa63f8353e3d8 100644 --- a/tests/baselines/reference/optionalChainWithInstantiationExpression1(target=es2019).js +++ b/tests/baselines/reference/optionalChainWithInstantiationExpression1(target=es2019).js @@ -18,5 +18,6 @@ a?.b.d //// [optionalChainWithInstantiationExpression1.js] +"use strict"; (a === null || a === void 0 ? void 0 : a.b).d; a === null || a === void 0 ? void 0 : a.b.d; diff --git a/tests/baselines/reference/optionalChainWithInstantiationExpression1(target=es2020).js b/tests/baselines/reference/optionalChainWithInstantiationExpression1(target=es2020).js index cae90bc49e82e..46160d3f0f92a 100644 --- a/tests/baselines/reference/optionalChainWithInstantiationExpression1(target=es2020).js +++ b/tests/baselines/reference/optionalChainWithInstantiationExpression1(target=es2020).js @@ -18,5 +18,6 @@ a?.b.d //// [optionalChainWithInstantiationExpression1.js] +"use strict"; (a?.b).d; a?.b.d; diff --git a/tests/baselines/reference/optionalChainWithInstantiationExpression2(target=es2019).js b/tests/baselines/reference/optionalChainWithInstantiationExpression2(target=es2019).js index a8c892f506f31..26f25ebb6457a 100644 --- a/tests/baselines/reference/optionalChainWithInstantiationExpression2(target=es2019).js +++ b/tests/baselines/reference/optionalChainWithInstantiationExpression2(target=es2019).js @@ -16,6 +16,7 @@ a?.(); //// [optionalChainWithInstantiationExpression2.js] +"use strict"; var _a; a === null || a === void 0 ? void 0 : a(); (_a = (a)) === null || _a === void 0 ? void 0 : _a(); diff --git a/tests/baselines/reference/optionalChainWithInstantiationExpression2(target=es2020).js b/tests/baselines/reference/optionalChainWithInstantiationExpression2(target=es2020).js index bbbac21bd4ee0..7622b2e84abcc 100644 --- a/tests/baselines/reference/optionalChainWithInstantiationExpression2(target=es2020).js +++ b/tests/baselines/reference/optionalChainWithInstantiationExpression2(target=es2020).js @@ -16,5 +16,6 @@ a?.(); //// [optionalChainWithInstantiationExpression2.js] +"use strict"; a?.(); a?.(); diff --git a/tests/baselines/reference/optionalChainingInArrow.js b/tests/baselines/reference/optionalChainingInArrow.js index f87942fd5774c..cb756d524ddab 100644 --- a/tests/baselines/reference/optionalChainingInArrow.js +++ b/tests/baselines/reference/optionalChainingInArrow.js @@ -8,6 +8,7 @@ const test = (names: string[]) => //// [optionalChainingInArrow.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/41814 var test = function (names) { // single-line comment diff --git a/tests/baselines/reference/optionalChainingInLoop.js b/tests/baselines/reference/optionalChainingInLoop.js index d0f6c7ed0ca12..58c2011419c7d 100644 --- a/tests/baselines/reference/optionalChainingInLoop.js +++ b/tests/baselines/reference/optionalChainingInLoop.js @@ -11,6 +11,7 @@ for (const comp of list) { } //// [optionalChainingInLoop.js] +"use strict"; var _a; // https://github.com/microsoft/TypeScript/issues/40643 var list = []; diff --git a/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es2015).js b/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es2015).js index 4deb650441990..621e500c223de 100644 --- a/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es2015).js +++ b/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es2015).js @@ -6,6 +6,7 @@ const a = (): { d: string } | undefined => undefined; (({ [a()?.d]: c = "" }) => {})(); //// [optionalChainingInParameterBindingPattern.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 const a = () => undefined; ((_a) => { var _b; var { [(_b = a()) === null || _b === void 0 ? void 0 : _b.d]: c = "" } = _a; })(); diff --git a/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es5).js b/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es5).js index b211f3b7ee20f..a59f709a896d0 100644 --- a/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es5).js +++ b/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=es5).js @@ -6,6 +6,7 @@ const a = (): { d: string } | undefined => undefined; (({ [a()?.d]: c = "" }) => {})(); //// [optionalChainingInParameterBindingPattern.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 var a = function () { return undefined; }; (function (_a) { diff --git a/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=esnext).js b/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=esnext).js index 7b41f8c7baa20..89541794988d4 100644 --- a/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=esnext).js +++ b/tests/baselines/reference/optionalChainingInParameterBindingPattern(target=esnext).js @@ -6,6 +6,7 @@ const a = (): { d: string } | undefined => undefined; (({ [a()?.d]: c = "" }) => {})(); //// [optionalChainingInParameterBindingPattern.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 const a = () => undefined; (({ [a()?.d]: c = "" }) => { })(); diff --git a/tests/baselines/reference/optionalChainingInParameterInitializer(target=es2015).js b/tests/baselines/reference/optionalChainingInParameterInitializer(target=es2015).js index 65f2d01613102..1bf8f5b5086af 100644 --- a/tests/baselines/reference/optionalChainingInParameterInitializer(target=es2015).js +++ b/tests/baselines/reference/optionalChainingInParameterInitializer(target=es2015).js @@ -6,6 +6,7 @@ const a = (): { d: string } | undefined => undefined; ((b = a()?.d) => {})(); //// [optionalChainingInParameterInitializer.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 const a = () => undefined; ((b) => { var _a; if (b === void 0) { b = (_a = a()) === null || _a === void 0 ? void 0 : _a.d; } })(); diff --git a/tests/baselines/reference/optionalChainingInParameterInitializer(target=es5).js b/tests/baselines/reference/optionalChainingInParameterInitializer(target=es5).js index b587a784ee29b..99f92f73ee90c 100644 --- a/tests/baselines/reference/optionalChainingInParameterInitializer(target=es5).js +++ b/tests/baselines/reference/optionalChainingInParameterInitializer(target=es5).js @@ -6,6 +6,7 @@ const a = (): { d: string } | undefined => undefined; ((b = a()?.d) => {})(); //// [optionalChainingInParameterInitializer.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 var a = function () { return undefined; }; (function (b) { diff --git a/tests/baselines/reference/optionalChainingInParameterInitializer(target=esnext).js b/tests/baselines/reference/optionalChainingInParameterInitializer(target=esnext).js index 0dd40a273b15f..dc3c421ee81d5 100644 --- a/tests/baselines/reference/optionalChainingInParameterInitializer(target=esnext).js +++ b/tests/baselines/reference/optionalChainingInParameterInitializer(target=esnext).js @@ -6,6 +6,7 @@ const a = (): { d: string } | undefined => undefined; ((b = a()?.d) => {})(); //// [optionalChainingInParameterInitializer.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/36295 const a = () => undefined; ((b = a()?.d) => { })(); diff --git a/tests/baselines/reference/optionalChainingInTypeAssertions(target=es2015).js b/tests/baselines/reference/optionalChainingInTypeAssertions(target=es2015).js index e083fd34ad207..478362f98dbb1 100644 --- a/tests/baselines/reference/optionalChainingInTypeAssertions(target=es2015).js +++ b/tests/baselines/reference/optionalChainingInTypeAssertions(target=es2015).js @@ -20,6 +20,7 @@ const foo = new Foo(); (foo?.["m"]).length; //// [optionalChainingInTypeAssertions.js] +"use strict"; var _a, _b, _c, _d; class Foo { m() { } diff --git a/tests/baselines/reference/optionalChainingInTypeAssertions(target=esnext).js b/tests/baselines/reference/optionalChainingInTypeAssertions(target=esnext).js index 097243928cb6f..6e4002e322ca4 100644 --- a/tests/baselines/reference/optionalChainingInTypeAssertions(target=esnext).js +++ b/tests/baselines/reference/optionalChainingInTypeAssertions(target=esnext).js @@ -20,6 +20,7 @@ const foo = new Foo(); (foo?.["m"]).length; //// [optionalChainingInTypeAssertions.js] +"use strict"; class Foo { m() { } } diff --git a/tests/baselines/reference/optionalChainingInference.js b/tests/baselines/reference/optionalChainingInference.js index f30bcff5e599a..f17f1c7827ae1 100644 --- a/tests/baselines/reference/optionalChainingInference.js +++ b/tests/baselines/reference/optionalChainingInference.js @@ -35,6 +35,7 @@ const v8: number = unbox(b8); //// [optionalChainingInference.js] +"use strict"; var b1 = { value: su === null || su === void 0 ? void 0 : su.length }; var v1 = unbox(b1); var b2 = { value: su === null || su === void 0 ? void 0 : su.length }; diff --git a/tests/baselines/reference/optionalConstructorArgInSuper.js b/tests/baselines/reference/optionalConstructorArgInSuper.js index bd60c68bb05e3..28ca55113f1b6 100644 --- a/tests/baselines/reference/optionalConstructorArgInSuper.js +++ b/tests/baselines/reference/optionalConstructorArgInSuper.js @@ -13,6 +13,7 @@ d2.foo(); //// [optionalConstructorArgInSuper.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/optionalFunctionArgAssignability.js b/tests/baselines/reference/optionalFunctionArgAssignability.js index 1346366c6c6ac..d5b3d473ec68e 100644 --- a/tests/baselines/reference/optionalFunctionArgAssignability.js +++ b/tests/baselines/reference/optionalFunctionArgAssignability.js @@ -11,6 +11,7 @@ a = b; // error because number is not assignable to string //// [optionalFunctionArgAssignability.js] +"use strict"; var a = function then(onFulfill, onReject) { return null; }; var b = function then(onFulFill, onReject) { return null; }; a = b; // error because number is not assignable to string diff --git a/tests/baselines/reference/optionalMethod.js b/tests/baselines/reference/optionalMethod.js index 4879584320eb5..fd9fe2f16de04 100644 --- a/tests/baselines/reference/optionalMethod.js +++ b/tests/baselines/reference/optionalMethod.js @@ -7,6 +7,7 @@ class Base { //// [optionalMethod.js] +"use strict"; class Base { method() { } } diff --git a/tests/baselines/reference/optionalMethodDeclarations(target=es2016).js b/tests/baselines/reference/optionalMethodDeclarations(target=es2016).js index 62608b7c19895..dd7f63ccd20dc 100644 --- a/tests/baselines/reference/optionalMethodDeclarations(target=es2016).js +++ b/tests/baselines/reference/optionalMethodDeclarations(target=es2016).js @@ -8,6 +8,7 @@ class C { } //// [optionalMethodDeclarations.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/34952#issuecomment-552025027 class C { // ? should be removed in emit diff --git a/tests/baselines/reference/optionalMethodDeclarations(target=esnext).js b/tests/baselines/reference/optionalMethodDeclarations(target=esnext).js index 62608b7c19895..dd7f63ccd20dc 100644 --- a/tests/baselines/reference/optionalMethodDeclarations(target=esnext).js +++ b/tests/baselines/reference/optionalMethodDeclarations(target=esnext).js @@ -8,6 +8,7 @@ class C { } //// [optionalMethodDeclarations.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/34952#issuecomment-552025027 class C { // ? should be removed in emit diff --git a/tests/baselines/reference/optionalMethods.js b/tests/baselines/reference/optionalMethods.js index c621119f5a591..eb7cc47ba7ec3 100644 --- a/tests/baselines/reference/optionalMethods.js +++ b/tests/baselines/reference/optionalMethods.js @@ -59,6 +59,7 @@ class Derived extends Base { //// [optionalMethods.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/optionalParamArgsTest.js b/tests/baselines/reference/optionalParamArgsTest.js index c55ce361a45d0..e16369bd094e4 100644 --- a/tests/baselines/reference/optionalParamArgsTest.js +++ b/tests/baselines/reference/optionalParamArgsTest.js @@ -126,6 +126,7 @@ fnOpt2(1, [2, 3], [1], true); //// [optionalParamArgsTest.js] +"use strict"; // Optional parameter and default argument tests var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/optionalParamAssignmentCompat.js b/tests/baselines/reference/optionalParamAssignmentCompat.js index a6ef2325f3be0..4a056e165bfab 100644 --- a/tests/baselines/reference/optionalParamAssignmentCompat.js +++ b/tests/baselines/reference/optionalParamAssignmentCompat.js @@ -14,5 +14,6 @@ var d: I1 = i2.m1; // should error //// [optionalParamAssignmentCompat.js] +"use strict"; var c = i2.p1; // should be ok var d = i2.m1; // should error diff --git a/tests/baselines/reference/optionalParamInOverride.js b/tests/baselines/reference/optionalParamInOverride.js index 30026b27b1183..586c42cdf9b2b 100644 --- a/tests/baselines/reference/optionalParamInOverride.js +++ b/tests/baselines/reference/optionalParamInOverride.js @@ -10,6 +10,7 @@ class Y extends Z { //// [optionalParamInOverride.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/optionalParamReferencingOtherParams1.js b/tests/baselines/reference/optionalParamReferencingOtherParams1.js index 835b829fbd93e..c70fc1d214bb4 100644 --- a/tests/baselines/reference/optionalParamReferencingOtherParams1.js +++ b/tests/baselines/reference/optionalParamReferencingOtherParams1.js @@ -6,6 +6,7 @@ function strange(x: number, y = x * 1, z = x + y) { } //// [optionalParamReferencingOtherParams1.js] +"use strict"; function strange(x, y, z) { if (y === void 0) { y = x * 1; } if (z === void 0) { z = x + y; } diff --git a/tests/baselines/reference/optionalParamReferencingOtherParams2.js b/tests/baselines/reference/optionalParamReferencingOtherParams2.js index dc14a0deb1883..96c109eede035 100644 --- a/tests/baselines/reference/optionalParamReferencingOtherParams2.js +++ b/tests/baselines/reference/optionalParamReferencingOtherParams2.js @@ -8,6 +8,7 @@ function strange(x = a, y = b) { } //// [optionalParamReferencingOtherParams2.js] +"use strict"; var a = 1; function strange(x, y) { if (x === void 0) { x = a; } diff --git a/tests/baselines/reference/optionalParamReferencingOtherParams3.js b/tests/baselines/reference/optionalParamReferencingOtherParams3.js index a3167dbb209e2..23a918b3a35e0 100644 --- a/tests/baselines/reference/optionalParamReferencingOtherParams3.js +++ b/tests/baselines/reference/optionalParamReferencingOtherParams3.js @@ -7,6 +7,7 @@ function right(a = b, b = a) { } //// [optionalParamReferencingOtherParams3.js] +"use strict"; function right(a, b) { if (a === void 0) { a = b; } if (b === void 0) { b = a; } diff --git a/tests/baselines/reference/optionalParamTypeComparison.js b/tests/baselines/reference/optionalParamTypeComparison.js index 558a057b99feb..8616b8de313ac 100644 --- a/tests/baselines/reference/optionalParamTypeComparison.js +++ b/tests/baselines/reference/optionalParamTypeComparison.js @@ -8,5 +8,6 @@ f = g; g = f; //// [optionalParamTypeComparison.js] +"use strict"; f = g; g = f; diff --git a/tests/baselines/reference/optionalParameterInDestructuringWithInitializer.js b/tests/baselines/reference/optionalParameterInDestructuringWithInitializer.js index 11e105f7364b0..6d596c216d354 100644 --- a/tests/baselines/reference/optionalParameterInDestructuringWithInitializer.js +++ b/tests/baselines/reference/optionalParameterInDestructuringWithInitializer.js @@ -62,6 +62,7 @@ performFoo2(); //// [optionalParameterInDestructuringWithInitializer.js] +"use strict"; // https://github.com/Microsoft/TypeScript/issues/17080 function func1(_a) { var _b = _a === void 0 ? { a: 1, b: 2 } : _a, a = _b.a, b = _b.b; diff --git a/tests/baselines/reference/optionalParameterProperty.js b/tests/baselines/reference/optionalParameterProperty.js index 43589fcd22e86..6dbb4cbc8cb5d 100644 --- a/tests/baselines/reference/optionalParameterProperty.js +++ b/tests/baselines/reference/optionalParameterProperty.js @@ -13,6 +13,7 @@ class D extends C { //// [optionalParameterProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/optionalParameterRetainsNull.js b/tests/baselines/reference/optionalParameterRetainsNull.js index a2562a76fce8f..c94e6f182e3aa 100644 --- a/tests/baselines/reference/optionalParameterRetainsNull.js +++ b/tests/baselines/reference/optionalParameterRetainsNull.js @@ -10,6 +10,7 @@ a.test("bar", null); // ok, null is assignable to number | null | undefined //// [optionalParameterRetainsNull.js] +"use strict"; var a = { test: function (a, b) { } }; diff --git a/tests/baselines/reference/optionalParamterAndVariableDeclaration.js b/tests/baselines/reference/optionalParamterAndVariableDeclaration.js index 589846adc1508..2e8591639ba36 100644 --- a/tests/baselines/reference/optionalParamterAndVariableDeclaration.js +++ b/tests/baselines/reference/optionalParamterAndVariableDeclaration.js @@ -9,6 +9,7 @@ class C { //// [optionalParamterAndVariableDeclaration.js] +"use strict"; var C = /** @class */ (function () { function C(options) { var options = (options || 0); diff --git a/tests/baselines/reference/optionalParamterAndVariableDeclaration2.js b/tests/baselines/reference/optionalParamterAndVariableDeclaration2.js index b103c10022d72..f63a4c0c7dc1f 100644 --- a/tests/baselines/reference/optionalParamterAndVariableDeclaration2.js +++ b/tests/baselines/reference/optionalParamterAndVariableDeclaration2.js @@ -9,6 +9,7 @@ class C { //// [optionalParamterAndVariableDeclaration2.js] +"use strict"; var C = /** @class */ (function () { function C(options) { var options = (options || 0); diff --git a/tests/baselines/reference/optionalProperties01.js b/tests/baselines/reference/optionalProperties01.js index 60d021337463d..c80a14bfd97e8 100644 --- a/tests/baselines/reference/optionalProperties01.js +++ b/tests/baselines/reference/optionalProperties01.js @@ -12,6 +12,7 @@ const foo2 = { required1: "hello", optional: "bar" } as Foo; //// [optionalProperties01.js] +"use strict"; var foo1 = { required1: "hello" }; var foo2 = { required1: "hello", optional: "bar" }; diff --git a/tests/baselines/reference/optionalProperties02.js b/tests/baselines/reference/optionalProperties02.js index a559caf8e452e..11b690b1f4d8e 100644 --- a/tests/baselines/reference/optionalProperties02.js +++ b/tests/baselines/reference/optionalProperties02.js @@ -9,6 +9,7 @@ interface Foo { { a: undefined }; //// [optionalProperties02.js] +"use strict"; ({ a: undefined }); diff --git a/tests/baselines/reference/optionalPropertiesInClasses.js b/tests/baselines/reference/optionalPropertiesInClasses.js index 0ea88835f1ec5..de5e7fc0a3daa 100644 --- a/tests/baselines/reference/optionalPropertiesInClasses.js +++ b/tests/baselines/reference/optionalPropertiesInClasses.js @@ -20,6 +20,7 @@ class C3 implements ifoo { } //// [optionalPropertiesInClasses.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/optionalPropertiesSyntax.js b/tests/baselines/reference/optionalPropertiesSyntax.js index 911fd35dd6e94..ab086977144d9 100644 --- a/tests/baselines/reference/optionalPropertiesSyntax.js +++ b/tests/baselines/reference/optionalPropertiesSyntax.js @@ -38,3 +38,4 @@ interface indexSig { } //// [optionalPropertiesSyntax.js] +"use strict"; diff --git a/tests/baselines/reference/optionalPropertiesTest.js b/tests/baselines/reference/optionalPropertiesTest.js index e6502433556e7..219e66e8713ab 100644 --- a/tests/baselines/reference/optionalPropertiesTest.js +++ b/tests/baselines/reference/optionalPropertiesTest.js @@ -43,6 +43,7 @@ declare var test10_2: i2; test10_1 = test10_2; //// [optionalPropertiesTest.js] +"use strict"; var x; var foo; foo = { id: 1234 }; // Ok diff --git a/tests/baselines/reference/optionalProperty.js b/tests/baselines/reference/optionalProperty.js index c0a1724febfff..8cdffc4fc219b 100644 --- a/tests/baselines/reference/optionalProperty.js +++ b/tests/baselines/reference/optionalProperty.js @@ -7,6 +7,7 @@ class C { //// [optionalProperty.js] +"use strict"; class C { prop; } diff --git a/tests/baselines/reference/optionalSetterParam.js b/tests/baselines/reference/optionalSetterParam.js index da525fd9fac10..a6fe1a5a72cea 100644 --- a/tests/baselines/reference/optionalSetterParam.js +++ b/tests/baselines/reference/optionalSetterParam.js @@ -8,6 +8,7 @@ class foo { //// [optionalSetterParam.js] +"use strict"; var foo = /** @class */ (function () { function foo() { } diff --git a/tests/baselines/reference/optionsCompositeWithIncrementalFalse.js b/tests/baselines/reference/optionsCompositeWithIncrementalFalse.js index 886a2a48599f0..7234af14a3303 100644 --- a/tests/baselines/reference/optionsCompositeWithIncrementalFalse.js +++ b/tests/baselines/reference/optionsCompositeWithIncrementalFalse.js @@ -5,6 +5,7 @@ const x = "Hello World"; //// [optionsCompositeWithIncrementalFalse.js] +"use strict"; var x = "Hello World"; diff --git a/tests/baselines/reference/optionsInlineSourceMapMapRoot.js b/tests/baselines/reference/optionsInlineSourceMapMapRoot.js index b7188acaf12d0..12dd05b366318 100644 --- a/tests/baselines/reference/optionsInlineSourceMapMapRoot.js +++ b/tests/baselines/reference/optionsInlineSourceMapMapRoot.js @@ -4,5 +4,6 @@ var a = 10; //// [optionsInlineSourceMapMapRoot.js] +"use strict"; var a = 10; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcE1hcFJvb3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9vcHRpb25zSW5saW5lU291cmNlTWFwTWFwUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMifQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcE1hcFJvb3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9vcHRpb25zSW5saW5lU291cmNlTWFwTWFwUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDIn0= \ No newline at end of file diff --git a/tests/baselines/reference/optionsInlineSourceMapMapRoot.sourcemap.txt b/tests/baselines/reference/optionsInlineSourceMapMapRoot.sourcemap.txt index 79c1cffc0315a..e2cfb5790e062 100644 --- a/tests/baselines/reference/optionsInlineSourceMapMapRoot.sourcemap.txt +++ b/tests/baselines/reference/optionsInlineSourceMapMapRoot.sourcemap.txt @@ -1,6 +1,6 @@ =================================================================== JsFile: optionsInlineSourceMapMapRoot.js -mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcE1hcFJvb3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9vcHRpb25zSW5saW5lU291cmNlTWFwTWFwUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMifQ== +mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcE1hcFJvb3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9vcHRpb25zSW5saW5lU291cmNlTWFwTWFwUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDIn0= sourceRoot: sources: ../optionsInlineSourceMapMapRoot.ts =================================================================== @@ -8,6 +8,7 @@ sources: ../optionsInlineSourceMapMapRoot.ts emittedFile:optionsInlineSourceMapMapRoot.js sourceFile:../optionsInlineSourceMapMapRoot.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = 10; 1 > 2 >^^^^ @@ -22,11 +23,11 @@ sourceFile:../optionsInlineSourceMapMapRoot.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) --- ->>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcE1hcFJvb3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9vcHRpb25zSW5saW5lU291cmNlTWFwTWFwUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMifQ== \ No newline at end of file +>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcE1hcFJvb3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi9vcHRpb25zSW5saW5lU291cmNlTWFwTWFwUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDIn0= \ No newline at end of file diff --git a/tests/baselines/reference/optionsInlineSourceMapSourceRoot.js b/tests/baselines/reference/optionsInlineSourceMapSourceRoot.js index 31a4fc6b340f2..a9c666d4eb10a 100644 --- a/tests/baselines/reference/optionsInlineSourceMapSourceRoot.js +++ b/tests/baselines/reference/optionsInlineSourceMapSourceRoot.js @@ -4,5 +4,6 @@ var a = 10; //// [optionsInlineSourceMapSourceRoot.js] +"use strict"; var a = 10; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZVJvb3QuanMiLCJzb3VyY2VSb290IjoibG9jYWwvIiwic291cmNlcyI6WyJvcHRpb25zSW5saW5lU291cmNlTWFwU291cmNlUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMifQ== \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZVJvb3QuanMiLCJzb3VyY2VSb290IjoibG9jYWwvIiwic291cmNlcyI6WyJvcHRpb25zSW5saW5lU291cmNlTWFwU291cmNlUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDIn0= \ No newline at end of file diff --git a/tests/baselines/reference/optionsInlineSourceMapSourceRoot.sourcemap.txt b/tests/baselines/reference/optionsInlineSourceMapSourceRoot.sourcemap.txt index 8cf32baffd2ca..cac10d715c54b 100644 --- a/tests/baselines/reference/optionsInlineSourceMapSourceRoot.sourcemap.txt +++ b/tests/baselines/reference/optionsInlineSourceMapSourceRoot.sourcemap.txt @@ -1,6 +1,6 @@ =================================================================== JsFile: optionsInlineSourceMapSourceRoot.js -mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZVJvb3QuanMiLCJzb3VyY2VSb290IjoibG9jYWwvIiwic291cmNlcyI6WyJvcHRpb25zSW5saW5lU291cmNlTWFwU291cmNlUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMifQ== +mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZVJvb3QuanMiLCJzb3VyY2VSb290IjoibG9jYWwvIiwic291cmNlcyI6WyJvcHRpb25zSW5saW5lU291cmNlTWFwU291cmNlUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDIn0= sourceRoot: local/ sources: optionsInlineSourceMapSourceRoot.ts =================================================================== @@ -8,6 +8,7 @@ sources: optionsInlineSourceMapSourceRoot.ts emittedFile:optionsInlineSourceMapSourceRoot.js sourceFile:optionsInlineSourceMapSourceRoot.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = 10; 1 > 2 >^^^^ @@ -22,11 +23,11 @@ sourceFile:optionsInlineSourceMapSourceRoot.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) --- ->>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZVJvb3QuanMiLCJzb3VyY2VSb290IjoibG9jYWwvIiwic291cmNlcyI6WyJvcHRpb25zSW5saW5lU291cmNlTWFwU291cmNlUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMifQ== \ No newline at end of file +>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZVJvb3QuanMiLCJzb3VyY2VSb290IjoibG9jYWwvIiwic291cmNlcyI6WyJvcHRpb25zSW5saW5lU291cmNlTWFwU291cmNlUm9vdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDIn0= \ No newline at end of file diff --git a/tests/baselines/reference/optionsInlineSourceMapSourcemap.js b/tests/baselines/reference/optionsInlineSourceMapSourcemap.js index faf5036f70e6e..56e4c4a75f265 100644 --- a/tests/baselines/reference/optionsInlineSourceMapSourcemap.js +++ b/tests/baselines/reference/optionsInlineSourceMapSourcemap.js @@ -4,5 +4,6 @@ var a = 10; //// [optionsInlineSourceMapSourcemap.js] +"use strict"; var a = 10; -//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZW1hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm9wdGlvbnNJbmxpbmVTb3VyY2VNYXBTb3VyY2VtYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDIn0= \ No newline at end of file +//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZW1hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm9wdGlvbnNJbmxpbmVTb3VyY2VNYXBTb3VyY2VtYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyJ9 \ No newline at end of file diff --git a/tests/baselines/reference/optionsInlineSourceMapSourcemap.sourcemap.txt b/tests/baselines/reference/optionsInlineSourceMapSourcemap.sourcemap.txt index e9b8181143faf..246f54048b797 100644 --- a/tests/baselines/reference/optionsInlineSourceMapSourcemap.sourcemap.txt +++ b/tests/baselines/reference/optionsInlineSourceMapSourcemap.sourcemap.txt @@ -1,6 +1,6 @@ =================================================================== JsFile: optionsInlineSourceMapSourcemap.js -mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZW1hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm9wdGlvbnNJbmxpbmVTb3VyY2VNYXBTb3VyY2VtYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDIn0= +mapUrl: data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZW1hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm9wdGlvbnNJbmxpbmVTb3VyY2VNYXBTb3VyY2VtYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyJ9 sourceRoot: sources: optionsInlineSourceMapSourcemap.ts =================================================================== @@ -8,6 +8,7 @@ sources: optionsInlineSourceMapSourcemap.ts emittedFile:optionsInlineSourceMapSourcemap.js sourceFile:optionsInlineSourceMapSourcemap.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = 10; 1 > 2 >^^^^ @@ -22,11 +23,11 @@ sourceFile:optionsInlineSourceMapSourcemap.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) --- ->>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZW1hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm9wdGlvbnNJbmxpbmVTb3VyY2VNYXBTb3VyY2VtYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDIn0= \ No newline at end of file +>>>//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc0lubGluZVNvdXJjZU1hcFNvdXJjZW1hcC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIm9wdGlvbnNJbmxpbmVTb3VyY2VNYXBTb3VyY2VtYXAudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyJ9 \ No newline at end of file diff --git a/tests/baselines/reference/optionsSourcemapInlineSources.js b/tests/baselines/reference/optionsSourcemapInlineSources.js index 2e9a8077055a2..edab1cd722802 100644 --- a/tests/baselines/reference/optionsSourcemapInlineSources.js +++ b/tests/baselines/reference/optionsSourcemapInlineSources.js @@ -4,5 +4,6 @@ var a = 10; //// [optionsSourcemapInlineSources.js] +"use strict"; var a = 10; //# sourceMappingURL=optionsSourcemapInlineSources.js.map \ No newline at end of file diff --git a/tests/baselines/reference/optionsSourcemapInlineSources.js.map b/tests/baselines/reference/optionsSourcemapInlineSources.js.map index b8ba8eeef56f1..907e9a2c02f5e 100644 --- a/tests/baselines/reference/optionsSourcemapInlineSources.js.map +++ b/tests/baselines/reference/optionsSourcemapInlineSources.js.map @@ -1,3 +1,3 @@ //// [optionsSourcemapInlineSources.js.map] -{"version":3,"file":"optionsSourcemapInlineSources.js","sourceRoot":"","sources":["optionsSourcemapInlineSources.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,EAAE,CAAC","sourcesContent":["var a = 10;"]} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGEgPSAxMDsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPW9wdGlvbnNTb3VyY2VtYXBJbmxpbmVTb3VyY2VzLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc1NvdXJjZW1hcElubGluZVNvdXJjZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJvcHRpb25zU291cmNlbWFwSW5saW5lU291cmNlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgYSA9IDEwOyJdfQ==,dmFyIGEgPSAxMDs= +{"version":3,"file":"optionsSourcemapInlineSources.js","sourceRoot":"","sources":["optionsSourcemapInlineSources.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,EAAE,CAAC","sourcesContent":["var a = 10;"]} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGEgPSAxMDsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPW9wdGlvbnNTb3VyY2VtYXBJbmxpbmVTb3VyY2VzLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc1NvdXJjZW1hcElubGluZVNvdXJjZXMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJvcHRpb25zU291cmNlbWFwSW5saW5lU291cmNlcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsidmFyIGEgPSAxMDsiXX0=,dmFyIGEgPSAxMDs= diff --git a/tests/baselines/reference/optionsSourcemapInlineSources.sourcemap.txt b/tests/baselines/reference/optionsSourcemapInlineSources.sourcemap.txt index bdfe3cc625adc..a17c11817641d 100644 --- a/tests/baselines/reference/optionsSourcemapInlineSources.sourcemap.txt +++ b/tests/baselines/reference/optionsSourcemapInlineSources.sourcemap.txt @@ -9,6 +9,7 @@ sourcesContent: ["var a = 10;"] emittedFile:optionsSourcemapInlineSources.js sourceFile:optionsSourcemapInlineSources.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = 10; 1 > 2 >^^^^ @@ -23,11 +24,11 @@ sourceFile:optionsSourcemapInlineSources.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) --- >>>//# sourceMappingURL=optionsSourcemapInlineSources.js.map \ No newline at end of file diff --git a/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.js b/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.js index 64811aa28dc9a..518c1c14c6443 100644 --- a/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.js +++ b/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.js @@ -4,5 +4,6 @@ var a = 10; //// [optionsSourcemapInlineSourcesMapRoot.js] +"use strict"; var a = 10; //# sourceMappingURL=local/optionsSourcemapInlineSourcesMapRoot.js.map \ No newline at end of file diff --git a/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.js.map b/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.js.map index 9b9206afe1179..530d2af4ebe4a 100644 --- a/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.js.map +++ b/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.js.map @@ -1,2 +1,2 @@ //// [optionsSourcemapInlineSourcesMapRoot.js.map] -{"version":3,"file":"optionsSourcemapInlineSourcesMapRoot.js","sourceRoot":"","sources":["../optionsSourcemapInlineSourcesMapRoot.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,EAAE,CAAC","sourcesContent":["var a = 10;"]} \ No newline at end of file +{"version":3,"file":"optionsSourcemapInlineSourcesMapRoot.js","sourceRoot":"","sources":["../optionsSourcemapInlineSourcesMapRoot.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,EAAE,CAAC","sourcesContent":["var a = 10;"]} \ No newline at end of file diff --git a/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.sourcemap.txt b/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.sourcemap.txt index cb92a0ae7d64a..2cb78fab93b9b 100644 --- a/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.sourcemap.txt +++ b/tests/baselines/reference/optionsSourcemapInlineSourcesMapRoot.sourcemap.txt @@ -9,6 +9,7 @@ sourcesContent: ["var a = 10;"] emittedFile:optionsSourcemapInlineSourcesMapRoot.js sourceFile:../optionsSourcemapInlineSourcesMapRoot.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = 10; 1 > 2 >^^^^ @@ -23,11 +24,11 @@ sourceFile:../optionsSourcemapInlineSourcesMapRoot.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) --- >>>//# sourceMappingURL=local/optionsSourcemapInlineSourcesMapRoot.js.map \ No newline at end of file diff --git a/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.js b/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.js index 53c8993a9f28e..8c6935c929a11 100644 --- a/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.js +++ b/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.js @@ -4,5 +4,6 @@ var a = 10; //// [optionsSourcemapInlineSourcesSourceRoot.js] +"use strict"; var a = 10; //# sourceMappingURL=optionsSourcemapInlineSourcesSourceRoot.js.map \ No newline at end of file diff --git a/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.js.map b/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.js.map index 3ac2cdf8ba84b..a3e2fcbd57c02 100644 --- a/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.js.map +++ b/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.js.map @@ -1,3 +1,3 @@ //// [optionsSourcemapInlineSourcesSourceRoot.js.map] -{"version":3,"file":"optionsSourcemapInlineSourcesSourceRoot.js","sourceRoot":"local/","sources":["optionsSourcemapInlineSourcesSourceRoot.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,EAAE,CAAC","sourcesContent":["var a = 10;"]} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGEgPSAxMDsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPW9wdGlvbnNTb3VyY2VtYXBJbmxpbmVTb3VyY2VzU291cmNlUm9vdC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc1NvdXJjZW1hcElubGluZVNvdXJjZXNTb3VyY2VSb290LmpzIiwic291cmNlUm9vdCI6ImxvY2FsLyIsInNvdXJjZXMiOlsib3B0aW9uc1NvdXJjZW1hcElubGluZVNvdXJjZXNTb3VyY2VSb290LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbInZhciBhID0gMTA7Il19,dmFyIGEgPSAxMDs= +{"version":3,"file":"optionsSourcemapInlineSourcesSourceRoot.js","sourceRoot":"local/","sources":["optionsSourcemapInlineSourcesSourceRoot.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,EAAE,CAAC","sourcesContent":["var a = 10;"]} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGEgPSAxMDsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPW9wdGlvbnNTb3VyY2VtYXBJbmxpbmVTb3VyY2VzU291cmNlUm9vdC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3B0aW9uc1NvdXJjZW1hcElubGluZVNvdXJjZXNTb3VyY2VSb290LmpzIiwic291cmNlUm9vdCI6ImxvY2FsLyIsInNvdXJjZXMiOlsib3B0aW9uc1NvdXJjZW1hcElubGluZVNvdXJjZXNTb3VyY2VSb290LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJ2YXIgYSA9IDEwOyJdfQ==,dmFyIGEgPSAxMDs= diff --git a/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.sourcemap.txt b/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.sourcemap.txt index aa0e966b6ae1e..a68b75761fbaf 100644 --- a/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.sourcemap.txt +++ b/tests/baselines/reference/optionsSourcemapInlineSourcesSourceRoot.sourcemap.txt @@ -9,6 +9,7 @@ sourcesContent: ["var a = 10;"] emittedFile:optionsSourcemapInlineSourcesSourceRoot.js sourceFile:optionsSourcemapInlineSourcesSourceRoot.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = 10; 1 > 2 >^^^^ @@ -23,11 +24,11 @@ sourceFile:optionsSourcemapInlineSourcesSourceRoot.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) --- >>>//# sourceMappingURL=optionsSourcemapInlineSourcesSourceRoot.js.map \ No newline at end of file diff --git a/tests/baselines/reference/optionsStrictPropertyInitializationStrictNullChecks.js b/tests/baselines/reference/optionsStrictPropertyInitializationStrictNullChecks.js index 8457eff483ec8..2ef820fb15ac6 100644 --- a/tests/baselines/reference/optionsStrictPropertyInitializationStrictNullChecks.js +++ b/tests/baselines/reference/optionsStrictPropertyInitializationStrictNullChecks.js @@ -5,4 +5,5 @@ var x; //// [optionsStrictPropertyInitializationStrictNullChecks.js] +"use strict"; var x; diff --git a/tests/baselines/reference/optionsTsBuildInfoFileWithoutIncrementalAndComposite.js b/tests/baselines/reference/optionsTsBuildInfoFileWithoutIncrementalAndComposite.js index 55096eb0f4dac..83f4cc59fd0a6 100644 --- a/tests/baselines/reference/optionsTsBuildInfoFileWithoutIncrementalAndComposite.js +++ b/tests/baselines/reference/optionsTsBuildInfoFileWithoutIncrementalAndComposite.js @@ -5,4 +5,5 @@ const x = "Hello World"; //// [optionsTsBuildInfoFileWithoutIncrementalAndComposite.js] +"use strict"; var x = "Hello World"; diff --git a/tests/baselines/reference/orderMattersForSignatureGroupIdentity.js b/tests/baselines/reference/orderMattersForSignatureGroupIdentity.js index 2747ce7037a68..fc7beef067e7f 100644 --- a/tests/baselines/reference/orderMattersForSignatureGroupIdentity.js +++ b/tests/baselines/reference/orderMattersForSignatureGroupIdentity.js @@ -27,5 +27,6 @@ declare var w: C; w({ s: "", n: 0 }).toLowerCase(); //// [orderMattersForSignatureGroupIdentity.js] +"use strict"; v({ s: "", n: 0 }).toLowerCase(); w({ s: "", n: 0 }).toLowerCase(); diff --git a/tests/baselines/reference/out-flag.js b/tests/baselines/reference/out-flag.js index e6daa0c6ba1a0..1659c6ed644ba 100644 --- a/tests/baselines/reference/out-flag.js +++ b/tests/baselines/reference/out-flag.js @@ -20,6 +20,7 @@ class MyClass //// [out-flag.js] +"use strict"; //// @outFile: bin\ // my class comments var MyClass = /** @class */ (function () { diff --git a/tests/baselines/reference/out-flag.js.map b/tests/baselines/reference/out-flag.js.map index 4cddc69d40e7a..f013690e65ff2 100644 --- a/tests/baselines/reference/out-flag.js.map +++ b/tests/baselines/reference/out-flag.js.map @@ -1,3 +1,3 @@ //// [out-flag.js.map] -{"version":3,"file":"out-flag.js","sourceRoot":"","sources":["out-flag.ts"],"names":[],"mappings":"AAAA,mBAAmB;AAEnB,oBAAoB;AACpB;IAAA;IAYA,CAAC;IAVG,uBAAuB;IAChB,uBAAK,GAAZ;QAEI,OAAO,EAAE,CAAC;IACd,CAAC;IAEM,0BAAQ,GAAf,UAAgB,KAAa;QAEzB,EAAE;IACN,CAAC;IACL,cAAC;AAAD,CAAC,AAZD,IAYC"} -//// https://sokra.github.io/source-map-visualization#base64,Ly8vLyBAb3V0RmlsZTogYmluXA0KLy8gbXkgY2xhc3MgY29tbWVudHMNCnZhciBNeUNsYXNzID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgIGZ1bmN0aW9uIE15Q2xhc3MoKSB7DQogICAgfQ0KICAgIC8vIG15IGZ1bmN0aW9uIGNvbW1lbnRzDQogICAgTXlDbGFzcy5wcm90b3R5cGUuQ291bnQgPSBmdW5jdGlvbiAoKSB7DQogICAgICAgIHJldHVybiA0MjsNCiAgICB9Ow0KICAgIE15Q2xhc3MucHJvdG90eXBlLlNldENvdW50ID0gZnVuY3Rpb24gKHZhbHVlKSB7DQogICAgICAgIC8vDQogICAgfTsNCiAgICByZXR1cm4gTXlDbGFzczsNCn0oKSk7DQovLyMgc291cmNlTWFwcGluZ1VSTD1vdXQtZmxhZy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LWZsYWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJvdXQtZmxhZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxtQkFBbUI7QUFFbkIsb0JBQW9CO0FBQ3BCO0lBQUE7SUFZQSxDQUFDO0lBVkcsdUJBQXVCO0lBQ2hCLHVCQUFLLEdBQVo7UUFFSSxPQUFPLEVBQUUsQ0FBQztJQUNkLENBQUM7SUFFTSwwQkFBUSxHQUFmLFVBQWdCLEtBQWE7UUFFekIsRUFBRTtJQUNOLENBQUM7SUFDTCxjQUFDO0FBQUQsQ0FBQyxBQVpELElBWUMifQ==,Ly8vLyBAb3V0RmlsZTogYmluXAoKLy8gbXkgY2xhc3MgY29tbWVudHMKY2xhc3MgTXlDbGFzcwp7CiAgICAvLyBteSBmdW5jdGlvbiBjb21tZW50cwogICAgcHVibGljIENvdW50KCk6IG51bWJlcgogICAgewogICAgICAgIHJldHVybiA0MjsKICAgIH0KCiAgICBwdWJsaWMgU2V0Q291bnQodmFsdWU6IG51bWJlcikKICAgIHsKICAgICAgICAvLwogICAgfQp9Cg== +{"version":3,"file":"out-flag.js","sourceRoot":"","sources":["out-flag.ts"],"names":[],"mappings":";AAAA,mBAAmB;AAEnB,oBAAoB;AACpB;IAAA;IAYA,CAAC;IAVG,uBAAuB;IAChB,uBAAK,GAAZ;QAEI,OAAO,EAAE,CAAC;IACd,CAAC;IAEM,0BAAQ,GAAf,UAAgB,KAAa;QAEzB,EAAE;IACN,CAAC;IACL,cAAC;AAAD,CAAC,AAZD,IAYC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KLy8vLyBAb3V0RmlsZTogYmluXA0KLy8gbXkgY2xhc3MgY29tbWVudHMNCnZhciBNeUNsYXNzID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgIGZ1bmN0aW9uIE15Q2xhc3MoKSB7DQogICAgfQ0KICAgIC8vIG15IGZ1bmN0aW9uIGNvbW1lbnRzDQogICAgTXlDbGFzcy5wcm90b3R5cGUuQ291bnQgPSBmdW5jdGlvbiAoKSB7DQogICAgICAgIHJldHVybiA0MjsNCiAgICB9Ow0KICAgIE15Q2xhc3MucHJvdG90eXBlLlNldENvdW50ID0gZnVuY3Rpb24gKHZhbHVlKSB7DQogICAgICAgIC8vDQogICAgfTsNCiAgICByZXR1cm4gTXlDbGFzczsNCn0oKSk7DQovLyMgc291cmNlTWFwcGluZ1VSTD1vdXQtZmxhZy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoib3V0LWZsYWcuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJvdXQtZmxhZy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsbUJBQW1CO0FBRW5CLG9CQUFvQjtBQUNwQjtJQUFBO0lBWUEsQ0FBQztJQVZHLHVCQUF1QjtJQUNoQix1QkFBSyxHQUFaO1FBRUksT0FBTyxFQUFFLENBQUM7SUFDZCxDQUFDO0lBRU0sMEJBQVEsR0FBZixVQUFnQixLQUFhO1FBRXpCLEVBQUU7SUFDTixDQUFDO0lBQ0wsY0FBQztBQUFELENBQUMsQUFaRCxJQVlDIn0=,Ly8vLyBAb3V0RmlsZTogYmluXAoKLy8gbXkgY2xhc3MgY29tbWVudHMKY2xhc3MgTXlDbGFzcwp7CiAgICAvLyBteSBmdW5jdGlvbiBjb21tZW50cwogICAgcHVibGljIENvdW50KCk6IG51bWJlcgogICAgewogICAgICAgIHJldHVybiA0MjsKICAgIH0KCiAgICBwdWJsaWMgU2V0Q291bnQodmFsdWU6IG51bWJlcikKICAgIHsKICAgICAgICAvLwogICAgfQp9Cg== diff --git a/tests/baselines/reference/out-flag.sourcemap.txt b/tests/baselines/reference/out-flag.sourcemap.txt index 37dfd03de6367..6de58a147c4d0 100644 --- a/tests/baselines/reference/out-flag.sourcemap.txt +++ b/tests/baselines/reference/out-flag.sourcemap.txt @@ -8,14 +8,15 @@ sources: out-flag.ts emittedFile:out-flag.js sourceFile:out-flag.ts ------------------------------------------------------------------- +>>>"use strict"; >>>//// @outFile: bin\ 1 > 2 >^^^^^^^^^^^^^^^^^^^ 3 > ^^-> 1 > 2 >//// @outFile: bin\ -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 20) Source(1, 20) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 20) Source(1, 20) + SourceIndex(0) --- >>>// my class comments 1-> @@ -25,21 +26,21 @@ sourceFile:out-flag.ts > > 2 >// my class comments -1->Emitted(2, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(2, 21) Source(3, 21) + SourceIndex(0) +1->Emitted(3, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(3, 21) Source(3, 21) + SourceIndex(0) --- >>>var MyClass = /** @class */ (function () { 1-> 2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> 1-> > -1->Emitted(3, 1) Source(4, 1) + SourceIndex(0) +1->Emitted(4, 1) Source(4, 1) + SourceIndex(0) --- >>> function MyClass() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(4, 5) Source(4, 1) + SourceIndex(0) +1->Emitted(5, 5) Source(4, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -59,8 +60,8 @@ sourceFile:out-flag.ts > } > 2 > } -1->Emitted(5, 5) Source(16, 1) + SourceIndex(0) -2 >Emitted(5, 6) Source(16, 2) + SourceIndex(0) +1->Emitted(6, 5) Source(16, 1) + SourceIndex(0) +2 >Emitted(6, 6) Source(16, 2) + SourceIndex(0) --- >>> // my function comments 1->^^^^ @@ -68,8 +69,8 @@ sourceFile:out-flag.ts 3 > ^^^^^^^^^^^^^^^^^-> 1-> 2 > // my function comments -1->Emitted(6, 5) Source(6, 5) + SourceIndex(0) -2 >Emitted(6, 28) Source(6, 28) + SourceIndex(0) +1->Emitted(7, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(7, 28) Source(6, 28) + SourceIndex(0) --- >>> MyClass.prototype.Count = function () { 1->^^^^ @@ -79,9 +80,9 @@ sourceFile:out-flag.ts > public 2 > Count 3 > -1->Emitted(7, 5) Source(7, 12) + SourceIndex(0) -2 >Emitted(7, 28) Source(7, 17) + SourceIndex(0) -3 >Emitted(7, 31) Source(7, 5) + SourceIndex(0) +1->Emitted(8, 5) Source(7, 12) + SourceIndex(0) +2 >Emitted(8, 28) Source(7, 17) + SourceIndex(0) +3 >Emitted(8, 31) Source(7, 5) + SourceIndex(0) --- >>> return 42; 1 >^^^^^^^^ @@ -94,10 +95,10 @@ sourceFile:out-flag.ts 2 > return 3 > 42 4 > ; -1 >Emitted(8, 9) Source(9, 9) + SourceIndex(0) -2 >Emitted(8, 16) Source(9, 16) + SourceIndex(0) -3 >Emitted(8, 18) Source(9, 18) + SourceIndex(0) -4 >Emitted(8, 19) Source(9, 19) + SourceIndex(0) +1 >Emitted(9, 9) Source(9, 9) + SourceIndex(0) +2 >Emitted(9, 16) Source(9, 16) + SourceIndex(0) +3 >Emitted(9, 18) Source(9, 18) + SourceIndex(0) +4 >Emitted(9, 19) Source(9, 19) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -106,8 +107,8 @@ sourceFile:out-flag.ts 1 > > 2 > } -1 >Emitted(9, 5) Source(10, 5) + SourceIndex(0) -2 >Emitted(9, 6) Source(10, 6) + SourceIndex(0) +1 >Emitted(10, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(10, 6) Source(10, 6) + SourceIndex(0) --- >>> MyClass.prototype.SetCount = function (value) { 1->^^^^ @@ -122,11 +123,11 @@ sourceFile:out-flag.ts 3 > 4 > public SetCount( 5 > value: number -1->Emitted(10, 5) Source(12, 12) + SourceIndex(0) -2 >Emitted(10, 31) Source(12, 20) + SourceIndex(0) -3 >Emitted(10, 34) Source(12, 5) + SourceIndex(0) -4 >Emitted(10, 44) Source(12, 21) + SourceIndex(0) -5 >Emitted(10, 49) Source(12, 34) + SourceIndex(0) +1->Emitted(11, 5) Source(12, 12) + SourceIndex(0) +2 >Emitted(11, 31) Source(12, 20) + SourceIndex(0) +3 >Emitted(11, 34) Source(12, 5) + SourceIndex(0) +4 >Emitted(11, 44) Source(12, 21) + SourceIndex(0) +5 >Emitted(11, 49) Source(12, 34) + SourceIndex(0) --- >>> // 1 >^^^^^^^^ @@ -135,8 +136,8 @@ sourceFile:out-flag.ts > { > 2 > // -1 >Emitted(11, 9) Source(14, 9) + SourceIndex(0) -2 >Emitted(11, 11) Source(14, 11) + SourceIndex(0) +1 >Emitted(12, 9) Source(14, 9) + SourceIndex(0) +2 >Emitted(12, 11) Source(14, 11) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -145,8 +146,8 @@ sourceFile:out-flag.ts 1 > > 2 > } -1 >Emitted(12, 5) Source(15, 5) + SourceIndex(0) -2 >Emitted(12, 6) Source(15, 6) + SourceIndex(0) +1 >Emitted(13, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(13, 6) Source(15, 6) + SourceIndex(0) --- >>> return MyClass; 1->^^^^ @@ -154,8 +155,8 @@ sourceFile:out-flag.ts 1-> > 2 > } -1->Emitted(13, 5) Source(16, 1) + SourceIndex(0) -2 >Emitted(13, 19) Source(16, 2) + SourceIndex(0) +1->Emitted(14, 5) Source(16, 1) + SourceIndex(0) +2 >Emitted(14, 19) Source(16, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -179,9 +180,9 @@ sourceFile:out-flag.ts > // > } > } -1 >Emitted(14, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(14, 2) Source(16, 2) + SourceIndex(0) -3 >Emitted(14, 2) Source(4, 1) + SourceIndex(0) -4 >Emitted(14, 6) Source(16, 2) + SourceIndex(0) +1 >Emitted(15, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(15, 2) Source(16, 2) + SourceIndex(0) +3 >Emitted(15, 2) Source(4, 1) + SourceIndex(0) +4 >Emitted(15, 6) Source(16, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=out-flag.js.map \ No newline at end of file diff --git a/tests/baselines/reference/out-flag2.js b/tests/baselines/reference/out-flag2.js index 96fa231a6d642..46ae412fce2cc 100644 --- a/tests/baselines/reference/out-flag2.js +++ b/tests/baselines/reference/out-flag2.js @@ -8,6 +8,7 @@ class B { } //// [c.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/out-flag2.js.map b/tests/baselines/reference/out-flag2.js.map index d984f1d5fbe8d..29b83065919ab 100644 --- a/tests/baselines/reference/out-flag2.js.map +++ b/tests/baselines/reference/out-flag2.js.map @@ -1,3 +1,3 @@ //// [c.js.map] -{"version":3,"file":"c.js","sourceRoot":"","sources":["a.ts","b.ts"],"names":[],"mappings":"AAAA;IAAA;IAAU,CAAC;IAAD,QAAC;AAAD,CAAC,AAAX,IAAW;ACAX;IAAA;IAAU,CAAC;IAAD,QAAC;AAAD,CAAC,AAAX,IAAW"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIEEgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQSgpIHsNCiAgICB9DQogICAgcmV0dXJuIEE7DQp9KCkpOw0KdmFyIEIgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQigpIHsNCiAgICB9DQogICAgcmV0dXJuIEI7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9Yy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQUE7SUFBVSxDQUFDO0lBQUQsUUFBQztBQUFELENBQUMsQUFBWCxJQUFXO0FDQVg7SUFBQTtJQUFVLENBQUM7SUFBRCxRQUFDO0FBQUQsQ0FBQyxBQUFYLElBQVcifQ==,Y2xhc3MgQSB7IH0K,Y2xhc3MgQiB7IH0K +{"version":3,"file":"c.js","sourceRoot":"","sources":["a.ts","b.ts"],"names":[],"mappings":";AAAA;IAAA;IAAU,CAAC;IAAD,QAAC;AAAD,CAAC,AAAX,IAAW;ACAX;IAAA;IAAU,CAAC;IAAD,QAAC;AAAD,CAAC,AAAX,IAAW"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIEEgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQSgpIHsNCiAgICB9DQogICAgcmV0dXJuIEE7DQp9KCkpOw0KdmFyIEIgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQigpIHsNCiAgICB9DQogICAgcmV0dXJuIEI7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9Yy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTtJQUFBO0lBQVUsQ0FBQztJQUFELFFBQUM7QUFBRCxDQUFDLEFBQVgsSUFBVztBQ0FYO0lBQUE7SUFBVSxDQUFDO0lBQUQsUUFBQztBQUFELENBQUMsQUFBWCxJQUFXIn0=,Y2xhc3MgQSB7IH0K,Y2xhc3MgQiB7IH0K diff --git a/tests/baselines/reference/out-flag2.sourcemap.txt b/tests/baselines/reference/out-flag2.sourcemap.txt index 9786d844acdcb..676e11e190667 100644 --- a/tests/baselines/reference/out-flag2.sourcemap.txt +++ b/tests/baselines/reference/out-flag2.sourcemap.txt @@ -8,17 +8,18 @@ sources: a.ts,b.ts emittedFile:c.js sourceFile:a.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var A = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function A() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -26,16 +27,16 @@ sourceFile:a.ts 3 > ^^^^^^^^^-> 1->class A { 2 > } -1->Emitted(3, 5) Source(1, 11) + SourceIndex(0) -2 >Emitted(3, 6) Source(1, 12) + SourceIndex(0) +1->Emitted(4, 5) Source(1, 11) + SourceIndex(0) +2 >Emitted(4, 6) Source(1, 12) + SourceIndex(0) --- >>> return A; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(4, 5) Source(1, 11) + SourceIndex(0) -2 >Emitted(4, 13) Source(1, 12) + SourceIndex(0) +1->Emitted(5, 5) Source(1, 11) + SourceIndex(0) +2 >Emitted(5, 13) Source(1, 12) + SourceIndex(0) --- >>>}()); 1 > @@ -47,10 +48,10 @@ sourceFile:a.ts 2 >} 3 > 4 > class A { } -1 >Emitted(5, 1) Source(1, 11) + SourceIndex(0) -2 >Emitted(5, 2) Source(1, 12) + SourceIndex(0) -3 >Emitted(5, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(5, 6) Source(1, 12) + SourceIndex(0) +1 >Emitted(6, 1) Source(1, 11) + SourceIndex(0) +2 >Emitted(6, 2) Source(1, 12) + SourceIndex(0) +3 >Emitted(6, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(6, 6) Source(1, 12) + SourceIndex(0) --- ------------------------------------------------------------------- emittedFile:c.js @@ -60,13 +61,13 @@ sourceFile:b.ts 1-> 2 >^^^^^^^^^^^^^^^^^^^-> 1-> -1->Emitted(6, 1) Source(1, 1) + SourceIndex(1) +1->Emitted(7, 1) Source(1, 1) + SourceIndex(1) --- >>> function B() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(7, 5) Source(1, 1) + SourceIndex(1) +1->Emitted(8, 5) Source(1, 1) + SourceIndex(1) --- >>> } 1->^^^^ @@ -74,16 +75,16 @@ sourceFile:b.ts 3 > ^^^^^^^^^-> 1->class B { 2 > } -1->Emitted(8, 5) Source(1, 11) + SourceIndex(1) -2 >Emitted(8, 6) Source(1, 12) + SourceIndex(1) +1->Emitted(9, 5) Source(1, 11) + SourceIndex(1) +2 >Emitted(9, 6) Source(1, 12) + SourceIndex(1) --- >>> return B; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(9, 5) Source(1, 11) + SourceIndex(1) -2 >Emitted(9, 13) Source(1, 12) + SourceIndex(1) +1->Emitted(10, 5) Source(1, 11) + SourceIndex(1) +2 >Emitted(10, 13) Source(1, 12) + SourceIndex(1) --- >>>}()); 1 > @@ -95,9 +96,9 @@ sourceFile:b.ts 2 >} 3 > 4 > class B { } -1 >Emitted(10, 1) Source(1, 11) + SourceIndex(1) -2 >Emitted(10, 2) Source(1, 12) + SourceIndex(1) -3 >Emitted(10, 2) Source(1, 1) + SourceIndex(1) -4 >Emitted(10, 6) Source(1, 12) + SourceIndex(1) +1 >Emitted(11, 1) Source(1, 11) + SourceIndex(1) +2 >Emitted(11, 2) Source(1, 12) + SourceIndex(1) +3 >Emitted(11, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(11, 6) Source(1, 12) + SourceIndex(1) --- >>>//# sourceMappingURL=c.js.map \ No newline at end of file diff --git a/tests/baselines/reference/out-flag3.js b/tests/baselines/reference/out-flag3.js index 176625d7ebfef..b930782b28315 100644 --- a/tests/baselines/reference/out-flag3.js +++ b/tests/baselines/reference/out-flag3.js @@ -8,6 +8,7 @@ class B { } //// [d.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/out-flag3.js.map b/tests/baselines/reference/out-flag3.js.map index 7281b0e9210e2..e047b6068738d 100644 --- a/tests/baselines/reference/out-flag3.js.map +++ b/tests/baselines/reference/out-flag3.js.map @@ -1,3 +1,3 @@ //// [d.js.map] -{"version":3,"file":"d.js","sourceRoot":"","sources":["a.ts","b.ts"],"names":[],"mappings":"AAAA;IAAA;IAAU,CAAC;IAAD,QAAC;AAAD,CAAC,AAAX,IAAW;ACAX;IAAA;IAAU,CAAC;IAAD,QAAC;AAAD,CAAC,AAAX,IAAW"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIEEgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQSgpIHsNCiAgICB9DQogICAgcmV0dXJuIEE7DQp9KCkpOw0KdmFyIEIgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQigpIHsNCiAgICB9DQogICAgcmV0dXJuIEI7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9ZC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQUE7SUFBVSxDQUFDO0lBQUQsUUFBQztBQUFELENBQUMsQUFBWCxJQUFXO0FDQVg7SUFBQTtJQUFVLENBQUM7SUFBRCxRQUFDO0FBQUQsQ0FBQyxBQUFYLElBQVcifQ==,Y2xhc3MgQSB7IH0K,Y2xhc3MgQiB7IH0K +{"version":3,"file":"d.js","sourceRoot":"","sources":["a.ts","b.ts"],"names":[],"mappings":";AAAA;IAAA;IAAU,CAAC;IAAD,QAAC;AAAD,CAAC,AAAX,IAAW;ACAX;IAAA;IAAU,CAAC;IAAD,QAAC;AAAD,CAAC,AAAX,IAAW"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIEEgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQSgpIHsNCiAgICB9DQogICAgcmV0dXJuIEE7DQp9KCkpOw0KdmFyIEIgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gQigpIHsNCiAgICB9DQogICAgcmV0dXJuIEI7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9ZC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQTtJQUFBO0lBQVUsQ0FBQztJQUFELFFBQUM7QUFBRCxDQUFDLEFBQVgsSUFBVztBQ0FYO0lBQUE7SUFBVSxDQUFDO0lBQUQsUUFBQztBQUFELENBQUMsQUFBWCxJQUFXIn0=,Y2xhc3MgQSB7IH0K,Y2xhc3MgQiB7IH0K diff --git a/tests/baselines/reference/out-flag3.sourcemap.txt b/tests/baselines/reference/out-flag3.sourcemap.txt index c083ae5401e7a..628cd0fcd0896 100644 --- a/tests/baselines/reference/out-flag3.sourcemap.txt +++ b/tests/baselines/reference/out-flag3.sourcemap.txt @@ -8,17 +8,18 @@ sources: a.ts,b.ts emittedFile:d.js sourceFile:a.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var A = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function A() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -26,16 +27,16 @@ sourceFile:a.ts 3 > ^^^^^^^^^-> 1->class A { 2 > } -1->Emitted(3, 5) Source(1, 11) + SourceIndex(0) -2 >Emitted(3, 6) Source(1, 12) + SourceIndex(0) +1->Emitted(4, 5) Source(1, 11) + SourceIndex(0) +2 >Emitted(4, 6) Source(1, 12) + SourceIndex(0) --- >>> return A; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(4, 5) Source(1, 11) + SourceIndex(0) -2 >Emitted(4, 13) Source(1, 12) + SourceIndex(0) +1->Emitted(5, 5) Source(1, 11) + SourceIndex(0) +2 >Emitted(5, 13) Source(1, 12) + SourceIndex(0) --- >>>}()); 1 > @@ -47,10 +48,10 @@ sourceFile:a.ts 2 >} 3 > 4 > class A { } -1 >Emitted(5, 1) Source(1, 11) + SourceIndex(0) -2 >Emitted(5, 2) Source(1, 12) + SourceIndex(0) -3 >Emitted(5, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(5, 6) Source(1, 12) + SourceIndex(0) +1 >Emitted(6, 1) Source(1, 11) + SourceIndex(0) +2 >Emitted(6, 2) Source(1, 12) + SourceIndex(0) +3 >Emitted(6, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(6, 6) Source(1, 12) + SourceIndex(0) --- ------------------------------------------------------------------- emittedFile:d.js @@ -60,13 +61,13 @@ sourceFile:b.ts 1-> 2 >^^^^^^^^^^^^^^^^^^^-> 1-> -1->Emitted(6, 1) Source(1, 1) + SourceIndex(1) +1->Emitted(7, 1) Source(1, 1) + SourceIndex(1) --- >>> function B() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(7, 5) Source(1, 1) + SourceIndex(1) +1->Emitted(8, 5) Source(1, 1) + SourceIndex(1) --- >>> } 1->^^^^ @@ -74,16 +75,16 @@ sourceFile:b.ts 3 > ^^^^^^^^^-> 1->class B { 2 > } -1->Emitted(8, 5) Source(1, 11) + SourceIndex(1) -2 >Emitted(8, 6) Source(1, 12) + SourceIndex(1) +1->Emitted(9, 5) Source(1, 11) + SourceIndex(1) +2 >Emitted(9, 6) Source(1, 12) + SourceIndex(1) --- >>> return B; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(9, 5) Source(1, 11) + SourceIndex(1) -2 >Emitted(9, 13) Source(1, 12) + SourceIndex(1) +1->Emitted(10, 5) Source(1, 11) + SourceIndex(1) +2 >Emitted(10, 13) Source(1, 12) + SourceIndex(1) --- >>>}()); 1 > @@ -95,9 +96,9 @@ sourceFile:b.ts 2 >} 3 > 4 > class B { } -1 >Emitted(10, 1) Source(1, 11) + SourceIndex(1) -2 >Emitted(10, 2) Source(1, 12) + SourceIndex(1) -3 >Emitted(10, 2) Source(1, 1) + SourceIndex(1) -4 >Emitted(10, 6) Source(1, 12) + SourceIndex(1) +1 >Emitted(11, 1) Source(1, 11) + SourceIndex(1) +2 >Emitted(11, 2) Source(1, 12) + SourceIndex(1) +3 >Emitted(11, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(11, 6) Source(1, 12) + SourceIndex(1) --- >>>//# sourceMappingURL=d.js.map \ No newline at end of file diff --git a/tests/baselines/reference/outFileIsDeprecated.js b/tests/baselines/reference/outFileIsDeprecated.js index 89b2aec415c2f..72fcd0e727bb5 100644 --- a/tests/baselines/reference/outFileIsDeprecated.js +++ b/tests/baselines/reference/outFileIsDeprecated.js @@ -7,5 +7,6 @@ const a = 1; const b = 1; //// [dist.js] +"use strict"; var a = 1; var b = 1; diff --git a/tests/baselines/reference/outModuleConcatSystem.js.map b/tests/baselines/reference/outModuleConcatSystem.js.map index 51a8455ab60e3..4a7eb89d078f5 100644 --- a/tests/baselines/reference/outModuleConcatSystem.js.map +++ b/tests/baselines/reference/outModuleConcatSystem.js.map @@ -1,3 +1,3 @@ //// [all.js.map] -{"version":3,"file":"all.js","sourceRoot":"","sources":["ref/a.ts","b.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;YAAA;gBAAA;gBAAiB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAlB,IAAkB;;QAClB,CAAC;;;;;;;;;;;;;;YCAD;gBAAuB,qBAAC;gBAAxB;;gBAA2B,CAAC;gBAAD,QAAC;YAAD,CAAC,AAA5B,CAAuB,KAAC,GAAI;;QAAA,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dm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MSwgY29udGV4dF8xKSB7DQogICAgInVzZSBzdHJpY3QiOw0KICAgIHZhciBBOw0KICAgIHZhciBfX21vZHVsZU5hbWUgPSBjb250ZXh0XzEgJiYgY29udGV4dF8xLmlkOw0KICAgIHJldHVybiB7DQogICAgICAgIHNldHRlcnM6IFtdLA0KICAgICAgICBleGVjdXRlOiBmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICBBID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIGZ1bmN0aW9uIEEoKSB7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIHJldHVybiBBOw0KICAgICAgICAgICAgfSgpKTsNCiAgICAgICAgICAgIGV4cG9ydHNfMSgiQSIsIEEpOw0KICAgICAgICB9DQogICAgfTsNCn0pOw0KU3lzdGVtLnJlZ2lzdGVyKCJiIiwgWyJyZWYvYSJdLCBmdW5jdGlvbiAoZXhwb3J0c18yLCBjb250ZXh0XzIpIHsNCiAgICAidXNlIHN0cmljdCI7DQogICAgdmFyIGFfMSwgQjsNCiAgICB2YXIgX19tb2R1bGVOYW1lID0gY29udGV4dF8yICYmIGNvbnRleHRfMi5pZDsNCiAgICByZXR1cm4gew0KICAgICAgICBzZXR0ZXJzOiBbDQogICAgICAgICAgICBmdW5jdGlvbiAoYV8xXzEpIHsNCiAgICAgICAgICAgICAgICBhXzEgPSBhXzFfMTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgXSwNCiAgICAgICAgZXhlY3V0ZTogZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgQiA9IC8qKiBAY2xhc3MgKi8gKGZ1bmN0aW9uIChfc3VwZXIpIHsNCiAgICAgICAgICAgICAgICBfX2V4dGVuZHMoQiwgX3N1cGVyKTsNCiAgICAgICAgICAgICAgICBmdW5jdGlvbiBCKCkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gX3N1cGVyICE9PSBudWxsICYmIF9zdXBlci5hcHBseSh0aGlzLCBhcmd1bWVudHMpIHx8IHRoaXM7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIHJldHVybiBCOw0KICAgICAgICAgICAgfShhXzEuQSkpOw0KICAgICAgICAgICAgZXhwb3J0c18yKCJCIiwgQik7DQogICAgICAgIH0NCiAgICB9Ow0KfSk7DQovLyMgc291cmNlTWFwcGluZ1VSTD1hbGwuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicmVmL2EudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7WUFBQTtnQkFBQTtnQkFBaUIsQ0FBQztnQkFBRCxRQUFDO1lBQUQsQ0FBQyxBQUFsQixJQUFrQjs7UUFDbEIsQ0FBQzs7Ozs7Ozs7Ozs7Ozs7WUNBRDtnQkFBdUIscUJBQUM7Z0JBQXhCOztnQkFBMkIsQ0FBQztnQkFBRCxRQUFDO1lBQUQsQ0FBQyxBQUE1QixDQUF1QixLQUFDLEdBQUk7O1FBQUEsQ0FBQyJ9,ZXhwb3J0IGNsYXNzIEEgeyB9Cg==,aW1wb3J0IHtBfSBmcm9tICIuL3JlZi9hIjsKZXhwb3J0IGNsYXNzIEIgZXh0ZW5kcyBBIHsgfQ== +{"version":3,"file":"all.js","sourceRoot":"","sources":["ref/a.ts","b.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;YAAA;gBAAA;gBAAiB,CAAC;gBAAD,QAAC;YAAD,CAAC,AAAlB,IAAkB;;;;;;;;;;;;;;;;YCClB;gBAAuB,qBAAC;gBAAxB;;gBAA2B,CAAC;gBAAD,QAAC;YAAD,CAAC,AAA5B,CAAuB,KAAC,GAAI"} +//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9fZXh0ZW5kcyA9ICh0aGlzICYmIHRoaXMuX19leHRlbmRzKSB8fCAo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KICAgIHZhciBfX21vZHVsZU5hbWUgPSBjb250ZXh0XzEgJiYgY29udGV4dF8xLmlkOw0KICAgIHJldHVybiB7DQogICAgICAgIHNldHRlcnM6IFtdLA0KICAgICAgICBleGVjdXRlOiBmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICBBID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIGZ1bmN0aW9uIEEoKSB7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIHJldHVybiBBOw0KICAgICAgICAgICAgfSgpKTsNCiAgICAgICAgICAgIGV4cG9ydHNfMSgiQSIsIEEpOw0KICAgICAgICB9DQogICAgfTsNCn0pOw0KU3lzdGVtLnJlZ2lzdGVyKCJiIiwgWyJyZWYvYSJdLCBmdW5jdGlvbiAoZXhwb3J0c18yLCBjb250ZXh0XzIpIHsNCiAgICAidXNlIHN0cmljdCI7DQogICAgdmFyIGFfMSwgQjsNCiAgICB2YXIgX19tb2R1bGVOYW1lID0gY29udGV4dF8yICYmIGNvbnRleHRfMi5pZDsNCiAgICByZXR1cm4gew0KICAgICAgICBzZXR0ZXJzOiBbDQogICAgICAgICAgICBmdW5jdGlvbiAoYV8xXzEpIHsNCiAgICAgICAgICAgICAgICBhXzEgPSBhXzFfMTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgXSwNCiAgICAgICAgZXhlY3V0ZTogZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgQiA9IC8qKiBAY2xhc3MgKi8gKGZ1bmN0aW9uIChfc3VwZXIpIHsNCiAgICAgICAgICAgICAgICBfX2V4dGVuZHMoQiwgX3N1cGVyKTsNCiAgICAgICAgICAgICAgICBmdW5jdGlvbiBCKCkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gX3N1cGVyICE9PSBudWxsICYmIF9zdXBlci5hcHBseSh0aGlzLCBhcmd1bWVudHMpIHx8IHRoaXM7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgIHJldHVybiBCOw0KICAgICAgICAgICAgfShhXzEuQSkpOw0KICAgICAgICAgICAgZXhwb3J0c18yKCJCIiwgQik7DQogICAgICAgIH0NCiAgICB9Ow0KfSk7DQovLyMgc291cmNlTWFwcGluZ1VSTD1hbGwuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYWxsLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsicmVmL2EudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7WUFBQTtnQkFBQTtnQkFBaUIsQ0FBQztnQkFBRCxRQUFDO1lBQUQsQ0FBQyxBQUFsQixJQUFrQjs7Ozs7Ozs7Ozs7Ozs7OztZQ0NsQjtnQkFBdUIscUJBQUM7Z0JBQXhCOztnQkFBMkIsQ0FBQztnQkFBRCxRQUFDO1lBQUQsQ0FBQyxBQUE1QixDQUF1QixLQUFDLEdBQUkifQ==,ZXhwb3J0IGNsYXNzIEEgeyB9Cg==,aW1wb3J0IHtBfSBmcm9tICIuL3JlZi9hIjsKZXhwb3J0IGNsYXNzIEIgZXh0ZW5kcyBBIHsgfQ== diff --git a/tests/baselines/reference/outModuleConcatSystem.sourcemap.txt b/tests/baselines/reference/outModuleConcatSystem.sourcemap.txt index 21f84e1069dfe..74f8be6130c3e 100644 --- a/tests/baselines/reference/outModuleConcatSystem.sourcemap.txt +++ b/tests/baselines/reference/outModuleConcatSystem.sourcemap.txt @@ -74,20 +74,12 @@ sourceFile:ref/a.ts 3 >Emitted(27, 14) Source(1, 1) + SourceIndex(0) 4 >Emitted(27, 18) Source(1, 19) + SourceIndex(0) --- ->>> exports_1("A", A); ->>> } -1->^^^^^^^^ -2 > ^ -1-> - > -2 > -1->Emitted(29, 9) Source(2, 1) + SourceIndex(0) -2 >Emitted(29, 10) Source(2, 2) + SourceIndex(0) ---- ------------------------------------------------------------------- emittedFile:all.js sourceFile:b.ts ------------------------------------------------------------------- +>>> exports_1("A", A); +>>> } >>> }; >>>}); >>>System.register("b", ["ref/a"], function (exports_2, context_2) { @@ -102,11 +94,11 @@ sourceFile:b.ts >>> ], >>> execute: function () { >>> B = /** @class */ (function (_super) { -1 >^^^^^^^^^^^^ +1->^^^^^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> -1 >import {A} from "./ref/a"; +1->import {A} from "./ref/a"; > -1 >Emitted(43, 13) Source(2, 1) + SourceIndex(1) +1->Emitted(43, 13) Source(2, 1) + SourceIndex(1) --- >>> __extends(B, _super); 1->^^^^^^^^^^^^^^^^ @@ -163,13 +155,6 @@ sourceFile:b.ts --- >>> exports_2("B", B); >>> } -1->^^^^^^^^ -2 > ^ -1-> -2 > -1->Emitted(51, 9) Source(2, 29) + SourceIndex(1) -2 >Emitted(51, 10) Source(2, 30) + SourceIndex(1) ---- >>> }; >>>}); >>>//# sourceMappingURL=all.js.map \ No newline at end of file diff --git a/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind.js b/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind.js index a705539797a50..09dcf512c3605 100644 --- a/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind.js +++ b/tests/baselines/reference/outModuleConcatUnspecifiedModuleKind.js @@ -7,4 +7,5 @@ export class A { } // module var x = 0; // global //// [out.js] +"use strict"; var x = 0; // global diff --git a/tests/baselines/reference/outModuleTripleSlashRefs.js b/tests/baselines/reference/outModuleTripleSlashRefs.js index 61027767a010e..b1b00993fa2fa 100644 --- a/tests/baselines/reference/outModuleTripleSlashRefs.js +++ b/tests/baselines/reference/outModuleTripleSlashRefs.js @@ -30,6 +30,7 @@ export class B extends A { } //// [all.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/outModuleTripleSlashRefs.js.map b/tests/baselines/reference/outModuleTripleSlashRefs.js.map index ae38a0fe94cc6..c601aeb3f763e 100644 --- a/tests/baselines/reference/outModuleTripleSlashRefs.js.map +++ b/tests/baselines/reference/outModuleTripleSlashRefs.js.map @@ -1,3 +1,3 @@ //// [all.js.map] -{"version":3,"file":"all.js","sourceRoot":"","sources":["ref/b.ts","ref/a.ts","b.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,iCAAiC;AACjC;IAAA;IAEA,CAAC;IAAD,UAAC;AAAD,CAAC,AAFD,IAEC;;;;;ICHD,+BAA+B;IAC/B;QAAA;QAEA,CAAC;QAAD,QAAC;IAAD,CAAC,AAFD,IAEC;IAFY,cAAC;;;;;;ICAd;QAAuB,qBAAC;QAAxB;;QAA2B,CAAC;QAAD,QAAC;IAAD,CAAC,AAA5B,CAAuB,KAAC,GAAI;IAAf,cAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9fZXh0ZW5kcyA9ICh0aGlzICYmIHRoaXMuX19leHRlbmRzKSB8fCAoZnVuY3Rpb24gKCkgew0KICAgIHZhciBleHRlbmRTdGF0aWNzID0gZnVuY3Rpb24gKGQsIGIpIHsNCiAgICAgICAgZXh0ZW5kU3RhdGljcyA9IE9iamVjdC5zZXRQcm90b3R5cGVPZiB8fA0KICAgICAgICAgICAgKHsgX19wcm90b19fOiBbXSB9IGluc3RhbmNlb2YgQXJyYXkgJiYgZnVuY3Rpb24gKGQsIGIpIHsgZC5fX3Byb3RvX18gPSBiOyB9KSB8fA0KICAgICAgICAgICAgZnVuY3Rpb24gKGQsIGIpIHsgZm9yICh2YXIgcCBpbiBiKSBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKGIsIHApKSBkW3BdID0gYltwXTsgfTsNCiAgICAgICAgcmV0dXJuIGV4dGVuZFN0YXRpY3MoZCwgYik7DQogICAgfTsNCiAgICByZXR1cm4gZnVuY3Rpb24gKGQsIGIpIHsNCiAgICAgICAgaWYgKHR5cGVvZiBiICE9PSAiZnVuY3Rpb24iICYmIGIg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UgcGF0aD0iLi9jLmQudHMiIC8+CmNsYXNzIEZvbyB7CgltZW1iZXI6IEJhcjsKfQpkZWNsYXJlIHZhciBHbG9iYWxGb286IEZvbzsK,Ly8vIDxyZWZlcmVuY2UgcGF0aD0iLi9iLnRzIiAvPgpleHBvcnQgY2xhc3MgQSB7CgltZW1iZXI6IHR5cGVvZiBHbG9iYWxGb287Cn0K,Ly8vIDxyZWZlcmVuY2UgcGF0aD0iLi9jLmQudHMiIC8+CmNsYXNzIEZvbyB7CgltZW1iZXI6IEJhcjsKfQpkZWNsYXJlIHZhciBHbG9iYWxGb286IEZvbzsK +{"version":3,"file":"all.js","sourceRoot":"","sources":["ref/b.ts","ref/a.ts","b.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iCAAiC;AACjC;IAAA;IAEA,CAAC;IAAD,UAAC;AAAD,CAAC,AAFD,IAEC;;;;;ICHD,+BAA+B;IAC/B;QAAA;QAEA,CAAC;QAAD,QAAC;IAAD,CAAC,AAFD,IAEC;IAFY,cAAC;;;;;;ICAd;QAAuB,qBAAC;QAAxB;;QAA2B,CAAC;QAAD,QAAC;IAAD,CAAC,AAA5B,CAAuB,KAAC,GAAI;IAAf,cAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIF9fZXh0ZW5kcyA9ICh0aGlzICYmIHRoaXMuX19leHRlbmRzKSB8fCAoZnVuY3Rpb24gKCkgew0KICAgIHZhciBleHRlbmRTdGF0aWNzID0gZnVuY3Rpb24gKGQsIGIpIHsNCiAgICAgICAgZXh0ZW5kU3RhdGljcyA9IE9iamVjdC5zZXRQcm90b3R5cGVPZiB8fA0KICAgICAgICAgICAgKHsgX19wcm90b19fOiBbXSB9IGluc3RhbmNlb2YgQXJyYXkgJiYgZnVuY3Rpb24gKGQsIGIpIHsgZC5fX3Byb3RvX18gPSBiOyB9KSB8fA0KICAgICAgICAgICAgZnVuY3Rpb24gKGQsIGIpIHsgZm9yICh2YXIgc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s7SUNIRCwrQkFBK0I7SUFDL0I7UUFBQTtRQUVBLENBQUM7UUFBRCxRQUFDO0lBQUQsQ0FBQyxBQUZELElBRUM7SUFGWSxjQUFDOzs7Ozs7SUNBZDtRQUF1QixxQkFBQztRQUF4Qjs7UUFBMkIsQ0FBQztRQUFELFFBQUM7SUFBRCxDQUFDLEFBQTVCLENBQXVCLEtBQUMsR0FBSTtJQUFmLGNBQUMifQ==,Ly8vIDxyZWZlcmVuY2UgcGF0aD0iLi9jLmQudHMiIC8+CmNsYXNzIEZvbyB7CgltZW1iZXI6IEJhcjsKfQpkZWNsYXJlIHZhciBHbG9iYWxGb286IEZvbzsK,Ly8vIDxyZWZlcmVuY2UgcGF0aD0iLi9iLnRzIiAvPgpleHBvcnQgY2xhc3MgQSB7CgltZW1iZXI6IHR5cGVvZiBHbG9iYWxGb287Cn0K,Ly8vIDxyZWZlcmVuY2UgcGF0aD0iLi9jLmQudHMiIC8+CmNsYXNzIEZvbyB7CgltZW1iZXI6IEJhcjsKfQpkZWNsYXJlIHZhciBHbG9iYWxGb286IEZvbzsK diff --git a/tests/baselines/reference/outModuleTripleSlashRefs.sourcemap.txt b/tests/baselines/reference/outModuleTripleSlashRefs.sourcemap.txt index 0e5b8630ceeb1..7f53b9586569a 100644 --- a/tests/baselines/reference/outModuleTripleSlashRefs.sourcemap.txt +++ b/tests/baselines/reference/outModuleTripleSlashRefs.sourcemap.txt @@ -8,6 +8,7 @@ sources: ref/b.ts,ref/a.ts,b.ts emittedFile:all.js sourceFile:ref/b.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var __extends = (this && this.__extends) || (function () { >>> var extendStatics = function (d, b) { >>> extendStatics = Object.setPrototypeOf || @@ -29,21 +30,21 @@ sourceFile:ref/b.ts 3 > ^^^^^^-> 1 > 2 >/// -1 >Emitted(16, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(16, 34) Source(1, 34) + SourceIndex(0) +1 >Emitted(17, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(17, 34) Source(1, 34) + SourceIndex(0) --- >>>var Foo = /** @class */ (function () { 1-> 2 >^^^^^^^^^^^^^^^^^^^^^-> 1-> > -1->Emitted(17, 1) Source(2, 1) + SourceIndex(0) +1->Emitted(18, 1) Source(2, 1) + SourceIndex(0) --- >>> function Foo() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(18, 5) Source(2, 1) + SourceIndex(0) +1->Emitted(19, 5) Source(2, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -53,16 +54,16 @@ sourceFile:ref/b.ts > member: Bar; > 2 > } -1->Emitted(19, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(19, 6) Source(4, 2) + SourceIndex(0) +1->Emitted(20, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(20, 6) Source(4, 2) + SourceIndex(0) --- >>> return Foo; 1->^^^^ 2 > ^^^^^^^^^^ 1-> 2 > } -1->Emitted(20, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(20, 15) Source(4, 2) + SourceIndex(0) +1->Emitted(21, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(21, 15) Source(4, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -76,10 +77,10 @@ sourceFile:ref/b.ts 4 > class Foo { > member: Bar; > } -1 >Emitted(21, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(21, 2) Source(4, 2) + SourceIndex(0) -3 >Emitted(21, 2) Source(2, 1) + SourceIndex(0) -4 >Emitted(21, 6) Source(4, 2) + SourceIndex(0) +1 >Emitted(22, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(22, 2) Source(4, 2) + SourceIndex(0) +3 >Emitted(22, 2) Source(2, 1) + SourceIndex(0) +4 >Emitted(22, 6) Source(4, 2) + SourceIndex(0) --- ------------------------------------------------------------------- emittedFile:all.js @@ -95,21 +96,21 @@ sourceFile:ref/a.ts 3 > ^^^^^^-> 1-> 2 > /// -1->Emitted(26, 5) Source(1, 1) + SourceIndex(1) -2 >Emitted(26, 36) Source(1, 32) + SourceIndex(1) +1->Emitted(27, 5) Source(1, 1) + SourceIndex(1) +2 >Emitted(27, 36) Source(1, 32) + SourceIndex(1) --- >>> var A = /** @class */ (function () { 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^^^-> 1-> > -1->Emitted(27, 5) Source(2, 1) + SourceIndex(1) +1->Emitted(28, 5) Source(2, 1) + SourceIndex(1) --- >>> function A() { 1->^^^^^^^^ 2 > ^^-> 1-> -1->Emitted(28, 9) Source(2, 1) + SourceIndex(1) +1->Emitted(29, 9) Source(2, 1) + SourceIndex(1) --- >>> } 1->^^^^^^^^ @@ -119,16 +120,16 @@ sourceFile:ref/a.ts > member: typeof GlobalFoo; > 2 > } -1->Emitted(29, 9) Source(4, 1) + SourceIndex(1) -2 >Emitted(29, 10) Source(4, 2) + SourceIndex(1) +1->Emitted(30, 9) Source(4, 1) + SourceIndex(1) +2 >Emitted(30, 10) Source(4, 2) + SourceIndex(1) --- >>> return A; 1->^^^^^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(30, 9) Source(4, 1) + SourceIndex(1) -2 >Emitted(30, 17) Source(4, 2) + SourceIndex(1) +1->Emitted(31, 9) Source(4, 1) + SourceIndex(1) +2 >Emitted(31, 17) Source(4, 2) + SourceIndex(1) --- >>> }()); 1 >^^^^ @@ -142,18 +143,18 @@ sourceFile:ref/a.ts 4 > export class A { > member: typeof GlobalFoo; > } -1 >Emitted(31, 5) Source(4, 1) + SourceIndex(1) -2 >Emitted(31, 6) Source(4, 2) + SourceIndex(1) -3 >Emitted(31, 6) Source(2, 1) + SourceIndex(1) -4 >Emitted(31, 10) Source(4, 2) + SourceIndex(1) +1 >Emitted(32, 5) Source(4, 1) + SourceIndex(1) +2 >Emitted(32, 6) Source(4, 2) + SourceIndex(1) +3 >Emitted(32, 6) Source(2, 1) + SourceIndex(1) +4 >Emitted(32, 10) Source(4, 2) + SourceIndex(1) --- >>> exports.A = A; 1->^^^^ 2 > ^^^^^^^^^^^^^^ 1-> 2 > A -1->Emitted(32, 5) Source(2, 14) + SourceIndex(1) -2 >Emitted(32, 19) Source(2, 15) + SourceIndex(1) +1->Emitted(33, 5) Source(2, 14) + SourceIndex(1) +2 >Emitted(33, 19) Source(2, 15) + SourceIndex(1) --- ------------------------------------------------------------------- emittedFile:all.js @@ -169,21 +170,21 @@ sourceFile:b.ts 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 >import {A} from "./ref/a"; > -1 >Emitted(38, 5) Source(2, 1) + SourceIndex(2) +1 >Emitted(39, 5) Source(2, 1) + SourceIndex(2) --- >>> __extends(B, _super); 1->^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^ 1->export class B extends 2 > A -1->Emitted(39, 9) Source(2, 24) + SourceIndex(2) -2 >Emitted(39, 30) Source(2, 25) + SourceIndex(2) +1->Emitted(40, 9) Source(2, 24) + SourceIndex(2) +2 >Emitted(40, 30) Source(2, 25) + SourceIndex(2) --- >>> function B() { 1 >^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(40, 9) Source(2, 1) + SourceIndex(2) +1 >Emitted(41, 9) Source(2, 1) + SourceIndex(2) --- >>> return _super !== null && _super.apply(this, arguments) || this; >>> } @@ -192,16 +193,16 @@ sourceFile:b.ts 3 > ^^^^^^^^^-> 1->export class B extends A { 2 > } -1->Emitted(42, 9) Source(2, 28) + SourceIndex(2) -2 >Emitted(42, 10) Source(2, 29) + SourceIndex(2) +1->Emitted(43, 9) Source(2, 28) + SourceIndex(2) +2 >Emitted(43, 10) Source(2, 29) + SourceIndex(2) --- >>> return B; 1->^^^^^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(43, 9) Source(2, 28) + SourceIndex(2) -2 >Emitted(43, 17) Source(2, 29) + SourceIndex(2) +1->Emitted(44, 9) Source(2, 28) + SourceIndex(2) +2 >Emitted(44, 17) Source(2, 29) + SourceIndex(2) --- >>> }(a_1.A)); 1 >^^^^ @@ -217,20 +218,20 @@ sourceFile:b.ts 4 > export class B extends 5 > A 6 > { } -1 >Emitted(44, 5) Source(2, 28) + SourceIndex(2) -2 >Emitted(44, 6) Source(2, 29) + SourceIndex(2) -3 >Emitted(44, 6) Source(2, 1) + SourceIndex(2) -4 >Emitted(44, 7) Source(2, 24) + SourceIndex(2) -5 >Emitted(44, 12) Source(2, 25) + SourceIndex(2) -6 >Emitted(44, 15) Source(2, 29) + SourceIndex(2) +1 >Emitted(45, 5) Source(2, 28) + SourceIndex(2) +2 >Emitted(45, 6) Source(2, 29) + SourceIndex(2) +3 >Emitted(45, 6) Source(2, 1) + SourceIndex(2) +4 >Emitted(45, 7) Source(2, 24) + SourceIndex(2) +5 >Emitted(45, 12) Source(2, 25) + SourceIndex(2) +6 >Emitted(45, 15) Source(2, 29) + SourceIndex(2) --- >>> exports.B = B; 1->^^^^ 2 > ^^^^^^^^^^^^^^ 1-> 2 > B -1->Emitted(45, 5) Source(2, 14) + SourceIndex(2) -2 >Emitted(45, 19) Source(2, 15) + SourceIndex(2) +1->Emitted(46, 5) Source(2, 14) + SourceIndex(2) +2 >Emitted(46, 19) Source(2, 15) + SourceIndex(2) --- >>>}); >>>//# sourceMappingURL=all.js.map \ No newline at end of file diff --git a/tests/baselines/reference/overEagerReturnTypeSpecialization.js b/tests/baselines/reference/overEagerReturnTypeSpecialization.js index 5576b1efc704e..65e84f668bbd4 100644 --- a/tests/baselines/reference/overEagerReturnTypeSpecialization.js +++ b/tests/baselines/reference/overEagerReturnTypeSpecialization.js @@ -17,6 +17,7 @@ var r2: I1 = v1.func(num => num.toString()) // Correctly returns an I1 .func(function (str) { return str.length; }); // should error diff --git a/tests/baselines/reference/overload1.js b/tests/baselines/reference/overload1.js index cf329f6380f88..a49c0ef007bed 100644 --- a/tests/baselines/reference/overload1.js +++ b/tests/baselines/reference/overload1.js @@ -42,6 +42,7 @@ var v=x.g; //// [overload1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overload2.js b/tests/baselines/reference/overload2.js index d62bd6c143bb8..9df0632d76cdf 100644 --- a/tests/baselines/reference/overload2.js +++ b/tests/baselines/reference/overload2.js @@ -19,6 +19,7 @@ function foo1(x: number) { //// [overload2.js] +"use strict"; var A; (function (A) { })(A || (A = {})); diff --git a/tests/baselines/reference/overloadAssignmentCompat.js b/tests/baselines/reference/overloadAssignmentCompat.js index f65f0720d9f08..ddc0059ab9aa4 100644 --- a/tests/baselines/reference/overloadAssignmentCompat.js +++ b/tests/baselines/reference/overloadAssignmentCompat.js @@ -40,6 +40,7 @@ function foo():string { return "a" }; //// [overloadAssignmentCompat.js] +"use strict"; // ok - overload signatures are assignment compatible with their implementation var Accessor = /** @class */ (function () { function Accessor() { diff --git a/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries.js b/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries.js index ec9ce189ccebb..c22f9ca1d4bd7 100644 --- a/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries.js +++ b/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries.js @@ -37,6 +37,7 @@ var a1 = a({}); var a1 = new a({}); //// [overloadBindingAcrossDeclarationBoundaries.js] +"use strict"; var a; // These should all be Opt3 var a1 = a.a({}); diff --git a/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries2.js b/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries2.js index f2eb0d6b886b3..1e0cb05cdcb95 100644 --- a/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries2.js +++ b/tests/baselines/reference/overloadBindingAcrossDeclarationBoundaries2.js @@ -40,7 +40,9 @@ var a1 = a({}); var a1 = new a({}); //// [overloadBindingAcrossDeclarationBoundaries_file0.js] +"use strict"; //// [overloadBindingAcrossDeclarationBoundaries_file1.js] +"use strict"; var a; // These should all be Opt3 var a1 = a.a({}); diff --git a/tests/baselines/reference/overloadCallTest.js b/tests/baselines/reference/overloadCallTest.js index eb3e442201321..bb83109c03a13 100644 --- a/tests/baselines/reference/overloadCallTest.js +++ b/tests/baselines/reference/overloadCallTest.js @@ -18,6 +18,7 @@ class foo { //// [overloadCallTest.js] +"use strict"; var foo = /** @class */ (function () { function foo() { function bar(foo) { return "foo"; } diff --git a/tests/baselines/reference/overloadConsecutiveness.js b/tests/baselines/reference/overloadConsecutiveness.js index 463319d168683..d1a1370ced184 100644 --- a/tests/baselines/reference/overloadConsecutiveness.js +++ b/tests/baselines/reference/overloadConsecutiveness.js @@ -15,6 +15,7 @@ class C { //// [overloadConsecutiveness.js] +"use strict"; // Making sure compiler won't break with declarations that are consecutive in the AST but not consecutive in the source. Syntax errors intentional. function f1() { } function f2() { } diff --git a/tests/baselines/reference/overloadCrash.js b/tests/baselines/reference/overloadCrash.js index ec18f47d03f0a..3b63bb7e6220d 100644 --- a/tests/baselines/reference/overloadCrash.js +++ b/tests/baselines/reference/overloadCrash.js @@ -14,6 +14,7 @@ foo(i3, i3); // should not crash the compiler :) //// [overloadCrash.js] +"use strict"; ; ; ; diff --git a/tests/baselines/reference/overloadEquivalenceWithStatics.js b/tests/baselines/reference/overloadEquivalenceWithStatics.js index 54432bd45ba8b..c52549cd1383f 100644 --- a/tests/baselines/reference/overloadEquivalenceWithStatics.js +++ b/tests/baselines/reference/overloadEquivalenceWithStatics.js @@ -11,6 +11,7 @@ return null; //// [overloadEquivalenceWithStatics.js] +"use strict"; var A1 = /** @class */ (function () { function A1() { } diff --git a/tests/baselines/reference/overloadErrorMatchesImplementationElaboaration.js b/tests/baselines/reference/overloadErrorMatchesImplementationElaboaration.js index 5766b5d61fe7e..fb15536361a8e 100644 --- a/tests/baselines/reference/overloadErrorMatchesImplementationElaboaration.js +++ b/tests/baselines/reference/overloadErrorMatchesImplementationElaboaration.js @@ -11,6 +11,7 @@ declare var ea: EventAggregator; ea.publish([1,2,3]); //// [overloadErrorMatchesImplementationElaboaration.js] +"use strict"; var EventAggregator = /** @class */ (function () { function EventAggregator() { } diff --git a/tests/baselines/reference/overloadGenericFunctionWithRestArgs.js b/tests/baselines/reference/overloadGenericFunctionWithRestArgs.js index 58fb0246c2fd0..0072074f4967e 100644 --- a/tests/baselines/reference/overloadGenericFunctionWithRestArgs.js +++ b/tests/baselines/reference/overloadGenericFunctionWithRestArgs.js @@ -13,6 +13,7 @@ function Choice(...v_args: T[]): A { } //// [overloadGenericFunctionWithRestArgs.js] +"use strict"; var B = /** @class */ (function () { function B() { } diff --git a/tests/baselines/reference/overloadOnConstAsTypeAnnotation.js b/tests/baselines/reference/overloadOnConstAsTypeAnnotation.js index 9998181906981..ecd8cd19cea1f 100644 --- a/tests/baselines/reference/overloadOnConstAsTypeAnnotation.js +++ b/tests/baselines/reference/overloadOnConstAsTypeAnnotation.js @@ -4,4 +4,5 @@ var f: (x: 'hi') => number = (x: 'hi') => { return 1; }; //// [overloadOnConstAsTypeAnnotation.js] +"use strict"; var f = function (x) { return 1; }; diff --git a/tests/baselines/reference/overloadOnConstConstraintChecks1.js b/tests/baselines/reference/overloadOnConstConstraintChecks1.js index f4d887859a386..885cc3058bd2c 100644 --- a/tests/baselines/reference/overloadOnConstConstraintChecks1.js +++ b/tests/baselines/reference/overloadOnConstConstraintChecks1.js @@ -25,6 +25,7 @@ class D implements MyDoc { } //// [overloadOnConstConstraintChecks1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overloadOnConstConstraintChecks2.js b/tests/baselines/reference/overloadOnConstConstraintChecks2.js index 02f83dd1724a9..3b0d8747e6b92 100644 --- a/tests/baselines/reference/overloadOnConstConstraintChecks2.js +++ b/tests/baselines/reference/overloadOnConstConstraintChecks2.js @@ -14,6 +14,7 @@ function foo(name: any): A { } //// [overloadOnConstConstraintChecks2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overloadOnConstConstraintChecks3.js b/tests/baselines/reference/overloadOnConstConstraintChecks3.js index 5572746043ed1..bc1d8df706110 100644 --- a/tests/baselines/reference/overloadOnConstConstraintChecks3.js +++ b/tests/baselines/reference/overloadOnConstConstraintChecks3.js @@ -15,6 +15,7 @@ function foo(name: any): A { //// [overloadOnConstConstraintChecks3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overloadOnConstConstraintChecks4.js b/tests/baselines/reference/overloadOnConstConstraintChecks4.js index 57db40ed181b4..850f01ef46180 100644 --- a/tests/baselines/reference/overloadOnConstConstraintChecks4.js +++ b/tests/baselines/reference/overloadOnConstConstraintChecks4.js @@ -16,6 +16,7 @@ function foo(name: any): Z { //// [overloadOnConstConstraintChecks4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overloadOnConstDuplicateOverloads1.js b/tests/baselines/reference/overloadOnConstDuplicateOverloads1.js index f4336e45260b3..d17661b785291 100644 --- a/tests/baselines/reference/overloadOnConstDuplicateOverloads1.js +++ b/tests/baselines/reference/overloadOnConstDuplicateOverloads1.js @@ -13,6 +13,7 @@ function foo2(a: any, x: any) { } //// [overloadOnConstDuplicateOverloads1.js] +"use strict"; function foo(a, x) { } function foo2(a, x) { diff --git a/tests/baselines/reference/overloadOnConstInBaseWithBadImplementationInDerived.js b/tests/baselines/reference/overloadOnConstInBaseWithBadImplementationInDerived.js index 231c00d691c24..61a62d7de86da 100644 --- a/tests/baselines/reference/overloadOnConstInBaseWithBadImplementationInDerived.js +++ b/tests/baselines/reference/overloadOnConstInBaseWithBadImplementationInDerived.js @@ -11,6 +11,7 @@ class C implements I { } //// [overloadOnConstInBaseWithBadImplementationInDerived.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/overloadOnConstInCallback1.js b/tests/baselines/reference/overloadOnConstInCallback1.js index 788395ee601b5..5b1ae3cbf7aec 100644 --- a/tests/baselines/reference/overloadOnConstInCallback1.js +++ b/tests/baselines/reference/overloadOnConstInCallback1.js @@ -12,6 +12,7 @@ class C { } //// [overloadOnConstInCallback1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/overloadOnConstInObjectLiteralImplementingAnInterface.js b/tests/baselines/reference/overloadOnConstInObjectLiteralImplementingAnInterface.js index 381fd07fc05ab..fe31b58dc6490 100644 --- a/tests/baselines/reference/overloadOnConstInObjectLiteralImplementingAnInterface.js +++ b/tests/baselines/reference/overloadOnConstInObjectLiteralImplementingAnInterface.js @@ -8,4 +8,5 @@ interface I { var i2: I = { x1: (a: number, cb: (x: 'hi') => number) => { } }; // error //// [overloadOnConstInObjectLiteralImplementingAnInterface.js] +"use strict"; var i2 = { x1: function (a, cb) { } }; // error diff --git a/tests/baselines/reference/overloadOnConstInheritance1.js b/tests/baselines/reference/overloadOnConstInheritance1.js index addab839b3d3a..ac8ad2862ca12 100644 --- a/tests/baselines/reference/overloadOnConstInheritance1.js +++ b/tests/baselines/reference/overloadOnConstInheritance1.js @@ -12,3 +12,4 @@ interface Deriver extends Base { //// [overloadOnConstInheritance1.js] +"use strict"; diff --git a/tests/baselines/reference/overloadOnConstInheritance2.js b/tests/baselines/reference/overloadOnConstInheritance2.js index c08fbbd77ac26..1c45ad8b6d4dd 100644 --- a/tests/baselines/reference/overloadOnConstInheritance2.js +++ b/tests/baselines/reference/overloadOnConstInheritance2.js @@ -11,3 +11,4 @@ interface Deriver extends Base { //// [overloadOnConstInheritance2.js] +"use strict"; diff --git a/tests/baselines/reference/overloadOnConstInheritance3.js b/tests/baselines/reference/overloadOnConstInheritance3.js index b1b7d172dee81..89388f53b980b 100644 --- a/tests/baselines/reference/overloadOnConstInheritance3.js +++ b/tests/baselines/reference/overloadOnConstInheritance3.js @@ -12,3 +12,4 @@ interface Deriver extends Base { //// [overloadOnConstInheritance3.js] +"use strict"; diff --git a/tests/baselines/reference/overloadOnConstInheritance4.js b/tests/baselines/reference/overloadOnConstInheritance4.js index 8cfca8bddd88f..d9c21a89a51cf 100644 --- a/tests/baselines/reference/overloadOnConstInheritance4.js +++ b/tests/baselines/reference/overloadOnConstInheritance4.js @@ -12,6 +12,7 @@ class C implements I { //// [overloadOnConstInheritance4.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/overloadOnConstNoAnyImplementation.js b/tests/baselines/reference/overloadOnConstNoAnyImplementation.js index 7400e1492bb8e..ec864afda9bbf 100644 --- a/tests/baselines/reference/overloadOnConstNoAnyImplementation.js +++ b/tests/baselines/reference/overloadOnConstNoAnyImplementation.js @@ -18,6 +18,7 @@ x1(1, (x: 'hi') => 1); // error x1(1, (x: string) => 1); //// [overloadOnConstNoAnyImplementation.js] +"use strict"; function x1(a, cb) { cb('hi'); cb('bye'); diff --git a/tests/baselines/reference/overloadOnConstNoAnyImplementation2.js b/tests/baselines/reference/overloadOnConstNoAnyImplementation2.js index b4a3c6c027fc2..5e65cc8e60426 100644 --- a/tests/baselines/reference/overloadOnConstNoAnyImplementation2.js +++ b/tests/baselines/reference/overloadOnConstNoAnyImplementation2.js @@ -24,6 +24,7 @@ c.x1(1, (x) => { return 1; } ); c.x1(1, (x: number) => { return 1; } ); //// [overloadOnConstNoAnyImplementation2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/overloadOnConstNoNonSpecializedSignature.js b/tests/baselines/reference/overloadOnConstNoNonSpecializedSignature.js index a45f300c7e367..7cd5f7d791c7d 100644 --- a/tests/baselines/reference/overloadOnConstNoNonSpecializedSignature.js +++ b/tests/baselines/reference/overloadOnConstNoNonSpecializedSignature.js @@ -8,6 +8,7 @@ class C { //// [overloadOnConstNoNonSpecializedSignature.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/overloadOnConstNoStringImplementation.js b/tests/baselines/reference/overloadOnConstNoStringImplementation.js index 9053b47ba8d46..8ea3a8f946efa 100644 --- a/tests/baselines/reference/overloadOnConstNoStringImplementation.js +++ b/tests/baselines/reference/overloadOnConstNoStringImplementation.js @@ -18,6 +18,7 @@ x2(1, (x: 'hi') => 1); // error x2(1, (x: string) => 1); //// [overloadOnConstNoStringImplementation.js] +"use strict"; function x2(a, cb) { cb('hi'); cb('bye'); diff --git a/tests/baselines/reference/overloadOnConstNoStringImplementation2.js b/tests/baselines/reference/overloadOnConstNoStringImplementation2.js index e95d2280a223e..d840ea51abc70 100644 --- a/tests/baselines/reference/overloadOnConstNoStringImplementation2.js +++ b/tests/baselines/reference/overloadOnConstNoStringImplementation2.js @@ -23,6 +23,7 @@ c.x1(1, (x: string) => { return 1; } ); c.x1(1, (x: number) => { return 1; } ); //// [overloadOnConstNoStringImplementation2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/overloadOnConstantsInvalidOverload1.js b/tests/baselines/reference/overloadOnConstantsInvalidOverload1.js index 234b45ff4bef6..0eb19a18730d3 100644 --- a/tests/baselines/reference/overloadOnConstantsInvalidOverload1.js +++ b/tests/baselines/reference/overloadOnConstantsInvalidOverload1.js @@ -14,6 +14,7 @@ function foo(name: "DIV"): Derived2 { foo("HI"); //// [overloadOnConstantsInvalidOverload1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overloadOnGenericArity.js b/tests/baselines/reference/overloadOnGenericArity.js index f0c44798e862f..003b314b7ac45 100644 --- a/tests/baselines/reference/overloadOnGenericArity.js +++ b/tests/baselines/reference/overloadOnGenericArity.js @@ -9,3 +9,4 @@ interface Test { //// [overloadOnGenericArity.js] +"use strict"; diff --git a/tests/baselines/reference/overloadOnGenericClassAndNonGenericClass.js b/tests/baselines/reference/overloadOnGenericClassAndNonGenericClass.js index 1e932fbdbcc89..0d085e8c4604e 100644 --- a/tests/baselines/reference/overloadOnGenericClassAndNonGenericClass.js +++ b/tests/baselines/reference/overloadOnGenericClassAndNonGenericClass.js @@ -19,6 +19,7 @@ var t3: A; // should not error //// [overloadOnGenericClassAndNonGenericClass.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/overloadResolution.js b/tests/baselines/reference/overloadResolution.js index cf57a97e2a6a3..95d021d04793b 100644 --- a/tests/baselines/reference/overloadResolution.js +++ b/tests/baselines/reference/overloadResolution.js @@ -97,6 +97,7 @@ var s = fn5((n) => n.substr(0)); //// [overloadResolution.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overloadResolutionClassConstructors.js b/tests/baselines/reference/overloadResolutionClassConstructors.js index 6458cb28fd07a..f93f0a34aa45e 100644 --- a/tests/baselines/reference/overloadResolutionClassConstructors.js +++ b/tests/baselines/reference/overloadResolutionClassConstructors.js @@ -104,6 +104,7 @@ new fn5((n) => n.blah); // Error //// [overloadResolutionClassConstructors.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overloadResolutionConstructors.js b/tests/baselines/reference/overloadResolutionConstructors.js index 0b02b6f757370..bc9be94286b64 100644 --- a/tests/baselines/reference/overloadResolutionConstructors.js +++ b/tests/baselines/reference/overloadResolutionConstructors.js @@ -105,6 +105,7 @@ var s = new fn5((n) => n.substr(0)); //// [overloadResolutionConstructors.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overloadResolutionOnDefaultConstructor1.js b/tests/baselines/reference/overloadResolutionOnDefaultConstructor1.js index 2344949ad74e9..166f57ffd080b 100644 --- a/tests/baselines/reference/overloadResolutionOnDefaultConstructor1.js +++ b/tests/baselines/reference/overloadResolutionOnDefaultConstructor1.js @@ -8,6 +8,7 @@ class Bar { } //// [overloadResolutionOnDefaultConstructor1.js] +"use strict"; var Bar = /** @class */ (function () { function Bar() { } diff --git a/tests/baselines/reference/overloadResolutionOverCTLambda.js b/tests/baselines/reference/overloadResolutionOverCTLambda.js index 90d0d3e417dbe..6b9b6732e2d87 100644 --- a/tests/baselines/reference/overloadResolutionOverCTLambda.js +++ b/tests/baselines/reference/overloadResolutionOverCTLambda.js @@ -5,5 +5,6 @@ function foo(b: (item: number) => boolean) { } foo(a => a); // can not convert (number)=>bool to (number)=>number //// [overloadResolutionOverCTLambda.js] +"use strict"; function foo(b) { } foo(function (a) { return a; }); // can not convert (number)=>bool to (number)=>number diff --git a/tests/baselines/reference/overloadResolutionOverNonCTLambdas.js b/tests/baselines/reference/overloadResolutionOverNonCTLambdas.js index b2ee832bf2f86..545b4f52d75a9 100644 --- a/tests/baselines/reference/overloadResolutionOverNonCTLambdas.js +++ b/tests/baselines/reference/overloadResolutionOverNonCTLambdas.js @@ -26,6 +26,7 @@ bug3(fprime); bug3(function(x:string):string { return x; }); //// [overloadResolutionOverNonCTLambdas.js] +"use strict"; var Bugs; (function (Bugs) { var A = /** @class */ (function () { diff --git a/tests/baselines/reference/overloadResolutionOverNonCTObjectLit.js b/tests/baselines/reference/overloadResolutionOverNonCTObjectLit.js index 2afecc89ef3ac..69e95994090a3 100644 --- a/tests/baselines/reference/overloadResolutionOverNonCTObjectLit.js +++ b/tests/baselines/reference/overloadResolutionOverNonCTObjectLit.js @@ -24,6 +24,7 @@ namespace Bugs { } //// [overloadResolutionOverNonCTObjectLit.js] +"use strict"; var Bugs; (function (Bugs) { function bug3() { diff --git a/tests/baselines/reference/overloadResolutionTest1.js b/tests/baselines/reference/overloadResolutionTest1.js index 3b802759d53f3..cc469f9f6af74 100644 --- a/tests/baselines/reference/overloadResolutionTest1.js +++ b/tests/baselines/reference/overloadResolutionTest1.js @@ -27,6 +27,7 @@ function foo4(bar:{a:any;}):any{ return bar }; var x = foo4({a:true}); // error //// [overloadResolutionTest1.js] +"use strict"; function foo(bar) { return bar; } ; var x1 = foo([{ a: true }]); // works diff --git a/tests/baselines/reference/overloadResolutionWithAny.js b/tests/baselines/reference/overloadResolutionWithAny.js index 355dc68a00e6d..e5ced1527508b 100644 --- a/tests/baselines/reference/overloadResolutionWithAny.js +++ b/tests/baselines/reference/overloadResolutionWithAny.js @@ -24,6 +24,7 @@ func2(x, ""); // boolean func2("", x); // RegExp //// [overloadResolutionWithAny.js] +"use strict"; var func; func(""); // number func(3); // string diff --git a/tests/baselines/reference/overloadRet.js b/tests/baselines/reference/overloadRet.js index 34340911c2233..15b1ba9a61979 100644 --- a/tests/baselines/reference/overloadRet.js +++ b/tests/baselines/reference/overloadRet.js @@ -13,3 +13,4 @@ interface I { } //// [overloadRet.js] +"use strict"; diff --git a/tests/baselines/reference/overloadReturnTypes.js b/tests/baselines/reference/overloadReturnTypes.js index aa2716eb0fc45..e976520a002cf 100644 --- a/tests/baselines/reference/overloadReturnTypes.js +++ b/tests/baselines/reference/overloadReturnTypes.js @@ -26,6 +26,7 @@ interface IFace { //// [overloadReturnTypes.js] +"use strict"; var Accessor = /** @class */ (function () { function Accessor() { } diff --git a/tests/baselines/reference/overloadWithCallbacksWithDifferingOptionalityOnArgs.js b/tests/baselines/reference/overloadWithCallbacksWithDifferingOptionalityOnArgs.js index 425bb1f0e2e9d..81c7679c89b21 100644 --- a/tests/baselines/reference/overloadWithCallbacksWithDifferingOptionalityOnArgs.js +++ b/tests/baselines/reference/overloadWithCallbacksWithDifferingOptionalityOnArgs.js @@ -9,6 +9,7 @@ x2((x) => 1 ); //// [overloadWithCallbacksWithDifferingOptionalityOnArgs.js] +"use strict"; function x2(callback) { } x2(function () { return 1; }); x2(function (x) { return 1; }); diff --git a/tests/baselines/reference/overloadedStaticMethodSpecialization.js b/tests/baselines/reference/overloadedStaticMethodSpecialization.js index ebc6f765a92a6..c01216728227e 100644 --- a/tests/baselines/reference/overloadedStaticMethodSpecialization.js +++ b/tests/baselines/reference/overloadedStaticMethodSpecialization.js @@ -11,6 +11,7 @@ class A { //// [overloadedStaticMethodSpecialization.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/overloadingOnConstants1.js b/tests/baselines/reference/overloadingOnConstants1.js index 1c222af9a3d7e..6df3bc2b94ea9 100644 --- a/tests/baselines/reference/overloadingOnConstants1.js +++ b/tests/baselines/reference/overloadingOnConstants1.js @@ -28,6 +28,7 @@ var htmlDivElement2: Derived1 = d2.createElement("div"); var htmlSpanElement2: Derived1 = d2.createElement("span"); //// [overloadingOnConstants1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overloadingOnConstants2.js b/tests/baselines/reference/overloadingOnConstants2.js index ad3905ada3dce..5e7d33b76c34f 100644 --- a/tests/baselines/reference/overloadingOnConstants2.js +++ b/tests/baselines/reference/overloadingOnConstants2.js @@ -30,6 +30,7 @@ var e: E = bar("bye", []); // E var f: C = bar("um", []); // C //// [overloadingOnConstants2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overloadingOnConstantsInImplementation.js b/tests/baselines/reference/overloadingOnConstantsInImplementation.js index 47f9b0a1b914d..9e18c248b061c 100644 --- a/tests/baselines/reference/overloadingOnConstantsInImplementation.js +++ b/tests/baselines/reference/overloadingOnConstantsInImplementation.js @@ -7,5 +7,6 @@ function foo(a: 'hi', x: any) { } //// [overloadingOnConstantsInImplementation.js] +"use strict"; function foo(a, x) { } diff --git a/tests/baselines/reference/overloadingStaticFunctionsInFunctions.js b/tests/baselines/reference/overloadingStaticFunctionsInFunctions.js index 847fab8444dac..c0f11c4ccb5c3 100644 --- a/tests/baselines/reference/overloadingStaticFunctionsInFunctions.js +++ b/tests/baselines/reference/overloadingStaticFunctionsInFunctions.js @@ -8,6 +8,7 @@ function boo { } //// [overloadingStaticFunctionsInFunctions.js] +"use strict"; function boo() { test(); test(name, string); diff --git a/tests/baselines/reference/overloadresolutionWithConstraintCheckingDeferred.js b/tests/baselines/reference/overloadresolutionWithConstraintCheckingDeferred.js index 7e87d422609ab..b897315cba847 100644 --- a/tests/baselines/reference/overloadresolutionWithConstraintCheckingDeferred.js +++ b/tests/baselines/reference/overloadresolutionWithConstraintCheckingDeferred.js @@ -25,6 +25,7 @@ var result3: string = foo(x => { // x has type D //// [overloadresolutionWithConstraintCheckingDeferred.js] +"use strict"; var G = /** @class */ (function () { function G(x) { } diff --git a/tests/baselines/reference/overloadsAndTypeArgumentArity.js b/tests/baselines/reference/overloadsAndTypeArgumentArity.js index 4c3592266cc93..ee20b480e1285 100644 --- a/tests/baselines/reference/overloadsAndTypeArgumentArity.js +++ b/tests/baselines/reference/overloadsAndTypeArgumentArity.js @@ -10,5 +10,6 @@ Callbacks('s'); // no error new Callbacks('s'); // no error //// [overloadsAndTypeArgumentArity.js] +"use strict"; Callbacks('s'); // no error new Callbacks('s'); // no error diff --git a/tests/baselines/reference/overloadsAndTypeArgumentArityErrors.js b/tests/baselines/reference/overloadsAndTypeArgumentArityErrors.js index 09f1f99000e52..8557e9ed4d618 100644 --- a/tests/baselines/reference/overloadsAndTypeArgumentArityErrors.js +++ b/tests/baselines/reference/overloadsAndTypeArgumentArityErrors.js @@ -13,6 +13,7 @@ f(); // wrong number of arguments (#25683) //// [overloadsAndTypeArgumentArityErrors.js] +"use strict"; Callbacks('s'); // wrong number of type arguments new Callbacks('s'); // wrong number of type arguments f(); // wrong number of arguments (#25683) diff --git a/tests/baselines/reference/overloadsInDifferentContainersDisagreeOnAmbient.js b/tests/baselines/reference/overloadsInDifferentContainersDisagreeOnAmbient.js index bea304463ad93..0249e92eaa1c8 100644 --- a/tests/baselines/reference/overloadsInDifferentContainersDisagreeOnAmbient.js +++ b/tests/baselines/reference/overloadsInDifferentContainersDisagreeOnAmbient.js @@ -11,6 +11,7 @@ namespace M { } //// [overloadsInDifferentContainersDisagreeOnAmbient.js] +"use strict"; var M; (function (M) { function f() { } diff --git a/tests/baselines/reference/overloadsWithComputedNames.js b/tests/baselines/reference/overloadsWithComputedNames.js index 1b5cef9baf838..4e0c0c32ce796 100644 --- a/tests/baselines/reference/overloadsWithComputedNames.js +++ b/tests/baselines/reference/overloadsWithComputedNames.js @@ -64,6 +64,7 @@ interface I3 { } //// [overloadsWithComputedNames.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/52329 var Person = /** @class */ (function () { function Person() { diff --git a/tests/baselines/reference/overloadsWithConstraints.js b/tests/baselines/reference/overloadsWithConstraints.js index 101776561d3e8..f368506d567dd 100644 --- a/tests/baselines/reference/overloadsWithConstraints.js +++ b/tests/baselines/reference/overloadsWithConstraints.js @@ -7,4 +7,5 @@ declare function f(x: T): T var v = f(""); //// [overloadsWithConstraints.js] +"use strict"; var v = f(""); diff --git a/tests/baselines/reference/overloadsWithProvisionalErrors.js b/tests/baselines/reference/overloadsWithProvisionalErrors.js index 0b7cbd109b015..0a615bc7abb51 100644 --- a/tests/baselines/reference/overloadsWithProvisionalErrors.js +++ b/tests/baselines/reference/overloadsWithProvisionalErrors.js @@ -11,6 +11,7 @@ func(s => ({ a: blah, b: 3 })); // Only error inside the function, but not outsi func(s => ({ a: blah })); // Two errors here, one for blah not being defined, and one for the overload since it would not be applicable anyway //// [overloadsWithProvisionalErrors.js] +"use strict"; func(function (s) { return ({}); }); // Error for no applicable overload (object type is missing a and b) func(function (s) { return ({ a: blah, b: 3 }); }); // Only error inside the function, but not outside (since it would be applicable if not for the provisional error) func(function (s) { return ({ a: blah }); }); // Two errors here, one for blah not being defined, and one for the overload since it would not be applicable anyway diff --git a/tests/baselines/reference/overloadsWithinClasses.js b/tests/baselines/reference/overloadsWithinClasses.js index def96a76c4080..dcae048c325c8 100644 --- a/tests/baselines/reference/overloadsWithinClasses.js +++ b/tests/baselines/reference/overloadsWithinClasses.js @@ -26,6 +26,7 @@ class X { //// [overloadsWithinClasses.js] +"use strict"; var foo = /** @class */ (function () { function foo() { } diff --git a/tests/baselines/reference/override1.js b/tests/baselines/reference/override1.js index 6ad18ccc5a119..6496e8e19da35 100644 --- a/tests/baselines/reference/override1.js +++ b/tests/baselines/reference/override1.js @@ -47,6 +47,7 @@ function ff () { } //// [override1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/override10.js b/tests/baselines/reference/override10.js index 05439eaae5180..6eac96c6266d3 100644 --- a/tests/baselines/reference/override10.js +++ b/tests/baselines/reference/override10.js @@ -12,6 +12,7 @@ abstract class Sub extends Base { } //// [override10.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/override11.js b/tests/baselines/reference/override11.js index dfc32fb8c7bba..1d134037a6aa5 100644 --- a/tests/baselines/reference/override11.js +++ b/tests/baselines/reference/override11.js @@ -13,6 +13,7 @@ class Sub extends Base { //// [override11.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/override12(target=es2015).js b/tests/baselines/reference/override12(target=es2015).js index e0caab07e022b..1c184c94a6bdf 100644 --- a/tests/baselines/reference/override12(target=es2015).js +++ b/tests/baselines/reference/override12(target=es2015).js @@ -27,6 +27,7 @@ class B extends A { //// [override12.js] +"use strict"; class A { m1() { return 0; diff --git a/tests/baselines/reference/override12(target=esnext).js b/tests/baselines/reference/override12(target=esnext).js index e0caab07e022b..1c184c94a6bdf 100644 --- a/tests/baselines/reference/override12(target=esnext).js +++ b/tests/baselines/reference/override12(target=esnext).js @@ -27,6 +27,7 @@ class B extends A { //// [override12.js] +"use strict"; class A { m1() { return 0; diff --git a/tests/baselines/reference/override13.js b/tests/baselines/reference/override13.js index 73f1306e1e644..09bd643b6fb7e 100644 --- a/tests/baselines/reference/override13.js +++ b/tests/baselines/reference/override13.js @@ -29,6 +29,7 @@ class StaticDerived extends Intermediate { } //// [override13.js] +"use strict"; class Foo { property = 1; static staticProperty = 2; diff --git a/tests/baselines/reference/override14.js b/tests/baselines/reference/override14.js index e0e3a205bba94..08a091adf668a 100644 --- a/tests/baselines/reference/override14.js +++ b/tests/baselines/reference/override14.js @@ -11,6 +11,7 @@ class SubFoo extends Foo { //// [override14.js] +"use strict"; class Foo { property = 1; } diff --git a/tests/baselines/reference/override15.js b/tests/baselines/reference/override15.js index a299eef159d5b..7fd99cf90df1c 100644 --- a/tests/baselines/reference/override15.js +++ b/tests/baselines/reference/override15.js @@ -11,6 +11,7 @@ class B extends A { //// [override15.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/override16(target=es2015).js b/tests/baselines/reference/override16(target=es2015).js index dead8f79191a5..cca35a35637ba 100644 --- a/tests/baselines/reference/override16(target=es2015).js +++ b/tests/baselines/reference/override16(target=es2015).js @@ -11,6 +11,7 @@ class B extends A { //// [override16.js] +"use strict"; class A { } class B extends A { diff --git a/tests/baselines/reference/override16(target=esnext).js b/tests/baselines/reference/override16(target=esnext).js index 7379a5f063b9a..4a50b34140720 100644 --- a/tests/baselines/reference/override16(target=esnext).js +++ b/tests/baselines/reference/override16(target=esnext).js @@ -11,6 +11,7 @@ class B extends A { //// [override16.js] +"use strict"; class A { foo; } diff --git a/tests/baselines/reference/override17(target=es2015).js b/tests/baselines/reference/override17(target=es2015).js index c6525d5cd7424..618f8b31f4d3a 100644 --- a/tests/baselines/reference/override17(target=es2015).js +++ b/tests/baselines/reference/override17(target=es2015).js @@ -27,6 +27,7 @@ class B extends A { //// [override17.js] +"use strict"; class A { m1() { return 0; diff --git a/tests/baselines/reference/override17(target=esnext).js b/tests/baselines/reference/override17(target=esnext).js index c6525d5cd7424..618f8b31f4d3a 100644 --- a/tests/baselines/reference/override17(target=esnext).js +++ b/tests/baselines/reference/override17(target=esnext).js @@ -27,6 +27,7 @@ class B extends A { //// [override17.js] +"use strict"; class A { m1() { return 0; diff --git a/tests/baselines/reference/override18(target=es2015).js b/tests/baselines/reference/override18(target=es2015).js index af40e9a341614..97d5e9d3a28aa 100644 --- a/tests/baselines/reference/override18(target=es2015).js +++ b/tests/baselines/reference/override18(target=es2015).js @@ -11,6 +11,7 @@ class B extends A { //// [override18.js] +"use strict"; class A { constructor() { Object.defineProperty(this, "foo", { diff --git a/tests/baselines/reference/override18(target=esnext).js b/tests/baselines/reference/override18(target=esnext).js index 607c9326930bc..99d2bd0789ff1 100644 --- a/tests/baselines/reference/override18(target=esnext).js +++ b/tests/baselines/reference/override18(target=esnext).js @@ -11,6 +11,7 @@ class B extends A { //// [override18.js] +"use strict"; class A { foo; } diff --git a/tests/baselines/reference/override19.js b/tests/baselines/reference/override19.js index 7f846ed7c6e45..94d13faa470c2 100644 --- a/tests/baselines/reference/override19.js +++ b/tests/baselines/reference/override19.js @@ -21,6 +21,7 @@ class C extends CreateMixin(Context, A) { //// [override19.js] +"use strict"; class Context { } class A { diff --git a/tests/baselines/reference/override2.js b/tests/baselines/reference/override2.js index a7db8221934d8..c7ddb80b2724b 100644 --- a/tests/baselines/reference/override2.js +++ b/tests/baselines/reference/override2.js @@ -29,6 +29,7 @@ class D4 extends AB { } //// [override2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/override21.js b/tests/baselines/reference/override21.js index b05305c38a536..94b3936189cca 100644 --- a/tests/baselines/reference/override21.js +++ b/tests/baselines/reference/override21.js @@ -10,6 +10,7 @@ class B extends A { //// [override21.js] +"use strict"; const foo = Symbol(); class A { } diff --git a/tests/baselines/reference/override3.js b/tests/baselines/reference/override3.js index 6d4c019bc8746..2a829728c72ba 100644 --- a/tests/baselines/reference/override3.js +++ b/tests/baselines/reference/override3.js @@ -28,6 +28,7 @@ class EB extends D { //// [override3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/override4.js b/tests/baselines/reference/override4.js index a9f8ced4c35b9..4a183fb095a64 100644 --- a/tests/baselines/reference/override4.js +++ b/tests/baselines/reference/override4.js @@ -27,6 +27,7 @@ class DD extends B { } //// [override4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/override5.js b/tests/baselines/reference/override5.js index 8fe976184dbad..9da3ccc722214 100644 --- a/tests/baselines/reference/override5.js +++ b/tests/baselines/reference/override5.js @@ -59,6 +59,7 @@ class ADD extends AD { //// [override5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/override6.js b/tests/baselines/reference/override6.js index 29ebe1fc951fb..bbea1a4bbfa46 100644 --- a/tests/baselines/reference/override6.js +++ b/tests/baselines/reference/override6.js @@ -17,6 +17,7 @@ class D extends B { //// [override6.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/override7.js b/tests/baselines/reference/override7.js index ed2ed370d487d..efceb71d219cf 100644 --- a/tests/baselines/reference/override7.js +++ b/tests/baselines/reference/override7.js @@ -56,6 +56,7 @@ class ADD extends AD { //// [override7.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/override8.js b/tests/baselines/reference/override8.js index 4ac80ff5bbb39..031c345e00a7b 100644 --- a/tests/baselines/reference/override8.js +++ b/tests/baselines/reference/override8.js @@ -33,6 +33,7 @@ class DDD extends BB { } //// [override8.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/override9.js b/tests/baselines/reference/override9.js index 69d764b6ff980..f0cdbb1523696 100644 --- a/tests/baselines/reference/override9.js +++ b/tests/baselines/reference/override9.js @@ -15,6 +15,7 @@ interface D extends B { //// [override9.js] +"use strict"; //// [override9.d.ts] diff --git a/tests/baselines/reference/overrideInterfaceProperty.js b/tests/baselines/reference/overrideInterfaceProperty.js index 6de6c6bbb9ca6..2214a25bbc1b7 100644 --- a/tests/baselines/reference/overrideInterfaceProperty.js +++ b/tests/baselines/reference/overrideInterfaceProperty.js @@ -21,6 +21,7 @@ class Kasizz extends Mup { //// [overrideInterfaceProperty.js] +"use strict"; class Sizz extends Mup { // ok, because Mup is an interface get size() { return 0; } diff --git a/tests/baselines/reference/overrideParameterProperty.js b/tests/baselines/reference/overrideParameterProperty.js index a182440ea35ea..9b0b1e0ecfc3e 100644 --- a/tests/baselines/reference/overrideParameterProperty.js +++ b/tests/baselines/reference/overrideParameterProperty.js @@ -35,6 +35,7 @@ class C4 extends Base { } //// [overrideParameterProperty.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overridingPrivateStaticMembers.js b/tests/baselines/reference/overridingPrivateStaticMembers.js index 344b67b641979..7d3fe8810e1b8 100644 --- a/tests/baselines/reference/overridingPrivateStaticMembers.js +++ b/tests/baselines/reference/overridingPrivateStaticMembers.js @@ -10,6 +10,7 @@ class Derived2 extends Base2 { } //// [overridingPrivateStaticMembers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/overshifts.js b/tests/baselines/reference/overshifts.js index 4fec6ff6101e8..d02faf82a4488 100644 --- a/tests/baselines/reference/overshifts.js +++ b/tests/baselines/reference/overshifts.js @@ -91,6 +91,7 @@ enum Three { //// [overshifts.js] +"use strict"; 1 << 1; // ok 1 << 32; // overshift 1 << 123; diff --git a/tests/baselines/reference/paramPropertiesInSignatures.js b/tests/baselines/reference/paramPropertiesInSignatures.js index 5d1d7436de345..255b95e32a18d 100644 --- a/tests/baselines/reference/paramPropertiesInSignatures.js +++ b/tests/baselines/reference/paramPropertiesInSignatures.js @@ -14,6 +14,7 @@ declare class C2 { } //// [paramPropertiesInSignatures.js] +"use strict"; var C1 = /** @class */ (function () { function C1(p3) { this.p3 = p3; diff --git a/tests/baselines/reference/parameterDestructuringObjectLiteral.js b/tests/baselines/reference/parameterDestructuringObjectLiteral.js index 761c07d80ea1a..cbccb2ca308fc 100644 --- a/tests/baselines/reference/parameterDestructuringObjectLiteral.js +++ b/tests/baselines/reference/parameterDestructuringObjectLiteral.js @@ -11,6 +11,7 @@ fn2({ headers: { foo: 1 } }); //// [parameterDestructuringObjectLiteral.js] +"use strict"; // Repro from #22644 var fn1 = function (options) { }; fn1({ headers: { foo: 1 } }); diff --git a/tests/baselines/reference/parameterInitializersForwardReferencing.js b/tests/baselines/reference/parameterInitializersForwardReferencing.js index 174cfc54d5969..ace3b5b3c0208 100644 --- a/tests/baselines/reference/parameterInitializersForwardReferencing.js +++ b/tests/baselines/reference/parameterInitializersForwardReferencing.js @@ -44,6 +44,7 @@ function f(a, b = function () { return c; }, c = b()) { } //// [parameterInitializersForwardReferencing.js] +"use strict"; function left(a, b, c) { if (b === void 0) { b = a; } if (c === void 0) { c = b; } diff --git a/tests/baselines/reference/parameterInitializersForwardReferencing1.js b/tests/baselines/reference/parameterInitializersForwardReferencing1.js index f36cb674a4c85..3e87acf375e28 100644 --- a/tests/baselines/reference/parameterInitializersForwardReferencing1.js +++ b/tests/baselines/reference/parameterInitializersForwardReferencing1.js @@ -41,6 +41,7 @@ function f8(foo1: string, bar = foo1) { } //// [parameterInitializersForwardReferencing1.js] +"use strict"; var foo = ""; function f1(bar) { if (bar === void 0) { bar = foo; } diff --git a/tests/baselines/reference/parameterInitializersForwardReferencing1_es6.js b/tests/baselines/reference/parameterInitializersForwardReferencing1_es6.js index 40a836cf26667..23cddbb51c7a9 100644 --- a/tests/baselines/reference/parameterInitializersForwardReferencing1_es6.js +++ b/tests/baselines/reference/parameterInitializersForwardReferencing1_es6.js @@ -41,6 +41,7 @@ function f8(foo1: string, bar = foo1) { } //// [parameterInitializersForwardReferencing1_es6.js] +"use strict"; let foo = ""; function f1(bar = foo) { var foo = 2; diff --git a/tests/baselines/reference/parameterListAsTupleType.js b/tests/baselines/reference/parameterListAsTupleType.js index b207fa48dd103..1307520d86ad4 100644 --- a/tests/baselines/reference/parameterListAsTupleType.js +++ b/tests/baselines/reference/parameterListAsTupleType.js @@ -27,6 +27,7 @@ type Dcps = ConstructorParameters; // should be [number, ...string[]] //// [parameterListAsTupleType.js] +"use strict"; function foo(a, b) { return true; } diff --git a/tests/baselines/reference/parameterNamesInTypeParameterList.js b/tests/baselines/reference/parameterNamesInTypeParameterList.js index 8fd18aba87b73..f69a3e30f1ab3 100644 --- a/tests/baselines/reference/parameterNamesInTypeParameterList.js +++ b/tests/baselines/reference/parameterNamesInTypeParameterList.js @@ -26,6 +26,7 @@ class A { } //// [parameterNamesInTypeParameterList.js] +"use strict"; function f0(a) { a.b; } diff --git a/tests/baselines/reference/parameterPropertyInConstructor1.js b/tests/baselines/reference/parameterPropertyInConstructor1.js index de8a0c8639319..e6df275c2eaa8 100644 --- a/tests/baselines/reference/parameterPropertyInConstructor1.js +++ b/tests/baselines/reference/parameterPropertyInConstructor1.js @@ -9,3 +9,4 @@ declare namespace mod { //// [parameterPropertyInConstructor1.js] +"use strict"; diff --git a/tests/baselines/reference/parameterPropertyInConstructor2.js b/tests/baselines/reference/parameterPropertyInConstructor2.js index 66029494de1d1..5f672e28a3c3c 100644 --- a/tests/baselines/reference/parameterPropertyInConstructor2.js +++ b/tests/baselines/reference/parameterPropertyInConstructor2.js @@ -11,6 +11,7 @@ namespace mod { //// [parameterPropertyInConstructor2.js] +"use strict"; var mod; (function (mod) { var Customers = /** @class */ (function () { diff --git a/tests/baselines/reference/parameterPropertyInConstructor3.js b/tests/baselines/reference/parameterPropertyInConstructor3.js index baa7c757f3541..a42248d2f8a41 100644 --- a/tests/baselines/reference/parameterPropertyInConstructor3.js +++ b/tests/baselines/reference/parameterPropertyInConstructor3.js @@ -7,6 +7,7 @@ class Foo { //// [parameterPropertyInConstructor3.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(constructor) { this.constructor = constructor; diff --git a/tests/baselines/reference/parameterPropertyInConstructorWithPrologues.js b/tests/baselines/reference/parameterPropertyInConstructorWithPrologues.js index 5554c2ca10867..d208ec06a6cfa 100644 --- a/tests/baselines/reference/parameterPropertyInConstructorWithPrologues.js +++ b/tests/baselines/reference/parameterPropertyInConstructorWithPrologues.js @@ -85,6 +85,7 @@ class Foo9 extends C { //// [parameterPropertyInConstructorWithPrologues.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/48671 var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/parameterPropertyInitializerInInitializers.js b/tests/baselines/reference/parameterPropertyInitializerInInitializers.js index ff1f38b0cdd9a..2185b679fb913 100644 --- a/tests/baselines/reference/parameterPropertyInitializerInInitializers.js +++ b/tests/baselines/reference/parameterPropertyInitializerInInitializers.js @@ -6,6 +6,7 @@ class Foo { } //// [parameterPropertyInitializerInInitializers.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(x, y) { if (y === void 0) { y = x; } diff --git a/tests/baselines/reference/parameterPropertyOutsideConstructor.js b/tests/baselines/reference/parameterPropertyOutsideConstructor.js index 819b13861882b..8c1c376632498 100644 --- a/tests/baselines/reference/parameterPropertyOutsideConstructor.js +++ b/tests/baselines/reference/parameterPropertyOutsideConstructor.js @@ -7,6 +7,7 @@ class C { } //// [parameterPropertyOutsideConstructor.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parameterPropertyReferencingOtherParameter.js b/tests/baselines/reference/parameterPropertyReferencingOtherParameter.js index 3cfb79f1ff4c2..4e328620207ee 100644 --- a/tests/baselines/reference/parameterPropertyReferencingOtherParameter.js +++ b/tests/baselines/reference/parameterPropertyReferencingOtherParameter.js @@ -7,6 +7,7 @@ class Foo { //// [parameterPropertyReferencingOtherParameter.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(x, y) { if (y === void 0) { y = x; } diff --git a/tests/baselines/reference/parameterReferenceInInitializer1.js b/tests/baselines/reference/parameterReferenceInInitializer1.js index ff10fd569e353..9a4990541f5d9 100644 --- a/tests/baselines/reference/parameterReferenceInInitializer1.js +++ b/tests/baselines/reference/parameterReferenceInInitializer1.js @@ -15,6 +15,7 @@ class C { } //// [parameterReferenceInInitializer1.js] +"use strict"; function fn(y, set) { return undefined; } diff --git a/tests/baselines/reference/parameterReferenceInInitializer2.js b/tests/baselines/reference/parameterReferenceInInitializer2.js index 6a67ed622c4b7..c7dd099640e6c 100644 --- a/tests/baselines/reference/parameterReferenceInInitializer2.js +++ b/tests/baselines/reference/parameterReferenceInInitializer2.js @@ -6,6 +6,7 @@ function Example(x = function(x: any) { return x; }) { // Error: parameter 'x' c } //// [parameterReferenceInInitializer2.js] +"use strict"; function Example(x) { if (x === void 0) { x = function (x) { return x; }; } // referenced in its initializer diff --git a/tests/baselines/reference/parameterReferencesOtherParameter1.js b/tests/baselines/reference/parameterReferencesOtherParameter1.js index f648eb6e1c0fb..93963fc39f46c 100644 --- a/tests/baselines/reference/parameterReferencesOtherParameter1.js +++ b/tests/baselines/reference/parameterReferencesOtherParameter1.js @@ -12,6 +12,7 @@ class UI { } //// [parameterReferencesOtherParameter1.js] +"use strict"; var Model = /** @class */ (function () { function Model() { } diff --git a/tests/baselines/reference/parameterReferencesOtherParameter2.js b/tests/baselines/reference/parameterReferencesOtherParameter2.js index e3f19d72d7e94..ac506b725a4f4 100644 --- a/tests/baselines/reference/parameterReferencesOtherParameter2.js +++ b/tests/baselines/reference/parameterReferencesOtherParameter2.js @@ -12,6 +12,7 @@ class UI { } //// [parameterReferencesOtherParameter2.js] +"use strict"; var Model = /** @class */ (function () { function Model() { } diff --git a/tests/baselines/reference/parametersWithNoAnnotationAreAny.js b/tests/baselines/reference/parametersWithNoAnnotationAreAny.js index 7120eed76b800..facc7b427819a 100644 --- a/tests/baselines/reference/parametersWithNoAnnotationAreAny.js +++ b/tests/baselines/reference/parametersWithNoAnnotationAreAny.js @@ -32,6 +32,7 @@ var b = { } //// [parametersWithNoAnnotationAreAny.js] +"use strict"; function foo(x) { return x; } var f = function foo(x) { return x; }; var f2 = function (x) { return x; }; diff --git a/tests/baselines/reference/paramterDestrcuturingDeclaration.js b/tests/baselines/reference/paramterDestrcuturingDeclaration.js index 86d8e41a90358..81011174bc639 100644 --- a/tests/baselines/reference/paramterDestrcuturingDeclaration.js +++ b/tests/baselines/reference/paramterDestrcuturingDeclaration.js @@ -8,6 +8,7 @@ interface C { //// [paramterDestrcuturingDeclaration.js] +"use strict"; //// [paramterDestrcuturingDeclaration.d.ts] diff --git a/tests/baselines/reference/parentheses.js b/tests/baselines/reference/parentheses.js index 357ce55abaf2e..0cb2ddd7ba500 100644 --- a/tests/baselines/reference/parentheses.js +++ b/tests/baselines/reference/parentheses.js @@ -13,6 +13,7 @@ declare const o4: { b: ((...args: any[]) => { c: (...args: any[]) => number } ) //// [parentheses.js] +"use strict"; var _a; (o1)(o1 !== null && o1 !== void 0 ? o1 : 1); (o2 === null || o2 === void 0 ? void 0 : o2.b).call(o2, o1 !== null && o1 !== void 0 ? o1 : 1); diff --git a/tests/baselines/reference/parenthesizedArrowExpressionASI.js b/tests/baselines/reference/parenthesizedArrowExpressionASI.js index c9caf658e8597..d698d41af8efd 100644 --- a/tests/baselines/reference/parenthesizedArrowExpressionASI.js +++ b/tests/baselines/reference/parenthesizedArrowExpressionASI.js @@ -8,6 +8,7 @@ const x = (a: any[]) => ( //// [parenthesizedArrowExpressionASI.js] +"use strict"; var x = function (a) { return ( // comment undefined); }; diff --git a/tests/baselines/reference/parenthesizedAsyncArrowFunction.js b/tests/baselines/reference/parenthesizedAsyncArrowFunction.js index e4fd9b3826362..cb5c7cf996fb9 100644 --- a/tests/baselines/reference/parenthesizedAsyncArrowFunction.js +++ b/tests/baselines/reference/parenthesizedAsyncArrowFunction.js @@ -7,6 +7,7 @@ let foo = (async bar => bar); //// [parenthesizedAsyncArrowFunction.js] +"use strict"; // Repro from #20096 var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } @@ -44,7 +45,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) { if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; -var _this = this; -var foo = (function (bar) { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_a) { +var foo = (function (bar) { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) { return [2 /*return*/, bar]; }); }); }); diff --git a/tests/baselines/reference/parenthesizedContexualTyping1.js b/tests/baselines/reference/parenthesizedContexualTyping1.js index 6db39d2363505..0bb371da20b1d 100644 --- a/tests/baselines/reference/parenthesizedContexualTyping1.js +++ b/tests/baselines/reference/parenthesizedContexualTyping1.js @@ -31,6 +31,7 @@ var obj1: ObjType = { x: x => (x, undefined), y: y => (y, undefined) }; var obj2: ObjType = ({ x: x => (x, undefined), y: y => (y, undefined) }); //// [parenthesizedContexualTyping1.js] +"use strict"; function fun(g, x) { return g(x); } diff --git a/tests/baselines/reference/parenthesizedContexualTyping2.js b/tests/baselines/reference/parenthesizedContexualTyping2.js index 18e5a9ee9f850..399ff15d59446 100644 --- a/tests/baselines/reference/parenthesizedContexualTyping2.js +++ b/tests/baselines/reference/parenthesizedContexualTyping2.js @@ -39,6 +39,7 @@ var obj1: ObjType = { x: x => (x, undefined), y: y => (y, undefined) }; var obj2: ObjType = ({ x: x => (x, undefined), y: y => (y, undefined) }); //// [parenthesizedContexualTyping2.js] +"use strict"; // These tests ensure that in cases where it may *appear* that a value has a type, // they actually are properly being contextually typed. The way we test this is // that we invoke contextually typed arguments with type arguments. diff --git a/tests/baselines/reference/parenthesizedContexualTyping3.js b/tests/baselines/reference/parenthesizedContexualTyping3.js index 9a45ecb0867dd..ecc4abe396e8c 100644 --- a/tests/baselines/reference/parenthesizedContexualTyping3.js +++ b/tests/baselines/reference/parenthesizedContexualTyping3.js @@ -22,6 +22,7 @@ var g = tempFun `${ (x => x) } ${ (((x => x))) } ${ 10 }` var h = tempFun `${ (x => x) } ${ (((x => x))) } ${ undefined }` //// [parenthesizedContexualTyping3.js] +"use strict"; // Contextual typing for parenthesized substitution expressions in tagged templates. function tempFun(tempStrs, g, x) { return g(x); diff --git a/tests/baselines/reference/parenthesizedExpressionInternalComments.js b/tests/baselines/reference/parenthesizedExpressionInternalComments.js index e3e0e531ea9fd..4bda8c3c86a4a 100644 --- a/tests/baselines/reference/parenthesizedExpressionInternalComments.js +++ b/tests/baselines/reference/parenthesizedExpressionInternalComments.js @@ -14,6 +14,7 @@ //// [parenthesizedExpressionInternalComments.js] +"use strict"; /*1*/ ( /*2*/"foo" /*3*/) /*4*/; // open /*1*/ ( diff --git a/tests/baselines/reference/parenthesizedTypes.js b/tests/baselines/reference/parenthesizedTypes.js index ef2ed269a4657..5e300a0887e1b 100644 --- a/tests/baselines/reference/parenthesizedTypes.js +++ b/tests/baselines/reference/parenthesizedTypes.js @@ -31,6 +31,7 @@ var g: [(string), (((typeof a)))]; //// [parenthesizedTypes.js] +"use strict"; var a; var a; var a; diff --git a/tests/baselines/reference/parse1.js b/tests/baselines/reference/parse1.js index 6291115c98db0..0b8f07bb70d23 100644 --- a/tests/baselines/reference/parse1.js +++ b/tests/baselines/reference/parse1.js @@ -8,6 +8,7 @@ function foo() { //// [parse1.js] +"use strict"; var bar = 42; function foo() { bar. diff --git a/tests/baselines/reference/parse2.js b/tests/baselines/reference/parse2.js index 7db1ac1694c5d..0c4c9d64482e0 100644 --- a/tests/baselines/reference/parse2.js +++ b/tests/baselines/reference/parse2.js @@ -6,6 +6,7 @@ function foo() { } //// [parse2.js] +"use strict"; function foo() { foo(); } diff --git a/tests/baselines/reference/parseArrowFunctionWithFunctionReturnType.js b/tests/baselines/reference/parseArrowFunctionWithFunctionReturnType.js index 598648f3281ad..4f9cd1d7ddde5 100644 --- a/tests/baselines/reference/parseArrowFunctionWithFunctionReturnType.js +++ b/tests/baselines/reference/parseArrowFunctionWithFunctionReturnType.js @@ -5,4 +5,5 @@ const fn = (): (() => T) => null as any; //// [parseArrowFunctionWithFunctionReturnType.js] +"use strict"; var fn = function () { return null; }; diff --git a/tests/baselines/reference/parseBigInt.js b/tests/baselines/reference/parseBigInt.js index 5739a7bc1bb03..9d26bafc6881d 100644 --- a/tests/baselines/reference/parseBigInt.js +++ b/tests/baselines/reference/parseBigInt.js @@ -73,6 +73,7 @@ oneTwoOrThree(0n); oneTwoOrThree(1n); oneTwoOrThree(2n); oneTwoOrThree(3n); oneTwoOrThree(0); oneTwoOrThree(1); oneTwoOrThree(2); oneTwoOrThree(3); //// [parseBigInt.js] +"use strict"; // All bases should allow "n" suffix const bin = 0b101, binBig = 5n; // 5, 5n const oct = 0o567, octBig = 375n; // 375, 375n diff --git a/tests/baselines/reference/parseClassDeclarationInStrictModeByDefaultInES6.js b/tests/baselines/reference/parseClassDeclarationInStrictModeByDefaultInES6.js index a33c28aaa1a2b..c4f9104c81c16 100644 --- a/tests/baselines/reference/parseClassDeclarationInStrictModeByDefaultInES6.js +++ b/tests/baselines/reference/parseClassDeclarationInStrictModeByDefaultInES6.js @@ -11,6 +11,7 @@ class C { } //// [parseClassDeclarationInStrictModeByDefaultInES6.js] +"use strict"; class C { constructor() { this.interface = 10; diff --git a/tests/baselines/reference/parseCommaSeparatedNewlineNew.js b/tests/baselines/reference/parseCommaSeparatedNewlineNew.js index 9db9c6b496372..3f90871682aed 100644 --- a/tests/baselines/reference/parseCommaSeparatedNewlineNew.js +++ b/tests/baselines/reference/parseCommaSeparatedNewlineNew.js @@ -5,5 +5,6 @@ new) //// [parseCommaSeparatedNewlineNew.js] +"use strict"; (a, new ); diff --git a/tests/baselines/reference/parseCommaSeparatedNewlineNumber.js b/tests/baselines/reference/parseCommaSeparatedNewlineNumber.js index 5142fd9a56d37..e1c531a69051f 100644 --- a/tests/baselines/reference/parseCommaSeparatedNewlineNumber.js +++ b/tests/baselines/reference/parseCommaSeparatedNewlineNumber.js @@ -5,5 +5,6 @@ 1) //// [parseCommaSeparatedNewlineNumber.js] +"use strict"; (a, 1); diff --git a/tests/baselines/reference/parseCommaSeparatedNewlineString.js b/tests/baselines/reference/parseCommaSeparatedNewlineString.js index 4513c095bacdd..f8dafaf194e42 100644 --- a/tests/baselines/reference/parseCommaSeparatedNewlineString.js +++ b/tests/baselines/reference/parseCommaSeparatedNewlineString.js @@ -5,5 +5,6 @@ '') //// [parseCommaSeparatedNewlineString.js] +"use strict"; (a, ''); diff --git a/tests/baselines/reference/parseEntityNameWithReservedWord.js b/tests/baselines/reference/parseEntityNameWithReservedWord.js index 0f90a5ca9e78b..2433e0de4cdbe 100644 --- a/tests/baselines/reference/parseEntityNameWithReservedWord.js +++ b/tests/baselines/reference/parseEntityNameWithReservedWord.js @@ -6,6 +6,7 @@ const x: Bool.false = Bool.false; //// [parseEntityNameWithReservedWord.js] +"use strict"; var Bool; (function (Bool) { Bool[Bool["false"] = 0] = "false"; diff --git a/tests/baselines/reference/parseErrorDoubleCommaInCall.js b/tests/baselines/reference/parseErrorDoubleCommaInCall.js index 206adc6749e2d..f151eacf14bd8 100644 --- a/tests/baselines/reference/parseErrorDoubleCommaInCall.js +++ b/tests/baselines/reference/parseErrorDoubleCommaInCall.js @@ -7,6 +7,7 @@ Boolean({ //// [parseErrorDoubleCommaInCall.js] +"use strict"; Boolean({ x: 0, }); diff --git a/tests/baselines/reference/parseErrorInHeritageClause1.js b/tests/baselines/reference/parseErrorInHeritageClause1.js index ba9c8527c9552..2ae1980fbdc8f 100644 --- a/tests/baselines/reference/parseErrorInHeritageClause1.js +++ b/tests/baselines/reference/parseErrorInHeritageClause1.js @@ -5,6 +5,7 @@ class C extends A ¬ { } //// [parseErrorInHeritageClause1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parseErrorIncorrectReturnToken.js b/tests/baselines/reference/parseErrorIncorrectReturnToken.js index 2a06b52a3e5dc..7711aeecead70 100644 --- a/tests/baselines/reference/parseErrorIncorrectReturnToken.js +++ b/tests/baselines/reference/parseErrorIncorrectReturnToken.js @@ -16,6 +16,7 @@ let o = { //// [parseErrorIncorrectReturnToken.js] +"use strict"; string; // should be => not : // doesn't work in non-type contexts, where the return type is optional var f = function (n) { return function (string) { return n.toString(); }; }; diff --git a/tests/baselines/reference/parseGenericArrowRatherThanLeftShift.js b/tests/baselines/reference/parseGenericArrowRatherThanLeftShift.js index 8342742cc0313..3fc634502035d 100644 --- a/tests/baselines/reference/parseGenericArrowRatherThanLeftShift.js +++ b/tests/baselines/reference/parseGenericArrowRatherThanLeftShift.js @@ -9,5 +9,6 @@ const b = foo<(x: T) => number>(() => 1); //// [parseGenericArrowRatherThanLeftShift.js] +"use strict"; function foo(_x) { } var b = foo(function () { return 1; }); diff --git a/tests/baselines/reference/parseIncompleteBinaryExpression1.js b/tests/baselines/reference/parseIncompleteBinaryExpression1.js index c4deedf8e0e18..ab2dc70f10fc6 100644 --- a/tests/baselines/reference/parseIncompleteBinaryExpression1.js +++ b/tests/baselines/reference/parseIncompleteBinaryExpression1.js @@ -4,4 +4,5 @@ var v = || b; //// [parseIncompleteBinaryExpression1.js] +"use strict"; var v = || b; diff --git a/tests/baselines/reference/parseInvalidNames.js b/tests/baselines/reference/parseInvalidNames.js index 86a62c5185cee..281c5f25ca3f8 100644 --- a/tests/baselines/reference/parseInvalidNames.js +++ b/tests/baselines/reference/parseInvalidNames.js @@ -11,6 +11,7 @@ export type 100 {} //// [parseInvalidNames.js] +"use strict"; namespace; 100; { } diff --git a/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash1.js b/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash1.js index 21d8bda92c4df..fa48235bf982e 100644 --- a/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash1.js +++ b/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash1.js @@ -5,5 +5,6 @@ //// [a.js] +"use strict"; ~< /> < ; diff --git a/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash2.js b/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash2.js index 4fdcf29d85f27..442f52cba4ff9 100644 --- a/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash2.js +++ b/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash2.js @@ -5,5 +5,6 @@ //// [a.js] +"use strict"; ~<> < ; diff --git a/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash3.js b/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash3.js index 4c36c8ba174d1..6cd1362fb166c 100644 --- a/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash3.js +++ b/tests/baselines/reference/parseJsxElementInUnaryExpressionNoCrash3.js @@ -6,6 +6,7 @@ //// [a.js] +"use strict"; !< {...}> ; diff --git a/tests/baselines/reference/parseLinkTag.js b/tests/baselines/reference/parseLinkTag.js index cf10b2f197aff..d524a6a7c741f 100644 --- a/tests/baselines/reference/parseLinkTag.js +++ b/tests/baselines/reference/parseLinkTag.js @@ -10,6 +10,7 @@ function f() { //// [parseLinkTag.js] +"use strict"; /** trailing @link tag {@link */ var x; /** @returns trailing @link tag {@link */ diff --git a/tests/baselines/reference/parseObjectLiteralsWithoutTypes.js b/tests/baselines/reference/parseObjectLiteralsWithoutTypes.js index f395a29fc2d73..874bbd437797c 100644 --- a/tests/baselines/reference/parseObjectLiteralsWithoutTypes.js +++ b/tests/baselines/reference/parseObjectLiteralsWithoutTypes.js @@ -7,6 +7,7 @@ let z: { foo, bar: number } //// [parseObjectLiteralsWithoutTypes.js] +"use strict"; var x; var y; var z; diff --git a/tests/baselines/reference/parseRegularExpressionMixedWithComments.js b/tests/baselines/reference/parseRegularExpressionMixedWithComments.js index e14caeb76cca8..a361003e0cedd 100644 --- a/tests/baselines/reference/parseRegularExpressionMixedWithComments.js +++ b/tests/baselines/reference/parseRegularExpressionMixedWithComments.js @@ -9,6 +9,7 @@ var regex4 = /**// /**/asdf /; var regex5 = /**// asdf/**/ /; //// [parseRegularExpressionMixedWithComments.js] +"use strict"; var regex1 = / asdf /; var regex2 = /**/ / asdf /; var regex3 = /**/ //**/ asdf / // should be a comment line diff --git a/tests/baselines/reference/parseReplacementCharacter.js b/tests/baselines/reference/parseReplacementCharacter.js index 0516045c27f30..b2b9eff908514 100644 --- a/tests/baselines/reference/parseReplacementCharacter.js +++ b/tests/baselines/reference/parseReplacementCharacter.js @@ -10,7 +10,11 @@ /** oops �� oops */ //// [parseReplacementCharacter.js] +"use strict"; "oops �� oops"; 'oops �� oops'; "oops \uFFFD\uFFFD oops"; "".concat("oops �� oops"); +// oops �� oops +/* oops �� oops */ +/** oops �� oops */ diff --git a/tests/baselines/reference/parseShortform.js b/tests/baselines/reference/parseShortform.js index d950560c86751..09657040ed0bb 100644 --- a/tests/baselines/reference/parseShortform.js +++ b/tests/baselines/reference/parseShortform.js @@ -14,3 +14,4 @@ interface I { } //// [parseShortform.js] +"use strict"; diff --git a/tests/baselines/reference/parseThrowsTag.js b/tests/baselines/reference/parseThrowsTag.js index 65c6a16ae476a..9670bf512722e 100644 --- a/tests/baselines/reference/parseThrowsTag.js +++ b/tests/baselines/reference/parseThrowsTag.js @@ -6,5 +6,6 @@ function f() {} //// [parseThrowsTag.js] +"use strict"; /** @throws {Error} comment */ function f() { } diff --git a/tests/baselines/reference/parseTypes.js b/tests/baselines/reference/parseTypes.js index 205a2251f8ac5..3fb7f517e44c4 100644 --- a/tests/baselines/reference/parseTypes.js +++ b/tests/baselines/reference/parseTypes.js @@ -15,6 +15,7 @@ z=g; //// [parseTypes.js] +"use strict"; var x = null; var y = null; var z = null; diff --git a/tests/baselines/reference/parseUnaryExpressionNoTypeAssertionInJsx4.js b/tests/baselines/reference/parseUnaryExpressionNoTypeAssertionInJsx4.js index 1a215a620bddd..c21462d66dccd 100644 --- a/tests/baselines/reference/parseUnaryExpressionNoTypeAssertionInJsx4.js +++ b/tests/baselines/reference/parseUnaryExpressionNoTypeAssertionInJsx4.js @@ -9,6 +9,7 @@ const c = + <1234> x; //// [index.jsx] +"use strict"; var x = "oops"; var a = + x; const b = + <> x; diff --git a/tests/baselines/reference/parseUnmatchedTypeAssertion.js b/tests/baselines/reference/parseUnmatchedTypeAssertion.js index 1400afd182e9f..2103062216614 100644 --- a/tests/baselines/reference/parseUnmatchedTypeAssertion.js +++ b/tests/baselines/reference/parseUnmatchedTypeAssertion.js @@ -5,4 +5,5 @@ //// [parseUnmatchedTypeAssertion.js] +"use strict"; ; diff --git a/tests/baselines/reference/parser.asyncGenerators.classMethods.es2018.errors.txt b/tests/baselines/reference/parser.asyncGenerators.classMethods.es2018.errors.txt index cfd5b716ff941..3b2d03801b956 100644 --- a/tests/baselines/reference/parser.asyncGenerators.classMethods.es2018.errors.txt +++ b/tests/baselines/reference/parser.asyncGenerators.classMethods.es2018.errors.txt @@ -8,6 +8,7 @@ nestedFunctionDeclarationNamedAwaitIsError.ts(3,18): error TS1359: Identifier ex nestedFunctionDeclarationNamedYieldIsError.ts(3,18): error TS1213: Identifier expected. 'yield' is a reserved word in strict mode. Class definitions are automatically in strict mode. nestedFunctionExpressionNamedAwaitIsError.ts(3,28): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. nestedFunctionExpressionNamedYieldIsError.ts(3,28): error TS1213: Identifier expected. 'yield' is a reserved word in strict mode. Class definitions are automatically in strict mode. +yieldAsTypeIsStrictError.ts(1,11): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. yieldAsTypeIsStrictError.ts(4,16): error TS1213: Identifier expected. 'yield' is a reserved word in strict mode. Class definitions are automatically in strict mode. yieldInClassComputedPropertyIsError.ts(2,14): error TS1213: Identifier expected. 'yield' is a reserved word in strict mode. Class definitions are automatically in strict mode. yieldInClassComputedPropertyIsError.ts(2,14): error TS2693: 'yield' only refers to a type, but is being used as a value here. @@ -149,8 +150,10 @@ yieldStarMissingValueIsError.ts(3,16): error TS1109: Expression expected. let x: await; } } -==== yieldAsTypeIsStrictError.ts (1 errors) ==== +==== yieldAsTypeIsStrictError.ts (2 errors) ==== interface yield {} + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. class C20 { async * f() { let x: yield; diff --git a/tests/baselines/reference/parser.asyncGenerators.functionDeclarations.es2018.errors.txt b/tests/baselines/reference/parser.asyncGenerators.functionDeclarations.es2018.errors.txt index c2ed90eace221..7a90af94f3d97 100644 --- a/tests/baselines/reference/parser.asyncGenerators.functionDeclarations.es2018.errors.txt +++ b/tests/baselines/reference/parser.asyncGenerators.functionDeclarations.es2018.errors.txt @@ -2,11 +2,14 @@ awaitInParameterInitializerIsError.ts(1,25): error TS2524: 'await' expressions c awaitMissingValueIsError.ts(2,10): error TS1109: Expression expected. awaitParameterIsError.ts(1,21): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. nestedFunctionDeclarationNamedAwaitIsError.ts(2,14): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. -nestedFunctionDeclarationNamedYieldIsError.ts(2,14): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. -nestedFunctionExpressionNamedAwaitIsError.ts(2,24): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. -nestedFunctionExpressionNamedYieldIsError.ts(2,24): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +nestedFunctionDeclarationNamedYieldIsError.ts(2,14): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +nestedFunctionExpressionNamedAwaitIsError.ts(2,24): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +nestedFunctionExpressionNamedYieldIsError.ts(2,24): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +yieldAsTypeIsOk.ts(1,11): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +yieldAsTypeIsOk.ts(3,12): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. yieldInParameterInitializerIsError.ts(1,25): error TS2523: 'yield' expressions cannot be used in a parameter initializer. -yieldParameterIsError.ts(1,21): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +yieldNameIsOk.ts(1,18): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +yieldParameterIsError.ts(1,21): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. yieldStarMissingValueIsError.ts(2,12): error TS1109: Expression expected. @@ -16,8 +19,10 @@ yieldStarMissingValueIsError.ts(2,12): error TS1109: Expression expected. ==== awaitNameIsOk.ts (0 errors) ==== async function * await() { } -==== yieldNameIsOk.ts (0 errors) ==== +==== yieldNameIsOk.ts (1 errors) ==== async function * yield() { + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } ==== awaitParameterIsError.ts (1 errors) ==== async function * f4(await) { @@ -27,7 +32,7 @@ yieldStarMissingValueIsError.ts(2,12): error TS1109: Expression expected. ==== yieldParameterIsError.ts (1 errors) ==== async function * f5(yield) { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } ==== awaitInParameterInitializerIsError.ts (1 errors) ==== async function * f6(a = await 1) { @@ -48,14 +53,14 @@ yieldStarMissingValueIsError.ts(2,12): error TS1109: Expression expected. async function * f9() { function yield() { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } } ==== nestedFunctionExpressionNamedYieldIsError.ts (1 errors) ==== async function * f10() { const x = function yield() { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. }; } ==== nestedFunctionDeclarationNamedAwaitIsError.ts (1 errors) ==== @@ -69,7 +74,7 @@ yieldStarMissingValueIsError.ts(2,12): error TS1109: Expression expected. async function * f12() { const x = function yield() { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. }; } ==== yieldIsOk.ts (0 errors) ==== @@ -105,10 +110,14 @@ yieldStarMissingValueIsError.ts(2,12): error TS1109: Expression expected. async function * f19() { let x: await; } -==== yieldAsTypeIsOk.ts (0 errors) ==== +==== yieldAsTypeIsOk.ts (2 errors) ==== interface yield {} + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. async function * f20() { let x: yield; + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } ==== yieldInNestedComputedPropertyIsOk.ts (0 errors) ==== async function * f21() { diff --git a/tests/baselines/reference/parser.asyncGenerators.functionExpressions.es2018.errors.txt b/tests/baselines/reference/parser.asyncGenerators.functionExpressions.es2018.errors.txt index 87e4127bc8816..1479b8abf37f9 100644 --- a/tests/baselines/reference/parser.asyncGenerators.functionExpressions.es2018.errors.txt +++ b/tests/baselines/reference/parser.asyncGenerators.functionExpressions.es2018.errors.txt @@ -3,12 +3,14 @@ awaitMissingValueIsError.ts(2,10): error TS1109: Expression expected. awaitNameIsError.ts(1,29): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. awaitParameterIsError.ts(1,30): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. nestedFunctionDeclarationNamedAwaitIsError.ts(2,14): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. -nestedFunctionDeclarationNamedYieldIsError.ts(2,14): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +nestedFunctionDeclarationNamedYieldIsError.ts(2,14): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. nestedFunctionExpressionNamedAwaitIsError.ts(2,24): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. -nestedFunctionExpressionNamedYieldIsError.ts(2,24): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +nestedFunctionExpressionNamedYieldIsError.ts(2,24): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +yieldAsTypeIsOk.ts(1,11): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +yieldAsTypeIsOk.ts(3,12): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. yieldInParameterInitializerIsError.ts(1,34): error TS2523: 'yield' expressions cannot be used in a parameter initializer. -yieldNameIsError.ts(1,29): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. -yieldParameterIsError.ts(1,30): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +yieldNameIsError.ts(1,29): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +yieldParameterIsError.ts(1,30): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. yieldStarMissingValueIsError.ts(2,12): error TS1109: Expression expected. @@ -23,7 +25,7 @@ yieldStarMissingValueIsError.ts(2,12): error TS1109: Expression expected. ==== yieldNameIsError.ts (1 errors) ==== const f3 = async function * yield() { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. }; ==== awaitParameterIsError.ts (1 errors) ==== const f4 = async function * (await) { @@ -33,7 +35,7 @@ yieldStarMissingValueIsError.ts(2,12): error TS1109: Expression expected. ==== yieldParameterIsError.ts (1 errors) ==== const f5 = async function * (yield) { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. }; ==== awaitInParameterInitializerIsError.ts (1 errors) ==== const f6 = async function * (a = await 1) { @@ -54,14 +56,14 @@ yieldStarMissingValueIsError.ts(2,12): error TS1109: Expression expected. const f9 = async function * () { function yield() { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } }; ==== nestedFunctionExpressionNamedYieldIsError.ts (1 errors) ==== const f10 = async function * () { const x = function yield() { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. }; }; ==== nestedFunctionDeclarationNamedAwaitIsError.ts (1 errors) ==== @@ -111,10 +113,14 @@ yieldStarMissingValueIsError.ts(2,12): error TS1109: Expression expected. const f19 = async function * () { let x: await; }; -==== yieldAsTypeIsOk.ts (0 errors) ==== +==== yieldAsTypeIsOk.ts (2 errors) ==== interface yield {} + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. const f20 = async function * () { let x: yield; + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. }; ==== yieldInNestedComputedPropertyIsOk.ts (0 errors) ==== const f21 = async function *() { diff --git a/tests/baselines/reference/parser.asyncGenerators.objectLiteralMethods.es2018.errors.txt b/tests/baselines/reference/parser.asyncGenerators.objectLiteralMethods.es2018.errors.txt index ab637edec9c6f..b53846a75432a 100644 --- a/tests/baselines/reference/parser.asyncGenerators.objectLiteralMethods.es2018.errors.txt +++ b/tests/baselines/reference/parser.asyncGenerators.objectLiteralMethods.es2018.errors.txt @@ -5,11 +5,13 @@ awaitInParameterInitializerIsError.ts(2,19): error TS2524: 'await' expressions c awaitMissingValueIsError.ts(3,14): error TS1109: Expression expected. awaitParameterIsError.ts(2,15): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. nestedFunctionDeclarationNamedAwaitIsError.ts(3,18): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. -nestedFunctionDeclarationNamedYieldIsError.ts(3,18): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +nestedFunctionDeclarationNamedYieldIsError.ts(3,18): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. nestedFunctionExpressionNamedAwaitIsError.ts(3,28): error TS1359: Identifier expected. 'await' is a reserved word that cannot be used here. -nestedFunctionExpressionNamedYieldIsError.ts(3,28): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +nestedFunctionExpressionNamedYieldIsError.ts(3,28): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +yieldAsTypeIsOk.ts(1,11): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. +yieldAsTypeIsOk.ts(4,16): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. yieldInParameterInitializerIsError.ts(2,19): error TS2523: 'yield' expressions cannot be used in a parameter initializer. -yieldParameterIsError.ts(2,15): error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +yieldParameterIsError.ts(2,15): error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. yieldStarMissingValueIsError.ts(3,16): error TS1109: Expression expected. @@ -39,7 +41,7 @@ yieldStarMissingValueIsError.ts(3,16): error TS1109: Expression expected. const o5 = { async * f(yield) { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } }; ==== awaitInParameterInitializerIsError.ts (1 errors) ==== @@ -68,7 +70,7 @@ yieldStarMissingValueIsError.ts(3,16): error TS1109: Expression expected. async * f() { function yield() { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } } }; @@ -77,7 +79,7 @@ yieldStarMissingValueIsError.ts(3,16): error TS1109: Expression expected. async * f() { const x = function yield() { ~~~~~ -!!! error TS1359: Identifier expected. 'yield' is a reserved word that cannot be used here. +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. }; } }; @@ -146,11 +148,15 @@ yieldStarMissingValueIsError.ts(3,16): error TS1109: Expression expected. let x: await; } }; -==== yieldAsTypeIsOk.ts (0 errors) ==== +==== yieldAsTypeIsOk.ts (2 errors) ==== interface yield {} + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. const o20 = { async * f() { let x: yield; + ~~~~~ +!!! error TS1212: Identifier expected. 'yield' is a reserved word in strict mode. } }; ==== yieldInNestedComputedPropertyIsOk.ts (0 errors) ==== diff --git a/tests/baselines/reference/parser.numericSeparators.binary.js b/tests/baselines/reference/parser.numericSeparators.binary.js index ed9bfeb231f84..91b55a4256cb4 100644 --- a/tests/baselines/reference/parser.numericSeparators.binary.js +++ b/tests/baselines/reference/parser.numericSeparators.binary.js @@ -8,6 +8,7 @@ //// [parser.numericSeparators.binary.js] +"use strict"; 3; 1; 195; diff --git a/tests/baselines/reference/parser.numericSeparators.binaryNegative.js b/tests/baselines/reference/parser.numericSeparators.binaryNegative.js index 6056e35418c0c..96f93e439c79b 100644 --- a/tests/baselines/reference/parser.numericSeparators.binaryNegative.js +++ b/tests/baselines/reference/parser.numericSeparators.binaryNegative.js @@ -20,15 +20,21 @@ //// [1.js] +"use strict"; 0; //// [2.js] +"use strict"; 6; //// [3.js] +"use strict"; 0; B0101; //// [4.js] +"use strict"; 7; //// [5.js] +"use strict"; 102; //// [6.js] +"use strict"; 1867; diff --git a/tests/baselines/reference/parser.numericSeparators.decimal(target=es2020).js b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2020).js index ad02bc7c6fc9a..c36075baf6fff 100644 --- a/tests/baselines/reference/parser.numericSeparators.decimal(target=es2020).js +++ b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2020).js @@ -18,6 +18,7 @@ //// [parser.numericSeparators.decimal.js] +"use strict"; 1000000000; 1.10001; 10000000000; diff --git a/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).js b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).js index 969341f4d2b43..5366b1c173a4a 100644 --- a/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).js +++ b/tests/baselines/reference/parser.numericSeparators.decimal(target=es2021).js @@ -18,6 +18,7 @@ //// [parser.numericSeparators.decimal.js] +"use strict"; 1_000_000_000; 1.1_00_01; 1e1_0; diff --git a/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).js b/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).js index ad02bc7c6fc9a..c36075baf6fff 100644 --- a/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).js +++ b/tests/baselines/reference/parser.numericSeparators.decimal(target=es5).js @@ -18,6 +18,7 @@ //// [parser.numericSeparators.decimal.js] +"use strict"; 1000000000; 1.10001; 10000000000; diff --git a/tests/baselines/reference/parser.numericSeparators.decmialNegative.js b/tests/baselines/reference/parser.numericSeparators.decmialNegative.js index 9a4c02ba3b16a..56ed49b384e18 100644 --- a/tests/baselines/reference/parser.numericSeparators.decmialNegative.js +++ b/tests/baselines/reference/parser.numericSeparators.decmialNegative.js @@ -155,108 +155,159 @@ _0.0e-0 //// [1.js] +"use strict"; _10; //// [2.js] +"use strict"; 10; //// [3.js] +"use strict"; 10; //// [4.js] +"use strict"; 0; //// [5.js] +"use strict"; 0; //// [6.js] +"use strict"; 0; //// [7.js] +"use strict"; 0; //// [8.js] +"use strict"; 0; //// [9.js] +"use strict"; 0; //// [10.js] +"use strict"; 0; //// [11.js] +"use strict"; 0; //// [12.js] +"use strict"; 0; //// [13.js] +"use strict"; 0; //// [14.js] +"use strict"; 0; //// [15.js] +"use strict"; 0; //// [16.js] +"use strict"; _0; .0e0; //// [17.js] +"use strict"; 0; //// [18.js] +"use strict"; 0; //// [19.js] +"use strict"; 0; //// [20.js] +"use strict"; 0; //// [21.js] +"use strict"; 0; //// [22.js] +"use strict"; 0; //// [23.js] +"use strict"; 0; //// [24.js] +"use strict"; 0; //// [25.js] +"use strict"; 0; //// [26.js] +"use strict"; 0; //// [27.js] +"use strict"; 0; //// [28.js] +"use strict"; 0; //// [29.js] +"use strict"; _0; .0e+0; //// [30.js] +"use strict"; 0; //// [31.js] +"use strict"; 0; //// [32.js] +"use strict"; 0; //// [33.js] +"use strict"; 0; //// [34.js] +"use strict"; 0; //// [35.js] +"use strict"; 0; //// [36.js] +"use strict"; 0; //// [37.js] +"use strict"; 0; //// [38.js] +"use strict"; 0; //// [39.js] +"use strict"; 0; //// [40.js] +"use strict"; 0; //// [41.js] +"use strict"; 0; //// [42.js] +"use strict"; _0; .0e-0; //// [43.js] +"use strict"; 0; //// [44.js] +"use strict"; 0; //// [45.js] +"use strict"; 0; //// [46.js] +"use strict"; 0; //// [47.js] +"use strict"; _; //// [48.js] +"use strict"; 1; \u005F01234; //// [49.js] +"use strict"; 1 + 10; //// [50.js] +"use strict"; 1 - 10; //// [51.js] +"use strict"; 0; diff --git a/tests/baselines/reference/parser.numericSeparators.hex.js b/tests/baselines/reference/parser.numericSeparators.hex.js index fa04dd6c8a0b2..ccb8becb588c4 100644 --- a/tests/baselines/reference/parser.numericSeparators.hex.js +++ b/tests/baselines/reference/parser.numericSeparators.hex.js @@ -8,6 +8,7 @@ //// [parser.numericSeparators.hex.js] +"use strict"; 17; 1; 285212689; diff --git a/tests/baselines/reference/parser.numericSeparators.hexNegative.js b/tests/baselines/reference/parser.numericSeparators.hexNegative.js index 450b1ac4054c0..c2b00f39af55f 100644 --- a/tests/baselines/reference/parser.numericSeparators.hexNegative.js +++ b/tests/baselines/reference/parser.numericSeparators.hexNegative.js @@ -20,15 +20,21 @@ //// [1.js] +"use strict"; 0; //// [2.js] +"use strict"; 272; //// [3.js] +"use strict"; 0; X0101; //// [4.js] +"use strict"; 273; //// [5.js] +"use strict"; 17826064; //// [6.js] +"use strict"; 1172542853137; diff --git a/tests/baselines/reference/parser.numericSeparators.octal.js b/tests/baselines/reference/parser.numericSeparators.octal.js index 09df4d3a43ad4..2096e5636c014 100644 --- a/tests/baselines/reference/parser.numericSeparators.octal.js +++ b/tests/baselines/reference/parser.numericSeparators.octal.js @@ -8,6 +8,7 @@ //// [parser.numericSeparators.octal.js] +"use strict"; 9; 1; 2359305; diff --git a/tests/baselines/reference/parser.numericSeparators.octalNegative.js b/tests/baselines/reference/parser.numericSeparators.octalNegative.js index 34c729aeebf7e..a8ba2cb62a72c 100644 --- a/tests/baselines/reference/parser.numericSeparators.octalNegative.js +++ b/tests/baselines/reference/parser.numericSeparators.octalNegative.js @@ -20,15 +20,21 @@ //// [1.js] +"use strict"; 0; //// [2.js] +"use strict"; 72; //// [3.js] +"use strict"; 0; O0101; //// [4.js] +"use strict"; 73; //// [5.js] +"use strict"; 294984; //// [6.js] +"use strict"; 1224999433; diff --git a/tests/baselines/reference/parser.numericSeparators.unicodeEscape.js b/tests/baselines/reference/parser.numericSeparators.unicodeEscape.js index 9e6e8050ae989..4f3cc4e75dd3a 100644 --- a/tests/baselines/reference/parser.numericSeparators.unicodeEscape.js +++ b/tests/baselines/reference/parser.numericSeparators.unicodeEscape.js @@ -146,98 +146,146 @@ //// [1.js] +"use strict"; "\u{10_ffff}"; //// [2.js] +"use strict"; '\u{10_ffff}'; //// [3.js] +"use strict"; `\u{10_ffff}`; //// [4.js] +"use strict"; /\u{10_ffff}/u; //// [5.js] +"use strict"; "\uff_ff"; //// [6.js] +"use strict"; '\uff_ff'; //// [7.js] +"use strict"; `\uff_ff`; //// [8.js] +"use strict"; /\uff_ff/u; //// [9.js] +"use strict"; "\xf_f"; //// [10.js] +"use strict"; '\xf_f'; //// [11.js] +"use strict"; `\xf_f`; //// [12.js] +"use strict"; /\xf_f/u; //// [13.js] +"use strict"; "\u{_10ffff}"; //// [14.js] +"use strict"; '\u{_10ffff}'; //// [15.js] +"use strict"; `\u{_10ffff}`; //// [16.js] +"use strict"; /\u{_10ffff}/u; //// [17.js] +"use strict"; "\u_ffff"; //// [18.js] +"use strict"; '\u_ffff'; //// [19.js] +"use strict"; `\u_ffff`; //// [20.js] +"use strict"; /\u_ffff/u; //// [21.js] +"use strict"; "\x_ff"; //// [22.js] +"use strict"; '\x_ff'; //// [23.js] +"use strict"; `\x_ff`; //// [24.js] +"use strict"; /\x_ff/u; //// [25.js] +"use strict"; "\u{10ffff_}"; //// [26.js] +"use strict"; '\u{10ffff_}'; //// [27.js] +"use strict"; `\u{10ffff_}`; //// [28.js] +"use strict"; /\u{10ffff_}/u; //// [29.js] +"use strict"; "\uffff_"; //// [30.js] +"use strict"; '\uffff_'; //// [31.js] +"use strict"; `\uffff_`; //// [32.js] +"use strict"; /\uffff_/u; //// [33.js] +"use strict"; "\xff_"; //// [34.js] +"use strict"; '\xff_'; //// [35.js] +"use strict"; `\xff_`; //// [36.js] +"use strict"; /\xff_/u; //// [37.js] +"use strict"; "\u{10__ffff}"; //// [38.js] +"use strict"; '\u{10__ffff}'; //// [39.js] +"use strict"; `\u{10__ffff}`; //// [40.js] +"use strict"; /\u{10__ffff}/u; //// [41.js] +"use strict"; "\uff__ff"; //// [42.js] +"use strict"; '\uff__ff'; //// [43.js] +"use strict"; `\uff__ff`; //// [44.js] +"use strict"; /\uff__ff/u; //// [45.js] +"use strict"; "\xf__f"; //// [46.js] +"use strict"; '\xf__f'; //// [47.js] +"use strict"; `\xf__f`; //// [48.js] +"use strict"; /\xf__f/u; diff --git a/tests/baselines/reference/parser15.4.4.14-9-2.js b/tests/baselines/reference/parser15.4.4.14-9-2.js index de309e486fe97..1591017085a2b 100644 --- a/tests/baselines/reference/parser15.4.4.14-9-2.js +++ b/tests/baselines/reference/parser15.4.4.14-9-2.js @@ -29,6 +29,7 @@ runTestCase(testcase); //// [parser15.4.4.14-9-2.js] +"use strict"; /// Copyright (c) 2012 Ecma International. All rights reserved. /// Ecma International makes this code available under the terms and conditions set /// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the diff --git a/tests/baselines/reference/parser509618.js b/tests/baselines/reference/parser509618.js index 47ffbe70890de..84b665011afa7 100644 --- a/tests/baselines/reference/parser509618.js +++ b/tests/baselines/reference/parser509618.js @@ -7,3 +7,4 @@ declare namespace ambiModule { //// [parser509618.js] +"use strict"; diff --git a/tests/baselines/reference/parser509630.js b/tests/baselines/reference/parser509630.js index 4ce5d57c626c2..d6bbe55b11a12 100644 --- a/tests/baselines/reference/parser509630.js +++ b/tests/baselines/reference/parser509630.js @@ -9,6 +9,7 @@ class Any extends Type { //// [parser509630.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parser509667.js b/tests/baselines/reference/parser509667.js index c58acd35a14bd..f0fb2554c26bd 100644 --- a/tests/baselines/reference/parser509667.js +++ b/tests/baselines/reference/parser509667.js @@ -14,6 +14,7 @@ class Foo { } //// [parser509667.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/parser509668.js b/tests/baselines/reference/parser509668.js index 85d285c7bd73a..99614c8bcbaff 100644 --- a/tests/baselines/reference/parser509668.js +++ b/tests/baselines/reference/parser509668.js @@ -7,6 +7,7 @@ class Foo3 { } //// [parser509668.js] +"use strict"; var Foo3 = /** @class */ (function () { // Doesn't work, but should function Foo3() { diff --git a/tests/baselines/reference/parser509669.js b/tests/baselines/reference/parser509669.js index f60c8afd48c83..32ad508fa4ccf 100644 --- a/tests/baselines/reference/parser509669.js +++ b/tests/baselines/reference/parser509669.js @@ -6,6 +6,7 @@ function foo():any { } //// [parser509669.js] +"use strict"; function foo() { return function () { }; } diff --git a/tests/baselines/reference/parser509677.js b/tests/baselines/reference/parser509677.js index a8ae467631487..1cbf6a5068103 100644 --- a/tests/baselines/reference/parser509677.js +++ b/tests/baselines/reference/parser509677.js @@ -4,4 +4,5 @@ var n: { y: string }; //// [parser509677.js] +"use strict"; var n; diff --git a/tests/baselines/reference/parser509693.js b/tests/baselines/reference/parser509693.js index b8d1d812cc17c..32ef8028a074a 100644 --- a/tests/baselines/reference/parser509693.js +++ b/tests/baselines/reference/parser509693.js @@ -4,5 +4,6 @@ if (!module.exports) module.exports = ""; //// [parser509693.js] +"use strict"; if (!module.exports) module.exports = ""; diff --git a/tests/baselines/reference/parser509698.js b/tests/baselines/reference/parser509698.js index 3a2e78a9d7609..3a79353b1b162 100644 --- a/tests/baselines/reference/parser509698.js +++ b/tests/baselines/reference/parser509698.js @@ -7,3 +7,4 @@ declare function bar(): void; //// [parser509698.js] +"use strict"; diff --git a/tests/baselines/reference/parser512084.js b/tests/baselines/reference/parser512084.js index 4d57bac76be5b..3dd6bbf49206c 100644 --- a/tests/baselines/reference/parser512084.js +++ b/tests/baselines/reference/parser512084.js @@ -5,6 +5,7 @@ class foo { //// [parser512084.js] +"use strict"; var foo = /** @class */ (function () { function foo() { } diff --git a/tests/baselines/reference/parser512097.js b/tests/baselines/reference/parser512097.js index 24ac5c758b5dc..41fde53290d73 100644 --- a/tests/baselines/reference/parser512097.js +++ b/tests/baselines/reference/parser512097.js @@ -7,6 +7,7 @@ if (true) { } //// [parser512097.js] +"use strict"; var tt = { aa: aa }; if (true) { } diff --git a/tests/baselines/reference/parser512325.js b/tests/baselines/reference/parser512325.js index a6972bd33ed74..c3bf6ef8fd70d 100644 --- a/tests/baselines/reference/parser512325.js +++ b/tests/baselines/reference/parser512325.js @@ -4,5 +4,6 @@ var tt = (a, (b, c)) => a+b+c; //// [parser512325.js] +"use strict"; var tt = (a, (b, c)); a + b + c; diff --git a/tests/baselines/reference/parser519458.js b/tests/baselines/reference/parser519458.js index 294cb8c5cbbf9..954fd1e72a3d8 100644 --- a/tests/baselines/reference/parser519458.js +++ b/tests/baselines/reference/parser519458.js @@ -5,6 +5,7 @@ import rect = module("rect"); var bar = new rect.Rect(); //// [parser519458.js] +"use strict"; var rect = module; ("rect"); var bar = new rect.Rect(); diff --git a/tests/baselines/reference/parser521128.js b/tests/baselines/reference/parser521128.js index b9a2b2cdbe909..c6c97c392df69 100644 --- a/tests/baselines/reference/parser521128.js +++ b/tests/baselines/reference/parser521128.js @@ -4,5 +4,6 @@ module.module { } //// [parser521128.js] +"use strict"; module.module; { } diff --git a/tests/baselines/reference/parser536727.js b/tests/baselines/reference/parser536727.js index bb1dca9b7d70c..c320c4acc01d8 100644 --- a/tests/baselines/reference/parser536727.js +++ b/tests/baselines/reference/parser536727.js @@ -12,6 +12,7 @@ foo(x); //// [parser536727.js] +"use strict"; function foo(f) { return f(""); } diff --git a/tests/baselines/reference/parser553699.js b/tests/baselines/reference/parser553699.js index 06fc8d300624f..3ef4bbf2e0a08 100644 --- a/tests/baselines/reference/parser553699.js +++ b/tests/baselines/reference/parser553699.js @@ -11,6 +11,7 @@ class Bar { } //// [parser553699.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/parser566700.js b/tests/baselines/reference/parser566700.js index 428c1781735dd..92cf762e823c3 100644 --- a/tests/baselines/reference/parser566700.js +++ b/tests/baselines/reference/parser566700.js @@ -4,4 +4,5 @@ var v = ()({}); //// [parser566700.js] +"use strict"; var v = ()({}); diff --git a/tests/baselines/reference/parser579071.js b/tests/baselines/reference/parser579071.js index 6713e0e312b14..58c6df001b622 100644 --- a/tests/baselines/reference/parser579071.js +++ b/tests/baselines/reference/parser579071.js @@ -4,4 +4,5 @@ var x = /fo(o/; //// [parser579071.js] +"use strict"; var x = /fo(o/; diff --git a/tests/baselines/reference/parser585151.js b/tests/baselines/reference/parser585151.js index 35343495aab31..84165656e1d67 100644 --- a/tests/baselines/reference/parser585151.js +++ b/tests/baselines/reference/parser585151.js @@ -7,6 +7,7 @@ class Foo2 { //// [parser585151.js] +"use strict"; var Foo2 = /** @class */ (function () { function Foo2() { } diff --git a/tests/baselines/reference/parser596700.js b/tests/baselines/reference/parser596700.js index e4063d4f34093..de7391406aaeb 100644 --- a/tests/baselines/reference/parser596700.js +++ b/tests/baselines/reference/parser596700.js @@ -4,4 +4,5 @@ var regex2 = /[a-z/]$/i; //// [parser596700.js] +"use strict"; var regex2 = /[a-z/]$/i; diff --git a/tests/baselines/reference/parser630933.js b/tests/baselines/reference/parser630933.js index 2ec2bdd96002a..bf798566d4d9e 100644 --- a/tests/baselines/reference/parser630933.js +++ b/tests/baselines/reference/parser630933.js @@ -6,5 +6,6 @@ var b = a.match(/\/ver=([^/]+)/); //// [parser630933.js] +"use strict"; var a = "Hello"; var b = a.match(/\/ver=([^/]+)/); diff --git a/tests/baselines/reference/parser642331.js b/tests/baselines/reference/parser642331.js index 749128ccf1905..c7239967640c2 100644 --- a/tests/baselines/reference/parser642331.js +++ b/tests/baselines/reference/parser642331.js @@ -7,6 +7,7 @@ class test { //// [parser642331.js] +"use strict"; var test = /** @class */ (function () { function test(static) { } diff --git a/tests/baselines/reference/parser643728.js b/tests/baselines/reference/parser643728.js index d2f75afdee05d..2de63d34a267a 100644 --- a/tests/baselines/reference/parser643728.js +++ b/tests/baselines/reference/parser643728.js @@ -8,3 +8,4 @@ interface C { //// [parser643728.js] +"use strict"; diff --git a/tests/baselines/reference/parser645086_1.js b/tests/baselines/reference/parser645086_1.js index 7c5f1a2375b9b..c3dc8c088a74b 100644 --- a/tests/baselines/reference/parser645086_1.js +++ b/tests/baselines/reference/parser645086_1.js @@ -4,5 +4,6 @@ var v = /[]/]/ //// [parser645086_1.js] +"use strict"; var v = /[]/; /; diff --git a/tests/baselines/reference/parser645086_2.js b/tests/baselines/reference/parser645086_2.js index add838d2d91b9..fbcc6cb257f5e 100644 --- a/tests/baselines/reference/parser645086_2.js +++ b/tests/baselines/reference/parser645086_2.js @@ -4,5 +4,6 @@ var v = /[^]/]/ //// [parser645086_2.js] +"use strict"; var v = /[^]/; /; diff --git a/tests/baselines/reference/parser645086_3.js b/tests/baselines/reference/parser645086_3.js index 4cdf2431a0246..8b47613da80d1 100644 --- a/tests/baselines/reference/parser645086_3.js +++ b/tests/baselines/reference/parser645086_3.js @@ -4,4 +4,5 @@ var v = /[\]/]/ //// [parser645086_3.js] +"use strict"; var v = /[\]/]/; diff --git a/tests/baselines/reference/parser645086_4.js b/tests/baselines/reference/parser645086_4.js index a7067f8eae5b7..7c06af386a73a 100644 --- a/tests/baselines/reference/parser645086_4.js +++ b/tests/baselines/reference/parser645086_4.js @@ -4,4 +4,5 @@ var v = /[^\]/]/ //// [parser645086_4.js] +"use strict"; var v = /[^\]/]/; diff --git a/tests/baselines/reference/parser645484.js b/tests/baselines/reference/parser645484.js index 0d08cc7fadd96..9e0ed677573f9 100644 --- a/tests/baselines/reference/parser645484.js +++ b/tests/baselines/reference/parser645484.js @@ -6,4 +6,5 @@ var c : { } //// [parser645484.js] +"use strict"; var c; diff --git a/tests/baselines/reference/parser768531.js b/tests/baselines/reference/parser768531.js index 53fd128491c8c..4e4584755d008 100644 --- a/tests/baselines/reference/parser768531.js +++ b/tests/baselines/reference/parser768531.js @@ -5,6 +5,7 @@ /x/ //// [parser768531.js] +"use strict"; { a: 3; } diff --git a/tests/baselines/reference/parserAccessibilityAfterStatic1.js b/tests/baselines/reference/parserAccessibilityAfterStatic1.js index ba2e418ceb255..2958f6dbbb130 100644 --- a/tests/baselines/reference/parserAccessibilityAfterStatic1.js +++ b/tests/baselines/reference/parserAccessibilityAfterStatic1.js @@ -8,6 +8,7 @@ static public intI: number; //// [parserAccessibilityAfterStatic1.js] +"use strict"; var Outer = /** @class */ (function () { function Outer() { } diff --git a/tests/baselines/reference/parserAccessibilityAfterStatic10.js b/tests/baselines/reference/parserAccessibilityAfterStatic10.js index 9e9b5a8f2f383..2a20f58197138 100644 --- a/tests/baselines/reference/parserAccessibilityAfterStatic10.js +++ b/tests/baselines/reference/parserAccessibilityAfterStatic10.js @@ -8,6 +8,7 @@ static public intI() {} //// [parserAccessibilityAfterStatic10.js] +"use strict"; var Outer = /** @class */ (function () { function Outer() { } diff --git a/tests/baselines/reference/parserAccessibilityAfterStatic11.js b/tests/baselines/reference/parserAccessibilityAfterStatic11.js index 19ac503e1f03b..6661450423e4a 100644 --- a/tests/baselines/reference/parserAccessibilityAfterStatic11.js +++ b/tests/baselines/reference/parserAccessibilityAfterStatic11.js @@ -8,6 +8,7 @@ static public() {} //// [parserAccessibilityAfterStatic11.js] +"use strict"; var Outer = /** @class */ (function () { function Outer() { } diff --git a/tests/baselines/reference/parserAccessibilityAfterStatic14.js b/tests/baselines/reference/parserAccessibilityAfterStatic14.js index 42d18d05c21e7..967a47f50ae84 100644 --- a/tests/baselines/reference/parserAccessibilityAfterStatic14.js +++ b/tests/baselines/reference/parserAccessibilityAfterStatic14.js @@ -8,6 +8,7 @@ static public() {} //// [parserAccessibilityAfterStatic14.js] +"use strict"; var Outer = /** @class */ (function () { function Outer() { } diff --git a/tests/baselines/reference/parserAccessibilityAfterStatic2.js b/tests/baselines/reference/parserAccessibilityAfterStatic2.js index 431fdf066d541..e1840c1541105 100644 --- a/tests/baselines/reference/parserAccessibilityAfterStatic2.js +++ b/tests/baselines/reference/parserAccessibilityAfterStatic2.js @@ -8,6 +8,7 @@ static public; //// [parserAccessibilityAfterStatic2.js] +"use strict"; var Outer = /** @class */ (function () { function Outer() { } diff --git a/tests/baselines/reference/parserAccessibilityAfterStatic3.js b/tests/baselines/reference/parserAccessibilityAfterStatic3.js index 6e643792ae7fd..08d4bc5136f00 100644 --- a/tests/baselines/reference/parserAccessibilityAfterStatic3.js +++ b/tests/baselines/reference/parserAccessibilityAfterStatic3.js @@ -8,6 +8,7 @@ static public = 1; //// [parserAccessibilityAfterStatic3.js] +"use strict"; var Outer = /** @class */ (function () { function Outer() { } diff --git a/tests/baselines/reference/parserAccessibilityAfterStatic4.js b/tests/baselines/reference/parserAccessibilityAfterStatic4.js index e3915e260cefe..239707ec3e3d5 100644 --- a/tests/baselines/reference/parserAccessibilityAfterStatic4.js +++ b/tests/baselines/reference/parserAccessibilityAfterStatic4.js @@ -8,6 +8,7 @@ static public: number; //// [parserAccessibilityAfterStatic4.js] +"use strict"; var Outer = /** @class */ (function () { function Outer() { } diff --git a/tests/baselines/reference/parserAccessibilityAfterStatic5.js b/tests/baselines/reference/parserAccessibilityAfterStatic5.js index 1b8146cf3ceaa..c73cbaff2d1c0 100644 --- a/tests/baselines/reference/parserAccessibilityAfterStatic5.js +++ b/tests/baselines/reference/parserAccessibilityAfterStatic5.js @@ -8,6 +8,7 @@ static public //// [parserAccessibilityAfterStatic5.js] +"use strict"; var Outer = /** @class */ (function () { function Outer() { } diff --git a/tests/baselines/reference/parserAccessibilityAfterStatic6.js b/tests/baselines/reference/parserAccessibilityAfterStatic6.js index 5a39c974b7a13..defc844435ddb 100644 --- a/tests/baselines/reference/parserAccessibilityAfterStatic6.js +++ b/tests/baselines/reference/parserAccessibilityAfterStatic6.js @@ -6,6 +6,7 @@ class Outer static public //// [parserAccessibilityAfterStatic6.js] +"use strict"; var Outer = /** @class */ (function () { function Outer() { } diff --git a/tests/baselines/reference/parserAccessibilityAfterStatic7.js b/tests/baselines/reference/parserAccessibilityAfterStatic7.js index 8685829b57165..3adb084a7b169 100644 --- a/tests/baselines/reference/parserAccessibilityAfterStatic7.js +++ b/tests/baselines/reference/parserAccessibilityAfterStatic7.js @@ -8,6 +8,7 @@ static public intI() {} //// [parserAccessibilityAfterStatic7.js] +"use strict"; var Outer = /** @class */ (function () { function Outer() { } diff --git a/tests/baselines/reference/parserAccessors1.js b/tests/baselines/reference/parserAccessors1.js index eb1508c04108c..7d46bb2d4e783 100644 --- a/tests/baselines/reference/parserAccessors1.js +++ b/tests/baselines/reference/parserAccessors1.js @@ -6,6 +6,7 @@ class C { } //// [parserAccessors1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserAccessors10.js b/tests/baselines/reference/parserAccessors10.js index 5b4f06075a78a..230f3ead0c79e 100644 --- a/tests/baselines/reference/parserAccessors10.js +++ b/tests/baselines/reference/parserAccessors10.js @@ -6,6 +6,7 @@ var v = { }; //// [parserAccessors10.js] +"use strict"; var v = { get foo() { } }; diff --git a/tests/baselines/reference/parserAccessors2.js b/tests/baselines/reference/parserAccessors2.js index d3f2e81c51de7..4992129bf65f2 100644 --- a/tests/baselines/reference/parserAccessors2.js +++ b/tests/baselines/reference/parserAccessors2.js @@ -6,6 +6,7 @@ class C { } //// [parserAccessors2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserAccessors3.js b/tests/baselines/reference/parserAccessors3.js index 940cc45cd950d..504a4716b0c00 100644 --- a/tests/baselines/reference/parserAccessors3.js +++ b/tests/baselines/reference/parserAccessors3.js @@ -4,4 +4,5 @@ var v = { get Foo() { } }; //// [parserAccessors3.js] +"use strict"; var v = { get Foo() { } }; diff --git a/tests/baselines/reference/parserAccessors4.js b/tests/baselines/reference/parserAccessors4.js index fb1ba4194d2a4..10ff83b1b6acf 100644 --- a/tests/baselines/reference/parserAccessors4.js +++ b/tests/baselines/reference/parserAccessors4.js @@ -4,4 +4,5 @@ var v = { set Foo(a) { } }; //// [parserAccessors4.js] +"use strict"; var v = { set Foo(a) { } }; diff --git a/tests/baselines/reference/parserAccessors5.js b/tests/baselines/reference/parserAccessors5.js index e0d7d5f1995e3..032004251dcec 100644 --- a/tests/baselines/reference/parserAccessors5.js +++ b/tests/baselines/reference/parserAccessors5.js @@ -6,3 +6,4 @@ declare class C { } //// [parserAccessors5.js] +"use strict"; diff --git a/tests/baselines/reference/parserAccessors6.js b/tests/baselines/reference/parserAccessors6.js index 605a993238d54..b84da3378d382 100644 --- a/tests/baselines/reference/parserAccessors6.js +++ b/tests/baselines/reference/parserAccessors6.js @@ -6,3 +6,4 @@ declare class C { } //// [parserAccessors6.js] +"use strict"; diff --git a/tests/baselines/reference/parserAccessors7.js b/tests/baselines/reference/parserAccessors7.js index 0445c59e29f84..5eec6f8ed2654 100644 --- a/tests/baselines/reference/parserAccessors7.js +++ b/tests/baselines/reference/parserAccessors7.js @@ -4,4 +4,5 @@ var v = { get foo(v: number) { } }; //// [parserAccessors7.js] +"use strict"; var v = { get foo(v) { } }; diff --git a/tests/baselines/reference/parserAccessors8.js b/tests/baselines/reference/parserAccessors8.js index 90f5a3abe3aaf..5641fd7e3bf87 100644 --- a/tests/baselines/reference/parserAccessors8.js +++ b/tests/baselines/reference/parserAccessors8.js @@ -4,4 +4,5 @@ var v = { set foo() { } } //// [parserAccessors8.js] +"use strict"; var v = { set foo() { } }; diff --git a/tests/baselines/reference/parserAccessors9.js b/tests/baselines/reference/parserAccessors9.js index a2b9b86fada6b..26b8936c691b5 100644 --- a/tests/baselines/reference/parserAccessors9.js +++ b/tests/baselines/reference/parserAccessors9.js @@ -4,4 +4,5 @@ var v = { set foo(a, b) { } } //// [parserAccessors9.js] +"use strict"; var v = { set foo(a, b) { } }; diff --git a/tests/baselines/reference/parserAdditiveExpression1.js b/tests/baselines/reference/parserAdditiveExpression1.js index f39956056bc78..1a91f4322da7a 100644 --- a/tests/baselines/reference/parserAdditiveExpression1.js +++ b/tests/baselines/reference/parserAdditiveExpression1.js @@ -4,4 +4,5 @@ m.index+1+m[0].length; //// [parserAdditiveExpression1.js] +"use strict"; m.index + 1 + m[0].length; diff --git a/tests/baselines/reference/parserAmbiguity1.js b/tests/baselines/reference/parserAmbiguity1.js index 148ac5cbfbdb4..f321ac6492a1d 100644 --- a/tests/baselines/reference/parserAmbiguity1.js +++ b/tests/baselines/reference/parserAmbiguity1.js @@ -4,4 +4,5 @@ f(g(7)); //// [parserAmbiguity1.js] +"use strict"; f(g(7)); diff --git a/tests/baselines/reference/parserAmbiguity2.js b/tests/baselines/reference/parserAmbiguity2.js index 8eeb1c25ed52c..4c368a4e9fe08 100644 --- a/tests/baselines/reference/parserAmbiguity2.js +++ b/tests/baselines/reference/parserAmbiguity2.js @@ -4,4 +4,5 @@ f(g7); //// [parserAmbiguity2.js] +"use strict"; f(g < A, B > 7); diff --git a/tests/baselines/reference/parserAmbiguity3.js b/tests/baselines/reference/parserAmbiguity3.js index 14b8c8935a6fb..6ba527f004960 100644 --- a/tests/baselines/reference/parserAmbiguity3.js +++ b/tests/baselines/reference/parserAmbiguity3.js @@ -4,4 +4,5 @@ f(g < A, B > +(7)); //// [parserAmbiguity3.js] +"use strict"; f(g < A, B > +(7)); diff --git a/tests/baselines/reference/parserAmbiguityWithBinaryOperator1.js b/tests/baselines/reference/parserAmbiguityWithBinaryOperator1.js index 2dfc30fb99996..8ef4368e0caae 100644 --- a/tests/baselines/reference/parserAmbiguityWithBinaryOperator1.js +++ b/tests/baselines/reference/parserAmbiguityWithBinaryOperator1.js @@ -7,6 +7,7 @@ function f1() { } //// [parserAmbiguityWithBinaryOperator1.js] +"use strict"; function f1() { var a, b, c; if (a < b || b > (c + 1)) { } diff --git a/tests/baselines/reference/parserAmbiguityWithBinaryOperator2.js b/tests/baselines/reference/parserAmbiguityWithBinaryOperator2.js index b656365c39adc..2e5951b7ac2bb 100644 --- a/tests/baselines/reference/parserAmbiguityWithBinaryOperator2.js +++ b/tests/baselines/reference/parserAmbiguityWithBinaryOperator2.js @@ -7,6 +7,7 @@ function f() { } //// [parserAmbiguityWithBinaryOperator2.js] +"use strict"; function f() { var a, b, c; if (a < b && b > (c + 1)) { } diff --git a/tests/baselines/reference/parserAmbiguityWithBinaryOperator3.js b/tests/baselines/reference/parserAmbiguityWithBinaryOperator3.js index 0106c8e144713..396f0f72b590f 100644 --- a/tests/baselines/reference/parserAmbiguityWithBinaryOperator3.js +++ b/tests/baselines/reference/parserAmbiguityWithBinaryOperator3.js @@ -8,6 +8,7 @@ function f() { //// [parserAmbiguityWithBinaryOperator3.js] +"use strict"; function f() { var a, b, c; if (a < b && b < (c + 1)) { } diff --git a/tests/baselines/reference/parserAmbiguityWithBinaryOperator4.js b/tests/baselines/reference/parserAmbiguityWithBinaryOperator4.js index 5fca2b4bf8a8d..89298422c6dc8 100644 --- a/tests/baselines/reference/parserAmbiguityWithBinaryOperator4.js +++ b/tests/baselines/reference/parserAmbiguityWithBinaryOperator4.js @@ -7,6 +7,7 @@ function g() { } //// [parserAmbiguityWithBinaryOperator4.js] +"use strict"; function g() { var a, b, c; if (a(c + 1)) { } diff --git a/tests/baselines/reference/parserArrayLiteralExpression1.js b/tests/baselines/reference/parserArrayLiteralExpression1.js index 2eae0ba9753a8..a1592ea791356 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression1.js +++ b/tests/baselines/reference/parserArrayLiteralExpression1.js @@ -4,4 +4,5 @@ var v = []; //// [parserArrayLiteralExpression1.js] +"use strict"; var v = []; diff --git a/tests/baselines/reference/parserArrayLiteralExpression10.js b/tests/baselines/reference/parserArrayLiteralExpression10.js index 5f7c330405ab1..4e9e211d72d9d 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression10.js +++ b/tests/baselines/reference/parserArrayLiteralExpression10.js @@ -4,4 +4,5 @@ var v = [1,1,]; //// [parserArrayLiteralExpression10.js] +"use strict"; var v = [1, 1,]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression11.js b/tests/baselines/reference/parserArrayLiteralExpression11.js index 7385b1f48de80..95558d7bad6b5 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression11.js +++ b/tests/baselines/reference/parserArrayLiteralExpression11.js @@ -4,4 +4,5 @@ var v = [1,,1]; //// [parserArrayLiteralExpression11.js] +"use strict"; var v = [1, , 1]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression12.js b/tests/baselines/reference/parserArrayLiteralExpression12.js index d6c1a669cc40b..11b002e916cb1 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression12.js +++ b/tests/baselines/reference/parserArrayLiteralExpression12.js @@ -4,4 +4,5 @@ var v = [1,,,1]; //// [parserArrayLiteralExpression12.js] +"use strict"; var v = [1, , , 1]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression13.js b/tests/baselines/reference/parserArrayLiteralExpression13.js index 51e3db41736f0..a2d5f9d970e9c 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression13.js +++ b/tests/baselines/reference/parserArrayLiteralExpression13.js @@ -4,4 +4,5 @@ var v = [1,,1,,1]; //// [parserArrayLiteralExpression13.js] +"use strict"; var v = [1, , 1, , 1]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression14.js b/tests/baselines/reference/parserArrayLiteralExpression14.js index 944492fb8b7fa..cc5164ae55e39 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression14.js +++ b/tests/baselines/reference/parserArrayLiteralExpression14.js @@ -4,4 +4,5 @@ var v = [,,1,1,,1,,1,1,,1]; //// [parserArrayLiteralExpression14.js] +"use strict"; var v = [, , 1, 1, , 1, , 1, 1, , 1]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression15.js b/tests/baselines/reference/parserArrayLiteralExpression15.js index 8cd948b2b8867..0db57f16c71af 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression15.js +++ b/tests/baselines/reference/parserArrayLiteralExpression15.js @@ -4,4 +4,5 @@ var v = [,,1,1,,1,,1,1,,1,]; //// [parserArrayLiteralExpression15.js] +"use strict"; var v = [, , 1, 1, , 1, , 1, 1, , 1,]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression2.js b/tests/baselines/reference/parserArrayLiteralExpression2.js index 719fc291c2e59..fb6d785af7a4e 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression2.js +++ b/tests/baselines/reference/parserArrayLiteralExpression2.js @@ -4,4 +4,5 @@ var v = [,]; //// [parserArrayLiteralExpression2.js] +"use strict"; var v = [,]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression3.js b/tests/baselines/reference/parserArrayLiteralExpression3.js index ef8247fe07be6..293dfb10f0757 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression3.js +++ b/tests/baselines/reference/parserArrayLiteralExpression3.js @@ -4,4 +4,5 @@ var v = [,,]; //// [parserArrayLiteralExpression3.js] +"use strict"; var v = [, ,]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression4.js b/tests/baselines/reference/parserArrayLiteralExpression4.js index c4df71ba17156..6f3259510c95a 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression4.js +++ b/tests/baselines/reference/parserArrayLiteralExpression4.js @@ -4,4 +4,5 @@ var v = [,,,]; //// [parserArrayLiteralExpression4.js] +"use strict"; var v = [, , ,]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression5.js b/tests/baselines/reference/parserArrayLiteralExpression5.js index 116782d408260..f0d0eab79a6ec 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression5.js +++ b/tests/baselines/reference/parserArrayLiteralExpression5.js @@ -4,4 +4,5 @@ var v = [1]; //// [parserArrayLiteralExpression5.js] +"use strict"; var v = [1]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression6.js b/tests/baselines/reference/parserArrayLiteralExpression6.js index 3c1a39c82a1c8..60d8056becf5f 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression6.js +++ b/tests/baselines/reference/parserArrayLiteralExpression6.js @@ -4,4 +4,5 @@ var v = [,1]; //// [parserArrayLiteralExpression6.js] +"use strict"; var v = [, 1]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression7.js b/tests/baselines/reference/parserArrayLiteralExpression7.js index cea1072b936ce..e0ab660ef73b9 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression7.js +++ b/tests/baselines/reference/parserArrayLiteralExpression7.js @@ -4,4 +4,5 @@ var v = [1,]; //// [parserArrayLiteralExpression7.js] +"use strict"; var v = [1,]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression8.js b/tests/baselines/reference/parserArrayLiteralExpression8.js index df27396d4777d..39091ad31f039 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression8.js +++ b/tests/baselines/reference/parserArrayLiteralExpression8.js @@ -4,4 +4,5 @@ var v = [,1,]; //// [parserArrayLiteralExpression8.js] +"use strict"; var v = [, 1,]; diff --git a/tests/baselines/reference/parserArrayLiteralExpression9.js b/tests/baselines/reference/parserArrayLiteralExpression9.js index 7968607eb3d36..258ab770f465f 100644 --- a/tests/baselines/reference/parserArrayLiteralExpression9.js +++ b/tests/baselines/reference/parserArrayLiteralExpression9.js @@ -4,4 +4,5 @@ var v = [1,1]; //// [parserArrayLiteralExpression9.js] +"use strict"; var v = [1, 1]; diff --git a/tests/baselines/reference/parserArrowFunctionExpression1.js b/tests/baselines/reference/parserArrowFunctionExpression1.js index 5effb1fd38b76..2278c6f38c1bc 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression1.js +++ b/tests/baselines/reference/parserArrowFunctionExpression1.js @@ -4,4 +4,5 @@ var v = (public x: string) => { }; //// [parserArrowFunctionExpression1.js] +"use strict"; var v = function (x) { }; diff --git a/tests/baselines/reference/parserArrowFunctionExpression10.js b/tests/baselines/reference/parserArrowFunctionExpression10.js index 9109ef6971ab1..e2013a56b58a9 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression10.js +++ b/tests/baselines/reference/parserArrowFunctionExpression10.js @@ -8,6 +8,8 @@ a ? (b) : c => (d) : e => f //// [fileJs.js] +"use strict"; a ? (b) => (d) : e => f; // Not legal JS; "Unexpected token ':'" at last colon //// [fileTs.js] +"use strict"; a ? (b) => (d) : e => f; diff --git a/tests/baselines/reference/parserArrowFunctionExpression11.js b/tests/baselines/reference/parserArrowFunctionExpression11.js index 4b3d15555a4be..f6382ba726371 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression11.js +++ b/tests/baselines/reference/parserArrowFunctionExpression11.js @@ -8,6 +8,8 @@ a ? b ? c : (d) : e => f //// [fileJs.js] +"use strict"; a ? b ? c : (d) : e => f; // Legal JS //// [fileTs.js] +"use strict"; a ? b ? c : (d) : e => f; diff --git a/tests/baselines/reference/parserArrowFunctionExpression12.js b/tests/baselines/reference/parserArrowFunctionExpression12.js index 727fb88815450..86a00d6afe4c1 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression12.js +++ b/tests/baselines/reference/parserArrowFunctionExpression12.js @@ -8,6 +8,8 @@ a ? (b) => (c): d => e //// [fileJs.js] +"use strict"; a ? (b) => (c) : d => e; // Legal JS //// [fileTs.js] +"use strict"; a ? (b) => (c) : d => e; diff --git a/tests/baselines/reference/parserArrowFunctionExpression13.js b/tests/baselines/reference/parserArrowFunctionExpression13.js index d0ecd1f3fddef..1d739a35c1128 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression13.js +++ b/tests/baselines/reference/parserArrowFunctionExpression13.js @@ -8,6 +8,8 @@ a ? () => a() : (): any => null; //// [fileJs.js] +"use strict"; a ? () => a() : () => null; // Not legal JS; "Unexpected token ')'" at last paren //// [fileTs.js] +"use strict"; a ? () => a() : () => null; diff --git a/tests/baselines/reference/parserArrowFunctionExpression14.js b/tests/baselines/reference/parserArrowFunctionExpression14.js index 7c4da63e4d5ac..8d0f0c0f6d689 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression14.js +++ b/tests/baselines/reference/parserArrowFunctionExpression14.js @@ -8,6 +8,8 @@ a() ? (b: number, c?: string): void => d() : e; //// [fileJs.js] +"use strict"; a() ? (b, c) => d() : e; // Not legal JS; "Unexpected token ':'" at first colon //// [fileTs.js] +"use strict"; a() ? (b, c) => d() : e; diff --git a/tests/baselines/reference/parserArrowFunctionExpression15.js b/tests/baselines/reference/parserArrowFunctionExpression15.js index 00eb062bed568..e6af18b0d9e0c 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression15.js +++ b/tests/baselines/reference/parserArrowFunctionExpression15.js @@ -8,6 +8,8 @@ false ? (param): string => param : null //// [fileJs.js] +"use strict"; false ? (param) => param : null; // Not legal JS; "Unexpected token ':'" at last colon //// [fileTs.js] +"use strict"; false ? (param) => param : null; diff --git a/tests/baselines/reference/parserArrowFunctionExpression16.js b/tests/baselines/reference/parserArrowFunctionExpression16.js index 8c7861c2dd107..bdbc472439461 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression16.js +++ b/tests/baselines/reference/parserArrowFunctionExpression16.js @@ -8,6 +8,8 @@ true ? false ? (param): string => param : null : null //// [fileJs.js] +"use strict"; true ? false ? (param) => param : null : null; // Not legal JS; "Unexpected token ':'" at last colon //// [fileTs.js] +"use strict"; true ? false ? (param) => param : null : null; diff --git a/tests/baselines/reference/parserArrowFunctionExpression17.js b/tests/baselines/reference/parserArrowFunctionExpression17.js index 469c9e2b852b2..53a7e1e3bca43 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression17.js +++ b/tests/baselines/reference/parserArrowFunctionExpression17.js @@ -8,6 +8,8 @@ a ? b : (c) : d => e //// [fileJs.js] +"use strict"; a ? b : (c) => e; // Not legal JS; "Unexpected token ':'" at last colon //// [fileTs.js] +"use strict"; a ? b : (c) => e; diff --git a/tests/baselines/reference/parserArrowFunctionExpression2.js b/tests/baselines/reference/parserArrowFunctionExpression2.js index 09e015d0ecd56..ad975f99ac050 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression2.js +++ b/tests/baselines/reference/parserArrowFunctionExpression2.js @@ -4,5 +4,6 @@ a = () => { } || a //// [parserArrowFunctionExpression2.js] +"use strict"; a = function () { }; || a; diff --git a/tests/baselines/reference/parserArrowFunctionExpression3.js b/tests/baselines/reference/parserArrowFunctionExpression3.js index e87069fdb003c..ec045ee4d2abe 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression3.js +++ b/tests/baselines/reference/parserArrowFunctionExpression3.js @@ -4,4 +4,5 @@ a = (() => { } || a) //// [parserArrowFunctionExpression3.js] +"use strict"; a = (function () { }) || a; diff --git a/tests/baselines/reference/parserArrowFunctionExpression4.js b/tests/baselines/reference/parserArrowFunctionExpression4.js index 5ac9773563f82..143a49b03e35f 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression4.js +++ b/tests/baselines/reference/parserArrowFunctionExpression4.js @@ -4,4 +4,5 @@ a = (() => { }, a) //// [parserArrowFunctionExpression4.js] +"use strict"; a = (function () { }, a); diff --git a/tests/baselines/reference/parserArrowFunctionExpression5.js b/tests/baselines/reference/parserArrowFunctionExpression5.js index f38231f849186..a5b6fc2b29b82 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression5.js +++ b/tests/baselines/reference/parserArrowFunctionExpression5.js @@ -9,4 +9,5 @@ //// [parserArrowFunctionExpression5.js] +"use strict"; (bar(x, function () { }, function () { })); diff --git a/tests/baselines/reference/parserArrowFunctionExpression6.js b/tests/baselines/reference/parserArrowFunctionExpression6.js index 7f5fb7a0899ef..eddb994e440de 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression6.js +++ b/tests/baselines/reference/parserArrowFunctionExpression6.js @@ -7,6 +7,7 @@ function foo(q: string, b: number) { //// [parserArrowFunctionExpression6.js] +"use strict"; function foo(q, b) { return true ? (q ? true : false) : (b = q.length, function () { }); } diff --git a/tests/baselines/reference/parserArrowFunctionExpression7.js b/tests/baselines/reference/parserArrowFunctionExpression7.js index e1c764a0ae2f6..e50860afc0b0c 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression7.js +++ b/tests/baselines/reference/parserArrowFunctionExpression7.js @@ -10,6 +10,7 @@ //// [parserArrowFunctionExpression7.js] +"use strict"; ({ async m() { for (;;) { diff --git a/tests/baselines/reference/parserArrowFunctionExpression8.js b/tests/baselines/reference/parserArrowFunctionExpression8.js index e116ee9c9a662..196636fb4bc99 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression8.js +++ b/tests/baselines/reference/parserArrowFunctionExpression8.js @@ -8,6 +8,8 @@ x ? y => ({ y }) : z => ({ z }) //// [fileJs.js] +"use strict"; x ? y => ({ y }) : z => ({ z }); // Legal JS //// [fileTs.js] +"use strict"; x ? y => ({ y }) : z => ({ z }); diff --git a/tests/baselines/reference/parserArrowFunctionExpression9.js b/tests/baselines/reference/parserArrowFunctionExpression9.js index 891fd4914fb99..4b4fe9eb90ed5 100644 --- a/tests/baselines/reference/parserArrowFunctionExpression9.js +++ b/tests/baselines/reference/parserArrowFunctionExpression9.js @@ -8,6 +8,8 @@ b ? (c) : d => e //// [fileJs.js] +"use strict"; b ? (c) : d => e; // Legal JS //// [fileTs.js] +"use strict"; b ? (c) : d => e; diff --git a/tests/baselines/reference/parserAssignmentExpression1.js b/tests/baselines/reference/parserAssignmentExpression1.js index db2d9f09856f1..f415dafedd178 100644 --- a/tests/baselines/reference/parserAssignmentExpression1.js +++ b/tests/baselines/reference/parserAssignmentExpression1.js @@ -4,4 +4,5 @@ (foo()) = bar; //// [parserAssignmentExpression1.js] +"use strict"; (foo()) = bar; diff --git a/tests/baselines/reference/parserAstSpans1.js b/tests/baselines/reference/parserAstSpans1.js index e13e7057ebfd0..97fe7bcb5a999 100644 --- a/tests/baselines/reference/parserAstSpans1.js +++ b/tests/baselines/reference/parserAstSpans1.js @@ -222,6 +222,7 @@ class c6 extends c5 { } //// [parserAstSpans1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parserAutomaticSemicolonInsertion1.js b/tests/baselines/reference/parserAutomaticSemicolonInsertion1.js index 4fb14b6ccf54f..96b77f49aaac8 100644 --- a/tests/baselines/reference/parserAutomaticSemicolonInsertion1.js +++ b/tests/baselines/reference/parserAutomaticSemicolonInsertion1.js @@ -18,6 +18,7 @@ a = o; //// [parserAutomaticSemicolonInsertion1.js] +"use strict"; var o; o = i; i = o; diff --git a/tests/baselines/reference/parserCastVersusArrowFunction1.js b/tests/baselines/reference/parserCastVersusArrowFunction1.js index 2d93c21bc79e5..46b59d633ae62 100644 --- a/tests/baselines/reference/parserCastVersusArrowFunction1.js +++ b/tests/baselines/reference/parserCastVersusArrowFunction1.js @@ -13,6 +13,7 @@ var v = (a, b); var v = (a = 1, b = 2); //// [parserCastVersusArrowFunction1.js] +"use strict"; var v = function () { return 1; }; var v = a; var v = function (a) { return 1; }; diff --git a/tests/baselines/reference/parserCatchClauseWithTypeAnnotation1.js b/tests/baselines/reference/parserCatchClauseWithTypeAnnotation1.js index d293af9abe2be..aa975061431ad 100644 --- a/tests/baselines/reference/parserCatchClauseWithTypeAnnotation1.js +++ b/tests/baselines/reference/parserCatchClauseWithTypeAnnotation1.js @@ -7,6 +7,7 @@ try { //// [parserCatchClauseWithTypeAnnotation1.js] +"use strict"; try { } catch (e) { diff --git a/tests/baselines/reference/parserClassDeclaration1.js b/tests/baselines/reference/parserClassDeclaration1.js index 9d14a05b90f16..6da71965e50cb 100644 --- a/tests/baselines/reference/parserClassDeclaration1.js +++ b/tests/baselines/reference/parserClassDeclaration1.js @@ -5,6 +5,7 @@ class C extends A extends B { } //// [parserClassDeclaration1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parserClassDeclaration10.js b/tests/baselines/reference/parserClassDeclaration10.js index 37f5fc5c77113..d8485e985c63a 100644 --- a/tests/baselines/reference/parserClassDeclaration10.js +++ b/tests/baselines/reference/parserClassDeclaration10.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration10.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration11.js b/tests/baselines/reference/parserClassDeclaration11.js index a800e58937fb8..6442d919a9c2a 100644 --- a/tests/baselines/reference/parserClassDeclaration11.js +++ b/tests/baselines/reference/parserClassDeclaration11.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration11.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration12.js b/tests/baselines/reference/parserClassDeclaration12.js index b50b21ccc2577..29562c9565d29 100644 --- a/tests/baselines/reference/parserClassDeclaration12.js +++ b/tests/baselines/reference/parserClassDeclaration12.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration12.js] +"use strict"; var C = /** @class */ (function () { function C(a) { } diff --git a/tests/baselines/reference/parserClassDeclaration13.js b/tests/baselines/reference/parserClassDeclaration13.js index 028c58de310a0..4121258419e01 100644 --- a/tests/baselines/reference/parserClassDeclaration13.js +++ b/tests/baselines/reference/parserClassDeclaration13.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration13.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration14.js b/tests/baselines/reference/parserClassDeclaration14.js index 7700a2a59950c..9d0aa8309461a 100644 --- a/tests/baselines/reference/parserClassDeclaration14.js +++ b/tests/baselines/reference/parserClassDeclaration14.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration14.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration15.js b/tests/baselines/reference/parserClassDeclaration15.js index 0b6b9b4f628b2..71a5163107a1d 100644 --- a/tests/baselines/reference/parserClassDeclaration15.js +++ b/tests/baselines/reference/parserClassDeclaration15.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration15.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration16.js b/tests/baselines/reference/parserClassDeclaration16.js index 7063ae76cdfd8..79d26bd2babf3 100644 --- a/tests/baselines/reference/parserClassDeclaration16.js +++ b/tests/baselines/reference/parserClassDeclaration16.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration16.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration17.js b/tests/baselines/reference/parserClassDeclaration17.js index bf93530b640e9..84cafcfc876fd 100644 --- a/tests/baselines/reference/parserClassDeclaration17.js +++ b/tests/baselines/reference/parserClassDeclaration17.js @@ -10,3 +10,4 @@ declare class Enumerator { //// [parserClassDeclaration17.js] +"use strict"; diff --git a/tests/baselines/reference/parserClassDeclaration18.js b/tests/baselines/reference/parserClassDeclaration18.js index 8b6f40e9246c1..0a0171a7a6fd3 100644 --- a/tests/baselines/reference/parserClassDeclaration18.js +++ b/tests/baselines/reference/parserClassDeclaration18.js @@ -10,3 +10,4 @@ declare class FooBase { } //// [parserClassDeclaration18.js] +"use strict"; diff --git a/tests/baselines/reference/parserClassDeclaration19.js b/tests/baselines/reference/parserClassDeclaration19.js index 708284af89de6..b19f493950570 100644 --- a/tests/baselines/reference/parserClassDeclaration19.js +++ b/tests/baselines/reference/parserClassDeclaration19.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration19.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration2.js b/tests/baselines/reference/parserClassDeclaration2.js index 8cdd15635da4d..b13eea547f815 100644 --- a/tests/baselines/reference/parserClassDeclaration2.js +++ b/tests/baselines/reference/parserClassDeclaration2.js @@ -5,6 +5,7 @@ class C implements A implements B { } //// [parserClassDeclaration2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration20.js b/tests/baselines/reference/parserClassDeclaration20.js index 868c6b540b221..5ac310d4d6146 100644 --- a/tests/baselines/reference/parserClassDeclaration20.js +++ b/tests/baselines/reference/parserClassDeclaration20.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration20.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration21.js b/tests/baselines/reference/parserClassDeclaration21.js index dc295f9c94012..67b0b44c996e6 100644 --- a/tests/baselines/reference/parserClassDeclaration21.js +++ b/tests/baselines/reference/parserClassDeclaration21.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration21.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration22.js b/tests/baselines/reference/parserClassDeclaration22.js index 33e10efc1da0b..f9c4edeb47050 100644 --- a/tests/baselines/reference/parserClassDeclaration22.js +++ b/tests/baselines/reference/parserClassDeclaration22.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration22.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration23.js b/tests/baselines/reference/parserClassDeclaration23.js index d04da90084664..f576d676beb75 100644 --- a/tests/baselines/reference/parserClassDeclaration23.js +++ b/tests/baselines/reference/parserClassDeclaration23.js @@ -5,6 +5,7 @@ class C\u0032 { } //// [parserClassDeclaration23.js] +"use strict"; var C\u0032 = /** @class */ (function () { function C\u0032() { } diff --git a/tests/baselines/reference/parserClassDeclaration24.js b/tests/baselines/reference/parserClassDeclaration24.js index 6702d732aa90d..fcf4024b18c34 100644 --- a/tests/baselines/reference/parserClassDeclaration24.js +++ b/tests/baselines/reference/parserClassDeclaration24.js @@ -5,6 +5,7 @@ class any { } //// [parserClassDeclaration24.js] +"use strict"; var any = /** @class */ (function () { function any() { } diff --git a/tests/baselines/reference/parserClassDeclaration25.js b/tests/baselines/reference/parserClassDeclaration25.js index 76350a30a0374..e237ca3ecb4bd 100644 --- a/tests/baselines/reference/parserClassDeclaration25.js +++ b/tests/baselines/reference/parserClassDeclaration25.js @@ -12,6 +12,7 @@ class List implements IList { //// [parserClassDeclaration25.js] +"use strict"; var List = /** @class */ (function () { function List() { } diff --git a/tests/baselines/reference/parserClassDeclaration26.js b/tests/baselines/reference/parserClassDeclaration26.js index 6c07e3418446c..c412051fa6e6c 100644 --- a/tests/baselines/reference/parserClassDeclaration26.js +++ b/tests/baselines/reference/parserClassDeclaration26.js @@ -7,6 +7,7 @@ class C { } //// [parserClassDeclaration26.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration3.js b/tests/baselines/reference/parserClassDeclaration3.js index 517e1ac30dd34..cbe1526d2ccff 100644 --- a/tests/baselines/reference/parserClassDeclaration3.js +++ b/tests/baselines/reference/parserClassDeclaration3.js @@ -5,6 +5,7 @@ class C implements A extends B { } //// [parserClassDeclaration3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parserClassDeclaration4.js b/tests/baselines/reference/parserClassDeclaration4.js index c12293d38cb70..a8c478fde29bf 100644 --- a/tests/baselines/reference/parserClassDeclaration4.js +++ b/tests/baselines/reference/parserClassDeclaration4.js @@ -5,6 +5,7 @@ class C extends A implements B extends C { } //// [parserClassDeclaration4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parserClassDeclaration5.js b/tests/baselines/reference/parserClassDeclaration5.js index 1038aaeccfe30..333d8567d6cac 100644 --- a/tests/baselines/reference/parserClassDeclaration5.js +++ b/tests/baselines/reference/parserClassDeclaration5.js @@ -5,6 +5,7 @@ class C extends A implements B implements C { } //// [parserClassDeclaration5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parserClassDeclaration6.js b/tests/baselines/reference/parserClassDeclaration6.js index 9340b6e1e12eb..36deac1e3fc91 100644 --- a/tests/baselines/reference/parserClassDeclaration6.js +++ b/tests/baselines/reference/parserClassDeclaration6.js @@ -5,6 +5,7 @@ class C extends A, B { } //// [parserClassDeclaration6.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parserClassDeclaration7.js b/tests/baselines/reference/parserClassDeclaration7.js index d1ab6c615d8a6..f190cd6c68da1 100644 --- a/tests/baselines/reference/parserClassDeclaration7.js +++ b/tests/baselines/reference/parserClassDeclaration7.js @@ -7,3 +7,4 @@ declare namespace M { } //// [parserClassDeclaration7.js] +"use strict"; diff --git a/tests/baselines/reference/parserClassDeclaration8.js b/tests/baselines/reference/parserClassDeclaration8.js index b3adc9d8015e6..c436701ff58bf 100644 --- a/tests/baselines/reference/parserClassDeclaration8.js +++ b/tests/baselines/reference/parserClassDeclaration8.js @@ -6,6 +6,7 @@ class C { } //// [parserClassDeclaration8.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclaration9.js b/tests/baselines/reference/parserClassDeclaration9.js index e9710575f58dd..fcc2d2ba6a2bd 100644 --- a/tests/baselines/reference/parserClassDeclaration9.js +++ b/tests/baselines/reference/parserClassDeclaration9.js @@ -6,6 +6,7 @@ class C { } //// [parserClassDeclaration9.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserClassDeclarationIndexSignature1.js b/tests/baselines/reference/parserClassDeclarationIndexSignature1.js index 37ae0f0d23990..f5cacf9015fe8 100644 --- a/tests/baselines/reference/parserClassDeclarationIndexSignature1.js +++ b/tests/baselines/reference/parserClassDeclarationIndexSignature1.js @@ -6,6 +6,7 @@ class C { } //// [parserClassDeclarationIndexSignature1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserCommaInTypeMemberList1.js b/tests/baselines/reference/parserCommaInTypeMemberList1.js index ddccb7baa6cfd..6b0dccd5f3e27 100644 --- a/tests/baselines/reference/parserCommaInTypeMemberList1.js +++ b/tests/baselines/reference/parserCommaInTypeMemberList1.js @@ -4,4 +4,5 @@ var v: { workItem: any, width: string }; //// [parserCommaInTypeMemberList1.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserCommaInTypeMemberList2.js b/tests/baselines/reference/parserCommaInTypeMemberList2.js index f097e46bfc038..1636d3d3976ae 100644 --- a/tests/baselines/reference/parserCommaInTypeMemberList2.js +++ b/tests/baselines/reference/parserCommaInTypeMemberList2.js @@ -5,4 +5,5 @@ var s = $.extend< { workItem: any }, { workItem: any, width: string }>({ workIte //// [parserCommaInTypeMemberList2.js] +"use strict"; var s = $.extend({ workItem: this._workItem }, {}); diff --git a/tests/baselines/reference/parserComputedPropertyName1.js b/tests/baselines/reference/parserComputedPropertyName1.js index afd2d9ebef87f..e226b38480aae 100644 --- a/tests/baselines/reference/parserComputedPropertyName1.js +++ b/tests/baselines/reference/parserComputedPropertyName1.js @@ -4,4 +4,5 @@ var v = { [e] }; //// [parserComputedPropertyName1.js] +"use strict"; var v = { [e]: }; diff --git a/tests/baselines/reference/parserComputedPropertyName10.js b/tests/baselines/reference/parserComputedPropertyName10.js index fb3bdf34852cd..e23f3079f3277 100644 --- a/tests/baselines/reference/parserComputedPropertyName10.js +++ b/tests/baselines/reference/parserComputedPropertyName10.js @@ -6,6 +6,7 @@ class C { } //// [parserComputedPropertyName10.js] +"use strict"; var _a; class C { constructor() { diff --git a/tests/baselines/reference/parserComputedPropertyName11.js b/tests/baselines/reference/parserComputedPropertyName11.js index 5064a0d5d6b22..6f51039da2678 100644 --- a/tests/baselines/reference/parserComputedPropertyName11.js +++ b/tests/baselines/reference/parserComputedPropertyName11.js @@ -6,5 +6,6 @@ class C { } //// [parserComputedPropertyName11.js] +"use strict"; class C { } diff --git a/tests/baselines/reference/parserComputedPropertyName12.js b/tests/baselines/reference/parserComputedPropertyName12.js index ef17ac228db7e..e32490d85c4b8 100644 --- a/tests/baselines/reference/parserComputedPropertyName12.js +++ b/tests/baselines/reference/parserComputedPropertyName12.js @@ -6,6 +6,7 @@ class C { } //// [parserComputedPropertyName12.js] +"use strict"; class C { [e]() { } } diff --git a/tests/baselines/reference/parserComputedPropertyName13.js b/tests/baselines/reference/parserComputedPropertyName13.js index 4fb672cf55c73..9f0a0317aadb6 100644 --- a/tests/baselines/reference/parserComputedPropertyName13.js +++ b/tests/baselines/reference/parserComputedPropertyName13.js @@ -4,4 +4,5 @@ var v: { [e]: number }; //// [parserComputedPropertyName13.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserComputedPropertyName14.js b/tests/baselines/reference/parserComputedPropertyName14.js index dd826a0990977..83273dfb07e6e 100644 --- a/tests/baselines/reference/parserComputedPropertyName14.js +++ b/tests/baselines/reference/parserComputedPropertyName14.js @@ -4,4 +4,5 @@ var v: { [e](): number }; //// [parserComputedPropertyName14.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserComputedPropertyName15.js b/tests/baselines/reference/parserComputedPropertyName15.js index 20c24919ee24c..e57fa766f1062 100644 --- a/tests/baselines/reference/parserComputedPropertyName15.js +++ b/tests/baselines/reference/parserComputedPropertyName15.js @@ -4,4 +4,5 @@ var v: { [e: number]: string; [e]: number }; //// [parserComputedPropertyName15.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserComputedPropertyName16.js b/tests/baselines/reference/parserComputedPropertyName16.js index 1eb2f9b6035b2..6f48967fb371a 100644 --- a/tests/baselines/reference/parserComputedPropertyName16.js +++ b/tests/baselines/reference/parserComputedPropertyName16.js @@ -6,6 +6,7 @@ enum E { } //// [parserComputedPropertyName16.js] +"use strict"; var E; (function (E) { E[E[e] = 1] = e; diff --git a/tests/baselines/reference/parserComputedPropertyName17.js b/tests/baselines/reference/parserComputedPropertyName17.js index 1ce55aef6b9fd..9b53b09010d75 100644 --- a/tests/baselines/reference/parserComputedPropertyName17.js +++ b/tests/baselines/reference/parserComputedPropertyName17.js @@ -4,4 +4,5 @@ var v = { set [e](v) { } } //// [parserComputedPropertyName17.js] +"use strict"; var v = { set [e](v) { } }; diff --git a/tests/baselines/reference/parserComputedPropertyName18.js b/tests/baselines/reference/parserComputedPropertyName18.js index e6294d51bedc8..0199967dddae7 100644 --- a/tests/baselines/reference/parserComputedPropertyName18.js +++ b/tests/baselines/reference/parserComputedPropertyName18.js @@ -4,4 +4,5 @@ var v: { [e]?(): number }; //// [parserComputedPropertyName18.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserComputedPropertyName19.js b/tests/baselines/reference/parserComputedPropertyName19.js index 827e5bd218894..14ba29dfa6cdc 100644 --- a/tests/baselines/reference/parserComputedPropertyName19.js +++ b/tests/baselines/reference/parserComputedPropertyName19.js @@ -4,4 +4,5 @@ var v: { [e]? }; //// [parserComputedPropertyName19.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserComputedPropertyName2.js b/tests/baselines/reference/parserComputedPropertyName2.js index 6bf12e7de00fd..c701bf3faafcb 100644 --- a/tests/baselines/reference/parserComputedPropertyName2.js +++ b/tests/baselines/reference/parserComputedPropertyName2.js @@ -4,4 +4,5 @@ var v = { [e]: 1 }; //// [parserComputedPropertyName2.js] +"use strict"; var v = { [e]: 1 }; diff --git a/tests/baselines/reference/parserComputedPropertyName20.js b/tests/baselines/reference/parserComputedPropertyName20.js index 5268987360200..06d43fdc7ecf7 100644 --- a/tests/baselines/reference/parserComputedPropertyName20.js +++ b/tests/baselines/reference/parserComputedPropertyName20.js @@ -6,3 +6,4 @@ interface I { } //// [parserComputedPropertyName20.js] +"use strict"; diff --git a/tests/baselines/reference/parserComputedPropertyName21.js b/tests/baselines/reference/parserComputedPropertyName21.js index 5ac1038eebaf1..9ea3eca19a08a 100644 --- a/tests/baselines/reference/parserComputedPropertyName21.js +++ b/tests/baselines/reference/parserComputedPropertyName21.js @@ -6,3 +6,4 @@ interface I { } //// [parserComputedPropertyName21.js] +"use strict"; diff --git a/tests/baselines/reference/parserComputedPropertyName22.js b/tests/baselines/reference/parserComputedPropertyName22.js index eccf0b18464bb..70c86780a2b07 100644 --- a/tests/baselines/reference/parserComputedPropertyName22.js +++ b/tests/baselines/reference/parserComputedPropertyName22.js @@ -6,3 +6,4 @@ declare class C { } //// [parserComputedPropertyName22.js] +"use strict"; diff --git a/tests/baselines/reference/parserComputedPropertyName23.js b/tests/baselines/reference/parserComputedPropertyName23.js index 92f47cfef9b1f..e6e9d56e893ff 100644 --- a/tests/baselines/reference/parserComputedPropertyName23.js +++ b/tests/baselines/reference/parserComputedPropertyName23.js @@ -6,3 +6,4 @@ declare class C { } //// [parserComputedPropertyName23.js] +"use strict"; diff --git a/tests/baselines/reference/parserComputedPropertyName24.js b/tests/baselines/reference/parserComputedPropertyName24.js index e0dc4b789aaeb..b6d32d84db7c1 100644 --- a/tests/baselines/reference/parserComputedPropertyName24.js +++ b/tests/baselines/reference/parserComputedPropertyName24.js @@ -6,6 +6,7 @@ class C { } //// [parserComputedPropertyName24.js] +"use strict"; class C { set [e](v) { } } diff --git a/tests/baselines/reference/parserComputedPropertyName25.js b/tests/baselines/reference/parserComputedPropertyName25.js index 43ff953d15000..4b39f4705e6cd 100644 --- a/tests/baselines/reference/parserComputedPropertyName25.js +++ b/tests/baselines/reference/parserComputedPropertyName25.js @@ -8,6 +8,7 @@ class C { } //// [parserComputedPropertyName25.js] +"use strict"; var _a; class C { constructor() { diff --git a/tests/baselines/reference/parserComputedPropertyName26.js b/tests/baselines/reference/parserComputedPropertyName26.js index 3b50e41835157..6e2b67a169417 100644 --- a/tests/baselines/reference/parserComputedPropertyName26.js +++ b/tests/baselines/reference/parserComputedPropertyName26.js @@ -8,6 +8,7 @@ enum E { } //// [parserComputedPropertyName26.js] +"use strict"; var E; (function (E) { // No ASI diff --git a/tests/baselines/reference/parserComputedPropertyName27.js b/tests/baselines/reference/parserComputedPropertyName27.js index 65bf6d5b6cc02..974866a2ed357 100644 --- a/tests/baselines/reference/parserComputedPropertyName27.js +++ b/tests/baselines/reference/parserComputedPropertyName27.js @@ -8,6 +8,7 @@ class C { } //// [parserComputedPropertyName27.js] +"use strict"; var _a; class C { constructor() { diff --git a/tests/baselines/reference/parserComputedPropertyName28.js b/tests/baselines/reference/parserComputedPropertyName28.js index b517e43db0248..f8f06bd6da830 100644 --- a/tests/baselines/reference/parserComputedPropertyName28.js +++ b/tests/baselines/reference/parserComputedPropertyName28.js @@ -7,6 +7,7 @@ class C { } //// [parserComputedPropertyName28.js] +"use strict"; var _a; class C { constructor() { diff --git a/tests/baselines/reference/parserComputedPropertyName29.js b/tests/baselines/reference/parserComputedPropertyName29.js index 8e1e161b83158..31c600d71fc30 100644 --- a/tests/baselines/reference/parserComputedPropertyName29.js +++ b/tests/baselines/reference/parserComputedPropertyName29.js @@ -8,6 +8,7 @@ class C { } //// [parserComputedPropertyName29.js] +"use strict"; var _a; class C { constructor() { diff --git a/tests/baselines/reference/parserComputedPropertyName3.js b/tests/baselines/reference/parserComputedPropertyName3.js index a248da151c85e..83b4263e39e8c 100644 --- a/tests/baselines/reference/parserComputedPropertyName3.js +++ b/tests/baselines/reference/parserComputedPropertyName3.js @@ -4,4 +4,5 @@ var v = { [e]() { } }; //// [parserComputedPropertyName3.js] +"use strict"; var v = { [e]() { } }; diff --git a/tests/baselines/reference/parserComputedPropertyName30.js b/tests/baselines/reference/parserComputedPropertyName30.js index f2b58bcddce32..9efbdb61004ec 100644 --- a/tests/baselines/reference/parserComputedPropertyName30.js +++ b/tests/baselines/reference/parserComputedPropertyName30.js @@ -8,6 +8,7 @@ enum E { } //// [parserComputedPropertyName30.js] +"use strict"; var E; (function (E) { // no ASI, comma expected diff --git a/tests/baselines/reference/parserComputedPropertyName31.js b/tests/baselines/reference/parserComputedPropertyName31.js index db20782315b3c..e9a62c29e70cc 100644 --- a/tests/baselines/reference/parserComputedPropertyName31.js +++ b/tests/baselines/reference/parserComputedPropertyName31.js @@ -8,5 +8,6 @@ class C { } //// [parserComputedPropertyName31.js] +"use strict"; class C { } diff --git a/tests/baselines/reference/parserComputedPropertyName32.js b/tests/baselines/reference/parserComputedPropertyName32.js index 4a11152cb01d4..e98f186400c2a 100644 --- a/tests/baselines/reference/parserComputedPropertyName32.js +++ b/tests/baselines/reference/parserComputedPropertyName32.js @@ -6,3 +6,4 @@ declare class C { } //// [parserComputedPropertyName32.js] +"use strict"; diff --git a/tests/baselines/reference/parserComputedPropertyName33.js b/tests/baselines/reference/parserComputedPropertyName33.js index b1a09a8b34457..3ed4ed9029e29 100644 --- a/tests/baselines/reference/parserComputedPropertyName33.js +++ b/tests/baselines/reference/parserComputedPropertyName33.js @@ -8,6 +8,7 @@ class C { } //// [parserComputedPropertyName33.js] +"use strict"; var _a; class C { constructor() { diff --git a/tests/baselines/reference/parserComputedPropertyName34.js b/tests/baselines/reference/parserComputedPropertyName34.js index a332ed4d63652..c194a3aa7f687 100644 --- a/tests/baselines/reference/parserComputedPropertyName34.js +++ b/tests/baselines/reference/parserComputedPropertyName34.js @@ -8,6 +8,7 @@ enum E { } //// [parserComputedPropertyName34.js] +"use strict"; var E; (function (E) { // no ASI, comma expected diff --git a/tests/baselines/reference/parserComputedPropertyName35.js b/tests/baselines/reference/parserComputedPropertyName35.js index cdf1d68545e85..df67e23b17191 100644 --- a/tests/baselines/reference/parserComputedPropertyName35.js +++ b/tests/baselines/reference/parserComputedPropertyName35.js @@ -6,6 +6,7 @@ var x = { } //// [parserComputedPropertyName35.js] +"use strict"; var x = { [0, 1]: {} }; diff --git a/tests/baselines/reference/parserComputedPropertyName36.js b/tests/baselines/reference/parserComputedPropertyName36.js index 74c68b8188f2b..fd59507277f1c 100644 --- a/tests/baselines/reference/parserComputedPropertyName36.js +++ b/tests/baselines/reference/parserComputedPropertyName36.js @@ -6,5 +6,6 @@ class C { } //// [parserComputedPropertyName36.js] +"use strict"; class C { } diff --git a/tests/baselines/reference/parserComputedPropertyName37.errors.txt b/tests/baselines/reference/parserComputedPropertyName37.errors.txt index 8185dc214a323..71a324b073f8e 100644 --- a/tests/baselines/reference/parserComputedPropertyName37.errors.txt +++ b/tests/baselines/reference/parserComputedPropertyName37.errors.txt @@ -1,9 +1,12 @@ +parserComputedPropertyName37.ts(2,6): error TS1212: Identifier expected. 'public' is a reserved word in strict mode. parserComputedPropertyName37.ts(2,6): error TS2304: Cannot find name 'public'. -==== parserComputedPropertyName37.ts (1 errors) ==== +==== parserComputedPropertyName37.ts (2 errors) ==== var v = { [public]: 0 ~~~~~~ +!!! error TS1212: Identifier expected. 'public' is a reserved word in strict mode. + ~~~~~~ !!! error TS2304: Cannot find name 'public'. }; \ No newline at end of file diff --git a/tests/baselines/reference/parserComputedPropertyName37.js b/tests/baselines/reference/parserComputedPropertyName37.js index e4b64f7630729..378e68728639d 100644 --- a/tests/baselines/reference/parserComputedPropertyName37.js +++ b/tests/baselines/reference/parserComputedPropertyName37.js @@ -6,6 +6,7 @@ var v = { }; //// [parserComputedPropertyName37.js] +"use strict"; var v = { [public]: 0 }; diff --git a/tests/baselines/reference/parserComputedPropertyName38.js b/tests/baselines/reference/parserComputedPropertyName38.js index 33667bd9b2e68..c4cbb0a56c862 100644 --- a/tests/baselines/reference/parserComputedPropertyName38.js +++ b/tests/baselines/reference/parserComputedPropertyName38.js @@ -6,6 +6,7 @@ class C { } //// [parserComputedPropertyName38.js] +"use strict"; class C { [public]() { } } diff --git a/tests/baselines/reference/parserComputedPropertyName4.js b/tests/baselines/reference/parserComputedPropertyName4.js index ea6375109b7a0..4fa6eed604f35 100644 --- a/tests/baselines/reference/parserComputedPropertyName4.js +++ b/tests/baselines/reference/parserComputedPropertyName4.js @@ -4,4 +4,5 @@ var v = { get [e]() { } }; //// [parserComputedPropertyName4.js] +"use strict"; var v = { get [e]() { } }; diff --git a/tests/baselines/reference/parserComputedPropertyName40.js b/tests/baselines/reference/parserComputedPropertyName40.js index 0a8aec20e818a..ed0c9be02d292 100644 --- a/tests/baselines/reference/parserComputedPropertyName40.js +++ b/tests/baselines/reference/parserComputedPropertyName40.js @@ -6,6 +6,7 @@ class C { } //// [parserComputedPropertyName40.js] +"use strict"; class C { [a ? "" : ""]() { } } diff --git a/tests/baselines/reference/parserComputedPropertyName41.js b/tests/baselines/reference/parserComputedPropertyName41.js index 92fc9e4b11cc7..4e2d7f3049c2b 100644 --- a/tests/baselines/reference/parserComputedPropertyName41.js +++ b/tests/baselines/reference/parserComputedPropertyName41.js @@ -6,6 +6,7 @@ var v = { } //// [parserComputedPropertyName41.js] +"use strict"; var v = { [0 in []]: true }; diff --git a/tests/baselines/reference/parserComputedPropertyName5.js b/tests/baselines/reference/parserComputedPropertyName5.js index 6b3c65fab917a..531ac720ed71a 100644 --- a/tests/baselines/reference/parserComputedPropertyName5.js +++ b/tests/baselines/reference/parserComputedPropertyName5.js @@ -4,4 +4,5 @@ var v = { public get [e]() { } }; //// [parserComputedPropertyName5.js] +"use strict"; var v = { get [e]() { } }; diff --git a/tests/baselines/reference/parserComputedPropertyName6.js b/tests/baselines/reference/parserComputedPropertyName6.js index e294362dafb48..b7d6fb9f1dcbc 100644 --- a/tests/baselines/reference/parserComputedPropertyName6.js +++ b/tests/baselines/reference/parserComputedPropertyName6.js @@ -4,4 +4,5 @@ var v = { [e]: 1, [e + e]: 2 }; //// [parserComputedPropertyName6.js] +"use strict"; var v = { [e]: 1, [e + e]: 2 }; diff --git a/tests/baselines/reference/parserComputedPropertyName7.js b/tests/baselines/reference/parserComputedPropertyName7.js index dde73df106ea6..4af5ec043bf70 100644 --- a/tests/baselines/reference/parserComputedPropertyName7.js +++ b/tests/baselines/reference/parserComputedPropertyName7.js @@ -6,5 +6,6 @@ class C { } //// [parserComputedPropertyName7.js] +"use strict"; class C { } diff --git a/tests/baselines/reference/parserComputedPropertyName8.js b/tests/baselines/reference/parserComputedPropertyName8.js index 060a66934856f..f36523d6245ba 100644 --- a/tests/baselines/reference/parserComputedPropertyName8.js +++ b/tests/baselines/reference/parserComputedPropertyName8.js @@ -6,5 +6,6 @@ class C { } //// [parserComputedPropertyName8.js] +"use strict"; class C { } diff --git a/tests/baselines/reference/parserComputedPropertyName9.js b/tests/baselines/reference/parserComputedPropertyName9.js index fc8d20092e26f..f72b6d3c1067e 100644 --- a/tests/baselines/reference/parserComputedPropertyName9.js +++ b/tests/baselines/reference/parserComputedPropertyName9.js @@ -6,5 +6,6 @@ class C { } //// [parserComputedPropertyName9.js] +"use strict"; class C { } diff --git a/tests/baselines/reference/parserConditionalExpression1.js b/tests/baselines/reference/parserConditionalExpression1.js index 073d8d02d8b13..2859934f2991d 100644 --- a/tests/baselines/reference/parserConditionalExpression1.js +++ b/tests/baselines/reference/parserConditionalExpression1.js @@ -4,4 +4,5 @@ (a=this.R[c])?a.JW||(a.e5(this,c),a.JW=_.l):this.A //// [parserConditionalExpression1.js] +"use strict"; (a = this.R[c]) ? a.JW || (a.e5(this, c), a.JW = _.l) : this.A; diff --git a/tests/baselines/reference/parserConstructorAmbiguity1.js b/tests/baselines/reference/parserConstructorAmbiguity1.js index efb903bc1010e..fd40ba8f0ba7d 100644 --- a/tests/baselines/reference/parserConstructorAmbiguity1.js +++ b/tests/baselines/reference/parserConstructorAmbiguity1.js @@ -4,4 +4,5 @@ new Date //// [parserConstructorAmbiguity3.js] +"use strict"; new Date; diff --git a/tests/baselines/reference/parserConstructorAmbiguity4.js b/tests/baselines/reference/parserConstructorAmbiguity4.js index 3cbb02151575a..7169352f11e01 100644 --- a/tests/baselines/reference/parserConstructorAmbiguity4.js +++ b/tests/baselines/reference/parserConstructorAmbiguity4.js @@ -4,4 +4,5 @@ new Date //// [parserEqualsGreaterThanAfterFunction1.js] +"use strict"; function () { } diff --git a/tests/baselines/reference/parserEqualsGreaterThanAfterFunction2.js b/tests/baselines/reference/parserEqualsGreaterThanAfterFunction2.js index 79750e45ea20b..82882ad04896c 100644 --- a/tests/baselines/reference/parserEqualsGreaterThanAfterFunction2.js +++ b/tests/baselines/reference/parserEqualsGreaterThanAfterFunction2.js @@ -4,3 +4,4 @@ function (a => b; //// [parserEqualsGreaterThanAfterFunction2.js] +"use strict"; diff --git a/tests/baselines/reference/parserErrantAccessibilityModifierInModule1.js b/tests/baselines/reference/parserErrantAccessibilityModifierInModule1.js index 4cca522b93ff3..8574bceea94f4 100644 --- a/tests/baselines/reference/parserErrantAccessibilityModifierInModule1.js +++ b/tests/baselines/reference/parserErrantAccessibilityModifierInModule1.js @@ -8,6 +8,7 @@ namespace M { } //// [parserErrantAccessibilityModifierInModule1.js] +"use strict"; var M; (function (M) { var x = 10; // variable local to this module body diff --git a/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction1.js b/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction1.js index dba82623dfdd5..d6edd2c3fdd73 100644 --- a/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction1.js +++ b/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction1.js @@ -4,5 +4,6 @@ function f() => 4; //// [parserErrantEqualsGreaterThanAfterFunction1.js] +"use strict"; function f() { } 4; diff --git a/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.js b/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.js index 3410e580c143a..56a154714db08 100644 --- a/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.js +++ b/tests/baselines/reference/parserErrantEqualsGreaterThanAfterFunction2.js @@ -4,4 +4,5 @@ function f(p: A) => p; //// [parserErrantEqualsGreaterThanAfterFunction2.js] +"use strict"; p; diff --git a/tests/baselines/reference/parserErrantSemicolonInClass1.js b/tests/baselines/reference/parserErrantSemicolonInClass1.js index 36c87042ab000..fe5d08ba8fd76 100644 --- a/tests/baselines/reference/parserErrantSemicolonInClass1.js +++ b/tests/baselines/reference/parserErrantSemicolonInClass1.js @@ -38,6 +38,7 @@ class a { //// [parserErrantSemicolonInClass1.js] +"use strict"; var a = /** @class */ (function () { function a(ns) { } diff --git a/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression1.js b/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression1.js index 3149235981eb3..f69e32c7c568d 100644 --- a/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression1.js +++ b/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression1.js @@ -5,5 +5,6 @@ var v = [1, 2, 3 4, 5, 6, 7]; //// [parserErrorRecoveryArrayLiteralExpression1.js] +"use strict"; var v = [1, 2, 3, 4, 5, 6, 7]; diff --git a/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression2.js b/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression2.js index 761608d215d87..1321a6c051716 100644 --- a/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression2.js +++ b/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression2.js @@ -7,5 +7,6 @@ var points = [-0.6961439251899719, 1.207661509513855, 0.19374050199985504, -0 //// [parserErrorRecoveryArrayLiteralExpression2.js] +"use strict"; var points = [-0.6961439251899719, 1.207661509513855, 0.19374050199985504, -0, .7042760848999023, 1.1955541372299194, 0.19600726664066315, -0.7120069861412048]; diff --git a/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression3.js b/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression3.js index a33b6bc51fd33..badb038aeda03 100644 --- a/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression3.js +++ b/tests/baselines/reference/parserErrorRecoveryArrayLiteralExpression3.js @@ -5,6 +5,7 @@ var texCoords = [2, 2, 0.5000001192092895, 0.8749999 ; 403953552, 0.500000119209 //// [parserErrorRecoveryArrayLiteralExpression3.js] +"use strict"; var texCoords = [2, 2, 0.5000001192092895, 0.8749999]; 403953552, 0.5000001192092895, 0.8749999403953552; ; diff --git a/tests/baselines/reference/parserErrorRecoveryIfStatement1.js b/tests/baselines/reference/parserErrorRecoveryIfStatement1.js index afa9479798a08..1f41ecb87ed66 100644 --- a/tests/baselines/reference/parserErrorRecoveryIfStatement1.js +++ b/tests/baselines/reference/parserErrorRecoveryIfStatement1.js @@ -12,6 +12,7 @@ class Foo { } //// [parserErrorRecoveryIfStatement1.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/parserErrorRecoveryIfStatement2.js b/tests/baselines/reference/parserErrorRecoveryIfStatement2.js index 743b091778737..afeed0397c489 100644 --- a/tests/baselines/reference/parserErrorRecoveryIfStatement2.js +++ b/tests/baselines/reference/parserErrorRecoveryIfStatement2.js @@ -12,6 +12,7 @@ class Foo { } //// [parserErrorRecoveryIfStatement2.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/parserErrorRecoveryIfStatement3.js b/tests/baselines/reference/parserErrorRecoveryIfStatement3.js index 63030a77d4b67..a18d004ad4fed 100644 --- a/tests/baselines/reference/parserErrorRecoveryIfStatement3.js +++ b/tests/baselines/reference/parserErrorRecoveryIfStatement3.js @@ -12,6 +12,7 @@ class Foo { } //// [parserErrorRecoveryIfStatement3.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/parserErrorRecoveryIfStatement4.js b/tests/baselines/reference/parserErrorRecoveryIfStatement4.js index 7a599bc25b634..29a9f24814543 100644 --- a/tests/baselines/reference/parserErrorRecoveryIfStatement4.js +++ b/tests/baselines/reference/parserErrorRecoveryIfStatement4.js @@ -12,6 +12,7 @@ class Foo { } //// [parserErrorRecoveryIfStatement4.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/parserErrorRecoveryIfStatement5.js b/tests/baselines/reference/parserErrorRecoveryIfStatement5.js index dcb10ab858977..40d3493598b04 100644 --- a/tests/baselines/reference/parserErrorRecoveryIfStatement5.js +++ b/tests/baselines/reference/parserErrorRecoveryIfStatement5.js @@ -12,6 +12,7 @@ class Foo { } //// [parserErrorRecoveryIfStatement5.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/parserErrorRecoveryIfStatement6.js b/tests/baselines/reference/parserErrorRecoveryIfStatement6.js index 0db0e05024e0c..b6bebbf461988 100644 --- a/tests/baselines/reference/parserErrorRecoveryIfStatement6.js +++ b/tests/baselines/reference/parserErrorRecoveryIfStatement6.js @@ -13,6 +13,7 @@ class Foo { //// [parserErrorRecoveryIfStatement6.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/parserErrorRecovery_ArgumentList1.js b/tests/baselines/reference/parserErrorRecovery_ArgumentList1.js index 8a74ee69111ab..2f325225fcd88 100644 --- a/tests/baselines/reference/parserErrorRecovery_ArgumentList1.js +++ b/tests/baselines/reference/parserErrorRecovery_ArgumentList1.js @@ -7,6 +7,7 @@ function foo() { } //// [parserErrorRecovery_ArgumentList1.js] +"use strict"; function foo() { bar(); return x; diff --git a/tests/baselines/reference/parserErrorRecovery_ArgumentList2.js b/tests/baselines/reference/parserErrorRecovery_ArgumentList2.js index 38392e9876e0e..31f35e6226d74 100644 --- a/tests/baselines/reference/parserErrorRecovery_ArgumentList2.js +++ b/tests/baselines/reference/parserErrorRecovery_ArgumentList2.js @@ -6,6 +6,7 @@ function foo() { } //// [parserErrorRecovery_ArgumentList2.js] +"use strict"; function foo() { bar(); } diff --git a/tests/baselines/reference/parserErrorRecovery_ArgumentList3.js b/tests/baselines/reference/parserErrorRecovery_ArgumentList3.js index 1558b5842b76c..917fadc5372f5 100644 --- a/tests/baselines/reference/parserErrorRecovery_ArgumentList3.js +++ b/tests/baselines/reference/parserErrorRecovery_ArgumentList3.js @@ -7,6 +7,7 @@ function foo() { } //// [parserErrorRecovery_ArgumentList3.js] +"use strict"; function foo() { bar(a); return; diff --git a/tests/baselines/reference/parserErrorRecovery_ArgumentList4.js b/tests/baselines/reference/parserErrorRecovery_ArgumentList4.js index 25a7793bea1e1..3853651b05ccc 100644 --- a/tests/baselines/reference/parserErrorRecovery_ArgumentList4.js +++ b/tests/baselines/reference/parserErrorRecovery_ArgumentList4.js @@ -7,6 +7,7 @@ function foo() { } //// [parserErrorRecovery_ArgumentList4.js] +"use strict"; function foo() { bar(a, b); return; diff --git a/tests/baselines/reference/parserErrorRecovery_ArgumentList6.js b/tests/baselines/reference/parserErrorRecovery_ArgumentList6.js index d272acea294ff..6e533b6b1748d 100644 --- a/tests/baselines/reference/parserErrorRecovery_ArgumentList6.js +++ b/tests/baselines/reference/parserErrorRecovery_ArgumentList6.js @@ -4,4 +4,5 @@ Foo(, //// [parserErrorRecovery_ArgumentList6.js] +"use strict"; Foo(); diff --git a/tests/baselines/reference/parserErrorRecovery_ArgumentList7.js b/tests/baselines/reference/parserErrorRecovery_ArgumentList7.js index a00f2f0a3547b..140d285120795 100644 --- a/tests/baselines/reference/parserErrorRecovery_ArgumentList7.js +++ b/tests/baselines/reference/parserErrorRecovery_ArgumentList7.js @@ -4,4 +4,5 @@ Foo(a,, //// [parserErrorRecovery_ArgumentList7.js] +"use strict"; Foo(a); diff --git a/tests/baselines/reference/parserErrorRecovery_Block1.js b/tests/baselines/reference/parserErrorRecovery_Block1.js index 7d23533b53228..77893fc2e8aa6 100644 --- a/tests/baselines/reference/parserErrorRecovery_Block1.js +++ b/tests/baselines/reference/parserErrorRecovery_Block1.js @@ -7,6 +7,7 @@ function f() { } //// [parserErrorRecovery_Block1.js] +"use strict"; function f() { 1 + ; diff --git a/tests/baselines/reference/parserErrorRecovery_Block2.js b/tests/baselines/reference/parserErrorRecovery_Block2.js index 9e3ffb89a191d..1b34c1b32890a 100644 --- a/tests/baselines/reference/parserErrorRecovery_Block2.js +++ b/tests/baselines/reference/parserErrorRecovery_Block2.js @@ -7,6 +7,7 @@ function f() { } //// [parserErrorRecovery_Block2.js] +"use strict"; function f() { return; } diff --git a/tests/baselines/reference/parserErrorRecovery_Block3.js b/tests/baselines/reference/parserErrorRecovery_Block3.js index b45806720c90a..5d13500255cc7 100644 --- a/tests/baselines/reference/parserErrorRecovery_Block3.js +++ b/tests/baselines/reference/parserErrorRecovery_Block3.js @@ -9,6 +9,7 @@ class C { } //// [parserErrorRecovery_Block3.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserErrorRecovery_ClassElement1.js b/tests/baselines/reference/parserErrorRecovery_ClassElement1.js index 84198c1415172..f8a4b373a814b 100644 --- a/tests/baselines/reference/parserErrorRecovery_ClassElement1.js +++ b/tests/baselines/reference/parserErrorRecovery_ClassElement1.js @@ -9,6 +9,7 @@ class D { } //// [parserErrorRecovery_ClassElement1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserErrorRecovery_ClassElement2.js b/tests/baselines/reference/parserErrorRecovery_ClassElement2.js index 96981ddb4e123..c96ccfe36dba1 100644 --- a/tests/baselines/reference/parserErrorRecovery_ClassElement2.js +++ b/tests/baselines/reference/parserErrorRecovery_ClassElement2.js @@ -9,6 +9,7 @@ namespace M { } //// [parserErrorRecovery_ClassElement2.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/parserErrorRecovery_ClassElement3.js b/tests/baselines/reference/parserErrorRecovery_ClassElement3.js index 429f18eb9722d..0eae71da63dfd 100644 --- a/tests/baselines/reference/parserErrorRecovery_ClassElement3.js +++ b/tests/baselines/reference/parserErrorRecovery_ClassElement3.js @@ -10,6 +10,7 @@ namespace M { ¬ //// [parserErrorRecovery_ClassElement3.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/parserErrorRecovery_Expression1.js b/tests/baselines/reference/parserErrorRecovery_Expression1.js index ea5a460052e3c..eced66828a619 100644 --- a/tests/baselines/reference/parserErrorRecovery_Expression1.js +++ b/tests/baselines/reference/parserErrorRecovery_Expression1.js @@ -4,4 +4,5 @@ var v = ()({}); //// [parserErrorRecovery_Expression1.js] +"use strict"; var v = ()({}); diff --git a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause1.js b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause1.js index b10e2b55a6477..40885598d07ae 100644 --- a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause1.js +++ b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause1.js @@ -5,6 +5,7 @@ class C extends { } //// [parserErrorRecovery_ExtendsOrImplementsClause1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause2.js b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause2.js index 5366c3aaaedcf..c4f384a3d5405 100644 --- a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause2.js +++ b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause2.js @@ -5,6 +5,7 @@ class C extends A, { } //// [parserErrorRecovery_ExtendsOrImplementsClause2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause3.js b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause3.js index 10befeb3ba706..797599c666439 100644 --- a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause3.js +++ b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause3.js @@ -5,6 +5,7 @@ class C extends implements A { } //// [parserErrorRecovery_ExtendsOrImplementsClause3.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause4.js b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause4.js index 7cf1343eb0405..c6abc6531e96a 100644 --- a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause4.js +++ b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause4.js @@ -5,6 +5,7 @@ class C extends A implements { } //// [parserErrorRecovery_ExtendsOrImplementsClause4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause5.js b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause5.js index 1f55f106a587a..dabe648c4520c 100644 --- a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause5.js +++ b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause5.js @@ -5,6 +5,7 @@ class C extends A, implements B, { } //// [parserErrorRecovery_ExtendsOrImplementsClause5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause6.js b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause6.js index 34d116e2d8e8d..4bce99454d738 100644 --- a/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause6.js +++ b/tests/baselines/reference/parserErrorRecovery_ExtendsOrImplementsClause6.js @@ -4,3 +4,4 @@ interface I extends { } //// [parserErrorRecovery_ExtendsOrImplementsClause6.js] +"use strict"; diff --git a/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable1.js b/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable1.js index 29b6d2e95bc97..984234a218318 100644 --- a/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable1.js +++ b/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable1.js @@ -31,6 +31,7 @@ var dist = p.getDist(); //// [parserErrorRecovery_IncompleteMemberVariable1.js] +"use strict"; // Module var Shapes; (function (Shapes) { diff --git a/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.js b/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.js index 6a3a02d2341f2..86396245d0c59 100644 --- a/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.js +++ b/tests/baselines/reference/parserErrorRecovery_IncompleteMemberVariable2.js @@ -31,6 +31,7 @@ var dist = p.getDist(); //// [parserErrorRecovery_IncompleteMemberVariable2.js] +"use strict"; // Module var Shapes; (function (Shapes) { diff --git a/tests/baselines/reference/parserErrorRecovery_LeftShift1.js b/tests/baselines/reference/parserErrorRecovery_LeftShift1.js index 16a87946d89dd..f8729ef7754c3 100644 --- a/tests/baselines/reference/parserErrorRecovery_LeftShift1.js +++ b/tests/baselines/reference/parserErrorRecovery_LeftShift1.js @@ -4,5 +4,6 @@ retValue = bfs.VARIABLES >> ); //// [parserErrorRecovery_LeftShift1.js] +"use strict"; retValue = bfs.VARIABLES >> ; ; diff --git a/tests/baselines/reference/parserErrorRecovery_ModuleElement1.js b/tests/baselines/reference/parserErrorRecovery_ModuleElement1.js index c0fa1401a1945..55c8ef57f8610 100644 --- a/tests/baselines/reference/parserErrorRecovery_ModuleElement1.js +++ b/tests/baselines/reference/parserErrorRecovery_ModuleElement1.js @@ -7,5 +7,6 @@ return bar; } //// [parserErrorRecovery_ModuleElement1.js] +"use strict"; return foo; return bar; diff --git a/tests/baselines/reference/parserErrorRecovery_ModuleElement2.js b/tests/baselines/reference/parserErrorRecovery_ModuleElement2.js index 9bcffaf9e4115..c616c391c480e 100644 --- a/tests/baselines/reference/parserErrorRecovery_ModuleElement2.js +++ b/tests/baselines/reference/parserErrorRecovery_ModuleElement2.js @@ -11,6 +11,7 @@ function foo() { ) //// [parserErrorRecovery_ModuleElement2.js] +"use strict"; function foo() { } function foo() { diff --git a/tests/baselines/reference/parserErrorRecovery_ObjectLiteral1.js b/tests/baselines/reference/parserErrorRecovery_ObjectLiteral1.js index 60a21628f4960..f5070034d577c 100644 --- a/tests/baselines/reference/parserErrorRecovery_ObjectLiteral1.js +++ b/tests/baselines/reference/parserErrorRecovery_ObjectLiteral1.js @@ -4,4 +4,5 @@ var v = { a: 1 b: 2 } //// [parserErrorRecovery_ObjectLiteral1.js] +"use strict"; var v = { a: 1, b: 2 }; diff --git a/tests/baselines/reference/parserErrorRecovery_ObjectLiteral2.js b/tests/baselines/reference/parserErrorRecovery_ObjectLiteral2.js index 0e6f517aaf5c5..8807cb0435d93 100644 --- a/tests/baselines/reference/parserErrorRecovery_ObjectLiteral2.js +++ b/tests/baselines/reference/parserErrorRecovery_ObjectLiteral2.js @@ -5,4 +5,5 @@ var v = { a return; //// [parserErrorRecovery_ObjectLiteral2.js] +"use strict"; var v = { a: a, return: }; diff --git a/tests/baselines/reference/parserErrorRecovery_ObjectLiteral3.js b/tests/baselines/reference/parserErrorRecovery_ObjectLiteral3.js index 027170fec2e0a..b007e38745a1a 100644 --- a/tests/baselines/reference/parserErrorRecovery_ObjectLiteral3.js +++ b/tests/baselines/reference/parserErrorRecovery_ObjectLiteral3.js @@ -5,5 +5,6 @@ var v = { a: return; //// [parserErrorRecovery_ObjectLiteral3.js] +"use strict"; var v = { a: , return: }; diff --git a/tests/baselines/reference/parserErrorRecovery_ObjectLiteral4.js b/tests/baselines/reference/parserErrorRecovery_ObjectLiteral4.js index ef4db5982390f..9e859c359170b 100644 --- a/tests/baselines/reference/parserErrorRecovery_ObjectLiteral4.js +++ b/tests/baselines/reference/parserErrorRecovery_ObjectLiteral4.js @@ -5,5 +5,6 @@ var v = { a: 1 return; //// [parserErrorRecovery_ObjectLiteral4.js] +"use strict"; var v = { a: 1, return: }; diff --git a/tests/baselines/reference/parserErrorRecovery_ObjectLiteral5.js b/tests/baselines/reference/parserErrorRecovery_ObjectLiteral5.js index 077b2f4d17073..de48cabcf665c 100644 --- a/tests/baselines/reference/parserErrorRecovery_ObjectLiteral5.js +++ b/tests/baselines/reference/parserErrorRecovery_ObjectLiteral5.js @@ -5,5 +5,6 @@ var v = { a: 1, return; //// [parserErrorRecovery_ObjectLiteral5.js] +"use strict"; var v = { a: 1, return: }; diff --git a/tests/baselines/reference/parserErrorRecovery_ParameterList1.js b/tests/baselines/reference/parserErrorRecovery_ParameterList1.js index a6bd50aedcb08..189ba7d8ce7fc 100644 --- a/tests/baselines/reference/parserErrorRecovery_ParameterList1.js +++ b/tests/baselines/reference/parserErrorRecovery_ParameterList1.js @@ -5,3 +5,4 @@ function f(a { } //// [parserErrorRecovery_ParameterList1.js] +"use strict"; diff --git a/tests/baselines/reference/parserErrorRecovery_ParameterList2.js b/tests/baselines/reference/parserErrorRecovery_ParameterList2.js index 2bef2c77b8cb0..26b17eee17348 100644 --- a/tests/baselines/reference/parserErrorRecovery_ParameterList2.js +++ b/tests/baselines/reference/parserErrorRecovery_ParameterList2.js @@ -5,3 +5,4 @@ function f(a, { } //// [parserErrorRecovery_ParameterList2.js] +"use strict"; diff --git a/tests/baselines/reference/parserErrorRecovery_ParameterList4.js b/tests/baselines/reference/parserErrorRecovery_ParameterList4.js index bd3cfbf4b3e1d..45169256039c7 100644 --- a/tests/baselines/reference/parserErrorRecovery_ParameterList4.js +++ b/tests/baselines/reference/parserErrorRecovery_ParameterList4.js @@ -5,5 +5,6 @@ function f(a,¬) { } //// [parserErrorRecovery_ParameterList4.js] +"use strict"; function f(a) { } diff --git a/tests/baselines/reference/parserErrorRecovery_ParameterList5.js b/tests/baselines/reference/parserErrorRecovery_ParameterList5.js index 516fcba199c13..cc5efa6ec2557 100644 --- a/tests/baselines/reference/parserErrorRecovery_ParameterList5.js +++ b/tests/baselines/reference/parserErrorRecovery_ParameterList5.js @@ -4,4 +4,5 @@ (a:number => { } //// [parserErrorRecovery_ParameterList5.js] +"use strict"; (function (a, _a) { return ; }); diff --git a/tests/baselines/reference/parserErrorRecovery_ParameterList6.js b/tests/baselines/reference/parserErrorRecovery_ParameterList6.js index 02c631faf223e..217c8867e539d 100644 --- a/tests/baselines/reference/parserErrorRecovery_ParameterList6.js +++ b/tests/baselines/reference/parserErrorRecovery_ParameterList6.js @@ -6,6 +6,7 @@ class Foo { } //// [parserErrorRecovery_ParameterList6.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/parserErrorRecovery_SourceUnit1.js b/tests/baselines/reference/parserErrorRecovery_SourceUnit1.js index 952addc6f71da..38c3f3cd57492 100644 --- a/tests/baselines/reference/parserErrorRecovery_SourceUnit1.js +++ b/tests/baselines/reference/parserErrorRecovery_SourceUnit1.js @@ -8,6 +8,7 @@ class D { } //// [parserErrorRecovery_SourceUnit1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserErrorRecovery_SwitchStatement1.js b/tests/baselines/reference/parserErrorRecovery_SwitchStatement1.js index 1e8c9c40f47a9..24468aa2d03a7 100644 --- a/tests/baselines/reference/parserErrorRecovery_SwitchStatement1.js +++ b/tests/baselines/reference/parserErrorRecovery_SwitchStatement1.js @@ -10,6 +10,7 @@ switch (e) { } //// [parserErrorRecovery_SwitchStatement1.js] +"use strict"; switch (e) { case 1: 1 + diff --git a/tests/baselines/reference/parserErrorRecovery_SwitchStatement2.js b/tests/baselines/reference/parserErrorRecovery_SwitchStatement2.js index ef87e1d3f5c7e..e2808ab8e177a 100644 --- a/tests/baselines/reference/parserErrorRecovery_SwitchStatement2.js +++ b/tests/baselines/reference/parserErrorRecovery_SwitchStatement2.js @@ -9,6 +9,7 @@ class D { } //// [parserErrorRecovery_SwitchStatement2.js] +"use strict"; var C = /** @class */ (function () { function C() { switch (e) { diff --git a/tests/baselines/reference/parserErrorRecovery_VariableList1.js b/tests/baselines/reference/parserErrorRecovery_VariableList1.js index cda102ab568e9..4c43d18d34b3a 100644 --- a/tests/baselines/reference/parserErrorRecovery_VariableList1.js +++ b/tests/baselines/reference/parserErrorRecovery_VariableList1.js @@ -5,5 +5,6 @@ var a, return; //// [parserErrorRecovery_VariableList1.js] +"use strict"; var a; return; diff --git a/tests/baselines/reference/parserExportAsFunctionIdentifier.js b/tests/baselines/reference/parserExportAsFunctionIdentifier.js index e659ad2cf3926..e65c1563c1df6 100644 --- a/tests/baselines/reference/parserExportAsFunctionIdentifier.js +++ b/tests/baselines/reference/parserExportAsFunctionIdentifier.js @@ -10,5 +10,6 @@ var x = f.export(); //// [parserExportAsFunctionIdentifier.js] +"use strict"; var f; var x = f.export(); diff --git a/tests/baselines/reference/parserExportAssignment5.js b/tests/baselines/reference/parserExportAssignment5.js index 753795051521f..9f51a365cb8ea 100644 --- a/tests/baselines/reference/parserExportAssignment5.js +++ b/tests/baselines/reference/parserExportAssignment5.js @@ -6,6 +6,7 @@ namespace M { } //// [parserExportAssignment5.js] +"use strict"; var M; (function (M) { export = A; diff --git a/tests/baselines/reference/parserExportAssignment6.js b/tests/baselines/reference/parserExportAssignment6.js index f340253a0964e..1fdfe1a33a9a8 100644 --- a/tests/baselines/reference/parserExportAssignment6.js +++ b/tests/baselines/reference/parserExportAssignment6.js @@ -6,3 +6,4 @@ declare module "M" { } //// [parserExportAssignment6.js] +"use strict"; diff --git a/tests/baselines/reference/parserExportAssignment9.js b/tests/baselines/reference/parserExportAssignment9.js index d17c1fd749959..e669ac13dd3a8 100644 --- a/tests/baselines/reference/parserExportAssignment9.js +++ b/tests/baselines/reference/parserExportAssignment9.js @@ -10,6 +10,7 @@ namespace Bar { } //// [parserExportAssignment9.js] +"use strict"; var Foo; (function (Foo) { export default foo; diff --git a/tests/baselines/reference/parserForInStatement2.js b/tests/baselines/reference/parserForInStatement2.js index a585b2ad57742..e41aaf58e010a 100644 --- a/tests/baselines/reference/parserForInStatement2.js +++ b/tests/baselines/reference/parserForInStatement2.js @@ -5,5 +5,6 @@ for (var in X) { } //// [parserForInStatement2.js] +"use strict"; for (var in X) { } diff --git a/tests/baselines/reference/parserForInStatement3.js b/tests/baselines/reference/parserForInStatement3.js index 0d6f60e0e625a..b9ba23dab0168 100644 --- a/tests/baselines/reference/parserForInStatement3.js +++ b/tests/baselines/reference/parserForInStatement3.js @@ -5,5 +5,6 @@ for (var a, b in X) { } //// [parserForInStatement3.js] +"use strict"; for (var a, b in X) { } diff --git a/tests/baselines/reference/parserForInStatement4.js b/tests/baselines/reference/parserForInStatement4.js index ab999dd3a13a3..ba97b460cf8af 100644 --- a/tests/baselines/reference/parserForInStatement4.js +++ b/tests/baselines/reference/parserForInStatement4.js @@ -5,5 +5,6 @@ for (var a = 1 in X) { } //// [parserForInStatement4.js] +"use strict"; for (var a = 1 in X) { } diff --git a/tests/baselines/reference/parserForInStatement5.js b/tests/baselines/reference/parserForInStatement5.js index 89a96607f7468..718ec0dfd465b 100644 --- a/tests/baselines/reference/parserForInStatement5.js +++ b/tests/baselines/reference/parserForInStatement5.js @@ -5,5 +5,6 @@ for (var a: number in X) { } //// [parserForInStatement5.js] +"use strict"; for (var a in X) { } diff --git a/tests/baselines/reference/parserForInStatement6.js b/tests/baselines/reference/parserForInStatement6.js index f6059eecedf24..197bb39f52d40 100644 --- a/tests/baselines/reference/parserForInStatement6.js +++ b/tests/baselines/reference/parserForInStatement6.js @@ -5,5 +5,6 @@ for (var a = 1, b = 2 in X) { } //// [parserForInStatement6.js] +"use strict"; for (var a = 1, b = 2 in X) { } diff --git a/tests/baselines/reference/parserForInStatement7.js b/tests/baselines/reference/parserForInStatement7.js index 17e6f6cdc90aa..12153e15daf2b 100644 --- a/tests/baselines/reference/parserForInStatement7.js +++ b/tests/baselines/reference/parserForInStatement7.js @@ -5,5 +5,6 @@ for (var a: number = 1, b: string = "" in X) { } //// [parserForInStatement7.js] +"use strict"; for (var a = 1, b = "" in X) { } diff --git a/tests/baselines/reference/parserForInStatement8.js b/tests/baselines/reference/parserForInStatement8.js index c1d737ec26e58..f098e7bec3301 100644 --- a/tests/baselines/reference/parserForInStatement8.js +++ b/tests/baselines/reference/parserForInStatement8.js @@ -8,6 +8,7 @@ for (let {x = 'a' in {}} in { '': 0 }) console.log(x) //// [parserForInStatement8.js] +"use strict"; // repro from https://github.com/microsoft/TypeScript/issues/54769 for (var _a = (void 0)[0], x = _a === void 0 ? 'a' in {} : _a in { '': 0 }) console.log(x); diff --git a/tests/baselines/reference/parserForOfStatement10.js b/tests/baselines/reference/parserForOfStatement10.js index 4fb9997b8face..66720585e70be 100644 --- a/tests/baselines/reference/parserForOfStatement10.js +++ b/tests/baselines/reference/parserForOfStatement10.js @@ -5,5 +5,6 @@ for (const v of X) { } //// [parserForOfStatement10.js] +"use strict"; for (const v of X) { } diff --git a/tests/baselines/reference/parserForOfStatement11.js b/tests/baselines/reference/parserForOfStatement11.js index 6411afc8e411f..255d415d31083 100644 --- a/tests/baselines/reference/parserForOfStatement11.js +++ b/tests/baselines/reference/parserForOfStatement11.js @@ -5,5 +5,6 @@ for (const [a, b] of X) { } //// [parserForOfStatement11.js] +"use strict"; for (const [a, b] of X) { } diff --git a/tests/baselines/reference/parserForOfStatement12.js b/tests/baselines/reference/parserForOfStatement12.js index dad80e66a1fd7..6c47558ec1c03 100644 --- a/tests/baselines/reference/parserForOfStatement12.js +++ b/tests/baselines/reference/parserForOfStatement12.js @@ -5,5 +5,6 @@ for (const {a, b} of X) { } //// [parserForOfStatement12.js] +"use strict"; for (const { a, b } of X) { } diff --git a/tests/baselines/reference/parserForOfStatement13.js b/tests/baselines/reference/parserForOfStatement13.js index c4a96bcb194dc..37b2d5a9824c6 100644 --- a/tests/baselines/reference/parserForOfStatement13.js +++ b/tests/baselines/reference/parserForOfStatement13.js @@ -5,5 +5,6 @@ for (let {a, b} of X) { } //// [parserForOfStatement13.js] +"use strict"; for (let { a, b } of X) { } diff --git a/tests/baselines/reference/parserForOfStatement14.js b/tests/baselines/reference/parserForOfStatement14.js index 048fcf65a8881..c3a91af7212dd 100644 --- a/tests/baselines/reference/parserForOfStatement14.js +++ b/tests/baselines/reference/parserForOfStatement14.js @@ -5,5 +5,6 @@ for (let [a, b] of X) { } //// [parserForOfStatement14.js] +"use strict"; for (let [a, b] of X) { } diff --git a/tests/baselines/reference/parserForOfStatement15.js b/tests/baselines/reference/parserForOfStatement15.js index 4c70bffa1d2ae..db03053ad6e9a 100644 --- a/tests/baselines/reference/parserForOfStatement15.js +++ b/tests/baselines/reference/parserForOfStatement15.js @@ -5,5 +5,6 @@ for (var [a, b] of X) { } //// [parserForOfStatement15.js] +"use strict"; for (var [a, b] of X) { } diff --git a/tests/baselines/reference/parserForOfStatement16.js b/tests/baselines/reference/parserForOfStatement16.js index c90487b50649d..999d6acbc3759 100644 --- a/tests/baselines/reference/parserForOfStatement16.js +++ b/tests/baselines/reference/parserForOfStatement16.js @@ -5,5 +5,6 @@ for (var {a, b} of X) { } //// [parserForOfStatement16.js] +"use strict"; for (var { a, b } of X) { } diff --git a/tests/baselines/reference/parserForOfStatement17.js b/tests/baselines/reference/parserForOfStatement17.js index 30019acbce6ca..31b82f183ab02 100644 --- a/tests/baselines/reference/parserForOfStatement17.js +++ b/tests/baselines/reference/parserForOfStatement17.js @@ -4,4 +4,5 @@ for (var of; ;) { } //// [parserForOfStatement17.js] +"use strict"; for (var of;;) { } diff --git a/tests/baselines/reference/parserForOfStatement18.js b/tests/baselines/reference/parserForOfStatement18.js index f06973084af7d..dbc01277503cd 100644 --- a/tests/baselines/reference/parserForOfStatement18.js +++ b/tests/baselines/reference/parserForOfStatement18.js @@ -4,4 +4,5 @@ for (var of of of) { } //// [parserForOfStatement18.js] +"use strict"; for (var of of of) { } diff --git a/tests/baselines/reference/parserForOfStatement19.js b/tests/baselines/reference/parserForOfStatement19.js index 638519dad9cf6..d9cbe9955e40a 100644 --- a/tests/baselines/reference/parserForOfStatement19.js +++ b/tests/baselines/reference/parserForOfStatement19.js @@ -4,4 +4,5 @@ for (var of in of) { } //// [parserForOfStatement19.js] +"use strict"; for (var of in of) { } diff --git a/tests/baselines/reference/parserForOfStatement2.js b/tests/baselines/reference/parserForOfStatement2.js index bfd35ea534d21..d6589e826e454 100644 --- a/tests/baselines/reference/parserForOfStatement2.js +++ b/tests/baselines/reference/parserForOfStatement2.js @@ -5,5 +5,6 @@ for (var of X) { } //// [parserForOfStatement2.js] +"use strict"; for (var of X) { } diff --git a/tests/baselines/reference/parserForOfStatement20.js b/tests/baselines/reference/parserForOfStatement20.js index 71f02f5f8dc6f..86128533071fa 100644 --- a/tests/baselines/reference/parserForOfStatement20.js +++ b/tests/baselines/reference/parserForOfStatement20.js @@ -4,4 +4,5 @@ for (var of = 0 in of) { } //// [parserForOfStatement20.js] +"use strict"; for (var of = 0 in of) { } diff --git a/tests/baselines/reference/parserForOfStatement21.js b/tests/baselines/reference/parserForOfStatement21.js index 33f2598ddfc8e..186e2a7ba9cb3 100644 --- a/tests/baselines/reference/parserForOfStatement21.js +++ b/tests/baselines/reference/parserForOfStatement21.js @@ -4,4 +4,5 @@ for (var of of) { } //// [parserForOfStatement21.js] +"use strict"; for (var of of) { } diff --git a/tests/baselines/reference/parserForOfStatement22.js b/tests/baselines/reference/parserForOfStatement22.js index 0687799e2ed32..e05e296803844 100644 --- a/tests/baselines/reference/parserForOfStatement22.js +++ b/tests/baselines/reference/parserForOfStatement22.js @@ -6,5 +6,6 @@ for (async of [1, 2]) {} //// [parserForOfStatement22.js] +"use strict"; var async; for (async of [1, 2]) { } diff --git a/tests/baselines/reference/parserForOfStatement23.js b/tests/baselines/reference/parserForOfStatement23.js index f2e65b1f85e37..14206e285bd94 100644 --- a/tests/baselines/reference/parserForOfStatement23.js +++ b/tests/baselines/reference/parserForOfStatement23.js @@ -8,6 +8,7 @@ async function foo(x: any) { //// [parserForOfStatement23.js] +"use strict"; async function foo(x) { var async; for await (async of x) { } diff --git a/tests/baselines/reference/parserForOfStatement24.js b/tests/baselines/reference/parserForOfStatement24.js index e491612f3c3f4..22b1d5e326449 100644 --- a/tests/baselines/reference/parserForOfStatement24.js +++ b/tests/baselines/reference/parserForOfStatement24.js @@ -6,6 +6,7 @@ for ((async) of [1, 2]); //// [parserForOfStatement24.js] +"use strict"; var async; for ((async) of [1, 2]) ; diff --git a/tests/baselines/reference/parserForOfStatement25.js b/tests/baselines/reference/parserForOfStatement25.js index 3261eb14cf346..57a07f16bc05d 100644 --- a/tests/baselines/reference/parserForOfStatement25.js +++ b/tests/baselines/reference/parserForOfStatement25.js @@ -8,6 +8,7 @@ for (let {x = 'a' in {}} of [{}]) console.log(x) //// [parserForOfStatement25.js] +"use strict"; // repro from https://github.com/microsoft/TypeScript/issues/54769 for (let [x = 'a' in {}] of [[]]) console.log(x); diff --git a/tests/baselines/reference/parserForOfStatement3.js b/tests/baselines/reference/parserForOfStatement3.js index 4754390e4c26a..8dc1116d7e41a 100644 --- a/tests/baselines/reference/parserForOfStatement3.js +++ b/tests/baselines/reference/parserForOfStatement3.js @@ -5,5 +5,6 @@ for (var a, b of X) { } //// [parserForOfStatement3.js] +"use strict"; for (var a, b of X) { } diff --git a/tests/baselines/reference/parserForOfStatement4.js b/tests/baselines/reference/parserForOfStatement4.js index 6f843491289d1..6b6f2109c3051 100644 --- a/tests/baselines/reference/parserForOfStatement4.js +++ b/tests/baselines/reference/parserForOfStatement4.js @@ -5,5 +5,6 @@ for (var a = 1 of X) { } //// [parserForOfStatement4.js] +"use strict"; for (var a = 1 of X) { } diff --git a/tests/baselines/reference/parserForOfStatement5.js b/tests/baselines/reference/parserForOfStatement5.js index 18e52214c90c2..8494d2e91b7ef 100644 --- a/tests/baselines/reference/parserForOfStatement5.js +++ b/tests/baselines/reference/parserForOfStatement5.js @@ -5,5 +5,6 @@ for (var a: number of X) { } //// [parserForOfStatement5.js] +"use strict"; for (var a of X) { } diff --git a/tests/baselines/reference/parserForOfStatement6.js b/tests/baselines/reference/parserForOfStatement6.js index 120744267cf12..4b651619ed941 100644 --- a/tests/baselines/reference/parserForOfStatement6.js +++ b/tests/baselines/reference/parserForOfStatement6.js @@ -5,5 +5,6 @@ for (var a = 1, b = 2 of X) { } //// [parserForOfStatement6.js] +"use strict"; for (var a = 1, b = 2 of X) { } diff --git a/tests/baselines/reference/parserForOfStatement7.js b/tests/baselines/reference/parserForOfStatement7.js index 287485102d85e..7518fc78691af 100644 --- a/tests/baselines/reference/parserForOfStatement7.js +++ b/tests/baselines/reference/parserForOfStatement7.js @@ -5,5 +5,6 @@ for (var a: number = 1, b: string = "" of X) { } //// [parserForOfStatement7.js] +"use strict"; for (var a = 1, b = "" of X) { } diff --git a/tests/baselines/reference/parserForOfStatement8.js b/tests/baselines/reference/parserForOfStatement8.js index 63bab57431f94..94a1d9a60e89b 100644 --- a/tests/baselines/reference/parserForOfStatement8.js +++ b/tests/baselines/reference/parserForOfStatement8.js @@ -5,5 +5,6 @@ for (var v of X) { } //// [parserForOfStatement8.js] +"use strict"; for (var v of X) { } diff --git a/tests/baselines/reference/parserForOfStatement9.js b/tests/baselines/reference/parserForOfStatement9.js index bc14e503995f7..52fe19d6fe4d9 100644 --- a/tests/baselines/reference/parserForOfStatement9.js +++ b/tests/baselines/reference/parserForOfStatement9.js @@ -5,5 +5,6 @@ for (let v of X) { } //// [parserForOfStatement9.js] +"use strict"; for (let v of X) { } diff --git a/tests/baselines/reference/parserForStatement2.js b/tests/baselines/reference/parserForStatement2.js index 3333884031504..28046ed84406a 100644 --- a/tests/baselines/reference/parserForStatement2.js +++ b/tests/baselines/reference/parserForStatement2.js @@ -9,6 +9,7 @@ for (a in b[c] = b[c] || [], d) { } //// [parserForStatement2.js] +"use strict"; var a; var b = []; var c; diff --git a/tests/baselines/reference/parserForStatement3.js b/tests/baselines/reference/parserForStatement3.js index a2493f308b187..1a9f19b63e18b 100644 --- a/tests/baselines/reference/parserForStatement3.js +++ b/tests/baselines/reference/parserForStatement3.js @@ -4,5 +4,6 @@ for(d in _.jh[a]=_.jh[a]||[],b); //// [parserForStatement3.js] +"use strict"; for (d in _.jh[a] = _.jh[a] || [], b) ; diff --git a/tests/baselines/reference/parserForStatement4.js b/tests/baselines/reference/parserForStatement4.js index 27010b40b60ec..d803b96b6dd02 100644 --- a/tests/baselines/reference/parserForStatement4.js +++ b/tests/baselines/reference/parserForStatement4.js @@ -5,5 +5,6 @@ for (a = 1 in b) { } //// [parserForStatement4.js] +"use strict"; for (a = 1 in b) { } diff --git a/tests/baselines/reference/parserForStatement5.js b/tests/baselines/reference/parserForStatement5.js index bbd13bf84e7e4..f69fe3d12f330 100644 --- a/tests/baselines/reference/parserForStatement5.js +++ b/tests/baselines/reference/parserForStatement5.js @@ -5,5 +5,6 @@ for ({} in b) { } //// [parserForStatement5.js] +"use strict"; for ({} in b) { } diff --git a/tests/baselines/reference/parserForStatement6.js b/tests/baselines/reference/parserForStatement6.js index 66b9faf9551bc..1d767f5937952 100644 --- a/tests/baselines/reference/parserForStatement6.js +++ b/tests/baselines/reference/parserForStatement6.js @@ -5,5 +5,6 @@ for (foo() in b) { } //// [parserForStatement6.js] +"use strict"; for (foo() in b) { } diff --git a/tests/baselines/reference/parserForStatement7.js b/tests/baselines/reference/parserForStatement7.js index 43db514460246..eabc507fbd2c4 100644 --- a/tests/baselines/reference/parserForStatement7.js +++ b/tests/baselines/reference/parserForStatement7.js @@ -5,5 +5,6 @@ for (new foo() in b) { } //// [parserForStatement7.js] +"use strict"; for (new foo() in b) { } diff --git a/tests/baselines/reference/parserForStatement8.js b/tests/baselines/reference/parserForStatement8.js index 42d242d635104..b975438eb25fb 100644 --- a/tests/baselines/reference/parserForStatement8.js +++ b/tests/baselines/reference/parserForStatement8.js @@ -5,5 +5,6 @@ for (this in b) { } //// [parserForStatement8.js] +"use strict"; for (this in b) { } diff --git a/tests/baselines/reference/parserForStatement9.js b/tests/baselines/reference/parserForStatement9.js index 714af52a02ffa..0c02e93c61507 100644 --- a/tests/baselines/reference/parserForStatement9.js +++ b/tests/baselines/reference/parserForStatement9.js @@ -8,6 +8,7 @@ for (let {x = 'a' in {}} = {}; !x; x = !x) console.log(x) //// [parserForStatement9.js] +"use strict"; // repro from https://github.com/microsoft/TypeScript/issues/54769 for (var _a = [][0], x = _a === void 0 ? 'a' in {} : _a; !x; x = !x) console.log(x); diff --git a/tests/baselines/reference/parserFunctionDeclaration1.js b/tests/baselines/reference/parserFunctionDeclaration1.js index d02dff13921f9..92d5e0eff7554 100644 --- a/tests/baselines/reference/parserFunctionDeclaration1.js +++ b/tests/baselines/reference/parserFunctionDeclaration1.js @@ -6,3 +6,4 @@ declare namespace M { } //// [parserFunctionDeclaration1.js] +"use strict"; diff --git a/tests/baselines/reference/parserFunctionDeclaration2.js b/tests/baselines/reference/parserFunctionDeclaration2.js index e1009d1dd3c57..6b33284432223 100644 --- a/tests/baselines/reference/parserFunctionDeclaration2.js +++ b/tests/baselines/reference/parserFunctionDeclaration2.js @@ -5,3 +5,4 @@ declare function Foo() { } //// [parserFunctionDeclaration2.js] +"use strict"; diff --git a/tests/baselines/reference/parserFunctionDeclaration3.js b/tests/baselines/reference/parserFunctionDeclaration3.js index 511113ffcb233..2b629fb2f406a 100644 --- a/tests/baselines/reference/parserFunctionDeclaration3.js +++ b/tests/baselines/reference/parserFunctionDeclaration3.js @@ -4,3 +4,4 @@ function foo(); //// [parserFunctionDeclaration3.js] +"use strict"; diff --git a/tests/baselines/reference/parserFunctionDeclaration4.js b/tests/baselines/reference/parserFunctionDeclaration4.js index 1cf4d77d3c40b..7974bc5125ef8 100644 --- a/tests/baselines/reference/parserFunctionDeclaration4.js +++ b/tests/baselines/reference/parserFunctionDeclaration4.js @@ -5,4 +5,5 @@ function foo(); function bar() { } //// [parserFunctionDeclaration4.js] +"use strict"; function bar() { } diff --git a/tests/baselines/reference/parserFunctionDeclaration5.js b/tests/baselines/reference/parserFunctionDeclaration5.js index 533cfaef0aa76..0fc5884d9b682 100644 --- a/tests/baselines/reference/parserFunctionDeclaration5.js +++ b/tests/baselines/reference/parserFunctionDeclaration5.js @@ -5,4 +5,5 @@ function foo(); function foo() { } //// [parserFunctionDeclaration5.js] +"use strict"; function foo() { } diff --git a/tests/baselines/reference/parserFunctionDeclaration6.errors.txt b/tests/baselines/reference/parserFunctionDeclaration6.errors.txt index 04f1d313e16c6..079fe37f56f52 100644 --- a/tests/baselines/reference/parserFunctionDeclaration6.errors.txt +++ b/tests/baselines/reference/parserFunctionDeclaration6.errors.txt @@ -1,10 +1,16 @@ +parserFunctionDeclaration6.ts(2,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. +parserFunctionDeclaration6.ts(3,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. parserFunctionDeclaration6.ts(3,14): error TS2389: Function implementation name must be 'foo'. -==== parserFunctionDeclaration6.ts (1 errors) ==== +==== parserFunctionDeclaration6.ts (3 errors) ==== { function foo(); + ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. function bar() { } ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + ~~~ !!! error TS2389: Function implementation name must be 'foo'. } \ No newline at end of file diff --git a/tests/baselines/reference/parserFunctionDeclaration6.js b/tests/baselines/reference/parserFunctionDeclaration6.js index 6863c1050e2fa..d004afe94980e 100644 --- a/tests/baselines/reference/parserFunctionDeclaration6.js +++ b/tests/baselines/reference/parserFunctionDeclaration6.js @@ -7,6 +7,7 @@ } //// [parserFunctionDeclaration6.js] +"use strict"; { function bar() { } } diff --git a/tests/baselines/reference/parserFunctionDeclaration7.js b/tests/baselines/reference/parserFunctionDeclaration7.js index 0f47252c901ba..141ea30d6be32 100644 --- a/tests/baselines/reference/parserFunctionDeclaration7.js +++ b/tests/baselines/reference/parserFunctionDeclaration7.js @@ -6,6 +6,7 @@ namespace M { } //// [parserFunctionDeclaration7.js] +"use strict"; var M; (function (M) { })(M || (M = {})); diff --git a/tests/baselines/reference/parserFunctionDeclaration8.js b/tests/baselines/reference/parserFunctionDeclaration8.js index 7ade091a044f4..38856c801dd69 100644 --- a/tests/baselines/reference/parserFunctionDeclaration8.js +++ b/tests/baselines/reference/parserFunctionDeclaration8.js @@ -6,3 +6,4 @@ declare namespace M { } //// [parserFunctionDeclaration8.js] +"use strict"; diff --git a/tests/baselines/reference/parserFunctionPropertyAssignment1.js b/tests/baselines/reference/parserFunctionPropertyAssignment1.js index 61ed9060c8323..4321a2ec1ff63 100644 --- a/tests/baselines/reference/parserFunctionPropertyAssignment1.js +++ b/tests/baselines/reference/parserFunctionPropertyAssignment1.js @@ -4,4 +4,5 @@ var v = { foo() { } }; //// [parserFunctionPropertyAssignment1.js] +"use strict"; var v = { foo: function () { } }; diff --git a/tests/baselines/reference/parserFunctionPropertyAssignment2.js b/tests/baselines/reference/parserFunctionPropertyAssignment2.js index fa00957014989..f8302be7caccf 100644 --- a/tests/baselines/reference/parserFunctionPropertyAssignment2.js +++ b/tests/baselines/reference/parserFunctionPropertyAssignment2.js @@ -4,4 +4,5 @@ var v = { 0() { } }; //// [parserFunctionPropertyAssignment2.js] +"use strict"; var v = { 0: function () { } }; diff --git a/tests/baselines/reference/parserFunctionPropertyAssignment3.js b/tests/baselines/reference/parserFunctionPropertyAssignment3.js index 80d3c8970cf8c..06475e48be2c7 100644 --- a/tests/baselines/reference/parserFunctionPropertyAssignment3.js +++ b/tests/baselines/reference/parserFunctionPropertyAssignment3.js @@ -4,4 +4,5 @@ var v = { "foo"() { } }; //// [parserFunctionPropertyAssignment3.js] +"use strict"; var v = { "foo": function () { } }; diff --git a/tests/baselines/reference/parserFunctionPropertyAssignment4.js b/tests/baselines/reference/parserFunctionPropertyAssignment4.js index 137fa13c919fc..fad3310f4e333 100644 --- a/tests/baselines/reference/parserFunctionPropertyAssignment4.js +++ b/tests/baselines/reference/parserFunctionPropertyAssignment4.js @@ -4,4 +4,5 @@ var v = { 0() { } }; //// [parserFunctionPropertyAssignment4.js] +"use strict"; var v = { 0: function () { } }; diff --git a/tests/baselines/reference/parserFuzz1.js b/tests/baselines/reference/parserFuzz1.js index 3dc3488c562bc..8c794e05f9fbf 100644 --- a/tests/baselines/reference/parserFuzz1.js +++ b/tests/baselines/reference/parserFuzz1.js @@ -5,6 +5,7 @@ cla { } //// [parserGenericClass1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserGenericClass2.js b/tests/baselines/reference/parserGenericClass2.js index 1d7c77e9c950c..d7d6335f2673c 100644 --- a/tests/baselines/reference/parserGenericClass2.js +++ b/tests/baselines/reference/parserGenericClass2.js @@ -5,6 +5,7 @@ class C { } //// [parserGenericClass2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserGenericConstraint1.js b/tests/baselines/reference/parserGenericConstraint1.js index ae5a99ecca58c..f1449d250ae99 100644 --- a/tests/baselines/reference/parserGenericConstraint1.js +++ b/tests/baselines/reference/parserGenericConstraint1.js @@ -5,6 +5,7 @@ class C { } //// [parserGenericConstraint1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserGenericConstraint2.js b/tests/baselines/reference/parserGenericConstraint2.js index 22c7c1005f543..948f513c58265 100644 --- a/tests/baselines/reference/parserGenericConstraint2.js +++ b/tests/baselines/reference/parserGenericConstraint2.js @@ -5,6 +5,7 @@ class C > { } //// [parserGenericConstraint2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserGenericConstraint3.js b/tests/baselines/reference/parserGenericConstraint3.js index 2f1dd22e268fd..fcaa0a61444cf 100644 --- a/tests/baselines/reference/parserGenericConstraint3.js +++ b/tests/baselines/reference/parserGenericConstraint3.js @@ -5,6 +5,7 @@ class C> { } //// [parserGenericConstraint3.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserGenericConstraint4.js b/tests/baselines/reference/parserGenericConstraint4.js index 0c23b6e66a5e2..08cca695d6408 100644 --- a/tests/baselines/reference/parserGenericConstraint4.js +++ b/tests/baselines/reference/parserGenericConstraint4.js @@ -5,6 +5,7 @@ class C > > { } //// [parserGenericConstraint4.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserGenericConstraint5.js b/tests/baselines/reference/parserGenericConstraint5.js index ea01533752dbd..a87780dff80e9 100644 --- a/tests/baselines/reference/parserGenericConstraint5.js +++ b/tests/baselines/reference/parserGenericConstraint5.js @@ -5,6 +5,7 @@ class C> > { } //// [parserGenericConstraint5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserGenericConstraint6.js b/tests/baselines/reference/parserGenericConstraint6.js index c23b24aa41cc1..0137ec3ee1753 100644 --- a/tests/baselines/reference/parserGenericConstraint6.js +++ b/tests/baselines/reference/parserGenericConstraint6.js @@ -5,6 +5,7 @@ class C >> { } //// [parserGenericConstraint6.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserGenericConstraint7.js b/tests/baselines/reference/parserGenericConstraint7.js index e870e571c5cb9..156b6f941a475 100644 --- a/tests/baselines/reference/parserGenericConstraint7.js +++ b/tests/baselines/reference/parserGenericConstraint7.js @@ -5,6 +5,7 @@ class C>> { } //// [parserGenericConstraint7.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.js b/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.js index 1d3188984f32e..2db99d3fd0b81 100644 --- a/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.js +++ b/tests/baselines/reference/parserGenericsInInterfaceDeclaration1.js @@ -10,3 +10,4 @@ interface I { } //// [parserGenericsInInterfaceDeclaration1.js] +"use strict"; diff --git a/tests/baselines/reference/parserGenericsInTypeContexts1.js b/tests/baselines/reference/parserGenericsInTypeContexts1.js index ca2a24b9a05e7..f38eeb2b1fc89 100644 --- a/tests/baselines/reference/parserGenericsInTypeContexts1.js +++ b/tests/baselines/reference/parserGenericsInTypeContexts1.js @@ -20,6 +20,7 @@ function f2(): F { //// [parserGenericsInTypeContexts1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parserGenericsInTypeContexts2.js b/tests/baselines/reference/parserGenericsInTypeContexts2.js index 5b121c2b84b6b..58d579573df7b 100644 --- a/tests/baselines/reference/parserGenericsInTypeContexts2.js +++ b/tests/baselines/reference/parserGenericsInTypeContexts2.js @@ -20,6 +20,7 @@ function f2(): F, Y>> { //// [parserGenericsInTypeContexts2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/parserGenericsInVariableDeclaration1.js b/tests/baselines/reference/parserGenericsInVariableDeclaration1.js index ad6d09d29702c..1a964bb096756 100644 --- a/tests/baselines/reference/parserGenericsInVariableDeclaration1.js +++ b/tests/baselines/reference/parserGenericsInVariableDeclaration1.js @@ -11,6 +11,7 @@ var v : Foo>> = 1; var v : Foo>>= 1; //// [parserGenericsInVariableDeclaration1.js] +"use strict"; var v = 1; var v = 1; var v = 1; diff --git a/tests/baselines/reference/parserGetAccessorWithTypeParameters1.js b/tests/baselines/reference/parserGetAccessorWithTypeParameters1.js index e6320bc1e791b..43e40455856b7 100644 --- a/tests/baselines/reference/parserGetAccessorWithTypeParameters1.js +++ b/tests/baselines/reference/parserGetAccessorWithTypeParameters1.js @@ -6,6 +6,7 @@ class C { } //// [parserGetAccessorWithTypeParameters1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity1.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity1.js index d71c058133bd9..35ba8279cd25b 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity1.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity1.js @@ -4,4 +4,5 @@ 1 >> 2; //// [parserGreaterThanTokenAmbiguity1.js] +"use strict"; 1 >> 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity10.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity10.js index 5481640baca0a..22ef549b4bec1 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity10.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity10.js @@ -7,6 +7,7 @@ 2; //// [parserGreaterThanTokenAmbiguity10.js] +"use strict"; 1 // before >>> // after diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity11.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity11.js index af1c17bea7b9f..23a52d8df8681 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity11.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity11.js @@ -4,4 +4,5 @@ 1 >>= 2; //// [parserGreaterThanTokenAmbiguity11.js] +"use strict"; 1 >>= 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity12.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity12.js index b82e750a191df..b6e24ea657cdf 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity12.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity12.js @@ -4,5 +4,6 @@ 1 >> = 2; //// [parserGreaterThanTokenAmbiguity12.js] +"use strict"; 1 >> ; 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity13.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity13.js index ed74de136da4c..4b33d1722e233 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity13.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity13.js @@ -4,5 +4,6 @@ 1 >>/**/= 2; //// [parserGreaterThanTokenAmbiguity13.js] +"use strict"; 1 >> ; /**/ 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity14.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity14.js index cf04f60c52e63..56ddd2fc6b473 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity14.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity14.js @@ -5,6 +5,7 @@ = 2; //// [parserGreaterThanTokenAmbiguity14.js] +"use strict"; 1 >> ; 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity15.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity15.js index 0971cd50e9038..d7c97acc2e593 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity15.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity15.js @@ -7,6 +7,7 @@ 2; //// [parserGreaterThanTokenAmbiguity15.js] +"use strict"; 1 // before >>= // after diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity16.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity16.js index 2ea4b0cfd10b8..a49b8fc148b30 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity16.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity16.js @@ -4,4 +4,5 @@ 1 >>>= 2; //// [parserGreaterThanTokenAmbiguity16.js] +"use strict"; 1 >>>= 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity17.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity17.js index 0d81d3ed3fc98..c3601437e1b59 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity17.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity17.js @@ -4,5 +4,6 @@ 1 >>> = 2; //// [parserGreaterThanTokenAmbiguity17.js] +"use strict"; 1 >>> ; 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity18.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity18.js index 46ad2ab7cf0e1..96dc5d668eb9e 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity18.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity18.js @@ -4,5 +4,6 @@ 1 >>>/**/= 2; //// [parserGreaterThanTokenAmbiguity18.js] +"use strict"; 1 >>> ; /**/ 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity19.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity19.js index 0ad774812bff7..108c942c0d550 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity19.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity19.js @@ -5,6 +5,7 @@ = 2; //// [parserGreaterThanTokenAmbiguity19.js] +"use strict"; 1 >>> ; 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity2.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity2.js index df96b6aeecc10..9dbcbd46835aa 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity2.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity2.js @@ -4,4 +4,5 @@ 1 > > 2; //// [parserGreaterThanTokenAmbiguity2.js] +"use strict"; 1 > > 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity20.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity20.js index 5a0a5e931c6a9..d15c561b8c72d 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity20.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity20.js @@ -7,6 +7,7 @@ 2; //// [parserGreaterThanTokenAmbiguity20.js] +"use strict"; 1 // Before >>>= // after diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity3.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity3.js index 9e122a1255f68..8a6ba465342de 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity3.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity3.js @@ -4,4 +4,5 @@ 1 >/**/> 2; //// [parserGreaterThanTokenAmbiguity3.js] +"use strict"; 1 > /**/ > 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity4.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity4.js index 8420ce111af6f..ef6448824589b 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity4.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity4.js @@ -5,5 +5,6 @@ > 2; //// [parserGreaterThanTokenAmbiguity4.js] +"use strict"; 1 > > 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity5.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity5.js index 061e2606b23f6..1a1a89607ee02 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity5.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity5.js @@ -7,6 +7,7 @@ 2; //// [parserGreaterThanTokenAmbiguity5.js] +"use strict"; 1 // before >> // after diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity6.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity6.js index d517c498eeb89..4d9b24c9b9f5d 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity6.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity6.js @@ -4,4 +4,5 @@ 1 >>> 2; //// [parserGreaterThanTokenAmbiguity6.js] +"use strict"; 1 >>> 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity7.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity7.js index 6f99c6588799d..e9324be0bec4f 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity7.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity7.js @@ -4,4 +4,5 @@ 1 >> > 2; //// [parserGreaterThanTokenAmbiguity7.js] +"use strict"; 1 >> > 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity8.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity8.js index 37d3bf50dd456..3239a22496032 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity8.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity8.js @@ -4,4 +4,5 @@ 1 >>/**/> 2; //// [parserGreaterThanTokenAmbiguity8.js] +"use strict"; 1 >> /**/ > 2; diff --git a/tests/baselines/reference/parserGreaterThanTokenAmbiguity9.js b/tests/baselines/reference/parserGreaterThanTokenAmbiguity9.js index 02c12c1e3e8dd..40bf5590acc55 100644 --- a/tests/baselines/reference/parserGreaterThanTokenAmbiguity9.js +++ b/tests/baselines/reference/parserGreaterThanTokenAmbiguity9.js @@ -5,5 +5,6 @@ > 2; //// [parserGreaterThanTokenAmbiguity9.js] +"use strict"; 1 >> > 2; diff --git a/tests/baselines/reference/parserIfStatement2.js b/tests/baselines/reference/parserIfStatement2.js index 64b5829b71ebd..55abc4845160e 100644 --- a/tests/baselines/reference/parserIfStatement2.js +++ b/tests/baselines/reference/parserIfStatement2.js @@ -5,5 +5,6 @@ if (a) { } //// [parserIfStatement2.js] +"use strict"; if (a) { } diff --git a/tests/baselines/reference/parserImportDeclaration1.js b/tests/baselines/reference/parserImportDeclaration1.js index e4049e6e4cb00..7692cdea61376 100644 --- a/tests/baselines/reference/parserImportDeclaration1.js +++ b/tests/baselines/reference/parserImportDeclaration1.js @@ -4,4 +4,5 @@ import TypeScript = TypeScriptServices.TypeScript; //// [parserImportDeclaration1.js] +"use strict"; var TypeScript = TypeScriptServices.TypeScript; diff --git a/tests/baselines/reference/parserInExpression1.js b/tests/baselines/reference/parserInExpression1.js index 7fca1a578e551..161c72996d23a 100644 --- a/tests/baselines/reference/parserInExpression1.js +++ b/tests/baselines/reference/parserInExpression1.js @@ -4,4 +4,5 @@ console.log("a" in { "a": true }); //// [parserInExpression1.js] +"use strict"; console.log("a" in { "a": true }); diff --git a/tests/baselines/reference/parserIndexMemberDeclaration1.js b/tests/baselines/reference/parserIndexMemberDeclaration1.js index 8fc6f3dbb71fa..9336e9f497947 100644 --- a/tests/baselines/reference/parserIndexMemberDeclaration1.js +++ b/tests/baselines/reference/parserIndexMemberDeclaration1.js @@ -6,6 +6,7 @@ class C { } //// [parserIndexMemberDeclaration1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserIndexMemberDeclaration10.js b/tests/baselines/reference/parserIndexMemberDeclaration10.js index 50db24503fde7..d522ce0884ec7 100644 --- a/tests/baselines/reference/parserIndexMemberDeclaration10.js +++ b/tests/baselines/reference/parserIndexMemberDeclaration10.js @@ -6,6 +6,7 @@ class C { } //// [parserIndexMemberDeclaration10.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserIndexMemberDeclaration2.js b/tests/baselines/reference/parserIndexMemberDeclaration2.js index 756442c0032b2..b174317265885 100644 --- a/tests/baselines/reference/parserIndexMemberDeclaration2.js +++ b/tests/baselines/reference/parserIndexMemberDeclaration2.js @@ -7,6 +7,7 @@ class C { } //// [parserIndexMemberDeclaration2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserIndexMemberDeclaration3.js b/tests/baselines/reference/parserIndexMemberDeclaration3.js index 44647aa6c89f6..c38f255a86897 100644 --- a/tests/baselines/reference/parserIndexMemberDeclaration3.js +++ b/tests/baselines/reference/parserIndexMemberDeclaration3.js @@ -7,6 +7,7 @@ class C { } //// [parserIndexMemberDeclaration3.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserIndexMemberDeclaration4.js b/tests/baselines/reference/parserIndexMemberDeclaration4.js index 2d4faab3a95bd..5c63d26e16ebe 100644 --- a/tests/baselines/reference/parserIndexMemberDeclaration4.js +++ b/tests/baselines/reference/parserIndexMemberDeclaration4.js @@ -6,6 +6,7 @@ class C { } //// [parserIndexMemberDeclaration4.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserIndexMemberDeclaration5.js b/tests/baselines/reference/parserIndexMemberDeclaration5.js index 0a901dba1827c..91be95680c370 100644 --- a/tests/baselines/reference/parserIndexMemberDeclaration5.js +++ b/tests/baselines/reference/parserIndexMemberDeclaration5.js @@ -6,6 +6,7 @@ class C { } //// [parserIndexMemberDeclaration5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserIndexMemberDeclaration6.js b/tests/baselines/reference/parserIndexMemberDeclaration6.js index ce8934b1c8685..34a3ae7798970 100644 --- a/tests/baselines/reference/parserIndexMemberDeclaration6.js +++ b/tests/baselines/reference/parserIndexMemberDeclaration6.js @@ -6,6 +6,7 @@ class C { } //// [parserIndexMemberDeclaration6.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserIndexMemberDeclaration7.js b/tests/baselines/reference/parserIndexMemberDeclaration7.js index 9421f6416edf4..110d893fcf9c8 100644 --- a/tests/baselines/reference/parserIndexMemberDeclaration7.js +++ b/tests/baselines/reference/parserIndexMemberDeclaration7.js @@ -6,6 +6,7 @@ class C { } //// [parserIndexMemberDeclaration7.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserIndexMemberDeclaration8.js b/tests/baselines/reference/parserIndexMemberDeclaration8.js index 5cf50b8cfd03b..c4817e2a683d5 100644 --- a/tests/baselines/reference/parserIndexMemberDeclaration8.js +++ b/tests/baselines/reference/parserIndexMemberDeclaration8.js @@ -6,6 +6,7 @@ class C { } //// [parserIndexMemberDeclaration8.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserIndexMemberDeclaration9.js b/tests/baselines/reference/parserIndexMemberDeclaration9.js index 261746f3c08ef..92a5b774bf1dc 100644 --- a/tests/baselines/reference/parserIndexMemberDeclaration9.js +++ b/tests/baselines/reference/parserIndexMemberDeclaration9.js @@ -6,6 +6,7 @@ class C { } //// [parserIndexMemberDeclaration9.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserIndexSignature1.js b/tests/baselines/reference/parserIndexSignature1.js index 6fc73b6a9d098..20c98be6acf30 100644 --- a/tests/baselines/reference/parserIndexSignature1.js +++ b/tests/baselines/reference/parserIndexSignature1.js @@ -6,3 +6,4 @@ interface I { } //// [parserIndexSignature1.js] +"use strict"; diff --git a/tests/baselines/reference/parserIndexSignature10.js b/tests/baselines/reference/parserIndexSignature10.js index 88ac74087a67a..a278bfe327c5a 100644 --- a/tests/baselines/reference/parserIndexSignature10.js +++ b/tests/baselines/reference/parserIndexSignature10.js @@ -6,3 +6,4 @@ interface I { } //// [parserIndexSignature10.js] +"use strict"; diff --git a/tests/baselines/reference/parserIndexSignature11.js b/tests/baselines/reference/parserIndexSignature11.js index 5fff303f89c8d..49cd5d4cdefab 100644 --- a/tests/baselines/reference/parserIndexSignature11.js +++ b/tests/baselines/reference/parserIndexSignature11.js @@ -8,3 +8,4 @@ interface I { } //// [parserIndexSignature11.js] +"use strict"; diff --git a/tests/baselines/reference/parserIndexSignature2.js b/tests/baselines/reference/parserIndexSignature2.js index 8f2fe95df8657..b0bb5b10233dd 100644 --- a/tests/baselines/reference/parserIndexSignature2.js +++ b/tests/baselines/reference/parserIndexSignature2.js @@ -6,3 +6,4 @@ interface I { } //// [parserIndexSignature2.js] +"use strict"; diff --git a/tests/baselines/reference/parserIndexSignature3.js b/tests/baselines/reference/parserIndexSignature3.js index cca780a2d2b94..0d34fc065fb1a 100644 --- a/tests/baselines/reference/parserIndexSignature3.js +++ b/tests/baselines/reference/parserIndexSignature3.js @@ -6,3 +6,4 @@ interface I { } //// [parserIndexSignature3.js] +"use strict"; diff --git a/tests/baselines/reference/parserIndexSignature4.js b/tests/baselines/reference/parserIndexSignature4.js index 9aded9dce22be..b002eda213d27 100644 --- a/tests/baselines/reference/parserIndexSignature4.js +++ b/tests/baselines/reference/parserIndexSignature4.js @@ -6,3 +6,4 @@ interface I { } //// [parserIndexSignature4.js] +"use strict"; diff --git a/tests/baselines/reference/parserIndexSignature5.js b/tests/baselines/reference/parserIndexSignature5.js index 1fd28c7d15b2f..1fa38bb428460 100644 --- a/tests/baselines/reference/parserIndexSignature5.js +++ b/tests/baselines/reference/parserIndexSignature5.js @@ -6,3 +6,4 @@ interface I { } //// [parserIndexSignature5.js] +"use strict"; diff --git a/tests/baselines/reference/parserIndexSignature6.js b/tests/baselines/reference/parserIndexSignature6.js index 1cdc63671122c..dcc58f4e3e1ff 100644 --- a/tests/baselines/reference/parserIndexSignature6.js +++ b/tests/baselines/reference/parserIndexSignature6.js @@ -6,3 +6,4 @@ interface I { } //// [parserIndexSignature6.js] +"use strict"; diff --git a/tests/baselines/reference/parserIndexSignature7.js b/tests/baselines/reference/parserIndexSignature7.js index d187652cd75d8..345209556a87e 100644 --- a/tests/baselines/reference/parserIndexSignature7.js +++ b/tests/baselines/reference/parserIndexSignature7.js @@ -6,3 +6,4 @@ interface I { } //// [parserIndexSignature7.js] +"use strict"; diff --git a/tests/baselines/reference/parserIndexSignature8.js b/tests/baselines/reference/parserIndexSignature8.js index 3d72d058e07c9..9e3982288b850 100644 --- a/tests/baselines/reference/parserIndexSignature8.js +++ b/tests/baselines/reference/parserIndexSignature8.js @@ -6,5 +6,6 @@ var foo2: { [index: RegExp]; }; // expect an error here //// [parserIndexSignature8.js] +"use strict"; var foo; // expect an error here var foo2; // expect an error here diff --git a/tests/baselines/reference/parserIndexSignature9.js b/tests/baselines/reference/parserIndexSignature9.js index 28fadf0faad5a..728a73a2936ff 100644 --- a/tests/baselines/reference/parserIndexSignature9.js +++ b/tests/baselines/reference/parserIndexSignature9.js @@ -6,3 +6,4 @@ interface I { } //// [parserIndexSignature9.js] +"use strict"; diff --git a/tests/baselines/reference/parserInterfaceDeclaration1.js b/tests/baselines/reference/parserInterfaceDeclaration1.js index 63b1ec03e4558..87ff836490e5a 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration1.js +++ b/tests/baselines/reference/parserInterfaceDeclaration1.js @@ -5,3 +5,4 @@ interface I extends A extends B { } //// [parserInterfaceDeclaration1.js] +"use strict"; diff --git a/tests/baselines/reference/parserInterfaceDeclaration2.js b/tests/baselines/reference/parserInterfaceDeclaration2.js index 89f667352da48..029cac0ef83c0 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration2.js +++ b/tests/baselines/reference/parserInterfaceDeclaration2.js @@ -5,3 +5,4 @@ interface I implements A { } //// [parserInterfaceDeclaration2.js] +"use strict"; diff --git a/tests/baselines/reference/parserInterfaceDeclaration3.js b/tests/baselines/reference/parserInterfaceDeclaration3.js index 3780004fbf74f..adc7a16d5fe02 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration3.js +++ b/tests/baselines/reference/parserInterfaceDeclaration3.js @@ -5,3 +5,4 @@ public interface I { } //// [parserInterfaceDeclaration3.js] +"use strict"; diff --git a/tests/baselines/reference/parserInterfaceDeclaration4.js b/tests/baselines/reference/parserInterfaceDeclaration4.js index 59e5d1d21d8e5..5378cf599eeae 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration4.js +++ b/tests/baselines/reference/parserInterfaceDeclaration4.js @@ -5,3 +5,4 @@ static interface I { } //// [parserInterfaceDeclaration4.js] +"use strict"; diff --git a/tests/baselines/reference/parserInterfaceDeclaration5.js b/tests/baselines/reference/parserInterfaceDeclaration5.js index 6b498ed27327c..b87dbdb0b1649 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration5.js +++ b/tests/baselines/reference/parserInterfaceDeclaration5.js @@ -5,3 +5,4 @@ declare interface I { } //// [parserInterfaceDeclaration5.js] +"use strict"; diff --git a/tests/baselines/reference/parserInterfaceDeclaration8.js b/tests/baselines/reference/parserInterfaceDeclaration8.js index 265f586ee9d88..5ae63c7bc0c11 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration8.js +++ b/tests/baselines/reference/parserInterfaceDeclaration8.js @@ -5,3 +5,4 @@ interface string { } //// [parserInterfaceDeclaration8.js] +"use strict"; diff --git a/tests/baselines/reference/parserInterfaceDeclaration9.js b/tests/baselines/reference/parserInterfaceDeclaration9.js index 93370b72558f2..30f9032c2ab60 100644 --- a/tests/baselines/reference/parserInterfaceDeclaration9.js +++ b/tests/baselines/reference/parserInterfaceDeclaration9.js @@ -18,3 +18,4 @@ interface I3 { //// [parserInterfaceDeclaration9.js] +"use strict"; diff --git a/tests/baselines/reference/parserInterfaceKeywordInEnum.js b/tests/baselines/reference/parserInterfaceKeywordInEnum.js index cb48325a521dd..03b31ebefacfd 100644 --- a/tests/baselines/reference/parserInterfaceKeywordInEnum.js +++ b/tests/baselines/reference/parserInterfaceKeywordInEnum.js @@ -7,6 +7,7 @@ enum Bar { //// [parserInterfaceKeywordInEnum.js] +"use strict"; var Bar; (function (Bar) { Bar[Bar["interface"] = 0] = "interface"; diff --git a/tests/baselines/reference/parserInvalidIdentifiersInVariableStatements1.js b/tests/baselines/reference/parserInvalidIdentifiersInVariableStatements1.js index 510f7cbe339e5..86db89d221e2a 100644 --- a/tests/baselines/reference/parserInvalidIdentifiersInVariableStatements1.js +++ b/tests/baselines/reference/parserInvalidIdentifiersInVariableStatements1.js @@ -8,6 +8,7 @@ var bar; //// [parserInvalidIdentifiersInVariableStatements1.js] +"use strict"; var ; var foo; var ; diff --git a/tests/baselines/reference/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.js b/tests/baselines/reference/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.js index 6711b7bdc736e..d2b6d826d402f 100644 --- a/tests/baselines/reference/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.js +++ b/tests/baselines/reference/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.js @@ -4,4 +4,5 @@ new A().b() //// [parserInvocationOfMemberAccessOffOfObjectCreationExpression1.js] +"use strict"; new A().b(); diff --git a/tests/baselines/reference/parserIsClassMemberStart.js b/tests/baselines/reference/parserIsClassMemberStart.js index 60f8498cd65db..61bff02fc5250 100644 --- a/tests/baselines/reference/parserIsClassMemberStart.js +++ b/tests/baselines/reference/parserIsClassMemberStart.js @@ -7,6 +7,7 @@ class C { //// [parserIsClassMemberStart.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserKeywordsAsIdentifierName1.js b/tests/baselines/reference/parserKeywordsAsIdentifierName1.js index e1b39c7aa92d6..dcb6de7308630 100644 --- a/tests/baselines/reference/parserKeywordsAsIdentifierName1.js +++ b/tests/baselines/reference/parserKeywordsAsIdentifierName1.js @@ -9,6 +9,7 @@ var big = { //// [parserKeywordsAsIdentifierName1.js] +"use strict"; var big = { break: 0, super: 0, diff --git a/tests/baselines/reference/parserKeywordsAsIdentifierName2.js b/tests/baselines/reference/parserKeywordsAsIdentifierName2.js index 2d3119b39d9ff..10b8e318ee2c7 100644 --- a/tests/baselines/reference/parserKeywordsAsIdentifierName2.js +++ b/tests/baselines/reference/parserKeywordsAsIdentifierName2.js @@ -5,5 +5,6 @@ a.public /* //// [parserKeywordsAsIdentifierName2.js] +"use strict"; // 'public' should be marked unusable, should complain on trailing /* a.public; /* diff --git a/tests/baselines/reference/parserMemberAccessAfterPostfixExpression1.js b/tests/baselines/reference/parserMemberAccessAfterPostfixExpression1.js index f27f4c3fd1b29..c0d6fef73cac0 100644 --- a/tests/baselines/reference/parserMemberAccessAfterPostfixExpression1.js +++ b/tests/baselines/reference/parserMemberAccessAfterPostfixExpression1.js @@ -4,5 +4,6 @@ a--.toString() //// [parserMemberAccessAfterPostfixExpression1.js] +"use strict"; a--; toString(); diff --git a/tests/baselines/reference/parserMemberAccessExpression1.js b/tests/baselines/reference/parserMemberAccessExpression1.js index fa582e0e8f7a4..af369aac35d31 100644 --- a/tests/baselines/reference/parserMemberAccessExpression1.js +++ b/tests/baselines/reference/parserMemberAccessExpression1.js @@ -8,6 +8,7 @@ Foo.Bar(); //// [parserMemberAccessExpression1.js] +"use strict"; Foo(); Foo.Bar(); Foo.Bar(); diff --git a/tests/baselines/reference/parserMemberAccessOffOfGenericType1.js b/tests/baselines/reference/parserMemberAccessOffOfGenericType1.js index 611b0fe27d68c..0f4fb8c468d6a 100644 --- a/tests/baselines/reference/parserMemberAccessOffOfGenericType1.js +++ b/tests/baselines/reference/parserMemberAccessOffOfGenericType1.js @@ -4,4 +4,5 @@ var v = List.makeChild(); //// [parserMemberAccessOffOfGenericType1.js] +"use strict"; var v = List.makeChild(); diff --git a/tests/baselines/reference/parserMemberAccessor1.js b/tests/baselines/reference/parserMemberAccessor1.js index d165401932393..7c8711d52edf3 100644 --- a/tests/baselines/reference/parserMemberAccessor1.js +++ b/tests/baselines/reference/parserMemberAccessor1.js @@ -7,6 +7,7 @@ class C { } //// [parserMemberAccessor1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration1.js b/tests/baselines/reference/parserMemberAccessorDeclaration1.js index f452a3c982812..8701032038ead 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration1.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration1.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration10.js b/tests/baselines/reference/parserMemberAccessorDeclaration10.js index 97328d9601d90..495810636fee9 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration10.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration10.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration10.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration11.js b/tests/baselines/reference/parserMemberAccessorDeclaration11.js index d75025cba56f7..e768bd81676df 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration11.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration11.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration11.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration12.js b/tests/baselines/reference/parserMemberAccessorDeclaration12.js index d9c2b1934887f..d7d6abf7600af 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration12.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration12.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration12.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration13.js b/tests/baselines/reference/parserMemberAccessorDeclaration13.js index 99f6f5d328063..86a14134749da 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration13.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration13.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration13.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration14.js b/tests/baselines/reference/parserMemberAccessorDeclaration14.js index 5b83e9d70d42c..bb27bc338f903 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration14.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration14.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration14.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration15.js b/tests/baselines/reference/parserMemberAccessorDeclaration15.js index b6dfcb3e300cb..edee20f331226 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration15.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration15.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration15.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration16.js b/tests/baselines/reference/parserMemberAccessorDeclaration16.js index f517b6ea72e81..b79f31f98d5a9 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration16.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration16.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration16.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration17.js b/tests/baselines/reference/parserMemberAccessorDeclaration17.js index 62f0596139ba2..6f32a1dfc8cea 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration17.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration17.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration17.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration18.js b/tests/baselines/reference/parserMemberAccessorDeclaration18.js index 9b5ba3ef88ea6..39fd2b2cb76e1 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration18.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration18.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration18.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration2.js b/tests/baselines/reference/parserMemberAccessorDeclaration2.js index 324691cb75233..6ccd043fad209 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration2.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration2.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration3.js b/tests/baselines/reference/parserMemberAccessorDeclaration3.js index f3e358c4058f6..36db6b9bfd789 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration3.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration3.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration3.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration4.js b/tests/baselines/reference/parserMemberAccessorDeclaration4.js index a85668c9c530e..72025db3fb101 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration4.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration4.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration4.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration5.js b/tests/baselines/reference/parserMemberAccessorDeclaration5.js index d6bea75dab844..d8b43059d367c 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration5.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration5.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration6.js b/tests/baselines/reference/parserMemberAccessorDeclaration6.js index 9f7c622dfe3db..edd610e53f25c 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration6.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration6.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration6.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration7.js b/tests/baselines/reference/parserMemberAccessorDeclaration7.js index 36aaea7774ba1..96f2114f380e2 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration7.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration7.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration7.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration8.js b/tests/baselines/reference/parserMemberAccessorDeclaration8.js index 91c894c09e283..e4d5e11a59fac 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration8.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration8.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration8.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberAccessorDeclaration9.js b/tests/baselines/reference/parserMemberAccessorDeclaration9.js index 7342ee58c6878..b0ef56aa95320 100644 --- a/tests/baselines/reference/parserMemberAccessorDeclaration9.js +++ b/tests/baselines/reference/parserMemberAccessorDeclaration9.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberAccessorDeclaration9.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberFunctionDeclaration1.js b/tests/baselines/reference/parserMemberFunctionDeclaration1.js index a194c93c03856..a997fccc837b9 100644 --- a/tests/baselines/reference/parserMemberFunctionDeclaration1.js +++ b/tests/baselines/reference/parserMemberFunctionDeclaration1.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberFunctionDeclaration1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberFunctionDeclaration2.js b/tests/baselines/reference/parserMemberFunctionDeclaration2.js index 2726093e0526a..b672ca3e60039 100644 --- a/tests/baselines/reference/parserMemberFunctionDeclaration2.js +++ b/tests/baselines/reference/parserMemberFunctionDeclaration2.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberFunctionDeclaration2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberFunctionDeclaration3.js b/tests/baselines/reference/parserMemberFunctionDeclaration3.js index 329bd924a17bd..ef944d5fef2ae 100644 --- a/tests/baselines/reference/parserMemberFunctionDeclaration3.js +++ b/tests/baselines/reference/parserMemberFunctionDeclaration3.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberFunctionDeclaration3.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberFunctionDeclaration4.js b/tests/baselines/reference/parserMemberFunctionDeclaration4.js index 66bb6932f4848..44c14db469996 100644 --- a/tests/baselines/reference/parserMemberFunctionDeclaration4.js +++ b/tests/baselines/reference/parserMemberFunctionDeclaration4.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberFunctionDeclaration4.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberFunctionDeclaration5.js b/tests/baselines/reference/parserMemberFunctionDeclaration5.js index af867d9b4d6ce..5a9cac4943c10 100644 --- a/tests/baselines/reference/parserMemberFunctionDeclaration5.js +++ b/tests/baselines/reference/parserMemberFunctionDeclaration5.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberFunctionDeclaration5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberFunctionDeclarationAmbiguities1.js b/tests/baselines/reference/parserMemberFunctionDeclarationAmbiguities1.js index 4426e8a242dfb..169ab4ee975b9 100644 --- a/tests/baselines/reference/parserMemberFunctionDeclarationAmbiguities1.js +++ b/tests/baselines/reference/parserMemberFunctionDeclarationAmbiguities1.js @@ -16,6 +16,7 @@ class C { } //// [parserMemberFunctionDeclarationAmbiguities1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberVariableDeclaration1.js b/tests/baselines/reference/parserMemberVariableDeclaration1.js index 086174a9bd54f..f0ab932a31588 100644 --- a/tests/baselines/reference/parserMemberVariableDeclaration1.js +++ b/tests/baselines/reference/parserMemberVariableDeclaration1.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberVariableDeclaration1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberVariableDeclaration2.js b/tests/baselines/reference/parserMemberVariableDeclaration2.js index 6e1f7394119d5..f0bed61d1c501 100644 --- a/tests/baselines/reference/parserMemberVariableDeclaration2.js +++ b/tests/baselines/reference/parserMemberVariableDeclaration2.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberVariableDeclaration2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberVariableDeclaration3.js b/tests/baselines/reference/parserMemberVariableDeclaration3.js index ba1dfd761795c..ea02dcede9db1 100644 --- a/tests/baselines/reference/parserMemberVariableDeclaration3.js +++ b/tests/baselines/reference/parserMemberVariableDeclaration3.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberVariableDeclaration3.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberVariableDeclaration4.js b/tests/baselines/reference/parserMemberVariableDeclaration4.js index b44320a93e7cd..19bb48db588ba 100644 --- a/tests/baselines/reference/parserMemberVariableDeclaration4.js +++ b/tests/baselines/reference/parserMemberVariableDeclaration4.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberVariableDeclaration4.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMemberVariableDeclaration5.js b/tests/baselines/reference/parserMemberVariableDeclaration5.js index 73959f757b911..ccd4b32b24be0 100644 --- a/tests/baselines/reference/parserMemberVariableDeclaration5.js +++ b/tests/baselines/reference/parserMemberVariableDeclaration5.js @@ -6,6 +6,7 @@ class C { } //// [parserMemberVariableDeclaration5.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMethodSignature1.js b/tests/baselines/reference/parserMethodSignature1.js index 1003943226522..c4bfd81b417b2 100644 --- a/tests/baselines/reference/parserMethodSignature1.js +++ b/tests/baselines/reference/parserMethodSignature1.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature1.js] +"use strict"; diff --git a/tests/baselines/reference/parserMethodSignature10.js b/tests/baselines/reference/parserMethodSignature10.js index c4c04351c777b..872af6271fe56 100644 --- a/tests/baselines/reference/parserMethodSignature10.js +++ b/tests/baselines/reference/parserMethodSignature10.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature10.js] +"use strict"; diff --git a/tests/baselines/reference/parserMethodSignature11.js b/tests/baselines/reference/parserMethodSignature11.js index 22d919428429c..c76ff71e79772 100644 --- a/tests/baselines/reference/parserMethodSignature11.js +++ b/tests/baselines/reference/parserMethodSignature11.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature11.js] +"use strict"; diff --git a/tests/baselines/reference/parserMethodSignature12.js b/tests/baselines/reference/parserMethodSignature12.js index 4c72aadc38ccc..3185fcdcac805 100644 --- a/tests/baselines/reference/parserMethodSignature12.js +++ b/tests/baselines/reference/parserMethodSignature12.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature12.js] +"use strict"; diff --git a/tests/baselines/reference/parserMethodSignature2.js b/tests/baselines/reference/parserMethodSignature2.js index 3b8d6daa5b865..5c94e1838d31a 100644 --- a/tests/baselines/reference/parserMethodSignature2.js +++ b/tests/baselines/reference/parserMethodSignature2.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature2.js] +"use strict"; diff --git a/tests/baselines/reference/parserMethodSignature3.js b/tests/baselines/reference/parserMethodSignature3.js index 17bbec24d4173..bbc4dda313fef 100644 --- a/tests/baselines/reference/parserMethodSignature3.js +++ b/tests/baselines/reference/parserMethodSignature3.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature3.js] +"use strict"; diff --git a/tests/baselines/reference/parserMethodSignature4.js b/tests/baselines/reference/parserMethodSignature4.js index e9768dced2c32..9f4df16feade9 100644 --- a/tests/baselines/reference/parserMethodSignature4.js +++ b/tests/baselines/reference/parserMethodSignature4.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature4.js] +"use strict"; diff --git a/tests/baselines/reference/parserMethodSignature5.js b/tests/baselines/reference/parserMethodSignature5.js index 7fbb68238d8e8..0c726f4b39ef2 100644 --- a/tests/baselines/reference/parserMethodSignature5.js +++ b/tests/baselines/reference/parserMethodSignature5.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature5.js] +"use strict"; diff --git a/tests/baselines/reference/parserMethodSignature6.js b/tests/baselines/reference/parserMethodSignature6.js index 718c05a84da39..23e55141185fb 100644 --- a/tests/baselines/reference/parserMethodSignature6.js +++ b/tests/baselines/reference/parserMethodSignature6.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature6.js] +"use strict"; diff --git a/tests/baselines/reference/parserMethodSignature7.js b/tests/baselines/reference/parserMethodSignature7.js index e94f8fb3edfbf..e850d6994ad6e 100644 --- a/tests/baselines/reference/parserMethodSignature7.js +++ b/tests/baselines/reference/parserMethodSignature7.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature7.js] +"use strict"; diff --git a/tests/baselines/reference/parserMethodSignature8.js b/tests/baselines/reference/parserMethodSignature8.js index 8b0be3048c911..a53c85d350a8e 100644 --- a/tests/baselines/reference/parserMethodSignature8.js +++ b/tests/baselines/reference/parserMethodSignature8.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature8.js] +"use strict"; diff --git a/tests/baselines/reference/parserMethodSignature9.js b/tests/baselines/reference/parserMethodSignature9.js index d017b40710f4b..bcf2d2ae29396 100644 --- a/tests/baselines/reference/parserMethodSignature9.js +++ b/tests/baselines/reference/parserMethodSignature9.js @@ -6,3 +6,4 @@ interface I { } //// [parserMethodSignature9.js] +"use strict"; diff --git a/tests/baselines/reference/parserMissingLambdaOpenBrace1.js b/tests/baselines/reference/parserMissingLambdaOpenBrace1.js index 83560ccdc7858..a79140fbeef6d 100644 --- a/tests/baselines/reference/parserMissingLambdaOpenBrace1.js +++ b/tests/baselines/reference/parserMissingLambdaOpenBrace1.js @@ -11,6 +11,7 @@ class C { } //// [parserMissingLambdaOpenBrace1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserMissingToken1.js b/tests/baselines/reference/parserMissingToken1.js index 7cc864f9cc6f9..1db19fb255e2a 100644 --- a/tests/baselines/reference/parserMissingToken1.js +++ b/tests/baselines/reference/parserMissingToken1.js @@ -4,6 +4,7 @@ a / finally //// [parserMissingToken1.js] +"use strict"; a / ; try { } finally { } diff --git a/tests/baselines/reference/parserMissingToken2.js b/tests/baselines/reference/parserMissingToken2.js index 1faf9ad4971f9..95f3cf75aebd7 100644 --- a/tests/baselines/reference/parserMissingToken2.js +++ b/tests/baselines/reference/parserMissingToken2.js @@ -4,4 +4,5 @@ / b; //// [parserMissingToken2.js] +"use strict"; / b; diff --git a/tests/baselines/reference/parserModifierOnPropertySignature1.js b/tests/baselines/reference/parserModifierOnPropertySignature1.js index b427c8d04c7a1..367a0b8ddd11f 100644 --- a/tests/baselines/reference/parserModifierOnPropertySignature1.js +++ b/tests/baselines/reference/parserModifierOnPropertySignature1.js @@ -7,3 +7,4 @@ interface Foo{ //// [parserModifierOnPropertySignature1.js] +"use strict"; diff --git a/tests/baselines/reference/parserModifierOnPropertySignature2.js b/tests/baselines/reference/parserModifierOnPropertySignature2.js index 51b23812e5581..510b86c9dbe1a 100644 --- a/tests/baselines/reference/parserModifierOnPropertySignature2.js +++ b/tests/baselines/reference/parserModifierOnPropertySignature2.js @@ -8,3 +8,4 @@ interface Foo{ //// [parserModifierOnPropertySignature2.js] +"use strict"; diff --git a/tests/baselines/reference/parserModifierOnStatementInBlock2.js b/tests/baselines/reference/parserModifierOnStatementInBlock2.js index 5b648b3daa816..ec16b9095036a 100644 --- a/tests/baselines/reference/parserModifierOnStatementInBlock2.js +++ b/tests/baselines/reference/parserModifierOnStatementInBlock2.js @@ -7,5 +7,6 @@ //// [parserModifierOnStatementInBlock2.js] +"use strict"; { } diff --git a/tests/baselines/reference/parserModifierOnStatementInBlock4.errors.txt b/tests/baselines/reference/parserModifierOnStatementInBlock4.errors.txt index dc3470994ad5a..c647dc015e9f4 100644 --- a/tests/baselines/reference/parserModifierOnStatementInBlock4.errors.txt +++ b/tests/baselines/reference/parserModifierOnStatementInBlock4.errors.txt @@ -1,11 +1,14 @@ parserModifierOnStatementInBlock4.ts(2,4): error TS1184: Modifiers cannot appear here. +parserModifierOnStatementInBlock4.ts(2,20): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. -==== parserModifierOnStatementInBlock4.ts (1 errors) ==== +==== parserModifierOnStatementInBlock4.ts (2 errors) ==== { export function bar() { ~~~~~~ !!! error TS1184: Modifiers cannot appear here. + ~~~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. } } \ No newline at end of file diff --git a/tests/baselines/reference/parserModifierOnStatementInBlock4.js b/tests/baselines/reference/parserModifierOnStatementInBlock4.js index 22c983f3d6f07..2415c3e5a2525 100644 --- a/tests/baselines/reference/parserModifierOnStatementInBlock4.js +++ b/tests/baselines/reference/parserModifierOnStatementInBlock4.js @@ -8,6 +8,7 @@ //// [parserModifierOnStatementInBlock4.js] +"use strict"; { export function bar() { } diff --git a/tests/baselines/reference/parserModuleDeclaration1.js b/tests/baselines/reference/parserModuleDeclaration1.js index 4bb4a5bcc081f..63f95a2472633 100644 --- a/tests/baselines/reference/parserModuleDeclaration1.js +++ b/tests/baselines/reference/parserModuleDeclaration1.js @@ -5,3 +5,4 @@ module "Foo" { } //// [parserModuleDeclaration1.js] +"use strict"; diff --git a/tests/baselines/reference/parserModuleDeclaration10.js b/tests/baselines/reference/parserModuleDeclaration10.js index e67022bb2b299..d6115254ac03a 100644 --- a/tests/baselines/reference/parserModuleDeclaration10.js +++ b/tests/baselines/reference/parserModuleDeclaration10.js @@ -6,3 +6,4 @@ function next(): string; //// [parserModuleDeclaration10.js] +"use strict"; diff --git a/tests/baselines/reference/parserModuleDeclaration11.js b/tests/baselines/reference/parserModuleDeclaration11.js index 8dcbdc0e85f42..60c6b01285718 100644 --- a/tests/baselines/reference/parserModuleDeclaration11.js +++ b/tests/baselines/reference/parserModuleDeclaration11.js @@ -10,5 +10,6 @@ var x: string.X; //// [parserModuleDeclaration11.js] +"use strict"; string.foo("abc"); var x; diff --git a/tests/baselines/reference/parserModuleDeclaration12.js b/tests/baselines/reference/parserModuleDeclaration12.js index 95079ae8afd6a..43699f28198c5 100644 --- a/tests/baselines/reference/parserModuleDeclaration12.js +++ b/tests/baselines/reference/parserModuleDeclaration12.js @@ -5,3 +5,4 @@ namespace A.string { } //// [parserModuleDeclaration12.js] +"use strict"; diff --git a/tests/baselines/reference/parserModuleDeclaration2.js b/tests/baselines/reference/parserModuleDeclaration2.js index 5473b8af1a977..49648251f1d2e 100644 --- a/tests/baselines/reference/parserModuleDeclaration2.js +++ b/tests/baselines/reference/parserModuleDeclaration2.js @@ -5,3 +5,4 @@ declare module "Foo" { } //// [parserModuleDeclaration2.js] +"use strict"; diff --git a/tests/baselines/reference/parserModuleDeclaration3.js b/tests/baselines/reference/parserModuleDeclaration3.js index 3c5c593e04bcb..afe02dbeae698 100644 --- a/tests/baselines/reference/parserModuleDeclaration3.js +++ b/tests/baselines/reference/parserModuleDeclaration3.js @@ -7,3 +7,4 @@ declare namespace M { } //// [parserModuleDeclaration3.js] +"use strict"; diff --git a/tests/baselines/reference/parserModuleDeclaration4.js b/tests/baselines/reference/parserModuleDeclaration4.js index 5ad0bc3008f51..3019dfd34d2cb 100644 --- a/tests/baselines/reference/parserModuleDeclaration4.js +++ b/tests/baselines/reference/parserModuleDeclaration4.js @@ -9,3 +9,4 @@ namespace M { } //// [parserModuleDeclaration4.js] +"use strict"; diff --git a/tests/baselines/reference/parserModuleDeclaration5.js b/tests/baselines/reference/parserModuleDeclaration5.js index b1c89a6e94c0b..2fa6701f64fbb 100644 --- a/tests/baselines/reference/parserModuleDeclaration5.js +++ b/tests/baselines/reference/parserModuleDeclaration5.js @@ -9,3 +9,4 @@ namespace M1 { } //// [parserModuleDeclaration5.js] +"use strict"; diff --git a/tests/baselines/reference/parserModuleDeclaration6.js b/tests/baselines/reference/parserModuleDeclaration6.js index edec18ac47e91..48a36c68dc770 100644 --- a/tests/baselines/reference/parserModuleDeclaration6.js +++ b/tests/baselines/reference/parserModuleDeclaration6.js @@ -5,3 +5,4 @@ namespace number { } //// [parserModuleDeclaration6.js] +"use strict"; diff --git a/tests/baselines/reference/parserModuleDeclaration7.js b/tests/baselines/reference/parserModuleDeclaration7.js index ba8f0e443ea1a..d6a0088a848c2 100644 --- a/tests/baselines/reference/parserModuleDeclaration7.js +++ b/tests/baselines/reference/parserModuleDeclaration7.js @@ -5,3 +5,4 @@ namespace number.a { } //// [parserModuleDeclaration7.js] +"use strict"; diff --git a/tests/baselines/reference/parserModuleDeclaration8.js b/tests/baselines/reference/parserModuleDeclaration8.js index d59605ecdf87f..238b2c2369514 100644 --- a/tests/baselines/reference/parserModuleDeclaration8.js +++ b/tests/baselines/reference/parserModuleDeclaration8.js @@ -5,3 +5,4 @@ namespace a.number { } //// [parserModuleDeclaration8.js] +"use strict"; diff --git a/tests/baselines/reference/parserModuleDeclaration9.js b/tests/baselines/reference/parserModuleDeclaration9.js index 9330968ca8498..ed8cc4395aa4f 100644 --- a/tests/baselines/reference/parserModuleDeclaration9.js +++ b/tests/baselines/reference/parserModuleDeclaration9.js @@ -5,3 +5,4 @@ namespace a.number.b { } //// [parserModuleDeclaration9.js] +"use strict"; diff --git a/tests/baselines/reference/parserNoASIOnCallAfterFunctionExpression1.js b/tests/baselines/reference/parserNoASIOnCallAfterFunctionExpression1.js index dceba6e037753..f41927493cf75 100644 --- a/tests/baselines/reference/parserNoASIOnCallAfterFunctionExpression1.js +++ b/tests/baselines/reference/parserNoASIOnCallAfterFunctionExpression1.js @@ -6,4 +6,5 @@ var x = function () { } //// [parserNoASIOnCallAfterFunctionExpression1.js] +"use strict"; var x = function () { }(window).foo; diff --git a/tests/baselines/reference/parserNotHexLiteral1.js b/tests/baselines/reference/parserNotHexLiteral1.js index aa8e75cde1990..60b94e879eb75 100644 --- a/tests/baselines/reference/parserNotHexLiteral1.js +++ b/tests/baselines/reference/parserNotHexLiteral1.js @@ -9,6 +9,7 @@ console.info (x.e0); //// [parserNotHexLiteral1.js] +"use strict"; var x = { e0: 'cat', x0: 'dog' }; console.info(x.x0); // tsc dies on this next line with "bug.ts (5,16): Expected ')'" diff --git a/tests/baselines/reference/parserNotRegex1.js b/tests/baselines/reference/parserNotRegex1.js index 59d2372635b80..ac3148a7168bb 100644 --- a/tests/baselines/reference/parserNotRegex1.js +++ b/tests/baselines/reference/parserNotRegex1.js @@ -7,6 +7,7 @@ } //// [parserNotRegex1.js] +"use strict"; if (a.indexOf(-(4 / 3))) // We should not get a regex here because of the / in the comment. { return true; diff --git a/tests/baselines/reference/parserNotRegex2.js b/tests/baselines/reference/parserNotRegex2.js index afa2b6dde9dd0..13277464d4c10 100644 --- a/tests/baselines/reference/parserNotRegex2.js +++ b/tests/baselines/reference/parserNotRegex2.js @@ -13,5 +13,6 @@ B( //// [parserNotRegex2.js] +"use strict"; var x = (A / 2); B(C(), function () { }, function () { }); diff --git a/tests/baselines/reference/parserObjectCreation1.js b/tests/baselines/reference/parserObjectCreation1.js index 5b434da510242..512f3c500fd03 100644 --- a/tests/baselines/reference/parserObjectCreation1.js +++ b/tests/baselines/reference/parserObjectCreation1.js @@ -4,4 +4,5 @@ var autoToken: number[] = new Array(1); //// [parserObjectCreation1.js] +"use strict"; var autoToken = new Array(1); diff --git a/tests/baselines/reference/parserObjectCreation2.js b/tests/baselines/reference/parserObjectCreation2.js index bbfb38dc1206b..2786e45bc7b91 100644 --- a/tests/baselines/reference/parserObjectCreation2.js +++ b/tests/baselines/reference/parserObjectCreation2.js @@ -4,4 +4,5 @@ new new Foo()() //// [parserObjectCreation2.js] +"use strict"; new new Foo()(); diff --git a/tests/baselines/reference/parserObjectCreationArrayLiteral1.js b/tests/baselines/reference/parserObjectCreationArrayLiteral1.js index 6ab7438fd1a84..ebb74f847a34a 100644 --- a/tests/baselines/reference/parserObjectCreationArrayLiteral1.js +++ b/tests/baselines/reference/parserObjectCreationArrayLiteral1.js @@ -4,4 +4,5 @@ new Foo[]; //// [parserObjectCreationArrayLiteral1.js] +"use strict"; new Foo[]; diff --git a/tests/baselines/reference/parserObjectCreationArrayLiteral2.js b/tests/baselines/reference/parserObjectCreationArrayLiteral2.js index d60c126eb71d5..15c1792d4295e 100644 --- a/tests/baselines/reference/parserObjectCreationArrayLiteral2.js +++ b/tests/baselines/reference/parserObjectCreationArrayLiteral2.js @@ -4,4 +4,5 @@ new Foo[1]; //// [parserObjectCreationArrayLiteral2.js] +"use strict"; new Foo[1]; diff --git a/tests/baselines/reference/parserObjectCreationArrayLiteral3.js b/tests/baselines/reference/parserObjectCreationArrayLiteral3.js index e7bd8b4640f6d..17d67f8660860 100644 --- a/tests/baselines/reference/parserObjectCreationArrayLiteral3.js +++ b/tests/baselines/reference/parserObjectCreationArrayLiteral3.js @@ -4,4 +4,5 @@ new Foo[](); //// [parserObjectCreationArrayLiteral3.js] +"use strict"; new Foo[](); diff --git a/tests/baselines/reference/parserObjectCreationArrayLiteral4.js b/tests/baselines/reference/parserObjectCreationArrayLiteral4.js index 3141347321225..e1cdfbd0d4c59 100644 --- a/tests/baselines/reference/parserObjectCreationArrayLiteral4.js +++ b/tests/baselines/reference/parserObjectCreationArrayLiteral4.js @@ -4,4 +4,5 @@ new Foo[1](); //// [parserObjectCreationArrayLiteral4.js] +"use strict"; new Foo[1](); diff --git a/tests/baselines/reference/parserObjectLiterals1.js b/tests/baselines/reference/parserObjectLiterals1.js index 43765a37e966f..7f043dda4dec2 100644 --- a/tests/baselines/reference/parserObjectLiterals1.js +++ b/tests/baselines/reference/parserObjectLiterals1.js @@ -4,4 +4,5 @@ var v = { a: 1, b: 2 }; //// [parserObjectLiterals1.js] +"use strict"; var v = { a: 1, b: 2 }; diff --git a/tests/baselines/reference/parserObjectType1.js b/tests/baselines/reference/parserObjectType1.js index 665b272b03504..6ec43f03c178c 100644 --- a/tests/baselines/reference/parserObjectType1.js +++ b/tests/baselines/reference/parserObjectType1.js @@ -4,4 +4,5 @@ var v: {}; //// [parserObjectType1.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserObjectType2.js b/tests/baselines/reference/parserObjectType2.js index d4133f10642c5..363301e4405a9 100644 --- a/tests/baselines/reference/parserObjectType2.js +++ b/tests/baselines/reference/parserObjectType2.js @@ -4,4 +4,5 @@ var v: { x: number }; //// [parserObjectType2.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserObjectType3.js b/tests/baselines/reference/parserObjectType3.js index 6291a9337de39..391740eaea995 100644 --- a/tests/baselines/reference/parserObjectType3.js +++ b/tests/baselines/reference/parserObjectType3.js @@ -7,4 +7,5 @@ var v: { }; //// [parserObjectType3.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserObjectType4.js b/tests/baselines/reference/parserObjectType4.js index 8397f945c1154..73c861499d237 100644 --- a/tests/baselines/reference/parserObjectType4.js +++ b/tests/baselines/reference/parserObjectType4.js @@ -7,4 +7,5 @@ var v: { }; //// [parserObjectType4.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserObjectType5.js b/tests/baselines/reference/parserObjectType5.js index 94bbff4818b2c..d3332cf4e6f4b 100644 --- a/tests/baselines/reference/parserObjectType5.js +++ b/tests/baselines/reference/parserObjectType5.js @@ -7,4 +7,5 @@ var v: { }; //// [parserObjectType5.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserObjectType6.js b/tests/baselines/reference/parserObjectType6.js index 7817928fc379d..3c683c76b3830 100644 --- a/tests/baselines/reference/parserObjectType6.js +++ b/tests/baselines/reference/parserObjectType6.js @@ -7,4 +7,5 @@ var v: { }; //// [parserObjectType6.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserOptionalTypeMembers1.js b/tests/baselines/reference/parserOptionalTypeMembers1.js index 10a27d8528a82..680786fbc7e96 100644 --- a/tests/baselines/reference/parserOptionalTypeMembers1.js +++ b/tests/baselines/reference/parserOptionalTypeMembers1.js @@ -11,3 +11,4 @@ interface PropertyDescriptor2 { } //// [parserOptionalTypeMembers1.js] +"use strict"; diff --git a/tests/baselines/reference/parserOverloadOnConstants1.js b/tests/baselines/reference/parserOverloadOnConstants1.js index 3582982398029..a0926e378b6ee 100644 --- a/tests/baselines/reference/parserOverloadOnConstants1.js +++ b/tests/baselines/reference/parserOverloadOnConstants1.js @@ -9,3 +9,4 @@ interface Document { } //// [parserOverloadOnConstants1.js] +"use strict"; diff --git a/tests/baselines/reference/parserParameterList1.js b/tests/baselines/reference/parserParameterList1.js index 188c5a5d2334d..e846750e1f06a 100644 --- a/tests/baselines/reference/parserParameterList1.js +++ b/tests/baselines/reference/parserParameterList1.js @@ -6,6 +6,7 @@ class C { } //// [parserParameterList1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserParameterList10.js b/tests/baselines/reference/parserParameterList10.js index ce2569225f5f4..d16eb187521f6 100644 --- a/tests/baselines/reference/parserParameterList10.js +++ b/tests/baselines/reference/parserParameterList10.js @@ -6,6 +6,7 @@ class C { } //// [parserParameterList10.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserParameterList11.js b/tests/baselines/reference/parserParameterList11.js index caa53f74f1a1a..cec86c6d97bf4 100644 --- a/tests/baselines/reference/parserParameterList11.js +++ b/tests/baselines/reference/parserParameterList11.js @@ -4,6 +4,7 @@ (...arg?) => 102; //// [parserParameterList11.js] +"use strict"; (function () { var arg = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/parserParameterList12.js b/tests/baselines/reference/parserParameterList12.js index 79c43fc7ed600..1ae6589ac5c3b 100644 --- a/tests/baselines/reference/parserParameterList12.js +++ b/tests/baselines/reference/parserParameterList12.js @@ -5,5 +5,6 @@ function F(a,) { } //// [parserParameterList12.js] +"use strict"; function F(a) { } diff --git a/tests/baselines/reference/parserParameterList13.js b/tests/baselines/reference/parserParameterList13.js index 3be2e2bb11947..8ad401ae46167 100644 --- a/tests/baselines/reference/parserParameterList13.js +++ b/tests/baselines/reference/parserParameterList13.js @@ -6,3 +6,4 @@ interface I { } //// [parserParameterList13.js] +"use strict"; diff --git a/tests/baselines/reference/parserParameterList14.js b/tests/baselines/reference/parserParameterList14.js index d8d3dd96de143..e6d2268608136 100644 --- a/tests/baselines/reference/parserParameterList14.js +++ b/tests/baselines/reference/parserParameterList14.js @@ -6,3 +6,4 @@ declare class C { } //// [parserParameterList14.js] +"use strict"; diff --git a/tests/baselines/reference/parserParameterList15.js b/tests/baselines/reference/parserParameterList15.js index 9cb3497c815c8..1f7f05ee28d2a 100644 --- a/tests/baselines/reference/parserParameterList15.js +++ b/tests/baselines/reference/parserParameterList15.js @@ -5,4 +5,5 @@ function foo(a = 4); function foo(a, b) {} //// [parserParameterList15.js] +"use strict"; function foo(a, b) { } diff --git a/tests/baselines/reference/parserParameterList16.js b/tests/baselines/reference/parserParameterList16.js index da16792b23ab0..04b0e943d54f5 100644 --- a/tests/baselines/reference/parserParameterList16.js +++ b/tests/baselines/reference/parserParameterList16.js @@ -7,6 +7,7 @@ class C { } //// [parserParameterList16.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserParameterList17.js b/tests/baselines/reference/parserParameterList17.js index 492b50715dbfc..807304a1b4fad 100644 --- a/tests/baselines/reference/parserParameterList17.js +++ b/tests/baselines/reference/parserParameterList17.js @@ -7,6 +7,7 @@ class C { } //// [parserParameterList17.js] +"use strict"; var C = /** @class */ (function () { function C(a, b) { } diff --git a/tests/baselines/reference/parserParameterList2.js b/tests/baselines/reference/parserParameterList2.js index 6fdf9d916bf63..ae4c17052043d 100644 --- a/tests/baselines/reference/parserParameterList2.js +++ b/tests/baselines/reference/parserParameterList2.js @@ -6,6 +6,7 @@ class C { } //// [parserParameterList2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserParameterList3.js b/tests/baselines/reference/parserParameterList3.js index a47b7d2bfdf90..1fceb29268f62 100644 --- a/tests/baselines/reference/parserParameterList3.js +++ b/tests/baselines/reference/parserParameterList3.js @@ -6,6 +6,7 @@ class C { } //// [parserParameterList3.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserParameterList4.js b/tests/baselines/reference/parserParameterList4.js index 966370f36b501..dc24082eb66d3 100644 --- a/tests/baselines/reference/parserParameterList4.js +++ b/tests/baselines/reference/parserParameterList4.js @@ -5,5 +5,6 @@ function F(public A) { } //// [parserParameterList4.js] +"use strict"; function F(A) { } diff --git a/tests/baselines/reference/parserParameterList5.js b/tests/baselines/reference/parserParameterList5.js index 8eb2fa3a69143..f94080e3c0958 100644 --- a/tests/baselines/reference/parserParameterList5.js +++ b/tests/baselines/reference/parserParameterList5.js @@ -5,5 +5,6 @@ function A(): (public B) => C { } //// [parserParameterList5.js] +"use strict"; function A() { } diff --git a/tests/baselines/reference/parserParameterList6.js b/tests/baselines/reference/parserParameterList6.js index 5627375b3401f..afb9994a4a873 100644 --- a/tests/baselines/reference/parserParameterList6.js +++ b/tests/baselines/reference/parserParameterList6.js @@ -7,6 +7,7 @@ class C { } //// [parserParameterList6.js] +"use strict"; var C = /** @class */ (function () { function C(C) { } diff --git a/tests/baselines/reference/parserParameterList7.js b/tests/baselines/reference/parserParameterList7.js index f6a450ed2feab..f531215941daf 100644 --- a/tests/baselines/reference/parserParameterList7.js +++ b/tests/baselines/reference/parserParameterList7.js @@ -8,6 +8,7 @@ class C1 { } //// [parserParameterList7.js] +"use strict"; var C1 = /** @class */ (function () { function C1(p3) { this.p3 = p3; diff --git a/tests/baselines/reference/parserParameterList8.js b/tests/baselines/reference/parserParameterList8.js index b59515f3abc87..7e15c7a74f0ec 100644 --- a/tests/baselines/reference/parserParameterList8.js +++ b/tests/baselines/reference/parserParameterList8.js @@ -8,3 +8,4 @@ declare class C2 { } //// [parserParameterList8.js] +"use strict"; diff --git a/tests/baselines/reference/parserParameterList9.js b/tests/baselines/reference/parserParameterList9.js index 15fedd9624b58..ddcb27d6875c6 100644 --- a/tests/baselines/reference/parserParameterList9.js +++ b/tests/baselines/reference/parserParameterList9.js @@ -6,6 +6,7 @@ class C { } //// [parserParameterList9.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserParenthesizedVariableAndFunctionInTernary.js b/tests/baselines/reference/parserParenthesizedVariableAndFunctionInTernary.js index 9ba043c4e173b..5f366457ac413 100644 --- a/tests/baselines/reference/parserParenthesizedVariableAndFunctionInTernary.js +++ b/tests/baselines/reference/parserParenthesizedVariableAndFunctionInTernary.js @@ -6,5 +6,6 @@ const c = true ? (a) : function() {}; //// [parserParenthesizedVariableAndFunctionInTernary.js] +"use strict"; var a; var c = true ? (a) : function () { }; diff --git a/tests/baselines/reference/parserParenthesizedVariableAndParenthesizedFunctionInTernary.js b/tests/baselines/reference/parserParenthesizedVariableAndParenthesizedFunctionInTernary.js index 6f883a44f9626..78e9bb1a98e2f 100644 --- a/tests/baselines/reference/parserParenthesizedVariableAndParenthesizedFunctionInTernary.js +++ b/tests/baselines/reference/parserParenthesizedVariableAndParenthesizedFunctionInTernary.js @@ -7,6 +7,7 @@ const d = true ? (a) : ((function() {})); //// [parserParenthesizedVariableAndParenthesizedFunctionInTernary.js] +"use strict"; var a; var c = true ? (a) : (function () { }); var d = true ? (a) : ((function () { })); diff --git a/tests/baselines/reference/parserPostfixPostfixExpression1.js b/tests/baselines/reference/parserPostfixPostfixExpression1.js index e16f1a2ff6250..b17f1e4427e53 100644 --- a/tests/baselines/reference/parserPostfixPostfixExpression1.js +++ b/tests/baselines/reference/parserPostfixPostfixExpression1.js @@ -4,5 +4,6 @@ a++ ++; //// [parserPostfixPostfixExpression1.js] +"use strict"; a++; ++; diff --git a/tests/baselines/reference/parserPostfixUnaryExpression1.js b/tests/baselines/reference/parserPostfixUnaryExpression1.js index 5c2054b7a2339..e51dc0859e0fa 100644 --- a/tests/baselines/reference/parserPostfixUnaryExpression1.js +++ b/tests/baselines/reference/parserPostfixUnaryExpression1.js @@ -4,5 +4,6 @@ foo ++ ++; //// [parserPostfixUnaryExpression1.js] +"use strict"; foo++; ++; diff --git a/tests/baselines/reference/parserPrivateIdentifierInArrayAssignment.js b/tests/baselines/reference/parserPrivateIdentifierInArrayAssignment.js index 42266b317afbd..613010b05d819 100644 --- a/tests/baselines/reference/parserPrivateIdentifierInArrayAssignment.js +++ b/tests/baselines/reference/parserPrivateIdentifierInArrayAssignment.js @@ -5,4 +5,5 @@ //// [parserPrivateIdentifierInArrayAssignment.js] +"use strict"; #abc = [0]; diff --git a/tests/baselines/reference/parserPropertySignature1.js b/tests/baselines/reference/parserPropertySignature1.js index a7ebdc415f584..90371b6decada 100644 --- a/tests/baselines/reference/parserPropertySignature1.js +++ b/tests/baselines/reference/parserPropertySignature1.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature1.js] +"use strict"; diff --git a/tests/baselines/reference/parserPropertySignature10.js b/tests/baselines/reference/parserPropertySignature10.js index 3e4b3af69dd75..56c6f415fe1db 100644 --- a/tests/baselines/reference/parserPropertySignature10.js +++ b/tests/baselines/reference/parserPropertySignature10.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature10.js] +"use strict"; diff --git a/tests/baselines/reference/parserPropertySignature11.js b/tests/baselines/reference/parserPropertySignature11.js index 6ff954c59113b..7f9e5cbb13c3a 100644 --- a/tests/baselines/reference/parserPropertySignature11.js +++ b/tests/baselines/reference/parserPropertySignature11.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature11.js] +"use strict"; diff --git a/tests/baselines/reference/parserPropertySignature12.js b/tests/baselines/reference/parserPropertySignature12.js index ee8fcacfaee06..eada5fba46a73 100644 --- a/tests/baselines/reference/parserPropertySignature12.js +++ b/tests/baselines/reference/parserPropertySignature12.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature12.js] +"use strict"; diff --git a/tests/baselines/reference/parserPropertySignature2.js b/tests/baselines/reference/parserPropertySignature2.js index 64ac70ba47199..5ad64b1f81e93 100644 --- a/tests/baselines/reference/parserPropertySignature2.js +++ b/tests/baselines/reference/parserPropertySignature2.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature2.js] +"use strict"; diff --git a/tests/baselines/reference/parserPropertySignature3.js b/tests/baselines/reference/parserPropertySignature3.js index 36bfd6795c144..4559c9baa918c 100644 --- a/tests/baselines/reference/parserPropertySignature3.js +++ b/tests/baselines/reference/parserPropertySignature3.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature3.js] +"use strict"; diff --git a/tests/baselines/reference/parserPropertySignature4.js b/tests/baselines/reference/parserPropertySignature4.js index f592d8624d4ab..a2c5053c9f473 100644 --- a/tests/baselines/reference/parserPropertySignature4.js +++ b/tests/baselines/reference/parserPropertySignature4.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature4.js] +"use strict"; diff --git a/tests/baselines/reference/parserPropertySignature5.js b/tests/baselines/reference/parserPropertySignature5.js index 009e9dc4c2ba1..40533ae48796c 100644 --- a/tests/baselines/reference/parserPropertySignature5.js +++ b/tests/baselines/reference/parserPropertySignature5.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature5.js] +"use strict"; diff --git a/tests/baselines/reference/parserPropertySignature6.js b/tests/baselines/reference/parserPropertySignature6.js index 993897d42c3d5..8e749ac999397 100644 --- a/tests/baselines/reference/parserPropertySignature6.js +++ b/tests/baselines/reference/parserPropertySignature6.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature6.js] +"use strict"; diff --git a/tests/baselines/reference/parserPropertySignature7.js b/tests/baselines/reference/parserPropertySignature7.js index ee93da479284f..93583b5f7069f 100644 --- a/tests/baselines/reference/parserPropertySignature7.js +++ b/tests/baselines/reference/parserPropertySignature7.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature7.js] +"use strict"; diff --git a/tests/baselines/reference/parserPropertySignature8.js b/tests/baselines/reference/parserPropertySignature8.js index 6b64070b2d14a..a6e967dc41f9b 100644 --- a/tests/baselines/reference/parserPropertySignature8.js +++ b/tests/baselines/reference/parserPropertySignature8.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature8.js] +"use strict"; diff --git a/tests/baselines/reference/parserPropertySignature9.js b/tests/baselines/reference/parserPropertySignature9.js index 3ea24f5ae6689..7f52f4c4163d5 100644 --- a/tests/baselines/reference/parserPropertySignature9.js +++ b/tests/baselines/reference/parserPropertySignature9.js @@ -6,3 +6,4 @@ interface I { } //// [parserPropertySignature9.js] +"use strict"; diff --git a/tests/baselines/reference/parserPublicBreak1.js b/tests/baselines/reference/parserPublicBreak1.js index d6ef86235cf08..db343ad2e10d3 100644 --- a/tests/baselines/reference/parserPublicBreak1.js +++ b/tests/baselines/reference/parserPublicBreak1.js @@ -5,4 +5,5 @@ public break; //// [parserPublicBreak1.js] +"use strict"; break; diff --git a/tests/baselines/reference/parserRealSource1.js b/tests/baselines/reference/parserRealSource1.js index 7cc99562c974c..832cf752146d0 100644 --- a/tests/baselines/reference/parserRealSource1.js +++ b/tests/baselines/reference/parserRealSource1.js @@ -157,6 +157,7 @@ namespace TypeScript { //// [parserRealSource1.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRealSource10.js b/tests/baselines/reference/parserRealSource10.js index d00de70871183..6bfed85dca8ef 100644 --- a/tests/baselines/reference/parserRealSource10.js +++ b/tests/baselines/reference/parserRealSource10.js @@ -458,6 +458,7 @@ namespace TypeScript { } //// [parserRealSource10.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/parserRealSource11.js b/tests/baselines/reference/parserRealSource11.js index 87888efa04535..3886fbe2919ed 100644 --- a/tests/baselines/reference/parserRealSource11.js +++ b/tests/baselines/reference/parserRealSource11.js @@ -2367,6 +2367,7 @@ namespace TypeScript { } //// [parserRealSource11.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/parserRealSource12.js b/tests/baselines/reference/parserRealSource12.js index 509b0188c8ffe..a648b81f6d568 100644 --- a/tests/baselines/reference/parserRealSource12.js +++ b/tests/baselines/reference/parserRealSource12.js @@ -533,6 +533,7 @@ namespace TypeScript { } //// [parserRealSource12.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRealSource13.js b/tests/baselines/reference/parserRealSource13.js index f2b738f37b2ab..016709aedc5b1 100644 --- a/tests/baselines/reference/parserRealSource13.js +++ b/tests/baselines/reference/parserRealSource13.js @@ -149,6 +149,7 @@ namespace TypeScript.AstWalkerWithDetailCallback { } //// [parserRealSource13.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRealSource14.js b/tests/baselines/reference/parserRealSource14.js index cf66b1301f0cb..a15fb98e34f49 100644 --- a/tests/baselines/reference/parserRealSource14.js +++ b/tests/baselines/reference/parserRealSource14.js @@ -578,6 +578,7 @@ namespace TypeScript { //// [parserRealSource14.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRealSource2.js b/tests/baselines/reference/parserRealSource2.js index 99ef9562d7577..17966ca8c0c35 100644 --- a/tests/baselines/reference/parserRealSource2.js +++ b/tests/baselines/reference/parserRealSource2.js @@ -274,6 +274,7 @@ namespace TypeScript { } //// [parserRealSource2.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRealSource3.js b/tests/baselines/reference/parserRealSource3.js index f806337f34d98..4a5d1afb95a5f 100644 --- a/tests/baselines/reference/parserRealSource3.js +++ b/tests/baselines/reference/parserRealSource3.js @@ -122,6 +122,7 @@ namespace TypeScript { } //// [parserRealSource3.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRealSource4.js b/tests/baselines/reference/parserRealSource4.js index 90188c23e9d82..a9079f5b69327 100644 --- a/tests/baselines/reference/parserRealSource4.js +++ b/tests/baselines/reference/parserRealSource4.js @@ -298,6 +298,7 @@ namespace TypeScript { } //// [parserRealSource4.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRealSource5.js b/tests/baselines/reference/parserRealSource5.js index 6b6d7e645e63f..6eb4520aabea0 100644 --- a/tests/baselines/reference/parserRealSource5.js +++ b/tests/baselines/reference/parserRealSource5.js @@ -69,6 +69,7 @@ namespace TypeScript { } //// [parserRealSource5.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRealSource6.js b/tests/baselines/reference/parserRealSource6.js index 0fdc21406b3fd..1a80ef9681059 100644 --- a/tests/baselines/reference/parserRealSource6.js +++ b/tests/baselines/reference/parserRealSource6.js @@ -224,6 +224,7 @@ namespace TypeScript { } //// [parserRealSource6.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRealSource7.js b/tests/baselines/reference/parserRealSource7.js index b5d5981220927..b59c8eea8b7ac 100644 --- a/tests/baselines/reference/parserRealSource7.js +++ b/tests/baselines/reference/parserRealSource7.js @@ -836,6 +836,7 @@ namespace TypeScript { } //// [parserRealSource7.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRealSource8.js b/tests/baselines/reference/parserRealSource8.js index 8756d6291c7de..a673906ec58eb 100644 --- a/tests/baselines/reference/parserRealSource8.js +++ b/tests/baselines/reference/parserRealSource8.js @@ -469,6 +469,7 @@ namespace TypeScript { } //// [parserRealSource8.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRealSource9.js b/tests/baselines/reference/parserRealSource9.js index 0923fae8d1f59..7de5f1b5cea0b 100644 --- a/tests/baselines/reference/parserRealSource9.js +++ b/tests/baselines/reference/parserRealSource9.js @@ -212,6 +212,7 @@ namespace TypeScript { } //// [parserRealSource9.js] +"use strict"; // Copyright (c) Microsoft. All rights reserved. Licensed under the Apache License, Version 2.0. // See LICENSE.txt in the project root for complete license information. /// diff --git a/tests/baselines/reference/parserRegularExpression1.js b/tests/baselines/reference/parserRegularExpression1.js index 36902cfcf3706..33b08371d04c2 100644 --- a/tests/baselines/reference/parserRegularExpression1.js +++ b/tests/baselines/reference/parserRegularExpression1.js @@ -4,4 +4,5 @@ /(#?-?\d*\.\d\w*%?)|(@?#?[\w-?]+%?)/g; //// [parserRegularExpression1.js] +"use strict"; /(#?-?\d*\.\d\w*%?)|(@?#?[\w-?]+%?)/g; diff --git a/tests/baselines/reference/parserRegularExpression2.js b/tests/baselines/reference/parserRegularExpression2.js index 6534042f94e1d..e80653a8d1d5a 100644 --- a/tests/baselines/reference/parserRegularExpression2.js +++ b/tests/baselines/reference/parserRegularExpression2.js @@ -4,4 +4,5 @@ href.match(/:\/\/(.[^/]+)/)[1]; //// [parserRegularExpression2.js] +"use strict"; href.match(/:\/\/(.[^/]+)/)[1]; diff --git a/tests/baselines/reference/parserRegularExpression3.js b/tests/baselines/reference/parserRegularExpression3.js index c32b20dccfe5f..226b148aa4198 100644 --- a/tests/baselines/reference/parserRegularExpression3.js +++ b/tests/baselines/reference/parserRegularExpression3.js @@ -4,4 +4,5 @@ Foo(!/(\\?|&)adurl=/); //// [parserRegularExpression3.js] +"use strict"; Foo(!/(\\?|&)adurl=/); diff --git a/tests/baselines/reference/parserRegularExpression4.js b/tests/baselines/reference/parserRegularExpression4.js index 69826e2b881ec..98575e0c189f4 100644 --- a/tests/baselines/reference/parserRegularExpression4.js +++ b/tests/baselines/reference/parserRegularExpression4.js @@ -4,5 +4,6 @@ if (Ca.test(c.href) || Ba.test(c.href) && /(\\?|&)adurl=/.test(c.href) && !/(\\?|&)q=/.test(c.href)) / (\\ ? | & ) rct = j / .test(c.href) || (d += "&rct=j"), /(\\?|&)q=/.test(c.href) || (d += "&q=" + encodeURIComponent(W("q") || W("as_q") || A), d = d.substring(0, 1948 - c.href.length)), b = !0; //// [parserRegularExpression4.js] +"use strict"; if (Ca.test(c.href) || Ba.test(c.href) && /(\\?|&)adurl=/.test(c.href) && !/(\\?|&)q=/.test(c.href)) / (\\ ? | & ) rct = j /.test(c.href) || (d += "&rct=j"), /(\\?|&)q=/.test(c.href) || (d += "&q=" + encodeURIComponent(W("q") || W("as_q") || A), d = d.substring(0, 1948 - c.href.length)), b = !0; diff --git a/tests/baselines/reference/parserRegularExpression5.js b/tests/baselines/reference/parserRegularExpression5.js index 75e782d4092bb..2e97db22d1a65 100644 --- a/tests/baselines/reference/parserRegularExpression5.js +++ b/tests/baselines/reference/parserRegularExpression5.js @@ -4,5 +4,6 @@ if (a) / (\\ ? | & ) rct = j / .test(c.href); //// [parserRegularExpression5.js] +"use strict"; if (a) / (\\ ? | & ) rct = j /.test(c.href); diff --git a/tests/baselines/reference/parserRegularExpression6.js b/tests/baselines/reference/parserRegularExpression6.js index b6142fd267d3b..62b5261ce418c 100644 --- a/tests/baselines/reference/parserRegularExpression6.js +++ b/tests/baselines/reference/parserRegularExpression6.js @@ -6,5 +6,6 @@ a /= 1; // parse as infix a = /=/; // parse as regexp //// [parserRegularExpression6.js] +"use strict"; a /= 1; // parse as infix a = /=/; // parse as regexp diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity1.js b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity1.js index b7ad782cb2b07..9a82868d5f3f8 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity1.js +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity1.js @@ -5,5 +5,6 @@ /notregexp/a.foo(); //// [parserRegularExpressionDivideAmbiguity1.js] +"use strict"; 1 / notregexp / a.foo(); diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity2.js b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity2.js index 78c9cf3303e19..9342b4bf9fa38 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity2.js +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity2.js @@ -4,4 +4,5 @@ (1) /notregexp/a.foo(); //// [parserRegularExpressionDivideAmbiguity2.js] +"use strict"; (1) / notregexp / a.foo(); diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity3.js b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity3.js index 16e02e2dc1d2b..d9d8b668e6bb3 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity3.js +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity3.js @@ -4,5 +4,6 @@ if (1) /regexp/a.foo(); //// [parserRegularExpressionDivideAmbiguity3.js] +"use strict"; if (1) /regexp/a.foo(); diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity4.js b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity4.js index b8ec4550186b8..df3b7f59cc51d 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity4.js +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity4.js @@ -4,4 +4,5 @@ foo(/notregexp); //// [parserRegularExpressionDivideAmbiguity4.js] +"use strict"; foo(/notregexp); diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity5.js b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity5.js index 5a48d14226417..4b5c37a55de62 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity5.js +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity5.js @@ -4,4 +4,5 @@ model.rotate(0, rotateY * Math.PI / 180, rotateZ * Math.PI / 180); //// [parserRegularExpressionDivideAmbiguity5.js] +"use strict"; model.rotate(0, rotateY * Math.PI / 180, rotateZ * Math.PI / 180); diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity6.js b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity6.js index ef2f9d96a952b..8b6ff5ed72284 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity6.js +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity6.js @@ -25,6 +25,7 @@ function c255lsqr8h(a7, a6, a5, a4, a3, a2, a1, a0) { //// [parserRegularExpressionDivideAmbiguity6.js] +"use strict"; function c255lsqr8h(a7, a6, a5, a4, a3, a2, a1, a0) { var r = []; var v; diff --git a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity7.js b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity7.js index 003c1cd17dfb6..faaaa691c786e 100644 --- a/tests/baselines/reference/parserRegularExpressionDivideAmbiguity7.js +++ b/tests/baselines/reference/parserRegularExpressionDivideAmbiguity7.js @@ -6,5 +6,6 @@ //// [parserRegularExpressionDivideAmbiguity7.js] +"use strict"; (a / 8); { } diff --git a/tests/baselines/reference/parserReturnStatement1.js b/tests/baselines/reference/parserReturnStatement1.js index f33c9a3705e66..96d39cac4722f 100644 --- a/tests/baselines/reference/parserReturnStatement1.js +++ b/tests/baselines/reference/parserReturnStatement1.js @@ -4,4 +4,5 @@ return; //// [parserReturnStatement1.js] +"use strict"; return; diff --git a/tests/baselines/reference/parserReturnStatement2.js b/tests/baselines/reference/parserReturnStatement2.js index 98d270967a1ca..359b29af987f8 100644 --- a/tests/baselines/reference/parserReturnStatement2.js +++ b/tests/baselines/reference/parserReturnStatement2.js @@ -6,6 +6,7 @@ } //// [parserReturnStatement2.js] +"use strict"; { return; } diff --git a/tests/baselines/reference/parserReturnStatement3.js b/tests/baselines/reference/parserReturnStatement3.js index e56dde3cdd79b..d8dc57b7d2be3 100644 --- a/tests/baselines/reference/parserReturnStatement3.js +++ b/tests/baselines/reference/parserReturnStatement3.js @@ -6,6 +6,7 @@ function f() { } //// [parserReturnStatement3.js] +"use strict"; function f() { return; } diff --git a/tests/baselines/reference/parserReturnStatement4.js b/tests/baselines/reference/parserReturnStatement4.js index 720efeabf082f..8e042edc11663 100644 --- a/tests/baselines/reference/parserReturnStatement4.js +++ b/tests/baselines/reference/parserReturnStatement4.js @@ -4,4 +4,5 @@ var v = { get foo() { return } }; //// [parserReturnStatement4.js] +"use strict"; var v = { get foo() { return; } }; diff --git a/tests/baselines/reference/parserS12.11_A3_T4.js b/tests/baselines/reference/parserS12.11_A3_T4.js index 08df23bfa31c0..2c5b7b52b87ca 100644 --- a/tests/baselines/reference/parserS12.11_A3_T4.js +++ b/tests/baselines/reference/parserS12.11_A3_T4.js @@ -31,6 +31,7 @@ var x = SwitchTest(0); //// [parserS12.11_A3_T4.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/parserS7.2_A1.5_T2.js b/tests/baselines/reference/parserS7.2_A1.5_T2.js index e24de2441032f..1ab5eb53d5b94 100644 --- a/tests/baselines/reference/parserS7.2_A1.5_T2.js +++ b/tests/baselines/reference/parserS7.2_A1.5_T2.js @@ -27,6 +27,7 @@ if (x !== 1) { //// [parserS7.2_A1.5_T2.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/parserS7.3_A1.1_T2.js b/tests/baselines/reference/parserS7.3_A1.1_T2.js index ea6d671cbd88e..1a06c3e6d1ab2 100644 --- a/tests/baselines/reference/parserS7.3_A1.1_T2.js +++ b/tests/baselines/reference/parserS7.3_A1.1_T2.js @@ -23,6 +23,7 @@ if (x !== 1) { //// [parserS7.3_A1.1_T2.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/parserS7.6.1.1_A1.10.js b/tests/baselines/reference/parserS7.6.1.1_A1.10.js index cdd700c2450f8..3d59e2b942d0a 100644 --- a/tests/baselines/reference/parserS7.6.1.1_A1.10.js +++ b/tests/baselines/reference/parserS7.6.1.1_A1.10.js @@ -17,6 +17,7 @@ //// [parserS7.6.1.1_A1.10.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/parserS7.6_A4.2_T1.js b/tests/baselines/reference/parserS7.6_A4.2_T1.js index 79cb177a0f1af..a9ac7d7dcc4ee 100644 --- a/tests/baselines/reference/parserS7.6_A4.2_T1.js +++ b/tests/baselines/reference/parserS7.6_A4.2_T1.js @@ -148,6 +148,7 @@ if (Ё !== 1) { //// [parserS7.6_A4.2_T1.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/parserS7.9_A5.7_T1.js b/tests/baselines/reference/parserS7.9_A5.7_T1.js index 1f2d255d04793..501ce3855efd4 100644 --- a/tests/baselines/reference/parserS7.9_A5.7_T1.js +++ b/tests/baselines/reference/parserS7.9_A5.7_T1.js @@ -23,6 +23,7 @@ y //// [parserS7.9_A5.7_T1.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/parserSbp_7.9_A9_T3.js b/tests/baselines/reference/parserSbp_7.9_A9_T3.js index deec461853659..85dc07a6b70d2 100644 --- a/tests/baselines/reference/parserSbp_7.9_A9_T3.js +++ b/tests/baselines/reference/parserSbp_7.9_A9_T3.js @@ -19,6 +19,7 @@ do { //// [parserSbp_7.9_A9_T3.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/parserSetAccessorWithTypeAnnotation1.js b/tests/baselines/reference/parserSetAccessorWithTypeAnnotation1.js index e58318d599673..3a0ceb0ca2dbf 100644 --- a/tests/baselines/reference/parserSetAccessorWithTypeAnnotation1.js +++ b/tests/baselines/reference/parserSetAccessorWithTypeAnnotation1.js @@ -7,6 +7,7 @@ class C { } //// [parserSetAccessorWithTypeAnnotation1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserSetAccessorWithTypeParameters1.js b/tests/baselines/reference/parserSetAccessorWithTypeParameters1.js index d876e1c15ac5c..3267c6c5320ab 100644 --- a/tests/baselines/reference/parserSetAccessorWithTypeParameters1.js +++ b/tests/baselines/reference/parserSetAccessorWithTypeParameters1.js @@ -6,6 +6,7 @@ class C { } //// [parserSetAccessorWithTypeParameters1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/parserShorthandPropertyAssignment1.js b/tests/baselines/reference/parserShorthandPropertyAssignment1.js index 72ea1d43bb919..f766c7393acd3 100644 --- a/tests/baselines/reference/parserShorthandPropertyAssignment1.js +++ b/tests/baselines/reference/parserShorthandPropertyAssignment1.js @@ -6,6 +6,7 @@ var name:any, id: any; foo({ name?, id? }); //// [parserShorthandPropertyAssignment1.js] +"use strict"; function foo(obj) { } var name, id; foo({ name: name, id: id }); diff --git a/tests/baselines/reference/parserShorthandPropertyAssignment2.js b/tests/baselines/reference/parserShorthandPropertyAssignment2.js index 79f1aed287ea4..df19d285090d4 100644 --- a/tests/baselines/reference/parserShorthandPropertyAssignment2.js +++ b/tests/baselines/reference/parserShorthandPropertyAssignment2.js @@ -4,4 +4,5 @@ var v = { class }; //// [parserShorthandPropertyAssignment2.js] +"use strict"; var v = { class: }; diff --git a/tests/baselines/reference/parserShorthandPropertyAssignment3.js b/tests/baselines/reference/parserShorthandPropertyAssignment3.js index 035bf9bdb71be..65c638ad20a8d 100644 --- a/tests/baselines/reference/parserShorthandPropertyAssignment3.js +++ b/tests/baselines/reference/parserShorthandPropertyAssignment3.js @@ -4,4 +4,5 @@ var v = { "" }; //// [parserShorthandPropertyAssignment3.js] +"use strict"; var v = { "": }; diff --git a/tests/baselines/reference/parserShorthandPropertyAssignment4.js b/tests/baselines/reference/parserShorthandPropertyAssignment4.js index 814d163ebc46c..316cb6efa4159 100644 --- a/tests/baselines/reference/parserShorthandPropertyAssignment4.js +++ b/tests/baselines/reference/parserShorthandPropertyAssignment4.js @@ -4,4 +4,5 @@ var v = { 0 }; //// [parserShorthandPropertyAssignment4.js] +"use strict"; var v = { 0: }; diff --git a/tests/baselines/reference/parserShorthandPropertyAssignment5.js b/tests/baselines/reference/parserShorthandPropertyAssignment5.js index 99602fb5babda..a9c4d626da2da 100644 --- a/tests/baselines/reference/parserShorthandPropertyAssignment5.js +++ b/tests/baselines/reference/parserShorthandPropertyAssignment5.js @@ -5,5 +5,6 @@ var greet = "hello"; var obj = { greet? }; //// [parserShorthandPropertyAssignment5.js] +"use strict"; var greet = "hello"; var obj = { greet: greet }; diff --git a/tests/baselines/reference/parserSkippedTokens1.js b/tests/baselines/reference/parserSkippedTokens1.js index cb5d6def19912..f488f757f11fc 100644 --- a/tests/baselines/reference/parserSkippedTokens1.js +++ b/tests/baselines/reference/parserSkippedTokens1.js @@ -4,3 +4,4 @@ \ //// [parserSkippedTokens1.js] +"use strict"; diff --git a/tests/baselines/reference/parserSkippedTokens10.js b/tests/baselines/reference/parserSkippedTokens10.js index e70a11dbdc32b..7d76dd9fbc48c 100644 --- a/tests/baselines/reference/parserSkippedTokens10.js +++ b/tests/baselines/reference/parserSkippedTokens10.js @@ -7,4 +7,5 @@ //// [parserSkippedTokens10.js] +"use strict"; /*existing trivia*/ ; diff --git a/tests/baselines/reference/parserSkippedTokens11.js b/tests/baselines/reference/parserSkippedTokens11.js index 4404d6c96aaa5..efe5c3fd15291 100644 --- a/tests/baselines/reference/parserSkippedTokens11.js +++ b/tests/baselines/reference/parserSkippedTokens11.js @@ -4,4 +4,5 @@ ; \ \ \ //// [parserSkippedTokens11.js] +"use strict"; ; diff --git a/tests/baselines/reference/parserSkippedTokens12.js b/tests/baselines/reference/parserSkippedTokens12.js index c3aa1236319d8..68565f5e86c47 100644 --- a/tests/baselines/reference/parserSkippedTokens12.js +++ b/tests/baselines/reference/parserSkippedTokens12.js @@ -4,3 +4,4 @@ \ \ \ //// [parserSkippedTokens12.js] +"use strict"; diff --git a/tests/baselines/reference/parserSkippedTokens13.js b/tests/baselines/reference/parserSkippedTokens13.js index 54af76e04a86e..312810c20dd7d 100644 --- a/tests/baselines/reference/parserSkippedTokens13.js +++ b/tests/baselines/reference/parserSkippedTokens13.js @@ -4,5 +4,6 @@ /regexp/ \ ; //// [parserSkippedTokens13.js] +"use strict"; /regexp/; ; diff --git a/tests/baselines/reference/parserSkippedTokens14.js b/tests/baselines/reference/parserSkippedTokens14.js index 0ec4154691c54..e8c1b17505998 100644 --- a/tests/baselines/reference/parserSkippedTokens14.js +++ b/tests/baselines/reference/parserSkippedTokens14.js @@ -8,4 +8,5 @@ //// [parserSkippedTokens14.js] +"use strict"; ; diff --git a/tests/baselines/reference/parserSkippedTokens15.js b/tests/baselines/reference/parserSkippedTokens15.js index 166fa7b8a9bbb..42ae623e88795 100644 --- a/tests/baselines/reference/parserSkippedTokens15.js +++ b/tests/baselines/reference/parserSkippedTokens15.js @@ -7,4 +7,5 @@ ; //// [parserSkippedTokens15.js] +"use strict"; ; diff --git a/tests/baselines/reference/parserSkippedTokens16.js b/tests/baselines/reference/parserSkippedTokens16.js index bf856abbdee67..67bd35e436e9c 100644 --- a/tests/baselines/reference/parserSkippedTokens16.js +++ b/tests/baselines/reference/parserSkippedTokens16.js @@ -11,6 +11,7 @@ function a( var x = //// [parserSkippedTokens16.js] +"use strict"; foo(); Bar; { } diff --git a/tests/baselines/reference/parserSkippedTokens17.js b/tests/baselines/reference/parserSkippedTokens17.js index ac7278afe4de3..5b9e4c2f03425 100644 --- a/tests/baselines/reference/parserSkippedTokens17.js +++ b/tests/baselines/reference/parserSkippedTokens17.js @@ -4,4 +4,5 @@ foo(a, \ //// [parserSkippedTokens17.js] +"use strict"; foo(a); diff --git a/tests/baselines/reference/parserSkippedTokens18.js b/tests/baselines/reference/parserSkippedTokens18.js index 8ea44209ef243..63679bc843056 100644 --- a/tests/baselines/reference/parserSkippedTokens18.js +++ b/tests/baselines/reference/parserSkippedTokens18.js @@ -4,4 +4,5 @@ foo(a \ //// [parserSkippedTokens18.js] +"use strict"; foo(a); diff --git a/tests/baselines/reference/parserSkippedTokens19.js b/tests/baselines/reference/parserSkippedTokens19.js index 1c631e7c35c1c..1f427eb8e9000 100644 --- a/tests/baselines/reference/parserSkippedTokens19.js +++ b/tests/baselines/reference/parserSkippedTokens19.js @@ -4,3 +4,4 @@ \ declare var v; //// [parserSkippedTokens19.js] +"use strict"; diff --git a/tests/baselines/reference/parserSkippedTokens2.js b/tests/baselines/reference/parserSkippedTokens2.js index 17a26b72f604a..08bb1fdd99e3f 100644 --- a/tests/baselines/reference/parserSkippedTokens2.js +++ b/tests/baselines/reference/parserSkippedTokens2.js @@ -4,3 +4,4 @@ \\ //// [parserSkippedTokens2.js] +"use strict"; diff --git a/tests/baselines/reference/parserSkippedTokens20.js b/tests/baselines/reference/parserSkippedTokens20.js index bf8cd5acd072a..0a307cb4551c2 100644 --- a/tests/baselines/reference/parserSkippedTokens20.js +++ b/tests/baselines/reference/parserSkippedTokens20.js @@ -4,4 +4,5 @@ var v: XFoo() //// [parserTypeAssertionInObjectCreationExpression1.js] +"use strict"; new < T > Foo(); diff --git a/tests/baselines/reference/parserTypeQuery1.js b/tests/baselines/reference/parserTypeQuery1.js index be35835a6a64b..5a35aeba1814e 100644 --- a/tests/baselines/reference/parserTypeQuery1.js +++ b/tests/baselines/reference/parserTypeQuery1.js @@ -4,4 +4,5 @@ var v: typeof A //// [parserTypeQuery1.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserTypeQuery2.js b/tests/baselines/reference/parserTypeQuery2.js index 6ded6f23aec9e..9dab2e35975d5 100644 --- a/tests/baselines/reference/parserTypeQuery2.js +++ b/tests/baselines/reference/parserTypeQuery2.js @@ -4,4 +4,5 @@ var v: typeof A; //// [parserTypeQuery2.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserTypeQuery3.js b/tests/baselines/reference/parserTypeQuery3.js index 9879e2f94e725..90790400d650f 100644 --- a/tests/baselines/reference/parserTypeQuery3.js +++ b/tests/baselines/reference/parserTypeQuery3.js @@ -4,4 +4,5 @@ var v: typeof A. //// [parserTypeQuery3.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserTypeQuery4.js b/tests/baselines/reference/parserTypeQuery4.js index e295ed3ab1080..8adb9728e4b48 100644 --- a/tests/baselines/reference/parserTypeQuery4.js +++ b/tests/baselines/reference/parserTypeQuery4.js @@ -4,4 +4,5 @@ var v: typeof A.; //// [parserTypeQuery4.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserTypeQuery5.js b/tests/baselines/reference/parserTypeQuery5.js index 0ad5956de2a20..58fd569c0b1eb 100644 --- a/tests/baselines/reference/parserTypeQuery5.js +++ b/tests/baselines/reference/parserTypeQuery5.js @@ -4,4 +4,5 @@ var v: typeof A.B //// [parserTypeQuery5.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserTypeQuery6.js b/tests/baselines/reference/parserTypeQuery6.js index 71e3c1203942b..a1aa2d3ab96c1 100644 --- a/tests/baselines/reference/parserTypeQuery6.js +++ b/tests/baselines/reference/parserTypeQuery6.js @@ -4,4 +4,5 @@ var v: typeof A.B; //// [parserTypeQuery6.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserTypeQuery7.js b/tests/baselines/reference/parserTypeQuery7.js index f83465e5ee902..2a06de337fc60 100644 --- a/tests/baselines/reference/parserTypeQuery7.js +++ b/tests/baselines/reference/parserTypeQuery7.js @@ -4,4 +4,5 @@ var v: typeof A[] //// [parserTypeQuery7.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserTypeQuery8.js b/tests/baselines/reference/parserTypeQuery8.js index 00f1be93f43a8..ebb1751446ac4 100644 --- a/tests/baselines/reference/parserTypeQuery8.js +++ b/tests/baselines/reference/parserTypeQuery8.js @@ -4,4 +4,5 @@ var v: typeof A //// [parserTypeQuery8.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parserTypeQuery9.js b/tests/baselines/reference/parserTypeQuery9.js index e4701d827e899..a73e79e6849c4 100644 --- a/tests/baselines/reference/parserTypeQuery9.js +++ b/tests/baselines/reference/parserTypeQuery9.js @@ -5,4 +5,5 @@ var s: typeof A[]; //// [parserTypeQuery9.js] +"use strict"; var s; diff --git a/tests/baselines/reference/parserUnaryExpression1.js b/tests/baselines/reference/parserUnaryExpression1.js index 0c1af2529b60e..ae218beda13b7 100644 --- a/tests/baselines/reference/parserUnaryExpression1.js +++ b/tests/baselines/reference/parserUnaryExpression1.js @@ -4,4 +4,5 @@ ++this; //// [parserUnaryExpression1.js] +"use strict"; ++this; diff --git a/tests/baselines/reference/parserUnaryExpression2.js b/tests/baselines/reference/parserUnaryExpression2.js index 27bcce5549ed8..f8c19a3202a3f 100644 --- a/tests/baselines/reference/parserUnaryExpression2.js +++ b/tests/baselines/reference/parserUnaryExpression2.js @@ -4,4 +4,5 @@ ++function(e) { } //// [parserUnaryExpression2.js] +"use strict"; ++function (e) { }; diff --git a/tests/baselines/reference/parserUnaryExpression3.js b/tests/baselines/reference/parserUnaryExpression3.js index c599c773e8f6e..ec4830f7c705b 100644 --- a/tests/baselines/reference/parserUnaryExpression3.js +++ b/tests/baselines/reference/parserUnaryExpression3.js @@ -4,4 +4,5 @@ ++[0]; //// [parserUnaryExpression3.js] +"use strict"; ++[0]; diff --git a/tests/baselines/reference/parserUnaryExpression4.js b/tests/baselines/reference/parserUnaryExpression4.js index 232bb00feac21..b213a749412cf 100644 --- a/tests/baselines/reference/parserUnaryExpression4.js +++ b/tests/baselines/reference/parserUnaryExpression4.js @@ -4,4 +4,5 @@ ++{}; //// [parserUnaryExpression4.js] +"use strict"; ++{}; diff --git a/tests/baselines/reference/parserUnaryExpression5.js b/tests/baselines/reference/parserUnaryExpression5.js index 8b3db3a8a0d24..a997f3f6b849a 100644 --- a/tests/baselines/reference/parserUnaryExpression5.js +++ b/tests/baselines/reference/parserUnaryExpression5.js @@ -4,5 +4,6 @@ ++ delete foo.bar //// [parserUnaryExpression5.js] +"use strict"; ++; delete foo.bar; diff --git a/tests/baselines/reference/parserUnaryExpression6.js b/tests/baselines/reference/parserUnaryExpression6.js index 5247b723510cf..34aac5086262f 100644 --- a/tests/baselines/reference/parserUnaryExpression6.js +++ b/tests/baselines/reference/parserUnaryExpression6.js @@ -4,3 +4,4 @@ //// [parserUnaryExpression6.js] +"use strict"; diff --git a/tests/baselines/reference/parserUnaryExpression7.js b/tests/baselines/reference/parserUnaryExpression7.js index f10b6dc973e93..35a73e9c63d40 100644 --- a/tests/baselines/reference/parserUnaryExpression7.js +++ b/tests/baselines/reference/parserUnaryExpression7.js @@ -4,4 +4,5 @@ ++ new Foo(); //// [parserUnaryExpression7.js] +"use strict"; ++new Foo(); diff --git a/tests/baselines/reference/parserUnfinishedTypeNameBeforeKeyword1.js b/tests/baselines/reference/parserUnfinishedTypeNameBeforeKeyword1.js index 6c87390404eec..f3c6abe9c3229 100644 --- a/tests/baselines/reference/parserUnfinishedTypeNameBeforeKeyword1.js +++ b/tests/baselines/reference/parserUnfinishedTypeNameBeforeKeyword1.js @@ -7,4 +7,5 @@ namespace TypeModule2 { //// [parserUnfinishedTypeNameBeforeKeyword1.js] +"use strict"; var x; diff --git a/tests/baselines/reference/parserUnicode1.js b/tests/baselines/reference/parserUnicode1.js index 3ede554f37703..03b66098efcd0 100644 --- a/tests/baselines/reference/parserUnicode1.js +++ b/tests/baselines/reference/parserUnicode1.js @@ -15,6 +15,7 @@ catch (e) { } //// [parserUnicode1.js] +"use strict"; try { var \u0078x = 6; if (xx !== 6) { diff --git a/tests/baselines/reference/parserUnicode2.js b/tests/baselines/reference/parserUnicode2.js index 99947fef4333e..d23861fa6c0f2 100644 --- a/tests/baselines/reference/parserUnicode2.js +++ b/tests/baselines/reference/parserUnicode2.js @@ -4,4 +4,5 @@ var 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123 = 1; //// [parserUnicode2.js] +"use strict"; var 才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüß才能ソЫⅨ蒤郳र्क्ड्राüışğİliيونيكودöÄüßAbcd123 = 1; diff --git a/tests/baselines/reference/parserUnicode3.js b/tests/baselines/reference/parserUnicode3.js index 53c57f1617948..47568cacdbe8a 100644 --- a/tests/baselines/reference/parserUnicode3.js +++ b/tests/baselines/reference/parserUnicode3.js @@ -5,6 +5,7 @@ class 剩下 { } //// [parserUnicode3.js] +"use strict"; var 剩下 = /** @class */ (function () { function 剩下() { } diff --git a/tests/baselines/reference/parserUnicodeWhitespaceCharacter1.js b/tests/baselines/reference/parserUnicodeWhitespaceCharacter1.js index 3a1242eaca498..6ac4c21580db8 100644 --- a/tests/baselines/reference/parserUnicodeWhitespaceCharacter1.js +++ b/tests/baselines/reference/parserUnicodeWhitespaceCharacter1.js @@ -5,4 +5,5 @@ function foo(){ } //// [parserUnicodeWhitespaceCharacter1.js] +"use strict"; function foo() { } diff --git a/tests/baselines/reference/parserUnparsedTokenCrash1.js b/tests/baselines/reference/parserUnparsedTokenCrash1.js index 710a2126e3548..a8ec0b4f45e32 100644 --- a/tests/baselines/reference/parserUnparsedTokenCrash1.js +++ b/tests/baselines/reference/parserUnparsedTokenCrash1.js @@ -5,5 +5,6 @@ //// [a.js] +"use strict"; (y = 1); 2; diff --git a/tests/baselines/reference/parserUnterminatedGeneric1.js b/tests/baselines/reference/parserUnterminatedGeneric1.js index 601dc0589a785..e8d36d4ccb765 100644 --- a/tests/baselines/reference/parserUnterminatedGeneric1.js +++ b/tests/baselines/reference/parserUnterminatedGeneric1.js @@ -5,3 +5,4 @@ all(promises: IPromise < any > []): IPromise< //// [parserUnterminatedGeneric1.js] +"use strict"; diff --git a/tests/baselines/reference/parserUnterminatedGeneric2.js b/tests/baselines/reference/parserUnterminatedGeneric2.js index 3ca2adcac47ef..cc66362ab5e02 100644 --- a/tests/baselines/reference/parserUnterminatedGeneric2.js +++ b/tests/baselines/reference/parserUnterminatedGeneric2.js @@ -11,3 +11,4 @@ declare namespace ng { all(promises: IPromise < any > []): IPromise< //// [parserUnterminatedGeneric2.js] +"use strict"; diff --git a/tests/baselines/reference/parserUsingConstructorAsIdentifier.js b/tests/baselines/reference/parserUsingConstructorAsIdentifier.js index 5068ed23601b5..67ea1b238471b 100644 --- a/tests/baselines/reference/parserUsingConstructorAsIdentifier.js +++ b/tests/baselines/reference/parserUsingConstructorAsIdentifier.js @@ -42,6 +42,7 @@ } //// [parserUsingConstructorAsIdentifier.js] +"use strict"; function define(constructor, instanceMembers, staticMembers) { constructor = constructor || function () { }; PluginUtilities.Utilities.markSupportedForProcessing(constructor); diff --git a/tests/baselines/reference/parserVariableDeclaration1.js b/tests/baselines/reference/parserVariableDeclaration1.js index 3c2d4a7576630..b06df8f438198 100644 --- a/tests/baselines/reference/parserVariableDeclaration1.js +++ b/tests/baselines/reference/parserVariableDeclaration1.js @@ -7,4 +7,5 @@ support = d; //// [parserVariableDeclaration1.js] +"use strict"; var selection = a, position = b, model = c, support = d; diff --git a/tests/baselines/reference/parserVariableDeclaration10.js b/tests/baselines/reference/parserVariableDeclaration10.js index 5f4107d4ac128..e32a66e617947 100644 --- a/tests/baselines/reference/parserVariableDeclaration10.js +++ b/tests/baselines/reference/parserVariableDeclaration10.js @@ -4,4 +4,5 @@ var a,; //// [parserVariableDeclaration10.js] +"use strict"; var a; diff --git a/tests/baselines/reference/parserVariableDeclaration11.js b/tests/baselines/reference/parserVariableDeclaration11.js index 340f01645a83c..1f502a203c525 100644 --- a/tests/baselines/reference/parserVariableDeclaration11.js +++ b/tests/baselines/reference/parserVariableDeclaration11.js @@ -4,4 +4,5 @@ var a,b; //// [parserVariableDeclaration11.js] +"use strict"; var a, b; diff --git a/tests/baselines/reference/parserVariableDeclaration2.js b/tests/baselines/reference/parserVariableDeclaration2.js index 7227c1fb3e3d8..29d7c5925fb4c 100644 --- a/tests/baselines/reference/parserVariableDeclaration2.js +++ b/tests/baselines/reference/parserVariableDeclaration2.js @@ -12,6 +12,7 @@ })(); //// [parserVariableDeclaration2.js] +"use strict"; (function () { var check = function () { }; diff --git a/tests/baselines/reference/parserVariableDeclaration3.js b/tests/baselines/reference/parserVariableDeclaration3.js index 687a30889fc1d..ac526a3d6da1d 100644 --- a/tests/baselines/reference/parserVariableDeclaration3.js +++ b/tests/baselines/reference/parserVariableDeclaration3.js @@ -9,6 +9,7 @@ function runTests() { } //// [parserVariableDeclaration3.js] +"use strict"; function runTests() { var outfile = new Harness.Compiler.WriterAggregator(), outerr = new Harness.Compiler.WriterAggregator(), compiler = new TypeScript.TypeScriptCompiler(outerr), code; } diff --git a/tests/baselines/reference/parserVariableDeclaration4.js b/tests/baselines/reference/parserVariableDeclaration4.js index c2c5fd63f6359..fd2d0f160aa50 100644 --- a/tests/baselines/reference/parserVariableDeclaration4.js +++ b/tests/baselines/reference/parserVariableDeclaration4.js @@ -6,3 +6,4 @@ declare namespace M { } //// [parserVariableDeclaration4.js] +"use strict"; diff --git a/tests/baselines/reference/parserVariableDeclaration5.js b/tests/baselines/reference/parserVariableDeclaration5.js index f8c33c0b28003..863ac62b2729d 100644 --- a/tests/baselines/reference/parserVariableDeclaration5.js +++ b/tests/baselines/reference/parserVariableDeclaration5.js @@ -4,4 +4,5 @@ var a, //// [parserVariableDeclaration5.js] +"use strict"; var a; diff --git a/tests/baselines/reference/parserVariableDeclaration6.js b/tests/baselines/reference/parserVariableDeclaration6.js index e1e47111bb9ca..9c85c0052e5ae 100644 --- a/tests/baselines/reference/parserVariableDeclaration6.js +++ b/tests/baselines/reference/parserVariableDeclaration6.js @@ -4,4 +4,5 @@ var //// [parserVariableDeclaration6.js] +"use strict"; var ; diff --git a/tests/baselines/reference/parserVariableDeclaration7.js b/tests/baselines/reference/parserVariableDeclaration7.js index 67d610ae88269..afacd782582c7 100644 --- a/tests/baselines/reference/parserVariableDeclaration7.js +++ b/tests/baselines/reference/parserVariableDeclaration7.js @@ -4,4 +4,5 @@ var a,b //// [parserVariableDeclaration7.js] +"use strict"; var a, b; diff --git a/tests/baselines/reference/parserVariableDeclaration8.js b/tests/baselines/reference/parserVariableDeclaration8.js index 21407b1b4be4a..9d2d6820178d2 100644 --- a/tests/baselines/reference/parserVariableDeclaration8.js +++ b/tests/baselines/reference/parserVariableDeclaration8.js @@ -4,4 +4,5 @@ var ; //// [parserVariableDeclaration8.js] +"use strict"; var ; diff --git a/tests/baselines/reference/parserVariableDeclaration9.js b/tests/baselines/reference/parserVariableDeclaration9.js index a8aaf1b56cf41..8d468d47a8dbc 100644 --- a/tests/baselines/reference/parserVariableDeclaration9.js +++ b/tests/baselines/reference/parserVariableDeclaration9.js @@ -4,4 +4,5 @@ var a; //// [parserVariableDeclaration9.js] +"use strict"; var a; diff --git a/tests/baselines/reference/parserVariableStatement1.js b/tests/baselines/reference/parserVariableStatement1.js index 2c5f0e1172e2a..44b36d3cfdb57 100644 --- a/tests/baselines/reference/parserVariableStatement1.js +++ b/tests/baselines/reference/parserVariableStatement1.js @@ -6,4 +6,5 @@ var a, c //// [parserVariableStatement1.js] +"use strict"; var a, b, c; diff --git a/tests/baselines/reference/parserVariableStatement2.js b/tests/baselines/reference/parserVariableStatement2.js index 7f1270f363bcf..ddfc84828f20d 100644 --- a/tests/baselines/reference/parserVariableStatement2.js +++ b/tests/baselines/reference/parserVariableStatement2.js @@ -6,4 +6,5 @@ var a , c //// [parserVariableStatement2.js] +"use strict"; var a, b, c; diff --git a/tests/baselines/reference/parserVariableStatement3.js b/tests/baselines/reference/parserVariableStatement3.js index 0fb05e7f0ac02..d07057742edc3 100644 --- a/tests/baselines/reference/parserVariableStatement3.js +++ b/tests/baselines/reference/parserVariableStatement3.js @@ -7,4 +7,5 @@ var c //// [parserVariableStatement3.js] +"use strict"; var a, b, c; diff --git a/tests/baselines/reference/parserVariableStatement4.js b/tests/baselines/reference/parserVariableStatement4.js index eb9835d6094a2..66aa0d3df3d58 100644 --- a/tests/baselines/reference/parserVariableStatement4.js +++ b/tests/baselines/reference/parserVariableStatement4.js @@ -7,4 +7,5 @@ var , c //// [parserVariableStatement4.js] +"use strict"; var a, b, c; diff --git a/tests/baselines/reference/parserVoidExpression1.js b/tests/baselines/reference/parserVoidExpression1.js index 9d3fff14f1b20..07df6f24bd37f 100644 --- a/tests/baselines/reference/parserVoidExpression1.js +++ b/tests/baselines/reference/parserVoidExpression1.js @@ -4,4 +4,5 @@ void 0; //// [parserVoidExpression1.js] +"use strict"; void 0; diff --git a/tests/baselines/reference/parserWithStatement2.errors.txt b/tests/baselines/reference/parserWithStatement2.errors.txt index f99a936c2fcd3..f0d3815b5aad5 100644 --- a/tests/baselines/reference/parserWithStatement2.errors.txt +++ b/tests/baselines/reference/parserWithStatement2.errors.txt @@ -1,8 +1,11 @@ +parserWithStatement2.ts(1,1): error TS1101: 'with' statements are not allowed in strict mode. parserWithStatement2.ts(1,1): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. -==== parserWithStatement2.ts (1 errors) ==== +==== parserWithStatement2.ts (2 errors) ==== with (1) + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. return; \ No newline at end of file diff --git a/tests/baselines/reference/parserWithStatement2.js b/tests/baselines/reference/parserWithStatement2.js index c2a6cb5b6c52b..ab6e91d83c4cd 100644 --- a/tests/baselines/reference/parserWithStatement2.js +++ b/tests/baselines/reference/parserWithStatement2.js @@ -5,5 +5,6 @@ with (1) return; //// [parserWithStatement2.js] +"use strict"; with (1) return; diff --git a/tests/baselines/reference/parserX_ArrowFunction1.js b/tests/baselines/reference/parserX_ArrowFunction1.js index cbe7328e609d1..8395344cc3cc7 100644 --- a/tests/baselines/reference/parserX_ArrowFunction1.js +++ b/tests/baselines/reference/parserX_ArrowFunction1.js @@ -6,5 +6,6 @@ var v = (a: ) => { }; //// [parserX_ArrowFunction1.js] +"use strict"; var v = function (a) { }; diff --git a/tests/baselines/reference/parserX_ArrowFunction3.js b/tests/baselines/reference/parserX_ArrowFunction3.js index ab74b091d87a9..0b261d157af9e 100644 --- a/tests/baselines/reference/parserX_ArrowFunction3.js +++ b/tests/baselines/reference/parserX_ArrowFunction3.js @@ -6,6 +6,7 @@ var v = (a): => { }; //// [parserX_ArrowFunction3.js] +"use strict"; var v = (a); { } diff --git a/tests/baselines/reference/parserX_ArrowFunction4.js b/tests/baselines/reference/parserX_ArrowFunction4.js index 2a75f4d298d09..81fda99f90329 100644 --- a/tests/baselines/reference/parserX_ArrowFunction4.js +++ b/tests/baselines/reference/parserX_ArrowFunction4.js @@ -6,5 +6,6 @@ var v = (a, b) => { }; //// [parserX_ArrowFunction4.js] +"use strict"; var v = function (a, b) { }; diff --git a/tests/baselines/reference/parserX_TypeArgumentList1.js b/tests/baselines/reference/parserX_TypeArgumentList1.js index 73282de876b03..adbf5a91cd3d8 100644 --- a/tests/baselines/reference/parserX_TypeArgumentList1.js +++ b/tests/baselines/reference/parserX_TypeArgumentList1.js @@ -4,5 +4,6 @@ Foo(4, 5, 6); //// [parserX_TypeArgumentList1.js] +"use strict"; Foo < A, B, ; C > (4, 5, 6); diff --git a/tests/baselines/reference/parser_breakInIterationOrSwitchStatement1.js b/tests/baselines/reference/parser_breakInIterationOrSwitchStatement1.js index 9d0699c5e2dda..d8fd607928003 100644 --- a/tests/baselines/reference/parser_breakInIterationOrSwitchStatement1.js +++ b/tests/baselines/reference/parser_breakInIterationOrSwitchStatement1.js @@ -6,6 +6,7 @@ while (true) { } //// [parser_breakInIterationOrSwitchStatement1.js] +"use strict"; while (true) { break; } diff --git a/tests/baselines/reference/parser_breakInIterationOrSwitchStatement2.js b/tests/baselines/reference/parser_breakInIterationOrSwitchStatement2.js index b29a04027a15a..a59cd1e7716e7 100644 --- a/tests/baselines/reference/parser_breakInIterationOrSwitchStatement2.js +++ b/tests/baselines/reference/parser_breakInIterationOrSwitchStatement2.js @@ -7,6 +7,7 @@ do { while (true); //// [parser_breakInIterationOrSwitchStatement2.js] +"use strict"; do { break; } while (true); diff --git a/tests/baselines/reference/parser_breakInIterationOrSwitchStatement3.js b/tests/baselines/reference/parser_breakInIterationOrSwitchStatement3.js index ce54cf2f38624..375c0738aaa5c 100644 --- a/tests/baselines/reference/parser_breakInIterationOrSwitchStatement3.js +++ b/tests/baselines/reference/parser_breakInIterationOrSwitchStatement3.js @@ -6,6 +6,7 @@ for (;;) { } //// [parser_breakInIterationOrSwitchStatement3.js] +"use strict"; for (;;) { break; } diff --git a/tests/baselines/reference/parser_breakInIterationOrSwitchStatement4.js b/tests/baselines/reference/parser_breakInIterationOrSwitchStatement4.js index 72f157c459547..2d7dadbad64f0 100644 --- a/tests/baselines/reference/parser_breakInIterationOrSwitchStatement4.js +++ b/tests/baselines/reference/parser_breakInIterationOrSwitchStatement4.js @@ -6,6 +6,7 @@ for (var i in something) { } //// [parser_breakInIterationOrSwitchStatement4.js] +"use strict"; for (var i in something) { break; } diff --git a/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement1.js b/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement1.js index 3c022f9929469..591360b93dec3 100644 --- a/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement1.js +++ b/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement1.js @@ -4,4 +4,5 @@ break; //// [parser_breakNotInIterationOrSwitchStatement1.js] +"use strict"; break; diff --git a/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement2.errors.txt b/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement2.errors.txt index c32d369e2f470..d47d5e5235a48 100644 --- a/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement2.errors.txt +++ b/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement2.errors.txt @@ -1,9 +1,12 @@ +parser_breakNotInIterationOrSwitchStatement2.ts(2,12): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. parser_breakNotInIterationOrSwitchStatement2.ts(3,5): error TS1107: Jump target cannot cross function boundary. -==== parser_breakNotInIterationOrSwitchStatement2.ts (1 errors) ==== +==== parser_breakNotInIterationOrSwitchStatement2.ts (2 errors) ==== while (true) { function f() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. break; ~~~~~~ !!! error TS1107: Jump target cannot cross function boundary. diff --git a/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement2.js b/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement2.js index a0c4cb6424d5e..62115da74ebbc 100644 --- a/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement2.js +++ b/tests/baselines/reference/parser_breakNotInIterationOrSwitchStatement2.js @@ -8,6 +8,7 @@ while (true) { } //// [parser_breakNotInIterationOrSwitchStatement2.js] +"use strict"; while (true) { function f() { break; diff --git a/tests/baselines/reference/parser_breakTarget1.js b/tests/baselines/reference/parser_breakTarget1.js index 8c8b3af2c5d74..99542eea352ae 100644 --- a/tests/baselines/reference/parser_breakTarget1.js +++ b/tests/baselines/reference/parser_breakTarget1.js @@ -5,4 +5,5 @@ target: break target; //// [parser_breakTarget1.js] +"use strict"; target: break target; diff --git a/tests/baselines/reference/parser_breakTarget2.js b/tests/baselines/reference/parser_breakTarget2.js index 502d73f797df3..70d918cd908f7 100644 --- a/tests/baselines/reference/parser_breakTarget2.js +++ b/tests/baselines/reference/parser_breakTarget2.js @@ -7,6 +7,7 @@ while (true) { } //// [parser_breakTarget2.js] +"use strict"; target: while (true) { break target; } diff --git a/tests/baselines/reference/parser_breakTarget3.js b/tests/baselines/reference/parser_breakTarget3.js index 15abc4e706622..4942b4c411d94 100644 --- a/tests/baselines/reference/parser_breakTarget3.js +++ b/tests/baselines/reference/parser_breakTarget3.js @@ -8,6 +8,7 @@ while (true) { } //// [parser_breakTarget3.js] +"use strict"; target1: target2: while (true) { break target1; } diff --git a/tests/baselines/reference/parser_breakTarget4.js b/tests/baselines/reference/parser_breakTarget4.js index 1bb2733d33287..5214301c13a17 100644 --- a/tests/baselines/reference/parser_breakTarget4.js +++ b/tests/baselines/reference/parser_breakTarget4.js @@ -8,6 +8,7 @@ while (true) { } //// [parser_breakTarget4.js] +"use strict"; target1: target2: while (true) { break target2; } diff --git a/tests/baselines/reference/parser_breakTarget5.errors.txt b/tests/baselines/reference/parser_breakTarget5.errors.txt index 46eede4e845bc..8484e8968633a 100644 --- a/tests/baselines/reference/parser_breakTarget5.errors.txt +++ b/tests/baselines/reference/parser_breakTarget5.errors.txt @@ -1,10 +1,13 @@ +parser_breakTarget5.ts(3,12): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. parser_breakTarget5.ts(5,7): error TS1107: Jump target cannot cross function boundary. -==== parser_breakTarget5.ts (1 errors) ==== +==== parser_breakTarget5.ts (2 errors) ==== target: while (true) { function f() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. while (true) { break target; ~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/parser_breakTarget5.js b/tests/baselines/reference/parser_breakTarget5.js index 20519ea7b8c64..31ad49e7f1cce 100644 --- a/tests/baselines/reference/parser_breakTarget5.js +++ b/tests/baselines/reference/parser_breakTarget5.js @@ -11,6 +11,7 @@ while (true) { } //// [parser_breakTarget5.js] +"use strict"; target: while (true) { function f() { while (true) { diff --git a/tests/baselines/reference/parser_breakTarget6.js b/tests/baselines/reference/parser_breakTarget6.js index 59ff770d89ac3..f04f0f76f2c72 100644 --- a/tests/baselines/reference/parser_breakTarget6.js +++ b/tests/baselines/reference/parser_breakTarget6.js @@ -6,6 +6,7 @@ while (true) { } //// [parser_breakTarget6.js] +"use strict"; while (true) { break target; } diff --git a/tests/baselines/reference/parser_continueInIterationStatement1.js b/tests/baselines/reference/parser_continueInIterationStatement1.js index afd16ba33342c..14526c2d08ed2 100644 --- a/tests/baselines/reference/parser_continueInIterationStatement1.js +++ b/tests/baselines/reference/parser_continueInIterationStatement1.js @@ -6,6 +6,7 @@ while (true) { } //// [parser_continueInIterationStatement1.js] +"use strict"; while (true) { continue; } diff --git a/tests/baselines/reference/parser_continueInIterationStatement2.js b/tests/baselines/reference/parser_continueInIterationStatement2.js index 521acb0de34cc..eeee666e524b1 100644 --- a/tests/baselines/reference/parser_continueInIterationStatement2.js +++ b/tests/baselines/reference/parser_continueInIterationStatement2.js @@ -7,6 +7,7 @@ do { while (true); //// [parser_continueInIterationStatement2.js] +"use strict"; do { continue; } while (true); diff --git a/tests/baselines/reference/parser_continueInIterationStatement3.js b/tests/baselines/reference/parser_continueInIterationStatement3.js index 51c7fbfb6414e..fb72a68d4acc1 100644 --- a/tests/baselines/reference/parser_continueInIterationStatement3.js +++ b/tests/baselines/reference/parser_continueInIterationStatement3.js @@ -6,6 +6,7 @@ for (;;) { } //// [parser_continueInIterationStatement3.js] +"use strict"; for (;;) { continue; } diff --git a/tests/baselines/reference/parser_continueInIterationStatement4.js b/tests/baselines/reference/parser_continueInIterationStatement4.js index 8be25dade90d6..6a2031a367b28 100644 --- a/tests/baselines/reference/parser_continueInIterationStatement4.js +++ b/tests/baselines/reference/parser_continueInIterationStatement4.js @@ -6,6 +6,7 @@ for (var i in something) { } //// [parser_continueInIterationStatement4.js] +"use strict"; for (var i in something) { continue; } diff --git a/tests/baselines/reference/parser_continueLabel.js b/tests/baselines/reference/parser_continueLabel.js index c6a2e9ad170f7..1fd994301ff89 100644 --- a/tests/baselines/reference/parser_continueLabel.js +++ b/tests/baselines/reference/parser_continueLabel.js @@ -6,6 +6,7 @@ label1: for(var i = 0; i < 1; i++) { } //// [parser_continueLabel.js] +"use strict"; label1: for (var i = 0; i < 1; i++) { continue label1; } diff --git a/tests/baselines/reference/parser_continueNotInIterationStatement1.js b/tests/baselines/reference/parser_continueNotInIterationStatement1.js index ceed64a8144f5..8089d2e068316 100644 --- a/tests/baselines/reference/parser_continueNotInIterationStatement1.js +++ b/tests/baselines/reference/parser_continueNotInIterationStatement1.js @@ -4,4 +4,5 @@ continue; //// [parser_continueNotInIterationStatement1.js] +"use strict"; continue; diff --git a/tests/baselines/reference/parser_continueNotInIterationStatement2.errors.txt b/tests/baselines/reference/parser_continueNotInIterationStatement2.errors.txt index 1c18e075a6b76..08b81951eee94 100644 --- a/tests/baselines/reference/parser_continueNotInIterationStatement2.errors.txt +++ b/tests/baselines/reference/parser_continueNotInIterationStatement2.errors.txt @@ -1,9 +1,12 @@ +parser_continueNotInIterationStatement2.ts(2,12): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. parser_continueNotInIterationStatement2.ts(3,5): error TS1107: Jump target cannot cross function boundary. -==== parser_continueNotInIterationStatement2.ts (1 errors) ==== +==== parser_continueNotInIterationStatement2.ts (2 errors) ==== while (true) { function f() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. continue; ~~~~~~~~~ !!! error TS1107: Jump target cannot cross function boundary. diff --git a/tests/baselines/reference/parser_continueNotInIterationStatement2.js b/tests/baselines/reference/parser_continueNotInIterationStatement2.js index 33219d2f73447..9597327d52c19 100644 --- a/tests/baselines/reference/parser_continueNotInIterationStatement2.js +++ b/tests/baselines/reference/parser_continueNotInIterationStatement2.js @@ -8,6 +8,7 @@ while (true) { } //// [parser_continueNotInIterationStatement2.js] +"use strict"; while (true) { function f() { continue; diff --git a/tests/baselines/reference/parser_continueNotInIterationStatement3.js b/tests/baselines/reference/parser_continueNotInIterationStatement3.js index c07b8cdacd509..249646f1bd8c9 100644 --- a/tests/baselines/reference/parser_continueNotInIterationStatement3.js +++ b/tests/baselines/reference/parser_continueNotInIterationStatement3.js @@ -7,6 +7,7 @@ switch (0) { } //// [parser_continueNotInIterationStatement3.js] +"use strict"; switch (0) { default: continue; diff --git a/tests/baselines/reference/parser_continueNotInIterationStatement4.js b/tests/baselines/reference/parser_continueNotInIterationStatement4.js index 4408818c934ad..6ae0167371942 100644 --- a/tests/baselines/reference/parser_continueNotInIterationStatement4.js +++ b/tests/baselines/reference/parser_continueNotInIterationStatement4.js @@ -10,6 +10,7 @@ while (true){ //// [parser_continueNotInIterationStatement4.js] +"use strict"; TWO: while (true) { var x = function () { continue TWO; diff --git a/tests/baselines/reference/parser_continueTarget1.js b/tests/baselines/reference/parser_continueTarget1.js index 653e2a9415ba0..3a29aaf6da225 100644 --- a/tests/baselines/reference/parser_continueTarget1.js +++ b/tests/baselines/reference/parser_continueTarget1.js @@ -5,4 +5,5 @@ target: continue target; //// [parser_continueTarget1.js] +"use strict"; target: continue target; diff --git a/tests/baselines/reference/parser_continueTarget2.js b/tests/baselines/reference/parser_continueTarget2.js index 4fa0abcc70ed3..c9074fb47bebd 100644 --- a/tests/baselines/reference/parser_continueTarget2.js +++ b/tests/baselines/reference/parser_continueTarget2.js @@ -7,6 +7,7 @@ while (true) { } //// [parser_continueTarget2.js] +"use strict"; target: while (true) { continue target; } diff --git a/tests/baselines/reference/parser_continueTarget3.js b/tests/baselines/reference/parser_continueTarget3.js index 895d875501a51..9157835d000a4 100644 --- a/tests/baselines/reference/parser_continueTarget3.js +++ b/tests/baselines/reference/parser_continueTarget3.js @@ -8,6 +8,7 @@ while (true) { } //// [parser_continueTarget3.js] +"use strict"; target1: target2: while (true) { continue target1; } diff --git a/tests/baselines/reference/parser_continueTarget4.js b/tests/baselines/reference/parser_continueTarget4.js index 25c9642268560..4d106a8347473 100644 --- a/tests/baselines/reference/parser_continueTarget4.js +++ b/tests/baselines/reference/parser_continueTarget4.js @@ -8,6 +8,7 @@ while (true) { } //// [parser_continueTarget4.js] +"use strict"; target1: target2: while (true) { continue target2; } diff --git a/tests/baselines/reference/parser_continueTarget5.errors.txt b/tests/baselines/reference/parser_continueTarget5.errors.txt index 1a80e2d9f968c..1d8870facc1da 100644 --- a/tests/baselines/reference/parser_continueTarget5.errors.txt +++ b/tests/baselines/reference/parser_continueTarget5.errors.txt @@ -1,10 +1,13 @@ +parser_continueTarget5.ts(3,12): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. parser_continueTarget5.ts(5,7): error TS1107: Jump target cannot cross function boundary. -==== parser_continueTarget5.ts (1 errors) ==== +==== parser_continueTarget5.ts (2 errors) ==== target: while (true) { function f() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. while (true) { continue target; ~~~~~~~~~~~~~~~~ diff --git a/tests/baselines/reference/parser_continueTarget5.js b/tests/baselines/reference/parser_continueTarget5.js index 2dcbc66cc4451..d13be264a1130 100644 --- a/tests/baselines/reference/parser_continueTarget5.js +++ b/tests/baselines/reference/parser_continueTarget5.js @@ -11,6 +11,7 @@ while (true) { } //// [parser_continueTarget5.js] +"use strict"; target: while (true) { function f() { while (true) { diff --git a/tests/baselines/reference/parser_continueTarget6.js b/tests/baselines/reference/parser_continueTarget6.js index 9d31e0dd27d74..19b2b40c13b45 100644 --- a/tests/baselines/reference/parser_continueTarget6.js +++ b/tests/baselines/reference/parser_continueTarget6.js @@ -6,6 +6,7 @@ while (true) { } //// [parser_continueTarget6.js] +"use strict"; while (true) { continue target; } diff --git a/tests/baselines/reference/parser_duplicateLabel1.js b/tests/baselines/reference/parser_duplicateLabel1.js index 099a284ee72c6..bb7cff2f3538e 100644 --- a/tests/baselines/reference/parser_duplicateLabel1.js +++ b/tests/baselines/reference/parser_duplicateLabel1.js @@ -7,5 +7,6 @@ while (true) { } //// [parser_duplicateLabel1.js] +"use strict"; target: target: while (true) { } diff --git a/tests/baselines/reference/parser_duplicateLabel2.js b/tests/baselines/reference/parser_duplicateLabel2.js index 222fefb168887..28fefe9b18839 100644 --- a/tests/baselines/reference/parser_duplicateLabel2.js +++ b/tests/baselines/reference/parser_duplicateLabel2.js @@ -9,6 +9,7 @@ while (true) { } //// [parser_duplicateLabel2.js] +"use strict"; target: while (true) { target: while (true) { } diff --git a/tests/baselines/reference/parser_duplicateLabel3.errors.txt b/tests/baselines/reference/parser_duplicateLabel3.errors.txt new file mode 100644 index 0000000000000..9d7653c2a84c8 --- /dev/null +++ b/tests/baselines/reference/parser_duplicateLabel3.errors.txt @@ -0,0 +1,14 @@ +parser_duplicateLabel3.ts(3,12): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + + +==== parser_duplicateLabel3.ts (1 errors) ==== + target: + while (true) { + function f() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + target: + while (true) { + } + } + } \ No newline at end of file diff --git a/tests/baselines/reference/parser_duplicateLabel3.js b/tests/baselines/reference/parser_duplicateLabel3.js index 66fd518d6089e..694f4571cc099 100644 --- a/tests/baselines/reference/parser_duplicateLabel3.js +++ b/tests/baselines/reference/parser_duplicateLabel3.js @@ -11,6 +11,7 @@ while (true) { } //// [parser_duplicateLabel3.js] +"use strict"; target: while (true) { function f() { target: while (true) { diff --git a/tests/baselines/reference/parser_duplicateLabel4.js b/tests/baselines/reference/parser_duplicateLabel4.js index c66dbb151047f..b9876f6cc7d62 100644 --- a/tests/baselines/reference/parser_duplicateLabel4.js +++ b/tests/baselines/reference/parser_duplicateLabel4.js @@ -10,6 +10,7 @@ while (true) { } //// [parser_duplicateLabel4.js] +"use strict"; target: while (true) { } target: while (true) { diff --git a/tests/baselines/reference/parserharness.js b/tests/baselines/reference/parserharness.js index 3c89dbb83a0bf..1759347ada9e6 100644 --- a/tests/baselines/reference/parserharness.js +++ b/tests/baselines/reference/parserharness.js @@ -2084,6 +2084,7 @@ namespace Harness { //// [parserharness.js] +"use strict"; // // Copyright (c) Microsoft Corporation. All rights reserved. // diff --git a/tests/baselines/reference/parserindenter.js b/tests/baselines/reference/parserindenter.js index 15d07df1ab895..3d4fc8e7abd7f 100644 --- a/tests/baselines/reference/parserindenter.js +++ b/tests/baselines/reference/parserindenter.js @@ -744,6 +744,7 @@ namespace Formatting { //// [parserindenter.js] +"use strict"; // // Copyright (c) Microsoft Corporation. All rights reserved. // diff --git a/tests/baselines/reference/parservoidInQualifiedName0.js b/tests/baselines/reference/parservoidInQualifiedName0.js index 3947012c2789b..fc10587a9deb3 100644 --- a/tests/baselines/reference/parservoidInQualifiedName0.js +++ b/tests/baselines/reference/parservoidInQualifiedName0.js @@ -4,4 +4,5 @@ var v : void; //// [parservoidInQualifiedName0.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parservoidInQualifiedName1.js b/tests/baselines/reference/parservoidInQualifiedName1.js index ed7e2db6167f2..008c360b122aa 100644 --- a/tests/baselines/reference/parservoidInQualifiedName1.js +++ b/tests/baselines/reference/parservoidInQualifiedName1.js @@ -4,4 +4,5 @@ var v : void.x; //// [parservoidInQualifiedName1.js] +"use strict"; var v, x; diff --git a/tests/baselines/reference/parservoidInQualifiedName2.js b/tests/baselines/reference/parservoidInQualifiedName2.js index afb2482a93f68..3a68f601ad817 100644 --- a/tests/baselines/reference/parservoidInQualifiedName2.js +++ b/tests/baselines/reference/parservoidInQualifiedName2.js @@ -4,4 +4,5 @@ var v : x.void; //// [parservoidInQualifiedName2.js] +"use strict"; var v; diff --git a/tests/baselines/reference/parsingClassRecoversWhenHittingUnexpectedSemicolon.js b/tests/baselines/reference/parsingClassRecoversWhenHittingUnexpectedSemicolon.js index 9126dd1c44b3d..2b4721aa804e4 100644 --- a/tests/baselines/reference/parsingClassRecoversWhenHittingUnexpectedSemicolon.js +++ b/tests/baselines/reference/parsingClassRecoversWhenHittingUnexpectedSemicolon.js @@ -8,6 +8,7 @@ class C { //// [parsingClassRecoversWhenHittingUnexpectedSemicolon.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/partialDiscriminatedUnionMemberHasGoodError.js b/tests/baselines/reference/partialDiscriminatedUnionMemberHasGoodError.js index e594618e58954..a3e9aea3d314b 100644 --- a/tests/baselines/reference/partialDiscriminatedUnionMemberHasGoodError.js +++ b/tests/baselines/reference/partialDiscriminatedUnionMemberHasGoodError.js @@ -26,6 +26,7 @@ foo.push({ }); //// [partialDiscriminatedUnionMemberHasGoodError.js] +"use strict"; var foo = []; foo.push({ types: [{ diff --git a/tests/baselines/reference/partiallyAmbientClodule.js b/tests/baselines/reference/partiallyAmbientClodule.js index 840d957dddaa1..61c8729758eb0 100644 --- a/tests/baselines/reference/partiallyAmbientClodule.js +++ b/tests/baselines/reference/partiallyAmbientClodule.js @@ -7,6 +7,7 @@ declare namespace foo { class foo { } // Legal, because module is ambient //// [partiallyAmbientClodule.js] +"use strict"; var foo = /** @class */ (function () { function foo() { } diff --git a/tests/baselines/reference/partiallyAmbientFundule.js b/tests/baselines/reference/partiallyAmbientFundule.js index 0ba97e674db73..d63a1f2e0f143 100644 --- a/tests/baselines/reference/partiallyAmbientFundule.js +++ b/tests/baselines/reference/partiallyAmbientFundule.js @@ -7,4 +7,5 @@ declare namespace foo { function foo () { } // Legal, because module is ambient //// [partiallyAmbientFundule.js] +"use strict"; function foo() { } // Legal, because module is ambient diff --git a/tests/baselines/reference/partiallyAnnotatedFunctionInferenceError.js b/tests/baselines/reference/partiallyAnnotatedFunctionInferenceError.js index 6b427dcdfc520..2901efa7df61a 100644 --- a/tests/baselines/reference/partiallyAnnotatedFunctionInferenceError.js +++ b/tests/baselines/reference/partiallyAnnotatedFunctionInferenceError.js @@ -18,6 +18,7 @@ testError((t1, t2, t3: D) => {}) //// [partiallyAnnotatedFunctionInferenceError.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/partiallyAnnotatedFunctionInferenceWithTypeParameter.js b/tests/baselines/reference/partiallyAnnotatedFunctionInferenceWithTypeParameter.js index be9acf143dce0..eccdfaf532074 100644 --- a/tests/baselines/reference/partiallyAnnotatedFunctionInferenceWithTypeParameter.js +++ b/tests/baselines/reference/partiallyAnnotatedFunctionInferenceWithTypeParameter.js @@ -37,6 +37,7 @@ testRest((t2, ...t3: D[]) => {}) //// [partiallyAnnotatedFunctionInferenceWithTypeParameter.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/partiallyAnnotatedFunctionWitoutTypeParameter.js b/tests/baselines/reference/partiallyAnnotatedFunctionWitoutTypeParameter.js index 287d1f9fa9c9c..23e9eabb4ffbf 100644 --- a/tests/baselines/reference/partiallyAnnotatedFunctionWitoutTypeParameter.js +++ b/tests/baselines/reference/partiallyAnnotatedFunctionWitoutTypeParameter.js @@ -9,5 +9,6 @@ simple((a, b: number) => {}) //// [partiallyAnnotatedFunctionWitoutTypeParameter.js] +"use strict"; simple(function (a, b) { }); simple(function (a, b) { }); diff --git a/tests/baselines/reference/partiallyDiscriminantedUnions.js b/tests/baselines/reference/partiallyDiscriminantedUnions.js index 748fa56016cc0..26149701dbdb8 100644 --- a/tests/baselines/reference/partiallyDiscriminantedUnions.js +++ b/tests/baselines/reference/partiallyDiscriminantedUnions.js @@ -49,6 +49,7 @@ function fail(s: Shapes) { } //// [partiallyDiscriminantedUnions.js] +"use strict"; // Repro from #10586 var ab = {}; if (ab.type === 'a') { diff --git a/tests/baselines/reference/partiallyNamedTuples.js b/tests/baselines/reference/partiallyNamedTuples.js index 8d497fe5dd55c..3daddd98a2a42 100644 --- a/tests/baselines/reference/partiallyNamedTuples.js +++ b/tests/baselines/reference/partiallyNamedTuples.js @@ -62,6 +62,7 @@ const output = test(input); //// [partiallyNamedTuples.js] +"use strict"; function fa1() { var args = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/pathsValidation1.js b/tests/baselines/reference/pathsValidation1.js index 34d211ea76ed1..e4ccdd90ea079 100644 --- a/tests/baselines/reference/pathsValidation1.js +++ b/tests/baselines/reference/pathsValidation1.js @@ -4,4 +4,5 @@ let x = 1; //// [a.js] +"use strict"; var x = 1; diff --git a/tests/baselines/reference/pathsValidation2.js b/tests/baselines/reference/pathsValidation2.js index d8c9bf9e71a98..5d75d0fe0f403 100644 --- a/tests/baselines/reference/pathsValidation2.js +++ b/tests/baselines/reference/pathsValidation2.js @@ -4,4 +4,5 @@ let x = 1; //// [a.js] +"use strict"; var x = 1; diff --git a/tests/baselines/reference/pathsValidation3.js b/tests/baselines/reference/pathsValidation3.js index 4ccacd3b1540d..303f205d0fa28 100644 --- a/tests/baselines/reference/pathsValidation3.js +++ b/tests/baselines/reference/pathsValidation3.js @@ -4,4 +4,5 @@ let x = 1; //// [a.js] +"use strict"; var x = 1; diff --git a/tests/baselines/reference/pickOfLargeObjectUnionWorks.js b/tests/baselines/reference/pickOfLargeObjectUnionWorks.js index fbe9db615a0e7..4a03b9e841731 100644 --- a/tests/baselines/reference/pickOfLargeObjectUnionWorks.js +++ b/tests/baselines/reference/pickOfLargeObjectUnionWorks.js @@ -82,4 +82,5 @@ interface Base { const xyz: Pick = {id: 'id'} //// [pickOfLargeObjectUnionWorks.js] +"use strict"; var xyz = { id: 'id' }; diff --git a/tests/baselines/reference/pinnedComments1.js b/tests/baselines/reference/pinnedComments1.js index dadcbfb7d1d1c..34d6ba26d94d8 100644 --- a/tests/baselines/reference/pinnedComments1.js +++ b/tests/baselines/reference/pinnedComments1.js @@ -12,6 +12,7 @@ class C { } //// [pinnedComments1.js] +"use strict"; /*!========= Keep this pinned comment ========= diff --git a/tests/baselines/reference/plainJSGrammarErrors2.js b/tests/baselines/reference/plainJSGrammarErrors2.js index 501dd231c198c..6c3b85c75ef27 100644 --- a/tests/baselines/reference/plainJSGrammarErrors2.js +++ b/tests/baselines/reference/plainJSGrammarErrors2.js @@ -13,6 +13,7 @@ export { default as A } from "./a"; //// [plainJSGrammarErrors2.js] +"use strict"; //// [a.js] export default 1; //// [b.js] diff --git a/tests/baselines/reference/plainJSGrammarErrors3.js b/tests/baselines/reference/plainJSGrammarErrors3.js index 73d2b189356bf..468957322b92f 100644 --- a/tests/baselines/reference/plainJSGrammarErrors3.js +++ b/tests/baselines/reference/plainJSGrammarErrors3.js @@ -9,7 +9,9 @@ function foo() { //// [plainJSGrammarErrors3.js] +"use strict"; //// [a.js] +"use strict"; function foo() { await new Promise(undefined); } diff --git a/tests/baselines/reference/plainJSGrammarErrors4.js b/tests/baselines/reference/plainJSGrammarErrors4.js index bced1d0c7f4c2..f3bf0462f0564 100644 --- a/tests/baselines/reference/plainJSGrammarErrors4.js +++ b/tests/baselines/reference/plainJSGrammarErrors4.js @@ -11,6 +11,7 @@ class A { //// [plainJSGrammarErrors4.js] +"use strict"; class A { #a; m() { diff --git a/tests/baselines/reference/plainJSRedeclare.js b/tests/baselines/reference/plainJSRedeclare.js index a973507552fca..ad2cab162ea05 100644 --- a/tests/baselines/reference/plainJSRedeclare.js +++ b/tests/baselines/reference/plainJSRedeclare.js @@ -7,6 +7,7 @@ orbitol.toExponential() //// [plainJSRedeclare.js] +"use strict"; var orbitol = 1; var orbitol = 1 + false; orbitol.toExponential(); diff --git a/tests/baselines/reference/plainJSRedeclare2.js b/tests/baselines/reference/plainJSRedeclare2.js index 9aabe2585bc54..e16d096f31463 100644 --- a/tests/baselines/reference/plainJSRedeclare2.js +++ b/tests/baselines/reference/plainJSRedeclare2.js @@ -7,6 +7,7 @@ orbitol.toExponential() //// [plainJSRedeclare.js] +"use strict"; var orbitol = 1; var orbitol = 1 + false; orbitol.toExponential(); diff --git a/tests/baselines/reference/plainJSRedeclare3.js b/tests/baselines/reference/plainJSRedeclare3.js index 153486ff8ba33..c819a9ae560e2 100644 --- a/tests/baselines/reference/plainJSRedeclare3.js +++ b/tests/baselines/reference/plainJSRedeclare3.js @@ -7,6 +7,7 @@ orbitol.toExponential() //// [plainJSRedeclare.js] +"use strict"; var orbitol = 1; var orbitol = 1 + false; orbitol.toExponential(); diff --git a/tests/baselines/reference/plainJSTypeErrors.js b/tests/baselines/reference/plainJSTypeErrors.js index 9760abb049307..60cf26f66c2cb 100644 --- a/tests/baselines/reference/plainJSTypeErrors.js +++ b/tests/baselines/reference/plainJSTypeErrors.js @@ -9,6 +9,7 @@ if ({} == {}) {} //// [plainJSTypeErrors.js] +"use strict"; // should error if ({} === {}) { } // should not error diff --git a/tests/baselines/reference/plusOperatorInvalidOperations.js b/tests/baselines/reference/plusOperatorInvalidOperations.js index 8935da3df64e1..e9b37884425ac 100644 --- a/tests/baselines/reference/plusOperatorInvalidOperations.js +++ b/tests/baselines/reference/plusOperatorInvalidOperations.js @@ -11,6 +11,7 @@ var result1 = b+; //expect error var result2 =+; //// [plusOperatorInvalidOperations.js] +"use strict"; // Unary operator + var b; // operand before + diff --git a/tests/baselines/reference/plusOperatorWithAnyOtherType.js b/tests/baselines/reference/plusOperatorWithAnyOtherType.js index 32203d8aa5694..c1da342407431 100644 --- a/tests/baselines/reference/plusOperatorWithAnyOtherType.js +++ b/tests/baselines/reference/plusOperatorWithAnyOtherType.js @@ -59,6 +59,7 @@ var ResultIsNumber19 = +(undefined + undefined); +M.n; //// [plusOperatorWithAnyOtherType.js] +"use strict"; // + operator on any type var ANY2 = ["", ""]; var obj1 = { x: function (s) { }, y: function (s1) { } }; diff --git a/tests/baselines/reference/plusOperatorWithBooleanType.js b/tests/baselines/reference/plusOperatorWithBooleanType.js index b2c7439db4960..177ecaf86c95c 100644 --- a/tests/baselines/reference/plusOperatorWithBooleanType.js +++ b/tests/baselines/reference/plusOperatorWithBooleanType.js @@ -38,6 +38,7 @@ var ResultIsNumber7 = +A.foo(); +M.n; //// [plusOperatorWithBooleanType.js] +"use strict"; function foo() { return true; } var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/plusOperatorWithEnumType.js b/tests/baselines/reference/plusOperatorWithEnumType.js index 17bf751a85c99..28e7abb821826 100644 --- a/tests/baselines/reference/plusOperatorWithEnumType.js +++ b/tests/baselines/reference/plusOperatorWithEnumType.js @@ -21,6 +21,7 @@ var ResultIsNumber4 = +(ENUM[0] + ENUM1["B"]); +ENUM, ENUM1; //// [plusOperatorWithEnumType.js] +"use strict"; // + operator on enum type var ENUM; (function (ENUM) { diff --git a/tests/baselines/reference/plusOperatorWithNumberType.js b/tests/baselines/reference/plusOperatorWithNumberType.js index d3ac188321f30..21b014ce9fabe 100644 --- a/tests/baselines/reference/plusOperatorWithNumberType.js +++ b/tests/baselines/reference/plusOperatorWithNumberType.js @@ -44,6 +44,7 @@ var ResultIsNumber11 = +(NUMBER + NUMBER); +objA.a, M.n; //// [plusOperatorWithNumberType.js] +"use strict"; var NUMBER1 = [1, 2]; function foo() { return 1; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/plusOperatorWithStringType.js b/tests/baselines/reference/plusOperatorWithStringType.js index 42d34eb6d8676..95d62a8d2892e 100644 --- a/tests/baselines/reference/plusOperatorWithStringType.js +++ b/tests/baselines/reference/plusOperatorWithStringType.js @@ -43,6 +43,7 @@ var ResultIsNumber12 = +STRING.charAt(0); +objA.a,M.n; //// [plusOperatorWithStringType.js] +"use strict"; var STRING1 = ["", "abc"]; function foo() { return "abc"; } var A = /** @class */ (function () { diff --git a/tests/baselines/reference/predicateSemantics.js b/tests/baselines/reference/predicateSemantics.js index 7bd7ca5aa3409..982f0a3abd448 100644 --- a/tests/baselines/reference/predicateSemantics.js +++ b/tests/baselines/reference/predicateSemantics.js @@ -94,6 +94,7 @@ tag`foo${1}` ?? 32; // ok //// [predicateSemantics.js] +"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; diff --git a/tests/baselines/reference/prefixIncrementAsOperandOfPlusExpression.js b/tests/baselines/reference/prefixIncrementAsOperandOfPlusExpression.js index 44f60d8d86823..a1e95be880b16 100644 --- a/tests/baselines/reference/prefixIncrementAsOperandOfPlusExpression.js +++ b/tests/baselines/reference/prefixIncrementAsOperandOfPlusExpression.js @@ -7,6 +7,7 @@ var y = 1; + ++y; //// [prefixIncrementAsOperandOfPlusExpression.js] +"use strict"; var x = 1; var y = 1; + ++x; diff --git a/tests/baselines/reference/prefixedNumberLiteralAssignToNumberLiteralType.js b/tests/baselines/reference/prefixedNumberLiteralAssignToNumberLiteralType.js index 50df48f522264..a5152cf09f653 100644 --- a/tests/baselines/reference/prefixedNumberLiteralAssignToNumberLiteralType.js +++ b/tests/baselines/reference/prefixedNumberLiteralAssignToNumberLiteralType.js @@ -6,5 +6,6 @@ let x: 1 = +1; let y: -1 = -1; //// [prefixedNumberLiteralAssignToNumberLiteralType.js] +"use strict"; var x = +1; var y = -1; diff --git a/tests/baselines/reference/preserveConstEnums.js b/tests/baselines/reference/preserveConstEnums.js index be752bfc0ae75..9cc2695920d58 100644 --- a/tests/baselines/reference/preserveConstEnums.js +++ b/tests/baselines/reference/preserveConstEnums.js @@ -6,6 +6,7 @@ const enum E { } //// [preserveConstEnums.js] +"use strict"; var E; (function (E) { E[E["Value"] = 1] = "Value"; diff --git a/tests/baselines/reference/prettyContextNotDebugAssertion.js b/tests/baselines/reference/prettyContextNotDebugAssertion.js index 07ca90bba290a..d6a47ef94a2fb 100644 --- a/tests/baselines/reference/prettyContextNotDebugAssertion.js +++ b/tests/baselines/reference/prettyContextNotDebugAssertion.js @@ -5,5 +5,6 @@ if (true) { //// [index.js] +"use strict"; if (true) { } diff --git a/tests/baselines/reference/prettyFileWithErrorsAndTabs.js b/tests/baselines/reference/prettyFileWithErrorsAndTabs.js index d019f06fb4079..02503f8d8d5d0 100644 --- a/tests/baselines/reference/prettyFileWithErrorsAndTabs.js +++ b/tests/baselines/reference/prettyFileWithErrorsAndTabs.js @@ -10,6 +10,7 @@ function f() { } //// [prettyFileWithErrorsAndTabs.js] +"use strict"; function f() { { var x = 12; diff --git a/tests/baselines/reference/primaryExpressionMods.js b/tests/baselines/reference/primaryExpressionMods.js index f30ed1792e3ca..0646d13e65c70 100644 --- a/tests/baselines/reference/primaryExpressionMods.js +++ b/tests/baselines/reference/primaryExpressionMods.js @@ -15,6 +15,7 @@ var q: m.P; // Error //// [primaryExpressionMods.js] +"use strict"; var M; (function (M) { M.a = 1; diff --git a/tests/baselines/reference/primitiveConstraints1.js b/tests/baselines/reference/primitiveConstraints1.js index 76fdeade40e67..44bd6523ba0f6 100644 --- a/tests/baselines/reference/primitiveConstraints1.js +++ b/tests/baselines/reference/primitiveConstraints1.js @@ -9,6 +9,7 @@ foo2(1, 'hm'); // error //// [primitiveConstraints1.js] +"use strict"; function foo1(t, u) { } foo1('hm', 1); // no error function foo2(t, u) { } diff --git a/tests/baselines/reference/primitiveConstraints2.js b/tests/baselines/reference/primitiveConstraints2.js index 8e706800ff937..49b5e530c7624 100644 --- a/tests/baselines/reference/primitiveConstraints2.js +++ b/tests/baselines/reference/primitiveConstraints2.js @@ -12,6 +12,7 @@ x.bar2(2, ""); // should error x.bar2(2, ""); // should error //// [primitiveConstraints2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/primitiveMembers.js b/tests/baselines/reference/primitiveMembers.js index 924f510714a52..d784a1051fa35 100644 --- a/tests/baselines/reference/primitiveMembers.js +++ b/tests/baselines/reference/primitiveMembers.js @@ -34,6 +34,7 @@ class foo extends baz { public bar(){ return undefined}; } //// [primitiveMembers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/primitiveTypeAsClassName.js b/tests/baselines/reference/primitiveTypeAsClassName.js index 89e213cb92f99..49852bfc974a6 100644 --- a/tests/baselines/reference/primitiveTypeAsClassName.js +++ b/tests/baselines/reference/primitiveTypeAsClassName.js @@ -4,6 +4,7 @@ class any {} //// [primitiveTypeAsClassName.js] +"use strict"; var any = /** @class */ (function () { function any() { } diff --git a/tests/baselines/reference/primitiveTypeAsInterfaceName.js b/tests/baselines/reference/primitiveTypeAsInterfaceName.js index 59fce139b25fd..82a910eb80561 100644 --- a/tests/baselines/reference/primitiveTypeAsInterfaceName.js +++ b/tests/baselines/reference/primitiveTypeAsInterfaceName.js @@ -4,3 +4,4 @@ interface number {} //// [primitiveTypeAsInterfaceName.js] +"use strict"; diff --git a/tests/baselines/reference/primitiveTypeAsInterfaceNameGeneric.js b/tests/baselines/reference/primitiveTypeAsInterfaceNameGeneric.js index f183c8879a81e..e859a21058125 100644 --- a/tests/baselines/reference/primitiveTypeAsInterfaceNameGeneric.js +++ b/tests/baselines/reference/primitiveTypeAsInterfaceNameGeneric.js @@ -4,3 +4,4 @@ interface number {} //// [primitiveTypeAsInterfaceNameGeneric.js] +"use strict"; diff --git a/tests/baselines/reference/primitiveTypeAsmoduleName.js b/tests/baselines/reference/primitiveTypeAsmoduleName.js index 9d460d2d0b050..c7703c16ed125 100644 --- a/tests/baselines/reference/primitiveTypeAsmoduleName.js +++ b/tests/baselines/reference/primitiveTypeAsmoduleName.js @@ -4,3 +4,4 @@ namespace string {} //// [primitiveTypeAsmoduleName.js] +"use strict"; diff --git a/tests/baselines/reference/primitiveTypeAssignment.js b/tests/baselines/reference/primitiveTypeAssignment.js index 21f9164bbcce8..4141a15759bbc 100644 --- a/tests/baselines/reference/primitiveTypeAssignment.js +++ b/tests/baselines/reference/primitiveTypeAssignment.js @@ -9,6 +9,7 @@ var z = boolean; //// [primitiveTypeAssignment.js] +"use strict"; var x = any; var y = number; var z = boolean; diff --git a/tests/baselines/reference/primtiveTypesAreIdentical.js b/tests/baselines/reference/primtiveTypesAreIdentical.js index 29305dcb1b65f..6eed87da50550 100644 --- a/tests/baselines/reference/primtiveTypesAreIdentical.js +++ b/tests/baselines/reference/primtiveTypesAreIdentical.js @@ -34,6 +34,7 @@ function foo7(x: void); function foo7(x: any) { } //// [primtiveTypesAreIdentical.js] +"use strict"; // primitive types are identical to themselves so these overloads will all cause errors function foo1(x) { } function foo2(x) { } diff --git a/tests/baselines/reference/privacyAccessorDeclFile.js b/tests/baselines/reference/privacyAccessorDeclFile.js index 65ebe27871b20..79d1ad4e0037b 100644 --- a/tests/baselines/reference/privacyAccessorDeclFile.js +++ b/tests/baselines/reference/privacyAccessorDeclFile.js @@ -2500,6 +2500,7 @@ var privateModule; }()); })(privateModule || (privateModule = {})); //// [privacyAccessorDeclFile_GlobalFile.js] +"use strict"; var publicClassInGlobal = /** @class */ (function () { function publicClassInGlobal() { } diff --git a/tests/baselines/reference/privacyCannotNameAccessorDeclFile.js b/tests/baselines/reference/privacyCannotNameAccessorDeclFile.js index 3ae0546561826..bcc8fc0451aeb 100644 --- a/tests/baselines/reference/privacyCannotNameAccessorDeclFile.js +++ b/tests/baselines/reference/privacyCannotNameAccessorDeclFile.js @@ -136,6 +136,7 @@ class privateClassWithPrivateModuleGetAccessorTypes { } //// [privacyCannotNameAccessorDeclFile_GlobalWidgets.js] +"use strict"; //// [privacyCannotNameAccessorDeclFile_Widgets.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/privacyCannotNameVarTypeDeclFile.js b/tests/baselines/reference/privacyCannotNameVarTypeDeclFile.js index ef84c9ccfd86a..ee1040cf39ec4 100644 --- a/tests/baselines/reference/privacyCannotNameVarTypeDeclFile.js +++ b/tests/baselines/reference/privacyCannotNameVarTypeDeclFile.js @@ -99,6 +99,7 @@ var privateVarWithPrivateModulePropertyTypes= exporter.createExportedWidget2(); var privateVarWithPrivateModulePropertyTypes1 = exporter.createExportedWidget4(); //// [privacyCannotNameVarTypeDeclFile_GlobalWidgets.js] +"use strict"; //// [privacyCannotNameVarTypeDeclFile_Widgets.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/privacyCheckTypeOfInvisibleModuleError.js b/tests/baselines/reference/privacyCheckTypeOfInvisibleModuleError.js index 08b5d75ef015d..5a4285bd1707f 100644 --- a/tests/baselines/reference/privacyCheckTypeOfInvisibleModuleError.js +++ b/tests/baselines/reference/privacyCheckTypeOfInvisibleModuleError.js @@ -11,6 +11,7 @@ namespace Outer { //// [privacyCheckTypeOfInvisibleModuleError.js] +"use strict"; var Outer; (function (Outer) { var Inner; diff --git a/tests/baselines/reference/privacyCheckTypeOfInvisibleModuleNoError.js b/tests/baselines/reference/privacyCheckTypeOfInvisibleModuleNoError.js index 5dfcac0649acf..4fd5ce67438be 100644 --- a/tests/baselines/reference/privacyCheckTypeOfInvisibleModuleNoError.js +++ b/tests/baselines/reference/privacyCheckTypeOfInvisibleModuleNoError.js @@ -11,6 +11,7 @@ namespace Outer { //// [privacyCheckTypeOfInvisibleModuleNoError.js] +"use strict"; var Outer; (function (Outer) { var Inner; diff --git a/tests/baselines/reference/privacyClassExtendsClauseDeclFile.js b/tests/baselines/reference/privacyClassExtendsClauseDeclFile.js index f84de005ebc8b..ab4aba7865350 100644 --- a/tests/baselines/reference/privacyClassExtendsClauseDeclFile.js +++ b/tests/baselines/reference/privacyClassExtendsClauseDeclFile.js @@ -296,6 +296,7 @@ var publicClassExtendingFromPrivateModuleClass = /** @class */ (function (_super }(privateModule.publicClassInPrivateModule)); exports.publicClassExtendingFromPrivateModuleClass = publicClassExtendingFromPrivateModuleClass; //// [privacyClassExtendsClauseDeclFile_GlobalFile.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/privacyClassImplementsClauseDeclFile.js b/tests/baselines/reference/privacyClassImplementsClauseDeclFile.js index 3d2087e262ba1..f8a5b5cbb6eab 100644 --- a/tests/baselines/reference/privacyClassImplementsClauseDeclFile.js +++ b/tests/baselines/reference/privacyClassImplementsClauseDeclFile.js @@ -209,6 +209,7 @@ var publicClassImplementingFromPrivateModuleInterface = /** @class */ (function }()); exports.publicClassImplementingFromPrivateModuleInterface = publicClassImplementingFromPrivateModuleInterface; //// [privacyClassImplementsClauseDeclFile_GlobalFile.js] +"use strict"; var publicModuleInGlobal; (function (publicModuleInGlobal) { var privateClassImplementingPublicInterfaceInModule = /** @class */ (function () { diff --git a/tests/baselines/reference/privacyFunc.js b/tests/baselines/reference/privacyFunc.js index 225b982fda68f..0f5a5cbe4a9da 100644 --- a/tests/baselines/reference/privacyFunc.js +++ b/tests/baselines/reference/privacyFunc.js @@ -231,6 +231,7 @@ function f10_public(): C6_public { //// [privacyFunc.js] +"use strict"; var m1; (function (m1) { var C1_public = /** @class */ (function () { diff --git a/tests/baselines/reference/privacyFunctionCannotNameParameterTypeDeclFile.js b/tests/baselines/reference/privacyFunctionCannotNameParameterTypeDeclFile.js index b69fab29cbcaf..af4da5104acdd 100644 --- a/tests/baselines/reference/privacyFunctionCannotNameParameterTypeDeclFile.js +++ b/tests/baselines/reference/privacyFunctionCannotNameParameterTypeDeclFile.js @@ -155,6 +155,7 @@ function privateFunctionWithPrivateModuleParameterTypes1(param= exporter.createE } //// [privacyFunctionCannotNameParameterTypeDeclFile_GlobalWidgets.js] +"use strict"; //// [privacyFunctionCannotNameParameterTypeDeclFile_Widgets.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/privacyFunctionCannotNameReturnTypeDeclFile.js b/tests/baselines/reference/privacyFunctionCannotNameReturnTypeDeclFile.js index bd4cd833c0e90..a725ddd3cab00 100644 --- a/tests/baselines/reference/privacyFunctionCannotNameReturnTypeDeclFile.js +++ b/tests/baselines/reference/privacyFunctionCannotNameReturnTypeDeclFile.js @@ -162,6 +162,7 @@ function privateFunctionWithPrivateModuleReturnTypes1() { //// [privacyFunctionReturnTypeDeclFile_GlobalWidgets.js] +"use strict"; //// [privacyFunctionReturnTypeDeclFile_Widgets.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/privacyFunctionParameterDeclFile.js b/tests/baselines/reference/privacyFunctionParameterDeclFile.js index e977e4a85b801..d893d3a05bbe9 100644 --- a/tests/baselines/reference/privacyFunctionParameterDeclFile.js +++ b/tests/baselines/reference/privacyFunctionParameterDeclFile.js @@ -1029,6 +1029,7 @@ var privateModule; } })(privateModule || (privateModule = {})); //// [privacyFunctionParameterDeclFile_GlobalFile.js] +"use strict"; var publicClassInGlobal = /** @class */ (function () { function publicClassInGlobal() { } diff --git a/tests/baselines/reference/privacyFunctionReturnTypeDeclFile.js b/tests/baselines/reference/privacyFunctionReturnTypeDeclFile.js index ed09d0e3e4f24..bc0ab92d2746e 100644 --- a/tests/baselines/reference/privacyFunctionReturnTypeDeclFile.js +++ b/tests/baselines/reference/privacyFunctionReturnTypeDeclFile.js @@ -1821,6 +1821,7 @@ var privateModule; } })(privateModule || (privateModule = {})); //// [privacyFunctionReturnTypeDeclFile_GlobalFile.js] +"use strict"; var publicClassInGlobal = /** @class */ (function () { function publicClassInGlobal() { } diff --git a/tests/baselines/reference/privacyGloClass.js b/tests/baselines/reference/privacyGloClass.js index 82540b591843a..9067b063973c9 100644 --- a/tests/baselines/reference/privacyGloClass.js +++ b/tests/baselines/reference/privacyGloClass.js @@ -63,6 +63,7 @@ class glo_C11_public extends glo_c_public implements glo_i_public { //// [privacyGloClass.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/privacyGloGetter.js b/tests/baselines/reference/privacyGloGetter.js index 96125ec8a4be0..08dc378d04b49 100644 --- a/tests/baselines/reference/privacyGloGetter.js +++ b/tests/baselines/reference/privacyGloGetter.js @@ -91,6 +91,7 @@ class C7_public { } //// [privacyGloGetter.js] +"use strict"; var m1; (function (m1) { var C1_public = /** @class */ (function () { diff --git a/tests/baselines/reference/privacyGloImport.js b/tests/baselines/reference/privacyGloImport.js index 41b462e7b6091..105d343ab8c4c 100644 --- a/tests/baselines/reference/privacyGloImport.js +++ b/tests/baselines/reference/privacyGloImport.js @@ -155,6 +155,7 @@ namespace m2 { } //// [privacyGloImport.js] +"use strict"; var m1; (function (m1) { var m1_M1_public; diff --git a/tests/baselines/reference/privacyGloImportParseErrors.js b/tests/baselines/reference/privacyGloImportParseErrors.js index fcd45dc195662..5496d250c1805 100644 --- a/tests/baselines/reference/privacyGloImportParseErrors.js +++ b/tests/baselines/reference/privacyGloImportParseErrors.js @@ -155,6 +155,7 @@ namespace m2 { } //// [privacyGloImportParseErrors.js] +"use strict"; var m1; (function (m1) { var m1_M1_public; diff --git a/tests/baselines/reference/privacyGloInterface.js b/tests/baselines/reference/privacyGloInterface.js index 16a0d9ec8db7e..3d1ccfc4499c2 100644 --- a/tests/baselines/reference/privacyGloInterface.js +++ b/tests/baselines/reference/privacyGloInterface.js @@ -122,6 +122,7 @@ interface glo_C3_public extends glo_i_public { //// [privacyGloInterface.js] +"use strict"; var m1; (function (m1) { var C1_public = /** @class */ (function () { diff --git a/tests/baselines/reference/privacyGloVar.js b/tests/baselines/reference/privacyGloVar.js index 17ebfd2fb26e0..88da4135006ea 100644 --- a/tests/baselines/reference/privacyGloVar.js +++ b/tests/baselines/reference/privacyGloVar.js @@ -83,6 +83,7 @@ var glo_v22_public: glo_C1_public = new glo_C1_public(); //// [privacyGloVar.js] +"use strict"; var m1; (function (m1) { var C1_public = /** @class */ (function () { diff --git a/tests/baselines/reference/privacyInterfaceExtendsClauseDeclFile.js b/tests/baselines/reference/privacyInterfaceExtendsClauseDeclFile.js index b3fd02d95c5c2..6c52ed70c92df 100644 --- a/tests/baselines/reference/privacyInterfaceExtendsClauseDeclFile.js +++ b/tests/baselines/reference/privacyInterfaceExtendsClauseDeclFile.js @@ -97,6 +97,7 @@ interface publicInterfaceImplementingPublicInterfaceInGlobal extends publicInter "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); //// [privacyInterfaceExtendsClauseDeclFile_GlobalFile.js] +"use strict"; //// [privacyInterfaceExtendsClauseDeclFile_externalModule.d.ts] diff --git a/tests/baselines/reference/privacyTopLevelAmbientExternalModuleImportWithExport.js b/tests/baselines/reference/privacyTopLevelAmbientExternalModuleImportWithExport.js index e0d7025b3f048..7ad45c1f9aa90 100644 --- a/tests/baselines/reference/privacyTopLevelAmbientExternalModuleImportWithExport.js +++ b/tests/baselines/reference/privacyTopLevelAmbientExternalModuleImportWithExport.js @@ -49,7 +49,9 @@ export var publicUse_im_public_mi_public = new im_public_mi_public.c_private(); //// [privacyTopLevelAmbientExternalModuleImportWithExport_require2.js] +"use strict"; //// [privacyTopLevelAmbientExternalModuleImportWithExport_require3.js] +"use strict"; //// [privacyTopLevelAmbientExternalModuleImportWithExport_require.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/privacyTopLevelAmbientExternalModuleImportWithoutExport.js b/tests/baselines/reference/privacyTopLevelAmbientExternalModuleImportWithoutExport.js index 22660575e21ed..9bce3537e54fb 100644 --- a/tests/baselines/reference/privacyTopLevelAmbientExternalModuleImportWithoutExport.js +++ b/tests/baselines/reference/privacyTopLevelAmbientExternalModuleImportWithoutExport.js @@ -48,7 +48,9 @@ export var publicUse_im_private_mi_public = new im_private_mi_public.c_public(); //// [privacyTopLevelAmbientExternalModuleImportWithoutExport_require2.js] +"use strict"; //// [privacyTopLevelAmbientExternalModuleImportWithoutExport_require3.js] +"use strict"; //// [privacyTopLevelAmbientExternalModuleImportWithoutExport_require.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/privacyVarDeclFile.js b/tests/baselines/reference/privacyVarDeclFile.js index 254ae0dd777da..f825ecc7c5428 100644 --- a/tests/baselines/reference/privacyVarDeclFile.js +++ b/tests/baselines/reference/privacyVarDeclFile.js @@ -576,6 +576,7 @@ var privateModule; var privateVarWithPrivateModulePropertyTypes; })(privateModule || (privateModule = {})); //// [privacyVarDeclFile_GlobalFile.js] +"use strict"; var publicClassInGlobal = /** @class */ (function () { function publicClassInGlobal() { } diff --git a/tests/baselines/reference/privateAccessInSubclass1.js b/tests/baselines/reference/privateAccessInSubclass1.js index c86bb6792b8ed..aaad40122c359 100644 --- a/tests/baselines/reference/privateAccessInSubclass1.js +++ b/tests/baselines/reference/privateAccessInSubclass1.js @@ -12,6 +12,7 @@ class D extends Base { } //// [privateAccessInSubclass1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/privateClassPropertyAccessibleWithinClass.js b/tests/baselines/reference/privateClassPropertyAccessibleWithinClass.js index 00c073e4235b4..cc646b9ee6116 100644 --- a/tests/baselines/reference/privateClassPropertyAccessibleWithinClass.js +++ b/tests/baselines/reference/privateClassPropertyAccessibleWithinClass.js @@ -34,6 +34,7 @@ class C2 { //// [privateClassPropertyAccessibleWithinClass.js] +"use strict"; // no errors var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/privateClassPropertyAccessibleWithinNestedClass.js b/tests/baselines/reference/privateClassPropertyAccessibleWithinNestedClass.js index 8ef5a8fe0555c..698c52c8e79f0 100644 --- a/tests/baselines/reference/privateClassPropertyAccessibleWithinNestedClass.js +++ b/tests/baselines/reference/privateClassPropertyAccessibleWithinNestedClass.js @@ -40,6 +40,7 @@ class C { } //// [privateClassPropertyAccessibleWithinNestedClass.js] +"use strict"; // no errors var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/privateConstructorFunction.errors.txt b/tests/baselines/reference/privateConstructorFunction.errors.txt new file mode 100644 index 0000000000000..ca88b72f7fa1d --- /dev/null +++ b/tests/baselines/reference/privateConstructorFunction.errors.txt @@ -0,0 +1,17 @@ +privateConstructorFunction.js(6,14): error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + + +==== privateConstructorFunction.js (1 errors) ==== + { + // make sure not to crash when parent's a block rather than a source file or some other + // symbol-having node. + + /** @private */ + function C() { + ~ +!!! error TS1250: Function declarations are not allowed inside blocks in strict mode when targeting 'ES5'. + this.x = 1 + } + new C() + } + \ No newline at end of file diff --git a/tests/baselines/reference/privateConstructorFunction.js b/tests/baselines/reference/privateConstructorFunction.js index 473d78c308694..0501cb8a653f1 100644 --- a/tests/baselines/reference/privateConstructorFunction.js +++ b/tests/baselines/reference/privateConstructorFunction.js @@ -14,6 +14,7 @@ //// [privateConstructorFunction.js] +"use strict"; { // make sure not to crash when parent's a block rather than a source file or some other // symbol-having node. @@ -26,8 +27,3 @@ //// [privateConstructorFunction.d.ts] -/** @private */ -declare function C(): void; -declare class C { - x: number; -} diff --git a/tests/baselines/reference/privateConstructorFunction.types b/tests/baselines/reference/privateConstructorFunction.types index 4204a947a4599..23bbb85de79c0 100644 --- a/tests/baselines/reference/privateConstructorFunction.types +++ b/tests/baselines/reference/privateConstructorFunction.types @@ -14,6 +14,7 @@ >this.x = 1 : 1 > : ^ >this.x : any +> : ^^^ >this : this > : ^^^^ >x : any diff --git a/tests/baselines/reference/privateIndexer.js b/tests/baselines/reference/privateIndexer.js index caf338ed2e7cd..065b8b45b8047 100644 --- a/tests/baselines/reference/privateIndexer.js +++ b/tests/baselines/reference/privateIndexer.js @@ -16,6 +16,7 @@ class E { } //// [privateIndexer.js] +"use strict"; // private indexers not allowed var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/privateIndexer2.js b/tests/baselines/reference/privateIndexer2.js index 89886da271711..22f522652107f 100644 --- a/tests/baselines/reference/privateIndexer2.js +++ b/tests/baselines/reference/privateIndexer2.js @@ -12,6 +12,7 @@ var y: { } //// [privateIndexer2.js] +"use strict"; // private indexers not allowed var _a; var x = (_a = {}, diff --git a/tests/baselines/reference/privateInstanceMemberAccessibility.js b/tests/baselines/reference/privateInstanceMemberAccessibility.js index e1675acb21c0c..bae13e7f22e01 100644 --- a/tests/baselines/reference/privateInstanceMemberAccessibility.js +++ b/tests/baselines/reference/privateInstanceMemberAccessibility.js @@ -16,6 +16,7 @@ class Derived extends Base { } //// [privateInstanceMemberAccessibility.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/privateInstanceVisibility.js b/tests/baselines/reference/privateInstanceVisibility.js index e1ca4a6356f3f..f3a803a8f7677 100644 --- a/tests/baselines/reference/privateInstanceVisibility.js +++ b/tests/baselines/reference/privateInstanceVisibility.js @@ -41,6 +41,7 @@ class C { //// [privateInstanceVisibility.js] +"use strict"; var Test; (function (Test) { var Example = /** @class */ (function () { diff --git a/tests/baselines/reference/privateInterfaceProperties.js b/tests/baselines/reference/privateInterfaceProperties.js index 65b9950555b11..91a2ec1c562c9 100644 --- a/tests/baselines/reference/privateInterfaceProperties.js +++ b/tests/baselines/reference/privateInterfaceProperties.js @@ -12,6 +12,7 @@ class c2 implements i1 { public name:string; } //// [privateInterfaceProperties.js] +"use strict"; // should be an error var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/privateNameAccessorsAccess.js b/tests/baselines/reference/privateNameAccessorsAccess.js index 3957421b2494c..9a45017ba4d1e 100644 --- a/tests/baselines/reference/privateNameAccessorsAccess.js +++ b/tests/baselines/reference/privateNameAccessorsAccess.js @@ -28,6 +28,7 @@ class B2 { //// [privateNameAccessorsAccess.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameAccessorsCallExpression.js b/tests/baselines/reference/privateNameAccessorsCallExpression.js index 3d6df4db9528e..114a87ec261c3 100644 --- a/tests/baselines/reference/privateNameAccessorsCallExpression.js +++ b/tests/baselines/reference/privateNameAccessorsCallExpression.js @@ -21,6 +21,7 @@ class A { } //// [privateNameAccessorsCallExpression.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameAccessorssDerivedClasses.js b/tests/baselines/reference/privateNameAccessorssDerivedClasses.js index f2c1adc2011fb..e8257aa52c6b7 100644 --- a/tests/baselines/reference/privateNameAccessorssDerivedClasses.js +++ b/tests/baselines/reference/privateNameAccessorssDerivedClasses.js @@ -15,6 +15,7 @@ class Derived extends Base { //// [privateNameAccessorssDerivedClasses.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameAmbientNoImplicitAny.js b/tests/baselines/reference/privateNameAmbientNoImplicitAny.js index 6b01757a0a3d3..7f5ee3b96befb 100644 --- a/tests/baselines/reference/privateNameAmbientNoImplicitAny.js +++ b/tests/baselines/reference/privateNameAmbientNoImplicitAny.js @@ -9,6 +9,7 @@ class B { } //// [privateNameAmbientNoImplicitAny.js] +"use strict"; class B { #prop; } diff --git a/tests/baselines/reference/privateNameAndPropertySignature.js b/tests/baselines/reference/privateNameAndPropertySignature.js index de8059732a4a9..2267c00adcc7f 100644 --- a/tests/baselines/reference/privateNameAndPropertySignature.js +++ b/tests/baselines/reference/privateNameAndPropertySignature.js @@ -24,3 +24,4 @@ declare const y: [{ qux: { #quux: 3 } }]; //// [privateNameAndPropertySignature.js] +"use strict"; diff --git a/tests/baselines/reference/privateNameAndStaticInitializer(target=es2015).js b/tests/baselines/reference/privateNameAndStaticInitializer(target=es2015).js index 53558be8e5ff0..e698f699112d6 100644 --- a/tests/baselines/reference/privateNameAndStaticInitializer(target=es2015).js +++ b/tests/baselines/reference/privateNameAndStaticInitializer(target=es2015).js @@ -10,6 +10,7 @@ class A { //// [privateNameAndStaticInitializer.js] +"use strict"; var _A_foo, _A_prop; class A { constructor() { diff --git a/tests/baselines/reference/privateNameAndStaticInitializer(target=es2022).js b/tests/baselines/reference/privateNameAndStaticInitializer(target=es2022).js index 1ddf521504c0f..d69754d9269ee 100644 --- a/tests/baselines/reference/privateNameAndStaticInitializer(target=es2022).js +++ b/tests/baselines/reference/privateNameAndStaticInitializer(target=es2022).js @@ -10,6 +10,7 @@ class A { //// [privateNameAndStaticInitializer.js] +"use strict"; class A { #foo = 1; static inst = new A(); diff --git a/tests/baselines/reference/privateNameAndStaticInitializer(target=esnext).js b/tests/baselines/reference/privateNameAndStaticInitializer(target=esnext).js index 1ddf521504c0f..d69754d9269ee 100644 --- a/tests/baselines/reference/privateNameAndStaticInitializer(target=esnext).js +++ b/tests/baselines/reference/privateNameAndStaticInitializer(target=esnext).js @@ -10,6 +10,7 @@ class A { //// [privateNameAndStaticInitializer.js] +"use strict"; class A { #foo = 1; static inst = new A(); diff --git a/tests/baselines/reference/privateNameBadAssignment.js b/tests/baselines/reference/privateNameBadAssignment.js index 706f1e6148636..6cc5b1e7d9e7b 100644 --- a/tests/baselines/reference/privateNameBadAssignment.js +++ b/tests/baselines/reference/privateNameBadAssignment.js @@ -18,6 +18,7 @@ class C { //// [privateNameBadAssignment.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameBadDeclaration.js b/tests/baselines/reference/privateNameBadDeclaration.js index a50cca6788fb2..eb73b559c86c7 100644 --- a/tests/baselines/reference/privateNameBadDeclaration.js +++ b/tests/baselines/reference/privateNameBadDeclaration.js @@ -20,6 +20,7 @@ class C { } //// [privateNameBadDeclaration.js] +"use strict"; function A() { } A.prototype = { : 1, // Error diff --git a/tests/baselines/reference/privateNameBadSuper.js b/tests/baselines/reference/privateNameBadSuper.js index 0194e39a45f05..dee04b2760b09 100644 --- a/tests/baselines/reference/privateNameBadSuper.js +++ b/tests/baselines/reference/privateNameBadSuper.js @@ -11,6 +11,7 @@ class A extends B { } //// [privateNameBadSuper.js] +"use strict"; var _A_x; class B { } diff --git a/tests/baselines/reference/privateNameBadSuperUseDefineForClassFields(target=es2022).js b/tests/baselines/reference/privateNameBadSuperUseDefineForClassFields(target=es2022).js index ee7ceb1ccb22d..ebe39af34f37f 100644 --- a/tests/baselines/reference/privateNameBadSuperUseDefineForClassFields(target=es2022).js +++ b/tests/baselines/reference/privateNameBadSuperUseDefineForClassFields(target=es2022).js @@ -12,6 +12,7 @@ class A extends B { //// [privateNameBadSuperUseDefineForClassFields.js] +"use strict"; class B { } ; diff --git a/tests/baselines/reference/privateNameBadSuperUseDefineForClassFields(target=esnext).js b/tests/baselines/reference/privateNameBadSuperUseDefineForClassFields(target=esnext).js index ee7ceb1ccb22d..ebe39af34f37f 100644 --- a/tests/baselines/reference/privateNameBadSuperUseDefineForClassFields(target=esnext).js +++ b/tests/baselines/reference/privateNameBadSuperUseDefineForClassFields(target=esnext).js @@ -12,6 +12,7 @@ class A extends B { //// [privateNameBadSuperUseDefineForClassFields.js] +"use strict"; class B { } ; diff --git a/tests/baselines/reference/privateNameClassExpressionLoop.js b/tests/baselines/reference/privateNameClassExpressionLoop.js index d247521b00f69..4b6936bbb6416 100644 --- a/tests/baselines/reference/privateNameClassExpressionLoop.js +++ b/tests/baselines/reference/privateNameClassExpressionLoop.js @@ -13,6 +13,7 @@ for (let i = 0; i < 10; ++i) { //// [privateNameClassExpressionLoop.js] +"use strict"; var _a; const array = []; for (let i = 0; i < 10; ++i) { diff --git a/tests/baselines/reference/privateNameComputedPropertyName1(target=es2015).js b/tests/baselines/reference/privateNameComputedPropertyName1(target=es2015).js index 171b6233145c5..513fff203e683 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName1(target=es2015).js +++ b/tests/baselines/reference/privateNameComputedPropertyName1(target=es2015).js @@ -40,6 +40,7 @@ new A().test(); //// [privateNameComputedPropertyName1.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameComputedPropertyName1(target=es2022).js b/tests/baselines/reference/privateNameComputedPropertyName1(target=es2022).js index fcde4defcbe14..fe9c04aa6e1f2 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName1(target=es2022).js +++ b/tests/baselines/reference/privateNameComputedPropertyName1(target=es2022).js @@ -40,6 +40,7 @@ new A().test(); //// [privateNameComputedPropertyName1.js] +"use strict"; class A { #a = 'a'; #b; diff --git a/tests/baselines/reference/privateNameComputedPropertyName1(target=esnext).js b/tests/baselines/reference/privateNameComputedPropertyName1(target=esnext).js index fcde4defcbe14..fe9c04aa6e1f2 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName1(target=esnext).js +++ b/tests/baselines/reference/privateNameComputedPropertyName1(target=esnext).js @@ -40,6 +40,7 @@ new A().test(); //// [privateNameComputedPropertyName1.js] +"use strict"; class A { #a = 'a'; #b; diff --git a/tests/baselines/reference/privateNameComputedPropertyName2(target=es2015).js b/tests/baselines/reference/privateNameComputedPropertyName2(target=es2015).js index dbe331ad8b542..d170753346d05 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName2(target=es2015).js +++ b/tests/baselines/reference/privateNameComputedPropertyName2(target=es2015).js @@ -12,6 +12,7 @@ console.log(getX(new A)); //// [privateNameComputedPropertyName2.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameComputedPropertyName2(target=es2022).js b/tests/baselines/reference/privateNameComputedPropertyName2(target=es2022).js index da8b47bea9531..f8991c7a7a3c6 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName2(target=es2022).js +++ b/tests/baselines/reference/privateNameComputedPropertyName2(target=es2022).js @@ -12,6 +12,7 @@ console.log(getX(new A)); //// [privateNameComputedPropertyName2.js] +"use strict"; let getX; class A { #x = 100; diff --git a/tests/baselines/reference/privateNameComputedPropertyName2(target=esnext).js b/tests/baselines/reference/privateNameComputedPropertyName2(target=esnext).js index da8b47bea9531..f8991c7a7a3c6 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName2(target=esnext).js +++ b/tests/baselines/reference/privateNameComputedPropertyName2(target=esnext).js @@ -12,6 +12,7 @@ console.log(getX(new A)); //// [privateNameComputedPropertyName2.js] +"use strict"; let getX; class A { #x = 100; diff --git a/tests/baselines/reference/privateNameComputedPropertyName3(target=es2015).js b/tests/baselines/reference/privateNameComputedPropertyName3(target=es2015).js index 1fda52ab934e6..eb88de36f5d44 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName3(target=es2015).js +++ b/tests/baselines/reference/privateNameComputedPropertyName3(target=es2015).js @@ -27,6 +27,7 @@ console.log(new Foo("NAME").getValue(100)); //// [privateNameComputedPropertyName3.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameComputedPropertyName3(target=es2022).js b/tests/baselines/reference/privateNameComputedPropertyName3(target=es2022).js index d911eaa76ebb8..f4bcfecbe9fbd 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName3(target=es2022).js +++ b/tests/baselines/reference/privateNameComputedPropertyName3(target=es2022).js @@ -27,6 +27,7 @@ console.log(new Foo("NAME").getValue(100)); //// [privateNameComputedPropertyName3.js] +"use strict"; class Foo { #name; constructor(name) { diff --git a/tests/baselines/reference/privateNameComputedPropertyName3(target=esnext).js b/tests/baselines/reference/privateNameComputedPropertyName3(target=esnext).js index d911eaa76ebb8..f4bcfecbe9fbd 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName3(target=esnext).js +++ b/tests/baselines/reference/privateNameComputedPropertyName3(target=esnext).js @@ -27,6 +27,7 @@ console.log(new Foo("NAME").getValue(100)); //// [privateNameComputedPropertyName3.js] +"use strict"; class Foo { #name; constructor(name) { diff --git a/tests/baselines/reference/privateNameComputedPropertyName4(target=es2015).js b/tests/baselines/reference/privateNameComputedPropertyName4(target=es2015).js index 6b7e68864c03e..a1ea9f3830abb 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName4(target=es2015).js +++ b/tests/baselines/reference/privateNameComputedPropertyName4(target=es2015).js @@ -17,6 +17,7 @@ class C3 { //// [privateNameComputedPropertyName4.js] +"use strict"; var _a, _C1_qux, _b, _C2_qux, _c, _C3_qux; // https://github.com/microsoft/TypeScript/issues/44113 class C1 { diff --git a/tests/baselines/reference/privateNameComputedPropertyName4(target=es2022).js b/tests/baselines/reference/privateNameComputedPropertyName4(target=es2022).js index 3c82e019fbbcd..1d0804d088d8a 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName4(target=es2022).js +++ b/tests/baselines/reference/privateNameComputedPropertyName4(target=es2022).js @@ -17,6 +17,7 @@ class C3 { //// [privateNameComputedPropertyName4.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/44113 class C1 { static #qux = 42; diff --git a/tests/baselines/reference/privateNameComputedPropertyName4(target=esnext).js b/tests/baselines/reference/privateNameComputedPropertyName4(target=esnext).js index 3c82e019fbbcd..1d0804d088d8a 100644 --- a/tests/baselines/reference/privateNameComputedPropertyName4(target=esnext).js +++ b/tests/baselines/reference/privateNameComputedPropertyName4(target=esnext).js @@ -17,6 +17,7 @@ class C3 { //// [privateNameComputedPropertyName4.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/44113 class C1 { static #qux = 42; diff --git a/tests/baselines/reference/privateNameConstructorReserved.js b/tests/baselines/reference/privateNameConstructorReserved.js index e28e2c5b7b2aa..889e17624994e 100644 --- a/tests/baselines/reference/privateNameConstructorReserved.js +++ b/tests/baselines/reference/privateNameConstructorReserved.js @@ -7,6 +7,7 @@ class A { //// [privateNameConstructorReserved.js] +"use strict"; var _A_instances, _A_constructor; class A { constructor() { diff --git a/tests/baselines/reference/privateNameConstructorSignature.js b/tests/baselines/reference/privateNameConstructorSignature.js index c6210e97b1157..0407119fdda76 100644 --- a/tests/baselines/reference/privateNameConstructorSignature.js +++ b/tests/baselines/reference/privateNameConstructorSignature.js @@ -20,6 +20,7 @@ interface C { //// [privateNameConstructorSignature.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameDeclaration.js b/tests/baselines/reference/privateNameDeclaration.js index a0d1f54992c22..1adbe24a2242a 100644 --- a/tests/baselines/reference/privateNameDeclaration.js +++ b/tests/baselines/reference/privateNameDeclaration.js @@ -13,6 +13,7 @@ class A { //// [privateNameDeclaration.js] +"use strict"; var _A_foo, _A_bar; class A { constructor() { diff --git a/tests/baselines/reference/privateNameDeclarationMerging.js b/tests/baselines/reference/privateNameDeclarationMerging.js index f3a55fb886c5d..b93513eeb53a8 100644 --- a/tests/baselines/reference/privateNameDeclarationMerging.js +++ b/tests/baselines/reference/privateNameDeclarationMerging.js @@ -18,6 +18,7 @@ interface C { //// [privateNameDeclarationMerging.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameES5Ban.js b/tests/baselines/reference/privateNameES5Ban.js index a2075859a3495..83ecec2b4a6e4 100644 --- a/tests/baselines/reference/privateNameES5Ban.js +++ b/tests/baselines/reference/privateNameES5Ban.js @@ -16,6 +16,7 @@ class A { //// [privateNameES5Ban.js] +"use strict"; var A = /** @class */ (function () { function A() { _A_instances.add(this); diff --git a/tests/baselines/reference/privateNameEnum.js b/tests/baselines/reference/privateNameEnum.js index bdf6786b185c9..be9e79875bc9c 100644 --- a/tests/baselines/reference/privateNameEnum.js +++ b/tests/baselines/reference/privateNameEnum.js @@ -7,6 +7,7 @@ enum E { //// [privateNameEnum.js] +"use strict"; var E; (function (E) { E[E[] = 0] = ; diff --git a/tests/baselines/reference/privateNameFieldAccess.js b/tests/baselines/reference/privateNameFieldAccess.js index 8c6f8c33f875f..062e42b470e13 100644 --- a/tests/baselines/reference/privateNameFieldAccess.js +++ b/tests/baselines/reference/privateNameFieldAccess.js @@ -10,6 +10,7 @@ class A { //// [privateNameFieldAccess.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameFieldAssignment.js b/tests/baselines/reference/privateNameFieldAssignment.js index e8a9238f67f1f..fff527809da6d 100644 --- a/tests/baselines/reference/privateNameFieldAssignment.js +++ b/tests/baselines/reference/privateNameFieldAssignment.js @@ -38,6 +38,7 @@ class A { //// [privateNameFieldAssignment.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameFieldCallExpression.js b/tests/baselines/reference/privateNameFieldCallExpression.js index cc25a7a94c18d..5cc18ebef2e52 100644 --- a/tests/baselines/reference/privateNameFieldCallExpression.js +++ b/tests/baselines/reference/privateNameFieldCallExpression.js @@ -23,6 +23,7 @@ class A { //// [privateNameFieldCallExpression.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameFieldClassExpression.js b/tests/baselines/reference/privateNameFieldClassExpression.js index 334d63e8bb9f7..4c44836ff51bf 100644 --- a/tests/baselines/reference/privateNameFieldClassExpression.js +++ b/tests/baselines/reference/privateNameFieldClassExpression.js @@ -17,6 +17,7 @@ class B { //// [privateNameFieldClassExpression.js] +"use strict"; var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); diff --git a/tests/baselines/reference/privateNameFieldDerivedClasses.js b/tests/baselines/reference/privateNameFieldDerivedClasses.js index 37a6f9c9d4d7e..3a67ff210d2d8 100644 --- a/tests/baselines/reference/privateNameFieldDerivedClasses.js +++ b/tests/baselines/reference/privateNameFieldDerivedClasses.js @@ -16,6 +16,7 @@ class Derived extends Base { //// [privateNameFieldDerivedClasses.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2015).js b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2015).js index bfba0ee50cca8..7b0ee69904202 100644 --- a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2015).js +++ b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2015).js @@ -27,6 +27,7 @@ class A { //// [privateNameFieldDestructuredBinding.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2022).js b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2022).js index c2063d7044cb6..bab4de0df7643 100644 --- a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2022).js +++ b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=es2022).js @@ -27,6 +27,7 @@ class A { //// [privateNameFieldDestructuredBinding.js] +"use strict"; class A { #field = 1; otherObject = new A(); diff --git a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=esnext).js b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=esnext).js index c2063d7044cb6..bab4de0df7643 100644 --- a/tests/baselines/reference/privateNameFieldDestructuredBinding(target=esnext).js +++ b/tests/baselines/reference/privateNameFieldDestructuredBinding(target=esnext).js @@ -27,6 +27,7 @@ class A { //// [privateNameFieldDestructuredBinding.js] +"use strict"; class A { #field = 1; otherObject = new A(); diff --git a/tests/baselines/reference/privateNameFieldInitializer.js b/tests/baselines/reference/privateNameFieldInitializer.js index 4f3b94a337ce8..9561efa3d6285 100644 --- a/tests/baselines/reference/privateNameFieldInitializer.js +++ b/tests/baselines/reference/privateNameFieldInitializer.js @@ -8,6 +8,7 @@ class A { //// [privateNameFieldInitializer.js] +"use strict"; var _A_field, _A_uninitialized; class A { constructor() { diff --git a/tests/baselines/reference/privateNameFieldParenthesisLeftAssignment.js b/tests/baselines/reference/privateNameFieldParenthesisLeftAssignment.js index 51071ebc91d1e..8e43d8514ab27 100644 --- a/tests/baselines/reference/privateNameFieldParenthesisLeftAssignment.js +++ b/tests/baselines/reference/privateNameFieldParenthesisLeftAssignment.js @@ -27,6 +27,7 @@ class Foo { //// [privateNameFieldParenthesisLeftAssignment.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameFieldUnaryMutation.js b/tests/baselines/reference/privateNameFieldUnaryMutation.js index 0fa617f4ccd39..8911133927cbd 100644 --- a/tests/baselines/reference/privateNameFieldUnaryMutation.js +++ b/tests/baselines/reference/privateNameFieldUnaryMutation.js @@ -54,6 +54,7 @@ class C { //// [privateNameFieldUnaryMutation.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameFieldsESNext(target=es2022).js b/tests/baselines/reference/privateNameFieldsESNext(target=es2022).js index b85485b40dfe9..d98595dc9a992 100644 --- a/tests/baselines/reference/privateNameFieldsESNext(target=es2022).js +++ b/tests/baselines/reference/privateNameFieldsESNext(target=es2022).js @@ -23,6 +23,7 @@ class C { //// [privateNameFieldsESNext.js] +"use strict"; class C { constructor() { this.a = 123; diff --git a/tests/baselines/reference/privateNameFieldsESNext(target=esnext).js b/tests/baselines/reference/privateNameFieldsESNext(target=esnext).js index b85485b40dfe9..d98595dc9a992 100644 --- a/tests/baselines/reference/privateNameFieldsESNext(target=esnext).js +++ b/tests/baselines/reference/privateNameFieldsESNext(target=esnext).js @@ -23,6 +23,7 @@ class C { //// [privateNameFieldsESNext.js] +"use strict"; class C { constructor() { this.a = 123; diff --git a/tests/baselines/reference/privateNameHashCharName.js b/tests/baselines/reference/privateNameHashCharName.js index 7dc181edad751..ee84d50ea7b87 100644 --- a/tests/baselines/reference/privateNameHashCharName.js +++ b/tests/baselines/reference/privateNameHashCharName.js @@ -13,6 +13,7 @@ class C { //// [privateNameHashCharName.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameInLhsReceiverExpression.js b/tests/baselines/reference/privateNameInLhsReceiverExpression.js index 7ad9b5bc9bf83..7eefee41b55f7 100644 --- a/tests/baselines/reference/privateNameInLhsReceiverExpression.js +++ b/tests/baselines/reference/privateNameInLhsReceiverExpression.js @@ -12,6 +12,7 @@ class Test { //// [privateNameInLhsReceiverExpression.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameInObjectLiteral-1.js b/tests/baselines/reference/privateNameInObjectLiteral-1.js index 1b1a026601eb0..7472aa95b09c3 100644 --- a/tests/baselines/reference/privateNameInObjectLiteral-1.js +++ b/tests/baselines/reference/privateNameInObjectLiteral-1.js @@ -7,6 +7,7 @@ const obj = { //// [privateNameInObjectLiteral-1.js] +"use strict"; var obj = { : 1 }; diff --git a/tests/baselines/reference/privateNameInObjectLiteral-2.js b/tests/baselines/reference/privateNameInObjectLiteral-2.js index 41ccb3d52ed2a..e483e95b29e90 100644 --- a/tests/baselines/reference/privateNameInObjectLiteral-2.js +++ b/tests/baselines/reference/privateNameInObjectLiteral-2.js @@ -9,6 +9,7 @@ const obj = { //// [privateNameInObjectLiteral-2.js] +"use strict"; var obj = { : function () { } diff --git a/tests/baselines/reference/privateNameInObjectLiteral-3.js b/tests/baselines/reference/privateNameInObjectLiteral-3.js index 6038b6d873cff..eab516ebf1d92 100644 --- a/tests/baselines/reference/privateNameInObjectLiteral-3.js +++ b/tests/baselines/reference/privateNameInObjectLiteral-3.js @@ -9,6 +9,7 @@ const obj = { //// [privateNameInObjectLiteral-3.js] +"use strict"; var obj = { get () { return ""; diff --git a/tests/baselines/reference/privateNameJsx.js b/tests/baselines/reference/privateNameJsx.js index 9b8657f99d797..f4bde7d6ecc30 100644 --- a/tests/baselines/reference/privateNameJsx.js +++ b/tests/baselines/reference/privateNameJsx.js @@ -11,6 +11,7 @@ class Test { //// [privateNameJsx.jsx] +"use strict"; var _Test_prop; var Test = /** @class */ (function () { function Test() { diff --git a/tests/baselines/reference/privateNameLateSuper.js b/tests/baselines/reference/privateNameLateSuper.js index cac253cff463d..72d5e4181572a 100644 --- a/tests/baselines/reference/privateNameLateSuper.js +++ b/tests/baselines/reference/privateNameLateSuper.js @@ -12,6 +12,7 @@ class A extends B { //// [privateNameLateSuper.js] +"use strict"; var _A_x; class B { } diff --git a/tests/baselines/reference/privateNameLateSuperUseDefineForClassFields(target=es2022).js b/tests/baselines/reference/privateNameLateSuperUseDefineForClassFields(target=es2022).js index 1cf9259a0ae6e..8172467fe48fa 100644 --- a/tests/baselines/reference/privateNameLateSuperUseDefineForClassFields(target=es2022).js +++ b/tests/baselines/reference/privateNameLateSuperUseDefineForClassFields(target=es2022).js @@ -12,6 +12,7 @@ class A extends B { //// [privateNameLateSuperUseDefineForClassFields.js] +"use strict"; class B { } class A extends B { diff --git a/tests/baselines/reference/privateNameLateSuperUseDefineForClassFields(target=esnext).js b/tests/baselines/reference/privateNameLateSuperUseDefineForClassFields(target=esnext).js index 1cf9259a0ae6e..8172467fe48fa 100644 --- a/tests/baselines/reference/privateNameLateSuperUseDefineForClassFields(target=esnext).js +++ b/tests/baselines/reference/privateNameLateSuperUseDefineForClassFields(target=esnext).js @@ -12,6 +12,7 @@ class A extends B { //// [privateNameLateSuperUseDefineForClassFields.js] +"use strict"; class B { } class A extends B { diff --git a/tests/baselines/reference/privateNameMethodAccess.js b/tests/baselines/reference/privateNameMethodAccess.js index 05cd535ee3ed0..7d500da719196 100644 --- a/tests/baselines/reference/privateNameMethodAccess.js +++ b/tests/baselines/reference/privateNameMethodAccess.js @@ -26,6 +26,7 @@ class B2 { //// [privateNameMethodAccess.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameMethodAssignment.js b/tests/baselines/reference/privateNameMethodAssignment.js index 078182eed144d..f46bab6dbec26 100644 --- a/tests/baselines/reference/privateNameMethodAssignment.js +++ b/tests/baselines/reference/privateNameMethodAssignment.js @@ -15,6 +15,7 @@ class A3 { //// [privateNameMethodAssignment.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameMethodAsync.js b/tests/baselines/reference/privateNameMethodAsync.js index fd6700f0bffa3..beab521677016 100644 --- a/tests/baselines/reference/privateNameMethodAsync.js +++ b/tests/baselines/reference/privateNameMethodAsync.js @@ -17,6 +17,7 @@ new C().foo().then(console.log); //// [privateNameMethodAsync.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameMethodCallExpression.js b/tests/baselines/reference/privateNameMethodCallExpression.js index 3b22b46875ce9..96d6a37cc3b12 100644 --- a/tests/baselines/reference/privateNameMethodCallExpression.js +++ b/tests/baselines/reference/privateNameMethodCallExpression.js @@ -27,6 +27,7 @@ class AA { //// [privateNameMethodCallExpression.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameMethodClassExpression.js b/tests/baselines/reference/privateNameMethodClassExpression.js index e3ab3ff213b59..e6aedf9f50dac 100644 --- a/tests/baselines/reference/privateNameMethodClassExpression.js +++ b/tests/baselines/reference/privateNameMethodClassExpression.js @@ -15,6 +15,7 @@ C.getInstance().#field; // Error //// [privateNameMethodClassExpression.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameMethodInStaticFieldInit.js b/tests/baselines/reference/privateNameMethodInStaticFieldInit.js index ef55518089bc4..c57de045e6c64 100644 --- a/tests/baselines/reference/privateNameMethodInStaticFieldInit.js +++ b/tests/baselines/reference/privateNameMethodInStaticFieldInit.js @@ -10,6 +10,7 @@ console.log(C.s); //// [privateNameMethodInStaticFieldInit.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameMethodsDerivedClasses.js b/tests/baselines/reference/privateNameMethodsDerivedClasses.js index 580e575bb895d..8917952d408ee 100644 --- a/tests/baselines/reference/privateNameMethodsDerivedClasses.js +++ b/tests/baselines/reference/privateNameMethodsDerivedClasses.js @@ -15,6 +15,7 @@ class Derived extends Base { //// [privateNameMethodsDerivedClasses.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameNestedClassAccessorsShadowing.js b/tests/baselines/reference/privateNameNestedClassAccessorsShadowing.js index b4a8bf2c108b2..e87d4f1d06e43 100644 --- a/tests/baselines/reference/privateNameNestedClassAccessorsShadowing.js +++ b/tests/baselines/reference/privateNameNestedClassAccessorsShadowing.js @@ -18,6 +18,7 @@ class Base { //// [privateNameNestedClassAccessorsShadowing.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameNestedClassFieldShadowing.js b/tests/baselines/reference/privateNameNestedClassFieldShadowing.js index 58dda140c9253..4e0c843d1ebc9 100644 --- a/tests/baselines/reference/privateNameNestedClassFieldShadowing.js +++ b/tests/baselines/reference/privateNameNestedClassFieldShadowing.js @@ -18,6 +18,7 @@ class Base { //// [privateNameNestedClassFieldShadowing.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameNestedClassMethodShadowing.js b/tests/baselines/reference/privateNameNestedClassMethodShadowing.js index a89f959094b44..3f42d09d5f685 100644 --- a/tests/baselines/reference/privateNameNestedClassMethodShadowing.js +++ b/tests/baselines/reference/privateNameNestedClassMethodShadowing.js @@ -18,6 +18,7 @@ class Base { //// [privateNameNestedClassMethodShadowing.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameNestedClassNameConflict.js b/tests/baselines/reference/privateNameNestedClassNameConflict.js index a1f94d29cc184..6194240c4acc2 100644 --- a/tests/baselines/reference/privateNameNestedClassNameConflict.js +++ b/tests/baselines/reference/privateNameNestedClassNameConflict.js @@ -12,6 +12,7 @@ class A { //// [privateNameNestedClassNameConflict.js] +"use strict"; var _A_foo; class A { constructor() { diff --git a/tests/baselines/reference/privateNameNestedMethodAccess.js b/tests/baselines/reference/privateNameNestedMethodAccess.js index b7c3356d9b666..65bcd84dfe52f 100644 --- a/tests/baselines/reference/privateNameNestedMethodAccess.js +++ b/tests/baselines/reference/privateNameNestedMethodAccess.js @@ -27,6 +27,7 @@ class C { //// [privateNameNestedMethodAccess.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameReadonly.js b/tests/baselines/reference/privateNameReadonly.js index b7b39d9ad02a5..58bd04db9b081 100644 --- a/tests/baselines/reference/privateNameReadonly.js +++ b/tests/baselines/reference/privateNameReadonly.js @@ -12,6 +12,7 @@ console.log(new C().foo()); //// [privateNameReadonly.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameSetterExprReturnValue.js b/tests/baselines/reference/privateNameSetterExprReturnValue.js index f7c9f4f77fe30..7320c18785d50 100644 --- a/tests/baselines/reference/privateNameSetterExprReturnValue.js +++ b/tests/baselines/reference/privateNameSetterExprReturnValue.js @@ -13,6 +13,7 @@ new C().bar(); //// [privateNameSetterExprReturnValue.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameSetterNoGetter.js b/tests/baselines/reference/privateNameSetterNoGetter.js index e5313f6af59fa..359e43535b59c 100644 --- a/tests/baselines/reference/privateNameSetterNoGetter.js +++ b/tests/baselines/reference/privateNameSetterNoGetter.js @@ -12,6 +12,7 @@ console.log(new C().m()); //// [privateNameSetterNoGetter.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameStaticAccessorsCallExpression.js b/tests/baselines/reference/privateNameStaticAccessorsCallExpression.js index 111034c355a44..18a8bbc520735 100644 --- a/tests/baselines/reference/privateNameStaticAccessorsCallExpression.js +++ b/tests/baselines/reference/privateNameStaticAccessorsCallExpression.js @@ -21,6 +21,7 @@ class A { } //// [privateNameStaticAccessorsCallExpression.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameStaticAccessorssDerivedClasses.js b/tests/baselines/reference/privateNameStaticAccessorssDerivedClasses.js index bd4ebbe9556c5..f7f26c81a927a 100644 --- a/tests/baselines/reference/privateNameStaticAccessorssDerivedClasses.js +++ b/tests/baselines/reference/privateNameStaticAccessorssDerivedClasses.js @@ -15,6 +15,7 @@ class Derived extends Base { //// [privateNameStaticAccessorssDerivedClasses.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=es2015).js b/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=es2015).js index 6fe1cae30f657..13dca2f07dd9e 100644 --- a/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=es2015).js +++ b/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=es2015).js @@ -9,6 +9,7 @@ class A { //// [privateNameStaticAndStaticInitializer.js] +"use strict"; var _a, _A_foo, _A_prop; class A { } diff --git a/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=es2022).js b/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=es2022).js index 9e50b0abd2a4c..bacb0f9579ee9 100644 --- a/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=es2022).js +++ b/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=es2022).js @@ -9,6 +9,7 @@ class A { //// [privateNameStaticAndStaticInitializer.js] +"use strict"; class A { static #foo = 1; static #prop = 2; diff --git a/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=esnext).js b/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=esnext).js index 9e50b0abd2a4c..bacb0f9579ee9 100644 --- a/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=esnext).js +++ b/tests/baselines/reference/privateNameStaticAndStaticInitializer(target=esnext).js @@ -9,6 +9,7 @@ class A { //// [privateNameStaticAndStaticInitializer.js] +"use strict"; class A { static #foo = 1; static #prop = 2; diff --git a/tests/baselines/reference/privateNameStaticFieldAccess.js b/tests/baselines/reference/privateNameStaticFieldAccess.js index 7e00292d65566..356eb974ad8be 100644 --- a/tests/baselines/reference/privateNameStaticFieldAccess.js +++ b/tests/baselines/reference/privateNameStaticFieldAccess.js @@ -11,6 +11,7 @@ class A { //// [privateNameStaticFieldAccess.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameStaticFieldAssignment.js b/tests/baselines/reference/privateNameStaticFieldAssignment.js index fab8513f8f793..8a010081aa530 100644 --- a/tests/baselines/reference/privateNameStaticFieldAssignment.js +++ b/tests/baselines/reference/privateNameStaticFieldAssignment.js @@ -38,6 +38,7 @@ class A { //// [privateNameStaticFieldAssignment.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameStaticFieldCallExpression.js b/tests/baselines/reference/privateNameStaticFieldCallExpression.js index a31a36358b9fd..38788f3d6220c 100644 --- a/tests/baselines/reference/privateNameStaticFieldCallExpression.js +++ b/tests/baselines/reference/privateNameStaticFieldCallExpression.js @@ -23,6 +23,7 @@ class A { //// [privateNameStaticFieldCallExpression.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameStaticFieldClassExpression.js b/tests/baselines/reference/privateNameStaticFieldClassExpression.js index a39dd95d6a73f..99427b952805a 100644 --- a/tests/baselines/reference/privateNameStaticFieldClassExpression.js +++ b/tests/baselines/reference/privateNameStaticFieldClassExpression.js @@ -25,6 +25,7 @@ class B { //// [privateNameStaticFieldClassExpression.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameStaticFieldDerivedClasses.js b/tests/baselines/reference/privateNameStaticFieldDerivedClasses.js index 575ccc61a7152..9dbaee797e01f 100644 --- a/tests/baselines/reference/privateNameStaticFieldDerivedClasses.js +++ b/tests/baselines/reference/privateNameStaticFieldDerivedClasses.js @@ -19,6 +19,7 @@ class Derived extends Base { //// [privateNameStaticFieldDerivedClasses.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2015).js b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2015).js index ec8500fd4239b..a22f19b0731f4 100644 --- a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2015).js +++ b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2015).js @@ -27,6 +27,7 @@ class A { //// [privateNameStaticFieldDestructuredBinding.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2022).js b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2022).js index bda4a409d4fcb..2575758c25379 100644 --- a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2022).js +++ b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=es2022).js @@ -27,6 +27,7 @@ class A { //// [privateNameStaticFieldDestructuredBinding.js] +"use strict"; class A { static #field = 1; testObject() { diff --git a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=esnext).js b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=esnext).js index bda4a409d4fcb..2575758c25379 100644 --- a/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=esnext).js +++ b/tests/baselines/reference/privateNameStaticFieldDestructuredBinding(target=esnext).js @@ -27,6 +27,7 @@ class A { //// [privateNameStaticFieldDestructuredBinding.js] +"use strict"; class A { static #field = 1; testObject() { diff --git a/tests/baselines/reference/privateNameStaticFieldInitializer(target=es2015).js b/tests/baselines/reference/privateNameStaticFieldInitializer(target=es2015).js index 80d08b3d4bb7d..b4b3e58e93518 100644 --- a/tests/baselines/reference/privateNameStaticFieldInitializer(target=es2015).js +++ b/tests/baselines/reference/privateNameStaticFieldInitializer(target=es2015).js @@ -8,6 +8,7 @@ class A { //// [privateNameStaticFieldInitializer.js] +"use strict"; var _a, _A_field, _A_uninitialized; class A { } diff --git a/tests/baselines/reference/privateNameStaticFieldInitializer(target=es2022).js b/tests/baselines/reference/privateNameStaticFieldInitializer(target=es2022).js index cae2bd319f51e..ee3b972136a0f 100644 --- a/tests/baselines/reference/privateNameStaticFieldInitializer(target=es2022).js +++ b/tests/baselines/reference/privateNameStaticFieldInitializer(target=es2022).js @@ -8,6 +8,7 @@ class A { //// [privateNameStaticFieldInitializer.js] +"use strict"; class A { static #field = 10; static #uninitialized; diff --git a/tests/baselines/reference/privateNameStaticFieldInitializer(target=esnext).js b/tests/baselines/reference/privateNameStaticFieldInitializer(target=esnext).js index cae2bd319f51e..ee3b972136a0f 100644 --- a/tests/baselines/reference/privateNameStaticFieldInitializer(target=esnext).js +++ b/tests/baselines/reference/privateNameStaticFieldInitializer(target=esnext).js @@ -8,6 +8,7 @@ class A { //// [privateNameStaticFieldInitializer.js] +"use strict"; class A { static #field = 10; static #uninitialized; diff --git a/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=es2015).js b/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=es2015).js index 06cdca1bdd7ca..40bc9b69a3099 100644 --- a/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=es2015).js +++ b/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=es2015).js @@ -11,6 +11,7 @@ class C2 { //// [privateNameStaticFieldNoInitializer.js] +"use strict"; var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); diff --git a/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=es2022).js b/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=es2022).js index a2519ccacbf33..5b73cea4ffe82 100644 --- a/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=es2022).js +++ b/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=es2022).js @@ -11,6 +11,7 @@ class C2 { //// [privateNameStaticFieldNoInitializer.js] +"use strict"; const C = class { static #x; }; diff --git a/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=esnext).js b/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=esnext).js index a2519ccacbf33..5b73cea4ffe82 100644 --- a/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=esnext).js +++ b/tests/baselines/reference/privateNameStaticFieldNoInitializer(target=esnext).js @@ -11,6 +11,7 @@ class C2 { //// [privateNameStaticFieldNoInitializer.js] +"use strict"; const C = class { static #x; }; diff --git a/tests/baselines/reference/privateNameStaticFieldUnaryMutation.js b/tests/baselines/reference/privateNameStaticFieldUnaryMutation.js index 12863273d7788..88fb4de2a14f3 100644 --- a/tests/baselines/reference/privateNameStaticFieldUnaryMutation.js +++ b/tests/baselines/reference/privateNameStaticFieldUnaryMutation.js @@ -32,6 +32,7 @@ class C { //// [privateNameStaticFieldUnaryMutation.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameStaticMethodAssignment.js b/tests/baselines/reference/privateNameStaticMethodAssignment.js index c02327988a5de..b93d4d9801740 100644 --- a/tests/baselines/reference/privateNameStaticMethodAssignment.js +++ b/tests/baselines/reference/privateNameStaticMethodAssignment.js @@ -15,6 +15,7 @@ class A3 { //// [privateNameStaticMethodAssignment.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNameStaticMethodAsync.js b/tests/baselines/reference/privateNameStaticMethodAsync.js index cd50eb00415fc..636dcd3f66bcf 100644 --- a/tests/baselines/reference/privateNameStaticMethodAsync.js +++ b/tests/baselines/reference/privateNameStaticMethodAsync.js @@ -18,6 +18,7 @@ const C = class { //// [privateNameStaticMethodAsync.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameStaticMethodCallExpression.js b/tests/baselines/reference/privateNameStaticMethodCallExpression.js index 1f7ccfdf50f3f..b6ef055f96275 100644 --- a/tests/baselines/reference/privateNameStaticMethodCallExpression.js +++ b/tests/baselines/reference/privateNameStaticMethodCallExpression.js @@ -27,6 +27,7 @@ class AA { //// [privateNameStaticMethodCallExpression.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameStaticMethodClassExpression.js b/tests/baselines/reference/privateNameStaticMethodClassExpression.js index cef802ec77c28..28109cc56ef90 100644 --- a/tests/baselines/reference/privateNameStaticMethodClassExpression.js +++ b/tests/baselines/reference/privateNameStaticMethodClassExpression.js @@ -15,6 +15,7 @@ C.getClass().#field; // Error //// [privateNameStaticMethodClassExpression.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameStaticMethodInStaticFieldInit.js b/tests/baselines/reference/privateNameStaticMethodInStaticFieldInit.js index b9d85bb4e4bc2..2a4f5f11135d8 100644 --- a/tests/baselines/reference/privateNameStaticMethodInStaticFieldInit.js +++ b/tests/baselines/reference/privateNameStaticMethodInStaticFieldInit.js @@ -10,6 +10,7 @@ console.log(C.s); //// [privateNameStaticMethodInStaticFieldInit.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNameWeakMapCollision.js b/tests/baselines/reference/privateNameWeakMapCollision.js index 6530a40cde031..adf156c0ba3ee 100644 --- a/tests/baselines/reference/privateNameWeakMapCollision.js +++ b/tests/baselines/reference/privateNameWeakMapCollision.js @@ -11,6 +11,7 @@ function test() { //// [privateNameWeakMapCollision.js] +"use strict"; function test() { var _C_x; let WeakMap; diff --git a/tests/baselines/reference/privateNamesAndDecorators.js b/tests/baselines/reference/privateNamesAndDecorators.js index 93039727530bd..f3b472baa3090 100644 --- a/tests/baselines/reference/privateNamesAndDecorators.js +++ b/tests/baselines/reference/privateNamesAndDecorators.js @@ -12,6 +12,7 @@ class A { //// [privateNamesAndDecorators.js] +"use strict"; var _A_instances, _A_foo, _A_bar; var A = /** @class */ (function () { function A() { diff --git a/tests/baselines/reference/privateNamesAndMethods(target=es2022).js b/tests/baselines/reference/privateNamesAndMethods(target=es2022).js index 1aa3604862d6b..93ccf1a1d3593 100644 --- a/tests/baselines/reference/privateNamesAndMethods(target=es2022).js +++ b/tests/baselines/reference/privateNamesAndMethods(target=es2022).js @@ -33,6 +33,7 @@ class B extends A { //// [privateNamesAndMethods.js] +"use strict"; class A { #foo(a) { } async #bar(a) { } diff --git a/tests/baselines/reference/privateNamesAndMethods(target=esnext).js b/tests/baselines/reference/privateNamesAndMethods(target=esnext).js index 1aa3604862d6b..93ccf1a1d3593 100644 --- a/tests/baselines/reference/privateNamesAndMethods(target=esnext).js +++ b/tests/baselines/reference/privateNamesAndMethods(target=esnext).js @@ -33,6 +33,7 @@ class B extends A { //// [privateNamesAndMethods.js] +"use strict"; class A { #foo(a) { } async #bar(a) { } diff --git a/tests/baselines/reference/privateNamesConstructorChain-1.js b/tests/baselines/reference/privateNamesConstructorChain-1.js index e99e82f5e4551..93a06403d8817 100644 --- a/tests/baselines/reference/privateNamesConstructorChain-1.js +++ b/tests/baselines/reference/privateNamesConstructorChain-1.js @@ -17,6 +17,7 @@ class Child extends Parent { //// [privateNamesConstructorChain-1.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNamesConstructorChain-2.js b/tests/baselines/reference/privateNamesConstructorChain-2.js index 8982b1345fcdd..14090c4a5fead 100644 --- a/tests/baselines/reference/privateNamesConstructorChain-2.js +++ b/tests/baselines/reference/privateNamesConstructorChain-2.js @@ -19,6 +19,7 @@ new Parent().accessChildProps(); //// [privateNamesConstructorChain-2.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNamesInterfaceExtendingClass.js b/tests/baselines/reference/privateNamesInterfaceExtendingClass.js index e505624f35281..a613e84a7a2c4 100644 --- a/tests/baselines/reference/privateNamesInterfaceExtendingClass.js +++ b/tests/baselines/reference/privateNamesInterfaceExtendingClass.js @@ -16,6 +16,7 @@ function func(x: I) { //// [privateNamesInterfaceExtendingClass.js] +"use strict"; var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) { if (kind === "m") throw new TypeError("Private method is not writable"); if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter"); diff --git a/tests/baselines/reference/privateNamesNotAllowedAsParameters.js b/tests/baselines/reference/privateNamesNotAllowedAsParameters.js index 7aa8355837962..e9208f2a7c7f7 100644 --- a/tests/baselines/reference/privateNamesNotAllowedAsParameters.js +++ b/tests/baselines/reference/privateNamesNotAllowedAsParameters.js @@ -7,6 +7,7 @@ class A { //// [privateNamesNotAllowedAsParameters.js] +"use strict"; class A { setFoo(#foo) { } } diff --git a/tests/baselines/reference/privateNamesUnique-3.js b/tests/baselines/reference/privateNamesUnique-3.js index 80deb657b8cda..4afaeaeed844e 100644 --- a/tests/baselines/reference/privateNamesUnique-3.js +++ b/tests/baselines/reference/privateNamesUnique-3.js @@ -17,6 +17,7 @@ class B { //// [privateNamesUnique-3.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateNamesUnique-4.js b/tests/baselines/reference/privateNamesUnique-4.js index 7fe019a7dcadf..ed2c69a6c2491 100644 --- a/tests/baselines/reference/privateNamesUnique-4.js +++ b/tests/baselines/reference/privateNamesUnique-4.js @@ -10,6 +10,7 @@ const c: C = a; //// [privateNamesUnique-4.js] +"use strict"; var _C_something; class A1 { } diff --git a/tests/baselines/reference/privateNamesUseBeforeDef.js b/tests/baselines/reference/privateNamesUseBeforeDef.js index bb6d1df304d21..c7805e66b1e1a 100644 --- a/tests/baselines/reference/privateNamesUseBeforeDef.js +++ b/tests/baselines/reference/privateNamesUseBeforeDef.js @@ -23,6 +23,7 @@ class B { //// [privateNamesUseBeforeDef.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateProtectedMembersAreNotAccessibleDestructuring.js b/tests/baselines/reference/privateProtectedMembersAreNotAccessibleDestructuring.js index c74bab2458e23..9e26d5580fd42 100644 --- a/tests/baselines/reference/privateProtectedMembersAreNotAccessibleDestructuring.js +++ b/tests/baselines/reference/privateProtectedMembersAreNotAccessibleDestructuring.js @@ -27,6 +27,7 @@ function f({ priv, prot, privateMethod }: K) { //// [privateProtectedMembersAreNotAccessibleDestructuring.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/privateStaticMemberAccessibility.js b/tests/baselines/reference/privateStaticMemberAccessibility.js index 8778fbb3a3c1c..7e9d65e4cfc6c 100644 --- a/tests/baselines/reference/privateStaticMemberAccessibility.js +++ b/tests/baselines/reference/privateStaticMemberAccessibility.js @@ -11,6 +11,7 @@ class Derived extends Base { } //// [privateStaticMemberAccessibility.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/privateStaticNameShadowing.js b/tests/baselines/reference/privateStaticNameShadowing.js index 8663691454344..048044bcc4a25 100644 --- a/tests/baselines/reference/privateStaticNameShadowing.js +++ b/tests/baselines/reference/privateStaticNameShadowing.js @@ -16,6 +16,7 @@ class X { //// [privateStaticNameShadowing.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/privateStaticNotAccessibleInClodule.js b/tests/baselines/reference/privateStaticNotAccessibleInClodule.js index c25aef0cd02c5..6f07011461069 100644 --- a/tests/baselines/reference/privateStaticNotAccessibleInClodule.js +++ b/tests/baselines/reference/privateStaticNotAccessibleInClodule.js @@ -13,6 +13,7 @@ namespace C { } //// [privateStaticNotAccessibleInClodule.js] +"use strict"; // Any attempt to access a private property member outside the class body that contains its declaration results in a compile-time error. var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/privateStaticNotAccessibleInClodule2.js b/tests/baselines/reference/privateStaticNotAccessibleInClodule2.js index ef957389d41fb..3c30e56973a48 100644 --- a/tests/baselines/reference/privateStaticNotAccessibleInClodule2.js +++ b/tests/baselines/reference/privateStaticNotAccessibleInClodule2.js @@ -17,6 +17,7 @@ namespace D { } //// [privateStaticNotAccessibleInClodule2.js] +"use strict"; // Any attempt to access a private property member outside the class body that contains its declaration results in a compile-time error. var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/privateVisibility.js b/tests/baselines/reference/privateVisibility.js index e57dc1a640196..77b3af5276915 100644 --- a/tests/baselines/reference/privateVisibility.js +++ b/tests/baselines/reference/privateVisibility.js @@ -29,6 +29,7 @@ c.priv; // should not work //// [privateVisibility.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.pubProp = 0; diff --git a/tests/baselines/reference/privateVisibles.js b/tests/baselines/reference/privateVisibles.js index fd6aa94f02d0b..20a4269f399c5 100644 --- a/tests/baselines/reference/privateVisibles.js +++ b/tests/baselines/reference/privateVisibles.js @@ -12,6 +12,7 @@ class Foo { //// [privateVisibles.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.pvar = 0; diff --git a/tests/baselines/reference/privateWriteOnlyAccessorRead.js b/tests/baselines/reference/privateWriteOnlyAccessorRead.js index 0312decf4d986..5bfd97308a2ff 100644 --- a/tests/baselines/reference/privateWriteOnlyAccessorRead.js +++ b/tests/baselines/reference/privateWriteOnlyAccessorRead.js @@ -37,6 +37,7 @@ new Test().m(); //// [privateWriteOnlyAccessorRead.js] +"use strict"; var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it"); diff --git a/tests/baselines/reference/project/declarationsCascadingImports/amd/useModule.js b/tests/baselines/reference/project/declarationsCascadingImports/amd/useModule.js index e69de29bb2d1d..0c14aab22f752 100644 --- a/tests/baselines/reference/project/declarationsCascadingImports/amd/useModule.js +++ b/tests/baselines/reference/project/declarationsCascadingImports/amd/useModule.js @@ -0,0 +1 @@ +"use strict"; diff --git a/tests/baselines/reference/project/declarationsCascadingImports/node/useModule.js b/tests/baselines/reference/project/declarationsCascadingImports/node/useModule.js index e69de29bb2d1d..0c14aab22f752 100644 --- a/tests/baselines/reference/project/declarationsCascadingImports/node/useModule.js +++ b/tests/baselines/reference/project/declarationsCascadingImports/node/useModule.js @@ -0,0 +1 @@ +"use strict"; diff --git a/tests/baselines/reference/project/declarationsExportNamespace/amd/useModule.js b/tests/baselines/reference/project/declarationsExportNamespace/amd/useModule.js index e69de29bb2d1d..0c14aab22f752 100644 --- a/tests/baselines/reference/project/declarationsExportNamespace/amd/useModule.js +++ b/tests/baselines/reference/project/declarationsExportNamespace/amd/useModule.js @@ -0,0 +1 @@ +"use strict"; diff --git a/tests/baselines/reference/project/declarationsExportNamespace/node/useModule.js b/tests/baselines/reference/project/declarationsExportNamespace/node/useModule.js index e69de29bb2d1d..0c14aab22f752 100644 --- a/tests/baselines/reference/project/declarationsExportNamespace/node/useModule.js +++ b/tests/baselines/reference/project/declarationsExportNamespace/node/useModule.js @@ -0,0 +1 @@ +"use strict"; diff --git a/tests/baselines/reference/project/declareExportAdded/amd/consumer.js b/tests/baselines/reference/project/declareExportAdded/amd/consumer.js index 34184594b0e3e..7135415eab282 100644 --- a/tests/baselines/reference/project/declareExportAdded/amd/consumer.js +++ b/tests/baselines/reference/project/declareExportAdded/amd/consumer.js @@ -1,3 +1,4 @@ +"use strict"; /// // in the generated code a 'this' is added before this call M1.f1(); diff --git a/tests/baselines/reference/project/declareExportAdded/node/consumer.js b/tests/baselines/reference/project/declareExportAdded/node/consumer.js index 34184594b0e3e..7135415eab282 100644 --- a/tests/baselines/reference/project/declareExportAdded/node/consumer.js +++ b/tests/baselines/reference/project/declareExportAdded/node/consumer.js @@ -1,3 +1,4 @@ +"use strict"; /// // in the generated code a 'this' is added before this call M1.f1(); diff --git a/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDir/amd/OutDir/a.js b/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDir/amd/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDir/amd/OutDir/a.js +++ b/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDir/amd/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDir/node/OutDir/a.js b/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDir/node/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDir/node/OutDir/a.js +++ b/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDir/node/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDirWithAllowJS/amd/OutDir/a.js b/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDirWithAllowJS/amd/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDirWithAllowJS/amd/OutDir/a.js +++ b/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDirWithAllowJS/amd/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDirWithAllowJS/node/OutDir/a.js b/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDirWithAllowJS/node/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDirWithAllowJS/node/OutDir/a.js +++ b/tests/baselines/reference/project/defaultExcludeNodeModulesAndOutDirWithAllowJS/node/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDir/amd/OutDir/a.js b/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDir/amd/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDir/amd/OutDir/a.js +++ b/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDir/amd/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDir/node/OutDir/a.js b/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDir/node/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDir/node/OutDir/a.js +++ b/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDir/node/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDirWithAllowJS/amd/OutDir/a.js b/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDirWithAllowJS/amd/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDirWithAllowJS/amd/OutDir/a.js +++ b/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDirWithAllowJS/amd/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDirWithAllowJS/node/OutDir/a.js b/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDirWithAllowJS/node/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDirWithAllowJS/node/OutDir/a.js +++ b/tests/baselines/reference/project/defaultExcludeNodeModulesAndRelativePathOutDirWithAllowJS/node/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/amd/a.js b/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/amd/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/amd/a.js +++ b/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/amd/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/node/a.js b/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/node/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/node/a.js +++ b/tests/baselines/reference/project/defaultExcludeOnlyNodeModules/node/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/amd/DifferentNamesNotSpecified/test.js b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/amd/DifferentNamesNotSpecified/test.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/amd/DifferentNamesNotSpecified/test.js +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/amd/DifferentNamesNotSpecified/test.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/node/DifferentNamesNotSpecified/test.js b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/node/DifferentNamesNotSpecified/test.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/node/DifferentNamesNotSpecified/test.js +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecified/node/DifferentNamesNotSpecified/test.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/DifferentNamesNotSpecifiedWithAllowJs/test.js b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/DifferentNamesNotSpecifiedWithAllowJs/test.js index f2115703462fc..517b3c321bf05 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/DifferentNamesNotSpecifiedWithAllowJs/test.js +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/amd/DifferentNamesNotSpecifiedWithAllowJs/test.js @@ -1,2 +1,3 @@ +"use strict"; var test = 10; var test2 = 10; // Should get compiled diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/node/DifferentNamesNotSpecifiedWithAllowJs/test.js b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/node/DifferentNamesNotSpecifiedWithAllowJs/test.js index f2115703462fc..517b3c321bf05 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/node/DifferentNamesNotSpecifiedWithAllowJs/test.js +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesNotSpecifiedWithAllowJs/node/DifferentNamesNotSpecifiedWithAllowJs/test.js @@ -1,2 +1,3 @@ +"use strict"; var test = 10; var test2 = 10; // Should get compiled diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/amd/DifferentNamesSpecified/test.js b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/amd/DifferentNamesSpecified/test.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/amd/DifferentNamesSpecified/test.js +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/amd/DifferentNamesSpecified/test.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/node/DifferentNamesSpecified/test.js b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/node/DifferentNamesSpecified/test.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/node/DifferentNamesSpecified/test.js +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecified/node/DifferentNamesSpecified/test.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/DifferentNamesSpecifiedWithAllowJs/test.js b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/DifferentNamesSpecifiedWithAllowJs/test.js index f2115703462fc..517b3c321bf05 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/DifferentNamesSpecifiedWithAllowJs/test.js +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/amd/DifferentNamesSpecifiedWithAllowJs/test.js @@ -1,2 +1,3 @@ +"use strict"; var test = 10; var test2 = 10; // Should get compiled diff --git a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/node/DifferentNamesSpecifiedWithAllowJs/test.js b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/node/DifferentNamesSpecifiedWithAllowJs/test.js index f2115703462fc..517b3c321bf05 100644 --- a/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/node/DifferentNamesSpecifiedWithAllowJs/test.js +++ b/tests/baselines/reference/project/jsFileCompilationDifferentNamesSpecifiedWithAllowJs/node/DifferentNamesSpecifiedWithAllowJs/test.js @@ -1,2 +1,3 @@ +"use strict"; var test = 10; var test2 = 10; // Should get compiled diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecified/amd/SameNameFilesNotSpecified/a.js b/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecified/amd/SameNameFilesNotSpecified/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecified/amd/SameNameFilesNotSpecified/a.js +++ b/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecified/amd/SameNameFilesNotSpecified/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecified/node/SameNameFilesNotSpecified/a.js b/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecified/node/SameNameFilesNotSpecified/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecified/node/SameNameFilesNotSpecified/a.js +++ b/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecified/node/SameNameFilesNotSpecified/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/amd/SameNameFilesNotSpecifiedWithAllowJs/a.js b/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/amd/SameNameFilesNotSpecifiedWithAllowJs/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/amd/SameNameFilesNotSpecifiedWithAllowJs/a.js +++ b/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/amd/SameNameFilesNotSpecifiedWithAllowJs/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/node/SameNameFilesNotSpecifiedWithAllowJs/a.js b/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/node/SameNameFilesNotSpecifiedWithAllowJs/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/node/SameNameFilesNotSpecifiedWithAllowJs/a.js +++ b/tests/baselines/reference/project/jsFileCompilationSameNameFilesNotSpecifiedWithAllowJs/node/SameNameFilesNotSpecifiedWithAllowJs/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecified/amd/SameNameTsSpecified/a.js b/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecified/amd/SameNameTsSpecified/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecified/amd/SameNameTsSpecified/a.js +++ b/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecified/amd/SameNameTsSpecified/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecified/node/SameNameTsSpecified/a.js b/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecified/node/SameNameTsSpecified/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecified/node/SameNameTsSpecified/a.js +++ b/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecified/node/SameNameTsSpecified/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/amd/SameNameTsSpecifiedWithAllowJs/a.js b/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/amd/SameNameTsSpecifiedWithAllowJs/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/amd/SameNameTsSpecifiedWithAllowJs/a.js +++ b/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/amd/SameNameTsSpecifiedWithAllowJs/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/node/SameNameTsSpecifiedWithAllowJs/a.js b/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/node/SameNameTsSpecifiedWithAllowJs/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/node/SameNameTsSpecifiedWithAllowJs/a.js +++ b/tests/baselines/reference/project/jsFileCompilationSameNameFilesSpecifiedWithAllowJs/node/SameNameTsSpecifiedWithAllowJs/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js index 6878376147c14..a5a08a6ff1951 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map index 185ca9d604a3f..8ec6c9d68d612 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js index db37300f93570..1f94884fdceac 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map index 778fac3d2fa32..f520f8fa9903b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js index 6878376147c14..a5a08a6ff1951 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map index 185ca9d604a3f..8ec6c9d68d612 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js index db37300f93570..1f94884fdceac 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map index 778fac3d2fa32..f520f8fa9903b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 6878376147c14..a5a08a6ff1951 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 185ca9d604a3f..8ec6c9d68d612 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index db37300f93570..1f94884fdceac 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 778fac3d2fa32..f520f8fa9903b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 6878376147c14..a5a08a6ff1951 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 185ca9d604a3f..8ec6c9d68d612 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index db37300f93570..1f94884fdceac 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 778fac3d2fa32..f520f8fa9903b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js index f06b816b75375..2b12637986ca8 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index 44f3fc33253a4..92f0a76d2f8b6 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js index 236378f78f5fe..077a7a4fd96d1 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index ecfb4b8efdd61..156101c9fb297 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index d8a1d0943ca48..9be50d02f9ea6 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 22c66b6ef94ec..1436f02c93731 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index a9609eb4c28b7..75b4a82074928 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index c9f06095b7244..422215c34f35a 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map index 73cff5f8681a9..107cd4146efbe 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js index 0209a1e52cb3c..1cdc4c9ab87c1 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js index 59d88164993e7..58ef4280d6bfc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map index 49f78f3d209ee..6309e9970291b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js index 8dcdfe90435b6..0c8a9bc360bff 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js.map index 915871dd31794..9150fbc488a18 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map index 73cff5f8681a9..107cd4146efbe 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js index 0209a1e52cb3c..1cdc4c9ab87c1 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js index 59d88164993e7..58ef4280d6bfc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map index 49f78f3d209ee..6309e9970291b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js index 8dcdfe90435b6..0c8a9bc360bff 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js.map index 915871dd31794..9150fbc488a18 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 59d88164993e7..58ef4280d6bfc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index 49f78f3d209ee..6309e9970291b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 8dcdfe90435b6..0c8a9bc360bff 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 915871dd31794..9150fbc488a18 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 0209a1e52cb3c..1cdc4c9ab87c1 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 73cff5f8681a9..107cd4146efbe 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 59d88164993e7..58ef4280d6bfc 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index 49f78f3d209ee..6309e9970291b 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 8dcdfe90435b6..0c8a9bc360bff 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 915871dd31794..9150fbc488a18 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 0209a1e52cb3c..1cdc4c9ab87c1 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 73cff5f8681a9..107cd4146efbe 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js index 33d2121f2dac9..45bb3e93b6e35 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map index c193441236121..4ec0e2a67fa24 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js index 33d2121f2dac9..45bb3e93b6e35 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map index c193441236121..4ec0e2a67fa24 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js index 9212991194f3a..7d7c3038c858c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js.map index f02cfe4b99478..c7d97b84f4f4d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js index 3bfd41bf7a272..d9bfc9adc378a 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js.map index 478d381f83c14..037bdfde6f24f 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js index 9212991194f3a..7d7c3038c858c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js.map index f02cfe4b99478..c7d97b84f4f4d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js index 3bfd41bf7a272..d9bfc9adc378a 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js.map index 478d381f83c14..037bdfde6f24f 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 9212991194f3a..7d7c3038c858c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index f02cfe4b99478..c7d97b84f4f4d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 3bfd41bf7a272..d9bfc9adc378a 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 478d381f83c14..037bdfde6f24f 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 9212991194f3a..7d7c3038c858c 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index f02cfe4b99478..c7d97b84f4f4d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 3bfd41bf7a272..d9bfc9adc378a 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 478d381f83c14..037bdfde6f24f 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js index ad38ecf77a18b..27349ebdd6007 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map index 46dc91ceb1be2..fe6302c1b81aa 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js index ad38ecf77a18b..27349ebdd6007 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map index 46dc91ceb1be2..fe6302c1b81aa 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js index 6e93c5d9730df..4dd766fa9a51d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js.map index 4a81c411553ba..358e33f8e97f8 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js index 6e93c5d9730df..4dd766fa9a51d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js.map index 4a81c411553ba..358e33f8e97f8 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index 6e93c5d9730df..4dd766fa9a51d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 4a81c411553ba..358e33f8e97f8 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index 6e93c5d9730df..4dd766fa9a51d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 4a81c411553ba..358e33f8e97f8 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js index 6e93c5d9730df..4dd766fa9a51d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map index 4a81c411553ba..358e33f8e97f8 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js index 6e93c5d9730df..4dd766fa9a51d 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map index 4a81c411553ba..358e33f8e97f8 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js index ee0a86fef01ed..fb9e4a13971a0 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map index 185ca9d604a3f..8ec6c9d68d612 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js index a8d5c333e73fa..92f072bb3e651 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js.map index 08e20c706ff74..57fbf60980e3e 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js index ee0a86fef01ed..fb9e4a13971a0 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map index 185ca9d604a3f..8ec6c9d68d612 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js index a8d5c333e73fa..92f072bb3e651 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js.map index 08e20c706ff74..57fbf60980e3e 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index ee0a86fef01ed..fb9e4a13971a0 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 185ca9d604a3f..8ec6c9d68d612 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index a8d5c333e73fa..92f072bb3e651 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 08e20c706ff74..57fbf60980e3e 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index ee0a86fef01ed..fb9e4a13971a0 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 185ca9d604a3f..8ec6c9d68d612 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index a8d5c333e73fa..92f072bb3e651 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 08e20c706ff74..57fbf60980e3e 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js index 5cb9a2c6f06f3..23cc41bc69837 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map index fc8a830e8a3a5..7daee0af12484 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js index 5cb9a2c6f06f3..23cc41bc69837 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map index fc8a830e8a3a5..7daee0af12484 100644 --- a/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js index cc0713358fa6d..dcdf5b90f5183 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map index 4ae10d747239a..ca0aa7e9efe2d 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js index f65122a725c4a..6fb10db8157e5 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map index c37800aafca4f..ebe9eedb67281 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js index cc0713358fa6d..dcdf5b90f5183 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map index 4ae10d747239a..ca0aa7e9efe2d 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js index f65122a725c4a..6fb10db8157e5 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js.map index c37800aafca4f..ebe9eedb67281 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 07de769111d7d..70b9d301b7363 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 4ae10d747239a..ca0aa7e9efe2d 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 4c8d72f111961..fd9ace6200807 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index c37800aafca4f..ebe9eedb67281 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 07de769111d7d..70b9d301b7363 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 4ae10d747239a..ca0aa7e9efe2d 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 4c8d72f111961..fd9ace6200807 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index c37800aafca4f..ebe9eedb67281 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 941359a0261db..1e7f5cb7e41fc 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index 5276c78b2945f..af53deaf8ac15 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/ref/m2.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/ref/m2.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js index 52016b11f6543..63251c5543011 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 58f139fdeea60..acd785165a709 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index 9642b9151213e..ea6e56a68bc80 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 140983a1cfdf4..03d6f386b71d5 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/ref/m2.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/ref/m2.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 629413012de17..ce12095c1cd85 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index c55e9ded38560..ae648efa5e6d8 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../outputdir_mixed_subfolder/ref/m1.ts","../outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map index 7684fc08caa60..5c64ce84b249a 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile1.js index b43aaf0f3471a..6ce783333aa06 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js index f88e78c731287..6c58f19432992 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map index cf9bb7978b8f0..d0c5a6cc56118 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js index 253a5e4816f95..e8ecd4db0ff62 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js.map index 2ac5cd31d8cef..4d9d747dc2961 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map index 7684fc08caa60..5c64ce84b249a 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile1.js index b43aaf0f3471a..6ce783333aa06 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js index f88e78c731287..6c58f19432992 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map index cf9bb7978b8f0..d0c5a6cc56118 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js index 253a5e4816f95..e8ecd4db0ff62 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js.map index 2ac5cd31d8cef..4d9d747dc2961 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 1ca8cf7b35511..ec3483fa74503 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index cf9bb7978b8f0..d0c5a6cc56118 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 7df31b5ec466b..bf38119c58e03 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 2ac5cd31d8cef..4d9d747dc2961 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 28ae66d438360..3cf9983eb929e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 7684fc08caa60..5c64ce84b249a 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 1ca8cf7b35511..ec3483fa74503 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index cf9bb7978b8f0..d0c5a6cc56118 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 7df31b5ec466b..bf38119c58e03 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 2ac5cd31d8cef..4d9d747dc2961 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 28ae66d438360..3cf9983eb929e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 7684fc08caa60..5c64ce84b249a 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js index edd701b1b184a..2b1ea2f3ab2e1 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map index 44a0bf03adb92..220d432ec6ed3 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../projects/outputdir_multifolder/ref/m1.ts","../projects/outputdir_multifolder_ref/m2.ts","../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../projects/outputdir_multifolder/ref/m1.ts","../projects/outputdir_multifolder_ref/m2.ts","../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js index edd701b1b184a..2b1ea2f3ab2e1 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map index 44a0bf03adb92..220d432ec6ed3 100644 --- a/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../projects/outputdir_multifolder/ref/m1.ts","../projects/outputdir_multifolder_ref/m2.ts","../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../projects/outputdir_multifolder/ref/m1.ts","../projects/outputdir_multifolder_ref/m2.ts","../projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js index d67d18300f5c8..1d9280bbc40ba 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js.map index e8a5de6561dc6..b6387c9989b9b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js index bd29f7956bd1b..ec0915f3b41ec 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js.map index be4772c744112..308e147cf7d26 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js index d67d18300f5c8..1d9280bbc40ba 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js.map index e8a5de6561dc6..b6387c9989b9b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js index bd29f7956bd1b..ec0915f3b41ec 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js.map index be4772c744112..308e147cf7d26 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 4f89f9d70815f..771dd197bba42 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index e8a5de6561dc6..b6387c9989b9b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 5fce84ff18c36..36b74e6789eae 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index be4772c744112..308e147cf7d26 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 4f89f9d70815f..771dd197bba42 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index e8a5de6561dc6..b6387c9989b9b 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 5fce84ff18c36..36b74e6789eae 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index be4772c744112..308e147cf7d26 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js index ded03237e0857..6f0c86f3f113c 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map index 0ee5b3301c7f7..de783cd2e83bb 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts","../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts","../outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js index ded03237e0857..6f0c86f3f113c 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map index 0ee5b3301c7f7..de783cd2e83bb 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts","../outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_simple/m1.ts","../outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js index 291871e9e51b0..73afb9e40c215 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js.map index 7373602f8988a..cb8571cd5d7d1 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js index 291871e9e51b0..73afb9e40c215 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js.map index 7373602f8988a..cb8571cd5d7d1 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index e4746de99231b..ae68dd76dc5ae 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 7373602f8988a..cb8571cd5d7d1 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index e4746de99231b..ae68dd76dc5ae 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 7373602f8988a..cb8571cd5d7d1 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js index 9cadbc896e05d..4fb080ba887d7 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map index 7373602f8988a..cb8571cd5d7d1 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js index 9cadbc896e05d..4fb080ba887d7 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map index 7373602f8988a..cb8571cd5d7d1 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js index cc0713358fa6d..dcdf5b90f5183 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map index 6b51432ef509b..fb9843973003e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js index 69db0240b76ea..50daa24474837 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js.map index e8bfa2a885651..63544811d959e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js index cc0713358fa6d..dcdf5b90f5183 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map index 6b51432ef509b..fb9843973003e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js index 69db0240b76ea..50daa24474837 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js.map index e8bfa2a885651..63544811d959e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 07de769111d7d..70b9d301b7363 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 6b51432ef509b..fb9843973003e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 0e1644b962ee2..e9003536ea2b9 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index e8bfa2a885651..63544811d959e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 07de769111d7d..70b9d301b7363 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 6b51432ef509b..fb9843973003e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 0e1644b962ee2..e9003536ea2b9 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index e8bfa2a885651..63544811d959e 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js index 4901f9e34030d..ebd9157ec1aae 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map index 35e4dd7db1fc7..57c5af6f94220 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/ref/m1.ts","../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/ref/m1.ts","../outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js index 4901f9e34030d..ebd9157ec1aae 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map index 35e4dd7db1fc7..57c5af6f94220 100644 --- a/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/mapRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/ref/m1.ts","../outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../outputdir_subfolder/ref/m1.ts","../outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map index 923cdd5a4a751..ecafc3b77dd2a 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js index e36a1dc17c84a..a433936a4178f 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js.map index 99c81e7d028e1..cf7e55d041ab7 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map index 923cdd5a4a751..ecafc3b77dd2a 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js index e36a1dc17c84a..a433936a4178f 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js.map index 99c81e7d028e1..cf7e55d041ab7 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 923cdd5a4a751..ecafc3b77dd2a 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index e36a1dc17c84a..a433936a4178f 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 99c81e7d028e1..cf7e55d041ab7 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 923cdd5a4a751..ecafc3b77dd2a 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index e36a1dc17c84a..a433936a4178f 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 99c81e7d028e1..cf7e55d041ab7 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 9ef5676bc1812..9106bfe18b634 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index e5d86bb8c3ce4..a639cd5bb8ed4 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js index a9815ec3ad152..d9406a25a165c 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 7b06c6165f452..d826267253602 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index e93aac43b8e60..f56c1f99a508e 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 8cae1763b0827..c7abf3cab1167 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m2.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 1186e804d6307..0039acd21a218 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index b6085481c03e0..f7c6cfdd7ff15 100644 --- a/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/maprootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_mixed_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_mixed_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile0.js.map index 4ff21e2c86676..b1e0d1e51d5a8 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile1.js index 250f6e91373e4..964dbbe323e99 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js index b6dc5260a9017..ad85379d16d02 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js.map index 9f55dd6bc9362..02a6d6911af75 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js index c18264d2df5ee..667e09f1fe2d2 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js.map index 4f6f20b55bf14..f7b71ecdbd5f3 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile0.js.map index 4ff21e2c86676..b1e0d1e51d5a8 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile1.js index 250f6e91373e4..964dbbe323e99 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js index b6dc5260a9017..ad85379d16d02 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js.map index 9f55dd6bc9362..02a6d6911af75 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js index c18264d2df5ee..667e09f1fe2d2 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js.map index 4f6f20b55bf14..f7b71ecdbd5f3 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index b6dc5260a9017..ad85379d16d02 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index 9f55dd6bc9362..02a6d6911af75 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index c18264d2df5ee..667e09f1fe2d2 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 4f6f20b55bf14..f7b71ecdbd5f3 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 250f6e91373e4..964dbbe323e99 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 4ff21e2c86676..b1e0d1e51d5a8 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index b6dc5260a9017..ad85379d16d02 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index 9f55dd6bc9362..02a6d6911af75 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index c18264d2df5ee..667e09f1fe2d2 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 4f6f20b55bf14..f7b71ecdbd5f3 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 250f6e91373e4..964dbbe323e99 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 4ff21e2c86676..b1e0d1e51d5a8 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js index 2ab8779418fb3..00e3dbdc4d100 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map index 33081fa8be631..053e46bde95c0 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts","file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts","file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts","file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts","file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js index 2ab8779418fb3..00e3dbdc4d100 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map index 33081fa8be631..053e46bde95c0 100644 --- a/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts","file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts","file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_multifolder/ref/m1.ts","file:///tests/cases/projects/outputdir_multifolder_ref/m2.ts","file:///tests/cases/projects/outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js index 7c46af25a8498..414ab730f740e 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js.map index aa3fcbe541f26..5f440860d267c 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js index 34acdb6713b0d..444868cf707ca 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js.map index 14b7b6d60da25..b0b2de8193da3 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js index 7c46af25a8498..414ab730f740e 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js.map index aa3fcbe541f26..5f440860d267c 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js index 34acdb6713b0d..444868cf707ca 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js.map index 14b7b6d60da25..b0b2de8193da3 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 7c46af25a8498..414ab730f740e 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index aa3fcbe541f26..5f440860d267c 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 34acdb6713b0d..444868cf707ca 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 14b7b6d60da25..b0b2de8193da3 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 7c46af25a8498..414ab730f740e 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index aa3fcbe541f26..5f440860d267c 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 34acdb6713b0d..444868cf707ca 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 14b7b6d60da25..b0b2de8193da3 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js index 44dec645a14c9..fdd19e515318f 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map index f365040759fa1..1a6775dc10a90 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts","file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts","file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js index 44dec645a14c9..fdd19e515318f 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js.map index f365040759fa1..1a6775dc10a90 100644 --- a/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts","file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_simple/m1.ts","file:///tests/cases/projects/outputdir_simple/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js.map index e0e9f00527b72..6e502eca15f4d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js.map index e0e9f00527b72..6e502eca15f4d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index e0e9f00527b72..6e502eca15f4d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index e0e9f00527b72..6e502eca15f4d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map index e0e9f00527b72..6e502eca15f4d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map index e0e9f00527b72..6e502eca15f4d 100644 --- a/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_singleFile/test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js.map index 0ad2325d5b2a2..5850d61e21e96 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js index 475fba0bd2a9b..a57c4cec8309c 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js.map index 1b93543e04364..df71ff41694d8 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js.map index 0ad2325d5b2a2..5850d61e21e96 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js index 475fba0bd2a9b..a57c4cec8309c 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js.map index 1b93543e04364..df71ff41694d8 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 0ad2325d5b2a2..5850d61e21e96 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 475fba0bd2a9b..a57c4cec8309c 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 1b93543e04364..df71ff41694d8 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 0ad2325d5b2a2..5850d61e21e96 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 475fba0bd2a9b..a57c4cec8309c 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 1b93543e04364..df71ff41694d8 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js index 126bb93b34d61..690db0b7eaa04 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map index 96e6cfa529e6c..c5d6ffac140cb 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js index 126bb93b34d61..690db0b7eaa04 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map index 96e6cfa529e6c..c5d6ffac140cb 100644 --- a/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["file:///tests/cases/projects/outputdir_subfolder/ref/m1.ts","file:///tests/cases/projects/outputdir_subfolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js index e36a1dc17c84a..a433936a4178f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map index 63af98c5af8be..66e61830b5edd 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js index e36a1dc17c84a..a433936a4178f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js.map index 63af98c5af8be..66e61830b5edd 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index e36a1dc17c84a..a433936a4178f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 63af98c5af8be..66e61830b5edd 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index e36a1dc17c84a..a433936a4178f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 63af98c5af8be..66e61830b5edd 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 9ef5676bc1812..9106bfe18b634 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index daecf59cbc6e9..b37c17aebb2c7 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js index a9815ec3ad152..d9406a25a165c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 802e57a5e7cb9..44746a3170a2d 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index e93aac43b8e60..f56c1f99a508e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index b790907b8c9c8..819fec2bf0195 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 1186e804d6307..0039acd21a218 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index dc4a683ce9583..e75a2d16c7afb 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map index ede2bc67b334d..924df5c5b118d 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile1.js index 250f6e91373e4..964dbbe323e99 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js index b6dc5260a9017..ad85379d16d02 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map index b8a5cd8bfc559..906f16edb1c03 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js index c18264d2df5ee..667e09f1fe2d2 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js.map index 435378f1af5e0..f69b23f5e0a90 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map index ede2bc67b334d..924df5c5b118d 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile1.js index 250f6e91373e4..964dbbe323e99 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js index b6dc5260a9017..ad85379d16d02 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map index b8a5cd8bfc559..906f16edb1c03 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js index c18264d2df5ee..667e09f1fe2d2 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js.map index 435378f1af5e0..f69b23f5e0a90 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index b6dc5260a9017..ad85379d16d02 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index b8a5cd8bfc559..906f16edb1c03 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index c18264d2df5ee..667e09f1fe2d2 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 435378f1af5e0..f69b23f5e0a90 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 250f6e91373e4..964dbbe323e99 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index ede2bc67b334d..924df5c5b118d 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index b6dc5260a9017..ad85379d16d02 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index b8a5cd8bfc559..906f16edb1c03 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index c18264d2df5ee..667e09f1fe2d2 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 435378f1af5e0..f69b23f5e0a90 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 250f6e91373e4..964dbbe323e99 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index ede2bc67b334d..924df5c5b118d 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js index 2ab8779418fb3..00e3dbdc4d100 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map index 7e28ae21c0cc5..eae81b8f7c25b 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js index 2ab8779418fb3..00e3dbdc4d100 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map index 7e28ae21c0cc5..eae81b8f7c25b 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js index 7c46af25a8498..414ab730f740e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js.map index 0fe185ad05ae4..6b384e44468f5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js index 34acdb6713b0d..444868cf707ca 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js.map index 9f98aaca6fe56..03a0b286eafa5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js index 7c46af25a8498..414ab730f740e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js.map index 0fe185ad05ae4..6b384e44468f5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js index 34acdb6713b0d..444868cf707ca 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js.map index 9f98aaca6fe56..03a0b286eafa5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 7c46af25a8498..414ab730f740e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 0fe185ad05ae4..6b384e44468f5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 34acdb6713b0d..444868cf707ca 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 9f98aaca6fe56..03a0b286eafa5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 7c46af25a8498..414ab730f740e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 0fe185ad05ae4..6b384e44468f5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 34acdb6713b0d..444868cf707ca 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 9f98aaca6fe56..03a0b286eafa5 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js index 44dec645a14c9..fdd19e515318f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map index 2a11b14013ea4..73b5dcb0b57aa 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js index 44dec645a14c9..fdd19e515318f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map index 2a11b14013ea4..73b5dcb0b57aa 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js index d5245491d39d8..1cd6159773d8f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js index 475fba0bd2a9b..a57c4cec8309c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js.map index a61695ca4aaae..6d796efaf21d0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js index 475fba0bd2a9b..a57c4cec8309c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js.map index a61695ca4aaae..6d796efaf21d0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 475fba0bd2a9b..a57c4cec8309c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index a61695ca4aaae..6d796efaf21d0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 639e6c5846246..8ba537a64fba1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 475fba0bd2a9b..a57c4cec8309c 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index a61695ca4aaae..6d796efaf21d0 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js index 126bb93b34d61..690db0b7eaa04 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map index dc10a268c5522..48741ebef5de1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js index 126bb93b34d61..690db0b7eaa04 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map index dc10a268c5522..48741ebef5de1 100644 --- a/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/maprootUrlsourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/noProjectOptionAndInputFiles/amd/a.js b/tests/baselines/reference/project/noProjectOptionAndInputFiles/amd/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/noProjectOptionAndInputFiles/amd/a.js +++ b/tests/baselines/reference/project/noProjectOptionAndInputFiles/amd/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/noProjectOptionAndInputFiles/node/a.js b/tests/baselines/reference/project/noProjectOptionAndInputFiles/node/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/noProjectOptionAndInputFiles/node/a.js +++ b/tests/baselines/reference/project/noProjectOptionAndInputFiles/node/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/maxDepthExceeded/built/node_modules/m1/index.js b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/maxDepthExceeded/built/node_modules/m1/index.js index 46d38afba6fa2..3be748fe1fd23 100644 --- a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/maxDepthExceeded/built/node_modules/m1/index.js +++ b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/maxDepthExceeded/built/node_modules/m1/index.js @@ -1,3 +1,4 @@ +"use strict"; var m2 = require('m2'); var rel = require('./relative'); /** diff --git a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/maxDepthExceeded/built/node_modules/m1/relative.js b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/maxDepthExceeded/built/node_modules/m1/relative.js index 13432076541ac..532c665187b20 100644 --- a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/maxDepthExceeded/built/node_modules/m1/relative.js +++ b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/amd/maxDepthExceeded/built/node_modules/m1/relative.js @@ -1 +1,2 @@ +"use strict"; exports.relativeProp = true; diff --git a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/node_modules/m1/index.js b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/node_modules/m1/index.js index 46d38afba6fa2..3be748fe1fd23 100644 --- a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/node_modules/m1/index.js +++ b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/node_modules/m1/index.js @@ -1,3 +1,4 @@ +"use strict"; var m2 = require('m2'); var rel = require('./relative'); /** diff --git a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/node_modules/m1/relative.js b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/node_modules/m1/relative.js index 13432076541ac..532c665187b20 100644 --- a/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/node_modules/m1/relative.js +++ b/tests/baselines/reference/project/nodeModulesMaxDepthExceeded/node/maxDepthExceeded/built/node_modules/m1/relative.js @@ -1 +1,2 @@ +"use strict"; exports.relativeProp = true; diff --git a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/test.js index 1208cf30a7a35..fc5b1b4e369fa 100644 --- a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/test.js index 1208cf30a7a35..fc5b1b4e369fa 100644 --- a/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 1208cf30a7a35..fc5b1b4e369fa 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 1208cf30a7a35..fc5b1b4e369fa 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 916f532ca2d23..f9dc2a3ff3686 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/bin/test.js index eca745c76f148..dffa9ff40ab19 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index 916f532ca2d23..f9dc2a3ff3686 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index eca745c76f148..dffa9ff40ab19 100644 --- a/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/outMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/diskFile0.js b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/diskFile0.js index 1937fd25edbba..31b839583c21e 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/diskFile0.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/diskFile0.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/test.js index a870977dadf19..75951a839e9c4 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/node/diskFile0.js b/tests/baselines/reference/project/outMultifolderNoOutdir/node/diskFile0.js index 1937fd25edbba..31b839583c21e 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/node/diskFile0.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/node/diskFile0.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/outMultifolderNoOutdir/node/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/outMultifolderNoOutdir/node/test.js index a870977dadf19..75951a839e9c4 100644 --- a/tests/baselines/reference/project/outMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outMultifolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index a870977dadf19..75951a839e9c4 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 1937fd25edbba..31b839583c21e 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index a870977dadf19..75951a839e9c4 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 1937fd25edbba..31b839583c21e 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/bin/test.js index 1a787105db3b9..5ecbaedaea781 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/bin/test.js index 1a787105db3b9..5ecbaedaea781 100644 --- a/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/outMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/outSimpleNoOutdir/amd/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/outSimpleNoOutdir/amd/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/outSimpleNoOutdir/amd/test.js index 42951778f6705..48754dac0538f 100644 --- a/tests/baselines/reference/project/outSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outSimpleNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/outSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/outSimpleNoOutdir/node/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/outSimpleNoOutdir/node/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/outSimpleNoOutdir/node/test.js index 42951778f6705..48754dac0538f 100644 --- a/tests/baselines/reference/project/outSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outSimpleNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index 42951778f6705..48754dac0538f 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index 42951778f6705..48754dac0538f 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/bin/test.js index 335308fdbbad7..34469e075dbad 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/bin/test.js index 335308fdbbad7..34469e075dbad 100644 --- a/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/outSimpleSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/outSingleFileNoOutdir/amd/test.js index fc842c3ae565b..0c17081284b05 100644 --- a/tests/baselines/reference/project/outSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outSingleFileNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/outSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/outSingleFileNoOutdir/node/test.js index fc842c3ae565b..0c17081284b05 100644 --- a/tests/baselines/reference/project/outSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outSingleFileNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index fc842c3ae565b..0c17081284b05 100644 --- a/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index fc842c3ae565b..0c17081284b05 100644 --- a/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/bin/test.js index fc842c3ae565b..0c17081284b05 100644 --- a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/bin/test.js index fc842c3ae565b..0c17081284b05 100644 --- a/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/outSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/outSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/outSubfolderNoOutdir/amd/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/outSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/outSubfolderNoOutdir/amd/test.js index 5a71ed22c8cc3..30830b09f112e 100644 --- a/tests/baselines/reference/project/outSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/outSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/outSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/outSubfolderNoOutdir/node/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/outSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/outSubfolderNoOutdir/node/test.js index 5a71ed22c8cc3..30830b09f112e 100644 --- a/tests/baselines/reference/project/outSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/outSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 5a71ed22c8cc3..30830b09f112e 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 1b7fc06763718..6b9cbc3d87dfc 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 5a71ed22c8cc3..30830b09f112e 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/bin/test.js index dec9e93d53e9a..62f0a75684061 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/bin/test.js index dec9e93d53e9a..62f0a75684061 100644 --- a/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/outSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/amd/testGlo.js b/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/amd/testGlo.js index f5353bdb697c1..d02f304205948 100644 --- a/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/amd/testGlo.js +++ b/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/amd/testGlo.js @@ -1,3 +1,4 @@ +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/node/testGlo.js b/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/node/testGlo.js index f5353bdb697c1..d02f304205948 100644 --- a/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/node/testGlo.js +++ b/tests/baselines/reference/project/privacyCheckOnImportedModuleDeclarationsInsideModule/node/testGlo.js @@ -1,3 +1,4 @@ +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/project/projectOptionTest/amd/Test/a.js b/tests/baselines/reference/project/projectOptionTest/amd/Test/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/projectOptionTest/amd/Test/a.js +++ b/tests/baselines/reference/project/projectOptionTest/amd/Test/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/projectOptionTest/node/Test/a.js b/tests/baselines/reference/project/projectOptionTest/node/Test/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/projectOptionTest/node/Test/a.js +++ b/tests/baselines/reference/project/projectOptionTest/node/Test/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/prologueEmit/amd/out.js b/tests/baselines/reference/project/prologueEmit/amd/out.js index 0761d85d74026..622e9a4d57e23 100644 --- a/tests/baselines/reference/project/prologueEmit/amd/out.js +++ b/tests/baselines/reference/project/prologueEmit/amd/out.js @@ -1,3 +1,4 @@ +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/project/prologueEmit/node/out.js b/tests/baselines/reference/project/prologueEmit/node/out.js index 0761d85d74026..622e9a4d57e23 100644 --- a/tests/baselines/reference/project/prologueEmit/node/out.js +++ b/tests/baselines/reference/project/prologueEmit/node/out.js @@ -1,3 +1,4 @@ +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/li'b/class'A.js b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/li'b/class'A.js index ed444649d06ca..78bcf935b24b7 100644 --- a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/li'b/class'A.js +++ b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/li'b/class'A.js @@ -1,3 +1,4 @@ +"use strict"; var test; (function (test) { var ClassA = /** @class */ (function () { diff --git a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/m'ain.js b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/m'ain.js index ce33f2150c13e..a5fe0f9f94749 100644 --- a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/m'ain.js +++ b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/amd/m'ain.js @@ -1,3 +1,4 @@ +"use strict"; /// var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/li'b/class'A.js b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/li'b/class'A.js index ed444649d06ca..78bcf935b24b7 100644 --- a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/li'b/class'A.js +++ b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/li'b/class'A.js @@ -1,3 +1,4 @@ +"use strict"; var test; (function (test) { var ClassA = /** @class */ (function () { diff --git a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/m'ain.js b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/m'ain.js index ce33f2150c13e..a5fe0f9f94749 100644 --- a/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/m'ain.js +++ b/tests/baselines/reference/project/quotesInFileAndDirectoryNames/node/m'ain.js @@ -1,3 +1,4 @@ +"use strict"; /// var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/diskFile0.js index 4c8204804afd1..f899e1d71fe2d 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/diskFile0.js @@ -1,3 +1,4 @@ +"use strict"; /// // This is bar.ts var bar = /** @class */ (function () { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/foo.js index e8bb44a089b6d..8e7b256e93808 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePaths/amd/foo.js @@ -1,3 +1,4 @@ +"use strict"; /// var foo = /** @class */ (function () { function foo() { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePaths/node/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePaths/node/diskFile0.js index 4c8204804afd1..f899e1d71fe2d 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePaths/node/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePaths/node/diskFile0.js @@ -1,3 +1,4 @@ +"use strict"; /// // This is bar.ts var bar = /** @class */ (function () { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePaths/node/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePaths/node/foo.js index e8bb44a089b6d..8e7b256e93808 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePaths/node/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePaths/node/foo.js @@ -1,3 +1,4 @@ +"use strict"; /// var foo = /** @class */ (function () { function foo() { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/bar/bar.js b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/bar/bar.js index 4c8204804afd1..f899e1d71fe2d 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/bar/bar.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/bar/bar.js @@ -1,3 +1,4 @@ +"use strict"; /// // This is bar.ts var bar = /** @class */ (function () { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/src/ts/foo/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/src/ts/foo/foo.js index e8bb44a089b6d..8e7b256e93808 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/src/ts/foo/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/amd/src/ts/foo/foo.js @@ -1,3 +1,4 @@ +"use strict"; /// var foo = /** @class */ (function () { function foo() { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/bar/bar.js b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/bar/bar.js index 4c8204804afd1..f899e1d71fe2d 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/bar/bar.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/bar/bar.js @@ -1,3 +1,4 @@ +"use strict"; /// // This is bar.ts var bar = /** @class */ (function () { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/src/ts/foo/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/src/ts/foo/foo.js index e8bb44a089b6d..8e7b256e93808 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/src/ts/foo/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsFromRootDirectory/node/src/ts/foo/foo.js @@ -1,3 +1,4 @@ +"use strict"; /// var foo = /** @class */ (function () { function foo() { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/diskFile0.js index 4c8204804afd1..f899e1d71fe2d 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/diskFile0.js @@ -1,3 +1,4 @@ +"use strict"; /// // This is bar.ts var bar = /** @class */ (function () { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/foo.js index e8bb44a089b6d..8e7b256e93808 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/amd/foo.js @@ -1,3 +1,4 @@ +"use strict"; /// var foo = /** @class */ (function () { function foo() { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/diskFile0.js index 4c8204804afd1..f899e1d71fe2d 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/diskFile0.js @@ -1,3 +1,4 @@ +"use strict"; /// // This is bar.ts var bar = /** @class */ (function () { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/foo.js index e8bb44a089b6d..8e7b256e93808 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsNoResolve/node/foo.js @@ -1,3 +1,4 @@ +"use strict"; /// var foo = /** @class */ (function () { function foo() { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/diskFile0.js index 4c8204804afd1..f899e1d71fe2d 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/diskFile0.js @@ -1,3 +1,4 @@ +"use strict"; /// // This is bar.ts var bar = /** @class */ (function () { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/foo.js index e8bb44a089b6d..8e7b256e93808 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/amd/foo.js @@ -1,3 +1,4 @@ +"use strict"; /// var foo = /** @class */ (function () { function foo() { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/diskFile0.js b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/diskFile0.js index 4c8204804afd1..f899e1d71fe2d 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/diskFile0.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/diskFile0.js @@ -1,3 +1,4 @@ +"use strict"; /// // This is bar.ts var bar = /** @class */ (function () { diff --git a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/foo.js b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/foo.js index e8bb44a089b6d..8e7b256e93808 100644 --- a/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/foo.js +++ b/tests/baselines/reference/project/referenceResolutionRelativePathsRelativeToRootDirectory/node/foo.js @@ -1,3 +1,4 @@ +"use strict"; /// var foo = /** @class */ (function () { function foo() { diff --git a/tests/baselines/reference/project/referenceResolutionSameFileTwice/amd/test.js b/tests/baselines/reference/project/referenceResolutionSameFileTwice/amd/test.js index 1662f0dfb881d..3b2430b467c86 100644 --- a/tests/baselines/reference/project/referenceResolutionSameFileTwice/amd/test.js +++ b/tests/baselines/reference/project/referenceResolutionSameFileTwice/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; var test = /** @class */ (function () { function test() { } diff --git a/tests/baselines/reference/project/referenceResolutionSameFileTwice/node/test.js b/tests/baselines/reference/project/referenceResolutionSameFileTwice/node/test.js index 1662f0dfb881d..3b2430b467c86 100644 --- a/tests/baselines/reference/project/referenceResolutionSameFileTwice/node/test.js +++ b/tests/baselines/reference/project/referenceResolutionSameFileTwice/node/test.js @@ -1,3 +1,4 @@ +"use strict"; var test = /** @class */ (function () { function test() { } diff --git a/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/amd/test.js b/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/amd/test.js index 1662f0dfb881d..3b2430b467c86 100644 --- a/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/amd/test.js +++ b/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; var test = /** @class */ (function () { function test() { } diff --git a/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/node/test.js b/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/node/test.js index 1662f0dfb881d..3b2430b467c86 100644 --- a/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/node/test.js +++ b/tests/baselines/reference/project/referenceResolutionSameFileTwiceNoResolve/node/test.js @@ -1,3 +1,4 @@ +"use strict"; var test = /** @class */ (function () { function test() { } diff --git a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js index ebeb32c5de654..ab1d8f3603df6 100644 --- a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js +++ b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js @@ -1,3 +1,4 @@ +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js.map b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js.map index d67fd5861cff8..0b3cbd67b3326 100644 --- a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js.map +++ b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/FolderC/fileC.js.map @@ -1 +1 @@ -{"version":3,"file":"fileC.js","sourceRoot":"","sources":["../../../../FolderA/FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file +{"version":3,"file":"fileC.js","sourceRoot":"","sources":["../../../../FolderA/FolderB/FolderC/fileC.ts"],"names":[],"mappings":";AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js index de69db3ded8eb..17903b05a1ffa 100644 --- a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js @@ -1,3 +1,4 @@ +"use strict"; /// var B = /** @class */ (function () { function B() { diff --git a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js.map b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js.map index 161ad8891f6b9..08df3f231bf31 100644 --- a/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js.map +++ b/tests/baselines/reference/project/rootDirectory/amd/outdir/simple/FolderB/fileB.js.map @@ -1 +1 @@ -{"version":3,"file":"fileB.js","sourceRoot":"","sources":["../../../FolderA/FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file +{"version":3,"file":"fileB.js","sourceRoot":"","sources":["../../../FolderA/FolderB/fileB.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js index ebeb32c5de654..ab1d8f3603df6 100644 --- a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js +++ b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js @@ -1,3 +1,4 @@ +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js.map b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js.map index d67fd5861cff8..0b3cbd67b3326 100644 --- a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js.map +++ b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/FolderC/fileC.js.map @@ -1 +1 @@ -{"version":3,"file":"fileC.js","sourceRoot":"","sources":["../../../../FolderA/FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file +{"version":3,"file":"fileC.js","sourceRoot":"","sources":["../../../../FolderA/FolderB/FolderC/fileC.ts"],"names":[],"mappings":";AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js index de69db3ded8eb..17903b05a1ffa 100644 --- a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js @@ -1,3 +1,4 @@ +"use strict"; /// var B = /** @class */ (function () { function B() { diff --git a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js.map b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js.map index 161ad8891f6b9..08df3f231bf31 100644 --- a/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js.map +++ b/tests/baselines/reference/project/rootDirectory/node/outdir/simple/FolderB/fileB.js.map @@ -1 +1 @@ -{"version":3,"file":"fileB.js","sourceRoot":"","sources":["../../../FolderA/FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file +{"version":3,"file":"fileB.js","sourceRoot":"","sources":["../../../FolderA/FolderB/fileB.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryErrors/amd/FolderA/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectoryErrors/amd/FolderA/FolderB/fileB.js index e3580f23910ef..e70cf4e3b9e5a 100644 --- a/tests/baselines/reference/project/rootDirectoryErrors/amd/FolderA/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectoryErrors/amd/FolderA/FolderB/fileB.js @@ -1,3 +1,4 @@ +"use strict"; /// var B = /** @class */ (function () { function B() { diff --git a/tests/baselines/reference/project/rootDirectoryErrors/amd/outdir/simple/fileC.js b/tests/baselines/reference/project/rootDirectoryErrors/amd/outdir/simple/fileC.js index 35b4a697f307e..d2e4f10e15128 100644 --- a/tests/baselines/reference/project/rootDirectoryErrors/amd/outdir/simple/fileC.js +++ b/tests/baselines/reference/project/rootDirectoryErrors/amd/outdir/simple/fileC.js @@ -1,3 +1,4 @@ +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/project/rootDirectoryErrors/node/FolderA/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectoryErrors/node/FolderA/FolderB/fileB.js index e3580f23910ef..e70cf4e3b9e5a 100644 --- a/tests/baselines/reference/project/rootDirectoryErrors/node/FolderA/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectoryErrors/node/FolderA/FolderB/fileB.js @@ -1,3 +1,4 @@ +"use strict"; /// var B = /** @class */ (function () { function B() { diff --git a/tests/baselines/reference/project/rootDirectoryErrors/node/outdir/simple/fileC.js b/tests/baselines/reference/project/rootDirectoryErrors/node/outdir/simple/fileC.js index 35b4a697f307e..d2e4f10e15128 100644 --- a/tests/baselines/reference/project/rootDirectoryErrors/node/outdir/simple/fileC.js +++ b/tests/baselines/reference/project/rootDirectoryErrors/node/outdir/simple/fileC.js @@ -1,3 +1,4 @@ +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js index ebeb32c5de654..ab1d8f3603df6 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js @@ -1,3 +1,4 @@ +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js.map b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js.map index 45953aa1384d9..02e7d45bdcdbe 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js.map +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/FolderC/fileC.js.map @@ -1 +1 @@ -{"version":3,"file":"fileC.js","sourceRoot":"SourceRootPath/","sources":["FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file +{"version":3,"file":"fileC.js","sourceRoot":"SourceRootPath/","sources":["FolderB/FolderC/fileC.ts"],"names":[],"mappings":";AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js index de69db3ded8eb..17903b05a1ffa 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js @@ -1,3 +1,4 @@ +"use strict"; /// var B = /** @class */ (function () { function B() { diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js.map b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js.map index bf8cdf049728e..1d3d2382fa4c7 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js.map +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/amd/outdir/simple/FolderB/fileB.js.map @@ -1 +1 @@ -{"version":3,"file":"fileB.js","sourceRoot":"SourceRootPath/","sources":["FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file +{"version":3,"file":"fileB.js","sourceRoot":"SourceRootPath/","sources":["FolderB/fileB.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js index ebeb32c5de654..ab1d8f3603df6 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js @@ -1,3 +1,4 @@ +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js.map b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js.map index 45953aa1384d9..02e7d45bdcdbe 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js.map +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/FolderC/fileC.js.map @@ -1 +1 @@ -{"version":3,"file":"fileC.js","sourceRoot":"SourceRootPath/","sources":["FolderB/FolderC/fileC.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file +{"version":3,"file":"fileC.js","sourceRoot":"SourceRootPath/","sources":["FolderB/FolderC/fileC.ts"],"names":[],"mappings":";AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js index de69db3ded8eb..17903b05a1ffa 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js @@ -1,3 +1,4 @@ +"use strict"; /// var B = /** @class */ (function () { function B() { diff --git a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js.map b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js.map index bf8cdf049728e..1d3d2382fa4c7 100644 --- a/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js.map +++ b/tests/baselines/reference/project/rootDirectoryWithSourceRoot/node/outdir/simple/FolderB/fileB.js.map @@ -1 +1 @@ -{"version":3,"file":"fileB.js","sourceRoot":"SourceRootPath/","sources":["FolderB/fileB.ts"],"names":[],"mappings":"AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file +{"version":3,"file":"fileB.js","sourceRoot":"SourceRootPath/","sources":["FolderB/fileB.ts"],"names":[],"mappings":";AAAA,wCAAwC;AACxC;IAAA;IAEA,CAAC;IAAD,QAAC;AAAD,CAAC,AAFD,IAEC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map index 69f95278c1529..ecd7839dfdab7 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map index befa07547e50f..405e5a3066152 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map index 69f95278c1529..ecd7839dfdab7 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map index befa07547e50f..405e5a3066152 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 69f95278c1529..ecd7839dfdab7 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index befa07547e50f..405e5a3066152 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 69f95278c1529..ecd7839dfdab7 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index befa07547e50f..405e5a3066152 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 0f2025c2942c0..e000411e5c807 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index 0c19aa286ac0f..9adbf7f6ec1f6 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js index 4aa1cc0efbdbb..d91857b125a75 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 75fed673cb400..6ca982d5ac1a9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index a67b52af4a10b..1fc4ce577d29c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 804336cab3218..9b5d81b6ae63f 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 86b6ba19ae52a..0bb4b7b4384df 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index dda03645ae193..8d16c9c8d93d1 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"/tests/cases/projects/outputdir_mixed_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map index 911f4310eb967..152162ae83e2c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map index 94102705a5934..08e93819bb9b0 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js.map index 32fd960386dc8..15bb84975e195 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map index 911f4310eb967..152162ae83e2c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map index 94102705a5934..08e93819bb9b0 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js.map index 32fd960386dc8..15bb84975e195 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index 94102705a5934..08e93819bb9b0 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 32fd960386dc8..15bb84975e195 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 911f4310eb967..152162ae83e2c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index 94102705a5934..08e93819bb9b0 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 32fd960386dc8..15bb84975e195 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 911f4310eb967..152162ae83e2c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js index 62f18329bd31e..414b94e8fb534 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map index fedaa1060392e..ef588ef797b2c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js index 62f18329bd31e..414b94e8fb534 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map index fedaa1060392e..ef588ef797b2c 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_multifolder/src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js.map index 6e5af4690f828..91568c97357f6 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js.map index 18c161b53b563..b3f4bf7618f1d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js.map index 6e5af4690f828..91568c97357f6 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js.map index 18c161b53b563..b3f4bf7618f1d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 6e5af4690f828..91568c97357f6 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 18c161b53b563..b3f4bf7618f1d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 6e5af4690f828..91568c97357f6 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 18c161b53b563..b3f4bf7618f1d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js index 8e0b6a1a8ff13..301b0c9dbd9e9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map index 8bebf8f069787..4e57a606f911e 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js index 8e0b6a1a8ff13..301b0c9dbd9e9 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map index 8bebf8f069787..4e57a606f911e 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_simple/src/","sources":["m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js.map index 96b90e9e0cb3b..5e04acfe1ac15 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js.map index 96b90e9e0cb3b..5e04acfe1ac15 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 96b90e9e0cb3b..5e04acfe1ac15 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 96b90e9e0cb3b..5e04acfe1ac15 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map index 96b90e9e0cb3b..5e04acfe1ac15 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map index 96b90e9e0cb3b..5e04acfe1ac15 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_singleFile/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map index 4002befdbf13e..933a6e3f7d016 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js.map index 2b61d7f4fd037..2dc1353b37119 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map index 4002befdbf13e..933a6e3f7d016 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js.map index 2b61d7f4fd037..2dc1353b37119 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 4002befdbf13e..933a6e3f7d016 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 2b61d7f4fd037..2dc1353b37119 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 4002befdbf13e..933a6e3f7d016 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 2b61d7f4fd037..2dc1353b37119 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js index 7c6145986c66a..7ff666203518d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map index df501fedb3921..5e2045196a8e1 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js index 7c6145986c66a..7ff666203518d 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map index df501fedb3921..5e2045196a8e1 100644 --- a/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootAbsolutePathSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"/tests/cases/projects/outputdir_subfolder/src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map index ad88a195e02ea..4ad596cb6afe0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map index a27c034fb55f8..ff24c71589b5d 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map index ad88a195e02ea..4ad596cb6afe0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js.map index a27c034fb55f8..ff24c71589b5d 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index ad88a195e02ea..4ad596cb6afe0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index a27c034fb55f8..ff24c71589b5d 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index ad88a195e02ea..4ad596cb6afe0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index a27c034fb55f8..ff24c71589b5d 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 0f2025c2942c0..e000411e5c807 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index 3e9c9b879de2c..313016aecd35f 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js index 4aa1cc0efbdbb..d91857b125a75 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 0b191fbe9f1d2..a607b5ff061bb 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index a67b52af4a10b..1fc4ce577d29c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 619c03c354707..680b92962d523 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"../src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"../src/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 86b6ba19ae52a..0bb4b7b4384df 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index 985dc5b30fdeb..b48678b59b1fa 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map index 7f9c1c00b653c..b82f3a43fc0a7 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile1.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map index d9564c6bc85c6..8b54482a6911c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js.map index cc443abac7bac..b18ff2d3e1b3c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map index 7f9c1c00b653c..b82f3a43fc0a7 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile1.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map index d9564c6bc85c6..8b54482a6911c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js.map index cc443abac7bac..b18ff2d3e1b3c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index d9564c6bc85c6..8b54482a6911c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index cc443abac7bac..b18ff2d3e1b3c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 7f9c1c00b653c..b82f3a43fc0a7 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index d9564c6bc85c6..8b54482a6911c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index cc443abac7bac..b18ff2d3e1b3c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 7f9c1c00b653c..b82f3a43fc0a7 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"../src/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js index 62f18329bd31e..414b94e8fb534 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map index a594ad77686ca..504f77116715c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js index 62f18329bd31e..414b94e8fb534 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map index a594ad77686ca..504f77116715c 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js.map index a0c011ab06c47..d69188771feec 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js.map index 5dcab2aa737af..fa9a96b7dd9ef 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js.map index a0c011ab06c47..d69188771feec 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js.map index 5dcab2aa737af..fa9a96b7dd9ef 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index a0c011ab06c47..d69188771feec 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 5dcab2aa737af..fa9a96b7dd9ef 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index a0c011ab06c47..d69188771feec 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 5dcab2aa737af..fa9a96b7dd9ef 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js index 8e0b6a1a8ff13..301b0c9dbd9e9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map index d68a7ce755850..c8bf775663a2d 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js index 8e0b6a1a8ff13..301b0c9dbd9e9 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map index d68a7ce755850..c8bf775663a2d 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js.map index 3ba8b406a08c6..17ab2b2921fdf 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js.map index 3ba8b406a08c6..17ab2b2921fdf 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 3ba8b406a08c6..17ab2b2921fdf 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 3ba8b406a08c6..17ab2b2921fdf 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map index 3ba8b406a08c6..17ab2b2921fdf 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map index 3ba8b406a08c6..17ab2b2921fdf 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map index ad88a195e02ea..4ad596cb6afe0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js.map index 8245474604382..f99bba642e287 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map index ad88a195e02ea..4ad596cb6afe0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js.map index 8245474604382..f99bba642e287 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index ad88a195e02ea..4ad596cb6afe0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 8245474604382..f99bba642e287 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index ad88a195e02ea..4ad596cb6afe0 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"../src/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 8245474604382..f99bba642e287 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js index 7c6145986c66a..7ff666203518d 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map index d35b8bd9bb00c..ad9e4861af396 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js index 7c6145986c66a..7ff666203518d 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map index d35b8bd9bb00c..ad9e4861af396 100644 --- a/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourceRootRelativePathSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"../src/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js.map index e793efbfb3839..74d94bda84cb0 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js.map index 24d1a8155ab50..3e799451c497c 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js.map index e793efbfb3839..74d94bda84cb0 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js.map index 24d1a8155ab50..3e799451c497c 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 49f78f3d209ee..6309e9970291b 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index bae91f73c9590..af446c6af14ae 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 49f78f3d209ee..6309e9970291b 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index bae91f73c9590..af446c6af14ae 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 0f2025c2942c0..e000411e5c807 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index 44f3fc33253a4..92f0a76d2f8b6 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js index 4aa1cc0efbdbb..d91857b125a75 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index ecfb4b8efdd61..156101c9fb297 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index a67b52af4a10b..1fc4ce577d29c 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index 22c66b6ef94ec..1436f02c93731 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../ref/m2.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 86b6ba19ae52a..0bb4b7b4384df 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index c9f06095b7244..422215c34f35a 100644 --- a/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourcemapMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile0.js.map index 0fb7588351846..aa71e93b1bc33 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile1.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js.map index e793efbfb3839..74d94bda84cb0 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js.map index 908a340c5966b..62e82e4eb976c 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile0.js.map index 0fb7588351846..aa71e93b1bc33 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile1.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js.map index e793efbfb3839..74d94bda84cb0 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js.map index 908a340c5966b..62e82e4eb976c 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index c739702c5e331..1e3a3738ea605 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 2c2a35ddac761..e5969e1ec248f 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index 69dcd47623756..38693bcf5a041 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index c739702c5e331..1e3a3738ea605 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 2c2a35ddac761..e5969e1ec248f 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index 69dcd47623756..38693bcf5a041 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"","sources":["../../../../outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js index 62f18329bd31e..414b94e8fb534 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js.map index c193441236121..4ec0e2a67fa24 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js index 62f18329bd31e..414b94e8fb534 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js.map index c193441236121..4ec0e2a67fa24 100644 --- a/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../../outputdir_multifolder_ref/m2.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js.map index e793efbfb3839..74d94bda84cb0 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js.map index 42ec9413cd347..ac1d7b395285f 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js.map index e793efbfb3839..74d94bda84cb0 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js.map index 42ec9413cd347..ac1d7b395285f 100644 --- a/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 29e5e2dcb3ecd..0df12be5d580c 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index a476ad151865b..3ddf7922ddebc 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 29e5e2dcb3ecd..0df12be5d580c 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index a476ad151865b..3ddf7922ddebc 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js index 8e0b6a1a8ff13..301b0c9dbd9e9 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js.map index 46dc91ceb1be2..fe6302c1b81aa 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js index 8e0b6a1a8ff13..301b0c9dbd9e9 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js.map index 46dc91ceb1be2..fe6302c1b81aa 100644 --- a/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js.map index ace05a51e3ef6..4f36db5050642 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js.map index ace05a51e3ef6..4f36db5050642 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index d0ad680ed6e06..71611bb917659 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index d0ad680ed6e06..71611bb917659 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js.map index 4a81c411553ba..358e33f8e97f8 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js.map index 4a81c411553ba..358e33f8e97f8 100644 --- a/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js.map index e793efbfb3839..74d94bda84cb0 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js.map index a0603c8f8c001..71fd344e5bce1 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js.map index e793efbfb3839..74d94bda84cb0 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js.map index a0603c8f8c001..71fd344e5bce1 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index 49f78f3d209ee..6309e9970291b 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index a96415e622e8b..3481f71377bed 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index 49f78f3d209ee..6309e9970291b 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"","sources":["../../../ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index a96415e622e8b..3481f71377bed 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../../test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js index 7c6145986c66a..7ff666203518d 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js.map index fc8a830e8a3a5..7daee0af12484 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js index 7c6145986c66a..7ff666203518d 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js.map index fc8a830e8a3a5..7daee0af12484 100644 --- a/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcemapSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"","sources":["../ref/m1.ts","../test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map index 63af98c5af8be..66e61830b5edd 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js.map index 63af98c5af8be..66e61830b5edd 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 63af98c5af8be..66e61830b5edd 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 020207321b363..9393cd4c38cd0 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index 63af98c5af8be..66e61830b5edd 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js index 0f2025c2942c0..e000411e5c807 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map index daecf59cbc6e9..b37c17aebb2c7 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js index 4aa1cc0efbdbb..d91857b125a75 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map index 802e57a5e7cb9..44746a3170a2d 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js index a67b52af4a10b..1fc4ce577d29c 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map index b790907b8c9c8..819fec2bf0195 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/amd/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","ref/m2.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;;;;;ICFD,sBAEC;IARU,QAAA,KAAK,GAAG,EAAE,CAAC;IACtB;QAAA;QAEA,CAAC;QAAD,YAAC;IAAD,CAAC,AAFD,IAEC;IAFY,sBAAK;IAIP,QAAA,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;IACtC,SAAgB,KAAK;QACjB,OAAO,oBAAY,CAAC;IACxB,CAAC;;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js index 86b6ba19ae52a..0bb4b7b4384df 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map index dc4a683ce9583..e75a2d16c7afb 100644 --- a/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMixedSubfolderSpecifyOutputFileAndOutputDirectory/node/bin/outAndOutDirFile.js.map @@ -1 +1 @@ -{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"outAndOutDirFile.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map index ede2bc67b334d..924df5c5b118d 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile1.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map index b8a5cd8bfc559..906f16edb1c03 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js.map index 435378f1af5e0..f69b23f5e0a90 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map index ede2bc67b334d..924df5c5b118d 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile0.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile1.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/diskFile1.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map index b8a5cd8bfc559..906f16edb1c03 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js.map index 435378f1af5e0..f69b23f5e0a90 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map index b8a5cd8bfc559..906f16edb1c03 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map index 435378f1af5e0..f69b23f5e0a90 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map index ede2bc67b334d..924df5c5b118d 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/amd/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map index b8a5cd8bfc559..906f16edb1c03 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js index 02aa0b24321fd..52a5f21bae554 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js @@ -1,3 +1,4 @@ +"use strict"; /// /// var a1 = 10; diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map index 435378f1af5e0..f69b23f5e0a90 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js index 4708e36c671ce..3da1bb68df8d9 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js @@ -1,3 +1,4 @@ +"use strict"; var m2_a1 = 10; var m2_c1 = /** @class */ (function () { function m2_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map index ede2bc67b334d..924df5c5b118d 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputDirectory/node/outdir/simple/outputdir_multifolder_ref/m2.js.map @@ -1 +1 @@ -{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m2.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder_ref/m2.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js index 62f18329bd31e..414b94e8fb534 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map index 7e28ae21c0cc5..eae81b8f7c25b 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js index 62f18329bd31e..414b94e8fb534 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map index 7e28ae21c0cc5..eae81b8f7c25b 100644 --- a/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlMultifolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["outputdir_multifolder/ref/m1.ts","outputdir_multifolder_ref/m2.ts","outputdir_multifolder/test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,0DAA0D;AAC1D,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js.map index 0fe185ad05ae4..6b384e44468f5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js.map index 9f98aaca6fe56..03a0b286eafa5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js.map index 0fe185ad05ae4..6b384e44468f5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js.map index 9f98aaca6fe56..03a0b286eafa5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map index 0fe185ad05ae4..6b384e44468f5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 9f98aaca6fe56..03a0b286eafa5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map index 0fe185ad05ae4..6b384e44468f5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js index febaeedb0f144..f6708cedf2f26 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map index 9f98aaca6fe56..03a0b286eafa5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js index 8e0b6a1a8ff13..301b0c9dbd9e9 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map index 2a11b14013ea4..73b5dcb0b57aa 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js index 8e0b6a1a8ff13..301b0c9dbd9e9 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map index 2a11b14013ea4..73b5dcb0b57aa 100644 --- a/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSimpleSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,6BAA6B;AAC7B,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js index eea2aa31cd4a1..d19fbe36a4716 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var a1 = 10; var c1 = /** @class */ (function () { function c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map index 40ad382956284..08a147de7d34f 100644 --- a/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSingleFileSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js.map index a61695ca4aaae..6d796efaf21d0 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/amd/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js.map index a61695ca4aaae..6d796efaf21d0 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderNoOutdir/node/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map index a61695ca4aaae..6d796efaf21d0 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/amd/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js index 4293cda52dba5..18f62e901baea 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map index db24a1f97424b..3d2f6f1f7013e 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/ref/m1.js.map @@ -1 +1 @@ -{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file +{"version":3,"file":"m1.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js index 72395b6e4c854..53c5ad221ade5 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js @@ -1,3 +1,4 @@ +"use strict"; /// var a1 = 10; var c1 = /** @class */ (function () { diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map index a61695ca4aaae..6d796efaf21d0 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputDirectory/node/outdir/simple/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":"AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["test.ts"],"names":[],"mappings":";AAAA,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js index 7c6145986c66a..7ff666203518d 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map index dc10a268c5522..48741ebef5de1 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/amd/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js index 7c6145986c66a..7ff666203518d 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js @@ -1,3 +1,4 @@ +"use strict"; var m1_a1 = 10; var m1_c1 = /** @class */ (function () { function m1_c1() { diff --git a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map index dc10a268c5522..48741ebef5de1 100644 --- a/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map +++ b/tests/baselines/reference/project/sourcerootUrlSubfolderSpecifyOutputFile/node/bin/test.js.map @@ -1 +1 @@ -{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":"AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file +{"version":3,"file":"test.js","sourceRoot":"http://typescript.codeplex.com/","sources":["ref/m1.ts","test.ts"],"names":[],"mappings":";AAAA,IAAI,KAAK,GAAG,EAAE,CAAC;AACf;IAAA;IAEA,CAAC;IAAD,YAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,YAAY,GAAG,IAAI,KAAK,EAAE,CAAC;AAC/B,SAAS,KAAK;IACV,OAAO,YAAY,CAAC;AACxB,CAAC;ACRD,iCAAiC;AACjC,IAAI,EAAE,GAAG,EAAE,CAAC;AACZ;IAAA;IAEA,CAAC;IAAD,SAAC;AAAD,CAAC,AAFD,IAEC;AAED,IAAI,SAAS,GAAG,IAAI,EAAE,EAAE,CAAC;AACzB,SAAS,EAAE;IACP,OAAO,SAAS,CAAC;AACrB,CAAC"} \ No newline at end of file diff --git a/tests/baselines/reference/project/specifyExcludeUsingRelativepath/amd/OutDir/a.js b/tests/baselines/reference/project/specifyExcludeUsingRelativepath/amd/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/specifyExcludeUsingRelativepath/amd/OutDir/a.js +++ b/tests/baselines/reference/project/specifyExcludeUsingRelativepath/amd/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/specifyExcludeUsingRelativepath/node/OutDir/a.js b/tests/baselines/reference/project/specifyExcludeUsingRelativepath/node/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/specifyExcludeUsingRelativepath/node/OutDir/a.js +++ b/tests/baselines/reference/project/specifyExcludeUsingRelativepath/node/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/specifyExcludeUsingRelativepathWithAllowJS/amd/OutDir/a.js b/tests/baselines/reference/project/specifyExcludeUsingRelativepathWithAllowJS/amd/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/specifyExcludeUsingRelativepathWithAllowJS/amd/OutDir/a.js +++ b/tests/baselines/reference/project/specifyExcludeUsingRelativepathWithAllowJS/amd/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/specifyExcludeUsingRelativepathWithAllowJS/node/OutDir/a.js b/tests/baselines/reference/project/specifyExcludeUsingRelativepathWithAllowJS/node/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/specifyExcludeUsingRelativepathWithAllowJS/node/OutDir/a.js +++ b/tests/baselines/reference/project/specifyExcludeUsingRelativepathWithAllowJS/node/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePath/amd/OutDir/a.js b/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePath/amd/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePath/amd/OutDir/a.js +++ b/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePath/amd/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePath/node/OutDir/a.js b/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePath/node/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePath/node/OutDir/a.js +++ b/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePath/node/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePathWithAllowJS/amd/OutDir/a.js b/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePathWithAllowJS/amd/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePathWithAllowJS/amd/OutDir/a.js +++ b/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePathWithAllowJS/amd/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePathWithAllowJS/node/OutDir/a.js b/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePathWithAllowJS/node/OutDir/a.js index e757934f20cc5..e5872c13f53c1 100644 --- a/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePathWithAllowJS/node/OutDir/a.js +++ b/tests/baselines/reference/project/specifyExcludeWithOutUsingRelativePathWithAllowJS/node/OutDir/a.js @@ -1 +1,2 @@ +"use strict"; var test = 10; diff --git a/tests/baselines/reference/promiseChaining.js b/tests/baselines/reference/promiseChaining.js index a2ab4dbe2a0b9..8b22d059558e6 100644 --- a/tests/baselines/reference/promiseChaining.js +++ b/tests/baselines/reference/promiseChaining.js @@ -14,6 +14,7 @@ class Chain { //// [promiseChaining.js] +"use strict"; var Chain = /** @class */ (function () { function Chain(value) { this.value = value; diff --git a/tests/baselines/reference/promiseChaining1.js b/tests/baselines/reference/promiseChaining1.js index 72e7e23f03192..f55b673d12de3 100644 --- a/tests/baselines/reference/promiseChaining1.js +++ b/tests/baselines/reference/promiseChaining1.js @@ -13,6 +13,7 @@ class Chain2 { } //// [promiseChaining1.js] +"use strict"; // same example but with constraints on each type parameter var Chain2 = /** @class */ (function () { function Chain2(value) { diff --git a/tests/baselines/reference/promiseChaining2.js b/tests/baselines/reference/promiseChaining2.js index 3e0570202740b..4a59809738974 100644 --- a/tests/baselines/reference/promiseChaining2.js +++ b/tests/baselines/reference/promiseChaining2.js @@ -13,6 +13,7 @@ class Chain2 { } //// [promiseChaining2.js] +"use strict"; // same example but with constraints on each type parameter var Chain2 = /** @class */ (function () { function Chain2(value) { diff --git a/tests/baselines/reference/promiseDefinitionTest.js b/tests/baselines/reference/promiseDefinitionTest.js index ef7cd20fd9ef2..d3b926f429c29 100644 --- a/tests/baselines/reference/promiseDefinitionTest.js +++ b/tests/baselines/reference/promiseDefinitionTest.js @@ -7,6 +7,7 @@ const x = foo(); //// [promiseDefinitionTest.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/promisePermutations.js b/tests/baselines/reference/promisePermutations.js index a8f1924fb1f0e..0ac44aadc2184 100644 --- a/tests/baselines/reference/promisePermutations.js +++ b/tests/baselines/reference/promisePermutations.js @@ -170,6 +170,7 @@ var s12b = s12.then(testFunction12P, testFunction12P, testFunction12P); // ok var s12c = s12.then(testFunction12P, testFunction12, testFunction12); // ok //// [promisePermutations.js] +"use strict"; var r1a = r1.then(testFunction, testFunction, testFunction); var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFunction); var r1c = r1.then(testFunctionP, testFunctionP, testFunctionP); diff --git a/tests/baselines/reference/promisePermutations2.js b/tests/baselines/reference/promisePermutations2.js index 649571b76aa50..d1a9f07b4a929 100644 --- a/tests/baselines/reference/promisePermutations2.js +++ b/tests/baselines/reference/promisePermutations2.js @@ -169,6 +169,7 @@ var s12b = s12.then(testFunction12P, testFunction12P, testFunction12P); // ok var s12c = s12.then(testFunction12P, testFunction12, testFunction12); // ok //// [promisePermutations2.js] +"use strict"; // same as promisePermutations but without the same overloads in Promise var r1a = r1.then(testFunction, testFunction, testFunction); var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFunction); diff --git a/tests/baselines/reference/promisePermutations3.js b/tests/baselines/reference/promisePermutations3.js index 7751609bd9a9f..3b6decf596c26 100644 --- a/tests/baselines/reference/promisePermutations3.js +++ b/tests/baselines/reference/promisePermutations3.js @@ -169,6 +169,7 @@ var s12b = s12.then(testFunction12P, testFunction12P, testFunction12P); // ok var s12c = s12.then(testFunction12P, testFunction12, testFunction12); // ok //// [promisePermutations3.js] +"use strict"; // same as promisePermutations but without the same overloads in IPromise var r1a = r1.then(testFunction, testFunction, testFunction); var r1b = r1.then(testFunction, testFunction, testFunction).then(testFunction, testFunction, testFunction); diff --git a/tests/baselines/reference/promiseTest.js b/tests/baselines/reference/promiseTest.js index dd1b14ce0de38..0b5f8bc6621b6 100644 --- a/tests/baselines/reference/promiseTest.js +++ b/tests/baselines/reference/promiseTest.js @@ -17,6 +17,7 @@ var x = p2.data; // number //// [promiseTest.js] +"use strict"; var p = null; var p2 = p.then(function (x) { return p; diff --git a/tests/baselines/reference/promiseTry.js b/tests/baselines/reference/promiseTry.js index 28714c3413f56..7a0848126f3f3 100644 --- a/tests/baselines/reference/promiseTry.js +++ b/tests/baselines/reference/promiseTry.js @@ -35,6 +35,7 @@ Promise.try((foo: string, bar?: number) => "Async result", "foo", 42); //// [promiseTry.js] +"use strict"; Promise.try(() => { return "Sync result"; }); diff --git a/tests/baselines/reference/promiseType.js b/tests/baselines/reference/promiseType.js index 4139e06e36035..7f3b176b58357 100644 --- a/tests/baselines/reference/promiseType.js +++ b/tests/baselines/reference/promiseType.js @@ -227,6 +227,7 @@ Promise.resolve(undefined as Promise | Promise>); Promise.resolve(undefined as Promise>>); //// [promiseType.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/promiseTypeInference.js b/tests/baselines/reference/promiseTypeInference.js index 05d30e8d23424..ce4b700864725 100644 --- a/tests/baselines/reference/promiseTypeInference.js +++ b/tests/baselines/reference/promiseTypeInference.js @@ -14,4 +14,5 @@ var $$x = load("something").then(s => convert(s)); //// [promiseTypeInference.js] +"use strict"; var $$x = load("something").then(function (s) { return convert(s); }); diff --git a/tests/baselines/reference/promiseTypeInferenceUnion.js b/tests/baselines/reference/promiseTypeInferenceUnion.js index b436f3ad8acef..2a05e68ef901d 100644 --- a/tests/baselines/reference/promiseTypeInferenceUnion.js +++ b/tests/baselines/reference/promiseTypeInferenceUnion.js @@ -18,6 +18,7 @@ const g2: Promise = Promise.resolve(f2(42)); const g3: Promise = Promise.resolve(f3(42)); //// [promiseTypeInferenceUnion.js] +"use strict"; function f1(x) { return Promise.resolve(x); } diff --git a/tests/baselines/reference/promiseTypeStrictNull.js b/tests/baselines/reference/promiseTypeStrictNull.js index 10fd807bc3733..fdbdf5b78a19e 100644 --- a/tests/baselines/reference/promiseTypeStrictNull.js +++ b/tests/baselines/reference/promiseTypeStrictNull.js @@ -222,6 +222,7 @@ const pc9 = p.then(() => Promise.reject("1"), () => Promise.reject(1)); //// [promiseTypeStrictNull.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/promiseVoidErrorCallback.js b/tests/baselines/reference/promiseVoidErrorCallback.js index 275701d388336..011ff9ef776bb 100644 --- a/tests/baselines/reference/promiseVoidErrorCallback.js +++ b/tests/baselines/reference/promiseVoidErrorCallback.js @@ -30,6 +30,7 @@ var x3 = f1() }); //// [promiseVoidErrorCallback.js] +"use strict"; function f1() { return Promise.resolve({ __t1: "foo_t1" }); } diff --git a/tests/baselines/reference/promiseWithResolvers.js b/tests/baselines/reference/promiseWithResolvers.js index 889227b0e85be..c653c09688203 100644 --- a/tests/baselines/reference/promiseWithResolvers.js +++ b/tests/baselines/reference/promiseWithResolvers.js @@ -6,4 +6,5 @@ const { promise, resolve, reject } = Promise.withResolvers(); //// [promiseWithResolvers.js] +"use strict"; const { promise, resolve, reject } = Promise.withResolvers(); diff --git a/tests/baselines/reference/promises.js b/tests/baselines/reference/promises.js index a71c566f7518e..66d0af3d0ccd1 100644 --- a/tests/baselines/reference/promises.js +++ b/tests/baselines/reference/promises.js @@ -9,3 +9,4 @@ interface Promise { //// [promises.js] +"use strict"; diff --git a/tests/baselines/reference/promisesWithConstraints.js b/tests/baselines/reference/promisesWithConstraints.js index 1fe964e28b8a7..13279605d7215 100644 --- a/tests/baselines/reference/promisesWithConstraints.js +++ b/tests/baselines/reference/promisesWithConstraints.js @@ -24,6 +24,7 @@ b2 = a2; // was error //// [promisesWithConstraints.js] +"use strict"; var a; a = b; // ok b = a; // ok diff --git a/tests/baselines/reference/propagationOfPromiseInitialization.js b/tests/baselines/reference/propagationOfPromiseInitialization.js index ebd585bf95cb1..f81b3674dabcf 100644 --- a/tests/baselines/reference/propagationOfPromiseInitialization.js +++ b/tests/baselines/reference/propagationOfPromiseInitialization.js @@ -17,6 +17,7 @@ foo.then((x) => { //// [propagationOfPromiseInitialization.js] +"use strict"; var foo; foo.then(function (x) { // x is inferred to be a number diff --git a/tests/baselines/reference/properties.js b/tests/baselines/reference/properties.js index e472fd96e2efc..bf5f254e656f8 100644 --- a/tests/baselines/reference/properties.js +++ b/tests/baselines/reference/properties.js @@ -15,6 +15,7 @@ class MyClass } //// [properties.js] +"use strict"; var MyClass = /** @class */ (function () { function MyClass() { } diff --git a/tests/baselines/reference/properties.js.map b/tests/baselines/reference/properties.js.map index 758572f7b4aa8..970c9f7f27e6b 100644 --- a/tests/baselines/reference/properties.js.map +++ b/tests/baselines/reference/properties.js.map @@ -1,3 +1,3 @@ //// [properties.js.map] -{"version":3,"file":"properties.js","sourceRoot":"","sources":["properties.ts"],"names":[],"mappings":"AAAA;IAAA;IAWA,CAAC;IATG,sBAAW,0BAAK;aAAhB;YAEI,OAAO,EAAE,CAAC;QACd,CAAC;aAED,UAAiB,KAAa;YAE1B,EAAE;QACN,CAAC;;;OALA;IAML,cAAC;AAAD,CAAC,AAXD,IAWC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIE15Q2xhc3MgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gTXlDbGFzcygpIHsNCiAgICB9DQogICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE15Q2xhc3MucHJvdG90eXBlLCAiQ291bnQiLCB7DQogICAgICAgIGdldDogZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgcmV0dXJuIDQyOw0KICAgICAgICB9LA0KICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgew0KICAgICAgICAgICAgLy8NCiAgICAgICAgfSwNCiAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsDQogICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQ0KICAgIH0pOw0KICAgIHJldHVybiBNeUNsYXNzOw0KfSgpKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXByb3BlcnRpZXMuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydGllcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb3BlcnRpZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFBQTtJQVdBLENBQUM7SUFURyxzQkFBVywwQkFBSzthQUFoQjtZQUVJLE9BQU8sRUFBRSxDQUFDO1FBQ2QsQ0FBQzthQUVELFVBQWlCLEtBQWE7WUFFMUIsRUFBRTtRQUNOLENBQUM7OztPQUxBO0lBTUwsY0FBQztBQUFELENBQUMsQUFYRCxJQVdDIn0=,Y2xhc3MgTXlDbGFzcwp7CiAgICBwdWJsaWMgZ2V0IENvdW50KCk6IG51bWJlcgogICAgewogICAgICAgIHJldHVybiA0MjsKICAgIH0KCiAgICBwdWJsaWMgc2V0IENvdW50KHZhbHVlOiBudW1iZXIpCiAgICB7CiAgICAgICAgLy8KICAgIH0KfQ== +{"version":3,"file":"properties.js","sourceRoot":"","sources":["properties.ts"],"names":[],"mappings":";AAAA;IAAA;IAWA,CAAC;IATG,sBAAW,0BAAK;aAAhB;YAEI,OAAO,EAAE,CAAC;QACd,CAAC;aAED,UAAiB,KAAa;YAE1B,EAAE;QACN,CAAC;;;OALA;IAML,cAAC;AAAD,CAAC,AAXD,IAWC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIE15Q2xhc3MgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gTXlDbGFzcygpIHsNCiAgICB9DQogICAgT2JqZWN0LmRlZmluZVByb3BlcnR5KE15Q2xhc3MucHJvdG90eXBlLCAiQ291bnQiLCB7DQogICAgICAgIGdldDogZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgcmV0dXJuIDQyOw0KICAgICAgICB9LA0KICAgICAgICBzZXQ6IGZ1bmN0aW9uICh2YWx1ZSkgew0KICAgICAgICAgICAgLy8NCiAgICAgICAgfSwNCiAgICAgICAgZW51bWVyYWJsZTogZmFsc2UsDQogICAgICAgIGNvbmZpZ3VyYWJsZTogdHJ1ZQ0KICAgIH0pOw0KICAgIHJldHVybiBNeUNsYXNzOw0KfSgpKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXByb3BlcnRpZXMuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicHJvcGVydGllcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInByb3BlcnRpZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0lBQUE7SUFXQSxDQUFDO0lBVEcsc0JBQVcsMEJBQUs7YUFBaEI7WUFFSSxPQUFPLEVBQUUsQ0FBQztRQUNkLENBQUM7YUFFRCxVQUFpQixLQUFhO1lBRTFCLEVBQUU7UUFDTixDQUFDOzs7T0FMQTtJQU1MLGNBQUM7QUFBRCxDQUFDLEFBWEQsSUFXQyJ9,Y2xhc3MgTXlDbGFzcwp7CiAgICBwdWJsaWMgZ2V0IENvdW50KCk6IG51bWJlcgogICAgewogICAgICAgIHJldHVybiA0MjsKICAgIH0KCiAgICBwdWJsaWMgc2V0IENvdW50KHZhbHVlOiBudW1iZXIpCiAgICB7CiAgICAgICAgLy8KICAgIH0KfQ== diff --git a/tests/baselines/reference/properties.sourcemap.txt b/tests/baselines/reference/properties.sourcemap.txt index 455b7166ca5f8..bf92d373a9ce2 100644 --- a/tests/baselines/reference/properties.sourcemap.txt +++ b/tests/baselines/reference/properties.sourcemap.txt @@ -8,17 +8,18 @@ sources: properties.ts emittedFile:properties.js sourceFile:properties.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var MyClass = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function MyClass() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -37,8 +38,8 @@ sourceFile:properties.ts > } > 2 > } -1->Emitted(3, 5) Source(12, 1) + SourceIndex(0) -2 >Emitted(3, 6) Source(12, 2) + SourceIndex(0) +1->Emitted(4, 5) Source(12, 1) + SourceIndex(0) +2 >Emitted(4, 6) Source(12, 2) + SourceIndex(0) --- >>> Object.defineProperty(MyClass.prototype, "Count", { 1->^^^^ @@ -47,15 +48,15 @@ sourceFile:properties.ts 1-> 2 > public get 3 > Count -1->Emitted(4, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(4, 27) Source(3, 16) + SourceIndex(0) -3 >Emitted(4, 53) Source(3, 21) + SourceIndex(0) +1->Emitted(5, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(5, 27) Source(3, 16) + SourceIndex(0) +3 >Emitted(5, 53) Source(3, 21) + SourceIndex(0) --- >>> get: function () { 1 >^^^^^^^^^^^^^ 2 > ^^^^^^^^^^-> 1 > -1 >Emitted(5, 14) Source(3, 5) + SourceIndex(0) +1 >Emitted(6, 14) Source(3, 5) + SourceIndex(0) --- >>> return 42; 1->^^^^^^^^^^^^ @@ -68,10 +69,10 @@ sourceFile:properties.ts 2 > return 3 > 42 4 > ; -1->Emitted(6, 13) Source(5, 9) + SourceIndex(0) -2 >Emitted(6, 20) Source(5, 16) + SourceIndex(0) -3 >Emitted(6, 22) Source(5, 18) + SourceIndex(0) -4 >Emitted(6, 23) Source(5, 19) + SourceIndex(0) +1->Emitted(7, 13) Source(5, 9) + SourceIndex(0) +2 >Emitted(7, 20) Source(5, 16) + SourceIndex(0) +3 >Emitted(7, 22) Source(5, 18) + SourceIndex(0) +4 >Emitted(7, 23) Source(5, 19) + SourceIndex(0) --- >>> }, 1 >^^^^^^^^ @@ -80,8 +81,8 @@ sourceFile:properties.ts 1 > > 2 > } -1 >Emitted(7, 9) Source(6, 5) + SourceIndex(0) -2 >Emitted(7, 10) Source(6, 6) + SourceIndex(0) +1 >Emitted(8, 9) Source(6, 5) + SourceIndex(0) +2 >Emitted(8, 10) Source(6, 6) + SourceIndex(0) --- >>> set: function (value) { 1->^^^^^^^^^^^^^ @@ -92,9 +93,9 @@ sourceFile:properties.ts > 2 > public set Count( 3 > value: number -1->Emitted(8, 14) Source(8, 5) + SourceIndex(0) -2 >Emitted(8, 24) Source(8, 22) + SourceIndex(0) -3 >Emitted(8, 29) Source(8, 35) + SourceIndex(0) +1->Emitted(9, 14) Source(8, 5) + SourceIndex(0) +2 >Emitted(9, 24) Source(8, 22) + SourceIndex(0) +3 >Emitted(9, 29) Source(8, 35) + SourceIndex(0) --- >>> // 1 >^^^^^^^^^^^^ @@ -103,8 +104,8 @@ sourceFile:properties.ts > { > 2 > // -1 >Emitted(9, 13) Source(10, 9) + SourceIndex(0) -2 >Emitted(9, 15) Source(10, 11) + SourceIndex(0) +1 >Emitted(10, 13) Source(10, 9) + SourceIndex(0) +2 >Emitted(10, 15) Source(10, 11) + SourceIndex(0) --- >>> }, 1 >^^^^^^^^ @@ -113,8 +114,8 @@ sourceFile:properties.ts 1 > > 2 > } -1 >Emitted(10, 9) Source(11, 5) + SourceIndex(0) -2 >Emitted(10, 10) Source(11, 6) + SourceIndex(0) +1 >Emitted(11, 9) Source(11, 5) + SourceIndex(0) +2 >Emitted(11, 10) Source(11, 6) + SourceIndex(0) --- >>> enumerable: false, >>> configurable: true @@ -122,7 +123,7 @@ sourceFile:properties.ts 1->^^^^^^^ 2 > ^^^^^^^^^^^^^-> 1-> -1->Emitted(13, 8) Source(6, 6) + SourceIndex(0) +1->Emitted(14, 8) Source(6, 6) + SourceIndex(0) --- >>> return MyClass; 1->^^^^ @@ -135,8 +136,8 @@ sourceFile:properties.ts > } > 2 > } -1->Emitted(14, 5) Source(12, 1) + SourceIndex(0) -2 >Emitted(14, 19) Source(12, 2) + SourceIndex(0) +1->Emitted(15, 5) Source(12, 1) + SourceIndex(0) +2 >Emitted(15, 19) Source(12, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -159,9 +160,9 @@ sourceFile:properties.ts > // > } > } -1 >Emitted(15, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(15, 2) Source(12, 2) + SourceIndex(0) -3 >Emitted(15, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(15, 6) Source(12, 2) + SourceIndex(0) +1 >Emitted(16, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(16, 2) Source(12, 2) + SourceIndex(0) +3 >Emitted(16, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(16, 6) Source(12, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=properties.js.map \ No newline at end of file diff --git a/tests/baselines/reference/propertiesAndIndexers.js b/tests/baselines/reference/propertiesAndIndexers.js index 58bf63971c227..c66cb17d8fb1a 100644 --- a/tests/baselines/reference/propertiesAndIndexers.js +++ b/tests/baselines/reference/propertiesAndIndexers.js @@ -54,6 +54,7 @@ var c: { }; //// [propertiesAndIndexers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/propertiesAndIndexers2.js b/tests/baselines/reference/propertiesAndIndexers2.js index 85f3e96f68327..6a1e8da366770 100644 --- a/tests/baselines/reference/propertiesAndIndexers2.js +++ b/tests/baselines/reference/propertiesAndIndexers2.js @@ -19,3 +19,4 @@ interface B extends A { //// [propertiesAndIndexers2.js] +"use strict"; diff --git a/tests/baselines/reference/propertiesAndIndexersForNumericNames.js b/tests/baselines/reference/propertiesAndIndexersForNumericNames.js index 8f8064a1757e4..1a10c3c45f192 100644 --- a/tests/baselines/reference/propertiesAndIndexersForNumericNames.js +++ b/tests/baselines/reference/propertiesAndIndexersForNumericNames.js @@ -45,6 +45,7 @@ class C { //// [propertiesAndIndexersForNumericNames.js] +"use strict"; var C = /** @class */ (function () { function C() { // These all have numeric names; they should error diff --git a/tests/baselines/reference/propertyAccess.js b/tests/baselines/reference/propertyAccess.js index eff404ad3514d..d98733f565d89 100644 --- a/tests/baselines/reference/propertyAccess.js +++ b/tests/baselines/reference/propertyAccess.js @@ -153,6 +153,7 @@ var x3: A; //// [propertyAccess.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/propertyAccess1.js b/tests/baselines/reference/propertyAccess1.js index c0d87e45058d9..fb953bf17e0ed 100644 --- a/tests/baselines/reference/propertyAccess1.js +++ b/tests/baselines/reference/propertyAccess1.js @@ -6,5 +6,6 @@ foo.a = 4; foo.b = 5; //// [propertyAccess1.js] +"use strict"; foo.a = 4; foo.b = 5; diff --git a/tests/baselines/reference/propertyAccess2.js b/tests/baselines/reference/propertyAccess2.js index 42cb441eed23e..e43557517f0f7 100644 --- a/tests/baselines/reference/propertyAccess2.js +++ b/tests/baselines/reference/propertyAccess2.js @@ -5,4 +5,5 @@ declare var foo: number; foo.toBAZ(); //// [propertyAccess2.js] +"use strict"; foo.toBAZ(); diff --git a/tests/baselines/reference/propertyAccess3.js b/tests/baselines/reference/propertyAccess3.js index 5a1ab127cb250..09212ad33f803 100644 --- a/tests/baselines/reference/propertyAccess3.js +++ b/tests/baselines/reference/propertyAccess3.js @@ -5,4 +5,5 @@ declare var foo: boolean; foo.toBAZ(); //// [propertyAccess3.js] +"use strict"; foo.toBAZ(); diff --git a/tests/baselines/reference/propertyAccess4.js b/tests/baselines/reference/propertyAccess4.js index d7e272072176a..58a75ab04215d 100644 --- a/tests/baselines/reference/propertyAccess4.js +++ b/tests/baselines/reference/propertyAccess4.js @@ -4,4 +4,5 @@ null.toBAZ(); //// [propertyAccess4.js] +"use strict"; null.toBAZ(); diff --git a/tests/baselines/reference/propertyAccess5.js b/tests/baselines/reference/propertyAccess5.js index 2b51ca7f6e318..7b87e3d574947 100644 --- a/tests/baselines/reference/propertyAccess5.js +++ b/tests/baselines/reference/propertyAccess5.js @@ -4,4 +4,5 @@ undefined.toBAZ(); //// [propertyAccess5.js] +"use strict"; undefined.toBAZ(); diff --git a/tests/baselines/reference/propertyAccess6.js b/tests/baselines/reference/propertyAccess6.js index 993bc5f9f27b3..f968c53f2b42b 100644 --- a/tests/baselines/reference/propertyAccess6.js +++ b/tests/baselines/reference/propertyAccess6.js @@ -5,5 +5,6 @@ var foo: any; foo.bar = 4; //// [propertyAccess6.js] +"use strict"; var foo; foo.bar = 4; diff --git a/tests/baselines/reference/propertyAccess7.js b/tests/baselines/reference/propertyAccess7.js index a5d0985631491..902c2ad1068e8 100644 --- a/tests/baselines/reference/propertyAccess7.js +++ b/tests/baselines/reference/propertyAccess7.js @@ -5,5 +5,6 @@ var foo: string; foo.toUpperCase(); //// [propertyAccess7.js] +"use strict"; var foo; foo.toUpperCase(); diff --git a/tests/baselines/reference/propertyAccessChain.2.js b/tests/baselines/reference/propertyAccessChain.2.js index 85604709ce83d..6b94892f84300 100644 --- a/tests/baselines/reference/propertyAccessChain.2.js +++ b/tests/baselines/reference/propertyAccessChain.2.js @@ -12,6 +12,7 @@ o3.b?.c; //// [propertyAccessChain.2.js] +"use strict"; var _a; o1 === null || o1 === void 0 ? void 0 : o1.b; o2 === null || o2 === void 0 ? void 0 : o2.b.c; diff --git a/tests/baselines/reference/propertyAccessExpressionInnerComments.js b/tests/baselines/reference/propertyAccessExpressionInnerComments.js index 37537a7337df1..3f4f628931193 100644 --- a/tests/baselines/reference/propertyAccessExpressionInnerComments.js +++ b/tests/baselines/reference/propertyAccessExpressionInnerComments.js @@ -35,6 +35,7 @@ //// [propertyAccessExpressionInnerComments.js] +"use strict"; /*1*/ Array /*2*/. /*3*/toString; /*4*/ /*1*/ Array /*2*/ . /*3*/ diff --git a/tests/baselines/reference/propertyAccessNumericLiterals.es6.js b/tests/baselines/reference/propertyAccessNumericLiterals.es6.js index 8defb16956095..03d5e6b9b85a1 100644 --- a/tests/baselines/reference/propertyAccessNumericLiterals.es6.js +++ b/tests/baselines/reference/propertyAccessNumericLiterals.es6.js @@ -9,6 +9,7 @@ //// [propertyAccessNumericLiterals.es6.js] +"use strict"; 0xffffffff.toString(); 0o01234.toString(); 0b01101101.toString(); diff --git a/tests/baselines/reference/propertyAccessNumericLiterals.js b/tests/baselines/reference/propertyAccessNumericLiterals.js index 450cffd379c3a..d8a071184ce93 100644 --- a/tests/baselines/reference/propertyAccessNumericLiterals.js +++ b/tests/baselines/reference/propertyAccessNumericLiterals.js @@ -16,6 +16,7 @@ 8_8e4.toString(); //// [propertyAccessNumericLiterals.js] +"use strict"; 0xffffffff.toString(); 668..toString(); 109..toString(); diff --git a/tests/baselines/reference/propertyAccessOfReadonlyIndexSignature.js b/tests/baselines/reference/propertyAccessOfReadonlyIndexSignature.js index 94de21f3e64aa..efb6f0ba04f60 100644 --- a/tests/baselines/reference/propertyAccessOfReadonlyIndexSignature.js +++ b/tests/baselines/reference/propertyAccessOfReadonlyIndexSignature.js @@ -10,4 +10,5 @@ a.foo = 'baz'; //// [propertyAccessOfReadonlyIndexSignature.js] +"use strict"; a.foo = 'baz'; diff --git a/tests/baselines/reference/propertyAccessOnObjectLiteral.js b/tests/baselines/reference/propertyAccessOnObjectLiteral.js index 0049942e28dcb..ba27696d3589e 100644 --- a/tests/baselines/reference/propertyAccessOnObjectLiteral.js +++ b/tests/baselines/reference/propertyAccessOnObjectLiteral.js @@ -11,6 +11,7 @@ class A { } //// [propertyAccessOnObjectLiteral.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints.js b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints.js index 25e365260c5d9..dcae856cb8ce2 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints.js +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints.js @@ -37,6 +37,7 @@ var b = { var r4 = b.foo(new Date()); //// [propertyAccessOnTypeParameterWithConstraints.js] +"use strict"; // generic types should behave as if they have properties of their constraint type // no errors expected var C = /** @class */ (function () { diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints2.js b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints2.js index 0e0602f132c6d..852919908c340 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints2.js +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints2.js @@ -84,6 +84,7 @@ var b = { var r4 = b.foo(aB, aB); // no inferences for T so constraint isn't satisfied, error //// [propertyAccessOnTypeParameterWithConstraints2.js] +"use strict"; // generic types should behave as if they have properties of their constraint type var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints3.js b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints3.js index 6d950fec8e50d..cee9c2cc16f2e 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints3.js +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints3.js @@ -59,6 +59,7 @@ var b = { var r4 = b.foo(new B()); // valid call to an invalid function //// [propertyAccessOnTypeParameterWithConstraints3.js] +"use strict"; // generic types should behave as if they have properties of their constraint type var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints4.js b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints4.js index 7fdfc918ee7c9..d5f31aa9e1451 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints4.js +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints4.js @@ -35,6 +35,7 @@ var b = { var r4 = b.foo(new Date()); //// [propertyAccessOnTypeParameterWithConstraints4.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints5.js b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints5.js index ce4594ad4bc44..bdd628b5f69e6 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints5.js +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithConstraints5.js @@ -47,6 +47,7 @@ var b = { var r4 = b.foo(new B()); // error after constraints above made illegal, doesn't matter //// [propertyAccessOnTypeParameterWithConstraints5.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/propertyAccessOnTypeParameterWithoutConstraints.js b/tests/baselines/reference/propertyAccessOnTypeParameterWithoutConstraints.js index 4f09bb6676c68..2e3a2bd752182 100644 --- a/tests/baselines/reference/propertyAccessOnTypeParameterWithoutConstraints.js +++ b/tests/baselines/reference/propertyAccessOnTypeParameterWithoutConstraints.js @@ -34,6 +34,7 @@ var b = { var r4 = b.foo(1); //// [propertyAccessOnTypeParameterWithoutConstraints.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/propertyAccessStringIndexSignature(noimplicitany=false).js b/tests/baselines/reference/propertyAccessStringIndexSignature(noimplicitany=false).js index ce91647b40586..b015562d1044a 100644 --- a/tests/baselines/reference/propertyAccessStringIndexSignature(noimplicitany=false).js +++ b/tests/baselines/reference/propertyAccessStringIndexSignature(noimplicitany=false).js @@ -15,6 +15,7 @@ empty["that's ok"]; //// [propertyAccessStringIndexSignature.js] +"use strict"; ; flags.b; flags.f; diff --git a/tests/baselines/reference/propertyAccessStringIndexSignature(noimplicitany=true).js b/tests/baselines/reference/propertyAccessStringIndexSignature(noimplicitany=true).js index ce91647b40586..b015562d1044a 100644 --- a/tests/baselines/reference/propertyAccessStringIndexSignature(noimplicitany=true).js +++ b/tests/baselines/reference/propertyAccessStringIndexSignature(noimplicitany=true).js @@ -15,6 +15,7 @@ empty["that's ok"]; //// [propertyAccessStringIndexSignature.js] +"use strict"; ; flags.b; flags.f; diff --git a/tests/baselines/reference/propertyAccessibility1.js b/tests/baselines/reference/propertyAccessibility1.js index a89a0438b83bb..0b360034fc8cb 100644 --- a/tests/baselines/reference/propertyAccessibility1.js +++ b/tests/baselines/reference/propertyAccessibility1.js @@ -9,6 +9,7 @@ f.privProp; //// [propertyAccessibility1.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { this.privProp = 0; diff --git a/tests/baselines/reference/propertyAccessibility2.js b/tests/baselines/reference/propertyAccessibility2.js index e0b6b6c043232..9bc0ee35fd9c1 100644 --- a/tests/baselines/reference/propertyAccessibility2.js +++ b/tests/baselines/reference/propertyAccessibility2.js @@ -8,6 +8,7 @@ var c = C.x; //// [propertyAccessibility2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/propertyAndAccessorWithSameName.js b/tests/baselines/reference/propertyAndAccessorWithSameName.js index 2d63e355126c5..5336955155a94 100644 --- a/tests/baselines/reference/propertyAndAccessorWithSameName.js +++ b/tests/baselines/reference/propertyAndAccessorWithSameName.js @@ -22,6 +22,7 @@ class E { } //// [propertyAndAccessorWithSameName.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/propertyAndFunctionWithSameName.js b/tests/baselines/reference/propertyAndFunctionWithSameName.js index 461269a847bab..d0f63206e922e 100644 --- a/tests/baselines/reference/propertyAndFunctionWithSameName.js +++ b/tests/baselines/reference/propertyAndFunctionWithSameName.js @@ -14,6 +14,7 @@ class D { } //// [propertyAndFunctionWithSameName.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/propertyAssignment.js b/tests/baselines/reference/propertyAssignment.js index aa78c04bddc37..e123cc4e04fbf 100644 --- a/tests/baselines/reference/propertyAssignment.js +++ b/tests/baselines/reference/propertyAssignment.js @@ -17,6 +17,7 @@ foo2 = bar2; foo3 = bar3; // should be an error //// [propertyAssignment.js] +"use strict"; foo1 = bar1; // should be an error foo2 = bar2; foo3 = bar3; // should be an error diff --git a/tests/baselines/reference/propertyAssignmentUseParentType3.js b/tests/baselines/reference/propertyAssignmentUseParentType3.js index dd30e9b4de36e..af78f0f3925a1 100644 --- a/tests/baselines/reference/propertyAssignmentUseParentType3.js +++ b/tests/baselines/reference/propertyAssignmentUseParentType3.js @@ -25,6 +25,7 @@ foo4.x = "456"; //// [propertyAssignmentUseParentType3.js] +"use strict"; // don't use the parent type if it's a function declaration (#33741) function foo1() { return 123; diff --git a/tests/baselines/reference/propertyIdentityWithPrivacyMismatch.js b/tests/baselines/reference/propertyIdentityWithPrivacyMismatch.js index 31af18b97fd91..c274162507897 100644 --- a/tests/baselines/reference/propertyIdentityWithPrivacyMismatch.js +++ b/tests/baselines/reference/propertyIdentityWithPrivacyMismatch.js @@ -28,6 +28,7 @@ var y: Foo1; var y: Foo2; //// [propertyIdentityWithPrivacyMismatch_0.js] +"use strict"; //// [propertyIdentityWithPrivacyMismatch_1.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/propertyNameWithoutTypeAnnotation.js b/tests/baselines/reference/propertyNameWithoutTypeAnnotation.js index b2eea61741ab3..5185b8e313ec6 100644 --- a/tests/baselines/reference/propertyNameWithoutTypeAnnotation.js +++ b/tests/baselines/reference/propertyNameWithoutTypeAnnotation.js @@ -24,6 +24,7 @@ var r3 = a.foo; var r4 = b.foo; //// [propertyNameWithoutTypeAnnotation.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/propertyNamedConstructor.js b/tests/baselines/reference/propertyNamedConstructor.js index 67451de0e4f36..31dab5365033e 100644 --- a/tests/baselines/reference/propertyNamedConstructor.js +++ b/tests/baselines/reference/propertyNamedConstructor.js @@ -11,6 +11,7 @@ class X2 { //// [propertyNamedConstructor.js] +"use strict"; var X1 = /** @class */ (function () { function X1() { this["constructor"] = 3; // Error diff --git a/tests/baselines/reference/propertyNamedPrototype.js b/tests/baselines/reference/propertyNamedPrototype.js index bfca776438ac7..733be19afc766 100644 --- a/tests/baselines/reference/propertyNamedPrototype.js +++ b/tests/baselines/reference/propertyNamedPrototype.js @@ -7,6 +7,7 @@ class C { } //// [propertyNamedPrototype.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/propertyNamesOfReservedWords.js b/tests/baselines/reference/propertyNamesOfReservedWords.js index e8749cda1bdc1..c26626f534609 100644 --- a/tests/baselines/reference/propertyNamesOfReservedWords.js +++ b/tests/baselines/reference/propertyNamesOfReservedWords.js @@ -279,6 +279,7 @@ var r7 = E.abstract; var r8 = E.as; //// [propertyNamesOfReservedWords.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/propertyNamesWithStringLiteral.js b/tests/baselines/reference/propertyNamesWithStringLiteral.js index be2000da4870c..86f0da06f00ac 100644 --- a/tests/baselines/reference/propertyNamesWithStringLiteral.js +++ b/tests/baselines/reference/propertyNamesWithStringLiteral.js @@ -19,6 +19,7 @@ var a = Color.namedColors["pale blue"]; // should not error //// [propertyNamesWithStringLiteral.js] +"use strict"; var _Color = /** @class */ (function () { function _Color() { } diff --git a/tests/baselines/reference/propertyOrdering.js b/tests/baselines/reference/propertyOrdering.js index 6b5819b6ff73f..b008b77ab5e59 100644 --- a/tests/baselines/reference/propertyOrdering.js +++ b/tests/baselines/reference/propertyOrdering.js @@ -26,6 +26,7 @@ class Bar { //// [propertyOrdering.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(store) { this._store = store; // no repro if this is first line in class body diff --git a/tests/baselines/reference/propertyOrdering2.js b/tests/baselines/reference/propertyOrdering2.js index 4e4fdd84bcafc..c99cc7da1ab98 100644 --- a/tests/baselines/reference/propertyOrdering2.js +++ b/tests/baselines/reference/propertyOrdering2.js @@ -11,6 +11,7 @@ class Foo { //// [propertyOrdering2.js] +"use strict"; var Foo = /** @class */ (function () { function Foo(x, y) { this.x = x; diff --git a/tests/baselines/reference/propertyOverridesAccessors.js b/tests/baselines/reference/propertyOverridesAccessors.js index a3850b5a94197..b8eb9013ecfb8 100644 --- a/tests/baselines/reference/propertyOverridesAccessors.js +++ b/tests/baselines/reference/propertyOverridesAccessors.js @@ -18,6 +18,7 @@ class D extends C { //// [propertyOverridesAccessors.js] +"use strict"; class A { get p() { return 'oh no'; } } diff --git a/tests/baselines/reference/propertyOverridesAccessors2.js b/tests/baselines/reference/propertyOverridesAccessors2.js index b4e6ee7555f40..290396ca33590 100644 --- a/tests/baselines/reference/propertyOverridesAccessors2.js +++ b/tests/baselines/reference/propertyOverridesAccessors2.js @@ -15,6 +15,7 @@ console.log(obj.x); // 2 //// [propertyOverridesAccessors2.js] +"use strict"; class Base { get x() { return 2; } set x(value) { console.log(`x was set to ${value}`); } diff --git a/tests/baselines/reference/propertyOverridesAccessors3.js b/tests/baselines/reference/propertyOverridesAccessors3.js index 5fa96a1816ba2..2f4c05715e341 100644 --- a/tests/baselines/reference/propertyOverridesAccessors3.js +++ b/tests/baselines/reference/propertyOverridesAccessors3.js @@ -27,6 +27,7 @@ lion.makeSound() // with [[Define]]: Expected "RAWR!" but got "rustling noise in //// [propertyOverridesAccessors3.js] +"use strict"; class Animal { _sound = 'rustling noise in the bushes'; get sound() { return this._sound; } diff --git a/tests/baselines/reference/propertyOverridesAccessors4.js b/tests/baselines/reference/propertyOverridesAccessors4.js index ebc4a0ecd12d0..93cb4b48fb0dc 100644 --- a/tests/baselines/reference/propertyOverridesAccessors4.js +++ b/tests/baselines/reference/propertyOverridesAccessors4.js @@ -11,6 +11,7 @@ class Lion extends Animal { //// [propertyOverridesAccessors4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/propertyOverridesAccessors5.js b/tests/baselines/reference/propertyOverridesAccessors5.js index 79741c3ce316b..04137582b9cd3 100644 --- a/tests/baselines/reference/propertyOverridesAccessors5.js +++ b/tests/baselines/reference/propertyOverridesAccessors5.js @@ -12,6 +12,7 @@ class B extends A { //// [propertyOverridesAccessors5.js] +"use strict"; class A { get p() { return 'oh no'; } } diff --git a/tests/baselines/reference/propertyOverridesMethod.js b/tests/baselines/reference/propertyOverridesMethod.js index 70fb5020f0b90..67606c412ce53 100644 --- a/tests/baselines/reference/propertyOverridesMethod.js +++ b/tests/baselines/reference/propertyOverridesMethod.js @@ -10,6 +10,7 @@ class B extends A { //// [propertyOverridesMethod.js] +"use strict"; class A { m() { } } diff --git a/tests/baselines/reference/propertyOverridingPrototype.js b/tests/baselines/reference/propertyOverridingPrototype.js index 58ae7f471c854..67323fac1bca7 100644 --- a/tests/baselines/reference/propertyOverridingPrototype.js +++ b/tests/baselines/reference/propertyOverridingPrototype.js @@ -13,6 +13,7 @@ class Derived extends Base { //// [propertyOverridingPrototype.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/propertyParameterWithQuestionMark.js b/tests/baselines/reference/propertyParameterWithQuestionMark.js index e63bd77cf5f2c..8ade36111cb4c 100644 --- a/tests/baselines/reference/propertyParameterWithQuestionMark.js +++ b/tests/baselines/reference/propertyParameterWithQuestionMark.js @@ -12,6 +12,7 @@ v = v2; // Should succeed var v3: { x } = new C; // Should fail //// [propertyParameterWithQuestionMark.js] +"use strict"; var C = /** @class */ (function () { function C(x) { this.x = x; diff --git a/tests/baselines/reference/propertySignatures.js b/tests/baselines/reference/propertySignatures.js index 74125b73b471f..93f8a7c1a9341 100644 --- a/tests/baselines/reference/propertySignatures.js +++ b/tests/baselines/reference/propertySignatures.js @@ -23,6 +23,7 @@ test.bar = 2; //// [propertySignatures.js] +"use strict"; foo2.a = 2; foo2.a = "0"; var test = foo(); diff --git a/tests/baselines/reference/propertyWrappedInTry.js b/tests/baselines/reference/propertyWrappedInTry.js index 0be866af2b8dc..6023e75bb9fbb 100644 --- a/tests/baselines/reference/propertyWrappedInTry.js +++ b/tests/baselines/reference/propertyWrappedInTry.js @@ -22,6 +22,7 @@ class Foo { //// [propertyWrappedInTry.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinClass.js b/tests/baselines/reference/protectedClassPropertyAccessibleWithinClass.js index f22bf681acbbc..f74111989287c 100644 --- a/tests/baselines/reference/protectedClassPropertyAccessibleWithinClass.js +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinClass.js @@ -34,6 +34,7 @@ class C2 { //// [protectedClassPropertyAccessibleWithinClass.js] +"use strict"; // no errors var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedClass.js b/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedClass.js index d6ea590c87f8f..7c72f4e718fc4 100644 --- a/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedClass.js +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedClass.js @@ -40,6 +40,7 @@ class C { } //// [protectedClassPropertyAccessibleWithinNestedClass.js] +"use strict"; // no errors var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass.js b/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass.js index 6df9c20a0af01..82c6f018e9420 100644 --- a/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass.js +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass.js @@ -40,6 +40,7 @@ class E extends C { } //// [protectedClassPropertyAccessibleWithinNestedSubclass.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass1.js b/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass1.js index 743afeacc22d2..5be8ba56ba200 100644 --- a/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass1.js +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinNestedSubclass1.js @@ -117,6 +117,7 @@ d3.x; // Error, neither within their declaring class nor class d4.x; // Error, neither within their declaring class nor classes derived from their declaring class //// [protectedClassPropertyAccessibleWithinNestedSubclass1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass.js b/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass.js index 7dbe73be189fb..fcefa668cb589 100644 --- a/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass.js +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass.js @@ -22,6 +22,7 @@ class C extends B { //// [protectedClassPropertyAccessibleWithinSubclass.js] +"use strict"; // no errors var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass2.js b/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass2.js index c1be36eb3d1d7..aaefa88328a1f 100644 --- a/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass2.js +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass2.js @@ -97,6 +97,7 @@ d3.x; // Error, neither within their declaring class nor class d4.x; // Error, neither within their declaring class nor classes derived from their declaring class //// [protectedClassPropertyAccessibleWithinSubclass2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass3.js b/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass3.js index b4e7d5b9c62e3..76c8e7303002f 100644 --- a/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass3.js +++ b/tests/baselines/reference/protectedClassPropertyAccessibleWithinSubclass3.js @@ -16,6 +16,7 @@ class Derived extends Base { } //// [protectedClassPropertyAccessibleWithinSubclass3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/protectedInstanceMemberAccessibility.js b/tests/baselines/reference/protectedInstanceMemberAccessibility.js index 6306972a76f16..737fe7e788a88 100644 --- a/tests/baselines/reference/protectedInstanceMemberAccessibility.js +++ b/tests/baselines/reference/protectedInstanceMemberAccessibility.js @@ -47,6 +47,7 @@ class C extends A { //// [protectedInstanceMemberAccessibility.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/protectedMembers.js b/tests/baselines/reference/protectedMembers.js index 30ecf1d59d8dd..e8042feceaebc 100644 --- a/tests/baselines/reference/protectedMembers.js +++ b/tests/baselines/reference/protectedMembers.js @@ -118,6 +118,7 @@ class B3 extends A3 { //// [protectedMembers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/protectedMembersThisParameter.js b/tests/baselines/reference/protectedMembersThisParameter.js index 8de6a4e3bad53..8022ad9931706 100644 --- a/tests/baselines/reference/protectedMembersThisParameter.js +++ b/tests/baselines/reference/protectedMembersThisParameter.js @@ -99,6 +99,7 @@ class D2 extends D { //// [protectedMembersThisParameter.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass.js b/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass.js index b41696e4350b8..44e117e5c9408 100644 --- a/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass.js +++ b/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass.js @@ -46,6 +46,7 @@ Derived2.x; // Error, neither within their declaring class nor classes deriv Derived3.x; // Error, neither within their declaring class nor classes derived from their declaring class //// [protectedStaticClassPropertyAccessibleWithinSubclass.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass2.js b/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass2.js index 24c5212f9ded0..74e80b060a6cd 100644 --- a/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass2.js +++ b/tests/baselines/reference/protectedStaticClassPropertyAccessibleWithinSubclass2.js @@ -24,6 +24,7 @@ class Derived2 extends Derived1 { } //// [protectedStaticClassPropertyAccessibleWithinSubclass2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/protectedStaticNotAccessibleInClodule.js b/tests/baselines/reference/protectedStaticNotAccessibleInClodule.js index 45a09859939bd..cb452a96e8373 100644 --- a/tests/baselines/reference/protectedStaticNotAccessibleInClodule.js +++ b/tests/baselines/reference/protectedStaticNotAccessibleInClodule.js @@ -14,6 +14,7 @@ namespace C { } //// [protectedStaticNotAccessibleInClodule.js] +"use strict"; // Any attempt to access a private property member outside the class body that contains its declaration results in a compile-time error. var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/protoAsIndexInIndexExpression.js b/tests/baselines/reference/protoAsIndexInIndexExpression.js index 476630c60dcb1..5bcf9cf5ce64e 100644 --- a/tests/baselines/reference/protoAsIndexInIndexExpression.js +++ b/tests/baselines/reference/protoAsIndexInIndexExpression.js @@ -24,6 +24,7 @@ class C { Object.defineProperty(exports, "__esModule", { value: true }); exports.x = void 0; //// [protoAsIndexInIndexExpression_1.js] +"use strict"; /// var EntityPrototype = undefined; var WorkspacePrototype = { diff --git a/tests/baselines/reference/protoAssignment.js b/tests/baselines/reference/protoAssignment.js index e2d00ceb1c2e1..b96f2795882c8 100644 --- a/tests/baselines/reference/protoAssignment.js +++ b/tests/baselines/reference/protoAssignment.js @@ -17,6 +17,7 @@ Number.prototype.compareTo = function (other: number) { //// [protoAssignment.js] +"use strict"; Number.prototype.compareTo = function (other) { return this.valueOf() == other; }; diff --git a/tests/baselines/reference/protoInIndexer.js b/tests/baselines/reference/protoInIndexer.js index abcdb53fbd770..3e05dfad111b4 100644 --- a/tests/baselines/reference/protoInIndexer.js +++ b/tests/baselines/reference/protoInIndexer.js @@ -8,6 +8,7 @@ class X { } //// [protoInIndexer.js] +"use strict"; var X = /** @class */ (function () { function X() { this['__proto__'] = null; // used to cause ICE diff --git a/tests/baselines/reference/prototypeInstantiatedWithBaseConstraint.js b/tests/baselines/reference/prototypeInstantiatedWithBaseConstraint.js index 045e10968590c..966539364ae22 100644 --- a/tests/baselines/reference/prototypeInstantiatedWithBaseConstraint.js +++ b/tests/baselines/reference/prototypeInstantiatedWithBaseConstraint.js @@ -8,6 +8,7 @@ class C { C.prototype.x.boo; // No error, prototype is instantiated to any //// [prototypeInstantiatedWithBaseConstraint.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/prototypeOnConstructorFunctions.js b/tests/baselines/reference/prototypeOnConstructorFunctions.js index e9459a4108d96..267e727896bc9 100644 --- a/tests/baselines/reference/prototypeOnConstructorFunctions.js +++ b/tests/baselines/reference/prototypeOnConstructorFunctions.js @@ -13,5 +13,6 @@ i.const.prototype.prop = "yo"; //// [prototypeOnConstructorFunctions.js] +"use strict"; var i; i.const.prototype.prop = "yo"; diff --git a/tests/baselines/reference/prototypes.js b/tests/baselines/reference/prototypes.js index 00336f23c8b8f..64caa2cfd0d19 100644 --- a/tests/baselines/reference/prototypes.js +++ b/tests/baselines/reference/prototypes.js @@ -7,6 +7,7 @@ function f() {} f.prototype; //// [prototypes.js] +"use strict"; Object.prototype; // ok new Object().prototype; // error function f() { } diff --git a/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter.js b/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter.js index 898ca6243a932..cff11417bde38 100644 --- a/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter.js +++ b/tests/baselines/reference/publicGetterProtectedSetterFromThisParameter.js @@ -39,6 +39,7 @@ function bar(this: A, a: A, b: B) { //// [publicGetterProtectedSetterFromThisParameter.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/publicIndexer.js b/tests/baselines/reference/publicIndexer.js index ec43355f51968..99f05c3a5c2e2 100644 --- a/tests/baselines/reference/publicIndexer.js +++ b/tests/baselines/reference/publicIndexer.js @@ -16,6 +16,7 @@ class E { } //// [publicIndexer.js] +"use strict"; // public indexers not allowed var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/publicMemberImplementedAsPrivateInDerivedClass.js b/tests/baselines/reference/publicMemberImplementedAsPrivateInDerivedClass.js index dd9e5ada7c81d..7176877cdc40f 100644 --- a/tests/baselines/reference/publicMemberImplementedAsPrivateInDerivedClass.js +++ b/tests/baselines/reference/publicMemberImplementedAsPrivateInDerivedClass.js @@ -10,6 +10,7 @@ class Foo implements Qux { //// [publicMemberImplementedAsPrivateInDerivedClass.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/qualifiedModuleLocals.js b/tests/baselines/reference/qualifiedModuleLocals.js index b9d7412e79dd7..3341c05d20d8d 100644 --- a/tests/baselines/reference/qualifiedModuleLocals.js +++ b/tests/baselines/reference/qualifiedModuleLocals.js @@ -13,6 +13,7 @@ A.a(); //// [qualifiedModuleLocals.js] +"use strict"; var A; (function (A) { function b() { } diff --git a/tests/baselines/reference/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.js b/tests/baselines/reference/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.js index 4ee1d474bb574..24ef53752fb98 100644 --- a/tests/baselines/reference/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.js +++ b/tests/baselines/reference/qualifiedName_ImportDeclarations-entity-names-referencing-a-var.js @@ -13,6 +13,7 @@ namespace Beta { var x = Alpha.x //// [qualifiedName_ImportDeclarations-entity-names-referencing-a-var.js] +"use strict"; var Alpha; (function (Alpha) { Alpha.x = 100; diff --git a/tests/baselines/reference/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.js b/tests/baselines/reference/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.js index d60839279a472..48775534bf06e 100644 --- a/tests/baselines/reference/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.js +++ b/tests/baselines/reference/qualifiedName_entity-name-resolution-does-not-affect-class-heritage.js @@ -9,6 +9,7 @@ class Beta extends Alpha.x { } //// [qualifiedName_entity-name-resolution-does-not-affect-class-heritage.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/qualify.js b/tests/baselines/reference/qualify.js index ac4d781b88f43..687c76184aab6 100644 --- a/tests/baselines/reference/qualify.js +++ b/tests/baselines/reference/qualify.js @@ -63,6 +63,7 @@ var x:T.I=y; //// [qualify.js] +"use strict"; var M; (function (M) { M.m = 0; diff --git a/tests/baselines/reference/quotedAccessorName1.js b/tests/baselines/reference/quotedAccessorName1.js index 56a823a06e696..515347eb0659b 100644 --- a/tests/baselines/reference/quotedAccessorName1.js +++ b/tests/baselines/reference/quotedAccessorName1.js @@ -6,6 +6,7 @@ class C { } //// [quotedAccessorName1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/quotedAccessorName2.js b/tests/baselines/reference/quotedAccessorName2.js index ac0379986890a..2404c7331f56b 100644 --- a/tests/baselines/reference/quotedAccessorName2.js +++ b/tests/baselines/reference/quotedAccessorName2.js @@ -6,6 +6,7 @@ class C { } //// [quotedAccessorName2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/quotedConstructors.js b/tests/baselines/reference/quotedConstructors.js index 075274ea9d9d5..5777f20c74b6c 100644 --- a/tests/baselines/reference/quotedConstructors.js +++ b/tests/baselines/reference/quotedConstructors.js @@ -35,6 +35,7 @@ class F { //// [quotedConstructors.js] +"use strict"; var C = /** @class */ (function () { function C() { console.log(this); diff --git a/tests/baselines/reference/quotedFunctionName1.js b/tests/baselines/reference/quotedFunctionName1.js index 7528093bcffa4..e757e61100f6b 100644 --- a/tests/baselines/reference/quotedFunctionName1.js +++ b/tests/baselines/reference/quotedFunctionName1.js @@ -6,6 +6,7 @@ class Test1 { } //// [quotedFunctionName1.js] +"use strict"; var Test1 = /** @class */ (function () { function Test1() { } diff --git a/tests/baselines/reference/quotedFunctionName2.js b/tests/baselines/reference/quotedFunctionName2.js index 9f9eaf5db3aeb..e2d4c0f33c701 100644 --- a/tests/baselines/reference/quotedFunctionName2.js +++ b/tests/baselines/reference/quotedFunctionName2.js @@ -6,6 +6,7 @@ class Test1 { } //// [quotedFunctionName2.js] +"use strict"; var Test1 = /** @class */ (function () { function Test1() { } diff --git a/tests/baselines/reference/quotedModuleNameMustBeAmbient.js b/tests/baselines/reference/quotedModuleNameMustBeAmbient.js index e2f753ffad994..dba8bed22fb54 100644 --- a/tests/baselines/reference/quotedModuleNameMustBeAmbient.js +++ b/tests/baselines/reference/quotedModuleNameMustBeAmbient.js @@ -6,3 +6,4 @@ module 'M' {} declare module 'M2' {} //// [quotedModuleNameMustBeAmbient.js] +"use strict"; diff --git a/tests/baselines/reference/quotedPropertyName1.js b/tests/baselines/reference/quotedPropertyName1.js index 9343f2f2bd0dd..3546dd7ba1cfc 100644 --- a/tests/baselines/reference/quotedPropertyName1.js +++ b/tests/baselines/reference/quotedPropertyName1.js @@ -6,6 +6,7 @@ class Test1 { } //// [quotedPropertyName1.js] +"use strict"; var Test1 = /** @class */ (function () { function Test1() { this["prop1"] = 0; diff --git a/tests/baselines/reference/quotedPropertyName2.js b/tests/baselines/reference/quotedPropertyName2.js index 0e46aca8d29fa..b5510b873b4f3 100644 --- a/tests/baselines/reference/quotedPropertyName2.js +++ b/tests/baselines/reference/quotedPropertyName2.js @@ -6,6 +6,7 @@ class Test1 { } //// [quotedPropertyName2.js] +"use strict"; var Test1 = /** @class */ (function () { function Test1() { } diff --git a/tests/baselines/reference/quotedPropertyName3.js b/tests/baselines/reference/quotedPropertyName3.js index e144210935019..001915d6e127a 100644 --- a/tests/baselines/reference/quotedPropertyName3.js +++ b/tests/baselines/reference/quotedPropertyName3.js @@ -10,6 +10,7 @@ class Test { } //// [quotedPropertyName3.js] +"use strict"; var Test = /** @class */ (function () { function Test() { } diff --git a/tests/baselines/reference/raiseErrorOnParameterProperty.js b/tests/baselines/reference/raiseErrorOnParameterProperty.js index 9492eec6fd838..fcc0a4a196c93 100644 --- a/tests/baselines/reference/raiseErrorOnParameterProperty.js +++ b/tests/baselines/reference/raiseErrorOnParameterProperty.js @@ -10,6 +10,7 @@ var c1 = new C1(0); //// [raiseErrorOnParameterProperty.js] +"use strict"; var C1 = /** @class */ (function () { function C1(x) { this.x = x; diff --git a/tests/baselines/reference/ramdaToolsNoInfinite.js b/tests/baselines/reference/ramdaToolsNoInfinite.js index 38dfd78e54257..9b648202ea631 100644 --- a/tests/baselines/reference/ramdaToolsNoInfinite.js +++ b/tests/baselines/reference/ramdaToolsNoInfinite.js @@ -123,3 +123,4 @@ declare namespace Curry { //// [ramdaToolsNoInfinite.js] +"use strict"; diff --git a/tests/baselines/reference/randomSemicolons1.js b/tests/baselines/reference/randomSemicolons1.js index e964beb33faa6..3eb205f5915e9 100644 --- a/tests/baselines/reference/randomSemicolons1.js +++ b/tests/baselines/reference/randomSemicolons1.js @@ -7,6 +7,7 @@ var a = 1; //// [randomSemicolons1.js] +"use strict"; ; ; var a = 1; diff --git a/tests/baselines/reference/reExportJsFromTs.js b/tests/baselines/reference/reExportJsFromTs.js index e861b4770a350..170e1a38656e7 100644 --- a/tests/baselines/reference/reExportJsFromTs.js +++ b/tests/baselines/reference/reExportJsFromTs.js @@ -10,6 +10,7 @@ import * as tsConstants from "../lib/constants"; export { tsConstants }; //// [constants.js] +"use strict"; module.exports = { str: 'x', }; diff --git a/tests/baselines/reference/reachabilityCheckWithEmptyDefault.js b/tests/baselines/reference/reachabilityCheckWithEmptyDefault.js index 3bb272a2cba3d..b2ebb901cdd98 100644 --- a/tests/baselines/reference/reachabilityCheckWithEmptyDefault.js +++ b/tests/baselines/reference/reachabilityCheckWithEmptyDefault.js @@ -11,6 +11,7 @@ function foo(x: any) { } //// [reachabilityCheckWithEmptyDefault.js] +"use strict"; function foo(x) { switch (x) { case 1: return; diff --git a/tests/baselines/reference/reachabilityChecks1.js b/tests/baselines/reference/reachabilityChecks1.js index 6b5f69a059164..4114e820fd93e 100644 --- a/tests/baselines/reference/reachabilityChecks1.js +++ b/tests/baselines/reference/reachabilityChecks1.js @@ -77,6 +77,7 @@ function f4() { //// [reachabilityChecks1.js] +"use strict"; while (true) ; var x = 1; diff --git a/tests/baselines/reference/reachabilityChecks11.js b/tests/baselines/reference/reachabilityChecks11.js index 7f0c08492355b..0555345c44343 100644 --- a/tests/baselines/reference/reachabilityChecks11.js +++ b/tests/baselines/reference/reachabilityChecks11.js @@ -77,6 +77,7 @@ function f4() { //// [reachabilityChecks11.js] +"use strict"; // while (true); var x = 1; var A; diff --git a/tests/baselines/reference/reachabilityChecks2.js b/tests/baselines/reference/reachabilityChecks2.js index 177f73c4ffce2..a2fb9b66b7665 100644 --- a/tests/baselines/reference/reachabilityChecks2.js +++ b/tests/baselines/reference/reachabilityChecks2.js @@ -14,6 +14,7 @@ namespace A4 { //// [reachabilityChecks2.js] +"use strict"; while (true) { } var A4; (function (A4) { diff --git a/tests/baselines/reference/reachabilityChecks3.js b/tests/baselines/reference/reachabilityChecks3.js index aa478c948c069..e76714a49a699 100644 --- a/tests/baselines/reference/reachabilityChecks3.js +++ b/tests/baselines/reference/reachabilityChecks3.js @@ -17,6 +17,7 @@ loop: while (true) { var y = () => { f: 1 } //// [reachabilityChecks3.js] +"use strict"; var x = 1; loop: while (true) { if (x == 100) { diff --git a/tests/baselines/reference/reachabilityChecks4.js b/tests/baselines/reference/reachabilityChecks4.js index 052bd3628f34f..1a28a1bc677df 100644 --- a/tests/baselines/reference/reachabilityChecks4.js +++ b/tests/baselines/reference/reachabilityChecks4.js @@ -68,6 +68,7 @@ function f2(transition: Transition): any { //// [reachabilityChecks4.js] +"use strict"; function foo(x, y) { switch (x) { case 1: diff --git a/tests/baselines/reference/reachabilityChecks5.js b/tests/baselines/reference/reachabilityChecks5.js index 95f554ea0b82a..dd05dde7d7393 100644 --- a/tests/baselines/reference/reachabilityChecks5.js +++ b/tests/baselines/reference/reachabilityChecks5.js @@ -131,6 +131,7 @@ function f11(x): number { } //// [reachabilityChecks5.js] +"use strict"; function f0(x) { while (true) ; diff --git a/tests/baselines/reference/reachabilityChecks6.js b/tests/baselines/reference/reachabilityChecks6.js index 6d5a20b35e379..242ac2f74d35e 100644 --- a/tests/baselines/reference/reachabilityChecks6.js +++ b/tests/baselines/reference/reachabilityChecks6.js @@ -131,6 +131,7 @@ function f11(x) { } //// [reachabilityChecks6.js] +"use strict"; function f0(x) { while (true) ; diff --git a/tests/baselines/reference/reachabilityChecks7.js b/tests/baselines/reference/reachabilityChecks7.js index cbc921a60027f..51753750267e6 100644 --- a/tests/baselines/reference/reachabilityChecks7.js +++ b/tests/baselines/reference/reachabilityChecks7.js @@ -32,6 +32,7 @@ declare function use(s: string): void; let x1 = () => { use("Test"); } //// [reachabilityChecks7.js] +"use strict"; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { diff --git a/tests/baselines/reference/reachabilityChecks8.js b/tests/baselines/reference/reachabilityChecks8.js index 1a41741c844dd..79082f1cd47d2 100644 --- a/tests/baselines/reference/reachabilityChecks8.js +++ b/tests/baselines/reference/reachabilityChecks8.js @@ -11,6 +11,7 @@ try { //// [reachabilityChecks8.js] +"use strict"; try { for ((function () { throw "1"; })(); (function () { throw "2"; })(); (function () { throw "3"; })()) { } } diff --git a/tests/baselines/reference/reachabilityChecksIgnored.js b/tests/baselines/reference/reachabilityChecksIgnored.js index 20ea3147dd9a5..89b6057b987ca 100644 --- a/tests/baselines/reference/reachabilityChecksIgnored.js +++ b/tests/baselines/reference/reachabilityChecksIgnored.js @@ -16,6 +16,7 @@ function b() { } //// [reachabilityChecksIgnored.js] +"use strict"; function a() { throw new Error(""); // @ts-ignore diff --git a/tests/baselines/reference/reactNamespaceInvalidInput.js b/tests/baselines/reference/reactNamespaceInvalidInput.js index 2270ef915ec44..b4ce33619b507 100644 --- a/tests/baselines/reference/reactNamespaceInvalidInput.js +++ b/tests/baselines/reference/reactNamespaceInvalidInput.js @@ -5,4 +5,5 @@ //// [reactNamespaceInvalidInput.js] +"use strict"; my-React-Lib.createElement("foo", { data: true }); diff --git a/tests/baselines/reference/reactNamespaceJSXEmit.js b/tests/baselines/reference/reactNamespaceJSXEmit.js index bbacb89338612..0207bd1eb9722 100644 --- a/tests/baselines/reference/reactNamespaceJSXEmit.js +++ b/tests/baselines/reference/reactNamespaceJSXEmit.js @@ -16,6 +16,7 @@ declare var x: any; //// [reactNamespaceJSXEmit.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/reactNamespaceMissingDeclaration.js b/tests/baselines/reference/reactNamespaceMissingDeclaration.js index c3777567eb898..ea16dcb21ec4a 100644 --- a/tests/baselines/reference/reactNamespaceMissingDeclaration.js +++ b/tests/baselines/reference/reactNamespaceMissingDeclaration.js @@ -5,5 +5,6 @@ //// [reactNamespaceMissingDeclaration.js] +"use strict"; // Error myReactLib not declared myReactLib.createElement("foo", { data: true }); diff --git a/tests/baselines/reference/readonlyAssignmentInSubclassOfClassExpression.js b/tests/baselines/reference/readonlyAssignmentInSubclassOfClassExpression.js index e87c8075b7fd6..c3faa1313b669 100644 --- a/tests/baselines/reference/readonlyAssignmentInSubclassOfClassExpression.js +++ b/tests/baselines/reference/readonlyAssignmentInSubclassOfClassExpression.js @@ -10,6 +10,7 @@ class C extends (class {} as new () => Readonly<{ attrib: number }>) { //// [readonlyAssignmentInSubclassOfClassExpression.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/readonlyConstructorAssignment.js b/tests/baselines/reference/readonlyConstructorAssignment.js index a7099fae21ada..b0b38c653e35a 100644 --- a/tests/baselines/reference/readonlyConstructorAssignment.js +++ b/tests/baselines/reference/readonlyConstructorAssignment.js @@ -42,6 +42,7 @@ class E extends D { //// [readonlyConstructorAssignment.js] +"use strict"; // Tests that readonly parameter properties behave like regular readonly properties var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/readonlyInAmbientClass.js b/tests/baselines/reference/readonlyInAmbientClass.js index 0f0f734ab7806..bfc276f9dcebb 100644 --- a/tests/baselines/reference/readonlyInAmbientClass.js +++ b/tests/baselines/reference/readonlyInAmbientClass.js @@ -7,3 +7,4 @@ declare class C{ } //// [readonlyInAmbientClass.js] +"use strict"; diff --git a/tests/baselines/reference/readonlyInConstructorParameters.js b/tests/baselines/reference/readonlyInConstructorParameters.js index b3b74f1ad04bc..9c413e5243705 100644 --- a/tests/baselines/reference/readonlyInConstructorParameters.js +++ b/tests/baselines/reference/readonlyInConstructorParameters.js @@ -16,6 +16,7 @@ class F { new F(1).x; //// [readonlyInConstructorParameters.js] +"use strict"; var C = /** @class */ (function () { function C(x) { this.x = x; diff --git a/tests/baselines/reference/readonlyInDeclarationFile.js b/tests/baselines/reference/readonlyInDeclarationFile.js index 0609df802e375..e863c74ed55ab 100644 --- a/tests/baselines/reference/readonlyInDeclarationFile.js +++ b/tests/baselines/reference/readonlyInDeclarationFile.js @@ -56,6 +56,7 @@ function g() { } //// [readonlyInDeclarationFile.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/readonlyInNonPropertyParameters.js b/tests/baselines/reference/readonlyInNonPropertyParameters.js index 8717bfc16ccae..e08d014ebf391 100644 --- a/tests/baselines/reference/readonlyInNonPropertyParameters.js +++ b/tests/baselines/reference/readonlyInNonPropertyParameters.js @@ -11,6 +11,7 @@ class X { (readonly) => 0; //// [readonlyInNonPropertyParameters.js] +"use strict"; // `readonly` won't work outside of property parameters var X = /** @class */ (function () { function X() { diff --git a/tests/baselines/reference/readonlyMembers.js b/tests/baselines/reference/readonlyMembers.js index 230e235925b44..7840d33e37e45 100644 --- a/tests/baselines/reference/readonlyMembers.js +++ b/tests/baselines/reference/readonlyMembers.js @@ -73,6 +73,7 @@ yy[1] = "abc"; // Error yy["foo"] = "abc"; //// [readonlyMembers.js] +"use strict"; var x = { a: 0 }; x.a = 1; // Error x.b = 1; // Error diff --git a/tests/baselines/reference/readonlyReadonly.js b/tests/baselines/reference/readonlyReadonly.js index f7ea25bd019c2..d415e73f54b19 100644 --- a/tests/baselines/reference/readonlyReadonly.js +++ b/tests/baselines/reference/readonlyReadonly.js @@ -7,6 +7,7 @@ class C { } //// [readonlyReadonly.js] +"use strict"; var C = /** @class */ (function () { function C(y) { this.y = y; diff --git a/tests/baselines/reference/readonlyTupleAndArrayElaboration.js b/tests/baselines/reference/readonlyTupleAndArrayElaboration.js index 967a37d4ef760..9376412ae33ae 100644 --- a/tests/baselines/reference/readonlyTupleAndArrayElaboration.js +++ b/tests/baselines/reference/readonlyTupleAndArrayElaboration.js @@ -76,6 +76,7 @@ const at8: [1] = at7; //// [readonlyTupleAndArrayElaboration.js] +"use strict"; // @strict // #Repro from #30839 var point = [3, 4]; diff --git a/tests/baselines/reference/reassignStaticProp.js b/tests/baselines/reference/reassignStaticProp.js index 8cfd161de1af9..cface55bef4d0 100644 --- a/tests/baselines/reference/reassignStaticProp.js +++ b/tests/baselines/reference/reassignStaticProp.js @@ -14,6 +14,7 @@ class foo { //// [reassignStaticProp.js] +"use strict"; var foo = /** @class */ (function () { function foo() { } diff --git a/tests/baselines/reference/reboundBaseClassSymbol.js b/tests/baselines/reference/reboundBaseClassSymbol.js index df8840a629e0a..423f305364093 100644 --- a/tests/baselines/reference/reboundBaseClassSymbol.js +++ b/tests/baselines/reference/reboundBaseClassSymbol.js @@ -8,6 +8,7 @@ namespace Foo { } //// [reboundBaseClassSymbol.js] +"use strict"; var Foo; (function (Foo) { var A = 1; diff --git a/tests/baselines/reference/reboundIdentifierOnImportAlias.js b/tests/baselines/reference/reboundIdentifierOnImportAlias.js index c7b6f8dc9ae0c..da52ad7c7a6d8 100644 --- a/tests/baselines/reference/reboundIdentifierOnImportAlias.js +++ b/tests/baselines/reference/reboundIdentifierOnImportAlias.js @@ -10,6 +10,7 @@ namespace Bar { } //// [reboundIdentifierOnImportAlias.js] +"use strict"; var Foo; (function (Foo) { Foo.x = "hello"; diff --git a/tests/baselines/reference/rectype.js b/tests/baselines/reference/rectype.js index 89a799c19fed3..5ca58650190eb 100644 --- a/tests/baselines/reference/rectype.js +++ b/tests/baselines/reference/rectype.js @@ -16,6 +16,7 @@ namespace M { //// [rectype.js] +"use strict"; var M; (function (M) { function f(p) { return f; } diff --git a/tests/baselines/reference/recur1.js b/tests/baselines/reference/recur1.js index 2ef1b7bc1b05d..369230ab9340b 100644 --- a/tests/baselines/reference/recur1.js +++ b/tests/baselines/reference/recur1.js @@ -10,6 +10,7 @@ cobalt.pitch = function() {} //// [recur1.js] +"use strict"; var salt = new salt.pepper(); salt.pepper = function () { }; var cobalt = new cobalt.pitch(); diff --git a/tests/baselines/reference/recurringTypeParamForContainerOfBase01.js b/tests/baselines/reference/recurringTypeParamForContainerOfBase01.js index a842c0e017302..6b110cf926582 100644 --- a/tests/baselines/reference/recurringTypeParamForContainerOfBase01.js +++ b/tests/baselines/reference/recurringTypeParamForContainerOfBase01.js @@ -14,6 +14,7 @@ interface Bar> extends Foo { } //// [recurringTypeParamForContainerOfBase01.js] +"use strict"; //// [recurringTypeParamForContainerOfBase01.d.ts] diff --git a/tests/baselines/reference/recursiveArrayNotCircular.js b/tests/baselines/reference/recursiveArrayNotCircular.js index 37b276fa4f6ed..52e2d86047bab 100644 --- a/tests/baselines/reference/recursiveArrayNotCircular.js +++ b/tests/baselines/reference/recursiveArrayNotCircular.js @@ -39,6 +39,7 @@ function reducer(action: ReducerAction): void { } //// [recursiveArrayNotCircular.js] +"use strict"; var ActionType; (function (ActionType) { ActionType[ActionType["Foo"] = 0] = "Foo"; diff --git a/tests/baselines/reference/recursiveBaseCheck.js b/tests/baselines/reference/recursiveBaseCheck.js index 0f79fd8a079eb..a843d4ce2baaa 100644 --- a/tests/baselines/reference/recursiveBaseCheck.js +++ b/tests/baselines/reference/recursiveBaseCheck.js @@ -20,3 +20,4 @@ declare namespace Module { //// [recursiveBaseCheck.js] +"use strict"; diff --git a/tests/baselines/reference/recursiveBaseCheck2.js b/tests/baselines/reference/recursiveBaseCheck2.js index 1b003992deaf1..7aa4244b6ffe5 100644 --- a/tests/baselines/reference/recursiveBaseCheck2.js +++ b/tests/baselines/reference/recursiveBaseCheck2.js @@ -16,3 +16,4 @@ declare namespace Box2D.Dynamics { //// [recursiveBaseCheck2.js] +"use strict"; diff --git a/tests/baselines/reference/recursiveBaseCheck3.js b/tests/baselines/reference/recursiveBaseCheck3.js index 96dc49b4c867a..c89fd39231cb8 100644 --- a/tests/baselines/reference/recursiveBaseCheck3.js +++ b/tests/baselines/reference/recursiveBaseCheck3.js @@ -7,6 +7,7 @@ class C extends A { } (new C).blah; //// [recursiveBaseCheck3.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/recursiveBaseCheck4.js b/tests/baselines/reference/recursiveBaseCheck4.js index 6d0cac39d6b50..cb4c0abab7b63 100644 --- a/tests/baselines/reference/recursiveBaseCheck4.js +++ b/tests/baselines/reference/recursiveBaseCheck4.js @@ -5,6 +5,7 @@ class M extends M { } (new M).blah; //// [recursiveBaseCheck4.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/recursiveBaseCheck5.js b/tests/baselines/reference/recursiveBaseCheck5.js index e57ed93312669..ef1e455c95531 100644 --- a/tests/baselines/reference/recursiveBaseCheck5.js +++ b/tests/baselines/reference/recursiveBaseCheck5.js @@ -7,6 +7,7 @@ class X implements I2 { } (new X).blah; //// [recursiveBaseCheck5.js] +"use strict"; var X = /** @class */ (function () { function X() { } diff --git a/tests/baselines/reference/recursiveBaseCheck6.js b/tests/baselines/reference/recursiveBaseCheck6.js index d97b5150347cd..dec5a6d0ecf8d 100644 --- a/tests/baselines/reference/recursiveBaseCheck6.js +++ b/tests/baselines/reference/recursiveBaseCheck6.js @@ -5,6 +5,7 @@ class S18 extends S18<{ S19: A; }>{ } (new S18()).blah; //// [recursiveBaseCheck6.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/recursiveBaseConstructorCreation1.js b/tests/baselines/reference/recursiveBaseConstructorCreation1.js index 40c509f6662e6..cad5190dbf8fd 100644 --- a/tests/baselines/reference/recursiveBaseConstructorCreation1.js +++ b/tests/baselines/reference/recursiveBaseConstructorCreation1.js @@ -9,6 +9,7 @@ var x = new C2(); // Valid //// [recursiveBaseConstructorCreation1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/recursiveBaseConstructorCreation2.js b/tests/baselines/reference/recursiveBaseConstructorCreation2.js index e05beac6b3720..a58bd6190795c 100644 --- a/tests/baselines/reference/recursiveBaseConstructorCreation2.js +++ b/tests/baselines/reference/recursiveBaseConstructorCreation2.js @@ -17,4 +17,5 @@ var bar = new xyz(); // Error: Invalid 'new' expression. //// [recursiveBaseConstructorCreation2.js] +"use strict"; var bar = new xyz(); // Error: Invalid 'new' expression. diff --git a/tests/baselines/reference/recursiveBaseConstructorCreation3.js b/tests/baselines/reference/recursiveBaseConstructorCreation3.js index 2647d75abc864..84e8695e57bcc 100644 --- a/tests/baselines/reference/recursiveBaseConstructorCreation3.js +++ b/tests/baselines/reference/recursiveBaseConstructorCreation3.js @@ -13,5 +13,6 @@ var bar = new xyz(); // Error: Invalid 'new' expression. var r: xyz = bar.foo; //// [recursiveBaseConstructorCreation3.js] +"use strict"; var bar = new xyz(); // Error: Invalid 'new' expression. var r = bar.foo; diff --git a/tests/baselines/reference/recursiveClassInstantiationsWithDefaultConstructors.js b/tests/baselines/reference/recursiveClassInstantiationsWithDefaultConstructors.js index 7d399b9fa628e..957a7b803a5f8 100644 --- a/tests/baselines/reference/recursiveClassInstantiationsWithDefaultConstructors.js +++ b/tests/baselines/reference/recursiveClassInstantiationsWithDefaultConstructors.js @@ -12,6 +12,7 @@ namespace TypeScript2 { var a = new TypeScript2.MemberNameArray() //// [recursiveClassInstantiationsWithDefaultConstructors.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/recursiveClassReferenceTest.js b/tests/baselines/reference/recursiveClassReferenceTest.js index 47a8dee82ce8f..73074adfa24be 100644 --- a/tests/baselines/reference/recursiveClassReferenceTest.js +++ b/tests/baselines/reference/recursiveClassReferenceTest.js @@ -105,6 +105,7 @@ namespace Sample.Thing.Languages.PlainText { //// [recursiveClassReferenceTest.js] +"use strict"; // Scenario 1: Test reqursive function call with "this" parameter // Scenario 2: Test recursive function call with cast and "this" parameter var __extends = (this && this.__extends) || (function () { diff --git a/tests/baselines/reference/recursiveClassReferenceTest.js.map b/tests/baselines/reference/recursiveClassReferenceTest.js.map index 8fe8289c2891d..4ac57884304bb 100644 --- a/tests/baselines/reference/recursiveClassReferenceTest.js.map +++ b/tests/baselines/reference/recursiveClassReferenceTest.js.map @@ -1,3 +1,3 @@ //// [recursiveClassReferenceTest.js.map] -{"version":3,"file":"recursiveClassReferenceTest.js","sourceRoot":"","sources":["recursiveClassReferenceTest.ts"],"names":[],"mappings":"AAAA,iEAAiE;AACjE,0EAA0E;;;;;;;;;;;;;;;;AA8B1E,IAAU,MAAM,CAUf;AAVD,WAAU,MAAM;IAAC,IAAA,OAAO,CAUvB;IAVgB,WAAA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ZSwgbmV3IF9fKCkpOw0KICAgIH07DQp9KSgpOw0KdmFyIFNhbXBsZTsNCihmdW5jdGlvbiAoU2FtcGxlKSB7DQogICAgdmFyIEFjdGlvbnM7DQogICAgKGZ1bmN0aW9uIChBY3Rpb25zKSB7DQogICAgICAgIHZhciBUaGluZzsNCiAgICAgICAgKGZ1bmN0aW9uIChUaGluZ18xKSB7DQogICAgICAgICAgICB2YXIgRmluZDsNCiAgICAgICAgICAgIChmdW5jdGlvbiAoRmluZCkgew0KICAgICAgICAgICAgICAgIHZhciBTdGFydEZpbmRBY3Rpb24gPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uIFN0YXJ0RmluZEFjdGlvbigpIHsNCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICBTdGFydEZpbmRBY3Rpb24ucHJvdG90eXBlLmdldElkID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gInlvIjsgfTsNCiAgICAgICAgICAgICAgICAgICAgU3RhcnRGaW5kQWN0aW9uLnByb3RvdHlwZS5ydW4gPSBmdW5jdGlvbiAoVGhpbmcpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOw0KICAgICAgICAgICAgICAgICAgICB9Ow0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gU3RhcnRGaW5kQWN0aW9uOw0KICAgICAgICAgICAgICAgIH0oKSk7DQogICAgICAgICAgICAgICAgRmluZC5TdGFydEZpbmRBY3Rpb24gPSBTdGFydEZpbmRBY3Rpb247DQogICAgICAgICAgICB9KShGaW5kID0gVGhpbmdfMS5GaW5kIHx8IChUaGluZ18xLkZpbmQgPSB7fSkpOw0KICAgICAgICB9KShUaGluZyA9IEFjdGlvbnMuVGhpbmcgfHwgKEFjdGlvbnMuVGhpbmcgPSB7fSkpOw0KICAgIH0pKEFjdGlvbnMgPSBTYW1wbGUuQWN0aW9ucyB8fCAoU2FtcGxlLkFjdGlvbnMgPSB7fSkpOw0KfSkoU2FtcGxlIHx8IChTYW1wbGUgPSB7fSkpOw0KKGZ1bmN0aW9uIChTYW1wbGUpIHsNCiAgICB2YXIgVGhpbmc7DQogICAgKGZ1bmN0aW9uIChUaGluZykgew0KICAgICAgICB2YXIgV2lkZ2V0czsNCiAgICAgICAgKGZ1bmN0aW9uIChXaWRnZXRzKSB7DQogICAgICAgICAgICB2YXIgRmluZFdpZGdldCA9IC8qKiBAY2xhc3MgKi8gKGZ1bmN0aW9uICgpIHsNCiAgICAgICAgICAgICAgICBmdW5jdGlvbiBGaW5kV2lkZ2V0KGNvZGVUaGluZykgew0KICAgICAgICAgICAgICAgICAgICB0aGlzLmNvZGVUaGluZyA9IGNvZGVUaGluZzsNCiAgICAgICAgICAgICAgICAgICAgdGhpcy5kb21Ob2RlID0gbnVsbDsNCiAgICAgICAgICAgICAgICAgICAgLy8gc2NlbmFyaW8gMQ0KICAgICAgICAgICAgICAgICAgICBjb2RlVGhpbmcuYWRkV2lkZ2V0KCJhZGRXaWRnZXQiLCB0aGlzKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgRmluZFdpZGdldC5wcm90b3R5cGUuZ2FyID0gZnVuY3Rpb24gKHJ1bm5lcikgeyBpZiAodHJ1ZSkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gcnVubmVyKHRoaXMpOw0KICAgICAgICAgICAgICAgIH0gfTsNCiAgICAgICAgICAgICAgICBGaW5kV2lkZ2V0LnByb3RvdHlwZS5nZXREb21Ob2RlID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gZG9tTm9kZTsNCiAgICAgICAgICAgICAgICB9Ow0KICAgICAgICAgICAgICAgIEZpbmRXaWRnZXQucHJvdG90eXBlLmRlc3Ryb3kgPSBmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICAgICAgfTsNCiAgICAgICAgICAgICAgICByZXR1cm4gRmluZFdpZGdld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ICAgICAgICAgIHJldHVybiB0aGlzOw0KICAgICAgICAgICAgICAgICAgICB9Ow0KICAgICAgICAgICAgICAgICAgICBTdGF0ZS5wcm90b3R5cGUuZXF1YWxzID0gZnVuY3Rpb24gKG90aGVyKSB7DQogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdGhpcyA9PT0gb3RoZXI7DQogICAgICAgICAgICAgICAgICAgIH07DQogICAgICAgICAgICAgICAgICAgIFN0YXRlLnByb3RvdHlwZS5nZXRNb2RlID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gbW9kZTsgfTsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFN0YXRlOw0KICAgICAgICAgICAgICAgIH0oKSk7DQogICAgICAgICAgICAgICAgUGxhaW5UZXh0LlN0YXRlID0gU3RhdGU7DQogICAgICAgICAgICAgICAgdmFyIE1vZGUgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoX3N1cGVyKSB7DQogICAgICAgICAgICAgICAgICAgIF9fZXh0ZW5kcyhNb2RlLCBfc3VwZXIpOw0KICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbiBNb2RlKCkgew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIF9zdXBlciAhPT0gbnVsbCAmJiBfc3VwZXIuYXBwbHkodGhpcywgYXJndW1lbnRzKSB8fCB0aGlzOw0KICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgIC8vIHNjZW5hcmlvIDINCiAgICAgICAgICAgICAgICAgICAgTW9kZS5wcm90b3R5cGUuZ2V0SW5pdGlhbFN0YXRlID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG5ldyBTdGF0ZShzZWxmKTsNCiAgICAgICAgICAgICAgICAgICAgfTsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIE1vZGU7DQogICAgICAgICAgICAgICAgfShBYnN0cmFjdE1vZGUpKTsNCiAgICAgICAgICAgICAgICBQb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fQpkZWNsYXJlIHZhciBzZWxmOiBXaW5kb3c7CgpuYW1lc3BhY2UgU2FtcGxlLlRoaW5nLkxhbmd1YWdlcy5QbGFpblRleHQgewoJCglleHBvcnQgY2xhc3MgU3RhdGUgaW1wbGVtZW50cyBJU3RhdGUgewkJCiAgICAgICAgY29uc3RydWN0b3IocHJpdmF0ZSBtb2RlOiBJTW9kZSkgeyB9CgkJcHVibGljIGNsb25lKCk6SVN0YXRlIHsKCQkJcmV0dXJuIHRoaXM7CgkJfQoKCQlwdWJsaWMgZXF1YWxzKG90aGVyOklTdGF0ZSk6Ym9vbGVhbiB7CgkJCXJldHVybiB0aGlzID09PSBvdGhlcjsKCQl9CgkJCgkJcHVibGljIGdldE1vZGUoKTogSU1vZGUgeyByZXR1cm4gbW9kZTsgfQoJfQoJCglleHBvcnQgY2xhc3MgTW9kZSBleHRlbmRzIEFic3RyYWN0TW9kZSB7CgoJCS8vIHNjZW5hcmlvIDIKCQlwdWJsaWMgZ2V0SW5pdGlhbFN0YXRlKCk6IElTdGF0ZSB7CgkJCXJldHVybiBuZXcgU3RhdGUoc2VsZik7CgkJfQoKCgl9Cn0KCg== +{"version":3,"file":"recursiveClassReferenceTest.js","sourceRoot":"","sources":["recursiveClassReferenceTest.ts"],"names":[],"mappings":";AAAA,iEAAiE;AACjE,0EAA0E;;;;;;;;;;;;;;;;AA8B1E,IAAU,MAAM,CAUf;AAVD,WAAU,MAAM;IAAC,IAAA,OAAO,CAUvB;IAVgB,WAAA,OAAO;QAAC,IAAA,KAAK,CAU7B;QAVwB,WAAA,OAAK;YAAC,IAAA,IAAI,CAUlC;YAV8B,WAAA,IAAI;gBAClC;oBAAA;oBAQA,CAAC;oBANO,+BAAK,GAAZ,cAAiB,OAAO,IAAI,CAAC,CAAC,CAAC;oBAExB,6BAAG,GAAV,UAAW,KAA6B;wBAEvC,OAAO,IAAI,CAAC;oBACb,CAAC;oBACF,sBAAC;gBAAD,CAAC,AARD,IAQC;gBARY,oBAAe,kBA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mdW5jdGlvbiAoRmluZCkgew0KICAgICAgICAgICAgICAgIHZhciBTdGFydEZpbmRBY3Rpb24gPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICAgICAgICAgIGZ1bmN0aW9uIFN0YXJ0RmluZEFjdGlvbigpIHsNCiAgICAgICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgICAgICAgICBTdGFydEZpbmRBY3Rpb24ucHJvdG90eXBlLmdldElkID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gInlvIjsgfTsNCiAgICAgICAgICAgICAgICAgICAgU3RhcnRGaW5kQWN0aW9uLnByb3RvdHlwZS5ydW4gPSBmdW5jdGlvbiAoVGhpbmcpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB0cnVlOw0KICAgICAgICAgICAgICAgICAgICB9Ow0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gU3RhcnRGaW5kQWN0aW9uOw0KICAgICAgICAgICAgICAgIH0oKSk7DQogICAgICAgICAgICAgICAgRmluZC5TdGFydEZpbmRBY3Rpb24gPSBTdGFydEZpbmRBY3Rpb247DQogICAgICAgICAgICB9KShGaW5kID0gVGhpbmdfMS5GaW5kIHx8IChUaGluZ18xLkZpbmQgPSB7fSkpOw0KICAgICAgICB9KShUaGluZyA9IEFjdGlvbnMuVGhpbmcgfHwgKEFjdGlvbnMuVGhpbmcgPSB7fSkpOw0KICAgIH0pKEFjdGlvbnMgPSBTYW1wbGUuQWN0aW9ucyB8fCAoU2FtcGxlLkFjdGlvbnMgPSB7fSkpOw0KfSkoU2FtcGxlIHx8IChTYW1wbGUgPSB7fSkpOw0KKGZ1bmN0aW9uIChTYW1wbGUpIHsNCiAgICB2YXIgVGhpbmc7DQogICAgKGZ1bmN0aW9uIChUaGluZykgew0KICAgICAgICB2YXIgV2lkZ2V0czsNCiAgICAgICAgKGZ1bmN0aW9uIChXaWRnZXRzKSB7DQogICAgICAgICAgICB2YXIgRmluZFdpZGdldCA9IC8qKiBAY2xhc3MgKi8gKGZ1bmN0aW9uICgpIHsNCiAgICAgICAgICAgICAgICBmdW5jdGlvbiBGaW5kV2lkZ2V0KGNvZGVUaGluZykgew0KICAgICAgICAgICAgICAgICAgICB0aGlzLmNvZGVUaGluZyA9IGNvZGVUaGluZzsNCiAgICAgICAgICAgICAgICAgICAgdGhpcy5kb21Ob2RlID0gbnVsbDsNCiAgICAgICAgICAgICAgICAgICAgLy8gc2NlbmFyaW8gMQ0KICAgICAgICAgICAgICAgICAgICBjb2RlVGhpbmcuYWRkV2lkZ2V0KCJhZGRXaWRnZXQiLCB0aGlzKTsNCiAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgRmluZFdpZGdldC5wcm90b3R5cGUuZ2FyID0gZnVuY3Rpb24gKHJ1bm5lcikgeyBpZiAodHJ1ZSkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gcnVubmVyKHRoaXMpOw0KICAgICAgICAgICAgICAgIH0gfTsNCiAgICAgICAgICAgICAgICBGaW5kV2lkZ2V0LnByb3RvdHlwZS5nZXREb21Ob2RlID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgICAgICByZXR1cm4gZG9tTm9kZTsNCiAgICAgICAgICAgICAgICB9Ow0KICAgICAgICAgICAgICAgIEZpbmRXaWRnZXQucHJvdG90eXBlLmRlc3Ryb3kgPSBmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICAgICAgfTsNCiAgICAgICAgICAgICAgICByZXR1cm4gRmluZFdpZGdldDsNCiAgICAgICAgICAgIH0oKSk7DQogICAgICAgICAgICBXaWRnZXRzLkZpbmRXaWRnZXQgPSBGaW5kV2lkZ2V0Ow0KICAgICAgICB9KShXaWRnZXRzID0gVGhpbmcuV2lkZ2V0cyB8fCAoVGhpbmcuV2lkZ2V0cyA9IHt9KSk7DQogICAgfSkoVGhpbmcgPSBTYW1wbGUuVGhpbmcgfHwgKFNhbXBsZS5UaGluZyA9IHt9KSk7DQp9KShTYW1wbGUgfHwgKFNhbXBsZSA9IHt9KSk7DQp2YXIgQWJzdHJhY3RNb2RlID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgIGZ1bmN0aW9uIEFic3RyYWN0TW9kZSgpIHsNCiAgICB9DQogICAgQWJzdHJhY3RNb2RlLnByb3RvdHlwZS5nZXRJbml0aWFsU3RhdGUgPSBmdW5jdGlvbiAoKSB7IHJldHVybiBudWxsOyB9Ow0KICAgIHJldHVybiBBYnN0cmFjdE1vZGU7DQp9KCkpOw0KKGZ1bmN0aW9uIChTYW1wbGUpIHsNCiAgICB2YXIgVGhpbmc7DQogICAgKGZ1bmN0aW9uIChUaGluZykgew0KICAgICAgICB2YXIgTGFuZ3VhZ2VzOw0KICAgICAgICAoZnVuY3Rpb24gKExhbmd1YWdlcykgew0KICAgICAgICAgICAgdmFyIFBsYWluVGV4dDsNCiAgICAgICAgICAgIChmdW5jdGlvbiAoUGxhaW5UZXh0KSB7DQogICAgICAgICAgICAgICAgdmFyIFN0YXRlID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbiBTdGF0ZShtb2RlKSB7DQogICAgICAgICAgICAgICAgICAgICAgICB0aGlzLm1vZGUgPSBtb2RlOw0KICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgIFN0YXRlLnByb3RvdHlwZS5jbG9uZSA9IGZ1bmN0aW9uICgpIHsNCiAgICAgICAgICAgICAgICAgICAgICAgIHJldHVybiB0aGlzOw0KICAgICAgICAgICAgICAgICAgICB9Ow0KICAgICAgICAgICAgICAgICAgICBTdGF0ZS5wcm90b3R5cGUuZXF1YWxzID0gZnVuY3Rpb24gKG90aGVyKSB7DQogICAgICAgICAgICAgICAgICAgICAgICByZXR1cm4gdGhpcyA9PT0gb3RoZXI7DQogICAgICAgICAgICAgICAgICAgIH07DQogICAgICAgICAgICAgICAgICAgIFN0YXRlLnByb3RvdHlwZS5nZXRNb2RlID0gZnVuY3Rpb24gKCkgeyByZXR1cm4gbW9kZTsgfTsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIFN0YXRlOw0KICAgICAgICAgICAgICAgIH0oKSk7DQogICAgICAgICAgICAgICAgUGxhaW5UZXh0LlN0YXRlID0gU3RhdGU7DQogICAgICAgICAgICAgICAgdmFyIE1vZGUgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoX3N1cGVyKSB7DQogICAgICAgICAgICAgICAgICAgIF9fZXh0ZW5kcyhNb2RlLCBfc3VwZXIpOw0KICAgICAgICAgICAgICAgICAgICBmdW5jdGlvbiBNb2RlKCkgew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIF9zdXBlciAhPT0gbnVsbCAmJiBfc3VwZXIuYXBwbHkodGhpcywgYXJndW1lbnRzKSB8fCB0aGlzOw0KICAgICAgICAgICAgICAgICAgICB9DQogICAgICAgICAgICAgICAgICAgIC8vIHNjZW5hcmlvIDINCiAgICAgICAgICAgICAgICAgICAgTW9kZS5wcm90b3R5cGUuZ2V0SW5pdGlhbFN0YXRlID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgICAgICAgICAgcmV0dXJuIG5ldyBTdGF0ZShzZWxmKTsNCiAgICAgICAgICAgICAgICAgICAgfTsNCiAgICAgICAgICAgICAgICAgICAgcmV0dXJuIE1vZGU7DQogICAgICAgICAgICAgICAgfShBYnN0cmFjdE1vZGUpKTsNCiAgICAgICAgICAgICAgICBQbGFpblRleHQuTW9kZSA9IE1vZGU7DQogICAgICAgICAgICB9KShQbGFpblRleHQgPSBMYW5ndWFnZXMuUGxhaW5UZXh0IHx8IChMYW5ndWFnZXMuUGxhaW5UZXh0ID0ge30pKTsNCiAgICAgICAgfSkoTGFuZ3VhZ2VzID0gVGhpbmcuTGFuZ3VhZ2VzIHx8IChUaGluZy5MYW5ndWFnZXMgPSB7fSkpOw0KICAgIH0pKFRoaW5nID0gU2FtcG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lKCk6SVN0YXRlIHsKCQkJcmV0dXJuIHRoaXM7CgkJfQoKCQlwdWJsaWMgZXF1YWxzKG90aGVyOklTdGF0ZSk6Ym9vbGVhbiB7CgkJCXJldHVybiB0aGlzID09PSBvdGhlcjsKCQl9CgkJCgkJcHVibGljIGdldE1vZGUoKTogSU1vZGUgeyByZXR1cm4gbW9kZTsgfQoJfQoJCglleHBvcnQgY2xhc3MgTW9kZSBleHRlbmRzIEFic3RyYWN0TW9kZSB7CgoJCS8vIHNjZW5hcmlvIDIKCQlwdWJsaWMgZ2V0SW5pdGlhbFN0YXRlKCk6IElTdGF0ZSB7CgkJCXJldHVybiBuZXcgU3RhdGUoc2VsZik7CgkJfQoKCgl9Cn0KCg== diff --git a/tests/baselines/reference/recursiveClassReferenceTest.sourcemap.txt b/tests/baselines/reference/recursiveClassReferenceTest.sourcemap.txt index e3c44899e82e2..dca6a98fd90fb 100644 --- a/tests/baselines/reference/recursiveClassReferenceTest.sourcemap.txt +++ b/tests/baselines/reference/recursiveClassReferenceTest.sourcemap.txt @@ -8,14 +8,15 @@ sources: recursiveClassReferenceTest.ts emittedFile:recursiveClassReferenceTest.js sourceFile:recursiveClassReferenceTest.ts ------------------------------------------------------------------- +>>>"use strict"; >>>// Scenario 1: Test reqursive function call with "this" parameter 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 > ^^^^^^^^^^-> 1 > 2 >// Scenario 1: Test reqursive function call with "this" parameter -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 66) Source(1, 66) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 66) Source(1, 66) + SourceIndex(0) --- >>>// Scenario 2: Test recursive function call with cast and "this" parameter 1-> @@ -23,8 +24,8 @@ sourceFile:recursiveClassReferenceTest.ts 1-> > 2 >// Scenario 2: Test recursive function call with cast and "this" parameter -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 75) Source(2, 75) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 75) Source(2, 75) + SourceIndex(0) --- >>>var __extends = (this && this.__extends) || (function () { >>> var extendStatics = function (d, b) { @@ -91,10 +92,10 @@ sourceFile:recursiveClassReferenceTest.ts > } > } > } -1 >Emitted(18, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(18, 5) Source(32, 11) + SourceIndex(0) -3 >Emitted(18, 11) Source(32, 17) + SourceIndex(0) -4 >Emitted(18, 12) Source(42, 2) + SourceIndex(0) +1 >Emitted(19, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(19, 5) Source(32, 11) + SourceIndex(0) +3 >Emitted(19, 11) Source(32, 17) + SourceIndex(0) +4 >Emitted(19, 12) Source(42, 2) + SourceIndex(0) --- >>>(function (Sample) { 1-> @@ -103,9 +104,9 @@ sourceFile:recursiveClassReferenceTest.ts 1-> 2 >namespace 3 > Sample -1->Emitted(19, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(19, 12) Source(32, 11) + SourceIndex(0) -3 >Emitted(19, 18) Source(32, 17) + SourceIndex(0) +1->Emitted(20, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(20, 12) Source(32, 11) + SourceIndex(0) +3 >Emitted(20, 18) Source(32, 17) + SourceIndex(0) --- >>> var Actions; 1 >^^^^ @@ -127,10 +128,10 @@ sourceFile:recursiveClassReferenceTest.ts > } > } > } -1 >Emitted(20, 5) Source(32, 18) + SourceIndex(0) -2 >Emitted(20, 9) Source(32, 18) + SourceIndex(0) -3 >Emitted(20, 16) Source(32, 25) + SourceIndex(0) -4 >Emitted(20, 17) Source(42, 2) + SourceIndex(0) +1 >Emitted(21, 5) Source(32, 18) + SourceIndex(0) +2 >Emitted(21, 9) Source(32, 18) + SourceIndex(0) +3 >Emitted(21, 16) Source(32, 25) + SourceIndex(0) +4 >Emitted(21, 17) Source(42, 2) + SourceIndex(0) --- >>> (function (Actions) { 1->^^^^ @@ -139,9 +140,9 @@ sourceFile:recursiveClassReferenceTest.ts 1-> 2 > 3 > Actions -1->Emitted(21, 5) Source(32, 18) + SourceIndex(0) -2 >Emitted(21, 16) Source(32, 18) + SourceIndex(0) -3 >Emitted(21, 23) Source(32, 25) + SourceIndex(0) +1->Emitted(22, 5) Source(32, 18) + SourceIndex(0) +2 >Emitted(22, 16) Source(32, 18) + SourceIndex(0) +3 >Emitted(22, 23) Source(32, 25) + SourceIndex(0) --- >>> var Thing; 1 >^^^^^^^^ @@ -163,10 +164,10 @@ sourceFile:recursiveClassReferenceTest.ts > } > } > } -1 >Emitted(22, 9) Source(32, 26) + SourceIndex(0) -2 >Emitted(22, 13) Source(32, 26) + SourceIndex(0) -3 >Emitted(22, 18) Source(32, 31) + SourceIndex(0) -4 >Emitted(22, 19) Source(42, 2) + SourceIndex(0) +1 >Emitted(23, 9) Source(32, 26) + SourceIndex(0) +2 >Emitted(23, 13) Source(32, 26) + SourceIndex(0) +3 >Emitted(23, 18) Source(32, 31) + SourceIndex(0) +4 >Emitted(23, 19) Source(42, 2) + SourceIndex(0) --- >>> (function (Thing_1) { 1->^^^^^^^^ @@ -175,9 +176,9 @@ sourceFile:recursiveClassReferenceTest.ts 1-> 2 > 3 > Thing -1->Emitted(23, 9) Source(32, 26) + SourceIndex(0) -2 >Emitted(23, 20) Source(32, 26) + SourceIndex(0) -3 >Emitted(23, 27) Source(32, 31) + SourceIndex(0) +1->Emitted(24, 9) Source(32, 26) + SourceIndex(0) +2 >Emitted(24, 20) Source(32, 26) + SourceIndex(0) +3 >Emitted(24, 27) Source(32, 31) + SourceIndex(0) --- >>> var Find; 1 >^^^^^^^^^^^^ @@ -199,10 +200,10 @@ sourceFile:recursiveClassReferenceTest.ts > } > } > } -1 >Emitted(24, 13) Source(32, 32) + SourceIndex(0) -2 >Emitted(24, 17) Source(32, 32) + SourceIndex(0) -3 >Emitted(24, 21) Source(32, 36) + SourceIndex(0) -4 >Emitted(24, 22) Source(42, 2) + SourceIndex(0) +1 >Emitted(25, 13) Source(32, 32) + SourceIndex(0) +2 >Emitted(25, 17) Source(32, 32) + SourceIndex(0) +3 >Emitted(25, 21) Source(32, 36) + SourceIndex(0) +4 >Emitted(25, 22) Source(42, 2) + SourceIndex(0) --- >>> (function (Find) { 1->^^^^^^^^^^^^ @@ -212,22 +213,22 @@ sourceFile:recursiveClassReferenceTest.ts 1-> 2 > 3 > Find -1->Emitted(25, 13) Source(32, 32) + SourceIndex(0) -2 >Emitted(25, 24) Source(32, 32) + SourceIndex(0) -3 >Emitted(25, 28) Source(32, 36) + SourceIndex(0) +1->Emitted(26, 13) Source(32, 32) + SourceIndex(0) +2 >Emitted(26, 24) Source(32, 32) + SourceIndex(0) +3 >Emitted(26, 28) Source(32, 36) + SourceIndex(0) --- >>> var StartFindAction = /** @class */ (function () { 1->^^^^^^^^^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1-> { > -1->Emitted(26, 17) Source(33, 2) + SourceIndex(0) +1->Emitted(27, 17) Source(33, 2) + SourceIndex(0) --- >>> function StartFindAction() { 1->^^^^^^^^^^^^^^^^^^^^ 2 > ^^-> 1-> -1->Emitted(27, 21) Source(33, 2) + SourceIndex(0) +1->Emitted(28, 21) Source(33, 2) + SourceIndex(0) --- >>> } 1->^^^^^^^^^^^^^^^^^^^^ @@ -243,8 +244,8 @@ sourceFile:recursiveClassReferenceTest.ts > } > 2 > } -1->Emitted(28, 21) Source(41, 2) + SourceIndex(0) -2 >Emitted(28, 22) Source(41, 3) + SourceIndex(0) +1->Emitted(29, 21) Source(41, 2) + SourceIndex(0) +2 >Emitted(29, 22) Source(41, 3) + SourceIndex(0) --- >>> StartFindAction.prototype.getId = function () { return "yo"; }; 1->^^^^^^^^^^^^^^^^^^^^ @@ -265,15 +266,15 @@ sourceFile:recursiveClassReferenceTest.ts 7 > ; 8 > 9 > } -1->Emitted(29, 21) Source(35, 10) + SourceIndex(0) -2 >Emitted(29, 52) Source(35, 15) + SourceIndex(0) -3 >Emitted(29, 55) Source(35, 3) + SourceIndex(0) -4 >Emitted(29, 69) Source(35, 20) + SourceIndex(0) -5 >Emitted(29, 76) Source(35, 27) + SourceIndex(0) -6 >Emitted(29, 80) Source(35, 31) + SourceIndex(0) -7 >Emitted(29, 81) Source(35, 32) + SourceIndex(0) -8 >Emitted(29, 82) Source(35, 33) + SourceIndex(0) -9 >Emitted(29, 83) Source(35, 34) + SourceIndex(0) +1->Emitted(30, 21) Source(35, 10) + SourceIndex(0) +2 >Emitted(30, 52) Source(35, 15) + SourceIndex(0) +3 >Emitted(30, 55) Source(35, 3) + SourceIndex(0) +4 >Emitted(30, 69) Source(35, 20) + SourceIndex(0) +5 >Emitted(30, 76) Source(35, 27) + SourceIndex(0) +6 >Emitted(30, 80) Source(35, 31) + SourceIndex(0) +7 >Emitted(30, 81) Source(35, 32) + SourceIndex(0) +8 >Emitted(30, 82) Source(35, 33) + SourceIndex(0) +9 >Emitted(30, 83) Source(35, 34) + SourceIndex(0) --- >>> StartFindAction.prototype.run = function (Thing) { 1 >^^^^^^^^^^^^^^^^^^^^ @@ -288,11 +289,11 @@ sourceFile:recursiveClassReferenceTest.ts 3 > 4 > public run( 5 > Thing:Sample.Thing.ICodeThing -1 >Emitted(30, 21) Source(37, 10) + SourceIndex(0) -2 >Emitted(30, 50) Source(37, 13) + SourceIndex(0) -3 >Emitted(30, 53) Source(37, 3) + SourceIndex(0) -4 >Emitted(30, 63) Source(37, 14) + SourceIndex(0) -5 >Emitted(30, 68) Source(37, 43) + SourceIndex(0) +1 >Emitted(31, 21) Source(37, 10) + SourceIndex(0) +2 >Emitted(31, 50) Source(37, 13) + SourceIndex(0) +3 >Emitted(31, 53) Source(37, 3) + SourceIndex(0) +4 >Emitted(31, 63) Source(37, 14) + SourceIndex(0) +5 >Emitted(31, 68) Source(37, 43) + SourceIndex(0) --- >>> return true; 1 >^^^^^^^^^^^^^^^^^^^^^^^^ @@ -305,10 +306,10 @@ sourceFile:recursiveClassReferenceTest.ts 2 > return 3 > true 4 > ; -1 >Emitted(31, 25) Source(39, 4) + SourceIndex(0) -2 >Emitted(31, 32) Source(39, 11) + SourceIndex(0) -3 >Emitted(31, 36) Source(39, 15) + SourceIndex(0) -4 >Emitted(31, 37) Source(39, 16) + SourceIndex(0) +1 >Emitted(32, 25) Source(39, 4) + SourceIndex(0) +2 >Emitted(32, 32) Source(39, 11) + SourceIndex(0) +3 >Emitted(32, 36) Source(39, 15) + SourceIndex(0) +4 >Emitted(32, 37) Source(39, 16) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^^^^^^^^^^^^^ @@ -317,8 +318,8 @@ sourceFile:recursiveClassReferenceTest.ts 1 > > 2 > } -1 >Emitted(32, 21) Source(40, 3) + SourceIndex(0) -2 >Emitted(32, 22) Source(40, 4) + SourceIndex(0) +1 >Emitted(33, 21) Source(40, 3) + SourceIndex(0) +2 >Emitted(33, 22) Source(40, 4) + SourceIndex(0) --- >>> return StartFindAction; 1->^^^^^^^^^^^^^^^^^^^^ @@ -326,8 +327,8 @@ sourceFile:recursiveClassReferenceTest.ts 1-> > 2 > } -1->Emitted(33, 21) Source(41, 2) + SourceIndex(0) -2 >Emitted(33, 43) Source(41, 3) + SourceIndex(0) +1->Emitted(34, 21) Source(41, 2) + SourceIndex(0) +2 >Emitted(34, 43) Source(41, 3) + SourceIndex(0) --- >>> }()); 1 >^^^^^^^^^^^^^^^^ @@ -347,10 +348,10 @@ sourceFile:recursiveClassReferenceTest.ts > return true; > } > } -1 >Emitted(34, 17) Source(41, 2) + SourceIndex(0) -2 >Emitted(34, 18) Source(41, 3) + SourceIndex(0) -3 >Emitted(34, 18) Source(33, 2) + SourceIndex(0) -4 >Emitted(34, 22) Source(41, 3) + SourceIndex(0) +1 >Emitted(35, 17) Source(41, 2) + SourceIndex(0) +2 >Emitted(35, 18) Source(41, 3) + SourceIndex(0) +3 >Emitted(35, 18) Source(33, 2) + SourceIndex(0) +4 >Emitted(35, 22) Source(41, 3) + SourceIndex(0) --- >>> Find.StartFindAction = StartFindAction; 1->^^^^^^^^^^^^^^^^ @@ -370,10 +371,10 @@ sourceFile:recursiveClassReferenceTest.ts > } > } 4 > -1->Emitted(35, 17) Source(33, 15) + SourceIndex(0) -2 >Emitted(35, 37) Source(33, 30) + SourceIndex(0) -3 >Emitted(35, 55) Source(41, 3) + SourceIndex(0) -4 >Emitted(35, 56) Source(41, 3) + SourceIndex(0) +1->Emitted(36, 17) Source(33, 15) + SourceIndex(0) +2 >Emitted(36, 37) Source(33, 30) + SourceIndex(0) +3 >Emitted(36, 55) Source(41, 3) + SourceIndex(0) +4 >Emitted(36, 56) Source(41, 3) + SourceIndex(0) --- >>> })(Find = Thing_1.Find || (Thing_1.Find = {})); 1->^^^^^^^^^^^^ @@ -405,15 +406,15 @@ sourceFile:recursiveClassReferenceTest.ts > } > } > } -1->Emitted(36, 13) Source(42, 1) + SourceIndex(0) -2 >Emitted(36, 14) Source(42, 2) + SourceIndex(0) -3 >Emitted(36, 16) Source(32, 32) + SourceIndex(0) -4 >Emitted(36, 20) Source(32, 36) + SourceIndex(0) -5 >Emitted(36, 23) Source(32, 32) + SourceIndex(0) -6 >Emitted(36, 35) Source(32, 36) + SourceIndex(0) -7 >Emitted(36, 40) Source(32, 32) + SourceIndex(0) -8 >Emitted(36, 52) Source(32, 36) + SourceIndex(0) -9 >Emitted(36, 60) Source(42, 2) + SourceIndex(0) +1->Emitted(37, 13) Source(42, 1) + SourceIndex(0) +2 >Emitted(37, 14) Source(42, 2) + SourceIndex(0) +3 >Emitted(37, 16) Source(32, 32) + SourceIndex(0) +4 >Emitted(37, 20) Source(32, 36) + SourceIndex(0) +5 >Emitted(37, 23) Source(32, 32) + SourceIndex(0) +6 >Emitted(37, 35) Source(32, 36) + SourceIndex(0) +7 >Emitted(37, 40) Source(32, 32) + SourceIndex(0) +8 >Emitted(37, 52) Source(32, 36) + SourceIndex(0) +9 >Emitted(37, 60) Source(42, 2) + SourceIndex(0) --- >>> })(Thing = Actions.Thing || (Actions.Thing = {})); 1 >^^^^^^^^ @@ -445,15 +446,15 @@ sourceFile:recursiveClassReferenceTest.ts > } > } > } -1 >Emitted(37, 9) Source(42, 1) + SourceIndex(0) -2 >Emitted(37, 10) Source(42, 2) + SourceIndex(0) -3 >Emitted(37, 12) Source(32, 26) + SourceIndex(0) -4 >Emitted(37, 17) Source(32, 31) + SourceIndex(0) -5 >Emitted(37, 20) Source(32, 26) + SourceIndex(0) -6 >Emitted(37, 33) Source(32, 31) + SourceIndex(0) -7 >Emitted(37, 38) Source(32, 26) + SourceIndex(0) -8 >Emitted(37, 51) Source(32, 31) + SourceIndex(0) -9 >Emitted(37, 59) Source(42, 2) + SourceIndex(0) +1 >Emitted(38, 9) Source(42, 1) + SourceIndex(0) +2 >Emitted(38, 10) Source(42, 2) + SourceIndex(0) +3 >Emitted(38, 12) Source(32, 26) + SourceIndex(0) +4 >Emitted(38, 17) Source(32, 31) + SourceIndex(0) +5 >Emitted(38, 20) Source(32, 26) + SourceIndex(0) +6 >Emitted(38, 33) Source(32, 31) + SourceIndex(0) +7 >Emitted(38, 38) Source(32, 26) + SourceIndex(0) +8 >Emitted(38, 51) Source(32, 31) + SourceIndex(0) +9 >Emitted(38, 59) Source(42, 2) + SourceIndex(0) --- >>> })(Actions = Sample.Actions || (Sample.Actions = {})); 1->^^^^ @@ -484,15 +485,15 @@ sourceFile:recursiveClassReferenceTest.ts > } > } > } -1->Emitted(38, 5) Source(42, 1) + SourceIndex(0) -2 >Emitted(38, 6) Source(42, 2) + SourceIndex(0) -3 >Emitted(38, 8) Source(32, 18) + SourceIndex(0) -4 >Emitted(38, 15) Source(32, 25) + SourceIndex(0) -5 >Emitted(38, 18) Source(32, 18) + SourceIndex(0) -6 >Emitted(38, 32) Source(32, 25) + SourceIndex(0) -7 >Emitted(38, 37) Source(32, 18) + SourceIndex(0) -8 >Emitted(38, 51) Source(32, 25) + SourceIndex(0) -9 >Emitted(38, 59) Source(42, 2) + SourceIndex(0) +1->Emitted(39, 5) Source(42, 1) + SourceIndex(0) +2 >Emitted(39, 6) Source(42, 2) + SourceIndex(0) +3 >Emitted(39, 8) Source(32, 18) + SourceIndex(0) +4 >Emitted(39, 15) Source(32, 25) + SourceIndex(0) +5 >Emitted(39, 18) Source(32, 18) + SourceIndex(0) +6 >Emitted(39, 32) Source(32, 25) + SourceIndex(0) +7 >Emitted(39, 37) Source(32, 18) + SourceIndex(0) +8 >Emitted(39, 51) Source(32, 25) + SourceIndex(0) +9 >Emitted(39, 59) Source(42, 2) + SourceIndex(0) --- >>>})(Sample || (Sample = {})); 1 > @@ -519,13 +520,13 @@ sourceFile:recursiveClassReferenceTest.ts > } > } > } -1 >Emitted(39, 1) Source(42, 1) + SourceIndex(0) -2 >Emitted(39, 2) Source(42, 2) + SourceIndex(0) -3 >Emitted(39, 4) Source(32, 11) + SourceIndex(0) -4 >Emitted(39, 10) Source(32, 17) + SourceIndex(0) -5 >Emitted(39, 15) Source(32, 11) + SourceIndex(0) -6 >Emitted(39, 21) Source(32, 17) + SourceIndex(0) -7 >Emitted(39, 29) Source(42, 2) + SourceIndex(0) +1 >Emitted(40, 1) Source(42, 1) + SourceIndex(0) +2 >Emitted(40, 2) Source(42, 2) + SourceIndex(0) +3 >Emitted(40, 4) Source(32, 11) + SourceIndex(0) +4 >Emitted(40, 10) Source(32, 17) + SourceIndex(0) +5 >Emitted(40, 15) Source(32, 11) + SourceIndex(0) +6 >Emitted(40, 21) Source(32, 17) + SourceIndex(0) +7 >Emitted(40, 29) Source(42, 2) + SourceIndex(0) --- >>>(function (Sample) { 1 > @@ -536,9 +537,9 @@ sourceFile:recursiveClassReferenceTest.ts > 2 >namespace 3 > Sample -1 >Emitted(40, 1) Source(44, 1) + SourceIndex(0) -2 >Emitted(40, 12) Source(44, 11) + SourceIndex(0) -3 >Emitted(40, 18) Source(44, 17) + SourceIndex(0) +1 >Emitted(41, 1) Source(44, 1) + SourceIndex(0) +2 >Emitted(41, 12) Source(44, 11) + SourceIndex(0) +3 >Emitted(41, 18) Source(44, 17) + SourceIndex(0) --- >>> var Thing; 1 >^^^^ @@ -570,10 +571,10 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1 >Emitted(41, 5) Source(44, 18) + SourceIndex(0) -2 >Emitted(41, 9) Source(44, 18) + SourceIndex(0) -3 >Emitted(41, 14) Source(44, 23) + SourceIndex(0) -4 >Emitted(41, 15) Source(64, 2) + SourceIndex(0) +1 >Emitted(42, 5) Source(44, 18) + SourceIndex(0) +2 >Emitted(42, 9) Source(44, 18) + SourceIndex(0) +3 >Emitted(42, 14) Source(44, 23) + SourceIndex(0) +4 >Emitted(42, 15) Source(64, 2) + SourceIndex(0) --- >>> (function (Thing) { 1->^^^^ @@ -583,9 +584,9 @@ sourceFile:recursiveClassReferenceTest.ts 1-> 2 > 3 > Thing -1->Emitted(42, 5) Source(44, 18) + SourceIndex(0) -2 >Emitted(42, 16) Source(44, 18) + SourceIndex(0) -3 >Emitted(42, 21) Source(44, 23) + SourceIndex(0) +1->Emitted(43, 5) Source(44, 18) + SourceIndex(0) +2 >Emitted(43, 16) Source(44, 18) + SourceIndex(0) +3 >Emitted(43, 21) Source(44, 23) + SourceIndex(0) --- >>> var Widgets; 1->^^^^^^^^ @@ -617,10 +618,10 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1->Emitted(43, 9) Source(44, 24) + SourceIndex(0) -2 >Emitted(43, 13) Source(44, 24) + SourceIndex(0) -3 >Emitted(43, 20) Source(44, 31) + SourceIndex(0) -4 >Emitted(43, 21) Source(64, 2) + SourceIndex(0) +1->Emitted(44, 9) Source(44, 24) + SourceIndex(0) +2 >Emitted(44, 13) Source(44, 24) + SourceIndex(0) +3 >Emitted(44, 20) Source(44, 31) + SourceIndex(0) +4 >Emitted(44, 21) Source(64, 2) + SourceIndex(0) --- >>> (function (Widgets) { 1->^^^^^^^^ @@ -630,16 +631,16 @@ sourceFile:recursiveClassReferenceTest.ts 1-> 2 > 3 > Widgets -1->Emitted(44, 9) Source(44, 24) + SourceIndex(0) -2 >Emitted(44, 20) Source(44, 24) + SourceIndex(0) -3 >Emitted(44, 27) Source(44, 31) + SourceIndex(0) +1->Emitted(45, 9) Source(44, 24) + SourceIndex(0) +2 >Emitted(45, 20) Source(44, 24) + SourceIndex(0) +3 >Emitted(45, 27) Source(44, 31) + SourceIndex(0) --- >>> var FindWidget = /** @class */ (function () { 1->^^^^^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1-> { > -1->Emitted(45, 13) Source(45, 2) + SourceIndex(0) +1->Emitted(46, 13) Source(45, 2) + SourceIndex(0) --- >>> function FindWidget(codeThing) { 1->^^^^^^^^^^^^^^^^ @@ -654,9 +655,9 @@ sourceFile:recursiveClassReferenceTest.ts > 2 > constructor(private 3 > codeThing: Sample.Thing.ICodeThing -1->Emitted(46, 17) Source(50, 3) + SourceIndex(0) -2 >Emitted(46, 37) Source(50, 23) + SourceIndex(0) -3 >Emitted(46, 46) Source(50, 57) + SourceIndex(0) +1->Emitted(47, 17) Source(50, 3) + SourceIndex(0) +2 >Emitted(47, 37) Source(50, 23) + SourceIndex(0) +3 >Emitted(47, 46) Source(50, 57) + SourceIndex(0) --- >>> this.codeThing = codeThing; 1->^^^^^^^^^^^^^^^^^^^^ @@ -669,11 +670,11 @@ sourceFile:recursiveClassReferenceTest.ts 3 > 4 > codeThing 5 > : Sample.Thing.ICodeThing -1->Emitted(47, 21) Source(50, 23) + SourceIndex(0) -2 >Emitted(47, 35) Source(50, 32) + SourceIndex(0) -3 >Emitted(47, 38) Source(50, 23) + SourceIndex(0) -4 >Emitted(47, 47) Source(50, 32) + SourceIndex(0) -5 >Emitted(47, 48) Source(50, 57) + SourceIndex(0) +1->Emitted(48, 21) Source(50, 23) + SourceIndex(0) +2 >Emitted(48, 35) Source(50, 32) + SourceIndex(0) +3 >Emitted(48, 38) Source(50, 23) + SourceIndex(0) +4 >Emitted(48, 47) Source(50, 32) + SourceIndex(0) +5 >Emitted(48, 48) Source(50, 57) + SourceIndex(0) --- >>> this.domNode = null; 1 >^^^^^^^^^^^^^^^^^^^^ @@ -686,11 +687,11 @@ sourceFile:recursiveClassReferenceTest.ts 3 > :any = 4 > null 5 > ; -1 >Emitted(48, 21) Source(49, 11) + SourceIndex(0) -2 >Emitted(48, 33) Source(49, 18) + SourceIndex(0) -3 >Emitted(48, 36) Source(49, 25) + SourceIndex(0) -4 >Emitted(48, 40) Source(49, 29) + SourceIndex(0) -5 >Emitted(48, 41) Source(49, 30) + SourceIndex(0) +1 >Emitted(49, 21) Source(49, 11) + SourceIndex(0) +2 >Emitted(49, 33) Source(49, 18) + SourceIndex(0) +3 >Emitted(49, 36) Source(49, 25) + SourceIndex(0) +4 >Emitted(49, 40) Source(49, 29) + SourceIndex(0) +5 >Emitted(49, 41) Source(49, 30) + SourceIndex(0) --- >>> // scenario 1 1 >^^^^^^^^^^^^^^^^^^^^ @@ -700,8 +701,8 @@ sourceFile:recursiveClassReferenceTest.ts > constructor(private codeThing: Sample.Thing.ICodeThing) { > 2 > // scenario 1 -1 >Emitted(49, 21) Source(51, 7) + SourceIndex(0) -2 >Emitted(49, 34) Source(51, 20) + SourceIndex(0) +1 >Emitted(50, 21) Source(51, 7) + SourceIndex(0) +2 >Emitted(50, 34) Source(51, 20) + SourceIndex(0) --- >>> codeThing.addWidget("addWidget", this); 1->^^^^^^^^^^^^^^^^^^^^ @@ -725,16 +726,16 @@ sourceFile:recursiveClassReferenceTest.ts 8 > this 9 > ) 10> ; -1->Emitted(50, 21) Source(52, 7) + SourceIndex(0) -2 >Emitted(50, 30) Source(52, 16) + SourceIndex(0) -3 >Emitted(50, 31) Source(52, 17) + SourceIndex(0) -4 >Emitted(50, 40) Source(52, 26) + SourceIndex(0) -5 >Emitted(50, 41) Source(52, 27) + SourceIndex(0) -6 >Emitted(50, 52) Source(52, 38) + SourceIndex(0) -7 >Emitted(50, 54) Source(52, 40) + SourceIndex(0) -8 >Emitted(50, 58) Source(52, 44) + SourceIndex(0) -9 >Emitted(50, 59) Source(52, 45) + SourceIndex(0) -10>Emitted(50, 60) Source(52, 46) + SourceIndex(0) +1->Emitted(51, 21) Source(52, 7) + SourceIndex(0) +2 >Emitted(51, 30) Source(52, 16) + SourceIndex(0) +3 >Emitted(51, 31) Source(52, 17) + SourceIndex(0) +4 >Emitted(51, 40) Source(52, 26) + SourceIndex(0) +5 >Emitted(51, 41) Source(52, 27) + SourceIndex(0) +6 >Emitted(51, 52) Source(52, 38) + SourceIndex(0) +7 >Emitted(51, 54) Source(52, 40) + SourceIndex(0) +8 >Emitted(51, 58) Source(52, 44) + SourceIndex(0) +9 >Emitted(51, 59) Source(52, 45) + SourceIndex(0) +10>Emitted(51, 60) Source(52, 46) + SourceIndex(0) --- >>> } 1 >^^^^^^^^^^^^^^^^ @@ -743,8 +744,8 @@ sourceFile:recursiveClassReferenceTest.ts 1 > > 2 > } -1 >Emitted(51, 17) Source(53, 3) + SourceIndex(0) -2 >Emitted(51, 18) Source(53, 4) + SourceIndex(0) +1 >Emitted(52, 17) Source(53, 3) + SourceIndex(0) +2 >Emitted(52, 18) Source(53, 4) + SourceIndex(0) --- >>> FindWidget.prototype.gar = function (runner) { if (true) { 1->^^^^^^^^^^^^^^^^ @@ -767,16 +768,16 @@ sourceFile:recursiveClassReferenceTest.ts 8 > true 9 > ) 10> { -1->Emitted(52, 17) Source(47, 10) + SourceIndex(0) -2 >Emitted(52, 41) Source(47, 13) + SourceIndex(0) -3 >Emitted(52, 44) Source(47, 3) + SourceIndex(0) -4 >Emitted(52, 54) Source(47, 14) + SourceIndex(0) -5 >Emitted(52, 60) Source(47, 55) + SourceIndex(0) -6 >Emitted(52, 64) Source(47, 59) + SourceIndex(0) -7 >Emitted(52, 68) Source(47, 63) + SourceIndex(0) -8 >Emitted(52, 72) Source(47, 67) + SourceIndex(0) -9 >Emitted(52, 74) Source(47, 69) + SourceIndex(0) -10>Emitted(52, 75) Source(47, 70) + SourceIndex(0) +1->Emitted(53, 17) Source(47, 10) + SourceIndex(0) +2 >Emitted(53, 41) Source(47, 13) + SourceIndex(0) +3 >Emitted(53, 44) Source(47, 3) + SourceIndex(0) +4 >Emitted(53, 54) Source(47, 14) + SourceIndex(0) +5 >Emitted(53, 60) Source(47, 55) + SourceIndex(0) +6 >Emitted(53, 64) Source(47, 59) + SourceIndex(0) +7 >Emitted(53, 68) Source(47, 63) + SourceIndex(0) +8 >Emitted(53, 72) Source(47, 67) + SourceIndex(0) +9 >Emitted(53, 74) Source(47, 69) + SourceIndex(0) +10>Emitted(53, 75) Source(47, 70) + SourceIndex(0) --- >>> return runner(this); 1 >^^^^^^^^^^^^^^^^^^^^ @@ -793,13 +794,13 @@ sourceFile:recursiveClassReferenceTest.ts 5 > this 6 > ) 7 > ; -1 >Emitted(53, 21) Source(47, 70) + SourceIndex(0) -2 >Emitted(53, 28) Source(47, 77) + SourceIndex(0) -3 >Emitted(53, 34) Source(47, 83) + SourceIndex(0) -4 >Emitted(53, 35) Source(47, 84) + SourceIndex(0) -5 >Emitted(53, 39) Source(47, 88) + SourceIndex(0) -6 >Emitted(53, 40) Source(47, 89) + SourceIndex(0) -7 >Emitted(53, 41) Source(47, 90) + SourceIndex(0) +1 >Emitted(54, 21) Source(47, 70) + SourceIndex(0) +2 >Emitted(54, 28) Source(47, 77) + SourceIndex(0) +3 >Emitted(54, 34) Source(47, 83) + SourceIndex(0) +4 >Emitted(54, 35) Source(47, 84) + SourceIndex(0) +5 >Emitted(54, 39) Source(47, 88) + SourceIndex(0) +6 >Emitted(54, 40) Source(47, 89) + SourceIndex(0) +7 >Emitted(54, 41) Source(47, 90) + SourceIndex(0) --- >>> } }; 1 >^^^^^^^^^^^^^^^^ @@ -811,10 +812,10 @@ sourceFile:recursiveClassReferenceTest.ts 2 > } 3 > 4 > } -1 >Emitted(54, 17) Source(47, 90) + SourceIndex(0) -2 >Emitted(54, 18) Source(47, 91) + SourceIndex(0) -3 >Emitted(54, 19) Source(47, 91) + SourceIndex(0) -4 >Emitted(54, 20) Source(47, 92) + SourceIndex(0) +1 >Emitted(55, 17) Source(47, 90) + SourceIndex(0) +2 >Emitted(55, 18) Source(47, 91) + SourceIndex(0) +3 >Emitted(55, 19) Source(47, 91) + SourceIndex(0) +4 >Emitted(55, 20) Source(47, 92) + SourceIndex(0) --- >>> FindWidget.prototype.getDomNode = function () { 1->^^^^^^^^^^^^^^^^ @@ -831,9 +832,9 @@ sourceFile:recursiveClassReferenceTest.ts > public 2 > getDomNode 3 > -1->Emitted(55, 17) Source(55, 10) + SourceIndex(0) -2 >Emitted(55, 48) Source(55, 20) + SourceIndex(0) -3 >Emitted(55, 51) Source(55, 3) + SourceIndex(0) +1->Emitted(56, 17) Source(55, 10) + SourceIndex(0) +2 >Emitted(56, 48) Source(55, 20) + SourceIndex(0) +3 >Emitted(56, 51) Source(55, 3) + SourceIndex(0) --- >>> return domNode; 1 >^^^^^^^^^^^^^^^^^^^^ @@ -845,10 +846,10 @@ sourceFile:recursiveClassReferenceTest.ts 2 > return 3 > domNode 4 > ; -1 >Emitted(56, 21) Source(56, 4) + SourceIndex(0) -2 >Emitted(56, 28) Source(56, 11) + SourceIndex(0) -3 >Emitted(56, 35) Source(56, 18) + SourceIndex(0) -4 >Emitted(56, 36) Source(56, 19) + SourceIndex(0) +1 >Emitted(57, 21) Source(56, 4) + SourceIndex(0) +2 >Emitted(57, 28) Source(56, 11) + SourceIndex(0) +3 >Emitted(57, 35) Source(56, 18) + SourceIndex(0) +4 >Emitted(57, 36) Source(56, 19) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^^^^^^^^^ @@ -857,8 +858,8 @@ sourceFile:recursiveClassReferenceTest.ts 1 > > 2 > } -1 >Emitted(57, 17) Source(57, 3) + SourceIndex(0) -2 >Emitted(57, 18) Source(57, 4) + SourceIndex(0) +1 >Emitted(58, 17) Source(57, 3) + SourceIndex(0) +2 >Emitted(58, 18) Source(57, 4) + SourceIndex(0) --- >>> FindWidget.prototype.destroy = function () { 1->^^^^^^^^^^^^^^^^ @@ -869,9 +870,9 @@ sourceFile:recursiveClassReferenceTest.ts > public 2 > destroy 3 > -1->Emitted(58, 17) Source(59, 10) + SourceIndex(0) -2 >Emitted(58, 45) Source(59, 17) + SourceIndex(0) -3 >Emitted(58, 48) Source(59, 3) + SourceIndex(0) +1->Emitted(59, 17) Source(59, 10) + SourceIndex(0) +2 >Emitted(59, 45) Source(59, 17) + SourceIndex(0) +3 >Emitted(59, 48) Source(59, 3) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^^^^^^^^^ @@ -881,8 +882,8 @@ sourceFile:recursiveClassReferenceTest.ts > > 2 > } -1 >Emitted(59, 17) Source(61, 3) + SourceIndex(0) -2 >Emitted(59, 18) Source(61, 4) + SourceIndex(0) +1 >Emitted(60, 17) Source(61, 3) + SourceIndex(0) +2 >Emitted(60, 18) Source(61, 4) + SourceIndex(0) --- >>> return FindWidget; 1->^^^^^^^^^^^^^^^^ @@ -891,8 +892,8 @@ sourceFile:recursiveClassReferenceTest.ts > > 2 > } -1->Emitted(60, 17) Source(63, 2) + SourceIndex(0) -2 >Emitted(60, 34) Source(63, 3) + SourceIndex(0) +1->Emitted(61, 17) Source(63, 2) + SourceIndex(0) +2 >Emitted(61, 34) Source(63, 3) + SourceIndex(0) --- >>> }()); 1 >^^^^^^^^^^^^ @@ -922,10 +923,10 @@ sourceFile:recursiveClassReferenceTest.ts > } > > } -1 >Emitted(61, 13) Source(63, 2) + SourceIndex(0) -2 >Emitted(61, 14) Source(63, 3) + SourceIndex(0) -3 >Emitted(61, 14) Source(45, 2) + SourceIndex(0) -4 >Emitted(61, 18) Source(63, 3) + SourceIndex(0) +1 >Emitted(62, 13) Source(63, 2) + SourceIndex(0) +2 >Emitted(62, 14) Source(63, 3) + SourceIndex(0) +3 >Emitted(62, 14) Source(45, 2) + SourceIndex(0) +4 >Emitted(62, 18) Source(63, 3) + SourceIndex(0) --- >>> Widgets.FindWidget = FindWidget; 1->^^^^^^^^^^^^ @@ -955,10 +956,10 @@ sourceFile:recursiveClassReferenceTest.ts > > } 4 > -1->Emitted(62, 13) Source(45, 15) + SourceIndex(0) -2 >Emitted(62, 31) Source(45, 25) + SourceIndex(0) -3 >Emitted(62, 44) Source(63, 3) + SourceIndex(0) -4 >Emitted(62, 45) Source(63, 3) + SourceIndex(0) +1->Emitted(63, 13) Source(45, 15) + SourceIndex(0) +2 >Emitted(63, 31) Source(45, 25) + SourceIndex(0) +3 >Emitted(63, 44) Source(63, 3) + SourceIndex(0) +4 >Emitted(63, 45) Source(63, 3) + SourceIndex(0) --- >>> })(Widgets = Thing.Widgets || (Thing.Widgets = {})); 1->^^^^^^^^ @@ -1000,15 +1001,15 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1->Emitted(63, 9) Source(64, 1) + SourceIndex(0) -2 >Emitted(63, 10) Source(64, 2) + SourceIndex(0) -3 >Emitted(63, 12) Source(44, 24) + SourceIndex(0) -4 >Emitted(63, 19) Source(44, 31) + SourceIndex(0) -5 >Emitted(63, 22) Source(44, 24) + SourceIndex(0) -6 >Emitted(63, 35) Source(44, 31) + SourceIndex(0) -7 >Emitted(63, 40) Source(44, 24) + SourceIndex(0) -8 >Emitted(63, 53) Source(44, 31) + SourceIndex(0) -9 >Emitted(63, 61) Source(64, 2) + SourceIndex(0) +1->Emitted(64, 9) Source(64, 1) + SourceIndex(0) +2 >Emitted(64, 10) Source(64, 2) + SourceIndex(0) +3 >Emitted(64, 12) Source(44, 24) + SourceIndex(0) +4 >Emitted(64, 19) Source(44, 31) + SourceIndex(0) +5 >Emitted(64, 22) Source(44, 24) + SourceIndex(0) +6 >Emitted(64, 35) Source(44, 31) + SourceIndex(0) +7 >Emitted(64, 40) Source(44, 24) + SourceIndex(0) +8 >Emitted(64, 53) Source(44, 31) + SourceIndex(0) +9 >Emitted(64, 61) Source(64, 2) + SourceIndex(0) --- >>> })(Thing = Sample.Thing || (Sample.Thing = {})); 1 >^^^^ @@ -1049,15 +1050,15 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1 >Emitted(64, 5) Source(64, 1) + SourceIndex(0) -2 >Emitted(64, 6) Source(64, 2) + SourceIndex(0) -3 >Emitted(64, 8) Source(44, 18) + SourceIndex(0) -4 >Emitted(64, 13) Source(44, 23) + SourceIndex(0) -5 >Emitted(64, 16) Source(44, 18) + SourceIndex(0) -6 >Emitted(64, 28) Source(44, 23) + SourceIndex(0) -7 >Emitted(64, 33) Source(44, 18) + SourceIndex(0) -8 >Emitted(64, 45) Source(44, 23) + SourceIndex(0) -9 >Emitted(64, 53) Source(64, 2) + SourceIndex(0) +1 >Emitted(65, 5) Source(64, 1) + SourceIndex(0) +2 >Emitted(65, 6) Source(64, 2) + SourceIndex(0) +3 >Emitted(65, 8) Source(44, 18) + SourceIndex(0) +4 >Emitted(65, 13) Source(44, 23) + SourceIndex(0) +5 >Emitted(65, 16) Source(44, 18) + SourceIndex(0) +6 >Emitted(65, 28) Source(44, 23) + SourceIndex(0) +7 >Emitted(65, 33) Source(44, 18) + SourceIndex(0) +8 >Emitted(65, 45) Source(44, 23) + SourceIndex(0) +9 >Emitted(65, 53) Source(64, 2) + SourceIndex(0) --- >>>})(Sample || (Sample = {})); 1 > @@ -1095,13 +1096,13 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1 >Emitted(65, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(65, 2) Source(64, 2) + SourceIndex(0) -3 >Emitted(65, 4) Source(44, 11) + SourceIndex(0) -4 >Emitted(65, 10) Source(44, 17) + SourceIndex(0) -5 >Emitted(65, 15) Source(44, 11) + SourceIndex(0) -6 >Emitted(65, 21) Source(44, 17) + SourceIndex(0) -7 >Emitted(65, 29) Source(64, 2) + SourceIndex(0) +1 >Emitted(66, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(66, 2) Source(64, 2) + SourceIndex(0) +3 >Emitted(66, 4) Source(44, 11) + SourceIndex(0) +4 >Emitted(66, 10) Source(44, 17) + SourceIndex(0) +5 >Emitted(66, 15) Source(44, 11) + SourceIndex(0) +6 >Emitted(66, 21) Source(44, 17) + SourceIndex(0) +7 >Emitted(66, 29) Source(64, 2) + SourceIndex(0) --- >>>var AbstractMode = /** @class */ (function () { 1-> @@ -1110,13 +1111,13 @@ sourceFile:recursiveClassReferenceTest.ts > >interface IMode { getInitialState(): IState;} > -1->Emitted(66, 1) Source(67, 1) + SourceIndex(0) +1->Emitted(67, 1) Source(67, 1) + SourceIndex(0) --- >>> function AbstractMode() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(67, 5) Source(67, 1) + SourceIndex(0) +1->Emitted(68, 5) Source(67, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -1124,8 +1125,8 @@ sourceFile:recursiveClassReferenceTest.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1->class AbstractMode implements IMode { public getInitialState(): IState { return null;} 2 > } -1->Emitted(68, 5) Source(67, 88) + SourceIndex(0) -2 >Emitted(68, 6) Source(67, 89) + SourceIndex(0) +1->Emitted(69, 5) Source(67, 88) + SourceIndex(0) +2 >Emitted(69, 6) Source(67, 89) + SourceIndex(0) --- >>> AbstractMode.prototype.getInitialState = function () { return null; }; 1->^^^^ @@ -1146,23 +1147,23 @@ sourceFile:recursiveClassReferenceTest.ts 7 > ; 8 > 9 > } -1->Emitted(69, 5) Source(67, 46) + SourceIndex(0) -2 >Emitted(69, 43) Source(67, 61) + SourceIndex(0) -3 >Emitted(69, 46) Source(67, 39) + SourceIndex(0) -4 >Emitted(69, 60) Source(67, 74) + SourceIndex(0) -5 >Emitted(69, 67) Source(67, 81) + SourceIndex(0) -6 >Emitted(69, 71) Source(67, 85) + SourceIndex(0) -7 >Emitted(69, 72) Source(67, 86) + SourceIndex(0) -8 >Emitted(69, 73) Source(67, 86) + SourceIndex(0) -9 >Emitted(69, 74) Source(67, 87) + SourceIndex(0) +1->Emitted(70, 5) Source(67, 46) + SourceIndex(0) +2 >Emitted(70, 43) Source(67, 61) + SourceIndex(0) +3 >Emitted(70, 46) Source(67, 39) + SourceIndex(0) +4 >Emitted(70, 60) Source(67, 74) + SourceIndex(0) +5 >Emitted(70, 67) Source(67, 81) + SourceIndex(0) +6 >Emitted(70, 71) Source(67, 85) + SourceIndex(0) +7 >Emitted(70, 72) Source(67, 86) + SourceIndex(0) +8 >Emitted(70, 73) Source(67, 86) + SourceIndex(0) +9 >Emitted(70, 74) Source(67, 87) + SourceIndex(0) --- >>> return AbstractMode; 1 >^^^^ 2 > ^^^^^^^^^^^^^^^^^^^ 1 > 2 > } -1 >Emitted(70, 5) Source(67, 88) + SourceIndex(0) -2 >Emitted(70, 24) Source(67, 89) + SourceIndex(0) +1 >Emitted(71, 5) Source(67, 88) + SourceIndex(0) +2 >Emitted(71, 24) Source(67, 89) + SourceIndex(0) --- >>>}()); 1 > @@ -1174,10 +1175,10 @@ sourceFile:recursiveClassReferenceTest.ts 2 >} 3 > 4 > class AbstractMode implements IMode { public getInitialState(): IState { return null;} } -1 >Emitted(71, 1) Source(67, 88) + SourceIndex(0) -2 >Emitted(71, 2) Source(67, 89) + SourceIndex(0) -3 >Emitted(71, 2) Source(67, 1) + SourceIndex(0) -4 >Emitted(71, 6) Source(67, 89) + SourceIndex(0) +1 >Emitted(72, 1) Source(67, 88) + SourceIndex(0) +2 >Emitted(72, 2) Source(67, 89) + SourceIndex(0) +3 >Emitted(72, 2) Source(67, 1) + SourceIndex(0) +4 >Emitted(72, 6) Source(67, 89) + SourceIndex(0) --- >>>(function (Sample) { 1-> @@ -1195,9 +1196,9 @@ sourceFile:recursiveClassReferenceTest.ts > 2 >namespace 3 > Sample -1->Emitted(72, 1) Source(76, 1) + SourceIndex(0) -2 >Emitted(72, 12) Source(76, 11) + SourceIndex(0) -3 >Emitted(72, 18) Source(76, 17) + SourceIndex(0) +1->Emitted(73, 1) Source(76, 1) + SourceIndex(0) +2 >Emitted(73, 12) Source(76, 11) + SourceIndex(0) +3 >Emitted(73, 18) Source(76, 17) + SourceIndex(0) --- >>> var Thing; 1 >^^^^ @@ -1233,10 +1234,10 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1 >Emitted(73, 5) Source(76, 18) + SourceIndex(0) -2 >Emitted(73, 9) Source(76, 18) + SourceIndex(0) -3 >Emitted(73, 14) Source(76, 23) + SourceIndex(0) -4 >Emitted(73, 15) Source(100, 2) + SourceIndex(0) +1 >Emitted(74, 5) Source(76, 18) + SourceIndex(0) +2 >Emitted(74, 9) Source(76, 18) + SourceIndex(0) +3 >Emitted(74, 14) Source(76, 23) + SourceIndex(0) +4 >Emitted(74, 15) Source(100, 2) + SourceIndex(0) --- >>> (function (Thing) { 1->^^^^ @@ -1246,9 +1247,9 @@ sourceFile:recursiveClassReferenceTest.ts 1-> 2 > 3 > Thing -1->Emitted(74, 5) Source(76, 18) + SourceIndex(0) -2 >Emitted(74, 16) Source(76, 18) + SourceIndex(0) -3 >Emitted(74, 21) Source(76, 23) + SourceIndex(0) +1->Emitted(75, 5) Source(76, 18) + SourceIndex(0) +2 >Emitted(75, 16) Source(76, 18) + SourceIndex(0) +3 >Emitted(75, 21) Source(76, 23) + SourceIndex(0) --- >>> var Languages; 1->^^^^^^^^ @@ -1284,10 +1285,10 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1->Emitted(75, 9) Source(76, 24) + SourceIndex(0) -2 >Emitted(75, 13) Source(76, 24) + SourceIndex(0) -3 >Emitted(75, 22) Source(76, 33) + SourceIndex(0) -4 >Emitted(75, 23) Source(100, 2) + SourceIndex(0) +1->Emitted(76, 9) Source(76, 24) + SourceIndex(0) +2 >Emitted(76, 13) Source(76, 24) + SourceIndex(0) +3 >Emitted(76, 22) Source(76, 33) + SourceIndex(0) +4 >Emitted(76, 23) Source(100, 2) + SourceIndex(0) --- >>> (function (Languages) { 1->^^^^^^^^ @@ -1296,9 +1297,9 @@ sourceFile:recursiveClassReferenceTest.ts 1-> 2 > 3 > Languages -1->Emitted(76, 9) Source(76, 24) + SourceIndex(0) -2 >Emitted(76, 20) Source(76, 24) + SourceIndex(0) -3 >Emitted(76, 29) Source(76, 33) + SourceIndex(0) +1->Emitted(77, 9) Source(76, 24) + SourceIndex(0) +2 >Emitted(77, 20) Source(76, 24) + SourceIndex(0) +3 >Emitted(77, 29) Source(76, 33) + SourceIndex(0) --- >>> var PlainText; 1 >^^^^^^^^^^^^ @@ -1334,10 +1335,10 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1 >Emitted(77, 13) Source(76, 34) + SourceIndex(0) -2 >Emitted(77, 17) Source(76, 34) + SourceIndex(0) -3 >Emitted(77, 26) Source(76, 43) + SourceIndex(0) -4 >Emitted(77, 27) Source(100, 2) + SourceIndex(0) +1 >Emitted(78, 13) Source(76, 34) + SourceIndex(0) +2 >Emitted(78, 17) Source(76, 34) + SourceIndex(0) +3 >Emitted(78, 26) Source(76, 43) + SourceIndex(0) +4 >Emitted(78, 27) Source(100, 2) + SourceIndex(0) --- >>> (function (PlainText) { 1->^^^^^^^^^^^^ @@ -1347,9 +1348,9 @@ sourceFile:recursiveClassReferenceTest.ts 1-> 2 > 3 > PlainText -1->Emitted(78, 13) Source(76, 34) + SourceIndex(0) -2 >Emitted(78, 24) Source(76, 34) + SourceIndex(0) -3 >Emitted(78, 33) Source(76, 43) + SourceIndex(0) +1->Emitted(79, 13) Source(76, 34) + SourceIndex(0) +2 >Emitted(79, 24) Source(76, 34) + SourceIndex(0) +3 >Emitted(79, 33) Source(76, 43) + SourceIndex(0) --- >>> var State = /** @class */ (function () { 1->^^^^^^^^^^^^^^^^ @@ -1357,7 +1358,7 @@ sourceFile:recursiveClassReferenceTest.ts 1-> { > > -1->Emitted(79, 17) Source(78, 2) + SourceIndex(0) +1->Emitted(80, 17) Source(78, 2) + SourceIndex(0) --- >>> function State(mode) { 1->^^^^^^^^^^^^^^^^^^^^ @@ -1368,9 +1369,9 @@ sourceFile:recursiveClassReferenceTest.ts > 2 > constructor(private 3 > mode: IMode -1->Emitted(80, 21) Source(79, 9) + SourceIndex(0) -2 >Emitted(80, 36) Source(79, 29) + SourceIndex(0) -3 >Emitted(80, 40) Source(79, 40) + SourceIndex(0) +1->Emitted(81, 21) Source(79, 9) + SourceIndex(0) +2 >Emitted(81, 36) Source(79, 29) + SourceIndex(0) +3 >Emitted(81, 40) Source(79, 40) + SourceIndex(0) --- >>> this.mode = mode; 1->^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1383,11 +1384,11 @@ sourceFile:recursiveClassReferenceTest.ts 3 > 4 > mode 5 > : IMode -1->Emitted(81, 25) Source(79, 29) + SourceIndex(0) -2 >Emitted(81, 34) Source(79, 33) + SourceIndex(0) -3 >Emitted(81, 37) Source(79, 29) + SourceIndex(0) -4 >Emitted(81, 41) Source(79, 33) + SourceIndex(0) -5 >Emitted(81, 42) Source(79, 40) + SourceIndex(0) +1->Emitted(82, 25) Source(79, 29) + SourceIndex(0) +2 >Emitted(82, 34) Source(79, 33) + SourceIndex(0) +3 >Emitted(82, 37) Source(79, 29) + SourceIndex(0) +4 >Emitted(82, 41) Source(79, 33) + SourceIndex(0) +5 >Emitted(82, 42) Source(79, 40) + SourceIndex(0) --- >>> } 1 >^^^^^^^^^^^^^^^^^^^^ @@ -1395,8 +1396,8 @@ sourceFile:recursiveClassReferenceTest.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 >) { 2 > } -1 >Emitted(82, 21) Source(79, 44) + SourceIndex(0) -2 >Emitted(82, 22) Source(79, 45) + SourceIndex(0) +1 >Emitted(83, 21) Source(79, 44) + SourceIndex(0) +2 >Emitted(83, 22) Source(79, 45) + SourceIndex(0) --- >>> State.prototype.clone = function () { 1->^^^^^^^^^^^^^^^^^^^^ @@ -1406,9 +1407,9 @@ sourceFile:recursiveClassReferenceTest.ts > public 2 > clone 3 > -1->Emitted(83, 21) Source(80, 10) + SourceIndex(0) -2 >Emitted(83, 42) Source(80, 15) + SourceIndex(0) -3 >Emitted(83, 45) Source(80, 3) + SourceIndex(0) +1->Emitted(84, 21) Source(80, 10) + SourceIndex(0) +2 >Emitted(84, 42) Source(80, 15) + SourceIndex(0) +3 >Emitted(84, 45) Source(80, 3) + SourceIndex(0) --- >>> return this; 1 >^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1420,10 +1421,10 @@ sourceFile:recursiveClassReferenceTest.ts 2 > return 3 > this 4 > ; -1 >Emitted(84, 25) Source(81, 4) + SourceIndex(0) -2 >Emitted(84, 32) Source(81, 11) + SourceIndex(0) -3 >Emitted(84, 36) Source(81, 15) + SourceIndex(0) -4 >Emitted(84, 37) Source(81, 16) + SourceIndex(0) +1 >Emitted(85, 25) Source(81, 4) + SourceIndex(0) +2 >Emitted(85, 32) Source(81, 11) + SourceIndex(0) +3 >Emitted(85, 36) Source(81, 15) + SourceIndex(0) +4 >Emitted(85, 37) Source(81, 16) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^^^^^^^^^^^^^ @@ -1432,8 +1433,8 @@ sourceFile:recursiveClassReferenceTest.ts 1 > > 2 > } -1 >Emitted(85, 21) Source(82, 3) + SourceIndex(0) -2 >Emitted(85, 22) Source(82, 4) + SourceIndex(0) +1 >Emitted(86, 21) Source(82, 3) + SourceIndex(0) +2 >Emitted(86, 22) Source(82, 4) + SourceIndex(0) --- >>> State.prototype.equals = function (other) { 1->^^^^^^^^^^^^^^^^^^^^ @@ -1448,11 +1449,11 @@ sourceFile:recursiveClassReferenceTest.ts 3 > 4 > public equals( 5 > other:IState -1->Emitted(86, 21) Source(84, 10) + SourceIndex(0) -2 >Emitted(86, 43) Source(84, 16) + SourceIndex(0) -3 >Emitted(86, 46) Source(84, 3) + SourceIndex(0) -4 >Emitted(86, 56) Source(84, 17) + SourceIndex(0) -5 >Emitted(86, 61) Source(84, 29) + SourceIndex(0) +1->Emitted(87, 21) Source(84, 10) + SourceIndex(0) +2 >Emitted(87, 43) Source(84, 16) + SourceIndex(0) +3 >Emitted(87, 46) Source(84, 3) + SourceIndex(0) +4 >Emitted(87, 56) Source(84, 17) + SourceIndex(0) +5 >Emitted(87, 61) Source(84, 29) + SourceIndex(0) --- >>> return this === other; 1 >^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1468,12 +1469,12 @@ sourceFile:recursiveClassReferenceTest.ts 4 > === 5 > other 6 > ; -1 >Emitted(87, 25) Source(85, 4) + SourceIndex(0) -2 >Emitted(87, 32) Source(85, 11) + SourceIndex(0) -3 >Emitted(87, 36) Source(85, 15) + SourceIndex(0) -4 >Emitted(87, 41) Source(85, 20) + SourceIndex(0) -5 >Emitted(87, 46) Source(85, 25) + SourceIndex(0) -6 >Emitted(87, 47) Source(85, 26) + SourceIndex(0) +1 >Emitted(88, 25) Source(85, 4) + SourceIndex(0) +2 >Emitted(88, 32) Source(85, 11) + SourceIndex(0) +3 >Emitted(88, 36) Source(85, 15) + SourceIndex(0) +4 >Emitted(88, 41) Source(85, 20) + SourceIndex(0) +5 >Emitted(88, 46) Source(85, 25) + SourceIndex(0) +6 >Emitted(88, 47) Source(85, 26) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^^^^^^^^^^^^^ @@ -1482,8 +1483,8 @@ sourceFile:recursiveClassReferenceTest.ts 1 > > 2 > } -1 >Emitted(88, 21) Source(86, 3) + SourceIndex(0) -2 >Emitted(88, 22) Source(86, 4) + SourceIndex(0) +1 >Emitted(89, 21) Source(86, 3) + SourceIndex(0) +2 >Emitted(89, 22) Source(86, 4) + SourceIndex(0) --- >>> State.prototype.getMode = function () { return mode; }; 1->^^^^^^^^^^^^^^^^^^^^ @@ -1506,15 +1507,15 @@ sourceFile:recursiveClassReferenceTest.ts 7 > ; 8 > 9 > } -1->Emitted(89, 21) Source(88, 10) + SourceIndex(0) -2 >Emitted(89, 44) Source(88, 17) + SourceIndex(0) -3 >Emitted(89, 47) Source(88, 3) + SourceIndex(0) -4 >Emitted(89, 61) Source(88, 29) + SourceIndex(0) -5 >Emitted(89, 68) Source(88, 36) + SourceIndex(0) -6 >Emitted(89, 72) Source(88, 40) + SourceIndex(0) -7 >Emitted(89, 73) Source(88, 41) + SourceIndex(0) -8 >Emitted(89, 74) Source(88, 42) + SourceIndex(0) -9 >Emitted(89, 75) Source(88, 43) + SourceIndex(0) +1->Emitted(90, 21) Source(88, 10) + SourceIndex(0) +2 >Emitted(90, 44) Source(88, 17) + SourceIndex(0) +3 >Emitted(90, 47) Source(88, 3) + SourceIndex(0) +4 >Emitted(90, 61) Source(88, 29) + SourceIndex(0) +5 >Emitted(90, 68) Source(88, 36) + SourceIndex(0) +6 >Emitted(90, 72) Source(88, 40) + SourceIndex(0) +7 >Emitted(90, 73) Source(88, 41) + SourceIndex(0) +8 >Emitted(90, 74) Source(88, 42) + SourceIndex(0) +9 >Emitted(90, 75) Source(88, 43) + SourceIndex(0) --- >>> return State; 1 >^^^^^^^^^^^^^^^^^^^^ @@ -1522,8 +1523,8 @@ sourceFile:recursiveClassReferenceTest.ts 1 > > 2 > } -1 >Emitted(90, 21) Source(89, 2) + SourceIndex(0) -2 >Emitted(90, 33) Source(89, 3) + SourceIndex(0) +1 >Emitted(91, 21) Source(89, 2) + SourceIndex(0) +2 >Emitted(91, 33) Source(89, 3) + SourceIndex(0) --- >>> }()); 1 >^^^^^^^^^^^^^^^^ @@ -1546,10 +1547,10 @@ sourceFile:recursiveClassReferenceTest.ts > > public getMode(): IMode { return mode; } > } -1 >Emitted(91, 17) Source(89, 2) + SourceIndex(0) -2 >Emitted(91, 18) Source(89, 3) + SourceIndex(0) -3 >Emitted(91, 18) Source(78, 2) + SourceIndex(0) -4 >Emitted(91, 22) Source(89, 3) + SourceIndex(0) +1 >Emitted(92, 17) Source(89, 2) + SourceIndex(0) +2 >Emitted(92, 18) Source(89, 3) + SourceIndex(0) +3 >Emitted(92, 18) Source(78, 2) + SourceIndex(0) +4 >Emitted(92, 22) Source(89, 3) + SourceIndex(0) --- >>> PlainText.State = State; 1->^^^^^^^^^^^^^^^^ @@ -1572,10 +1573,10 @@ sourceFile:recursiveClassReferenceTest.ts > public getMode(): IMode { return mode; } > } 4 > -1->Emitted(92, 17) Source(78, 15) + SourceIndex(0) -2 >Emitted(92, 32) Source(78, 20) + SourceIndex(0) -3 >Emitted(92, 40) Source(89, 3) + SourceIndex(0) -4 >Emitted(92, 41) Source(89, 3) + SourceIndex(0) +1->Emitted(93, 17) Source(78, 15) + SourceIndex(0) +2 >Emitted(93, 32) Source(78, 20) + SourceIndex(0) +3 >Emitted(93, 40) Source(89, 3) + SourceIndex(0) +4 >Emitted(93, 41) Source(89, 3) + SourceIndex(0) --- >>> var Mode = /** @class */ (function (_super) { 1->^^^^^^^^^^^^^^^^ @@ -1583,21 +1584,21 @@ sourceFile:recursiveClassReferenceTest.ts 1-> > > -1->Emitted(93, 17) Source(91, 2) + SourceIndex(0) +1->Emitted(94, 17) Source(91, 2) + SourceIndex(0) --- >>> __extends(Mode, _super); 1->^^^^^^^^^^^^^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^ 1->export class Mode extends 2 > AbstractMode -1->Emitted(94, 21) Source(91, 28) + SourceIndex(0) -2 >Emitted(94, 45) Source(91, 40) + SourceIndex(0) +1->Emitted(95, 21) Source(91, 28) + SourceIndex(0) +2 >Emitted(95, 45) Source(91, 40) + SourceIndex(0) --- >>> function Mode() { 1 >^^^^^^^^^^^^^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(95, 21) Source(91, 2) + SourceIndex(0) +1 >Emitted(96, 21) Source(91, 2) + SourceIndex(0) --- >>> return _super !== null && _super.apply(this, arguments) || this; >>> } @@ -1614,8 +1615,8 @@ sourceFile:recursiveClassReferenceTest.ts > > 2 > } -1->Emitted(97, 21) Source(99, 2) + SourceIndex(0) -2 >Emitted(97, 22) Source(99, 3) + SourceIndex(0) +1->Emitted(98, 21) Source(99, 2) + SourceIndex(0) +2 >Emitted(98, 22) Source(99, 3) + SourceIndex(0) --- >>> // scenario 2 1->^^^^^^^^^^^^^^^^^^^^ @@ -1623,8 +1624,8 @@ sourceFile:recursiveClassReferenceTest.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1-> 2 > // scenario 2 -1->Emitted(98, 21) Source(93, 3) + SourceIndex(0) -2 >Emitted(98, 34) Source(93, 16) + SourceIndex(0) +1->Emitted(99, 21) Source(93, 3) + SourceIndex(0) +2 >Emitted(99, 34) Source(93, 16) + SourceIndex(0) --- >>> Mode.prototype.getInitialState = function () { 1->^^^^^^^^^^^^^^^^^^^^ @@ -1634,9 +1635,9 @@ sourceFile:recursiveClassReferenceTest.ts > public 2 > getInitialState 3 > -1->Emitted(99, 21) Source(94, 10) + SourceIndex(0) -2 >Emitted(99, 51) Source(94, 25) + SourceIndex(0) -3 >Emitted(99, 54) Source(94, 3) + SourceIndex(0) +1->Emitted(100, 21) Source(94, 10) + SourceIndex(0) +2 >Emitted(100, 51) Source(94, 25) + SourceIndex(0) +3 >Emitted(100, 54) Source(94, 3) + SourceIndex(0) --- >>> return new State(self); 1 >^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1656,14 +1657,14 @@ sourceFile:recursiveClassReferenceTest.ts 6 > self 7 > ) 8 > ; -1 >Emitted(100, 25) Source(95, 4) + SourceIndex(0) -2 >Emitted(100, 32) Source(95, 11) + SourceIndex(0) -3 >Emitted(100, 36) Source(95, 15) + SourceIndex(0) -4 >Emitted(100, 41) Source(95, 20) + SourceIndex(0) -5 >Emitted(100, 42) Source(95, 21) + SourceIndex(0) -6 >Emitted(100, 46) Source(95, 25) + SourceIndex(0) -7 >Emitted(100, 47) Source(95, 26) + SourceIndex(0) -8 >Emitted(100, 48) Source(95, 27) + SourceIndex(0) +1 >Emitted(101, 25) Source(95, 4) + SourceIndex(0) +2 >Emitted(101, 32) Source(95, 11) + SourceIndex(0) +3 >Emitted(101, 36) Source(95, 15) + SourceIndex(0) +4 >Emitted(101, 41) Source(95, 20) + SourceIndex(0) +5 >Emitted(101, 42) Source(95, 21) + SourceIndex(0) +6 >Emitted(101, 46) Source(95, 25) + SourceIndex(0) +7 >Emitted(101, 47) Source(95, 26) + SourceIndex(0) +8 >Emitted(101, 48) Source(95, 27) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^^^^^^^^^^^^^ @@ -1672,8 +1673,8 @@ sourceFile:recursiveClassReferenceTest.ts 1 > > 2 > } -1 >Emitted(101, 21) Source(96, 3) + SourceIndex(0) -2 >Emitted(101, 22) Source(96, 4) + SourceIndex(0) +1 >Emitted(102, 21) Source(96, 3) + SourceIndex(0) +2 >Emitted(102, 22) Source(96, 4) + SourceIndex(0) --- >>> return Mode; 1->^^^^^^^^^^^^^^^^^^^^ @@ -1684,8 +1685,8 @@ sourceFile:recursiveClassReferenceTest.ts > > 2 > } -1->Emitted(102, 21) Source(99, 2) + SourceIndex(0) -2 >Emitted(102, 32) Source(99, 3) + SourceIndex(0) +1->Emitted(103, 21) Source(99, 2) + SourceIndex(0) +2 >Emitted(103, 32) Source(99, 3) + SourceIndex(0) --- >>> }(AbstractMode)); 1->^^^^^^^^^^^^^^^^ @@ -1709,12 +1710,12 @@ sourceFile:recursiveClassReferenceTest.ts > > > } -1->Emitted(103, 17) Source(99, 2) + SourceIndex(0) -2 >Emitted(103, 18) Source(99, 3) + SourceIndex(0) -3 >Emitted(103, 18) Source(91, 2) + SourceIndex(0) -4 >Emitted(103, 19) Source(91, 28) + SourceIndex(0) -5 >Emitted(103, 31) Source(91, 40) + SourceIndex(0) -6 >Emitted(103, 34) Source(99, 3) + SourceIndex(0) +1->Emitted(104, 17) Source(99, 2) + SourceIndex(0) +2 >Emitted(104, 18) Source(99, 3) + SourceIndex(0) +3 >Emitted(104, 18) Source(91, 2) + SourceIndex(0) +4 >Emitted(104, 19) Source(91, 28) + SourceIndex(0) +5 >Emitted(104, 31) Source(91, 40) + SourceIndex(0) +6 >Emitted(104, 34) Source(99, 3) + SourceIndex(0) --- >>> PlainText.Mode = Mode; 1->^^^^^^^^^^^^^^^^ @@ -1734,10 +1735,10 @@ sourceFile:recursiveClassReferenceTest.ts > > } 4 > -1->Emitted(104, 17) Source(91, 15) + SourceIndex(0) -2 >Emitted(104, 31) Source(91, 19) + SourceIndex(0) -3 >Emitted(104, 38) Source(99, 3) + SourceIndex(0) -4 >Emitted(104, 39) Source(99, 3) + SourceIndex(0) +1->Emitted(105, 17) Source(91, 15) + SourceIndex(0) +2 >Emitted(105, 31) Source(91, 19) + SourceIndex(0) +3 >Emitted(105, 38) Source(99, 3) + SourceIndex(0) +4 >Emitted(105, 39) Source(99, 3) + SourceIndex(0) --- >>> })(PlainText = Languages.PlainText || (Languages.PlainText = {})); 1->^^^^^^^^^^^^ @@ -1783,15 +1784,15 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1->Emitted(105, 13) Source(100, 1) + SourceIndex(0) -2 >Emitted(105, 14) Source(100, 2) + SourceIndex(0) -3 >Emitted(105, 16) Source(76, 34) + SourceIndex(0) -4 >Emitted(105, 25) Source(76, 43) + SourceIndex(0) -5 >Emitted(105, 28) Source(76, 34) + SourceIndex(0) -6 >Emitted(105, 47) Source(76, 43) + SourceIndex(0) -7 >Emitted(105, 52) Source(76, 34) + SourceIndex(0) -8 >Emitted(105, 71) Source(76, 43) + SourceIndex(0) -9 >Emitted(105, 79) Source(100, 2) + SourceIndex(0) +1->Emitted(106, 13) Source(100, 1) + SourceIndex(0) +2 >Emitted(106, 14) Source(100, 2) + SourceIndex(0) +3 >Emitted(106, 16) Source(76, 34) + SourceIndex(0) +4 >Emitted(106, 25) Source(76, 43) + SourceIndex(0) +5 >Emitted(106, 28) Source(76, 34) + SourceIndex(0) +6 >Emitted(106, 47) Source(76, 43) + SourceIndex(0) +7 >Emitted(106, 52) Source(76, 34) + SourceIndex(0) +8 >Emitted(106, 71) Source(76, 43) + SourceIndex(0) +9 >Emitted(106, 79) Source(100, 2) + SourceIndex(0) --- >>> })(Languages = Thing.Languages || (Thing.Languages = {})); 1 >^^^^^^^^ @@ -1836,15 +1837,15 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1 >Emitted(106, 9) Source(100, 1) + SourceIndex(0) -2 >Emitted(106, 10) Source(100, 2) + SourceIndex(0) -3 >Emitted(106, 12) Source(76, 24) + SourceIndex(0) -4 >Emitted(106, 21) Source(76, 33) + SourceIndex(0) -5 >Emitted(106, 24) Source(76, 24) + SourceIndex(0) -6 >Emitted(106, 39) Source(76, 33) + SourceIndex(0) -7 >Emitted(106, 44) Source(76, 24) + SourceIndex(0) -8 >Emitted(106, 59) Source(76, 33) + SourceIndex(0) -9 >Emitted(106, 67) Source(100, 2) + SourceIndex(0) +1 >Emitted(107, 9) Source(100, 1) + SourceIndex(0) +2 >Emitted(107, 10) Source(100, 2) + SourceIndex(0) +3 >Emitted(107, 12) Source(76, 24) + SourceIndex(0) +4 >Emitted(107, 21) Source(76, 33) + SourceIndex(0) +5 >Emitted(107, 24) Source(76, 24) + SourceIndex(0) +6 >Emitted(107, 39) Source(76, 33) + SourceIndex(0) +7 >Emitted(107, 44) Source(76, 24) + SourceIndex(0) +8 >Emitted(107, 59) Source(76, 33) + SourceIndex(0) +9 >Emitted(107, 67) Source(100, 2) + SourceIndex(0) --- >>> })(Thing = Sample.Thing || (Sample.Thing = {})); 1 >^^^^ @@ -1889,15 +1890,15 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1 >Emitted(107, 5) Source(100, 1) + SourceIndex(0) -2 >Emitted(107, 6) Source(100, 2) + SourceIndex(0) -3 >Emitted(107, 8) Source(76, 18) + SourceIndex(0) -4 >Emitted(107, 13) Source(76, 23) + SourceIndex(0) -5 >Emitted(107, 16) Source(76, 18) + SourceIndex(0) -6 >Emitted(107, 28) Source(76, 23) + SourceIndex(0) -7 >Emitted(107, 33) Source(76, 18) + SourceIndex(0) -8 >Emitted(107, 45) Source(76, 23) + SourceIndex(0) -9 >Emitted(107, 53) Source(100, 2) + SourceIndex(0) +1 >Emitted(108, 5) Source(100, 1) + SourceIndex(0) +2 >Emitted(108, 6) Source(100, 2) + SourceIndex(0) +3 >Emitted(108, 8) Source(76, 18) + SourceIndex(0) +4 >Emitted(108, 13) Source(76, 23) + SourceIndex(0) +5 >Emitted(108, 16) Source(76, 18) + SourceIndex(0) +6 >Emitted(108, 28) Source(76, 23) + SourceIndex(0) +7 >Emitted(108, 33) Source(76, 18) + SourceIndex(0) +8 >Emitted(108, 45) Source(76, 23) + SourceIndex(0) +9 >Emitted(108, 53) Source(100, 2) + SourceIndex(0) --- >>>})(Sample || (Sample = {})); 1 > @@ -1939,12 +1940,12 @@ sourceFile:recursiveClassReferenceTest.ts > > } > } -1 >Emitted(108, 1) Source(100, 1) + SourceIndex(0) -2 >Emitted(108, 2) Source(100, 2) + SourceIndex(0) -3 >Emitted(108, 4) Source(76, 11) + SourceIndex(0) -4 >Emitted(108, 10) Source(76, 17) + SourceIndex(0) -5 >Emitted(108, 15) Source(76, 11) + SourceIndex(0) -6 >Emitted(108, 21) Source(76, 17) + SourceIndex(0) -7 >Emitted(108, 29) Source(100, 2) + SourceIndex(0) +1 >Emitted(109, 1) Source(100, 1) + SourceIndex(0) +2 >Emitted(109, 2) Source(100, 2) + SourceIndex(0) +3 >Emitted(109, 4) Source(76, 11) + SourceIndex(0) +4 >Emitted(109, 10) Source(76, 17) + SourceIndex(0) +5 >Emitted(109, 15) Source(76, 11) + SourceIndex(0) +6 >Emitted(109, 21) Source(76, 17) + SourceIndex(0) +7 >Emitted(109, 29) Source(100, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=recursiveClassReferenceTest.js.map \ No newline at end of file diff --git a/tests/baselines/reference/recursiveCloduleReference.js b/tests/baselines/reference/recursiveCloduleReference.js index 312f4b97b0434..719ecda2ed42f 100644 --- a/tests/baselines/reference/recursiveCloduleReference.js +++ b/tests/baselines/reference/recursiveCloduleReference.js @@ -13,6 +13,7 @@ namespace M //// [recursiveCloduleReference.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/recursiveComplicatedClasses.js b/tests/baselines/reference/recursiveComplicatedClasses.js index 1b7f35cc33c3e..d96a2520c39c0 100644 --- a/tests/baselines/reference/recursiveComplicatedClasses.js +++ b/tests/baselines/reference/recursiveComplicatedClasses.js @@ -27,6 +27,7 @@ class TypeSymbol extends InferenceSymbol { } //// [recursiveComplicatedClasses.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/recursiveConditionalCrash1.js b/tests/baselines/reference/recursiveConditionalCrash1.js index e145994730da1..f60608bac57bc 100644 --- a/tests/baselines/reference/recursiveConditionalCrash1.js +++ b/tests/baselines/reference/recursiveConditionalCrash1.js @@ -6,3 +6,4 @@ type C2 = [T extends string ? [C2] : never][0]; //// [recursiveConditionalCrash1.js] +"use strict"; diff --git a/tests/baselines/reference/recursiveConditionalEvaluationNonInfinite.js b/tests/baselines/reference/recursiveConditionalEvaluationNonInfinite.js index 5549e641a0f03..560c6a69cd5dc 100644 --- a/tests/baselines/reference/recursiveConditionalEvaluationNonInfinite.js +++ b/tests/baselines/reference/recursiveConditionalEvaluationNonInfinite.js @@ -8,5 +8,6 @@ declare const a: Test; const b: { notArray: number } = a; // Works //// [recursiveConditionalEvaluationNonInfinite.js] +"use strict"; var y = x; // Error var b = a; // Works diff --git a/tests/baselines/reference/recursiveFieldSetting.js b/tests/baselines/reference/recursiveFieldSetting.js index f25de13329818..530e51f1157ad 100644 --- a/tests/baselines/reference/recursiveFieldSetting.js +++ b/tests/baselines/reference/recursiveFieldSetting.js @@ -21,6 +21,7 @@ class Recursive3 { //// [recursiveFieldSetting.js] +"use strict"; // #32721 var Recursive1 = /** @class */ (function () { function Recursive1(parent) { diff --git a/tests/baselines/reference/recursiveFunctionTypes.js b/tests/baselines/reference/recursiveFunctionTypes.js index c2874adc74bc2..44b6d917db631 100644 --- a/tests/baselines/reference/recursiveFunctionTypes.js +++ b/tests/baselines/reference/recursiveFunctionTypes.js @@ -47,6 +47,7 @@ f7(""); // ok (function takes an any param) f7(); // ok //// [recursiveFunctionTypes.js] +"use strict"; function fn() { return 1; } var x = fn; // error var y = fn; // ok diff --git a/tests/baselines/reference/recursiveFunctionTypes1.js b/tests/baselines/reference/recursiveFunctionTypes1.js index 87eb7a263b84c..e2703e52c08e3 100644 --- a/tests/baselines/reference/recursiveFunctionTypes1.js +++ b/tests/baselines/reference/recursiveFunctionTypes1.js @@ -6,6 +6,7 @@ class C { } //// [recursiveFunctionTypes1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/recursiveGenericMethodCall.js b/tests/baselines/reference/recursiveGenericMethodCall.js index 9390d07491770..6dbf756ad0140 100644 --- a/tests/baselines/reference/recursiveGenericMethodCall.js +++ b/tests/baselines/reference/recursiveGenericMethodCall.js @@ -9,6 +9,7 @@ function Generate(func: Generator): T { //// [recursiveGenericMethodCall.js] +"use strict"; function Generate(func) { return Generate(func); } diff --git a/tests/baselines/reference/recursiveGenericSignatureInstantiation.js b/tests/baselines/reference/recursiveGenericSignatureInstantiation.js index eb92a8dd7b3d9..561bffab92deb 100644 --- a/tests/baselines/reference/recursiveGenericSignatureInstantiation.js +++ b/tests/baselines/reference/recursiveGenericSignatureInstantiation.js @@ -7,6 +7,7 @@ function f6(x: T) { //// [recursiveGenericSignatureInstantiation.js] +"use strict"; function f6(x) { return f6(x); } diff --git a/tests/baselines/reference/recursiveGenericSignatureInstantiation2.js b/tests/baselines/reference/recursiveGenericSignatureInstantiation2.js index b8e5dc492baad..c96208d52f932 100644 --- a/tests/baselines/reference/recursiveGenericSignatureInstantiation2.js +++ b/tests/baselines/reference/recursiveGenericSignatureInstantiation2.js @@ -4,3 +4,4 @@ //// [recursiveGenericSignatureInstantiation2.js] +"use strict"; diff --git a/tests/baselines/reference/recursiveGenericTypeHierarchy.js b/tests/baselines/reference/recursiveGenericTypeHierarchy.js index ed37d52d8bf45..5638142f51ead 100644 --- a/tests/baselines/reference/recursiveGenericTypeHierarchy.js +++ b/tests/baselines/reference/recursiveGenericTypeHierarchy.js @@ -6,3 +6,4 @@ interface A, S extends A> { } interface B, S extends B> extends A, B> { } //// [recursiveGenericTypeHierarchy.js] +"use strict"; diff --git a/tests/baselines/reference/recursiveGenericUnionType1.js b/tests/baselines/reference/recursiveGenericUnionType1.js index a3a035e8c34be..24f1af94468e7 100644 --- a/tests/baselines/reference/recursiveGenericUnionType1.js +++ b/tests/baselines/reference/recursiveGenericUnionType1.js @@ -24,6 +24,7 @@ s2 = s1; //// [recursiveGenericUnionType1.js] +"use strict"; var x; var s1; var s2; diff --git a/tests/baselines/reference/recursiveGenericUnionType2.js b/tests/baselines/reference/recursiveGenericUnionType2.js index 66ba2e984d603..328a853a162ef 100644 --- a/tests/baselines/reference/recursiveGenericUnionType2.js +++ b/tests/baselines/reference/recursiveGenericUnionType2.js @@ -24,6 +24,7 @@ s2 = s1; //// [recursiveGenericUnionType2.js] +"use strict"; var x; var s1; var s2; diff --git a/tests/baselines/reference/recursiveGetterAccess.js b/tests/baselines/reference/recursiveGetterAccess.js index 6049c0b2998d6..275d16d85b59b 100644 --- a/tests/baselines/reference/recursiveGetterAccess.js +++ b/tests/baselines/reference/recursiveGetterAccess.js @@ -8,6 +8,7 @@ get testProp() { return this.testProp; } //// [recursiveGetterAccess.js] +"use strict"; var MyClass = /** @class */ (function () { function MyClass() { } diff --git a/tests/baselines/reference/recursiveIdenticalAssignment.js b/tests/baselines/reference/recursiveIdenticalAssignment.js index fdfe569973c68..76f19969c19ac 100644 --- a/tests/baselines/reference/recursiveIdenticalAssignment.js +++ b/tests/baselines/reference/recursiveIdenticalAssignment.js @@ -14,5 +14,6 @@ var b: B> = a // Error, any does not satisfy constraint B> //// [recursiveIdenticalAssignment.js] +"use strict"; var a; var b = a; // Error, any does not satisfy constraint B> diff --git a/tests/baselines/reference/recursiveIdenticalOverloadResolution.js b/tests/baselines/reference/recursiveIdenticalOverloadResolution.js index af7b32ba7d4a0..a158aea015405 100644 --- a/tests/baselines/reference/recursiveIdenticalOverloadResolution.js +++ b/tests/baselines/reference/recursiveIdenticalOverloadResolution.js @@ -19,6 +19,7 @@ namespace M { //// [recursiveIdenticalOverloadResolution.js] +"use strict"; var M; (function (M) { function f(p) { return f; } diff --git a/tests/baselines/reference/recursiveInference1.js b/tests/baselines/reference/recursiveInference1.js index f1df8e3a3f2fc..acac30b1521a2 100644 --- a/tests/baselines/reference/recursiveInference1.js +++ b/tests/baselines/reference/recursiveInference1.js @@ -5,5 +5,6 @@ function fib(x:number) { return x <= 1 ? x : fib(x - 1) + fib(x - 2); } var result = fib(5); //// [recursiveInference1.js] +"use strict"; function fib(x) { return x <= 1 ? x : fib(x - 1) + fib(x - 2); } var result = fib(5); diff --git a/tests/baselines/reference/recursiveInferenceBug.js b/tests/baselines/reference/recursiveInferenceBug.js index 2ad4fd7d6826a..fb2bf43005787 100644 --- a/tests/baselines/reference/recursiveInferenceBug.js +++ b/tests/baselines/reference/recursiveInferenceBug.js @@ -14,6 +14,7 @@ var zz = { //// [recursiveInferenceBug.js] +"use strict"; function f(x) { var z = f(x); return x; diff --git a/tests/baselines/reference/recursiveInheritance.js b/tests/baselines/reference/recursiveInheritance.js index 2f472edfec7f3..566c7df755060 100644 --- a/tests/baselines/reference/recursiveInheritance.js +++ b/tests/baselines/reference/recursiveInheritance.js @@ -10,3 +10,4 @@ interface i9 extends i8 { } // error //// [recursiveInheritance.js] +"use strict"; diff --git a/tests/baselines/reference/recursiveInheritance2.js b/tests/baselines/reference/recursiveInheritance2.js index e9a24a544e02c..74a9d3980760b 100644 --- a/tests/baselines/reference/recursiveInheritance2.js +++ b/tests/baselines/reference/recursiveInheritance2.js @@ -17,6 +17,7 @@ x = y; //// [recursiveInheritance2.js] +"use strict"; ; var x = a(); ; diff --git a/tests/baselines/reference/recursiveInheritance3.js b/tests/baselines/reference/recursiveInheritance3.js index c2a7c3b868c7f..93038830c6005 100644 --- a/tests/baselines/reference/recursiveInheritance3.js +++ b/tests/baselines/reference/recursiveInheritance3.js @@ -11,6 +11,7 @@ interface I extends C { } //// [recursiveInheritance3.js] +"use strict"; var C = /** @class */ (function () { function C() { this.x = 1; diff --git a/tests/baselines/reference/recursiveInheritanceGeneric.js b/tests/baselines/reference/recursiveInheritanceGeneric.js index f5437f1b94fe9..47d3f3c7bd3e0 100644 --- a/tests/baselines/reference/recursiveInheritanceGeneric.js +++ b/tests/baselines/reference/recursiveInheritanceGeneric.js @@ -6,3 +6,4 @@ interface I5 extends I5 { } //// [recursiveInheritanceGeneric.js] +"use strict"; diff --git a/tests/baselines/reference/recursiveInitializer.js b/tests/baselines/reference/recursiveInitializer.js index 03e52c0b0e904..8f814a73ddc49 100644 --- a/tests/baselines/reference/recursiveInitializer.js +++ b/tests/baselines/reference/recursiveInitializer.js @@ -22,6 +22,7 @@ var b4 = (!b4) && b4; // expected boolean here. actually 'any' var f = (x: string) => f(x); //// [recursiveInitializer.js] +"use strict"; // number unless otherwise specified var n1 = n1++; var n2 = n2 + n2; diff --git a/tests/baselines/reference/recursiveIntersectionTypes.js b/tests/baselines/reference/recursiveIntersectionTypes.js index 968c64c526f03..436a9106567fb 100644 --- a/tests/baselines/reference/recursiveIntersectionTypes.js +++ b/tests/baselines/reference/recursiveIntersectionTypes.js @@ -23,6 +23,7 @@ productList = entityList; // Error //// [recursiveIntersectionTypes.js] +"use strict"; var entityList; var s = entityList.name; var s = entityList.next.name; diff --git a/tests/baselines/reference/recursiveNamedLambdaCall.js b/tests/baselines/reference/recursiveNamedLambdaCall.js index df1f009eb1baf..d2ca3bd551457 100644 --- a/tests/baselines/reference/recursiveNamedLambdaCall.js +++ b/tests/baselines/reference/recursiveNamedLambdaCall.js @@ -22,6 +22,7 @@ var promise = function( obj ) { }; //// [recursiveNamedLambdaCall.js] +"use strict"; var promise = function (obj) { if (top && top.doScroll) { (function doScrollCheck() { diff --git a/tests/baselines/reference/recursiveObjectLiteral.js b/tests/baselines/reference/recursiveObjectLiteral.js index 54ddbeabfa165..161c11d019038 100644 --- a/tests/baselines/reference/recursiveObjectLiteral.js +++ b/tests/baselines/reference/recursiveObjectLiteral.js @@ -4,4 +4,5 @@ var a = { f: a }; //// [recursiveObjectLiteral.js] +"use strict"; var a = { f: a }; diff --git a/tests/baselines/reference/recursiveProperties.js b/tests/baselines/reference/recursiveProperties.js index b67ef8ace2dd4..b51e5365bf0d6 100644 --- a/tests/baselines/reference/recursiveProperties.js +++ b/tests/baselines/reference/recursiveProperties.js @@ -10,6 +10,7 @@ class B { } //// [recursiveProperties.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/recursiveResolveTypeMembers.js b/tests/baselines/reference/recursiveResolveTypeMembers.js index 24b272348e52a..d109bd7a3c2fc 100644 --- a/tests/baselines/reference/recursiveResolveTypeMembers.js +++ b/tests/baselines/reference/recursiveResolveTypeMembers.js @@ -10,4 +10,5 @@ type Promised = PromisedTuple<[1, 2, 3]> //// [recursiveResolveTypeMembers.js] +"use strict"; // Repro from #25291 diff --git a/tests/baselines/reference/recursiveReturns.js b/tests/baselines/reference/recursiveReturns.js index 87665452e7700..34469cf9b06c7 100644 --- a/tests/baselines/reference/recursiveReturns.js +++ b/tests/baselines/reference/recursiveReturns.js @@ -18,6 +18,7 @@ function R3(n:number) { } //// [recursiveReturns.js] +"use strict"; function R1() { R1(); return; diff --git a/tests/baselines/reference/recursiveSpecializationOfExtendedTypeWithError.js b/tests/baselines/reference/recursiveSpecializationOfExtendedTypeWithError.js index 24da64705e8ce..edf76c18cd282 100644 --- a/tests/baselines/reference/recursiveSpecializationOfExtendedTypeWithError.js +++ b/tests/baselines/reference/recursiveSpecializationOfExtendedTypeWithError.js @@ -9,3 +9,4 @@ interface HTMLSelectElement { //// [recursiveSpecializationOfExtendedTypeWithError.js] +"use strict"; diff --git a/tests/baselines/reference/recursiveSpecializationOfSignatures.js b/tests/baselines/reference/recursiveSpecializationOfSignatures.js index 91cfd07358398..d28025a8d2d34 100644 --- a/tests/baselines/reference/recursiveSpecializationOfSignatures.js +++ b/tests/baselines/reference/recursiveSpecializationOfSignatures.js @@ -9,6 +9,7 @@ constructor(public S17: S0 A>) { } //// [recursiveSpecializationOfSignatures.js] +"use strict"; var S0 = /** @class */ (function () { function S0(S17) { this.S17 = S17; diff --git a/tests/baselines/reference/recursiveTupleTypes1.js b/tests/baselines/reference/recursiveTupleTypes1.js index eefadd5102216..f506844a9fcc9 100644 --- a/tests/baselines/reference/recursiveTupleTypes1.js +++ b/tests/baselines/reference/recursiveTupleTypes1.js @@ -16,6 +16,7 @@ tree2 = tree1; //// [recursiveTupleTypes1.js] +"use strict"; var tree1; var tree2; tree1 = tree2; diff --git a/tests/baselines/reference/recursiveTupleTypes2.js b/tests/baselines/reference/recursiveTupleTypes2.js index 176b82ccade25..7423cf083a6f1 100644 --- a/tests/baselines/reference/recursiveTupleTypes2.js +++ b/tests/baselines/reference/recursiveTupleTypes2.js @@ -16,6 +16,7 @@ tree2 = tree1; //// [recursiveTupleTypes2.js] +"use strict"; var tree1; var tree2; tree1 = tree2; diff --git a/tests/baselines/reference/recursiveTypeComparison.js b/tests/baselines/reference/recursiveTypeComparison.js index 25c7528d3cd72..156c423087a8e 100644 --- a/tests/baselines/reference/recursiveTypeComparison.js +++ b/tests/baselines/reference/recursiveTypeComparison.js @@ -18,6 +18,7 @@ var stuck: Property = p; //// [recursiveTypeComparison.js] +"use strict"; // Before fix this would take an exceeding long time to complete (#1170) var p; var stuck = p; diff --git a/tests/baselines/reference/recursiveTypeComparison2.js b/tests/baselines/reference/recursiveTypeComparison2.js index ace40616722fb..6c1e4b762347e 100644 --- a/tests/baselines/reference/recursiveTypeComparison2.js +++ b/tests/baselines/reference/recursiveTypeComparison2.js @@ -33,5 +33,6 @@ declare namespace Bacon { var stuck: Bacon.Bus = new Bacon.Bus(); //// [recursiveTypeComparison2.js] +"use strict"; // Before fix this would cause compiler to hang (#1170) var stuck = new Bacon.Bus(); diff --git a/tests/baselines/reference/recursiveTypeIdentity.js b/tests/baselines/reference/recursiveTypeIdentity.js index 48d2f02a6810b..91b8eb81c6f53 100644 --- a/tests/baselines/reference/recursiveTypeIdentity.js +++ b/tests/baselines/reference/recursiveTypeIdentity.js @@ -15,3 +15,4 @@ interface C { } //// [recursiveTypeIdentity.js] +"use strict"; diff --git a/tests/baselines/reference/recursiveTypeInGenericConstraint.js b/tests/baselines/reference/recursiveTypeInGenericConstraint.js index f11a3787e468a..eae660c8b9a24 100644 --- a/tests/baselines/reference/recursiveTypeInGenericConstraint.js +++ b/tests/baselines/reference/recursiveTypeInGenericConstraint.js @@ -16,6 +16,7 @@ class D { var c1 = new Foo>(); // ok, circularity in assignment compat check causes success //// [recursiveTypeInGenericConstraint.js] +"use strict"; var G = /** @class */ (function () { function G() { } diff --git a/tests/baselines/reference/recursiveTypeParameterConstraintReferenceLacksTypeArgs.js b/tests/baselines/reference/recursiveTypeParameterConstraintReferenceLacksTypeArgs.js index dc4e812fea25e..c0fea2348b6d1 100644 --- a/tests/baselines/reference/recursiveTypeParameterConstraintReferenceLacksTypeArgs.js +++ b/tests/baselines/reference/recursiveTypeParameterConstraintReferenceLacksTypeArgs.js @@ -4,6 +4,7 @@ class A { } //// [recursiveTypeParameterConstraintReferenceLacksTypeArgs.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/recursiveTypeParameterReferenceError1.js b/tests/baselines/reference/recursiveTypeParameterReferenceError1.js index d6e07e25b20ba..73f0df6d9a7d1 100644 --- a/tests/baselines/reference/recursiveTypeParameterReferenceError1.js +++ b/tests/baselines/reference/recursiveTypeParameterReferenceError1.js @@ -20,6 +20,7 @@ var r2 = f2.ofC4; //// [recursiveTypeParameterReferenceError1.js] +"use strict"; var X = /** @class */ (function () { function X() { } diff --git a/tests/baselines/reference/recursiveTypeParameterReferenceError2.js b/tests/baselines/reference/recursiveTypeParameterReferenceError2.js index 6927157254192..bdc3bc9187bd4 100644 --- a/tests/baselines/reference/recursiveTypeParameterReferenceError2.js +++ b/tests/baselines/reference/recursiveTypeParameterReferenceError2.js @@ -15,3 +15,4 @@ interface List2 { //// [recursiveTypeParameterReferenceError2.js] +"use strict"; diff --git a/tests/baselines/reference/recursiveTypeReferences2.js b/tests/baselines/reference/recursiveTypeReferences2.js index 3329d4df581d4..c9e5c4a4f6739 100644 --- a/tests/baselines/reference/recursiveTypeReferences2.js +++ b/tests/baselines/reference/recursiveTypeReferences2.js @@ -29,6 +29,7 @@ const p = {}; //// [bug39372.js] +"use strict"; /** @typedef {ReadonlyArray} JsonArray */ /** @typedef {{ readonly [key: string]: Json }} JsonRecord */ /** @typedef {boolean | number | string | null | JsonRecord | JsonArray | readonly []} Json */ diff --git a/tests/baselines/reference/recursiveTypes1.js b/tests/baselines/reference/recursiveTypes1.js index 8d7e4aaebbc39..1b448274dbef7 100644 --- a/tests/baselines/reference/recursiveTypes1.js +++ b/tests/baselines/reference/recursiveTypes1.js @@ -16,3 +16,4 @@ interface Customer extends Person { //// [recursiveTypes1.js] +"use strict"; diff --git a/tests/baselines/reference/recursiveTypesUsedAsFunctionParameters.js b/tests/baselines/reference/recursiveTypesUsedAsFunctionParameters.js index 0f6d4dd2e0d21..fdf03918e78fb 100644 --- a/tests/baselines/reference/recursiveTypesUsedAsFunctionParameters.js +++ b/tests/baselines/reference/recursiveTypesUsedAsFunctionParameters.js @@ -46,6 +46,7 @@ function other, U>() { } //// [recursiveTypesUsedAsFunctionParameters.js] +"use strict"; var List = /** @class */ (function () { function List() { } diff --git a/tests/baselines/reference/recursiveTypesWithTypeof.js b/tests/baselines/reference/recursiveTypesWithTypeof.js index 7cb43c850edba..2c39eaba39753 100644 --- a/tests/baselines/reference/recursiveTypesWithTypeof.js +++ b/tests/baselines/reference/recursiveTypesWithTypeof.js @@ -55,6 +55,7 @@ var hy3: Foo2; var hy3: any; //// [recursiveTypesWithTypeof.js] +"use strict"; // The following are errors because of circular references var c; var c; diff --git a/tests/baselines/reference/recursiveUnionTypeInference.js b/tests/baselines/reference/recursiveUnionTypeInference.js index c431c84757059..12a94a5ea7333 100644 --- a/tests/baselines/reference/recursiveUnionTypeInference.js +++ b/tests/baselines/reference/recursiveUnionTypeInference.js @@ -11,6 +11,7 @@ function bar(x: Foo | string): T { //// [recursiveUnionTypeInference.js] +"use strict"; function bar(x) { return bar(x); } diff --git a/tests/baselines/reference/recursivelyExpandingUnionNoStackoverflow.js b/tests/baselines/reference/recursivelyExpandingUnionNoStackoverflow.js index b388c14e5e08e..bab55e454ae42 100644 --- a/tests/baselines/reference/recursivelyExpandingUnionNoStackoverflow.js +++ b/tests/baselines/reference/recursivelyExpandingUnionNoStackoverflow.js @@ -6,3 +6,4 @@ type N = T | { [P in K]: N }[K]; type M = N; //// [recursivelyExpandingUnionNoStackoverflow.js] +"use strict"; diff --git a/tests/baselines/reference/recursivelySpecializedConstructorDeclaration.js b/tests/baselines/reference/recursivelySpecializedConstructorDeclaration.js index 3346c4e707090..770577cdb1ff6 100644 --- a/tests/baselines/reference/recursivelySpecializedConstructorDeclaration.js +++ b/tests/baselines/reference/recursivelySpecializedConstructorDeclaration.js @@ -32,6 +32,7 @@ declare namespace MsPortal.Controls.Base.ItemList { */ //// [recursivelySpecializedConstructorDeclaration.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/redeclarationOfVarWithGenericType.js b/tests/baselines/reference/redeclarationOfVarWithGenericType.js index 69f2facbbfbab..b01f8b5bbce12 100644 --- a/tests/baselines/reference/redeclarationOfVarWithGenericType.js +++ b/tests/baselines/reference/redeclarationOfVarWithGenericType.js @@ -5,5 +5,6 @@ var a1: { fn(x: T): T }; var a1: { fn(x: T): T }; //// [redeclarationOfVarWithGenericType.js] +"use strict"; var a1; var a1; diff --git a/tests/baselines/reference/redeclareParameterInCatchBlock.js b/tests/baselines/reference/redeclareParameterInCatchBlock.js index 4d76b3d0c0dfb..deb45aa4347df 100644 --- a/tests/baselines/reference/redeclareParameterInCatchBlock.js +++ b/tests/baselines/reference/redeclareParameterInCatchBlock.js @@ -35,6 +35,7 @@ try { //// [redeclareParameterInCatchBlock.js] +"use strict"; try { } catch (e) { diff --git a/tests/baselines/reference/redeclaredProperty.js b/tests/baselines/reference/redeclaredProperty.js index f996858c6535c..094a46bd8957e 100644 --- a/tests/baselines/reference/redeclaredProperty.js +++ b/tests/baselines/reference/redeclaredProperty.js @@ -17,6 +17,7 @@ class Derived extends Base { //// [redeclaredProperty.js] +"use strict"; class Base { b = 1; } diff --git a/tests/baselines/reference/redefineArray.js b/tests/baselines/reference/redefineArray.js index 3ed91ee8d174c..e92f209dfa222 100644 --- a/tests/baselines/reference/redefineArray.js +++ b/tests/baselines/reference/redefineArray.js @@ -4,4 +4,5 @@ Array = function (n:number, s:string) {return n;}; //// [redefineArray.js] +"use strict"; Array = function (n, s) { return n; }; diff --git a/tests/baselines/reference/redefinedPararameterProperty.js b/tests/baselines/reference/redefinedPararameterProperty.js index ab9213302bea1..33c915e9b2898 100644 --- a/tests/baselines/reference/redefinedPararameterProperty.js +++ b/tests/baselines/reference/redefinedPararameterProperty.js @@ -15,6 +15,7 @@ class Base { //// [redefinedPararameterProperty.js] +"use strict"; class Base { a = 1; } diff --git a/tests/baselines/reference/referenceSatisfiesExpression.js b/tests/baselines/reference/referenceSatisfiesExpression.js index 51c1dd9bd09b7..c0f5cc3d6a758 100644 --- a/tests/baselines/reference/referenceSatisfiesExpression.js +++ b/tests/baselines/reference/referenceSatisfiesExpression.js @@ -29,6 +29,7 @@ for ((x satisfies string) in { a: 10 }) { //// [referenceSatisfiesExpression.js] +"use strict"; var a = 10; --a; ++a; diff --git a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es2015).js b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es2015).js index b5d29338747b6..957af0174f54f 100644 --- a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es2015).js +++ b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es2015).js @@ -9,6 +9,7 @@ const regexes: RegExp[] = [ //// [regExpWithOpenBracketInCharClass.js] +"use strict"; const regexes = [ /[[]/, // Valid /[[]/u, // Valid diff --git a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).js b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).js index 39669f032a6e5..78c6a3c41ac5c 100644 --- a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).js +++ b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=es5).js @@ -9,6 +9,7 @@ const regexes: RegExp[] = [ //// [regExpWithOpenBracketInCharClass.js] +"use strict"; var regexes = [ /[[]/, // Valid /[[]/u, // Valid diff --git a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=esnext).js b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=esnext).js index b5d29338747b6..957af0174f54f 100644 --- a/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=esnext).js +++ b/tests/baselines/reference/regExpWithOpenBracketInCharClass(target=esnext).js @@ -9,6 +9,7 @@ const regexes: RegExp[] = [ //// [regExpWithOpenBracketInCharClass.js] +"use strict"; const regexes = [ /[[]/, // Valid /[[]/u, // Valid diff --git a/tests/baselines/reference/regExpWithSlashInCharClass.js b/tests/baselines/reference/regExpWithSlashInCharClass.js index cba63c1e022d7..086be41191387 100644 --- a/tests/baselines/reference/regExpWithSlashInCharClass.js +++ b/tests/baselines/reference/regExpWithSlashInCharClass.js @@ -7,6 +7,7 @@ var foo3 = "a/".replace(/.[/no sleep /till/]/, "bugfix"); //// [regExpWithSlashInCharClass.js] +"use strict"; var foo1 = "a/".replace(/.[/]/, ""); var foo2 = "a//".replace(/.[//]/g, ""); var foo3 = "a/".replace(/.[/no sleep /till/]/, "bugfix"); diff --git a/tests/baselines/reference/regexMatchAll-esnext.js b/tests/baselines/reference/regexMatchAll-esnext.js index 38507feaabb66..56f9e076a7241 100644 --- a/tests/baselines/reference/regexMatchAll-esnext.js +++ b/tests/baselines/reference/regexMatchAll-esnext.js @@ -7,6 +7,7 @@ const { index, input } = array[0]; //// [regexMatchAll-esnext.js] +"use strict"; const matches = /\w/g[Symbol.matchAll]("matchAll"); const array = [...matches]; const { index, input } = array[0]; diff --git a/tests/baselines/reference/regexMatchAll.js b/tests/baselines/reference/regexMatchAll.js index 9af2f37499bea..8518989fd1b42 100644 --- a/tests/baselines/reference/regexMatchAll.js +++ b/tests/baselines/reference/regexMatchAll.js @@ -7,6 +7,7 @@ const { index, input } = array[0]; //// [regexMatchAll.js] +"use strict"; const matches = /\w/g[Symbol.matchAll]("matchAll"); const array = [...matches]; const { index, input } = array[0]; diff --git a/tests/baselines/reference/regularExpressionAnnexB.js b/tests/baselines/reference/regularExpressionAnnexB.js index c1ee8d1343858..aa36b75bd04fd 100644 --- a/tests/baselines/reference/regularExpressionAnnexB.js +++ b/tests/baselines/reference/regularExpressionAnnexB.js @@ -47,6 +47,7 @@ const regexesWithBraces: RegExp[] = [ //// [regularExpressionAnnexB.js] +"use strict"; const regexes = [ /\q\u\i\c\k\_\f\o\x\-\j\u\m\p\s/, /[\q\u\i\c\k\_\f\o\x\-\j\u\m\p\s]/, diff --git a/tests/baselines/reference/regularExpressionCharacterClassRangeOrder.js b/tests/baselines/reference/regularExpressionCharacterClassRangeOrder.js index 9580f94588c19..66ba39b2faf74 100644 --- a/tests/baselines/reference/regularExpressionCharacterClassRangeOrder.js +++ b/tests/baselines/reference/regularExpressionCharacterClassRangeOrder.js @@ -22,6 +22,7 @@ const regexes: RegExp[] = [ //// [regularExpressionCharacterClassRangeOrder.js] +"use strict"; // The characters in the following regular expressions are ASCII-lookalike characters found in Unicode, including: // - 𝘈 (U+1D608 Mathematical Sans-Serif Italic Capital A) // - 𝘡 (U+1D621 Mathematical Sans-Serif Italic Capital Z) diff --git a/tests/baselines/reference/regularExpressionExtendedUnicodeEscapes.js b/tests/baselines/reference/regularExpressionExtendedUnicodeEscapes.js index 0e4c435a1443e..b0ce62d9cb909 100644 --- a/tests/baselines/reference/regularExpressionExtendedUnicodeEscapes.js +++ b/tests/baselines/reference/regularExpressionExtendedUnicodeEscapes.js @@ -9,6 +9,7 @@ const regexes: RegExp[] = [ //// [regularExpressionExtendedUnicodeEscapes.js] +"use strict"; const regexes = [ /\u{10000}[\u{10000}]/, /\u{10000}[\u{10000}]/u, diff --git a/tests/baselines/reference/regularExpressionGroupNameSuggestions.js b/tests/baselines/reference/regularExpressionGroupNameSuggestions.js index 806a861a74011..f85de63906058 100644 --- a/tests/baselines/reference/regularExpressionGroupNameSuggestions.js +++ b/tests/baselines/reference/regularExpressionGroupNameSuggestions.js @@ -5,4 +5,5 @@ const regex = /(?)\k/; //// [regularExpressionGroupNameSuggestions.js] +"use strict"; var regex = /(?)\k/; diff --git a/tests/baselines/reference/regularExpressionScanning(target=es2015).js b/tests/baselines/reference/regularExpressionScanning(target=es2015).js index 532b81598e326..d103b737c0d44 100644 --- a/tests/baselines/reference/regularExpressionScanning(target=es2015).js +++ b/tests/baselines/reference/regularExpressionScanning(target=es2015).js @@ -52,6 +52,7 @@ const regexes: RegExp[] = [ //// [regularExpressionScanning.js] +"use strict"; const regexes = [ // Flags /foo/visualstudiocode, diff --git a/tests/baselines/reference/regularExpressionScanning(target=es5).js b/tests/baselines/reference/regularExpressionScanning(target=es5).js index 9b9e04d7ae9cc..07d8b4ebd6d14 100644 --- a/tests/baselines/reference/regularExpressionScanning(target=es5).js +++ b/tests/baselines/reference/regularExpressionScanning(target=es5).js @@ -52,6 +52,7 @@ const regexes: RegExp[] = [ //// [regularExpressionScanning.js] +"use strict"; var regexes = [ // Flags /foo/visualstudiocode, diff --git a/tests/baselines/reference/regularExpressionScanning(target=esnext).js b/tests/baselines/reference/regularExpressionScanning(target=esnext).js index 532b81598e326..d103b737c0d44 100644 --- a/tests/baselines/reference/regularExpressionScanning(target=esnext).js +++ b/tests/baselines/reference/regularExpressionScanning(target=esnext).js @@ -52,6 +52,7 @@ const regexes: RegExp[] = [ //// [regularExpressionScanning.js] +"use strict"; const regexes = [ // Flags /foo/visualstudiocode, diff --git a/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions.js b/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions.js index 80420f812cad9..393acb586b70b 100644 --- a/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions.js +++ b/tests/baselines/reference/regularExpressionUnicodePropertyValueExpressionSuggestions.js @@ -5,4 +5,5 @@ const regex = /\p{ascii}\p{Sc=Unknown}\p{sc=unknownX}\p{Script_Declensions=Inher //// [regularExpressionUnicodePropertyValueExpressionSuggestions.js] +"use strict"; var regex = /\p{ascii}\p{Sc=Unknown}\p{sc=unknownX}\p{Script_Declensions=Inherited}\p{scx=inherit}/u; diff --git a/tests/baselines/reference/regularExpressionWithNonBMPFlags.js b/tests/baselines/reference/regularExpressionWithNonBMPFlags.js index a6581efa2827e..f02fbee5419f8 100644 --- a/tests/baselines/reference/regularExpressionWithNonBMPFlags.js +++ b/tests/baselines/reference/regularExpressionWithNonBMPFlags.js @@ -11,6 +11,7 @@ const 𝘳𝘦𝘨𝘦𝘹 = /(?𝘴𝘪-𝘮:^𝘧𝘰𝘰.)/𝘨𝘮𝘶; //// [regularExpressionWithNonBMPFlags.js] +"use strict"; // The characters in the following regular expression are ASCII-lookalike characters found in Unicode, including: // - 𝘴 (U+1D634 Mathematical Sans-Serif Italic Small S) // - 𝘪 (U+1D62A Mathematical Sans-Serif Italic Small I) diff --git a/tests/baselines/reference/relatedViaDiscriminatedTypeNoError.js b/tests/baselines/reference/relatedViaDiscriminatedTypeNoError.js index 9102449c8f43c..05e6d91c4e109 100644 --- a/tests/baselines/reference/relatedViaDiscriminatedTypeNoError.js +++ b/tests/baselines/reference/relatedViaDiscriminatedTypeNoError.js @@ -14,6 +14,7 @@ class B extends A { } //// [relatedViaDiscriminatedTypeNoError.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/relationalOperatorComparable.js b/tests/baselines/reference/relationalOperatorComparable.js index 4a2265bf0832b..f5eb0309ec0c3 100644 --- a/tests/baselines/reference/relationalOperatorComparable.js +++ b/tests/baselines/reference/relationalOperatorComparable.js @@ -19,6 +19,7 @@ function f(onethree: 1 | 3, two: 2) { //// [relationalOperatorComparable.js] +"use strict"; function f(onethree, two) { var t = true; var f = false; diff --git a/tests/baselines/reference/renamingDestructuredPropertyInFunctionType.js b/tests/baselines/reference/renamingDestructuredPropertyInFunctionType.js index f24c417f4dd5c..31acf5fb734a2 100644 --- a/tests/baselines/reference/renamingDestructuredPropertyInFunctionType.js +++ b/tests/baselines/reference/renamingDestructuredPropertyInFunctionType.js @@ -69,6 +69,7 @@ const f11 = ({ [2]: string }) => { }; function f12({ a: string = "" }: O): typeof string { return "a"; } //// [renamingDestructuredPropertyInFunctionType.js] +"use strict"; // GH#37454, GH#41044 // Below are OK but renaming should be removed from declaration emit function f1({ a: string }) { } diff --git a/tests/baselines/reference/renamingDestructuredPropertyInFunctionType3.js b/tests/baselines/reference/renamingDestructuredPropertyInFunctionType3.js index 347dac98581be..693c2b7ff5523 100644 --- a/tests/baselines/reference/renamingDestructuredPropertyInFunctionType3.js +++ b/tests/baselines/reference/renamingDestructuredPropertyInFunctionType3.js @@ -11,6 +11,7 @@ function f14 ({ [sym]: string }: O) { }; //// [renamingDestructuredPropertyInFunctionType3.js] +"use strict"; const sym = Symbol(); const f13 = ({ [sym]: string }) => { }; function f14({ [sym]: string }) { } diff --git a/tests/baselines/reference/reorderProperties.js b/tests/baselines/reference/reorderProperties.js index 31304c54f5e60..803fbed0b772b 100644 --- a/tests/baselines/reference/reorderProperties.js +++ b/tests/baselines/reference/reorderProperties.js @@ -22,5 +22,6 @@ var d: D<{ n: number; s: string }> = c //// [reorderProperties.js] +"use strict"; var c; var d = c; diff --git a/tests/baselines/reference/requireOfAnEmptyFile1.js b/tests/baselines/reference/requireOfAnEmptyFile1.js index 44d67731e08f2..01308ef76a32c 100644 --- a/tests/baselines/reference/requireOfAnEmptyFile1.js +++ b/tests/baselines/reference/requireOfAnEmptyFile1.js @@ -7,6 +7,7 @@ import fs = require('./requireOfAnEmptyFile1_b'); //// [requireOfAnEmptyFile1_b.js] +"use strict"; //// [requireOfAnEmptyFile1_a.js] "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); diff --git a/tests/baselines/reference/requireTwoPropertyAccesses.js b/tests/baselines/reference/requireTwoPropertyAccesses.js index 3df498a96d1d6..5dfd16cece9c0 100644 --- a/tests/baselines/reference/requireTwoPropertyAccesses.js +++ b/tests/baselines/reference/requireTwoPropertyAccesses.js @@ -12,11 +12,13 @@ console.log(value) //// [mod.js] +"use strict"; module.exports = { x: { y: "value" } }; //// [requireTwoPropertyAccesses.js] +"use strict"; var value = require("./mod").x.y; console.log(value); diff --git a/tests/baselines/reference/requiredInitializedParameter1.js b/tests/baselines/reference/requiredInitializedParameter1.js index 381624899fe30..c9592edf14b24 100644 --- a/tests/baselines/reference/requiredInitializedParameter1.js +++ b/tests/baselines/reference/requiredInitializedParameter1.js @@ -22,6 +22,7 @@ f3(0); f4(0); //// [requiredInitializedParameter1.js] +"use strict"; function f1(a, b, c) { if (b === void 0) { b = 0; } } diff --git a/tests/baselines/reference/requiredInitializedParameter2.js b/tests/baselines/reference/requiredInitializedParameter2.js index 55684af42186b..926a92624988e 100644 --- a/tests/baselines/reference/requiredInitializedParameter2.js +++ b/tests/baselines/reference/requiredInitializedParameter2.js @@ -10,6 +10,7 @@ class C1 implements I1 { } //// [requiredInitializedParameter2.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/requiredInitializedParameter3.js b/tests/baselines/reference/requiredInitializedParameter3.js index c64bb20295fd5..86e82311f4780 100644 --- a/tests/baselines/reference/requiredInitializedParameter3.js +++ b/tests/baselines/reference/requiredInitializedParameter3.js @@ -10,6 +10,7 @@ class C1 implements I1 { } //// [requiredInitializedParameter3.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/requiredInitializedParameter4.js b/tests/baselines/reference/requiredInitializedParameter4.js index 64f0a2aecefed..3e234d15e9c29 100644 --- a/tests/baselines/reference/requiredInitializedParameter4.js +++ b/tests/baselines/reference/requiredInitializedParameter4.js @@ -6,6 +6,7 @@ class C1 { } //// [requiredInitializedParameter4.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/reservedNameOnInterfaceImport.js b/tests/baselines/reference/reservedNameOnInterfaceImport.js index 22561e862f172..6d7d2c2aead41 100644 --- a/tests/baselines/reference/reservedNameOnInterfaceImport.js +++ b/tests/baselines/reference/reservedNameOnInterfaceImport.js @@ -10,3 +10,4 @@ declare namespace test { //// [reservedNameOnInterfaceImport.js] +"use strict"; diff --git a/tests/baselines/reference/reservedNameOnModuleImport.js b/tests/baselines/reference/reservedNameOnModuleImport.js index 1135c162f1149..c769407ee428e 100644 --- a/tests/baselines/reference/reservedNameOnModuleImport.js +++ b/tests/baselines/reference/reservedNameOnModuleImport.js @@ -10,3 +10,4 @@ declare namespace test { //// [reservedNameOnModuleImport.js] +"use strict"; diff --git a/tests/baselines/reference/reservedNameOnModuleImportWithInterface.js b/tests/baselines/reference/reservedNameOnModuleImportWithInterface.js index 0ef159f4ad20b..b30c1e7f619ef 100644 --- a/tests/baselines/reference/reservedNameOnModuleImportWithInterface.js +++ b/tests/baselines/reference/reservedNameOnModuleImportWithInterface.js @@ -11,3 +11,4 @@ declare namespace test { //// [reservedNameOnModuleImportWithInterface.js] +"use strict"; diff --git a/tests/baselines/reference/reservedNamesInAliases.js b/tests/baselines/reference/reservedNamesInAliases.js index 415eccb0df7a2..e80ee0ef99fe8 100644 --- a/tests/baselines/reference/reservedNamesInAliases.js +++ b/tests/baselines/reference/reservedNamesInAliases.js @@ -11,6 +11,7 @@ type object = I; //// [reservedNamesInAliases.js] +"use strict"; type; void ; I; diff --git a/tests/baselines/reference/reservedWords.js b/tests/baselines/reference/reservedWords.js index cffcf6ffcd829..3234c9b9cb71e 100644 --- a/tests/baselines/reference/reservedWords.js +++ b/tests/baselines/reference/reservedWords.js @@ -20,6 +20,7 @@ var obj2 = { //// [reservedWords.js] +"use strict"; var obj = { if: 0, debugger: 2, diff --git a/tests/baselines/reference/reservedWords3.js b/tests/baselines/reference/reservedWords3.js index b326bc47a4333..fcbf356703adc 100644 --- a/tests/baselines/reference/reservedWords3.js +++ b/tests/baselines/reference/reservedWords3.js @@ -9,6 +9,7 @@ function f5(for) {} //// [reservedWords3.js] +"use strict"; function f1() { } var ; (function () { diff --git a/tests/baselines/reference/resolveInterfaceNameWithSameLetDeclarationName1.js b/tests/baselines/reference/resolveInterfaceNameWithSameLetDeclarationName1.js index fc35f3a791edf..b3043ff93ee98 100644 --- a/tests/baselines/reference/resolveInterfaceNameWithSameLetDeclarationName1.js +++ b/tests/baselines/reference/resolveInterfaceNameWithSameLetDeclarationName1.js @@ -6,4 +6,5 @@ let bar: bar; //// [resolveInterfaceNameWithSameLetDeclarationName1.js] +"use strict"; var bar; diff --git a/tests/baselines/reference/resolveInterfaceNameWithSameLetDeclarationName2.js b/tests/baselines/reference/resolveInterfaceNameWithSameLetDeclarationName2.js index 0e6e128889ebb..479d3dcf7b41e 100644 --- a/tests/baselines/reference/resolveInterfaceNameWithSameLetDeclarationName2.js +++ b/tests/baselines/reference/resolveInterfaceNameWithSameLetDeclarationName2.js @@ -7,5 +7,6 @@ let bar: bar | foo; let foo: bar | foo; //// [resolveInterfaceNameWithSameLetDeclarationName2.js] +"use strict"; var bar; var foo; diff --git a/tests/baselines/reference/resolveModuleNameWithSameLetDeclarationName1.js b/tests/baselines/reference/resolveModuleNameWithSameLetDeclarationName1.js index d64dc3b98b633..02fdc4d523b41 100644 --- a/tests/baselines/reference/resolveModuleNameWithSameLetDeclarationName1.js +++ b/tests/baselines/reference/resolveModuleNameWithSameLetDeclarationName1.js @@ -11,4 +11,5 @@ declare namespace foo { let foo: foo.Bar; //// [resolveModuleNameWithSameLetDeclarationName1.js] +"use strict"; var foo; diff --git a/tests/baselines/reference/resolveModuleNameWithSameLetDeclarationName2.js b/tests/baselines/reference/resolveModuleNameWithSameLetDeclarationName2.js index a46314422c8d2..3478501b42265 100644 --- a/tests/baselines/reference/resolveModuleNameWithSameLetDeclarationName2.js +++ b/tests/baselines/reference/resolveModuleNameWithSameLetDeclarationName2.js @@ -11,3 +11,4 @@ declare module "punycode" { } //// [resolveModuleNameWithSameLetDeclarationName2.js] +"use strict"; diff --git a/tests/baselines/reference/resolveNameWithNamspace.js b/tests/baselines/reference/resolveNameWithNamspace.js index 2669cbff06c38..a4e68d98134e8 100644 --- a/tests/baselines/reference/resolveNameWithNamspace.js +++ b/tests/baselines/reference/resolveNameWithNamspace.js @@ -19,8 +19,10 @@ exports.equal = myAssert.equal exports.equal() //// [ns.js] +"use strict"; /// var myAssert = require('assert'); //// [app.js] +"use strict"; exports.equal = myAssert.equal; exports.equal(); diff --git a/tests/baselines/reference/resolveTypeAliasWithSameLetDeclarationName1.js b/tests/baselines/reference/resolveTypeAliasWithSameLetDeclarationName1.js index b66fae6a1d65d..9c8b7dd6fa825 100644 --- a/tests/baselines/reference/resolveTypeAliasWithSameLetDeclarationName1.js +++ b/tests/baselines/reference/resolveTypeAliasWithSameLetDeclarationName1.js @@ -7,6 +7,7 @@ let baz: baz; //// [resolveTypeAliasWithSameLetDeclarationName1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/resolvingClassDeclarationWhenInBaseTypeResolution.js b/tests/baselines/reference/resolvingClassDeclarationWhenInBaseTypeResolution.js index 4eafd567e4a31..c37b6dd9c9267 100644 --- a/tests/baselines/reference/resolvingClassDeclarationWhenInBaseTypeResolution.js +++ b/tests/baselines/reference/resolvingClassDeclarationWhenInBaseTypeResolution.js @@ -1022,6 +1022,7 @@ namespace caurinus { //// [resolvingClassDeclarationWhenInBaseTypeResolution.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/restArgAssignmentCompat.js b/tests/baselines/reference/restArgAssignmentCompat.js index a7952a180877f..e1f25489d0e76 100644 --- a/tests/baselines/reference/restArgAssignmentCompat.js +++ b/tests/baselines/reference/restArgAssignmentCompat.js @@ -12,6 +12,7 @@ n([4], 'foo'); //// [restArgAssignmentCompat.js] +"use strict"; function f() { var x = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/restArgMissingName.js b/tests/baselines/reference/restArgMissingName.js index 9bb90c451be79..6879d7eed3c0b 100644 --- a/tests/baselines/reference/restArgMissingName.js +++ b/tests/baselines/reference/restArgMissingName.js @@ -5,6 +5,7 @@ function sum (...) {} //// [restArgMissingName.js] +"use strict"; function sum() { var = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/restElementMustBeLast.js b/tests/baselines/reference/restElementMustBeLast.js index 082ce5a0f5733..c7f3623f24465 100644 --- a/tests/baselines/reference/restElementMustBeLast.js +++ b/tests/baselines/reference/restElementMustBeLast.js @@ -6,6 +6,7 @@ var [...a, x] = [1, 2, 3]; // Error, rest must be last element //// [restElementMustBeLast.js] +"use strict"; var _a; var _b = [1, 2, 3], x = _b[1]; // Error, rest must be last element _a = [1, 2, 3], x = _a[1]; // Error, rest must be last element diff --git a/tests/baselines/reference/restElementWithAssignmentPattern1.js b/tests/baselines/reference/restElementWithAssignmentPattern1.js index 43c14d5349f1a..88339907214e2 100644 --- a/tests/baselines/reference/restElementWithAssignmentPattern1.js +++ b/tests/baselines/reference/restElementWithAssignmentPattern1.js @@ -5,5 +5,6 @@ var a: string, b: number; [...[a, b = 0]] = ["", 1]; //// [restElementWithAssignmentPattern1.js] +"use strict"; var a, b; [...[a, b = 0]] = ["", 1]; diff --git a/tests/baselines/reference/restElementWithAssignmentPattern2.js b/tests/baselines/reference/restElementWithAssignmentPattern2.js index 592a7e8692163..d445593876b0b 100644 --- a/tests/baselines/reference/restElementWithAssignmentPattern2.js +++ b/tests/baselines/reference/restElementWithAssignmentPattern2.js @@ -5,5 +5,6 @@ var a: string, b: number; [...{ 0: a = "", b }] = ["", 1]; //// [restElementWithAssignmentPattern2.js] +"use strict"; var a, b; [...{ 0: a = "", b }] = ["", 1]; diff --git a/tests/baselines/reference/restElementWithAssignmentPattern3.js b/tests/baselines/reference/restElementWithAssignmentPattern3.js index b7545e85be647..2c093af1c9aa6 100644 --- a/tests/baselines/reference/restElementWithAssignmentPattern3.js +++ b/tests/baselines/reference/restElementWithAssignmentPattern3.js @@ -6,6 +6,7 @@ var tuple: [string, number] = ["", 1]; [...[a, b = 0]] = tuple; //// [restElementWithAssignmentPattern3.js] +"use strict"; var _a, _b; var a, b; var tuple = ["", 1]; diff --git a/tests/baselines/reference/restElementWithAssignmentPattern4.js b/tests/baselines/reference/restElementWithAssignmentPattern4.js index 85909c640f2ca..8a37a045fa2e7 100644 --- a/tests/baselines/reference/restElementWithAssignmentPattern4.js +++ b/tests/baselines/reference/restElementWithAssignmentPattern4.js @@ -6,6 +6,7 @@ var tuple: [string, number] = ["", 1]; [...{ 0: a = "", b }] = tuple; //// [restElementWithAssignmentPattern4.js] +"use strict"; var _a, _b; var a, b; var tuple = ["", 1]; diff --git a/tests/baselines/reference/restElementWithAssignmentPattern5.js b/tests/baselines/reference/restElementWithAssignmentPattern5.js index e79bd457a3272..aeadd654a54e8 100644 --- a/tests/baselines/reference/restElementWithAssignmentPattern5.js +++ b/tests/baselines/reference/restElementWithAssignmentPattern5.js @@ -5,6 +5,7 @@ var s: string, s2: string; [...[s, s2]] = ["", ""]; //// [restElementWithAssignmentPattern5.js] +"use strict"; var _a; var s, s2; _a = ["", ""].slice(0), s = _a[0], s2 = _a[1]; diff --git a/tests/baselines/reference/restElementWithBindingPattern.js b/tests/baselines/reference/restElementWithBindingPattern.js index 3c93f20343bea..ec33a52c3c214 100644 --- a/tests/baselines/reference/restElementWithBindingPattern.js +++ b/tests/baselines/reference/restElementWithBindingPattern.js @@ -4,4 +4,5 @@ var [...[a, b]] = [0, 1]; //// [restElementWithBindingPattern.js] +"use strict"; var _a = [0, 1].slice(0), a = _a[0], b = _a[1]; diff --git a/tests/baselines/reference/restElementWithBindingPattern2.js b/tests/baselines/reference/restElementWithBindingPattern2.js index 49f07ab03da31..86ba3f5a356c0 100644 --- a/tests/baselines/reference/restElementWithBindingPattern2.js +++ b/tests/baselines/reference/restElementWithBindingPattern2.js @@ -4,4 +4,5 @@ var [...{0: a, b }] = [0, 1]; //// [restElementWithBindingPattern2.js] +"use strict"; var _a = [0, 1].slice(0), a = _a[0], b = _a.b; diff --git a/tests/baselines/reference/restElementWithInitializer1.js b/tests/baselines/reference/restElementWithInitializer1.js index 90dc3b2a5ae05..0f866cd48e19f 100644 --- a/tests/baselines/reference/restElementWithInitializer1.js +++ b/tests/baselines/reference/restElementWithInitializer1.js @@ -6,4 +6,5 @@ var [...x = a] = a; // Error, rest element cannot have initializer //// [restElementWithInitializer1.js] +"use strict"; var _a = a.slice(0), x = _a === void 0 ? a : _a; // Error, rest element cannot have initializer diff --git a/tests/baselines/reference/restElementWithInitializer2.js b/tests/baselines/reference/restElementWithInitializer2.js index 04fdd63627d70..5e6760b66058e 100644 --- a/tests/baselines/reference/restElementWithInitializer2.js +++ b/tests/baselines/reference/restElementWithInitializer2.js @@ -7,6 +7,7 @@ var x: number[]; //// [restElementWithInitializer2.js] +"use strict"; var _a; var x; _a = a.slice(0), x = _a === void 0 ? a : _a; // Error, rest element cannot have initializer diff --git a/tests/baselines/reference/restElementWithNullInitializer.js b/tests/baselines/reference/restElementWithNullInitializer.js index 522aa7bfe0180..a72fc735b7a84 100644 --- a/tests/baselines/reference/restElementWithNullInitializer.js +++ b/tests/baselines/reference/restElementWithNullInitializer.js @@ -15,6 +15,7 @@ function foo4([...r] = []) { //// [restElementWithNullInitializer.js] +"use strict"; function foo1(_a) { var r = (_a === void 0 ? null : _a).slice(0); } diff --git a/tests/baselines/reference/restElementWithNumberPropertyName.js b/tests/baselines/reference/restElementWithNumberPropertyName.js index bf7fb380182e0..5c58c8382a7fe 100644 --- a/tests/baselines/reference/restElementWithNumberPropertyName.js +++ b/tests/baselines/reference/restElementWithNumberPropertyName.js @@ -5,6 +5,7 @@ const { 0: a, ...b } = [0, 1, 2]; //// [restElementWithNumberPropertyName.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/restIntersection.js b/tests/baselines/reference/restIntersection.js index b47d1d35bb9dd..3c56f3f6def24 100644 --- a/tests/baselines/reference/restIntersection.js +++ b/tests/baselines/reference/restIntersection.js @@ -8,6 +8,7 @@ var {x, ...rest1 } = intersection; //// [restIntersection.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/restInvalidArgumentType.js b/tests/baselines/reference/restInvalidArgumentType.js index c8ec563936439..dba7c38697c7c 100644 --- a/tests/baselines/reference/restInvalidArgumentType.js +++ b/tests/baselines/reference/restInvalidArgumentType.js @@ -58,6 +58,7 @@ function f(p1: T, p2: T[]) { //// [restInvalidArgumentType.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/restParamAsOptional.js b/tests/baselines/reference/restParamAsOptional.js index c4a6f324e8aed..3b7818d5cff02 100644 --- a/tests/baselines/reference/restParamAsOptional.js +++ b/tests/baselines/reference/restParamAsOptional.js @@ -5,6 +5,7 @@ function f(...x?) { } function f2(...x = []) { } //// [restParamAsOptional.js] +"use strict"; function f() { var x = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/restParamModifier.js b/tests/baselines/reference/restParamModifier.js index 48d6be96b8663..1c76aa872bfbb 100644 --- a/tests/baselines/reference/restParamModifier.js +++ b/tests/baselines/reference/restParamModifier.js @@ -6,6 +6,7 @@ class C { } //// [restParamModifier.js] +"use strict"; var C = /** @class */ (function () { function C(rest) { } diff --git a/tests/baselines/reference/restParamModifier2.js b/tests/baselines/reference/restParamModifier2.js index 4242e1d230b19..1e8c05886bc8a 100644 --- a/tests/baselines/reference/restParamModifier2.js +++ b/tests/baselines/reference/restParamModifier2.js @@ -6,6 +6,7 @@ class C { } //// [restParamModifier2.js] +"use strict"; var C = /** @class */ (function () { function C() { var rest = []; diff --git a/tests/baselines/reference/restParameterAssignmentCompatibility.js b/tests/baselines/reference/restParameterAssignmentCompatibility.js index 91d14a4ce6318..48963aff961f5 100644 --- a/tests/baselines/reference/restParameterAssignmentCompatibility.js +++ b/tests/baselines/reference/restParameterAssignmentCompatibility.js @@ -29,6 +29,7 @@ var t1: T1; t1 = s; // Similar to above, but optionality does not matter here. //// [restParameterAssignmentCompatibility.js] +"use strict"; var T = /** @class */ (function () { function T() { } diff --git a/tests/baselines/reference/restParameterInDownlevelGenerator.js b/tests/baselines/reference/restParameterInDownlevelGenerator.js index b0c249b9f2f49..08ac25f93f58b 100644 --- a/tests/baselines/reference/restParameterInDownlevelGenerator.js +++ b/tests/baselines/reference/restParameterInDownlevelGenerator.js @@ -7,6 +7,7 @@ function * mergeStringLists(...strings: string[]) { } //// [restParameterInDownlevelGenerator.js] +"use strict"; // https://github.com/Microsoft/TypeScript/issues/30653 function mergeStringLists() { var _i, strings_1, strings_1_1, str; diff --git a/tests/baselines/reference/restParameterNoTypeAnnotation.js b/tests/baselines/reference/restParameterNoTypeAnnotation.js index 583efa5a816f3..aa268bf6a2e3a 100644 --- a/tests/baselines/reference/restParameterNoTypeAnnotation.js +++ b/tests/baselines/reference/restParameterNoTypeAnnotation.js @@ -8,6 +8,7 @@ function foo(...rest) { //// [restParameterNoTypeAnnotation.js] +"use strict"; function foo() { var rest = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/restParameterNotLast.js b/tests/baselines/reference/restParameterNotLast.js index 36c7cc5be5966..ebfe855b6df45 100644 --- a/tests/baselines/reference/restParameterNotLast.js +++ b/tests/baselines/reference/restParameterNotLast.js @@ -4,4 +4,5 @@ function f(...x, y) { } //// [restParameterNotLast.js] +"use strict"; function f(y) { } diff --git a/tests/baselines/reference/restParameterWithBindingPattern1.js b/tests/baselines/reference/restParameterWithBindingPattern1.js index bc59e76e017d7..65d02b4685bae 100644 --- a/tests/baselines/reference/restParameterWithBindingPattern1.js +++ b/tests/baselines/reference/restParameterWithBindingPattern1.js @@ -4,6 +4,7 @@ function a(...{a, b}) { } //// [restParameterWithBindingPattern1.js] +"use strict"; function a() { var _a = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/restParameterWithBindingPattern1.js.map b/tests/baselines/reference/restParameterWithBindingPattern1.js.map index c6d26a7452a4b..f8855c5924855 100644 --- a/tests/baselines/reference/restParameterWithBindingPattern1.js.map +++ b/tests/baselines/reference/restParameterWithBindingPattern1.js.map @@ -1,3 +1,3 @@ //// [restParameterWithBindingPattern1.js.map] -{"version":3,"file":"restParameterWithBindingPattern1.js","sourceRoot":"","sources":["restParameterWithBindingPattern1.ts"],"names":[],"mappings":"AAAA,SAAS,CAAC;IAAC,YAAS;SAAT,UAAS,EAAT,qBAAS,EAAT,IAAS;QAAT,uBAAS;;IAAT,IAAI,CAAC,OAAA,EAAE,CAAC,OAAA,CAAC;AAAI,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,ZnVuY3Rpb24gYSgpIHsNCiAgICB2YXIgX2EgPSBbXTsNCiAgICBmb3IgKHZhciBfaSA9IDA7IF9pIDwgYXJndW1lbnRzLmxlbmd0aDsgX2krKykgew0KICAgICAgICBfYVtfaV0gPSBhcmd1bWVudHNbX2ldOw0KICAgIH0NCiAgICB2YXIgYSA9IF9hLmEsIGIgPSBfYS5iOw0KfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9cmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJyZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxTQUFTLENBQUM7SUFBQyxZQUFTO1NBQVQsVUFBUyxFQUFULHFCQUFTLEVBQVQsSUFBUztRQUFULHVCQUFTOztJQUFULElBQUksQ0FBQyxPQUFBLEVBQUUsQ0FBQyxPQUFBLENBQUM7QUFBSSxDQUFDIn0=,ZnVuY3Rpb24gYSguLi57YSwgYn0pIHsgfQ== +{"version":3,"file":"restParameterWithBindingPattern1.js","sourceRoot":"","sources":["restParameterWithBindingPattern1.ts"],"names":[],"mappings":";AAAA,SAAS,CAAC;IAAC,YAAS;SAAT,UAAS,EAAT,qBAAS,EAAT,IAAS;QAAT,uBAAS;;IAAT,IAAI,CAAC,OAAA,EAAE,CAAC,OAAA,CAAC;AAAI,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KZnVuY3Rpb24gYSgpIHsNCiAgICB2YXIgX2EgPSBbXTsNCiAgICBmb3IgKHZhciBfaSA9IDA7IF9pIDwgYXJndW1lbnRzLmxlbmd0aDsgX2krKykgew0KICAgICAgICBfYVtfaV0gPSBhcmd1bWVudHNbX2ldOw0KICAgIH0NCiAgICB2YXIgYSA9IF9hLmEsIGIgPSBfYS5iOw0KfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9cmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJyZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsU0FBUyxDQUFDO0lBQUMsWUFBUztTQUFULFVBQVMsRUFBVCxxQkFBUyxFQUFULElBQVM7UUFBVCx1QkFBUzs7SUFBVCxJQUFJLENBQUMsT0FBQSxFQUFFLENBQUMsT0FBQSxDQUFDO0FBQUksQ0FBQyJ9,ZnVuY3Rpb24gYSguLi57YSwgYn0pIHsgfQ== diff --git a/tests/baselines/reference/restParameterWithBindingPattern1.sourcemap.txt b/tests/baselines/reference/restParameterWithBindingPattern1.sourcemap.txt index 7cf3e0e3a2a52..ac525f47e529b 100644 --- a/tests/baselines/reference/restParameterWithBindingPattern1.sourcemap.txt +++ b/tests/baselines/reference/restParameterWithBindingPattern1.sourcemap.txt @@ -8,6 +8,7 @@ sources: restParameterWithBindingPattern1.ts emittedFile:restParameterWithBindingPattern1.js sourceFile:restParameterWithBindingPattern1.ts ------------------------------------------------------------------- +>>>"use strict"; >>>function a() { 1 > 2 >^^^^^^^^^ @@ -16,9 +17,9 @@ sourceFile:restParameterWithBindingPattern1.ts 1 > 2 >function 3 > a -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -3 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +3 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) --- >>> var _a = []; 1->^^^^ @@ -26,8 +27,8 @@ sourceFile:restParameterWithBindingPattern1.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1->( 2 > ...{a, b} -1->Emitted(2, 5) Source(1, 12) + SourceIndex(0) -2 >Emitted(2, 17) Source(1, 21) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 12) + SourceIndex(0) +2 >Emitted(3, 17) Source(1, 21) + SourceIndex(0) --- >>> for (var _i = 0; _i < arguments.length; _i++) { 1->^^^^^^^^^ @@ -42,20 +43,20 @@ sourceFile:restParameterWithBindingPattern1.ts 4 > ...{a, b} 5 > 6 > ...{a, b} -1->Emitted(3, 10) Source(1, 12) + SourceIndex(0) -2 >Emitted(3, 20) Source(1, 21) + SourceIndex(0) -3 >Emitted(3, 22) Source(1, 12) + SourceIndex(0) -4 >Emitted(3, 43) Source(1, 21) + SourceIndex(0) -5 >Emitted(3, 45) Source(1, 12) + SourceIndex(0) -6 >Emitted(3, 49) Source(1, 21) + SourceIndex(0) +1->Emitted(4, 10) Source(1, 12) + SourceIndex(0) +2 >Emitted(4, 20) Source(1, 21) + SourceIndex(0) +3 >Emitted(4, 22) Source(1, 12) + SourceIndex(0) +4 >Emitted(4, 43) Source(1, 21) + SourceIndex(0) +5 >Emitted(4, 45) Source(1, 12) + SourceIndex(0) +6 >Emitted(4, 49) Source(1, 21) + SourceIndex(0) --- >>> _a[_i] = arguments[_i]; 1 >^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 > ...{a, b} -1 >Emitted(4, 9) Source(1, 12) + SourceIndex(0) -2 >Emitted(4, 32) Source(1, 21) + SourceIndex(0) +1 >Emitted(5, 9) Source(1, 12) + SourceIndex(0) +2 >Emitted(5, 32) Source(1, 21) + SourceIndex(0) --- >>> } >>> var a = _a.a, b = _a.b; @@ -75,14 +76,14 @@ sourceFile:restParameterWithBindingPattern1.ts 6 > b 7 > 8 > } -1 >Emitted(6, 5) Source(1, 12) + SourceIndex(0) -2 >Emitted(6, 9) Source(1, 16) + SourceIndex(0) -3 >Emitted(6, 10) Source(1, 17) + SourceIndex(0) -4 >Emitted(6, 17) Source(1, 17) + SourceIndex(0) -5 >Emitted(6, 19) Source(1, 19) + SourceIndex(0) -6 >Emitted(6, 20) Source(1, 20) + SourceIndex(0) -7 >Emitted(6, 27) Source(1, 20) + SourceIndex(0) -8 >Emitted(6, 28) Source(1, 21) + SourceIndex(0) +1 >Emitted(7, 5) Source(1, 12) + SourceIndex(0) +2 >Emitted(7, 9) Source(1, 16) + SourceIndex(0) +3 >Emitted(7, 10) Source(1, 17) + SourceIndex(0) +4 >Emitted(7, 17) Source(1, 17) + SourceIndex(0) +5 >Emitted(7, 19) Source(1, 19) + SourceIndex(0) +6 >Emitted(7, 20) Source(1, 20) + SourceIndex(0) +7 >Emitted(7, 27) Source(1, 20) + SourceIndex(0) +8 >Emitted(7, 28) Source(1, 21) + SourceIndex(0) --- >>>} 1 > @@ -90,7 +91,7 @@ sourceFile:restParameterWithBindingPattern1.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 >) { 2 >} -1 >Emitted(7, 1) Source(1, 25) + SourceIndex(0) -2 >Emitted(7, 2) Source(1, 26) + SourceIndex(0) +1 >Emitted(8, 1) Source(1, 25) + SourceIndex(0) +2 >Emitted(8, 2) Source(1, 26) + SourceIndex(0) --- >>>//# sourceMappingURL=restParameterWithBindingPattern1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/restParameterWithBindingPattern2.js b/tests/baselines/reference/restParameterWithBindingPattern2.js index 96f341aca48a8..85114a5964576 100644 --- a/tests/baselines/reference/restParameterWithBindingPattern2.js +++ b/tests/baselines/reference/restParameterWithBindingPattern2.js @@ -4,6 +4,7 @@ function a(...[a, b]) { } //// [restParameterWithBindingPattern2.js] +"use strict"; function a() { var _a = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/restParameterWithBindingPattern2.js.map b/tests/baselines/reference/restParameterWithBindingPattern2.js.map index e6be023f4f567..bda609cf6f9da 100644 --- a/tests/baselines/reference/restParameterWithBindingPattern2.js.map +++ b/tests/baselines/reference/restParameterWithBindingPattern2.js.map @@ -1,3 +1,3 @@ //// [restParameterWithBindingPattern2.js.map] -{"version":3,"file":"restParameterWithBindingPattern2.js","sourceRoot":"","sources":["restParameterWithBindingPattern2.ts"],"names":[],"mappings":"AAAA,SAAS,CAAC;IAAC,YAAS;SAAT,UAAS,EAAT,qBAAS,EAAT,IAAS;QAAT,uBAAS;;IAAT,IAAI,CAAC,QAAA,EAAE,CAAC,QAAA,CAAC;AAAI,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,ZnVuY3Rpb24gYSgpIHsNCiAgICB2YXIgX2EgPSBbXTsNCiAgICBmb3IgKHZhciBfaSA9IDA7IF9pIDwgYXJndW1lbnRzLmxlbmd0aDsgX2krKykgew0KICAgICAgICBfYVtfaV0gPSBhcmd1bWVudHNbX2ldOw0KICAgIH0NCiAgICB2YXIgYSA9IF9hWzBdLCBiID0gX2FbMV07DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1yZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMi5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJyZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxTQUFTLENBQUM7SUFBQyxZQUFTO1NBQVQsVUFBUyxFQUFULHFCQUFTLEVBQVQsSUFBUztRQUFULHVCQUFTOztJQUFULElBQUksQ0FBQyxRQUFBLEVBQUUsQ0FBQyxRQUFBLENBQUM7QUFBSSxDQUFDIn0=,ZnVuY3Rpb24gYSguLi5bYSwgYl0pIHsgfQ== +{"version":3,"file":"restParameterWithBindingPattern2.js","sourceRoot":"","sources":["restParameterWithBindingPattern2.ts"],"names":[],"mappings":";AAAA,SAAS,CAAC;IAAC,YAAS;SAAT,UAAS,EAAT,qBAAS,EAAT,IAAS;QAAT,uBAAS;;IAAT,IAAI,CAAC,QAAA,EAAE,CAAC,QAAA,CAAC;AAAI,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KZnVuY3Rpb24gYSgpIHsNCiAgICB2YXIgX2EgPSBbXTsNCiAgICBmb3IgKHZhciBfaSA9IDA7IF9pIDwgYXJndW1lbnRzLmxlbmd0aDsgX2krKykgew0KICAgICAgICBfYVtfaV0gPSBhcmd1bWVudHNbX2ldOw0KICAgIH0NCiAgICB2YXIgYSA9IF9hWzBdLCBiID0gX2FbMV07DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1yZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMi5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicmVzdFBhcmFtZXRlcldpdGhCaW5kaW5nUGF0dGVybjIuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJyZXN0UGFyYW1ldGVyV2l0aEJpbmRpbmdQYXR0ZXJuMi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsU0FBUyxDQUFDO0lBQUMsWUFBUztTQUFULFVBQVMsRUFBVCxxQkFBUyxFQUFULElBQVM7UUFBVCx1QkFBUzs7SUFBVCxJQUFJLENBQUMsUUFBQSxFQUFFLENBQUMsUUFBQSxDQUFDO0FBQUksQ0FBQyJ9,ZnVuY3Rpb24gYSguLi5bYSwgYl0pIHsgfQ== diff --git a/tests/baselines/reference/restParameterWithBindingPattern2.sourcemap.txt b/tests/baselines/reference/restParameterWithBindingPattern2.sourcemap.txt index 126843fd63b38..0b243fc2a3873 100644 --- a/tests/baselines/reference/restParameterWithBindingPattern2.sourcemap.txt +++ b/tests/baselines/reference/restParameterWithBindingPattern2.sourcemap.txt @@ -8,6 +8,7 @@ sources: restParameterWithBindingPattern2.ts emittedFile:restParameterWithBindingPattern2.js sourceFile:restParameterWithBindingPattern2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>function a() { 1 > 2 >^^^^^^^^^ @@ -16,9 +17,9 @@ sourceFile:restParameterWithBindingPattern2.ts 1 > 2 >function 3 > a -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -3 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +3 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) --- >>> var _a = []; 1->^^^^ @@ -26,8 +27,8 @@ sourceFile:restParameterWithBindingPattern2.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1->( 2 > ...[a, b] -1->Emitted(2, 5) Source(1, 12) + SourceIndex(0) -2 >Emitted(2, 17) Source(1, 21) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 12) + SourceIndex(0) +2 >Emitted(3, 17) Source(1, 21) + SourceIndex(0) --- >>> for (var _i = 0; _i < arguments.length; _i++) { 1->^^^^^^^^^ @@ -42,20 +43,20 @@ sourceFile:restParameterWithBindingPattern2.ts 4 > ...[a, b] 5 > 6 > ...[a, b] -1->Emitted(3, 10) Source(1, 12) + SourceIndex(0) -2 >Emitted(3, 20) Source(1, 21) + SourceIndex(0) -3 >Emitted(3, 22) Source(1, 12) + SourceIndex(0) -4 >Emitted(3, 43) Source(1, 21) + SourceIndex(0) -5 >Emitted(3, 45) Source(1, 12) + SourceIndex(0) -6 >Emitted(3, 49) Source(1, 21) + SourceIndex(0) +1->Emitted(4, 10) Source(1, 12) + SourceIndex(0) +2 >Emitted(4, 20) Source(1, 21) + SourceIndex(0) +3 >Emitted(4, 22) Source(1, 12) + SourceIndex(0) +4 >Emitted(4, 43) Source(1, 21) + SourceIndex(0) +5 >Emitted(4, 45) Source(1, 12) + SourceIndex(0) +6 >Emitted(4, 49) Source(1, 21) + SourceIndex(0) --- >>> _a[_i] = arguments[_i]; 1 >^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 > ...[a, b] -1 >Emitted(4, 9) Source(1, 12) + SourceIndex(0) -2 >Emitted(4, 32) Source(1, 21) + SourceIndex(0) +1 >Emitted(5, 9) Source(1, 12) + SourceIndex(0) +2 >Emitted(5, 32) Source(1, 21) + SourceIndex(0) --- >>> } >>> var a = _a[0], b = _a[1]; @@ -75,14 +76,14 @@ sourceFile:restParameterWithBindingPattern2.ts 6 > b 7 > 8 > ] -1 >Emitted(6, 5) Source(1, 12) + SourceIndex(0) -2 >Emitted(6, 9) Source(1, 16) + SourceIndex(0) -3 >Emitted(6, 10) Source(1, 17) + SourceIndex(0) -4 >Emitted(6, 18) Source(1, 17) + SourceIndex(0) -5 >Emitted(6, 20) Source(1, 19) + SourceIndex(0) -6 >Emitted(6, 21) Source(1, 20) + SourceIndex(0) -7 >Emitted(6, 29) Source(1, 20) + SourceIndex(0) -8 >Emitted(6, 30) Source(1, 21) + SourceIndex(0) +1 >Emitted(7, 5) Source(1, 12) + SourceIndex(0) +2 >Emitted(7, 9) Source(1, 16) + SourceIndex(0) +3 >Emitted(7, 10) Source(1, 17) + SourceIndex(0) +4 >Emitted(7, 18) Source(1, 17) + SourceIndex(0) +5 >Emitted(7, 20) Source(1, 19) + SourceIndex(0) +6 >Emitted(7, 21) Source(1, 20) + SourceIndex(0) +7 >Emitted(7, 29) Source(1, 20) + SourceIndex(0) +8 >Emitted(7, 30) Source(1, 21) + SourceIndex(0) --- >>>} 1 > @@ -90,7 +91,7 @@ sourceFile:restParameterWithBindingPattern2.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 >) { 2 >} -1 >Emitted(7, 1) Source(1, 25) + SourceIndex(0) -2 >Emitted(7, 2) Source(1, 26) + SourceIndex(0) +1 >Emitted(8, 1) Source(1, 25) + SourceIndex(0) +2 >Emitted(8, 2) Source(1, 26) + SourceIndex(0) --- >>>//# sourceMappingURL=restParameterWithBindingPattern2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/restParameterWithBindingPattern3.js b/tests/baselines/reference/restParameterWithBindingPattern3.js index fbf3a788ceff4..5f7f5851c7f2e 100644 --- a/tests/baselines/reference/restParameterWithBindingPattern3.js +++ b/tests/baselines/reference/restParameterWithBindingPattern3.js @@ -12,6 +12,7 @@ function d(...[a, , , d]: [boolean, string, number]) { } function e(...{0: a = 1, 1: b = true, ...rest: rest}: [boolean, string, number]) { } //// [restParameterWithBindingPattern3.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/restParameterWithoutAnnotationIsAnyArray.js b/tests/baselines/reference/restParameterWithoutAnnotationIsAnyArray.js index b0c07283f609c..1d1eabd9292c8 100644 --- a/tests/baselines/reference/restParameterWithoutAnnotationIsAnyArray.js +++ b/tests/baselines/reference/restParameterWithoutAnnotationIsAnyArray.js @@ -29,6 +29,7 @@ var b = { //// [restParameterWithoutAnnotationIsAnyArray.js] +"use strict"; // Rest parameters without type annotations are 'any', errors only for the functions with 2 rest params function foo() { var x = []; diff --git a/tests/baselines/reference/restParameters.js b/tests/baselines/reference/restParameters.js index 4d56c766a0386..78aca96d16aff 100644 --- a/tests/baselines/reference/restParameters.js +++ b/tests/baselines/reference/restParameters.js @@ -10,6 +10,7 @@ function f20(a:string, b?:string, ...c:number[]){} function f21(a:string, b?:string, c?:number, ...d:number[]){} //// [restParameters.js] +"use strict"; function f18(a) { var b = []; for (var _i = 1; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/restParametersOfNonArrayTypes.js b/tests/baselines/reference/restParametersOfNonArrayTypes.js index e354af3b94ee9..a8220339b4b17 100644 --- a/tests/baselines/reference/restParametersOfNonArrayTypes.js +++ b/tests/baselines/reference/restParametersOfNonArrayTypes.js @@ -28,6 +28,7 @@ var b = { } //// [restParametersOfNonArrayTypes.js] +"use strict"; // Rest parameters must be an array type if they have a type annotation, so all these are errors function foo() { var x = []; diff --git a/tests/baselines/reference/restParametersOfNonArrayTypes2.js b/tests/baselines/reference/restParametersOfNonArrayTypes2.js index d8e1f29fada29..627b2179cd0be 100644 --- a/tests/baselines/reference/restParametersOfNonArrayTypes2.js +++ b/tests/baselines/reference/restParametersOfNonArrayTypes2.js @@ -59,6 +59,7 @@ var b2 = { } //// [restParametersOfNonArrayTypes2.js] +"use strict"; // Rest parameters must be an array type if they have a type annotation, // user defined subtypes of array do not count, all of these are errors function foo() { diff --git a/tests/baselines/reference/restParametersWithArrayTypeAnnotations.js b/tests/baselines/reference/restParametersWithArrayTypeAnnotations.js index 0a1c17b52c5f9..7d7c8fe20549e 100644 --- a/tests/baselines/reference/restParametersWithArrayTypeAnnotations.js +++ b/tests/baselines/reference/restParametersWithArrayTypeAnnotations.js @@ -55,6 +55,7 @@ var b2 = { } //// [restParametersWithArrayTypeAnnotations.js] +"use strict"; // Rest parameters must be an array type if they have a type annotation, errors only for the functions with 2 rest params function foo() { var x = []; diff --git a/tests/baselines/reference/restParamsWithNonRestParams.js b/tests/baselines/reference/restParamsWithNonRestParams.js index 43fb0e145a080..baa28d7890e19 100644 --- a/tests/baselines/reference/restParamsWithNonRestParams.js +++ b/tests/baselines/reference/restParamsWithNonRestParams.js @@ -9,6 +9,7 @@ function foo3(a?:string, ...b:number[]){} foo3(); // error but shouldn't be //// [restParamsWithNonRestParams.js] +"use strict"; function foo() { var b = []; for (var _i = 0; _i < arguments.length; _i++) { diff --git a/tests/baselines/reference/restPropertyWithBindingPattern.js b/tests/baselines/reference/restPropertyWithBindingPattern.js index b95e0a0229089..073e16b482da9 100644 --- a/tests/baselines/reference/restPropertyWithBindingPattern.js +++ b/tests/baselines/reference/restPropertyWithBindingPattern.js @@ -7,6 +7,7 @@ ({...([])} = {}); //// [restPropertyWithBindingPattern.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/restTypeRetainsMappyness.js b/tests/baselines/reference/restTypeRetainsMappyness.js index c880b50bfb4f0..5070ce45600dc 100644 --- a/tests/baselines/reference/restTypeRetainsMappyness.js +++ b/tests/baselines/reference/restTypeRetainsMappyness.js @@ -12,6 +12,7 @@ function test(fn: (...args: Foo) => void) { //// [restTypeRetainsMappyness.js] +"use strict"; function test(fn) { var arr = {}; fn.apply(void 0, arr); // Error: Argument of type 'any[]' is not assignable to parameter of type 'Foo' diff --git a/tests/baselines/reference/restUnion.js b/tests/baselines/reference/restUnion.js index cef5541d940d8..e758a07d93f70 100644 --- a/tests/baselines/reference/restUnion.js +++ b/tests/baselines/reference/restUnion.js @@ -18,6 +18,7 @@ var {n, ...rest3 } = nullUnion; //// [restUnion.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/restUnion2.js b/tests/baselines/reference/restUnion2.js index 0fe7e0ff8c94a..260e98e2c6bd2 100644 --- a/tests/baselines/reference/restUnion2.js +++ b/tests/baselines/reference/restUnion2.js @@ -12,6 +12,7 @@ var {...rest3 } = nullUnion; //// [restUnion2.js] +"use strict"; var __rest = (this && this.__rest) || function (s, e) { var t = {}; for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) diff --git a/tests/baselines/reference/returnInConstructor1.js b/tests/baselines/reference/returnInConstructor1.js index 6b40579442b47..a63e684dcb93f 100644 --- a/tests/baselines/reference/returnInConstructor1.js +++ b/tests/baselines/reference/returnInConstructor1.js @@ -69,6 +69,7 @@ class I extends G { //// [returnInConstructor1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/returnInfiniteIntersection.js b/tests/baselines/reference/returnInfiniteIntersection.js index 32793637b723f..fe99de755d2a0 100644 --- a/tests/baselines/reference/returnInfiniteIntersection.js +++ b/tests/baselines/reference/returnInfiniteIntersection.js @@ -10,6 +10,7 @@ let result = recursive()(1) //// [returnInfiniteIntersection.js] +"use strict"; function recursive() { var x = function (subkey) { return recursive(); }; return x; diff --git a/tests/baselines/reference/returnStatement1.js b/tests/baselines/reference/returnStatement1.js index b46c59b7a7ed5..ed1f8733d0838 100644 --- a/tests/baselines/reference/returnStatement1.js +++ b/tests/baselines/reference/returnStatement1.js @@ -9,6 +9,7 @@ function f() { } //// [returnStatement1.js] +"use strict"; function f() { return function (s) { var x = s; diff --git a/tests/baselines/reference/returnStatementNoAsiAfterTransform(target=es5).js b/tests/baselines/reference/returnStatementNoAsiAfterTransform(target=es5).js index 0485eb813e407..11a96a8383970 100644 --- a/tests/baselines/reference/returnStatementNoAsiAfterTransform(target=es5).js +++ b/tests/baselines/reference/returnStatementNoAsiAfterTransform(target=es5).js @@ -66,6 +66,7 @@ function t10() { //// [returnStatementNoAsiAfterTransform.js] +"use strict"; var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) { if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; } return cooked; diff --git a/tests/baselines/reference/returnStatementNoAsiAfterTransform(target=esnext).js b/tests/baselines/reference/returnStatementNoAsiAfterTransform(target=esnext).js index 65e3b7057f673..1db6c0e008805 100644 --- a/tests/baselines/reference/returnStatementNoAsiAfterTransform(target=esnext).js +++ b/tests/baselines/reference/returnStatementNoAsiAfterTransform(target=esnext).js @@ -66,6 +66,7 @@ function t10() { //// [returnStatementNoAsiAfterTransform.js] +"use strict"; function t1() { return ( // comment diff --git a/tests/baselines/reference/returnStatements.js b/tests/baselines/reference/returnStatements.js index ada629e19d8fe..475d616253eae 100644 --- a/tests/baselines/reference/returnStatements.js +++ b/tests/baselines/reference/returnStatements.js @@ -27,6 +27,7 @@ function fn13(): C { return null; } //// [returnStatements.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/returnTypeParameter.js b/tests/baselines/reference/returnTypeParameter.js index fccbecafccae5..b836b6284c79b 100644 --- a/tests/baselines/reference/returnTypeParameter.js +++ b/tests/baselines/reference/returnTypeParameter.js @@ -5,5 +5,6 @@ function f(a: T): T { } // error, no return statement function f2(a: T): T { return T; } // bug was that this satisfied the return statement requirement //// [returnTypeParameter.js] +"use strict"; function f(a) { } // error, no return statement function f2(a) { return T; } // bug was that this satisfied the return statement requirement diff --git a/tests/baselines/reference/returnTypeParameterWithModules.js b/tests/baselines/reference/returnTypeParameterWithModules.js index 65805b0933ace..543acb23c1cf5 100644 --- a/tests/baselines/reference/returnTypeParameterWithModules.js +++ b/tests/baselines/reference/returnTypeParameterWithModules.js @@ -17,6 +17,7 @@ namespace M2 { }; //// [returnTypeParameterWithModules.js] +"use strict"; var M1; (function (M1) { function reduce(ar, f, e) { diff --git a/tests/baselines/reference/returnTypeTypeArguments.js b/tests/baselines/reference/returnTypeTypeArguments.js index f125800ecc0b9..3438d7a21baa9 100644 --- a/tests/baselines/reference/returnTypeTypeArguments.js +++ b/tests/baselines/reference/returnTypeTypeArguments.js @@ -79,6 +79,7 @@ declare var a: { //// [returnTypeTypeArguments.js] +"use strict"; var One = /** @class */ (function () { function One() { } diff --git a/tests/baselines/reference/returnValueInSetter.js b/tests/baselines/reference/returnValueInSetter.js index e3dae908dd424..b272906d10997 100644 --- a/tests/baselines/reference/returnValueInSetter.js +++ b/tests/baselines/reference/returnValueInSetter.js @@ -10,6 +10,7 @@ class f { //// [returnValueInSetter.js] +"use strict"; var f = /** @class */ (function () { function f() { } diff --git a/tests/baselines/reference/reverseInferenceInContextualInstantiation.js b/tests/baselines/reference/reverseInferenceInContextualInstantiation.js index 0171145f2aa7a..71467eb7e2c80 100644 --- a/tests/baselines/reference/reverseInferenceInContextualInstantiation.js +++ b/tests/baselines/reference/reverseInferenceInContextualInstantiation.js @@ -7,6 +7,7 @@ x.sort(compare); // Error, but shouldn't be //// [reverseInferenceInContextualInstantiation.js] +"use strict"; function compare(a, b) { return 0; } var x; x.sort(compare); // Error, but shouldn't be diff --git a/tests/baselines/reference/reverseMappedTypeAssignableToIndex.js b/tests/baselines/reference/reverseMappedTypeAssignableToIndex.js index 6c9269ed0868b..8ad05b97d18c4 100644 --- a/tests/baselines/reference/reverseMappedTypeAssignableToIndex.js +++ b/tests/baselines/reference/reverseMappedTypeAssignableToIndex.js @@ -22,3 +22,4 @@ type Inferred = InferFromMapped; type Test1 = Inferred extends Record ? true : false; //// [reverseMappedTypeAssignableToIndex.js] +"use strict"; diff --git a/tests/baselines/reference/reverseMappedTypeContextualTypeNotCircular.js b/tests/baselines/reference/reverseMappedTypeContextualTypeNotCircular.js index 75971fa639dcd..2ed0e5c96d563 100644 --- a/tests/baselines/reference/reverseMappedTypeContextualTypeNotCircular.js +++ b/tests/baselines/reference/reverseMappedTypeContextualTypeNotCircular.js @@ -14,6 +14,7 @@ const mapStateToProps = createStructuredSelector({ }); //// [reverseMappedTypeContextualTypeNotCircular.js] +"use strict"; var editable = function () { return ({}); }; var mapStateToProps = createStructuredSelector({ editable: function (state, props) { return editable(); }, // expect "Type '(state: any, props: any) => {}' is not assignable to type 'Selector'", _not_ a circularity error diff --git a/tests/baselines/reference/reverseMappedTypeLimitedConstraint.js b/tests/baselines/reference/reverseMappedTypeLimitedConstraint.js index 0be7aa8d6a423..a52ed9afb1b05 100644 --- a/tests/baselines/reference/reverseMappedTypeLimitedConstraint.js +++ b/tests/baselines/reference/reverseMappedTypeLimitedConstraint.js @@ -18,6 +18,7 @@ const checked_ = checkType_<{x: number, y: string}>()({ }); //// [reverseMappedTypeLimitedConstraint.js] +"use strict"; foo_({ x: 1, y: 'foo' }); // ----------------------------------------------------------------------------------------- var checkType_ = function () { return function (value) { return value; }; }; diff --git a/tests/baselines/reference/reversedRecusiveTypeInstantiation.js b/tests/baselines/reference/reversedRecusiveTypeInstantiation.js index 95e3329a2248d..2847d04ce3445 100644 --- a/tests/baselines/reference/reversedRecusiveTypeInstantiation.js +++ b/tests/baselines/reference/reversedRecusiveTypeInstantiation.js @@ -13,5 +13,6 @@ a.zPos2Pos1.xPos1 = 1 //// [reversedRecusiveTypeInstantiation.js] +"use strict"; var a; a.zPos2Pos1.xPos1 = 1; diff --git a/tests/baselines/reference/scannerAdditiveExpression1.js b/tests/baselines/reference/scannerAdditiveExpression1.js index e501a30785193..f3ad152deb136 100644 --- a/tests/baselines/reference/scannerAdditiveExpression1.js +++ b/tests/baselines/reference/scannerAdditiveExpression1.js @@ -4,4 +4,5 @@ m.index+1+m[0].length; //// [scannerAdditiveExpression1.js] +"use strict"; m.index + 1 + m[0].length; diff --git a/tests/baselines/reference/scannerES3NumericLiteral1.js b/tests/baselines/reference/scannerES3NumericLiteral1.js index 821023e11d442..433cd2b33aa62 100644 --- a/tests/baselines/reference/scannerES3NumericLiteral1.js +++ b/tests/baselines/reference/scannerES3NumericLiteral1.js @@ -4,4 +4,5 @@ 0 //// [scannerES3NumericLiteral1.js] +"use strict"; 0; diff --git a/tests/baselines/reference/scannerES3NumericLiteral2.js b/tests/baselines/reference/scannerES3NumericLiteral2.js index eef15dbe5697a..c9386a5540092 100644 --- a/tests/baselines/reference/scannerES3NumericLiteral2.js +++ b/tests/baselines/reference/scannerES3NumericLiteral2.js @@ -4,4 +4,5 @@ 01 //// [scannerES3NumericLiteral2.js] +"use strict"; 1; diff --git a/tests/baselines/reference/scannerES3NumericLiteral3.js b/tests/baselines/reference/scannerES3NumericLiteral3.js index 2a64805f72cb5..ef451afe5d048 100644 --- a/tests/baselines/reference/scannerES3NumericLiteral3.js +++ b/tests/baselines/reference/scannerES3NumericLiteral3.js @@ -4,5 +4,6 @@ 01.0 //// [scannerES3NumericLiteral3.js] +"use strict"; 1; .0; diff --git a/tests/baselines/reference/scannerES3NumericLiteral4.js b/tests/baselines/reference/scannerES3NumericLiteral4.js index a0a1e09204861..c96f3dd876f65 100644 --- a/tests/baselines/reference/scannerES3NumericLiteral4.js +++ b/tests/baselines/reference/scannerES3NumericLiteral4.js @@ -4,4 +4,5 @@ 1e //// [scannerES3NumericLiteral4.js] +"use strict"; 1e; diff --git a/tests/baselines/reference/scannerES3NumericLiteral5.js b/tests/baselines/reference/scannerES3NumericLiteral5.js index 1d982975cb5e6..a28afb6605701 100644 --- a/tests/baselines/reference/scannerES3NumericLiteral5.js +++ b/tests/baselines/reference/scannerES3NumericLiteral5.js @@ -4,4 +4,5 @@ 1e0 //// [scannerES3NumericLiteral5.js] +"use strict"; 1e0; diff --git a/tests/baselines/reference/scannerES3NumericLiteral6.js b/tests/baselines/reference/scannerES3NumericLiteral6.js index 81465405f610e..fa4681f501236 100644 --- a/tests/baselines/reference/scannerES3NumericLiteral6.js +++ b/tests/baselines/reference/scannerES3NumericLiteral6.js @@ -4,4 +4,5 @@ 1e+ //// [scannerES3NumericLiteral6.js] +"use strict"; 1e+; diff --git a/tests/baselines/reference/scannerES3NumericLiteral7.js b/tests/baselines/reference/scannerES3NumericLiteral7.js index f2b26153a2b4c..fe17aef6427af 100644 --- a/tests/baselines/reference/scannerES3NumericLiteral7.js +++ b/tests/baselines/reference/scannerES3NumericLiteral7.js @@ -4,4 +4,5 @@ 1e+0 //// [scannerES3NumericLiteral7.js] +"use strict"; 1e+0; diff --git a/tests/baselines/reference/scannerImportDeclaration1.js b/tests/baselines/reference/scannerImportDeclaration1.js index dbd642df905bb..a36dc8d68c28b 100644 --- a/tests/baselines/reference/scannerImportDeclaration1.js +++ b/tests/baselines/reference/scannerImportDeclaration1.js @@ -4,4 +4,5 @@ import TypeScript = TypeScriptServices.TypeScript; //// [scannerImportDeclaration1.js] +"use strict"; var TypeScript = TypeScriptServices.TypeScript; diff --git a/tests/baselines/reference/scannerNonAsciiHorizontalWhitespace.js b/tests/baselines/reference/scannerNonAsciiHorizontalWhitespace.js index b262a963ca9ef..4f2cf842834ff 100644 --- a/tests/baselines/reference/scannerNonAsciiHorizontalWhitespace.js +++ b/tests/baselines/reference/scannerNonAsciiHorizontalWhitespace.js @@ -10,6 +10,7 @@ //// [scannerNonAsciiHorizontalWhitespace.js] +"use strict"; //// [scannerNonAsciiHorizontalWhitespace.ts] "  function f() {}"; //// [scannerNonAsciiHorizontalWhitespace.js] diff --git a/tests/baselines/reference/scannerNumericLiteral1.js b/tests/baselines/reference/scannerNumericLiteral1.js index 5cbdcba381559..a4be7d7ad9632 100644 --- a/tests/baselines/reference/scannerNumericLiteral1.js +++ b/tests/baselines/reference/scannerNumericLiteral1.js @@ -4,4 +4,5 @@ 0 //// [scannerNumericLiteral1.js] +"use strict"; 0; diff --git a/tests/baselines/reference/scannerNumericLiteral2.js b/tests/baselines/reference/scannerNumericLiteral2.js index ff84df86264d7..885a0a4d2e3d0 100644 --- a/tests/baselines/reference/scannerNumericLiteral2.js +++ b/tests/baselines/reference/scannerNumericLiteral2.js @@ -4,4 +4,5 @@ 01 //// [scannerNumericLiteral2.js] +"use strict"; 1; diff --git a/tests/baselines/reference/scannerNumericLiteral3.js b/tests/baselines/reference/scannerNumericLiteral3.js index af350a14f2267..e029b77b2e381 100644 --- a/tests/baselines/reference/scannerNumericLiteral3.js +++ b/tests/baselines/reference/scannerNumericLiteral3.js @@ -4,5 +4,6 @@ 01.0 //// [scannerNumericLiteral3.js] +"use strict"; 1; .0; diff --git a/tests/baselines/reference/scannerNumericLiteral4.js b/tests/baselines/reference/scannerNumericLiteral4.js index c1523aecd1b74..a409ca559fe46 100644 --- a/tests/baselines/reference/scannerNumericLiteral4.js +++ b/tests/baselines/reference/scannerNumericLiteral4.js @@ -4,4 +4,5 @@ 1e //// [scannerNumericLiteral4.js] +"use strict"; 1e; diff --git a/tests/baselines/reference/scannerNumericLiteral5.js b/tests/baselines/reference/scannerNumericLiteral5.js index 0fd1109e8402b..6dd3d457dc313 100644 --- a/tests/baselines/reference/scannerNumericLiteral5.js +++ b/tests/baselines/reference/scannerNumericLiteral5.js @@ -4,4 +4,5 @@ 1e0 //// [scannerNumericLiteral5.js] +"use strict"; 1e0; diff --git a/tests/baselines/reference/scannerNumericLiteral6.js b/tests/baselines/reference/scannerNumericLiteral6.js index b1d2c5d3c0164..4b57f73fa5973 100644 --- a/tests/baselines/reference/scannerNumericLiteral6.js +++ b/tests/baselines/reference/scannerNumericLiteral6.js @@ -4,4 +4,5 @@ 1e+ //// [scannerNumericLiteral6.js] +"use strict"; 1e+; diff --git a/tests/baselines/reference/scannerNumericLiteral7.js b/tests/baselines/reference/scannerNumericLiteral7.js index aa78e28d101ef..97c79d129a93e 100644 --- a/tests/baselines/reference/scannerNumericLiteral7.js +++ b/tests/baselines/reference/scannerNumericLiteral7.js @@ -4,4 +4,5 @@ 1e+0 //// [scannerNumericLiteral7.js] +"use strict"; 1e+0; diff --git a/tests/baselines/reference/scannerNumericLiteral8.js b/tests/baselines/reference/scannerNumericLiteral8.js index 071134f843678..c83ee88f815a4 100644 --- a/tests/baselines/reference/scannerNumericLiteral8.js +++ b/tests/baselines/reference/scannerNumericLiteral8.js @@ -4,4 +4,5 @@ -03 //// [scannerNumericLiteral8.js] +"use strict"; -3; diff --git a/tests/baselines/reference/scannerNumericLiteral9.js b/tests/baselines/reference/scannerNumericLiteral9.js index c851a84f250fd..d92b155136fd4 100644 --- a/tests/baselines/reference/scannerNumericLiteral9.js +++ b/tests/baselines/reference/scannerNumericLiteral9.js @@ -4,4 +4,5 @@ 009 //// [scannerNumericLiteral9.js] +"use strict"; 9; diff --git a/tests/baselines/reference/scannerS7.2_A1.5_T2.js b/tests/baselines/reference/scannerS7.2_A1.5_T2.js index 8d542840faf62..9d1878e4db4ed 100644 --- a/tests/baselines/reference/scannerS7.2_A1.5_T2.js +++ b/tests/baselines/reference/scannerS7.2_A1.5_T2.js @@ -27,6 +27,7 @@ if (x !== 1) { //// [scannerS7.2_A1.5_T2.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/scannerS7.3_A1.1_T2.js b/tests/baselines/reference/scannerS7.3_A1.1_T2.js index bc7325b76199f..f89b2970e7f23 100644 --- a/tests/baselines/reference/scannerS7.3_A1.1_T2.js +++ b/tests/baselines/reference/scannerS7.3_A1.1_T2.js @@ -23,6 +23,7 @@ if (x !== 1) { //// [scannerS7.3_A1.1_T2.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/scannerS7.4_A2_T2.js b/tests/baselines/reference/scannerS7.4_A2_T2.js index 0e187fd97596e..c00030dd6073a 100644 --- a/tests/baselines/reference/scannerS7.4_A2_T2.js +++ b/tests/baselines/reference/scannerS7.4_A2_T2.js @@ -17,6 +17,7 @@ //// [scannerS7.4_A2_T2.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/scannerS7.6_A4.2_T1.js b/tests/baselines/reference/scannerS7.6_A4.2_T1.js index aa509de1ae22c..79300f03cf93a 100644 --- a/tests/baselines/reference/scannerS7.6_A4.2_T1.js +++ b/tests/baselines/reference/scannerS7.6_A4.2_T1.js @@ -148,6 +148,7 @@ if (Ё !== 1) { //// [scannerS7.6_A4.2_T1.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/scannerS7.8.3_A6.1_T1.js b/tests/baselines/reference/scannerS7.8.3_A6.1_T1.js index 704aee02c008f..b6667af09ba74 100644 --- a/tests/baselines/reference/scannerS7.8.3_A6.1_T1.js +++ b/tests/baselines/reference/scannerS7.8.3_A6.1_T1.js @@ -18,6 +18,7 @@ //// [scannerS7.8.3_A6.1_T1.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** diff --git a/tests/baselines/reference/scannerS7.8.4_A7.1_T4.js b/tests/baselines/reference/scannerS7.8.4_A7.1_T4.js index a6963b530eebe..6ceb57eb7a780 100644 --- a/tests/baselines/reference/scannerS7.8.4_A7.1_T4.js +++ b/tests/baselines/reference/scannerS7.8.4_A7.1_T4.js @@ -18,6 +18,7 @@ //// [scannerS7.8.4_A7.1_T4.js] +"use strict"; // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. /** @@ -29,3 +30,5 @@ */ //CHECK# "\u000G"; +// Copyright 2009 the Sputnik authors. All rights reserved. +// This code is governed by the BSD license found in the LICENSE file. diff --git a/tests/baselines/reference/scannerStringLiteralWithContainingNullCharacter1.js b/tests/baselines/reference/scannerStringLiteralWithContainingNullCharacter1.js index dbdcf3dd81cdd..327674ea4916e 100644 Binary files a/tests/baselines/reference/scannerStringLiteralWithContainingNullCharacter1.js and b/tests/baselines/reference/scannerStringLiteralWithContainingNullCharacter1.js differ diff --git a/tests/baselines/reference/scannerStringLiterals.js b/tests/baselines/reference/scannerStringLiterals.js index c1de74751090b..e2f0d2ceb0dc0 100644 --- a/tests/baselines/reference/scannerStringLiterals.js +++ b/tests/baselines/reference/scannerStringLiterals.js @@ -14,6 +14,7 @@ "Should error because of end of file. //// [scannerStringLiterals.js] +"use strict"; ""; " "; "a"; diff --git a/tests/baselines/reference/scannerUnexpectedNullCharacter1.js b/tests/baselines/reference/scannerUnexpectedNullCharacter1.js index 1267f3d5bb29c..f9421b07ff485 100644 Binary files a/tests/baselines/reference/scannerUnexpectedNullCharacter1.js and b/tests/baselines/reference/scannerUnexpectedNullCharacter1.js differ diff --git a/tests/baselines/reference/scannerUnicodeEscapeInKeyword1.js b/tests/baselines/reference/scannerUnicodeEscapeInKeyword1.js index 399da031f2b49..57b17a09a38ec 100644 --- a/tests/baselines/reference/scannerUnicodeEscapeInKeyword1.js +++ b/tests/baselines/reference/scannerUnicodeEscapeInKeyword1.js @@ -4,4 +4,5 @@ \u0076ar x = "hello"; //// [scannerUnicodeEscapeInKeyword1.js] +"use strict"; var x = "hello"; diff --git a/tests/baselines/reference/scannertest1.js b/tests/baselines/reference/scannertest1.js index b0f2347c0bae7..2652bc35a11ba 100644 --- a/tests/baselines/reference/scannertest1.js +++ b/tests/baselines/reference/scannertest1.js @@ -27,6 +27,7 @@ class CharacterInfo { //// [scannertest1.js] +"use strict"; /// var CharacterInfo = /** @class */ (function () { function CharacterInfo() { diff --git a/tests/baselines/reference/scopeCheckClassProperty.js b/tests/baselines/reference/scopeCheckClassProperty.js index 841154d1028be..7694a6eb66362 100644 --- a/tests/baselines/reference/scopeCheckClassProperty.js +++ b/tests/baselines/reference/scopeCheckClassProperty.js @@ -13,6 +13,7 @@ class A { //// [scopeCheckClassProperty.js] +"use strict"; var C = /** @class */ (function () { function C() { this.x = new A().p; // should also be ok diff --git a/tests/baselines/reference/scopeCheckExtendedClassInsidePublicMethod2.js b/tests/baselines/reference/scopeCheckExtendedClassInsidePublicMethod2.js index 36f3d53eb86d7..4cd3eac5335c2 100644 --- a/tests/baselines/reference/scopeCheckExtendedClassInsidePublicMethod2.js +++ b/tests/baselines/reference/scopeCheckExtendedClassInsidePublicMethod2.js @@ -11,6 +11,7 @@ class D extends C { } //// [scopeCheckExtendedClassInsidePublicMethod2.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/scopeCheckExtendedClassInsideStaticMethod1.js b/tests/baselines/reference/scopeCheckExtendedClassInsideStaticMethod1.js index 414812ff13ccc..f5705c44f1820 100644 --- a/tests/baselines/reference/scopeCheckExtendedClassInsideStaticMethod1.js +++ b/tests/baselines/reference/scopeCheckExtendedClassInsideStaticMethod1.js @@ -11,6 +11,7 @@ class D extends C { } //// [scopeCheckExtendedClassInsideStaticMethod1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/scopeCheckInsidePublicMethod1.js b/tests/baselines/reference/scopeCheckInsidePublicMethod1.js index b64b2610f7c5f..b264a928002af 100644 --- a/tests/baselines/reference/scopeCheckInsidePublicMethod1.js +++ b/tests/baselines/reference/scopeCheckInsidePublicMethod1.js @@ -9,6 +9,7 @@ class C { } //// [scopeCheckInsidePublicMethod1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/scopeCheckInsideStaticMethod1.js b/tests/baselines/reference/scopeCheckInsideStaticMethod1.js index f24b12e9d9723..cf8de5e4cc416 100644 --- a/tests/baselines/reference/scopeCheckInsideStaticMethod1.js +++ b/tests/baselines/reference/scopeCheckInsideStaticMethod1.js @@ -13,6 +13,7 @@ class C { } //// [scopeCheckInsideStaticMethod1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/scopeCheckStaticInitializer.js b/tests/baselines/reference/scopeCheckStaticInitializer.js index 959f05f2b8120..3f544b5cf7b49 100644 --- a/tests/baselines/reference/scopeCheckStaticInitializer.js +++ b/tests/baselines/reference/scopeCheckStaticInitializer.js @@ -18,6 +18,7 @@ class After { //// [scopeCheckStaticInitializer.js] +"use strict"; var X = /** @class */ (function () { function X() { } diff --git a/tests/baselines/reference/scopeResolutionIdentifiers.js b/tests/baselines/reference/scopeResolutionIdentifiers.js index fff1f3ba20217..b8b9dd1ce3343 100644 --- a/tests/baselines/reference/scopeResolutionIdentifiers.js +++ b/tests/baselines/reference/scopeResolutionIdentifiers.js @@ -41,6 +41,7 @@ namespace M3 { //// [scopeResolutionIdentifiers.js] +"use strict"; // EveryType used in a nested scope of a different EveryType with the same name, type of the identifier is the one defined in the inner scope var s; var M1; diff --git a/tests/baselines/reference/scopeTests.js b/tests/baselines/reference/scopeTests.js index 6b019c25819b6..31d3f7e60272b 100644 --- a/tests/baselines/reference/scopeTests.js +++ b/tests/baselines/reference/scopeTests.js @@ -14,6 +14,7 @@ class D extends C { } //// [scopeTests.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/scopingInCatchBlocks.js b/tests/baselines/reference/scopingInCatchBlocks.js index 503a4398fc439..fe37266b3d88b 100644 --- a/tests/baselines/reference/scopingInCatchBlocks.js +++ b/tests/baselines/reference/scopingInCatchBlocks.js @@ -13,6 +13,7 @@ var x = ex1; // should error //// [scopingInCatchBlocks.js] +"use strict"; try { } catch (ex1) { throw ex1; diff --git a/tests/baselines/reference/seeTag1.js b/tests/baselines/reference/seeTag1.js index a6b85bacd8523..d98449b6660f4 100644 --- a/tests/baselines/reference/seeTag1.js +++ b/tests/baselines/reference/seeTag1.js @@ -22,6 +22,7 @@ const c = "" //// [seeTag1.js] +"use strict"; /** @see {Foo} foooo*/ var a = ""; /** @see {NS.Bar} ns.bar*/ diff --git a/tests/baselines/reference/seeTag2.js b/tests/baselines/reference/seeTag2.js index 1f055875b6123..ba8646ab22c8f 100644 --- a/tests/baselines/reference/seeTag2.js +++ b/tests/baselines/reference/seeTag2.js @@ -24,6 +24,7 @@ const g = "" //// [seeTag2.js] +"use strict"; /** @see {} empty*/ var a = ""; /** @see {aaaaaa} unknown name*/ diff --git a/tests/baselines/reference/seeTag3.js b/tests/baselines/reference/seeTag3.js index 3e2af65b65d8c..f1d185e14438f 100644 --- a/tests/baselines/reference/seeTag3.js +++ b/tests/baselines/reference/seeTag3.js @@ -7,6 +7,7 @@ function theWholeThing() { //// [seeTag3.js] +"use strict"; /** @see [The typescript web site](https://typescriptlang.org) */ function theWholeThing() { } diff --git a/tests/baselines/reference/seeTag4.js b/tests/baselines/reference/seeTag4.js index cf2bb11a6d021..bf163a89c2dea 100644 --- a/tests/baselines/reference/seeTag4.js +++ b/tests/baselines/reference/seeTag4.js @@ -14,6 +14,7 @@ let foo; //// [seeTag4.js] +"use strict"; /** * @typedef {any} A */ diff --git a/tests/baselines/reference/selfInCallback.js b/tests/baselines/reference/selfInCallback.js index c4f774fde4558..54c951f866449 100644 --- a/tests/baselines/reference/selfInCallback.js +++ b/tests/baselines/reference/selfInCallback.js @@ -10,6 +10,7 @@ class C { } //// [selfInCallback.js] +"use strict"; var C = /** @class */ (function () { function C() { this.p1 = 0; diff --git a/tests/baselines/reference/selfInLambdas.js b/tests/baselines/reference/selfInLambdas.js index 2a6f9fc356521..370b1f7e76e24 100644 --- a/tests/baselines/reference/selfInLambdas.js +++ b/tests/baselines/reference/selfInLambdas.js @@ -49,6 +49,7 @@ class X { //// [selfInLambdas.js] +"use strict"; var o = { counter: 0, start: function () { diff --git a/tests/baselines/reference/selfRef.js b/tests/baselines/reference/selfRef.js index 31a7e338041a8..fbaf94542faca 100644 --- a/tests/baselines/reference/selfRef.js +++ b/tests/baselines/reference/selfRef.js @@ -21,6 +21,7 @@ namespace M //// [selfRef.js] +"use strict"; var M; (function (M) { var Test = /** @class */ (function () { diff --git a/tests/baselines/reference/selfReference.js b/tests/baselines/reference/selfReference.js index 87133b54cd52c..f5e5ef5bc725c 100644 --- a/tests/baselines/reference/selfReference.js +++ b/tests/baselines/reference/selfReference.js @@ -5,4 +5,5 @@ declare function asFunction(value: T): () => T; asFunction(() => { return 1; }); //// [selfReference.js] +"use strict"; asFunction(function () { return 1; }); diff --git a/tests/baselines/reference/selfReferencesInFunctionParameters.js b/tests/baselines/reference/selfReferencesInFunctionParameters.js index 0f8469740609e..891c334ef7828 100644 --- a/tests/baselines/reference/selfReferencesInFunctionParameters.js +++ b/tests/baselines/reference/selfReferencesInFunctionParameters.js @@ -16,6 +16,7 @@ class C { } //// [selfReferencesInFunctionParameters.js] +"use strict"; function foo(x) { if (x === void 0) { x = x; } } diff --git a/tests/baselines/reference/selfReferencingFile.js b/tests/baselines/reference/selfReferencingFile.js index 03c7d7e0a0df1..dc941b79aa1de 100644 --- a/tests/baselines/reference/selfReferencingFile.js +++ b/tests/baselines/reference/selfReferencingFile.js @@ -8,6 +8,7 @@ class selfReferencingFile { } //// [selfReferencingFile.js] +"use strict"; /// var selfReferencingFile = /** @class */ (function () { function selfReferencingFile() { diff --git a/tests/baselines/reference/selfReferencingFile2.js b/tests/baselines/reference/selfReferencingFile2.js index db6ef13902c4d..4b9f0913c52b0 100644 --- a/tests/baselines/reference/selfReferencingFile2.js +++ b/tests/baselines/reference/selfReferencingFile2.js @@ -8,6 +8,7 @@ class selfReferencingFile2 { } //// [selfReferencingFile2.js] +"use strict"; /// var selfReferencingFile2 = /** @class */ (function () { function selfReferencingFile2() { diff --git a/tests/baselines/reference/selfReferencingFile3.js b/tests/baselines/reference/selfReferencingFile3.js index 70ea8117b64ea..6f8b577d5b308 100644 --- a/tests/baselines/reference/selfReferencingFile3.js +++ b/tests/baselines/reference/selfReferencingFile3.js @@ -8,6 +8,7 @@ class selfReferencingFile3 { } //// [selfReferencingFile3.js] +"use strict"; /// var selfReferencingFile3 = /** @class */ (function () { function selfReferencingFile3() { diff --git a/tests/baselines/reference/selfReferencingSpreadInLoop.js b/tests/baselines/reference/selfReferencingSpreadInLoop.js index 69b3a90e4b8ae..94aa58f52acd0 100644 --- a/tests/baselines/reference/selfReferencingSpreadInLoop.js +++ b/tests/baselines/reference/selfReferencingSpreadInLoop.js @@ -8,6 +8,7 @@ for (const subcomponent of [1, 2, 3]) { //// [selfReferencingSpreadInLoop.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/selfReferencingTypeReferenceInference.js b/tests/baselines/reference/selfReferencingTypeReferenceInference.js index 31c80ab812e77..65c90159dfd1b 100644 --- a/tests/baselines/reference/selfReferencingTypeReferenceInference.js +++ b/tests/baselines/reference/selfReferencingTypeReferenceInference.js @@ -21,5 +21,6 @@ type t3 = InferRecursive>> // write t1 explic // They have same input type! //// [selfReferencingTypeReferenceInference.js] +"use strict"; // Why is t2 and t3 different?? // They have same input type! diff --git a/tests/baselines/reference/semicolonsInModuleDeclarations.js b/tests/baselines/reference/semicolonsInModuleDeclarations.js index 2bd6083cf9084..a20f160de8c71 100644 --- a/tests/baselines/reference/semicolonsInModuleDeclarations.js +++ b/tests/baselines/reference/semicolonsInModuleDeclarations.js @@ -11,5 +11,6 @@ var n2: ambiModule.i2; //// [semicolonsInModuleDeclarations.js] +"use strict"; var n1; var n2; diff --git a/tests/baselines/reference/separate1-1.js b/tests/baselines/reference/separate1-1.js index b15f9f3987d08..34de25d791489 100644 --- a/tests/baselines/reference/separate1-1.js +++ b/tests/baselines/reference/separate1-1.js @@ -4,4 +4,5 @@ X.f(); //// [separate1-1.js] +"use strict"; X.f(); diff --git a/tests/baselines/reference/separate1-2.js b/tests/baselines/reference/separate1-2.js index 610483bf6c49b..14836494705f1 100644 --- a/tests/baselines/reference/separate1-2.js +++ b/tests/baselines/reference/separate1-2.js @@ -6,6 +6,7 @@ namespace X { } //// [separate1-2.js] +"use strict"; var X; (function (X) { function f() { } diff --git a/tests/baselines/reference/setMethods.js b/tests/baselines/reference/setMethods.js index b8c41f96afba7..c3afdfbb31819 100644 --- a/tests/baselines/reference/setMethods.js +++ b/tests/baselines/reference/setMethods.js @@ -57,6 +57,7 @@ numberSet.isDisjointFrom(numberSetLike); //// [setMethods.js] +"use strict"; let numberSet = new Set([0, 1, 2]); let stringSet = new Set(["a", "b"]); let numberMap = new Map([[4, {}], [5, {}]]); diff --git a/tests/baselines/reference/setterBeforeGetter.js b/tests/baselines/reference/setterBeforeGetter.js index 93fbff9496d48..8bf9c2bae7771 100644 --- a/tests/baselines/reference/setterBeforeGetter.js +++ b/tests/baselines/reference/setterBeforeGetter.js @@ -15,6 +15,7 @@ class Foo { //// [setterBeforeGetter.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/setterWithReturn.js b/tests/baselines/reference/setterWithReturn.js index 41d7b6c4b5045..7271a7a5c637f 100644 --- a/tests/baselines/reference/setterWithReturn.js +++ b/tests/baselines/reference/setterWithReturn.js @@ -13,6 +13,7 @@ class C234 { } //// [setterWithReturn.js] +"use strict"; var C234 = /** @class */ (function () { function C234() { } diff --git a/tests/baselines/reference/shadowPrivateMembers.js b/tests/baselines/reference/shadowPrivateMembers.js index 63ee6b2ecf980..2e0251fa8c96a 100644 --- a/tests/baselines/reference/shadowPrivateMembers.js +++ b/tests/baselines/reference/shadowPrivateMembers.js @@ -6,6 +6,7 @@ class derived extends base { private n() {} } //// [shadowPrivateMembers.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/shadowedInternalModule.js b/tests/baselines/reference/shadowedInternalModule.js index 7ebbe5740f01e..1eee2cc2a9cfd 100644 --- a/tests/baselines/reference/shadowedInternalModule.js +++ b/tests/baselines/reference/shadowedInternalModule.js @@ -68,6 +68,7 @@ namespace s { //// [shadowedInternalModule.js] +"use strict"; // all errors imported modules conflict with local variables var A; (function (A) { diff --git a/tests/baselines/reference/shadowingViaLocalValue.js b/tests/baselines/reference/shadowingViaLocalValue.js index dd68199e9f80a..d7f7ec93d7060 100644 --- a/tests/baselines/reference/shadowingViaLocalValue.js +++ b/tests/baselines/reference/shadowingViaLocalValue.js @@ -18,6 +18,7 @@ //// [shadowingViaLocalValue.js] +"use strict"; { var x_1; { diff --git a/tests/baselines/reference/shadowingViaLocalValueOrBindingElement.js b/tests/baselines/reference/shadowingViaLocalValueOrBindingElement.js index 36304d48707f4..5a6d983ffdd61 100644 --- a/tests/baselines/reference/shadowingViaLocalValueOrBindingElement.js +++ b/tests/baselines/reference/shadowingViaLocalValueOrBindingElement.js @@ -13,6 +13,7 @@ if (true) { } //// [shadowingViaLocalValueOrBindingElement.js] +"use strict"; if (true) { var x_1; if (true) { diff --git a/tests/baselines/reference/shebang.js b/tests/baselines/reference/shebang.js index f12dec9ed826f..5333996ccd3e6 100644 --- a/tests/baselines/reference/shebang.js +++ b/tests/baselines/reference/shebang.js @@ -7,4 +7,5 @@ var foo = 'I wish the generated JS to be executed in node'; //// [shebang.js] #!/usr/bin/env node +"use strict"; var foo = 'I wish the generated JS to be executed in node'; diff --git a/tests/baselines/reference/shebangError.js b/tests/baselines/reference/shebangError.js index 95004e323f32c..8a431bc4f6afe 100644 --- a/tests/baselines/reference/shebangError.js +++ b/tests/baselines/reference/shebangError.js @@ -5,6 +5,7 @@ var foo = 'Shebang is only allowed on the first line'; #!/usr/bin/env node //// [shebangError.js] +"use strict"; var foo = 'Shebang is only allowed on the first line'; !/usr/bin / env; node; diff --git a/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring.js b/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring.js index ee9591c367313..54ee28483480f 100644 --- a/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring.js +++ b/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring.js @@ -118,6 +118,7 @@ function foo({a = 4, b = { x: 5 }}) { } //// [shorthandPropertyAssignmentsInDestructuring.js] +"use strict"; (function () { var _a; var s0; diff --git a/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring_ES6.js b/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring_ES6.js index 9da7a58a6a516..7c21df0dfa4b0 100644 --- a/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring_ES6.js +++ b/tests/baselines/reference/shorthandPropertyAssignmentsInDestructuring_ES6.js @@ -118,6 +118,7 @@ function foo({a = 4, b = { x: 5 }}) { } //// [shorthandPropertyAssignmentsInDestructuring_ES6.js] +"use strict"; (function () { var s0; for ({ s0 = 5 } of [{ s0: 1 }]) { diff --git a/tests/baselines/reference/shorthandPropertyUndefined.js b/tests/baselines/reference/shorthandPropertyUndefined.js index a0f65c72fbd3b..b661152149ab3 100644 --- a/tests/baselines/reference/shorthandPropertyUndefined.js +++ b/tests/baselines/reference/shorthandPropertyUndefined.js @@ -4,4 +4,5 @@ var a = { b }; //// [shorthandPropertyUndefined.js] +"use strict"; var a = { b: b }; diff --git a/tests/baselines/reference/sideEffectImports3(moduledetection=auto,nouncheckedsideeffectimports=false).js b/tests/baselines/reference/sideEffectImports3(moduledetection=auto,nouncheckedsideeffectimports=false).js index f0426f699a23a..686925f4365c4 100644 --- a/tests/baselines/reference/sideEffectImports3(moduledetection=auto,nouncheckedsideeffectimports=false).js +++ b/tests/baselines/reference/sideEffectImports3(moduledetection=auto,nouncheckedsideeffectimports=false).js @@ -8,6 +8,7 @@ console.log("Hello, world!"); //// [not-a-module.js] +"use strict"; console.log("Hello, world!"); //// [index.js] "use strict"; diff --git a/tests/baselines/reference/sideEffectImports3(moduledetection=auto,nouncheckedsideeffectimports=true).js b/tests/baselines/reference/sideEffectImports3(moduledetection=auto,nouncheckedsideeffectimports=true).js index f0426f699a23a..686925f4365c4 100644 --- a/tests/baselines/reference/sideEffectImports3(moduledetection=auto,nouncheckedsideeffectimports=true).js +++ b/tests/baselines/reference/sideEffectImports3(moduledetection=auto,nouncheckedsideeffectimports=true).js @@ -8,6 +8,7 @@ console.log("Hello, world!"); //// [not-a-module.js] +"use strict"; console.log("Hello, world!"); //// [index.js] "use strict"; diff --git a/tests/baselines/reference/sideEffectImports3(moduledetection=legacy,nouncheckedsideeffectimports=false).js b/tests/baselines/reference/sideEffectImports3(moduledetection=legacy,nouncheckedsideeffectimports=false).js index f0426f699a23a..686925f4365c4 100644 --- a/tests/baselines/reference/sideEffectImports3(moduledetection=legacy,nouncheckedsideeffectimports=false).js +++ b/tests/baselines/reference/sideEffectImports3(moduledetection=legacy,nouncheckedsideeffectimports=false).js @@ -8,6 +8,7 @@ console.log("Hello, world!"); //// [not-a-module.js] +"use strict"; console.log("Hello, world!"); //// [index.js] "use strict"; diff --git a/tests/baselines/reference/sideEffectImports3(moduledetection=legacy,nouncheckedsideeffectimports=true).js b/tests/baselines/reference/sideEffectImports3(moduledetection=legacy,nouncheckedsideeffectimports=true).js index f0426f699a23a..686925f4365c4 100644 --- a/tests/baselines/reference/sideEffectImports3(moduledetection=legacy,nouncheckedsideeffectimports=true).js +++ b/tests/baselines/reference/sideEffectImports3(moduledetection=legacy,nouncheckedsideeffectimports=true).js @@ -8,6 +8,7 @@ console.log("Hello, world!"); //// [not-a-module.js] +"use strict"; console.log("Hello, world!"); //// [index.js] "use strict"; diff --git a/tests/baselines/reference/sigantureIsSubTypeIfTheyAreIdentical.js b/tests/baselines/reference/sigantureIsSubTypeIfTheyAreIdentical.js index 57cbcb329bd1f..7276b1db85218 100644 --- a/tests/baselines/reference/sigantureIsSubTypeIfTheyAreIdentical.js +++ b/tests/baselines/reference/sigantureIsSubTypeIfTheyAreIdentical.js @@ -11,6 +11,7 @@ class CacheService implements ICache { // Should not error that property type of } //// [sigantureIsSubTypeIfTheyAreIdentical.js] +"use strict"; var CacheService = /** @class */ (function () { function CacheService() { } diff --git a/tests/baselines/reference/signatureLengthMismatchCall.js b/tests/baselines/reference/signatureLengthMismatchCall.js index b90ee1bdf2871..c40f4ac199233 100644 --- a/tests/baselines/reference/signatureLengthMismatchCall.js +++ b/tests/baselines/reference/signatureLengthMismatchCall.js @@ -9,6 +9,7 @@ takesCallback((a: number, b: number) => {}); //// [signatureLengthMismatchCall.js] +"use strict"; function takesCallback(fn) { // ... } diff --git a/tests/baselines/reference/signatureLengthMismatchInOverload.js b/tests/baselines/reference/signatureLengthMismatchInOverload.js index a7b91dc03cae1..c7d79afaa81d1 100644 --- a/tests/baselines/reference/signatureLengthMismatchInOverload.js +++ b/tests/baselines/reference/signatureLengthMismatchInOverload.js @@ -9,5 +9,6 @@ f((arg: number, arg2: number) => {}); //// [signatureLengthMismatchInOverload.js] +"use strict"; function f(callback) { } f(function (arg, arg2) { }); diff --git a/tests/baselines/reference/signatureLengthMismatchWithOptionalParameters.js b/tests/baselines/reference/signatureLengthMismatchWithOptionalParameters.js index 486388c933693..5ef330b793337 100644 --- a/tests/baselines/reference/signatureLengthMismatchWithOptionalParameters.js +++ b/tests/baselines/reference/signatureLengthMismatchWithOptionalParameters.js @@ -9,6 +9,7 @@ caller(callee); //// [signatureLengthMismatchWithOptionalParameters.js] +"use strict"; function callee(n, m) { } function caller(arg) { } caller(callee); diff --git a/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.js b/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.js index 80e6023584d70..db2502204c82f 100644 --- a/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.js +++ b/tests/baselines/reference/signaturesUseJSDocForOptionalParameters.js @@ -18,6 +18,7 @@ let c2 = pInst.optionalParam('hello', null) //// [out_1.js] +"use strict"; function MyClass() { this.prop = null; } diff --git a/tests/baselines/reference/simpleArrowFunctionParameterReferencedInObjectLiteral1.js b/tests/baselines/reference/simpleArrowFunctionParameterReferencedInObjectLiteral1.js index 7e4936b2e64b3..fe1ebea0bc64d 100644 --- a/tests/baselines/reference/simpleArrowFunctionParameterReferencedInObjectLiteral1.js +++ b/tests/baselines/reference/simpleArrowFunctionParameterReferencedInObjectLiteral1.js @@ -5,4 +5,5 @@ //// [simpleArrowFunctionParameterReferencedInObjectLiteral1.js] +"use strict"; [].map(function () { return [].map(function (p) { return ({ X: p }); }); }); diff --git a/tests/baselines/reference/singletonLabeledTuple.js b/tests/baselines/reference/singletonLabeledTuple.js index d06e3d1c4eb5b..debb36ac968d5 100644 --- a/tests/baselines/reference/singletonLabeledTuple.js +++ b/tests/baselines/reference/singletonLabeledTuple.js @@ -19,3 +19,4 @@ type AliasedRest = AliasRest extends [unknown] ? true : false; // Expect `Aliase type NormalRest = [...number[]] extends [unknown] ? true : false; // Expect `NormalRest` to be `false` //// [singletonLabeledTuple.js] +"use strict"; diff --git a/tests/baselines/reference/slashBeforeVariableDeclaration1.js b/tests/baselines/reference/slashBeforeVariableDeclaration1.js index 9f5e71af58b7d..afbf0387321c2 100644 --- a/tests/baselines/reference/slashBeforeVariableDeclaration1.js +++ b/tests/baselines/reference/slashBeforeVariableDeclaration1.js @@ -4,3 +4,4 @@ \ declare var v; //// [slashBeforeVariableDeclaration1.js] +"use strict"; diff --git a/tests/baselines/reference/sliceResultCast.js b/tests/baselines/reference/sliceResultCast.js index 15136afb7fbb6..0091c80f067a1 100644 --- a/tests/baselines/reference/sliceResultCast.js +++ b/tests/baselines/reference/sliceResultCast.js @@ -6,4 +6,5 @@ declare var x: [number, string] | [number, string, string]; x.slice(1) as readonly string[]; //// [sliceResultCast.js] +"use strict"; x.slice(1); diff --git a/tests/baselines/reference/slightlyIndirectedDeepObjectLiteralElaborations.js b/tests/baselines/reference/slightlyIndirectedDeepObjectLiteralElaborations.js index eb8a4c910f039..f6df5e1856f74 100644 --- a/tests/baselines/reference/slightlyIndirectedDeepObjectLiteralElaborations.js +++ b/tests/baselines/reference/slightlyIndirectedDeepObjectLiteralElaborations.js @@ -24,6 +24,7 @@ const x: Foo = (void 0, { //// [slightlyIndirectedDeepObjectLiteralElaborations.js] +"use strict"; var q; var x = (void 0, { a: q = { diff --git a/tests/baselines/reference/sourceFileMergeWithFunction.js b/tests/baselines/reference/sourceFileMergeWithFunction.js index bd8940e92a2c8..82b0fa10578a1 100644 --- a/tests/baselines/reference/sourceFileMergeWithFunction.js +++ b/tests/baselines/reference/sourceFileMergeWithFunction.js @@ -11,4 +11,5 @@ declare function foo(): any; //// [foo.js] +"use strict"; /// diff --git a/tests/baselines/reference/sourceMap-Comment1.js b/tests/baselines/reference/sourceMap-Comment1.js index 89fe479269910..a4cfaf60bebb5 100644 --- a/tests/baselines/reference/sourceMap-Comment1.js +++ b/tests/baselines/reference/sourceMap-Comment1.js @@ -4,5 +4,6 @@ // Comment //// [sourceMap-Comment1.js] +"use strict"; // Comment //# sourceMappingURL=sourceMap-Comment1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-Comment1.js.map b/tests/baselines/reference/sourceMap-Comment1.js.map index 847b4782e7c16..73bb3efea0187 100644 --- a/tests/baselines/reference/sourceMap-Comment1.js.map +++ b/tests/baselines/reference/sourceMap-Comment1.js.map @@ -1,3 +1,3 @@ //// [sourceMap-Comment1.js.map] -{"version":3,"file":"sourceMap-Comment1.js","sourceRoot":"","sources":["sourceMap-Comment1.ts"],"names":[],"mappings":"AAAA,UAAU"} -//// https://sokra.github.io/source-map-visualization#base64,Ly8gQ29tbWVudA0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLUNvbW1lbnQxLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLUNvbW1lbnQxLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwLUNvbW1lbnQxLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFVBQVUifQ==,Ly8gQ29tbWVudA== +{"version":3,"file":"sourceMap-Comment1.js","sourceRoot":"","sources":["sourceMap-Comment1.ts"],"names":[],"mappings":";AAAA,UAAU"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KLy8gQ29tbWVudA0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLUNvbW1lbnQxLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLUNvbW1lbnQxLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwLUNvbW1lbnQxLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxVQUFVIn0=,Ly8gQ29tbWVudA== diff --git a/tests/baselines/reference/sourceMap-Comment1.sourcemap.txt b/tests/baselines/reference/sourceMap-Comment1.sourcemap.txt index ebc6822babb4f..77218a10f63e3 100644 --- a/tests/baselines/reference/sourceMap-Comment1.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-Comment1.sourcemap.txt @@ -8,13 +8,14 @@ sources: sourceMap-Comment1.ts emittedFile:sourceMap-Comment1.js sourceFile:sourceMap-Comment1.ts ------------------------------------------------------------------- +>>>"use strict"; >>>// Comment 1 > 2 >^^^^^^^^^^ 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > 2 >// Comment -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMap-Comment1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-Comments.js b/tests/baselines/reference/sourceMap-Comments.js index a7c6be9f3f2a8..eeed5bced1962 100644 --- a/tests/baselines/reference/sourceMap-Comments.js +++ b/tests/baselines/reference/sourceMap-Comments.js @@ -23,6 +23,7 @@ namespace sas.tools { //// [sourceMap-Comments.js] +"use strict"; var sas; (function (sas) { var tools; diff --git a/tests/baselines/reference/sourceMap-Comments.js.map b/tests/baselines/reference/sourceMap-Comments.js.map index cf310bbccffb8..4c0a07b32440e 100644 --- a/tests/baselines/reference/sourceMap-Comments.js.map +++ b/tests/baselines/reference/sourceMap-Comments.js.map @@ -1,3 +1,3 @@ //// [sourceMap-Comments.js.map] -{"version":3,"file":"sourceMap-Comments.js","sourceRoot":"","sources":["sourceMap-Comments.ts"],"names":[],"mappings":"AAAA,IAAU,GAAG,CAkBZ;AAlBD,WAAU,GAAG;IAAC,IAAA,KAAK,CAkBlB;IAlBa,WAAA,KAAK;QACf;YAAA;YAeA,CAAC;YAdU,kBAAG,GAAV;gBACI,IAAI,CAAC,GAAW,CAAC,CAAC;gBAClB,QAAQ,CAAC,EAAE,CAAC;oBACR,KAAK,CAAC;wBACF,MAAM;oBACV,KAAK,CAAC;wBACF,gBAAgB;wBAChB,gBAAgB;wBAChB,MAAM;oBACV,KAAK,CAAC;wBACF,WAAW;wBACX,MAAM;gBACd,CAAC;YACL,CAAC;YACL,WAAC;QAAD,CAAC,AAfD,IAeC;QAfY,UAAI,OAehB,CAAA;IAEL,CAAC,EAlBa,KAAK,GAAL,SAAK,KAAL,SAAK,QAkBlB;AAAD,CAAC,EAlBS,GAAG,KAAH,GAAG,QAkBZ"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHNhczsNCihmdW5jdGlvbiAoc2FzKSB7DQogICAgdmFyIHRvb2xzOw0KICAgIChmdW5jdGlvbiAodG9vbHMpIHsNCiAgICAgICAgdmFyIFRlc3QgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICBmdW5jdGlvbiBUZXN0KCkgew0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgVGVzdC5wcm90b3R5cGUuZG9YID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIHZhciBmID0gMjsNCiAgICAgICAgICAgICAgICBzd2l0Y2ggKGYpIHsNCiAgICAgICAgICAgICAgICAgICAgY2FzZSAxOg0KICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQogICAgICAgICAgICAgICAgICAgIGNhc2UgMjoNCiAgICAgICAgICAgICAgICAgICAgICAgIC8vbGluZSBjb21tZW50IDENCiAgICAgICAgICAgICAgICAgICAgICAgIC8vbGluZSBjb21tZW50IDINCiAgICAgICAgICAgICAgICAgICAgICAgIGJyZWFrOw0KICAgICAgICAgICAgICAgICAgICBjYXNlIDM6DQogICAgICAgICAgICAgICAgICAgICAgICAvL2EgY29tbWVudA0KICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQogICAgICAgICAgICAgICAgfQ0KICAgICAgICAgICAgfTsNCiAgICAgICAgICAgIHJldHVybiBUZXN0Ow0KICAgICAgICB9KCkpOw0KICAgICAgICB0b29scy5UZXN0ID0gVGVzdDsNCiAgICB9KSh0b29scyA9IHNhcy50b29scyB8fCAoc2FzLnRvb2xzID0ge30pKTsNCn0pKHNhcyB8fCAoc2FzID0ge30pKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcC1Db21tZW50cy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLUNvbW1lbnRzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwLUNvbW1lbnRzLnRzIl0sIm5hbWVzIjpbXSwibWFwcG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gICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KCn0K +{"version":3,"file":"sourceMap-Comments.js","sourceRoot":"","sources":["sourceMap-Comments.ts"],"names":[],"mappings":";AAAA,IAAU,GAAG,CAkBZ;AAlBD,WAAU,GAAG;IAAC,IAAA,KAAK,CAkBlB;IAlBa,WAAA,KAAK;QACf;YAAA;YAeA,CAAC;YAdU,kBAAG,GAAV;gBACI,IAAI,CAAC,GAAW,CAAC,CAAC;gBAClB,QAAQ,CAAC,EAAE,CAAC;oBACR,KAAK,CAAC;wBACF,MAAM;oBACV,KAAK,CAAC;wBACF,gBAAgB;wBAChB,gBAAgB;wBAChB,MAAM;oBACV,KAAK,CAAC;wBACF,WAAW;wBACX,MAAM;gBACd,CAAC;YACL,CAAC;YACL,WAAC;QAAD,CAAC,AAfD,IAeC;QAfY,UAAI,OAehB,CAAA;IAEL,CAAC,EAlBa,KAAK,GAAL,SAAK,KAAL,SAAK,QAkBlB;AAAD,CAAC,EAlBS,GAAG,KAAH,GAAG,QAkBZ"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIHNhczsNCihmdW5jdGlvbiAoc2FzKSB7DQogICAgdmFyIHRvb2xzOw0KICAgIChmdW5jdGlvbiAodG9vbHMpIHsNCiAgICAgICAgdmFyIFRlc3QgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICBmdW5jdGlvbiBUZXN0KCkgew0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgVGVzdC5wcm90b3R5cGUuZG9YID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIHZhciBmID0gMjsNCiAgICAgICAgICAgICAgICBzd2l0Y2ggKGYpIHsNCiAgICAgICAgICAgICAgICAgICAgY2FzZSAxOg0KICAgICAgICAgICAgICAgICAgICAgICAgYnJlYWs7DQogICAgICAgICAgICAgICAgICAgIGNhc2UgMjoNCiAgICAgICAgICAgICAgICA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M7WUFDTCxDQUFDO1lBQ0wsV0FBQztRQUFELENBQUMsQUFmRCxJQWVDO1FBZlksVUFBSSxPQWVoQixDQUFBO0lBRUwsQ0FBQyxFQWxCYSxLQUFLLEdBQUwsU0FBSyxLQUFMLFNBQUssUUFrQmxCO0FBQUQsQ0FBQyxFQWxCUyxHQUFHLEtBQUgsR0FBRyxRQWtCWiJ9,bmFtZXNwYWNlIHNhcy50b29scyB7CiAgICBleHBvcnQgY2xhc3MgVGVzdCB7CiAgICAgICAgcHVibGljIGRvWCgpOiB2b2lkIHsKICAgICAgICAgICAgbGV0IGY6IG51bWJlciA9IDI7CiAgICAgICAgICAgIHN3aXRjaCAoZikgewogICAgICAgICAgICAgICAgY2FzZSAxOgogICAgICAgICAgICAgICAgICAgIGJyZWFrOwogICAgICAgICAgICAgICAgY2FzZSAyOgogICAgICAgICAgICAgICAgICAgIC8vbGluZSBjb21tZW50IDEKICAgICAgICAgICAgICAgICAgICAvL2xpbmUgY29tbWVudCAyCiAgICAgICAgICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgICAgICAgICBjYXNlIDM6CiAgICAgICAgICAgICAgICAgICAgLy9hIGNvbW1lbnQKICAgICAgICAgICAgICAgICAgICBicmVhazsKICAgICAgICAgICAgfQogICAgICAgIH0KICAgIH0KCn0K diff --git a/tests/baselines/reference/sourceMap-Comments.sourcemap.txt b/tests/baselines/reference/sourceMap-Comments.sourcemap.txt index 3486b25fff77e..97be9121d17da 100644 --- a/tests/baselines/reference/sourceMap-Comments.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-Comments.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMap-Comments.ts emittedFile:sourceMap-Comments.js sourceFile:sourceMap-Comments.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var sas; 1 > 2 >^^^^ @@ -36,10 +37,10 @@ sourceFile:sourceMap-Comments.ts > } > > } -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 11) + SourceIndex(0) -3 >Emitted(1, 8) Source(1, 14) + SourceIndex(0) -4 >Emitted(1, 9) Source(19, 2) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 11) + SourceIndex(0) +3 >Emitted(2, 8) Source(1, 14) + SourceIndex(0) +4 >Emitted(2, 9) Source(19, 2) + SourceIndex(0) --- >>>(function (sas) { 1-> @@ -49,9 +50,9 @@ sourceFile:sourceMap-Comments.ts 1-> 2 >namespace 3 > sas -1->Emitted(2, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(2, 12) Source(1, 11) + SourceIndex(0) -3 >Emitted(2, 15) Source(1, 14) + SourceIndex(0) +1->Emitted(3, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(3, 12) Source(1, 11) + SourceIndex(0) +3 >Emitted(3, 15) Source(1, 14) + SourceIndex(0) --- >>> var tools; 1->^^^^ @@ -81,10 +82,10 @@ sourceFile:sourceMap-Comments.ts > } > > } -1->Emitted(3, 5) Source(1, 15) + SourceIndex(0) -2 >Emitted(3, 9) Source(1, 15) + SourceIndex(0) -3 >Emitted(3, 14) Source(1, 20) + SourceIndex(0) -4 >Emitted(3, 15) Source(19, 2) + SourceIndex(0) +1->Emitted(4, 5) Source(1, 15) + SourceIndex(0) +2 >Emitted(4, 9) Source(1, 15) + SourceIndex(0) +3 >Emitted(4, 14) Source(1, 20) + SourceIndex(0) +4 >Emitted(4, 15) Source(19, 2) + SourceIndex(0) --- >>> (function (tools) { 1->^^^^ @@ -94,22 +95,22 @@ sourceFile:sourceMap-Comments.ts 1-> 2 > 3 > tools -1->Emitted(4, 5) Source(1, 15) + SourceIndex(0) -2 >Emitted(4, 16) Source(1, 15) + SourceIndex(0) -3 >Emitted(4, 21) Source(1, 20) + SourceIndex(0) +1->Emitted(5, 5) Source(1, 15) + SourceIndex(0) +2 >Emitted(5, 16) Source(1, 15) + SourceIndex(0) +3 >Emitted(5, 21) Source(1, 20) + SourceIndex(0) --- >>> var Test = /** @class */ (function () { 1->^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^-> 1-> { > -1->Emitted(5, 9) Source(2, 5) + SourceIndex(0) +1->Emitted(6, 9) Source(2, 5) + SourceIndex(0) --- >>> function Test() { 1->^^^^^^^^^^^^ 2 > ^^-> 1-> -1->Emitted(6, 13) Source(2, 5) + SourceIndex(0) +1->Emitted(7, 13) Source(2, 5) + SourceIndex(0) --- >>> } 1->^^^^^^^^^^^^ @@ -132,8 +133,8 @@ sourceFile:sourceMap-Comments.ts > } > 2 > } -1->Emitted(7, 13) Source(17, 5) + SourceIndex(0) -2 >Emitted(7, 14) Source(17, 6) + SourceIndex(0) +1->Emitted(8, 13) Source(17, 5) + SourceIndex(0) +2 >Emitted(8, 14) Source(17, 6) + SourceIndex(0) --- >>> Test.prototype.doX = function () { 1->^^^^^^^^^^^^ @@ -142,9 +143,9 @@ sourceFile:sourceMap-Comments.ts 1-> 2 > doX 3 > -1->Emitted(8, 13) Source(3, 16) + SourceIndex(0) -2 >Emitted(8, 31) Source(3, 19) + SourceIndex(0) -3 >Emitted(8, 34) Source(3, 9) + SourceIndex(0) +1->Emitted(9, 13) Source(3, 16) + SourceIndex(0) +2 >Emitted(9, 31) Source(3, 19) + SourceIndex(0) +3 >Emitted(9, 34) Source(3, 9) + SourceIndex(0) --- >>> var f = 2; 1 >^^^^^^^^^^^^^^^^ @@ -161,12 +162,12 @@ sourceFile:sourceMap-Comments.ts 4 > : number = 5 > 2 6 > ; -1 >Emitted(9, 17) Source(4, 13) + SourceIndex(0) -2 >Emitted(9, 21) Source(4, 17) + SourceIndex(0) -3 >Emitted(9, 22) Source(4, 18) + SourceIndex(0) -4 >Emitted(9, 25) Source(4, 29) + SourceIndex(0) -5 >Emitted(9, 26) Source(4, 30) + SourceIndex(0) -6 >Emitted(9, 27) Source(4, 31) + SourceIndex(0) +1 >Emitted(10, 17) Source(4, 13) + SourceIndex(0) +2 >Emitted(10, 21) Source(4, 17) + SourceIndex(0) +3 >Emitted(10, 22) Source(4, 18) + SourceIndex(0) +4 >Emitted(10, 25) Source(4, 29) + SourceIndex(0) +5 >Emitted(10, 26) Source(4, 30) + SourceIndex(0) +6 >Emitted(10, 27) Source(4, 31) + SourceIndex(0) --- >>> switch (f) { 1->^^^^^^^^^^^^^^^^ @@ -180,11 +181,11 @@ sourceFile:sourceMap-Comments.ts 3 > f 4 > ) 5 > { -1->Emitted(10, 17) Source(5, 13) + SourceIndex(0) -2 >Emitted(10, 25) Source(5, 21) + SourceIndex(0) -3 >Emitted(10, 26) Source(5, 22) + SourceIndex(0) -4 >Emitted(10, 28) Source(5, 24) + SourceIndex(0) -5 >Emitted(10, 29) Source(5, 25) + SourceIndex(0) +1->Emitted(11, 17) Source(5, 13) + SourceIndex(0) +2 >Emitted(11, 25) Source(5, 21) + SourceIndex(0) +3 >Emitted(11, 26) Source(5, 22) + SourceIndex(0) +4 >Emitted(11, 28) Source(5, 24) + SourceIndex(0) +5 >Emitted(11, 29) Source(5, 25) + SourceIndex(0) --- >>> case 1: 1 >^^^^^^^^^^^^^^^^^^^^ @@ -195,9 +196,9 @@ sourceFile:sourceMap-Comments.ts > 2 > case 3 > 1 -1 >Emitted(11, 21) Source(6, 17) + SourceIndex(0) -2 >Emitted(11, 26) Source(6, 22) + SourceIndex(0) -3 >Emitted(11, 27) Source(6, 23) + SourceIndex(0) +1 >Emitted(12, 21) Source(6, 17) + SourceIndex(0) +2 >Emitted(12, 26) Source(6, 22) + SourceIndex(0) +3 >Emitted(12, 27) Source(6, 23) + SourceIndex(0) --- >>> break; 1->^^^^^^^^^^^^^^^^^^^^^^^^ @@ -205,8 +206,8 @@ sourceFile:sourceMap-Comments.ts 1->: > 2 > break; -1->Emitted(12, 25) Source(7, 21) + SourceIndex(0) -2 >Emitted(12, 31) Source(7, 27) + SourceIndex(0) +1->Emitted(13, 25) Source(7, 21) + SourceIndex(0) +2 >Emitted(13, 31) Source(7, 27) + SourceIndex(0) --- >>> case 2: 1 >^^^^^^^^^^^^^^^^^^^^ @@ -217,9 +218,9 @@ sourceFile:sourceMap-Comments.ts > 2 > case 3 > 2 -1 >Emitted(13, 21) Source(8, 17) + SourceIndex(0) -2 >Emitted(13, 26) Source(8, 22) + SourceIndex(0) -3 >Emitted(13, 27) Source(8, 23) + SourceIndex(0) +1 >Emitted(14, 21) Source(8, 17) + SourceIndex(0) +2 >Emitted(14, 26) Source(8, 22) + SourceIndex(0) +3 >Emitted(14, 27) Source(8, 23) + SourceIndex(0) --- >>> //line comment 1 1->^^^^^^^^^^^^^^^^^^^^^^^^ @@ -228,8 +229,8 @@ sourceFile:sourceMap-Comments.ts 1->: > 2 > //line comment 1 -1->Emitted(14, 25) Source(9, 21) + SourceIndex(0) -2 >Emitted(14, 41) Source(9, 37) + SourceIndex(0) +1->Emitted(15, 25) Source(9, 21) + SourceIndex(0) +2 >Emitted(15, 41) Source(9, 37) + SourceIndex(0) --- >>> //line comment 2 1->^^^^^^^^^^^^^^^^^^^^^^^^ @@ -237,8 +238,8 @@ sourceFile:sourceMap-Comments.ts 1-> > 2 > //line comment 2 -1->Emitted(15, 25) Source(10, 21) + SourceIndex(0) -2 >Emitted(15, 41) Source(10, 37) + SourceIndex(0) +1->Emitted(16, 25) Source(10, 21) + SourceIndex(0) +2 >Emitted(16, 41) Source(10, 37) + SourceIndex(0) --- >>> break; 1 >^^^^^^^^^^^^^^^^^^^^^^^^ @@ -246,8 +247,8 @@ sourceFile:sourceMap-Comments.ts 1 > > 2 > break; -1 >Emitted(16, 25) Source(11, 21) + SourceIndex(0) -2 >Emitted(16, 31) Source(11, 27) + SourceIndex(0) +1 >Emitted(17, 25) Source(11, 21) + SourceIndex(0) +2 >Emitted(17, 31) Source(11, 27) + SourceIndex(0) --- >>> case 3: 1 >^^^^^^^^^^^^^^^^^^^^ @@ -258,9 +259,9 @@ sourceFile:sourceMap-Comments.ts > 2 > case 3 > 3 -1 >Emitted(17, 21) Source(12, 17) + SourceIndex(0) -2 >Emitted(17, 26) Source(12, 22) + SourceIndex(0) -3 >Emitted(17, 27) Source(12, 23) + SourceIndex(0) +1 >Emitted(18, 21) Source(12, 17) + SourceIndex(0) +2 >Emitted(18, 26) Source(12, 22) + SourceIndex(0) +3 >Emitted(18, 27) Source(12, 23) + SourceIndex(0) --- >>> //a comment 1->^^^^^^^^^^^^^^^^^^^^^^^^ @@ -268,8 +269,8 @@ sourceFile:sourceMap-Comments.ts 1->: > 2 > //a comment -1->Emitted(18, 25) Source(13, 21) + SourceIndex(0) -2 >Emitted(18, 36) Source(13, 32) + SourceIndex(0) +1->Emitted(19, 25) Source(13, 21) + SourceIndex(0) +2 >Emitted(19, 36) Source(13, 32) + SourceIndex(0) --- >>> break; 1 >^^^^^^^^^^^^^^^^^^^^^^^^ @@ -277,8 +278,8 @@ sourceFile:sourceMap-Comments.ts 1 > > 2 > break; -1 >Emitted(19, 25) Source(14, 21) + SourceIndex(0) -2 >Emitted(19, 31) Source(14, 27) + SourceIndex(0) +1 >Emitted(20, 25) Source(14, 21) + SourceIndex(0) +2 >Emitted(20, 31) Source(14, 27) + SourceIndex(0) --- >>> } 1 >^^^^^^^^^^^^^^^^ @@ -286,8 +287,8 @@ sourceFile:sourceMap-Comments.ts 1 > > 2 > } -1 >Emitted(20, 17) Source(15, 13) + SourceIndex(0) -2 >Emitted(20, 18) Source(15, 14) + SourceIndex(0) +1 >Emitted(21, 17) Source(15, 13) + SourceIndex(0) +2 >Emitted(21, 18) Source(15, 14) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^^^^^ @@ -296,8 +297,8 @@ sourceFile:sourceMap-Comments.ts 1 > > 2 > } -1 >Emitted(21, 13) Source(16, 9) + SourceIndex(0) -2 >Emitted(21, 14) Source(16, 10) + SourceIndex(0) +1 >Emitted(22, 13) Source(16, 9) + SourceIndex(0) +2 >Emitted(22, 14) Source(16, 10) + SourceIndex(0) --- >>> return Test; 1->^^^^^^^^^^^^ @@ -305,8 +306,8 @@ sourceFile:sourceMap-Comments.ts 1-> > 2 > } -1->Emitted(22, 13) Source(17, 5) + SourceIndex(0) -2 >Emitted(22, 24) Source(17, 6) + SourceIndex(0) +1->Emitted(23, 13) Source(17, 5) + SourceIndex(0) +2 >Emitted(23, 24) Source(17, 6) + SourceIndex(0) --- >>> }()); 1 >^^^^^^^^ @@ -333,10 +334,10 @@ sourceFile:sourceMap-Comments.ts > } > } > } -1 >Emitted(23, 9) Source(17, 5) + SourceIndex(0) -2 >Emitted(23, 10) Source(17, 6) + SourceIndex(0) -3 >Emitted(23, 10) Source(2, 5) + SourceIndex(0) -4 >Emitted(23, 14) Source(17, 6) + SourceIndex(0) +1 >Emitted(24, 9) Source(17, 5) + SourceIndex(0) +2 >Emitted(24, 10) Source(17, 6) + SourceIndex(0) +3 >Emitted(24, 10) Source(2, 5) + SourceIndex(0) +4 >Emitted(24, 14) Source(17, 6) + SourceIndex(0) --- >>> tools.Test = Test; 1->^^^^^^^^ @@ -363,10 +364,10 @@ sourceFile:sourceMap-Comments.ts > } > } 4 > -1->Emitted(24, 9) Source(2, 18) + SourceIndex(0) -2 >Emitted(24, 19) Source(2, 22) + SourceIndex(0) -3 >Emitted(24, 26) Source(17, 6) + SourceIndex(0) -4 >Emitted(24, 27) Source(17, 6) + SourceIndex(0) +1->Emitted(25, 9) Source(2, 18) + SourceIndex(0) +2 >Emitted(25, 19) Source(2, 22) + SourceIndex(0) +3 >Emitted(25, 26) Source(17, 6) + SourceIndex(0) +4 >Emitted(25, 27) Source(17, 6) + SourceIndex(0) --- >>> })(tools = sas.tools || (sas.tools = {})); 1->^^^^ @@ -407,15 +408,15 @@ sourceFile:sourceMap-Comments.ts > } > > } -1->Emitted(25, 5) Source(19, 1) + SourceIndex(0) -2 >Emitted(25, 6) Source(19, 2) + SourceIndex(0) -3 >Emitted(25, 8) Source(1, 15) + SourceIndex(0) -4 >Emitted(25, 13) Source(1, 20) + SourceIndex(0) -5 >Emitted(25, 16) Source(1, 15) + SourceIndex(0) -6 >Emitted(25, 25) Source(1, 20) + SourceIndex(0) -7 >Emitted(25, 30) Source(1, 15) + SourceIndex(0) -8 >Emitted(25, 39) Source(1, 20) + SourceIndex(0) -9 >Emitted(25, 47) Source(19, 2) + SourceIndex(0) +1->Emitted(26, 5) Source(19, 1) + SourceIndex(0) +2 >Emitted(26, 6) Source(19, 2) + SourceIndex(0) +3 >Emitted(26, 8) Source(1, 15) + SourceIndex(0) +4 >Emitted(26, 13) Source(1, 20) + SourceIndex(0) +5 >Emitted(26, 16) Source(1, 15) + SourceIndex(0) +6 >Emitted(26, 25) Source(1, 20) + SourceIndex(0) +7 >Emitted(26, 30) Source(1, 15) + SourceIndex(0) +8 >Emitted(26, 39) Source(1, 20) + SourceIndex(0) +9 >Emitted(26, 47) Source(19, 2) + SourceIndex(0) --- >>>})(sas || (sas = {})); 1 > @@ -451,12 +452,12 @@ sourceFile:sourceMap-Comments.ts > } > > } -1 >Emitted(26, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(26, 2) Source(19, 2) + SourceIndex(0) -3 >Emitted(26, 4) Source(1, 11) + SourceIndex(0) -4 >Emitted(26, 7) Source(1, 14) + SourceIndex(0) -5 >Emitted(26, 12) Source(1, 11) + SourceIndex(0) -6 >Emitted(26, 15) Source(1, 14) + SourceIndex(0) -7 >Emitted(26, 23) Source(19, 2) + SourceIndex(0) +1 >Emitted(27, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(27, 2) Source(19, 2) + SourceIndex(0) +3 >Emitted(27, 4) Source(1, 11) + SourceIndex(0) +4 >Emitted(27, 7) Source(1, 14) + SourceIndex(0) +5 >Emitted(27, 12) Source(1, 11) + SourceIndex(0) +6 >Emitted(27, 15) Source(1, 14) + SourceIndex(0) +7 >Emitted(27, 23) Source(19, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMap-Comments.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-Comments2.js b/tests/baselines/reference/sourceMap-Comments2.js index 33f845dd65234..3fc626d4c04bc 100644 --- a/tests/baselines/reference/sourceMap-Comments2.js +++ b/tests/baselines/reference/sourceMap-Comments2.js @@ -22,6 +22,7 @@ function qat(str: string, num: number): void { } //// [sourceMap-Comments2.js] +"use strict"; function foo(str, num) { return; } diff --git a/tests/baselines/reference/sourceMap-Comments2.js.map b/tests/baselines/reference/sourceMap-Comments2.js.map index f1d6a4588e90b..70dee9056ba08 100644 --- a/tests/baselines/reference/sourceMap-Comments2.js.map +++ b/tests/baselines/reference/sourceMap-Comments2.js.map @@ -1,3 +1,3 @@ //// [sourceMap-Comments2.js.map] -{"version":3,"file":"sourceMap-Comments2.js","sourceRoot":"","sources":["sourceMap-Comments2.ts"],"names":[],"mappings":"AAAA,SAAS,GAAG,CAAC,GAAW,EAAE,GAAW;IACjC,OAAO;AACX,CAAC;AAED;;GAEG;AACH,SAAS,GAAG,CAAC,GAAW,EAAE,GAAW;IACjC,OAAO;AACX,CAAC;AAED,uBAAuB;AACvB,SAAS,GAAG,CAAC,GAAW,EAAE,GAAW;IACjC,OAAO;AACX,CAAC;AAED,SAAS,GAAG,CAAC,GAAW,EAAE,GAAW;IACjC,OAAO;AACX,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,ZnVuY3Rpb24gZm9vKHN0ciwgbnVtKSB7DQogICAgcmV0dXJuOw0KfQ0KLyoqDQogKiBzb21lIHNvcnQgb2YgYmxvY2sgcXVvdGUNCiAqLw0KZnVuY3Rpb24gYmFyKHN0ciwgbnVtKSB7DQogICAgcmV0dXJuOw0KfQ0KLy8gc29tZSBzb3J0IG9mIGNvbW1lbnQNCmZ1bmN0aW9uIGJheihzdHIsIG51bSkgew0KICAgIHJldHVybjsNCn0NCmZ1bmN0aW9uIHFhdChzdHIsIG51bSkgew0KICAgIHJldHVybjsNCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcC1Db21tZW50czIuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLUNvbW1lbnRzMi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcC1Db21tZW50czIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsU0FBUyxHQUFHLENBQUMsR0FBVyxFQUFFLEdBQVc7SUFDakMsT0FBTztBQUNYLENBQUM7QUFFRDs7R0FFRztBQUNILFNBQVMsR0FBRyxDQUFDLEdBQVcsRUFBRSxHQUFXO0lBQ2pDLE9BQU87QUFDWCxDQUFDO0FBRUQsdUJBQXVCO0FBQ3ZCLFNBQVMsR0FBRyxDQUFDLEdBQVcsRUFBRSxHQUFXO0lBQ2pDLE9BQU87QUFDWCxDQUFDO0FBRUQsU0FBUyxHQUFHLENBQUMsR0FBVyxFQUFFLEdBQVc7SUFDakMsT0FBTztBQUNYLENBQUMifQ==,ZnVuY3Rpb24gZm9vKHN0cjogc3RyaW5nLCBudW06IG51bWJlcik6IHZvaWQgewogICAgcmV0dXJuOwp9CgovKioKICogc29tZSBzb3J0IG9mIGJsb2NrIHF1b3RlCiAqLwpmdW5jdGlvbiBiYXIoc3RyOiBzdHJpbmcsIG51bTogbnVtYmVyKTogdm9pZCB7CiAgICByZXR1cm47Cn0KCi8vIHNvbWUgc29ydCBvZiBjb21tZW50CmZ1bmN0aW9uIGJheihzdHI6IHN0cmluZywgbnVtOiBudW1iZXIpOiB2b2lkIHsKICAgIHJldHVybjsKfQoKZnVuY3Rpb24gcWF0KHN0cjogc3RyaW5nLCBudW06IG51bWJlcik6IHZvaWQgewogICAgcmV0dXJuOwp9 +{"version":3,"file":"sourceMap-Comments2.js","sourceRoot":"","sources":["sourceMap-Comments2.ts"],"names":[],"mappings":";AAAA,SAAS,GAAG,CAAC,GAAW,EAAE,GAAW;IACjC,OAAO;AACX,CAAC;AAED;;GAEG;AACH,SAAS,GAAG,CAAC,GAAW,EAAE,GAAW;IACjC,OAAO;AACX,CAAC;AAED,uBAAuB;AACvB,SAAS,GAAG,CAAC,GAAW,EAAE,GAAW;IACjC,OA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KioKICogc29tZSBzb3J0IG9mIGJsb2NrIHF1b3RlCiAqLwpmdW5jdGlvbiBiYXIoc3RyOiBzdHJpbmcsIG51bTogbnVtYmVyKTogdm9pZCB7CiAgICByZXR1cm47Cn0KCi8vIHNvbWUgc29ydCBvZiBjb21tZW50CmZ1bmN0aW9uIGJheihzdHI6IHN0cmluZywgbnVtOiBudW1iZXIpOiB2b2lkIHsKICAgIHJldHVybjsKfQoKZnVuY3Rpb24gcWF0KHN0cjogc3RyaW5nLCBudW06IG51bWJlcik6IHZvaWQgewogICAgcmV0dXJuOwp9 diff --git a/tests/baselines/reference/sourceMap-Comments2.sourcemap.txt b/tests/baselines/reference/sourceMap-Comments2.sourcemap.txt index d944c44952693..bdf7a67557683 100644 --- a/tests/baselines/reference/sourceMap-Comments2.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-Comments2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMap-Comments2.ts emittedFile:sourceMap-Comments2.js sourceFile:sourceMap-Comments2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>function foo(str, num) { 1 > 2 >^^^^^^^^^ @@ -23,13 +24,13 @@ sourceFile:sourceMap-Comments2.ts 5 > str: string 6 > , 7 > num: number -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -3 >Emitted(1, 13) Source(1, 13) + SourceIndex(0) -4 >Emitted(1, 14) Source(1, 14) + SourceIndex(0) -5 >Emitted(1, 17) Source(1, 25) + SourceIndex(0) -6 >Emitted(1, 19) Source(1, 27) + SourceIndex(0) -7 >Emitted(1, 22) Source(1, 38) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +3 >Emitted(2, 13) Source(1, 13) + SourceIndex(0) +4 >Emitted(2, 14) Source(1, 14) + SourceIndex(0) +5 >Emitted(2, 17) Source(1, 25) + SourceIndex(0) +6 >Emitted(2, 19) Source(1, 27) + SourceIndex(0) +7 >Emitted(2, 22) Source(1, 38) + SourceIndex(0) --- >>> return; 1 >^^^^ @@ -37,8 +38,8 @@ sourceFile:sourceMap-Comments2.ts 1 >): void { > 2 > return; -1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 12) Source(2, 12) + SourceIndex(0) +1 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) --- >>>} 1 > @@ -47,8 +48,8 @@ sourceFile:sourceMap-Comments2.ts 1 > > 2 >} -1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(4, 2) Source(3, 2) + SourceIndex(0) --- >>>/** 1-> @@ -56,7 +57,7 @@ sourceFile:sourceMap-Comments2.ts 1-> > > -1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) +1->Emitted(5, 1) Source(5, 1) + SourceIndex(0) --- >>> * some sort of block quote >>> */ @@ -65,7 +66,7 @@ sourceFile:sourceMap-Comments2.ts 1->/** > * some sort of block quote > */ -1->Emitted(6, 4) Source(7, 4) + SourceIndex(0) +1->Emitted(7, 4) Source(7, 4) + SourceIndex(0) --- >>>function bar(str, num) { 1-> @@ -83,13 +84,13 @@ sourceFile:sourceMap-Comments2.ts 5 > str: string 6 > , 7 > num: number -1->Emitted(7, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(7, 10) Source(8, 10) + SourceIndex(0) -3 >Emitted(7, 13) Source(8, 13) + SourceIndex(0) -4 >Emitted(7, 14) Source(8, 14) + SourceIndex(0) -5 >Emitted(7, 17) Source(8, 25) + SourceIndex(0) -6 >Emitted(7, 19) Source(8, 27) + SourceIndex(0) -7 >Emitted(7, 22) Source(8, 38) + SourceIndex(0) +1->Emitted(8, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(8, 10) Source(8, 10) + SourceIndex(0) +3 >Emitted(8, 13) Source(8, 13) + SourceIndex(0) +4 >Emitted(8, 14) Source(8, 14) + SourceIndex(0) +5 >Emitted(8, 17) Source(8, 25) + SourceIndex(0) +6 >Emitted(8, 19) Source(8, 27) + SourceIndex(0) +7 >Emitted(8, 22) Source(8, 38) + SourceIndex(0) --- >>> return; 1 >^^^^ @@ -97,8 +98,8 @@ sourceFile:sourceMap-Comments2.ts 1 >): void { > 2 > return; -1 >Emitted(8, 5) Source(9, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(9, 12) + SourceIndex(0) +1 >Emitted(9, 5) Source(9, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(9, 12) + SourceIndex(0) --- >>>} 1 > @@ -107,8 +108,8 @@ sourceFile:sourceMap-Comments2.ts 1 > > 2 >} -1 >Emitted(9, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(10, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(10, 2) + SourceIndex(0) --- >>>// some sort of comment 1-> @@ -118,8 +119,8 @@ sourceFile:sourceMap-Comments2.ts > > 2 >// some sort of comment -1->Emitted(10, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(10, 24) Source(12, 24) + SourceIndex(0) +1->Emitted(11, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(11, 24) Source(12, 24) + SourceIndex(0) --- >>>function baz(str, num) { 1-> @@ -137,13 +138,13 @@ sourceFile:sourceMap-Comments2.ts 5 > str: string 6 > , 7 > num: number -1->Emitted(11, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(11, 10) Source(13, 10) + SourceIndex(0) -3 >Emitted(11, 13) Source(13, 13) + SourceIndex(0) -4 >Emitted(11, 14) Source(13, 14) + SourceIndex(0) -5 >Emitted(11, 17) Source(13, 25) + SourceIndex(0) -6 >Emitted(11, 19) Source(13, 27) + SourceIndex(0) -7 >Emitted(11, 22) Source(13, 38) + SourceIndex(0) +1->Emitted(12, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(12, 10) Source(13, 10) + SourceIndex(0) +3 >Emitted(12, 13) Source(13, 13) + SourceIndex(0) +4 >Emitted(12, 14) Source(13, 14) + SourceIndex(0) +5 >Emitted(12, 17) Source(13, 25) + SourceIndex(0) +6 >Emitted(12, 19) Source(13, 27) + SourceIndex(0) +7 >Emitted(12, 22) Source(13, 38) + SourceIndex(0) --- >>> return; 1 >^^^^ @@ -151,8 +152,8 @@ sourceFile:sourceMap-Comments2.ts 1 >): void { > 2 > return; -1 >Emitted(12, 5) Source(14, 5) + SourceIndex(0) -2 >Emitted(12, 12) Source(14, 12) + SourceIndex(0) +1 >Emitted(13, 5) Source(14, 5) + SourceIndex(0) +2 >Emitted(13, 12) Source(14, 12) + SourceIndex(0) --- >>>} 1 > @@ -161,8 +162,8 @@ sourceFile:sourceMap-Comments2.ts 1 > > 2 >} -1 >Emitted(13, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(15, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(15, 2) + SourceIndex(0) --- >>>function qat(str, num) { 1-> @@ -181,13 +182,13 @@ sourceFile:sourceMap-Comments2.ts 5 > str: string 6 > , 7 > num: number -1->Emitted(14, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(14, 10) Source(17, 10) + SourceIndex(0) -3 >Emitted(14, 13) Source(17, 13) + SourceIndex(0) -4 >Emitted(14, 14) Source(17, 14) + SourceIndex(0) -5 >Emitted(14, 17) Source(17, 25) + SourceIndex(0) -6 >Emitted(14, 19) Source(17, 27) + SourceIndex(0) -7 >Emitted(14, 22) Source(17, 38) + SourceIndex(0) +1->Emitted(15, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(15, 10) Source(17, 10) + SourceIndex(0) +3 >Emitted(15, 13) Source(17, 13) + SourceIndex(0) +4 >Emitted(15, 14) Source(17, 14) + SourceIndex(0) +5 >Emitted(15, 17) Source(17, 25) + SourceIndex(0) +6 >Emitted(15, 19) Source(17, 27) + SourceIndex(0) +7 >Emitted(15, 22) Source(17, 38) + SourceIndex(0) --- >>> return; 1 >^^^^ @@ -195,8 +196,8 @@ sourceFile:sourceMap-Comments2.ts 1 >): void { > 2 > return; -1 >Emitted(15, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(15, 12) Source(18, 12) + SourceIndex(0) +1 >Emitted(16, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(16, 12) Source(18, 12) + SourceIndex(0) --- >>>} 1 > @@ -205,7 +206,7 @@ sourceFile:sourceMap-Comments2.ts 1 > > 2 >} -1 >Emitted(16, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(16, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(17, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(17, 2) Source(19, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMap-Comments2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-EmptyFile1.js b/tests/baselines/reference/sourceMap-EmptyFile1.js index 4d36f78adb99b..96efd0e905728 100644 --- a/tests/baselines/reference/sourceMap-EmptyFile1.js +++ b/tests/baselines/reference/sourceMap-EmptyFile1.js @@ -4,4 +4,5 @@ //// [sourceMap-EmptyFile1.js] +"use strict"; //# sourceMappingURL=sourceMap-EmptyFile1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-EmptyFile1.js.map b/tests/baselines/reference/sourceMap-EmptyFile1.js.map index 1913d73094221..239f49a22da25 100644 --- a/tests/baselines/reference/sourceMap-EmptyFile1.js.map +++ b/tests/baselines/reference/sourceMap-EmptyFile1.js.map @@ -1,3 +1,3 @@ //// [sourceMap-EmptyFile1.js.map] {"version":3,"file":"sourceMap-EmptyFile1.js","sourceRoot":"","sources":["sourceMap-EmptyFile1.ts"],"names":[],"mappings":""} -//// https://sokra.github.io/source-map-visualization#base64,Ly8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLUVtcHR5RmlsZTEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLUVtcHR5RmlsZTEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzb3VyY2VNYXAtRW1wdHlGaWxlMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=, +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLUVtcHR5RmlsZTEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLUVtcHR5RmlsZTEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzb3VyY2VNYXAtRW1wdHlGaWxlMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiIn0=, diff --git a/tests/baselines/reference/sourceMap-EmptyFile1.sourcemap.txt b/tests/baselines/reference/sourceMap-EmptyFile1.sourcemap.txt index 989f104b8b330..bc71185eea775 100644 --- a/tests/baselines/reference/sourceMap-EmptyFile1.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-EmptyFile1.sourcemap.txt @@ -4,4 +4,5 @@ mapUrl: sourceMap-EmptyFile1.js.map sourceRoot: sources: sourceMap-EmptyFile1.ts =================================================================== +>>>"use strict"; >>>//# sourceMappingURL=sourceMap-EmptyFile1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-FileWithComments.js b/tests/baselines/reference/sourceMap-FileWithComments.js index bf1b6e673ada5..19da94b9fef15 100644 --- a/tests/baselines/reference/sourceMap-FileWithComments.js +++ b/tests/baselines/reference/sourceMap-FileWithComments.js @@ -38,6 +38,7 @@ var p: IPoint = new Shapes.Point(3, 4); var dist = p.getDist(); //// [sourceMap-FileWithComments.js] +"use strict"; // Module var Shapes; (function (Shapes) { diff --git a/tests/baselines/reference/sourceMap-FileWithComments.js.map b/tests/baselines/reference/sourceMap-FileWithComments.js.map index e0d6b4b5bd6bd..2f6dc9312504a 100644 --- a/tests/baselines/reference/sourceMap-FileWithComments.js.map +++ b/tests/baselines/reference/sourceMap-FileWithComments.js.map @@ -1,3 +1,3 @@ //// [sourceMap-FileWithComments.js.map] -{"version":3,"file":"sourceMap-FileWithComments.js","sourceRoot":"","sources":["sourceMap-FileWithComments.ts"],"names":[],"mappings":"AAKA,SAAS;AACT,IAAU,MAAM,CAwBf;AAxBD,WAAU,MAAM;IAEZ,QAAQ;IACR;QACI,cAAc;QACd,eAAmB,CAAS,EAAS,CAAS;YAA3B,MAAC,GAAD,CAAC,CAAQ;YAAS,MAAC,GAAD,CAAC,CAAQ;QAAI,CAAC;QAEnD,kBAAkB;QAClB,uBAAO,GAAP,cAAY,OAAO,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAElE,gBAAgB;QACT,YAAM,GAAG,IAAI,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;QACpC,YAAC;KAAA,AATD,IASC;IATY,YAAK,QASjB,CAAA;IAED,+BAA+B;IAC/B,IAAI,CAAC,GAAG,EAAE,CAAC;IAEX,SAAgB,GAAG;IACnB,CAAC;IADe,UAAG,MAClB,CAAA;IAED;;MAEE;IACF,IAAI,CAAC,GAAG,EAAE,CAAC;AACf,CAAC,EAxBS,MAAM,KAAN,MAAM,QAwBf;AAED,qBAAqB;AACrB,IAAI,CAAC,GAAW,IAAI,MAAM,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACvC,IAAI,IAAI,GAAG,CAAC,CAAC,OAAO,EAAE,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,Ly8gTW9kdWxlDQp2YXIgU2hhcGVzOw0KKGZ1bmN0aW9uIChTaGFwZXMpIHsNCiAgICAvLyBDbGFzcw0K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0FBQyxDQUFDLE9BQU8sRUFBRSxDQUFDIn0=,Ly8gSW50ZXJmYWNlCmludGVyZmFjZSBJUG9pbnQgewogICAgZ2V0RGlzdCgpOiBudW1iZXI7Cn0KCi8vIE1vZHVsZQpuYW1lc3BhY2UgU2hhcGVzIHsKCiAgICAvLyBDbGFzcwogICAgZXhwb3J0IGNsYXNzIFBvaW50IGltcGxlbWVudHMgSVBvaW50IHsKICAgICAgICAvLyBDb25zdHJ1Y3RvcgogICAgICAgIGNvbnN0cnVjdG9yKHB1YmxpYyB4OiBudW1iZXIsIHB1YmxpYyB5OiBudW1iZXIpIHsgfQoKICAgICAgICAvLyBJbnN0YW5jZSBtZW1iZXIKICAgICAgICBnZXREaXN0KCkgeyByZXR1cm4gTWF0aC5zcXJ0KHRoaXMueCAqIHRoaXMueCArIHRoaXMueSAqIHRoaXMueSk7IH0KCiAgICAgICAgLy8gU3RhdGljIG1lbWJlcgogICAgICAgIHN0YXRpYyBvcmlnaW4gPSBuZXcgUG9pbnQoMCwgMCk7CiAgICB9CgogICAgLy8gVmFyaWFibGUgY29tbWVudCBhZnRlciBjbGFzcwogICAgdmFyIGEgPSAxMDsKCiAgICBleHBvcnQgZnVuY3Rpb24gZm9vKCkgewogICAgfQoKICAgIC8qKiAgY29tbWVudCBhZnRlciBmdW5jdGlvbgogICAgKiB0aGlzIGlzIGFub3RoZXIgY29tbWVudCAKICAgICovCiAgICB2YXIgYiA9IDEwOwp9CgovKiogTG9jYWwgVmFyaWFibGUgKi8KdmFyIHA6IElQb2ludCA9IG5ldyBTaGFwZXMuUG9pbnQoMywgNCk7CnZhciBkaXN0ID0gcC5nZXREaXN0KCk7 +{"version":3,"file":"sourceMap-FileWithComments.js","sourceRoot":"","sources":["sourceMap-FileWithComments.ts"],"names":[],"mappings":";AAKA,SAAS;AACT,IAAU,MAAM,CAwBf;AAxBD,WAAU,MAAM;IAEZ,QAAQ;IACR;QACI,cAAc;QACd,eAAmB,CAAS,EAAS,CAAS;YAA3B,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HB1YmxpYyB5OiBudW1iZXIpIHsgfQoKICAgICAgICAvLyBJbnN0YW5jZSBtZW1iZXIKICAgICAgICBnZXREaXN0KCkgeyByZXR1cm4gTWF0aC5zcXJ0KHRoaXMueCAqIHRoaXMueCArIHRoaXMueSAqIHRoaXMueSk7IH0KCiAgICAgICAgLy8gU3RhdGljIG1lbWJlcgogICAgICAgIHN0YXRpYyBvcmlnaW4gPSBuZXcgUG9pbnQoMCwgMCk7CiAgICB9CgogICAgLy8gVmFyaWFibGUgY29tbWVudCBhZnRlciBjbGFzcwogICAgdmFyIGEgPSAxMDsKCiAgICBleHBvcnQgZnVuY3Rpb24gZm9vKCkgewogICAgfQoKICAgIC8qKiAgY29tbWVudCBhZnRlciBmdW5jdGlvbgogICAgKiB0aGlzIGlzIGFub3RoZXIgY29tbWVudCAKICAgICovCiAgICB2YXIgYiA9IDEwOwp9CgovKiogTG9jYWwgVmFyaWFibGUgKi8KdmFyIHA6IElQb2ludCA9IG5ldyBTaGFwZXMuUG9pbnQoMywgNCk7CnZhciBkaXN0ID0gcC5nZXREaXN0KCk7 diff --git a/tests/baselines/reference/sourceMap-FileWithComments.sourcemap.txt b/tests/baselines/reference/sourceMap-FileWithComments.sourcemap.txt index 08e5a14e7275e..752163f288c66 100644 --- a/tests/baselines/reference/sourceMap-FileWithComments.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-FileWithComments.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMap-FileWithComments.ts emittedFile:sourceMap-FileWithComments.js sourceFile:sourceMap-FileWithComments.ts ------------------------------------------------------------------- +>>>"use strict"; >>>// Module 1 > 2 >^^^^^^^^^ @@ -19,8 +20,8 @@ sourceFile:sourceMap-FileWithComments.ts > > 2 >// Module -1 >Emitted(1, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(1, 10) Source(6, 10) + SourceIndex(0) +1 >Emitted(2, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(2, 10) Source(6, 10) + SourceIndex(0) --- >>>var Shapes; 1-> @@ -57,10 +58,10 @@ sourceFile:sourceMap-FileWithComments.ts > */ > var b = 10; > } -1->Emitted(2, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(7, 11) + SourceIndex(0) -3 >Emitted(2, 11) Source(7, 17) + SourceIndex(0) -4 >Emitted(2, 12) Source(31, 2) + SourceIndex(0) +1->Emitted(3, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(7, 11) + SourceIndex(0) +3 >Emitted(3, 11) Source(7, 17) + SourceIndex(0) +4 >Emitted(3, 12) Source(31, 2) + SourceIndex(0) --- >>>(function (Shapes) { 1-> @@ -69,9 +70,9 @@ sourceFile:sourceMap-FileWithComments.ts 1-> 2 >namespace 3 > Shapes -1->Emitted(3, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(3, 12) Source(7, 11) + SourceIndex(0) -3 >Emitted(3, 18) Source(7, 17) + SourceIndex(0) +1->Emitted(4, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(4, 12) Source(7, 11) + SourceIndex(0) +3 >Emitted(4, 18) Source(7, 17) + SourceIndex(0) --- >>> // Class 1 >^^^^ @@ -81,15 +82,15 @@ sourceFile:sourceMap-FileWithComments.ts > > 2 > // Class -1 >Emitted(4, 5) Source(9, 5) + SourceIndex(0) -2 >Emitted(4, 13) Source(9, 13) + SourceIndex(0) +1 >Emitted(5, 5) Source(9, 5) + SourceIndex(0) +2 >Emitted(5, 13) Source(9, 13) + SourceIndex(0) --- >>> var Point = /** @class */ (function () { 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^^^-> 1-> > -1->Emitted(5, 5) Source(10, 5) + SourceIndex(0) +1->Emitted(6, 5) Source(10, 5) + SourceIndex(0) --- >>> // Constructor 1->^^^^^^^^ @@ -98,8 +99,8 @@ sourceFile:sourceMap-FileWithComments.ts 1->export class Point implements IPoint { > 2 > // Constructor -1->Emitted(6, 9) Source(11, 9) + SourceIndex(0) -2 >Emitted(6, 23) Source(11, 23) + SourceIndex(0) +1->Emitted(7, 9) Source(11, 9) + SourceIndex(0) +2 >Emitted(7, 23) Source(11, 23) + SourceIndex(0) --- >>> function Point(x, y) { 1->^^^^^^^^ @@ -113,11 +114,11 @@ sourceFile:sourceMap-FileWithComments.ts 3 > x: number 4 > , public 5 > y: number -1->Emitted(7, 9) Source(12, 9) + SourceIndex(0) -2 >Emitted(7, 24) Source(12, 28) + SourceIndex(0) -3 >Emitted(7, 25) Source(12, 37) + SourceIndex(0) -4 >Emitted(7, 27) Source(12, 46) + SourceIndex(0) -5 >Emitted(7, 28) Source(12, 55) + SourceIndex(0) +1->Emitted(8, 9) Source(12, 9) + SourceIndex(0) +2 >Emitted(8, 24) Source(12, 28) + SourceIndex(0) +3 >Emitted(8, 25) Source(12, 37) + SourceIndex(0) +4 >Emitted(8, 27) Source(12, 46) + SourceIndex(0) +5 >Emitted(8, 28) Source(12, 55) + SourceIndex(0) --- >>> this.x = x; 1 >^^^^^^^^^^^^ @@ -131,11 +132,11 @@ sourceFile:sourceMap-FileWithComments.ts 3 > 4 > x 5 > : number -1 >Emitted(8, 13) Source(12, 28) + SourceIndex(0) -2 >Emitted(8, 19) Source(12, 29) + SourceIndex(0) -3 >Emitted(8, 22) Source(12, 28) + SourceIndex(0) -4 >Emitted(8, 23) Source(12, 29) + SourceIndex(0) -5 >Emitted(8, 24) Source(12, 37) + SourceIndex(0) +1 >Emitted(9, 13) Source(12, 28) + SourceIndex(0) +2 >Emitted(9, 19) Source(12, 29) + SourceIndex(0) +3 >Emitted(9, 22) Source(12, 28) + SourceIndex(0) +4 >Emitted(9, 23) Source(12, 29) + SourceIndex(0) +5 >Emitted(9, 24) Source(12, 37) + SourceIndex(0) --- >>> this.y = y; 1->^^^^^^^^^^^^ @@ -148,11 +149,11 @@ sourceFile:sourceMap-FileWithComments.ts 3 > 4 > y 5 > : number -1->Emitted(9, 13) Source(12, 46) + SourceIndex(0) -2 >Emitted(9, 19) Source(12, 47) + SourceIndex(0) -3 >Emitted(9, 22) Source(12, 46) + SourceIndex(0) -4 >Emitted(9, 23) Source(12, 47) + SourceIndex(0) -5 >Emitted(9, 24) Source(12, 55) + SourceIndex(0) +1->Emitted(10, 13) Source(12, 46) + SourceIndex(0) +2 >Emitted(10, 19) Source(12, 47) + SourceIndex(0) +3 >Emitted(10, 22) Source(12, 46) + SourceIndex(0) +4 >Emitted(10, 23) Source(12, 47) + SourceIndex(0) +5 >Emitted(10, 24) Source(12, 55) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -160,8 +161,8 @@ sourceFile:sourceMap-FileWithComments.ts 3 > ^^^^^^^^^^^^^^^^^^-> 1 >) { 2 > } -1 >Emitted(10, 9) Source(12, 59) + SourceIndex(0) -2 >Emitted(10, 10) Source(12, 60) + SourceIndex(0) +1 >Emitted(11, 9) Source(12, 59) + SourceIndex(0) +2 >Emitted(11, 10) Source(12, 60) + SourceIndex(0) --- >>> // Instance member 1->^^^^^^^^ @@ -171,8 +172,8 @@ sourceFile:sourceMap-FileWithComments.ts > > 2 > // Instance member -1->Emitted(11, 9) Source(14, 9) + SourceIndex(0) -2 >Emitted(11, 27) Source(14, 27) + SourceIndex(0) +1->Emitted(12, 9) Source(14, 9) + SourceIndex(0) +2 >Emitted(12, 27) Source(14, 27) + SourceIndex(0) --- >>> Point.prototype.getDist = function () { return Math.sqrt(this.x * this.x + this.y * this.y); }; 1->^^^^^^^^ @@ -232,34 +233,34 @@ sourceFile:sourceMap-FileWithComments.ts 26> ; 27> 28> } -1->Emitted(12, 9) Source(15, 9) + SourceIndex(0) -2 >Emitted(12, 32) Source(15, 16) + SourceIndex(0) -3 >Emitted(12, 35) Source(15, 9) + SourceIndex(0) -4 >Emitted(12, 49) Source(15, 21) + SourceIndex(0) -5 >Emitted(12, 56) Source(15, 28) + SourceIndex(0) -6 >Emitted(12, 60) Source(15, 32) + SourceIndex(0) -7 >Emitted(12, 61) Source(15, 33) + SourceIndex(0) -8 >Emitted(12, 65) Source(15, 37) + SourceIndex(0) -9 >Emitted(12, 66) Source(15, 38) + SourceIndex(0) -10>Emitted(12, 70) Source(15, 42) + SourceIndex(0) -11>Emitted(12, 71) Source(15, 43) + SourceIndex(0) -12>Emitted(12, 72) Source(15, 44) + SourceIndex(0) -13>Emitted(12, 75) Source(15, 47) + SourceIndex(0) -14>Emitted(12, 79) Source(15, 51) + SourceIndex(0) -15>Emitted(12, 80) Source(15, 52) + SourceIndex(0) -16>Emitted(12, 81) Source(15, 53) + SourceIndex(0) -17>Emitted(12, 84) Source(15, 56) + SourceIndex(0) -18>Emitted(12, 88) Source(15, 60) + SourceIndex(0) -19>Emitted(12, 89) Source(15, 61) + SourceIndex(0) -20>Emitted(12, 90) Source(15, 62) + SourceIndex(0) -21>Emitted(12, 93) Source(15, 65) + SourceIndex(0) -22>Emitted(12, 97) Source(15, 69) + SourceIndex(0) -23>Emitted(12, 98) Source(15, 70) + SourceIndex(0) -24>Emitted(12, 99) Source(15, 71) + SourceIndex(0) -25>Emitted(12, 100) Source(15, 72) + SourceIndex(0) -26>Emitted(12, 101) Source(15, 73) + SourceIndex(0) -27>Emitted(12, 102) Source(15, 74) + SourceIndex(0) -28>Emitted(12, 103) Source(15, 75) + SourceIndex(0) +1->Emitted(13, 9) Source(15, 9) + SourceIndex(0) +2 >Emitted(13, 32) Source(15, 16) + SourceIndex(0) +3 >Emitted(13, 35) Source(15, 9) + SourceIndex(0) +4 >Emitted(13, 49) Source(15, 21) + SourceIndex(0) +5 >Emitted(13, 56) Source(15, 28) + SourceIndex(0) +6 >Emitted(13, 60) Source(15, 32) + SourceIndex(0) +7 >Emitted(13, 61) Source(15, 33) + SourceIndex(0) +8 >Emitted(13, 65) Source(15, 37) + SourceIndex(0) +9 >Emitted(13, 66) Source(15, 38) + SourceIndex(0) +10>Emitted(13, 70) Source(15, 42) + SourceIndex(0) +11>Emitted(13, 71) Source(15, 43) + SourceIndex(0) +12>Emitted(13, 72) Source(15, 44) + SourceIndex(0) +13>Emitted(13, 75) Source(15, 47) + SourceIndex(0) +14>Emitted(13, 79) Source(15, 51) + SourceIndex(0) +15>Emitted(13, 80) Source(15, 52) + SourceIndex(0) +16>Emitted(13, 81) Source(15, 53) + SourceIndex(0) +17>Emitted(13, 84) Source(15, 56) + SourceIndex(0) +18>Emitted(13, 88) Source(15, 60) + SourceIndex(0) +19>Emitted(13, 89) Source(15, 61) + SourceIndex(0) +20>Emitted(13, 90) Source(15, 62) + SourceIndex(0) +21>Emitted(13, 93) Source(15, 65) + SourceIndex(0) +22>Emitted(13, 97) Source(15, 69) + SourceIndex(0) +23>Emitted(13, 98) Source(15, 70) + SourceIndex(0) +24>Emitted(13, 99) Source(15, 71) + SourceIndex(0) +25>Emitted(13, 100) Source(15, 72) + SourceIndex(0) +26>Emitted(13, 101) Source(15, 73) + SourceIndex(0) +27>Emitted(13, 102) Source(15, 74) + SourceIndex(0) +28>Emitted(13, 103) Source(15, 75) + SourceIndex(0) --- >>> // Static member 1 >^^^^^^^^ @@ -269,8 +270,8 @@ sourceFile:sourceMap-FileWithComments.ts > > 2 > // Static member -1 >Emitted(13, 9) Source(17, 9) + SourceIndex(0) -2 >Emitted(13, 25) Source(17, 25) + SourceIndex(0) +1 >Emitted(14, 9) Source(17, 9) + SourceIndex(0) +2 >Emitted(14, 25) Source(17, 25) + SourceIndex(0) --- >>> Point.origin = new Point(0, 0); 1->^^^^^^^^ @@ -296,17 +297,17 @@ sourceFile:sourceMap-FileWithComments.ts 9 > 0 10> ) 11> ; -1->Emitted(14, 9) Source(18, 16) + SourceIndex(0) -2 >Emitted(14, 21) Source(18, 22) + SourceIndex(0) -3 >Emitted(14, 24) Source(18, 25) + SourceIndex(0) -4 >Emitted(14, 28) Source(18, 29) + SourceIndex(0) -5 >Emitted(14, 33) Source(18, 34) + SourceIndex(0) -6 >Emitted(14, 34) Source(18, 35) + SourceIndex(0) -7 >Emitted(14, 35) Source(18, 36) + SourceIndex(0) -8 >Emitted(14, 37) Source(18, 38) + SourceIndex(0) -9 >Emitted(14, 38) Source(18, 39) + SourceIndex(0) -10>Emitted(14, 39) Source(18, 40) + SourceIndex(0) -11>Emitted(14, 40) Source(18, 41) + SourceIndex(0) +1->Emitted(15, 9) Source(18, 16) + SourceIndex(0) +2 >Emitted(15, 21) Source(18, 22) + SourceIndex(0) +3 >Emitted(15, 24) Source(18, 25) + SourceIndex(0) +4 >Emitted(15, 28) Source(18, 29) + SourceIndex(0) +5 >Emitted(15, 33) Source(18, 34) + SourceIndex(0) +6 >Emitted(15, 34) Source(18, 35) + SourceIndex(0) +7 >Emitted(15, 35) Source(18, 36) + SourceIndex(0) +8 >Emitted(15, 37) Source(18, 38) + SourceIndex(0) +9 >Emitted(15, 38) Source(18, 39) + SourceIndex(0) +10>Emitted(15, 39) Source(18, 40) + SourceIndex(0) +11>Emitted(15, 40) Source(18, 41) + SourceIndex(0) --- >>> return Point; 1 >^^^^^^^^ @@ -314,8 +315,8 @@ sourceFile:sourceMap-FileWithComments.ts 1 > > 2 > } -1 >Emitted(15, 9) Source(19, 5) + SourceIndex(0) -2 >Emitted(15, 21) Source(19, 6) + SourceIndex(0) +1 >Emitted(16, 9) Source(19, 5) + SourceIndex(0) +2 >Emitted(16, 21) Source(19, 6) + SourceIndex(0) --- >>> }()); 1 >^^^^^ @@ -334,9 +335,9 @@ sourceFile:sourceMap-FileWithComments.ts > // Static member > static origin = new Point(0, 0); > } -1 >Emitted(16, 6) Source(19, 6) + SourceIndex(0) -2 >Emitted(16, 6) Source(10, 5) + SourceIndex(0) -3 >Emitted(16, 10) Source(19, 6) + SourceIndex(0) +1 >Emitted(17, 6) Source(19, 6) + SourceIndex(0) +2 >Emitted(17, 6) Source(10, 5) + SourceIndex(0) +3 >Emitted(17, 10) Source(19, 6) + SourceIndex(0) --- >>> Shapes.Point = Point; 1->^^^^ @@ -357,10 +358,10 @@ sourceFile:sourceMap-FileWithComments.ts > static origin = new Point(0, 0); > } 4 > -1->Emitted(17, 5) Source(10, 18) + SourceIndex(0) -2 >Emitted(17, 17) Source(10, 23) + SourceIndex(0) -3 >Emitted(17, 25) Source(19, 6) + SourceIndex(0) -4 >Emitted(17, 26) Source(19, 6) + SourceIndex(0) +1->Emitted(18, 5) Source(10, 18) + SourceIndex(0) +2 >Emitted(18, 17) Source(10, 23) + SourceIndex(0) +3 >Emitted(18, 25) Source(19, 6) + SourceIndex(0) +4 >Emitted(18, 26) Source(19, 6) + SourceIndex(0) --- >>> // Variable comment after class 1->^^^^ @@ -369,8 +370,8 @@ sourceFile:sourceMap-FileWithComments.ts > > 2 > // Variable comment after class -1->Emitted(18, 5) Source(21, 5) + SourceIndex(0) -2 >Emitted(18, 36) Source(21, 36) + SourceIndex(0) +1->Emitted(19, 5) Source(21, 5) + SourceIndex(0) +2 >Emitted(19, 36) Source(21, 36) + SourceIndex(0) --- >>> var a = 10; 1 >^^^^ @@ -387,12 +388,12 @@ sourceFile:sourceMap-FileWithComments.ts 4 > = 5 > 10 6 > ; -1 >Emitted(19, 5) Source(22, 5) + SourceIndex(0) -2 >Emitted(19, 9) Source(22, 9) + SourceIndex(0) -3 >Emitted(19, 10) Source(22, 10) + SourceIndex(0) -4 >Emitted(19, 13) Source(22, 13) + SourceIndex(0) -5 >Emitted(19, 15) Source(22, 15) + SourceIndex(0) -6 >Emitted(19, 16) Source(22, 16) + SourceIndex(0) +1 >Emitted(20, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(20, 9) Source(22, 9) + SourceIndex(0) +3 >Emitted(20, 10) Source(22, 10) + SourceIndex(0) +4 >Emitted(20, 13) Source(22, 13) + SourceIndex(0) +5 >Emitted(20, 15) Source(22, 15) + SourceIndex(0) +6 >Emitted(20, 16) Source(22, 16) + SourceIndex(0) --- >>> function foo() { 1->^^^^ @@ -403,9 +404,9 @@ sourceFile:sourceMap-FileWithComments.ts > 2 > export function 3 > foo -1->Emitted(20, 5) Source(24, 5) + SourceIndex(0) -2 >Emitted(20, 14) Source(24, 21) + SourceIndex(0) -3 >Emitted(20, 17) Source(24, 24) + SourceIndex(0) +1->Emitted(21, 5) Source(24, 5) + SourceIndex(0) +2 >Emitted(21, 14) Source(24, 21) + SourceIndex(0) +3 >Emitted(21, 17) Source(24, 24) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -414,8 +415,8 @@ sourceFile:sourceMap-FileWithComments.ts 1 >() { > 2 > } -1 >Emitted(21, 5) Source(25, 5) + SourceIndex(0) -2 >Emitted(21, 6) Source(25, 6) + SourceIndex(0) +1 >Emitted(22, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(22, 6) Source(25, 6) + SourceIndex(0) --- >>> Shapes.foo = foo; 1->^^^^ @@ -428,10 +429,10 @@ sourceFile:sourceMap-FileWithComments.ts 3 > () { > } 4 > -1->Emitted(22, 5) Source(24, 21) + SourceIndex(0) -2 >Emitted(22, 15) Source(24, 24) + SourceIndex(0) -3 >Emitted(22, 21) Source(25, 6) + SourceIndex(0) -4 >Emitted(22, 22) Source(25, 6) + SourceIndex(0) +1->Emitted(23, 5) Source(24, 21) + SourceIndex(0) +2 >Emitted(23, 15) Source(24, 24) + SourceIndex(0) +3 >Emitted(23, 21) Source(25, 6) + SourceIndex(0) +4 >Emitted(23, 22) Source(25, 6) + SourceIndex(0) --- >>> /** comment after function 1->^^^^ @@ -439,7 +440,7 @@ sourceFile:sourceMap-FileWithComments.ts 1-> > > -1->Emitted(23, 5) Source(27, 5) + SourceIndex(0) +1->Emitted(24, 5) Source(27, 5) + SourceIndex(0) --- >>> * this is another comment >>> */ @@ -448,7 +449,7 @@ sourceFile:sourceMap-FileWithComments.ts 1->/** comment after function > * this is another comment > */ -1->Emitted(25, 7) Source(29, 7) + SourceIndex(0) +1->Emitted(26, 7) Source(29, 7) + SourceIndex(0) --- >>> var b = 10; 1->^^^^ @@ -465,12 +466,12 @@ sourceFile:sourceMap-FileWithComments.ts 4 > = 5 > 10 6 > ; -1->Emitted(26, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(26, 9) Source(30, 9) + SourceIndex(0) -3 >Emitted(26, 10) Source(30, 10) + SourceIndex(0) -4 >Emitted(26, 13) Source(30, 13) + SourceIndex(0) -5 >Emitted(26, 15) Source(30, 15) + SourceIndex(0) -6 >Emitted(26, 16) Source(30, 16) + SourceIndex(0) +1->Emitted(27, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(27, 9) Source(30, 9) + SourceIndex(0) +3 >Emitted(27, 10) Source(30, 10) + SourceIndex(0) +4 >Emitted(27, 13) Source(30, 13) + SourceIndex(0) +5 >Emitted(27, 15) Source(30, 15) + SourceIndex(0) +6 >Emitted(27, 16) Source(30, 16) + SourceIndex(0) --- >>>})(Shapes || (Shapes = {})); 1-> @@ -512,13 +513,13 @@ sourceFile:sourceMap-FileWithComments.ts > */ > var b = 10; > } -1->Emitted(27, 1) Source(31, 1) + SourceIndex(0) -2 >Emitted(27, 2) Source(31, 2) + SourceIndex(0) -3 >Emitted(27, 4) Source(7, 11) + SourceIndex(0) -4 >Emitted(27, 10) Source(7, 17) + SourceIndex(0) -5 >Emitted(27, 15) Source(7, 11) + SourceIndex(0) -6 >Emitted(27, 21) Source(7, 17) + SourceIndex(0) -7 >Emitted(27, 29) Source(31, 2) + SourceIndex(0) +1->Emitted(28, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(28, 2) Source(31, 2) + SourceIndex(0) +3 >Emitted(28, 4) Source(7, 11) + SourceIndex(0) +4 >Emitted(28, 10) Source(7, 17) + SourceIndex(0) +5 >Emitted(28, 15) Source(7, 11) + SourceIndex(0) +6 >Emitted(28, 21) Source(7, 17) + SourceIndex(0) +7 >Emitted(28, 29) Source(31, 2) + SourceIndex(0) --- >>>/** Local Variable */ 1 > @@ -528,8 +529,8 @@ sourceFile:sourceMap-FileWithComments.ts > > 2 >/** Local Variable */ -1 >Emitted(28, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(28, 22) Source(33, 22) + SourceIndex(0) +1 >Emitted(29, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(29, 22) Source(33, 22) + SourceIndex(0) --- >>>var p = new Shapes.Point(3, 4); 1-> @@ -561,20 +562,20 @@ sourceFile:sourceMap-FileWithComments.ts 12> 4 13> ) 14> ; -1->Emitted(29, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(29, 5) Source(34, 5) + SourceIndex(0) -3 >Emitted(29, 6) Source(34, 6) + SourceIndex(0) -4 >Emitted(29, 9) Source(34, 17) + SourceIndex(0) -5 >Emitted(29, 13) Source(34, 21) + SourceIndex(0) -6 >Emitted(29, 19) Source(34, 27) + SourceIndex(0) -7 >Emitted(29, 20) Source(34, 28) + SourceIndex(0) -8 >Emitted(29, 25) Source(34, 33) + SourceIndex(0) -9 >Emitted(29, 26) Source(34, 34) + SourceIndex(0) -10>Emitted(29, 27) Source(34, 35) + SourceIndex(0) -11>Emitted(29, 29) Source(34, 37) + SourceIndex(0) -12>Emitted(29, 30) Source(34, 38) + SourceIndex(0) -13>Emitted(29, 31) Source(34, 39) + SourceIndex(0) -14>Emitted(29, 32) Source(34, 40) + SourceIndex(0) +1->Emitted(30, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(30, 5) Source(34, 5) + SourceIndex(0) +3 >Emitted(30, 6) Source(34, 6) + SourceIndex(0) +4 >Emitted(30, 9) Source(34, 17) + SourceIndex(0) +5 >Emitted(30, 13) Source(34, 21) + SourceIndex(0) +6 >Emitted(30, 19) Source(34, 27) + SourceIndex(0) +7 >Emitted(30, 20) Source(34, 28) + SourceIndex(0) +8 >Emitted(30, 25) Source(34, 33) + SourceIndex(0) +9 >Emitted(30, 26) Source(34, 34) + SourceIndex(0) +10>Emitted(30, 27) Source(34, 35) + SourceIndex(0) +11>Emitted(30, 29) Source(34, 37) + SourceIndex(0) +12>Emitted(30, 30) Source(34, 38) + SourceIndex(0) +13>Emitted(30, 31) Source(34, 39) + SourceIndex(0) +14>Emitted(30, 32) Source(34, 40) + SourceIndex(0) --- >>>var dist = p.getDist(); 1 > @@ -597,14 +598,14 @@ sourceFile:sourceMap-FileWithComments.ts 7 > getDist 8 > () 9 > ; -1 >Emitted(30, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(30, 5) Source(35, 5) + SourceIndex(0) -3 >Emitted(30, 9) Source(35, 9) + SourceIndex(0) -4 >Emitted(30, 12) Source(35, 12) + SourceIndex(0) -5 >Emitted(30, 13) Source(35, 13) + SourceIndex(0) -6 >Emitted(30, 14) Source(35, 14) + SourceIndex(0) -7 >Emitted(30, 21) Source(35, 21) + SourceIndex(0) -8 >Emitted(30, 23) Source(35, 23) + SourceIndex(0) -9 >Emitted(30, 24) Source(35, 24) + SourceIndex(0) +1 >Emitted(31, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(31, 5) Source(35, 5) + SourceIndex(0) +3 >Emitted(31, 9) Source(35, 9) + SourceIndex(0) +4 >Emitted(31, 12) Source(35, 12) + SourceIndex(0) +5 >Emitted(31, 13) Source(35, 13) + SourceIndex(0) +6 >Emitted(31, 14) Source(35, 14) + SourceIndex(0) +7 >Emitted(31, 21) Source(35, 21) + SourceIndex(0) +8 >Emitted(31, 23) Source(35, 23) + SourceIndex(0) +9 >Emitted(31, 24) Source(35, 24) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMap-FileWithComments.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.js b/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.js index 12181dc7ef532..2fcb0e88b58c5 100644 --- a/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.js +++ b/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.js @@ -5,5 +5,6 @@ interface I {} var x = 0; //// [sourceMap-InterfacePrecedingVariableDeclaration1.js] +"use strict"; var x = 0; //# sourceMappingURL=sourceMap-InterfacePrecedingVariableDeclaration1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.js.map b/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.js.map index 2e808f081e393..9aeea89a1e8c5 100644 --- a/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.js.map +++ b/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.js.map @@ -1,3 +1,3 @@ //// [sourceMap-InterfacePrecedingVariableDeclaration1.js.map] -{"version":3,"file":"sourceMap-InterfacePrecedingVariableDeclaration1.js","sourceRoot":"","sources":["sourceMap-InterfacePrecedingVariableDeclaration1.ts"],"names":[],"mappings":"AACA,IAAI,CAAC,GAAG,CAAC,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHggPSAwOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLUludGVyZmFjZVByZWNlZGluZ1ZhcmlhYmxlRGVjbGFyYXRpb24xLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLUludGVyZmFjZVByZWNlZGluZ1ZhcmlhYmxlRGVjbGFyYXRpb24xLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwLUludGVyZmFjZVByZWNlZGluZ1ZhcmlhYmxlRGVjbGFyYXRpb24xLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUNBLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQyJ9,aW50ZXJmYWNlIEkge30KdmFyIHggPSAwOw== +{"version":3,"file":"sourceMap-InterfacePrecedingVariableDeclaration1.js","sourceRoot":"","sources":["sourceMap-InterfacePrecedingVariableDeclaration1.ts"],"names":[],"mappings":";AACA,IAAI,CAAC,GAAG,CAAC,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIHggPSAwOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLUludGVyZmFjZVByZWNlZGluZ1ZhcmlhYmxlRGVjbGFyYXRpb24xLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLUludGVyZmFjZVByZWNlZGluZ1ZhcmlhYmxlRGVjbGFyYXRpb24xLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwLUludGVyZmFjZVByZWNlZGluZ1ZhcmlhYmxlRGVjbGFyYXRpb24xLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFDQSxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUMifQ==,aW50ZXJmYWNlIEkge30KdmFyIHggPSAwOw== diff --git a/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.sourcemap.txt b/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.sourcemap.txt index fab99048a84b5..4cf402e4a3870 100644 --- a/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-InterfacePrecedingVariableDeclaration1.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMap-InterfacePrecedingVariableDeclaration1.ts emittedFile:sourceMap-InterfacePrecedingVariableDeclaration1.js sourceFile:sourceMap-InterfacePrecedingVariableDeclaration1.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var x = 0; 1 > 2 >^^^^ @@ -23,11 +24,11 @@ sourceFile:sourceMap-InterfacePrecedingVariableDeclaration1.ts 4 > = 5 > 0 6 > ; -1 >Emitted(1, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(2, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(2, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(2, 9) + SourceIndex(0) -5 >Emitted(1, 10) Source(2, 10) + SourceIndex(0) -6 >Emitted(1, 11) Source(2, 11) + SourceIndex(0) +1 >Emitted(2, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(2, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) +5 >Emitted(2, 10) Source(2, 10) + SourceIndex(0) +6 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMap-InterfacePrecedingVariableDeclaration1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-LineBreaks.js b/tests/baselines/reference/sourceMap-LineBreaks.js index 715e01c05c5fb..7b6013fd90668 100644 --- a/tests/baselines/reference/sourceMap-LineBreaks.js +++ b/tests/baselines/reference/sourceMap-LineBreaks.js @@ -15,6 +15,7 @@ var stringLiteralWithCarriageReturn = "line 1\ line 2"; var stringLiteralWithLineSeparator = "line 1\
line 2";
var stringLiteralWithParagraphSeparator = "line 1\
line 2";
var stringLiteralWithNextLine = "line 1\…line 2"; //// [sourceMap-LineBreaks.js] +"use strict"; var endsWithlineSeparator = 10; var endsWithParagraphSeparator = 10; var endsWithNextLine = 1; diff --git a/tests/baselines/reference/sourceMap-LineBreaks.js.map b/tests/baselines/reference/sourceMap-LineBreaks.js.map index b9f8a26fbb4c5..cf981d8ae503c 100644 --- a/tests/baselines/reference/sourceMap-LineBreaks.js.map +++ b/tests/baselines/reference/sourceMap-LineBreaks.js.map @@ -1,3 +1,3 @@ //// [sourceMap-LineBreaks.js.map] -{"version":3,"file":"sourceMap-LineBreaks.js","sourceRoot":"","sources":["sourceMap-LineBreaks.ts"],"names":[],"mappings":"AAAA,IAAI,qBAAqB,GAAG,EAAE,CAAC;AAC/B,IAAI,0BAA0B,GAAG,EAAE,CAAC;AACpC,IAAI,gBAAgB,GAAG,CAAC,CAAC;AAAC,IAAI,gBAAgB,GAAG,CAAC,CAAC;AACnD,IAAI,8BAA8B,GAAG,CAAC,CAAC;AACvC,IAAI,sBAAsB,GAAG,CAAC,CAAC;AAC/B,IAAI,8BAA8B,GAAG,CAAC,CAAC;AAEvC,IAAI,sCAAsC,GAAG,CAAC,CAAC;AAE/C,IAAI,yBAAyB,GAAG;OACzB,CAAC;AACR,IAAI,uCAAuC,GAAG;OACvC,CAAC;AACR,IAAI,+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ZCA9IDE7Cgp2YXIgc3RyaW5nTGl0ZXJhbFdpdGhMaW5lRmVlZCA9ICJsaW5lIDFcCmxpbmUgMiI7CnZhciBzdHJpbmdMaXRlcmFsV2l0aENhcnJpYWdlUmV0dXJuTGluZUZlZWQgPSAibGluZSAxXApsaW5lIDIiOwp2YXIgc3RyaW5nTGl0ZXJhbFdpdGhDYXJyaWFnZVJldHVybiA9ICJsaW5lIDFcDWxpbmUgMiI7Cgp2YXIgc3RyaW5nTGl0ZXJhbFdpdGhMaW5lU2VwYXJhdG9yID0gImxpbmUgMVzigKhsaW5lIDIiO+KAqXZhciBzdHJpbmdMaXRlcmFsV2l0aFBhcmFncmFwaFNlcGFyYXRvciA9ICJsaW5lIDFc4oCpbGluZSAyIjvigKl2YXIgc3RyaW5nTGl0ZXJhbFdpdGhOZXh0TGluZSA9ICJsaW5lIDFcwoVsaW5lIDIiOw== diff --git a/tests/baselines/reference/sourceMap-LineBreaks.sourcemap.txt b/tests/baselines/reference/sourceMap-LineBreaks.sourcemap.txt index 8f364cbe660d0..c643f9140162b 100644 --- a/tests/baselines/reference/sourceMap-LineBreaks.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-LineBreaks.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMap-LineBreaks.ts emittedFile:sourceMap-LineBreaks.js sourceFile:sourceMap-LineBreaks.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var endsWithlineSeparator = 10; 1 > 2 >^^^^ @@ -22,12 +23,12 @@ sourceFile:sourceMap-LineBreaks.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 26) Source(1, 26) + SourceIndex(0) -4 >Emitted(1, 29) Source(1, 29) + SourceIndex(0) -5 >Emitted(1, 31) Source(1, 31) + SourceIndex(0) -6 >Emitted(1, 32) Source(1, 32) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 26) Source(1, 26) + SourceIndex(0) +4 >Emitted(2, 29) Source(1, 29) + SourceIndex(0) +5 >Emitted(2, 31) Source(1, 31) + SourceIndex(0) +6 >Emitted(2, 32) Source(1, 32) + SourceIndex(0) --- >>>var endsWithParagraphSeparator = 10; 1-> @@ -42,12 +43,12 @@ sourceFile:sourceMap-LineBreaks.ts 4 > = 5 > 10 6 > ; -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -3 >Emitted(2, 31) Source(2, 31) + SourceIndex(0) -4 >Emitted(2, 34) Source(2, 34) + SourceIndex(0) -5 >Emitted(2, 36) Source(2, 36) + SourceIndex(0) -6 >Emitted(2, 37) Source(2, 37) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +3 >Emitted(3, 31) Source(2, 31) + SourceIndex(0) +4 >Emitted(3, 34) Source(2, 34) + SourceIndex(0) +5 >Emitted(3, 36) Source(2, 36) + SourceIndex(0) +6 >Emitted(3, 37) Source(2, 37) + SourceIndex(0) --- >>>var endsWithNextLine = 1; 1 > @@ -63,12 +64,12 @@ sourceFile:sourceMap-LineBreaks.ts 4 > = 5 > 1 6 > ; -1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) -3 >Emitted(3, 21) Source(3, 21) + SourceIndex(0) -4 >Emitted(3, 24) Source(3, 24) + SourceIndex(0) -5 >Emitted(3, 25) Source(3, 25) + SourceIndex(0) -6 >Emitted(3, 26) Source(3, 26) + SourceIndex(0) +1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(3, 5) + SourceIndex(0) +3 >Emitted(4, 21) Source(3, 21) + SourceIndex(0) +4 >Emitted(4, 24) Source(3, 24) + SourceIndex(0) +5 >Emitted(4, 25) Source(3, 25) + SourceIndex(0) +6 >Emitted(4, 26) Source(3, 26) + SourceIndex(0) --- >>>var endsWithLineFeed = 1; 1-> @@ -84,12 +85,12 @@ sourceFile:sourceMap-LineBreaks.ts 4 > = 5 > 1 6 > ; -1->Emitted(4, 1) Source(3, 27) + SourceIndex(0) -2 >Emitted(4, 5) Source(3, 31) + SourceIndex(0) -3 >Emitted(4, 21) Source(3, 47) + SourceIndex(0) -4 >Emitted(4, 24) Source(3, 50) + SourceIndex(0) -5 >Emitted(4, 25) Source(3, 51) + SourceIndex(0) -6 >Emitted(4, 26) Source(3, 52) + SourceIndex(0) +1->Emitted(5, 1) Source(3, 27) + SourceIndex(0) +2 >Emitted(5, 5) Source(3, 31) + SourceIndex(0) +3 >Emitted(5, 21) Source(3, 47) + SourceIndex(0) +4 >Emitted(5, 24) Source(3, 50) + SourceIndex(0) +5 >Emitted(5, 25) Source(3, 51) + SourceIndex(0) +6 >Emitted(5, 26) Source(3, 52) + SourceIndex(0) --- >>>var endsWithCarriageReturnLineFeed = 1; 1-> @@ -105,12 +106,12 @@ sourceFile:sourceMap-LineBreaks.ts 4 > = 5 > 1 6 > ; -1->Emitted(5, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(5, 5) Source(4, 5) + SourceIndex(0) -3 >Emitted(5, 35) Source(4, 35) + SourceIndex(0) -4 >Emitted(5, 38) Source(4, 38) + SourceIndex(0) -5 >Emitted(5, 39) Source(4, 39) + SourceIndex(0) -6 >Emitted(5, 40) Source(4, 40) + SourceIndex(0) +1->Emitted(6, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(6, 5) Source(4, 5) + SourceIndex(0) +3 >Emitted(6, 35) Source(4, 35) + SourceIndex(0) +4 >Emitted(6, 38) Source(4, 38) + SourceIndex(0) +5 >Emitted(6, 39) Source(4, 39) + SourceIndex(0) +6 >Emitted(6, 40) Source(4, 40) + SourceIndex(0) --- >>>var endsWithCarriageReturn = 1; 1 > @@ -127,12 +128,12 @@ sourceFile:sourceMap-LineBreaks.ts 4 > = 5 > 1 6 > ; -1 >Emitted(6, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(6, 5) Source(5, 5) + SourceIndex(0) -3 >Emitted(6, 27) Source(5, 27) + SourceIndex(0) -4 >Emitted(6, 30) Source(5, 30) + SourceIndex(0) -5 >Emitted(6, 31) Source(5, 31) + SourceIndex(0) -6 >Emitted(6, 32) Source(5, 32) + SourceIndex(0) +1 >Emitted(7, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(7, 5) Source(5, 5) + SourceIndex(0) +3 >Emitted(7, 27) Source(5, 27) + SourceIndex(0) +4 >Emitted(7, 30) Source(5, 30) + SourceIndex(0) +5 >Emitted(7, 31) Source(5, 31) + SourceIndex(0) +6 >Emitted(7, 32) Source(5, 32) + SourceIndex(0) --- >>>var endsWithLineFeedCarriageReturn = 1; 1-> @@ -148,12 +149,12 @@ sourceFile:sourceMap-LineBreaks.ts 4 > = 5 > 1 6 > ; -1->Emitted(7, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(6, 5) + SourceIndex(0) -3 >Emitted(7, 35) Source(6, 35) + SourceIndex(0) -4 >Emitted(7, 38) Source(6, 38) + SourceIndex(0) -5 >Emitted(7, 39) Source(6, 39) + SourceIndex(0) -6 >Emitted(7, 40) Source(6, 40) + SourceIndex(0) +1->Emitted(8, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(6, 5) + SourceIndex(0) +3 >Emitted(8, 35) Source(6, 35) + SourceIndex(0) +4 >Emitted(8, 38) Source(6, 38) + SourceIndex(0) +5 >Emitted(8, 39) Source(6, 39) + SourceIndex(0) +6 >Emitted(8, 40) Source(6, 40) + SourceIndex(0) --- >>>var endsWithLineFeedCarriageReturnLineFeed = 1; 1-> @@ -169,12 +170,12 @@ sourceFile:sourceMap-LineBreaks.ts 4 > = 5 > 1 6 > ; -1->Emitted(8, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(8, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(8, 43) Source(8, 43) + SourceIndex(0) -4 >Emitted(8, 46) Source(8, 46) + SourceIndex(0) -5 >Emitted(8, 47) Source(8, 47) + SourceIndex(0) -6 >Emitted(8, 48) Source(8, 48) + SourceIndex(0) +1->Emitted(9, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(9, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(9, 43) Source(8, 43) + SourceIndex(0) +4 >Emitted(9, 46) Source(8, 46) + SourceIndex(0) +5 >Emitted(9, 47) Source(8, 47) + SourceIndex(0) +6 >Emitted(9, 48) Source(8, 48) + SourceIndex(0) --- >>>var stringLiteralWithLineFeed = "line 1\ 1 > @@ -187,10 +188,10 @@ sourceFile:sourceMap-LineBreaks.ts 2 >var 3 > stringLiteralWithLineFeed 4 > = -1 >Emitted(9, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(9, 5) Source(10, 5) + SourceIndex(0) -3 >Emitted(9, 30) Source(10, 30) + SourceIndex(0) -4 >Emitted(9, 33) Source(10, 33) + SourceIndex(0) +1 >Emitted(10, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(10, 5) Source(10, 5) + SourceIndex(0) +3 >Emitted(10, 30) Source(10, 30) + SourceIndex(0) +4 >Emitted(10, 33) Source(10, 33) + SourceIndex(0) --- >>>line 2"; 1 >^^^^^^^ @@ -199,8 +200,8 @@ sourceFile:sourceMap-LineBreaks.ts 1 >"line 1\ >line 2" 2 > ; -1 >Emitted(10, 8) Source(11, 8) + SourceIndex(0) -2 >Emitted(10, 9) Source(11, 9) + SourceIndex(0) +1 >Emitted(11, 8) Source(11, 8) + SourceIndex(0) +2 >Emitted(11, 9) Source(11, 9) + SourceIndex(0) --- >>>var stringLiteralWithCarriageReturnLineFeed = "line 1\ 1-> @@ -212,10 +213,10 @@ sourceFile:sourceMap-LineBreaks.ts 2 >var 3 > stringLiteralWithCarriageReturnLineFeed 4 > = -1->Emitted(11, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(11, 5) Source(12, 5) + SourceIndex(0) -3 >Emitted(11, 44) Source(12, 44) + SourceIndex(0) -4 >Emitted(11, 47) Source(12, 47) + SourceIndex(0) +1->Emitted(12, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(12, 5) Source(12, 5) + SourceIndex(0) +3 >Emitted(12, 44) Source(12, 44) + SourceIndex(0) +4 >Emitted(12, 47) Source(12, 47) + SourceIndex(0) --- >>>line 2"; 1 >^^^^^^^ @@ -224,8 +225,8 @@ sourceFile:sourceMap-LineBreaks.ts 1 >"line 1\ >line 2" 2 > ; -1 >Emitted(12, 8) Source(13, 8) + SourceIndex(0) -2 >Emitted(12, 9) Source(13, 9) + SourceIndex(0) +1 >Emitted(13, 8) Source(13, 8) + SourceIndex(0) +2 >Emitted(13, 9) Source(13, 9) + SourceIndex(0) --- >>>var stringLiteralWithCarriageReturn = "line 1\ 1-> 2 >^^^^ @@ -236,10 +237,10 @@ sourceFile:sourceMap-LineBreaks.ts 2 >var 3 > stringLiteralWithCarriageReturn 4 > = -1->Emitted(13, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(13, 5) Source(14, 5) + SourceIndex(0) -3 >Emitted(13, 36) Source(14, 36) + SourceIndex(0) -4 >Emitted(13, 39) Source(14, 39) + SourceIndex(0) +1->Emitted(14, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(14, 5) Source(14, 5) + SourceIndex(0) +3 >Emitted(14, 36) Source(14, 36) + SourceIndex(0) +4 >Emitted(14, 39) Source(14, 39) + SourceIndex(0) --- >>>line 2"; 1 >^^^^^^^ @@ -247,8 +248,8 @@ sourceFile:sourceMap-LineBreaks.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 >"line 1\ >line 2" 2 > ; -1 >Emitted(14, 8) Source(15, 8) + SourceIndex(0) -2 >Emitted(14, 9) Source(15, 9) + SourceIndex(0) +1 >Emitted(15, 8) Source(15, 8) + SourceIndex(0) +2 >Emitted(15, 9) Source(15, 9) + SourceIndex(0) --- >>>var stringLiteralWithLineSeparator = "line 1\
1-> 2 >^^^^ @@ -260,10 +261,10 @@ sourceFile:sourceMap-LineBreaks.ts 2 >var 3 > stringLiteralWithLineSeparator 4 > = -1->Emitted(15, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(15, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(15, 35) Source(17, 35) + SourceIndex(0) -4 >Emitted(15, 38) Source(17, 38) + SourceIndex(0) +1->Emitted(16, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(16, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(16, 35) Source(17, 35) + SourceIndex(0) +4 >Emitted(16, 38) Source(17, 38) + SourceIndex(0) --- >>>line 2"; 1 >^^^^^^^ @@ -271,8 +272,8 @@ sourceFile:sourceMap-LineBreaks.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 >"line 1\
 >line 2" 2 > ; -1 >Emitted(16, 8) Source(18, 8) + SourceIndex(0) -2 >Emitted(16, 9) Source(18, 9) + SourceIndex(0) +1 >Emitted(17, 8) Source(18, 8) + SourceIndex(0) +2 >Emitted(17, 9) Source(18, 9) + SourceIndex(0) --- >>>var stringLiteralWithParagraphSeparator = "line 1\
1-> 2 >^^^^ @@ -282,10 +283,10 @@ sourceFile:sourceMap-LineBreaks.ts 2 >var 3 > stringLiteralWithParagraphSeparator 4 > = -1->Emitted(17, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(17, 5) Source(19, 5) + SourceIndex(0) -3 >Emitted(17, 40) Source(19, 40) + SourceIndex(0) -4 >Emitted(17, 43) Source(19, 43) + SourceIndex(0) +1->Emitted(18, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(18, 5) Source(19, 5) + SourceIndex(0) +3 >Emitted(18, 40) Source(19, 40) + SourceIndex(0) +4 >Emitted(18, 43) Source(19, 43) + SourceIndex(0) --- >>>line 2"; 1 >^^^^^^^ @@ -293,8 +294,8 @@ sourceFile:sourceMap-LineBreaks.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 >"line 1\
 >line 2" 2 > ; -1 >Emitted(18, 8) Source(20, 8) + SourceIndex(0) -2 >Emitted(18, 9) Source(20, 9) + SourceIndex(0) +1 >Emitted(19, 8) Source(20, 8) + SourceIndex(0) +2 >Emitted(19, 9) Source(20, 9) + SourceIndex(0) --- >>>var stringLiteralWithNextLine = "line 1\…line 2"; 1-> @@ -309,11 +310,11 @@ sourceFile:sourceMap-LineBreaks.ts 4 > = 5 > "line 1\…line 2" 6 > ; -1->Emitted(19, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(19, 5) Source(21, 5) + SourceIndex(0) -3 >Emitted(19, 30) Source(21, 30) + SourceIndex(0) -4 >Emitted(19, 33) Source(21, 33) + SourceIndex(0) -5 >Emitted(19, 49) Source(21, 49) + SourceIndex(0) -6 >Emitted(19, 50) Source(21, 50) + SourceIndex(0) +1->Emitted(20, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(21, 5) + SourceIndex(0) +3 >Emitted(20, 30) Source(21, 30) + SourceIndex(0) +4 >Emitted(20, 33) Source(21, 33) + SourceIndex(0) +5 >Emitted(20, 49) Source(21, 49) + SourceIndex(0) +6 >Emitted(20, 50) Source(21, 50) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMap-LineBreaks.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-NewLine1.js b/tests/baselines/reference/sourceMap-NewLine1.js index 207752a3a019e..c5692ef33c646 100644 --- a/tests/baselines/reference/sourceMap-NewLine1.js +++ b/tests/baselines/reference/sourceMap-NewLine1.js @@ -4,4 +4,5 @@ //// [sourceMap-NewLine1.js] +"use strict"; //# sourceMappingURL=sourceMap-NewLine1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-NewLine1.js.map b/tests/baselines/reference/sourceMap-NewLine1.js.map index 392b7430552f6..e2f2d5d0597d5 100644 --- a/tests/baselines/reference/sourceMap-NewLine1.js.map +++ b/tests/baselines/reference/sourceMap-NewLine1.js.map @@ -1,3 +1,3 @@ //// [sourceMap-NewLine1.js.map] {"version":3,"file":"sourceMap-NewLine1.js","sourceRoot":"","sources":["sourceMap-NewLine1.ts"],"names":[],"mappings":""} -//// https://sokra.github.io/source-map-visualization#base64,Ly8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLU5ld0xpbmUxLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLU5ld0xpbmUxLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwLU5ld0xpbmUxLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==, +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLU5ld0xpbmUxLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLU5ld0xpbmUxLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwLU5ld0xpbmUxLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIifQ==, diff --git a/tests/baselines/reference/sourceMap-NewLine1.sourcemap.txt b/tests/baselines/reference/sourceMap-NewLine1.sourcemap.txt index b6f7132dd2e4a..e026a9675d01b 100644 --- a/tests/baselines/reference/sourceMap-NewLine1.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-NewLine1.sourcemap.txt @@ -4,4 +4,5 @@ mapUrl: sourceMap-NewLine1.js.map sourceRoot: sources: sourceMap-NewLine1.ts =================================================================== +>>>"use strict"; >>>//# sourceMappingURL=sourceMap-NewLine1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-SemiColon1.js b/tests/baselines/reference/sourceMap-SemiColon1.js index a59db953e3581..e9d093090ed32 100644 --- a/tests/baselines/reference/sourceMap-SemiColon1.js +++ b/tests/baselines/reference/sourceMap-SemiColon1.js @@ -5,5 +5,6 @@ //// [sourceMap-SemiColon1.js] +"use strict"; ; //# sourceMappingURL=sourceMap-SemiColon1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-SemiColon1.js.map b/tests/baselines/reference/sourceMap-SemiColon1.js.map index c0d465a7af68a..e701b07d1da4a 100644 --- a/tests/baselines/reference/sourceMap-SemiColon1.js.map +++ b/tests/baselines/reference/sourceMap-SemiColon1.js.map @@ -1,3 +1,3 @@ //// [sourceMap-SemiColon1.js.map] -{"version":3,"file":"sourceMap-SemiColon1.js","sourceRoot":"","sources":["sourceMap-SemiColon1.ts"],"names":[],"mappings":"AAAA,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,Ow0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLVNlbWlDb2xvbjEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLVNlbWlDb2xvbjEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzb3VyY2VNYXAtU2VtaUNvbG9uMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxDQUFDIn0=,Owo= +{"version":3,"file":"sourceMap-SemiColon1.js","sourceRoot":"","sources":["sourceMap-SemiColon1.ts"],"names":[],"mappings":";AAAA,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLVNlbWlDb2xvbjEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLVNlbWlDb2xvbjEuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzb3VyY2VNYXAtU2VtaUNvbG9uMS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsQ0FBQyJ9,Owo= diff --git a/tests/baselines/reference/sourceMap-SemiColon1.sourcemap.txt b/tests/baselines/reference/sourceMap-SemiColon1.sourcemap.txt index f5fdf4766229d..cbc110dd52221 100644 --- a/tests/baselines/reference/sourceMap-SemiColon1.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-SemiColon1.sourcemap.txt @@ -8,13 +8,14 @@ sources: sourceMap-SemiColon1.ts emittedFile:sourceMap-SemiColon1.js sourceFile:sourceMap-SemiColon1.ts ------------------------------------------------------------------- +>>>"use strict"; >>>; 1 > 2 >^ 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > 2 >; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 2) Source(1, 2) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 2) Source(1, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMap-SemiColon1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-SingleSpace1.js b/tests/baselines/reference/sourceMap-SingleSpace1.js index 42092ac1a4cd8..bb722bf8fed6d 100644 --- a/tests/baselines/reference/sourceMap-SingleSpace1.js +++ b/tests/baselines/reference/sourceMap-SingleSpace1.js @@ -4,4 +4,5 @@ //// [sourceMap-SingleSpace1.js] +"use strict"; //# sourceMappingURL=sourceMap-SingleSpace1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-SingleSpace1.js.map b/tests/baselines/reference/sourceMap-SingleSpace1.js.map index 9df2ccd19fe2d..f8f9a3c48c82c 100644 --- a/tests/baselines/reference/sourceMap-SingleSpace1.js.map +++ b/tests/baselines/reference/sourceMap-SingleSpace1.js.map @@ -1,3 +1,3 @@ //// [sourceMap-SingleSpace1.js.map] {"version":3,"file":"sourceMap-SingleSpace1.js","sourceRoot":"","sources":["sourceMap-SingleSpace1.ts"],"names":[],"mappings":""} -//// https://sokra.github.io/source-map-visualization#base64,Ly8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLVNpbmdsZVNwYWNlMS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLVNpbmdsZVNwYWNlMS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcC1TaW5nbGVTcGFjZTEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9,IA== +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLVNpbmdsZVNwYWNlMS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLVNpbmdsZVNwYWNlMS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcC1TaW5nbGVTcGFjZTEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiJ9,IA== diff --git a/tests/baselines/reference/sourceMap-SingleSpace1.sourcemap.txt b/tests/baselines/reference/sourceMap-SingleSpace1.sourcemap.txt index 1fc769eb779c9..5ded0f60d3f9b 100644 --- a/tests/baselines/reference/sourceMap-SingleSpace1.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-SingleSpace1.sourcemap.txt @@ -4,4 +4,5 @@ mapUrl: sourceMap-SingleSpace1.js.map sourceRoot: sources: sourceMap-SingleSpace1.ts =================================================================== +>>>"use strict"; >>>//# sourceMappingURL=sourceMap-SingleSpace1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-SkippedNode.js b/tests/baselines/reference/sourceMap-SkippedNode.js index f3423d55caa88..ffa2efa1e26dc 100644 --- a/tests/baselines/reference/sourceMap-SkippedNode.js +++ b/tests/baselines/reference/sourceMap-SkippedNode.js @@ -8,6 +8,7 @@ try { } //// [sourceMap-SkippedNode.js] +"use strict"; try { // ... } diff --git a/tests/baselines/reference/sourceMap-SkippedNode.js.map b/tests/baselines/reference/sourceMap-SkippedNode.js.map index d593b0be74d1d..b8b61a1c71601 100644 --- a/tests/baselines/reference/sourceMap-SkippedNode.js.map +++ b/tests/baselines/reference/sourceMap-SkippedNode.js.map @@ -1,3 +1,3 @@ //// [sourceMap-SkippedNode.js.map] -{"version":3,"file":"sourceMap-SkippedNode.js","sourceRoot":"","sources":["sourceMap-SkippedNode.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC;IACL,MAAM;AACN,CAAC;QAAS,CAAC;IACX,wBAAwB;AACxB,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dHJ5IHsNCiAgICAvLyAuLi4NCn0NCmZpbmFsbHkgew0KICAgIC8vIE4uQi4gTm8gJ2NhdGNoJyBibG9jaw0KfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLVNraXBwZWROb2RlLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLVNraXBwZWROb2RlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwLVNraXBwZWROb2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQztJQUNMLE1BQU07QUFDTixDQUFDO1FBQVMsQ0FBQztJQUNYLHdCQUF3QjtBQUN4QixDQUFDIn0=,dHJ5IHsKLy8gLi4uCn0gZmluYWxseSB7Ci8vIE4uQi4gTm8gJ2NhdGNoJyBibG9jawp9 +{"version":3,"file":"sourceMap-SkippedNode.js","sourceRoot":"","sources":["sourceMap-SkippedNode.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC;IACL,MAAM;AACN,CAAC;QAAS,CAAC;IACX,wBAAwB;AACxB,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdHJ5IHsNCiAgICAvLyAuLi4NCn0NCmZpbmFsbHkgew0KICAgIC8vIE4uQi4gTm8gJ2NhdGNoJyBibG9jaw0KfQ0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLVNraXBwZWROb2RlLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLVNraXBwZWROb2RlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwLVNraXBwZWROb2RlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFJLENBQUM7SUFDTCxNQUFNO0FBQ04sQ0FBQztRQUFTLENBQUM7SUFDWCx3QkFBd0I7QUFDeEIsQ0FBQyJ9,dHJ5IHsKLy8gLi4uCn0gZmluYWxseSB7Ci8vIE4uQi4gTm8gJ2NhdGNoJyBibG9jawp9 diff --git a/tests/baselines/reference/sourceMap-SkippedNode.sourcemap.txt b/tests/baselines/reference/sourceMap-SkippedNode.sourcemap.txt index 98ca0370d19e6..bda252559f3c0 100644 --- a/tests/baselines/reference/sourceMap-SkippedNode.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-SkippedNode.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMap-SkippedNode.ts emittedFile:sourceMap-SkippedNode.js sourceFile:sourceMap-SkippedNode.ts ------------------------------------------------------------------- +>>>"use strict"; >>>try { 1 > 2 >^^^^ @@ -16,9 +17,9 @@ sourceFile:sourceMap-SkippedNode.ts 1 > 2 >try 3 > { -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) --- >>> // ... 1->^^^^ @@ -26,8 +27,8 @@ sourceFile:sourceMap-SkippedNode.ts 1-> > 2 > // ... -1->Emitted(2, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 11) Source(2, 7) + SourceIndex(0) +1->Emitted(3, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 11) Source(2, 7) + SourceIndex(0) --- >>>} 1 > @@ -36,8 +37,8 @@ sourceFile:sourceMap-SkippedNode.ts 1 > > 2 >} -1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(4, 2) Source(3, 2) + SourceIndex(0) --- >>>finally { 1->^^^^^^^^ @@ -45,8 +46,8 @@ sourceFile:sourceMap-SkippedNode.ts 3 > ^^^^^^^^^^^^^^^^^^^^-> 1-> finally 2 > { -1->Emitted(4, 9) Source(3, 11) + SourceIndex(0) -2 >Emitted(4, 10) Source(3, 12) + SourceIndex(0) +1->Emitted(5, 9) Source(3, 11) + SourceIndex(0) +2 >Emitted(5, 10) Source(3, 12) + SourceIndex(0) --- >>> // N.B. No 'catch' block 1->^^^^ @@ -54,8 +55,8 @@ sourceFile:sourceMap-SkippedNode.ts 1-> > 2 > // N.B. No 'catch' block -1->Emitted(5, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(5, 29) Source(4, 25) + SourceIndex(0) +1->Emitted(6, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(6, 29) Source(4, 25) + SourceIndex(0) --- >>>} 1 > @@ -64,7 +65,7 @@ sourceFile:sourceMap-SkippedNode.ts 1 > > 2 >} -1 >Emitted(6, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(5, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(5, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMap-SkippedNode.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.js b/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.js index 9c156c6e7e99f..e108979f92ebd 100644 --- a/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.js +++ b/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.js @@ -16,6 +16,7 @@ isn't this a lot of fun"; } //// [sourceMap-StringLiteralWithNewLine.js] +"use strict"; var Foo; (function (Foo) { var x = "test1"; diff --git a/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.js.map b/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.js.map index 01c7bb3513c2a..4125b4dbbe8aa 100644 --- a/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.js.map +++ b/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.js.map @@ -1,3 +1,3 @@ //// [sourceMap-StringLiteralWithNewLine.js.map] -{"version":3,"file":"sourceMap-StringLiteralWithNewLine.js","sourceRoot":"","sources":["sourceMap-StringLiteralWithNewLine.ts"],"names":[],"mappings":"AAOA,IAAU,GAAG,CAKZ;AALD,WAAU,GAAG;IACT,IAAI,CAAC,GAAG,OAAO,CAAC;IAChB,IAAI,CAAC,GAAG;wBACY,CAAC;IACrB,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC5B,CAAC,EALS,GAAG,KAAH,GAAG,QAKZ"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIEZvbzsNCihmdW5jdGlvbiAoRm9vKSB7DQogICAgdmFyIHggPSAidGVzdDEiOw0KICAgIHZhciB5ID0gInRlc3QgMlwKaXNuJ3QgdGhpcyBhIGxvdCBvZiBmdW4iOw0KICAgIHZhciB6ID0gd2luZG93LmRvY3VtZW50Ow0KfSkoRm9vIHx8IChGb28gPSB7fSkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLVN0cmluZ0xpdGVyYWxXaXRoTmV3TGluZS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLVN0cmluZ0xpdGVyYWxXaXRoTmV3TGluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcC1TdHJpbmdMaXRlcmFsV2l0aE5ld0xpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBT0EsSUFBVSxHQUFHLENBS1o7QUFMRCxXQUFVLEdBQUc7SUFDVCxJQUFJLENBQUMsR0FBRyxPQUFPLENBQUM7SUFDaEIsSUFBSSxDQUFDLEdBQUc7d0JBQ1ksQ0FBQztJQUNyQixJQUFJLENBQUMsR0FBRyxNQUFNLENBQUMsUUFBUSxDQUFDO0FBQzVCLENBQUMsRUFMUyxHQUFHLEtBQUgsR0FBRyxRQUtaIn0=,aW50ZXJmYWNlIERvY3VtZW50IHsKfQppbnRlcmZhY2UgV2luZG93IHsKICAgIGRvY3VtZW50OiBEb2N1bWVudDsKfQpkZWNsYXJlIHZhciB3aW5kb3c6IFdpbmRvdzsKCm5hbWVzcGFjZSBGb28gewogICAgdmFyIHggPSAidGVzdDEiOwogICAgdmFyIHkgPSAidGVzdCAyXAppc24ndCB0aGlzIGEgbG90IG9mIGZ1biI7CiAgICB2YXIgeiA9IHdpbmRvdy5kb2N1bWVudDsKfQ== +{"version":3,"file":"sourceMap-StringLiteralWithNewLine.js","sourceRoot":"","sources":["sourceMap-StringLiteralWithNewLine.ts"],"names":[],"mappings":";AAOA,IAAU,GAAG,CAKZ;AALD,WAAU,GAAG;IACT,IAAI,CAAC,GAAG,OAAO,CAAC;IAChB,IAAI,CAAC,GAAG;wBACY,CAAC;IACrB,IAAI,CAAC,GAAG,MAAM,CAAC,QAAQ,CAAC;AAC5B,CAAC,EALS,GAAG,KAAH,GAAG,QAKZ"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIEZvbzsNCihmdW5jdGlvbiAoRm9vKSB7DQogICAgdmFyIHggPSAidGVzdDEiOw0KICAgIHZhciB5ID0gInRlc3QgMlwKaXNuJ3QgdGhpcyBhIGxvdCBvZiBmdW4iOw0KICAgIHZhciB6ID0gd2luZG93LmRvY3VtZW50Ow0KfSkoRm9vIHx8IChGb28gPSB7fSkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwLVN0cmluZ0xpdGVyYWxXaXRoTmV3TGluZS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwLVN0cmluZ0xpdGVyYWxXaXRoTmV3TGluZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcC1TdHJpbmdMaXRlcmFsV2l0aE5ld0xpbmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQU9BLElBQVUsR0FBRyxDQUtaO0FBTEQsV0FBVSxHQUFHO0lBQ1QsSUFBSSxDQUFDLEdBQUcsT0FBTyxDQUFDO0lBQ2hCLElBQUksQ0FBQyxHQUFHO3dCQUNZLENBQUM7SUFDckIsSUFBSSxDQUFDLEdBQUcsTUFBTSxDQUFDLFFBQVEsQ0FBQztBQUM1QixDQUFDLEVBTFMsR0FBRyxLQUFILEdBQUcsUUFLWiJ9,aW50ZXJmYWNlIERvY3VtZW50IHsKfQppbnRlcmZhY2UgV2luZG93IHsKICAgIGRvY3VtZW50OiBEb2N1bWVudDsKfQpkZWNsYXJlIHZhciB3aW5kb3c6IFdpbmRvdzsKCm5hbWVzcGFjZSBGb28gewogICAgdmFyIHggPSAidGVzdDEiOwogICAgdmFyIHkgPSAidGVzdCAyXAppc24ndCB0aGlzIGEgbG90IG9mIGZ1biI7CiAgICB2YXIgeiA9IHdpbmRvdy5kb2N1bWVudDsKfQ== diff --git a/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.sourcemap.txt b/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.sourcemap.txt index 1e69dfbef8816..5941e6b1a87b2 100644 --- a/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.sourcemap.txt +++ b/tests/baselines/reference/sourceMap-StringLiteralWithNewLine.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMap-StringLiteralWithNewLine.ts emittedFile:sourceMap-StringLiteralWithNewLine.js sourceFile:sourceMap-StringLiteralWithNewLine.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var Foo; 1 > 2 >^^^^ @@ -30,10 +31,10 @@ sourceFile:sourceMap-StringLiteralWithNewLine.ts > isn't this a lot of fun"; > var z = window.document; > } -1 >Emitted(1, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(8, 11) + SourceIndex(0) -3 >Emitted(1, 8) Source(8, 14) + SourceIndex(0) -4 >Emitted(1, 9) Source(13, 2) + SourceIndex(0) +1 >Emitted(2, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(8, 11) + SourceIndex(0) +3 >Emitted(2, 8) Source(8, 14) + SourceIndex(0) +4 >Emitted(2, 9) Source(13, 2) + SourceIndex(0) --- >>>(function (Foo) { 1-> @@ -43,9 +44,9 @@ sourceFile:sourceMap-StringLiteralWithNewLine.ts 1-> 2 >namespace 3 > Foo -1->Emitted(2, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(2, 12) Source(8, 11) + SourceIndex(0) -3 >Emitted(2, 15) Source(8, 14) + SourceIndex(0) +1->Emitted(3, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(3, 12) Source(8, 11) + SourceIndex(0) +3 >Emitted(3, 15) Source(8, 14) + SourceIndex(0) --- >>> var x = "test1"; 1->^^^^ @@ -61,12 +62,12 @@ sourceFile:sourceMap-StringLiteralWithNewLine.ts 4 > = 5 > "test1" 6 > ; -1->Emitted(3, 5) Source(9, 5) + SourceIndex(0) -2 >Emitted(3, 9) Source(9, 9) + SourceIndex(0) -3 >Emitted(3, 10) Source(9, 10) + SourceIndex(0) -4 >Emitted(3, 13) Source(9, 13) + SourceIndex(0) -5 >Emitted(3, 20) Source(9, 20) + SourceIndex(0) -6 >Emitted(3, 21) Source(9, 21) + SourceIndex(0) +1->Emitted(4, 5) Source(9, 5) + SourceIndex(0) +2 >Emitted(4, 9) Source(9, 9) + SourceIndex(0) +3 >Emitted(4, 10) Source(9, 10) + SourceIndex(0) +4 >Emitted(4, 13) Source(9, 13) + SourceIndex(0) +5 >Emitted(4, 20) Source(9, 20) + SourceIndex(0) +6 >Emitted(4, 21) Source(9, 21) + SourceIndex(0) --- >>> var y = "test 2\ 1 >^^^^ @@ -79,10 +80,10 @@ sourceFile:sourceMap-StringLiteralWithNewLine.ts 2 > var 3 > y 4 > = -1 >Emitted(4, 5) Source(10, 5) + SourceIndex(0) -2 >Emitted(4, 9) Source(10, 9) + SourceIndex(0) -3 >Emitted(4, 10) Source(10, 10) + SourceIndex(0) -4 >Emitted(4, 13) Source(10, 13) + SourceIndex(0) +1 >Emitted(5, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(5, 9) Source(10, 9) + SourceIndex(0) +3 >Emitted(5, 10) Source(10, 10) + SourceIndex(0) +4 >Emitted(5, 13) Source(10, 13) + SourceIndex(0) --- >>>isn't this a lot of fun"; 1->^^^^^^^^^^^^^^^^^^^^^^^^ @@ -91,8 +92,8 @@ sourceFile:sourceMap-StringLiteralWithNewLine.ts 1->"test 2\ >isn't this a lot of fun" 2 > ; -1->Emitted(5, 25) Source(11, 25) + SourceIndex(0) -2 >Emitted(5, 26) Source(11, 26) + SourceIndex(0) +1->Emitted(6, 25) Source(11, 25) + SourceIndex(0) +2 >Emitted(6, 26) Source(11, 26) + SourceIndex(0) --- >>> var z = window.document; 1->^^^^ @@ -112,14 +113,14 @@ sourceFile:sourceMap-StringLiteralWithNewLine.ts 6 > . 7 > document 8 > ; -1->Emitted(6, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(6, 9) Source(12, 9) + SourceIndex(0) -3 >Emitted(6, 10) Source(12, 10) + SourceIndex(0) -4 >Emitted(6, 13) Source(12, 13) + SourceIndex(0) -5 >Emitted(6, 19) Source(12, 19) + SourceIndex(0) -6 >Emitted(6, 20) Source(12, 20) + SourceIndex(0) -7 >Emitted(6, 28) Source(12, 28) + SourceIndex(0) -8 >Emitted(6, 29) Source(12, 29) + SourceIndex(0) +1->Emitted(7, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(7, 9) Source(12, 9) + SourceIndex(0) +3 >Emitted(7, 10) Source(12, 10) + SourceIndex(0) +4 >Emitted(7, 13) Source(12, 13) + SourceIndex(0) +5 >Emitted(7, 19) Source(12, 19) + SourceIndex(0) +6 >Emitted(7, 20) Source(12, 20) + SourceIndex(0) +7 >Emitted(7, 28) Source(12, 28) + SourceIndex(0) +8 >Emitted(7, 29) Source(12, 29) + SourceIndex(0) --- >>>})(Foo || (Foo = {})); 1 > @@ -143,12 +144,12 @@ sourceFile:sourceMap-StringLiteralWithNewLine.ts > isn't this a lot of fun"; > var z = window.document; > } -1 >Emitted(7, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(13, 2) + SourceIndex(0) -3 >Emitted(7, 4) Source(8, 11) + SourceIndex(0) -4 >Emitted(7, 7) Source(8, 14) + SourceIndex(0) -5 >Emitted(7, 12) Source(8, 11) + SourceIndex(0) -6 >Emitted(7, 15) Source(8, 14) + SourceIndex(0) -7 >Emitted(7, 23) Source(13, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(13, 2) + SourceIndex(0) +3 >Emitted(8, 4) Source(8, 11) + SourceIndex(0) +4 >Emitted(8, 7) Source(8, 14) + SourceIndex(0) +5 >Emitted(8, 12) Source(8, 11) + SourceIndex(0) +6 >Emitted(8, 15) Source(8, 14) + SourceIndex(0) +7 >Emitted(8, 23) Source(13, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMap-StringLiteralWithNewLine.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js b/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js index 1a20fbab15db1..53370bd76472e 100644 --- a/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js +++ b/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js @@ -9,6 +9,7 @@ namespace Q { } //// [sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js] +"use strict"; var Q; (function (Q) { function P() { diff --git a/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js.map b/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js.map index 4762e1d2a4f88..72e4d84780861 100644 --- a/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js.map +++ b/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js.map @@ -1,3 +1,3 @@ //// [sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js.map] -{"version":3,"file":"sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js","sourceRoot":"","sources":["sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.ts"],"names":[],"mappings":"AAAA,IAAU,CAAC,CAKV;AALD,WAAU,CAAC;IACP,SAAS,CAAC;QACN,YAAY;QACZ,IAAI,CAAC,GAAG,CAAC,CAAC;IACd,CAAC;AACL,CAAC,EALS,CAAC,KAAD,CAAC,QAKV"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIFE7DQooZnVuY3Rpb24gKFEpIHsNCiAgICBmdW5jdGlvbiBQKCkgew0KICAgICAgICAvLyBUZXN0IHRoaXMNCiAgICAgICAgdmFyIGEgPSAxOw0KICAgIH0NCn0pKFEgfHwgKFEgPSB7fSkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwRm9yRnVuY3Rpb25JbkludGVybmFsTW9kdWxlV2l0aENvbW1lbnRQcmVjZWRpbmdTdGF0ZW1lbnQwMS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwRm9yRnVuY3Rpb25JbkludGVybmFsTW9kdWxlV2l0aENvbW1lbnRQcmVjZWRpbmdTdGF0ZW1lbnQwMS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcEZvckZ1bmN0aW9uSW5JbnRlcm5hbE1vZHVsZVdpdGhDb21tZW50UHJlY2VkaW5nU3RhdGVtZW50MDEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBVSxDQUFDLENBS1Y7QUFMRCxXQUFVLENBQUM7SUFDUCxTQUFTLENBQUM7UUFDTixZQUFZO1FBQ1osSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0lBQ2QsQ0FBQztBQUNMLENBQUMsRUFMUyxDQUFDLEtBQUQsQ0FBQyxRQUtWIn0=,bmFtZXNwYWNlIFEgewogICAgZnVuY3Rpb24gUCgpIHsKICAgICAgICAvLyBUZXN0IHRoaXMKICAgICAgICB2YXIgYSA9IDE7CiAgICB9Cn0= +{"version":3,"file":"sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js","sourceRoot":"","sources":["sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.ts"],"names":[],"mappings":";AAAA,IAAU,CAAC,CAKV;AALD,WAAU,CAAC;IACP,SAAS,CAAC;QACN,YAAY;QACZ,IAAI,CAAC,GAAG,CAAC,CAAC;IACd,CAAC;AACL,CAAC,EALS,CAAC,KAAD,CAAC,QAKV"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIFE7DQooZnVuY3Rpb24gKFEpIHsNCiAgICBmdW5jdGlvbiBQKCkgew0KICAgICAgICAvLyBUZXN0IHRoaXMNCiAgICAgICAgdmFyIGEgPSAxOw0KICAgIH0NCn0pKFEgfHwgKFEgPSB7fSkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwRm9yRnVuY3Rpb25JbkludGVybmFsTW9kdWxlV2l0aENvbW1lbnRQcmVjZWRpbmdTdGF0ZW1lbnQwMS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwRm9yRnVuY3Rpb25JbkludGVybmFsTW9kdWxlV2l0aENvbW1lbnRQcmVjZWRpbmdTdGF0ZW1lbnQwMS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcEZvckZ1bmN0aW9uSW5JbnRlcm5hbE1vZHVsZVdpdGhDb21tZW50UHJlY2VkaW5nU3RhdGVtZW50MDEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQVUsQ0FBQyxDQUtWO0FBTEQsV0FBVSxDQUFDO0lBQ1AsU0FBUyxDQUFDO1FBQ04sWUFBWTtRQUNaLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztJQUNkLENBQUM7QUFDTCxDQUFDLEVBTFMsQ0FBQyxLQUFELENBQUMsUUFLViJ9,bmFtZXNwYWNlIFEgewogICAgZnVuY3Rpb24gUCgpIHsKICAgICAgICAvLyBUZXN0IHRoaXMKICAgICAgICB2YXIgYSA9IDE7CiAgICB9Cn0= diff --git a/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.sourcemap.txt b/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.sourcemap.txt index 93ba44f98cb6d..99318cdf65a28 100644 --- a/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.sourcemap.txt +++ b/tests/baselines/reference/sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.ts emittedFile:sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js sourceFile:sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var Q; 1 > 2 >^^^^ @@ -23,10 +24,10 @@ sourceFile:sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.t > var a = 1; > } > } -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 11) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 12) + SourceIndex(0) -4 >Emitted(1, 7) Source(6, 2) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 11) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 12) + SourceIndex(0) +4 >Emitted(2, 7) Source(6, 2) + SourceIndex(0) --- >>>(function (Q) { 1-> @@ -36,9 +37,9 @@ sourceFile:sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.t 1-> 2 >namespace 3 > Q -1->Emitted(2, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(2, 12) Source(1, 11) + SourceIndex(0) -3 >Emitted(2, 13) Source(1, 12) + SourceIndex(0) +1->Emitted(3, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(3, 12) Source(1, 11) + SourceIndex(0) +3 >Emitted(3, 13) Source(1, 12) + SourceIndex(0) --- >>> function P() { 1->^^^^ @@ -49,9 +50,9 @@ sourceFile:sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.t > 2 > function 3 > P -1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(3, 14) Source(2, 14) + SourceIndex(0) -3 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(4, 14) Source(2, 14) + SourceIndex(0) +3 >Emitted(4, 15) Source(2, 15) + SourceIndex(0) --- >>> // Test this 1->^^^^^^^^ @@ -59,8 +60,8 @@ sourceFile:sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.t 1->() { > 2 > // Test this -1->Emitted(4, 9) Source(3, 9) + SourceIndex(0) -2 >Emitted(4, 21) Source(3, 21) + SourceIndex(0) +1->Emitted(5, 9) Source(3, 9) + SourceIndex(0) +2 >Emitted(5, 21) Source(3, 21) + SourceIndex(0) --- >>> var a = 1; 1 >^^^^^^^^ @@ -76,12 +77,12 @@ sourceFile:sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.t 4 > = 5 > 1 6 > ; -1 >Emitted(5, 9) Source(4, 9) + SourceIndex(0) -2 >Emitted(5, 13) Source(4, 13) + SourceIndex(0) -3 >Emitted(5, 14) Source(4, 14) + SourceIndex(0) -4 >Emitted(5, 17) Source(4, 17) + SourceIndex(0) -5 >Emitted(5, 18) Source(4, 18) + SourceIndex(0) -6 >Emitted(5, 19) Source(4, 19) + SourceIndex(0) +1 >Emitted(6, 9) Source(4, 9) + SourceIndex(0) +2 >Emitted(6, 13) Source(4, 13) + SourceIndex(0) +3 >Emitted(6, 14) Source(4, 14) + SourceIndex(0) +4 >Emitted(6, 17) Source(4, 17) + SourceIndex(0) +5 >Emitted(6, 18) Source(4, 18) + SourceIndex(0) +6 >Emitted(6, 19) Source(4, 19) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -90,8 +91,8 @@ sourceFile:sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.t 1 > > 2 > } -1 >Emitted(6, 5) Source(5, 5) + SourceIndex(0) -2 >Emitted(6, 6) Source(5, 6) + SourceIndex(0) +1 >Emitted(7, 5) Source(5, 5) + SourceIndex(0) +2 >Emitted(7, 6) Source(5, 6) + SourceIndex(0) --- >>>})(Q || (Q = {})); 1-> @@ -115,12 +116,12 @@ sourceFile:sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.t > var a = 1; > } > } -1->Emitted(7, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(6, 2) + SourceIndex(0) -3 >Emitted(7, 4) Source(1, 11) + SourceIndex(0) -4 >Emitted(7, 5) Source(1, 12) + SourceIndex(0) -5 >Emitted(7, 10) Source(1, 11) + SourceIndex(0) -6 >Emitted(7, 11) Source(1, 12) + SourceIndex(0) -7 >Emitted(7, 19) Source(6, 2) + SourceIndex(0) +1->Emitted(8, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(6, 2) + SourceIndex(0) +3 >Emitted(8, 4) Source(1, 11) + SourceIndex(0) +4 >Emitted(8, 5) Source(1, 12) + SourceIndex(0) +5 >Emitted(8, 10) Source(1, 11) + SourceIndex(0) +6 >Emitted(8, 11) Source(1, 12) + SourceIndex(0) +7 >Emitted(8, 19) Source(6, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapForFunctionInInternalModuleWithCommentPrecedingStatement01.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.js b/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.js index 8b84904c04f36..988b64afafa7b 100644 --- a/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.js +++ b/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.js @@ -7,6 +7,7 @@ function P() { } //// [sourceMapForFunctionWithCommentPrecedingStatement01.js] +"use strict"; function P() { // Test this var a = 1; diff --git a/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.js.map b/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.js.map index 750cb6b2b2f91..22b14cc9c5eba 100644 --- a/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.js.map +++ b/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.js.map @@ -1,3 +1,3 @@ //// [sourceMapForFunctionWithCommentPrecedingStatement01.js.map] -{"version":3,"file":"sourceMapForFunctionWithCommentPrecedingStatement01.js","sourceRoot":"","sources":["sourceMapForFunctionWithCommentPrecedingStatement01.ts"],"names":[],"mappings":"AAAA,SAAS,CAAC;IACN,YAAY;IACZ,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,ZnVuY3Rpb24gUCgpIHsNCiAgICAvLyBUZXN0IHRoaXMNCiAgICB2YXIgYSA9IDE7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBGb3JGdW5jdGlvbldpdGhDb21tZW50UHJlY2VkaW5nU3RhdGVtZW50MDEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwRm9yRnVuY3Rpb25XaXRoQ29tbWVudFByZWNlZGluZ1N0YXRlbWVudDAxLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwRm9yRnVuY3Rpb25XaXRoQ29tbWVudFByZWNlZGluZ1N0YXRlbWVudDAxLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFNBQVMsQ0FBQztJQUNOLFlBQVk7SUFDWixJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDZCxDQUFDIn0=,ZnVuY3Rpb24gUCgpIHsKICAgIC8vIFRlc3QgdGhpcwogICAgdmFyIGEgPSAxOwp9 +{"version":3,"file":"sourceMapForFunctionWithCommentPrecedingStatement01.js","sourceRoot":"","sources":["sourceMapForFunctionWithCommentPrecedingStatement01.ts"],"names":[],"mappings":";AAAA,SAAS,CAAC;IACN,YAAY;IACZ,IAAI,CAAC,GAAG,CAAC,CAAC;AACd,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KZnVuY3Rpb24gUCgpIHsNCiAgICAvLyBUZXN0IHRoaXMNCiAgICB2YXIgYSA9IDE7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBGb3JGdW5jdGlvbldpdGhDb21tZW50UHJlY2VkaW5nU3RhdGVtZW50MDEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwRm9yRnVuY3Rpb25XaXRoQ29tbWVudFByZWNlZGluZ1N0YXRlbWVudDAxLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwRm9yRnVuY3Rpb25XaXRoQ29tbWVudFByZWNlZGluZ1N0YXRlbWVudDAxLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxTQUFTLENBQUM7SUFDTixZQUFZO0lBQ1osSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ2QsQ0FBQyJ9,ZnVuY3Rpb24gUCgpIHsKICAgIC8vIFRlc3QgdGhpcwogICAgdmFyIGEgPSAxOwp9 diff --git a/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.sourcemap.txt b/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.sourcemap.txt index c6001104d8d95..c8e97982dda92 100644 --- a/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.sourcemap.txt +++ b/tests/baselines/reference/sourceMapForFunctionWithCommentPrecedingStatement01.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapForFunctionWithCommentPrecedingStatement01.ts emittedFile:sourceMapForFunctionWithCommentPrecedingStatement01.js sourceFile:sourceMapForFunctionWithCommentPrecedingStatement01.ts ------------------------------------------------------------------- +>>>"use strict"; >>>function P() { 1 > 2 >^^^^^^^^^ @@ -16,9 +17,9 @@ sourceFile:sourceMapForFunctionWithCommentPrecedingStatement01.ts 1 > 2 >function 3 > P -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -3 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +3 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) --- >>> // Test this 1->^^^^ @@ -26,8 +27,8 @@ sourceFile:sourceMapForFunctionWithCommentPrecedingStatement01.ts 1->() { > 2 > // Test this -1->Emitted(2, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 17) Source(2, 17) + SourceIndex(0) +1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 17) Source(2, 17) + SourceIndex(0) --- >>> var a = 1; 1 >^^^^ @@ -43,12 +44,12 @@ sourceFile:sourceMapForFunctionWithCommentPrecedingStatement01.ts 4 > = 5 > 1 6 > ; -1 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(3, 9) Source(3, 9) + SourceIndex(0) -3 >Emitted(3, 10) Source(3, 10) + SourceIndex(0) -4 >Emitted(3, 13) Source(3, 13) + SourceIndex(0) -5 >Emitted(3, 14) Source(3, 14) + SourceIndex(0) -6 >Emitted(3, 15) Source(3, 15) + SourceIndex(0) +1 >Emitted(4, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(4, 9) Source(3, 9) + SourceIndex(0) +3 >Emitted(4, 10) Source(3, 10) + SourceIndex(0) +4 >Emitted(4, 13) Source(3, 13) + SourceIndex(0) +5 >Emitted(4, 14) Source(3, 14) + SourceIndex(0) +6 >Emitted(4, 15) Source(3, 15) + SourceIndex(0) --- >>>} 1 > @@ -57,7 +58,7 @@ sourceFile:sourceMapForFunctionWithCommentPrecedingStatement01.ts 1 > > 2 >} -1 >Emitted(4, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(4, 2) Source(4, 2) + SourceIndex(0) +1 >Emitted(5, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(5, 2) Source(4, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapForFunctionWithCommentPrecedingStatement01.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapPercentEncoded.js b/tests/baselines/reference/sourceMapPercentEncoded.js index 994c6b6710457..3063b66367ffa 100644 --- a/tests/baselines/reference/sourceMapPercentEncoded.js +++ b/tests/baselines/reference/sourceMapPercentEncoded.js @@ -6,6 +6,7 @@ var b = 2; var c = 3; //// [①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀㐁䶴䶵U1[]U2[]U3[].js] +"use strict"; var a = 1; var b = 2; var c = 3; diff --git a/tests/baselines/reference/sourceMapPercentEncoded.js.map b/tests/baselines/reference/sourceMapPercentEncoded.js.map index 8c5d347cde988..6cea7ce3e7f60 100644 --- a/tests/baselines/reference/sourceMapPercentEncoded.js.map +++ b/tests/baselines/reference/sourceMapPercentEncoded.js.map @@ -1,3 +1,3 @@ //// [①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀㐁䶴䶵U1[]U2[]U3[].js.map] -{"version":3,"file":"①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀㐁䶴䶵U1[]U2[]U3[].js","sourceRoot":"","sources":["①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀㐁䶴䶵U1[]U2[]U3[].ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,CAAC,CAAC;AACV,IAAI,CAAC,GAAG,CAAC,CAAC;AACV,IAAI,CAAC,GAAG,CAAC,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGEgPSAxOw0KdmFyIGIgPSAyOw0KdmFyIGMgPSAzOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9JUUyJTkxJUEwJUUyJTg1JUFCJUUzJTg0JUE4JUUzJTg0JUE5JTIwJUU1JTk1JThBJUU5JTk4JUJGJUU5JUJDJUJFJUU5JUJEJTg0JUU0JUI4JTgyJUU0JUI4JTg0JUU3JThCJTlBJUU3JThCJTlCJUU3JThCJTlDJUU3JThCJTlEJUVGJUE4JUE4JUVGJUE4JUE5JUNCJThBJUNCJThCJUNCJTk5JUUyJTgwJTkzJUUyJUJGJUJCJUUzJTgwJTg3JUUzJTkwJTgwJUUzJTkwJTgxJUU0JUI2JUI0JUU0JUI2JUI1VTElNUIlRUUlODAlQTUlRUUlODAlQTYlRUUlODAlQTclRUUlODAlQjglRUUlODAlQjklNURVMiU1QiVFRSU4OSU5QSVFRSU4OSU5QiVFRSU4OSVBQyVFRSU4OSVBRCU1RFUzJTVCJUVFJTkzJUJFJUVFJTkzJUJGJUVFJTk0JTgwJUVFJTk0JThCJUVFJTk0JThDJTVELmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoi4pGg4oWr44So44SpIOWViumYv+m8vum9hOS4guS4hOeLmueLm+eLnOeLne+oqO+oqcuKy4vLmeKAk+K/u+OAh+OQgOOQgeS2tOS2tVUxW+6Ape6Apu6Ap+6AuO6AuV1VMlvuiZruiZvuiazuia1dVTNb7pO+7pO/7pSA7pSL7pSMXS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIuKRoOKFq+OEqOOEqSDllYrpmL/pvL7pvYTkuILkuITni5rni5vni5zni53vqKjvqKnLisuLy5nigJPiv7vjgIfjkIDjkIHktrTktrVVMVvugKXugKbugKfugLjugLldVTJb7oma7omb7oms7omtXVUzW+6Tvu6Tv+6UgO6Ui+6UjF0udHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ1YsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ1YsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDIn0=,dmFyIGEgPSAxOwp2YXIgYiA9IDI7CnZhciBjID0gMzs= +{"version":3,"file":"①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀㐁䶴䶵U1[]U2[]U3[].js","sourceRoot":"","sources":["①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀㐁䶴䶵U1[]U2[]U3[].ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,CAAC,CAAC;AACV,IAAI,CAAC,GAAG,CAAC,CAAC;AACV,IAAI,CAAC,GAAG,CAAC,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGEgPSAxOw0KdmFyIG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ksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQyJ9,dmFyIGEgPSAxOwp2YXIgYiA9IDI7CnZhciBjID0gMzs= diff --git a/tests/baselines/reference/sourceMapPercentEncoded.sourcemap.txt b/tests/baselines/reference/sourceMapPercentEncoded.sourcemap.txt index 2e086b1fd0906..98421b885dda7 100644 --- a/tests/baselines/reference/sourceMapPercentEncoded.sourcemap.txt +++ b/tests/baselines/reference/sourceMapPercentEncoded.sourcemap.txt @@ -8,6 +8,7 @@ sources: ①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀㐁 emittedFile:①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀㐁䶴䶵U1[]U2[]U3[].js sourceFile:①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀㐁䶴䶵U1[]U2[]U3[].ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = 1; 1 > 2 >^^^^ @@ -22,12 +23,12 @@ sourceFile:①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀 4 > = 5 > 1 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -6 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +6 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) --- >>>var b = 2; 1-> @@ -44,12 +45,12 @@ sourceFile:①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀 4 > = 5 > 2 6 > ; -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -3 >Emitted(2, 6) Source(2, 6) + SourceIndex(0) -4 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) -5 >Emitted(2, 10) Source(2, 10) + SourceIndex(0) -6 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +3 >Emitted(3, 6) Source(2, 6) + SourceIndex(0) +4 >Emitted(3, 9) Source(2, 9) + SourceIndex(0) +5 >Emitted(3, 10) Source(2, 10) + SourceIndex(0) +6 >Emitted(3, 11) Source(2, 11) + SourceIndex(0) --- >>>var c = 3; 1-> @@ -66,11 +67,11 @@ sourceFile:①Ⅻㄨㄩ 啊阿鼾齄丂丄狚狛狜狝﨨﨩ˊˋ˙–⿻〇㐀 4 > = 5 > 3 6 > ; -1->Emitted(3, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) -3 >Emitted(3, 6) Source(3, 6) + SourceIndex(0) -4 >Emitted(3, 9) Source(3, 9) + SourceIndex(0) -5 >Emitted(3, 10) Source(3, 10) + SourceIndex(0) -6 >Emitted(3, 11) Source(3, 11) + SourceIndex(0) +1->Emitted(4, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(3, 5) + SourceIndex(0) +3 >Emitted(4, 6) Source(3, 6) + SourceIndex(0) +4 >Emitted(4, 9) Source(3, 9) + SourceIndex(0) +5 >Emitted(4, 10) Source(3, 10) + SourceIndex(0) +6 >Emitted(4, 11) Source(3, 11) + SourceIndex(0) --- >>>//# sourceMappingURL=%E2%91%A0%E2%85%AB%E3%84%A8%E3%84%A9%20%E5%95%8A%E9%98%BF%E9%BC%BE%E9%BD%84%E4%B8%82%E4%B8%84%E7%8B%9A%E7%8B%9B%E7%8B%9C%E7%8B%9D%EF%A8%A8%EF%A8%A9%CB%8A%CB%8B%CB%99%E2%80%93%E2%BF%BB%E3%80%87%E3%90%80%E3%90%81%E4%B6%B4%E4%B6%B5U1%5B%EE%80%A5%EE%80%A6%EE%80%A7%EE%80%B8%EE%80%B9%5DU2%5B%EE%89%9A%EE%89%9B%EE%89%AC%EE%89%AD%5DU3%5B%EE%93%BE%EE%93%BF%EE%94%80%EE%94%8B%EE%94%8C%5D.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapSample.js b/tests/baselines/reference/sourceMapSample.js index f32ad96fc8a56..a63369cbf91f3 100644 --- a/tests/baselines/reference/sourceMapSample.js +++ b/tests/baselines/reference/sourceMapSample.js @@ -38,6 +38,7 @@ namespace Foo.Bar { } //// [sourceMapSample.js] +"use strict"; var Foo; (function (Foo) { var Bar; diff --git a/tests/baselines/reference/sourceMapSample.js.map b/tests/baselines/reference/sourceMapSample.js.map index ed3f30eebbf55..64fb61c6dd0a9 100644 --- a/tests/baselines/reference/sourceMapSample.js.map +++ b/tests/baselines/reference/sourceMapSample.js.map @@ -1,3 +1,3 @@ //// [sourceMapSample.js.map] -{"version":3,"file":"sourceMapSample.js","sourceRoot":"","sources":["sourceMapSample.ts"],"names":[],"mappings":"AAAA,IAAU,GAAG,CAkCZ;AAlCD,WAAU,GAAG;IAAC,IAAA,GAAG,CAkChB;IAlCa,WAAA,GAAG;QACb,YAAY,CAAC;QAEb;YACI,iBAAmB,QAAgB;gBAAhB,aAAQ,GAAR,QAAQ,CAAQ;YACnC,CAAC;YAED,uBAAK,GAAL;gBACI,OAAO,MAAM,GAAG,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;YAC5C,CAAC;YACL,cAAC;QAAD,CAAC,AAPD,IA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LyAoZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgZnVuY3Rpb24gR3JlZXRlcihncmVldGluZykgew0KICAgICAgICAgICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZzsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIEdyZWV0ZXIucHJvdG90eXBlLmdyZWV0ID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIHJldHVybiAiPGgxPiIgKyB0aGlzLmdyZWV0aW5nICsgIjwvaDE+IjsNCiAgICAgICAgICAgIH07DQogICAgICAgICAgICByZXR1cm4gR3JlZXRlcjsNCiAgICAgICAgfSgpKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nKSB7DQogICAgICAgICAgICByZXR1cm4gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOw0KICAgICAgICB9DQogICAgICAgIHZhciBncmVldGVyID0gbmV3IEdyZWV0ZXIoIkhlbGxvLCB3b3JsZCEiKTsNCiAgICAgICAgdmFyIHN0ciA9IGdyZWV0ZXIuZ3JlZXQoKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vMihncmVldGluZykgew0KICAgICAgICAgICAgdmFyIHJlc3RHcmVldGluZ3MgPSBbXTsNCiAgICAgICAgICAgIGZvciAodmFyIF9pID0gMTsgX2kgPCBhcmd1bWVudHMubGVuZ3RoOyBfaSsrKSB7DQogICAgICAgICAgICAgICAgcmVzdEdyZWV0aW5nc1tfaSAtIDFdID0gYXJndW1lbnRzW19pXTsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIHZhciBncmVldGVycyA9IFtdOw0KICAgICAgICAgICAgZ3JlZXRlcnNbMF0gPSBuZXcgR3JlZXRlcihncmVldGluZyk7DQogICAgICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IHJlc3RHcmVldGluZ3MubGVuZ3RoOyBpKyspIHsNCiAgICAgICAgICAgICAgICBncmVldGVycy5wdXNoKG5ldyBHcmVldGVyKHJlc3RHc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XIgewogICAgICAgIGNvbnN0cnVjdG9yKHB1YmxpYyBncmVldGluZzogc3RyaW5nKSB7CiAgICAgICAgfQoKICAgICAgICBncmVldCgpIHsKICAgICAgICAgICAgcmV0dXJuICI8aDE+IiArIHRoaXMuZ3JlZXRpbmcgKyAiPC9oMT4iOwogICAgICAgIH0KICAgIH0KCgogICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nOiBzdHJpbmcpOiBGb28uQmFyLkdyZWV0ZXIgewogICAgICAgIHJldHVybiBuZXcgR3JlZXRlcihncmVldGluZyk7CiAgICB9CgogICAgdmFyIGdyZWV0ZXIgPSBuZXcgR3JlZXRlcigiSGVsbG8sIHdvcmxkISIpOwogICAgdmFyIHN0ciA9IGdyZWV0ZXIuZ3JlZXQoKTsKCiAgICBmdW5jdGlvbiBmb28yKGdyZWV0aW5nOiBzdHJpbmcsIC4uLnJlc3RHcmVldGluZ3M6IHN0cmluZ1tdKSB7CiAgICAgICAgdmFyIGdyZWV0ZXJzOiBHcmVldGVyW10gPSBbXTsKICAgICAgICBncmVldGVyc1swXSA9IG5ldyBHcmVldGVyKGdyZWV0aW5nKTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IHJlc3RHcmVldGluZ3MubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgZ3JlZXRlcnMucHVzaChuZXcgR3JlZXRlcihyZXN0R3JlZXRpbmdzW2ldKSk7CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZ3JlZXRlcnM7CiAgICB9CgogICAgdmFyIGIgPSBmb28yKCJIZWxsbyIsICJXb3JsZCIsICIhIik7CiAgICBmb3IgKHZhciBqID0gMDsgaiA8IGIubGVuZ3RoOyBqKyspIHsKICAgICAgICBiW2pdLmdyZWV0KCk7CiAgICB9Cn0= +{"version":3,"file":"sourceMapSample.js","sourceRoot":"","sources":["sourceMapSample.ts"],"names":[],"mappings":";AAAA,IAAU,GAAG,CAkCZ;AAlCD,WAAU,GAAG;IAAC,IAAA,GAAG,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,EAlCS,GAAG,KAAH,GAAG,QAkCZ"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIEZvbzsNCihmdW5jdGlvbiAoRm9vKSB7DQogICAgdmFyIEJhcjsNCiAgICAoZnVuY3Rpb24gKEJhcikgew0KICAgICAgICAidXNlIHN0cmljdCI7DQogICAgICAgIHZhciBHcmVldGVyID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgZnVuY3Rpb24gR3JlZXRlcihncmVldGluZykgew0KICAgICAgICAgICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZzsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIEdyZWV0ZXIucHJvdG90eXBlLmdyZWV0ID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIHJldHVybiAiPGgxPiIgKyB0aGlzLmdyZWV0aW5nICsgIjwvaDE+IjsNCiAgICAgICAgICAgIH07DQogICAgICAgICAgICByZXR1cm4gR3JlZXRlcjsNCiAgICAgICAgfSgpKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nKSB7DQogICAgICAgICAgICByZXR1cm4gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOw0KICAgICAgICB9DQogICAgICAgIHZhciBncmVldGVyID0gbmV3IEdyZWV0ZXIoIkhlbGxvLCB3b3JsZCEiKTsNCiAgICAgICAgdmFyIHN0ciA9IGdyZWV0ZXIuZ3JlZXQoKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vMihncmVldGluZykgew0KICAgICAgICAgICAgdmFyIHJlc3RHcmVldGluZ3MgPSBbXTsNCiAgICAgICAgICAgIGZvciAodmFyIF9pID0gMTsgX2kgPCBhcmd1bWVudHMubGVuZ3RoOyBfaSsrKSB7DQogICAgICAgICAgICAgICAgcmVzdEdyZWV0aW5nc1tfaSAtIDFdID0gYXJndW1lbnRzW19pXTsNCiAgICAgICAgICAgIH0NCiAgIC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yKCJIZWxsbyIsICJXb3JsZCIsICIhIik7CiAgICBmb3IgKHZhciBqID0gMDsgaiA8IGIubGVuZ3RoOyBqKyspIHsKICAgICAgICBiW2pdLmdyZWV0KCk7CiAgICB9Cn0= diff --git a/tests/baselines/reference/sourceMapSample.sourcemap.txt b/tests/baselines/reference/sourceMapSample.sourcemap.txt index 9f413cff54e02..2883a7cbc6cdf 100644 --- a/tests/baselines/reference/sourceMapSample.sourcemap.txt +++ b/tests/baselines/reference/sourceMapSample.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapSample.ts emittedFile:sourceMapSample.js sourceFile:sourceMapSample.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var Foo; 1 > 2 >^^^^ @@ -52,10 +53,10 @@ sourceFile:sourceMapSample.ts > b[j].greet(); > } > } -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 11) + SourceIndex(0) -3 >Emitted(1, 8) Source(1, 14) + SourceIndex(0) -4 >Emitted(1, 9) Source(35, 2) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 11) + SourceIndex(0) +3 >Emitted(2, 8) Source(1, 14) + SourceIndex(0) +4 >Emitted(2, 9) Source(35, 2) + SourceIndex(0) --- >>>(function (Foo) { 1-> @@ -64,9 +65,9 @@ sourceFile:sourceMapSample.ts 1-> 2 >namespace 3 > Foo -1->Emitted(2, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(2, 12) Source(1, 11) + SourceIndex(0) -3 >Emitted(2, 15) Source(1, 14) + SourceIndex(0) +1->Emitted(3, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(3, 12) Source(1, 11) + SourceIndex(0) +3 >Emitted(3, 15) Source(1, 14) + SourceIndex(0) --- >>> var Bar; 1 >^^^^ @@ -112,10 +113,10 @@ sourceFile:sourceMapSample.ts > b[j].greet(); > } > } -1 >Emitted(3, 5) Source(1, 15) + SourceIndex(0) -2 >Emitted(3, 9) Source(1, 15) + SourceIndex(0) -3 >Emitted(3, 12) Source(1, 18) + SourceIndex(0) -4 >Emitted(3, 13) Source(35, 2) + SourceIndex(0) +1 >Emitted(4, 5) Source(1, 15) + SourceIndex(0) +2 >Emitted(4, 9) Source(1, 15) + SourceIndex(0) +3 >Emitted(4, 12) Source(1, 18) + SourceIndex(0) +4 >Emitted(4, 13) Source(35, 2) + SourceIndex(0) --- >>> (function (Bar) { 1->^^^^ @@ -125,9 +126,9 @@ sourceFile:sourceMapSample.ts 1-> 2 > 3 > Bar -1->Emitted(4, 5) Source(1, 15) + SourceIndex(0) -2 >Emitted(4, 16) Source(1, 15) + SourceIndex(0) -3 >Emitted(4, 19) Source(1, 18) + SourceIndex(0) +1->Emitted(5, 5) Source(1, 15) + SourceIndex(0) +2 >Emitted(5, 16) Source(1, 15) + SourceIndex(0) +3 >Emitted(5, 19) Source(1, 18) + SourceIndex(0) --- >>> "use strict"; 1->^^^^^^^^ @@ -138,9 +139,9 @@ sourceFile:sourceMapSample.ts > 2 > "use strict" 3 > ; -1->Emitted(5, 9) Source(2, 5) + SourceIndex(0) -2 >Emitted(5, 21) Source(2, 17) + SourceIndex(0) -3 >Emitted(5, 22) Source(2, 18) + SourceIndex(0) +1->Emitted(6, 9) Source(2, 5) + SourceIndex(0) +2 >Emitted(6, 21) Source(2, 17) + SourceIndex(0) +3 >Emitted(6, 22) Source(2, 18) + SourceIndex(0) --- >>> var Greeter = /** @class */ (function () { 1->^^^^^^^^ @@ -148,7 +149,7 @@ sourceFile:sourceMapSample.ts 1-> > > -1->Emitted(6, 9) Source(4, 5) + SourceIndex(0) +1->Emitted(7, 9) Source(4, 5) + SourceIndex(0) --- >>> function Greeter(greeting) { 1->^^^^^^^^^^^^ @@ -159,9 +160,9 @@ sourceFile:sourceMapSample.ts > 2 > constructor(public 3 > greeting: string -1->Emitted(7, 13) Source(5, 9) + SourceIndex(0) -2 >Emitted(7, 30) Source(5, 28) + SourceIndex(0) -3 >Emitted(7, 38) Source(5, 44) + SourceIndex(0) +1->Emitted(8, 13) Source(5, 9) + SourceIndex(0) +2 >Emitted(8, 30) Source(5, 28) + SourceIndex(0) +3 >Emitted(8, 38) Source(5, 44) + SourceIndex(0) --- >>> this.greeting = greeting; 1->^^^^^^^^^^^^^^^^ @@ -174,11 +175,11 @@ sourceFile:sourceMapSample.ts 3 > 4 > greeting 5 > : string -1->Emitted(8, 17) Source(5, 28) + SourceIndex(0) -2 >Emitted(8, 30) Source(5, 36) + SourceIndex(0) -3 >Emitted(8, 33) Source(5, 28) + SourceIndex(0) -4 >Emitted(8, 41) Source(5, 36) + SourceIndex(0) -5 >Emitted(8, 42) Source(5, 44) + SourceIndex(0) +1->Emitted(9, 17) Source(5, 28) + SourceIndex(0) +2 >Emitted(9, 30) Source(5, 36) + SourceIndex(0) +3 >Emitted(9, 33) Source(5, 28) + SourceIndex(0) +4 >Emitted(9, 41) Source(5, 36) + SourceIndex(0) +5 >Emitted(9, 42) Source(5, 44) + SourceIndex(0) --- >>> } 1 >^^^^^^^^^^^^ @@ -187,8 +188,8 @@ sourceFile:sourceMapSample.ts 1 >) { > 2 > } -1 >Emitted(9, 13) Source(6, 9) + SourceIndex(0) -2 >Emitted(9, 14) Source(6, 10) + SourceIndex(0) +1 >Emitted(10, 13) Source(6, 9) + SourceIndex(0) +2 >Emitted(10, 14) Source(6, 10) + SourceIndex(0) --- >>> Greeter.prototype.greet = function () { 1->^^^^^^^^^^^^ @@ -200,9 +201,9 @@ sourceFile:sourceMapSample.ts > 2 > greet 3 > -1->Emitted(10, 13) Source(8, 9) + SourceIndex(0) -2 >Emitted(10, 36) Source(8, 14) + SourceIndex(0) -3 >Emitted(10, 39) Source(8, 9) + SourceIndex(0) +1->Emitted(11, 13) Source(8, 9) + SourceIndex(0) +2 >Emitted(11, 36) Source(8, 14) + SourceIndex(0) +3 >Emitted(11, 39) Source(8, 9) + SourceIndex(0) --- >>> return "

" + this.greeting + "

"; 1->^^^^^^^^^^^^^^^^ @@ -226,16 +227,16 @@ sourceFile:sourceMapSample.ts 8 > + 9 > "" 10> ; -1->Emitted(11, 17) Source(9, 13) + SourceIndex(0) -2 >Emitted(11, 24) Source(9, 20) + SourceIndex(0) -3 >Emitted(11, 30) Source(9, 26) + SourceIndex(0) -4 >Emitted(11, 33) Source(9, 29) + SourceIndex(0) -5 >Emitted(11, 37) Source(9, 33) + SourceIndex(0) -6 >Emitted(11, 38) Source(9, 34) + SourceIndex(0) -7 >Emitted(11, 46) Source(9, 42) + SourceIndex(0) -8 >Emitted(11, 49) Source(9, 45) + SourceIndex(0) -9 >Emitted(11, 56) Source(9, 52) + SourceIndex(0) -10>Emitted(11, 57) Source(9, 53) + SourceIndex(0) +1->Emitted(12, 17) Source(9, 13) + SourceIndex(0) +2 >Emitted(12, 24) Source(9, 20) + SourceIndex(0) +3 >Emitted(12, 30) Source(9, 26) + SourceIndex(0) +4 >Emitted(12, 33) Source(9, 29) + SourceIndex(0) +5 >Emitted(12, 37) Source(9, 33) + SourceIndex(0) +6 >Emitted(12, 38) Source(9, 34) + SourceIndex(0) +7 >Emitted(12, 46) Source(9, 42) + SourceIndex(0) +8 >Emitted(12, 49) Source(9, 45) + SourceIndex(0) +9 >Emitted(12, 56) Source(9, 52) + SourceIndex(0) +10>Emitted(12, 57) Source(9, 53) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^^^^^ @@ -244,8 +245,8 @@ sourceFile:sourceMapSample.ts 1 > > 2 > } -1 >Emitted(12, 13) Source(10, 9) + SourceIndex(0) -2 >Emitted(12, 14) Source(10, 10) + SourceIndex(0) +1 >Emitted(13, 13) Source(10, 9) + SourceIndex(0) +2 >Emitted(13, 14) Source(10, 10) + SourceIndex(0) --- >>> return Greeter; 1->^^^^^^^^^^^^ @@ -253,8 +254,8 @@ sourceFile:sourceMapSample.ts 1-> > 2 > } -1->Emitted(13, 13) Source(11, 5) + SourceIndex(0) -2 >Emitted(13, 27) Source(11, 6) + SourceIndex(0) +1->Emitted(14, 13) Source(11, 5) + SourceIndex(0) +2 >Emitted(14, 27) Source(11, 6) + SourceIndex(0) --- >>> }()); 1 >^^^^^^^^ @@ -273,10 +274,10 @@ sourceFile:sourceMapSample.ts > return "

" + this.greeting + "

"; > } > } -1 >Emitted(14, 9) Source(11, 5) + SourceIndex(0) -2 >Emitted(14, 10) Source(11, 6) + SourceIndex(0) -3 >Emitted(14, 10) Source(4, 5) + SourceIndex(0) -4 >Emitted(14, 14) Source(11, 6) + SourceIndex(0) +1 >Emitted(15, 9) Source(11, 5) + SourceIndex(0) +2 >Emitted(15, 10) Source(11, 6) + SourceIndex(0) +3 >Emitted(15, 10) Source(4, 5) + SourceIndex(0) +4 >Emitted(15, 14) Source(11, 6) + SourceIndex(0) --- >>> function foo(greeting) { 1->^^^^^^^^ @@ -293,11 +294,11 @@ sourceFile:sourceMapSample.ts 3 > foo 4 > ( 5 > greeting: string -1->Emitted(15, 9) Source(14, 5) + SourceIndex(0) -2 >Emitted(15, 18) Source(14, 14) + SourceIndex(0) -3 >Emitted(15, 21) Source(14, 17) + SourceIndex(0) -4 >Emitted(15, 22) Source(14, 18) + SourceIndex(0) -5 >Emitted(15, 30) Source(14, 34) + SourceIndex(0) +1->Emitted(16, 9) Source(14, 5) + SourceIndex(0) +2 >Emitted(16, 18) Source(14, 14) + SourceIndex(0) +3 >Emitted(16, 21) Source(14, 17) + SourceIndex(0) +4 >Emitted(16, 22) Source(14, 18) + SourceIndex(0) +5 >Emitted(16, 30) Source(14, 34) + SourceIndex(0) --- >>> return new Greeter(greeting); 1->^^^^^^^^^^^^ @@ -317,14 +318,14 @@ sourceFile:sourceMapSample.ts 6 > greeting 7 > ) 8 > ; -1->Emitted(16, 13) Source(15, 9) + SourceIndex(0) -2 >Emitted(16, 20) Source(15, 16) + SourceIndex(0) -3 >Emitted(16, 24) Source(15, 20) + SourceIndex(0) -4 >Emitted(16, 31) Source(15, 27) + SourceIndex(0) -5 >Emitted(16, 32) Source(15, 28) + SourceIndex(0) -6 >Emitted(16, 40) Source(15, 36) + SourceIndex(0) -7 >Emitted(16, 41) Source(15, 37) + SourceIndex(0) -8 >Emitted(16, 42) Source(15, 38) + SourceIndex(0) +1->Emitted(17, 13) Source(15, 9) + SourceIndex(0) +2 >Emitted(17, 20) Source(15, 16) + SourceIndex(0) +3 >Emitted(17, 24) Source(15, 20) + SourceIndex(0) +4 >Emitted(17, 31) Source(15, 27) + SourceIndex(0) +5 >Emitted(17, 32) Source(15, 28) + SourceIndex(0) +6 >Emitted(17, 40) Source(15, 36) + SourceIndex(0) +7 >Emitted(17, 41) Source(15, 37) + SourceIndex(0) +8 >Emitted(17, 42) Source(15, 38) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -333,8 +334,8 @@ sourceFile:sourceMapSample.ts 1 > > 2 > } -1 >Emitted(17, 9) Source(16, 5) + SourceIndex(0) -2 >Emitted(17, 10) Source(16, 6) + SourceIndex(0) +1 >Emitted(18, 9) Source(16, 5) + SourceIndex(0) +2 >Emitted(18, 10) Source(16, 6) + SourceIndex(0) --- >>> var greeter = new Greeter("Hello, world!"); 1->^^^^^^^^ @@ -359,16 +360,16 @@ sourceFile:sourceMapSample.ts 8 > "Hello, world!" 9 > ) 10> ; -1->Emitted(18, 9) Source(18, 5) + SourceIndex(0) -2 >Emitted(18, 13) Source(18, 9) + SourceIndex(0) -3 >Emitted(18, 20) Source(18, 16) + SourceIndex(0) -4 >Emitted(18, 23) Source(18, 19) + SourceIndex(0) -5 >Emitted(18, 27) Source(18, 23) + SourceIndex(0) -6 >Emitted(18, 34) Source(18, 30) + SourceIndex(0) -7 >Emitted(18, 35) Source(18, 31) + SourceIndex(0) -8 >Emitted(18, 50) Source(18, 46) + SourceIndex(0) -9 >Emitted(18, 51) Source(18, 47) + SourceIndex(0) -10>Emitted(18, 52) Source(18, 48) + SourceIndex(0) +1->Emitted(19, 9) Source(18, 5) + SourceIndex(0) +2 >Emitted(19, 13) Source(18, 9) + SourceIndex(0) +3 >Emitted(19, 20) Source(18, 16) + SourceIndex(0) +4 >Emitted(19, 23) Source(18, 19) + SourceIndex(0) +5 >Emitted(19, 27) Source(18, 23) + SourceIndex(0) +6 >Emitted(19, 34) Source(18, 30) + SourceIndex(0) +7 >Emitted(19, 35) Source(18, 31) + SourceIndex(0) +8 >Emitted(19, 50) Source(18, 46) + SourceIndex(0) +9 >Emitted(19, 51) Source(18, 47) + SourceIndex(0) +10>Emitted(19, 52) Source(18, 48) + SourceIndex(0) --- >>> var str = greeter.greet(); 1 >^^^^^^^^ @@ -390,15 +391,15 @@ sourceFile:sourceMapSample.ts 7 > greet 8 > () 9 > ; -1 >Emitted(19, 9) Source(19, 5) + SourceIndex(0) -2 >Emitted(19, 13) Source(19, 9) + SourceIndex(0) -3 >Emitted(19, 16) Source(19, 12) + SourceIndex(0) -4 >Emitted(19, 19) Source(19, 15) + SourceIndex(0) -5 >Emitted(19, 26) Source(19, 22) + SourceIndex(0) -6 >Emitted(19, 27) Source(19, 23) + SourceIndex(0) -7 >Emitted(19, 32) Source(19, 28) + SourceIndex(0) -8 >Emitted(19, 34) Source(19, 30) + SourceIndex(0) -9 >Emitted(19, 35) Source(19, 31) + SourceIndex(0) +1 >Emitted(20, 9) Source(19, 5) + SourceIndex(0) +2 >Emitted(20, 13) Source(19, 9) + SourceIndex(0) +3 >Emitted(20, 16) Source(19, 12) + SourceIndex(0) +4 >Emitted(20, 19) Source(19, 15) + SourceIndex(0) +5 >Emitted(20, 26) Source(19, 22) + SourceIndex(0) +6 >Emitted(20, 27) Source(19, 23) + SourceIndex(0) +7 >Emitted(20, 32) Source(19, 28) + SourceIndex(0) +8 >Emitted(20, 34) Source(19, 30) + SourceIndex(0) +9 >Emitted(20, 35) Source(19, 31) + SourceIndex(0) --- >>> function foo2(greeting) { 1 >^^^^^^^^ @@ -414,11 +415,11 @@ sourceFile:sourceMapSample.ts 3 > foo2 4 > ( 5 > greeting: string -1 >Emitted(20, 9) Source(21, 5) + SourceIndex(0) -2 >Emitted(20, 18) Source(21, 14) + SourceIndex(0) -3 >Emitted(20, 22) Source(21, 18) + SourceIndex(0) -4 >Emitted(20, 23) Source(21, 19) + SourceIndex(0) -5 >Emitted(20, 31) Source(21, 35) + SourceIndex(0) +1 >Emitted(21, 9) Source(21, 5) + SourceIndex(0) +2 >Emitted(21, 18) Source(21, 14) + SourceIndex(0) +3 >Emitted(21, 22) Source(21, 18) + SourceIndex(0) +4 >Emitted(21, 23) Source(21, 19) + SourceIndex(0) +5 >Emitted(21, 31) Source(21, 35) + SourceIndex(0) --- >>> var restGreetings = []; 1->^^^^^^^^^^^^ @@ -426,8 +427,8 @@ sourceFile:sourceMapSample.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^-> 1->, 2 > ...restGreetings: string[] -1->Emitted(21, 13) Source(21, 37) + SourceIndex(0) -2 >Emitted(21, 36) Source(21, 63) + SourceIndex(0) +1->Emitted(22, 13) Source(21, 37) + SourceIndex(0) +2 >Emitted(22, 36) Source(21, 63) + SourceIndex(0) --- >>> for (var _i = 1; _i < arguments.length; _i++) { 1->^^^^^^^^^^^^^^^^^ @@ -442,20 +443,20 @@ sourceFile:sourceMapSample.ts 4 > ...restGreetings: string[] 5 > 6 > ...restGreetings: string[] -1->Emitted(22, 18) Source(21, 37) + SourceIndex(0) -2 >Emitted(22, 28) Source(21, 63) + SourceIndex(0) -3 >Emitted(22, 30) Source(21, 37) + SourceIndex(0) -4 >Emitted(22, 51) Source(21, 63) + SourceIndex(0) -5 >Emitted(22, 53) Source(21, 37) + SourceIndex(0) -6 >Emitted(22, 57) Source(21, 63) + SourceIndex(0) +1->Emitted(23, 18) Source(21, 37) + SourceIndex(0) +2 >Emitted(23, 28) Source(21, 63) + SourceIndex(0) +3 >Emitted(23, 30) Source(21, 37) + SourceIndex(0) +4 >Emitted(23, 51) Source(21, 63) + SourceIndex(0) +5 >Emitted(23, 53) Source(21, 37) + SourceIndex(0) +6 >Emitted(23, 57) Source(21, 63) + SourceIndex(0) --- >>> restGreetings[_i - 1] = arguments[_i]; 1 >^^^^^^^^^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 > ...restGreetings: string[] -1 >Emitted(23, 17) Source(21, 37) + SourceIndex(0) -2 >Emitted(23, 55) Source(21, 63) + SourceIndex(0) +1 >Emitted(24, 17) Source(21, 37) + SourceIndex(0) +2 >Emitted(24, 55) Source(21, 63) + SourceIndex(0) --- >>> } >>> var greeters = []; @@ -473,12 +474,12 @@ sourceFile:sourceMapSample.ts 4 > : Greeter[] = 5 > [] 6 > ; -1 >Emitted(25, 13) Source(22, 9) + SourceIndex(0) -2 >Emitted(25, 17) Source(22, 13) + SourceIndex(0) -3 >Emitted(25, 25) Source(22, 21) + SourceIndex(0) -4 >Emitted(25, 28) Source(22, 35) + SourceIndex(0) -5 >Emitted(25, 30) Source(22, 37) + SourceIndex(0) -6 >Emitted(25, 31) Source(22, 38) + SourceIndex(0) +1 >Emitted(26, 13) Source(22, 9) + SourceIndex(0) +2 >Emitted(26, 17) Source(22, 13) + SourceIndex(0) +3 >Emitted(26, 25) Source(22, 21) + SourceIndex(0) +4 >Emitted(26, 28) Source(22, 35) + SourceIndex(0) +5 >Emitted(26, 30) Source(22, 37) + SourceIndex(0) +6 >Emitted(26, 31) Source(22, 38) + SourceIndex(0) --- >>> greeters[0] = new Greeter(greeting); 1->^^^^^^^^^^^^ @@ -507,18 +508,18 @@ sourceFile:sourceMapSample.ts 10> greeting 11> ) 12> ; -1->Emitted(26, 13) Source(23, 9) + SourceIndex(0) -2 >Emitted(26, 21) Source(23, 17) + SourceIndex(0) -3 >Emitted(26, 22) Source(23, 18) + SourceIndex(0) -4 >Emitted(26, 23) Source(23, 19) + SourceIndex(0) -5 >Emitted(26, 24) Source(23, 20) + SourceIndex(0) -6 >Emitted(26, 27) Source(23, 23) + SourceIndex(0) -7 >Emitted(26, 31) Source(23, 27) + SourceIndex(0) -8 >Emitted(26, 38) Source(23, 34) + SourceIndex(0) -9 >Emitted(26, 39) Source(23, 35) + SourceIndex(0) -10>Emitted(26, 47) Source(23, 43) + SourceIndex(0) -11>Emitted(26, 48) Source(23, 44) + SourceIndex(0) -12>Emitted(26, 49) Source(23, 45) + SourceIndex(0) +1->Emitted(27, 13) Source(23, 9) + SourceIndex(0) +2 >Emitted(27, 21) Source(23, 17) + SourceIndex(0) +3 >Emitted(27, 22) Source(23, 18) + SourceIndex(0) +4 >Emitted(27, 23) Source(23, 19) + SourceIndex(0) +5 >Emitted(27, 24) Source(23, 20) + SourceIndex(0) +6 >Emitted(27, 27) Source(23, 23) + SourceIndex(0) +7 >Emitted(27, 31) Source(23, 27) + SourceIndex(0) +8 >Emitted(27, 38) Source(23, 34) + SourceIndex(0) +9 >Emitted(27, 39) Source(23, 35) + SourceIndex(0) +10>Emitted(27, 47) Source(23, 43) + SourceIndex(0) +11>Emitted(27, 48) Source(23, 44) + SourceIndex(0) +12>Emitted(27, 49) Source(23, 45) + SourceIndex(0) --- >>> for (var i = 0; i < restGreetings.length; i++) { 1->^^^^^^^^^^^^ @@ -557,23 +558,23 @@ sourceFile:sourceMapSample.ts 15> ++ 16> ) 17> { -1->Emitted(27, 13) Source(24, 9) + SourceIndex(0) -2 >Emitted(27, 18) Source(24, 14) + SourceIndex(0) -3 >Emitted(27, 22) Source(24, 18) + SourceIndex(0) -4 >Emitted(27, 23) Source(24, 19) + SourceIndex(0) -5 >Emitted(27, 26) Source(24, 22) + SourceIndex(0) -6 >Emitted(27, 27) Source(24, 23) + SourceIndex(0) -7 >Emitted(27, 29) Source(24, 25) + SourceIndex(0) -8 >Emitted(27, 30) Source(24, 26) + SourceIndex(0) -9 >Emitted(27, 33) Source(24, 29) + SourceIndex(0) -10>Emitted(27, 46) Source(24, 42) + SourceIndex(0) -11>Emitted(27, 47) Source(24, 43) + SourceIndex(0) -12>Emitted(27, 53) Source(24, 49) + SourceIndex(0) -13>Emitted(27, 55) Source(24, 51) + SourceIndex(0) -14>Emitted(27, 56) Source(24, 52) + SourceIndex(0) -15>Emitted(27, 58) Source(24, 54) + SourceIndex(0) -16>Emitted(27, 60) Source(24, 56) + SourceIndex(0) -17>Emitted(27, 61) Source(24, 57) + SourceIndex(0) +1->Emitted(28, 13) Source(24, 9) + SourceIndex(0) +2 >Emitted(28, 18) Source(24, 14) + SourceIndex(0) +3 >Emitted(28, 22) Source(24, 18) + SourceIndex(0) +4 >Emitted(28, 23) Source(24, 19) + SourceIndex(0) +5 >Emitted(28, 26) Source(24, 22) + SourceIndex(0) +6 >Emitted(28, 27) Source(24, 23) + SourceIndex(0) +7 >Emitted(28, 29) Source(24, 25) + SourceIndex(0) +8 >Emitted(28, 30) Source(24, 26) + SourceIndex(0) +9 >Emitted(28, 33) Source(24, 29) + SourceIndex(0) +10>Emitted(28, 46) Source(24, 42) + SourceIndex(0) +11>Emitted(28, 47) Source(24, 43) + SourceIndex(0) +12>Emitted(28, 53) Source(24, 49) + SourceIndex(0) +13>Emitted(28, 55) Source(24, 51) + SourceIndex(0) +14>Emitted(28, 56) Source(24, 52) + SourceIndex(0) +15>Emitted(28, 58) Source(24, 54) + SourceIndex(0) +16>Emitted(28, 60) Source(24, 56) + SourceIndex(0) +17>Emitted(28, 61) Source(24, 57) + SourceIndex(0) --- >>> greeters.push(new Greeter(restGreetings[i])); 1->^^^^^^^^^^^^^^^^ @@ -607,21 +608,21 @@ sourceFile:sourceMapSample.ts 13> ) 14> ) 15> ; -1->Emitted(28, 17) Source(25, 13) + SourceIndex(0) -2 >Emitted(28, 25) Source(25, 21) + SourceIndex(0) -3 >Emitted(28, 26) Source(25, 22) + SourceIndex(0) -4 >Emitted(28, 30) Source(25, 26) + SourceIndex(0) -5 >Emitted(28, 31) Source(25, 27) + SourceIndex(0) -6 >Emitted(28, 35) Source(25, 31) + SourceIndex(0) -7 >Emitted(28, 42) Source(25, 38) + SourceIndex(0) -8 >Emitted(28, 43) Source(25, 39) + SourceIndex(0) -9 >Emitted(28, 56) Source(25, 52) + SourceIndex(0) -10>Emitted(28, 57) Source(25, 53) + SourceIndex(0) -11>Emitted(28, 58) Source(25, 54) + SourceIndex(0) -12>Emitted(28, 59) Source(25, 55) + SourceIndex(0) -13>Emitted(28, 60) Source(25, 56) + SourceIndex(0) -14>Emitted(28, 61) Source(25, 57) + SourceIndex(0) -15>Emitted(28, 62) Source(25, 58) + SourceIndex(0) +1->Emitted(29, 17) Source(25, 13) + SourceIndex(0) +2 >Emitted(29, 25) Source(25, 21) + SourceIndex(0) +3 >Emitted(29, 26) Source(25, 22) + SourceIndex(0) +4 >Emitted(29, 30) Source(25, 26) + SourceIndex(0) +5 >Emitted(29, 31) Source(25, 27) + SourceIndex(0) +6 >Emitted(29, 35) Source(25, 31) + SourceIndex(0) +7 >Emitted(29, 42) Source(25, 38) + SourceIndex(0) +8 >Emitted(29, 43) Source(25, 39) + SourceIndex(0) +9 >Emitted(29, 56) Source(25, 52) + SourceIndex(0) +10>Emitted(29, 57) Source(25, 53) + SourceIndex(0) +11>Emitted(29, 58) Source(25, 54) + SourceIndex(0) +12>Emitted(29, 59) Source(25, 55) + SourceIndex(0) +13>Emitted(29, 60) Source(25, 56) + SourceIndex(0) +14>Emitted(29, 61) Source(25, 57) + SourceIndex(0) +15>Emitted(29, 62) Source(25, 58) + SourceIndex(0) --- >>> } 1 >^^^^^^^^^^^^ @@ -630,8 +631,8 @@ sourceFile:sourceMapSample.ts 1 > > 2 > } -1 >Emitted(29, 13) Source(26, 9) + SourceIndex(0) -2 >Emitted(29, 14) Source(26, 10) + SourceIndex(0) +1 >Emitted(30, 13) Source(26, 9) + SourceIndex(0) +2 >Emitted(30, 14) Source(26, 10) + SourceIndex(0) --- >>> return greeters; 1->^^^^^^^^^^^^ @@ -644,10 +645,10 @@ sourceFile:sourceMapSample.ts 2 > return 3 > greeters 4 > ; -1->Emitted(30, 13) Source(28, 9) + SourceIndex(0) -2 >Emitted(30, 20) Source(28, 16) + SourceIndex(0) -3 >Emitted(30, 28) Source(28, 24) + SourceIndex(0) -4 >Emitted(30, 29) Source(28, 25) + SourceIndex(0) +1->Emitted(31, 13) Source(28, 9) + SourceIndex(0) +2 >Emitted(31, 20) Source(28, 16) + SourceIndex(0) +3 >Emitted(31, 28) Source(28, 24) + SourceIndex(0) +4 >Emitted(31, 29) Source(28, 25) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -656,8 +657,8 @@ sourceFile:sourceMapSample.ts 1 > > 2 > } -1 >Emitted(31, 9) Source(29, 5) + SourceIndex(0) -2 >Emitted(31, 10) Source(29, 6) + SourceIndex(0) +1 >Emitted(32, 9) Source(29, 5) + SourceIndex(0) +2 >Emitted(32, 10) Source(29, 6) + SourceIndex(0) --- >>> var b = foo2("Hello", "World", "!"); 1->^^^^^^^^ @@ -689,19 +690,19 @@ sourceFile:sourceMapSample.ts 11> "!" 12> ) 13> ; -1->Emitted(32, 9) Source(31, 5) + SourceIndex(0) -2 >Emitted(32, 13) Source(31, 9) + SourceIndex(0) -3 >Emitted(32, 14) Source(31, 10) + SourceIndex(0) -4 >Emitted(32, 17) Source(31, 13) + SourceIndex(0) -5 >Emitted(32, 21) Source(31, 17) + SourceIndex(0) -6 >Emitted(32, 22) Source(31, 18) + SourceIndex(0) -7 >Emitted(32, 29) Source(31, 25) + SourceIndex(0) -8 >Emitted(32, 31) Source(31, 27) + SourceIndex(0) -9 >Emitted(32, 38) Source(31, 34) + SourceIndex(0) -10>Emitted(32, 40) Source(31, 36) + SourceIndex(0) -11>Emitted(32, 43) Source(31, 39) + SourceIndex(0) -12>Emitted(32, 44) Source(31, 40) + SourceIndex(0) -13>Emitted(32, 45) Source(31, 41) + SourceIndex(0) +1->Emitted(33, 9) Source(31, 5) + SourceIndex(0) +2 >Emitted(33, 13) Source(31, 9) + SourceIndex(0) +3 >Emitted(33, 14) Source(31, 10) + SourceIndex(0) +4 >Emitted(33, 17) Source(31, 13) + SourceIndex(0) +5 >Emitted(33, 21) Source(31, 17) + SourceIndex(0) +6 >Emitted(33, 22) Source(31, 18) + SourceIndex(0) +7 >Emitted(33, 29) Source(31, 25) + SourceIndex(0) +8 >Emitted(33, 31) Source(31, 27) + SourceIndex(0) +9 >Emitted(33, 38) Source(31, 34) + SourceIndex(0) +10>Emitted(33, 40) Source(31, 36) + SourceIndex(0) +11>Emitted(33, 43) Source(31, 39) + SourceIndex(0) +12>Emitted(33, 44) Source(31, 40) + SourceIndex(0) +13>Emitted(33, 45) Source(31, 41) + SourceIndex(0) --- >>> for (var j = 0; j < b.length; j++) { 1->^^^^^^^^ @@ -739,23 +740,23 @@ sourceFile:sourceMapSample.ts 15> ++ 16> ) 17> { -1->Emitted(33, 9) Source(32, 5) + SourceIndex(0) -2 >Emitted(33, 14) Source(32, 10) + SourceIndex(0) -3 >Emitted(33, 18) Source(32, 14) + SourceIndex(0) -4 >Emitted(33, 19) Source(32, 15) + SourceIndex(0) -5 >Emitted(33, 22) Source(32, 18) + SourceIndex(0) -6 >Emitted(33, 23) Source(32, 19) + SourceIndex(0) -7 >Emitted(33, 25) Source(32, 21) + SourceIndex(0) -8 >Emitted(33, 26) Source(32, 22) + SourceIndex(0) -9 >Emitted(33, 29) Source(32, 25) + SourceIndex(0) -10>Emitted(33, 30) Source(32, 26) + SourceIndex(0) -11>Emitted(33, 31) Source(32, 27) + SourceIndex(0) -12>Emitted(33, 37) Source(32, 33) + SourceIndex(0) -13>Emitted(33, 39) Source(32, 35) + SourceIndex(0) -14>Emitted(33, 40) Source(32, 36) + SourceIndex(0) -15>Emitted(33, 42) Source(32, 38) + SourceIndex(0) -16>Emitted(33, 44) Source(32, 40) + SourceIndex(0) -17>Emitted(33, 45) Source(32, 41) + SourceIndex(0) +1->Emitted(34, 9) Source(32, 5) + SourceIndex(0) +2 >Emitted(34, 14) Source(32, 10) + SourceIndex(0) +3 >Emitted(34, 18) Source(32, 14) + SourceIndex(0) +4 >Emitted(34, 19) Source(32, 15) + SourceIndex(0) +5 >Emitted(34, 22) Source(32, 18) + SourceIndex(0) +6 >Emitted(34, 23) Source(32, 19) + SourceIndex(0) +7 >Emitted(34, 25) Source(32, 21) + SourceIndex(0) +8 >Emitted(34, 26) Source(32, 22) + SourceIndex(0) +9 >Emitted(34, 29) Source(32, 25) + SourceIndex(0) +10>Emitted(34, 30) Source(32, 26) + SourceIndex(0) +11>Emitted(34, 31) Source(32, 27) + SourceIndex(0) +12>Emitted(34, 37) Source(32, 33) + SourceIndex(0) +13>Emitted(34, 39) Source(32, 35) + SourceIndex(0) +14>Emitted(34, 40) Source(32, 36) + SourceIndex(0) +15>Emitted(34, 42) Source(32, 38) + SourceIndex(0) +16>Emitted(34, 44) Source(32, 40) + SourceIndex(0) +17>Emitted(34, 45) Source(32, 41) + SourceIndex(0) --- >>> b[j].greet(); 1 >^^^^^^^^^^^^ @@ -777,15 +778,15 @@ sourceFile:sourceMapSample.ts 7 > greet 8 > () 9 > ; -1 >Emitted(34, 13) Source(33, 9) + SourceIndex(0) -2 >Emitted(34, 14) Source(33, 10) + SourceIndex(0) -3 >Emitted(34, 15) Source(33, 11) + SourceIndex(0) -4 >Emitted(34, 16) Source(33, 12) + SourceIndex(0) -5 >Emitted(34, 17) Source(33, 13) + SourceIndex(0) -6 >Emitted(34, 18) Source(33, 14) + SourceIndex(0) -7 >Emitted(34, 23) Source(33, 19) + SourceIndex(0) -8 >Emitted(34, 25) Source(33, 21) + SourceIndex(0) -9 >Emitted(34, 26) Source(33, 22) + SourceIndex(0) +1 >Emitted(35, 13) Source(33, 9) + SourceIndex(0) +2 >Emitted(35, 14) Source(33, 10) + SourceIndex(0) +3 >Emitted(35, 15) Source(33, 11) + SourceIndex(0) +4 >Emitted(35, 16) Source(33, 12) + SourceIndex(0) +5 >Emitted(35, 17) Source(33, 13) + SourceIndex(0) +6 >Emitted(35, 18) Source(33, 14) + SourceIndex(0) +7 >Emitted(35, 23) Source(33, 19) + SourceIndex(0) +8 >Emitted(35, 25) Source(33, 21) + SourceIndex(0) +9 >Emitted(35, 26) Source(33, 22) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -794,8 +795,8 @@ sourceFile:sourceMapSample.ts 1 > > 2 > } -1 >Emitted(35, 9) Source(34, 5) + SourceIndex(0) -2 >Emitted(35, 10) Source(34, 6) + SourceIndex(0) +1 >Emitted(36, 9) Source(34, 5) + SourceIndex(0) +2 >Emitted(36, 10) Source(34, 6) + SourceIndex(0) --- >>> })(Bar = Foo.Bar || (Foo.Bar = {})); 1->^^^^ @@ -851,15 +852,15 @@ sourceFile:sourceMapSample.ts > b[j].greet(); > } > } -1->Emitted(36, 5) Source(35, 1) + SourceIndex(0) -2 >Emitted(36, 6) Source(35, 2) + SourceIndex(0) -3 >Emitted(36, 8) Source(1, 15) + SourceIndex(0) -4 >Emitted(36, 11) Source(1, 18) + SourceIndex(0) -5 >Emitted(36, 14) Source(1, 15) + SourceIndex(0) -6 >Emitted(36, 21) Source(1, 18) + SourceIndex(0) -7 >Emitted(36, 26) Source(1, 15) + SourceIndex(0) -8 >Emitted(36, 33) Source(1, 18) + SourceIndex(0) -9 >Emitted(36, 41) Source(35, 2) + SourceIndex(0) +1->Emitted(37, 5) Source(35, 1) + SourceIndex(0) +2 >Emitted(37, 6) Source(35, 2) + SourceIndex(0) +3 >Emitted(37, 8) Source(1, 15) + SourceIndex(0) +4 >Emitted(37, 11) Source(1, 18) + SourceIndex(0) +5 >Emitted(37, 14) Source(1, 15) + SourceIndex(0) +6 >Emitted(37, 21) Source(1, 18) + SourceIndex(0) +7 >Emitted(37, 26) Source(1, 15) + SourceIndex(0) +8 >Emitted(37, 33) Source(1, 18) + SourceIndex(0) +9 >Emitted(37, 41) Source(35, 2) + SourceIndex(0) --- >>>})(Foo || (Foo = {})); 1 > @@ -911,12 +912,12 @@ sourceFile:sourceMapSample.ts > b[j].greet(); > } > } -1 >Emitted(37, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(37, 2) Source(35, 2) + SourceIndex(0) -3 >Emitted(37, 4) Source(1, 11) + SourceIndex(0) -4 >Emitted(37, 7) Source(1, 14) + SourceIndex(0) -5 >Emitted(37, 12) Source(1, 11) + SourceIndex(0) -6 >Emitted(37, 15) Source(1, 14) + SourceIndex(0) -7 >Emitted(37, 23) Source(35, 2) + SourceIndex(0) +1 >Emitted(38, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(38, 2) Source(35, 2) + SourceIndex(0) +3 >Emitted(38, 4) Source(1, 11) + SourceIndex(0) +4 >Emitted(38, 7) Source(1, 14) + SourceIndex(0) +5 >Emitted(38, 12) Source(1, 11) + SourceIndex(0) +6 >Emitted(38, 15) Source(1, 14) + SourceIndex(0) +7 >Emitted(38, 23) Source(35, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapSample.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationClass.js b/tests/baselines/reference/sourceMapValidationClass.js index 2c56d88f8339a..684228912ee4e 100644 --- a/tests/baselines/reference/sourceMapValidationClass.js +++ b/tests/baselines/reference/sourceMapValidationClass.js @@ -21,6 +21,7 @@ class Greeter { } //// [sourceMapValidationClass.js] +"use strict"; var Greeter = /** @class */ (function () { function Greeter(greeting) { var b = []; diff --git a/tests/baselines/reference/sourceMapValidationClass.js.map b/tests/baselines/reference/sourceMapValidationClass.js.map index 95ffd06228986..11c6567819f43 100644 --- a/tests/baselines/reference/sourceMapValidationClass.js.map +++ b/tests/baselines/reference/sourceMapValidationClass.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationClass.js.map] -{"version":3,"file":"sourceMapValidationClass.js","sourceRoot":"","sources":["sourceMapValidationClass.ts"],"names":[],"mappings":"AAAA;IACI,iBAAmB,QAAgB;QAAE,WAAc;aAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;YAAd,0BAAc;;QAAhC,aAAQ,GAAR,QAAQ,CAAQ;QAM3B,OAAE,GAAW,EAAE,CAAC;IALxB,CAAC;IACD,uBAAK,GAAL;QACI,OAAO,MAAM,GAAG,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5C,CAAC;IAGO,oBAAE,GAAV;QACI,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACD,sBAAI,8BAAS;aAAb;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;aACD,UAAc,SAAiB;YAC3B,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;QAC9B,CAAC;;;OAHA;IAIL,cAAC;AAAD,CAAC,AAjBD,IAiBC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIEdyZWV0ZXIgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gR3JlZXRlcihncmVldGluZykgew0KICAgICAgICB2YXIgYiA9IFtdOw0KICAgICAgICBmb3IgKHZhciBfaSA9IDE7IF9pIDwgYXJndW1lbnRzLmxlbmd0aDsgX2krKykgew0KICAgICAgICAgICAgYltfaSAtIDFdID0gYXJndW1lbnRzW19pXTsNCiAgICAgICAgfQ0KICAgICAgICB0aGlzLmdyZWV0aW5nID0gZ3JlZXRpbmc7DQogICAgICAgIHRoaXMueDEgPSAxMDsNCiAgICB9DQogICAgR3JlZXRlci5wcm90b3R5cGUuZ3JlZXQgPSBmdW5jdGlvbiAoKSB7DQogICAgICAgIHJldHVybiAiPGgxPiIgKyB0aGlzLmdyZWV0aW5nICsgIjwvaDE+IjsNCiAgICB9Ow0KICAgIEdyZWV0ZXIucHJvdG90eXBlLmZuID0gZnVuY3Rpb24gKCkgew0KICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsNCiAgICB9Ow0KICAgIE9iamVjdC5kZWZpbmVQcm9wZXJ0eShHcmVldGVyLnByb3RvdHlwZSwgImdyZWV0aW5ncyIsIHsNCiAgICAgICAgZ2V0OiBmdW5jdGlvbiAoKSB7DQogICAgICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsNCiAgICAgICAgfSwNCiAgICAgICAgc2V0OiBmdW5jdGlvbiAoZ3JlZXRpbmdzKSB7DQogICAgICAgICAgICB0aGlzLmdyZWV0aW5nID0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0cmluZywgLi4uYjogc3RyaW5nW10pIHsKICAgIH0KICAgIGdyZWV0KCkgewogICAgICAgIHJldHVybiAiPGgxPiIgKyB0aGlzLmdyZWV0aW5nICsgIjwvaDE+IjsKICAgIH0KICAgIHByaXZhdGUgeDogc3RyaW5nOwogICAgcHJpdmF0ZSB4MTogbnVtYmVyID0gMTA7CiAgICBwcml2YXRlIGZuKCkgewogICAgICAgIHJldHVybiB0aGlzLmdyZWV0aW5nOwogICAgfQogICAgZ2V0IGdyZWV0aW5ncygpIHsKICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsKICAgIH0KICAgIHNldCBncmVldGluZ3MoZ3JlZXRpbmdzOiBzdHJpbmcpIHsKICAgICAgICB0aGlzLmdyZWV0aW5nID0gZ3JlZXRpbmdzOwogICAgfQp9 +{"version":3,"file":"sourceMapValidationClass.js","sourceRoot":"","sources":["sourceMapValidationClass.ts"],"names":[],"mappings":";AAAA;IACI,iBAAmB,QAAgB;QAAE,WAAc;aAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;YAAd,0BAAc;;QAAhC,aAAQ,GAAR,QAAQ,CAAQ;QAM3B,OAAE,GAAW,EAAE,CAAC;IALxB,CAAC;IACD,uBAAK,GAAL;QACI,OAAO,MAAM,GAAG,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5C,CAAC;IAGO,oBAAE,GAAV;QACI,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IACD,sBAAI,8BAAS;aAAb;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;aACD,UAAc,SAAiB;YAC3B,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;QAC9B,CAAC;;;OAHA;IAIL,cAAC;AAAD,CAAC,AAjBD,IAiBC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIEdyZWV0ZXIgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3R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VldGluZzsKICAgIH0KICAgIHNldCBncmVldGluZ3MoZ3JlZXRpbmdzOiBzdHJpbmcpIHsKICAgICAgICB0aGlzLmdyZWV0aW5nID0gZ3JlZXRpbmdzOwogICAgfQp9 diff --git a/tests/baselines/reference/sourceMapValidationClass.sourcemap.txt b/tests/baselines/reference/sourceMapValidationClass.sourcemap.txt index 4de23369381bf..7d7337d1c8e59 100644 --- a/tests/baselines/reference/sourceMapValidationClass.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationClass.sourcemap.txt @@ -8,11 +8,12 @@ sources: sourceMapValidationClass.ts emittedFile:sourceMapValidationClass.js sourceFile:sourceMapValidationClass.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var Greeter = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function Greeter(greeting) { 1->^^^^ @@ -22,9 +23,9 @@ sourceFile:sourceMapValidationClass.ts > 2 > constructor(public 3 > greeting: string -1->Emitted(2, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 22) Source(2, 24) + SourceIndex(0) -3 >Emitted(2, 30) Source(2, 40) + SourceIndex(0) +1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 22) Source(2, 24) + SourceIndex(0) +3 >Emitted(3, 30) Source(2, 40) + SourceIndex(0) --- >>> var b = []; 1 >^^^^^^^^ @@ -32,8 +33,8 @@ sourceFile:sourceMapValidationClass.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 >, 2 > ...b: string[] -1 >Emitted(3, 9) Source(2, 42) + SourceIndex(0) -2 >Emitted(3, 20) Source(2, 56) + SourceIndex(0) +1 >Emitted(4, 9) Source(2, 42) + SourceIndex(0) +2 >Emitted(4, 20) Source(2, 56) + SourceIndex(0) --- >>> for (var _i = 1; _i < arguments.length; _i++) { 1->^^^^^^^^^^^^^ @@ -48,20 +49,20 @@ sourceFile:sourceMapValidationClass.ts 4 > ...b: string[] 5 > 6 > ...b: string[] -1->Emitted(4, 14) Source(2, 42) + SourceIndex(0) -2 >Emitted(4, 24) Source(2, 56) + SourceIndex(0) -3 >Emitted(4, 26) Source(2, 42) + SourceIndex(0) -4 >Emitted(4, 47) Source(2, 56) + SourceIndex(0) -5 >Emitted(4, 49) Source(2, 42) + SourceIndex(0) -6 >Emitted(4, 53) Source(2, 56) + SourceIndex(0) +1->Emitted(5, 14) Source(2, 42) + SourceIndex(0) +2 >Emitted(5, 24) Source(2, 56) + SourceIndex(0) +3 >Emitted(5, 26) Source(2, 42) + SourceIndex(0) +4 >Emitted(5, 47) Source(2, 56) + SourceIndex(0) +5 >Emitted(5, 49) Source(2, 42) + SourceIndex(0) +6 >Emitted(5, 53) Source(2, 56) + SourceIndex(0) --- >>> b[_i - 1] = arguments[_i]; 1 >^^^^^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 > ...b: string[] -1 >Emitted(5, 13) Source(2, 42) + SourceIndex(0) -2 >Emitted(5, 39) Source(2, 56) + SourceIndex(0) +1 >Emitted(6, 13) Source(2, 42) + SourceIndex(0) +2 >Emitted(6, 39) Source(2, 56) + SourceIndex(0) --- >>> } >>> this.greeting = greeting; @@ -75,11 +76,11 @@ sourceFile:sourceMapValidationClass.ts 3 > 4 > greeting 5 > : string -1 >Emitted(7, 9) Source(2, 24) + SourceIndex(0) -2 >Emitted(7, 22) Source(2, 32) + SourceIndex(0) -3 >Emitted(7, 25) Source(2, 24) + SourceIndex(0) -4 >Emitted(7, 33) Source(2, 32) + SourceIndex(0) -5 >Emitted(7, 34) Source(2, 40) + SourceIndex(0) +1 >Emitted(8, 9) Source(2, 24) + SourceIndex(0) +2 >Emitted(8, 22) Source(2, 32) + SourceIndex(0) +3 >Emitted(8, 25) Source(2, 24) + SourceIndex(0) +4 >Emitted(8, 33) Source(2, 32) + SourceIndex(0) +5 >Emitted(8, 34) Source(2, 40) + SourceIndex(0) --- >>> this.x1 = 10; 1 >^^^^^^^^ @@ -98,11 +99,11 @@ sourceFile:sourceMapValidationClass.ts 3 > : number = 4 > 10 5 > ; -1 >Emitted(8, 9) Source(8, 13) + SourceIndex(0) -2 >Emitted(8, 16) Source(8, 15) + SourceIndex(0) -3 >Emitted(8, 19) Source(8, 26) + SourceIndex(0) -4 >Emitted(8, 21) Source(8, 28) + SourceIndex(0) -5 >Emitted(8, 22) Source(8, 29) + SourceIndex(0) +1 >Emitted(9, 9) Source(8, 13) + SourceIndex(0) +2 >Emitted(9, 16) Source(8, 15) + SourceIndex(0) +3 >Emitted(9, 19) Source(8, 26) + SourceIndex(0) +4 >Emitted(9, 21) Source(8, 28) + SourceIndex(0) +5 >Emitted(9, 22) Source(8, 29) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -110,8 +111,8 @@ sourceFile:sourceMapValidationClass.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > 2 > } -1 >Emitted(9, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(9, 6) Source(3, 6) + SourceIndex(0) +1 >Emitted(10, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(10, 6) Source(3, 6) + SourceIndex(0) --- >>> Greeter.prototype.greet = function () { 1->^^^^ @@ -122,9 +123,9 @@ sourceFile:sourceMapValidationClass.ts > 2 > greet 3 > -1->Emitted(10, 5) Source(4, 5) + SourceIndex(0) -2 >Emitted(10, 28) Source(4, 10) + SourceIndex(0) -3 >Emitted(10, 31) Source(4, 5) + SourceIndex(0) +1->Emitted(11, 5) Source(4, 5) + SourceIndex(0) +2 >Emitted(11, 28) Source(4, 10) + SourceIndex(0) +3 >Emitted(11, 31) Source(4, 5) + SourceIndex(0) --- >>> return "

" + this.greeting + "

"; 1->^^^^^^^^ @@ -148,16 +149,16 @@ sourceFile:sourceMapValidationClass.ts 8 > + 9 > "" 10> ; -1->Emitted(11, 9) Source(5, 9) + SourceIndex(0) -2 >Emitted(11, 16) Source(5, 16) + SourceIndex(0) -3 >Emitted(11, 22) Source(5, 22) + SourceIndex(0) -4 >Emitted(11, 25) Source(5, 25) + SourceIndex(0) -5 >Emitted(11, 29) Source(5, 29) + SourceIndex(0) -6 >Emitted(11, 30) Source(5, 30) + SourceIndex(0) -7 >Emitted(11, 38) Source(5, 38) + SourceIndex(0) -8 >Emitted(11, 41) Source(5, 41) + SourceIndex(0) -9 >Emitted(11, 48) Source(5, 48) + SourceIndex(0) -10>Emitted(11, 49) Source(5, 49) + SourceIndex(0) +1->Emitted(12, 9) Source(5, 9) + SourceIndex(0) +2 >Emitted(12, 16) Source(5, 16) + SourceIndex(0) +3 >Emitted(12, 22) Source(5, 22) + SourceIndex(0) +4 >Emitted(12, 25) Source(5, 25) + SourceIndex(0) +5 >Emitted(12, 29) Source(5, 29) + SourceIndex(0) +6 >Emitted(12, 30) Source(5, 30) + SourceIndex(0) +7 >Emitted(12, 38) Source(5, 38) + SourceIndex(0) +8 >Emitted(12, 41) Source(5, 41) + SourceIndex(0) +9 >Emitted(12, 48) Source(5, 48) + SourceIndex(0) +10>Emitted(12, 49) Source(5, 49) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -166,8 +167,8 @@ sourceFile:sourceMapValidationClass.ts 1 > > 2 > } -1 >Emitted(12, 5) Source(6, 5) + SourceIndex(0) -2 >Emitted(12, 6) Source(6, 6) + SourceIndex(0) +1 >Emitted(13, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(13, 6) Source(6, 6) + SourceIndex(0) --- >>> Greeter.prototype.fn = function () { 1->^^^^ @@ -180,9 +181,9 @@ sourceFile:sourceMapValidationClass.ts > private 2 > fn 3 > -1->Emitted(13, 5) Source(9, 13) + SourceIndex(0) -2 >Emitted(13, 25) Source(9, 15) + SourceIndex(0) -3 >Emitted(13, 28) Source(9, 5) + SourceIndex(0) +1->Emitted(14, 5) Source(9, 13) + SourceIndex(0) +2 >Emitted(14, 25) Source(9, 15) + SourceIndex(0) +3 >Emitted(14, 28) Source(9, 5) + SourceIndex(0) --- >>> return this.greeting; 1->^^^^^^^^ @@ -198,12 +199,12 @@ sourceFile:sourceMapValidationClass.ts 4 > . 5 > greeting 6 > ; -1->Emitted(14, 9) Source(10, 9) + SourceIndex(0) -2 >Emitted(14, 16) Source(10, 16) + SourceIndex(0) -3 >Emitted(14, 20) Source(10, 20) + SourceIndex(0) -4 >Emitted(14, 21) Source(10, 21) + SourceIndex(0) -5 >Emitted(14, 29) Source(10, 29) + SourceIndex(0) -6 >Emitted(14, 30) Source(10, 30) + SourceIndex(0) +1->Emitted(15, 9) Source(10, 9) + SourceIndex(0) +2 >Emitted(15, 16) Source(10, 16) + SourceIndex(0) +3 >Emitted(15, 20) Source(10, 20) + SourceIndex(0) +4 >Emitted(15, 21) Source(10, 21) + SourceIndex(0) +5 >Emitted(15, 29) Source(10, 29) + SourceIndex(0) +6 >Emitted(15, 30) Source(10, 30) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -212,8 +213,8 @@ sourceFile:sourceMapValidationClass.ts 1 > > 2 > } -1 >Emitted(15, 5) Source(11, 5) + SourceIndex(0) -2 >Emitted(15, 6) Source(11, 6) + SourceIndex(0) +1 >Emitted(16, 5) Source(11, 5) + SourceIndex(0) +2 >Emitted(16, 6) Source(11, 6) + SourceIndex(0) --- >>> Object.defineProperty(Greeter.prototype, "greetings", { 1->^^^^ @@ -223,15 +224,15 @@ sourceFile:sourceMapValidationClass.ts > 2 > get 3 > greetings -1->Emitted(16, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(16, 27) Source(12, 9) + SourceIndex(0) -3 >Emitted(16, 57) Source(12, 18) + SourceIndex(0) +1->Emitted(17, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(17, 27) Source(12, 9) + SourceIndex(0) +3 >Emitted(17, 57) Source(12, 18) + SourceIndex(0) --- >>> get: function () { 1 >^^^^^^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(17, 14) Source(12, 5) + SourceIndex(0) +1 >Emitted(18, 14) Source(12, 5) + SourceIndex(0) --- >>> return this.greeting; 1->^^^^^^^^^^^^ @@ -247,12 +248,12 @@ sourceFile:sourceMapValidationClass.ts 4 > . 5 > greeting 6 > ; -1->Emitted(18, 13) Source(13, 9) + SourceIndex(0) -2 >Emitted(18, 20) Source(13, 16) + SourceIndex(0) -3 >Emitted(18, 24) Source(13, 20) + SourceIndex(0) -4 >Emitted(18, 25) Source(13, 21) + SourceIndex(0) -5 >Emitted(18, 33) Source(13, 29) + SourceIndex(0) -6 >Emitted(18, 34) Source(13, 30) + SourceIndex(0) +1->Emitted(19, 13) Source(13, 9) + SourceIndex(0) +2 >Emitted(19, 20) Source(13, 16) + SourceIndex(0) +3 >Emitted(19, 24) Source(13, 20) + SourceIndex(0) +4 >Emitted(19, 25) Source(13, 21) + SourceIndex(0) +5 >Emitted(19, 33) Source(13, 29) + SourceIndex(0) +6 >Emitted(19, 34) Source(13, 30) + SourceIndex(0) --- >>> }, 1 >^^^^^^^^ @@ -261,8 +262,8 @@ sourceFile:sourceMapValidationClass.ts 1 > > 2 > } -1 >Emitted(19, 9) Source(14, 5) + SourceIndex(0) -2 >Emitted(19, 10) Source(14, 6) + SourceIndex(0) +1 >Emitted(20, 9) Source(14, 5) + SourceIndex(0) +2 >Emitted(20, 10) Source(14, 6) + SourceIndex(0) --- >>> set: function (greetings) { 1->^^^^^^^^^^^^^ @@ -273,9 +274,9 @@ sourceFile:sourceMapValidationClass.ts > 2 > set greetings( 3 > greetings: string -1->Emitted(20, 14) Source(15, 5) + SourceIndex(0) -2 >Emitted(20, 24) Source(15, 19) + SourceIndex(0) -3 >Emitted(20, 33) Source(15, 36) + SourceIndex(0) +1->Emitted(21, 14) Source(15, 5) + SourceIndex(0) +2 >Emitted(21, 24) Source(15, 19) + SourceIndex(0) +3 >Emitted(21, 33) Source(15, 36) + SourceIndex(0) --- >>> this.greeting = greetings; 1->^^^^^^^^^^^^ @@ -293,13 +294,13 @@ sourceFile:sourceMapValidationClass.ts 5 > = 6 > greetings 7 > ; -1->Emitted(21, 13) Source(16, 9) + SourceIndex(0) -2 >Emitted(21, 17) Source(16, 13) + SourceIndex(0) -3 >Emitted(21, 18) Source(16, 14) + SourceIndex(0) -4 >Emitted(21, 26) Source(16, 22) + SourceIndex(0) -5 >Emitted(21, 29) Source(16, 25) + SourceIndex(0) -6 >Emitted(21, 38) Source(16, 34) + SourceIndex(0) -7 >Emitted(21, 39) Source(16, 35) + SourceIndex(0) +1->Emitted(22, 13) Source(16, 9) + SourceIndex(0) +2 >Emitted(22, 17) Source(16, 13) + SourceIndex(0) +3 >Emitted(22, 18) Source(16, 14) + SourceIndex(0) +4 >Emitted(22, 26) Source(16, 22) + SourceIndex(0) +5 >Emitted(22, 29) Source(16, 25) + SourceIndex(0) +6 >Emitted(22, 38) Source(16, 34) + SourceIndex(0) +7 >Emitted(22, 39) Source(16, 35) + SourceIndex(0) --- >>> }, 1 >^^^^^^^^ @@ -308,8 +309,8 @@ sourceFile:sourceMapValidationClass.ts 1 > > 2 > } -1 >Emitted(22, 9) Source(17, 5) + SourceIndex(0) -2 >Emitted(22, 10) Source(17, 6) + SourceIndex(0) +1 >Emitted(23, 9) Source(17, 5) + SourceIndex(0) +2 >Emitted(23, 10) Source(17, 6) + SourceIndex(0) --- >>> enumerable: false, >>> configurable: true @@ -317,7 +318,7 @@ sourceFile:sourceMapValidationClass.ts 1->^^^^^^^ 2 > ^^^^^^^^^^^^^-> 1-> -1->Emitted(25, 8) Source(14, 6) + SourceIndex(0) +1->Emitted(26, 8) Source(14, 6) + SourceIndex(0) --- >>> return Greeter; 1->^^^^ @@ -328,8 +329,8 @@ sourceFile:sourceMapValidationClass.ts > } > 2 > } -1->Emitted(26, 5) Source(18, 1) + SourceIndex(0) -2 >Emitted(26, 19) Source(18, 2) + SourceIndex(0) +1->Emitted(27, 5) Source(18, 1) + SourceIndex(0) +2 >Emitted(27, 19) Source(18, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -358,9 +359,9 @@ sourceFile:sourceMapValidationClass.ts > this.greeting = greetings; > } > } -1 >Emitted(27, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(27, 2) Source(18, 2) + SourceIndex(0) -3 >Emitted(27, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(27, 6) Source(18, 2) + SourceIndex(0) +1 >Emitted(28, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(28, 2) Source(18, 2) + SourceIndex(0) +3 >Emitted(28, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(28, 6) Source(18, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationClass.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.js b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.js index 643bda9da0299..a2d413e4bbf1e 100644 --- a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.js +++ b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.js @@ -7,6 +7,7 @@ class Greeter { } //// [sourceMapValidationClassWithDefaultConstructor.js] +"use strict"; var Greeter = /** @class */ (function () { function Greeter() { this.a = 10; diff --git a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.js.map b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.js.map index a15b689771381..85f6a9cc6f111 100644 --- a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.js.map +++ b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationClassWithDefaultConstructor.js.map] -{"version":3,"file":"sourceMapValidationClassWithDefaultConstructor.js","sourceRoot":"","sources":["sourceMapValidationClassWithDefaultConstructor.ts"],"names":[],"mappings":"AAAA;IAAA;QACW,MAAC,GAAG,EAAE,CAAC;QACP,UAAK,GAAG,KAAK,CAAC;IACzB,CAAC;IAAD,cAAC;AAAD,CAAC,AAHD,IAGC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIEdyZWV0ZXIgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gR3JlZXRlcigpIHsNCiAgICAgICAgdGhpcy5hID0gMTA7DQogICAgICAgIHRoaXMubmFtZUEgPSAiVGVuIjsNCiAgICB9DQogICAgcmV0dXJuIEdyZWV0ZXI7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3Rvci5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3Rvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25DbGFzc1dpdGhEZWZhdWx0Q29uc3RydWN0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFBQTtRQUNXLE1BQUMsR0FBRyxFQUFFLENBQUM7UUFDUCxVQUFLLEdBQUcsS0FBSyxDQUFDO0lBQ3pCLENBQUM7SUFBRCxjQUFDO0FBQUQsQ0FBQyxBQUhELElBR0MifQ==,Y2xhc3MgR3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIG5hbWVBID0gIlRlbiI7Cn0= +{"version":3,"file":"sourceMapValidationClassWithDefaultConstructor.js","sourceRoot":"","sources":["sourceMapValidationClassWithDefaultConstructor.ts"],"names":[],"mappings":";AAAA;IAAA;QACW,MAAC,GAAG,EAAE,CAAC;QACP,UAAK,GAAG,KAAK,CAAC;IACzB,CAAC;IAAD,cAAC;AAAD,CAAC,AAHD,IAGC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIEdyZWV0ZXIgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gR3JlZXRlcigpIHsNCiAgICAgICAgdGhpcy5hID0gMTA7DQogICAgICAgIHRoaXMubmFtZUEgPSAiVGVuIjsNCiAgICB9DQogICAgcmV0dXJuIEdyZWV0ZXI7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3Rvci5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3Rvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25DbGFzc1dpdGhEZWZhdWx0Q29uc3RydWN0b3IudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0lBQUE7UUFDVyxNQUFDLEdBQUcsRUFBRSxDQUFDO1FBQ1AsVUFBSyxHQUFHLEtBQUssQ0FBQztJQUN6QixDQUFDO0lBQUQsY0FBQztBQUFELENBQUMsQUFIRCxJQUdDIn0=,Y2xhc3MgR3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIG5hbWVBID0gIlRlbiI7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.sourcemap.txt b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.sourcemap.txt index a2bede38eaf02..843188a2084a6 100644 --- a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructor.sourcemap.txt @@ -8,17 +8,18 @@ sources: sourceMapValidationClassWithDefaultConstructor.ts emittedFile:sourceMapValidationClassWithDefaultConstructor.js sourceFile:sourceMapValidationClassWithDefaultConstructor.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var Greeter = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function Greeter() { 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> this.a = 10; 1->^^^^^^^^ @@ -33,11 +34,11 @@ sourceFile:sourceMapValidationClassWithDefaultConstructor.ts 3 > = 4 > 10 5 > ; -1->Emitted(3, 9) Source(2, 12) + SourceIndex(0) -2 >Emitted(3, 15) Source(2, 13) + SourceIndex(0) -3 >Emitted(3, 18) Source(2, 16) + SourceIndex(0) -4 >Emitted(3, 20) Source(2, 18) + SourceIndex(0) -5 >Emitted(3, 21) Source(2, 19) + SourceIndex(0) +1->Emitted(4, 9) Source(2, 12) + SourceIndex(0) +2 >Emitted(4, 15) Source(2, 13) + SourceIndex(0) +3 >Emitted(4, 18) Source(2, 16) + SourceIndex(0) +4 >Emitted(4, 20) Source(2, 18) + SourceIndex(0) +5 >Emitted(4, 21) Source(2, 19) + SourceIndex(0) --- >>> this.nameA = "Ten"; 1->^^^^^^^^ @@ -51,11 +52,11 @@ sourceFile:sourceMapValidationClassWithDefaultConstructor.ts 3 > = 4 > "Ten" 5 > ; -1->Emitted(4, 9) Source(3, 12) + SourceIndex(0) -2 >Emitted(4, 19) Source(3, 17) + SourceIndex(0) -3 >Emitted(4, 22) Source(3, 20) + SourceIndex(0) -4 >Emitted(4, 27) Source(3, 25) + SourceIndex(0) -5 >Emitted(4, 28) Source(3, 26) + SourceIndex(0) +1->Emitted(5, 9) Source(3, 12) + SourceIndex(0) +2 >Emitted(5, 19) Source(3, 17) + SourceIndex(0) +3 >Emitted(5, 22) Source(3, 20) + SourceIndex(0) +4 >Emitted(5, 27) Source(3, 25) + SourceIndex(0) +5 >Emitted(5, 28) Source(3, 26) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -64,16 +65,16 @@ sourceFile:sourceMapValidationClassWithDefaultConstructor.ts 1 > > 2 > } -1 >Emitted(5, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(5, 6) Source(4, 2) + SourceIndex(0) +1 >Emitted(6, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(6, 6) Source(4, 2) + SourceIndex(0) --- >>> return Greeter; 1->^^^^ 2 > ^^^^^^^^^^^^^^ 1-> 2 > } -1->Emitted(6, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(6, 19) Source(4, 2) + SourceIndex(0) +1->Emitted(7, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(7, 19) Source(4, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -88,9 +89,9 @@ sourceFile:sourceMapValidationClassWithDefaultConstructor.ts > public a = 10; > public nameA = "Ten"; > } -1 >Emitted(7, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(4, 2) + SourceIndex(0) -3 >Emitted(7, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(7, 6) Source(4, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(4, 2) + SourceIndex(0) +3 >Emitted(8, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(8, 6) Source(4, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationClassWithDefaultConstructor.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js index 08bc227f6e47a..e26fcf0a2b996 100644 --- a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js +++ b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js @@ -7,6 +7,7 @@ class Greeter { } //// [sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js] +"use strict"; var Greeter = /** @class */ (function () { function Greeter() { var _this = this; diff --git a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map index 340cf72872928..152a446687998 100644 --- a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map +++ b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map] -{"version":3,"file":"sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js","sourceRoot":"","sources":["sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.ts"],"names":[],"mappings":"AAAA;IAAA;QAAA,iBAGC;QAFU,MAAC,GAAG,EAAE,CAAC;QACP,YAAO,GAAG,cAAM,OAAA,KAAI,CAAC,CAAC,EAAN,CAAM,CAAC;IAClC,CAAC;IAAD,cAAC;AAAD,CAAC,AAHD,IAGC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIEdyZWV0ZXIgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gR3JlZXRlcigpIHsNCiAgICAgICAgdmFyIF90aGlzID0gdGhpczsNCiAgICAgICAgdGhpcy5hID0gMTA7DQogICAgICAgIHRoaXMucmV0dXJuQSA9IGZ1bmN0aW9uICgpIHsgcmV0dXJuIF90aGlzLmE7IH07DQogICAgfQ0KICAgIHJldHVybiBHcmVldGVyOw0KfSgpKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25DbGFzc1dpdGhEZWZhdWx0Q29uc3RydWN0b3JBbmRDYXB0dXJlZFRoaXNTdGF0ZW1lbnQuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3RvckFuZENhcHR1cmVkVGhpc1N0YXRlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25DbGFzc1dpdGhEZWZhdWx0Q29uc3RydWN0b3JBbmRDYXB0dXJlZFRoaXNTdGF0ZW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFBQTtRQUFBLGlCQUdDO1FBRlUsTUFBQyxHQUFHLEVBQUUsQ0FBQztRQUNQLFlBQU8sR0FBRyxjQUFNLE9BQUEsS0FBSSxDQUFDLENBQUMsRUFBTixDQUFNLENBQUM7SUFDbEMsQ0FBQztJQUFELGNBQUM7QUFBRCxDQUFDLEFBSEQsSUFHQyJ9,Y2xhc3MgR3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIHJldHVybkEgPSAoKSA9PiB0aGlzLmE7Cn0= +{"version":3,"file":"sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js","sourceRoot":"","sources":["sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.ts"],"names":[],"mappings":";AAAA;IAAA;QAAA,iBAGC;QAFU,MAAC,GAAG,EAAE,CAAC;QACP,YAAO,GAAG,cAAM,OAAA,KAAI,CAAC,CAAC,EAAN,CAAM,CAAC;IAClC,CAAC;IAAD,cAAC;AAAD,CAAC,AAHD,IAGC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIEdyZWV0ZXIgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gR3JlZXRlcigpIHsNCiAgICAgICAgdmFyIF90aGlzID0gdGhpczsNCiAgICAgICAgdGhpcy5hID0gMTA7DQogICAgICAgIHRoaXMucmV0dXJuQSA9IGZ1bmN0aW9uICgpIHsgcmV0dXJuIF90aGlzLmE7IH07DQogICAgfQ0KICAgIHJldHVybiBHcmVldGVyOw0KfSgpKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25DbGFzc1dpdGhEZWZhdWx0Q29uc3RydWN0b3JBbmRDYXB0dXJlZFRoaXNTdGF0ZW1lbnQuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3RvckFuZENhcHR1cmVkVGhpc1N0YXRlbWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25DbGFzc1dpdGhEZWZhdWx0Q29uc3RydWN0b3JBbmRDYXB0dXJlZFRoaXNTdGF0ZW1lbnQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0lBQUE7UUFBQSxpQkFHQztRQUZVLE1BQUMsR0FBRyxFQUFFLENBQUM7UUFDUCxZQUFPLEdBQUcsY0FBTSxPQUFBLEtBQUksQ0FBQyxDQUFDLEVBQU4sQ0FBTSxDQUFDO0lBQ2xDLENBQUM7SUFBRCxjQUFDO0FBQUQsQ0FBQyxBQUhELElBR0MifQ==,Y2xhc3MgR3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIHJldHVybkEgPSAoKSA9PiB0aGlzLmE7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.sourcemap.txt b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.sourcemap.txt index 09eb431f1b1bd..819132ad693ad 100644 --- a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.sourcemap.txt @@ -8,17 +8,18 @@ sources: sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement. emittedFile:sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js sourceFile:sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var Greeter = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function Greeter() { 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> var _this = this; 1->^^^^^^^^ @@ -28,8 +29,8 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatemen > public a = 10; > public returnA = () => this.a; > } -1->Emitted(3, 9) Source(1, 1) + SourceIndex(0) -2 >Emitted(3, 26) Source(4, 2) + SourceIndex(0) +1->Emitted(4, 9) Source(1, 1) + SourceIndex(0) +2 >Emitted(4, 26) Source(4, 2) + SourceIndex(0) --- >>> this.a = 10; 1 >^^^^^^^^ @@ -43,11 +44,11 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatemen 3 > = 4 > 10 5 > ; -1 >Emitted(4, 9) Source(2, 12) + SourceIndex(0) -2 >Emitted(4, 15) Source(2, 13) + SourceIndex(0) -3 >Emitted(4, 18) Source(2, 16) + SourceIndex(0) -4 >Emitted(4, 20) Source(2, 18) + SourceIndex(0) -5 >Emitted(4, 21) Source(2, 19) + SourceIndex(0) +1 >Emitted(5, 9) Source(2, 12) + SourceIndex(0) +2 >Emitted(5, 15) Source(2, 13) + SourceIndex(0) +3 >Emitted(5, 18) Source(2, 16) + SourceIndex(0) +4 >Emitted(5, 20) Source(2, 18) + SourceIndex(0) +5 >Emitted(5, 21) Source(2, 19) + SourceIndex(0) --- >>> this.returnA = function () { return _this.a; }; 1->^^^^^^^^ @@ -73,17 +74,17 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatemen 9 > 10> this.a 11> ; -1->Emitted(5, 9) Source(3, 12) + SourceIndex(0) -2 >Emitted(5, 21) Source(3, 19) + SourceIndex(0) -3 >Emitted(5, 24) Source(3, 22) + SourceIndex(0) -4 >Emitted(5, 38) Source(3, 28) + SourceIndex(0) -5 >Emitted(5, 45) Source(3, 28) + SourceIndex(0) -6 >Emitted(5, 50) Source(3, 32) + SourceIndex(0) -7 >Emitted(5, 51) Source(3, 33) + SourceIndex(0) -8 >Emitted(5, 52) Source(3, 34) + SourceIndex(0) -9 >Emitted(5, 54) Source(3, 28) + SourceIndex(0) -10>Emitted(5, 55) Source(3, 34) + SourceIndex(0) -11>Emitted(5, 56) Source(3, 35) + SourceIndex(0) +1->Emitted(6, 9) Source(3, 12) + SourceIndex(0) +2 >Emitted(6, 21) Source(3, 19) + SourceIndex(0) +3 >Emitted(6, 24) Source(3, 22) + SourceIndex(0) +4 >Emitted(6, 38) Source(3, 28) + SourceIndex(0) +5 >Emitted(6, 45) Source(3, 28) + SourceIndex(0) +6 >Emitted(6, 50) Source(3, 32) + SourceIndex(0) +7 >Emitted(6, 51) Source(3, 33) + SourceIndex(0) +8 >Emitted(6, 52) Source(3, 34) + SourceIndex(0) +9 >Emitted(6, 54) Source(3, 28) + SourceIndex(0) +10>Emitted(6, 55) Source(3, 34) + SourceIndex(0) +11>Emitted(6, 56) Source(3, 35) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -92,16 +93,16 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatemen 1 > > 2 > } -1 >Emitted(6, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(6, 6) Source(4, 2) + SourceIndex(0) +1 >Emitted(7, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(7, 6) Source(4, 2) + SourceIndex(0) --- >>> return Greeter; 1->^^^^ 2 > ^^^^^^^^^^^^^^ 1-> 2 > } -1->Emitted(7, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(7, 19) Source(4, 2) + SourceIndex(0) +1->Emitted(8, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(8, 19) Source(4, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -116,9 +117,9 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatemen > public a = 10; > public returnA = () => this.a; > } -1 >Emitted(8, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(8, 2) Source(4, 2) + SourceIndex(0) -3 >Emitted(8, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(8, 6) Source(4, 2) + SourceIndex(0) +1 >Emitted(9, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(9, 2) Source(4, 2) + SourceIndex(0) +3 >Emitted(9, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(9, 6) Source(4, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationClassWithDefaultConstructorAndCapturedThisStatement.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js index 5cd3aa467804b..1d3cab5b7494e 100644 --- a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js +++ b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js @@ -10,6 +10,7 @@ class Greeter extends AbstractGreeter { } //// [sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map index 978d87c83e953..6f2daaaa25170 100644 --- a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map +++ b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map] -{"version":3,"file":"sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js","sourceRoot":"","sources":["sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA;IAAA;IACA,CAAC;IAAD,sBAAC;AAAD,CAAC,AADD,IACC;AAED;IAAsB,2BAAe;IAArC;;QACW,OAAC,GAAG,EAAE,CAAC;QACP,WAAK,GAAG,KAAK,CAAC;;IACzB,CAAC;IAAD,cAAC;AAAD,CAAC,AAHD,CAAsB,eAAe,GAGpC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9fZXh0ZW5kcyA9ICh0aGlzICYmIHRoaXMuX19leHRlbmRzKSB8fCAoZnVuY3Rpb24gKCkgew0KICAgIHZhciBleHRlbmRTdGF0aWNzID0gZnVuY3Rpb24gKGQsIGIpIHsNCiAgICAgICAgZXh0ZW5kU3RhdGljcyA9IE9iamVjdC5zZXRQcm90b3R5cGVPZiB8fA0KICAgICAgICAgICAgKHsgX19wcm90b19fOiBbXSB9IGluc3RhbmNlb2YgQXJyYXkgJiYgZnVuY3Rpb24gKGQsIGIpIHsgZC5fX3Byb3RvX18gPSBiOyB9KSB8fA0KICAgICAgICAgICAgZnVuY3Rpb24gKGQsIGIpIHsgZm9yICh2YXIgcCBpbiBiKSBpZiAoT2JqZWN0LnByb3RvdHlwZS5oYXNPd25Qcm9wZXJ0eS5jYWxsKGIsIHApKSBkW3BdID0gYltwXTsgfTsNCiAgICAgICAgcmV0dXJuIGV4dGVuZFN0YXRpY3MoZCwgYik7DQogICAgfTsNCiAgICByZXR1cm4gZnVuY3Rpb24gKGQsIGIpIHsNCiAgICAgICAgaWYgKHR5cGVvZiBiICE9PSAiZnVuY3Rpb24iICYmIGIgIT09IG51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MubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkNsYXNzV2l0aERlZmF1bHRDb25zdHJ1Y3RvckFuZEV4dGVuZHNDbGF1c2UuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzb3VyY2VNYXBWYWxpZGF0aW9uQ2xhc3NXaXRoRGVmYXVsdENvbnN0cnVjdG9yQW5kRXh0ZW5kc0NsYXVzZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7Ozs7QUFBQTtJQUFBO0lBQ0EsQ0FBQztJQUFELHNCQUFDO0FBQUQsQ0FBQyxBQURELElBQ0M7QUFFRDtJQUFzQiwyQkFBZTtJQUFyQzs7UUFDVyxPQUFDLEdBQUcsRUFBRSxDQUFDO1FBQ1AsV0FBSyxHQUFHLEtBQUssQ0FBQzs7SUFDekIsQ0FBQztJQUFELGNBQUM7QUFBRCxDQUFDLEFBSEQsQ0FBc0IsZUFBZSxHQUdwQyJ9,Y2xhc3MgQWJzdHJhY3RHcmVldGVyIHsKfQoKY2xhc3MgR3JlZXRlciBleHRlbmRzIEFic3RyYWN0R3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIG5hbWVBID0gIlRlbiI7Cn0= +{"version":3,"file":"sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js","sourceRoot":"","sources":["sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA;IAAA;IACA,CAAC;IAAD,sBAAC;AAAD,CAAC,AADD,IACC;AAED;IAAsB,2BAAe;IAArC;;QACW,OAAC,GAAG,EAAE,CAAC;QACP,WAAK,GAAG,KAAK,CAAC;;IACzB,CAAC;IAAD,cAAC;AAAD,CAAC,AAHD,CAAsB,eAAe,GAGpC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIF9fZXh0ZW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FBRyxLQUFLLENBQUM7O0lBQ3pCLENBQUM7SUFBRCxjQUFDO0FBQUQsQ0FBQyxBQUhELENBQXNCLGVBQWUsR0FHcEMifQ==,Y2xhc3MgQWJzdHJhY3RHcmVldGVyIHsKfQoKY2xhc3MgR3JlZXRlciBleHRlbmRzIEFic3RyYWN0R3JlZXRlciB7CiAgICBwdWJsaWMgYSA9IDEwOwogICAgcHVibGljIG5hbWVBID0gIlRlbiI7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.sourcemap.txt b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.sourcemap.txt index 63e48feb6dabd..35486b302042c 100644 --- a/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationClassWithDefaultConstructorAndExtendsClause.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts emittedFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js sourceFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var __extends = (this && this.__extends) || (function () { >>> var extendStatics = function (d, b) { >>> extendStatics = Object.setPrototypeOf || @@ -27,13 +28,13 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(16, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(17, 1) Source(1, 1) + SourceIndex(0) --- >>> function AbstractGreeter() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(17, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(18, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -42,16 +43,16 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts 1->class AbstractGreeter { > 2 > } -1->Emitted(18, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(18, 6) Source(2, 2) + SourceIndex(0) +1->Emitted(19, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(19, 6) Source(2, 2) + SourceIndex(0) --- >>> return AbstractGreeter; 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^ 1-> 2 > } -1->Emitted(19, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(19, 27) Source(2, 2) + SourceIndex(0) +1->Emitted(20, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(20, 27) Source(2, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -64,10 +65,10 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts 3 > 4 > class AbstractGreeter { > } -1 >Emitted(20, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(20, 2) Source(2, 2) + SourceIndex(0) -3 >Emitted(20, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(20, 6) Source(2, 2) + SourceIndex(0) +1 >Emitted(21, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(21, 2) Source(2, 2) + SourceIndex(0) +3 >Emitted(21, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(21, 6) Source(2, 2) + SourceIndex(0) --- >>>var Greeter = /** @class */ (function (_super) { 1-> @@ -75,21 +76,21 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts 1-> > > -1->Emitted(21, 1) Source(4, 1) + SourceIndex(0) +1->Emitted(22, 1) Source(4, 1) + SourceIndex(0) --- >>> __extends(Greeter, _super); 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1->class Greeter extends 2 > AbstractGreeter -1->Emitted(22, 5) Source(4, 23) + SourceIndex(0) -2 >Emitted(22, 32) Source(4, 38) + SourceIndex(0) +1->Emitted(23, 5) Source(4, 23) + SourceIndex(0) +2 >Emitted(23, 32) Source(4, 38) + SourceIndex(0) --- >>> function Greeter() { 1 >^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(23, 5) Source(4, 1) + SourceIndex(0) +1 >Emitted(24, 5) Source(4, 1) + SourceIndex(0) --- >>> var _this = _super !== null && _super.apply(this, arguments) || this; >>> _this.a = 10; @@ -105,11 +106,11 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts 3 > = 4 > 10 5 > ; -1->Emitted(25, 9) Source(5, 12) + SourceIndex(0) -2 >Emitted(25, 16) Source(5, 13) + SourceIndex(0) -3 >Emitted(25, 19) Source(5, 16) + SourceIndex(0) -4 >Emitted(25, 21) Source(5, 18) + SourceIndex(0) -5 >Emitted(25, 22) Source(5, 19) + SourceIndex(0) +1->Emitted(26, 9) Source(5, 12) + SourceIndex(0) +2 >Emitted(26, 16) Source(5, 13) + SourceIndex(0) +3 >Emitted(26, 19) Source(5, 16) + SourceIndex(0) +4 >Emitted(26, 21) Source(5, 18) + SourceIndex(0) +5 >Emitted(26, 22) Source(5, 19) + SourceIndex(0) --- >>> _this.nameA = "Ten"; 1->^^^^^^^^ @@ -123,11 +124,11 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts 3 > = 4 > "Ten" 5 > ; -1->Emitted(26, 9) Source(6, 12) + SourceIndex(0) -2 >Emitted(26, 20) Source(6, 17) + SourceIndex(0) -3 >Emitted(26, 23) Source(6, 20) + SourceIndex(0) -4 >Emitted(26, 28) Source(6, 25) + SourceIndex(0) -5 >Emitted(26, 29) Source(6, 26) + SourceIndex(0) +1->Emitted(27, 9) Source(6, 12) + SourceIndex(0) +2 >Emitted(27, 20) Source(6, 17) + SourceIndex(0) +3 >Emitted(27, 23) Source(6, 20) + SourceIndex(0) +4 >Emitted(27, 28) Source(6, 25) + SourceIndex(0) +5 >Emitted(27, 29) Source(6, 26) + SourceIndex(0) --- >>> return _this; >>> } @@ -137,8 +138,8 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts 1 > > 2 > } -1 >Emitted(28, 5) Source(7, 1) + SourceIndex(0) -2 >Emitted(28, 6) Source(7, 2) + SourceIndex(0) +1 >Emitted(29, 5) Source(7, 1) + SourceIndex(0) +2 >Emitted(29, 6) Source(7, 2) + SourceIndex(0) --- >>> return Greeter; 1->^^^^ @@ -146,8 +147,8 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts 3 > ^^^-> 1-> 2 > } -1->Emitted(29, 5) Source(7, 1) + SourceIndex(0) -2 >Emitted(29, 19) Source(7, 2) + SourceIndex(0) +1->Emitted(30, 5) Source(7, 1) + SourceIndex(0) +2 >Emitted(30, 19) Source(7, 2) + SourceIndex(0) --- >>>}(AbstractGreeter)); 1-> @@ -166,11 +167,11 @@ sourceFile:sourceMapValidationClassWithDefaultConstructorAndExtendsClause.ts > public a = 10; > public nameA = "Ten"; > } -1->Emitted(30, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(30, 2) Source(7, 2) + SourceIndex(0) -3 >Emitted(30, 2) Source(4, 1) + SourceIndex(0) -4 >Emitted(30, 3) Source(4, 23) + SourceIndex(0) -5 >Emitted(30, 18) Source(4, 38) + SourceIndex(0) -6 >Emitted(30, 21) Source(7, 2) + SourceIndex(0) +1->Emitted(31, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(31, 2) Source(7, 2) + SourceIndex(0) +3 >Emitted(31, 2) Source(4, 1) + SourceIndex(0) +4 >Emitted(31, 3) Source(4, 23) + SourceIndex(0) +5 >Emitted(31, 18) Source(4, 38) + SourceIndex(0) +6 >Emitted(31, 21) Source(7, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationClassWithDefaultConstructorAndExtendsClause.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationClasses.js b/tests/baselines/reference/sourceMapValidationClasses.js index e0e733787b5aa..e8e688981bb6a 100644 --- a/tests/baselines/reference/sourceMapValidationClasses.js +++ b/tests/baselines/reference/sourceMapValidationClasses.js @@ -39,6 +39,7 @@ namespace Foo.Bar { } //// [sourceMapValidationClasses.js] +"use strict"; var Foo; (function (Foo) { var Bar; diff --git a/tests/baselines/reference/sourceMapValidationClasses.js.map b/tests/baselines/reference/sourceMapValidationClasses.js.map index 3417dec27e035..3454f35d303c1 100644 --- a/tests/baselines/reference/sourceMapValidationClasses.js.map +++ b/tests/baselines/reference/sourceMapValidationClasses.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationClasses.js.map] -{"version":3,"file":"sourceMapValidationClasses.js","sourceRoot":"","sources":["sourceMapValidationClasses.ts"],"names":[],"mappings":"AAAA,IAAU,GAAG,CAmCZ;AAnCD,WAAU,GAAG;IAAC,IAAA,GAAG,CAmChB;IAnCa,WAAA,GAAG;QACb,YAAY,CAAC;QAEb;YACI,iBAAmB,QAAgB;gBAAhB,aAAQ,GAAR,QAAQ,CAAQ;YACnC,CAAC;YAED,uBAAK,GAAL;gBACI,OAAO,MAAM,GAAG,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;YAC5C,CAAC;YACL,cAAC;QAAD,CAAC,AAPD,IAOC;QAGD,SAAS,GAAG,CAAC,QAAgB;YACzB,OAAO,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC;QACjC,CAAC;QAED,IAAI,OAAO,GAAG,IAAI,OAAO,CAAC,eAAe,CAAC,CAAC;QAC3C,IAAI,GAAG,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC;QAE1B,SAAS,IAAI,CAAC,QAAgB;YAAE,kBAAiB,mBAAmB,MAAU;iBAA9C,UAA8C,EAA9C,qBAA8C,EAA9C,IAA8C;gBAA9C,sCAA8C;;YAC1E,IAAI,QAAQ,GAAc,EAAE,CAAC,CAAC,0BAA0B;YACxD,QAAQ,CAAC,CAAC,CAAC,GAAG,IAAI,OAAO,CAAC,QAAQ,CAAC,CAAC;YACpC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBAC5C,QAAQ,CAAC,IAAI,CAAC,IAAI,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;YACjD,CAAC;YAED,OAAO,QAAQ,CAAC;QACpB,CAAC;QAED,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,CAAC,CAAC;QACpC,qCAAqC;QACrC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;YAChC,CAAC,CAAC,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC;QACjB,CAAC;IACL,CAAC,EAnCa,GAAG,GAAH,OAAG,KAAH,OAAG,QAmChB;AAAD,CAAC,EAnCS,GAAG,KAAH,GAAG,QAmCZ"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIEZvbzsNCihmdW5jdGlvbiAoRm9vKSB7DQogICAgdmFyIEJhcjsNCiAgICAoZnVuY3Rpb24gKEJhcikgew0KICAgICAgICAidXNlIHN0cmljdCI7DQogICAgICAgIHZhciBHcmVldGVyID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgZnVuY3Rpb24gR3JlZXRlcihncmVldGluZykgew0KICAgICAgICAgICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZzsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIEdyZWV0ZXIucHJvdG90eXBlLmdyZWV0ID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIHJldHVybiAiPGgxPiIgKyB0aGlzLmdyZWV0aW5nICsgIjwvaDE+IjsNCiAgICAgICAgICAgIH07DQogICAgICAgICAgICByZXR1cm4gR3JlZXRlcjsNCiAgICAgICAgfSgpKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nKSB7DQogICAgICAgICAgICByZXR1cm4gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOw0KICAgICAgICB9DQogICAgICAgIHZhciBncmVldGVyID0gbmV3IEdyZWV0ZXIoIkhlbGxvLCB3b3JsZCEiKTsNCiAgICAgICAgdmFyIHN0ciA9IGdyZWV0ZXIuZ3JlZXQoKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vMihncmVldGluZykgew0KICAgICAgICAgICAgdmFyIHJlc3RHcmVldGluZ3MgLyogbW9yZSBncmVldGluZyAqLyA9IFtdOw0KICAgICAgICAgICAgZm9yICh2YXIgX2kgPSAxOyBfaSA8IGFyZ3VtZW50cy5sZW5ndGg7IF9pKyspIHsNCiAgICAgICAgICAgICAgICByZXN0R3JlZXRpbmdzW19pIC0gMV0gPSBhcmd1bWVudHNbX2ldOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgdmFyIGdyZWV0ZXJzID0gW107IC8qIGlubGluZSBibG9jayBjb21tZW50ICovDQogICAgICAgICAgICBncmVldGVyc1swXSA9IG5ldyBHcmVldGVyKGdyZWV0aW5nKTsNCiAgICAgICAgICAgIGZvciAodmFyIGkgPSAwOyBpIDwgcmVzdEdyZWV0aW5ncy5sZW5ndGg7IGkrKykgew0KICAgICAgICAgICAgICAgIGdyZWV0ZXJzLnB1c2gobmV3IEdyZWV0ZXIocmVzdEdyZWV0aW5nc1tpXSkpOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgcmV0dXJuIGdyZWV0ZXJzOw0KICAgICAgICB9DQogICAgICAgIHZhciBiID0gZm9vMigiSGVsbG8iLCAiV29ybGQiLCAiISIpOw0KICAgICAgICAvLyBUaGlzIGlzIHNpbXBsZSBzaWdubGUgbGluZSBjb21tZW50DQogICAgICAgIGZvciAodmFyIGogPSAwOyBqIDwgYi5sZW5ndGg7IGorKykgew0KICAgICAgICAgICAgYltqXS5ncmVldCgpOw0KICAgICAgICB9DQogICAgfSkoQmFyID0gRm9vLkJhciB8fCAoRm9vLkJhciA9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gogICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nOiBzdHJpbmcpOiBHcmVldGVyIHsKICAgICAgICByZXR1cm4gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOwogICAgfQoKICAgIHZhciBncmVldGVyID0gbmV3IEdyZWV0ZXIoIkhlbGxvLCB3b3JsZCEiKTsKICAgIHZhciBzdHIgPSBncmVldGVyLmdyZWV0KCk7CgogICAgZnVuY3Rpb24gZm9vMihncmVldGluZzogc3RyaW5nLCAuLi5yZXN0R3JlZXRpbmdzIC8qIG1vcmUgZ3JlZXRpbmcgKi86IHN0cmluZ1tdKSB7CiAgICAgICAgdmFyIGdyZWV0ZXJzOiBHcmVldGVyW10gPSBbXTsgLyogaW5saW5lIGJsb2NrIGNvbW1lbnQgKi8KICAgICAgICBncmVldGVyc1swXSA9IG5ldyBHcmVldGVyKGdyZWV0aW5nKTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IHJlc3RHcmVldGluZ3MubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgZ3JlZXRlcnMucHVzaChuZXcgR3JlZXRlcihyZXN0R3JlZXRpbmdzW2ldKSk7CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZ3JlZXRlcnM7CiAgICB9CgogICAgdmFyIGIgPSBmb28yKCJIZWxsbyIsICJXb3JsZCIsICIhIik7CiAgICAvLyBUaGlzIGlzIHNpbXBsZSBzaWdubGUgbGluZSBjb21tZW50CiAgICBmb3IgKHZhciBqID0gMDsgaiA8IGIubGVuZ3RoOyBqKyspIHsKICAgICAgICBiW2pdLmdyZWV0KCk7CiAgICB9Cn0= +{"version":3,"file":"sourceMapValidationClasses.js","sourceRoot":"","sources":["sourceMapValidationClasses.ts"],"names":[],"mappings":";AAAA,IAAU,GAAG,CAmCZ;AAnCD,WAAU,GAAG;IAAC,IAAA,GAAG,CAmChB;IAnCa,WAAA,GAAG;QACb,YAAY,CAAC;QAEb;YACI,iBAAmB,QAAgB;gBAAhB,aAAQ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://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIEZvbzsNCihmdW5jdGlvbiAoRm9vKSB7DQogICAgdmFyIEJhcjsNCiAgICAoZnVuY3Rpb24gKEJhcikgew0KICAgICAgICAidXNlIHN0cmljdCI7DQogICAgICAgIHZhciBHcmVldGVyID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgZnVuY3Rpb24gR3JlZXRlcihncmVldGluZykgew0KICAgICAgICAgICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZzsNCiAgICAgICAgICAgIH0NCiAgICAgICAgICAgIEdyZWV0ZXIucHJvdG90eXBlLmdyZWV0ID0gZnVuY3Rpb24gKCkgew0KICAgICAgICAgICAgICAgIHJldHVybiAiPGgxPiIgKyB0aGlzLmdyZWV0aW5nICsgIjwvaDE+IjsNCiAgICAgICAgICAgIH07DQogICAgICAgICAgICByZXR1cm4gR3JlZXRlcjsNCiAgICAgICAgfSgpKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vKGdyZWV0aW5nKSB7DQogICAgICAgICAgICByZXR1cm4gbmV3IEdyZWV0ZXIoZ3JlZXRpbmcpOw0KICAgICAgICB9DQogICAgICAgIHZhciBncmVldGVyID0gbmV3IEdyZWV0ZXIoIkhlbGxvLCB3b3JsZCEiKTsNCiAgICAgICAgdmFyIHN0ciA9IGdyZWV0ZXIuZ3JlZXQoKTsNCiAgICAgICAgZnVuY3Rpb24gZm9vMihncmVldGluZykgew0KICAgICAgICAgICAgdmFyIHJlc3RHcmVldGluZ3MgLyogbW9yZSBncmVldGluZyAqLyA9IFtdOw0KICAgICAgICAgICAgZm9yICh2YXIgX2kgPSAxOyBfaSA8IGFyZ3VtZW50cy5sZW5ndGg7IF9pKyspIHsNCiAgICAgICAgICAgICAgICByZXN0R3JlZXRpbmdzW19pIC0gMV0gPSBhcmd1bWVudHNbX2ldOw0KICAgICAgICAgICAgfQ0KICAgICAgICAgICAgd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nKTsKICAgICAgICBmb3IgKHZhciBpID0gMDsgaSA8IHJlc3RHcmVldGluZ3MubGVuZ3RoOyBpKyspIHsKICAgICAgICAgICAgZ3JlZXRlcnMucHVzaChuZXcgR3JlZXRlcihyZXN0R3JlZXRpbmdzW2ldKSk7CiAgICAgICAgfQoKICAgICAgICByZXR1cm4gZ3JlZXRlcnM7CiAgICB9CgogICAgdmFyIGIgPSBmb28yKCJIZWxsbyIsICJXb3JsZCIsICIhIik7CiAgICAvLyBUaGlzIGlzIHNpbXBsZSBzaWdubGUgbGluZSBjb21tZW50CiAgICBmb3IgKHZhciBqID0gMDsgaiA8IGIubGVuZ3RoOyBqKyspIHsKICAgICAgICBiW2pdLmdyZWV0KCk7CiAgICB9Cn0= diff --git a/tests/baselines/reference/sourceMapValidationClasses.sourcemap.txt b/tests/baselines/reference/sourceMapValidationClasses.sourcemap.txt index 9e9773825336a..c6859bddae29a 100644 --- a/tests/baselines/reference/sourceMapValidationClasses.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationClasses.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationClasses.ts emittedFile:sourceMapValidationClasses.js sourceFile:sourceMapValidationClasses.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var Foo; 1 > 2 >^^^^ @@ -53,10 +54,10 @@ sourceFile:sourceMapValidationClasses.ts > b[j].greet(); > } > } -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 11) + SourceIndex(0) -3 >Emitted(1, 8) Source(1, 14) + SourceIndex(0) -4 >Emitted(1, 9) Source(36, 2) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 11) + SourceIndex(0) +3 >Emitted(2, 8) Source(1, 14) + SourceIndex(0) +4 >Emitted(2, 9) Source(36, 2) + SourceIndex(0) --- >>>(function (Foo) { 1-> @@ -65,9 +66,9 @@ sourceFile:sourceMapValidationClasses.ts 1-> 2 >namespace 3 > Foo -1->Emitted(2, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(2, 12) Source(1, 11) + SourceIndex(0) -3 >Emitted(2, 15) Source(1, 14) + SourceIndex(0) +1->Emitted(3, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(3, 12) Source(1, 11) + SourceIndex(0) +3 >Emitted(3, 15) Source(1, 14) + SourceIndex(0) --- >>> var Bar; 1 >^^^^ @@ -114,10 +115,10 @@ sourceFile:sourceMapValidationClasses.ts > b[j].greet(); > } > } -1 >Emitted(3, 5) Source(1, 15) + SourceIndex(0) -2 >Emitted(3, 9) Source(1, 15) + SourceIndex(0) -3 >Emitted(3, 12) Source(1, 18) + SourceIndex(0) -4 >Emitted(3, 13) Source(36, 2) + SourceIndex(0) +1 >Emitted(4, 5) Source(1, 15) + SourceIndex(0) +2 >Emitted(4, 9) Source(1, 15) + SourceIndex(0) +3 >Emitted(4, 12) Source(1, 18) + SourceIndex(0) +4 >Emitted(4, 13) Source(36, 2) + SourceIndex(0) --- >>> (function (Bar) { 1->^^^^ @@ -127,9 +128,9 @@ sourceFile:sourceMapValidationClasses.ts 1-> 2 > 3 > Bar -1->Emitted(4, 5) Source(1, 15) + SourceIndex(0) -2 >Emitted(4, 16) Source(1, 15) + SourceIndex(0) -3 >Emitted(4, 19) Source(1, 18) + SourceIndex(0) +1->Emitted(5, 5) Source(1, 15) + SourceIndex(0) +2 >Emitted(5, 16) Source(1, 15) + SourceIndex(0) +3 >Emitted(5, 19) Source(1, 18) + SourceIndex(0) --- >>> "use strict"; 1->^^^^^^^^ @@ -140,9 +141,9 @@ sourceFile:sourceMapValidationClasses.ts > 2 > "use strict" 3 > ; -1->Emitted(5, 9) Source(2, 5) + SourceIndex(0) -2 >Emitted(5, 21) Source(2, 17) + SourceIndex(0) -3 >Emitted(5, 22) Source(2, 18) + SourceIndex(0) +1->Emitted(6, 9) Source(2, 5) + SourceIndex(0) +2 >Emitted(6, 21) Source(2, 17) + SourceIndex(0) +3 >Emitted(6, 22) Source(2, 18) + SourceIndex(0) --- >>> var Greeter = /** @class */ (function () { 1->^^^^^^^^ @@ -150,7 +151,7 @@ sourceFile:sourceMapValidationClasses.ts 1-> > > -1->Emitted(6, 9) Source(4, 5) + SourceIndex(0) +1->Emitted(7, 9) Source(4, 5) + SourceIndex(0) --- >>> function Greeter(greeting) { 1->^^^^^^^^^^^^ @@ -161,9 +162,9 @@ sourceFile:sourceMapValidationClasses.ts > 2 > constructor(public 3 > greeting: string -1->Emitted(7, 13) Source(5, 9) + SourceIndex(0) -2 >Emitted(7, 30) Source(5, 28) + SourceIndex(0) -3 >Emitted(7, 38) Source(5, 44) + SourceIndex(0) +1->Emitted(8, 13) Source(5, 9) + SourceIndex(0) +2 >Emitted(8, 30) Source(5, 28) + SourceIndex(0) +3 >Emitted(8, 38) Source(5, 44) + SourceIndex(0) --- >>> this.greeting = greeting; 1->^^^^^^^^^^^^^^^^ @@ -176,11 +177,11 @@ sourceFile:sourceMapValidationClasses.ts 3 > 4 > greeting 5 > : string -1->Emitted(8, 17) Source(5, 28) + SourceIndex(0) -2 >Emitted(8, 30) Source(5, 36) + SourceIndex(0) -3 >Emitted(8, 33) Source(5, 28) + SourceIndex(0) -4 >Emitted(8, 41) Source(5, 36) + SourceIndex(0) -5 >Emitted(8, 42) Source(5, 44) + SourceIndex(0) +1->Emitted(9, 17) Source(5, 28) + SourceIndex(0) +2 >Emitted(9, 30) Source(5, 36) + SourceIndex(0) +3 >Emitted(9, 33) Source(5, 28) + SourceIndex(0) +4 >Emitted(9, 41) Source(5, 36) + SourceIndex(0) +5 >Emitted(9, 42) Source(5, 44) + SourceIndex(0) --- >>> } 1 >^^^^^^^^^^^^ @@ -189,8 +190,8 @@ sourceFile:sourceMapValidationClasses.ts 1 >) { > 2 > } -1 >Emitted(9, 13) Source(6, 9) + SourceIndex(0) -2 >Emitted(9, 14) Source(6, 10) + SourceIndex(0) +1 >Emitted(10, 13) Source(6, 9) + SourceIndex(0) +2 >Emitted(10, 14) Source(6, 10) + SourceIndex(0) --- >>> Greeter.prototype.greet = function () { 1->^^^^^^^^^^^^ @@ -202,9 +203,9 @@ sourceFile:sourceMapValidationClasses.ts > 2 > greet 3 > -1->Emitted(10, 13) Source(8, 9) + SourceIndex(0) -2 >Emitted(10, 36) Source(8, 14) + SourceIndex(0) -3 >Emitted(10, 39) Source(8, 9) + SourceIndex(0) +1->Emitted(11, 13) Source(8, 9) + SourceIndex(0) +2 >Emitted(11, 36) Source(8, 14) + SourceIndex(0) +3 >Emitted(11, 39) Source(8, 9) + SourceIndex(0) --- >>> return "

" + this.greeting + "

"; 1->^^^^^^^^^^^^^^^^ @@ -228,16 +229,16 @@ sourceFile:sourceMapValidationClasses.ts 8 > + 9 > "" 10> ; -1->Emitted(11, 17) Source(9, 13) + SourceIndex(0) -2 >Emitted(11, 24) Source(9, 20) + SourceIndex(0) -3 >Emitted(11, 30) Source(9, 26) + SourceIndex(0) -4 >Emitted(11, 33) Source(9, 29) + SourceIndex(0) -5 >Emitted(11, 37) Source(9, 33) + SourceIndex(0) -6 >Emitted(11, 38) Source(9, 34) + SourceIndex(0) -7 >Emitted(11, 46) Source(9, 42) + SourceIndex(0) -8 >Emitted(11, 49) Source(9, 45) + SourceIndex(0) -9 >Emitted(11, 56) Source(9, 52) + SourceIndex(0) -10>Emitted(11, 57) Source(9, 53) + SourceIndex(0) +1->Emitted(12, 17) Source(9, 13) + SourceIndex(0) +2 >Emitted(12, 24) Source(9, 20) + SourceIndex(0) +3 >Emitted(12, 30) Source(9, 26) + SourceIndex(0) +4 >Emitted(12, 33) Source(9, 29) + SourceIndex(0) +5 >Emitted(12, 37) Source(9, 33) + SourceIndex(0) +6 >Emitted(12, 38) Source(9, 34) + SourceIndex(0) +7 >Emitted(12, 46) Source(9, 42) + SourceIndex(0) +8 >Emitted(12, 49) Source(9, 45) + SourceIndex(0) +9 >Emitted(12, 56) Source(9, 52) + SourceIndex(0) +10>Emitted(12, 57) Source(9, 53) + SourceIndex(0) --- >>> }; 1 >^^^^^^^^^^^^ @@ -246,8 +247,8 @@ sourceFile:sourceMapValidationClasses.ts 1 > > 2 > } -1 >Emitted(12, 13) Source(10, 9) + SourceIndex(0) -2 >Emitted(12, 14) Source(10, 10) + SourceIndex(0) +1 >Emitted(13, 13) Source(10, 9) + SourceIndex(0) +2 >Emitted(13, 14) Source(10, 10) + SourceIndex(0) --- >>> return Greeter; 1->^^^^^^^^^^^^ @@ -255,8 +256,8 @@ sourceFile:sourceMapValidationClasses.ts 1-> > 2 > } -1->Emitted(13, 13) Source(11, 5) + SourceIndex(0) -2 >Emitted(13, 27) Source(11, 6) + SourceIndex(0) +1->Emitted(14, 13) Source(11, 5) + SourceIndex(0) +2 >Emitted(14, 27) Source(11, 6) + SourceIndex(0) --- >>> }()); 1 >^^^^^^^^ @@ -275,10 +276,10 @@ sourceFile:sourceMapValidationClasses.ts > return "

" + this.greeting + "

"; > } > } -1 >Emitted(14, 9) Source(11, 5) + SourceIndex(0) -2 >Emitted(14, 10) Source(11, 6) + SourceIndex(0) -3 >Emitted(14, 10) Source(4, 5) + SourceIndex(0) -4 >Emitted(14, 14) Source(11, 6) + SourceIndex(0) +1 >Emitted(15, 9) Source(11, 5) + SourceIndex(0) +2 >Emitted(15, 10) Source(11, 6) + SourceIndex(0) +3 >Emitted(15, 10) Source(4, 5) + SourceIndex(0) +4 >Emitted(15, 14) Source(11, 6) + SourceIndex(0) --- >>> function foo(greeting) { 1->^^^^^^^^ @@ -295,11 +296,11 @@ sourceFile:sourceMapValidationClasses.ts 3 > foo 4 > ( 5 > greeting: string -1->Emitted(15, 9) Source(14, 5) + SourceIndex(0) -2 >Emitted(15, 18) Source(14, 14) + SourceIndex(0) -3 >Emitted(15, 21) Source(14, 17) + SourceIndex(0) -4 >Emitted(15, 22) Source(14, 18) + SourceIndex(0) -5 >Emitted(15, 30) Source(14, 34) + SourceIndex(0) +1->Emitted(16, 9) Source(14, 5) + SourceIndex(0) +2 >Emitted(16, 18) Source(14, 14) + SourceIndex(0) +3 >Emitted(16, 21) Source(14, 17) + SourceIndex(0) +4 >Emitted(16, 22) Source(14, 18) + SourceIndex(0) +5 >Emitted(16, 30) Source(14, 34) + SourceIndex(0) --- >>> return new Greeter(greeting); 1->^^^^^^^^^^^^ @@ -319,14 +320,14 @@ sourceFile:sourceMapValidationClasses.ts 6 > greeting 7 > ) 8 > ; -1->Emitted(16, 13) Source(15, 9) + SourceIndex(0) -2 >Emitted(16, 20) Source(15, 16) + SourceIndex(0) -3 >Emitted(16, 24) Source(15, 20) + SourceIndex(0) -4 >Emitted(16, 31) Source(15, 27) + SourceIndex(0) -5 >Emitted(16, 32) Source(15, 28) + SourceIndex(0) -6 >Emitted(16, 40) Source(15, 36) + SourceIndex(0) -7 >Emitted(16, 41) Source(15, 37) + SourceIndex(0) -8 >Emitted(16, 42) Source(15, 38) + SourceIndex(0) +1->Emitted(17, 13) Source(15, 9) + SourceIndex(0) +2 >Emitted(17, 20) Source(15, 16) + SourceIndex(0) +3 >Emitted(17, 24) Source(15, 20) + SourceIndex(0) +4 >Emitted(17, 31) Source(15, 27) + SourceIndex(0) +5 >Emitted(17, 32) Source(15, 28) + SourceIndex(0) +6 >Emitted(17, 40) Source(15, 36) + SourceIndex(0) +7 >Emitted(17, 41) Source(15, 37) + SourceIndex(0) +8 >Emitted(17, 42) Source(15, 38) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -335,8 +336,8 @@ sourceFile:sourceMapValidationClasses.ts 1 > > 2 > } -1 >Emitted(17, 9) Source(16, 5) + SourceIndex(0) -2 >Emitted(17, 10) Source(16, 6) + SourceIndex(0) +1 >Emitted(18, 9) Source(16, 5) + SourceIndex(0) +2 >Emitted(18, 10) Source(16, 6) + SourceIndex(0) --- >>> var greeter = new Greeter("Hello, world!"); 1->^^^^^^^^ @@ -361,16 +362,16 @@ sourceFile:sourceMapValidationClasses.ts 8 > "Hello, world!" 9 > ) 10> ; -1->Emitted(18, 9) Source(18, 5) + SourceIndex(0) -2 >Emitted(18, 13) Source(18, 9) + SourceIndex(0) -3 >Emitted(18, 20) Source(18, 16) + SourceIndex(0) -4 >Emitted(18, 23) Source(18, 19) + SourceIndex(0) -5 >Emitted(18, 27) Source(18, 23) + SourceIndex(0) -6 >Emitted(18, 34) Source(18, 30) + SourceIndex(0) -7 >Emitted(18, 35) Source(18, 31) + SourceIndex(0) -8 >Emitted(18, 50) Source(18, 46) + SourceIndex(0) -9 >Emitted(18, 51) Source(18, 47) + SourceIndex(0) -10>Emitted(18, 52) Source(18, 48) + SourceIndex(0) +1->Emitted(19, 9) Source(18, 5) + SourceIndex(0) +2 >Emitted(19, 13) Source(18, 9) + SourceIndex(0) +3 >Emitted(19, 20) Source(18, 16) + SourceIndex(0) +4 >Emitted(19, 23) Source(18, 19) + SourceIndex(0) +5 >Emitted(19, 27) Source(18, 23) + SourceIndex(0) +6 >Emitted(19, 34) Source(18, 30) + SourceIndex(0) +7 >Emitted(19, 35) Source(18, 31) + SourceIndex(0) +8 >Emitted(19, 50) Source(18, 46) + SourceIndex(0) +9 >Emitted(19, 51) Source(18, 47) + SourceIndex(0) +10>Emitted(19, 52) Source(18, 48) + SourceIndex(0) --- >>> var str = greeter.greet(); 1 >^^^^^^^^ @@ -392,15 +393,15 @@ sourceFile:sourceMapValidationClasses.ts 7 > greet 8 > () 9 > ; -1 >Emitted(19, 9) Source(19, 5) + SourceIndex(0) -2 >Emitted(19, 13) Source(19, 9) + SourceIndex(0) -3 >Emitted(19, 16) Source(19, 12) + SourceIndex(0) -4 >Emitted(19, 19) Source(19, 15) + SourceIndex(0) -5 >Emitted(19, 26) Source(19, 22) + SourceIndex(0) -6 >Emitted(19, 27) Source(19, 23) + SourceIndex(0) -7 >Emitted(19, 32) Source(19, 28) + SourceIndex(0) -8 >Emitted(19, 34) Source(19, 30) + SourceIndex(0) -9 >Emitted(19, 35) Source(19, 31) + SourceIndex(0) +1 >Emitted(20, 9) Source(19, 5) + SourceIndex(0) +2 >Emitted(20, 13) Source(19, 9) + SourceIndex(0) +3 >Emitted(20, 16) Source(19, 12) + SourceIndex(0) +4 >Emitted(20, 19) Source(19, 15) + SourceIndex(0) +5 >Emitted(20, 26) Source(19, 22) + SourceIndex(0) +6 >Emitted(20, 27) Source(19, 23) + SourceIndex(0) +7 >Emitted(20, 32) Source(19, 28) + SourceIndex(0) +8 >Emitted(20, 34) Source(19, 30) + SourceIndex(0) +9 >Emitted(20, 35) Source(19, 31) + SourceIndex(0) --- >>> function foo2(greeting) { 1 >^^^^^^^^ @@ -416,11 +417,11 @@ sourceFile:sourceMapValidationClasses.ts 3 > foo2 4 > ( 5 > greeting: string -1 >Emitted(20, 9) Source(21, 5) + SourceIndex(0) -2 >Emitted(20, 18) Source(21, 14) + SourceIndex(0) -3 >Emitted(20, 22) Source(21, 18) + SourceIndex(0) -4 >Emitted(20, 23) Source(21, 19) + SourceIndex(0) -5 >Emitted(20, 31) Source(21, 35) + SourceIndex(0) +1 >Emitted(21, 9) Source(21, 5) + SourceIndex(0) +2 >Emitted(21, 18) Source(21, 14) + SourceIndex(0) +3 >Emitted(21, 22) Source(21, 18) + SourceIndex(0) +4 >Emitted(21, 23) Source(21, 19) + SourceIndex(0) +5 >Emitted(21, 31) Source(21, 35) + SourceIndex(0) --- >>> var restGreetings /* more greeting */ = []; 1->^^^^^^^^^^^^ @@ -432,10 +433,10 @@ sourceFile:sourceMapValidationClasses.ts 2 > ...restGreetings 3 > /* more greeting */ 4 > : string[] -1->Emitted(21, 13) Source(21, 37) + SourceIndex(0) -2 >Emitted(21, 31) Source(21, 54) + SourceIndex(0) -3 >Emitted(21, 50) Source(21, 73) + SourceIndex(0) -4 >Emitted(21, 56) Source(21, 83) + SourceIndex(0) +1->Emitted(22, 13) Source(21, 37) + SourceIndex(0) +2 >Emitted(22, 31) Source(21, 54) + SourceIndex(0) +3 >Emitted(22, 50) Source(21, 73) + SourceIndex(0) +4 >Emitted(22, 56) Source(21, 83) + SourceIndex(0) --- >>> for (var _i = 1; _i < arguments.length; _i++) { 1->^^^^^^^^^^^^^^^^^ @@ -450,20 +451,20 @@ sourceFile:sourceMapValidationClasses.ts 4 > ...restGreetings /* more greeting */: string[] 5 > 6 > ...restGreetings /* more greeting */: string[] -1->Emitted(22, 18) Source(21, 37) + SourceIndex(0) -2 >Emitted(22, 28) Source(21, 83) + SourceIndex(0) -3 >Emitted(22, 30) Source(21, 37) + SourceIndex(0) -4 >Emitted(22, 51) Source(21, 83) + SourceIndex(0) -5 >Emitted(22, 53) Source(21, 37) + SourceIndex(0) -6 >Emitted(22, 57) Source(21, 83) + SourceIndex(0) +1->Emitted(23, 18) Source(21, 37) + SourceIndex(0) +2 >Emitted(23, 28) Source(21, 83) + SourceIndex(0) +3 >Emitted(23, 30) Source(21, 37) + SourceIndex(0) +4 >Emitted(23, 51) Source(21, 83) + SourceIndex(0) +5 >Emitted(23, 53) Source(21, 37) + SourceIndex(0) +6 >Emitted(23, 57) Source(21, 83) + SourceIndex(0) --- >>> restGreetings[_i - 1] = arguments[_i]; 1 >^^^^^^^^^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 > ...restGreetings /* more greeting */: string[] -1 >Emitted(23, 17) Source(21, 37) + SourceIndex(0) -2 >Emitted(23, 55) Source(21, 83) + SourceIndex(0) +1 >Emitted(24, 17) Source(21, 37) + SourceIndex(0) +2 >Emitted(24, 55) Source(21, 83) + SourceIndex(0) --- >>> } >>> var greeters = []; /* inline block comment */ @@ -484,14 +485,14 @@ sourceFile:sourceMapValidationClasses.ts 6 > ; 7 > 8 > /* inline block comment */ -1 >Emitted(25, 13) Source(22, 9) + SourceIndex(0) -2 >Emitted(25, 17) Source(22, 13) + SourceIndex(0) -3 >Emitted(25, 25) Source(22, 21) + SourceIndex(0) -4 >Emitted(25, 28) Source(22, 35) + SourceIndex(0) -5 >Emitted(25, 30) Source(22, 37) + SourceIndex(0) -6 >Emitted(25, 31) Source(22, 38) + SourceIndex(0) -7 >Emitted(25, 32) Source(22, 39) + SourceIndex(0) -8 >Emitted(25, 58) Source(22, 65) + SourceIndex(0) +1 >Emitted(26, 13) Source(22, 9) + SourceIndex(0) +2 >Emitted(26, 17) Source(22, 13) + SourceIndex(0) +3 >Emitted(26, 25) Source(22, 21) + SourceIndex(0) +4 >Emitted(26, 28) Source(22, 35) + SourceIndex(0) +5 >Emitted(26, 30) Source(22, 37) + SourceIndex(0) +6 >Emitted(26, 31) Source(22, 38) + SourceIndex(0) +7 >Emitted(26, 32) Source(22, 39) + SourceIndex(0) +8 >Emitted(26, 58) Source(22, 65) + SourceIndex(0) --- >>> greeters[0] = new Greeter(greeting); 1 >^^^^^^^^^^^^ @@ -520,18 +521,18 @@ sourceFile:sourceMapValidationClasses.ts 10> greeting 11> ) 12> ; -1 >Emitted(26, 13) Source(23, 9) + SourceIndex(0) -2 >Emitted(26, 21) Source(23, 17) + SourceIndex(0) -3 >Emitted(26, 22) Source(23, 18) + SourceIndex(0) -4 >Emitted(26, 23) Source(23, 19) + SourceIndex(0) -5 >Emitted(26, 24) Source(23, 20) + SourceIndex(0) -6 >Emitted(26, 27) Source(23, 23) + SourceIndex(0) -7 >Emitted(26, 31) Source(23, 27) + SourceIndex(0) -8 >Emitted(26, 38) Source(23, 34) + SourceIndex(0) -9 >Emitted(26, 39) Source(23, 35) + SourceIndex(0) -10>Emitted(26, 47) Source(23, 43) + SourceIndex(0) -11>Emitted(26, 48) Source(23, 44) + SourceIndex(0) -12>Emitted(26, 49) Source(23, 45) + SourceIndex(0) +1 >Emitted(27, 13) Source(23, 9) + SourceIndex(0) +2 >Emitted(27, 21) Source(23, 17) + SourceIndex(0) +3 >Emitted(27, 22) Source(23, 18) + SourceIndex(0) +4 >Emitted(27, 23) Source(23, 19) + SourceIndex(0) +5 >Emitted(27, 24) Source(23, 20) + SourceIndex(0) +6 >Emitted(27, 27) Source(23, 23) + SourceIndex(0) +7 >Emitted(27, 31) Source(23, 27) + SourceIndex(0) +8 >Emitted(27, 38) Source(23, 34) + SourceIndex(0) +9 >Emitted(27, 39) Source(23, 35) + SourceIndex(0) +10>Emitted(27, 47) Source(23, 43) + SourceIndex(0) +11>Emitted(27, 48) Source(23, 44) + SourceIndex(0) +12>Emitted(27, 49) Source(23, 45) + SourceIndex(0) --- >>> for (var i = 0; i < restGreetings.length; i++) { 1->^^^^^^^^^^^^ @@ -570,23 +571,23 @@ sourceFile:sourceMapValidationClasses.ts 15> ++ 16> ) 17> { -1->Emitted(27, 13) Source(24, 9) + SourceIndex(0) -2 >Emitted(27, 18) Source(24, 14) + SourceIndex(0) -3 >Emitted(27, 22) Source(24, 18) + SourceIndex(0) -4 >Emitted(27, 23) Source(24, 19) + SourceIndex(0) -5 >Emitted(27, 26) Source(24, 22) + SourceIndex(0) -6 >Emitted(27, 27) Source(24, 23) + SourceIndex(0) -7 >Emitted(27, 29) Source(24, 25) + SourceIndex(0) -8 >Emitted(27, 30) Source(24, 26) + SourceIndex(0) -9 >Emitted(27, 33) Source(24, 29) + SourceIndex(0) -10>Emitted(27, 46) Source(24, 42) + SourceIndex(0) -11>Emitted(27, 47) Source(24, 43) + SourceIndex(0) -12>Emitted(27, 53) Source(24, 49) + SourceIndex(0) -13>Emitted(27, 55) Source(24, 51) + SourceIndex(0) -14>Emitted(27, 56) Source(24, 52) + SourceIndex(0) -15>Emitted(27, 58) Source(24, 54) + SourceIndex(0) -16>Emitted(27, 60) Source(24, 56) + SourceIndex(0) -17>Emitted(27, 61) Source(24, 57) + SourceIndex(0) +1->Emitted(28, 13) Source(24, 9) + SourceIndex(0) +2 >Emitted(28, 18) Source(24, 14) + SourceIndex(0) +3 >Emitted(28, 22) Source(24, 18) + SourceIndex(0) +4 >Emitted(28, 23) Source(24, 19) + SourceIndex(0) +5 >Emitted(28, 26) Source(24, 22) + SourceIndex(0) +6 >Emitted(28, 27) Source(24, 23) + SourceIndex(0) +7 >Emitted(28, 29) Source(24, 25) + SourceIndex(0) +8 >Emitted(28, 30) Source(24, 26) + SourceIndex(0) +9 >Emitted(28, 33) Source(24, 29) + SourceIndex(0) +10>Emitted(28, 46) Source(24, 42) + SourceIndex(0) +11>Emitted(28, 47) Source(24, 43) + SourceIndex(0) +12>Emitted(28, 53) Source(24, 49) + SourceIndex(0) +13>Emitted(28, 55) Source(24, 51) + SourceIndex(0) +14>Emitted(28, 56) Source(24, 52) + SourceIndex(0) +15>Emitted(28, 58) Source(24, 54) + SourceIndex(0) +16>Emitted(28, 60) Source(24, 56) + SourceIndex(0) +17>Emitted(28, 61) Source(24, 57) + SourceIndex(0) --- >>> greeters.push(new Greeter(restGreetings[i])); 1->^^^^^^^^^^^^^^^^ @@ -620,21 +621,21 @@ sourceFile:sourceMapValidationClasses.ts 13> ) 14> ) 15> ; -1->Emitted(28, 17) Source(25, 13) + SourceIndex(0) -2 >Emitted(28, 25) Source(25, 21) + SourceIndex(0) -3 >Emitted(28, 26) Source(25, 22) + SourceIndex(0) -4 >Emitted(28, 30) Source(25, 26) + SourceIndex(0) -5 >Emitted(28, 31) Source(25, 27) + SourceIndex(0) -6 >Emitted(28, 35) Source(25, 31) + SourceIndex(0) -7 >Emitted(28, 42) Source(25, 38) + SourceIndex(0) -8 >Emitted(28, 43) Source(25, 39) + SourceIndex(0) -9 >Emitted(28, 56) Source(25, 52) + SourceIndex(0) -10>Emitted(28, 57) Source(25, 53) + SourceIndex(0) -11>Emitted(28, 58) Source(25, 54) + SourceIndex(0) -12>Emitted(28, 59) Source(25, 55) + SourceIndex(0) -13>Emitted(28, 60) Source(25, 56) + SourceIndex(0) -14>Emitted(28, 61) Source(25, 57) + SourceIndex(0) -15>Emitted(28, 62) Source(25, 58) + SourceIndex(0) +1->Emitted(29, 17) Source(25, 13) + SourceIndex(0) +2 >Emitted(29, 25) Source(25, 21) + SourceIndex(0) +3 >Emitted(29, 26) Source(25, 22) + SourceIndex(0) +4 >Emitted(29, 30) Source(25, 26) + SourceIndex(0) +5 >Emitted(29, 31) Source(25, 27) + SourceIndex(0) +6 >Emitted(29, 35) Source(25, 31) + SourceIndex(0) +7 >Emitted(29, 42) Source(25, 38) + SourceIndex(0) +8 >Emitted(29, 43) Source(25, 39) + SourceIndex(0) +9 >Emitted(29, 56) Source(25, 52) + SourceIndex(0) +10>Emitted(29, 57) Source(25, 53) + SourceIndex(0) +11>Emitted(29, 58) Source(25, 54) + SourceIndex(0) +12>Emitted(29, 59) Source(25, 55) + SourceIndex(0) +13>Emitted(29, 60) Source(25, 56) + SourceIndex(0) +14>Emitted(29, 61) Source(25, 57) + SourceIndex(0) +15>Emitted(29, 62) Source(25, 58) + SourceIndex(0) --- >>> } 1 >^^^^^^^^^^^^ @@ -643,8 +644,8 @@ sourceFile:sourceMapValidationClasses.ts 1 > > 2 > } -1 >Emitted(29, 13) Source(26, 9) + SourceIndex(0) -2 >Emitted(29, 14) Source(26, 10) + SourceIndex(0) +1 >Emitted(30, 13) Source(26, 9) + SourceIndex(0) +2 >Emitted(30, 14) Source(26, 10) + SourceIndex(0) --- >>> return greeters; 1->^^^^^^^^^^^^ @@ -657,10 +658,10 @@ sourceFile:sourceMapValidationClasses.ts 2 > return 3 > greeters 4 > ; -1->Emitted(30, 13) Source(28, 9) + SourceIndex(0) -2 >Emitted(30, 20) Source(28, 16) + SourceIndex(0) -3 >Emitted(30, 28) Source(28, 24) + SourceIndex(0) -4 >Emitted(30, 29) Source(28, 25) + SourceIndex(0) +1->Emitted(31, 13) Source(28, 9) + SourceIndex(0) +2 >Emitted(31, 20) Source(28, 16) + SourceIndex(0) +3 >Emitted(31, 28) Source(28, 24) + SourceIndex(0) +4 >Emitted(31, 29) Source(28, 25) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -669,8 +670,8 @@ sourceFile:sourceMapValidationClasses.ts 1 > > 2 > } -1 >Emitted(31, 9) Source(29, 5) + SourceIndex(0) -2 >Emitted(31, 10) Source(29, 6) + SourceIndex(0) +1 >Emitted(32, 9) Source(29, 5) + SourceIndex(0) +2 >Emitted(32, 10) Source(29, 6) + SourceIndex(0) --- >>> var b = foo2("Hello", "World", "!"); 1->^^^^^^^^ @@ -702,19 +703,19 @@ sourceFile:sourceMapValidationClasses.ts 11> "!" 12> ) 13> ; -1->Emitted(32, 9) Source(31, 5) + SourceIndex(0) -2 >Emitted(32, 13) Source(31, 9) + SourceIndex(0) -3 >Emitted(32, 14) Source(31, 10) + SourceIndex(0) -4 >Emitted(32, 17) Source(31, 13) + SourceIndex(0) -5 >Emitted(32, 21) Source(31, 17) + SourceIndex(0) -6 >Emitted(32, 22) Source(31, 18) + SourceIndex(0) -7 >Emitted(32, 29) Source(31, 25) + SourceIndex(0) -8 >Emitted(32, 31) Source(31, 27) + SourceIndex(0) -9 >Emitted(32, 38) Source(31, 34) + SourceIndex(0) -10>Emitted(32, 40) Source(31, 36) + SourceIndex(0) -11>Emitted(32, 43) Source(31, 39) + SourceIndex(0) -12>Emitted(32, 44) Source(31, 40) + SourceIndex(0) -13>Emitted(32, 45) Source(31, 41) + SourceIndex(0) +1->Emitted(33, 9) Source(31, 5) + SourceIndex(0) +2 >Emitted(33, 13) Source(31, 9) + SourceIndex(0) +3 >Emitted(33, 14) Source(31, 10) + SourceIndex(0) +4 >Emitted(33, 17) Source(31, 13) + SourceIndex(0) +5 >Emitted(33, 21) Source(31, 17) + SourceIndex(0) +6 >Emitted(33, 22) Source(31, 18) + SourceIndex(0) +7 >Emitted(33, 29) Source(31, 25) + SourceIndex(0) +8 >Emitted(33, 31) Source(31, 27) + SourceIndex(0) +9 >Emitted(33, 38) Source(31, 34) + SourceIndex(0) +10>Emitted(33, 40) Source(31, 36) + SourceIndex(0) +11>Emitted(33, 43) Source(31, 39) + SourceIndex(0) +12>Emitted(33, 44) Source(31, 40) + SourceIndex(0) +13>Emitted(33, 45) Source(31, 41) + SourceIndex(0) --- >>> // This is simple signle line comment 1->^^^^^^^^ @@ -722,8 +723,8 @@ sourceFile:sourceMapValidationClasses.ts 1-> > 2 > // This is simple signle line comment -1->Emitted(33, 9) Source(32, 5) + SourceIndex(0) -2 >Emitted(33, 46) Source(32, 42) + SourceIndex(0) +1->Emitted(34, 9) Source(32, 5) + SourceIndex(0) +2 >Emitted(34, 46) Source(32, 42) + SourceIndex(0) --- >>> for (var j = 0; j < b.length; j++) { 1 >^^^^^^^^ @@ -761,23 +762,23 @@ sourceFile:sourceMapValidationClasses.ts 15> ++ 16> ) 17> { -1 >Emitted(34, 9) Source(33, 5) + SourceIndex(0) -2 >Emitted(34, 14) Source(33, 10) + SourceIndex(0) -3 >Emitted(34, 18) Source(33, 14) + SourceIndex(0) -4 >Emitted(34, 19) Source(33, 15) + SourceIndex(0) -5 >Emitted(34, 22) Source(33, 18) + SourceIndex(0) -6 >Emitted(34, 23) Source(33, 19) + SourceIndex(0) -7 >Emitted(34, 25) Source(33, 21) + SourceIndex(0) -8 >Emitted(34, 26) Source(33, 22) + SourceIndex(0) -9 >Emitted(34, 29) Source(33, 25) + SourceIndex(0) -10>Emitted(34, 30) Source(33, 26) + SourceIndex(0) -11>Emitted(34, 31) Source(33, 27) + SourceIndex(0) -12>Emitted(34, 37) Source(33, 33) + SourceIndex(0) -13>Emitted(34, 39) Source(33, 35) + SourceIndex(0) -14>Emitted(34, 40) Source(33, 36) + SourceIndex(0) -15>Emitted(34, 42) Source(33, 38) + SourceIndex(0) -16>Emitted(34, 44) Source(33, 40) + SourceIndex(0) -17>Emitted(34, 45) Source(33, 41) + SourceIndex(0) +1 >Emitted(35, 9) Source(33, 5) + SourceIndex(0) +2 >Emitted(35, 14) Source(33, 10) + SourceIndex(0) +3 >Emitted(35, 18) Source(33, 14) + SourceIndex(0) +4 >Emitted(35, 19) Source(33, 15) + SourceIndex(0) +5 >Emitted(35, 22) Source(33, 18) + SourceIndex(0) +6 >Emitted(35, 23) Source(33, 19) + SourceIndex(0) +7 >Emitted(35, 25) Source(33, 21) + SourceIndex(0) +8 >Emitted(35, 26) Source(33, 22) + SourceIndex(0) +9 >Emitted(35, 29) Source(33, 25) + SourceIndex(0) +10>Emitted(35, 30) Source(33, 26) + SourceIndex(0) +11>Emitted(35, 31) Source(33, 27) + SourceIndex(0) +12>Emitted(35, 37) Source(33, 33) + SourceIndex(0) +13>Emitted(35, 39) Source(33, 35) + SourceIndex(0) +14>Emitted(35, 40) Source(33, 36) + SourceIndex(0) +15>Emitted(35, 42) Source(33, 38) + SourceIndex(0) +16>Emitted(35, 44) Source(33, 40) + SourceIndex(0) +17>Emitted(35, 45) Source(33, 41) + SourceIndex(0) --- >>> b[j].greet(); 1 >^^^^^^^^^^^^ @@ -799,15 +800,15 @@ sourceFile:sourceMapValidationClasses.ts 7 > greet 8 > () 9 > ; -1 >Emitted(35, 13) Source(34, 9) + SourceIndex(0) -2 >Emitted(35, 14) Source(34, 10) + SourceIndex(0) -3 >Emitted(35, 15) Source(34, 11) + SourceIndex(0) -4 >Emitted(35, 16) Source(34, 12) + SourceIndex(0) -5 >Emitted(35, 17) Source(34, 13) + SourceIndex(0) -6 >Emitted(35, 18) Source(34, 14) + SourceIndex(0) -7 >Emitted(35, 23) Source(34, 19) + SourceIndex(0) -8 >Emitted(35, 25) Source(34, 21) + SourceIndex(0) -9 >Emitted(35, 26) Source(34, 22) + SourceIndex(0) +1 >Emitted(36, 13) Source(34, 9) + SourceIndex(0) +2 >Emitted(36, 14) Source(34, 10) + SourceIndex(0) +3 >Emitted(36, 15) Source(34, 11) + SourceIndex(0) +4 >Emitted(36, 16) Source(34, 12) + SourceIndex(0) +5 >Emitted(36, 17) Source(34, 13) + SourceIndex(0) +6 >Emitted(36, 18) Source(34, 14) + SourceIndex(0) +7 >Emitted(36, 23) Source(34, 19) + SourceIndex(0) +8 >Emitted(36, 25) Source(34, 21) + SourceIndex(0) +9 >Emitted(36, 26) Source(34, 22) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -816,8 +817,8 @@ sourceFile:sourceMapValidationClasses.ts 1 > > 2 > } -1 >Emitted(36, 9) Source(35, 5) + SourceIndex(0) -2 >Emitted(36, 10) Source(35, 6) + SourceIndex(0) +1 >Emitted(37, 9) Source(35, 5) + SourceIndex(0) +2 >Emitted(37, 10) Source(35, 6) + SourceIndex(0) --- >>> })(Bar = Foo.Bar || (Foo.Bar = {})); 1->^^^^ @@ -874,15 +875,15 @@ sourceFile:sourceMapValidationClasses.ts > b[j].greet(); > } > } -1->Emitted(37, 5) Source(36, 1) + SourceIndex(0) -2 >Emitted(37, 6) Source(36, 2) + SourceIndex(0) -3 >Emitted(37, 8) Source(1, 15) + SourceIndex(0) -4 >Emitted(37, 11) Source(1, 18) + SourceIndex(0) -5 >Emitted(37, 14) Source(1, 15) + SourceIndex(0) -6 >Emitted(37, 21) Source(1, 18) + SourceIndex(0) -7 >Emitted(37, 26) Source(1, 15) + SourceIndex(0) -8 >Emitted(37, 33) Source(1, 18) + SourceIndex(0) -9 >Emitted(37, 41) Source(36, 2) + SourceIndex(0) +1->Emitted(38, 5) Source(36, 1) + SourceIndex(0) +2 >Emitted(38, 6) Source(36, 2) + SourceIndex(0) +3 >Emitted(38, 8) Source(1, 15) + SourceIndex(0) +4 >Emitted(38, 11) Source(1, 18) + SourceIndex(0) +5 >Emitted(38, 14) Source(1, 15) + SourceIndex(0) +6 >Emitted(38, 21) Source(1, 18) + SourceIndex(0) +7 >Emitted(38, 26) Source(1, 15) + SourceIndex(0) +8 >Emitted(38, 33) Source(1, 18) + SourceIndex(0) +9 >Emitted(38, 41) Source(36, 2) + SourceIndex(0) --- >>>})(Foo || (Foo = {})); 1 > @@ -935,12 +936,12 @@ sourceFile:sourceMapValidationClasses.ts > b[j].greet(); > } > } -1 >Emitted(38, 1) Source(36, 1) + SourceIndex(0) -2 >Emitted(38, 2) Source(36, 2) + SourceIndex(0) -3 >Emitted(38, 4) Source(1, 11) + SourceIndex(0) -4 >Emitted(38, 7) Source(1, 14) + SourceIndex(0) -5 >Emitted(38, 12) Source(1, 11) + SourceIndex(0) -6 >Emitted(38, 15) Source(1, 14) + SourceIndex(0) -7 >Emitted(38, 23) Source(36, 2) + SourceIndex(0) +1 >Emitted(39, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(39, 2) Source(36, 2) + SourceIndex(0) +3 >Emitted(39, 4) Source(1, 11) + SourceIndex(0) +4 >Emitted(39, 7) Source(1, 14) + SourceIndex(0) +5 >Emitted(39, 12) Source(1, 11) + SourceIndex(0) +6 >Emitted(39, 15) Source(1, 14) + SourceIndex(0) +7 >Emitted(39, 23) Source(36, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationClasses.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDebugger.js b/tests/baselines/reference/sourceMapValidationDebugger.js index 0c389275383de..71f7a05518451 100644 --- a/tests/baselines/reference/sourceMapValidationDebugger.js +++ b/tests/baselines/reference/sourceMapValidationDebugger.js @@ -4,5 +4,6 @@ debugger; //// [sourceMapValidationDebugger.js] +"use strict"; debugger; //# sourceMappingURL=sourceMapValidationDebugger.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDebugger.js.map b/tests/baselines/reference/sourceMapValidationDebugger.js.map index 530969a300610..8d865f0ff2db4 100644 --- a/tests/baselines/reference/sourceMapValidationDebugger.js.map +++ b/tests/baselines/reference/sourceMapValidationDebugger.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDebugger.js.map] -{"version":3,"file":"sourceMapValidationDebugger.js","sourceRoot":"","sources":["sourceMapValidationDebugger.ts"],"names":[],"mappings":"AAAA,QAAQ,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,ZGVidWdnZXI7DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uRGVidWdnZXIuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlYnVnZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRlYnVnZ2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFFBQVEsQ0FBQyJ9,ZGVidWdnZXI7 +{"version":3,"file":"sourceMapValidationDebugger.js","sourceRoot":"","sources":["sourceMapValidationDebugger.ts"],"names":[],"mappings":";AAAA,QAAQ,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KZGVidWdnZXI7DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uRGVidWdnZXIuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlYnVnZ2VyLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRlYnVnZ2VyLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxRQUFRLENBQUMifQ==,ZGVidWdnZXI7 diff --git a/tests/baselines/reference/sourceMapValidationDebugger.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDebugger.sourcemap.txt index cd7bb3bbe8568..82fa5c6135c74 100644 --- a/tests/baselines/reference/sourceMapValidationDebugger.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDebugger.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDebugger.ts emittedFile:sourceMapValidationDebugger.js sourceFile:sourceMapValidationDebugger.ts ------------------------------------------------------------------- +>>>"use strict"; >>>debugger; 1 > 2 >^^^^^^^^ @@ -16,8 +17,8 @@ sourceFile:sourceMapValidationDebugger.ts 1 > 2 >debugger 3 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -3 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +3 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDebugger.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDecorators.js b/tests/baselines/reference/sourceMapValidationDecorators.js index 5dd684219eb00..e8fe13bb1b1df 100644 --- a/tests/baselines/reference/sourceMapValidationDecorators.js +++ b/tests/baselines/reference/sourceMapValidationDecorators.js @@ -57,6 +57,7 @@ class Greeter { } //// [sourceMapValidationDecorators.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/sourceMapValidationDecorators.js.map b/tests/baselines/reference/sourceMapValidationDecorators.js.map index 21c6fae6e74fc..0e50e773a27a1 100644 --- a/tests/baselines/reference/sourceMapValidationDecorators.js.map +++ b/tests/baselines/reference/sourceMapValidationDecorators.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDecorators.js.map] -{"version":3,"file":"sourceMapValidationDecorators.js","sourceRoot":"","sources":["sourceMapValidationDecorators.ts"],"names":[],"mappings":";;;;;;;;;AASA;IACI,iBAGS,QAAgB;QAIvB,WAAc;aAAd,UAAc,EAAd,qBAAc,EAAd,IAAc;YAAd,0BAAc;;QAJP,aAAQ,GAAR,QAAQ,CAAQ;IAKzB,CAAC;IAID,uBAAK,GAAL;QACI,OAAO,MAAM,GAAG,IAAI,CAAC,QAAQ,GAAG,OAAO,CAAC;IAC5C,CAAC;IAUO,oBAAE,GAAF,UAGN,CAAS;QACP,OAAO,IAAI,CAAC,QAAQ,CAAC;IACzB,CAAC;IAID,sBAAI,8BAAS;aAAb;YACI,OAAO,IAAI,CAAC,QAAQ,CAAC;QACzB,CAAC;aAED,UAGE,SAAiB;YACf,IAAI,CAAC,QAAQ,GAAG,SAAS,CAAC;QAC9B,CAAC;;;OAPA;IAbc,UAAE,GAAW,EAAE,AAAb,CAAc;IAV/B;QAFC,kBAAkB;QAClB,kB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iAgICAgIAogICAgICBAUGFyYW1ldGVyRGVjb3JhdG9yMSAKICAgICAgQFBhcmFtZXRlckRlY29yYXRvcjIoMzApIAogICAgICAuLi5iOiBzdHJpbmdbXSkgewogICAgfQogICAgCiAgICBAUHJvcGVydHlEZWNvcmF0b3IxCiAgICBAUHJvcGVydHlEZWNvcmF0b3IyKDQwKQogICAgZ3JlZXQoKSB7CiAgICAgICAgcmV0dXJuICI8aDE+IiArIHRoaXMuZ3JlZXRpbmcgKyAiPC9oMT4iOwogICAgfQoKICAgIEBQcm9wZXJ0eURlY29yYXRvcjEKICAgIEBQcm9wZXJ0eURlY29yYXRvcjIoNTApCiAgICBwcml2YXRlIHg6IHN0cmluZzsKCiAgICBAUHJvcGVydHlEZWNvcmF0b3IxCiAgICBAUHJvcGVydHlEZWNvcmF0b3IyKDYwKQogICAgcHJpdmF0ZSBzdGF0aWMgeDE6IG51bWJlciA9IDEwOwogICAgCiAgICBwcml2YXRlIGZuKAogICAgICBAUGFyYW1ldGVyRGVjb3JhdG9yMSAKICAgICAgQFBhcmFtZXRlckRlY29yYXRvcjIoNzApIAogICAgICB4OiBudW1iZXIpIHsKICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsKICAgIH0KCiAgICBAUHJvcGVydHlEZWNvcmF0b3IxCiAgICBAUHJvcGVydHlEZWNvcmF0b3IyKDgwKQogICAgZ2V0IGdyZWV0aW5ncygpIHsKICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsKICAgIH0KCiAgICBzZXQgZ3JlZXRpbmdzKAogICAgICBAUGFyYW1ldGVyRGVjb3JhdG9yMSAKICAgICAgQFBhcmFtZXRlckRlY29yYXRvcjIoOTApIAogICAgICBncmVldGluZ3M6IHN0cmluZykgewogICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZ3M7CiAgICB9ICAgIAp9 +{"version":3,"file":"sourceMapValidationDecorators.js","sourceRoot":"","sources":["sourceMapValidationDecorators.ts"],"names":[],"mappings":";;;;;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AgICB4OiBudW1iZXIpIHsKICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsKICAgIH0KCiAgICBAUHJvcGVydHlEZWNvcmF0b3IxCiAgICBAUHJvcGVydHlEZWNvcmF0b3IyKDgwKQogICAgZ2V0IGdyZWV0aW5ncygpIHsKICAgICAgICByZXR1cm4gdGhpcy5ncmVldGluZzsKICAgIH0KCiAgICBzZXQgZ3JlZXRpbmdzKAogICAgICBAUGFyYW1ldGVyRGVjb3JhdG9yMSAKICAgICAgQFBhcmFtZXRlckRlY29yYXRvcjIoOTApIAogICAgICBncmVldGluZ3M6IHN0cmluZykgewogICAgICAgIHRoaXMuZ3JlZXRpbmcgPSBncmVldGluZ3M7CiAgICB9ICAgIAp9 diff --git a/tests/baselines/reference/sourceMapValidationDecorators.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDecorators.sourcemap.txt index 63cab73a67320..de491a6c38b66 100644 --- a/tests/baselines/reference/sourceMapValidationDecorators.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDecorators.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDecorators.ts emittedFile:sourceMapValidationDecorators.js sourceFile:sourceMapValidationDecorators.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { >>> var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; >>> if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); @@ -30,7 +31,7 @@ sourceFile:sourceMapValidationDecorators.ts >@ClassDecorator1 >@ClassDecorator2(10) > -1 >Emitted(10, 1) Source(10, 1) + SourceIndex(0) +1 >Emitted(11, 1) Source(10, 1) + SourceIndex(0) --- >>> function Greeter(greeting) { 1->^^^^ @@ -43,9 +44,9 @@ sourceFile:sourceMapValidationDecorators.ts > @ParameterDecorator2(20) > public 3 > greeting: string -1->Emitted(11, 5) Source(11, 5) + SourceIndex(0) -2 >Emitted(11, 22) Source(14, 14) + SourceIndex(0) -3 >Emitted(11, 30) Source(14, 30) + SourceIndex(0) +1->Emitted(12, 5) Source(11, 5) + SourceIndex(0) +2 >Emitted(12, 22) Source(14, 14) + SourceIndex(0) +3 >Emitted(12, 30) Source(14, 30) + SourceIndex(0) --- >>> var b = []; 1 >^^^^^^^^ @@ -57,8 +58,8 @@ sourceFile:sourceMapValidationDecorators.ts > @ParameterDecorator2(30) > 2 > ...b: string[] -1 >Emitted(12, 9) Source(18, 7) + SourceIndex(0) -2 >Emitted(12, 20) Source(18, 21) + SourceIndex(0) +1 >Emitted(13, 9) Source(18, 7) + SourceIndex(0) +2 >Emitted(13, 20) Source(18, 21) + SourceIndex(0) --- >>> for (var _i = 1; _i < arguments.length; _i++) { 1->^^^^^^^^^^^^^ @@ -73,20 +74,20 @@ sourceFile:sourceMapValidationDecorators.ts 4 > ...b: string[] 5 > 6 > ...b: string[] -1->Emitted(13, 14) Source(18, 7) + SourceIndex(0) -2 >Emitted(13, 24) Source(18, 21) + SourceIndex(0) -3 >Emitted(13, 26) Source(18, 7) + SourceIndex(0) -4 >Emitted(13, 47) Source(18, 21) + SourceIndex(0) -5 >Emitted(13, 49) Source(18, 7) + SourceIndex(0) -6 >Emitted(13, 53) Source(18, 21) + SourceIndex(0) +1->Emitted(14, 14) Source(18, 7) + SourceIndex(0) +2 >Emitted(14, 24) Source(18, 21) + SourceIndex(0) +3 >Emitted(14, 26) Source(18, 7) + SourceIndex(0) +4 >Emitted(14, 47) Source(18, 21) + SourceIndex(0) +5 >Emitted(14, 49) Source(18, 7) + SourceIndex(0) +6 >Emitted(14, 53) Source(18, 21) + SourceIndex(0) --- >>> b[_i - 1] = arguments[_i]; 1 >^^^^^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 > ...b: string[] -1 >Emitted(14, 13) Source(18, 7) + SourceIndex(0) -2 >Emitted(14, 39) Source(18, 21) + SourceIndex(0) +1 >Emitted(15, 13) Source(18, 7) + SourceIndex(0) +2 >Emitted(15, 39) Source(18, 21) + SourceIndex(0) --- >>> } >>> this.greeting = greeting; @@ -100,11 +101,11 @@ sourceFile:sourceMapValidationDecorators.ts 3 > 4 > greeting 5 > : string -1 >Emitted(16, 9) Source(14, 14) + SourceIndex(0) -2 >Emitted(16, 22) Source(14, 22) + SourceIndex(0) -3 >Emitted(16, 25) Source(14, 14) + SourceIndex(0) -4 >Emitted(16, 33) Source(14, 22) + SourceIndex(0) -5 >Emitted(16, 34) Source(14, 30) + SourceIndex(0) +1 >Emitted(17, 9) Source(14, 14) + SourceIndex(0) +2 >Emitted(17, 22) Source(14, 22) + SourceIndex(0) +3 >Emitted(17, 25) Source(14, 14) + SourceIndex(0) +4 >Emitted(17, 33) Source(14, 22) + SourceIndex(0) +5 >Emitted(17, 34) Source(14, 30) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -117,8 +118,8 @@ sourceFile:sourceMapValidationDecorators.ts > ...b: string[]) { > 2 > } -1 >Emitted(17, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(17, 6) Source(19, 6) + SourceIndex(0) +1 >Emitted(18, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(18, 6) Source(19, 6) + SourceIndex(0) --- >>> Greeter.prototype.greet = function () { 1->^^^^ @@ -132,9 +133,9 @@ sourceFile:sourceMapValidationDecorators.ts > 2 > greet 3 > -1->Emitted(18, 5) Source(23, 5) + SourceIndex(0) -2 >Emitted(18, 28) Source(23, 10) + SourceIndex(0) -3 >Emitted(18, 31) Source(23, 5) + SourceIndex(0) +1->Emitted(19, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(19, 28) Source(23, 10) + SourceIndex(0) +3 >Emitted(19, 31) Source(23, 5) + SourceIndex(0) --- >>> return "

" + this.greeting + "

"; 1->^^^^^^^^ @@ -158,16 +159,16 @@ sourceFile:sourceMapValidationDecorators.ts 8 > + 9 > "" 10> ; -1->Emitted(19, 9) Source(24, 9) + SourceIndex(0) -2 >Emitted(19, 16) Source(24, 16) + SourceIndex(0) -3 >Emitted(19, 22) Source(24, 22) + SourceIndex(0) -4 >Emitted(19, 25) Source(24, 25) + SourceIndex(0) -5 >Emitted(19, 29) Source(24, 29) + SourceIndex(0) -6 >Emitted(19, 30) Source(24, 30) + SourceIndex(0) -7 >Emitted(19, 38) Source(24, 38) + SourceIndex(0) -8 >Emitted(19, 41) Source(24, 41) + SourceIndex(0) -9 >Emitted(19, 48) Source(24, 48) + SourceIndex(0) -10>Emitted(19, 49) Source(24, 49) + SourceIndex(0) +1->Emitted(20, 9) Source(24, 9) + SourceIndex(0) +2 >Emitted(20, 16) Source(24, 16) + SourceIndex(0) +3 >Emitted(20, 22) Source(24, 22) + SourceIndex(0) +4 >Emitted(20, 25) Source(24, 25) + SourceIndex(0) +5 >Emitted(20, 29) Source(24, 29) + SourceIndex(0) +6 >Emitted(20, 30) Source(24, 30) + SourceIndex(0) +7 >Emitted(20, 38) Source(24, 38) + SourceIndex(0) +8 >Emitted(20, 41) Source(24, 41) + SourceIndex(0) +9 >Emitted(20, 48) Source(24, 48) + SourceIndex(0) +10>Emitted(20, 49) Source(24, 49) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -176,8 +177,8 @@ sourceFile:sourceMapValidationDecorators.ts 1 > > 2 > } -1 >Emitted(20, 5) Source(25, 5) + SourceIndex(0) -2 >Emitted(20, 6) Source(25, 6) + SourceIndex(0) +1 >Emitted(21, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(21, 6) Source(25, 6) + SourceIndex(0) --- >>> Greeter.prototype.fn = function (x) { 1->^^^^ @@ -203,11 +204,11 @@ sourceFile:sourceMapValidationDecorators.ts > @ParameterDecorator2(70) > 5 > x: number -1->Emitted(21, 5) Source(35, 13) + SourceIndex(0) -2 >Emitted(21, 25) Source(35, 15) + SourceIndex(0) -3 >Emitted(21, 28) Source(35, 13) + SourceIndex(0) -4 >Emitted(21, 38) Source(38, 7) + SourceIndex(0) -5 >Emitted(21, 39) Source(38, 16) + SourceIndex(0) +1->Emitted(22, 5) Source(35, 13) + SourceIndex(0) +2 >Emitted(22, 25) Source(35, 15) + SourceIndex(0) +3 >Emitted(22, 28) Source(35, 13) + SourceIndex(0) +4 >Emitted(22, 38) Source(38, 7) + SourceIndex(0) +5 >Emitted(22, 39) Source(38, 16) + SourceIndex(0) --- >>> return this.greeting; 1 >^^^^^^^^ @@ -223,12 +224,12 @@ sourceFile:sourceMapValidationDecorators.ts 4 > . 5 > greeting 6 > ; -1 >Emitted(22, 9) Source(39, 9) + SourceIndex(0) -2 >Emitted(22, 16) Source(39, 16) + SourceIndex(0) -3 >Emitted(22, 20) Source(39, 20) + SourceIndex(0) -4 >Emitted(22, 21) Source(39, 21) + SourceIndex(0) -5 >Emitted(22, 29) Source(39, 29) + SourceIndex(0) -6 >Emitted(22, 30) Source(39, 30) + SourceIndex(0) +1 >Emitted(23, 9) Source(39, 9) + SourceIndex(0) +2 >Emitted(23, 16) Source(39, 16) + SourceIndex(0) +3 >Emitted(23, 20) Source(39, 20) + SourceIndex(0) +4 >Emitted(23, 21) Source(39, 21) + SourceIndex(0) +5 >Emitted(23, 29) Source(39, 29) + SourceIndex(0) +6 >Emitted(23, 30) Source(39, 30) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -237,8 +238,8 @@ sourceFile:sourceMapValidationDecorators.ts 1 > > 2 > } -1 >Emitted(23, 5) Source(40, 5) + SourceIndex(0) -2 >Emitted(23, 6) Source(40, 6) + SourceIndex(0) +1 >Emitted(24, 5) Source(40, 5) + SourceIndex(0) +2 >Emitted(24, 6) Source(40, 6) + SourceIndex(0) --- >>> Object.defineProperty(Greeter.prototype, "greetings", { 1->^^^^ @@ -251,15 +252,15 @@ sourceFile:sourceMapValidationDecorators.ts > 2 > get 3 > greetings -1->Emitted(24, 5) Source(44, 5) + SourceIndex(0) -2 >Emitted(24, 27) Source(44, 9) + SourceIndex(0) -3 >Emitted(24, 57) Source(44, 18) + SourceIndex(0) +1->Emitted(25, 5) Source(44, 5) + SourceIndex(0) +2 >Emitted(25, 27) Source(44, 9) + SourceIndex(0) +3 >Emitted(25, 57) Source(44, 18) + SourceIndex(0) --- >>> get: function () { 1 >^^^^^^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(25, 14) Source(44, 5) + SourceIndex(0) +1 >Emitted(26, 14) Source(44, 5) + SourceIndex(0) --- >>> return this.greeting; 1->^^^^^^^^^^^^ @@ -275,12 +276,12 @@ sourceFile:sourceMapValidationDecorators.ts 4 > . 5 > greeting 6 > ; -1->Emitted(26, 13) Source(45, 9) + SourceIndex(0) -2 >Emitted(26, 20) Source(45, 16) + SourceIndex(0) -3 >Emitted(26, 24) Source(45, 20) + SourceIndex(0) -4 >Emitted(26, 25) Source(45, 21) + SourceIndex(0) -5 >Emitted(26, 33) Source(45, 29) + SourceIndex(0) -6 >Emitted(26, 34) Source(45, 30) + SourceIndex(0) +1->Emitted(27, 13) Source(45, 9) + SourceIndex(0) +2 >Emitted(27, 20) Source(45, 16) + SourceIndex(0) +3 >Emitted(27, 24) Source(45, 20) + SourceIndex(0) +4 >Emitted(27, 25) Source(45, 21) + SourceIndex(0) +5 >Emitted(27, 33) Source(45, 29) + SourceIndex(0) +6 >Emitted(27, 34) Source(45, 30) + SourceIndex(0) --- >>> }, 1 >^^^^^^^^ @@ -289,8 +290,8 @@ sourceFile:sourceMapValidationDecorators.ts 1 > > 2 > } -1 >Emitted(27, 9) Source(46, 5) + SourceIndex(0) -2 >Emitted(27, 10) Source(46, 6) + SourceIndex(0) +1 >Emitted(28, 9) Source(46, 5) + SourceIndex(0) +2 >Emitted(28, 10) Source(46, 6) + SourceIndex(0) --- >>> set: function (greetings) { 1->^^^^^^^^^^^^^ @@ -305,9 +306,9 @@ sourceFile:sourceMapValidationDecorators.ts > @ParameterDecorator2(90) > 3 > greetings: string -1->Emitted(28, 14) Source(48, 5) + SourceIndex(0) -2 >Emitted(28, 24) Source(51, 7) + SourceIndex(0) -3 >Emitted(28, 33) Source(51, 24) + SourceIndex(0) +1->Emitted(29, 14) Source(48, 5) + SourceIndex(0) +2 >Emitted(29, 24) Source(51, 7) + SourceIndex(0) +3 >Emitted(29, 33) Source(51, 24) + SourceIndex(0) --- >>> this.greeting = greetings; 1->^^^^^^^^^^^^ @@ -325,13 +326,13 @@ sourceFile:sourceMapValidationDecorators.ts 5 > = 6 > greetings 7 > ; -1->Emitted(29, 13) Source(52, 9) + SourceIndex(0) -2 >Emitted(29, 17) Source(52, 13) + SourceIndex(0) -3 >Emitted(29, 18) Source(52, 14) + SourceIndex(0) -4 >Emitted(29, 26) Source(52, 22) + SourceIndex(0) -5 >Emitted(29, 29) Source(52, 25) + SourceIndex(0) -6 >Emitted(29, 38) Source(52, 34) + SourceIndex(0) -7 >Emitted(29, 39) Source(52, 35) + SourceIndex(0) +1->Emitted(30, 13) Source(52, 9) + SourceIndex(0) +2 >Emitted(30, 17) Source(52, 13) + SourceIndex(0) +3 >Emitted(30, 18) Source(52, 14) + SourceIndex(0) +4 >Emitted(30, 26) Source(52, 22) + SourceIndex(0) +5 >Emitted(30, 29) Source(52, 25) + SourceIndex(0) +6 >Emitted(30, 38) Source(52, 34) + SourceIndex(0) +7 >Emitted(30, 39) Source(52, 35) + SourceIndex(0) --- >>> }, 1 >^^^^^^^^ @@ -340,8 +341,8 @@ sourceFile:sourceMapValidationDecorators.ts 1 > > 2 > } -1 >Emitted(30, 9) Source(53, 5) + SourceIndex(0) -2 >Emitted(30, 10) Source(53, 6) + SourceIndex(0) +1 >Emitted(31, 9) Source(53, 5) + SourceIndex(0) +2 >Emitted(31, 10) Source(53, 6) + SourceIndex(0) --- >>> enumerable: false, >>> configurable: true @@ -349,7 +350,7 @@ sourceFile:sourceMapValidationDecorators.ts 1->^^^^^^^ 2 > ^^^^^^^^^^^^^^-> 1-> -1->Emitted(33, 8) Source(46, 6) + SourceIndex(0) +1->Emitted(34, 8) Source(46, 6) + SourceIndex(0) --- >>> Greeter.x1 = 10; 1->^^^^ @@ -364,18 +365,18 @@ sourceFile:sourceMapValidationDecorators.ts 4 > 10 5 > 6 > : number = 10; -1->Emitted(34, 5) Source(33, 20) + SourceIndex(0) -2 >Emitted(34, 15) Source(33, 22) + SourceIndex(0) -3 >Emitted(34, 18) Source(33, 33) + SourceIndex(0) -4 >Emitted(34, 20) Source(33, 35) + SourceIndex(0) -5 >Emitted(34, 20) Source(33, 22) + SourceIndex(0) -6 >Emitted(34, 21) Source(33, 36) + SourceIndex(0) +1->Emitted(35, 5) Source(33, 20) + SourceIndex(0) +2 >Emitted(35, 15) Source(33, 22) + SourceIndex(0) +3 >Emitted(35, 18) Source(33, 33) + SourceIndex(0) +4 >Emitted(35, 20) Source(33, 35) + SourceIndex(0) +5 >Emitted(35, 20) Source(33, 22) + SourceIndex(0) +6 >Emitted(35, 21) Source(33, 36) + SourceIndex(0) --- >>> __decorate([ 1 >^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(35, 5) Source(23, 5) + SourceIndex(0) +1 >Emitted(36, 5) Source(23, 5) + SourceIndex(0) --- >>> PropertyDecorator1, 1->^^^^^^^^ @@ -383,8 +384,8 @@ sourceFile:sourceMapValidationDecorators.ts 3 > ^^^^^-> 1-> 2 > PropertyDecorator1 -1->Emitted(36, 9) Source(21, 6) + SourceIndex(0) -2 >Emitted(36, 27) Source(21, 24) + SourceIndex(0) +1->Emitted(37, 9) Source(21, 6) + SourceIndex(0) +2 >Emitted(37, 27) Source(21, 24) + SourceIndex(0) --- >>> PropertyDecorator2(40) 1->^^^^^^^^ @@ -399,11 +400,11 @@ sourceFile:sourceMapValidationDecorators.ts 3 > ( 4 > 40 5 > ) -1->Emitted(37, 9) Source(22, 6) + SourceIndex(0) -2 >Emitted(37, 27) Source(22, 24) + SourceIndex(0) -3 >Emitted(37, 28) Source(22, 25) + SourceIndex(0) -4 >Emitted(37, 30) Source(22, 27) + SourceIndex(0) -5 >Emitted(37, 31) Source(22, 28) + SourceIndex(0) +1->Emitted(38, 9) Source(22, 6) + SourceIndex(0) +2 >Emitted(38, 27) Source(22, 24) + SourceIndex(0) +3 >Emitted(38, 28) Source(22, 25) + SourceIndex(0) +4 >Emitted(38, 30) Source(22, 27) + SourceIndex(0) +5 >Emitted(38, 31) Source(22, 28) + SourceIndex(0) --- >>> ], Greeter.prototype, "greet", null); 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -411,7 +412,7 @@ sourceFile:sourceMapValidationDecorators.ts > greet() { > return "

" + this.greeting + "

"; > } -1->Emitted(38, 41) Source(25, 6) + SourceIndex(0) +1->Emitted(39, 41) Source(25, 6) + SourceIndex(0) --- >>> __decorate([ 1 >^^^^ @@ -421,7 +422,7 @@ sourceFile:sourceMapValidationDecorators.ts > @PropertyDecorator1 > @PropertyDecorator2(50) > private -1 >Emitted(39, 5) Source(29, 13) + SourceIndex(0) +1 >Emitted(40, 5) Source(29, 13) + SourceIndex(0) --- >>> PropertyDecorator1, 1->^^^^^^^^ @@ -429,8 +430,8 @@ sourceFile:sourceMapValidationDecorators.ts 3 > ^^^^^-> 1-> 2 > PropertyDecorator1 -1->Emitted(40, 9) Source(27, 6) + SourceIndex(0) -2 >Emitted(40, 27) Source(27, 24) + SourceIndex(0) +1->Emitted(41, 9) Source(27, 6) + SourceIndex(0) +2 >Emitted(41, 27) Source(27, 24) + SourceIndex(0) --- >>> PropertyDecorator2(50) 1->^^^^^^^^ @@ -445,17 +446,17 @@ sourceFile:sourceMapValidationDecorators.ts 3 > ( 4 > 50 5 > ) -1->Emitted(41, 9) Source(28, 6) + SourceIndex(0) -2 >Emitted(41, 27) Source(28, 24) + SourceIndex(0) -3 >Emitted(41, 28) Source(28, 25) + SourceIndex(0) -4 >Emitted(41, 30) Source(28, 27) + SourceIndex(0) -5 >Emitted(41, 31) Source(28, 28) + SourceIndex(0) +1->Emitted(42, 9) Source(28, 6) + SourceIndex(0) +2 >Emitted(42, 27) Source(28, 24) + SourceIndex(0) +3 >Emitted(42, 28) Source(28, 25) + SourceIndex(0) +4 >Emitted(42, 30) Source(28, 27) + SourceIndex(0) +5 >Emitted(42, 31) Source(28, 28) + SourceIndex(0) --- >>> ], Greeter.prototype, "x", void 0); 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1-> > private x: string; -1->Emitted(42, 39) Source(29, 23) + SourceIndex(0) +1->Emitted(43, 39) Source(29, 23) + SourceIndex(0) --- >>> __decorate([ 1 >^^^^ @@ -467,7 +468,7 @@ sourceFile:sourceMapValidationDecorators.ts > private static x1: number = 10; > > private -1 >Emitted(43, 5) Source(35, 13) + SourceIndex(0) +1 >Emitted(44, 5) Source(35, 13) + SourceIndex(0) --- >>> __param(0, ParameterDecorator1), 1->^^^^^^^^ @@ -480,10 +481,10 @@ sourceFile:sourceMapValidationDecorators.ts 2 > 3 > ParameterDecorator1 4 > -1->Emitted(44, 9) Source(36, 8) + SourceIndex(0) -2 >Emitted(44, 20) Source(36, 8) + SourceIndex(0) -3 >Emitted(44, 39) Source(36, 27) + SourceIndex(0) -4 >Emitted(44, 40) Source(36, 27) + SourceIndex(0) +1->Emitted(45, 9) Source(36, 8) + SourceIndex(0) +2 >Emitted(45, 20) Source(36, 8) + SourceIndex(0) +3 >Emitted(45, 39) Source(36, 27) + SourceIndex(0) +4 >Emitted(45, 40) Source(36, 27) + SourceIndex(0) --- >>> __param(0, ParameterDecorator2(70)) 1->^^^^^^^^ @@ -501,13 +502,13 @@ sourceFile:sourceMapValidationDecorators.ts 5 > 70 6 > ) 7 > -1->Emitted(45, 9) Source(37, 8) + SourceIndex(0) -2 >Emitted(45, 20) Source(37, 8) + SourceIndex(0) -3 >Emitted(45, 39) Source(37, 27) + SourceIndex(0) -4 >Emitted(45, 40) Source(37, 28) + SourceIndex(0) -5 >Emitted(45, 42) Source(37, 30) + SourceIndex(0) -6 >Emitted(45, 43) Source(37, 31) + SourceIndex(0) -7 >Emitted(45, 44) Source(37, 31) + SourceIndex(0) +1->Emitted(46, 9) Source(37, 8) + SourceIndex(0) +2 >Emitted(46, 20) Source(37, 8) + SourceIndex(0) +3 >Emitted(46, 39) Source(37, 27) + SourceIndex(0) +4 >Emitted(46, 40) Source(37, 28) + SourceIndex(0) +5 >Emitted(46, 42) Source(37, 30) + SourceIndex(0) +6 >Emitted(46, 43) Source(37, 31) + SourceIndex(0) +7 >Emitted(46, 44) Source(37, 31) + SourceIndex(0) --- >>> ], Greeter.prototype, "fn", null); 1 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -515,7 +516,7 @@ sourceFile:sourceMapValidationDecorators.ts > x: number) { > return this.greeting; > } -1 >Emitted(46, 38) Source(40, 6) + SourceIndex(0) +1 >Emitted(47, 38) Source(40, 6) + SourceIndex(0) --- >>> __decorate([ 1 >^^^^ @@ -525,7 +526,7 @@ sourceFile:sourceMapValidationDecorators.ts > @PropertyDecorator1 > @PropertyDecorator2(80) > -1 >Emitted(47, 5) Source(44, 5) + SourceIndex(0) +1 >Emitted(48, 5) Source(44, 5) + SourceIndex(0) --- >>> PropertyDecorator1, 1->^^^^^^^^ @@ -533,8 +534,8 @@ sourceFile:sourceMapValidationDecorators.ts 3 > ^^^^^^-> 1-> 2 > PropertyDecorator1 -1->Emitted(48, 9) Source(42, 6) + SourceIndex(0) -2 >Emitted(48, 27) Source(42, 24) + SourceIndex(0) +1->Emitted(49, 9) Source(42, 6) + SourceIndex(0) +2 >Emitted(49, 27) Source(42, 24) + SourceIndex(0) --- >>> PropertyDecorator2(80), 1->^^^^^^^^ @@ -549,11 +550,11 @@ sourceFile:sourceMapValidationDecorators.ts 3 > ( 4 > 80 5 > ) -1->Emitted(49, 9) Source(43, 6) + SourceIndex(0) -2 >Emitted(49, 27) Source(43, 24) + SourceIndex(0) -3 >Emitted(49, 28) Source(43, 25) + SourceIndex(0) -4 >Emitted(49, 30) Source(43, 27) + SourceIndex(0) -5 >Emitted(49, 31) Source(43, 28) + SourceIndex(0) +1->Emitted(50, 9) Source(43, 6) + SourceIndex(0) +2 >Emitted(50, 27) Source(43, 24) + SourceIndex(0) +3 >Emitted(50, 28) Source(43, 25) + SourceIndex(0) +4 >Emitted(50, 30) Source(43, 27) + SourceIndex(0) +5 >Emitted(50, 31) Source(43, 28) + SourceIndex(0) --- >>> __param(0, ParameterDecorator1), 1->^^^^^^^^ @@ -571,10 +572,10 @@ sourceFile:sourceMapValidationDecorators.ts 2 > 3 > ParameterDecorator1 4 > -1->Emitted(50, 9) Source(49, 8) + SourceIndex(0) -2 >Emitted(50, 20) Source(49, 8) + SourceIndex(0) -3 >Emitted(50, 39) Source(49, 27) + SourceIndex(0) -4 >Emitted(50, 40) Source(49, 27) + SourceIndex(0) +1->Emitted(51, 9) Source(49, 8) + SourceIndex(0) +2 >Emitted(51, 20) Source(49, 8) + SourceIndex(0) +3 >Emitted(51, 39) Source(49, 27) + SourceIndex(0) +4 >Emitted(51, 40) Source(49, 27) + SourceIndex(0) --- >>> __param(0, ParameterDecorator2(90)) 1->^^^^^^^^ @@ -593,24 +594,24 @@ sourceFile:sourceMapValidationDecorators.ts 5 > 90 6 > ) 7 > -1->Emitted(51, 9) Source(50, 8) + SourceIndex(0) -2 >Emitted(51, 20) Source(50, 8) + SourceIndex(0) -3 >Emitted(51, 39) Source(50, 27) + SourceIndex(0) -4 >Emitted(51, 40) Source(50, 28) + SourceIndex(0) -5 >Emitted(51, 42) Source(50, 30) + SourceIndex(0) -6 >Emitted(51, 43) Source(50, 31) + SourceIndex(0) -7 >Emitted(51, 44) Source(50, 31) + SourceIndex(0) +1->Emitted(52, 9) Source(50, 8) + SourceIndex(0) +2 >Emitted(52, 20) Source(50, 8) + SourceIndex(0) +3 >Emitted(52, 39) Source(50, 27) + SourceIndex(0) +4 >Emitted(52, 40) Source(50, 28) + SourceIndex(0) +5 >Emitted(52, 42) Source(50, 30) + SourceIndex(0) +6 >Emitted(52, 43) Source(50, 31) + SourceIndex(0) +7 >Emitted(52, 44) Source(50, 31) + SourceIndex(0) --- >>> ], Greeter.prototype, "greetings", null); 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1-> -1->Emitted(52, 45) Source(46, 6) + SourceIndex(0) +1->Emitted(53, 45) Source(46, 6) + SourceIndex(0) --- >>> __decorate([ 1 >^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(53, 5) Source(33, 20) + SourceIndex(0) +1 >Emitted(54, 5) Source(33, 20) + SourceIndex(0) --- >>> PropertyDecorator1, 1->^^^^^^^^ @@ -618,8 +619,8 @@ sourceFile:sourceMapValidationDecorators.ts 3 > ^^^^^-> 1-> 2 > PropertyDecorator1 -1->Emitted(54, 9) Source(31, 6) + SourceIndex(0) -2 >Emitted(54, 27) Source(31, 24) + SourceIndex(0) +1->Emitted(55, 9) Source(31, 6) + SourceIndex(0) +2 >Emitted(55, 27) Source(31, 24) + SourceIndex(0) --- >>> PropertyDecorator2(60) 1->^^^^^^^^ @@ -634,17 +635,17 @@ sourceFile:sourceMapValidationDecorators.ts 3 > ( 4 > 60 5 > ) -1->Emitted(55, 9) Source(32, 6) + SourceIndex(0) -2 >Emitted(55, 27) Source(32, 24) + SourceIndex(0) -3 >Emitted(55, 28) Source(32, 25) + SourceIndex(0) -4 >Emitted(55, 30) Source(32, 27) + SourceIndex(0) -5 >Emitted(55, 31) Source(32, 28) + SourceIndex(0) +1->Emitted(56, 9) Source(32, 6) + SourceIndex(0) +2 >Emitted(56, 27) Source(32, 24) + SourceIndex(0) +3 >Emitted(56, 28) Source(32, 25) + SourceIndex(0) +4 >Emitted(56, 30) Source(32, 27) + SourceIndex(0) +5 >Emitted(56, 31) Source(32, 28) + SourceIndex(0) --- >>> ], Greeter, "x1", void 0); 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1-> > private static x1: number = 10; -1->Emitted(56, 30) Source(33, 36) + SourceIndex(0) +1->Emitted(57, 30) Source(33, 36) + SourceIndex(0) --- >>> Greeter = __decorate([ 1 >^^^^ @@ -652,8 +653,8 @@ sourceFile:sourceMapValidationDecorators.ts 3 > ^^^^^^^^^^^^^^-> 1 > 2 > Greeter -1 >Emitted(57, 5) Source(10, 7) + SourceIndex(0) -2 >Emitted(57, 12) Source(10, 14) + SourceIndex(0) +1 >Emitted(58, 5) Source(10, 7) + SourceIndex(0) +2 >Emitted(58, 12) Source(10, 14) + SourceIndex(0) --- >>> ClassDecorator1, 1->^^^^^^^^ @@ -661,8 +662,8 @@ sourceFile:sourceMapValidationDecorators.ts 3 > ^^^^^^-> 1-> 2 > ClassDecorator1 -1->Emitted(58, 9) Source(8, 2) + SourceIndex(0) -2 >Emitted(58, 24) Source(8, 17) + SourceIndex(0) +1->Emitted(59, 9) Source(8, 2) + SourceIndex(0) +2 >Emitted(59, 24) Source(8, 17) + SourceIndex(0) --- >>> ClassDecorator2(10), 1->^^^^^^^^ @@ -677,11 +678,11 @@ sourceFile:sourceMapValidationDecorators.ts 3 > ( 4 > 10 5 > ) -1->Emitted(59, 9) Source(9, 2) + SourceIndex(0) -2 >Emitted(59, 24) Source(9, 17) + SourceIndex(0) -3 >Emitted(59, 25) Source(9, 18) + SourceIndex(0) -4 >Emitted(59, 27) Source(9, 20) + SourceIndex(0) -5 >Emitted(59, 28) Source(9, 21) + SourceIndex(0) +1->Emitted(60, 9) Source(9, 2) + SourceIndex(0) +2 >Emitted(60, 24) Source(9, 17) + SourceIndex(0) +3 >Emitted(60, 25) Source(9, 18) + SourceIndex(0) +4 >Emitted(60, 27) Source(9, 20) + SourceIndex(0) +5 >Emitted(60, 28) Source(9, 21) + SourceIndex(0) --- >>> __param(0, ParameterDecorator1), 1->^^^^^^^^ @@ -696,10 +697,10 @@ sourceFile:sourceMapValidationDecorators.ts 2 > 3 > ParameterDecorator1 4 > -1->Emitted(60, 9) Source(12, 8) + SourceIndex(0) -2 >Emitted(60, 20) Source(12, 8) + SourceIndex(0) -3 >Emitted(60, 39) Source(12, 27) + SourceIndex(0) -4 >Emitted(60, 40) Source(12, 27) + SourceIndex(0) +1->Emitted(61, 9) Source(12, 8) + SourceIndex(0) +2 >Emitted(61, 20) Source(12, 8) + SourceIndex(0) +3 >Emitted(61, 39) Source(12, 27) + SourceIndex(0) +4 >Emitted(61, 40) Source(12, 27) + SourceIndex(0) --- >>> __param(0, ParameterDecorator2(20)), 1->^^^^^^^^ @@ -717,13 +718,13 @@ sourceFile:sourceMapValidationDecorators.ts 5 > 20 6 > ) 7 > -1->Emitted(61, 9) Source(13, 8) + SourceIndex(0) -2 >Emitted(61, 20) Source(13, 8) + SourceIndex(0) -3 >Emitted(61, 39) Source(13, 27) + SourceIndex(0) -4 >Emitted(61, 40) Source(13, 28) + SourceIndex(0) -5 >Emitted(61, 42) Source(13, 30) + SourceIndex(0) -6 >Emitted(61, 43) Source(13, 31) + SourceIndex(0) -7 >Emitted(61, 44) Source(13, 31) + SourceIndex(0) +1->Emitted(62, 9) Source(13, 8) + SourceIndex(0) +2 >Emitted(62, 20) Source(13, 8) + SourceIndex(0) +3 >Emitted(62, 39) Source(13, 27) + SourceIndex(0) +4 >Emitted(62, 40) Source(13, 28) + SourceIndex(0) +5 >Emitted(62, 42) Source(13, 30) + SourceIndex(0) +6 >Emitted(62, 43) Source(13, 31) + SourceIndex(0) +7 >Emitted(62, 44) Source(13, 31) + SourceIndex(0) --- >>> __param(1, ParameterDecorator1), 1 >^^^^^^^^ @@ -738,10 +739,10 @@ sourceFile:sourceMapValidationDecorators.ts 2 > 3 > ParameterDecorator1 4 > -1 >Emitted(62, 9) Source(16, 8) + SourceIndex(0) -2 >Emitted(62, 20) Source(16, 8) + SourceIndex(0) -3 >Emitted(62, 39) Source(16, 27) + SourceIndex(0) -4 >Emitted(62, 40) Source(16, 27) + SourceIndex(0) +1 >Emitted(63, 9) Source(16, 8) + SourceIndex(0) +2 >Emitted(63, 20) Source(16, 8) + SourceIndex(0) +3 >Emitted(63, 39) Source(16, 27) + SourceIndex(0) +4 >Emitted(63, 40) Source(16, 27) + SourceIndex(0) --- >>> __param(1, ParameterDecorator2(30)) 1->^^^^^^^^ @@ -759,13 +760,13 @@ sourceFile:sourceMapValidationDecorators.ts 5 > 30 6 > ) 7 > -1->Emitted(63, 9) Source(17, 8) + SourceIndex(0) -2 >Emitted(63, 20) Source(17, 8) + SourceIndex(0) -3 >Emitted(63, 39) Source(17, 27) + SourceIndex(0) -4 >Emitted(63, 40) Source(17, 28) + SourceIndex(0) -5 >Emitted(63, 42) Source(17, 30) + SourceIndex(0) -6 >Emitted(63, 43) Source(17, 31) + SourceIndex(0) -7 >Emitted(63, 44) Source(17, 31) + SourceIndex(0) +1->Emitted(64, 9) Source(17, 8) + SourceIndex(0) +2 >Emitted(64, 20) Source(17, 8) + SourceIndex(0) +3 >Emitted(64, 39) Source(17, 27) + SourceIndex(0) +4 >Emitted(64, 40) Source(17, 28) + SourceIndex(0) +5 >Emitted(64, 42) Source(17, 30) + SourceIndex(0) +6 >Emitted(64, 43) Source(17, 31) + SourceIndex(0) +7 >Emitted(64, 44) Source(17, 31) + SourceIndex(0) --- >>> ], Greeter); 1 >^^^^^^^ @@ -819,17 +820,17 @@ sourceFile:sourceMapValidationDecorators.ts > this.greeting = greetings; > } > } -1 >Emitted(64, 8) Source(10, 7) + SourceIndex(0) -2 >Emitted(64, 15) Source(10, 14) + SourceIndex(0) -3 >Emitted(64, 16) Source(54, 2) + SourceIndex(0) +1 >Emitted(65, 8) Source(10, 7) + SourceIndex(0) +2 >Emitted(65, 15) Source(10, 14) + SourceIndex(0) +3 >Emitted(65, 16) Source(54, 2) + SourceIndex(0) --- >>> return Greeter; 1->^^^^ 2 > ^^^^^^^^^^^^^^ 1-> 2 > } -1->Emitted(65, 5) Source(54, 1) + SourceIndex(0) -2 >Emitted(65, 19) Source(54, 2) + SourceIndex(0) +1->Emitted(66, 5) Source(54, 1) + SourceIndex(0) +2 >Emitted(66, 19) Source(54, 2) + SourceIndex(0) --- >>>}()); 1 >^ @@ -883,8 +884,8 @@ sourceFile:sourceMapValidationDecorators.ts > this.greeting = greetings; > } > } -1 >Emitted(66, 2) Source(54, 2) + SourceIndex(0) -2 >Emitted(66, 2) Source(10, 1) + SourceIndex(0) -3 >Emitted(66, 6) Source(54, 2) + SourceIndex(0) +1 >Emitted(67, 2) Source(54, 2) + SourceIndex(0) +2 >Emitted(67, 2) Source(10, 1) + SourceIndex(0) +3 >Emitted(67, 6) Source(54, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDecorators.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.js b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.js index cc1618d007b5b..9ccdddbf1ab22 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.js @@ -95,6 +95,7 @@ for (let [...multiRobotAInfo] = ["trimmer", ["trimming", "edging"]], i = 0; i < } //// [sourceMapValidationDestructuringForArrayBindingPattern.js] +"use strict"; var robotA = [1, "mower", "mowing"]; function getRobot() { return robotA; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.js.map index 10a235fac8aa7..ed7b778d3361d 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForArrayBindingPattern.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForArrayBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForArrayBindingPattern.ts"],"names":[],"mappings":"AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,SAAS,QAAQ;IACb,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,IAAI,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UubG9nKG11bHRpUm9ib3RBSW5mbyk7Cn0KZm9yIChsZXQgWy4uLm11bHRpUm9ib3RBSW5mb10gPSBnZXRNdWx0aVJvYm90KCksIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9CmZvciAobGV0IFsuLi5tdWx0aVJvYm90QUluZm9dID0gWyJ0cmltbWVyIiwgWyJ0cmltbWluZyIsICJlZGdpbmciXV0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9 +{"version":3,"file":"sourceMapValidationDestructuringForArrayBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForArrayBindingPattern.ts"],"names":[],"mappings":";AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,SAAS,QAAQ;IACb,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,SAAS,aAAa;IAClB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,KAAY,IAAA,KAAK,GAAI,MAAM,GAAV,EAAY,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAC7C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAS,IAAA,KAAY,QAAQ,EAAE,EAAnB,KAAK,QAAA,EAAgB,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACjD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KA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JpbW1pbmciLCAiZWRnaW5nIl1dLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobmFtZU1BKTsKfQoKZm9yIChsZXQgW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSA9IHJvYm90QSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMsIC4uLnJvYm90QUluZm9dID0gZ2V0Um9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMsIC4uLnJvYm90QUluZm9dID0gWzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChsZXQgWy4uLm11bHRpUm9ib3RBSW5mb10gPSBtdWx0aVJvYm90QSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG11bHRpUm9ib3RBSW5mbyk7Cn0KZm9yIChsZXQgWy4uLm11bHRpUm9ib3RBSW5mb10gPSBnZXRNdWx0aVJvYm90KCksIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9CmZvciAobGV0IFsuLi5tdWx0aVJvYm90QUluZm9dID0gWyJ0cmltbWVyIiwgWyJ0cmltbWluZyIsICJlZGdpbmciXV0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.sourcemap.txt index f74d80be9ba30..f24b6fad34c98 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForArrayBindingPattern.ts emittedFile:sourceMapValidationDestructuringForArrayBindingPattern.js sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = [1, "mower", "mowing"]; 1 > 2 >^^^^ @@ -39,18 +40,18 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 10> "mowing" 11> ] 12> ; -1 >Emitted(1, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(7, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(7, 21) + SourceIndex(0) -5 >Emitted(1, 15) Source(7, 22) + SourceIndex(0) -6 >Emitted(1, 16) Source(7, 23) + SourceIndex(0) -7 >Emitted(1, 18) Source(7, 25) + SourceIndex(0) -8 >Emitted(1, 25) Source(7, 32) + SourceIndex(0) -9 >Emitted(1, 27) Source(7, 34) + SourceIndex(0) -10>Emitted(1, 35) Source(7, 42) + SourceIndex(0) -11>Emitted(1, 36) Source(7, 43) + SourceIndex(0) -12>Emitted(1, 37) Source(7, 44) + SourceIndex(0) +1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(7, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(7, 21) + SourceIndex(0) +5 >Emitted(2, 15) Source(7, 22) + SourceIndex(0) +6 >Emitted(2, 16) Source(7, 23) + SourceIndex(0) +7 >Emitted(2, 18) Source(7, 25) + SourceIndex(0) +8 >Emitted(2, 25) Source(7, 32) + SourceIndex(0) +9 >Emitted(2, 27) Source(7, 34) + SourceIndex(0) +10>Emitted(2, 35) Source(7, 42) + SourceIndex(0) +11>Emitted(2, 36) Source(7, 43) + SourceIndex(0) +12>Emitted(2, 37) Source(7, 44) + SourceIndex(0) --- >>>function getRobot() { 1 > @@ -61,9 +62,9 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts > 2 >function 3 > getRobot -1 >Emitted(2, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(2, 10) Source(8, 10) + SourceIndex(0) -3 >Emitted(2, 18) Source(8, 18) + SourceIndex(0) +1 >Emitted(3, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(3, 10) Source(8, 10) + SourceIndex(0) +3 >Emitted(3, 18) Source(8, 18) + SourceIndex(0) --- >>> return robotA; 1->^^^^ @@ -75,10 +76,10 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 2 > return 3 > robotA 4 > ; -1->Emitted(3, 5) Source(9, 5) + SourceIndex(0) -2 >Emitted(3, 12) Source(9, 12) + SourceIndex(0) -3 >Emitted(3, 18) Source(9, 18) + SourceIndex(0) -4 >Emitted(3, 19) Source(9, 19) + SourceIndex(0) +1->Emitted(4, 5) Source(9, 5) + SourceIndex(0) +2 >Emitted(4, 12) Source(9, 12) + SourceIndex(0) +3 >Emitted(4, 18) Source(9, 18) + SourceIndex(0) +4 >Emitted(4, 19) Source(9, 19) + SourceIndex(0) --- >>>} 1 > @@ -87,8 +88,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(4, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(4, 2) Source(10, 2) + SourceIndex(0) +1 >Emitted(5, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(5, 2) Source(10, 2) + SourceIndex(0) --- >>>var multiRobotA = ["mower", ["mowing", ""]]; 1-> @@ -122,20 +123,20 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 12> ] 13> ] 14> ; -1->Emitted(5, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(5, 5) Source(12, 5) + SourceIndex(0) -3 >Emitted(5, 16) Source(12, 16) + SourceIndex(0) -4 >Emitted(5, 19) Source(12, 38) + SourceIndex(0) -5 >Emitted(5, 20) Source(12, 39) + SourceIndex(0) -6 >Emitted(5, 27) Source(12, 46) + SourceIndex(0) -7 >Emitted(5, 29) Source(12, 48) + SourceIndex(0) -8 >Emitted(5, 30) Source(12, 49) + SourceIndex(0) -9 >Emitted(5, 38) Source(12, 57) + SourceIndex(0) -10>Emitted(5, 40) Source(12, 59) + SourceIndex(0) -11>Emitted(5, 42) Source(12, 61) + SourceIndex(0) -12>Emitted(5, 43) Source(12, 62) + SourceIndex(0) -13>Emitted(5, 44) Source(12, 63) + SourceIndex(0) -14>Emitted(5, 45) Source(12, 64) + SourceIndex(0) +1->Emitted(6, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(6, 5) Source(12, 5) + SourceIndex(0) +3 >Emitted(6, 16) Source(12, 16) + SourceIndex(0) +4 >Emitted(6, 19) Source(12, 38) + SourceIndex(0) +5 >Emitted(6, 20) Source(12, 39) + SourceIndex(0) +6 >Emitted(6, 27) Source(12, 46) + SourceIndex(0) +7 >Emitted(6, 29) Source(12, 48) + SourceIndex(0) +8 >Emitted(6, 30) Source(12, 49) + SourceIndex(0) +9 >Emitted(6, 38) Source(12, 57) + SourceIndex(0) +10>Emitted(6, 40) Source(12, 59) + SourceIndex(0) +11>Emitted(6, 42) Source(12, 61) + SourceIndex(0) +12>Emitted(6, 43) Source(12, 62) + SourceIndex(0) +13>Emitted(6, 44) Source(12, 63) + SourceIndex(0) +14>Emitted(6, 45) Source(12, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -167,20 +168,20 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 12> ] 13> ] 14> ; -1->Emitted(6, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(6, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(6, 16) Source(13, 16) + SourceIndex(0) -4 >Emitted(6, 19) Source(13, 38) + SourceIndex(0) -5 >Emitted(6, 20) Source(13, 39) + SourceIndex(0) -6 >Emitted(6, 29) Source(13, 48) + SourceIndex(0) -7 >Emitted(6, 31) Source(13, 50) + SourceIndex(0) -8 >Emitted(6, 32) Source(13, 51) + SourceIndex(0) -9 >Emitted(6, 42) Source(13, 61) + SourceIndex(0) -10>Emitted(6, 44) Source(13, 63) + SourceIndex(0) -11>Emitted(6, 52) Source(13, 71) + SourceIndex(0) -12>Emitted(6, 53) Source(13, 72) + SourceIndex(0) -13>Emitted(6, 54) Source(13, 73) + SourceIndex(0) -14>Emitted(6, 55) Source(13, 74) + SourceIndex(0) +1->Emitted(7, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(7, 16) Source(13, 16) + SourceIndex(0) +4 >Emitted(7, 19) Source(13, 38) + SourceIndex(0) +5 >Emitted(7, 20) Source(13, 39) + SourceIndex(0) +6 >Emitted(7, 29) Source(13, 48) + SourceIndex(0) +7 >Emitted(7, 31) Source(13, 50) + SourceIndex(0) +8 >Emitted(7, 32) Source(13, 51) + SourceIndex(0) +9 >Emitted(7, 42) Source(13, 61) + SourceIndex(0) +10>Emitted(7, 44) Source(13, 63) + SourceIndex(0) +11>Emitted(7, 52) Source(13, 71) + SourceIndex(0) +12>Emitted(7, 53) Source(13, 72) + SourceIndex(0) +13>Emitted(7, 54) Source(13, 73) + SourceIndex(0) +14>Emitted(7, 55) Source(13, 74) + SourceIndex(0) --- >>>function getMultiRobot() { 1 > @@ -191,9 +192,9 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts > 2 >function 3 > getMultiRobot -1 >Emitted(7, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(7, 10) Source(14, 10) + SourceIndex(0) -3 >Emitted(7, 23) Source(14, 23) + SourceIndex(0) +1 >Emitted(8, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(8, 10) Source(14, 10) + SourceIndex(0) +3 >Emitted(8, 23) Source(14, 23) + SourceIndex(0) --- >>> return multiRobotA; 1->^^^^ @@ -205,10 +206,10 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 2 > return 3 > multiRobotA 4 > ; -1->Emitted(8, 5) Source(15, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(15, 12) + SourceIndex(0) -3 >Emitted(8, 23) Source(15, 23) + SourceIndex(0) -4 >Emitted(8, 24) Source(15, 24) + SourceIndex(0) +1->Emitted(9, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(15, 12) + SourceIndex(0) +3 >Emitted(9, 23) Source(15, 23) + SourceIndex(0) +4 >Emitted(9, 24) Source(15, 24) + SourceIndex(0) --- >>>} 1 > @@ -217,8 +218,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(9, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(16, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(16, 2) + SourceIndex(0) --- >>>for (var nameA = robotA[1], i = 0; i < 1; i++) { 1-> @@ -263,26 +264,26 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 18> ++ 19> ) 20> { -1->Emitted(10, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(10, 6) Source(18, 13) + SourceIndex(0) -3 >Emitted(10, 10) Source(18, 13) + SourceIndex(0) -4 >Emitted(10, 15) Source(18, 18) + SourceIndex(0) -5 >Emitted(10, 18) Source(18, 22) + SourceIndex(0) -6 >Emitted(10, 24) Source(18, 28) + SourceIndex(0) -7 >Emitted(10, 27) Source(18, 18) + SourceIndex(0) -8 >Emitted(10, 29) Source(18, 30) + SourceIndex(0) -9 >Emitted(10, 30) Source(18, 31) + SourceIndex(0) -10>Emitted(10, 33) Source(18, 34) + SourceIndex(0) -11>Emitted(10, 34) Source(18, 35) + SourceIndex(0) -12>Emitted(10, 36) Source(18, 37) + SourceIndex(0) -13>Emitted(10, 37) Source(18, 38) + SourceIndex(0) -14>Emitted(10, 40) Source(18, 41) + SourceIndex(0) -15>Emitted(10, 41) Source(18, 42) + SourceIndex(0) -16>Emitted(10, 43) Source(18, 44) + SourceIndex(0) -17>Emitted(10, 44) Source(18, 45) + SourceIndex(0) -18>Emitted(10, 46) Source(18, 47) + SourceIndex(0) -19>Emitted(10, 48) Source(18, 49) + SourceIndex(0) -20>Emitted(10, 49) Source(18, 50) + SourceIndex(0) +1->Emitted(11, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(11, 6) Source(18, 13) + SourceIndex(0) +3 >Emitted(11, 10) Source(18, 13) + SourceIndex(0) +4 >Emitted(11, 15) Source(18, 18) + SourceIndex(0) +5 >Emitted(11, 18) Source(18, 22) + SourceIndex(0) +6 >Emitted(11, 24) Source(18, 28) + SourceIndex(0) +7 >Emitted(11, 27) Source(18, 18) + SourceIndex(0) +8 >Emitted(11, 29) Source(18, 30) + SourceIndex(0) +9 >Emitted(11, 30) Source(18, 31) + SourceIndex(0) +10>Emitted(11, 33) Source(18, 34) + SourceIndex(0) +11>Emitted(11, 34) Source(18, 35) + SourceIndex(0) +12>Emitted(11, 36) Source(18, 37) + SourceIndex(0) +13>Emitted(11, 37) Source(18, 38) + SourceIndex(0) +14>Emitted(11, 40) Source(18, 41) + SourceIndex(0) +15>Emitted(11, 41) Source(18, 42) + SourceIndex(0) +16>Emitted(11, 43) Source(18, 44) + SourceIndex(0) +17>Emitted(11, 44) Source(18, 45) + SourceIndex(0) +18>Emitted(11, 46) Source(18, 47) + SourceIndex(0) +19>Emitted(11, 48) Source(18, 49) + SourceIndex(0) +20>Emitted(11, 49) Source(18, 50) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -302,14 +303,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(11, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(11, 12) Source(19, 12) + SourceIndex(0) -3 >Emitted(11, 13) Source(19, 13) + SourceIndex(0) -4 >Emitted(11, 16) Source(19, 16) + SourceIndex(0) -5 >Emitted(11, 17) Source(19, 17) + SourceIndex(0) -6 >Emitted(11, 22) Source(19, 22) + SourceIndex(0) -7 >Emitted(11, 23) Source(19, 23) + SourceIndex(0) -8 >Emitted(11, 24) Source(19, 24) + SourceIndex(0) +1 >Emitted(12, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(12, 12) Source(19, 12) + SourceIndex(0) +3 >Emitted(12, 13) Source(19, 13) + SourceIndex(0) +4 >Emitted(12, 16) Source(19, 16) + SourceIndex(0) +5 >Emitted(12, 17) Source(19, 17) + SourceIndex(0) +6 >Emitted(12, 22) Source(19, 22) + SourceIndex(0) +7 >Emitted(12, 23) Source(19, 23) + SourceIndex(0) +8 >Emitted(12, 24) Source(19, 24) + SourceIndex(0) --- >>>} 1 > @@ -318,8 +319,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(12, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(12, 2) Source(20, 2) + SourceIndex(0) +1 >Emitted(13, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(13, 2) Source(20, 2) + SourceIndex(0) --- >>>for (var _a = getRobot(), nameA = _a[1], i = 0; i < 1; i++) { 1-> @@ -367,28 +368,28 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 20> ++ 21> ) 22> { -1->Emitted(13, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(13, 6) Source(21, 10) + SourceIndex(0) -3 >Emitted(13, 10) Source(21, 10) + SourceIndex(0) -4 >Emitted(13, 15) Source(21, 22) + SourceIndex(0) -5 >Emitted(13, 23) Source(21, 30) + SourceIndex(0) -6 >Emitted(13, 25) Source(21, 32) + SourceIndex(0) -7 >Emitted(13, 27) Source(21, 13) + SourceIndex(0) -8 >Emitted(13, 32) Source(21, 18) + SourceIndex(0) -9 >Emitted(13, 40) Source(21, 18) + SourceIndex(0) -10>Emitted(13, 42) Source(21, 34) + SourceIndex(0) -11>Emitted(13, 43) Source(21, 35) + SourceIndex(0) -12>Emitted(13, 46) Source(21, 38) + SourceIndex(0) -13>Emitted(13, 47) Source(21, 39) + SourceIndex(0) -14>Emitted(13, 49) Source(21, 41) + SourceIndex(0) -15>Emitted(13, 50) Source(21, 42) + SourceIndex(0) -16>Emitted(13, 53) Source(21, 45) + SourceIndex(0) -17>Emitted(13, 54) Source(21, 46) + SourceIndex(0) -18>Emitted(13, 56) Source(21, 48) + SourceIndex(0) -19>Emitted(13, 57) Source(21, 49) + SourceIndex(0) -20>Emitted(13, 59) Source(21, 51) + SourceIndex(0) -21>Emitted(13, 61) Source(21, 53) + SourceIndex(0) -22>Emitted(13, 62) Source(21, 54) + SourceIndex(0) +1->Emitted(14, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(14, 6) Source(21, 10) + SourceIndex(0) +3 >Emitted(14, 10) Source(21, 10) + SourceIndex(0) +4 >Emitted(14, 15) Source(21, 22) + SourceIndex(0) +5 >Emitted(14, 23) Source(21, 30) + SourceIndex(0) +6 >Emitted(14, 25) Source(21, 32) + SourceIndex(0) +7 >Emitted(14, 27) Source(21, 13) + SourceIndex(0) +8 >Emitted(14, 32) Source(21, 18) + SourceIndex(0) +9 >Emitted(14, 40) Source(21, 18) + SourceIndex(0) +10>Emitted(14, 42) Source(21, 34) + SourceIndex(0) +11>Emitted(14, 43) Source(21, 35) + SourceIndex(0) +12>Emitted(14, 46) Source(21, 38) + SourceIndex(0) +13>Emitted(14, 47) Source(21, 39) + SourceIndex(0) +14>Emitted(14, 49) Source(21, 41) + SourceIndex(0) +15>Emitted(14, 50) Source(21, 42) + SourceIndex(0) +16>Emitted(14, 53) Source(21, 45) + SourceIndex(0) +17>Emitted(14, 54) Source(21, 46) + SourceIndex(0) +18>Emitted(14, 56) Source(21, 48) + SourceIndex(0) +19>Emitted(14, 57) Source(21, 49) + SourceIndex(0) +20>Emitted(14, 59) Source(21, 51) + SourceIndex(0) +21>Emitted(14, 61) Source(21, 53) + SourceIndex(0) +22>Emitted(14, 62) Source(21, 54) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -408,14 +409,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(14, 5) Source(22, 5) + SourceIndex(0) -2 >Emitted(14, 12) Source(22, 12) + SourceIndex(0) -3 >Emitted(14, 13) Source(22, 13) + SourceIndex(0) -4 >Emitted(14, 16) Source(22, 16) + SourceIndex(0) -5 >Emitted(14, 17) Source(22, 17) + SourceIndex(0) -6 >Emitted(14, 22) Source(22, 22) + SourceIndex(0) -7 >Emitted(14, 23) Source(22, 23) + SourceIndex(0) -8 >Emitted(14, 24) Source(22, 24) + SourceIndex(0) +1 >Emitted(15, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(15, 12) Source(22, 12) + SourceIndex(0) +3 >Emitted(15, 13) Source(22, 13) + SourceIndex(0) +4 >Emitted(15, 16) Source(22, 16) + SourceIndex(0) +5 >Emitted(15, 17) Source(22, 17) + SourceIndex(0) +6 >Emitted(15, 22) Source(22, 22) + SourceIndex(0) +7 >Emitted(15, 23) Source(22, 23) + SourceIndex(0) +8 >Emitted(15, 24) Source(22, 24) + SourceIndex(0) --- >>>} 1 > @@ -424,8 +425,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(15, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(15, 2) Source(23, 2) + SourceIndex(0) +1 >Emitted(16, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(16, 2) Source(23, 2) + SourceIndex(0) --- >>>for (var _b = [2, "trimmer", "trimming"], nameA = _b[1], i = 0; i < 1; i++) { 1-> @@ -483,33 +484,33 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 25> ++ 26> ) 27> { -1->Emitted(16, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(16, 6) Source(24, 10) + SourceIndex(0) -3 >Emitted(16, 10) Source(24, 10) + SourceIndex(0) -4 >Emitted(16, 15) Source(24, 22) + SourceIndex(0) -5 >Emitted(16, 16) Source(24, 23) + SourceIndex(0) -6 >Emitted(16, 17) Source(24, 24) + SourceIndex(0) -7 >Emitted(16, 19) Source(24, 26) + SourceIndex(0) -8 >Emitted(16, 28) Source(24, 35) + SourceIndex(0) -9 >Emitted(16, 30) Source(24, 37) + SourceIndex(0) -10>Emitted(16, 40) Source(24, 47) + SourceIndex(0) -11>Emitted(16, 41) Source(24, 48) + SourceIndex(0) -12>Emitted(16, 43) Source(24, 13) + SourceIndex(0) -13>Emitted(16, 48) Source(24, 18) + SourceIndex(0) -14>Emitted(16, 56) Source(24, 18) + SourceIndex(0) -15>Emitted(16, 58) Source(24, 50) + SourceIndex(0) -16>Emitted(16, 59) Source(24, 51) + SourceIndex(0) -17>Emitted(16, 62) Source(24, 54) + SourceIndex(0) -18>Emitted(16, 63) Source(24, 55) + SourceIndex(0) -19>Emitted(16, 65) Source(24, 57) + SourceIndex(0) -20>Emitted(16, 66) Source(24, 58) + SourceIndex(0) -21>Emitted(16, 69) Source(24, 61) + SourceIndex(0) -22>Emitted(16, 70) Source(24, 62) + SourceIndex(0) -23>Emitted(16, 72) Source(24, 64) + SourceIndex(0) -24>Emitted(16, 73) Source(24, 65) + SourceIndex(0) -25>Emitted(16, 75) Source(24, 67) + SourceIndex(0) -26>Emitted(16, 77) Source(24, 69) + SourceIndex(0) -27>Emitted(16, 78) Source(24, 70) + SourceIndex(0) +1->Emitted(17, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(17, 6) Source(24, 10) + SourceIndex(0) +3 >Emitted(17, 10) Source(24, 10) + SourceIndex(0) +4 >Emitted(17, 15) Source(24, 22) + SourceIndex(0) +5 >Emitted(17, 16) Source(24, 23) + SourceIndex(0) +6 >Emitted(17, 17) Source(24, 24) + SourceIndex(0) +7 >Emitted(17, 19) Source(24, 26) + SourceIndex(0) +8 >Emitted(17, 28) Source(24, 35) + SourceIndex(0) +9 >Emitted(17, 30) Source(24, 37) + SourceIndex(0) +10>Emitted(17, 40) Source(24, 47) + SourceIndex(0) +11>Emitted(17, 41) Source(24, 48) + SourceIndex(0) +12>Emitted(17, 43) Source(24, 13) + SourceIndex(0) +13>Emitted(17, 48) Source(24, 18) + SourceIndex(0) +14>Emitted(17, 56) Source(24, 18) + SourceIndex(0) +15>Emitted(17, 58) Source(24, 50) + SourceIndex(0) +16>Emitted(17, 59) Source(24, 51) + SourceIndex(0) +17>Emitted(17, 62) Source(24, 54) + SourceIndex(0) +18>Emitted(17, 63) Source(24, 55) + SourceIndex(0) +19>Emitted(17, 65) Source(24, 57) + SourceIndex(0) +20>Emitted(17, 66) Source(24, 58) + SourceIndex(0) +21>Emitted(17, 69) Source(24, 61) + SourceIndex(0) +22>Emitted(17, 70) Source(24, 62) + SourceIndex(0) +23>Emitted(17, 72) Source(24, 64) + SourceIndex(0) +24>Emitted(17, 73) Source(24, 65) + SourceIndex(0) +25>Emitted(17, 75) Source(24, 67) + SourceIndex(0) +26>Emitted(17, 77) Source(24, 69) + SourceIndex(0) +27>Emitted(17, 78) Source(24, 70) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -529,14 +530,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(17, 5) Source(25, 5) + SourceIndex(0) -2 >Emitted(17, 12) Source(25, 12) + SourceIndex(0) -3 >Emitted(17, 13) Source(25, 13) + SourceIndex(0) -4 >Emitted(17, 16) Source(25, 16) + SourceIndex(0) -5 >Emitted(17, 17) Source(25, 17) + SourceIndex(0) -6 >Emitted(17, 22) Source(25, 22) + SourceIndex(0) -7 >Emitted(17, 23) Source(25, 23) + SourceIndex(0) -8 >Emitted(17, 24) Source(25, 24) + SourceIndex(0) +1 >Emitted(18, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(18, 12) Source(25, 12) + SourceIndex(0) +3 >Emitted(18, 13) Source(25, 13) + SourceIndex(0) +4 >Emitted(18, 16) Source(25, 16) + SourceIndex(0) +5 >Emitted(18, 17) Source(25, 17) + SourceIndex(0) +6 >Emitted(18, 22) Source(25, 22) + SourceIndex(0) +7 >Emitted(18, 23) Source(25, 23) + SourceIndex(0) +8 >Emitted(18, 24) Source(25, 24) + SourceIndex(0) --- >>>} 1 > @@ -545,8 +546,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(18, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(18, 2) Source(26, 2) + SourceIndex(0) +1 >Emitted(19, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(26, 2) + SourceIndex(0) --- >>>for (var _c = multiRobotA[1], primarySkillA = _c[0], secondarySkillA = _c[1], i = 0; i < 1; i++) { 1-> @@ -600,31 +601,31 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 23> ++ 24> ) 25> { -1->Emitted(19, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(19, 6) Source(27, 13) + SourceIndex(0) -3 >Emitted(19, 10) Source(27, 13) + SourceIndex(0) -4 >Emitted(19, 15) Source(27, 49) + SourceIndex(0) -5 >Emitted(19, 26) Source(27, 60) + SourceIndex(0) -6 >Emitted(19, 29) Source(27, 45) + SourceIndex(0) -7 >Emitted(19, 31) Source(27, 14) + SourceIndex(0) -8 >Emitted(19, 44) Source(27, 27) + SourceIndex(0) -9 >Emitted(19, 52) Source(27, 27) + SourceIndex(0) -10>Emitted(19, 54) Source(27, 29) + SourceIndex(0) -11>Emitted(19, 69) Source(27, 44) + SourceIndex(0) -12>Emitted(19, 77) Source(27, 44) + SourceIndex(0) -13>Emitted(19, 79) Source(27, 62) + SourceIndex(0) -14>Emitted(19, 80) Source(27, 63) + SourceIndex(0) -15>Emitted(19, 83) Source(27, 66) + SourceIndex(0) -16>Emitted(19, 84) Source(27, 67) + SourceIndex(0) -17>Emitted(19, 86) Source(27, 69) + SourceIndex(0) -18>Emitted(19, 87) Source(27, 70) + SourceIndex(0) -19>Emitted(19, 90) Source(27, 73) + SourceIndex(0) -20>Emitted(19, 91) Source(27, 74) + SourceIndex(0) -21>Emitted(19, 93) Source(27, 76) + SourceIndex(0) -22>Emitted(19, 94) Source(27, 77) + SourceIndex(0) -23>Emitted(19, 96) Source(27, 79) + SourceIndex(0) -24>Emitted(19, 98) Source(27, 81) + SourceIndex(0) -25>Emitted(19, 99) Source(27, 82) + SourceIndex(0) +1->Emitted(20, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(20, 6) Source(27, 13) + SourceIndex(0) +3 >Emitted(20, 10) Source(27, 13) + SourceIndex(0) +4 >Emitted(20, 15) Source(27, 49) + SourceIndex(0) +5 >Emitted(20, 26) Source(27, 60) + SourceIndex(0) +6 >Emitted(20, 29) Source(27, 45) + SourceIndex(0) +7 >Emitted(20, 31) Source(27, 14) + SourceIndex(0) +8 >Emitted(20, 44) Source(27, 27) + SourceIndex(0) +9 >Emitted(20, 52) Source(27, 27) + SourceIndex(0) +10>Emitted(20, 54) Source(27, 29) + SourceIndex(0) +11>Emitted(20, 69) Source(27, 44) + SourceIndex(0) +12>Emitted(20, 77) Source(27, 44) + SourceIndex(0) +13>Emitted(20, 79) Source(27, 62) + SourceIndex(0) +14>Emitted(20, 80) Source(27, 63) + SourceIndex(0) +15>Emitted(20, 83) Source(27, 66) + SourceIndex(0) +16>Emitted(20, 84) Source(27, 67) + SourceIndex(0) +17>Emitted(20, 86) Source(27, 69) + SourceIndex(0) +18>Emitted(20, 87) Source(27, 70) + SourceIndex(0) +19>Emitted(20, 90) Source(27, 73) + SourceIndex(0) +20>Emitted(20, 91) Source(27, 74) + SourceIndex(0) +21>Emitted(20, 93) Source(27, 76) + SourceIndex(0) +22>Emitted(20, 94) Source(27, 77) + SourceIndex(0) +23>Emitted(20, 96) Source(27, 79) + SourceIndex(0) +24>Emitted(20, 98) Source(27, 81) + SourceIndex(0) +25>Emitted(20, 99) Source(27, 82) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -644,14 +645,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(20, 5) Source(28, 5) + SourceIndex(0) -2 >Emitted(20, 12) Source(28, 12) + SourceIndex(0) -3 >Emitted(20, 13) Source(28, 13) + SourceIndex(0) -4 >Emitted(20, 16) Source(28, 16) + SourceIndex(0) -5 >Emitted(20, 17) Source(28, 17) + SourceIndex(0) -6 >Emitted(20, 30) Source(28, 30) + SourceIndex(0) -7 >Emitted(20, 31) Source(28, 31) + SourceIndex(0) -8 >Emitted(20, 32) Source(28, 32) + SourceIndex(0) +1 >Emitted(21, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(21, 12) Source(28, 12) + SourceIndex(0) +3 >Emitted(21, 13) Source(28, 13) + SourceIndex(0) +4 >Emitted(21, 16) Source(28, 16) + SourceIndex(0) +5 >Emitted(21, 17) Source(28, 17) + SourceIndex(0) +6 >Emitted(21, 30) Source(28, 30) + SourceIndex(0) +7 >Emitted(21, 31) Source(28, 31) + SourceIndex(0) +8 >Emitted(21, 32) Source(28, 32) + SourceIndex(0) --- >>>} 1 > @@ -660,8 +661,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(21, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(21, 2) Source(29, 2) + SourceIndex(0) +1 >Emitted(22, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(22, 2) Source(29, 2) + SourceIndex(0) --- >>>for (var _d = getMultiRobot(), _e = _d[1], primarySkillA = _e[0], secondarySkillA = _e[1], i = 0; i < 1; i++) { 1-> @@ -719,33 +720,33 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 25> ++ 26> ) 27> { -1->Emitted(22, 1) Source(30, 1) + SourceIndex(0) -2 >Emitted(22, 6) Source(30, 10) + SourceIndex(0) -3 >Emitted(22, 10) Source(30, 10) + SourceIndex(0) -4 >Emitted(22, 15) Source(30, 49) + SourceIndex(0) -5 >Emitted(22, 28) Source(30, 62) + SourceIndex(0) -6 >Emitted(22, 30) Source(30, 64) + SourceIndex(0) -7 >Emitted(22, 32) Source(30, 13) + SourceIndex(0) -8 >Emitted(22, 42) Source(30, 45) + SourceIndex(0) -9 >Emitted(22, 44) Source(30, 14) + SourceIndex(0) -10>Emitted(22, 57) Source(30, 27) + SourceIndex(0) -11>Emitted(22, 65) Source(30, 27) + SourceIndex(0) -12>Emitted(22, 67) Source(30, 29) + SourceIndex(0) -13>Emitted(22, 82) Source(30, 44) + SourceIndex(0) -14>Emitted(22, 90) Source(30, 44) + SourceIndex(0) -15>Emitted(22, 92) Source(30, 66) + SourceIndex(0) -16>Emitted(22, 93) Source(30, 67) + SourceIndex(0) -17>Emitted(22, 96) Source(30, 70) + SourceIndex(0) -18>Emitted(22, 97) Source(30, 71) + SourceIndex(0) -19>Emitted(22, 99) Source(30, 73) + SourceIndex(0) -20>Emitted(22, 100) Source(30, 74) + SourceIndex(0) -21>Emitted(22, 103) Source(30, 77) + SourceIndex(0) -22>Emitted(22, 104) Source(30, 78) + SourceIndex(0) -23>Emitted(22, 106) Source(30, 80) + SourceIndex(0) -24>Emitted(22, 107) Source(30, 81) + SourceIndex(0) -25>Emitted(22, 109) Source(30, 83) + SourceIndex(0) -26>Emitted(22, 111) Source(30, 85) + SourceIndex(0) -27>Emitted(22, 112) Source(30, 86) + SourceIndex(0) +1->Emitted(23, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(23, 6) Source(30, 10) + SourceIndex(0) +3 >Emitted(23, 10) Source(30, 10) + SourceIndex(0) +4 >Emitted(23, 15) Source(30, 49) + SourceIndex(0) +5 >Emitted(23, 28) Source(30, 62) + SourceIndex(0) +6 >Emitted(23, 30) Source(30, 64) + SourceIndex(0) +7 >Emitted(23, 32) Source(30, 13) + SourceIndex(0) +8 >Emitted(23, 42) Source(30, 45) + SourceIndex(0) +9 >Emitted(23, 44) Source(30, 14) + SourceIndex(0) +10>Emitted(23, 57) Source(30, 27) + SourceIndex(0) +11>Emitted(23, 65) Source(30, 27) + SourceIndex(0) +12>Emitted(23, 67) Source(30, 29) + SourceIndex(0) +13>Emitted(23, 82) Source(30, 44) + SourceIndex(0) +14>Emitted(23, 90) Source(30, 44) + SourceIndex(0) +15>Emitted(23, 92) Source(30, 66) + SourceIndex(0) +16>Emitted(23, 93) Source(30, 67) + SourceIndex(0) +17>Emitted(23, 96) Source(30, 70) + SourceIndex(0) +18>Emitted(23, 97) Source(30, 71) + SourceIndex(0) +19>Emitted(23, 99) Source(30, 73) + SourceIndex(0) +20>Emitted(23, 100) Source(30, 74) + SourceIndex(0) +21>Emitted(23, 103) Source(30, 77) + SourceIndex(0) +22>Emitted(23, 104) Source(30, 78) + SourceIndex(0) +23>Emitted(23, 106) Source(30, 80) + SourceIndex(0) +24>Emitted(23, 107) Source(30, 81) + SourceIndex(0) +25>Emitted(23, 109) Source(30, 83) + SourceIndex(0) +26>Emitted(23, 111) Source(30, 85) + SourceIndex(0) +27>Emitted(23, 112) Source(30, 86) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -765,14 +766,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(23, 5) Source(31, 5) + SourceIndex(0) -2 >Emitted(23, 12) Source(31, 12) + SourceIndex(0) -3 >Emitted(23, 13) Source(31, 13) + SourceIndex(0) -4 >Emitted(23, 16) Source(31, 16) + SourceIndex(0) -5 >Emitted(23, 17) Source(31, 17) + SourceIndex(0) -6 >Emitted(23, 30) Source(31, 30) + SourceIndex(0) -7 >Emitted(23, 31) Source(31, 31) + SourceIndex(0) -8 >Emitted(23, 32) Source(31, 32) + SourceIndex(0) +1 >Emitted(24, 5) Source(31, 5) + SourceIndex(0) +2 >Emitted(24, 12) Source(31, 12) + SourceIndex(0) +3 >Emitted(24, 13) Source(31, 13) + SourceIndex(0) +4 >Emitted(24, 16) Source(31, 16) + SourceIndex(0) +5 >Emitted(24, 17) Source(31, 17) + SourceIndex(0) +6 >Emitted(24, 30) Source(31, 30) + SourceIndex(0) +7 >Emitted(24, 31) Source(31, 31) + SourceIndex(0) +8 >Emitted(24, 32) Source(31, 32) + SourceIndex(0) --- >>>} 1 > @@ -781,8 +782,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(24, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(24, 2) Source(32, 2) + SourceIndex(0) +1 >Emitted(25, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(25, 2) Source(32, 2) + SourceIndex(0) --- >>>for (var _f = ["trimmer", ["trimming", "edging"]], _g = _f[1], primarySkillA = _g[0], secondarySkillA = _g[1], i = 0; i < 1; i++) { 1-> @@ -854,40 +855,40 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 32> ++ 33> ) 34> { -1->Emitted(25, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(25, 6) Source(33, 10) + SourceIndex(0) -3 >Emitted(25, 10) Source(33, 10) + SourceIndex(0) -4 >Emitted(25, 15) Source(33, 49) + SourceIndex(0) -5 >Emitted(25, 16) Source(33, 50) + SourceIndex(0) -6 >Emitted(25, 25) Source(33, 59) + SourceIndex(0) -7 >Emitted(25, 27) Source(33, 61) + SourceIndex(0) -8 >Emitted(25, 28) Source(33, 62) + SourceIndex(0) -9 >Emitted(25, 38) Source(33, 72) + SourceIndex(0) -10>Emitted(25, 40) Source(33, 74) + SourceIndex(0) -11>Emitted(25, 48) Source(33, 82) + SourceIndex(0) -12>Emitted(25, 49) Source(33, 83) + SourceIndex(0) -13>Emitted(25, 50) Source(33, 84) + SourceIndex(0) -14>Emitted(25, 52) Source(33, 13) + SourceIndex(0) -15>Emitted(25, 62) Source(33, 45) + SourceIndex(0) -16>Emitted(25, 64) Source(33, 14) + SourceIndex(0) -17>Emitted(25, 77) Source(33, 27) + SourceIndex(0) -18>Emitted(25, 85) Source(33, 27) + SourceIndex(0) -19>Emitted(25, 87) Source(33, 29) + SourceIndex(0) -20>Emitted(25, 102) Source(33, 44) + SourceIndex(0) -21>Emitted(25, 110) Source(33, 44) + SourceIndex(0) -22>Emitted(25, 112) Source(33, 86) + SourceIndex(0) -23>Emitted(25, 113) Source(33, 87) + SourceIndex(0) -24>Emitted(25, 116) Source(33, 90) + SourceIndex(0) -25>Emitted(25, 117) Source(33, 91) + SourceIndex(0) -26>Emitted(25, 119) Source(33, 93) + SourceIndex(0) -27>Emitted(25, 120) Source(33, 94) + SourceIndex(0) -28>Emitted(25, 123) Source(33, 97) + SourceIndex(0) -29>Emitted(25, 124) Source(33, 98) + SourceIndex(0) -30>Emitted(25, 126) Source(33, 100) + SourceIndex(0) -31>Emitted(25, 127) Source(33, 101) + SourceIndex(0) -32>Emitted(25, 129) Source(33, 103) + SourceIndex(0) -33>Emitted(25, 131) Source(33, 105) + SourceIndex(0) -34>Emitted(25, 132) Source(33, 106) + SourceIndex(0) +1->Emitted(26, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(26, 6) Source(33, 10) + SourceIndex(0) +3 >Emitted(26, 10) Source(33, 10) + SourceIndex(0) +4 >Emitted(26, 15) Source(33, 49) + SourceIndex(0) +5 >Emitted(26, 16) Source(33, 50) + SourceIndex(0) +6 >Emitted(26, 25) Source(33, 59) + SourceIndex(0) +7 >Emitted(26, 27) Source(33, 61) + SourceIndex(0) +8 >Emitted(26, 28) Source(33, 62) + SourceIndex(0) +9 >Emitted(26, 38) Source(33, 72) + SourceIndex(0) +10>Emitted(26, 40) Source(33, 74) + SourceIndex(0) +11>Emitted(26, 48) Source(33, 82) + SourceIndex(0) +12>Emitted(26, 49) Source(33, 83) + SourceIndex(0) +13>Emitted(26, 50) Source(33, 84) + SourceIndex(0) +14>Emitted(26, 52) Source(33, 13) + SourceIndex(0) +15>Emitted(26, 62) Source(33, 45) + SourceIndex(0) +16>Emitted(26, 64) Source(33, 14) + SourceIndex(0) +17>Emitted(26, 77) Source(33, 27) + SourceIndex(0) +18>Emitted(26, 85) Source(33, 27) + SourceIndex(0) +19>Emitted(26, 87) Source(33, 29) + SourceIndex(0) +20>Emitted(26, 102) Source(33, 44) + SourceIndex(0) +21>Emitted(26, 110) Source(33, 44) + SourceIndex(0) +22>Emitted(26, 112) Source(33, 86) + SourceIndex(0) +23>Emitted(26, 113) Source(33, 87) + SourceIndex(0) +24>Emitted(26, 116) Source(33, 90) + SourceIndex(0) +25>Emitted(26, 117) Source(33, 91) + SourceIndex(0) +26>Emitted(26, 119) Source(33, 93) + SourceIndex(0) +27>Emitted(26, 120) Source(33, 94) + SourceIndex(0) +28>Emitted(26, 123) Source(33, 97) + SourceIndex(0) +29>Emitted(26, 124) Source(33, 98) + SourceIndex(0) +30>Emitted(26, 126) Source(33, 100) + SourceIndex(0) +31>Emitted(26, 127) Source(33, 101) + SourceIndex(0) +32>Emitted(26, 129) Source(33, 103) + SourceIndex(0) +33>Emitted(26, 131) Source(33, 105) + SourceIndex(0) +34>Emitted(26, 132) Source(33, 106) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -907,14 +908,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(26, 5) Source(34, 5) + SourceIndex(0) -2 >Emitted(26, 12) Source(34, 12) + SourceIndex(0) -3 >Emitted(26, 13) Source(34, 13) + SourceIndex(0) -4 >Emitted(26, 16) Source(34, 16) + SourceIndex(0) -5 >Emitted(26, 17) Source(34, 17) + SourceIndex(0) -6 >Emitted(26, 30) Source(34, 30) + SourceIndex(0) -7 >Emitted(26, 31) Source(34, 31) + SourceIndex(0) -8 >Emitted(26, 32) Source(34, 32) + SourceIndex(0) +1 >Emitted(27, 5) Source(34, 5) + SourceIndex(0) +2 >Emitted(27, 12) Source(34, 12) + SourceIndex(0) +3 >Emitted(27, 13) Source(34, 13) + SourceIndex(0) +4 >Emitted(27, 16) Source(34, 16) + SourceIndex(0) +5 >Emitted(27, 17) Source(34, 17) + SourceIndex(0) +6 >Emitted(27, 30) Source(34, 30) + SourceIndex(0) +7 >Emitted(27, 31) Source(34, 31) + SourceIndex(0) +8 >Emitted(27, 32) Source(34, 32) + SourceIndex(0) --- >>>} 1 > @@ -923,8 +924,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(27, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(27, 2) Source(35, 2) + SourceIndex(0) +1 >Emitted(28, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(28, 2) Source(35, 2) + SourceIndex(0) --- >>>for (var numberB = robotA[0], i = 0; i < 1; i++) { 1-> @@ -969,26 +970,26 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 18> ++ 19> ) 20> { -1->Emitted(28, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(28, 6) Source(37, 11) + SourceIndex(0) -3 >Emitted(28, 10) Source(37, 11) + SourceIndex(0) -4 >Emitted(28, 17) Source(37, 18) + SourceIndex(0) -5 >Emitted(28, 20) Source(37, 22) + SourceIndex(0) -6 >Emitted(28, 26) Source(37, 28) + SourceIndex(0) -7 >Emitted(28, 29) Source(37, 18) + SourceIndex(0) -8 >Emitted(28, 31) Source(37, 30) + SourceIndex(0) -9 >Emitted(28, 32) Source(37, 31) + SourceIndex(0) -10>Emitted(28, 35) Source(37, 34) + SourceIndex(0) -11>Emitted(28, 36) Source(37, 35) + SourceIndex(0) -12>Emitted(28, 38) Source(37, 37) + SourceIndex(0) -13>Emitted(28, 39) Source(37, 38) + SourceIndex(0) -14>Emitted(28, 42) Source(37, 41) + SourceIndex(0) -15>Emitted(28, 43) Source(37, 42) + SourceIndex(0) -16>Emitted(28, 45) Source(37, 44) + SourceIndex(0) -17>Emitted(28, 46) Source(37, 45) + SourceIndex(0) -18>Emitted(28, 48) Source(37, 47) + SourceIndex(0) -19>Emitted(28, 50) Source(37, 49) + SourceIndex(0) -20>Emitted(28, 51) Source(37, 50) + SourceIndex(0) +1->Emitted(29, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(29, 6) Source(37, 11) + SourceIndex(0) +3 >Emitted(29, 10) Source(37, 11) + SourceIndex(0) +4 >Emitted(29, 17) Source(37, 18) + SourceIndex(0) +5 >Emitted(29, 20) Source(37, 22) + SourceIndex(0) +6 >Emitted(29, 26) Source(37, 28) + SourceIndex(0) +7 >Emitted(29, 29) Source(37, 18) + SourceIndex(0) +8 >Emitted(29, 31) Source(37, 30) + SourceIndex(0) +9 >Emitted(29, 32) Source(37, 31) + SourceIndex(0) +10>Emitted(29, 35) Source(37, 34) + SourceIndex(0) +11>Emitted(29, 36) Source(37, 35) + SourceIndex(0) +12>Emitted(29, 38) Source(37, 37) + SourceIndex(0) +13>Emitted(29, 39) Source(37, 38) + SourceIndex(0) +14>Emitted(29, 42) Source(37, 41) + SourceIndex(0) +15>Emitted(29, 43) Source(37, 42) + SourceIndex(0) +16>Emitted(29, 45) Source(37, 44) + SourceIndex(0) +17>Emitted(29, 46) Source(37, 45) + SourceIndex(0) +18>Emitted(29, 48) Source(37, 47) + SourceIndex(0) +19>Emitted(29, 50) Source(37, 49) + SourceIndex(0) +20>Emitted(29, 51) Source(37, 50) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1008,14 +1009,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > numberB 7 > ) 8 > ; -1 >Emitted(29, 5) Source(38, 5) + SourceIndex(0) -2 >Emitted(29, 12) Source(38, 12) + SourceIndex(0) -3 >Emitted(29, 13) Source(38, 13) + SourceIndex(0) -4 >Emitted(29, 16) Source(38, 16) + SourceIndex(0) -5 >Emitted(29, 17) Source(38, 17) + SourceIndex(0) -6 >Emitted(29, 24) Source(38, 24) + SourceIndex(0) -7 >Emitted(29, 25) Source(38, 25) + SourceIndex(0) -8 >Emitted(29, 26) Source(38, 26) + SourceIndex(0) +1 >Emitted(30, 5) Source(38, 5) + SourceIndex(0) +2 >Emitted(30, 12) Source(38, 12) + SourceIndex(0) +3 >Emitted(30, 13) Source(38, 13) + SourceIndex(0) +4 >Emitted(30, 16) Source(38, 16) + SourceIndex(0) +5 >Emitted(30, 17) Source(38, 17) + SourceIndex(0) +6 >Emitted(30, 24) Source(38, 24) + SourceIndex(0) +7 >Emitted(30, 25) Source(38, 25) + SourceIndex(0) +8 >Emitted(30, 26) Source(38, 26) + SourceIndex(0) --- >>>} 1 > @@ -1024,8 +1025,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(30, 1) Source(39, 1) + SourceIndex(0) -2 >Emitted(30, 2) Source(39, 2) + SourceIndex(0) +1 >Emitted(31, 1) Source(39, 1) + SourceIndex(0) +2 >Emitted(31, 2) Source(39, 2) + SourceIndex(0) --- >>>for (var numberB = getRobot()[0], i = 0; i < 1; i++) { 1-> @@ -1071,27 +1072,27 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 19> ++ 20> ) 21> { -1->Emitted(31, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(31, 6) Source(40, 11) + SourceIndex(0) -3 >Emitted(31, 10) Source(40, 11) + SourceIndex(0) -4 >Emitted(31, 17) Source(40, 18) + SourceIndex(0) -5 >Emitted(31, 20) Source(40, 22) + SourceIndex(0) -6 >Emitted(31, 28) Source(40, 30) + SourceIndex(0) -7 >Emitted(31, 30) Source(40, 32) + SourceIndex(0) -8 >Emitted(31, 33) Source(40, 18) + SourceIndex(0) -9 >Emitted(31, 35) Source(40, 34) + SourceIndex(0) -10>Emitted(31, 36) Source(40, 35) + SourceIndex(0) -11>Emitted(31, 39) Source(40, 38) + SourceIndex(0) -12>Emitted(31, 40) Source(40, 39) + SourceIndex(0) -13>Emitted(31, 42) Source(40, 41) + SourceIndex(0) -14>Emitted(31, 43) Source(40, 42) + SourceIndex(0) -15>Emitted(31, 46) Source(40, 45) + SourceIndex(0) -16>Emitted(31, 47) Source(40, 46) + SourceIndex(0) -17>Emitted(31, 49) Source(40, 48) + SourceIndex(0) -18>Emitted(31, 50) Source(40, 49) + SourceIndex(0) -19>Emitted(31, 52) Source(40, 51) + SourceIndex(0) -20>Emitted(31, 54) Source(40, 53) + SourceIndex(0) -21>Emitted(31, 55) Source(40, 54) + SourceIndex(0) +1->Emitted(32, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(32, 6) Source(40, 11) + SourceIndex(0) +3 >Emitted(32, 10) Source(40, 11) + SourceIndex(0) +4 >Emitted(32, 17) Source(40, 18) + SourceIndex(0) +5 >Emitted(32, 20) Source(40, 22) + SourceIndex(0) +6 >Emitted(32, 28) Source(40, 30) + SourceIndex(0) +7 >Emitted(32, 30) Source(40, 32) + SourceIndex(0) +8 >Emitted(32, 33) Source(40, 18) + SourceIndex(0) +9 >Emitted(32, 35) Source(40, 34) + SourceIndex(0) +10>Emitted(32, 36) Source(40, 35) + SourceIndex(0) +11>Emitted(32, 39) Source(40, 38) + SourceIndex(0) +12>Emitted(32, 40) Source(40, 39) + SourceIndex(0) +13>Emitted(32, 42) Source(40, 41) + SourceIndex(0) +14>Emitted(32, 43) Source(40, 42) + SourceIndex(0) +15>Emitted(32, 46) Source(40, 45) + SourceIndex(0) +16>Emitted(32, 47) Source(40, 46) + SourceIndex(0) +17>Emitted(32, 49) Source(40, 48) + SourceIndex(0) +18>Emitted(32, 50) Source(40, 49) + SourceIndex(0) +19>Emitted(32, 52) Source(40, 51) + SourceIndex(0) +20>Emitted(32, 54) Source(40, 53) + SourceIndex(0) +21>Emitted(32, 55) Source(40, 54) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1111,14 +1112,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > numberB 7 > ) 8 > ; -1 >Emitted(32, 5) Source(41, 5) + SourceIndex(0) -2 >Emitted(32, 12) Source(41, 12) + SourceIndex(0) -3 >Emitted(32, 13) Source(41, 13) + SourceIndex(0) -4 >Emitted(32, 16) Source(41, 16) + SourceIndex(0) -5 >Emitted(32, 17) Source(41, 17) + SourceIndex(0) -6 >Emitted(32, 24) Source(41, 24) + SourceIndex(0) -7 >Emitted(32, 25) Source(41, 25) + SourceIndex(0) -8 >Emitted(32, 26) Source(41, 26) + SourceIndex(0) +1 >Emitted(33, 5) Source(41, 5) + SourceIndex(0) +2 >Emitted(33, 12) Source(41, 12) + SourceIndex(0) +3 >Emitted(33, 13) Source(41, 13) + SourceIndex(0) +4 >Emitted(33, 16) Source(41, 16) + SourceIndex(0) +5 >Emitted(33, 17) Source(41, 17) + SourceIndex(0) +6 >Emitted(33, 24) Source(41, 24) + SourceIndex(0) +7 >Emitted(33, 25) Source(41, 25) + SourceIndex(0) +8 >Emitted(33, 26) Source(41, 26) + SourceIndex(0) --- >>>} 1 > @@ -1127,8 +1128,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(33, 1) Source(42, 1) + SourceIndex(0) -2 >Emitted(33, 2) Source(42, 2) + SourceIndex(0) +1 >Emitted(34, 1) Source(42, 1) + SourceIndex(0) +2 >Emitted(34, 2) Source(42, 2) + SourceIndex(0) --- >>>for (var numberB = [2, "trimmer", "trimming"][0], i = 0; i < 1; i++) { 1-> @@ -1184,32 +1185,32 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 24> ++ 25> ) 26> { -1->Emitted(34, 1) Source(43, 1) + SourceIndex(0) -2 >Emitted(34, 6) Source(43, 11) + SourceIndex(0) -3 >Emitted(34, 10) Source(43, 11) + SourceIndex(0) -4 >Emitted(34, 17) Source(43, 18) + SourceIndex(0) -5 >Emitted(34, 20) Source(43, 22) + SourceIndex(0) -6 >Emitted(34, 21) Source(43, 23) + SourceIndex(0) -7 >Emitted(34, 22) Source(43, 24) + SourceIndex(0) -8 >Emitted(34, 24) Source(43, 26) + SourceIndex(0) -9 >Emitted(34, 33) Source(43, 35) + SourceIndex(0) -10>Emitted(34, 35) Source(43, 37) + SourceIndex(0) -11>Emitted(34, 45) Source(43, 47) + SourceIndex(0) -12>Emitted(34, 46) Source(43, 48) + SourceIndex(0) -13>Emitted(34, 49) Source(43, 18) + SourceIndex(0) -14>Emitted(34, 51) Source(43, 50) + SourceIndex(0) -15>Emitted(34, 52) Source(43, 51) + SourceIndex(0) -16>Emitted(34, 55) Source(43, 54) + SourceIndex(0) -17>Emitted(34, 56) Source(43, 55) + SourceIndex(0) -18>Emitted(34, 58) Source(43, 57) + SourceIndex(0) -19>Emitted(34, 59) Source(43, 58) + SourceIndex(0) -20>Emitted(34, 62) Source(43, 61) + SourceIndex(0) -21>Emitted(34, 63) Source(43, 62) + SourceIndex(0) -22>Emitted(34, 65) Source(43, 64) + SourceIndex(0) -23>Emitted(34, 66) Source(43, 65) + SourceIndex(0) -24>Emitted(34, 68) Source(43, 67) + SourceIndex(0) -25>Emitted(34, 70) Source(43, 69) + SourceIndex(0) -26>Emitted(34, 71) Source(43, 70) + SourceIndex(0) +1->Emitted(35, 1) Source(43, 1) + SourceIndex(0) +2 >Emitted(35, 6) Source(43, 11) + SourceIndex(0) +3 >Emitted(35, 10) Source(43, 11) + SourceIndex(0) +4 >Emitted(35, 17) Source(43, 18) + SourceIndex(0) +5 >Emitted(35, 20) Source(43, 22) + SourceIndex(0) +6 >Emitted(35, 21) Source(43, 23) + SourceIndex(0) +7 >Emitted(35, 22) Source(43, 24) + SourceIndex(0) +8 >Emitted(35, 24) Source(43, 26) + SourceIndex(0) +9 >Emitted(35, 33) Source(43, 35) + SourceIndex(0) +10>Emitted(35, 35) Source(43, 37) + SourceIndex(0) +11>Emitted(35, 45) Source(43, 47) + SourceIndex(0) +12>Emitted(35, 46) Source(43, 48) + SourceIndex(0) +13>Emitted(35, 49) Source(43, 18) + SourceIndex(0) +14>Emitted(35, 51) Source(43, 50) + SourceIndex(0) +15>Emitted(35, 52) Source(43, 51) + SourceIndex(0) +16>Emitted(35, 55) Source(43, 54) + SourceIndex(0) +17>Emitted(35, 56) Source(43, 55) + SourceIndex(0) +18>Emitted(35, 58) Source(43, 57) + SourceIndex(0) +19>Emitted(35, 59) Source(43, 58) + SourceIndex(0) +20>Emitted(35, 62) Source(43, 61) + SourceIndex(0) +21>Emitted(35, 63) Source(43, 62) + SourceIndex(0) +22>Emitted(35, 65) Source(43, 64) + SourceIndex(0) +23>Emitted(35, 66) Source(43, 65) + SourceIndex(0) +24>Emitted(35, 68) Source(43, 67) + SourceIndex(0) +25>Emitted(35, 70) Source(43, 69) + SourceIndex(0) +26>Emitted(35, 71) Source(43, 70) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1229,14 +1230,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > numberB 7 > ) 8 > ; -1 >Emitted(35, 5) Source(44, 5) + SourceIndex(0) -2 >Emitted(35, 12) Source(44, 12) + SourceIndex(0) -3 >Emitted(35, 13) Source(44, 13) + SourceIndex(0) -4 >Emitted(35, 16) Source(44, 16) + SourceIndex(0) -5 >Emitted(35, 17) Source(44, 17) + SourceIndex(0) -6 >Emitted(35, 24) Source(44, 24) + SourceIndex(0) -7 >Emitted(35, 25) Source(44, 25) + SourceIndex(0) -8 >Emitted(35, 26) Source(44, 26) + SourceIndex(0) +1 >Emitted(36, 5) Source(44, 5) + SourceIndex(0) +2 >Emitted(36, 12) Source(44, 12) + SourceIndex(0) +3 >Emitted(36, 13) Source(44, 13) + SourceIndex(0) +4 >Emitted(36, 16) Source(44, 16) + SourceIndex(0) +5 >Emitted(36, 17) Source(44, 17) + SourceIndex(0) +6 >Emitted(36, 24) Source(44, 24) + SourceIndex(0) +7 >Emitted(36, 25) Source(44, 25) + SourceIndex(0) +8 >Emitted(36, 26) Source(44, 26) + SourceIndex(0) --- >>>} 1 > @@ -1245,8 +1246,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(36, 1) Source(45, 1) + SourceIndex(0) -2 >Emitted(36, 2) Source(45, 2) + SourceIndex(0) +1 >Emitted(37, 1) Source(45, 1) + SourceIndex(0) +2 >Emitted(37, 2) Source(45, 2) + SourceIndex(0) --- >>>for (var nameB = multiRobotA[0], i = 0; i < 1; i++) { 1-> @@ -1290,26 +1291,26 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 18> ++ 19> ) 20> { -1->Emitted(37, 1) Source(46, 1) + SourceIndex(0) -2 >Emitted(37, 6) Source(46, 11) + SourceIndex(0) -3 >Emitted(37, 10) Source(46, 11) + SourceIndex(0) -4 >Emitted(37, 15) Source(46, 16) + SourceIndex(0) -5 >Emitted(37, 18) Source(46, 20) + SourceIndex(0) -6 >Emitted(37, 29) Source(46, 31) + SourceIndex(0) -7 >Emitted(37, 32) Source(46, 16) + SourceIndex(0) -8 >Emitted(37, 34) Source(46, 33) + SourceIndex(0) -9 >Emitted(37, 35) Source(46, 34) + SourceIndex(0) -10>Emitted(37, 38) Source(46, 37) + SourceIndex(0) -11>Emitted(37, 39) Source(46, 38) + SourceIndex(0) -12>Emitted(37, 41) Source(46, 40) + SourceIndex(0) -13>Emitted(37, 42) Source(46, 41) + SourceIndex(0) -14>Emitted(37, 45) Source(46, 44) + SourceIndex(0) -15>Emitted(37, 46) Source(46, 45) + SourceIndex(0) -16>Emitted(37, 48) Source(46, 47) + SourceIndex(0) -17>Emitted(37, 49) Source(46, 48) + SourceIndex(0) -18>Emitted(37, 51) Source(46, 50) + SourceIndex(0) -19>Emitted(37, 53) Source(46, 52) + SourceIndex(0) -20>Emitted(37, 54) Source(46, 53) + SourceIndex(0) +1->Emitted(38, 1) Source(46, 1) + SourceIndex(0) +2 >Emitted(38, 6) Source(46, 11) + SourceIndex(0) +3 >Emitted(38, 10) Source(46, 11) + SourceIndex(0) +4 >Emitted(38, 15) Source(46, 16) + SourceIndex(0) +5 >Emitted(38, 18) Source(46, 20) + SourceIndex(0) +6 >Emitted(38, 29) Source(46, 31) + SourceIndex(0) +7 >Emitted(38, 32) Source(46, 16) + SourceIndex(0) +8 >Emitted(38, 34) Source(46, 33) + SourceIndex(0) +9 >Emitted(38, 35) Source(46, 34) + SourceIndex(0) +10>Emitted(38, 38) Source(46, 37) + SourceIndex(0) +11>Emitted(38, 39) Source(46, 38) + SourceIndex(0) +12>Emitted(38, 41) Source(46, 40) + SourceIndex(0) +13>Emitted(38, 42) Source(46, 41) + SourceIndex(0) +14>Emitted(38, 45) Source(46, 44) + SourceIndex(0) +15>Emitted(38, 46) Source(46, 45) + SourceIndex(0) +16>Emitted(38, 48) Source(46, 47) + SourceIndex(0) +17>Emitted(38, 49) Source(46, 48) + SourceIndex(0) +18>Emitted(38, 51) Source(46, 50) + SourceIndex(0) +19>Emitted(38, 53) Source(46, 52) + SourceIndex(0) +20>Emitted(38, 54) Source(46, 53) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1329,14 +1330,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameB 7 > ) 8 > ; -1 >Emitted(38, 5) Source(47, 5) + SourceIndex(0) -2 >Emitted(38, 12) Source(47, 12) + SourceIndex(0) -3 >Emitted(38, 13) Source(47, 13) + SourceIndex(0) -4 >Emitted(38, 16) Source(47, 16) + SourceIndex(0) -5 >Emitted(38, 17) Source(47, 17) + SourceIndex(0) -6 >Emitted(38, 22) Source(47, 22) + SourceIndex(0) -7 >Emitted(38, 23) Source(47, 23) + SourceIndex(0) -8 >Emitted(38, 24) Source(47, 24) + SourceIndex(0) +1 >Emitted(39, 5) Source(47, 5) + SourceIndex(0) +2 >Emitted(39, 12) Source(47, 12) + SourceIndex(0) +3 >Emitted(39, 13) Source(47, 13) + SourceIndex(0) +4 >Emitted(39, 16) Source(47, 16) + SourceIndex(0) +5 >Emitted(39, 17) Source(47, 17) + SourceIndex(0) +6 >Emitted(39, 22) Source(47, 22) + SourceIndex(0) +7 >Emitted(39, 23) Source(47, 23) + SourceIndex(0) +8 >Emitted(39, 24) Source(47, 24) + SourceIndex(0) --- >>>} 1 > @@ -1345,8 +1346,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(39, 1) Source(48, 1) + SourceIndex(0) -2 >Emitted(39, 2) Source(48, 2) + SourceIndex(0) +1 >Emitted(40, 1) Source(48, 1) + SourceIndex(0) +2 >Emitted(40, 2) Source(48, 2) + SourceIndex(0) --- >>>for (var nameB = getMultiRobot()[0], i = 0; i < 1; i++) { 1-> @@ -1392,27 +1393,27 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 19> ++ 20> ) 21> { -1->Emitted(40, 1) Source(49, 1) + SourceIndex(0) -2 >Emitted(40, 6) Source(49, 11) + SourceIndex(0) -3 >Emitted(40, 10) Source(49, 11) + SourceIndex(0) -4 >Emitted(40, 15) Source(49, 16) + SourceIndex(0) -5 >Emitted(40, 18) Source(49, 20) + SourceIndex(0) -6 >Emitted(40, 31) Source(49, 33) + SourceIndex(0) -7 >Emitted(40, 33) Source(49, 35) + SourceIndex(0) -8 >Emitted(40, 36) Source(49, 16) + SourceIndex(0) -9 >Emitted(40, 38) Source(49, 37) + SourceIndex(0) -10>Emitted(40, 39) Source(49, 38) + SourceIndex(0) -11>Emitted(40, 42) Source(49, 41) + SourceIndex(0) -12>Emitted(40, 43) Source(49, 42) + SourceIndex(0) -13>Emitted(40, 45) Source(49, 44) + SourceIndex(0) -14>Emitted(40, 46) Source(49, 45) + SourceIndex(0) -15>Emitted(40, 49) Source(49, 48) + SourceIndex(0) -16>Emitted(40, 50) Source(49, 49) + SourceIndex(0) -17>Emitted(40, 52) Source(49, 51) + SourceIndex(0) -18>Emitted(40, 53) Source(49, 52) + SourceIndex(0) -19>Emitted(40, 55) Source(49, 54) + SourceIndex(0) -20>Emitted(40, 57) Source(49, 56) + SourceIndex(0) -21>Emitted(40, 58) Source(49, 57) + SourceIndex(0) +1->Emitted(41, 1) Source(49, 1) + SourceIndex(0) +2 >Emitted(41, 6) Source(49, 11) + SourceIndex(0) +3 >Emitted(41, 10) Source(49, 11) + SourceIndex(0) +4 >Emitted(41, 15) Source(49, 16) + SourceIndex(0) +5 >Emitted(41, 18) Source(49, 20) + SourceIndex(0) +6 >Emitted(41, 31) Source(49, 33) + SourceIndex(0) +7 >Emitted(41, 33) Source(49, 35) + SourceIndex(0) +8 >Emitted(41, 36) Source(49, 16) + SourceIndex(0) +9 >Emitted(41, 38) Source(49, 37) + SourceIndex(0) +10>Emitted(41, 39) Source(49, 38) + SourceIndex(0) +11>Emitted(41, 42) Source(49, 41) + SourceIndex(0) +12>Emitted(41, 43) Source(49, 42) + SourceIndex(0) +13>Emitted(41, 45) Source(49, 44) + SourceIndex(0) +14>Emitted(41, 46) Source(49, 45) + SourceIndex(0) +15>Emitted(41, 49) Source(49, 48) + SourceIndex(0) +16>Emitted(41, 50) Source(49, 49) + SourceIndex(0) +17>Emitted(41, 52) Source(49, 51) + SourceIndex(0) +18>Emitted(41, 53) Source(49, 52) + SourceIndex(0) +19>Emitted(41, 55) Source(49, 54) + SourceIndex(0) +20>Emitted(41, 57) Source(49, 56) + SourceIndex(0) +21>Emitted(41, 58) Source(49, 57) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1432,14 +1433,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameB 7 > ) 8 > ; -1 >Emitted(41, 5) Source(50, 5) + SourceIndex(0) -2 >Emitted(41, 12) Source(50, 12) + SourceIndex(0) -3 >Emitted(41, 13) Source(50, 13) + SourceIndex(0) -4 >Emitted(41, 16) Source(50, 16) + SourceIndex(0) -5 >Emitted(41, 17) Source(50, 17) + SourceIndex(0) -6 >Emitted(41, 22) Source(50, 22) + SourceIndex(0) -7 >Emitted(41, 23) Source(50, 23) + SourceIndex(0) -8 >Emitted(41, 24) Source(50, 24) + SourceIndex(0) +1 >Emitted(42, 5) Source(50, 5) + SourceIndex(0) +2 >Emitted(42, 12) Source(50, 12) + SourceIndex(0) +3 >Emitted(42, 13) Source(50, 13) + SourceIndex(0) +4 >Emitted(42, 16) Source(50, 16) + SourceIndex(0) +5 >Emitted(42, 17) Source(50, 17) + SourceIndex(0) +6 >Emitted(42, 22) Source(50, 22) + SourceIndex(0) +7 >Emitted(42, 23) Source(50, 23) + SourceIndex(0) +8 >Emitted(42, 24) Source(50, 24) + SourceIndex(0) --- >>>} 1 > @@ -1448,8 +1449,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(42, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(42, 2) Source(51, 2) + SourceIndex(0) +1 >Emitted(43, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(43, 2) Source(51, 2) + SourceIndex(0) --- >>>for (var nameB = ["trimmer", ["trimming", "edging"]][0], i = 0; i < 1; i++) { 1-> @@ -1509,34 +1510,34 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 26> ++ 27> ) 28> { -1->Emitted(43, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(43, 6) Source(52, 11) + SourceIndex(0) -3 >Emitted(43, 10) Source(52, 11) + SourceIndex(0) -4 >Emitted(43, 15) Source(52, 16) + SourceIndex(0) -5 >Emitted(43, 18) Source(52, 20) + SourceIndex(0) -6 >Emitted(43, 19) Source(52, 21) + SourceIndex(0) -7 >Emitted(43, 28) Source(52, 30) + SourceIndex(0) -8 >Emitted(43, 30) Source(52, 32) + SourceIndex(0) -9 >Emitted(43, 31) Source(52, 33) + SourceIndex(0) -10>Emitted(43, 41) Source(52, 43) + SourceIndex(0) -11>Emitted(43, 43) Source(52, 45) + SourceIndex(0) -12>Emitted(43, 51) Source(52, 53) + SourceIndex(0) -13>Emitted(43, 52) Source(52, 54) + SourceIndex(0) -14>Emitted(43, 53) Source(52, 55) + SourceIndex(0) -15>Emitted(43, 56) Source(52, 16) + SourceIndex(0) -16>Emitted(43, 58) Source(52, 57) + SourceIndex(0) -17>Emitted(43, 59) Source(52, 58) + SourceIndex(0) -18>Emitted(43, 62) Source(52, 61) + SourceIndex(0) -19>Emitted(43, 63) Source(52, 62) + SourceIndex(0) -20>Emitted(43, 65) Source(52, 64) + SourceIndex(0) -21>Emitted(43, 66) Source(52, 65) + SourceIndex(0) -22>Emitted(43, 69) Source(52, 68) + SourceIndex(0) -23>Emitted(43, 70) Source(52, 69) + SourceIndex(0) -24>Emitted(43, 72) Source(52, 71) + SourceIndex(0) -25>Emitted(43, 73) Source(52, 72) + SourceIndex(0) -26>Emitted(43, 75) Source(52, 74) + SourceIndex(0) -27>Emitted(43, 77) Source(52, 76) + SourceIndex(0) -28>Emitted(43, 78) Source(52, 77) + SourceIndex(0) +1->Emitted(44, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(44, 6) Source(52, 11) + SourceIndex(0) +3 >Emitted(44, 10) Source(52, 11) + SourceIndex(0) +4 >Emitted(44, 15) Source(52, 16) + SourceIndex(0) +5 >Emitted(44, 18) Source(52, 20) + SourceIndex(0) +6 >Emitted(44, 19) Source(52, 21) + SourceIndex(0) +7 >Emitted(44, 28) Source(52, 30) + SourceIndex(0) +8 >Emitted(44, 30) Source(52, 32) + SourceIndex(0) +9 >Emitted(44, 31) Source(52, 33) + SourceIndex(0) +10>Emitted(44, 41) Source(52, 43) + SourceIndex(0) +11>Emitted(44, 43) Source(52, 45) + SourceIndex(0) +12>Emitted(44, 51) Source(52, 53) + SourceIndex(0) +13>Emitted(44, 52) Source(52, 54) + SourceIndex(0) +14>Emitted(44, 53) Source(52, 55) + SourceIndex(0) +15>Emitted(44, 56) Source(52, 16) + SourceIndex(0) +16>Emitted(44, 58) Source(52, 57) + SourceIndex(0) +17>Emitted(44, 59) Source(52, 58) + SourceIndex(0) +18>Emitted(44, 62) Source(52, 61) + SourceIndex(0) +19>Emitted(44, 63) Source(52, 62) + SourceIndex(0) +20>Emitted(44, 65) Source(52, 64) + SourceIndex(0) +21>Emitted(44, 66) Source(52, 65) + SourceIndex(0) +22>Emitted(44, 69) Source(52, 68) + SourceIndex(0) +23>Emitted(44, 70) Source(52, 69) + SourceIndex(0) +24>Emitted(44, 72) Source(52, 71) + SourceIndex(0) +25>Emitted(44, 73) Source(52, 72) + SourceIndex(0) +26>Emitted(44, 75) Source(52, 74) + SourceIndex(0) +27>Emitted(44, 77) Source(52, 76) + SourceIndex(0) +28>Emitted(44, 78) Source(52, 77) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1556,14 +1557,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameB 7 > ) 8 > ; -1 >Emitted(44, 5) Source(53, 5) + SourceIndex(0) -2 >Emitted(44, 12) Source(53, 12) + SourceIndex(0) -3 >Emitted(44, 13) Source(53, 13) + SourceIndex(0) -4 >Emitted(44, 16) Source(53, 16) + SourceIndex(0) -5 >Emitted(44, 17) Source(53, 17) + SourceIndex(0) -6 >Emitted(44, 22) Source(53, 22) + SourceIndex(0) -7 >Emitted(44, 23) Source(53, 23) + SourceIndex(0) -8 >Emitted(44, 24) Source(53, 24) + SourceIndex(0) +1 >Emitted(45, 5) Source(53, 5) + SourceIndex(0) +2 >Emitted(45, 12) Source(53, 12) + SourceIndex(0) +3 >Emitted(45, 13) Source(53, 13) + SourceIndex(0) +4 >Emitted(45, 16) Source(53, 16) + SourceIndex(0) +5 >Emitted(45, 17) Source(53, 17) + SourceIndex(0) +6 >Emitted(45, 22) Source(53, 22) + SourceIndex(0) +7 >Emitted(45, 23) Source(53, 23) + SourceIndex(0) +8 >Emitted(45, 24) Source(53, 24) + SourceIndex(0) --- >>>} 1 > @@ -1572,8 +1573,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(45, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(45, 2) Source(54, 2) + SourceIndex(0) +1 >Emitted(46, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(46, 2) Source(54, 2) + SourceIndex(0) --- >>>for (var numberA2 = robotA[0], nameA2 = robotA[1], skillA2 = robotA[2], i = 0; i < 1; i++) { 1-> @@ -1638,36 +1639,36 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 28> ++ 29> ) 30> { -1->Emitted(46, 1) Source(56, 1) + SourceIndex(0) -2 >Emitted(46, 6) Source(56, 11) + SourceIndex(0) -3 >Emitted(46, 10) Source(56, 11) + SourceIndex(0) -4 >Emitted(46, 18) Source(56, 19) + SourceIndex(0) -5 >Emitted(46, 21) Source(56, 40) + SourceIndex(0) -6 >Emitted(46, 27) Source(56, 46) + SourceIndex(0) -7 >Emitted(46, 30) Source(56, 19) + SourceIndex(0) -8 >Emitted(46, 32) Source(56, 21) + SourceIndex(0) -9 >Emitted(46, 38) Source(56, 27) + SourceIndex(0) -10>Emitted(46, 41) Source(56, 40) + SourceIndex(0) -11>Emitted(46, 47) Source(56, 46) + SourceIndex(0) -12>Emitted(46, 50) Source(56, 27) + SourceIndex(0) -13>Emitted(46, 52) Source(56, 29) + SourceIndex(0) -14>Emitted(46, 59) Source(56, 36) + SourceIndex(0) -15>Emitted(46, 62) Source(56, 40) + SourceIndex(0) -16>Emitted(46, 68) Source(56, 46) + SourceIndex(0) -17>Emitted(46, 71) Source(56, 36) + SourceIndex(0) -18>Emitted(46, 73) Source(56, 48) + SourceIndex(0) -19>Emitted(46, 74) Source(56, 49) + SourceIndex(0) -20>Emitted(46, 77) Source(56, 52) + SourceIndex(0) -21>Emitted(46, 78) Source(56, 53) + SourceIndex(0) -22>Emitted(46, 80) Source(56, 55) + SourceIndex(0) -23>Emitted(46, 81) Source(56, 56) + SourceIndex(0) -24>Emitted(46, 84) Source(56, 59) + SourceIndex(0) -25>Emitted(46, 85) Source(56, 60) + SourceIndex(0) -26>Emitted(46, 87) Source(56, 62) + SourceIndex(0) -27>Emitted(46, 88) Source(56, 63) + SourceIndex(0) -28>Emitted(46, 90) Source(56, 65) + SourceIndex(0) -29>Emitted(46, 92) Source(56, 67) + SourceIndex(0) -30>Emitted(46, 93) Source(56, 68) + SourceIndex(0) +1->Emitted(47, 1) Source(56, 1) + SourceIndex(0) +2 >Emitted(47, 6) Source(56, 11) + SourceIndex(0) +3 >Emitted(47, 10) Source(56, 11) + SourceIndex(0) +4 >Emitted(47, 18) Source(56, 19) + SourceIndex(0) +5 >Emitted(47, 21) Source(56, 40) + SourceIndex(0) +6 >Emitted(47, 27) Source(56, 46) + SourceIndex(0) +7 >Emitted(47, 30) Source(56, 19) + SourceIndex(0) +8 >Emitted(47, 32) Source(56, 21) + SourceIndex(0) +9 >Emitted(47, 38) Source(56, 27) + SourceIndex(0) +10>Emitted(47, 41) Source(56, 40) + SourceIndex(0) +11>Emitted(47, 47) Source(56, 46) + SourceIndex(0) +12>Emitted(47, 50) Source(56, 27) + SourceIndex(0) +13>Emitted(47, 52) Source(56, 29) + SourceIndex(0) +14>Emitted(47, 59) Source(56, 36) + SourceIndex(0) +15>Emitted(47, 62) Source(56, 40) + SourceIndex(0) +16>Emitted(47, 68) Source(56, 46) + SourceIndex(0) +17>Emitted(47, 71) Source(56, 36) + SourceIndex(0) +18>Emitted(47, 73) Source(56, 48) + SourceIndex(0) +19>Emitted(47, 74) Source(56, 49) + SourceIndex(0) +20>Emitted(47, 77) Source(56, 52) + SourceIndex(0) +21>Emitted(47, 78) Source(56, 53) + SourceIndex(0) +22>Emitted(47, 80) Source(56, 55) + SourceIndex(0) +23>Emitted(47, 81) Source(56, 56) + SourceIndex(0) +24>Emitted(47, 84) Source(56, 59) + SourceIndex(0) +25>Emitted(47, 85) Source(56, 60) + SourceIndex(0) +26>Emitted(47, 87) Source(56, 62) + SourceIndex(0) +27>Emitted(47, 88) Source(56, 63) + SourceIndex(0) +28>Emitted(47, 90) Source(56, 65) + SourceIndex(0) +29>Emitted(47, 92) Source(56, 67) + SourceIndex(0) +30>Emitted(47, 93) Source(56, 68) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1687,14 +1688,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(47, 5) Source(57, 5) + SourceIndex(0) -2 >Emitted(47, 12) Source(57, 12) + SourceIndex(0) -3 >Emitted(47, 13) Source(57, 13) + SourceIndex(0) -4 >Emitted(47, 16) Source(57, 16) + SourceIndex(0) -5 >Emitted(47, 17) Source(57, 17) + SourceIndex(0) -6 >Emitted(47, 23) Source(57, 23) + SourceIndex(0) -7 >Emitted(47, 24) Source(57, 24) + SourceIndex(0) -8 >Emitted(47, 25) Source(57, 25) + SourceIndex(0) +1 >Emitted(48, 5) Source(57, 5) + SourceIndex(0) +2 >Emitted(48, 12) Source(57, 12) + SourceIndex(0) +3 >Emitted(48, 13) Source(57, 13) + SourceIndex(0) +4 >Emitted(48, 16) Source(57, 16) + SourceIndex(0) +5 >Emitted(48, 17) Source(57, 17) + SourceIndex(0) +6 >Emitted(48, 23) Source(57, 23) + SourceIndex(0) +7 >Emitted(48, 24) Source(57, 24) + SourceIndex(0) +8 >Emitted(48, 25) Source(57, 25) + SourceIndex(0) --- >>>} 1 > @@ -1703,8 +1704,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(48, 1) Source(58, 1) + SourceIndex(0) -2 >Emitted(48, 2) Source(58, 2) + SourceIndex(0) +1 >Emitted(49, 1) Source(58, 1) + SourceIndex(0) +2 >Emitted(49, 2) Source(58, 2) + SourceIndex(0) --- >>>for (var _h = getRobot(), numberA2 = _h[0], nameA2 = _h[1], skillA2 = _h[2], i = 0; i < 1; i++) { 1-> @@ -1764,34 +1765,34 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 26> ++ 27> ) 28> { -1->Emitted(49, 1) Source(59, 1) + SourceIndex(0) -2 >Emitted(49, 6) Source(59, 10) + SourceIndex(0) -3 >Emitted(49, 10) Source(59, 10) + SourceIndex(0) -4 >Emitted(49, 15) Source(59, 40) + SourceIndex(0) -5 >Emitted(49, 23) Source(59, 48) + SourceIndex(0) -6 >Emitted(49, 25) Source(59, 50) + SourceIndex(0) -7 >Emitted(49, 27) Source(59, 11) + SourceIndex(0) -8 >Emitted(49, 35) Source(59, 19) + SourceIndex(0) -9 >Emitted(49, 43) Source(59, 19) + SourceIndex(0) -10>Emitted(49, 45) Source(59, 21) + SourceIndex(0) -11>Emitted(49, 51) Source(59, 27) + SourceIndex(0) -12>Emitted(49, 59) Source(59, 27) + SourceIndex(0) -13>Emitted(49, 61) Source(59, 29) + SourceIndex(0) -14>Emitted(49, 68) Source(59, 36) + SourceIndex(0) -15>Emitted(49, 76) Source(59, 36) + SourceIndex(0) -16>Emitted(49, 78) Source(59, 52) + SourceIndex(0) -17>Emitted(49, 79) Source(59, 53) + SourceIndex(0) -18>Emitted(49, 82) Source(59, 56) + SourceIndex(0) -19>Emitted(49, 83) Source(59, 57) + SourceIndex(0) -20>Emitted(49, 85) Source(59, 59) + SourceIndex(0) -21>Emitted(49, 86) Source(59, 60) + SourceIndex(0) -22>Emitted(49, 89) Source(59, 63) + SourceIndex(0) -23>Emitted(49, 90) Source(59, 64) + SourceIndex(0) -24>Emitted(49, 92) Source(59, 66) + SourceIndex(0) -25>Emitted(49, 93) Source(59, 67) + SourceIndex(0) -26>Emitted(49, 95) Source(59, 69) + SourceIndex(0) -27>Emitted(49, 97) Source(59, 71) + SourceIndex(0) -28>Emitted(49, 98) Source(59, 72) + SourceIndex(0) +1->Emitted(50, 1) Source(59, 1) + SourceIndex(0) +2 >Emitted(50, 6) Source(59, 10) + SourceIndex(0) +3 >Emitted(50, 10) Source(59, 10) + SourceIndex(0) +4 >Emitted(50, 15) Source(59, 40) + SourceIndex(0) +5 >Emitted(50, 23) Source(59, 48) + SourceIndex(0) +6 >Emitted(50, 25) Source(59, 50) + SourceIndex(0) +7 >Emitted(50, 27) Source(59, 11) + SourceIndex(0) +8 >Emitted(50, 35) Source(59, 19) + SourceIndex(0) +9 >Emitted(50, 43) Source(59, 19) + SourceIndex(0) +10>Emitted(50, 45) Source(59, 21) + SourceIndex(0) +11>Emitted(50, 51) Source(59, 27) + SourceIndex(0) +12>Emitted(50, 59) Source(59, 27) + SourceIndex(0) +13>Emitted(50, 61) Source(59, 29) + SourceIndex(0) +14>Emitted(50, 68) Source(59, 36) + SourceIndex(0) +15>Emitted(50, 76) Source(59, 36) + SourceIndex(0) +16>Emitted(50, 78) Source(59, 52) + SourceIndex(0) +17>Emitted(50, 79) Source(59, 53) + SourceIndex(0) +18>Emitted(50, 82) Source(59, 56) + SourceIndex(0) +19>Emitted(50, 83) Source(59, 57) + SourceIndex(0) +20>Emitted(50, 85) Source(59, 59) + SourceIndex(0) +21>Emitted(50, 86) Source(59, 60) + SourceIndex(0) +22>Emitted(50, 89) Source(59, 63) + SourceIndex(0) +23>Emitted(50, 90) Source(59, 64) + SourceIndex(0) +24>Emitted(50, 92) Source(59, 66) + SourceIndex(0) +25>Emitted(50, 93) Source(59, 67) + SourceIndex(0) +26>Emitted(50, 95) Source(59, 69) + SourceIndex(0) +27>Emitted(50, 97) Source(59, 71) + SourceIndex(0) +28>Emitted(50, 98) Source(59, 72) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1811,14 +1812,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(50, 5) Source(60, 5) + SourceIndex(0) -2 >Emitted(50, 12) Source(60, 12) + SourceIndex(0) -3 >Emitted(50, 13) Source(60, 13) + SourceIndex(0) -4 >Emitted(50, 16) Source(60, 16) + SourceIndex(0) -5 >Emitted(50, 17) Source(60, 17) + SourceIndex(0) -6 >Emitted(50, 23) Source(60, 23) + SourceIndex(0) -7 >Emitted(50, 24) Source(60, 24) + SourceIndex(0) -8 >Emitted(50, 25) Source(60, 25) + SourceIndex(0) +1 >Emitted(51, 5) Source(60, 5) + SourceIndex(0) +2 >Emitted(51, 12) Source(60, 12) + SourceIndex(0) +3 >Emitted(51, 13) Source(60, 13) + SourceIndex(0) +4 >Emitted(51, 16) Source(60, 16) + SourceIndex(0) +5 >Emitted(51, 17) Source(60, 17) + SourceIndex(0) +6 >Emitted(51, 23) Source(60, 23) + SourceIndex(0) +7 >Emitted(51, 24) Source(60, 24) + SourceIndex(0) +8 >Emitted(51, 25) Source(60, 25) + SourceIndex(0) --- >>>} 1 > @@ -1827,8 +1828,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(51, 1) Source(61, 1) + SourceIndex(0) -2 >Emitted(51, 2) Source(61, 2) + SourceIndex(0) +1 >Emitted(52, 1) Source(61, 1) + SourceIndex(0) +2 >Emitted(52, 2) Source(61, 2) + SourceIndex(0) --- >>>for (var _j = [2, "trimmer", "trimming"], numberA2 = _j[0], nameA2 = _j[1], skillA2 = _j[2], i = 0; i < 1; i++) { 1-> @@ -1898,39 +1899,39 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 31> ++ 32> ) 33> { -1->Emitted(52, 1) Source(62, 1) + SourceIndex(0) -2 >Emitted(52, 6) Source(62, 10) + SourceIndex(0) -3 >Emitted(52, 10) Source(62, 10) + SourceIndex(0) -4 >Emitted(52, 15) Source(62, 40) + SourceIndex(0) -5 >Emitted(52, 16) Source(62, 41) + SourceIndex(0) -6 >Emitted(52, 17) Source(62, 42) + SourceIndex(0) -7 >Emitted(52, 19) Source(62, 44) + SourceIndex(0) -8 >Emitted(52, 28) Source(62, 53) + SourceIndex(0) -9 >Emitted(52, 30) Source(62, 55) + SourceIndex(0) -10>Emitted(52, 40) Source(62, 65) + SourceIndex(0) -11>Emitted(52, 41) Source(62, 66) + SourceIndex(0) -12>Emitted(52, 43) Source(62, 11) + SourceIndex(0) -13>Emitted(52, 51) Source(62, 19) + SourceIndex(0) -14>Emitted(52, 59) Source(62, 19) + SourceIndex(0) -15>Emitted(52, 61) Source(62, 21) + SourceIndex(0) -16>Emitted(52, 67) Source(62, 27) + SourceIndex(0) -17>Emitted(52, 75) Source(62, 27) + SourceIndex(0) -18>Emitted(52, 77) Source(62, 29) + SourceIndex(0) -19>Emitted(52, 84) Source(62, 36) + SourceIndex(0) -20>Emitted(52, 92) Source(62, 36) + SourceIndex(0) -21>Emitted(52, 94) Source(62, 68) + SourceIndex(0) -22>Emitted(52, 95) Source(62, 69) + SourceIndex(0) -23>Emitted(52, 98) Source(62, 72) + SourceIndex(0) -24>Emitted(52, 99) Source(62, 73) + SourceIndex(0) -25>Emitted(52, 101) Source(62, 75) + SourceIndex(0) -26>Emitted(52, 102) Source(62, 76) + SourceIndex(0) -27>Emitted(52, 105) Source(62, 79) + SourceIndex(0) -28>Emitted(52, 106) Source(62, 80) + SourceIndex(0) -29>Emitted(52, 108) Source(62, 82) + SourceIndex(0) -30>Emitted(52, 109) Source(62, 83) + SourceIndex(0) -31>Emitted(52, 111) Source(62, 85) + SourceIndex(0) -32>Emitted(52, 113) Source(62, 87) + SourceIndex(0) -33>Emitted(52, 114) Source(62, 88) + SourceIndex(0) +1->Emitted(53, 1) Source(62, 1) + SourceIndex(0) +2 >Emitted(53, 6) Source(62, 10) + SourceIndex(0) +3 >Emitted(53, 10) Source(62, 10) + SourceIndex(0) +4 >Emitted(53, 15) Source(62, 40) + SourceIndex(0) +5 >Emitted(53, 16) Source(62, 41) + SourceIndex(0) +6 >Emitted(53, 17) Source(62, 42) + SourceIndex(0) +7 >Emitted(53, 19) Source(62, 44) + SourceIndex(0) +8 >Emitted(53, 28) Source(62, 53) + SourceIndex(0) +9 >Emitted(53, 30) Source(62, 55) + SourceIndex(0) +10>Emitted(53, 40) Source(62, 65) + SourceIndex(0) +11>Emitted(53, 41) Source(62, 66) + SourceIndex(0) +12>Emitted(53, 43) Source(62, 11) + SourceIndex(0) +13>Emitted(53, 51) Source(62, 19) + SourceIndex(0) +14>Emitted(53, 59) Source(62, 19) + SourceIndex(0) +15>Emitted(53, 61) Source(62, 21) + SourceIndex(0) +16>Emitted(53, 67) Source(62, 27) + SourceIndex(0) +17>Emitted(53, 75) Source(62, 27) + SourceIndex(0) +18>Emitted(53, 77) Source(62, 29) + SourceIndex(0) +19>Emitted(53, 84) Source(62, 36) + SourceIndex(0) +20>Emitted(53, 92) Source(62, 36) + SourceIndex(0) +21>Emitted(53, 94) Source(62, 68) + SourceIndex(0) +22>Emitted(53, 95) Source(62, 69) + SourceIndex(0) +23>Emitted(53, 98) Source(62, 72) + SourceIndex(0) +24>Emitted(53, 99) Source(62, 73) + SourceIndex(0) +25>Emitted(53, 101) Source(62, 75) + SourceIndex(0) +26>Emitted(53, 102) Source(62, 76) + SourceIndex(0) +27>Emitted(53, 105) Source(62, 79) + SourceIndex(0) +28>Emitted(53, 106) Source(62, 80) + SourceIndex(0) +29>Emitted(53, 108) Source(62, 82) + SourceIndex(0) +30>Emitted(53, 109) Source(62, 83) + SourceIndex(0) +31>Emitted(53, 111) Source(62, 85) + SourceIndex(0) +32>Emitted(53, 113) Source(62, 87) + SourceIndex(0) +33>Emitted(53, 114) Source(62, 88) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1950,14 +1951,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(53, 5) Source(63, 5) + SourceIndex(0) -2 >Emitted(53, 12) Source(63, 12) + SourceIndex(0) -3 >Emitted(53, 13) Source(63, 13) + SourceIndex(0) -4 >Emitted(53, 16) Source(63, 16) + SourceIndex(0) -5 >Emitted(53, 17) Source(63, 17) + SourceIndex(0) -6 >Emitted(53, 23) Source(63, 23) + SourceIndex(0) -7 >Emitted(53, 24) Source(63, 24) + SourceIndex(0) -8 >Emitted(53, 25) Source(63, 25) + SourceIndex(0) +1 >Emitted(54, 5) Source(63, 5) + SourceIndex(0) +2 >Emitted(54, 12) Source(63, 12) + SourceIndex(0) +3 >Emitted(54, 13) Source(63, 13) + SourceIndex(0) +4 >Emitted(54, 16) Source(63, 16) + SourceIndex(0) +5 >Emitted(54, 17) Source(63, 17) + SourceIndex(0) +6 >Emitted(54, 23) Source(63, 23) + SourceIndex(0) +7 >Emitted(54, 24) Source(63, 24) + SourceIndex(0) +8 >Emitted(54, 25) Source(63, 25) + SourceIndex(0) --- >>>} 1 > @@ -1966,8 +1967,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(54, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(54, 2) Source(64, 2) + SourceIndex(0) +1 >Emitted(55, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(55, 2) Source(64, 2) + SourceIndex(0) --- >>>for (var nameMA = multiRobotA[0], _k = multiRobotA[1], primarySkillA = _k[0], secondarySkillA = _k[1], i = 0; i < 1; i++) { 1-> @@ -2031,36 +2032,36 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 28> ++ 29> ) 30> { -1->Emitted(55, 1) Source(65, 1) + SourceIndex(0) -2 >Emitted(55, 6) Source(65, 11) + SourceIndex(0) -3 >Emitted(55, 10) Source(65, 11) + SourceIndex(0) -4 >Emitted(55, 16) Source(65, 17) + SourceIndex(0) -5 >Emitted(55, 19) Source(65, 55) + SourceIndex(0) -6 >Emitted(55, 30) Source(65, 66) + SourceIndex(0) -7 >Emitted(55, 33) Source(65, 17) + SourceIndex(0) -8 >Emitted(55, 35) Source(65, 19) + SourceIndex(0) -9 >Emitted(55, 40) Source(65, 55) + SourceIndex(0) -10>Emitted(55, 51) Source(65, 66) + SourceIndex(0) -11>Emitted(55, 54) Source(65, 51) + SourceIndex(0) -12>Emitted(55, 56) Source(65, 20) + SourceIndex(0) -13>Emitted(55, 69) Source(65, 33) + SourceIndex(0) -14>Emitted(55, 77) Source(65, 33) + SourceIndex(0) -15>Emitted(55, 79) Source(65, 35) + SourceIndex(0) -16>Emitted(55, 94) Source(65, 50) + SourceIndex(0) -17>Emitted(55, 102) Source(65, 50) + SourceIndex(0) -18>Emitted(55, 104) Source(65, 68) + SourceIndex(0) -19>Emitted(55, 105) Source(65, 69) + SourceIndex(0) -20>Emitted(55, 108) Source(65, 72) + SourceIndex(0) -21>Emitted(55, 109) Source(65, 73) + SourceIndex(0) -22>Emitted(55, 111) Source(65, 75) + SourceIndex(0) -23>Emitted(55, 112) Source(65, 76) + SourceIndex(0) -24>Emitted(55, 115) Source(65, 79) + SourceIndex(0) -25>Emitted(55, 116) Source(65, 80) + SourceIndex(0) -26>Emitted(55, 118) Source(65, 82) + SourceIndex(0) -27>Emitted(55, 119) Source(65, 83) + SourceIndex(0) -28>Emitted(55, 121) Source(65, 85) + SourceIndex(0) -29>Emitted(55, 123) Source(65, 87) + SourceIndex(0) -30>Emitted(55, 124) Source(65, 88) + SourceIndex(0) +1->Emitted(56, 1) Source(65, 1) + SourceIndex(0) +2 >Emitted(56, 6) Source(65, 11) + SourceIndex(0) +3 >Emitted(56, 10) Source(65, 11) + SourceIndex(0) +4 >Emitted(56, 16) Source(65, 17) + SourceIndex(0) +5 >Emitted(56, 19) Source(65, 55) + SourceIndex(0) +6 >Emitted(56, 30) Source(65, 66) + SourceIndex(0) +7 >Emitted(56, 33) Source(65, 17) + SourceIndex(0) +8 >Emitted(56, 35) Source(65, 19) + SourceIndex(0) +9 >Emitted(56, 40) Source(65, 55) + SourceIndex(0) +10>Emitted(56, 51) Source(65, 66) + SourceIndex(0) +11>Emitted(56, 54) Source(65, 51) + SourceIndex(0) +12>Emitted(56, 56) Source(65, 20) + SourceIndex(0) +13>Emitted(56, 69) Source(65, 33) + SourceIndex(0) +14>Emitted(56, 77) Source(65, 33) + SourceIndex(0) +15>Emitted(56, 79) Source(65, 35) + SourceIndex(0) +16>Emitted(56, 94) Source(65, 50) + SourceIndex(0) +17>Emitted(56, 102) Source(65, 50) + SourceIndex(0) +18>Emitted(56, 104) Source(65, 68) + SourceIndex(0) +19>Emitted(56, 105) Source(65, 69) + SourceIndex(0) +20>Emitted(56, 108) Source(65, 72) + SourceIndex(0) +21>Emitted(56, 109) Source(65, 73) + SourceIndex(0) +22>Emitted(56, 111) Source(65, 75) + SourceIndex(0) +23>Emitted(56, 112) Source(65, 76) + SourceIndex(0) +24>Emitted(56, 115) Source(65, 79) + SourceIndex(0) +25>Emitted(56, 116) Source(65, 80) + SourceIndex(0) +26>Emitted(56, 118) Source(65, 82) + SourceIndex(0) +27>Emitted(56, 119) Source(65, 83) + SourceIndex(0) +28>Emitted(56, 121) Source(65, 85) + SourceIndex(0) +29>Emitted(56, 123) Source(65, 87) + SourceIndex(0) +30>Emitted(56, 124) Source(65, 88) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2080,14 +2081,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(56, 5) Source(66, 5) + SourceIndex(0) -2 >Emitted(56, 12) Source(66, 12) + SourceIndex(0) -3 >Emitted(56, 13) Source(66, 13) + SourceIndex(0) -4 >Emitted(56, 16) Source(66, 16) + SourceIndex(0) -5 >Emitted(56, 17) Source(66, 17) + SourceIndex(0) -6 >Emitted(56, 23) Source(66, 23) + SourceIndex(0) -7 >Emitted(56, 24) Source(66, 24) + SourceIndex(0) -8 >Emitted(56, 25) Source(66, 25) + SourceIndex(0) +1 >Emitted(57, 5) Source(66, 5) + SourceIndex(0) +2 >Emitted(57, 12) Source(66, 12) + SourceIndex(0) +3 >Emitted(57, 13) Source(66, 13) + SourceIndex(0) +4 >Emitted(57, 16) Source(66, 16) + SourceIndex(0) +5 >Emitted(57, 17) Source(66, 17) + SourceIndex(0) +6 >Emitted(57, 23) Source(66, 23) + SourceIndex(0) +7 >Emitted(57, 24) Source(66, 24) + SourceIndex(0) +8 >Emitted(57, 25) Source(66, 25) + SourceIndex(0) --- >>>} 1 > @@ -2096,8 +2097,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(57, 1) Source(67, 1) + SourceIndex(0) -2 >Emitted(57, 2) Source(67, 2) + SourceIndex(0) +1 >Emitted(58, 1) Source(67, 1) + SourceIndex(0) +2 >Emitted(58, 2) Source(67, 2) + SourceIndex(0) --- >>>for (var _l = getMultiRobot(), nameMA = _l[0], _m = _l[1], primarySkillA = _m[0], secondarySkillA = _m[1], i = 0; i < 1; i++) { 1-> @@ -2161,36 +2162,36 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 28> ++ 29> ) 30> { -1->Emitted(58, 1) Source(68, 1) + SourceIndex(0) -2 >Emitted(58, 6) Source(68, 10) + SourceIndex(0) -3 >Emitted(58, 10) Source(68, 10) + SourceIndex(0) -4 >Emitted(58, 15) Source(68, 55) + SourceIndex(0) -5 >Emitted(58, 28) Source(68, 68) + SourceIndex(0) -6 >Emitted(58, 30) Source(68, 70) + SourceIndex(0) -7 >Emitted(58, 32) Source(68, 11) + SourceIndex(0) -8 >Emitted(58, 38) Source(68, 17) + SourceIndex(0) -9 >Emitted(58, 46) Source(68, 17) + SourceIndex(0) -10>Emitted(58, 48) Source(68, 19) + SourceIndex(0) -11>Emitted(58, 58) Source(68, 51) + SourceIndex(0) -12>Emitted(58, 60) Source(68, 20) + SourceIndex(0) -13>Emitted(58, 73) Source(68, 33) + SourceIndex(0) -14>Emitted(58, 81) Source(68, 33) + SourceIndex(0) -15>Emitted(58, 83) Source(68, 35) + SourceIndex(0) -16>Emitted(58, 98) Source(68, 50) + SourceIndex(0) -17>Emitted(58, 106) Source(68, 50) + SourceIndex(0) -18>Emitted(58, 108) Source(68, 72) + SourceIndex(0) -19>Emitted(58, 109) Source(68, 73) + SourceIndex(0) -20>Emitted(58, 112) Source(68, 76) + SourceIndex(0) -21>Emitted(58, 113) Source(68, 77) + SourceIndex(0) -22>Emitted(58, 115) Source(68, 79) + SourceIndex(0) -23>Emitted(58, 116) Source(68, 80) + SourceIndex(0) -24>Emitted(58, 119) Source(68, 83) + SourceIndex(0) -25>Emitted(58, 120) Source(68, 84) + SourceIndex(0) -26>Emitted(58, 122) Source(68, 86) + SourceIndex(0) -27>Emitted(58, 123) Source(68, 87) + SourceIndex(0) -28>Emitted(58, 125) Source(68, 89) + SourceIndex(0) -29>Emitted(58, 127) Source(68, 91) + SourceIndex(0) -30>Emitted(58, 128) Source(68, 92) + SourceIndex(0) +1->Emitted(59, 1) Source(68, 1) + SourceIndex(0) +2 >Emitted(59, 6) Source(68, 10) + SourceIndex(0) +3 >Emitted(59, 10) Source(68, 10) + SourceIndex(0) +4 >Emitted(59, 15) Source(68, 55) + SourceIndex(0) +5 >Emitted(59, 28) Source(68, 68) + SourceIndex(0) +6 >Emitted(59, 30) Source(68, 70) + SourceIndex(0) +7 >Emitted(59, 32) Source(68, 11) + SourceIndex(0) +8 >Emitted(59, 38) Source(68, 17) + SourceIndex(0) +9 >Emitted(59, 46) Source(68, 17) + SourceIndex(0) +10>Emitted(59, 48) Source(68, 19) + SourceIndex(0) +11>Emitted(59, 58) Source(68, 51) + SourceIndex(0) +12>Emitted(59, 60) Source(68, 20) + SourceIndex(0) +13>Emitted(59, 73) Source(68, 33) + SourceIndex(0) +14>Emitted(59, 81) Source(68, 33) + SourceIndex(0) +15>Emitted(59, 83) Source(68, 35) + SourceIndex(0) +16>Emitted(59, 98) Source(68, 50) + SourceIndex(0) +17>Emitted(59, 106) Source(68, 50) + SourceIndex(0) +18>Emitted(59, 108) Source(68, 72) + SourceIndex(0) +19>Emitted(59, 109) Source(68, 73) + SourceIndex(0) +20>Emitted(59, 112) Source(68, 76) + SourceIndex(0) +21>Emitted(59, 113) Source(68, 77) + SourceIndex(0) +22>Emitted(59, 115) Source(68, 79) + SourceIndex(0) +23>Emitted(59, 116) Source(68, 80) + SourceIndex(0) +24>Emitted(59, 119) Source(68, 83) + SourceIndex(0) +25>Emitted(59, 120) Source(68, 84) + SourceIndex(0) +26>Emitted(59, 122) Source(68, 86) + SourceIndex(0) +27>Emitted(59, 123) Source(68, 87) + SourceIndex(0) +28>Emitted(59, 125) Source(68, 89) + SourceIndex(0) +29>Emitted(59, 127) Source(68, 91) + SourceIndex(0) +30>Emitted(59, 128) Source(68, 92) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2210,14 +2211,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(59, 5) Source(69, 5) + SourceIndex(0) -2 >Emitted(59, 12) Source(69, 12) + SourceIndex(0) -3 >Emitted(59, 13) Source(69, 13) + SourceIndex(0) -4 >Emitted(59, 16) Source(69, 16) + SourceIndex(0) -5 >Emitted(59, 17) Source(69, 17) + SourceIndex(0) -6 >Emitted(59, 23) Source(69, 23) + SourceIndex(0) -7 >Emitted(59, 24) Source(69, 24) + SourceIndex(0) -8 >Emitted(59, 25) Source(69, 25) + SourceIndex(0) +1 >Emitted(60, 5) Source(69, 5) + SourceIndex(0) +2 >Emitted(60, 12) Source(69, 12) + SourceIndex(0) +3 >Emitted(60, 13) Source(69, 13) + SourceIndex(0) +4 >Emitted(60, 16) Source(69, 16) + SourceIndex(0) +5 >Emitted(60, 17) Source(69, 17) + SourceIndex(0) +6 >Emitted(60, 23) Source(69, 23) + SourceIndex(0) +7 >Emitted(60, 24) Source(69, 24) + SourceIndex(0) +8 >Emitted(60, 25) Source(69, 25) + SourceIndex(0) --- >>>} 1 > @@ -2226,8 +2227,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(60, 1) Source(70, 1) + SourceIndex(0) -2 >Emitted(60, 2) Source(70, 2) + SourceIndex(0) +1 >Emitted(61, 1) Source(70, 1) + SourceIndex(0) +2 >Emitted(61, 2) Source(70, 2) + SourceIndex(0) --- >>>for (var _o = ["trimmer", ["trimming", "edging"]], nameMA = _o[0], _p = _o[1], primarySkillA = _p[0], secondarySkillA = _p[1], i = 0; i < 1; i++) { 1-> @@ -2305,43 +2306,43 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 35> ++ 36> ) 37> { -1->Emitted(61, 1) Source(71, 1) + SourceIndex(0) -2 >Emitted(61, 6) Source(71, 10) + SourceIndex(0) -3 >Emitted(61, 10) Source(71, 10) + SourceIndex(0) -4 >Emitted(61, 15) Source(71, 55) + SourceIndex(0) -5 >Emitted(61, 16) Source(71, 56) + SourceIndex(0) -6 >Emitted(61, 25) Source(71, 65) + SourceIndex(0) -7 >Emitted(61, 27) Source(71, 67) + SourceIndex(0) -8 >Emitted(61, 28) Source(71, 68) + SourceIndex(0) -9 >Emitted(61, 38) Source(71, 78) + SourceIndex(0) -10>Emitted(61, 40) Source(71, 80) + SourceIndex(0) -11>Emitted(61, 48) Source(71, 88) + SourceIndex(0) -12>Emitted(61, 49) Source(71, 89) + SourceIndex(0) -13>Emitted(61, 50) Source(71, 90) + SourceIndex(0) -14>Emitted(61, 52) Source(71, 11) + SourceIndex(0) -15>Emitted(61, 58) Source(71, 17) + SourceIndex(0) -16>Emitted(61, 66) Source(71, 17) + SourceIndex(0) -17>Emitted(61, 68) Source(71, 19) + SourceIndex(0) -18>Emitted(61, 78) Source(71, 51) + SourceIndex(0) -19>Emitted(61, 80) Source(71, 20) + SourceIndex(0) -20>Emitted(61, 93) Source(71, 33) + SourceIndex(0) -21>Emitted(61, 101) Source(71, 33) + SourceIndex(0) -22>Emitted(61, 103) Source(71, 35) + SourceIndex(0) -23>Emitted(61, 118) Source(71, 50) + SourceIndex(0) -24>Emitted(61, 126) Source(71, 50) + SourceIndex(0) -25>Emitted(61, 128) Source(71, 92) + SourceIndex(0) -26>Emitted(61, 129) Source(71, 93) + SourceIndex(0) -27>Emitted(61, 132) Source(71, 96) + SourceIndex(0) -28>Emitted(61, 133) Source(71, 97) + SourceIndex(0) -29>Emitted(61, 135) Source(71, 99) + SourceIndex(0) -30>Emitted(61, 136) Source(71, 100) + SourceIndex(0) -31>Emitted(61, 139) Source(71, 103) + SourceIndex(0) -32>Emitted(61, 140) Source(71, 104) + SourceIndex(0) -33>Emitted(61, 142) Source(71, 106) + SourceIndex(0) -34>Emitted(61, 143) Source(71, 107) + SourceIndex(0) -35>Emitted(61, 145) Source(71, 109) + SourceIndex(0) -36>Emitted(61, 147) Source(71, 111) + SourceIndex(0) -37>Emitted(61, 148) Source(71, 112) + SourceIndex(0) +1->Emitted(62, 1) Source(71, 1) + SourceIndex(0) +2 >Emitted(62, 6) Source(71, 10) + SourceIndex(0) +3 >Emitted(62, 10) Source(71, 10) + SourceIndex(0) +4 >Emitted(62, 15) Source(71, 55) + SourceIndex(0) +5 >Emitted(62, 16) Source(71, 56) + SourceIndex(0) +6 >Emitted(62, 25) Source(71, 65) + SourceIndex(0) +7 >Emitted(62, 27) Source(71, 67) + SourceIndex(0) +8 >Emitted(62, 28) Source(71, 68) + SourceIndex(0) +9 >Emitted(62, 38) Source(71, 78) + SourceIndex(0) +10>Emitted(62, 40) Source(71, 80) + SourceIndex(0) +11>Emitted(62, 48) Source(71, 88) + SourceIndex(0) +12>Emitted(62, 49) Source(71, 89) + SourceIndex(0) +13>Emitted(62, 50) Source(71, 90) + SourceIndex(0) +14>Emitted(62, 52) Source(71, 11) + SourceIndex(0) +15>Emitted(62, 58) Source(71, 17) + SourceIndex(0) +16>Emitted(62, 66) Source(71, 17) + SourceIndex(0) +17>Emitted(62, 68) Source(71, 19) + SourceIndex(0) +18>Emitted(62, 78) Source(71, 51) + SourceIndex(0) +19>Emitted(62, 80) Source(71, 20) + SourceIndex(0) +20>Emitted(62, 93) Source(71, 33) + SourceIndex(0) +21>Emitted(62, 101) Source(71, 33) + SourceIndex(0) +22>Emitted(62, 103) Source(71, 35) + SourceIndex(0) +23>Emitted(62, 118) Source(71, 50) + SourceIndex(0) +24>Emitted(62, 126) Source(71, 50) + SourceIndex(0) +25>Emitted(62, 128) Source(71, 92) + SourceIndex(0) +26>Emitted(62, 129) Source(71, 93) + SourceIndex(0) +27>Emitted(62, 132) Source(71, 96) + SourceIndex(0) +28>Emitted(62, 133) Source(71, 97) + SourceIndex(0) +29>Emitted(62, 135) Source(71, 99) + SourceIndex(0) +30>Emitted(62, 136) Source(71, 100) + SourceIndex(0) +31>Emitted(62, 139) Source(71, 103) + SourceIndex(0) +32>Emitted(62, 140) Source(71, 104) + SourceIndex(0) +33>Emitted(62, 142) Source(71, 106) + SourceIndex(0) +34>Emitted(62, 143) Source(71, 107) + SourceIndex(0) +35>Emitted(62, 145) Source(71, 109) + SourceIndex(0) +36>Emitted(62, 147) Source(71, 111) + SourceIndex(0) +37>Emitted(62, 148) Source(71, 112) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2361,14 +2362,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(62, 5) Source(72, 5) + SourceIndex(0) -2 >Emitted(62, 12) Source(72, 12) + SourceIndex(0) -3 >Emitted(62, 13) Source(72, 13) + SourceIndex(0) -4 >Emitted(62, 16) Source(72, 16) + SourceIndex(0) -5 >Emitted(62, 17) Source(72, 17) + SourceIndex(0) -6 >Emitted(62, 23) Source(72, 23) + SourceIndex(0) -7 >Emitted(62, 24) Source(72, 24) + SourceIndex(0) -8 >Emitted(62, 25) Source(72, 25) + SourceIndex(0) +1 >Emitted(63, 5) Source(72, 5) + SourceIndex(0) +2 >Emitted(63, 12) Source(72, 12) + SourceIndex(0) +3 >Emitted(63, 13) Source(72, 13) + SourceIndex(0) +4 >Emitted(63, 16) Source(72, 16) + SourceIndex(0) +5 >Emitted(63, 17) Source(72, 17) + SourceIndex(0) +6 >Emitted(63, 23) Source(72, 23) + SourceIndex(0) +7 >Emitted(63, 24) Source(72, 24) + SourceIndex(0) +8 >Emitted(63, 25) Source(72, 25) + SourceIndex(0) --- >>>} 1 > @@ -2377,8 +2378,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(63, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(63, 2) Source(73, 2) + SourceIndex(0) +1 >Emitted(64, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(64, 2) Source(73, 2) + SourceIndex(0) --- >>>for (var numberA3 = robotA[0], robotAInfo = robotA.slice(1), i = 0; i < 1; i++) { 1-> @@ -2433,31 +2434,31 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 23> ++ 24> ) 25> { -1->Emitted(64, 1) Source(75, 1) + SourceIndex(0) -2 >Emitted(64, 6) Source(75, 11) + SourceIndex(0) -3 >Emitted(64, 10) Source(75, 11) + SourceIndex(0) -4 >Emitted(64, 18) Source(75, 19) + SourceIndex(0) -5 >Emitted(64, 21) Source(75, 38) + SourceIndex(0) -6 >Emitted(64, 27) Source(75, 44) + SourceIndex(0) -7 >Emitted(64, 30) Source(75, 19) + SourceIndex(0) -8 >Emitted(64, 32) Source(75, 24) + SourceIndex(0) -9 >Emitted(64, 42) Source(75, 34) + SourceIndex(0) -10>Emitted(64, 45) Source(75, 38) + SourceIndex(0) -11>Emitted(64, 51) Source(75, 44) + SourceIndex(0) -12>Emitted(64, 60) Source(75, 34) + SourceIndex(0) -13>Emitted(64, 62) Source(75, 46) + SourceIndex(0) -14>Emitted(64, 63) Source(75, 47) + SourceIndex(0) -15>Emitted(64, 66) Source(75, 50) + SourceIndex(0) -16>Emitted(64, 67) Source(75, 51) + SourceIndex(0) -17>Emitted(64, 69) Source(75, 53) + SourceIndex(0) -18>Emitted(64, 70) Source(75, 54) + SourceIndex(0) -19>Emitted(64, 73) Source(75, 57) + SourceIndex(0) -20>Emitted(64, 74) Source(75, 58) + SourceIndex(0) -21>Emitted(64, 76) Source(75, 60) + SourceIndex(0) -22>Emitted(64, 77) Source(75, 61) + SourceIndex(0) -23>Emitted(64, 79) Source(75, 63) + SourceIndex(0) -24>Emitted(64, 81) Source(75, 65) + SourceIndex(0) -25>Emitted(64, 82) Source(75, 66) + SourceIndex(0) +1->Emitted(65, 1) Source(75, 1) + SourceIndex(0) +2 >Emitted(65, 6) Source(75, 11) + SourceIndex(0) +3 >Emitted(65, 10) Source(75, 11) + SourceIndex(0) +4 >Emitted(65, 18) Source(75, 19) + SourceIndex(0) +5 >Emitted(65, 21) Source(75, 38) + SourceIndex(0) +6 >Emitted(65, 27) Source(75, 44) + SourceIndex(0) +7 >Emitted(65, 30) Source(75, 19) + SourceIndex(0) +8 >Emitted(65, 32) Source(75, 24) + SourceIndex(0) +9 >Emitted(65, 42) Source(75, 34) + SourceIndex(0) +10>Emitted(65, 45) Source(75, 38) + SourceIndex(0) +11>Emitted(65, 51) Source(75, 44) + SourceIndex(0) +12>Emitted(65, 60) Source(75, 34) + SourceIndex(0) +13>Emitted(65, 62) Source(75, 46) + SourceIndex(0) +14>Emitted(65, 63) Source(75, 47) + SourceIndex(0) +15>Emitted(65, 66) Source(75, 50) + SourceIndex(0) +16>Emitted(65, 67) Source(75, 51) + SourceIndex(0) +17>Emitted(65, 69) Source(75, 53) + SourceIndex(0) +18>Emitted(65, 70) Source(75, 54) + SourceIndex(0) +19>Emitted(65, 73) Source(75, 57) + SourceIndex(0) +20>Emitted(65, 74) Source(75, 58) + SourceIndex(0) +21>Emitted(65, 76) Source(75, 60) + SourceIndex(0) +22>Emitted(65, 77) Source(75, 61) + SourceIndex(0) +23>Emitted(65, 79) Source(75, 63) + SourceIndex(0) +24>Emitted(65, 81) Source(75, 65) + SourceIndex(0) +25>Emitted(65, 82) Source(75, 66) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2477,14 +2478,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(65, 5) Source(76, 5) + SourceIndex(0) -2 >Emitted(65, 12) Source(76, 12) + SourceIndex(0) -3 >Emitted(65, 13) Source(76, 13) + SourceIndex(0) -4 >Emitted(65, 16) Source(76, 16) + SourceIndex(0) -5 >Emitted(65, 17) Source(76, 17) + SourceIndex(0) -6 >Emitted(65, 25) Source(76, 25) + SourceIndex(0) -7 >Emitted(65, 26) Source(76, 26) + SourceIndex(0) -8 >Emitted(65, 27) Source(76, 27) + SourceIndex(0) +1 >Emitted(66, 5) Source(76, 5) + SourceIndex(0) +2 >Emitted(66, 12) Source(76, 12) + SourceIndex(0) +3 >Emitted(66, 13) Source(76, 13) + SourceIndex(0) +4 >Emitted(66, 16) Source(76, 16) + SourceIndex(0) +5 >Emitted(66, 17) Source(76, 17) + SourceIndex(0) +6 >Emitted(66, 25) Source(76, 25) + SourceIndex(0) +7 >Emitted(66, 26) Source(76, 26) + SourceIndex(0) +8 >Emitted(66, 27) Source(76, 27) + SourceIndex(0) --- >>>} 1 > @@ -2493,8 +2494,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(66, 1) Source(77, 1) + SourceIndex(0) -2 >Emitted(66, 2) Source(77, 2) + SourceIndex(0) +1 >Emitted(67, 1) Source(77, 1) + SourceIndex(0) +2 >Emitted(67, 2) Source(77, 2) + SourceIndex(0) --- >>>for (var _q = getRobot(), numberA3 = _q[0], robotAInfo = _q.slice(1), i = 0; i < 1; i++) { 1-> @@ -2548,31 +2549,31 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 23> ++ 24> ) 25> { -1->Emitted(67, 1) Source(78, 1) + SourceIndex(0) -2 >Emitted(67, 6) Source(78, 10) + SourceIndex(0) -3 >Emitted(67, 10) Source(78, 10) + SourceIndex(0) -4 >Emitted(67, 15) Source(78, 38) + SourceIndex(0) -5 >Emitted(67, 23) Source(78, 46) + SourceIndex(0) -6 >Emitted(67, 25) Source(78, 48) + SourceIndex(0) -7 >Emitted(67, 27) Source(78, 11) + SourceIndex(0) -8 >Emitted(67, 35) Source(78, 19) + SourceIndex(0) -9 >Emitted(67, 43) Source(78, 19) + SourceIndex(0) -10>Emitted(67, 45) Source(78, 24) + SourceIndex(0) -11>Emitted(67, 55) Source(78, 34) + SourceIndex(0) -12>Emitted(67, 69) Source(78, 34) + SourceIndex(0) -13>Emitted(67, 71) Source(78, 50) + SourceIndex(0) -14>Emitted(67, 72) Source(78, 51) + SourceIndex(0) -15>Emitted(67, 75) Source(78, 54) + SourceIndex(0) -16>Emitted(67, 76) Source(78, 55) + SourceIndex(0) -17>Emitted(67, 78) Source(78, 57) + SourceIndex(0) -18>Emitted(67, 79) Source(78, 58) + SourceIndex(0) -19>Emitted(67, 82) Source(78, 61) + SourceIndex(0) -20>Emitted(67, 83) Source(78, 62) + SourceIndex(0) -21>Emitted(67, 85) Source(78, 64) + SourceIndex(0) -22>Emitted(67, 86) Source(78, 65) + SourceIndex(0) -23>Emitted(67, 88) Source(78, 67) + SourceIndex(0) -24>Emitted(67, 90) Source(78, 69) + SourceIndex(0) -25>Emitted(67, 91) Source(78, 70) + SourceIndex(0) +1->Emitted(68, 1) Source(78, 1) + SourceIndex(0) +2 >Emitted(68, 6) Source(78, 10) + SourceIndex(0) +3 >Emitted(68, 10) Source(78, 10) + SourceIndex(0) +4 >Emitted(68, 15) Source(78, 38) + SourceIndex(0) +5 >Emitted(68, 23) Source(78, 46) + SourceIndex(0) +6 >Emitted(68, 25) Source(78, 48) + SourceIndex(0) +7 >Emitted(68, 27) Source(78, 11) + SourceIndex(0) +8 >Emitted(68, 35) Source(78, 19) + SourceIndex(0) +9 >Emitted(68, 43) Source(78, 19) + SourceIndex(0) +10>Emitted(68, 45) Source(78, 24) + SourceIndex(0) +11>Emitted(68, 55) Source(78, 34) + SourceIndex(0) +12>Emitted(68, 69) Source(78, 34) + SourceIndex(0) +13>Emitted(68, 71) Source(78, 50) + SourceIndex(0) +14>Emitted(68, 72) Source(78, 51) + SourceIndex(0) +15>Emitted(68, 75) Source(78, 54) + SourceIndex(0) +16>Emitted(68, 76) Source(78, 55) + SourceIndex(0) +17>Emitted(68, 78) Source(78, 57) + SourceIndex(0) +18>Emitted(68, 79) Source(78, 58) + SourceIndex(0) +19>Emitted(68, 82) Source(78, 61) + SourceIndex(0) +20>Emitted(68, 83) Source(78, 62) + SourceIndex(0) +21>Emitted(68, 85) Source(78, 64) + SourceIndex(0) +22>Emitted(68, 86) Source(78, 65) + SourceIndex(0) +23>Emitted(68, 88) Source(78, 67) + SourceIndex(0) +24>Emitted(68, 90) Source(78, 69) + SourceIndex(0) +25>Emitted(68, 91) Source(78, 70) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2592,14 +2593,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(68, 5) Source(79, 5) + SourceIndex(0) -2 >Emitted(68, 12) Source(79, 12) + SourceIndex(0) -3 >Emitted(68, 13) Source(79, 13) + SourceIndex(0) -4 >Emitted(68, 16) Source(79, 16) + SourceIndex(0) -5 >Emitted(68, 17) Source(79, 17) + SourceIndex(0) -6 >Emitted(68, 25) Source(79, 25) + SourceIndex(0) -7 >Emitted(68, 26) Source(79, 26) + SourceIndex(0) -8 >Emitted(68, 27) Source(79, 27) + SourceIndex(0) +1 >Emitted(69, 5) Source(79, 5) + SourceIndex(0) +2 >Emitted(69, 12) Source(79, 12) + SourceIndex(0) +3 >Emitted(69, 13) Source(79, 13) + SourceIndex(0) +4 >Emitted(69, 16) Source(79, 16) + SourceIndex(0) +5 >Emitted(69, 17) Source(79, 17) + SourceIndex(0) +6 >Emitted(69, 25) Source(79, 25) + SourceIndex(0) +7 >Emitted(69, 26) Source(79, 26) + SourceIndex(0) +8 >Emitted(69, 27) Source(79, 27) + SourceIndex(0) --- >>>} 1 > @@ -2608,8 +2609,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(69, 1) Source(80, 1) + SourceIndex(0) -2 >Emitted(69, 2) Source(80, 2) + SourceIndex(0) +1 >Emitted(70, 1) Source(80, 1) + SourceIndex(0) +2 >Emitted(70, 2) Source(80, 2) + SourceIndex(0) --- >>>for (var _r = [2, "trimmer", "trimming"], numberA3 = _r[0], robotAInfo = _r.slice(1), i = 0; i < 1; i++) { 1-> @@ -2673,36 +2674,36 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 28> ++ 29> ) 30> { -1->Emitted(70, 1) Source(81, 1) + SourceIndex(0) -2 >Emitted(70, 6) Source(81, 10) + SourceIndex(0) -3 >Emitted(70, 10) Source(81, 10) + SourceIndex(0) -4 >Emitted(70, 15) Source(81, 38) + SourceIndex(0) -5 >Emitted(70, 16) Source(81, 39) + SourceIndex(0) -6 >Emitted(70, 17) Source(81, 40) + SourceIndex(0) -7 >Emitted(70, 19) Source(81, 42) + SourceIndex(0) -8 >Emitted(70, 28) Source(81, 51) + SourceIndex(0) -9 >Emitted(70, 30) Source(81, 53) + SourceIndex(0) -10>Emitted(70, 40) Source(81, 63) + SourceIndex(0) -11>Emitted(70, 41) Source(81, 64) + SourceIndex(0) -12>Emitted(70, 43) Source(81, 11) + SourceIndex(0) -13>Emitted(70, 51) Source(81, 19) + SourceIndex(0) -14>Emitted(70, 59) Source(81, 19) + SourceIndex(0) -15>Emitted(70, 61) Source(81, 24) + SourceIndex(0) -16>Emitted(70, 71) Source(81, 34) + SourceIndex(0) -17>Emitted(70, 85) Source(81, 34) + SourceIndex(0) -18>Emitted(70, 87) Source(81, 66) + SourceIndex(0) -19>Emitted(70, 88) Source(81, 67) + SourceIndex(0) -20>Emitted(70, 91) Source(81, 70) + SourceIndex(0) -21>Emitted(70, 92) Source(81, 71) + SourceIndex(0) -22>Emitted(70, 94) Source(81, 73) + SourceIndex(0) -23>Emitted(70, 95) Source(81, 74) + SourceIndex(0) -24>Emitted(70, 98) Source(81, 77) + SourceIndex(0) -25>Emitted(70, 99) Source(81, 78) + SourceIndex(0) -26>Emitted(70, 101) Source(81, 80) + SourceIndex(0) -27>Emitted(70, 102) Source(81, 81) + SourceIndex(0) -28>Emitted(70, 104) Source(81, 83) + SourceIndex(0) -29>Emitted(70, 106) Source(81, 85) + SourceIndex(0) -30>Emitted(70, 107) Source(81, 86) + SourceIndex(0) +1->Emitted(71, 1) Source(81, 1) + SourceIndex(0) +2 >Emitted(71, 6) Source(81, 10) + SourceIndex(0) +3 >Emitted(71, 10) Source(81, 10) + SourceIndex(0) +4 >Emitted(71, 15) Source(81, 38) + SourceIndex(0) +5 >Emitted(71, 16) Source(81, 39) + SourceIndex(0) +6 >Emitted(71, 17) Source(81, 40) + SourceIndex(0) +7 >Emitted(71, 19) Source(81, 42) + SourceIndex(0) +8 >Emitted(71, 28) Source(81, 51) + SourceIndex(0) +9 >Emitted(71, 30) Source(81, 53) + SourceIndex(0) +10>Emitted(71, 40) Source(81, 63) + SourceIndex(0) +11>Emitted(71, 41) Source(81, 64) + SourceIndex(0) +12>Emitted(71, 43) Source(81, 11) + SourceIndex(0) +13>Emitted(71, 51) Source(81, 19) + SourceIndex(0) +14>Emitted(71, 59) Source(81, 19) + SourceIndex(0) +15>Emitted(71, 61) Source(81, 24) + SourceIndex(0) +16>Emitted(71, 71) Source(81, 34) + SourceIndex(0) +17>Emitted(71, 85) Source(81, 34) + SourceIndex(0) +18>Emitted(71, 87) Source(81, 66) + SourceIndex(0) +19>Emitted(71, 88) Source(81, 67) + SourceIndex(0) +20>Emitted(71, 91) Source(81, 70) + SourceIndex(0) +21>Emitted(71, 92) Source(81, 71) + SourceIndex(0) +22>Emitted(71, 94) Source(81, 73) + SourceIndex(0) +23>Emitted(71, 95) Source(81, 74) + SourceIndex(0) +24>Emitted(71, 98) Source(81, 77) + SourceIndex(0) +25>Emitted(71, 99) Source(81, 78) + SourceIndex(0) +26>Emitted(71, 101) Source(81, 80) + SourceIndex(0) +27>Emitted(71, 102) Source(81, 81) + SourceIndex(0) +28>Emitted(71, 104) Source(81, 83) + SourceIndex(0) +29>Emitted(71, 106) Source(81, 85) + SourceIndex(0) +30>Emitted(71, 107) Source(81, 86) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2722,14 +2723,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(71, 5) Source(82, 5) + SourceIndex(0) -2 >Emitted(71, 12) Source(82, 12) + SourceIndex(0) -3 >Emitted(71, 13) Source(82, 13) + SourceIndex(0) -4 >Emitted(71, 16) Source(82, 16) + SourceIndex(0) -5 >Emitted(71, 17) Source(82, 17) + SourceIndex(0) -6 >Emitted(71, 25) Source(82, 25) + SourceIndex(0) -7 >Emitted(71, 26) Source(82, 26) + SourceIndex(0) -8 >Emitted(71, 27) Source(82, 27) + SourceIndex(0) +1 >Emitted(72, 5) Source(82, 5) + SourceIndex(0) +2 >Emitted(72, 12) Source(82, 12) + SourceIndex(0) +3 >Emitted(72, 13) Source(82, 13) + SourceIndex(0) +4 >Emitted(72, 16) Source(82, 16) + SourceIndex(0) +5 >Emitted(72, 17) Source(82, 17) + SourceIndex(0) +6 >Emitted(72, 25) Source(82, 25) + SourceIndex(0) +7 >Emitted(72, 26) Source(82, 26) + SourceIndex(0) +8 >Emitted(72, 27) Source(82, 27) + SourceIndex(0) --- >>>} 1 > @@ -2738,8 +2739,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(72, 1) Source(83, 1) + SourceIndex(0) -2 >Emitted(72, 2) Source(83, 2) + SourceIndex(0) +1 >Emitted(73, 1) Source(83, 1) + SourceIndex(0) +2 >Emitted(73, 2) Source(83, 2) + SourceIndex(0) --- >>>for (var multiRobotAInfo = multiRobotA.slice(0), i = 0; i < 1; i++) { 1-> @@ -2783,26 +2784,26 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 18> ++ 19> ) 20> { -1->Emitted(73, 1) Source(84, 1) + SourceIndex(0) -2 >Emitted(73, 6) Source(84, 11) + SourceIndex(0) -3 >Emitted(73, 10) Source(84, 14) + SourceIndex(0) -4 >Emitted(73, 25) Source(84, 29) + SourceIndex(0) -5 >Emitted(73, 28) Source(84, 33) + SourceIndex(0) -6 >Emitted(73, 39) Source(84, 44) + SourceIndex(0) -7 >Emitted(73, 48) Source(84, 29) + SourceIndex(0) -8 >Emitted(73, 50) Source(84, 46) + SourceIndex(0) -9 >Emitted(73, 51) Source(84, 47) + SourceIndex(0) -10>Emitted(73, 54) Source(84, 50) + SourceIndex(0) -11>Emitted(73, 55) Source(84, 51) + SourceIndex(0) -12>Emitted(73, 57) Source(84, 53) + SourceIndex(0) -13>Emitted(73, 58) Source(84, 54) + SourceIndex(0) -14>Emitted(73, 61) Source(84, 57) + SourceIndex(0) -15>Emitted(73, 62) Source(84, 58) + SourceIndex(0) -16>Emitted(73, 64) Source(84, 60) + SourceIndex(0) -17>Emitted(73, 65) Source(84, 61) + SourceIndex(0) -18>Emitted(73, 67) Source(84, 63) + SourceIndex(0) -19>Emitted(73, 69) Source(84, 65) + SourceIndex(0) -20>Emitted(73, 70) Source(84, 66) + SourceIndex(0) +1->Emitted(74, 1) Source(84, 1) + SourceIndex(0) +2 >Emitted(74, 6) Source(84, 11) + SourceIndex(0) +3 >Emitted(74, 10) Source(84, 14) + SourceIndex(0) +4 >Emitted(74, 25) Source(84, 29) + SourceIndex(0) +5 >Emitted(74, 28) Source(84, 33) + SourceIndex(0) +6 >Emitted(74, 39) Source(84, 44) + SourceIndex(0) +7 >Emitted(74, 48) Source(84, 29) + SourceIndex(0) +8 >Emitted(74, 50) Source(84, 46) + SourceIndex(0) +9 >Emitted(74, 51) Source(84, 47) + SourceIndex(0) +10>Emitted(74, 54) Source(84, 50) + SourceIndex(0) +11>Emitted(74, 55) Source(84, 51) + SourceIndex(0) +12>Emitted(74, 57) Source(84, 53) + SourceIndex(0) +13>Emitted(74, 58) Source(84, 54) + SourceIndex(0) +14>Emitted(74, 61) Source(84, 57) + SourceIndex(0) +15>Emitted(74, 62) Source(84, 58) + SourceIndex(0) +16>Emitted(74, 64) Source(84, 60) + SourceIndex(0) +17>Emitted(74, 65) Source(84, 61) + SourceIndex(0) +18>Emitted(74, 67) Source(84, 63) + SourceIndex(0) +19>Emitted(74, 69) Source(84, 65) + SourceIndex(0) +20>Emitted(74, 70) Source(84, 66) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -2822,14 +2823,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(74, 5) Source(85, 5) + SourceIndex(0) -2 >Emitted(74, 12) Source(85, 12) + SourceIndex(0) -3 >Emitted(74, 13) Source(85, 13) + SourceIndex(0) -4 >Emitted(74, 16) Source(85, 16) + SourceIndex(0) -5 >Emitted(74, 17) Source(85, 17) + SourceIndex(0) -6 >Emitted(74, 32) Source(85, 32) + SourceIndex(0) -7 >Emitted(74, 33) Source(85, 33) + SourceIndex(0) -8 >Emitted(74, 34) Source(85, 34) + SourceIndex(0) +1 >Emitted(75, 5) Source(85, 5) + SourceIndex(0) +2 >Emitted(75, 12) Source(85, 12) + SourceIndex(0) +3 >Emitted(75, 13) Source(85, 13) + SourceIndex(0) +4 >Emitted(75, 16) Source(85, 16) + SourceIndex(0) +5 >Emitted(75, 17) Source(85, 17) + SourceIndex(0) +6 >Emitted(75, 32) Source(85, 32) + SourceIndex(0) +7 >Emitted(75, 33) Source(85, 33) + SourceIndex(0) +8 >Emitted(75, 34) Source(85, 34) + SourceIndex(0) --- >>>} 1 > @@ -2838,8 +2839,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(75, 1) Source(86, 1) + SourceIndex(0) -2 >Emitted(75, 2) Source(86, 2) + SourceIndex(0) +1 >Emitted(76, 1) Source(86, 1) + SourceIndex(0) +2 >Emitted(76, 2) Source(86, 2) + SourceIndex(0) --- >>>for (var multiRobotAInfo = getMultiRobot().slice(0), i = 0; i < 1; i++) { 1-> @@ -2885,27 +2886,27 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 19> ++ 20> ) 21> { -1->Emitted(76, 1) Source(87, 1) + SourceIndex(0) -2 >Emitted(76, 6) Source(87, 11) + SourceIndex(0) -3 >Emitted(76, 10) Source(87, 14) + SourceIndex(0) -4 >Emitted(76, 25) Source(87, 29) + SourceIndex(0) -5 >Emitted(76, 28) Source(87, 33) + SourceIndex(0) -6 >Emitted(76, 41) Source(87, 46) + SourceIndex(0) -7 >Emitted(76, 43) Source(87, 48) + SourceIndex(0) -8 >Emitted(76, 52) Source(87, 29) + SourceIndex(0) -9 >Emitted(76, 54) Source(87, 50) + SourceIndex(0) -10>Emitted(76, 55) Source(87, 51) + SourceIndex(0) -11>Emitted(76, 58) Source(87, 54) + SourceIndex(0) -12>Emitted(76, 59) Source(87, 55) + SourceIndex(0) -13>Emitted(76, 61) Source(87, 57) + SourceIndex(0) -14>Emitted(76, 62) Source(87, 58) + SourceIndex(0) -15>Emitted(76, 65) Source(87, 61) + SourceIndex(0) -16>Emitted(76, 66) Source(87, 62) + SourceIndex(0) -17>Emitted(76, 68) Source(87, 64) + SourceIndex(0) -18>Emitted(76, 69) Source(87, 65) + SourceIndex(0) -19>Emitted(76, 71) Source(87, 67) + SourceIndex(0) -20>Emitted(76, 73) Source(87, 69) + SourceIndex(0) -21>Emitted(76, 74) Source(87, 70) + SourceIndex(0) +1->Emitted(77, 1) Source(87, 1) + SourceIndex(0) +2 >Emitted(77, 6) Source(87, 11) + SourceIndex(0) +3 >Emitted(77, 10) Source(87, 14) + SourceIndex(0) +4 >Emitted(77, 25) Source(87, 29) + SourceIndex(0) +5 >Emitted(77, 28) Source(87, 33) + SourceIndex(0) +6 >Emitted(77, 41) Source(87, 46) + SourceIndex(0) +7 >Emitted(77, 43) Source(87, 48) + SourceIndex(0) +8 >Emitted(77, 52) Source(87, 29) + SourceIndex(0) +9 >Emitted(77, 54) Source(87, 50) + SourceIndex(0) +10>Emitted(77, 55) Source(87, 51) + SourceIndex(0) +11>Emitted(77, 58) Source(87, 54) + SourceIndex(0) +12>Emitted(77, 59) Source(87, 55) + SourceIndex(0) +13>Emitted(77, 61) Source(87, 57) + SourceIndex(0) +14>Emitted(77, 62) Source(87, 58) + SourceIndex(0) +15>Emitted(77, 65) Source(87, 61) + SourceIndex(0) +16>Emitted(77, 66) Source(87, 62) + SourceIndex(0) +17>Emitted(77, 68) Source(87, 64) + SourceIndex(0) +18>Emitted(77, 69) Source(87, 65) + SourceIndex(0) +19>Emitted(77, 71) Source(87, 67) + SourceIndex(0) +20>Emitted(77, 73) Source(87, 69) + SourceIndex(0) +21>Emitted(77, 74) Source(87, 70) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -2925,14 +2926,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(77, 5) Source(88, 5) + SourceIndex(0) -2 >Emitted(77, 12) Source(88, 12) + SourceIndex(0) -3 >Emitted(77, 13) Source(88, 13) + SourceIndex(0) -4 >Emitted(77, 16) Source(88, 16) + SourceIndex(0) -5 >Emitted(77, 17) Source(88, 17) + SourceIndex(0) -6 >Emitted(77, 32) Source(88, 32) + SourceIndex(0) -7 >Emitted(77, 33) Source(88, 33) + SourceIndex(0) -8 >Emitted(77, 34) Source(88, 34) + SourceIndex(0) +1 >Emitted(78, 5) Source(88, 5) + SourceIndex(0) +2 >Emitted(78, 12) Source(88, 12) + SourceIndex(0) +3 >Emitted(78, 13) Source(88, 13) + SourceIndex(0) +4 >Emitted(78, 16) Source(88, 16) + SourceIndex(0) +5 >Emitted(78, 17) Source(88, 17) + SourceIndex(0) +6 >Emitted(78, 32) Source(88, 32) + SourceIndex(0) +7 >Emitted(78, 33) Source(88, 33) + SourceIndex(0) +8 >Emitted(78, 34) Source(88, 34) + SourceIndex(0) --- >>>} 1 > @@ -2941,8 +2942,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(78, 1) Source(89, 1) + SourceIndex(0) -2 >Emitted(78, 2) Source(89, 2) + SourceIndex(0) +1 >Emitted(79, 1) Source(89, 1) + SourceIndex(0) +2 >Emitted(79, 2) Source(89, 2) + SourceIndex(0) --- >>>for (var multiRobotAInfo = ["trimmer", ["trimming", "edging"]].slice(0), i = 0; i < 1; i++) { 1-> @@ -3002,34 +3003,34 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 26> ++ 27> ) 28> { -1->Emitted(79, 1) Source(90, 1) + SourceIndex(0) -2 >Emitted(79, 6) Source(90, 11) + SourceIndex(0) -3 >Emitted(79, 10) Source(90, 14) + SourceIndex(0) -4 >Emitted(79, 25) Source(90, 29) + SourceIndex(0) -5 >Emitted(79, 28) Source(90, 33) + SourceIndex(0) -6 >Emitted(79, 29) Source(90, 34) + SourceIndex(0) -7 >Emitted(79, 38) Source(90, 43) + SourceIndex(0) -8 >Emitted(79, 40) Source(90, 45) + SourceIndex(0) -9 >Emitted(79, 41) Source(90, 46) + SourceIndex(0) -10>Emitted(79, 51) Source(90, 56) + SourceIndex(0) -11>Emitted(79, 53) Source(90, 58) + SourceIndex(0) -12>Emitted(79, 61) Source(90, 66) + SourceIndex(0) -13>Emitted(79, 62) Source(90, 67) + SourceIndex(0) -14>Emitted(79, 63) Source(90, 68) + SourceIndex(0) -15>Emitted(79, 72) Source(90, 29) + SourceIndex(0) -16>Emitted(79, 74) Source(90, 70) + SourceIndex(0) -17>Emitted(79, 75) Source(90, 71) + SourceIndex(0) -18>Emitted(79, 78) Source(90, 74) + SourceIndex(0) -19>Emitted(79, 79) Source(90, 75) + SourceIndex(0) -20>Emitted(79, 81) Source(90, 77) + SourceIndex(0) -21>Emitted(79, 82) Source(90, 78) + SourceIndex(0) -22>Emitted(79, 85) Source(90, 81) + SourceIndex(0) -23>Emitted(79, 86) Source(90, 82) + SourceIndex(0) -24>Emitted(79, 88) Source(90, 84) + SourceIndex(0) -25>Emitted(79, 89) Source(90, 85) + SourceIndex(0) -26>Emitted(79, 91) Source(90, 87) + SourceIndex(0) -27>Emitted(79, 93) Source(90, 89) + SourceIndex(0) -28>Emitted(79, 94) Source(90, 90) + SourceIndex(0) +1->Emitted(80, 1) Source(90, 1) + SourceIndex(0) +2 >Emitted(80, 6) Source(90, 11) + SourceIndex(0) +3 >Emitted(80, 10) Source(90, 14) + SourceIndex(0) +4 >Emitted(80, 25) Source(90, 29) + SourceIndex(0) +5 >Emitted(80, 28) Source(90, 33) + SourceIndex(0) +6 >Emitted(80, 29) Source(90, 34) + SourceIndex(0) +7 >Emitted(80, 38) Source(90, 43) + SourceIndex(0) +8 >Emitted(80, 40) Source(90, 45) + SourceIndex(0) +9 >Emitted(80, 41) Source(90, 46) + SourceIndex(0) +10>Emitted(80, 51) Source(90, 56) + SourceIndex(0) +11>Emitted(80, 53) Source(90, 58) + SourceIndex(0) +12>Emitted(80, 61) Source(90, 66) + SourceIndex(0) +13>Emitted(80, 62) Source(90, 67) + SourceIndex(0) +14>Emitted(80, 63) Source(90, 68) + SourceIndex(0) +15>Emitted(80, 72) Source(90, 29) + SourceIndex(0) +16>Emitted(80, 74) Source(90, 70) + SourceIndex(0) +17>Emitted(80, 75) Source(90, 71) + SourceIndex(0) +18>Emitted(80, 78) Source(90, 74) + SourceIndex(0) +19>Emitted(80, 79) Source(90, 75) + SourceIndex(0) +20>Emitted(80, 81) Source(90, 77) + SourceIndex(0) +21>Emitted(80, 82) Source(90, 78) + SourceIndex(0) +22>Emitted(80, 85) Source(90, 81) + SourceIndex(0) +23>Emitted(80, 86) Source(90, 82) + SourceIndex(0) +24>Emitted(80, 88) Source(90, 84) + SourceIndex(0) +25>Emitted(80, 89) Source(90, 85) + SourceIndex(0) +26>Emitted(80, 91) Source(90, 87) + SourceIndex(0) +27>Emitted(80, 93) Source(90, 89) + SourceIndex(0) +28>Emitted(80, 94) Source(90, 90) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -3049,14 +3050,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(80, 5) Source(91, 5) + SourceIndex(0) -2 >Emitted(80, 12) Source(91, 12) + SourceIndex(0) -3 >Emitted(80, 13) Source(91, 13) + SourceIndex(0) -4 >Emitted(80, 16) Source(91, 16) + SourceIndex(0) -5 >Emitted(80, 17) Source(91, 17) + SourceIndex(0) -6 >Emitted(80, 32) Source(91, 32) + SourceIndex(0) -7 >Emitted(80, 33) Source(91, 33) + SourceIndex(0) -8 >Emitted(80, 34) Source(91, 34) + SourceIndex(0) +1 >Emitted(81, 5) Source(91, 5) + SourceIndex(0) +2 >Emitted(81, 12) Source(91, 12) + SourceIndex(0) +3 >Emitted(81, 13) Source(91, 13) + SourceIndex(0) +4 >Emitted(81, 16) Source(91, 16) + SourceIndex(0) +5 >Emitted(81, 17) Source(91, 17) + SourceIndex(0) +6 >Emitted(81, 32) Source(91, 32) + SourceIndex(0) +7 >Emitted(81, 33) Source(91, 33) + SourceIndex(0) +8 >Emitted(81, 34) Source(91, 34) + SourceIndex(0) --- >>>} 1 > @@ -3065,7 +3066,7 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(81, 1) Source(92, 1) + SourceIndex(0) -2 >Emitted(81, 2) Source(92, 2) + SourceIndex(0) +1 >Emitted(82, 1) Source(92, 1) + SourceIndex(0) +2 >Emitted(82, 2) Source(92, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForArrayBindingPattern.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.js b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.js index 682cdfb72523a..1bf2100d35b24 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.js @@ -101,6 +101,7 @@ for ([...multiRobotAInfo] = ["trimmer", ["trimming", "edging" } //// [sourceMapValidationDestructuringForArrayBindingPattern2.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r; var robotA = [1, "mower", "mowing"]; function getRobot() { diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.js.map index a41d665fa3c2b..150675cef8fad 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForArrayBindingPattern2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForArrayBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForArrayBindingPattern2.ts"],"names":[],"mappings":";AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,SAAS,QAAQ;IACb,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,SAAS,aAAa;IAClB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,IAAI,KAAa,EAAE,aAAqB,EAAE,eAAuB,CAAC;AAClE,IAAI,OAAe,EAAE,KAAa,CAAC;AACnC,IAAI,QAAgB,EAAE,MAAc,EAAE,OAAe,EAAE,MAAc,CAAC;AACtE,IAAI,QAAgB,EAAE,UAA+B,EAAE,eAA8C,CAAC;AACtG,IAAI,CAAS,CAAC;AAEd,KAAQ,KAAK,GAAI,MAAM,GAAV,EAAY,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACzC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAK,KAAY,QAAQ,EAAE,EAAnB,KAAK,QAAA,E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Li4ubXVsdGlSb2JvdEFJbmZvXSA9IG11bHRpUm9ib3RBLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dID0gZ2V0TXVsdGlSb2JvdCgpLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dID0gPE11bHRpU2tpbGxlZFJvYm90PlsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQ== +{"version":3,"file":"sourceMapValidationDestructuringForArrayBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForArrayBindingPattern2.ts"],"names":[],"mappings":";;AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,SAAS,QAAQ;IACb,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,SAAS,aAAa;IAClB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,IAAI,KAAa,EAAE,aAAqB,EAAE,eAAuB,CAAC;AAClE,IAAI,OAAe,EAAE,KAAa,CAAC;AACnC,IAAI,QAAgB,EAAE,MAAc,EAAE,OAAe,EAAE,MAAc,CAAC;AACtE,IAAI,QAAgB,EAAE,UAA+B,EAAE,eAA8C,CAAC;AACtG,IAAI,CAAS,CAAC;AAEd,KAAQ,KAAK,GAAI,MAAM,GAAV,EAAY,CAA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3IgKFtudW1iZXJBMywgLi4ucm9ib3RBSW5mb10gPSA8Um9ib3Q+WzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbLi4ubXVsdGlSb2JvdEFJbmZvXSA9IG11bHRpUm9ib3RBLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dID0gZ2V0TXVsdGlSb2JvdCgpLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dID0gPE11bHRpU2tpbGxlZFJvYm90PlsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQ== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.sourcemap.txt index 3f0159ce9d828..77b1aca5bba21 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPattern2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForArrayBindingPattern2.ts emittedFile:sourceMapValidationDestructuringForArrayBindingPattern2.js sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r; >>>var robotA = [1, "mower", "mowing"]; 1 > @@ -40,18 +41,18 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 10> "mowing" 11> ] 12> ; -1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(7, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(7, 21) + SourceIndex(0) -5 >Emitted(2, 15) Source(7, 22) + SourceIndex(0) -6 >Emitted(2, 16) Source(7, 23) + SourceIndex(0) -7 >Emitted(2, 18) Source(7, 25) + SourceIndex(0) -8 >Emitted(2, 25) Source(7, 32) + SourceIndex(0) -9 >Emitted(2, 27) Source(7, 34) + SourceIndex(0) -10>Emitted(2, 35) Source(7, 42) + SourceIndex(0) -11>Emitted(2, 36) Source(7, 43) + SourceIndex(0) -12>Emitted(2, 37) Source(7, 44) + SourceIndex(0) +1 >Emitted(3, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(7, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(7, 21) + SourceIndex(0) +5 >Emitted(3, 15) Source(7, 22) + SourceIndex(0) +6 >Emitted(3, 16) Source(7, 23) + SourceIndex(0) +7 >Emitted(3, 18) Source(7, 25) + SourceIndex(0) +8 >Emitted(3, 25) Source(7, 32) + SourceIndex(0) +9 >Emitted(3, 27) Source(7, 34) + SourceIndex(0) +10>Emitted(3, 35) Source(7, 42) + SourceIndex(0) +11>Emitted(3, 36) Source(7, 43) + SourceIndex(0) +12>Emitted(3, 37) Source(7, 44) + SourceIndex(0) --- >>>function getRobot() { 1 > @@ -62,9 +63,9 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts > 2 >function 3 > getRobot -1 >Emitted(3, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(3, 10) Source(8, 10) + SourceIndex(0) -3 >Emitted(3, 18) Source(8, 18) + SourceIndex(0) +1 >Emitted(4, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(4, 10) Source(8, 10) + SourceIndex(0) +3 >Emitted(4, 18) Source(8, 18) + SourceIndex(0) --- >>> return robotA; 1->^^^^ @@ -76,10 +77,10 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 2 > return 3 > robotA 4 > ; -1->Emitted(4, 5) Source(9, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(9, 12) + SourceIndex(0) -3 >Emitted(4, 18) Source(9, 18) + SourceIndex(0) -4 >Emitted(4, 19) Source(9, 19) + SourceIndex(0) +1->Emitted(5, 5) Source(9, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(9, 12) + SourceIndex(0) +3 >Emitted(5, 18) Source(9, 18) + SourceIndex(0) +4 >Emitted(5, 19) Source(9, 19) + SourceIndex(0) --- >>>} 1 > @@ -88,8 +89,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(5, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(10, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(10, 2) + SourceIndex(0) --- >>>var multiRobotA = ["mower", ["mowing", ""]]; 1-> @@ -123,20 +124,20 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 12> ] 13> ] 14> ; -1->Emitted(6, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(6, 5) Source(12, 5) + SourceIndex(0) -3 >Emitted(6, 16) Source(12, 16) + SourceIndex(0) -4 >Emitted(6, 19) Source(12, 38) + SourceIndex(0) -5 >Emitted(6, 20) Source(12, 39) + SourceIndex(0) -6 >Emitted(6, 27) Source(12, 46) + SourceIndex(0) -7 >Emitted(6, 29) Source(12, 48) + SourceIndex(0) -8 >Emitted(6, 30) Source(12, 49) + SourceIndex(0) -9 >Emitted(6, 38) Source(12, 57) + SourceIndex(0) -10>Emitted(6, 40) Source(12, 59) + SourceIndex(0) -11>Emitted(6, 42) Source(12, 61) + SourceIndex(0) -12>Emitted(6, 43) Source(12, 62) + SourceIndex(0) -13>Emitted(6, 44) Source(12, 63) + SourceIndex(0) -14>Emitted(6, 45) Source(12, 64) + SourceIndex(0) +1->Emitted(7, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(7, 5) Source(12, 5) + SourceIndex(0) +3 >Emitted(7, 16) Source(12, 16) + SourceIndex(0) +4 >Emitted(7, 19) Source(12, 38) + SourceIndex(0) +5 >Emitted(7, 20) Source(12, 39) + SourceIndex(0) +6 >Emitted(7, 27) Source(12, 46) + SourceIndex(0) +7 >Emitted(7, 29) Source(12, 48) + SourceIndex(0) +8 >Emitted(7, 30) Source(12, 49) + SourceIndex(0) +9 >Emitted(7, 38) Source(12, 57) + SourceIndex(0) +10>Emitted(7, 40) Source(12, 59) + SourceIndex(0) +11>Emitted(7, 42) Source(12, 61) + SourceIndex(0) +12>Emitted(7, 43) Source(12, 62) + SourceIndex(0) +13>Emitted(7, 44) Source(12, 63) + SourceIndex(0) +14>Emitted(7, 45) Source(12, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -168,20 +169,20 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 12> ] 13> ] 14> ; -1->Emitted(7, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(7, 16) Source(13, 16) + SourceIndex(0) -4 >Emitted(7, 19) Source(13, 38) + SourceIndex(0) -5 >Emitted(7, 20) Source(13, 39) + SourceIndex(0) -6 >Emitted(7, 29) Source(13, 48) + SourceIndex(0) -7 >Emitted(7, 31) Source(13, 50) + SourceIndex(0) -8 >Emitted(7, 32) Source(13, 51) + SourceIndex(0) -9 >Emitted(7, 42) Source(13, 61) + SourceIndex(0) -10>Emitted(7, 44) Source(13, 63) + SourceIndex(0) -11>Emitted(7, 52) Source(13, 71) + SourceIndex(0) -12>Emitted(7, 53) Source(13, 72) + SourceIndex(0) -13>Emitted(7, 54) Source(13, 73) + SourceIndex(0) -14>Emitted(7, 55) Source(13, 74) + SourceIndex(0) +1->Emitted(8, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(8, 16) Source(13, 16) + SourceIndex(0) +4 >Emitted(8, 19) Source(13, 38) + SourceIndex(0) +5 >Emitted(8, 20) Source(13, 39) + SourceIndex(0) +6 >Emitted(8, 29) Source(13, 48) + SourceIndex(0) +7 >Emitted(8, 31) Source(13, 50) + SourceIndex(0) +8 >Emitted(8, 32) Source(13, 51) + SourceIndex(0) +9 >Emitted(8, 42) Source(13, 61) + SourceIndex(0) +10>Emitted(8, 44) Source(13, 63) + SourceIndex(0) +11>Emitted(8, 52) Source(13, 71) + SourceIndex(0) +12>Emitted(8, 53) Source(13, 72) + SourceIndex(0) +13>Emitted(8, 54) Source(13, 73) + SourceIndex(0) +14>Emitted(8, 55) Source(13, 74) + SourceIndex(0) --- >>>function getMultiRobot() { 1 > @@ -192,9 +193,9 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts > 2 >function 3 > getMultiRobot -1 >Emitted(8, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(8, 10) Source(14, 10) + SourceIndex(0) -3 >Emitted(8, 23) Source(14, 23) + SourceIndex(0) +1 >Emitted(9, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(9, 10) Source(14, 10) + SourceIndex(0) +3 >Emitted(9, 23) Source(14, 23) + SourceIndex(0) --- >>> return multiRobotA; 1->^^^^ @@ -206,10 +207,10 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 2 > return 3 > multiRobotA 4 > ; -1->Emitted(9, 5) Source(15, 5) + SourceIndex(0) -2 >Emitted(9, 12) Source(15, 12) + SourceIndex(0) -3 >Emitted(9, 23) Source(15, 23) + SourceIndex(0) -4 >Emitted(9, 24) Source(15, 24) + SourceIndex(0) +1->Emitted(10, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(10, 12) Source(15, 12) + SourceIndex(0) +3 >Emitted(10, 23) Source(15, 23) + SourceIndex(0) +4 >Emitted(10, 24) Source(15, 24) + SourceIndex(0) --- >>>} 1 > @@ -218,8 +219,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(10, 2) Source(16, 2) + SourceIndex(0) +1 >Emitted(11, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(11, 2) Source(16, 2) + SourceIndex(0) --- >>>var nameA, primarySkillA, secondarySkillA; 1-> @@ -240,14 +241,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > , 7 > secondarySkillA: string 8 > ; -1->Emitted(11, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(11, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(11, 10) Source(18, 18) + SourceIndex(0) -4 >Emitted(11, 12) Source(18, 20) + SourceIndex(0) -5 >Emitted(11, 25) Source(18, 41) + SourceIndex(0) -6 >Emitted(11, 27) Source(18, 43) + SourceIndex(0) -7 >Emitted(11, 42) Source(18, 66) + SourceIndex(0) -8 >Emitted(11, 43) Source(18, 67) + SourceIndex(0) +1->Emitted(12, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(12, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(12, 10) Source(18, 18) + SourceIndex(0) +4 >Emitted(12, 12) Source(18, 20) + SourceIndex(0) +5 >Emitted(12, 25) Source(18, 41) + SourceIndex(0) +6 >Emitted(12, 27) Source(18, 43) + SourceIndex(0) +7 >Emitted(12, 42) Source(18, 66) + SourceIndex(0) +8 >Emitted(12, 43) Source(18, 67) + SourceIndex(0) --- >>>var numberB, nameB; 1 > @@ -264,12 +265,12 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 4 > , 5 > nameB: string 6 > ; -1 >Emitted(12, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(12, 5) Source(19, 5) + SourceIndex(0) -3 >Emitted(12, 12) Source(19, 20) + SourceIndex(0) -4 >Emitted(12, 14) Source(19, 22) + SourceIndex(0) -5 >Emitted(12, 19) Source(19, 35) + SourceIndex(0) -6 >Emitted(12, 20) Source(19, 36) + SourceIndex(0) +1 >Emitted(13, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(13, 5) Source(19, 5) + SourceIndex(0) +3 >Emitted(13, 12) Source(19, 20) + SourceIndex(0) +4 >Emitted(13, 14) Source(19, 22) + SourceIndex(0) +5 >Emitted(13, 19) Source(19, 35) + SourceIndex(0) +6 >Emitted(13, 20) Source(19, 36) + SourceIndex(0) --- >>>var numberA2, nameA2, skillA2, nameMA; 1-> @@ -294,16 +295,16 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 8 > , 9 > nameMA: string 10> ; -1->Emitted(13, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(13, 5) Source(20, 5) + SourceIndex(0) -3 >Emitted(13, 13) Source(20, 21) + SourceIndex(0) -4 >Emitted(13, 15) Source(20, 23) + SourceIndex(0) -5 >Emitted(13, 21) Source(20, 37) + SourceIndex(0) -6 >Emitted(13, 23) Source(20, 39) + SourceIndex(0) -7 >Emitted(13, 30) Source(20, 54) + SourceIndex(0) -8 >Emitted(13, 32) Source(20, 56) + SourceIndex(0) -9 >Emitted(13, 38) Source(20, 70) + SourceIndex(0) -10>Emitted(13, 39) Source(20, 71) + SourceIndex(0) +1->Emitted(14, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(14, 5) Source(20, 5) + SourceIndex(0) +3 >Emitted(14, 13) Source(20, 21) + SourceIndex(0) +4 >Emitted(14, 15) Source(20, 23) + SourceIndex(0) +5 >Emitted(14, 21) Source(20, 37) + SourceIndex(0) +6 >Emitted(14, 23) Source(20, 39) + SourceIndex(0) +7 >Emitted(14, 30) Source(20, 54) + SourceIndex(0) +8 >Emitted(14, 32) Source(20, 56) + SourceIndex(0) +9 >Emitted(14, 38) Source(20, 70) + SourceIndex(0) +10>Emitted(14, 39) Source(20, 71) + SourceIndex(0) --- >>>var numberA3, robotAInfo, multiRobotAInfo; 1-> @@ -323,14 +324,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > , 7 > multiRobotAInfo: (string | [string, string])[] 8 > ; -1->Emitted(14, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(14, 5) Source(21, 5) + SourceIndex(0) -3 >Emitted(14, 13) Source(21, 21) + SourceIndex(0) -4 >Emitted(14, 15) Source(21, 23) + SourceIndex(0) -5 >Emitted(14, 25) Source(21, 54) + SourceIndex(0) -6 >Emitted(14, 27) Source(21, 56) + SourceIndex(0) -7 >Emitted(14, 42) Source(21, 102) + SourceIndex(0) -8 >Emitted(14, 43) Source(21, 103) + SourceIndex(0) +1->Emitted(15, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(15, 5) Source(21, 5) + SourceIndex(0) +3 >Emitted(15, 13) Source(21, 21) + SourceIndex(0) +4 >Emitted(15, 15) Source(21, 23) + SourceIndex(0) +5 >Emitted(15, 25) Source(21, 54) + SourceIndex(0) +6 >Emitted(15, 27) Source(21, 56) + SourceIndex(0) +7 >Emitted(15, 42) Source(21, 102) + SourceIndex(0) +8 >Emitted(15, 43) Source(21, 103) + SourceIndex(0) --- >>>var i; 1 > @@ -343,10 +344,10 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 2 >let 3 > i: number 4 > ; -1 >Emitted(15, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(15, 5) Source(22, 5) + SourceIndex(0) -3 >Emitted(15, 6) Source(22, 14) + SourceIndex(0) -4 >Emitted(15, 7) Source(22, 15) + SourceIndex(0) +1 >Emitted(16, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(16, 5) Source(22, 5) + SourceIndex(0) +3 >Emitted(16, 6) Source(22, 14) + SourceIndex(0) +4 >Emitted(16, 7) Source(22, 15) + SourceIndex(0) --- >>>for (nameA = robotA[1], i = 0; i < 1; i++) { 1-> @@ -389,25 +390,25 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 17> ++ 18> ) 19> { -1->Emitted(16, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(16, 6) Source(24, 9) + SourceIndex(0) -3 >Emitted(16, 11) Source(24, 14) + SourceIndex(0) -4 >Emitted(16, 14) Source(24, 18) + SourceIndex(0) -5 >Emitted(16, 20) Source(24, 24) + SourceIndex(0) -6 >Emitted(16, 23) Source(24, 14) + SourceIndex(0) -7 >Emitted(16, 25) Source(24, 26) + SourceIndex(0) -8 >Emitted(16, 26) Source(24, 27) + SourceIndex(0) -9 >Emitted(16, 29) Source(24, 30) + SourceIndex(0) -10>Emitted(16, 30) Source(24, 31) + SourceIndex(0) -11>Emitted(16, 32) Source(24, 33) + SourceIndex(0) -12>Emitted(16, 33) Source(24, 34) + SourceIndex(0) -13>Emitted(16, 36) Source(24, 37) + SourceIndex(0) -14>Emitted(16, 37) Source(24, 38) + SourceIndex(0) -15>Emitted(16, 39) Source(24, 40) + SourceIndex(0) -16>Emitted(16, 40) Source(24, 41) + SourceIndex(0) -17>Emitted(16, 42) Source(24, 43) + SourceIndex(0) -18>Emitted(16, 44) Source(24, 45) + SourceIndex(0) -19>Emitted(16, 45) Source(24, 46) + SourceIndex(0) +1->Emitted(17, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(17, 6) Source(24, 9) + SourceIndex(0) +3 >Emitted(17, 11) Source(24, 14) + SourceIndex(0) +4 >Emitted(17, 14) Source(24, 18) + SourceIndex(0) +5 >Emitted(17, 20) Source(24, 24) + SourceIndex(0) +6 >Emitted(17, 23) Source(24, 14) + SourceIndex(0) +7 >Emitted(17, 25) Source(24, 26) + SourceIndex(0) +8 >Emitted(17, 26) Source(24, 27) + SourceIndex(0) +9 >Emitted(17, 29) Source(24, 30) + SourceIndex(0) +10>Emitted(17, 30) Source(24, 31) + SourceIndex(0) +11>Emitted(17, 32) Source(24, 33) + SourceIndex(0) +12>Emitted(17, 33) Source(24, 34) + SourceIndex(0) +13>Emitted(17, 36) Source(24, 37) + SourceIndex(0) +14>Emitted(17, 37) Source(24, 38) + SourceIndex(0) +15>Emitted(17, 39) Source(24, 40) + SourceIndex(0) +16>Emitted(17, 40) Source(24, 41) + SourceIndex(0) +17>Emitted(17, 42) Source(24, 43) + SourceIndex(0) +18>Emitted(17, 44) Source(24, 45) + SourceIndex(0) +19>Emitted(17, 45) Source(24, 46) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -427,14 +428,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(17, 5) Source(25, 5) + SourceIndex(0) -2 >Emitted(17, 12) Source(25, 12) + SourceIndex(0) -3 >Emitted(17, 13) Source(25, 13) + SourceIndex(0) -4 >Emitted(17, 16) Source(25, 16) + SourceIndex(0) -5 >Emitted(17, 17) Source(25, 17) + SourceIndex(0) -6 >Emitted(17, 22) Source(25, 22) + SourceIndex(0) -7 >Emitted(17, 23) Source(25, 23) + SourceIndex(0) -8 >Emitted(17, 24) Source(25, 24) + SourceIndex(0) +1 >Emitted(18, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(18, 12) Source(25, 12) + SourceIndex(0) +3 >Emitted(18, 13) Source(25, 13) + SourceIndex(0) +4 >Emitted(18, 16) Source(25, 16) + SourceIndex(0) +5 >Emitted(18, 17) Source(25, 17) + SourceIndex(0) +6 >Emitted(18, 22) Source(25, 22) + SourceIndex(0) +7 >Emitted(18, 23) Source(25, 23) + SourceIndex(0) +8 >Emitted(18, 24) Source(25, 24) + SourceIndex(0) --- >>>} 1 > @@ -443,8 +444,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(18, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(18, 2) Source(26, 2) + SourceIndex(0) +1 >Emitted(19, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(26, 2) + SourceIndex(0) --- >>>for (_a = getRobot(), nameA = _a[1], i = 0; i < 1; i++) { 1-> @@ -490,27 +491,27 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 19> ++ 20> ) 21> { -1->Emitted(19, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(19, 6) Source(27, 6) + SourceIndex(0) -3 >Emitted(19, 11) Source(27, 18) + SourceIndex(0) -4 >Emitted(19, 19) Source(27, 26) + SourceIndex(0) -5 >Emitted(19, 21) Source(27, 28) + SourceIndex(0) -6 >Emitted(19, 23) Source(27, 9) + SourceIndex(0) -7 >Emitted(19, 28) Source(27, 14) + SourceIndex(0) -8 >Emitted(19, 36) Source(27, 14) + SourceIndex(0) -9 >Emitted(19, 38) Source(27, 30) + SourceIndex(0) -10>Emitted(19, 39) Source(27, 31) + SourceIndex(0) -11>Emitted(19, 42) Source(27, 34) + SourceIndex(0) -12>Emitted(19, 43) Source(27, 35) + SourceIndex(0) -13>Emitted(19, 45) Source(27, 37) + SourceIndex(0) -14>Emitted(19, 46) Source(27, 38) + SourceIndex(0) -15>Emitted(19, 49) Source(27, 41) + SourceIndex(0) -16>Emitted(19, 50) Source(27, 42) + SourceIndex(0) -17>Emitted(19, 52) Source(27, 44) + SourceIndex(0) -18>Emitted(19, 53) Source(27, 45) + SourceIndex(0) -19>Emitted(19, 55) Source(27, 47) + SourceIndex(0) -20>Emitted(19, 57) Source(27, 49) + SourceIndex(0) -21>Emitted(19, 58) Source(27, 50) + SourceIndex(0) +1->Emitted(20, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(20, 6) Source(27, 6) + SourceIndex(0) +3 >Emitted(20, 11) Source(27, 18) + SourceIndex(0) +4 >Emitted(20, 19) Source(27, 26) + SourceIndex(0) +5 >Emitted(20, 21) Source(27, 28) + SourceIndex(0) +6 >Emitted(20, 23) Source(27, 9) + SourceIndex(0) +7 >Emitted(20, 28) Source(27, 14) + SourceIndex(0) +8 >Emitted(20, 36) Source(27, 14) + SourceIndex(0) +9 >Emitted(20, 38) Source(27, 30) + SourceIndex(0) +10>Emitted(20, 39) Source(27, 31) + SourceIndex(0) +11>Emitted(20, 42) Source(27, 34) + SourceIndex(0) +12>Emitted(20, 43) Source(27, 35) + SourceIndex(0) +13>Emitted(20, 45) Source(27, 37) + SourceIndex(0) +14>Emitted(20, 46) Source(27, 38) + SourceIndex(0) +15>Emitted(20, 49) Source(27, 41) + SourceIndex(0) +16>Emitted(20, 50) Source(27, 42) + SourceIndex(0) +17>Emitted(20, 52) Source(27, 44) + SourceIndex(0) +18>Emitted(20, 53) Source(27, 45) + SourceIndex(0) +19>Emitted(20, 55) Source(27, 47) + SourceIndex(0) +20>Emitted(20, 57) Source(27, 49) + SourceIndex(0) +21>Emitted(20, 58) Source(27, 50) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -530,14 +531,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(20, 5) Source(28, 5) + SourceIndex(0) -2 >Emitted(20, 12) Source(28, 12) + SourceIndex(0) -3 >Emitted(20, 13) Source(28, 13) + SourceIndex(0) -4 >Emitted(20, 16) Source(28, 16) + SourceIndex(0) -5 >Emitted(20, 17) Source(28, 17) + SourceIndex(0) -6 >Emitted(20, 22) Source(28, 22) + SourceIndex(0) -7 >Emitted(20, 23) Source(28, 23) + SourceIndex(0) -8 >Emitted(20, 24) Source(28, 24) + SourceIndex(0) +1 >Emitted(21, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(21, 12) Source(28, 12) + SourceIndex(0) +3 >Emitted(21, 13) Source(28, 13) + SourceIndex(0) +4 >Emitted(21, 16) Source(28, 16) + SourceIndex(0) +5 >Emitted(21, 17) Source(28, 17) + SourceIndex(0) +6 >Emitted(21, 22) Source(28, 22) + SourceIndex(0) +7 >Emitted(21, 23) Source(28, 23) + SourceIndex(0) +8 >Emitted(21, 24) Source(28, 24) + SourceIndex(0) --- >>>} 1 > @@ -546,8 +547,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(21, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(21, 2) Source(29, 2) + SourceIndex(0) +1 >Emitted(22, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(22, 2) Source(29, 2) + SourceIndex(0) --- >>>for (_b = [2, "trimmer", "trimming"], nameA = _b[1], i = 0; i < 1; i++) { 1-> @@ -603,32 +604,32 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 24> ++ 25> ) 26> { -1->Emitted(22, 1) Source(30, 1) + SourceIndex(0) -2 >Emitted(22, 6) Source(30, 6) + SourceIndex(0) -3 >Emitted(22, 11) Source(30, 18) + SourceIndex(0) -4 >Emitted(22, 12) Source(30, 19) + SourceIndex(0) -5 >Emitted(22, 13) Source(30, 20) + SourceIndex(0) -6 >Emitted(22, 15) Source(30, 22) + SourceIndex(0) -7 >Emitted(22, 24) Source(30, 31) + SourceIndex(0) -8 >Emitted(22, 26) Source(30, 33) + SourceIndex(0) -9 >Emitted(22, 36) Source(30, 43) + SourceIndex(0) -10>Emitted(22, 37) Source(30, 44) + SourceIndex(0) -11>Emitted(22, 39) Source(30, 9) + SourceIndex(0) -12>Emitted(22, 44) Source(30, 14) + SourceIndex(0) -13>Emitted(22, 52) Source(30, 14) + SourceIndex(0) -14>Emitted(22, 54) Source(30, 46) + SourceIndex(0) -15>Emitted(22, 55) Source(30, 47) + SourceIndex(0) -16>Emitted(22, 58) Source(30, 50) + SourceIndex(0) -17>Emitted(22, 59) Source(30, 51) + SourceIndex(0) -18>Emitted(22, 61) Source(30, 53) + SourceIndex(0) -19>Emitted(22, 62) Source(30, 54) + SourceIndex(0) -20>Emitted(22, 65) Source(30, 57) + SourceIndex(0) -21>Emitted(22, 66) Source(30, 58) + SourceIndex(0) -22>Emitted(22, 68) Source(30, 60) + SourceIndex(0) -23>Emitted(22, 69) Source(30, 61) + SourceIndex(0) -24>Emitted(22, 71) Source(30, 63) + SourceIndex(0) -25>Emitted(22, 73) Source(30, 65) + SourceIndex(0) -26>Emitted(22, 74) Source(30, 66) + SourceIndex(0) +1->Emitted(23, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(23, 6) Source(30, 6) + SourceIndex(0) +3 >Emitted(23, 11) Source(30, 18) + SourceIndex(0) +4 >Emitted(23, 12) Source(30, 19) + SourceIndex(0) +5 >Emitted(23, 13) Source(30, 20) + SourceIndex(0) +6 >Emitted(23, 15) Source(30, 22) + SourceIndex(0) +7 >Emitted(23, 24) Source(30, 31) + SourceIndex(0) +8 >Emitted(23, 26) Source(30, 33) + SourceIndex(0) +9 >Emitted(23, 36) Source(30, 43) + SourceIndex(0) +10>Emitted(23, 37) Source(30, 44) + SourceIndex(0) +11>Emitted(23, 39) Source(30, 9) + SourceIndex(0) +12>Emitted(23, 44) Source(30, 14) + SourceIndex(0) +13>Emitted(23, 52) Source(30, 14) + SourceIndex(0) +14>Emitted(23, 54) Source(30, 46) + SourceIndex(0) +15>Emitted(23, 55) Source(30, 47) + SourceIndex(0) +16>Emitted(23, 58) Source(30, 50) + SourceIndex(0) +17>Emitted(23, 59) Source(30, 51) + SourceIndex(0) +18>Emitted(23, 61) Source(30, 53) + SourceIndex(0) +19>Emitted(23, 62) Source(30, 54) + SourceIndex(0) +20>Emitted(23, 65) Source(30, 57) + SourceIndex(0) +21>Emitted(23, 66) Source(30, 58) + SourceIndex(0) +22>Emitted(23, 68) Source(30, 60) + SourceIndex(0) +23>Emitted(23, 69) Source(30, 61) + SourceIndex(0) +24>Emitted(23, 71) Source(30, 63) + SourceIndex(0) +25>Emitted(23, 73) Source(30, 65) + SourceIndex(0) +26>Emitted(23, 74) Source(30, 66) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -648,14 +649,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(23, 5) Source(31, 5) + SourceIndex(0) -2 >Emitted(23, 12) Source(31, 12) + SourceIndex(0) -3 >Emitted(23, 13) Source(31, 13) + SourceIndex(0) -4 >Emitted(23, 16) Source(31, 16) + SourceIndex(0) -5 >Emitted(23, 17) Source(31, 17) + SourceIndex(0) -6 >Emitted(23, 22) Source(31, 22) + SourceIndex(0) -7 >Emitted(23, 23) Source(31, 23) + SourceIndex(0) -8 >Emitted(23, 24) Source(31, 24) + SourceIndex(0) +1 >Emitted(24, 5) Source(31, 5) + SourceIndex(0) +2 >Emitted(24, 12) Source(31, 12) + SourceIndex(0) +3 >Emitted(24, 13) Source(31, 13) + SourceIndex(0) +4 >Emitted(24, 16) Source(31, 16) + SourceIndex(0) +5 >Emitted(24, 17) Source(31, 17) + SourceIndex(0) +6 >Emitted(24, 22) Source(31, 22) + SourceIndex(0) +7 >Emitted(24, 23) Source(31, 23) + SourceIndex(0) +8 >Emitted(24, 24) Source(31, 24) + SourceIndex(0) --- >>>} 1 > @@ -664,8 +665,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(24, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(24, 2) Source(32, 2) + SourceIndex(0) +1 >Emitted(25, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(25, 2) Source(32, 2) + SourceIndex(0) --- >>>for (_c = multiRobotA[1], primarySkillA = _c[0], secondarySkillA = _c[1], i = 0; i < 1; i++) { 1-> @@ -717,30 +718,30 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 22> ++ 23> ) 24> { -1->Emitted(25, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(25, 6) Source(33, 9) + SourceIndex(0) -3 >Emitted(25, 11) Source(33, 45) + SourceIndex(0) -4 >Emitted(25, 22) Source(33, 56) + SourceIndex(0) -5 >Emitted(25, 25) Source(33, 41) + SourceIndex(0) -6 >Emitted(25, 27) Source(33, 10) + SourceIndex(0) -7 >Emitted(25, 40) Source(33, 23) + SourceIndex(0) -8 >Emitted(25, 48) Source(33, 23) + SourceIndex(0) -9 >Emitted(25, 50) Source(33, 25) + SourceIndex(0) -10>Emitted(25, 65) Source(33, 40) + SourceIndex(0) -11>Emitted(25, 73) Source(33, 40) + SourceIndex(0) -12>Emitted(25, 75) Source(33, 58) + SourceIndex(0) -13>Emitted(25, 76) Source(33, 59) + SourceIndex(0) -14>Emitted(25, 79) Source(33, 62) + SourceIndex(0) -15>Emitted(25, 80) Source(33, 63) + SourceIndex(0) -16>Emitted(25, 82) Source(33, 65) + SourceIndex(0) -17>Emitted(25, 83) Source(33, 66) + SourceIndex(0) -18>Emitted(25, 86) Source(33, 69) + SourceIndex(0) -19>Emitted(25, 87) Source(33, 70) + SourceIndex(0) -20>Emitted(25, 89) Source(33, 72) + SourceIndex(0) -21>Emitted(25, 90) Source(33, 73) + SourceIndex(0) -22>Emitted(25, 92) Source(33, 75) + SourceIndex(0) -23>Emitted(25, 94) Source(33, 77) + SourceIndex(0) -24>Emitted(25, 95) Source(33, 78) + SourceIndex(0) +1->Emitted(26, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(26, 6) Source(33, 9) + SourceIndex(0) +3 >Emitted(26, 11) Source(33, 45) + SourceIndex(0) +4 >Emitted(26, 22) Source(33, 56) + SourceIndex(0) +5 >Emitted(26, 25) Source(33, 41) + SourceIndex(0) +6 >Emitted(26, 27) Source(33, 10) + SourceIndex(0) +7 >Emitted(26, 40) Source(33, 23) + SourceIndex(0) +8 >Emitted(26, 48) Source(33, 23) + SourceIndex(0) +9 >Emitted(26, 50) Source(33, 25) + SourceIndex(0) +10>Emitted(26, 65) Source(33, 40) + SourceIndex(0) +11>Emitted(26, 73) Source(33, 40) + SourceIndex(0) +12>Emitted(26, 75) Source(33, 58) + SourceIndex(0) +13>Emitted(26, 76) Source(33, 59) + SourceIndex(0) +14>Emitted(26, 79) Source(33, 62) + SourceIndex(0) +15>Emitted(26, 80) Source(33, 63) + SourceIndex(0) +16>Emitted(26, 82) Source(33, 65) + SourceIndex(0) +17>Emitted(26, 83) Source(33, 66) + SourceIndex(0) +18>Emitted(26, 86) Source(33, 69) + SourceIndex(0) +19>Emitted(26, 87) Source(33, 70) + SourceIndex(0) +20>Emitted(26, 89) Source(33, 72) + SourceIndex(0) +21>Emitted(26, 90) Source(33, 73) + SourceIndex(0) +22>Emitted(26, 92) Source(33, 75) + SourceIndex(0) +23>Emitted(26, 94) Source(33, 77) + SourceIndex(0) +24>Emitted(26, 95) Source(33, 78) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -760,14 +761,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(26, 5) Source(34, 5) + SourceIndex(0) -2 >Emitted(26, 12) Source(34, 12) + SourceIndex(0) -3 >Emitted(26, 13) Source(34, 13) + SourceIndex(0) -4 >Emitted(26, 16) Source(34, 16) + SourceIndex(0) -5 >Emitted(26, 17) Source(34, 17) + SourceIndex(0) -6 >Emitted(26, 30) Source(34, 30) + SourceIndex(0) -7 >Emitted(26, 31) Source(34, 31) + SourceIndex(0) -8 >Emitted(26, 32) Source(34, 32) + SourceIndex(0) +1 >Emitted(27, 5) Source(34, 5) + SourceIndex(0) +2 >Emitted(27, 12) Source(34, 12) + SourceIndex(0) +3 >Emitted(27, 13) Source(34, 13) + SourceIndex(0) +4 >Emitted(27, 16) Source(34, 16) + SourceIndex(0) +5 >Emitted(27, 17) Source(34, 17) + SourceIndex(0) +6 >Emitted(27, 30) Source(34, 30) + SourceIndex(0) +7 >Emitted(27, 31) Source(34, 31) + SourceIndex(0) +8 >Emitted(27, 32) Source(34, 32) + SourceIndex(0) --- >>>} 1 > @@ -776,8 +777,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(27, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(27, 2) Source(35, 2) + SourceIndex(0) +1 >Emitted(28, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(28, 2) Source(35, 2) + SourceIndex(0) --- >>>for (_d = getMultiRobot(), _e = _d[1], primarySkillA = _e[0], secondarySkillA = _e[1], i = 0; i < 1; i++) { 1-> @@ -833,32 +834,32 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 24> ++ 25> ) 26> { -1->Emitted(28, 1) Source(36, 1) + SourceIndex(0) -2 >Emitted(28, 6) Source(36, 6) + SourceIndex(0) -3 >Emitted(28, 11) Source(36, 45) + SourceIndex(0) -4 >Emitted(28, 24) Source(36, 58) + SourceIndex(0) -5 >Emitted(28, 26) Source(36, 60) + SourceIndex(0) -6 >Emitted(28, 28) Source(36, 9) + SourceIndex(0) -7 >Emitted(28, 38) Source(36, 41) + SourceIndex(0) -8 >Emitted(28, 40) Source(36, 10) + SourceIndex(0) -9 >Emitted(28, 53) Source(36, 23) + SourceIndex(0) -10>Emitted(28, 61) Source(36, 23) + SourceIndex(0) -11>Emitted(28, 63) Source(36, 25) + SourceIndex(0) -12>Emitted(28, 78) Source(36, 40) + SourceIndex(0) -13>Emitted(28, 86) Source(36, 40) + SourceIndex(0) -14>Emitted(28, 88) Source(36, 62) + SourceIndex(0) -15>Emitted(28, 89) Source(36, 63) + SourceIndex(0) -16>Emitted(28, 92) Source(36, 66) + SourceIndex(0) -17>Emitted(28, 93) Source(36, 67) + SourceIndex(0) -18>Emitted(28, 95) Source(36, 69) + SourceIndex(0) -19>Emitted(28, 96) Source(36, 70) + SourceIndex(0) -20>Emitted(28, 99) Source(36, 73) + SourceIndex(0) -21>Emitted(28, 100) Source(36, 74) + SourceIndex(0) -22>Emitted(28, 102) Source(36, 76) + SourceIndex(0) -23>Emitted(28, 103) Source(36, 77) + SourceIndex(0) -24>Emitted(28, 105) Source(36, 79) + SourceIndex(0) -25>Emitted(28, 107) Source(36, 81) + SourceIndex(0) -26>Emitted(28, 108) Source(36, 82) + SourceIndex(0) +1->Emitted(29, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(29, 6) Source(36, 6) + SourceIndex(0) +3 >Emitted(29, 11) Source(36, 45) + SourceIndex(0) +4 >Emitted(29, 24) Source(36, 58) + SourceIndex(0) +5 >Emitted(29, 26) Source(36, 60) + SourceIndex(0) +6 >Emitted(29, 28) Source(36, 9) + SourceIndex(0) +7 >Emitted(29, 38) Source(36, 41) + SourceIndex(0) +8 >Emitted(29, 40) Source(36, 10) + SourceIndex(0) +9 >Emitted(29, 53) Source(36, 23) + SourceIndex(0) +10>Emitted(29, 61) Source(36, 23) + SourceIndex(0) +11>Emitted(29, 63) Source(36, 25) + SourceIndex(0) +12>Emitted(29, 78) Source(36, 40) + SourceIndex(0) +13>Emitted(29, 86) Source(36, 40) + SourceIndex(0) +14>Emitted(29, 88) Source(36, 62) + SourceIndex(0) +15>Emitted(29, 89) Source(36, 63) + SourceIndex(0) +16>Emitted(29, 92) Source(36, 66) + SourceIndex(0) +17>Emitted(29, 93) Source(36, 67) + SourceIndex(0) +18>Emitted(29, 95) Source(36, 69) + SourceIndex(0) +19>Emitted(29, 96) Source(36, 70) + SourceIndex(0) +20>Emitted(29, 99) Source(36, 73) + SourceIndex(0) +21>Emitted(29, 100) Source(36, 74) + SourceIndex(0) +22>Emitted(29, 102) Source(36, 76) + SourceIndex(0) +23>Emitted(29, 103) Source(36, 77) + SourceIndex(0) +24>Emitted(29, 105) Source(36, 79) + SourceIndex(0) +25>Emitted(29, 107) Source(36, 81) + SourceIndex(0) +26>Emitted(29, 108) Source(36, 82) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -878,14 +879,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(29, 5) Source(37, 5) + SourceIndex(0) -2 >Emitted(29, 12) Source(37, 12) + SourceIndex(0) -3 >Emitted(29, 13) Source(37, 13) + SourceIndex(0) -4 >Emitted(29, 16) Source(37, 16) + SourceIndex(0) -5 >Emitted(29, 17) Source(37, 17) + SourceIndex(0) -6 >Emitted(29, 30) Source(37, 30) + SourceIndex(0) -7 >Emitted(29, 31) Source(37, 31) + SourceIndex(0) -8 >Emitted(29, 32) Source(37, 32) + SourceIndex(0) +1 >Emitted(30, 5) Source(37, 5) + SourceIndex(0) +2 >Emitted(30, 12) Source(37, 12) + SourceIndex(0) +3 >Emitted(30, 13) Source(37, 13) + SourceIndex(0) +4 >Emitted(30, 16) Source(37, 16) + SourceIndex(0) +5 >Emitted(30, 17) Source(37, 17) + SourceIndex(0) +6 >Emitted(30, 30) Source(37, 30) + SourceIndex(0) +7 >Emitted(30, 31) Source(37, 31) + SourceIndex(0) +8 >Emitted(30, 32) Source(37, 32) + SourceIndex(0) --- >>>} 1 > @@ -894,8 +895,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(30, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(30, 2) Source(38, 2) + SourceIndex(0) +1 >Emitted(31, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(31, 2) Source(38, 2) + SourceIndex(0) --- >>>for (_f = ["trimmer", ["trimming", "edging"]], _g = _f[1], primarySkillA = _g[0], secondarySkillA = _g[1], i = 0; i < 1; i++) { 1-> @@ -965,39 +966,39 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 31> ++ 32> ) 33> { -1->Emitted(31, 1) Source(39, 1) + SourceIndex(0) -2 >Emitted(31, 6) Source(39, 6) + SourceIndex(0) -3 >Emitted(31, 11) Source(39, 45) + SourceIndex(0) -4 >Emitted(31, 12) Source(39, 46) + SourceIndex(0) -5 >Emitted(31, 21) Source(39, 55) + SourceIndex(0) -6 >Emitted(31, 23) Source(39, 57) + SourceIndex(0) -7 >Emitted(31, 24) Source(39, 58) + SourceIndex(0) -8 >Emitted(31, 34) Source(39, 68) + SourceIndex(0) -9 >Emitted(31, 36) Source(39, 70) + SourceIndex(0) -10>Emitted(31, 44) Source(39, 78) + SourceIndex(0) -11>Emitted(31, 45) Source(39, 79) + SourceIndex(0) -12>Emitted(31, 46) Source(39, 80) + SourceIndex(0) -13>Emitted(31, 48) Source(39, 9) + SourceIndex(0) -14>Emitted(31, 58) Source(39, 41) + SourceIndex(0) -15>Emitted(31, 60) Source(39, 10) + SourceIndex(0) -16>Emitted(31, 73) Source(39, 23) + SourceIndex(0) -17>Emitted(31, 81) Source(39, 23) + SourceIndex(0) -18>Emitted(31, 83) Source(39, 25) + SourceIndex(0) -19>Emitted(31, 98) Source(39, 40) + SourceIndex(0) -20>Emitted(31, 106) Source(39, 40) + SourceIndex(0) -21>Emitted(31, 108) Source(39, 82) + SourceIndex(0) -22>Emitted(31, 109) Source(39, 83) + SourceIndex(0) -23>Emitted(31, 112) Source(39, 86) + SourceIndex(0) -24>Emitted(31, 113) Source(39, 87) + SourceIndex(0) -25>Emitted(31, 115) Source(39, 89) + SourceIndex(0) -26>Emitted(31, 116) Source(39, 90) + SourceIndex(0) -27>Emitted(31, 119) Source(39, 93) + SourceIndex(0) -28>Emitted(31, 120) Source(39, 94) + SourceIndex(0) -29>Emitted(31, 122) Source(39, 96) + SourceIndex(0) -30>Emitted(31, 123) Source(39, 97) + SourceIndex(0) -31>Emitted(31, 125) Source(39, 99) + SourceIndex(0) -32>Emitted(31, 127) Source(39, 101) + SourceIndex(0) -33>Emitted(31, 128) Source(39, 102) + SourceIndex(0) +1->Emitted(32, 1) Source(39, 1) + SourceIndex(0) +2 >Emitted(32, 6) Source(39, 6) + SourceIndex(0) +3 >Emitted(32, 11) Source(39, 45) + SourceIndex(0) +4 >Emitted(32, 12) Source(39, 46) + SourceIndex(0) +5 >Emitted(32, 21) Source(39, 55) + SourceIndex(0) +6 >Emitted(32, 23) Source(39, 57) + SourceIndex(0) +7 >Emitted(32, 24) Source(39, 58) + SourceIndex(0) +8 >Emitted(32, 34) Source(39, 68) + SourceIndex(0) +9 >Emitted(32, 36) Source(39, 70) + SourceIndex(0) +10>Emitted(32, 44) Source(39, 78) + SourceIndex(0) +11>Emitted(32, 45) Source(39, 79) + SourceIndex(0) +12>Emitted(32, 46) Source(39, 80) + SourceIndex(0) +13>Emitted(32, 48) Source(39, 9) + SourceIndex(0) +14>Emitted(32, 58) Source(39, 41) + SourceIndex(0) +15>Emitted(32, 60) Source(39, 10) + SourceIndex(0) +16>Emitted(32, 73) Source(39, 23) + SourceIndex(0) +17>Emitted(32, 81) Source(39, 23) + SourceIndex(0) +18>Emitted(32, 83) Source(39, 25) + SourceIndex(0) +19>Emitted(32, 98) Source(39, 40) + SourceIndex(0) +20>Emitted(32, 106) Source(39, 40) + SourceIndex(0) +21>Emitted(32, 108) Source(39, 82) + SourceIndex(0) +22>Emitted(32, 109) Source(39, 83) + SourceIndex(0) +23>Emitted(32, 112) Source(39, 86) + SourceIndex(0) +24>Emitted(32, 113) Source(39, 87) + SourceIndex(0) +25>Emitted(32, 115) Source(39, 89) + SourceIndex(0) +26>Emitted(32, 116) Source(39, 90) + SourceIndex(0) +27>Emitted(32, 119) Source(39, 93) + SourceIndex(0) +28>Emitted(32, 120) Source(39, 94) + SourceIndex(0) +29>Emitted(32, 122) Source(39, 96) + SourceIndex(0) +30>Emitted(32, 123) Source(39, 97) + SourceIndex(0) +31>Emitted(32, 125) Source(39, 99) + SourceIndex(0) +32>Emitted(32, 127) Source(39, 101) + SourceIndex(0) +33>Emitted(32, 128) Source(39, 102) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -1017,14 +1018,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(32, 5) Source(40, 5) + SourceIndex(0) -2 >Emitted(32, 12) Source(40, 12) + SourceIndex(0) -3 >Emitted(32, 13) Source(40, 13) + SourceIndex(0) -4 >Emitted(32, 16) Source(40, 16) + SourceIndex(0) -5 >Emitted(32, 17) Source(40, 17) + SourceIndex(0) -6 >Emitted(32, 30) Source(40, 30) + SourceIndex(0) -7 >Emitted(32, 31) Source(40, 31) + SourceIndex(0) -8 >Emitted(32, 32) Source(40, 32) + SourceIndex(0) +1 >Emitted(33, 5) Source(40, 5) + SourceIndex(0) +2 >Emitted(33, 12) Source(40, 12) + SourceIndex(0) +3 >Emitted(33, 13) Source(40, 13) + SourceIndex(0) +4 >Emitted(33, 16) Source(40, 16) + SourceIndex(0) +5 >Emitted(33, 17) Source(40, 17) + SourceIndex(0) +6 >Emitted(33, 30) Source(40, 30) + SourceIndex(0) +7 >Emitted(33, 31) Source(40, 31) + SourceIndex(0) +8 >Emitted(33, 32) Source(40, 32) + SourceIndex(0) --- >>>} 1 > @@ -1033,8 +1034,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(33, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(33, 2) Source(41, 2) + SourceIndex(0) +1 >Emitted(34, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(34, 2) Source(41, 2) + SourceIndex(0) --- >>>for (numberB = robotA[0], i = 0; i < 1; i++) { 1-> @@ -1077,25 +1078,25 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 17> ++ 18> ) 19> { -1->Emitted(34, 1) Source(43, 1) + SourceIndex(0) -2 >Emitted(34, 6) Source(43, 7) + SourceIndex(0) -3 >Emitted(34, 13) Source(43, 14) + SourceIndex(0) -4 >Emitted(34, 16) Source(43, 18) + SourceIndex(0) -5 >Emitted(34, 22) Source(43, 24) + SourceIndex(0) -6 >Emitted(34, 25) Source(43, 14) + SourceIndex(0) -7 >Emitted(34, 27) Source(43, 26) + SourceIndex(0) -8 >Emitted(34, 28) Source(43, 27) + SourceIndex(0) -9 >Emitted(34, 31) Source(43, 30) + SourceIndex(0) -10>Emitted(34, 32) Source(43, 31) + SourceIndex(0) -11>Emitted(34, 34) Source(43, 33) + SourceIndex(0) -12>Emitted(34, 35) Source(43, 34) + SourceIndex(0) -13>Emitted(34, 38) Source(43, 37) + SourceIndex(0) -14>Emitted(34, 39) Source(43, 38) + SourceIndex(0) -15>Emitted(34, 41) Source(43, 40) + SourceIndex(0) -16>Emitted(34, 42) Source(43, 41) + SourceIndex(0) -17>Emitted(34, 44) Source(43, 43) + SourceIndex(0) -18>Emitted(34, 46) Source(43, 45) + SourceIndex(0) -19>Emitted(34, 47) Source(43, 46) + SourceIndex(0) +1->Emitted(35, 1) Source(43, 1) + SourceIndex(0) +2 >Emitted(35, 6) Source(43, 7) + SourceIndex(0) +3 >Emitted(35, 13) Source(43, 14) + SourceIndex(0) +4 >Emitted(35, 16) Source(43, 18) + SourceIndex(0) +5 >Emitted(35, 22) Source(43, 24) + SourceIndex(0) +6 >Emitted(35, 25) Source(43, 14) + SourceIndex(0) +7 >Emitted(35, 27) Source(43, 26) + SourceIndex(0) +8 >Emitted(35, 28) Source(43, 27) + SourceIndex(0) +9 >Emitted(35, 31) Source(43, 30) + SourceIndex(0) +10>Emitted(35, 32) Source(43, 31) + SourceIndex(0) +11>Emitted(35, 34) Source(43, 33) + SourceIndex(0) +12>Emitted(35, 35) Source(43, 34) + SourceIndex(0) +13>Emitted(35, 38) Source(43, 37) + SourceIndex(0) +14>Emitted(35, 39) Source(43, 38) + SourceIndex(0) +15>Emitted(35, 41) Source(43, 40) + SourceIndex(0) +16>Emitted(35, 42) Source(43, 41) + SourceIndex(0) +17>Emitted(35, 44) Source(43, 43) + SourceIndex(0) +18>Emitted(35, 46) Source(43, 45) + SourceIndex(0) +19>Emitted(35, 47) Source(43, 46) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1115,14 +1116,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > numberB 7 > ) 8 > ; -1 >Emitted(35, 5) Source(44, 5) + SourceIndex(0) -2 >Emitted(35, 12) Source(44, 12) + SourceIndex(0) -3 >Emitted(35, 13) Source(44, 13) + SourceIndex(0) -4 >Emitted(35, 16) Source(44, 16) + SourceIndex(0) -5 >Emitted(35, 17) Source(44, 17) + SourceIndex(0) -6 >Emitted(35, 24) Source(44, 24) + SourceIndex(0) -7 >Emitted(35, 25) Source(44, 25) + SourceIndex(0) -8 >Emitted(35, 26) Source(44, 26) + SourceIndex(0) +1 >Emitted(36, 5) Source(44, 5) + SourceIndex(0) +2 >Emitted(36, 12) Source(44, 12) + SourceIndex(0) +3 >Emitted(36, 13) Source(44, 13) + SourceIndex(0) +4 >Emitted(36, 16) Source(44, 16) + SourceIndex(0) +5 >Emitted(36, 17) Source(44, 17) + SourceIndex(0) +6 >Emitted(36, 24) Source(44, 24) + SourceIndex(0) +7 >Emitted(36, 25) Source(44, 25) + SourceIndex(0) +8 >Emitted(36, 26) Source(44, 26) + SourceIndex(0) --- >>>} 1 > @@ -1131,8 +1132,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(36, 1) Source(45, 1) + SourceIndex(0) -2 >Emitted(36, 2) Source(45, 2) + SourceIndex(0) +1 >Emitted(37, 1) Source(45, 1) + SourceIndex(0) +2 >Emitted(37, 2) Source(45, 2) + SourceIndex(0) --- >>>for (numberB = getRobot()[0], i = 0; i < 1; i++) { 1-> @@ -1176,26 +1177,26 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 18> ++ 19> ) 20> { -1->Emitted(37, 1) Source(46, 1) + SourceIndex(0) -2 >Emitted(37, 6) Source(46, 7) + SourceIndex(0) -3 >Emitted(37, 13) Source(46, 14) + SourceIndex(0) -4 >Emitted(37, 16) Source(46, 18) + SourceIndex(0) -5 >Emitted(37, 24) Source(46, 26) + SourceIndex(0) -6 >Emitted(37, 26) Source(46, 28) + SourceIndex(0) -7 >Emitted(37, 29) Source(46, 14) + SourceIndex(0) -8 >Emitted(37, 31) Source(46, 30) + SourceIndex(0) -9 >Emitted(37, 32) Source(46, 31) + SourceIndex(0) -10>Emitted(37, 35) Source(46, 34) + SourceIndex(0) -11>Emitted(37, 36) Source(46, 35) + SourceIndex(0) -12>Emitted(37, 38) Source(46, 37) + SourceIndex(0) -13>Emitted(37, 39) Source(46, 38) + SourceIndex(0) -14>Emitted(37, 42) Source(46, 41) + SourceIndex(0) -15>Emitted(37, 43) Source(46, 42) + SourceIndex(0) -16>Emitted(37, 45) Source(46, 44) + SourceIndex(0) -17>Emitted(37, 46) Source(46, 45) + SourceIndex(0) -18>Emitted(37, 48) Source(46, 47) + SourceIndex(0) -19>Emitted(37, 50) Source(46, 49) + SourceIndex(0) -20>Emitted(37, 51) Source(46, 50) + SourceIndex(0) +1->Emitted(38, 1) Source(46, 1) + SourceIndex(0) +2 >Emitted(38, 6) Source(46, 7) + SourceIndex(0) +3 >Emitted(38, 13) Source(46, 14) + SourceIndex(0) +4 >Emitted(38, 16) Source(46, 18) + SourceIndex(0) +5 >Emitted(38, 24) Source(46, 26) + SourceIndex(0) +6 >Emitted(38, 26) Source(46, 28) + SourceIndex(0) +7 >Emitted(38, 29) Source(46, 14) + SourceIndex(0) +8 >Emitted(38, 31) Source(46, 30) + SourceIndex(0) +9 >Emitted(38, 32) Source(46, 31) + SourceIndex(0) +10>Emitted(38, 35) Source(46, 34) + SourceIndex(0) +11>Emitted(38, 36) Source(46, 35) + SourceIndex(0) +12>Emitted(38, 38) Source(46, 37) + SourceIndex(0) +13>Emitted(38, 39) Source(46, 38) + SourceIndex(0) +14>Emitted(38, 42) Source(46, 41) + SourceIndex(0) +15>Emitted(38, 43) Source(46, 42) + SourceIndex(0) +16>Emitted(38, 45) Source(46, 44) + SourceIndex(0) +17>Emitted(38, 46) Source(46, 45) + SourceIndex(0) +18>Emitted(38, 48) Source(46, 47) + SourceIndex(0) +19>Emitted(38, 50) Source(46, 49) + SourceIndex(0) +20>Emitted(38, 51) Source(46, 50) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1215,14 +1216,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > numberB 7 > ) 8 > ; -1 >Emitted(38, 5) Source(47, 5) + SourceIndex(0) -2 >Emitted(38, 12) Source(47, 12) + SourceIndex(0) -3 >Emitted(38, 13) Source(47, 13) + SourceIndex(0) -4 >Emitted(38, 16) Source(47, 16) + SourceIndex(0) -5 >Emitted(38, 17) Source(47, 17) + SourceIndex(0) -6 >Emitted(38, 24) Source(47, 24) + SourceIndex(0) -7 >Emitted(38, 25) Source(47, 25) + SourceIndex(0) -8 >Emitted(38, 26) Source(47, 26) + SourceIndex(0) +1 >Emitted(39, 5) Source(47, 5) + SourceIndex(0) +2 >Emitted(39, 12) Source(47, 12) + SourceIndex(0) +3 >Emitted(39, 13) Source(47, 13) + SourceIndex(0) +4 >Emitted(39, 16) Source(47, 16) + SourceIndex(0) +5 >Emitted(39, 17) Source(47, 17) + SourceIndex(0) +6 >Emitted(39, 24) Source(47, 24) + SourceIndex(0) +7 >Emitted(39, 25) Source(47, 25) + SourceIndex(0) +8 >Emitted(39, 26) Source(47, 26) + SourceIndex(0) --- >>>} 1 > @@ -1231,8 +1232,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(39, 1) Source(48, 1) + SourceIndex(0) -2 >Emitted(39, 2) Source(48, 2) + SourceIndex(0) +1 >Emitted(40, 1) Source(48, 1) + SourceIndex(0) +2 >Emitted(40, 2) Source(48, 2) + SourceIndex(0) --- >>>for (numberB = [2, "trimmer", "trimming"][0], i = 0; i < 1; i++) { 1-> @@ -1286,31 +1287,31 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 23> ++ 24> ) 25> { -1->Emitted(40, 1) Source(49, 1) + SourceIndex(0) -2 >Emitted(40, 6) Source(49, 7) + SourceIndex(0) -3 >Emitted(40, 13) Source(49, 14) + SourceIndex(0) -4 >Emitted(40, 16) Source(49, 18) + SourceIndex(0) -5 >Emitted(40, 17) Source(49, 19) + SourceIndex(0) -6 >Emitted(40, 18) Source(49, 20) + SourceIndex(0) -7 >Emitted(40, 20) Source(49, 22) + SourceIndex(0) -8 >Emitted(40, 29) Source(49, 31) + SourceIndex(0) -9 >Emitted(40, 31) Source(49, 33) + SourceIndex(0) -10>Emitted(40, 41) Source(49, 43) + SourceIndex(0) -11>Emitted(40, 42) Source(49, 44) + SourceIndex(0) -12>Emitted(40, 45) Source(49, 14) + SourceIndex(0) -13>Emitted(40, 47) Source(49, 46) + SourceIndex(0) -14>Emitted(40, 48) Source(49, 47) + SourceIndex(0) -15>Emitted(40, 51) Source(49, 50) + SourceIndex(0) -16>Emitted(40, 52) Source(49, 51) + SourceIndex(0) -17>Emitted(40, 54) Source(49, 53) + SourceIndex(0) -18>Emitted(40, 55) Source(49, 54) + SourceIndex(0) -19>Emitted(40, 58) Source(49, 57) + SourceIndex(0) -20>Emitted(40, 59) Source(49, 58) + SourceIndex(0) -21>Emitted(40, 61) Source(49, 60) + SourceIndex(0) -22>Emitted(40, 62) Source(49, 61) + SourceIndex(0) -23>Emitted(40, 64) Source(49, 63) + SourceIndex(0) -24>Emitted(40, 66) Source(49, 65) + SourceIndex(0) -25>Emitted(40, 67) Source(49, 66) + SourceIndex(0) +1->Emitted(41, 1) Source(49, 1) + SourceIndex(0) +2 >Emitted(41, 6) Source(49, 7) + SourceIndex(0) +3 >Emitted(41, 13) Source(49, 14) + SourceIndex(0) +4 >Emitted(41, 16) Source(49, 18) + SourceIndex(0) +5 >Emitted(41, 17) Source(49, 19) + SourceIndex(0) +6 >Emitted(41, 18) Source(49, 20) + SourceIndex(0) +7 >Emitted(41, 20) Source(49, 22) + SourceIndex(0) +8 >Emitted(41, 29) Source(49, 31) + SourceIndex(0) +9 >Emitted(41, 31) Source(49, 33) + SourceIndex(0) +10>Emitted(41, 41) Source(49, 43) + SourceIndex(0) +11>Emitted(41, 42) Source(49, 44) + SourceIndex(0) +12>Emitted(41, 45) Source(49, 14) + SourceIndex(0) +13>Emitted(41, 47) Source(49, 46) + SourceIndex(0) +14>Emitted(41, 48) Source(49, 47) + SourceIndex(0) +15>Emitted(41, 51) Source(49, 50) + SourceIndex(0) +16>Emitted(41, 52) Source(49, 51) + SourceIndex(0) +17>Emitted(41, 54) Source(49, 53) + SourceIndex(0) +18>Emitted(41, 55) Source(49, 54) + SourceIndex(0) +19>Emitted(41, 58) Source(49, 57) + SourceIndex(0) +20>Emitted(41, 59) Source(49, 58) + SourceIndex(0) +21>Emitted(41, 61) Source(49, 60) + SourceIndex(0) +22>Emitted(41, 62) Source(49, 61) + SourceIndex(0) +23>Emitted(41, 64) Source(49, 63) + SourceIndex(0) +24>Emitted(41, 66) Source(49, 65) + SourceIndex(0) +25>Emitted(41, 67) Source(49, 66) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1330,14 +1331,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > numberB 7 > ) 8 > ; -1 >Emitted(41, 5) Source(50, 5) + SourceIndex(0) -2 >Emitted(41, 12) Source(50, 12) + SourceIndex(0) -3 >Emitted(41, 13) Source(50, 13) + SourceIndex(0) -4 >Emitted(41, 16) Source(50, 16) + SourceIndex(0) -5 >Emitted(41, 17) Source(50, 17) + SourceIndex(0) -6 >Emitted(41, 24) Source(50, 24) + SourceIndex(0) -7 >Emitted(41, 25) Source(50, 25) + SourceIndex(0) -8 >Emitted(41, 26) Source(50, 26) + SourceIndex(0) +1 >Emitted(42, 5) Source(50, 5) + SourceIndex(0) +2 >Emitted(42, 12) Source(50, 12) + SourceIndex(0) +3 >Emitted(42, 13) Source(50, 13) + SourceIndex(0) +4 >Emitted(42, 16) Source(50, 16) + SourceIndex(0) +5 >Emitted(42, 17) Source(50, 17) + SourceIndex(0) +6 >Emitted(42, 24) Source(50, 24) + SourceIndex(0) +7 >Emitted(42, 25) Source(50, 25) + SourceIndex(0) +8 >Emitted(42, 26) Source(50, 26) + SourceIndex(0) --- >>>} 1 > @@ -1346,8 +1347,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(42, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(42, 2) Source(51, 2) + SourceIndex(0) +1 >Emitted(43, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(43, 2) Source(51, 2) + SourceIndex(0) --- >>>for (nameB = multiRobotA[0], i = 0; i < 1; i++) { 1-> @@ -1389,25 +1390,25 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 17> ++ 18> ) 19> { -1->Emitted(43, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(43, 6) Source(52, 7) + SourceIndex(0) -3 >Emitted(43, 11) Source(52, 12) + SourceIndex(0) -4 >Emitted(43, 14) Source(52, 16) + SourceIndex(0) -5 >Emitted(43, 25) Source(52, 27) + SourceIndex(0) -6 >Emitted(43, 28) Source(52, 12) + SourceIndex(0) -7 >Emitted(43, 30) Source(52, 29) + SourceIndex(0) -8 >Emitted(43, 31) Source(52, 30) + SourceIndex(0) -9 >Emitted(43, 34) Source(52, 33) + SourceIndex(0) -10>Emitted(43, 35) Source(52, 34) + SourceIndex(0) -11>Emitted(43, 37) Source(52, 36) + SourceIndex(0) -12>Emitted(43, 38) Source(52, 37) + SourceIndex(0) -13>Emitted(43, 41) Source(52, 40) + SourceIndex(0) -14>Emitted(43, 42) Source(52, 41) + SourceIndex(0) -15>Emitted(43, 44) Source(52, 43) + SourceIndex(0) -16>Emitted(43, 45) Source(52, 44) + SourceIndex(0) -17>Emitted(43, 47) Source(52, 46) + SourceIndex(0) -18>Emitted(43, 49) Source(52, 48) + SourceIndex(0) -19>Emitted(43, 50) Source(52, 49) + SourceIndex(0) +1->Emitted(44, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(44, 6) Source(52, 7) + SourceIndex(0) +3 >Emitted(44, 11) Source(52, 12) + SourceIndex(0) +4 >Emitted(44, 14) Source(52, 16) + SourceIndex(0) +5 >Emitted(44, 25) Source(52, 27) + SourceIndex(0) +6 >Emitted(44, 28) Source(52, 12) + SourceIndex(0) +7 >Emitted(44, 30) Source(52, 29) + SourceIndex(0) +8 >Emitted(44, 31) Source(52, 30) + SourceIndex(0) +9 >Emitted(44, 34) Source(52, 33) + SourceIndex(0) +10>Emitted(44, 35) Source(52, 34) + SourceIndex(0) +11>Emitted(44, 37) Source(52, 36) + SourceIndex(0) +12>Emitted(44, 38) Source(52, 37) + SourceIndex(0) +13>Emitted(44, 41) Source(52, 40) + SourceIndex(0) +14>Emitted(44, 42) Source(52, 41) + SourceIndex(0) +15>Emitted(44, 44) Source(52, 43) + SourceIndex(0) +16>Emitted(44, 45) Source(52, 44) + SourceIndex(0) +17>Emitted(44, 47) Source(52, 46) + SourceIndex(0) +18>Emitted(44, 49) Source(52, 48) + SourceIndex(0) +19>Emitted(44, 50) Source(52, 49) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1427,14 +1428,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameB 7 > ) 8 > ; -1 >Emitted(44, 5) Source(53, 5) + SourceIndex(0) -2 >Emitted(44, 12) Source(53, 12) + SourceIndex(0) -3 >Emitted(44, 13) Source(53, 13) + SourceIndex(0) -4 >Emitted(44, 16) Source(53, 16) + SourceIndex(0) -5 >Emitted(44, 17) Source(53, 17) + SourceIndex(0) -6 >Emitted(44, 22) Source(53, 22) + SourceIndex(0) -7 >Emitted(44, 23) Source(53, 23) + SourceIndex(0) -8 >Emitted(44, 24) Source(53, 24) + SourceIndex(0) +1 >Emitted(45, 5) Source(53, 5) + SourceIndex(0) +2 >Emitted(45, 12) Source(53, 12) + SourceIndex(0) +3 >Emitted(45, 13) Source(53, 13) + SourceIndex(0) +4 >Emitted(45, 16) Source(53, 16) + SourceIndex(0) +5 >Emitted(45, 17) Source(53, 17) + SourceIndex(0) +6 >Emitted(45, 22) Source(53, 22) + SourceIndex(0) +7 >Emitted(45, 23) Source(53, 23) + SourceIndex(0) +8 >Emitted(45, 24) Source(53, 24) + SourceIndex(0) --- >>>} 1 > @@ -1443,8 +1444,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(45, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(45, 2) Source(54, 2) + SourceIndex(0) +1 >Emitted(46, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(46, 2) Source(54, 2) + SourceIndex(0) --- >>>for (nameB = getMultiRobot()[0], i = 0; i < 1; i++) { 1-> @@ -1488,26 +1489,26 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 18> ++ 19> ) 20> { -1->Emitted(46, 1) Source(55, 1) + SourceIndex(0) -2 >Emitted(46, 6) Source(55, 7) + SourceIndex(0) -3 >Emitted(46, 11) Source(55, 12) + SourceIndex(0) -4 >Emitted(46, 14) Source(55, 16) + SourceIndex(0) -5 >Emitted(46, 27) Source(55, 29) + SourceIndex(0) -6 >Emitted(46, 29) Source(55, 31) + SourceIndex(0) -7 >Emitted(46, 32) Source(55, 12) + SourceIndex(0) -8 >Emitted(46, 34) Source(55, 33) + SourceIndex(0) -9 >Emitted(46, 35) Source(55, 34) + SourceIndex(0) -10>Emitted(46, 38) Source(55, 37) + SourceIndex(0) -11>Emitted(46, 39) Source(55, 38) + SourceIndex(0) -12>Emitted(46, 41) Source(55, 40) + SourceIndex(0) -13>Emitted(46, 42) Source(55, 41) + SourceIndex(0) -14>Emitted(46, 45) Source(55, 44) + SourceIndex(0) -15>Emitted(46, 46) Source(55, 45) + SourceIndex(0) -16>Emitted(46, 48) Source(55, 47) + SourceIndex(0) -17>Emitted(46, 49) Source(55, 48) + SourceIndex(0) -18>Emitted(46, 51) Source(55, 50) + SourceIndex(0) -19>Emitted(46, 53) Source(55, 52) + SourceIndex(0) -20>Emitted(46, 54) Source(55, 53) + SourceIndex(0) +1->Emitted(47, 1) Source(55, 1) + SourceIndex(0) +2 >Emitted(47, 6) Source(55, 7) + SourceIndex(0) +3 >Emitted(47, 11) Source(55, 12) + SourceIndex(0) +4 >Emitted(47, 14) Source(55, 16) + SourceIndex(0) +5 >Emitted(47, 27) Source(55, 29) + SourceIndex(0) +6 >Emitted(47, 29) Source(55, 31) + SourceIndex(0) +7 >Emitted(47, 32) Source(55, 12) + SourceIndex(0) +8 >Emitted(47, 34) Source(55, 33) + SourceIndex(0) +9 >Emitted(47, 35) Source(55, 34) + SourceIndex(0) +10>Emitted(47, 38) Source(55, 37) + SourceIndex(0) +11>Emitted(47, 39) Source(55, 38) + SourceIndex(0) +12>Emitted(47, 41) Source(55, 40) + SourceIndex(0) +13>Emitted(47, 42) Source(55, 41) + SourceIndex(0) +14>Emitted(47, 45) Source(55, 44) + SourceIndex(0) +15>Emitted(47, 46) Source(55, 45) + SourceIndex(0) +16>Emitted(47, 48) Source(55, 47) + SourceIndex(0) +17>Emitted(47, 49) Source(55, 48) + SourceIndex(0) +18>Emitted(47, 51) Source(55, 50) + SourceIndex(0) +19>Emitted(47, 53) Source(55, 52) + SourceIndex(0) +20>Emitted(47, 54) Source(55, 53) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1527,14 +1528,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameB 7 > ) 8 > ; -1 >Emitted(47, 5) Source(56, 5) + SourceIndex(0) -2 >Emitted(47, 12) Source(56, 12) + SourceIndex(0) -3 >Emitted(47, 13) Source(56, 13) + SourceIndex(0) -4 >Emitted(47, 16) Source(56, 16) + SourceIndex(0) -5 >Emitted(47, 17) Source(56, 17) + SourceIndex(0) -6 >Emitted(47, 22) Source(56, 22) + SourceIndex(0) -7 >Emitted(47, 23) Source(56, 23) + SourceIndex(0) -8 >Emitted(47, 24) Source(56, 24) + SourceIndex(0) +1 >Emitted(48, 5) Source(56, 5) + SourceIndex(0) +2 >Emitted(48, 12) Source(56, 12) + SourceIndex(0) +3 >Emitted(48, 13) Source(56, 13) + SourceIndex(0) +4 >Emitted(48, 16) Source(56, 16) + SourceIndex(0) +5 >Emitted(48, 17) Source(56, 17) + SourceIndex(0) +6 >Emitted(48, 22) Source(56, 22) + SourceIndex(0) +7 >Emitted(48, 23) Source(56, 23) + SourceIndex(0) +8 >Emitted(48, 24) Source(56, 24) + SourceIndex(0) --- >>>} 1 > @@ -1543,8 +1544,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(48, 1) Source(57, 1) + SourceIndex(0) -2 >Emitted(48, 2) Source(57, 2) + SourceIndex(0) +1 >Emitted(49, 1) Source(57, 1) + SourceIndex(0) +2 >Emitted(49, 2) Source(57, 2) + SourceIndex(0) --- >>>for (nameB = ["trimmer", ["trimming", "edging"]][0], i = 0; i < 1; i++) { 1-> @@ -1602,33 +1603,33 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 25> ++ 26> ) 27> { -1->Emitted(49, 1) Source(58, 1) + SourceIndex(0) -2 >Emitted(49, 6) Source(58, 7) + SourceIndex(0) -3 >Emitted(49, 11) Source(58, 12) + SourceIndex(0) -4 >Emitted(49, 14) Source(58, 16) + SourceIndex(0) -5 >Emitted(49, 15) Source(58, 17) + SourceIndex(0) -6 >Emitted(49, 24) Source(58, 26) + SourceIndex(0) -7 >Emitted(49, 26) Source(58, 28) + SourceIndex(0) -8 >Emitted(49, 27) Source(58, 29) + SourceIndex(0) -9 >Emitted(49, 37) Source(58, 39) + SourceIndex(0) -10>Emitted(49, 39) Source(58, 41) + SourceIndex(0) -11>Emitted(49, 47) Source(58, 49) + SourceIndex(0) -12>Emitted(49, 48) Source(58, 50) + SourceIndex(0) -13>Emitted(49, 49) Source(58, 51) + SourceIndex(0) -14>Emitted(49, 52) Source(58, 12) + SourceIndex(0) -15>Emitted(49, 54) Source(58, 53) + SourceIndex(0) -16>Emitted(49, 55) Source(58, 54) + SourceIndex(0) -17>Emitted(49, 58) Source(58, 57) + SourceIndex(0) -18>Emitted(49, 59) Source(58, 58) + SourceIndex(0) -19>Emitted(49, 61) Source(58, 60) + SourceIndex(0) -20>Emitted(49, 62) Source(58, 61) + SourceIndex(0) -21>Emitted(49, 65) Source(58, 64) + SourceIndex(0) -22>Emitted(49, 66) Source(58, 65) + SourceIndex(0) -23>Emitted(49, 68) Source(58, 67) + SourceIndex(0) -24>Emitted(49, 69) Source(58, 68) + SourceIndex(0) -25>Emitted(49, 71) Source(58, 70) + SourceIndex(0) -26>Emitted(49, 73) Source(58, 72) + SourceIndex(0) -27>Emitted(49, 74) Source(58, 73) + SourceIndex(0) +1->Emitted(50, 1) Source(58, 1) + SourceIndex(0) +2 >Emitted(50, 6) Source(58, 7) + SourceIndex(0) +3 >Emitted(50, 11) Source(58, 12) + SourceIndex(0) +4 >Emitted(50, 14) Source(58, 16) + SourceIndex(0) +5 >Emitted(50, 15) Source(58, 17) + SourceIndex(0) +6 >Emitted(50, 24) Source(58, 26) + SourceIndex(0) +7 >Emitted(50, 26) Source(58, 28) + SourceIndex(0) +8 >Emitted(50, 27) Source(58, 29) + SourceIndex(0) +9 >Emitted(50, 37) Source(58, 39) + SourceIndex(0) +10>Emitted(50, 39) Source(58, 41) + SourceIndex(0) +11>Emitted(50, 47) Source(58, 49) + SourceIndex(0) +12>Emitted(50, 48) Source(58, 50) + SourceIndex(0) +13>Emitted(50, 49) Source(58, 51) + SourceIndex(0) +14>Emitted(50, 52) Source(58, 12) + SourceIndex(0) +15>Emitted(50, 54) Source(58, 53) + SourceIndex(0) +16>Emitted(50, 55) Source(58, 54) + SourceIndex(0) +17>Emitted(50, 58) Source(58, 57) + SourceIndex(0) +18>Emitted(50, 59) Source(58, 58) + SourceIndex(0) +19>Emitted(50, 61) Source(58, 60) + SourceIndex(0) +20>Emitted(50, 62) Source(58, 61) + SourceIndex(0) +21>Emitted(50, 65) Source(58, 64) + SourceIndex(0) +22>Emitted(50, 66) Source(58, 65) + SourceIndex(0) +23>Emitted(50, 68) Source(58, 67) + SourceIndex(0) +24>Emitted(50, 69) Source(58, 68) + SourceIndex(0) +25>Emitted(50, 71) Source(58, 70) + SourceIndex(0) +26>Emitted(50, 73) Source(58, 72) + SourceIndex(0) +27>Emitted(50, 74) Source(58, 73) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1648,14 +1649,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameB 7 > ) 8 > ; -1 >Emitted(50, 5) Source(59, 5) + SourceIndex(0) -2 >Emitted(50, 12) Source(59, 12) + SourceIndex(0) -3 >Emitted(50, 13) Source(59, 13) + SourceIndex(0) -4 >Emitted(50, 16) Source(59, 16) + SourceIndex(0) -5 >Emitted(50, 17) Source(59, 17) + SourceIndex(0) -6 >Emitted(50, 22) Source(59, 22) + SourceIndex(0) -7 >Emitted(50, 23) Source(59, 23) + SourceIndex(0) -8 >Emitted(50, 24) Source(59, 24) + SourceIndex(0) +1 >Emitted(51, 5) Source(59, 5) + SourceIndex(0) +2 >Emitted(51, 12) Source(59, 12) + SourceIndex(0) +3 >Emitted(51, 13) Source(59, 13) + SourceIndex(0) +4 >Emitted(51, 16) Source(59, 16) + SourceIndex(0) +5 >Emitted(51, 17) Source(59, 17) + SourceIndex(0) +6 >Emitted(51, 22) Source(59, 22) + SourceIndex(0) +7 >Emitted(51, 23) Source(59, 23) + SourceIndex(0) +8 >Emitted(51, 24) Source(59, 24) + SourceIndex(0) --- >>>} 1 > @@ -1664,8 +1665,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(51, 1) Source(60, 1) + SourceIndex(0) -2 >Emitted(51, 2) Source(60, 2) + SourceIndex(0) +1 >Emitted(52, 1) Source(60, 1) + SourceIndex(0) +2 >Emitted(52, 2) Source(60, 2) + SourceIndex(0) --- >>>for (numberA2 = robotA[0], nameA2 = robotA[1], skillA2 = robotA[2], i = 0; i < 1; i++) { 1-> @@ -1728,35 +1729,35 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 27> ++ 28> ) 29> { -1->Emitted(52, 1) Source(62, 1) + SourceIndex(0) -2 >Emitted(52, 6) Source(62, 7) + SourceIndex(0) -3 >Emitted(52, 14) Source(62, 15) + SourceIndex(0) -4 >Emitted(52, 17) Source(62, 36) + SourceIndex(0) -5 >Emitted(52, 23) Source(62, 42) + SourceIndex(0) -6 >Emitted(52, 26) Source(62, 15) + SourceIndex(0) -7 >Emitted(52, 28) Source(62, 17) + SourceIndex(0) -8 >Emitted(52, 34) Source(62, 23) + SourceIndex(0) -9 >Emitted(52, 37) Source(62, 36) + SourceIndex(0) -10>Emitted(52, 43) Source(62, 42) + SourceIndex(0) -11>Emitted(52, 46) Source(62, 23) + SourceIndex(0) -12>Emitted(52, 48) Source(62, 25) + SourceIndex(0) -13>Emitted(52, 55) Source(62, 32) + SourceIndex(0) -14>Emitted(52, 58) Source(62, 36) + SourceIndex(0) -15>Emitted(52, 64) Source(62, 42) + SourceIndex(0) -16>Emitted(52, 67) Source(62, 32) + SourceIndex(0) -17>Emitted(52, 69) Source(62, 44) + SourceIndex(0) -18>Emitted(52, 70) Source(62, 45) + SourceIndex(0) -19>Emitted(52, 73) Source(62, 48) + SourceIndex(0) -20>Emitted(52, 74) Source(62, 49) + SourceIndex(0) -21>Emitted(52, 76) Source(62, 51) + SourceIndex(0) -22>Emitted(52, 77) Source(62, 52) + SourceIndex(0) -23>Emitted(52, 80) Source(62, 55) + SourceIndex(0) -24>Emitted(52, 81) Source(62, 56) + SourceIndex(0) -25>Emitted(52, 83) Source(62, 58) + SourceIndex(0) -26>Emitted(52, 84) Source(62, 59) + SourceIndex(0) -27>Emitted(52, 86) Source(62, 61) + SourceIndex(0) -28>Emitted(52, 88) Source(62, 63) + SourceIndex(0) -29>Emitted(52, 89) Source(62, 64) + SourceIndex(0) +1->Emitted(53, 1) Source(62, 1) + SourceIndex(0) +2 >Emitted(53, 6) Source(62, 7) + SourceIndex(0) +3 >Emitted(53, 14) Source(62, 15) + SourceIndex(0) +4 >Emitted(53, 17) Source(62, 36) + SourceIndex(0) +5 >Emitted(53, 23) Source(62, 42) + SourceIndex(0) +6 >Emitted(53, 26) Source(62, 15) + SourceIndex(0) +7 >Emitted(53, 28) Source(62, 17) + SourceIndex(0) +8 >Emitted(53, 34) Source(62, 23) + SourceIndex(0) +9 >Emitted(53, 37) Source(62, 36) + SourceIndex(0) +10>Emitted(53, 43) Source(62, 42) + SourceIndex(0) +11>Emitted(53, 46) Source(62, 23) + SourceIndex(0) +12>Emitted(53, 48) Source(62, 25) + SourceIndex(0) +13>Emitted(53, 55) Source(62, 32) + SourceIndex(0) +14>Emitted(53, 58) Source(62, 36) + SourceIndex(0) +15>Emitted(53, 64) Source(62, 42) + SourceIndex(0) +16>Emitted(53, 67) Source(62, 32) + SourceIndex(0) +17>Emitted(53, 69) Source(62, 44) + SourceIndex(0) +18>Emitted(53, 70) Source(62, 45) + SourceIndex(0) +19>Emitted(53, 73) Source(62, 48) + SourceIndex(0) +20>Emitted(53, 74) Source(62, 49) + SourceIndex(0) +21>Emitted(53, 76) Source(62, 51) + SourceIndex(0) +22>Emitted(53, 77) Source(62, 52) + SourceIndex(0) +23>Emitted(53, 80) Source(62, 55) + SourceIndex(0) +24>Emitted(53, 81) Source(62, 56) + SourceIndex(0) +25>Emitted(53, 83) Source(62, 58) + SourceIndex(0) +26>Emitted(53, 84) Source(62, 59) + SourceIndex(0) +27>Emitted(53, 86) Source(62, 61) + SourceIndex(0) +28>Emitted(53, 88) Source(62, 63) + SourceIndex(0) +29>Emitted(53, 89) Source(62, 64) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1776,14 +1777,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(53, 5) Source(63, 5) + SourceIndex(0) -2 >Emitted(53, 12) Source(63, 12) + SourceIndex(0) -3 >Emitted(53, 13) Source(63, 13) + SourceIndex(0) -4 >Emitted(53, 16) Source(63, 16) + SourceIndex(0) -5 >Emitted(53, 17) Source(63, 17) + SourceIndex(0) -6 >Emitted(53, 23) Source(63, 23) + SourceIndex(0) -7 >Emitted(53, 24) Source(63, 24) + SourceIndex(0) -8 >Emitted(53, 25) Source(63, 25) + SourceIndex(0) +1 >Emitted(54, 5) Source(63, 5) + SourceIndex(0) +2 >Emitted(54, 12) Source(63, 12) + SourceIndex(0) +3 >Emitted(54, 13) Source(63, 13) + SourceIndex(0) +4 >Emitted(54, 16) Source(63, 16) + SourceIndex(0) +5 >Emitted(54, 17) Source(63, 17) + SourceIndex(0) +6 >Emitted(54, 23) Source(63, 23) + SourceIndex(0) +7 >Emitted(54, 24) Source(63, 24) + SourceIndex(0) +8 >Emitted(54, 25) Source(63, 25) + SourceIndex(0) --- >>>} 1 > @@ -1792,8 +1793,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(54, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(54, 2) Source(64, 2) + SourceIndex(0) +1 >Emitted(55, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(55, 2) Source(64, 2) + SourceIndex(0) --- >>>for (_h = getRobot(), numberA2 = _h[0], nameA2 = _h[1], skillA2 = _h[2], i = 0; i < 1; i++) { 1-> @@ -1851,33 +1852,33 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 25> ++ 26> ) 27> { -1->Emitted(55, 1) Source(65, 1) + SourceIndex(0) -2 >Emitted(55, 6) Source(65, 6) + SourceIndex(0) -3 >Emitted(55, 11) Source(65, 36) + SourceIndex(0) -4 >Emitted(55, 19) Source(65, 44) + SourceIndex(0) -5 >Emitted(55, 21) Source(65, 46) + SourceIndex(0) -6 >Emitted(55, 23) Source(65, 7) + SourceIndex(0) -7 >Emitted(55, 31) Source(65, 15) + SourceIndex(0) -8 >Emitted(55, 39) Source(65, 15) + SourceIndex(0) -9 >Emitted(55, 41) Source(65, 17) + SourceIndex(0) -10>Emitted(55, 47) Source(65, 23) + SourceIndex(0) -11>Emitted(55, 55) Source(65, 23) + SourceIndex(0) -12>Emitted(55, 57) Source(65, 25) + SourceIndex(0) -13>Emitted(55, 64) Source(65, 32) + SourceIndex(0) -14>Emitted(55, 72) Source(65, 32) + SourceIndex(0) -15>Emitted(55, 74) Source(65, 48) + SourceIndex(0) -16>Emitted(55, 75) Source(65, 49) + SourceIndex(0) -17>Emitted(55, 78) Source(65, 52) + SourceIndex(0) -18>Emitted(55, 79) Source(65, 53) + SourceIndex(0) -19>Emitted(55, 81) Source(65, 55) + SourceIndex(0) -20>Emitted(55, 82) Source(65, 56) + SourceIndex(0) -21>Emitted(55, 85) Source(65, 59) + SourceIndex(0) -22>Emitted(55, 86) Source(65, 60) + SourceIndex(0) -23>Emitted(55, 88) Source(65, 62) + SourceIndex(0) -24>Emitted(55, 89) Source(65, 63) + SourceIndex(0) -25>Emitted(55, 91) Source(65, 65) + SourceIndex(0) -26>Emitted(55, 93) Source(65, 67) + SourceIndex(0) -27>Emitted(55, 94) Source(65, 68) + SourceIndex(0) +1->Emitted(56, 1) Source(65, 1) + SourceIndex(0) +2 >Emitted(56, 6) Source(65, 6) + SourceIndex(0) +3 >Emitted(56, 11) Source(65, 36) + SourceIndex(0) +4 >Emitted(56, 19) Source(65, 44) + SourceIndex(0) +5 >Emitted(56, 21) Source(65, 46) + SourceIndex(0) +6 >Emitted(56, 23) Source(65, 7) + SourceIndex(0) +7 >Emitted(56, 31) Source(65, 15) + SourceIndex(0) +8 >Emitted(56, 39) Source(65, 15) + SourceIndex(0) +9 >Emitted(56, 41) Source(65, 17) + SourceIndex(0) +10>Emitted(56, 47) Source(65, 23) + SourceIndex(0) +11>Emitted(56, 55) Source(65, 23) + SourceIndex(0) +12>Emitted(56, 57) Source(65, 25) + SourceIndex(0) +13>Emitted(56, 64) Source(65, 32) + SourceIndex(0) +14>Emitted(56, 72) Source(65, 32) + SourceIndex(0) +15>Emitted(56, 74) Source(65, 48) + SourceIndex(0) +16>Emitted(56, 75) Source(65, 49) + SourceIndex(0) +17>Emitted(56, 78) Source(65, 52) + SourceIndex(0) +18>Emitted(56, 79) Source(65, 53) + SourceIndex(0) +19>Emitted(56, 81) Source(65, 55) + SourceIndex(0) +20>Emitted(56, 82) Source(65, 56) + SourceIndex(0) +21>Emitted(56, 85) Source(65, 59) + SourceIndex(0) +22>Emitted(56, 86) Source(65, 60) + SourceIndex(0) +23>Emitted(56, 88) Source(65, 62) + SourceIndex(0) +24>Emitted(56, 89) Source(65, 63) + SourceIndex(0) +25>Emitted(56, 91) Source(65, 65) + SourceIndex(0) +26>Emitted(56, 93) Source(65, 67) + SourceIndex(0) +27>Emitted(56, 94) Source(65, 68) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1897,14 +1898,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(56, 5) Source(66, 5) + SourceIndex(0) -2 >Emitted(56, 12) Source(66, 12) + SourceIndex(0) -3 >Emitted(56, 13) Source(66, 13) + SourceIndex(0) -4 >Emitted(56, 16) Source(66, 16) + SourceIndex(0) -5 >Emitted(56, 17) Source(66, 17) + SourceIndex(0) -6 >Emitted(56, 23) Source(66, 23) + SourceIndex(0) -7 >Emitted(56, 24) Source(66, 24) + SourceIndex(0) -8 >Emitted(56, 25) Source(66, 25) + SourceIndex(0) +1 >Emitted(57, 5) Source(66, 5) + SourceIndex(0) +2 >Emitted(57, 12) Source(66, 12) + SourceIndex(0) +3 >Emitted(57, 13) Source(66, 13) + SourceIndex(0) +4 >Emitted(57, 16) Source(66, 16) + SourceIndex(0) +5 >Emitted(57, 17) Source(66, 17) + SourceIndex(0) +6 >Emitted(57, 23) Source(66, 23) + SourceIndex(0) +7 >Emitted(57, 24) Source(66, 24) + SourceIndex(0) +8 >Emitted(57, 25) Source(66, 25) + SourceIndex(0) --- >>>} 1 > @@ -1913,8 +1914,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(57, 1) Source(67, 1) + SourceIndex(0) -2 >Emitted(57, 2) Source(67, 2) + SourceIndex(0) +1 >Emitted(58, 1) Source(67, 1) + SourceIndex(0) +2 >Emitted(58, 2) Source(67, 2) + SourceIndex(0) --- >>>for (_j = [2, "trimmer", "trimming"], numberA2 = _j[0], nameA2 = _j[1], skillA2 = _j[2], i = 0; i < 1; i++) { 1-> @@ -1982,38 +1983,38 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 30> ++ 31> ) 32> { -1->Emitted(58, 1) Source(68, 1) + SourceIndex(0) -2 >Emitted(58, 6) Source(68, 6) + SourceIndex(0) -3 >Emitted(58, 11) Source(68, 36) + SourceIndex(0) -4 >Emitted(58, 12) Source(68, 37) + SourceIndex(0) -5 >Emitted(58, 13) Source(68, 38) + SourceIndex(0) -6 >Emitted(58, 15) Source(68, 40) + SourceIndex(0) -7 >Emitted(58, 24) Source(68, 49) + SourceIndex(0) -8 >Emitted(58, 26) Source(68, 51) + SourceIndex(0) -9 >Emitted(58, 36) Source(68, 61) + SourceIndex(0) -10>Emitted(58, 37) Source(68, 62) + SourceIndex(0) -11>Emitted(58, 39) Source(68, 7) + SourceIndex(0) -12>Emitted(58, 47) Source(68, 15) + SourceIndex(0) -13>Emitted(58, 55) Source(68, 15) + SourceIndex(0) -14>Emitted(58, 57) Source(68, 17) + SourceIndex(0) -15>Emitted(58, 63) Source(68, 23) + SourceIndex(0) -16>Emitted(58, 71) Source(68, 23) + SourceIndex(0) -17>Emitted(58, 73) Source(68, 25) + SourceIndex(0) -18>Emitted(58, 80) Source(68, 32) + SourceIndex(0) -19>Emitted(58, 88) Source(68, 32) + SourceIndex(0) -20>Emitted(58, 90) Source(68, 64) + SourceIndex(0) -21>Emitted(58, 91) Source(68, 65) + SourceIndex(0) -22>Emitted(58, 94) Source(68, 68) + SourceIndex(0) -23>Emitted(58, 95) Source(68, 69) + SourceIndex(0) -24>Emitted(58, 97) Source(68, 71) + SourceIndex(0) -25>Emitted(58, 98) Source(68, 72) + SourceIndex(0) -26>Emitted(58, 101) Source(68, 75) + SourceIndex(0) -27>Emitted(58, 102) Source(68, 76) + SourceIndex(0) -28>Emitted(58, 104) Source(68, 78) + SourceIndex(0) -29>Emitted(58, 105) Source(68, 79) + SourceIndex(0) -30>Emitted(58, 107) Source(68, 81) + SourceIndex(0) -31>Emitted(58, 109) Source(68, 83) + SourceIndex(0) -32>Emitted(58, 110) Source(68, 84) + SourceIndex(0) +1->Emitted(59, 1) Source(68, 1) + SourceIndex(0) +2 >Emitted(59, 6) Source(68, 6) + SourceIndex(0) +3 >Emitted(59, 11) Source(68, 36) + SourceIndex(0) +4 >Emitted(59, 12) Source(68, 37) + SourceIndex(0) +5 >Emitted(59, 13) Source(68, 38) + SourceIndex(0) +6 >Emitted(59, 15) Source(68, 40) + SourceIndex(0) +7 >Emitted(59, 24) Source(68, 49) + SourceIndex(0) +8 >Emitted(59, 26) Source(68, 51) + SourceIndex(0) +9 >Emitted(59, 36) Source(68, 61) + SourceIndex(0) +10>Emitted(59, 37) Source(68, 62) + SourceIndex(0) +11>Emitted(59, 39) Source(68, 7) + SourceIndex(0) +12>Emitted(59, 47) Source(68, 15) + SourceIndex(0) +13>Emitted(59, 55) Source(68, 15) + SourceIndex(0) +14>Emitted(59, 57) Source(68, 17) + SourceIndex(0) +15>Emitted(59, 63) Source(68, 23) + SourceIndex(0) +16>Emitted(59, 71) Source(68, 23) + SourceIndex(0) +17>Emitted(59, 73) Source(68, 25) + SourceIndex(0) +18>Emitted(59, 80) Source(68, 32) + SourceIndex(0) +19>Emitted(59, 88) Source(68, 32) + SourceIndex(0) +20>Emitted(59, 90) Source(68, 64) + SourceIndex(0) +21>Emitted(59, 91) Source(68, 65) + SourceIndex(0) +22>Emitted(59, 94) Source(68, 68) + SourceIndex(0) +23>Emitted(59, 95) Source(68, 69) + SourceIndex(0) +24>Emitted(59, 97) Source(68, 71) + SourceIndex(0) +25>Emitted(59, 98) Source(68, 72) + SourceIndex(0) +26>Emitted(59, 101) Source(68, 75) + SourceIndex(0) +27>Emitted(59, 102) Source(68, 76) + SourceIndex(0) +28>Emitted(59, 104) Source(68, 78) + SourceIndex(0) +29>Emitted(59, 105) Source(68, 79) + SourceIndex(0) +30>Emitted(59, 107) Source(68, 81) + SourceIndex(0) +31>Emitted(59, 109) Source(68, 83) + SourceIndex(0) +32>Emitted(59, 110) Source(68, 84) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -2033,14 +2034,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(59, 5) Source(69, 5) + SourceIndex(0) -2 >Emitted(59, 12) Source(69, 12) + SourceIndex(0) -3 >Emitted(59, 13) Source(69, 13) + SourceIndex(0) -4 >Emitted(59, 16) Source(69, 16) + SourceIndex(0) -5 >Emitted(59, 17) Source(69, 17) + SourceIndex(0) -6 >Emitted(59, 23) Source(69, 23) + SourceIndex(0) -7 >Emitted(59, 24) Source(69, 24) + SourceIndex(0) -8 >Emitted(59, 25) Source(69, 25) + SourceIndex(0) +1 >Emitted(60, 5) Source(69, 5) + SourceIndex(0) +2 >Emitted(60, 12) Source(69, 12) + SourceIndex(0) +3 >Emitted(60, 13) Source(69, 13) + SourceIndex(0) +4 >Emitted(60, 16) Source(69, 16) + SourceIndex(0) +5 >Emitted(60, 17) Source(69, 17) + SourceIndex(0) +6 >Emitted(60, 23) Source(69, 23) + SourceIndex(0) +7 >Emitted(60, 24) Source(69, 24) + SourceIndex(0) +8 >Emitted(60, 25) Source(69, 25) + SourceIndex(0) --- >>>} 1 > @@ -2049,8 +2050,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(60, 1) Source(70, 1) + SourceIndex(0) -2 >Emitted(60, 2) Source(70, 2) + SourceIndex(0) +1 >Emitted(61, 1) Source(70, 1) + SourceIndex(0) +2 >Emitted(61, 2) Source(70, 2) + SourceIndex(0) --- >>>for (nameMA = multiRobotA[0], _k = multiRobotA[1], primarySkillA = _k[0], secondarySkillA = _k[1], i = 0; i < 1; i++) { 1-> @@ -2112,35 +2113,35 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 27> ++ 28> ) 29> { -1->Emitted(61, 1) Source(71, 1) + SourceIndex(0) -2 >Emitted(61, 6) Source(71, 7) + SourceIndex(0) -3 >Emitted(61, 12) Source(71, 13) + SourceIndex(0) -4 >Emitted(61, 15) Source(71, 51) + SourceIndex(0) -5 >Emitted(61, 26) Source(71, 62) + SourceIndex(0) -6 >Emitted(61, 29) Source(71, 13) + SourceIndex(0) -7 >Emitted(61, 31) Source(71, 15) + SourceIndex(0) -8 >Emitted(61, 36) Source(71, 51) + SourceIndex(0) -9 >Emitted(61, 47) Source(71, 62) + SourceIndex(0) -10>Emitted(61, 50) Source(71, 47) + SourceIndex(0) -11>Emitted(61, 52) Source(71, 16) + SourceIndex(0) -12>Emitted(61, 65) Source(71, 29) + SourceIndex(0) -13>Emitted(61, 73) Source(71, 29) + SourceIndex(0) -14>Emitted(61, 75) Source(71, 31) + SourceIndex(0) -15>Emitted(61, 90) Source(71, 46) + SourceIndex(0) -16>Emitted(61, 98) Source(71, 46) + SourceIndex(0) -17>Emitted(61, 100) Source(71, 64) + SourceIndex(0) -18>Emitted(61, 101) Source(71, 65) + SourceIndex(0) -19>Emitted(61, 104) Source(71, 68) + SourceIndex(0) -20>Emitted(61, 105) Source(71, 69) + SourceIndex(0) -21>Emitted(61, 107) Source(71, 71) + SourceIndex(0) -22>Emitted(61, 108) Source(71, 72) + SourceIndex(0) -23>Emitted(61, 111) Source(71, 75) + SourceIndex(0) -24>Emitted(61, 112) Source(71, 76) + SourceIndex(0) -25>Emitted(61, 114) Source(71, 78) + SourceIndex(0) -26>Emitted(61, 115) Source(71, 79) + SourceIndex(0) -27>Emitted(61, 117) Source(71, 81) + SourceIndex(0) -28>Emitted(61, 119) Source(71, 83) + SourceIndex(0) -29>Emitted(61, 120) Source(71, 84) + SourceIndex(0) +1->Emitted(62, 1) Source(71, 1) + SourceIndex(0) +2 >Emitted(62, 6) Source(71, 7) + SourceIndex(0) +3 >Emitted(62, 12) Source(71, 13) + SourceIndex(0) +4 >Emitted(62, 15) Source(71, 51) + SourceIndex(0) +5 >Emitted(62, 26) Source(71, 62) + SourceIndex(0) +6 >Emitted(62, 29) Source(71, 13) + SourceIndex(0) +7 >Emitted(62, 31) Source(71, 15) + SourceIndex(0) +8 >Emitted(62, 36) Source(71, 51) + SourceIndex(0) +9 >Emitted(62, 47) Source(71, 62) + SourceIndex(0) +10>Emitted(62, 50) Source(71, 47) + SourceIndex(0) +11>Emitted(62, 52) Source(71, 16) + SourceIndex(0) +12>Emitted(62, 65) Source(71, 29) + SourceIndex(0) +13>Emitted(62, 73) Source(71, 29) + SourceIndex(0) +14>Emitted(62, 75) Source(71, 31) + SourceIndex(0) +15>Emitted(62, 90) Source(71, 46) + SourceIndex(0) +16>Emitted(62, 98) Source(71, 46) + SourceIndex(0) +17>Emitted(62, 100) Source(71, 64) + SourceIndex(0) +18>Emitted(62, 101) Source(71, 65) + SourceIndex(0) +19>Emitted(62, 104) Source(71, 68) + SourceIndex(0) +20>Emitted(62, 105) Source(71, 69) + SourceIndex(0) +21>Emitted(62, 107) Source(71, 71) + SourceIndex(0) +22>Emitted(62, 108) Source(71, 72) + SourceIndex(0) +23>Emitted(62, 111) Source(71, 75) + SourceIndex(0) +24>Emitted(62, 112) Source(71, 76) + SourceIndex(0) +25>Emitted(62, 114) Source(71, 78) + SourceIndex(0) +26>Emitted(62, 115) Source(71, 79) + SourceIndex(0) +27>Emitted(62, 117) Source(71, 81) + SourceIndex(0) +28>Emitted(62, 119) Source(71, 83) + SourceIndex(0) +29>Emitted(62, 120) Source(71, 84) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2160,14 +2161,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(62, 5) Source(72, 5) + SourceIndex(0) -2 >Emitted(62, 12) Source(72, 12) + SourceIndex(0) -3 >Emitted(62, 13) Source(72, 13) + SourceIndex(0) -4 >Emitted(62, 16) Source(72, 16) + SourceIndex(0) -5 >Emitted(62, 17) Source(72, 17) + SourceIndex(0) -6 >Emitted(62, 23) Source(72, 23) + SourceIndex(0) -7 >Emitted(62, 24) Source(72, 24) + SourceIndex(0) -8 >Emitted(62, 25) Source(72, 25) + SourceIndex(0) +1 >Emitted(63, 5) Source(72, 5) + SourceIndex(0) +2 >Emitted(63, 12) Source(72, 12) + SourceIndex(0) +3 >Emitted(63, 13) Source(72, 13) + SourceIndex(0) +4 >Emitted(63, 16) Source(72, 16) + SourceIndex(0) +5 >Emitted(63, 17) Source(72, 17) + SourceIndex(0) +6 >Emitted(63, 23) Source(72, 23) + SourceIndex(0) +7 >Emitted(63, 24) Source(72, 24) + SourceIndex(0) +8 >Emitted(63, 25) Source(72, 25) + SourceIndex(0) --- >>>} 1 > @@ -2176,8 +2177,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(63, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(63, 2) Source(73, 2) + SourceIndex(0) +1 >Emitted(64, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(64, 2) Source(73, 2) + SourceIndex(0) --- >>>for (_l = getMultiRobot(), nameMA = _l[0], _m = _l[1], primarySkillA = _m[0], secondarySkillA = _m[1], i = 0; i < 1; i++) { 1-> @@ -2239,35 +2240,35 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 27> ++ 28> ) 29> { -1->Emitted(64, 1) Source(74, 1) + SourceIndex(0) -2 >Emitted(64, 6) Source(74, 6) + SourceIndex(0) -3 >Emitted(64, 11) Source(74, 51) + SourceIndex(0) -4 >Emitted(64, 24) Source(74, 64) + SourceIndex(0) -5 >Emitted(64, 26) Source(74, 66) + SourceIndex(0) -6 >Emitted(64, 28) Source(74, 7) + SourceIndex(0) -7 >Emitted(64, 34) Source(74, 13) + SourceIndex(0) -8 >Emitted(64, 42) Source(74, 13) + SourceIndex(0) -9 >Emitted(64, 44) Source(74, 15) + SourceIndex(0) -10>Emitted(64, 54) Source(74, 47) + SourceIndex(0) -11>Emitted(64, 56) Source(74, 16) + SourceIndex(0) -12>Emitted(64, 69) Source(74, 29) + SourceIndex(0) -13>Emitted(64, 77) Source(74, 29) + SourceIndex(0) -14>Emitted(64, 79) Source(74, 31) + SourceIndex(0) -15>Emitted(64, 94) Source(74, 46) + SourceIndex(0) -16>Emitted(64, 102) Source(74, 46) + SourceIndex(0) -17>Emitted(64, 104) Source(74, 68) + SourceIndex(0) -18>Emitted(64, 105) Source(74, 69) + SourceIndex(0) -19>Emitted(64, 108) Source(74, 72) + SourceIndex(0) -20>Emitted(64, 109) Source(74, 73) + SourceIndex(0) -21>Emitted(64, 111) Source(74, 75) + SourceIndex(0) -22>Emitted(64, 112) Source(74, 76) + SourceIndex(0) -23>Emitted(64, 115) Source(74, 79) + SourceIndex(0) -24>Emitted(64, 116) Source(74, 80) + SourceIndex(0) -25>Emitted(64, 118) Source(74, 82) + SourceIndex(0) -26>Emitted(64, 119) Source(74, 83) + SourceIndex(0) -27>Emitted(64, 121) Source(74, 85) + SourceIndex(0) -28>Emitted(64, 123) Source(74, 87) + SourceIndex(0) -29>Emitted(64, 124) Source(74, 88) + SourceIndex(0) +1->Emitted(65, 1) Source(74, 1) + SourceIndex(0) +2 >Emitted(65, 6) Source(74, 6) + SourceIndex(0) +3 >Emitted(65, 11) Source(74, 51) + SourceIndex(0) +4 >Emitted(65, 24) Source(74, 64) + SourceIndex(0) +5 >Emitted(65, 26) Source(74, 66) + SourceIndex(0) +6 >Emitted(65, 28) Source(74, 7) + SourceIndex(0) +7 >Emitted(65, 34) Source(74, 13) + SourceIndex(0) +8 >Emitted(65, 42) Source(74, 13) + SourceIndex(0) +9 >Emitted(65, 44) Source(74, 15) + SourceIndex(0) +10>Emitted(65, 54) Source(74, 47) + SourceIndex(0) +11>Emitted(65, 56) Source(74, 16) + SourceIndex(0) +12>Emitted(65, 69) Source(74, 29) + SourceIndex(0) +13>Emitted(65, 77) Source(74, 29) + SourceIndex(0) +14>Emitted(65, 79) Source(74, 31) + SourceIndex(0) +15>Emitted(65, 94) Source(74, 46) + SourceIndex(0) +16>Emitted(65, 102) Source(74, 46) + SourceIndex(0) +17>Emitted(65, 104) Source(74, 68) + SourceIndex(0) +18>Emitted(65, 105) Source(74, 69) + SourceIndex(0) +19>Emitted(65, 108) Source(74, 72) + SourceIndex(0) +20>Emitted(65, 109) Source(74, 73) + SourceIndex(0) +21>Emitted(65, 111) Source(74, 75) + SourceIndex(0) +22>Emitted(65, 112) Source(74, 76) + SourceIndex(0) +23>Emitted(65, 115) Source(74, 79) + SourceIndex(0) +24>Emitted(65, 116) Source(74, 80) + SourceIndex(0) +25>Emitted(65, 118) Source(74, 82) + SourceIndex(0) +26>Emitted(65, 119) Source(74, 83) + SourceIndex(0) +27>Emitted(65, 121) Source(74, 85) + SourceIndex(0) +28>Emitted(65, 123) Source(74, 87) + SourceIndex(0) +29>Emitted(65, 124) Source(74, 88) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2287,14 +2288,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(65, 5) Source(75, 5) + SourceIndex(0) -2 >Emitted(65, 12) Source(75, 12) + SourceIndex(0) -3 >Emitted(65, 13) Source(75, 13) + SourceIndex(0) -4 >Emitted(65, 16) Source(75, 16) + SourceIndex(0) -5 >Emitted(65, 17) Source(75, 17) + SourceIndex(0) -6 >Emitted(65, 23) Source(75, 23) + SourceIndex(0) -7 >Emitted(65, 24) Source(75, 24) + SourceIndex(0) -8 >Emitted(65, 25) Source(75, 25) + SourceIndex(0) +1 >Emitted(66, 5) Source(75, 5) + SourceIndex(0) +2 >Emitted(66, 12) Source(75, 12) + SourceIndex(0) +3 >Emitted(66, 13) Source(75, 13) + SourceIndex(0) +4 >Emitted(66, 16) Source(75, 16) + SourceIndex(0) +5 >Emitted(66, 17) Source(75, 17) + SourceIndex(0) +6 >Emitted(66, 23) Source(75, 23) + SourceIndex(0) +7 >Emitted(66, 24) Source(75, 24) + SourceIndex(0) +8 >Emitted(66, 25) Source(75, 25) + SourceIndex(0) --- >>>} 1 > @@ -2303,8 +2304,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(66, 1) Source(76, 1) + SourceIndex(0) -2 >Emitted(66, 2) Source(76, 2) + SourceIndex(0) +1 >Emitted(67, 1) Source(76, 1) + SourceIndex(0) +2 >Emitted(67, 2) Source(76, 2) + SourceIndex(0) --- >>>for (_o = ["trimmer", ["trimming", "edging"]], nameMA = _o[0], _p = _o[1], primarySkillA = _p[0], secondarySkillA = _p[1], i = 0; i < 1; i++) { 1-> @@ -2380,42 +2381,42 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 34> ++ 35> ) 36> { -1->Emitted(67, 1) Source(77, 1) + SourceIndex(0) -2 >Emitted(67, 6) Source(77, 6) + SourceIndex(0) -3 >Emitted(67, 11) Source(77, 51) + SourceIndex(0) -4 >Emitted(67, 12) Source(77, 52) + SourceIndex(0) -5 >Emitted(67, 21) Source(77, 61) + SourceIndex(0) -6 >Emitted(67, 23) Source(77, 63) + SourceIndex(0) -7 >Emitted(67, 24) Source(77, 64) + SourceIndex(0) -8 >Emitted(67, 34) Source(77, 74) + SourceIndex(0) -9 >Emitted(67, 36) Source(77, 76) + SourceIndex(0) -10>Emitted(67, 44) Source(77, 84) + SourceIndex(0) -11>Emitted(67, 45) Source(77, 85) + SourceIndex(0) -12>Emitted(67, 46) Source(77, 86) + SourceIndex(0) -13>Emitted(67, 48) Source(77, 7) + SourceIndex(0) -14>Emitted(67, 54) Source(77, 13) + SourceIndex(0) -15>Emitted(67, 62) Source(77, 13) + SourceIndex(0) -16>Emitted(67, 64) Source(77, 15) + SourceIndex(0) -17>Emitted(67, 74) Source(77, 47) + SourceIndex(0) -18>Emitted(67, 76) Source(77, 16) + SourceIndex(0) -19>Emitted(67, 89) Source(77, 29) + SourceIndex(0) -20>Emitted(67, 97) Source(77, 29) + SourceIndex(0) -21>Emitted(67, 99) Source(77, 31) + SourceIndex(0) -22>Emitted(67, 114) Source(77, 46) + SourceIndex(0) -23>Emitted(67, 122) Source(77, 46) + SourceIndex(0) -24>Emitted(67, 124) Source(77, 88) + SourceIndex(0) -25>Emitted(67, 125) Source(77, 89) + SourceIndex(0) -26>Emitted(67, 128) Source(77, 92) + SourceIndex(0) -27>Emitted(67, 129) Source(77, 93) + SourceIndex(0) -28>Emitted(67, 131) Source(77, 95) + SourceIndex(0) -29>Emitted(67, 132) Source(77, 96) + SourceIndex(0) -30>Emitted(67, 135) Source(77, 99) + SourceIndex(0) -31>Emitted(67, 136) Source(77, 100) + SourceIndex(0) -32>Emitted(67, 138) Source(77, 102) + SourceIndex(0) -33>Emitted(67, 139) Source(77, 103) + SourceIndex(0) -34>Emitted(67, 141) Source(77, 105) + SourceIndex(0) -35>Emitted(67, 143) Source(77, 107) + SourceIndex(0) -36>Emitted(67, 144) Source(77, 108) + SourceIndex(0) +1->Emitted(68, 1) Source(77, 1) + SourceIndex(0) +2 >Emitted(68, 6) Source(77, 6) + SourceIndex(0) +3 >Emitted(68, 11) Source(77, 51) + SourceIndex(0) +4 >Emitted(68, 12) Source(77, 52) + SourceIndex(0) +5 >Emitted(68, 21) Source(77, 61) + SourceIndex(0) +6 >Emitted(68, 23) Source(77, 63) + SourceIndex(0) +7 >Emitted(68, 24) Source(77, 64) + SourceIndex(0) +8 >Emitted(68, 34) Source(77, 74) + SourceIndex(0) +9 >Emitted(68, 36) Source(77, 76) + SourceIndex(0) +10>Emitted(68, 44) Source(77, 84) + SourceIndex(0) +11>Emitted(68, 45) Source(77, 85) + SourceIndex(0) +12>Emitted(68, 46) Source(77, 86) + SourceIndex(0) +13>Emitted(68, 48) Source(77, 7) + SourceIndex(0) +14>Emitted(68, 54) Source(77, 13) + SourceIndex(0) +15>Emitted(68, 62) Source(77, 13) + SourceIndex(0) +16>Emitted(68, 64) Source(77, 15) + SourceIndex(0) +17>Emitted(68, 74) Source(77, 47) + SourceIndex(0) +18>Emitted(68, 76) Source(77, 16) + SourceIndex(0) +19>Emitted(68, 89) Source(77, 29) + SourceIndex(0) +20>Emitted(68, 97) Source(77, 29) + SourceIndex(0) +21>Emitted(68, 99) Source(77, 31) + SourceIndex(0) +22>Emitted(68, 114) Source(77, 46) + SourceIndex(0) +23>Emitted(68, 122) Source(77, 46) + SourceIndex(0) +24>Emitted(68, 124) Source(77, 88) + SourceIndex(0) +25>Emitted(68, 125) Source(77, 89) + SourceIndex(0) +26>Emitted(68, 128) Source(77, 92) + SourceIndex(0) +27>Emitted(68, 129) Source(77, 93) + SourceIndex(0) +28>Emitted(68, 131) Source(77, 95) + SourceIndex(0) +29>Emitted(68, 132) Source(77, 96) + SourceIndex(0) +30>Emitted(68, 135) Source(77, 99) + SourceIndex(0) +31>Emitted(68, 136) Source(77, 100) + SourceIndex(0) +32>Emitted(68, 138) Source(77, 102) + SourceIndex(0) +33>Emitted(68, 139) Source(77, 103) + SourceIndex(0) +34>Emitted(68, 141) Source(77, 105) + SourceIndex(0) +35>Emitted(68, 143) Source(77, 107) + SourceIndex(0) +36>Emitted(68, 144) Source(77, 108) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2435,14 +2436,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(68, 5) Source(78, 5) + SourceIndex(0) -2 >Emitted(68, 12) Source(78, 12) + SourceIndex(0) -3 >Emitted(68, 13) Source(78, 13) + SourceIndex(0) -4 >Emitted(68, 16) Source(78, 16) + SourceIndex(0) -5 >Emitted(68, 17) Source(78, 17) + SourceIndex(0) -6 >Emitted(68, 23) Source(78, 23) + SourceIndex(0) -7 >Emitted(68, 24) Source(78, 24) + SourceIndex(0) -8 >Emitted(68, 25) Source(78, 25) + SourceIndex(0) +1 >Emitted(69, 5) Source(78, 5) + SourceIndex(0) +2 >Emitted(69, 12) Source(78, 12) + SourceIndex(0) +3 >Emitted(69, 13) Source(78, 13) + SourceIndex(0) +4 >Emitted(69, 16) Source(78, 16) + SourceIndex(0) +5 >Emitted(69, 17) Source(78, 17) + SourceIndex(0) +6 >Emitted(69, 23) Source(78, 23) + SourceIndex(0) +7 >Emitted(69, 24) Source(78, 24) + SourceIndex(0) +8 >Emitted(69, 25) Source(78, 25) + SourceIndex(0) --- >>>} 1 > @@ -2451,8 +2452,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(69, 1) Source(79, 1) + SourceIndex(0) -2 >Emitted(69, 2) Source(79, 2) + SourceIndex(0) +1 >Emitted(70, 1) Source(79, 1) + SourceIndex(0) +2 >Emitted(70, 2) Source(79, 2) + SourceIndex(0) --- >>>for (numberA3 = robotA[0], robotAInfo = robotA.slice(1), i = 0; i < 1; i++) { 1-> @@ -2505,30 +2506,30 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 22> ++ 23> ) 24> { -1->Emitted(70, 1) Source(81, 1) + SourceIndex(0) -2 >Emitted(70, 6) Source(81, 7) + SourceIndex(0) -3 >Emitted(70, 14) Source(81, 15) + SourceIndex(0) -4 >Emitted(70, 17) Source(81, 34) + SourceIndex(0) -5 >Emitted(70, 23) Source(81, 40) + SourceIndex(0) -6 >Emitted(70, 26) Source(81, 15) + SourceIndex(0) -7 >Emitted(70, 28) Source(81, 20) + SourceIndex(0) -8 >Emitted(70, 38) Source(81, 30) + SourceIndex(0) -9 >Emitted(70, 41) Source(81, 34) + SourceIndex(0) -10>Emitted(70, 47) Source(81, 40) + SourceIndex(0) -11>Emitted(70, 56) Source(81, 30) + SourceIndex(0) -12>Emitted(70, 58) Source(81, 42) + SourceIndex(0) -13>Emitted(70, 59) Source(81, 43) + SourceIndex(0) -14>Emitted(70, 62) Source(81, 46) + SourceIndex(0) -15>Emitted(70, 63) Source(81, 47) + SourceIndex(0) -16>Emitted(70, 65) Source(81, 49) + SourceIndex(0) -17>Emitted(70, 66) Source(81, 50) + SourceIndex(0) -18>Emitted(70, 69) Source(81, 53) + SourceIndex(0) -19>Emitted(70, 70) Source(81, 54) + SourceIndex(0) -20>Emitted(70, 72) Source(81, 56) + SourceIndex(0) -21>Emitted(70, 73) Source(81, 57) + SourceIndex(0) -22>Emitted(70, 75) Source(81, 59) + SourceIndex(0) -23>Emitted(70, 77) Source(81, 61) + SourceIndex(0) -24>Emitted(70, 78) Source(81, 62) + SourceIndex(0) +1->Emitted(71, 1) Source(81, 1) + SourceIndex(0) +2 >Emitted(71, 6) Source(81, 7) + SourceIndex(0) +3 >Emitted(71, 14) Source(81, 15) + SourceIndex(0) +4 >Emitted(71, 17) Source(81, 34) + SourceIndex(0) +5 >Emitted(71, 23) Source(81, 40) + SourceIndex(0) +6 >Emitted(71, 26) Source(81, 15) + SourceIndex(0) +7 >Emitted(71, 28) Source(81, 20) + SourceIndex(0) +8 >Emitted(71, 38) Source(81, 30) + SourceIndex(0) +9 >Emitted(71, 41) Source(81, 34) + SourceIndex(0) +10>Emitted(71, 47) Source(81, 40) + SourceIndex(0) +11>Emitted(71, 56) Source(81, 30) + SourceIndex(0) +12>Emitted(71, 58) Source(81, 42) + SourceIndex(0) +13>Emitted(71, 59) Source(81, 43) + SourceIndex(0) +14>Emitted(71, 62) Source(81, 46) + SourceIndex(0) +15>Emitted(71, 63) Source(81, 47) + SourceIndex(0) +16>Emitted(71, 65) Source(81, 49) + SourceIndex(0) +17>Emitted(71, 66) Source(81, 50) + SourceIndex(0) +18>Emitted(71, 69) Source(81, 53) + SourceIndex(0) +19>Emitted(71, 70) Source(81, 54) + SourceIndex(0) +20>Emitted(71, 72) Source(81, 56) + SourceIndex(0) +21>Emitted(71, 73) Source(81, 57) + SourceIndex(0) +22>Emitted(71, 75) Source(81, 59) + SourceIndex(0) +23>Emitted(71, 77) Source(81, 61) + SourceIndex(0) +24>Emitted(71, 78) Source(81, 62) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2548,14 +2549,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(71, 5) Source(82, 5) + SourceIndex(0) -2 >Emitted(71, 12) Source(82, 12) + SourceIndex(0) -3 >Emitted(71, 13) Source(82, 13) + SourceIndex(0) -4 >Emitted(71, 16) Source(82, 16) + SourceIndex(0) -5 >Emitted(71, 17) Source(82, 17) + SourceIndex(0) -6 >Emitted(71, 25) Source(82, 25) + SourceIndex(0) -7 >Emitted(71, 26) Source(82, 26) + SourceIndex(0) -8 >Emitted(71, 27) Source(82, 27) + SourceIndex(0) +1 >Emitted(72, 5) Source(82, 5) + SourceIndex(0) +2 >Emitted(72, 12) Source(82, 12) + SourceIndex(0) +3 >Emitted(72, 13) Source(82, 13) + SourceIndex(0) +4 >Emitted(72, 16) Source(82, 16) + SourceIndex(0) +5 >Emitted(72, 17) Source(82, 17) + SourceIndex(0) +6 >Emitted(72, 25) Source(82, 25) + SourceIndex(0) +7 >Emitted(72, 26) Source(82, 26) + SourceIndex(0) +8 >Emitted(72, 27) Source(82, 27) + SourceIndex(0) --- >>>} 1 > @@ -2564,8 +2565,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(72, 1) Source(83, 1) + SourceIndex(0) -2 >Emitted(72, 2) Source(83, 2) + SourceIndex(0) +1 >Emitted(73, 1) Source(83, 1) + SourceIndex(0) +2 >Emitted(73, 2) Source(83, 2) + SourceIndex(0) --- >>>for (_q = getRobot(), numberA3 = _q[0], robotAInfo = _q.slice(1), i = 0; i < 1; i++) { 1-> @@ -2617,30 +2618,30 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 22> ++ 23> ) 24> { -1->Emitted(73, 1) Source(84, 1) + SourceIndex(0) -2 >Emitted(73, 6) Source(84, 6) + SourceIndex(0) -3 >Emitted(73, 11) Source(84, 34) + SourceIndex(0) -4 >Emitted(73, 19) Source(84, 42) + SourceIndex(0) -5 >Emitted(73, 21) Source(84, 44) + SourceIndex(0) -6 >Emitted(73, 23) Source(84, 7) + SourceIndex(0) -7 >Emitted(73, 31) Source(84, 15) + SourceIndex(0) -8 >Emitted(73, 39) Source(84, 15) + SourceIndex(0) -9 >Emitted(73, 41) Source(84, 20) + SourceIndex(0) -10>Emitted(73, 51) Source(84, 30) + SourceIndex(0) -11>Emitted(73, 65) Source(84, 30) + SourceIndex(0) -12>Emitted(73, 67) Source(84, 46) + SourceIndex(0) -13>Emitted(73, 68) Source(84, 47) + SourceIndex(0) -14>Emitted(73, 71) Source(84, 50) + SourceIndex(0) -15>Emitted(73, 72) Source(84, 51) + SourceIndex(0) -16>Emitted(73, 74) Source(84, 53) + SourceIndex(0) -17>Emitted(73, 75) Source(84, 54) + SourceIndex(0) -18>Emitted(73, 78) Source(84, 57) + SourceIndex(0) -19>Emitted(73, 79) Source(84, 58) + SourceIndex(0) -20>Emitted(73, 81) Source(84, 60) + SourceIndex(0) -21>Emitted(73, 82) Source(84, 61) + SourceIndex(0) -22>Emitted(73, 84) Source(84, 63) + SourceIndex(0) -23>Emitted(73, 86) Source(84, 65) + SourceIndex(0) -24>Emitted(73, 87) Source(84, 66) + SourceIndex(0) +1->Emitted(74, 1) Source(84, 1) + SourceIndex(0) +2 >Emitted(74, 6) Source(84, 6) + SourceIndex(0) +3 >Emitted(74, 11) Source(84, 34) + SourceIndex(0) +4 >Emitted(74, 19) Source(84, 42) + SourceIndex(0) +5 >Emitted(74, 21) Source(84, 44) + SourceIndex(0) +6 >Emitted(74, 23) Source(84, 7) + SourceIndex(0) +7 >Emitted(74, 31) Source(84, 15) + SourceIndex(0) +8 >Emitted(74, 39) Source(84, 15) + SourceIndex(0) +9 >Emitted(74, 41) Source(84, 20) + SourceIndex(0) +10>Emitted(74, 51) Source(84, 30) + SourceIndex(0) +11>Emitted(74, 65) Source(84, 30) + SourceIndex(0) +12>Emitted(74, 67) Source(84, 46) + SourceIndex(0) +13>Emitted(74, 68) Source(84, 47) + SourceIndex(0) +14>Emitted(74, 71) Source(84, 50) + SourceIndex(0) +15>Emitted(74, 72) Source(84, 51) + SourceIndex(0) +16>Emitted(74, 74) Source(84, 53) + SourceIndex(0) +17>Emitted(74, 75) Source(84, 54) + SourceIndex(0) +18>Emitted(74, 78) Source(84, 57) + SourceIndex(0) +19>Emitted(74, 79) Source(84, 58) + SourceIndex(0) +20>Emitted(74, 81) Source(84, 60) + SourceIndex(0) +21>Emitted(74, 82) Source(84, 61) + SourceIndex(0) +22>Emitted(74, 84) Source(84, 63) + SourceIndex(0) +23>Emitted(74, 86) Source(84, 65) + SourceIndex(0) +24>Emitted(74, 87) Source(84, 66) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2660,14 +2661,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(74, 5) Source(85, 5) + SourceIndex(0) -2 >Emitted(74, 12) Source(85, 12) + SourceIndex(0) -3 >Emitted(74, 13) Source(85, 13) + SourceIndex(0) -4 >Emitted(74, 16) Source(85, 16) + SourceIndex(0) -5 >Emitted(74, 17) Source(85, 17) + SourceIndex(0) -6 >Emitted(74, 25) Source(85, 25) + SourceIndex(0) -7 >Emitted(74, 26) Source(85, 26) + SourceIndex(0) -8 >Emitted(74, 27) Source(85, 27) + SourceIndex(0) +1 >Emitted(75, 5) Source(85, 5) + SourceIndex(0) +2 >Emitted(75, 12) Source(85, 12) + SourceIndex(0) +3 >Emitted(75, 13) Source(85, 13) + SourceIndex(0) +4 >Emitted(75, 16) Source(85, 16) + SourceIndex(0) +5 >Emitted(75, 17) Source(85, 17) + SourceIndex(0) +6 >Emitted(75, 25) Source(85, 25) + SourceIndex(0) +7 >Emitted(75, 26) Source(85, 26) + SourceIndex(0) +8 >Emitted(75, 27) Source(85, 27) + SourceIndex(0) --- >>>} 1 > @@ -2676,8 +2677,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(75, 1) Source(86, 1) + SourceIndex(0) -2 >Emitted(75, 2) Source(86, 2) + SourceIndex(0) +1 >Emitted(76, 1) Source(86, 1) + SourceIndex(0) +2 >Emitted(76, 2) Source(86, 2) + SourceIndex(0) --- >>>for (_r = [2, "trimmer", "trimming"], numberA3 = _r[0], robotAInfo = _r.slice(1), i = 0; i < 1; i++) { 1-> @@ -2739,35 +2740,35 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 27> ++ 28> ) 29> { -1->Emitted(76, 1) Source(87, 1) + SourceIndex(0) -2 >Emitted(76, 6) Source(87, 6) + SourceIndex(0) -3 >Emitted(76, 11) Source(87, 41) + SourceIndex(0) -4 >Emitted(76, 12) Source(87, 42) + SourceIndex(0) -5 >Emitted(76, 13) Source(87, 43) + SourceIndex(0) -6 >Emitted(76, 15) Source(87, 45) + SourceIndex(0) -7 >Emitted(76, 24) Source(87, 54) + SourceIndex(0) -8 >Emitted(76, 26) Source(87, 56) + SourceIndex(0) -9 >Emitted(76, 36) Source(87, 66) + SourceIndex(0) -10>Emitted(76, 37) Source(87, 67) + SourceIndex(0) -11>Emitted(76, 39) Source(87, 7) + SourceIndex(0) -12>Emitted(76, 47) Source(87, 15) + SourceIndex(0) -13>Emitted(76, 55) Source(87, 15) + SourceIndex(0) -14>Emitted(76, 57) Source(87, 20) + SourceIndex(0) -15>Emitted(76, 67) Source(87, 30) + SourceIndex(0) -16>Emitted(76, 81) Source(87, 30) + SourceIndex(0) -17>Emitted(76, 83) Source(87, 69) + SourceIndex(0) -18>Emitted(76, 84) Source(87, 70) + SourceIndex(0) -19>Emitted(76, 87) Source(87, 73) + SourceIndex(0) -20>Emitted(76, 88) Source(87, 74) + SourceIndex(0) -21>Emitted(76, 90) Source(87, 76) + SourceIndex(0) -22>Emitted(76, 91) Source(87, 77) + SourceIndex(0) -23>Emitted(76, 94) Source(87, 80) + SourceIndex(0) -24>Emitted(76, 95) Source(87, 81) + SourceIndex(0) -25>Emitted(76, 97) Source(87, 83) + SourceIndex(0) -26>Emitted(76, 98) Source(87, 84) + SourceIndex(0) -27>Emitted(76, 100) Source(87, 86) + SourceIndex(0) -28>Emitted(76, 102) Source(87, 88) + SourceIndex(0) -29>Emitted(76, 103) Source(87, 89) + SourceIndex(0) +1->Emitted(77, 1) Source(87, 1) + SourceIndex(0) +2 >Emitted(77, 6) Source(87, 6) + SourceIndex(0) +3 >Emitted(77, 11) Source(87, 41) + SourceIndex(0) +4 >Emitted(77, 12) Source(87, 42) + SourceIndex(0) +5 >Emitted(77, 13) Source(87, 43) + SourceIndex(0) +6 >Emitted(77, 15) Source(87, 45) + SourceIndex(0) +7 >Emitted(77, 24) Source(87, 54) + SourceIndex(0) +8 >Emitted(77, 26) Source(87, 56) + SourceIndex(0) +9 >Emitted(77, 36) Source(87, 66) + SourceIndex(0) +10>Emitted(77, 37) Source(87, 67) + SourceIndex(0) +11>Emitted(77, 39) Source(87, 7) + SourceIndex(0) +12>Emitted(77, 47) Source(87, 15) + SourceIndex(0) +13>Emitted(77, 55) Source(87, 15) + SourceIndex(0) +14>Emitted(77, 57) Source(87, 20) + SourceIndex(0) +15>Emitted(77, 67) Source(87, 30) + SourceIndex(0) +16>Emitted(77, 81) Source(87, 30) + SourceIndex(0) +17>Emitted(77, 83) Source(87, 69) + SourceIndex(0) +18>Emitted(77, 84) Source(87, 70) + SourceIndex(0) +19>Emitted(77, 87) Source(87, 73) + SourceIndex(0) +20>Emitted(77, 88) Source(87, 74) + SourceIndex(0) +21>Emitted(77, 90) Source(87, 76) + SourceIndex(0) +22>Emitted(77, 91) Source(87, 77) + SourceIndex(0) +23>Emitted(77, 94) Source(87, 80) + SourceIndex(0) +24>Emitted(77, 95) Source(87, 81) + SourceIndex(0) +25>Emitted(77, 97) Source(87, 83) + SourceIndex(0) +26>Emitted(77, 98) Source(87, 84) + SourceIndex(0) +27>Emitted(77, 100) Source(87, 86) + SourceIndex(0) +28>Emitted(77, 102) Source(87, 88) + SourceIndex(0) +29>Emitted(77, 103) Source(87, 89) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2787,14 +2788,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(77, 5) Source(88, 5) + SourceIndex(0) -2 >Emitted(77, 12) Source(88, 12) + SourceIndex(0) -3 >Emitted(77, 13) Source(88, 13) + SourceIndex(0) -4 >Emitted(77, 16) Source(88, 16) + SourceIndex(0) -5 >Emitted(77, 17) Source(88, 17) + SourceIndex(0) -6 >Emitted(77, 25) Source(88, 25) + SourceIndex(0) -7 >Emitted(77, 26) Source(88, 26) + SourceIndex(0) -8 >Emitted(77, 27) Source(88, 27) + SourceIndex(0) +1 >Emitted(78, 5) Source(88, 5) + SourceIndex(0) +2 >Emitted(78, 12) Source(88, 12) + SourceIndex(0) +3 >Emitted(78, 13) Source(88, 13) + SourceIndex(0) +4 >Emitted(78, 16) Source(88, 16) + SourceIndex(0) +5 >Emitted(78, 17) Source(88, 17) + SourceIndex(0) +6 >Emitted(78, 25) Source(88, 25) + SourceIndex(0) +7 >Emitted(78, 26) Source(88, 26) + SourceIndex(0) +8 >Emitted(78, 27) Source(88, 27) + SourceIndex(0) --- >>>} 1 > @@ -2803,8 +2804,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(78, 1) Source(89, 1) + SourceIndex(0) -2 >Emitted(78, 2) Source(89, 2) + SourceIndex(0) +1 >Emitted(79, 1) Source(89, 1) + SourceIndex(0) +2 >Emitted(79, 2) Source(89, 2) + SourceIndex(0) --- >>>for (multiRobotAInfo = multiRobotA.slice(0), i = 0; i < 1; i++) { 1-> @@ -2846,25 +2847,25 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 17> ++ 18> ) 19> { -1->Emitted(79, 1) Source(90, 1) + SourceIndex(0) -2 >Emitted(79, 6) Source(90, 10) + SourceIndex(0) -3 >Emitted(79, 21) Source(90, 25) + SourceIndex(0) -4 >Emitted(79, 24) Source(90, 29) + SourceIndex(0) -5 >Emitted(79, 35) Source(90, 40) + SourceIndex(0) -6 >Emitted(79, 44) Source(90, 25) + SourceIndex(0) -7 >Emitted(79, 46) Source(90, 42) + SourceIndex(0) -8 >Emitted(79, 47) Source(90, 43) + SourceIndex(0) -9 >Emitted(79, 50) Source(90, 46) + SourceIndex(0) -10>Emitted(79, 51) Source(90, 47) + SourceIndex(0) -11>Emitted(79, 53) Source(90, 49) + SourceIndex(0) -12>Emitted(79, 54) Source(90, 50) + SourceIndex(0) -13>Emitted(79, 57) Source(90, 53) + SourceIndex(0) -14>Emitted(79, 58) Source(90, 54) + SourceIndex(0) -15>Emitted(79, 60) Source(90, 56) + SourceIndex(0) -16>Emitted(79, 61) Source(90, 57) + SourceIndex(0) -17>Emitted(79, 63) Source(90, 59) + SourceIndex(0) -18>Emitted(79, 65) Source(90, 61) + SourceIndex(0) -19>Emitted(79, 66) Source(90, 62) + SourceIndex(0) +1->Emitted(80, 1) Source(90, 1) + SourceIndex(0) +2 >Emitted(80, 6) Source(90, 10) + SourceIndex(0) +3 >Emitted(80, 21) Source(90, 25) + SourceIndex(0) +4 >Emitted(80, 24) Source(90, 29) + SourceIndex(0) +5 >Emitted(80, 35) Source(90, 40) + SourceIndex(0) +6 >Emitted(80, 44) Source(90, 25) + SourceIndex(0) +7 >Emitted(80, 46) Source(90, 42) + SourceIndex(0) +8 >Emitted(80, 47) Source(90, 43) + SourceIndex(0) +9 >Emitted(80, 50) Source(90, 46) + SourceIndex(0) +10>Emitted(80, 51) Source(90, 47) + SourceIndex(0) +11>Emitted(80, 53) Source(90, 49) + SourceIndex(0) +12>Emitted(80, 54) Source(90, 50) + SourceIndex(0) +13>Emitted(80, 57) Source(90, 53) + SourceIndex(0) +14>Emitted(80, 58) Source(90, 54) + SourceIndex(0) +15>Emitted(80, 60) Source(90, 56) + SourceIndex(0) +16>Emitted(80, 61) Source(90, 57) + SourceIndex(0) +17>Emitted(80, 63) Source(90, 59) + SourceIndex(0) +18>Emitted(80, 65) Source(90, 61) + SourceIndex(0) +19>Emitted(80, 66) Source(90, 62) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -2884,14 +2885,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(80, 5) Source(91, 5) + SourceIndex(0) -2 >Emitted(80, 12) Source(91, 12) + SourceIndex(0) -3 >Emitted(80, 13) Source(91, 13) + SourceIndex(0) -4 >Emitted(80, 16) Source(91, 16) + SourceIndex(0) -5 >Emitted(80, 17) Source(91, 17) + SourceIndex(0) -6 >Emitted(80, 32) Source(91, 32) + SourceIndex(0) -7 >Emitted(80, 33) Source(91, 33) + SourceIndex(0) -8 >Emitted(80, 34) Source(91, 34) + SourceIndex(0) +1 >Emitted(81, 5) Source(91, 5) + SourceIndex(0) +2 >Emitted(81, 12) Source(91, 12) + SourceIndex(0) +3 >Emitted(81, 13) Source(91, 13) + SourceIndex(0) +4 >Emitted(81, 16) Source(91, 16) + SourceIndex(0) +5 >Emitted(81, 17) Source(91, 17) + SourceIndex(0) +6 >Emitted(81, 32) Source(91, 32) + SourceIndex(0) +7 >Emitted(81, 33) Source(91, 33) + SourceIndex(0) +8 >Emitted(81, 34) Source(91, 34) + SourceIndex(0) --- >>>} 1 > @@ -2900,8 +2901,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(81, 1) Source(92, 1) + SourceIndex(0) -2 >Emitted(81, 2) Source(92, 2) + SourceIndex(0) +1 >Emitted(82, 1) Source(92, 1) + SourceIndex(0) +2 >Emitted(82, 2) Source(92, 2) + SourceIndex(0) --- >>>for (multiRobotAInfo = getMultiRobot().slice(0), i = 0; i < 1; i++) { 1-> @@ -2945,26 +2946,26 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 18> ++ 19> ) 20> { -1->Emitted(82, 1) Source(93, 1) + SourceIndex(0) -2 >Emitted(82, 6) Source(93, 10) + SourceIndex(0) -3 >Emitted(82, 21) Source(93, 25) + SourceIndex(0) -4 >Emitted(82, 24) Source(93, 29) + SourceIndex(0) -5 >Emitted(82, 37) Source(93, 42) + SourceIndex(0) -6 >Emitted(82, 39) Source(93, 44) + SourceIndex(0) -7 >Emitted(82, 48) Source(93, 25) + SourceIndex(0) -8 >Emitted(82, 50) Source(93, 46) + SourceIndex(0) -9 >Emitted(82, 51) Source(93, 47) + SourceIndex(0) -10>Emitted(82, 54) Source(93, 50) + SourceIndex(0) -11>Emitted(82, 55) Source(93, 51) + SourceIndex(0) -12>Emitted(82, 57) Source(93, 53) + SourceIndex(0) -13>Emitted(82, 58) Source(93, 54) + SourceIndex(0) -14>Emitted(82, 61) Source(93, 57) + SourceIndex(0) -15>Emitted(82, 62) Source(93, 58) + SourceIndex(0) -16>Emitted(82, 64) Source(93, 60) + SourceIndex(0) -17>Emitted(82, 65) Source(93, 61) + SourceIndex(0) -18>Emitted(82, 67) Source(93, 63) + SourceIndex(0) -19>Emitted(82, 69) Source(93, 65) + SourceIndex(0) -20>Emitted(82, 70) Source(93, 66) + SourceIndex(0) +1->Emitted(83, 1) Source(93, 1) + SourceIndex(0) +2 >Emitted(83, 6) Source(93, 10) + SourceIndex(0) +3 >Emitted(83, 21) Source(93, 25) + SourceIndex(0) +4 >Emitted(83, 24) Source(93, 29) + SourceIndex(0) +5 >Emitted(83, 37) Source(93, 42) + SourceIndex(0) +6 >Emitted(83, 39) Source(93, 44) + SourceIndex(0) +7 >Emitted(83, 48) Source(93, 25) + SourceIndex(0) +8 >Emitted(83, 50) Source(93, 46) + SourceIndex(0) +9 >Emitted(83, 51) Source(93, 47) + SourceIndex(0) +10>Emitted(83, 54) Source(93, 50) + SourceIndex(0) +11>Emitted(83, 55) Source(93, 51) + SourceIndex(0) +12>Emitted(83, 57) Source(93, 53) + SourceIndex(0) +13>Emitted(83, 58) Source(93, 54) + SourceIndex(0) +14>Emitted(83, 61) Source(93, 57) + SourceIndex(0) +15>Emitted(83, 62) Source(93, 58) + SourceIndex(0) +16>Emitted(83, 64) Source(93, 60) + SourceIndex(0) +17>Emitted(83, 65) Source(93, 61) + SourceIndex(0) +18>Emitted(83, 67) Source(93, 63) + SourceIndex(0) +19>Emitted(83, 69) Source(93, 65) + SourceIndex(0) +20>Emitted(83, 70) Source(93, 66) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -2984,14 +2985,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(83, 5) Source(94, 5) + SourceIndex(0) -2 >Emitted(83, 12) Source(94, 12) + SourceIndex(0) -3 >Emitted(83, 13) Source(94, 13) + SourceIndex(0) -4 >Emitted(83, 16) Source(94, 16) + SourceIndex(0) -5 >Emitted(83, 17) Source(94, 17) + SourceIndex(0) -6 >Emitted(83, 32) Source(94, 32) + SourceIndex(0) -7 >Emitted(83, 33) Source(94, 33) + SourceIndex(0) -8 >Emitted(83, 34) Source(94, 34) + SourceIndex(0) +1 >Emitted(84, 5) Source(94, 5) + SourceIndex(0) +2 >Emitted(84, 12) Source(94, 12) + SourceIndex(0) +3 >Emitted(84, 13) Source(94, 13) + SourceIndex(0) +4 >Emitted(84, 16) Source(94, 16) + SourceIndex(0) +5 >Emitted(84, 17) Source(94, 17) + SourceIndex(0) +6 >Emitted(84, 32) Source(94, 32) + SourceIndex(0) +7 >Emitted(84, 33) Source(94, 33) + SourceIndex(0) +8 >Emitted(84, 34) Source(94, 34) + SourceIndex(0) --- >>>} 1 > @@ -3000,8 +3001,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(84, 1) Source(95, 1) + SourceIndex(0) -2 >Emitted(84, 2) Source(95, 2) + SourceIndex(0) +1 >Emitted(85, 1) Source(95, 1) + SourceIndex(0) +2 >Emitted(85, 2) Source(95, 2) + SourceIndex(0) --- >>>for (multiRobotAInfo = ["trimmer", ["trimming", "edging"]].slice(0), i = 0; i < 1; i++) { 1-> @@ -3059,33 +3060,33 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 25> ++ 26> ) 27> { -1->Emitted(85, 1) Source(96, 1) + SourceIndex(0) -2 >Emitted(85, 6) Source(96, 10) + SourceIndex(0) -3 >Emitted(85, 21) Source(96, 25) + SourceIndex(0) -4 >Emitted(85, 24) Source(96, 48) + SourceIndex(0) -5 >Emitted(85, 25) Source(96, 49) + SourceIndex(0) -6 >Emitted(85, 34) Source(96, 58) + SourceIndex(0) -7 >Emitted(85, 36) Source(96, 60) + SourceIndex(0) -8 >Emitted(85, 37) Source(96, 61) + SourceIndex(0) -9 >Emitted(85, 47) Source(96, 71) + SourceIndex(0) -10>Emitted(85, 49) Source(96, 73) + SourceIndex(0) -11>Emitted(85, 57) Source(96, 81) + SourceIndex(0) -12>Emitted(85, 58) Source(96, 82) + SourceIndex(0) -13>Emitted(85, 59) Source(96, 83) + SourceIndex(0) -14>Emitted(85, 68) Source(96, 25) + SourceIndex(0) -15>Emitted(85, 70) Source(96, 85) + SourceIndex(0) -16>Emitted(85, 71) Source(96, 86) + SourceIndex(0) -17>Emitted(85, 74) Source(96, 89) + SourceIndex(0) -18>Emitted(85, 75) Source(96, 90) + SourceIndex(0) -19>Emitted(85, 77) Source(96, 92) + SourceIndex(0) -20>Emitted(85, 78) Source(96, 93) + SourceIndex(0) -21>Emitted(85, 81) Source(96, 96) + SourceIndex(0) -22>Emitted(85, 82) Source(96, 97) + SourceIndex(0) -23>Emitted(85, 84) Source(96, 99) + SourceIndex(0) -24>Emitted(85, 85) Source(96, 100) + SourceIndex(0) -25>Emitted(85, 87) Source(96, 102) + SourceIndex(0) -26>Emitted(85, 89) Source(96, 104) + SourceIndex(0) -27>Emitted(85, 90) Source(96, 105) + SourceIndex(0) +1->Emitted(86, 1) Source(96, 1) + SourceIndex(0) +2 >Emitted(86, 6) Source(96, 10) + SourceIndex(0) +3 >Emitted(86, 21) Source(96, 25) + SourceIndex(0) +4 >Emitted(86, 24) Source(96, 48) + SourceIndex(0) +5 >Emitted(86, 25) Source(96, 49) + SourceIndex(0) +6 >Emitted(86, 34) Source(96, 58) + SourceIndex(0) +7 >Emitted(86, 36) Source(96, 60) + SourceIndex(0) +8 >Emitted(86, 37) Source(96, 61) + SourceIndex(0) +9 >Emitted(86, 47) Source(96, 71) + SourceIndex(0) +10>Emitted(86, 49) Source(96, 73) + SourceIndex(0) +11>Emitted(86, 57) Source(96, 81) + SourceIndex(0) +12>Emitted(86, 58) Source(96, 82) + SourceIndex(0) +13>Emitted(86, 59) Source(96, 83) + SourceIndex(0) +14>Emitted(86, 68) Source(96, 25) + SourceIndex(0) +15>Emitted(86, 70) Source(96, 85) + SourceIndex(0) +16>Emitted(86, 71) Source(96, 86) + SourceIndex(0) +17>Emitted(86, 74) Source(96, 89) + SourceIndex(0) +18>Emitted(86, 75) Source(96, 90) + SourceIndex(0) +19>Emitted(86, 77) Source(96, 92) + SourceIndex(0) +20>Emitted(86, 78) Source(96, 93) + SourceIndex(0) +21>Emitted(86, 81) Source(96, 96) + SourceIndex(0) +22>Emitted(86, 82) Source(96, 97) + SourceIndex(0) +23>Emitted(86, 84) Source(96, 99) + SourceIndex(0) +24>Emitted(86, 85) Source(96, 100) + SourceIndex(0) +25>Emitted(86, 87) Source(96, 102) + SourceIndex(0) +26>Emitted(86, 89) Source(96, 104) + SourceIndex(0) +27>Emitted(86, 90) Source(96, 105) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -3105,14 +3106,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(86, 5) Source(97, 5) + SourceIndex(0) -2 >Emitted(86, 12) Source(97, 12) + SourceIndex(0) -3 >Emitted(86, 13) Source(97, 13) + SourceIndex(0) -4 >Emitted(86, 16) Source(97, 16) + SourceIndex(0) -5 >Emitted(86, 17) Source(97, 17) + SourceIndex(0) -6 >Emitted(86, 32) Source(97, 32) + SourceIndex(0) -7 >Emitted(86, 33) Source(97, 33) + SourceIndex(0) -8 >Emitted(86, 34) Source(97, 34) + SourceIndex(0) +1 >Emitted(87, 5) Source(97, 5) + SourceIndex(0) +2 >Emitted(87, 12) Source(97, 12) + SourceIndex(0) +3 >Emitted(87, 13) Source(97, 13) + SourceIndex(0) +4 >Emitted(87, 16) Source(97, 16) + SourceIndex(0) +5 >Emitted(87, 17) Source(97, 17) + SourceIndex(0) +6 >Emitted(87, 32) Source(97, 32) + SourceIndex(0) +7 >Emitted(87, 33) Source(97, 33) + SourceIndex(0) +8 >Emitted(87, 34) Source(97, 34) + SourceIndex(0) --- >>>} 1 > @@ -3121,7 +3122,7 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(87, 1) Source(98, 1) + SourceIndex(0) -2 >Emitted(87, 2) Source(98, 2) + SourceIndex(0) +1 >Emitted(88, 1) Source(98, 1) + SourceIndex(0) +2 >Emitted(88, 2) Source(98, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForArrayBindingPattern2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js index 517172856b36d..969756bb8e14f 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js @@ -111,6 +111,7 @@ for (let [numberA3 = -1, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; i < } //// [sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js] +"use strict"; var robotA = [1, "mower", "mowing"]; function getRobot() { return robotA; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map index d5e58c52f60fd..4cfe5c1c375de 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.ts"],"names":[],"mappings":"AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,SAAS,QAAQ;IACb,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,SAAS,aAAa;IAClB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,KAAY,IAAA,KAAiB,MAAM,GAAV,EAAb,KAAK,mBAAE,MAAM,KAAA,EAAY,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACrD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAS,IAAA,KAAqB,QAAQ,EAAE,EAA5B,UAAc,EAAd,KAAK,mBAAG,MAAM,KAAA,EAAgB,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EA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pKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQ== +{"version":3,"file":"sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.ts"],"names":[],"mappings":";AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,SAAS,QAAQ;IACb,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,SAAS,aAAa;IAClB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,KAAY,IAAA,KAAiB,MAAM,GAAV,EAAb,KAAK,mBAAE,MAAM,KAAA,EAAY,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACrD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAS,IAAA,KAAqB,QAAQ,EAAE,EAA5B,UAAc,EAAd,KAAK,mBAAG,MAAM,KAAA,EAAgB,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAC1D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAS,IAAA,KAAqB,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,EAA5C,UAAc,EAAd,KAAK,mBAAG,MAAM,KAAA,EAAgC,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAC1E,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAY,IAAA,KAGY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dID0gWyJub25lIiwgIm5vbmUiXQpdICA9IGdldE11bHRpUm9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG5hbWVNQSk7Cn0KZm9yIChsZXQgW25hbWVNQSA9ICJub05hbWUiLAogICAgWwogICAgICAgIHByaW1hcnlTa2lsbEEgPSAicHJpbWFyeSIsCiAgICAgICAgc2Vjb25kYXJ5U2tpbGxBID0gInNlY29uZGFyeSIKICAgIF0gPSBbIm5vbmUiLCAibm9uZSJdCl0gID0gWyJ0cmltbWVyIiwgWyJ0cmltbWluZyIsICJlZGdpbmciXV0sIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lTUEpOwp9Cgpmb3IgKGxldCBbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSByb2JvdEEsIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChsZXQgW251bWJlckEzID0gLTEsIC4uLnJvYm90QUluZm9dID0gZ2V0Um9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSBbMiwgInRyaW1tZXIiLCAidHJpbW1pbmciXSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQ== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.sourcemap.txt index 6d4d9b36c813c..6677c541f2ad8 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.ts emittedFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = [1, "mower", "mowing"]; 1 > 2 >^^^^ @@ -39,18 +40,18 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 10> "mowing" 11> ] 12> ; -1 >Emitted(1, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(7, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(7, 21) + SourceIndex(0) -5 >Emitted(1, 15) Source(7, 22) + SourceIndex(0) -6 >Emitted(1, 16) Source(7, 23) + SourceIndex(0) -7 >Emitted(1, 18) Source(7, 25) + SourceIndex(0) -8 >Emitted(1, 25) Source(7, 32) + SourceIndex(0) -9 >Emitted(1, 27) Source(7, 34) + SourceIndex(0) -10>Emitted(1, 35) Source(7, 42) + SourceIndex(0) -11>Emitted(1, 36) Source(7, 43) + SourceIndex(0) -12>Emitted(1, 37) Source(7, 44) + SourceIndex(0) +1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(7, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(7, 21) + SourceIndex(0) +5 >Emitted(2, 15) Source(7, 22) + SourceIndex(0) +6 >Emitted(2, 16) Source(7, 23) + SourceIndex(0) +7 >Emitted(2, 18) Source(7, 25) + SourceIndex(0) +8 >Emitted(2, 25) Source(7, 32) + SourceIndex(0) +9 >Emitted(2, 27) Source(7, 34) + SourceIndex(0) +10>Emitted(2, 35) Source(7, 42) + SourceIndex(0) +11>Emitted(2, 36) Source(7, 43) + SourceIndex(0) +12>Emitted(2, 37) Source(7, 44) + SourceIndex(0) --- >>>function getRobot() { 1 > @@ -61,9 +62,9 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t > 2 >function 3 > getRobot -1 >Emitted(2, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(2, 10) Source(8, 10) + SourceIndex(0) -3 >Emitted(2, 18) Source(8, 18) + SourceIndex(0) +1 >Emitted(3, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(3, 10) Source(8, 10) + SourceIndex(0) +3 >Emitted(3, 18) Source(8, 18) + SourceIndex(0) --- >>> return robotA; 1->^^^^ @@ -75,10 +76,10 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 2 > return 3 > robotA 4 > ; -1->Emitted(3, 5) Source(9, 5) + SourceIndex(0) -2 >Emitted(3, 12) Source(9, 12) + SourceIndex(0) -3 >Emitted(3, 18) Source(9, 18) + SourceIndex(0) -4 >Emitted(3, 19) Source(9, 19) + SourceIndex(0) +1->Emitted(4, 5) Source(9, 5) + SourceIndex(0) +2 >Emitted(4, 12) Source(9, 12) + SourceIndex(0) +3 >Emitted(4, 18) Source(9, 18) + SourceIndex(0) +4 >Emitted(4, 19) Source(9, 19) + SourceIndex(0) --- >>>} 1 > @@ -87,8 +88,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(4, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(4, 2) Source(10, 2) + SourceIndex(0) +1 >Emitted(5, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(5, 2) Source(10, 2) + SourceIndex(0) --- >>>var multiRobotA = ["mower", ["mowing", ""]]; 1-> @@ -122,20 +123,20 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 12> ] 13> ] 14> ; -1->Emitted(5, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(5, 5) Source(12, 5) + SourceIndex(0) -3 >Emitted(5, 16) Source(12, 16) + SourceIndex(0) -4 >Emitted(5, 19) Source(12, 38) + SourceIndex(0) -5 >Emitted(5, 20) Source(12, 39) + SourceIndex(0) -6 >Emitted(5, 27) Source(12, 46) + SourceIndex(0) -7 >Emitted(5, 29) Source(12, 48) + SourceIndex(0) -8 >Emitted(5, 30) Source(12, 49) + SourceIndex(0) -9 >Emitted(5, 38) Source(12, 57) + SourceIndex(0) -10>Emitted(5, 40) Source(12, 59) + SourceIndex(0) -11>Emitted(5, 42) Source(12, 61) + SourceIndex(0) -12>Emitted(5, 43) Source(12, 62) + SourceIndex(0) -13>Emitted(5, 44) Source(12, 63) + SourceIndex(0) -14>Emitted(5, 45) Source(12, 64) + SourceIndex(0) +1->Emitted(6, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(6, 5) Source(12, 5) + SourceIndex(0) +3 >Emitted(6, 16) Source(12, 16) + SourceIndex(0) +4 >Emitted(6, 19) Source(12, 38) + SourceIndex(0) +5 >Emitted(6, 20) Source(12, 39) + SourceIndex(0) +6 >Emitted(6, 27) Source(12, 46) + SourceIndex(0) +7 >Emitted(6, 29) Source(12, 48) + SourceIndex(0) +8 >Emitted(6, 30) Source(12, 49) + SourceIndex(0) +9 >Emitted(6, 38) Source(12, 57) + SourceIndex(0) +10>Emitted(6, 40) Source(12, 59) + SourceIndex(0) +11>Emitted(6, 42) Source(12, 61) + SourceIndex(0) +12>Emitted(6, 43) Source(12, 62) + SourceIndex(0) +13>Emitted(6, 44) Source(12, 63) + SourceIndex(0) +14>Emitted(6, 45) Source(12, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -167,20 +168,20 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 12> ] 13> ] 14> ; -1->Emitted(6, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(6, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(6, 16) Source(13, 16) + SourceIndex(0) -4 >Emitted(6, 19) Source(13, 38) + SourceIndex(0) -5 >Emitted(6, 20) Source(13, 39) + SourceIndex(0) -6 >Emitted(6, 29) Source(13, 48) + SourceIndex(0) -7 >Emitted(6, 31) Source(13, 50) + SourceIndex(0) -8 >Emitted(6, 32) Source(13, 51) + SourceIndex(0) -9 >Emitted(6, 42) Source(13, 61) + SourceIndex(0) -10>Emitted(6, 44) Source(13, 63) + SourceIndex(0) -11>Emitted(6, 52) Source(13, 71) + SourceIndex(0) -12>Emitted(6, 53) Source(13, 72) + SourceIndex(0) -13>Emitted(6, 54) Source(13, 73) + SourceIndex(0) -14>Emitted(6, 55) Source(13, 74) + SourceIndex(0) +1->Emitted(7, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(7, 16) Source(13, 16) + SourceIndex(0) +4 >Emitted(7, 19) Source(13, 38) + SourceIndex(0) +5 >Emitted(7, 20) Source(13, 39) + SourceIndex(0) +6 >Emitted(7, 29) Source(13, 48) + SourceIndex(0) +7 >Emitted(7, 31) Source(13, 50) + SourceIndex(0) +8 >Emitted(7, 32) Source(13, 51) + SourceIndex(0) +9 >Emitted(7, 42) Source(13, 61) + SourceIndex(0) +10>Emitted(7, 44) Source(13, 63) + SourceIndex(0) +11>Emitted(7, 52) Source(13, 71) + SourceIndex(0) +12>Emitted(7, 53) Source(13, 72) + SourceIndex(0) +13>Emitted(7, 54) Source(13, 73) + SourceIndex(0) +14>Emitted(7, 55) Source(13, 74) + SourceIndex(0) --- >>>function getMultiRobot() { 1 > @@ -191,9 +192,9 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t > 2 >function 3 > getMultiRobot -1 >Emitted(7, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(7, 10) Source(14, 10) + SourceIndex(0) -3 >Emitted(7, 23) Source(14, 23) + SourceIndex(0) +1 >Emitted(8, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(8, 10) Source(14, 10) + SourceIndex(0) +3 >Emitted(8, 23) Source(14, 23) + SourceIndex(0) --- >>> return multiRobotA; 1->^^^^ @@ -205,10 +206,10 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 2 > return 3 > multiRobotA 4 > ; -1->Emitted(8, 5) Source(15, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(15, 12) + SourceIndex(0) -3 >Emitted(8, 23) Source(15, 23) + SourceIndex(0) -4 >Emitted(8, 24) Source(15, 24) + SourceIndex(0) +1->Emitted(9, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(15, 12) + SourceIndex(0) +3 >Emitted(9, 23) Source(15, 23) + SourceIndex(0) +4 >Emitted(9, 24) Source(15, 24) + SourceIndex(0) --- >>>} 1 > @@ -217,8 +218,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(9, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(16, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(16, 2) + SourceIndex(0) --- >>>for (var _a = robotA[1], nameA = _a === void 0 ? "name" : _a, i = 0; i < 1; i++) { 1-> @@ -271,30 +272,30 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 22> ++ 23> ) 24> { -1->Emitted(10, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(10, 6) Source(18, 13) + SourceIndex(0) -3 >Emitted(10, 10) Source(18, 13) + SourceIndex(0) -4 >Emitted(10, 15) Source(18, 30) + SourceIndex(0) -5 >Emitted(10, 21) Source(18, 36) + SourceIndex(0) -6 >Emitted(10, 24) Source(18, 26) + SourceIndex(0) -7 >Emitted(10, 26) Source(18, 13) + SourceIndex(0) -8 >Emitted(10, 31) Source(18, 18) + SourceIndex(0) -9 >Emitted(10, 50) Source(18, 20) + SourceIndex(0) -10>Emitted(10, 56) Source(18, 26) + SourceIndex(0) -11>Emitted(10, 61) Source(18, 26) + SourceIndex(0) -12>Emitted(10, 63) Source(18, 38) + SourceIndex(0) -13>Emitted(10, 64) Source(18, 39) + SourceIndex(0) -14>Emitted(10, 67) Source(18, 42) + SourceIndex(0) -15>Emitted(10, 68) Source(18, 43) + SourceIndex(0) -16>Emitted(10, 70) Source(18, 45) + SourceIndex(0) -17>Emitted(10, 71) Source(18, 46) + SourceIndex(0) -18>Emitted(10, 74) Source(18, 49) + SourceIndex(0) -19>Emitted(10, 75) Source(18, 50) + SourceIndex(0) -20>Emitted(10, 77) Source(18, 52) + SourceIndex(0) -21>Emitted(10, 78) Source(18, 53) + SourceIndex(0) -22>Emitted(10, 80) Source(18, 55) + SourceIndex(0) -23>Emitted(10, 82) Source(18, 57) + SourceIndex(0) -24>Emitted(10, 83) Source(18, 58) + SourceIndex(0) +1->Emitted(11, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(11, 6) Source(18, 13) + SourceIndex(0) +3 >Emitted(11, 10) Source(18, 13) + SourceIndex(0) +4 >Emitted(11, 15) Source(18, 30) + SourceIndex(0) +5 >Emitted(11, 21) Source(18, 36) + SourceIndex(0) +6 >Emitted(11, 24) Source(18, 26) + SourceIndex(0) +7 >Emitted(11, 26) Source(18, 13) + SourceIndex(0) +8 >Emitted(11, 31) Source(18, 18) + SourceIndex(0) +9 >Emitted(11, 50) Source(18, 20) + SourceIndex(0) +10>Emitted(11, 56) Source(18, 26) + SourceIndex(0) +11>Emitted(11, 61) Source(18, 26) + SourceIndex(0) +12>Emitted(11, 63) Source(18, 38) + SourceIndex(0) +13>Emitted(11, 64) Source(18, 39) + SourceIndex(0) +14>Emitted(11, 67) Source(18, 42) + SourceIndex(0) +15>Emitted(11, 68) Source(18, 43) + SourceIndex(0) +16>Emitted(11, 70) Source(18, 45) + SourceIndex(0) +17>Emitted(11, 71) Source(18, 46) + SourceIndex(0) +18>Emitted(11, 74) Source(18, 49) + SourceIndex(0) +19>Emitted(11, 75) Source(18, 50) + SourceIndex(0) +20>Emitted(11, 77) Source(18, 52) + SourceIndex(0) +21>Emitted(11, 78) Source(18, 53) + SourceIndex(0) +22>Emitted(11, 80) Source(18, 55) + SourceIndex(0) +23>Emitted(11, 82) Source(18, 57) + SourceIndex(0) +24>Emitted(11, 83) Source(18, 58) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -314,14 +315,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameA 7 > ) 8 > ; -1 >Emitted(11, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(11, 12) Source(19, 12) + SourceIndex(0) -3 >Emitted(11, 13) Source(19, 13) + SourceIndex(0) -4 >Emitted(11, 16) Source(19, 16) + SourceIndex(0) -5 >Emitted(11, 17) Source(19, 17) + SourceIndex(0) -6 >Emitted(11, 22) Source(19, 22) + SourceIndex(0) -7 >Emitted(11, 23) Source(19, 23) + SourceIndex(0) -8 >Emitted(11, 24) Source(19, 24) + SourceIndex(0) +1 >Emitted(12, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(12, 12) Source(19, 12) + SourceIndex(0) +3 >Emitted(12, 13) Source(19, 13) + SourceIndex(0) +4 >Emitted(12, 16) Source(19, 16) + SourceIndex(0) +5 >Emitted(12, 17) Source(19, 17) + SourceIndex(0) +6 >Emitted(12, 22) Source(19, 22) + SourceIndex(0) +7 >Emitted(12, 23) Source(19, 23) + SourceIndex(0) +8 >Emitted(12, 24) Source(19, 24) + SourceIndex(0) --- >>>} 1 > @@ -330,8 +331,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(12, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(12, 2) Source(20, 2) + SourceIndex(0) +1 >Emitted(13, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(13, 2) Source(20, 2) + SourceIndex(0) --- >>>for (var _b = getRobot(), _c = _b[1], nameA = _c === void 0 ? "name" : _c, i = 0; i < 1; i++) { 1-> @@ -387,32 +388,32 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 24> ++ 25> ) 26> { -1->Emitted(13, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(13, 6) Source(21, 10) + SourceIndex(0) -3 >Emitted(13, 10) Source(21, 10) + SourceIndex(0) -4 >Emitted(13, 15) Source(21, 31) + SourceIndex(0) -5 >Emitted(13, 23) Source(21, 39) + SourceIndex(0) -6 >Emitted(13, 25) Source(21, 41) + SourceIndex(0) -7 >Emitted(13, 27) Source(21, 13) + SourceIndex(0) -8 >Emitted(13, 37) Source(21, 27) + SourceIndex(0) -9 >Emitted(13, 39) Source(21, 13) + SourceIndex(0) -10>Emitted(13, 44) Source(21, 18) + SourceIndex(0) -11>Emitted(13, 63) Source(21, 21) + SourceIndex(0) -12>Emitted(13, 69) Source(21, 27) + SourceIndex(0) -13>Emitted(13, 74) Source(21, 27) + SourceIndex(0) -14>Emitted(13, 76) Source(21, 43) + SourceIndex(0) -15>Emitted(13, 77) Source(21, 44) + SourceIndex(0) -16>Emitted(13, 80) Source(21, 47) + SourceIndex(0) -17>Emitted(13, 81) Source(21, 48) + SourceIndex(0) -18>Emitted(13, 83) Source(21, 50) + SourceIndex(0) -19>Emitted(13, 84) Source(21, 51) + SourceIndex(0) -20>Emitted(13, 87) Source(21, 54) + SourceIndex(0) -21>Emitted(13, 88) Source(21, 55) + SourceIndex(0) -22>Emitted(13, 90) Source(21, 57) + SourceIndex(0) -23>Emitted(13, 91) Source(21, 58) + SourceIndex(0) -24>Emitted(13, 93) Source(21, 60) + SourceIndex(0) -25>Emitted(13, 95) Source(21, 62) + SourceIndex(0) -26>Emitted(13, 96) Source(21, 63) + SourceIndex(0) +1->Emitted(14, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(14, 6) Source(21, 10) + SourceIndex(0) +3 >Emitted(14, 10) Source(21, 10) + SourceIndex(0) +4 >Emitted(14, 15) Source(21, 31) + SourceIndex(0) +5 >Emitted(14, 23) Source(21, 39) + SourceIndex(0) +6 >Emitted(14, 25) Source(21, 41) + SourceIndex(0) +7 >Emitted(14, 27) Source(21, 13) + SourceIndex(0) +8 >Emitted(14, 37) Source(21, 27) + SourceIndex(0) +9 >Emitted(14, 39) Source(21, 13) + SourceIndex(0) +10>Emitted(14, 44) Source(21, 18) + SourceIndex(0) +11>Emitted(14, 63) Source(21, 21) + SourceIndex(0) +12>Emitted(14, 69) Source(21, 27) + SourceIndex(0) +13>Emitted(14, 74) Source(21, 27) + SourceIndex(0) +14>Emitted(14, 76) Source(21, 43) + SourceIndex(0) +15>Emitted(14, 77) Source(21, 44) + SourceIndex(0) +16>Emitted(14, 80) Source(21, 47) + SourceIndex(0) +17>Emitted(14, 81) Source(21, 48) + SourceIndex(0) +18>Emitted(14, 83) Source(21, 50) + SourceIndex(0) +19>Emitted(14, 84) Source(21, 51) + SourceIndex(0) +20>Emitted(14, 87) Source(21, 54) + SourceIndex(0) +21>Emitted(14, 88) Source(21, 55) + SourceIndex(0) +22>Emitted(14, 90) Source(21, 57) + SourceIndex(0) +23>Emitted(14, 91) Source(21, 58) + SourceIndex(0) +24>Emitted(14, 93) Source(21, 60) + SourceIndex(0) +25>Emitted(14, 95) Source(21, 62) + SourceIndex(0) +26>Emitted(14, 96) Source(21, 63) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -432,14 +433,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameA 7 > ) 8 > ; -1 >Emitted(14, 5) Source(22, 5) + SourceIndex(0) -2 >Emitted(14, 12) Source(22, 12) + SourceIndex(0) -3 >Emitted(14, 13) Source(22, 13) + SourceIndex(0) -4 >Emitted(14, 16) Source(22, 16) + SourceIndex(0) -5 >Emitted(14, 17) Source(22, 17) + SourceIndex(0) -6 >Emitted(14, 22) Source(22, 22) + SourceIndex(0) -7 >Emitted(14, 23) Source(22, 23) + SourceIndex(0) -8 >Emitted(14, 24) Source(22, 24) + SourceIndex(0) +1 >Emitted(15, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(15, 12) Source(22, 12) + SourceIndex(0) +3 >Emitted(15, 13) Source(22, 13) + SourceIndex(0) +4 >Emitted(15, 16) Source(22, 16) + SourceIndex(0) +5 >Emitted(15, 17) Source(22, 17) + SourceIndex(0) +6 >Emitted(15, 22) Source(22, 22) + SourceIndex(0) +7 >Emitted(15, 23) Source(22, 23) + SourceIndex(0) +8 >Emitted(15, 24) Source(22, 24) + SourceIndex(0) --- >>>} 1 > @@ -448,8 +449,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(15, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(15, 2) Source(23, 2) + SourceIndex(0) +1 >Emitted(16, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(16, 2) Source(23, 2) + SourceIndex(0) --- >>>for (var _d = [2, "trimmer", "trimming"], _e = _d[1], nameA = _e === void 0 ? "name" : _e, i = 0; i < 1; i++) { 1-> @@ -515,37 +516,37 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 29> ++ 30> ) 31> { -1->Emitted(16, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(16, 6) Source(24, 10) + SourceIndex(0) -3 >Emitted(16, 10) Source(24, 10) + SourceIndex(0) -4 >Emitted(16, 15) Source(24, 31) + SourceIndex(0) -5 >Emitted(16, 16) Source(24, 32) + SourceIndex(0) -6 >Emitted(16, 17) Source(24, 33) + SourceIndex(0) -7 >Emitted(16, 19) Source(24, 35) + SourceIndex(0) -8 >Emitted(16, 28) Source(24, 44) + SourceIndex(0) -9 >Emitted(16, 30) Source(24, 46) + SourceIndex(0) -10>Emitted(16, 40) Source(24, 56) + SourceIndex(0) -11>Emitted(16, 41) Source(24, 57) + SourceIndex(0) -12>Emitted(16, 43) Source(24, 13) + SourceIndex(0) -13>Emitted(16, 53) Source(24, 27) + SourceIndex(0) -14>Emitted(16, 55) Source(24, 13) + SourceIndex(0) -15>Emitted(16, 60) Source(24, 18) + SourceIndex(0) -16>Emitted(16, 79) Source(24, 21) + SourceIndex(0) -17>Emitted(16, 85) Source(24, 27) + SourceIndex(0) -18>Emitted(16, 90) Source(24, 27) + SourceIndex(0) -19>Emitted(16, 92) Source(24, 59) + SourceIndex(0) -20>Emitted(16, 93) Source(24, 60) + SourceIndex(0) -21>Emitted(16, 96) Source(24, 63) + SourceIndex(0) -22>Emitted(16, 97) Source(24, 64) + SourceIndex(0) -23>Emitted(16, 99) Source(24, 66) + SourceIndex(0) -24>Emitted(16, 100) Source(24, 67) + SourceIndex(0) -25>Emitted(16, 103) Source(24, 70) + SourceIndex(0) -26>Emitted(16, 104) Source(24, 71) + SourceIndex(0) -27>Emitted(16, 106) Source(24, 73) + SourceIndex(0) -28>Emitted(16, 107) Source(24, 74) + SourceIndex(0) -29>Emitted(16, 109) Source(24, 76) + SourceIndex(0) -30>Emitted(16, 111) Source(24, 78) + SourceIndex(0) -31>Emitted(16, 112) Source(24, 79) + SourceIndex(0) +1->Emitted(17, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(17, 6) Source(24, 10) + SourceIndex(0) +3 >Emitted(17, 10) Source(24, 10) + SourceIndex(0) +4 >Emitted(17, 15) Source(24, 31) + SourceIndex(0) +5 >Emitted(17, 16) Source(24, 32) + SourceIndex(0) +6 >Emitted(17, 17) Source(24, 33) + SourceIndex(0) +7 >Emitted(17, 19) Source(24, 35) + SourceIndex(0) +8 >Emitted(17, 28) Source(24, 44) + SourceIndex(0) +9 >Emitted(17, 30) Source(24, 46) + SourceIndex(0) +10>Emitted(17, 40) Source(24, 56) + SourceIndex(0) +11>Emitted(17, 41) Source(24, 57) + SourceIndex(0) +12>Emitted(17, 43) Source(24, 13) + SourceIndex(0) +13>Emitted(17, 53) Source(24, 27) + SourceIndex(0) +14>Emitted(17, 55) Source(24, 13) + SourceIndex(0) +15>Emitted(17, 60) Source(24, 18) + SourceIndex(0) +16>Emitted(17, 79) Source(24, 21) + SourceIndex(0) +17>Emitted(17, 85) Source(24, 27) + SourceIndex(0) +18>Emitted(17, 90) Source(24, 27) + SourceIndex(0) +19>Emitted(17, 92) Source(24, 59) + SourceIndex(0) +20>Emitted(17, 93) Source(24, 60) + SourceIndex(0) +21>Emitted(17, 96) Source(24, 63) + SourceIndex(0) +22>Emitted(17, 97) Source(24, 64) + SourceIndex(0) +23>Emitted(17, 99) Source(24, 66) + SourceIndex(0) +24>Emitted(17, 100) Source(24, 67) + SourceIndex(0) +25>Emitted(17, 103) Source(24, 70) + SourceIndex(0) +26>Emitted(17, 104) Source(24, 71) + SourceIndex(0) +27>Emitted(17, 106) Source(24, 73) + SourceIndex(0) +28>Emitted(17, 107) Source(24, 74) + SourceIndex(0) +29>Emitted(17, 109) Source(24, 76) + SourceIndex(0) +30>Emitted(17, 111) Source(24, 78) + SourceIndex(0) +31>Emitted(17, 112) Source(24, 79) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -565,14 +566,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameA 7 > ) 8 > ; -1 >Emitted(17, 5) Source(25, 5) + SourceIndex(0) -2 >Emitted(17, 12) Source(25, 12) + SourceIndex(0) -3 >Emitted(17, 13) Source(25, 13) + SourceIndex(0) -4 >Emitted(17, 16) Source(25, 16) + SourceIndex(0) -5 >Emitted(17, 17) Source(25, 17) + SourceIndex(0) -6 >Emitted(17, 22) Source(25, 22) + SourceIndex(0) -7 >Emitted(17, 23) Source(25, 23) + SourceIndex(0) -8 >Emitted(17, 24) Source(25, 24) + SourceIndex(0) +1 >Emitted(18, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(18, 12) Source(25, 12) + SourceIndex(0) +3 >Emitted(18, 13) Source(25, 13) + SourceIndex(0) +4 >Emitted(18, 16) Source(25, 16) + SourceIndex(0) +5 >Emitted(18, 17) Source(25, 17) + SourceIndex(0) +6 >Emitted(18, 22) Source(25, 22) + SourceIndex(0) +7 >Emitted(18, 23) Source(25, 23) + SourceIndex(0) +8 >Emitted(18, 24) Source(25, 24) + SourceIndex(0) --- >>>} 1 > @@ -581,8 +582,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(18, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(18, 2) Source(26, 2) + SourceIndex(0) +1 >Emitted(19, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(26, 2) + SourceIndex(0) --- >>>for (var _f = multiRobotA[1], _g = _f === void 0 ? ["none", "none"] : _f, _h = _g[0], primarySkillA = _h === void 0 ? "primary" : _h, _j = _g[1], secondarySkillA = _j === void 0 ? "secondary" : _j, i = 0; i < 1; i++) { 1-> @@ -676,47 +677,47 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 39> ++ 40> ) 41> { -1->Emitted(19, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(19, 6) Source(27, 13) + SourceIndex(0) -3 >Emitted(19, 10) Source(27, 13) + SourceIndex(0) -4 >Emitted(19, 15) Source(30, 25) + SourceIndex(0) -5 >Emitted(19, 26) Source(30, 36) + SourceIndex(0) -6 >Emitted(19, 29) Source(30, 21) + SourceIndex(0) -7 >Emitted(19, 31) Source(27, 13) + SourceIndex(0) -8 >Emitted(19, 52) Source(30, 5) + SourceIndex(0) -9 >Emitted(19, 53) Source(30, 6) + SourceIndex(0) -10>Emitted(19, 59) Source(30, 12) + SourceIndex(0) -11>Emitted(19, 61) Source(30, 14) + SourceIndex(0) -12>Emitted(19, 67) Source(30, 20) + SourceIndex(0) -13>Emitted(19, 68) Source(30, 21) + SourceIndex(0) -14>Emitted(19, 73) Source(30, 21) + SourceIndex(0) -15>Emitted(19, 75) Source(28, 5) + SourceIndex(0) -16>Emitted(19, 85) Source(28, 30) + SourceIndex(0) -17>Emitted(19, 87) Source(28, 5) + SourceIndex(0) -18>Emitted(19, 100) Source(28, 18) + SourceIndex(0) -19>Emitted(19, 119) Source(28, 21) + SourceIndex(0) -20>Emitted(19, 128) Source(28, 30) + SourceIndex(0) -21>Emitted(19, 133) Source(28, 30) + SourceIndex(0) -22>Emitted(19, 135) Source(29, 5) + SourceIndex(0) -23>Emitted(19, 145) Source(29, 34) + SourceIndex(0) -24>Emitted(19, 147) Source(29, 5) + SourceIndex(0) -25>Emitted(19, 162) Source(29, 20) + SourceIndex(0) -26>Emitted(19, 181) Source(29, 23) + SourceIndex(0) -27>Emitted(19, 192) Source(29, 34) + SourceIndex(0) -28>Emitted(19, 197) Source(29, 34) + SourceIndex(0) -29>Emitted(19, 199) Source(30, 38) + SourceIndex(0) -30>Emitted(19, 200) Source(30, 39) + SourceIndex(0) -31>Emitted(19, 203) Source(30, 42) + SourceIndex(0) -32>Emitted(19, 204) Source(30, 43) + SourceIndex(0) -33>Emitted(19, 206) Source(30, 45) + SourceIndex(0) -34>Emitted(19, 207) Source(30, 46) + SourceIndex(0) -35>Emitted(19, 210) Source(30, 49) + SourceIndex(0) -36>Emitted(19, 211) Source(30, 50) + SourceIndex(0) -37>Emitted(19, 213) Source(30, 52) + SourceIndex(0) -38>Emitted(19, 214) Source(30, 53) + SourceIndex(0) -39>Emitted(19, 216) Source(30, 55) + SourceIndex(0) -40>Emitted(19, 218) Source(30, 57) + SourceIndex(0) -41>Emitted(19, 219) Source(30, 58) + SourceIndex(0) +1->Emitted(20, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(20, 6) Source(27, 13) + SourceIndex(0) +3 >Emitted(20, 10) Source(27, 13) + SourceIndex(0) +4 >Emitted(20, 15) Source(30, 25) + SourceIndex(0) +5 >Emitted(20, 26) Source(30, 36) + SourceIndex(0) +6 >Emitted(20, 29) Source(30, 21) + SourceIndex(0) +7 >Emitted(20, 31) Source(27, 13) + SourceIndex(0) +8 >Emitted(20, 52) Source(30, 5) + SourceIndex(0) +9 >Emitted(20, 53) Source(30, 6) + SourceIndex(0) +10>Emitted(20, 59) Source(30, 12) + SourceIndex(0) +11>Emitted(20, 61) Source(30, 14) + SourceIndex(0) +12>Emitted(20, 67) Source(30, 20) + SourceIndex(0) +13>Emitted(20, 68) Source(30, 21) + SourceIndex(0) +14>Emitted(20, 73) Source(30, 21) + SourceIndex(0) +15>Emitted(20, 75) Source(28, 5) + SourceIndex(0) +16>Emitted(20, 85) Source(28, 30) + SourceIndex(0) +17>Emitted(20, 87) Source(28, 5) + SourceIndex(0) +18>Emitted(20, 100) Source(28, 18) + SourceIndex(0) +19>Emitted(20, 119) Source(28, 21) + SourceIndex(0) +20>Emitted(20, 128) Source(28, 30) + SourceIndex(0) +21>Emitted(20, 133) Source(28, 30) + SourceIndex(0) +22>Emitted(20, 135) Source(29, 5) + SourceIndex(0) +23>Emitted(20, 145) Source(29, 34) + SourceIndex(0) +24>Emitted(20, 147) Source(29, 5) + SourceIndex(0) +25>Emitted(20, 162) Source(29, 20) + SourceIndex(0) +26>Emitted(20, 181) Source(29, 23) + SourceIndex(0) +27>Emitted(20, 192) Source(29, 34) + SourceIndex(0) +28>Emitted(20, 197) Source(29, 34) + SourceIndex(0) +29>Emitted(20, 199) Source(30, 38) + SourceIndex(0) +30>Emitted(20, 200) Source(30, 39) + SourceIndex(0) +31>Emitted(20, 203) Source(30, 42) + SourceIndex(0) +32>Emitted(20, 204) Source(30, 43) + SourceIndex(0) +33>Emitted(20, 206) Source(30, 45) + SourceIndex(0) +34>Emitted(20, 207) Source(30, 46) + SourceIndex(0) +35>Emitted(20, 210) Source(30, 49) + SourceIndex(0) +36>Emitted(20, 211) Source(30, 50) + SourceIndex(0) +37>Emitted(20, 213) Source(30, 52) + SourceIndex(0) +38>Emitted(20, 214) Source(30, 53) + SourceIndex(0) +39>Emitted(20, 216) Source(30, 55) + SourceIndex(0) +40>Emitted(20, 218) Source(30, 57) + SourceIndex(0) +41>Emitted(20, 219) Source(30, 58) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -736,14 +737,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(20, 5) Source(31, 5) + SourceIndex(0) -2 >Emitted(20, 12) Source(31, 12) + SourceIndex(0) -3 >Emitted(20, 13) Source(31, 13) + SourceIndex(0) -4 >Emitted(20, 16) Source(31, 16) + SourceIndex(0) -5 >Emitted(20, 17) Source(31, 17) + SourceIndex(0) -6 >Emitted(20, 30) Source(31, 30) + SourceIndex(0) -7 >Emitted(20, 31) Source(31, 31) + SourceIndex(0) -8 >Emitted(20, 32) Source(31, 32) + SourceIndex(0) +1 >Emitted(21, 5) Source(31, 5) + SourceIndex(0) +2 >Emitted(21, 12) Source(31, 12) + SourceIndex(0) +3 >Emitted(21, 13) Source(31, 13) + SourceIndex(0) +4 >Emitted(21, 16) Source(31, 16) + SourceIndex(0) +5 >Emitted(21, 17) Source(31, 17) + SourceIndex(0) +6 >Emitted(21, 30) Source(31, 30) + SourceIndex(0) +7 >Emitted(21, 31) Source(31, 31) + SourceIndex(0) +8 >Emitted(21, 32) Source(31, 32) + SourceIndex(0) --- >>>} 1 > @@ -752,8 +753,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(21, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(21, 2) Source(32, 2) + SourceIndex(0) +1 >Emitted(22, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(22, 2) Source(32, 2) + SourceIndex(0) --- >>>for (var _k = getMultiRobot(), _l = _k[1], _m = _l === void 0 ? ["none", "none"] : _l, _o = _m[0], primarySkillA = _o === void 0 ? "primary" : _o, _p = _m[1], secondarySkillA = _p === void 0 ? "secondary" : _p, i = 0; i < 1; i++) { 1-> @@ -854,49 +855,49 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 41> ++ 42> ) 43> { -1->Emitted(22, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(22, 6) Source(33, 10) + SourceIndex(0) -3 >Emitted(22, 10) Source(33, 10) + SourceIndex(0) -4 >Emitted(22, 15) Source(36, 25) + SourceIndex(0) -5 >Emitted(22, 28) Source(36, 38) + SourceIndex(0) -6 >Emitted(22, 30) Source(36, 40) + SourceIndex(0) -7 >Emitted(22, 32) Source(33, 13) + SourceIndex(0) -8 >Emitted(22, 42) Source(36, 21) + SourceIndex(0) -9 >Emitted(22, 44) Source(33, 13) + SourceIndex(0) -10>Emitted(22, 65) Source(36, 5) + SourceIndex(0) -11>Emitted(22, 66) Source(36, 6) + SourceIndex(0) -12>Emitted(22, 72) Source(36, 12) + SourceIndex(0) -13>Emitted(22, 74) Source(36, 14) + SourceIndex(0) -14>Emitted(22, 80) Source(36, 20) + SourceIndex(0) -15>Emitted(22, 81) Source(36, 21) + SourceIndex(0) -16>Emitted(22, 86) Source(36, 21) + SourceIndex(0) -17>Emitted(22, 88) Source(34, 5) + SourceIndex(0) -18>Emitted(22, 98) Source(34, 30) + SourceIndex(0) -19>Emitted(22, 100) Source(34, 5) + SourceIndex(0) -20>Emitted(22, 113) Source(34, 18) + SourceIndex(0) -21>Emitted(22, 132) Source(34, 21) + SourceIndex(0) -22>Emitted(22, 141) Source(34, 30) + SourceIndex(0) -23>Emitted(22, 146) Source(34, 30) + SourceIndex(0) -24>Emitted(22, 148) Source(35, 5) + SourceIndex(0) -25>Emitted(22, 158) Source(35, 34) + SourceIndex(0) -26>Emitted(22, 160) Source(35, 5) + SourceIndex(0) -27>Emitted(22, 175) Source(35, 20) + SourceIndex(0) -28>Emitted(22, 194) Source(35, 23) + SourceIndex(0) -29>Emitted(22, 205) Source(35, 34) + SourceIndex(0) -30>Emitted(22, 210) Source(35, 34) + SourceIndex(0) -31>Emitted(22, 212) Source(36, 42) + SourceIndex(0) -32>Emitted(22, 213) Source(36, 43) + SourceIndex(0) -33>Emitted(22, 216) Source(36, 46) + SourceIndex(0) -34>Emitted(22, 217) Source(36, 47) + SourceIndex(0) -35>Emitted(22, 219) Source(36, 49) + SourceIndex(0) -36>Emitted(22, 220) Source(36, 50) + SourceIndex(0) -37>Emitted(22, 223) Source(36, 53) + SourceIndex(0) -38>Emitted(22, 224) Source(36, 54) + SourceIndex(0) -39>Emitted(22, 226) Source(36, 56) + SourceIndex(0) -40>Emitted(22, 227) Source(36, 57) + SourceIndex(0) -41>Emitted(22, 229) Source(36, 59) + SourceIndex(0) -42>Emitted(22, 231) Source(36, 61) + SourceIndex(0) -43>Emitted(22, 232) Source(36, 62) + SourceIndex(0) +1->Emitted(23, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(23, 6) Source(33, 10) + SourceIndex(0) +3 >Emitted(23, 10) Source(33, 10) + SourceIndex(0) +4 >Emitted(23, 15) Source(36, 25) + SourceIndex(0) +5 >Emitted(23, 28) Source(36, 38) + SourceIndex(0) +6 >Emitted(23, 30) Source(36, 40) + SourceIndex(0) +7 >Emitted(23, 32) Source(33, 13) + SourceIndex(0) +8 >Emitted(23, 42) Source(36, 21) + SourceIndex(0) +9 >Emitted(23, 44) Source(33, 13) + SourceIndex(0) +10>Emitted(23, 65) Source(36, 5) + SourceIndex(0) +11>Emitted(23, 66) Source(36, 6) + SourceIndex(0) +12>Emitted(23, 72) Source(36, 12) + SourceIndex(0) +13>Emitted(23, 74) Source(36, 14) + SourceIndex(0) +14>Emitted(23, 80) Source(36, 20) + SourceIndex(0) +15>Emitted(23, 81) Source(36, 21) + SourceIndex(0) +16>Emitted(23, 86) Source(36, 21) + SourceIndex(0) +17>Emitted(23, 88) Source(34, 5) + SourceIndex(0) +18>Emitted(23, 98) Source(34, 30) + SourceIndex(0) +19>Emitted(23, 100) Source(34, 5) + SourceIndex(0) +20>Emitted(23, 113) Source(34, 18) + SourceIndex(0) +21>Emitted(23, 132) Source(34, 21) + SourceIndex(0) +22>Emitted(23, 141) Source(34, 30) + SourceIndex(0) +23>Emitted(23, 146) Source(34, 30) + SourceIndex(0) +24>Emitted(23, 148) Source(35, 5) + SourceIndex(0) +25>Emitted(23, 158) Source(35, 34) + SourceIndex(0) +26>Emitted(23, 160) Source(35, 5) + SourceIndex(0) +27>Emitted(23, 175) Source(35, 20) + SourceIndex(0) +28>Emitted(23, 194) Source(35, 23) + SourceIndex(0) +29>Emitted(23, 205) Source(35, 34) + SourceIndex(0) +30>Emitted(23, 210) Source(35, 34) + SourceIndex(0) +31>Emitted(23, 212) Source(36, 42) + SourceIndex(0) +32>Emitted(23, 213) Source(36, 43) + SourceIndex(0) +33>Emitted(23, 216) Source(36, 46) + SourceIndex(0) +34>Emitted(23, 217) Source(36, 47) + SourceIndex(0) +35>Emitted(23, 219) Source(36, 49) + SourceIndex(0) +36>Emitted(23, 220) Source(36, 50) + SourceIndex(0) +37>Emitted(23, 223) Source(36, 53) + SourceIndex(0) +38>Emitted(23, 224) Source(36, 54) + SourceIndex(0) +39>Emitted(23, 226) Source(36, 56) + SourceIndex(0) +40>Emitted(23, 227) Source(36, 57) + SourceIndex(0) +41>Emitted(23, 229) Source(36, 59) + SourceIndex(0) +42>Emitted(23, 231) Source(36, 61) + SourceIndex(0) +43>Emitted(23, 232) Source(36, 62) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -916,14 +917,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(23, 5) Source(37, 5) + SourceIndex(0) -2 >Emitted(23, 12) Source(37, 12) + SourceIndex(0) -3 >Emitted(23, 13) Source(37, 13) + SourceIndex(0) -4 >Emitted(23, 16) Source(37, 16) + SourceIndex(0) -5 >Emitted(23, 17) Source(37, 17) + SourceIndex(0) -6 >Emitted(23, 30) Source(37, 30) + SourceIndex(0) -7 >Emitted(23, 31) Source(37, 31) + SourceIndex(0) -8 >Emitted(23, 32) Source(37, 32) + SourceIndex(0) +1 >Emitted(24, 5) Source(37, 5) + SourceIndex(0) +2 >Emitted(24, 12) Source(37, 12) + SourceIndex(0) +3 >Emitted(24, 13) Source(37, 13) + SourceIndex(0) +4 >Emitted(24, 16) Source(37, 16) + SourceIndex(0) +5 >Emitted(24, 17) Source(37, 17) + SourceIndex(0) +6 >Emitted(24, 30) Source(37, 30) + SourceIndex(0) +7 >Emitted(24, 31) Source(37, 31) + SourceIndex(0) +8 >Emitted(24, 32) Source(37, 32) + SourceIndex(0) --- >>>} 1 > @@ -932,8 +933,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(24, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(24, 2) Source(38, 2) + SourceIndex(0) +1 >Emitted(25, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(25, 2) Source(38, 2) + SourceIndex(0) --- >>>for (var _q = ["trimmer", ["trimming", "edging"]], _r = _q[1], _s = _r === void 0 ? ["none", "none"] : _r, _t = _s[0], primarySkillA = _t === void 0 ? "primary" : _t, _u = _s[1], secondarySkillA = _u === void 0 ? "secondary" : _u, i = 0; i < 1; i++) { 1-> @@ -1048,56 +1049,56 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 48> ++ 49> ) 50> { -1->Emitted(25, 1) Source(39, 1) + SourceIndex(0) -2 >Emitted(25, 6) Source(39, 10) + SourceIndex(0) -3 >Emitted(25, 10) Source(39, 10) + SourceIndex(0) -4 >Emitted(25, 15) Source(42, 25) + SourceIndex(0) -5 >Emitted(25, 16) Source(42, 26) + SourceIndex(0) -6 >Emitted(25, 25) Source(42, 35) + SourceIndex(0) -7 >Emitted(25, 27) Source(42, 37) + SourceIndex(0) -8 >Emitted(25, 28) Source(42, 38) + SourceIndex(0) -9 >Emitted(25, 38) Source(42, 48) + SourceIndex(0) -10>Emitted(25, 40) Source(42, 50) + SourceIndex(0) -11>Emitted(25, 48) Source(42, 58) + SourceIndex(0) -12>Emitted(25, 49) Source(42, 59) + SourceIndex(0) -13>Emitted(25, 50) Source(42, 60) + SourceIndex(0) -14>Emitted(25, 52) Source(39, 13) + SourceIndex(0) -15>Emitted(25, 62) Source(42, 21) + SourceIndex(0) -16>Emitted(25, 64) Source(39, 13) + SourceIndex(0) -17>Emitted(25, 85) Source(42, 5) + SourceIndex(0) -18>Emitted(25, 86) Source(42, 6) + SourceIndex(0) -19>Emitted(25, 92) Source(42, 12) + SourceIndex(0) -20>Emitted(25, 94) Source(42, 14) + SourceIndex(0) -21>Emitted(25, 100) Source(42, 20) + SourceIndex(0) -22>Emitted(25, 101) Source(42, 21) + SourceIndex(0) -23>Emitted(25, 106) Source(42, 21) + SourceIndex(0) -24>Emitted(25, 108) Source(40, 5) + SourceIndex(0) -25>Emitted(25, 118) Source(40, 30) + SourceIndex(0) -26>Emitted(25, 120) Source(40, 5) + SourceIndex(0) -27>Emitted(25, 133) Source(40, 18) + SourceIndex(0) -28>Emitted(25, 152) Source(40, 21) + SourceIndex(0) -29>Emitted(25, 161) Source(40, 30) + SourceIndex(0) -30>Emitted(25, 166) Source(40, 30) + SourceIndex(0) -31>Emitted(25, 168) Source(41, 5) + SourceIndex(0) -32>Emitted(25, 178) Source(41, 34) + SourceIndex(0) -33>Emitted(25, 180) Source(41, 5) + SourceIndex(0) -34>Emitted(25, 195) Source(41, 20) + SourceIndex(0) -35>Emitted(25, 214) Source(41, 23) + SourceIndex(0) -36>Emitted(25, 225) Source(41, 34) + SourceIndex(0) -37>Emitted(25, 230) Source(41, 34) + SourceIndex(0) -38>Emitted(25, 232) Source(42, 62) + SourceIndex(0) -39>Emitted(25, 233) Source(42, 63) + SourceIndex(0) -40>Emitted(25, 236) Source(42, 66) + SourceIndex(0) -41>Emitted(25, 237) Source(42, 67) + SourceIndex(0) -42>Emitted(25, 239) Source(42, 69) + SourceIndex(0) -43>Emitted(25, 240) Source(42, 70) + SourceIndex(0) -44>Emitted(25, 243) Source(42, 73) + SourceIndex(0) -45>Emitted(25, 244) Source(42, 74) + SourceIndex(0) -46>Emitted(25, 246) Source(42, 76) + SourceIndex(0) -47>Emitted(25, 247) Source(42, 77) + SourceIndex(0) -48>Emitted(25, 249) Source(42, 79) + SourceIndex(0) -49>Emitted(25, 251) Source(42, 81) + SourceIndex(0) -50>Emitted(25, 252) Source(42, 82) + SourceIndex(0) +1->Emitted(26, 1) Source(39, 1) + SourceIndex(0) +2 >Emitted(26, 6) Source(39, 10) + SourceIndex(0) +3 >Emitted(26, 10) Source(39, 10) + SourceIndex(0) +4 >Emitted(26, 15) Source(42, 25) + SourceIndex(0) +5 >Emitted(26, 16) Source(42, 26) + SourceIndex(0) +6 >Emitted(26, 25) Source(42, 35) + SourceIndex(0) +7 >Emitted(26, 27) Source(42, 37) + SourceIndex(0) +8 >Emitted(26, 28) Source(42, 38) + SourceIndex(0) +9 >Emitted(26, 38) Source(42, 48) + SourceIndex(0) +10>Emitted(26, 40) Source(42, 50) + SourceIndex(0) +11>Emitted(26, 48) Source(42, 58) + SourceIndex(0) +12>Emitted(26, 49) Source(42, 59) + SourceIndex(0) +13>Emitted(26, 50) Source(42, 60) + SourceIndex(0) +14>Emitted(26, 52) Source(39, 13) + SourceIndex(0) +15>Emitted(26, 62) Source(42, 21) + SourceIndex(0) +16>Emitted(26, 64) Source(39, 13) + SourceIndex(0) +17>Emitted(26, 85) Source(42, 5) + SourceIndex(0) +18>Emitted(26, 86) Source(42, 6) + SourceIndex(0) +19>Emitted(26, 92) Source(42, 12) + SourceIndex(0) +20>Emitted(26, 94) Source(42, 14) + SourceIndex(0) +21>Emitted(26, 100) Source(42, 20) + SourceIndex(0) +22>Emitted(26, 101) Source(42, 21) + SourceIndex(0) +23>Emitted(26, 106) Source(42, 21) + SourceIndex(0) +24>Emitted(26, 108) Source(40, 5) + SourceIndex(0) +25>Emitted(26, 118) Source(40, 30) + SourceIndex(0) +26>Emitted(26, 120) Source(40, 5) + SourceIndex(0) +27>Emitted(26, 133) Source(40, 18) + SourceIndex(0) +28>Emitted(26, 152) Source(40, 21) + SourceIndex(0) +29>Emitted(26, 161) Source(40, 30) + SourceIndex(0) +30>Emitted(26, 166) Source(40, 30) + SourceIndex(0) +31>Emitted(26, 168) Source(41, 5) + SourceIndex(0) +32>Emitted(26, 178) Source(41, 34) + SourceIndex(0) +33>Emitted(26, 180) Source(41, 5) + SourceIndex(0) +34>Emitted(26, 195) Source(41, 20) + SourceIndex(0) +35>Emitted(26, 214) Source(41, 23) + SourceIndex(0) +36>Emitted(26, 225) Source(41, 34) + SourceIndex(0) +37>Emitted(26, 230) Source(41, 34) + SourceIndex(0) +38>Emitted(26, 232) Source(42, 62) + SourceIndex(0) +39>Emitted(26, 233) Source(42, 63) + SourceIndex(0) +40>Emitted(26, 236) Source(42, 66) + SourceIndex(0) +41>Emitted(26, 237) Source(42, 67) + SourceIndex(0) +42>Emitted(26, 239) Source(42, 69) + SourceIndex(0) +43>Emitted(26, 240) Source(42, 70) + SourceIndex(0) +44>Emitted(26, 243) Source(42, 73) + SourceIndex(0) +45>Emitted(26, 244) Source(42, 74) + SourceIndex(0) +46>Emitted(26, 246) Source(42, 76) + SourceIndex(0) +47>Emitted(26, 247) Source(42, 77) + SourceIndex(0) +48>Emitted(26, 249) Source(42, 79) + SourceIndex(0) +49>Emitted(26, 251) Source(42, 81) + SourceIndex(0) +50>Emitted(26, 252) Source(42, 82) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -1117,14 +1118,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(26, 5) Source(43, 5) + SourceIndex(0) -2 >Emitted(26, 12) Source(43, 12) + SourceIndex(0) -3 >Emitted(26, 13) Source(43, 13) + SourceIndex(0) -4 >Emitted(26, 16) Source(43, 16) + SourceIndex(0) -5 >Emitted(26, 17) Source(43, 17) + SourceIndex(0) -6 >Emitted(26, 30) Source(43, 30) + SourceIndex(0) -7 >Emitted(26, 31) Source(43, 31) + SourceIndex(0) -8 >Emitted(26, 32) Source(43, 32) + SourceIndex(0) +1 >Emitted(27, 5) Source(43, 5) + SourceIndex(0) +2 >Emitted(27, 12) Source(43, 12) + SourceIndex(0) +3 >Emitted(27, 13) Source(43, 13) + SourceIndex(0) +4 >Emitted(27, 16) Source(43, 16) + SourceIndex(0) +5 >Emitted(27, 17) Source(43, 17) + SourceIndex(0) +6 >Emitted(27, 30) Source(43, 30) + SourceIndex(0) +7 >Emitted(27, 31) Source(43, 31) + SourceIndex(0) +8 >Emitted(27, 32) Source(43, 32) + SourceIndex(0) --- >>>} 1 > @@ -1133,8 +1134,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(27, 1) Source(44, 1) + SourceIndex(0) -2 >Emitted(27, 2) Source(44, 2) + SourceIndex(0) +1 >Emitted(28, 1) Source(44, 1) + SourceIndex(0) +2 >Emitted(28, 2) Source(44, 2) + SourceIndex(0) --- >>>for (var _v = robotA[0], numberB = _v === void 0 ? -1 : _v, i = 0; i < 1; i++) { 1-> @@ -1189,31 +1190,31 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 23> ++ 24> ) 25> { -1->Emitted(28, 1) Source(46, 1) + SourceIndex(0) -2 >Emitted(28, 6) Source(46, 11) + SourceIndex(0) -3 >Emitted(28, 10) Source(46, 11) + SourceIndex(0) -4 >Emitted(28, 15) Source(46, 27) + SourceIndex(0) -5 >Emitted(28, 21) Source(46, 33) + SourceIndex(0) -6 >Emitted(28, 24) Source(46, 23) + SourceIndex(0) -7 >Emitted(28, 26) Source(46, 11) + SourceIndex(0) -8 >Emitted(28, 33) Source(46, 18) + SourceIndex(0) -9 >Emitted(28, 52) Source(46, 21) + SourceIndex(0) -10>Emitted(28, 53) Source(46, 22) + SourceIndex(0) -11>Emitted(28, 54) Source(46, 23) + SourceIndex(0) -12>Emitted(28, 59) Source(46, 23) + SourceIndex(0) -13>Emitted(28, 61) Source(46, 35) + SourceIndex(0) -14>Emitted(28, 62) Source(46, 36) + SourceIndex(0) -15>Emitted(28, 65) Source(46, 39) + SourceIndex(0) -16>Emitted(28, 66) Source(46, 40) + SourceIndex(0) -17>Emitted(28, 68) Source(46, 42) + SourceIndex(0) -18>Emitted(28, 69) Source(46, 43) + SourceIndex(0) -19>Emitted(28, 72) Source(46, 46) + SourceIndex(0) -20>Emitted(28, 73) Source(46, 47) + SourceIndex(0) -21>Emitted(28, 75) Source(46, 49) + SourceIndex(0) -22>Emitted(28, 76) Source(46, 50) + SourceIndex(0) -23>Emitted(28, 78) Source(46, 52) + SourceIndex(0) -24>Emitted(28, 80) Source(46, 54) + SourceIndex(0) -25>Emitted(28, 81) Source(46, 55) + SourceIndex(0) +1->Emitted(29, 1) Source(46, 1) + SourceIndex(0) +2 >Emitted(29, 6) Source(46, 11) + SourceIndex(0) +3 >Emitted(29, 10) Source(46, 11) + SourceIndex(0) +4 >Emitted(29, 15) Source(46, 27) + SourceIndex(0) +5 >Emitted(29, 21) Source(46, 33) + SourceIndex(0) +6 >Emitted(29, 24) Source(46, 23) + SourceIndex(0) +7 >Emitted(29, 26) Source(46, 11) + SourceIndex(0) +8 >Emitted(29, 33) Source(46, 18) + SourceIndex(0) +9 >Emitted(29, 52) Source(46, 21) + SourceIndex(0) +10>Emitted(29, 53) Source(46, 22) + SourceIndex(0) +11>Emitted(29, 54) Source(46, 23) + SourceIndex(0) +12>Emitted(29, 59) Source(46, 23) + SourceIndex(0) +13>Emitted(29, 61) Source(46, 35) + SourceIndex(0) +14>Emitted(29, 62) Source(46, 36) + SourceIndex(0) +15>Emitted(29, 65) Source(46, 39) + SourceIndex(0) +16>Emitted(29, 66) Source(46, 40) + SourceIndex(0) +17>Emitted(29, 68) Source(46, 42) + SourceIndex(0) +18>Emitted(29, 69) Source(46, 43) + SourceIndex(0) +19>Emitted(29, 72) Source(46, 46) + SourceIndex(0) +20>Emitted(29, 73) Source(46, 47) + SourceIndex(0) +21>Emitted(29, 75) Source(46, 49) + SourceIndex(0) +22>Emitted(29, 76) Source(46, 50) + SourceIndex(0) +23>Emitted(29, 78) Source(46, 52) + SourceIndex(0) +24>Emitted(29, 80) Source(46, 54) + SourceIndex(0) +25>Emitted(29, 81) Source(46, 55) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1233,14 +1234,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > numberB 7 > ) 8 > ; -1 >Emitted(29, 5) Source(47, 5) + SourceIndex(0) -2 >Emitted(29, 12) Source(47, 12) + SourceIndex(0) -3 >Emitted(29, 13) Source(47, 13) + SourceIndex(0) -4 >Emitted(29, 16) Source(47, 16) + SourceIndex(0) -5 >Emitted(29, 17) Source(47, 17) + SourceIndex(0) -6 >Emitted(29, 24) Source(47, 24) + SourceIndex(0) -7 >Emitted(29, 25) Source(47, 25) + SourceIndex(0) -8 >Emitted(29, 26) Source(47, 26) + SourceIndex(0) +1 >Emitted(30, 5) Source(47, 5) + SourceIndex(0) +2 >Emitted(30, 12) Source(47, 12) + SourceIndex(0) +3 >Emitted(30, 13) Source(47, 13) + SourceIndex(0) +4 >Emitted(30, 16) Source(47, 16) + SourceIndex(0) +5 >Emitted(30, 17) Source(47, 17) + SourceIndex(0) +6 >Emitted(30, 24) Source(47, 24) + SourceIndex(0) +7 >Emitted(30, 25) Source(47, 25) + SourceIndex(0) +8 >Emitted(30, 26) Source(47, 26) + SourceIndex(0) --- >>>} 1 > @@ -1249,8 +1250,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(30, 1) Source(48, 1) + SourceIndex(0) -2 >Emitted(30, 2) Source(48, 2) + SourceIndex(0) +1 >Emitted(31, 1) Source(48, 1) + SourceIndex(0) +2 >Emitted(31, 2) Source(48, 2) + SourceIndex(0) --- >>>for (var _w = getRobot()[0], numberB = _w === void 0 ? -1 : _w, i = 0; i < 1; i++) { 1-> @@ -1306,32 +1307,32 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 24> ++ 25> ) 26> { -1->Emitted(31, 1) Source(49, 1) + SourceIndex(0) -2 >Emitted(31, 6) Source(49, 11) + SourceIndex(0) -3 >Emitted(31, 10) Source(49, 11) + SourceIndex(0) -4 >Emitted(31, 15) Source(49, 27) + SourceIndex(0) -5 >Emitted(31, 23) Source(49, 35) + SourceIndex(0) -6 >Emitted(31, 25) Source(49, 37) + SourceIndex(0) -7 >Emitted(31, 28) Source(49, 23) + SourceIndex(0) -8 >Emitted(31, 30) Source(49, 11) + SourceIndex(0) -9 >Emitted(31, 37) Source(49, 18) + SourceIndex(0) -10>Emitted(31, 56) Source(49, 21) + SourceIndex(0) -11>Emitted(31, 57) Source(49, 22) + SourceIndex(0) -12>Emitted(31, 58) Source(49, 23) + SourceIndex(0) -13>Emitted(31, 63) Source(49, 23) + SourceIndex(0) -14>Emitted(31, 65) Source(49, 39) + SourceIndex(0) -15>Emitted(31, 66) Source(49, 40) + SourceIndex(0) -16>Emitted(31, 69) Source(49, 43) + SourceIndex(0) -17>Emitted(31, 70) Source(49, 44) + SourceIndex(0) -18>Emitted(31, 72) Source(49, 46) + SourceIndex(0) -19>Emitted(31, 73) Source(49, 47) + SourceIndex(0) -20>Emitted(31, 76) Source(49, 50) + SourceIndex(0) -21>Emitted(31, 77) Source(49, 51) + SourceIndex(0) -22>Emitted(31, 79) Source(49, 53) + SourceIndex(0) -23>Emitted(31, 80) Source(49, 54) + SourceIndex(0) -24>Emitted(31, 82) Source(49, 56) + SourceIndex(0) -25>Emitted(31, 84) Source(49, 58) + SourceIndex(0) -26>Emitted(31, 85) Source(49, 59) + SourceIndex(0) +1->Emitted(32, 1) Source(49, 1) + SourceIndex(0) +2 >Emitted(32, 6) Source(49, 11) + SourceIndex(0) +3 >Emitted(32, 10) Source(49, 11) + SourceIndex(0) +4 >Emitted(32, 15) Source(49, 27) + SourceIndex(0) +5 >Emitted(32, 23) Source(49, 35) + SourceIndex(0) +6 >Emitted(32, 25) Source(49, 37) + SourceIndex(0) +7 >Emitted(32, 28) Source(49, 23) + SourceIndex(0) +8 >Emitted(32, 30) Source(49, 11) + SourceIndex(0) +9 >Emitted(32, 37) Source(49, 18) + SourceIndex(0) +10>Emitted(32, 56) Source(49, 21) + SourceIndex(0) +11>Emitted(32, 57) Source(49, 22) + SourceIndex(0) +12>Emitted(32, 58) Source(49, 23) + SourceIndex(0) +13>Emitted(32, 63) Source(49, 23) + SourceIndex(0) +14>Emitted(32, 65) Source(49, 39) + SourceIndex(0) +15>Emitted(32, 66) Source(49, 40) + SourceIndex(0) +16>Emitted(32, 69) Source(49, 43) + SourceIndex(0) +17>Emitted(32, 70) Source(49, 44) + SourceIndex(0) +18>Emitted(32, 72) Source(49, 46) + SourceIndex(0) +19>Emitted(32, 73) Source(49, 47) + SourceIndex(0) +20>Emitted(32, 76) Source(49, 50) + SourceIndex(0) +21>Emitted(32, 77) Source(49, 51) + SourceIndex(0) +22>Emitted(32, 79) Source(49, 53) + SourceIndex(0) +23>Emitted(32, 80) Source(49, 54) + SourceIndex(0) +24>Emitted(32, 82) Source(49, 56) + SourceIndex(0) +25>Emitted(32, 84) Source(49, 58) + SourceIndex(0) +26>Emitted(32, 85) Source(49, 59) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1351,14 +1352,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > numberB 7 > ) 8 > ; -1 >Emitted(32, 5) Source(50, 5) + SourceIndex(0) -2 >Emitted(32, 12) Source(50, 12) + SourceIndex(0) -3 >Emitted(32, 13) Source(50, 13) + SourceIndex(0) -4 >Emitted(32, 16) Source(50, 16) + SourceIndex(0) -5 >Emitted(32, 17) Source(50, 17) + SourceIndex(0) -6 >Emitted(32, 24) Source(50, 24) + SourceIndex(0) -7 >Emitted(32, 25) Source(50, 25) + SourceIndex(0) -8 >Emitted(32, 26) Source(50, 26) + SourceIndex(0) +1 >Emitted(33, 5) Source(50, 5) + SourceIndex(0) +2 >Emitted(33, 12) Source(50, 12) + SourceIndex(0) +3 >Emitted(33, 13) Source(50, 13) + SourceIndex(0) +4 >Emitted(33, 16) Source(50, 16) + SourceIndex(0) +5 >Emitted(33, 17) Source(50, 17) + SourceIndex(0) +6 >Emitted(33, 24) Source(50, 24) + SourceIndex(0) +7 >Emitted(33, 25) Source(50, 25) + SourceIndex(0) +8 >Emitted(33, 26) Source(50, 26) + SourceIndex(0) --- >>>} 1 > @@ -1367,8 +1368,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(33, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(33, 2) Source(51, 2) + SourceIndex(0) +1 >Emitted(34, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(34, 2) Source(51, 2) + SourceIndex(0) --- >>>for (var _x = [2, "trimmer", "trimming"][0], numberB = _x === void 0 ? -1 : _x, i = 0; i < 1; i++) { 1-> @@ -1434,37 +1435,37 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 29> ++ 30> ) 31> { -1->Emitted(34, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(34, 6) Source(52, 11) + SourceIndex(0) -3 >Emitted(34, 10) Source(52, 11) + SourceIndex(0) -4 >Emitted(34, 15) Source(52, 27) + SourceIndex(0) -5 >Emitted(34, 16) Source(52, 28) + SourceIndex(0) -6 >Emitted(34, 17) Source(52, 29) + SourceIndex(0) -7 >Emitted(34, 19) Source(52, 31) + SourceIndex(0) -8 >Emitted(34, 28) Source(52, 40) + SourceIndex(0) -9 >Emitted(34, 30) Source(52, 42) + SourceIndex(0) -10>Emitted(34, 40) Source(52, 52) + SourceIndex(0) -11>Emitted(34, 41) Source(52, 53) + SourceIndex(0) -12>Emitted(34, 44) Source(52, 23) + SourceIndex(0) -13>Emitted(34, 46) Source(52, 11) + SourceIndex(0) -14>Emitted(34, 53) Source(52, 18) + SourceIndex(0) -15>Emitted(34, 72) Source(52, 21) + SourceIndex(0) -16>Emitted(34, 73) Source(52, 22) + SourceIndex(0) -17>Emitted(34, 74) Source(52, 23) + SourceIndex(0) -18>Emitted(34, 79) Source(52, 23) + SourceIndex(0) -19>Emitted(34, 81) Source(52, 55) + SourceIndex(0) -20>Emitted(34, 82) Source(52, 56) + SourceIndex(0) -21>Emitted(34, 85) Source(52, 59) + SourceIndex(0) -22>Emitted(34, 86) Source(52, 60) + SourceIndex(0) -23>Emitted(34, 88) Source(52, 62) + SourceIndex(0) -24>Emitted(34, 89) Source(52, 63) + SourceIndex(0) -25>Emitted(34, 92) Source(52, 66) + SourceIndex(0) -26>Emitted(34, 93) Source(52, 67) + SourceIndex(0) -27>Emitted(34, 95) Source(52, 69) + SourceIndex(0) -28>Emitted(34, 96) Source(52, 70) + SourceIndex(0) -29>Emitted(34, 98) Source(52, 72) + SourceIndex(0) -30>Emitted(34, 100) Source(52, 74) + SourceIndex(0) -31>Emitted(34, 101) Source(52, 75) + SourceIndex(0) +1->Emitted(35, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(35, 6) Source(52, 11) + SourceIndex(0) +3 >Emitted(35, 10) Source(52, 11) + SourceIndex(0) +4 >Emitted(35, 15) Source(52, 27) + SourceIndex(0) +5 >Emitted(35, 16) Source(52, 28) + SourceIndex(0) +6 >Emitted(35, 17) Source(52, 29) + SourceIndex(0) +7 >Emitted(35, 19) Source(52, 31) + SourceIndex(0) +8 >Emitted(35, 28) Source(52, 40) + SourceIndex(0) +9 >Emitted(35, 30) Source(52, 42) + SourceIndex(0) +10>Emitted(35, 40) Source(52, 52) + SourceIndex(0) +11>Emitted(35, 41) Source(52, 53) + SourceIndex(0) +12>Emitted(35, 44) Source(52, 23) + SourceIndex(0) +13>Emitted(35, 46) Source(52, 11) + SourceIndex(0) +14>Emitted(35, 53) Source(52, 18) + SourceIndex(0) +15>Emitted(35, 72) Source(52, 21) + SourceIndex(0) +16>Emitted(35, 73) Source(52, 22) + SourceIndex(0) +17>Emitted(35, 74) Source(52, 23) + SourceIndex(0) +18>Emitted(35, 79) Source(52, 23) + SourceIndex(0) +19>Emitted(35, 81) Source(52, 55) + SourceIndex(0) +20>Emitted(35, 82) Source(52, 56) + SourceIndex(0) +21>Emitted(35, 85) Source(52, 59) + SourceIndex(0) +22>Emitted(35, 86) Source(52, 60) + SourceIndex(0) +23>Emitted(35, 88) Source(52, 62) + SourceIndex(0) +24>Emitted(35, 89) Source(52, 63) + SourceIndex(0) +25>Emitted(35, 92) Source(52, 66) + SourceIndex(0) +26>Emitted(35, 93) Source(52, 67) + SourceIndex(0) +27>Emitted(35, 95) Source(52, 69) + SourceIndex(0) +28>Emitted(35, 96) Source(52, 70) + SourceIndex(0) +29>Emitted(35, 98) Source(52, 72) + SourceIndex(0) +30>Emitted(35, 100) Source(52, 74) + SourceIndex(0) +31>Emitted(35, 101) Source(52, 75) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1484,14 +1485,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > numberB 7 > ) 8 > ; -1 >Emitted(35, 5) Source(53, 5) + SourceIndex(0) -2 >Emitted(35, 12) Source(53, 12) + SourceIndex(0) -3 >Emitted(35, 13) Source(53, 13) + SourceIndex(0) -4 >Emitted(35, 16) Source(53, 16) + SourceIndex(0) -5 >Emitted(35, 17) Source(53, 17) + SourceIndex(0) -6 >Emitted(35, 24) Source(53, 24) + SourceIndex(0) -7 >Emitted(35, 25) Source(53, 25) + SourceIndex(0) -8 >Emitted(35, 26) Source(53, 26) + SourceIndex(0) +1 >Emitted(36, 5) Source(53, 5) + SourceIndex(0) +2 >Emitted(36, 12) Source(53, 12) + SourceIndex(0) +3 >Emitted(36, 13) Source(53, 13) + SourceIndex(0) +4 >Emitted(36, 16) Source(53, 16) + SourceIndex(0) +5 >Emitted(36, 17) Source(53, 17) + SourceIndex(0) +6 >Emitted(36, 24) Source(53, 24) + SourceIndex(0) +7 >Emitted(36, 25) Source(53, 25) + SourceIndex(0) +8 >Emitted(36, 26) Source(53, 26) + SourceIndex(0) --- >>>} 1 > @@ -1500,8 +1501,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(36, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(36, 2) Source(54, 2) + SourceIndex(0) +1 >Emitted(37, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(37, 2) Source(54, 2) + SourceIndex(0) --- >>>for (var _y = multiRobotA[0], nameB = _y === void 0 ? "name" : _y, i = 0; i < 1; i++) { 1-> @@ -1553,30 +1554,30 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 22> ++ 23> ) 24> { -1->Emitted(37, 1) Source(55, 1) + SourceIndex(0) -2 >Emitted(37, 6) Source(55, 11) + SourceIndex(0) -3 >Emitted(37, 10) Source(55, 11) + SourceIndex(0) -4 >Emitted(37, 15) Source(55, 29) + SourceIndex(0) -5 >Emitted(37, 26) Source(55, 40) + SourceIndex(0) -6 >Emitted(37, 29) Source(55, 25) + SourceIndex(0) -7 >Emitted(37, 31) Source(55, 11) + SourceIndex(0) -8 >Emitted(37, 36) Source(55, 16) + SourceIndex(0) -9 >Emitted(37, 55) Source(55, 19) + SourceIndex(0) -10>Emitted(37, 61) Source(55, 25) + SourceIndex(0) -11>Emitted(37, 66) Source(55, 25) + SourceIndex(0) -12>Emitted(37, 68) Source(55, 42) + SourceIndex(0) -13>Emitted(37, 69) Source(55, 43) + SourceIndex(0) -14>Emitted(37, 72) Source(55, 46) + SourceIndex(0) -15>Emitted(37, 73) Source(55, 47) + SourceIndex(0) -16>Emitted(37, 75) Source(55, 49) + SourceIndex(0) -17>Emitted(37, 76) Source(55, 50) + SourceIndex(0) -18>Emitted(37, 79) Source(55, 53) + SourceIndex(0) -19>Emitted(37, 80) Source(55, 54) + SourceIndex(0) -20>Emitted(37, 82) Source(55, 56) + SourceIndex(0) -21>Emitted(37, 83) Source(55, 57) + SourceIndex(0) -22>Emitted(37, 85) Source(55, 59) + SourceIndex(0) -23>Emitted(37, 87) Source(55, 61) + SourceIndex(0) -24>Emitted(37, 88) Source(55, 62) + SourceIndex(0) +1->Emitted(38, 1) Source(55, 1) + SourceIndex(0) +2 >Emitted(38, 6) Source(55, 11) + SourceIndex(0) +3 >Emitted(38, 10) Source(55, 11) + SourceIndex(0) +4 >Emitted(38, 15) Source(55, 29) + SourceIndex(0) +5 >Emitted(38, 26) Source(55, 40) + SourceIndex(0) +6 >Emitted(38, 29) Source(55, 25) + SourceIndex(0) +7 >Emitted(38, 31) Source(55, 11) + SourceIndex(0) +8 >Emitted(38, 36) Source(55, 16) + SourceIndex(0) +9 >Emitted(38, 55) Source(55, 19) + SourceIndex(0) +10>Emitted(38, 61) Source(55, 25) + SourceIndex(0) +11>Emitted(38, 66) Source(55, 25) + SourceIndex(0) +12>Emitted(38, 68) Source(55, 42) + SourceIndex(0) +13>Emitted(38, 69) Source(55, 43) + SourceIndex(0) +14>Emitted(38, 72) Source(55, 46) + SourceIndex(0) +15>Emitted(38, 73) Source(55, 47) + SourceIndex(0) +16>Emitted(38, 75) Source(55, 49) + SourceIndex(0) +17>Emitted(38, 76) Source(55, 50) + SourceIndex(0) +18>Emitted(38, 79) Source(55, 53) + SourceIndex(0) +19>Emitted(38, 80) Source(55, 54) + SourceIndex(0) +20>Emitted(38, 82) Source(55, 56) + SourceIndex(0) +21>Emitted(38, 83) Source(55, 57) + SourceIndex(0) +22>Emitted(38, 85) Source(55, 59) + SourceIndex(0) +23>Emitted(38, 87) Source(55, 61) + SourceIndex(0) +24>Emitted(38, 88) Source(55, 62) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1596,14 +1597,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameB 7 > ) 8 > ; -1 >Emitted(38, 5) Source(56, 5) + SourceIndex(0) -2 >Emitted(38, 12) Source(56, 12) + SourceIndex(0) -3 >Emitted(38, 13) Source(56, 13) + SourceIndex(0) -4 >Emitted(38, 16) Source(56, 16) + SourceIndex(0) -5 >Emitted(38, 17) Source(56, 17) + SourceIndex(0) -6 >Emitted(38, 22) Source(56, 22) + SourceIndex(0) -7 >Emitted(38, 23) Source(56, 23) + SourceIndex(0) -8 >Emitted(38, 24) Source(56, 24) + SourceIndex(0) +1 >Emitted(39, 5) Source(56, 5) + SourceIndex(0) +2 >Emitted(39, 12) Source(56, 12) + SourceIndex(0) +3 >Emitted(39, 13) Source(56, 13) + SourceIndex(0) +4 >Emitted(39, 16) Source(56, 16) + SourceIndex(0) +5 >Emitted(39, 17) Source(56, 17) + SourceIndex(0) +6 >Emitted(39, 22) Source(56, 22) + SourceIndex(0) +7 >Emitted(39, 23) Source(56, 23) + SourceIndex(0) +8 >Emitted(39, 24) Source(56, 24) + SourceIndex(0) --- >>>} 1 > @@ -1612,8 +1613,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(39, 1) Source(57, 1) + SourceIndex(0) -2 >Emitted(39, 2) Source(57, 2) + SourceIndex(0) +1 >Emitted(40, 1) Source(57, 1) + SourceIndex(0) +2 >Emitted(40, 2) Source(57, 2) + SourceIndex(0) --- >>>for (var _z = getMultiRobot()[0], nameB = _z === void 0 ? "name" : _z, i = 0; i < 1; i++) { 1-> @@ -1667,31 +1668,31 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 23> ++ 24> ) 25> { -1->Emitted(40, 1) Source(58, 1) + SourceIndex(0) -2 >Emitted(40, 6) Source(58, 11) + SourceIndex(0) -3 >Emitted(40, 10) Source(58, 11) + SourceIndex(0) -4 >Emitted(40, 15) Source(58, 29) + SourceIndex(0) -5 >Emitted(40, 28) Source(58, 42) + SourceIndex(0) -6 >Emitted(40, 30) Source(58, 44) + SourceIndex(0) -7 >Emitted(40, 33) Source(58, 25) + SourceIndex(0) -8 >Emitted(40, 35) Source(58, 11) + SourceIndex(0) -9 >Emitted(40, 40) Source(58, 16) + SourceIndex(0) -10>Emitted(40, 59) Source(58, 19) + SourceIndex(0) -11>Emitted(40, 65) Source(58, 25) + SourceIndex(0) -12>Emitted(40, 70) Source(58, 25) + SourceIndex(0) -13>Emitted(40, 72) Source(58, 46) + SourceIndex(0) -14>Emitted(40, 73) Source(58, 47) + SourceIndex(0) -15>Emitted(40, 76) Source(58, 50) + SourceIndex(0) -16>Emitted(40, 77) Source(58, 51) + SourceIndex(0) -17>Emitted(40, 79) Source(58, 53) + SourceIndex(0) -18>Emitted(40, 80) Source(58, 54) + SourceIndex(0) -19>Emitted(40, 83) Source(58, 57) + SourceIndex(0) -20>Emitted(40, 84) Source(58, 58) + SourceIndex(0) -21>Emitted(40, 86) Source(58, 60) + SourceIndex(0) -22>Emitted(40, 87) Source(58, 61) + SourceIndex(0) -23>Emitted(40, 89) Source(58, 63) + SourceIndex(0) -24>Emitted(40, 91) Source(58, 65) + SourceIndex(0) -25>Emitted(40, 92) Source(58, 66) + SourceIndex(0) +1->Emitted(41, 1) Source(58, 1) + SourceIndex(0) +2 >Emitted(41, 6) Source(58, 11) + SourceIndex(0) +3 >Emitted(41, 10) Source(58, 11) + SourceIndex(0) +4 >Emitted(41, 15) Source(58, 29) + SourceIndex(0) +5 >Emitted(41, 28) Source(58, 42) + SourceIndex(0) +6 >Emitted(41, 30) Source(58, 44) + SourceIndex(0) +7 >Emitted(41, 33) Source(58, 25) + SourceIndex(0) +8 >Emitted(41, 35) Source(58, 11) + SourceIndex(0) +9 >Emitted(41, 40) Source(58, 16) + SourceIndex(0) +10>Emitted(41, 59) Source(58, 19) + SourceIndex(0) +11>Emitted(41, 65) Source(58, 25) + SourceIndex(0) +12>Emitted(41, 70) Source(58, 25) + SourceIndex(0) +13>Emitted(41, 72) Source(58, 46) + SourceIndex(0) +14>Emitted(41, 73) Source(58, 47) + SourceIndex(0) +15>Emitted(41, 76) Source(58, 50) + SourceIndex(0) +16>Emitted(41, 77) Source(58, 51) + SourceIndex(0) +17>Emitted(41, 79) Source(58, 53) + SourceIndex(0) +18>Emitted(41, 80) Source(58, 54) + SourceIndex(0) +19>Emitted(41, 83) Source(58, 57) + SourceIndex(0) +20>Emitted(41, 84) Source(58, 58) + SourceIndex(0) +21>Emitted(41, 86) Source(58, 60) + SourceIndex(0) +22>Emitted(41, 87) Source(58, 61) + SourceIndex(0) +23>Emitted(41, 89) Source(58, 63) + SourceIndex(0) +24>Emitted(41, 91) Source(58, 65) + SourceIndex(0) +25>Emitted(41, 92) Source(58, 66) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1711,14 +1712,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameB 7 > ) 8 > ; -1 >Emitted(41, 5) Source(59, 5) + SourceIndex(0) -2 >Emitted(41, 12) Source(59, 12) + SourceIndex(0) -3 >Emitted(41, 13) Source(59, 13) + SourceIndex(0) -4 >Emitted(41, 16) Source(59, 16) + SourceIndex(0) -5 >Emitted(41, 17) Source(59, 17) + SourceIndex(0) -6 >Emitted(41, 22) Source(59, 22) + SourceIndex(0) -7 >Emitted(41, 23) Source(59, 23) + SourceIndex(0) -8 >Emitted(41, 24) Source(59, 24) + SourceIndex(0) +1 >Emitted(42, 5) Source(59, 5) + SourceIndex(0) +2 >Emitted(42, 12) Source(59, 12) + SourceIndex(0) +3 >Emitted(42, 13) Source(59, 13) + SourceIndex(0) +4 >Emitted(42, 16) Source(59, 16) + SourceIndex(0) +5 >Emitted(42, 17) Source(59, 17) + SourceIndex(0) +6 >Emitted(42, 22) Source(59, 22) + SourceIndex(0) +7 >Emitted(42, 23) Source(59, 23) + SourceIndex(0) +8 >Emitted(42, 24) Source(59, 24) + SourceIndex(0) --- >>>} 1 > @@ -1727,8 +1728,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(42, 1) Source(60, 1) + SourceIndex(0) -2 >Emitted(42, 2) Source(60, 2) + SourceIndex(0) +1 >Emitted(43, 1) Source(60, 1) + SourceIndex(0) +2 >Emitted(43, 2) Source(60, 2) + SourceIndex(0) --- >>>for (var _0 = ["trimmer", ["trimming", "edging"]][0], nameB = _0 === void 0 ? "name" : _0, i = 0; i < 1; i++) { 1-> @@ -1796,38 +1797,38 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 30> ++ 31> ) 32> { -1->Emitted(43, 1) Source(61, 1) + SourceIndex(0) -2 >Emitted(43, 6) Source(61, 11) + SourceIndex(0) -3 >Emitted(43, 10) Source(61, 11) + SourceIndex(0) -4 >Emitted(43, 15) Source(61, 29) + SourceIndex(0) -5 >Emitted(43, 16) Source(61, 30) + SourceIndex(0) -6 >Emitted(43, 25) Source(61, 39) + SourceIndex(0) -7 >Emitted(43, 27) Source(61, 41) + SourceIndex(0) -8 >Emitted(43, 28) Source(61, 42) + SourceIndex(0) -9 >Emitted(43, 38) Source(61, 52) + SourceIndex(0) -10>Emitted(43, 40) Source(61, 54) + SourceIndex(0) -11>Emitted(43, 48) Source(61, 62) + SourceIndex(0) -12>Emitted(43, 49) Source(61, 63) + SourceIndex(0) -13>Emitted(43, 50) Source(61, 64) + SourceIndex(0) -14>Emitted(43, 53) Source(61, 25) + SourceIndex(0) -15>Emitted(43, 55) Source(61, 11) + SourceIndex(0) -16>Emitted(43, 60) Source(61, 16) + SourceIndex(0) -17>Emitted(43, 79) Source(61, 19) + SourceIndex(0) -18>Emitted(43, 85) Source(61, 25) + SourceIndex(0) -19>Emitted(43, 90) Source(61, 25) + SourceIndex(0) -20>Emitted(43, 92) Source(61, 66) + SourceIndex(0) -21>Emitted(43, 93) Source(61, 67) + SourceIndex(0) -22>Emitted(43, 96) Source(61, 70) + SourceIndex(0) -23>Emitted(43, 97) Source(61, 71) + SourceIndex(0) -24>Emitted(43, 99) Source(61, 73) + SourceIndex(0) -25>Emitted(43, 100) Source(61, 74) + SourceIndex(0) -26>Emitted(43, 103) Source(61, 77) + SourceIndex(0) -27>Emitted(43, 104) Source(61, 78) + SourceIndex(0) -28>Emitted(43, 106) Source(61, 80) + SourceIndex(0) -29>Emitted(43, 107) Source(61, 81) + SourceIndex(0) -30>Emitted(43, 109) Source(61, 83) + SourceIndex(0) -31>Emitted(43, 111) Source(61, 85) + SourceIndex(0) -32>Emitted(43, 112) Source(61, 86) + SourceIndex(0) +1->Emitted(44, 1) Source(61, 1) + SourceIndex(0) +2 >Emitted(44, 6) Source(61, 11) + SourceIndex(0) +3 >Emitted(44, 10) Source(61, 11) + SourceIndex(0) +4 >Emitted(44, 15) Source(61, 29) + SourceIndex(0) +5 >Emitted(44, 16) Source(61, 30) + SourceIndex(0) +6 >Emitted(44, 25) Source(61, 39) + SourceIndex(0) +7 >Emitted(44, 27) Source(61, 41) + SourceIndex(0) +8 >Emitted(44, 28) Source(61, 42) + SourceIndex(0) +9 >Emitted(44, 38) Source(61, 52) + SourceIndex(0) +10>Emitted(44, 40) Source(61, 54) + SourceIndex(0) +11>Emitted(44, 48) Source(61, 62) + SourceIndex(0) +12>Emitted(44, 49) Source(61, 63) + SourceIndex(0) +13>Emitted(44, 50) Source(61, 64) + SourceIndex(0) +14>Emitted(44, 53) Source(61, 25) + SourceIndex(0) +15>Emitted(44, 55) Source(61, 11) + SourceIndex(0) +16>Emitted(44, 60) Source(61, 16) + SourceIndex(0) +17>Emitted(44, 79) Source(61, 19) + SourceIndex(0) +18>Emitted(44, 85) Source(61, 25) + SourceIndex(0) +19>Emitted(44, 90) Source(61, 25) + SourceIndex(0) +20>Emitted(44, 92) Source(61, 66) + SourceIndex(0) +21>Emitted(44, 93) Source(61, 67) + SourceIndex(0) +22>Emitted(44, 96) Source(61, 70) + SourceIndex(0) +23>Emitted(44, 97) Source(61, 71) + SourceIndex(0) +24>Emitted(44, 99) Source(61, 73) + SourceIndex(0) +25>Emitted(44, 100) Source(61, 74) + SourceIndex(0) +26>Emitted(44, 103) Source(61, 77) + SourceIndex(0) +27>Emitted(44, 104) Source(61, 78) + SourceIndex(0) +28>Emitted(44, 106) Source(61, 80) + SourceIndex(0) +29>Emitted(44, 107) Source(61, 81) + SourceIndex(0) +30>Emitted(44, 109) Source(61, 83) + SourceIndex(0) +31>Emitted(44, 111) Source(61, 85) + SourceIndex(0) +32>Emitted(44, 112) Source(61, 86) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1847,14 +1848,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameB 7 > ) 8 > ; -1 >Emitted(44, 5) Source(62, 5) + SourceIndex(0) -2 >Emitted(44, 12) Source(62, 12) + SourceIndex(0) -3 >Emitted(44, 13) Source(62, 13) + SourceIndex(0) -4 >Emitted(44, 16) Source(62, 16) + SourceIndex(0) -5 >Emitted(44, 17) Source(62, 17) + SourceIndex(0) -6 >Emitted(44, 22) Source(62, 22) + SourceIndex(0) -7 >Emitted(44, 23) Source(62, 23) + SourceIndex(0) -8 >Emitted(44, 24) Source(62, 24) + SourceIndex(0) +1 >Emitted(45, 5) Source(62, 5) + SourceIndex(0) +2 >Emitted(45, 12) Source(62, 12) + SourceIndex(0) +3 >Emitted(45, 13) Source(62, 13) + SourceIndex(0) +4 >Emitted(45, 16) Source(62, 16) + SourceIndex(0) +5 >Emitted(45, 17) Source(62, 17) + SourceIndex(0) +6 >Emitted(45, 22) Source(62, 22) + SourceIndex(0) +7 >Emitted(45, 23) Source(62, 23) + SourceIndex(0) +8 >Emitted(45, 24) Source(62, 24) + SourceIndex(0) --- >>>} 1 > @@ -1863,8 +1864,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(45, 1) Source(63, 1) + SourceIndex(0) -2 >Emitted(45, 2) Source(63, 2) + SourceIndex(0) +1 >Emitted(46, 1) Source(63, 1) + SourceIndex(0) +2 >Emitted(46, 2) Source(63, 2) + SourceIndex(0) --- >>>for (var _1 = robotA[0], numberA2 = _1 === void 0 ? -1 : _1, _2 = robotA[1], nameA2 = _2 === void 0 ? "name" : _2, _3 = robotA[2], skillA2 = _3 === void 0 ? "skill" : _3, i = 0; i < 1; i++) { 1-> @@ -1955,49 +1956,49 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 41> ++ 42> ) 43> { -1->Emitted(46, 1) Source(65, 1) + SourceIndex(0) -2 >Emitted(46, 6) Source(65, 11) + SourceIndex(0) -3 >Emitted(46, 10) Source(65, 11) + SourceIndex(0) -4 >Emitted(46, 15) Source(65, 64) + SourceIndex(0) -5 >Emitted(46, 21) Source(65, 70) + SourceIndex(0) -6 >Emitted(46, 24) Source(65, 24) + SourceIndex(0) -7 >Emitted(46, 26) Source(65, 11) + SourceIndex(0) -8 >Emitted(46, 34) Source(65, 19) + SourceIndex(0) -9 >Emitted(46, 53) Source(65, 22) + SourceIndex(0) -10>Emitted(46, 54) Source(65, 23) + SourceIndex(0) -11>Emitted(46, 55) Source(65, 24) + SourceIndex(0) -12>Emitted(46, 60) Source(65, 24) + SourceIndex(0) -13>Emitted(46, 62) Source(65, 26) + SourceIndex(0) -14>Emitted(46, 67) Source(65, 64) + SourceIndex(0) -15>Emitted(46, 73) Source(65, 70) + SourceIndex(0) -16>Emitted(46, 76) Source(65, 41) + SourceIndex(0) -17>Emitted(46, 78) Source(65, 26) + SourceIndex(0) -18>Emitted(46, 84) Source(65, 32) + SourceIndex(0) -19>Emitted(46, 103) Source(65, 35) + SourceIndex(0) -20>Emitted(46, 109) Source(65, 41) + SourceIndex(0) -21>Emitted(46, 114) Source(65, 41) + SourceIndex(0) -22>Emitted(46, 116) Source(65, 43) + SourceIndex(0) -23>Emitted(46, 121) Source(65, 64) + SourceIndex(0) -24>Emitted(46, 127) Source(65, 70) + SourceIndex(0) -25>Emitted(46, 130) Source(65, 60) + SourceIndex(0) -26>Emitted(46, 132) Source(65, 43) + SourceIndex(0) -27>Emitted(46, 139) Source(65, 50) + SourceIndex(0) -28>Emitted(46, 158) Source(65, 53) + SourceIndex(0) -29>Emitted(46, 165) Source(65, 60) + SourceIndex(0) -30>Emitted(46, 170) Source(65, 60) + SourceIndex(0) -31>Emitted(46, 172) Source(65, 72) + SourceIndex(0) -32>Emitted(46, 173) Source(65, 73) + SourceIndex(0) -33>Emitted(46, 176) Source(65, 76) + SourceIndex(0) -34>Emitted(46, 177) Source(65, 77) + SourceIndex(0) -35>Emitted(46, 179) Source(65, 79) + SourceIndex(0) -36>Emitted(46, 180) Source(65, 80) + SourceIndex(0) -37>Emitted(46, 183) Source(65, 83) + SourceIndex(0) -38>Emitted(46, 184) Source(65, 84) + SourceIndex(0) -39>Emitted(46, 186) Source(65, 86) + SourceIndex(0) -40>Emitted(46, 187) Source(65, 87) + SourceIndex(0) -41>Emitted(46, 189) Source(65, 89) + SourceIndex(0) -42>Emitted(46, 191) Source(65, 91) + SourceIndex(0) -43>Emitted(46, 192) Source(65, 92) + SourceIndex(0) +1->Emitted(47, 1) Source(65, 1) + SourceIndex(0) +2 >Emitted(47, 6) Source(65, 11) + SourceIndex(0) +3 >Emitted(47, 10) Source(65, 11) + SourceIndex(0) +4 >Emitted(47, 15) Source(65, 64) + SourceIndex(0) +5 >Emitted(47, 21) Source(65, 70) + SourceIndex(0) +6 >Emitted(47, 24) Source(65, 24) + SourceIndex(0) +7 >Emitted(47, 26) Source(65, 11) + SourceIndex(0) +8 >Emitted(47, 34) Source(65, 19) + SourceIndex(0) +9 >Emitted(47, 53) Source(65, 22) + SourceIndex(0) +10>Emitted(47, 54) Source(65, 23) + SourceIndex(0) +11>Emitted(47, 55) Source(65, 24) + SourceIndex(0) +12>Emitted(47, 60) Source(65, 24) + SourceIndex(0) +13>Emitted(47, 62) Source(65, 26) + SourceIndex(0) +14>Emitted(47, 67) Source(65, 64) + SourceIndex(0) +15>Emitted(47, 73) Source(65, 70) + SourceIndex(0) +16>Emitted(47, 76) Source(65, 41) + SourceIndex(0) +17>Emitted(47, 78) Source(65, 26) + SourceIndex(0) +18>Emitted(47, 84) Source(65, 32) + SourceIndex(0) +19>Emitted(47, 103) Source(65, 35) + SourceIndex(0) +20>Emitted(47, 109) Source(65, 41) + SourceIndex(0) +21>Emitted(47, 114) Source(65, 41) + SourceIndex(0) +22>Emitted(47, 116) Source(65, 43) + SourceIndex(0) +23>Emitted(47, 121) Source(65, 64) + SourceIndex(0) +24>Emitted(47, 127) Source(65, 70) + SourceIndex(0) +25>Emitted(47, 130) Source(65, 60) + SourceIndex(0) +26>Emitted(47, 132) Source(65, 43) + SourceIndex(0) +27>Emitted(47, 139) Source(65, 50) + SourceIndex(0) +28>Emitted(47, 158) Source(65, 53) + SourceIndex(0) +29>Emitted(47, 165) Source(65, 60) + SourceIndex(0) +30>Emitted(47, 170) Source(65, 60) + SourceIndex(0) +31>Emitted(47, 172) Source(65, 72) + SourceIndex(0) +32>Emitted(47, 173) Source(65, 73) + SourceIndex(0) +33>Emitted(47, 176) Source(65, 76) + SourceIndex(0) +34>Emitted(47, 177) Source(65, 77) + SourceIndex(0) +35>Emitted(47, 179) Source(65, 79) + SourceIndex(0) +36>Emitted(47, 180) Source(65, 80) + SourceIndex(0) +37>Emitted(47, 183) Source(65, 83) + SourceIndex(0) +38>Emitted(47, 184) Source(65, 84) + SourceIndex(0) +39>Emitted(47, 186) Source(65, 86) + SourceIndex(0) +40>Emitted(47, 187) Source(65, 87) + SourceIndex(0) +41>Emitted(47, 189) Source(65, 89) + SourceIndex(0) +42>Emitted(47, 191) Source(65, 91) + SourceIndex(0) +43>Emitted(47, 192) Source(65, 92) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -2017,14 +2018,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameA2 7 > ) 8 > ; -1 >Emitted(47, 5) Source(66, 5) + SourceIndex(0) -2 >Emitted(47, 12) Source(66, 12) + SourceIndex(0) -3 >Emitted(47, 13) Source(66, 13) + SourceIndex(0) -4 >Emitted(47, 16) Source(66, 16) + SourceIndex(0) -5 >Emitted(47, 17) Source(66, 17) + SourceIndex(0) -6 >Emitted(47, 23) Source(66, 23) + SourceIndex(0) -7 >Emitted(47, 24) Source(66, 24) + SourceIndex(0) -8 >Emitted(47, 25) Source(66, 25) + SourceIndex(0) +1 >Emitted(48, 5) Source(66, 5) + SourceIndex(0) +2 >Emitted(48, 12) Source(66, 12) + SourceIndex(0) +3 >Emitted(48, 13) Source(66, 13) + SourceIndex(0) +4 >Emitted(48, 16) Source(66, 16) + SourceIndex(0) +5 >Emitted(48, 17) Source(66, 17) + SourceIndex(0) +6 >Emitted(48, 23) Source(66, 23) + SourceIndex(0) +7 >Emitted(48, 24) Source(66, 24) + SourceIndex(0) +8 >Emitted(48, 25) Source(66, 25) + SourceIndex(0) --- >>>} 1 > @@ -2033,8 +2034,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(48, 1) Source(67, 1) + SourceIndex(0) -2 >Emitted(48, 2) Source(67, 2) + SourceIndex(0) +1 >Emitted(49, 1) Source(67, 1) + SourceIndex(0) +2 >Emitted(49, 2) Source(67, 2) + SourceIndex(0) --- >>>for (var _4 = getRobot(), _5 = _4[0], numberA2 = _5 === void 0 ? -1 : _5, _6 = _4[1], nameA2 = _6 === void 0 ? "name" : _6, _7 = _4[2], skillA2 = _7 === void 0 ? "skill" : _7, i = 0; i < 1; i++) { 1-> @@ -2120,47 +2121,47 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 39> ++ 40> ) 41> { -1->Emitted(49, 1) Source(68, 1) + SourceIndex(0) -2 >Emitted(49, 6) Source(68, 10) + SourceIndex(0) -3 >Emitted(49, 10) Source(68, 10) + SourceIndex(0) -4 >Emitted(49, 15) Source(68, 64) + SourceIndex(0) -5 >Emitted(49, 23) Source(68, 72) + SourceIndex(0) -6 >Emitted(49, 25) Source(68, 74) + SourceIndex(0) -7 >Emitted(49, 27) Source(68, 11) + SourceIndex(0) -8 >Emitted(49, 37) Source(68, 24) + SourceIndex(0) -9 >Emitted(49, 39) Source(68, 11) + SourceIndex(0) -10>Emitted(49, 47) Source(68, 19) + SourceIndex(0) -11>Emitted(49, 66) Source(68, 22) + SourceIndex(0) -12>Emitted(49, 67) Source(68, 23) + SourceIndex(0) -13>Emitted(49, 68) Source(68, 24) + SourceIndex(0) -14>Emitted(49, 73) Source(68, 24) + SourceIndex(0) -15>Emitted(49, 75) Source(68, 26) + SourceIndex(0) -16>Emitted(49, 85) Source(68, 41) + SourceIndex(0) -17>Emitted(49, 87) Source(68, 26) + SourceIndex(0) -18>Emitted(49, 93) Source(68, 32) + SourceIndex(0) -19>Emitted(49, 112) Source(68, 35) + SourceIndex(0) -20>Emitted(49, 118) Source(68, 41) + SourceIndex(0) -21>Emitted(49, 123) Source(68, 41) + SourceIndex(0) -22>Emitted(49, 125) Source(68, 43) + SourceIndex(0) -23>Emitted(49, 135) Source(68, 60) + SourceIndex(0) -24>Emitted(49, 137) Source(68, 43) + SourceIndex(0) -25>Emitted(49, 144) Source(68, 50) + SourceIndex(0) -26>Emitted(49, 163) Source(68, 53) + SourceIndex(0) -27>Emitted(49, 170) Source(68, 60) + SourceIndex(0) -28>Emitted(49, 175) Source(68, 60) + SourceIndex(0) -29>Emitted(49, 177) Source(68, 76) + SourceIndex(0) -30>Emitted(49, 178) Source(68, 77) + SourceIndex(0) -31>Emitted(49, 181) Source(68, 80) + SourceIndex(0) -32>Emitted(49, 182) Source(68, 81) + SourceIndex(0) -33>Emitted(49, 184) Source(68, 83) + SourceIndex(0) -34>Emitted(49, 185) Source(68, 84) + SourceIndex(0) -35>Emitted(49, 188) Source(68, 87) + SourceIndex(0) -36>Emitted(49, 189) Source(68, 88) + SourceIndex(0) -37>Emitted(49, 191) Source(68, 90) + SourceIndex(0) -38>Emitted(49, 192) Source(68, 91) + SourceIndex(0) -39>Emitted(49, 194) Source(68, 93) + SourceIndex(0) -40>Emitted(49, 196) Source(68, 95) + SourceIndex(0) -41>Emitted(49, 197) Source(68, 96) + SourceIndex(0) +1->Emitted(50, 1) Source(68, 1) + SourceIndex(0) +2 >Emitted(50, 6) Source(68, 10) + SourceIndex(0) +3 >Emitted(50, 10) Source(68, 10) + SourceIndex(0) +4 >Emitted(50, 15) Source(68, 64) + SourceIndex(0) +5 >Emitted(50, 23) Source(68, 72) + SourceIndex(0) +6 >Emitted(50, 25) Source(68, 74) + SourceIndex(0) +7 >Emitted(50, 27) Source(68, 11) + SourceIndex(0) +8 >Emitted(50, 37) Source(68, 24) + SourceIndex(0) +9 >Emitted(50, 39) Source(68, 11) + SourceIndex(0) +10>Emitted(50, 47) Source(68, 19) + SourceIndex(0) +11>Emitted(50, 66) Source(68, 22) + SourceIndex(0) +12>Emitted(50, 67) Source(68, 23) + SourceIndex(0) +13>Emitted(50, 68) Source(68, 24) + SourceIndex(0) +14>Emitted(50, 73) Source(68, 24) + SourceIndex(0) +15>Emitted(50, 75) Source(68, 26) + SourceIndex(0) +16>Emitted(50, 85) Source(68, 41) + SourceIndex(0) +17>Emitted(50, 87) Source(68, 26) + SourceIndex(0) +18>Emitted(50, 93) Source(68, 32) + SourceIndex(0) +19>Emitted(50, 112) Source(68, 35) + SourceIndex(0) +20>Emitted(50, 118) Source(68, 41) + SourceIndex(0) +21>Emitted(50, 123) Source(68, 41) + SourceIndex(0) +22>Emitted(50, 125) Source(68, 43) + SourceIndex(0) +23>Emitted(50, 135) Source(68, 60) + SourceIndex(0) +24>Emitted(50, 137) Source(68, 43) + SourceIndex(0) +25>Emitted(50, 144) Source(68, 50) + SourceIndex(0) +26>Emitted(50, 163) Source(68, 53) + SourceIndex(0) +27>Emitted(50, 170) Source(68, 60) + SourceIndex(0) +28>Emitted(50, 175) Source(68, 60) + SourceIndex(0) +29>Emitted(50, 177) Source(68, 76) + SourceIndex(0) +30>Emitted(50, 178) Source(68, 77) + SourceIndex(0) +31>Emitted(50, 181) Source(68, 80) + SourceIndex(0) +32>Emitted(50, 182) Source(68, 81) + SourceIndex(0) +33>Emitted(50, 184) Source(68, 83) + SourceIndex(0) +34>Emitted(50, 185) Source(68, 84) + SourceIndex(0) +35>Emitted(50, 188) Source(68, 87) + SourceIndex(0) +36>Emitted(50, 189) Source(68, 88) + SourceIndex(0) +37>Emitted(50, 191) Source(68, 90) + SourceIndex(0) +38>Emitted(50, 192) Source(68, 91) + SourceIndex(0) +39>Emitted(50, 194) Source(68, 93) + SourceIndex(0) +40>Emitted(50, 196) Source(68, 95) + SourceIndex(0) +41>Emitted(50, 197) Source(68, 96) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -2180,14 +2181,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameA2 7 > ) 8 > ; -1 >Emitted(50, 5) Source(69, 5) + SourceIndex(0) -2 >Emitted(50, 12) Source(69, 12) + SourceIndex(0) -3 >Emitted(50, 13) Source(69, 13) + SourceIndex(0) -4 >Emitted(50, 16) Source(69, 16) + SourceIndex(0) -5 >Emitted(50, 17) Source(69, 17) + SourceIndex(0) -6 >Emitted(50, 23) Source(69, 23) + SourceIndex(0) -7 >Emitted(50, 24) Source(69, 24) + SourceIndex(0) -8 >Emitted(50, 25) Source(69, 25) + SourceIndex(0) +1 >Emitted(51, 5) Source(69, 5) + SourceIndex(0) +2 >Emitted(51, 12) Source(69, 12) + SourceIndex(0) +3 >Emitted(51, 13) Source(69, 13) + SourceIndex(0) +4 >Emitted(51, 16) Source(69, 16) + SourceIndex(0) +5 >Emitted(51, 17) Source(69, 17) + SourceIndex(0) +6 >Emitted(51, 23) Source(69, 23) + SourceIndex(0) +7 >Emitted(51, 24) Source(69, 24) + SourceIndex(0) +8 >Emitted(51, 25) Source(69, 25) + SourceIndex(0) --- >>>} 1 > @@ -2196,8 +2197,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(51, 1) Source(70, 1) + SourceIndex(0) -2 >Emitted(51, 2) Source(70, 2) + SourceIndex(0) +1 >Emitted(52, 1) Source(70, 1) + SourceIndex(0) +2 >Emitted(52, 2) Source(70, 2) + SourceIndex(0) --- >>>for (var _8 = [2, "trimmer", "trimming"], _9 = _8[0], numberA2 = _9 === void 0 ? -1 : _9, _10 = _8[1], nameA2 = _10 === void 0 ? "name" : _10, _11 = _8[2], skillA2 = _11 === void 0 ? "skill" : _11, i = 0; i < 1; i++) { 1-> @@ -2293,52 +2294,52 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 44> ++ 45> ) 46> { -1->Emitted(52, 1) Source(71, 1) + SourceIndex(0) -2 >Emitted(52, 6) Source(71, 10) + SourceIndex(0) -3 >Emitted(52, 10) Source(71, 10) + SourceIndex(0) -4 >Emitted(52, 15) Source(71, 64) + SourceIndex(0) -5 >Emitted(52, 16) Source(71, 65) + SourceIndex(0) -6 >Emitted(52, 17) Source(71, 66) + SourceIndex(0) -7 >Emitted(52, 19) Source(71, 68) + SourceIndex(0) -8 >Emitted(52, 28) Source(71, 77) + SourceIndex(0) -9 >Emitted(52, 30) Source(71, 79) + SourceIndex(0) -10>Emitted(52, 40) Source(71, 89) + SourceIndex(0) -11>Emitted(52, 41) Source(71, 90) + SourceIndex(0) -12>Emitted(52, 43) Source(71, 11) + SourceIndex(0) -13>Emitted(52, 53) Source(71, 24) + SourceIndex(0) -14>Emitted(52, 55) Source(71, 11) + SourceIndex(0) -15>Emitted(52, 63) Source(71, 19) + SourceIndex(0) -16>Emitted(52, 82) Source(71, 22) + SourceIndex(0) -17>Emitted(52, 83) Source(71, 23) + SourceIndex(0) -18>Emitted(52, 84) Source(71, 24) + SourceIndex(0) -19>Emitted(52, 89) Source(71, 24) + SourceIndex(0) -20>Emitted(52, 91) Source(71, 26) + SourceIndex(0) -21>Emitted(52, 102) Source(71, 41) + SourceIndex(0) -22>Emitted(52, 104) Source(71, 26) + SourceIndex(0) -23>Emitted(52, 110) Source(71, 32) + SourceIndex(0) -24>Emitted(52, 130) Source(71, 35) + SourceIndex(0) -25>Emitted(52, 136) Source(71, 41) + SourceIndex(0) -26>Emitted(52, 142) Source(71, 41) + SourceIndex(0) -27>Emitted(52, 144) Source(71, 43) + SourceIndex(0) -28>Emitted(52, 155) Source(71, 60) + SourceIndex(0) -29>Emitted(52, 157) Source(71, 43) + SourceIndex(0) -30>Emitted(52, 164) Source(71, 50) + SourceIndex(0) -31>Emitted(52, 184) Source(71, 53) + SourceIndex(0) -32>Emitted(52, 191) Source(71, 60) + SourceIndex(0) -33>Emitted(52, 197) Source(71, 60) + SourceIndex(0) -34>Emitted(52, 199) Source(71, 92) + SourceIndex(0) -35>Emitted(52, 200) Source(71, 93) + SourceIndex(0) -36>Emitted(52, 203) Source(71, 96) + SourceIndex(0) -37>Emitted(52, 204) Source(71, 97) + SourceIndex(0) -38>Emitted(52, 206) Source(71, 99) + SourceIndex(0) -39>Emitted(52, 207) Source(71, 100) + SourceIndex(0) -40>Emitted(52, 210) Source(71, 103) + SourceIndex(0) -41>Emitted(52, 211) Source(71, 104) + SourceIndex(0) -42>Emitted(52, 213) Source(71, 106) + SourceIndex(0) -43>Emitted(52, 214) Source(71, 107) + SourceIndex(0) -44>Emitted(52, 216) Source(71, 109) + SourceIndex(0) -45>Emitted(52, 218) Source(71, 111) + SourceIndex(0) -46>Emitted(52, 219) Source(71, 112) + SourceIndex(0) +1->Emitted(53, 1) Source(71, 1) + SourceIndex(0) +2 >Emitted(53, 6) Source(71, 10) + SourceIndex(0) +3 >Emitted(53, 10) Source(71, 10) + SourceIndex(0) +4 >Emitted(53, 15) Source(71, 64) + SourceIndex(0) +5 >Emitted(53, 16) Source(71, 65) + SourceIndex(0) +6 >Emitted(53, 17) Source(71, 66) + SourceIndex(0) +7 >Emitted(53, 19) Source(71, 68) + SourceIndex(0) +8 >Emitted(53, 28) Source(71, 77) + SourceIndex(0) +9 >Emitted(53, 30) Source(71, 79) + SourceIndex(0) +10>Emitted(53, 40) Source(71, 89) + SourceIndex(0) +11>Emitted(53, 41) Source(71, 90) + SourceIndex(0) +12>Emitted(53, 43) Source(71, 11) + SourceIndex(0) +13>Emitted(53, 53) Source(71, 24) + SourceIndex(0) +14>Emitted(53, 55) Source(71, 11) + SourceIndex(0) +15>Emitted(53, 63) Source(71, 19) + SourceIndex(0) +16>Emitted(53, 82) Source(71, 22) + SourceIndex(0) +17>Emitted(53, 83) Source(71, 23) + SourceIndex(0) +18>Emitted(53, 84) Source(71, 24) + SourceIndex(0) +19>Emitted(53, 89) Source(71, 24) + SourceIndex(0) +20>Emitted(53, 91) Source(71, 26) + SourceIndex(0) +21>Emitted(53, 102) Source(71, 41) + SourceIndex(0) +22>Emitted(53, 104) Source(71, 26) + SourceIndex(0) +23>Emitted(53, 110) Source(71, 32) + SourceIndex(0) +24>Emitted(53, 130) Source(71, 35) + SourceIndex(0) +25>Emitted(53, 136) Source(71, 41) + SourceIndex(0) +26>Emitted(53, 142) Source(71, 41) + SourceIndex(0) +27>Emitted(53, 144) Source(71, 43) + SourceIndex(0) +28>Emitted(53, 155) Source(71, 60) + SourceIndex(0) +29>Emitted(53, 157) Source(71, 43) + SourceIndex(0) +30>Emitted(53, 164) Source(71, 50) + SourceIndex(0) +31>Emitted(53, 184) Source(71, 53) + SourceIndex(0) +32>Emitted(53, 191) Source(71, 60) + SourceIndex(0) +33>Emitted(53, 197) Source(71, 60) + SourceIndex(0) +34>Emitted(53, 199) Source(71, 92) + SourceIndex(0) +35>Emitted(53, 200) Source(71, 93) + SourceIndex(0) +36>Emitted(53, 203) Source(71, 96) + SourceIndex(0) +37>Emitted(53, 204) Source(71, 97) + SourceIndex(0) +38>Emitted(53, 206) Source(71, 99) + SourceIndex(0) +39>Emitted(53, 207) Source(71, 100) + SourceIndex(0) +40>Emitted(53, 210) Source(71, 103) + SourceIndex(0) +41>Emitted(53, 211) Source(71, 104) + SourceIndex(0) +42>Emitted(53, 213) Source(71, 106) + SourceIndex(0) +43>Emitted(53, 214) Source(71, 107) + SourceIndex(0) +44>Emitted(53, 216) Source(71, 109) + SourceIndex(0) +45>Emitted(53, 218) Source(71, 111) + SourceIndex(0) +46>Emitted(53, 219) Source(71, 112) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -2358,14 +2359,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameA2 7 > ) 8 > ; -1 >Emitted(53, 5) Source(72, 5) + SourceIndex(0) -2 >Emitted(53, 12) Source(72, 12) + SourceIndex(0) -3 >Emitted(53, 13) Source(72, 13) + SourceIndex(0) -4 >Emitted(53, 16) Source(72, 16) + SourceIndex(0) -5 >Emitted(53, 17) Source(72, 17) + SourceIndex(0) -6 >Emitted(53, 23) Source(72, 23) + SourceIndex(0) -7 >Emitted(53, 24) Source(72, 24) + SourceIndex(0) -8 >Emitted(53, 25) Source(72, 25) + SourceIndex(0) +1 >Emitted(54, 5) Source(72, 5) + SourceIndex(0) +2 >Emitted(54, 12) Source(72, 12) + SourceIndex(0) +3 >Emitted(54, 13) Source(72, 13) + SourceIndex(0) +4 >Emitted(54, 16) Source(72, 16) + SourceIndex(0) +5 >Emitted(54, 17) Source(72, 17) + SourceIndex(0) +6 >Emitted(54, 23) Source(72, 23) + SourceIndex(0) +7 >Emitted(54, 24) Source(72, 24) + SourceIndex(0) +8 >Emitted(54, 25) Source(72, 25) + SourceIndex(0) --- >>>} 1 > @@ -2374,8 +2375,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(54, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(54, 2) Source(73, 2) + SourceIndex(0) +1 >Emitted(55, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(55, 2) Source(73, 2) + SourceIndex(0) --- >>>for (var _12 = multiRobotA[0], nameMA = _12 === void 0 ? "noName" : _12, _13 = multiRobotA[1], _14 = _13 === void 0 ? ["none", "none"] : _13, _15 = _14[0], primarySkillA = _15 === void 0 ? "primary" : _15, _16 = _14[1], secondarySkillA = _16 === void 0 ? "secondary" : _16, i = 0; i < 1; i++) { 1-> @@ -2496,56 +2497,56 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 48> ++ 49> ) 50> { -1->Emitted(55, 1) Source(74, 1) + SourceIndex(0) -2 >Emitted(55, 6) Source(75, 6) + SourceIndex(0) -3 >Emitted(55, 10) Source(75, 6) + SourceIndex(0) -4 >Emitted(55, 16) Source(80, 9) + SourceIndex(0) -5 >Emitted(55, 27) Source(80, 20) + SourceIndex(0) -6 >Emitted(55, 30) Source(75, 23) + SourceIndex(0) -7 >Emitted(55, 32) Source(75, 6) + SourceIndex(0) -8 >Emitted(55, 38) Source(75, 12) + SourceIndex(0) -9 >Emitted(55, 58) Source(75, 15) + SourceIndex(0) -10>Emitted(55, 66) Source(75, 23) + SourceIndex(0) -11>Emitted(55, 72) Source(75, 23) + SourceIndex(0) -12>Emitted(55, 74) Source(76, 9) + SourceIndex(0) -13>Emitted(55, 80) Source(80, 9) + SourceIndex(0) -14>Emitted(55, 91) Source(80, 20) + SourceIndex(0) -15>Emitted(55, 94) Source(79, 29) + SourceIndex(0) -16>Emitted(55, 96) Source(76, 9) + SourceIndex(0) -17>Emitted(55, 119) Source(79, 13) + SourceIndex(0) -18>Emitted(55, 120) Source(79, 14) + SourceIndex(0) -19>Emitted(55, 126) Source(79, 20) + SourceIndex(0) -20>Emitted(55, 128) Source(79, 22) + SourceIndex(0) -21>Emitted(55, 134) Source(79, 28) + SourceIndex(0) -22>Emitted(55, 135) Source(79, 29) + SourceIndex(0) -23>Emitted(55, 141) Source(79, 29) + SourceIndex(0) -24>Emitted(55, 143) Source(77, 13) + SourceIndex(0) -25>Emitted(55, 155) Source(77, 38) + SourceIndex(0) -26>Emitted(55, 157) Source(77, 13) + SourceIndex(0) -27>Emitted(55, 170) Source(77, 26) + SourceIndex(0) -28>Emitted(55, 190) Source(77, 29) + SourceIndex(0) -29>Emitted(55, 199) Source(77, 38) + SourceIndex(0) -30>Emitted(55, 205) Source(77, 38) + SourceIndex(0) -31>Emitted(55, 207) Source(78, 13) + SourceIndex(0) -32>Emitted(55, 219) Source(78, 42) + SourceIndex(0) -33>Emitted(55, 221) Source(78, 13) + SourceIndex(0) -34>Emitted(55, 236) Source(78, 28) + SourceIndex(0) -35>Emitted(55, 256) Source(78, 31) + SourceIndex(0) -36>Emitted(55, 267) Source(78, 42) + SourceIndex(0) -37>Emitted(55, 273) Source(78, 42) + SourceIndex(0) -38>Emitted(55, 275) Source(80, 22) + SourceIndex(0) -39>Emitted(55, 276) Source(80, 23) + SourceIndex(0) -40>Emitted(55, 279) Source(80, 26) + SourceIndex(0) -41>Emitted(55, 280) Source(80, 27) + SourceIndex(0) -42>Emitted(55, 282) Source(80, 29) + SourceIndex(0) -43>Emitted(55, 283) Source(80, 30) + SourceIndex(0) -44>Emitted(55, 286) Source(80, 33) + SourceIndex(0) -45>Emitted(55, 287) Source(80, 34) + SourceIndex(0) -46>Emitted(55, 289) Source(80, 36) + SourceIndex(0) -47>Emitted(55, 290) Source(80, 37) + SourceIndex(0) -48>Emitted(55, 292) Source(80, 39) + SourceIndex(0) -49>Emitted(55, 294) Source(80, 41) + SourceIndex(0) -50>Emitted(55, 295) Source(80, 42) + SourceIndex(0) +1->Emitted(56, 1) Source(74, 1) + SourceIndex(0) +2 >Emitted(56, 6) Source(75, 6) + SourceIndex(0) +3 >Emitted(56, 10) Source(75, 6) + SourceIndex(0) +4 >Emitted(56, 16) Source(80, 9) + SourceIndex(0) +5 >Emitted(56, 27) Source(80, 20) + SourceIndex(0) +6 >Emitted(56, 30) Source(75, 23) + SourceIndex(0) +7 >Emitted(56, 32) Source(75, 6) + SourceIndex(0) +8 >Emitted(56, 38) Source(75, 12) + SourceIndex(0) +9 >Emitted(56, 58) Source(75, 15) + SourceIndex(0) +10>Emitted(56, 66) Source(75, 23) + SourceIndex(0) +11>Emitted(56, 72) Source(75, 23) + SourceIndex(0) +12>Emitted(56, 74) Source(76, 9) + SourceIndex(0) +13>Emitted(56, 80) Source(80, 9) + SourceIndex(0) +14>Emitted(56, 91) Source(80, 20) + SourceIndex(0) +15>Emitted(56, 94) Source(79, 29) + SourceIndex(0) +16>Emitted(56, 96) Source(76, 9) + SourceIndex(0) +17>Emitted(56, 119) Source(79, 13) + SourceIndex(0) +18>Emitted(56, 120) Source(79, 14) + SourceIndex(0) +19>Emitted(56, 126) Source(79, 20) + SourceIndex(0) +20>Emitted(56, 128) Source(79, 22) + SourceIndex(0) +21>Emitted(56, 134) Source(79, 28) + SourceIndex(0) +22>Emitted(56, 135) Source(79, 29) + SourceIndex(0) +23>Emitted(56, 141) Source(79, 29) + SourceIndex(0) +24>Emitted(56, 143) Source(77, 13) + SourceIndex(0) +25>Emitted(56, 155) Source(77, 38) + SourceIndex(0) +26>Emitted(56, 157) Source(77, 13) + SourceIndex(0) +27>Emitted(56, 170) Source(77, 26) + SourceIndex(0) +28>Emitted(56, 190) Source(77, 29) + SourceIndex(0) +29>Emitted(56, 199) Source(77, 38) + SourceIndex(0) +30>Emitted(56, 205) Source(77, 38) + SourceIndex(0) +31>Emitted(56, 207) Source(78, 13) + SourceIndex(0) +32>Emitted(56, 219) Source(78, 42) + SourceIndex(0) +33>Emitted(56, 221) Source(78, 13) + SourceIndex(0) +34>Emitted(56, 236) Source(78, 28) + SourceIndex(0) +35>Emitted(56, 256) Source(78, 31) + SourceIndex(0) +36>Emitted(56, 267) Source(78, 42) + SourceIndex(0) +37>Emitted(56, 273) Source(78, 42) + SourceIndex(0) +38>Emitted(56, 275) Source(80, 22) + SourceIndex(0) +39>Emitted(56, 276) Source(80, 23) + SourceIndex(0) +40>Emitted(56, 279) Source(80, 26) + SourceIndex(0) +41>Emitted(56, 280) Source(80, 27) + SourceIndex(0) +42>Emitted(56, 282) Source(80, 29) + SourceIndex(0) +43>Emitted(56, 283) Source(80, 30) + SourceIndex(0) +44>Emitted(56, 286) Source(80, 33) + SourceIndex(0) +45>Emitted(56, 287) Source(80, 34) + SourceIndex(0) +46>Emitted(56, 289) Source(80, 36) + SourceIndex(0) +47>Emitted(56, 290) Source(80, 37) + SourceIndex(0) +48>Emitted(56, 292) Source(80, 39) + SourceIndex(0) +49>Emitted(56, 294) Source(80, 41) + SourceIndex(0) +50>Emitted(56, 295) Source(80, 42) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2565,14 +2566,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameMA 7 > ) 8 > ; -1 >Emitted(56, 5) Source(81, 5) + SourceIndex(0) -2 >Emitted(56, 12) Source(81, 12) + SourceIndex(0) -3 >Emitted(56, 13) Source(81, 13) + SourceIndex(0) -4 >Emitted(56, 16) Source(81, 16) + SourceIndex(0) -5 >Emitted(56, 17) Source(81, 17) + SourceIndex(0) -6 >Emitted(56, 23) Source(81, 23) + SourceIndex(0) -7 >Emitted(56, 24) Source(81, 24) + SourceIndex(0) -8 >Emitted(56, 25) Source(81, 25) + SourceIndex(0) +1 >Emitted(57, 5) Source(81, 5) + SourceIndex(0) +2 >Emitted(57, 12) Source(81, 12) + SourceIndex(0) +3 >Emitted(57, 13) Source(81, 13) + SourceIndex(0) +4 >Emitted(57, 16) Source(81, 16) + SourceIndex(0) +5 >Emitted(57, 17) Source(81, 17) + SourceIndex(0) +6 >Emitted(57, 23) Source(81, 23) + SourceIndex(0) +7 >Emitted(57, 24) Source(81, 24) + SourceIndex(0) +8 >Emitted(57, 25) Source(81, 25) + SourceIndex(0) --- >>>} 1 > @@ -2581,8 +2582,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(57, 1) Source(82, 1) + SourceIndex(0) -2 >Emitted(57, 2) Source(82, 2) + SourceIndex(0) +1 >Emitted(58, 1) Source(82, 1) + SourceIndex(0) +2 >Emitted(58, 2) Source(82, 2) + SourceIndex(0) --- >>>for (var _17 = getMultiRobot(), _18 = _17[0], nameMA = _18 === void 0 ? "noName" : _18, _19 = _17[1], _20 = _19 === void 0 ? ["none", "none"] : _19, _21 = _20[0], primarySkillA = _21 === void 0 ? "primary" : _21, _22 = _20[1], secondarySkillA = _22 === void 0 ? "secondary" : _22, i = 0; i < 1; i++) { 1-> @@ -2701,56 +2702,56 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 48> ++ 49> ) 50> { -1->Emitted(58, 1) Source(83, 1) + SourceIndex(0) -2 >Emitted(58, 6) Source(83, 10) + SourceIndex(0) -3 >Emitted(58, 10) Source(83, 10) + SourceIndex(0) -4 >Emitted(58, 16) Source(88, 6) + SourceIndex(0) -5 >Emitted(58, 29) Source(88, 19) + SourceIndex(0) -6 >Emitted(58, 31) Source(88, 21) + SourceIndex(0) -7 >Emitted(58, 33) Source(83, 11) + SourceIndex(0) -8 >Emitted(58, 45) Source(83, 28) + SourceIndex(0) -9 >Emitted(58, 47) Source(83, 11) + SourceIndex(0) -10>Emitted(58, 53) Source(83, 17) + SourceIndex(0) -11>Emitted(58, 73) Source(83, 20) + SourceIndex(0) -12>Emitted(58, 81) Source(83, 28) + SourceIndex(0) -13>Emitted(58, 87) Source(83, 28) + SourceIndex(0) -14>Emitted(58, 89) Source(84, 5) + SourceIndex(0) -15>Emitted(58, 101) Source(87, 25) + SourceIndex(0) -16>Emitted(58, 103) Source(84, 5) + SourceIndex(0) -17>Emitted(58, 126) Source(87, 9) + SourceIndex(0) -18>Emitted(58, 127) Source(87, 10) + SourceIndex(0) -19>Emitted(58, 133) Source(87, 16) + SourceIndex(0) -20>Emitted(58, 135) Source(87, 18) + SourceIndex(0) -21>Emitted(58, 141) Source(87, 24) + SourceIndex(0) -22>Emitted(58, 142) Source(87, 25) + SourceIndex(0) -23>Emitted(58, 148) Source(87, 25) + SourceIndex(0) -24>Emitted(58, 150) Source(85, 9) + SourceIndex(0) -25>Emitted(58, 162) Source(85, 34) + SourceIndex(0) -26>Emitted(58, 164) Source(85, 9) + SourceIndex(0) -27>Emitted(58, 177) Source(85, 22) + SourceIndex(0) -28>Emitted(58, 197) Source(85, 25) + SourceIndex(0) -29>Emitted(58, 206) Source(85, 34) + SourceIndex(0) -30>Emitted(58, 212) Source(85, 34) + SourceIndex(0) -31>Emitted(58, 214) Source(86, 9) + SourceIndex(0) -32>Emitted(58, 226) Source(86, 38) + SourceIndex(0) -33>Emitted(58, 228) Source(86, 9) + SourceIndex(0) -34>Emitted(58, 243) Source(86, 24) + SourceIndex(0) -35>Emitted(58, 263) Source(86, 27) + SourceIndex(0) -36>Emitted(58, 274) Source(86, 38) + SourceIndex(0) -37>Emitted(58, 280) Source(86, 38) + SourceIndex(0) -38>Emitted(58, 282) Source(88, 23) + SourceIndex(0) -39>Emitted(58, 283) Source(88, 24) + SourceIndex(0) -40>Emitted(58, 286) Source(88, 27) + SourceIndex(0) -41>Emitted(58, 287) Source(88, 28) + SourceIndex(0) -42>Emitted(58, 289) Source(88, 30) + SourceIndex(0) -43>Emitted(58, 290) Source(88, 31) + SourceIndex(0) -44>Emitted(58, 293) Source(88, 34) + SourceIndex(0) -45>Emitted(58, 294) Source(88, 35) + SourceIndex(0) -46>Emitted(58, 296) Source(88, 37) + SourceIndex(0) -47>Emitted(58, 297) Source(88, 38) + SourceIndex(0) -48>Emitted(58, 299) Source(88, 40) + SourceIndex(0) -49>Emitted(58, 301) Source(88, 42) + SourceIndex(0) -50>Emitted(58, 302) Source(88, 43) + SourceIndex(0) +1->Emitted(59, 1) Source(83, 1) + SourceIndex(0) +2 >Emitted(59, 6) Source(83, 10) + SourceIndex(0) +3 >Emitted(59, 10) Source(83, 10) + SourceIndex(0) +4 >Emitted(59, 16) Source(88, 6) + SourceIndex(0) +5 >Emitted(59, 29) Source(88, 19) + SourceIndex(0) +6 >Emitted(59, 31) Source(88, 21) + SourceIndex(0) +7 >Emitted(59, 33) Source(83, 11) + SourceIndex(0) +8 >Emitted(59, 45) Source(83, 28) + SourceIndex(0) +9 >Emitted(59, 47) Source(83, 11) + SourceIndex(0) +10>Emitted(59, 53) Source(83, 17) + SourceIndex(0) +11>Emitted(59, 73) Source(83, 20) + SourceIndex(0) +12>Emitted(59, 81) Source(83, 28) + SourceIndex(0) +13>Emitted(59, 87) Source(83, 28) + SourceIndex(0) +14>Emitted(59, 89) Source(84, 5) + SourceIndex(0) +15>Emitted(59, 101) Source(87, 25) + SourceIndex(0) +16>Emitted(59, 103) Source(84, 5) + SourceIndex(0) +17>Emitted(59, 126) Source(87, 9) + SourceIndex(0) +18>Emitted(59, 127) Source(87, 10) + SourceIndex(0) +19>Emitted(59, 133) Source(87, 16) + SourceIndex(0) +20>Emitted(59, 135) Source(87, 18) + SourceIndex(0) +21>Emitted(59, 141) Source(87, 24) + SourceIndex(0) +22>Emitted(59, 142) Source(87, 25) + SourceIndex(0) +23>Emitted(59, 148) Source(87, 25) + SourceIndex(0) +24>Emitted(59, 150) Source(85, 9) + SourceIndex(0) +25>Emitted(59, 162) Source(85, 34) + SourceIndex(0) +26>Emitted(59, 164) Source(85, 9) + SourceIndex(0) +27>Emitted(59, 177) Source(85, 22) + SourceIndex(0) +28>Emitted(59, 197) Source(85, 25) + SourceIndex(0) +29>Emitted(59, 206) Source(85, 34) + SourceIndex(0) +30>Emitted(59, 212) Source(85, 34) + SourceIndex(0) +31>Emitted(59, 214) Source(86, 9) + SourceIndex(0) +32>Emitted(59, 226) Source(86, 38) + SourceIndex(0) +33>Emitted(59, 228) Source(86, 9) + SourceIndex(0) +34>Emitted(59, 243) Source(86, 24) + SourceIndex(0) +35>Emitted(59, 263) Source(86, 27) + SourceIndex(0) +36>Emitted(59, 274) Source(86, 38) + SourceIndex(0) +37>Emitted(59, 280) Source(86, 38) + SourceIndex(0) +38>Emitted(59, 282) Source(88, 23) + SourceIndex(0) +39>Emitted(59, 283) Source(88, 24) + SourceIndex(0) +40>Emitted(59, 286) Source(88, 27) + SourceIndex(0) +41>Emitted(59, 287) Source(88, 28) + SourceIndex(0) +42>Emitted(59, 289) Source(88, 30) + SourceIndex(0) +43>Emitted(59, 290) Source(88, 31) + SourceIndex(0) +44>Emitted(59, 293) Source(88, 34) + SourceIndex(0) +45>Emitted(59, 294) Source(88, 35) + SourceIndex(0) +46>Emitted(59, 296) Source(88, 37) + SourceIndex(0) +47>Emitted(59, 297) Source(88, 38) + SourceIndex(0) +48>Emitted(59, 299) Source(88, 40) + SourceIndex(0) +49>Emitted(59, 301) Source(88, 42) + SourceIndex(0) +50>Emitted(59, 302) Source(88, 43) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2770,14 +2771,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameMA 7 > ) 8 > ; -1 >Emitted(59, 5) Source(89, 5) + SourceIndex(0) -2 >Emitted(59, 12) Source(89, 12) + SourceIndex(0) -3 >Emitted(59, 13) Source(89, 13) + SourceIndex(0) -4 >Emitted(59, 16) Source(89, 16) + SourceIndex(0) -5 >Emitted(59, 17) Source(89, 17) + SourceIndex(0) -6 >Emitted(59, 23) Source(89, 23) + SourceIndex(0) -7 >Emitted(59, 24) Source(89, 24) + SourceIndex(0) -8 >Emitted(59, 25) Source(89, 25) + SourceIndex(0) +1 >Emitted(60, 5) Source(89, 5) + SourceIndex(0) +2 >Emitted(60, 12) Source(89, 12) + SourceIndex(0) +3 >Emitted(60, 13) Source(89, 13) + SourceIndex(0) +4 >Emitted(60, 16) Source(89, 16) + SourceIndex(0) +5 >Emitted(60, 17) Source(89, 17) + SourceIndex(0) +6 >Emitted(60, 23) Source(89, 23) + SourceIndex(0) +7 >Emitted(60, 24) Source(89, 24) + SourceIndex(0) +8 >Emitted(60, 25) Source(89, 25) + SourceIndex(0) --- >>>} 1 > @@ -2786,8 +2787,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(60, 1) Source(90, 1) + SourceIndex(0) -2 >Emitted(60, 2) Source(90, 2) + SourceIndex(0) +1 >Emitted(61, 1) Source(90, 1) + SourceIndex(0) +2 >Emitted(61, 2) Source(90, 2) + SourceIndex(0) --- >>>for (var _23 = ["trimmer", ["trimming", "edging"]], _24 = _23[0], nameMA = _24 === void 0 ? "noName" : _24, _25 = _23[1], _26 = _25 === void 0 ? ["none", "none"] : _25, _27 = _26[0], primarySkillA = _27 === void 0 ? "primary" : _27, _28 = _26[1], secondarySkillA = _28 === void 0 ? "secondary" : _28, i = 0; i < 1; i++) { 1-> @@ -2920,63 +2921,63 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 55> ++ 56> ) 57> { -1->Emitted(61, 1) Source(91, 1) + SourceIndex(0) -2 >Emitted(61, 6) Source(91, 10) + SourceIndex(0) -3 >Emitted(61, 10) Source(91, 10) + SourceIndex(0) -4 >Emitted(61, 16) Source(96, 6) + SourceIndex(0) -5 >Emitted(61, 17) Source(96, 7) + SourceIndex(0) -6 >Emitted(61, 26) Source(96, 16) + SourceIndex(0) -7 >Emitted(61, 28) Source(96, 18) + SourceIndex(0) -8 >Emitted(61, 29) Source(96, 19) + SourceIndex(0) -9 >Emitted(61, 39) Source(96, 29) + SourceIndex(0) -10>Emitted(61, 41) Source(96, 31) + SourceIndex(0) -11>Emitted(61, 49) Source(96, 39) + SourceIndex(0) -12>Emitted(61, 50) Source(96, 40) + SourceIndex(0) -13>Emitted(61, 51) Source(96, 41) + SourceIndex(0) -14>Emitted(61, 53) Source(91, 11) + SourceIndex(0) -15>Emitted(61, 65) Source(91, 28) + SourceIndex(0) -16>Emitted(61, 67) Source(91, 11) + SourceIndex(0) -17>Emitted(61, 73) Source(91, 17) + SourceIndex(0) -18>Emitted(61, 93) Source(91, 20) + SourceIndex(0) -19>Emitted(61, 101) Source(91, 28) + SourceIndex(0) -20>Emitted(61, 107) Source(91, 28) + SourceIndex(0) -21>Emitted(61, 109) Source(92, 5) + SourceIndex(0) -22>Emitted(61, 121) Source(95, 25) + SourceIndex(0) -23>Emitted(61, 123) Source(92, 5) + SourceIndex(0) -24>Emitted(61, 146) Source(95, 9) + SourceIndex(0) -25>Emitted(61, 147) Source(95, 10) + SourceIndex(0) -26>Emitted(61, 153) Source(95, 16) + SourceIndex(0) -27>Emitted(61, 155) Source(95, 18) + SourceIndex(0) -28>Emitted(61, 161) Source(95, 24) + SourceIndex(0) -29>Emitted(61, 162) Source(95, 25) + SourceIndex(0) -30>Emitted(61, 168) Source(95, 25) + SourceIndex(0) -31>Emitted(61, 170) Source(93, 9) + SourceIndex(0) -32>Emitted(61, 182) Source(93, 34) + SourceIndex(0) -33>Emitted(61, 184) Source(93, 9) + SourceIndex(0) -34>Emitted(61, 197) Source(93, 22) + SourceIndex(0) -35>Emitted(61, 217) Source(93, 25) + SourceIndex(0) -36>Emitted(61, 226) Source(93, 34) + SourceIndex(0) -37>Emitted(61, 232) Source(93, 34) + SourceIndex(0) -38>Emitted(61, 234) Source(94, 9) + SourceIndex(0) -39>Emitted(61, 246) Source(94, 38) + SourceIndex(0) -40>Emitted(61, 248) Source(94, 9) + SourceIndex(0) -41>Emitted(61, 263) Source(94, 24) + SourceIndex(0) -42>Emitted(61, 283) Source(94, 27) + SourceIndex(0) -43>Emitted(61, 294) Source(94, 38) + SourceIndex(0) -44>Emitted(61, 300) Source(94, 38) + SourceIndex(0) -45>Emitted(61, 302) Source(96, 43) + SourceIndex(0) -46>Emitted(61, 303) Source(96, 44) + SourceIndex(0) -47>Emitted(61, 306) Source(96, 47) + SourceIndex(0) -48>Emitted(61, 307) Source(96, 48) + SourceIndex(0) -49>Emitted(61, 309) Source(96, 50) + SourceIndex(0) -50>Emitted(61, 310) Source(96, 51) + SourceIndex(0) -51>Emitted(61, 313) Source(96, 54) + SourceIndex(0) -52>Emitted(61, 314) Source(96, 55) + SourceIndex(0) -53>Emitted(61, 316) Source(96, 57) + SourceIndex(0) -54>Emitted(61, 317) Source(96, 58) + SourceIndex(0) -55>Emitted(61, 319) Source(96, 60) + SourceIndex(0) -56>Emitted(61, 321) Source(96, 62) + SourceIndex(0) -57>Emitted(61, 322) Source(96, 63) + SourceIndex(0) +1->Emitted(62, 1) Source(91, 1) + SourceIndex(0) +2 >Emitted(62, 6) Source(91, 10) + SourceIndex(0) +3 >Emitted(62, 10) Source(91, 10) + SourceIndex(0) +4 >Emitted(62, 16) Source(96, 6) + SourceIndex(0) +5 >Emitted(62, 17) Source(96, 7) + SourceIndex(0) +6 >Emitted(62, 26) Source(96, 16) + SourceIndex(0) +7 >Emitted(62, 28) Source(96, 18) + SourceIndex(0) +8 >Emitted(62, 29) Source(96, 19) + SourceIndex(0) +9 >Emitted(62, 39) Source(96, 29) + SourceIndex(0) +10>Emitted(62, 41) Source(96, 31) + SourceIndex(0) +11>Emitted(62, 49) Source(96, 39) + SourceIndex(0) +12>Emitted(62, 50) Source(96, 40) + SourceIndex(0) +13>Emitted(62, 51) Source(96, 41) + SourceIndex(0) +14>Emitted(62, 53) Source(91, 11) + SourceIndex(0) +15>Emitted(62, 65) Source(91, 28) + SourceIndex(0) +16>Emitted(62, 67) Source(91, 11) + SourceIndex(0) +17>Emitted(62, 73) Source(91, 17) + SourceIndex(0) +18>Emitted(62, 93) Source(91, 20) + SourceIndex(0) +19>Emitted(62, 101) Source(91, 28) + SourceIndex(0) +20>Emitted(62, 107) Source(91, 28) + SourceIndex(0) +21>Emitted(62, 109) Source(92, 5) + SourceIndex(0) +22>Emitted(62, 121) Source(95, 25) + SourceIndex(0) +23>Emitted(62, 123) Source(92, 5) + SourceIndex(0) +24>Emitted(62, 146) Source(95, 9) + SourceIndex(0) +25>Emitted(62, 147) Source(95, 10) + SourceIndex(0) +26>Emitted(62, 153) Source(95, 16) + SourceIndex(0) +27>Emitted(62, 155) Source(95, 18) + SourceIndex(0) +28>Emitted(62, 161) Source(95, 24) + SourceIndex(0) +29>Emitted(62, 162) Source(95, 25) + SourceIndex(0) +30>Emitted(62, 168) Source(95, 25) + SourceIndex(0) +31>Emitted(62, 170) Source(93, 9) + SourceIndex(0) +32>Emitted(62, 182) Source(93, 34) + SourceIndex(0) +33>Emitted(62, 184) Source(93, 9) + SourceIndex(0) +34>Emitted(62, 197) Source(93, 22) + SourceIndex(0) +35>Emitted(62, 217) Source(93, 25) + SourceIndex(0) +36>Emitted(62, 226) Source(93, 34) + SourceIndex(0) +37>Emitted(62, 232) Source(93, 34) + SourceIndex(0) +38>Emitted(62, 234) Source(94, 9) + SourceIndex(0) +39>Emitted(62, 246) Source(94, 38) + SourceIndex(0) +40>Emitted(62, 248) Source(94, 9) + SourceIndex(0) +41>Emitted(62, 263) Source(94, 24) + SourceIndex(0) +42>Emitted(62, 283) Source(94, 27) + SourceIndex(0) +43>Emitted(62, 294) Source(94, 38) + SourceIndex(0) +44>Emitted(62, 300) Source(94, 38) + SourceIndex(0) +45>Emitted(62, 302) Source(96, 43) + SourceIndex(0) +46>Emitted(62, 303) Source(96, 44) + SourceIndex(0) +47>Emitted(62, 306) Source(96, 47) + SourceIndex(0) +48>Emitted(62, 307) Source(96, 48) + SourceIndex(0) +49>Emitted(62, 309) Source(96, 50) + SourceIndex(0) +50>Emitted(62, 310) Source(96, 51) + SourceIndex(0) +51>Emitted(62, 313) Source(96, 54) + SourceIndex(0) +52>Emitted(62, 314) Source(96, 55) + SourceIndex(0) +53>Emitted(62, 316) Source(96, 57) + SourceIndex(0) +54>Emitted(62, 317) Source(96, 58) + SourceIndex(0) +55>Emitted(62, 319) Source(96, 60) + SourceIndex(0) +56>Emitted(62, 321) Source(96, 62) + SourceIndex(0) +57>Emitted(62, 322) Source(96, 63) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2996,14 +2997,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > nameMA 7 > ) 8 > ; -1 >Emitted(62, 5) Source(97, 5) + SourceIndex(0) -2 >Emitted(62, 12) Source(97, 12) + SourceIndex(0) -3 >Emitted(62, 13) Source(97, 13) + SourceIndex(0) -4 >Emitted(62, 16) Source(97, 16) + SourceIndex(0) -5 >Emitted(62, 17) Source(97, 17) + SourceIndex(0) -6 >Emitted(62, 23) Source(97, 23) + SourceIndex(0) -7 >Emitted(62, 24) Source(97, 24) + SourceIndex(0) -8 >Emitted(62, 25) Source(97, 25) + SourceIndex(0) +1 >Emitted(63, 5) Source(97, 5) + SourceIndex(0) +2 >Emitted(63, 12) Source(97, 12) + SourceIndex(0) +3 >Emitted(63, 13) Source(97, 13) + SourceIndex(0) +4 >Emitted(63, 16) Source(97, 16) + SourceIndex(0) +5 >Emitted(63, 17) Source(97, 17) + SourceIndex(0) +6 >Emitted(63, 23) Source(97, 23) + SourceIndex(0) +7 >Emitted(63, 24) Source(97, 24) + SourceIndex(0) +8 >Emitted(63, 25) Source(97, 25) + SourceIndex(0) --- >>>} 1 > @@ -3012,8 +3013,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(63, 1) Source(98, 1) + SourceIndex(0) -2 >Emitted(63, 2) Source(98, 2) + SourceIndex(0) +1 >Emitted(64, 1) Source(98, 1) + SourceIndex(0) +2 >Emitted(64, 2) Source(98, 2) + SourceIndex(0) --- >>>for (var _29 = robotA[0], numberA3 = _29 === void 0 ? -1 : _29, robotAInfo = robotA.slice(1), i = 0; i < 1; i++) { 1-> @@ -3078,36 +3079,36 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 28> ++ 29> ) 30> { -1->Emitted(64, 1) Source(100, 1) + SourceIndex(0) -2 >Emitted(64, 6) Source(100, 11) + SourceIndex(0) -3 >Emitted(64, 10) Source(100, 11) + SourceIndex(0) -4 >Emitted(64, 16) Source(100, 43) + SourceIndex(0) -5 >Emitted(64, 22) Source(100, 49) + SourceIndex(0) -6 >Emitted(64, 25) Source(100, 24) + SourceIndex(0) -7 >Emitted(64, 27) Source(100, 11) + SourceIndex(0) -8 >Emitted(64, 35) Source(100, 19) + SourceIndex(0) -9 >Emitted(64, 55) Source(100, 22) + SourceIndex(0) -10>Emitted(64, 56) Source(100, 23) + SourceIndex(0) -11>Emitted(64, 57) Source(100, 24) + SourceIndex(0) -12>Emitted(64, 63) Source(100, 24) + SourceIndex(0) -13>Emitted(64, 65) Source(100, 29) + SourceIndex(0) -14>Emitted(64, 75) Source(100, 39) + SourceIndex(0) -15>Emitted(64, 78) Source(100, 43) + SourceIndex(0) -16>Emitted(64, 84) Source(100, 49) + SourceIndex(0) -17>Emitted(64, 93) Source(100, 39) + SourceIndex(0) -18>Emitted(64, 95) Source(100, 51) + SourceIndex(0) -19>Emitted(64, 96) Source(100, 52) + SourceIndex(0) -20>Emitted(64, 99) Source(100, 55) + SourceIndex(0) -21>Emitted(64, 100) Source(100, 56) + SourceIndex(0) -22>Emitted(64, 102) Source(100, 58) + SourceIndex(0) -23>Emitted(64, 103) Source(100, 59) + SourceIndex(0) -24>Emitted(64, 106) Source(100, 62) + SourceIndex(0) -25>Emitted(64, 107) Source(100, 63) + SourceIndex(0) -26>Emitted(64, 109) Source(100, 65) + SourceIndex(0) -27>Emitted(64, 110) Source(100, 66) + SourceIndex(0) -28>Emitted(64, 112) Source(100, 68) + SourceIndex(0) -29>Emitted(64, 114) Source(100, 70) + SourceIndex(0) -30>Emitted(64, 115) Source(100, 71) + SourceIndex(0) +1->Emitted(65, 1) Source(100, 1) + SourceIndex(0) +2 >Emitted(65, 6) Source(100, 11) + SourceIndex(0) +3 >Emitted(65, 10) Source(100, 11) + SourceIndex(0) +4 >Emitted(65, 16) Source(100, 43) + SourceIndex(0) +5 >Emitted(65, 22) Source(100, 49) + SourceIndex(0) +6 >Emitted(65, 25) Source(100, 24) + SourceIndex(0) +7 >Emitted(65, 27) Source(100, 11) + SourceIndex(0) +8 >Emitted(65, 35) Source(100, 19) + SourceIndex(0) +9 >Emitted(65, 55) Source(100, 22) + SourceIndex(0) +10>Emitted(65, 56) Source(100, 23) + SourceIndex(0) +11>Emitted(65, 57) Source(100, 24) + SourceIndex(0) +12>Emitted(65, 63) Source(100, 24) + SourceIndex(0) +13>Emitted(65, 65) Source(100, 29) + SourceIndex(0) +14>Emitted(65, 75) Source(100, 39) + SourceIndex(0) +15>Emitted(65, 78) Source(100, 43) + SourceIndex(0) +16>Emitted(65, 84) Source(100, 49) + SourceIndex(0) +17>Emitted(65, 93) Source(100, 39) + SourceIndex(0) +18>Emitted(65, 95) Source(100, 51) + SourceIndex(0) +19>Emitted(65, 96) Source(100, 52) + SourceIndex(0) +20>Emitted(65, 99) Source(100, 55) + SourceIndex(0) +21>Emitted(65, 100) Source(100, 56) + SourceIndex(0) +22>Emitted(65, 102) Source(100, 58) + SourceIndex(0) +23>Emitted(65, 103) Source(100, 59) + SourceIndex(0) +24>Emitted(65, 106) Source(100, 62) + SourceIndex(0) +25>Emitted(65, 107) Source(100, 63) + SourceIndex(0) +26>Emitted(65, 109) Source(100, 65) + SourceIndex(0) +27>Emitted(65, 110) Source(100, 66) + SourceIndex(0) +28>Emitted(65, 112) Source(100, 68) + SourceIndex(0) +29>Emitted(65, 114) Source(100, 70) + SourceIndex(0) +30>Emitted(65, 115) Source(100, 71) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -3127,14 +3128,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > numberA3 7 > ) 8 > ; -1 >Emitted(65, 5) Source(101, 5) + SourceIndex(0) -2 >Emitted(65, 12) Source(101, 12) + SourceIndex(0) -3 >Emitted(65, 13) Source(101, 13) + SourceIndex(0) -4 >Emitted(65, 16) Source(101, 16) + SourceIndex(0) -5 >Emitted(65, 17) Source(101, 17) + SourceIndex(0) -6 >Emitted(65, 25) Source(101, 25) + SourceIndex(0) -7 >Emitted(65, 26) Source(101, 26) + SourceIndex(0) -8 >Emitted(65, 27) Source(101, 27) + SourceIndex(0) +1 >Emitted(66, 5) Source(101, 5) + SourceIndex(0) +2 >Emitted(66, 12) Source(101, 12) + SourceIndex(0) +3 >Emitted(66, 13) Source(101, 13) + SourceIndex(0) +4 >Emitted(66, 16) Source(101, 16) + SourceIndex(0) +5 >Emitted(66, 17) Source(101, 17) + SourceIndex(0) +6 >Emitted(66, 25) Source(101, 25) + SourceIndex(0) +7 >Emitted(66, 26) Source(101, 26) + SourceIndex(0) +8 >Emitted(66, 27) Source(101, 27) + SourceIndex(0) --- >>>} 1 > @@ -3143,8 +3144,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(66, 1) Source(102, 1) + SourceIndex(0) -2 >Emitted(66, 2) Source(102, 2) + SourceIndex(0) +1 >Emitted(67, 1) Source(102, 1) + SourceIndex(0) +2 >Emitted(67, 2) Source(102, 2) + SourceIndex(0) --- >>>for (var _30 = getRobot(), _31 = _30[0], numberA3 = _31 === void 0 ? -1 : _31, robotAInfo = _30.slice(1), i = 0; i < 1; i++) { 1-> @@ -3208,36 +3209,36 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 28> ++ 29> ) 30> { -1->Emitted(67, 1) Source(103, 1) + SourceIndex(0) -2 >Emitted(67, 6) Source(103, 10) + SourceIndex(0) -3 >Emitted(67, 10) Source(103, 10) + SourceIndex(0) -4 >Emitted(67, 16) Source(103, 43) + SourceIndex(0) -5 >Emitted(67, 24) Source(103, 51) + SourceIndex(0) -6 >Emitted(67, 26) Source(103, 53) + SourceIndex(0) -7 >Emitted(67, 28) Source(103, 11) + SourceIndex(0) -8 >Emitted(67, 40) Source(103, 24) + SourceIndex(0) -9 >Emitted(67, 42) Source(103, 11) + SourceIndex(0) -10>Emitted(67, 50) Source(103, 19) + SourceIndex(0) -11>Emitted(67, 70) Source(103, 22) + SourceIndex(0) -12>Emitted(67, 71) Source(103, 23) + SourceIndex(0) -13>Emitted(67, 72) Source(103, 24) + SourceIndex(0) -14>Emitted(67, 78) Source(103, 24) + SourceIndex(0) -15>Emitted(67, 80) Source(103, 29) + SourceIndex(0) -16>Emitted(67, 90) Source(103, 39) + SourceIndex(0) -17>Emitted(67, 105) Source(103, 39) + SourceIndex(0) -18>Emitted(67, 107) Source(103, 55) + SourceIndex(0) -19>Emitted(67, 108) Source(103, 56) + SourceIndex(0) -20>Emitted(67, 111) Source(103, 59) + SourceIndex(0) -21>Emitted(67, 112) Source(103, 60) + SourceIndex(0) -22>Emitted(67, 114) Source(103, 62) + SourceIndex(0) -23>Emitted(67, 115) Source(103, 63) + SourceIndex(0) -24>Emitted(67, 118) Source(103, 66) + SourceIndex(0) -25>Emitted(67, 119) Source(103, 67) + SourceIndex(0) -26>Emitted(67, 121) Source(103, 69) + SourceIndex(0) -27>Emitted(67, 122) Source(103, 70) + SourceIndex(0) -28>Emitted(67, 124) Source(103, 72) + SourceIndex(0) -29>Emitted(67, 126) Source(103, 74) + SourceIndex(0) -30>Emitted(67, 127) Source(103, 75) + SourceIndex(0) +1->Emitted(68, 1) Source(103, 1) + SourceIndex(0) +2 >Emitted(68, 6) Source(103, 10) + SourceIndex(0) +3 >Emitted(68, 10) Source(103, 10) + SourceIndex(0) +4 >Emitted(68, 16) Source(103, 43) + SourceIndex(0) +5 >Emitted(68, 24) Source(103, 51) + SourceIndex(0) +6 >Emitted(68, 26) Source(103, 53) + SourceIndex(0) +7 >Emitted(68, 28) Source(103, 11) + SourceIndex(0) +8 >Emitted(68, 40) Source(103, 24) + SourceIndex(0) +9 >Emitted(68, 42) Source(103, 11) + SourceIndex(0) +10>Emitted(68, 50) Source(103, 19) + SourceIndex(0) +11>Emitted(68, 70) Source(103, 22) + SourceIndex(0) +12>Emitted(68, 71) Source(103, 23) + SourceIndex(0) +13>Emitted(68, 72) Source(103, 24) + SourceIndex(0) +14>Emitted(68, 78) Source(103, 24) + SourceIndex(0) +15>Emitted(68, 80) Source(103, 29) + SourceIndex(0) +16>Emitted(68, 90) Source(103, 39) + SourceIndex(0) +17>Emitted(68, 105) Source(103, 39) + SourceIndex(0) +18>Emitted(68, 107) Source(103, 55) + SourceIndex(0) +19>Emitted(68, 108) Source(103, 56) + SourceIndex(0) +20>Emitted(68, 111) Source(103, 59) + SourceIndex(0) +21>Emitted(68, 112) Source(103, 60) + SourceIndex(0) +22>Emitted(68, 114) Source(103, 62) + SourceIndex(0) +23>Emitted(68, 115) Source(103, 63) + SourceIndex(0) +24>Emitted(68, 118) Source(103, 66) + SourceIndex(0) +25>Emitted(68, 119) Source(103, 67) + SourceIndex(0) +26>Emitted(68, 121) Source(103, 69) + SourceIndex(0) +27>Emitted(68, 122) Source(103, 70) + SourceIndex(0) +28>Emitted(68, 124) Source(103, 72) + SourceIndex(0) +29>Emitted(68, 126) Source(103, 74) + SourceIndex(0) +30>Emitted(68, 127) Source(103, 75) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -3257,14 +3258,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > numberA3 7 > ) 8 > ; -1 >Emitted(68, 5) Source(104, 5) + SourceIndex(0) -2 >Emitted(68, 12) Source(104, 12) + SourceIndex(0) -3 >Emitted(68, 13) Source(104, 13) + SourceIndex(0) -4 >Emitted(68, 16) Source(104, 16) + SourceIndex(0) -5 >Emitted(68, 17) Source(104, 17) + SourceIndex(0) -6 >Emitted(68, 25) Source(104, 25) + SourceIndex(0) -7 >Emitted(68, 26) Source(104, 26) + SourceIndex(0) -8 >Emitted(68, 27) Source(104, 27) + SourceIndex(0) +1 >Emitted(69, 5) Source(104, 5) + SourceIndex(0) +2 >Emitted(69, 12) Source(104, 12) + SourceIndex(0) +3 >Emitted(69, 13) Source(104, 13) + SourceIndex(0) +4 >Emitted(69, 16) Source(104, 16) + SourceIndex(0) +5 >Emitted(69, 17) Source(104, 17) + SourceIndex(0) +6 >Emitted(69, 25) Source(104, 25) + SourceIndex(0) +7 >Emitted(69, 26) Source(104, 26) + SourceIndex(0) +8 >Emitted(69, 27) Source(104, 27) + SourceIndex(0) --- >>>} 1 > @@ -3273,8 +3274,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(69, 1) Source(105, 1) + SourceIndex(0) -2 >Emitted(69, 2) Source(105, 2) + SourceIndex(0) +1 >Emitted(70, 1) Source(105, 1) + SourceIndex(0) +2 >Emitted(70, 2) Source(105, 2) + SourceIndex(0) --- >>>for (var _32 = [2, "trimmer", "trimming"], _33 = _32[0], numberA3 = _33 === void 0 ? -1 : _33, robotAInfo = _32.slice(1), i = 0; i < 1; i++) { 1-> @@ -3348,41 +3349,41 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 33> ++ 34> ) 35> { -1->Emitted(70, 1) Source(106, 1) + SourceIndex(0) -2 >Emitted(70, 6) Source(106, 10) + SourceIndex(0) -3 >Emitted(70, 10) Source(106, 10) + SourceIndex(0) -4 >Emitted(70, 16) Source(106, 43) + SourceIndex(0) -5 >Emitted(70, 17) Source(106, 44) + SourceIndex(0) -6 >Emitted(70, 18) Source(106, 45) + SourceIndex(0) -7 >Emitted(70, 20) Source(106, 47) + SourceIndex(0) -8 >Emitted(70, 29) Source(106, 56) + SourceIndex(0) -9 >Emitted(70, 31) Source(106, 58) + SourceIndex(0) -10>Emitted(70, 41) Source(106, 68) + SourceIndex(0) -11>Emitted(70, 42) Source(106, 69) + SourceIndex(0) -12>Emitted(70, 44) Source(106, 11) + SourceIndex(0) -13>Emitted(70, 56) Source(106, 24) + SourceIndex(0) -14>Emitted(70, 58) Source(106, 11) + SourceIndex(0) -15>Emitted(70, 66) Source(106, 19) + SourceIndex(0) -16>Emitted(70, 86) Source(106, 22) + SourceIndex(0) -17>Emitted(70, 87) Source(106, 23) + SourceIndex(0) -18>Emitted(70, 88) Source(106, 24) + SourceIndex(0) -19>Emitted(70, 94) Source(106, 24) + SourceIndex(0) -20>Emitted(70, 96) Source(106, 29) + SourceIndex(0) -21>Emitted(70, 106) Source(106, 39) + SourceIndex(0) -22>Emitted(70, 121) Source(106, 39) + SourceIndex(0) -23>Emitted(70, 123) Source(106, 71) + SourceIndex(0) -24>Emitted(70, 124) Source(106, 72) + SourceIndex(0) -25>Emitted(70, 127) Source(106, 75) + SourceIndex(0) -26>Emitted(70, 128) Source(106, 76) + SourceIndex(0) -27>Emitted(70, 130) Source(106, 78) + SourceIndex(0) -28>Emitted(70, 131) Source(106, 79) + SourceIndex(0) -29>Emitted(70, 134) Source(106, 82) + SourceIndex(0) -30>Emitted(70, 135) Source(106, 83) + SourceIndex(0) -31>Emitted(70, 137) Source(106, 85) + SourceIndex(0) -32>Emitted(70, 138) Source(106, 86) + SourceIndex(0) -33>Emitted(70, 140) Source(106, 88) + SourceIndex(0) -34>Emitted(70, 142) Source(106, 90) + SourceIndex(0) -35>Emitted(70, 143) Source(106, 91) + SourceIndex(0) +1->Emitted(71, 1) Source(106, 1) + SourceIndex(0) +2 >Emitted(71, 6) Source(106, 10) + SourceIndex(0) +3 >Emitted(71, 10) Source(106, 10) + SourceIndex(0) +4 >Emitted(71, 16) Source(106, 43) + SourceIndex(0) +5 >Emitted(71, 17) Source(106, 44) + SourceIndex(0) +6 >Emitted(71, 18) Source(106, 45) + SourceIndex(0) +7 >Emitted(71, 20) Source(106, 47) + SourceIndex(0) +8 >Emitted(71, 29) Source(106, 56) + SourceIndex(0) +9 >Emitted(71, 31) Source(106, 58) + SourceIndex(0) +10>Emitted(71, 41) Source(106, 68) + SourceIndex(0) +11>Emitted(71, 42) Source(106, 69) + SourceIndex(0) +12>Emitted(71, 44) Source(106, 11) + SourceIndex(0) +13>Emitted(71, 56) Source(106, 24) + SourceIndex(0) +14>Emitted(71, 58) Source(106, 11) + SourceIndex(0) +15>Emitted(71, 66) Source(106, 19) + SourceIndex(0) +16>Emitted(71, 86) Source(106, 22) + SourceIndex(0) +17>Emitted(71, 87) Source(106, 23) + SourceIndex(0) +18>Emitted(71, 88) Source(106, 24) + SourceIndex(0) +19>Emitted(71, 94) Source(106, 24) + SourceIndex(0) +20>Emitted(71, 96) Source(106, 29) + SourceIndex(0) +21>Emitted(71, 106) Source(106, 39) + SourceIndex(0) +22>Emitted(71, 121) Source(106, 39) + SourceIndex(0) +23>Emitted(71, 123) Source(106, 71) + SourceIndex(0) +24>Emitted(71, 124) Source(106, 72) + SourceIndex(0) +25>Emitted(71, 127) Source(106, 75) + SourceIndex(0) +26>Emitted(71, 128) Source(106, 76) + SourceIndex(0) +27>Emitted(71, 130) Source(106, 78) + SourceIndex(0) +28>Emitted(71, 131) Source(106, 79) + SourceIndex(0) +29>Emitted(71, 134) Source(106, 82) + SourceIndex(0) +30>Emitted(71, 135) Source(106, 83) + SourceIndex(0) +31>Emitted(71, 137) Source(106, 85) + SourceIndex(0) +32>Emitted(71, 138) Source(106, 86) + SourceIndex(0) +33>Emitted(71, 140) Source(106, 88) + SourceIndex(0) +34>Emitted(71, 142) Source(106, 90) + SourceIndex(0) +35>Emitted(71, 143) Source(106, 91) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -3402,14 +3403,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 6 > numberA3 7 > ) 8 > ; -1 >Emitted(71, 5) Source(107, 5) + SourceIndex(0) -2 >Emitted(71, 12) Source(107, 12) + SourceIndex(0) -3 >Emitted(71, 13) Source(107, 13) + SourceIndex(0) -4 >Emitted(71, 16) Source(107, 16) + SourceIndex(0) -5 >Emitted(71, 17) Source(107, 17) + SourceIndex(0) -6 >Emitted(71, 25) Source(107, 25) + SourceIndex(0) -7 >Emitted(71, 26) Source(107, 26) + SourceIndex(0) -8 >Emitted(71, 27) Source(107, 27) + SourceIndex(0) +1 >Emitted(72, 5) Source(107, 5) + SourceIndex(0) +2 >Emitted(72, 12) Source(107, 12) + SourceIndex(0) +3 >Emitted(72, 13) Source(107, 13) + SourceIndex(0) +4 >Emitted(72, 16) Source(107, 16) + SourceIndex(0) +5 >Emitted(72, 17) Source(107, 17) + SourceIndex(0) +6 >Emitted(72, 25) Source(107, 25) + SourceIndex(0) +7 >Emitted(72, 26) Source(107, 26) + SourceIndex(0) +8 >Emitted(72, 27) Source(107, 27) + SourceIndex(0) --- >>>} 1 > @@ -3418,7 +3419,7 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.t 1 > > 2 >} -1 >Emitted(72, 1) Source(108, 1) + SourceIndex(0) -2 >Emitted(72, 2) Source(108, 2) + SourceIndex(0) +1 >Emitted(73, 1) Source(108, 1) + SourceIndex(0) +2 >Emitted(73, 2) Source(108, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForArrayBindingPatternDefaultValues.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js index 1dac318b1165b..2c46aafed2ed9 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js @@ -117,6 +117,7 @@ for ([numberA3 = -1, ...robotAInfo] = [2, "trimmer", "trimming"], i = 0; } //// [sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28; var robotA = [1, "mower", "mowing"]; function getRobot() { diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map index 90bd0ff898344..32a20b9544997 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.ts"],"names":[],"mappings":";AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OA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MDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobmFtZU1BKTsKfQoKZm9yIChbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSByb2JvdEEsIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSBnZXRSb2JvdCgpLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAoW251bWJlckEzID0gLTEsIC4uLnJvYm90QUluZm9dID0gPFJvYm90PlsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9 +{"version":3,"file":"sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.ts"],"names":[],"mappings":";;AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,SAAS,QAAQ;IACb,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,SAAS,aAAa;IAClB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,IAAI,KAAa,EAAE,aAAqB,EAAE,eAAuB,CAAC;AAClE,IAAI,OAAe,EAAE,KAAa,CAAC;AACnC,IAAI,QAAgB,EAAE,MAAc,EAAE,OAAe,EAAE,MAAc,CAAC;AACtE,IAAI,QAAgB,EAAE,UAA+B,EAAE,eAA8C,CAAC;AACtG,IAAI,CAAS,CA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5sb2cobnVtYmVyQTMpOwp9 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.sourcemap.txt index 52a61e46ce82d..883c62e23dd3c 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.ts emittedFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28; >>>var robotA = [1, "mower", "mowing"]; 1 > @@ -40,18 +41,18 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 10> "mowing" 11> ] 12> ; -1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(7, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(7, 21) + SourceIndex(0) -5 >Emitted(2, 15) Source(7, 22) + SourceIndex(0) -6 >Emitted(2, 16) Source(7, 23) + SourceIndex(0) -7 >Emitted(2, 18) Source(7, 25) + SourceIndex(0) -8 >Emitted(2, 25) Source(7, 32) + SourceIndex(0) -9 >Emitted(2, 27) Source(7, 34) + SourceIndex(0) -10>Emitted(2, 35) Source(7, 42) + SourceIndex(0) -11>Emitted(2, 36) Source(7, 43) + SourceIndex(0) -12>Emitted(2, 37) Source(7, 44) + SourceIndex(0) +1 >Emitted(3, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(7, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(7, 21) + SourceIndex(0) +5 >Emitted(3, 15) Source(7, 22) + SourceIndex(0) +6 >Emitted(3, 16) Source(7, 23) + SourceIndex(0) +7 >Emitted(3, 18) Source(7, 25) + SourceIndex(0) +8 >Emitted(3, 25) Source(7, 32) + SourceIndex(0) +9 >Emitted(3, 27) Source(7, 34) + SourceIndex(0) +10>Emitted(3, 35) Source(7, 42) + SourceIndex(0) +11>Emitted(3, 36) Source(7, 43) + SourceIndex(0) +12>Emitted(3, 37) Source(7, 44) + SourceIndex(0) --- >>>function getRobot() { 1 > @@ -62,9 +63,9 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. > 2 >function 3 > getRobot -1 >Emitted(3, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(3, 10) Source(8, 10) + SourceIndex(0) -3 >Emitted(3, 18) Source(8, 18) + SourceIndex(0) +1 >Emitted(4, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(4, 10) Source(8, 10) + SourceIndex(0) +3 >Emitted(4, 18) Source(8, 18) + SourceIndex(0) --- >>> return robotA; 1->^^^^ @@ -76,10 +77,10 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 2 > return 3 > robotA 4 > ; -1->Emitted(4, 5) Source(9, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(9, 12) + SourceIndex(0) -3 >Emitted(4, 18) Source(9, 18) + SourceIndex(0) -4 >Emitted(4, 19) Source(9, 19) + SourceIndex(0) +1->Emitted(5, 5) Source(9, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(9, 12) + SourceIndex(0) +3 >Emitted(5, 18) Source(9, 18) + SourceIndex(0) +4 >Emitted(5, 19) Source(9, 19) + SourceIndex(0) --- >>>} 1 > @@ -88,8 +89,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(5, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(10, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(10, 2) + SourceIndex(0) --- >>>var multiRobotA = ["mower", ["mowing", ""]]; 1-> @@ -123,20 +124,20 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 12> ] 13> ] 14> ; -1->Emitted(6, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(6, 5) Source(12, 5) + SourceIndex(0) -3 >Emitted(6, 16) Source(12, 16) + SourceIndex(0) -4 >Emitted(6, 19) Source(12, 38) + SourceIndex(0) -5 >Emitted(6, 20) Source(12, 39) + SourceIndex(0) -6 >Emitted(6, 27) Source(12, 46) + SourceIndex(0) -7 >Emitted(6, 29) Source(12, 48) + SourceIndex(0) -8 >Emitted(6, 30) Source(12, 49) + SourceIndex(0) -9 >Emitted(6, 38) Source(12, 57) + SourceIndex(0) -10>Emitted(6, 40) Source(12, 59) + SourceIndex(0) -11>Emitted(6, 42) Source(12, 61) + SourceIndex(0) -12>Emitted(6, 43) Source(12, 62) + SourceIndex(0) -13>Emitted(6, 44) Source(12, 63) + SourceIndex(0) -14>Emitted(6, 45) Source(12, 64) + SourceIndex(0) +1->Emitted(7, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(7, 5) Source(12, 5) + SourceIndex(0) +3 >Emitted(7, 16) Source(12, 16) + SourceIndex(0) +4 >Emitted(7, 19) Source(12, 38) + SourceIndex(0) +5 >Emitted(7, 20) Source(12, 39) + SourceIndex(0) +6 >Emitted(7, 27) Source(12, 46) + SourceIndex(0) +7 >Emitted(7, 29) Source(12, 48) + SourceIndex(0) +8 >Emitted(7, 30) Source(12, 49) + SourceIndex(0) +9 >Emitted(7, 38) Source(12, 57) + SourceIndex(0) +10>Emitted(7, 40) Source(12, 59) + SourceIndex(0) +11>Emitted(7, 42) Source(12, 61) + SourceIndex(0) +12>Emitted(7, 43) Source(12, 62) + SourceIndex(0) +13>Emitted(7, 44) Source(12, 63) + SourceIndex(0) +14>Emitted(7, 45) Source(12, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -168,20 +169,20 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 12> ] 13> ] 14> ; -1->Emitted(7, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(7, 16) Source(13, 16) + SourceIndex(0) -4 >Emitted(7, 19) Source(13, 38) + SourceIndex(0) -5 >Emitted(7, 20) Source(13, 39) + SourceIndex(0) -6 >Emitted(7, 29) Source(13, 48) + SourceIndex(0) -7 >Emitted(7, 31) Source(13, 50) + SourceIndex(0) -8 >Emitted(7, 32) Source(13, 51) + SourceIndex(0) -9 >Emitted(7, 42) Source(13, 61) + SourceIndex(0) -10>Emitted(7, 44) Source(13, 63) + SourceIndex(0) -11>Emitted(7, 52) Source(13, 71) + SourceIndex(0) -12>Emitted(7, 53) Source(13, 72) + SourceIndex(0) -13>Emitted(7, 54) Source(13, 73) + SourceIndex(0) -14>Emitted(7, 55) Source(13, 74) + SourceIndex(0) +1->Emitted(8, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(8, 16) Source(13, 16) + SourceIndex(0) +4 >Emitted(8, 19) Source(13, 38) + SourceIndex(0) +5 >Emitted(8, 20) Source(13, 39) + SourceIndex(0) +6 >Emitted(8, 29) Source(13, 48) + SourceIndex(0) +7 >Emitted(8, 31) Source(13, 50) + SourceIndex(0) +8 >Emitted(8, 32) Source(13, 51) + SourceIndex(0) +9 >Emitted(8, 42) Source(13, 61) + SourceIndex(0) +10>Emitted(8, 44) Source(13, 63) + SourceIndex(0) +11>Emitted(8, 52) Source(13, 71) + SourceIndex(0) +12>Emitted(8, 53) Source(13, 72) + SourceIndex(0) +13>Emitted(8, 54) Source(13, 73) + SourceIndex(0) +14>Emitted(8, 55) Source(13, 74) + SourceIndex(0) --- >>>function getMultiRobot() { 1 > @@ -192,9 +193,9 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. > 2 >function 3 > getMultiRobot -1 >Emitted(8, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(8, 10) Source(14, 10) + SourceIndex(0) -3 >Emitted(8, 23) Source(14, 23) + SourceIndex(0) +1 >Emitted(9, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(9, 10) Source(14, 10) + SourceIndex(0) +3 >Emitted(9, 23) Source(14, 23) + SourceIndex(0) --- >>> return multiRobotA; 1->^^^^ @@ -206,10 +207,10 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 2 > return 3 > multiRobotA 4 > ; -1->Emitted(9, 5) Source(15, 5) + SourceIndex(0) -2 >Emitted(9, 12) Source(15, 12) + SourceIndex(0) -3 >Emitted(9, 23) Source(15, 23) + SourceIndex(0) -4 >Emitted(9, 24) Source(15, 24) + SourceIndex(0) +1->Emitted(10, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(10, 12) Source(15, 12) + SourceIndex(0) +3 >Emitted(10, 23) Source(15, 23) + SourceIndex(0) +4 >Emitted(10, 24) Source(15, 24) + SourceIndex(0) --- >>>} 1 > @@ -218,8 +219,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(10, 2) Source(16, 2) + SourceIndex(0) +1 >Emitted(11, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(11, 2) Source(16, 2) + SourceIndex(0) --- >>>var nameA, primarySkillA, secondarySkillA; 1-> @@ -240,14 +241,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > , 7 > secondarySkillA: string 8 > ; -1->Emitted(11, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(11, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(11, 10) Source(18, 18) + SourceIndex(0) -4 >Emitted(11, 12) Source(18, 20) + SourceIndex(0) -5 >Emitted(11, 25) Source(18, 41) + SourceIndex(0) -6 >Emitted(11, 27) Source(18, 43) + SourceIndex(0) -7 >Emitted(11, 42) Source(18, 66) + SourceIndex(0) -8 >Emitted(11, 43) Source(18, 67) + SourceIndex(0) +1->Emitted(12, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(12, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(12, 10) Source(18, 18) + SourceIndex(0) +4 >Emitted(12, 12) Source(18, 20) + SourceIndex(0) +5 >Emitted(12, 25) Source(18, 41) + SourceIndex(0) +6 >Emitted(12, 27) Source(18, 43) + SourceIndex(0) +7 >Emitted(12, 42) Source(18, 66) + SourceIndex(0) +8 >Emitted(12, 43) Source(18, 67) + SourceIndex(0) --- >>>var numberB, nameB; 1 > @@ -264,12 +265,12 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 4 > , 5 > nameB: string 6 > ; -1 >Emitted(12, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(12, 5) Source(19, 5) + SourceIndex(0) -3 >Emitted(12, 12) Source(19, 20) + SourceIndex(0) -4 >Emitted(12, 14) Source(19, 22) + SourceIndex(0) -5 >Emitted(12, 19) Source(19, 35) + SourceIndex(0) -6 >Emitted(12, 20) Source(19, 36) + SourceIndex(0) +1 >Emitted(13, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(13, 5) Source(19, 5) + SourceIndex(0) +3 >Emitted(13, 12) Source(19, 20) + SourceIndex(0) +4 >Emitted(13, 14) Source(19, 22) + SourceIndex(0) +5 >Emitted(13, 19) Source(19, 35) + SourceIndex(0) +6 >Emitted(13, 20) Source(19, 36) + SourceIndex(0) --- >>>var numberA2, nameA2, skillA2, nameMA; 1-> @@ -294,16 +295,16 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 8 > , 9 > nameMA: string 10> ; -1->Emitted(13, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(13, 5) Source(20, 5) + SourceIndex(0) -3 >Emitted(13, 13) Source(20, 21) + SourceIndex(0) -4 >Emitted(13, 15) Source(20, 23) + SourceIndex(0) -5 >Emitted(13, 21) Source(20, 37) + SourceIndex(0) -6 >Emitted(13, 23) Source(20, 39) + SourceIndex(0) -7 >Emitted(13, 30) Source(20, 54) + SourceIndex(0) -8 >Emitted(13, 32) Source(20, 56) + SourceIndex(0) -9 >Emitted(13, 38) Source(20, 70) + SourceIndex(0) -10>Emitted(13, 39) Source(20, 71) + SourceIndex(0) +1->Emitted(14, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(14, 5) Source(20, 5) + SourceIndex(0) +3 >Emitted(14, 13) Source(20, 21) + SourceIndex(0) +4 >Emitted(14, 15) Source(20, 23) + SourceIndex(0) +5 >Emitted(14, 21) Source(20, 37) + SourceIndex(0) +6 >Emitted(14, 23) Source(20, 39) + SourceIndex(0) +7 >Emitted(14, 30) Source(20, 54) + SourceIndex(0) +8 >Emitted(14, 32) Source(20, 56) + SourceIndex(0) +9 >Emitted(14, 38) Source(20, 70) + SourceIndex(0) +10>Emitted(14, 39) Source(20, 71) + SourceIndex(0) --- >>>var numberA3, robotAInfo, multiRobotAInfo; 1-> @@ -323,14 +324,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > , 7 > multiRobotAInfo: (string | [string, string])[] 8 > ; -1->Emitted(14, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(14, 5) Source(21, 5) + SourceIndex(0) -3 >Emitted(14, 13) Source(21, 21) + SourceIndex(0) -4 >Emitted(14, 15) Source(21, 23) + SourceIndex(0) -5 >Emitted(14, 25) Source(21, 54) + SourceIndex(0) -6 >Emitted(14, 27) Source(21, 56) + SourceIndex(0) -7 >Emitted(14, 42) Source(21, 102) + SourceIndex(0) -8 >Emitted(14, 43) Source(21, 103) + SourceIndex(0) +1->Emitted(15, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(15, 5) Source(21, 5) + SourceIndex(0) +3 >Emitted(15, 13) Source(21, 21) + SourceIndex(0) +4 >Emitted(15, 15) Source(21, 23) + SourceIndex(0) +5 >Emitted(15, 25) Source(21, 54) + SourceIndex(0) +6 >Emitted(15, 27) Source(21, 56) + SourceIndex(0) +7 >Emitted(15, 42) Source(21, 102) + SourceIndex(0) +8 >Emitted(15, 43) Source(21, 103) + SourceIndex(0) --- >>>var i; 1 > @@ -343,10 +344,10 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 2 >let 3 > i: number 4 > ; -1 >Emitted(15, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(15, 5) Source(22, 5) + SourceIndex(0) -3 >Emitted(15, 6) Source(22, 14) + SourceIndex(0) -4 >Emitted(15, 7) Source(22, 15) + SourceIndex(0) +1 >Emitted(16, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(16, 5) Source(22, 5) + SourceIndex(0) +3 >Emitted(16, 6) Source(22, 14) + SourceIndex(0) +4 >Emitted(16, 7) Source(22, 15) + SourceIndex(0) --- >>>for (_a = robotA[1], nameA = _a === void 0 ? "name" : _a, i = 0; i < 1; i++) { 1-> @@ -397,29 +398,29 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 21> ++ 22> ) 23> { -1->Emitted(16, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(16, 6) Source(24, 9) + SourceIndex(0) -3 >Emitted(16, 11) Source(24, 27) + SourceIndex(0) -4 >Emitted(16, 17) Source(24, 33) + SourceIndex(0) -5 >Emitted(16, 20) Source(24, 23) + SourceIndex(0) -6 >Emitted(16, 22) Source(24, 9) + SourceIndex(0) -7 >Emitted(16, 27) Source(24, 14) + SourceIndex(0) -8 >Emitted(16, 46) Source(24, 17) + SourceIndex(0) -9 >Emitted(16, 52) Source(24, 23) + SourceIndex(0) -10>Emitted(16, 57) Source(24, 23) + SourceIndex(0) -11>Emitted(16, 59) Source(24, 35) + SourceIndex(0) -12>Emitted(16, 60) Source(24, 36) + SourceIndex(0) -13>Emitted(16, 63) Source(24, 39) + SourceIndex(0) -14>Emitted(16, 64) Source(24, 40) + SourceIndex(0) -15>Emitted(16, 66) Source(24, 42) + SourceIndex(0) -16>Emitted(16, 67) Source(24, 43) + SourceIndex(0) -17>Emitted(16, 70) Source(24, 46) + SourceIndex(0) -18>Emitted(16, 71) Source(24, 47) + SourceIndex(0) -19>Emitted(16, 73) Source(24, 49) + SourceIndex(0) -20>Emitted(16, 74) Source(24, 50) + SourceIndex(0) -21>Emitted(16, 76) Source(24, 52) + SourceIndex(0) -22>Emitted(16, 78) Source(24, 54) + SourceIndex(0) -23>Emitted(16, 79) Source(24, 55) + SourceIndex(0) +1->Emitted(17, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(17, 6) Source(24, 9) + SourceIndex(0) +3 >Emitted(17, 11) Source(24, 27) + SourceIndex(0) +4 >Emitted(17, 17) Source(24, 33) + SourceIndex(0) +5 >Emitted(17, 20) Source(24, 23) + SourceIndex(0) +6 >Emitted(17, 22) Source(24, 9) + SourceIndex(0) +7 >Emitted(17, 27) Source(24, 14) + SourceIndex(0) +8 >Emitted(17, 46) Source(24, 17) + SourceIndex(0) +9 >Emitted(17, 52) Source(24, 23) + SourceIndex(0) +10>Emitted(17, 57) Source(24, 23) + SourceIndex(0) +11>Emitted(17, 59) Source(24, 35) + SourceIndex(0) +12>Emitted(17, 60) Source(24, 36) + SourceIndex(0) +13>Emitted(17, 63) Source(24, 39) + SourceIndex(0) +14>Emitted(17, 64) Source(24, 40) + SourceIndex(0) +15>Emitted(17, 66) Source(24, 42) + SourceIndex(0) +16>Emitted(17, 67) Source(24, 43) + SourceIndex(0) +17>Emitted(17, 70) Source(24, 46) + SourceIndex(0) +18>Emitted(17, 71) Source(24, 47) + SourceIndex(0) +19>Emitted(17, 73) Source(24, 49) + SourceIndex(0) +20>Emitted(17, 74) Source(24, 50) + SourceIndex(0) +21>Emitted(17, 76) Source(24, 52) + SourceIndex(0) +22>Emitted(17, 78) Source(24, 54) + SourceIndex(0) +23>Emitted(17, 79) Source(24, 55) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -439,14 +440,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameA 7 > ) 8 > ; -1 >Emitted(17, 5) Source(25, 5) + SourceIndex(0) -2 >Emitted(17, 12) Source(25, 12) + SourceIndex(0) -3 >Emitted(17, 13) Source(25, 13) + SourceIndex(0) -4 >Emitted(17, 16) Source(25, 16) + SourceIndex(0) -5 >Emitted(17, 17) Source(25, 17) + SourceIndex(0) -6 >Emitted(17, 22) Source(25, 22) + SourceIndex(0) -7 >Emitted(17, 23) Source(25, 23) + SourceIndex(0) -8 >Emitted(17, 24) Source(25, 24) + SourceIndex(0) +1 >Emitted(18, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(18, 12) Source(25, 12) + SourceIndex(0) +3 >Emitted(18, 13) Source(25, 13) + SourceIndex(0) +4 >Emitted(18, 16) Source(25, 16) + SourceIndex(0) +5 >Emitted(18, 17) Source(25, 17) + SourceIndex(0) +6 >Emitted(18, 22) Source(25, 22) + SourceIndex(0) +7 >Emitted(18, 23) Source(25, 23) + SourceIndex(0) +8 >Emitted(18, 24) Source(25, 24) + SourceIndex(0) --- >>>} 1 > @@ -455,8 +456,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(18, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(18, 2) Source(26, 2) + SourceIndex(0) +1 >Emitted(19, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(26, 2) + SourceIndex(0) --- >>>for (_b = getRobot(), _c = _b[1], nameA = _c === void 0 ? "name" : _c, i = 0; i < 1; i++) { 1-> @@ -510,31 +511,31 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 23> ++ 24> ) 25> { -1->Emitted(19, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(19, 6) Source(27, 6) + SourceIndex(0) -3 >Emitted(19, 11) Source(27, 27) + SourceIndex(0) -4 >Emitted(19, 19) Source(27, 35) + SourceIndex(0) -5 >Emitted(19, 21) Source(27, 37) + SourceIndex(0) -6 >Emitted(19, 23) Source(27, 9) + SourceIndex(0) -7 >Emitted(19, 33) Source(27, 23) + SourceIndex(0) -8 >Emitted(19, 35) Source(27, 9) + SourceIndex(0) -9 >Emitted(19, 40) Source(27, 14) + SourceIndex(0) -10>Emitted(19, 59) Source(27, 17) + SourceIndex(0) -11>Emitted(19, 65) Source(27, 23) + SourceIndex(0) -12>Emitted(19, 70) Source(27, 23) + SourceIndex(0) -13>Emitted(19, 72) Source(27, 39) + SourceIndex(0) -14>Emitted(19, 73) Source(27, 40) + SourceIndex(0) -15>Emitted(19, 76) Source(27, 43) + SourceIndex(0) -16>Emitted(19, 77) Source(27, 44) + SourceIndex(0) -17>Emitted(19, 79) Source(27, 46) + SourceIndex(0) -18>Emitted(19, 80) Source(27, 47) + SourceIndex(0) -19>Emitted(19, 83) Source(27, 50) + SourceIndex(0) -20>Emitted(19, 84) Source(27, 51) + SourceIndex(0) -21>Emitted(19, 86) Source(27, 53) + SourceIndex(0) -22>Emitted(19, 87) Source(27, 54) + SourceIndex(0) -23>Emitted(19, 89) Source(27, 56) + SourceIndex(0) -24>Emitted(19, 91) Source(27, 58) + SourceIndex(0) -25>Emitted(19, 92) Source(27, 59) + SourceIndex(0) +1->Emitted(20, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(20, 6) Source(27, 6) + SourceIndex(0) +3 >Emitted(20, 11) Source(27, 27) + SourceIndex(0) +4 >Emitted(20, 19) Source(27, 35) + SourceIndex(0) +5 >Emitted(20, 21) Source(27, 37) + SourceIndex(0) +6 >Emitted(20, 23) Source(27, 9) + SourceIndex(0) +7 >Emitted(20, 33) Source(27, 23) + SourceIndex(0) +8 >Emitted(20, 35) Source(27, 9) + SourceIndex(0) +9 >Emitted(20, 40) Source(27, 14) + SourceIndex(0) +10>Emitted(20, 59) Source(27, 17) + SourceIndex(0) +11>Emitted(20, 65) Source(27, 23) + SourceIndex(0) +12>Emitted(20, 70) Source(27, 23) + SourceIndex(0) +13>Emitted(20, 72) Source(27, 39) + SourceIndex(0) +14>Emitted(20, 73) Source(27, 40) + SourceIndex(0) +15>Emitted(20, 76) Source(27, 43) + SourceIndex(0) +16>Emitted(20, 77) Source(27, 44) + SourceIndex(0) +17>Emitted(20, 79) Source(27, 46) + SourceIndex(0) +18>Emitted(20, 80) Source(27, 47) + SourceIndex(0) +19>Emitted(20, 83) Source(27, 50) + SourceIndex(0) +20>Emitted(20, 84) Source(27, 51) + SourceIndex(0) +21>Emitted(20, 86) Source(27, 53) + SourceIndex(0) +22>Emitted(20, 87) Source(27, 54) + SourceIndex(0) +23>Emitted(20, 89) Source(27, 56) + SourceIndex(0) +24>Emitted(20, 91) Source(27, 58) + SourceIndex(0) +25>Emitted(20, 92) Source(27, 59) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -554,14 +555,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameA 7 > ) 8 > ; -1 >Emitted(20, 5) Source(28, 5) + SourceIndex(0) -2 >Emitted(20, 12) Source(28, 12) + SourceIndex(0) -3 >Emitted(20, 13) Source(28, 13) + SourceIndex(0) -4 >Emitted(20, 16) Source(28, 16) + SourceIndex(0) -5 >Emitted(20, 17) Source(28, 17) + SourceIndex(0) -6 >Emitted(20, 22) Source(28, 22) + SourceIndex(0) -7 >Emitted(20, 23) Source(28, 23) + SourceIndex(0) -8 >Emitted(20, 24) Source(28, 24) + SourceIndex(0) +1 >Emitted(21, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(21, 12) Source(28, 12) + SourceIndex(0) +3 >Emitted(21, 13) Source(28, 13) + SourceIndex(0) +4 >Emitted(21, 16) Source(28, 16) + SourceIndex(0) +5 >Emitted(21, 17) Source(28, 17) + SourceIndex(0) +6 >Emitted(21, 22) Source(28, 22) + SourceIndex(0) +7 >Emitted(21, 23) Source(28, 23) + SourceIndex(0) +8 >Emitted(21, 24) Source(28, 24) + SourceIndex(0) --- >>>} 1 > @@ -570,8 +571,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(21, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(21, 2) Source(29, 2) + SourceIndex(0) +1 >Emitted(22, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(22, 2) Source(29, 2) + SourceIndex(0) --- >>>for (_d = [2, "trimmer", "trimming"], _e = _d[1], nameA = _e === void 0 ? "name" : _e, i = 0; i < 1; i++) { 1-> @@ -635,36 +636,36 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 28> ++ 29> ) 30> { -1->Emitted(22, 1) Source(30, 1) + SourceIndex(0) -2 >Emitted(22, 6) Source(30, 6) + SourceIndex(0) -3 >Emitted(22, 11) Source(30, 27) + SourceIndex(0) -4 >Emitted(22, 12) Source(30, 28) + SourceIndex(0) -5 >Emitted(22, 13) Source(30, 29) + SourceIndex(0) -6 >Emitted(22, 15) Source(30, 31) + SourceIndex(0) -7 >Emitted(22, 24) Source(30, 40) + SourceIndex(0) -8 >Emitted(22, 26) Source(30, 42) + SourceIndex(0) -9 >Emitted(22, 36) Source(30, 52) + SourceIndex(0) -10>Emitted(22, 37) Source(30, 53) + SourceIndex(0) -11>Emitted(22, 39) Source(30, 9) + SourceIndex(0) -12>Emitted(22, 49) Source(30, 23) + SourceIndex(0) -13>Emitted(22, 51) Source(30, 9) + SourceIndex(0) -14>Emitted(22, 56) Source(30, 14) + SourceIndex(0) -15>Emitted(22, 75) Source(30, 17) + SourceIndex(0) -16>Emitted(22, 81) Source(30, 23) + SourceIndex(0) -17>Emitted(22, 86) Source(30, 23) + SourceIndex(0) -18>Emitted(22, 88) Source(30, 55) + SourceIndex(0) -19>Emitted(22, 89) Source(30, 56) + SourceIndex(0) -20>Emitted(22, 92) Source(30, 59) + SourceIndex(0) -21>Emitted(22, 93) Source(30, 60) + SourceIndex(0) -22>Emitted(22, 95) Source(30, 62) + SourceIndex(0) -23>Emitted(22, 96) Source(30, 63) + SourceIndex(0) -24>Emitted(22, 99) Source(30, 66) + SourceIndex(0) -25>Emitted(22, 100) Source(30, 67) + SourceIndex(0) -26>Emitted(22, 102) Source(30, 69) + SourceIndex(0) -27>Emitted(22, 103) Source(30, 70) + SourceIndex(0) -28>Emitted(22, 105) Source(30, 72) + SourceIndex(0) -29>Emitted(22, 107) Source(30, 74) + SourceIndex(0) -30>Emitted(22, 108) Source(30, 75) + SourceIndex(0) +1->Emitted(23, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(23, 6) Source(30, 6) + SourceIndex(0) +3 >Emitted(23, 11) Source(30, 27) + SourceIndex(0) +4 >Emitted(23, 12) Source(30, 28) + SourceIndex(0) +5 >Emitted(23, 13) Source(30, 29) + SourceIndex(0) +6 >Emitted(23, 15) Source(30, 31) + SourceIndex(0) +7 >Emitted(23, 24) Source(30, 40) + SourceIndex(0) +8 >Emitted(23, 26) Source(30, 42) + SourceIndex(0) +9 >Emitted(23, 36) Source(30, 52) + SourceIndex(0) +10>Emitted(23, 37) Source(30, 53) + SourceIndex(0) +11>Emitted(23, 39) Source(30, 9) + SourceIndex(0) +12>Emitted(23, 49) Source(30, 23) + SourceIndex(0) +13>Emitted(23, 51) Source(30, 9) + SourceIndex(0) +14>Emitted(23, 56) Source(30, 14) + SourceIndex(0) +15>Emitted(23, 75) Source(30, 17) + SourceIndex(0) +16>Emitted(23, 81) Source(30, 23) + SourceIndex(0) +17>Emitted(23, 86) Source(30, 23) + SourceIndex(0) +18>Emitted(23, 88) Source(30, 55) + SourceIndex(0) +19>Emitted(23, 89) Source(30, 56) + SourceIndex(0) +20>Emitted(23, 92) Source(30, 59) + SourceIndex(0) +21>Emitted(23, 93) Source(30, 60) + SourceIndex(0) +22>Emitted(23, 95) Source(30, 62) + SourceIndex(0) +23>Emitted(23, 96) Source(30, 63) + SourceIndex(0) +24>Emitted(23, 99) Source(30, 66) + SourceIndex(0) +25>Emitted(23, 100) Source(30, 67) + SourceIndex(0) +26>Emitted(23, 102) Source(30, 69) + SourceIndex(0) +27>Emitted(23, 103) Source(30, 70) + SourceIndex(0) +28>Emitted(23, 105) Source(30, 72) + SourceIndex(0) +29>Emitted(23, 107) Source(30, 74) + SourceIndex(0) +30>Emitted(23, 108) Source(30, 75) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -684,14 +685,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameA 7 > ) 8 > ; -1 >Emitted(23, 5) Source(31, 5) + SourceIndex(0) -2 >Emitted(23, 12) Source(31, 12) + SourceIndex(0) -3 >Emitted(23, 13) Source(31, 13) + SourceIndex(0) -4 >Emitted(23, 16) Source(31, 16) + SourceIndex(0) -5 >Emitted(23, 17) Source(31, 17) + SourceIndex(0) -6 >Emitted(23, 22) Source(31, 22) + SourceIndex(0) -7 >Emitted(23, 23) Source(31, 23) + SourceIndex(0) -8 >Emitted(23, 24) Source(31, 24) + SourceIndex(0) +1 >Emitted(24, 5) Source(31, 5) + SourceIndex(0) +2 >Emitted(24, 12) Source(31, 12) + SourceIndex(0) +3 >Emitted(24, 13) Source(31, 13) + SourceIndex(0) +4 >Emitted(24, 16) Source(31, 16) + SourceIndex(0) +5 >Emitted(24, 17) Source(31, 17) + SourceIndex(0) +6 >Emitted(24, 22) Source(31, 22) + SourceIndex(0) +7 >Emitted(24, 23) Source(31, 23) + SourceIndex(0) +8 >Emitted(24, 24) Source(31, 24) + SourceIndex(0) --- >>>} 1 > @@ -700,8 +701,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(24, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(24, 2) Source(32, 2) + SourceIndex(0) +1 >Emitted(25, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(25, 2) Source(32, 2) + SourceIndex(0) --- >>>for (_f = multiRobotA[1], _g = _f === void 0 ? ["none", "none"] : _f, _h = _g[0], primarySkillA = _h === void 0 ? "primary" : _h, _j = _g[1], secondarySkillA = _j === void 0 ? "secondary" : _j, i = 0; i < 1; i++) { 1-> @@ -793,46 +794,46 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 38> ++ 39> ) 40> { -1->Emitted(25, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(25, 6) Source(33, 9) + SourceIndex(0) -3 >Emitted(25, 11) Source(36, 25) + SourceIndex(0) -4 >Emitted(25, 22) Source(36, 36) + SourceIndex(0) -5 >Emitted(25, 25) Source(36, 21) + SourceIndex(0) -6 >Emitted(25, 27) Source(33, 9) + SourceIndex(0) -7 >Emitted(25, 48) Source(36, 5) + SourceIndex(0) -8 >Emitted(25, 49) Source(36, 6) + SourceIndex(0) -9 >Emitted(25, 55) Source(36, 12) + SourceIndex(0) -10>Emitted(25, 57) Source(36, 14) + SourceIndex(0) -11>Emitted(25, 63) Source(36, 20) + SourceIndex(0) -12>Emitted(25, 64) Source(36, 21) + SourceIndex(0) -13>Emitted(25, 69) Source(36, 21) + SourceIndex(0) -14>Emitted(25, 71) Source(34, 5) + SourceIndex(0) -15>Emitted(25, 81) Source(34, 30) + SourceIndex(0) -16>Emitted(25, 83) Source(34, 5) + SourceIndex(0) -17>Emitted(25, 96) Source(34, 18) + SourceIndex(0) -18>Emitted(25, 115) Source(34, 21) + SourceIndex(0) -19>Emitted(25, 124) Source(34, 30) + SourceIndex(0) -20>Emitted(25, 129) Source(34, 30) + SourceIndex(0) -21>Emitted(25, 131) Source(35, 5) + SourceIndex(0) -22>Emitted(25, 141) Source(35, 34) + SourceIndex(0) -23>Emitted(25, 143) Source(35, 5) + SourceIndex(0) -24>Emitted(25, 158) Source(35, 20) + SourceIndex(0) -25>Emitted(25, 177) Source(35, 23) + SourceIndex(0) -26>Emitted(25, 188) Source(35, 34) + SourceIndex(0) -27>Emitted(25, 193) Source(35, 34) + SourceIndex(0) -28>Emitted(25, 195) Source(36, 38) + SourceIndex(0) -29>Emitted(25, 196) Source(36, 39) + SourceIndex(0) -30>Emitted(25, 199) Source(36, 42) + SourceIndex(0) -31>Emitted(25, 200) Source(36, 43) + SourceIndex(0) -32>Emitted(25, 202) Source(36, 45) + SourceIndex(0) -33>Emitted(25, 203) Source(36, 46) + SourceIndex(0) -34>Emitted(25, 206) Source(36, 49) + SourceIndex(0) -35>Emitted(25, 207) Source(36, 50) + SourceIndex(0) -36>Emitted(25, 209) Source(36, 52) + SourceIndex(0) -37>Emitted(25, 210) Source(36, 53) + SourceIndex(0) -38>Emitted(25, 212) Source(36, 55) + SourceIndex(0) -39>Emitted(25, 214) Source(36, 57) + SourceIndex(0) -40>Emitted(25, 215) Source(36, 58) + SourceIndex(0) +1->Emitted(26, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(26, 6) Source(33, 9) + SourceIndex(0) +3 >Emitted(26, 11) Source(36, 25) + SourceIndex(0) +4 >Emitted(26, 22) Source(36, 36) + SourceIndex(0) +5 >Emitted(26, 25) Source(36, 21) + SourceIndex(0) +6 >Emitted(26, 27) Source(33, 9) + SourceIndex(0) +7 >Emitted(26, 48) Source(36, 5) + SourceIndex(0) +8 >Emitted(26, 49) Source(36, 6) + SourceIndex(0) +9 >Emitted(26, 55) Source(36, 12) + SourceIndex(0) +10>Emitted(26, 57) Source(36, 14) + SourceIndex(0) +11>Emitted(26, 63) Source(36, 20) + SourceIndex(0) +12>Emitted(26, 64) Source(36, 21) + SourceIndex(0) +13>Emitted(26, 69) Source(36, 21) + SourceIndex(0) +14>Emitted(26, 71) Source(34, 5) + SourceIndex(0) +15>Emitted(26, 81) Source(34, 30) + SourceIndex(0) +16>Emitted(26, 83) Source(34, 5) + SourceIndex(0) +17>Emitted(26, 96) Source(34, 18) + SourceIndex(0) +18>Emitted(26, 115) Source(34, 21) + SourceIndex(0) +19>Emitted(26, 124) Source(34, 30) + SourceIndex(0) +20>Emitted(26, 129) Source(34, 30) + SourceIndex(0) +21>Emitted(26, 131) Source(35, 5) + SourceIndex(0) +22>Emitted(26, 141) Source(35, 34) + SourceIndex(0) +23>Emitted(26, 143) Source(35, 5) + SourceIndex(0) +24>Emitted(26, 158) Source(35, 20) + SourceIndex(0) +25>Emitted(26, 177) Source(35, 23) + SourceIndex(0) +26>Emitted(26, 188) Source(35, 34) + SourceIndex(0) +27>Emitted(26, 193) Source(35, 34) + SourceIndex(0) +28>Emitted(26, 195) Source(36, 38) + SourceIndex(0) +29>Emitted(26, 196) Source(36, 39) + SourceIndex(0) +30>Emitted(26, 199) Source(36, 42) + SourceIndex(0) +31>Emitted(26, 200) Source(36, 43) + SourceIndex(0) +32>Emitted(26, 202) Source(36, 45) + SourceIndex(0) +33>Emitted(26, 203) Source(36, 46) + SourceIndex(0) +34>Emitted(26, 206) Source(36, 49) + SourceIndex(0) +35>Emitted(26, 207) Source(36, 50) + SourceIndex(0) +36>Emitted(26, 209) Source(36, 52) + SourceIndex(0) +37>Emitted(26, 210) Source(36, 53) + SourceIndex(0) +38>Emitted(26, 212) Source(36, 55) + SourceIndex(0) +39>Emitted(26, 214) Source(36, 57) + SourceIndex(0) +40>Emitted(26, 215) Source(36, 58) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -852,14 +853,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(26, 5) Source(37, 5) + SourceIndex(0) -2 >Emitted(26, 12) Source(37, 12) + SourceIndex(0) -3 >Emitted(26, 13) Source(37, 13) + SourceIndex(0) -4 >Emitted(26, 16) Source(37, 16) + SourceIndex(0) -5 >Emitted(26, 17) Source(37, 17) + SourceIndex(0) -6 >Emitted(26, 30) Source(37, 30) + SourceIndex(0) -7 >Emitted(26, 31) Source(37, 31) + SourceIndex(0) -8 >Emitted(26, 32) Source(37, 32) + SourceIndex(0) +1 >Emitted(27, 5) Source(37, 5) + SourceIndex(0) +2 >Emitted(27, 12) Source(37, 12) + SourceIndex(0) +3 >Emitted(27, 13) Source(37, 13) + SourceIndex(0) +4 >Emitted(27, 16) Source(37, 16) + SourceIndex(0) +5 >Emitted(27, 17) Source(37, 17) + SourceIndex(0) +6 >Emitted(27, 30) Source(37, 30) + SourceIndex(0) +7 >Emitted(27, 31) Source(37, 31) + SourceIndex(0) +8 >Emitted(27, 32) Source(37, 32) + SourceIndex(0) --- >>>} 1 > @@ -868,8 +869,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(27, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(27, 2) Source(38, 2) + SourceIndex(0) +1 >Emitted(28, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(28, 2) Source(38, 2) + SourceIndex(0) --- >>>for (_k = getMultiRobot(), _l = _k[1], _m = _l === void 0 ? ["none", "none"] : _l, _o = _m[0], primarySkillA = _o === void 0 ? "primary" : _o, _p = _m[1], secondarySkillA = _p === void 0 ? "secondary" : _p, i = 0; i < 1; i++) { 1-> @@ -968,48 +969,48 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 40> ++ 41> ) 42> { -1->Emitted(28, 1) Source(39, 1) + SourceIndex(0) -2 >Emitted(28, 6) Source(39, 6) + SourceIndex(0) -3 >Emitted(28, 11) Source(42, 25) + SourceIndex(0) -4 >Emitted(28, 24) Source(42, 38) + SourceIndex(0) -5 >Emitted(28, 26) Source(42, 40) + SourceIndex(0) -6 >Emitted(28, 28) Source(39, 9) + SourceIndex(0) -7 >Emitted(28, 38) Source(42, 21) + SourceIndex(0) -8 >Emitted(28, 40) Source(39, 9) + SourceIndex(0) -9 >Emitted(28, 61) Source(42, 5) + SourceIndex(0) -10>Emitted(28, 62) Source(42, 6) + SourceIndex(0) -11>Emitted(28, 68) Source(42, 12) + SourceIndex(0) -12>Emitted(28, 70) Source(42, 14) + SourceIndex(0) -13>Emitted(28, 76) Source(42, 20) + SourceIndex(0) -14>Emitted(28, 77) Source(42, 21) + SourceIndex(0) -15>Emitted(28, 82) Source(42, 21) + SourceIndex(0) -16>Emitted(28, 84) Source(40, 5) + SourceIndex(0) -17>Emitted(28, 94) Source(40, 30) + SourceIndex(0) -18>Emitted(28, 96) Source(40, 5) + SourceIndex(0) -19>Emitted(28, 109) Source(40, 18) + SourceIndex(0) -20>Emitted(28, 128) Source(40, 21) + SourceIndex(0) -21>Emitted(28, 137) Source(40, 30) + SourceIndex(0) -22>Emitted(28, 142) Source(40, 30) + SourceIndex(0) -23>Emitted(28, 144) Source(41, 5) + SourceIndex(0) -24>Emitted(28, 154) Source(41, 34) + SourceIndex(0) -25>Emitted(28, 156) Source(41, 5) + SourceIndex(0) -26>Emitted(28, 171) Source(41, 20) + SourceIndex(0) -27>Emitted(28, 190) Source(41, 23) + SourceIndex(0) -28>Emitted(28, 201) Source(41, 34) + SourceIndex(0) -29>Emitted(28, 206) Source(41, 34) + SourceIndex(0) -30>Emitted(28, 208) Source(42, 42) + SourceIndex(0) -31>Emitted(28, 209) Source(42, 43) + SourceIndex(0) -32>Emitted(28, 212) Source(42, 46) + SourceIndex(0) -33>Emitted(28, 213) Source(42, 47) + SourceIndex(0) -34>Emitted(28, 215) Source(42, 49) + SourceIndex(0) -35>Emitted(28, 216) Source(42, 50) + SourceIndex(0) -36>Emitted(28, 219) Source(42, 53) + SourceIndex(0) -37>Emitted(28, 220) Source(42, 54) + SourceIndex(0) -38>Emitted(28, 222) Source(42, 56) + SourceIndex(0) -39>Emitted(28, 223) Source(42, 57) + SourceIndex(0) -40>Emitted(28, 225) Source(42, 59) + SourceIndex(0) -41>Emitted(28, 227) Source(42, 61) + SourceIndex(0) -42>Emitted(28, 228) Source(42, 62) + SourceIndex(0) +1->Emitted(29, 1) Source(39, 1) + SourceIndex(0) +2 >Emitted(29, 6) Source(39, 6) + SourceIndex(0) +3 >Emitted(29, 11) Source(42, 25) + SourceIndex(0) +4 >Emitted(29, 24) Source(42, 38) + SourceIndex(0) +5 >Emitted(29, 26) Source(42, 40) + SourceIndex(0) +6 >Emitted(29, 28) Source(39, 9) + SourceIndex(0) +7 >Emitted(29, 38) Source(42, 21) + SourceIndex(0) +8 >Emitted(29, 40) Source(39, 9) + SourceIndex(0) +9 >Emitted(29, 61) Source(42, 5) + SourceIndex(0) +10>Emitted(29, 62) Source(42, 6) + SourceIndex(0) +11>Emitted(29, 68) Source(42, 12) + SourceIndex(0) +12>Emitted(29, 70) Source(42, 14) + SourceIndex(0) +13>Emitted(29, 76) Source(42, 20) + SourceIndex(0) +14>Emitted(29, 77) Source(42, 21) + SourceIndex(0) +15>Emitted(29, 82) Source(42, 21) + SourceIndex(0) +16>Emitted(29, 84) Source(40, 5) + SourceIndex(0) +17>Emitted(29, 94) Source(40, 30) + SourceIndex(0) +18>Emitted(29, 96) Source(40, 5) + SourceIndex(0) +19>Emitted(29, 109) Source(40, 18) + SourceIndex(0) +20>Emitted(29, 128) Source(40, 21) + SourceIndex(0) +21>Emitted(29, 137) Source(40, 30) + SourceIndex(0) +22>Emitted(29, 142) Source(40, 30) + SourceIndex(0) +23>Emitted(29, 144) Source(41, 5) + SourceIndex(0) +24>Emitted(29, 154) Source(41, 34) + SourceIndex(0) +25>Emitted(29, 156) Source(41, 5) + SourceIndex(0) +26>Emitted(29, 171) Source(41, 20) + SourceIndex(0) +27>Emitted(29, 190) Source(41, 23) + SourceIndex(0) +28>Emitted(29, 201) Source(41, 34) + SourceIndex(0) +29>Emitted(29, 206) Source(41, 34) + SourceIndex(0) +30>Emitted(29, 208) Source(42, 42) + SourceIndex(0) +31>Emitted(29, 209) Source(42, 43) + SourceIndex(0) +32>Emitted(29, 212) Source(42, 46) + SourceIndex(0) +33>Emitted(29, 213) Source(42, 47) + SourceIndex(0) +34>Emitted(29, 215) Source(42, 49) + SourceIndex(0) +35>Emitted(29, 216) Source(42, 50) + SourceIndex(0) +36>Emitted(29, 219) Source(42, 53) + SourceIndex(0) +37>Emitted(29, 220) Source(42, 54) + SourceIndex(0) +38>Emitted(29, 222) Source(42, 56) + SourceIndex(0) +39>Emitted(29, 223) Source(42, 57) + SourceIndex(0) +40>Emitted(29, 225) Source(42, 59) + SourceIndex(0) +41>Emitted(29, 227) Source(42, 61) + SourceIndex(0) +42>Emitted(29, 228) Source(42, 62) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -1029,14 +1030,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(29, 5) Source(43, 5) + SourceIndex(0) -2 >Emitted(29, 12) Source(43, 12) + SourceIndex(0) -3 >Emitted(29, 13) Source(43, 13) + SourceIndex(0) -4 >Emitted(29, 16) Source(43, 16) + SourceIndex(0) -5 >Emitted(29, 17) Source(43, 17) + SourceIndex(0) -6 >Emitted(29, 30) Source(43, 30) + SourceIndex(0) -7 >Emitted(29, 31) Source(43, 31) + SourceIndex(0) -8 >Emitted(29, 32) Source(43, 32) + SourceIndex(0) +1 >Emitted(30, 5) Source(43, 5) + SourceIndex(0) +2 >Emitted(30, 12) Source(43, 12) + SourceIndex(0) +3 >Emitted(30, 13) Source(43, 13) + SourceIndex(0) +4 >Emitted(30, 16) Source(43, 16) + SourceIndex(0) +5 >Emitted(30, 17) Source(43, 17) + SourceIndex(0) +6 >Emitted(30, 30) Source(43, 30) + SourceIndex(0) +7 >Emitted(30, 31) Source(43, 31) + SourceIndex(0) +8 >Emitted(30, 32) Source(43, 32) + SourceIndex(0) --- >>>} 1 > @@ -1045,8 +1046,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(30, 1) Source(44, 1) + SourceIndex(0) -2 >Emitted(30, 2) Source(44, 2) + SourceIndex(0) +1 >Emitted(31, 1) Source(44, 1) + SourceIndex(0) +2 >Emitted(31, 2) Source(44, 2) + SourceIndex(0) --- >>>for (_q = ["trimmer", ["trimming", "edging"]], _r = _q[1], _s = _r === void 0 ? ["none", "none"] : _r, _t = _s[0], primarySkillA = _t === void 0 ? "primary" : _t, _u = _s[1], secondarySkillA = _u === void 0 ? "secondary" : _u, i = 0; i < 1; i++) { 1-> @@ -1159,55 +1160,55 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 47> ++ 48> ) 49> { -1->Emitted(31, 1) Source(45, 1) + SourceIndex(0) -2 >Emitted(31, 6) Source(45, 6) + SourceIndex(0) -3 >Emitted(31, 11) Source(48, 25) + SourceIndex(0) -4 >Emitted(31, 12) Source(48, 26) + SourceIndex(0) -5 >Emitted(31, 21) Source(48, 35) + SourceIndex(0) -6 >Emitted(31, 23) Source(48, 37) + SourceIndex(0) -7 >Emitted(31, 24) Source(48, 38) + SourceIndex(0) -8 >Emitted(31, 34) Source(48, 48) + SourceIndex(0) -9 >Emitted(31, 36) Source(48, 50) + SourceIndex(0) -10>Emitted(31, 44) Source(48, 58) + SourceIndex(0) -11>Emitted(31, 45) Source(48, 59) + SourceIndex(0) -12>Emitted(31, 46) Source(48, 60) + SourceIndex(0) -13>Emitted(31, 48) Source(45, 9) + SourceIndex(0) -14>Emitted(31, 58) Source(48, 21) + SourceIndex(0) -15>Emitted(31, 60) Source(45, 9) + SourceIndex(0) -16>Emitted(31, 81) Source(48, 5) + SourceIndex(0) -17>Emitted(31, 82) Source(48, 6) + SourceIndex(0) -18>Emitted(31, 88) Source(48, 12) + SourceIndex(0) -19>Emitted(31, 90) Source(48, 14) + SourceIndex(0) -20>Emitted(31, 96) Source(48, 20) + SourceIndex(0) -21>Emitted(31, 97) Source(48, 21) + SourceIndex(0) -22>Emitted(31, 102) Source(48, 21) + SourceIndex(0) -23>Emitted(31, 104) Source(46, 5) + SourceIndex(0) -24>Emitted(31, 114) Source(46, 30) + SourceIndex(0) -25>Emitted(31, 116) Source(46, 5) + SourceIndex(0) -26>Emitted(31, 129) Source(46, 18) + SourceIndex(0) -27>Emitted(31, 148) Source(46, 21) + SourceIndex(0) -28>Emitted(31, 157) Source(46, 30) + SourceIndex(0) -29>Emitted(31, 162) Source(46, 30) + SourceIndex(0) -30>Emitted(31, 164) Source(47, 5) + SourceIndex(0) -31>Emitted(31, 174) Source(47, 34) + SourceIndex(0) -32>Emitted(31, 176) Source(47, 5) + SourceIndex(0) -33>Emitted(31, 191) Source(47, 20) + SourceIndex(0) -34>Emitted(31, 210) Source(47, 23) + SourceIndex(0) -35>Emitted(31, 221) Source(47, 34) + SourceIndex(0) -36>Emitted(31, 226) Source(47, 34) + SourceIndex(0) -37>Emitted(31, 228) Source(48, 62) + SourceIndex(0) -38>Emitted(31, 229) Source(48, 63) + SourceIndex(0) -39>Emitted(31, 232) Source(48, 66) + SourceIndex(0) -40>Emitted(31, 233) Source(48, 67) + SourceIndex(0) -41>Emitted(31, 235) Source(48, 69) + SourceIndex(0) -42>Emitted(31, 236) Source(48, 70) + SourceIndex(0) -43>Emitted(31, 239) Source(48, 73) + SourceIndex(0) -44>Emitted(31, 240) Source(48, 74) + SourceIndex(0) -45>Emitted(31, 242) Source(48, 76) + SourceIndex(0) -46>Emitted(31, 243) Source(48, 77) + SourceIndex(0) -47>Emitted(31, 245) Source(48, 79) + SourceIndex(0) -48>Emitted(31, 247) Source(48, 81) + SourceIndex(0) -49>Emitted(31, 248) Source(48, 82) + SourceIndex(0) +1->Emitted(32, 1) Source(45, 1) + SourceIndex(0) +2 >Emitted(32, 6) Source(45, 6) + SourceIndex(0) +3 >Emitted(32, 11) Source(48, 25) + SourceIndex(0) +4 >Emitted(32, 12) Source(48, 26) + SourceIndex(0) +5 >Emitted(32, 21) Source(48, 35) + SourceIndex(0) +6 >Emitted(32, 23) Source(48, 37) + SourceIndex(0) +7 >Emitted(32, 24) Source(48, 38) + SourceIndex(0) +8 >Emitted(32, 34) Source(48, 48) + SourceIndex(0) +9 >Emitted(32, 36) Source(48, 50) + SourceIndex(0) +10>Emitted(32, 44) Source(48, 58) + SourceIndex(0) +11>Emitted(32, 45) Source(48, 59) + SourceIndex(0) +12>Emitted(32, 46) Source(48, 60) + SourceIndex(0) +13>Emitted(32, 48) Source(45, 9) + SourceIndex(0) +14>Emitted(32, 58) Source(48, 21) + SourceIndex(0) +15>Emitted(32, 60) Source(45, 9) + SourceIndex(0) +16>Emitted(32, 81) Source(48, 5) + SourceIndex(0) +17>Emitted(32, 82) Source(48, 6) + SourceIndex(0) +18>Emitted(32, 88) Source(48, 12) + SourceIndex(0) +19>Emitted(32, 90) Source(48, 14) + SourceIndex(0) +20>Emitted(32, 96) Source(48, 20) + SourceIndex(0) +21>Emitted(32, 97) Source(48, 21) + SourceIndex(0) +22>Emitted(32, 102) Source(48, 21) + SourceIndex(0) +23>Emitted(32, 104) Source(46, 5) + SourceIndex(0) +24>Emitted(32, 114) Source(46, 30) + SourceIndex(0) +25>Emitted(32, 116) Source(46, 5) + SourceIndex(0) +26>Emitted(32, 129) Source(46, 18) + SourceIndex(0) +27>Emitted(32, 148) Source(46, 21) + SourceIndex(0) +28>Emitted(32, 157) Source(46, 30) + SourceIndex(0) +29>Emitted(32, 162) Source(46, 30) + SourceIndex(0) +30>Emitted(32, 164) Source(47, 5) + SourceIndex(0) +31>Emitted(32, 174) Source(47, 34) + SourceIndex(0) +32>Emitted(32, 176) Source(47, 5) + SourceIndex(0) +33>Emitted(32, 191) Source(47, 20) + SourceIndex(0) +34>Emitted(32, 210) Source(47, 23) + SourceIndex(0) +35>Emitted(32, 221) Source(47, 34) + SourceIndex(0) +36>Emitted(32, 226) Source(47, 34) + SourceIndex(0) +37>Emitted(32, 228) Source(48, 62) + SourceIndex(0) +38>Emitted(32, 229) Source(48, 63) + SourceIndex(0) +39>Emitted(32, 232) Source(48, 66) + SourceIndex(0) +40>Emitted(32, 233) Source(48, 67) + SourceIndex(0) +41>Emitted(32, 235) Source(48, 69) + SourceIndex(0) +42>Emitted(32, 236) Source(48, 70) + SourceIndex(0) +43>Emitted(32, 239) Source(48, 73) + SourceIndex(0) +44>Emitted(32, 240) Source(48, 74) + SourceIndex(0) +45>Emitted(32, 242) Source(48, 76) + SourceIndex(0) +46>Emitted(32, 243) Source(48, 77) + SourceIndex(0) +47>Emitted(32, 245) Source(48, 79) + SourceIndex(0) +48>Emitted(32, 247) Source(48, 81) + SourceIndex(0) +49>Emitted(32, 248) Source(48, 82) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -1227,14 +1228,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(32, 5) Source(49, 5) + SourceIndex(0) -2 >Emitted(32, 12) Source(49, 12) + SourceIndex(0) -3 >Emitted(32, 13) Source(49, 13) + SourceIndex(0) -4 >Emitted(32, 16) Source(49, 16) + SourceIndex(0) -5 >Emitted(32, 17) Source(49, 17) + SourceIndex(0) -6 >Emitted(32, 30) Source(49, 30) + SourceIndex(0) -7 >Emitted(32, 31) Source(49, 31) + SourceIndex(0) -8 >Emitted(32, 32) Source(49, 32) + SourceIndex(0) +1 >Emitted(33, 5) Source(49, 5) + SourceIndex(0) +2 >Emitted(33, 12) Source(49, 12) + SourceIndex(0) +3 >Emitted(33, 13) Source(49, 13) + SourceIndex(0) +4 >Emitted(33, 16) Source(49, 16) + SourceIndex(0) +5 >Emitted(33, 17) Source(49, 17) + SourceIndex(0) +6 >Emitted(33, 30) Source(49, 30) + SourceIndex(0) +7 >Emitted(33, 31) Source(49, 31) + SourceIndex(0) +8 >Emitted(33, 32) Source(49, 32) + SourceIndex(0) --- >>>} 1 > @@ -1243,8 +1244,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(33, 1) Source(50, 1) + SourceIndex(0) -2 >Emitted(33, 2) Source(50, 2) + SourceIndex(0) +1 >Emitted(34, 1) Source(50, 1) + SourceIndex(0) +2 >Emitted(34, 2) Source(50, 2) + SourceIndex(0) --- >>>for (_v = robotA[0], numberB = _v === void 0 ? -1 : _v, i = 0; i < 1; i++) { 1-> @@ -1297,30 +1298,30 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 22> ++ 23> ) 24> { -1->Emitted(34, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(34, 6) Source(52, 7) + SourceIndex(0) -3 >Emitted(34, 11) Source(52, 23) + SourceIndex(0) -4 >Emitted(34, 17) Source(52, 29) + SourceIndex(0) -5 >Emitted(34, 20) Source(52, 19) + SourceIndex(0) -6 >Emitted(34, 22) Source(52, 7) + SourceIndex(0) -7 >Emitted(34, 29) Source(52, 14) + SourceIndex(0) -8 >Emitted(34, 48) Source(52, 17) + SourceIndex(0) -9 >Emitted(34, 49) Source(52, 18) + SourceIndex(0) -10>Emitted(34, 50) Source(52, 19) + SourceIndex(0) -11>Emitted(34, 55) Source(52, 19) + SourceIndex(0) -12>Emitted(34, 57) Source(52, 31) + SourceIndex(0) -13>Emitted(34, 58) Source(52, 32) + SourceIndex(0) -14>Emitted(34, 61) Source(52, 35) + SourceIndex(0) -15>Emitted(34, 62) Source(52, 36) + SourceIndex(0) -16>Emitted(34, 64) Source(52, 38) + SourceIndex(0) -17>Emitted(34, 65) Source(52, 39) + SourceIndex(0) -18>Emitted(34, 68) Source(52, 42) + SourceIndex(0) -19>Emitted(34, 69) Source(52, 43) + SourceIndex(0) -20>Emitted(34, 71) Source(52, 45) + SourceIndex(0) -21>Emitted(34, 72) Source(52, 46) + SourceIndex(0) -22>Emitted(34, 74) Source(52, 48) + SourceIndex(0) -23>Emitted(34, 76) Source(52, 50) + SourceIndex(0) -24>Emitted(34, 77) Source(52, 51) + SourceIndex(0) +1->Emitted(35, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(35, 6) Source(52, 7) + SourceIndex(0) +3 >Emitted(35, 11) Source(52, 23) + SourceIndex(0) +4 >Emitted(35, 17) Source(52, 29) + SourceIndex(0) +5 >Emitted(35, 20) Source(52, 19) + SourceIndex(0) +6 >Emitted(35, 22) Source(52, 7) + SourceIndex(0) +7 >Emitted(35, 29) Source(52, 14) + SourceIndex(0) +8 >Emitted(35, 48) Source(52, 17) + SourceIndex(0) +9 >Emitted(35, 49) Source(52, 18) + SourceIndex(0) +10>Emitted(35, 50) Source(52, 19) + SourceIndex(0) +11>Emitted(35, 55) Source(52, 19) + SourceIndex(0) +12>Emitted(35, 57) Source(52, 31) + SourceIndex(0) +13>Emitted(35, 58) Source(52, 32) + SourceIndex(0) +14>Emitted(35, 61) Source(52, 35) + SourceIndex(0) +15>Emitted(35, 62) Source(52, 36) + SourceIndex(0) +16>Emitted(35, 64) Source(52, 38) + SourceIndex(0) +17>Emitted(35, 65) Source(52, 39) + SourceIndex(0) +18>Emitted(35, 68) Source(52, 42) + SourceIndex(0) +19>Emitted(35, 69) Source(52, 43) + SourceIndex(0) +20>Emitted(35, 71) Source(52, 45) + SourceIndex(0) +21>Emitted(35, 72) Source(52, 46) + SourceIndex(0) +22>Emitted(35, 74) Source(52, 48) + SourceIndex(0) +23>Emitted(35, 76) Source(52, 50) + SourceIndex(0) +24>Emitted(35, 77) Source(52, 51) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1340,14 +1341,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > numberB 7 > ) 8 > ; -1 >Emitted(35, 5) Source(53, 5) + SourceIndex(0) -2 >Emitted(35, 12) Source(53, 12) + SourceIndex(0) -3 >Emitted(35, 13) Source(53, 13) + SourceIndex(0) -4 >Emitted(35, 16) Source(53, 16) + SourceIndex(0) -5 >Emitted(35, 17) Source(53, 17) + SourceIndex(0) -6 >Emitted(35, 24) Source(53, 24) + SourceIndex(0) -7 >Emitted(35, 25) Source(53, 25) + SourceIndex(0) -8 >Emitted(35, 26) Source(53, 26) + SourceIndex(0) +1 >Emitted(36, 5) Source(53, 5) + SourceIndex(0) +2 >Emitted(36, 12) Source(53, 12) + SourceIndex(0) +3 >Emitted(36, 13) Source(53, 13) + SourceIndex(0) +4 >Emitted(36, 16) Source(53, 16) + SourceIndex(0) +5 >Emitted(36, 17) Source(53, 17) + SourceIndex(0) +6 >Emitted(36, 24) Source(53, 24) + SourceIndex(0) +7 >Emitted(36, 25) Source(53, 25) + SourceIndex(0) +8 >Emitted(36, 26) Source(53, 26) + SourceIndex(0) --- >>>} 1 > @@ -1356,8 +1357,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(36, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(36, 2) Source(54, 2) + SourceIndex(0) +1 >Emitted(37, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(37, 2) Source(54, 2) + SourceIndex(0) --- >>>for (_w = getRobot()[0], numberB = _w === void 0 ? -1 : _w, i = 0; i < 1; i++) { 1-> @@ -1411,31 +1412,31 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 23> ++ 24> ) 25> { -1->Emitted(37, 1) Source(55, 1) + SourceIndex(0) -2 >Emitted(37, 6) Source(55, 7) + SourceIndex(0) -3 >Emitted(37, 11) Source(55, 23) + SourceIndex(0) -4 >Emitted(37, 19) Source(55, 31) + SourceIndex(0) -5 >Emitted(37, 21) Source(55, 33) + SourceIndex(0) -6 >Emitted(37, 24) Source(55, 19) + SourceIndex(0) -7 >Emitted(37, 26) Source(55, 7) + SourceIndex(0) -8 >Emitted(37, 33) Source(55, 14) + SourceIndex(0) -9 >Emitted(37, 52) Source(55, 17) + SourceIndex(0) -10>Emitted(37, 53) Source(55, 18) + SourceIndex(0) -11>Emitted(37, 54) Source(55, 19) + SourceIndex(0) -12>Emitted(37, 59) Source(55, 19) + SourceIndex(0) -13>Emitted(37, 61) Source(55, 35) + SourceIndex(0) -14>Emitted(37, 62) Source(55, 36) + SourceIndex(0) -15>Emitted(37, 65) Source(55, 39) + SourceIndex(0) -16>Emitted(37, 66) Source(55, 40) + SourceIndex(0) -17>Emitted(37, 68) Source(55, 42) + SourceIndex(0) -18>Emitted(37, 69) Source(55, 43) + SourceIndex(0) -19>Emitted(37, 72) Source(55, 46) + SourceIndex(0) -20>Emitted(37, 73) Source(55, 47) + SourceIndex(0) -21>Emitted(37, 75) Source(55, 49) + SourceIndex(0) -22>Emitted(37, 76) Source(55, 50) + SourceIndex(0) -23>Emitted(37, 78) Source(55, 52) + SourceIndex(0) -24>Emitted(37, 80) Source(55, 54) + SourceIndex(0) -25>Emitted(37, 81) Source(55, 55) + SourceIndex(0) +1->Emitted(38, 1) Source(55, 1) + SourceIndex(0) +2 >Emitted(38, 6) Source(55, 7) + SourceIndex(0) +3 >Emitted(38, 11) Source(55, 23) + SourceIndex(0) +4 >Emitted(38, 19) Source(55, 31) + SourceIndex(0) +5 >Emitted(38, 21) Source(55, 33) + SourceIndex(0) +6 >Emitted(38, 24) Source(55, 19) + SourceIndex(0) +7 >Emitted(38, 26) Source(55, 7) + SourceIndex(0) +8 >Emitted(38, 33) Source(55, 14) + SourceIndex(0) +9 >Emitted(38, 52) Source(55, 17) + SourceIndex(0) +10>Emitted(38, 53) Source(55, 18) + SourceIndex(0) +11>Emitted(38, 54) Source(55, 19) + SourceIndex(0) +12>Emitted(38, 59) Source(55, 19) + SourceIndex(0) +13>Emitted(38, 61) Source(55, 35) + SourceIndex(0) +14>Emitted(38, 62) Source(55, 36) + SourceIndex(0) +15>Emitted(38, 65) Source(55, 39) + SourceIndex(0) +16>Emitted(38, 66) Source(55, 40) + SourceIndex(0) +17>Emitted(38, 68) Source(55, 42) + SourceIndex(0) +18>Emitted(38, 69) Source(55, 43) + SourceIndex(0) +19>Emitted(38, 72) Source(55, 46) + SourceIndex(0) +20>Emitted(38, 73) Source(55, 47) + SourceIndex(0) +21>Emitted(38, 75) Source(55, 49) + SourceIndex(0) +22>Emitted(38, 76) Source(55, 50) + SourceIndex(0) +23>Emitted(38, 78) Source(55, 52) + SourceIndex(0) +24>Emitted(38, 80) Source(55, 54) + SourceIndex(0) +25>Emitted(38, 81) Source(55, 55) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1455,14 +1456,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > numberB 7 > ) 8 > ; -1 >Emitted(38, 5) Source(56, 5) + SourceIndex(0) -2 >Emitted(38, 12) Source(56, 12) + SourceIndex(0) -3 >Emitted(38, 13) Source(56, 13) + SourceIndex(0) -4 >Emitted(38, 16) Source(56, 16) + SourceIndex(0) -5 >Emitted(38, 17) Source(56, 17) + SourceIndex(0) -6 >Emitted(38, 24) Source(56, 24) + SourceIndex(0) -7 >Emitted(38, 25) Source(56, 25) + SourceIndex(0) -8 >Emitted(38, 26) Source(56, 26) + SourceIndex(0) +1 >Emitted(39, 5) Source(56, 5) + SourceIndex(0) +2 >Emitted(39, 12) Source(56, 12) + SourceIndex(0) +3 >Emitted(39, 13) Source(56, 13) + SourceIndex(0) +4 >Emitted(39, 16) Source(56, 16) + SourceIndex(0) +5 >Emitted(39, 17) Source(56, 17) + SourceIndex(0) +6 >Emitted(39, 24) Source(56, 24) + SourceIndex(0) +7 >Emitted(39, 25) Source(56, 25) + SourceIndex(0) +8 >Emitted(39, 26) Source(56, 26) + SourceIndex(0) --- >>>} 1 > @@ -1471,8 +1472,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(39, 1) Source(57, 1) + SourceIndex(0) -2 >Emitted(39, 2) Source(57, 2) + SourceIndex(0) +1 >Emitted(40, 1) Source(57, 1) + SourceIndex(0) +2 >Emitted(40, 2) Source(57, 2) + SourceIndex(0) --- >>>for (_x = [2, "trimmer", "trimming"][0], numberB = _x === void 0 ? -1 : _x, i = 0; i < 1; i++) { 1-> @@ -1536,36 +1537,36 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 28> ++ 29> ) 30> { -1->Emitted(40, 1) Source(58, 1) + SourceIndex(0) -2 >Emitted(40, 6) Source(58, 7) + SourceIndex(0) -3 >Emitted(40, 11) Source(58, 23) + SourceIndex(0) -4 >Emitted(40, 12) Source(58, 24) + SourceIndex(0) -5 >Emitted(40, 13) Source(58, 25) + SourceIndex(0) -6 >Emitted(40, 15) Source(58, 27) + SourceIndex(0) -7 >Emitted(40, 24) Source(58, 36) + SourceIndex(0) -8 >Emitted(40, 26) Source(58, 38) + SourceIndex(0) -9 >Emitted(40, 36) Source(58, 48) + SourceIndex(0) -10>Emitted(40, 37) Source(58, 49) + SourceIndex(0) -11>Emitted(40, 40) Source(58, 19) + SourceIndex(0) -12>Emitted(40, 42) Source(58, 7) + SourceIndex(0) -13>Emitted(40, 49) Source(58, 14) + SourceIndex(0) -14>Emitted(40, 68) Source(58, 17) + SourceIndex(0) -15>Emitted(40, 69) Source(58, 18) + SourceIndex(0) -16>Emitted(40, 70) Source(58, 19) + SourceIndex(0) -17>Emitted(40, 75) Source(58, 19) + SourceIndex(0) -18>Emitted(40, 77) Source(58, 51) + SourceIndex(0) -19>Emitted(40, 78) Source(58, 52) + SourceIndex(0) -20>Emitted(40, 81) Source(58, 55) + SourceIndex(0) -21>Emitted(40, 82) Source(58, 56) + SourceIndex(0) -22>Emitted(40, 84) Source(58, 58) + SourceIndex(0) -23>Emitted(40, 85) Source(58, 59) + SourceIndex(0) -24>Emitted(40, 88) Source(58, 62) + SourceIndex(0) -25>Emitted(40, 89) Source(58, 63) + SourceIndex(0) -26>Emitted(40, 91) Source(58, 65) + SourceIndex(0) -27>Emitted(40, 92) Source(58, 66) + SourceIndex(0) -28>Emitted(40, 94) Source(58, 68) + SourceIndex(0) -29>Emitted(40, 96) Source(58, 70) + SourceIndex(0) -30>Emitted(40, 97) Source(58, 71) + SourceIndex(0) +1->Emitted(41, 1) Source(58, 1) + SourceIndex(0) +2 >Emitted(41, 6) Source(58, 7) + SourceIndex(0) +3 >Emitted(41, 11) Source(58, 23) + SourceIndex(0) +4 >Emitted(41, 12) Source(58, 24) + SourceIndex(0) +5 >Emitted(41, 13) Source(58, 25) + SourceIndex(0) +6 >Emitted(41, 15) Source(58, 27) + SourceIndex(0) +7 >Emitted(41, 24) Source(58, 36) + SourceIndex(0) +8 >Emitted(41, 26) Source(58, 38) + SourceIndex(0) +9 >Emitted(41, 36) Source(58, 48) + SourceIndex(0) +10>Emitted(41, 37) Source(58, 49) + SourceIndex(0) +11>Emitted(41, 40) Source(58, 19) + SourceIndex(0) +12>Emitted(41, 42) Source(58, 7) + SourceIndex(0) +13>Emitted(41, 49) Source(58, 14) + SourceIndex(0) +14>Emitted(41, 68) Source(58, 17) + SourceIndex(0) +15>Emitted(41, 69) Source(58, 18) + SourceIndex(0) +16>Emitted(41, 70) Source(58, 19) + SourceIndex(0) +17>Emitted(41, 75) Source(58, 19) + SourceIndex(0) +18>Emitted(41, 77) Source(58, 51) + SourceIndex(0) +19>Emitted(41, 78) Source(58, 52) + SourceIndex(0) +20>Emitted(41, 81) Source(58, 55) + SourceIndex(0) +21>Emitted(41, 82) Source(58, 56) + SourceIndex(0) +22>Emitted(41, 84) Source(58, 58) + SourceIndex(0) +23>Emitted(41, 85) Source(58, 59) + SourceIndex(0) +24>Emitted(41, 88) Source(58, 62) + SourceIndex(0) +25>Emitted(41, 89) Source(58, 63) + SourceIndex(0) +26>Emitted(41, 91) Source(58, 65) + SourceIndex(0) +27>Emitted(41, 92) Source(58, 66) + SourceIndex(0) +28>Emitted(41, 94) Source(58, 68) + SourceIndex(0) +29>Emitted(41, 96) Source(58, 70) + SourceIndex(0) +30>Emitted(41, 97) Source(58, 71) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1585,14 +1586,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > numberB 7 > ) 8 > ; -1 >Emitted(41, 5) Source(59, 5) + SourceIndex(0) -2 >Emitted(41, 12) Source(59, 12) + SourceIndex(0) -3 >Emitted(41, 13) Source(59, 13) + SourceIndex(0) -4 >Emitted(41, 16) Source(59, 16) + SourceIndex(0) -5 >Emitted(41, 17) Source(59, 17) + SourceIndex(0) -6 >Emitted(41, 24) Source(59, 24) + SourceIndex(0) -7 >Emitted(41, 25) Source(59, 25) + SourceIndex(0) -8 >Emitted(41, 26) Source(59, 26) + SourceIndex(0) +1 >Emitted(42, 5) Source(59, 5) + SourceIndex(0) +2 >Emitted(42, 12) Source(59, 12) + SourceIndex(0) +3 >Emitted(42, 13) Source(59, 13) + SourceIndex(0) +4 >Emitted(42, 16) Source(59, 16) + SourceIndex(0) +5 >Emitted(42, 17) Source(59, 17) + SourceIndex(0) +6 >Emitted(42, 24) Source(59, 24) + SourceIndex(0) +7 >Emitted(42, 25) Source(59, 25) + SourceIndex(0) +8 >Emitted(42, 26) Source(59, 26) + SourceIndex(0) --- >>>} 1 > @@ -1601,8 +1602,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(42, 1) Source(60, 1) + SourceIndex(0) -2 >Emitted(42, 2) Source(60, 2) + SourceIndex(0) +1 >Emitted(43, 1) Source(60, 1) + SourceIndex(0) +2 >Emitted(43, 2) Source(60, 2) + SourceIndex(0) --- >>>for (_y = multiRobotA[0], nameB = _y === void 0 ? "name" : _y, i = 0; i < 1; i++) { 1-> @@ -1652,29 +1653,29 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 21> ++ 22> ) 23> { -1->Emitted(43, 1) Source(61, 1) + SourceIndex(0) -2 >Emitted(43, 6) Source(61, 7) + SourceIndex(0) -3 >Emitted(43, 11) Source(61, 25) + SourceIndex(0) -4 >Emitted(43, 22) Source(61, 36) + SourceIndex(0) -5 >Emitted(43, 25) Source(61, 21) + SourceIndex(0) -6 >Emitted(43, 27) Source(61, 7) + SourceIndex(0) -7 >Emitted(43, 32) Source(61, 12) + SourceIndex(0) -8 >Emitted(43, 51) Source(61, 15) + SourceIndex(0) -9 >Emitted(43, 57) Source(61, 21) + SourceIndex(0) -10>Emitted(43, 62) Source(61, 21) + SourceIndex(0) -11>Emitted(43, 64) Source(61, 38) + SourceIndex(0) -12>Emitted(43, 65) Source(61, 39) + SourceIndex(0) -13>Emitted(43, 68) Source(61, 42) + SourceIndex(0) -14>Emitted(43, 69) Source(61, 43) + SourceIndex(0) -15>Emitted(43, 71) Source(61, 45) + SourceIndex(0) -16>Emitted(43, 72) Source(61, 46) + SourceIndex(0) -17>Emitted(43, 75) Source(61, 49) + SourceIndex(0) -18>Emitted(43, 76) Source(61, 50) + SourceIndex(0) -19>Emitted(43, 78) Source(61, 52) + SourceIndex(0) -20>Emitted(43, 79) Source(61, 53) + SourceIndex(0) -21>Emitted(43, 81) Source(61, 55) + SourceIndex(0) -22>Emitted(43, 83) Source(61, 57) + SourceIndex(0) -23>Emitted(43, 84) Source(61, 58) + SourceIndex(0) +1->Emitted(44, 1) Source(61, 1) + SourceIndex(0) +2 >Emitted(44, 6) Source(61, 7) + SourceIndex(0) +3 >Emitted(44, 11) Source(61, 25) + SourceIndex(0) +4 >Emitted(44, 22) Source(61, 36) + SourceIndex(0) +5 >Emitted(44, 25) Source(61, 21) + SourceIndex(0) +6 >Emitted(44, 27) Source(61, 7) + SourceIndex(0) +7 >Emitted(44, 32) Source(61, 12) + SourceIndex(0) +8 >Emitted(44, 51) Source(61, 15) + SourceIndex(0) +9 >Emitted(44, 57) Source(61, 21) + SourceIndex(0) +10>Emitted(44, 62) Source(61, 21) + SourceIndex(0) +11>Emitted(44, 64) Source(61, 38) + SourceIndex(0) +12>Emitted(44, 65) Source(61, 39) + SourceIndex(0) +13>Emitted(44, 68) Source(61, 42) + SourceIndex(0) +14>Emitted(44, 69) Source(61, 43) + SourceIndex(0) +15>Emitted(44, 71) Source(61, 45) + SourceIndex(0) +16>Emitted(44, 72) Source(61, 46) + SourceIndex(0) +17>Emitted(44, 75) Source(61, 49) + SourceIndex(0) +18>Emitted(44, 76) Source(61, 50) + SourceIndex(0) +19>Emitted(44, 78) Source(61, 52) + SourceIndex(0) +20>Emitted(44, 79) Source(61, 53) + SourceIndex(0) +21>Emitted(44, 81) Source(61, 55) + SourceIndex(0) +22>Emitted(44, 83) Source(61, 57) + SourceIndex(0) +23>Emitted(44, 84) Source(61, 58) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1694,14 +1695,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameB 7 > ) 8 > ; -1 >Emitted(44, 5) Source(62, 5) + SourceIndex(0) -2 >Emitted(44, 12) Source(62, 12) + SourceIndex(0) -3 >Emitted(44, 13) Source(62, 13) + SourceIndex(0) -4 >Emitted(44, 16) Source(62, 16) + SourceIndex(0) -5 >Emitted(44, 17) Source(62, 17) + SourceIndex(0) -6 >Emitted(44, 22) Source(62, 22) + SourceIndex(0) -7 >Emitted(44, 23) Source(62, 23) + SourceIndex(0) -8 >Emitted(44, 24) Source(62, 24) + SourceIndex(0) +1 >Emitted(45, 5) Source(62, 5) + SourceIndex(0) +2 >Emitted(45, 12) Source(62, 12) + SourceIndex(0) +3 >Emitted(45, 13) Source(62, 13) + SourceIndex(0) +4 >Emitted(45, 16) Source(62, 16) + SourceIndex(0) +5 >Emitted(45, 17) Source(62, 17) + SourceIndex(0) +6 >Emitted(45, 22) Source(62, 22) + SourceIndex(0) +7 >Emitted(45, 23) Source(62, 23) + SourceIndex(0) +8 >Emitted(45, 24) Source(62, 24) + SourceIndex(0) --- >>>} 1 > @@ -1710,8 +1711,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(45, 1) Source(63, 1) + SourceIndex(0) -2 >Emitted(45, 2) Source(63, 2) + SourceIndex(0) +1 >Emitted(46, 1) Source(63, 1) + SourceIndex(0) +2 >Emitted(46, 2) Source(63, 2) + SourceIndex(0) --- >>>for (_z = getMultiRobot()[0], nameB = _z === void 0 ? "name" : _z, i = 0; i < 1; i++) { 1-> @@ -1763,30 +1764,30 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 22> ++ 23> ) 24> { -1->Emitted(46, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(46, 6) Source(64, 7) + SourceIndex(0) -3 >Emitted(46, 11) Source(64, 25) + SourceIndex(0) -4 >Emitted(46, 24) Source(64, 38) + SourceIndex(0) -5 >Emitted(46, 26) Source(64, 40) + SourceIndex(0) -6 >Emitted(46, 29) Source(64, 21) + SourceIndex(0) -7 >Emitted(46, 31) Source(64, 7) + SourceIndex(0) -8 >Emitted(46, 36) Source(64, 12) + SourceIndex(0) -9 >Emitted(46, 55) Source(64, 15) + SourceIndex(0) -10>Emitted(46, 61) Source(64, 21) + SourceIndex(0) -11>Emitted(46, 66) Source(64, 21) + SourceIndex(0) -12>Emitted(46, 68) Source(64, 42) + SourceIndex(0) -13>Emitted(46, 69) Source(64, 43) + SourceIndex(0) -14>Emitted(46, 72) Source(64, 46) + SourceIndex(0) -15>Emitted(46, 73) Source(64, 47) + SourceIndex(0) -16>Emitted(46, 75) Source(64, 49) + SourceIndex(0) -17>Emitted(46, 76) Source(64, 50) + SourceIndex(0) -18>Emitted(46, 79) Source(64, 53) + SourceIndex(0) -19>Emitted(46, 80) Source(64, 54) + SourceIndex(0) -20>Emitted(46, 82) Source(64, 56) + SourceIndex(0) -21>Emitted(46, 83) Source(64, 57) + SourceIndex(0) -22>Emitted(46, 85) Source(64, 59) + SourceIndex(0) -23>Emitted(46, 87) Source(64, 61) + SourceIndex(0) -24>Emitted(46, 88) Source(64, 62) + SourceIndex(0) +1->Emitted(47, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(47, 6) Source(64, 7) + SourceIndex(0) +3 >Emitted(47, 11) Source(64, 25) + SourceIndex(0) +4 >Emitted(47, 24) Source(64, 38) + SourceIndex(0) +5 >Emitted(47, 26) Source(64, 40) + SourceIndex(0) +6 >Emitted(47, 29) Source(64, 21) + SourceIndex(0) +7 >Emitted(47, 31) Source(64, 7) + SourceIndex(0) +8 >Emitted(47, 36) Source(64, 12) + SourceIndex(0) +9 >Emitted(47, 55) Source(64, 15) + SourceIndex(0) +10>Emitted(47, 61) Source(64, 21) + SourceIndex(0) +11>Emitted(47, 66) Source(64, 21) + SourceIndex(0) +12>Emitted(47, 68) Source(64, 42) + SourceIndex(0) +13>Emitted(47, 69) Source(64, 43) + SourceIndex(0) +14>Emitted(47, 72) Source(64, 46) + SourceIndex(0) +15>Emitted(47, 73) Source(64, 47) + SourceIndex(0) +16>Emitted(47, 75) Source(64, 49) + SourceIndex(0) +17>Emitted(47, 76) Source(64, 50) + SourceIndex(0) +18>Emitted(47, 79) Source(64, 53) + SourceIndex(0) +19>Emitted(47, 80) Source(64, 54) + SourceIndex(0) +20>Emitted(47, 82) Source(64, 56) + SourceIndex(0) +21>Emitted(47, 83) Source(64, 57) + SourceIndex(0) +22>Emitted(47, 85) Source(64, 59) + SourceIndex(0) +23>Emitted(47, 87) Source(64, 61) + SourceIndex(0) +24>Emitted(47, 88) Source(64, 62) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1806,14 +1807,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameB 7 > ) 8 > ; -1 >Emitted(47, 5) Source(65, 5) + SourceIndex(0) -2 >Emitted(47, 12) Source(65, 12) + SourceIndex(0) -3 >Emitted(47, 13) Source(65, 13) + SourceIndex(0) -4 >Emitted(47, 16) Source(65, 16) + SourceIndex(0) -5 >Emitted(47, 17) Source(65, 17) + SourceIndex(0) -6 >Emitted(47, 22) Source(65, 22) + SourceIndex(0) -7 >Emitted(47, 23) Source(65, 23) + SourceIndex(0) -8 >Emitted(47, 24) Source(65, 24) + SourceIndex(0) +1 >Emitted(48, 5) Source(65, 5) + SourceIndex(0) +2 >Emitted(48, 12) Source(65, 12) + SourceIndex(0) +3 >Emitted(48, 13) Source(65, 13) + SourceIndex(0) +4 >Emitted(48, 16) Source(65, 16) + SourceIndex(0) +5 >Emitted(48, 17) Source(65, 17) + SourceIndex(0) +6 >Emitted(48, 22) Source(65, 22) + SourceIndex(0) +7 >Emitted(48, 23) Source(65, 23) + SourceIndex(0) +8 >Emitted(48, 24) Source(65, 24) + SourceIndex(0) --- >>>} 1 > @@ -1822,8 +1823,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(48, 1) Source(66, 1) + SourceIndex(0) -2 >Emitted(48, 2) Source(66, 2) + SourceIndex(0) +1 >Emitted(49, 1) Source(66, 1) + SourceIndex(0) +2 >Emitted(49, 2) Source(66, 2) + SourceIndex(0) --- >>>for (_0 = ["trimmer", ["trimming", "edging"]][0], nameB = _0 === void 0 ? "name" : _0, i = 0; i < 1; i++) { 1-> @@ -1889,37 +1890,37 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 29> ++ 30> ) 31> { -1->Emitted(49, 1) Source(67, 1) + SourceIndex(0) -2 >Emitted(49, 6) Source(67, 7) + SourceIndex(0) -3 >Emitted(49, 11) Source(67, 25) + SourceIndex(0) -4 >Emitted(49, 12) Source(67, 26) + SourceIndex(0) -5 >Emitted(49, 21) Source(67, 35) + SourceIndex(0) -6 >Emitted(49, 23) Source(67, 37) + SourceIndex(0) -7 >Emitted(49, 24) Source(67, 38) + SourceIndex(0) -8 >Emitted(49, 34) Source(67, 48) + SourceIndex(0) -9 >Emitted(49, 36) Source(67, 50) + SourceIndex(0) -10>Emitted(49, 44) Source(67, 58) + SourceIndex(0) -11>Emitted(49, 45) Source(67, 59) + SourceIndex(0) -12>Emitted(49, 46) Source(67, 60) + SourceIndex(0) -13>Emitted(49, 49) Source(67, 21) + SourceIndex(0) -14>Emitted(49, 51) Source(67, 7) + SourceIndex(0) -15>Emitted(49, 56) Source(67, 12) + SourceIndex(0) -16>Emitted(49, 75) Source(67, 15) + SourceIndex(0) -17>Emitted(49, 81) Source(67, 21) + SourceIndex(0) -18>Emitted(49, 86) Source(67, 21) + SourceIndex(0) -19>Emitted(49, 88) Source(67, 62) + SourceIndex(0) -20>Emitted(49, 89) Source(67, 63) + SourceIndex(0) -21>Emitted(49, 92) Source(67, 66) + SourceIndex(0) -22>Emitted(49, 93) Source(67, 67) + SourceIndex(0) -23>Emitted(49, 95) Source(67, 69) + SourceIndex(0) -24>Emitted(49, 96) Source(67, 70) + SourceIndex(0) -25>Emitted(49, 99) Source(67, 73) + SourceIndex(0) -26>Emitted(49, 100) Source(67, 74) + SourceIndex(0) -27>Emitted(49, 102) Source(67, 76) + SourceIndex(0) -28>Emitted(49, 103) Source(67, 77) + SourceIndex(0) -29>Emitted(49, 105) Source(67, 79) + SourceIndex(0) -30>Emitted(49, 107) Source(67, 81) + SourceIndex(0) -31>Emitted(49, 108) Source(67, 82) + SourceIndex(0) +1->Emitted(50, 1) Source(67, 1) + SourceIndex(0) +2 >Emitted(50, 6) Source(67, 7) + SourceIndex(0) +3 >Emitted(50, 11) Source(67, 25) + SourceIndex(0) +4 >Emitted(50, 12) Source(67, 26) + SourceIndex(0) +5 >Emitted(50, 21) Source(67, 35) + SourceIndex(0) +6 >Emitted(50, 23) Source(67, 37) + SourceIndex(0) +7 >Emitted(50, 24) Source(67, 38) + SourceIndex(0) +8 >Emitted(50, 34) Source(67, 48) + SourceIndex(0) +9 >Emitted(50, 36) Source(67, 50) + SourceIndex(0) +10>Emitted(50, 44) Source(67, 58) + SourceIndex(0) +11>Emitted(50, 45) Source(67, 59) + SourceIndex(0) +12>Emitted(50, 46) Source(67, 60) + SourceIndex(0) +13>Emitted(50, 49) Source(67, 21) + SourceIndex(0) +14>Emitted(50, 51) Source(67, 7) + SourceIndex(0) +15>Emitted(50, 56) Source(67, 12) + SourceIndex(0) +16>Emitted(50, 75) Source(67, 15) + SourceIndex(0) +17>Emitted(50, 81) Source(67, 21) + SourceIndex(0) +18>Emitted(50, 86) Source(67, 21) + SourceIndex(0) +19>Emitted(50, 88) Source(67, 62) + SourceIndex(0) +20>Emitted(50, 89) Source(67, 63) + SourceIndex(0) +21>Emitted(50, 92) Source(67, 66) + SourceIndex(0) +22>Emitted(50, 93) Source(67, 67) + SourceIndex(0) +23>Emitted(50, 95) Source(67, 69) + SourceIndex(0) +24>Emitted(50, 96) Source(67, 70) + SourceIndex(0) +25>Emitted(50, 99) Source(67, 73) + SourceIndex(0) +26>Emitted(50, 100) Source(67, 74) + SourceIndex(0) +27>Emitted(50, 102) Source(67, 76) + SourceIndex(0) +28>Emitted(50, 103) Source(67, 77) + SourceIndex(0) +29>Emitted(50, 105) Source(67, 79) + SourceIndex(0) +30>Emitted(50, 107) Source(67, 81) + SourceIndex(0) +31>Emitted(50, 108) Source(67, 82) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1939,14 +1940,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameB 7 > ) 8 > ; -1 >Emitted(50, 5) Source(68, 5) + SourceIndex(0) -2 >Emitted(50, 12) Source(68, 12) + SourceIndex(0) -3 >Emitted(50, 13) Source(68, 13) + SourceIndex(0) -4 >Emitted(50, 16) Source(68, 16) + SourceIndex(0) -5 >Emitted(50, 17) Source(68, 17) + SourceIndex(0) -6 >Emitted(50, 22) Source(68, 22) + SourceIndex(0) -7 >Emitted(50, 23) Source(68, 23) + SourceIndex(0) -8 >Emitted(50, 24) Source(68, 24) + SourceIndex(0) +1 >Emitted(51, 5) Source(68, 5) + SourceIndex(0) +2 >Emitted(51, 12) Source(68, 12) + SourceIndex(0) +3 >Emitted(51, 13) Source(68, 13) + SourceIndex(0) +4 >Emitted(51, 16) Source(68, 16) + SourceIndex(0) +5 >Emitted(51, 17) Source(68, 17) + SourceIndex(0) +6 >Emitted(51, 22) Source(68, 22) + SourceIndex(0) +7 >Emitted(51, 23) Source(68, 23) + SourceIndex(0) +8 >Emitted(51, 24) Source(68, 24) + SourceIndex(0) --- >>>} 1 > @@ -1955,8 +1956,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(51, 1) Source(69, 1) + SourceIndex(0) -2 >Emitted(51, 2) Source(69, 2) + SourceIndex(0) +1 >Emitted(52, 1) Source(69, 1) + SourceIndex(0) +2 >Emitted(52, 2) Source(69, 2) + SourceIndex(0) --- >>>for (_1 = robotA[0], numberA2 = _1 === void 0 ? -1 : _1, _2 = robotA[1], nameA2 = _2 === void 0 ? "name" : _2, _3 = robotA[2], skillA2 = _3 === void 0 ? "skill" : _3, i = 0; i < 1; i++) { 1-> @@ -2045,48 +2046,48 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 40> ++ 41> ) 42> { -1->Emitted(52, 1) Source(71, 1) + SourceIndex(0) -2 >Emitted(52, 6) Source(71, 7) + SourceIndex(0) -3 >Emitted(52, 11) Source(71, 60) + SourceIndex(0) -4 >Emitted(52, 17) Source(71, 66) + SourceIndex(0) -5 >Emitted(52, 20) Source(71, 20) + SourceIndex(0) -6 >Emitted(52, 22) Source(71, 7) + SourceIndex(0) -7 >Emitted(52, 30) Source(71, 15) + SourceIndex(0) -8 >Emitted(52, 49) Source(71, 18) + SourceIndex(0) -9 >Emitted(52, 50) Source(71, 19) + SourceIndex(0) -10>Emitted(52, 51) Source(71, 20) + SourceIndex(0) -11>Emitted(52, 56) Source(71, 20) + SourceIndex(0) -12>Emitted(52, 58) Source(71, 22) + SourceIndex(0) -13>Emitted(52, 63) Source(71, 60) + SourceIndex(0) -14>Emitted(52, 69) Source(71, 66) + SourceIndex(0) -15>Emitted(52, 72) Source(71, 37) + SourceIndex(0) -16>Emitted(52, 74) Source(71, 22) + SourceIndex(0) -17>Emitted(52, 80) Source(71, 28) + SourceIndex(0) -18>Emitted(52, 99) Source(71, 31) + SourceIndex(0) -19>Emitted(52, 105) Source(71, 37) + SourceIndex(0) -20>Emitted(52, 110) Source(71, 37) + SourceIndex(0) -21>Emitted(52, 112) Source(71, 39) + SourceIndex(0) -22>Emitted(52, 117) Source(71, 60) + SourceIndex(0) -23>Emitted(52, 123) Source(71, 66) + SourceIndex(0) -24>Emitted(52, 126) Source(71, 56) + SourceIndex(0) -25>Emitted(52, 128) Source(71, 39) + SourceIndex(0) -26>Emitted(52, 135) Source(71, 46) + SourceIndex(0) -27>Emitted(52, 154) Source(71, 49) + SourceIndex(0) -28>Emitted(52, 161) Source(71, 56) + SourceIndex(0) -29>Emitted(52, 166) Source(71, 56) + SourceIndex(0) -30>Emitted(52, 168) Source(71, 68) + SourceIndex(0) -31>Emitted(52, 169) Source(71, 69) + SourceIndex(0) -32>Emitted(52, 172) Source(71, 72) + SourceIndex(0) -33>Emitted(52, 173) Source(71, 73) + SourceIndex(0) -34>Emitted(52, 175) Source(71, 75) + SourceIndex(0) -35>Emitted(52, 176) Source(71, 76) + SourceIndex(0) -36>Emitted(52, 179) Source(71, 79) + SourceIndex(0) -37>Emitted(52, 180) Source(71, 80) + SourceIndex(0) -38>Emitted(52, 182) Source(71, 82) + SourceIndex(0) -39>Emitted(52, 183) Source(71, 83) + SourceIndex(0) -40>Emitted(52, 185) Source(71, 85) + SourceIndex(0) -41>Emitted(52, 187) Source(71, 87) + SourceIndex(0) -42>Emitted(52, 188) Source(71, 88) + SourceIndex(0) +1->Emitted(53, 1) Source(71, 1) + SourceIndex(0) +2 >Emitted(53, 6) Source(71, 7) + SourceIndex(0) +3 >Emitted(53, 11) Source(71, 60) + SourceIndex(0) +4 >Emitted(53, 17) Source(71, 66) + SourceIndex(0) +5 >Emitted(53, 20) Source(71, 20) + SourceIndex(0) +6 >Emitted(53, 22) Source(71, 7) + SourceIndex(0) +7 >Emitted(53, 30) Source(71, 15) + SourceIndex(0) +8 >Emitted(53, 49) Source(71, 18) + SourceIndex(0) +9 >Emitted(53, 50) Source(71, 19) + SourceIndex(0) +10>Emitted(53, 51) Source(71, 20) + SourceIndex(0) +11>Emitted(53, 56) Source(71, 20) + SourceIndex(0) +12>Emitted(53, 58) Source(71, 22) + SourceIndex(0) +13>Emitted(53, 63) Source(71, 60) + SourceIndex(0) +14>Emitted(53, 69) Source(71, 66) + SourceIndex(0) +15>Emitted(53, 72) Source(71, 37) + SourceIndex(0) +16>Emitted(53, 74) Source(71, 22) + SourceIndex(0) +17>Emitted(53, 80) Source(71, 28) + SourceIndex(0) +18>Emitted(53, 99) Source(71, 31) + SourceIndex(0) +19>Emitted(53, 105) Source(71, 37) + SourceIndex(0) +20>Emitted(53, 110) Source(71, 37) + SourceIndex(0) +21>Emitted(53, 112) Source(71, 39) + SourceIndex(0) +22>Emitted(53, 117) Source(71, 60) + SourceIndex(0) +23>Emitted(53, 123) Source(71, 66) + SourceIndex(0) +24>Emitted(53, 126) Source(71, 56) + SourceIndex(0) +25>Emitted(53, 128) Source(71, 39) + SourceIndex(0) +26>Emitted(53, 135) Source(71, 46) + SourceIndex(0) +27>Emitted(53, 154) Source(71, 49) + SourceIndex(0) +28>Emitted(53, 161) Source(71, 56) + SourceIndex(0) +29>Emitted(53, 166) Source(71, 56) + SourceIndex(0) +30>Emitted(53, 168) Source(71, 68) + SourceIndex(0) +31>Emitted(53, 169) Source(71, 69) + SourceIndex(0) +32>Emitted(53, 172) Source(71, 72) + SourceIndex(0) +33>Emitted(53, 173) Source(71, 73) + SourceIndex(0) +34>Emitted(53, 175) Source(71, 75) + SourceIndex(0) +35>Emitted(53, 176) Source(71, 76) + SourceIndex(0) +36>Emitted(53, 179) Source(71, 79) + SourceIndex(0) +37>Emitted(53, 180) Source(71, 80) + SourceIndex(0) +38>Emitted(53, 182) Source(71, 82) + SourceIndex(0) +39>Emitted(53, 183) Source(71, 83) + SourceIndex(0) +40>Emitted(53, 185) Source(71, 85) + SourceIndex(0) +41>Emitted(53, 187) Source(71, 87) + SourceIndex(0) +42>Emitted(53, 188) Source(71, 88) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -2106,14 +2107,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameA2 7 > ) 8 > ; -1 >Emitted(53, 5) Source(72, 5) + SourceIndex(0) -2 >Emitted(53, 12) Source(72, 12) + SourceIndex(0) -3 >Emitted(53, 13) Source(72, 13) + SourceIndex(0) -4 >Emitted(53, 16) Source(72, 16) + SourceIndex(0) -5 >Emitted(53, 17) Source(72, 17) + SourceIndex(0) -6 >Emitted(53, 23) Source(72, 23) + SourceIndex(0) -7 >Emitted(53, 24) Source(72, 24) + SourceIndex(0) -8 >Emitted(53, 25) Source(72, 25) + SourceIndex(0) +1 >Emitted(54, 5) Source(72, 5) + SourceIndex(0) +2 >Emitted(54, 12) Source(72, 12) + SourceIndex(0) +3 >Emitted(54, 13) Source(72, 13) + SourceIndex(0) +4 >Emitted(54, 16) Source(72, 16) + SourceIndex(0) +5 >Emitted(54, 17) Source(72, 17) + SourceIndex(0) +6 >Emitted(54, 23) Source(72, 23) + SourceIndex(0) +7 >Emitted(54, 24) Source(72, 24) + SourceIndex(0) +8 >Emitted(54, 25) Source(72, 25) + SourceIndex(0) --- >>>} 1 > @@ -2122,8 +2123,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(54, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(54, 2) Source(73, 2) + SourceIndex(0) +1 >Emitted(55, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(55, 2) Source(73, 2) + SourceIndex(0) --- >>>for (_4 = getRobot(), _5 = _4[0], numberA2 = _5 === void 0 ? -1 : _5, _6 = _4[1], nameA2 = _6 === void 0 ? "name" : _6, _7 = _4[2], skillA2 = _7 === void 0 ? "skill" : _7, i = 0; i < 1; i++) { 1-> @@ -2207,46 +2208,46 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 38> ++ 39> ) 40> { -1->Emitted(55, 1) Source(74, 1) + SourceIndex(0) -2 >Emitted(55, 6) Source(74, 6) + SourceIndex(0) -3 >Emitted(55, 11) Source(74, 60) + SourceIndex(0) -4 >Emitted(55, 19) Source(74, 68) + SourceIndex(0) -5 >Emitted(55, 21) Source(74, 70) + SourceIndex(0) -6 >Emitted(55, 23) Source(74, 7) + SourceIndex(0) -7 >Emitted(55, 33) Source(74, 20) + SourceIndex(0) -8 >Emitted(55, 35) Source(74, 7) + SourceIndex(0) -9 >Emitted(55, 43) Source(74, 15) + SourceIndex(0) -10>Emitted(55, 62) Source(74, 18) + SourceIndex(0) -11>Emitted(55, 63) Source(74, 19) + SourceIndex(0) -12>Emitted(55, 64) Source(74, 20) + SourceIndex(0) -13>Emitted(55, 69) Source(74, 20) + SourceIndex(0) -14>Emitted(55, 71) Source(74, 22) + SourceIndex(0) -15>Emitted(55, 81) Source(74, 37) + SourceIndex(0) -16>Emitted(55, 83) Source(74, 22) + SourceIndex(0) -17>Emitted(55, 89) Source(74, 28) + SourceIndex(0) -18>Emitted(55, 108) Source(74, 31) + SourceIndex(0) -19>Emitted(55, 114) Source(74, 37) + SourceIndex(0) -20>Emitted(55, 119) Source(74, 37) + SourceIndex(0) -21>Emitted(55, 121) Source(74, 39) + SourceIndex(0) -22>Emitted(55, 131) Source(74, 56) + SourceIndex(0) -23>Emitted(55, 133) Source(74, 39) + SourceIndex(0) -24>Emitted(55, 140) Source(74, 46) + SourceIndex(0) -25>Emitted(55, 159) Source(74, 49) + SourceIndex(0) -26>Emitted(55, 166) Source(74, 56) + SourceIndex(0) -27>Emitted(55, 171) Source(74, 56) + SourceIndex(0) -28>Emitted(55, 173) Source(74, 72) + SourceIndex(0) -29>Emitted(55, 174) Source(74, 73) + SourceIndex(0) -30>Emitted(55, 177) Source(74, 76) + SourceIndex(0) -31>Emitted(55, 178) Source(74, 77) + SourceIndex(0) -32>Emitted(55, 180) Source(74, 79) + SourceIndex(0) -33>Emitted(55, 181) Source(74, 80) + SourceIndex(0) -34>Emitted(55, 184) Source(74, 83) + SourceIndex(0) -35>Emitted(55, 185) Source(74, 84) + SourceIndex(0) -36>Emitted(55, 187) Source(74, 86) + SourceIndex(0) -37>Emitted(55, 188) Source(74, 87) + SourceIndex(0) -38>Emitted(55, 190) Source(74, 89) + SourceIndex(0) -39>Emitted(55, 192) Source(74, 91) + SourceIndex(0) -40>Emitted(55, 193) Source(74, 92) + SourceIndex(0) +1->Emitted(56, 1) Source(74, 1) + SourceIndex(0) +2 >Emitted(56, 6) Source(74, 6) + SourceIndex(0) +3 >Emitted(56, 11) Source(74, 60) + SourceIndex(0) +4 >Emitted(56, 19) Source(74, 68) + SourceIndex(0) +5 >Emitted(56, 21) Source(74, 70) + SourceIndex(0) +6 >Emitted(56, 23) Source(74, 7) + SourceIndex(0) +7 >Emitted(56, 33) Source(74, 20) + SourceIndex(0) +8 >Emitted(56, 35) Source(74, 7) + SourceIndex(0) +9 >Emitted(56, 43) Source(74, 15) + SourceIndex(0) +10>Emitted(56, 62) Source(74, 18) + SourceIndex(0) +11>Emitted(56, 63) Source(74, 19) + SourceIndex(0) +12>Emitted(56, 64) Source(74, 20) + SourceIndex(0) +13>Emitted(56, 69) Source(74, 20) + SourceIndex(0) +14>Emitted(56, 71) Source(74, 22) + SourceIndex(0) +15>Emitted(56, 81) Source(74, 37) + SourceIndex(0) +16>Emitted(56, 83) Source(74, 22) + SourceIndex(0) +17>Emitted(56, 89) Source(74, 28) + SourceIndex(0) +18>Emitted(56, 108) Source(74, 31) + SourceIndex(0) +19>Emitted(56, 114) Source(74, 37) + SourceIndex(0) +20>Emitted(56, 119) Source(74, 37) + SourceIndex(0) +21>Emitted(56, 121) Source(74, 39) + SourceIndex(0) +22>Emitted(56, 131) Source(74, 56) + SourceIndex(0) +23>Emitted(56, 133) Source(74, 39) + SourceIndex(0) +24>Emitted(56, 140) Source(74, 46) + SourceIndex(0) +25>Emitted(56, 159) Source(74, 49) + SourceIndex(0) +26>Emitted(56, 166) Source(74, 56) + SourceIndex(0) +27>Emitted(56, 171) Source(74, 56) + SourceIndex(0) +28>Emitted(56, 173) Source(74, 72) + SourceIndex(0) +29>Emitted(56, 174) Source(74, 73) + SourceIndex(0) +30>Emitted(56, 177) Source(74, 76) + SourceIndex(0) +31>Emitted(56, 178) Source(74, 77) + SourceIndex(0) +32>Emitted(56, 180) Source(74, 79) + SourceIndex(0) +33>Emitted(56, 181) Source(74, 80) + SourceIndex(0) +34>Emitted(56, 184) Source(74, 83) + SourceIndex(0) +35>Emitted(56, 185) Source(74, 84) + SourceIndex(0) +36>Emitted(56, 187) Source(74, 86) + SourceIndex(0) +37>Emitted(56, 188) Source(74, 87) + SourceIndex(0) +38>Emitted(56, 190) Source(74, 89) + SourceIndex(0) +39>Emitted(56, 192) Source(74, 91) + SourceIndex(0) +40>Emitted(56, 193) Source(74, 92) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -2266,14 +2267,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameA2 7 > ) 8 > ; -1 >Emitted(56, 5) Source(75, 5) + SourceIndex(0) -2 >Emitted(56, 12) Source(75, 12) + SourceIndex(0) -3 >Emitted(56, 13) Source(75, 13) + SourceIndex(0) -4 >Emitted(56, 16) Source(75, 16) + SourceIndex(0) -5 >Emitted(56, 17) Source(75, 17) + SourceIndex(0) -6 >Emitted(56, 23) Source(75, 23) + SourceIndex(0) -7 >Emitted(56, 24) Source(75, 24) + SourceIndex(0) -8 >Emitted(56, 25) Source(75, 25) + SourceIndex(0) +1 >Emitted(57, 5) Source(75, 5) + SourceIndex(0) +2 >Emitted(57, 12) Source(75, 12) + SourceIndex(0) +3 >Emitted(57, 13) Source(75, 13) + SourceIndex(0) +4 >Emitted(57, 16) Source(75, 16) + SourceIndex(0) +5 >Emitted(57, 17) Source(75, 17) + SourceIndex(0) +6 >Emitted(57, 23) Source(75, 23) + SourceIndex(0) +7 >Emitted(57, 24) Source(75, 24) + SourceIndex(0) +8 >Emitted(57, 25) Source(75, 25) + SourceIndex(0) --- >>>} 1 > @@ -2282,8 +2283,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(57, 1) Source(76, 1) + SourceIndex(0) -2 >Emitted(57, 2) Source(76, 2) + SourceIndex(0) +1 >Emitted(58, 1) Source(76, 1) + SourceIndex(0) +2 >Emitted(58, 2) Source(76, 2) + SourceIndex(0) --- >>>for (_8 = [2, "trimmer", "trimming"], _9 = _8[0], numberA2 = _9 === void 0 ? -1 : _9, _10 = _8[1], nameA2 = _10 === void 0 ? "name" : _10, _11 = _8[2], skillA2 = _11 === void 0 ? "skill" : _11, i = 0; i < 1; i++) { 1-> @@ -2377,51 +2378,51 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 43> ++ 44> ) 45> { -1->Emitted(58, 1) Source(77, 1) + SourceIndex(0) -2 >Emitted(58, 6) Source(77, 6) + SourceIndex(0) -3 >Emitted(58, 11) Source(77, 60) + SourceIndex(0) -4 >Emitted(58, 12) Source(77, 61) + SourceIndex(0) -5 >Emitted(58, 13) Source(77, 62) + SourceIndex(0) -6 >Emitted(58, 15) Source(77, 64) + SourceIndex(0) -7 >Emitted(58, 24) Source(77, 73) + SourceIndex(0) -8 >Emitted(58, 26) Source(77, 75) + SourceIndex(0) -9 >Emitted(58, 36) Source(77, 85) + SourceIndex(0) -10>Emitted(58, 37) Source(77, 86) + SourceIndex(0) -11>Emitted(58, 39) Source(77, 7) + SourceIndex(0) -12>Emitted(58, 49) Source(77, 20) + SourceIndex(0) -13>Emitted(58, 51) Source(77, 7) + SourceIndex(0) -14>Emitted(58, 59) Source(77, 15) + SourceIndex(0) -15>Emitted(58, 78) Source(77, 18) + SourceIndex(0) -16>Emitted(58, 79) Source(77, 19) + SourceIndex(0) -17>Emitted(58, 80) Source(77, 20) + SourceIndex(0) -18>Emitted(58, 85) Source(77, 20) + SourceIndex(0) -19>Emitted(58, 87) Source(77, 22) + SourceIndex(0) -20>Emitted(58, 98) Source(77, 37) + SourceIndex(0) -21>Emitted(58, 100) Source(77, 22) + SourceIndex(0) -22>Emitted(58, 106) Source(77, 28) + SourceIndex(0) -23>Emitted(58, 126) Source(77, 31) + SourceIndex(0) -24>Emitted(58, 132) Source(77, 37) + SourceIndex(0) -25>Emitted(58, 138) Source(77, 37) + SourceIndex(0) -26>Emitted(58, 140) Source(77, 39) + SourceIndex(0) -27>Emitted(58, 151) Source(77, 56) + SourceIndex(0) -28>Emitted(58, 153) Source(77, 39) + SourceIndex(0) -29>Emitted(58, 160) Source(77, 46) + SourceIndex(0) -30>Emitted(58, 180) Source(77, 49) + SourceIndex(0) -31>Emitted(58, 187) Source(77, 56) + SourceIndex(0) -32>Emitted(58, 193) Source(77, 56) + SourceIndex(0) -33>Emitted(58, 195) Source(77, 88) + SourceIndex(0) -34>Emitted(58, 196) Source(77, 89) + SourceIndex(0) -35>Emitted(58, 199) Source(77, 92) + SourceIndex(0) -36>Emitted(58, 200) Source(77, 93) + SourceIndex(0) -37>Emitted(58, 202) Source(77, 95) + SourceIndex(0) -38>Emitted(58, 203) Source(77, 96) + SourceIndex(0) -39>Emitted(58, 206) Source(77, 99) + SourceIndex(0) -40>Emitted(58, 207) Source(77, 100) + SourceIndex(0) -41>Emitted(58, 209) Source(77, 102) + SourceIndex(0) -42>Emitted(58, 210) Source(77, 103) + SourceIndex(0) -43>Emitted(58, 212) Source(77, 105) + SourceIndex(0) -44>Emitted(58, 214) Source(77, 107) + SourceIndex(0) -45>Emitted(58, 215) Source(77, 108) + SourceIndex(0) +1->Emitted(59, 1) Source(77, 1) + SourceIndex(0) +2 >Emitted(59, 6) Source(77, 6) + SourceIndex(0) +3 >Emitted(59, 11) Source(77, 60) + SourceIndex(0) +4 >Emitted(59, 12) Source(77, 61) + SourceIndex(0) +5 >Emitted(59, 13) Source(77, 62) + SourceIndex(0) +6 >Emitted(59, 15) Source(77, 64) + SourceIndex(0) +7 >Emitted(59, 24) Source(77, 73) + SourceIndex(0) +8 >Emitted(59, 26) Source(77, 75) + SourceIndex(0) +9 >Emitted(59, 36) Source(77, 85) + SourceIndex(0) +10>Emitted(59, 37) Source(77, 86) + SourceIndex(0) +11>Emitted(59, 39) Source(77, 7) + SourceIndex(0) +12>Emitted(59, 49) Source(77, 20) + SourceIndex(0) +13>Emitted(59, 51) Source(77, 7) + SourceIndex(0) +14>Emitted(59, 59) Source(77, 15) + SourceIndex(0) +15>Emitted(59, 78) Source(77, 18) + SourceIndex(0) +16>Emitted(59, 79) Source(77, 19) + SourceIndex(0) +17>Emitted(59, 80) Source(77, 20) + SourceIndex(0) +18>Emitted(59, 85) Source(77, 20) + SourceIndex(0) +19>Emitted(59, 87) Source(77, 22) + SourceIndex(0) +20>Emitted(59, 98) Source(77, 37) + SourceIndex(0) +21>Emitted(59, 100) Source(77, 22) + SourceIndex(0) +22>Emitted(59, 106) Source(77, 28) + SourceIndex(0) +23>Emitted(59, 126) Source(77, 31) + SourceIndex(0) +24>Emitted(59, 132) Source(77, 37) + SourceIndex(0) +25>Emitted(59, 138) Source(77, 37) + SourceIndex(0) +26>Emitted(59, 140) Source(77, 39) + SourceIndex(0) +27>Emitted(59, 151) Source(77, 56) + SourceIndex(0) +28>Emitted(59, 153) Source(77, 39) + SourceIndex(0) +29>Emitted(59, 160) Source(77, 46) + SourceIndex(0) +30>Emitted(59, 180) Source(77, 49) + SourceIndex(0) +31>Emitted(59, 187) Source(77, 56) + SourceIndex(0) +32>Emitted(59, 193) Source(77, 56) + SourceIndex(0) +33>Emitted(59, 195) Source(77, 88) + SourceIndex(0) +34>Emitted(59, 196) Source(77, 89) + SourceIndex(0) +35>Emitted(59, 199) Source(77, 92) + SourceIndex(0) +36>Emitted(59, 200) Source(77, 93) + SourceIndex(0) +37>Emitted(59, 202) Source(77, 95) + SourceIndex(0) +38>Emitted(59, 203) Source(77, 96) + SourceIndex(0) +39>Emitted(59, 206) Source(77, 99) + SourceIndex(0) +40>Emitted(59, 207) Source(77, 100) + SourceIndex(0) +41>Emitted(59, 209) Source(77, 102) + SourceIndex(0) +42>Emitted(59, 210) Source(77, 103) + SourceIndex(0) +43>Emitted(59, 212) Source(77, 105) + SourceIndex(0) +44>Emitted(59, 214) Source(77, 107) + SourceIndex(0) +45>Emitted(59, 215) Source(77, 108) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -2441,14 +2442,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameA2 7 > ) 8 > ; -1 >Emitted(59, 5) Source(78, 5) + SourceIndex(0) -2 >Emitted(59, 12) Source(78, 12) + SourceIndex(0) -3 >Emitted(59, 13) Source(78, 13) + SourceIndex(0) -4 >Emitted(59, 16) Source(78, 16) + SourceIndex(0) -5 >Emitted(59, 17) Source(78, 17) + SourceIndex(0) -6 >Emitted(59, 23) Source(78, 23) + SourceIndex(0) -7 >Emitted(59, 24) Source(78, 24) + SourceIndex(0) -8 >Emitted(59, 25) Source(78, 25) + SourceIndex(0) +1 >Emitted(60, 5) Source(78, 5) + SourceIndex(0) +2 >Emitted(60, 12) Source(78, 12) + SourceIndex(0) +3 >Emitted(60, 13) Source(78, 13) + SourceIndex(0) +4 >Emitted(60, 16) Source(78, 16) + SourceIndex(0) +5 >Emitted(60, 17) Source(78, 17) + SourceIndex(0) +6 >Emitted(60, 23) Source(78, 23) + SourceIndex(0) +7 >Emitted(60, 24) Source(78, 24) + SourceIndex(0) +8 >Emitted(60, 25) Source(78, 25) + SourceIndex(0) --- >>>} 1 > @@ -2457,8 +2458,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(60, 1) Source(79, 1) + SourceIndex(0) -2 >Emitted(60, 2) Source(79, 2) + SourceIndex(0) +1 >Emitted(61, 1) Source(79, 1) + SourceIndex(0) +2 >Emitted(61, 2) Source(79, 2) + SourceIndex(0) --- >>>for (var _29 = multiRobotA[0], nameMA_1 = _29 === void 0 ? "noName" : _29, _30 = multiRobotA[1], _31 = _30 === void 0 ? ["none", "none"] : _30, _32 = _31[0], primarySkillA_1 = _32 === void 0 ? "primary" : _32, _33 = _31[1], secondarySkillA_1 = _33 === void 0 ? "secondary" : _33, i_1 = 0; i_1 < 1; i_1++) { 1-> @@ -2579,56 +2580,56 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 48> ++ 49> ) 50> { -1->Emitted(61, 1) Source(80, 1) + SourceIndex(0) -2 >Emitted(61, 6) Source(81, 6) + SourceIndex(0) -3 >Emitted(61, 10) Source(81, 6) + SourceIndex(0) -4 >Emitted(61, 16) Source(86, 9) + SourceIndex(0) -5 >Emitted(61, 27) Source(86, 20) + SourceIndex(0) -6 >Emitted(61, 30) Source(81, 23) + SourceIndex(0) -7 >Emitted(61, 32) Source(81, 6) + SourceIndex(0) -8 >Emitted(61, 40) Source(81, 12) + SourceIndex(0) -9 >Emitted(61, 60) Source(81, 15) + SourceIndex(0) -10>Emitted(61, 68) Source(81, 23) + SourceIndex(0) -11>Emitted(61, 74) Source(81, 23) + SourceIndex(0) -12>Emitted(61, 76) Source(82, 9) + SourceIndex(0) -13>Emitted(61, 82) Source(86, 9) + SourceIndex(0) -14>Emitted(61, 93) Source(86, 20) + SourceIndex(0) -15>Emitted(61, 96) Source(85, 29) + SourceIndex(0) -16>Emitted(61, 98) Source(82, 9) + SourceIndex(0) -17>Emitted(61, 121) Source(85, 13) + SourceIndex(0) -18>Emitted(61, 122) Source(85, 14) + SourceIndex(0) -19>Emitted(61, 128) Source(85, 20) + SourceIndex(0) -20>Emitted(61, 130) Source(85, 22) + SourceIndex(0) -21>Emitted(61, 136) Source(85, 28) + SourceIndex(0) -22>Emitted(61, 137) Source(85, 29) + SourceIndex(0) -23>Emitted(61, 143) Source(85, 29) + SourceIndex(0) -24>Emitted(61, 145) Source(83, 13) + SourceIndex(0) -25>Emitted(61, 157) Source(83, 38) + SourceIndex(0) -26>Emitted(61, 159) Source(83, 13) + SourceIndex(0) -27>Emitted(61, 174) Source(83, 26) + SourceIndex(0) -28>Emitted(61, 194) Source(83, 29) + SourceIndex(0) -29>Emitted(61, 203) Source(83, 38) + SourceIndex(0) -30>Emitted(61, 209) Source(83, 38) + SourceIndex(0) -31>Emitted(61, 211) Source(84, 13) + SourceIndex(0) -32>Emitted(61, 223) Source(84, 42) + SourceIndex(0) -33>Emitted(61, 225) Source(84, 13) + SourceIndex(0) -34>Emitted(61, 242) Source(84, 28) + SourceIndex(0) -35>Emitted(61, 262) Source(84, 31) + SourceIndex(0) -36>Emitted(61, 273) Source(84, 42) + SourceIndex(0) -37>Emitted(61, 279) Source(84, 42) + SourceIndex(0) -38>Emitted(61, 281) Source(86, 22) + SourceIndex(0) -39>Emitted(61, 284) Source(86, 23) + SourceIndex(0) -40>Emitted(61, 287) Source(86, 26) + SourceIndex(0) -41>Emitted(61, 288) Source(86, 27) + SourceIndex(0) -42>Emitted(61, 290) Source(86, 29) + SourceIndex(0) -43>Emitted(61, 293) Source(86, 30) + SourceIndex(0) -44>Emitted(61, 296) Source(86, 33) + SourceIndex(0) -45>Emitted(61, 297) Source(86, 34) + SourceIndex(0) -46>Emitted(61, 299) Source(86, 36) + SourceIndex(0) -47>Emitted(61, 302) Source(86, 37) + SourceIndex(0) -48>Emitted(61, 304) Source(86, 39) + SourceIndex(0) -49>Emitted(61, 306) Source(86, 41) + SourceIndex(0) -50>Emitted(61, 307) Source(86, 42) + SourceIndex(0) +1->Emitted(62, 1) Source(80, 1) + SourceIndex(0) +2 >Emitted(62, 6) Source(81, 6) + SourceIndex(0) +3 >Emitted(62, 10) Source(81, 6) + SourceIndex(0) +4 >Emitted(62, 16) Source(86, 9) + SourceIndex(0) +5 >Emitted(62, 27) Source(86, 20) + SourceIndex(0) +6 >Emitted(62, 30) Source(81, 23) + SourceIndex(0) +7 >Emitted(62, 32) Source(81, 6) + SourceIndex(0) +8 >Emitted(62, 40) Source(81, 12) + SourceIndex(0) +9 >Emitted(62, 60) Source(81, 15) + SourceIndex(0) +10>Emitted(62, 68) Source(81, 23) + SourceIndex(0) +11>Emitted(62, 74) Source(81, 23) + SourceIndex(0) +12>Emitted(62, 76) Source(82, 9) + SourceIndex(0) +13>Emitted(62, 82) Source(86, 9) + SourceIndex(0) +14>Emitted(62, 93) Source(86, 20) + SourceIndex(0) +15>Emitted(62, 96) Source(85, 29) + SourceIndex(0) +16>Emitted(62, 98) Source(82, 9) + SourceIndex(0) +17>Emitted(62, 121) Source(85, 13) + SourceIndex(0) +18>Emitted(62, 122) Source(85, 14) + SourceIndex(0) +19>Emitted(62, 128) Source(85, 20) + SourceIndex(0) +20>Emitted(62, 130) Source(85, 22) + SourceIndex(0) +21>Emitted(62, 136) Source(85, 28) + SourceIndex(0) +22>Emitted(62, 137) Source(85, 29) + SourceIndex(0) +23>Emitted(62, 143) Source(85, 29) + SourceIndex(0) +24>Emitted(62, 145) Source(83, 13) + SourceIndex(0) +25>Emitted(62, 157) Source(83, 38) + SourceIndex(0) +26>Emitted(62, 159) Source(83, 13) + SourceIndex(0) +27>Emitted(62, 174) Source(83, 26) + SourceIndex(0) +28>Emitted(62, 194) Source(83, 29) + SourceIndex(0) +29>Emitted(62, 203) Source(83, 38) + SourceIndex(0) +30>Emitted(62, 209) Source(83, 38) + SourceIndex(0) +31>Emitted(62, 211) Source(84, 13) + SourceIndex(0) +32>Emitted(62, 223) Source(84, 42) + SourceIndex(0) +33>Emitted(62, 225) Source(84, 13) + SourceIndex(0) +34>Emitted(62, 242) Source(84, 28) + SourceIndex(0) +35>Emitted(62, 262) Source(84, 31) + SourceIndex(0) +36>Emitted(62, 273) Source(84, 42) + SourceIndex(0) +37>Emitted(62, 279) Source(84, 42) + SourceIndex(0) +38>Emitted(62, 281) Source(86, 22) + SourceIndex(0) +39>Emitted(62, 284) Source(86, 23) + SourceIndex(0) +40>Emitted(62, 287) Source(86, 26) + SourceIndex(0) +41>Emitted(62, 288) Source(86, 27) + SourceIndex(0) +42>Emitted(62, 290) Source(86, 29) + SourceIndex(0) +43>Emitted(62, 293) Source(86, 30) + SourceIndex(0) +44>Emitted(62, 296) Source(86, 33) + SourceIndex(0) +45>Emitted(62, 297) Source(86, 34) + SourceIndex(0) +46>Emitted(62, 299) Source(86, 36) + SourceIndex(0) +47>Emitted(62, 302) Source(86, 37) + SourceIndex(0) +48>Emitted(62, 304) Source(86, 39) + SourceIndex(0) +49>Emitted(62, 306) Source(86, 41) + SourceIndex(0) +50>Emitted(62, 307) Source(86, 42) + SourceIndex(0) --- >>> console.log(nameMA_1); 1 >^^^^ @@ -2648,14 +2649,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameMA 7 > ) 8 > ; -1 >Emitted(62, 5) Source(87, 5) + SourceIndex(0) -2 >Emitted(62, 12) Source(87, 12) + SourceIndex(0) -3 >Emitted(62, 13) Source(87, 13) + SourceIndex(0) -4 >Emitted(62, 16) Source(87, 16) + SourceIndex(0) -5 >Emitted(62, 17) Source(87, 17) + SourceIndex(0) -6 >Emitted(62, 25) Source(87, 23) + SourceIndex(0) -7 >Emitted(62, 26) Source(87, 24) + SourceIndex(0) -8 >Emitted(62, 27) Source(87, 25) + SourceIndex(0) +1 >Emitted(63, 5) Source(87, 5) + SourceIndex(0) +2 >Emitted(63, 12) Source(87, 12) + SourceIndex(0) +3 >Emitted(63, 13) Source(87, 13) + SourceIndex(0) +4 >Emitted(63, 16) Source(87, 16) + SourceIndex(0) +5 >Emitted(63, 17) Source(87, 17) + SourceIndex(0) +6 >Emitted(63, 25) Source(87, 23) + SourceIndex(0) +7 >Emitted(63, 26) Source(87, 24) + SourceIndex(0) +8 >Emitted(63, 27) Source(87, 25) + SourceIndex(0) --- >>>} 1 > @@ -2664,8 +2665,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(63, 1) Source(88, 1) + SourceIndex(0) -2 >Emitted(63, 2) Source(88, 2) + SourceIndex(0) +1 >Emitted(64, 1) Source(88, 1) + SourceIndex(0) +2 >Emitted(64, 2) Source(88, 2) + SourceIndex(0) --- >>>for (_12 = getMultiRobot(), _13 = _12[0], nameMA = _13 === void 0 ? "noName" : _13, _14 = _12[1], _15 = _14 === void 0 ? ["none", "none"] : _14, _16 = _15[0], primarySkillA = _16 === void 0 ? "primary" : _16, _17 = _15[1], secondarySkillA = _17 === void 0 ? "secondary" : _17, i = 0; i < 1; i++) { 1-> @@ -2782,55 +2783,55 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 47> ++ 48> ) 49> { -1->Emitted(64, 1) Source(89, 1) + SourceIndex(0) -2 >Emitted(64, 6) Source(89, 6) + SourceIndex(0) -3 >Emitted(64, 12) Source(94, 5) + SourceIndex(0) -4 >Emitted(64, 25) Source(94, 18) + SourceIndex(0) -5 >Emitted(64, 27) Source(94, 20) + SourceIndex(0) -6 >Emitted(64, 29) Source(89, 7) + SourceIndex(0) -7 >Emitted(64, 41) Source(89, 24) + SourceIndex(0) -8 >Emitted(64, 43) Source(89, 7) + SourceIndex(0) -9 >Emitted(64, 49) Source(89, 13) + SourceIndex(0) -10>Emitted(64, 69) Source(89, 16) + SourceIndex(0) -11>Emitted(64, 77) Source(89, 24) + SourceIndex(0) -12>Emitted(64, 83) Source(89, 24) + SourceIndex(0) -13>Emitted(64, 85) Source(90, 5) + SourceIndex(0) -14>Emitted(64, 97) Source(93, 25) + SourceIndex(0) -15>Emitted(64, 99) Source(90, 5) + SourceIndex(0) -16>Emitted(64, 122) Source(93, 9) + SourceIndex(0) -17>Emitted(64, 123) Source(93, 10) + SourceIndex(0) -18>Emitted(64, 129) Source(93, 16) + SourceIndex(0) -19>Emitted(64, 131) Source(93, 18) + SourceIndex(0) -20>Emitted(64, 137) Source(93, 24) + SourceIndex(0) -21>Emitted(64, 138) Source(93, 25) + SourceIndex(0) -22>Emitted(64, 144) Source(93, 25) + SourceIndex(0) -23>Emitted(64, 146) Source(91, 9) + SourceIndex(0) -24>Emitted(64, 158) Source(91, 34) + SourceIndex(0) -25>Emitted(64, 160) Source(91, 9) + SourceIndex(0) -26>Emitted(64, 173) Source(91, 22) + SourceIndex(0) -27>Emitted(64, 193) Source(91, 25) + SourceIndex(0) -28>Emitted(64, 202) Source(91, 34) + SourceIndex(0) -29>Emitted(64, 208) Source(91, 34) + SourceIndex(0) -30>Emitted(64, 210) Source(92, 9) + SourceIndex(0) -31>Emitted(64, 222) Source(92, 38) + SourceIndex(0) -32>Emitted(64, 224) Source(92, 9) + SourceIndex(0) -33>Emitted(64, 239) Source(92, 24) + SourceIndex(0) -34>Emitted(64, 259) Source(92, 27) + SourceIndex(0) -35>Emitted(64, 270) Source(92, 38) + SourceIndex(0) -36>Emitted(64, 276) Source(92, 38) + SourceIndex(0) -37>Emitted(64, 278) Source(94, 22) + SourceIndex(0) -38>Emitted(64, 279) Source(94, 23) + SourceIndex(0) -39>Emitted(64, 282) Source(94, 26) + SourceIndex(0) -40>Emitted(64, 283) Source(94, 27) + SourceIndex(0) -41>Emitted(64, 285) Source(94, 29) + SourceIndex(0) -42>Emitted(64, 286) Source(94, 30) + SourceIndex(0) -43>Emitted(64, 289) Source(94, 33) + SourceIndex(0) -44>Emitted(64, 290) Source(94, 34) + SourceIndex(0) -45>Emitted(64, 292) Source(94, 36) + SourceIndex(0) -46>Emitted(64, 293) Source(94, 37) + SourceIndex(0) -47>Emitted(64, 295) Source(94, 39) + SourceIndex(0) -48>Emitted(64, 297) Source(94, 41) + SourceIndex(0) -49>Emitted(64, 298) Source(94, 42) + SourceIndex(0) +1->Emitted(65, 1) Source(89, 1) + SourceIndex(0) +2 >Emitted(65, 6) Source(89, 6) + SourceIndex(0) +3 >Emitted(65, 12) Source(94, 5) + SourceIndex(0) +4 >Emitted(65, 25) Source(94, 18) + SourceIndex(0) +5 >Emitted(65, 27) Source(94, 20) + SourceIndex(0) +6 >Emitted(65, 29) Source(89, 7) + SourceIndex(0) +7 >Emitted(65, 41) Source(89, 24) + SourceIndex(0) +8 >Emitted(65, 43) Source(89, 7) + SourceIndex(0) +9 >Emitted(65, 49) Source(89, 13) + SourceIndex(0) +10>Emitted(65, 69) Source(89, 16) + SourceIndex(0) +11>Emitted(65, 77) Source(89, 24) + SourceIndex(0) +12>Emitted(65, 83) Source(89, 24) + SourceIndex(0) +13>Emitted(65, 85) Source(90, 5) + SourceIndex(0) +14>Emitted(65, 97) Source(93, 25) + SourceIndex(0) +15>Emitted(65, 99) Source(90, 5) + SourceIndex(0) +16>Emitted(65, 122) Source(93, 9) + SourceIndex(0) +17>Emitted(65, 123) Source(93, 10) + SourceIndex(0) +18>Emitted(65, 129) Source(93, 16) + SourceIndex(0) +19>Emitted(65, 131) Source(93, 18) + SourceIndex(0) +20>Emitted(65, 137) Source(93, 24) + SourceIndex(0) +21>Emitted(65, 138) Source(93, 25) + SourceIndex(0) +22>Emitted(65, 144) Source(93, 25) + SourceIndex(0) +23>Emitted(65, 146) Source(91, 9) + SourceIndex(0) +24>Emitted(65, 158) Source(91, 34) + SourceIndex(0) +25>Emitted(65, 160) Source(91, 9) + SourceIndex(0) +26>Emitted(65, 173) Source(91, 22) + SourceIndex(0) +27>Emitted(65, 193) Source(91, 25) + SourceIndex(0) +28>Emitted(65, 202) Source(91, 34) + SourceIndex(0) +29>Emitted(65, 208) Source(91, 34) + SourceIndex(0) +30>Emitted(65, 210) Source(92, 9) + SourceIndex(0) +31>Emitted(65, 222) Source(92, 38) + SourceIndex(0) +32>Emitted(65, 224) Source(92, 9) + SourceIndex(0) +33>Emitted(65, 239) Source(92, 24) + SourceIndex(0) +34>Emitted(65, 259) Source(92, 27) + SourceIndex(0) +35>Emitted(65, 270) Source(92, 38) + SourceIndex(0) +36>Emitted(65, 276) Source(92, 38) + SourceIndex(0) +37>Emitted(65, 278) Source(94, 22) + SourceIndex(0) +38>Emitted(65, 279) Source(94, 23) + SourceIndex(0) +39>Emitted(65, 282) Source(94, 26) + SourceIndex(0) +40>Emitted(65, 283) Source(94, 27) + SourceIndex(0) +41>Emitted(65, 285) Source(94, 29) + SourceIndex(0) +42>Emitted(65, 286) Source(94, 30) + SourceIndex(0) +43>Emitted(65, 289) Source(94, 33) + SourceIndex(0) +44>Emitted(65, 290) Source(94, 34) + SourceIndex(0) +45>Emitted(65, 292) Source(94, 36) + SourceIndex(0) +46>Emitted(65, 293) Source(94, 37) + SourceIndex(0) +47>Emitted(65, 295) Source(94, 39) + SourceIndex(0) +48>Emitted(65, 297) Source(94, 41) + SourceIndex(0) +49>Emitted(65, 298) Source(94, 42) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2850,14 +2851,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameMA 7 > ) 8 > ; -1 >Emitted(65, 5) Source(95, 5) + SourceIndex(0) -2 >Emitted(65, 12) Source(95, 12) + SourceIndex(0) -3 >Emitted(65, 13) Source(95, 13) + SourceIndex(0) -4 >Emitted(65, 16) Source(95, 16) + SourceIndex(0) -5 >Emitted(65, 17) Source(95, 17) + SourceIndex(0) -6 >Emitted(65, 23) Source(95, 23) + SourceIndex(0) -7 >Emitted(65, 24) Source(95, 24) + SourceIndex(0) -8 >Emitted(65, 25) Source(95, 25) + SourceIndex(0) +1 >Emitted(66, 5) Source(95, 5) + SourceIndex(0) +2 >Emitted(66, 12) Source(95, 12) + SourceIndex(0) +3 >Emitted(66, 13) Source(95, 13) + SourceIndex(0) +4 >Emitted(66, 16) Source(95, 16) + SourceIndex(0) +5 >Emitted(66, 17) Source(95, 17) + SourceIndex(0) +6 >Emitted(66, 23) Source(95, 23) + SourceIndex(0) +7 >Emitted(66, 24) Source(95, 24) + SourceIndex(0) +8 >Emitted(66, 25) Source(95, 25) + SourceIndex(0) --- >>>} 1 > @@ -2866,8 +2867,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(66, 1) Source(96, 1) + SourceIndex(0) -2 >Emitted(66, 2) Source(96, 2) + SourceIndex(0) +1 >Emitted(67, 1) Source(96, 1) + SourceIndex(0) +2 >Emitted(67, 2) Source(96, 2) + SourceIndex(0) --- >>>for (_18 = ["trimmer", ["trimming", "edging"]], _19 = _18[0], nameMA = _19 === void 0 ? "noName" : _19, _20 = _18[1], _21 = _20 === void 0 ? ["none", "none"] : _20, _22 = _21[0], primarySkillA = _22 === void 0 ? "primary" : _22, _23 = _21[1], secondarySkillA = _23 === void 0 ? "secondary" : _23, i = 0; i < 1; i++) { 1-> @@ -2998,62 +2999,62 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 54> ++ 55> ) 56> { -1->Emitted(67, 1) Source(97, 1) + SourceIndex(0) -2 >Emitted(67, 6) Source(97, 6) + SourceIndex(0) -3 >Emitted(67, 12) Source(102, 5) + SourceIndex(0) -4 >Emitted(67, 13) Source(102, 6) + SourceIndex(0) -5 >Emitted(67, 22) Source(102, 15) + SourceIndex(0) -6 >Emitted(67, 24) Source(102, 17) + SourceIndex(0) -7 >Emitted(67, 25) Source(102, 18) + SourceIndex(0) -8 >Emitted(67, 35) Source(102, 28) + SourceIndex(0) -9 >Emitted(67, 37) Source(102, 30) + SourceIndex(0) -10>Emitted(67, 45) Source(102, 38) + SourceIndex(0) -11>Emitted(67, 46) Source(102, 39) + SourceIndex(0) -12>Emitted(67, 47) Source(102, 40) + SourceIndex(0) -13>Emitted(67, 49) Source(97, 7) + SourceIndex(0) -14>Emitted(67, 61) Source(97, 24) + SourceIndex(0) -15>Emitted(67, 63) Source(97, 7) + SourceIndex(0) -16>Emitted(67, 69) Source(97, 13) + SourceIndex(0) -17>Emitted(67, 89) Source(97, 16) + SourceIndex(0) -18>Emitted(67, 97) Source(97, 24) + SourceIndex(0) -19>Emitted(67, 103) Source(97, 24) + SourceIndex(0) -20>Emitted(67, 105) Source(98, 5) + SourceIndex(0) -21>Emitted(67, 117) Source(101, 25) + SourceIndex(0) -22>Emitted(67, 119) Source(98, 5) + SourceIndex(0) -23>Emitted(67, 142) Source(101, 9) + SourceIndex(0) -24>Emitted(67, 143) Source(101, 10) + SourceIndex(0) -25>Emitted(67, 149) Source(101, 16) + SourceIndex(0) -26>Emitted(67, 151) Source(101, 18) + SourceIndex(0) -27>Emitted(67, 157) Source(101, 24) + SourceIndex(0) -28>Emitted(67, 158) Source(101, 25) + SourceIndex(0) -29>Emitted(67, 164) Source(101, 25) + SourceIndex(0) -30>Emitted(67, 166) Source(99, 9) + SourceIndex(0) -31>Emitted(67, 178) Source(99, 34) + SourceIndex(0) -32>Emitted(67, 180) Source(99, 9) + SourceIndex(0) -33>Emitted(67, 193) Source(99, 22) + SourceIndex(0) -34>Emitted(67, 213) Source(99, 25) + SourceIndex(0) -35>Emitted(67, 222) Source(99, 34) + SourceIndex(0) -36>Emitted(67, 228) Source(99, 34) + SourceIndex(0) -37>Emitted(67, 230) Source(100, 9) + SourceIndex(0) -38>Emitted(67, 242) Source(100, 38) + SourceIndex(0) -39>Emitted(67, 244) Source(100, 9) + SourceIndex(0) -40>Emitted(67, 259) Source(100, 24) + SourceIndex(0) -41>Emitted(67, 279) Source(100, 27) + SourceIndex(0) -42>Emitted(67, 290) Source(100, 38) + SourceIndex(0) -43>Emitted(67, 296) Source(100, 38) + SourceIndex(0) -44>Emitted(67, 298) Source(102, 42) + SourceIndex(0) -45>Emitted(67, 299) Source(102, 43) + SourceIndex(0) -46>Emitted(67, 302) Source(102, 46) + SourceIndex(0) -47>Emitted(67, 303) Source(102, 47) + SourceIndex(0) -48>Emitted(67, 305) Source(102, 49) + SourceIndex(0) -49>Emitted(67, 306) Source(102, 50) + SourceIndex(0) -50>Emitted(67, 309) Source(102, 53) + SourceIndex(0) -51>Emitted(67, 310) Source(102, 54) + SourceIndex(0) -52>Emitted(67, 312) Source(102, 56) + SourceIndex(0) -53>Emitted(67, 313) Source(102, 57) + SourceIndex(0) -54>Emitted(67, 315) Source(102, 59) + SourceIndex(0) -55>Emitted(67, 317) Source(102, 61) + SourceIndex(0) -56>Emitted(67, 318) Source(102, 62) + SourceIndex(0) +1->Emitted(68, 1) Source(97, 1) + SourceIndex(0) +2 >Emitted(68, 6) Source(97, 6) + SourceIndex(0) +3 >Emitted(68, 12) Source(102, 5) + SourceIndex(0) +4 >Emitted(68, 13) Source(102, 6) + SourceIndex(0) +5 >Emitted(68, 22) Source(102, 15) + SourceIndex(0) +6 >Emitted(68, 24) Source(102, 17) + SourceIndex(0) +7 >Emitted(68, 25) Source(102, 18) + SourceIndex(0) +8 >Emitted(68, 35) Source(102, 28) + SourceIndex(0) +9 >Emitted(68, 37) Source(102, 30) + SourceIndex(0) +10>Emitted(68, 45) Source(102, 38) + SourceIndex(0) +11>Emitted(68, 46) Source(102, 39) + SourceIndex(0) +12>Emitted(68, 47) Source(102, 40) + SourceIndex(0) +13>Emitted(68, 49) Source(97, 7) + SourceIndex(0) +14>Emitted(68, 61) Source(97, 24) + SourceIndex(0) +15>Emitted(68, 63) Source(97, 7) + SourceIndex(0) +16>Emitted(68, 69) Source(97, 13) + SourceIndex(0) +17>Emitted(68, 89) Source(97, 16) + SourceIndex(0) +18>Emitted(68, 97) Source(97, 24) + SourceIndex(0) +19>Emitted(68, 103) Source(97, 24) + SourceIndex(0) +20>Emitted(68, 105) Source(98, 5) + SourceIndex(0) +21>Emitted(68, 117) Source(101, 25) + SourceIndex(0) +22>Emitted(68, 119) Source(98, 5) + SourceIndex(0) +23>Emitted(68, 142) Source(101, 9) + SourceIndex(0) +24>Emitted(68, 143) Source(101, 10) + SourceIndex(0) +25>Emitted(68, 149) Source(101, 16) + SourceIndex(0) +26>Emitted(68, 151) Source(101, 18) + SourceIndex(0) +27>Emitted(68, 157) Source(101, 24) + SourceIndex(0) +28>Emitted(68, 158) Source(101, 25) + SourceIndex(0) +29>Emitted(68, 164) Source(101, 25) + SourceIndex(0) +30>Emitted(68, 166) Source(99, 9) + SourceIndex(0) +31>Emitted(68, 178) Source(99, 34) + SourceIndex(0) +32>Emitted(68, 180) Source(99, 9) + SourceIndex(0) +33>Emitted(68, 193) Source(99, 22) + SourceIndex(0) +34>Emitted(68, 213) Source(99, 25) + SourceIndex(0) +35>Emitted(68, 222) Source(99, 34) + SourceIndex(0) +36>Emitted(68, 228) Source(99, 34) + SourceIndex(0) +37>Emitted(68, 230) Source(100, 9) + SourceIndex(0) +38>Emitted(68, 242) Source(100, 38) + SourceIndex(0) +39>Emitted(68, 244) Source(100, 9) + SourceIndex(0) +40>Emitted(68, 259) Source(100, 24) + SourceIndex(0) +41>Emitted(68, 279) Source(100, 27) + SourceIndex(0) +42>Emitted(68, 290) Source(100, 38) + SourceIndex(0) +43>Emitted(68, 296) Source(100, 38) + SourceIndex(0) +44>Emitted(68, 298) Source(102, 42) + SourceIndex(0) +45>Emitted(68, 299) Source(102, 43) + SourceIndex(0) +46>Emitted(68, 302) Source(102, 46) + SourceIndex(0) +47>Emitted(68, 303) Source(102, 47) + SourceIndex(0) +48>Emitted(68, 305) Source(102, 49) + SourceIndex(0) +49>Emitted(68, 306) Source(102, 50) + SourceIndex(0) +50>Emitted(68, 309) Source(102, 53) + SourceIndex(0) +51>Emitted(68, 310) Source(102, 54) + SourceIndex(0) +52>Emitted(68, 312) Source(102, 56) + SourceIndex(0) +53>Emitted(68, 313) Source(102, 57) + SourceIndex(0) +54>Emitted(68, 315) Source(102, 59) + SourceIndex(0) +55>Emitted(68, 317) Source(102, 61) + SourceIndex(0) +56>Emitted(68, 318) Source(102, 62) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -3073,14 +3074,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > nameMA 7 > ) 8 > ; -1 >Emitted(68, 5) Source(103, 5) + SourceIndex(0) -2 >Emitted(68, 12) Source(103, 12) + SourceIndex(0) -3 >Emitted(68, 13) Source(103, 13) + SourceIndex(0) -4 >Emitted(68, 16) Source(103, 16) + SourceIndex(0) -5 >Emitted(68, 17) Source(103, 17) + SourceIndex(0) -6 >Emitted(68, 23) Source(103, 23) + SourceIndex(0) -7 >Emitted(68, 24) Source(103, 24) + SourceIndex(0) -8 >Emitted(68, 25) Source(103, 25) + SourceIndex(0) +1 >Emitted(69, 5) Source(103, 5) + SourceIndex(0) +2 >Emitted(69, 12) Source(103, 12) + SourceIndex(0) +3 >Emitted(69, 13) Source(103, 13) + SourceIndex(0) +4 >Emitted(69, 16) Source(103, 16) + SourceIndex(0) +5 >Emitted(69, 17) Source(103, 17) + SourceIndex(0) +6 >Emitted(69, 23) Source(103, 23) + SourceIndex(0) +7 >Emitted(69, 24) Source(103, 24) + SourceIndex(0) +8 >Emitted(69, 25) Source(103, 25) + SourceIndex(0) --- >>>} 1 > @@ -3089,8 +3090,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(69, 1) Source(104, 1) + SourceIndex(0) -2 >Emitted(69, 2) Source(104, 2) + SourceIndex(0) +1 >Emitted(70, 1) Source(104, 1) + SourceIndex(0) +2 >Emitted(70, 2) Source(104, 2) + SourceIndex(0) --- >>>for (_24 = robotA[0], numberA3 = _24 === void 0 ? -1 : _24, robotAInfo = robotA.slice(1), i = 0; i < 1; i++) { 1-> @@ -3153,35 +3154,35 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 27> ++ 28> ) 29> { -1->Emitted(70, 1) Source(106, 1) + SourceIndex(0) -2 >Emitted(70, 6) Source(106, 7) + SourceIndex(0) -3 >Emitted(70, 12) Source(106, 39) + SourceIndex(0) -4 >Emitted(70, 18) Source(106, 45) + SourceIndex(0) -5 >Emitted(70, 21) Source(106, 20) + SourceIndex(0) -6 >Emitted(70, 23) Source(106, 7) + SourceIndex(0) -7 >Emitted(70, 31) Source(106, 15) + SourceIndex(0) -8 >Emitted(70, 51) Source(106, 18) + SourceIndex(0) -9 >Emitted(70, 52) Source(106, 19) + SourceIndex(0) -10>Emitted(70, 53) Source(106, 20) + SourceIndex(0) -11>Emitted(70, 59) Source(106, 20) + SourceIndex(0) -12>Emitted(70, 61) Source(106, 25) + SourceIndex(0) -13>Emitted(70, 71) Source(106, 35) + SourceIndex(0) -14>Emitted(70, 74) Source(106, 39) + SourceIndex(0) -15>Emitted(70, 80) Source(106, 45) + SourceIndex(0) -16>Emitted(70, 89) Source(106, 35) + SourceIndex(0) -17>Emitted(70, 91) Source(106, 47) + SourceIndex(0) -18>Emitted(70, 92) Source(106, 48) + SourceIndex(0) -19>Emitted(70, 95) Source(106, 51) + SourceIndex(0) -20>Emitted(70, 96) Source(106, 52) + SourceIndex(0) -21>Emitted(70, 98) Source(106, 54) + SourceIndex(0) -22>Emitted(70, 99) Source(106, 55) + SourceIndex(0) -23>Emitted(70, 102) Source(106, 58) + SourceIndex(0) -24>Emitted(70, 103) Source(106, 59) + SourceIndex(0) -25>Emitted(70, 105) Source(106, 61) + SourceIndex(0) -26>Emitted(70, 106) Source(106, 62) + SourceIndex(0) -27>Emitted(70, 108) Source(106, 64) + SourceIndex(0) -28>Emitted(70, 110) Source(106, 66) + SourceIndex(0) -29>Emitted(70, 111) Source(106, 67) + SourceIndex(0) +1->Emitted(71, 1) Source(106, 1) + SourceIndex(0) +2 >Emitted(71, 6) Source(106, 7) + SourceIndex(0) +3 >Emitted(71, 12) Source(106, 39) + SourceIndex(0) +4 >Emitted(71, 18) Source(106, 45) + SourceIndex(0) +5 >Emitted(71, 21) Source(106, 20) + SourceIndex(0) +6 >Emitted(71, 23) Source(106, 7) + SourceIndex(0) +7 >Emitted(71, 31) Source(106, 15) + SourceIndex(0) +8 >Emitted(71, 51) Source(106, 18) + SourceIndex(0) +9 >Emitted(71, 52) Source(106, 19) + SourceIndex(0) +10>Emitted(71, 53) Source(106, 20) + SourceIndex(0) +11>Emitted(71, 59) Source(106, 20) + SourceIndex(0) +12>Emitted(71, 61) Source(106, 25) + SourceIndex(0) +13>Emitted(71, 71) Source(106, 35) + SourceIndex(0) +14>Emitted(71, 74) Source(106, 39) + SourceIndex(0) +15>Emitted(71, 80) Source(106, 45) + SourceIndex(0) +16>Emitted(71, 89) Source(106, 35) + SourceIndex(0) +17>Emitted(71, 91) Source(106, 47) + SourceIndex(0) +18>Emitted(71, 92) Source(106, 48) + SourceIndex(0) +19>Emitted(71, 95) Source(106, 51) + SourceIndex(0) +20>Emitted(71, 96) Source(106, 52) + SourceIndex(0) +21>Emitted(71, 98) Source(106, 54) + SourceIndex(0) +22>Emitted(71, 99) Source(106, 55) + SourceIndex(0) +23>Emitted(71, 102) Source(106, 58) + SourceIndex(0) +24>Emitted(71, 103) Source(106, 59) + SourceIndex(0) +25>Emitted(71, 105) Source(106, 61) + SourceIndex(0) +26>Emitted(71, 106) Source(106, 62) + SourceIndex(0) +27>Emitted(71, 108) Source(106, 64) + SourceIndex(0) +28>Emitted(71, 110) Source(106, 66) + SourceIndex(0) +29>Emitted(71, 111) Source(106, 67) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -3201,14 +3202,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > numberA3 7 > ) 8 > ; -1 >Emitted(71, 5) Source(107, 5) + SourceIndex(0) -2 >Emitted(71, 12) Source(107, 12) + SourceIndex(0) -3 >Emitted(71, 13) Source(107, 13) + SourceIndex(0) -4 >Emitted(71, 16) Source(107, 16) + SourceIndex(0) -5 >Emitted(71, 17) Source(107, 17) + SourceIndex(0) -6 >Emitted(71, 25) Source(107, 25) + SourceIndex(0) -7 >Emitted(71, 26) Source(107, 26) + SourceIndex(0) -8 >Emitted(71, 27) Source(107, 27) + SourceIndex(0) +1 >Emitted(72, 5) Source(107, 5) + SourceIndex(0) +2 >Emitted(72, 12) Source(107, 12) + SourceIndex(0) +3 >Emitted(72, 13) Source(107, 13) + SourceIndex(0) +4 >Emitted(72, 16) Source(107, 16) + SourceIndex(0) +5 >Emitted(72, 17) Source(107, 17) + SourceIndex(0) +6 >Emitted(72, 25) Source(107, 25) + SourceIndex(0) +7 >Emitted(72, 26) Source(107, 26) + SourceIndex(0) +8 >Emitted(72, 27) Source(107, 27) + SourceIndex(0) --- >>>} 1 > @@ -3217,8 +3218,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(72, 1) Source(108, 1) + SourceIndex(0) -2 >Emitted(72, 2) Source(108, 2) + SourceIndex(0) +1 >Emitted(73, 1) Source(108, 1) + SourceIndex(0) +2 >Emitted(73, 2) Source(108, 2) + SourceIndex(0) --- >>>for (_25 = getRobot(), _26 = _25[0], numberA3 = _26 === void 0 ? -1 : _26, robotAInfo = _25.slice(1), i = 0; i < 1; i++) { 1-> @@ -3280,35 +3281,35 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 27> ++ 28> ) 29> { -1->Emitted(73, 1) Source(109, 1) + SourceIndex(0) -2 >Emitted(73, 6) Source(109, 6) + SourceIndex(0) -3 >Emitted(73, 12) Source(109, 39) + SourceIndex(0) -4 >Emitted(73, 20) Source(109, 47) + SourceIndex(0) -5 >Emitted(73, 22) Source(109, 49) + SourceIndex(0) -6 >Emitted(73, 24) Source(109, 7) + SourceIndex(0) -7 >Emitted(73, 36) Source(109, 20) + SourceIndex(0) -8 >Emitted(73, 38) Source(109, 7) + SourceIndex(0) -9 >Emitted(73, 46) Source(109, 15) + SourceIndex(0) -10>Emitted(73, 66) Source(109, 18) + SourceIndex(0) -11>Emitted(73, 67) Source(109, 19) + SourceIndex(0) -12>Emitted(73, 68) Source(109, 20) + SourceIndex(0) -13>Emitted(73, 74) Source(109, 20) + SourceIndex(0) -14>Emitted(73, 76) Source(109, 25) + SourceIndex(0) -15>Emitted(73, 86) Source(109, 35) + SourceIndex(0) -16>Emitted(73, 101) Source(109, 35) + SourceIndex(0) -17>Emitted(73, 103) Source(109, 51) + SourceIndex(0) -18>Emitted(73, 104) Source(109, 52) + SourceIndex(0) -19>Emitted(73, 107) Source(109, 55) + SourceIndex(0) -20>Emitted(73, 108) Source(109, 56) + SourceIndex(0) -21>Emitted(73, 110) Source(109, 58) + SourceIndex(0) -22>Emitted(73, 111) Source(109, 59) + SourceIndex(0) -23>Emitted(73, 114) Source(109, 62) + SourceIndex(0) -24>Emitted(73, 115) Source(109, 63) + SourceIndex(0) -25>Emitted(73, 117) Source(109, 65) + SourceIndex(0) -26>Emitted(73, 118) Source(109, 66) + SourceIndex(0) -27>Emitted(73, 120) Source(109, 68) + SourceIndex(0) -28>Emitted(73, 122) Source(109, 70) + SourceIndex(0) -29>Emitted(73, 123) Source(109, 71) + SourceIndex(0) +1->Emitted(74, 1) Source(109, 1) + SourceIndex(0) +2 >Emitted(74, 6) Source(109, 6) + SourceIndex(0) +3 >Emitted(74, 12) Source(109, 39) + SourceIndex(0) +4 >Emitted(74, 20) Source(109, 47) + SourceIndex(0) +5 >Emitted(74, 22) Source(109, 49) + SourceIndex(0) +6 >Emitted(74, 24) Source(109, 7) + SourceIndex(0) +7 >Emitted(74, 36) Source(109, 20) + SourceIndex(0) +8 >Emitted(74, 38) Source(109, 7) + SourceIndex(0) +9 >Emitted(74, 46) Source(109, 15) + SourceIndex(0) +10>Emitted(74, 66) Source(109, 18) + SourceIndex(0) +11>Emitted(74, 67) Source(109, 19) + SourceIndex(0) +12>Emitted(74, 68) Source(109, 20) + SourceIndex(0) +13>Emitted(74, 74) Source(109, 20) + SourceIndex(0) +14>Emitted(74, 76) Source(109, 25) + SourceIndex(0) +15>Emitted(74, 86) Source(109, 35) + SourceIndex(0) +16>Emitted(74, 101) Source(109, 35) + SourceIndex(0) +17>Emitted(74, 103) Source(109, 51) + SourceIndex(0) +18>Emitted(74, 104) Source(109, 52) + SourceIndex(0) +19>Emitted(74, 107) Source(109, 55) + SourceIndex(0) +20>Emitted(74, 108) Source(109, 56) + SourceIndex(0) +21>Emitted(74, 110) Source(109, 58) + SourceIndex(0) +22>Emitted(74, 111) Source(109, 59) + SourceIndex(0) +23>Emitted(74, 114) Source(109, 62) + SourceIndex(0) +24>Emitted(74, 115) Source(109, 63) + SourceIndex(0) +25>Emitted(74, 117) Source(109, 65) + SourceIndex(0) +26>Emitted(74, 118) Source(109, 66) + SourceIndex(0) +27>Emitted(74, 120) Source(109, 68) + SourceIndex(0) +28>Emitted(74, 122) Source(109, 70) + SourceIndex(0) +29>Emitted(74, 123) Source(109, 71) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -3328,14 +3329,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > numberA3 7 > ) 8 > ; -1 >Emitted(74, 5) Source(110, 5) + SourceIndex(0) -2 >Emitted(74, 12) Source(110, 12) + SourceIndex(0) -3 >Emitted(74, 13) Source(110, 13) + SourceIndex(0) -4 >Emitted(74, 16) Source(110, 16) + SourceIndex(0) -5 >Emitted(74, 17) Source(110, 17) + SourceIndex(0) -6 >Emitted(74, 25) Source(110, 25) + SourceIndex(0) -7 >Emitted(74, 26) Source(110, 26) + SourceIndex(0) -8 >Emitted(74, 27) Source(110, 27) + SourceIndex(0) +1 >Emitted(75, 5) Source(110, 5) + SourceIndex(0) +2 >Emitted(75, 12) Source(110, 12) + SourceIndex(0) +3 >Emitted(75, 13) Source(110, 13) + SourceIndex(0) +4 >Emitted(75, 16) Source(110, 16) + SourceIndex(0) +5 >Emitted(75, 17) Source(110, 17) + SourceIndex(0) +6 >Emitted(75, 25) Source(110, 25) + SourceIndex(0) +7 >Emitted(75, 26) Source(110, 26) + SourceIndex(0) +8 >Emitted(75, 27) Source(110, 27) + SourceIndex(0) --- >>>} 1 > @@ -3344,8 +3345,8 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(75, 1) Source(111, 1) + SourceIndex(0) -2 >Emitted(75, 2) Source(111, 2) + SourceIndex(0) +1 >Emitted(76, 1) Source(111, 1) + SourceIndex(0) +2 >Emitted(76, 2) Source(111, 2) + SourceIndex(0) --- >>>for (_27 = [2, "trimmer", "trimming"], _28 = _27[0], numberA3 = _28 === void 0 ? -1 : _28, robotAInfo = _27.slice(1), i = 0; i < 1; i++) { 1-> @@ -3417,40 +3418,40 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 32> ++ 33> ) 34> { -1->Emitted(76, 1) Source(112, 1) + SourceIndex(0) -2 >Emitted(76, 6) Source(112, 6) + SourceIndex(0) -3 >Emitted(76, 12) Source(112, 46) + SourceIndex(0) -4 >Emitted(76, 13) Source(112, 47) + SourceIndex(0) -5 >Emitted(76, 14) Source(112, 48) + SourceIndex(0) -6 >Emitted(76, 16) Source(112, 50) + SourceIndex(0) -7 >Emitted(76, 25) Source(112, 59) + SourceIndex(0) -8 >Emitted(76, 27) Source(112, 61) + SourceIndex(0) -9 >Emitted(76, 37) Source(112, 71) + SourceIndex(0) -10>Emitted(76, 38) Source(112, 72) + SourceIndex(0) -11>Emitted(76, 40) Source(112, 7) + SourceIndex(0) -12>Emitted(76, 52) Source(112, 20) + SourceIndex(0) -13>Emitted(76, 54) Source(112, 7) + SourceIndex(0) -14>Emitted(76, 62) Source(112, 15) + SourceIndex(0) -15>Emitted(76, 82) Source(112, 18) + SourceIndex(0) -16>Emitted(76, 83) Source(112, 19) + SourceIndex(0) -17>Emitted(76, 84) Source(112, 20) + SourceIndex(0) -18>Emitted(76, 90) Source(112, 20) + SourceIndex(0) -19>Emitted(76, 92) Source(112, 25) + SourceIndex(0) -20>Emitted(76, 102) Source(112, 35) + SourceIndex(0) -21>Emitted(76, 117) Source(112, 35) + SourceIndex(0) -22>Emitted(76, 119) Source(112, 74) + SourceIndex(0) -23>Emitted(76, 120) Source(112, 75) + SourceIndex(0) -24>Emitted(76, 123) Source(112, 78) + SourceIndex(0) -25>Emitted(76, 124) Source(112, 79) + SourceIndex(0) -26>Emitted(76, 126) Source(112, 81) + SourceIndex(0) -27>Emitted(76, 127) Source(112, 82) + SourceIndex(0) -28>Emitted(76, 130) Source(112, 85) + SourceIndex(0) -29>Emitted(76, 131) Source(112, 86) + SourceIndex(0) -30>Emitted(76, 133) Source(112, 88) + SourceIndex(0) -31>Emitted(76, 134) Source(112, 89) + SourceIndex(0) -32>Emitted(76, 136) Source(112, 91) + SourceIndex(0) -33>Emitted(76, 138) Source(112, 93) + SourceIndex(0) -34>Emitted(76, 139) Source(112, 94) + SourceIndex(0) +1->Emitted(77, 1) Source(112, 1) + SourceIndex(0) +2 >Emitted(77, 6) Source(112, 6) + SourceIndex(0) +3 >Emitted(77, 12) Source(112, 46) + SourceIndex(0) +4 >Emitted(77, 13) Source(112, 47) + SourceIndex(0) +5 >Emitted(77, 14) Source(112, 48) + SourceIndex(0) +6 >Emitted(77, 16) Source(112, 50) + SourceIndex(0) +7 >Emitted(77, 25) Source(112, 59) + SourceIndex(0) +8 >Emitted(77, 27) Source(112, 61) + SourceIndex(0) +9 >Emitted(77, 37) Source(112, 71) + SourceIndex(0) +10>Emitted(77, 38) Source(112, 72) + SourceIndex(0) +11>Emitted(77, 40) Source(112, 7) + SourceIndex(0) +12>Emitted(77, 52) Source(112, 20) + SourceIndex(0) +13>Emitted(77, 54) Source(112, 7) + SourceIndex(0) +14>Emitted(77, 62) Source(112, 15) + SourceIndex(0) +15>Emitted(77, 82) Source(112, 18) + SourceIndex(0) +16>Emitted(77, 83) Source(112, 19) + SourceIndex(0) +17>Emitted(77, 84) Source(112, 20) + SourceIndex(0) +18>Emitted(77, 90) Source(112, 20) + SourceIndex(0) +19>Emitted(77, 92) Source(112, 25) + SourceIndex(0) +20>Emitted(77, 102) Source(112, 35) + SourceIndex(0) +21>Emitted(77, 117) Source(112, 35) + SourceIndex(0) +22>Emitted(77, 119) Source(112, 74) + SourceIndex(0) +23>Emitted(77, 120) Source(112, 75) + SourceIndex(0) +24>Emitted(77, 123) Source(112, 78) + SourceIndex(0) +25>Emitted(77, 124) Source(112, 79) + SourceIndex(0) +26>Emitted(77, 126) Source(112, 81) + SourceIndex(0) +27>Emitted(77, 127) Source(112, 82) + SourceIndex(0) +28>Emitted(77, 130) Source(112, 85) + SourceIndex(0) +29>Emitted(77, 131) Source(112, 86) + SourceIndex(0) +30>Emitted(77, 133) Source(112, 88) + SourceIndex(0) +31>Emitted(77, 134) Source(112, 89) + SourceIndex(0) +32>Emitted(77, 136) Source(112, 91) + SourceIndex(0) +33>Emitted(77, 138) Source(112, 93) + SourceIndex(0) +34>Emitted(77, 139) Source(112, 94) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -3470,14 +3471,14 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 6 > numberA3 7 > ) 8 > ; -1 >Emitted(77, 5) Source(113, 5) + SourceIndex(0) -2 >Emitted(77, 12) Source(113, 12) + SourceIndex(0) -3 >Emitted(77, 13) Source(113, 13) + SourceIndex(0) -4 >Emitted(77, 16) Source(113, 16) + SourceIndex(0) -5 >Emitted(77, 17) Source(113, 17) + SourceIndex(0) -6 >Emitted(77, 25) Source(113, 25) + SourceIndex(0) -7 >Emitted(77, 26) Source(113, 26) + SourceIndex(0) -8 >Emitted(77, 27) Source(113, 27) + SourceIndex(0) +1 >Emitted(78, 5) Source(113, 5) + SourceIndex(0) +2 >Emitted(78, 12) Source(113, 12) + SourceIndex(0) +3 >Emitted(78, 13) Source(113, 13) + SourceIndex(0) +4 >Emitted(78, 16) Source(113, 16) + SourceIndex(0) +5 >Emitted(78, 17) Source(113, 17) + SourceIndex(0) +6 >Emitted(78, 25) Source(113, 25) + SourceIndex(0) +7 >Emitted(78, 26) Source(113, 26) + SourceIndex(0) +8 >Emitted(78, 27) Source(113, 27) + SourceIndex(0) --- >>>} 1 > @@ -3486,7 +3487,7 @@ sourceFile:sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2. 1 > > 2 >} -1 >Emitted(78, 1) Source(114, 1) + SourceIndex(0) -2 >Emitted(78, 2) Source(114, 2) + SourceIndex(0) +1 >Emitted(79, 1) Source(114, 1) + SourceIndex(0) +2 >Emitted(79, 2) Source(114, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForArrayBindingPatternDefaultValues2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.js b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.js index d8abb19a7a1f5..47abc4d47514d 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.js @@ -69,6 +69,7 @@ for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } = } //// [sourceMapValidationDestructuringForObjectBindingPattern.js] +"use strict"; var robot = { name: "mower", skill: "mowing" }; var multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; function getRobot() { diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.js.map index 83a98c8a3e1c9..cd36d5fa9d9b2 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForObjectBindingPattern.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForObjectBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForObjectBindingPattern.ts"],"names":[],"mappings":"AAgBA,IAAI,KAAK,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACtD,IAAI,UAAU,GAAe,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AACjG,SAAS,QAAQ;IACb,OAAO,KAAK,CAAC;AACjB,CAAC;AACD,SAAS,aAAa;IAClB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,KAAU,IAAM,KAAK,GAAK,KAAK,KAAV,EAAY,CAAC,GA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PSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lQSk7Cn0KZm9yIChsZXQge25hbWU6IG5hbWVBLCBza2lsbDogc2tpbGxBIH0gPSBnZXRSb2JvdCgpLCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9CmZvciAobGV0IHtuYW1lOiBuYW1lQSwgc2tpbGw6IHNraWxsQSB9ID0gPFJvYm90PnsgbmFtZTogInRyaW1tZXIiLCBza2lsbDogInRyaW1taW5nIiB9LCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9CmZvciAobGV0IHtuYW1lOiBuYW1lQSwgc2tpbGxzOiB7IHByaW1hcnk6IHByaW1hcnlBLCBzZWNvbmRhcnk6IHNlY29uZGFyeUEgfSB9ID0gbXVsdGlSb2JvdCwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQpmb3IgKGxldCB7bmFtZTogbmFtZUEsIHNraWxsczogeyBwcmltYXJ5OiBwcmltYXJ5QSwgc2Vjb25kYXJ5OiBzZWNvbmRhcnlBIH0gfSA9IGdldE11bHRpUm9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQpmb3IgKGxldCB7bmFtZTogbmFtZUEsIHNraWxsczogeyBwcmltYXJ5OiBwcmltYXJ5QSwgc2Vjb25kYXJ5OiBzZWNvbmRhcnlBIH0gfSA9CiAgICA8TXVsdGlSb2JvdD57IG5hbWU6ICJ0cmltbWVyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJ0cmltbWluZyIsIHNlY29uZGFyeTogImVkZ2luZyIgfSB9LAogICAgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQ== +{"version":3,"file":"sourceMapValidationDestructuringForObjectBindingP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pUm9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQpmb3IgKGxldCB7bmFtZTogbmFtZUEsIHNraWxsczogeyBwcmltYXJ5OiBwcmltYXJ5QSwgc2Vjb25kYXJ5OiBzZWNvbmRhcnlBIH0gfSA9CiAgICA8TXVsdGlSb2JvdD57IG5hbWU6ICJ0cmltbWVyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJ0cmltbWluZyIsIHNlY29uZGFyeTogImVkZ2luZyIgfSB9LAogICAgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQ== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.sourcemap.txt index 48469c7f2ecf5..5746cbecdfd63 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForObjectBindingPattern.ts emittedFile:sourceMapValidationDestructuringForObjectBindingPattern.js sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robot = { name: "mower", skill: "mowing" }; 1 > 2 >^^^^ @@ -54,20 +55,20 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 12> "mowing" 13> } 14> ; -1 >Emitted(1, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(1, 10) Source(17, 10) + SourceIndex(0) -4 >Emitted(1, 13) Source(17, 20) + SourceIndex(0) -5 >Emitted(1, 15) Source(17, 22) + SourceIndex(0) -6 >Emitted(1, 19) Source(17, 26) + SourceIndex(0) -7 >Emitted(1, 21) Source(17, 28) + SourceIndex(0) -8 >Emitted(1, 28) Source(17, 35) + SourceIndex(0) -9 >Emitted(1, 30) Source(17, 37) + SourceIndex(0) -10>Emitted(1, 35) Source(17, 42) + SourceIndex(0) -11>Emitted(1, 37) Source(17, 44) + SourceIndex(0) -12>Emitted(1, 45) Source(17, 52) + SourceIndex(0) -13>Emitted(1, 47) Source(17, 54) + SourceIndex(0) -14>Emitted(1, 48) Source(17, 55) + SourceIndex(0) +1 >Emitted(2, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(2, 10) Source(17, 10) + SourceIndex(0) +4 >Emitted(2, 13) Source(17, 20) + SourceIndex(0) +5 >Emitted(2, 15) Source(17, 22) + SourceIndex(0) +6 >Emitted(2, 19) Source(17, 26) + SourceIndex(0) +7 >Emitted(2, 21) Source(17, 28) + SourceIndex(0) +8 >Emitted(2, 28) Source(17, 35) + SourceIndex(0) +9 >Emitted(2, 30) Source(17, 37) + SourceIndex(0) +10>Emitted(2, 35) Source(17, 42) + SourceIndex(0) +11>Emitted(2, 37) Source(17, 44) + SourceIndex(0) +12>Emitted(2, 45) Source(17, 52) + SourceIndex(0) +13>Emitted(2, 47) Source(17, 54) + SourceIndex(0) +14>Emitted(2, 48) Source(17, 55) + SourceIndex(0) --- >>>var multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; 1-> @@ -115,28 +116,28 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 20> } 21> } 22> ; -1->Emitted(2, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(2, 15) Source(18, 15) + SourceIndex(0) -4 >Emitted(2, 18) Source(18, 30) + SourceIndex(0) -5 >Emitted(2, 20) Source(18, 32) + SourceIndex(0) -6 >Emitted(2, 24) Source(18, 36) + SourceIndex(0) -7 >Emitted(2, 26) Source(18, 38) + SourceIndex(0) -8 >Emitted(2, 33) Source(18, 45) + SourceIndex(0) -9 >Emitted(2, 35) Source(18, 47) + SourceIndex(0) -10>Emitted(2, 41) Source(18, 53) + SourceIndex(0) -11>Emitted(2, 43) Source(18, 55) + SourceIndex(0) -12>Emitted(2, 45) Source(18, 57) + SourceIndex(0) -13>Emitted(2, 52) Source(18, 64) + SourceIndex(0) -14>Emitted(2, 54) Source(18, 66) + SourceIndex(0) -15>Emitted(2, 62) Source(18, 74) + SourceIndex(0) -16>Emitted(2, 64) Source(18, 76) + SourceIndex(0) -17>Emitted(2, 73) Source(18, 85) + SourceIndex(0) -18>Emitted(2, 75) Source(18, 87) + SourceIndex(0) -19>Emitted(2, 81) Source(18, 93) + SourceIndex(0) -20>Emitted(2, 83) Source(18, 95) + SourceIndex(0) -21>Emitted(2, 85) Source(18, 97) + SourceIndex(0) -22>Emitted(2, 86) Source(18, 98) + SourceIndex(0) +1->Emitted(3, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(3, 15) Source(18, 15) + SourceIndex(0) +4 >Emitted(3, 18) Source(18, 30) + SourceIndex(0) +5 >Emitted(3, 20) Source(18, 32) + SourceIndex(0) +6 >Emitted(3, 24) Source(18, 36) + SourceIndex(0) +7 >Emitted(3, 26) Source(18, 38) + SourceIndex(0) +8 >Emitted(3, 33) Source(18, 45) + SourceIndex(0) +9 >Emitted(3, 35) Source(18, 47) + SourceIndex(0) +10>Emitted(3, 41) Source(18, 53) + SourceIndex(0) +11>Emitted(3, 43) Source(18, 55) + SourceIndex(0) +12>Emitted(3, 45) Source(18, 57) + SourceIndex(0) +13>Emitted(3, 52) Source(18, 64) + SourceIndex(0) +14>Emitted(3, 54) Source(18, 66) + SourceIndex(0) +15>Emitted(3, 62) Source(18, 74) + SourceIndex(0) +16>Emitted(3, 64) Source(18, 76) + SourceIndex(0) +17>Emitted(3, 73) Source(18, 85) + SourceIndex(0) +18>Emitted(3, 75) Source(18, 87) + SourceIndex(0) +19>Emitted(3, 81) Source(18, 93) + SourceIndex(0) +20>Emitted(3, 83) Source(18, 95) + SourceIndex(0) +21>Emitted(3, 85) Source(18, 97) + SourceIndex(0) +22>Emitted(3, 86) Source(18, 98) + SourceIndex(0) --- >>>function getRobot() { 1 > @@ -147,9 +148,9 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts > 2 >function 3 > getRobot -1 >Emitted(3, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(3, 10) Source(19, 10) + SourceIndex(0) -3 >Emitted(3, 18) Source(19, 18) + SourceIndex(0) +1 >Emitted(4, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(4, 10) Source(19, 10) + SourceIndex(0) +3 >Emitted(4, 18) Source(19, 18) + SourceIndex(0) --- >>> return robot; 1->^^^^ @@ -161,10 +162,10 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 2 > return 3 > robot 4 > ; -1->Emitted(4, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(20, 12) + SourceIndex(0) -3 >Emitted(4, 17) Source(20, 17) + SourceIndex(0) -4 >Emitted(4, 18) Source(20, 18) + SourceIndex(0) +1->Emitted(5, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(20, 12) + SourceIndex(0) +3 >Emitted(5, 17) Source(20, 17) + SourceIndex(0) +4 >Emitted(5, 18) Source(20, 18) + SourceIndex(0) --- >>>} 1 > @@ -173,8 +174,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(5, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(21, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(21, 2) + SourceIndex(0) --- >>>function getMultiRobot() { 1-> @@ -185,9 +186,9 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts > 2 >function 3 > getMultiRobot -1->Emitted(6, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(6, 10) Source(22, 10) + SourceIndex(0) -3 >Emitted(6, 23) Source(22, 23) + SourceIndex(0) +1->Emitted(7, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(7, 10) Source(22, 10) + SourceIndex(0) +3 >Emitted(7, 23) Source(22, 23) + SourceIndex(0) --- >>> return multiRobot; 1->^^^^ @@ -199,10 +200,10 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 2 > return 3 > multiRobot 4 > ; -1->Emitted(7, 5) Source(23, 5) + SourceIndex(0) -2 >Emitted(7, 12) Source(23, 12) + SourceIndex(0) -3 >Emitted(7, 22) Source(23, 22) + SourceIndex(0) -4 >Emitted(7, 23) Source(23, 23) + SourceIndex(0) +1->Emitted(8, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(8, 12) Source(23, 12) + SourceIndex(0) +3 >Emitted(8, 22) Source(23, 22) + SourceIndex(0) +4 >Emitted(8, 23) Source(23, 23) + SourceIndex(0) --- >>>} 1 > @@ -211,8 +212,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(8, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(8, 2) Source(24, 2) + SourceIndex(0) +1 >Emitted(9, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(9, 2) Source(24, 2) + SourceIndex(0) --- >>>for (var nameA = robot.name, i = 0; i < 1; i++) { 1-> @@ -257,26 +258,26 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 18> ++ 19> ) 20> { -1->Emitted(9, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(9, 6) Source(26, 11) + SourceIndex(0) -3 >Emitted(9, 10) Source(26, 17) + SourceIndex(0) -4 >Emitted(9, 15) Source(26, 22) + SourceIndex(0) -5 >Emitted(9, 18) Source(26, 27) + SourceIndex(0) -6 >Emitted(9, 23) Source(26, 32) + SourceIndex(0) -7 >Emitted(9, 28) Source(26, 22) + SourceIndex(0) -8 >Emitted(9, 30) Source(26, 34) + SourceIndex(0) -9 >Emitted(9, 31) Source(26, 35) + SourceIndex(0) -10>Emitted(9, 34) Source(26, 38) + SourceIndex(0) -11>Emitted(9, 35) Source(26, 39) + SourceIndex(0) -12>Emitted(9, 37) Source(26, 41) + SourceIndex(0) -13>Emitted(9, 38) Source(26, 42) + SourceIndex(0) -14>Emitted(9, 41) Source(26, 45) + SourceIndex(0) -15>Emitted(9, 42) Source(26, 46) + SourceIndex(0) -16>Emitted(9, 44) Source(26, 48) + SourceIndex(0) -17>Emitted(9, 45) Source(26, 49) + SourceIndex(0) -18>Emitted(9, 47) Source(26, 51) + SourceIndex(0) -19>Emitted(9, 49) Source(26, 53) + SourceIndex(0) -20>Emitted(9, 50) Source(26, 54) + SourceIndex(0) +1->Emitted(10, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(10, 6) Source(26, 11) + SourceIndex(0) +3 >Emitted(10, 10) Source(26, 17) + SourceIndex(0) +4 >Emitted(10, 15) Source(26, 22) + SourceIndex(0) +5 >Emitted(10, 18) Source(26, 27) + SourceIndex(0) +6 >Emitted(10, 23) Source(26, 32) + SourceIndex(0) +7 >Emitted(10, 28) Source(26, 22) + SourceIndex(0) +8 >Emitted(10, 30) Source(26, 34) + SourceIndex(0) +9 >Emitted(10, 31) Source(26, 35) + SourceIndex(0) +10>Emitted(10, 34) Source(26, 38) + SourceIndex(0) +11>Emitted(10, 35) Source(26, 39) + SourceIndex(0) +12>Emitted(10, 37) Source(26, 41) + SourceIndex(0) +13>Emitted(10, 38) Source(26, 42) + SourceIndex(0) +14>Emitted(10, 41) Source(26, 45) + SourceIndex(0) +15>Emitted(10, 42) Source(26, 46) + SourceIndex(0) +16>Emitted(10, 44) Source(26, 48) + SourceIndex(0) +17>Emitted(10, 45) Source(26, 49) + SourceIndex(0) +18>Emitted(10, 47) Source(26, 51) + SourceIndex(0) +19>Emitted(10, 49) Source(26, 53) + SourceIndex(0) +20>Emitted(10, 50) Source(26, 54) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -296,14 +297,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(10, 5) Source(27, 5) + SourceIndex(0) -2 >Emitted(10, 12) Source(27, 12) + SourceIndex(0) -3 >Emitted(10, 13) Source(27, 13) + SourceIndex(0) -4 >Emitted(10, 16) Source(27, 16) + SourceIndex(0) -5 >Emitted(10, 17) Source(27, 17) + SourceIndex(0) -6 >Emitted(10, 22) Source(27, 22) + SourceIndex(0) -7 >Emitted(10, 23) Source(27, 23) + SourceIndex(0) -8 >Emitted(10, 24) Source(27, 24) + SourceIndex(0) +1 >Emitted(11, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(11, 12) Source(27, 12) + SourceIndex(0) +3 >Emitted(11, 13) Source(27, 13) + SourceIndex(0) +4 >Emitted(11, 16) Source(27, 16) + SourceIndex(0) +5 >Emitted(11, 17) Source(27, 17) + SourceIndex(0) +6 >Emitted(11, 22) Source(27, 22) + SourceIndex(0) +7 >Emitted(11, 23) Source(27, 23) + SourceIndex(0) +8 >Emitted(11, 24) Source(27, 24) + SourceIndex(0) --- >>>} 1 > @@ -312,8 +313,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(11, 1) Source(28, 1) + SourceIndex(0) -2 >Emitted(11, 2) Source(28, 2) + SourceIndex(0) +1 >Emitted(12, 1) Source(28, 1) + SourceIndex(0) +2 >Emitted(12, 2) Source(28, 2) + SourceIndex(0) --- >>>for (var nameA = getRobot().name, i = 0; i < 1; i++) { 1-> @@ -359,27 +360,27 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 19> ++ 20> ) 21> { -1->Emitted(12, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(12, 6) Source(29, 11) + SourceIndex(0) -3 >Emitted(12, 10) Source(29, 17) + SourceIndex(0) -4 >Emitted(12, 15) Source(29, 22) + SourceIndex(0) -5 >Emitted(12, 18) Source(29, 27) + SourceIndex(0) -6 >Emitted(12, 26) Source(29, 35) + SourceIndex(0) -7 >Emitted(12, 28) Source(29, 37) + SourceIndex(0) -8 >Emitted(12, 33) Source(29, 22) + SourceIndex(0) -9 >Emitted(12, 35) Source(29, 39) + SourceIndex(0) -10>Emitted(12, 36) Source(29, 40) + SourceIndex(0) -11>Emitted(12, 39) Source(29, 43) + SourceIndex(0) -12>Emitted(12, 40) Source(29, 44) + SourceIndex(0) -13>Emitted(12, 42) Source(29, 46) + SourceIndex(0) -14>Emitted(12, 43) Source(29, 47) + SourceIndex(0) -15>Emitted(12, 46) Source(29, 50) + SourceIndex(0) -16>Emitted(12, 47) Source(29, 51) + SourceIndex(0) -17>Emitted(12, 49) Source(29, 53) + SourceIndex(0) -18>Emitted(12, 50) Source(29, 54) + SourceIndex(0) -19>Emitted(12, 52) Source(29, 56) + SourceIndex(0) -20>Emitted(12, 54) Source(29, 58) + SourceIndex(0) -21>Emitted(12, 55) Source(29, 59) + SourceIndex(0) +1->Emitted(13, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(13, 6) Source(29, 11) + SourceIndex(0) +3 >Emitted(13, 10) Source(29, 17) + SourceIndex(0) +4 >Emitted(13, 15) Source(29, 22) + SourceIndex(0) +5 >Emitted(13, 18) Source(29, 27) + SourceIndex(0) +6 >Emitted(13, 26) Source(29, 35) + SourceIndex(0) +7 >Emitted(13, 28) Source(29, 37) + SourceIndex(0) +8 >Emitted(13, 33) Source(29, 22) + SourceIndex(0) +9 >Emitted(13, 35) Source(29, 39) + SourceIndex(0) +10>Emitted(13, 36) Source(29, 40) + SourceIndex(0) +11>Emitted(13, 39) Source(29, 43) + SourceIndex(0) +12>Emitted(13, 40) Source(29, 44) + SourceIndex(0) +13>Emitted(13, 42) Source(29, 46) + SourceIndex(0) +14>Emitted(13, 43) Source(29, 47) + SourceIndex(0) +15>Emitted(13, 46) Source(29, 50) + SourceIndex(0) +16>Emitted(13, 47) Source(29, 51) + SourceIndex(0) +17>Emitted(13, 49) Source(29, 53) + SourceIndex(0) +18>Emitted(13, 50) Source(29, 54) + SourceIndex(0) +19>Emitted(13, 52) Source(29, 56) + SourceIndex(0) +20>Emitted(13, 54) Source(29, 58) + SourceIndex(0) +21>Emitted(13, 55) Source(29, 59) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -399,14 +400,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(13, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(13, 12) Source(30, 12) + SourceIndex(0) -3 >Emitted(13, 13) Source(30, 13) + SourceIndex(0) -4 >Emitted(13, 16) Source(30, 16) + SourceIndex(0) -5 >Emitted(13, 17) Source(30, 17) + SourceIndex(0) -6 >Emitted(13, 22) Source(30, 22) + SourceIndex(0) -7 >Emitted(13, 23) Source(30, 23) + SourceIndex(0) -8 >Emitted(13, 24) Source(30, 24) + SourceIndex(0) +1 >Emitted(14, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(14, 12) Source(30, 12) + SourceIndex(0) +3 >Emitted(14, 13) Source(30, 13) + SourceIndex(0) +4 >Emitted(14, 16) Source(30, 16) + SourceIndex(0) +5 >Emitted(14, 17) Source(30, 17) + SourceIndex(0) +6 >Emitted(14, 22) Source(30, 22) + SourceIndex(0) +7 >Emitted(14, 23) Source(30, 23) + SourceIndex(0) +8 >Emitted(14, 24) Source(30, 24) + SourceIndex(0) --- >>>} 1 > @@ -415,8 +416,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(14, 1) Source(31, 1) + SourceIndex(0) -2 >Emitted(14, 2) Source(31, 2) + SourceIndex(0) +1 >Emitted(15, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(15, 2) Source(31, 2) + SourceIndex(0) --- >>>for (var nameA = { name: "trimmer", skill: "trimming" }.name, i = 0; i < 1; i++) { 1-> @@ -476,34 +477,34 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 26> ++ 27> ) 28> { -1->Emitted(15, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(15, 6) Source(32, 11) + SourceIndex(0) -3 >Emitted(15, 10) Source(32, 17) + SourceIndex(0) -4 >Emitted(15, 15) Source(32, 22) + SourceIndex(0) -5 >Emitted(15, 18) Source(32, 34) + SourceIndex(0) -6 >Emitted(15, 20) Source(32, 36) + SourceIndex(0) -7 >Emitted(15, 24) Source(32, 40) + SourceIndex(0) -8 >Emitted(15, 26) Source(32, 42) + SourceIndex(0) -9 >Emitted(15, 35) Source(32, 51) + SourceIndex(0) -10>Emitted(15, 37) Source(32, 53) + SourceIndex(0) -11>Emitted(15, 42) Source(32, 58) + SourceIndex(0) -12>Emitted(15, 44) Source(32, 60) + SourceIndex(0) -13>Emitted(15, 54) Source(32, 70) + SourceIndex(0) -14>Emitted(15, 56) Source(32, 72) + SourceIndex(0) -15>Emitted(15, 61) Source(32, 22) + SourceIndex(0) -16>Emitted(15, 63) Source(32, 74) + SourceIndex(0) -17>Emitted(15, 64) Source(32, 75) + SourceIndex(0) -18>Emitted(15, 67) Source(32, 78) + SourceIndex(0) -19>Emitted(15, 68) Source(32, 79) + SourceIndex(0) -20>Emitted(15, 70) Source(32, 81) + SourceIndex(0) -21>Emitted(15, 71) Source(32, 82) + SourceIndex(0) -22>Emitted(15, 74) Source(32, 85) + SourceIndex(0) -23>Emitted(15, 75) Source(32, 86) + SourceIndex(0) -24>Emitted(15, 77) Source(32, 88) + SourceIndex(0) -25>Emitted(15, 78) Source(32, 89) + SourceIndex(0) -26>Emitted(15, 80) Source(32, 91) + SourceIndex(0) -27>Emitted(15, 82) Source(32, 93) + SourceIndex(0) -28>Emitted(15, 83) Source(32, 94) + SourceIndex(0) +1->Emitted(16, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(16, 6) Source(32, 11) + SourceIndex(0) +3 >Emitted(16, 10) Source(32, 17) + SourceIndex(0) +4 >Emitted(16, 15) Source(32, 22) + SourceIndex(0) +5 >Emitted(16, 18) Source(32, 34) + SourceIndex(0) +6 >Emitted(16, 20) Source(32, 36) + SourceIndex(0) +7 >Emitted(16, 24) Source(32, 40) + SourceIndex(0) +8 >Emitted(16, 26) Source(32, 42) + SourceIndex(0) +9 >Emitted(16, 35) Source(32, 51) + SourceIndex(0) +10>Emitted(16, 37) Source(32, 53) + SourceIndex(0) +11>Emitted(16, 42) Source(32, 58) + SourceIndex(0) +12>Emitted(16, 44) Source(32, 60) + SourceIndex(0) +13>Emitted(16, 54) Source(32, 70) + SourceIndex(0) +14>Emitted(16, 56) Source(32, 72) + SourceIndex(0) +15>Emitted(16, 61) Source(32, 22) + SourceIndex(0) +16>Emitted(16, 63) Source(32, 74) + SourceIndex(0) +17>Emitted(16, 64) Source(32, 75) + SourceIndex(0) +18>Emitted(16, 67) Source(32, 78) + SourceIndex(0) +19>Emitted(16, 68) Source(32, 79) + SourceIndex(0) +20>Emitted(16, 70) Source(32, 81) + SourceIndex(0) +21>Emitted(16, 71) Source(32, 82) + SourceIndex(0) +22>Emitted(16, 74) Source(32, 85) + SourceIndex(0) +23>Emitted(16, 75) Source(32, 86) + SourceIndex(0) +24>Emitted(16, 77) Source(32, 88) + SourceIndex(0) +25>Emitted(16, 78) Source(32, 89) + SourceIndex(0) +26>Emitted(16, 80) Source(32, 91) + SourceIndex(0) +27>Emitted(16, 82) Source(32, 93) + SourceIndex(0) +28>Emitted(16, 83) Source(32, 94) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -523,14 +524,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(16, 5) Source(33, 5) + SourceIndex(0) -2 >Emitted(16, 12) Source(33, 12) + SourceIndex(0) -3 >Emitted(16, 13) Source(33, 13) + SourceIndex(0) -4 >Emitted(16, 16) Source(33, 16) + SourceIndex(0) -5 >Emitted(16, 17) Source(33, 17) + SourceIndex(0) -6 >Emitted(16, 22) Source(33, 22) + SourceIndex(0) -7 >Emitted(16, 23) Source(33, 23) + SourceIndex(0) -8 >Emitted(16, 24) Source(33, 24) + SourceIndex(0) +1 >Emitted(17, 5) Source(33, 5) + SourceIndex(0) +2 >Emitted(17, 12) Source(33, 12) + SourceIndex(0) +3 >Emitted(17, 13) Source(33, 13) + SourceIndex(0) +4 >Emitted(17, 16) Source(33, 16) + SourceIndex(0) +5 >Emitted(17, 17) Source(33, 17) + SourceIndex(0) +6 >Emitted(17, 22) Source(33, 22) + SourceIndex(0) +7 >Emitted(17, 23) Source(33, 23) + SourceIndex(0) +8 >Emitted(17, 24) Source(33, 24) + SourceIndex(0) --- >>>} 1 > @@ -539,8 +540,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(17, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(17, 2) Source(34, 2) + SourceIndex(0) +1 >Emitted(18, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(18, 2) Source(34, 2) + SourceIndex(0) --- >>>for (var _a = multiRobot.skills, primaryA = _a.primary, secondaryA = _a.secondary, i = 0; i < 1; i++) { 1-> @@ -594,31 +595,31 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 23> ++ 24> ) 25> { -1->Emitted(18, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(18, 6) Source(35, 12) + SourceIndex(0) -3 >Emitted(18, 10) Source(35, 12) + SourceIndex(0) -4 >Emitted(18, 15) Source(35, 69) + SourceIndex(0) -5 >Emitted(18, 25) Source(35, 79) + SourceIndex(0) -6 >Emitted(18, 32) Source(35, 64) + SourceIndex(0) -7 >Emitted(18, 34) Source(35, 31) + SourceIndex(0) -8 >Emitted(18, 42) Source(35, 39) + SourceIndex(0) -9 >Emitted(18, 55) Source(35, 39) + SourceIndex(0) -10>Emitted(18, 57) Source(35, 52) + SourceIndex(0) -11>Emitted(18, 67) Source(35, 62) + SourceIndex(0) -12>Emitted(18, 82) Source(35, 62) + SourceIndex(0) -13>Emitted(18, 84) Source(35, 81) + SourceIndex(0) -14>Emitted(18, 85) Source(35, 82) + SourceIndex(0) -15>Emitted(18, 88) Source(35, 85) + SourceIndex(0) -16>Emitted(18, 89) Source(35, 86) + SourceIndex(0) -17>Emitted(18, 91) Source(35, 88) + SourceIndex(0) -18>Emitted(18, 92) Source(35, 89) + SourceIndex(0) -19>Emitted(18, 95) Source(35, 92) + SourceIndex(0) -20>Emitted(18, 96) Source(35, 93) + SourceIndex(0) -21>Emitted(18, 98) Source(35, 95) + SourceIndex(0) -22>Emitted(18, 99) Source(35, 96) + SourceIndex(0) -23>Emitted(18, 101) Source(35, 98) + SourceIndex(0) -24>Emitted(18, 103) Source(35, 100) + SourceIndex(0) -25>Emitted(18, 104) Source(35, 101) + SourceIndex(0) +1->Emitted(19, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(19, 6) Source(35, 12) + SourceIndex(0) +3 >Emitted(19, 10) Source(35, 12) + SourceIndex(0) +4 >Emitted(19, 15) Source(35, 69) + SourceIndex(0) +5 >Emitted(19, 25) Source(35, 79) + SourceIndex(0) +6 >Emitted(19, 32) Source(35, 64) + SourceIndex(0) +7 >Emitted(19, 34) Source(35, 31) + SourceIndex(0) +8 >Emitted(19, 42) Source(35, 39) + SourceIndex(0) +9 >Emitted(19, 55) Source(35, 39) + SourceIndex(0) +10>Emitted(19, 57) Source(35, 52) + SourceIndex(0) +11>Emitted(19, 67) Source(35, 62) + SourceIndex(0) +12>Emitted(19, 82) Source(35, 62) + SourceIndex(0) +13>Emitted(19, 84) Source(35, 81) + SourceIndex(0) +14>Emitted(19, 85) Source(35, 82) + SourceIndex(0) +15>Emitted(19, 88) Source(35, 85) + SourceIndex(0) +16>Emitted(19, 89) Source(35, 86) + SourceIndex(0) +17>Emitted(19, 91) Source(35, 88) + SourceIndex(0) +18>Emitted(19, 92) Source(35, 89) + SourceIndex(0) +19>Emitted(19, 95) Source(35, 92) + SourceIndex(0) +20>Emitted(19, 96) Source(35, 93) + SourceIndex(0) +21>Emitted(19, 98) Source(35, 95) + SourceIndex(0) +22>Emitted(19, 99) Source(35, 96) + SourceIndex(0) +23>Emitted(19, 101) Source(35, 98) + SourceIndex(0) +24>Emitted(19, 103) Source(35, 100) + SourceIndex(0) +25>Emitted(19, 104) Source(35, 101) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -638,14 +639,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(19, 5) Source(36, 5) + SourceIndex(0) -2 >Emitted(19, 12) Source(36, 12) + SourceIndex(0) -3 >Emitted(19, 13) Source(36, 13) + SourceIndex(0) -4 >Emitted(19, 16) Source(36, 16) + SourceIndex(0) -5 >Emitted(19, 17) Source(36, 17) + SourceIndex(0) -6 >Emitted(19, 25) Source(36, 25) + SourceIndex(0) -7 >Emitted(19, 26) Source(36, 26) + SourceIndex(0) -8 >Emitted(19, 27) Source(36, 27) + SourceIndex(0) +1 >Emitted(20, 5) Source(36, 5) + SourceIndex(0) +2 >Emitted(20, 12) Source(36, 12) + SourceIndex(0) +3 >Emitted(20, 13) Source(36, 13) + SourceIndex(0) +4 >Emitted(20, 16) Source(36, 16) + SourceIndex(0) +5 >Emitted(20, 17) Source(36, 17) + SourceIndex(0) +6 >Emitted(20, 25) Source(36, 25) + SourceIndex(0) +7 >Emitted(20, 26) Source(36, 26) + SourceIndex(0) +8 >Emitted(20, 27) Source(36, 27) + SourceIndex(0) --- >>>} 1 > @@ -654,8 +655,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(20, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(20, 2) Source(37, 2) + SourceIndex(0) +1 >Emitted(21, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(21, 2) Source(37, 2) + SourceIndex(0) --- >>>for (var _b = getMultiRobot().skills, primaryA = _b.primary, secondaryA = _b.secondary, i = 0; i < 1; i++) { 1-> @@ -711,32 +712,32 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 24> ++ 25> ) 26> { -1->Emitted(21, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(21, 6) Source(38, 12) + SourceIndex(0) -3 >Emitted(21, 10) Source(38, 12) + SourceIndex(0) -4 >Emitted(21, 15) Source(38, 69) + SourceIndex(0) -5 >Emitted(21, 28) Source(38, 82) + SourceIndex(0) -6 >Emitted(21, 30) Source(38, 84) + SourceIndex(0) -7 >Emitted(21, 37) Source(38, 64) + SourceIndex(0) -8 >Emitted(21, 39) Source(38, 31) + SourceIndex(0) -9 >Emitted(21, 47) Source(38, 39) + SourceIndex(0) -10>Emitted(21, 60) Source(38, 39) + SourceIndex(0) -11>Emitted(21, 62) Source(38, 52) + SourceIndex(0) -12>Emitted(21, 72) Source(38, 62) + SourceIndex(0) -13>Emitted(21, 87) Source(38, 62) + SourceIndex(0) -14>Emitted(21, 89) Source(38, 86) + SourceIndex(0) -15>Emitted(21, 90) Source(38, 87) + SourceIndex(0) -16>Emitted(21, 93) Source(38, 90) + SourceIndex(0) -17>Emitted(21, 94) Source(38, 91) + SourceIndex(0) -18>Emitted(21, 96) Source(38, 93) + SourceIndex(0) -19>Emitted(21, 97) Source(38, 94) + SourceIndex(0) -20>Emitted(21, 100) Source(38, 97) + SourceIndex(0) -21>Emitted(21, 101) Source(38, 98) + SourceIndex(0) -22>Emitted(21, 103) Source(38, 100) + SourceIndex(0) -23>Emitted(21, 104) Source(38, 101) + SourceIndex(0) -24>Emitted(21, 106) Source(38, 103) + SourceIndex(0) -25>Emitted(21, 108) Source(38, 105) + SourceIndex(0) -26>Emitted(21, 109) Source(38, 106) + SourceIndex(0) +1->Emitted(22, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(22, 6) Source(38, 12) + SourceIndex(0) +3 >Emitted(22, 10) Source(38, 12) + SourceIndex(0) +4 >Emitted(22, 15) Source(38, 69) + SourceIndex(0) +5 >Emitted(22, 28) Source(38, 82) + SourceIndex(0) +6 >Emitted(22, 30) Source(38, 84) + SourceIndex(0) +7 >Emitted(22, 37) Source(38, 64) + SourceIndex(0) +8 >Emitted(22, 39) Source(38, 31) + SourceIndex(0) +9 >Emitted(22, 47) Source(38, 39) + SourceIndex(0) +10>Emitted(22, 60) Source(38, 39) + SourceIndex(0) +11>Emitted(22, 62) Source(38, 52) + SourceIndex(0) +12>Emitted(22, 72) Source(38, 62) + SourceIndex(0) +13>Emitted(22, 87) Source(38, 62) + SourceIndex(0) +14>Emitted(22, 89) Source(38, 86) + SourceIndex(0) +15>Emitted(22, 90) Source(38, 87) + SourceIndex(0) +16>Emitted(22, 93) Source(38, 90) + SourceIndex(0) +17>Emitted(22, 94) Source(38, 91) + SourceIndex(0) +18>Emitted(22, 96) Source(38, 93) + SourceIndex(0) +19>Emitted(22, 97) Source(38, 94) + SourceIndex(0) +20>Emitted(22, 100) Source(38, 97) + SourceIndex(0) +21>Emitted(22, 101) Source(38, 98) + SourceIndex(0) +22>Emitted(22, 103) Source(38, 100) + SourceIndex(0) +23>Emitted(22, 104) Source(38, 101) + SourceIndex(0) +24>Emitted(22, 106) Source(38, 103) + SourceIndex(0) +25>Emitted(22, 108) Source(38, 105) + SourceIndex(0) +26>Emitted(22, 109) Source(38, 106) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -756,14 +757,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(22, 5) Source(39, 5) + SourceIndex(0) -2 >Emitted(22, 12) Source(39, 12) + SourceIndex(0) -3 >Emitted(22, 13) Source(39, 13) + SourceIndex(0) -4 >Emitted(22, 16) Source(39, 16) + SourceIndex(0) -5 >Emitted(22, 17) Source(39, 17) + SourceIndex(0) -6 >Emitted(22, 25) Source(39, 25) + SourceIndex(0) -7 >Emitted(22, 26) Source(39, 26) + SourceIndex(0) -8 >Emitted(22, 27) Source(39, 27) + SourceIndex(0) +1 >Emitted(23, 5) Source(39, 5) + SourceIndex(0) +2 >Emitted(23, 12) Source(39, 12) + SourceIndex(0) +3 >Emitted(23, 13) Source(39, 13) + SourceIndex(0) +4 >Emitted(23, 16) Source(39, 16) + SourceIndex(0) +5 >Emitted(23, 17) Source(39, 17) + SourceIndex(0) +6 >Emitted(23, 25) Source(39, 25) + SourceIndex(0) +7 >Emitted(23, 26) Source(39, 26) + SourceIndex(0) +8 >Emitted(23, 27) Source(39, 27) + SourceIndex(0) --- >>>} 1 > @@ -772,8 +773,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(23, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(23, 2) Source(40, 2) + SourceIndex(0) +1 >Emitted(24, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(24, 2) Source(40, 2) + SourceIndex(0) --- >>>for (var _c = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }.skills, primaryA = _c.primary, secondaryA = _c.secondary, i = 0; i < 1; i++) { 1-> @@ -862,47 +863,47 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 39> ++ 40> ) 41> { -1->Emitted(24, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(24, 6) Source(41, 12) + SourceIndex(0) -3 >Emitted(24, 10) Source(41, 12) + SourceIndex(0) -4 >Emitted(24, 15) Source(42, 17) + SourceIndex(0) -5 >Emitted(24, 17) Source(42, 19) + SourceIndex(0) -6 >Emitted(24, 21) Source(42, 23) + SourceIndex(0) -7 >Emitted(24, 23) Source(42, 25) + SourceIndex(0) -8 >Emitted(24, 32) Source(42, 34) + SourceIndex(0) -9 >Emitted(24, 34) Source(42, 36) + SourceIndex(0) -10>Emitted(24, 40) Source(42, 42) + SourceIndex(0) -11>Emitted(24, 42) Source(42, 44) + SourceIndex(0) -12>Emitted(24, 44) Source(42, 46) + SourceIndex(0) -13>Emitted(24, 51) Source(42, 53) + SourceIndex(0) -14>Emitted(24, 53) Source(42, 55) + SourceIndex(0) -15>Emitted(24, 63) Source(42, 65) + SourceIndex(0) -16>Emitted(24, 65) Source(42, 67) + SourceIndex(0) -17>Emitted(24, 74) Source(42, 76) + SourceIndex(0) -18>Emitted(24, 76) Source(42, 78) + SourceIndex(0) -19>Emitted(24, 84) Source(42, 86) + SourceIndex(0) -20>Emitted(24, 86) Source(42, 88) + SourceIndex(0) -21>Emitted(24, 88) Source(42, 90) + SourceIndex(0) -22>Emitted(24, 95) Source(41, 64) + SourceIndex(0) -23>Emitted(24, 97) Source(41, 31) + SourceIndex(0) -24>Emitted(24, 105) Source(41, 39) + SourceIndex(0) -25>Emitted(24, 118) Source(41, 39) + SourceIndex(0) -26>Emitted(24, 120) Source(41, 52) + SourceIndex(0) -27>Emitted(24, 130) Source(41, 62) + SourceIndex(0) -28>Emitted(24, 145) Source(41, 62) + SourceIndex(0) -29>Emitted(24, 147) Source(43, 5) + SourceIndex(0) -30>Emitted(24, 148) Source(43, 6) + SourceIndex(0) -31>Emitted(24, 151) Source(43, 9) + SourceIndex(0) -32>Emitted(24, 152) Source(43, 10) + SourceIndex(0) -33>Emitted(24, 154) Source(43, 12) + SourceIndex(0) -34>Emitted(24, 155) Source(43, 13) + SourceIndex(0) -35>Emitted(24, 158) Source(43, 16) + SourceIndex(0) -36>Emitted(24, 159) Source(43, 17) + SourceIndex(0) -37>Emitted(24, 161) Source(43, 19) + SourceIndex(0) -38>Emitted(24, 162) Source(43, 20) + SourceIndex(0) -39>Emitted(24, 164) Source(43, 22) + SourceIndex(0) -40>Emitted(24, 166) Source(43, 24) + SourceIndex(0) -41>Emitted(24, 167) Source(43, 25) + SourceIndex(0) +1->Emitted(25, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(25, 6) Source(41, 12) + SourceIndex(0) +3 >Emitted(25, 10) Source(41, 12) + SourceIndex(0) +4 >Emitted(25, 15) Source(42, 17) + SourceIndex(0) +5 >Emitted(25, 17) Source(42, 19) + SourceIndex(0) +6 >Emitted(25, 21) Source(42, 23) + SourceIndex(0) +7 >Emitted(25, 23) Source(42, 25) + SourceIndex(0) +8 >Emitted(25, 32) Source(42, 34) + SourceIndex(0) +9 >Emitted(25, 34) Source(42, 36) + SourceIndex(0) +10>Emitted(25, 40) Source(42, 42) + SourceIndex(0) +11>Emitted(25, 42) Source(42, 44) + SourceIndex(0) +12>Emitted(25, 44) Source(42, 46) + SourceIndex(0) +13>Emitted(25, 51) Source(42, 53) + SourceIndex(0) +14>Emitted(25, 53) Source(42, 55) + SourceIndex(0) +15>Emitted(25, 63) Source(42, 65) + SourceIndex(0) +16>Emitted(25, 65) Source(42, 67) + SourceIndex(0) +17>Emitted(25, 74) Source(42, 76) + SourceIndex(0) +18>Emitted(25, 76) Source(42, 78) + SourceIndex(0) +19>Emitted(25, 84) Source(42, 86) + SourceIndex(0) +20>Emitted(25, 86) Source(42, 88) + SourceIndex(0) +21>Emitted(25, 88) Source(42, 90) + SourceIndex(0) +22>Emitted(25, 95) Source(41, 64) + SourceIndex(0) +23>Emitted(25, 97) Source(41, 31) + SourceIndex(0) +24>Emitted(25, 105) Source(41, 39) + SourceIndex(0) +25>Emitted(25, 118) Source(41, 39) + SourceIndex(0) +26>Emitted(25, 120) Source(41, 52) + SourceIndex(0) +27>Emitted(25, 130) Source(41, 62) + SourceIndex(0) +28>Emitted(25, 145) Source(41, 62) + SourceIndex(0) +29>Emitted(25, 147) Source(43, 5) + SourceIndex(0) +30>Emitted(25, 148) Source(43, 6) + SourceIndex(0) +31>Emitted(25, 151) Source(43, 9) + SourceIndex(0) +32>Emitted(25, 152) Source(43, 10) + SourceIndex(0) +33>Emitted(25, 154) Source(43, 12) + SourceIndex(0) +34>Emitted(25, 155) Source(43, 13) + SourceIndex(0) +35>Emitted(25, 158) Source(43, 16) + SourceIndex(0) +36>Emitted(25, 159) Source(43, 17) + SourceIndex(0) +37>Emitted(25, 161) Source(43, 19) + SourceIndex(0) +38>Emitted(25, 162) Source(43, 20) + SourceIndex(0) +39>Emitted(25, 164) Source(43, 22) + SourceIndex(0) +40>Emitted(25, 166) Source(43, 24) + SourceIndex(0) +41>Emitted(25, 167) Source(43, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -922,14 +923,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(25, 5) Source(44, 5) + SourceIndex(0) -2 >Emitted(25, 12) Source(44, 12) + SourceIndex(0) -3 >Emitted(25, 13) Source(44, 13) + SourceIndex(0) -4 >Emitted(25, 16) Source(44, 16) + SourceIndex(0) -5 >Emitted(25, 17) Source(44, 17) + SourceIndex(0) -6 >Emitted(25, 25) Source(44, 25) + SourceIndex(0) -7 >Emitted(25, 26) Source(44, 26) + SourceIndex(0) -8 >Emitted(25, 27) Source(44, 27) + SourceIndex(0) +1 >Emitted(26, 5) Source(44, 5) + SourceIndex(0) +2 >Emitted(26, 12) Source(44, 12) + SourceIndex(0) +3 >Emitted(26, 13) Source(44, 13) + SourceIndex(0) +4 >Emitted(26, 16) Source(44, 16) + SourceIndex(0) +5 >Emitted(26, 17) Source(44, 17) + SourceIndex(0) +6 >Emitted(26, 25) Source(44, 25) + SourceIndex(0) +7 >Emitted(26, 26) Source(44, 26) + SourceIndex(0) +8 >Emitted(26, 27) Source(44, 27) + SourceIndex(0) --- >>>} 1 > @@ -938,8 +939,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(26, 1) Source(45, 1) + SourceIndex(0) -2 >Emitted(26, 2) Source(45, 2) + SourceIndex(0) +1 >Emitted(27, 1) Source(45, 1) + SourceIndex(0) +2 >Emitted(27, 2) Source(45, 2) + SourceIndex(0) --- >>>for (var nameA = robot.name, skillA = robot.skill, i = 0; i < 1; i++) { 1-> @@ -994,31 +995,31 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 23> ++ 24> ) 25> { -1->Emitted(27, 1) Source(47, 1) + SourceIndex(0) -2 >Emitted(27, 6) Source(47, 11) + SourceIndex(0) -3 >Emitted(27, 10) Source(47, 17) + SourceIndex(0) -4 >Emitted(27, 15) Source(47, 22) + SourceIndex(0) -5 >Emitted(27, 18) Source(47, 42) + SourceIndex(0) -6 >Emitted(27, 23) Source(47, 47) + SourceIndex(0) -7 >Emitted(27, 28) Source(47, 22) + SourceIndex(0) -8 >Emitted(27, 30) Source(47, 31) + SourceIndex(0) -9 >Emitted(27, 36) Source(47, 37) + SourceIndex(0) -10>Emitted(27, 39) Source(47, 42) + SourceIndex(0) -11>Emitted(27, 44) Source(47, 47) + SourceIndex(0) -12>Emitted(27, 50) Source(47, 37) + SourceIndex(0) -13>Emitted(27, 52) Source(47, 49) + SourceIndex(0) -14>Emitted(27, 53) Source(47, 50) + SourceIndex(0) -15>Emitted(27, 56) Source(47, 53) + SourceIndex(0) -16>Emitted(27, 57) Source(47, 54) + SourceIndex(0) -17>Emitted(27, 59) Source(47, 56) + SourceIndex(0) -18>Emitted(27, 60) Source(47, 57) + SourceIndex(0) -19>Emitted(27, 63) Source(47, 60) + SourceIndex(0) -20>Emitted(27, 64) Source(47, 61) + SourceIndex(0) -21>Emitted(27, 66) Source(47, 63) + SourceIndex(0) -22>Emitted(27, 67) Source(47, 64) + SourceIndex(0) -23>Emitted(27, 69) Source(47, 66) + SourceIndex(0) -24>Emitted(27, 71) Source(47, 68) + SourceIndex(0) -25>Emitted(27, 72) Source(47, 69) + SourceIndex(0) +1->Emitted(28, 1) Source(47, 1) + SourceIndex(0) +2 >Emitted(28, 6) Source(47, 11) + SourceIndex(0) +3 >Emitted(28, 10) Source(47, 17) + SourceIndex(0) +4 >Emitted(28, 15) Source(47, 22) + SourceIndex(0) +5 >Emitted(28, 18) Source(47, 42) + SourceIndex(0) +6 >Emitted(28, 23) Source(47, 47) + SourceIndex(0) +7 >Emitted(28, 28) Source(47, 22) + SourceIndex(0) +8 >Emitted(28, 30) Source(47, 31) + SourceIndex(0) +9 >Emitted(28, 36) Source(47, 37) + SourceIndex(0) +10>Emitted(28, 39) Source(47, 42) + SourceIndex(0) +11>Emitted(28, 44) Source(47, 47) + SourceIndex(0) +12>Emitted(28, 50) Source(47, 37) + SourceIndex(0) +13>Emitted(28, 52) Source(47, 49) + SourceIndex(0) +14>Emitted(28, 53) Source(47, 50) + SourceIndex(0) +15>Emitted(28, 56) Source(47, 53) + SourceIndex(0) +16>Emitted(28, 57) Source(47, 54) + SourceIndex(0) +17>Emitted(28, 59) Source(47, 56) + SourceIndex(0) +18>Emitted(28, 60) Source(47, 57) + SourceIndex(0) +19>Emitted(28, 63) Source(47, 60) + SourceIndex(0) +20>Emitted(28, 64) Source(47, 61) + SourceIndex(0) +21>Emitted(28, 66) Source(47, 63) + SourceIndex(0) +22>Emitted(28, 67) Source(47, 64) + SourceIndex(0) +23>Emitted(28, 69) Source(47, 66) + SourceIndex(0) +24>Emitted(28, 71) Source(47, 68) + SourceIndex(0) +25>Emitted(28, 72) Source(47, 69) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1038,14 +1039,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(28, 5) Source(48, 5) + SourceIndex(0) -2 >Emitted(28, 12) Source(48, 12) + SourceIndex(0) -3 >Emitted(28, 13) Source(48, 13) + SourceIndex(0) -4 >Emitted(28, 16) Source(48, 16) + SourceIndex(0) -5 >Emitted(28, 17) Source(48, 17) + SourceIndex(0) -6 >Emitted(28, 22) Source(48, 22) + SourceIndex(0) -7 >Emitted(28, 23) Source(48, 23) + SourceIndex(0) -8 >Emitted(28, 24) Source(48, 24) + SourceIndex(0) +1 >Emitted(29, 5) Source(48, 5) + SourceIndex(0) +2 >Emitted(29, 12) Source(48, 12) + SourceIndex(0) +3 >Emitted(29, 13) Source(48, 13) + SourceIndex(0) +4 >Emitted(29, 16) Source(48, 16) + SourceIndex(0) +5 >Emitted(29, 17) Source(48, 17) + SourceIndex(0) +6 >Emitted(29, 22) Source(48, 22) + SourceIndex(0) +7 >Emitted(29, 23) Source(48, 23) + SourceIndex(0) +8 >Emitted(29, 24) Source(48, 24) + SourceIndex(0) --- >>>} 1 > @@ -1054,8 +1055,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(29, 1) Source(49, 1) + SourceIndex(0) -2 >Emitted(29, 2) Source(49, 2) + SourceIndex(0) +1 >Emitted(30, 1) Source(49, 1) + SourceIndex(0) +2 >Emitted(30, 2) Source(49, 2) + SourceIndex(0) --- >>>for (var _d = getRobot(), nameA = _d.name, skillA = _d.skill, i = 0; i < 1; i++) { 1-> @@ -1109,31 +1110,31 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 23> ++ 24> ) 25> { -1->Emitted(30, 1) Source(50, 1) + SourceIndex(0) -2 >Emitted(30, 6) Source(50, 10) + SourceIndex(0) -3 >Emitted(30, 10) Source(50, 10) + SourceIndex(0) -4 >Emitted(30, 15) Source(50, 42) + SourceIndex(0) -5 >Emitted(30, 23) Source(50, 50) + SourceIndex(0) -6 >Emitted(30, 25) Source(50, 52) + SourceIndex(0) -7 >Emitted(30, 27) Source(50, 17) + SourceIndex(0) -8 >Emitted(30, 32) Source(50, 22) + SourceIndex(0) -9 >Emitted(30, 42) Source(50, 22) + SourceIndex(0) -10>Emitted(30, 44) Source(50, 31) + SourceIndex(0) -11>Emitted(30, 50) Source(50, 37) + SourceIndex(0) -12>Emitted(30, 61) Source(50, 37) + SourceIndex(0) -13>Emitted(30, 63) Source(50, 54) + SourceIndex(0) -14>Emitted(30, 64) Source(50, 55) + SourceIndex(0) -15>Emitted(30, 67) Source(50, 58) + SourceIndex(0) -16>Emitted(30, 68) Source(50, 59) + SourceIndex(0) -17>Emitted(30, 70) Source(50, 61) + SourceIndex(0) -18>Emitted(30, 71) Source(50, 62) + SourceIndex(0) -19>Emitted(30, 74) Source(50, 65) + SourceIndex(0) -20>Emitted(30, 75) Source(50, 66) + SourceIndex(0) -21>Emitted(30, 77) Source(50, 68) + SourceIndex(0) -22>Emitted(30, 78) Source(50, 69) + SourceIndex(0) -23>Emitted(30, 80) Source(50, 71) + SourceIndex(0) -24>Emitted(30, 82) Source(50, 73) + SourceIndex(0) -25>Emitted(30, 83) Source(50, 74) + SourceIndex(0) +1->Emitted(31, 1) Source(50, 1) + SourceIndex(0) +2 >Emitted(31, 6) Source(50, 10) + SourceIndex(0) +3 >Emitted(31, 10) Source(50, 10) + SourceIndex(0) +4 >Emitted(31, 15) Source(50, 42) + SourceIndex(0) +5 >Emitted(31, 23) Source(50, 50) + SourceIndex(0) +6 >Emitted(31, 25) Source(50, 52) + SourceIndex(0) +7 >Emitted(31, 27) Source(50, 17) + SourceIndex(0) +8 >Emitted(31, 32) Source(50, 22) + SourceIndex(0) +9 >Emitted(31, 42) Source(50, 22) + SourceIndex(0) +10>Emitted(31, 44) Source(50, 31) + SourceIndex(0) +11>Emitted(31, 50) Source(50, 37) + SourceIndex(0) +12>Emitted(31, 61) Source(50, 37) + SourceIndex(0) +13>Emitted(31, 63) Source(50, 54) + SourceIndex(0) +14>Emitted(31, 64) Source(50, 55) + SourceIndex(0) +15>Emitted(31, 67) Source(50, 58) + SourceIndex(0) +16>Emitted(31, 68) Source(50, 59) + SourceIndex(0) +17>Emitted(31, 70) Source(50, 61) + SourceIndex(0) +18>Emitted(31, 71) Source(50, 62) + SourceIndex(0) +19>Emitted(31, 74) Source(50, 65) + SourceIndex(0) +20>Emitted(31, 75) Source(50, 66) + SourceIndex(0) +21>Emitted(31, 77) Source(50, 68) + SourceIndex(0) +22>Emitted(31, 78) Source(50, 69) + SourceIndex(0) +23>Emitted(31, 80) Source(50, 71) + SourceIndex(0) +24>Emitted(31, 82) Source(50, 73) + SourceIndex(0) +25>Emitted(31, 83) Source(50, 74) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1153,14 +1154,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(31, 5) Source(51, 5) + SourceIndex(0) -2 >Emitted(31, 12) Source(51, 12) + SourceIndex(0) -3 >Emitted(31, 13) Source(51, 13) + SourceIndex(0) -4 >Emitted(31, 16) Source(51, 16) + SourceIndex(0) -5 >Emitted(31, 17) Source(51, 17) + SourceIndex(0) -6 >Emitted(31, 22) Source(51, 22) + SourceIndex(0) -7 >Emitted(31, 23) Source(51, 23) + SourceIndex(0) -8 >Emitted(31, 24) Source(51, 24) + SourceIndex(0) +1 >Emitted(32, 5) Source(51, 5) + SourceIndex(0) +2 >Emitted(32, 12) Source(51, 12) + SourceIndex(0) +3 >Emitted(32, 13) Source(51, 13) + SourceIndex(0) +4 >Emitted(32, 16) Source(51, 16) + SourceIndex(0) +5 >Emitted(32, 17) Source(51, 17) + SourceIndex(0) +6 >Emitted(32, 22) Source(51, 22) + SourceIndex(0) +7 >Emitted(32, 23) Source(51, 23) + SourceIndex(0) +8 >Emitted(32, 24) Source(51, 24) + SourceIndex(0) --- >>>} 1 > @@ -1169,8 +1170,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(32, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(32, 2) Source(52, 2) + SourceIndex(0) +1 >Emitted(33, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(33, 2) Source(52, 2) + SourceIndex(0) --- >>>for (var _e = { name: "trimmer", skill: "trimming" }, nameA = _e.name, skillA = _e.skill, i = 0; i < 1; i++) { 1-> @@ -1238,38 +1239,38 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 30> ++ 31> ) 32> { -1->Emitted(33, 1) Source(53, 1) + SourceIndex(0) -2 >Emitted(33, 6) Source(53, 10) + SourceIndex(0) -3 >Emitted(33, 10) Source(53, 10) + SourceIndex(0) -4 >Emitted(33, 15) Source(53, 49) + SourceIndex(0) -5 >Emitted(33, 17) Source(53, 51) + SourceIndex(0) -6 >Emitted(33, 21) Source(53, 55) + SourceIndex(0) -7 >Emitted(33, 23) Source(53, 57) + SourceIndex(0) -8 >Emitted(33, 32) Source(53, 66) + SourceIndex(0) -9 >Emitted(33, 34) Source(53, 68) + SourceIndex(0) -10>Emitted(33, 39) Source(53, 73) + SourceIndex(0) -11>Emitted(33, 41) Source(53, 75) + SourceIndex(0) -12>Emitted(33, 51) Source(53, 85) + SourceIndex(0) -13>Emitted(33, 53) Source(53, 87) + SourceIndex(0) -14>Emitted(33, 55) Source(53, 17) + SourceIndex(0) -15>Emitted(33, 60) Source(53, 22) + SourceIndex(0) -16>Emitted(33, 70) Source(53, 22) + SourceIndex(0) -17>Emitted(33, 72) Source(53, 31) + SourceIndex(0) -18>Emitted(33, 78) Source(53, 37) + SourceIndex(0) -19>Emitted(33, 89) Source(53, 37) + SourceIndex(0) -20>Emitted(33, 91) Source(53, 89) + SourceIndex(0) -21>Emitted(33, 92) Source(53, 90) + SourceIndex(0) -22>Emitted(33, 95) Source(53, 93) + SourceIndex(0) -23>Emitted(33, 96) Source(53, 94) + SourceIndex(0) -24>Emitted(33, 98) Source(53, 96) + SourceIndex(0) -25>Emitted(33, 99) Source(53, 97) + SourceIndex(0) -26>Emitted(33, 102) Source(53, 100) + SourceIndex(0) -27>Emitted(33, 103) Source(53, 101) + SourceIndex(0) -28>Emitted(33, 105) Source(53, 103) + SourceIndex(0) -29>Emitted(33, 106) Source(53, 104) + SourceIndex(0) -30>Emitted(33, 108) Source(53, 106) + SourceIndex(0) -31>Emitted(33, 110) Source(53, 108) + SourceIndex(0) -32>Emitted(33, 111) Source(53, 109) + SourceIndex(0) +1->Emitted(34, 1) Source(53, 1) + SourceIndex(0) +2 >Emitted(34, 6) Source(53, 10) + SourceIndex(0) +3 >Emitted(34, 10) Source(53, 10) + SourceIndex(0) +4 >Emitted(34, 15) Source(53, 49) + SourceIndex(0) +5 >Emitted(34, 17) Source(53, 51) + SourceIndex(0) +6 >Emitted(34, 21) Source(53, 55) + SourceIndex(0) +7 >Emitted(34, 23) Source(53, 57) + SourceIndex(0) +8 >Emitted(34, 32) Source(53, 66) + SourceIndex(0) +9 >Emitted(34, 34) Source(53, 68) + SourceIndex(0) +10>Emitted(34, 39) Source(53, 73) + SourceIndex(0) +11>Emitted(34, 41) Source(53, 75) + SourceIndex(0) +12>Emitted(34, 51) Source(53, 85) + SourceIndex(0) +13>Emitted(34, 53) Source(53, 87) + SourceIndex(0) +14>Emitted(34, 55) Source(53, 17) + SourceIndex(0) +15>Emitted(34, 60) Source(53, 22) + SourceIndex(0) +16>Emitted(34, 70) Source(53, 22) + SourceIndex(0) +17>Emitted(34, 72) Source(53, 31) + SourceIndex(0) +18>Emitted(34, 78) Source(53, 37) + SourceIndex(0) +19>Emitted(34, 89) Source(53, 37) + SourceIndex(0) +20>Emitted(34, 91) Source(53, 89) + SourceIndex(0) +21>Emitted(34, 92) Source(53, 90) + SourceIndex(0) +22>Emitted(34, 95) Source(53, 93) + SourceIndex(0) +23>Emitted(34, 96) Source(53, 94) + SourceIndex(0) +24>Emitted(34, 98) Source(53, 96) + SourceIndex(0) +25>Emitted(34, 99) Source(53, 97) + SourceIndex(0) +26>Emitted(34, 102) Source(53, 100) + SourceIndex(0) +27>Emitted(34, 103) Source(53, 101) + SourceIndex(0) +28>Emitted(34, 105) Source(53, 103) + SourceIndex(0) +29>Emitted(34, 106) Source(53, 104) + SourceIndex(0) +30>Emitted(34, 108) Source(53, 106) + SourceIndex(0) +31>Emitted(34, 110) Source(53, 108) + SourceIndex(0) +32>Emitted(34, 111) Source(53, 109) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1289,14 +1290,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(34, 5) Source(54, 5) + SourceIndex(0) -2 >Emitted(34, 12) Source(54, 12) + SourceIndex(0) -3 >Emitted(34, 13) Source(54, 13) + SourceIndex(0) -4 >Emitted(34, 16) Source(54, 16) + SourceIndex(0) -5 >Emitted(34, 17) Source(54, 17) + SourceIndex(0) -6 >Emitted(34, 22) Source(54, 22) + SourceIndex(0) -7 >Emitted(34, 23) Source(54, 23) + SourceIndex(0) -8 >Emitted(34, 24) Source(54, 24) + SourceIndex(0) +1 >Emitted(35, 5) Source(54, 5) + SourceIndex(0) +2 >Emitted(35, 12) Source(54, 12) + SourceIndex(0) +3 >Emitted(35, 13) Source(54, 13) + SourceIndex(0) +4 >Emitted(35, 16) Source(54, 16) + SourceIndex(0) +5 >Emitted(35, 17) Source(54, 17) + SourceIndex(0) +6 >Emitted(35, 22) Source(54, 22) + SourceIndex(0) +7 >Emitted(35, 23) Source(54, 23) + SourceIndex(0) +8 >Emitted(35, 24) Source(54, 24) + SourceIndex(0) --- >>>} 1 > @@ -1305,8 +1306,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(35, 1) Source(55, 1) + SourceIndex(0) -2 >Emitted(35, 2) Source(55, 2) + SourceIndex(0) +1 >Emitted(36, 1) Source(55, 1) + SourceIndex(0) +2 >Emitted(36, 2) Source(55, 2) + SourceIndex(0) --- >>>for (var nameA = multiRobot.name, _f = multiRobot.skills, primaryA = _f.primary, secondaryA = _f.secondary, i = 0; i < 1; i++) { 1-> @@ -1370,36 +1371,36 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 28> ++ 29> ) 30> { -1->Emitted(36, 1) Source(56, 1) + SourceIndex(0) -2 >Emitted(36, 6) Source(56, 11) + SourceIndex(0) -3 >Emitted(36, 10) Source(56, 17) + SourceIndex(0) -4 >Emitted(36, 15) Source(56, 22) + SourceIndex(0) -5 >Emitted(36, 18) Source(56, 81) + SourceIndex(0) -6 >Emitted(36, 28) Source(56, 91) + SourceIndex(0) -7 >Emitted(36, 33) Source(56, 22) + SourceIndex(0) -8 >Emitted(36, 35) Source(56, 24) + SourceIndex(0) -9 >Emitted(36, 40) Source(56, 81) + SourceIndex(0) -10>Emitted(36, 50) Source(56, 91) + SourceIndex(0) -11>Emitted(36, 57) Source(56, 76) + SourceIndex(0) -12>Emitted(36, 59) Source(56, 43) + SourceIndex(0) -13>Emitted(36, 67) Source(56, 51) + SourceIndex(0) -14>Emitted(36, 80) Source(56, 51) + SourceIndex(0) -15>Emitted(36, 82) Source(56, 64) + SourceIndex(0) -16>Emitted(36, 92) Source(56, 74) + SourceIndex(0) -17>Emitted(36, 107) Source(56, 74) + SourceIndex(0) -18>Emitted(36, 109) Source(56, 93) + SourceIndex(0) -19>Emitted(36, 110) Source(56, 94) + SourceIndex(0) -20>Emitted(36, 113) Source(56, 97) + SourceIndex(0) -21>Emitted(36, 114) Source(56, 98) + SourceIndex(0) -22>Emitted(36, 116) Source(56, 100) + SourceIndex(0) -23>Emitted(36, 117) Source(56, 101) + SourceIndex(0) -24>Emitted(36, 120) Source(56, 104) + SourceIndex(0) -25>Emitted(36, 121) Source(56, 105) + SourceIndex(0) -26>Emitted(36, 123) Source(56, 107) + SourceIndex(0) -27>Emitted(36, 124) Source(56, 108) + SourceIndex(0) -28>Emitted(36, 126) Source(56, 110) + SourceIndex(0) -29>Emitted(36, 128) Source(56, 112) + SourceIndex(0) -30>Emitted(36, 129) Source(56, 113) + SourceIndex(0) +1->Emitted(37, 1) Source(56, 1) + SourceIndex(0) +2 >Emitted(37, 6) Source(56, 11) + SourceIndex(0) +3 >Emitted(37, 10) Source(56, 17) + SourceIndex(0) +4 >Emitted(37, 15) Source(56, 22) + SourceIndex(0) +5 >Emitted(37, 18) Source(56, 81) + SourceIndex(0) +6 >Emitted(37, 28) Source(56, 91) + SourceIndex(0) +7 >Emitted(37, 33) Source(56, 22) + SourceIndex(0) +8 >Emitted(37, 35) Source(56, 24) + SourceIndex(0) +9 >Emitted(37, 40) Source(56, 81) + SourceIndex(0) +10>Emitted(37, 50) Source(56, 91) + SourceIndex(0) +11>Emitted(37, 57) Source(56, 76) + SourceIndex(0) +12>Emitted(37, 59) Source(56, 43) + SourceIndex(0) +13>Emitted(37, 67) Source(56, 51) + SourceIndex(0) +14>Emitted(37, 80) Source(56, 51) + SourceIndex(0) +15>Emitted(37, 82) Source(56, 64) + SourceIndex(0) +16>Emitted(37, 92) Source(56, 74) + SourceIndex(0) +17>Emitted(37, 107) Source(56, 74) + SourceIndex(0) +18>Emitted(37, 109) Source(56, 93) + SourceIndex(0) +19>Emitted(37, 110) Source(56, 94) + SourceIndex(0) +20>Emitted(37, 113) Source(56, 97) + SourceIndex(0) +21>Emitted(37, 114) Source(56, 98) + SourceIndex(0) +22>Emitted(37, 116) Source(56, 100) + SourceIndex(0) +23>Emitted(37, 117) Source(56, 101) + SourceIndex(0) +24>Emitted(37, 120) Source(56, 104) + SourceIndex(0) +25>Emitted(37, 121) Source(56, 105) + SourceIndex(0) +26>Emitted(37, 123) Source(56, 107) + SourceIndex(0) +27>Emitted(37, 124) Source(56, 108) + SourceIndex(0) +28>Emitted(37, 126) Source(56, 110) + SourceIndex(0) +29>Emitted(37, 128) Source(56, 112) + SourceIndex(0) +30>Emitted(37, 129) Source(56, 113) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1419,14 +1420,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(37, 5) Source(57, 5) + SourceIndex(0) -2 >Emitted(37, 12) Source(57, 12) + SourceIndex(0) -3 >Emitted(37, 13) Source(57, 13) + SourceIndex(0) -4 >Emitted(37, 16) Source(57, 16) + SourceIndex(0) -5 >Emitted(37, 17) Source(57, 17) + SourceIndex(0) -6 >Emitted(37, 25) Source(57, 25) + SourceIndex(0) -7 >Emitted(37, 26) Source(57, 26) + SourceIndex(0) -8 >Emitted(37, 27) Source(57, 27) + SourceIndex(0) +1 >Emitted(38, 5) Source(57, 5) + SourceIndex(0) +2 >Emitted(38, 12) Source(57, 12) + SourceIndex(0) +3 >Emitted(38, 13) Source(57, 13) + SourceIndex(0) +4 >Emitted(38, 16) Source(57, 16) + SourceIndex(0) +5 >Emitted(38, 17) Source(57, 17) + SourceIndex(0) +6 >Emitted(38, 25) Source(57, 25) + SourceIndex(0) +7 >Emitted(38, 26) Source(57, 26) + SourceIndex(0) +8 >Emitted(38, 27) Source(57, 27) + SourceIndex(0) --- >>>} 1 > @@ -1435,8 +1436,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(38, 1) Source(58, 1) + SourceIndex(0) -2 >Emitted(38, 2) Source(58, 2) + SourceIndex(0) +1 >Emitted(39, 1) Source(58, 1) + SourceIndex(0) +2 >Emitted(39, 2) Source(58, 2) + SourceIndex(0) --- >>>for (var _g = getMultiRobot(), nameA = _g.name, _h = _g.skills, primaryA = _h.primary, secondaryA = _h.secondary, i = 0; i < 1; i++) { 1-> @@ -1500,36 +1501,36 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 28> ++ 29> ) 30> { -1->Emitted(39, 1) Source(59, 1) + SourceIndex(0) -2 >Emitted(39, 6) Source(59, 10) + SourceIndex(0) -3 >Emitted(39, 10) Source(59, 10) + SourceIndex(0) -4 >Emitted(39, 15) Source(59, 81) + SourceIndex(0) -5 >Emitted(39, 28) Source(59, 94) + SourceIndex(0) -6 >Emitted(39, 30) Source(59, 96) + SourceIndex(0) -7 >Emitted(39, 32) Source(59, 17) + SourceIndex(0) -8 >Emitted(39, 37) Source(59, 22) + SourceIndex(0) -9 >Emitted(39, 47) Source(59, 22) + SourceIndex(0) -10>Emitted(39, 49) Source(59, 24) + SourceIndex(0) -11>Emitted(39, 63) Source(59, 76) + SourceIndex(0) -12>Emitted(39, 65) Source(59, 43) + SourceIndex(0) -13>Emitted(39, 73) Source(59, 51) + SourceIndex(0) -14>Emitted(39, 86) Source(59, 51) + SourceIndex(0) -15>Emitted(39, 88) Source(59, 64) + SourceIndex(0) -16>Emitted(39, 98) Source(59, 74) + SourceIndex(0) -17>Emitted(39, 113) Source(59, 74) + SourceIndex(0) -18>Emitted(39, 115) Source(59, 98) + SourceIndex(0) -19>Emitted(39, 116) Source(59, 99) + SourceIndex(0) -20>Emitted(39, 119) Source(59, 102) + SourceIndex(0) -21>Emitted(39, 120) Source(59, 103) + SourceIndex(0) -22>Emitted(39, 122) Source(59, 105) + SourceIndex(0) -23>Emitted(39, 123) Source(59, 106) + SourceIndex(0) -24>Emitted(39, 126) Source(59, 109) + SourceIndex(0) -25>Emitted(39, 127) Source(59, 110) + SourceIndex(0) -26>Emitted(39, 129) Source(59, 112) + SourceIndex(0) -27>Emitted(39, 130) Source(59, 113) + SourceIndex(0) -28>Emitted(39, 132) Source(59, 115) + SourceIndex(0) -29>Emitted(39, 134) Source(59, 117) + SourceIndex(0) -30>Emitted(39, 135) Source(59, 118) + SourceIndex(0) +1->Emitted(40, 1) Source(59, 1) + SourceIndex(0) +2 >Emitted(40, 6) Source(59, 10) + SourceIndex(0) +3 >Emitted(40, 10) Source(59, 10) + SourceIndex(0) +4 >Emitted(40, 15) Source(59, 81) + SourceIndex(0) +5 >Emitted(40, 28) Source(59, 94) + SourceIndex(0) +6 >Emitted(40, 30) Source(59, 96) + SourceIndex(0) +7 >Emitted(40, 32) Source(59, 17) + SourceIndex(0) +8 >Emitted(40, 37) Source(59, 22) + SourceIndex(0) +9 >Emitted(40, 47) Source(59, 22) + SourceIndex(0) +10>Emitted(40, 49) Source(59, 24) + SourceIndex(0) +11>Emitted(40, 63) Source(59, 76) + SourceIndex(0) +12>Emitted(40, 65) Source(59, 43) + SourceIndex(0) +13>Emitted(40, 73) Source(59, 51) + SourceIndex(0) +14>Emitted(40, 86) Source(59, 51) + SourceIndex(0) +15>Emitted(40, 88) Source(59, 64) + SourceIndex(0) +16>Emitted(40, 98) Source(59, 74) + SourceIndex(0) +17>Emitted(40, 113) Source(59, 74) + SourceIndex(0) +18>Emitted(40, 115) Source(59, 98) + SourceIndex(0) +19>Emitted(40, 116) Source(59, 99) + SourceIndex(0) +20>Emitted(40, 119) Source(59, 102) + SourceIndex(0) +21>Emitted(40, 120) Source(59, 103) + SourceIndex(0) +22>Emitted(40, 122) Source(59, 105) + SourceIndex(0) +23>Emitted(40, 123) Source(59, 106) + SourceIndex(0) +24>Emitted(40, 126) Source(59, 109) + SourceIndex(0) +25>Emitted(40, 127) Source(59, 110) + SourceIndex(0) +26>Emitted(40, 129) Source(59, 112) + SourceIndex(0) +27>Emitted(40, 130) Source(59, 113) + SourceIndex(0) +28>Emitted(40, 132) Source(59, 115) + SourceIndex(0) +29>Emitted(40, 134) Source(59, 117) + SourceIndex(0) +30>Emitted(40, 135) Source(59, 118) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1549,14 +1550,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(40, 5) Source(60, 5) + SourceIndex(0) -2 >Emitted(40, 12) Source(60, 12) + SourceIndex(0) -3 >Emitted(40, 13) Source(60, 13) + SourceIndex(0) -4 >Emitted(40, 16) Source(60, 16) + SourceIndex(0) -5 >Emitted(40, 17) Source(60, 17) + SourceIndex(0) -6 >Emitted(40, 25) Source(60, 25) + SourceIndex(0) -7 >Emitted(40, 26) Source(60, 26) + SourceIndex(0) -8 >Emitted(40, 27) Source(60, 27) + SourceIndex(0) +1 >Emitted(41, 5) Source(60, 5) + SourceIndex(0) +2 >Emitted(41, 12) Source(60, 12) + SourceIndex(0) +3 >Emitted(41, 13) Source(60, 13) + SourceIndex(0) +4 >Emitted(41, 16) Source(60, 16) + SourceIndex(0) +5 >Emitted(41, 17) Source(60, 17) + SourceIndex(0) +6 >Emitted(41, 25) Source(60, 25) + SourceIndex(0) +7 >Emitted(41, 26) Source(60, 26) + SourceIndex(0) +8 >Emitted(41, 27) Source(60, 27) + SourceIndex(0) --- >>>} 1 > @@ -1565,8 +1566,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(41, 1) Source(61, 1) + SourceIndex(0) -2 >Emitted(41, 2) Source(61, 2) + SourceIndex(0) +1 >Emitted(42, 1) Source(61, 1) + SourceIndex(0) +2 >Emitted(42, 2) Source(61, 2) + SourceIndex(0) --- >>>for (var _j = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, nameA = _j.name, _k = _j.skills, primaryA = _k.primary, secondaryA = _k.secondary, i = 0; i < 1; i++) { 1-> @@ -1663,51 +1664,51 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 43> ++ 44> ) 45> { -1->Emitted(42, 1) Source(62, 1) + SourceIndex(0) -2 >Emitted(42, 6) Source(62, 10) + SourceIndex(0) -3 >Emitted(42, 10) Source(62, 10) + SourceIndex(0) -4 >Emitted(42, 15) Source(63, 17) + SourceIndex(0) -5 >Emitted(42, 17) Source(63, 19) + SourceIndex(0) -6 >Emitted(42, 21) Source(63, 23) + SourceIndex(0) -7 >Emitted(42, 23) Source(63, 25) + SourceIndex(0) -8 >Emitted(42, 32) Source(63, 34) + SourceIndex(0) -9 >Emitted(42, 34) Source(63, 36) + SourceIndex(0) -10>Emitted(42, 40) Source(63, 42) + SourceIndex(0) -11>Emitted(42, 42) Source(63, 44) + SourceIndex(0) -12>Emitted(42, 44) Source(63, 46) + SourceIndex(0) -13>Emitted(42, 51) Source(63, 53) + SourceIndex(0) -14>Emitted(42, 53) Source(63, 55) + SourceIndex(0) -15>Emitted(42, 63) Source(63, 65) + SourceIndex(0) -16>Emitted(42, 65) Source(63, 67) + SourceIndex(0) -17>Emitted(42, 74) Source(63, 76) + SourceIndex(0) -18>Emitted(42, 76) Source(63, 78) + SourceIndex(0) -19>Emitted(42, 84) Source(63, 86) + SourceIndex(0) -20>Emitted(42, 86) Source(63, 88) + SourceIndex(0) -21>Emitted(42, 88) Source(63, 90) + SourceIndex(0) -22>Emitted(42, 90) Source(62, 17) + SourceIndex(0) -23>Emitted(42, 95) Source(62, 22) + SourceIndex(0) -24>Emitted(42, 105) Source(62, 22) + SourceIndex(0) -25>Emitted(42, 107) Source(62, 24) + SourceIndex(0) -26>Emitted(42, 121) Source(62, 76) + SourceIndex(0) -27>Emitted(42, 123) Source(62, 43) + SourceIndex(0) -28>Emitted(42, 131) Source(62, 51) + SourceIndex(0) -29>Emitted(42, 144) Source(62, 51) + SourceIndex(0) -30>Emitted(42, 146) Source(62, 64) + SourceIndex(0) -31>Emitted(42, 156) Source(62, 74) + SourceIndex(0) -32>Emitted(42, 171) Source(62, 74) + SourceIndex(0) -33>Emitted(42, 173) Source(64, 5) + SourceIndex(0) -34>Emitted(42, 174) Source(64, 6) + SourceIndex(0) -35>Emitted(42, 177) Source(64, 9) + SourceIndex(0) -36>Emitted(42, 178) Source(64, 10) + SourceIndex(0) -37>Emitted(42, 180) Source(64, 12) + SourceIndex(0) -38>Emitted(42, 181) Source(64, 13) + SourceIndex(0) -39>Emitted(42, 184) Source(64, 16) + SourceIndex(0) -40>Emitted(42, 185) Source(64, 17) + SourceIndex(0) -41>Emitted(42, 187) Source(64, 19) + SourceIndex(0) -42>Emitted(42, 188) Source(64, 20) + SourceIndex(0) -43>Emitted(42, 190) Source(64, 22) + SourceIndex(0) -44>Emitted(42, 192) Source(64, 24) + SourceIndex(0) -45>Emitted(42, 193) Source(64, 25) + SourceIndex(0) +1->Emitted(43, 1) Source(62, 1) + SourceIndex(0) +2 >Emitted(43, 6) Source(62, 10) + SourceIndex(0) +3 >Emitted(43, 10) Source(62, 10) + SourceIndex(0) +4 >Emitted(43, 15) Source(63, 17) + SourceIndex(0) +5 >Emitted(43, 17) Source(63, 19) + SourceIndex(0) +6 >Emitted(43, 21) Source(63, 23) + SourceIndex(0) +7 >Emitted(43, 23) Source(63, 25) + SourceIndex(0) +8 >Emitted(43, 32) Source(63, 34) + SourceIndex(0) +9 >Emitted(43, 34) Source(63, 36) + SourceIndex(0) +10>Emitted(43, 40) Source(63, 42) + SourceIndex(0) +11>Emitted(43, 42) Source(63, 44) + SourceIndex(0) +12>Emitted(43, 44) Source(63, 46) + SourceIndex(0) +13>Emitted(43, 51) Source(63, 53) + SourceIndex(0) +14>Emitted(43, 53) Source(63, 55) + SourceIndex(0) +15>Emitted(43, 63) Source(63, 65) + SourceIndex(0) +16>Emitted(43, 65) Source(63, 67) + SourceIndex(0) +17>Emitted(43, 74) Source(63, 76) + SourceIndex(0) +18>Emitted(43, 76) Source(63, 78) + SourceIndex(0) +19>Emitted(43, 84) Source(63, 86) + SourceIndex(0) +20>Emitted(43, 86) Source(63, 88) + SourceIndex(0) +21>Emitted(43, 88) Source(63, 90) + SourceIndex(0) +22>Emitted(43, 90) Source(62, 17) + SourceIndex(0) +23>Emitted(43, 95) Source(62, 22) + SourceIndex(0) +24>Emitted(43, 105) Source(62, 22) + SourceIndex(0) +25>Emitted(43, 107) Source(62, 24) + SourceIndex(0) +26>Emitted(43, 121) Source(62, 76) + SourceIndex(0) +27>Emitted(43, 123) Source(62, 43) + SourceIndex(0) +28>Emitted(43, 131) Source(62, 51) + SourceIndex(0) +29>Emitted(43, 144) Source(62, 51) + SourceIndex(0) +30>Emitted(43, 146) Source(62, 64) + SourceIndex(0) +31>Emitted(43, 156) Source(62, 74) + SourceIndex(0) +32>Emitted(43, 171) Source(62, 74) + SourceIndex(0) +33>Emitted(43, 173) Source(64, 5) + SourceIndex(0) +34>Emitted(43, 174) Source(64, 6) + SourceIndex(0) +35>Emitted(43, 177) Source(64, 9) + SourceIndex(0) +36>Emitted(43, 178) Source(64, 10) + SourceIndex(0) +37>Emitted(43, 180) Source(64, 12) + SourceIndex(0) +38>Emitted(43, 181) Source(64, 13) + SourceIndex(0) +39>Emitted(43, 184) Source(64, 16) + SourceIndex(0) +40>Emitted(43, 185) Source(64, 17) + SourceIndex(0) +41>Emitted(43, 187) Source(64, 19) + SourceIndex(0) +42>Emitted(43, 188) Source(64, 20) + SourceIndex(0) +43>Emitted(43, 190) Source(64, 22) + SourceIndex(0) +44>Emitted(43, 192) Source(64, 24) + SourceIndex(0) +45>Emitted(43, 193) Source(64, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1727,14 +1728,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(43, 5) Source(65, 5) + SourceIndex(0) -2 >Emitted(43, 12) Source(65, 12) + SourceIndex(0) -3 >Emitted(43, 13) Source(65, 13) + SourceIndex(0) -4 >Emitted(43, 16) Source(65, 16) + SourceIndex(0) -5 >Emitted(43, 17) Source(65, 17) + SourceIndex(0) -6 >Emitted(43, 25) Source(65, 25) + SourceIndex(0) -7 >Emitted(43, 26) Source(65, 26) + SourceIndex(0) -8 >Emitted(43, 27) Source(65, 27) + SourceIndex(0) +1 >Emitted(44, 5) Source(65, 5) + SourceIndex(0) +2 >Emitted(44, 12) Source(65, 12) + SourceIndex(0) +3 >Emitted(44, 13) Source(65, 13) + SourceIndex(0) +4 >Emitted(44, 16) Source(65, 16) + SourceIndex(0) +5 >Emitted(44, 17) Source(65, 17) + SourceIndex(0) +6 >Emitted(44, 25) Source(65, 25) + SourceIndex(0) +7 >Emitted(44, 26) Source(65, 26) + SourceIndex(0) +8 >Emitted(44, 27) Source(65, 27) + SourceIndex(0) --- >>>} 1 > @@ -1743,7 +1744,7 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(44, 1) Source(66, 1) + SourceIndex(0) -2 >Emitted(44, 2) Source(66, 2) + SourceIndex(0) +1 >Emitted(45, 1) Source(66, 1) + SourceIndex(0) +2 >Emitted(45, 2) Source(66, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForObjectBindingPattern.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.js b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.js index 8b0e0dd6c20e3..3702973c3cef1 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.js @@ -113,6 +113,7 @@ for ({ name, skills: { primary, secondary } } = } //// [sourceMapValidationDestructuringForObjectBindingPattern2.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v; var robot = { name: "mower", skill: "mowing" }; var multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.js.map index 7ebd09d19516b..7bcd63230ee99 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForObjectBindingPattern2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForObjectBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForObjectBindingPattern2.ts"],"names":[],"mappings":";AAgBA,IAAI,KAAK,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACtD,IAAI,UAAU,GAAe,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AACjG,SAAS,QAAQ;IACb,OAAO,KAAK,CAAC;AACjB,CAAC;AACD,SAAS,aAAa;IAClB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,IAAI,KAAa,EAAE,QAAgB,EAAE,UAAkB,EAAE,CAAS,EAAE,MAAc,CAAC;AACnF,IAAI,IAAY,EAAE,OAAe,EAAE,SAAiB,EAAE,KAAa,CAAC;AAEpE,KAAa,KAAK,GAAK,KAAK,KAAV,EAAY,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC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sIHNraWxsczogeyBwcmltYXJ5OiAidHJpbW1pbmciLCBzZWNvbmRhcnk6ICJlZGdpbmciIH0gfSwKICAgIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhwcmltYXJ5QSk7Cn0= +{"version":3,"file":"sourceMapValidationDestructuringForObjectBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForObjectBindingPattern2.ts"],"names":[],"mappings":";;AAgBA,IAAI,KAAK,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACtD,IAAI,UAAU,GAAe,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AACjG,SAAS,QAAQ;IACb,OAAO,KAAK,CAAC;AACjB,CAAC;AACD,SAAS,aAAa;IAClB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,IAAI,KAAa,EAAE,QAAgB,EAAE,UAAkB,EAAE,CAAS,EAAE,MAAc,CAAC;AACnF,IAAI,IAAY,EAAE,OAAe,EAAE,SAAiB,EAAE,KAAa,CAAC;AAEpE,KAAa,KAAK,GAAK,KAAK,KAAV,EAAY,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAC9C,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAa,KAAK,GAAK,QAAQ,EAAE,KAAf,EAAiB,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACnD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAa,KAAK,GAAY,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,KAAlD,EAAoD,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAA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Swgc2tpbGwgfSA9IHJvYm90LCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9CmZvciAoeyBuYW1lLCBza2lsbCB9ID0gZ2V0Um9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG5hbWVBKTsKfQpmb3IgKHsgbmFtZSwgc2tpbGwgfSA9IDxSb2JvdD57IG5hbWU6ICJ0cmltbWVyIiwgc2tpbGw6ICJ0cmltbWluZyIgfSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKG5hbWVBKTsKfQpmb3IgKHsgbmFtZSwgc2tpbGxzOiB7IHByaW1hcnksIHNlY29uZGFyeSB9IH0gPSBtdWx0aVJvYm90LCBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cocHJpbWFyeUEpOwp9CmZvciAoeyBuYW1lLCBza2lsbHM6IHsgcHJpbWFyeSwgc2Vjb25kYXJ5IH0gfSA9IGdldE11bHRpUm9ib3QoKSwgaSA9IDA7IGkgPCAxOyBpKyspIHsKICAgIGNvbnNvbGUubG9nKHByaW1hcnlBKTsKfQpmb3IgKHsgbmFtZSwgc2tpbGxzOiB7IHByaW1hcnksIHNlY29uZGFyeSB9IH0gPQogICAgPE11bHRpUm9ib3Q+eyBuYW1lOiAidHJpbW1lciIsIHNraWxsczogeyBwcmltYXJ5OiAidHJpbW1pbmciLCBzZWNvbmRhcnk6ICJlZGdpbmciIH0gfSwKICAgIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhwcmltYXJ5QSk7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.sourcemap.txt index c50b364d16f0e..9b4f24694bcd1 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPattern2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForObjectBindingPattern2.ts emittedFile:sourceMapValidationDestructuringForObjectBindingPattern2.js sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v; >>>var robot = { name: "mower", skill: "mowing" }; 1 > @@ -55,20 +56,20 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 12> "mowing" 13> } 14> ; -1 >Emitted(2, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(2, 10) Source(17, 10) + SourceIndex(0) -4 >Emitted(2, 13) Source(17, 20) + SourceIndex(0) -5 >Emitted(2, 15) Source(17, 22) + SourceIndex(0) -6 >Emitted(2, 19) Source(17, 26) + SourceIndex(0) -7 >Emitted(2, 21) Source(17, 28) + SourceIndex(0) -8 >Emitted(2, 28) Source(17, 35) + SourceIndex(0) -9 >Emitted(2, 30) Source(17, 37) + SourceIndex(0) -10>Emitted(2, 35) Source(17, 42) + SourceIndex(0) -11>Emitted(2, 37) Source(17, 44) + SourceIndex(0) -12>Emitted(2, 45) Source(17, 52) + SourceIndex(0) -13>Emitted(2, 47) Source(17, 54) + SourceIndex(0) -14>Emitted(2, 48) Source(17, 55) + SourceIndex(0) +1 >Emitted(3, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(3, 10) Source(17, 10) + SourceIndex(0) +4 >Emitted(3, 13) Source(17, 20) + SourceIndex(0) +5 >Emitted(3, 15) Source(17, 22) + SourceIndex(0) +6 >Emitted(3, 19) Source(17, 26) + SourceIndex(0) +7 >Emitted(3, 21) Source(17, 28) + SourceIndex(0) +8 >Emitted(3, 28) Source(17, 35) + SourceIndex(0) +9 >Emitted(3, 30) Source(17, 37) + SourceIndex(0) +10>Emitted(3, 35) Source(17, 42) + SourceIndex(0) +11>Emitted(3, 37) Source(17, 44) + SourceIndex(0) +12>Emitted(3, 45) Source(17, 52) + SourceIndex(0) +13>Emitted(3, 47) Source(17, 54) + SourceIndex(0) +14>Emitted(3, 48) Source(17, 55) + SourceIndex(0) --- >>>var multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; 1-> @@ -116,28 +117,28 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 20> } 21> } 22> ; -1->Emitted(3, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(3, 15) Source(18, 15) + SourceIndex(0) -4 >Emitted(3, 18) Source(18, 30) + SourceIndex(0) -5 >Emitted(3, 20) Source(18, 32) + SourceIndex(0) -6 >Emitted(3, 24) Source(18, 36) + SourceIndex(0) -7 >Emitted(3, 26) Source(18, 38) + SourceIndex(0) -8 >Emitted(3, 33) Source(18, 45) + SourceIndex(0) -9 >Emitted(3, 35) Source(18, 47) + SourceIndex(0) -10>Emitted(3, 41) Source(18, 53) + SourceIndex(0) -11>Emitted(3, 43) Source(18, 55) + SourceIndex(0) -12>Emitted(3, 45) Source(18, 57) + SourceIndex(0) -13>Emitted(3, 52) Source(18, 64) + SourceIndex(0) -14>Emitted(3, 54) Source(18, 66) + SourceIndex(0) -15>Emitted(3, 62) Source(18, 74) + SourceIndex(0) -16>Emitted(3, 64) Source(18, 76) + SourceIndex(0) -17>Emitted(3, 73) Source(18, 85) + SourceIndex(0) -18>Emitted(3, 75) Source(18, 87) + SourceIndex(0) -19>Emitted(3, 81) Source(18, 93) + SourceIndex(0) -20>Emitted(3, 83) Source(18, 95) + SourceIndex(0) -21>Emitted(3, 85) Source(18, 97) + SourceIndex(0) -22>Emitted(3, 86) Source(18, 98) + SourceIndex(0) +1->Emitted(4, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(4, 15) Source(18, 15) + SourceIndex(0) +4 >Emitted(4, 18) Source(18, 30) + SourceIndex(0) +5 >Emitted(4, 20) Source(18, 32) + SourceIndex(0) +6 >Emitted(4, 24) Source(18, 36) + SourceIndex(0) +7 >Emitted(4, 26) Source(18, 38) + SourceIndex(0) +8 >Emitted(4, 33) Source(18, 45) + SourceIndex(0) +9 >Emitted(4, 35) Source(18, 47) + SourceIndex(0) +10>Emitted(4, 41) Source(18, 53) + SourceIndex(0) +11>Emitted(4, 43) Source(18, 55) + SourceIndex(0) +12>Emitted(4, 45) Source(18, 57) + SourceIndex(0) +13>Emitted(4, 52) Source(18, 64) + SourceIndex(0) +14>Emitted(4, 54) Source(18, 66) + SourceIndex(0) +15>Emitted(4, 62) Source(18, 74) + SourceIndex(0) +16>Emitted(4, 64) Source(18, 76) + SourceIndex(0) +17>Emitted(4, 73) Source(18, 85) + SourceIndex(0) +18>Emitted(4, 75) Source(18, 87) + SourceIndex(0) +19>Emitted(4, 81) Source(18, 93) + SourceIndex(0) +20>Emitted(4, 83) Source(18, 95) + SourceIndex(0) +21>Emitted(4, 85) Source(18, 97) + SourceIndex(0) +22>Emitted(4, 86) Source(18, 98) + SourceIndex(0) --- >>>function getRobot() { 1 > @@ -148,9 +149,9 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts > 2 >function 3 > getRobot -1 >Emitted(4, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(4, 10) Source(19, 10) + SourceIndex(0) -3 >Emitted(4, 18) Source(19, 18) + SourceIndex(0) +1 >Emitted(5, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(5, 10) Source(19, 10) + SourceIndex(0) +3 >Emitted(5, 18) Source(19, 18) + SourceIndex(0) --- >>> return robot; 1->^^^^ @@ -162,10 +163,10 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 2 > return 3 > robot 4 > ; -1->Emitted(5, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(5, 12) Source(20, 12) + SourceIndex(0) -3 >Emitted(5, 17) Source(20, 17) + SourceIndex(0) -4 >Emitted(5, 18) Source(20, 18) + SourceIndex(0) +1->Emitted(6, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(6, 12) Source(20, 12) + SourceIndex(0) +3 >Emitted(6, 17) Source(20, 17) + SourceIndex(0) +4 >Emitted(6, 18) Source(20, 18) + SourceIndex(0) --- >>>} 1 > @@ -174,8 +175,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(6, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(21, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(21, 2) + SourceIndex(0) --- >>>function getMultiRobot() { 1-> @@ -186,9 +187,9 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts > 2 >function 3 > getMultiRobot -1->Emitted(7, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(7, 10) Source(22, 10) + SourceIndex(0) -3 >Emitted(7, 23) Source(22, 23) + SourceIndex(0) +1->Emitted(8, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(8, 10) Source(22, 10) + SourceIndex(0) +3 >Emitted(8, 23) Source(22, 23) + SourceIndex(0) --- >>> return multiRobot; 1->^^^^ @@ -200,10 +201,10 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 2 > return 3 > multiRobot 4 > ; -1->Emitted(8, 5) Source(23, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(23, 12) + SourceIndex(0) -3 >Emitted(8, 22) Source(23, 22) + SourceIndex(0) -4 >Emitted(8, 23) Source(23, 23) + SourceIndex(0) +1->Emitted(9, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(23, 12) + SourceIndex(0) +3 >Emitted(9, 22) Source(23, 22) + SourceIndex(0) +4 >Emitted(9, 23) Source(23, 23) + SourceIndex(0) --- >>>} 1 > @@ -212,8 +213,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(9, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(24, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(24, 2) + SourceIndex(0) --- >>>var nameA, primaryA, secondaryA, i, skillA; 1-> @@ -242,18 +243,18 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 10> , 11> skillA: string 12> ; -1->Emitted(10, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(10, 5) Source(26, 5) + SourceIndex(0) -3 >Emitted(10, 10) Source(26, 18) + SourceIndex(0) -4 >Emitted(10, 12) Source(26, 20) + SourceIndex(0) -5 >Emitted(10, 20) Source(26, 36) + SourceIndex(0) -6 >Emitted(10, 22) Source(26, 38) + SourceIndex(0) -7 >Emitted(10, 32) Source(26, 56) + SourceIndex(0) -8 >Emitted(10, 34) Source(26, 58) + SourceIndex(0) -9 >Emitted(10, 35) Source(26, 67) + SourceIndex(0) -10>Emitted(10, 37) Source(26, 69) + SourceIndex(0) -11>Emitted(10, 43) Source(26, 83) + SourceIndex(0) -12>Emitted(10, 44) Source(26, 84) + SourceIndex(0) +1->Emitted(11, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(11, 5) Source(26, 5) + SourceIndex(0) +3 >Emitted(11, 10) Source(26, 18) + SourceIndex(0) +4 >Emitted(11, 12) Source(26, 20) + SourceIndex(0) +5 >Emitted(11, 20) Source(26, 36) + SourceIndex(0) +6 >Emitted(11, 22) Source(26, 38) + SourceIndex(0) +7 >Emitted(11, 32) Source(26, 56) + SourceIndex(0) +8 >Emitted(11, 34) Source(26, 58) + SourceIndex(0) +9 >Emitted(11, 35) Source(26, 67) + SourceIndex(0) +10>Emitted(11, 37) Source(26, 69) + SourceIndex(0) +11>Emitted(11, 43) Source(26, 83) + SourceIndex(0) +12>Emitted(11, 44) Source(26, 84) + SourceIndex(0) --- >>>var name, primary, secondary, skill; 1 > @@ -278,16 +279,16 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 8 > , 9 > skill: string 10> ; -1 >Emitted(11, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(11, 5) Source(27, 5) + SourceIndex(0) -3 >Emitted(11, 9) Source(27, 17) + SourceIndex(0) -4 >Emitted(11, 11) Source(27, 19) + SourceIndex(0) -5 >Emitted(11, 18) Source(27, 34) + SourceIndex(0) -6 >Emitted(11, 20) Source(27, 36) + SourceIndex(0) -7 >Emitted(11, 29) Source(27, 53) + SourceIndex(0) -8 >Emitted(11, 31) Source(27, 55) + SourceIndex(0) -9 >Emitted(11, 36) Source(27, 68) + SourceIndex(0) -10>Emitted(11, 37) Source(27, 69) + SourceIndex(0) +1 >Emitted(12, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(12, 5) Source(27, 5) + SourceIndex(0) +3 >Emitted(12, 9) Source(27, 17) + SourceIndex(0) +4 >Emitted(12, 11) Source(27, 19) + SourceIndex(0) +5 >Emitted(12, 18) Source(27, 34) + SourceIndex(0) +6 >Emitted(12, 20) Source(27, 36) + SourceIndex(0) +7 >Emitted(12, 29) Source(27, 53) + SourceIndex(0) +8 >Emitted(12, 31) Source(27, 55) + SourceIndex(0) +9 >Emitted(12, 36) Source(27, 68) + SourceIndex(0) +10>Emitted(12, 37) Source(27, 69) + SourceIndex(0) --- >>>for (nameA = robot.name, i = 0; i < 1; i++) { 1-> @@ -330,25 +331,25 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 17> ++ 18> ) 19> { -1->Emitted(12, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(12, 6) Source(29, 14) + SourceIndex(0) -3 >Emitted(12, 11) Source(29, 19) + SourceIndex(0) -4 >Emitted(12, 14) Source(29, 24) + SourceIndex(0) -5 >Emitted(12, 19) Source(29, 29) + SourceIndex(0) -6 >Emitted(12, 24) Source(29, 19) + SourceIndex(0) -7 >Emitted(12, 26) Source(29, 31) + SourceIndex(0) -8 >Emitted(12, 27) Source(29, 32) + SourceIndex(0) -9 >Emitted(12, 30) Source(29, 35) + SourceIndex(0) -10>Emitted(12, 31) Source(29, 36) + SourceIndex(0) -11>Emitted(12, 33) Source(29, 38) + SourceIndex(0) -12>Emitted(12, 34) Source(29, 39) + SourceIndex(0) -13>Emitted(12, 37) Source(29, 42) + SourceIndex(0) -14>Emitted(12, 38) Source(29, 43) + SourceIndex(0) -15>Emitted(12, 40) Source(29, 45) + SourceIndex(0) -16>Emitted(12, 41) Source(29, 46) + SourceIndex(0) -17>Emitted(12, 43) Source(29, 48) + SourceIndex(0) -18>Emitted(12, 45) Source(29, 50) + SourceIndex(0) -19>Emitted(12, 46) Source(29, 51) + SourceIndex(0) +1->Emitted(13, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(13, 6) Source(29, 14) + SourceIndex(0) +3 >Emitted(13, 11) Source(29, 19) + SourceIndex(0) +4 >Emitted(13, 14) Source(29, 24) + SourceIndex(0) +5 >Emitted(13, 19) Source(29, 29) + SourceIndex(0) +6 >Emitted(13, 24) Source(29, 19) + SourceIndex(0) +7 >Emitted(13, 26) Source(29, 31) + SourceIndex(0) +8 >Emitted(13, 27) Source(29, 32) + SourceIndex(0) +9 >Emitted(13, 30) Source(29, 35) + SourceIndex(0) +10>Emitted(13, 31) Source(29, 36) + SourceIndex(0) +11>Emitted(13, 33) Source(29, 38) + SourceIndex(0) +12>Emitted(13, 34) Source(29, 39) + SourceIndex(0) +13>Emitted(13, 37) Source(29, 42) + SourceIndex(0) +14>Emitted(13, 38) Source(29, 43) + SourceIndex(0) +15>Emitted(13, 40) Source(29, 45) + SourceIndex(0) +16>Emitted(13, 41) Source(29, 46) + SourceIndex(0) +17>Emitted(13, 43) Source(29, 48) + SourceIndex(0) +18>Emitted(13, 45) Source(29, 50) + SourceIndex(0) +19>Emitted(13, 46) Source(29, 51) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -368,14 +369,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(13, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(13, 12) Source(30, 12) + SourceIndex(0) -3 >Emitted(13, 13) Source(30, 13) + SourceIndex(0) -4 >Emitted(13, 16) Source(30, 16) + SourceIndex(0) -5 >Emitted(13, 17) Source(30, 17) + SourceIndex(0) -6 >Emitted(13, 22) Source(30, 22) + SourceIndex(0) -7 >Emitted(13, 23) Source(30, 23) + SourceIndex(0) -8 >Emitted(13, 24) Source(30, 24) + SourceIndex(0) +1 >Emitted(14, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(14, 12) Source(30, 12) + SourceIndex(0) +3 >Emitted(14, 13) Source(30, 13) + SourceIndex(0) +4 >Emitted(14, 16) Source(30, 16) + SourceIndex(0) +5 >Emitted(14, 17) Source(30, 17) + SourceIndex(0) +6 >Emitted(14, 22) Source(30, 22) + SourceIndex(0) +7 >Emitted(14, 23) Source(30, 23) + SourceIndex(0) +8 >Emitted(14, 24) Source(30, 24) + SourceIndex(0) --- >>>} 1 > @@ -384,8 +385,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(14, 1) Source(31, 1) + SourceIndex(0) -2 >Emitted(14, 2) Source(31, 2) + SourceIndex(0) +1 >Emitted(15, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(15, 2) Source(31, 2) + SourceIndex(0) --- >>>for (nameA = getRobot().name, i = 0; i < 1; i++) { 1-> @@ -429,26 +430,26 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 18> ++ 19> ) 20> { -1->Emitted(15, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(15, 6) Source(32, 14) + SourceIndex(0) -3 >Emitted(15, 11) Source(32, 19) + SourceIndex(0) -4 >Emitted(15, 14) Source(32, 24) + SourceIndex(0) -5 >Emitted(15, 22) Source(32, 32) + SourceIndex(0) -6 >Emitted(15, 24) Source(32, 34) + SourceIndex(0) -7 >Emitted(15, 29) Source(32, 19) + SourceIndex(0) -8 >Emitted(15, 31) Source(32, 36) + SourceIndex(0) -9 >Emitted(15, 32) Source(32, 37) + SourceIndex(0) -10>Emitted(15, 35) Source(32, 40) + SourceIndex(0) -11>Emitted(15, 36) Source(32, 41) + SourceIndex(0) -12>Emitted(15, 38) Source(32, 43) + SourceIndex(0) -13>Emitted(15, 39) Source(32, 44) + SourceIndex(0) -14>Emitted(15, 42) Source(32, 47) + SourceIndex(0) -15>Emitted(15, 43) Source(32, 48) + SourceIndex(0) -16>Emitted(15, 45) Source(32, 50) + SourceIndex(0) -17>Emitted(15, 46) Source(32, 51) + SourceIndex(0) -18>Emitted(15, 48) Source(32, 53) + SourceIndex(0) -19>Emitted(15, 50) Source(32, 55) + SourceIndex(0) -20>Emitted(15, 51) Source(32, 56) + SourceIndex(0) +1->Emitted(16, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(16, 6) Source(32, 14) + SourceIndex(0) +3 >Emitted(16, 11) Source(32, 19) + SourceIndex(0) +4 >Emitted(16, 14) Source(32, 24) + SourceIndex(0) +5 >Emitted(16, 22) Source(32, 32) + SourceIndex(0) +6 >Emitted(16, 24) Source(32, 34) + SourceIndex(0) +7 >Emitted(16, 29) Source(32, 19) + SourceIndex(0) +8 >Emitted(16, 31) Source(32, 36) + SourceIndex(0) +9 >Emitted(16, 32) Source(32, 37) + SourceIndex(0) +10>Emitted(16, 35) Source(32, 40) + SourceIndex(0) +11>Emitted(16, 36) Source(32, 41) + SourceIndex(0) +12>Emitted(16, 38) Source(32, 43) + SourceIndex(0) +13>Emitted(16, 39) Source(32, 44) + SourceIndex(0) +14>Emitted(16, 42) Source(32, 47) + SourceIndex(0) +15>Emitted(16, 43) Source(32, 48) + SourceIndex(0) +16>Emitted(16, 45) Source(32, 50) + SourceIndex(0) +17>Emitted(16, 46) Source(32, 51) + SourceIndex(0) +18>Emitted(16, 48) Source(32, 53) + SourceIndex(0) +19>Emitted(16, 50) Source(32, 55) + SourceIndex(0) +20>Emitted(16, 51) Source(32, 56) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -468,14 +469,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(16, 5) Source(33, 5) + SourceIndex(0) -2 >Emitted(16, 12) Source(33, 12) + SourceIndex(0) -3 >Emitted(16, 13) Source(33, 13) + SourceIndex(0) -4 >Emitted(16, 16) Source(33, 16) + SourceIndex(0) -5 >Emitted(16, 17) Source(33, 17) + SourceIndex(0) -6 >Emitted(16, 22) Source(33, 22) + SourceIndex(0) -7 >Emitted(16, 23) Source(33, 23) + SourceIndex(0) -8 >Emitted(16, 24) Source(33, 24) + SourceIndex(0) +1 >Emitted(17, 5) Source(33, 5) + SourceIndex(0) +2 >Emitted(17, 12) Source(33, 12) + SourceIndex(0) +3 >Emitted(17, 13) Source(33, 13) + SourceIndex(0) +4 >Emitted(17, 16) Source(33, 16) + SourceIndex(0) +5 >Emitted(17, 17) Source(33, 17) + SourceIndex(0) +6 >Emitted(17, 22) Source(33, 22) + SourceIndex(0) +7 >Emitted(17, 23) Source(33, 23) + SourceIndex(0) +8 >Emitted(17, 24) Source(33, 24) + SourceIndex(0) --- >>>} 1 > @@ -484,8 +485,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(17, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(17, 2) Source(34, 2) + SourceIndex(0) +1 >Emitted(18, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(18, 2) Source(34, 2) + SourceIndex(0) --- >>>for (nameA = { name: "trimmer", skill: "trimming" }.name, i = 0; i < 1; i++) { 1-> @@ -543,33 +544,33 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 25> ++ 26> ) 27> { -1->Emitted(18, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(18, 6) Source(35, 14) + SourceIndex(0) -3 >Emitted(18, 11) Source(35, 19) + SourceIndex(0) -4 >Emitted(18, 14) Source(35, 31) + SourceIndex(0) -5 >Emitted(18, 16) Source(35, 33) + SourceIndex(0) -6 >Emitted(18, 20) Source(35, 37) + SourceIndex(0) -7 >Emitted(18, 22) Source(35, 39) + SourceIndex(0) -8 >Emitted(18, 31) Source(35, 48) + SourceIndex(0) -9 >Emitted(18, 33) Source(35, 50) + SourceIndex(0) -10>Emitted(18, 38) Source(35, 55) + SourceIndex(0) -11>Emitted(18, 40) Source(35, 57) + SourceIndex(0) -12>Emitted(18, 50) Source(35, 67) + SourceIndex(0) -13>Emitted(18, 52) Source(35, 69) + SourceIndex(0) -14>Emitted(18, 57) Source(35, 19) + SourceIndex(0) -15>Emitted(18, 59) Source(35, 71) + SourceIndex(0) -16>Emitted(18, 60) Source(35, 72) + SourceIndex(0) -17>Emitted(18, 63) Source(35, 75) + SourceIndex(0) -18>Emitted(18, 64) Source(35, 76) + SourceIndex(0) -19>Emitted(18, 66) Source(35, 78) + SourceIndex(0) -20>Emitted(18, 67) Source(35, 79) + SourceIndex(0) -21>Emitted(18, 70) Source(35, 82) + SourceIndex(0) -22>Emitted(18, 71) Source(35, 83) + SourceIndex(0) -23>Emitted(18, 73) Source(35, 85) + SourceIndex(0) -24>Emitted(18, 74) Source(35, 86) + SourceIndex(0) -25>Emitted(18, 76) Source(35, 88) + SourceIndex(0) -26>Emitted(18, 78) Source(35, 90) + SourceIndex(0) -27>Emitted(18, 79) Source(35, 91) + SourceIndex(0) +1->Emitted(19, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(19, 6) Source(35, 14) + SourceIndex(0) +3 >Emitted(19, 11) Source(35, 19) + SourceIndex(0) +4 >Emitted(19, 14) Source(35, 31) + SourceIndex(0) +5 >Emitted(19, 16) Source(35, 33) + SourceIndex(0) +6 >Emitted(19, 20) Source(35, 37) + SourceIndex(0) +7 >Emitted(19, 22) Source(35, 39) + SourceIndex(0) +8 >Emitted(19, 31) Source(35, 48) + SourceIndex(0) +9 >Emitted(19, 33) Source(35, 50) + SourceIndex(0) +10>Emitted(19, 38) Source(35, 55) + SourceIndex(0) +11>Emitted(19, 40) Source(35, 57) + SourceIndex(0) +12>Emitted(19, 50) Source(35, 67) + SourceIndex(0) +13>Emitted(19, 52) Source(35, 69) + SourceIndex(0) +14>Emitted(19, 57) Source(35, 19) + SourceIndex(0) +15>Emitted(19, 59) Source(35, 71) + SourceIndex(0) +16>Emitted(19, 60) Source(35, 72) + SourceIndex(0) +17>Emitted(19, 63) Source(35, 75) + SourceIndex(0) +18>Emitted(19, 64) Source(35, 76) + SourceIndex(0) +19>Emitted(19, 66) Source(35, 78) + SourceIndex(0) +20>Emitted(19, 67) Source(35, 79) + SourceIndex(0) +21>Emitted(19, 70) Source(35, 82) + SourceIndex(0) +22>Emitted(19, 71) Source(35, 83) + SourceIndex(0) +23>Emitted(19, 73) Source(35, 85) + SourceIndex(0) +24>Emitted(19, 74) Source(35, 86) + SourceIndex(0) +25>Emitted(19, 76) Source(35, 88) + SourceIndex(0) +26>Emitted(19, 78) Source(35, 90) + SourceIndex(0) +27>Emitted(19, 79) Source(35, 91) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -589,14 +590,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(19, 5) Source(36, 5) + SourceIndex(0) -2 >Emitted(19, 12) Source(36, 12) + SourceIndex(0) -3 >Emitted(19, 13) Source(36, 13) + SourceIndex(0) -4 >Emitted(19, 16) Source(36, 16) + SourceIndex(0) -5 >Emitted(19, 17) Source(36, 17) + SourceIndex(0) -6 >Emitted(19, 22) Source(36, 22) + SourceIndex(0) -7 >Emitted(19, 23) Source(36, 23) + SourceIndex(0) -8 >Emitted(19, 24) Source(36, 24) + SourceIndex(0) +1 >Emitted(20, 5) Source(36, 5) + SourceIndex(0) +2 >Emitted(20, 12) Source(36, 12) + SourceIndex(0) +3 >Emitted(20, 13) Source(36, 13) + SourceIndex(0) +4 >Emitted(20, 16) Source(36, 16) + SourceIndex(0) +5 >Emitted(20, 17) Source(36, 17) + SourceIndex(0) +6 >Emitted(20, 22) Source(36, 22) + SourceIndex(0) +7 >Emitted(20, 23) Source(36, 23) + SourceIndex(0) +8 >Emitted(20, 24) Source(36, 24) + SourceIndex(0) --- >>>} 1 > @@ -605,8 +606,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(20, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(20, 2) Source(37, 2) + SourceIndex(0) +1 >Emitted(21, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(21, 2) Source(37, 2) + SourceIndex(0) --- >>>for (_a = multiRobot.skills, primaryA = _a.primary, secondaryA = _a.secondary, i = 0; i < 1; i++) { 1-> @@ -658,30 +659,30 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 22> ++ 23> ) 24> { -1->Emitted(21, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(21, 6) Source(38, 8) + SourceIndex(0) -3 >Emitted(21, 11) Source(38, 65) + SourceIndex(0) -4 >Emitted(21, 21) Source(38, 75) + SourceIndex(0) -5 >Emitted(21, 28) Source(38, 60) + SourceIndex(0) -6 >Emitted(21, 30) Source(38, 27) + SourceIndex(0) -7 >Emitted(21, 38) Source(38, 35) + SourceIndex(0) -8 >Emitted(21, 51) Source(38, 35) + SourceIndex(0) -9 >Emitted(21, 53) Source(38, 48) + SourceIndex(0) -10>Emitted(21, 63) Source(38, 58) + SourceIndex(0) -11>Emitted(21, 78) Source(38, 58) + SourceIndex(0) -12>Emitted(21, 80) Source(38, 77) + SourceIndex(0) -13>Emitted(21, 81) Source(38, 78) + SourceIndex(0) -14>Emitted(21, 84) Source(38, 81) + SourceIndex(0) -15>Emitted(21, 85) Source(38, 82) + SourceIndex(0) -16>Emitted(21, 87) Source(38, 84) + SourceIndex(0) -17>Emitted(21, 88) Source(38, 85) + SourceIndex(0) -18>Emitted(21, 91) Source(38, 88) + SourceIndex(0) -19>Emitted(21, 92) Source(38, 89) + SourceIndex(0) -20>Emitted(21, 94) Source(38, 91) + SourceIndex(0) -21>Emitted(21, 95) Source(38, 92) + SourceIndex(0) -22>Emitted(21, 97) Source(38, 94) + SourceIndex(0) -23>Emitted(21, 99) Source(38, 96) + SourceIndex(0) -24>Emitted(21, 100) Source(38, 97) + SourceIndex(0) +1->Emitted(22, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(22, 6) Source(38, 8) + SourceIndex(0) +3 >Emitted(22, 11) Source(38, 65) + SourceIndex(0) +4 >Emitted(22, 21) Source(38, 75) + SourceIndex(0) +5 >Emitted(22, 28) Source(38, 60) + SourceIndex(0) +6 >Emitted(22, 30) Source(38, 27) + SourceIndex(0) +7 >Emitted(22, 38) Source(38, 35) + SourceIndex(0) +8 >Emitted(22, 51) Source(38, 35) + SourceIndex(0) +9 >Emitted(22, 53) Source(38, 48) + SourceIndex(0) +10>Emitted(22, 63) Source(38, 58) + SourceIndex(0) +11>Emitted(22, 78) Source(38, 58) + SourceIndex(0) +12>Emitted(22, 80) Source(38, 77) + SourceIndex(0) +13>Emitted(22, 81) Source(38, 78) + SourceIndex(0) +14>Emitted(22, 84) Source(38, 81) + SourceIndex(0) +15>Emitted(22, 85) Source(38, 82) + SourceIndex(0) +16>Emitted(22, 87) Source(38, 84) + SourceIndex(0) +17>Emitted(22, 88) Source(38, 85) + SourceIndex(0) +18>Emitted(22, 91) Source(38, 88) + SourceIndex(0) +19>Emitted(22, 92) Source(38, 89) + SourceIndex(0) +20>Emitted(22, 94) Source(38, 91) + SourceIndex(0) +21>Emitted(22, 95) Source(38, 92) + SourceIndex(0) +22>Emitted(22, 97) Source(38, 94) + SourceIndex(0) +23>Emitted(22, 99) Source(38, 96) + SourceIndex(0) +24>Emitted(22, 100) Source(38, 97) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -701,14 +702,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(22, 5) Source(39, 5) + SourceIndex(0) -2 >Emitted(22, 12) Source(39, 12) + SourceIndex(0) -3 >Emitted(22, 13) Source(39, 13) + SourceIndex(0) -4 >Emitted(22, 16) Source(39, 16) + SourceIndex(0) -5 >Emitted(22, 17) Source(39, 17) + SourceIndex(0) -6 >Emitted(22, 25) Source(39, 25) + SourceIndex(0) -7 >Emitted(22, 26) Source(39, 26) + SourceIndex(0) -8 >Emitted(22, 27) Source(39, 27) + SourceIndex(0) +1 >Emitted(23, 5) Source(39, 5) + SourceIndex(0) +2 >Emitted(23, 12) Source(39, 12) + SourceIndex(0) +3 >Emitted(23, 13) Source(39, 13) + SourceIndex(0) +4 >Emitted(23, 16) Source(39, 16) + SourceIndex(0) +5 >Emitted(23, 17) Source(39, 17) + SourceIndex(0) +6 >Emitted(23, 25) Source(39, 25) + SourceIndex(0) +7 >Emitted(23, 26) Source(39, 26) + SourceIndex(0) +8 >Emitted(23, 27) Source(39, 27) + SourceIndex(0) --- >>>} 1 > @@ -717,8 +718,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(23, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(23, 2) Source(40, 2) + SourceIndex(0) +1 >Emitted(24, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(24, 2) Source(40, 2) + SourceIndex(0) --- >>>for (_b = getMultiRobot().skills, primaryA = _b.primary, secondaryA = _b.secondary, i = 0; i < 1; i++) { 1-> @@ -772,31 +773,31 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 23> ++ 24> ) 25> { -1->Emitted(24, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(24, 6) Source(41, 8) + SourceIndex(0) -3 >Emitted(24, 11) Source(41, 65) + SourceIndex(0) -4 >Emitted(24, 24) Source(41, 78) + SourceIndex(0) -5 >Emitted(24, 26) Source(41, 80) + SourceIndex(0) -6 >Emitted(24, 33) Source(41, 60) + SourceIndex(0) -7 >Emitted(24, 35) Source(41, 27) + SourceIndex(0) -8 >Emitted(24, 43) Source(41, 35) + SourceIndex(0) -9 >Emitted(24, 56) Source(41, 35) + SourceIndex(0) -10>Emitted(24, 58) Source(41, 48) + SourceIndex(0) -11>Emitted(24, 68) Source(41, 58) + SourceIndex(0) -12>Emitted(24, 83) Source(41, 58) + SourceIndex(0) -13>Emitted(24, 85) Source(41, 82) + SourceIndex(0) -14>Emitted(24, 86) Source(41, 83) + SourceIndex(0) -15>Emitted(24, 89) Source(41, 86) + SourceIndex(0) -16>Emitted(24, 90) Source(41, 87) + SourceIndex(0) -17>Emitted(24, 92) Source(41, 89) + SourceIndex(0) -18>Emitted(24, 93) Source(41, 90) + SourceIndex(0) -19>Emitted(24, 96) Source(41, 93) + SourceIndex(0) -20>Emitted(24, 97) Source(41, 94) + SourceIndex(0) -21>Emitted(24, 99) Source(41, 96) + SourceIndex(0) -22>Emitted(24, 100) Source(41, 97) + SourceIndex(0) -23>Emitted(24, 102) Source(41, 99) + SourceIndex(0) -24>Emitted(24, 104) Source(41, 101) + SourceIndex(0) -25>Emitted(24, 105) Source(41, 102) + SourceIndex(0) +1->Emitted(25, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(25, 6) Source(41, 8) + SourceIndex(0) +3 >Emitted(25, 11) Source(41, 65) + SourceIndex(0) +4 >Emitted(25, 24) Source(41, 78) + SourceIndex(0) +5 >Emitted(25, 26) Source(41, 80) + SourceIndex(0) +6 >Emitted(25, 33) Source(41, 60) + SourceIndex(0) +7 >Emitted(25, 35) Source(41, 27) + SourceIndex(0) +8 >Emitted(25, 43) Source(41, 35) + SourceIndex(0) +9 >Emitted(25, 56) Source(41, 35) + SourceIndex(0) +10>Emitted(25, 58) Source(41, 48) + SourceIndex(0) +11>Emitted(25, 68) Source(41, 58) + SourceIndex(0) +12>Emitted(25, 83) Source(41, 58) + SourceIndex(0) +13>Emitted(25, 85) Source(41, 82) + SourceIndex(0) +14>Emitted(25, 86) Source(41, 83) + SourceIndex(0) +15>Emitted(25, 89) Source(41, 86) + SourceIndex(0) +16>Emitted(25, 90) Source(41, 87) + SourceIndex(0) +17>Emitted(25, 92) Source(41, 89) + SourceIndex(0) +18>Emitted(25, 93) Source(41, 90) + SourceIndex(0) +19>Emitted(25, 96) Source(41, 93) + SourceIndex(0) +20>Emitted(25, 97) Source(41, 94) + SourceIndex(0) +21>Emitted(25, 99) Source(41, 96) + SourceIndex(0) +22>Emitted(25, 100) Source(41, 97) + SourceIndex(0) +23>Emitted(25, 102) Source(41, 99) + SourceIndex(0) +24>Emitted(25, 104) Source(41, 101) + SourceIndex(0) +25>Emitted(25, 105) Source(41, 102) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -816,14 +817,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(25, 5) Source(42, 5) + SourceIndex(0) -2 >Emitted(25, 12) Source(42, 12) + SourceIndex(0) -3 >Emitted(25, 13) Source(42, 13) + SourceIndex(0) -4 >Emitted(25, 16) Source(42, 16) + SourceIndex(0) -5 >Emitted(25, 17) Source(42, 17) + SourceIndex(0) -6 >Emitted(25, 25) Source(42, 25) + SourceIndex(0) -7 >Emitted(25, 26) Source(42, 26) + SourceIndex(0) -8 >Emitted(25, 27) Source(42, 27) + SourceIndex(0) +1 >Emitted(26, 5) Source(42, 5) + SourceIndex(0) +2 >Emitted(26, 12) Source(42, 12) + SourceIndex(0) +3 >Emitted(26, 13) Source(42, 13) + SourceIndex(0) +4 >Emitted(26, 16) Source(42, 16) + SourceIndex(0) +5 >Emitted(26, 17) Source(42, 17) + SourceIndex(0) +6 >Emitted(26, 25) Source(42, 25) + SourceIndex(0) +7 >Emitted(26, 26) Source(42, 26) + SourceIndex(0) +8 >Emitted(26, 27) Source(42, 27) + SourceIndex(0) --- >>>} 1 > @@ -832,8 +833,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(26, 1) Source(43, 1) + SourceIndex(0) -2 >Emitted(26, 2) Source(43, 2) + SourceIndex(0) +1 >Emitted(27, 1) Source(43, 1) + SourceIndex(0) +2 >Emitted(27, 2) Source(43, 2) + SourceIndex(0) --- >>>for (_c = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }.skills, primaryA = _c.primary, secondaryA = _c.secondary, 1-> @@ -892,33 +893,33 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 25> , secondary: 26> secondaryA 27> -1->Emitted(27, 1) Source(44, 1) + SourceIndex(0) -2 >Emitted(27, 6) Source(44, 8) + SourceIndex(0) -3 >Emitted(27, 11) Source(45, 17) + SourceIndex(0) -4 >Emitted(27, 13) Source(45, 19) + SourceIndex(0) -5 >Emitted(27, 17) Source(45, 23) + SourceIndex(0) -6 >Emitted(27, 19) Source(45, 25) + SourceIndex(0) -7 >Emitted(27, 28) Source(45, 34) + SourceIndex(0) -8 >Emitted(27, 30) Source(45, 36) + SourceIndex(0) -9 >Emitted(27, 36) Source(45, 42) + SourceIndex(0) -10>Emitted(27, 38) Source(45, 44) + SourceIndex(0) -11>Emitted(27, 40) Source(45, 46) + SourceIndex(0) -12>Emitted(27, 47) Source(45, 53) + SourceIndex(0) -13>Emitted(27, 49) Source(45, 55) + SourceIndex(0) -14>Emitted(27, 59) Source(45, 65) + SourceIndex(0) -15>Emitted(27, 61) Source(45, 67) + SourceIndex(0) -16>Emitted(27, 70) Source(45, 76) + SourceIndex(0) -17>Emitted(27, 72) Source(45, 78) + SourceIndex(0) -18>Emitted(27, 80) Source(45, 86) + SourceIndex(0) -19>Emitted(27, 82) Source(45, 88) + SourceIndex(0) -20>Emitted(27, 84) Source(45, 90) + SourceIndex(0) -21>Emitted(27, 91) Source(44, 60) + SourceIndex(0) -22>Emitted(27, 93) Source(44, 27) + SourceIndex(0) -23>Emitted(27, 101) Source(44, 35) + SourceIndex(0) -24>Emitted(27, 114) Source(44, 35) + SourceIndex(0) -25>Emitted(27, 116) Source(44, 48) + SourceIndex(0) -26>Emitted(27, 126) Source(44, 58) + SourceIndex(0) -27>Emitted(27, 141) Source(44, 58) + SourceIndex(0) +1->Emitted(28, 1) Source(44, 1) + SourceIndex(0) +2 >Emitted(28, 6) Source(44, 8) + SourceIndex(0) +3 >Emitted(28, 11) Source(45, 17) + SourceIndex(0) +4 >Emitted(28, 13) Source(45, 19) + SourceIndex(0) +5 >Emitted(28, 17) Source(45, 23) + SourceIndex(0) +6 >Emitted(28, 19) Source(45, 25) + SourceIndex(0) +7 >Emitted(28, 28) Source(45, 34) + SourceIndex(0) +8 >Emitted(28, 30) Source(45, 36) + SourceIndex(0) +9 >Emitted(28, 36) Source(45, 42) + SourceIndex(0) +10>Emitted(28, 38) Source(45, 44) + SourceIndex(0) +11>Emitted(28, 40) Source(45, 46) + SourceIndex(0) +12>Emitted(28, 47) Source(45, 53) + SourceIndex(0) +13>Emitted(28, 49) Source(45, 55) + SourceIndex(0) +14>Emitted(28, 59) Source(45, 65) + SourceIndex(0) +15>Emitted(28, 61) Source(45, 67) + SourceIndex(0) +16>Emitted(28, 70) Source(45, 76) + SourceIndex(0) +17>Emitted(28, 72) Source(45, 78) + SourceIndex(0) +18>Emitted(28, 80) Source(45, 86) + SourceIndex(0) +19>Emitted(28, 82) Source(45, 88) + SourceIndex(0) +20>Emitted(28, 84) Source(45, 90) + SourceIndex(0) +21>Emitted(28, 91) Source(44, 60) + SourceIndex(0) +22>Emitted(28, 93) Source(44, 27) + SourceIndex(0) +23>Emitted(28, 101) Source(44, 35) + SourceIndex(0) +24>Emitted(28, 114) Source(44, 35) + SourceIndex(0) +25>Emitted(28, 116) Source(44, 48) + SourceIndex(0) +26>Emitted(28, 126) Source(44, 58) + SourceIndex(0) +27>Emitted(28, 141) Source(44, 58) + SourceIndex(0) --- >>> i = 0; i < 1; i++) { 1 >^^^^ @@ -950,19 +951,19 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 11> ++ 12> ) 13> { -1 >Emitted(28, 5) Source(46, 5) + SourceIndex(0) -2 >Emitted(28, 6) Source(46, 6) + SourceIndex(0) -3 >Emitted(28, 9) Source(46, 9) + SourceIndex(0) -4 >Emitted(28, 10) Source(46, 10) + SourceIndex(0) -5 >Emitted(28, 12) Source(46, 12) + SourceIndex(0) -6 >Emitted(28, 13) Source(46, 13) + SourceIndex(0) -7 >Emitted(28, 16) Source(46, 16) + SourceIndex(0) -8 >Emitted(28, 17) Source(46, 17) + SourceIndex(0) -9 >Emitted(28, 19) Source(46, 19) + SourceIndex(0) -10>Emitted(28, 20) Source(46, 20) + SourceIndex(0) -11>Emitted(28, 22) Source(46, 22) + SourceIndex(0) -12>Emitted(28, 24) Source(46, 24) + SourceIndex(0) -13>Emitted(28, 25) Source(46, 25) + SourceIndex(0) +1 >Emitted(29, 5) Source(46, 5) + SourceIndex(0) +2 >Emitted(29, 6) Source(46, 6) + SourceIndex(0) +3 >Emitted(29, 9) Source(46, 9) + SourceIndex(0) +4 >Emitted(29, 10) Source(46, 10) + SourceIndex(0) +5 >Emitted(29, 12) Source(46, 12) + SourceIndex(0) +6 >Emitted(29, 13) Source(46, 13) + SourceIndex(0) +7 >Emitted(29, 16) Source(46, 16) + SourceIndex(0) +8 >Emitted(29, 17) Source(46, 17) + SourceIndex(0) +9 >Emitted(29, 19) Source(46, 19) + SourceIndex(0) +10>Emitted(29, 20) Source(46, 20) + SourceIndex(0) +11>Emitted(29, 22) Source(46, 22) + SourceIndex(0) +12>Emitted(29, 24) Source(46, 24) + SourceIndex(0) +13>Emitted(29, 25) Source(46, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1->^^^^ @@ -982,14 +983,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1->Emitted(29, 5) Source(47, 5) + SourceIndex(0) -2 >Emitted(29, 12) Source(47, 12) + SourceIndex(0) -3 >Emitted(29, 13) Source(47, 13) + SourceIndex(0) -4 >Emitted(29, 16) Source(47, 16) + SourceIndex(0) -5 >Emitted(29, 17) Source(47, 17) + SourceIndex(0) -6 >Emitted(29, 25) Source(47, 25) + SourceIndex(0) -7 >Emitted(29, 26) Source(47, 26) + SourceIndex(0) -8 >Emitted(29, 27) Source(47, 27) + SourceIndex(0) +1->Emitted(30, 5) Source(47, 5) + SourceIndex(0) +2 >Emitted(30, 12) Source(47, 12) + SourceIndex(0) +3 >Emitted(30, 13) Source(47, 13) + SourceIndex(0) +4 >Emitted(30, 16) Source(47, 16) + SourceIndex(0) +5 >Emitted(30, 17) Source(47, 17) + SourceIndex(0) +6 >Emitted(30, 25) Source(47, 25) + SourceIndex(0) +7 >Emitted(30, 26) Source(47, 26) + SourceIndex(0) +8 >Emitted(30, 27) Source(47, 27) + SourceIndex(0) --- >>>} 1 > @@ -998,8 +999,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(30, 1) Source(48, 1) + SourceIndex(0) -2 >Emitted(30, 2) Source(48, 2) + SourceIndex(0) +1 >Emitted(31, 1) Source(48, 1) + SourceIndex(0) +2 >Emitted(31, 2) Source(48, 2) + SourceIndex(0) --- >>>for (name = robot.name, i = 0; i < 1; i++) { 1-> @@ -1041,25 +1042,25 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 17> ++ 18> ) 19> { -1->Emitted(31, 1) Source(49, 1) + SourceIndex(0) -2 >Emitted(31, 6) Source(49, 8) + SourceIndex(0) -3 >Emitted(31, 10) Source(49, 12) + SourceIndex(0) -4 >Emitted(31, 13) Source(49, 17) + SourceIndex(0) -5 >Emitted(31, 18) Source(49, 22) + SourceIndex(0) -6 >Emitted(31, 23) Source(49, 12) + SourceIndex(0) -7 >Emitted(31, 25) Source(49, 24) + SourceIndex(0) -8 >Emitted(31, 26) Source(49, 25) + SourceIndex(0) -9 >Emitted(31, 29) Source(49, 28) + SourceIndex(0) -10>Emitted(31, 30) Source(49, 29) + SourceIndex(0) -11>Emitted(31, 32) Source(49, 31) + SourceIndex(0) -12>Emitted(31, 33) Source(49, 32) + SourceIndex(0) -13>Emitted(31, 36) Source(49, 35) + SourceIndex(0) -14>Emitted(31, 37) Source(49, 36) + SourceIndex(0) -15>Emitted(31, 39) Source(49, 38) + SourceIndex(0) -16>Emitted(31, 40) Source(49, 39) + SourceIndex(0) -17>Emitted(31, 42) Source(49, 41) + SourceIndex(0) -18>Emitted(31, 44) Source(49, 43) + SourceIndex(0) -19>Emitted(31, 45) Source(49, 44) + SourceIndex(0) +1->Emitted(32, 1) Source(49, 1) + SourceIndex(0) +2 >Emitted(32, 6) Source(49, 8) + SourceIndex(0) +3 >Emitted(32, 10) Source(49, 12) + SourceIndex(0) +4 >Emitted(32, 13) Source(49, 17) + SourceIndex(0) +5 >Emitted(32, 18) Source(49, 22) + SourceIndex(0) +6 >Emitted(32, 23) Source(49, 12) + SourceIndex(0) +7 >Emitted(32, 25) Source(49, 24) + SourceIndex(0) +8 >Emitted(32, 26) Source(49, 25) + SourceIndex(0) +9 >Emitted(32, 29) Source(49, 28) + SourceIndex(0) +10>Emitted(32, 30) Source(49, 29) + SourceIndex(0) +11>Emitted(32, 32) Source(49, 31) + SourceIndex(0) +12>Emitted(32, 33) Source(49, 32) + SourceIndex(0) +13>Emitted(32, 36) Source(49, 35) + SourceIndex(0) +14>Emitted(32, 37) Source(49, 36) + SourceIndex(0) +15>Emitted(32, 39) Source(49, 38) + SourceIndex(0) +16>Emitted(32, 40) Source(49, 39) + SourceIndex(0) +17>Emitted(32, 42) Source(49, 41) + SourceIndex(0) +18>Emitted(32, 44) Source(49, 43) + SourceIndex(0) +19>Emitted(32, 45) Source(49, 44) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1079,14 +1080,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(32, 5) Source(50, 5) + SourceIndex(0) -2 >Emitted(32, 12) Source(50, 12) + SourceIndex(0) -3 >Emitted(32, 13) Source(50, 13) + SourceIndex(0) -4 >Emitted(32, 16) Source(50, 16) + SourceIndex(0) -5 >Emitted(32, 17) Source(50, 17) + SourceIndex(0) -6 >Emitted(32, 22) Source(50, 22) + SourceIndex(0) -7 >Emitted(32, 23) Source(50, 23) + SourceIndex(0) -8 >Emitted(32, 24) Source(50, 24) + SourceIndex(0) +1 >Emitted(33, 5) Source(50, 5) + SourceIndex(0) +2 >Emitted(33, 12) Source(50, 12) + SourceIndex(0) +3 >Emitted(33, 13) Source(50, 13) + SourceIndex(0) +4 >Emitted(33, 16) Source(50, 16) + SourceIndex(0) +5 >Emitted(33, 17) Source(50, 17) + SourceIndex(0) +6 >Emitted(33, 22) Source(50, 22) + SourceIndex(0) +7 >Emitted(33, 23) Source(50, 23) + SourceIndex(0) +8 >Emitted(33, 24) Source(50, 24) + SourceIndex(0) --- >>>} 1 > @@ -1095,8 +1096,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(33, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(33, 2) Source(51, 2) + SourceIndex(0) +1 >Emitted(34, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(34, 2) Source(51, 2) + SourceIndex(0) --- >>>for (name = getRobot().name, i = 0; i < 1; i++) { 1-> @@ -1140,26 +1141,26 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 18> ++ 19> ) 20> { -1->Emitted(34, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(34, 6) Source(52, 8) + SourceIndex(0) -3 >Emitted(34, 10) Source(52, 12) + SourceIndex(0) -4 >Emitted(34, 13) Source(52, 17) + SourceIndex(0) -5 >Emitted(34, 21) Source(52, 25) + SourceIndex(0) -6 >Emitted(34, 23) Source(52, 27) + SourceIndex(0) -7 >Emitted(34, 28) Source(52, 12) + SourceIndex(0) -8 >Emitted(34, 30) Source(52, 29) + SourceIndex(0) -9 >Emitted(34, 31) Source(52, 30) + SourceIndex(0) -10>Emitted(34, 34) Source(52, 33) + SourceIndex(0) -11>Emitted(34, 35) Source(52, 34) + SourceIndex(0) -12>Emitted(34, 37) Source(52, 36) + SourceIndex(0) -13>Emitted(34, 38) Source(52, 37) + SourceIndex(0) -14>Emitted(34, 41) Source(52, 40) + SourceIndex(0) -15>Emitted(34, 42) Source(52, 41) + SourceIndex(0) -16>Emitted(34, 44) Source(52, 43) + SourceIndex(0) -17>Emitted(34, 45) Source(52, 44) + SourceIndex(0) -18>Emitted(34, 47) Source(52, 46) + SourceIndex(0) -19>Emitted(34, 49) Source(52, 48) + SourceIndex(0) -20>Emitted(34, 50) Source(52, 49) + SourceIndex(0) +1->Emitted(35, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(35, 6) Source(52, 8) + SourceIndex(0) +3 >Emitted(35, 10) Source(52, 12) + SourceIndex(0) +4 >Emitted(35, 13) Source(52, 17) + SourceIndex(0) +5 >Emitted(35, 21) Source(52, 25) + SourceIndex(0) +6 >Emitted(35, 23) Source(52, 27) + SourceIndex(0) +7 >Emitted(35, 28) Source(52, 12) + SourceIndex(0) +8 >Emitted(35, 30) Source(52, 29) + SourceIndex(0) +9 >Emitted(35, 31) Source(52, 30) + SourceIndex(0) +10>Emitted(35, 34) Source(52, 33) + SourceIndex(0) +11>Emitted(35, 35) Source(52, 34) + SourceIndex(0) +12>Emitted(35, 37) Source(52, 36) + SourceIndex(0) +13>Emitted(35, 38) Source(52, 37) + SourceIndex(0) +14>Emitted(35, 41) Source(52, 40) + SourceIndex(0) +15>Emitted(35, 42) Source(52, 41) + SourceIndex(0) +16>Emitted(35, 44) Source(52, 43) + SourceIndex(0) +17>Emitted(35, 45) Source(52, 44) + SourceIndex(0) +18>Emitted(35, 47) Source(52, 46) + SourceIndex(0) +19>Emitted(35, 49) Source(52, 48) + SourceIndex(0) +20>Emitted(35, 50) Source(52, 49) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1179,14 +1180,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(35, 5) Source(53, 5) + SourceIndex(0) -2 >Emitted(35, 12) Source(53, 12) + SourceIndex(0) -3 >Emitted(35, 13) Source(53, 13) + SourceIndex(0) -4 >Emitted(35, 16) Source(53, 16) + SourceIndex(0) -5 >Emitted(35, 17) Source(53, 17) + SourceIndex(0) -6 >Emitted(35, 22) Source(53, 22) + SourceIndex(0) -7 >Emitted(35, 23) Source(53, 23) + SourceIndex(0) -8 >Emitted(35, 24) Source(53, 24) + SourceIndex(0) +1 >Emitted(36, 5) Source(53, 5) + SourceIndex(0) +2 >Emitted(36, 12) Source(53, 12) + SourceIndex(0) +3 >Emitted(36, 13) Source(53, 13) + SourceIndex(0) +4 >Emitted(36, 16) Source(53, 16) + SourceIndex(0) +5 >Emitted(36, 17) Source(53, 17) + SourceIndex(0) +6 >Emitted(36, 22) Source(53, 22) + SourceIndex(0) +7 >Emitted(36, 23) Source(53, 23) + SourceIndex(0) +8 >Emitted(36, 24) Source(53, 24) + SourceIndex(0) --- >>>} 1 > @@ -1195,8 +1196,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(36, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(36, 2) Source(54, 2) + SourceIndex(0) +1 >Emitted(37, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(37, 2) Source(54, 2) + SourceIndex(0) --- >>>for (name = { name: "trimmer", skill: "trimming" }.name, i = 0; i < 1; i++) { 1-> @@ -1254,33 +1255,33 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 25> ++ 26> ) 27> { -1->Emitted(37, 1) Source(55, 1) + SourceIndex(0) -2 >Emitted(37, 6) Source(55, 8) + SourceIndex(0) -3 >Emitted(37, 10) Source(55, 12) + SourceIndex(0) -4 >Emitted(37, 13) Source(55, 24) + SourceIndex(0) -5 >Emitted(37, 15) Source(55, 26) + SourceIndex(0) -6 >Emitted(37, 19) Source(55, 30) + SourceIndex(0) -7 >Emitted(37, 21) Source(55, 32) + SourceIndex(0) -8 >Emitted(37, 30) Source(55, 41) + SourceIndex(0) -9 >Emitted(37, 32) Source(55, 43) + SourceIndex(0) -10>Emitted(37, 37) Source(55, 48) + SourceIndex(0) -11>Emitted(37, 39) Source(55, 50) + SourceIndex(0) -12>Emitted(37, 49) Source(55, 60) + SourceIndex(0) -13>Emitted(37, 51) Source(55, 62) + SourceIndex(0) -14>Emitted(37, 56) Source(55, 12) + SourceIndex(0) -15>Emitted(37, 58) Source(55, 64) + SourceIndex(0) -16>Emitted(37, 59) Source(55, 65) + SourceIndex(0) -17>Emitted(37, 62) Source(55, 68) + SourceIndex(0) -18>Emitted(37, 63) Source(55, 69) + SourceIndex(0) -19>Emitted(37, 65) Source(55, 71) + SourceIndex(0) -20>Emitted(37, 66) Source(55, 72) + SourceIndex(0) -21>Emitted(37, 69) Source(55, 75) + SourceIndex(0) -22>Emitted(37, 70) Source(55, 76) + SourceIndex(0) -23>Emitted(37, 72) Source(55, 78) + SourceIndex(0) -24>Emitted(37, 73) Source(55, 79) + SourceIndex(0) -25>Emitted(37, 75) Source(55, 81) + SourceIndex(0) -26>Emitted(37, 77) Source(55, 83) + SourceIndex(0) -27>Emitted(37, 78) Source(55, 84) + SourceIndex(0) +1->Emitted(38, 1) Source(55, 1) + SourceIndex(0) +2 >Emitted(38, 6) Source(55, 8) + SourceIndex(0) +3 >Emitted(38, 10) Source(55, 12) + SourceIndex(0) +4 >Emitted(38, 13) Source(55, 24) + SourceIndex(0) +5 >Emitted(38, 15) Source(55, 26) + SourceIndex(0) +6 >Emitted(38, 19) Source(55, 30) + SourceIndex(0) +7 >Emitted(38, 21) Source(55, 32) + SourceIndex(0) +8 >Emitted(38, 30) Source(55, 41) + SourceIndex(0) +9 >Emitted(38, 32) Source(55, 43) + SourceIndex(0) +10>Emitted(38, 37) Source(55, 48) + SourceIndex(0) +11>Emitted(38, 39) Source(55, 50) + SourceIndex(0) +12>Emitted(38, 49) Source(55, 60) + SourceIndex(0) +13>Emitted(38, 51) Source(55, 62) + SourceIndex(0) +14>Emitted(38, 56) Source(55, 12) + SourceIndex(0) +15>Emitted(38, 58) Source(55, 64) + SourceIndex(0) +16>Emitted(38, 59) Source(55, 65) + SourceIndex(0) +17>Emitted(38, 62) Source(55, 68) + SourceIndex(0) +18>Emitted(38, 63) Source(55, 69) + SourceIndex(0) +19>Emitted(38, 65) Source(55, 71) + SourceIndex(0) +20>Emitted(38, 66) Source(55, 72) + SourceIndex(0) +21>Emitted(38, 69) Source(55, 75) + SourceIndex(0) +22>Emitted(38, 70) Source(55, 76) + SourceIndex(0) +23>Emitted(38, 72) Source(55, 78) + SourceIndex(0) +24>Emitted(38, 73) Source(55, 79) + SourceIndex(0) +25>Emitted(38, 75) Source(55, 81) + SourceIndex(0) +26>Emitted(38, 77) Source(55, 83) + SourceIndex(0) +27>Emitted(38, 78) Source(55, 84) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1300,14 +1301,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(38, 5) Source(56, 5) + SourceIndex(0) -2 >Emitted(38, 12) Source(56, 12) + SourceIndex(0) -3 >Emitted(38, 13) Source(56, 13) + SourceIndex(0) -4 >Emitted(38, 16) Source(56, 16) + SourceIndex(0) -5 >Emitted(38, 17) Source(56, 17) + SourceIndex(0) -6 >Emitted(38, 22) Source(56, 22) + SourceIndex(0) -7 >Emitted(38, 23) Source(56, 23) + SourceIndex(0) -8 >Emitted(38, 24) Source(56, 24) + SourceIndex(0) +1 >Emitted(39, 5) Source(56, 5) + SourceIndex(0) +2 >Emitted(39, 12) Source(56, 12) + SourceIndex(0) +3 >Emitted(39, 13) Source(56, 13) + SourceIndex(0) +4 >Emitted(39, 16) Source(56, 16) + SourceIndex(0) +5 >Emitted(39, 17) Source(56, 17) + SourceIndex(0) +6 >Emitted(39, 22) Source(56, 22) + SourceIndex(0) +7 >Emitted(39, 23) Source(56, 23) + SourceIndex(0) +8 >Emitted(39, 24) Source(56, 24) + SourceIndex(0) --- >>>} 1 > @@ -1316,8 +1317,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(39, 1) Source(57, 1) + SourceIndex(0) -2 >Emitted(39, 2) Source(57, 2) + SourceIndex(0) +1 >Emitted(40, 1) Source(57, 1) + SourceIndex(0) +2 >Emitted(40, 2) Source(57, 2) + SourceIndex(0) --- >>>for (_d = multiRobot.skills, primary = _d.primary, secondary = _d.secondary, i = 0; i < 1; i++) { 1-> @@ -1369,30 +1370,30 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 22> ++ 23> ) 24> { -1->Emitted(40, 1) Source(58, 1) + SourceIndex(0) -2 >Emitted(40, 6) Source(58, 8) + SourceIndex(0) -3 >Emitted(40, 11) Source(58, 43) + SourceIndex(0) -4 >Emitted(40, 21) Source(58, 53) + SourceIndex(0) -5 >Emitted(40, 28) Source(58, 38) + SourceIndex(0) -6 >Emitted(40, 30) Source(58, 18) + SourceIndex(0) -7 >Emitted(40, 37) Source(58, 25) + SourceIndex(0) -8 >Emitted(40, 50) Source(58, 25) + SourceIndex(0) -9 >Emitted(40, 52) Source(58, 27) + SourceIndex(0) -10>Emitted(40, 61) Source(58, 36) + SourceIndex(0) -11>Emitted(40, 76) Source(58, 36) + SourceIndex(0) -12>Emitted(40, 78) Source(58, 55) + SourceIndex(0) -13>Emitted(40, 79) Source(58, 56) + SourceIndex(0) -14>Emitted(40, 82) Source(58, 59) + SourceIndex(0) -15>Emitted(40, 83) Source(58, 60) + SourceIndex(0) -16>Emitted(40, 85) Source(58, 62) + SourceIndex(0) -17>Emitted(40, 86) Source(58, 63) + SourceIndex(0) -18>Emitted(40, 89) Source(58, 66) + SourceIndex(0) -19>Emitted(40, 90) Source(58, 67) + SourceIndex(0) -20>Emitted(40, 92) Source(58, 69) + SourceIndex(0) -21>Emitted(40, 93) Source(58, 70) + SourceIndex(0) -22>Emitted(40, 95) Source(58, 72) + SourceIndex(0) -23>Emitted(40, 97) Source(58, 74) + SourceIndex(0) -24>Emitted(40, 98) Source(58, 75) + SourceIndex(0) +1->Emitted(41, 1) Source(58, 1) + SourceIndex(0) +2 >Emitted(41, 6) Source(58, 8) + SourceIndex(0) +3 >Emitted(41, 11) Source(58, 43) + SourceIndex(0) +4 >Emitted(41, 21) Source(58, 53) + SourceIndex(0) +5 >Emitted(41, 28) Source(58, 38) + SourceIndex(0) +6 >Emitted(41, 30) Source(58, 18) + SourceIndex(0) +7 >Emitted(41, 37) Source(58, 25) + SourceIndex(0) +8 >Emitted(41, 50) Source(58, 25) + SourceIndex(0) +9 >Emitted(41, 52) Source(58, 27) + SourceIndex(0) +10>Emitted(41, 61) Source(58, 36) + SourceIndex(0) +11>Emitted(41, 76) Source(58, 36) + SourceIndex(0) +12>Emitted(41, 78) Source(58, 55) + SourceIndex(0) +13>Emitted(41, 79) Source(58, 56) + SourceIndex(0) +14>Emitted(41, 82) Source(58, 59) + SourceIndex(0) +15>Emitted(41, 83) Source(58, 60) + SourceIndex(0) +16>Emitted(41, 85) Source(58, 62) + SourceIndex(0) +17>Emitted(41, 86) Source(58, 63) + SourceIndex(0) +18>Emitted(41, 89) Source(58, 66) + SourceIndex(0) +19>Emitted(41, 90) Source(58, 67) + SourceIndex(0) +20>Emitted(41, 92) Source(58, 69) + SourceIndex(0) +21>Emitted(41, 93) Source(58, 70) + SourceIndex(0) +22>Emitted(41, 95) Source(58, 72) + SourceIndex(0) +23>Emitted(41, 97) Source(58, 74) + SourceIndex(0) +24>Emitted(41, 98) Source(58, 75) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1412,14 +1413,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(41, 5) Source(59, 5) + SourceIndex(0) -2 >Emitted(41, 12) Source(59, 12) + SourceIndex(0) -3 >Emitted(41, 13) Source(59, 13) + SourceIndex(0) -4 >Emitted(41, 16) Source(59, 16) + SourceIndex(0) -5 >Emitted(41, 17) Source(59, 17) + SourceIndex(0) -6 >Emitted(41, 25) Source(59, 25) + SourceIndex(0) -7 >Emitted(41, 26) Source(59, 26) + SourceIndex(0) -8 >Emitted(41, 27) Source(59, 27) + SourceIndex(0) +1 >Emitted(42, 5) Source(59, 5) + SourceIndex(0) +2 >Emitted(42, 12) Source(59, 12) + SourceIndex(0) +3 >Emitted(42, 13) Source(59, 13) + SourceIndex(0) +4 >Emitted(42, 16) Source(59, 16) + SourceIndex(0) +5 >Emitted(42, 17) Source(59, 17) + SourceIndex(0) +6 >Emitted(42, 25) Source(59, 25) + SourceIndex(0) +7 >Emitted(42, 26) Source(59, 26) + SourceIndex(0) +8 >Emitted(42, 27) Source(59, 27) + SourceIndex(0) --- >>>} 1 > @@ -1428,8 +1429,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(42, 1) Source(60, 1) + SourceIndex(0) -2 >Emitted(42, 2) Source(60, 2) + SourceIndex(0) +1 >Emitted(43, 1) Source(60, 1) + SourceIndex(0) +2 >Emitted(43, 2) Source(60, 2) + SourceIndex(0) --- >>>for (_e = getMultiRobot().skills, primary = _e.primary, secondary = _e.secondary, i = 0; i < 1; i++) { 1-> @@ -1483,31 +1484,31 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 23> ++ 24> ) 25> { -1->Emitted(43, 1) Source(61, 1) + SourceIndex(0) -2 >Emitted(43, 6) Source(61, 8) + SourceIndex(0) -3 >Emitted(43, 11) Source(61, 43) + SourceIndex(0) -4 >Emitted(43, 24) Source(61, 56) + SourceIndex(0) -5 >Emitted(43, 26) Source(61, 58) + SourceIndex(0) -6 >Emitted(43, 33) Source(61, 38) + SourceIndex(0) -7 >Emitted(43, 35) Source(61, 18) + SourceIndex(0) -8 >Emitted(43, 42) Source(61, 25) + SourceIndex(0) -9 >Emitted(43, 55) Source(61, 25) + SourceIndex(0) -10>Emitted(43, 57) Source(61, 27) + SourceIndex(0) -11>Emitted(43, 66) Source(61, 36) + SourceIndex(0) -12>Emitted(43, 81) Source(61, 36) + SourceIndex(0) -13>Emitted(43, 83) Source(61, 60) + SourceIndex(0) -14>Emitted(43, 84) Source(61, 61) + SourceIndex(0) -15>Emitted(43, 87) Source(61, 64) + SourceIndex(0) -16>Emitted(43, 88) Source(61, 65) + SourceIndex(0) -17>Emitted(43, 90) Source(61, 67) + SourceIndex(0) -18>Emitted(43, 91) Source(61, 68) + SourceIndex(0) -19>Emitted(43, 94) Source(61, 71) + SourceIndex(0) -20>Emitted(43, 95) Source(61, 72) + SourceIndex(0) -21>Emitted(43, 97) Source(61, 74) + SourceIndex(0) -22>Emitted(43, 98) Source(61, 75) + SourceIndex(0) -23>Emitted(43, 100) Source(61, 77) + SourceIndex(0) -24>Emitted(43, 102) Source(61, 79) + SourceIndex(0) -25>Emitted(43, 103) Source(61, 80) + SourceIndex(0) +1->Emitted(44, 1) Source(61, 1) + SourceIndex(0) +2 >Emitted(44, 6) Source(61, 8) + SourceIndex(0) +3 >Emitted(44, 11) Source(61, 43) + SourceIndex(0) +4 >Emitted(44, 24) Source(61, 56) + SourceIndex(0) +5 >Emitted(44, 26) Source(61, 58) + SourceIndex(0) +6 >Emitted(44, 33) Source(61, 38) + SourceIndex(0) +7 >Emitted(44, 35) Source(61, 18) + SourceIndex(0) +8 >Emitted(44, 42) Source(61, 25) + SourceIndex(0) +9 >Emitted(44, 55) Source(61, 25) + SourceIndex(0) +10>Emitted(44, 57) Source(61, 27) + SourceIndex(0) +11>Emitted(44, 66) Source(61, 36) + SourceIndex(0) +12>Emitted(44, 81) Source(61, 36) + SourceIndex(0) +13>Emitted(44, 83) Source(61, 60) + SourceIndex(0) +14>Emitted(44, 84) Source(61, 61) + SourceIndex(0) +15>Emitted(44, 87) Source(61, 64) + SourceIndex(0) +16>Emitted(44, 88) Source(61, 65) + SourceIndex(0) +17>Emitted(44, 90) Source(61, 67) + SourceIndex(0) +18>Emitted(44, 91) Source(61, 68) + SourceIndex(0) +19>Emitted(44, 94) Source(61, 71) + SourceIndex(0) +20>Emitted(44, 95) Source(61, 72) + SourceIndex(0) +21>Emitted(44, 97) Source(61, 74) + SourceIndex(0) +22>Emitted(44, 98) Source(61, 75) + SourceIndex(0) +23>Emitted(44, 100) Source(61, 77) + SourceIndex(0) +24>Emitted(44, 102) Source(61, 79) + SourceIndex(0) +25>Emitted(44, 103) Source(61, 80) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1527,14 +1528,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(44, 5) Source(62, 5) + SourceIndex(0) -2 >Emitted(44, 12) Source(62, 12) + SourceIndex(0) -3 >Emitted(44, 13) Source(62, 13) + SourceIndex(0) -4 >Emitted(44, 16) Source(62, 16) + SourceIndex(0) -5 >Emitted(44, 17) Source(62, 17) + SourceIndex(0) -6 >Emitted(44, 25) Source(62, 25) + SourceIndex(0) -7 >Emitted(44, 26) Source(62, 26) + SourceIndex(0) -8 >Emitted(44, 27) Source(62, 27) + SourceIndex(0) +1 >Emitted(45, 5) Source(62, 5) + SourceIndex(0) +2 >Emitted(45, 12) Source(62, 12) + SourceIndex(0) +3 >Emitted(45, 13) Source(62, 13) + SourceIndex(0) +4 >Emitted(45, 16) Source(62, 16) + SourceIndex(0) +5 >Emitted(45, 17) Source(62, 17) + SourceIndex(0) +6 >Emitted(45, 25) Source(62, 25) + SourceIndex(0) +7 >Emitted(45, 26) Source(62, 26) + SourceIndex(0) +8 >Emitted(45, 27) Source(62, 27) + SourceIndex(0) --- >>>} 1 > @@ -1543,8 +1544,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(45, 1) Source(63, 1) + SourceIndex(0) -2 >Emitted(45, 2) Source(63, 2) + SourceIndex(0) +1 >Emitted(46, 1) Source(63, 1) + SourceIndex(0) +2 >Emitted(46, 2) Source(63, 2) + SourceIndex(0) --- >>>for (_f = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }.skills, primary = _f.primary, secondary = _f.secondary, 1-> @@ -1603,33 +1604,33 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 25> , 26> secondary 27> -1->Emitted(46, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(46, 6) Source(64, 8) + SourceIndex(0) -3 >Emitted(46, 11) Source(65, 17) + SourceIndex(0) -4 >Emitted(46, 13) Source(65, 19) + SourceIndex(0) -5 >Emitted(46, 17) Source(65, 23) + SourceIndex(0) -6 >Emitted(46, 19) Source(65, 25) + SourceIndex(0) -7 >Emitted(46, 28) Source(65, 34) + SourceIndex(0) -8 >Emitted(46, 30) Source(65, 36) + SourceIndex(0) -9 >Emitted(46, 36) Source(65, 42) + SourceIndex(0) -10>Emitted(46, 38) Source(65, 44) + SourceIndex(0) -11>Emitted(46, 40) Source(65, 46) + SourceIndex(0) -12>Emitted(46, 47) Source(65, 53) + SourceIndex(0) -13>Emitted(46, 49) Source(65, 55) + SourceIndex(0) -14>Emitted(46, 59) Source(65, 65) + SourceIndex(0) -15>Emitted(46, 61) Source(65, 67) + SourceIndex(0) -16>Emitted(46, 70) Source(65, 76) + SourceIndex(0) -17>Emitted(46, 72) Source(65, 78) + SourceIndex(0) -18>Emitted(46, 80) Source(65, 86) + SourceIndex(0) -19>Emitted(46, 82) Source(65, 88) + SourceIndex(0) -20>Emitted(46, 84) Source(65, 90) + SourceIndex(0) -21>Emitted(46, 91) Source(64, 38) + SourceIndex(0) -22>Emitted(46, 93) Source(64, 18) + SourceIndex(0) -23>Emitted(46, 100) Source(64, 25) + SourceIndex(0) -24>Emitted(46, 113) Source(64, 25) + SourceIndex(0) -25>Emitted(46, 115) Source(64, 27) + SourceIndex(0) -26>Emitted(46, 124) Source(64, 36) + SourceIndex(0) -27>Emitted(46, 139) Source(64, 36) + SourceIndex(0) +1->Emitted(47, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(47, 6) Source(64, 8) + SourceIndex(0) +3 >Emitted(47, 11) Source(65, 17) + SourceIndex(0) +4 >Emitted(47, 13) Source(65, 19) + SourceIndex(0) +5 >Emitted(47, 17) Source(65, 23) + SourceIndex(0) +6 >Emitted(47, 19) Source(65, 25) + SourceIndex(0) +7 >Emitted(47, 28) Source(65, 34) + SourceIndex(0) +8 >Emitted(47, 30) Source(65, 36) + SourceIndex(0) +9 >Emitted(47, 36) Source(65, 42) + SourceIndex(0) +10>Emitted(47, 38) Source(65, 44) + SourceIndex(0) +11>Emitted(47, 40) Source(65, 46) + SourceIndex(0) +12>Emitted(47, 47) Source(65, 53) + SourceIndex(0) +13>Emitted(47, 49) Source(65, 55) + SourceIndex(0) +14>Emitted(47, 59) Source(65, 65) + SourceIndex(0) +15>Emitted(47, 61) Source(65, 67) + SourceIndex(0) +16>Emitted(47, 70) Source(65, 76) + SourceIndex(0) +17>Emitted(47, 72) Source(65, 78) + SourceIndex(0) +18>Emitted(47, 80) Source(65, 86) + SourceIndex(0) +19>Emitted(47, 82) Source(65, 88) + SourceIndex(0) +20>Emitted(47, 84) Source(65, 90) + SourceIndex(0) +21>Emitted(47, 91) Source(64, 38) + SourceIndex(0) +22>Emitted(47, 93) Source(64, 18) + SourceIndex(0) +23>Emitted(47, 100) Source(64, 25) + SourceIndex(0) +24>Emitted(47, 113) Source(64, 25) + SourceIndex(0) +25>Emitted(47, 115) Source(64, 27) + SourceIndex(0) +26>Emitted(47, 124) Source(64, 36) + SourceIndex(0) +27>Emitted(47, 139) Source(64, 36) + SourceIndex(0) --- >>> i = 0; i < 1; i++) { 1 >^^^^ @@ -1661,19 +1662,19 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 11> ++ 12> ) 13> { -1 >Emitted(47, 5) Source(66, 5) + SourceIndex(0) -2 >Emitted(47, 6) Source(66, 6) + SourceIndex(0) -3 >Emitted(47, 9) Source(66, 9) + SourceIndex(0) -4 >Emitted(47, 10) Source(66, 10) + SourceIndex(0) -5 >Emitted(47, 12) Source(66, 12) + SourceIndex(0) -6 >Emitted(47, 13) Source(66, 13) + SourceIndex(0) -7 >Emitted(47, 16) Source(66, 16) + SourceIndex(0) -8 >Emitted(47, 17) Source(66, 17) + SourceIndex(0) -9 >Emitted(47, 19) Source(66, 19) + SourceIndex(0) -10>Emitted(47, 20) Source(66, 20) + SourceIndex(0) -11>Emitted(47, 22) Source(66, 22) + SourceIndex(0) -12>Emitted(47, 24) Source(66, 24) + SourceIndex(0) -13>Emitted(47, 25) Source(66, 25) + SourceIndex(0) +1 >Emitted(48, 5) Source(66, 5) + SourceIndex(0) +2 >Emitted(48, 6) Source(66, 6) + SourceIndex(0) +3 >Emitted(48, 9) Source(66, 9) + SourceIndex(0) +4 >Emitted(48, 10) Source(66, 10) + SourceIndex(0) +5 >Emitted(48, 12) Source(66, 12) + SourceIndex(0) +6 >Emitted(48, 13) Source(66, 13) + SourceIndex(0) +7 >Emitted(48, 16) Source(66, 16) + SourceIndex(0) +8 >Emitted(48, 17) Source(66, 17) + SourceIndex(0) +9 >Emitted(48, 19) Source(66, 19) + SourceIndex(0) +10>Emitted(48, 20) Source(66, 20) + SourceIndex(0) +11>Emitted(48, 22) Source(66, 22) + SourceIndex(0) +12>Emitted(48, 24) Source(66, 24) + SourceIndex(0) +13>Emitted(48, 25) Source(66, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1->^^^^ @@ -1693,14 +1694,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1->Emitted(48, 5) Source(67, 5) + SourceIndex(0) -2 >Emitted(48, 12) Source(67, 12) + SourceIndex(0) -3 >Emitted(48, 13) Source(67, 13) + SourceIndex(0) -4 >Emitted(48, 16) Source(67, 16) + SourceIndex(0) -5 >Emitted(48, 17) Source(67, 17) + SourceIndex(0) -6 >Emitted(48, 25) Source(67, 25) + SourceIndex(0) -7 >Emitted(48, 26) Source(67, 26) + SourceIndex(0) -8 >Emitted(48, 27) Source(67, 27) + SourceIndex(0) +1->Emitted(49, 5) Source(67, 5) + SourceIndex(0) +2 >Emitted(49, 12) Source(67, 12) + SourceIndex(0) +3 >Emitted(49, 13) Source(67, 13) + SourceIndex(0) +4 >Emitted(49, 16) Source(67, 16) + SourceIndex(0) +5 >Emitted(49, 17) Source(67, 17) + SourceIndex(0) +6 >Emitted(49, 25) Source(67, 25) + SourceIndex(0) +7 >Emitted(49, 26) Source(67, 26) + SourceIndex(0) +8 >Emitted(49, 27) Source(67, 27) + SourceIndex(0) --- >>>} 1 > @@ -1709,8 +1710,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(49, 1) Source(68, 1) + SourceIndex(0) -2 >Emitted(49, 2) Source(68, 2) + SourceIndex(0) +1 >Emitted(50, 1) Source(68, 1) + SourceIndex(0) +2 >Emitted(50, 2) Source(68, 2) + SourceIndex(0) --- >>>for (nameA = robot.name, skillA = robot.skill, i = 0; i < 1; i++) { 1-> @@ -1764,30 +1765,30 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 22> ++ 23> ) 24> { -1->Emitted(50, 1) Source(71, 1) + SourceIndex(0) -2 >Emitted(50, 6) Source(71, 14) + SourceIndex(0) -3 >Emitted(50, 11) Source(71, 19) + SourceIndex(0) -4 >Emitted(50, 14) Source(71, 39) + SourceIndex(0) -5 >Emitted(50, 19) Source(71, 44) + SourceIndex(0) -6 >Emitted(50, 24) Source(71, 19) + SourceIndex(0) -7 >Emitted(50, 26) Source(71, 28) + SourceIndex(0) -8 >Emitted(50, 32) Source(71, 34) + SourceIndex(0) -9 >Emitted(50, 35) Source(71, 39) + SourceIndex(0) -10>Emitted(50, 40) Source(71, 44) + SourceIndex(0) -11>Emitted(50, 46) Source(71, 34) + SourceIndex(0) -12>Emitted(50, 48) Source(71, 46) + SourceIndex(0) -13>Emitted(50, 49) Source(71, 47) + SourceIndex(0) -14>Emitted(50, 52) Source(71, 50) + SourceIndex(0) -15>Emitted(50, 53) Source(71, 51) + SourceIndex(0) -16>Emitted(50, 55) Source(71, 53) + SourceIndex(0) -17>Emitted(50, 56) Source(71, 54) + SourceIndex(0) -18>Emitted(50, 59) Source(71, 57) + SourceIndex(0) -19>Emitted(50, 60) Source(71, 58) + SourceIndex(0) -20>Emitted(50, 62) Source(71, 60) + SourceIndex(0) -21>Emitted(50, 63) Source(71, 61) + SourceIndex(0) -22>Emitted(50, 65) Source(71, 63) + SourceIndex(0) -23>Emitted(50, 67) Source(71, 65) + SourceIndex(0) -24>Emitted(50, 68) Source(71, 66) + SourceIndex(0) +1->Emitted(51, 1) Source(71, 1) + SourceIndex(0) +2 >Emitted(51, 6) Source(71, 14) + SourceIndex(0) +3 >Emitted(51, 11) Source(71, 19) + SourceIndex(0) +4 >Emitted(51, 14) Source(71, 39) + SourceIndex(0) +5 >Emitted(51, 19) Source(71, 44) + SourceIndex(0) +6 >Emitted(51, 24) Source(71, 19) + SourceIndex(0) +7 >Emitted(51, 26) Source(71, 28) + SourceIndex(0) +8 >Emitted(51, 32) Source(71, 34) + SourceIndex(0) +9 >Emitted(51, 35) Source(71, 39) + SourceIndex(0) +10>Emitted(51, 40) Source(71, 44) + SourceIndex(0) +11>Emitted(51, 46) Source(71, 34) + SourceIndex(0) +12>Emitted(51, 48) Source(71, 46) + SourceIndex(0) +13>Emitted(51, 49) Source(71, 47) + SourceIndex(0) +14>Emitted(51, 52) Source(71, 50) + SourceIndex(0) +15>Emitted(51, 53) Source(71, 51) + SourceIndex(0) +16>Emitted(51, 55) Source(71, 53) + SourceIndex(0) +17>Emitted(51, 56) Source(71, 54) + SourceIndex(0) +18>Emitted(51, 59) Source(71, 57) + SourceIndex(0) +19>Emitted(51, 60) Source(71, 58) + SourceIndex(0) +20>Emitted(51, 62) Source(71, 60) + SourceIndex(0) +21>Emitted(51, 63) Source(71, 61) + SourceIndex(0) +22>Emitted(51, 65) Source(71, 63) + SourceIndex(0) +23>Emitted(51, 67) Source(71, 65) + SourceIndex(0) +24>Emitted(51, 68) Source(71, 66) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1807,14 +1808,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(51, 5) Source(72, 5) + SourceIndex(0) -2 >Emitted(51, 12) Source(72, 12) + SourceIndex(0) -3 >Emitted(51, 13) Source(72, 13) + SourceIndex(0) -4 >Emitted(51, 16) Source(72, 16) + SourceIndex(0) -5 >Emitted(51, 17) Source(72, 17) + SourceIndex(0) -6 >Emitted(51, 22) Source(72, 22) + SourceIndex(0) -7 >Emitted(51, 23) Source(72, 23) + SourceIndex(0) -8 >Emitted(51, 24) Source(72, 24) + SourceIndex(0) +1 >Emitted(52, 5) Source(72, 5) + SourceIndex(0) +2 >Emitted(52, 12) Source(72, 12) + SourceIndex(0) +3 >Emitted(52, 13) Source(72, 13) + SourceIndex(0) +4 >Emitted(52, 16) Source(72, 16) + SourceIndex(0) +5 >Emitted(52, 17) Source(72, 17) + SourceIndex(0) +6 >Emitted(52, 22) Source(72, 22) + SourceIndex(0) +7 >Emitted(52, 23) Source(72, 23) + SourceIndex(0) +8 >Emitted(52, 24) Source(72, 24) + SourceIndex(0) --- >>>} 1 > @@ -1823,8 +1824,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(52, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(52, 2) Source(73, 2) + SourceIndex(0) +1 >Emitted(53, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(53, 2) Source(73, 2) + SourceIndex(0) --- >>>for (_g = getRobot(), nameA = _g.name, skillA = _g.skill, i = 0; i < 1; i++) { 1-> @@ -1876,30 +1877,30 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 22> ++ 23> ) 24> { -1->Emitted(53, 1) Source(74, 1) + SourceIndex(0) -2 >Emitted(53, 6) Source(74, 6) + SourceIndex(0) -3 >Emitted(53, 11) Source(74, 39) + SourceIndex(0) -4 >Emitted(53, 19) Source(74, 47) + SourceIndex(0) -5 >Emitted(53, 21) Source(74, 49) + SourceIndex(0) -6 >Emitted(53, 23) Source(74, 14) + SourceIndex(0) -7 >Emitted(53, 28) Source(74, 19) + SourceIndex(0) -8 >Emitted(53, 38) Source(74, 19) + SourceIndex(0) -9 >Emitted(53, 40) Source(74, 28) + SourceIndex(0) -10>Emitted(53, 46) Source(74, 34) + SourceIndex(0) -11>Emitted(53, 57) Source(74, 34) + SourceIndex(0) -12>Emitted(53, 59) Source(74, 51) + SourceIndex(0) -13>Emitted(53, 60) Source(74, 52) + SourceIndex(0) -14>Emitted(53, 63) Source(74, 55) + SourceIndex(0) -15>Emitted(53, 64) Source(74, 56) + SourceIndex(0) -16>Emitted(53, 66) Source(74, 58) + SourceIndex(0) -17>Emitted(53, 67) Source(74, 59) + SourceIndex(0) -18>Emitted(53, 70) Source(74, 62) + SourceIndex(0) -19>Emitted(53, 71) Source(74, 63) + SourceIndex(0) -20>Emitted(53, 73) Source(74, 65) + SourceIndex(0) -21>Emitted(53, 74) Source(74, 66) + SourceIndex(0) -22>Emitted(53, 76) Source(74, 68) + SourceIndex(0) -23>Emitted(53, 78) Source(74, 70) + SourceIndex(0) -24>Emitted(53, 79) Source(74, 71) + SourceIndex(0) +1->Emitted(54, 1) Source(74, 1) + SourceIndex(0) +2 >Emitted(54, 6) Source(74, 6) + SourceIndex(0) +3 >Emitted(54, 11) Source(74, 39) + SourceIndex(0) +4 >Emitted(54, 19) Source(74, 47) + SourceIndex(0) +5 >Emitted(54, 21) Source(74, 49) + SourceIndex(0) +6 >Emitted(54, 23) Source(74, 14) + SourceIndex(0) +7 >Emitted(54, 28) Source(74, 19) + SourceIndex(0) +8 >Emitted(54, 38) Source(74, 19) + SourceIndex(0) +9 >Emitted(54, 40) Source(74, 28) + SourceIndex(0) +10>Emitted(54, 46) Source(74, 34) + SourceIndex(0) +11>Emitted(54, 57) Source(74, 34) + SourceIndex(0) +12>Emitted(54, 59) Source(74, 51) + SourceIndex(0) +13>Emitted(54, 60) Source(74, 52) + SourceIndex(0) +14>Emitted(54, 63) Source(74, 55) + SourceIndex(0) +15>Emitted(54, 64) Source(74, 56) + SourceIndex(0) +16>Emitted(54, 66) Source(74, 58) + SourceIndex(0) +17>Emitted(54, 67) Source(74, 59) + SourceIndex(0) +18>Emitted(54, 70) Source(74, 62) + SourceIndex(0) +19>Emitted(54, 71) Source(74, 63) + SourceIndex(0) +20>Emitted(54, 73) Source(74, 65) + SourceIndex(0) +21>Emitted(54, 74) Source(74, 66) + SourceIndex(0) +22>Emitted(54, 76) Source(74, 68) + SourceIndex(0) +23>Emitted(54, 78) Source(74, 70) + SourceIndex(0) +24>Emitted(54, 79) Source(74, 71) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1919,14 +1920,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(54, 5) Source(75, 5) + SourceIndex(0) -2 >Emitted(54, 12) Source(75, 12) + SourceIndex(0) -3 >Emitted(54, 13) Source(75, 13) + SourceIndex(0) -4 >Emitted(54, 16) Source(75, 16) + SourceIndex(0) -5 >Emitted(54, 17) Source(75, 17) + SourceIndex(0) -6 >Emitted(54, 22) Source(75, 22) + SourceIndex(0) -7 >Emitted(54, 23) Source(75, 23) + SourceIndex(0) -8 >Emitted(54, 24) Source(75, 24) + SourceIndex(0) +1 >Emitted(55, 5) Source(75, 5) + SourceIndex(0) +2 >Emitted(55, 12) Source(75, 12) + SourceIndex(0) +3 >Emitted(55, 13) Source(75, 13) + SourceIndex(0) +4 >Emitted(55, 16) Source(75, 16) + SourceIndex(0) +5 >Emitted(55, 17) Source(75, 17) + SourceIndex(0) +6 >Emitted(55, 22) Source(75, 22) + SourceIndex(0) +7 >Emitted(55, 23) Source(75, 23) + SourceIndex(0) +8 >Emitted(55, 24) Source(75, 24) + SourceIndex(0) --- >>>} 1 > @@ -1935,8 +1936,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(55, 1) Source(76, 1) + SourceIndex(0) -2 >Emitted(55, 2) Source(76, 2) + SourceIndex(0) +1 >Emitted(56, 1) Source(76, 1) + SourceIndex(0) +2 >Emitted(56, 2) Source(76, 2) + SourceIndex(0) --- >>>for (_h = { name: "trimmer", skill: "trimming" }, nameA = _h.name, skillA = _h.skill, i = 0; i < 1; i++) { 1-> @@ -2002,37 +2003,37 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 29> ++ 30> ) 31> { -1->Emitted(56, 1) Source(77, 1) + SourceIndex(0) -2 >Emitted(56, 6) Source(77, 6) + SourceIndex(0) -3 >Emitted(56, 11) Source(77, 46) + SourceIndex(0) -4 >Emitted(56, 13) Source(77, 48) + SourceIndex(0) -5 >Emitted(56, 17) Source(77, 52) + SourceIndex(0) -6 >Emitted(56, 19) Source(77, 54) + SourceIndex(0) -7 >Emitted(56, 28) Source(77, 63) + SourceIndex(0) -8 >Emitted(56, 30) Source(77, 65) + SourceIndex(0) -9 >Emitted(56, 35) Source(77, 70) + SourceIndex(0) -10>Emitted(56, 37) Source(77, 72) + SourceIndex(0) -11>Emitted(56, 47) Source(77, 82) + SourceIndex(0) -12>Emitted(56, 49) Source(77, 84) + SourceIndex(0) -13>Emitted(56, 51) Source(77, 14) + SourceIndex(0) -14>Emitted(56, 56) Source(77, 19) + SourceIndex(0) -15>Emitted(56, 66) Source(77, 19) + SourceIndex(0) -16>Emitted(56, 68) Source(77, 28) + SourceIndex(0) -17>Emitted(56, 74) Source(77, 34) + SourceIndex(0) -18>Emitted(56, 85) Source(77, 34) + SourceIndex(0) -19>Emitted(56, 87) Source(77, 86) + SourceIndex(0) -20>Emitted(56, 88) Source(77, 87) + SourceIndex(0) -21>Emitted(56, 91) Source(77, 90) + SourceIndex(0) -22>Emitted(56, 92) Source(77, 91) + SourceIndex(0) -23>Emitted(56, 94) Source(77, 93) + SourceIndex(0) -24>Emitted(56, 95) Source(77, 94) + SourceIndex(0) -25>Emitted(56, 98) Source(77, 97) + SourceIndex(0) -26>Emitted(56, 99) Source(77, 98) + SourceIndex(0) -27>Emitted(56, 101) Source(77, 100) + SourceIndex(0) -28>Emitted(56, 102) Source(77, 101) + SourceIndex(0) -29>Emitted(56, 104) Source(77, 103) + SourceIndex(0) -30>Emitted(56, 106) Source(77, 105) + SourceIndex(0) -31>Emitted(56, 107) Source(77, 106) + SourceIndex(0) +1->Emitted(57, 1) Source(77, 1) + SourceIndex(0) +2 >Emitted(57, 6) Source(77, 6) + SourceIndex(0) +3 >Emitted(57, 11) Source(77, 46) + SourceIndex(0) +4 >Emitted(57, 13) Source(77, 48) + SourceIndex(0) +5 >Emitted(57, 17) Source(77, 52) + SourceIndex(0) +6 >Emitted(57, 19) Source(77, 54) + SourceIndex(0) +7 >Emitted(57, 28) Source(77, 63) + SourceIndex(0) +8 >Emitted(57, 30) Source(77, 65) + SourceIndex(0) +9 >Emitted(57, 35) Source(77, 70) + SourceIndex(0) +10>Emitted(57, 37) Source(77, 72) + SourceIndex(0) +11>Emitted(57, 47) Source(77, 82) + SourceIndex(0) +12>Emitted(57, 49) Source(77, 84) + SourceIndex(0) +13>Emitted(57, 51) Source(77, 14) + SourceIndex(0) +14>Emitted(57, 56) Source(77, 19) + SourceIndex(0) +15>Emitted(57, 66) Source(77, 19) + SourceIndex(0) +16>Emitted(57, 68) Source(77, 28) + SourceIndex(0) +17>Emitted(57, 74) Source(77, 34) + SourceIndex(0) +18>Emitted(57, 85) Source(77, 34) + SourceIndex(0) +19>Emitted(57, 87) Source(77, 86) + SourceIndex(0) +20>Emitted(57, 88) Source(77, 87) + SourceIndex(0) +21>Emitted(57, 91) Source(77, 90) + SourceIndex(0) +22>Emitted(57, 92) Source(77, 91) + SourceIndex(0) +23>Emitted(57, 94) Source(77, 93) + SourceIndex(0) +24>Emitted(57, 95) Source(77, 94) + SourceIndex(0) +25>Emitted(57, 98) Source(77, 97) + SourceIndex(0) +26>Emitted(57, 99) Source(77, 98) + SourceIndex(0) +27>Emitted(57, 101) Source(77, 100) + SourceIndex(0) +28>Emitted(57, 102) Source(77, 101) + SourceIndex(0) +29>Emitted(57, 104) Source(77, 103) + SourceIndex(0) +30>Emitted(57, 106) Source(77, 105) + SourceIndex(0) +31>Emitted(57, 107) Source(77, 106) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2052,14 +2053,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(57, 5) Source(78, 5) + SourceIndex(0) -2 >Emitted(57, 12) Source(78, 12) + SourceIndex(0) -3 >Emitted(57, 13) Source(78, 13) + SourceIndex(0) -4 >Emitted(57, 16) Source(78, 16) + SourceIndex(0) -5 >Emitted(57, 17) Source(78, 17) + SourceIndex(0) -6 >Emitted(57, 22) Source(78, 22) + SourceIndex(0) -7 >Emitted(57, 23) Source(78, 23) + SourceIndex(0) -8 >Emitted(57, 24) Source(78, 24) + SourceIndex(0) +1 >Emitted(58, 5) Source(78, 5) + SourceIndex(0) +2 >Emitted(58, 12) Source(78, 12) + SourceIndex(0) +3 >Emitted(58, 13) Source(78, 13) + SourceIndex(0) +4 >Emitted(58, 16) Source(78, 16) + SourceIndex(0) +5 >Emitted(58, 17) Source(78, 17) + SourceIndex(0) +6 >Emitted(58, 22) Source(78, 22) + SourceIndex(0) +7 >Emitted(58, 23) Source(78, 23) + SourceIndex(0) +8 >Emitted(58, 24) Source(78, 24) + SourceIndex(0) --- >>>} 1 > @@ -2068,8 +2069,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(58, 1) Source(79, 1) + SourceIndex(0) -2 >Emitted(58, 2) Source(79, 2) + SourceIndex(0) +1 >Emitted(59, 1) Source(79, 1) + SourceIndex(0) +2 >Emitted(59, 2) Source(79, 2) + SourceIndex(0) --- >>>for (nameA = multiRobot.name, _j = multiRobot.skills, primaryA = _j.primary, secondaryA = _j.secondary, i = 0; i < 1; i++) { 1-> @@ -2131,35 +2132,35 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 27> ++ 28> ) 29> { -1->Emitted(59, 1) Source(80, 1) + SourceIndex(0) -2 >Emitted(59, 6) Source(80, 14) + SourceIndex(0) -3 >Emitted(59, 11) Source(80, 19) + SourceIndex(0) -4 >Emitted(59, 14) Source(80, 78) + SourceIndex(0) -5 >Emitted(59, 24) Source(80, 88) + SourceIndex(0) -6 >Emitted(59, 29) Source(80, 19) + SourceIndex(0) -7 >Emitted(59, 31) Source(80, 21) + SourceIndex(0) -8 >Emitted(59, 36) Source(80, 78) + SourceIndex(0) -9 >Emitted(59, 46) Source(80, 88) + SourceIndex(0) -10>Emitted(59, 53) Source(80, 73) + SourceIndex(0) -11>Emitted(59, 55) Source(80, 40) + SourceIndex(0) -12>Emitted(59, 63) Source(80, 48) + SourceIndex(0) -13>Emitted(59, 76) Source(80, 48) + SourceIndex(0) -14>Emitted(59, 78) Source(80, 61) + SourceIndex(0) -15>Emitted(59, 88) Source(80, 71) + SourceIndex(0) -16>Emitted(59, 103) Source(80, 71) + SourceIndex(0) -17>Emitted(59, 105) Source(80, 90) + SourceIndex(0) -18>Emitted(59, 106) Source(80, 91) + SourceIndex(0) -19>Emitted(59, 109) Source(80, 94) + SourceIndex(0) -20>Emitted(59, 110) Source(80, 95) + SourceIndex(0) -21>Emitted(59, 112) Source(80, 97) + SourceIndex(0) -22>Emitted(59, 113) Source(80, 98) + SourceIndex(0) -23>Emitted(59, 116) Source(80, 101) + SourceIndex(0) -24>Emitted(59, 117) Source(80, 102) + SourceIndex(0) -25>Emitted(59, 119) Source(80, 104) + SourceIndex(0) -26>Emitted(59, 120) Source(80, 105) + SourceIndex(0) -27>Emitted(59, 122) Source(80, 107) + SourceIndex(0) -28>Emitted(59, 124) Source(80, 109) + SourceIndex(0) -29>Emitted(59, 125) Source(80, 110) + SourceIndex(0) +1->Emitted(60, 1) Source(80, 1) + SourceIndex(0) +2 >Emitted(60, 6) Source(80, 14) + SourceIndex(0) +3 >Emitted(60, 11) Source(80, 19) + SourceIndex(0) +4 >Emitted(60, 14) Source(80, 78) + SourceIndex(0) +5 >Emitted(60, 24) Source(80, 88) + SourceIndex(0) +6 >Emitted(60, 29) Source(80, 19) + SourceIndex(0) +7 >Emitted(60, 31) Source(80, 21) + SourceIndex(0) +8 >Emitted(60, 36) Source(80, 78) + SourceIndex(0) +9 >Emitted(60, 46) Source(80, 88) + SourceIndex(0) +10>Emitted(60, 53) Source(80, 73) + SourceIndex(0) +11>Emitted(60, 55) Source(80, 40) + SourceIndex(0) +12>Emitted(60, 63) Source(80, 48) + SourceIndex(0) +13>Emitted(60, 76) Source(80, 48) + SourceIndex(0) +14>Emitted(60, 78) Source(80, 61) + SourceIndex(0) +15>Emitted(60, 88) Source(80, 71) + SourceIndex(0) +16>Emitted(60, 103) Source(80, 71) + SourceIndex(0) +17>Emitted(60, 105) Source(80, 90) + SourceIndex(0) +18>Emitted(60, 106) Source(80, 91) + SourceIndex(0) +19>Emitted(60, 109) Source(80, 94) + SourceIndex(0) +20>Emitted(60, 110) Source(80, 95) + SourceIndex(0) +21>Emitted(60, 112) Source(80, 97) + SourceIndex(0) +22>Emitted(60, 113) Source(80, 98) + SourceIndex(0) +23>Emitted(60, 116) Source(80, 101) + SourceIndex(0) +24>Emitted(60, 117) Source(80, 102) + SourceIndex(0) +25>Emitted(60, 119) Source(80, 104) + SourceIndex(0) +26>Emitted(60, 120) Source(80, 105) + SourceIndex(0) +27>Emitted(60, 122) Source(80, 107) + SourceIndex(0) +28>Emitted(60, 124) Source(80, 109) + SourceIndex(0) +29>Emitted(60, 125) Source(80, 110) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -2179,14 +2180,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(60, 5) Source(81, 5) + SourceIndex(0) -2 >Emitted(60, 12) Source(81, 12) + SourceIndex(0) -3 >Emitted(60, 13) Source(81, 13) + SourceIndex(0) -4 >Emitted(60, 16) Source(81, 16) + SourceIndex(0) -5 >Emitted(60, 17) Source(81, 17) + SourceIndex(0) -6 >Emitted(60, 25) Source(81, 25) + SourceIndex(0) -7 >Emitted(60, 26) Source(81, 26) + SourceIndex(0) -8 >Emitted(60, 27) Source(81, 27) + SourceIndex(0) +1 >Emitted(61, 5) Source(81, 5) + SourceIndex(0) +2 >Emitted(61, 12) Source(81, 12) + SourceIndex(0) +3 >Emitted(61, 13) Source(81, 13) + SourceIndex(0) +4 >Emitted(61, 16) Source(81, 16) + SourceIndex(0) +5 >Emitted(61, 17) Source(81, 17) + SourceIndex(0) +6 >Emitted(61, 25) Source(81, 25) + SourceIndex(0) +7 >Emitted(61, 26) Source(81, 26) + SourceIndex(0) +8 >Emitted(61, 27) Source(81, 27) + SourceIndex(0) --- >>>} 1 > @@ -2195,8 +2196,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(61, 1) Source(82, 1) + SourceIndex(0) -2 >Emitted(61, 2) Source(82, 2) + SourceIndex(0) +1 >Emitted(62, 1) Source(82, 1) + SourceIndex(0) +2 >Emitted(62, 2) Source(82, 2) + SourceIndex(0) --- >>>for (_k = getMultiRobot(), nameA = _k.name, _l = _k.skills, primaryA = _l.primary, secondaryA = _l.secondary, i = 0; i < 1; i++) { 1-> @@ -2258,35 +2259,35 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 27> ++ 28> ) 29> { -1->Emitted(62, 1) Source(83, 1) + SourceIndex(0) -2 >Emitted(62, 6) Source(83, 6) + SourceIndex(0) -3 >Emitted(62, 11) Source(83, 78) + SourceIndex(0) -4 >Emitted(62, 24) Source(83, 91) + SourceIndex(0) -5 >Emitted(62, 26) Source(83, 93) + SourceIndex(0) -6 >Emitted(62, 28) Source(83, 14) + SourceIndex(0) -7 >Emitted(62, 33) Source(83, 19) + SourceIndex(0) -8 >Emitted(62, 43) Source(83, 19) + SourceIndex(0) -9 >Emitted(62, 45) Source(83, 21) + SourceIndex(0) -10>Emitted(62, 59) Source(83, 73) + SourceIndex(0) -11>Emitted(62, 61) Source(83, 40) + SourceIndex(0) -12>Emitted(62, 69) Source(83, 48) + SourceIndex(0) -13>Emitted(62, 82) Source(83, 48) + SourceIndex(0) -14>Emitted(62, 84) Source(83, 61) + SourceIndex(0) -15>Emitted(62, 94) Source(83, 71) + SourceIndex(0) -16>Emitted(62, 109) Source(83, 71) + SourceIndex(0) -17>Emitted(62, 111) Source(83, 95) + SourceIndex(0) -18>Emitted(62, 112) Source(83, 96) + SourceIndex(0) -19>Emitted(62, 115) Source(83, 99) + SourceIndex(0) -20>Emitted(62, 116) Source(83, 100) + SourceIndex(0) -21>Emitted(62, 118) Source(83, 102) + SourceIndex(0) -22>Emitted(62, 119) Source(83, 103) + SourceIndex(0) -23>Emitted(62, 122) Source(83, 106) + SourceIndex(0) -24>Emitted(62, 123) Source(83, 107) + SourceIndex(0) -25>Emitted(62, 125) Source(83, 109) + SourceIndex(0) -26>Emitted(62, 126) Source(83, 110) + SourceIndex(0) -27>Emitted(62, 128) Source(83, 112) + SourceIndex(0) -28>Emitted(62, 130) Source(83, 114) + SourceIndex(0) -29>Emitted(62, 131) Source(83, 115) + SourceIndex(0) +1->Emitted(63, 1) Source(83, 1) + SourceIndex(0) +2 >Emitted(63, 6) Source(83, 6) + SourceIndex(0) +3 >Emitted(63, 11) Source(83, 78) + SourceIndex(0) +4 >Emitted(63, 24) Source(83, 91) + SourceIndex(0) +5 >Emitted(63, 26) Source(83, 93) + SourceIndex(0) +6 >Emitted(63, 28) Source(83, 14) + SourceIndex(0) +7 >Emitted(63, 33) Source(83, 19) + SourceIndex(0) +8 >Emitted(63, 43) Source(83, 19) + SourceIndex(0) +9 >Emitted(63, 45) Source(83, 21) + SourceIndex(0) +10>Emitted(63, 59) Source(83, 73) + SourceIndex(0) +11>Emitted(63, 61) Source(83, 40) + SourceIndex(0) +12>Emitted(63, 69) Source(83, 48) + SourceIndex(0) +13>Emitted(63, 82) Source(83, 48) + SourceIndex(0) +14>Emitted(63, 84) Source(83, 61) + SourceIndex(0) +15>Emitted(63, 94) Source(83, 71) + SourceIndex(0) +16>Emitted(63, 109) Source(83, 71) + SourceIndex(0) +17>Emitted(63, 111) Source(83, 95) + SourceIndex(0) +18>Emitted(63, 112) Source(83, 96) + SourceIndex(0) +19>Emitted(63, 115) Source(83, 99) + SourceIndex(0) +20>Emitted(63, 116) Source(83, 100) + SourceIndex(0) +21>Emitted(63, 118) Source(83, 102) + SourceIndex(0) +22>Emitted(63, 119) Source(83, 103) + SourceIndex(0) +23>Emitted(63, 122) Source(83, 106) + SourceIndex(0) +24>Emitted(63, 123) Source(83, 107) + SourceIndex(0) +25>Emitted(63, 125) Source(83, 109) + SourceIndex(0) +26>Emitted(63, 126) Source(83, 110) + SourceIndex(0) +27>Emitted(63, 128) Source(83, 112) + SourceIndex(0) +28>Emitted(63, 130) Source(83, 114) + SourceIndex(0) +29>Emitted(63, 131) Source(83, 115) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -2306,14 +2307,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(63, 5) Source(84, 5) + SourceIndex(0) -2 >Emitted(63, 12) Source(84, 12) + SourceIndex(0) -3 >Emitted(63, 13) Source(84, 13) + SourceIndex(0) -4 >Emitted(63, 16) Source(84, 16) + SourceIndex(0) -5 >Emitted(63, 17) Source(84, 17) + SourceIndex(0) -6 >Emitted(63, 25) Source(84, 25) + SourceIndex(0) -7 >Emitted(63, 26) Source(84, 26) + SourceIndex(0) -8 >Emitted(63, 27) Source(84, 27) + SourceIndex(0) +1 >Emitted(64, 5) Source(84, 5) + SourceIndex(0) +2 >Emitted(64, 12) Source(84, 12) + SourceIndex(0) +3 >Emitted(64, 13) Source(84, 13) + SourceIndex(0) +4 >Emitted(64, 16) Source(84, 16) + SourceIndex(0) +5 >Emitted(64, 17) Source(84, 17) + SourceIndex(0) +6 >Emitted(64, 25) Source(84, 25) + SourceIndex(0) +7 >Emitted(64, 26) Source(84, 26) + SourceIndex(0) +8 >Emitted(64, 27) Source(84, 27) + SourceIndex(0) --- >>>} 1 > @@ -2322,8 +2323,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(64, 1) Source(85, 1) + SourceIndex(0) -2 >Emitted(64, 2) Source(85, 2) + SourceIndex(0) +1 >Emitted(65, 1) Source(85, 1) + SourceIndex(0) +2 >Emitted(65, 2) Source(85, 2) + SourceIndex(0) --- >>>for (_m = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, nameA = _m.name, _o = _m.skills, primaryA = _o.primary, secondaryA = _o.secondary, 1-> @@ -2390,37 +2391,37 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 29> , secondary: 30> secondaryA 31> -1->Emitted(65, 1) Source(86, 1) + SourceIndex(0) -2 >Emitted(65, 6) Source(86, 6) + SourceIndex(0) -3 >Emitted(65, 11) Source(87, 17) + SourceIndex(0) -4 >Emitted(65, 13) Source(87, 19) + SourceIndex(0) -5 >Emitted(65, 17) Source(87, 23) + SourceIndex(0) -6 >Emitted(65, 19) Source(87, 25) + SourceIndex(0) -7 >Emitted(65, 28) Source(87, 34) + SourceIndex(0) -8 >Emitted(65, 30) Source(87, 36) + SourceIndex(0) -9 >Emitted(65, 36) Source(87, 42) + SourceIndex(0) -10>Emitted(65, 38) Source(87, 44) + SourceIndex(0) -11>Emitted(65, 40) Source(87, 46) + SourceIndex(0) -12>Emitted(65, 47) Source(87, 53) + SourceIndex(0) -13>Emitted(65, 49) Source(87, 55) + SourceIndex(0) -14>Emitted(65, 59) Source(87, 65) + SourceIndex(0) -15>Emitted(65, 61) Source(87, 67) + SourceIndex(0) -16>Emitted(65, 70) Source(87, 76) + SourceIndex(0) -17>Emitted(65, 72) Source(87, 78) + SourceIndex(0) -18>Emitted(65, 80) Source(87, 86) + SourceIndex(0) -19>Emitted(65, 82) Source(87, 88) + SourceIndex(0) -20>Emitted(65, 84) Source(87, 90) + SourceIndex(0) -21>Emitted(65, 86) Source(86, 14) + SourceIndex(0) -22>Emitted(65, 91) Source(86, 19) + SourceIndex(0) -23>Emitted(65, 101) Source(86, 19) + SourceIndex(0) -24>Emitted(65, 103) Source(86, 21) + SourceIndex(0) -25>Emitted(65, 117) Source(86, 73) + SourceIndex(0) -26>Emitted(65, 119) Source(86, 40) + SourceIndex(0) -27>Emitted(65, 127) Source(86, 48) + SourceIndex(0) -28>Emitted(65, 140) Source(86, 48) + SourceIndex(0) -29>Emitted(65, 142) Source(86, 61) + SourceIndex(0) -30>Emitted(65, 152) Source(86, 71) + SourceIndex(0) -31>Emitted(65, 167) Source(86, 71) + SourceIndex(0) +1->Emitted(66, 1) Source(86, 1) + SourceIndex(0) +2 >Emitted(66, 6) Source(86, 6) + SourceIndex(0) +3 >Emitted(66, 11) Source(87, 17) + SourceIndex(0) +4 >Emitted(66, 13) Source(87, 19) + SourceIndex(0) +5 >Emitted(66, 17) Source(87, 23) + SourceIndex(0) +6 >Emitted(66, 19) Source(87, 25) + SourceIndex(0) +7 >Emitted(66, 28) Source(87, 34) + SourceIndex(0) +8 >Emitted(66, 30) Source(87, 36) + SourceIndex(0) +9 >Emitted(66, 36) Source(87, 42) + SourceIndex(0) +10>Emitted(66, 38) Source(87, 44) + SourceIndex(0) +11>Emitted(66, 40) Source(87, 46) + SourceIndex(0) +12>Emitted(66, 47) Source(87, 53) + SourceIndex(0) +13>Emitted(66, 49) Source(87, 55) + SourceIndex(0) +14>Emitted(66, 59) Source(87, 65) + SourceIndex(0) +15>Emitted(66, 61) Source(87, 67) + SourceIndex(0) +16>Emitted(66, 70) Source(87, 76) + SourceIndex(0) +17>Emitted(66, 72) Source(87, 78) + SourceIndex(0) +18>Emitted(66, 80) Source(87, 86) + SourceIndex(0) +19>Emitted(66, 82) Source(87, 88) + SourceIndex(0) +20>Emitted(66, 84) Source(87, 90) + SourceIndex(0) +21>Emitted(66, 86) Source(86, 14) + SourceIndex(0) +22>Emitted(66, 91) Source(86, 19) + SourceIndex(0) +23>Emitted(66, 101) Source(86, 19) + SourceIndex(0) +24>Emitted(66, 103) Source(86, 21) + SourceIndex(0) +25>Emitted(66, 117) Source(86, 73) + SourceIndex(0) +26>Emitted(66, 119) Source(86, 40) + SourceIndex(0) +27>Emitted(66, 127) Source(86, 48) + SourceIndex(0) +28>Emitted(66, 140) Source(86, 48) + SourceIndex(0) +29>Emitted(66, 142) Source(86, 61) + SourceIndex(0) +30>Emitted(66, 152) Source(86, 71) + SourceIndex(0) +31>Emitted(66, 167) Source(86, 71) + SourceIndex(0) --- >>> i = 0; i < 1; i++) { 1 >^^^^ @@ -2452,19 +2453,19 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 11> ++ 12> ) 13> { -1 >Emitted(66, 5) Source(88, 5) + SourceIndex(0) -2 >Emitted(66, 6) Source(88, 6) + SourceIndex(0) -3 >Emitted(66, 9) Source(88, 9) + SourceIndex(0) -4 >Emitted(66, 10) Source(88, 10) + SourceIndex(0) -5 >Emitted(66, 12) Source(88, 12) + SourceIndex(0) -6 >Emitted(66, 13) Source(88, 13) + SourceIndex(0) -7 >Emitted(66, 16) Source(88, 16) + SourceIndex(0) -8 >Emitted(66, 17) Source(88, 17) + SourceIndex(0) -9 >Emitted(66, 19) Source(88, 19) + SourceIndex(0) -10>Emitted(66, 20) Source(88, 20) + SourceIndex(0) -11>Emitted(66, 22) Source(88, 22) + SourceIndex(0) -12>Emitted(66, 24) Source(88, 24) + SourceIndex(0) -13>Emitted(66, 25) Source(88, 25) + SourceIndex(0) +1 >Emitted(67, 5) Source(88, 5) + SourceIndex(0) +2 >Emitted(67, 6) Source(88, 6) + SourceIndex(0) +3 >Emitted(67, 9) Source(88, 9) + SourceIndex(0) +4 >Emitted(67, 10) Source(88, 10) + SourceIndex(0) +5 >Emitted(67, 12) Source(88, 12) + SourceIndex(0) +6 >Emitted(67, 13) Source(88, 13) + SourceIndex(0) +7 >Emitted(67, 16) Source(88, 16) + SourceIndex(0) +8 >Emitted(67, 17) Source(88, 17) + SourceIndex(0) +9 >Emitted(67, 19) Source(88, 19) + SourceIndex(0) +10>Emitted(67, 20) Source(88, 20) + SourceIndex(0) +11>Emitted(67, 22) Source(88, 22) + SourceIndex(0) +12>Emitted(67, 24) Source(88, 24) + SourceIndex(0) +13>Emitted(67, 25) Source(88, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1->^^^^ @@ -2484,14 +2485,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1->Emitted(67, 5) Source(89, 5) + SourceIndex(0) -2 >Emitted(67, 12) Source(89, 12) + SourceIndex(0) -3 >Emitted(67, 13) Source(89, 13) + SourceIndex(0) -4 >Emitted(67, 16) Source(89, 16) + SourceIndex(0) -5 >Emitted(67, 17) Source(89, 17) + SourceIndex(0) -6 >Emitted(67, 25) Source(89, 25) + SourceIndex(0) -7 >Emitted(67, 26) Source(89, 26) + SourceIndex(0) -8 >Emitted(67, 27) Source(89, 27) + SourceIndex(0) +1->Emitted(68, 5) Source(89, 5) + SourceIndex(0) +2 >Emitted(68, 12) Source(89, 12) + SourceIndex(0) +3 >Emitted(68, 13) Source(89, 13) + SourceIndex(0) +4 >Emitted(68, 16) Source(89, 16) + SourceIndex(0) +5 >Emitted(68, 17) Source(89, 17) + SourceIndex(0) +6 >Emitted(68, 25) Source(89, 25) + SourceIndex(0) +7 >Emitted(68, 26) Source(89, 26) + SourceIndex(0) +8 >Emitted(68, 27) Source(89, 27) + SourceIndex(0) --- >>>} 1 > @@ -2500,8 +2501,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(68, 1) Source(90, 1) + SourceIndex(0) -2 >Emitted(68, 2) Source(90, 2) + SourceIndex(0) +1 >Emitted(69, 1) Source(90, 1) + SourceIndex(0) +2 >Emitted(69, 2) Source(90, 2) + SourceIndex(0) --- >>>for (name = robot.name, skill = robot.skill, i = 0; i < 1; i++) { 1-> @@ -2553,30 +2554,30 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 22> ++ 23> ) 24> { -1->Emitted(69, 1) Source(91, 1) + SourceIndex(0) -2 >Emitted(69, 6) Source(91, 8) + SourceIndex(0) -3 >Emitted(69, 10) Source(91, 12) + SourceIndex(0) -4 >Emitted(69, 13) Source(91, 24) + SourceIndex(0) -5 >Emitted(69, 18) Source(91, 29) + SourceIndex(0) -6 >Emitted(69, 23) Source(91, 12) + SourceIndex(0) -7 >Emitted(69, 25) Source(91, 14) + SourceIndex(0) -8 >Emitted(69, 30) Source(91, 19) + SourceIndex(0) -9 >Emitted(69, 33) Source(91, 24) + SourceIndex(0) -10>Emitted(69, 38) Source(91, 29) + SourceIndex(0) -11>Emitted(69, 44) Source(91, 19) + SourceIndex(0) -12>Emitted(69, 46) Source(91, 31) + SourceIndex(0) -13>Emitted(69, 47) Source(91, 32) + SourceIndex(0) -14>Emitted(69, 50) Source(91, 35) + SourceIndex(0) -15>Emitted(69, 51) Source(91, 36) + SourceIndex(0) -16>Emitted(69, 53) Source(91, 38) + SourceIndex(0) -17>Emitted(69, 54) Source(91, 39) + SourceIndex(0) -18>Emitted(69, 57) Source(91, 42) + SourceIndex(0) -19>Emitted(69, 58) Source(91, 43) + SourceIndex(0) -20>Emitted(69, 60) Source(91, 45) + SourceIndex(0) -21>Emitted(69, 61) Source(91, 46) + SourceIndex(0) -22>Emitted(69, 63) Source(91, 48) + SourceIndex(0) -23>Emitted(69, 65) Source(91, 50) + SourceIndex(0) -24>Emitted(69, 66) Source(91, 51) + SourceIndex(0) +1->Emitted(70, 1) Source(91, 1) + SourceIndex(0) +2 >Emitted(70, 6) Source(91, 8) + SourceIndex(0) +3 >Emitted(70, 10) Source(91, 12) + SourceIndex(0) +4 >Emitted(70, 13) Source(91, 24) + SourceIndex(0) +5 >Emitted(70, 18) Source(91, 29) + SourceIndex(0) +6 >Emitted(70, 23) Source(91, 12) + SourceIndex(0) +7 >Emitted(70, 25) Source(91, 14) + SourceIndex(0) +8 >Emitted(70, 30) Source(91, 19) + SourceIndex(0) +9 >Emitted(70, 33) Source(91, 24) + SourceIndex(0) +10>Emitted(70, 38) Source(91, 29) + SourceIndex(0) +11>Emitted(70, 44) Source(91, 19) + SourceIndex(0) +12>Emitted(70, 46) Source(91, 31) + SourceIndex(0) +13>Emitted(70, 47) Source(91, 32) + SourceIndex(0) +14>Emitted(70, 50) Source(91, 35) + SourceIndex(0) +15>Emitted(70, 51) Source(91, 36) + SourceIndex(0) +16>Emitted(70, 53) Source(91, 38) + SourceIndex(0) +17>Emitted(70, 54) Source(91, 39) + SourceIndex(0) +18>Emitted(70, 57) Source(91, 42) + SourceIndex(0) +19>Emitted(70, 58) Source(91, 43) + SourceIndex(0) +20>Emitted(70, 60) Source(91, 45) + SourceIndex(0) +21>Emitted(70, 61) Source(91, 46) + SourceIndex(0) +22>Emitted(70, 63) Source(91, 48) + SourceIndex(0) +23>Emitted(70, 65) Source(91, 50) + SourceIndex(0) +24>Emitted(70, 66) Source(91, 51) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2596,14 +2597,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(70, 5) Source(92, 5) + SourceIndex(0) -2 >Emitted(70, 12) Source(92, 12) + SourceIndex(0) -3 >Emitted(70, 13) Source(92, 13) + SourceIndex(0) -4 >Emitted(70, 16) Source(92, 16) + SourceIndex(0) -5 >Emitted(70, 17) Source(92, 17) + SourceIndex(0) -6 >Emitted(70, 22) Source(92, 22) + SourceIndex(0) -7 >Emitted(70, 23) Source(92, 23) + SourceIndex(0) -8 >Emitted(70, 24) Source(92, 24) + SourceIndex(0) +1 >Emitted(71, 5) Source(92, 5) + SourceIndex(0) +2 >Emitted(71, 12) Source(92, 12) + SourceIndex(0) +3 >Emitted(71, 13) Source(92, 13) + SourceIndex(0) +4 >Emitted(71, 16) Source(92, 16) + SourceIndex(0) +5 >Emitted(71, 17) Source(92, 17) + SourceIndex(0) +6 >Emitted(71, 22) Source(92, 22) + SourceIndex(0) +7 >Emitted(71, 23) Source(92, 23) + SourceIndex(0) +8 >Emitted(71, 24) Source(92, 24) + SourceIndex(0) --- >>>} 1 > @@ -2612,8 +2613,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(71, 1) Source(93, 1) + SourceIndex(0) -2 >Emitted(71, 2) Source(93, 2) + SourceIndex(0) +1 >Emitted(72, 1) Source(93, 1) + SourceIndex(0) +2 >Emitted(72, 2) Source(93, 2) + SourceIndex(0) --- >>>for (_p = getRobot(), name = _p.name, skill = _p.skill, i = 0; i < 1; i++) { 1-> @@ -2665,30 +2666,30 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 22> ++ 23> ) 24> { -1->Emitted(72, 1) Source(94, 1) + SourceIndex(0) -2 >Emitted(72, 6) Source(94, 6) + SourceIndex(0) -3 >Emitted(72, 11) Source(94, 24) + SourceIndex(0) -4 >Emitted(72, 19) Source(94, 32) + SourceIndex(0) -5 >Emitted(72, 21) Source(94, 34) + SourceIndex(0) -6 >Emitted(72, 23) Source(94, 8) + SourceIndex(0) -7 >Emitted(72, 27) Source(94, 12) + SourceIndex(0) -8 >Emitted(72, 37) Source(94, 12) + SourceIndex(0) -9 >Emitted(72, 39) Source(94, 14) + SourceIndex(0) -10>Emitted(72, 44) Source(94, 19) + SourceIndex(0) -11>Emitted(72, 55) Source(94, 19) + SourceIndex(0) -12>Emitted(72, 57) Source(94, 36) + SourceIndex(0) -13>Emitted(72, 58) Source(94, 37) + SourceIndex(0) -14>Emitted(72, 61) Source(94, 40) + SourceIndex(0) -15>Emitted(72, 62) Source(94, 41) + SourceIndex(0) -16>Emitted(72, 64) Source(94, 43) + SourceIndex(0) -17>Emitted(72, 65) Source(94, 44) + SourceIndex(0) -18>Emitted(72, 68) Source(94, 47) + SourceIndex(0) -19>Emitted(72, 69) Source(94, 48) + SourceIndex(0) -20>Emitted(72, 71) Source(94, 50) + SourceIndex(0) -21>Emitted(72, 72) Source(94, 51) + SourceIndex(0) -22>Emitted(72, 74) Source(94, 53) + SourceIndex(0) -23>Emitted(72, 76) Source(94, 55) + SourceIndex(0) -24>Emitted(72, 77) Source(94, 56) + SourceIndex(0) +1->Emitted(73, 1) Source(94, 1) + SourceIndex(0) +2 >Emitted(73, 6) Source(94, 6) + SourceIndex(0) +3 >Emitted(73, 11) Source(94, 24) + SourceIndex(0) +4 >Emitted(73, 19) Source(94, 32) + SourceIndex(0) +5 >Emitted(73, 21) Source(94, 34) + SourceIndex(0) +6 >Emitted(73, 23) Source(94, 8) + SourceIndex(0) +7 >Emitted(73, 27) Source(94, 12) + SourceIndex(0) +8 >Emitted(73, 37) Source(94, 12) + SourceIndex(0) +9 >Emitted(73, 39) Source(94, 14) + SourceIndex(0) +10>Emitted(73, 44) Source(94, 19) + SourceIndex(0) +11>Emitted(73, 55) Source(94, 19) + SourceIndex(0) +12>Emitted(73, 57) Source(94, 36) + SourceIndex(0) +13>Emitted(73, 58) Source(94, 37) + SourceIndex(0) +14>Emitted(73, 61) Source(94, 40) + SourceIndex(0) +15>Emitted(73, 62) Source(94, 41) + SourceIndex(0) +16>Emitted(73, 64) Source(94, 43) + SourceIndex(0) +17>Emitted(73, 65) Source(94, 44) + SourceIndex(0) +18>Emitted(73, 68) Source(94, 47) + SourceIndex(0) +19>Emitted(73, 69) Source(94, 48) + SourceIndex(0) +20>Emitted(73, 71) Source(94, 50) + SourceIndex(0) +21>Emitted(73, 72) Source(94, 51) + SourceIndex(0) +22>Emitted(73, 74) Source(94, 53) + SourceIndex(0) +23>Emitted(73, 76) Source(94, 55) + SourceIndex(0) +24>Emitted(73, 77) Source(94, 56) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2708,14 +2709,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(73, 5) Source(95, 5) + SourceIndex(0) -2 >Emitted(73, 12) Source(95, 12) + SourceIndex(0) -3 >Emitted(73, 13) Source(95, 13) + SourceIndex(0) -4 >Emitted(73, 16) Source(95, 16) + SourceIndex(0) -5 >Emitted(73, 17) Source(95, 17) + SourceIndex(0) -6 >Emitted(73, 22) Source(95, 22) + SourceIndex(0) -7 >Emitted(73, 23) Source(95, 23) + SourceIndex(0) -8 >Emitted(73, 24) Source(95, 24) + SourceIndex(0) +1 >Emitted(74, 5) Source(95, 5) + SourceIndex(0) +2 >Emitted(74, 12) Source(95, 12) + SourceIndex(0) +3 >Emitted(74, 13) Source(95, 13) + SourceIndex(0) +4 >Emitted(74, 16) Source(95, 16) + SourceIndex(0) +5 >Emitted(74, 17) Source(95, 17) + SourceIndex(0) +6 >Emitted(74, 22) Source(95, 22) + SourceIndex(0) +7 >Emitted(74, 23) Source(95, 23) + SourceIndex(0) +8 >Emitted(74, 24) Source(95, 24) + SourceIndex(0) --- >>>} 1 > @@ -2724,8 +2725,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(74, 1) Source(96, 1) + SourceIndex(0) -2 >Emitted(74, 2) Source(96, 2) + SourceIndex(0) +1 >Emitted(75, 1) Source(96, 1) + SourceIndex(0) +2 >Emitted(75, 2) Source(96, 2) + SourceIndex(0) --- >>>for (_q = { name: "trimmer", skill: "trimming" }, name = _q.name, skill = _q.skill, i = 0; i < 1; i++) { 1-> @@ -2791,37 +2792,37 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 29> ++ 30> ) 31> { -1->Emitted(75, 1) Source(97, 1) + SourceIndex(0) -2 >Emitted(75, 6) Source(97, 6) + SourceIndex(0) -3 >Emitted(75, 11) Source(97, 31) + SourceIndex(0) -4 >Emitted(75, 13) Source(97, 33) + SourceIndex(0) -5 >Emitted(75, 17) Source(97, 37) + SourceIndex(0) -6 >Emitted(75, 19) Source(97, 39) + SourceIndex(0) -7 >Emitted(75, 28) Source(97, 48) + SourceIndex(0) -8 >Emitted(75, 30) Source(97, 50) + SourceIndex(0) -9 >Emitted(75, 35) Source(97, 55) + SourceIndex(0) -10>Emitted(75, 37) Source(97, 57) + SourceIndex(0) -11>Emitted(75, 47) Source(97, 67) + SourceIndex(0) -12>Emitted(75, 49) Source(97, 69) + SourceIndex(0) -13>Emitted(75, 51) Source(97, 8) + SourceIndex(0) -14>Emitted(75, 55) Source(97, 12) + SourceIndex(0) -15>Emitted(75, 65) Source(97, 12) + SourceIndex(0) -16>Emitted(75, 67) Source(97, 14) + SourceIndex(0) -17>Emitted(75, 72) Source(97, 19) + SourceIndex(0) -18>Emitted(75, 83) Source(97, 19) + SourceIndex(0) -19>Emitted(75, 85) Source(97, 71) + SourceIndex(0) -20>Emitted(75, 86) Source(97, 72) + SourceIndex(0) -21>Emitted(75, 89) Source(97, 75) + SourceIndex(0) -22>Emitted(75, 90) Source(97, 76) + SourceIndex(0) -23>Emitted(75, 92) Source(97, 78) + SourceIndex(0) -24>Emitted(75, 93) Source(97, 79) + SourceIndex(0) -25>Emitted(75, 96) Source(97, 82) + SourceIndex(0) -26>Emitted(75, 97) Source(97, 83) + SourceIndex(0) -27>Emitted(75, 99) Source(97, 85) + SourceIndex(0) -28>Emitted(75, 100) Source(97, 86) + SourceIndex(0) -29>Emitted(75, 102) Source(97, 88) + SourceIndex(0) -30>Emitted(75, 104) Source(97, 90) + SourceIndex(0) -31>Emitted(75, 105) Source(97, 91) + SourceIndex(0) +1->Emitted(76, 1) Source(97, 1) + SourceIndex(0) +2 >Emitted(76, 6) Source(97, 6) + SourceIndex(0) +3 >Emitted(76, 11) Source(97, 31) + SourceIndex(0) +4 >Emitted(76, 13) Source(97, 33) + SourceIndex(0) +5 >Emitted(76, 17) Source(97, 37) + SourceIndex(0) +6 >Emitted(76, 19) Source(97, 39) + SourceIndex(0) +7 >Emitted(76, 28) Source(97, 48) + SourceIndex(0) +8 >Emitted(76, 30) Source(97, 50) + SourceIndex(0) +9 >Emitted(76, 35) Source(97, 55) + SourceIndex(0) +10>Emitted(76, 37) Source(97, 57) + SourceIndex(0) +11>Emitted(76, 47) Source(97, 67) + SourceIndex(0) +12>Emitted(76, 49) Source(97, 69) + SourceIndex(0) +13>Emitted(76, 51) Source(97, 8) + SourceIndex(0) +14>Emitted(76, 55) Source(97, 12) + SourceIndex(0) +15>Emitted(76, 65) Source(97, 12) + SourceIndex(0) +16>Emitted(76, 67) Source(97, 14) + SourceIndex(0) +17>Emitted(76, 72) Source(97, 19) + SourceIndex(0) +18>Emitted(76, 83) Source(97, 19) + SourceIndex(0) +19>Emitted(76, 85) Source(97, 71) + SourceIndex(0) +20>Emitted(76, 86) Source(97, 72) + SourceIndex(0) +21>Emitted(76, 89) Source(97, 75) + SourceIndex(0) +22>Emitted(76, 90) Source(97, 76) + SourceIndex(0) +23>Emitted(76, 92) Source(97, 78) + SourceIndex(0) +24>Emitted(76, 93) Source(97, 79) + SourceIndex(0) +25>Emitted(76, 96) Source(97, 82) + SourceIndex(0) +26>Emitted(76, 97) Source(97, 83) + SourceIndex(0) +27>Emitted(76, 99) Source(97, 85) + SourceIndex(0) +28>Emitted(76, 100) Source(97, 86) + SourceIndex(0) +29>Emitted(76, 102) Source(97, 88) + SourceIndex(0) +30>Emitted(76, 104) Source(97, 90) + SourceIndex(0) +31>Emitted(76, 105) Source(97, 91) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2841,14 +2842,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(76, 5) Source(98, 5) + SourceIndex(0) -2 >Emitted(76, 12) Source(98, 12) + SourceIndex(0) -3 >Emitted(76, 13) Source(98, 13) + SourceIndex(0) -4 >Emitted(76, 16) Source(98, 16) + SourceIndex(0) -5 >Emitted(76, 17) Source(98, 17) + SourceIndex(0) -6 >Emitted(76, 22) Source(98, 22) + SourceIndex(0) -7 >Emitted(76, 23) Source(98, 23) + SourceIndex(0) -8 >Emitted(76, 24) Source(98, 24) + SourceIndex(0) +1 >Emitted(77, 5) Source(98, 5) + SourceIndex(0) +2 >Emitted(77, 12) Source(98, 12) + SourceIndex(0) +3 >Emitted(77, 13) Source(98, 13) + SourceIndex(0) +4 >Emitted(77, 16) Source(98, 16) + SourceIndex(0) +5 >Emitted(77, 17) Source(98, 17) + SourceIndex(0) +6 >Emitted(77, 22) Source(98, 22) + SourceIndex(0) +7 >Emitted(77, 23) Source(98, 23) + SourceIndex(0) +8 >Emitted(77, 24) Source(98, 24) + SourceIndex(0) --- >>>} 1 > @@ -2857,8 +2858,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(77, 1) Source(99, 1) + SourceIndex(0) -2 >Emitted(77, 2) Source(99, 2) + SourceIndex(0) +1 >Emitted(78, 1) Source(99, 1) + SourceIndex(0) +2 >Emitted(78, 2) Source(99, 2) + SourceIndex(0) --- >>>for (name = multiRobot.name, _r = multiRobot.skills, primary = _r.primary, secondary = _r.secondary, i = 0; i < 1; i++) { 1-> @@ -2920,35 +2921,35 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 27> ++ 28> ) 29> { -1->Emitted(78, 1) Source(100, 1) + SourceIndex(0) -2 >Emitted(78, 6) Source(100, 8) + SourceIndex(0) -3 >Emitted(78, 10) Source(100, 12) + SourceIndex(0) -4 >Emitted(78, 13) Source(100, 49) + SourceIndex(0) -5 >Emitted(78, 23) Source(100, 59) + SourceIndex(0) -6 >Emitted(78, 28) Source(100, 12) + SourceIndex(0) -7 >Emitted(78, 30) Source(100, 14) + SourceIndex(0) -8 >Emitted(78, 35) Source(100, 49) + SourceIndex(0) -9 >Emitted(78, 45) Source(100, 59) + SourceIndex(0) -10>Emitted(78, 52) Source(100, 44) + SourceIndex(0) -11>Emitted(78, 54) Source(100, 24) + SourceIndex(0) -12>Emitted(78, 61) Source(100, 31) + SourceIndex(0) -13>Emitted(78, 74) Source(100, 31) + SourceIndex(0) -14>Emitted(78, 76) Source(100, 33) + SourceIndex(0) -15>Emitted(78, 85) Source(100, 42) + SourceIndex(0) -16>Emitted(78, 100) Source(100, 42) + SourceIndex(0) -17>Emitted(78, 102) Source(100, 61) + SourceIndex(0) -18>Emitted(78, 103) Source(100, 62) + SourceIndex(0) -19>Emitted(78, 106) Source(100, 65) + SourceIndex(0) -20>Emitted(78, 107) Source(100, 66) + SourceIndex(0) -21>Emitted(78, 109) Source(100, 68) + SourceIndex(0) -22>Emitted(78, 110) Source(100, 69) + SourceIndex(0) -23>Emitted(78, 113) Source(100, 72) + SourceIndex(0) -24>Emitted(78, 114) Source(100, 73) + SourceIndex(0) -25>Emitted(78, 116) Source(100, 75) + SourceIndex(0) -26>Emitted(78, 117) Source(100, 76) + SourceIndex(0) -27>Emitted(78, 119) Source(100, 78) + SourceIndex(0) -28>Emitted(78, 121) Source(100, 80) + SourceIndex(0) -29>Emitted(78, 122) Source(100, 81) + SourceIndex(0) +1->Emitted(79, 1) Source(100, 1) + SourceIndex(0) +2 >Emitted(79, 6) Source(100, 8) + SourceIndex(0) +3 >Emitted(79, 10) Source(100, 12) + SourceIndex(0) +4 >Emitted(79, 13) Source(100, 49) + SourceIndex(0) +5 >Emitted(79, 23) Source(100, 59) + SourceIndex(0) +6 >Emitted(79, 28) Source(100, 12) + SourceIndex(0) +7 >Emitted(79, 30) Source(100, 14) + SourceIndex(0) +8 >Emitted(79, 35) Source(100, 49) + SourceIndex(0) +9 >Emitted(79, 45) Source(100, 59) + SourceIndex(0) +10>Emitted(79, 52) Source(100, 44) + SourceIndex(0) +11>Emitted(79, 54) Source(100, 24) + SourceIndex(0) +12>Emitted(79, 61) Source(100, 31) + SourceIndex(0) +13>Emitted(79, 74) Source(100, 31) + SourceIndex(0) +14>Emitted(79, 76) Source(100, 33) + SourceIndex(0) +15>Emitted(79, 85) Source(100, 42) + SourceIndex(0) +16>Emitted(79, 100) Source(100, 42) + SourceIndex(0) +17>Emitted(79, 102) Source(100, 61) + SourceIndex(0) +18>Emitted(79, 103) Source(100, 62) + SourceIndex(0) +19>Emitted(79, 106) Source(100, 65) + SourceIndex(0) +20>Emitted(79, 107) Source(100, 66) + SourceIndex(0) +21>Emitted(79, 109) Source(100, 68) + SourceIndex(0) +22>Emitted(79, 110) Source(100, 69) + SourceIndex(0) +23>Emitted(79, 113) Source(100, 72) + SourceIndex(0) +24>Emitted(79, 114) Source(100, 73) + SourceIndex(0) +25>Emitted(79, 116) Source(100, 75) + SourceIndex(0) +26>Emitted(79, 117) Source(100, 76) + SourceIndex(0) +27>Emitted(79, 119) Source(100, 78) + SourceIndex(0) +28>Emitted(79, 121) Source(100, 80) + SourceIndex(0) +29>Emitted(79, 122) Source(100, 81) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -2968,14 +2969,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(79, 5) Source(101, 5) + SourceIndex(0) -2 >Emitted(79, 12) Source(101, 12) + SourceIndex(0) -3 >Emitted(79, 13) Source(101, 13) + SourceIndex(0) -4 >Emitted(79, 16) Source(101, 16) + SourceIndex(0) -5 >Emitted(79, 17) Source(101, 17) + SourceIndex(0) -6 >Emitted(79, 25) Source(101, 25) + SourceIndex(0) -7 >Emitted(79, 26) Source(101, 26) + SourceIndex(0) -8 >Emitted(79, 27) Source(101, 27) + SourceIndex(0) +1 >Emitted(80, 5) Source(101, 5) + SourceIndex(0) +2 >Emitted(80, 12) Source(101, 12) + SourceIndex(0) +3 >Emitted(80, 13) Source(101, 13) + SourceIndex(0) +4 >Emitted(80, 16) Source(101, 16) + SourceIndex(0) +5 >Emitted(80, 17) Source(101, 17) + SourceIndex(0) +6 >Emitted(80, 25) Source(101, 25) + SourceIndex(0) +7 >Emitted(80, 26) Source(101, 26) + SourceIndex(0) +8 >Emitted(80, 27) Source(101, 27) + SourceIndex(0) --- >>>} 1 > @@ -2984,8 +2985,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(80, 1) Source(102, 1) + SourceIndex(0) -2 >Emitted(80, 2) Source(102, 2) + SourceIndex(0) +1 >Emitted(81, 1) Source(102, 1) + SourceIndex(0) +2 >Emitted(81, 2) Source(102, 2) + SourceIndex(0) --- >>>for (_s = getMultiRobot(), name = _s.name, _t = _s.skills, primary = _t.primary, secondary = _t.secondary, i = 0; i < 1; i++) { 1-> @@ -3047,35 +3048,35 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 27> ++ 28> ) 29> { -1->Emitted(81, 1) Source(103, 1) + SourceIndex(0) -2 >Emitted(81, 6) Source(103, 6) + SourceIndex(0) -3 >Emitted(81, 11) Source(103, 49) + SourceIndex(0) -4 >Emitted(81, 24) Source(103, 62) + SourceIndex(0) -5 >Emitted(81, 26) Source(103, 64) + SourceIndex(0) -6 >Emitted(81, 28) Source(103, 8) + SourceIndex(0) -7 >Emitted(81, 32) Source(103, 12) + SourceIndex(0) -8 >Emitted(81, 42) Source(103, 12) + SourceIndex(0) -9 >Emitted(81, 44) Source(103, 14) + SourceIndex(0) -10>Emitted(81, 58) Source(103, 44) + SourceIndex(0) -11>Emitted(81, 60) Source(103, 24) + SourceIndex(0) -12>Emitted(81, 67) Source(103, 31) + SourceIndex(0) -13>Emitted(81, 80) Source(103, 31) + SourceIndex(0) -14>Emitted(81, 82) Source(103, 33) + SourceIndex(0) -15>Emitted(81, 91) Source(103, 42) + SourceIndex(0) -16>Emitted(81, 106) Source(103, 42) + SourceIndex(0) -17>Emitted(81, 108) Source(103, 66) + SourceIndex(0) -18>Emitted(81, 109) Source(103, 67) + SourceIndex(0) -19>Emitted(81, 112) Source(103, 70) + SourceIndex(0) -20>Emitted(81, 113) Source(103, 71) + SourceIndex(0) -21>Emitted(81, 115) Source(103, 73) + SourceIndex(0) -22>Emitted(81, 116) Source(103, 74) + SourceIndex(0) -23>Emitted(81, 119) Source(103, 77) + SourceIndex(0) -24>Emitted(81, 120) Source(103, 78) + SourceIndex(0) -25>Emitted(81, 122) Source(103, 80) + SourceIndex(0) -26>Emitted(81, 123) Source(103, 81) + SourceIndex(0) -27>Emitted(81, 125) Source(103, 83) + SourceIndex(0) -28>Emitted(81, 127) Source(103, 85) + SourceIndex(0) -29>Emitted(81, 128) Source(103, 86) + SourceIndex(0) +1->Emitted(82, 1) Source(103, 1) + SourceIndex(0) +2 >Emitted(82, 6) Source(103, 6) + SourceIndex(0) +3 >Emitted(82, 11) Source(103, 49) + SourceIndex(0) +4 >Emitted(82, 24) Source(103, 62) + SourceIndex(0) +5 >Emitted(82, 26) Source(103, 64) + SourceIndex(0) +6 >Emitted(82, 28) Source(103, 8) + SourceIndex(0) +7 >Emitted(82, 32) Source(103, 12) + SourceIndex(0) +8 >Emitted(82, 42) Source(103, 12) + SourceIndex(0) +9 >Emitted(82, 44) Source(103, 14) + SourceIndex(0) +10>Emitted(82, 58) Source(103, 44) + SourceIndex(0) +11>Emitted(82, 60) Source(103, 24) + SourceIndex(0) +12>Emitted(82, 67) Source(103, 31) + SourceIndex(0) +13>Emitted(82, 80) Source(103, 31) + SourceIndex(0) +14>Emitted(82, 82) Source(103, 33) + SourceIndex(0) +15>Emitted(82, 91) Source(103, 42) + SourceIndex(0) +16>Emitted(82, 106) Source(103, 42) + SourceIndex(0) +17>Emitted(82, 108) Source(103, 66) + SourceIndex(0) +18>Emitted(82, 109) Source(103, 67) + SourceIndex(0) +19>Emitted(82, 112) Source(103, 70) + SourceIndex(0) +20>Emitted(82, 113) Source(103, 71) + SourceIndex(0) +21>Emitted(82, 115) Source(103, 73) + SourceIndex(0) +22>Emitted(82, 116) Source(103, 74) + SourceIndex(0) +23>Emitted(82, 119) Source(103, 77) + SourceIndex(0) +24>Emitted(82, 120) Source(103, 78) + SourceIndex(0) +25>Emitted(82, 122) Source(103, 80) + SourceIndex(0) +26>Emitted(82, 123) Source(103, 81) + SourceIndex(0) +27>Emitted(82, 125) Source(103, 83) + SourceIndex(0) +28>Emitted(82, 127) Source(103, 85) + SourceIndex(0) +29>Emitted(82, 128) Source(103, 86) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -3095,14 +3096,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(82, 5) Source(104, 5) + SourceIndex(0) -2 >Emitted(82, 12) Source(104, 12) + SourceIndex(0) -3 >Emitted(82, 13) Source(104, 13) + SourceIndex(0) -4 >Emitted(82, 16) Source(104, 16) + SourceIndex(0) -5 >Emitted(82, 17) Source(104, 17) + SourceIndex(0) -6 >Emitted(82, 25) Source(104, 25) + SourceIndex(0) -7 >Emitted(82, 26) Source(104, 26) + SourceIndex(0) -8 >Emitted(82, 27) Source(104, 27) + SourceIndex(0) +1 >Emitted(83, 5) Source(104, 5) + SourceIndex(0) +2 >Emitted(83, 12) Source(104, 12) + SourceIndex(0) +3 >Emitted(83, 13) Source(104, 13) + SourceIndex(0) +4 >Emitted(83, 16) Source(104, 16) + SourceIndex(0) +5 >Emitted(83, 17) Source(104, 17) + SourceIndex(0) +6 >Emitted(83, 25) Source(104, 25) + SourceIndex(0) +7 >Emitted(83, 26) Source(104, 26) + SourceIndex(0) +8 >Emitted(83, 27) Source(104, 27) + SourceIndex(0) --- >>>} 1 > @@ -3111,8 +3112,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(83, 1) Source(105, 1) + SourceIndex(0) -2 >Emitted(83, 2) Source(105, 2) + SourceIndex(0) +1 >Emitted(84, 1) Source(105, 1) + SourceIndex(0) +2 >Emitted(84, 2) Source(105, 2) + SourceIndex(0) --- >>>for (_u = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, name = _u.name, _v = _u.skills, primary = _v.primary, secondary = _v.secondary, 1-> @@ -3179,37 +3180,37 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 29> , 30> secondary 31> -1->Emitted(84, 1) Source(106, 1) + SourceIndex(0) -2 >Emitted(84, 6) Source(106, 6) + SourceIndex(0) -3 >Emitted(84, 11) Source(107, 17) + SourceIndex(0) -4 >Emitted(84, 13) Source(107, 19) + SourceIndex(0) -5 >Emitted(84, 17) Source(107, 23) + SourceIndex(0) -6 >Emitted(84, 19) Source(107, 25) + SourceIndex(0) -7 >Emitted(84, 28) Source(107, 34) + SourceIndex(0) -8 >Emitted(84, 30) Source(107, 36) + SourceIndex(0) -9 >Emitted(84, 36) Source(107, 42) + SourceIndex(0) -10>Emitted(84, 38) Source(107, 44) + SourceIndex(0) -11>Emitted(84, 40) Source(107, 46) + SourceIndex(0) -12>Emitted(84, 47) Source(107, 53) + SourceIndex(0) -13>Emitted(84, 49) Source(107, 55) + SourceIndex(0) -14>Emitted(84, 59) Source(107, 65) + SourceIndex(0) -15>Emitted(84, 61) Source(107, 67) + SourceIndex(0) -16>Emitted(84, 70) Source(107, 76) + SourceIndex(0) -17>Emitted(84, 72) Source(107, 78) + SourceIndex(0) -18>Emitted(84, 80) Source(107, 86) + SourceIndex(0) -19>Emitted(84, 82) Source(107, 88) + SourceIndex(0) -20>Emitted(84, 84) Source(107, 90) + SourceIndex(0) -21>Emitted(84, 86) Source(106, 8) + SourceIndex(0) -22>Emitted(84, 90) Source(106, 12) + SourceIndex(0) -23>Emitted(84, 100) Source(106, 12) + SourceIndex(0) -24>Emitted(84, 102) Source(106, 14) + SourceIndex(0) -25>Emitted(84, 116) Source(106, 44) + SourceIndex(0) -26>Emitted(84, 118) Source(106, 24) + SourceIndex(0) -27>Emitted(84, 125) Source(106, 31) + SourceIndex(0) -28>Emitted(84, 138) Source(106, 31) + SourceIndex(0) -29>Emitted(84, 140) Source(106, 33) + SourceIndex(0) -30>Emitted(84, 149) Source(106, 42) + SourceIndex(0) -31>Emitted(84, 164) Source(106, 42) + SourceIndex(0) +1->Emitted(85, 1) Source(106, 1) + SourceIndex(0) +2 >Emitted(85, 6) Source(106, 6) + SourceIndex(0) +3 >Emitted(85, 11) Source(107, 17) + SourceIndex(0) +4 >Emitted(85, 13) Source(107, 19) + SourceIndex(0) +5 >Emitted(85, 17) Source(107, 23) + SourceIndex(0) +6 >Emitted(85, 19) Source(107, 25) + SourceIndex(0) +7 >Emitted(85, 28) Source(107, 34) + SourceIndex(0) +8 >Emitted(85, 30) Source(107, 36) + SourceIndex(0) +9 >Emitted(85, 36) Source(107, 42) + SourceIndex(0) +10>Emitted(85, 38) Source(107, 44) + SourceIndex(0) +11>Emitted(85, 40) Source(107, 46) + SourceIndex(0) +12>Emitted(85, 47) Source(107, 53) + SourceIndex(0) +13>Emitted(85, 49) Source(107, 55) + SourceIndex(0) +14>Emitted(85, 59) Source(107, 65) + SourceIndex(0) +15>Emitted(85, 61) Source(107, 67) + SourceIndex(0) +16>Emitted(85, 70) Source(107, 76) + SourceIndex(0) +17>Emitted(85, 72) Source(107, 78) + SourceIndex(0) +18>Emitted(85, 80) Source(107, 86) + SourceIndex(0) +19>Emitted(85, 82) Source(107, 88) + SourceIndex(0) +20>Emitted(85, 84) Source(107, 90) + SourceIndex(0) +21>Emitted(85, 86) Source(106, 8) + SourceIndex(0) +22>Emitted(85, 90) Source(106, 12) + SourceIndex(0) +23>Emitted(85, 100) Source(106, 12) + SourceIndex(0) +24>Emitted(85, 102) Source(106, 14) + SourceIndex(0) +25>Emitted(85, 116) Source(106, 44) + SourceIndex(0) +26>Emitted(85, 118) Source(106, 24) + SourceIndex(0) +27>Emitted(85, 125) Source(106, 31) + SourceIndex(0) +28>Emitted(85, 138) Source(106, 31) + SourceIndex(0) +29>Emitted(85, 140) Source(106, 33) + SourceIndex(0) +30>Emitted(85, 149) Source(106, 42) + SourceIndex(0) +31>Emitted(85, 164) Source(106, 42) + SourceIndex(0) --- >>> i = 0; i < 1; i++) { 1 >^^^^ @@ -3241,19 +3242,19 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 11> ++ 12> ) 13> { -1 >Emitted(85, 5) Source(108, 5) + SourceIndex(0) -2 >Emitted(85, 6) Source(108, 6) + SourceIndex(0) -3 >Emitted(85, 9) Source(108, 9) + SourceIndex(0) -4 >Emitted(85, 10) Source(108, 10) + SourceIndex(0) -5 >Emitted(85, 12) Source(108, 12) + SourceIndex(0) -6 >Emitted(85, 13) Source(108, 13) + SourceIndex(0) -7 >Emitted(85, 16) Source(108, 16) + SourceIndex(0) -8 >Emitted(85, 17) Source(108, 17) + SourceIndex(0) -9 >Emitted(85, 19) Source(108, 19) + SourceIndex(0) -10>Emitted(85, 20) Source(108, 20) + SourceIndex(0) -11>Emitted(85, 22) Source(108, 22) + SourceIndex(0) -12>Emitted(85, 24) Source(108, 24) + SourceIndex(0) -13>Emitted(85, 25) Source(108, 25) + SourceIndex(0) +1 >Emitted(86, 5) Source(108, 5) + SourceIndex(0) +2 >Emitted(86, 6) Source(108, 6) + SourceIndex(0) +3 >Emitted(86, 9) Source(108, 9) + SourceIndex(0) +4 >Emitted(86, 10) Source(108, 10) + SourceIndex(0) +5 >Emitted(86, 12) Source(108, 12) + SourceIndex(0) +6 >Emitted(86, 13) Source(108, 13) + SourceIndex(0) +7 >Emitted(86, 16) Source(108, 16) + SourceIndex(0) +8 >Emitted(86, 17) Source(108, 17) + SourceIndex(0) +9 >Emitted(86, 19) Source(108, 19) + SourceIndex(0) +10>Emitted(86, 20) Source(108, 20) + SourceIndex(0) +11>Emitted(86, 22) Source(108, 22) + SourceIndex(0) +12>Emitted(86, 24) Source(108, 24) + SourceIndex(0) +13>Emitted(86, 25) Source(108, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1->^^^^ @@ -3273,14 +3274,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1->Emitted(86, 5) Source(109, 5) + SourceIndex(0) -2 >Emitted(86, 12) Source(109, 12) + SourceIndex(0) -3 >Emitted(86, 13) Source(109, 13) + SourceIndex(0) -4 >Emitted(86, 16) Source(109, 16) + SourceIndex(0) -5 >Emitted(86, 17) Source(109, 17) + SourceIndex(0) -6 >Emitted(86, 25) Source(109, 25) + SourceIndex(0) -7 >Emitted(86, 26) Source(109, 26) + SourceIndex(0) -8 >Emitted(86, 27) Source(109, 27) + SourceIndex(0) +1->Emitted(87, 5) Source(109, 5) + SourceIndex(0) +2 >Emitted(87, 12) Source(109, 12) + SourceIndex(0) +3 >Emitted(87, 13) Source(109, 13) + SourceIndex(0) +4 >Emitted(87, 16) Source(109, 16) + SourceIndex(0) +5 >Emitted(87, 17) Source(109, 17) + SourceIndex(0) +6 >Emitted(87, 25) Source(109, 25) + SourceIndex(0) +7 >Emitted(87, 26) Source(109, 26) + SourceIndex(0) +8 >Emitted(87, 27) Source(109, 27) + SourceIndex(0) --- >>>} 1 > @@ -3289,7 +3290,7 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(87, 1) Source(110, 1) + SourceIndex(0) -2 >Emitted(87, 2) Source(110, 2) + SourceIndex(0) +1 >Emitted(88, 1) Source(110, 1) + SourceIndex(0) +2 >Emitted(88, 2) Source(110, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForObjectBindingPattern2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js index 572be9874f55b..18d2d4e2431a0 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js @@ -100,6 +100,7 @@ for (let { } //// [sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js] +"use strict"; var robot = { name: "mower", skill: "mowing" }; var multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; function getRobot() { diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js.map index 3b59ac66b3495..76e3b9b1fc206 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.ts"],"names":[],"mappings":"AAgBA,IAAI,KAAK,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACtD,IAAI,UAAU,GAAe,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AACjG,SAAS,QAAQ;IACb,OAAO,KAAK,CAAC;AACjB,CAAC;AACD,SAAS,aAAa;IAClB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,KAAU,IA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A9IHsgcHJpbWFyeTogIm5vbmUiLCBzZWNvbmRhcnk6ICJub25lIiB9Cn0gPSBnZXRNdWx0aVJvYm90KCksIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhwcmltYXJ5QSk7Cn0KZm9yIChsZXQgewogICAgbmFtZTogbmFtZUEgPSAibm9OYW1lIiwKICAgIHNraWxsczogewogICAgICAgIHByaW1hcnk6IHByaW1hcnlBID0gInByaW1hcnkiLAogICAgICAgIHNlY29uZGFyeTogc2Vjb25kYXJ5QSA9ICJzZWNvbmRhcnkiCiAgICB9ID0geyBwcmltYXJ5OiAibm9uZSIsIHNlY29uZGFyeTogIm5vbmUiIH0KfSA9IDxNdWx0aVJvYm90PnsgbmFtZTogInRyaW1tZXIiLCBza2lsbHM6IHsgcHJpbWFyeTogInRyaW1taW5nIiwgc2Vjb25kYXJ5OiAiZWRnaW5nIiB9IH0sCiAgICBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cocHJpbWFyeUEpOwp9 +{"version":3,"file":"sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.ts"],"names":[],"mappings":";AAgBA,IAAI,KAAK,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACtD,IAAI,UAAU,GAAe,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AACjG,SAAS,QAAQ;IACb,OAAO,KAAK,CAAC;AACjB,CAAC;AACD,SAAS,aAAa;IAClB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,KAAU,IAAA,KAA0B,KAAK,KAAV,EAAf,KAAK,mBAAE,QAAQ,KAAA,EAAY,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,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gaSsrKSB7CiAgICBjb25zb2xlLmxvZyhwcmltYXJ5QSk7Cn0KZm9yIChsZXQgewogICAgbmFtZTogbmFtZUEgPSAibm9OYW1lIiwKICAgIHNraWxsczogewogICAgICAgIHByaW1hcnk6IHByaW1hcnlBID0gInByaW1hcnkiLAogICAgICAgIHNlY29uZGFyeTogc2Vjb25kYXJ5QSA9ICJzZWNvbmRhcnkiCiAgICB9ID0geyBwcmltYXJ5OiAibm9uZSIsIHNlY29uZGFyeTogIm5vbmUiIH0KfSA9IDxNdWx0aVJvYm90PnsgbmFtZTogInRyaW1tZXIiLCBza2lsbHM6IHsgcHJpbWFyeTogInRyaW1taW5nIiwgc2Vjb25kYXJ5OiAiZWRnaW5nIiB9IH0sCiAgICBpID0gMDsgaSA8IDE7IGkrKykgewogICAgY29uc29sZS5sb2cocHJpbWFyeUEpOwp9 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.sourcemap.txt index c4185c854c017..5fa92b7a65337 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.ts emittedFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robot = { name: "mower", skill: "mowing" }; 1 > 2 >^^^^ @@ -54,20 +55,20 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 12> "mowing" 13> } 14> ; -1 >Emitted(1, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(1, 10) Source(17, 10) + SourceIndex(0) -4 >Emitted(1, 13) Source(17, 20) + SourceIndex(0) -5 >Emitted(1, 15) Source(17, 22) + SourceIndex(0) -6 >Emitted(1, 19) Source(17, 26) + SourceIndex(0) -7 >Emitted(1, 21) Source(17, 28) + SourceIndex(0) -8 >Emitted(1, 28) Source(17, 35) + SourceIndex(0) -9 >Emitted(1, 30) Source(17, 37) + SourceIndex(0) -10>Emitted(1, 35) Source(17, 42) + SourceIndex(0) -11>Emitted(1, 37) Source(17, 44) + SourceIndex(0) -12>Emitted(1, 45) Source(17, 52) + SourceIndex(0) -13>Emitted(1, 47) Source(17, 54) + SourceIndex(0) -14>Emitted(1, 48) Source(17, 55) + SourceIndex(0) +1 >Emitted(2, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(2, 10) Source(17, 10) + SourceIndex(0) +4 >Emitted(2, 13) Source(17, 20) + SourceIndex(0) +5 >Emitted(2, 15) Source(17, 22) + SourceIndex(0) +6 >Emitted(2, 19) Source(17, 26) + SourceIndex(0) +7 >Emitted(2, 21) Source(17, 28) + SourceIndex(0) +8 >Emitted(2, 28) Source(17, 35) + SourceIndex(0) +9 >Emitted(2, 30) Source(17, 37) + SourceIndex(0) +10>Emitted(2, 35) Source(17, 42) + SourceIndex(0) +11>Emitted(2, 37) Source(17, 44) + SourceIndex(0) +12>Emitted(2, 45) Source(17, 52) + SourceIndex(0) +13>Emitted(2, 47) Source(17, 54) + SourceIndex(0) +14>Emitted(2, 48) Source(17, 55) + SourceIndex(0) --- >>>var multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; 1-> @@ -115,28 +116,28 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 20> } 21> } 22> ; -1->Emitted(2, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(2, 15) Source(18, 15) + SourceIndex(0) -4 >Emitted(2, 18) Source(18, 30) + SourceIndex(0) -5 >Emitted(2, 20) Source(18, 32) + SourceIndex(0) -6 >Emitted(2, 24) Source(18, 36) + SourceIndex(0) -7 >Emitted(2, 26) Source(18, 38) + SourceIndex(0) -8 >Emitted(2, 33) Source(18, 45) + SourceIndex(0) -9 >Emitted(2, 35) Source(18, 47) + SourceIndex(0) -10>Emitted(2, 41) Source(18, 53) + SourceIndex(0) -11>Emitted(2, 43) Source(18, 55) + SourceIndex(0) -12>Emitted(2, 45) Source(18, 57) + SourceIndex(0) -13>Emitted(2, 52) Source(18, 64) + SourceIndex(0) -14>Emitted(2, 54) Source(18, 66) + SourceIndex(0) -15>Emitted(2, 62) Source(18, 74) + SourceIndex(0) -16>Emitted(2, 64) Source(18, 76) + SourceIndex(0) -17>Emitted(2, 73) Source(18, 85) + SourceIndex(0) -18>Emitted(2, 75) Source(18, 87) + SourceIndex(0) -19>Emitted(2, 81) Source(18, 93) + SourceIndex(0) -20>Emitted(2, 83) Source(18, 95) + SourceIndex(0) -21>Emitted(2, 85) Source(18, 97) + SourceIndex(0) -22>Emitted(2, 86) Source(18, 98) + SourceIndex(0) +1->Emitted(3, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(3, 15) Source(18, 15) + SourceIndex(0) +4 >Emitted(3, 18) Source(18, 30) + SourceIndex(0) +5 >Emitted(3, 20) Source(18, 32) + SourceIndex(0) +6 >Emitted(3, 24) Source(18, 36) + SourceIndex(0) +7 >Emitted(3, 26) Source(18, 38) + SourceIndex(0) +8 >Emitted(3, 33) Source(18, 45) + SourceIndex(0) +9 >Emitted(3, 35) Source(18, 47) + SourceIndex(0) +10>Emitted(3, 41) Source(18, 53) + SourceIndex(0) +11>Emitted(3, 43) Source(18, 55) + SourceIndex(0) +12>Emitted(3, 45) Source(18, 57) + SourceIndex(0) +13>Emitted(3, 52) Source(18, 64) + SourceIndex(0) +14>Emitted(3, 54) Source(18, 66) + SourceIndex(0) +15>Emitted(3, 62) Source(18, 74) + SourceIndex(0) +16>Emitted(3, 64) Source(18, 76) + SourceIndex(0) +17>Emitted(3, 73) Source(18, 85) + SourceIndex(0) +18>Emitted(3, 75) Source(18, 87) + SourceIndex(0) +19>Emitted(3, 81) Source(18, 93) + SourceIndex(0) +20>Emitted(3, 83) Source(18, 95) + SourceIndex(0) +21>Emitted(3, 85) Source(18, 97) + SourceIndex(0) +22>Emitted(3, 86) Source(18, 98) + SourceIndex(0) --- >>>function getRobot() { 1 > @@ -147,9 +148,9 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. > 2 >function 3 > getRobot -1 >Emitted(3, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(3, 10) Source(19, 10) + SourceIndex(0) -3 >Emitted(3, 18) Source(19, 18) + SourceIndex(0) +1 >Emitted(4, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(4, 10) Source(19, 10) + SourceIndex(0) +3 >Emitted(4, 18) Source(19, 18) + SourceIndex(0) --- >>> return robot; 1->^^^^ @@ -161,10 +162,10 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 2 > return 3 > robot 4 > ; -1->Emitted(4, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(20, 12) + SourceIndex(0) -3 >Emitted(4, 17) Source(20, 17) + SourceIndex(0) -4 >Emitted(4, 18) Source(20, 18) + SourceIndex(0) +1->Emitted(5, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(20, 12) + SourceIndex(0) +3 >Emitted(5, 17) Source(20, 17) + SourceIndex(0) +4 >Emitted(5, 18) Source(20, 18) + SourceIndex(0) --- >>>} 1 > @@ -173,8 +174,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(5, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(21, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(21, 2) + SourceIndex(0) --- >>>function getMultiRobot() { 1-> @@ -185,9 +186,9 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. > 2 >function 3 > getMultiRobot -1->Emitted(6, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(6, 10) Source(22, 10) + SourceIndex(0) -3 >Emitted(6, 23) Source(22, 23) + SourceIndex(0) +1->Emitted(7, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(7, 10) Source(22, 10) + SourceIndex(0) +3 >Emitted(7, 23) Source(22, 23) + SourceIndex(0) --- >>> return multiRobot; 1->^^^^ @@ -199,10 +200,10 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 2 > return 3 > multiRobot 4 > ; -1->Emitted(7, 5) Source(23, 5) + SourceIndex(0) -2 >Emitted(7, 12) Source(23, 12) + SourceIndex(0) -3 >Emitted(7, 22) Source(23, 22) + SourceIndex(0) -4 >Emitted(7, 23) Source(23, 23) + SourceIndex(0) +1->Emitted(8, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(8, 12) Source(23, 12) + SourceIndex(0) +3 >Emitted(8, 22) Source(23, 22) + SourceIndex(0) +4 >Emitted(8, 23) Source(23, 23) + SourceIndex(0) --- >>>} 1 > @@ -211,8 +212,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(8, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(8, 2) Source(24, 2) + SourceIndex(0) +1 >Emitted(9, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(9, 2) Source(24, 2) + SourceIndex(0) --- >>>for (var _a = robot.name, nameA = _a === void 0 ? "noName" : _a, i = 0; i < 1; i++) { 1-> @@ -265,30 +266,30 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 22> ++ 23> ) 24> { -1->Emitted(9, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(9, 6) Source(26, 11) + SourceIndex(0) -3 >Emitted(9, 10) Source(26, 11) + SourceIndex(0) -4 >Emitted(9, 15) Source(26, 37) + SourceIndex(0) -5 >Emitted(9, 20) Source(26, 42) + SourceIndex(0) -6 >Emitted(9, 25) Source(26, 32) + SourceIndex(0) -7 >Emitted(9, 27) Source(26, 17) + SourceIndex(0) -8 >Emitted(9, 32) Source(26, 22) + SourceIndex(0) -9 >Emitted(9, 51) Source(26, 24) + SourceIndex(0) -10>Emitted(9, 59) Source(26, 32) + SourceIndex(0) -11>Emitted(9, 64) Source(26, 32) + SourceIndex(0) -12>Emitted(9, 66) Source(26, 44) + SourceIndex(0) -13>Emitted(9, 67) Source(26, 45) + SourceIndex(0) -14>Emitted(9, 70) Source(26, 48) + SourceIndex(0) -15>Emitted(9, 71) Source(26, 49) + SourceIndex(0) -16>Emitted(9, 73) Source(26, 51) + SourceIndex(0) -17>Emitted(9, 74) Source(26, 52) + SourceIndex(0) -18>Emitted(9, 77) Source(26, 55) + SourceIndex(0) -19>Emitted(9, 78) Source(26, 56) + SourceIndex(0) -20>Emitted(9, 80) Source(26, 58) + SourceIndex(0) -21>Emitted(9, 81) Source(26, 59) + SourceIndex(0) -22>Emitted(9, 83) Source(26, 61) + SourceIndex(0) -23>Emitted(9, 85) Source(26, 63) + SourceIndex(0) -24>Emitted(9, 86) Source(26, 64) + SourceIndex(0) +1->Emitted(10, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(10, 6) Source(26, 11) + SourceIndex(0) +3 >Emitted(10, 10) Source(26, 11) + SourceIndex(0) +4 >Emitted(10, 15) Source(26, 37) + SourceIndex(0) +5 >Emitted(10, 20) Source(26, 42) + SourceIndex(0) +6 >Emitted(10, 25) Source(26, 32) + SourceIndex(0) +7 >Emitted(10, 27) Source(26, 17) + SourceIndex(0) +8 >Emitted(10, 32) Source(26, 22) + SourceIndex(0) +9 >Emitted(10, 51) Source(26, 24) + SourceIndex(0) +10>Emitted(10, 59) Source(26, 32) + SourceIndex(0) +11>Emitted(10, 64) Source(26, 32) + SourceIndex(0) +12>Emitted(10, 66) Source(26, 44) + SourceIndex(0) +13>Emitted(10, 67) Source(26, 45) + SourceIndex(0) +14>Emitted(10, 70) Source(26, 48) + SourceIndex(0) +15>Emitted(10, 71) Source(26, 49) + SourceIndex(0) +16>Emitted(10, 73) Source(26, 51) + SourceIndex(0) +17>Emitted(10, 74) Source(26, 52) + SourceIndex(0) +18>Emitted(10, 77) Source(26, 55) + SourceIndex(0) +19>Emitted(10, 78) Source(26, 56) + SourceIndex(0) +20>Emitted(10, 80) Source(26, 58) + SourceIndex(0) +21>Emitted(10, 81) Source(26, 59) + SourceIndex(0) +22>Emitted(10, 83) Source(26, 61) + SourceIndex(0) +23>Emitted(10, 85) Source(26, 63) + SourceIndex(0) +24>Emitted(10, 86) Source(26, 64) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -308,14 +309,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > nameA 7 > ) 8 > ; -1 >Emitted(10, 5) Source(27, 5) + SourceIndex(0) -2 >Emitted(10, 12) Source(27, 12) + SourceIndex(0) -3 >Emitted(10, 13) Source(27, 13) + SourceIndex(0) -4 >Emitted(10, 16) Source(27, 16) + SourceIndex(0) -5 >Emitted(10, 17) Source(27, 17) + SourceIndex(0) -6 >Emitted(10, 22) Source(27, 22) + SourceIndex(0) -7 >Emitted(10, 23) Source(27, 23) + SourceIndex(0) -8 >Emitted(10, 24) Source(27, 24) + SourceIndex(0) +1 >Emitted(11, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(11, 12) Source(27, 12) + SourceIndex(0) +3 >Emitted(11, 13) Source(27, 13) + SourceIndex(0) +4 >Emitted(11, 16) Source(27, 16) + SourceIndex(0) +5 >Emitted(11, 17) Source(27, 17) + SourceIndex(0) +6 >Emitted(11, 22) Source(27, 22) + SourceIndex(0) +7 >Emitted(11, 23) Source(27, 23) + SourceIndex(0) +8 >Emitted(11, 24) Source(27, 24) + SourceIndex(0) --- >>>} 1 > @@ -324,8 +325,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(11, 1) Source(28, 1) + SourceIndex(0) -2 >Emitted(11, 2) Source(28, 2) + SourceIndex(0) +1 >Emitted(12, 1) Source(28, 1) + SourceIndex(0) +2 >Emitted(12, 2) Source(28, 2) + SourceIndex(0) --- >>>for (var _b = getRobot().name, nameA = _b === void 0 ? "noName" : _b, i = 0; i < 1; i++) { 1-> @@ -379,31 +380,31 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 23> ++ 24> ) 25> { -1->Emitted(12, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(12, 6) Source(29, 11) + SourceIndex(0) -3 >Emitted(12, 10) Source(29, 11) + SourceIndex(0) -4 >Emitted(12, 15) Source(29, 38) + SourceIndex(0) -5 >Emitted(12, 23) Source(29, 46) + SourceIndex(0) -6 >Emitted(12, 25) Source(29, 48) + SourceIndex(0) -7 >Emitted(12, 30) Source(29, 33) + SourceIndex(0) -8 >Emitted(12, 32) Source(29, 17) + SourceIndex(0) -9 >Emitted(12, 37) Source(29, 22) + SourceIndex(0) -10>Emitted(12, 56) Source(29, 25) + SourceIndex(0) -11>Emitted(12, 64) Source(29, 33) + SourceIndex(0) -12>Emitted(12, 69) Source(29, 33) + SourceIndex(0) -13>Emitted(12, 71) Source(29, 50) + SourceIndex(0) -14>Emitted(12, 72) Source(29, 51) + SourceIndex(0) -15>Emitted(12, 75) Source(29, 54) + SourceIndex(0) -16>Emitted(12, 76) Source(29, 55) + SourceIndex(0) -17>Emitted(12, 78) Source(29, 57) + SourceIndex(0) -18>Emitted(12, 79) Source(29, 58) + SourceIndex(0) -19>Emitted(12, 82) Source(29, 61) + SourceIndex(0) -20>Emitted(12, 83) Source(29, 62) + SourceIndex(0) -21>Emitted(12, 85) Source(29, 64) + SourceIndex(0) -22>Emitted(12, 86) Source(29, 65) + SourceIndex(0) -23>Emitted(12, 88) Source(29, 67) + SourceIndex(0) -24>Emitted(12, 90) Source(29, 69) + SourceIndex(0) -25>Emitted(12, 91) Source(29, 70) + SourceIndex(0) +1->Emitted(13, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(13, 6) Source(29, 11) + SourceIndex(0) +3 >Emitted(13, 10) Source(29, 11) + SourceIndex(0) +4 >Emitted(13, 15) Source(29, 38) + SourceIndex(0) +5 >Emitted(13, 23) Source(29, 46) + SourceIndex(0) +6 >Emitted(13, 25) Source(29, 48) + SourceIndex(0) +7 >Emitted(13, 30) Source(29, 33) + SourceIndex(0) +8 >Emitted(13, 32) Source(29, 17) + SourceIndex(0) +9 >Emitted(13, 37) Source(29, 22) + SourceIndex(0) +10>Emitted(13, 56) Source(29, 25) + SourceIndex(0) +11>Emitted(13, 64) Source(29, 33) + SourceIndex(0) +12>Emitted(13, 69) Source(29, 33) + SourceIndex(0) +13>Emitted(13, 71) Source(29, 50) + SourceIndex(0) +14>Emitted(13, 72) Source(29, 51) + SourceIndex(0) +15>Emitted(13, 75) Source(29, 54) + SourceIndex(0) +16>Emitted(13, 76) Source(29, 55) + SourceIndex(0) +17>Emitted(13, 78) Source(29, 57) + SourceIndex(0) +18>Emitted(13, 79) Source(29, 58) + SourceIndex(0) +19>Emitted(13, 82) Source(29, 61) + SourceIndex(0) +20>Emitted(13, 83) Source(29, 62) + SourceIndex(0) +21>Emitted(13, 85) Source(29, 64) + SourceIndex(0) +22>Emitted(13, 86) Source(29, 65) + SourceIndex(0) +23>Emitted(13, 88) Source(29, 67) + SourceIndex(0) +24>Emitted(13, 90) Source(29, 69) + SourceIndex(0) +25>Emitted(13, 91) Source(29, 70) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -423,14 +424,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > nameA 7 > ) 8 > ; -1 >Emitted(13, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(13, 12) Source(30, 12) + SourceIndex(0) -3 >Emitted(13, 13) Source(30, 13) + SourceIndex(0) -4 >Emitted(13, 16) Source(30, 16) + SourceIndex(0) -5 >Emitted(13, 17) Source(30, 17) + SourceIndex(0) -6 >Emitted(13, 22) Source(30, 22) + SourceIndex(0) -7 >Emitted(13, 23) Source(30, 23) + SourceIndex(0) -8 >Emitted(13, 24) Source(30, 24) + SourceIndex(0) +1 >Emitted(14, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(14, 12) Source(30, 12) + SourceIndex(0) +3 >Emitted(14, 13) Source(30, 13) + SourceIndex(0) +4 >Emitted(14, 16) Source(30, 16) + SourceIndex(0) +5 >Emitted(14, 17) Source(30, 17) + SourceIndex(0) +6 >Emitted(14, 22) Source(30, 22) + SourceIndex(0) +7 >Emitted(14, 23) Source(30, 23) + SourceIndex(0) +8 >Emitted(14, 24) Source(30, 24) + SourceIndex(0) --- >>>} 1 > @@ -439,8 +440,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(14, 1) Source(31, 1) + SourceIndex(0) -2 >Emitted(14, 2) Source(31, 2) + SourceIndex(0) +1 >Emitted(15, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(15, 2) Source(31, 2) + SourceIndex(0) --- >>>for (var _c = { name: "trimmer", skill: "trimming" }.name, nameA = _c === void 0 ? "noName" : _c, i = 0; i < 1; i++) { 1-> @@ -508,38 +509,38 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 30> ++ 31> ) 32> { -1->Emitted(15, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(15, 6) Source(32, 11) + SourceIndex(0) -3 >Emitted(15, 10) Source(32, 11) + SourceIndex(0) -4 >Emitted(15, 15) Source(32, 45) + SourceIndex(0) -5 >Emitted(15, 17) Source(32, 47) + SourceIndex(0) -6 >Emitted(15, 21) Source(32, 51) + SourceIndex(0) -7 >Emitted(15, 23) Source(32, 53) + SourceIndex(0) -8 >Emitted(15, 32) Source(32, 62) + SourceIndex(0) -9 >Emitted(15, 34) Source(32, 64) + SourceIndex(0) -10>Emitted(15, 39) Source(32, 69) + SourceIndex(0) -11>Emitted(15, 41) Source(32, 71) + SourceIndex(0) -12>Emitted(15, 51) Source(32, 81) + SourceIndex(0) -13>Emitted(15, 53) Source(32, 83) + SourceIndex(0) -14>Emitted(15, 58) Source(32, 33) + SourceIndex(0) -15>Emitted(15, 60) Source(32, 17) + SourceIndex(0) -16>Emitted(15, 65) Source(32, 22) + SourceIndex(0) -17>Emitted(15, 84) Source(32, 25) + SourceIndex(0) -18>Emitted(15, 92) Source(32, 33) + SourceIndex(0) -19>Emitted(15, 97) Source(32, 33) + SourceIndex(0) -20>Emitted(15, 99) Source(32, 85) + SourceIndex(0) -21>Emitted(15, 100) Source(32, 86) + SourceIndex(0) -22>Emitted(15, 103) Source(32, 89) + SourceIndex(0) -23>Emitted(15, 104) Source(32, 90) + SourceIndex(0) -24>Emitted(15, 106) Source(32, 92) + SourceIndex(0) -25>Emitted(15, 107) Source(32, 93) + SourceIndex(0) -26>Emitted(15, 110) Source(32, 96) + SourceIndex(0) -27>Emitted(15, 111) Source(32, 97) + SourceIndex(0) -28>Emitted(15, 113) Source(32, 99) + SourceIndex(0) -29>Emitted(15, 114) Source(32, 100) + SourceIndex(0) -30>Emitted(15, 116) Source(32, 102) + SourceIndex(0) -31>Emitted(15, 118) Source(32, 104) + SourceIndex(0) -32>Emitted(15, 119) Source(32, 105) + SourceIndex(0) +1->Emitted(16, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(16, 6) Source(32, 11) + SourceIndex(0) +3 >Emitted(16, 10) Source(32, 11) + SourceIndex(0) +4 >Emitted(16, 15) Source(32, 45) + SourceIndex(0) +5 >Emitted(16, 17) Source(32, 47) + SourceIndex(0) +6 >Emitted(16, 21) Source(32, 51) + SourceIndex(0) +7 >Emitted(16, 23) Source(32, 53) + SourceIndex(0) +8 >Emitted(16, 32) Source(32, 62) + SourceIndex(0) +9 >Emitted(16, 34) Source(32, 64) + SourceIndex(0) +10>Emitted(16, 39) Source(32, 69) + SourceIndex(0) +11>Emitted(16, 41) Source(32, 71) + SourceIndex(0) +12>Emitted(16, 51) Source(32, 81) + SourceIndex(0) +13>Emitted(16, 53) Source(32, 83) + SourceIndex(0) +14>Emitted(16, 58) Source(32, 33) + SourceIndex(0) +15>Emitted(16, 60) Source(32, 17) + SourceIndex(0) +16>Emitted(16, 65) Source(32, 22) + SourceIndex(0) +17>Emitted(16, 84) Source(32, 25) + SourceIndex(0) +18>Emitted(16, 92) Source(32, 33) + SourceIndex(0) +19>Emitted(16, 97) Source(32, 33) + SourceIndex(0) +20>Emitted(16, 99) Source(32, 85) + SourceIndex(0) +21>Emitted(16, 100) Source(32, 86) + SourceIndex(0) +22>Emitted(16, 103) Source(32, 89) + SourceIndex(0) +23>Emitted(16, 104) Source(32, 90) + SourceIndex(0) +24>Emitted(16, 106) Source(32, 92) + SourceIndex(0) +25>Emitted(16, 107) Source(32, 93) + SourceIndex(0) +26>Emitted(16, 110) Source(32, 96) + SourceIndex(0) +27>Emitted(16, 111) Source(32, 97) + SourceIndex(0) +28>Emitted(16, 113) Source(32, 99) + SourceIndex(0) +29>Emitted(16, 114) Source(32, 100) + SourceIndex(0) +30>Emitted(16, 116) Source(32, 102) + SourceIndex(0) +31>Emitted(16, 118) Source(32, 104) + SourceIndex(0) +32>Emitted(16, 119) Source(32, 105) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -559,14 +560,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > nameA 7 > ) 8 > ; -1 >Emitted(16, 5) Source(33, 5) + SourceIndex(0) -2 >Emitted(16, 12) Source(33, 12) + SourceIndex(0) -3 >Emitted(16, 13) Source(33, 13) + SourceIndex(0) -4 >Emitted(16, 16) Source(33, 16) + SourceIndex(0) -5 >Emitted(16, 17) Source(33, 17) + SourceIndex(0) -6 >Emitted(16, 22) Source(33, 22) + SourceIndex(0) -7 >Emitted(16, 23) Source(33, 23) + SourceIndex(0) -8 >Emitted(16, 24) Source(33, 24) + SourceIndex(0) +1 >Emitted(17, 5) Source(33, 5) + SourceIndex(0) +2 >Emitted(17, 12) Source(33, 12) + SourceIndex(0) +3 >Emitted(17, 13) Source(33, 13) + SourceIndex(0) +4 >Emitted(17, 16) Source(33, 16) + SourceIndex(0) +5 >Emitted(17, 17) Source(33, 17) + SourceIndex(0) +6 >Emitted(17, 22) Source(33, 22) + SourceIndex(0) +7 >Emitted(17, 23) Source(33, 23) + SourceIndex(0) +8 >Emitted(17, 24) Source(33, 24) + SourceIndex(0) --- >>>} 1 > @@ -575,8 +576,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(17, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(17, 2) Source(34, 2) + SourceIndex(0) +1 >Emitted(18, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(18, 2) Source(34, 2) + SourceIndex(0) --- >>>for (var _d = multiRobot.skills, _e = _d === void 0 ? { primary: "none", secondary: "none" } : _d, _f = _e.primary, primaryA = _f === void 0 ? "primary" : _f, _g = _e.secondary, secondaryA = _g === void 0 ? "secondary" : _g, i = 0; i < 1; i++) { 1-> @@ -681,51 +682,51 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 43> ++ 44> ) 45> { -1->Emitted(18, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(18, 6) Source(36, 5) + SourceIndex(0) -3 >Emitted(18, 10) Source(36, 5) + SourceIndex(0) -4 >Emitted(18, 15) Source(40, 5) + SourceIndex(0) -5 >Emitted(18, 25) Source(40, 15) + SourceIndex(0) -6 >Emitted(18, 32) Source(39, 47) + SourceIndex(0) -7 >Emitted(18, 34) Source(36, 5) + SourceIndex(0) -8 >Emitted(18, 55) Source(39, 9) + SourceIndex(0) -9 >Emitted(18, 57) Source(39, 11) + SourceIndex(0) -10>Emitted(18, 64) Source(39, 18) + SourceIndex(0) -11>Emitted(18, 66) Source(39, 20) + SourceIndex(0) -12>Emitted(18, 72) Source(39, 26) + SourceIndex(0) -13>Emitted(18, 74) Source(39, 28) + SourceIndex(0) -14>Emitted(18, 83) Source(39, 37) + SourceIndex(0) -15>Emitted(18, 85) Source(39, 39) + SourceIndex(0) -16>Emitted(18, 91) Source(39, 45) + SourceIndex(0) -17>Emitted(18, 93) Source(39, 47) + SourceIndex(0) -18>Emitted(18, 98) Source(39, 47) + SourceIndex(0) -19>Emitted(18, 100) Source(37, 9) + SourceIndex(0) -20>Emitted(18, 115) Source(37, 38) + SourceIndex(0) -21>Emitted(18, 117) Source(37, 18) + SourceIndex(0) -22>Emitted(18, 125) Source(37, 26) + SourceIndex(0) -23>Emitted(18, 144) Source(37, 29) + SourceIndex(0) -24>Emitted(18, 153) Source(37, 38) + SourceIndex(0) -25>Emitted(18, 158) Source(37, 38) + SourceIndex(0) -26>Emitted(18, 160) Source(38, 9) + SourceIndex(0) -27>Emitted(18, 177) Source(38, 44) + SourceIndex(0) -28>Emitted(18, 179) Source(38, 20) + SourceIndex(0) -29>Emitted(18, 189) Source(38, 30) + SourceIndex(0) -30>Emitted(18, 208) Source(38, 33) + SourceIndex(0) -31>Emitted(18, 219) Source(38, 44) + SourceIndex(0) -32>Emitted(18, 224) Source(38, 44) + SourceIndex(0) -33>Emitted(18, 226) Source(40, 17) + SourceIndex(0) -34>Emitted(18, 227) Source(40, 18) + SourceIndex(0) -35>Emitted(18, 230) Source(40, 21) + SourceIndex(0) -36>Emitted(18, 231) Source(40, 22) + SourceIndex(0) -37>Emitted(18, 233) Source(40, 24) + SourceIndex(0) -38>Emitted(18, 234) Source(40, 25) + SourceIndex(0) -39>Emitted(18, 237) Source(40, 28) + SourceIndex(0) -40>Emitted(18, 238) Source(40, 29) + SourceIndex(0) -41>Emitted(18, 240) Source(40, 31) + SourceIndex(0) -42>Emitted(18, 241) Source(40, 32) + SourceIndex(0) -43>Emitted(18, 243) Source(40, 34) + SourceIndex(0) -44>Emitted(18, 245) Source(40, 36) + SourceIndex(0) -45>Emitted(18, 246) Source(40, 37) + SourceIndex(0) +1->Emitted(19, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(19, 6) Source(36, 5) + SourceIndex(0) +3 >Emitted(19, 10) Source(36, 5) + SourceIndex(0) +4 >Emitted(19, 15) Source(40, 5) + SourceIndex(0) +5 >Emitted(19, 25) Source(40, 15) + SourceIndex(0) +6 >Emitted(19, 32) Source(39, 47) + SourceIndex(0) +7 >Emitted(19, 34) Source(36, 5) + SourceIndex(0) +8 >Emitted(19, 55) Source(39, 9) + SourceIndex(0) +9 >Emitted(19, 57) Source(39, 11) + SourceIndex(0) +10>Emitted(19, 64) Source(39, 18) + SourceIndex(0) +11>Emitted(19, 66) Source(39, 20) + SourceIndex(0) +12>Emitted(19, 72) Source(39, 26) + SourceIndex(0) +13>Emitted(19, 74) Source(39, 28) + SourceIndex(0) +14>Emitted(19, 83) Source(39, 37) + SourceIndex(0) +15>Emitted(19, 85) Source(39, 39) + SourceIndex(0) +16>Emitted(19, 91) Source(39, 45) + SourceIndex(0) +17>Emitted(19, 93) Source(39, 47) + SourceIndex(0) +18>Emitted(19, 98) Source(39, 47) + SourceIndex(0) +19>Emitted(19, 100) Source(37, 9) + SourceIndex(0) +20>Emitted(19, 115) Source(37, 38) + SourceIndex(0) +21>Emitted(19, 117) Source(37, 18) + SourceIndex(0) +22>Emitted(19, 125) Source(37, 26) + SourceIndex(0) +23>Emitted(19, 144) Source(37, 29) + SourceIndex(0) +24>Emitted(19, 153) Source(37, 38) + SourceIndex(0) +25>Emitted(19, 158) Source(37, 38) + SourceIndex(0) +26>Emitted(19, 160) Source(38, 9) + SourceIndex(0) +27>Emitted(19, 177) Source(38, 44) + SourceIndex(0) +28>Emitted(19, 179) Source(38, 20) + SourceIndex(0) +29>Emitted(19, 189) Source(38, 30) + SourceIndex(0) +30>Emitted(19, 208) Source(38, 33) + SourceIndex(0) +31>Emitted(19, 219) Source(38, 44) + SourceIndex(0) +32>Emitted(19, 224) Source(38, 44) + SourceIndex(0) +33>Emitted(19, 226) Source(40, 17) + SourceIndex(0) +34>Emitted(19, 227) Source(40, 18) + SourceIndex(0) +35>Emitted(19, 230) Source(40, 21) + SourceIndex(0) +36>Emitted(19, 231) Source(40, 22) + SourceIndex(0) +37>Emitted(19, 233) Source(40, 24) + SourceIndex(0) +38>Emitted(19, 234) Source(40, 25) + SourceIndex(0) +39>Emitted(19, 237) Source(40, 28) + SourceIndex(0) +40>Emitted(19, 238) Source(40, 29) + SourceIndex(0) +41>Emitted(19, 240) Source(40, 31) + SourceIndex(0) +42>Emitted(19, 241) Source(40, 32) + SourceIndex(0) +43>Emitted(19, 243) Source(40, 34) + SourceIndex(0) +44>Emitted(19, 245) Source(40, 36) + SourceIndex(0) +45>Emitted(19, 246) Source(40, 37) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -745,14 +746,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > primaryA 7 > ) 8 > ; -1 >Emitted(19, 5) Source(41, 5) + SourceIndex(0) -2 >Emitted(19, 12) Source(41, 12) + SourceIndex(0) -3 >Emitted(19, 13) Source(41, 13) + SourceIndex(0) -4 >Emitted(19, 16) Source(41, 16) + SourceIndex(0) -5 >Emitted(19, 17) Source(41, 17) + SourceIndex(0) -6 >Emitted(19, 25) Source(41, 25) + SourceIndex(0) -7 >Emitted(19, 26) Source(41, 26) + SourceIndex(0) -8 >Emitted(19, 27) Source(41, 27) + SourceIndex(0) +1 >Emitted(20, 5) Source(41, 5) + SourceIndex(0) +2 >Emitted(20, 12) Source(41, 12) + SourceIndex(0) +3 >Emitted(20, 13) Source(41, 13) + SourceIndex(0) +4 >Emitted(20, 16) Source(41, 16) + SourceIndex(0) +5 >Emitted(20, 17) Source(41, 17) + SourceIndex(0) +6 >Emitted(20, 25) Source(41, 25) + SourceIndex(0) +7 >Emitted(20, 26) Source(41, 26) + SourceIndex(0) +8 >Emitted(20, 27) Source(41, 27) + SourceIndex(0) --- >>>} 1 > @@ -761,8 +762,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(20, 1) Source(42, 1) + SourceIndex(0) -2 >Emitted(20, 2) Source(42, 2) + SourceIndex(0) +1 >Emitted(21, 1) Source(42, 1) + SourceIndex(0) +2 >Emitted(21, 2) Source(42, 2) + SourceIndex(0) --- >>>for (var _h = getMultiRobot().skills, _j = _h === void 0 ? { primary: "none", secondary: "none" } : _h, _k = _j.primary, primaryA = _k === void 0 ? "primary" : _k, _l = _j.secondary, secondaryA = _l === void 0 ? "secondary" : _l, i = 0; i < 1; i++) { 1-> @@ -869,52 +870,52 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 44> ++ 45> ) 46> { -1->Emitted(21, 1) Source(43, 1) + SourceIndex(0) -2 >Emitted(21, 6) Source(44, 5) + SourceIndex(0) -3 >Emitted(21, 10) Source(44, 5) + SourceIndex(0) -4 >Emitted(21, 15) Source(48, 5) + SourceIndex(0) -5 >Emitted(21, 28) Source(48, 18) + SourceIndex(0) -6 >Emitted(21, 30) Source(48, 20) + SourceIndex(0) -7 >Emitted(21, 37) Source(47, 47) + SourceIndex(0) -8 >Emitted(21, 39) Source(44, 5) + SourceIndex(0) -9 >Emitted(21, 60) Source(47, 9) + SourceIndex(0) -10>Emitted(21, 62) Source(47, 11) + SourceIndex(0) -11>Emitted(21, 69) Source(47, 18) + SourceIndex(0) -12>Emitted(21, 71) Source(47, 20) + SourceIndex(0) -13>Emitted(21, 77) Source(47, 26) + SourceIndex(0) -14>Emitted(21, 79) Source(47, 28) + SourceIndex(0) -15>Emitted(21, 88) Source(47, 37) + SourceIndex(0) -16>Emitted(21, 90) Source(47, 39) + SourceIndex(0) -17>Emitted(21, 96) Source(47, 45) + SourceIndex(0) -18>Emitted(21, 98) Source(47, 47) + SourceIndex(0) -19>Emitted(21, 103) Source(47, 47) + SourceIndex(0) -20>Emitted(21, 105) Source(45, 9) + SourceIndex(0) -21>Emitted(21, 120) Source(45, 38) + SourceIndex(0) -22>Emitted(21, 122) Source(45, 18) + SourceIndex(0) -23>Emitted(21, 130) Source(45, 26) + SourceIndex(0) -24>Emitted(21, 149) Source(45, 29) + SourceIndex(0) -25>Emitted(21, 158) Source(45, 38) + SourceIndex(0) -26>Emitted(21, 163) Source(45, 38) + SourceIndex(0) -27>Emitted(21, 165) Source(46, 9) + SourceIndex(0) -28>Emitted(21, 182) Source(46, 44) + SourceIndex(0) -29>Emitted(21, 184) Source(46, 20) + SourceIndex(0) -30>Emitted(21, 194) Source(46, 30) + SourceIndex(0) -31>Emitted(21, 213) Source(46, 33) + SourceIndex(0) -32>Emitted(21, 224) Source(46, 44) + SourceIndex(0) -33>Emitted(21, 229) Source(46, 44) + SourceIndex(0) -34>Emitted(21, 231) Source(48, 22) + SourceIndex(0) -35>Emitted(21, 232) Source(48, 23) + SourceIndex(0) -36>Emitted(21, 235) Source(48, 26) + SourceIndex(0) -37>Emitted(21, 236) Source(48, 27) + SourceIndex(0) -38>Emitted(21, 238) Source(48, 29) + SourceIndex(0) -39>Emitted(21, 239) Source(48, 30) + SourceIndex(0) -40>Emitted(21, 242) Source(48, 33) + SourceIndex(0) -41>Emitted(21, 243) Source(48, 34) + SourceIndex(0) -42>Emitted(21, 245) Source(48, 36) + SourceIndex(0) -43>Emitted(21, 246) Source(48, 37) + SourceIndex(0) -44>Emitted(21, 248) Source(48, 39) + SourceIndex(0) -45>Emitted(21, 250) Source(48, 41) + SourceIndex(0) -46>Emitted(21, 251) Source(48, 42) + SourceIndex(0) +1->Emitted(22, 1) Source(43, 1) + SourceIndex(0) +2 >Emitted(22, 6) Source(44, 5) + SourceIndex(0) +3 >Emitted(22, 10) Source(44, 5) + SourceIndex(0) +4 >Emitted(22, 15) Source(48, 5) + SourceIndex(0) +5 >Emitted(22, 28) Source(48, 18) + SourceIndex(0) +6 >Emitted(22, 30) Source(48, 20) + SourceIndex(0) +7 >Emitted(22, 37) Source(47, 47) + SourceIndex(0) +8 >Emitted(22, 39) Source(44, 5) + SourceIndex(0) +9 >Emitted(22, 60) Source(47, 9) + SourceIndex(0) +10>Emitted(22, 62) Source(47, 11) + SourceIndex(0) +11>Emitted(22, 69) Source(47, 18) + SourceIndex(0) +12>Emitted(22, 71) Source(47, 20) + SourceIndex(0) +13>Emitted(22, 77) Source(47, 26) + SourceIndex(0) +14>Emitted(22, 79) Source(47, 28) + SourceIndex(0) +15>Emitted(22, 88) Source(47, 37) + SourceIndex(0) +16>Emitted(22, 90) Source(47, 39) + SourceIndex(0) +17>Emitted(22, 96) Source(47, 45) + SourceIndex(0) +18>Emitted(22, 98) Source(47, 47) + SourceIndex(0) +19>Emitted(22, 103) Source(47, 47) + SourceIndex(0) +20>Emitted(22, 105) Source(45, 9) + SourceIndex(0) +21>Emitted(22, 120) Source(45, 38) + SourceIndex(0) +22>Emitted(22, 122) Source(45, 18) + SourceIndex(0) +23>Emitted(22, 130) Source(45, 26) + SourceIndex(0) +24>Emitted(22, 149) Source(45, 29) + SourceIndex(0) +25>Emitted(22, 158) Source(45, 38) + SourceIndex(0) +26>Emitted(22, 163) Source(45, 38) + SourceIndex(0) +27>Emitted(22, 165) Source(46, 9) + SourceIndex(0) +28>Emitted(22, 182) Source(46, 44) + SourceIndex(0) +29>Emitted(22, 184) Source(46, 20) + SourceIndex(0) +30>Emitted(22, 194) Source(46, 30) + SourceIndex(0) +31>Emitted(22, 213) Source(46, 33) + SourceIndex(0) +32>Emitted(22, 224) Source(46, 44) + SourceIndex(0) +33>Emitted(22, 229) Source(46, 44) + SourceIndex(0) +34>Emitted(22, 231) Source(48, 22) + SourceIndex(0) +35>Emitted(22, 232) Source(48, 23) + SourceIndex(0) +36>Emitted(22, 235) Source(48, 26) + SourceIndex(0) +37>Emitted(22, 236) Source(48, 27) + SourceIndex(0) +38>Emitted(22, 238) Source(48, 29) + SourceIndex(0) +39>Emitted(22, 239) Source(48, 30) + SourceIndex(0) +40>Emitted(22, 242) Source(48, 33) + SourceIndex(0) +41>Emitted(22, 243) Source(48, 34) + SourceIndex(0) +42>Emitted(22, 245) Source(48, 36) + SourceIndex(0) +43>Emitted(22, 246) Source(48, 37) + SourceIndex(0) +44>Emitted(22, 248) Source(48, 39) + SourceIndex(0) +45>Emitted(22, 250) Source(48, 41) + SourceIndex(0) +46>Emitted(22, 251) Source(48, 42) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -934,14 +935,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > primaryA 7 > ) 8 > ; -1 >Emitted(22, 5) Source(49, 5) + SourceIndex(0) -2 >Emitted(22, 12) Source(49, 12) + SourceIndex(0) -3 >Emitted(22, 13) Source(49, 13) + SourceIndex(0) -4 >Emitted(22, 16) Source(49, 16) + SourceIndex(0) -5 >Emitted(22, 17) Source(49, 17) + SourceIndex(0) -6 >Emitted(22, 25) Source(49, 25) + SourceIndex(0) -7 >Emitted(22, 26) Source(49, 26) + SourceIndex(0) -8 >Emitted(22, 27) Source(49, 27) + SourceIndex(0) +1 >Emitted(23, 5) Source(49, 5) + SourceIndex(0) +2 >Emitted(23, 12) Source(49, 12) + SourceIndex(0) +3 >Emitted(23, 13) Source(49, 13) + SourceIndex(0) +4 >Emitted(23, 16) Source(49, 16) + SourceIndex(0) +5 >Emitted(23, 17) Source(49, 17) + SourceIndex(0) +6 >Emitted(23, 25) Source(49, 25) + SourceIndex(0) +7 >Emitted(23, 26) Source(49, 26) + SourceIndex(0) +8 >Emitted(23, 27) Source(49, 27) + SourceIndex(0) --- >>>} 1 > @@ -950,8 +951,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(23, 1) Source(50, 1) + SourceIndex(0) -2 >Emitted(23, 2) Source(50, 2) + SourceIndex(0) +1 >Emitted(24, 1) Source(50, 1) + SourceIndex(0) +2 >Emitted(24, 2) Source(50, 2) + SourceIndex(0) --- >>>for (var _m = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }.skills, _o = _m === void 0 ? { primary: "none", secondary: "none" } : _m, _p = _o.primary, primaryA = _p === void 0 ? "primary" : _p, _q = _o.secondary, secondaryA = _q === void 0 ? "secondary" : _q, i = 0; i < 1; i++) { 1-> @@ -1089,67 +1090,67 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 59> ++ 60> ) 61> { -1->Emitted(24, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(24, 6) Source(52, 5) + SourceIndex(0) -3 >Emitted(24, 10) Source(52, 5) + SourceIndex(0) -4 >Emitted(24, 15) Source(56, 17) + SourceIndex(0) -5 >Emitted(24, 17) Source(56, 19) + SourceIndex(0) -6 >Emitted(24, 21) Source(56, 23) + SourceIndex(0) -7 >Emitted(24, 23) Source(56, 25) + SourceIndex(0) -8 >Emitted(24, 32) Source(56, 34) + SourceIndex(0) -9 >Emitted(24, 34) Source(56, 36) + SourceIndex(0) -10>Emitted(24, 40) Source(56, 42) + SourceIndex(0) -11>Emitted(24, 42) Source(56, 44) + SourceIndex(0) -12>Emitted(24, 44) Source(56, 46) + SourceIndex(0) -13>Emitted(24, 51) Source(56, 53) + SourceIndex(0) -14>Emitted(24, 53) Source(56, 55) + SourceIndex(0) -15>Emitted(24, 63) Source(56, 65) + SourceIndex(0) -16>Emitted(24, 65) Source(56, 67) + SourceIndex(0) -17>Emitted(24, 74) Source(56, 76) + SourceIndex(0) -18>Emitted(24, 76) Source(56, 78) + SourceIndex(0) -19>Emitted(24, 84) Source(56, 86) + SourceIndex(0) -20>Emitted(24, 86) Source(56, 88) + SourceIndex(0) -21>Emitted(24, 88) Source(56, 90) + SourceIndex(0) -22>Emitted(24, 95) Source(55, 47) + SourceIndex(0) -23>Emitted(24, 97) Source(52, 5) + SourceIndex(0) -24>Emitted(24, 118) Source(55, 9) + SourceIndex(0) -25>Emitted(24, 120) Source(55, 11) + SourceIndex(0) -26>Emitted(24, 127) Source(55, 18) + SourceIndex(0) -27>Emitted(24, 129) Source(55, 20) + SourceIndex(0) -28>Emitted(24, 135) Source(55, 26) + SourceIndex(0) -29>Emitted(24, 137) Source(55, 28) + SourceIndex(0) -30>Emitted(24, 146) Source(55, 37) + SourceIndex(0) -31>Emitted(24, 148) Source(55, 39) + SourceIndex(0) -32>Emitted(24, 154) Source(55, 45) + SourceIndex(0) -33>Emitted(24, 156) Source(55, 47) + SourceIndex(0) -34>Emitted(24, 161) Source(55, 47) + SourceIndex(0) -35>Emitted(24, 163) Source(53, 9) + SourceIndex(0) -36>Emitted(24, 178) Source(53, 38) + SourceIndex(0) -37>Emitted(24, 180) Source(53, 18) + SourceIndex(0) -38>Emitted(24, 188) Source(53, 26) + SourceIndex(0) -39>Emitted(24, 207) Source(53, 29) + SourceIndex(0) -40>Emitted(24, 216) Source(53, 38) + SourceIndex(0) -41>Emitted(24, 221) Source(53, 38) + SourceIndex(0) -42>Emitted(24, 223) Source(54, 9) + SourceIndex(0) -43>Emitted(24, 240) Source(54, 44) + SourceIndex(0) -44>Emitted(24, 242) Source(54, 20) + SourceIndex(0) -45>Emitted(24, 252) Source(54, 30) + SourceIndex(0) -46>Emitted(24, 271) Source(54, 33) + SourceIndex(0) -47>Emitted(24, 282) Source(54, 44) + SourceIndex(0) -48>Emitted(24, 287) Source(54, 44) + SourceIndex(0) -49>Emitted(24, 289) Source(57, 5) + SourceIndex(0) -50>Emitted(24, 290) Source(57, 6) + SourceIndex(0) -51>Emitted(24, 293) Source(57, 9) + SourceIndex(0) -52>Emitted(24, 294) Source(57, 10) + SourceIndex(0) -53>Emitted(24, 296) Source(57, 12) + SourceIndex(0) -54>Emitted(24, 297) Source(57, 13) + SourceIndex(0) -55>Emitted(24, 300) Source(57, 16) + SourceIndex(0) -56>Emitted(24, 301) Source(57, 17) + SourceIndex(0) -57>Emitted(24, 303) Source(57, 19) + SourceIndex(0) -58>Emitted(24, 304) Source(57, 20) + SourceIndex(0) -59>Emitted(24, 306) Source(57, 22) + SourceIndex(0) -60>Emitted(24, 308) Source(57, 24) + SourceIndex(0) -61>Emitted(24, 309) Source(57, 25) + SourceIndex(0) +1->Emitted(25, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(25, 6) Source(52, 5) + SourceIndex(0) +3 >Emitted(25, 10) Source(52, 5) + SourceIndex(0) +4 >Emitted(25, 15) Source(56, 17) + SourceIndex(0) +5 >Emitted(25, 17) Source(56, 19) + SourceIndex(0) +6 >Emitted(25, 21) Source(56, 23) + SourceIndex(0) +7 >Emitted(25, 23) Source(56, 25) + SourceIndex(0) +8 >Emitted(25, 32) Source(56, 34) + SourceIndex(0) +9 >Emitted(25, 34) Source(56, 36) + SourceIndex(0) +10>Emitted(25, 40) Source(56, 42) + SourceIndex(0) +11>Emitted(25, 42) Source(56, 44) + SourceIndex(0) +12>Emitted(25, 44) Source(56, 46) + SourceIndex(0) +13>Emitted(25, 51) Source(56, 53) + SourceIndex(0) +14>Emitted(25, 53) Source(56, 55) + SourceIndex(0) +15>Emitted(25, 63) Source(56, 65) + SourceIndex(0) +16>Emitted(25, 65) Source(56, 67) + SourceIndex(0) +17>Emitted(25, 74) Source(56, 76) + SourceIndex(0) +18>Emitted(25, 76) Source(56, 78) + SourceIndex(0) +19>Emitted(25, 84) Source(56, 86) + SourceIndex(0) +20>Emitted(25, 86) Source(56, 88) + SourceIndex(0) +21>Emitted(25, 88) Source(56, 90) + SourceIndex(0) +22>Emitted(25, 95) Source(55, 47) + SourceIndex(0) +23>Emitted(25, 97) Source(52, 5) + SourceIndex(0) +24>Emitted(25, 118) Source(55, 9) + SourceIndex(0) +25>Emitted(25, 120) Source(55, 11) + SourceIndex(0) +26>Emitted(25, 127) Source(55, 18) + SourceIndex(0) +27>Emitted(25, 129) Source(55, 20) + SourceIndex(0) +28>Emitted(25, 135) Source(55, 26) + SourceIndex(0) +29>Emitted(25, 137) Source(55, 28) + SourceIndex(0) +30>Emitted(25, 146) Source(55, 37) + SourceIndex(0) +31>Emitted(25, 148) Source(55, 39) + SourceIndex(0) +32>Emitted(25, 154) Source(55, 45) + SourceIndex(0) +33>Emitted(25, 156) Source(55, 47) + SourceIndex(0) +34>Emitted(25, 161) Source(55, 47) + SourceIndex(0) +35>Emitted(25, 163) Source(53, 9) + SourceIndex(0) +36>Emitted(25, 178) Source(53, 38) + SourceIndex(0) +37>Emitted(25, 180) Source(53, 18) + SourceIndex(0) +38>Emitted(25, 188) Source(53, 26) + SourceIndex(0) +39>Emitted(25, 207) Source(53, 29) + SourceIndex(0) +40>Emitted(25, 216) Source(53, 38) + SourceIndex(0) +41>Emitted(25, 221) Source(53, 38) + SourceIndex(0) +42>Emitted(25, 223) Source(54, 9) + SourceIndex(0) +43>Emitted(25, 240) Source(54, 44) + SourceIndex(0) +44>Emitted(25, 242) Source(54, 20) + SourceIndex(0) +45>Emitted(25, 252) Source(54, 30) + SourceIndex(0) +46>Emitted(25, 271) Source(54, 33) + SourceIndex(0) +47>Emitted(25, 282) Source(54, 44) + SourceIndex(0) +48>Emitted(25, 287) Source(54, 44) + SourceIndex(0) +49>Emitted(25, 289) Source(57, 5) + SourceIndex(0) +50>Emitted(25, 290) Source(57, 6) + SourceIndex(0) +51>Emitted(25, 293) Source(57, 9) + SourceIndex(0) +52>Emitted(25, 294) Source(57, 10) + SourceIndex(0) +53>Emitted(25, 296) Source(57, 12) + SourceIndex(0) +54>Emitted(25, 297) Source(57, 13) + SourceIndex(0) +55>Emitted(25, 300) Source(57, 16) + SourceIndex(0) +56>Emitted(25, 301) Source(57, 17) + SourceIndex(0) +57>Emitted(25, 303) Source(57, 19) + SourceIndex(0) +58>Emitted(25, 304) Source(57, 20) + SourceIndex(0) +59>Emitted(25, 306) Source(57, 22) + SourceIndex(0) +60>Emitted(25, 308) Source(57, 24) + SourceIndex(0) +61>Emitted(25, 309) Source(57, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1169,14 +1170,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > primaryA 7 > ) 8 > ; -1 >Emitted(25, 5) Source(58, 5) + SourceIndex(0) -2 >Emitted(25, 12) Source(58, 12) + SourceIndex(0) -3 >Emitted(25, 13) Source(58, 13) + SourceIndex(0) -4 >Emitted(25, 16) Source(58, 16) + SourceIndex(0) -5 >Emitted(25, 17) Source(58, 17) + SourceIndex(0) -6 >Emitted(25, 25) Source(58, 25) + SourceIndex(0) -7 >Emitted(25, 26) Source(58, 26) + SourceIndex(0) -8 >Emitted(25, 27) Source(58, 27) + SourceIndex(0) +1 >Emitted(26, 5) Source(58, 5) + SourceIndex(0) +2 >Emitted(26, 12) Source(58, 12) + SourceIndex(0) +3 >Emitted(26, 13) Source(58, 13) + SourceIndex(0) +4 >Emitted(26, 16) Source(58, 16) + SourceIndex(0) +5 >Emitted(26, 17) Source(58, 17) + SourceIndex(0) +6 >Emitted(26, 25) Source(58, 25) + SourceIndex(0) +7 >Emitted(26, 26) Source(58, 26) + SourceIndex(0) +8 >Emitted(26, 27) Source(58, 27) + SourceIndex(0) --- >>>} 1 > @@ -1185,8 +1186,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(26, 1) Source(59, 1) + SourceIndex(0) -2 >Emitted(26, 2) Source(59, 2) + SourceIndex(0) +1 >Emitted(27, 1) Source(59, 1) + SourceIndex(0) +2 >Emitted(27, 2) Source(59, 2) + SourceIndex(0) --- >>>for (var _r = robot.name, nameA = _r === void 0 ? "noName" : _r, _s = robot.skill, skillA = _s === void 0 ? "skill" : _s, i = 0; i < 1; i++) { 1-> @@ -1257,39 +1258,39 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 31> ++ 32> ) 33> { -1->Emitted(27, 1) Source(61, 1) + SourceIndex(0) -2 >Emitted(27, 6) Source(61, 11) + SourceIndex(0) -3 >Emitted(27, 10) Source(61, 11) + SourceIndex(0) -4 >Emitted(27, 15) Source(61, 63) + SourceIndex(0) -5 >Emitted(27, 20) Source(61, 68) + SourceIndex(0) -6 >Emitted(27, 25) Source(61, 33) + SourceIndex(0) -7 >Emitted(27, 27) Source(61, 17) + SourceIndex(0) -8 >Emitted(27, 32) Source(61, 22) + SourceIndex(0) -9 >Emitted(27, 51) Source(61, 25) + SourceIndex(0) -10>Emitted(27, 59) Source(61, 33) + SourceIndex(0) -11>Emitted(27, 64) Source(61, 33) + SourceIndex(0) -12>Emitted(27, 66) Source(61, 35) + SourceIndex(0) -13>Emitted(27, 71) Source(61, 63) + SourceIndex(0) -14>Emitted(27, 76) Source(61, 68) + SourceIndex(0) -15>Emitted(27, 82) Source(61, 58) + SourceIndex(0) -16>Emitted(27, 84) Source(61, 42) + SourceIndex(0) -17>Emitted(27, 90) Source(61, 48) + SourceIndex(0) -18>Emitted(27, 109) Source(61, 51) + SourceIndex(0) -19>Emitted(27, 116) Source(61, 58) + SourceIndex(0) -20>Emitted(27, 121) Source(61, 58) + SourceIndex(0) -21>Emitted(27, 123) Source(61, 70) + SourceIndex(0) -22>Emitted(27, 124) Source(61, 71) + SourceIndex(0) -23>Emitted(27, 127) Source(61, 74) + SourceIndex(0) -24>Emitted(27, 128) Source(61, 75) + SourceIndex(0) -25>Emitted(27, 130) Source(61, 77) + SourceIndex(0) -26>Emitted(27, 131) Source(61, 78) + SourceIndex(0) -27>Emitted(27, 134) Source(61, 81) + SourceIndex(0) -28>Emitted(27, 135) Source(61, 82) + SourceIndex(0) -29>Emitted(27, 137) Source(61, 84) + SourceIndex(0) -30>Emitted(27, 138) Source(61, 85) + SourceIndex(0) -31>Emitted(27, 140) Source(61, 87) + SourceIndex(0) -32>Emitted(27, 142) Source(61, 89) + SourceIndex(0) -33>Emitted(27, 143) Source(61, 90) + SourceIndex(0) +1->Emitted(28, 1) Source(61, 1) + SourceIndex(0) +2 >Emitted(28, 6) Source(61, 11) + SourceIndex(0) +3 >Emitted(28, 10) Source(61, 11) + SourceIndex(0) +4 >Emitted(28, 15) Source(61, 63) + SourceIndex(0) +5 >Emitted(28, 20) Source(61, 68) + SourceIndex(0) +6 >Emitted(28, 25) Source(61, 33) + SourceIndex(0) +7 >Emitted(28, 27) Source(61, 17) + SourceIndex(0) +8 >Emitted(28, 32) Source(61, 22) + SourceIndex(0) +9 >Emitted(28, 51) Source(61, 25) + SourceIndex(0) +10>Emitted(28, 59) Source(61, 33) + SourceIndex(0) +11>Emitted(28, 64) Source(61, 33) + SourceIndex(0) +12>Emitted(28, 66) Source(61, 35) + SourceIndex(0) +13>Emitted(28, 71) Source(61, 63) + SourceIndex(0) +14>Emitted(28, 76) Source(61, 68) + SourceIndex(0) +15>Emitted(28, 82) Source(61, 58) + SourceIndex(0) +16>Emitted(28, 84) Source(61, 42) + SourceIndex(0) +17>Emitted(28, 90) Source(61, 48) + SourceIndex(0) +18>Emitted(28, 109) Source(61, 51) + SourceIndex(0) +19>Emitted(28, 116) Source(61, 58) + SourceIndex(0) +20>Emitted(28, 121) Source(61, 58) + SourceIndex(0) +21>Emitted(28, 123) Source(61, 70) + SourceIndex(0) +22>Emitted(28, 124) Source(61, 71) + SourceIndex(0) +23>Emitted(28, 127) Source(61, 74) + SourceIndex(0) +24>Emitted(28, 128) Source(61, 75) + SourceIndex(0) +25>Emitted(28, 130) Source(61, 77) + SourceIndex(0) +26>Emitted(28, 131) Source(61, 78) + SourceIndex(0) +27>Emitted(28, 134) Source(61, 81) + SourceIndex(0) +28>Emitted(28, 135) Source(61, 82) + SourceIndex(0) +29>Emitted(28, 137) Source(61, 84) + SourceIndex(0) +30>Emitted(28, 138) Source(61, 85) + SourceIndex(0) +31>Emitted(28, 140) Source(61, 87) + SourceIndex(0) +32>Emitted(28, 142) Source(61, 89) + SourceIndex(0) +33>Emitted(28, 143) Source(61, 90) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1309,14 +1310,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > nameA 7 > ) 8 > ; -1 >Emitted(28, 5) Source(62, 5) + SourceIndex(0) -2 >Emitted(28, 12) Source(62, 12) + SourceIndex(0) -3 >Emitted(28, 13) Source(62, 13) + SourceIndex(0) -4 >Emitted(28, 16) Source(62, 16) + SourceIndex(0) -5 >Emitted(28, 17) Source(62, 17) + SourceIndex(0) -6 >Emitted(28, 22) Source(62, 22) + SourceIndex(0) -7 >Emitted(28, 23) Source(62, 23) + SourceIndex(0) -8 >Emitted(28, 24) Source(62, 24) + SourceIndex(0) +1 >Emitted(29, 5) Source(62, 5) + SourceIndex(0) +2 >Emitted(29, 12) Source(62, 12) + SourceIndex(0) +3 >Emitted(29, 13) Source(62, 13) + SourceIndex(0) +4 >Emitted(29, 16) Source(62, 16) + SourceIndex(0) +5 >Emitted(29, 17) Source(62, 17) + SourceIndex(0) +6 >Emitted(29, 22) Source(62, 22) + SourceIndex(0) +7 >Emitted(29, 23) Source(62, 23) + SourceIndex(0) +8 >Emitted(29, 24) Source(62, 24) + SourceIndex(0) --- >>>} 1 > @@ -1325,8 +1326,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(29, 1) Source(63, 1) + SourceIndex(0) -2 >Emitted(29, 2) Source(63, 2) + SourceIndex(0) +1 >Emitted(30, 1) Source(63, 1) + SourceIndex(0) +2 >Emitted(30, 2) Source(63, 2) + SourceIndex(0) --- >>>for (var _t = getRobot(), _u = _t.name, nameA = _u === void 0 ? "noName" : _u, _v = _t.skill, skillA = _v === void 0 ? "skill" : _v, i = 0; i < 1; i++) { 1-> @@ -1396,39 +1397,39 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 31> ++ 32> ) 33> { -1->Emitted(30, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(30, 6) Source(64, 10) + SourceIndex(0) -3 >Emitted(30, 10) Source(64, 10) + SourceIndex(0) -4 >Emitted(30, 15) Source(64, 63) + SourceIndex(0) -5 >Emitted(30, 23) Source(64, 71) + SourceIndex(0) -6 >Emitted(30, 25) Source(64, 73) + SourceIndex(0) -7 >Emitted(30, 27) Source(64, 11) + SourceIndex(0) -8 >Emitted(30, 39) Source(64, 33) + SourceIndex(0) -9 >Emitted(30, 41) Source(64, 17) + SourceIndex(0) -10>Emitted(30, 46) Source(64, 22) + SourceIndex(0) -11>Emitted(30, 65) Source(64, 25) + SourceIndex(0) -12>Emitted(30, 73) Source(64, 33) + SourceIndex(0) -13>Emitted(30, 78) Source(64, 33) + SourceIndex(0) -14>Emitted(30, 80) Source(64, 35) + SourceIndex(0) -15>Emitted(30, 93) Source(64, 58) + SourceIndex(0) -16>Emitted(30, 95) Source(64, 42) + SourceIndex(0) -17>Emitted(30, 101) Source(64, 48) + SourceIndex(0) -18>Emitted(30, 120) Source(64, 51) + SourceIndex(0) -19>Emitted(30, 127) Source(64, 58) + SourceIndex(0) -20>Emitted(30, 132) Source(64, 58) + SourceIndex(0) -21>Emitted(30, 134) Source(64, 75) + SourceIndex(0) -22>Emitted(30, 135) Source(64, 76) + SourceIndex(0) -23>Emitted(30, 138) Source(64, 79) + SourceIndex(0) -24>Emitted(30, 139) Source(64, 80) + SourceIndex(0) -25>Emitted(30, 141) Source(64, 82) + SourceIndex(0) -26>Emitted(30, 142) Source(64, 83) + SourceIndex(0) -27>Emitted(30, 145) Source(64, 86) + SourceIndex(0) -28>Emitted(30, 146) Source(64, 87) + SourceIndex(0) -29>Emitted(30, 148) Source(64, 89) + SourceIndex(0) -30>Emitted(30, 149) Source(64, 90) + SourceIndex(0) -31>Emitted(30, 151) Source(64, 92) + SourceIndex(0) -32>Emitted(30, 153) Source(64, 94) + SourceIndex(0) -33>Emitted(30, 154) Source(64, 95) + SourceIndex(0) +1->Emitted(31, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(31, 6) Source(64, 10) + SourceIndex(0) +3 >Emitted(31, 10) Source(64, 10) + SourceIndex(0) +4 >Emitted(31, 15) Source(64, 63) + SourceIndex(0) +5 >Emitted(31, 23) Source(64, 71) + SourceIndex(0) +6 >Emitted(31, 25) Source(64, 73) + SourceIndex(0) +7 >Emitted(31, 27) Source(64, 11) + SourceIndex(0) +8 >Emitted(31, 39) Source(64, 33) + SourceIndex(0) +9 >Emitted(31, 41) Source(64, 17) + SourceIndex(0) +10>Emitted(31, 46) Source(64, 22) + SourceIndex(0) +11>Emitted(31, 65) Source(64, 25) + SourceIndex(0) +12>Emitted(31, 73) Source(64, 33) + SourceIndex(0) +13>Emitted(31, 78) Source(64, 33) + SourceIndex(0) +14>Emitted(31, 80) Source(64, 35) + SourceIndex(0) +15>Emitted(31, 93) Source(64, 58) + SourceIndex(0) +16>Emitted(31, 95) Source(64, 42) + SourceIndex(0) +17>Emitted(31, 101) Source(64, 48) + SourceIndex(0) +18>Emitted(31, 120) Source(64, 51) + SourceIndex(0) +19>Emitted(31, 127) Source(64, 58) + SourceIndex(0) +20>Emitted(31, 132) Source(64, 58) + SourceIndex(0) +21>Emitted(31, 134) Source(64, 75) + SourceIndex(0) +22>Emitted(31, 135) Source(64, 76) + SourceIndex(0) +23>Emitted(31, 138) Source(64, 79) + SourceIndex(0) +24>Emitted(31, 139) Source(64, 80) + SourceIndex(0) +25>Emitted(31, 141) Source(64, 82) + SourceIndex(0) +26>Emitted(31, 142) Source(64, 83) + SourceIndex(0) +27>Emitted(31, 145) Source(64, 86) + SourceIndex(0) +28>Emitted(31, 146) Source(64, 87) + SourceIndex(0) +29>Emitted(31, 148) Source(64, 89) + SourceIndex(0) +30>Emitted(31, 149) Source(64, 90) + SourceIndex(0) +31>Emitted(31, 151) Source(64, 92) + SourceIndex(0) +32>Emitted(31, 153) Source(64, 94) + SourceIndex(0) +33>Emitted(31, 154) Source(64, 95) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1448,14 +1449,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > nameA 7 > ) 8 > ; -1 >Emitted(31, 5) Source(65, 5) + SourceIndex(0) -2 >Emitted(31, 12) Source(65, 12) + SourceIndex(0) -3 >Emitted(31, 13) Source(65, 13) + SourceIndex(0) -4 >Emitted(31, 16) Source(65, 16) + SourceIndex(0) -5 >Emitted(31, 17) Source(65, 17) + SourceIndex(0) -6 >Emitted(31, 22) Source(65, 22) + SourceIndex(0) -7 >Emitted(31, 23) Source(65, 23) + SourceIndex(0) -8 >Emitted(31, 24) Source(65, 24) + SourceIndex(0) +1 >Emitted(32, 5) Source(65, 5) + SourceIndex(0) +2 >Emitted(32, 12) Source(65, 12) + SourceIndex(0) +3 >Emitted(32, 13) Source(65, 13) + SourceIndex(0) +4 >Emitted(32, 16) Source(65, 16) + SourceIndex(0) +5 >Emitted(32, 17) Source(65, 17) + SourceIndex(0) +6 >Emitted(32, 22) Source(65, 22) + SourceIndex(0) +7 >Emitted(32, 23) Source(65, 23) + SourceIndex(0) +8 >Emitted(32, 24) Source(65, 24) + SourceIndex(0) --- >>>} 1 > @@ -1464,8 +1465,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(32, 1) Source(66, 1) + SourceIndex(0) -2 >Emitted(32, 2) Source(66, 2) + SourceIndex(0) +1 >Emitted(33, 1) Source(66, 1) + SourceIndex(0) +2 >Emitted(33, 2) Source(66, 2) + SourceIndex(0) --- >>>for (var _w = { name: "trimmer", skill: "trimming" }, _x = _w.name, nameA = _x === void 0 ? "noName" : _x, _y = _w.skill, skillA = _y === void 0 ? "skill" : _y, i = 0; i < 1; i++) { 1-> @@ -1549,46 +1550,46 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 38> ++ 39> ) 40> { -1->Emitted(33, 1) Source(67, 1) + SourceIndex(0) -2 >Emitted(33, 6) Source(67, 10) + SourceIndex(0) -3 >Emitted(33, 10) Source(67, 10) + SourceIndex(0) -4 >Emitted(33, 15) Source(67, 70) + SourceIndex(0) -5 >Emitted(33, 17) Source(67, 72) + SourceIndex(0) -6 >Emitted(33, 21) Source(67, 76) + SourceIndex(0) -7 >Emitted(33, 23) Source(67, 78) + SourceIndex(0) -8 >Emitted(33, 32) Source(67, 87) + SourceIndex(0) -9 >Emitted(33, 34) Source(67, 89) + SourceIndex(0) -10>Emitted(33, 39) Source(67, 94) + SourceIndex(0) -11>Emitted(33, 41) Source(67, 96) + SourceIndex(0) -12>Emitted(33, 51) Source(67, 106) + SourceIndex(0) -13>Emitted(33, 53) Source(67, 108) + SourceIndex(0) -14>Emitted(33, 55) Source(67, 11) + SourceIndex(0) -15>Emitted(33, 67) Source(67, 33) + SourceIndex(0) -16>Emitted(33, 69) Source(67, 17) + SourceIndex(0) -17>Emitted(33, 74) Source(67, 22) + SourceIndex(0) -18>Emitted(33, 93) Source(67, 25) + SourceIndex(0) -19>Emitted(33, 101) Source(67, 33) + SourceIndex(0) -20>Emitted(33, 106) Source(67, 33) + SourceIndex(0) -21>Emitted(33, 108) Source(67, 35) + SourceIndex(0) -22>Emitted(33, 121) Source(67, 58) + SourceIndex(0) -23>Emitted(33, 123) Source(67, 42) + SourceIndex(0) -24>Emitted(33, 129) Source(67, 48) + SourceIndex(0) -25>Emitted(33, 148) Source(67, 51) + SourceIndex(0) -26>Emitted(33, 155) Source(67, 58) + SourceIndex(0) -27>Emitted(33, 160) Source(67, 58) + SourceIndex(0) -28>Emitted(33, 162) Source(67, 110) + SourceIndex(0) -29>Emitted(33, 163) Source(67, 111) + SourceIndex(0) -30>Emitted(33, 166) Source(67, 114) + SourceIndex(0) -31>Emitted(33, 167) Source(67, 115) + SourceIndex(0) -32>Emitted(33, 169) Source(67, 117) + SourceIndex(0) -33>Emitted(33, 170) Source(67, 118) + SourceIndex(0) -34>Emitted(33, 173) Source(67, 121) + SourceIndex(0) -35>Emitted(33, 174) Source(67, 122) + SourceIndex(0) -36>Emitted(33, 176) Source(67, 124) + SourceIndex(0) -37>Emitted(33, 177) Source(67, 125) + SourceIndex(0) -38>Emitted(33, 179) Source(67, 127) + SourceIndex(0) -39>Emitted(33, 181) Source(67, 129) + SourceIndex(0) -40>Emitted(33, 182) Source(67, 130) + SourceIndex(0) +1->Emitted(34, 1) Source(67, 1) + SourceIndex(0) +2 >Emitted(34, 6) Source(67, 10) + SourceIndex(0) +3 >Emitted(34, 10) Source(67, 10) + SourceIndex(0) +4 >Emitted(34, 15) Source(67, 70) + SourceIndex(0) +5 >Emitted(34, 17) Source(67, 72) + SourceIndex(0) +6 >Emitted(34, 21) Source(67, 76) + SourceIndex(0) +7 >Emitted(34, 23) Source(67, 78) + SourceIndex(0) +8 >Emitted(34, 32) Source(67, 87) + SourceIndex(0) +9 >Emitted(34, 34) Source(67, 89) + SourceIndex(0) +10>Emitted(34, 39) Source(67, 94) + SourceIndex(0) +11>Emitted(34, 41) Source(67, 96) + SourceIndex(0) +12>Emitted(34, 51) Source(67, 106) + SourceIndex(0) +13>Emitted(34, 53) Source(67, 108) + SourceIndex(0) +14>Emitted(34, 55) Source(67, 11) + SourceIndex(0) +15>Emitted(34, 67) Source(67, 33) + SourceIndex(0) +16>Emitted(34, 69) Source(67, 17) + SourceIndex(0) +17>Emitted(34, 74) Source(67, 22) + SourceIndex(0) +18>Emitted(34, 93) Source(67, 25) + SourceIndex(0) +19>Emitted(34, 101) Source(67, 33) + SourceIndex(0) +20>Emitted(34, 106) Source(67, 33) + SourceIndex(0) +21>Emitted(34, 108) Source(67, 35) + SourceIndex(0) +22>Emitted(34, 121) Source(67, 58) + SourceIndex(0) +23>Emitted(34, 123) Source(67, 42) + SourceIndex(0) +24>Emitted(34, 129) Source(67, 48) + SourceIndex(0) +25>Emitted(34, 148) Source(67, 51) + SourceIndex(0) +26>Emitted(34, 155) Source(67, 58) + SourceIndex(0) +27>Emitted(34, 160) Source(67, 58) + SourceIndex(0) +28>Emitted(34, 162) Source(67, 110) + SourceIndex(0) +29>Emitted(34, 163) Source(67, 111) + SourceIndex(0) +30>Emitted(34, 166) Source(67, 114) + SourceIndex(0) +31>Emitted(34, 167) Source(67, 115) + SourceIndex(0) +32>Emitted(34, 169) Source(67, 117) + SourceIndex(0) +33>Emitted(34, 170) Source(67, 118) + SourceIndex(0) +34>Emitted(34, 173) Source(67, 121) + SourceIndex(0) +35>Emitted(34, 174) Source(67, 122) + SourceIndex(0) +36>Emitted(34, 176) Source(67, 124) + SourceIndex(0) +37>Emitted(34, 177) Source(67, 125) + SourceIndex(0) +38>Emitted(34, 179) Source(67, 127) + SourceIndex(0) +39>Emitted(34, 181) Source(67, 129) + SourceIndex(0) +40>Emitted(34, 182) Source(67, 130) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1608,14 +1609,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > nameA 7 > ) 8 > ; -1 >Emitted(34, 5) Source(68, 5) + SourceIndex(0) -2 >Emitted(34, 12) Source(68, 12) + SourceIndex(0) -3 >Emitted(34, 13) Source(68, 13) + SourceIndex(0) -4 >Emitted(34, 16) Source(68, 16) + SourceIndex(0) -5 >Emitted(34, 17) Source(68, 17) + SourceIndex(0) -6 >Emitted(34, 22) Source(68, 22) + SourceIndex(0) -7 >Emitted(34, 23) Source(68, 23) + SourceIndex(0) -8 >Emitted(34, 24) Source(68, 24) + SourceIndex(0) +1 >Emitted(35, 5) Source(68, 5) + SourceIndex(0) +2 >Emitted(35, 12) Source(68, 12) + SourceIndex(0) +3 >Emitted(35, 13) Source(68, 13) + SourceIndex(0) +4 >Emitted(35, 16) Source(68, 16) + SourceIndex(0) +5 >Emitted(35, 17) Source(68, 17) + SourceIndex(0) +6 >Emitted(35, 22) Source(68, 22) + SourceIndex(0) +7 >Emitted(35, 23) Source(68, 23) + SourceIndex(0) +8 >Emitted(35, 24) Source(68, 24) + SourceIndex(0) --- >>>} 1 > @@ -1624,8 +1625,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(35, 1) Source(69, 1) + SourceIndex(0) -2 >Emitted(35, 2) Source(69, 2) + SourceIndex(0) +1 >Emitted(36, 1) Source(69, 1) + SourceIndex(0) +2 >Emitted(36, 2) Source(69, 2) + SourceIndex(0) --- >>>for (var _z = multiRobot.name, nameA = _z === void 0 ? "noName" : _z, _0 = multiRobot.skills, _1 = _0 === void 0 ? { primary: "none", secondary: "none" } : _0, _2 = _1.primary, primaryA = _2 === void 0 ? "primary" : _2, _3 = _1.secondary, secondaryA = _3 === void 0 ? "secondary" : _3, i = 0; i < 1; i++) { 1-> @@ -1754,60 +1755,60 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 52> ++ 53> ) 54> { -1->Emitted(36, 1) Source(70, 1) + SourceIndex(0) -2 >Emitted(36, 6) Source(71, 5) + SourceIndex(0) -3 >Emitted(36, 10) Source(71, 5) + SourceIndex(0) -4 >Emitted(36, 15) Source(76, 5) + SourceIndex(0) -5 >Emitted(36, 25) Source(76, 15) + SourceIndex(0) -6 >Emitted(36, 30) Source(71, 27) + SourceIndex(0) -7 >Emitted(36, 32) Source(71, 11) + SourceIndex(0) -8 >Emitted(36, 37) Source(71, 16) + SourceIndex(0) -9 >Emitted(36, 56) Source(71, 19) + SourceIndex(0) -10>Emitted(36, 64) Source(71, 27) + SourceIndex(0) -11>Emitted(36, 69) Source(71, 27) + SourceIndex(0) -12>Emitted(36, 71) Source(72, 5) + SourceIndex(0) -13>Emitted(36, 76) Source(76, 5) + SourceIndex(0) -14>Emitted(36, 86) Source(76, 15) + SourceIndex(0) -15>Emitted(36, 93) Source(75, 47) + SourceIndex(0) -16>Emitted(36, 95) Source(72, 5) + SourceIndex(0) -17>Emitted(36, 116) Source(75, 9) + SourceIndex(0) -18>Emitted(36, 118) Source(75, 11) + SourceIndex(0) -19>Emitted(36, 125) Source(75, 18) + SourceIndex(0) -20>Emitted(36, 127) Source(75, 20) + SourceIndex(0) -21>Emitted(36, 133) Source(75, 26) + SourceIndex(0) -22>Emitted(36, 135) Source(75, 28) + SourceIndex(0) -23>Emitted(36, 144) Source(75, 37) + SourceIndex(0) -24>Emitted(36, 146) Source(75, 39) + SourceIndex(0) -25>Emitted(36, 152) Source(75, 45) + SourceIndex(0) -26>Emitted(36, 154) Source(75, 47) + SourceIndex(0) -27>Emitted(36, 159) Source(75, 47) + SourceIndex(0) -28>Emitted(36, 161) Source(73, 9) + SourceIndex(0) -29>Emitted(36, 176) Source(73, 38) + SourceIndex(0) -30>Emitted(36, 178) Source(73, 18) + SourceIndex(0) -31>Emitted(36, 186) Source(73, 26) + SourceIndex(0) -32>Emitted(36, 205) Source(73, 29) + SourceIndex(0) -33>Emitted(36, 214) Source(73, 38) + SourceIndex(0) -34>Emitted(36, 219) Source(73, 38) + SourceIndex(0) -35>Emitted(36, 221) Source(74, 9) + SourceIndex(0) -36>Emitted(36, 238) Source(74, 44) + SourceIndex(0) -37>Emitted(36, 240) Source(74, 20) + SourceIndex(0) -38>Emitted(36, 250) Source(74, 30) + SourceIndex(0) -39>Emitted(36, 269) Source(74, 33) + SourceIndex(0) -40>Emitted(36, 280) Source(74, 44) + SourceIndex(0) -41>Emitted(36, 285) Source(74, 44) + SourceIndex(0) -42>Emitted(36, 287) Source(76, 17) + SourceIndex(0) -43>Emitted(36, 288) Source(76, 18) + SourceIndex(0) -44>Emitted(36, 291) Source(76, 21) + SourceIndex(0) -45>Emitted(36, 292) Source(76, 22) + SourceIndex(0) -46>Emitted(36, 294) Source(76, 24) + SourceIndex(0) -47>Emitted(36, 295) Source(76, 25) + SourceIndex(0) -48>Emitted(36, 298) Source(76, 28) + SourceIndex(0) -49>Emitted(36, 299) Source(76, 29) + SourceIndex(0) -50>Emitted(36, 301) Source(76, 31) + SourceIndex(0) -51>Emitted(36, 302) Source(76, 32) + SourceIndex(0) -52>Emitted(36, 304) Source(76, 34) + SourceIndex(0) -53>Emitted(36, 306) Source(76, 36) + SourceIndex(0) -54>Emitted(36, 307) Source(76, 37) + SourceIndex(0) +1->Emitted(37, 1) Source(70, 1) + SourceIndex(0) +2 >Emitted(37, 6) Source(71, 5) + SourceIndex(0) +3 >Emitted(37, 10) Source(71, 5) + SourceIndex(0) +4 >Emitted(37, 15) Source(76, 5) + SourceIndex(0) +5 >Emitted(37, 25) Source(76, 15) + SourceIndex(0) +6 >Emitted(37, 30) Source(71, 27) + SourceIndex(0) +7 >Emitted(37, 32) Source(71, 11) + SourceIndex(0) +8 >Emitted(37, 37) Source(71, 16) + SourceIndex(0) +9 >Emitted(37, 56) Source(71, 19) + SourceIndex(0) +10>Emitted(37, 64) Source(71, 27) + SourceIndex(0) +11>Emitted(37, 69) Source(71, 27) + SourceIndex(0) +12>Emitted(37, 71) Source(72, 5) + SourceIndex(0) +13>Emitted(37, 76) Source(76, 5) + SourceIndex(0) +14>Emitted(37, 86) Source(76, 15) + SourceIndex(0) +15>Emitted(37, 93) Source(75, 47) + SourceIndex(0) +16>Emitted(37, 95) Source(72, 5) + SourceIndex(0) +17>Emitted(37, 116) Source(75, 9) + SourceIndex(0) +18>Emitted(37, 118) Source(75, 11) + SourceIndex(0) +19>Emitted(37, 125) Source(75, 18) + SourceIndex(0) +20>Emitted(37, 127) Source(75, 20) + SourceIndex(0) +21>Emitted(37, 133) Source(75, 26) + SourceIndex(0) +22>Emitted(37, 135) Source(75, 28) + SourceIndex(0) +23>Emitted(37, 144) Source(75, 37) + SourceIndex(0) +24>Emitted(37, 146) Source(75, 39) + SourceIndex(0) +25>Emitted(37, 152) Source(75, 45) + SourceIndex(0) +26>Emitted(37, 154) Source(75, 47) + SourceIndex(0) +27>Emitted(37, 159) Source(75, 47) + SourceIndex(0) +28>Emitted(37, 161) Source(73, 9) + SourceIndex(0) +29>Emitted(37, 176) Source(73, 38) + SourceIndex(0) +30>Emitted(37, 178) Source(73, 18) + SourceIndex(0) +31>Emitted(37, 186) Source(73, 26) + SourceIndex(0) +32>Emitted(37, 205) Source(73, 29) + SourceIndex(0) +33>Emitted(37, 214) Source(73, 38) + SourceIndex(0) +34>Emitted(37, 219) Source(73, 38) + SourceIndex(0) +35>Emitted(37, 221) Source(74, 9) + SourceIndex(0) +36>Emitted(37, 238) Source(74, 44) + SourceIndex(0) +37>Emitted(37, 240) Source(74, 20) + SourceIndex(0) +38>Emitted(37, 250) Source(74, 30) + SourceIndex(0) +39>Emitted(37, 269) Source(74, 33) + SourceIndex(0) +40>Emitted(37, 280) Source(74, 44) + SourceIndex(0) +41>Emitted(37, 285) Source(74, 44) + SourceIndex(0) +42>Emitted(37, 287) Source(76, 17) + SourceIndex(0) +43>Emitted(37, 288) Source(76, 18) + SourceIndex(0) +44>Emitted(37, 291) Source(76, 21) + SourceIndex(0) +45>Emitted(37, 292) Source(76, 22) + SourceIndex(0) +46>Emitted(37, 294) Source(76, 24) + SourceIndex(0) +47>Emitted(37, 295) Source(76, 25) + SourceIndex(0) +48>Emitted(37, 298) Source(76, 28) + SourceIndex(0) +49>Emitted(37, 299) Source(76, 29) + SourceIndex(0) +50>Emitted(37, 301) Source(76, 31) + SourceIndex(0) +51>Emitted(37, 302) Source(76, 32) + SourceIndex(0) +52>Emitted(37, 304) Source(76, 34) + SourceIndex(0) +53>Emitted(37, 306) Source(76, 36) + SourceIndex(0) +54>Emitted(37, 307) Source(76, 37) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1827,14 +1828,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > primaryA 7 > ) 8 > ; -1 >Emitted(37, 5) Source(77, 5) + SourceIndex(0) -2 >Emitted(37, 12) Source(77, 12) + SourceIndex(0) -3 >Emitted(37, 13) Source(77, 13) + SourceIndex(0) -4 >Emitted(37, 16) Source(77, 16) + SourceIndex(0) -5 >Emitted(37, 17) Source(77, 17) + SourceIndex(0) -6 >Emitted(37, 25) Source(77, 25) + SourceIndex(0) -7 >Emitted(37, 26) Source(77, 26) + SourceIndex(0) -8 >Emitted(37, 27) Source(77, 27) + SourceIndex(0) +1 >Emitted(38, 5) Source(77, 5) + SourceIndex(0) +2 >Emitted(38, 12) Source(77, 12) + SourceIndex(0) +3 >Emitted(38, 13) Source(77, 13) + SourceIndex(0) +4 >Emitted(38, 16) Source(77, 16) + SourceIndex(0) +5 >Emitted(38, 17) Source(77, 17) + SourceIndex(0) +6 >Emitted(38, 25) Source(77, 25) + SourceIndex(0) +7 >Emitted(38, 26) Source(77, 26) + SourceIndex(0) +8 >Emitted(38, 27) Source(77, 27) + SourceIndex(0) --- >>>} 1 > @@ -1843,8 +1844,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(38, 1) Source(78, 1) + SourceIndex(0) -2 >Emitted(38, 2) Source(78, 2) + SourceIndex(0) +1 >Emitted(39, 1) Source(78, 1) + SourceIndex(0) +2 >Emitted(39, 2) Source(78, 2) + SourceIndex(0) --- >>>for (var _4 = getMultiRobot(), _5 = _4.name, nameA = _5 === void 0 ? "noName" : _5, _6 = _4.skills, _7 = _6 === void 0 ? { primary: "none", secondary: "none" } : _6, _8 = _7.primary, primaryA = _8 === void 0 ? "primary" : _8, _9 = _7.secondary, secondaryA = _9 === void 0 ? "secondary" : _9, i = 0; i < 1; i++) { 1-> @@ -1972,60 +1973,60 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 52> ++ 53> ) 54> { -1->Emitted(39, 1) Source(79, 1) + SourceIndex(0) -2 >Emitted(39, 6) Source(79, 10) + SourceIndex(0) -3 >Emitted(39, 10) Source(79, 10) + SourceIndex(0) -4 >Emitted(39, 15) Source(85, 5) + SourceIndex(0) -5 >Emitted(39, 28) Source(85, 18) + SourceIndex(0) -6 >Emitted(39, 30) Source(85, 20) + SourceIndex(0) -7 >Emitted(39, 32) Source(80, 5) + SourceIndex(0) -8 >Emitted(39, 44) Source(80, 27) + SourceIndex(0) -9 >Emitted(39, 46) Source(80, 11) + SourceIndex(0) -10>Emitted(39, 51) Source(80, 16) + SourceIndex(0) -11>Emitted(39, 70) Source(80, 19) + SourceIndex(0) -12>Emitted(39, 78) Source(80, 27) + SourceIndex(0) -13>Emitted(39, 83) Source(80, 27) + SourceIndex(0) -14>Emitted(39, 85) Source(81, 5) + SourceIndex(0) -15>Emitted(39, 99) Source(84, 47) + SourceIndex(0) -16>Emitted(39, 101) Source(81, 5) + SourceIndex(0) -17>Emitted(39, 122) Source(84, 9) + SourceIndex(0) -18>Emitted(39, 124) Source(84, 11) + SourceIndex(0) -19>Emitted(39, 131) Source(84, 18) + SourceIndex(0) -20>Emitted(39, 133) Source(84, 20) + SourceIndex(0) -21>Emitted(39, 139) Source(84, 26) + SourceIndex(0) -22>Emitted(39, 141) Source(84, 28) + SourceIndex(0) -23>Emitted(39, 150) Source(84, 37) + SourceIndex(0) -24>Emitted(39, 152) Source(84, 39) + SourceIndex(0) -25>Emitted(39, 158) Source(84, 45) + SourceIndex(0) -26>Emitted(39, 160) Source(84, 47) + SourceIndex(0) -27>Emitted(39, 165) Source(84, 47) + SourceIndex(0) -28>Emitted(39, 167) Source(82, 9) + SourceIndex(0) -29>Emitted(39, 182) Source(82, 38) + SourceIndex(0) -30>Emitted(39, 184) Source(82, 18) + SourceIndex(0) -31>Emitted(39, 192) Source(82, 26) + SourceIndex(0) -32>Emitted(39, 211) Source(82, 29) + SourceIndex(0) -33>Emitted(39, 220) Source(82, 38) + SourceIndex(0) -34>Emitted(39, 225) Source(82, 38) + SourceIndex(0) -35>Emitted(39, 227) Source(83, 9) + SourceIndex(0) -36>Emitted(39, 244) Source(83, 44) + SourceIndex(0) -37>Emitted(39, 246) Source(83, 20) + SourceIndex(0) -38>Emitted(39, 256) Source(83, 30) + SourceIndex(0) -39>Emitted(39, 275) Source(83, 33) + SourceIndex(0) -40>Emitted(39, 286) Source(83, 44) + SourceIndex(0) -41>Emitted(39, 291) Source(83, 44) + SourceIndex(0) -42>Emitted(39, 293) Source(85, 22) + SourceIndex(0) -43>Emitted(39, 294) Source(85, 23) + SourceIndex(0) -44>Emitted(39, 297) Source(85, 26) + SourceIndex(0) -45>Emitted(39, 298) Source(85, 27) + SourceIndex(0) -46>Emitted(39, 300) Source(85, 29) + SourceIndex(0) -47>Emitted(39, 301) Source(85, 30) + SourceIndex(0) -48>Emitted(39, 304) Source(85, 33) + SourceIndex(0) -49>Emitted(39, 305) Source(85, 34) + SourceIndex(0) -50>Emitted(39, 307) Source(85, 36) + SourceIndex(0) -51>Emitted(39, 308) Source(85, 37) + SourceIndex(0) -52>Emitted(39, 310) Source(85, 39) + SourceIndex(0) -53>Emitted(39, 312) Source(85, 41) + SourceIndex(0) -54>Emitted(39, 313) Source(85, 42) + SourceIndex(0) +1->Emitted(40, 1) Source(79, 1) + SourceIndex(0) +2 >Emitted(40, 6) Source(79, 10) + SourceIndex(0) +3 >Emitted(40, 10) Source(79, 10) + SourceIndex(0) +4 >Emitted(40, 15) Source(85, 5) + SourceIndex(0) +5 >Emitted(40, 28) Source(85, 18) + SourceIndex(0) +6 >Emitted(40, 30) Source(85, 20) + SourceIndex(0) +7 >Emitted(40, 32) Source(80, 5) + SourceIndex(0) +8 >Emitted(40, 44) Source(80, 27) + SourceIndex(0) +9 >Emitted(40, 46) Source(80, 11) + SourceIndex(0) +10>Emitted(40, 51) Source(80, 16) + SourceIndex(0) +11>Emitted(40, 70) Source(80, 19) + SourceIndex(0) +12>Emitted(40, 78) Source(80, 27) + SourceIndex(0) +13>Emitted(40, 83) Source(80, 27) + SourceIndex(0) +14>Emitted(40, 85) Source(81, 5) + SourceIndex(0) +15>Emitted(40, 99) Source(84, 47) + SourceIndex(0) +16>Emitted(40, 101) Source(81, 5) + SourceIndex(0) +17>Emitted(40, 122) Source(84, 9) + SourceIndex(0) +18>Emitted(40, 124) Source(84, 11) + SourceIndex(0) +19>Emitted(40, 131) Source(84, 18) + SourceIndex(0) +20>Emitted(40, 133) Source(84, 20) + SourceIndex(0) +21>Emitted(40, 139) Source(84, 26) + SourceIndex(0) +22>Emitted(40, 141) Source(84, 28) + SourceIndex(0) +23>Emitted(40, 150) Source(84, 37) + SourceIndex(0) +24>Emitted(40, 152) Source(84, 39) + SourceIndex(0) +25>Emitted(40, 158) Source(84, 45) + SourceIndex(0) +26>Emitted(40, 160) Source(84, 47) + SourceIndex(0) +27>Emitted(40, 165) Source(84, 47) + SourceIndex(0) +28>Emitted(40, 167) Source(82, 9) + SourceIndex(0) +29>Emitted(40, 182) Source(82, 38) + SourceIndex(0) +30>Emitted(40, 184) Source(82, 18) + SourceIndex(0) +31>Emitted(40, 192) Source(82, 26) + SourceIndex(0) +32>Emitted(40, 211) Source(82, 29) + SourceIndex(0) +33>Emitted(40, 220) Source(82, 38) + SourceIndex(0) +34>Emitted(40, 225) Source(82, 38) + SourceIndex(0) +35>Emitted(40, 227) Source(83, 9) + SourceIndex(0) +36>Emitted(40, 244) Source(83, 44) + SourceIndex(0) +37>Emitted(40, 246) Source(83, 20) + SourceIndex(0) +38>Emitted(40, 256) Source(83, 30) + SourceIndex(0) +39>Emitted(40, 275) Source(83, 33) + SourceIndex(0) +40>Emitted(40, 286) Source(83, 44) + SourceIndex(0) +41>Emitted(40, 291) Source(83, 44) + SourceIndex(0) +42>Emitted(40, 293) Source(85, 22) + SourceIndex(0) +43>Emitted(40, 294) Source(85, 23) + SourceIndex(0) +44>Emitted(40, 297) Source(85, 26) + SourceIndex(0) +45>Emitted(40, 298) Source(85, 27) + SourceIndex(0) +46>Emitted(40, 300) Source(85, 29) + SourceIndex(0) +47>Emitted(40, 301) Source(85, 30) + SourceIndex(0) +48>Emitted(40, 304) Source(85, 33) + SourceIndex(0) +49>Emitted(40, 305) Source(85, 34) + SourceIndex(0) +50>Emitted(40, 307) Source(85, 36) + SourceIndex(0) +51>Emitted(40, 308) Source(85, 37) + SourceIndex(0) +52>Emitted(40, 310) Source(85, 39) + SourceIndex(0) +53>Emitted(40, 312) Source(85, 41) + SourceIndex(0) +54>Emitted(40, 313) Source(85, 42) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -2045,14 +2046,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > primaryA 7 > ) 8 > ; -1 >Emitted(40, 5) Source(86, 5) + SourceIndex(0) -2 >Emitted(40, 12) Source(86, 12) + SourceIndex(0) -3 >Emitted(40, 13) Source(86, 13) + SourceIndex(0) -4 >Emitted(40, 16) Source(86, 16) + SourceIndex(0) -5 >Emitted(40, 17) Source(86, 17) + SourceIndex(0) -6 >Emitted(40, 25) Source(86, 25) + SourceIndex(0) -7 >Emitted(40, 26) Source(86, 26) + SourceIndex(0) -8 >Emitted(40, 27) Source(86, 27) + SourceIndex(0) +1 >Emitted(41, 5) Source(86, 5) + SourceIndex(0) +2 >Emitted(41, 12) Source(86, 12) + SourceIndex(0) +3 >Emitted(41, 13) Source(86, 13) + SourceIndex(0) +4 >Emitted(41, 16) Source(86, 16) + SourceIndex(0) +5 >Emitted(41, 17) Source(86, 17) + SourceIndex(0) +6 >Emitted(41, 25) Source(86, 25) + SourceIndex(0) +7 >Emitted(41, 26) Source(86, 26) + SourceIndex(0) +8 >Emitted(41, 27) Source(86, 27) + SourceIndex(0) --- >>>} 1 > @@ -2061,8 +2062,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(41, 1) Source(87, 1) + SourceIndex(0) -2 >Emitted(41, 2) Source(87, 2) + SourceIndex(0) +1 >Emitted(42, 1) Source(87, 1) + SourceIndex(0) +2 >Emitted(42, 2) Source(87, 2) + SourceIndex(0) --- >>>for (var _10 = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, _11 = _10.name, nameA = _11 === void 0 ? "noName" : _11, _12 = _10.skills, _13 = _12 === void 0 ? { primary: "none", secondary: "none" } : _12, _14 = _13.primary, primaryA = _14 === void 0 ? "primary" : _14, _15 = _13.secondary, secondaryA = _15 === void 0 ? "secondary" : _15, i = 0; i < 1; i++) { 1-> @@ -2221,75 +2222,75 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 67> ++ 68> ) 69> { -1->Emitted(42, 1) Source(88, 1) + SourceIndex(0) -2 >Emitted(42, 6) Source(88, 10) + SourceIndex(0) -3 >Emitted(42, 10) Source(88, 10) + SourceIndex(0) -4 >Emitted(42, 16) Source(94, 17) + SourceIndex(0) -5 >Emitted(42, 18) Source(94, 19) + SourceIndex(0) -6 >Emitted(42, 22) Source(94, 23) + SourceIndex(0) -7 >Emitted(42, 24) Source(94, 25) + SourceIndex(0) -8 >Emitted(42, 33) Source(94, 34) + SourceIndex(0) -9 >Emitted(42, 35) Source(94, 36) + SourceIndex(0) -10>Emitted(42, 41) Source(94, 42) + SourceIndex(0) -11>Emitted(42, 43) Source(94, 44) + SourceIndex(0) -12>Emitted(42, 45) Source(94, 46) + SourceIndex(0) -13>Emitted(42, 52) Source(94, 53) + SourceIndex(0) -14>Emitted(42, 54) Source(94, 55) + SourceIndex(0) -15>Emitted(42, 64) Source(94, 65) + SourceIndex(0) -16>Emitted(42, 66) Source(94, 67) + SourceIndex(0) -17>Emitted(42, 75) Source(94, 76) + SourceIndex(0) -18>Emitted(42, 77) Source(94, 78) + SourceIndex(0) -19>Emitted(42, 85) Source(94, 86) + SourceIndex(0) -20>Emitted(42, 87) Source(94, 88) + SourceIndex(0) -21>Emitted(42, 89) Source(94, 90) + SourceIndex(0) -22>Emitted(42, 91) Source(89, 5) + SourceIndex(0) -23>Emitted(42, 105) Source(89, 27) + SourceIndex(0) -24>Emitted(42, 107) Source(89, 11) + SourceIndex(0) -25>Emitted(42, 112) Source(89, 16) + SourceIndex(0) -26>Emitted(42, 132) Source(89, 19) + SourceIndex(0) -27>Emitted(42, 140) Source(89, 27) + SourceIndex(0) -28>Emitted(42, 146) Source(89, 27) + SourceIndex(0) -29>Emitted(42, 148) Source(90, 5) + SourceIndex(0) -30>Emitted(42, 164) Source(93, 47) + SourceIndex(0) -31>Emitted(42, 166) Source(90, 5) + SourceIndex(0) -32>Emitted(42, 189) Source(93, 9) + SourceIndex(0) -33>Emitted(42, 191) Source(93, 11) + SourceIndex(0) -34>Emitted(42, 198) Source(93, 18) + SourceIndex(0) -35>Emitted(42, 200) Source(93, 20) + SourceIndex(0) -36>Emitted(42, 206) Source(93, 26) + SourceIndex(0) -37>Emitted(42, 208) Source(93, 28) + SourceIndex(0) -38>Emitted(42, 217) Source(93, 37) + SourceIndex(0) -39>Emitted(42, 219) Source(93, 39) + SourceIndex(0) -40>Emitted(42, 225) Source(93, 45) + SourceIndex(0) -41>Emitted(42, 227) Source(93, 47) + SourceIndex(0) -42>Emitted(42, 233) Source(93, 47) + SourceIndex(0) -43>Emitted(42, 235) Source(91, 9) + SourceIndex(0) -44>Emitted(42, 252) Source(91, 38) + SourceIndex(0) -45>Emitted(42, 254) Source(91, 18) + SourceIndex(0) -46>Emitted(42, 262) Source(91, 26) + SourceIndex(0) -47>Emitted(42, 282) Source(91, 29) + SourceIndex(0) -48>Emitted(42, 291) Source(91, 38) + SourceIndex(0) -49>Emitted(42, 297) Source(91, 38) + SourceIndex(0) -50>Emitted(42, 299) Source(92, 9) + SourceIndex(0) -51>Emitted(42, 318) Source(92, 44) + SourceIndex(0) -52>Emitted(42, 320) Source(92, 20) + SourceIndex(0) -53>Emitted(42, 330) Source(92, 30) + SourceIndex(0) -54>Emitted(42, 350) Source(92, 33) + SourceIndex(0) -55>Emitted(42, 361) Source(92, 44) + SourceIndex(0) -56>Emitted(42, 367) Source(92, 44) + SourceIndex(0) -57>Emitted(42, 369) Source(95, 5) + SourceIndex(0) -58>Emitted(42, 370) Source(95, 6) + SourceIndex(0) -59>Emitted(42, 373) Source(95, 9) + SourceIndex(0) -60>Emitted(42, 374) Source(95, 10) + SourceIndex(0) -61>Emitted(42, 376) Source(95, 12) + SourceIndex(0) -62>Emitted(42, 377) Source(95, 13) + SourceIndex(0) -63>Emitted(42, 380) Source(95, 16) + SourceIndex(0) -64>Emitted(42, 381) Source(95, 17) + SourceIndex(0) -65>Emitted(42, 383) Source(95, 19) + SourceIndex(0) -66>Emitted(42, 384) Source(95, 20) + SourceIndex(0) -67>Emitted(42, 386) Source(95, 22) + SourceIndex(0) -68>Emitted(42, 388) Source(95, 24) + SourceIndex(0) -69>Emitted(42, 389) Source(95, 25) + SourceIndex(0) +1->Emitted(43, 1) Source(88, 1) + SourceIndex(0) +2 >Emitted(43, 6) Source(88, 10) + SourceIndex(0) +3 >Emitted(43, 10) Source(88, 10) + SourceIndex(0) +4 >Emitted(43, 16) Source(94, 17) + SourceIndex(0) +5 >Emitted(43, 18) Source(94, 19) + SourceIndex(0) +6 >Emitted(43, 22) Source(94, 23) + SourceIndex(0) +7 >Emitted(43, 24) Source(94, 25) + SourceIndex(0) +8 >Emitted(43, 33) Source(94, 34) + SourceIndex(0) +9 >Emitted(43, 35) Source(94, 36) + SourceIndex(0) +10>Emitted(43, 41) Source(94, 42) + SourceIndex(0) +11>Emitted(43, 43) Source(94, 44) + SourceIndex(0) +12>Emitted(43, 45) Source(94, 46) + SourceIndex(0) +13>Emitted(43, 52) Source(94, 53) + SourceIndex(0) +14>Emitted(43, 54) Source(94, 55) + SourceIndex(0) +15>Emitted(43, 64) Source(94, 65) + SourceIndex(0) +16>Emitted(43, 66) Source(94, 67) + SourceIndex(0) +17>Emitted(43, 75) Source(94, 76) + SourceIndex(0) +18>Emitted(43, 77) Source(94, 78) + SourceIndex(0) +19>Emitted(43, 85) Source(94, 86) + SourceIndex(0) +20>Emitted(43, 87) Source(94, 88) + SourceIndex(0) +21>Emitted(43, 89) Source(94, 90) + SourceIndex(0) +22>Emitted(43, 91) Source(89, 5) + SourceIndex(0) +23>Emitted(43, 105) Source(89, 27) + SourceIndex(0) +24>Emitted(43, 107) Source(89, 11) + SourceIndex(0) +25>Emitted(43, 112) Source(89, 16) + SourceIndex(0) +26>Emitted(43, 132) Source(89, 19) + SourceIndex(0) +27>Emitted(43, 140) Source(89, 27) + SourceIndex(0) +28>Emitted(43, 146) Source(89, 27) + SourceIndex(0) +29>Emitted(43, 148) Source(90, 5) + SourceIndex(0) +30>Emitted(43, 164) Source(93, 47) + SourceIndex(0) +31>Emitted(43, 166) Source(90, 5) + SourceIndex(0) +32>Emitted(43, 189) Source(93, 9) + SourceIndex(0) +33>Emitted(43, 191) Source(93, 11) + SourceIndex(0) +34>Emitted(43, 198) Source(93, 18) + SourceIndex(0) +35>Emitted(43, 200) Source(93, 20) + SourceIndex(0) +36>Emitted(43, 206) Source(93, 26) + SourceIndex(0) +37>Emitted(43, 208) Source(93, 28) + SourceIndex(0) +38>Emitted(43, 217) Source(93, 37) + SourceIndex(0) +39>Emitted(43, 219) Source(93, 39) + SourceIndex(0) +40>Emitted(43, 225) Source(93, 45) + SourceIndex(0) +41>Emitted(43, 227) Source(93, 47) + SourceIndex(0) +42>Emitted(43, 233) Source(93, 47) + SourceIndex(0) +43>Emitted(43, 235) Source(91, 9) + SourceIndex(0) +44>Emitted(43, 252) Source(91, 38) + SourceIndex(0) +45>Emitted(43, 254) Source(91, 18) + SourceIndex(0) +46>Emitted(43, 262) Source(91, 26) + SourceIndex(0) +47>Emitted(43, 282) Source(91, 29) + SourceIndex(0) +48>Emitted(43, 291) Source(91, 38) + SourceIndex(0) +49>Emitted(43, 297) Source(91, 38) + SourceIndex(0) +50>Emitted(43, 299) Source(92, 9) + SourceIndex(0) +51>Emitted(43, 318) Source(92, 44) + SourceIndex(0) +52>Emitted(43, 320) Source(92, 20) + SourceIndex(0) +53>Emitted(43, 330) Source(92, 30) + SourceIndex(0) +54>Emitted(43, 350) Source(92, 33) + SourceIndex(0) +55>Emitted(43, 361) Source(92, 44) + SourceIndex(0) +56>Emitted(43, 367) Source(92, 44) + SourceIndex(0) +57>Emitted(43, 369) Source(95, 5) + SourceIndex(0) +58>Emitted(43, 370) Source(95, 6) + SourceIndex(0) +59>Emitted(43, 373) Source(95, 9) + SourceIndex(0) +60>Emitted(43, 374) Source(95, 10) + SourceIndex(0) +61>Emitted(43, 376) Source(95, 12) + SourceIndex(0) +62>Emitted(43, 377) Source(95, 13) + SourceIndex(0) +63>Emitted(43, 380) Source(95, 16) + SourceIndex(0) +64>Emitted(43, 381) Source(95, 17) + SourceIndex(0) +65>Emitted(43, 383) Source(95, 19) + SourceIndex(0) +66>Emitted(43, 384) Source(95, 20) + SourceIndex(0) +67>Emitted(43, 386) Source(95, 22) + SourceIndex(0) +68>Emitted(43, 388) Source(95, 24) + SourceIndex(0) +69>Emitted(43, 389) Source(95, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -2309,14 +2310,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 6 > primaryA 7 > ) 8 > ; -1 >Emitted(43, 5) Source(96, 5) + SourceIndex(0) -2 >Emitted(43, 12) Source(96, 12) + SourceIndex(0) -3 >Emitted(43, 13) Source(96, 13) + SourceIndex(0) -4 >Emitted(43, 16) Source(96, 16) + SourceIndex(0) -5 >Emitted(43, 17) Source(96, 17) + SourceIndex(0) -6 >Emitted(43, 25) Source(96, 25) + SourceIndex(0) -7 >Emitted(43, 26) Source(96, 26) + SourceIndex(0) -8 >Emitted(43, 27) Source(96, 27) + SourceIndex(0) +1 >Emitted(44, 5) Source(96, 5) + SourceIndex(0) +2 >Emitted(44, 12) Source(96, 12) + SourceIndex(0) +3 >Emitted(44, 13) Source(96, 13) + SourceIndex(0) +4 >Emitted(44, 16) Source(96, 16) + SourceIndex(0) +5 >Emitted(44, 17) Source(96, 17) + SourceIndex(0) +6 >Emitted(44, 25) Source(96, 25) + SourceIndex(0) +7 >Emitted(44, 26) Source(96, 26) + SourceIndex(0) +8 >Emitted(44, 27) Source(96, 27) + SourceIndex(0) --- >>>} 1 > @@ -2325,7 +2326,7 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues. 1 > > 2 >} -1 >Emitted(44, 1) Source(97, 1) + SourceIndex(0) -2 >Emitted(44, 2) Source(97, 2) + SourceIndex(0) +1 >Emitted(45, 1) Source(97, 1) + SourceIndex(0) +2 >Emitted(45, 2) Source(97, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForObjectBindingPatternDefaultValues.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js index a88d91aeecd39..a6e686b61a1ef 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js @@ -177,6 +177,7 @@ for ({ } //// [sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55; var robot = { name: "mower", skill: "mowing" }; var multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js.map index 969a0f221eaa7..6146e69813582 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.ts"],"names":[],"mappings":";AAgBA,IAAI,KAAK,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC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CiAgICBjb25zb2xlLmxvZyhwcmltYXJ5QSk7Cn0= +{"version":3,"file":"sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.ts"],"names":[],"mappings":";;AAgBA,IAAI,KAAK,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACtD,IAAI,UAAU,GAAe,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AACjG,SAAS,QAAQ;IACb,OAAO,KAAK,CAAC;AACjB,CAAC;AACD,SAAS,aAAa;IAClB,OAAO,UAAU,CAAC;AACtB,CAAC;AAED,IAAI,KAAa,EAAE,QAAgB,EAAE,UAAkB,EAAE,CAAS,EAAE,MAAc,CAAC;AACnF,IAAI,IAAY,EAAE,OAAe,EAAE,SAAiB,EAAE,KAAa,CAAC;AAEpE,KAAM,KAA2B,KAAK,KAAV,EAAhB,KAAK,mBAAG,QAAQ,KAAA,EAAY,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IACxD,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAM,KAA2B,QAAQ,EAAE,KAAf,EAAhB,KAAK,mBAAG,QAAQ,KAAA,EAAiB,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;IAC7D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAM,KAAkC,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,KAAlD,EAAhB,KAAK,mBAAG,QAAQ,KAAA,EAAoD,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,EAAE,CAAC,EAAE,E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gICAgICAgc2Vjb25kYXJ5ID0gInNlY29uZGFyeSIKICAgIH0gPSB7IHByaW1hcnk6ICJub25lIiwgc2Vjb25kYXJ5OiAibm9uZSIgfQp9ID0gPE11bHRpUm9ib3Q+eyBuYW1lOiAidHJpbW1lciIsIHNraWxsczogeyBwcmltYXJ5OiAidHJpbW1pbmciLCBzZWNvbmRhcnk6ICJlZGdpbmciIH0gfSwKICAgIGkgPSAwOyBpIDwgMTsgaSsrKSB7CiAgICBjb25zb2xlLmxvZyhwcmltYXJ5QSk7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.sourcemap.txt index 54dffcfac0552..569ebba9bb92e 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.t emittedFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55; >>>var robot = { name: "mower", skill: "mowing" }; 1 > @@ -55,20 +56,20 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 12> "mowing" 13> } 14> ; -1 >Emitted(2, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(2, 10) Source(17, 10) + SourceIndex(0) -4 >Emitted(2, 13) Source(17, 20) + SourceIndex(0) -5 >Emitted(2, 15) Source(17, 22) + SourceIndex(0) -6 >Emitted(2, 19) Source(17, 26) + SourceIndex(0) -7 >Emitted(2, 21) Source(17, 28) + SourceIndex(0) -8 >Emitted(2, 28) Source(17, 35) + SourceIndex(0) -9 >Emitted(2, 30) Source(17, 37) + SourceIndex(0) -10>Emitted(2, 35) Source(17, 42) + SourceIndex(0) -11>Emitted(2, 37) Source(17, 44) + SourceIndex(0) -12>Emitted(2, 45) Source(17, 52) + SourceIndex(0) -13>Emitted(2, 47) Source(17, 54) + SourceIndex(0) -14>Emitted(2, 48) Source(17, 55) + SourceIndex(0) +1 >Emitted(3, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(3, 10) Source(17, 10) + SourceIndex(0) +4 >Emitted(3, 13) Source(17, 20) + SourceIndex(0) +5 >Emitted(3, 15) Source(17, 22) + SourceIndex(0) +6 >Emitted(3, 19) Source(17, 26) + SourceIndex(0) +7 >Emitted(3, 21) Source(17, 28) + SourceIndex(0) +8 >Emitted(3, 28) Source(17, 35) + SourceIndex(0) +9 >Emitted(3, 30) Source(17, 37) + SourceIndex(0) +10>Emitted(3, 35) Source(17, 42) + SourceIndex(0) +11>Emitted(3, 37) Source(17, 44) + SourceIndex(0) +12>Emitted(3, 45) Source(17, 52) + SourceIndex(0) +13>Emitted(3, 47) Source(17, 54) + SourceIndex(0) +14>Emitted(3, 48) Source(17, 55) + SourceIndex(0) --- >>>var multiRobot = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; 1-> @@ -116,28 +117,28 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 20> } 21> } 22> ; -1->Emitted(3, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(3, 15) Source(18, 15) + SourceIndex(0) -4 >Emitted(3, 18) Source(18, 30) + SourceIndex(0) -5 >Emitted(3, 20) Source(18, 32) + SourceIndex(0) -6 >Emitted(3, 24) Source(18, 36) + SourceIndex(0) -7 >Emitted(3, 26) Source(18, 38) + SourceIndex(0) -8 >Emitted(3, 33) Source(18, 45) + SourceIndex(0) -9 >Emitted(3, 35) Source(18, 47) + SourceIndex(0) -10>Emitted(3, 41) Source(18, 53) + SourceIndex(0) -11>Emitted(3, 43) Source(18, 55) + SourceIndex(0) -12>Emitted(3, 45) Source(18, 57) + SourceIndex(0) -13>Emitted(3, 52) Source(18, 64) + SourceIndex(0) -14>Emitted(3, 54) Source(18, 66) + SourceIndex(0) -15>Emitted(3, 62) Source(18, 74) + SourceIndex(0) -16>Emitted(3, 64) Source(18, 76) + SourceIndex(0) -17>Emitted(3, 73) Source(18, 85) + SourceIndex(0) -18>Emitted(3, 75) Source(18, 87) + SourceIndex(0) -19>Emitted(3, 81) Source(18, 93) + SourceIndex(0) -20>Emitted(3, 83) Source(18, 95) + SourceIndex(0) -21>Emitted(3, 85) Source(18, 97) + SourceIndex(0) -22>Emitted(3, 86) Source(18, 98) + SourceIndex(0) +1->Emitted(4, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(4, 15) Source(18, 15) + SourceIndex(0) +4 >Emitted(4, 18) Source(18, 30) + SourceIndex(0) +5 >Emitted(4, 20) Source(18, 32) + SourceIndex(0) +6 >Emitted(4, 24) Source(18, 36) + SourceIndex(0) +7 >Emitted(4, 26) Source(18, 38) + SourceIndex(0) +8 >Emitted(4, 33) Source(18, 45) + SourceIndex(0) +9 >Emitted(4, 35) Source(18, 47) + SourceIndex(0) +10>Emitted(4, 41) Source(18, 53) + SourceIndex(0) +11>Emitted(4, 43) Source(18, 55) + SourceIndex(0) +12>Emitted(4, 45) Source(18, 57) + SourceIndex(0) +13>Emitted(4, 52) Source(18, 64) + SourceIndex(0) +14>Emitted(4, 54) Source(18, 66) + SourceIndex(0) +15>Emitted(4, 62) Source(18, 74) + SourceIndex(0) +16>Emitted(4, 64) Source(18, 76) + SourceIndex(0) +17>Emitted(4, 73) Source(18, 85) + SourceIndex(0) +18>Emitted(4, 75) Source(18, 87) + SourceIndex(0) +19>Emitted(4, 81) Source(18, 93) + SourceIndex(0) +20>Emitted(4, 83) Source(18, 95) + SourceIndex(0) +21>Emitted(4, 85) Source(18, 97) + SourceIndex(0) +22>Emitted(4, 86) Source(18, 98) + SourceIndex(0) --- >>>function getRobot() { 1 > @@ -148,9 +149,9 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 > 2 >function 3 > getRobot -1 >Emitted(4, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(4, 10) Source(19, 10) + SourceIndex(0) -3 >Emitted(4, 18) Source(19, 18) + SourceIndex(0) +1 >Emitted(5, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(5, 10) Source(19, 10) + SourceIndex(0) +3 >Emitted(5, 18) Source(19, 18) + SourceIndex(0) --- >>> return robot; 1->^^^^ @@ -162,10 +163,10 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 2 > return 3 > robot 4 > ; -1->Emitted(5, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(5, 12) Source(20, 12) + SourceIndex(0) -3 >Emitted(5, 17) Source(20, 17) + SourceIndex(0) -4 >Emitted(5, 18) Source(20, 18) + SourceIndex(0) +1->Emitted(6, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(6, 12) Source(20, 12) + SourceIndex(0) +3 >Emitted(6, 17) Source(20, 17) + SourceIndex(0) +4 >Emitted(6, 18) Source(20, 18) + SourceIndex(0) --- >>>} 1 > @@ -174,8 +175,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(6, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(21, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(21, 2) + SourceIndex(0) --- >>>function getMultiRobot() { 1-> @@ -186,9 +187,9 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 > 2 >function 3 > getMultiRobot -1->Emitted(7, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(7, 10) Source(22, 10) + SourceIndex(0) -3 >Emitted(7, 23) Source(22, 23) + SourceIndex(0) +1->Emitted(8, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(8, 10) Source(22, 10) + SourceIndex(0) +3 >Emitted(8, 23) Source(22, 23) + SourceIndex(0) --- >>> return multiRobot; 1->^^^^ @@ -200,10 +201,10 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 2 > return 3 > multiRobot 4 > ; -1->Emitted(8, 5) Source(23, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(23, 12) + SourceIndex(0) -3 >Emitted(8, 22) Source(23, 22) + SourceIndex(0) -4 >Emitted(8, 23) Source(23, 23) + SourceIndex(0) +1->Emitted(9, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(23, 12) + SourceIndex(0) +3 >Emitted(9, 22) Source(23, 22) + SourceIndex(0) +4 >Emitted(9, 23) Source(23, 23) + SourceIndex(0) --- >>>} 1 > @@ -212,8 +213,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(9, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(24, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(24, 2) + SourceIndex(0) --- >>>var nameA, primaryA, secondaryA, i, skillA; 1-> @@ -242,18 +243,18 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 10> , 11> skillA: string 12> ; -1->Emitted(10, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(10, 5) Source(26, 5) + SourceIndex(0) -3 >Emitted(10, 10) Source(26, 18) + SourceIndex(0) -4 >Emitted(10, 12) Source(26, 20) + SourceIndex(0) -5 >Emitted(10, 20) Source(26, 36) + SourceIndex(0) -6 >Emitted(10, 22) Source(26, 38) + SourceIndex(0) -7 >Emitted(10, 32) Source(26, 56) + SourceIndex(0) -8 >Emitted(10, 34) Source(26, 58) + SourceIndex(0) -9 >Emitted(10, 35) Source(26, 67) + SourceIndex(0) -10>Emitted(10, 37) Source(26, 69) + SourceIndex(0) -11>Emitted(10, 43) Source(26, 83) + SourceIndex(0) -12>Emitted(10, 44) Source(26, 84) + SourceIndex(0) +1->Emitted(11, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(11, 5) Source(26, 5) + SourceIndex(0) +3 >Emitted(11, 10) Source(26, 18) + SourceIndex(0) +4 >Emitted(11, 12) Source(26, 20) + SourceIndex(0) +5 >Emitted(11, 20) Source(26, 36) + SourceIndex(0) +6 >Emitted(11, 22) Source(26, 38) + SourceIndex(0) +7 >Emitted(11, 32) Source(26, 56) + SourceIndex(0) +8 >Emitted(11, 34) Source(26, 58) + SourceIndex(0) +9 >Emitted(11, 35) Source(26, 67) + SourceIndex(0) +10>Emitted(11, 37) Source(26, 69) + SourceIndex(0) +11>Emitted(11, 43) Source(26, 83) + SourceIndex(0) +12>Emitted(11, 44) Source(26, 84) + SourceIndex(0) --- >>>var name, primary, secondary, skill; 1 > @@ -278,16 +279,16 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 8 > , 9 > skill: string 10> ; -1 >Emitted(11, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(11, 5) Source(27, 5) + SourceIndex(0) -3 >Emitted(11, 9) Source(27, 17) + SourceIndex(0) -4 >Emitted(11, 11) Source(27, 19) + SourceIndex(0) -5 >Emitted(11, 18) Source(27, 34) + SourceIndex(0) -6 >Emitted(11, 20) Source(27, 36) + SourceIndex(0) -7 >Emitted(11, 29) Source(27, 53) + SourceIndex(0) -8 >Emitted(11, 31) Source(27, 55) + SourceIndex(0) -9 >Emitted(11, 36) Source(27, 68) + SourceIndex(0) -10>Emitted(11, 37) Source(27, 69) + SourceIndex(0) +1 >Emitted(12, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(12, 5) Source(27, 5) + SourceIndex(0) +3 >Emitted(12, 9) Source(27, 17) + SourceIndex(0) +4 >Emitted(12, 11) Source(27, 19) + SourceIndex(0) +5 >Emitted(12, 18) Source(27, 34) + SourceIndex(0) +6 >Emitted(12, 20) Source(27, 36) + SourceIndex(0) +7 >Emitted(12, 29) Source(27, 53) + SourceIndex(0) +8 >Emitted(12, 31) Source(27, 55) + SourceIndex(0) +9 >Emitted(12, 36) Source(27, 68) + SourceIndex(0) +10>Emitted(12, 37) Source(27, 69) + SourceIndex(0) --- >>>for (_a = robot.name, nameA = _a === void 0 ? "noName" : _a, i = 0; i < 1; i++) { 1-> @@ -338,29 +339,29 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 21> ++ 22> ) 23> { -1->Emitted(12, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(12, 6) Source(29, 7) + SourceIndex(0) -3 >Emitted(12, 11) Source(29, 34) + SourceIndex(0) -4 >Emitted(12, 16) Source(29, 39) + SourceIndex(0) -5 >Emitted(12, 21) Source(29, 29) + SourceIndex(0) -6 >Emitted(12, 23) Source(29, 13) + SourceIndex(0) -7 >Emitted(12, 28) Source(29, 18) + SourceIndex(0) -8 >Emitted(12, 47) Source(29, 21) + SourceIndex(0) -9 >Emitted(12, 55) Source(29, 29) + SourceIndex(0) -10>Emitted(12, 60) Source(29, 29) + SourceIndex(0) -11>Emitted(12, 62) Source(29, 41) + SourceIndex(0) -12>Emitted(12, 63) Source(29, 42) + SourceIndex(0) -13>Emitted(12, 66) Source(29, 45) + SourceIndex(0) -14>Emitted(12, 67) Source(29, 46) + SourceIndex(0) -15>Emitted(12, 69) Source(29, 48) + SourceIndex(0) -16>Emitted(12, 70) Source(29, 49) + SourceIndex(0) -17>Emitted(12, 73) Source(29, 52) + SourceIndex(0) -18>Emitted(12, 74) Source(29, 53) + SourceIndex(0) -19>Emitted(12, 76) Source(29, 55) + SourceIndex(0) -20>Emitted(12, 77) Source(29, 56) + SourceIndex(0) -21>Emitted(12, 79) Source(29, 58) + SourceIndex(0) -22>Emitted(12, 81) Source(29, 60) + SourceIndex(0) -23>Emitted(12, 82) Source(29, 61) + SourceIndex(0) +1->Emitted(13, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(13, 6) Source(29, 7) + SourceIndex(0) +3 >Emitted(13, 11) Source(29, 34) + SourceIndex(0) +4 >Emitted(13, 16) Source(29, 39) + SourceIndex(0) +5 >Emitted(13, 21) Source(29, 29) + SourceIndex(0) +6 >Emitted(13, 23) Source(29, 13) + SourceIndex(0) +7 >Emitted(13, 28) Source(29, 18) + SourceIndex(0) +8 >Emitted(13, 47) Source(29, 21) + SourceIndex(0) +9 >Emitted(13, 55) Source(29, 29) + SourceIndex(0) +10>Emitted(13, 60) Source(29, 29) + SourceIndex(0) +11>Emitted(13, 62) Source(29, 41) + SourceIndex(0) +12>Emitted(13, 63) Source(29, 42) + SourceIndex(0) +13>Emitted(13, 66) Source(29, 45) + SourceIndex(0) +14>Emitted(13, 67) Source(29, 46) + SourceIndex(0) +15>Emitted(13, 69) Source(29, 48) + SourceIndex(0) +16>Emitted(13, 70) Source(29, 49) + SourceIndex(0) +17>Emitted(13, 73) Source(29, 52) + SourceIndex(0) +18>Emitted(13, 74) Source(29, 53) + SourceIndex(0) +19>Emitted(13, 76) Source(29, 55) + SourceIndex(0) +20>Emitted(13, 77) Source(29, 56) + SourceIndex(0) +21>Emitted(13, 79) Source(29, 58) + SourceIndex(0) +22>Emitted(13, 81) Source(29, 60) + SourceIndex(0) +23>Emitted(13, 82) Source(29, 61) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -380,14 +381,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(13, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(13, 12) Source(30, 12) + SourceIndex(0) -3 >Emitted(13, 13) Source(30, 13) + SourceIndex(0) -4 >Emitted(13, 16) Source(30, 16) + SourceIndex(0) -5 >Emitted(13, 17) Source(30, 17) + SourceIndex(0) -6 >Emitted(13, 22) Source(30, 22) + SourceIndex(0) -7 >Emitted(13, 23) Source(30, 23) + SourceIndex(0) -8 >Emitted(13, 24) Source(30, 24) + SourceIndex(0) +1 >Emitted(14, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(14, 12) Source(30, 12) + SourceIndex(0) +3 >Emitted(14, 13) Source(30, 13) + SourceIndex(0) +4 >Emitted(14, 16) Source(30, 16) + SourceIndex(0) +5 >Emitted(14, 17) Source(30, 17) + SourceIndex(0) +6 >Emitted(14, 22) Source(30, 22) + SourceIndex(0) +7 >Emitted(14, 23) Source(30, 23) + SourceIndex(0) +8 >Emitted(14, 24) Source(30, 24) + SourceIndex(0) --- >>>} 1 > @@ -396,8 +397,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(14, 1) Source(31, 1) + SourceIndex(0) -2 >Emitted(14, 2) Source(31, 2) + SourceIndex(0) +1 >Emitted(15, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(15, 2) Source(31, 2) + SourceIndex(0) --- >>>for (_b = getRobot().name, nameA = _b === void 0 ? "noName" : _b, i = 0; i < 1; i++) { 1-> @@ -449,30 +450,30 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 22> ++ 23> ) 24> { -1->Emitted(15, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(15, 6) Source(32, 7) + SourceIndex(0) -3 >Emitted(15, 11) Source(32, 34) + SourceIndex(0) -4 >Emitted(15, 19) Source(32, 42) + SourceIndex(0) -5 >Emitted(15, 21) Source(32, 44) + SourceIndex(0) -6 >Emitted(15, 26) Source(32, 29) + SourceIndex(0) -7 >Emitted(15, 28) Source(32, 13) + SourceIndex(0) -8 >Emitted(15, 33) Source(32, 18) + SourceIndex(0) -9 >Emitted(15, 52) Source(32, 21) + SourceIndex(0) -10>Emitted(15, 60) Source(32, 29) + SourceIndex(0) -11>Emitted(15, 65) Source(32, 29) + SourceIndex(0) -12>Emitted(15, 67) Source(32, 46) + SourceIndex(0) -13>Emitted(15, 68) Source(32, 47) + SourceIndex(0) -14>Emitted(15, 71) Source(32, 50) + SourceIndex(0) -15>Emitted(15, 72) Source(32, 51) + SourceIndex(0) -16>Emitted(15, 74) Source(32, 53) + SourceIndex(0) -17>Emitted(15, 75) Source(32, 54) + SourceIndex(0) -18>Emitted(15, 78) Source(32, 57) + SourceIndex(0) -19>Emitted(15, 79) Source(32, 58) + SourceIndex(0) -20>Emitted(15, 81) Source(32, 60) + SourceIndex(0) -21>Emitted(15, 82) Source(32, 61) + SourceIndex(0) -22>Emitted(15, 84) Source(32, 63) + SourceIndex(0) -23>Emitted(15, 86) Source(32, 65) + SourceIndex(0) -24>Emitted(15, 87) Source(32, 66) + SourceIndex(0) +1->Emitted(16, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(16, 6) Source(32, 7) + SourceIndex(0) +3 >Emitted(16, 11) Source(32, 34) + SourceIndex(0) +4 >Emitted(16, 19) Source(32, 42) + SourceIndex(0) +5 >Emitted(16, 21) Source(32, 44) + SourceIndex(0) +6 >Emitted(16, 26) Source(32, 29) + SourceIndex(0) +7 >Emitted(16, 28) Source(32, 13) + SourceIndex(0) +8 >Emitted(16, 33) Source(32, 18) + SourceIndex(0) +9 >Emitted(16, 52) Source(32, 21) + SourceIndex(0) +10>Emitted(16, 60) Source(32, 29) + SourceIndex(0) +11>Emitted(16, 65) Source(32, 29) + SourceIndex(0) +12>Emitted(16, 67) Source(32, 46) + SourceIndex(0) +13>Emitted(16, 68) Source(32, 47) + SourceIndex(0) +14>Emitted(16, 71) Source(32, 50) + SourceIndex(0) +15>Emitted(16, 72) Source(32, 51) + SourceIndex(0) +16>Emitted(16, 74) Source(32, 53) + SourceIndex(0) +17>Emitted(16, 75) Source(32, 54) + SourceIndex(0) +18>Emitted(16, 78) Source(32, 57) + SourceIndex(0) +19>Emitted(16, 79) Source(32, 58) + SourceIndex(0) +20>Emitted(16, 81) Source(32, 60) + SourceIndex(0) +21>Emitted(16, 82) Source(32, 61) + SourceIndex(0) +22>Emitted(16, 84) Source(32, 63) + SourceIndex(0) +23>Emitted(16, 86) Source(32, 65) + SourceIndex(0) +24>Emitted(16, 87) Source(32, 66) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -492,14 +493,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(16, 5) Source(33, 5) + SourceIndex(0) -2 >Emitted(16, 12) Source(33, 12) + SourceIndex(0) -3 >Emitted(16, 13) Source(33, 13) + SourceIndex(0) -4 >Emitted(16, 16) Source(33, 16) + SourceIndex(0) -5 >Emitted(16, 17) Source(33, 17) + SourceIndex(0) -6 >Emitted(16, 22) Source(33, 22) + SourceIndex(0) -7 >Emitted(16, 23) Source(33, 23) + SourceIndex(0) -8 >Emitted(16, 24) Source(33, 24) + SourceIndex(0) +1 >Emitted(17, 5) Source(33, 5) + SourceIndex(0) +2 >Emitted(17, 12) Source(33, 12) + SourceIndex(0) +3 >Emitted(17, 13) Source(33, 13) + SourceIndex(0) +4 >Emitted(17, 16) Source(33, 16) + SourceIndex(0) +5 >Emitted(17, 17) Source(33, 17) + SourceIndex(0) +6 >Emitted(17, 22) Source(33, 22) + SourceIndex(0) +7 >Emitted(17, 23) Source(33, 23) + SourceIndex(0) +8 >Emitted(17, 24) Source(33, 24) + SourceIndex(0) --- >>>} 1 > @@ -508,8 +509,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(17, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(17, 2) Source(34, 2) + SourceIndex(0) +1 >Emitted(18, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(18, 2) Source(34, 2) + SourceIndex(0) --- >>>for (_c = { name: "trimmer", skill: "trimming" }.name, nameA = _c === void 0 ? "noName" : _c, i = 0; i < 1; i++) { 1-> @@ -575,37 +576,37 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 29> ++ 30> ) 31> { -1->Emitted(18, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(18, 6) Source(35, 7) + SourceIndex(0) -3 >Emitted(18, 11) Source(35, 41) + SourceIndex(0) -4 >Emitted(18, 13) Source(35, 43) + SourceIndex(0) -5 >Emitted(18, 17) Source(35, 47) + SourceIndex(0) -6 >Emitted(18, 19) Source(35, 49) + SourceIndex(0) -7 >Emitted(18, 28) Source(35, 58) + SourceIndex(0) -8 >Emitted(18, 30) Source(35, 60) + SourceIndex(0) -9 >Emitted(18, 35) Source(35, 65) + SourceIndex(0) -10>Emitted(18, 37) Source(35, 67) + SourceIndex(0) -11>Emitted(18, 47) Source(35, 77) + SourceIndex(0) -12>Emitted(18, 49) Source(35, 79) + SourceIndex(0) -13>Emitted(18, 54) Source(35, 29) + SourceIndex(0) -14>Emitted(18, 56) Source(35, 13) + SourceIndex(0) -15>Emitted(18, 61) Source(35, 18) + SourceIndex(0) -16>Emitted(18, 80) Source(35, 21) + SourceIndex(0) -17>Emitted(18, 88) Source(35, 29) + SourceIndex(0) -18>Emitted(18, 93) Source(35, 29) + SourceIndex(0) -19>Emitted(18, 95) Source(35, 81) + SourceIndex(0) -20>Emitted(18, 96) Source(35, 82) + SourceIndex(0) -21>Emitted(18, 99) Source(35, 85) + SourceIndex(0) -22>Emitted(18, 100) Source(35, 86) + SourceIndex(0) -23>Emitted(18, 102) Source(35, 88) + SourceIndex(0) -24>Emitted(18, 103) Source(35, 89) + SourceIndex(0) -25>Emitted(18, 106) Source(35, 92) + SourceIndex(0) -26>Emitted(18, 107) Source(35, 93) + SourceIndex(0) -27>Emitted(18, 109) Source(35, 95) + SourceIndex(0) -28>Emitted(18, 110) Source(35, 96) + SourceIndex(0) -29>Emitted(18, 112) Source(35, 98) + SourceIndex(0) -30>Emitted(18, 114) Source(35, 100) + SourceIndex(0) -31>Emitted(18, 115) Source(35, 101) + SourceIndex(0) +1->Emitted(19, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(19, 6) Source(35, 7) + SourceIndex(0) +3 >Emitted(19, 11) Source(35, 41) + SourceIndex(0) +4 >Emitted(19, 13) Source(35, 43) + SourceIndex(0) +5 >Emitted(19, 17) Source(35, 47) + SourceIndex(0) +6 >Emitted(19, 19) Source(35, 49) + SourceIndex(0) +7 >Emitted(19, 28) Source(35, 58) + SourceIndex(0) +8 >Emitted(19, 30) Source(35, 60) + SourceIndex(0) +9 >Emitted(19, 35) Source(35, 65) + SourceIndex(0) +10>Emitted(19, 37) Source(35, 67) + SourceIndex(0) +11>Emitted(19, 47) Source(35, 77) + SourceIndex(0) +12>Emitted(19, 49) Source(35, 79) + SourceIndex(0) +13>Emitted(19, 54) Source(35, 29) + SourceIndex(0) +14>Emitted(19, 56) Source(35, 13) + SourceIndex(0) +15>Emitted(19, 61) Source(35, 18) + SourceIndex(0) +16>Emitted(19, 80) Source(35, 21) + SourceIndex(0) +17>Emitted(19, 88) Source(35, 29) + SourceIndex(0) +18>Emitted(19, 93) Source(35, 29) + SourceIndex(0) +19>Emitted(19, 95) Source(35, 81) + SourceIndex(0) +20>Emitted(19, 96) Source(35, 82) + SourceIndex(0) +21>Emitted(19, 99) Source(35, 85) + SourceIndex(0) +22>Emitted(19, 100) Source(35, 86) + SourceIndex(0) +23>Emitted(19, 102) Source(35, 88) + SourceIndex(0) +24>Emitted(19, 103) Source(35, 89) + SourceIndex(0) +25>Emitted(19, 106) Source(35, 92) + SourceIndex(0) +26>Emitted(19, 107) Source(35, 93) + SourceIndex(0) +27>Emitted(19, 109) Source(35, 95) + SourceIndex(0) +28>Emitted(19, 110) Source(35, 96) + SourceIndex(0) +29>Emitted(19, 112) Source(35, 98) + SourceIndex(0) +30>Emitted(19, 114) Source(35, 100) + SourceIndex(0) +31>Emitted(19, 115) Source(35, 101) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -625,14 +626,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(19, 5) Source(36, 5) + SourceIndex(0) -2 >Emitted(19, 12) Source(36, 12) + SourceIndex(0) -3 >Emitted(19, 13) Source(36, 13) + SourceIndex(0) -4 >Emitted(19, 16) Source(36, 16) + SourceIndex(0) -5 >Emitted(19, 17) Source(36, 17) + SourceIndex(0) -6 >Emitted(19, 22) Source(36, 22) + SourceIndex(0) -7 >Emitted(19, 23) Source(36, 23) + SourceIndex(0) -8 >Emitted(19, 24) Source(36, 24) + SourceIndex(0) +1 >Emitted(20, 5) Source(36, 5) + SourceIndex(0) +2 >Emitted(20, 12) Source(36, 12) + SourceIndex(0) +3 >Emitted(20, 13) Source(36, 13) + SourceIndex(0) +4 >Emitted(20, 16) Source(36, 16) + SourceIndex(0) +5 >Emitted(20, 17) Source(36, 17) + SourceIndex(0) +6 >Emitted(20, 22) Source(36, 22) + SourceIndex(0) +7 >Emitted(20, 23) Source(36, 23) + SourceIndex(0) +8 >Emitted(20, 24) Source(36, 24) + SourceIndex(0) --- >>>} 1 > @@ -641,8 +642,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(20, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(20, 2) Source(37, 2) + SourceIndex(0) +1 >Emitted(21, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(21, 2) Source(37, 2) + SourceIndex(0) --- >>>for (_d = multiRobot.skills, _e = _d === void 0 ? { primary: "none", secondary: "none" } : _d, _f = _e.primary, primaryA = _f === void 0 ? "primary" : _f, _g = _e.secondary, secondaryA = _g === void 0 ? "secondary" : _g, i = 0; i < 1; i++) { 1-> @@ -745,50 +746,50 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 42> ++ 43> ) 44> { -1->Emitted(21, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(21, 6) Source(39, 5) + SourceIndex(0) -3 >Emitted(21, 11) Source(43, 5) + SourceIndex(0) -4 >Emitted(21, 21) Source(43, 15) + SourceIndex(0) -5 >Emitted(21, 28) Source(42, 47) + SourceIndex(0) -6 >Emitted(21, 30) Source(39, 5) + SourceIndex(0) -7 >Emitted(21, 51) Source(42, 9) + SourceIndex(0) -8 >Emitted(21, 53) Source(42, 11) + SourceIndex(0) -9 >Emitted(21, 60) Source(42, 18) + SourceIndex(0) -10>Emitted(21, 62) Source(42, 20) + SourceIndex(0) -11>Emitted(21, 68) Source(42, 26) + SourceIndex(0) -12>Emitted(21, 70) Source(42, 28) + SourceIndex(0) -13>Emitted(21, 79) Source(42, 37) + SourceIndex(0) -14>Emitted(21, 81) Source(42, 39) + SourceIndex(0) -15>Emitted(21, 87) Source(42, 45) + SourceIndex(0) -16>Emitted(21, 89) Source(42, 47) + SourceIndex(0) -17>Emitted(21, 94) Source(42, 47) + SourceIndex(0) -18>Emitted(21, 96) Source(40, 9) + SourceIndex(0) -19>Emitted(21, 111) Source(40, 38) + SourceIndex(0) -20>Emitted(21, 113) Source(40, 18) + SourceIndex(0) -21>Emitted(21, 121) Source(40, 26) + SourceIndex(0) -22>Emitted(21, 140) Source(40, 29) + SourceIndex(0) -23>Emitted(21, 149) Source(40, 38) + SourceIndex(0) -24>Emitted(21, 154) Source(40, 38) + SourceIndex(0) -25>Emitted(21, 156) Source(41, 9) + SourceIndex(0) -26>Emitted(21, 173) Source(41, 44) + SourceIndex(0) -27>Emitted(21, 175) Source(41, 20) + SourceIndex(0) -28>Emitted(21, 185) Source(41, 30) + SourceIndex(0) -29>Emitted(21, 204) Source(41, 33) + SourceIndex(0) -30>Emitted(21, 215) Source(41, 44) + SourceIndex(0) -31>Emitted(21, 220) Source(41, 44) + SourceIndex(0) -32>Emitted(21, 222) Source(43, 17) + SourceIndex(0) -33>Emitted(21, 223) Source(43, 18) + SourceIndex(0) -34>Emitted(21, 226) Source(43, 21) + SourceIndex(0) -35>Emitted(21, 227) Source(43, 22) + SourceIndex(0) -36>Emitted(21, 229) Source(43, 24) + SourceIndex(0) -37>Emitted(21, 230) Source(43, 25) + SourceIndex(0) -38>Emitted(21, 233) Source(43, 28) + SourceIndex(0) -39>Emitted(21, 234) Source(43, 29) + SourceIndex(0) -40>Emitted(21, 236) Source(43, 31) + SourceIndex(0) -41>Emitted(21, 237) Source(43, 32) + SourceIndex(0) -42>Emitted(21, 239) Source(43, 34) + SourceIndex(0) -43>Emitted(21, 241) Source(43, 36) + SourceIndex(0) -44>Emitted(21, 242) Source(43, 37) + SourceIndex(0) +1->Emitted(22, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(22, 6) Source(39, 5) + SourceIndex(0) +3 >Emitted(22, 11) Source(43, 5) + SourceIndex(0) +4 >Emitted(22, 21) Source(43, 15) + SourceIndex(0) +5 >Emitted(22, 28) Source(42, 47) + SourceIndex(0) +6 >Emitted(22, 30) Source(39, 5) + SourceIndex(0) +7 >Emitted(22, 51) Source(42, 9) + SourceIndex(0) +8 >Emitted(22, 53) Source(42, 11) + SourceIndex(0) +9 >Emitted(22, 60) Source(42, 18) + SourceIndex(0) +10>Emitted(22, 62) Source(42, 20) + SourceIndex(0) +11>Emitted(22, 68) Source(42, 26) + SourceIndex(0) +12>Emitted(22, 70) Source(42, 28) + SourceIndex(0) +13>Emitted(22, 79) Source(42, 37) + SourceIndex(0) +14>Emitted(22, 81) Source(42, 39) + SourceIndex(0) +15>Emitted(22, 87) Source(42, 45) + SourceIndex(0) +16>Emitted(22, 89) Source(42, 47) + SourceIndex(0) +17>Emitted(22, 94) Source(42, 47) + SourceIndex(0) +18>Emitted(22, 96) Source(40, 9) + SourceIndex(0) +19>Emitted(22, 111) Source(40, 38) + SourceIndex(0) +20>Emitted(22, 113) Source(40, 18) + SourceIndex(0) +21>Emitted(22, 121) Source(40, 26) + SourceIndex(0) +22>Emitted(22, 140) Source(40, 29) + SourceIndex(0) +23>Emitted(22, 149) Source(40, 38) + SourceIndex(0) +24>Emitted(22, 154) Source(40, 38) + SourceIndex(0) +25>Emitted(22, 156) Source(41, 9) + SourceIndex(0) +26>Emitted(22, 173) Source(41, 44) + SourceIndex(0) +27>Emitted(22, 175) Source(41, 20) + SourceIndex(0) +28>Emitted(22, 185) Source(41, 30) + SourceIndex(0) +29>Emitted(22, 204) Source(41, 33) + SourceIndex(0) +30>Emitted(22, 215) Source(41, 44) + SourceIndex(0) +31>Emitted(22, 220) Source(41, 44) + SourceIndex(0) +32>Emitted(22, 222) Source(43, 17) + SourceIndex(0) +33>Emitted(22, 223) Source(43, 18) + SourceIndex(0) +34>Emitted(22, 226) Source(43, 21) + SourceIndex(0) +35>Emitted(22, 227) Source(43, 22) + SourceIndex(0) +36>Emitted(22, 229) Source(43, 24) + SourceIndex(0) +37>Emitted(22, 230) Source(43, 25) + SourceIndex(0) +38>Emitted(22, 233) Source(43, 28) + SourceIndex(0) +39>Emitted(22, 234) Source(43, 29) + SourceIndex(0) +40>Emitted(22, 236) Source(43, 31) + SourceIndex(0) +41>Emitted(22, 237) Source(43, 32) + SourceIndex(0) +42>Emitted(22, 239) Source(43, 34) + SourceIndex(0) +43>Emitted(22, 241) Source(43, 36) + SourceIndex(0) +44>Emitted(22, 242) Source(43, 37) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -808,14 +809,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1 >Emitted(22, 5) Source(44, 5) + SourceIndex(0) -2 >Emitted(22, 12) Source(44, 12) + SourceIndex(0) -3 >Emitted(22, 13) Source(44, 13) + SourceIndex(0) -4 >Emitted(22, 16) Source(44, 16) + SourceIndex(0) -5 >Emitted(22, 17) Source(44, 17) + SourceIndex(0) -6 >Emitted(22, 25) Source(44, 25) + SourceIndex(0) -7 >Emitted(22, 26) Source(44, 26) + SourceIndex(0) -8 >Emitted(22, 27) Source(44, 27) + SourceIndex(0) +1 >Emitted(23, 5) Source(44, 5) + SourceIndex(0) +2 >Emitted(23, 12) Source(44, 12) + SourceIndex(0) +3 >Emitted(23, 13) Source(44, 13) + SourceIndex(0) +4 >Emitted(23, 16) Source(44, 16) + SourceIndex(0) +5 >Emitted(23, 17) Source(44, 17) + SourceIndex(0) +6 >Emitted(23, 25) Source(44, 25) + SourceIndex(0) +7 >Emitted(23, 26) Source(44, 26) + SourceIndex(0) +8 >Emitted(23, 27) Source(44, 27) + SourceIndex(0) --- >>>} 1 > @@ -824,8 +825,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(23, 1) Source(45, 1) + SourceIndex(0) -2 >Emitted(23, 2) Source(45, 2) + SourceIndex(0) +1 >Emitted(24, 1) Source(45, 1) + SourceIndex(0) +2 >Emitted(24, 2) Source(45, 2) + SourceIndex(0) --- >>>for (_h = getMultiRobot().skills, _j = _h === void 0 ? { primary: "none", secondary: "none" } : _h, _k = _j.primary, primaryA = _k === void 0 ? "primary" : _k, _l = _j.secondary, secondaryA = _l === void 0 ? "secondary" : _l, i = 0; i < 1; i++) { 1-> @@ -930,51 +931,51 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 43> ++ 44> ) 45> { -1->Emitted(24, 1) Source(46, 1) + SourceIndex(0) -2 >Emitted(24, 6) Source(47, 5) + SourceIndex(0) -3 >Emitted(24, 11) Source(51, 5) + SourceIndex(0) -4 >Emitted(24, 24) Source(51, 18) + SourceIndex(0) -5 >Emitted(24, 26) Source(51, 20) + SourceIndex(0) -6 >Emitted(24, 33) Source(50, 47) + SourceIndex(0) -7 >Emitted(24, 35) Source(47, 5) + SourceIndex(0) -8 >Emitted(24, 56) Source(50, 9) + SourceIndex(0) -9 >Emitted(24, 58) Source(50, 11) + SourceIndex(0) -10>Emitted(24, 65) Source(50, 18) + SourceIndex(0) -11>Emitted(24, 67) Source(50, 20) + SourceIndex(0) -12>Emitted(24, 73) Source(50, 26) + SourceIndex(0) -13>Emitted(24, 75) Source(50, 28) + SourceIndex(0) -14>Emitted(24, 84) Source(50, 37) + SourceIndex(0) -15>Emitted(24, 86) Source(50, 39) + SourceIndex(0) -16>Emitted(24, 92) Source(50, 45) + SourceIndex(0) -17>Emitted(24, 94) Source(50, 47) + SourceIndex(0) -18>Emitted(24, 99) Source(50, 47) + SourceIndex(0) -19>Emitted(24, 101) Source(48, 9) + SourceIndex(0) -20>Emitted(24, 116) Source(48, 38) + SourceIndex(0) -21>Emitted(24, 118) Source(48, 18) + SourceIndex(0) -22>Emitted(24, 126) Source(48, 26) + SourceIndex(0) -23>Emitted(24, 145) Source(48, 29) + SourceIndex(0) -24>Emitted(24, 154) Source(48, 38) + SourceIndex(0) -25>Emitted(24, 159) Source(48, 38) + SourceIndex(0) -26>Emitted(24, 161) Source(49, 9) + SourceIndex(0) -27>Emitted(24, 178) Source(49, 44) + SourceIndex(0) -28>Emitted(24, 180) Source(49, 20) + SourceIndex(0) -29>Emitted(24, 190) Source(49, 30) + SourceIndex(0) -30>Emitted(24, 209) Source(49, 33) + SourceIndex(0) -31>Emitted(24, 220) Source(49, 44) + SourceIndex(0) -32>Emitted(24, 225) Source(49, 44) + SourceIndex(0) -33>Emitted(24, 227) Source(51, 22) + SourceIndex(0) -34>Emitted(24, 228) Source(51, 23) + SourceIndex(0) -35>Emitted(24, 231) Source(51, 26) + SourceIndex(0) -36>Emitted(24, 232) Source(51, 27) + SourceIndex(0) -37>Emitted(24, 234) Source(51, 29) + SourceIndex(0) -38>Emitted(24, 235) Source(51, 30) + SourceIndex(0) -39>Emitted(24, 238) Source(51, 33) + SourceIndex(0) -40>Emitted(24, 239) Source(51, 34) + SourceIndex(0) -41>Emitted(24, 241) Source(51, 36) + SourceIndex(0) -42>Emitted(24, 242) Source(51, 37) + SourceIndex(0) -43>Emitted(24, 244) Source(51, 39) + SourceIndex(0) -44>Emitted(24, 246) Source(51, 41) + SourceIndex(0) -45>Emitted(24, 247) Source(51, 42) + SourceIndex(0) +1->Emitted(25, 1) Source(46, 1) + SourceIndex(0) +2 >Emitted(25, 6) Source(47, 5) + SourceIndex(0) +3 >Emitted(25, 11) Source(51, 5) + SourceIndex(0) +4 >Emitted(25, 24) Source(51, 18) + SourceIndex(0) +5 >Emitted(25, 26) Source(51, 20) + SourceIndex(0) +6 >Emitted(25, 33) Source(50, 47) + SourceIndex(0) +7 >Emitted(25, 35) Source(47, 5) + SourceIndex(0) +8 >Emitted(25, 56) Source(50, 9) + SourceIndex(0) +9 >Emitted(25, 58) Source(50, 11) + SourceIndex(0) +10>Emitted(25, 65) Source(50, 18) + SourceIndex(0) +11>Emitted(25, 67) Source(50, 20) + SourceIndex(0) +12>Emitted(25, 73) Source(50, 26) + SourceIndex(0) +13>Emitted(25, 75) Source(50, 28) + SourceIndex(0) +14>Emitted(25, 84) Source(50, 37) + SourceIndex(0) +15>Emitted(25, 86) Source(50, 39) + SourceIndex(0) +16>Emitted(25, 92) Source(50, 45) + SourceIndex(0) +17>Emitted(25, 94) Source(50, 47) + SourceIndex(0) +18>Emitted(25, 99) Source(50, 47) + SourceIndex(0) +19>Emitted(25, 101) Source(48, 9) + SourceIndex(0) +20>Emitted(25, 116) Source(48, 38) + SourceIndex(0) +21>Emitted(25, 118) Source(48, 18) + SourceIndex(0) +22>Emitted(25, 126) Source(48, 26) + SourceIndex(0) +23>Emitted(25, 145) Source(48, 29) + SourceIndex(0) +24>Emitted(25, 154) Source(48, 38) + SourceIndex(0) +25>Emitted(25, 159) Source(48, 38) + SourceIndex(0) +26>Emitted(25, 161) Source(49, 9) + SourceIndex(0) +27>Emitted(25, 178) Source(49, 44) + SourceIndex(0) +28>Emitted(25, 180) Source(49, 20) + SourceIndex(0) +29>Emitted(25, 190) Source(49, 30) + SourceIndex(0) +30>Emitted(25, 209) Source(49, 33) + SourceIndex(0) +31>Emitted(25, 220) Source(49, 44) + SourceIndex(0) +32>Emitted(25, 225) Source(49, 44) + SourceIndex(0) +33>Emitted(25, 227) Source(51, 22) + SourceIndex(0) +34>Emitted(25, 228) Source(51, 23) + SourceIndex(0) +35>Emitted(25, 231) Source(51, 26) + SourceIndex(0) +36>Emitted(25, 232) Source(51, 27) + SourceIndex(0) +37>Emitted(25, 234) Source(51, 29) + SourceIndex(0) +38>Emitted(25, 235) Source(51, 30) + SourceIndex(0) +39>Emitted(25, 238) Source(51, 33) + SourceIndex(0) +40>Emitted(25, 239) Source(51, 34) + SourceIndex(0) +41>Emitted(25, 241) Source(51, 36) + SourceIndex(0) +42>Emitted(25, 242) Source(51, 37) + SourceIndex(0) +43>Emitted(25, 244) Source(51, 39) + SourceIndex(0) +44>Emitted(25, 246) Source(51, 41) + SourceIndex(0) +45>Emitted(25, 247) Source(51, 42) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -994,14 +995,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1 >Emitted(25, 5) Source(52, 5) + SourceIndex(0) -2 >Emitted(25, 12) Source(52, 12) + SourceIndex(0) -3 >Emitted(25, 13) Source(52, 13) + SourceIndex(0) -4 >Emitted(25, 16) Source(52, 16) + SourceIndex(0) -5 >Emitted(25, 17) Source(52, 17) + SourceIndex(0) -6 >Emitted(25, 25) Source(52, 25) + SourceIndex(0) -7 >Emitted(25, 26) Source(52, 26) + SourceIndex(0) -8 >Emitted(25, 27) Source(52, 27) + SourceIndex(0) +1 >Emitted(26, 5) Source(52, 5) + SourceIndex(0) +2 >Emitted(26, 12) Source(52, 12) + SourceIndex(0) +3 >Emitted(26, 13) Source(52, 13) + SourceIndex(0) +4 >Emitted(26, 16) Source(52, 16) + SourceIndex(0) +5 >Emitted(26, 17) Source(52, 17) + SourceIndex(0) +6 >Emitted(26, 25) Source(52, 25) + SourceIndex(0) +7 >Emitted(26, 26) Source(52, 26) + SourceIndex(0) +8 >Emitted(26, 27) Source(52, 27) + SourceIndex(0) --- >>>} 1 > @@ -1010,8 +1011,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(26, 1) Source(53, 1) + SourceIndex(0) -2 >Emitted(26, 2) Source(53, 2) + SourceIndex(0) +1 >Emitted(27, 1) Source(53, 1) + SourceIndex(0) +2 >Emitted(27, 2) Source(53, 2) + SourceIndex(0) --- >>>for (_m = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }.skills, _o = _m === void 0 ? { primary: "none", secondary: "none" } : _m, _p = _o.primary, primaryA = _p === void 0 ? "primary" : _p, _q = _o.secondary, secondaryA = _q === void 0 ? "secondary" : _q, 1-> @@ -1118,53 +1119,53 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 45> = 46> "secondary" 47> -1->Emitted(27, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(27, 6) Source(55, 5) + SourceIndex(0) -3 >Emitted(27, 11) Source(59, 17) + SourceIndex(0) -4 >Emitted(27, 13) Source(59, 19) + SourceIndex(0) -5 >Emitted(27, 17) Source(59, 23) + SourceIndex(0) -6 >Emitted(27, 19) Source(59, 25) + SourceIndex(0) -7 >Emitted(27, 28) Source(59, 34) + SourceIndex(0) -8 >Emitted(27, 30) Source(59, 36) + SourceIndex(0) -9 >Emitted(27, 36) Source(59, 42) + SourceIndex(0) -10>Emitted(27, 38) Source(59, 44) + SourceIndex(0) -11>Emitted(27, 40) Source(59, 46) + SourceIndex(0) -12>Emitted(27, 47) Source(59, 53) + SourceIndex(0) -13>Emitted(27, 49) Source(59, 55) + SourceIndex(0) -14>Emitted(27, 59) Source(59, 65) + SourceIndex(0) -15>Emitted(27, 61) Source(59, 67) + SourceIndex(0) -16>Emitted(27, 70) Source(59, 76) + SourceIndex(0) -17>Emitted(27, 72) Source(59, 78) + SourceIndex(0) -18>Emitted(27, 80) Source(59, 86) + SourceIndex(0) -19>Emitted(27, 82) Source(59, 88) + SourceIndex(0) -20>Emitted(27, 84) Source(59, 90) + SourceIndex(0) -21>Emitted(27, 91) Source(58, 47) + SourceIndex(0) -22>Emitted(27, 93) Source(55, 5) + SourceIndex(0) -23>Emitted(27, 114) Source(58, 9) + SourceIndex(0) -24>Emitted(27, 116) Source(58, 11) + SourceIndex(0) -25>Emitted(27, 123) Source(58, 18) + SourceIndex(0) -26>Emitted(27, 125) Source(58, 20) + SourceIndex(0) -27>Emitted(27, 131) Source(58, 26) + SourceIndex(0) -28>Emitted(27, 133) Source(58, 28) + SourceIndex(0) -29>Emitted(27, 142) Source(58, 37) + SourceIndex(0) -30>Emitted(27, 144) Source(58, 39) + SourceIndex(0) -31>Emitted(27, 150) Source(58, 45) + SourceIndex(0) -32>Emitted(27, 152) Source(58, 47) + SourceIndex(0) -33>Emitted(27, 157) Source(58, 47) + SourceIndex(0) -34>Emitted(27, 159) Source(56, 9) + SourceIndex(0) -35>Emitted(27, 174) Source(56, 38) + SourceIndex(0) -36>Emitted(27, 176) Source(56, 18) + SourceIndex(0) -37>Emitted(27, 184) Source(56, 26) + SourceIndex(0) -38>Emitted(27, 203) Source(56, 29) + SourceIndex(0) -39>Emitted(27, 212) Source(56, 38) + SourceIndex(0) -40>Emitted(27, 217) Source(56, 38) + SourceIndex(0) -41>Emitted(27, 219) Source(57, 9) + SourceIndex(0) -42>Emitted(27, 236) Source(57, 44) + SourceIndex(0) -43>Emitted(27, 238) Source(57, 20) + SourceIndex(0) -44>Emitted(27, 248) Source(57, 30) + SourceIndex(0) -45>Emitted(27, 267) Source(57, 33) + SourceIndex(0) -46>Emitted(27, 278) Source(57, 44) + SourceIndex(0) -47>Emitted(27, 283) Source(57, 44) + SourceIndex(0) +1->Emitted(28, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(28, 6) Source(55, 5) + SourceIndex(0) +3 >Emitted(28, 11) Source(59, 17) + SourceIndex(0) +4 >Emitted(28, 13) Source(59, 19) + SourceIndex(0) +5 >Emitted(28, 17) Source(59, 23) + SourceIndex(0) +6 >Emitted(28, 19) Source(59, 25) + SourceIndex(0) +7 >Emitted(28, 28) Source(59, 34) + SourceIndex(0) +8 >Emitted(28, 30) Source(59, 36) + SourceIndex(0) +9 >Emitted(28, 36) Source(59, 42) + SourceIndex(0) +10>Emitted(28, 38) Source(59, 44) + SourceIndex(0) +11>Emitted(28, 40) Source(59, 46) + SourceIndex(0) +12>Emitted(28, 47) Source(59, 53) + SourceIndex(0) +13>Emitted(28, 49) Source(59, 55) + SourceIndex(0) +14>Emitted(28, 59) Source(59, 65) + SourceIndex(0) +15>Emitted(28, 61) Source(59, 67) + SourceIndex(0) +16>Emitted(28, 70) Source(59, 76) + SourceIndex(0) +17>Emitted(28, 72) Source(59, 78) + SourceIndex(0) +18>Emitted(28, 80) Source(59, 86) + SourceIndex(0) +19>Emitted(28, 82) Source(59, 88) + SourceIndex(0) +20>Emitted(28, 84) Source(59, 90) + SourceIndex(0) +21>Emitted(28, 91) Source(58, 47) + SourceIndex(0) +22>Emitted(28, 93) Source(55, 5) + SourceIndex(0) +23>Emitted(28, 114) Source(58, 9) + SourceIndex(0) +24>Emitted(28, 116) Source(58, 11) + SourceIndex(0) +25>Emitted(28, 123) Source(58, 18) + SourceIndex(0) +26>Emitted(28, 125) Source(58, 20) + SourceIndex(0) +27>Emitted(28, 131) Source(58, 26) + SourceIndex(0) +28>Emitted(28, 133) Source(58, 28) + SourceIndex(0) +29>Emitted(28, 142) Source(58, 37) + SourceIndex(0) +30>Emitted(28, 144) Source(58, 39) + SourceIndex(0) +31>Emitted(28, 150) Source(58, 45) + SourceIndex(0) +32>Emitted(28, 152) Source(58, 47) + SourceIndex(0) +33>Emitted(28, 157) Source(58, 47) + SourceIndex(0) +34>Emitted(28, 159) Source(56, 9) + SourceIndex(0) +35>Emitted(28, 174) Source(56, 38) + SourceIndex(0) +36>Emitted(28, 176) Source(56, 18) + SourceIndex(0) +37>Emitted(28, 184) Source(56, 26) + SourceIndex(0) +38>Emitted(28, 203) Source(56, 29) + SourceIndex(0) +39>Emitted(28, 212) Source(56, 38) + SourceIndex(0) +40>Emitted(28, 217) Source(56, 38) + SourceIndex(0) +41>Emitted(28, 219) Source(57, 9) + SourceIndex(0) +42>Emitted(28, 236) Source(57, 44) + SourceIndex(0) +43>Emitted(28, 238) Source(57, 20) + SourceIndex(0) +44>Emitted(28, 248) Source(57, 30) + SourceIndex(0) +45>Emitted(28, 267) Source(57, 33) + SourceIndex(0) +46>Emitted(28, 278) Source(57, 44) + SourceIndex(0) +47>Emitted(28, 283) Source(57, 44) + SourceIndex(0) --- >>> i = 0; i < 1; i++) { 1 >^^^^ @@ -1197,19 +1198,19 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 11> ++ 12> ) 13> { -1 >Emitted(28, 5) Source(60, 5) + SourceIndex(0) -2 >Emitted(28, 6) Source(60, 6) + SourceIndex(0) -3 >Emitted(28, 9) Source(60, 9) + SourceIndex(0) -4 >Emitted(28, 10) Source(60, 10) + SourceIndex(0) -5 >Emitted(28, 12) Source(60, 12) + SourceIndex(0) -6 >Emitted(28, 13) Source(60, 13) + SourceIndex(0) -7 >Emitted(28, 16) Source(60, 16) + SourceIndex(0) -8 >Emitted(28, 17) Source(60, 17) + SourceIndex(0) -9 >Emitted(28, 19) Source(60, 19) + SourceIndex(0) -10>Emitted(28, 20) Source(60, 20) + SourceIndex(0) -11>Emitted(28, 22) Source(60, 22) + SourceIndex(0) -12>Emitted(28, 24) Source(60, 24) + SourceIndex(0) -13>Emitted(28, 25) Source(60, 25) + SourceIndex(0) +1 >Emitted(29, 5) Source(60, 5) + SourceIndex(0) +2 >Emitted(29, 6) Source(60, 6) + SourceIndex(0) +3 >Emitted(29, 9) Source(60, 9) + SourceIndex(0) +4 >Emitted(29, 10) Source(60, 10) + SourceIndex(0) +5 >Emitted(29, 12) Source(60, 12) + SourceIndex(0) +6 >Emitted(29, 13) Source(60, 13) + SourceIndex(0) +7 >Emitted(29, 16) Source(60, 16) + SourceIndex(0) +8 >Emitted(29, 17) Source(60, 17) + SourceIndex(0) +9 >Emitted(29, 19) Source(60, 19) + SourceIndex(0) +10>Emitted(29, 20) Source(60, 20) + SourceIndex(0) +11>Emitted(29, 22) Source(60, 22) + SourceIndex(0) +12>Emitted(29, 24) Source(60, 24) + SourceIndex(0) +13>Emitted(29, 25) Source(60, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1->^^^^ @@ -1229,14 +1230,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1->Emitted(29, 5) Source(61, 5) + SourceIndex(0) -2 >Emitted(29, 12) Source(61, 12) + SourceIndex(0) -3 >Emitted(29, 13) Source(61, 13) + SourceIndex(0) -4 >Emitted(29, 16) Source(61, 16) + SourceIndex(0) -5 >Emitted(29, 17) Source(61, 17) + SourceIndex(0) -6 >Emitted(29, 25) Source(61, 25) + SourceIndex(0) -7 >Emitted(29, 26) Source(61, 26) + SourceIndex(0) -8 >Emitted(29, 27) Source(61, 27) + SourceIndex(0) +1->Emitted(30, 5) Source(61, 5) + SourceIndex(0) +2 >Emitted(30, 12) Source(61, 12) + SourceIndex(0) +3 >Emitted(30, 13) Source(61, 13) + SourceIndex(0) +4 >Emitted(30, 16) Source(61, 16) + SourceIndex(0) +5 >Emitted(30, 17) Source(61, 17) + SourceIndex(0) +6 >Emitted(30, 25) Source(61, 25) + SourceIndex(0) +7 >Emitted(30, 26) Source(61, 26) + SourceIndex(0) +8 >Emitted(30, 27) Source(61, 27) + SourceIndex(0) --- >>>} 1 > @@ -1245,8 +1246,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(30, 1) Source(62, 1) + SourceIndex(0) -2 >Emitted(30, 2) Source(62, 2) + SourceIndex(0) +1 >Emitted(31, 1) Source(62, 1) + SourceIndex(0) +2 >Emitted(31, 2) Source(62, 2) + SourceIndex(0) --- >>>for (_r = robot.name, name = _r === void 0 ? "noName" : _r, i = 0; i < 1; i++) { 1-> @@ -1297,29 +1298,29 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 21> ++ 22> ) 23> { -1->Emitted(31, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(31, 6) Source(64, 8) + SourceIndex(0) -3 >Emitted(31, 11) Source(64, 28) + SourceIndex(0) -4 >Emitted(31, 16) Source(64, 33) + SourceIndex(0) -5 >Emitted(31, 21) Source(64, 23) + SourceIndex(0) -6 >Emitted(31, 23) Source(64, 8) + SourceIndex(0) -7 >Emitted(31, 27) Source(64, 12) + SourceIndex(0) -8 >Emitted(31, 46) Source(64, 15) + SourceIndex(0) -9 >Emitted(31, 54) Source(64, 23) + SourceIndex(0) -10>Emitted(31, 59) Source(64, 23) + SourceIndex(0) -11>Emitted(31, 61) Source(64, 35) + SourceIndex(0) -12>Emitted(31, 62) Source(64, 36) + SourceIndex(0) -13>Emitted(31, 65) Source(64, 39) + SourceIndex(0) -14>Emitted(31, 66) Source(64, 40) + SourceIndex(0) -15>Emitted(31, 68) Source(64, 42) + SourceIndex(0) -16>Emitted(31, 69) Source(64, 43) + SourceIndex(0) -17>Emitted(31, 72) Source(64, 46) + SourceIndex(0) -18>Emitted(31, 73) Source(64, 47) + SourceIndex(0) -19>Emitted(31, 75) Source(64, 49) + SourceIndex(0) -20>Emitted(31, 76) Source(64, 50) + SourceIndex(0) -21>Emitted(31, 78) Source(64, 52) + SourceIndex(0) -22>Emitted(31, 80) Source(64, 54) + SourceIndex(0) -23>Emitted(31, 81) Source(64, 55) + SourceIndex(0) +1->Emitted(32, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(32, 6) Source(64, 8) + SourceIndex(0) +3 >Emitted(32, 11) Source(64, 28) + SourceIndex(0) +4 >Emitted(32, 16) Source(64, 33) + SourceIndex(0) +5 >Emitted(32, 21) Source(64, 23) + SourceIndex(0) +6 >Emitted(32, 23) Source(64, 8) + SourceIndex(0) +7 >Emitted(32, 27) Source(64, 12) + SourceIndex(0) +8 >Emitted(32, 46) Source(64, 15) + SourceIndex(0) +9 >Emitted(32, 54) Source(64, 23) + SourceIndex(0) +10>Emitted(32, 59) Source(64, 23) + SourceIndex(0) +11>Emitted(32, 61) Source(64, 35) + SourceIndex(0) +12>Emitted(32, 62) Source(64, 36) + SourceIndex(0) +13>Emitted(32, 65) Source(64, 39) + SourceIndex(0) +14>Emitted(32, 66) Source(64, 40) + SourceIndex(0) +15>Emitted(32, 68) Source(64, 42) + SourceIndex(0) +16>Emitted(32, 69) Source(64, 43) + SourceIndex(0) +17>Emitted(32, 72) Source(64, 46) + SourceIndex(0) +18>Emitted(32, 73) Source(64, 47) + SourceIndex(0) +19>Emitted(32, 75) Source(64, 49) + SourceIndex(0) +20>Emitted(32, 76) Source(64, 50) + SourceIndex(0) +21>Emitted(32, 78) Source(64, 52) + SourceIndex(0) +22>Emitted(32, 80) Source(64, 54) + SourceIndex(0) +23>Emitted(32, 81) Source(64, 55) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1339,14 +1340,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(32, 5) Source(65, 5) + SourceIndex(0) -2 >Emitted(32, 12) Source(65, 12) + SourceIndex(0) -3 >Emitted(32, 13) Source(65, 13) + SourceIndex(0) -4 >Emitted(32, 16) Source(65, 16) + SourceIndex(0) -5 >Emitted(32, 17) Source(65, 17) + SourceIndex(0) -6 >Emitted(32, 22) Source(65, 22) + SourceIndex(0) -7 >Emitted(32, 23) Source(65, 23) + SourceIndex(0) -8 >Emitted(32, 24) Source(65, 24) + SourceIndex(0) +1 >Emitted(33, 5) Source(65, 5) + SourceIndex(0) +2 >Emitted(33, 12) Source(65, 12) + SourceIndex(0) +3 >Emitted(33, 13) Source(65, 13) + SourceIndex(0) +4 >Emitted(33, 16) Source(65, 16) + SourceIndex(0) +5 >Emitted(33, 17) Source(65, 17) + SourceIndex(0) +6 >Emitted(33, 22) Source(65, 22) + SourceIndex(0) +7 >Emitted(33, 23) Source(65, 23) + SourceIndex(0) +8 >Emitted(33, 24) Source(65, 24) + SourceIndex(0) --- >>>} 1 > @@ -1355,8 +1356,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(33, 1) Source(66, 1) + SourceIndex(0) -2 >Emitted(33, 2) Source(66, 2) + SourceIndex(0) +1 >Emitted(34, 1) Source(66, 1) + SourceIndex(0) +2 >Emitted(34, 2) Source(66, 2) + SourceIndex(0) --- >>>for (_s = getRobot().name, name = _s === void 0 ? "noName" : _s, i = 0; i < 1; i++) { 1-> @@ -1408,30 +1409,30 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 22> ++ 23> ) 24> { -1->Emitted(34, 1) Source(67, 1) + SourceIndex(0) -2 >Emitted(34, 6) Source(67, 8) + SourceIndex(0) -3 >Emitted(34, 11) Source(67, 28) + SourceIndex(0) -4 >Emitted(34, 19) Source(67, 36) + SourceIndex(0) -5 >Emitted(34, 21) Source(67, 38) + SourceIndex(0) -6 >Emitted(34, 26) Source(67, 23) + SourceIndex(0) -7 >Emitted(34, 28) Source(67, 8) + SourceIndex(0) -8 >Emitted(34, 32) Source(67, 12) + SourceIndex(0) -9 >Emitted(34, 51) Source(67, 15) + SourceIndex(0) -10>Emitted(34, 59) Source(67, 23) + SourceIndex(0) -11>Emitted(34, 64) Source(67, 23) + SourceIndex(0) -12>Emitted(34, 66) Source(67, 40) + SourceIndex(0) -13>Emitted(34, 67) Source(67, 41) + SourceIndex(0) -14>Emitted(34, 70) Source(67, 44) + SourceIndex(0) -15>Emitted(34, 71) Source(67, 45) + SourceIndex(0) -16>Emitted(34, 73) Source(67, 47) + SourceIndex(0) -17>Emitted(34, 74) Source(67, 48) + SourceIndex(0) -18>Emitted(34, 77) Source(67, 51) + SourceIndex(0) -19>Emitted(34, 78) Source(67, 52) + SourceIndex(0) -20>Emitted(34, 80) Source(67, 54) + SourceIndex(0) -21>Emitted(34, 81) Source(67, 55) + SourceIndex(0) -22>Emitted(34, 83) Source(67, 57) + SourceIndex(0) -23>Emitted(34, 85) Source(67, 59) + SourceIndex(0) -24>Emitted(34, 86) Source(67, 60) + SourceIndex(0) +1->Emitted(35, 1) Source(67, 1) + SourceIndex(0) +2 >Emitted(35, 6) Source(67, 8) + SourceIndex(0) +3 >Emitted(35, 11) Source(67, 28) + SourceIndex(0) +4 >Emitted(35, 19) Source(67, 36) + SourceIndex(0) +5 >Emitted(35, 21) Source(67, 38) + SourceIndex(0) +6 >Emitted(35, 26) Source(67, 23) + SourceIndex(0) +7 >Emitted(35, 28) Source(67, 8) + SourceIndex(0) +8 >Emitted(35, 32) Source(67, 12) + SourceIndex(0) +9 >Emitted(35, 51) Source(67, 15) + SourceIndex(0) +10>Emitted(35, 59) Source(67, 23) + SourceIndex(0) +11>Emitted(35, 64) Source(67, 23) + SourceIndex(0) +12>Emitted(35, 66) Source(67, 40) + SourceIndex(0) +13>Emitted(35, 67) Source(67, 41) + SourceIndex(0) +14>Emitted(35, 70) Source(67, 44) + SourceIndex(0) +15>Emitted(35, 71) Source(67, 45) + SourceIndex(0) +16>Emitted(35, 73) Source(67, 47) + SourceIndex(0) +17>Emitted(35, 74) Source(67, 48) + SourceIndex(0) +18>Emitted(35, 77) Source(67, 51) + SourceIndex(0) +19>Emitted(35, 78) Source(67, 52) + SourceIndex(0) +20>Emitted(35, 80) Source(67, 54) + SourceIndex(0) +21>Emitted(35, 81) Source(67, 55) + SourceIndex(0) +22>Emitted(35, 83) Source(67, 57) + SourceIndex(0) +23>Emitted(35, 85) Source(67, 59) + SourceIndex(0) +24>Emitted(35, 86) Source(67, 60) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1451,14 +1452,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(35, 5) Source(68, 5) + SourceIndex(0) -2 >Emitted(35, 12) Source(68, 12) + SourceIndex(0) -3 >Emitted(35, 13) Source(68, 13) + SourceIndex(0) -4 >Emitted(35, 16) Source(68, 16) + SourceIndex(0) -5 >Emitted(35, 17) Source(68, 17) + SourceIndex(0) -6 >Emitted(35, 22) Source(68, 22) + SourceIndex(0) -7 >Emitted(35, 23) Source(68, 23) + SourceIndex(0) -8 >Emitted(35, 24) Source(68, 24) + SourceIndex(0) +1 >Emitted(36, 5) Source(68, 5) + SourceIndex(0) +2 >Emitted(36, 12) Source(68, 12) + SourceIndex(0) +3 >Emitted(36, 13) Source(68, 13) + SourceIndex(0) +4 >Emitted(36, 16) Source(68, 16) + SourceIndex(0) +5 >Emitted(36, 17) Source(68, 17) + SourceIndex(0) +6 >Emitted(36, 22) Source(68, 22) + SourceIndex(0) +7 >Emitted(36, 23) Source(68, 23) + SourceIndex(0) +8 >Emitted(36, 24) Source(68, 24) + SourceIndex(0) --- >>>} 1 > @@ -1467,8 +1468,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(36, 1) Source(69, 1) + SourceIndex(0) -2 >Emitted(36, 2) Source(69, 2) + SourceIndex(0) +1 >Emitted(37, 1) Source(69, 1) + SourceIndex(0) +2 >Emitted(37, 2) Source(69, 2) + SourceIndex(0) --- >>>for (_t = { name: "trimmer", skill: "trimming" }.name, name = _t === void 0 ? "noName" : _t, i = 0; i < 1; i++) { 1-> @@ -1534,37 +1535,37 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 29> ++ 30> ) 31> { -1->Emitted(37, 1) Source(70, 1) + SourceIndex(0) -2 >Emitted(37, 6) Source(70, 8) + SourceIndex(0) -3 >Emitted(37, 11) Source(70, 35) + SourceIndex(0) -4 >Emitted(37, 13) Source(70, 37) + SourceIndex(0) -5 >Emitted(37, 17) Source(70, 41) + SourceIndex(0) -6 >Emitted(37, 19) Source(70, 43) + SourceIndex(0) -7 >Emitted(37, 28) Source(70, 52) + SourceIndex(0) -8 >Emitted(37, 30) Source(70, 54) + SourceIndex(0) -9 >Emitted(37, 35) Source(70, 59) + SourceIndex(0) -10>Emitted(37, 37) Source(70, 61) + SourceIndex(0) -11>Emitted(37, 47) Source(70, 71) + SourceIndex(0) -12>Emitted(37, 49) Source(70, 73) + SourceIndex(0) -13>Emitted(37, 54) Source(70, 23) + SourceIndex(0) -14>Emitted(37, 56) Source(70, 8) + SourceIndex(0) -15>Emitted(37, 60) Source(70, 12) + SourceIndex(0) -16>Emitted(37, 79) Source(70, 15) + SourceIndex(0) -17>Emitted(37, 87) Source(70, 23) + SourceIndex(0) -18>Emitted(37, 92) Source(70, 23) + SourceIndex(0) -19>Emitted(37, 94) Source(70, 75) + SourceIndex(0) -20>Emitted(37, 95) Source(70, 76) + SourceIndex(0) -21>Emitted(37, 98) Source(70, 79) + SourceIndex(0) -22>Emitted(37, 99) Source(70, 80) + SourceIndex(0) -23>Emitted(37, 101) Source(70, 82) + SourceIndex(0) -24>Emitted(37, 102) Source(70, 83) + SourceIndex(0) -25>Emitted(37, 105) Source(70, 86) + SourceIndex(0) -26>Emitted(37, 106) Source(70, 87) + SourceIndex(0) -27>Emitted(37, 108) Source(70, 89) + SourceIndex(0) -28>Emitted(37, 109) Source(70, 90) + SourceIndex(0) -29>Emitted(37, 111) Source(70, 92) + SourceIndex(0) -30>Emitted(37, 113) Source(70, 94) + SourceIndex(0) -31>Emitted(37, 114) Source(70, 95) + SourceIndex(0) +1->Emitted(38, 1) Source(70, 1) + SourceIndex(0) +2 >Emitted(38, 6) Source(70, 8) + SourceIndex(0) +3 >Emitted(38, 11) Source(70, 35) + SourceIndex(0) +4 >Emitted(38, 13) Source(70, 37) + SourceIndex(0) +5 >Emitted(38, 17) Source(70, 41) + SourceIndex(0) +6 >Emitted(38, 19) Source(70, 43) + SourceIndex(0) +7 >Emitted(38, 28) Source(70, 52) + SourceIndex(0) +8 >Emitted(38, 30) Source(70, 54) + SourceIndex(0) +9 >Emitted(38, 35) Source(70, 59) + SourceIndex(0) +10>Emitted(38, 37) Source(70, 61) + SourceIndex(0) +11>Emitted(38, 47) Source(70, 71) + SourceIndex(0) +12>Emitted(38, 49) Source(70, 73) + SourceIndex(0) +13>Emitted(38, 54) Source(70, 23) + SourceIndex(0) +14>Emitted(38, 56) Source(70, 8) + SourceIndex(0) +15>Emitted(38, 60) Source(70, 12) + SourceIndex(0) +16>Emitted(38, 79) Source(70, 15) + SourceIndex(0) +17>Emitted(38, 87) Source(70, 23) + SourceIndex(0) +18>Emitted(38, 92) Source(70, 23) + SourceIndex(0) +19>Emitted(38, 94) Source(70, 75) + SourceIndex(0) +20>Emitted(38, 95) Source(70, 76) + SourceIndex(0) +21>Emitted(38, 98) Source(70, 79) + SourceIndex(0) +22>Emitted(38, 99) Source(70, 80) + SourceIndex(0) +23>Emitted(38, 101) Source(70, 82) + SourceIndex(0) +24>Emitted(38, 102) Source(70, 83) + SourceIndex(0) +25>Emitted(38, 105) Source(70, 86) + SourceIndex(0) +26>Emitted(38, 106) Source(70, 87) + SourceIndex(0) +27>Emitted(38, 108) Source(70, 89) + SourceIndex(0) +28>Emitted(38, 109) Source(70, 90) + SourceIndex(0) +29>Emitted(38, 111) Source(70, 92) + SourceIndex(0) +30>Emitted(38, 113) Source(70, 94) + SourceIndex(0) +31>Emitted(38, 114) Source(70, 95) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1584,14 +1585,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(38, 5) Source(71, 5) + SourceIndex(0) -2 >Emitted(38, 12) Source(71, 12) + SourceIndex(0) -3 >Emitted(38, 13) Source(71, 13) + SourceIndex(0) -4 >Emitted(38, 16) Source(71, 16) + SourceIndex(0) -5 >Emitted(38, 17) Source(71, 17) + SourceIndex(0) -6 >Emitted(38, 22) Source(71, 22) + SourceIndex(0) -7 >Emitted(38, 23) Source(71, 23) + SourceIndex(0) -8 >Emitted(38, 24) Source(71, 24) + SourceIndex(0) +1 >Emitted(39, 5) Source(71, 5) + SourceIndex(0) +2 >Emitted(39, 12) Source(71, 12) + SourceIndex(0) +3 >Emitted(39, 13) Source(71, 13) + SourceIndex(0) +4 >Emitted(39, 16) Source(71, 16) + SourceIndex(0) +5 >Emitted(39, 17) Source(71, 17) + SourceIndex(0) +6 >Emitted(39, 22) Source(71, 22) + SourceIndex(0) +7 >Emitted(39, 23) Source(71, 23) + SourceIndex(0) +8 >Emitted(39, 24) Source(71, 24) + SourceIndex(0) --- >>>} 1 > @@ -1600,8 +1601,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(39, 1) Source(72, 1) + SourceIndex(0) -2 >Emitted(39, 2) Source(72, 2) + SourceIndex(0) +1 >Emitted(40, 1) Source(72, 1) + SourceIndex(0) +2 >Emitted(40, 2) Source(72, 2) + SourceIndex(0) --- >>>for (_u = multiRobot.skills, _v = _u === void 0 ? { primary: "none", secondary: "none" } : _u, _w = _v.primary, primary = _w === void 0 ? "primary" : _w, _x = _v.secondary, secondary = _x === void 0 ? "secondary" : _x, i = 0; i < 1; i++) { 1-> @@ -1704,50 +1705,50 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 42> ++ 43> ) 44> { -1->Emitted(40, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(40, 6) Source(74, 5) + SourceIndex(0) -3 >Emitted(40, 11) Source(78, 5) + SourceIndex(0) -4 >Emitted(40, 21) Source(78, 15) + SourceIndex(0) -5 >Emitted(40, 28) Source(77, 47) + SourceIndex(0) -6 >Emitted(40, 30) Source(74, 5) + SourceIndex(0) -7 >Emitted(40, 51) Source(77, 9) + SourceIndex(0) -8 >Emitted(40, 53) Source(77, 11) + SourceIndex(0) -9 >Emitted(40, 60) Source(77, 18) + SourceIndex(0) -10>Emitted(40, 62) Source(77, 20) + SourceIndex(0) -11>Emitted(40, 68) Source(77, 26) + SourceIndex(0) -12>Emitted(40, 70) Source(77, 28) + SourceIndex(0) -13>Emitted(40, 79) Source(77, 37) + SourceIndex(0) -14>Emitted(40, 81) Source(77, 39) + SourceIndex(0) -15>Emitted(40, 87) Source(77, 45) + SourceIndex(0) -16>Emitted(40, 89) Source(77, 47) + SourceIndex(0) -17>Emitted(40, 94) Source(77, 47) + SourceIndex(0) -18>Emitted(40, 96) Source(75, 9) + SourceIndex(0) -19>Emitted(40, 111) Source(75, 28) + SourceIndex(0) -20>Emitted(40, 113) Source(75, 9) + SourceIndex(0) -21>Emitted(40, 120) Source(75, 16) + SourceIndex(0) -22>Emitted(40, 139) Source(75, 19) + SourceIndex(0) -23>Emitted(40, 148) Source(75, 28) + SourceIndex(0) -24>Emitted(40, 153) Source(75, 28) + SourceIndex(0) -25>Emitted(40, 155) Source(76, 9) + SourceIndex(0) -26>Emitted(40, 172) Source(76, 32) + SourceIndex(0) -27>Emitted(40, 174) Source(76, 9) + SourceIndex(0) -28>Emitted(40, 183) Source(76, 18) + SourceIndex(0) -29>Emitted(40, 202) Source(76, 21) + SourceIndex(0) -30>Emitted(40, 213) Source(76, 32) + SourceIndex(0) -31>Emitted(40, 218) Source(76, 32) + SourceIndex(0) -32>Emitted(40, 220) Source(78, 17) + SourceIndex(0) -33>Emitted(40, 221) Source(78, 18) + SourceIndex(0) -34>Emitted(40, 224) Source(78, 21) + SourceIndex(0) -35>Emitted(40, 225) Source(78, 22) + SourceIndex(0) -36>Emitted(40, 227) Source(78, 24) + SourceIndex(0) -37>Emitted(40, 228) Source(78, 25) + SourceIndex(0) -38>Emitted(40, 231) Source(78, 28) + SourceIndex(0) -39>Emitted(40, 232) Source(78, 29) + SourceIndex(0) -40>Emitted(40, 234) Source(78, 31) + SourceIndex(0) -41>Emitted(40, 235) Source(78, 32) + SourceIndex(0) -42>Emitted(40, 237) Source(78, 34) + SourceIndex(0) -43>Emitted(40, 239) Source(78, 36) + SourceIndex(0) -44>Emitted(40, 240) Source(78, 37) + SourceIndex(0) +1->Emitted(41, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(41, 6) Source(74, 5) + SourceIndex(0) +3 >Emitted(41, 11) Source(78, 5) + SourceIndex(0) +4 >Emitted(41, 21) Source(78, 15) + SourceIndex(0) +5 >Emitted(41, 28) Source(77, 47) + SourceIndex(0) +6 >Emitted(41, 30) Source(74, 5) + SourceIndex(0) +7 >Emitted(41, 51) Source(77, 9) + SourceIndex(0) +8 >Emitted(41, 53) Source(77, 11) + SourceIndex(0) +9 >Emitted(41, 60) Source(77, 18) + SourceIndex(0) +10>Emitted(41, 62) Source(77, 20) + SourceIndex(0) +11>Emitted(41, 68) Source(77, 26) + SourceIndex(0) +12>Emitted(41, 70) Source(77, 28) + SourceIndex(0) +13>Emitted(41, 79) Source(77, 37) + SourceIndex(0) +14>Emitted(41, 81) Source(77, 39) + SourceIndex(0) +15>Emitted(41, 87) Source(77, 45) + SourceIndex(0) +16>Emitted(41, 89) Source(77, 47) + SourceIndex(0) +17>Emitted(41, 94) Source(77, 47) + SourceIndex(0) +18>Emitted(41, 96) Source(75, 9) + SourceIndex(0) +19>Emitted(41, 111) Source(75, 28) + SourceIndex(0) +20>Emitted(41, 113) Source(75, 9) + SourceIndex(0) +21>Emitted(41, 120) Source(75, 16) + SourceIndex(0) +22>Emitted(41, 139) Source(75, 19) + SourceIndex(0) +23>Emitted(41, 148) Source(75, 28) + SourceIndex(0) +24>Emitted(41, 153) Source(75, 28) + SourceIndex(0) +25>Emitted(41, 155) Source(76, 9) + SourceIndex(0) +26>Emitted(41, 172) Source(76, 32) + SourceIndex(0) +27>Emitted(41, 174) Source(76, 9) + SourceIndex(0) +28>Emitted(41, 183) Source(76, 18) + SourceIndex(0) +29>Emitted(41, 202) Source(76, 21) + SourceIndex(0) +30>Emitted(41, 213) Source(76, 32) + SourceIndex(0) +31>Emitted(41, 218) Source(76, 32) + SourceIndex(0) +32>Emitted(41, 220) Source(78, 17) + SourceIndex(0) +33>Emitted(41, 221) Source(78, 18) + SourceIndex(0) +34>Emitted(41, 224) Source(78, 21) + SourceIndex(0) +35>Emitted(41, 225) Source(78, 22) + SourceIndex(0) +36>Emitted(41, 227) Source(78, 24) + SourceIndex(0) +37>Emitted(41, 228) Source(78, 25) + SourceIndex(0) +38>Emitted(41, 231) Source(78, 28) + SourceIndex(0) +39>Emitted(41, 232) Source(78, 29) + SourceIndex(0) +40>Emitted(41, 234) Source(78, 31) + SourceIndex(0) +41>Emitted(41, 235) Source(78, 32) + SourceIndex(0) +42>Emitted(41, 237) Source(78, 34) + SourceIndex(0) +43>Emitted(41, 239) Source(78, 36) + SourceIndex(0) +44>Emitted(41, 240) Source(78, 37) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1767,14 +1768,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1 >Emitted(41, 5) Source(79, 5) + SourceIndex(0) -2 >Emitted(41, 12) Source(79, 12) + SourceIndex(0) -3 >Emitted(41, 13) Source(79, 13) + SourceIndex(0) -4 >Emitted(41, 16) Source(79, 16) + SourceIndex(0) -5 >Emitted(41, 17) Source(79, 17) + SourceIndex(0) -6 >Emitted(41, 25) Source(79, 25) + SourceIndex(0) -7 >Emitted(41, 26) Source(79, 26) + SourceIndex(0) -8 >Emitted(41, 27) Source(79, 27) + SourceIndex(0) +1 >Emitted(42, 5) Source(79, 5) + SourceIndex(0) +2 >Emitted(42, 12) Source(79, 12) + SourceIndex(0) +3 >Emitted(42, 13) Source(79, 13) + SourceIndex(0) +4 >Emitted(42, 16) Source(79, 16) + SourceIndex(0) +5 >Emitted(42, 17) Source(79, 17) + SourceIndex(0) +6 >Emitted(42, 25) Source(79, 25) + SourceIndex(0) +7 >Emitted(42, 26) Source(79, 26) + SourceIndex(0) +8 >Emitted(42, 27) Source(79, 27) + SourceIndex(0) --- >>>} 1 > @@ -1783,8 +1784,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(42, 1) Source(80, 1) + SourceIndex(0) -2 >Emitted(42, 2) Source(80, 2) + SourceIndex(0) +1 >Emitted(43, 1) Source(80, 1) + SourceIndex(0) +2 >Emitted(43, 2) Source(80, 2) + SourceIndex(0) --- >>>for (_y = getMultiRobot().skills, _z = _y === void 0 ? { primary: "none", secondary: "none" } : _y, _0 = _z.primary, primary = _0 === void 0 ? "primary" : _0, _1 = _z.secondary, secondary = _1 === void 0 ? "secondary" : _1, i = 0; i < 1; i++) { 1-> @@ -1889,51 +1890,51 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 43> ++ 44> ) 45> { -1->Emitted(43, 1) Source(81, 1) + SourceIndex(0) -2 >Emitted(43, 6) Source(82, 5) + SourceIndex(0) -3 >Emitted(43, 11) Source(86, 5) + SourceIndex(0) -4 >Emitted(43, 24) Source(86, 18) + SourceIndex(0) -5 >Emitted(43, 26) Source(86, 20) + SourceIndex(0) -6 >Emitted(43, 33) Source(85, 47) + SourceIndex(0) -7 >Emitted(43, 35) Source(82, 5) + SourceIndex(0) -8 >Emitted(43, 56) Source(85, 9) + SourceIndex(0) -9 >Emitted(43, 58) Source(85, 11) + SourceIndex(0) -10>Emitted(43, 65) Source(85, 18) + SourceIndex(0) -11>Emitted(43, 67) Source(85, 20) + SourceIndex(0) -12>Emitted(43, 73) Source(85, 26) + SourceIndex(0) -13>Emitted(43, 75) Source(85, 28) + SourceIndex(0) -14>Emitted(43, 84) Source(85, 37) + SourceIndex(0) -15>Emitted(43, 86) Source(85, 39) + SourceIndex(0) -16>Emitted(43, 92) Source(85, 45) + SourceIndex(0) -17>Emitted(43, 94) Source(85, 47) + SourceIndex(0) -18>Emitted(43, 99) Source(85, 47) + SourceIndex(0) -19>Emitted(43, 101) Source(83, 9) + SourceIndex(0) -20>Emitted(43, 116) Source(83, 28) + SourceIndex(0) -21>Emitted(43, 118) Source(83, 9) + SourceIndex(0) -22>Emitted(43, 125) Source(83, 16) + SourceIndex(0) -23>Emitted(43, 144) Source(83, 19) + SourceIndex(0) -24>Emitted(43, 153) Source(83, 28) + SourceIndex(0) -25>Emitted(43, 158) Source(83, 28) + SourceIndex(0) -26>Emitted(43, 160) Source(84, 9) + SourceIndex(0) -27>Emitted(43, 177) Source(84, 32) + SourceIndex(0) -28>Emitted(43, 179) Source(84, 9) + SourceIndex(0) -29>Emitted(43, 188) Source(84, 18) + SourceIndex(0) -30>Emitted(43, 207) Source(84, 21) + SourceIndex(0) -31>Emitted(43, 218) Source(84, 32) + SourceIndex(0) -32>Emitted(43, 223) Source(84, 32) + SourceIndex(0) -33>Emitted(43, 225) Source(86, 22) + SourceIndex(0) -34>Emitted(43, 226) Source(86, 23) + SourceIndex(0) -35>Emitted(43, 229) Source(86, 26) + SourceIndex(0) -36>Emitted(43, 230) Source(86, 27) + SourceIndex(0) -37>Emitted(43, 232) Source(86, 29) + SourceIndex(0) -38>Emitted(43, 233) Source(86, 30) + SourceIndex(0) -39>Emitted(43, 236) Source(86, 33) + SourceIndex(0) -40>Emitted(43, 237) Source(86, 34) + SourceIndex(0) -41>Emitted(43, 239) Source(86, 36) + SourceIndex(0) -42>Emitted(43, 240) Source(86, 37) + SourceIndex(0) -43>Emitted(43, 242) Source(86, 39) + SourceIndex(0) -44>Emitted(43, 244) Source(86, 41) + SourceIndex(0) -45>Emitted(43, 245) Source(86, 42) + SourceIndex(0) +1->Emitted(44, 1) Source(81, 1) + SourceIndex(0) +2 >Emitted(44, 6) Source(82, 5) + SourceIndex(0) +3 >Emitted(44, 11) Source(86, 5) + SourceIndex(0) +4 >Emitted(44, 24) Source(86, 18) + SourceIndex(0) +5 >Emitted(44, 26) Source(86, 20) + SourceIndex(0) +6 >Emitted(44, 33) Source(85, 47) + SourceIndex(0) +7 >Emitted(44, 35) Source(82, 5) + SourceIndex(0) +8 >Emitted(44, 56) Source(85, 9) + SourceIndex(0) +9 >Emitted(44, 58) Source(85, 11) + SourceIndex(0) +10>Emitted(44, 65) Source(85, 18) + SourceIndex(0) +11>Emitted(44, 67) Source(85, 20) + SourceIndex(0) +12>Emitted(44, 73) Source(85, 26) + SourceIndex(0) +13>Emitted(44, 75) Source(85, 28) + SourceIndex(0) +14>Emitted(44, 84) Source(85, 37) + SourceIndex(0) +15>Emitted(44, 86) Source(85, 39) + SourceIndex(0) +16>Emitted(44, 92) Source(85, 45) + SourceIndex(0) +17>Emitted(44, 94) Source(85, 47) + SourceIndex(0) +18>Emitted(44, 99) Source(85, 47) + SourceIndex(0) +19>Emitted(44, 101) Source(83, 9) + SourceIndex(0) +20>Emitted(44, 116) Source(83, 28) + SourceIndex(0) +21>Emitted(44, 118) Source(83, 9) + SourceIndex(0) +22>Emitted(44, 125) Source(83, 16) + SourceIndex(0) +23>Emitted(44, 144) Source(83, 19) + SourceIndex(0) +24>Emitted(44, 153) Source(83, 28) + SourceIndex(0) +25>Emitted(44, 158) Source(83, 28) + SourceIndex(0) +26>Emitted(44, 160) Source(84, 9) + SourceIndex(0) +27>Emitted(44, 177) Source(84, 32) + SourceIndex(0) +28>Emitted(44, 179) Source(84, 9) + SourceIndex(0) +29>Emitted(44, 188) Source(84, 18) + SourceIndex(0) +30>Emitted(44, 207) Source(84, 21) + SourceIndex(0) +31>Emitted(44, 218) Source(84, 32) + SourceIndex(0) +32>Emitted(44, 223) Source(84, 32) + SourceIndex(0) +33>Emitted(44, 225) Source(86, 22) + SourceIndex(0) +34>Emitted(44, 226) Source(86, 23) + SourceIndex(0) +35>Emitted(44, 229) Source(86, 26) + SourceIndex(0) +36>Emitted(44, 230) Source(86, 27) + SourceIndex(0) +37>Emitted(44, 232) Source(86, 29) + SourceIndex(0) +38>Emitted(44, 233) Source(86, 30) + SourceIndex(0) +39>Emitted(44, 236) Source(86, 33) + SourceIndex(0) +40>Emitted(44, 237) Source(86, 34) + SourceIndex(0) +41>Emitted(44, 239) Source(86, 36) + SourceIndex(0) +42>Emitted(44, 240) Source(86, 37) + SourceIndex(0) +43>Emitted(44, 242) Source(86, 39) + SourceIndex(0) +44>Emitted(44, 244) Source(86, 41) + SourceIndex(0) +45>Emitted(44, 245) Source(86, 42) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1953,14 +1954,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1 >Emitted(44, 5) Source(87, 5) + SourceIndex(0) -2 >Emitted(44, 12) Source(87, 12) + SourceIndex(0) -3 >Emitted(44, 13) Source(87, 13) + SourceIndex(0) -4 >Emitted(44, 16) Source(87, 16) + SourceIndex(0) -5 >Emitted(44, 17) Source(87, 17) + SourceIndex(0) -6 >Emitted(44, 25) Source(87, 25) + SourceIndex(0) -7 >Emitted(44, 26) Source(87, 26) + SourceIndex(0) -8 >Emitted(44, 27) Source(87, 27) + SourceIndex(0) +1 >Emitted(45, 5) Source(87, 5) + SourceIndex(0) +2 >Emitted(45, 12) Source(87, 12) + SourceIndex(0) +3 >Emitted(45, 13) Source(87, 13) + SourceIndex(0) +4 >Emitted(45, 16) Source(87, 16) + SourceIndex(0) +5 >Emitted(45, 17) Source(87, 17) + SourceIndex(0) +6 >Emitted(45, 25) Source(87, 25) + SourceIndex(0) +7 >Emitted(45, 26) Source(87, 26) + SourceIndex(0) +8 >Emitted(45, 27) Source(87, 27) + SourceIndex(0) --- >>>} 1 > @@ -1969,8 +1970,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(45, 1) Source(88, 1) + SourceIndex(0) -2 >Emitted(45, 2) Source(88, 2) + SourceIndex(0) +1 >Emitted(46, 1) Source(88, 1) + SourceIndex(0) +2 >Emitted(46, 2) Source(88, 2) + SourceIndex(0) --- >>>for (_2 = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }.skills, _3 = _2 === void 0 ? { primary: "none", secondary: "none" } : _2, _4 = _3.primary, primary = _4 === void 0 ? "primary" : _4, _5 = _3.secondary, secondary = _5 === void 0 ? "secondary" : _5, 1-> @@ -2077,53 +2078,53 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 45> = 46> "secondary" 47> -1->Emitted(46, 1) Source(89, 1) + SourceIndex(0) -2 >Emitted(46, 6) Source(90, 5) + SourceIndex(0) -3 >Emitted(46, 11) Source(94, 17) + SourceIndex(0) -4 >Emitted(46, 13) Source(94, 19) + SourceIndex(0) -5 >Emitted(46, 17) Source(94, 23) + SourceIndex(0) -6 >Emitted(46, 19) Source(94, 25) + SourceIndex(0) -7 >Emitted(46, 28) Source(94, 34) + SourceIndex(0) -8 >Emitted(46, 30) Source(94, 36) + SourceIndex(0) -9 >Emitted(46, 36) Source(94, 42) + SourceIndex(0) -10>Emitted(46, 38) Source(94, 44) + SourceIndex(0) -11>Emitted(46, 40) Source(94, 46) + SourceIndex(0) -12>Emitted(46, 47) Source(94, 53) + SourceIndex(0) -13>Emitted(46, 49) Source(94, 55) + SourceIndex(0) -14>Emitted(46, 59) Source(94, 65) + SourceIndex(0) -15>Emitted(46, 61) Source(94, 67) + SourceIndex(0) -16>Emitted(46, 70) Source(94, 76) + SourceIndex(0) -17>Emitted(46, 72) Source(94, 78) + SourceIndex(0) -18>Emitted(46, 80) Source(94, 86) + SourceIndex(0) -19>Emitted(46, 82) Source(94, 88) + SourceIndex(0) -20>Emitted(46, 84) Source(94, 90) + SourceIndex(0) -21>Emitted(46, 91) Source(93, 47) + SourceIndex(0) -22>Emitted(46, 93) Source(90, 5) + SourceIndex(0) -23>Emitted(46, 114) Source(93, 9) + SourceIndex(0) -24>Emitted(46, 116) Source(93, 11) + SourceIndex(0) -25>Emitted(46, 123) Source(93, 18) + SourceIndex(0) -26>Emitted(46, 125) Source(93, 20) + SourceIndex(0) -27>Emitted(46, 131) Source(93, 26) + SourceIndex(0) -28>Emitted(46, 133) Source(93, 28) + SourceIndex(0) -29>Emitted(46, 142) Source(93, 37) + SourceIndex(0) -30>Emitted(46, 144) Source(93, 39) + SourceIndex(0) -31>Emitted(46, 150) Source(93, 45) + SourceIndex(0) -32>Emitted(46, 152) Source(93, 47) + SourceIndex(0) -33>Emitted(46, 157) Source(93, 47) + SourceIndex(0) -34>Emitted(46, 159) Source(91, 9) + SourceIndex(0) -35>Emitted(46, 174) Source(91, 28) + SourceIndex(0) -36>Emitted(46, 176) Source(91, 9) + SourceIndex(0) -37>Emitted(46, 183) Source(91, 16) + SourceIndex(0) -38>Emitted(46, 202) Source(91, 19) + SourceIndex(0) -39>Emitted(46, 211) Source(91, 28) + SourceIndex(0) -40>Emitted(46, 216) Source(91, 28) + SourceIndex(0) -41>Emitted(46, 218) Source(92, 9) + SourceIndex(0) -42>Emitted(46, 235) Source(92, 32) + SourceIndex(0) -43>Emitted(46, 237) Source(92, 9) + SourceIndex(0) -44>Emitted(46, 246) Source(92, 18) + SourceIndex(0) -45>Emitted(46, 265) Source(92, 21) + SourceIndex(0) -46>Emitted(46, 276) Source(92, 32) + SourceIndex(0) -47>Emitted(46, 281) Source(92, 32) + SourceIndex(0) +1->Emitted(47, 1) Source(89, 1) + SourceIndex(0) +2 >Emitted(47, 6) Source(90, 5) + SourceIndex(0) +3 >Emitted(47, 11) Source(94, 17) + SourceIndex(0) +4 >Emitted(47, 13) Source(94, 19) + SourceIndex(0) +5 >Emitted(47, 17) Source(94, 23) + SourceIndex(0) +6 >Emitted(47, 19) Source(94, 25) + SourceIndex(0) +7 >Emitted(47, 28) Source(94, 34) + SourceIndex(0) +8 >Emitted(47, 30) Source(94, 36) + SourceIndex(0) +9 >Emitted(47, 36) Source(94, 42) + SourceIndex(0) +10>Emitted(47, 38) Source(94, 44) + SourceIndex(0) +11>Emitted(47, 40) Source(94, 46) + SourceIndex(0) +12>Emitted(47, 47) Source(94, 53) + SourceIndex(0) +13>Emitted(47, 49) Source(94, 55) + SourceIndex(0) +14>Emitted(47, 59) Source(94, 65) + SourceIndex(0) +15>Emitted(47, 61) Source(94, 67) + SourceIndex(0) +16>Emitted(47, 70) Source(94, 76) + SourceIndex(0) +17>Emitted(47, 72) Source(94, 78) + SourceIndex(0) +18>Emitted(47, 80) Source(94, 86) + SourceIndex(0) +19>Emitted(47, 82) Source(94, 88) + SourceIndex(0) +20>Emitted(47, 84) Source(94, 90) + SourceIndex(0) +21>Emitted(47, 91) Source(93, 47) + SourceIndex(0) +22>Emitted(47, 93) Source(90, 5) + SourceIndex(0) +23>Emitted(47, 114) Source(93, 9) + SourceIndex(0) +24>Emitted(47, 116) Source(93, 11) + SourceIndex(0) +25>Emitted(47, 123) Source(93, 18) + SourceIndex(0) +26>Emitted(47, 125) Source(93, 20) + SourceIndex(0) +27>Emitted(47, 131) Source(93, 26) + SourceIndex(0) +28>Emitted(47, 133) Source(93, 28) + SourceIndex(0) +29>Emitted(47, 142) Source(93, 37) + SourceIndex(0) +30>Emitted(47, 144) Source(93, 39) + SourceIndex(0) +31>Emitted(47, 150) Source(93, 45) + SourceIndex(0) +32>Emitted(47, 152) Source(93, 47) + SourceIndex(0) +33>Emitted(47, 157) Source(93, 47) + SourceIndex(0) +34>Emitted(47, 159) Source(91, 9) + SourceIndex(0) +35>Emitted(47, 174) Source(91, 28) + SourceIndex(0) +36>Emitted(47, 176) Source(91, 9) + SourceIndex(0) +37>Emitted(47, 183) Source(91, 16) + SourceIndex(0) +38>Emitted(47, 202) Source(91, 19) + SourceIndex(0) +39>Emitted(47, 211) Source(91, 28) + SourceIndex(0) +40>Emitted(47, 216) Source(91, 28) + SourceIndex(0) +41>Emitted(47, 218) Source(92, 9) + SourceIndex(0) +42>Emitted(47, 235) Source(92, 32) + SourceIndex(0) +43>Emitted(47, 237) Source(92, 9) + SourceIndex(0) +44>Emitted(47, 246) Source(92, 18) + SourceIndex(0) +45>Emitted(47, 265) Source(92, 21) + SourceIndex(0) +46>Emitted(47, 276) Source(92, 32) + SourceIndex(0) +47>Emitted(47, 281) Source(92, 32) + SourceIndex(0) --- >>> i = 0; i < 1; i++) { 1 >^^^^ @@ -2156,19 +2157,19 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 11> ++ 12> ) 13> { -1 >Emitted(47, 5) Source(95, 5) + SourceIndex(0) -2 >Emitted(47, 6) Source(95, 6) + SourceIndex(0) -3 >Emitted(47, 9) Source(95, 9) + SourceIndex(0) -4 >Emitted(47, 10) Source(95, 10) + SourceIndex(0) -5 >Emitted(47, 12) Source(95, 12) + SourceIndex(0) -6 >Emitted(47, 13) Source(95, 13) + SourceIndex(0) -7 >Emitted(47, 16) Source(95, 16) + SourceIndex(0) -8 >Emitted(47, 17) Source(95, 17) + SourceIndex(0) -9 >Emitted(47, 19) Source(95, 19) + SourceIndex(0) -10>Emitted(47, 20) Source(95, 20) + SourceIndex(0) -11>Emitted(47, 22) Source(95, 22) + SourceIndex(0) -12>Emitted(47, 24) Source(95, 24) + SourceIndex(0) -13>Emitted(47, 25) Source(95, 25) + SourceIndex(0) +1 >Emitted(48, 5) Source(95, 5) + SourceIndex(0) +2 >Emitted(48, 6) Source(95, 6) + SourceIndex(0) +3 >Emitted(48, 9) Source(95, 9) + SourceIndex(0) +4 >Emitted(48, 10) Source(95, 10) + SourceIndex(0) +5 >Emitted(48, 12) Source(95, 12) + SourceIndex(0) +6 >Emitted(48, 13) Source(95, 13) + SourceIndex(0) +7 >Emitted(48, 16) Source(95, 16) + SourceIndex(0) +8 >Emitted(48, 17) Source(95, 17) + SourceIndex(0) +9 >Emitted(48, 19) Source(95, 19) + SourceIndex(0) +10>Emitted(48, 20) Source(95, 20) + SourceIndex(0) +11>Emitted(48, 22) Source(95, 22) + SourceIndex(0) +12>Emitted(48, 24) Source(95, 24) + SourceIndex(0) +13>Emitted(48, 25) Source(95, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1->^^^^ @@ -2188,14 +2189,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1->Emitted(48, 5) Source(96, 5) + SourceIndex(0) -2 >Emitted(48, 12) Source(96, 12) + SourceIndex(0) -3 >Emitted(48, 13) Source(96, 13) + SourceIndex(0) -4 >Emitted(48, 16) Source(96, 16) + SourceIndex(0) -5 >Emitted(48, 17) Source(96, 17) + SourceIndex(0) -6 >Emitted(48, 25) Source(96, 25) + SourceIndex(0) -7 >Emitted(48, 26) Source(96, 26) + SourceIndex(0) -8 >Emitted(48, 27) Source(96, 27) + SourceIndex(0) +1->Emitted(49, 5) Source(96, 5) + SourceIndex(0) +2 >Emitted(49, 12) Source(96, 12) + SourceIndex(0) +3 >Emitted(49, 13) Source(96, 13) + SourceIndex(0) +4 >Emitted(49, 16) Source(96, 16) + SourceIndex(0) +5 >Emitted(49, 17) Source(96, 17) + SourceIndex(0) +6 >Emitted(49, 25) Source(96, 25) + SourceIndex(0) +7 >Emitted(49, 26) Source(96, 26) + SourceIndex(0) +8 >Emitted(49, 27) Source(96, 27) + SourceIndex(0) --- >>>} 1 > @@ -2204,8 +2205,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(49, 1) Source(97, 1) + SourceIndex(0) -2 >Emitted(49, 2) Source(97, 2) + SourceIndex(0) +1 >Emitted(50, 1) Source(97, 1) + SourceIndex(0) +2 >Emitted(50, 2) Source(97, 2) + SourceIndex(0) --- >>>for (_6 = robot.name, nameA = _6 === void 0 ? "noName" : _6, _7 = robot.skill, skillA = _7 === void 0 ? "skill" : _7, i = 0; i < 1; i++) { 1-> @@ -2275,38 +2276,38 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 30> ++ 31> ) 32> { -1->Emitted(50, 1) Source(100, 1) + SourceIndex(0) -2 >Emitted(50, 6) Source(100, 7) + SourceIndex(0) -3 >Emitted(50, 11) Source(100, 59) + SourceIndex(0) -4 >Emitted(50, 16) Source(100, 64) + SourceIndex(0) -5 >Emitted(50, 21) Source(100, 29) + SourceIndex(0) -6 >Emitted(50, 23) Source(100, 13) + SourceIndex(0) -7 >Emitted(50, 28) Source(100, 18) + SourceIndex(0) -8 >Emitted(50, 47) Source(100, 21) + SourceIndex(0) -9 >Emitted(50, 55) Source(100, 29) + SourceIndex(0) -10>Emitted(50, 60) Source(100, 29) + SourceIndex(0) -11>Emitted(50, 62) Source(100, 31) + SourceIndex(0) -12>Emitted(50, 67) Source(100, 59) + SourceIndex(0) -13>Emitted(50, 72) Source(100, 64) + SourceIndex(0) -14>Emitted(50, 78) Source(100, 54) + SourceIndex(0) -15>Emitted(50, 80) Source(100, 38) + SourceIndex(0) -16>Emitted(50, 86) Source(100, 44) + SourceIndex(0) -17>Emitted(50, 105) Source(100, 47) + SourceIndex(0) -18>Emitted(50, 112) Source(100, 54) + SourceIndex(0) -19>Emitted(50, 117) Source(100, 54) + SourceIndex(0) -20>Emitted(50, 119) Source(100, 66) + SourceIndex(0) -21>Emitted(50, 120) Source(100, 67) + SourceIndex(0) -22>Emitted(50, 123) Source(100, 70) + SourceIndex(0) -23>Emitted(50, 124) Source(100, 71) + SourceIndex(0) -24>Emitted(50, 126) Source(100, 73) + SourceIndex(0) -25>Emitted(50, 127) Source(100, 74) + SourceIndex(0) -26>Emitted(50, 130) Source(100, 77) + SourceIndex(0) -27>Emitted(50, 131) Source(100, 78) + SourceIndex(0) -28>Emitted(50, 133) Source(100, 80) + SourceIndex(0) -29>Emitted(50, 134) Source(100, 81) + SourceIndex(0) -30>Emitted(50, 136) Source(100, 83) + SourceIndex(0) -31>Emitted(50, 138) Source(100, 85) + SourceIndex(0) -32>Emitted(50, 139) Source(100, 86) + SourceIndex(0) +1->Emitted(51, 1) Source(100, 1) + SourceIndex(0) +2 >Emitted(51, 6) Source(100, 7) + SourceIndex(0) +3 >Emitted(51, 11) Source(100, 59) + SourceIndex(0) +4 >Emitted(51, 16) Source(100, 64) + SourceIndex(0) +5 >Emitted(51, 21) Source(100, 29) + SourceIndex(0) +6 >Emitted(51, 23) Source(100, 13) + SourceIndex(0) +7 >Emitted(51, 28) Source(100, 18) + SourceIndex(0) +8 >Emitted(51, 47) Source(100, 21) + SourceIndex(0) +9 >Emitted(51, 55) Source(100, 29) + SourceIndex(0) +10>Emitted(51, 60) Source(100, 29) + SourceIndex(0) +11>Emitted(51, 62) Source(100, 31) + SourceIndex(0) +12>Emitted(51, 67) Source(100, 59) + SourceIndex(0) +13>Emitted(51, 72) Source(100, 64) + SourceIndex(0) +14>Emitted(51, 78) Source(100, 54) + SourceIndex(0) +15>Emitted(51, 80) Source(100, 38) + SourceIndex(0) +16>Emitted(51, 86) Source(100, 44) + SourceIndex(0) +17>Emitted(51, 105) Source(100, 47) + SourceIndex(0) +18>Emitted(51, 112) Source(100, 54) + SourceIndex(0) +19>Emitted(51, 117) Source(100, 54) + SourceIndex(0) +20>Emitted(51, 119) Source(100, 66) + SourceIndex(0) +21>Emitted(51, 120) Source(100, 67) + SourceIndex(0) +22>Emitted(51, 123) Source(100, 70) + SourceIndex(0) +23>Emitted(51, 124) Source(100, 71) + SourceIndex(0) +24>Emitted(51, 126) Source(100, 73) + SourceIndex(0) +25>Emitted(51, 127) Source(100, 74) + SourceIndex(0) +26>Emitted(51, 130) Source(100, 77) + SourceIndex(0) +27>Emitted(51, 131) Source(100, 78) + SourceIndex(0) +28>Emitted(51, 133) Source(100, 80) + SourceIndex(0) +29>Emitted(51, 134) Source(100, 81) + SourceIndex(0) +30>Emitted(51, 136) Source(100, 83) + SourceIndex(0) +31>Emitted(51, 138) Source(100, 85) + SourceIndex(0) +32>Emitted(51, 139) Source(100, 86) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2326,14 +2327,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(51, 5) Source(101, 5) + SourceIndex(0) -2 >Emitted(51, 12) Source(101, 12) + SourceIndex(0) -3 >Emitted(51, 13) Source(101, 13) + SourceIndex(0) -4 >Emitted(51, 16) Source(101, 16) + SourceIndex(0) -5 >Emitted(51, 17) Source(101, 17) + SourceIndex(0) -6 >Emitted(51, 22) Source(101, 22) + SourceIndex(0) -7 >Emitted(51, 23) Source(101, 23) + SourceIndex(0) -8 >Emitted(51, 24) Source(101, 24) + SourceIndex(0) +1 >Emitted(52, 5) Source(101, 5) + SourceIndex(0) +2 >Emitted(52, 12) Source(101, 12) + SourceIndex(0) +3 >Emitted(52, 13) Source(101, 13) + SourceIndex(0) +4 >Emitted(52, 16) Source(101, 16) + SourceIndex(0) +5 >Emitted(52, 17) Source(101, 17) + SourceIndex(0) +6 >Emitted(52, 22) Source(101, 22) + SourceIndex(0) +7 >Emitted(52, 23) Source(101, 23) + SourceIndex(0) +8 >Emitted(52, 24) Source(101, 24) + SourceIndex(0) --- >>>} 1 > @@ -2342,8 +2343,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(52, 1) Source(102, 1) + SourceIndex(0) -2 >Emitted(52, 2) Source(102, 2) + SourceIndex(0) +1 >Emitted(53, 1) Source(102, 1) + SourceIndex(0) +2 >Emitted(53, 2) Source(102, 2) + SourceIndex(0) --- >>>for (_8 = getRobot(), _9 = _8.name, nameA = _9 === void 0 ? "noName" : _9, _10 = _8.skill, skillA = _10 === void 0 ? "skill" : _10, i = 0; i < 1; i++) { 1-> @@ -2411,38 +2412,38 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 30> ++ 31> ) 32> { -1->Emitted(53, 1) Source(103, 1) + SourceIndex(0) -2 >Emitted(53, 6) Source(103, 6) + SourceIndex(0) -3 >Emitted(53, 11) Source(103, 59) + SourceIndex(0) -4 >Emitted(53, 19) Source(103, 67) + SourceIndex(0) -5 >Emitted(53, 21) Source(103, 69) + SourceIndex(0) -6 >Emitted(53, 23) Source(103, 7) + SourceIndex(0) -7 >Emitted(53, 35) Source(103, 29) + SourceIndex(0) -8 >Emitted(53, 37) Source(103, 13) + SourceIndex(0) -9 >Emitted(53, 42) Source(103, 18) + SourceIndex(0) -10>Emitted(53, 61) Source(103, 21) + SourceIndex(0) -11>Emitted(53, 69) Source(103, 29) + SourceIndex(0) -12>Emitted(53, 74) Source(103, 29) + SourceIndex(0) -13>Emitted(53, 76) Source(103, 31) + SourceIndex(0) -14>Emitted(53, 90) Source(103, 54) + SourceIndex(0) -15>Emitted(53, 92) Source(103, 38) + SourceIndex(0) -16>Emitted(53, 98) Source(103, 44) + SourceIndex(0) -17>Emitted(53, 118) Source(103, 47) + SourceIndex(0) -18>Emitted(53, 125) Source(103, 54) + SourceIndex(0) -19>Emitted(53, 131) Source(103, 54) + SourceIndex(0) -20>Emitted(53, 133) Source(103, 71) + SourceIndex(0) -21>Emitted(53, 134) Source(103, 72) + SourceIndex(0) -22>Emitted(53, 137) Source(103, 75) + SourceIndex(0) -23>Emitted(53, 138) Source(103, 76) + SourceIndex(0) -24>Emitted(53, 140) Source(103, 78) + SourceIndex(0) -25>Emitted(53, 141) Source(103, 79) + SourceIndex(0) -26>Emitted(53, 144) Source(103, 82) + SourceIndex(0) -27>Emitted(53, 145) Source(103, 83) + SourceIndex(0) -28>Emitted(53, 147) Source(103, 85) + SourceIndex(0) -29>Emitted(53, 148) Source(103, 86) + SourceIndex(0) -30>Emitted(53, 150) Source(103, 88) + SourceIndex(0) -31>Emitted(53, 152) Source(103, 90) + SourceIndex(0) -32>Emitted(53, 153) Source(103, 91) + SourceIndex(0) +1->Emitted(54, 1) Source(103, 1) + SourceIndex(0) +2 >Emitted(54, 6) Source(103, 6) + SourceIndex(0) +3 >Emitted(54, 11) Source(103, 59) + SourceIndex(0) +4 >Emitted(54, 19) Source(103, 67) + SourceIndex(0) +5 >Emitted(54, 21) Source(103, 69) + SourceIndex(0) +6 >Emitted(54, 23) Source(103, 7) + SourceIndex(0) +7 >Emitted(54, 35) Source(103, 29) + SourceIndex(0) +8 >Emitted(54, 37) Source(103, 13) + SourceIndex(0) +9 >Emitted(54, 42) Source(103, 18) + SourceIndex(0) +10>Emitted(54, 61) Source(103, 21) + SourceIndex(0) +11>Emitted(54, 69) Source(103, 29) + SourceIndex(0) +12>Emitted(54, 74) Source(103, 29) + SourceIndex(0) +13>Emitted(54, 76) Source(103, 31) + SourceIndex(0) +14>Emitted(54, 90) Source(103, 54) + SourceIndex(0) +15>Emitted(54, 92) Source(103, 38) + SourceIndex(0) +16>Emitted(54, 98) Source(103, 44) + SourceIndex(0) +17>Emitted(54, 118) Source(103, 47) + SourceIndex(0) +18>Emitted(54, 125) Source(103, 54) + SourceIndex(0) +19>Emitted(54, 131) Source(103, 54) + SourceIndex(0) +20>Emitted(54, 133) Source(103, 71) + SourceIndex(0) +21>Emitted(54, 134) Source(103, 72) + SourceIndex(0) +22>Emitted(54, 137) Source(103, 75) + SourceIndex(0) +23>Emitted(54, 138) Source(103, 76) + SourceIndex(0) +24>Emitted(54, 140) Source(103, 78) + SourceIndex(0) +25>Emitted(54, 141) Source(103, 79) + SourceIndex(0) +26>Emitted(54, 144) Source(103, 82) + SourceIndex(0) +27>Emitted(54, 145) Source(103, 83) + SourceIndex(0) +28>Emitted(54, 147) Source(103, 85) + SourceIndex(0) +29>Emitted(54, 148) Source(103, 86) + SourceIndex(0) +30>Emitted(54, 150) Source(103, 88) + SourceIndex(0) +31>Emitted(54, 152) Source(103, 90) + SourceIndex(0) +32>Emitted(54, 153) Source(103, 91) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2462,14 +2463,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(54, 5) Source(104, 5) + SourceIndex(0) -2 >Emitted(54, 12) Source(104, 12) + SourceIndex(0) -3 >Emitted(54, 13) Source(104, 13) + SourceIndex(0) -4 >Emitted(54, 16) Source(104, 16) + SourceIndex(0) -5 >Emitted(54, 17) Source(104, 17) + SourceIndex(0) -6 >Emitted(54, 22) Source(104, 22) + SourceIndex(0) -7 >Emitted(54, 23) Source(104, 23) + SourceIndex(0) -8 >Emitted(54, 24) Source(104, 24) + SourceIndex(0) +1 >Emitted(55, 5) Source(104, 5) + SourceIndex(0) +2 >Emitted(55, 12) Source(104, 12) + SourceIndex(0) +3 >Emitted(55, 13) Source(104, 13) + SourceIndex(0) +4 >Emitted(55, 16) Source(104, 16) + SourceIndex(0) +5 >Emitted(55, 17) Source(104, 17) + SourceIndex(0) +6 >Emitted(55, 22) Source(104, 22) + SourceIndex(0) +7 >Emitted(55, 23) Source(104, 23) + SourceIndex(0) +8 >Emitted(55, 24) Source(104, 24) + SourceIndex(0) --- >>>} 1 > @@ -2478,8 +2479,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(55, 1) Source(105, 1) + SourceIndex(0) -2 >Emitted(55, 2) Source(105, 2) + SourceIndex(0) +1 >Emitted(56, 1) Source(105, 1) + SourceIndex(0) +2 >Emitted(56, 2) Source(105, 2) + SourceIndex(0) --- >>>for (_11 = { name: "trimmer", skill: "trimming" }, _12 = _11.name, nameA = _12 === void 0 ? "noName" : _12, _13 = _11.skill, skillA = _13 === void 0 ? "skill" : _13, i = 0; i < 1; i++) { 1-> @@ -2561,45 +2562,45 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 37> ++ 38> ) 39> { -1->Emitted(56, 1) Source(106, 1) + SourceIndex(0) -2 >Emitted(56, 6) Source(106, 6) + SourceIndex(0) -3 >Emitted(56, 12) Source(106, 66) + SourceIndex(0) -4 >Emitted(56, 14) Source(106, 68) + SourceIndex(0) -5 >Emitted(56, 18) Source(106, 72) + SourceIndex(0) -6 >Emitted(56, 20) Source(106, 74) + SourceIndex(0) -7 >Emitted(56, 29) Source(106, 83) + SourceIndex(0) -8 >Emitted(56, 31) Source(106, 85) + SourceIndex(0) -9 >Emitted(56, 36) Source(106, 90) + SourceIndex(0) -10>Emitted(56, 38) Source(106, 92) + SourceIndex(0) -11>Emitted(56, 48) Source(106, 102) + SourceIndex(0) -12>Emitted(56, 50) Source(106, 104) + SourceIndex(0) -13>Emitted(56, 52) Source(106, 7) + SourceIndex(0) -14>Emitted(56, 66) Source(106, 29) + SourceIndex(0) -15>Emitted(56, 68) Source(106, 13) + SourceIndex(0) -16>Emitted(56, 73) Source(106, 18) + SourceIndex(0) -17>Emitted(56, 93) Source(106, 21) + SourceIndex(0) -18>Emitted(56, 101) Source(106, 29) + SourceIndex(0) -19>Emitted(56, 107) Source(106, 29) + SourceIndex(0) -20>Emitted(56, 109) Source(106, 31) + SourceIndex(0) -21>Emitted(56, 124) Source(106, 54) + SourceIndex(0) -22>Emitted(56, 126) Source(106, 38) + SourceIndex(0) -23>Emitted(56, 132) Source(106, 44) + SourceIndex(0) -24>Emitted(56, 152) Source(106, 47) + SourceIndex(0) -25>Emitted(56, 159) Source(106, 54) + SourceIndex(0) -26>Emitted(56, 165) Source(106, 54) + SourceIndex(0) -27>Emitted(56, 167) Source(106, 106) + SourceIndex(0) -28>Emitted(56, 168) Source(106, 107) + SourceIndex(0) -29>Emitted(56, 171) Source(106, 110) + SourceIndex(0) -30>Emitted(56, 172) Source(106, 111) + SourceIndex(0) -31>Emitted(56, 174) Source(106, 113) + SourceIndex(0) -32>Emitted(56, 175) Source(106, 114) + SourceIndex(0) -33>Emitted(56, 178) Source(106, 117) + SourceIndex(0) -34>Emitted(56, 179) Source(106, 118) + SourceIndex(0) -35>Emitted(56, 181) Source(106, 120) + SourceIndex(0) -36>Emitted(56, 182) Source(106, 121) + SourceIndex(0) -37>Emitted(56, 184) Source(106, 123) + SourceIndex(0) -38>Emitted(56, 186) Source(106, 125) + SourceIndex(0) -39>Emitted(56, 187) Source(106, 126) + SourceIndex(0) +1->Emitted(57, 1) Source(106, 1) + SourceIndex(0) +2 >Emitted(57, 6) Source(106, 6) + SourceIndex(0) +3 >Emitted(57, 12) Source(106, 66) + SourceIndex(0) +4 >Emitted(57, 14) Source(106, 68) + SourceIndex(0) +5 >Emitted(57, 18) Source(106, 72) + SourceIndex(0) +6 >Emitted(57, 20) Source(106, 74) + SourceIndex(0) +7 >Emitted(57, 29) Source(106, 83) + SourceIndex(0) +8 >Emitted(57, 31) Source(106, 85) + SourceIndex(0) +9 >Emitted(57, 36) Source(106, 90) + SourceIndex(0) +10>Emitted(57, 38) Source(106, 92) + SourceIndex(0) +11>Emitted(57, 48) Source(106, 102) + SourceIndex(0) +12>Emitted(57, 50) Source(106, 104) + SourceIndex(0) +13>Emitted(57, 52) Source(106, 7) + SourceIndex(0) +14>Emitted(57, 66) Source(106, 29) + SourceIndex(0) +15>Emitted(57, 68) Source(106, 13) + SourceIndex(0) +16>Emitted(57, 73) Source(106, 18) + SourceIndex(0) +17>Emitted(57, 93) Source(106, 21) + SourceIndex(0) +18>Emitted(57, 101) Source(106, 29) + SourceIndex(0) +19>Emitted(57, 107) Source(106, 29) + SourceIndex(0) +20>Emitted(57, 109) Source(106, 31) + SourceIndex(0) +21>Emitted(57, 124) Source(106, 54) + SourceIndex(0) +22>Emitted(57, 126) Source(106, 38) + SourceIndex(0) +23>Emitted(57, 132) Source(106, 44) + SourceIndex(0) +24>Emitted(57, 152) Source(106, 47) + SourceIndex(0) +25>Emitted(57, 159) Source(106, 54) + SourceIndex(0) +26>Emitted(57, 165) Source(106, 54) + SourceIndex(0) +27>Emitted(57, 167) Source(106, 106) + SourceIndex(0) +28>Emitted(57, 168) Source(106, 107) + SourceIndex(0) +29>Emitted(57, 171) Source(106, 110) + SourceIndex(0) +30>Emitted(57, 172) Source(106, 111) + SourceIndex(0) +31>Emitted(57, 174) Source(106, 113) + SourceIndex(0) +32>Emitted(57, 175) Source(106, 114) + SourceIndex(0) +33>Emitted(57, 178) Source(106, 117) + SourceIndex(0) +34>Emitted(57, 179) Source(106, 118) + SourceIndex(0) +35>Emitted(57, 181) Source(106, 120) + SourceIndex(0) +36>Emitted(57, 182) Source(106, 121) + SourceIndex(0) +37>Emitted(57, 184) Source(106, 123) + SourceIndex(0) +38>Emitted(57, 186) Source(106, 125) + SourceIndex(0) +39>Emitted(57, 187) Source(106, 126) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2619,14 +2620,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(57, 5) Source(107, 5) + SourceIndex(0) -2 >Emitted(57, 12) Source(107, 12) + SourceIndex(0) -3 >Emitted(57, 13) Source(107, 13) + SourceIndex(0) -4 >Emitted(57, 16) Source(107, 16) + SourceIndex(0) -5 >Emitted(57, 17) Source(107, 17) + SourceIndex(0) -6 >Emitted(57, 22) Source(107, 22) + SourceIndex(0) -7 >Emitted(57, 23) Source(107, 23) + SourceIndex(0) -8 >Emitted(57, 24) Source(107, 24) + SourceIndex(0) +1 >Emitted(58, 5) Source(107, 5) + SourceIndex(0) +2 >Emitted(58, 12) Source(107, 12) + SourceIndex(0) +3 >Emitted(58, 13) Source(107, 13) + SourceIndex(0) +4 >Emitted(58, 16) Source(107, 16) + SourceIndex(0) +5 >Emitted(58, 17) Source(107, 17) + SourceIndex(0) +6 >Emitted(58, 22) Source(107, 22) + SourceIndex(0) +7 >Emitted(58, 23) Source(107, 23) + SourceIndex(0) +8 >Emitted(58, 24) Source(107, 24) + SourceIndex(0) --- >>>} 1 > @@ -2635,8 +2636,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(58, 1) Source(108, 1) + SourceIndex(0) -2 >Emitted(58, 2) Source(108, 2) + SourceIndex(0) +1 >Emitted(59, 1) Source(108, 1) + SourceIndex(0) +2 >Emitted(59, 2) Source(108, 2) + SourceIndex(0) --- >>>for (_14 = multiRobot.name, nameA = _14 === void 0 ? "noName" : _14, _15 = multiRobot.skills, _16 = _15 === void 0 ? { primary: "none", secondary: "none" } : _15, _17 = _16.primary, primaryA = _17 === void 0 ? "primary" : _17, _18 = _16.secondary, secondaryA = _18 === void 0 ? "secondary" : _18, i = 0; i < 1; i++) { 1-> @@ -2763,59 +2764,59 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 51> ++ 52> ) 53> { -1->Emitted(59, 1) Source(109, 1) + SourceIndex(0) -2 >Emitted(59, 6) Source(110, 5) + SourceIndex(0) -3 >Emitted(59, 12) Source(115, 5) + SourceIndex(0) -4 >Emitted(59, 22) Source(115, 15) + SourceIndex(0) -5 >Emitted(59, 27) Source(110, 27) + SourceIndex(0) -6 >Emitted(59, 29) Source(110, 11) + SourceIndex(0) -7 >Emitted(59, 34) Source(110, 16) + SourceIndex(0) -8 >Emitted(59, 54) Source(110, 19) + SourceIndex(0) -9 >Emitted(59, 62) Source(110, 27) + SourceIndex(0) -10>Emitted(59, 68) Source(110, 27) + SourceIndex(0) -11>Emitted(59, 70) Source(111, 5) + SourceIndex(0) -12>Emitted(59, 76) Source(115, 5) + SourceIndex(0) -13>Emitted(59, 86) Source(115, 15) + SourceIndex(0) -14>Emitted(59, 93) Source(114, 47) + SourceIndex(0) -15>Emitted(59, 95) Source(111, 5) + SourceIndex(0) -16>Emitted(59, 118) Source(114, 9) + SourceIndex(0) -17>Emitted(59, 120) Source(114, 11) + SourceIndex(0) -18>Emitted(59, 127) Source(114, 18) + SourceIndex(0) -19>Emitted(59, 129) Source(114, 20) + SourceIndex(0) -20>Emitted(59, 135) Source(114, 26) + SourceIndex(0) -21>Emitted(59, 137) Source(114, 28) + SourceIndex(0) -22>Emitted(59, 146) Source(114, 37) + SourceIndex(0) -23>Emitted(59, 148) Source(114, 39) + SourceIndex(0) -24>Emitted(59, 154) Source(114, 45) + SourceIndex(0) -25>Emitted(59, 156) Source(114, 47) + SourceIndex(0) -26>Emitted(59, 162) Source(114, 47) + SourceIndex(0) -27>Emitted(59, 164) Source(112, 9) + SourceIndex(0) -28>Emitted(59, 181) Source(112, 38) + SourceIndex(0) -29>Emitted(59, 183) Source(112, 18) + SourceIndex(0) -30>Emitted(59, 191) Source(112, 26) + SourceIndex(0) -31>Emitted(59, 211) Source(112, 29) + SourceIndex(0) -32>Emitted(59, 220) Source(112, 38) + SourceIndex(0) -33>Emitted(59, 226) Source(112, 38) + SourceIndex(0) -34>Emitted(59, 228) Source(113, 9) + SourceIndex(0) -35>Emitted(59, 247) Source(113, 44) + SourceIndex(0) -36>Emitted(59, 249) Source(113, 20) + SourceIndex(0) -37>Emitted(59, 259) Source(113, 30) + SourceIndex(0) -38>Emitted(59, 279) Source(113, 33) + SourceIndex(0) -39>Emitted(59, 290) Source(113, 44) + SourceIndex(0) -40>Emitted(59, 296) Source(113, 44) + SourceIndex(0) -41>Emitted(59, 298) Source(115, 17) + SourceIndex(0) -42>Emitted(59, 299) Source(115, 18) + SourceIndex(0) -43>Emitted(59, 302) Source(115, 21) + SourceIndex(0) -44>Emitted(59, 303) Source(115, 22) + SourceIndex(0) -45>Emitted(59, 305) Source(115, 24) + SourceIndex(0) -46>Emitted(59, 306) Source(115, 25) + SourceIndex(0) -47>Emitted(59, 309) Source(115, 28) + SourceIndex(0) -48>Emitted(59, 310) Source(115, 29) + SourceIndex(0) -49>Emitted(59, 312) Source(115, 31) + SourceIndex(0) -50>Emitted(59, 313) Source(115, 32) + SourceIndex(0) -51>Emitted(59, 315) Source(115, 34) + SourceIndex(0) -52>Emitted(59, 317) Source(115, 36) + SourceIndex(0) -53>Emitted(59, 318) Source(115, 37) + SourceIndex(0) +1->Emitted(60, 1) Source(109, 1) + SourceIndex(0) +2 >Emitted(60, 6) Source(110, 5) + SourceIndex(0) +3 >Emitted(60, 12) Source(115, 5) + SourceIndex(0) +4 >Emitted(60, 22) Source(115, 15) + SourceIndex(0) +5 >Emitted(60, 27) Source(110, 27) + SourceIndex(0) +6 >Emitted(60, 29) Source(110, 11) + SourceIndex(0) +7 >Emitted(60, 34) Source(110, 16) + SourceIndex(0) +8 >Emitted(60, 54) Source(110, 19) + SourceIndex(0) +9 >Emitted(60, 62) Source(110, 27) + SourceIndex(0) +10>Emitted(60, 68) Source(110, 27) + SourceIndex(0) +11>Emitted(60, 70) Source(111, 5) + SourceIndex(0) +12>Emitted(60, 76) Source(115, 5) + SourceIndex(0) +13>Emitted(60, 86) Source(115, 15) + SourceIndex(0) +14>Emitted(60, 93) Source(114, 47) + SourceIndex(0) +15>Emitted(60, 95) Source(111, 5) + SourceIndex(0) +16>Emitted(60, 118) Source(114, 9) + SourceIndex(0) +17>Emitted(60, 120) Source(114, 11) + SourceIndex(0) +18>Emitted(60, 127) Source(114, 18) + SourceIndex(0) +19>Emitted(60, 129) Source(114, 20) + SourceIndex(0) +20>Emitted(60, 135) Source(114, 26) + SourceIndex(0) +21>Emitted(60, 137) Source(114, 28) + SourceIndex(0) +22>Emitted(60, 146) Source(114, 37) + SourceIndex(0) +23>Emitted(60, 148) Source(114, 39) + SourceIndex(0) +24>Emitted(60, 154) Source(114, 45) + SourceIndex(0) +25>Emitted(60, 156) Source(114, 47) + SourceIndex(0) +26>Emitted(60, 162) Source(114, 47) + SourceIndex(0) +27>Emitted(60, 164) Source(112, 9) + SourceIndex(0) +28>Emitted(60, 181) Source(112, 38) + SourceIndex(0) +29>Emitted(60, 183) Source(112, 18) + SourceIndex(0) +30>Emitted(60, 191) Source(112, 26) + SourceIndex(0) +31>Emitted(60, 211) Source(112, 29) + SourceIndex(0) +32>Emitted(60, 220) Source(112, 38) + SourceIndex(0) +33>Emitted(60, 226) Source(112, 38) + SourceIndex(0) +34>Emitted(60, 228) Source(113, 9) + SourceIndex(0) +35>Emitted(60, 247) Source(113, 44) + SourceIndex(0) +36>Emitted(60, 249) Source(113, 20) + SourceIndex(0) +37>Emitted(60, 259) Source(113, 30) + SourceIndex(0) +38>Emitted(60, 279) Source(113, 33) + SourceIndex(0) +39>Emitted(60, 290) Source(113, 44) + SourceIndex(0) +40>Emitted(60, 296) Source(113, 44) + SourceIndex(0) +41>Emitted(60, 298) Source(115, 17) + SourceIndex(0) +42>Emitted(60, 299) Source(115, 18) + SourceIndex(0) +43>Emitted(60, 302) Source(115, 21) + SourceIndex(0) +44>Emitted(60, 303) Source(115, 22) + SourceIndex(0) +45>Emitted(60, 305) Source(115, 24) + SourceIndex(0) +46>Emitted(60, 306) Source(115, 25) + SourceIndex(0) +47>Emitted(60, 309) Source(115, 28) + SourceIndex(0) +48>Emitted(60, 310) Source(115, 29) + SourceIndex(0) +49>Emitted(60, 312) Source(115, 31) + SourceIndex(0) +50>Emitted(60, 313) Source(115, 32) + SourceIndex(0) +51>Emitted(60, 315) Source(115, 34) + SourceIndex(0) +52>Emitted(60, 317) Source(115, 36) + SourceIndex(0) +53>Emitted(60, 318) Source(115, 37) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -2835,14 +2836,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1 >Emitted(60, 5) Source(116, 5) + SourceIndex(0) -2 >Emitted(60, 12) Source(116, 12) + SourceIndex(0) -3 >Emitted(60, 13) Source(116, 13) + SourceIndex(0) -4 >Emitted(60, 16) Source(116, 16) + SourceIndex(0) -5 >Emitted(60, 17) Source(116, 17) + SourceIndex(0) -6 >Emitted(60, 25) Source(116, 25) + SourceIndex(0) -7 >Emitted(60, 26) Source(116, 26) + SourceIndex(0) -8 >Emitted(60, 27) Source(116, 27) + SourceIndex(0) +1 >Emitted(61, 5) Source(116, 5) + SourceIndex(0) +2 >Emitted(61, 12) Source(116, 12) + SourceIndex(0) +3 >Emitted(61, 13) Source(116, 13) + SourceIndex(0) +4 >Emitted(61, 16) Source(116, 16) + SourceIndex(0) +5 >Emitted(61, 17) Source(116, 17) + SourceIndex(0) +6 >Emitted(61, 25) Source(116, 25) + SourceIndex(0) +7 >Emitted(61, 26) Source(116, 26) + SourceIndex(0) +8 >Emitted(61, 27) Source(116, 27) + SourceIndex(0) --- >>>} 1 > @@ -2851,8 +2852,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(61, 1) Source(117, 1) + SourceIndex(0) -2 >Emitted(61, 2) Source(117, 2) + SourceIndex(0) +1 >Emitted(62, 1) Source(117, 1) + SourceIndex(0) +2 >Emitted(62, 2) Source(117, 2) + SourceIndex(0) --- >>>for (_19 = getMultiRobot(), _20 = _19.name, nameA = _20 === void 0 ? "noName" : _20, _21 = _19.skills, _22 = _21 === void 0 ? { primary: "none", secondary: "none" } : _21, _23 = _22.primary, primaryA = _23 === void 0 ? "primary" : _23, _24 = _22.secondary, secondaryA = _24 === void 0 ? "secondary" : _24, i = 0; i < 1; i++) { 1-> @@ -2978,59 +2979,59 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 51> ++ 52> ) 53> { -1->Emitted(62, 1) Source(118, 1) + SourceIndex(0) -2 >Emitted(62, 6) Source(118, 6) + SourceIndex(0) -3 >Emitted(62, 12) Source(124, 5) + SourceIndex(0) -4 >Emitted(62, 25) Source(124, 18) + SourceIndex(0) -5 >Emitted(62, 27) Source(124, 20) + SourceIndex(0) -6 >Emitted(62, 29) Source(119, 5) + SourceIndex(0) -7 >Emitted(62, 43) Source(119, 27) + SourceIndex(0) -8 >Emitted(62, 45) Source(119, 11) + SourceIndex(0) -9 >Emitted(62, 50) Source(119, 16) + SourceIndex(0) -10>Emitted(62, 70) Source(119, 19) + SourceIndex(0) -11>Emitted(62, 78) Source(119, 27) + SourceIndex(0) -12>Emitted(62, 84) Source(119, 27) + SourceIndex(0) -13>Emitted(62, 86) Source(120, 5) + SourceIndex(0) -14>Emitted(62, 102) Source(123, 47) + SourceIndex(0) -15>Emitted(62, 104) Source(120, 5) + SourceIndex(0) -16>Emitted(62, 127) Source(123, 9) + SourceIndex(0) -17>Emitted(62, 129) Source(123, 11) + SourceIndex(0) -18>Emitted(62, 136) Source(123, 18) + SourceIndex(0) -19>Emitted(62, 138) Source(123, 20) + SourceIndex(0) -20>Emitted(62, 144) Source(123, 26) + SourceIndex(0) -21>Emitted(62, 146) Source(123, 28) + SourceIndex(0) -22>Emitted(62, 155) Source(123, 37) + SourceIndex(0) -23>Emitted(62, 157) Source(123, 39) + SourceIndex(0) -24>Emitted(62, 163) Source(123, 45) + SourceIndex(0) -25>Emitted(62, 165) Source(123, 47) + SourceIndex(0) -26>Emitted(62, 171) Source(123, 47) + SourceIndex(0) -27>Emitted(62, 173) Source(121, 9) + SourceIndex(0) -28>Emitted(62, 190) Source(121, 38) + SourceIndex(0) -29>Emitted(62, 192) Source(121, 18) + SourceIndex(0) -30>Emitted(62, 200) Source(121, 26) + SourceIndex(0) -31>Emitted(62, 220) Source(121, 29) + SourceIndex(0) -32>Emitted(62, 229) Source(121, 38) + SourceIndex(0) -33>Emitted(62, 235) Source(121, 38) + SourceIndex(0) -34>Emitted(62, 237) Source(122, 9) + SourceIndex(0) -35>Emitted(62, 256) Source(122, 44) + SourceIndex(0) -36>Emitted(62, 258) Source(122, 20) + SourceIndex(0) -37>Emitted(62, 268) Source(122, 30) + SourceIndex(0) -38>Emitted(62, 288) Source(122, 33) + SourceIndex(0) -39>Emitted(62, 299) Source(122, 44) + SourceIndex(0) -40>Emitted(62, 305) Source(122, 44) + SourceIndex(0) -41>Emitted(62, 307) Source(124, 22) + SourceIndex(0) -42>Emitted(62, 308) Source(124, 23) + SourceIndex(0) -43>Emitted(62, 311) Source(124, 26) + SourceIndex(0) -44>Emitted(62, 312) Source(124, 27) + SourceIndex(0) -45>Emitted(62, 314) Source(124, 29) + SourceIndex(0) -46>Emitted(62, 315) Source(124, 30) + SourceIndex(0) -47>Emitted(62, 318) Source(124, 33) + SourceIndex(0) -48>Emitted(62, 319) Source(124, 34) + SourceIndex(0) -49>Emitted(62, 321) Source(124, 36) + SourceIndex(0) -50>Emitted(62, 322) Source(124, 37) + SourceIndex(0) -51>Emitted(62, 324) Source(124, 39) + SourceIndex(0) -52>Emitted(62, 326) Source(124, 41) + SourceIndex(0) -53>Emitted(62, 327) Source(124, 42) + SourceIndex(0) +1->Emitted(63, 1) Source(118, 1) + SourceIndex(0) +2 >Emitted(63, 6) Source(118, 6) + SourceIndex(0) +3 >Emitted(63, 12) Source(124, 5) + SourceIndex(0) +4 >Emitted(63, 25) Source(124, 18) + SourceIndex(0) +5 >Emitted(63, 27) Source(124, 20) + SourceIndex(0) +6 >Emitted(63, 29) Source(119, 5) + SourceIndex(0) +7 >Emitted(63, 43) Source(119, 27) + SourceIndex(0) +8 >Emitted(63, 45) Source(119, 11) + SourceIndex(0) +9 >Emitted(63, 50) Source(119, 16) + SourceIndex(0) +10>Emitted(63, 70) Source(119, 19) + SourceIndex(0) +11>Emitted(63, 78) Source(119, 27) + SourceIndex(0) +12>Emitted(63, 84) Source(119, 27) + SourceIndex(0) +13>Emitted(63, 86) Source(120, 5) + SourceIndex(0) +14>Emitted(63, 102) Source(123, 47) + SourceIndex(0) +15>Emitted(63, 104) Source(120, 5) + SourceIndex(0) +16>Emitted(63, 127) Source(123, 9) + SourceIndex(0) +17>Emitted(63, 129) Source(123, 11) + SourceIndex(0) +18>Emitted(63, 136) Source(123, 18) + SourceIndex(0) +19>Emitted(63, 138) Source(123, 20) + SourceIndex(0) +20>Emitted(63, 144) Source(123, 26) + SourceIndex(0) +21>Emitted(63, 146) Source(123, 28) + SourceIndex(0) +22>Emitted(63, 155) Source(123, 37) + SourceIndex(0) +23>Emitted(63, 157) Source(123, 39) + SourceIndex(0) +24>Emitted(63, 163) Source(123, 45) + SourceIndex(0) +25>Emitted(63, 165) Source(123, 47) + SourceIndex(0) +26>Emitted(63, 171) Source(123, 47) + SourceIndex(0) +27>Emitted(63, 173) Source(121, 9) + SourceIndex(0) +28>Emitted(63, 190) Source(121, 38) + SourceIndex(0) +29>Emitted(63, 192) Source(121, 18) + SourceIndex(0) +30>Emitted(63, 200) Source(121, 26) + SourceIndex(0) +31>Emitted(63, 220) Source(121, 29) + SourceIndex(0) +32>Emitted(63, 229) Source(121, 38) + SourceIndex(0) +33>Emitted(63, 235) Source(121, 38) + SourceIndex(0) +34>Emitted(63, 237) Source(122, 9) + SourceIndex(0) +35>Emitted(63, 256) Source(122, 44) + SourceIndex(0) +36>Emitted(63, 258) Source(122, 20) + SourceIndex(0) +37>Emitted(63, 268) Source(122, 30) + SourceIndex(0) +38>Emitted(63, 288) Source(122, 33) + SourceIndex(0) +39>Emitted(63, 299) Source(122, 44) + SourceIndex(0) +40>Emitted(63, 305) Source(122, 44) + SourceIndex(0) +41>Emitted(63, 307) Source(124, 22) + SourceIndex(0) +42>Emitted(63, 308) Source(124, 23) + SourceIndex(0) +43>Emitted(63, 311) Source(124, 26) + SourceIndex(0) +44>Emitted(63, 312) Source(124, 27) + SourceIndex(0) +45>Emitted(63, 314) Source(124, 29) + SourceIndex(0) +46>Emitted(63, 315) Source(124, 30) + SourceIndex(0) +47>Emitted(63, 318) Source(124, 33) + SourceIndex(0) +48>Emitted(63, 319) Source(124, 34) + SourceIndex(0) +49>Emitted(63, 321) Source(124, 36) + SourceIndex(0) +50>Emitted(63, 322) Source(124, 37) + SourceIndex(0) +51>Emitted(63, 324) Source(124, 39) + SourceIndex(0) +52>Emitted(63, 326) Source(124, 41) + SourceIndex(0) +53>Emitted(63, 327) Source(124, 42) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -3050,14 +3051,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1 >Emitted(63, 5) Source(125, 5) + SourceIndex(0) -2 >Emitted(63, 12) Source(125, 12) + SourceIndex(0) -3 >Emitted(63, 13) Source(125, 13) + SourceIndex(0) -4 >Emitted(63, 16) Source(125, 16) + SourceIndex(0) -5 >Emitted(63, 17) Source(125, 17) + SourceIndex(0) -6 >Emitted(63, 25) Source(125, 25) + SourceIndex(0) -7 >Emitted(63, 26) Source(125, 26) + SourceIndex(0) -8 >Emitted(63, 27) Source(125, 27) + SourceIndex(0) +1 >Emitted(64, 5) Source(125, 5) + SourceIndex(0) +2 >Emitted(64, 12) Source(125, 12) + SourceIndex(0) +3 >Emitted(64, 13) Source(125, 13) + SourceIndex(0) +4 >Emitted(64, 16) Source(125, 16) + SourceIndex(0) +5 >Emitted(64, 17) Source(125, 17) + SourceIndex(0) +6 >Emitted(64, 25) Source(125, 25) + SourceIndex(0) +7 >Emitted(64, 26) Source(125, 26) + SourceIndex(0) +8 >Emitted(64, 27) Source(125, 27) + SourceIndex(0) --- >>>} 1 > @@ -3066,8 +3067,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(64, 1) Source(126, 1) + SourceIndex(0) -2 >Emitted(64, 2) Source(126, 2) + SourceIndex(0) +1 >Emitted(65, 1) Source(126, 1) + SourceIndex(0) +2 >Emitted(65, 2) Source(126, 2) + SourceIndex(0) --- >>>for (_25 = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, _26 = _25.name, nameA = _26 === void 0 ? "noName" : _26, _27 = _25.skills, _28 = _27 === void 0 ? { primary: "none", secondary: "none" } : _27, _29 = _28.primary, primaryA = _29 === void 0 ? "primary" : _29, _30 = _28.secondary, secondaryA = _30 === void 0 ? "secondary" : _30, 1-> @@ -3195,61 +3196,61 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 53> = 54> "secondary" 55> -1->Emitted(65, 1) Source(127, 1) + SourceIndex(0) -2 >Emitted(65, 6) Source(127, 6) + SourceIndex(0) -3 >Emitted(65, 12) Source(133, 17) + SourceIndex(0) -4 >Emitted(65, 14) Source(133, 19) + SourceIndex(0) -5 >Emitted(65, 18) Source(133, 23) + SourceIndex(0) -6 >Emitted(65, 20) Source(133, 25) + SourceIndex(0) -7 >Emitted(65, 29) Source(133, 34) + SourceIndex(0) -8 >Emitted(65, 31) Source(133, 36) + SourceIndex(0) -9 >Emitted(65, 37) Source(133, 42) + SourceIndex(0) -10>Emitted(65, 39) Source(133, 44) + SourceIndex(0) -11>Emitted(65, 41) Source(133, 46) + SourceIndex(0) -12>Emitted(65, 48) Source(133, 53) + SourceIndex(0) -13>Emitted(65, 50) Source(133, 55) + SourceIndex(0) -14>Emitted(65, 60) Source(133, 65) + SourceIndex(0) -15>Emitted(65, 62) Source(133, 67) + SourceIndex(0) -16>Emitted(65, 71) Source(133, 76) + SourceIndex(0) -17>Emitted(65, 73) Source(133, 78) + SourceIndex(0) -18>Emitted(65, 81) Source(133, 86) + SourceIndex(0) -19>Emitted(65, 83) Source(133, 88) + SourceIndex(0) -20>Emitted(65, 85) Source(133, 90) + SourceIndex(0) -21>Emitted(65, 87) Source(128, 5) + SourceIndex(0) -22>Emitted(65, 101) Source(128, 27) + SourceIndex(0) -23>Emitted(65, 103) Source(128, 11) + SourceIndex(0) -24>Emitted(65, 108) Source(128, 16) + SourceIndex(0) -25>Emitted(65, 128) Source(128, 19) + SourceIndex(0) -26>Emitted(65, 136) Source(128, 27) + SourceIndex(0) -27>Emitted(65, 142) Source(128, 27) + SourceIndex(0) -28>Emitted(65, 144) Source(129, 5) + SourceIndex(0) -29>Emitted(65, 160) Source(132, 47) + SourceIndex(0) -30>Emitted(65, 162) Source(129, 5) + SourceIndex(0) -31>Emitted(65, 185) Source(132, 9) + SourceIndex(0) -32>Emitted(65, 187) Source(132, 11) + SourceIndex(0) -33>Emitted(65, 194) Source(132, 18) + SourceIndex(0) -34>Emitted(65, 196) Source(132, 20) + SourceIndex(0) -35>Emitted(65, 202) Source(132, 26) + SourceIndex(0) -36>Emitted(65, 204) Source(132, 28) + SourceIndex(0) -37>Emitted(65, 213) Source(132, 37) + SourceIndex(0) -38>Emitted(65, 215) Source(132, 39) + SourceIndex(0) -39>Emitted(65, 221) Source(132, 45) + SourceIndex(0) -40>Emitted(65, 223) Source(132, 47) + SourceIndex(0) -41>Emitted(65, 229) Source(132, 47) + SourceIndex(0) -42>Emitted(65, 231) Source(130, 9) + SourceIndex(0) -43>Emitted(65, 248) Source(130, 38) + SourceIndex(0) -44>Emitted(65, 250) Source(130, 18) + SourceIndex(0) -45>Emitted(65, 258) Source(130, 26) + SourceIndex(0) -46>Emitted(65, 278) Source(130, 29) + SourceIndex(0) -47>Emitted(65, 287) Source(130, 38) + SourceIndex(0) -48>Emitted(65, 293) Source(130, 38) + SourceIndex(0) -49>Emitted(65, 295) Source(131, 9) + SourceIndex(0) -50>Emitted(65, 314) Source(131, 44) + SourceIndex(0) -51>Emitted(65, 316) Source(131, 20) + SourceIndex(0) -52>Emitted(65, 326) Source(131, 30) + SourceIndex(0) -53>Emitted(65, 346) Source(131, 33) + SourceIndex(0) -54>Emitted(65, 357) Source(131, 44) + SourceIndex(0) -55>Emitted(65, 363) Source(131, 44) + SourceIndex(0) +1->Emitted(66, 1) Source(127, 1) + SourceIndex(0) +2 >Emitted(66, 6) Source(127, 6) + SourceIndex(0) +3 >Emitted(66, 12) Source(133, 17) + SourceIndex(0) +4 >Emitted(66, 14) Source(133, 19) + SourceIndex(0) +5 >Emitted(66, 18) Source(133, 23) + SourceIndex(0) +6 >Emitted(66, 20) Source(133, 25) + SourceIndex(0) +7 >Emitted(66, 29) Source(133, 34) + SourceIndex(0) +8 >Emitted(66, 31) Source(133, 36) + SourceIndex(0) +9 >Emitted(66, 37) Source(133, 42) + SourceIndex(0) +10>Emitted(66, 39) Source(133, 44) + SourceIndex(0) +11>Emitted(66, 41) Source(133, 46) + SourceIndex(0) +12>Emitted(66, 48) Source(133, 53) + SourceIndex(0) +13>Emitted(66, 50) Source(133, 55) + SourceIndex(0) +14>Emitted(66, 60) Source(133, 65) + SourceIndex(0) +15>Emitted(66, 62) Source(133, 67) + SourceIndex(0) +16>Emitted(66, 71) Source(133, 76) + SourceIndex(0) +17>Emitted(66, 73) Source(133, 78) + SourceIndex(0) +18>Emitted(66, 81) Source(133, 86) + SourceIndex(0) +19>Emitted(66, 83) Source(133, 88) + SourceIndex(0) +20>Emitted(66, 85) Source(133, 90) + SourceIndex(0) +21>Emitted(66, 87) Source(128, 5) + SourceIndex(0) +22>Emitted(66, 101) Source(128, 27) + SourceIndex(0) +23>Emitted(66, 103) Source(128, 11) + SourceIndex(0) +24>Emitted(66, 108) Source(128, 16) + SourceIndex(0) +25>Emitted(66, 128) Source(128, 19) + SourceIndex(0) +26>Emitted(66, 136) Source(128, 27) + SourceIndex(0) +27>Emitted(66, 142) Source(128, 27) + SourceIndex(0) +28>Emitted(66, 144) Source(129, 5) + SourceIndex(0) +29>Emitted(66, 160) Source(132, 47) + SourceIndex(0) +30>Emitted(66, 162) Source(129, 5) + SourceIndex(0) +31>Emitted(66, 185) Source(132, 9) + SourceIndex(0) +32>Emitted(66, 187) Source(132, 11) + SourceIndex(0) +33>Emitted(66, 194) Source(132, 18) + SourceIndex(0) +34>Emitted(66, 196) Source(132, 20) + SourceIndex(0) +35>Emitted(66, 202) Source(132, 26) + SourceIndex(0) +36>Emitted(66, 204) Source(132, 28) + SourceIndex(0) +37>Emitted(66, 213) Source(132, 37) + SourceIndex(0) +38>Emitted(66, 215) Source(132, 39) + SourceIndex(0) +39>Emitted(66, 221) Source(132, 45) + SourceIndex(0) +40>Emitted(66, 223) Source(132, 47) + SourceIndex(0) +41>Emitted(66, 229) Source(132, 47) + SourceIndex(0) +42>Emitted(66, 231) Source(130, 9) + SourceIndex(0) +43>Emitted(66, 248) Source(130, 38) + SourceIndex(0) +44>Emitted(66, 250) Source(130, 18) + SourceIndex(0) +45>Emitted(66, 258) Source(130, 26) + SourceIndex(0) +46>Emitted(66, 278) Source(130, 29) + SourceIndex(0) +47>Emitted(66, 287) Source(130, 38) + SourceIndex(0) +48>Emitted(66, 293) Source(130, 38) + SourceIndex(0) +49>Emitted(66, 295) Source(131, 9) + SourceIndex(0) +50>Emitted(66, 314) Source(131, 44) + SourceIndex(0) +51>Emitted(66, 316) Source(131, 20) + SourceIndex(0) +52>Emitted(66, 326) Source(131, 30) + SourceIndex(0) +53>Emitted(66, 346) Source(131, 33) + SourceIndex(0) +54>Emitted(66, 357) Source(131, 44) + SourceIndex(0) +55>Emitted(66, 363) Source(131, 44) + SourceIndex(0) --- >>> i = 0; i < 1; i++) { 1 >^^^^ @@ -3282,19 +3283,19 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 11> ++ 12> ) 13> { -1 >Emitted(66, 5) Source(134, 5) + SourceIndex(0) -2 >Emitted(66, 6) Source(134, 6) + SourceIndex(0) -3 >Emitted(66, 9) Source(134, 9) + SourceIndex(0) -4 >Emitted(66, 10) Source(134, 10) + SourceIndex(0) -5 >Emitted(66, 12) Source(134, 12) + SourceIndex(0) -6 >Emitted(66, 13) Source(134, 13) + SourceIndex(0) -7 >Emitted(66, 16) Source(134, 16) + SourceIndex(0) -8 >Emitted(66, 17) Source(134, 17) + SourceIndex(0) -9 >Emitted(66, 19) Source(134, 19) + SourceIndex(0) -10>Emitted(66, 20) Source(134, 20) + SourceIndex(0) -11>Emitted(66, 22) Source(134, 22) + SourceIndex(0) -12>Emitted(66, 24) Source(134, 24) + SourceIndex(0) -13>Emitted(66, 25) Source(134, 25) + SourceIndex(0) +1 >Emitted(67, 5) Source(134, 5) + SourceIndex(0) +2 >Emitted(67, 6) Source(134, 6) + SourceIndex(0) +3 >Emitted(67, 9) Source(134, 9) + SourceIndex(0) +4 >Emitted(67, 10) Source(134, 10) + SourceIndex(0) +5 >Emitted(67, 12) Source(134, 12) + SourceIndex(0) +6 >Emitted(67, 13) Source(134, 13) + SourceIndex(0) +7 >Emitted(67, 16) Source(134, 16) + SourceIndex(0) +8 >Emitted(67, 17) Source(134, 17) + SourceIndex(0) +9 >Emitted(67, 19) Source(134, 19) + SourceIndex(0) +10>Emitted(67, 20) Source(134, 20) + SourceIndex(0) +11>Emitted(67, 22) Source(134, 22) + SourceIndex(0) +12>Emitted(67, 24) Source(134, 24) + SourceIndex(0) +13>Emitted(67, 25) Source(134, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1->^^^^ @@ -3314,14 +3315,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1->Emitted(67, 5) Source(135, 5) + SourceIndex(0) -2 >Emitted(67, 12) Source(135, 12) + SourceIndex(0) -3 >Emitted(67, 13) Source(135, 13) + SourceIndex(0) -4 >Emitted(67, 16) Source(135, 16) + SourceIndex(0) -5 >Emitted(67, 17) Source(135, 17) + SourceIndex(0) -6 >Emitted(67, 25) Source(135, 25) + SourceIndex(0) -7 >Emitted(67, 26) Source(135, 26) + SourceIndex(0) -8 >Emitted(67, 27) Source(135, 27) + SourceIndex(0) +1->Emitted(68, 5) Source(135, 5) + SourceIndex(0) +2 >Emitted(68, 12) Source(135, 12) + SourceIndex(0) +3 >Emitted(68, 13) Source(135, 13) + SourceIndex(0) +4 >Emitted(68, 16) Source(135, 16) + SourceIndex(0) +5 >Emitted(68, 17) Source(135, 17) + SourceIndex(0) +6 >Emitted(68, 25) Source(135, 25) + SourceIndex(0) +7 >Emitted(68, 26) Source(135, 26) + SourceIndex(0) +8 >Emitted(68, 27) Source(135, 27) + SourceIndex(0) --- >>>} 1 > @@ -3330,8 +3331,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(68, 1) Source(136, 1) + SourceIndex(0) -2 >Emitted(68, 2) Source(136, 2) + SourceIndex(0) +1 >Emitted(69, 1) Source(136, 1) + SourceIndex(0) +2 >Emitted(69, 2) Source(136, 2) + SourceIndex(0) --- >>>for (_31 = robot.name, name = _31 === void 0 ? "noName" : _31, _32 = robot.skill, skill = _32 === void 0 ? "skill" : _32, i = 0; i < 1; i++) { 1-> @@ -3400,38 +3401,38 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 30> ++ 31> ) 32> { -1->Emitted(69, 1) Source(138, 1) + SourceIndex(0) -2 >Emitted(69, 6) Source(138, 8) + SourceIndex(0) -3 >Emitted(69, 12) Source(138, 45) + SourceIndex(0) -4 >Emitted(69, 17) Source(138, 50) + SourceIndex(0) -5 >Emitted(69, 22) Source(138, 23) + SourceIndex(0) -6 >Emitted(69, 24) Source(138, 8) + SourceIndex(0) -7 >Emitted(69, 28) Source(138, 12) + SourceIndex(0) -8 >Emitted(69, 48) Source(138, 15) + SourceIndex(0) -9 >Emitted(69, 56) Source(138, 23) + SourceIndex(0) -10>Emitted(69, 62) Source(138, 23) + SourceIndex(0) -11>Emitted(69, 64) Source(138, 25) + SourceIndex(0) -12>Emitted(69, 70) Source(138, 45) + SourceIndex(0) -13>Emitted(69, 75) Source(138, 50) + SourceIndex(0) -14>Emitted(69, 81) Source(138, 40) + SourceIndex(0) -15>Emitted(69, 83) Source(138, 25) + SourceIndex(0) -16>Emitted(69, 88) Source(138, 30) + SourceIndex(0) -17>Emitted(69, 108) Source(138, 33) + SourceIndex(0) -18>Emitted(69, 115) Source(138, 40) + SourceIndex(0) -19>Emitted(69, 121) Source(138, 40) + SourceIndex(0) -20>Emitted(69, 123) Source(138, 52) + SourceIndex(0) -21>Emitted(69, 124) Source(138, 53) + SourceIndex(0) -22>Emitted(69, 127) Source(138, 56) + SourceIndex(0) -23>Emitted(69, 128) Source(138, 57) + SourceIndex(0) -24>Emitted(69, 130) Source(138, 59) + SourceIndex(0) -25>Emitted(69, 131) Source(138, 60) + SourceIndex(0) -26>Emitted(69, 134) Source(138, 63) + SourceIndex(0) -27>Emitted(69, 135) Source(138, 64) + SourceIndex(0) -28>Emitted(69, 137) Source(138, 66) + SourceIndex(0) -29>Emitted(69, 138) Source(138, 67) + SourceIndex(0) -30>Emitted(69, 140) Source(138, 69) + SourceIndex(0) -31>Emitted(69, 142) Source(138, 71) + SourceIndex(0) -32>Emitted(69, 143) Source(138, 72) + SourceIndex(0) +1->Emitted(70, 1) Source(138, 1) + SourceIndex(0) +2 >Emitted(70, 6) Source(138, 8) + SourceIndex(0) +3 >Emitted(70, 12) Source(138, 45) + SourceIndex(0) +4 >Emitted(70, 17) Source(138, 50) + SourceIndex(0) +5 >Emitted(70, 22) Source(138, 23) + SourceIndex(0) +6 >Emitted(70, 24) Source(138, 8) + SourceIndex(0) +7 >Emitted(70, 28) Source(138, 12) + SourceIndex(0) +8 >Emitted(70, 48) Source(138, 15) + SourceIndex(0) +9 >Emitted(70, 56) Source(138, 23) + SourceIndex(0) +10>Emitted(70, 62) Source(138, 23) + SourceIndex(0) +11>Emitted(70, 64) Source(138, 25) + SourceIndex(0) +12>Emitted(70, 70) Source(138, 45) + SourceIndex(0) +13>Emitted(70, 75) Source(138, 50) + SourceIndex(0) +14>Emitted(70, 81) Source(138, 40) + SourceIndex(0) +15>Emitted(70, 83) Source(138, 25) + SourceIndex(0) +16>Emitted(70, 88) Source(138, 30) + SourceIndex(0) +17>Emitted(70, 108) Source(138, 33) + SourceIndex(0) +18>Emitted(70, 115) Source(138, 40) + SourceIndex(0) +19>Emitted(70, 121) Source(138, 40) + SourceIndex(0) +20>Emitted(70, 123) Source(138, 52) + SourceIndex(0) +21>Emitted(70, 124) Source(138, 53) + SourceIndex(0) +22>Emitted(70, 127) Source(138, 56) + SourceIndex(0) +23>Emitted(70, 128) Source(138, 57) + SourceIndex(0) +24>Emitted(70, 130) Source(138, 59) + SourceIndex(0) +25>Emitted(70, 131) Source(138, 60) + SourceIndex(0) +26>Emitted(70, 134) Source(138, 63) + SourceIndex(0) +27>Emitted(70, 135) Source(138, 64) + SourceIndex(0) +28>Emitted(70, 137) Source(138, 66) + SourceIndex(0) +29>Emitted(70, 138) Source(138, 67) + SourceIndex(0) +30>Emitted(70, 140) Source(138, 69) + SourceIndex(0) +31>Emitted(70, 142) Source(138, 71) + SourceIndex(0) +32>Emitted(70, 143) Source(138, 72) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -3451,14 +3452,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(70, 5) Source(139, 5) + SourceIndex(0) -2 >Emitted(70, 12) Source(139, 12) + SourceIndex(0) -3 >Emitted(70, 13) Source(139, 13) + SourceIndex(0) -4 >Emitted(70, 16) Source(139, 16) + SourceIndex(0) -5 >Emitted(70, 17) Source(139, 17) + SourceIndex(0) -6 >Emitted(70, 22) Source(139, 22) + SourceIndex(0) -7 >Emitted(70, 23) Source(139, 23) + SourceIndex(0) -8 >Emitted(70, 24) Source(139, 24) + SourceIndex(0) +1 >Emitted(71, 5) Source(139, 5) + SourceIndex(0) +2 >Emitted(71, 12) Source(139, 12) + SourceIndex(0) +3 >Emitted(71, 13) Source(139, 13) + SourceIndex(0) +4 >Emitted(71, 16) Source(139, 16) + SourceIndex(0) +5 >Emitted(71, 17) Source(139, 17) + SourceIndex(0) +6 >Emitted(71, 22) Source(139, 22) + SourceIndex(0) +7 >Emitted(71, 23) Source(139, 23) + SourceIndex(0) +8 >Emitted(71, 24) Source(139, 24) + SourceIndex(0) --- >>>} 1 > @@ -3467,8 +3468,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(71, 1) Source(140, 1) + SourceIndex(0) -2 >Emitted(71, 2) Source(140, 2) + SourceIndex(0) +1 >Emitted(72, 1) Source(140, 1) + SourceIndex(0) +2 >Emitted(72, 2) Source(140, 2) + SourceIndex(0) --- >>>for (_33 = getRobot(), _34 = _33.name, name = _34 === void 0 ? "noName" : _34, _35 = _33.skill, skill = _35 === void 0 ? "skill" : _35, i = 0; i < 1; i++) { 1-> @@ -3536,38 +3537,38 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 30> ++ 31> ) 32> { -1->Emitted(72, 1) Source(141, 1) + SourceIndex(0) -2 >Emitted(72, 6) Source(141, 6) + SourceIndex(0) -3 >Emitted(72, 12) Source(141, 45) + SourceIndex(0) -4 >Emitted(72, 20) Source(141, 53) + SourceIndex(0) -5 >Emitted(72, 22) Source(141, 55) + SourceIndex(0) -6 >Emitted(72, 24) Source(141, 8) + SourceIndex(0) -7 >Emitted(72, 38) Source(141, 23) + SourceIndex(0) -8 >Emitted(72, 40) Source(141, 8) + SourceIndex(0) -9 >Emitted(72, 44) Source(141, 12) + SourceIndex(0) -10>Emitted(72, 64) Source(141, 15) + SourceIndex(0) -11>Emitted(72, 72) Source(141, 23) + SourceIndex(0) -12>Emitted(72, 78) Source(141, 23) + SourceIndex(0) -13>Emitted(72, 80) Source(141, 25) + SourceIndex(0) -14>Emitted(72, 95) Source(141, 40) + SourceIndex(0) -15>Emitted(72, 97) Source(141, 25) + SourceIndex(0) -16>Emitted(72, 102) Source(141, 30) + SourceIndex(0) -17>Emitted(72, 122) Source(141, 33) + SourceIndex(0) -18>Emitted(72, 129) Source(141, 40) + SourceIndex(0) -19>Emitted(72, 135) Source(141, 40) + SourceIndex(0) -20>Emitted(72, 137) Source(141, 57) + SourceIndex(0) -21>Emitted(72, 138) Source(141, 58) + SourceIndex(0) -22>Emitted(72, 141) Source(141, 61) + SourceIndex(0) -23>Emitted(72, 142) Source(141, 62) + SourceIndex(0) -24>Emitted(72, 144) Source(141, 64) + SourceIndex(0) -25>Emitted(72, 145) Source(141, 65) + SourceIndex(0) -26>Emitted(72, 148) Source(141, 68) + SourceIndex(0) -27>Emitted(72, 149) Source(141, 69) + SourceIndex(0) -28>Emitted(72, 151) Source(141, 71) + SourceIndex(0) -29>Emitted(72, 152) Source(141, 72) + SourceIndex(0) -30>Emitted(72, 154) Source(141, 74) + SourceIndex(0) -31>Emitted(72, 156) Source(141, 76) + SourceIndex(0) -32>Emitted(72, 157) Source(141, 77) + SourceIndex(0) +1->Emitted(73, 1) Source(141, 1) + SourceIndex(0) +2 >Emitted(73, 6) Source(141, 6) + SourceIndex(0) +3 >Emitted(73, 12) Source(141, 45) + SourceIndex(0) +4 >Emitted(73, 20) Source(141, 53) + SourceIndex(0) +5 >Emitted(73, 22) Source(141, 55) + SourceIndex(0) +6 >Emitted(73, 24) Source(141, 8) + SourceIndex(0) +7 >Emitted(73, 38) Source(141, 23) + SourceIndex(0) +8 >Emitted(73, 40) Source(141, 8) + SourceIndex(0) +9 >Emitted(73, 44) Source(141, 12) + SourceIndex(0) +10>Emitted(73, 64) Source(141, 15) + SourceIndex(0) +11>Emitted(73, 72) Source(141, 23) + SourceIndex(0) +12>Emitted(73, 78) Source(141, 23) + SourceIndex(0) +13>Emitted(73, 80) Source(141, 25) + SourceIndex(0) +14>Emitted(73, 95) Source(141, 40) + SourceIndex(0) +15>Emitted(73, 97) Source(141, 25) + SourceIndex(0) +16>Emitted(73, 102) Source(141, 30) + SourceIndex(0) +17>Emitted(73, 122) Source(141, 33) + SourceIndex(0) +18>Emitted(73, 129) Source(141, 40) + SourceIndex(0) +19>Emitted(73, 135) Source(141, 40) + SourceIndex(0) +20>Emitted(73, 137) Source(141, 57) + SourceIndex(0) +21>Emitted(73, 138) Source(141, 58) + SourceIndex(0) +22>Emitted(73, 141) Source(141, 61) + SourceIndex(0) +23>Emitted(73, 142) Source(141, 62) + SourceIndex(0) +24>Emitted(73, 144) Source(141, 64) + SourceIndex(0) +25>Emitted(73, 145) Source(141, 65) + SourceIndex(0) +26>Emitted(73, 148) Source(141, 68) + SourceIndex(0) +27>Emitted(73, 149) Source(141, 69) + SourceIndex(0) +28>Emitted(73, 151) Source(141, 71) + SourceIndex(0) +29>Emitted(73, 152) Source(141, 72) + SourceIndex(0) +30>Emitted(73, 154) Source(141, 74) + SourceIndex(0) +31>Emitted(73, 156) Source(141, 76) + SourceIndex(0) +32>Emitted(73, 157) Source(141, 77) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -3587,14 +3588,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(73, 5) Source(142, 5) + SourceIndex(0) -2 >Emitted(73, 12) Source(142, 12) + SourceIndex(0) -3 >Emitted(73, 13) Source(142, 13) + SourceIndex(0) -4 >Emitted(73, 16) Source(142, 16) + SourceIndex(0) -5 >Emitted(73, 17) Source(142, 17) + SourceIndex(0) -6 >Emitted(73, 22) Source(142, 22) + SourceIndex(0) -7 >Emitted(73, 23) Source(142, 23) + SourceIndex(0) -8 >Emitted(73, 24) Source(142, 24) + SourceIndex(0) +1 >Emitted(74, 5) Source(142, 5) + SourceIndex(0) +2 >Emitted(74, 12) Source(142, 12) + SourceIndex(0) +3 >Emitted(74, 13) Source(142, 13) + SourceIndex(0) +4 >Emitted(74, 16) Source(142, 16) + SourceIndex(0) +5 >Emitted(74, 17) Source(142, 17) + SourceIndex(0) +6 >Emitted(74, 22) Source(142, 22) + SourceIndex(0) +7 >Emitted(74, 23) Source(142, 23) + SourceIndex(0) +8 >Emitted(74, 24) Source(142, 24) + SourceIndex(0) --- >>>} 1 > @@ -3603,8 +3604,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(74, 1) Source(143, 1) + SourceIndex(0) -2 >Emitted(74, 2) Source(143, 2) + SourceIndex(0) +1 >Emitted(75, 1) Source(143, 1) + SourceIndex(0) +2 >Emitted(75, 2) Source(143, 2) + SourceIndex(0) --- >>>for (_36 = { name: "trimmer", skill: "trimming" }, _37 = _36.name, name = _37 === void 0 ? "noName" : _37, _38 = _36.skill, skill = _38 === void 0 ? "skill" : _38, i = 0; i < 1; i++) { 1-> @@ -3686,45 +3687,45 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 37> ++ 38> ) 39> { -1->Emitted(75, 1) Source(144, 1) + SourceIndex(0) -2 >Emitted(75, 6) Source(144, 6) + SourceIndex(0) -3 >Emitted(75, 12) Source(144, 52) + SourceIndex(0) -4 >Emitted(75, 14) Source(144, 54) + SourceIndex(0) -5 >Emitted(75, 18) Source(144, 58) + SourceIndex(0) -6 >Emitted(75, 20) Source(144, 60) + SourceIndex(0) -7 >Emitted(75, 29) Source(144, 69) + SourceIndex(0) -8 >Emitted(75, 31) Source(144, 71) + SourceIndex(0) -9 >Emitted(75, 36) Source(144, 76) + SourceIndex(0) -10>Emitted(75, 38) Source(144, 78) + SourceIndex(0) -11>Emitted(75, 48) Source(144, 88) + SourceIndex(0) -12>Emitted(75, 50) Source(144, 90) + SourceIndex(0) -13>Emitted(75, 52) Source(144, 8) + SourceIndex(0) -14>Emitted(75, 66) Source(144, 23) + SourceIndex(0) -15>Emitted(75, 68) Source(144, 8) + SourceIndex(0) -16>Emitted(75, 72) Source(144, 12) + SourceIndex(0) -17>Emitted(75, 92) Source(144, 15) + SourceIndex(0) -18>Emitted(75, 100) Source(144, 23) + SourceIndex(0) -19>Emitted(75, 106) Source(144, 23) + SourceIndex(0) -20>Emitted(75, 108) Source(144, 25) + SourceIndex(0) -21>Emitted(75, 123) Source(144, 40) + SourceIndex(0) -22>Emitted(75, 125) Source(144, 25) + SourceIndex(0) -23>Emitted(75, 130) Source(144, 30) + SourceIndex(0) -24>Emitted(75, 150) Source(144, 33) + SourceIndex(0) -25>Emitted(75, 157) Source(144, 40) + SourceIndex(0) -26>Emitted(75, 163) Source(144, 40) + SourceIndex(0) -27>Emitted(75, 165) Source(144, 92) + SourceIndex(0) -28>Emitted(75, 166) Source(144, 93) + SourceIndex(0) -29>Emitted(75, 169) Source(144, 96) + SourceIndex(0) -30>Emitted(75, 170) Source(144, 97) + SourceIndex(0) -31>Emitted(75, 172) Source(144, 99) + SourceIndex(0) -32>Emitted(75, 173) Source(144, 100) + SourceIndex(0) -33>Emitted(75, 176) Source(144, 103) + SourceIndex(0) -34>Emitted(75, 177) Source(144, 104) + SourceIndex(0) -35>Emitted(75, 179) Source(144, 106) + SourceIndex(0) -36>Emitted(75, 180) Source(144, 107) + SourceIndex(0) -37>Emitted(75, 182) Source(144, 109) + SourceIndex(0) -38>Emitted(75, 184) Source(144, 111) + SourceIndex(0) -39>Emitted(75, 185) Source(144, 112) + SourceIndex(0) +1->Emitted(76, 1) Source(144, 1) + SourceIndex(0) +2 >Emitted(76, 6) Source(144, 6) + SourceIndex(0) +3 >Emitted(76, 12) Source(144, 52) + SourceIndex(0) +4 >Emitted(76, 14) Source(144, 54) + SourceIndex(0) +5 >Emitted(76, 18) Source(144, 58) + SourceIndex(0) +6 >Emitted(76, 20) Source(144, 60) + SourceIndex(0) +7 >Emitted(76, 29) Source(144, 69) + SourceIndex(0) +8 >Emitted(76, 31) Source(144, 71) + SourceIndex(0) +9 >Emitted(76, 36) Source(144, 76) + SourceIndex(0) +10>Emitted(76, 38) Source(144, 78) + SourceIndex(0) +11>Emitted(76, 48) Source(144, 88) + SourceIndex(0) +12>Emitted(76, 50) Source(144, 90) + SourceIndex(0) +13>Emitted(76, 52) Source(144, 8) + SourceIndex(0) +14>Emitted(76, 66) Source(144, 23) + SourceIndex(0) +15>Emitted(76, 68) Source(144, 8) + SourceIndex(0) +16>Emitted(76, 72) Source(144, 12) + SourceIndex(0) +17>Emitted(76, 92) Source(144, 15) + SourceIndex(0) +18>Emitted(76, 100) Source(144, 23) + SourceIndex(0) +19>Emitted(76, 106) Source(144, 23) + SourceIndex(0) +20>Emitted(76, 108) Source(144, 25) + SourceIndex(0) +21>Emitted(76, 123) Source(144, 40) + SourceIndex(0) +22>Emitted(76, 125) Source(144, 25) + SourceIndex(0) +23>Emitted(76, 130) Source(144, 30) + SourceIndex(0) +24>Emitted(76, 150) Source(144, 33) + SourceIndex(0) +25>Emitted(76, 157) Source(144, 40) + SourceIndex(0) +26>Emitted(76, 163) Source(144, 40) + SourceIndex(0) +27>Emitted(76, 165) Source(144, 92) + SourceIndex(0) +28>Emitted(76, 166) Source(144, 93) + SourceIndex(0) +29>Emitted(76, 169) Source(144, 96) + SourceIndex(0) +30>Emitted(76, 170) Source(144, 97) + SourceIndex(0) +31>Emitted(76, 172) Source(144, 99) + SourceIndex(0) +32>Emitted(76, 173) Source(144, 100) + SourceIndex(0) +33>Emitted(76, 176) Source(144, 103) + SourceIndex(0) +34>Emitted(76, 177) Source(144, 104) + SourceIndex(0) +35>Emitted(76, 179) Source(144, 106) + SourceIndex(0) +36>Emitted(76, 180) Source(144, 107) + SourceIndex(0) +37>Emitted(76, 182) Source(144, 109) + SourceIndex(0) +38>Emitted(76, 184) Source(144, 111) + SourceIndex(0) +39>Emitted(76, 185) Source(144, 112) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -3744,14 +3745,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > nameA 7 > ) 8 > ; -1 >Emitted(76, 5) Source(145, 5) + SourceIndex(0) -2 >Emitted(76, 12) Source(145, 12) + SourceIndex(0) -3 >Emitted(76, 13) Source(145, 13) + SourceIndex(0) -4 >Emitted(76, 16) Source(145, 16) + SourceIndex(0) -5 >Emitted(76, 17) Source(145, 17) + SourceIndex(0) -6 >Emitted(76, 22) Source(145, 22) + SourceIndex(0) -7 >Emitted(76, 23) Source(145, 23) + SourceIndex(0) -8 >Emitted(76, 24) Source(145, 24) + SourceIndex(0) +1 >Emitted(77, 5) Source(145, 5) + SourceIndex(0) +2 >Emitted(77, 12) Source(145, 12) + SourceIndex(0) +3 >Emitted(77, 13) Source(145, 13) + SourceIndex(0) +4 >Emitted(77, 16) Source(145, 16) + SourceIndex(0) +5 >Emitted(77, 17) Source(145, 17) + SourceIndex(0) +6 >Emitted(77, 22) Source(145, 22) + SourceIndex(0) +7 >Emitted(77, 23) Source(145, 23) + SourceIndex(0) +8 >Emitted(77, 24) Source(145, 24) + SourceIndex(0) --- >>>} 1 > @@ -3760,8 +3761,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(77, 1) Source(146, 1) + SourceIndex(0) -2 >Emitted(77, 2) Source(146, 2) + SourceIndex(0) +1 >Emitted(78, 1) Source(146, 1) + SourceIndex(0) +2 >Emitted(78, 2) Source(146, 2) + SourceIndex(0) --- >>>for (_39 = multiRobot.name, name = _39 === void 0 ? "noName" : _39, _40 = multiRobot.skills, _41 = _40 === void 0 ? { primary: "none", secondary: "none" } : _40, _42 = _41.primary, primary = _42 === void 0 ? "primary" : _42, _43 = _41.secondary, secondary = _43 === void 0 ? "secondary" : _43, i = 0; i < 1; i++) { 1-> @@ -3888,59 +3889,59 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 51> ++ 52> ) 53> { -1->Emitted(78, 1) Source(147, 1) + SourceIndex(0) -2 >Emitted(78, 6) Source(148, 5) + SourceIndex(0) -3 >Emitted(78, 12) Source(153, 5) + SourceIndex(0) -4 >Emitted(78, 22) Source(153, 15) + SourceIndex(0) -5 >Emitted(78, 27) Source(148, 20) + SourceIndex(0) -6 >Emitted(78, 29) Source(148, 5) + SourceIndex(0) -7 >Emitted(78, 33) Source(148, 9) + SourceIndex(0) -8 >Emitted(78, 53) Source(148, 12) + SourceIndex(0) -9 >Emitted(78, 61) Source(148, 20) + SourceIndex(0) -10>Emitted(78, 67) Source(148, 20) + SourceIndex(0) -11>Emitted(78, 69) Source(149, 5) + SourceIndex(0) -12>Emitted(78, 75) Source(153, 5) + SourceIndex(0) -13>Emitted(78, 85) Source(153, 15) + SourceIndex(0) -14>Emitted(78, 92) Source(152, 47) + SourceIndex(0) -15>Emitted(78, 94) Source(149, 5) + SourceIndex(0) -16>Emitted(78, 117) Source(152, 9) + SourceIndex(0) -17>Emitted(78, 119) Source(152, 11) + SourceIndex(0) -18>Emitted(78, 126) Source(152, 18) + SourceIndex(0) -19>Emitted(78, 128) Source(152, 20) + SourceIndex(0) -20>Emitted(78, 134) Source(152, 26) + SourceIndex(0) -21>Emitted(78, 136) Source(152, 28) + SourceIndex(0) -22>Emitted(78, 145) Source(152, 37) + SourceIndex(0) -23>Emitted(78, 147) Source(152, 39) + SourceIndex(0) -24>Emitted(78, 153) Source(152, 45) + SourceIndex(0) -25>Emitted(78, 155) Source(152, 47) + SourceIndex(0) -26>Emitted(78, 161) Source(152, 47) + SourceIndex(0) -27>Emitted(78, 163) Source(150, 9) + SourceIndex(0) -28>Emitted(78, 180) Source(150, 28) + SourceIndex(0) -29>Emitted(78, 182) Source(150, 9) + SourceIndex(0) -30>Emitted(78, 189) Source(150, 16) + SourceIndex(0) -31>Emitted(78, 209) Source(150, 19) + SourceIndex(0) -32>Emitted(78, 218) Source(150, 28) + SourceIndex(0) -33>Emitted(78, 224) Source(150, 28) + SourceIndex(0) -34>Emitted(78, 226) Source(151, 9) + SourceIndex(0) -35>Emitted(78, 245) Source(151, 32) + SourceIndex(0) -36>Emitted(78, 247) Source(151, 9) + SourceIndex(0) -37>Emitted(78, 256) Source(151, 18) + SourceIndex(0) -38>Emitted(78, 276) Source(151, 21) + SourceIndex(0) -39>Emitted(78, 287) Source(151, 32) + SourceIndex(0) -40>Emitted(78, 293) Source(151, 32) + SourceIndex(0) -41>Emitted(78, 295) Source(153, 17) + SourceIndex(0) -42>Emitted(78, 296) Source(153, 18) + SourceIndex(0) -43>Emitted(78, 299) Source(153, 21) + SourceIndex(0) -44>Emitted(78, 300) Source(153, 22) + SourceIndex(0) -45>Emitted(78, 302) Source(153, 24) + SourceIndex(0) -46>Emitted(78, 303) Source(153, 25) + SourceIndex(0) -47>Emitted(78, 306) Source(153, 28) + SourceIndex(0) -48>Emitted(78, 307) Source(153, 29) + SourceIndex(0) -49>Emitted(78, 309) Source(153, 31) + SourceIndex(0) -50>Emitted(78, 310) Source(153, 32) + SourceIndex(0) -51>Emitted(78, 312) Source(153, 34) + SourceIndex(0) -52>Emitted(78, 314) Source(153, 36) + SourceIndex(0) -53>Emitted(78, 315) Source(153, 37) + SourceIndex(0) +1->Emitted(79, 1) Source(147, 1) + SourceIndex(0) +2 >Emitted(79, 6) Source(148, 5) + SourceIndex(0) +3 >Emitted(79, 12) Source(153, 5) + SourceIndex(0) +4 >Emitted(79, 22) Source(153, 15) + SourceIndex(0) +5 >Emitted(79, 27) Source(148, 20) + SourceIndex(0) +6 >Emitted(79, 29) Source(148, 5) + SourceIndex(0) +7 >Emitted(79, 33) Source(148, 9) + SourceIndex(0) +8 >Emitted(79, 53) Source(148, 12) + SourceIndex(0) +9 >Emitted(79, 61) Source(148, 20) + SourceIndex(0) +10>Emitted(79, 67) Source(148, 20) + SourceIndex(0) +11>Emitted(79, 69) Source(149, 5) + SourceIndex(0) +12>Emitted(79, 75) Source(153, 5) + SourceIndex(0) +13>Emitted(79, 85) Source(153, 15) + SourceIndex(0) +14>Emitted(79, 92) Source(152, 47) + SourceIndex(0) +15>Emitted(79, 94) Source(149, 5) + SourceIndex(0) +16>Emitted(79, 117) Source(152, 9) + SourceIndex(0) +17>Emitted(79, 119) Source(152, 11) + SourceIndex(0) +18>Emitted(79, 126) Source(152, 18) + SourceIndex(0) +19>Emitted(79, 128) Source(152, 20) + SourceIndex(0) +20>Emitted(79, 134) Source(152, 26) + SourceIndex(0) +21>Emitted(79, 136) Source(152, 28) + SourceIndex(0) +22>Emitted(79, 145) Source(152, 37) + SourceIndex(0) +23>Emitted(79, 147) Source(152, 39) + SourceIndex(0) +24>Emitted(79, 153) Source(152, 45) + SourceIndex(0) +25>Emitted(79, 155) Source(152, 47) + SourceIndex(0) +26>Emitted(79, 161) Source(152, 47) + SourceIndex(0) +27>Emitted(79, 163) Source(150, 9) + SourceIndex(0) +28>Emitted(79, 180) Source(150, 28) + SourceIndex(0) +29>Emitted(79, 182) Source(150, 9) + SourceIndex(0) +30>Emitted(79, 189) Source(150, 16) + SourceIndex(0) +31>Emitted(79, 209) Source(150, 19) + SourceIndex(0) +32>Emitted(79, 218) Source(150, 28) + SourceIndex(0) +33>Emitted(79, 224) Source(150, 28) + SourceIndex(0) +34>Emitted(79, 226) Source(151, 9) + SourceIndex(0) +35>Emitted(79, 245) Source(151, 32) + SourceIndex(0) +36>Emitted(79, 247) Source(151, 9) + SourceIndex(0) +37>Emitted(79, 256) Source(151, 18) + SourceIndex(0) +38>Emitted(79, 276) Source(151, 21) + SourceIndex(0) +39>Emitted(79, 287) Source(151, 32) + SourceIndex(0) +40>Emitted(79, 293) Source(151, 32) + SourceIndex(0) +41>Emitted(79, 295) Source(153, 17) + SourceIndex(0) +42>Emitted(79, 296) Source(153, 18) + SourceIndex(0) +43>Emitted(79, 299) Source(153, 21) + SourceIndex(0) +44>Emitted(79, 300) Source(153, 22) + SourceIndex(0) +45>Emitted(79, 302) Source(153, 24) + SourceIndex(0) +46>Emitted(79, 303) Source(153, 25) + SourceIndex(0) +47>Emitted(79, 306) Source(153, 28) + SourceIndex(0) +48>Emitted(79, 307) Source(153, 29) + SourceIndex(0) +49>Emitted(79, 309) Source(153, 31) + SourceIndex(0) +50>Emitted(79, 310) Source(153, 32) + SourceIndex(0) +51>Emitted(79, 312) Source(153, 34) + SourceIndex(0) +52>Emitted(79, 314) Source(153, 36) + SourceIndex(0) +53>Emitted(79, 315) Source(153, 37) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -3960,14 +3961,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1 >Emitted(79, 5) Source(154, 5) + SourceIndex(0) -2 >Emitted(79, 12) Source(154, 12) + SourceIndex(0) -3 >Emitted(79, 13) Source(154, 13) + SourceIndex(0) -4 >Emitted(79, 16) Source(154, 16) + SourceIndex(0) -5 >Emitted(79, 17) Source(154, 17) + SourceIndex(0) -6 >Emitted(79, 25) Source(154, 25) + SourceIndex(0) -7 >Emitted(79, 26) Source(154, 26) + SourceIndex(0) -8 >Emitted(79, 27) Source(154, 27) + SourceIndex(0) +1 >Emitted(80, 5) Source(154, 5) + SourceIndex(0) +2 >Emitted(80, 12) Source(154, 12) + SourceIndex(0) +3 >Emitted(80, 13) Source(154, 13) + SourceIndex(0) +4 >Emitted(80, 16) Source(154, 16) + SourceIndex(0) +5 >Emitted(80, 17) Source(154, 17) + SourceIndex(0) +6 >Emitted(80, 25) Source(154, 25) + SourceIndex(0) +7 >Emitted(80, 26) Source(154, 26) + SourceIndex(0) +8 >Emitted(80, 27) Source(154, 27) + SourceIndex(0) --- >>>} 1 > @@ -3976,8 +3977,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(80, 1) Source(155, 1) + SourceIndex(0) -2 >Emitted(80, 2) Source(155, 2) + SourceIndex(0) +1 >Emitted(81, 1) Source(155, 1) + SourceIndex(0) +2 >Emitted(81, 2) Source(155, 2) + SourceIndex(0) --- >>>for (_44 = getMultiRobot(), _45 = _44.name, name = _45 === void 0 ? "noName" : _45, _46 = _44.skills, _47 = _46 === void 0 ? { primary: "none", secondary: "none" } : _46, _48 = _47.primary, primary = _48 === void 0 ? "primary" : _48, _49 = _47.secondary, secondary = _49 === void 0 ? "secondary" : _49, i = 0; i < 1; i++) { 1-> @@ -4103,59 +4104,59 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 51> ++ 52> ) 53> { -1->Emitted(81, 1) Source(156, 1) + SourceIndex(0) -2 >Emitted(81, 6) Source(156, 6) + SourceIndex(0) -3 >Emitted(81, 12) Source(162, 5) + SourceIndex(0) -4 >Emitted(81, 25) Source(162, 18) + SourceIndex(0) -5 >Emitted(81, 27) Source(162, 20) + SourceIndex(0) -6 >Emitted(81, 29) Source(157, 5) + SourceIndex(0) -7 >Emitted(81, 43) Source(157, 20) + SourceIndex(0) -8 >Emitted(81, 45) Source(157, 5) + SourceIndex(0) -9 >Emitted(81, 49) Source(157, 9) + SourceIndex(0) -10>Emitted(81, 69) Source(157, 12) + SourceIndex(0) -11>Emitted(81, 77) Source(157, 20) + SourceIndex(0) -12>Emitted(81, 83) Source(157, 20) + SourceIndex(0) -13>Emitted(81, 85) Source(158, 5) + SourceIndex(0) -14>Emitted(81, 101) Source(161, 47) + SourceIndex(0) -15>Emitted(81, 103) Source(158, 5) + SourceIndex(0) -16>Emitted(81, 126) Source(161, 9) + SourceIndex(0) -17>Emitted(81, 128) Source(161, 11) + SourceIndex(0) -18>Emitted(81, 135) Source(161, 18) + SourceIndex(0) -19>Emitted(81, 137) Source(161, 20) + SourceIndex(0) -20>Emitted(81, 143) Source(161, 26) + SourceIndex(0) -21>Emitted(81, 145) Source(161, 28) + SourceIndex(0) -22>Emitted(81, 154) Source(161, 37) + SourceIndex(0) -23>Emitted(81, 156) Source(161, 39) + SourceIndex(0) -24>Emitted(81, 162) Source(161, 45) + SourceIndex(0) -25>Emitted(81, 164) Source(161, 47) + SourceIndex(0) -26>Emitted(81, 170) Source(161, 47) + SourceIndex(0) -27>Emitted(81, 172) Source(159, 9) + SourceIndex(0) -28>Emitted(81, 189) Source(159, 28) + SourceIndex(0) -29>Emitted(81, 191) Source(159, 9) + SourceIndex(0) -30>Emitted(81, 198) Source(159, 16) + SourceIndex(0) -31>Emitted(81, 218) Source(159, 19) + SourceIndex(0) -32>Emitted(81, 227) Source(159, 28) + SourceIndex(0) -33>Emitted(81, 233) Source(159, 28) + SourceIndex(0) -34>Emitted(81, 235) Source(160, 9) + SourceIndex(0) -35>Emitted(81, 254) Source(160, 32) + SourceIndex(0) -36>Emitted(81, 256) Source(160, 9) + SourceIndex(0) -37>Emitted(81, 265) Source(160, 18) + SourceIndex(0) -38>Emitted(81, 285) Source(160, 21) + SourceIndex(0) -39>Emitted(81, 296) Source(160, 32) + SourceIndex(0) -40>Emitted(81, 302) Source(160, 32) + SourceIndex(0) -41>Emitted(81, 304) Source(162, 22) + SourceIndex(0) -42>Emitted(81, 305) Source(162, 23) + SourceIndex(0) -43>Emitted(81, 308) Source(162, 26) + SourceIndex(0) -44>Emitted(81, 309) Source(162, 27) + SourceIndex(0) -45>Emitted(81, 311) Source(162, 29) + SourceIndex(0) -46>Emitted(81, 312) Source(162, 30) + SourceIndex(0) -47>Emitted(81, 315) Source(162, 33) + SourceIndex(0) -48>Emitted(81, 316) Source(162, 34) + SourceIndex(0) -49>Emitted(81, 318) Source(162, 36) + SourceIndex(0) -50>Emitted(81, 319) Source(162, 37) + SourceIndex(0) -51>Emitted(81, 321) Source(162, 39) + SourceIndex(0) -52>Emitted(81, 323) Source(162, 41) + SourceIndex(0) -53>Emitted(81, 324) Source(162, 42) + SourceIndex(0) +1->Emitted(82, 1) Source(156, 1) + SourceIndex(0) +2 >Emitted(82, 6) Source(156, 6) + SourceIndex(0) +3 >Emitted(82, 12) Source(162, 5) + SourceIndex(0) +4 >Emitted(82, 25) Source(162, 18) + SourceIndex(0) +5 >Emitted(82, 27) Source(162, 20) + SourceIndex(0) +6 >Emitted(82, 29) Source(157, 5) + SourceIndex(0) +7 >Emitted(82, 43) Source(157, 20) + SourceIndex(0) +8 >Emitted(82, 45) Source(157, 5) + SourceIndex(0) +9 >Emitted(82, 49) Source(157, 9) + SourceIndex(0) +10>Emitted(82, 69) Source(157, 12) + SourceIndex(0) +11>Emitted(82, 77) Source(157, 20) + SourceIndex(0) +12>Emitted(82, 83) Source(157, 20) + SourceIndex(0) +13>Emitted(82, 85) Source(158, 5) + SourceIndex(0) +14>Emitted(82, 101) Source(161, 47) + SourceIndex(0) +15>Emitted(82, 103) Source(158, 5) + SourceIndex(0) +16>Emitted(82, 126) Source(161, 9) + SourceIndex(0) +17>Emitted(82, 128) Source(161, 11) + SourceIndex(0) +18>Emitted(82, 135) Source(161, 18) + SourceIndex(0) +19>Emitted(82, 137) Source(161, 20) + SourceIndex(0) +20>Emitted(82, 143) Source(161, 26) + SourceIndex(0) +21>Emitted(82, 145) Source(161, 28) + SourceIndex(0) +22>Emitted(82, 154) Source(161, 37) + SourceIndex(0) +23>Emitted(82, 156) Source(161, 39) + SourceIndex(0) +24>Emitted(82, 162) Source(161, 45) + SourceIndex(0) +25>Emitted(82, 164) Source(161, 47) + SourceIndex(0) +26>Emitted(82, 170) Source(161, 47) + SourceIndex(0) +27>Emitted(82, 172) Source(159, 9) + SourceIndex(0) +28>Emitted(82, 189) Source(159, 28) + SourceIndex(0) +29>Emitted(82, 191) Source(159, 9) + SourceIndex(0) +30>Emitted(82, 198) Source(159, 16) + SourceIndex(0) +31>Emitted(82, 218) Source(159, 19) + SourceIndex(0) +32>Emitted(82, 227) Source(159, 28) + SourceIndex(0) +33>Emitted(82, 233) Source(159, 28) + SourceIndex(0) +34>Emitted(82, 235) Source(160, 9) + SourceIndex(0) +35>Emitted(82, 254) Source(160, 32) + SourceIndex(0) +36>Emitted(82, 256) Source(160, 9) + SourceIndex(0) +37>Emitted(82, 265) Source(160, 18) + SourceIndex(0) +38>Emitted(82, 285) Source(160, 21) + SourceIndex(0) +39>Emitted(82, 296) Source(160, 32) + SourceIndex(0) +40>Emitted(82, 302) Source(160, 32) + SourceIndex(0) +41>Emitted(82, 304) Source(162, 22) + SourceIndex(0) +42>Emitted(82, 305) Source(162, 23) + SourceIndex(0) +43>Emitted(82, 308) Source(162, 26) + SourceIndex(0) +44>Emitted(82, 309) Source(162, 27) + SourceIndex(0) +45>Emitted(82, 311) Source(162, 29) + SourceIndex(0) +46>Emitted(82, 312) Source(162, 30) + SourceIndex(0) +47>Emitted(82, 315) Source(162, 33) + SourceIndex(0) +48>Emitted(82, 316) Source(162, 34) + SourceIndex(0) +49>Emitted(82, 318) Source(162, 36) + SourceIndex(0) +50>Emitted(82, 319) Source(162, 37) + SourceIndex(0) +51>Emitted(82, 321) Source(162, 39) + SourceIndex(0) +52>Emitted(82, 323) Source(162, 41) + SourceIndex(0) +53>Emitted(82, 324) Source(162, 42) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -4175,14 +4176,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1 >Emitted(82, 5) Source(163, 5) + SourceIndex(0) -2 >Emitted(82, 12) Source(163, 12) + SourceIndex(0) -3 >Emitted(82, 13) Source(163, 13) + SourceIndex(0) -4 >Emitted(82, 16) Source(163, 16) + SourceIndex(0) -5 >Emitted(82, 17) Source(163, 17) + SourceIndex(0) -6 >Emitted(82, 25) Source(163, 25) + SourceIndex(0) -7 >Emitted(82, 26) Source(163, 26) + SourceIndex(0) -8 >Emitted(82, 27) Source(163, 27) + SourceIndex(0) +1 >Emitted(83, 5) Source(163, 5) + SourceIndex(0) +2 >Emitted(83, 12) Source(163, 12) + SourceIndex(0) +3 >Emitted(83, 13) Source(163, 13) + SourceIndex(0) +4 >Emitted(83, 16) Source(163, 16) + SourceIndex(0) +5 >Emitted(83, 17) Source(163, 17) + SourceIndex(0) +6 >Emitted(83, 25) Source(163, 25) + SourceIndex(0) +7 >Emitted(83, 26) Source(163, 26) + SourceIndex(0) +8 >Emitted(83, 27) Source(163, 27) + SourceIndex(0) --- >>>} 1 > @@ -4191,8 +4192,8 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(83, 1) Source(164, 1) + SourceIndex(0) -2 >Emitted(83, 2) Source(164, 2) + SourceIndex(0) +1 >Emitted(84, 1) Source(164, 1) + SourceIndex(0) +2 >Emitted(84, 2) Source(164, 2) + SourceIndex(0) --- >>>for (_50 = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }, _51 = _50.name, name = _51 === void 0 ? "noName" : _51, _52 = _50.skills, _53 = _52 === void 0 ? { primary: "none", secondary: "none" } : _52, _54 = _53.primary, primary = _54 === void 0 ? "primary" : _54, _55 = _53.secondary, secondary = _55 === void 0 ? "secondary" : _55, 1-> @@ -4320,61 +4321,61 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 53> = 54> "secondary" 55> -1->Emitted(84, 1) Source(165, 1) + SourceIndex(0) -2 >Emitted(84, 6) Source(165, 6) + SourceIndex(0) -3 >Emitted(84, 12) Source(171, 17) + SourceIndex(0) -4 >Emitted(84, 14) Source(171, 19) + SourceIndex(0) -5 >Emitted(84, 18) Source(171, 23) + SourceIndex(0) -6 >Emitted(84, 20) Source(171, 25) + SourceIndex(0) -7 >Emitted(84, 29) Source(171, 34) + SourceIndex(0) -8 >Emitted(84, 31) Source(171, 36) + SourceIndex(0) -9 >Emitted(84, 37) Source(171, 42) + SourceIndex(0) -10>Emitted(84, 39) Source(171, 44) + SourceIndex(0) -11>Emitted(84, 41) Source(171, 46) + SourceIndex(0) -12>Emitted(84, 48) Source(171, 53) + SourceIndex(0) -13>Emitted(84, 50) Source(171, 55) + SourceIndex(0) -14>Emitted(84, 60) Source(171, 65) + SourceIndex(0) -15>Emitted(84, 62) Source(171, 67) + SourceIndex(0) -16>Emitted(84, 71) Source(171, 76) + SourceIndex(0) -17>Emitted(84, 73) Source(171, 78) + SourceIndex(0) -18>Emitted(84, 81) Source(171, 86) + SourceIndex(0) -19>Emitted(84, 83) Source(171, 88) + SourceIndex(0) -20>Emitted(84, 85) Source(171, 90) + SourceIndex(0) -21>Emitted(84, 87) Source(166, 5) + SourceIndex(0) -22>Emitted(84, 101) Source(166, 20) + SourceIndex(0) -23>Emitted(84, 103) Source(166, 5) + SourceIndex(0) -24>Emitted(84, 107) Source(166, 9) + SourceIndex(0) -25>Emitted(84, 127) Source(166, 12) + SourceIndex(0) -26>Emitted(84, 135) Source(166, 20) + SourceIndex(0) -27>Emitted(84, 141) Source(166, 20) + SourceIndex(0) -28>Emitted(84, 143) Source(167, 5) + SourceIndex(0) -29>Emitted(84, 159) Source(170, 47) + SourceIndex(0) -30>Emitted(84, 161) Source(167, 5) + SourceIndex(0) -31>Emitted(84, 184) Source(170, 9) + SourceIndex(0) -32>Emitted(84, 186) Source(170, 11) + SourceIndex(0) -33>Emitted(84, 193) Source(170, 18) + SourceIndex(0) -34>Emitted(84, 195) Source(170, 20) + SourceIndex(0) -35>Emitted(84, 201) Source(170, 26) + SourceIndex(0) -36>Emitted(84, 203) Source(170, 28) + SourceIndex(0) -37>Emitted(84, 212) Source(170, 37) + SourceIndex(0) -38>Emitted(84, 214) Source(170, 39) + SourceIndex(0) -39>Emitted(84, 220) Source(170, 45) + SourceIndex(0) -40>Emitted(84, 222) Source(170, 47) + SourceIndex(0) -41>Emitted(84, 228) Source(170, 47) + SourceIndex(0) -42>Emitted(84, 230) Source(168, 9) + SourceIndex(0) -43>Emitted(84, 247) Source(168, 28) + SourceIndex(0) -44>Emitted(84, 249) Source(168, 9) + SourceIndex(0) -45>Emitted(84, 256) Source(168, 16) + SourceIndex(0) -46>Emitted(84, 276) Source(168, 19) + SourceIndex(0) -47>Emitted(84, 285) Source(168, 28) + SourceIndex(0) -48>Emitted(84, 291) Source(168, 28) + SourceIndex(0) -49>Emitted(84, 293) Source(169, 9) + SourceIndex(0) -50>Emitted(84, 312) Source(169, 32) + SourceIndex(0) -51>Emitted(84, 314) Source(169, 9) + SourceIndex(0) -52>Emitted(84, 323) Source(169, 18) + SourceIndex(0) -53>Emitted(84, 343) Source(169, 21) + SourceIndex(0) -54>Emitted(84, 354) Source(169, 32) + SourceIndex(0) -55>Emitted(84, 360) Source(169, 32) + SourceIndex(0) +1->Emitted(85, 1) Source(165, 1) + SourceIndex(0) +2 >Emitted(85, 6) Source(165, 6) + SourceIndex(0) +3 >Emitted(85, 12) Source(171, 17) + SourceIndex(0) +4 >Emitted(85, 14) Source(171, 19) + SourceIndex(0) +5 >Emitted(85, 18) Source(171, 23) + SourceIndex(0) +6 >Emitted(85, 20) Source(171, 25) + SourceIndex(0) +7 >Emitted(85, 29) Source(171, 34) + SourceIndex(0) +8 >Emitted(85, 31) Source(171, 36) + SourceIndex(0) +9 >Emitted(85, 37) Source(171, 42) + SourceIndex(0) +10>Emitted(85, 39) Source(171, 44) + SourceIndex(0) +11>Emitted(85, 41) Source(171, 46) + SourceIndex(0) +12>Emitted(85, 48) Source(171, 53) + SourceIndex(0) +13>Emitted(85, 50) Source(171, 55) + SourceIndex(0) +14>Emitted(85, 60) Source(171, 65) + SourceIndex(0) +15>Emitted(85, 62) Source(171, 67) + SourceIndex(0) +16>Emitted(85, 71) Source(171, 76) + SourceIndex(0) +17>Emitted(85, 73) Source(171, 78) + SourceIndex(0) +18>Emitted(85, 81) Source(171, 86) + SourceIndex(0) +19>Emitted(85, 83) Source(171, 88) + SourceIndex(0) +20>Emitted(85, 85) Source(171, 90) + SourceIndex(0) +21>Emitted(85, 87) Source(166, 5) + SourceIndex(0) +22>Emitted(85, 101) Source(166, 20) + SourceIndex(0) +23>Emitted(85, 103) Source(166, 5) + SourceIndex(0) +24>Emitted(85, 107) Source(166, 9) + SourceIndex(0) +25>Emitted(85, 127) Source(166, 12) + SourceIndex(0) +26>Emitted(85, 135) Source(166, 20) + SourceIndex(0) +27>Emitted(85, 141) Source(166, 20) + SourceIndex(0) +28>Emitted(85, 143) Source(167, 5) + SourceIndex(0) +29>Emitted(85, 159) Source(170, 47) + SourceIndex(0) +30>Emitted(85, 161) Source(167, 5) + SourceIndex(0) +31>Emitted(85, 184) Source(170, 9) + SourceIndex(0) +32>Emitted(85, 186) Source(170, 11) + SourceIndex(0) +33>Emitted(85, 193) Source(170, 18) + SourceIndex(0) +34>Emitted(85, 195) Source(170, 20) + SourceIndex(0) +35>Emitted(85, 201) Source(170, 26) + SourceIndex(0) +36>Emitted(85, 203) Source(170, 28) + SourceIndex(0) +37>Emitted(85, 212) Source(170, 37) + SourceIndex(0) +38>Emitted(85, 214) Source(170, 39) + SourceIndex(0) +39>Emitted(85, 220) Source(170, 45) + SourceIndex(0) +40>Emitted(85, 222) Source(170, 47) + SourceIndex(0) +41>Emitted(85, 228) Source(170, 47) + SourceIndex(0) +42>Emitted(85, 230) Source(168, 9) + SourceIndex(0) +43>Emitted(85, 247) Source(168, 28) + SourceIndex(0) +44>Emitted(85, 249) Source(168, 9) + SourceIndex(0) +45>Emitted(85, 256) Source(168, 16) + SourceIndex(0) +46>Emitted(85, 276) Source(168, 19) + SourceIndex(0) +47>Emitted(85, 285) Source(168, 28) + SourceIndex(0) +48>Emitted(85, 291) Source(168, 28) + SourceIndex(0) +49>Emitted(85, 293) Source(169, 9) + SourceIndex(0) +50>Emitted(85, 312) Source(169, 32) + SourceIndex(0) +51>Emitted(85, 314) Source(169, 9) + SourceIndex(0) +52>Emitted(85, 323) Source(169, 18) + SourceIndex(0) +53>Emitted(85, 343) Source(169, 21) + SourceIndex(0) +54>Emitted(85, 354) Source(169, 32) + SourceIndex(0) +55>Emitted(85, 360) Source(169, 32) + SourceIndex(0) --- >>> i = 0; i < 1; i++) { 1 >^^^^ @@ -4407,19 +4408,19 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 11> ++ 12> ) 13> { -1 >Emitted(85, 5) Source(172, 5) + SourceIndex(0) -2 >Emitted(85, 6) Source(172, 6) + SourceIndex(0) -3 >Emitted(85, 9) Source(172, 9) + SourceIndex(0) -4 >Emitted(85, 10) Source(172, 10) + SourceIndex(0) -5 >Emitted(85, 12) Source(172, 12) + SourceIndex(0) -6 >Emitted(85, 13) Source(172, 13) + SourceIndex(0) -7 >Emitted(85, 16) Source(172, 16) + SourceIndex(0) -8 >Emitted(85, 17) Source(172, 17) + SourceIndex(0) -9 >Emitted(85, 19) Source(172, 19) + SourceIndex(0) -10>Emitted(85, 20) Source(172, 20) + SourceIndex(0) -11>Emitted(85, 22) Source(172, 22) + SourceIndex(0) -12>Emitted(85, 24) Source(172, 24) + SourceIndex(0) -13>Emitted(85, 25) Source(172, 25) + SourceIndex(0) +1 >Emitted(86, 5) Source(172, 5) + SourceIndex(0) +2 >Emitted(86, 6) Source(172, 6) + SourceIndex(0) +3 >Emitted(86, 9) Source(172, 9) + SourceIndex(0) +4 >Emitted(86, 10) Source(172, 10) + SourceIndex(0) +5 >Emitted(86, 12) Source(172, 12) + SourceIndex(0) +6 >Emitted(86, 13) Source(172, 13) + SourceIndex(0) +7 >Emitted(86, 16) Source(172, 16) + SourceIndex(0) +8 >Emitted(86, 17) Source(172, 17) + SourceIndex(0) +9 >Emitted(86, 19) Source(172, 19) + SourceIndex(0) +10>Emitted(86, 20) Source(172, 20) + SourceIndex(0) +11>Emitted(86, 22) Source(172, 22) + SourceIndex(0) +12>Emitted(86, 24) Source(172, 24) + SourceIndex(0) +13>Emitted(86, 25) Source(172, 25) + SourceIndex(0) --- >>> console.log(primaryA); 1->^^^^ @@ -4439,14 +4440,14 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 6 > primaryA 7 > ) 8 > ; -1->Emitted(86, 5) Source(173, 5) + SourceIndex(0) -2 >Emitted(86, 12) Source(173, 12) + SourceIndex(0) -3 >Emitted(86, 13) Source(173, 13) + SourceIndex(0) -4 >Emitted(86, 16) Source(173, 16) + SourceIndex(0) -5 >Emitted(86, 17) Source(173, 17) + SourceIndex(0) -6 >Emitted(86, 25) Source(173, 25) + SourceIndex(0) -7 >Emitted(86, 26) Source(173, 26) + SourceIndex(0) -8 >Emitted(86, 27) Source(173, 27) + SourceIndex(0) +1->Emitted(87, 5) Source(173, 5) + SourceIndex(0) +2 >Emitted(87, 12) Source(173, 12) + SourceIndex(0) +3 >Emitted(87, 13) Source(173, 13) + SourceIndex(0) +4 >Emitted(87, 16) Source(173, 16) + SourceIndex(0) +5 >Emitted(87, 17) Source(173, 17) + SourceIndex(0) +6 >Emitted(87, 25) Source(173, 25) + SourceIndex(0) +7 >Emitted(87, 26) Source(173, 26) + SourceIndex(0) +8 >Emitted(87, 27) Source(173, 27) + SourceIndex(0) --- >>>} 1 > @@ -4455,7 +4456,7 @@ sourceFile:sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2 1 > > 2 >} -1 >Emitted(87, 1) Source(174, 1) + SourceIndex(0) -2 >Emitted(87, 2) Source(174, 2) + SourceIndex(0) +1 >Emitted(88, 1) Source(174, 1) + SourceIndex(0) +2 >Emitted(88, 2) Source(174, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForObjectBindingPatternDefaultValues2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.js b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.js index 4ed1be8dff8b9..de5e9ed5331aa 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.js @@ -98,6 +98,7 @@ for (let [...multiRobotAInfo] of [multiRobotA, multiRobotB]) { } //// [sourceMapValidationDestructuringForOfArrayBindingPattern.js] +"use strict"; var robotA = [1, "mower", "mowing"]; var robotB = [2, "trimmer", "trimming"]; var robots = [robotA, robotB]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.js.map index 80b3c963fbc10..44d29fdbcbf8e 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForOfArrayBindingPattern.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForOfArrayBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfArrayBindingPattern.ts"],"names":[],"mappings":"AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAC/C,IAAI,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC9B,SAAS,SAAS;IACd,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,IAAI,WAAW,GAAG,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAC7C,SAAS,cAAc;IACnB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,KAAsB,UAAM,EAAN,iBAAM,EAAN,oBAAM,EAAN,IAAM,EAAE,CAAC;IAAtB,IAAA,iBAAS,EAAN,KAAK,QAAA;IACb,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAsB,UAAW,EAAX,KAAA,SAAS,EAAE,EAAX,cAAW,EAAX,IAA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xBLCBzZWNvbmRhcnlTa2lsbEFdXSBvZiBtdWx0aVJvYm90cykgewogICAgY29uc29sZS5sb2cobmFtZU1BKTsKfQpmb3IgKGxldCBbbmFtZU1BLCBbcHJpbWFyeVNraWxsQSwgc2Vjb25kYXJ5U2tpbGxBXV0gb2YgZ2V0TXVsdGlSb2JvdHMoKSkgewogICAgY29uc29sZS5sb2cobmFtZU1BKTsKfQpmb3IgKGxldCBbbmFtZU1BLCBbcHJpbWFyeVNraWxsQSwgc2Vjb25kYXJ5U2tpbGxBXV0gb2YgW211bHRpUm9ib3RBLCBtdWx0aVJvYm90Ql0pIHsKICAgIGNvbnNvbGUubG9nKG5hbWVNQSk7Cn0KCmZvciAobGV0IFtudW1iZXJBMywgLi4ucm9ib3RBSW5mb10gb2Ygcm9ib3RzKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChsZXQgW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSBvZiBnZXRSb2JvdHMoKSkgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAobGV0IFtudW1iZXJBMywgLi4ucm9ib3RBSW5mb10gb2YgW3JvYm90QSwgcm9ib3RCXSkgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAobGV0IFsuLi5tdWx0aVJvYm90QUluZm9dIG9mIG11bHRpUm9ib3RzKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9CmZvciAobGV0IFsuLi5tdWx0aVJvYm90QUluZm9dIG9mIGdldE11bHRpUm9ib3RzKCkpIHsKICAgIGNvbnNvbGUubG9nKG11bHRpUm9ib3RBSW5mbyk7Cn0KZm9yIChsZXQgWy4uLm11bHRpUm9ib3RBSW5mb10gb2YgW211bHRpUm9ib3RBLCBtdWx0aVJvYm90Ql0pIHsKICAgIGNvbnNvbGUubG9nKG11bHRpUm9ib3RBSW5mbyk7Cn0= +{"version":3,"file":"sourceMapValidationDestructuringForOfAr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90Ql0pIHsKICAgIGNvbnNvbGUubG9nKG5hbWVNQSk7Cn0KCmZvciAobGV0IFtudW1iZXJBMywgLi4ucm9ib3RBSW5mb10gb2Ygcm9ib3RzKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChsZXQgW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSBvZiBnZXRSb2JvdHMoKSkgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAobGV0IFtudW1iZXJBMywgLi4ucm9ib3RBSW5mb10gb2YgW3JvYm90QSwgcm9ib3RCXSkgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAobGV0IFsuLi5tdWx0aVJvYm90QUluZm9dIG9mIG11bHRpUm9ib3RzKSB7CiAgICBjb25zb2xlLmxvZyhtdWx0aVJvYm90QUluZm8pOwp9CmZvciAobGV0IFsuLi5tdWx0aVJvYm90QUluZm9dIG9mIGdldE11bHRpUm9ib3RzKCkpIHsKICAgIGNvbnNvbGUubG9nKG11bHRpUm9ib3RBSW5mbyk7Cn0KZm9yIChsZXQgWy4uLm11bHRpUm9ib3RBSW5mb10gb2YgW211bHRpUm9ib3RBLCBtdWx0aVJvYm90Ql0pIHsKICAgIGNvbnNvbGUubG9nKG11bHRpUm9ib3RBSW5mbyk7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.sourcemap.txt index fcef975f6e933..60d8be6af5251 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForOfArrayBindingPattern.ts emittedFile:sourceMapValidationDestructuringForOfArrayBindingPattern.js sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = [1, "mower", "mowing"]; 1 > 2 >^^^^ @@ -40,18 +41,18 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 10> "mowing" 11> ] 12> ; -1 >Emitted(1, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(7, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(7, 21) + SourceIndex(0) -5 >Emitted(1, 15) Source(7, 22) + SourceIndex(0) -6 >Emitted(1, 16) Source(7, 23) + SourceIndex(0) -7 >Emitted(1, 18) Source(7, 25) + SourceIndex(0) -8 >Emitted(1, 25) Source(7, 32) + SourceIndex(0) -9 >Emitted(1, 27) Source(7, 34) + SourceIndex(0) -10>Emitted(1, 35) Source(7, 42) + SourceIndex(0) -11>Emitted(1, 36) Source(7, 43) + SourceIndex(0) -12>Emitted(1, 37) Source(7, 44) + SourceIndex(0) +1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(7, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(7, 21) + SourceIndex(0) +5 >Emitted(2, 15) Source(7, 22) + SourceIndex(0) +6 >Emitted(2, 16) Source(7, 23) + SourceIndex(0) +7 >Emitted(2, 18) Source(7, 25) + SourceIndex(0) +8 >Emitted(2, 25) Source(7, 32) + SourceIndex(0) +9 >Emitted(2, 27) Source(7, 34) + SourceIndex(0) +10>Emitted(2, 35) Source(7, 42) + SourceIndex(0) +11>Emitted(2, 36) Source(7, 43) + SourceIndex(0) +12>Emitted(2, 37) Source(7, 44) + SourceIndex(0) --- >>>var robotB = [2, "trimmer", "trimming"]; 1-> @@ -79,18 +80,18 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 10> "trimming" 11> ] 12> ; -1->Emitted(2, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(8, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(8, 21) + SourceIndex(0) -5 >Emitted(2, 15) Source(8, 22) + SourceIndex(0) -6 >Emitted(2, 16) Source(8, 23) + SourceIndex(0) -7 >Emitted(2, 18) Source(8, 25) + SourceIndex(0) -8 >Emitted(2, 27) Source(8, 34) + SourceIndex(0) -9 >Emitted(2, 29) Source(8, 36) + SourceIndex(0) -10>Emitted(2, 39) Source(8, 46) + SourceIndex(0) -11>Emitted(2, 40) Source(8, 47) + SourceIndex(0) -12>Emitted(2, 41) Source(8, 48) + SourceIndex(0) +1->Emitted(3, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(8, 21) + SourceIndex(0) +5 >Emitted(3, 15) Source(8, 22) + SourceIndex(0) +6 >Emitted(3, 16) Source(8, 23) + SourceIndex(0) +7 >Emitted(3, 18) Source(8, 25) + SourceIndex(0) +8 >Emitted(3, 27) Source(8, 34) + SourceIndex(0) +9 >Emitted(3, 29) Source(8, 36) + SourceIndex(0) +10>Emitted(3, 39) Source(8, 46) + SourceIndex(0) +11>Emitted(3, 40) Source(8, 47) + SourceIndex(0) +12>Emitted(3, 41) Source(8, 48) + SourceIndex(0) --- >>>var robots = [robotA, robotB]; 1 > @@ -114,16 +115,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 8 > robotB 9 > ] 10> ; -1 >Emitted(3, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(9, 5) + SourceIndex(0) -3 >Emitted(3, 11) Source(9, 11) + SourceIndex(0) -4 >Emitted(3, 14) Source(9, 14) + SourceIndex(0) -5 >Emitted(3, 15) Source(9, 15) + SourceIndex(0) -6 >Emitted(3, 21) Source(9, 21) + SourceIndex(0) -7 >Emitted(3, 23) Source(9, 23) + SourceIndex(0) -8 >Emitted(3, 29) Source(9, 29) + SourceIndex(0) -9 >Emitted(3, 30) Source(9, 30) + SourceIndex(0) -10>Emitted(3, 31) Source(9, 31) + SourceIndex(0) +1 >Emitted(4, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(9, 5) + SourceIndex(0) +3 >Emitted(4, 11) Source(9, 11) + SourceIndex(0) +4 >Emitted(4, 14) Source(9, 14) + SourceIndex(0) +5 >Emitted(4, 15) Source(9, 15) + SourceIndex(0) +6 >Emitted(4, 21) Source(9, 21) + SourceIndex(0) +7 >Emitted(4, 23) Source(9, 23) + SourceIndex(0) +8 >Emitted(4, 29) Source(9, 29) + SourceIndex(0) +9 >Emitted(4, 30) Source(9, 30) + SourceIndex(0) +10>Emitted(4, 31) Source(9, 31) + SourceIndex(0) --- >>>function getRobots() { 1 > @@ -134,9 +135,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts > 2 >function 3 > getRobots -1 >Emitted(4, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(4, 10) Source(10, 10) + SourceIndex(0) -3 >Emitted(4, 19) Source(10, 19) + SourceIndex(0) +1 >Emitted(5, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(5, 10) Source(10, 10) + SourceIndex(0) +3 >Emitted(5, 19) Source(10, 19) + SourceIndex(0) --- >>> return robots; 1->^^^^ @@ -148,10 +149,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 2 > return 3 > robots 4 > ; -1->Emitted(5, 5) Source(11, 5) + SourceIndex(0) -2 >Emitted(5, 12) Source(11, 12) + SourceIndex(0) -3 >Emitted(5, 18) Source(11, 18) + SourceIndex(0) -4 >Emitted(5, 19) Source(11, 19) + SourceIndex(0) +1->Emitted(6, 5) Source(11, 5) + SourceIndex(0) +2 >Emitted(6, 12) Source(11, 12) + SourceIndex(0) +3 >Emitted(6, 18) Source(11, 18) + SourceIndex(0) +4 >Emitted(6, 19) Source(11, 19) + SourceIndex(0) --- >>>} 1 > @@ -160,8 +161,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(6, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(12, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(12, 2) + SourceIndex(0) --- >>>var multiRobotA = ["mower", ["mowing", ""]]; 1-> @@ -195,20 +196,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 12> ] 13> ] 14> ; -1->Emitted(7, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(14, 5) + SourceIndex(0) -3 >Emitted(7, 16) Source(14, 16) + SourceIndex(0) -4 >Emitted(7, 19) Source(14, 38) + SourceIndex(0) -5 >Emitted(7, 20) Source(14, 39) + SourceIndex(0) -6 >Emitted(7, 27) Source(14, 46) + SourceIndex(0) -7 >Emitted(7, 29) Source(14, 48) + SourceIndex(0) -8 >Emitted(7, 30) Source(14, 49) + SourceIndex(0) -9 >Emitted(7, 38) Source(14, 57) + SourceIndex(0) -10>Emitted(7, 40) Source(14, 59) + SourceIndex(0) -11>Emitted(7, 42) Source(14, 61) + SourceIndex(0) -12>Emitted(7, 43) Source(14, 62) + SourceIndex(0) -13>Emitted(7, 44) Source(14, 63) + SourceIndex(0) -14>Emitted(7, 45) Source(14, 64) + SourceIndex(0) +1->Emitted(8, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(14, 5) + SourceIndex(0) +3 >Emitted(8, 16) Source(14, 16) + SourceIndex(0) +4 >Emitted(8, 19) Source(14, 38) + SourceIndex(0) +5 >Emitted(8, 20) Source(14, 39) + SourceIndex(0) +6 >Emitted(8, 27) Source(14, 46) + SourceIndex(0) +7 >Emitted(8, 29) Source(14, 48) + SourceIndex(0) +8 >Emitted(8, 30) Source(14, 49) + SourceIndex(0) +9 >Emitted(8, 38) Source(14, 57) + SourceIndex(0) +10>Emitted(8, 40) Source(14, 59) + SourceIndex(0) +11>Emitted(8, 42) Source(14, 61) + SourceIndex(0) +12>Emitted(8, 43) Source(14, 62) + SourceIndex(0) +13>Emitted(8, 44) Source(14, 63) + SourceIndex(0) +14>Emitted(8, 45) Source(14, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -240,20 +241,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 12> ] 13> ] 14> ; -1->Emitted(8, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(8, 5) Source(15, 5) + SourceIndex(0) -3 >Emitted(8, 16) Source(15, 16) + SourceIndex(0) -4 >Emitted(8, 19) Source(15, 38) + SourceIndex(0) -5 >Emitted(8, 20) Source(15, 39) + SourceIndex(0) -6 >Emitted(8, 29) Source(15, 48) + SourceIndex(0) -7 >Emitted(8, 31) Source(15, 50) + SourceIndex(0) -8 >Emitted(8, 32) Source(15, 51) + SourceIndex(0) -9 >Emitted(8, 42) Source(15, 61) + SourceIndex(0) -10>Emitted(8, 44) Source(15, 63) + SourceIndex(0) -11>Emitted(8, 52) Source(15, 71) + SourceIndex(0) -12>Emitted(8, 53) Source(15, 72) + SourceIndex(0) -13>Emitted(8, 54) Source(15, 73) + SourceIndex(0) -14>Emitted(8, 55) Source(15, 74) + SourceIndex(0) +1->Emitted(9, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(9, 5) Source(15, 5) + SourceIndex(0) +3 >Emitted(9, 16) Source(15, 16) + SourceIndex(0) +4 >Emitted(9, 19) Source(15, 38) + SourceIndex(0) +5 >Emitted(9, 20) Source(15, 39) + SourceIndex(0) +6 >Emitted(9, 29) Source(15, 48) + SourceIndex(0) +7 >Emitted(9, 31) Source(15, 50) + SourceIndex(0) +8 >Emitted(9, 32) Source(15, 51) + SourceIndex(0) +9 >Emitted(9, 42) Source(15, 61) + SourceIndex(0) +10>Emitted(9, 44) Source(15, 63) + SourceIndex(0) +11>Emitted(9, 52) Source(15, 71) + SourceIndex(0) +12>Emitted(9, 53) Source(15, 72) + SourceIndex(0) +13>Emitted(9, 54) Source(15, 73) + SourceIndex(0) +14>Emitted(9, 55) Source(15, 74) + SourceIndex(0) --- >>>var multiRobots = [multiRobotA, multiRobotB]; 1 > @@ -277,16 +278,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 8 > multiRobotB 9 > ] 10> ; -1 >Emitted(9, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(9, 5) Source(16, 5) + SourceIndex(0) -3 >Emitted(9, 16) Source(16, 16) + SourceIndex(0) -4 >Emitted(9, 19) Source(16, 19) + SourceIndex(0) -5 >Emitted(9, 20) Source(16, 20) + SourceIndex(0) -6 >Emitted(9, 31) Source(16, 31) + SourceIndex(0) -7 >Emitted(9, 33) Source(16, 33) + SourceIndex(0) -8 >Emitted(9, 44) Source(16, 44) + SourceIndex(0) -9 >Emitted(9, 45) Source(16, 45) + SourceIndex(0) -10>Emitted(9, 46) Source(16, 46) + SourceIndex(0) +1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(10, 5) Source(16, 5) + SourceIndex(0) +3 >Emitted(10, 16) Source(16, 16) + SourceIndex(0) +4 >Emitted(10, 19) Source(16, 19) + SourceIndex(0) +5 >Emitted(10, 20) Source(16, 20) + SourceIndex(0) +6 >Emitted(10, 31) Source(16, 31) + SourceIndex(0) +7 >Emitted(10, 33) Source(16, 33) + SourceIndex(0) +8 >Emitted(10, 44) Source(16, 44) + SourceIndex(0) +9 >Emitted(10, 45) Source(16, 45) + SourceIndex(0) +10>Emitted(10, 46) Source(16, 46) + SourceIndex(0) --- >>>function getMultiRobots() { 1 > @@ -297,9 +298,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts > 2 >function 3 > getMultiRobots -1 >Emitted(10, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(10, 10) Source(17, 10) + SourceIndex(0) -3 >Emitted(10, 24) Source(17, 24) + SourceIndex(0) +1 >Emitted(11, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(11, 10) Source(17, 10) + SourceIndex(0) +3 >Emitted(11, 24) Source(17, 24) + SourceIndex(0) --- >>> return multiRobots; 1->^^^^ @@ -311,10 +312,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 2 > return 3 > multiRobots 4 > ; -1->Emitted(11, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(11, 12) Source(18, 12) + SourceIndex(0) -3 >Emitted(11, 23) Source(18, 23) + SourceIndex(0) -4 >Emitted(11, 24) Source(18, 24) + SourceIndex(0) +1->Emitted(12, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(12, 12) Source(18, 12) + SourceIndex(0) +3 >Emitted(12, 23) Source(18, 23) + SourceIndex(0) +4 >Emitted(12, 24) Source(18, 24) + SourceIndex(0) --- >>>} 1 > @@ -323,8 +324,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(12, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(12, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(13, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(13, 2) Source(19, 2) + SourceIndex(0) --- >>>for (var _i = 0, robots_1 = robots; _i < robots_1.length; _i++) { 1-> @@ -351,17 +352,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 9 > robots 10> ) 11> { -1->Emitted(13, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(13, 6) Source(21, 23) + SourceIndex(0) -3 >Emitted(13, 16) Source(21, 29) + SourceIndex(0) -4 >Emitted(13, 18) Source(21, 23) + SourceIndex(0) -5 >Emitted(13, 35) Source(21, 29) + SourceIndex(0) -6 >Emitted(13, 37) Source(21, 23) + SourceIndex(0) -7 >Emitted(13, 57) Source(21, 29) + SourceIndex(0) -8 >Emitted(13, 59) Source(21, 23) + SourceIndex(0) -9 >Emitted(13, 63) Source(21, 29) + SourceIndex(0) -10>Emitted(13, 65) Source(21, 31) + SourceIndex(0) -11>Emitted(13, 66) Source(21, 32) + SourceIndex(0) +1->Emitted(14, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(14, 6) Source(21, 23) + SourceIndex(0) +3 >Emitted(14, 16) Source(21, 29) + SourceIndex(0) +4 >Emitted(14, 18) Source(21, 23) + SourceIndex(0) +5 >Emitted(14, 35) Source(21, 29) + SourceIndex(0) +6 >Emitted(14, 37) Source(21, 23) + SourceIndex(0) +7 >Emitted(14, 57) Source(21, 29) + SourceIndex(0) +8 >Emitted(14, 59) Source(21, 23) + SourceIndex(0) +9 >Emitted(14, 63) Source(21, 29) + SourceIndex(0) +10>Emitted(14, 65) Source(21, 31) + SourceIndex(0) +11>Emitted(14, 66) Source(21, 32) + SourceIndex(0) --- >>> var _a = robots_1[_i], nameA = _a[1]; 1 >^^^^ @@ -376,12 +377,12 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 4 > 5 > nameA 6 > -1 >Emitted(14, 5) Source(21, 10) + SourceIndex(0) -2 >Emitted(14, 9) Source(21, 10) + SourceIndex(0) -3 >Emitted(14, 26) Source(21, 19) + SourceIndex(0) -4 >Emitted(14, 28) Source(21, 13) + SourceIndex(0) -5 >Emitted(14, 33) Source(21, 18) + SourceIndex(0) -6 >Emitted(14, 41) Source(21, 18) + SourceIndex(0) +1 >Emitted(15, 5) Source(21, 10) + SourceIndex(0) +2 >Emitted(15, 9) Source(21, 10) + SourceIndex(0) +3 >Emitted(15, 26) Source(21, 19) + SourceIndex(0) +4 >Emitted(15, 28) Source(21, 13) + SourceIndex(0) +5 >Emitted(15, 33) Source(21, 18) + SourceIndex(0) +6 >Emitted(15, 41) Source(21, 18) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -401,14 +402,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(15, 5) Source(22, 5) + SourceIndex(0) -2 >Emitted(15, 12) Source(22, 12) + SourceIndex(0) -3 >Emitted(15, 13) Source(22, 13) + SourceIndex(0) -4 >Emitted(15, 16) Source(22, 16) + SourceIndex(0) -5 >Emitted(15, 17) Source(22, 17) + SourceIndex(0) -6 >Emitted(15, 22) Source(22, 22) + SourceIndex(0) -7 >Emitted(15, 23) Source(22, 23) + SourceIndex(0) -8 >Emitted(15, 24) Source(22, 24) + SourceIndex(0) +1 >Emitted(16, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(16, 12) Source(22, 12) + SourceIndex(0) +3 >Emitted(16, 13) Source(22, 13) + SourceIndex(0) +4 >Emitted(16, 16) Source(22, 16) + SourceIndex(0) +5 >Emitted(16, 17) Source(22, 17) + SourceIndex(0) +6 >Emitted(16, 22) Source(22, 22) + SourceIndex(0) +7 >Emitted(16, 23) Source(22, 23) + SourceIndex(0) +8 >Emitted(16, 24) Source(22, 24) + SourceIndex(0) --- >>>} 1 > @@ -417,8 +418,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(16, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(16, 2) Source(23, 2) + SourceIndex(0) +1 >Emitted(17, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(17, 2) Source(23, 2) + SourceIndex(0) --- >>>for (var _b = 0, _c = getRobots(); _b < _c.length; _b++) { 1-> @@ -448,19 +449,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 11> getRobots() 12> ) 13> { -1->Emitted(17, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(17, 6) Source(24, 23) + SourceIndex(0) -3 >Emitted(17, 16) Source(24, 34) + SourceIndex(0) -4 >Emitted(17, 18) Source(24, 23) + SourceIndex(0) -5 >Emitted(17, 23) Source(24, 23) + SourceIndex(0) -6 >Emitted(17, 32) Source(24, 32) + SourceIndex(0) -7 >Emitted(17, 34) Source(24, 34) + SourceIndex(0) -8 >Emitted(17, 36) Source(24, 23) + SourceIndex(0) -9 >Emitted(17, 50) Source(24, 34) + SourceIndex(0) -10>Emitted(17, 52) Source(24, 23) + SourceIndex(0) -11>Emitted(17, 56) Source(24, 34) + SourceIndex(0) -12>Emitted(17, 58) Source(24, 36) + SourceIndex(0) -13>Emitted(17, 59) Source(24, 37) + SourceIndex(0) +1->Emitted(18, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(18, 6) Source(24, 23) + SourceIndex(0) +3 >Emitted(18, 16) Source(24, 34) + SourceIndex(0) +4 >Emitted(18, 18) Source(24, 23) + SourceIndex(0) +5 >Emitted(18, 23) Source(24, 23) + SourceIndex(0) +6 >Emitted(18, 32) Source(24, 32) + SourceIndex(0) +7 >Emitted(18, 34) Source(24, 34) + SourceIndex(0) +8 >Emitted(18, 36) Source(24, 23) + SourceIndex(0) +9 >Emitted(18, 50) Source(24, 34) + SourceIndex(0) +10>Emitted(18, 52) Source(24, 23) + SourceIndex(0) +11>Emitted(18, 56) Source(24, 34) + SourceIndex(0) +12>Emitted(18, 58) Source(24, 36) + SourceIndex(0) +13>Emitted(18, 59) Source(24, 37) + SourceIndex(0) --- >>> var _d = _c[_b], nameA = _d[1]; 1 >^^^^ @@ -475,12 +476,12 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 4 > 5 > nameA 6 > -1 >Emitted(18, 5) Source(24, 10) + SourceIndex(0) -2 >Emitted(18, 9) Source(24, 10) + SourceIndex(0) -3 >Emitted(18, 20) Source(24, 19) + SourceIndex(0) -4 >Emitted(18, 22) Source(24, 13) + SourceIndex(0) -5 >Emitted(18, 27) Source(24, 18) + SourceIndex(0) -6 >Emitted(18, 35) Source(24, 18) + SourceIndex(0) +1 >Emitted(19, 5) Source(24, 10) + SourceIndex(0) +2 >Emitted(19, 9) Source(24, 10) + SourceIndex(0) +3 >Emitted(19, 20) Source(24, 19) + SourceIndex(0) +4 >Emitted(19, 22) Source(24, 13) + SourceIndex(0) +5 >Emitted(19, 27) Source(24, 18) + SourceIndex(0) +6 >Emitted(19, 35) Source(24, 18) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -500,14 +501,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(19, 5) Source(25, 5) + SourceIndex(0) -2 >Emitted(19, 12) Source(25, 12) + SourceIndex(0) -3 >Emitted(19, 13) Source(25, 13) + SourceIndex(0) -4 >Emitted(19, 16) Source(25, 16) + SourceIndex(0) -5 >Emitted(19, 17) Source(25, 17) + SourceIndex(0) -6 >Emitted(19, 22) Source(25, 22) + SourceIndex(0) -7 >Emitted(19, 23) Source(25, 23) + SourceIndex(0) -8 >Emitted(19, 24) Source(25, 24) + SourceIndex(0) +1 >Emitted(20, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(20, 12) Source(25, 12) + SourceIndex(0) +3 >Emitted(20, 13) Source(25, 13) + SourceIndex(0) +4 >Emitted(20, 16) Source(25, 16) + SourceIndex(0) +5 >Emitted(20, 17) Source(25, 17) + SourceIndex(0) +6 >Emitted(20, 22) Source(25, 22) + SourceIndex(0) +7 >Emitted(20, 23) Source(25, 23) + SourceIndex(0) +8 >Emitted(20, 24) Source(25, 24) + SourceIndex(0) --- >>>} 1 > @@ -516,8 +517,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(20, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(20, 2) Source(26, 2) + SourceIndex(0) +1 >Emitted(21, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(21, 2) Source(26, 2) + SourceIndex(0) --- >>>for (var _e = 0, _f = [robotA, robotB]; _e < _f.length; _e++) { 1-> @@ -551,21 +552,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 13> [robotA, robotB] 14> ) 15> { -1->Emitted(21, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(21, 6) Source(27, 23) + SourceIndex(0) -3 >Emitted(21, 16) Source(27, 39) + SourceIndex(0) -4 >Emitted(21, 18) Source(27, 23) + SourceIndex(0) -5 >Emitted(21, 24) Source(27, 24) + SourceIndex(0) -6 >Emitted(21, 30) Source(27, 30) + SourceIndex(0) -7 >Emitted(21, 32) Source(27, 32) + SourceIndex(0) -8 >Emitted(21, 38) Source(27, 38) + SourceIndex(0) -9 >Emitted(21, 39) Source(27, 39) + SourceIndex(0) -10>Emitted(21, 41) Source(27, 23) + SourceIndex(0) -11>Emitted(21, 55) Source(27, 39) + SourceIndex(0) -12>Emitted(21, 57) Source(27, 23) + SourceIndex(0) -13>Emitted(21, 61) Source(27, 39) + SourceIndex(0) -14>Emitted(21, 63) Source(27, 41) + SourceIndex(0) -15>Emitted(21, 64) Source(27, 42) + SourceIndex(0) +1->Emitted(22, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(22, 6) Source(27, 23) + SourceIndex(0) +3 >Emitted(22, 16) Source(27, 39) + SourceIndex(0) +4 >Emitted(22, 18) Source(27, 23) + SourceIndex(0) +5 >Emitted(22, 24) Source(27, 24) + SourceIndex(0) +6 >Emitted(22, 30) Source(27, 30) + SourceIndex(0) +7 >Emitted(22, 32) Source(27, 32) + SourceIndex(0) +8 >Emitted(22, 38) Source(27, 38) + SourceIndex(0) +9 >Emitted(22, 39) Source(27, 39) + SourceIndex(0) +10>Emitted(22, 41) Source(27, 23) + SourceIndex(0) +11>Emitted(22, 55) Source(27, 39) + SourceIndex(0) +12>Emitted(22, 57) Source(27, 23) + SourceIndex(0) +13>Emitted(22, 61) Source(27, 39) + SourceIndex(0) +14>Emitted(22, 63) Source(27, 41) + SourceIndex(0) +15>Emitted(22, 64) Source(27, 42) + SourceIndex(0) --- >>> var _g = _f[_e], nameA = _g[1]; 1 >^^^^ @@ -580,12 +581,12 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 4 > 5 > nameA 6 > -1 >Emitted(22, 5) Source(27, 10) + SourceIndex(0) -2 >Emitted(22, 9) Source(27, 10) + SourceIndex(0) -3 >Emitted(22, 20) Source(27, 19) + SourceIndex(0) -4 >Emitted(22, 22) Source(27, 13) + SourceIndex(0) -5 >Emitted(22, 27) Source(27, 18) + SourceIndex(0) -6 >Emitted(22, 35) Source(27, 18) + SourceIndex(0) +1 >Emitted(23, 5) Source(27, 10) + SourceIndex(0) +2 >Emitted(23, 9) Source(27, 10) + SourceIndex(0) +3 >Emitted(23, 20) Source(27, 19) + SourceIndex(0) +4 >Emitted(23, 22) Source(27, 13) + SourceIndex(0) +5 >Emitted(23, 27) Source(27, 18) + SourceIndex(0) +6 >Emitted(23, 35) Source(27, 18) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -605,14 +606,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(23, 5) Source(28, 5) + SourceIndex(0) -2 >Emitted(23, 12) Source(28, 12) + SourceIndex(0) -3 >Emitted(23, 13) Source(28, 13) + SourceIndex(0) -4 >Emitted(23, 16) Source(28, 16) + SourceIndex(0) -5 >Emitted(23, 17) Source(28, 17) + SourceIndex(0) -6 >Emitted(23, 22) Source(28, 22) + SourceIndex(0) -7 >Emitted(23, 23) Source(28, 23) + SourceIndex(0) -8 >Emitted(23, 24) Source(28, 24) + SourceIndex(0) +1 >Emitted(24, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(24, 12) Source(28, 12) + SourceIndex(0) +3 >Emitted(24, 13) Source(28, 13) + SourceIndex(0) +4 >Emitted(24, 16) Source(28, 16) + SourceIndex(0) +5 >Emitted(24, 17) Source(28, 17) + SourceIndex(0) +6 >Emitted(24, 22) Source(28, 22) + SourceIndex(0) +7 >Emitted(24, 23) Source(28, 23) + SourceIndex(0) +8 >Emitted(24, 24) Source(28, 24) + SourceIndex(0) --- >>>} 1 > @@ -621,8 +622,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(24, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(24, 2) Source(29, 2) + SourceIndex(0) +1 >Emitted(25, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(25, 2) Source(29, 2) + SourceIndex(0) --- >>>for (var _h = 0, multiRobots_1 = multiRobots; _h < multiRobots_1.length; _h++) { 1-> @@ -649,17 +650,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 9 > multiRobots 10> ) 11> { -1->Emitted(25, 1) Source(30, 1) + SourceIndex(0) -2 >Emitted(25, 6) Source(30, 50) + SourceIndex(0) -3 >Emitted(25, 16) Source(30, 61) + SourceIndex(0) -4 >Emitted(25, 18) Source(30, 50) + SourceIndex(0) -5 >Emitted(25, 45) Source(30, 61) + SourceIndex(0) -6 >Emitted(25, 47) Source(30, 50) + SourceIndex(0) -7 >Emitted(25, 72) Source(30, 61) + SourceIndex(0) -8 >Emitted(25, 74) Source(30, 50) + SourceIndex(0) -9 >Emitted(25, 78) Source(30, 61) + SourceIndex(0) -10>Emitted(25, 80) Source(30, 63) + SourceIndex(0) -11>Emitted(25, 81) Source(30, 64) + SourceIndex(0) +1->Emitted(26, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(26, 6) Source(30, 50) + SourceIndex(0) +3 >Emitted(26, 16) Source(30, 61) + SourceIndex(0) +4 >Emitted(26, 18) Source(30, 50) + SourceIndex(0) +5 >Emitted(26, 45) Source(30, 61) + SourceIndex(0) +6 >Emitted(26, 47) Source(30, 50) + SourceIndex(0) +7 >Emitted(26, 72) Source(30, 61) + SourceIndex(0) +8 >Emitted(26, 74) Source(30, 50) + SourceIndex(0) +9 >Emitted(26, 78) Source(30, 61) + SourceIndex(0) +10>Emitted(26, 80) Source(30, 63) + SourceIndex(0) +11>Emitted(26, 81) Source(30, 64) + SourceIndex(0) --- >>> var _j = multiRobots_1[_h], _k = _j[1], primarySkillA = _k[0], secondarySkillA = _k[1]; 1->^^^^ @@ -684,17 +685,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 9 > , 10> secondarySkillA 11> -1->Emitted(26, 5) Source(30, 10) + SourceIndex(0) -2 >Emitted(26, 9) Source(30, 10) + SourceIndex(0) -3 >Emitted(26, 31) Source(30, 46) + SourceIndex(0) -4 >Emitted(26, 33) Source(30, 13) + SourceIndex(0) -5 >Emitted(26, 43) Source(30, 45) + SourceIndex(0) -6 >Emitted(26, 45) Source(30, 14) + SourceIndex(0) -7 >Emitted(26, 58) Source(30, 27) + SourceIndex(0) -8 >Emitted(26, 66) Source(30, 27) + SourceIndex(0) -9 >Emitted(26, 68) Source(30, 29) + SourceIndex(0) -10>Emitted(26, 83) Source(30, 44) + SourceIndex(0) -11>Emitted(26, 91) Source(30, 44) + SourceIndex(0) +1->Emitted(27, 5) Source(30, 10) + SourceIndex(0) +2 >Emitted(27, 9) Source(30, 10) + SourceIndex(0) +3 >Emitted(27, 31) Source(30, 46) + SourceIndex(0) +4 >Emitted(27, 33) Source(30, 13) + SourceIndex(0) +5 >Emitted(27, 43) Source(30, 45) + SourceIndex(0) +6 >Emitted(27, 45) Source(30, 14) + SourceIndex(0) +7 >Emitted(27, 58) Source(30, 27) + SourceIndex(0) +8 >Emitted(27, 66) Source(30, 27) + SourceIndex(0) +9 >Emitted(27, 68) Source(30, 29) + SourceIndex(0) +10>Emitted(27, 83) Source(30, 44) + SourceIndex(0) +11>Emitted(27, 91) Source(30, 44) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -714,14 +715,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(27, 5) Source(31, 5) + SourceIndex(0) -2 >Emitted(27, 12) Source(31, 12) + SourceIndex(0) -3 >Emitted(27, 13) Source(31, 13) + SourceIndex(0) -4 >Emitted(27, 16) Source(31, 16) + SourceIndex(0) -5 >Emitted(27, 17) Source(31, 17) + SourceIndex(0) -6 >Emitted(27, 30) Source(31, 30) + SourceIndex(0) -7 >Emitted(27, 31) Source(31, 31) + SourceIndex(0) -8 >Emitted(27, 32) Source(31, 32) + SourceIndex(0) +1 >Emitted(28, 5) Source(31, 5) + SourceIndex(0) +2 >Emitted(28, 12) Source(31, 12) + SourceIndex(0) +3 >Emitted(28, 13) Source(31, 13) + SourceIndex(0) +4 >Emitted(28, 16) Source(31, 16) + SourceIndex(0) +5 >Emitted(28, 17) Source(31, 17) + SourceIndex(0) +6 >Emitted(28, 30) Source(31, 30) + SourceIndex(0) +7 >Emitted(28, 31) Source(31, 31) + SourceIndex(0) +8 >Emitted(28, 32) Source(31, 32) + SourceIndex(0) --- >>>} 1 > @@ -730,8 +731,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(28, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(28, 2) Source(32, 2) + SourceIndex(0) +1 >Emitted(29, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(29, 2) Source(32, 2) + SourceIndex(0) --- >>>for (var _l = 0, _m = getMultiRobots(); _l < _m.length; _l++) { 1-> @@ -762,19 +763,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(29, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(29, 6) Source(33, 50) + SourceIndex(0) -3 >Emitted(29, 16) Source(33, 66) + SourceIndex(0) -4 >Emitted(29, 18) Source(33, 50) + SourceIndex(0) -5 >Emitted(29, 23) Source(33, 50) + SourceIndex(0) -6 >Emitted(29, 37) Source(33, 64) + SourceIndex(0) -7 >Emitted(29, 39) Source(33, 66) + SourceIndex(0) -8 >Emitted(29, 41) Source(33, 50) + SourceIndex(0) -9 >Emitted(29, 55) Source(33, 66) + SourceIndex(0) -10>Emitted(29, 57) Source(33, 50) + SourceIndex(0) -11>Emitted(29, 61) Source(33, 66) + SourceIndex(0) -12>Emitted(29, 63) Source(33, 68) + SourceIndex(0) -13>Emitted(29, 64) Source(33, 69) + SourceIndex(0) +1->Emitted(30, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(30, 6) Source(33, 50) + SourceIndex(0) +3 >Emitted(30, 16) Source(33, 66) + SourceIndex(0) +4 >Emitted(30, 18) Source(33, 50) + SourceIndex(0) +5 >Emitted(30, 23) Source(33, 50) + SourceIndex(0) +6 >Emitted(30, 37) Source(33, 64) + SourceIndex(0) +7 >Emitted(30, 39) Source(33, 66) + SourceIndex(0) +8 >Emitted(30, 41) Source(33, 50) + SourceIndex(0) +9 >Emitted(30, 55) Source(33, 66) + SourceIndex(0) +10>Emitted(30, 57) Source(33, 50) + SourceIndex(0) +11>Emitted(30, 61) Source(33, 66) + SourceIndex(0) +12>Emitted(30, 63) Source(33, 68) + SourceIndex(0) +13>Emitted(30, 64) Source(33, 69) + SourceIndex(0) --- >>> var _o = _m[_l], _p = _o[1], primarySkillA = _p[0], secondarySkillA = _p[1]; 1->^^^^ @@ -799,17 +800,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 9 > , 10> secondarySkillA 11> -1->Emitted(30, 5) Source(33, 10) + SourceIndex(0) -2 >Emitted(30, 9) Source(33, 10) + SourceIndex(0) -3 >Emitted(30, 20) Source(33, 46) + SourceIndex(0) -4 >Emitted(30, 22) Source(33, 13) + SourceIndex(0) -5 >Emitted(30, 32) Source(33, 45) + SourceIndex(0) -6 >Emitted(30, 34) Source(33, 14) + SourceIndex(0) -7 >Emitted(30, 47) Source(33, 27) + SourceIndex(0) -8 >Emitted(30, 55) Source(33, 27) + SourceIndex(0) -9 >Emitted(30, 57) Source(33, 29) + SourceIndex(0) -10>Emitted(30, 72) Source(33, 44) + SourceIndex(0) -11>Emitted(30, 80) Source(33, 44) + SourceIndex(0) +1->Emitted(31, 5) Source(33, 10) + SourceIndex(0) +2 >Emitted(31, 9) Source(33, 10) + SourceIndex(0) +3 >Emitted(31, 20) Source(33, 46) + SourceIndex(0) +4 >Emitted(31, 22) Source(33, 13) + SourceIndex(0) +5 >Emitted(31, 32) Source(33, 45) + SourceIndex(0) +6 >Emitted(31, 34) Source(33, 14) + SourceIndex(0) +7 >Emitted(31, 47) Source(33, 27) + SourceIndex(0) +8 >Emitted(31, 55) Source(33, 27) + SourceIndex(0) +9 >Emitted(31, 57) Source(33, 29) + SourceIndex(0) +10>Emitted(31, 72) Source(33, 44) + SourceIndex(0) +11>Emitted(31, 80) Source(33, 44) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -829,14 +830,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(31, 5) Source(34, 5) + SourceIndex(0) -2 >Emitted(31, 12) Source(34, 12) + SourceIndex(0) -3 >Emitted(31, 13) Source(34, 13) + SourceIndex(0) -4 >Emitted(31, 16) Source(34, 16) + SourceIndex(0) -5 >Emitted(31, 17) Source(34, 17) + SourceIndex(0) -6 >Emitted(31, 30) Source(34, 30) + SourceIndex(0) -7 >Emitted(31, 31) Source(34, 31) + SourceIndex(0) -8 >Emitted(31, 32) Source(34, 32) + SourceIndex(0) +1 >Emitted(32, 5) Source(34, 5) + SourceIndex(0) +2 >Emitted(32, 12) Source(34, 12) + SourceIndex(0) +3 >Emitted(32, 13) Source(34, 13) + SourceIndex(0) +4 >Emitted(32, 16) Source(34, 16) + SourceIndex(0) +5 >Emitted(32, 17) Source(34, 17) + SourceIndex(0) +6 >Emitted(32, 30) Source(34, 30) + SourceIndex(0) +7 >Emitted(32, 31) Source(34, 31) + SourceIndex(0) +8 >Emitted(32, 32) Source(34, 32) + SourceIndex(0) --- >>>} 1 > @@ -845,8 +846,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(32, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(32, 2) Source(35, 2) + SourceIndex(0) +1 >Emitted(33, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(33, 2) Source(35, 2) + SourceIndex(0) --- >>>for (var _q = 0, _r = [multiRobotA, multiRobotB]; _q < _r.length; _q++) { 1-> @@ -881,21 +882,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(33, 1) Source(36, 1) + SourceIndex(0) -2 >Emitted(33, 6) Source(36, 50) + SourceIndex(0) -3 >Emitted(33, 16) Source(36, 76) + SourceIndex(0) -4 >Emitted(33, 18) Source(36, 50) + SourceIndex(0) -5 >Emitted(33, 24) Source(36, 51) + SourceIndex(0) -6 >Emitted(33, 35) Source(36, 62) + SourceIndex(0) -7 >Emitted(33, 37) Source(36, 64) + SourceIndex(0) -8 >Emitted(33, 48) Source(36, 75) + SourceIndex(0) -9 >Emitted(33, 49) Source(36, 76) + SourceIndex(0) -10>Emitted(33, 51) Source(36, 50) + SourceIndex(0) -11>Emitted(33, 65) Source(36, 76) + SourceIndex(0) -12>Emitted(33, 67) Source(36, 50) + SourceIndex(0) -13>Emitted(33, 71) Source(36, 76) + SourceIndex(0) -14>Emitted(33, 73) Source(36, 78) + SourceIndex(0) -15>Emitted(33, 74) Source(36, 79) + SourceIndex(0) +1->Emitted(34, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(34, 6) Source(36, 50) + SourceIndex(0) +3 >Emitted(34, 16) Source(36, 76) + SourceIndex(0) +4 >Emitted(34, 18) Source(36, 50) + SourceIndex(0) +5 >Emitted(34, 24) Source(36, 51) + SourceIndex(0) +6 >Emitted(34, 35) Source(36, 62) + SourceIndex(0) +7 >Emitted(34, 37) Source(36, 64) + SourceIndex(0) +8 >Emitted(34, 48) Source(36, 75) + SourceIndex(0) +9 >Emitted(34, 49) Source(36, 76) + SourceIndex(0) +10>Emitted(34, 51) Source(36, 50) + SourceIndex(0) +11>Emitted(34, 65) Source(36, 76) + SourceIndex(0) +12>Emitted(34, 67) Source(36, 50) + SourceIndex(0) +13>Emitted(34, 71) Source(36, 76) + SourceIndex(0) +14>Emitted(34, 73) Source(36, 78) + SourceIndex(0) +15>Emitted(34, 74) Source(36, 79) + SourceIndex(0) --- >>> var _s = _r[_q], _t = _s[1], primarySkillA = _t[0], secondarySkillA = _t[1]; 1->^^^^ @@ -920,17 +921,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 9 > , 10> secondarySkillA 11> -1->Emitted(34, 5) Source(36, 10) + SourceIndex(0) -2 >Emitted(34, 9) Source(36, 10) + SourceIndex(0) -3 >Emitted(34, 20) Source(36, 46) + SourceIndex(0) -4 >Emitted(34, 22) Source(36, 13) + SourceIndex(0) -5 >Emitted(34, 32) Source(36, 45) + SourceIndex(0) -6 >Emitted(34, 34) Source(36, 14) + SourceIndex(0) -7 >Emitted(34, 47) Source(36, 27) + SourceIndex(0) -8 >Emitted(34, 55) Source(36, 27) + SourceIndex(0) -9 >Emitted(34, 57) Source(36, 29) + SourceIndex(0) -10>Emitted(34, 72) Source(36, 44) + SourceIndex(0) -11>Emitted(34, 80) Source(36, 44) + SourceIndex(0) +1->Emitted(35, 5) Source(36, 10) + SourceIndex(0) +2 >Emitted(35, 9) Source(36, 10) + SourceIndex(0) +3 >Emitted(35, 20) Source(36, 46) + SourceIndex(0) +4 >Emitted(35, 22) Source(36, 13) + SourceIndex(0) +5 >Emitted(35, 32) Source(36, 45) + SourceIndex(0) +6 >Emitted(35, 34) Source(36, 14) + SourceIndex(0) +7 >Emitted(35, 47) Source(36, 27) + SourceIndex(0) +8 >Emitted(35, 55) Source(36, 27) + SourceIndex(0) +9 >Emitted(35, 57) Source(36, 29) + SourceIndex(0) +10>Emitted(35, 72) Source(36, 44) + SourceIndex(0) +11>Emitted(35, 80) Source(36, 44) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -950,14 +951,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(35, 5) Source(37, 5) + SourceIndex(0) -2 >Emitted(35, 12) Source(37, 12) + SourceIndex(0) -3 >Emitted(35, 13) Source(37, 13) + SourceIndex(0) -4 >Emitted(35, 16) Source(37, 16) + SourceIndex(0) -5 >Emitted(35, 17) Source(37, 17) + SourceIndex(0) -6 >Emitted(35, 30) Source(37, 30) + SourceIndex(0) -7 >Emitted(35, 31) Source(37, 31) + SourceIndex(0) -8 >Emitted(35, 32) Source(37, 32) + SourceIndex(0) +1 >Emitted(36, 5) Source(37, 5) + SourceIndex(0) +2 >Emitted(36, 12) Source(37, 12) + SourceIndex(0) +3 >Emitted(36, 13) Source(37, 13) + SourceIndex(0) +4 >Emitted(36, 16) Source(37, 16) + SourceIndex(0) +5 >Emitted(36, 17) Source(37, 17) + SourceIndex(0) +6 >Emitted(36, 30) Source(37, 30) + SourceIndex(0) +7 >Emitted(36, 31) Source(37, 31) + SourceIndex(0) +8 >Emitted(36, 32) Source(37, 32) + SourceIndex(0) --- >>>} 1 > @@ -966,8 +967,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(36, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(36, 2) Source(38, 2) + SourceIndex(0) +1 >Emitted(37, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(37, 2) Source(38, 2) + SourceIndex(0) --- >>>for (var _u = 0, robots_2 = robots; _u < robots_2.length; _u++) { 1-> @@ -994,17 +995,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 9 > robots 10> ) 11> { -1->Emitted(37, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(37, 6) Source(40, 23) + SourceIndex(0) -3 >Emitted(37, 16) Source(40, 29) + SourceIndex(0) -4 >Emitted(37, 18) Source(40, 23) + SourceIndex(0) -5 >Emitted(37, 35) Source(40, 29) + SourceIndex(0) -6 >Emitted(37, 37) Source(40, 23) + SourceIndex(0) -7 >Emitted(37, 57) Source(40, 29) + SourceIndex(0) -8 >Emitted(37, 59) Source(40, 23) + SourceIndex(0) -9 >Emitted(37, 63) Source(40, 29) + SourceIndex(0) -10>Emitted(37, 65) Source(40, 31) + SourceIndex(0) -11>Emitted(37, 66) Source(40, 32) + SourceIndex(0) +1->Emitted(38, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(38, 6) Source(40, 23) + SourceIndex(0) +3 >Emitted(38, 16) Source(40, 29) + SourceIndex(0) +4 >Emitted(38, 18) Source(40, 23) + SourceIndex(0) +5 >Emitted(38, 35) Source(40, 29) + SourceIndex(0) +6 >Emitted(38, 37) Source(40, 23) + SourceIndex(0) +7 >Emitted(38, 57) Source(40, 29) + SourceIndex(0) +8 >Emitted(38, 59) Source(40, 23) + SourceIndex(0) +9 >Emitted(38, 63) Source(40, 29) + SourceIndex(0) +10>Emitted(38, 65) Source(40, 31) + SourceIndex(0) +11>Emitted(38, 66) Source(40, 32) + SourceIndex(0) --- >>> var numberB = robots_2[_u][0]; 1 >^^^^ @@ -1015,10 +1016,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 2 > 3 > numberB 4 > -1 >Emitted(38, 5) Source(40, 11) + SourceIndex(0) -2 >Emitted(38, 9) Source(40, 11) + SourceIndex(0) -3 >Emitted(38, 16) Source(40, 18) + SourceIndex(0) -4 >Emitted(38, 34) Source(40, 18) + SourceIndex(0) +1 >Emitted(39, 5) Source(40, 11) + SourceIndex(0) +2 >Emitted(39, 9) Source(40, 11) + SourceIndex(0) +3 >Emitted(39, 16) Source(40, 18) + SourceIndex(0) +4 >Emitted(39, 34) Source(40, 18) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1038,14 +1039,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > numberB 7 > ) 8 > ; -1 >Emitted(39, 5) Source(41, 5) + SourceIndex(0) -2 >Emitted(39, 12) Source(41, 12) + SourceIndex(0) -3 >Emitted(39, 13) Source(41, 13) + SourceIndex(0) -4 >Emitted(39, 16) Source(41, 16) + SourceIndex(0) -5 >Emitted(39, 17) Source(41, 17) + SourceIndex(0) -6 >Emitted(39, 24) Source(41, 24) + SourceIndex(0) -7 >Emitted(39, 25) Source(41, 25) + SourceIndex(0) -8 >Emitted(39, 26) Source(41, 26) + SourceIndex(0) +1 >Emitted(40, 5) Source(41, 5) + SourceIndex(0) +2 >Emitted(40, 12) Source(41, 12) + SourceIndex(0) +3 >Emitted(40, 13) Source(41, 13) + SourceIndex(0) +4 >Emitted(40, 16) Source(41, 16) + SourceIndex(0) +5 >Emitted(40, 17) Source(41, 17) + SourceIndex(0) +6 >Emitted(40, 24) Source(41, 24) + SourceIndex(0) +7 >Emitted(40, 25) Source(41, 25) + SourceIndex(0) +8 >Emitted(40, 26) Source(41, 26) + SourceIndex(0) --- >>>} 1 > @@ -1054,8 +1055,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(40, 1) Source(42, 1) + SourceIndex(0) -2 >Emitted(40, 2) Source(42, 2) + SourceIndex(0) +1 >Emitted(41, 1) Source(42, 1) + SourceIndex(0) +2 >Emitted(41, 2) Source(42, 2) + SourceIndex(0) --- >>>for (var _v = 0, _w = getRobots(); _v < _w.length; _v++) { 1-> @@ -1085,19 +1086,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 11> getRobots() 12> ) 13> { -1->Emitted(41, 1) Source(43, 1) + SourceIndex(0) -2 >Emitted(41, 6) Source(43, 23) + SourceIndex(0) -3 >Emitted(41, 16) Source(43, 34) + SourceIndex(0) -4 >Emitted(41, 18) Source(43, 23) + SourceIndex(0) -5 >Emitted(41, 23) Source(43, 23) + SourceIndex(0) -6 >Emitted(41, 32) Source(43, 32) + SourceIndex(0) -7 >Emitted(41, 34) Source(43, 34) + SourceIndex(0) -8 >Emitted(41, 36) Source(43, 23) + SourceIndex(0) -9 >Emitted(41, 50) Source(43, 34) + SourceIndex(0) -10>Emitted(41, 52) Source(43, 23) + SourceIndex(0) -11>Emitted(41, 56) Source(43, 34) + SourceIndex(0) -12>Emitted(41, 58) Source(43, 36) + SourceIndex(0) -13>Emitted(41, 59) Source(43, 37) + SourceIndex(0) +1->Emitted(42, 1) Source(43, 1) + SourceIndex(0) +2 >Emitted(42, 6) Source(43, 23) + SourceIndex(0) +3 >Emitted(42, 16) Source(43, 34) + SourceIndex(0) +4 >Emitted(42, 18) Source(43, 23) + SourceIndex(0) +5 >Emitted(42, 23) Source(43, 23) + SourceIndex(0) +6 >Emitted(42, 32) Source(43, 32) + SourceIndex(0) +7 >Emitted(42, 34) Source(43, 34) + SourceIndex(0) +8 >Emitted(42, 36) Source(43, 23) + SourceIndex(0) +9 >Emitted(42, 50) Source(43, 34) + SourceIndex(0) +10>Emitted(42, 52) Source(43, 23) + SourceIndex(0) +11>Emitted(42, 56) Source(43, 34) + SourceIndex(0) +12>Emitted(42, 58) Source(43, 36) + SourceIndex(0) +13>Emitted(42, 59) Source(43, 37) + SourceIndex(0) --- >>> var numberB = _w[_v][0]; 1 >^^^^ @@ -1108,10 +1109,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 2 > 3 > numberB 4 > -1 >Emitted(42, 5) Source(43, 11) + SourceIndex(0) -2 >Emitted(42, 9) Source(43, 11) + SourceIndex(0) -3 >Emitted(42, 16) Source(43, 18) + SourceIndex(0) -4 >Emitted(42, 28) Source(43, 18) + SourceIndex(0) +1 >Emitted(43, 5) Source(43, 11) + SourceIndex(0) +2 >Emitted(43, 9) Source(43, 11) + SourceIndex(0) +3 >Emitted(43, 16) Source(43, 18) + SourceIndex(0) +4 >Emitted(43, 28) Source(43, 18) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1131,14 +1132,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > numberB 7 > ) 8 > ; -1 >Emitted(43, 5) Source(44, 5) + SourceIndex(0) -2 >Emitted(43, 12) Source(44, 12) + SourceIndex(0) -3 >Emitted(43, 13) Source(44, 13) + SourceIndex(0) -4 >Emitted(43, 16) Source(44, 16) + SourceIndex(0) -5 >Emitted(43, 17) Source(44, 17) + SourceIndex(0) -6 >Emitted(43, 24) Source(44, 24) + SourceIndex(0) -7 >Emitted(43, 25) Source(44, 25) + SourceIndex(0) -8 >Emitted(43, 26) Source(44, 26) + SourceIndex(0) +1 >Emitted(44, 5) Source(44, 5) + SourceIndex(0) +2 >Emitted(44, 12) Source(44, 12) + SourceIndex(0) +3 >Emitted(44, 13) Source(44, 13) + SourceIndex(0) +4 >Emitted(44, 16) Source(44, 16) + SourceIndex(0) +5 >Emitted(44, 17) Source(44, 17) + SourceIndex(0) +6 >Emitted(44, 24) Source(44, 24) + SourceIndex(0) +7 >Emitted(44, 25) Source(44, 25) + SourceIndex(0) +8 >Emitted(44, 26) Source(44, 26) + SourceIndex(0) --- >>>} 1 > @@ -1147,8 +1148,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(44, 1) Source(45, 1) + SourceIndex(0) -2 >Emitted(44, 2) Source(45, 2) + SourceIndex(0) +1 >Emitted(45, 1) Source(45, 1) + SourceIndex(0) +2 >Emitted(45, 2) Source(45, 2) + SourceIndex(0) --- >>>for (var _x = 0, _y = [robotA, robotB]; _x < _y.length; _x++) { 1-> @@ -1182,21 +1183,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 13> [robotA, robotB] 14> ) 15> { -1->Emitted(45, 1) Source(46, 1) + SourceIndex(0) -2 >Emitted(45, 6) Source(46, 23) + SourceIndex(0) -3 >Emitted(45, 16) Source(46, 39) + SourceIndex(0) -4 >Emitted(45, 18) Source(46, 23) + SourceIndex(0) -5 >Emitted(45, 24) Source(46, 24) + SourceIndex(0) -6 >Emitted(45, 30) Source(46, 30) + SourceIndex(0) -7 >Emitted(45, 32) Source(46, 32) + SourceIndex(0) -8 >Emitted(45, 38) Source(46, 38) + SourceIndex(0) -9 >Emitted(45, 39) Source(46, 39) + SourceIndex(0) -10>Emitted(45, 41) Source(46, 23) + SourceIndex(0) -11>Emitted(45, 55) Source(46, 39) + SourceIndex(0) -12>Emitted(45, 57) Source(46, 23) + SourceIndex(0) -13>Emitted(45, 61) Source(46, 39) + SourceIndex(0) -14>Emitted(45, 63) Source(46, 41) + SourceIndex(0) -15>Emitted(45, 64) Source(46, 42) + SourceIndex(0) +1->Emitted(46, 1) Source(46, 1) + SourceIndex(0) +2 >Emitted(46, 6) Source(46, 23) + SourceIndex(0) +3 >Emitted(46, 16) Source(46, 39) + SourceIndex(0) +4 >Emitted(46, 18) Source(46, 23) + SourceIndex(0) +5 >Emitted(46, 24) Source(46, 24) + SourceIndex(0) +6 >Emitted(46, 30) Source(46, 30) + SourceIndex(0) +7 >Emitted(46, 32) Source(46, 32) + SourceIndex(0) +8 >Emitted(46, 38) Source(46, 38) + SourceIndex(0) +9 >Emitted(46, 39) Source(46, 39) + SourceIndex(0) +10>Emitted(46, 41) Source(46, 23) + SourceIndex(0) +11>Emitted(46, 55) Source(46, 39) + SourceIndex(0) +12>Emitted(46, 57) Source(46, 23) + SourceIndex(0) +13>Emitted(46, 61) Source(46, 39) + SourceIndex(0) +14>Emitted(46, 63) Source(46, 41) + SourceIndex(0) +15>Emitted(46, 64) Source(46, 42) + SourceIndex(0) --- >>> var numberB = _y[_x][0]; 1 >^^^^ @@ -1207,10 +1208,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 2 > 3 > numberB 4 > -1 >Emitted(46, 5) Source(46, 11) + SourceIndex(0) -2 >Emitted(46, 9) Source(46, 11) + SourceIndex(0) -3 >Emitted(46, 16) Source(46, 18) + SourceIndex(0) -4 >Emitted(46, 28) Source(46, 18) + SourceIndex(0) +1 >Emitted(47, 5) Source(46, 11) + SourceIndex(0) +2 >Emitted(47, 9) Source(46, 11) + SourceIndex(0) +3 >Emitted(47, 16) Source(46, 18) + SourceIndex(0) +4 >Emitted(47, 28) Source(46, 18) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1230,14 +1231,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > numberB 7 > ) 8 > ; -1 >Emitted(47, 5) Source(47, 5) + SourceIndex(0) -2 >Emitted(47, 12) Source(47, 12) + SourceIndex(0) -3 >Emitted(47, 13) Source(47, 13) + SourceIndex(0) -4 >Emitted(47, 16) Source(47, 16) + SourceIndex(0) -5 >Emitted(47, 17) Source(47, 17) + SourceIndex(0) -6 >Emitted(47, 24) Source(47, 24) + SourceIndex(0) -7 >Emitted(47, 25) Source(47, 25) + SourceIndex(0) -8 >Emitted(47, 26) Source(47, 26) + SourceIndex(0) +1 >Emitted(48, 5) Source(47, 5) + SourceIndex(0) +2 >Emitted(48, 12) Source(47, 12) + SourceIndex(0) +3 >Emitted(48, 13) Source(47, 13) + SourceIndex(0) +4 >Emitted(48, 16) Source(47, 16) + SourceIndex(0) +5 >Emitted(48, 17) Source(47, 17) + SourceIndex(0) +6 >Emitted(48, 24) Source(47, 24) + SourceIndex(0) +7 >Emitted(48, 25) Source(47, 25) + SourceIndex(0) +8 >Emitted(48, 26) Source(47, 26) + SourceIndex(0) --- >>>} 1 > @@ -1246,8 +1247,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(48, 1) Source(48, 1) + SourceIndex(0) -2 >Emitted(48, 2) Source(48, 2) + SourceIndex(0) +1 >Emitted(49, 1) Source(48, 1) + SourceIndex(0) +2 >Emitted(49, 2) Source(48, 2) + SourceIndex(0) --- >>>for (var _z = 0, multiRobots_2 = multiRobots; _z < multiRobots_2.length; _z++) { 1-> @@ -1273,17 +1274,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 9 > multiRobots 10> ) 11> { -1->Emitted(49, 1) Source(49, 1) + SourceIndex(0) -2 >Emitted(49, 6) Source(49, 21) + SourceIndex(0) -3 >Emitted(49, 16) Source(49, 32) + SourceIndex(0) -4 >Emitted(49, 18) Source(49, 21) + SourceIndex(0) -5 >Emitted(49, 45) Source(49, 32) + SourceIndex(0) -6 >Emitted(49, 47) Source(49, 21) + SourceIndex(0) -7 >Emitted(49, 72) Source(49, 32) + SourceIndex(0) -8 >Emitted(49, 74) Source(49, 21) + SourceIndex(0) -9 >Emitted(49, 78) Source(49, 32) + SourceIndex(0) -10>Emitted(49, 80) Source(49, 34) + SourceIndex(0) -11>Emitted(49, 81) Source(49, 35) + SourceIndex(0) +1->Emitted(50, 1) Source(49, 1) + SourceIndex(0) +2 >Emitted(50, 6) Source(49, 21) + SourceIndex(0) +3 >Emitted(50, 16) Source(49, 32) + SourceIndex(0) +4 >Emitted(50, 18) Source(49, 21) + SourceIndex(0) +5 >Emitted(50, 45) Source(49, 32) + SourceIndex(0) +6 >Emitted(50, 47) Source(49, 21) + SourceIndex(0) +7 >Emitted(50, 72) Source(49, 32) + SourceIndex(0) +8 >Emitted(50, 74) Source(49, 21) + SourceIndex(0) +9 >Emitted(50, 78) Source(49, 32) + SourceIndex(0) +10>Emitted(50, 80) Source(49, 34) + SourceIndex(0) +11>Emitted(50, 81) Source(49, 35) + SourceIndex(0) --- >>> var nameB = multiRobots_2[_z][0]; 1 >^^^^ @@ -1294,10 +1295,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 2 > 3 > nameB 4 > -1 >Emitted(50, 5) Source(49, 11) + SourceIndex(0) -2 >Emitted(50, 9) Source(49, 11) + SourceIndex(0) -3 >Emitted(50, 14) Source(49, 16) + SourceIndex(0) -4 >Emitted(50, 37) Source(49, 16) + SourceIndex(0) +1 >Emitted(51, 5) Source(49, 11) + SourceIndex(0) +2 >Emitted(51, 9) Source(49, 11) + SourceIndex(0) +3 >Emitted(51, 14) Source(49, 16) + SourceIndex(0) +4 >Emitted(51, 37) Source(49, 16) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1317,14 +1318,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameB 7 > ) 8 > ; -1 >Emitted(51, 5) Source(50, 5) + SourceIndex(0) -2 >Emitted(51, 12) Source(50, 12) + SourceIndex(0) -3 >Emitted(51, 13) Source(50, 13) + SourceIndex(0) -4 >Emitted(51, 16) Source(50, 16) + SourceIndex(0) -5 >Emitted(51, 17) Source(50, 17) + SourceIndex(0) -6 >Emitted(51, 22) Source(50, 22) + SourceIndex(0) -7 >Emitted(51, 23) Source(50, 23) + SourceIndex(0) -8 >Emitted(51, 24) Source(50, 24) + SourceIndex(0) +1 >Emitted(52, 5) Source(50, 5) + SourceIndex(0) +2 >Emitted(52, 12) Source(50, 12) + SourceIndex(0) +3 >Emitted(52, 13) Source(50, 13) + SourceIndex(0) +4 >Emitted(52, 16) Source(50, 16) + SourceIndex(0) +5 >Emitted(52, 17) Source(50, 17) + SourceIndex(0) +6 >Emitted(52, 22) Source(50, 22) + SourceIndex(0) +7 >Emitted(52, 23) Source(50, 23) + SourceIndex(0) +8 >Emitted(52, 24) Source(50, 24) + SourceIndex(0) --- >>>} 1 > @@ -1333,8 +1334,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(52, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(52, 2) Source(51, 2) + SourceIndex(0) +1 >Emitted(53, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(53, 2) Source(51, 2) + SourceIndex(0) --- >>>for (var _0 = 0, _1 = getMultiRobots(); _0 < _1.length; _0++) { 1-> @@ -1364,19 +1365,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(53, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(53, 6) Source(52, 21) + SourceIndex(0) -3 >Emitted(53, 16) Source(52, 37) + SourceIndex(0) -4 >Emitted(53, 18) Source(52, 21) + SourceIndex(0) -5 >Emitted(53, 23) Source(52, 21) + SourceIndex(0) -6 >Emitted(53, 37) Source(52, 35) + SourceIndex(0) -7 >Emitted(53, 39) Source(52, 37) + SourceIndex(0) -8 >Emitted(53, 41) Source(52, 21) + SourceIndex(0) -9 >Emitted(53, 55) Source(52, 37) + SourceIndex(0) -10>Emitted(53, 57) Source(52, 21) + SourceIndex(0) -11>Emitted(53, 61) Source(52, 37) + SourceIndex(0) -12>Emitted(53, 63) Source(52, 39) + SourceIndex(0) -13>Emitted(53, 64) Source(52, 40) + SourceIndex(0) +1->Emitted(54, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(54, 6) Source(52, 21) + SourceIndex(0) +3 >Emitted(54, 16) Source(52, 37) + SourceIndex(0) +4 >Emitted(54, 18) Source(52, 21) + SourceIndex(0) +5 >Emitted(54, 23) Source(52, 21) + SourceIndex(0) +6 >Emitted(54, 37) Source(52, 35) + SourceIndex(0) +7 >Emitted(54, 39) Source(52, 37) + SourceIndex(0) +8 >Emitted(54, 41) Source(52, 21) + SourceIndex(0) +9 >Emitted(54, 55) Source(52, 37) + SourceIndex(0) +10>Emitted(54, 57) Source(52, 21) + SourceIndex(0) +11>Emitted(54, 61) Source(52, 37) + SourceIndex(0) +12>Emitted(54, 63) Source(52, 39) + SourceIndex(0) +13>Emitted(54, 64) Source(52, 40) + SourceIndex(0) --- >>> var nameB = _1[_0][0]; 1 >^^^^ @@ -1387,10 +1388,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 2 > 3 > nameB 4 > -1 >Emitted(54, 5) Source(52, 11) + SourceIndex(0) -2 >Emitted(54, 9) Source(52, 11) + SourceIndex(0) -3 >Emitted(54, 14) Source(52, 16) + SourceIndex(0) -4 >Emitted(54, 26) Source(52, 16) + SourceIndex(0) +1 >Emitted(55, 5) Source(52, 11) + SourceIndex(0) +2 >Emitted(55, 9) Source(52, 11) + SourceIndex(0) +3 >Emitted(55, 14) Source(52, 16) + SourceIndex(0) +4 >Emitted(55, 26) Source(52, 16) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1410,14 +1411,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameB 7 > ) 8 > ; -1 >Emitted(55, 5) Source(53, 5) + SourceIndex(0) -2 >Emitted(55, 12) Source(53, 12) + SourceIndex(0) -3 >Emitted(55, 13) Source(53, 13) + SourceIndex(0) -4 >Emitted(55, 16) Source(53, 16) + SourceIndex(0) -5 >Emitted(55, 17) Source(53, 17) + SourceIndex(0) -6 >Emitted(55, 22) Source(53, 22) + SourceIndex(0) -7 >Emitted(55, 23) Source(53, 23) + SourceIndex(0) -8 >Emitted(55, 24) Source(53, 24) + SourceIndex(0) +1 >Emitted(56, 5) Source(53, 5) + SourceIndex(0) +2 >Emitted(56, 12) Source(53, 12) + SourceIndex(0) +3 >Emitted(56, 13) Source(53, 13) + SourceIndex(0) +4 >Emitted(56, 16) Source(53, 16) + SourceIndex(0) +5 >Emitted(56, 17) Source(53, 17) + SourceIndex(0) +6 >Emitted(56, 22) Source(53, 22) + SourceIndex(0) +7 >Emitted(56, 23) Source(53, 23) + SourceIndex(0) +8 >Emitted(56, 24) Source(53, 24) + SourceIndex(0) --- >>>} 1 > @@ -1426,8 +1427,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(56, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(56, 2) Source(54, 2) + SourceIndex(0) +1 >Emitted(57, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(57, 2) Source(54, 2) + SourceIndex(0) --- >>>for (var _2 = 0, _3 = [multiRobotA, multiRobotB]; _2 < _3.length; _2++) { 1-> @@ -1461,21 +1462,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(57, 1) Source(55, 1) + SourceIndex(0) -2 >Emitted(57, 6) Source(55, 21) + SourceIndex(0) -3 >Emitted(57, 16) Source(55, 47) + SourceIndex(0) -4 >Emitted(57, 18) Source(55, 21) + SourceIndex(0) -5 >Emitted(57, 24) Source(55, 22) + SourceIndex(0) -6 >Emitted(57, 35) Source(55, 33) + SourceIndex(0) -7 >Emitted(57, 37) Source(55, 35) + SourceIndex(0) -8 >Emitted(57, 48) Source(55, 46) + SourceIndex(0) -9 >Emitted(57, 49) Source(55, 47) + SourceIndex(0) -10>Emitted(57, 51) Source(55, 21) + SourceIndex(0) -11>Emitted(57, 65) Source(55, 47) + SourceIndex(0) -12>Emitted(57, 67) Source(55, 21) + SourceIndex(0) -13>Emitted(57, 71) Source(55, 47) + SourceIndex(0) -14>Emitted(57, 73) Source(55, 49) + SourceIndex(0) -15>Emitted(57, 74) Source(55, 50) + SourceIndex(0) +1->Emitted(58, 1) Source(55, 1) + SourceIndex(0) +2 >Emitted(58, 6) Source(55, 21) + SourceIndex(0) +3 >Emitted(58, 16) Source(55, 47) + SourceIndex(0) +4 >Emitted(58, 18) Source(55, 21) + SourceIndex(0) +5 >Emitted(58, 24) Source(55, 22) + SourceIndex(0) +6 >Emitted(58, 35) Source(55, 33) + SourceIndex(0) +7 >Emitted(58, 37) Source(55, 35) + SourceIndex(0) +8 >Emitted(58, 48) Source(55, 46) + SourceIndex(0) +9 >Emitted(58, 49) Source(55, 47) + SourceIndex(0) +10>Emitted(58, 51) Source(55, 21) + SourceIndex(0) +11>Emitted(58, 65) Source(55, 47) + SourceIndex(0) +12>Emitted(58, 67) Source(55, 21) + SourceIndex(0) +13>Emitted(58, 71) Source(55, 47) + SourceIndex(0) +14>Emitted(58, 73) Source(55, 49) + SourceIndex(0) +15>Emitted(58, 74) Source(55, 50) + SourceIndex(0) --- >>> var nameB = _3[_2][0]; 1 >^^^^ @@ -1486,10 +1487,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 2 > 3 > nameB 4 > -1 >Emitted(58, 5) Source(55, 11) + SourceIndex(0) -2 >Emitted(58, 9) Source(55, 11) + SourceIndex(0) -3 >Emitted(58, 14) Source(55, 16) + SourceIndex(0) -4 >Emitted(58, 26) Source(55, 16) + SourceIndex(0) +1 >Emitted(59, 5) Source(55, 11) + SourceIndex(0) +2 >Emitted(59, 9) Source(55, 11) + SourceIndex(0) +3 >Emitted(59, 14) Source(55, 16) + SourceIndex(0) +4 >Emitted(59, 26) Source(55, 16) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1509,14 +1510,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameB 7 > ) 8 > ; -1 >Emitted(59, 5) Source(56, 5) + SourceIndex(0) -2 >Emitted(59, 12) Source(56, 12) + SourceIndex(0) -3 >Emitted(59, 13) Source(56, 13) + SourceIndex(0) -4 >Emitted(59, 16) Source(56, 16) + SourceIndex(0) -5 >Emitted(59, 17) Source(56, 17) + SourceIndex(0) -6 >Emitted(59, 22) Source(56, 22) + SourceIndex(0) -7 >Emitted(59, 23) Source(56, 23) + SourceIndex(0) -8 >Emitted(59, 24) Source(56, 24) + SourceIndex(0) +1 >Emitted(60, 5) Source(56, 5) + SourceIndex(0) +2 >Emitted(60, 12) Source(56, 12) + SourceIndex(0) +3 >Emitted(60, 13) Source(56, 13) + SourceIndex(0) +4 >Emitted(60, 16) Source(56, 16) + SourceIndex(0) +5 >Emitted(60, 17) Source(56, 17) + SourceIndex(0) +6 >Emitted(60, 22) Source(56, 22) + SourceIndex(0) +7 >Emitted(60, 23) Source(56, 23) + SourceIndex(0) +8 >Emitted(60, 24) Source(56, 24) + SourceIndex(0) --- >>>} 1 > @@ -1525,8 +1526,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(60, 1) Source(57, 1) + SourceIndex(0) -2 >Emitted(60, 2) Source(57, 2) + SourceIndex(0) +1 >Emitted(61, 1) Source(57, 1) + SourceIndex(0) +2 >Emitted(61, 2) Source(57, 2) + SourceIndex(0) --- >>>for (var _4 = 0, robots_3 = robots; _4 < robots_3.length; _4++) { 1-> @@ -1554,17 +1555,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 9 > robots 10> ) 11> { -1->Emitted(61, 1) Source(59, 1) + SourceIndex(0) -2 >Emitted(61, 6) Source(59, 41) + SourceIndex(0) -3 >Emitted(61, 16) Source(59, 47) + SourceIndex(0) -4 >Emitted(61, 18) Source(59, 41) + SourceIndex(0) -5 >Emitted(61, 35) Source(59, 47) + SourceIndex(0) -6 >Emitted(61, 37) Source(59, 41) + SourceIndex(0) -7 >Emitted(61, 57) Source(59, 47) + SourceIndex(0) -8 >Emitted(61, 59) Source(59, 41) + SourceIndex(0) -9 >Emitted(61, 63) Source(59, 47) + SourceIndex(0) -10>Emitted(61, 65) Source(59, 49) + SourceIndex(0) -11>Emitted(61, 66) Source(59, 50) + SourceIndex(0) +1->Emitted(62, 1) Source(59, 1) + SourceIndex(0) +2 >Emitted(62, 6) Source(59, 41) + SourceIndex(0) +3 >Emitted(62, 16) Source(59, 47) + SourceIndex(0) +4 >Emitted(62, 18) Source(59, 41) + SourceIndex(0) +5 >Emitted(62, 35) Source(59, 47) + SourceIndex(0) +6 >Emitted(62, 37) Source(59, 41) + SourceIndex(0) +7 >Emitted(62, 57) Source(59, 47) + SourceIndex(0) +8 >Emitted(62, 59) Source(59, 41) + SourceIndex(0) +9 >Emitted(62, 63) Source(59, 47) + SourceIndex(0) +10>Emitted(62, 65) Source(59, 49) + SourceIndex(0) +11>Emitted(62, 66) Source(59, 50) + SourceIndex(0) --- >>> var _5 = robots_3[_4], numberA2 = _5[0], nameA2 = _5[1], skillA2 = _5[2]; 1->^^^^ @@ -1591,18 +1592,18 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 10> , 11> skillA2 12> -1->Emitted(62, 5) Source(59, 10) + SourceIndex(0) -2 >Emitted(62, 9) Source(59, 10) + SourceIndex(0) -3 >Emitted(62, 26) Source(59, 37) + SourceIndex(0) -4 >Emitted(62, 28) Source(59, 11) + SourceIndex(0) -5 >Emitted(62, 36) Source(59, 19) + SourceIndex(0) -6 >Emitted(62, 44) Source(59, 19) + SourceIndex(0) -7 >Emitted(62, 46) Source(59, 21) + SourceIndex(0) -8 >Emitted(62, 52) Source(59, 27) + SourceIndex(0) -9 >Emitted(62, 60) Source(59, 27) + SourceIndex(0) -10>Emitted(62, 62) Source(59, 29) + SourceIndex(0) -11>Emitted(62, 69) Source(59, 36) + SourceIndex(0) -12>Emitted(62, 77) Source(59, 36) + SourceIndex(0) +1->Emitted(63, 5) Source(59, 10) + SourceIndex(0) +2 >Emitted(63, 9) Source(59, 10) + SourceIndex(0) +3 >Emitted(63, 26) Source(59, 37) + SourceIndex(0) +4 >Emitted(63, 28) Source(59, 11) + SourceIndex(0) +5 >Emitted(63, 36) Source(59, 19) + SourceIndex(0) +6 >Emitted(63, 44) Source(59, 19) + SourceIndex(0) +7 >Emitted(63, 46) Source(59, 21) + SourceIndex(0) +8 >Emitted(63, 52) Source(59, 27) + SourceIndex(0) +9 >Emitted(63, 60) Source(59, 27) + SourceIndex(0) +10>Emitted(63, 62) Source(59, 29) + SourceIndex(0) +11>Emitted(63, 69) Source(59, 36) + SourceIndex(0) +12>Emitted(63, 77) Source(59, 36) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1622,14 +1623,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(63, 5) Source(60, 5) + SourceIndex(0) -2 >Emitted(63, 12) Source(60, 12) + SourceIndex(0) -3 >Emitted(63, 13) Source(60, 13) + SourceIndex(0) -4 >Emitted(63, 16) Source(60, 16) + SourceIndex(0) -5 >Emitted(63, 17) Source(60, 17) + SourceIndex(0) -6 >Emitted(63, 23) Source(60, 23) + SourceIndex(0) -7 >Emitted(63, 24) Source(60, 24) + SourceIndex(0) -8 >Emitted(63, 25) Source(60, 25) + SourceIndex(0) +1 >Emitted(64, 5) Source(60, 5) + SourceIndex(0) +2 >Emitted(64, 12) Source(60, 12) + SourceIndex(0) +3 >Emitted(64, 13) Source(60, 13) + SourceIndex(0) +4 >Emitted(64, 16) Source(60, 16) + SourceIndex(0) +5 >Emitted(64, 17) Source(60, 17) + SourceIndex(0) +6 >Emitted(64, 23) Source(60, 23) + SourceIndex(0) +7 >Emitted(64, 24) Source(60, 24) + SourceIndex(0) +8 >Emitted(64, 25) Source(60, 25) + SourceIndex(0) --- >>>} 1 > @@ -1638,8 +1639,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(64, 1) Source(61, 1) + SourceIndex(0) -2 >Emitted(64, 2) Source(61, 2) + SourceIndex(0) +1 >Emitted(65, 1) Source(61, 1) + SourceIndex(0) +2 >Emitted(65, 2) Source(61, 2) + SourceIndex(0) --- >>>for (var _6 = 0, _7 = getRobots(); _6 < _7.length; _6++) { 1-> @@ -1670,19 +1671,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 11> getRobots() 12> ) 13> { -1->Emitted(65, 1) Source(62, 1) + SourceIndex(0) -2 >Emitted(65, 6) Source(62, 41) + SourceIndex(0) -3 >Emitted(65, 16) Source(62, 52) + SourceIndex(0) -4 >Emitted(65, 18) Source(62, 41) + SourceIndex(0) -5 >Emitted(65, 23) Source(62, 41) + SourceIndex(0) -6 >Emitted(65, 32) Source(62, 50) + SourceIndex(0) -7 >Emitted(65, 34) Source(62, 52) + SourceIndex(0) -8 >Emitted(65, 36) Source(62, 41) + SourceIndex(0) -9 >Emitted(65, 50) Source(62, 52) + SourceIndex(0) -10>Emitted(65, 52) Source(62, 41) + SourceIndex(0) -11>Emitted(65, 56) Source(62, 52) + SourceIndex(0) -12>Emitted(65, 58) Source(62, 54) + SourceIndex(0) -13>Emitted(65, 59) Source(62, 55) + SourceIndex(0) +1->Emitted(66, 1) Source(62, 1) + SourceIndex(0) +2 >Emitted(66, 6) Source(62, 41) + SourceIndex(0) +3 >Emitted(66, 16) Source(62, 52) + SourceIndex(0) +4 >Emitted(66, 18) Source(62, 41) + SourceIndex(0) +5 >Emitted(66, 23) Source(62, 41) + SourceIndex(0) +6 >Emitted(66, 32) Source(62, 50) + SourceIndex(0) +7 >Emitted(66, 34) Source(62, 52) + SourceIndex(0) +8 >Emitted(66, 36) Source(62, 41) + SourceIndex(0) +9 >Emitted(66, 50) Source(62, 52) + SourceIndex(0) +10>Emitted(66, 52) Source(62, 41) + SourceIndex(0) +11>Emitted(66, 56) Source(62, 52) + SourceIndex(0) +12>Emitted(66, 58) Source(62, 54) + SourceIndex(0) +13>Emitted(66, 59) Source(62, 55) + SourceIndex(0) --- >>> var _8 = _7[_6], numberA2 = _8[0], nameA2 = _8[1], skillA2 = _8[2]; 1->^^^^ @@ -1709,18 +1710,18 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 10> , 11> skillA2 12> -1->Emitted(66, 5) Source(62, 10) + SourceIndex(0) -2 >Emitted(66, 9) Source(62, 10) + SourceIndex(0) -3 >Emitted(66, 20) Source(62, 37) + SourceIndex(0) -4 >Emitted(66, 22) Source(62, 11) + SourceIndex(0) -5 >Emitted(66, 30) Source(62, 19) + SourceIndex(0) -6 >Emitted(66, 38) Source(62, 19) + SourceIndex(0) -7 >Emitted(66, 40) Source(62, 21) + SourceIndex(0) -8 >Emitted(66, 46) Source(62, 27) + SourceIndex(0) -9 >Emitted(66, 54) Source(62, 27) + SourceIndex(0) -10>Emitted(66, 56) Source(62, 29) + SourceIndex(0) -11>Emitted(66, 63) Source(62, 36) + SourceIndex(0) -12>Emitted(66, 71) Source(62, 36) + SourceIndex(0) +1->Emitted(67, 5) Source(62, 10) + SourceIndex(0) +2 >Emitted(67, 9) Source(62, 10) + SourceIndex(0) +3 >Emitted(67, 20) Source(62, 37) + SourceIndex(0) +4 >Emitted(67, 22) Source(62, 11) + SourceIndex(0) +5 >Emitted(67, 30) Source(62, 19) + SourceIndex(0) +6 >Emitted(67, 38) Source(62, 19) + SourceIndex(0) +7 >Emitted(67, 40) Source(62, 21) + SourceIndex(0) +8 >Emitted(67, 46) Source(62, 27) + SourceIndex(0) +9 >Emitted(67, 54) Source(62, 27) + SourceIndex(0) +10>Emitted(67, 56) Source(62, 29) + SourceIndex(0) +11>Emitted(67, 63) Source(62, 36) + SourceIndex(0) +12>Emitted(67, 71) Source(62, 36) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1740,14 +1741,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(67, 5) Source(63, 5) + SourceIndex(0) -2 >Emitted(67, 12) Source(63, 12) + SourceIndex(0) -3 >Emitted(67, 13) Source(63, 13) + SourceIndex(0) -4 >Emitted(67, 16) Source(63, 16) + SourceIndex(0) -5 >Emitted(67, 17) Source(63, 17) + SourceIndex(0) -6 >Emitted(67, 23) Source(63, 23) + SourceIndex(0) -7 >Emitted(67, 24) Source(63, 24) + SourceIndex(0) -8 >Emitted(67, 25) Source(63, 25) + SourceIndex(0) +1 >Emitted(68, 5) Source(63, 5) + SourceIndex(0) +2 >Emitted(68, 12) Source(63, 12) + SourceIndex(0) +3 >Emitted(68, 13) Source(63, 13) + SourceIndex(0) +4 >Emitted(68, 16) Source(63, 16) + SourceIndex(0) +5 >Emitted(68, 17) Source(63, 17) + SourceIndex(0) +6 >Emitted(68, 23) Source(63, 23) + SourceIndex(0) +7 >Emitted(68, 24) Source(63, 24) + SourceIndex(0) +8 >Emitted(68, 25) Source(63, 25) + SourceIndex(0) --- >>>} 1 > @@ -1756,8 +1757,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(68, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(68, 2) Source(64, 2) + SourceIndex(0) +1 >Emitted(69, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(69, 2) Source(64, 2) + SourceIndex(0) --- >>>for (var _9 = 0, _10 = [robotA, robotB]; _9 < _10.length; _9++) { 1-> @@ -1792,21 +1793,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 13> [robotA, robotB] 14> ) 15> { -1->Emitted(69, 1) Source(65, 1) + SourceIndex(0) -2 >Emitted(69, 6) Source(65, 41) + SourceIndex(0) -3 >Emitted(69, 16) Source(65, 57) + SourceIndex(0) -4 >Emitted(69, 18) Source(65, 41) + SourceIndex(0) -5 >Emitted(69, 25) Source(65, 42) + SourceIndex(0) -6 >Emitted(69, 31) Source(65, 48) + SourceIndex(0) -7 >Emitted(69, 33) Source(65, 50) + SourceIndex(0) -8 >Emitted(69, 39) Source(65, 56) + SourceIndex(0) -9 >Emitted(69, 40) Source(65, 57) + SourceIndex(0) -10>Emitted(69, 42) Source(65, 41) + SourceIndex(0) -11>Emitted(69, 57) Source(65, 57) + SourceIndex(0) -12>Emitted(69, 59) Source(65, 41) + SourceIndex(0) -13>Emitted(69, 63) Source(65, 57) + SourceIndex(0) -14>Emitted(69, 65) Source(65, 59) + SourceIndex(0) -15>Emitted(69, 66) Source(65, 60) + SourceIndex(0) +1->Emitted(70, 1) Source(65, 1) + SourceIndex(0) +2 >Emitted(70, 6) Source(65, 41) + SourceIndex(0) +3 >Emitted(70, 16) Source(65, 57) + SourceIndex(0) +4 >Emitted(70, 18) Source(65, 41) + SourceIndex(0) +5 >Emitted(70, 25) Source(65, 42) + SourceIndex(0) +6 >Emitted(70, 31) Source(65, 48) + SourceIndex(0) +7 >Emitted(70, 33) Source(65, 50) + SourceIndex(0) +8 >Emitted(70, 39) Source(65, 56) + SourceIndex(0) +9 >Emitted(70, 40) Source(65, 57) + SourceIndex(0) +10>Emitted(70, 42) Source(65, 41) + SourceIndex(0) +11>Emitted(70, 57) Source(65, 57) + SourceIndex(0) +12>Emitted(70, 59) Source(65, 41) + SourceIndex(0) +13>Emitted(70, 63) Source(65, 57) + SourceIndex(0) +14>Emitted(70, 65) Source(65, 59) + SourceIndex(0) +15>Emitted(70, 66) Source(65, 60) + SourceIndex(0) --- >>> var _11 = _10[_9], numberA2 = _11[0], nameA2 = _11[1], skillA2 = _11[2]; 1->^^^^ @@ -1833,18 +1834,18 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 10> , 11> skillA2 12> -1->Emitted(70, 5) Source(65, 10) + SourceIndex(0) -2 >Emitted(70, 9) Source(65, 10) + SourceIndex(0) -3 >Emitted(70, 22) Source(65, 37) + SourceIndex(0) -4 >Emitted(70, 24) Source(65, 11) + SourceIndex(0) -5 >Emitted(70, 32) Source(65, 19) + SourceIndex(0) -6 >Emitted(70, 41) Source(65, 19) + SourceIndex(0) -7 >Emitted(70, 43) Source(65, 21) + SourceIndex(0) -8 >Emitted(70, 49) Source(65, 27) + SourceIndex(0) -9 >Emitted(70, 58) Source(65, 27) + SourceIndex(0) -10>Emitted(70, 60) Source(65, 29) + SourceIndex(0) -11>Emitted(70, 67) Source(65, 36) + SourceIndex(0) -12>Emitted(70, 76) Source(65, 36) + SourceIndex(0) +1->Emitted(71, 5) Source(65, 10) + SourceIndex(0) +2 >Emitted(71, 9) Source(65, 10) + SourceIndex(0) +3 >Emitted(71, 22) Source(65, 37) + SourceIndex(0) +4 >Emitted(71, 24) Source(65, 11) + SourceIndex(0) +5 >Emitted(71, 32) Source(65, 19) + SourceIndex(0) +6 >Emitted(71, 41) Source(65, 19) + SourceIndex(0) +7 >Emitted(71, 43) Source(65, 21) + SourceIndex(0) +8 >Emitted(71, 49) Source(65, 27) + SourceIndex(0) +9 >Emitted(71, 58) Source(65, 27) + SourceIndex(0) +10>Emitted(71, 60) Source(65, 29) + SourceIndex(0) +11>Emitted(71, 67) Source(65, 36) + SourceIndex(0) +12>Emitted(71, 76) Source(65, 36) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1864,14 +1865,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(71, 5) Source(66, 5) + SourceIndex(0) -2 >Emitted(71, 12) Source(66, 12) + SourceIndex(0) -3 >Emitted(71, 13) Source(66, 13) + SourceIndex(0) -4 >Emitted(71, 16) Source(66, 16) + SourceIndex(0) -5 >Emitted(71, 17) Source(66, 17) + SourceIndex(0) -6 >Emitted(71, 23) Source(66, 23) + SourceIndex(0) -7 >Emitted(71, 24) Source(66, 24) + SourceIndex(0) -8 >Emitted(71, 25) Source(66, 25) + SourceIndex(0) +1 >Emitted(72, 5) Source(66, 5) + SourceIndex(0) +2 >Emitted(72, 12) Source(66, 12) + SourceIndex(0) +3 >Emitted(72, 13) Source(66, 13) + SourceIndex(0) +4 >Emitted(72, 16) Source(66, 16) + SourceIndex(0) +5 >Emitted(72, 17) Source(66, 17) + SourceIndex(0) +6 >Emitted(72, 23) Source(66, 23) + SourceIndex(0) +7 >Emitted(72, 24) Source(66, 24) + SourceIndex(0) +8 >Emitted(72, 25) Source(66, 25) + SourceIndex(0) --- >>>} 1 > @@ -1880,8 +1881,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(72, 1) Source(67, 1) + SourceIndex(0) -2 >Emitted(72, 2) Source(67, 2) + SourceIndex(0) +1 >Emitted(73, 1) Source(67, 1) + SourceIndex(0) +2 >Emitted(73, 2) Source(67, 2) + SourceIndex(0) --- >>>for (var _12 = 0, multiRobots_3 = multiRobots; _12 < multiRobots_3.length; _12++) { 1-> @@ -1908,17 +1909,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 9 > multiRobots 10> ) 11> { -1->Emitted(73, 1) Source(68, 1) + SourceIndex(0) -2 >Emitted(73, 6) Source(68, 56) + SourceIndex(0) -3 >Emitted(73, 17) Source(68, 67) + SourceIndex(0) -4 >Emitted(73, 19) Source(68, 56) + SourceIndex(0) -5 >Emitted(73, 46) Source(68, 67) + SourceIndex(0) -6 >Emitted(73, 48) Source(68, 56) + SourceIndex(0) -7 >Emitted(73, 74) Source(68, 67) + SourceIndex(0) -8 >Emitted(73, 76) Source(68, 56) + SourceIndex(0) -9 >Emitted(73, 81) Source(68, 67) + SourceIndex(0) -10>Emitted(73, 83) Source(68, 69) + SourceIndex(0) -11>Emitted(73, 84) Source(68, 70) + SourceIndex(0) +1->Emitted(74, 1) Source(68, 1) + SourceIndex(0) +2 >Emitted(74, 6) Source(68, 56) + SourceIndex(0) +3 >Emitted(74, 17) Source(68, 67) + SourceIndex(0) +4 >Emitted(74, 19) Source(68, 56) + SourceIndex(0) +5 >Emitted(74, 46) Source(68, 67) + SourceIndex(0) +6 >Emitted(74, 48) Source(68, 56) + SourceIndex(0) +7 >Emitted(74, 74) Source(68, 67) + SourceIndex(0) +8 >Emitted(74, 76) Source(68, 56) + SourceIndex(0) +9 >Emitted(74, 81) Source(68, 67) + SourceIndex(0) +10>Emitted(74, 83) Source(68, 69) + SourceIndex(0) +11>Emitted(74, 84) Source(68, 70) + SourceIndex(0) --- >>> var _13 = multiRobots_3[_12], nameMA = _13[0], _14 = _13[1], primarySkillA = _14[0], secondarySkillA = _14[1]; 1->^^^^ @@ -1949,20 +1950,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 12> , 13> secondarySkillA 14> -1->Emitted(74, 5) Source(68, 10) + SourceIndex(0) -2 >Emitted(74, 9) Source(68, 10) + SourceIndex(0) -3 >Emitted(74, 33) Source(68, 52) + SourceIndex(0) -4 >Emitted(74, 35) Source(68, 11) + SourceIndex(0) -5 >Emitted(74, 41) Source(68, 17) + SourceIndex(0) -6 >Emitted(74, 50) Source(68, 17) + SourceIndex(0) -7 >Emitted(74, 52) Source(68, 19) + SourceIndex(0) -8 >Emitted(74, 64) Source(68, 51) + SourceIndex(0) -9 >Emitted(74, 66) Source(68, 20) + SourceIndex(0) -10>Emitted(74, 79) Source(68, 33) + SourceIndex(0) -11>Emitted(74, 88) Source(68, 33) + SourceIndex(0) -12>Emitted(74, 90) Source(68, 35) + SourceIndex(0) -13>Emitted(74, 105) Source(68, 50) + SourceIndex(0) -14>Emitted(74, 114) Source(68, 50) + SourceIndex(0) +1->Emitted(75, 5) Source(68, 10) + SourceIndex(0) +2 >Emitted(75, 9) Source(68, 10) + SourceIndex(0) +3 >Emitted(75, 33) Source(68, 52) + SourceIndex(0) +4 >Emitted(75, 35) Source(68, 11) + SourceIndex(0) +5 >Emitted(75, 41) Source(68, 17) + SourceIndex(0) +6 >Emitted(75, 50) Source(68, 17) + SourceIndex(0) +7 >Emitted(75, 52) Source(68, 19) + SourceIndex(0) +8 >Emitted(75, 64) Source(68, 51) + SourceIndex(0) +9 >Emitted(75, 66) Source(68, 20) + SourceIndex(0) +10>Emitted(75, 79) Source(68, 33) + SourceIndex(0) +11>Emitted(75, 88) Source(68, 33) + SourceIndex(0) +12>Emitted(75, 90) Source(68, 35) + SourceIndex(0) +13>Emitted(75, 105) Source(68, 50) + SourceIndex(0) +14>Emitted(75, 114) Source(68, 50) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -1982,14 +1983,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(75, 5) Source(69, 5) + SourceIndex(0) -2 >Emitted(75, 12) Source(69, 12) + SourceIndex(0) -3 >Emitted(75, 13) Source(69, 13) + SourceIndex(0) -4 >Emitted(75, 16) Source(69, 16) + SourceIndex(0) -5 >Emitted(75, 17) Source(69, 17) + SourceIndex(0) -6 >Emitted(75, 23) Source(69, 23) + SourceIndex(0) -7 >Emitted(75, 24) Source(69, 24) + SourceIndex(0) -8 >Emitted(75, 25) Source(69, 25) + SourceIndex(0) +1 >Emitted(76, 5) Source(69, 5) + SourceIndex(0) +2 >Emitted(76, 12) Source(69, 12) + SourceIndex(0) +3 >Emitted(76, 13) Source(69, 13) + SourceIndex(0) +4 >Emitted(76, 16) Source(69, 16) + SourceIndex(0) +5 >Emitted(76, 17) Source(69, 17) + SourceIndex(0) +6 >Emitted(76, 23) Source(69, 23) + SourceIndex(0) +7 >Emitted(76, 24) Source(69, 24) + SourceIndex(0) +8 >Emitted(76, 25) Source(69, 25) + SourceIndex(0) --- >>>} 1 > @@ -1998,8 +1999,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(76, 1) Source(70, 1) + SourceIndex(0) -2 >Emitted(76, 2) Source(70, 2) + SourceIndex(0) +1 >Emitted(77, 1) Source(70, 1) + SourceIndex(0) +2 >Emitted(77, 2) Source(70, 2) + SourceIndex(0) --- >>>for (var _15 = 0, _16 = getMultiRobots(); _15 < _16.length; _15++) { 1-> @@ -2030,19 +2031,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(77, 1) Source(71, 1) + SourceIndex(0) -2 >Emitted(77, 6) Source(71, 56) + SourceIndex(0) -3 >Emitted(77, 17) Source(71, 72) + SourceIndex(0) -4 >Emitted(77, 19) Source(71, 56) + SourceIndex(0) -5 >Emitted(77, 25) Source(71, 56) + SourceIndex(0) -6 >Emitted(77, 39) Source(71, 70) + SourceIndex(0) -7 >Emitted(77, 41) Source(71, 72) + SourceIndex(0) -8 >Emitted(77, 43) Source(71, 56) + SourceIndex(0) -9 >Emitted(77, 59) Source(71, 72) + SourceIndex(0) -10>Emitted(77, 61) Source(71, 56) + SourceIndex(0) -11>Emitted(77, 66) Source(71, 72) + SourceIndex(0) -12>Emitted(77, 68) Source(71, 74) + SourceIndex(0) -13>Emitted(77, 69) Source(71, 75) + SourceIndex(0) +1->Emitted(78, 1) Source(71, 1) + SourceIndex(0) +2 >Emitted(78, 6) Source(71, 56) + SourceIndex(0) +3 >Emitted(78, 17) Source(71, 72) + SourceIndex(0) +4 >Emitted(78, 19) Source(71, 56) + SourceIndex(0) +5 >Emitted(78, 25) Source(71, 56) + SourceIndex(0) +6 >Emitted(78, 39) Source(71, 70) + SourceIndex(0) +7 >Emitted(78, 41) Source(71, 72) + SourceIndex(0) +8 >Emitted(78, 43) Source(71, 56) + SourceIndex(0) +9 >Emitted(78, 59) Source(71, 72) + SourceIndex(0) +10>Emitted(78, 61) Source(71, 56) + SourceIndex(0) +11>Emitted(78, 66) Source(71, 72) + SourceIndex(0) +12>Emitted(78, 68) Source(71, 74) + SourceIndex(0) +13>Emitted(78, 69) Source(71, 75) + SourceIndex(0) --- >>> var _17 = _16[_15], nameMA = _17[0], _18 = _17[1], primarySkillA = _18[0], secondarySkillA = _18[1]; 1->^^^^ @@ -2073,20 +2074,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 12> , 13> secondarySkillA 14> -1->Emitted(78, 5) Source(71, 10) + SourceIndex(0) -2 >Emitted(78, 9) Source(71, 10) + SourceIndex(0) -3 >Emitted(78, 23) Source(71, 52) + SourceIndex(0) -4 >Emitted(78, 25) Source(71, 11) + SourceIndex(0) -5 >Emitted(78, 31) Source(71, 17) + SourceIndex(0) -6 >Emitted(78, 40) Source(71, 17) + SourceIndex(0) -7 >Emitted(78, 42) Source(71, 19) + SourceIndex(0) -8 >Emitted(78, 54) Source(71, 51) + SourceIndex(0) -9 >Emitted(78, 56) Source(71, 20) + SourceIndex(0) -10>Emitted(78, 69) Source(71, 33) + SourceIndex(0) -11>Emitted(78, 78) Source(71, 33) + SourceIndex(0) -12>Emitted(78, 80) Source(71, 35) + SourceIndex(0) -13>Emitted(78, 95) Source(71, 50) + SourceIndex(0) -14>Emitted(78, 104) Source(71, 50) + SourceIndex(0) +1->Emitted(79, 5) Source(71, 10) + SourceIndex(0) +2 >Emitted(79, 9) Source(71, 10) + SourceIndex(0) +3 >Emitted(79, 23) Source(71, 52) + SourceIndex(0) +4 >Emitted(79, 25) Source(71, 11) + SourceIndex(0) +5 >Emitted(79, 31) Source(71, 17) + SourceIndex(0) +6 >Emitted(79, 40) Source(71, 17) + SourceIndex(0) +7 >Emitted(79, 42) Source(71, 19) + SourceIndex(0) +8 >Emitted(79, 54) Source(71, 51) + SourceIndex(0) +9 >Emitted(79, 56) Source(71, 20) + SourceIndex(0) +10>Emitted(79, 69) Source(71, 33) + SourceIndex(0) +11>Emitted(79, 78) Source(71, 33) + SourceIndex(0) +12>Emitted(79, 80) Source(71, 35) + SourceIndex(0) +13>Emitted(79, 95) Source(71, 50) + SourceIndex(0) +14>Emitted(79, 104) Source(71, 50) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2106,14 +2107,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(79, 5) Source(72, 5) + SourceIndex(0) -2 >Emitted(79, 12) Source(72, 12) + SourceIndex(0) -3 >Emitted(79, 13) Source(72, 13) + SourceIndex(0) -4 >Emitted(79, 16) Source(72, 16) + SourceIndex(0) -5 >Emitted(79, 17) Source(72, 17) + SourceIndex(0) -6 >Emitted(79, 23) Source(72, 23) + SourceIndex(0) -7 >Emitted(79, 24) Source(72, 24) + SourceIndex(0) -8 >Emitted(79, 25) Source(72, 25) + SourceIndex(0) +1 >Emitted(80, 5) Source(72, 5) + SourceIndex(0) +2 >Emitted(80, 12) Source(72, 12) + SourceIndex(0) +3 >Emitted(80, 13) Source(72, 13) + SourceIndex(0) +4 >Emitted(80, 16) Source(72, 16) + SourceIndex(0) +5 >Emitted(80, 17) Source(72, 17) + SourceIndex(0) +6 >Emitted(80, 23) Source(72, 23) + SourceIndex(0) +7 >Emitted(80, 24) Source(72, 24) + SourceIndex(0) +8 >Emitted(80, 25) Source(72, 25) + SourceIndex(0) --- >>>} 1 > @@ -2122,8 +2123,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(80, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(80, 2) Source(73, 2) + SourceIndex(0) +1 >Emitted(81, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(81, 2) Source(73, 2) + SourceIndex(0) --- >>>for (var _19 = 0, _20 = [multiRobotA, multiRobotB]; _19 < _20.length; _19++) { 1-> @@ -2158,21 +2159,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(81, 1) Source(74, 1) + SourceIndex(0) -2 >Emitted(81, 6) Source(74, 56) + SourceIndex(0) -3 >Emitted(81, 17) Source(74, 82) + SourceIndex(0) -4 >Emitted(81, 19) Source(74, 56) + SourceIndex(0) -5 >Emitted(81, 26) Source(74, 57) + SourceIndex(0) -6 >Emitted(81, 37) Source(74, 68) + SourceIndex(0) -7 >Emitted(81, 39) Source(74, 70) + SourceIndex(0) -8 >Emitted(81, 50) Source(74, 81) + SourceIndex(0) -9 >Emitted(81, 51) Source(74, 82) + SourceIndex(0) -10>Emitted(81, 53) Source(74, 56) + SourceIndex(0) -11>Emitted(81, 69) Source(74, 82) + SourceIndex(0) -12>Emitted(81, 71) Source(74, 56) + SourceIndex(0) -13>Emitted(81, 76) Source(74, 82) + SourceIndex(0) -14>Emitted(81, 78) Source(74, 84) + SourceIndex(0) -15>Emitted(81, 79) Source(74, 85) + SourceIndex(0) +1->Emitted(82, 1) Source(74, 1) + SourceIndex(0) +2 >Emitted(82, 6) Source(74, 56) + SourceIndex(0) +3 >Emitted(82, 17) Source(74, 82) + SourceIndex(0) +4 >Emitted(82, 19) Source(74, 56) + SourceIndex(0) +5 >Emitted(82, 26) Source(74, 57) + SourceIndex(0) +6 >Emitted(82, 37) Source(74, 68) + SourceIndex(0) +7 >Emitted(82, 39) Source(74, 70) + SourceIndex(0) +8 >Emitted(82, 50) Source(74, 81) + SourceIndex(0) +9 >Emitted(82, 51) Source(74, 82) + SourceIndex(0) +10>Emitted(82, 53) Source(74, 56) + SourceIndex(0) +11>Emitted(82, 69) Source(74, 82) + SourceIndex(0) +12>Emitted(82, 71) Source(74, 56) + SourceIndex(0) +13>Emitted(82, 76) Source(74, 82) + SourceIndex(0) +14>Emitted(82, 78) Source(74, 84) + SourceIndex(0) +15>Emitted(82, 79) Source(74, 85) + SourceIndex(0) --- >>> var _21 = _20[_19], nameMA = _21[0], _22 = _21[1], primarySkillA = _22[0], secondarySkillA = _22[1]; 1->^^^^ @@ -2203,20 +2204,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 12> , 13> secondarySkillA 14> -1->Emitted(82, 5) Source(74, 10) + SourceIndex(0) -2 >Emitted(82, 9) Source(74, 10) + SourceIndex(0) -3 >Emitted(82, 23) Source(74, 52) + SourceIndex(0) -4 >Emitted(82, 25) Source(74, 11) + SourceIndex(0) -5 >Emitted(82, 31) Source(74, 17) + SourceIndex(0) -6 >Emitted(82, 40) Source(74, 17) + SourceIndex(0) -7 >Emitted(82, 42) Source(74, 19) + SourceIndex(0) -8 >Emitted(82, 54) Source(74, 51) + SourceIndex(0) -9 >Emitted(82, 56) Source(74, 20) + SourceIndex(0) -10>Emitted(82, 69) Source(74, 33) + SourceIndex(0) -11>Emitted(82, 78) Source(74, 33) + SourceIndex(0) -12>Emitted(82, 80) Source(74, 35) + SourceIndex(0) -13>Emitted(82, 95) Source(74, 50) + SourceIndex(0) -14>Emitted(82, 104) Source(74, 50) + SourceIndex(0) +1->Emitted(83, 5) Source(74, 10) + SourceIndex(0) +2 >Emitted(83, 9) Source(74, 10) + SourceIndex(0) +3 >Emitted(83, 23) Source(74, 52) + SourceIndex(0) +4 >Emitted(83, 25) Source(74, 11) + SourceIndex(0) +5 >Emitted(83, 31) Source(74, 17) + SourceIndex(0) +6 >Emitted(83, 40) Source(74, 17) + SourceIndex(0) +7 >Emitted(83, 42) Source(74, 19) + SourceIndex(0) +8 >Emitted(83, 54) Source(74, 51) + SourceIndex(0) +9 >Emitted(83, 56) Source(74, 20) + SourceIndex(0) +10>Emitted(83, 69) Source(74, 33) + SourceIndex(0) +11>Emitted(83, 78) Source(74, 33) + SourceIndex(0) +12>Emitted(83, 80) Source(74, 35) + SourceIndex(0) +13>Emitted(83, 95) Source(74, 50) + SourceIndex(0) +14>Emitted(83, 104) Source(74, 50) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2236,14 +2237,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(83, 5) Source(75, 5) + SourceIndex(0) -2 >Emitted(83, 12) Source(75, 12) + SourceIndex(0) -3 >Emitted(83, 13) Source(75, 13) + SourceIndex(0) -4 >Emitted(83, 16) Source(75, 16) + SourceIndex(0) -5 >Emitted(83, 17) Source(75, 17) + SourceIndex(0) -6 >Emitted(83, 23) Source(75, 23) + SourceIndex(0) -7 >Emitted(83, 24) Source(75, 24) + SourceIndex(0) -8 >Emitted(83, 25) Source(75, 25) + SourceIndex(0) +1 >Emitted(84, 5) Source(75, 5) + SourceIndex(0) +2 >Emitted(84, 12) Source(75, 12) + SourceIndex(0) +3 >Emitted(84, 13) Source(75, 13) + SourceIndex(0) +4 >Emitted(84, 16) Source(75, 16) + SourceIndex(0) +5 >Emitted(84, 17) Source(75, 17) + SourceIndex(0) +6 >Emitted(84, 23) Source(75, 23) + SourceIndex(0) +7 >Emitted(84, 24) Source(75, 24) + SourceIndex(0) +8 >Emitted(84, 25) Source(75, 25) + SourceIndex(0) --- >>>} 1 > @@ -2252,8 +2253,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(84, 1) Source(76, 1) + SourceIndex(0) -2 >Emitted(84, 2) Source(76, 2) + SourceIndex(0) +1 >Emitted(85, 1) Source(76, 1) + SourceIndex(0) +2 >Emitted(85, 2) Source(76, 2) + SourceIndex(0) --- >>>for (var _23 = 0, robots_4 = robots; _23 < robots_4.length; _23++) { 1-> @@ -2281,17 +2282,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 9 > robots 10> ) 11> { -1->Emitted(85, 1) Source(78, 1) + SourceIndex(0) -2 >Emitted(85, 6) Source(78, 39) + SourceIndex(0) -3 >Emitted(85, 17) Source(78, 45) + SourceIndex(0) -4 >Emitted(85, 19) Source(78, 39) + SourceIndex(0) -5 >Emitted(85, 36) Source(78, 45) + SourceIndex(0) -6 >Emitted(85, 38) Source(78, 39) + SourceIndex(0) -7 >Emitted(85, 59) Source(78, 45) + SourceIndex(0) -8 >Emitted(85, 61) Source(78, 39) + SourceIndex(0) -9 >Emitted(85, 66) Source(78, 45) + SourceIndex(0) -10>Emitted(85, 68) Source(78, 47) + SourceIndex(0) -11>Emitted(85, 69) Source(78, 48) + SourceIndex(0) +1->Emitted(86, 1) Source(78, 1) + SourceIndex(0) +2 >Emitted(86, 6) Source(78, 39) + SourceIndex(0) +3 >Emitted(86, 17) Source(78, 45) + SourceIndex(0) +4 >Emitted(86, 19) Source(78, 39) + SourceIndex(0) +5 >Emitted(86, 36) Source(78, 45) + SourceIndex(0) +6 >Emitted(86, 38) Source(78, 39) + SourceIndex(0) +7 >Emitted(86, 59) Source(78, 45) + SourceIndex(0) +8 >Emitted(86, 61) Source(78, 39) + SourceIndex(0) +9 >Emitted(86, 66) Source(78, 45) + SourceIndex(0) +10>Emitted(86, 68) Source(78, 47) + SourceIndex(0) +11>Emitted(86, 69) Source(78, 48) + SourceIndex(0) --- >>> var _24 = robots_4[_23], numberA3 = _24[0], robotAInfo = _24.slice(1); 1->^^^^ @@ -2312,15 +2313,15 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 7 > , ... 8 > robotAInfo 9 > -1->Emitted(86, 5) Source(78, 10) + SourceIndex(0) -2 >Emitted(86, 9) Source(78, 10) + SourceIndex(0) -3 >Emitted(86, 28) Source(78, 35) + SourceIndex(0) -4 >Emitted(86, 30) Source(78, 11) + SourceIndex(0) -5 >Emitted(86, 38) Source(78, 19) + SourceIndex(0) -6 >Emitted(86, 47) Source(78, 19) + SourceIndex(0) -7 >Emitted(86, 49) Source(78, 24) + SourceIndex(0) -8 >Emitted(86, 59) Source(78, 34) + SourceIndex(0) -9 >Emitted(86, 74) Source(78, 34) + SourceIndex(0) +1->Emitted(87, 5) Source(78, 10) + SourceIndex(0) +2 >Emitted(87, 9) Source(78, 10) + SourceIndex(0) +3 >Emitted(87, 28) Source(78, 35) + SourceIndex(0) +4 >Emitted(87, 30) Source(78, 11) + SourceIndex(0) +5 >Emitted(87, 38) Source(78, 19) + SourceIndex(0) +6 >Emitted(87, 47) Source(78, 19) + SourceIndex(0) +7 >Emitted(87, 49) Source(78, 24) + SourceIndex(0) +8 >Emitted(87, 59) Source(78, 34) + SourceIndex(0) +9 >Emitted(87, 74) Source(78, 34) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2340,14 +2341,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(87, 5) Source(79, 5) + SourceIndex(0) -2 >Emitted(87, 12) Source(79, 12) + SourceIndex(0) -3 >Emitted(87, 13) Source(79, 13) + SourceIndex(0) -4 >Emitted(87, 16) Source(79, 16) + SourceIndex(0) -5 >Emitted(87, 17) Source(79, 17) + SourceIndex(0) -6 >Emitted(87, 25) Source(79, 25) + SourceIndex(0) -7 >Emitted(87, 26) Source(79, 26) + SourceIndex(0) -8 >Emitted(87, 27) Source(79, 27) + SourceIndex(0) +1 >Emitted(88, 5) Source(79, 5) + SourceIndex(0) +2 >Emitted(88, 12) Source(79, 12) + SourceIndex(0) +3 >Emitted(88, 13) Source(79, 13) + SourceIndex(0) +4 >Emitted(88, 16) Source(79, 16) + SourceIndex(0) +5 >Emitted(88, 17) Source(79, 17) + SourceIndex(0) +6 >Emitted(88, 25) Source(79, 25) + SourceIndex(0) +7 >Emitted(88, 26) Source(79, 26) + SourceIndex(0) +8 >Emitted(88, 27) Source(79, 27) + SourceIndex(0) --- >>>} 1 > @@ -2356,8 +2357,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(88, 1) Source(80, 1) + SourceIndex(0) -2 >Emitted(88, 2) Source(80, 2) + SourceIndex(0) +1 >Emitted(89, 1) Source(80, 1) + SourceIndex(0) +2 >Emitted(89, 2) Source(80, 2) + SourceIndex(0) --- >>>for (var _25 = 0, _26 = getRobots(); _25 < _26.length; _25++) { 1-> @@ -2388,19 +2389,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 11> getRobots() 12> ) 13> { -1->Emitted(89, 1) Source(81, 1) + SourceIndex(0) -2 >Emitted(89, 6) Source(81, 39) + SourceIndex(0) -3 >Emitted(89, 17) Source(81, 50) + SourceIndex(0) -4 >Emitted(89, 19) Source(81, 39) + SourceIndex(0) -5 >Emitted(89, 25) Source(81, 39) + SourceIndex(0) -6 >Emitted(89, 34) Source(81, 48) + SourceIndex(0) -7 >Emitted(89, 36) Source(81, 50) + SourceIndex(0) -8 >Emitted(89, 38) Source(81, 39) + SourceIndex(0) -9 >Emitted(89, 54) Source(81, 50) + SourceIndex(0) -10>Emitted(89, 56) Source(81, 39) + SourceIndex(0) -11>Emitted(89, 61) Source(81, 50) + SourceIndex(0) -12>Emitted(89, 63) Source(81, 52) + SourceIndex(0) -13>Emitted(89, 64) Source(81, 53) + SourceIndex(0) +1->Emitted(90, 1) Source(81, 1) + SourceIndex(0) +2 >Emitted(90, 6) Source(81, 39) + SourceIndex(0) +3 >Emitted(90, 17) Source(81, 50) + SourceIndex(0) +4 >Emitted(90, 19) Source(81, 39) + SourceIndex(0) +5 >Emitted(90, 25) Source(81, 39) + SourceIndex(0) +6 >Emitted(90, 34) Source(81, 48) + SourceIndex(0) +7 >Emitted(90, 36) Source(81, 50) + SourceIndex(0) +8 >Emitted(90, 38) Source(81, 39) + SourceIndex(0) +9 >Emitted(90, 54) Source(81, 50) + SourceIndex(0) +10>Emitted(90, 56) Source(81, 39) + SourceIndex(0) +11>Emitted(90, 61) Source(81, 50) + SourceIndex(0) +12>Emitted(90, 63) Source(81, 52) + SourceIndex(0) +13>Emitted(90, 64) Source(81, 53) + SourceIndex(0) --- >>> var _27 = _26[_25], numberA3 = _27[0], robotAInfo = _27.slice(1); 1->^^^^ @@ -2421,15 +2422,15 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 7 > , ... 8 > robotAInfo 9 > -1->Emitted(90, 5) Source(81, 10) + SourceIndex(0) -2 >Emitted(90, 9) Source(81, 10) + SourceIndex(0) -3 >Emitted(90, 23) Source(81, 35) + SourceIndex(0) -4 >Emitted(90, 25) Source(81, 11) + SourceIndex(0) -5 >Emitted(90, 33) Source(81, 19) + SourceIndex(0) -6 >Emitted(90, 42) Source(81, 19) + SourceIndex(0) -7 >Emitted(90, 44) Source(81, 24) + SourceIndex(0) -8 >Emitted(90, 54) Source(81, 34) + SourceIndex(0) -9 >Emitted(90, 69) Source(81, 34) + SourceIndex(0) +1->Emitted(91, 5) Source(81, 10) + SourceIndex(0) +2 >Emitted(91, 9) Source(81, 10) + SourceIndex(0) +3 >Emitted(91, 23) Source(81, 35) + SourceIndex(0) +4 >Emitted(91, 25) Source(81, 11) + SourceIndex(0) +5 >Emitted(91, 33) Source(81, 19) + SourceIndex(0) +6 >Emitted(91, 42) Source(81, 19) + SourceIndex(0) +7 >Emitted(91, 44) Source(81, 24) + SourceIndex(0) +8 >Emitted(91, 54) Source(81, 34) + SourceIndex(0) +9 >Emitted(91, 69) Source(81, 34) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2449,14 +2450,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(91, 5) Source(82, 5) + SourceIndex(0) -2 >Emitted(91, 12) Source(82, 12) + SourceIndex(0) -3 >Emitted(91, 13) Source(82, 13) + SourceIndex(0) -4 >Emitted(91, 16) Source(82, 16) + SourceIndex(0) -5 >Emitted(91, 17) Source(82, 17) + SourceIndex(0) -6 >Emitted(91, 25) Source(82, 25) + SourceIndex(0) -7 >Emitted(91, 26) Source(82, 26) + SourceIndex(0) -8 >Emitted(91, 27) Source(82, 27) + SourceIndex(0) +1 >Emitted(92, 5) Source(82, 5) + SourceIndex(0) +2 >Emitted(92, 12) Source(82, 12) + SourceIndex(0) +3 >Emitted(92, 13) Source(82, 13) + SourceIndex(0) +4 >Emitted(92, 16) Source(82, 16) + SourceIndex(0) +5 >Emitted(92, 17) Source(82, 17) + SourceIndex(0) +6 >Emitted(92, 25) Source(82, 25) + SourceIndex(0) +7 >Emitted(92, 26) Source(82, 26) + SourceIndex(0) +8 >Emitted(92, 27) Source(82, 27) + SourceIndex(0) --- >>>} 1 > @@ -2465,8 +2466,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(92, 1) Source(83, 1) + SourceIndex(0) -2 >Emitted(92, 2) Source(83, 2) + SourceIndex(0) +1 >Emitted(93, 1) Source(83, 1) + SourceIndex(0) +2 >Emitted(93, 2) Source(83, 2) + SourceIndex(0) --- >>>for (var _28 = 0, _29 = [robotA, robotB]; _28 < _29.length; _28++) { 1-> @@ -2501,21 +2502,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 13> [robotA, robotB] 14> ) 15> { -1->Emitted(93, 1) Source(84, 1) + SourceIndex(0) -2 >Emitted(93, 6) Source(84, 39) + SourceIndex(0) -3 >Emitted(93, 17) Source(84, 55) + SourceIndex(0) -4 >Emitted(93, 19) Source(84, 39) + SourceIndex(0) -5 >Emitted(93, 26) Source(84, 40) + SourceIndex(0) -6 >Emitted(93, 32) Source(84, 46) + SourceIndex(0) -7 >Emitted(93, 34) Source(84, 48) + SourceIndex(0) -8 >Emitted(93, 40) Source(84, 54) + SourceIndex(0) -9 >Emitted(93, 41) Source(84, 55) + SourceIndex(0) -10>Emitted(93, 43) Source(84, 39) + SourceIndex(0) -11>Emitted(93, 59) Source(84, 55) + SourceIndex(0) -12>Emitted(93, 61) Source(84, 39) + SourceIndex(0) -13>Emitted(93, 66) Source(84, 55) + SourceIndex(0) -14>Emitted(93, 68) Source(84, 57) + SourceIndex(0) -15>Emitted(93, 69) Source(84, 58) + SourceIndex(0) +1->Emitted(94, 1) Source(84, 1) + SourceIndex(0) +2 >Emitted(94, 6) Source(84, 39) + SourceIndex(0) +3 >Emitted(94, 17) Source(84, 55) + SourceIndex(0) +4 >Emitted(94, 19) Source(84, 39) + SourceIndex(0) +5 >Emitted(94, 26) Source(84, 40) + SourceIndex(0) +6 >Emitted(94, 32) Source(84, 46) + SourceIndex(0) +7 >Emitted(94, 34) Source(84, 48) + SourceIndex(0) +8 >Emitted(94, 40) Source(84, 54) + SourceIndex(0) +9 >Emitted(94, 41) Source(84, 55) + SourceIndex(0) +10>Emitted(94, 43) Source(84, 39) + SourceIndex(0) +11>Emitted(94, 59) Source(84, 55) + SourceIndex(0) +12>Emitted(94, 61) Source(84, 39) + SourceIndex(0) +13>Emitted(94, 66) Source(84, 55) + SourceIndex(0) +14>Emitted(94, 68) Source(84, 57) + SourceIndex(0) +15>Emitted(94, 69) Source(84, 58) + SourceIndex(0) --- >>> var _30 = _29[_28], numberA3 = _30[0], robotAInfo = _30.slice(1); 1->^^^^ @@ -2536,15 +2537,15 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 7 > , ... 8 > robotAInfo 9 > -1->Emitted(94, 5) Source(84, 10) + SourceIndex(0) -2 >Emitted(94, 9) Source(84, 10) + SourceIndex(0) -3 >Emitted(94, 23) Source(84, 35) + SourceIndex(0) -4 >Emitted(94, 25) Source(84, 11) + SourceIndex(0) -5 >Emitted(94, 33) Source(84, 19) + SourceIndex(0) -6 >Emitted(94, 42) Source(84, 19) + SourceIndex(0) -7 >Emitted(94, 44) Source(84, 24) + SourceIndex(0) -8 >Emitted(94, 54) Source(84, 34) + SourceIndex(0) -9 >Emitted(94, 69) Source(84, 34) + SourceIndex(0) +1->Emitted(95, 5) Source(84, 10) + SourceIndex(0) +2 >Emitted(95, 9) Source(84, 10) + SourceIndex(0) +3 >Emitted(95, 23) Source(84, 35) + SourceIndex(0) +4 >Emitted(95, 25) Source(84, 11) + SourceIndex(0) +5 >Emitted(95, 33) Source(84, 19) + SourceIndex(0) +6 >Emitted(95, 42) Source(84, 19) + SourceIndex(0) +7 >Emitted(95, 44) Source(84, 24) + SourceIndex(0) +8 >Emitted(95, 54) Source(84, 34) + SourceIndex(0) +9 >Emitted(95, 69) Source(84, 34) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2564,14 +2565,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(95, 5) Source(85, 5) + SourceIndex(0) -2 >Emitted(95, 12) Source(85, 12) + SourceIndex(0) -3 >Emitted(95, 13) Source(85, 13) + SourceIndex(0) -4 >Emitted(95, 16) Source(85, 16) + SourceIndex(0) -5 >Emitted(95, 17) Source(85, 17) + SourceIndex(0) -6 >Emitted(95, 25) Source(85, 25) + SourceIndex(0) -7 >Emitted(95, 26) Source(85, 26) + SourceIndex(0) -8 >Emitted(95, 27) Source(85, 27) + SourceIndex(0) +1 >Emitted(96, 5) Source(85, 5) + SourceIndex(0) +2 >Emitted(96, 12) Source(85, 12) + SourceIndex(0) +3 >Emitted(96, 13) Source(85, 13) + SourceIndex(0) +4 >Emitted(96, 16) Source(85, 16) + SourceIndex(0) +5 >Emitted(96, 17) Source(85, 17) + SourceIndex(0) +6 >Emitted(96, 25) Source(85, 25) + SourceIndex(0) +7 >Emitted(96, 26) Source(85, 26) + SourceIndex(0) +8 >Emitted(96, 27) Source(85, 27) + SourceIndex(0) --- >>>} 1 > @@ -2580,8 +2581,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(96, 1) Source(86, 1) + SourceIndex(0) -2 >Emitted(96, 2) Source(86, 2) + SourceIndex(0) +1 >Emitted(97, 1) Source(86, 1) + SourceIndex(0) +2 >Emitted(97, 2) Source(86, 2) + SourceIndex(0) --- >>>for (var _31 = 0, multiRobots_4 = multiRobots; _31 < multiRobots_4.length; _31++) { 1-> @@ -2607,17 +2608,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 9 > multiRobots 10> ) 11> { -1->Emitted(97, 1) Source(87, 1) + SourceIndex(0) -2 >Emitted(97, 6) Source(87, 34) + SourceIndex(0) -3 >Emitted(97, 17) Source(87, 45) + SourceIndex(0) -4 >Emitted(97, 19) Source(87, 34) + SourceIndex(0) -5 >Emitted(97, 46) Source(87, 45) + SourceIndex(0) -6 >Emitted(97, 48) Source(87, 34) + SourceIndex(0) -7 >Emitted(97, 74) Source(87, 45) + SourceIndex(0) -8 >Emitted(97, 76) Source(87, 34) + SourceIndex(0) -9 >Emitted(97, 81) Source(87, 45) + SourceIndex(0) -10>Emitted(97, 83) Source(87, 47) + SourceIndex(0) -11>Emitted(97, 84) Source(87, 48) + SourceIndex(0) +1->Emitted(98, 1) Source(87, 1) + SourceIndex(0) +2 >Emitted(98, 6) Source(87, 34) + SourceIndex(0) +3 >Emitted(98, 17) Source(87, 45) + SourceIndex(0) +4 >Emitted(98, 19) Source(87, 34) + SourceIndex(0) +5 >Emitted(98, 46) Source(87, 45) + SourceIndex(0) +6 >Emitted(98, 48) Source(87, 34) + SourceIndex(0) +7 >Emitted(98, 74) Source(87, 45) + SourceIndex(0) +8 >Emitted(98, 76) Source(87, 34) + SourceIndex(0) +9 >Emitted(98, 81) Source(87, 45) + SourceIndex(0) +10>Emitted(98, 83) Source(87, 47) + SourceIndex(0) +11>Emitted(98, 84) Source(87, 48) + SourceIndex(0) --- >>> var multiRobotAInfo = multiRobots_4[_31].slice(0); 1 >^^^^ @@ -2628,10 +2629,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 2 > ... 3 > multiRobotAInfo 4 > -1 >Emitted(98, 5) Source(87, 11) + SourceIndex(0) -2 >Emitted(98, 9) Source(87, 14) + SourceIndex(0) -3 >Emitted(98, 24) Source(87, 29) + SourceIndex(0) -4 >Emitted(98, 54) Source(87, 29) + SourceIndex(0) +1 >Emitted(99, 5) Source(87, 11) + SourceIndex(0) +2 >Emitted(99, 9) Source(87, 14) + SourceIndex(0) +3 >Emitted(99, 24) Source(87, 29) + SourceIndex(0) +4 >Emitted(99, 54) Source(87, 29) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -2651,14 +2652,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(99, 5) Source(88, 5) + SourceIndex(0) -2 >Emitted(99, 12) Source(88, 12) + SourceIndex(0) -3 >Emitted(99, 13) Source(88, 13) + SourceIndex(0) -4 >Emitted(99, 16) Source(88, 16) + SourceIndex(0) -5 >Emitted(99, 17) Source(88, 17) + SourceIndex(0) -6 >Emitted(99, 32) Source(88, 32) + SourceIndex(0) -7 >Emitted(99, 33) Source(88, 33) + SourceIndex(0) -8 >Emitted(99, 34) Source(88, 34) + SourceIndex(0) +1 >Emitted(100, 5) Source(88, 5) + SourceIndex(0) +2 >Emitted(100, 12) Source(88, 12) + SourceIndex(0) +3 >Emitted(100, 13) Source(88, 13) + SourceIndex(0) +4 >Emitted(100, 16) Source(88, 16) + SourceIndex(0) +5 >Emitted(100, 17) Source(88, 17) + SourceIndex(0) +6 >Emitted(100, 32) Source(88, 32) + SourceIndex(0) +7 >Emitted(100, 33) Source(88, 33) + SourceIndex(0) +8 >Emitted(100, 34) Source(88, 34) + SourceIndex(0) --- >>>} 1 > @@ -2667,8 +2668,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(100, 1) Source(89, 1) + SourceIndex(0) -2 >Emitted(100, 2) Source(89, 2) + SourceIndex(0) +1 >Emitted(101, 1) Source(89, 1) + SourceIndex(0) +2 >Emitted(101, 2) Source(89, 2) + SourceIndex(0) --- >>>for (var _32 = 0, _33 = getMultiRobots(); _32 < _33.length; _32++) { 1-> @@ -2698,19 +2699,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(101, 1) Source(90, 1) + SourceIndex(0) -2 >Emitted(101, 6) Source(90, 34) + SourceIndex(0) -3 >Emitted(101, 17) Source(90, 50) + SourceIndex(0) -4 >Emitted(101, 19) Source(90, 34) + SourceIndex(0) -5 >Emitted(101, 25) Source(90, 34) + SourceIndex(0) -6 >Emitted(101, 39) Source(90, 48) + SourceIndex(0) -7 >Emitted(101, 41) Source(90, 50) + SourceIndex(0) -8 >Emitted(101, 43) Source(90, 34) + SourceIndex(0) -9 >Emitted(101, 59) Source(90, 50) + SourceIndex(0) -10>Emitted(101, 61) Source(90, 34) + SourceIndex(0) -11>Emitted(101, 66) Source(90, 50) + SourceIndex(0) -12>Emitted(101, 68) Source(90, 52) + SourceIndex(0) -13>Emitted(101, 69) Source(90, 53) + SourceIndex(0) +1->Emitted(102, 1) Source(90, 1) + SourceIndex(0) +2 >Emitted(102, 6) Source(90, 34) + SourceIndex(0) +3 >Emitted(102, 17) Source(90, 50) + SourceIndex(0) +4 >Emitted(102, 19) Source(90, 34) + SourceIndex(0) +5 >Emitted(102, 25) Source(90, 34) + SourceIndex(0) +6 >Emitted(102, 39) Source(90, 48) + SourceIndex(0) +7 >Emitted(102, 41) Source(90, 50) + SourceIndex(0) +8 >Emitted(102, 43) Source(90, 34) + SourceIndex(0) +9 >Emitted(102, 59) Source(90, 50) + SourceIndex(0) +10>Emitted(102, 61) Source(90, 34) + SourceIndex(0) +11>Emitted(102, 66) Source(90, 50) + SourceIndex(0) +12>Emitted(102, 68) Source(90, 52) + SourceIndex(0) +13>Emitted(102, 69) Source(90, 53) + SourceIndex(0) --- >>> var multiRobotAInfo = _33[_32].slice(0); 1 >^^^^ @@ -2721,10 +2722,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 2 > ... 3 > multiRobotAInfo 4 > -1 >Emitted(102, 5) Source(90, 11) + SourceIndex(0) -2 >Emitted(102, 9) Source(90, 14) + SourceIndex(0) -3 >Emitted(102, 24) Source(90, 29) + SourceIndex(0) -4 >Emitted(102, 44) Source(90, 29) + SourceIndex(0) +1 >Emitted(103, 5) Source(90, 11) + SourceIndex(0) +2 >Emitted(103, 9) Source(90, 14) + SourceIndex(0) +3 >Emitted(103, 24) Source(90, 29) + SourceIndex(0) +4 >Emitted(103, 44) Source(90, 29) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -2744,14 +2745,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(103, 5) Source(91, 5) + SourceIndex(0) -2 >Emitted(103, 12) Source(91, 12) + SourceIndex(0) -3 >Emitted(103, 13) Source(91, 13) + SourceIndex(0) -4 >Emitted(103, 16) Source(91, 16) + SourceIndex(0) -5 >Emitted(103, 17) Source(91, 17) + SourceIndex(0) -6 >Emitted(103, 32) Source(91, 32) + SourceIndex(0) -7 >Emitted(103, 33) Source(91, 33) + SourceIndex(0) -8 >Emitted(103, 34) Source(91, 34) + SourceIndex(0) +1 >Emitted(104, 5) Source(91, 5) + SourceIndex(0) +2 >Emitted(104, 12) Source(91, 12) + SourceIndex(0) +3 >Emitted(104, 13) Source(91, 13) + SourceIndex(0) +4 >Emitted(104, 16) Source(91, 16) + SourceIndex(0) +5 >Emitted(104, 17) Source(91, 17) + SourceIndex(0) +6 >Emitted(104, 32) Source(91, 32) + SourceIndex(0) +7 >Emitted(104, 33) Source(91, 33) + SourceIndex(0) +8 >Emitted(104, 34) Source(91, 34) + SourceIndex(0) --- >>>} 1 > @@ -2760,8 +2761,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(104, 1) Source(92, 1) + SourceIndex(0) -2 >Emitted(104, 2) Source(92, 2) + SourceIndex(0) +1 >Emitted(105, 1) Source(92, 1) + SourceIndex(0) +2 >Emitted(105, 2) Source(92, 2) + SourceIndex(0) --- >>>for (var _34 = 0, _35 = [multiRobotA, multiRobotB]; _34 < _35.length; _34++) { 1-> @@ -2795,21 +2796,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(105, 1) Source(93, 1) + SourceIndex(0) -2 >Emitted(105, 6) Source(93, 34) + SourceIndex(0) -3 >Emitted(105, 17) Source(93, 60) + SourceIndex(0) -4 >Emitted(105, 19) Source(93, 34) + SourceIndex(0) -5 >Emitted(105, 26) Source(93, 35) + SourceIndex(0) -6 >Emitted(105, 37) Source(93, 46) + SourceIndex(0) -7 >Emitted(105, 39) Source(93, 48) + SourceIndex(0) -8 >Emitted(105, 50) Source(93, 59) + SourceIndex(0) -9 >Emitted(105, 51) Source(93, 60) + SourceIndex(0) -10>Emitted(105, 53) Source(93, 34) + SourceIndex(0) -11>Emitted(105, 69) Source(93, 60) + SourceIndex(0) -12>Emitted(105, 71) Source(93, 34) + SourceIndex(0) -13>Emitted(105, 76) Source(93, 60) + SourceIndex(0) -14>Emitted(105, 78) Source(93, 62) + SourceIndex(0) -15>Emitted(105, 79) Source(93, 63) + SourceIndex(0) +1->Emitted(106, 1) Source(93, 1) + SourceIndex(0) +2 >Emitted(106, 6) Source(93, 34) + SourceIndex(0) +3 >Emitted(106, 17) Source(93, 60) + SourceIndex(0) +4 >Emitted(106, 19) Source(93, 34) + SourceIndex(0) +5 >Emitted(106, 26) Source(93, 35) + SourceIndex(0) +6 >Emitted(106, 37) Source(93, 46) + SourceIndex(0) +7 >Emitted(106, 39) Source(93, 48) + SourceIndex(0) +8 >Emitted(106, 50) Source(93, 59) + SourceIndex(0) +9 >Emitted(106, 51) Source(93, 60) + SourceIndex(0) +10>Emitted(106, 53) Source(93, 34) + SourceIndex(0) +11>Emitted(106, 69) Source(93, 60) + SourceIndex(0) +12>Emitted(106, 71) Source(93, 34) + SourceIndex(0) +13>Emitted(106, 76) Source(93, 60) + SourceIndex(0) +14>Emitted(106, 78) Source(93, 62) + SourceIndex(0) +15>Emitted(106, 79) Source(93, 63) + SourceIndex(0) --- >>> var multiRobotAInfo = _35[_34].slice(0); 1 >^^^^ @@ -2820,10 +2821,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 2 > ... 3 > multiRobotAInfo 4 > -1 >Emitted(106, 5) Source(93, 11) + SourceIndex(0) -2 >Emitted(106, 9) Source(93, 14) + SourceIndex(0) -3 >Emitted(106, 24) Source(93, 29) + SourceIndex(0) -4 >Emitted(106, 44) Source(93, 29) + SourceIndex(0) +1 >Emitted(107, 5) Source(93, 11) + SourceIndex(0) +2 >Emitted(107, 9) Source(93, 14) + SourceIndex(0) +3 >Emitted(107, 24) Source(93, 29) + SourceIndex(0) +4 >Emitted(107, 44) Source(93, 29) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -2843,14 +2844,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(107, 5) Source(94, 5) + SourceIndex(0) -2 >Emitted(107, 12) Source(94, 12) + SourceIndex(0) -3 >Emitted(107, 13) Source(94, 13) + SourceIndex(0) -4 >Emitted(107, 16) Source(94, 16) + SourceIndex(0) -5 >Emitted(107, 17) Source(94, 17) + SourceIndex(0) -6 >Emitted(107, 32) Source(94, 32) + SourceIndex(0) -7 >Emitted(107, 33) Source(94, 33) + SourceIndex(0) -8 >Emitted(107, 34) Source(94, 34) + SourceIndex(0) +1 >Emitted(108, 5) Source(94, 5) + SourceIndex(0) +2 >Emitted(108, 12) Source(94, 12) + SourceIndex(0) +3 >Emitted(108, 13) Source(94, 13) + SourceIndex(0) +4 >Emitted(108, 16) Source(94, 16) + SourceIndex(0) +5 >Emitted(108, 17) Source(94, 17) + SourceIndex(0) +6 >Emitted(108, 32) Source(94, 32) + SourceIndex(0) +7 >Emitted(108, 33) Source(94, 33) + SourceIndex(0) +8 >Emitted(108, 34) Source(94, 34) + SourceIndex(0) --- >>>} 1 > @@ -2859,7 +2860,7 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(108, 1) Source(95, 1) + SourceIndex(0) -2 >Emitted(108, 2) Source(95, 2) + SourceIndex(0) +1 >Emitted(109, 1) Source(95, 1) + SourceIndex(0) +2 >Emitted(109, 2) Source(95, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForOfArrayBindingPattern.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.js b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.js index 925e306e707bb..602edc5ef4b4b 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.js @@ -103,6 +103,7 @@ for ([...multiRobotAInfo] of [multiRobotA, multiRobotB]) { } //// [sourceMapValidationDestructuringForOfArrayBindingPattern2.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w; var robotA = [1, "mower", "mowing"]; var robotB = [2, "trimmer", "trimming"]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.js.map index 7c4b8b2c2329d..b7f7f6e6bafa7 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForOfArrayBindingPattern2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForOfArrayBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfArrayBindingPattern2.ts"],"names":[],"mappings":";AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OA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5sb2cobmFtZU1BKTsKfQpmb3IgKFtuYW1lTUEsIFtwcmltYXJ5U2tpbGxBLCBzZWNvbmRhcnlTa2lsbEFdXSBvZiBbbXVsdGlSb2JvdEEsIG11bHRpUm9ib3RCXSkgewogICAgY29uc29sZS5sb2cobmFtZU1BKTsKfQoKZm9yIChbbnVtYmVyQTMsIC4uLnJvYm90QUluZm9dIG9mIHJvYm90cykgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAoW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSBvZiBnZXRSb2JvdHMoKSkgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAoW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSBvZiBbcm9ib3RBLCByb2JvdEJdKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbLi4ubXVsdGlSb2JvdEFJbmZvXSBvZiBtdWx0aVJvYm90cykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dIG9mIGdldE11bHRpUm9ib3RzKCkpIHsKICAgIGNvbnNvbGUubG9nKG11bHRpUm9ib3RBSW5mbyk7Cn0KZm9yIChbLi4ubXVsdGlSb2JvdEFJbmZvXSBvZiBbbXVsdGlSb2JvdEEsIG11bHRpUm9ib3RCXSkgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQ== +{"version":3,"file":"sourceMapValidationDestructuringForOfArrayBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfArrayBindingPattern2.ts"],"names":[],"mappings":";;AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAC/C,IAAI,MAAM,GAAG,CAAC,MAAM,EAAE,MAA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EEsIG11bHRpUm9ib3RCXSkgewogICAgY29uc29sZS5sb2cobmFtZU1BKTsKfQoKZm9yIChbbnVtYmVyQTMsIC4uLnJvYm90QUluZm9dIG9mIHJvYm90cykgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAoW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSBvZiBnZXRSb2JvdHMoKSkgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9CmZvciAoW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSBvZiBbcm9ib3RBLCByb2JvdEJdKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbLi4ubXVsdGlSb2JvdEFJbmZvXSBvZiBtdWx0aVJvYm90cykgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQpmb3IgKFsuLi5tdWx0aVJvYm90QUluZm9dIG9mIGdldE11bHRpUm9ib3RzKCkpIHsKICAgIGNvbnNvbGUubG9nKG11bHRpUm9ib3RBSW5mbyk7Cn0KZm9yIChbLi4ubXVsdGlSb2JvdEFJbmZvXSBvZiBbbXVsdGlSb2JvdEEsIG11bHRpUm9ib3RCXSkgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQ== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.sourcemap.txt index 9e88b82222067..519f1357ee8e8 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPattern2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForOfArrayBindingPattern2.ts emittedFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.js sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w; >>>var robotA = [1, "mower", "mowing"]; 1 > @@ -41,18 +42,18 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 10> "mowing" 11> ] 12> ; -1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(7, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(7, 21) + SourceIndex(0) -5 >Emitted(2, 15) Source(7, 22) + SourceIndex(0) -6 >Emitted(2, 16) Source(7, 23) + SourceIndex(0) -7 >Emitted(2, 18) Source(7, 25) + SourceIndex(0) -8 >Emitted(2, 25) Source(7, 32) + SourceIndex(0) -9 >Emitted(2, 27) Source(7, 34) + SourceIndex(0) -10>Emitted(2, 35) Source(7, 42) + SourceIndex(0) -11>Emitted(2, 36) Source(7, 43) + SourceIndex(0) -12>Emitted(2, 37) Source(7, 44) + SourceIndex(0) +1 >Emitted(3, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(7, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(7, 21) + SourceIndex(0) +5 >Emitted(3, 15) Source(7, 22) + SourceIndex(0) +6 >Emitted(3, 16) Source(7, 23) + SourceIndex(0) +7 >Emitted(3, 18) Source(7, 25) + SourceIndex(0) +8 >Emitted(3, 25) Source(7, 32) + SourceIndex(0) +9 >Emitted(3, 27) Source(7, 34) + SourceIndex(0) +10>Emitted(3, 35) Source(7, 42) + SourceIndex(0) +11>Emitted(3, 36) Source(7, 43) + SourceIndex(0) +12>Emitted(3, 37) Source(7, 44) + SourceIndex(0) --- >>>var robotB = [2, "trimmer", "trimming"]; 1-> @@ -80,18 +81,18 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 10> "trimming" 11> ] 12> ; -1->Emitted(3, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(3, 11) Source(8, 11) + SourceIndex(0) -4 >Emitted(3, 14) Source(8, 21) + SourceIndex(0) -5 >Emitted(3, 15) Source(8, 22) + SourceIndex(0) -6 >Emitted(3, 16) Source(8, 23) + SourceIndex(0) -7 >Emitted(3, 18) Source(8, 25) + SourceIndex(0) -8 >Emitted(3, 27) Source(8, 34) + SourceIndex(0) -9 >Emitted(3, 29) Source(8, 36) + SourceIndex(0) -10>Emitted(3, 39) Source(8, 46) + SourceIndex(0) -11>Emitted(3, 40) Source(8, 47) + SourceIndex(0) -12>Emitted(3, 41) Source(8, 48) + SourceIndex(0) +1->Emitted(4, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(4, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(4, 14) Source(8, 21) + SourceIndex(0) +5 >Emitted(4, 15) Source(8, 22) + SourceIndex(0) +6 >Emitted(4, 16) Source(8, 23) + SourceIndex(0) +7 >Emitted(4, 18) Source(8, 25) + SourceIndex(0) +8 >Emitted(4, 27) Source(8, 34) + SourceIndex(0) +9 >Emitted(4, 29) Source(8, 36) + SourceIndex(0) +10>Emitted(4, 39) Source(8, 46) + SourceIndex(0) +11>Emitted(4, 40) Source(8, 47) + SourceIndex(0) +12>Emitted(4, 41) Source(8, 48) + SourceIndex(0) --- >>>var robots = [robotA, robotB]; 1 > @@ -115,16 +116,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 8 > robotB 9 > ] 10> ; -1 >Emitted(4, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(4, 5) Source(9, 5) + SourceIndex(0) -3 >Emitted(4, 11) Source(9, 11) + SourceIndex(0) -4 >Emitted(4, 14) Source(9, 14) + SourceIndex(0) -5 >Emitted(4, 15) Source(9, 15) + SourceIndex(0) -6 >Emitted(4, 21) Source(9, 21) + SourceIndex(0) -7 >Emitted(4, 23) Source(9, 23) + SourceIndex(0) -8 >Emitted(4, 29) Source(9, 29) + SourceIndex(0) -9 >Emitted(4, 30) Source(9, 30) + SourceIndex(0) -10>Emitted(4, 31) Source(9, 31) + SourceIndex(0) +1 >Emitted(5, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(5, 5) Source(9, 5) + SourceIndex(0) +3 >Emitted(5, 11) Source(9, 11) + SourceIndex(0) +4 >Emitted(5, 14) Source(9, 14) + SourceIndex(0) +5 >Emitted(5, 15) Source(9, 15) + SourceIndex(0) +6 >Emitted(5, 21) Source(9, 21) + SourceIndex(0) +7 >Emitted(5, 23) Source(9, 23) + SourceIndex(0) +8 >Emitted(5, 29) Source(9, 29) + SourceIndex(0) +9 >Emitted(5, 30) Source(9, 30) + SourceIndex(0) +10>Emitted(5, 31) Source(9, 31) + SourceIndex(0) --- >>>function getRobots() { 1 > @@ -135,9 +136,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts > 2 >function 3 > getRobots -1 >Emitted(5, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(5, 10) Source(10, 10) + SourceIndex(0) -3 >Emitted(5, 19) Source(10, 19) + SourceIndex(0) +1 >Emitted(6, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(6, 10) Source(10, 10) + SourceIndex(0) +3 >Emitted(6, 19) Source(10, 19) + SourceIndex(0) --- >>> return robots; 1->^^^^ @@ -149,10 +150,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 2 > return 3 > robots 4 > ; -1->Emitted(6, 5) Source(11, 5) + SourceIndex(0) -2 >Emitted(6, 12) Source(11, 12) + SourceIndex(0) -3 >Emitted(6, 18) Source(11, 18) + SourceIndex(0) -4 >Emitted(6, 19) Source(11, 19) + SourceIndex(0) +1->Emitted(7, 5) Source(11, 5) + SourceIndex(0) +2 >Emitted(7, 12) Source(11, 12) + SourceIndex(0) +3 >Emitted(7, 18) Source(11, 18) + SourceIndex(0) +4 >Emitted(7, 19) Source(11, 19) + SourceIndex(0) --- >>>} 1 > @@ -161,8 +162,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(7, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(12, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(12, 2) + SourceIndex(0) --- >>>var multiRobotA = ["mower", ["mowing", ""]]; 1-> @@ -196,20 +197,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 12> ] 13> ] 14> ; -1->Emitted(8, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(8, 5) Source(14, 5) + SourceIndex(0) -3 >Emitted(8, 16) Source(14, 16) + SourceIndex(0) -4 >Emitted(8, 19) Source(14, 38) + SourceIndex(0) -5 >Emitted(8, 20) Source(14, 39) + SourceIndex(0) -6 >Emitted(8, 27) Source(14, 46) + SourceIndex(0) -7 >Emitted(8, 29) Source(14, 48) + SourceIndex(0) -8 >Emitted(8, 30) Source(14, 49) + SourceIndex(0) -9 >Emitted(8, 38) Source(14, 57) + SourceIndex(0) -10>Emitted(8, 40) Source(14, 59) + SourceIndex(0) -11>Emitted(8, 42) Source(14, 61) + SourceIndex(0) -12>Emitted(8, 43) Source(14, 62) + SourceIndex(0) -13>Emitted(8, 44) Source(14, 63) + SourceIndex(0) -14>Emitted(8, 45) Source(14, 64) + SourceIndex(0) +1->Emitted(9, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(9, 5) Source(14, 5) + SourceIndex(0) +3 >Emitted(9, 16) Source(14, 16) + SourceIndex(0) +4 >Emitted(9, 19) Source(14, 38) + SourceIndex(0) +5 >Emitted(9, 20) Source(14, 39) + SourceIndex(0) +6 >Emitted(9, 27) Source(14, 46) + SourceIndex(0) +7 >Emitted(9, 29) Source(14, 48) + SourceIndex(0) +8 >Emitted(9, 30) Source(14, 49) + SourceIndex(0) +9 >Emitted(9, 38) Source(14, 57) + SourceIndex(0) +10>Emitted(9, 40) Source(14, 59) + SourceIndex(0) +11>Emitted(9, 42) Source(14, 61) + SourceIndex(0) +12>Emitted(9, 43) Source(14, 62) + SourceIndex(0) +13>Emitted(9, 44) Source(14, 63) + SourceIndex(0) +14>Emitted(9, 45) Source(14, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -241,20 +242,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 12> ] 13> ] 14> ; -1->Emitted(9, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(9, 5) Source(15, 5) + SourceIndex(0) -3 >Emitted(9, 16) Source(15, 16) + SourceIndex(0) -4 >Emitted(9, 19) Source(15, 38) + SourceIndex(0) -5 >Emitted(9, 20) Source(15, 39) + SourceIndex(0) -6 >Emitted(9, 29) Source(15, 48) + SourceIndex(0) -7 >Emitted(9, 31) Source(15, 50) + SourceIndex(0) -8 >Emitted(9, 32) Source(15, 51) + SourceIndex(0) -9 >Emitted(9, 42) Source(15, 61) + SourceIndex(0) -10>Emitted(9, 44) Source(15, 63) + SourceIndex(0) -11>Emitted(9, 52) Source(15, 71) + SourceIndex(0) -12>Emitted(9, 53) Source(15, 72) + SourceIndex(0) -13>Emitted(9, 54) Source(15, 73) + SourceIndex(0) -14>Emitted(9, 55) Source(15, 74) + SourceIndex(0) +1->Emitted(10, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(10, 5) Source(15, 5) + SourceIndex(0) +3 >Emitted(10, 16) Source(15, 16) + SourceIndex(0) +4 >Emitted(10, 19) Source(15, 38) + SourceIndex(0) +5 >Emitted(10, 20) Source(15, 39) + SourceIndex(0) +6 >Emitted(10, 29) Source(15, 48) + SourceIndex(0) +7 >Emitted(10, 31) Source(15, 50) + SourceIndex(0) +8 >Emitted(10, 32) Source(15, 51) + SourceIndex(0) +9 >Emitted(10, 42) Source(15, 61) + SourceIndex(0) +10>Emitted(10, 44) Source(15, 63) + SourceIndex(0) +11>Emitted(10, 52) Source(15, 71) + SourceIndex(0) +12>Emitted(10, 53) Source(15, 72) + SourceIndex(0) +13>Emitted(10, 54) Source(15, 73) + SourceIndex(0) +14>Emitted(10, 55) Source(15, 74) + SourceIndex(0) --- >>>var multiRobots = [multiRobotA, multiRobotB]; 1 > @@ -278,16 +279,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 8 > multiRobotB 9 > ] 10> ; -1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(10, 5) Source(16, 5) + SourceIndex(0) -3 >Emitted(10, 16) Source(16, 16) + SourceIndex(0) -4 >Emitted(10, 19) Source(16, 19) + SourceIndex(0) -5 >Emitted(10, 20) Source(16, 20) + SourceIndex(0) -6 >Emitted(10, 31) Source(16, 31) + SourceIndex(0) -7 >Emitted(10, 33) Source(16, 33) + SourceIndex(0) -8 >Emitted(10, 44) Source(16, 44) + SourceIndex(0) -9 >Emitted(10, 45) Source(16, 45) + SourceIndex(0) -10>Emitted(10, 46) Source(16, 46) + SourceIndex(0) +1 >Emitted(11, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(11, 5) Source(16, 5) + SourceIndex(0) +3 >Emitted(11, 16) Source(16, 16) + SourceIndex(0) +4 >Emitted(11, 19) Source(16, 19) + SourceIndex(0) +5 >Emitted(11, 20) Source(16, 20) + SourceIndex(0) +6 >Emitted(11, 31) Source(16, 31) + SourceIndex(0) +7 >Emitted(11, 33) Source(16, 33) + SourceIndex(0) +8 >Emitted(11, 44) Source(16, 44) + SourceIndex(0) +9 >Emitted(11, 45) Source(16, 45) + SourceIndex(0) +10>Emitted(11, 46) Source(16, 46) + SourceIndex(0) --- >>>function getMultiRobots() { 1 > @@ -298,9 +299,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts > 2 >function 3 > getMultiRobots -1 >Emitted(11, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(11, 10) Source(17, 10) + SourceIndex(0) -3 >Emitted(11, 24) Source(17, 24) + SourceIndex(0) +1 >Emitted(12, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(12, 10) Source(17, 10) + SourceIndex(0) +3 >Emitted(12, 24) Source(17, 24) + SourceIndex(0) --- >>> return multiRobots; 1->^^^^ @@ -312,10 +313,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 2 > return 3 > multiRobots 4 > ; -1->Emitted(12, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(12, 12) Source(18, 12) + SourceIndex(0) -3 >Emitted(12, 23) Source(18, 23) + SourceIndex(0) -4 >Emitted(12, 24) Source(18, 24) + SourceIndex(0) +1->Emitted(13, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(13, 12) Source(18, 12) + SourceIndex(0) +3 >Emitted(13, 23) Source(18, 23) + SourceIndex(0) +4 >Emitted(13, 24) Source(18, 24) + SourceIndex(0) --- >>>} 1 > @@ -324,8 +325,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(13, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(19, 2) + SourceIndex(0) --- >>>var nameA, primarySkillA, secondarySkillA; 1-> @@ -346,14 +347,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > , 7 > secondarySkillA: string 8 > ; -1->Emitted(14, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(14, 5) Source(21, 5) + SourceIndex(0) -3 >Emitted(14, 10) Source(21, 18) + SourceIndex(0) -4 >Emitted(14, 12) Source(21, 20) + SourceIndex(0) -5 >Emitted(14, 25) Source(21, 41) + SourceIndex(0) -6 >Emitted(14, 27) Source(21, 43) + SourceIndex(0) -7 >Emitted(14, 42) Source(21, 66) + SourceIndex(0) -8 >Emitted(14, 43) Source(21, 67) + SourceIndex(0) +1->Emitted(15, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(15, 5) Source(21, 5) + SourceIndex(0) +3 >Emitted(15, 10) Source(21, 18) + SourceIndex(0) +4 >Emitted(15, 12) Source(21, 20) + SourceIndex(0) +5 >Emitted(15, 25) Source(21, 41) + SourceIndex(0) +6 >Emitted(15, 27) Source(21, 43) + SourceIndex(0) +7 >Emitted(15, 42) Source(21, 66) + SourceIndex(0) +8 >Emitted(15, 43) Source(21, 67) + SourceIndex(0) --- >>>var numberB, nameB; 1 > @@ -370,12 +371,12 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 4 > , 5 > nameB: string 6 > ; -1 >Emitted(15, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(15, 5) Source(22, 5) + SourceIndex(0) -3 >Emitted(15, 12) Source(22, 20) + SourceIndex(0) -4 >Emitted(15, 14) Source(22, 22) + SourceIndex(0) -5 >Emitted(15, 19) Source(22, 35) + SourceIndex(0) -6 >Emitted(15, 20) Source(22, 36) + SourceIndex(0) +1 >Emitted(16, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(16, 5) Source(22, 5) + SourceIndex(0) +3 >Emitted(16, 12) Source(22, 20) + SourceIndex(0) +4 >Emitted(16, 14) Source(22, 22) + SourceIndex(0) +5 >Emitted(16, 19) Source(22, 35) + SourceIndex(0) +6 >Emitted(16, 20) Source(22, 36) + SourceIndex(0) --- >>>var numberA2, nameA2, skillA2, nameMA; 1-> @@ -400,16 +401,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 8 > , 9 > nameMA: string 10> ; -1->Emitted(16, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(16, 5) Source(23, 5) + SourceIndex(0) -3 >Emitted(16, 13) Source(23, 21) + SourceIndex(0) -4 >Emitted(16, 15) Source(23, 23) + SourceIndex(0) -5 >Emitted(16, 21) Source(23, 37) + SourceIndex(0) -6 >Emitted(16, 23) Source(23, 39) + SourceIndex(0) -7 >Emitted(16, 30) Source(23, 54) + SourceIndex(0) -8 >Emitted(16, 32) Source(23, 56) + SourceIndex(0) -9 >Emitted(16, 38) Source(23, 70) + SourceIndex(0) -10>Emitted(16, 39) Source(23, 71) + SourceIndex(0) +1->Emitted(17, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(17, 5) Source(23, 5) + SourceIndex(0) +3 >Emitted(17, 13) Source(23, 21) + SourceIndex(0) +4 >Emitted(17, 15) Source(23, 23) + SourceIndex(0) +5 >Emitted(17, 21) Source(23, 37) + SourceIndex(0) +6 >Emitted(17, 23) Source(23, 39) + SourceIndex(0) +7 >Emitted(17, 30) Source(23, 54) + SourceIndex(0) +8 >Emitted(17, 32) Source(23, 56) + SourceIndex(0) +9 >Emitted(17, 38) Source(23, 70) + SourceIndex(0) +10>Emitted(17, 39) Source(23, 71) + SourceIndex(0) --- >>>var numberA3, robotAInfo, multiRobotAInfo; 1-> @@ -430,14 +431,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > , 7 > multiRobotAInfo: (string | [string, string])[] 8 > ; -1->Emitted(17, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(17, 5) Source(24, 5) + SourceIndex(0) -3 >Emitted(17, 13) Source(24, 21) + SourceIndex(0) -4 >Emitted(17, 15) Source(24, 23) + SourceIndex(0) -5 >Emitted(17, 25) Source(24, 54) + SourceIndex(0) -6 >Emitted(17, 27) Source(24, 56) + SourceIndex(0) -7 >Emitted(17, 42) Source(24, 102) + SourceIndex(0) -8 >Emitted(17, 43) Source(24, 103) + SourceIndex(0) +1->Emitted(18, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(18, 5) Source(24, 5) + SourceIndex(0) +3 >Emitted(18, 13) Source(24, 21) + SourceIndex(0) +4 >Emitted(18, 15) Source(24, 23) + SourceIndex(0) +5 >Emitted(18, 25) Source(24, 54) + SourceIndex(0) +6 >Emitted(18, 27) Source(24, 56) + SourceIndex(0) +7 >Emitted(18, 42) Source(24, 102) + SourceIndex(0) +8 >Emitted(18, 43) Source(24, 103) + SourceIndex(0) --- >>>for (var _i = 0, robots_1 = robots; _i < robots_1.length; _i++) { 1-> @@ -464,17 +465,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 9 > robots 10> ) 11> { -1->Emitted(18, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(18, 6) Source(26, 19) + SourceIndex(0) -3 >Emitted(18, 16) Source(26, 25) + SourceIndex(0) -4 >Emitted(18, 18) Source(26, 19) + SourceIndex(0) -5 >Emitted(18, 35) Source(26, 25) + SourceIndex(0) -6 >Emitted(18, 37) Source(26, 19) + SourceIndex(0) -7 >Emitted(18, 57) Source(26, 25) + SourceIndex(0) -8 >Emitted(18, 59) Source(26, 19) + SourceIndex(0) -9 >Emitted(18, 63) Source(26, 25) + SourceIndex(0) -10>Emitted(18, 65) Source(26, 27) + SourceIndex(0) -11>Emitted(18, 66) Source(26, 28) + SourceIndex(0) +1->Emitted(19, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(19, 6) Source(26, 19) + SourceIndex(0) +3 >Emitted(19, 16) Source(26, 25) + SourceIndex(0) +4 >Emitted(19, 18) Source(26, 19) + SourceIndex(0) +5 >Emitted(19, 35) Source(26, 25) + SourceIndex(0) +6 >Emitted(19, 37) Source(26, 19) + SourceIndex(0) +7 >Emitted(19, 57) Source(26, 25) + SourceIndex(0) +8 >Emitted(19, 59) Source(26, 19) + SourceIndex(0) +9 >Emitted(19, 63) Source(26, 25) + SourceIndex(0) +10>Emitted(19, 65) Source(26, 27) + SourceIndex(0) +11>Emitted(19, 66) Source(26, 28) + SourceIndex(0) --- >>> _a = robots_1[_i], nameA = _a[1]; 1 >^^^^^^^^^^^^^^^^^^^^^^^ @@ -483,9 +484,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > nameA 3 > -1 >Emitted(19, 24) Source(26, 9) + SourceIndex(0) -2 >Emitted(19, 29) Source(26, 14) + SourceIndex(0) -3 >Emitted(19, 37) Source(26, 14) + SourceIndex(0) +1 >Emitted(20, 24) Source(26, 9) + SourceIndex(0) +2 >Emitted(20, 29) Source(26, 14) + SourceIndex(0) +3 >Emitted(20, 37) Source(26, 14) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -505,14 +506,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(20, 5) Source(27, 5) + SourceIndex(0) -2 >Emitted(20, 12) Source(27, 12) + SourceIndex(0) -3 >Emitted(20, 13) Source(27, 13) + SourceIndex(0) -4 >Emitted(20, 16) Source(27, 16) + SourceIndex(0) -5 >Emitted(20, 17) Source(27, 17) + SourceIndex(0) -6 >Emitted(20, 22) Source(27, 22) + SourceIndex(0) -7 >Emitted(20, 23) Source(27, 23) + SourceIndex(0) -8 >Emitted(20, 24) Source(27, 24) + SourceIndex(0) +1 >Emitted(21, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(21, 12) Source(27, 12) + SourceIndex(0) +3 >Emitted(21, 13) Source(27, 13) + SourceIndex(0) +4 >Emitted(21, 16) Source(27, 16) + SourceIndex(0) +5 >Emitted(21, 17) Source(27, 17) + SourceIndex(0) +6 >Emitted(21, 22) Source(27, 22) + SourceIndex(0) +7 >Emitted(21, 23) Source(27, 23) + SourceIndex(0) +8 >Emitted(21, 24) Source(27, 24) + SourceIndex(0) --- >>>} 1 > @@ -521,8 +522,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(21, 1) Source(28, 1) + SourceIndex(0) -2 >Emitted(21, 2) Source(28, 2) + SourceIndex(0) +1 >Emitted(22, 1) Source(28, 1) + SourceIndex(0) +2 >Emitted(22, 2) Source(28, 2) + SourceIndex(0) --- >>>for (var _x = 0, _y = getRobots(); _x < _y.length; _x++) { 1-> @@ -552,19 +553,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 11> getRobots() 12> ) 13> { -1->Emitted(22, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(22, 6) Source(29, 19) + SourceIndex(0) -3 >Emitted(22, 16) Source(29, 30) + SourceIndex(0) -4 >Emitted(22, 18) Source(29, 19) + SourceIndex(0) -5 >Emitted(22, 23) Source(29, 19) + SourceIndex(0) -6 >Emitted(22, 32) Source(29, 28) + SourceIndex(0) -7 >Emitted(22, 34) Source(29, 30) + SourceIndex(0) -8 >Emitted(22, 36) Source(29, 19) + SourceIndex(0) -9 >Emitted(22, 50) Source(29, 30) + SourceIndex(0) -10>Emitted(22, 52) Source(29, 19) + SourceIndex(0) -11>Emitted(22, 56) Source(29, 30) + SourceIndex(0) -12>Emitted(22, 58) Source(29, 32) + SourceIndex(0) -13>Emitted(22, 59) Source(29, 33) + SourceIndex(0) +1->Emitted(23, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(23, 6) Source(29, 19) + SourceIndex(0) +3 >Emitted(23, 16) Source(29, 30) + SourceIndex(0) +4 >Emitted(23, 18) Source(29, 19) + SourceIndex(0) +5 >Emitted(23, 23) Source(29, 19) + SourceIndex(0) +6 >Emitted(23, 32) Source(29, 28) + SourceIndex(0) +7 >Emitted(23, 34) Source(29, 30) + SourceIndex(0) +8 >Emitted(23, 36) Source(29, 19) + SourceIndex(0) +9 >Emitted(23, 50) Source(29, 30) + SourceIndex(0) +10>Emitted(23, 52) Source(29, 19) + SourceIndex(0) +11>Emitted(23, 56) Source(29, 30) + SourceIndex(0) +12>Emitted(23, 58) Source(29, 32) + SourceIndex(0) +13>Emitted(23, 59) Source(29, 33) + SourceIndex(0) --- >>> _b = _y[_x], nameA = _b[1]; 1 >^^^^^^^^^^^^^^^^^ @@ -573,9 +574,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > nameA 3 > -1 >Emitted(23, 18) Source(29, 9) + SourceIndex(0) -2 >Emitted(23, 23) Source(29, 14) + SourceIndex(0) -3 >Emitted(23, 31) Source(29, 14) + SourceIndex(0) +1 >Emitted(24, 18) Source(29, 9) + SourceIndex(0) +2 >Emitted(24, 23) Source(29, 14) + SourceIndex(0) +3 >Emitted(24, 31) Source(29, 14) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -595,14 +596,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(24, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(24, 12) Source(30, 12) + SourceIndex(0) -3 >Emitted(24, 13) Source(30, 13) + SourceIndex(0) -4 >Emitted(24, 16) Source(30, 16) + SourceIndex(0) -5 >Emitted(24, 17) Source(30, 17) + SourceIndex(0) -6 >Emitted(24, 22) Source(30, 22) + SourceIndex(0) -7 >Emitted(24, 23) Source(30, 23) + SourceIndex(0) -8 >Emitted(24, 24) Source(30, 24) + SourceIndex(0) +1 >Emitted(25, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(25, 12) Source(30, 12) + SourceIndex(0) +3 >Emitted(25, 13) Source(30, 13) + SourceIndex(0) +4 >Emitted(25, 16) Source(30, 16) + SourceIndex(0) +5 >Emitted(25, 17) Source(30, 17) + SourceIndex(0) +6 >Emitted(25, 22) Source(30, 22) + SourceIndex(0) +7 >Emitted(25, 23) Source(30, 23) + SourceIndex(0) +8 >Emitted(25, 24) Source(30, 24) + SourceIndex(0) --- >>>} 1 > @@ -611,8 +612,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(25, 1) Source(31, 1) + SourceIndex(0) -2 >Emitted(25, 2) Source(31, 2) + SourceIndex(0) +1 >Emitted(26, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(26, 2) Source(31, 2) + SourceIndex(0) --- >>>for (var _z = 0, _0 = [robotA, robotB]; _z < _0.length; _z++) { 1-> @@ -646,21 +647,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 13> [robotA, robotB] 14> ) 15> { -1->Emitted(26, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(26, 6) Source(32, 19) + SourceIndex(0) -3 >Emitted(26, 16) Source(32, 35) + SourceIndex(0) -4 >Emitted(26, 18) Source(32, 19) + SourceIndex(0) -5 >Emitted(26, 24) Source(32, 20) + SourceIndex(0) -6 >Emitted(26, 30) Source(32, 26) + SourceIndex(0) -7 >Emitted(26, 32) Source(32, 28) + SourceIndex(0) -8 >Emitted(26, 38) Source(32, 34) + SourceIndex(0) -9 >Emitted(26, 39) Source(32, 35) + SourceIndex(0) -10>Emitted(26, 41) Source(32, 19) + SourceIndex(0) -11>Emitted(26, 55) Source(32, 35) + SourceIndex(0) -12>Emitted(26, 57) Source(32, 19) + SourceIndex(0) -13>Emitted(26, 61) Source(32, 35) + SourceIndex(0) -14>Emitted(26, 63) Source(32, 37) + SourceIndex(0) -15>Emitted(26, 64) Source(32, 38) + SourceIndex(0) +1->Emitted(27, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(27, 6) Source(32, 19) + SourceIndex(0) +3 >Emitted(27, 16) Source(32, 35) + SourceIndex(0) +4 >Emitted(27, 18) Source(32, 19) + SourceIndex(0) +5 >Emitted(27, 24) Source(32, 20) + SourceIndex(0) +6 >Emitted(27, 30) Source(32, 26) + SourceIndex(0) +7 >Emitted(27, 32) Source(32, 28) + SourceIndex(0) +8 >Emitted(27, 38) Source(32, 34) + SourceIndex(0) +9 >Emitted(27, 39) Source(32, 35) + SourceIndex(0) +10>Emitted(27, 41) Source(32, 19) + SourceIndex(0) +11>Emitted(27, 55) Source(32, 35) + SourceIndex(0) +12>Emitted(27, 57) Source(32, 19) + SourceIndex(0) +13>Emitted(27, 61) Source(32, 35) + SourceIndex(0) +14>Emitted(27, 63) Source(32, 37) + SourceIndex(0) +15>Emitted(27, 64) Source(32, 38) + SourceIndex(0) --- >>> _c = _0[_z], nameA = _c[1]; 1 >^^^^^^^^^^^^^^^^^ @@ -669,9 +670,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > nameA 3 > -1 >Emitted(27, 18) Source(32, 9) + SourceIndex(0) -2 >Emitted(27, 23) Source(32, 14) + SourceIndex(0) -3 >Emitted(27, 31) Source(32, 14) + SourceIndex(0) +1 >Emitted(28, 18) Source(32, 9) + SourceIndex(0) +2 >Emitted(28, 23) Source(32, 14) + SourceIndex(0) +3 >Emitted(28, 31) Source(32, 14) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -691,14 +692,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(28, 5) Source(33, 5) + SourceIndex(0) -2 >Emitted(28, 12) Source(33, 12) + SourceIndex(0) -3 >Emitted(28, 13) Source(33, 13) + SourceIndex(0) -4 >Emitted(28, 16) Source(33, 16) + SourceIndex(0) -5 >Emitted(28, 17) Source(33, 17) + SourceIndex(0) -6 >Emitted(28, 22) Source(33, 22) + SourceIndex(0) -7 >Emitted(28, 23) Source(33, 23) + SourceIndex(0) -8 >Emitted(28, 24) Source(33, 24) + SourceIndex(0) +1 >Emitted(29, 5) Source(33, 5) + SourceIndex(0) +2 >Emitted(29, 12) Source(33, 12) + SourceIndex(0) +3 >Emitted(29, 13) Source(33, 13) + SourceIndex(0) +4 >Emitted(29, 16) Source(33, 16) + SourceIndex(0) +5 >Emitted(29, 17) Source(33, 17) + SourceIndex(0) +6 >Emitted(29, 22) Source(33, 22) + SourceIndex(0) +7 >Emitted(29, 23) Source(33, 23) + SourceIndex(0) +8 >Emitted(29, 24) Source(33, 24) + SourceIndex(0) --- >>>} 1 > @@ -707,8 +708,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(29, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(29, 2) Source(34, 2) + SourceIndex(0) +1 >Emitted(30, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(30, 2) Source(34, 2) + SourceIndex(0) --- >>>for (var _1 = 0, multiRobots_1 = multiRobots; _1 < multiRobots_1.length; _1++) { 1-> @@ -735,17 +736,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 9 > multiRobots 10> ) 11> { -1->Emitted(30, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(30, 6) Source(35, 46) + SourceIndex(0) -3 >Emitted(30, 16) Source(35, 57) + SourceIndex(0) -4 >Emitted(30, 18) Source(35, 46) + SourceIndex(0) -5 >Emitted(30, 45) Source(35, 57) + SourceIndex(0) -6 >Emitted(30, 47) Source(35, 46) + SourceIndex(0) -7 >Emitted(30, 72) Source(35, 57) + SourceIndex(0) -8 >Emitted(30, 74) Source(35, 46) + SourceIndex(0) -9 >Emitted(30, 78) Source(35, 57) + SourceIndex(0) -10>Emitted(30, 80) Source(35, 59) + SourceIndex(0) -11>Emitted(30, 81) Source(35, 60) + SourceIndex(0) +1->Emitted(31, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(31, 6) Source(35, 46) + SourceIndex(0) +3 >Emitted(31, 16) Source(35, 57) + SourceIndex(0) +4 >Emitted(31, 18) Source(35, 46) + SourceIndex(0) +5 >Emitted(31, 45) Source(35, 57) + SourceIndex(0) +6 >Emitted(31, 47) Source(35, 46) + SourceIndex(0) +7 >Emitted(31, 72) Source(35, 57) + SourceIndex(0) +8 >Emitted(31, 74) Source(35, 46) + SourceIndex(0) +9 >Emitted(31, 78) Source(35, 57) + SourceIndex(0) +10>Emitted(31, 80) Source(35, 59) + SourceIndex(0) +11>Emitted(31, 81) Source(35, 60) + SourceIndex(0) --- >>> _d = multiRobots_1[_1], _e = _d[1], primarySkillA = _e[0], secondarySkillA = _e[1]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -764,14 +765,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > , 7 > secondarySkillA 8 > -1->Emitted(31, 29) Source(35, 9) + SourceIndex(0) -2 >Emitted(31, 39) Source(35, 41) + SourceIndex(0) -3 >Emitted(31, 41) Source(35, 10) + SourceIndex(0) -4 >Emitted(31, 54) Source(35, 23) + SourceIndex(0) -5 >Emitted(31, 62) Source(35, 23) + SourceIndex(0) -6 >Emitted(31, 64) Source(35, 25) + SourceIndex(0) -7 >Emitted(31, 79) Source(35, 40) + SourceIndex(0) -8 >Emitted(31, 87) Source(35, 40) + SourceIndex(0) +1->Emitted(32, 29) Source(35, 9) + SourceIndex(0) +2 >Emitted(32, 39) Source(35, 41) + SourceIndex(0) +3 >Emitted(32, 41) Source(35, 10) + SourceIndex(0) +4 >Emitted(32, 54) Source(35, 23) + SourceIndex(0) +5 >Emitted(32, 62) Source(35, 23) + SourceIndex(0) +6 >Emitted(32, 64) Source(35, 25) + SourceIndex(0) +7 >Emitted(32, 79) Source(35, 40) + SourceIndex(0) +8 >Emitted(32, 87) Source(35, 40) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -791,14 +792,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(32, 5) Source(36, 5) + SourceIndex(0) -2 >Emitted(32, 12) Source(36, 12) + SourceIndex(0) -3 >Emitted(32, 13) Source(36, 13) + SourceIndex(0) -4 >Emitted(32, 16) Source(36, 16) + SourceIndex(0) -5 >Emitted(32, 17) Source(36, 17) + SourceIndex(0) -6 >Emitted(32, 30) Source(36, 30) + SourceIndex(0) -7 >Emitted(32, 31) Source(36, 31) + SourceIndex(0) -8 >Emitted(32, 32) Source(36, 32) + SourceIndex(0) +1 >Emitted(33, 5) Source(36, 5) + SourceIndex(0) +2 >Emitted(33, 12) Source(36, 12) + SourceIndex(0) +3 >Emitted(33, 13) Source(36, 13) + SourceIndex(0) +4 >Emitted(33, 16) Source(36, 16) + SourceIndex(0) +5 >Emitted(33, 17) Source(36, 17) + SourceIndex(0) +6 >Emitted(33, 30) Source(36, 30) + SourceIndex(0) +7 >Emitted(33, 31) Source(36, 31) + SourceIndex(0) +8 >Emitted(33, 32) Source(36, 32) + SourceIndex(0) --- >>>} 1 > @@ -807,8 +808,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(33, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(33, 2) Source(37, 2) + SourceIndex(0) +1 >Emitted(34, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(34, 2) Source(37, 2) + SourceIndex(0) --- >>>for (var _2 = 0, _3 = getMultiRobots(); _2 < _3.length; _2++) { 1-> @@ -839,19 +840,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(34, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(34, 6) Source(38, 46) + SourceIndex(0) -3 >Emitted(34, 16) Source(38, 62) + SourceIndex(0) -4 >Emitted(34, 18) Source(38, 46) + SourceIndex(0) -5 >Emitted(34, 23) Source(38, 46) + SourceIndex(0) -6 >Emitted(34, 37) Source(38, 60) + SourceIndex(0) -7 >Emitted(34, 39) Source(38, 62) + SourceIndex(0) -8 >Emitted(34, 41) Source(38, 46) + SourceIndex(0) -9 >Emitted(34, 55) Source(38, 62) + SourceIndex(0) -10>Emitted(34, 57) Source(38, 46) + SourceIndex(0) -11>Emitted(34, 61) Source(38, 62) + SourceIndex(0) -12>Emitted(34, 63) Source(38, 64) + SourceIndex(0) -13>Emitted(34, 64) Source(38, 65) + SourceIndex(0) +1->Emitted(35, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(35, 6) Source(38, 46) + SourceIndex(0) +3 >Emitted(35, 16) Source(38, 62) + SourceIndex(0) +4 >Emitted(35, 18) Source(38, 46) + SourceIndex(0) +5 >Emitted(35, 23) Source(38, 46) + SourceIndex(0) +6 >Emitted(35, 37) Source(38, 60) + SourceIndex(0) +7 >Emitted(35, 39) Source(38, 62) + SourceIndex(0) +8 >Emitted(35, 41) Source(38, 46) + SourceIndex(0) +9 >Emitted(35, 55) Source(38, 62) + SourceIndex(0) +10>Emitted(35, 57) Source(38, 46) + SourceIndex(0) +11>Emitted(35, 61) Source(38, 62) + SourceIndex(0) +12>Emitted(35, 63) Source(38, 64) + SourceIndex(0) +13>Emitted(35, 64) Source(38, 65) + SourceIndex(0) --- >>> _f = _3[_2], _g = _f[1], primarySkillA = _g[0], secondarySkillA = _g[1]; 1->^^^^^^^^^^^^^^^^^ @@ -870,14 +871,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > , 7 > secondarySkillA 8 > -1->Emitted(35, 18) Source(38, 9) + SourceIndex(0) -2 >Emitted(35, 28) Source(38, 41) + SourceIndex(0) -3 >Emitted(35, 30) Source(38, 10) + SourceIndex(0) -4 >Emitted(35, 43) Source(38, 23) + SourceIndex(0) -5 >Emitted(35, 51) Source(38, 23) + SourceIndex(0) -6 >Emitted(35, 53) Source(38, 25) + SourceIndex(0) -7 >Emitted(35, 68) Source(38, 40) + SourceIndex(0) -8 >Emitted(35, 76) Source(38, 40) + SourceIndex(0) +1->Emitted(36, 18) Source(38, 9) + SourceIndex(0) +2 >Emitted(36, 28) Source(38, 41) + SourceIndex(0) +3 >Emitted(36, 30) Source(38, 10) + SourceIndex(0) +4 >Emitted(36, 43) Source(38, 23) + SourceIndex(0) +5 >Emitted(36, 51) Source(38, 23) + SourceIndex(0) +6 >Emitted(36, 53) Source(38, 25) + SourceIndex(0) +7 >Emitted(36, 68) Source(38, 40) + SourceIndex(0) +8 >Emitted(36, 76) Source(38, 40) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -897,14 +898,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(36, 5) Source(39, 5) + SourceIndex(0) -2 >Emitted(36, 12) Source(39, 12) + SourceIndex(0) -3 >Emitted(36, 13) Source(39, 13) + SourceIndex(0) -4 >Emitted(36, 16) Source(39, 16) + SourceIndex(0) -5 >Emitted(36, 17) Source(39, 17) + SourceIndex(0) -6 >Emitted(36, 30) Source(39, 30) + SourceIndex(0) -7 >Emitted(36, 31) Source(39, 31) + SourceIndex(0) -8 >Emitted(36, 32) Source(39, 32) + SourceIndex(0) +1 >Emitted(37, 5) Source(39, 5) + SourceIndex(0) +2 >Emitted(37, 12) Source(39, 12) + SourceIndex(0) +3 >Emitted(37, 13) Source(39, 13) + SourceIndex(0) +4 >Emitted(37, 16) Source(39, 16) + SourceIndex(0) +5 >Emitted(37, 17) Source(39, 17) + SourceIndex(0) +6 >Emitted(37, 30) Source(39, 30) + SourceIndex(0) +7 >Emitted(37, 31) Source(39, 31) + SourceIndex(0) +8 >Emitted(37, 32) Source(39, 32) + SourceIndex(0) --- >>>} 1 > @@ -913,8 +914,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(37, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(37, 2) Source(40, 2) + SourceIndex(0) +1 >Emitted(38, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(38, 2) Source(40, 2) + SourceIndex(0) --- >>>for (var _4 = 0, _5 = [multiRobotA, multiRobotB]; _4 < _5.length; _4++) { 1-> @@ -949,21 +950,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(38, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(38, 6) Source(41, 46) + SourceIndex(0) -3 >Emitted(38, 16) Source(41, 72) + SourceIndex(0) -4 >Emitted(38, 18) Source(41, 46) + SourceIndex(0) -5 >Emitted(38, 24) Source(41, 47) + SourceIndex(0) -6 >Emitted(38, 35) Source(41, 58) + SourceIndex(0) -7 >Emitted(38, 37) Source(41, 60) + SourceIndex(0) -8 >Emitted(38, 48) Source(41, 71) + SourceIndex(0) -9 >Emitted(38, 49) Source(41, 72) + SourceIndex(0) -10>Emitted(38, 51) Source(41, 46) + SourceIndex(0) -11>Emitted(38, 65) Source(41, 72) + SourceIndex(0) -12>Emitted(38, 67) Source(41, 46) + SourceIndex(0) -13>Emitted(38, 71) Source(41, 72) + SourceIndex(0) -14>Emitted(38, 73) Source(41, 74) + SourceIndex(0) -15>Emitted(38, 74) Source(41, 75) + SourceIndex(0) +1->Emitted(39, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(39, 6) Source(41, 46) + SourceIndex(0) +3 >Emitted(39, 16) Source(41, 72) + SourceIndex(0) +4 >Emitted(39, 18) Source(41, 46) + SourceIndex(0) +5 >Emitted(39, 24) Source(41, 47) + SourceIndex(0) +6 >Emitted(39, 35) Source(41, 58) + SourceIndex(0) +7 >Emitted(39, 37) Source(41, 60) + SourceIndex(0) +8 >Emitted(39, 48) Source(41, 71) + SourceIndex(0) +9 >Emitted(39, 49) Source(41, 72) + SourceIndex(0) +10>Emitted(39, 51) Source(41, 46) + SourceIndex(0) +11>Emitted(39, 65) Source(41, 72) + SourceIndex(0) +12>Emitted(39, 67) Source(41, 46) + SourceIndex(0) +13>Emitted(39, 71) Source(41, 72) + SourceIndex(0) +14>Emitted(39, 73) Source(41, 74) + SourceIndex(0) +15>Emitted(39, 74) Source(41, 75) + SourceIndex(0) --- >>> _h = _5[_4], _j = _h[1], primarySkillA = _j[0], secondarySkillA = _j[1]; 1->^^^^^^^^^^^^^^^^^ @@ -982,14 +983,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > , 7 > secondarySkillA 8 > -1->Emitted(39, 18) Source(41, 9) + SourceIndex(0) -2 >Emitted(39, 28) Source(41, 41) + SourceIndex(0) -3 >Emitted(39, 30) Source(41, 10) + SourceIndex(0) -4 >Emitted(39, 43) Source(41, 23) + SourceIndex(0) -5 >Emitted(39, 51) Source(41, 23) + SourceIndex(0) -6 >Emitted(39, 53) Source(41, 25) + SourceIndex(0) -7 >Emitted(39, 68) Source(41, 40) + SourceIndex(0) -8 >Emitted(39, 76) Source(41, 40) + SourceIndex(0) +1->Emitted(40, 18) Source(41, 9) + SourceIndex(0) +2 >Emitted(40, 28) Source(41, 41) + SourceIndex(0) +3 >Emitted(40, 30) Source(41, 10) + SourceIndex(0) +4 >Emitted(40, 43) Source(41, 23) + SourceIndex(0) +5 >Emitted(40, 51) Source(41, 23) + SourceIndex(0) +6 >Emitted(40, 53) Source(41, 25) + SourceIndex(0) +7 >Emitted(40, 68) Source(41, 40) + SourceIndex(0) +8 >Emitted(40, 76) Source(41, 40) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -1009,14 +1010,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(40, 5) Source(42, 5) + SourceIndex(0) -2 >Emitted(40, 12) Source(42, 12) + SourceIndex(0) -3 >Emitted(40, 13) Source(42, 13) + SourceIndex(0) -4 >Emitted(40, 16) Source(42, 16) + SourceIndex(0) -5 >Emitted(40, 17) Source(42, 17) + SourceIndex(0) -6 >Emitted(40, 30) Source(42, 30) + SourceIndex(0) -7 >Emitted(40, 31) Source(42, 31) + SourceIndex(0) -8 >Emitted(40, 32) Source(42, 32) + SourceIndex(0) +1 >Emitted(41, 5) Source(42, 5) + SourceIndex(0) +2 >Emitted(41, 12) Source(42, 12) + SourceIndex(0) +3 >Emitted(41, 13) Source(42, 13) + SourceIndex(0) +4 >Emitted(41, 16) Source(42, 16) + SourceIndex(0) +5 >Emitted(41, 17) Source(42, 17) + SourceIndex(0) +6 >Emitted(41, 30) Source(42, 30) + SourceIndex(0) +7 >Emitted(41, 31) Source(42, 31) + SourceIndex(0) +8 >Emitted(41, 32) Source(42, 32) + SourceIndex(0) --- >>>} 1 > @@ -1025,8 +1026,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(41, 1) Source(43, 1) + SourceIndex(0) -2 >Emitted(41, 2) Source(43, 2) + SourceIndex(0) +1 >Emitted(42, 1) Source(43, 1) + SourceIndex(0) +2 >Emitted(42, 2) Source(43, 2) + SourceIndex(0) --- >>>for (var _6 = 0, robots_2 = robots; _6 < robots_2.length; _6++) { 1-> @@ -1053,17 +1054,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 9 > robots 10> ) 11> { -1->Emitted(42, 1) Source(45, 1) + SourceIndex(0) -2 >Emitted(42, 6) Source(45, 19) + SourceIndex(0) -3 >Emitted(42, 16) Source(45, 25) + SourceIndex(0) -4 >Emitted(42, 18) Source(45, 19) + SourceIndex(0) -5 >Emitted(42, 35) Source(45, 25) + SourceIndex(0) -6 >Emitted(42, 37) Source(45, 19) + SourceIndex(0) -7 >Emitted(42, 57) Source(45, 25) + SourceIndex(0) -8 >Emitted(42, 59) Source(45, 19) + SourceIndex(0) -9 >Emitted(42, 63) Source(45, 25) + SourceIndex(0) -10>Emitted(42, 65) Source(45, 27) + SourceIndex(0) -11>Emitted(42, 66) Source(45, 28) + SourceIndex(0) +1->Emitted(43, 1) Source(45, 1) + SourceIndex(0) +2 >Emitted(43, 6) Source(45, 19) + SourceIndex(0) +3 >Emitted(43, 16) Source(45, 25) + SourceIndex(0) +4 >Emitted(43, 18) Source(45, 19) + SourceIndex(0) +5 >Emitted(43, 35) Source(45, 25) + SourceIndex(0) +6 >Emitted(43, 37) Source(45, 19) + SourceIndex(0) +7 >Emitted(43, 57) Source(45, 25) + SourceIndex(0) +8 >Emitted(43, 59) Source(45, 19) + SourceIndex(0) +9 >Emitted(43, 63) Source(45, 25) + SourceIndex(0) +10>Emitted(43, 65) Source(45, 27) + SourceIndex(0) +11>Emitted(43, 66) Source(45, 28) + SourceIndex(0) --- >>> numberB = robots_2[_6][0]; 1 >^^^^ @@ -1072,9 +1073,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > numberB 3 > -1 >Emitted(43, 5) Source(45, 7) + SourceIndex(0) -2 >Emitted(43, 12) Source(45, 14) + SourceIndex(0) -3 >Emitted(43, 30) Source(45, 14) + SourceIndex(0) +1 >Emitted(44, 5) Source(45, 7) + SourceIndex(0) +2 >Emitted(44, 12) Source(45, 14) + SourceIndex(0) +3 >Emitted(44, 30) Source(45, 14) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1094,14 +1095,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > numberB 7 > ) 8 > ; -1 >Emitted(44, 5) Source(46, 5) + SourceIndex(0) -2 >Emitted(44, 12) Source(46, 12) + SourceIndex(0) -3 >Emitted(44, 13) Source(46, 13) + SourceIndex(0) -4 >Emitted(44, 16) Source(46, 16) + SourceIndex(0) -5 >Emitted(44, 17) Source(46, 17) + SourceIndex(0) -6 >Emitted(44, 24) Source(46, 24) + SourceIndex(0) -7 >Emitted(44, 25) Source(46, 25) + SourceIndex(0) -8 >Emitted(44, 26) Source(46, 26) + SourceIndex(0) +1 >Emitted(45, 5) Source(46, 5) + SourceIndex(0) +2 >Emitted(45, 12) Source(46, 12) + SourceIndex(0) +3 >Emitted(45, 13) Source(46, 13) + SourceIndex(0) +4 >Emitted(45, 16) Source(46, 16) + SourceIndex(0) +5 >Emitted(45, 17) Source(46, 17) + SourceIndex(0) +6 >Emitted(45, 24) Source(46, 24) + SourceIndex(0) +7 >Emitted(45, 25) Source(46, 25) + SourceIndex(0) +8 >Emitted(45, 26) Source(46, 26) + SourceIndex(0) --- >>>} 1 > @@ -1110,8 +1111,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(45, 1) Source(47, 1) + SourceIndex(0) -2 >Emitted(45, 2) Source(47, 2) + SourceIndex(0) +1 >Emitted(46, 1) Source(47, 1) + SourceIndex(0) +2 >Emitted(46, 2) Source(47, 2) + SourceIndex(0) --- >>>for (var _7 = 0, _8 = getRobots(); _7 < _8.length; _7++) { 1-> @@ -1141,19 +1142,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 11> getRobots() 12> ) 13> { -1->Emitted(46, 1) Source(48, 1) + SourceIndex(0) -2 >Emitted(46, 6) Source(48, 19) + SourceIndex(0) -3 >Emitted(46, 16) Source(48, 30) + SourceIndex(0) -4 >Emitted(46, 18) Source(48, 19) + SourceIndex(0) -5 >Emitted(46, 23) Source(48, 19) + SourceIndex(0) -6 >Emitted(46, 32) Source(48, 28) + SourceIndex(0) -7 >Emitted(46, 34) Source(48, 30) + SourceIndex(0) -8 >Emitted(46, 36) Source(48, 19) + SourceIndex(0) -9 >Emitted(46, 50) Source(48, 30) + SourceIndex(0) -10>Emitted(46, 52) Source(48, 19) + SourceIndex(0) -11>Emitted(46, 56) Source(48, 30) + SourceIndex(0) -12>Emitted(46, 58) Source(48, 32) + SourceIndex(0) -13>Emitted(46, 59) Source(48, 33) + SourceIndex(0) +1->Emitted(47, 1) Source(48, 1) + SourceIndex(0) +2 >Emitted(47, 6) Source(48, 19) + SourceIndex(0) +3 >Emitted(47, 16) Source(48, 30) + SourceIndex(0) +4 >Emitted(47, 18) Source(48, 19) + SourceIndex(0) +5 >Emitted(47, 23) Source(48, 19) + SourceIndex(0) +6 >Emitted(47, 32) Source(48, 28) + SourceIndex(0) +7 >Emitted(47, 34) Source(48, 30) + SourceIndex(0) +8 >Emitted(47, 36) Source(48, 19) + SourceIndex(0) +9 >Emitted(47, 50) Source(48, 30) + SourceIndex(0) +10>Emitted(47, 52) Source(48, 19) + SourceIndex(0) +11>Emitted(47, 56) Source(48, 30) + SourceIndex(0) +12>Emitted(47, 58) Source(48, 32) + SourceIndex(0) +13>Emitted(47, 59) Source(48, 33) + SourceIndex(0) --- >>> numberB = _8[_7][0]; 1 >^^^^ @@ -1163,9 +1164,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > numberB 3 > -1 >Emitted(47, 5) Source(48, 7) + SourceIndex(0) -2 >Emitted(47, 12) Source(48, 14) + SourceIndex(0) -3 >Emitted(47, 24) Source(48, 14) + SourceIndex(0) +1 >Emitted(48, 5) Source(48, 7) + SourceIndex(0) +2 >Emitted(48, 12) Source(48, 14) + SourceIndex(0) +3 >Emitted(48, 24) Source(48, 14) + SourceIndex(0) --- >>> console.log(numberB); 1->^^^^ @@ -1185,14 +1186,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > numberB 7 > ) 8 > ; -1->Emitted(48, 5) Source(49, 5) + SourceIndex(0) -2 >Emitted(48, 12) Source(49, 12) + SourceIndex(0) -3 >Emitted(48, 13) Source(49, 13) + SourceIndex(0) -4 >Emitted(48, 16) Source(49, 16) + SourceIndex(0) -5 >Emitted(48, 17) Source(49, 17) + SourceIndex(0) -6 >Emitted(48, 24) Source(49, 24) + SourceIndex(0) -7 >Emitted(48, 25) Source(49, 25) + SourceIndex(0) -8 >Emitted(48, 26) Source(49, 26) + SourceIndex(0) +1->Emitted(49, 5) Source(49, 5) + SourceIndex(0) +2 >Emitted(49, 12) Source(49, 12) + SourceIndex(0) +3 >Emitted(49, 13) Source(49, 13) + SourceIndex(0) +4 >Emitted(49, 16) Source(49, 16) + SourceIndex(0) +5 >Emitted(49, 17) Source(49, 17) + SourceIndex(0) +6 >Emitted(49, 24) Source(49, 24) + SourceIndex(0) +7 >Emitted(49, 25) Source(49, 25) + SourceIndex(0) +8 >Emitted(49, 26) Source(49, 26) + SourceIndex(0) --- >>>} 1 > @@ -1201,8 +1202,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(49, 1) Source(50, 1) + SourceIndex(0) -2 >Emitted(49, 2) Source(50, 2) + SourceIndex(0) +1 >Emitted(50, 1) Source(50, 1) + SourceIndex(0) +2 >Emitted(50, 2) Source(50, 2) + SourceIndex(0) --- >>>for (var _9 = 0, _10 = [robotA, robotB]; _9 < _10.length; _9++) { 1-> @@ -1236,21 +1237,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 13> [robotA, robotB] 14> ) 15> { -1->Emitted(50, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(50, 6) Source(51, 19) + SourceIndex(0) -3 >Emitted(50, 16) Source(51, 35) + SourceIndex(0) -4 >Emitted(50, 18) Source(51, 19) + SourceIndex(0) -5 >Emitted(50, 25) Source(51, 20) + SourceIndex(0) -6 >Emitted(50, 31) Source(51, 26) + SourceIndex(0) -7 >Emitted(50, 33) Source(51, 28) + SourceIndex(0) -8 >Emitted(50, 39) Source(51, 34) + SourceIndex(0) -9 >Emitted(50, 40) Source(51, 35) + SourceIndex(0) -10>Emitted(50, 42) Source(51, 19) + SourceIndex(0) -11>Emitted(50, 57) Source(51, 35) + SourceIndex(0) -12>Emitted(50, 59) Source(51, 19) + SourceIndex(0) -13>Emitted(50, 63) Source(51, 35) + SourceIndex(0) -14>Emitted(50, 65) Source(51, 37) + SourceIndex(0) -15>Emitted(50, 66) Source(51, 38) + SourceIndex(0) +1->Emitted(51, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(51, 6) Source(51, 19) + SourceIndex(0) +3 >Emitted(51, 16) Source(51, 35) + SourceIndex(0) +4 >Emitted(51, 18) Source(51, 19) + SourceIndex(0) +5 >Emitted(51, 25) Source(51, 20) + SourceIndex(0) +6 >Emitted(51, 31) Source(51, 26) + SourceIndex(0) +7 >Emitted(51, 33) Source(51, 28) + SourceIndex(0) +8 >Emitted(51, 39) Source(51, 34) + SourceIndex(0) +9 >Emitted(51, 40) Source(51, 35) + SourceIndex(0) +10>Emitted(51, 42) Source(51, 19) + SourceIndex(0) +11>Emitted(51, 57) Source(51, 35) + SourceIndex(0) +12>Emitted(51, 59) Source(51, 19) + SourceIndex(0) +13>Emitted(51, 63) Source(51, 35) + SourceIndex(0) +14>Emitted(51, 65) Source(51, 37) + SourceIndex(0) +15>Emitted(51, 66) Source(51, 38) + SourceIndex(0) --- >>> numberB = _10[_9][0]; 1 >^^^^ @@ -1260,9 +1261,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > numberB 3 > -1 >Emitted(51, 5) Source(51, 7) + SourceIndex(0) -2 >Emitted(51, 12) Source(51, 14) + SourceIndex(0) -3 >Emitted(51, 25) Source(51, 14) + SourceIndex(0) +1 >Emitted(52, 5) Source(51, 7) + SourceIndex(0) +2 >Emitted(52, 12) Source(51, 14) + SourceIndex(0) +3 >Emitted(52, 25) Source(51, 14) + SourceIndex(0) --- >>> console.log(numberB); 1->^^^^ @@ -1282,14 +1283,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > numberB 7 > ) 8 > ; -1->Emitted(52, 5) Source(52, 5) + SourceIndex(0) -2 >Emitted(52, 12) Source(52, 12) + SourceIndex(0) -3 >Emitted(52, 13) Source(52, 13) + SourceIndex(0) -4 >Emitted(52, 16) Source(52, 16) + SourceIndex(0) -5 >Emitted(52, 17) Source(52, 17) + SourceIndex(0) -6 >Emitted(52, 24) Source(52, 24) + SourceIndex(0) -7 >Emitted(52, 25) Source(52, 25) + SourceIndex(0) -8 >Emitted(52, 26) Source(52, 26) + SourceIndex(0) +1->Emitted(53, 5) Source(52, 5) + SourceIndex(0) +2 >Emitted(53, 12) Source(52, 12) + SourceIndex(0) +3 >Emitted(53, 13) Source(52, 13) + SourceIndex(0) +4 >Emitted(53, 16) Source(52, 16) + SourceIndex(0) +5 >Emitted(53, 17) Source(52, 17) + SourceIndex(0) +6 >Emitted(53, 24) Source(52, 24) + SourceIndex(0) +7 >Emitted(53, 25) Source(52, 25) + SourceIndex(0) +8 >Emitted(53, 26) Source(52, 26) + SourceIndex(0) --- >>>} 1 > @@ -1298,8 +1299,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(53, 1) Source(53, 1) + SourceIndex(0) -2 >Emitted(53, 2) Source(53, 2) + SourceIndex(0) +1 >Emitted(54, 1) Source(53, 1) + SourceIndex(0) +2 >Emitted(54, 2) Source(53, 2) + SourceIndex(0) --- >>>for (var _11 = 0, multiRobots_2 = multiRobots; _11 < multiRobots_2.length; _11++) { 1-> @@ -1325,17 +1326,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 9 > multiRobots 10> ) 11> { -1->Emitted(54, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(54, 6) Source(54, 17) + SourceIndex(0) -3 >Emitted(54, 17) Source(54, 28) + SourceIndex(0) -4 >Emitted(54, 19) Source(54, 17) + SourceIndex(0) -5 >Emitted(54, 46) Source(54, 28) + SourceIndex(0) -6 >Emitted(54, 48) Source(54, 17) + SourceIndex(0) -7 >Emitted(54, 74) Source(54, 28) + SourceIndex(0) -8 >Emitted(54, 76) Source(54, 17) + SourceIndex(0) -9 >Emitted(54, 81) Source(54, 28) + SourceIndex(0) -10>Emitted(54, 83) Source(54, 30) + SourceIndex(0) -11>Emitted(54, 84) Source(54, 31) + SourceIndex(0) +1->Emitted(55, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(55, 6) Source(54, 17) + SourceIndex(0) +3 >Emitted(55, 17) Source(54, 28) + SourceIndex(0) +4 >Emitted(55, 19) Source(54, 17) + SourceIndex(0) +5 >Emitted(55, 46) Source(54, 28) + SourceIndex(0) +6 >Emitted(55, 48) Source(54, 17) + SourceIndex(0) +7 >Emitted(55, 74) Source(54, 28) + SourceIndex(0) +8 >Emitted(55, 76) Source(54, 17) + SourceIndex(0) +9 >Emitted(55, 81) Source(54, 28) + SourceIndex(0) +10>Emitted(55, 83) Source(54, 30) + SourceIndex(0) +11>Emitted(55, 84) Source(54, 31) + SourceIndex(0) --- >>> nameB = multiRobots_2[_11][0]; 1 >^^^^ @@ -1344,9 +1345,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > nameB 3 > -1 >Emitted(55, 5) Source(54, 7) + SourceIndex(0) -2 >Emitted(55, 10) Source(54, 12) + SourceIndex(0) -3 >Emitted(55, 34) Source(54, 12) + SourceIndex(0) +1 >Emitted(56, 5) Source(54, 7) + SourceIndex(0) +2 >Emitted(56, 10) Source(54, 12) + SourceIndex(0) +3 >Emitted(56, 34) Source(54, 12) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1366,14 +1367,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameB 7 > ) 8 > ; -1 >Emitted(56, 5) Source(55, 5) + SourceIndex(0) -2 >Emitted(56, 12) Source(55, 12) + SourceIndex(0) -3 >Emitted(56, 13) Source(55, 13) + SourceIndex(0) -4 >Emitted(56, 16) Source(55, 16) + SourceIndex(0) -5 >Emitted(56, 17) Source(55, 17) + SourceIndex(0) -6 >Emitted(56, 22) Source(55, 22) + SourceIndex(0) -7 >Emitted(56, 23) Source(55, 23) + SourceIndex(0) -8 >Emitted(56, 24) Source(55, 24) + SourceIndex(0) +1 >Emitted(57, 5) Source(55, 5) + SourceIndex(0) +2 >Emitted(57, 12) Source(55, 12) + SourceIndex(0) +3 >Emitted(57, 13) Source(55, 13) + SourceIndex(0) +4 >Emitted(57, 16) Source(55, 16) + SourceIndex(0) +5 >Emitted(57, 17) Source(55, 17) + SourceIndex(0) +6 >Emitted(57, 22) Source(55, 22) + SourceIndex(0) +7 >Emitted(57, 23) Source(55, 23) + SourceIndex(0) +8 >Emitted(57, 24) Source(55, 24) + SourceIndex(0) --- >>>} 1 > @@ -1382,8 +1383,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(57, 1) Source(56, 1) + SourceIndex(0) -2 >Emitted(57, 2) Source(56, 2) + SourceIndex(0) +1 >Emitted(58, 1) Source(56, 1) + SourceIndex(0) +2 >Emitted(58, 2) Source(56, 2) + SourceIndex(0) --- >>>for (var _12 = 0, _13 = getMultiRobots(); _12 < _13.length; _12++) { 1-> @@ -1413,19 +1414,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(58, 1) Source(57, 1) + SourceIndex(0) -2 >Emitted(58, 6) Source(57, 17) + SourceIndex(0) -3 >Emitted(58, 17) Source(57, 33) + SourceIndex(0) -4 >Emitted(58, 19) Source(57, 17) + SourceIndex(0) -5 >Emitted(58, 25) Source(57, 17) + SourceIndex(0) -6 >Emitted(58, 39) Source(57, 31) + SourceIndex(0) -7 >Emitted(58, 41) Source(57, 33) + SourceIndex(0) -8 >Emitted(58, 43) Source(57, 17) + SourceIndex(0) -9 >Emitted(58, 59) Source(57, 33) + SourceIndex(0) -10>Emitted(58, 61) Source(57, 17) + SourceIndex(0) -11>Emitted(58, 66) Source(57, 33) + SourceIndex(0) -12>Emitted(58, 68) Source(57, 35) + SourceIndex(0) -13>Emitted(58, 69) Source(57, 36) + SourceIndex(0) +1->Emitted(59, 1) Source(57, 1) + SourceIndex(0) +2 >Emitted(59, 6) Source(57, 17) + SourceIndex(0) +3 >Emitted(59, 17) Source(57, 33) + SourceIndex(0) +4 >Emitted(59, 19) Source(57, 17) + SourceIndex(0) +5 >Emitted(59, 25) Source(57, 17) + SourceIndex(0) +6 >Emitted(59, 39) Source(57, 31) + SourceIndex(0) +7 >Emitted(59, 41) Source(57, 33) + SourceIndex(0) +8 >Emitted(59, 43) Source(57, 17) + SourceIndex(0) +9 >Emitted(59, 59) Source(57, 33) + SourceIndex(0) +10>Emitted(59, 61) Source(57, 17) + SourceIndex(0) +11>Emitted(59, 66) Source(57, 33) + SourceIndex(0) +12>Emitted(59, 68) Source(57, 35) + SourceIndex(0) +13>Emitted(59, 69) Source(57, 36) + SourceIndex(0) --- >>> nameB = _13[_12][0]; 1 >^^^^ @@ -1435,9 +1436,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > nameB 3 > -1 >Emitted(59, 5) Source(57, 7) + SourceIndex(0) -2 >Emitted(59, 10) Source(57, 12) + SourceIndex(0) -3 >Emitted(59, 24) Source(57, 12) + SourceIndex(0) +1 >Emitted(60, 5) Source(57, 7) + SourceIndex(0) +2 >Emitted(60, 10) Source(57, 12) + SourceIndex(0) +3 >Emitted(60, 24) Source(57, 12) + SourceIndex(0) --- >>> console.log(nameB); 1->^^^^ @@ -1457,14 +1458,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameB 7 > ) 8 > ; -1->Emitted(60, 5) Source(58, 5) + SourceIndex(0) -2 >Emitted(60, 12) Source(58, 12) + SourceIndex(0) -3 >Emitted(60, 13) Source(58, 13) + SourceIndex(0) -4 >Emitted(60, 16) Source(58, 16) + SourceIndex(0) -5 >Emitted(60, 17) Source(58, 17) + SourceIndex(0) -6 >Emitted(60, 22) Source(58, 22) + SourceIndex(0) -7 >Emitted(60, 23) Source(58, 23) + SourceIndex(0) -8 >Emitted(60, 24) Source(58, 24) + SourceIndex(0) +1->Emitted(61, 5) Source(58, 5) + SourceIndex(0) +2 >Emitted(61, 12) Source(58, 12) + SourceIndex(0) +3 >Emitted(61, 13) Source(58, 13) + SourceIndex(0) +4 >Emitted(61, 16) Source(58, 16) + SourceIndex(0) +5 >Emitted(61, 17) Source(58, 17) + SourceIndex(0) +6 >Emitted(61, 22) Source(58, 22) + SourceIndex(0) +7 >Emitted(61, 23) Source(58, 23) + SourceIndex(0) +8 >Emitted(61, 24) Source(58, 24) + SourceIndex(0) --- >>>} 1 > @@ -1473,8 +1474,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(61, 1) Source(59, 1) + SourceIndex(0) -2 >Emitted(61, 2) Source(59, 2) + SourceIndex(0) +1 >Emitted(62, 1) Source(59, 1) + SourceIndex(0) +2 >Emitted(62, 2) Source(59, 2) + SourceIndex(0) --- >>>for (var _14 = 0, _15 = [multiRobotA, multiRobotB]; _14 < _15.length; _14++) { 1-> @@ -1508,21 +1509,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(62, 1) Source(60, 1) + SourceIndex(0) -2 >Emitted(62, 6) Source(60, 17) + SourceIndex(0) -3 >Emitted(62, 17) Source(60, 43) + SourceIndex(0) -4 >Emitted(62, 19) Source(60, 17) + SourceIndex(0) -5 >Emitted(62, 26) Source(60, 18) + SourceIndex(0) -6 >Emitted(62, 37) Source(60, 29) + SourceIndex(0) -7 >Emitted(62, 39) Source(60, 31) + SourceIndex(0) -8 >Emitted(62, 50) Source(60, 42) + SourceIndex(0) -9 >Emitted(62, 51) Source(60, 43) + SourceIndex(0) -10>Emitted(62, 53) Source(60, 17) + SourceIndex(0) -11>Emitted(62, 69) Source(60, 43) + SourceIndex(0) -12>Emitted(62, 71) Source(60, 17) + SourceIndex(0) -13>Emitted(62, 76) Source(60, 43) + SourceIndex(0) -14>Emitted(62, 78) Source(60, 45) + SourceIndex(0) -15>Emitted(62, 79) Source(60, 46) + SourceIndex(0) +1->Emitted(63, 1) Source(60, 1) + SourceIndex(0) +2 >Emitted(63, 6) Source(60, 17) + SourceIndex(0) +3 >Emitted(63, 17) Source(60, 43) + SourceIndex(0) +4 >Emitted(63, 19) Source(60, 17) + SourceIndex(0) +5 >Emitted(63, 26) Source(60, 18) + SourceIndex(0) +6 >Emitted(63, 37) Source(60, 29) + SourceIndex(0) +7 >Emitted(63, 39) Source(60, 31) + SourceIndex(0) +8 >Emitted(63, 50) Source(60, 42) + SourceIndex(0) +9 >Emitted(63, 51) Source(60, 43) + SourceIndex(0) +10>Emitted(63, 53) Source(60, 17) + SourceIndex(0) +11>Emitted(63, 69) Source(60, 43) + SourceIndex(0) +12>Emitted(63, 71) Source(60, 17) + SourceIndex(0) +13>Emitted(63, 76) Source(60, 43) + SourceIndex(0) +14>Emitted(63, 78) Source(60, 45) + SourceIndex(0) +15>Emitted(63, 79) Source(60, 46) + SourceIndex(0) --- >>> nameB = _15[_14][0]; 1 >^^^^ @@ -1532,9 +1533,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > nameB 3 > -1 >Emitted(63, 5) Source(60, 7) + SourceIndex(0) -2 >Emitted(63, 10) Source(60, 12) + SourceIndex(0) -3 >Emitted(63, 24) Source(60, 12) + SourceIndex(0) +1 >Emitted(64, 5) Source(60, 7) + SourceIndex(0) +2 >Emitted(64, 10) Source(60, 12) + SourceIndex(0) +3 >Emitted(64, 24) Source(60, 12) + SourceIndex(0) --- >>> console.log(nameB); 1->^^^^ @@ -1554,14 +1555,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameB 7 > ) 8 > ; -1->Emitted(64, 5) Source(61, 5) + SourceIndex(0) -2 >Emitted(64, 12) Source(61, 12) + SourceIndex(0) -3 >Emitted(64, 13) Source(61, 13) + SourceIndex(0) -4 >Emitted(64, 16) Source(61, 16) + SourceIndex(0) -5 >Emitted(64, 17) Source(61, 17) + SourceIndex(0) -6 >Emitted(64, 22) Source(61, 22) + SourceIndex(0) -7 >Emitted(64, 23) Source(61, 23) + SourceIndex(0) -8 >Emitted(64, 24) Source(61, 24) + SourceIndex(0) +1->Emitted(65, 5) Source(61, 5) + SourceIndex(0) +2 >Emitted(65, 12) Source(61, 12) + SourceIndex(0) +3 >Emitted(65, 13) Source(61, 13) + SourceIndex(0) +4 >Emitted(65, 16) Source(61, 16) + SourceIndex(0) +5 >Emitted(65, 17) Source(61, 17) + SourceIndex(0) +6 >Emitted(65, 22) Source(61, 22) + SourceIndex(0) +7 >Emitted(65, 23) Source(61, 23) + SourceIndex(0) +8 >Emitted(65, 24) Source(61, 24) + SourceIndex(0) --- >>>} 1 > @@ -1570,8 +1571,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(65, 1) Source(62, 1) + SourceIndex(0) -2 >Emitted(65, 2) Source(62, 2) + SourceIndex(0) +1 >Emitted(66, 1) Source(62, 1) + SourceIndex(0) +2 >Emitted(66, 2) Source(62, 2) + SourceIndex(0) --- >>>for (var _16 = 0, robots_3 = robots; _16 < robots_3.length; _16++) { 1-> @@ -1599,17 +1600,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 9 > robots 10> ) 11> { -1->Emitted(66, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(66, 6) Source(64, 37) + SourceIndex(0) -3 >Emitted(66, 17) Source(64, 43) + SourceIndex(0) -4 >Emitted(66, 19) Source(64, 37) + SourceIndex(0) -5 >Emitted(66, 36) Source(64, 43) + SourceIndex(0) -6 >Emitted(66, 38) Source(64, 37) + SourceIndex(0) -7 >Emitted(66, 59) Source(64, 43) + SourceIndex(0) -8 >Emitted(66, 61) Source(64, 37) + SourceIndex(0) -9 >Emitted(66, 66) Source(64, 43) + SourceIndex(0) -10>Emitted(66, 68) Source(64, 45) + SourceIndex(0) -11>Emitted(66, 69) Source(64, 46) + SourceIndex(0) +1->Emitted(67, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(67, 6) Source(64, 37) + SourceIndex(0) +3 >Emitted(67, 17) Source(64, 43) + SourceIndex(0) +4 >Emitted(67, 19) Source(64, 37) + SourceIndex(0) +5 >Emitted(67, 36) Source(64, 43) + SourceIndex(0) +6 >Emitted(67, 38) Source(64, 37) + SourceIndex(0) +7 >Emitted(67, 59) Source(64, 43) + SourceIndex(0) +8 >Emitted(67, 61) Source(64, 37) + SourceIndex(0) +9 >Emitted(67, 66) Source(64, 43) + SourceIndex(0) +10>Emitted(67, 68) Source(64, 45) + SourceIndex(0) +11>Emitted(67, 69) Source(64, 46) + SourceIndex(0) --- >>> _k = robots_3[_16], numberA2 = _k[0], nameA2 = _k[1], skillA2 = _k[2]; 1->^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1630,15 +1631,15 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 7 > , 8 > skillA2 9 > -1->Emitted(67, 25) Source(64, 7) + SourceIndex(0) -2 >Emitted(67, 33) Source(64, 15) + SourceIndex(0) -3 >Emitted(67, 41) Source(64, 15) + SourceIndex(0) -4 >Emitted(67, 43) Source(64, 17) + SourceIndex(0) -5 >Emitted(67, 49) Source(64, 23) + SourceIndex(0) -6 >Emitted(67, 57) Source(64, 23) + SourceIndex(0) -7 >Emitted(67, 59) Source(64, 25) + SourceIndex(0) -8 >Emitted(67, 66) Source(64, 32) + SourceIndex(0) -9 >Emitted(67, 74) Source(64, 32) + SourceIndex(0) +1->Emitted(68, 25) Source(64, 7) + SourceIndex(0) +2 >Emitted(68, 33) Source(64, 15) + SourceIndex(0) +3 >Emitted(68, 41) Source(64, 15) + SourceIndex(0) +4 >Emitted(68, 43) Source(64, 17) + SourceIndex(0) +5 >Emitted(68, 49) Source(64, 23) + SourceIndex(0) +6 >Emitted(68, 57) Source(64, 23) + SourceIndex(0) +7 >Emitted(68, 59) Source(64, 25) + SourceIndex(0) +8 >Emitted(68, 66) Source(64, 32) + SourceIndex(0) +9 >Emitted(68, 74) Source(64, 32) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1658,14 +1659,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(68, 5) Source(65, 5) + SourceIndex(0) -2 >Emitted(68, 12) Source(65, 12) + SourceIndex(0) -3 >Emitted(68, 13) Source(65, 13) + SourceIndex(0) -4 >Emitted(68, 16) Source(65, 16) + SourceIndex(0) -5 >Emitted(68, 17) Source(65, 17) + SourceIndex(0) -6 >Emitted(68, 23) Source(65, 23) + SourceIndex(0) -7 >Emitted(68, 24) Source(65, 24) + SourceIndex(0) -8 >Emitted(68, 25) Source(65, 25) + SourceIndex(0) +1 >Emitted(69, 5) Source(65, 5) + SourceIndex(0) +2 >Emitted(69, 12) Source(65, 12) + SourceIndex(0) +3 >Emitted(69, 13) Source(65, 13) + SourceIndex(0) +4 >Emitted(69, 16) Source(65, 16) + SourceIndex(0) +5 >Emitted(69, 17) Source(65, 17) + SourceIndex(0) +6 >Emitted(69, 23) Source(65, 23) + SourceIndex(0) +7 >Emitted(69, 24) Source(65, 24) + SourceIndex(0) +8 >Emitted(69, 25) Source(65, 25) + SourceIndex(0) --- >>>} 1 > @@ -1674,8 +1675,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(69, 1) Source(66, 1) + SourceIndex(0) -2 >Emitted(69, 2) Source(66, 2) + SourceIndex(0) +1 >Emitted(70, 1) Source(66, 1) + SourceIndex(0) +2 >Emitted(70, 2) Source(66, 2) + SourceIndex(0) --- >>>for (var _17 = 0, _18 = getRobots(); _17 < _18.length; _17++) { 1-> @@ -1706,19 +1707,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 11> getRobots() 12> ) 13> { -1->Emitted(70, 1) Source(67, 1) + SourceIndex(0) -2 >Emitted(70, 6) Source(67, 37) + SourceIndex(0) -3 >Emitted(70, 17) Source(67, 48) + SourceIndex(0) -4 >Emitted(70, 19) Source(67, 37) + SourceIndex(0) -5 >Emitted(70, 25) Source(67, 37) + SourceIndex(0) -6 >Emitted(70, 34) Source(67, 46) + SourceIndex(0) -7 >Emitted(70, 36) Source(67, 48) + SourceIndex(0) -8 >Emitted(70, 38) Source(67, 37) + SourceIndex(0) -9 >Emitted(70, 54) Source(67, 48) + SourceIndex(0) -10>Emitted(70, 56) Source(67, 37) + SourceIndex(0) -11>Emitted(70, 61) Source(67, 48) + SourceIndex(0) -12>Emitted(70, 63) Source(67, 50) + SourceIndex(0) -13>Emitted(70, 64) Source(67, 51) + SourceIndex(0) +1->Emitted(71, 1) Source(67, 1) + SourceIndex(0) +2 >Emitted(71, 6) Source(67, 37) + SourceIndex(0) +3 >Emitted(71, 17) Source(67, 48) + SourceIndex(0) +4 >Emitted(71, 19) Source(67, 37) + SourceIndex(0) +5 >Emitted(71, 25) Source(67, 37) + SourceIndex(0) +6 >Emitted(71, 34) Source(67, 46) + SourceIndex(0) +7 >Emitted(71, 36) Source(67, 48) + SourceIndex(0) +8 >Emitted(71, 38) Source(67, 37) + SourceIndex(0) +9 >Emitted(71, 54) Source(67, 48) + SourceIndex(0) +10>Emitted(71, 56) Source(67, 37) + SourceIndex(0) +11>Emitted(71, 61) Source(67, 48) + SourceIndex(0) +12>Emitted(71, 63) Source(67, 50) + SourceIndex(0) +13>Emitted(71, 64) Source(67, 51) + SourceIndex(0) --- >>> _l = _18[_17], numberA2 = _l[0], nameA2 = _l[1], skillA2 = _l[2]; 1->^^^^^^^^^^^^^^^^^^^ @@ -1739,15 +1740,15 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 7 > , 8 > skillA2 9 > -1->Emitted(71, 20) Source(67, 7) + SourceIndex(0) -2 >Emitted(71, 28) Source(67, 15) + SourceIndex(0) -3 >Emitted(71, 36) Source(67, 15) + SourceIndex(0) -4 >Emitted(71, 38) Source(67, 17) + SourceIndex(0) -5 >Emitted(71, 44) Source(67, 23) + SourceIndex(0) -6 >Emitted(71, 52) Source(67, 23) + SourceIndex(0) -7 >Emitted(71, 54) Source(67, 25) + SourceIndex(0) -8 >Emitted(71, 61) Source(67, 32) + SourceIndex(0) -9 >Emitted(71, 69) Source(67, 32) + SourceIndex(0) +1->Emitted(72, 20) Source(67, 7) + SourceIndex(0) +2 >Emitted(72, 28) Source(67, 15) + SourceIndex(0) +3 >Emitted(72, 36) Source(67, 15) + SourceIndex(0) +4 >Emitted(72, 38) Source(67, 17) + SourceIndex(0) +5 >Emitted(72, 44) Source(67, 23) + SourceIndex(0) +6 >Emitted(72, 52) Source(67, 23) + SourceIndex(0) +7 >Emitted(72, 54) Source(67, 25) + SourceIndex(0) +8 >Emitted(72, 61) Source(67, 32) + SourceIndex(0) +9 >Emitted(72, 69) Source(67, 32) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1767,14 +1768,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(72, 5) Source(68, 5) + SourceIndex(0) -2 >Emitted(72, 12) Source(68, 12) + SourceIndex(0) -3 >Emitted(72, 13) Source(68, 13) + SourceIndex(0) -4 >Emitted(72, 16) Source(68, 16) + SourceIndex(0) -5 >Emitted(72, 17) Source(68, 17) + SourceIndex(0) -6 >Emitted(72, 23) Source(68, 23) + SourceIndex(0) -7 >Emitted(72, 24) Source(68, 24) + SourceIndex(0) -8 >Emitted(72, 25) Source(68, 25) + SourceIndex(0) +1 >Emitted(73, 5) Source(68, 5) + SourceIndex(0) +2 >Emitted(73, 12) Source(68, 12) + SourceIndex(0) +3 >Emitted(73, 13) Source(68, 13) + SourceIndex(0) +4 >Emitted(73, 16) Source(68, 16) + SourceIndex(0) +5 >Emitted(73, 17) Source(68, 17) + SourceIndex(0) +6 >Emitted(73, 23) Source(68, 23) + SourceIndex(0) +7 >Emitted(73, 24) Source(68, 24) + SourceIndex(0) +8 >Emitted(73, 25) Source(68, 25) + SourceIndex(0) --- >>>} 1 > @@ -1783,8 +1784,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(73, 1) Source(69, 1) + SourceIndex(0) -2 >Emitted(73, 2) Source(69, 2) + SourceIndex(0) +1 >Emitted(74, 1) Source(69, 1) + SourceIndex(0) +2 >Emitted(74, 2) Source(69, 2) + SourceIndex(0) --- >>>for (var _19 = 0, _20 = [robotA, robotB]; _19 < _20.length; _19++) { 1-> @@ -1819,21 +1820,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 13> [robotA, robotB] 14> ) 15> { -1->Emitted(74, 1) Source(70, 1) + SourceIndex(0) -2 >Emitted(74, 6) Source(70, 37) + SourceIndex(0) -3 >Emitted(74, 17) Source(70, 53) + SourceIndex(0) -4 >Emitted(74, 19) Source(70, 37) + SourceIndex(0) -5 >Emitted(74, 26) Source(70, 38) + SourceIndex(0) -6 >Emitted(74, 32) Source(70, 44) + SourceIndex(0) -7 >Emitted(74, 34) Source(70, 46) + SourceIndex(0) -8 >Emitted(74, 40) Source(70, 52) + SourceIndex(0) -9 >Emitted(74, 41) Source(70, 53) + SourceIndex(0) -10>Emitted(74, 43) Source(70, 37) + SourceIndex(0) -11>Emitted(74, 59) Source(70, 53) + SourceIndex(0) -12>Emitted(74, 61) Source(70, 37) + SourceIndex(0) -13>Emitted(74, 66) Source(70, 53) + SourceIndex(0) -14>Emitted(74, 68) Source(70, 55) + SourceIndex(0) -15>Emitted(74, 69) Source(70, 56) + SourceIndex(0) +1->Emitted(75, 1) Source(70, 1) + SourceIndex(0) +2 >Emitted(75, 6) Source(70, 37) + SourceIndex(0) +3 >Emitted(75, 17) Source(70, 53) + SourceIndex(0) +4 >Emitted(75, 19) Source(70, 37) + SourceIndex(0) +5 >Emitted(75, 26) Source(70, 38) + SourceIndex(0) +6 >Emitted(75, 32) Source(70, 44) + SourceIndex(0) +7 >Emitted(75, 34) Source(70, 46) + SourceIndex(0) +8 >Emitted(75, 40) Source(70, 52) + SourceIndex(0) +9 >Emitted(75, 41) Source(70, 53) + SourceIndex(0) +10>Emitted(75, 43) Source(70, 37) + SourceIndex(0) +11>Emitted(75, 59) Source(70, 53) + SourceIndex(0) +12>Emitted(75, 61) Source(70, 37) + SourceIndex(0) +13>Emitted(75, 66) Source(70, 53) + SourceIndex(0) +14>Emitted(75, 68) Source(70, 55) + SourceIndex(0) +15>Emitted(75, 69) Source(70, 56) + SourceIndex(0) --- >>> _m = _20[_19], numberA2 = _m[0], nameA2 = _m[1], skillA2 = _m[2]; 1->^^^^^^^^^^^^^^^^^^^ @@ -1854,15 +1855,15 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 7 > , 8 > skillA2 9 > -1->Emitted(75, 20) Source(70, 7) + SourceIndex(0) -2 >Emitted(75, 28) Source(70, 15) + SourceIndex(0) -3 >Emitted(75, 36) Source(70, 15) + SourceIndex(0) -4 >Emitted(75, 38) Source(70, 17) + SourceIndex(0) -5 >Emitted(75, 44) Source(70, 23) + SourceIndex(0) -6 >Emitted(75, 52) Source(70, 23) + SourceIndex(0) -7 >Emitted(75, 54) Source(70, 25) + SourceIndex(0) -8 >Emitted(75, 61) Source(70, 32) + SourceIndex(0) -9 >Emitted(75, 69) Source(70, 32) + SourceIndex(0) +1->Emitted(76, 20) Source(70, 7) + SourceIndex(0) +2 >Emitted(76, 28) Source(70, 15) + SourceIndex(0) +3 >Emitted(76, 36) Source(70, 15) + SourceIndex(0) +4 >Emitted(76, 38) Source(70, 17) + SourceIndex(0) +5 >Emitted(76, 44) Source(70, 23) + SourceIndex(0) +6 >Emitted(76, 52) Source(70, 23) + SourceIndex(0) +7 >Emitted(76, 54) Source(70, 25) + SourceIndex(0) +8 >Emitted(76, 61) Source(70, 32) + SourceIndex(0) +9 >Emitted(76, 69) Source(70, 32) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1882,14 +1883,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(76, 5) Source(71, 5) + SourceIndex(0) -2 >Emitted(76, 12) Source(71, 12) + SourceIndex(0) -3 >Emitted(76, 13) Source(71, 13) + SourceIndex(0) -4 >Emitted(76, 16) Source(71, 16) + SourceIndex(0) -5 >Emitted(76, 17) Source(71, 17) + SourceIndex(0) -6 >Emitted(76, 23) Source(71, 23) + SourceIndex(0) -7 >Emitted(76, 24) Source(71, 24) + SourceIndex(0) -8 >Emitted(76, 25) Source(71, 25) + SourceIndex(0) +1 >Emitted(77, 5) Source(71, 5) + SourceIndex(0) +2 >Emitted(77, 12) Source(71, 12) + SourceIndex(0) +3 >Emitted(77, 13) Source(71, 13) + SourceIndex(0) +4 >Emitted(77, 16) Source(71, 16) + SourceIndex(0) +5 >Emitted(77, 17) Source(71, 17) + SourceIndex(0) +6 >Emitted(77, 23) Source(71, 23) + SourceIndex(0) +7 >Emitted(77, 24) Source(71, 24) + SourceIndex(0) +8 >Emitted(77, 25) Source(71, 25) + SourceIndex(0) --- >>>} 1 > @@ -1898,8 +1899,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(77, 1) Source(72, 1) + SourceIndex(0) -2 >Emitted(77, 2) Source(72, 2) + SourceIndex(0) +1 >Emitted(78, 1) Source(72, 1) + SourceIndex(0) +2 >Emitted(78, 2) Source(72, 2) + SourceIndex(0) --- >>>for (var _21 = 0, multiRobots_3 = multiRobots; _21 < multiRobots_3.length; _21++) { 1-> @@ -1926,17 +1927,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 9 > multiRobots 10> ) 11> { -1->Emitted(78, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(78, 6) Source(73, 52) + SourceIndex(0) -3 >Emitted(78, 17) Source(73, 63) + SourceIndex(0) -4 >Emitted(78, 19) Source(73, 52) + SourceIndex(0) -5 >Emitted(78, 46) Source(73, 63) + SourceIndex(0) -6 >Emitted(78, 48) Source(73, 52) + SourceIndex(0) -7 >Emitted(78, 74) Source(73, 63) + SourceIndex(0) -8 >Emitted(78, 76) Source(73, 52) + SourceIndex(0) -9 >Emitted(78, 81) Source(73, 63) + SourceIndex(0) -10>Emitted(78, 83) Source(73, 65) + SourceIndex(0) -11>Emitted(78, 84) Source(73, 66) + SourceIndex(0) +1->Emitted(79, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(79, 6) Source(73, 52) + SourceIndex(0) +3 >Emitted(79, 17) Source(73, 63) + SourceIndex(0) +4 >Emitted(79, 19) Source(73, 52) + SourceIndex(0) +5 >Emitted(79, 46) Source(73, 63) + SourceIndex(0) +6 >Emitted(79, 48) Source(73, 52) + SourceIndex(0) +7 >Emitted(79, 74) Source(73, 63) + SourceIndex(0) +8 >Emitted(79, 76) Source(73, 52) + SourceIndex(0) +9 >Emitted(79, 81) Source(73, 63) + SourceIndex(0) +10>Emitted(79, 83) Source(73, 65) + SourceIndex(0) +11>Emitted(79, 84) Source(73, 66) + SourceIndex(0) --- >>> _o = multiRobots_3[_21], nameMA = _o[0], _p = _o[1], primarySkillA = _p[0], secondarySkillA = _p[1]; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1961,17 +1962,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 9 > , 10> secondarySkillA 11> -1->Emitted(79, 30) Source(73, 7) + SourceIndex(0) -2 >Emitted(79, 36) Source(73, 13) + SourceIndex(0) -3 >Emitted(79, 44) Source(73, 13) + SourceIndex(0) -4 >Emitted(79, 46) Source(73, 15) + SourceIndex(0) -5 >Emitted(79, 56) Source(73, 47) + SourceIndex(0) -6 >Emitted(79, 58) Source(73, 16) + SourceIndex(0) -7 >Emitted(79, 71) Source(73, 29) + SourceIndex(0) -8 >Emitted(79, 79) Source(73, 29) + SourceIndex(0) -9 >Emitted(79, 81) Source(73, 31) + SourceIndex(0) -10>Emitted(79, 96) Source(73, 46) + SourceIndex(0) -11>Emitted(79, 104) Source(73, 46) + SourceIndex(0) +1->Emitted(80, 30) Source(73, 7) + SourceIndex(0) +2 >Emitted(80, 36) Source(73, 13) + SourceIndex(0) +3 >Emitted(80, 44) Source(73, 13) + SourceIndex(0) +4 >Emitted(80, 46) Source(73, 15) + SourceIndex(0) +5 >Emitted(80, 56) Source(73, 47) + SourceIndex(0) +6 >Emitted(80, 58) Source(73, 16) + SourceIndex(0) +7 >Emitted(80, 71) Source(73, 29) + SourceIndex(0) +8 >Emitted(80, 79) Source(73, 29) + SourceIndex(0) +9 >Emitted(80, 81) Source(73, 31) + SourceIndex(0) +10>Emitted(80, 96) Source(73, 46) + SourceIndex(0) +11>Emitted(80, 104) Source(73, 46) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -1991,14 +1992,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(80, 5) Source(74, 5) + SourceIndex(0) -2 >Emitted(80, 12) Source(74, 12) + SourceIndex(0) -3 >Emitted(80, 13) Source(74, 13) + SourceIndex(0) -4 >Emitted(80, 16) Source(74, 16) + SourceIndex(0) -5 >Emitted(80, 17) Source(74, 17) + SourceIndex(0) -6 >Emitted(80, 23) Source(74, 23) + SourceIndex(0) -7 >Emitted(80, 24) Source(74, 24) + SourceIndex(0) -8 >Emitted(80, 25) Source(74, 25) + SourceIndex(0) +1 >Emitted(81, 5) Source(74, 5) + SourceIndex(0) +2 >Emitted(81, 12) Source(74, 12) + SourceIndex(0) +3 >Emitted(81, 13) Source(74, 13) + SourceIndex(0) +4 >Emitted(81, 16) Source(74, 16) + SourceIndex(0) +5 >Emitted(81, 17) Source(74, 17) + SourceIndex(0) +6 >Emitted(81, 23) Source(74, 23) + SourceIndex(0) +7 >Emitted(81, 24) Source(74, 24) + SourceIndex(0) +8 >Emitted(81, 25) Source(74, 25) + SourceIndex(0) --- >>>} 1 > @@ -2007,8 +2008,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(81, 1) Source(75, 1) + SourceIndex(0) -2 >Emitted(81, 2) Source(75, 2) + SourceIndex(0) +1 >Emitted(82, 1) Source(75, 1) + SourceIndex(0) +2 >Emitted(82, 2) Source(75, 2) + SourceIndex(0) --- >>>for (var _22 = 0, _23 = getMultiRobots(); _22 < _23.length; _22++) { 1-> @@ -2039,19 +2040,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(82, 1) Source(76, 1) + SourceIndex(0) -2 >Emitted(82, 6) Source(76, 52) + SourceIndex(0) -3 >Emitted(82, 17) Source(76, 68) + SourceIndex(0) -4 >Emitted(82, 19) Source(76, 52) + SourceIndex(0) -5 >Emitted(82, 25) Source(76, 52) + SourceIndex(0) -6 >Emitted(82, 39) Source(76, 66) + SourceIndex(0) -7 >Emitted(82, 41) Source(76, 68) + SourceIndex(0) -8 >Emitted(82, 43) Source(76, 52) + SourceIndex(0) -9 >Emitted(82, 59) Source(76, 68) + SourceIndex(0) -10>Emitted(82, 61) Source(76, 52) + SourceIndex(0) -11>Emitted(82, 66) Source(76, 68) + SourceIndex(0) -12>Emitted(82, 68) Source(76, 70) + SourceIndex(0) -13>Emitted(82, 69) Source(76, 71) + SourceIndex(0) +1->Emitted(83, 1) Source(76, 1) + SourceIndex(0) +2 >Emitted(83, 6) Source(76, 52) + SourceIndex(0) +3 >Emitted(83, 17) Source(76, 68) + SourceIndex(0) +4 >Emitted(83, 19) Source(76, 52) + SourceIndex(0) +5 >Emitted(83, 25) Source(76, 52) + SourceIndex(0) +6 >Emitted(83, 39) Source(76, 66) + SourceIndex(0) +7 >Emitted(83, 41) Source(76, 68) + SourceIndex(0) +8 >Emitted(83, 43) Source(76, 52) + SourceIndex(0) +9 >Emitted(83, 59) Source(76, 68) + SourceIndex(0) +10>Emitted(83, 61) Source(76, 52) + SourceIndex(0) +11>Emitted(83, 66) Source(76, 68) + SourceIndex(0) +12>Emitted(83, 68) Source(76, 70) + SourceIndex(0) +13>Emitted(83, 69) Source(76, 71) + SourceIndex(0) --- >>> _q = _23[_22], nameMA = _q[0], _r = _q[1], primarySkillA = _r[0], secondarySkillA = _r[1]; 1->^^^^^^^^^^^^^^^^^^^ @@ -2076,17 +2077,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 9 > , 10> secondarySkillA 11> -1->Emitted(83, 20) Source(76, 7) + SourceIndex(0) -2 >Emitted(83, 26) Source(76, 13) + SourceIndex(0) -3 >Emitted(83, 34) Source(76, 13) + SourceIndex(0) -4 >Emitted(83, 36) Source(76, 15) + SourceIndex(0) -5 >Emitted(83, 46) Source(76, 47) + SourceIndex(0) -6 >Emitted(83, 48) Source(76, 16) + SourceIndex(0) -7 >Emitted(83, 61) Source(76, 29) + SourceIndex(0) -8 >Emitted(83, 69) Source(76, 29) + SourceIndex(0) -9 >Emitted(83, 71) Source(76, 31) + SourceIndex(0) -10>Emitted(83, 86) Source(76, 46) + SourceIndex(0) -11>Emitted(83, 94) Source(76, 46) + SourceIndex(0) +1->Emitted(84, 20) Source(76, 7) + SourceIndex(0) +2 >Emitted(84, 26) Source(76, 13) + SourceIndex(0) +3 >Emitted(84, 34) Source(76, 13) + SourceIndex(0) +4 >Emitted(84, 36) Source(76, 15) + SourceIndex(0) +5 >Emitted(84, 46) Source(76, 47) + SourceIndex(0) +6 >Emitted(84, 48) Source(76, 16) + SourceIndex(0) +7 >Emitted(84, 61) Source(76, 29) + SourceIndex(0) +8 >Emitted(84, 69) Source(76, 29) + SourceIndex(0) +9 >Emitted(84, 71) Source(76, 31) + SourceIndex(0) +10>Emitted(84, 86) Source(76, 46) + SourceIndex(0) +11>Emitted(84, 94) Source(76, 46) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2106,14 +2107,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(84, 5) Source(77, 5) + SourceIndex(0) -2 >Emitted(84, 12) Source(77, 12) + SourceIndex(0) -3 >Emitted(84, 13) Source(77, 13) + SourceIndex(0) -4 >Emitted(84, 16) Source(77, 16) + SourceIndex(0) -5 >Emitted(84, 17) Source(77, 17) + SourceIndex(0) -6 >Emitted(84, 23) Source(77, 23) + SourceIndex(0) -7 >Emitted(84, 24) Source(77, 24) + SourceIndex(0) -8 >Emitted(84, 25) Source(77, 25) + SourceIndex(0) +1 >Emitted(85, 5) Source(77, 5) + SourceIndex(0) +2 >Emitted(85, 12) Source(77, 12) + SourceIndex(0) +3 >Emitted(85, 13) Source(77, 13) + SourceIndex(0) +4 >Emitted(85, 16) Source(77, 16) + SourceIndex(0) +5 >Emitted(85, 17) Source(77, 17) + SourceIndex(0) +6 >Emitted(85, 23) Source(77, 23) + SourceIndex(0) +7 >Emitted(85, 24) Source(77, 24) + SourceIndex(0) +8 >Emitted(85, 25) Source(77, 25) + SourceIndex(0) --- >>>} 1 > @@ -2122,8 +2123,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(85, 1) Source(78, 1) + SourceIndex(0) -2 >Emitted(85, 2) Source(78, 2) + SourceIndex(0) +1 >Emitted(86, 1) Source(78, 1) + SourceIndex(0) +2 >Emitted(86, 2) Source(78, 2) + SourceIndex(0) --- >>>for (var _24 = 0, _25 = [multiRobotA, multiRobotB]; _24 < _25.length; _24++) { 1-> @@ -2158,21 +2159,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(86, 1) Source(79, 1) + SourceIndex(0) -2 >Emitted(86, 6) Source(79, 52) + SourceIndex(0) -3 >Emitted(86, 17) Source(79, 78) + SourceIndex(0) -4 >Emitted(86, 19) Source(79, 52) + SourceIndex(0) -5 >Emitted(86, 26) Source(79, 53) + SourceIndex(0) -6 >Emitted(86, 37) Source(79, 64) + SourceIndex(0) -7 >Emitted(86, 39) Source(79, 66) + SourceIndex(0) -8 >Emitted(86, 50) Source(79, 77) + SourceIndex(0) -9 >Emitted(86, 51) Source(79, 78) + SourceIndex(0) -10>Emitted(86, 53) Source(79, 52) + SourceIndex(0) -11>Emitted(86, 69) Source(79, 78) + SourceIndex(0) -12>Emitted(86, 71) Source(79, 52) + SourceIndex(0) -13>Emitted(86, 76) Source(79, 78) + SourceIndex(0) -14>Emitted(86, 78) Source(79, 80) + SourceIndex(0) -15>Emitted(86, 79) Source(79, 81) + SourceIndex(0) +1->Emitted(87, 1) Source(79, 1) + SourceIndex(0) +2 >Emitted(87, 6) Source(79, 52) + SourceIndex(0) +3 >Emitted(87, 17) Source(79, 78) + SourceIndex(0) +4 >Emitted(87, 19) Source(79, 52) + SourceIndex(0) +5 >Emitted(87, 26) Source(79, 53) + SourceIndex(0) +6 >Emitted(87, 37) Source(79, 64) + SourceIndex(0) +7 >Emitted(87, 39) Source(79, 66) + SourceIndex(0) +8 >Emitted(87, 50) Source(79, 77) + SourceIndex(0) +9 >Emitted(87, 51) Source(79, 78) + SourceIndex(0) +10>Emitted(87, 53) Source(79, 52) + SourceIndex(0) +11>Emitted(87, 69) Source(79, 78) + SourceIndex(0) +12>Emitted(87, 71) Source(79, 52) + SourceIndex(0) +13>Emitted(87, 76) Source(79, 78) + SourceIndex(0) +14>Emitted(87, 78) Source(79, 80) + SourceIndex(0) +15>Emitted(87, 79) Source(79, 81) + SourceIndex(0) --- >>> _s = _25[_24], nameMA = _s[0], _t = _s[1], primarySkillA = _t[0], secondarySkillA = _t[1]; 1->^^^^^^^^^^^^^^^^^^^ @@ -2197,17 +2198,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 9 > , 10> secondarySkillA 11> -1->Emitted(87, 20) Source(79, 7) + SourceIndex(0) -2 >Emitted(87, 26) Source(79, 13) + SourceIndex(0) -3 >Emitted(87, 34) Source(79, 13) + SourceIndex(0) -4 >Emitted(87, 36) Source(79, 15) + SourceIndex(0) -5 >Emitted(87, 46) Source(79, 47) + SourceIndex(0) -6 >Emitted(87, 48) Source(79, 16) + SourceIndex(0) -7 >Emitted(87, 61) Source(79, 29) + SourceIndex(0) -8 >Emitted(87, 69) Source(79, 29) + SourceIndex(0) -9 >Emitted(87, 71) Source(79, 31) + SourceIndex(0) -10>Emitted(87, 86) Source(79, 46) + SourceIndex(0) -11>Emitted(87, 94) Source(79, 46) + SourceIndex(0) +1->Emitted(88, 20) Source(79, 7) + SourceIndex(0) +2 >Emitted(88, 26) Source(79, 13) + SourceIndex(0) +3 >Emitted(88, 34) Source(79, 13) + SourceIndex(0) +4 >Emitted(88, 36) Source(79, 15) + SourceIndex(0) +5 >Emitted(88, 46) Source(79, 47) + SourceIndex(0) +6 >Emitted(88, 48) Source(79, 16) + SourceIndex(0) +7 >Emitted(88, 61) Source(79, 29) + SourceIndex(0) +8 >Emitted(88, 69) Source(79, 29) + SourceIndex(0) +9 >Emitted(88, 71) Source(79, 31) + SourceIndex(0) +10>Emitted(88, 86) Source(79, 46) + SourceIndex(0) +11>Emitted(88, 94) Source(79, 46) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2227,14 +2228,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(88, 5) Source(80, 5) + SourceIndex(0) -2 >Emitted(88, 12) Source(80, 12) + SourceIndex(0) -3 >Emitted(88, 13) Source(80, 13) + SourceIndex(0) -4 >Emitted(88, 16) Source(80, 16) + SourceIndex(0) -5 >Emitted(88, 17) Source(80, 17) + SourceIndex(0) -6 >Emitted(88, 23) Source(80, 23) + SourceIndex(0) -7 >Emitted(88, 24) Source(80, 24) + SourceIndex(0) -8 >Emitted(88, 25) Source(80, 25) + SourceIndex(0) +1 >Emitted(89, 5) Source(80, 5) + SourceIndex(0) +2 >Emitted(89, 12) Source(80, 12) + SourceIndex(0) +3 >Emitted(89, 13) Source(80, 13) + SourceIndex(0) +4 >Emitted(89, 16) Source(80, 16) + SourceIndex(0) +5 >Emitted(89, 17) Source(80, 17) + SourceIndex(0) +6 >Emitted(89, 23) Source(80, 23) + SourceIndex(0) +7 >Emitted(89, 24) Source(80, 24) + SourceIndex(0) +8 >Emitted(89, 25) Source(80, 25) + SourceIndex(0) --- >>>} 1 > @@ -2243,8 +2244,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(89, 1) Source(81, 1) + SourceIndex(0) -2 >Emitted(89, 2) Source(81, 2) + SourceIndex(0) +1 >Emitted(90, 1) Source(81, 1) + SourceIndex(0) +2 >Emitted(90, 2) Source(81, 2) + SourceIndex(0) --- >>>for (var _26 = 0, robots_4 = robots; _26 < robots_4.length; _26++) { 1-> @@ -2271,17 +2272,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 9 > robots 10> ) 11> { -1->Emitted(90, 1) Source(83, 1) + SourceIndex(0) -2 >Emitted(90, 6) Source(83, 35) + SourceIndex(0) -3 >Emitted(90, 17) Source(83, 41) + SourceIndex(0) -4 >Emitted(90, 19) Source(83, 35) + SourceIndex(0) -5 >Emitted(90, 36) Source(83, 41) + SourceIndex(0) -6 >Emitted(90, 38) Source(83, 35) + SourceIndex(0) -7 >Emitted(90, 59) Source(83, 41) + SourceIndex(0) -8 >Emitted(90, 61) Source(83, 35) + SourceIndex(0) -9 >Emitted(90, 66) Source(83, 41) + SourceIndex(0) -10>Emitted(90, 68) Source(83, 43) + SourceIndex(0) -11>Emitted(90, 69) Source(83, 44) + SourceIndex(0) +1->Emitted(91, 1) Source(83, 1) + SourceIndex(0) +2 >Emitted(91, 6) Source(83, 35) + SourceIndex(0) +3 >Emitted(91, 17) Source(83, 41) + SourceIndex(0) +4 >Emitted(91, 19) Source(83, 35) + SourceIndex(0) +5 >Emitted(91, 36) Source(83, 41) + SourceIndex(0) +6 >Emitted(91, 38) Source(83, 35) + SourceIndex(0) +7 >Emitted(91, 59) Source(83, 41) + SourceIndex(0) +8 >Emitted(91, 61) Source(83, 35) + SourceIndex(0) +9 >Emitted(91, 66) Source(83, 41) + SourceIndex(0) +10>Emitted(91, 68) Source(83, 43) + SourceIndex(0) +11>Emitted(91, 69) Source(83, 44) + SourceIndex(0) --- >>> _u = robots_4[_26], numberA3 = _u[0], robotAInfo = _u.slice(1); 1 >^^^^^^^^^^^^^^^^^^^^^^^^ @@ -2296,12 +2297,12 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 4 > , ... 5 > robotAInfo 6 > -1 >Emitted(91, 25) Source(83, 7) + SourceIndex(0) -2 >Emitted(91, 33) Source(83, 15) + SourceIndex(0) -3 >Emitted(91, 41) Source(83, 15) + SourceIndex(0) -4 >Emitted(91, 43) Source(83, 20) + SourceIndex(0) -5 >Emitted(91, 53) Source(83, 30) + SourceIndex(0) -6 >Emitted(91, 67) Source(83, 30) + SourceIndex(0) +1 >Emitted(92, 25) Source(83, 7) + SourceIndex(0) +2 >Emitted(92, 33) Source(83, 15) + SourceIndex(0) +3 >Emitted(92, 41) Source(83, 15) + SourceIndex(0) +4 >Emitted(92, 43) Source(83, 20) + SourceIndex(0) +5 >Emitted(92, 53) Source(83, 30) + SourceIndex(0) +6 >Emitted(92, 67) Source(83, 30) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2321,14 +2322,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(92, 5) Source(84, 5) + SourceIndex(0) -2 >Emitted(92, 12) Source(84, 12) + SourceIndex(0) -3 >Emitted(92, 13) Source(84, 13) + SourceIndex(0) -4 >Emitted(92, 16) Source(84, 16) + SourceIndex(0) -5 >Emitted(92, 17) Source(84, 17) + SourceIndex(0) -6 >Emitted(92, 25) Source(84, 25) + SourceIndex(0) -7 >Emitted(92, 26) Source(84, 26) + SourceIndex(0) -8 >Emitted(92, 27) Source(84, 27) + SourceIndex(0) +1 >Emitted(93, 5) Source(84, 5) + SourceIndex(0) +2 >Emitted(93, 12) Source(84, 12) + SourceIndex(0) +3 >Emitted(93, 13) Source(84, 13) + SourceIndex(0) +4 >Emitted(93, 16) Source(84, 16) + SourceIndex(0) +5 >Emitted(93, 17) Source(84, 17) + SourceIndex(0) +6 >Emitted(93, 25) Source(84, 25) + SourceIndex(0) +7 >Emitted(93, 26) Source(84, 26) + SourceIndex(0) +8 >Emitted(93, 27) Source(84, 27) + SourceIndex(0) --- >>>} 1 > @@ -2337,8 +2338,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(93, 1) Source(85, 1) + SourceIndex(0) -2 >Emitted(93, 2) Source(85, 2) + SourceIndex(0) +1 >Emitted(94, 1) Source(85, 1) + SourceIndex(0) +2 >Emitted(94, 2) Source(85, 2) + SourceIndex(0) --- >>>for (var _27 = 0, _28 = getRobots(); _27 < _28.length; _27++) { 1-> @@ -2368,19 +2369,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 11> getRobots() 12> ) 13> { -1->Emitted(94, 1) Source(86, 1) + SourceIndex(0) -2 >Emitted(94, 6) Source(86, 35) + SourceIndex(0) -3 >Emitted(94, 17) Source(86, 46) + SourceIndex(0) -4 >Emitted(94, 19) Source(86, 35) + SourceIndex(0) -5 >Emitted(94, 25) Source(86, 35) + SourceIndex(0) -6 >Emitted(94, 34) Source(86, 44) + SourceIndex(0) -7 >Emitted(94, 36) Source(86, 46) + SourceIndex(0) -8 >Emitted(94, 38) Source(86, 35) + SourceIndex(0) -9 >Emitted(94, 54) Source(86, 46) + SourceIndex(0) -10>Emitted(94, 56) Source(86, 35) + SourceIndex(0) -11>Emitted(94, 61) Source(86, 46) + SourceIndex(0) -12>Emitted(94, 63) Source(86, 48) + SourceIndex(0) -13>Emitted(94, 64) Source(86, 49) + SourceIndex(0) +1->Emitted(95, 1) Source(86, 1) + SourceIndex(0) +2 >Emitted(95, 6) Source(86, 35) + SourceIndex(0) +3 >Emitted(95, 17) Source(86, 46) + SourceIndex(0) +4 >Emitted(95, 19) Source(86, 35) + SourceIndex(0) +5 >Emitted(95, 25) Source(86, 35) + SourceIndex(0) +6 >Emitted(95, 34) Source(86, 44) + SourceIndex(0) +7 >Emitted(95, 36) Source(86, 46) + SourceIndex(0) +8 >Emitted(95, 38) Source(86, 35) + SourceIndex(0) +9 >Emitted(95, 54) Source(86, 46) + SourceIndex(0) +10>Emitted(95, 56) Source(86, 35) + SourceIndex(0) +11>Emitted(95, 61) Source(86, 46) + SourceIndex(0) +12>Emitted(95, 63) Source(86, 48) + SourceIndex(0) +13>Emitted(95, 64) Source(86, 49) + SourceIndex(0) --- >>> _v = _28[_27], numberA3 = _v[0], robotAInfo = _v.slice(1); 1 >^^^^^^^^^^^^^^^^^^^ @@ -2395,12 +2396,12 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 4 > , ... 5 > robotAInfo 6 > -1 >Emitted(95, 20) Source(86, 7) + SourceIndex(0) -2 >Emitted(95, 28) Source(86, 15) + SourceIndex(0) -3 >Emitted(95, 36) Source(86, 15) + SourceIndex(0) -4 >Emitted(95, 38) Source(86, 20) + SourceIndex(0) -5 >Emitted(95, 48) Source(86, 30) + SourceIndex(0) -6 >Emitted(95, 62) Source(86, 30) + SourceIndex(0) +1 >Emitted(96, 20) Source(86, 7) + SourceIndex(0) +2 >Emitted(96, 28) Source(86, 15) + SourceIndex(0) +3 >Emitted(96, 36) Source(86, 15) + SourceIndex(0) +4 >Emitted(96, 38) Source(86, 20) + SourceIndex(0) +5 >Emitted(96, 48) Source(86, 30) + SourceIndex(0) +6 >Emitted(96, 62) Source(86, 30) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2420,14 +2421,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(96, 5) Source(87, 5) + SourceIndex(0) -2 >Emitted(96, 12) Source(87, 12) + SourceIndex(0) -3 >Emitted(96, 13) Source(87, 13) + SourceIndex(0) -4 >Emitted(96, 16) Source(87, 16) + SourceIndex(0) -5 >Emitted(96, 17) Source(87, 17) + SourceIndex(0) -6 >Emitted(96, 25) Source(87, 25) + SourceIndex(0) -7 >Emitted(96, 26) Source(87, 26) + SourceIndex(0) -8 >Emitted(96, 27) Source(87, 27) + SourceIndex(0) +1 >Emitted(97, 5) Source(87, 5) + SourceIndex(0) +2 >Emitted(97, 12) Source(87, 12) + SourceIndex(0) +3 >Emitted(97, 13) Source(87, 13) + SourceIndex(0) +4 >Emitted(97, 16) Source(87, 16) + SourceIndex(0) +5 >Emitted(97, 17) Source(87, 17) + SourceIndex(0) +6 >Emitted(97, 25) Source(87, 25) + SourceIndex(0) +7 >Emitted(97, 26) Source(87, 26) + SourceIndex(0) +8 >Emitted(97, 27) Source(87, 27) + SourceIndex(0) --- >>>} 1 > @@ -2436,8 +2437,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(97, 1) Source(88, 1) + SourceIndex(0) -2 >Emitted(97, 2) Source(88, 2) + SourceIndex(0) +1 >Emitted(98, 1) Source(88, 1) + SourceIndex(0) +2 >Emitted(98, 2) Source(88, 2) + SourceIndex(0) --- >>>for (var _29 = 0, _30 = [robotA, robotB]; _29 < _30.length; _29++) { 1-> @@ -2471,21 +2472,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 13> [robotA, robotB] 14> ) 15> { -1->Emitted(98, 1) Source(89, 1) + SourceIndex(0) -2 >Emitted(98, 6) Source(89, 35) + SourceIndex(0) -3 >Emitted(98, 17) Source(89, 51) + SourceIndex(0) -4 >Emitted(98, 19) Source(89, 35) + SourceIndex(0) -5 >Emitted(98, 26) Source(89, 36) + SourceIndex(0) -6 >Emitted(98, 32) Source(89, 42) + SourceIndex(0) -7 >Emitted(98, 34) Source(89, 44) + SourceIndex(0) -8 >Emitted(98, 40) Source(89, 50) + SourceIndex(0) -9 >Emitted(98, 41) Source(89, 51) + SourceIndex(0) -10>Emitted(98, 43) Source(89, 35) + SourceIndex(0) -11>Emitted(98, 59) Source(89, 51) + SourceIndex(0) -12>Emitted(98, 61) Source(89, 35) + SourceIndex(0) -13>Emitted(98, 66) Source(89, 51) + SourceIndex(0) -14>Emitted(98, 68) Source(89, 53) + SourceIndex(0) -15>Emitted(98, 69) Source(89, 54) + SourceIndex(0) +1->Emitted(99, 1) Source(89, 1) + SourceIndex(0) +2 >Emitted(99, 6) Source(89, 35) + SourceIndex(0) +3 >Emitted(99, 17) Source(89, 51) + SourceIndex(0) +4 >Emitted(99, 19) Source(89, 35) + SourceIndex(0) +5 >Emitted(99, 26) Source(89, 36) + SourceIndex(0) +6 >Emitted(99, 32) Source(89, 42) + SourceIndex(0) +7 >Emitted(99, 34) Source(89, 44) + SourceIndex(0) +8 >Emitted(99, 40) Source(89, 50) + SourceIndex(0) +9 >Emitted(99, 41) Source(89, 51) + SourceIndex(0) +10>Emitted(99, 43) Source(89, 35) + SourceIndex(0) +11>Emitted(99, 59) Source(89, 51) + SourceIndex(0) +12>Emitted(99, 61) Source(89, 35) + SourceIndex(0) +13>Emitted(99, 66) Source(89, 51) + SourceIndex(0) +14>Emitted(99, 68) Source(89, 53) + SourceIndex(0) +15>Emitted(99, 69) Source(89, 54) + SourceIndex(0) --- >>> _w = _30[_29], numberA3 = _w[0], robotAInfo = _w.slice(1); 1 >^^^^^^^^^^^^^^^^^^^ @@ -2500,12 +2501,12 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 4 > , ... 5 > robotAInfo 6 > -1 >Emitted(99, 20) Source(89, 7) + SourceIndex(0) -2 >Emitted(99, 28) Source(89, 15) + SourceIndex(0) -3 >Emitted(99, 36) Source(89, 15) + SourceIndex(0) -4 >Emitted(99, 38) Source(89, 20) + SourceIndex(0) -5 >Emitted(99, 48) Source(89, 30) + SourceIndex(0) -6 >Emitted(99, 62) Source(89, 30) + SourceIndex(0) +1 >Emitted(100, 20) Source(89, 7) + SourceIndex(0) +2 >Emitted(100, 28) Source(89, 15) + SourceIndex(0) +3 >Emitted(100, 36) Source(89, 15) + SourceIndex(0) +4 >Emitted(100, 38) Source(89, 20) + SourceIndex(0) +5 >Emitted(100, 48) Source(89, 30) + SourceIndex(0) +6 >Emitted(100, 62) Source(89, 30) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2525,14 +2526,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > numberA3 7 > ) 8 > ; -1 >Emitted(100, 5) Source(90, 5) + SourceIndex(0) -2 >Emitted(100, 12) Source(90, 12) + SourceIndex(0) -3 >Emitted(100, 13) Source(90, 13) + SourceIndex(0) -4 >Emitted(100, 16) Source(90, 16) + SourceIndex(0) -5 >Emitted(100, 17) Source(90, 17) + SourceIndex(0) -6 >Emitted(100, 25) Source(90, 25) + SourceIndex(0) -7 >Emitted(100, 26) Source(90, 26) + SourceIndex(0) -8 >Emitted(100, 27) Source(90, 27) + SourceIndex(0) +1 >Emitted(101, 5) Source(90, 5) + SourceIndex(0) +2 >Emitted(101, 12) Source(90, 12) + SourceIndex(0) +3 >Emitted(101, 13) Source(90, 13) + SourceIndex(0) +4 >Emitted(101, 16) Source(90, 16) + SourceIndex(0) +5 >Emitted(101, 17) Source(90, 17) + SourceIndex(0) +6 >Emitted(101, 25) Source(90, 25) + SourceIndex(0) +7 >Emitted(101, 26) Source(90, 26) + SourceIndex(0) +8 >Emitted(101, 27) Source(90, 27) + SourceIndex(0) --- >>>} 1 > @@ -2541,8 +2542,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(101, 1) Source(91, 1) + SourceIndex(0) -2 >Emitted(101, 2) Source(91, 2) + SourceIndex(0) +1 >Emitted(102, 1) Source(91, 1) + SourceIndex(0) +2 >Emitted(102, 2) Source(91, 2) + SourceIndex(0) --- >>>for (var _31 = 0, multiRobots_4 = multiRobots; _31 < multiRobots_4.length; _31++) { 1-> @@ -2568,17 +2569,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 9 > multiRobots 10> ) 11> { -1->Emitted(102, 1) Source(92, 1) + SourceIndex(0) -2 >Emitted(102, 6) Source(92, 30) + SourceIndex(0) -3 >Emitted(102, 17) Source(92, 41) + SourceIndex(0) -4 >Emitted(102, 19) Source(92, 30) + SourceIndex(0) -5 >Emitted(102, 46) Source(92, 41) + SourceIndex(0) -6 >Emitted(102, 48) Source(92, 30) + SourceIndex(0) -7 >Emitted(102, 74) Source(92, 41) + SourceIndex(0) -8 >Emitted(102, 76) Source(92, 30) + SourceIndex(0) -9 >Emitted(102, 81) Source(92, 41) + SourceIndex(0) -10>Emitted(102, 83) Source(92, 43) + SourceIndex(0) -11>Emitted(102, 84) Source(92, 44) + SourceIndex(0) +1->Emitted(103, 1) Source(92, 1) + SourceIndex(0) +2 >Emitted(103, 6) Source(92, 30) + SourceIndex(0) +3 >Emitted(103, 17) Source(92, 41) + SourceIndex(0) +4 >Emitted(103, 19) Source(92, 30) + SourceIndex(0) +5 >Emitted(103, 46) Source(92, 41) + SourceIndex(0) +6 >Emitted(103, 48) Source(92, 30) + SourceIndex(0) +7 >Emitted(103, 74) Source(92, 41) + SourceIndex(0) +8 >Emitted(103, 76) Source(92, 30) + SourceIndex(0) +9 >Emitted(103, 81) Source(92, 41) + SourceIndex(0) +10>Emitted(103, 83) Source(92, 43) + SourceIndex(0) +11>Emitted(103, 84) Source(92, 44) + SourceIndex(0) --- >>> multiRobotAInfo = multiRobots_4[_31].slice(0); 1 >^^^^ @@ -2587,9 +2588,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > multiRobotAInfo 3 > -1 >Emitted(103, 5) Source(92, 10) + SourceIndex(0) -2 >Emitted(103, 20) Source(92, 25) + SourceIndex(0) -3 >Emitted(103, 50) Source(92, 25) + SourceIndex(0) +1 >Emitted(104, 5) Source(92, 10) + SourceIndex(0) +2 >Emitted(104, 20) Source(92, 25) + SourceIndex(0) +3 >Emitted(104, 50) Source(92, 25) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -2609,14 +2610,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(104, 5) Source(93, 5) + SourceIndex(0) -2 >Emitted(104, 12) Source(93, 12) + SourceIndex(0) -3 >Emitted(104, 13) Source(93, 13) + SourceIndex(0) -4 >Emitted(104, 16) Source(93, 16) + SourceIndex(0) -5 >Emitted(104, 17) Source(93, 17) + SourceIndex(0) -6 >Emitted(104, 32) Source(93, 32) + SourceIndex(0) -7 >Emitted(104, 33) Source(93, 33) + SourceIndex(0) -8 >Emitted(104, 34) Source(93, 34) + SourceIndex(0) +1 >Emitted(105, 5) Source(93, 5) + SourceIndex(0) +2 >Emitted(105, 12) Source(93, 12) + SourceIndex(0) +3 >Emitted(105, 13) Source(93, 13) + SourceIndex(0) +4 >Emitted(105, 16) Source(93, 16) + SourceIndex(0) +5 >Emitted(105, 17) Source(93, 17) + SourceIndex(0) +6 >Emitted(105, 32) Source(93, 32) + SourceIndex(0) +7 >Emitted(105, 33) Source(93, 33) + SourceIndex(0) +8 >Emitted(105, 34) Source(93, 34) + SourceIndex(0) --- >>>} 1 > @@ -2625,8 +2626,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(105, 1) Source(94, 1) + SourceIndex(0) -2 >Emitted(105, 2) Source(94, 2) + SourceIndex(0) +1 >Emitted(106, 1) Source(94, 1) + SourceIndex(0) +2 >Emitted(106, 2) Source(94, 2) + SourceIndex(0) --- >>>for (var _32 = 0, _33 = getMultiRobots(); _32 < _33.length; _32++) { 1-> @@ -2656,19 +2657,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(106, 1) Source(95, 1) + SourceIndex(0) -2 >Emitted(106, 6) Source(95, 30) + SourceIndex(0) -3 >Emitted(106, 17) Source(95, 46) + SourceIndex(0) -4 >Emitted(106, 19) Source(95, 30) + SourceIndex(0) -5 >Emitted(106, 25) Source(95, 30) + SourceIndex(0) -6 >Emitted(106, 39) Source(95, 44) + SourceIndex(0) -7 >Emitted(106, 41) Source(95, 46) + SourceIndex(0) -8 >Emitted(106, 43) Source(95, 30) + SourceIndex(0) -9 >Emitted(106, 59) Source(95, 46) + SourceIndex(0) -10>Emitted(106, 61) Source(95, 30) + SourceIndex(0) -11>Emitted(106, 66) Source(95, 46) + SourceIndex(0) -12>Emitted(106, 68) Source(95, 48) + SourceIndex(0) -13>Emitted(106, 69) Source(95, 49) + SourceIndex(0) +1->Emitted(107, 1) Source(95, 1) + SourceIndex(0) +2 >Emitted(107, 6) Source(95, 30) + SourceIndex(0) +3 >Emitted(107, 17) Source(95, 46) + SourceIndex(0) +4 >Emitted(107, 19) Source(95, 30) + SourceIndex(0) +5 >Emitted(107, 25) Source(95, 30) + SourceIndex(0) +6 >Emitted(107, 39) Source(95, 44) + SourceIndex(0) +7 >Emitted(107, 41) Source(95, 46) + SourceIndex(0) +8 >Emitted(107, 43) Source(95, 30) + SourceIndex(0) +9 >Emitted(107, 59) Source(95, 46) + SourceIndex(0) +10>Emitted(107, 61) Source(95, 30) + SourceIndex(0) +11>Emitted(107, 66) Source(95, 46) + SourceIndex(0) +12>Emitted(107, 68) Source(95, 48) + SourceIndex(0) +13>Emitted(107, 69) Source(95, 49) + SourceIndex(0) --- >>> multiRobotAInfo = _33[_32].slice(0); 1 >^^^^ @@ -2677,9 +2678,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > multiRobotAInfo 3 > -1 >Emitted(107, 5) Source(95, 10) + SourceIndex(0) -2 >Emitted(107, 20) Source(95, 25) + SourceIndex(0) -3 >Emitted(107, 40) Source(95, 25) + SourceIndex(0) +1 >Emitted(108, 5) Source(95, 10) + SourceIndex(0) +2 >Emitted(108, 20) Source(95, 25) + SourceIndex(0) +3 >Emitted(108, 40) Source(95, 25) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -2699,14 +2700,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(108, 5) Source(96, 5) + SourceIndex(0) -2 >Emitted(108, 12) Source(96, 12) + SourceIndex(0) -3 >Emitted(108, 13) Source(96, 13) + SourceIndex(0) -4 >Emitted(108, 16) Source(96, 16) + SourceIndex(0) -5 >Emitted(108, 17) Source(96, 17) + SourceIndex(0) -6 >Emitted(108, 32) Source(96, 32) + SourceIndex(0) -7 >Emitted(108, 33) Source(96, 33) + SourceIndex(0) -8 >Emitted(108, 34) Source(96, 34) + SourceIndex(0) +1 >Emitted(109, 5) Source(96, 5) + SourceIndex(0) +2 >Emitted(109, 12) Source(96, 12) + SourceIndex(0) +3 >Emitted(109, 13) Source(96, 13) + SourceIndex(0) +4 >Emitted(109, 16) Source(96, 16) + SourceIndex(0) +5 >Emitted(109, 17) Source(96, 17) + SourceIndex(0) +6 >Emitted(109, 32) Source(96, 32) + SourceIndex(0) +7 >Emitted(109, 33) Source(96, 33) + SourceIndex(0) +8 >Emitted(109, 34) Source(96, 34) + SourceIndex(0) --- >>>} 1 > @@ -2715,8 +2716,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(109, 1) Source(97, 1) + SourceIndex(0) -2 >Emitted(109, 2) Source(97, 2) + SourceIndex(0) +1 >Emitted(110, 1) Source(97, 1) + SourceIndex(0) +2 >Emitted(110, 2) Source(97, 2) + SourceIndex(0) --- >>>for (var _34 = 0, _35 = [multiRobotA, multiRobotB]; _34 < _35.length; _34++) { 1-> @@ -2750,21 +2751,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(110, 1) Source(98, 1) + SourceIndex(0) -2 >Emitted(110, 6) Source(98, 30) + SourceIndex(0) -3 >Emitted(110, 17) Source(98, 56) + SourceIndex(0) -4 >Emitted(110, 19) Source(98, 30) + SourceIndex(0) -5 >Emitted(110, 26) Source(98, 31) + SourceIndex(0) -6 >Emitted(110, 37) Source(98, 42) + SourceIndex(0) -7 >Emitted(110, 39) Source(98, 44) + SourceIndex(0) -8 >Emitted(110, 50) Source(98, 55) + SourceIndex(0) -9 >Emitted(110, 51) Source(98, 56) + SourceIndex(0) -10>Emitted(110, 53) Source(98, 30) + SourceIndex(0) -11>Emitted(110, 69) Source(98, 56) + SourceIndex(0) -12>Emitted(110, 71) Source(98, 30) + SourceIndex(0) -13>Emitted(110, 76) Source(98, 56) + SourceIndex(0) -14>Emitted(110, 78) Source(98, 58) + SourceIndex(0) -15>Emitted(110, 79) Source(98, 59) + SourceIndex(0) +1->Emitted(111, 1) Source(98, 1) + SourceIndex(0) +2 >Emitted(111, 6) Source(98, 30) + SourceIndex(0) +3 >Emitted(111, 17) Source(98, 56) + SourceIndex(0) +4 >Emitted(111, 19) Source(98, 30) + SourceIndex(0) +5 >Emitted(111, 26) Source(98, 31) + SourceIndex(0) +6 >Emitted(111, 37) Source(98, 42) + SourceIndex(0) +7 >Emitted(111, 39) Source(98, 44) + SourceIndex(0) +8 >Emitted(111, 50) Source(98, 55) + SourceIndex(0) +9 >Emitted(111, 51) Source(98, 56) + SourceIndex(0) +10>Emitted(111, 53) Source(98, 30) + SourceIndex(0) +11>Emitted(111, 69) Source(98, 56) + SourceIndex(0) +12>Emitted(111, 71) Source(98, 30) + SourceIndex(0) +13>Emitted(111, 76) Source(98, 56) + SourceIndex(0) +14>Emitted(111, 78) Source(98, 58) + SourceIndex(0) +15>Emitted(111, 79) Source(98, 59) + SourceIndex(0) --- >>> multiRobotAInfo = _35[_34].slice(0); 1 >^^^^ @@ -2773,9 +2774,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > 2 > multiRobotAInfo 3 > -1 >Emitted(111, 5) Source(98, 10) + SourceIndex(0) -2 >Emitted(111, 20) Source(98, 25) + SourceIndex(0) -3 >Emitted(111, 40) Source(98, 25) + SourceIndex(0) +1 >Emitted(112, 5) Source(98, 10) + SourceIndex(0) +2 >Emitted(112, 20) Source(98, 25) + SourceIndex(0) +3 >Emitted(112, 40) Source(98, 25) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -2795,14 +2796,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(112, 5) Source(99, 5) + SourceIndex(0) -2 >Emitted(112, 12) Source(99, 12) + SourceIndex(0) -3 >Emitted(112, 13) Source(99, 13) + SourceIndex(0) -4 >Emitted(112, 16) Source(99, 16) + SourceIndex(0) -5 >Emitted(112, 17) Source(99, 17) + SourceIndex(0) -6 >Emitted(112, 32) Source(99, 32) + SourceIndex(0) -7 >Emitted(112, 33) Source(99, 33) + SourceIndex(0) -8 >Emitted(112, 34) Source(99, 34) + SourceIndex(0) +1 >Emitted(113, 5) Source(99, 5) + SourceIndex(0) +2 >Emitted(113, 12) Source(99, 12) + SourceIndex(0) +3 >Emitted(113, 13) Source(99, 13) + SourceIndex(0) +4 >Emitted(113, 16) Source(99, 16) + SourceIndex(0) +5 >Emitted(113, 17) Source(99, 17) + SourceIndex(0) +6 >Emitted(113, 32) Source(99, 32) + SourceIndex(0) +7 >Emitted(113, 33) Source(99, 33) + SourceIndex(0) +8 >Emitted(113, 34) Source(99, 34) + SourceIndex(0) --- >>>} 1 > @@ -2811,7 +2812,7 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(113, 1) Source(100, 1) + SourceIndex(0) -2 >Emitted(113, 2) Source(100, 2) + SourceIndex(0) +1 >Emitted(114, 1) Source(100, 1) + SourceIndex(0) +2 >Emitted(114, 2) Source(100, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForOfArrayBindingPattern2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js index afbc1ce9d21e9..d6b82221699ab 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js @@ -107,6 +107,7 @@ for (let [numberA3 = -1, ...robotAInfo] of [robotA, robotB]) { } //// [sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js] +"use strict"; var robotA = [1, "mower", "mowing"]; var robotB = [2, "trimmer", "trimming"]; var robots = [robotA, robotB]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js.map index 8781d0ef9d338..da4d30aefcac0 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.ts"],"names":[],"mappings":"AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAC/C,IAAI,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC9B,SAAS,SAAS;IACd,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,IAAI,WAAW,GAAG,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAC7C,SAAS,cAAc;IACnB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,KAAiC,UAAM,EAAN,iBAAM,EAAN,oBAAM,EAAN,IAAM,EAAE,CAAC;IAAjC,IAAA,iBAAoB,EAAjB,UAAgB,EAAhB,KAAK,mBAAG,QAAQ,KAAA;IACxB,OAAO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0pIHsKICAgIGNvbnNvbGUubG9nKG5hbWVNQSk7Cn0KCmZvciAobGV0IFtudW1iZXJBMyA9IC0xLCAuLi5yb2JvdEFJbmZvXSBvZiByb2JvdHMpIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gb2YgZ2V0Um9ib3RzKCkpIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gb2YgW3JvYm90QSwgcm9ib3RCXSkgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9 +{"version":3,"file":"sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.ts"],"names":[],"mappings":";AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAC/C,IAAI,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC9B,SAAS,SAAS;IACd,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,IAAI,WAAW,GAAG,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAC7C,SAAS,cAAc;IACnB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,KAAiC,UAAM,EAAN,iBAAM,EAAN,oBAAM,EAAN,IAAM,EAAE,CAAC;IAAjC,IAAA,iBAAoB,EAAjB,UAAgB,EAAhB,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lY29uZGFyeVNraWxsQSA9ICJzZWNvbmRhcnkiCl0gPSBbInNraWxsMSIsICJza2lsbDIiXV0gb2YgW211bHRpUm9ib3RBLCBtdWx0aVJvYm90Ql0pIHsKICAgIGNvbnNvbGUubG9nKG5hbWVNQSk7Cn0KCmZvciAobGV0IFtudW1iZXJBMyA9IC0xLCAuLi5yb2JvdEFJbmZvXSBvZiByb2JvdHMpIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gb2YgZ2V0Um9ib3RzKCkpIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKGxldCBbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gb2YgW3JvYm90QSwgcm9ib3RCXSkgewogICAgY29uc29sZS5sb2cobnVtYmVyQTMpOwp9 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.sourcemap.txt index 55d72601e0fb8..9c84bba2d93cf 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.t emittedFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = [1, "mower", "mowing"]; 1 > 2 >^^^^ @@ -40,18 +41,18 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 10> "mowing" 11> ] 12> ; -1 >Emitted(1, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(7, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(7, 21) + SourceIndex(0) -5 >Emitted(1, 15) Source(7, 22) + SourceIndex(0) -6 >Emitted(1, 16) Source(7, 23) + SourceIndex(0) -7 >Emitted(1, 18) Source(7, 25) + SourceIndex(0) -8 >Emitted(1, 25) Source(7, 32) + SourceIndex(0) -9 >Emitted(1, 27) Source(7, 34) + SourceIndex(0) -10>Emitted(1, 35) Source(7, 42) + SourceIndex(0) -11>Emitted(1, 36) Source(7, 43) + SourceIndex(0) -12>Emitted(1, 37) Source(7, 44) + SourceIndex(0) +1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(7, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(7, 21) + SourceIndex(0) +5 >Emitted(2, 15) Source(7, 22) + SourceIndex(0) +6 >Emitted(2, 16) Source(7, 23) + SourceIndex(0) +7 >Emitted(2, 18) Source(7, 25) + SourceIndex(0) +8 >Emitted(2, 25) Source(7, 32) + SourceIndex(0) +9 >Emitted(2, 27) Source(7, 34) + SourceIndex(0) +10>Emitted(2, 35) Source(7, 42) + SourceIndex(0) +11>Emitted(2, 36) Source(7, 43) + SourceIndex(0) +12>Emitted(2, 37) Source(7, 44) + SourceIndex(0) --- >>>var robotB = [2, "trimmer", "trimming"]; 1-> @@ -79,18 +80,18 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 10> "trimming" 11> ] 12> ; -1->Emitted(2, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(8, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(8, 21) + SourceIndex(0) -5 >Emitted(2, 15) Source(8, 22) + SourceIndex(0) -6 >Emitted(2, 16) Source(8, 23) + SourceIndex(0) -7 >Emitted(2, 18) Source(8, 25) + SourceIndex(0) -8 >Emitted(2, 27) Source(8, 34) + SourceIndex(0) -9 >Emitted(2, 29) Source(8, 36) + SourceIndex(0) -10>Emitted(2, 39) Source(8, 46) + SourceIndex(0) -11>Emitted(2, 40) Source(8, 47) + SourceIndex(0) -12>Emitted(2, 41) Source(8, 48) + SourceIndex(0) +1->Emitted(3, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(8, 21) + SourceIndex(0) +5 >Emitted(3, 15) Source(8, 22) + SourceIndex(0) +6 >Emitted(3, 16) Source(8, 23) + SourceIndex(0) +7 >Emitted(3, 18) Source(8, 25) + SourceIndex(0) +8 >Emitted(3, 27) Source(8, 34) + SourceIndex(0) +9 >Emitted(3, 29) Source(8, 36) + SourceIndex(0) +10>Emitted(3, 39) Source(8, 46) + SourceIndex(0) +11>Emitted(3, 40) Source(8, 47) + SourceIndex(0) +12>Emitted(3, 41) Source(8, 48) + SourceIndex(0) --- >>>var robots = [robotA, robotB]; 1 > @@ -114,16 +115,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 8 > robotB 9 > ] 10> ; -1 >Emitted(3, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(9, 5) + SourceIndex(0) -3 >Emitted(3, 11) Source(9, 11) + SourceIndex(0) -4 >Emitted(3, 14) Source(9, 14) + SourceIndex(0) -5 >Emitted(3, 15) Source(9, 15) + SourceIndex(0) -6 >Emitted(3, 21) Source(9, 21) + SourceIndex(0) -7 >Emitted(3, 23) Source(9, 23) + SourceIndex(0) -8 >Emitted(3, 29) Source(9, 29) + SourceIndex(0) -9 >Emitted(3, 30) Source(9, 30) + SourceIndex(0) -10>Emitted(3, 31) Source(9, 31) + SourceIndex(0) +1 >Emitted(4, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(9, 5) + SourceIndex(0) +3 >Emitted(4, 11) Source(9, 11) + SourceIndex(0) +4 >Emitted(4, 14) Source(9, 14) + SourceIndex(0) +5 >Emitted(4, 15) Source(9, 15) + SourceIndex(0) +6 >Emitted(4, 21) Source(9, 21) + SourceIndex(0) +7 >Emitted(4, 23) Source(9, 23) + SourceIndex(0) +8 >Emitted(4, 29) Source(9, 29) + SourceIndex(0) +9 >Emitted(4, 30) Source(9, 30) + SourceIndex(0) +10>Emitted(4, 31) Source(9, 31) + SourceIndex(0) --- >>>function getRobots() { 1 > @@ -134,9 +135,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues > 2 >function 3 > getRobots -1 >Emitted(4, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(4, 10) Source(10, 10) + SourceIndex(0) -3 >Emitted(4, 19) Source(10, 19) + SourceIndex(0) +1 >Emitted(5, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(5, 10) Source(10, 10) + SourceIndex(0) +3 >Emitted(5, 19) Source(10, 19) + SourceIndex(0) --- >>> return robots; 1->^^^^ @@ -148,10 +149,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 2 > return 3 > robots 4 > ; -1->Emitted(5, 5) Source(11, 5) + SourceIndex(0) -2 >Emitted(5, 12) Source(11, 12) + SourceIndex(0) -3 >Emitted(5, 18) Source(11, 18) + SourceIndex(0) -4 >Emitted(5, 19) Source(11, 19) + SourceIndex(0) +1->Emitted(6, 5) Source(11, 5) + SourceIndex(0) +2 >Emitted(6, 12) Source(11, 12) + SourceIndex(0) +3 >Emitted(6, 18) Source(11, 18) + SourceIndex(0) +4 >Emitted(6, 19) Source(11, 19) + SourceIndex(0) --- >>>} 1 > @@ -160,8 +161,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(6, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(12, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(12, 2) + SourceIndex(0) --- >>>var multiRobotA = ["mower", ["mowing", ""]]; 1-> @@ -195,20 +196,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 12> ] 13> ] 14> ; -1->Emitted(7, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(14, 5) + SourceIndex(0) -3 >Emitted(7, 16) Source(14, 16) + SourceIndex(0) -4 >Emitted(7, 19) Source(14, 38) + SourceIndex(0) -5 >Emitted(7, 20) Source(14, 39) + SourceIndex(0) -6 >Emitted(7, 27) Source(14, 46) + SourceIndex(0) -7 >Emitted(7, 29) Source(14, 48) + SourceIndex(0) -8 >Emitted(7, 30) Source(14, 49) + SourceIndex(0) -9 >Emitted(7, 38) Source(14, 57) + SourceIndex(0) -10>Emitted(7, 40) Source(14, 59) + SourceIndex(0) -11>Emitted(7, 42) Source(14, 61) + SourceIndex(0) -12>Emitted(7, 43) Source(14, 62) + SourceIndex(0) -13>Emitted(7, 44) Source(14, 63) + SourceIndex(0) -14>Emitted(7, 45) Source(14, 64) + SourceIndex(0) +1->Emitted(8, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(14, 5) + SourceIndex(0) +3 >Emitted(8, 16) Source(14, 16) + SourceIndex(0) +4 >Emitted(8, 19) Source(14, 38) + SourceIndex(0) +5 >Emitted(8, 20) Source(14, 39) + SourceIndex(0) +6 >Emitted(8, 27) Source(14, 46) + SourceIndex(0) +7 >Emitted(8, 29) Source(14, 48) + SourceIndex(0) +8 >Emitted(8, 30) Source(14, 49) + SourceIndex(0) +9 >Emitted(8, 38) Source(14, 57) + SourceIndex(0) +10>Emitted(8, 40) Source(14, 59) + SourceIndex(0) +11>Emitted(8, 42) Source(14, 61) + SourceIndex(0) +12>Emitted(8, 43) Source(14, 62) + SourceIndex(0) +13>Emitted(8, 44) Source(14, 63) + SourceIndex(0) +14>Emitted(8, 45) Source(14, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -240,20 +241,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 12> ] 13> ] 14> ; -1->Emitted(8, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(8, 5) Source(15, 5) + SourceIndex(0) -3 >Emitted(8, 16) Source(15, 16) + SourceIndex(0) -4 >Emitted(8, 19) Source(15, 38) + SourceIndex(0) -5 >Emitted(8, 20) Source(15, 39) + SourceIndex(0) -6 >Emitted(8, 29) Source(15, 48) + SourceIndex(0) -7 >Emitted(8, 31) Source(15, 50) + SourceIndex(0) -8 >Emitted(8, 32) Source(15, 51) + SourceIndex(0) -9 >Emitted(8, 42) Source(15, 61) + SourceIndex(0) -10>Emitted(8, 44) Source(15, 63) + SourceIndex(0) -11>Emitted(8, 52) Source(15, 71) + SourceIndex(0) -12>Emitted(8, 53) Source(15, 72) + SourceIndex(0) -13>Emitted(8, 54) Source(15, 73) + SourceIndex(0) -14>Emitted(8, 55) Source(15, 74) + SourceIndex(0) +1->Emitted(9, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(9, 5) Source(15, 5) + SourceIndex(0) +3 >Emitted(9, 16) Source(15, 16) + SourceIndex(0) +4 >Emitted(9, 19) Source(15, 38) + SourceIndex(0) +5 >Emitted(9, 20) Source(15, 39) + SourceIndex(0) +6 >Emitted(9, 29) Source(15, 48) + SourceIndex(0) +7 >Emitted(9, 31) Source(15, 50) + SourceIndex(0) +8 >Emitted(9, 32) Source(15, 51) + SourceIndex(0) +9 >Emitted(9, 42) Source(15, 61) + SourceIndex(0) +10>Emitted(9, 44) Source(15, 63) + SourceIndex(0) +11>Emitted(9, 52) Source(15, 71) + SourceIndex(0) +12>Emitted(9, 53) Source(15, 72) + SourceIndex(0) +13>Emitted(9, 54) Source(15, 73) + SourceIndex(0) +14>Emitted(9, 55) Source(15, 74) + SourceIndex(0) --- >>>var multiRobots = [multiRobotA, multiRobotB]; 1 > @@ -277,16 +278,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 8 > multiRobotB 9 > ] 10> ; -1 >Emitted(9, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(9, 5) Source(16, 5) + SourceIndex(0) -3 >Emitted(9, 16) Source(16, 16) + SourceIndex(0) -4 >Emitted(9, 19) Source(16, 19) + SourceIndex(0) -5 >Emitted(9, 20) Source(16, 20) + SourceIndex(0) -6 >Emitted(9, 31) Source(16, 31) + SourceIndex(0) -7 >Emitted(9, 33) Source(16, 33) + SourceIndex(0) -8 >Emitted(9, 44) Source(16, 44) + SourceIndex(0) -9 >Emitted(9, 45) Source(16, 45) + SourceIndex(0) -10>Emitted(9, 46) Source(16, 46) + SourceIndex(0) +1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(10, 5) Source(16, 5) + SourceIndex(0) +3 >Emitted(10, 16) Source(16, 16) + SourceIndex(0) +4 >Emitted(10, 19) Source(16, 19) + SourceIndex(0) +5 >Emitted(10, 20) Source(16, 20) + SourceIndex(0) +6 >Emitted(10, 31) Source(16, 31) + SourceIndex(0) +7 >Emitted(10, 33) Source(16, 33) + SourceIndex(0) +8 >Emitted(10, 44) Source(16, 44) + SourceIndex(0) +9 >Emitted(10, 45) Source(16, 45) + SourceIndex(0) +10>Emitted(10, 46) Source(16, 46) + SourceIndex(0) --- >>>function getMultiRobots() { 1 > @@ -297,9 +298,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues > 2 >function 3 > getMultiRobots -1 >Emitted(10, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(10, 10) Source(17, 10) + SourceIndex(0) -3 >Emitted(10, 24) Source(17, 24) + SourceIndex(0) +1 >Emitted(11, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(11, 10) Source(17, 10) + SourceIndex(0) +3 >Emitted(11, 24) Source(17, 24) + SourceIndex(0) --- >>> return multiRobots; 1->^^^^ @@ -311,10 +312,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 2 > return 3 > multiRobots 4 > ; -1->Emitted(11, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(11, 12) Source(18, 12) + SourceIndex(0) -3 >Emitted(11, 23) Source(18, 23) + SourceIndex(0) -4 >Emitted(11, 24) Source(18, 24) + SourceIndex(0) +1->Emitted(12, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(12, 12) Source(18, 12) + SourceIndex(0) +3 >Emitted(12, 23) Source(18, 23) + SourceIndex(0) +4 >Emitted(12, 24) Source(18, 24) + SourceIndex(0) --- >>>} 1 > @@ -323,8 +324,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(12, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(12, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(13, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(13, 2) Source(19, 2) + SourceIndex(0) --- >>>for (var _i = 0, robots_1 = robots; _i < robots_1.length; _i++) { 1-> @@ -352,17 +353,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > robots 10> ) 11> { -1->Emitted(13, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(13, 6) Source(21, 34) + SourceIndex(0) -3 >Emitted(13, 16) Source(21, 40) + SourceIndex(0) -4 >Emitted(13, 18) Source(21, 34) + SourceIndex(0) -5 >Emitted(13, 35) Source(21, 40) + SourceIndex(0) -6 >Emitted(13, 37) Source(21, 34) + SourceIndex(0) -7 >Emitted(13, 57) Source(21, 40) + SourceIndex(0) -8 >Emitted(13, 59) Source(21, 34) + SourceIndex(0) -9 >Emitted(13, 63) Source(21, 40) + SourceIndex(0) -10>Emitted(13, 65) Source(21, 42) + SourceIndex(0) -11>Emitted(13, 66) Source(21, 43) + SourceIndex(0) +1->Emitted(14, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(14, 6) Source(21, 34) + SourceIndex(0) +3 >Emitted(14, 16) Source(21, 40) + SourceIndex(0) +4 >Emitted(14, 18) Source(21, 34) + SourceIndex(0) +5 >Emitted(14, 35) Source(21, 40) + SourceIndex(0) +6 >Emitted(14, 37) Source(21, 34) + SourceIndex(0) +7 >Emitted(14, 57) Source(21, 40) + SourceIndex(0) +8 >Emitted(14, 59) Source(21, 34) + SourceIndex(0) +9 >Emitted(14, 63) Source(21, 40) + SourceIndex(0) +10>Emitted(14, 65) Source(21, 42) + SourceIndex(0) +11>Emitted(14, 66) Source(21, 43) + SourceIndex(0) --- >>> var _a = robots_1[_i], _b = _a[1], nameA = _b === void 0 ? "noName" : _b; 1->^^^^ @@ -385,16 +386,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 8 > = 9 > "noName" 10> -1->Emitted(14, 5) Source(21, 10) + SourceIndex(0) -2 >Emitted(14, 9) Source(21, 10) + SourceIndex(0) -3 >Emitted(14, 26) Source(21, 30) + SourceIndex(0) -4 >Emitted(14, 28) Source(21, 13) + SourceIndex(0) -5 >Emitted(14, 38) Source(21, 29) + SourceIndex(0) -6 >Emitted(14, 40) Source(21, 13) + SourceIndex(0) -7 >Emitted(14, 45) Source(21, 18) + SourceIndex(0) -8 >Emitted(14, 64) Source(21, 21) + SourceIndex(0) -9 >Emitted(14, 72) Source(21, 29) + SourceIndex(0) -10>Emitted(14, 77) Source(21, 29) + SourceIndex(0) +1->Emitted(15, 5) Source(21, 10) + SourceIndex(0) +2 >Emitted(15, 9) Source(21, 10) + SourceIndex(0) +3 >Emitted(15, 26) Source(21, 30) + SourceIndex(0) +4 >Emitted(15, 28) Source(21, 13) + SourceIndex(0) +5 >Emitted(15, 38) Source(21, 29) + SourceIndex(0) +6 >Emitted(15, 40) Source(21, 13) + SourceIndex(0) +7 >Emitted(15, 45) Source(21, 18) + SourceIndex(0) +8 >Emitted(15, 64) Source(21, 21) + SourceIndex(0) +9 >Emitted(15, 72) Source(21, 29) + SourceIndex(0) +10>Emitted(15, 77) Source(21, 29) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -414,14 +415,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA 7 > ) 8 > ; -1 >Emitted(15, 5) Source(22, 5) + SourceIndex(0) -2 >Emitted(15, 12) Source(22, 12) + SourceIndex(0) -3 >Emitted(15, 13) Source(22, 13) + SourceIndex(0) -4 >Emitted(15, 16) Source(22, 16) + SourceIndex(0) -5 >Emitted(15, 17) Source(22, 17) + SourceIndex(0) -6 >Emitted(15, 22) Source(22, 22) + SourceIndex(0) -7 >Emitted(15, 23) Source(22, 23) + SourceIndex(0) -8 >Emitted(15, 24) Source(22, 24) + SourceIndex(0) +1 >Emitted(16, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(16, 12) Source(22, 12) + SourceIndex(0) +3 >Emitted(16, 13) Source(22, 13) + SourceIndex(0) +4 >Emitted(16, 16) Source(22, 16) + SourceIndex(0) +5 >Emitted(16, 17) Source(22, 17) + SourceIndex(0) +6 >Emitted(16, 22) Source(22, 22) + SourceIndex(0) +7 >Emitted(16, 23) Source(22, 23) + SourceIndex(0) +8 >Emitted(16, 24) Source(22, 24) + SourceIndex(0) --- >>>} 1 > @@ -430,8 +431,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(16, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(16, 2) Source(23, 2) + SourceIndex(0) +1 >Emitted(17, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(17, 2) Source(23, 2) + SourceIndex(0) --- >>>for (var _c = 0, _d = getRobots(); _c < _d.length; _c++) { 1-> @@ -462,19 +463,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getRobots() 12> ) 13> { -1->Emitted(17, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(17, 6) Source(24, 34) + SourceIndex(0) -3 >Emitted(17, 16) Source(24, 45) + SourceIndex(0) -4 >Emitted(17, 18) Source(24, 34) + SourceIndex(0) -5 >Emitted(17, 23) Source(24, 34) + SourceIndex(0) -6 >Emitted(17, 32) Source(24, 43) + SourceIndex(0) -7 >Emitted(17, 34) Source(24, 45) + SourceIndex(0) -8 >Emitted(17, 36) Source(24, 34) + SourceIndex(0) -9 >Emitted(17, 50) Source(24, 45) + SourceIndex(0) -10>Emitted(17, 52) Source(24, 34) + SourceIndex(0) -11>Emitted(17, 56) Source(24, 45) + SourceIndex(0) -12>Emitted(17, 58) Source(24, 47) + SourceIndex(0) -13>Emitted(17, 59) Source(24, 48) + SourceIndex(0) +1->Emitted(18, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(18, 6) Source(24, 34) + SourceIndex(0) +3 >Emitted(18, 16) Source(24, 45) + SourceIndex(0) +4 >Emitted(18, 18) Source(24, 34) + SourceIndex(0) +5 >Emitted(18, 23) Source(24, 34) + SourceIndex(0) +6 >Emitted(18, 32) Source(24, 43) + SourceIndex(0) +7 >Emitted(18, 34) Source(24, 45) + SourceIndex(0) +8 >Emitted(18, 36) Source(24, 34) + SourceIndex(0) +9 >Emitted(18, 50) Source(24, 45) + SourceIndex(0) +10>Emitted(18, 52) Source(24, 34) + SourceIndex(0) +11>Emitted(18, 56) Source(24, 45) + SourceIndex(0) +12>Emitted(18, 58) Source(24, 47) + SourceIndex(0) +13>Emitted(18, 59) Source(24, 48) + SourceIndex(0) --- >>> var _e = _d[_c], _f = _e[1], nameA = _f === void 0 ? "noName" : _f; 1->^^^^ @@ -497,16 +498,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 8 > = 9 > "noName" 10> -1->Emitted(18, 5) Source(24, 10) + SourceIndex(0) -2 >Emitted(18, 9) Source(24, 10) + SourceIndex(0) -3 >Emitted(18, 20) Source(24, 30) + SourceIndex(0) -4 >Emitted(18, 22) Source(24, 13) + SourceIndex(0) -5 >Emitted(18, 32) Source(24, 29) + SourceIndex(0) -6 >Emitted(18, 34) Source(24, 13) + SourceIndex(0) -7 >Emitted(18, 39) Source(24, 18) + SourceIndex(0) -8 >Emitted(18, 58) Source(24, 21) + SourceIndex(0) -9 >Emitted(18, 66) Source(24, 29) + SourceIndex(0) -10>Emitted(18, 71) Source(24, 29) + SourceIndex(0) +1->Emitted(19, 5) Source(24, 10) + SourceIndex(0) +2 >Emitted(19, 9) Source(24, 10) + SourceIndex(0) +3 >Emitted(19, 20) Source(24, 30) + SourceIndex(0) +4 >Emitted(19, 22) Source(24, 13) + SourceIndex(0) +5 >Emitted(19, 32) Source(24, 29) + SourceIndex(0) +6 >Emitted(19, 34) Source(24, 13) + SourceIndex(0) +7 >Emitted(19, 39) Source(24, 18) + SourceIndex(0) +8 >Emitted(19, 58) Source(24, 21) + SourceIndex(0) +9 >Emitted(19, 66) Source(24, 29) + SourceIndex(0) +10>Emitted(19, 71) Source(24, 29) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -526,14 +527,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA 7 > ) 8 > ; -1 >Emitted(19, 5) Source(25, 5) + SourceIndex(0) -2 >Emitted(19, 12) Source(25, 12) + SourceIndex(0) -3 >Emitted(19, 13) Source(25, 13) + SourceIndex(0) -4 >Emitted(19, 16) Source(25, 16) + SourceIndex(0) -5 >Emitted(19, 17) Source(25, 17) + SourceIndex(0) -6 >Emitted(19, 22) Source(25, 22) + SourceIndex(0) -7 >Emitted(19, 23) Source(25, 23) + SourceIndex(0) -8 >Emitted(19, 24) Source(25, 24) + SourceIndex(0) +1 >Emitted(20, 5) Source(25, 5) + SourceIndex(0) +2 >Emitted(20, 12) Source(25, 12) + SourceIndex(0) +3 >Emitted(20, 13) Source(25, 13) + SourceIndex(0) +4 >Emitted(20, 16) Source(25, 16) + SourceIndex(0) +5 >Emitted(20, 17) Source(25, 17) + SourceIndex(0) +6 >Emitted(20, 22) Source(25, 22) + SourceIndex(0) +7 >Emitted(20, 23) Source(25, 23) + SourceIndex(0) +8 >Emitted(20, 24) Source(25, 24) + SourceIndex(0) --- >>>} 1 > @@ -542,8 +543,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(20, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(20, 2) Source(26, 2) + SourceIndex(0) +1 >Emitted(21, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(21, 2) Source(26, 2) + SourceIndex(0) --- >>>for (var _g = 0, _h = [robotA, robotB]; _g < _h.length; _g++) { 1-> @@ -578,21 +579,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [robotA, robotB] 14> ) 15> { -1->Emitted(21, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(21, 6) Source(27, 34) + SourceIndex(0) -3 >Emitted(21, 16) Source(27, 50) + SourceIndex(0) -4 >Emitted(21, 18) Source(27, 34) + SourceIndex(0) -5 >Emitted(21, 24) Source(27, 35) + SourceIndex(0) -6 >Emitted(21, 30) Source(27, 41) + SourceIndex(0) -7 >Emitted(21, 32) Source(27, 43) + SourceIndex(0) -8 >Emitted(21, 38) Source(27, 49) + SourceIndex(0) -9 >Emitted(21, 39) Source(27, 50) + SourceIndex(0) -10>Emitted(21, 41) Source(27, 34) + SourceIndex(0) -11>Emitted(21, 55) Source(27, 50) + SourceIndex(0) -12>Emitted(21, 57) Source(27, 34) + SourceIndex(0) -13>Emitted(21, 61) Source(27, 50) + SourceIndex(0) -14>Emitted(21, 63) Source(27, 52) + SourceIndex(0) -15>Emitted(21, 64) Source(27, 53) + SourceIndex(0) +1->Emitted(22, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(22, 6) Source(27, 34) + SourceIndex(0) +3 >Emitted(22, 16) Source(27, 50) + SourceIndex(0) +4 >Emitted(22, 18) Source(27, 34) + SourceIndex(0) +5 >Emitted(22, 24) Source(27, 35) + SourceIndex(0) +6 >Emitted(22, 30) Source(27, 41) + SourceIndex(0) +7 >Emitted(22, 32) Source(27, 43) + SourceIndex(0) +8 >Emitted(22, 38) Source(27, 49) + SourceIndex(0) +9 >Emitted(22, 39) Source(27, 50) + SourceIndex(0) +10>Emitted(22, 41) Source(27, 34) + SourceIndex(0) +11>Emitted(22, 55) Source(27, 50) + SourceIndex(0) +12>Emitted(22, 57) Source(27, 34) + SourceIndex(0) +13>Emitted(22, 61) Source(27, 50) + SourceIndex(0) +14>Emitted(22, 63) Source(27, 52) + SourceIndex(0) +15>Emitted(22, 64) Source(27, 53) + SourceIndex(0) --- >>> var _j = _h[_g], _k = _j[1], nameA = _k === void 0 ? "noName" : _k; 1->^^^^ @@ -615,16 +616,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 8 > = 9 > "noName" 10> -1->Emitted(22, 5) Source(27, 10) + SourceIndex(0) -2 >Emitted(22, 9) Source(27, 10) + SourceIndex(0) -3 >Emitted(22, 20) Source(27, 30) + SourceIndex(0) -4 >Emitted(22, 22) Source(27, 13) + SourceIndex(0) -5 >Emitted(22, 32) Source(27, 29) + SourceIndex(0) -6 >Emitted(22, 34) Source(27, 13) + SourceIndex(0) -7 >Emitted(22, 39) Source(27, 18) + SourceIndex(0) -8 >Emitted(22, 58) Source(27, 21) + SourceIndex(0) -9 >Emitted(22, 66) Source(27, 29) + SourceIndex(0) -10>Emitted(22, 71) Source(27, 29) + SourceIndex(0) +1->Emitted(23, 5) Source(27, 10) + SourceIndex(0) +2 >Emitted(23, 9) Source(27, 10) + SourceIndex(0) +3 >Emitted(23, 20) Source(27, 30) + SourceIndex(0) +4 >Emitted(23, 22) Source(27, 13) + SourceIndex(0) +5 >Emitted(23, 32) Source(27, 29) + SourceIndex(0) +6 >Emitted(23, 34) Source(27, 13) + SourceIndex(0) +7 >Emitted(23, 39) Source(27, 18) + SourceIndex(0) +8 >Emitted(23, 58) Source(27, 21) + SourceIndex(0) +9 >Emitted(23, 66) Source(27, 29) + SourceIndex(0) +10>Emitted(23, 71) Source(27, 29) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -644,14 +645,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA 7 > ) 8 > ; -1 >Emitted(23, 5) Source(28, 5) + SourceIndex(0) -2 >Emitted(23, 12) Source(28, 12) + SourceIndex(0) -3 >Emitted(23, 13) Source(28, 13) + SourceIndex(0) -4 >Emitted(23, 16) Source(28, 16) + SourceIndex(0) -5 >Emitted(23, 17) Source(28, 17) + SourceIndex(0) -6 >Emitted(23, 22) Source(28, 22) + SourceIndex(0) -7 >Emitted(23, 23) Source(28, 23) + SourceIndex(0) -8 >Emitted(23, 24) Source(28, 24) + SourceIndex(0) +1 >Emitted(24, 5) Source(28, 5) + SourceIndex(0) +2 >Emitted(24, 12) Source(28, 12) + SourceIndex(0) +3 >Emitted(24, 13) Source(28, 13) + SourceIndex(0) +4 >Emitted(24, 16) Source(28, 16) + SourceIndex(0) +5 >Emitted(24, 17) Source(28, 17) + SourceIndex(0) +6 >Emitted(24, 22) Source(28, 22) + SourceIndex(0) +7 >Emitted(24, 23) Source(28, 23) + SourceIndex(0) +8 >Emitted(24, 24) Source(28, 24) + SourceIndex(0) --- >>>} 1 > @@ -660,8 +661,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(24, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(24, 2) Source(29, 2) + SourceIndex(0) +1 >Emitted(25, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(25, 2) Source(29, 2) + SourceIndex(0) --- >>>for (var _l = 0, multiRobots_1 = multiRobots; _l < multiRobots_1.length; _l++) { 1-> @@ -691,17 +692,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > multiRobots 10> ) 11> { -1->Emitted(25, 1) Source(30, 1) + SourceIndex(0) -2 >Emitted(25, 6) Source(33, 30) + SourceIndex(0) -3 >Emitted(25, 16) Source(33, 41) + SourceIndex(0) -4 >Emitted(25, 18) Source(33, 30) + SourceIndex(0) -5 >Emitted(25, 45) Source(33, 41) + SourceIndex(0) -6 >Emitted(25, 47) Source(33, 30) + SourceIndex(0) -7 >Emitted(25, 72) Source(33, 41) + SourceIndex(0) -8 >Emitted(25, 74) Source(33, 30) + SourceIndex(0) -9 >Emitted(25, 78) Source(33, 41) + SourceIndex(0) -10>Emitted(25, 80) Source(33, 43) + SourceIndex(0) -11>Emitted(25, 81) Source(33, 44) + SourceIndex(0) +1->Emitted(26, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(26, 6) Source(33, 30) + SourceIndex(0) +3 >Emitted(26, 16) Source(33, 41) + SourceIndex(0) +4 >Emitted(26, 18) Source(33, 30) + SourceIndex(0) +5 >Emitted(26, 45) Source(33, 41) + SourceIndex(0) +6 >Emitted(26, 47) Source(33, 30) + SourceIndex(0) +7 >Emitted(26, 72) Source(33, 41) + SourceIndex(0) +8 >Emitted(26, 74) Source(33, 30) + SourceIndex(0) +9 >Emitted(26, 78) Source(33, 41) + SourceIndex(0) +10>Emitted(26, 80) Source(33, 43) + SourceIndex(0) +11>Emitted(26, 81) Source(33, 44) + SourceIndex(0) --- >>> var _m = multiRobots_1[_l], _o = _m[1], _p = _o === void 0 ? ["skill1", "skill2"] : _o, _q = _p[0], primarySkillA = _q === void 0 ? "primary" : _q, _r = _p[1], secondarySkillA = _r === void 0 ? "secondary" : _r; 1->^^^^ @@ -768,33 +769,33 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 25> = 26> "secondary" 27> -1->Emitted(26, 5) Source(30, 10) + SourceIndex(0) -2 >Emitted(26, 9) Source(30, 10) + SourceIndex(0) -3 >Emitted(26, 31) Source(33, 26) + SourceIndex(0) -4 >Emitted(26, 33) Source(30, 13) + SourceIndex(0) -5 >Emitted(26, 43) Source(33, 25) + SourceIndex(0) -6 >Emitted(26, 45) Source(30, 13) + SourceIndex(0) -7 >Emitted(26, 66) Source(33, 5) + SourceIndex(0) -8 >Emitted(26, 67) Source(33, 6) + SourceIndex(0) -9 >Emitted(26, 75) Source(33, 14) + SourceIndex(0) -10>Emitted(26, 77) Source(33, 16) + SourceIndex(0) -11>Emitted(26, 85) Source(33, 24) + SourceIndex(0) -12>Emitted(26, 86) Source(33, 25) + SourceIndex(0) -13>Emitted(26, 91) Source(33, 25) + SourceIndex(0) -14>Emitted(26, 93) Source(31, 5) + SourceIndex(0) -15>Emitted(26, 103) Source(31, 30) + SourceIndex(0) -16>Emitted(26, 105) Source(31, 5) + SourceIndex(0) -17>Emitted(26, 118) Source(31, 18) + SourceIndex(0) -18>Emitted(26, 137) Source(31, 21) + SourceIndex(0) -19>Emitted(26, 146) Source(31, 30) + SourceIndex(0) -20>Emitted(26, 151) Source(31, 30) + SourceIndex(0) -21>Emitted(26, 153) Source(32, 5) + SourceIndex(0) -22>Emitted(26, 163) Source(32, 34) + SourceIndex(0) -23>Emitted(26, 165) Source(32, 5) + SourceIndex(0) -24>Emitted(26, 180) Source(32, 20) + SourceIndex(0) -25>Emitted(26, 199) Source(32, 23) + SourceIndex(0) -26>Emitted(26, 210) Source(32, 34) + SourceIndex(0) -27>Emitted(26, 215) Source(32, 34) + SourceIndex(0) +1->Emitted(27, 5) Source(30, 10) + SourceIndex(0) +2 >Emitted(27, 9) Source(30, 10) + SourceIndex(0) +3 >Emitted(27, 31) Source(33, 26) + SourceIndex(0) +4 >Emitted(27, 33) Source(30, 13) + SourceIndex(0) +5 >Emitted(27, 43) Source(33, 25) + SourceIndex(0) +6 >Emitted(27, 45) Source(30, 13) + SourceIndex(0) +7 >Emitted(27, 66) Source(33, 5) + SourceIndex(0) +8 >Emitted(27, 67) Source(33, 6) + SourceIndex(0) +9 >Emitted(27, 75) Source(33, 14) + SourceIndex(0) +10>Emitted(27, 77) Source(33, 16) + SourceIndex(0) +11>Emitted(27, 85) Source(33, 24) + SourceIndex(0) +12>Emitted(27, 86) Source(33, 25) + SourceIndex(0) +13>Emitted(27, 91) Source(33, 25) + SourceIndex(0) +14>Emitted(27, 93) Source(31, 5) + SourceIndex(0) +15>Emitted(27, 103) Source(31, 30) + SourceIndex(0) +16>Emitted(27, 105) Source(31, 5) + SourceIndex(0) +17>Emitted(27, 118) Source(31, 18) + SourceIndex(0) +18>Emitted(27, 137) Source(31, 21) + SourceIndex(0) +19>Emitted(27, 146) Source(31, 30) + SourceIndex(0) +20>Emitted(27, 151) Source(31, 30) + SourceIndex(0) +21>Emitted(27, 153) Source(32, 5) + SourceIndex(0) +22>Emitted(27, 163) Source(32, 34) + SourceIndex(0) +23>Emitted(27, 165) Source(32, 5) + SourceIndex(0) +24>Emitted(27, 180) Source(32, 20) + SourceIndex(0) +25>Emitted(27, 199) Source(32, 23) + SourceIndex(0) +26>Emitted(27, 210) Source(32, 34) + SourceIndex(0) +27>Emitted(27, 215) Source(32, 34) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -815,14 +816,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(27, 5) Source(34, 5) + SourceIndex(0) -2 >Emitted(27, 12) Source(34, 12) + SourceIndex(0) -3 >Emitted(27, 13) Source(34, 13) + SourceIndex(0) -4 >Emitted(27, 16) Source(34, 16) + SourceIndex(0) -5 >Emitted(27, 17) Source(34, 17) + SourceIndex(0) -6 >Emitted(27, 30) Source(34, 30) + SourceIndex(0) -7 >Emitted(27, 31) Source(34, 31) + SourceIndex(0) -8 >Emitted(27, 32) Source(34, 32) + SourceIndex(0) +1 >Emitted(28, 5) Source(34, 5) + SourceIndex(0) +2 >Emitted(28, 12) Source(34, 12) + SourceIndex(0) +3 >Emitted(28, 13) Source(34, 13) + SourceIndex(0) +4 >Emitted(28, 16) Source(34, 16) + SourceIndex(0) +5 >Emitted(28, 17) Source(34, 17) + SourceIndex(0) +6 >Emitted(28, 30) Source(34, 30) + SourceIndex(0) +7 >Emitted(28, 31) Source(34, 31) + SourceIndex(0) +8 >Emitted(28, 32) Source(34, 32) + SourceIndex(0) --- >>>} 1 > @@ -831,8 +832,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(28, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(28, 2) Source(35, 2) + SourceIndex(0) +1 >Emitted(29, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(29, 2) Source(35, 2) + SourceIndex(0) --- >>>for (var _s = 0, _t = getMultiRobots(); _s < _t.length; _s++) { 1-> @@ -866,19 +867,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getMultiRobots() 12> ) 13> { -1->Emitted(29, 1) Source(36, 1) + SourceIndex(0) -2 >Emitted(29, 6) Source(39, 30) + SourceIndex(0) -3 >Emitted(29, 16) Source(39, 46) + SourceIndex(0) -4 >Emitted(29, 18) Source(39, 30) + SourceIndex(0) -5 >Emitted(29, 23) Source(39, 30) + SourceIndex(0) -6 >Emitted(29, 37) Source(39, 44) + SourceIndex(0) -7 >Emitted(29, 39) Source(39, 46) + SourceIndex(0) -8 >Emitted(29, 41) Source(39, 30) + SourceIndex(0) -9 >Emitted(29, 55) Source(39, 46) + SourceIndex(0) -10>Emitted(29, 57) Source(39, 30) + SourceIndex(0) -11>Emitted(29, 61) Source(39, 46) + SourceIndex(0) -12>Emitted(29, 63) Source(39, 48) + SourceIndex(0) -13>Emitted(29, 64) Source(39, 49) + SourceIndex(0) +1->Emitted(30, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(30, 6) Source(39, 30) + SourceIndex(0) +3 >Emitted(30, 16) Source(39, 46) + SourceIndex(0) +4 >Emitted(30, 18) Source(39, 30) + SourceIndex(0) +5 >Emitted(30, 23) Source(39, 30) + SourceIndex(0) +6 >Emitted(30, 37) Source(39, 44) + SourceIndex(0) +7 >Emitted(30, 39) Source(39, 46) + SourceIndex(0) +8 >Emitted(30, 41) Source(39, 30) + SourceIndex(0) +9 >Emitted(30, 55) Source(39, 46) + SourceIndex(0) +10>Emitted(30, 57) Source(39, 30) + SourceIndex(0) +11>Emitted(30, 61) Source(39, 46) + SourceIndex(0) +12>Emitted(30, 63) Source(39, 48) + SourceIndex(0) +13>Emitted(30, 64) Source(39, 49) + SourceIndex(0) --- >>> var _u = _t[_s], _v = _u[1], _w = _v === void 0 ? ["skill1", "skill2"] : _v, _x = _w[0], primarySkillA = _x === void 0 ? "primary" : _x, _y = _w[1], secondarySkillA = _y === void 0 ? "secondary" : _y; 1->^^^^ @@ -945,33 +946,33 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 25> = 26> "secondary" 27> -1->Emitted(30, 5) Source(36, 10) + SourceIndex(0) -2 >Emitted(30, 9) Source(36, 10) + SourceIndex(0) -3 >Emitted(30, 20) Source(39, 26) + SourceIndex(0) -4 >Emitted(30, 22) Source(36, 13) + SourceIndex(0) -5 >Emitted(30, 32) Source(39, 25) + SourceIndex(0) -6 >Emitted(30, 34) Source(36, 13) + SourceIndex(0) -7 >Emitted(30, 55) Source(39, 5) + SourceIndex(0) -8 >Emitted(30, 56) Source(39, 6) + SourceIndex(0) -9 >Emitted(30, 64) Source(39, 14) + SourceIndex(0) -10>Emitted(30, 66) Source(39, 16) + SourceIndex(0) -11>Emitted(30, 74) Source(39, 24) + SourceIndex(0) -12>Emitted(30, 75) Source(39, 25) + SourceIndex(0) -13>Emitted(30, 80) Source(39, 25) + SourceIndex(0) -14>Emitted(30, 82) Source(37, 5) + SourceIndex(0) -15>Emitted(30, 92) Source(37, 30) + SourceIndex(0) -16>Emitted(30, 94) Source(37, 5) + SourceIndex(0) -17>Emitted(30, 107) Source(37, 18) + SourceIndex(0) -18>Emitted(30, 126) Source(37, 21) + SourceIndex(0) -19>Emitted(30, 135) Source(37, 30) + SourceIndex(0) -20>Emitted(30, 140) Source(37, 30) + SourceIndex(0) -21>Emitted(30, 142) Source(38, 5) + SourceIndex(0) -22>Emitted(30, 152) Source(38, 34) + SourceIndex(0) -23>Emitted(30, 154) Source(38, 5) + SourceIndex(0) -24>Emitted(30, 169) Source(38, 20) + SourceIndex(0) -25>Emitted(30, 188) Source(38, 23) + SourceIndex(0) -26>Emitted(30, 199) Source(38, 34) + SourceIndex(0) -27>Emitted(30, 204) Source(38, 34) + SourceIndex(0) +1->Emitted(31, 5) Source(36, 10) + SourceIndex(0) +2 >Emitted(31, 9) Source(36, 10) + SourceIndex(0) +3 >Emitted(31, 20) Source(39, 26) + SourceIndex(0) +4 >Emitted(31, 22) Source(36, 13) + SourceIndex(0) +5 >Emitted(31, 32) Source(39, 25) + SourceIndex(0) +6 >Emitted(31, 34) Source(36, 13) + SourceIndex(0) +7 >Emitted(31, 55) Source(39, 5) + SourceIndex(0) +8 >Emitted(31, 56) Source(39, 6) + SourceIndex(0) +9 >Emitted(31, 64) Source(39, 14) + SourceIndex(0) +10>Emitted(31, 66) Source(39, 16) + SourceIndex(0) +11>Emitted(31, 74) Source(39, 24) + SourceIndex(0) +12>Emitted(31, 75) Source(39, 25) + SourceIndex(0) +13>Emitted(31, 80) Source(39, 25) + SourceIndex(0) +14>Emitted(31, 82) Source(37, 5) + SourceIndex(0) +15>Emitted(31, 92) Source(37, 30) + SourceIndex(0) +16>Emitted(31, 94) Source(37, 5) + SourceIndex(0) +17>Emitted(31, 107) Source(37, 18) + SourceIndex(0) +18>Emitted(31, 126) Source(37, 21) + SourceIndex(0) +19>Emitted(31, 135) Source(37, 30) + SourceIndex(0) +20>Emitted(31, 140) Source(37, 30) + SourceIndex(0) +21>Emitted(31, 142) Source(38, 5) + SourceIndex(0) +22>Emitted(31, 152) Source(38, 34) + SourceIndex(0) +23>Emitted(31, 154) Source(38, 5) + SourceIndex(0) +24>Emitted(31, 169) Source(38, 20) + SourceIndex(0) +25>Emitted(31, 188) Source(38, 23) + SourceIndex(0) +26>Emitted(31, 199) Source(38, 34) + SourceIndex(0) +27>Emitted(31, 204) Source(38, 34) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -992,14 +993,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(31, 5) Source(40, 5) + SourceIndex(0) -2 >Emitted(31, 12) Source(40, 12) + SourceIndex(0) -3 >Emitted(31, 13) Source(40, 13) + SourceIndex(0) -4 >Emitted(31, 16) Source(40, 16) + SourceIndex(0) -5 >Emitted(31, 17) Source(40, 17) + SourceIndex(0) -6 >Emitted(31, 30) Source(40, 30) + SourceIndex(0) -7 >Emitted(31, 31) Source(40, 31) + SourceIndex(0) -8 >Emitted(31, 32) Source(40, 32) + SourceIndex(0) +1 >Emitted(32, 5) Source(40, 5) + SourceIndex(0) +2 >Emitted(32, 12) Source(40, 12) + SourceIndex(0) +3 >Emitted(32, 13) Source(40, 13) + SourceIndex(0) +4 >Emitted(32, 16) Source(40, 16) + SourceIndex(0) +5 >Emitted(32, 17) Source(40, 17) + SourceIndex(0) +6 >Emitted(32, 30) Source(40, 30) + SourceIndex(0) +7 >Emitted(32, 31) Source(40, 31) + SourceIndex(0) +8 >Emitted(32, 32) Source(40, 32) + SourceIndex(0) --- >>>} 1 > @@ -1008,8 +1009,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(32, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(32, 2) Source(41, 2) + SourceIndex(0) +1 >Emitted(33, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(33, 2) Source(41, 2) + SourceIndex(0) --- >>>for (var _z = 0, _0 = [multiRobotA, multiRobotB]; _z < _0.length; _z++) { 1-> @@ -1047,21 +1048,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(33, 1) Source(42, 1) + SourceIndex(0) -2 >Emitted(33, 6) Source(45, 30) + SourceIndex(0) -3 >Emitted(33, 16) Source(45, 56) + SourceIndex(0) -4 >Emitted(33, 18) Source(45, 30) + SourceIndex(0) -5 >Emitted(33, 24) Source(45, 31) + SourceIndex(0) -6 >Emitted(33, 35) Source(45, 42) + SourceIndex(0) -7 >Emitted(33, 37) Source(45, 44) + SourceIndex(0) -8 >Emitted(33, 48) Source(45, 55) + SourceIndex(0) -9 >Emitted(33, 49) Source(45, 56) + SourceIndex(0) -10>Emitted(33, 51) Source(45, 30) + SourceIndex(0) -11>Emitted(33, 65) Source(45, 56) + SourceIndex(0) -12>Emitted(33, 67) Source(45, 30) + SourceIndex(0) -13>Emitted(33, 71) Source(45, 56) + SourceIndex(0) -14>Emitted(33, 73) Source(45, 58) + SourceIndex(0) -15>Emitted(33, 74) Source(45, 59) + SourceIndex(0) +1->Emitted(34, 1) Source(42, 1) + SourceIndex(0) +2 >Emitted(34, 6) Source(45, 30) + SourceIndex(0) +3 >Emitted(34, 16) Source(45, 56) + SourceIndex(0) +4 >Emitted(34, 18) Source(45, 30) + SourceIndex(0) +5 >Emitted(34, 24) Source(45, 31) + SourceIndex(0) +6 >Emitted(34, 35) Source(45, 42) + SourceIndex(0) +7 >Emitted(34, 37) Source(45, 44) + SourceIndex(0) +8 >Emitted(34, 48) Source(45, 55) + SourceIndex(0) +9 >Emitted(34, 49) Source(45, 56) + SourceIndex(0) +10>Emitted(34, 51) Source(45, 30) + SourceIndex(0) +11>Emitted(34, 65) Source(45, 56) + SourceIndex(0) +12>Emitted(34, 67) Source(45, 30) + SourceIndex(0) +13>Emitted(34, 71) Source(45, 56) + SourceIndex(0) +14>Emitted(34, 73) Source(45, 58) + SourceIndex(0) +15>Emitted(34, 74) Source(45, 59) + SourceIndex(0) --- >>> var _1 = _0[_z], _2 = _1[1], _3 = _2 === void 0 ? ["skill1", "skill2"] : _2, _4 = _3[0], primarySkillA = _4 === void 0 ? "primary" : _4, _5 = _3[1], secondarySkillA = _5 === void 0 ? "secondary" : _5; 1->^^^^ @@ -1128,33 +1129,33 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 25> = 26> "secondary" 27> -1->Emitted(34, 5) Source(42, 10) + SourceIndex(0) -2 >Emitted(34, 9) Source(42, 10) + SourceIndex(0) -3 >Emitted(34, 20) Source(45, 26) + SourceIndex(0) -4 >Emitted(34, 22) Source(42, 13) + SourceIndex(0) -5 >Emitted(34, 32) Source(45, 25) + SourceIndex(0) -6 >Emitted(34, 34) Source(42, 13) + SourceIndex(0) -7 >Emitted(34, 55) Source(45, 5) + SourceIndex(0) -8 >Emitted(34, 56) Source(45, 6) + SourceIndex(0) -9 >Emitted(34, 64) Source(45, 14) + SourceIndex(0) -10>Emitted(34, 66) Source(45, 16) + SourceIndex(0) -11>Emitted(34, 74) Source(45, 24) + SourceIndex(0) -12>Emitted(34, 75) Source(45, 25) + SourceIndex(0) -13>Emitted(34, 80) Source(45, 25) + SourceIndex(0) -14>Emitted(34, 82) Source(43, 5) + SourceIndex(0) -15>Emitted(34, 92) Source(43, 30) + SourceIndex(0) -16>Emitted(34, 94) Source(43, 5) + SourceIndex(0) -17>Emitted(34, 107) Source(43, 18) + SourceIndex(0) -18>Emitted(34, 126) Source(43, 21) + SourceIndex(0) -19>Emitted(34, 135) Source(43, 30) + SourceIndex(0) -20>Emitted(34, 140) Source(43, 30) + SourceIndex(0) -21>Emitted(34, 142) Source(44, 5) + SourceIndex(0) -22>Emitted(34, 152) Source(44, 34) + SourceIndex(0) -23>Emitted(34, 154) Source(44, 5) + SourceIndex(0) -24>Emitted(34, 169) Source(44, 20) + SourceIndex(0) -25>Emitted(34, 188) Source(44, 23) + SourceIndex(0) -26>Emitted(34, 199) Source(44, 34) + SourceIndex(0) -27>Emitted(34, 204) Source(44, 34) + SourceIndex(0) +1->Emitted(35, 5) Source(42, 10) + SourceIndex(0) +2 >Emitted(35, 9) Source(42, 10) + SourceIndex(0) +3 >Emitted(35, 20) Source(45, 26) + SourceIndex(0) +4 >Emitted(35, 22) Source(42, 13) + SourceIndex(0) +5 >Emitted(35, 32) Source(45, 25) + SourceIndex(0) +6 >Emitted(35, 34) Source(42, 13) + SourceIndex(0) +7 >Emitted(35, 55) Source(45, 5) + SourceIndex(0) +8 >Emitted(35, 56) Source(45, 6) + SourceIndex(0) +9 >Emitted(35, 64) Source(45, 14) + SourceIndex(0) +10>Emitted(35, 66) Source(45, 16) + SourceIndex(0) +11>Emitted(35, 74) Source(45, 24) + SourceIndex(0) +12>Emitted(35, 75) Source(45, 25) + SourceIndex(0) +13>Emitted(35, 80) Source(45, 25) + SourceIndex(0) +14>Emitted(35, 82) Source(43, 5) + SourceIndex(0) +15>Emitted(35, 92) Source(43, 30) + SourceIndex(0) +16>Emitted(35, 94) Source(43, 5) + SourceIndex(0) +17>Emitted(35, 107) Source(43, 18) + SourceIndex(0) +18>Emitted(35, 126) Source(43, 21) + SourceIndex(0) +19>Emitted(35, 135) Source(43, 30) + SourceIndex(0) +20>Emitted(35, 140) Source(43, 30) + SourceIndex(0) +21>Emitted(35, 142) Source(44, 5) + SourceIndex(0) +22>Emitted(35, 152) Source(44, 34) + SourceIndex(0) +23>Emitted(35, 154) Source(44, 5) + SourceIndex(0) +24>Emitted(35, 169) Source(44, 20) + SourceIndex(0) +25>Emitted(35, 188) Source(44, 23) + SourceIndex(0) +26>Emitted(35, 199) Source(44, 34) + SourceIndex(0) +27>Emitted(35, 204) Source(44, 34) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -1175,14 +1176,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(35, 5) Source(46, 5) + SourceIndex(0) -2 >Emitted(35, 12) Source(46, 12) + SourceIndex(0) -3 >Emitted(35, 13) Source(46, 13) + SourceIndex(0) -4 >Emitted(35, 16) Source(46, 16) + SourceIndex(0) -5 >Emitted(35, 17) Source(46, 17) + SourceIndex(0) -6 >Emitted(35, 30) Source(46, 30) + SourceIndex(0) -7 >Emitted(35, 31) Source(46, 31) + SourceIndex(0) -8 >Emitted(35, 32) Source(46, 32) + SourceIndex(0) +1 >Emitted(36, 5) Source(46, 5) + SourceIndex(0) +2 >Emitted(36, 12) Source(46, 12) + SourceIndex(0) +3 >Emitted(36, 13) Source(46, 13) + SourceIndex(0) +4 >Emitted(36, 16) Source(46, 16) + SourceIndex(0) +5 >Emitted(36, 17) Source(46, 17) + SourceIndex(0) +6 >Emitted(36, 30) Source(46, 30) + SourceIndex(0) +7 >Emitted(36, 31) Source(46, 31) + SourceIndex(0) +8 >Emitted(36, 32) Source(46, 32) + SourceIndex(0) --- >>>} 1 > @@ -1191,8 +1192,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(36, 1) Source(47, 1) + SourceIndex(0) -2 >Emitted(36, 2) Source(47, 2) + SourceIndex(0) +1 >Emitted(37, 1) Source(47, 1) + SourceIndex(0) +2 >Emitted(37, 2) Source(47, 2) + SourceIndex(0) --- >>>for (var _6 = 0, robots_2 = robots; _6 < robots_2.length; _6++) { 1-> @@ -1219,17 +1220,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > robots 10> ) 11> { -1->Emitted(37, 1) Source(49, 1) + SourceIndex(0) -2 >Emitted(37, 6) Source(49, 28) + SourceIndex(0) -3 >Emitted(37, 16) Source(49, 34) + SourceIndex(0) -4 >Emitted(37, 18) Source(49, 28) + SourceIndex(0) -5 >Emitted(37, 35) Source(49, 34) + SourceIndex(0) -6 >Emitted(37, 37) Source(49, 28) + SourceIndex(0) -7 >Emitted(37, 57) Source(49, 34) + SourceIndex(0) -8 >Emitted(37, 59) Source(49, 28) + SourceIndex(0) -9 >Emitted(37, 63) Source(49, 34) + SourceIndex(0) -10>Emitted(37, 65) Source(49, 36) + SourceIndex(0) -11>Emitted(37, 66) Source(49, 37) + SourceIndex(0) +1->Emitted(38, 1) Source(49, 1) + SourceIndex(0) +2 >Emitted(38, 6) Source(49, 28) + SourceIndex(0) +3 >Emitted(38, 16) Source(49, 34) + SourceIndex(0) +4 >Emitted(38, 18) Source(49, 28) + SourceIndex(0) +5 >Emitted(38, 35) Source(49, 34) + SourceIndex(0) +6 >Emitted(38, 37) Source(49, 28) + SourceIndex(0) +7 >Emitted(38, 57) Source(49, 34) + SourceIndex(0) +8 >Emitted(38, 59) Source(49, 28) + SourceIndex(0) +9 >Emitted(38, 63) Source(49, 34) + SourceIndex(0) +10>Emitted(38, 65) Source(49, 36) + SourceIndex(0) +11>Emitted(38, 66) Source(49, 37) + SourceIndex(0) --- >>> var _7 = robots_2[_6][0], numberB = _7 === void 0 ? -1 : _7; 1 >^^^^ @@ -1250,15 +1251,15 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 7 > - 8 > 1 9 > -1 >Emitted(38, 5) Source(49, 11) + SourceIndex(0) -2 >Emitted(38, 9) Source(49, 11) + SourceIndex(0) -3 >Emitted(38, 29) Source(49, 23) + SourceIndex(0) -4 >Emitted(38, 31) Source(49, 11) + SourceIndex(0) -5 >Emitted(38, 38) Source(49, 18) + SourceIndex(0) -6 >Emitted(38, 57) Source(49, 21) + SourceIndex(0) -7 >Emitted(38, 58) Source(49, 22) + SourceIndex(0) -8 >Emitted(38, 59) Source(49, 23) + SourceIndex(0) -9 >Emitted(38, 64) Source(49, 23) + SourceIndex(0) +1 >Emitted(39, 5) Source(49, 11) + SourceIndex(0) +2 >Emitted(39, 9) Source(49, 11) + SourceIndex(0) +3 >Emitted(39, 29) Source(49, 23) + SourceIndex(0) +4 >Emitted(39, 31) Source(49, 11) + SourceIndex(0) +5 >Emitted(39, 38) Source(49, 18) + SourceIndex(0) +6 >Emitted(39, 57) Source(49, 21) + SourceIndex(0) +7 >Emitted(39, 58) Source(49, 22) + SourceIndex(0) +8 >Emitted(39, 59) Source(49, 23) + SourceIndex(0) +9 >Emitted(39, 64) Source(49, 23) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1278,14 +1279,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberB 7 > ) 8 > ; -1 >Emitted(39, 5) Source(50, 5) + SourceIndex(0) -2 >Emitted(39, 12) Source(50, 12) + SourceIndex(0) -3 >Emitted(39, 13) Source(50, 13) + SourceIndex(0) -4 >Emitted(39, 16) Source(50, 16) + SourceIndex(0) -5 >Emitted(39, 17) Source(50, 17) + SourceIndex(0) -6 >Emitted(39, 24) Source(50, 24) + SourceIndex(0) -7 >Emitted(39, 25) Source(50, 25) + SourceIndex(0) -8 >Emitted(39, 26) Source(50, 26) + SourceIndex(0) +1 >Emitted(40, 5) Source(50, 5) + SourceIndex(0) +2 >Emitted(40, 12) Source(50, 12) + SourceIndex(0) +3 >Emitted(40, 13) Source(50, 13) + SourceIndex(0) +4 >Emitted(40, 16) Source(50, 16) + SourceIndex(0) +5 >Emitted(40, 17) Source(50, 17) + SourceIndex(0) +6 >Emitted(40, 24) Source(50, 24) + SourceIndex(0) +7 >Emitted(40, 25) Source(50, 25) + SourceIndex(0) +8 >Emitted(40, 26) Source(50, 26) + SourceIndex(0) --- >>>} 1 > @@ -1294,8 +1295,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(40, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(40, 2) Source(51, 2) + SourceIndex(0) +1 >Emitted(41, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(41, 2) Source(51, 2) + SourceIndex(0) --- >>>for (var _8 = 0, _9 = getRobots(); _8 < _9.length; _8++) { 1-> @@ -1326,19 +1327,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getRobots() 12> ) 13> { -1->Emitted(41, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(41, 6) Source(52, 28) + SourceIndex(0) -3 >Emitted(41, 16) Source(52, 39) + SourceIndex(0) -4 >Emitted(41, 18) Source(52, 28) + SourceIndex(0) -5 >Emitted(41, 23) Source(52, 28) + SourceIndex(0) -6 >Emitted(41, 32) Source(52, 37) + SourceIndex(0) -7 >Emitted(41, 34) Source(52, 39) + SourceIndex(0) -8 >Emitted(41, 36) Source(52, 28) + SourceIndex(0) -9 >Emitted(41, 50) Source(52, 39) + SourceIndex(0) -10>Emitted(41, 52) Source(52, 28) + SourceIndex(0) -11>Emitted(41, 56) Source(52, 39) + SourceIndex(0) -12>Emitted(41, 58) Source(52, 41) + SourceIndex(0) -13>Emitted(41, 59) Source(52, 42) + SourceIndex(0) +1->Emitted(42, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(42, 6) Source(52, 28) + SourceIndex(0) +3 >Emitted(42, 16) Source(52, 39) + SourceIndex(0) +4 >Emitted(42, 18) Source(52, 28) + SourceIndex(0) +5 >Emitted(42, 23) Source(52, 28) + SourceIndex(0) +6 >Emitted(42, 32) Source(52, 37) + SourceIndex(0) +7 >Emitted(42, 34) Source(52, 39) + SourceIndex(0) +8 >Emitted(42, 36) Source(52, 28) + SourceIndex(0) +9 >Emitted(42, 50) Source(52, 39) + SourceIndex(0) +10>Emitted(42, 52) Source(52, 28) + SourceIndex(0) +11>Emitted(42, 56) Source(52, 39) + SourceIndex(0) +12>Emitted(42, 58) Source(52, 41) + SourceIndex(0) +13>Emitted(42, 59) Source(52, 42) + SourceIndex(0) --- >>> var _10 = _9[_8][0], numberB = _10 === void 0 ? -1 : _10; 1->^^^^ @@ -1359,15 +1360,15 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 7 > - 8 > 1 9 > -1->Emitted(42, 5) Source(52, 11) + SourceIndex(0) -2 >Emitted(42, 9) Source(52, 11) + SourceIndex(0) -3 >Emitted(42, 24) Source(52, 23) + SourceIndex(0) -4 >Emitted(42, 26) Source(52, 11) + SourceIndex(0) -5 >Emitted(42, 33) Source(52, 18) + SourceIndex(0) -6 >Emitted(42, 53) Source(52, 21) + SourceIndex(0) -7 >Emitted(42, 54) Source(52, 22) + SourceIndex(0) -8 >Emitted(42, 55) Source(52, 23) + SourceIndex(0) -9 >Emitted(42, 61) Source(52, 23) + SourceIndex(0) +1->Emitted(43, 5) Source(52, 11) + SourceIndex(0) +2 >Emitted(43, 9) Source(52, 11) + SourceIndex(0) +3 >Emitted(43, 24) Source(52, 23) + SourceIndex(0) +4 >Emitted(43, 26) Source(52, 11) + SourceIndex(0) +5 >Emitted(43, 33) Source(52, 18) + SourceIndex(0) +6 >Emitted(43, 53) Source(52, 21) + SourceIndex(0) +7 >Emitted(43, 54) Source(52, 22) + SourceIndex(0) +8 >Emitted(43, 55) Source(52, 23) + SourceIndex(0) +9 >Emitted(43, 61) Source(52, 23) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1387,14 +1388,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberB 7 > ) 8 > ; -1 >Emitted(43, 5) Source(53, 5) + SourceIndex(0) -2 >Emitted(43, 12) Source(53, 12) + SourceIndex(0) -3 >Emitted(43, 13) Source(53, 13) + SourceIndex(0) -4 >Emitted(43, 16) Source(53, 16) + SourceIndex(0) -5 >Emitted(43, 17) Source(53, 17) + SourceIndex(0) -6 >Emitted(43, 24) Source(53, 24) + SourceIndex(0) -7 >Emitted(43, 25) Source(53, 25) + SourceIndex(0) -8 >Emitted(43, 26) Source(53, 26) + SourceIndex(0) +1 >Emitted(44, 5) Source(53, 5) + SourceIndex(0) +2 >Emitted(44, 12) Source(53, 12) + SourceIndex(0) +3 >Emitted(44, 13) Source(53, 13) + SourceIndex(0) +4 >Emitted(44, 16) Source(53, 16) + SourceIndex(0) +5 >Emitted(44, 17) Source(53, 17) + SourceIndex(0) +6 >Emitted(44, 24) Source(53, 24) + SourceIndex(0) +7 >Emitted(44, 25) Source(53, 25) + SourceIndex(0) +8 >Emitted(44, 26) Source(53, 26) + SourceIndex(0) --- >>>} 1 > @@ -1403,8 +1404,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(44, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(44, 2) Source(54, 2) + SourceIndex(0) +1 >Emitted(45, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(45, 2) Source(54, 2) + SourceIndex(0) --- >>>for (var _11 = 0, _12 = [robotA, robotB]; _11 < _12.length; _11++) { 1-> @@ -1438,21 +1439,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [robotA, robotB] 14> ) 15> { -1->Emitted(45, 1) Source(55, 1) + SourceIndex(0) -2 >Emitted(45, 6) Source(55, 28) + SourceIndex(0) -3 >Emitted(45, 17) Source(55, 44) + SourceIndex(0) -4 >Emitted(45, 19) Source(55, 28) + SourceIndex(0) -5 >Emitted(45, 26) Source(55, 29) + SourceIndex(0) -6 >Emitted(45, 32) Source(55, 35) + SourceIndex(0) -7 >Emitted(45, 34) Source(55, 37) + SourceIndex(0) -8 >Emitted(45, 40) Source(55, 43) + SourceIndex(0) -9 >Emitted(45, 41) Source(55, 44) + SourceIndex(0) -10>Emitted(45, 43) Source(55, 28) + SourceIndex(0) -11>Emitted(45, 59) Source(55, 44) + SourceIndex(0) -12>Emitted(45, 61) Source(55, 28) + SourceIndex(0) -13>Emitted(45, 66) Source(55, 44) + SourceIndex(0) -14>Emitted(45, 68) Source(55, 46) + SourceIndex(0) -15>Emitted(45, 69) Source(55, 47) + SourceIndex(0) +1->Emitted(46, 1) Source(55, 1) + SourceIndex(0) +2 >Emitted(46, 6) Source(55, 28) + SourceIndex(0) +3 >Emitted(46, 17) Source(55, 44) + SourceIndex(0) +4 >Emitted(46, 19) Source(55, 28) + SourceIndex(0) +5 >Emitted(46, 26) Source(55, 29) + SourceIndex(0) +6 >Emitted(46, 32) Source(55, 35) + SourceIndex(0) +7 >Emitted(46, 34) Source(55, 37) + SourceIndex(0) +8 >Emitted(46, 40) Source(55, 43) + SourceIndex(0) +9 >Emitted(46, 41) Source(55, 44) + SourceIndex(0) +10>Emitted(46, 43) Source(55, 28) + SourceIndex(0) +11>Emitted(46, 59) Source(55, 44) + SourceIndex(0) +12>Emitted(46, 61) Source(55, 28) + SourceIndex(0) +13>Emitted(46, 66) Source(55, 44) + SourceIndex(0) +14>Emitted(46, 68) Source(55, 46) + SourceIndex(0) +15>Emitted(46, 69) Source(55, 47) + SourceIndex(0) --- >>> var _13 = _12[_11][0], numberB = _13 === void 0 ? -1 : _13; 1 >^^^^ @@ -1473,15 +1474,15 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 7 > - 8 > 1 9 > -1 >Emitted(46, 5) Source(55, 11) + SourceIndex(0) -2 >Emitted(46, 9) Source(55, 11) + SourceIndex(0) -3 >Emitted(46, 26) Source(55, 23) + SourceIndex(0) -4 >Emitted(46, 28) Source(55, 11) + SourceIndex(0) -5 >Emitted(46, 35) Source(55, 18) + SourceIndex(0) -6 >Emitted(46, 55) Source(55, 21) + SourceIndex(0) -7 >Emitted(46, 56) Source(55, 22) + SourceIndex(0) -8 >Emitted(46, 57) Source(55, 23) + SourceIndex(0) -9 >Emitted(46, 63) Source(55, 23) + SourceIndex(0) +1 >Emitted(47, 5) Source(55, 11) + SourceIndex(0) +2 >Emitted(47, 9) Source(55, 11) + SourceIndex(0) +3 >Emitted(47, 26) Source(55, 23) + SourceIndex(0) +4 >Emitted(47, 28) Source(55, 11) + SourceIndex(0) +5 >Emitted(47, 35) Source(55, 18) + SourceIndex(0) +6 >Emitted(47, 55) Source(55, 21) + SourceIndex(0) +7 >Emitted(47, 56) Source(55, 22) + SourceIndex(0) +8 >Emitted(47, 57) Source(55, 23) + SourceIndex(0) +9 >Emitted(47, 63) Source(55, 23) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1501,14 +1502,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberB 7 > ) 8 > ; -1 >Emitted(47, 5) Source(56, 5) + SourceIndex(0) -2 >Emitted(47, 12) Source(56, 12) + SourceIndex(0) -3 >Emitted(47, 13) Source(56, 13) + SourceIndex(0) -4 >Emitted(47, 16) Source(56, 16) + SourceIndex(0) -5 >Emitted(47, 17) Source(56, 17) + SourceIndex(0) -6 >Emitted(47, 24) Source(56, 24) + SourceIndex(0) -7 >Emitted(47, 25) Source(56, 25) + SourceIndex(0) -8 >Emitted(47, 26) Source(56, 26) + SourceIndex(0) +1 >Emitted(48, 5) Source(56, 5) + SourceIndex(0) +2 >Emitted(48, 12) Source(56, 12) + SourceIndex(0) +3 >Emitted(48, 13) Source(56, 13) + SourceIndex(0) +4 >Emitted(48, 16) Source(56, 16) + SourceIndex(0) +5 >Emitted(48, 17) Source(56, 17) + SourceIndex(0) +6 >Emitted(48, 24) Source(56, 24) + SourceIndex(0) +7 >Emitted(48, 25) Source(56, 25) + SourceIndex(0) +8 >Emitted(48, 26) Source(56, 26) + SourceIndex(0) --- >>>} 1 > @@ -1517,8 +1518,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(48, 1) Source(57, 1) + SourceIndex(0) -2 >Emitted(48, 2) Source(57, 2) + SourceIndex(0) +1 >Emitted(49, 1) Source(57, 1) + SourceIndex(0) +2 >Emitted(49, 2) Source(57, 2) + SourceIndex(0) --- >>>for (var _14 = 0, multiRobots_2 = multiRobots; _14 < multiRobots_2.length; _14++) { 1-> @@ -1544,17 +1545,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > multiRobots 10> ) 11> { -1->Emitted(49, 1) Source(58, 1) + SourceIndex(0) -2 >Emitted(49, 6) Source(58, 32) + SourceIndex(0) -3 >Emitted(49, 17) Source(58, 43) + SourceIndex(0) -4 >Emitted(49, 19) Source(58, 32) + SourceIndex(0) -5 >Emitted(49, 46) Source(58, 43) + SourceIndex(0) -6 >Emitted(49, 48) Source(58, 32) + SourceIndex(0) -7 >Emitted(49, 74) Source(58, 43) + SourceIndex(0) -8 >Emitted(49, 76) Source(58, 32) + SourceIndex(0) -9 >Emitted(49, 81) Source(58, 43) + SourceIndex(0) -10>Emitted(49, 83) Source(58, 45) + SourceIndex(0) -11>Emitted(49, 84) Source(58, 46) + SourceIndex(0) +1->Emitted(50, 1) Source(58, 1) + SourceIndex(0) +2 >Emitted(50, 6) Source(58, 32) + SourceIndex(0) +3 >Emitted(50, 17) Source(58, 43) + SourceIndex(0) +4 >Emitted(50, 19) Source(58, 32) + SourceIndex(0) +5 >Emitted(50, 46) Source(58, 43) + SourceIndex(0) +6 >Emitted(50, 48) Source(58, 32) + SourceIndex(0) +7 >Emitted(50, 74) Source(58, 43) + SourceIndex(0) +8 >Emitted(50, 76) Source(58, 32) + SourceIndex(0) +9 >Emitted(50, 81) Source(58, 43) + SourceIndex(0) +10>Emitted(50, 83) Source(58, 45) + SourceIndex(0) +11>Emitted(50, 84) Source(58, 46) + SourceIndex(0) --- >>> var _15 = multiRobots_2[_14][0], nameB = _15 === void 0 ? "noName" : _15; 1 >^^^^ @@ -1573,14 +1574,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > = 7 > "noName" 8 > -1 >Emitted(50, 5) Source(58, 11) + SourceIndex(0) -2 >Emitted(50, 9) Source(58, 11) + SourceIndex(0) -3 >Emitted(50, 36) Source(58, 27) + SourceIndex(0) -4 >Emitted(50, 38) Source(58, 11) + SourceIndex(0) -5 >Emitted(50, 43) Source(58, 16) + SourceIndex(0) -6 >Emitted(50, 63) Source(58, 19) + SourceIndex(0) -7 >Emitted(50, 71) Source(58, 27) + SourceIndex(0) -8 >Emitted(50, 77) Source(58, 27) + SourceIndex(0) +1 >Emitted(51, 5) Source(58, 11) + SourceIndex(0) +2 >Emitted(51, 9) Source(58, 11) + SourceIndex(0) +3 >Emitted(51, 36) Source(58, 27) + SourceIndex(0) +4 >Emitted(51, 38) Source(58, 11) + SourceIndex(0) +5 >Emitted(51, 43) Source(58, 16) + SourceIndex(0) +6 >Emitted(51, 63) Source(58, 19) + SourceIndex(0) +7 >Emitted(51, 71) Source(58, 27) + SourceIndex(0) +8 >Emitted(51, 77) Source(58, 27) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1600,14 +1601,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameB 7 > ) 8 > ; -1 >Emitted(51, 5) Source(59, 5) + SourceIndex(0) -2 >Emitted(51, 12) Source(59, 12) + SourceIndex(0) -3 >Emitted(51, 13) Source(59, 13) + SourceIndex(0) -4 >Emitted(51, 16) Source(59, 16) + SourceIndex(0) -5 >Emitted(51, 17) Source(59, 17) + SourceIndex(0) -6 >Emitted(51, 22) Source(59, 22) + SourceIndex(0) -7 >Emitted(51, 23) Source(59, 23) + SourceIndex(0) -8 >Emitted(51, 24) Source(59, 24) + SourceIndex(0) +1 >Emitted(52, 5) Source(59, 5) + SourceIndex(0) +2 >Emitted(52, 12) Source(59, 12) + SourceIndex(0) +3 >Emitted(52, 13) Source(59, 13) + SourceIndex(0) +4 >Emitted(52, 16) Source(59, 16) + SourceIndex(0) +5 >Emitted(52, 17) Source(59, 17) + SourceIndex(0) +6 >Emitted(52, 22) Source(59, 22) + SourceIndex(0) +7 >Emitted(52, 23) Source(59, 23) + SourceIndex(0) +8 >Emitted(52, 24) Source(59, 24) + SourceIndex(0) --- >>>} 1 > @@ -1616,8 +1617,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(52, 1) Source(60, 1) + SourceIndex(0) -2 >Emitted(52, 2) Source(60, 2) + SourceIndex(0) +1 >Emitted(53, 1) Source(60, 1) + SourceIndex(0) +2 >Emitted(53, 2) Source(60, 2) + SourceIndex(0) --- >>>for (var _16 = 0, _17 = getMultiRobots(); _16 < _17.length; _16++) { 1-> @@ -1647,19 +1648,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getMultiRobots() 12> ) 13> { -1->Emitted(53, 1) Source(61, 1) + SourceIndex(0) -2 >Emitted(53, 6) Source(61, 32) + SourceIndex(0) -3 >Emitted(53, 17) Source(61, 48) + SourceIndex(0) -4 >Emitted(53, 19) Source(61, 32) + SourceIndex(0) -5 >Emitted(53, 25) Source(61, 32) + SourceIndex(0) -6 >Emitted(53, 39) Source(61, 46) + SourceIndex(0) -7 >Emitted(53, 41) Source(61, 48) + SourceIndex(0) -8 >Emitted(53, 43) Source(61, 32) + SourceIndex(0) -9 >Emitted(53, 59) Source(61, 48) + SourceIndex(0) -10>Emitted(53, 61) Source(61, 32) + SourceIndex(0) -11>Emitted(53, 66) Source(61, 48) + SourceIndex(0) -12>Emitted(53, 68) Source(61, 50) + SourceIndex(0) -13>Emitted(53, 69) Source(61, 51) + SourceIndex(0) +1->Emitted(54, 1) Source(61, 1) + SourceIndex(0) +2 >Emitted(54, 6) Source(61, 32) + SourceIndex(0) +3 >Emitted(54, 17) Source(61, 48) + SourceIndex(0) +4 >Emitted(54, 19) Source(61, 32) + SourceIndex(0) +5 >Emitted(54, 25) Source(61, 32) + SourceIndex(0) +6 >Emitted(54, 39) Source(61, 46) + SourceIndex(0) +7 >Emitted(54, 41) Source(61, 48) + SourceIndex(0) +8 >Emitted(54, 43) Source(61, 32) + SourceIndex(0) +9 >Emitted(54, 59) Source(61, 48) + SourceIndex(0) +10>Emitted(54, 61) Source(61, 32) + SourceIndex(0) +11>Emitted(54, 66) Source(61, 48) + SourceIndex(0) +12>Emitted(54, 68) Source(61, 50) + SourceIndex(0) +13>Emitted(54, 69) Source(61, 51) + SourceIndex(0) --- >>> var _18 = _17[_16][0], nameB = _18 === void 0 ? "noName" : _18; 1 >^^^^ @@ -1678,14 +1679,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > = 7 > "noName" 8 > -1 >Emitted(54, 5) Source(61, 11) + SourceIndex(0) -2 >Emitted(54, 9) Source(61, 11) + SourceIndex(0) -3 >Emitted(54, 26) Source(61, 27) + SourceIndex(0) -4 >Emitted(54, 28) Source(61, 11) + SourceIndex(0) -5 >Emitted(54, 33) Source(61, 16) + SourceIndex(0) -6 >Emitted(54, 53) Source(61, 19) + SourceIndex(0) -7 >Emitted(54, 61) Source(61, 27) + SourceIndex(0) -8 >Emitted(54, 67) Source(61, 27) + SourceIndex(0) +1 >Emitted(55, 5) Source(61, 11) + SourceIndex(0) +2 >Emitted(55, 9) Source(61, 11) + SourceIndex(0) +3 >Emitted(55, 26) Source(61, 27) + SourceIndex(0) +4 >Emitted(55, 28) Source(61, 11) + SourceIndex(0) +5 >Emitted(55, 33) Source(61, 16) + SourceIndex(0) +6 >Emitted(55, 53) Source(61, 19) + SourceIndex(0) +7 >Emitted(55, 61) Source(61, 27) + SourceIndex(0) +8 >Emitted(55, 67) Source(61, 27) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1705,14 +1706,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameB 7 > ) 8 > ; -1 >Emitted(55, 5) Source(62, 5) + SourceIndex(0) -2 >Emitted(55, 12) Source(62, 12) + SourceIndex(0) -3 >Emitted(55, 13) Source(62, 13) + SourceIndex(0) -4 >Emitted(55, 16) Source(62, 16) + SourceIndex(0) -5 >Emitted(55, 17) Source(62, 17) + SourceIndex(0) -6 >Emitted(55, 22) Source(62, 22) + SourceIndex(0) -7 >Emitted(55, 23) Source(62, 23) + SourceIndex(0) -8 >Emitted(55, 24) Source(62, 24) + SourceIndex(0) +1 >Emitted(56, 5) Source(62, 5) + SourceIndex(0) +2 >Emitted(56, 12) Source(62, 12) + SourceIndex(0) +3 >Emitted(56, 13) Source(62, 13) + SourceIndex(0) +4 >Emitted(56, 16) Source(62, 16) + SourceIndex(0) +5 >Emitted(56, 17) Source(62, 17) + SourceIndex(0) +6 >Emitted(56, 22) Source(62, 22) + SourceIndex(0) +7 >Emitted(56, 23) Source(62, 23) + SourceIndex(0) +8 >Emitted(56, 24) Source(62, 24) + SourceIndex(0) --- >>>} 1 > @@ -1721,8 +1722,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(56, 1) Source(63, 1) + SourceIndex(0) -2 >Emitted(56, 2) Source(63, 2) + SourceIndex(0) +1 >Emitted(57, 1) Source(63, 1) + SourceIndex(0) +2 >Emitted(57, 2) Source(63, 2) + SourceIndex(0) --- >>>for (var _19 = 0, _20 = [multiRobotA, multiRobotB]; _19 < _20.length; _19++) { 1-> @@ -1756,21 +1757,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(57, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(57, 6) Source(64, 32) + SourceIndex(0) -3 >Emitted(57, 17) Source(64, 58) + SourceIndex(0) -4 >Emitted(57, 19) Source(64, 32) + SourceIndex(0) -5 >Emitted(57, 26) Source(64, 33) + SourceIndex(0) -6 >Emitted(57, 37) Source(64, 44) + SourceIndex(0) -7 >Emitted(57, 39) Source(64, 46) + SourceIndex(0) -8 >Emitted(57, 50) Source(64, 57) + SourceIndex(0) -9 >Emitted(57, 51) Source(64, 58) + SourceIndex(0) -10>Emitted(57, 53) Source(64, 32) + SourceIndex(0) -11>Emitted(57, 69) Source(64, 58) + SourceIndex(0) -12>Emitted(57, 71) Source(64, 32) + SourceIndex(0) -13>Emitted(57, 76) Source(64, 58) + SourceIndex(0) -14>Emitted(57, 78) Source(64, 60) + SourceIndex(0) -15>Emitted(57, 79) Source(64, 61) + SourceIndex(0) +1->Emitted(58, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(58, 6) Source(64, 32) + SourceIndex(0) +3 >Emitted(58, 17) Source(64, 58) + SourceIndex(0) +4 >Emitted(58, 19) Source(64, 32) + SourceIndex(0) +5 >Emitted(58, 26) Source(64, 33) + SourceIndex(0) +6 >Emitted(58, 37) Source(64, 44) + SourceIndex(0) +7 >Emitted(58, 39) Source(64, 46) + SourceIndex(0) +8 >Emitted(58, 50) Source(64, 57) + SourceIndex(0) +9 >Emitted(58, 51) Source(64, 58) + SourceIndex(0) +10>Emitted(58, 53) Source(64, 32) + SourceIndex(0) +11>Emitted(58, 69) Source(64, 58) + SourceIndex(0) +12>Emitted(58, 71) Source(64, 32) + SourceIndex(0) +13>Emitted(58, 76) Source(64, 58) + SourceIndex(0) +14>Emitted(58, 78) Source(64, 60) + SourceIndex(0) +15>Emitted(58, 79) Source(64, 61) + SourceIndex(0) --- >>> var _21 = _20[_19][0], nameB = _21 === void 0 ? "noName" : _21; 1 >^^^^ @@ -1789,14 +1790,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > = 7 > "noName" 8 > -1 >Emitted(58, 5) Source(64, 11) + SourceIndex(0) -2 >Emitted(58, 9) Source(64, 11) + SourceIndex(0) -3 >Emitted(58, 26) Source(64, 27) + SourceIndex(0) -4 >Emitted(58, 28) Source(64, 11) + SourceIndex(0) -5 >Emitted(58, 33) Source(64, 16) + SourceIndex(0) -6 >Emitted(58, 53) Source(64, 19) + SourceIndex(0) -7 >Emitted(58, 61) Source(64, 27) + SourceIndex(0) -8 >Emitted(58, 67) Source(64, 27) + SourceIndex(0) +1 >Emitted(59, 5) Source(64, 11) + SourceIndex(0) +2 >Emitted(59, 9) Source(64, 11) + SourceIndex(0) +3 >Emitted(59, 26) Source(64, 27) + SourceIndex(0) +4 >Emitted(59, 28) Source(64, 11) + SourceIndex(0) +5 >Emitted(59, 33) Source(64, 16) + SourceIndex(0) +6 >Emitted(59, 53) Source(64, 19) + SourceIndex(0) +7 >Emitted(59, 61) Source(64, 27) + SourceIndex(0) +8 >Emitted(59, 67) Source(64, 27) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1816,14 +1817,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameB 7 > ) 8 > ; -1 >Emitted(59, 5) Source(65, 5) + SourceIndex(0) -2 >Emitted(59, 12) Source(65, 12) + SourceIndex(0) -3 >Emitted(59, 13) Source(65, 13) + SourceIndex(0) -4 >Emitted(59, 16) Source(65, 16) + SourceIndex(0) -5 >Emitted(59, 17) Source(65, 17) + SourceIndex(0) -6 >Emitted(59, 22) Source(65, 22) + SourceIndex(0) -7 >Emitted(59, 23) Source(65, 23) + SourceIndex(0) -8 >Emitted(59, 24) Source(65, 24) + SourceIndex(0) +1 >Emitted(60, 5) Source(65, 5) + SourceIndex(0) +2 >Emitted(60, 12) Source(65, 12) + SourceIndex(0) +3 >Emitted(60, 13) Source(65, 13) + SourceIndex(0) +4 >Emitted(60, 16) Source(65, 16) + SourceIndex(0) +5 >Emitted(60, 17) Source(65, 17) + SourceIndex(0) +6 >Emitted(60, 22) Source(65, 22) + SourceIndex(0) +7 >Emitted(60, 23) Source(65, 23) + SourceIndex(0) +8 >Emitted(60, 24) Source(65, 24) + SourceIndex(0) --- >>>} 1 > @@ -1832,8 +1833,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(60, 1) Source(66, 1) + SourceIndex(0) -2 >Emitted(60, 2) Source(66, 2) + SourceIndex(0) +1 >Emitted(61, 1) Source(66, 1) + SourceIndex(0) +2 >Emitted(61, 2) Source(66, 2) + SourceIndex(0) --- >>>for (var _22 = 0, robots_3 = robots; _22 < robots_3.length; _22++) { 1-> @@ -1861,17 +1862,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > robots 10> ) 11> { -1->Emitted(61, 1) Source(68, 1) + SourceIndex(0) -2 >Emitted(61, 6) Source(68, 67) + SourceIndex(0) -3 >Emitted(61, 17) Source(68, 73) + SourceIndex(0) -4 >Emitted(61, 19) Source(68, 67) + SourceIndex(0) -5 >Emitted(61, 36) Source(68, 73) + SourceIndex(0) -6 >Emitted(61, 38) Source(68, 67) + SourceIndex(0) -7 >Emitted(61, 59) Source(68, 73) + SourceIndex(0) -8 >Emitted(61, 61) Source(68, 67) + SourceIndex(0) -9 >Emitted(61, 66) Source(68, 73) + SourceIndex(0) -10>Emitted(61, 68) Source(68, 75) + SourceIndex(0) -11>Emitted(61, 69) Source(68, 76) + SourceIndex(0) +1->Emitted(62, 1) Source(68, 1) + SourceIndex(0) +2 >Emitted(62, 6) Source(68, 67) + SourceIndex(0) +3 >Emitted(62, 17) Source(68, 73) + SourceIndex(0) +4 >Emitted(62, 19) Source(68, 67) + SourceIndex(0) +5 >Emitted(62, 36) Source(68, 73) + SourceIndex(0) +6 >Emitted(62, 38) Source(68, 67) + SourceIndex(0) +7 >Emitted(62, 59) Source(68, 73) + SourceIndex(0) +8 >Emitted(62, 61) Source(68, 67) + SourceIndex(0) +9 >Emitted(62, 66) Source(68, 73) + SourceIndex(0) +10>Emitted(62, 68) Source(68, 75) + SourceIndex(0) +11>Emitted(62, 69) Source(68, 76) + SourceIndex(0) --- >>> var _23 = robots_3[_22], _24 = _23[0], numberA2 = _24 === void 0 ? -1 : _24, _25 = _23[1], nameA2 = _25 === void 0 ? "noName" : _25, _26 = _23[2], skillA2 = _26 === void 0 ? "skill" : _26; 1->^^^^ @@ -1924,31 +1925,31 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 23> = 24> "skill" 25> -1->Emitted(62, 5) Source(68, 10) + SourceIndex(0) -2 >Emitted(62, 9) Source(68, 10) + SourceIndex(0) -3 >Emitted(62, 28) Source(68, 63) + SourceIndex(0) -4 >Emitted(62, 30) Source(68, 11) + SourceIndex(0) -5 >Emitted(62, 42) Source(68, 24) + SourceIndex(0) -6 >Emitted(62, 44) Source(68, 11) + SourceIndex(0) -7 >Emitted(62, 52) Source(68, 19) + SourceIndex(0) -8 >Emitted(62, 72) Source(68, 22) + SourceIndex(0) -9 >Emitted(62, 73) Source(68, 23) + SourceIndex(0) -10>Emitted(62, 74) Source(68, 24) + SourceIndex(0) -11>Emitted(62, 80) Source(68, 24) + SourceIndex(0) -12>Emitted(62, 82) Source(68, 26) + SourceIndex(0) -13>Emitted(62, 94) Source(68, 43) + SourceIndex(0) -14>Emitted(62, 96) Source(68, 26) + SourceIndex(0) -15>Emitted(62, 102) Source(68, 32) + SourceIndex(0) -16>Emitted(62, 122) Source(68, 35) + SourceIndex(0) -17>Emitted(62, 130) Source(68, 43) + SourceIndex(0) -18>Emitted(62, 136) Source(68, 43) + SourceIndex(0) -19>Emitted(62, 138) Source(68, 45) + SourceIndex(0) -20>Emitted(62, 150) Source(68, 62) + SourceIndex(0) -21>Emitted(62, 152) Source(68, 45) + SourceIndex(0) -22>Emitted(62, 159) Source(68, 52) + SourceIndex(0) -23>Emitted(62, 179) Source(68, 55) + SourceIndex(0) -24>Emitted(62, 186) Source(68, 62) + SourceIndex(0) -25>Emitted(62, 192) Source(68, 62) + SourceIndex(0) +1->Emitted(63, 5) Source(68, 10) + SourceIndex(0) +2 >Emitted(63, 9) Source(68, 10) + SourceIndex(0) +3 >Emitted(63, 28) Source(68, 63) + SourceIndex(0) +4 >Emitted(63, 30) Source(68, 11) + SourceIndex(0) +5 >Emitted(63, 42) Source(68, 24) + SourceIndex(0) +6 >Emitted(63, 44) Source(68, 11) + SourceIndex(0) +7 >Emitted(63, 52) Source(68, 19) + SourceIndex(0) +8 >Emitted(63, 72) Source(68, 22) + SourceIndex(0) +9 >Emitted(63, 73) Source(68, 23) + SourceIndex(0) +10>Emitted(63, 74) Source(68, 24) + SourceIndex(0) +11>Emitted(63, 80) Source(68, 24) + SourceIndex(0) +12>Emitted(63, 82) Source(68, 26) + SourceIndex(0) +13>Emitted(63, 94) Source(68, 43) + SourceIndex(0) +14>Emitted(63, 96) Source(68, 26) + SourceIndex(0) +15>Emitted(63, 102) Source(68, 32) + SourceIndex(0) +16>Emitted(63, 122) Source(68, 35) + SourceIndex(0) +17>Emitted(63, 130) Source(68, 43) + SourceIndex(0) +18>Emitted(63, 136) Source(68, 43) + SourceIndex(0) +19>Emitted(63, 138) Source(68, 45) + SourceIndex(0) +20>Emitted(63, 150) Source(68, 62) + SourceIndex(0) +21>Emitted(63, 152) Source(68, 45) + SourceIndex(0) +22>Emitted(63, 159) Source(68, 52) + SourceIndex(0) +23>Emitted(63, 179) Source(68, 55) + SourceIndex(0) +24>Emitted(63, 186) Source(68, 62) + SourceIndex(0) +25>Emitted(63, 192) Source(68, 62) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1968,14 +1969,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA2 7 > ) 8 > ; -1 >Emitted(63, 5) Source(69, 5) + SourceIndex(0) -2 >Emitted(63, 12) Source(69, 12) + SourceIndex(0) -3 >Emitted(63, 13) Source(69, 13) + SourceIndex(0) -4 >Emitted(63, 16) Source(69, 16) + SourceIndex(0) -5 >Emitted(63, 17) Source(69, 17) + SourceIndex(0) -6 >Emitted(63, 23) Source(69, 23) + SourceIndex(0) -7 >Emitted(63, 24) Source(69, 24) + SourceIndex(0) -8 >Emitted(63, 25) Source(69, 25) + SourceIndex(0) +1 >Emitted(64, 5) Source(69, 5) + SourceIndex(0) +2 >Emitted(64, 12) Source(69, 12) + SourceIndex(0) +3 >Emitted(64, 13) Source(69, 13) + SourceIndex(0) +4 >Emitted(64, 16) Source(69, 16) + SourceIndex(0) +5 >Emitted(64, 17) Source(69, 17) + SourceIndex(0) +6 >Emitted(64, 23) Source(69, 23) + SourceIndex(0) +7 >Emitted(64, 24) Source(69, 24) + SourceIndex(0) +8 >Emitted(64, 25) Source(69, 25) + SourceIndex(0) --- >>>} 1 > @@ -1984,8 +1985,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(64, 1) Source(70, 1) + SourceIndex(0) -2 >Emitted(64, 2) Source(70, 2) + SourceIndex(0) +1 >Emitted(65, 1) Source(70, 1) + SourceIndex(0) +2 >Emitted(65, 2) Source(70, 2) + SourceIndex(0) --- >>>for (var _27 = 0, _28 = getRobots(); _27 < _28.length; _27++) { 1-> @@ -2016,19 +2017,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getRobots() 12> ) 13> { -1->Emitted(65, 1) Source(71, 1) + SourceIndex(0) -2 >Emitted(65, 6) Source(71, 67) + SourceIndex(0) -3 >Emitted(65, 17) Source(71, 78) + SourceIndex(0) -4 >Emitted(65, 19) Source(71, 67) + SourceIndex(0) -5 >Emitted(65, 25) Source(71, 67) + SourceIndex(0) -6 >Emitted(65, 34) Source(71, 76) + SourceIndex(0) -7 >Emitted(65, 36) Source(71, 78) + SourceIndex(0) -8 >Emitted(65, 38) Source(71, 67) + SourceIndex(0) -9 >Emitted(65, 54) Source(71, 78) + SourceIndex(0) -10>Emitted(65, 56) Source(71, 67) + SourceIndex(0) -11>Emitted(65, 61) Source(71, 78) + SourceIndex(0) -12>Emitted(65, 63) Source(71, 80) + SourceIndex(0) -13>Emitted(65, 64) Source(71, 81) + SourceIndex(0) +1->Emitted(66, 1) Source(71, 1) + SourceIndex(0) +2 >Emitted(66, 6) Source(71, 67) + SourceIndex(0) +3 >Emitted(66, 17) Source(71, 78) + SourceIndex(0) +4 >Emitted(66, 19) Source(71, 67) + SourceIndex(0) +5 >Emitted(66, 25) Source(71, 67) + SourceIndex(0) +6 >Emitted(66, 34) Source(71, 76) + SourceIndex(0) +7 >Emitted(66, 36) Source(71, 78) + SourceIndex(0) +8 >Emitted(66, 38) Source(71, 67) + SourceIndex(0) +9 >Emitted(66, 54) Source(71, 78) + SourceIndex(0) +10>Emitted(66, 56) Source(71, 67) + SourceIndex(0) +11>Emitted(66, 61) Source(71, 78) + SourceIndex(0) +12>Emitted(66, 63) Source(71, 80) + SourceIndex(0) +13>Emitted(66, 64) Source(71, 81) + SourceIndex(0) --- >>> var _29 = _28[_27], _30 = _29[0], numberA2 = _30 === void 0 ? -1 : _30, _31 = _29[1], nameA2 = _31 === void 0 ? "noName" : _31, _32 = _29[2], skillA2 = _32 === void 0 ? "skill" : _32; 1->^^^^ @@ -2081,31 +2082,31 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 23> = 24> "skill" 25> -1->Emitted(66, 5) Source(71, 10) + SourceIndex(0) -2 >Emitted(66, 9) Source(71, 10) + SourceIndex(0) -3 >Emitted(66, 23) Source(71, 63) + SourceIndex(0) -4 >Emitted(66, 25) Source(71, 11) + SourceIndex(0) -5 >Emitted(66, 37) Source(71, 24) + SourceIndex(0) -6 >Emitted(66, 39) Source(71, 11) + SourceIndex(0) -7 >Emitted(66, 47) Source(71, 19) + SourceIndex(0) -8 >Emitted(66, 67) Source(71, 22) + SourceIndex(0) -9 >Emitted(66, 68) Source(71, 23) + SourceIndex(0) -10>Emitted(66, 69) Source(71, 24) + SourceIndex(0) -11>Emitted(66, 75) Source(71, 24) + SourceIndex(0) -12>Emitted(66, 77) Source(71, 26) + SourceIndex(0) -13>Emitted(66, 89) Source(71, 43) + SourceIndex(0) -14>Emitted(66, 91) Source(71, 26) + SourceIndex(0) -15>Emitted(66, 97) Source(71, 32) + SourceIndex(0) -16>Emitted(66, 117) Source(71, 35) + SourceIndex(0) -17>Emitted(66, 125) Source(71, 43) + SourceIndex(0) -18>Emitted(66, 131) Source(71, 43) + SourceIndex(0) -19>Emitted(66, 133) Source(71, 45) + SourceIndex(0) -20>Emitted(66, 145) Source(71, 62) + SourceIndex(0) -21>Emitted(66, 147) Source(71, 45) + SourceIndex(0) -22>Emitted(66, 154) Source(71, 52) + SourceIndex(0) -23>Emitted(66, 174) Source(71, 55) + SourceIndex(0) -24>Emitted(66, 181) Source(71, 62) + SourceIndex(0) -25>Emitted(66, 187) Source(71, 62) + SourceIndex(0) +1->Emitted(67, 5) Source(71, 10) + SourceIndex(0) +2 >Emitted(67, 9) Source(71, 10) + SourceIndex(0) +3 >Emitted(67, 23) Source(71, 63) + SourceIndex(0) +4 >Emitted(67, 25) Source(71, 11) + SourceIndex(0) +5 >Emitted(67, 37) Source(71, 24) + SourceIndex(0) +6 >Emitted(67, 39) Source(71, 11) + SourceIndex(0) +7 >Emitted(67, 47) Source(71, 19) + SourceIndex(0) +8 >Emitted(67, 67) Source(71, 22) + SourceIndex(0) +9 >Emitted(67, 68) Source(71, 23) + SourceIndex(0) +10>Emitted(67, 69) Source(71, 24) + SourceIndex(0) +11>Emitted(67, 75) Source(71, 24) + SourceIndex(0) +12>Emitted(67, 77) Source(71, 26) + SourceIndex(0) +13>Emitted(67, 89) Source(71, 43) + SourceIndex(0) +14>Emitted(67, 91) Source(71, 26) + SourceIndex(0) +15>Emitted(67, 97) Source(71, 32) + SourceIndex(0) +16>Emitted(67, 117) Source(71, 35) + SourceIndex(0) +17>Emitted(67, 125) Source(71, 43) + SourceIndex(0) +18>Emitted(67, 131) Source(71, 43) + SourceIndex(0) +19>Emitted(67, 133) Source(71, 45) + SourceIndex(0) +20>Emitted(67, 145) Source(71, 62) + SourceIndex(0) +21>Emitted(67, 147) Source(71, 45) + SourceIndex(0) +22>Emitted(67, 154) Source(71, 52) + SourceIndex(0) +23>Emitted(67, 174) Source(71, 55) + SourceIndex(0) +24>Emitted(67, 181) Source(71, 62) + SourceIndex(0) +25>Emitted(67, 187) Source(71, 62) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -2125,14 +2126,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA2 7 > ) 8 > ; -1 >Emitted(67, 5) Source(72, 5) + SourceIndex(0) -2 >Emitted(67, 12) Source(72, 12) + SourceIndex(0) -3 >Emitted(67, 13) Source(72, 13) + SourceIndex(0) -4 >Emitted(67, 16) Source(72, 16) + SourceIndex(0) -5 >Emitted(67, 17) Source(72, 17) + SourceIndex(0) -6 >Emitted(67, 23) Source(72, 23) + SourceIndex(0) -7 >Emitted(67, 24) Source(72, 24) + SourceIndex(0) -8 >Emitted(67, 25) Source(72, 25) + SourceIndex(0) +1 >Emitted(68, 5) Source(72, 5) + SourceIndex(0) +2 >Emitted(68, 12) Source(72, 12) + SourceIndex(0) +3 >Emitted(68, 13) Source(72, 13) + SourceIndex(0) +4 >Emitted(68, 16) Source(72, 16) + SourceIndex(0) +5 >Emitted(68, 17) Source(72, 17) + SourceIndex(0) +6 >Emitted(68, 23) Source(72, 23) + SourceIndex(0) +7 >Emitted(68, 24) Source(72, 24) + SourceIndex(0) +8 >Emitted(68, 25) Source(72, 25) + SourceIndex(0) --- >>>} 1 > @@ -2141,8 +2142,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(68, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(68, 2) Source(73, 2) + SourceIndex(0) +1 >Emitted(69, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(69, 2) Source(73, 2) + SourceIndex(0) --- >>>for (var _33 = 0, _34 = [robotA, robotB]; _33 < _34.length; _33++) { 1-> @@ -2177,21 +2178,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [robotA, robotB] 14> ) 15> { -1->Emitted(69, 1) Source(74, 1) + SourceIndex(0) -2 >Emitted(69, 6) Source(74, 67) + SourceIndex(0) -3 >Emitted(69, 17) Source(74, 83) + SourceIndex(0) -4 >Emitted(69, 19) Source(74, 67) + SourceIndex(0) -5 >Emitted(69, 26) Source(74, 68) + SourceIndex(0) -6 >Emitted(69, 32) Source(74, 74) + SourceIndex(0) -7 >Emitted(69, 34) Source(74, 76) + SourceIndex(0) -8 >Emitted(69, 40) Source(74, 82) + SourceIndex(0) -9 >Emitted(69, 41) Source(74, 83) + SourceIndex(0) -10>Emitted(69, 43) Source(74, 67) + SourceIndex(0) -11>Emitted(69, 59) Source(74, 83) + SourceIndex(0) -12>Emitted(69, 61) Source(74, 67) + SourceIndex(0) -13>Emitted(69, 66) Source(74, 83) + SourceIndex(0) -14>Emitted(69, 68) Source(74, 85) + SourceIndex(0) -15>Emitted(69, 69) Source(74, 86) + SourceIndex(0) +1->Emitted(70, 1) Source(74, 1) + SourceIndex(0) +2 >Emitted(70, 6) Source(74, 67) + SourceIndex(0) +3 >Emitted(70, 17) Source(74, 83) + SourceIndex(0) +4 >Emitted(70, 19) Source(74, 67) + SourceIndex(0) +5 >Emitted(70, 26) Source(74, 68) + SourceIndex(0) +6 >Emitted(70, 32) Source(74, 74) + SourceIndex(0) +7 >Emitted(70, 34) Source(74, 76) + SourceIndex(0) +8 >Emitted(70, 40) Source(74, 82) + SourceIndex(0) +9 >Emitted(70, 41) Source(74, 83) + SourceIndex(0) +10>Emitted(70, 43) Source(74, 67) + SourceIndex(0) +11>Emitted(70, 59) Source(74, 83) + SourceIndex(0) +12>Emitted(70, 61) Source(74, 67) + SourceIndex(0) +13>Emitted(70, 66) Source(74, 83) + SourceIndex(0) +14>Emitted(70, 68) Source(74, 85) + SourceIndex(0) +15>Emitted(70, 69) Source(74, 86) + SourceIndex(0) --- >>> var _35 = _34[_33], _36 = _35[0], numberA2 = _36 === void 0 ? -1 : _36, _37 = _35[1], nameA2 = _37 === void 0 ? "noName" : _37, _38 = _35[2], skillA2 = _38 === void 0 ? "skill" : _38; 1->^^^^ @@ -2244,31 +2245,31 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 23> = 24> "skill" 25> -1->Emitted(70, 5) Source(74, 10) + SourceIndex(0) -2 >Emitted(70, 9) Source(74, 10) + SourceIndex(0) -3 >Emitted(70, 23) Source(74, 63) + SourceIndex(0) -4 >Emitted(70, 25) Source(74, 11) + SourceIndex(0) -5 >Emitted(70, 37) Source(74, 24) + SourceIndex(0) -6 >Emitted(70, 39) Source(74, 11) + SourceIndex(0) -7 >Emitted(70, 47) Source(74, 19) + SourceIndex(0) -8 >Emitted(70, 67) Source(74, 22) + SourceIndex(0) -9 >Emitted(70, 68) Source(74, 23) + SourceIndex(0) -10>Emitted(70, 69) Source(74, 24) + SourceIndex(0) -11>Emitted(70, 75) Source(74, 24) + SourceIndex(0) -12>Emitted(70, 77) Source(74, 26) + SourceIndex(0) -13>Emitted(70, 89) Source(74, 43) + SourceIndex(0) -14>Emitted(70, 91) Source(74, 26) + SourceIndex(0) -15>Emitted(70, 97) Source(74, 32) + SourceIndex(0) -16>Emitted(70, 117) Source(74, 35) + SourceIndex(0) -17>Emitted(70, 125) Source(74, 43) + SourceIndex(0) -18>Emitted(70, 131) Source(74, 43) + SourceIndex(0) -19>Emitted(70, 133) Source(74, 45) + SourceIndex(0) -20>Emitted(70, 145) Source(74, 62) + SourceIndex(0) -21>Emitted(70, 147) Source(74, 45) + SourceIndex(0) -22>Emitted(70, 154) Source(74, 52) + SourceIndex(0) -23>Emitted(70, 174) Source(74, 55) + SourceIndex(0) -24>Emitted(70, 181) Source(74, 62) + SourceIndex(0) -25>Emitted(70, 187) Source(74, 62) + SourceIndex(0) +1->Emitted(71, 5) Source(74, 10) + SourceIndex(0) +2 >Emitted(71, 9) Source(74, 10) + SourceIndex(0) +3 >Emitted(71, 23) Source(74, 63) + SourceIndex(0) +4 >Emitted(71, 25) Source(74, 11) + SourceIndex(0) +5 >Emitted(71, 37) Source(74, 24) + SourceIndex(0) +6 >Emitted(71, 39) Source(74, 11) + SourceIndex(0) +7 >Emitted(71, 47) Source(74, 19) + SourceIndex(0) +8 >Emitted(71, 67) Source(74, 22) + SourceIndex(0) +9 >Emitted(71, 68) Source(74, 23) + SourceIndex(0) +10>Emitted(71, 69) Source(74, 24) + SourceIndex(0) +11>Emitted(71, 75) Source(74, 24) + SourceIndex(0) +12>Emitted(71, 77) Source(74, 26) + SourceIndex(0) +13>Emitted(71, 89) Source(74, 43) + SourceIndex(0) +14>Emitted(71, 91) Source(74, 26) + SourceIndex(0) +15>Emitted(71, 97) Source(74, 32) + SourceIndex(0) +16>Emitted(71, 117) Source(74, 35) + SourceIndex(0) +17>Emitted(71, 125) Source(74, 43) + SourceIndex(0) +18>Emitted(71, 131) Source(74, 43) + SourceIndex(0) +19>Emitted(71, 133) Source(74, 45) + SourceIndex(0) +20>Emitted(71, 145) Source(74, 62) + SourceIndex(0) +21>Emitted(71, 147) Source(74, 45) + SourceIndex(0) +22>Emitted(71, 154) Source(74, 52) + SourceIndex(0) +23>Emitted(71, 174) Source(74, 55) + SourceIndex(0) +24>Emitted(71, 181) Source(74, 62) + SourceIndex(0) +25>Emitted(71, 187) Source(74, 62) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -2288,14 +2289,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA2 7 > ) 8 > ; -1 >Emitted(71, 5) Source(75, 5) + SourceIndex(0) -2 >Emitted(71, 12) Source(75, 12) + SourceIndex(0) -3 >Emitted(71, 13) Source(75, 13) + SourceIndex(0) -4 >Emitted(71, 16) Source(75, 16) + SourceIndex(0) -5 >Emitted(71, 17) Source(75, 17) + SourceIndex(0) -6 >Emitted(71, 23) Source(75, 23) + SourceIndex(0) -7 >Emitted(71, 24) Source(75, 24) + SourceIndex(0) -8 >Emitted(71, 25) Source(75, 25) + SourceIndex(0) +1 >Emitted(72, 5) Source(75, 5) + SourceIndex(0) +2 >Emitted(72, 12) Source(75, 12) + SourceIndex(0) +3 >Emitted(72, 13) Source(75, 13) + SourceIndex(0) +4 >Emitted(72, 16) Source(75, 16) + SourceIndex(0) +5 >Emitted(72, 17) Source(75, 17) + SourceIndex(0) +6 >Emitted(72, 23) Source(75, 23) + SourceIndex(0) +7 >Emitted(72, 24) Source(75, 24) + SourceIndex(0) +8 >Emitted(72, 25) Source(75, 25) + SourceIndex(0) --- >>>} 1 > @@ -2304,8 +2305,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(72, 1) Source(76, 1) + SourceIndex(0) -2 >Emitted(72, 2) Source(76, 2) + SourceIndex(0) +1 >Emitted(73, 1) Source(76, 1) + SourceIndex(0) +2 >Emitted(73, 2) Source(76, 2) + SourceIndex(0) --- >>>for (var _39 = 0, multiRobots_3 = multiRobots; _39 < multiRobots_3.length; _39++) { 1-> @@ -2335,17 +2336,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > multiRobots 10> ) 11> { -1->Emitted(73, 1) Source(77, 1) + SourceIndex(0) -2 >Emitted(73, 6) Source(80, 30) + SourceIndex(0) -3 >Emitted(73, 17) Source(80, 41) + SourceIndex(0) -4 >Emitted(73, 19) Source(80, 30) + SourceIndex(0) -5 >Emitted(73, 46) Source(80, 41) + SourceIndex(0) -6 >Emitted(73, 48) Source(80, 30) + SourceIndex(0) -7 >Emitted(73, 74) Source(80, 41) + SourceIndex(0) -8 >Emitted(73, 76) Source(80, 30) + SourceIndex(0) -9 >Emitted(73, 81) Source(80, 41) + SourceIndex(0) -10>Emitted(73, 83) Source(80, 43) + SourceIndex(0) -11>Emitted(73, 84) Source(80, 44) + SourceIndex(0) +1->Emitted(74, 1) Source(77, 1) + SourceIndex(0) +2 >Emitted(74, 6) Source(80, 30) + SourceIndex(0) +3 >Emitted(74, 17) Source(80, 41) + SourceIndex(0) +4 >Emitted(74, 19) Source(80, 30) + SourceIndex(0) +5 >Emitted(74, 46) Source(80, 41) + SourceIndex(0) +6 >Emitted(74, 48) Source(80, 30) + SourceIndex(0) +7 >Emitted(74, 74) Source(80, 41) + SourceIndex(0) +8 >Emitted(74, 76) Source(80, 30) + SourceIndex(0) +9 >Emitted(74, 81) Source(80, 41) + SourceIndex(0) +10>Emitted(74, 83) Source(80, 43) + SourceIndex(0) +11>Emitted(74, 84) Source(80, 44) + SourceIndex(0) --- >>> var _40 = multiRobots_3[_39], _41 = _40[0], nameMA = _41 === void 0 ? "noName" : _41, _42 = _40[1], _43 = _42 === void 0 ? ["skill1", "skill2"] : _42, _44 = _43[0], primarySkillA = _44 === void 0 ? "primary" : _44, _45 = _43[1], secondarySkillA = _45 === void 0 ? "secondary" : _45; 1->^^^^ @@ -2426,40 +2427,40 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 32> = 33> "secondary" 34> -1->Emitted(74, 5) Source(77, 10) + SourceIndex(0) -2 >Emitted(74, 9) Source(77, 10) + SourceIndex(0) -3 >Emitted(74, 33) Source(80, 26) + SourceIndex(0) -4 >Emitted(74, 35) Source(77, 11) + SourceIndex(0) -5 >Emitted(74, 47) Source(77, 28) + SourceIndex(0) -6 >Emitted(74, 49) Source(77, 11) + SourceIndex(0) -7 >Emitted(74, 55) Source(77, 17) + SourceIndex(0) -8 >Emitted(74, 75) Source(77, 20) + SourceIndex(0) -9 >Emitted(74, 83) Source(77, 28) + SourceIndex(0) -10>Emitted(74, 89) Source(77, 28) + SourceIndex(0) -11>Emitted(74, 91) Source(77, 30) + SourceIndex(0) -12>Emitted(74, 103) Source(80, 25) + SourceIndex(0) -13>Emitted(74, 105) Source(77, 30) + SourceIndex(0) -14>Emitted(74, 128) Source(80, 5) + SourceIndex(0) -15>Emitted(74, 129) Source(80, 6) + SourceIndex(0) -16>Emitted(74, 137) Source(80, 14) + SourceIndex(0) -17>Emitted(74, 139) Source(80, 16) + SourceIndex(0) -18>Emitted(74, 147) Source(80, 24) + SourceIndex(0) -19>Emitted(74, 148) Source(80, 25) + SourceIndex(0) -20>Emitted(74, 154) Source(80, 25) + SourceIndex(0) -21>Emitted(74, 156) Source(78, 5) + SourceIndex(0) -22>Emitted(74, 168) Source(78, 30) + SourceIndex(0) -23>Emitted(74, 170) Source(78, 5) + SourceIndex(0) -24>Emitted(74, 183) Source(78, 18) + SourceIndex(0) -25>Emitted(74, 203) Source(78, 21) + SourceIndex(0) -26>Emitted(74, 212) Source(78, 30) + SourceIndex(0) -27>Emitted(74, 218) Source(78, 30) + SourceIndex(0) -28>Emitted(74, 220) Source(79, 5) + SourceIndex(0) -29>Emitted(74, 232) Source(79, 34) + SourceIndex(0) -30>Emitted(74, 234) Source(79, 5) + SourceIndex(0) -31>Emitted(74, 249) Source(79, 20) + SourceIndex(0) -32>Emitted(74, 269) Source(79, 23) + SourceIndex(0) -33>Emitted(74, 280) Source(79, 34) + SourceIndex(0) -34>Emitted(74, 286) Source(79, 34) + SourceIndex(0) +1->Emitted(75, 5) Source(77, 10) + SourceIndex(0) +2 >Emitted(75, 9) Source(77, 10) + SourceIndex(0) +3 >Emitted(75, 33) Source(80, 26) + SourceIndex(0) +4 >Emitted(75, 35) Source(77, 11) + SourceIndex(0) +5 >Emitted(75, 47) Source(77, 28) + SourceIndex(0) +6 >Emitted(75, 49) Source(77, 11) + SourceIndex(0) +7 >Emitted(75, 55) Source(77, 17) + SourceIndex(0) +8 >Emitted(75, 75) Source(77, 20) + SourceIndex(0) +9 >Emitted(75, 83) Source(77, 28) + SourceIndex(0) +10>Emitted(75, 89) Source(77, 28) + SourceIndex(0) +11>Emitted(75, 91) Source(77, 30) + SourceIndex(0) +12>Emitted(75, 103) Source(80, 25) + SourceIndex(0) +13>Emitted(75, 105) Source(77, 30) + SourceIndex(0) +14>Emitted(75, 128) Source(80, 5) + SourceIndex(0) +15>Emitted(75, 129) Source(80, 6) + SourceIndex(0) +16>Emitted(75, 137) Source(80, 14) + SourceIndex(0) +17>Emitted(75, 139) Source(80, 16) + SourceIndex(0) +18>Emitted(75, 147) Source(80, 24) + SourceIndex(0) +19>Emitted(75, 148) Source(80, 25) + SourceIndex(0) +20>Emitted(75, 154) Source(80, 25) + SourceIndex(0) +21>Emitted(75, 156) Source(78, 5) + SourceIndex(0) +22>Emitted(75, 168) Source(78, 30) + SourceIndex(0) +23>Emitted(75, 170) Source(78, 5) + SourceIndex(0) +24>Emitted(75, 183) Source(78, 18) + SourceIndex(0) +25>Emitted(75, 203) Source(78, 21) + SourceIndex(0) +26>Emitted(75, 212) Source(78, 30) + SourceIndex(0) +27>Emitted(75, 218) Source(78, 30) + SourceIndex(0) +28>Emitted(75, 220) Source(79, 5) + SourceIndex(0) +29>Emitted(75, 232) Source(79, 34) + SourceIndex(0) +30>Emitted(75, 234) Source(79, 5) + SourceIndex(0) +31>Emitted(75, 249) Source(79, 20) + SourceIndex(0) +32>Emitted(75, 269) Source(79, 23) + SourceIndex(0) +33>Emitted(75, 280) Source(79, 34) + SourceIndex(0) +34>Emitted(75, 286) Source(79, 34) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2480,14 +2481,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameMA 7 > ) 8 > ; -1 >Emitted(75, 5) Source(81, 5) + SourceIndex(0) -2 >Emitted(75, 12) Source(81, 12) + SourceIndex(0) -3 >Emitted(75, 13) Source(81, 13) + SourceIndex(0) -4 >Emitted(75, 16) Source(81, 16) + SourceIndex(0) -5 >Emitted(75, 17) Source(81, 17) + SourceIndex(0) -6 >Emitted(75, 23) Source(81, 23) + SourceIndex(0) -7 >Emitted(75, 24) Source(81, 24) + SourceIndex(0) -8 >Emitted(75, 25) Source(81, 25) + SourceIndex(0) +1 >Emitted(76, 5) Source(81, 5) + SourceIndex(0) +2 >Emitted(76, 12) Source(81, 12) + SourceIndex(0) +3 >Emitted(76, 13) Source(81, 13) + SourceIndex(0) +4 >Emitted(76, 16) Source(81, 16) + SourceIndex(0) +5 >Emitted(76, 17) Source(81, 17) + SourceIndex(0) +6 >Emitted(76, 23) Source(81, 23) + SourceIndex(0) +7 >Emitted(76, 24) Source(81, 24) + SourceIndex(0) +8 >Emitted(76, 25) Source(81, 25) + SourceIndex(0) --- >>>} 1 > @@ -2496,8 +2497,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(76, 1) Source(82, 1) + SourceIndex(0) -2 >Emitted(76, 2) Source(82, 2) + SourceIndex(0) +1 >Emitted(77, 1) Source(82, 1) + SourceIndex(0) +2 >Emitted(77, 2) Source(82, 2) + SourceIndex(0) --- >>>for (var _46 = 0, _47 = getMultiRobots(); _46 < _47.length; _46++) { 1-> @@ -2531,19 +2532,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getMultiRobots() 12> ) 13> { -1->Emitted(77, 1) Source(83, 1) + SourceIndex(0) -2 >Emitted(77, 6) Source(86, 30) + SourceIndex(0) -3 >Emitted(77, 17) Source(86, 46) + SourceIndex(0) -4 >Emitted(77, 19) Source(86, 30) + SourceIndex(0) -5 >Emitted(77, 25) Source(86, 30) + SourceIndex(0) -6 >Emitted(77, 39) Source(86, 44) + SourceIndex(0) -7 >Emitted(77, 41) Source(86, 46) + SourceIndex(0) -8 >Emitted(77, 43) Source(86, 30) + SourceIndex(0) -9 >Emitted(77, 59) Source(86, 46) + SourceIndex(0) -10>Emitted(77, 61) Source(86, 30) + SourceIndex(0) -11>Emitted(77, 66) Source(86, 46) + SourceIndex(0) -12>Emitted(77, 68) Source(86, 48) + SourceIndex(0) -13>Emitted(77, 69) Source(86, 49) + SourceIndex(0) +1->Emitted(78, 1) Source(83, 1) + SourceIndex(0) +2 >Emitted(78, 6) Source(86, 30) + SourceIndex(0) +3 >Emitted(78, 17) Source(86, 46) + SourceIndex(0) +4 >Emitted(78, 19) Source(86, 30) + SourceIndex(0) +5 >Emitted(78, 25) Source(86, 30) + SourceIndex(0) +6 >Emitted(78, 39) Source(86, 44) + SourceIndex(0) +7 >Emitted(78, 41) Source(86, 46) + SourceIndex(0) +8 >Emitted(78, 43) Source(86, 30) + SourceIndex(0) +9 >Emitted(78, 59) Source(86, 46) + SourceIndex(0) +10>Emitted(78, 61) Source(86, 30) + SourceIndex(0) +11>Emitted(78, 66) Source(86, 46) + SourceIndex(0) +12>Emitted(78, 68) Source(86, 48) + SourceIndex(0) +13>Emitted(78, 69) Source(86, 49) + SourceIndex(0) --- >>> var _48 = _47[_46], _49 = _48[0], nameMA = _49 === void 0 ? "noName" : _49, _50 = _48[1], _51 = _50 === void 0 ? ["skill1", "skill2"] : _50, _52 = _51[0], primarySkillA = _52 === void 0 ? "primary" : _52, _53 = _51[1], secondarySkillA = _53 === void 0 ? "secondary" : _53; 1->^^^^ @@ -2624,40 +2625,40 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 32> = 33> "secondary" 34> -1->Emitted(78, 5) Source(83, 10) + SourceIndex(0) -2 >Emitted(78, 9) Source(83, 10) + SourceIndex(0) -3 >Emitted(78, 23) Source(86, 26) + SourceIndex(0) -4 >Emitted(78, 25) Source(83, 11) + SourceIndex(0) -5 >Emitted(78, 37) Source(83, 28) + SourceIndex(0) -6 >Emitted(78, 39) Source(83, 11) + SourceIndex(0) -7 >Emitted(78, 45) Source(83, 17) + SourceIndex(0) -8 >Emitted(78, 65) Source(83, 20) + SourceIndex(0) -9 >Emitted(78, 73) Source(83, 28) + SourceIndex(0) -10>Emitted(78, 79) Source(83, 28) + SourceIndex(0) -11>Emitted(78, 81) Source(83, 30) + SourceIndex(0) -12>Emitted(78, 93) Source(86, 25) + SourceIndex(0) -13>Emitted(78, 95) Source(83, 30) + SourceIndex(0) -14>Emitted(78, 118) Source(86, 5) + SourceIndex(0) -15>Emitted(78, 119) Source(86, 6) + SourceIndex(0) -16>Emitted(78, 127) Source(86, 14) + SourceIndex(0) -17>Emitted(78, 129) Source(86, 16) + SourceIndex(0) -18>Emitted(78, 137) Source(86, 24) + SourceIndex(0) -19>Emitted(78, 138) Source(86, 25) + SourceIndex(0) -20>Emitted(78, 144) Source(86, 25) + SourceIndex(0) -21>Emitted(78, 146) Source(84, 5) + SourceIndex(0) -22>Emitted(78, 158) Source(84, 30) + SourceIndex(0) -23>Emitted(78, 160) Source(84, 5) + SourceIndex(0) -24>Emitted(78, 173) Source(84, 18) + SourceIndex(0) -25>Emitted(78, 193) Source(84, 21) + SourceIndex(0) -26>Emitted(78, 202) Source(84, 30) + SourceIndex(0) -27>Emitted(78, 208) Source(84, 30) + SourceIndex(0) -28>Emitted(78, 210) Source(85, 5) + SourceIndex(0) -29>Emitted(78, 222) Source(85, 34) + SourceIndex(0) -30>Emitted(78, 224) Source(85, 5) + SourceIndex(0) -31>Emitted(78, 239) Source(85, 20) + SourceIndex(0) -32>Emitted(78, 259) Source(85, 23) + SourceIndex(0) -33>Emitted(78, 270) Source(85, 34) + SourceIndex(0) -34>Emitted(78, 276) Source(85, 34) + SourceIndex(0) +1->Emitted(79, 5) Source(83, 10) + SourceIndex(0) +2 >Emitted(79, 9) Source(83, 10) + SourceIndex(0) +3 >Emitted(79, 23) Source(86, 26) + SourceIndex(0) +4 >Emitted(79, 25) Source(83, 11) + SourceIndex(0) +5 >Emitted(79, 37) Source(83, 28) + SourceIndex(0) +6 >Emitted(79, 39) Source(83, 11) + SourceIndex(0) +7 >Emitted(79, 45) Source(83, 17) + SourceIndex(0) +8 >Emitted(79, 65) Source(83, 20) + SourceIndex(0) +9 >Emitted(79, 73) Source(83, 28) + SourceIndex(0) +10>Emitted(79, 79) Source(83, 28) + SourceIndex(0) +11>Emitted(79, 81) Source(83, 30) + SourceIndex(0) +12>Emitted(79, 93) Source(86, 25) + SourceIndex(0) +13>Emitted(79, 95) Source(83, 30) + SourceIndex(0) +14>Emitted(79, 118) Source(86, 5) + SourceIndex(0) +15>Emitted(79, 119) Source(86, 6) + SourceIndex(0) +16>Emitted(79, 127) Source(86, 14) + SourceIndex(0) +17>Emitted(79, 129) Source(86, 16) + SourceIndex(0) +18>Emitted(79, 137) Source(86, 24) + SourceIndex(0) +19>Emitted(79, 138) Source(86, 25) + SourceIndex(0) +20>Emitted(79, 144) Source(86, 25) + SourceIndex(0) +21>Emitted(79, 146) Source(84, 5) + SourceIndex(0) +22>Emitted(79, 158) Source(84, 30) + SourceIndex(0) +23>Emitted(79, 160) Source(84, 5) + SourceIndex(0) +24>Emitted(79, 173) Source(84, 18) + SourceIndex(0) +25>Emitted(79, 193) Source(84, 21) + SourceIndex(0) +26>Emitted(79, 202) Source(84, 30) + SourceIndex(0) +27>Emitted(79, 208) Source(84, 30) + SourceIndex(0) +28>Emitted(79, 210) Source(85, 5) + SourceIndex(0) +29>Emitted(79, 222) Source(85, 34) + SourceIndex(0) +30>Emitted(79, 224) Source(85, 5) + SourceIndex(0) +31>Emitted(79, 239) Source(85, 20) + SourceIndex(0) +32>Emitted(79, 259) Source(85, 23) + SourceIndex(0) +33>Emitted(79, 270) Source(85, 34) + SourceIndex(0) +34>Emitted(79, 276) Source(85, 34) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2678,14 +2679,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameMA 7 > ) 8 > ; -1 >Emitted(79, 5) Source(87, 5) + SourceIndex(0) -2 >Emitted(79, 12) Source(87, 12) + SourceIndex(0) -3 >Emitted(79, 13) Source(87, 13) + SourceIndex(0) -4 >Emitted(79, 16) Source(87, 16) + SourceIndex(0) -5 >Emitted(79, 17) Source(87, 17) + SourceIndex(0) -6 >Emitted(79, 23) Source(87, 23) + SourceIndex(0) -7 >Emitted(79, 24) Source(87, 24) + SourceIndex(0) -8 >Emitted(79, 25) Source(87, 25) + SourceIndex(0) +1 >Emitted(80, 5) Source(87, 5) + SourceIndex(0) +2 >Emitted(80, 12) Source(87, 12) + SourceIndex(0) +3 >Emitted(80, 13) Source(87, 13) + SourceIndex(0) +4 >Emitted(80, 16) Source(87, 16) + SourceIndex(0) +5 >Emitted(80, 17) Source(87, 17) + SourceIndex(0) +6 >Emitted(80, 23) Source(87, 23) + SourceIndex(0) +7 >Emitted(80, 24) Source(87, 24) + SourceIndex(0) +8 >Emitted(80, 25) Source(87, 25) + SourceIndex(0) --- >>>} 1 > @@ -2694,8 +2695,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(80, 1) Source(88, 1) + SourceIndex(0) -2 >Emitted(80, 2) Source(88, 2) + SourceIndex(0) +1 >Emitted(81, 1) Source(88, 1) + SourceIndex(0) +2 >Emitted(81, 2) Source(88, 2) + SourceIndex(0) --- >>>for (var _54 = 0, _55 = [multiRobotA, multiRobotB]; _54 < _55.length; _54++) { 1-> @@ -2733,21 +2734,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(81, 1) Source(89, 1) + SourceIndex(0) -2 >Emitted(81, 6) Source(92, 30) + SourceIndex(0) -3 >Emitted(81, 17) Source(92, 56) + SourceIndex(0) -4 >Emitted(81, 19) Source(92, 30) + SourceIndex(0) -5 >Emitted(81, 26) Source(92, 31) + SourceIndex(0) -6 >Emitted(81, 37) Source(92, 42) + SourceIndex(0) -7 >Emitted(81, 39) Source(92, 44) + SourceIndex(0) -8 >Emitted(81, 50) Source(92, 55) + SourceIndex(0) -9 >Emitted(81, 51) Source(92, 56) + SourceIndex(0) -10>Emitted(81, 53) Source(92, 30) + SourceIndex(0) -11>Emitted(81, 69) Source(92, 56) + SourceIndex(0) -12>Emitted(81, 71) Source(92, 30) + SourceIndex(0) -13>Emitted(81, 76) Source(92, 56) + SourceIndex(0) -14>Emitted(81, 78) Source(92, 58) + SourceIndex(0) -15>Emitted(81, 79) Source(92, 59) + SourceIndex(0) +1->Emitted(82, 1) Source(89, 1) + SourceIndex(0) +2 >Emitted(82, 6) Source(92, 30) + SourceIndex(0) +3 >Emitted(82, 17) Source(92, 56) + SourceIndex(0) +4 >Emitted(82, 19) Source(92, 30) + SourceIndex(0) +5 >Emitted(82, 26) Source(92, 31) + SourceIndex(0) +6 >Emitted(82, 37) Source(92, 42) + SourceIndex(0) +7 >Emitted(82, 39) Source(92, 44) + SourceIndex(0) +8 >Emitted(82, 50) Source(92, 55) + SourceIndex(0) +9 >Emitted(82, 51) Source(92, 56) + SourceIndex(0) +10>Emitted(82, 53) Source(92, 30) + SourceIndex(0) +11>Emitted(82, 69) Source(92, 56) + SourceIndex(0) +12>Emitted(82, 71) Source(92, 30) + SourceIndex(0) +13>Emitted(82, 76) Source(92, 56) + SourceIndex(0) +14>Emitted(82, 78) Source(92, 58) + SourceIndex(0) +15>Emitted(82, 79) Source(92, 59) + SourceIndex(0) --- >>> var _56 = _55[_54], _57 = _56[0], nameMA = _57 === void 0 ? "noName" : _57, _58 = _56[1], _59 = _58 === void 0 ? ["skill1", "skill2"] : _58, _60 = _59[0], primarySkillA = _60 === void 0 ? "primary" : _60, _61 = _59[1], secondarySkillA = _61 === void 0 ? "secondary" : _61; 1->^^^^ @@ -2828,40 +2829,40 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 32> = 33> "secondary" 34> -1->Emitted(82, 5) Source(89, 10) + SourceIndex(0) -2 >Emitted(82, 9) Source(89, 10) + SourceIndex(0) -3 >Emitted(82, 23) Source(92, 26) + SourceIndex(0) -4 >Emitted(82, 25) Source(89, 11) + SourceIndex(0) -5 >Emitted(82, 37) Source(89, 28) + SourceIndex(0) -6 >Emitted(82, 39) Source(89, 11) + SourceIndex(0) -7 >Emitted(82, 45) Source(89, 17) + SourceIndex(0) -8 >Emitted(82, 65) Source(89, 20) + SourceIndex(0) -9 >Emitted(82, 73) Source(89, 28) + SourceIndex(0) -10>Emitted(82, 79) Source(89, 28) + SourceIndex(0) -11>Emitted(82, 81) Source(89, 30) + SourceIndex(0) -12>Emitted(82, 93) Source(92, 25) + SourceIndex(0) -13>Emitted(82, 95) Source(89, 30) + SourceIndex(0) -14>Emitted(82, 118) Source(92, 5) + SourceIndex(0) -15>Emitted(82, 119) Source(92, 6) + SourceIndex(0) -16>Emitted(82, 127) Source(92, 14) + SourceIndex(0) -17>Emitted(82, 129) Source(92, 16) + SourceIndex(0) -18>Emitted(82, 137) Source(92, 24) + SourceIndex(0) -19>Emitted(82, 138) Source(92, 25) + SourceIndex(0) -20>Emitted(82, 144) Source(92, 25) + SourceIndex(0) -21>Emitted(82, 146) Source(90, 5) + SourceIndex(0) -22>Emitted(82, 158) Source(90, 30) + SourceIndex(0) -23>Emitted(82, 160) Source(90, 5) + SourceIndex(0) -24>Emitted(82, 173) Source(90, 18) + SourceIndex(0) -25>Emitted(82, 193) Source(90, 21) + SourceIndex(0) -26>Emitted(82, 202) Source(90, 30) + SourceIndex(0) -27>Emitted(82, 208) Source(90, 30) + SourceIndex(0) -28>Emitted(82, 210) Source(91, 5) + SourceIndex(0) -29>Emitted(82, 222) Source(91, 34) + SourceIndex(0) -30>Emitted(82, 224) Source(91, 5) + SourceIndex(0) -31>Emitted(82, 239) Source(91, 20) + SourceIndex(0) -32>Emitted(82, 259) Source(91, 23) + SourceIndex(0) -33>Emitted(82, 270) Source(91, 34) + SourceIndex(0) -34>Emitted(82, 276) Source(91, 34) + SourceIndex(0) +1->Emitted(83, 5) Source(89, 10) + SourceIndex(0) +2 >Emitted(83, 9) Source(89, 10) + SourceIndex(0) +3 >Emitted(83, 23) Source(92, 26) + SourceIndex(0) +4 >Emitted(83, 25) Source(89, 11) + SourceIndex(0) +5 >Emitted(83, 37) Source(89, 28) + SourceIndex(0) +6 >Emitted(83, 39) Source(89, 11) + SourceIndex(0) +7 >Emitted(83, 45) Source(89, 17) + SourceIndex(0) +8 >Emitted(83, 65) Source(89, 20) + SourceIndex(0) +9 >Emitted(83, 73) Source(89, 28) + SourceIndex(0) +10>Emitted(83, 79) Source(89, 28) + SourceIndex(0) +11>Emitted(83, 81) Source(89, 30) + SourceIndex(0) +12>Emitted(83, 93) Source(92, 25) + SourceIndex(0) +13>Emitted(83, 95) Source(89, 30) + SourceIndex(0) +14>Emitted(83, 118) Source(92, 5) + SourceIndex(0) +15>Emitted(83, 119) Source(92, 6) + SourceIndex(0) +16>Emitted(83, 127) Source(92, 14) + SourceIndex(0) +17>Emitted(83, 129) Source(92, 16) + SourceIndex(0) +18>Emitted(83, 137) Source(92, 24) + SourceIndex(0) +19>Emitted(83, 138) Source(92, 25) + SourceIndex(0) +20>Emitted(83, 144) Source(92, 25) + SourceIndex(0) +21>Emitted(83, 146) Source(90, 5) + SourceIndex(0) +22>Emitted(83, 158) Source(90, 30) + SourceIndex(0) +23>Emitted(83, 160) Source(90, 5) + SourceIndex(0) +24>Emitted(83, 173) Source(90, 18) + SourceIndex(0) +25>Emitted(83, 193) Source(90, 21) + SourceIndex(0) +26>Emitted(83, 202) Source(90, 30) + SourceIndex(0) +27>Emitted(83, 208) Source(90, 30) + SourceIndex(0) +28>Emitted(83, 210) Source(91, 5) + SourceIndex(0) +29>Emitted(83, 222) Source(91, 34) + SourceIndex(0) +30>Emitted(83, 224) Source(91, 5) + SourceIndex(0) +31>Emitted(83, 239) Source(91, 20) + SourceIndex(0) +32>Emitted(83, 259) Source(91, 23) + SourceIndex(0) +33>Emitted(83, 270) Source(91, 34) + SourceIndex(0) +34>Emitted(83, 276) Source(91, 34) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2882,14 +2883,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameMA 7 > ) 8 > ; -1 >Emitted(83, 5) Source(93, 5) + SourceIndex(0) -2 >Emitted(83, 12) Source(93, 12) + SourceIndex(0) -3 >Emitted(83, 13) Source(93, 13) + SourceIndex(0) -4 >Emitted(83, 16) Source(93, 16) + SourceIndex(0) -5 >Emitted(83, 17) Source(93, 17) + SourceIndex(0) -6 >Emitted(83, 23) Source(93, 23) + SourceIndex(0) -7 >Emitted(83, 24) Source(93, 24) + SourceIndex(0) -8 >Emitted(83, 25) Source(93, 25) + SourceIndex(0) +1 >Emitted(84, 5) Source(93, 5) + SourceIndex(0) +2 >Emitted(84, 12) Source(93, 12) + SourceIndex(0) +3 >Emitted(84, 13) Source(93, 13) + SourceIndex(0) +4 >Emitted(84, 16) Source(93, 16) + SourceIndex(0) +5 >Emitted(84, 17) Source(93, 17) + SourceIndex(0) +6 >Emitted(84, 23) Source(93, 23) + SourceIndex(0) +7 >Emitted(84, 24) Source(93, 24) + SourceIndex(0) +8 >Emitted(84, 25) Source(93, 25) + SourceIndex(0) --- >>>} 1 > @@ -2898,8 +2899,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(84, 1) Source(94, 1) + SourceIndex(0) -2 >Emitted(84, 2) Source(94, 2) + SourceIndex(0) +1 >Emitted(85, 1) Source(94, 1) + SourceIndex(0) +2 >Emitted(85, 2) Source(94, 2) + SourceIndex(0) --- >>>for (var _62 = 0, robots_4 = robots; _62 < robots_4.length; _62++) { 1-> @@ -2927,17 +2928,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > robots 10> ) 11> { -1->Emitted(85, 1) Source(96, 1) + SourceIndex(0) -2 >Emitted(85, 6) Source(96, 44) + SourceIndex(0) -3 >Emitted(85, 17) Source(96, 50) + SourceIndex(0) -4 >Emitted(85, 19) Source(96, 44) + SourceIndex(0) -5 >Emitted(85, 36) Source(96, 50) + SourceIndex(0) -6 >Emitted(85, 38) Source(96, 44) + SourceIndex(0) -7 >Emitted(85, 59) Source(96, 50) + SourceIndex(0) -8 >Emitted(85, 61) Source(96, 44) + SourceIndex(0) -9 >Emitted(85, 66) Source(96, 50) + SourceIndex(0) -10>Emitted(85, 68) Source(96, 52) + SourceIndex(0) -11>Emitted(85, 69) Source(96, 53) + SourceIndex(0) +1->Emitted(86, 1) Source(96, 1) + SourceIndex(0) +2 >Emitted(86, 6) Source(96, 44) + SourceIndex(0) +3 >Emitted(86, 17) Source(96, 50) + SourceIndex(0) +4 >Emitted(86, 19) Source(96, 44) + SourceIndex(0) +5 >Emitted(86, 36) Source(96, 50) + SourceIndex(0) +6 >Emitted(86, 38) Source(96, 44) + SourceIndex(0) +7 >Emitted(86, 59) Source(96, 50) + SourceIndex(0) +8 >Emitted(86, 61) Source(96, 44) + SourceIndex(0) +9 >Emitted(86, 66) Source(96, 50) + SourceIndex(0) +10>Emitted(86, 68) Source(96, 52) + SourceIndex(0) +11>Emitted(86, 69) Source(96, 53) + SourceIndex(0) --- >>> var _63 = robots_4[_62], _64 = _63[0], numberA3 = _64 === void 0 ? -1 : _64, robotAInfo = _63.slice(1); 1->^^^^ @@ -2968,20 +2969,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 12> , ... 13> robotAInfo 14> -1->Emitted(86, 5) Source(96, 10) + SourceIndex(0) -2 >Emitted(86, 9) Source(96, 10) + SourceIndex(0) -3 >Emitted(86, 28) Source(96, 40) + SourceIndex(0) -4 >Emitted(86, 30) Source(96, 11) + SourceIndex(0) -5 >Emitted(86, 42) Source(96, 24) + SourceIndex(0) -6 >Emitted(86, 44) Source(96, 11) + SourceIndex(0) -7 >Emitted(86, 52) Source(96, 19) + SourceIndex(0) -8 >Emitted(86, 72) Source(96, 22) + SourceIndex(0) -9 >Emitted(86, 73) Source(96, 23) + SourceIndex(0) -10>Emitted(86, 74) Source(96, 24) + SourceIndex(0) -11>Emitted(86, 80) Source(96, 24) + SourceIndex(0) -12>Emitted(86, 82) Source(96, 29) + SourceIndex(0) -13>Emitted(86, 92) Source(96, 39) + SourceIndex(0) -14>Emitted(86, 107) Source(96, 39) + SourceIndex(0) +1->Emitted(87, 5) Source(96, 10) + SourceIndex(0) +2 >Emitted(87, 9) Source(96, 10) + SourceIndex(0) +3 >Emitted(87, 28) Source(96, 40) + SourceIndex(0) +4 >Emitted(87, 30) Source(96, 11) + SourceIndex(0) +5 >Emitted(87, 42) Source(96, 24) + SourceIndex(0) +6 >Emitted(87, 44) Source(96, 11) + SourceIndex(0) +7 >Emitted(87, 52) Source(96, 19) + SourceIndex(0) +8 >Emitted(87, 72) Source(96, 22) + SourceIndex(0) +9 >Emitted(87, 73) Source(96, 23) + SourceIndex(0) +10>Emitted(87, 74) Source(96, 24) + SourceIndex(0) +11>Emitted(87, 80) Source(96, 24) + SourceIndex(0) +12>Emitted(87, 82) Source(96, 29) + SourceIndex(0) +13>Emitted(87, 92) Source(96, 39) + SourceIndex(0) +14>Emitted(87, 107) Source(96, 39) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -3001,14 +3002,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberA3 7 > ) 8 > ; -1 >Emitted(87, 5) Source(97, 5) + SourceIndex(0) -2 >Emitted(87, 12) Source(97, 12) + SourceIndex(0) -3 >Emitted(87, 13) Source(97, 13) + SourceIndex(0) -4 >Emitted(87, 16) Source(97, 16) + SourceIndex(0) -5 >Emitted(87, 17) Source(97, 17) + SourceIndex(0) -6 >Emitted(87, 25) Source(97, 25) + SourceIndex(0) -7 >Emitted(87, 26) Source(97, 26) + SourceIndex(0) -8 >Emitted(87, 27) Source(97, 27) + SourceIndex(0) +1 >Emitted(88, 5) Source(97, 5) + SourceIndex(0) +2 >Emitted(88, 12) Source(97, 12) + SourceIndex(0) +3 >Emitted(88, 13) Source(97, 13) + SourceIndex(0) +4 >Emitted(88, 16) Source(97, 16) + SourceIndex(0) +5 >Emitted(88, 17) Source(97, 17) + SourceIndex(0) +6 >Emitted(88, 25) Source(97, 25) + SourceIndex(0) +7 >Emitted(88, 26) Source(97, 26) + SourceIndex(0) +8 >Emitted(88, 27) Source(97, 27) + SourceIndex(0) --- >>>} 1 > @@ -3017,8 +3018,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(88, 1) Source(98, 1) + SourceIndex(0) -2 >Emitted(88, 2) Source(98, 2) + SourceIndex(0) +1 >Emitted(89, 1) Source(98, 1) + SourceIndex(0) +2 >Emitted(89, 2) Source(98, 2) + SourceIndex(0) --- >>>for (var _65 = 0, _66 = getRobots(); _65 < _66.length; _65++) { 1-> @@ -3049,19 +3050,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getRobots() 12> ) 13> { -1->Emitted(89, 1) Source(99, 1) + SourceIndex(0) -2 >Emitted(89, 6) Source(99, 44) + SourceIndex(0) -3 >Emitted(89, 17) Source(99, 55) + SourceIndex(0) -4 >Emitted(89, 19) Source(99, 44) + SourceIndex(0) -5 >Emitted(89, 25) Source(99, 44) + SourceIndex(0) -6 >Emitted(89, 34) Source(99, 53) + SourceIndex(0) -7 >Emitted(89, 36) Source(99, 55) + SourceIndex(0) -8 >Emitted(89, 38) Source(99, 44) + SourceIndex(0) -9 >Emitted(89, 54) Source(99, 55) + SourceIndex(0) -10>Emitted(89, 56) Source(99, 44) + SourceIndex(0) -11>Emitted(89, 61) Source(99, 55) + SourceIndex(0) -12>Emitted(89, 63) Source(99, 57) + SourceIndex(0) -13>Emitted(89, 64) Source(99, 58) + SourceIndex(0) +1->Emitted(90, 1) Source(99, 1) + SourceIndex(0) +2 >Emitted(90, 6) Source(99, 44) + SourceIndex(0) +3 >Emitted(90, 17) Source(99, 55) + SourceIndex(0) +4 >Emitted(90, 19) Source(99, 44) + SourceIndex(0) +5 >Emitted(90, 25) Source(99, 44) + SourceIndex(0) +6 >Emitted(90, 34) Source(99, 53) + SourceIndex(0) +7 >Emitted(90, 36) Source(99, 55) + SourceIndex(0) +8 >Emitted(90, 38) Source(99, 44) + SourceIndex(0) +9 >Emitted(90, 54) Source(99, 55) + SourceIndex(0) +10>Emitted(90, 56) Source(99, 44) + SourceIndex(0) +11>Emitted(90, 61) Source(99, 55) + SourceIndex(0) +12>Emitted(90, 63) Source(99, 57) + SourceIndex(0) +13>Emitted(90, 64) Source(99, 58) + SourceIndex(0) --- >>> var _67 = _66[_65], _68 = _67[0], numberA3 = _68 === void 0 ? -1 : _68, robotAInfo = _67.slice(1); 1->^^^^ @@ -3092,20 +3093,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 12> , ... 13> robotAInfo 14> -1->Emitted(90, 5) Source(99, 10) + SourceIndex(0) -2 >Emitted(90, 9) Source(99, 10) + SourceIndex(0) -3 >Emitted(90, 23) Source(99, 40) + SourceIndex(0) -4 >Emitted(90, 25) Source(99, 11) + SourceIndex(0) -5 >Emitted(90, 37) Source(99, 24) + SourceIndex(0) -6 >Emitted(90, 39) Source(99, 11) + SourceIndex(0) -7 >Emitted(90, 47) Source(99, 19) + SourceIndex(0) -8 >Emitted(90, 67) Source(99, 22) + SourceIndex(0) -9 >Emitted(90, 68) Source(99, 23) + SourceIndex(0) -10>Emitted(90, 69) Source(99, 24) + SourceIndex(0) -11>Emitted(90, 75) Source(99, 24) + SourceIndex(0) -12>Emitted(90, 77) Source(99, 29) + SourceIndex(0) -13>Emitted(90, 87) Source(99, 39) + SourceIndex(0) -14>Emitted(90, 102) Source(99, 39) + SourceIndex(0) +1->Emitted(91, 5) Source(99, 10) + SourceIndex(0) +2 >Emitted(91, 9) Source(99, 10) + SourceIndex(0) +3 >Emitted(91, 23) Source(99, 40) + SourceIndex(0) +4 >Emitted(91, 25) Source(99, 11) + SourceIndex(0) +5 >Emitted(91, 37) Source(99, 24) + SourceIndex(0) +6 >Emitted(91, 39) Source(99, 11) + SourceIndex(0) +7 >Emitted(91, 47) Source(99, 19) + SourceIndex(0) +8 >Emitted(91, 67) Source(99, 22) + SourceIndex(0) +9 >Emitted(91, 68) Source(99, 23) + SourceIndex(0) +10>Emitted(91, 69) Source(99, 24) + SourceIndex(0) +11>Emitted(91, 75) Source(99, 24) + SourceIndex(0) +12>Emitted(91, 77) Source(99, 29) + SourceIndex(0) +13>Emitted(91, 87) Source(99, 39) + SourceIndex(0) +14>Emitted(91, 102) Source(99, 39) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -3125,14 +3126,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberA3 7 > ) 8 > ; -1 >Emitted(91, 5) Source(100, 5) + SourceIndex(0) -2 >Emitted(91, 12) Source(100, 12) + SourceIndex(0) -3 >Emitted(91, 13) Source(100, 13) + SourceIndex(0) -4 >Emitted(91, 16) Source(100, 16) + SourceIndex(0) -5 >Emitted(91, 17) Source(100, 17) + SourceIndex(0) -6 >Emitted(91, 25) Source(100, 25) + SourceIndex(0) -7 >Emitted(91, 26) Source(100, 26) + SourceIndex(0) -8 >Emitted(91, 27) Source(100, 27) + SourceIndex(0) +1 >Emitted(92, 5) Source(100, 5) + SourceIndex(0) +2 >Emitted(92, 12) Source(100, 12) + SourceIndex(0) +3 >Emitted(92, 13) Source(100, 13) + SourceIndex(0) +4 >Emitted(92, 16) Source(100, 16) + SourceIndex(0) +5 >Emitted(92, 17) Source(100, 17) + SourceIndex(0) +6 >Emitted(92, 25) Source(100, 25) + SourceIndex(0) +7 >Emitted(92, 26) Source(100, 26) + SourceIndex(0) +8 >Emitted(92, 27) Source(100, 27) + SourceIndex(0) --- >>>} 1 > @@ -3141,8 +3142,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(92, 1) Source(101, 1) + SourceIndex(0) -2 >Emitted(92, 2) Source(101, 2) + SourceIndex(0) +1 >Emitted(93, 1) Source(101, 1) + SourceIndex(0) +2 >Emitted(93, 2) Source(101, 2) + SourceIndex(0) --- >>>for (var _69 = 0, _70 = [robotA, robotB]; _69 < _70.length; _69++) { 1-> @@ -3177,21 +3178,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [robotA, robotB] 14> ) 15> { -1->Emitted(93, 1) Source(102, 1) + SourceIndex(0) -2 >Emitted(93, 6) Source(102, 44) + SourceIndex(0) -3 >Emitted(93, 17) Source(102, 60) + SourceIndex(0) -4 >Emitted(93, 19) Source(102, 44) + SourceIndex(0) -5 >Emitted(93, 26) Source(102, 45) + SourceIndex(0) -6 >Emitted(93, 32) Source(102, 51) + SourceIndex(0) -7 >Emitted(93, 34) Source(102, 53) + SourceIndex(0) -8 >Emitted(93, 40) Source(102, 59) + SourceIndex(0) -9 >Emitted(93, 41) Source(102, 60) + SourceIndex(0) -10>Emitted(93, 43) Source(102, 44) + SourceIndex(0) -11>Emitted(93, 59) Source(102, 60) + SourceIndex(0) -12>Emitted(93, 61) Source(102, 44) + SourceIndex(0) -13>Emitted(93, 66) Source(102, 60) + SourceIndex(0) -14>Emitted(93, 68) Source(102, 62) + SourceIndex(0) -15>Emitted(93, 69) Source(102, 63) + SourceIndex(0) +1->Emitted(94, 1) Source(102, 1) + SourceIndex(0) +2 >Emitted(94, 6) Source(102, 44) + SourceIndex(0) +3 >Emitted(94, 17) Source(102, 60) + SourceIndex(0) +4 >Emitted(94, 19) Source(102, 44) + SourceIndex(0) +5 >Emitted(94, 26) Source(102, 45) + SourceIndex(0) +6 >Emitted(94, 32) Source(102, 51) + SourceIndex(0) +7 >Emitted(94, 34) Source(102, 53) + SourceIndex(0) +8 >Emitted(94, 40) Source(102, 59) + SourceIndex(0) +9 >Emitted(94, 41) Source(102, 60) + SourceIndex(0) +10>Emitted(94, 43) Source(102, 44) + SourceIndex(0) +11>Emitted(94, 59) Source(102, 60) + SourceIndex(0) +12>Emitted(94, 61) Source(102, 44) + SourceIndex(0) +13>Emitted(94, 66) Source(102, 60) + SourceIndex(0) +14>Emitted(94, 68) Source(102, 62) + SourceIndex(0) +15>Emitted(94, 69) Source(102, 63) + SourceIndex(0) --- >>> var _71 = _70[_69], _72 = _71[0], numberA3 = _72 === void 0 ? -1 : _72, robotAInfo = _71.slice(1); 1->^^^^ @@ -3222,20 +3223,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 12> , ... 13> robotAInfo 14> -1->Emitted(94, 5) Source(102, 10) + SourceIndex(0) -2 >Emitted(94, 9) Source(102, 10) + SourceIndex(0) -3 >Emitted(94, 23) Source(102, 40) + SourceIndex(0) -4 >Emitted(94, 25) Source(102, 11) + SourceIndex(0) -5 >Emitted(94, 37) Source(102, 24) + SourceIndex(0) -6 >Emitted(94, 39) Source(102, 11) + SourceIndex(0) -7 >Emitted(94, 47) Source(102, 19) + SourceIndex(0) -8 >Emitted(94, 67) Source(102, 22) + SourceIndex(0) -9 >Emitted(94, 68) Source(102, 23) + SourceIndex(0) -10>Emitted(94, 69) Source(102, 24) + SourceIndex(0) -11>Emitted(94, 75) Source(102, 24) + SourceIndex(0) -12>Emitted(94, 77) Source(102, 29) + SourceIndex(0) -13>Emitted(94, 87) Source(102, 39) + SourceIndex(0) -14>Emitted(94, 102) Source(102, 39) + SourceIndex(0) +1->Emitted(95, 5) Source(102, 10) + SourceIndex(0) +2 >Emitted(95, 9) Source(102, 10) + SourceIndex(0) +3 >Emitted(95, 23) Source(102, 40) + SourceIndex(0) +4 >Emitted(95, 25) Source(102, 11) + SourceIndex(0) +5 >Emitted(95, 37) Source(102, 24) + SourceIndex(0) +6 >Emitted(95, 39) Source(102, 11) + SourceIndex(0) +7 >Emitted(95, 47) Source(102, 19) + SourceIndex(0) +8 >Emitted(95, 67) Source(102, 22) + SourceIndex(0) +9 >Emitted(95, 68) Source(102, 23) + SourceIndex(0) +10>Emitted(95, 69) Source(102, 24) + SourceIndex(0) +11>Emitted(95, 75) Source(102, 24) + SourceIndex(0) +12>Emitted(95, 77) Source(102, 29) + SourceIndex(0) +13>Emitted(95, 87) Source(102, 39) + SourceIndex(0) +14>Emitted(95, 102) Source(102, 39) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -3255,14 +3256,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberA3 7 > ) 8 > ; -1 >Emitted(95, 5) Source(103, 5) + SourceIndex(0) -2 >Emitted(95, 12) Source(103, 12) + SourceIndex(0) -3 >Emitted(95, 13) Source(103, 13) + SourceIndex(0) -4 >Emitted(95, 16) Source(103, 16) + SourceIndex(0) -5 >Emitted(95, 17) Source(103, 17) + SourceIndex(0) -6 >Emitted(95, 25) Source(103, 25) + SourceIndex(0) -7 >Emitted(95, 26) Source(103, 26) + SourceIndex(0) -8 >Emitted(95, 27) Source(103, 27) + SourceIndex(0) +1 >Emitted(96, 5) Source(103, 5) + SourceIndex(0) +2 >Emitted(96, 12) Source(103, 12) + SourceIndex(0) +3 >Emitted(96, 13) Source(103, 13) + SourceIndex(0) +4 >Emitted(96, 16) Source(103, 16) + SourceIndex(0) +5 >Emitted(96, 17) Source(103, 17) + SourceIndex(0) +6 >Emitted(96, 25) Source(103, 25) + SourceIndex(0) +7 >Emitted(96, 26) Source(103, 26) + SourceIndex(0) +8 >Emitted(96, 27) Source(103, 27) + SourceIndex(0) --- >>>} 1 > @@ -3271,7 +3272,7 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(96, 1) Source(104, 1) + SourceIndex(0) -2 >Emitted(96, 2) Source(104, 2) + SourceIndex(0) +1 >Emitted(97, 1) Source(104, 1) + SourceIndex(0) +2 >Emitted(97, 2) Source(104, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js index 2d1a061fdc684..7dbadab1d9c1f 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js @@ -112,6 +112,7 @@ for ([numberA3 = -1, ...robotAInfo] of [robotA, robotB]) { } //// [sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38; var robotA = [1, "mower", "mowing"]; var robotB = [2, "trimmer", "trimming"]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js.map index a99e2fd08a5f3..5d1416b090c8b 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.ts"],"names":[],"mappings":";AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAC/C,IAAI,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC9B,SAAS,SAAS;IACd,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AACzE,IAAI,WAAW,GAAG,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;AAC7C,SAAS,cAAc;IACnB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,IAAI,KAAa,EAAE,aAAqB,EAAE,eAAuB,CAAC;AAClE,IAAI,OAAe,EAAE,KAAa,CAAC;AACnC,IAAI,QAAgB,EAAE,MAAc,EAAE,OAAe,EAAE,MAAc,CAAC;AACtE,IAAI,QAAgB,EAAE,UAA+B,EAAE,eAA8C,CAAC;AAEtG,KAA6B,UAAM,EAAN,iBAAM,EAAN,oBAAM,EAAN,IAAM,EAAE,CAAC;uBAA9B,UAAgB,EAAhB,KAAK,mBAAG,QAAQ,KAAA;IACpB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAA6B,WAAW,EAAX,MAAA,SAAS,EAAE,EAAX,gBAAW,EAAX,KAAW,EAAE,CAA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AgICBwcmltYXJ5U2tpbGxBID0gInByaW1hcnkiLAogICAgc2Vjb25kYXJ5U2tpbGxBID0gInNlY29uZGFyeSIKXSA9IFsic2tpbGwxIiwgInNraWxsMiJdXSBvZiBnZXRNdWx0aVJvYm90cygpKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lTUEpOwp9CmZvciAoW25hbWVNQSA9ICJub05hbWUiLCBbCiAgICBwcmltYXJ5U2tpbGxBID0gInByaW1hcnkiLAogICAgc2Vjb25kYXJ5U2tpbGxBID0gInNlY29uZGFyeSIKXSA9IFsic2tpbGwxIiwgInNraWxsMiJdXSBvZiBbbXVsdGlSb2JvdEEsIG11bHRpUm9ib3RCXSkgewogICAgY29uc29sZS5sb2cobmFtZU1BKTsKfQoKZm9yIChbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gb2Ygcm9ib3RzKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gb2YgZ2V0Um9ib3RzKCkpIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKFtudW1iZXJBMyA9IC0xLCAuLi5yb2JvdEFJbmZvXSBvZiBbcm9ib3RBLCByb2JvdEJdKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0= +{"version":3,"file":"sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.ts"],"names":[],"mappings":";;AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAC/C,IAAI,MAAM,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAC9B,SAAS,SAAS;IACd,OAAO,MAAM,CAAC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IG11bHRpUm9ib3RCXSkgewogICAgY29uc29sZS5sb2cobmFtZU1BKTsKfQoKZm9yIChbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gb2Ygcm9ib3RzKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0KZm9yIChbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb10gb2YgZ2V0Um9ib3RzKCkpIHsKICAgIGNvbnNvbGUubG9nKG51bWJlckEzKTsKfQpmb3IgKFtudW1iZXJBMyA9IC0xLCAuLi5yb2JvdEFJbmZvXSBvZiBbcm9ib3RBLCByb2JvdEJdKSB7CiAgICBjb25zb2xlLmxvZyhudW1iZXJBMyk7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.sourcemap.txt index fff55cd8029e4..dc56147c6b882 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2. emittedFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38; >>>var robotA = [1, "mower", "mowing"]; 1 > @@ -41,18 +42,18 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 10> "mowing" 11> ] 12> ; -1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(7, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(7, 21) + SourceIndex(0) -5 >Emitted(2, 15) Source(7, 22) + SourceIndex(0) -6 >Emitted(2, 16) Source(7, 23) + SourceIndex(0) -7 >Emitted(2, 18) Source(7, 25) + SourceIndex(0) -8 >Emitted(2, 25) Source(7, 32) + SourceIndex(0) -9 >Emitted(2, 27) Source(7, 34) + SourceIndex(0) -10>Emitted(2, 35) Source(7, 42) + SourceIndex(0) -11>Emitted(2, 36) Source(7, 43) + SourceIndex(0) -12>Emitted(2, 37) Source(7, 44) + SourceIndex(0) +1 >Emitted(3, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(7, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(7, 21) + SourceIndex(0) +5 >Emitted(3, 15) Source(7, 22) + SourceIndex(0) +6 >Emitted(3, 16) Source(7, 23) + SourceIndex(0) +7 >Emitted(3, 18) Source(7, 25) + SourceIndex(0) +8 >Emitted(3, 25) Source(7, 32) + SourceIndex(0) +9 >Emitted(3, 27) Source(7, 34) + SourceIndex(0) +10>Emitted(3, 35) Source(7, 42) + SourceIndex(0) +11>Emitted(3, 36) Source(7, 43) + SourceIndex(0) +12>Emitted(3, 37) Source(7, 44) + SourceIndex(0) --- >>>var robotB = [2, "trimmer", "trimming"]; 1-> @@ -80,18 +81,18 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 10> "trimming" 11> ] 12> ; -1->Emitted(3, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(3, 11) Source(8, 11) + SourceIndex(0) -4 >Emitted(3, 14) Source(8, 21) + SourceIndex(0) -5 >Emitted(3, 15) Source(8, 22) + SourceIndex(0) -6 >Emitted(3, 16) Source(8, 23) + SourceIndex(0) -7 >Emitted(3, 18) Source(8, 25) + SourceIndex(0) -8 >Emitted(3, 27) Source(8, 34) + SourceIndex(0) -9 >Emitted(3, 29) Source(8, 36) + SourceIndex(0) -10>Emitted(3, 39) Source(8, 46) + SourceIndex(0) -11>Emitted(3, 40) Source(8, 47) + SourceIndex(0) -12>Emitted(3, 41) Source(8, 48) + SourceIndex(0) +1->Emitted(4, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(4, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(4, 14) Source(8, 21) + SourceIndex(0) +5 >Emitted(4, 15) Source(8, 22) + SourceIndex(0) +6 >Emitted(4, 16) Source(8, 23) + SourceIndex(0) +7 >Emitted(4, 18) Source(8, 25) + SourceIndex(0) +8 >Emitted(4, 27) Source(8, 34) + SourceIndex(0) +9 >Emitted(4, 29) Source(8, 36) + SourceIndex(0) +10>Emitted(4, 39) Source(8, 46) + SourceIndex(0) +11>Emitted(4, 40) Source(8, 47) + SourceIndex(0) +12>Emitted(4, 41) Source(8, 48) + SourceIndex(0) --- >>>var robots = [robotA, robotB]; 1 > @@ -115,16 +116,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 8 > robotB 9 > ] 10> ; -1 >Emitted(4, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(4, 5) Source(9, 5) + SourceIndex(0) -3 >Emitted(4, 11) Source(9, 11) + SourceIndex(0) -4 >Emitted(4, 14) Source(9, 14) + SourceIndex(0) -5 >Emitted(4, 15) Source(9, 15) + SourceIndex(0) -6 >Emitted(4, 21) Source(9, 21) + SourceIndex(0) -7 >Emitted(4, 23) Source(9, 23) + SourceIndex(0) -8 >Emitted(4, 29) Source(9, 29) + SourceIndex(0) -9 >Emitted(4, 30) Source(9, 30) + SourceIndex(0) -10>Emitted(4, 31) Source(9, 31) + SourceIndex(0) +1 >Emitted(5, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(5, 5) Source(9, 5) + SourceIndex(0) +3 >Emitted(5, 11) Source(9, 11) + SourceIndex(0) +4 >Emitted(5, 14) Source(9, 14) + SourceIndex(0) +5 >Emitted(5, 15) Source(9, 15) + SourceIndex(0) +6 >Emitted(5, 21) Source(9, 21) + SourceIndex(0) +7 >Emitted(5, 23) Source(9, 23) + SourceIndex(0) +8 >Emitted(5, 29) Source(9, 29) + SourceIndex(0) +9 >Emitted(5, 30) Source(9, 30) + SourceIndex(0) +10>Emitted(5, 31) Source(9, 31) + SourceIndex(0) --- >>>function getRobots() { 1 > @@ -135,9 +136,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues > 2 >function 3 > getRobots -1 >Emitted(5, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(5, 10) Source(10, 10) + SourceIndex(0) -3 >Emitted(5, 19) Source(10, 19) + SourceIndex(0) +1 >Emitted(6, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(6, 10) Source(10, 10) + SourceIndex(0) +3 >Emitted(6, 19) Source(10, 19) + SourceIndex(0) --- >>> return robots; 1->^^^^ @@ -149,10 +150,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 2 > return 3 > robots 4 > ; -1->Emitted(6, 5) Source(11, 5) + SourceIndex(0) -2 >Emitted(6, 12) Source(11, 12) + SourceIndex(0) -3 >Emitted(6, 18) Source(11, 18) + SourceIndex(0) -4 >Emitted(6, 19) Source(11, 19) + SourceIndex(0) +1->Emitted(7, 5) Source(11, 5) + SourceIndex(0) +2 >Emitted(7, 12) Source(11, 12) + SourceIndex(0) +3 >Emitted(7, 18) Source(11, 18) + SourceIndex(0) +4 >Emitted(7, 19) Source(11, 19) + SourceIndex(0) --- >>>} 1 > @@ -161,8 +162,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(7, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(12, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(12, 2) + SourceIndex(0) --- >>>var multiRobotA = ["mower", ["mowing", ""]]; 1-> @@ -196,20 +197,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 12> ] 13> ] 14> ; -1->Emitted(8, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(8, 5) Source(14, 5) + SourceIndex(0) -3 >Emitted(8, 16) Source(14, 16) + SourceIndex(0) -4 >Emitted(8, 19) Source(14, 38) + SourceIndex(0) -5 >Emitted(8, 20) Source(14, 39) + SourceIndex(0) -6 >Emitted(8, 27) Source(14, 46) + SourceIndex(0) -7 >Emitted(8, 29) Source(14, 48) + SourceIndex(0) -8 >Emitted(8, 30) Source(14, 49) + SourceIndex(0) -9 >Emitted(8, 38) Source(14, 57) + SourceIndex(0) -10>Emitted(8, 40) Source(14, 59) + SourceIndex(0) -11>Emitted(8, 42) Source(14, 61) + SourceIndex(0) -12>Emitted(8, 43) Source(14, 62) + SourceIndex(0) -13>Emitted(8, 44) Source(14, 63) + SourceIndex(0) -14>Emitted(8, 45) Source(14, 64) + SourceIndex(0) +1->Emitted(9, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(9, 5) Source(14, 5) + SourceIndex(0) +3 >Emitted(9, 16) Source(14, 16) + SourceIndex(0) +4 >Emitted(9, 19) Source(14, 38) + SourceIndex(0) +5 >Emitted(9, 20) Source(14, 39) + SourceIndex(0) +6 >Emitted(9, 27) Source(14, 46) + SourceIndex(0) +7 >Emitted(9, 29) Source(14, 48) + SourceIndex(0) +8 >Emitted(9, 30) Source(14, 49) + SourceIndex(0) +9 >Emitted(9, 38) Source(14, 57) + SourceIndex(0) +10>Emitted(9, 40) Source(14, 59) + SourceIndex(0) +11>Emitted(9, 42) Source(14, 61) + SourceIndex(0) +12>Emitted(9, 43) Source(14, 62) + SourceIndex(0) +13>Emitted(9, 44) Source(14, 63) + SourceIndex(0) +14>Emitted(9, 45) Source(14, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -241,20 +242,20 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 12> ] 13> ] 14> ; -1->Emitted(9, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(9, 5) Source(15, 5) + SourceIndex(0) -3 >Emitted(9, 16) Source(15, 16) + SourceIndex(0) -4 >Emitted(9, 19) Source(15, 38) + SourceIndex(0) -5 >Emitted(9, 20) Source(15, 39) + SourceIndex(0) -6 >Emitted(9, 29) Source(15, 48) + SourceIndex(0) -7 >Emitted(9, 31) Source(15, 50) + SourceIndex(0) -8 >Emitted(9, 32) Source(15, 51) + SourceIndex(0) -9 >Emitted(9, 42) Source(15, 61) + SourceIndex(0) -10>Emitted(9, 44) Source(15, 63) + SourceIndex(0) -11>Emitted(9, 52) Source(15, 71) + SourceIndex(0) -12>Emitted(9, 53) Source(15, 72) + SourceIndex(0) -13>Emitted(9, 54) Source(15, 73) + SourceIndex(0) -14>Emitted(9, 55) Source(15, 74) + SourceIndex(0) +1->Emitted(10, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(10, 5) Source(15, 5) + SourceIndex(0) +3 >Emitted(10, 16) Source(15, 16) + SourceIndex(0) +4 >Emitted(10, 19) Source(15, 38) + SourceIndex(0) +5 >Emitted(10, 20) Source(15, 39) + SourceIndex(0) +6 >Emitted(10, 29) Source(15, 48) + SourceIndex(0) +7 >Emitted(10, 31) Source(15, 50) + SourceIndex(0) +8 >Emitted(10, 32) Source(15, 51) + SourceIndex(0) +9 >Emitted(10, 42) Source(15, 61) + SourceIndex(0) +10>Emitted(10, 44) Source(15, 63) + SourceIndex(0) +11>Emitted(10, 52) Source(15, 71) + SourceIndex(0) +12>Emitted(10, 53) Source(15, 72) + SourceIndex(0) +13>Emitted(10, 54) Source(15, 73) + SourceIndex(0) +14>Emitted(10, 55) Source(15, 74) + SourceIndex(0) --- >>>var multiRobots = [multiRobotA, multiRobotB]; 1 > @@ -278,16 +279,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 8 > multiRobotB 9 > ] 10> ; -1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(10, 5) Source(16, 5) + SourceIndex(0) -3 >Emitted(10, 16) Source(16, 16) + SourceIndex(0) -4 >Emitted(10, 19) Source(16, 19) + SourceIndex(0) -5 >Emitted(10, 20) Source(16, 20) + SourceIndex(0) -6 >Emitted(10, 31) Source(16, 31) + SourceIndex(0) -7 >Emitted(10, 33) Source(16, 33) + SourceIndex(0) -8 >Emitted(10, 44) Source(16, 44) + SourceIndex(0) -9 >Emitted(10, 45) Source(16, 45) + SourceIndex(0) -10>Emitted(10, 46) Source(16, 46) + SourceIndex(0) +1 >Emitted(11, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(11, 5) Source(16, 5) + SourceIndex(0) +3 >Emitted(11, 16) Source(16, 16) + SourceIndex(0) +4 >Emitted(11, 19) Source(16, 19) + SourceIndex(0) +5 >Emitted(11, 20) Source(16, 20) + SourceIndex(0) +6 >Emitted(11, 31) Source(16, 31) + SourceIndex(0) +7 >Emitted(11, 33) Source(16, 33) + SourceIndex(0) +8 >Emitted(11, 44) Source(16, 44) + SourceIndex(0) +9 >Emitted(11, 45) Source(16, 45) + SourceIndex(0) +10>Emitted(11, 46) Source(16, 46) + SourceIndex(0) --- >>>function getMultiRobots() { 1 > @@ -298,9 +299,9 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues > 2 >function 3 > getMultiRobots -1 >Emitted(11, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(11, 10) Source(17, 10) + SourceIndex(0) -3 >Emitted(11, 24) Source(17, 24) + SourceIndex(0) +1 >Emitted(12, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(12, 10) Source(17, 10) + SourceIndex(0) +3 >Emitted(12, 24) Source(17, 24) + SourceIndex(0) --- >>> return multiRobots; 1->^^^^ @@ -312,10 +313,10 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 2 > return 3 > multiRobots 4 > ; -1->Emitted(12, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(12, 12) Source(18, 12) + SourceIndex(0) -3 >Emitted(12, 23) Source(18, 23) + SourceIndex(0) -4 >Emitted(12, 24) Source(18, 24) + SourceIndex(0) +1->Emitted(13, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(13, 12) Source(18, 12) + SourceIndex(0) +3 >Emitted(13, 23) Source(18, 23) + SourceIndex(0) +4 >Emitted(13, 24) Source(18, 24) + SourceIndex(0) --- >>>} 1 > @@ -324,8 +325,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(13, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(19, 2) + SourceIndex(0) --- >>>var nameA, primarySkillA, secondarySkillA; 1-> @@ -346,14 +347,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > , 7 > secondarySkillA: string 8 > ; -1->Emitted(14, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(14, 5) Source(21, 5) + SourceIndex(0) -3 >Emitted(14, 10) Source(21, 18) + SourceIndex(0) -4 >Emitted(14, 12) Source(21, 20) + SourceIndex(0) -5 >Emitted(14, 25) Source(21, 41) + SourceIndex(0) -6 >Emitted(14, 27) Source(21, 43) + SourceIndex(0) -7 >Emitted(14, 42) Source(21, 66) + SourceIndex(0) -8 >Emitted(14, 43) Source(21, 67) + SourceIndex(0) +1->Emitted(15, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(15, 5) Source(21, 5) + SourceIndex(0) +3 >Emitted(15, 10) Source(21, 18) + SourceIndex(0) +4 >Emitted(15, 12) Source(21, 20) + SourceIndex(0) +5 >Emitted(15, 25) Source(21, 41) + SourceIndex(0) +6 >Emitted(15, 27) Source(21, 43) + SourceIndex(0) +7 >Emitted(15, 42) Source(21, 66) + SourceIndex(0) +8 >Emitted(15, 43) Source(21, 67) + SourceIndex(0) --- >>>var numberB, nameB; 1 > @@ -370,12 +371,12 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 4 > , 5 > nameB: string 6 > ; -1 >Emitted(15, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(15, 5) Source(22, 5) + SourceIndex(0) -3 >Emitted(15, 12) Source(22, 20) + SourceIndex(0) -4 >Emitted(15, 14) Source(22, 22) + SourceIndex(0) -5 >Emitted(15, 19) Source(22, 35) + SourceIndex(0) -6 >Emitted(15, 20) Source(22, 36) + SourceIndex(0) +1 >Emitted(16, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(16, 5) Source(22, 5) + SourceIndex(0) +3 >Emitted(16, 12) Source(22, 20) + SourceIndex(0) +4 >Emitted(16, 14) Source(22, 22) + SourceIndex(0) +5 >Emitted(16, 19) Source(22, 35) + SourceIndex(0) +6 >Emitted(16, 20) Source(22, 36) + SourceIndex(0) --- >>>var numberA2, nameA2, skillA2, nameMA; 1-> @@ -400,16 +401,16 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 8 > , 9 > nameMA: string 10> ; -1->Emitted(16, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(16, 5) Source(23, 5) + SourceIndex(0) -3 >Emitted(16, 13) Source(23, 21) + SourceIndex(0) -4 >Emitted(16, 15) Source(23, 23) + SourceIndex(0) -5 >Emitted(16, 21) Source(23, 37) + SourceIndex(0) -6 >Emitted(16, 23) Source(23, 39) + SourceIndex(0) -7 >Emitted(16, 30) Source(23, 54) + SourceIndex(0) -8 >Emitted(16, 32) Source(23, 56) + SourceIndex(0) -9 >Emitted(16, 38) Source(23, 70) + SourceIndex(0) -10>Emitted(16, 39) Source(23, 71) + SourceIndex(0) +1->Emitted(17, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(17, 5) Source(23, 5) + SourceIndex(0) +3 >Emitted(17, 13) Source(23, 21) + SourceIndex(0) +4 >Emitted(17, 15) Source(23, 23) + SourceIndex(0) +5 >Emitted(17, 21) Source(23, 37) + SourceIndex(0) +6 >Emitted(17, 23) Source(23, 39) + SourceIndex(0) +7 >Emitted(17, 30) Source(23, 54) + SourceIndex(0) +8 >Emitted(17, 32) Source(23, 56) + SourceIndex(0) +9 >Emitted(17, 38) Source(23, 70) + SourceIndex(0) +10>Emitted(17, 39) Source(23, 71) + SourceIndex(0) --- >>>var numberA3, robotAInfo, multiRobotAInfo; 1-> @@ -430,14 +431,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > , 7 > multiRobotAInfo: (string | [string, string])[] 8 > ; -1->Emitted(17, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(17, 5) Source(24, 5) + SourceIndex(0) -3 >Emitted(17, 13) Source(24, 21) + SourceIndex(0) -4 >Emitted(17, 15) Source(24, 23) + SourceIndex(0) -5 >Emitted(17, 25) Source(24, 54) + SourceIndex(0) -6 >Emitted(17, 27) Source(24, 56) + SourceIndex(0) -7 >Emitted(17, 42) Source(24, 102) + SourceIndex(0) -8 >Emitted(17, 43) Source(24, 103) + SourceIndex(0) +1->Emitted(18, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(18, 5) Source(24, 5) + SourceIndex(0) +3 >Emitted(18, 13) Source(24, 21) + SourceIndex(0) +4 >Emitted(18, 15) Source(24, 23) + SourceIndex(0) +5 >Emitted(18, 25) Source(24, 54) + SourceIndex(0) +6 >Emitted(18, 27) Source(24, 56) + SourceIndex(0) +7 >Emitted(18, 42) Source(24, 102) + SourceIndex(0) +8 >Emitted(18, 43) Source(24, 103) + SourceIndex(0) --- >>>for (var _i = 0, robots_1 = robots; _i < robots_1.length; _i++) { 1-> @@ -465,17 +466,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > robots 10> ) 11> { -1->Emitted(18, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(18, 6) Source(26, 30) + SourceIndex(0) -3 >Emitted(18, 16) Source(26, 36) + SourceIndex(0) -4 >Emitted(18, 18) Source(26, 30) + SourceIndex(0) -5 >Emitted(18, 35) Source(26, 36) + SourceIndex(0) -6 >Emitted(18, 37) Source(26, 30) + SourceIndex(0) -7 >Emitted(18, 57) Source(26, 36) + SourceIndex(0) -8 >Emitted(18, 59) Source(26, 30) + SourceIndex(0) -9 >Emitted(18, 63) Source(26, 36) + SourceIndex(0) -10>Emitted(18, 65) Source(26, 38) + SourceIndex(0) -11>Emitted(18, 66) Source(26, 39) + SourceIndex(0) +1->Emitted(19, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(19, 6) Source(26, 30) + SourceIndex(0) +3 >Emitted(19, 16) Source(26, 36) + SourceIndex(0) +4 >Emitted(19, 18) Source(26, 30) + SourceIndex(0) +5 >Emitted(19, 35) Source(26, 36) + SourceIndex(0) +6 >Emitted(19, 37) Source(26, 30) + SourceIndex(0) +7 >Emitted(19, 57) Source(26, 36) + SourceIndex(0) +8 >Emitted(19, 59) Source(26, 30) + SourceIndex(0) +9 >Emitted(19, 63) Source(26, 36) + SourceIndex(0) +10>Emitted(19, 65) Source(26, 38) + SourceIndex(0) +11>Emitted(19, 66) Source(26, 39) + SourceIndex(0) --- >>> _a = robots_1[_i], _b = _a[1], nameA = _b === void 0 ? "noName" : _b; 1->^^^^^^^^^^^^^^^^^^^^^^^ @@ -492,13 +493,13 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 5 > = 6 > "noName" 7 > -1->Emitted(19, 24) Source(26, 9) + SourceIndex(0) -2 >Emitted(19, 34) Source(26, 25) + SourceIndex(0) -3 >Emitted(19, 36) Source(26, 9) + SourceIndex(0) -4 >Emitted(19, 41) Source(26, 14) + SourceIndex(0) -5 >Emitted(19, 60) Source(26, 17) + SourceIndex(0) -6 >Emitted(19, 68) Source(26, 25) + SourceIndex(0) -7 >Emitted(19, 73) Source(26, 25) + SourceIndex(0) +1->Emitted(20, 24) Source(26, 9) + SourceIndex(0) +2 >Emitted(20, 34) Source(26, 25) + SourceIndex(0) +3 >Emitted(20, 36) Source(26, 9) + SourceIndex(0) +4 >Emitted(20, 41) Source(26, 14) + SourceIndex(0) +5 >Emitted(20, 60) Source(26, 17) + SourceIndex(0) +6 >Emitted(20, 68) Source(26, 25) + SourceIndex(0) +7 >Emitted(20, 73) Source(26, 25) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -518,14 +519,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA 7 > ) 8 > ; -1 >Emitted(20, 5) Source(27, 5) + SourceIndex(0) -2 >Emitted(20, 12) Source(27, 12) + SourceIndex(0) -3 >Emitted(20, 13) Source(27, 13) + SourceIndex(0) -4 >Emitted(20, 16) Source(27, 16) + SourceIndex(0) -5 >Emitted(20, 17) Source(27, 17) + SourceIndex(0) -6 >Emitted(20, 22) Source(27, 22) + SourceIndex(0) -7 >Emitted(20, 23) Source(27, 23) + SourceIndex(0) -8 >Emitted(20, 24) Source(27, 24) + SourceIndex(0) +1 >Emitted(21, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(21, 12) Source(27, 12) + SourceIndex(0) +3 >Emitted(21, 13) Source(27, 13) + SourceIndex(0) +4 >Emitted(21, 16) Source(27, 16) + SourceIndex(0) +5 >Emitted(21, 17) Source(27, 17) + SourceIndex(0) +6 >Emitted(21, 22) Source(27, 22) + SourceIndex(0) +7 >Emitted(21, 23) Source(27, 23) + SourceIndex(0) +8 >Emitted(21, 24) Source(27, 24) + SourceIndex(0) --- >>>} 1 > @@ -534,8 +535,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(21, 1) Source(28, 1) + SourceIndex(0) -2 >Emitted(21, 2) Source(28, 2) + SourceIndex(0) +1 >Emitted(22, 1) Source(28, 1) + SourceIndex(0) +2 >Emitted(22, 2) Source(28, 2) + SourceIndex(0) --- >>>for (var _39 = 0, _40 = getRobots(); _39 < _40.length; _39++) { 1-> @@ -566,19 +567,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getRobots() 12> ) 13> { -1->Emitted(22, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(22, 6) Source(29, 30) + SourceIndex(0) -3 >Emitted(22, 17) Source(29, 41) + SourceIndex(0) -4 >Emitted(22, 19) Source(29, 30) + SourceIndex(0) -5 >Emitted(22, 25) Source(29, 30) + SourceIndex(0) -6 >Emitted(22, 34) Source(29, 39) + SourceIndex(0) -7 >Emitted(22, 36) Source(29, 41) + SourceIndex(0) -8 >Emitted(22, 38) Source(29, 30) + SourceIndex(0) -9 >Emitted(22, 54) Source(29, 41) + SourceIndex(0) -10>Emitted(22, 56) Source(29, 30) + SourceIndex(0) -11>Emitted(22, 61) Source(29, 41) + SourceIndex(0) -12>Emitted(22, 63) Source(29, 43) + SourceIndex(0) -13>Emitted(22, 64) Source(29, 44) + SourceIndex(0) +1->Emitted(23, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(23, 6) Source(29, 30) + SourceIndex(0) +3 >Emitted(23, 17) Source(29, 41) + SourceIndex(0) +4 >Emitted(23, 19) Source(29, 30) + SourceIndex(0) +5 >Emitted(23, 25) Source(29, 30) + SourceIndex(0) +6 >Emitted(23, 34) Source(29, 39) + SourceIndex(0) +7 >Emitted(23, 36) Source(29, 41) + SourceIndex(0) +8 >Emitted(23, 38) Source(29, 30) + SourceIndex(0) +9 >Emitted(23, 54) Source(29, 41) + SourceIndex(0) +10>Emitted(23, 56) Source(29, 30) + SourceIndex(0) +11>Emitted(23, 61) Source(29, 41) + SourceIndex(0) +12>Emitted(23, 63) Source(29, 43) + SourceIndex(0) +13>Emitted(23, 64) Source(29, 44) + SourceIndex(0) --- >>> _c = _40[_39], _d = _c[1], nameA = _d === void 0 ? "noName" : _d; 1->^^^^^^^^^^^^^^^^^^^ @@ -595,13 +596,13 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 5 > = 6 > "noName" 7 > -1->Emitted(23, 20) Source(29, 9) + SourceIndex(0) -2 >Emitted(23, 30) Source(29, 25) + SourceIndex(0) -3 >Emitted(23, 32) Source(29, 9) + SourceIndex(0) -4 >Emitted(23, 37) Source(29, 14) + SourceIndex(0) -5 >Emitted(23, 56) Source(29, 17) + SourceIndex(0) -6 >Emitted(23, 64) Source(29, 25) + SourceIndex(0) -7 >Emitted(23, 69) Source(29, 25) + SourceIndex(0) +1->Emitted(24, 20) Source(29, 9) + SourceIndex(0) +2 >Emitted(24, 30) Source(29, 25) + SourceIndex(0) +3 >Emitted(24, 32) Source(29, 9) + SourceIndex(0) +4 >Emitted(24, 37) Source(29, 14) + SourceIndex(0) +5 >Emitted(24, 56) Source(29, 17) + SourceIndex(0) +6 >Emitted(24, 64) Source(29, 25) + SourceIndex(0) +7 >Emitted(24, 69) Source(29, 25) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -621,14 +622,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA 7 > ) 8 > ; -1 >Emitted(24, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(24, 12) Source(30, 12) + SourceIndex(0) -3 >Emitted(24, 13) Source(30, 13) + SourceIndex(0) -4 >Emitted(24, 16) Source(30, 16) + SourceIndex(0) -5 >Emitted(24, 17) Source(30, 17) + SourceIndex(0) -6 >Emitted(24, 22) Source(30, 22) + SourceIndex(0) -7 >Emitted(24, 23) Source(30, 23) + SourceIndex(0) -8 >Emitted(24, 24) Source(30, 24) + SourceIndex(0) +1 >Emitted(25, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(25, 12) Source(30, 12) + SourceIndex(0) +3 >Emitted(25, 13) Source(30, 13) + SourceIndex(0) +4 >Emitted(25, 16) Source(30, 16) + SourceIndex(0) +5 >Emitted(25, 17) Source(30, 17) + SourceIndex(0) +6 >Emitted(25, 22) Source(30, 22) + SourceIndex(0) +7 >Emitted(25, 23) Source(30, 23) + SourceIndex(0) +8 >Emitted(25, 24) Source(30, 24) + SourceIndex(0) --- >>>} 1 > @@ -637,8 +638,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(25, 1) Source(31, 1) + SourceIndex(0) -2 >Emitted(25, 2) Source(31, 2) + SourceIndex(0) +1 >Emitted(26, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(26, 2) Source(31, 2) + SourceIndex(0) --- >>>for (var _41 = 0, _42 = [robotA, robotB]; _41 < _42.length; _41++) { 1-> @@ -673,21 +674,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [robotA, robotB] 14> ) 15> { -1->Emitted(26, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(26, 6) Source(32, 30) + SourceIndex(0) -3 >Emitted(26, 17) Source(32, 46) + SourceIndex(0) -4 >Emitted(26, 19) Source(32, 30) + SourceIndex(0) -5 >Emitted(26, 26) Source(32, 31) + SourceIndex(0) -6 >Emitted(26, 32) Source(32, 37) + SourceIndex(0) -7 >Emitted(26, 34) Source(32, 39) + SourceIndex(0) -8 >Emitted(26, 40) Source(32, 45) + SourceIndex(0) -9 >Emitted(26, 41) Source(32, 46) + SourceIndex(0) -10>Emitted(26, 43) Source(32, 30) + SourceIndex(0) -11>Emitted(26, 59) Source(32, 46) + SourceIndex(0) -12>Emitted(26, 61) Source(32, 30) + SourceIndex(0) -13>Emitted(26, 66) Source(32, 46) + SourceIndex(0) -14>Emitted(26, 68) Source(32, 48) + SourceIndex(0) -15>Emitted(26, 69) Source(32, 49) + SourceIndex(0) +1->Emitted(27, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(27, 6) Source(32, 30) + SourceIndex(0) +3 >Emitted(27, 17) Source(32, 46) + SourceIndex(0) +4 >Emitted(27, 19) Source(32, 30) + SourceIndex(0) +5 >Emitted(27, 26) Source(32, 31) + SourceIndex(0) +6 >Emitted(27, 32) Source(32, 37) + SourceIndex(0) +7 >Emitted(27, 34) Source(32, 39) + SourceIndex(0) +8 >Emitted(27, 40) Source(32, 45) + SourceIndex(0) +9 >Emitted(27, 41) Source(32, 46) + SourceIndex(0) +10>Emitted(27, 43) Source(32, 30) + SourceIndex(0) +11>Emitted(27, 59) Source(32, 46) + SourceIndex(0) +12>Emitted(27, 61) Source(32, 30) + SourceIndex(0) +13>Emitted(27, 66) Source(32, 46) + SourceIndex(0) +14>Emitted(27, 68) Source(32, 48) + SourceIndex(0) +15>Emitted(27, 69) Source(32, 49) + SourceIndex(0) --- >>> _e = _42[_41], _f = _e[1], nameA = _f === void 0 ? "noName" : _f; 1->^^^^^^^^^^^^^^^^^^^ @@ -704,13 +705,13 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 5 > = 6 > "noName" 7 > -1->Emitted(27, 20) Source(32, 9) + SourceIndex(0) -2 >Emitted(27, 30) Source(32, 25) + SourceIndex(0) -3 >Emitted(27, 32) Source(32, 9) + SourceIndex(0) -4 >Emitted(27, 37) Source(32, 14) + SourceIndex(0) -5 >Emitted(27, 56) Source(32, 17) + SourceIndex(0) -6 >Emitted(27, 64) Source(32, 25) + SourceIndex(0) -7 >Emitted(27, 69) Source(32, 25) + SourceIndex(0) +1->Emitted(28, 20) Source(32, 9) + SourceIndex(0) +2 >Emitted(28, 30) Source(32, 25) + SourceIndex(0) +3 >Emitted(28, 32) Source(32, 9) + SourceIndex(0) +4 >Emitted(28, 37) Source(32, 14) + SourceIndex(0) +5 >Emitted(28, 56) Source(32, 17) + SourceIndex(0) +6 >Emitted(28, 64) Source(32, 25) + SourceIndex(0) +7 >Emitted(28, 69) Source(32, 25) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -730,14 +731,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA 7 > ) 8 > ; -1 >Emitted(28, 5) Source(33, 5) + SourceIndex(0) -2 >Emitted(28, 12) Source(33, 12) + SourceIndex(0) -3 >Emitted(28, 13) Source(33, 13) + SourceIndex(0) -4 >Emitted(28, 16) Source(33, 16) + SourceIndex(0) -5 >Emitted(28, 17) Source(33, 17) + SourceIndex(0) -6 >Emitted(28, 22) Source(33, 22) + SourceIndex(0) -7 >Emitted(28, 23) Source(33, 23) + SourceIndex(0) -8 >Emitted(28, 24) Source(33, 24) + SourceIndex(0) +1 >Emitted(29, 5) Source(33, 5) + SourceIndex(0) +2 >Emitted(29, 12) Source(33, 12) + SourceIndex(0) +3 >Emitted(29, 13) Source(33, 13) + SourceIndex(0) +4 >Emitted(29, 16) Source(33, 16) + SourceIndex(0) +5 >Emitted(29, 17) Source(33, 17) + SourceIndex(0) +6 >Emitted(29, 22) Source(33, 22) + SourceIndex(0) +7 >Emitted(29, 23) Source(33, 23) + SourceIndex(0) +8 >Emitted(29, 24) Source(33, 24) + SourceIndex(0) --- >>>} 1 > @@ -746,8 +747,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(29, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(29, 2) Source(34, 2) + SourceIndex(0) +1 >Emitted(30, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(30, 2) Source(34, 2) + SourceIndex(0) --- >>>for (var _43 = 0, multiRobots_1 = multiRobots; _43 < multiRobots_1.length; _43++) { 1-> @@ -777,17 +778,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > multiRobots 10> ) 11> { -1->Emitted(30, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(30, 6) Source(38, 30) + SourceIndex(0) -3 >Emitted(30, 17) Source(38, 41) + SourceIndex(0) -4 >Emitted(30, 19) Source(38, 30) + SourceIndex(0) -5 >Emitted(30, 46) Source(38, 41) + SourceIndex(0) -6 >Emitted(30, 48) Source(38, 30) + SourceIndex(0) -7 >Emitted(30, 74) Source(38, 41) + SourceIndex(0) -8 >Emitted(30, 76) Source(38, 30) + SourceIndex(0) -9 >Emitted(30, 81) Source(38, 41) + SourceIndex(0) -10>Emitted(30, 83) Source(38, 43) + SourceIndex(0) -11>Emitted(30, 84) Source(38, 44) + SourceIndex(0) +1->Emitted(31, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(31, 6) Source(38, 30) + SourceIndex(0) +3 >Emitted(31, 17) Source(38, 41) + SourceIndex(0) +4 >Emitted(31, 19) Source(38, 30) + SourceIndex(0) +5 >Emitted(31, 46) Source(38, 41) + SourceIndex(0) +6 >Emitted(31, 48) Source(38, 30) + SourceIndex(0) +7 >Emitted(31, 74) Source(38, 41) + SourceIndex(0) +8 >Emitted(31, 76) Source(38, 30) + SourceIndex(0) +9 >Emitted(31, 81) Source(38, 41) + SourceIndex(0) +10>Emitted(31, 83) Source(38, 43) + SourceIndex(0) +11>Emitted(31, 84) Source(38, 44) + SourceIndex(0) --- >>> _g = multiRobots_1[_43], _h = _g[1], _j = _h === void 0 ? ["skill1", "skill2"] : _h, _k = _j[0], primarySkillA = _k === void 0 ? "primary" : _k, _l = _j[1], secondarySkillA = _l === void 0 ? "secondary" : _l; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -845,30 +846,30 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 22> = 23> "secondary" 24> -1->Emitted(31, 30) Source(35, 9) + SourceIndex(0) -2 >Emitted(31, 40) Source(38, 25) + SourceIndex(0) -3 >Emitted(31, 42) Source(35, 9) + SourceIndex(0) -4 >Emitted(31, 63) Source(38, 5) + SourceIndex(0) -5 >Emitted(31, 64) Source(38, 6) + SourceIndex(0) -6 >Emitted(31, 72) Source(38, 14) + SourceIndex(0) -7 >Emitted(31, 74) Source(38, 16) + SourceIndex(0) -8 >Emitted(31, 82) Source(38, 24) + SourceIndex(0) -9 >Emitted(31, 83) Source(38, 25) + SourceIndex(0) -10>Emitted(31, 88) Source(38, 25) + SourceIndex(0) -11>Emitted(31, 90) Source(36, 5) + SourceIndex(0) -12>Emitted(31, 100) Source(36, 30) + SourceIndex(0) -13>Emitted(31, 102) Source(36, 5) + SourceIndex(0) -14>Emitted(31, 115) Source(36, 18) + SourceIndex(0) -15>Emitted(31, 134) Source(36, 21) + SourceIndex(0) -16>Emitted(31, 143) Source(36, 30) + SourceIndex(0) -17>Emitted(31, 148) Source(36, 30) + SourceIndex(0) -18>Emitted(31, 150) Source(37, 5) + SourceIndex(0) -19>Emitted(31, 160) Source(37, 34) + SourceIndex(0) -20>Emitted(31, 162) Source(37, 5) + SourceIndex(0) -21>Emitted(31, 177) Source(37, 20) + SourceIndex(0) -22>Emitted(31, 196) Source(37, 23) + SourceIndex(0) -23>Emitted(31, 207) Source(37, 34) + SourceIndex(0) -24>Emitted(31, 212) Source(37, 34) + SourceIndex(0) +1->Emitted(32, 30) Source(35, 9) + SourceIndex(0) +2 >Emitted(32, 40) Source(38, 25) + SourceIndex(0) +3 >Emitted(32, 42) Source(35, 9) + SourceIndex(0) +4 >Emitted(32, 63) Source(38, 5) + SourceIndex(0) +5 >Emitted(32, 64) Source(38, 6) + SourceIndex(0) +6 >Emitted(32, 72) Source(38, 14) + SourceIndex(0) +7 >Emitted(32, 74) Source(38, 16) + SourceIndex(0) +8 >Emitted(32, 82) Source(38, 24) + SourceIndex(0) +9 >Emitted(32, 83) Source(38, 25) + SourceIndex(0) +10>Emitted(32, 88) Source(38, 25) + SourceIndex(0) +11>Emitted(32, 90) Source(36, 5) + SourceIndex(0) +12>Emitted(32, 100) Source(36, 30) + SourceIndex(0) +13>Emitted(32, 102) Source(36, 5) + SourceIndex(0) +14>Emitted(32, 115) Source(36, 18) + SourceIndex(0) +15>Emitted(32, 134) Source(36, 21) + SourceIndex(0) +16>Emitted(32, 143) Source(36, 30) + SourceIndex(0) +17>Emitted(32, 148) Source(36, 30) + SourceIndex(0) +18>Emitted(32, 150) Source(37, 5) + SourceIndex(0) +19>Emitted(32, 160) Source(37, 34) + SourceIndex(0) +20>Emitted(32, 162) Source(37, 5) + SourceIndex(0) +21>Emitted(32, 177) Source(37, 20) + SourceIndex(0) +22>Emitted(32, 196) Source(37, 23) + SourceIndex(0) +23>Emitted(32, 207) Source(37, 34) + SourceIndex(0) +24>Emitted(32, 212) Source(37, 34) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -889,14 +890,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(32, 5) Source(39, 5) + SourceIndex(0) -2 >Emitted(32, 12) Source(39, 12) + SourceIndex(0) -3 >Emitted(32, 13) Source(39, 13) + SourceIndex(0) -4 >Emitted(32, 16) Source(39, 16) + SourceIndex(0) -5 >Emitted(32, 17) Source(39, 17) + SourceIndex(0) -6 >Emitted(32, 30) Source(39, 30) + SourceIndex(0) -7 >Emitted(32, 31) Source(39, 31) + SourceIndex(0) -8 >Emitted(32, 32) Source(39, 32) + SourceIndex(0) +1 >Emitted(33, 5) Source(39, 5) + SourceIndex(0) +2 >Emitted(33, 12) Source(39, 12) + SourceIndex(0) +3 >Emitted(33, 13) Source(39, 13) + SourceIndex(0) +4 >Emitted(33, 16) Source(39, 16) + SourceIndex(0) +5 >Emitted(33, 17) Source(39, 17) + SourceIndex(0) +6 >Emitted(33, 30) Source(39, 30) + SourceIndex(0) +7 >Emitted(33, 31) Source(39, 31) + SourceIndex(0) +8 >Emitted(33, 32) Source(39, 32) + SourceIndex(0) --- >>>} 1 > @@ -905,8 +906,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(33, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(33, 2) Source(40, 2) + SourceIndex(0) +1 >Emitted(34, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(34, 2) Source(40, 2) + SourceIndex(0) --- >>>for (var _44 = 0, _45 = getMultiRobots(); _44 < _45.length; _44++) { 1-> @@ -940,19 +941,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getMultiRobots() 12> ) 13> { -1->Emitted(34, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(34, 6) Source(44, 30) + SourceIndex(0) -3 >Emitted(34, 17) Source(44, 46) + SourceIndex(0) -4 >Emitted(34, 19) Source(44, 30) + SourceIndex(0) -5 >Emitted(34, 25) Source(44, 30) + SourceIndex(0) -6 >Emitted(34, 39) Source(44, 44) + SourceIndex(0) -7 >Emitted(34, 41) Source(44, 46) + SourceIndex(0) -8 >Emitted(34, 43) Source(44, 30) + SourceIndex(0) -9 >Emitted(34, 59) Source(44, 46) + SourceIndex(0) -10>Emitted(34, 61) Source(44, 30) + SourceIndex(0) -11>Emitted(34, 66) Source(44, 46) + SourceIndex(0) -12>Emitted(34, 68) Source(44, 48) + SourceIndex(0) -13>Emitted(34, 69) Source(44, 49) + SourceIndex(0) +1->Emitted(35, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(35, 6) Source(44, 30) + SourceIndex(0) +3 >Emitted(35, 17) Source(44, 46) + SourceIndex(0) +4 >Emitted(35, 19) Source(44, 30) + SourceIndex(0) +5 >Emitted(35, 25) Source(44, 30) + SourceIndex(0) +6 >Emitted(35, 39) Source(44, 44) + SourceIndex(0) +7 >Emitted(35, 41) Source(44, 46) + SourceIndex(0) +8 >Emitted(35, 43) Source(44, 30) + SourceIndex(0) +9 >Emitted(35, 59) Source(44, 46) + SourceIndex(0) +10>Emitted(35, 61) Source(44, 30) + SourceIndex(0) +11>Emitted(35, 66) Source(44, 46) + SourceIndex(0) +12>Emitted(35, 68) Source(44, 48) + SourceIndex(0) +13>Emitted(35, 69) Source(44, 49) + SourceIndex(0) --- >>> _m = _45[_44], _o = _m[1], _p = _o === void 0 ? ["skill1", "skill2"] : _o, _q = _p[0], primarySkillA = _q === void 0 ? "primary" : _q, _r = _p[1], secondarySkillA = _r === void 0 ? "secondary" : _r; 1->^^^^^^^^^^^^^^^^^^^ @@ -1010,30 +1011,30 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 22> = 23> "secondary" 24> -1->Emitted(35, 20) Source(41, 9) + SourceIndex(0) -2 >Emitted(35, 30) Source(44, 25) + SourceIndex(0) -3 >Emitted(35, 32) Source(41, 9) + SourceIndex(0) -4 >Emitted(35, 53) Source(44, 5) + SourceIndex(0) -5 >Emitted(35, 54) Source(44, 6) + SourceIndex(0) -6 >Emitted(35, 62) Source(44, 14) + SourceIndex(0) -7 >Emitted(35, 64) Source(44, 16) + SourceIndex(0) -8 >Emitted(35, 72) Source(44, 24) + SourceIndex(0) -9 >Emitted(35, 73) Source(44, 25) + SourceIndex(0) -10>Emitted(35, 78) Source(44, 25) + SourceIndex(0) -11>Emitted(35, 80) Source(42, 5) + SourceIndex(0) -12>Emitted(35, 90) Source(42, 30) + SourceIndex(0) -13>Emitted(35, 92) Source(42, 5) + SourceIndex(0) -14>Emitted(35, 105) Source(42, 18) + SourceIndex(0) -15>Emitted(35, 124) Source(42, 21) + SourceIndex(0) -16>Emitted(35, 133) Source(42, 30) + SourceIndex(0) -17>Emitted(35, 138) Source(42, 30) + SourceIndex(0) -18>Emitted(35, 140) Source(43, 5) + SourceIndex(0) -19>Emitted(35, 150) Source(43, 34) + SourceIndex(0) -20>Emitted(35, 152) Source(43, 5) + SourceIndex(0) -21>Emitted(35, 167) Source(43, 20) + SourceIndex(0) -22>Emitted(35, 186) Source(43, 23) + SourceIndex(0) -23>Emitted(35, 197) Source(43, 34) + SourceIndex(0) -24>Emitted(35, 202) Source(43, 34) + SourceIndex(0) +1->Emitted(36, 20) Source(41, 9) + SourceIndex(0) +2 >Emitted(36, 30) Source(44, 25) + SourceIndex(0) +3 >Emitted(36, 32) Source(41, 9) + SourceIndex(0) +4 >Emitted(36, 53) Source(44, 5) + SourceIndex(0) +5 >Emitted(36, 54) Source(44, 6) + SourceIndex(0) +6 >Emitted(36, 62) Source(44, 14) + SourceIndex(0) +7 >Emitted(36, 64) Source(44, 16) + SourceIndex(0) +8 >Emitted(36, 72) Source(44, 24) + SourceIndex(0) +9 >Emitted(36, 73) Source(44, 25) + SourceIndex(0) +10>Emitted(36, 78) Source(44, 25) + SourceIndex(0) +11>Emitted(36, 80) Source(42, 5) + SourceIndex(0) +12>Emitted(36, 90) Source(42, 30) + SourceIndex(0) +13>Emitted(36, 92) Source(42, 5) + SourceIndex(0) +14>Emitted(36, 105) Source(42, 18) + SourceIndex(0) +15>Emitted(36, 124) Source(42, 21) + SourceIndex(0) +16>Emitted(36, 133) Source(42, 30) + SourceIndex(0) +17>Emitted(36, 138) Source(42, 30) + SourceIndex(0) +18>Emitted(36, 140) Source(43, 5) + SourceIndex(0) +19>Emitted(36, 150) Source(43, 34) + SourceIndex(0) +20>Emitted(36, 152) Source(43, 5) + SourceIndex(0) +21>Emitted(36, 167) Source(43, 20) + SourceIndex(0) +22>Emitted(36, 186) Source(43, 23) + SourceIndex(0) +23>Emitted(36, 197) Source(43, 34) + SourceIndex(0) +24>Emitted(36, 202) Source(43, 34) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -1054,14 +1055,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(36, 5) Source(45, 5) + SourceIndex(0) -2 >Emitted(36, 12) Source(45, 12) + SourceIndex(0) -3 >Emitted(36, 13) Source(45, 13) + SourceIndex(0) -4 >Emitted(36, 16) Source(45, 16) + SourceIndex(0) -5 >Emitted(36, 17) Source(45, 17) + SourceIndex(0) -6 >Emitted(36, 30) Source(45, 30) + SourceIndex(0) -7 >Emitted(36, 31) Source(45, 31) + SourceIndex(0) -8 >Emitted(36, 32) Source(45, 32) + SourceIndex(0) +1 >Emitted(37, 5) Source(45, 5) + SourceIndex(0) +2 >Emitted(37, 12) Source(45, 12) + SourceIndex(0) +3 >Emitted(37, 13) Source(45, 13) + SourceIndex(0) +4 >Emitted(37, 16) Source(45, 16) + SourceIndex(0) +5 >Emitted(37, 17) Source(45, 17) + SourceIndex(0) +6 >Emitted(37, 30) Source(45, 30) + SourceIndex(0) +7 >Emitted(37, 31) Source(45, 31) + SourceIndex(0) +8 >Emitted(37, 32) Source(45, 32) + SourceIndex(0) --- >>>} 1 > @@ -1070,8 +1071,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(37, 1) Source(46, 1) + SourceIndex(0) -2 >Emitted(37, 2) Source(46, 2) + SourceIndex(0) +1 >Emitted(38, 1) Source(46, 1) + SourceIndex(0) +2 >Emitted(38, 2) Source(46, 2) + SourceIndex(0) --- >>>for (var _46 = 0, _47 = [multiRobotA, multiRobotB]; _46 < _47.length; _46++) { 1-> @@ -1109,21 +1110,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(38, 1) Source(47, 1) + SourceIndex(0) -2 >Emitted(38, 6) Source(50, 30) + SourceIndex(0) -3 >Emitted(38, 17) Source(50, 56) + SourceIndex(0) -4 >Emitted(38, 19) Source(50, 30) + SourceIndex(0) -5 >Emitted(38, 26) Source(50, 31) + SourceIndex(0) -6 >Emitted(38, 37) Source(50, 42) + SourceIndex(0) -7 >Emitted(38, 39) Source(50, 44) + SourceIndex(0) -8 >Emitted(38, 50) Source(50, 55) + SourceIndex(0) -9 >Emitted(38, 51) Source(50, 56) + SourceIndex(0) -10>Emitted(38, 53) Source(50, 30) + SourceIndex(0) -11>Emitted(38, 69) Source(50, 56) + SourceIndex(0) -12>Emitted(38, 71) Source(50, 30) + SourceIndex(0) -13>Emitted(38, 76) Source(50, 56) + SourceIndex(0) -14>Emitted(38, 78) Source(50, 58) + SourceIndex(0) -15>Emitted(38, 79) Source(50, 59) + SourceIndex(0) +1->Emitted(39, 1) Source(47, 1) + SourceIndex(0) +2 >Emitted(39, 6) Source(50, 30) + SourceIndex(0) +3 >Emitted(39, 17) Source(50, 56) + SourceIndex(0) +4 >Emitted(39, 19) Source(50, 30) + SourceIndex(0) +5 >Emitted(39, 26) Source(50, 31) + SourceIndex(0) +6 >Emitted(39, 37) Source(50, 42) + SourceIndex(0) +7 >Emitted(39, 39) Source(50, 44) + SourceIndex(0) +8 >Emitted(39, 50) Source(50, 55) + SourceIndex(0) +9 >Emitted(39, 51) Source(50, 56) + SourceIndex(0) +10>Emitted(39, 53) Source(50, 30) + SourceIndex(0) +11>Emitted(39, 69) Source(50, 56) + SourceIndex(0) +12>Emitted(39, 71) Source(50, 30) + SourceIndex(0) +13>Emitted(39, 76) Source(50, 56) + SourceIndex(0) +14>Emitted(39, 78) Source(50, 58) + SourceIndex(0) +15>Emitted(39, 79) Source(50, 59) + SourceIndex(0) --- >>> _s = _47[_46], _t = _s[1], _u = _t === void 0 ? ["skill1", "skill2"] : _t, _v = _u[0], primarySkillA = _v === void 0 ? "primary" : _v, _w = _u[1], secondarySkillA = _w === void 0 ? "secondary" : _w; 1->^^^^^^^^^^^^^^^^^^^ @@ -1181,30 +1182,30 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 22> = 23> "secondary" 24> -1->Emitted(39, 20) Source(47, 9) + SourceIndex(0) -2 >Emitted(39, 30) Source(50, 25) + SourceIndex(0) -3 >Emitted(39, 32) Source(47, 9) + SourceIndex(0) -4 >Emitted(39, 53) Source(50, 5) + SourceIndex(0) -5 >Emitted(39, 54) Source(50, 6) + SourceIndex(0) -6 >Emitted(39, 62) Source(50, 14) + SourceIndex(0) -7 >Emitted(39, 64) Source(50, 16) + SourceIndex(0) -8 >Emitted(39, 72) Source(50, 24) + SourceIndex(0) -9 >Emitted(39, 73) Source(50, 25) + SourceIndex(0) -10>Emitted(39, 78) Source(50, 25) + SourceIndex(0) -11>Emitted(39, 80) Source(48, 5) + SourceIndex(0) -12>Emitted(39, 90) Source(48, 30) + SourceIndex(0) -13>Emitted(39, 92) Source(48, 5) + SourceIndex(0) -14>Emitted(39, 105) Source(48, 18) + SourceIndex(0) -15>Emitted(39, 124) Source(48, 21) + SourceIndex(0) -16>Emitted(39, 133) Source(48, 30) + SourceIndex(0) -17>Emitted(39, 138) Source(48, 30) + SourceIndex(0) -18>Emitted(39, 140) Source(49, 5) + SourceIndex(0) -19>Emitted(39, 150) Source(49, 34) + SourceIndex(0) -20>Emitted(39, 152) Source(49, 5) + SourceIndex(0) -21>Emitted(39, 167) Source(49, 20) + SourceIndex(0) -22>Emitted(39, 186) Source(49, 23) + SourceIndex(0) -23>Emitted(39, 197) Source(49, 34) + SourceIndex(0) -24>Emitted(39, 202) Source(49, 34) + SourceIndex(0) +1->Emitted(40, 20) Source(47, 9) + SourceIndex(0) +2 >Emitted(40, 30) Source(50, 25) + SourceIndex(0) +3 >Emitted(40, 32) Source(47, 9) + SourceIndex(0) +4 >Emitted(40, 53) Source(50, 5) + SourceIndex(0) +5 >Emitted(40, 54) Source(50, 6) + SourceIndex(0) +6 >Emitted(40, 62) Source(50, 14) + SourceIndex(0) +7 >Emitted(40, 64) Source(50, 16) + SourceIndex(0) +8 >Emitted(40, 72) Source(50, 24) + SourceIndex(0) +9 >Emitted(40, 73) Source(50, 25) + SourceIndex(0) +10>Emitted(40, 78) Source(50, 25) + SourceIndex(0) +11>Emitted(40, 80) Source(48, 5) + SourceIndex(0) +12>Emitted(40, 90) Source(48, 30) + SourceIndex(0) +13>Emitted(40, 92) Source(48, 5) + SourceIndex(0) +14>Emitted(40, 105) Source(48, 18) + SourceIndex(0) +15>Emitted(40, 124) Source(48, 21) + SourceIndex(0) +16>Emitted(40, 133) Source(48, 30) + SourceIndex(0) +17>Emitted(40, 138) Source(48, 30) + SourceIndex(0) +18>Emitted(40, 140) Source(49, 5) + SourceIndex(0) +19>Emitted(40, 150) Source(49, 34) + SourceIndex(0) +20>Emitted(40, 152) Source(49, 5) + SourceIndex(0) +21>Emitted(40, 167) Source(49, 20) + SourceIndex(0) +22>Emitted(40, 186) Source(49, 23) + SourceIndex(0) +23>Emitted(40, 197) Source(49, 34) + SourceIndex(0) +24>Emitted(40, 202) Source(49, 34) + SourceIndex(0) --- >>> console.log(primarySkillA); 1 >^^^^ @@ -1225,14 +1226,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > primarySkillA 7 > ) 8 > ; -1 >Emitted(40, 5) Source(51, 5) + SourceIndex(0) -2 >Emitted(40, 12) Source(51, 12) + SourceIndex(0) -3 >Emitted(40, 13) Source(51, 13) + SourceIndex(0) -4 >Emitted(40, 16) Source(51, 16) + SourceIndex(0) -5 >Emitted(40, 17) Source(51, 17) + SourceIndex(0) -6 >Emitted(40, 30) Source(51, 30) + SourceIndex(0) -7 >Emitted(40, 31) Source(51, 31) + SourceIndex(0) -8 >Emitted(40, 32) Source(51, 32) + SourceIndex(0) +1 >Emitted(41, 5) Source(51, 5) + SourceIndex(0) +2 >Emitted(41, 12) Source(51, 12) + SourceIndex(0) +3 >Emitted(41, 13) Source(51, 13) + SourceIndex(0) +4 >Emitted(41, 16) Source(51, 16) + SourceIndex(0) +5 >Emitted(41, 17) Source(51, 17) + SourceIndex(0) +6 >Emitted(41, 30) Source(51, 30) + SourceIndex(0) +7 >Emitted(41, 31) Source(51, 31) + SourceIndex(0) +8 >Emitted(41, 32) Source(51, 32) + SourceIndex(0) --- >>>} 1 > @@ -1241,8 +1242,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(41, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(41, 2) Source(52, 2) + SourceIndex(0) +1 >Emitted(42, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(42, 2) Source(52, 2) + SourceIndex(0) --- >>>for (var _48 = 0, robots_2 = robots; _48 < robots_2.length; _48++) { 1-> @@ -1269,17 +1270,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > robots 10> ) 11> { -1->Emitted(42, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(42, 6) Source(54, 24) + SourceIndex(0) -3 >Emitted(42, 17) Source(54, 30) + SourceIndex(0) -4 >Emitted(42, 19) Source(54, 24) + SourceIndex(0) -5 >Emitted(42, 36) Source(54, 30) + SourceIndex(0) -6 >Emitted(42, 38) Source(54, 24) + SourceIndex(0) -7 >Emitted(42, 59) Source(54, 30) + SourceIndex(0) -8 >Emitted(42, 61) Source(54, 24) + SourceIndex(0) -9 >Emitted(42, 66) Source(54, 30) + SourceIndex(0) -10>Emitted(42, 68) Source(54, 32) + SourceIndex(0) -11>Emitted(42, 69) Source(54, 33) + SourceIndex(0) +1->Emitted(43, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(43, 6) Source(54, 24) + SourceIndex(0) +3 >Emitted(43, 17) Source(54, 30) + SourceIndex(0) +4 >Emitted(43, 19) Source(54, 24) + SourceIndex(0) +5 >Emitted(43, 36) Source(54, 30) + SourceIndex(0) +6 >Emitted(43, 38) Source(54, 24) + SourceIndex(0) +7 >Emitted(43, 59) Source(54, 30) + SourceIndex(0) +8 >Emitted(43, 61) Source(54, 24) + SourceIndex(0) +9 >Emitted(43, 66) Source(54, 30) + SourceIndex(0) +10>Emitted(43, 68) Source(54, 32) + SourceIndex(0) +11>Emitted(43, 69) Source(54, 33) + SourceIndex(0) --- >>> _x = robots_2[_48][0], numberB = _x === void 0 ? -1 : _x; 1 >^^^^ @@ -1298,14 +1299,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > - 7 > 1 8 > -1 >Emitted(43, 5) Source(54, 7) + SourceIndex(0) -2 >Emitted(43, 26) Source(54, 19) + SourceIndex(0) -3 >Emitted(43, 28) Source(54, 7) + SourceIndex(0) -4 >Emitted(43, 35) Source(54, 14) + SourceIndex(0) -5 >Emitted(43, 54) Source(54, 17) + SourceIndex(0) -6 >Emitted(43, 55) Source(54, 18) + SourceIndex(0) -7 >Emitted(43, 56) Source(54, 19) + SourceIndex(0) -8 >Emitted(43, 61) Source(54, 19) + SourceIndex(0) +1 >Emitted(44, 5) Source(54, 7) + SourceIndex(0) +2 >Emitted(44, 26) Source(54, 19) + SourceIndex(0) +3 >Emitted(44, 28) Source(54, 7) + SourceIndex(0) +4 >Emitted(44, 35) Source(54, 14) + SourceIndex(0) +5 >Emitted(44, 54) Source(54, 17) + SourceIndex(0) +6 >Emitted(44, 55) Source(54, 18) + SourceIndex(0) +7 >Emitted(44, 56) Source(54, 19) + SourceIndex(0) +8 >Emitted(44, 61) Source(54, 19) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1325,14 +1326,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberB 7 > ) 8 > ; -1 >Emitted(44, 5) Source(55, 5) + SourceIndex(0) -2 >Emitted(44, 12) Source(55, 12) + SourceIndex(0) -3 >Emitted(44, 13) Source(55, 13) + SourceIndex(0) -4 >Emitted(44, 16) Source(55, 16) + SourceIndex(0) -5 >Emitted(44, 17) Source(55, 17) + SourceIndex(0) -6 >Emitted(44, 24) Source(55, 24) + SourceIndex(0) -7 >Emitted(44, 25) Source(55, 25) + SourceIndex(0) -8 >Emitted(44, 26) Source(55, 26) + SourceIndex(0) +1 >Emitted(45, 5) Source(55, 5) + SourceIndex(0) +2 >Emitted(45, 12) Source(55, 12) + SourceIndex(0) +3 >Emitted(45, 13) Source(55, 13) + SourceIndex(0) +4 >Emitted(45, 16) Source(55, 16) + SourceIndex(0) +5 >Emitted(45, 17) Source(55, 17) + SourceIndex(0) +6 >Emitted(45, 24) Source(55, 24) + SourceIndex(0) +7 >Emitted(45, 25) Source(55, 25) + SourceIndex(0) +8 >Emitted(45, 26) Source(55, 26) + SourceIndex(0) --- >>>} 1 > @@ -1341,8 +1342,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(45, 1) Source(56, 1) + SourceIndex(0) -2 >Emitted(45, 2) Source(56, 2) + SourceIndex(0) +1 >Emitted(46, 1) Source(56, 1) + SourceIndex(0) +2 >Emitted(46, 2) Source(56, 2) + SourceIndex(0) --- >>>for (var _49 = 0, _50 = getRobots(); _49 < _50.length; _49++) { 1-> @@ -1372,19 +1373,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getRobots() 12> ) 13> { -1->Emitted(46, 1) Source(57, 1) + SourceIndex(0) -2 >Emitted(46, 6) Source(57, 24) + SourceIndex(0) -3 >Emitted(46, 17) Source(57, 35) + SourceIndex(0) -4 >Emitted(46, 19) Source(57, 24) + SourceIndex(0) -5 >Emitted(46, 25) Source(57, 24) + SourceIndex(0) -6 >Emitted(46, 34) Source(57, 33) + SourceIndex(0) -7 >Emitted(46, 36) Source(57, 35) + SourceIndex(0) -8 >Emitted(46, 38) Source(57, 24) + SourceIndex(0) -9 >Emitted(46, 54) Source(57, 35) + SourceIndex(0) -10>Emitted(46, 56) Source(57, 24) + SourceIndex(0) -11>Emitted(46, 61) Source(57, 35) + SourceIndex(0) -12>Emitted(46, 63) Source(57, 37) + SourceIndex(0) -13>Emitted(46, 64) Source(57, 38) + SourceIndex(0) +1->Emitted(47, 1) Source(57, 1) + SourceIndex(0) +2 >Emitted(47, 6) Source(57, 24) + SourceIndex(0) +3 >Emitted(47, 17) Source(57, 35) + SourceIndex(0) +4 >Emitted(47, 19) Source(57, 24) + SourceIndex(0) +5 >Emitted(47, 25) Source(57, 24) + SourceIndex(0) +6 >Emitted(47, 34) Source(57, 33) + SourceIndex(0) +7 >Emitted(47, 36) Source(57, 35) + SourceIndex(0) +8 >Emitted(47, 38) Source(57, 24) + SourceIndex(0) +9 >Emitted(47, 54) Source(57, 35) + SourceIndex(0) +10>Emitted(47, 56) Source(57, 24) + SourceIndex(0) +11>Emitted(47, 61) Source(57, 35) + SourceIndex(0) +12>Emitted(47, 63) Source(57, 37) + SourceIndex(0) +13>Emitted(47, 64) Source(57, 38) + SourceIndex(0) --- >>> _y = _50[_49][0], numberB = _y === void 0 ? -1 : _y; 1 >^^^^ @@ -1403,14 +1404,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > - 7 > 1 8 > -1 >Emitted(47, 5) Source(57, 7) + SourceIndex(0) -2 >Emitted(47, 21) Source(57, 19) + SourceIndex(0) -3 >Emitted(47, 23) Source(57, 7) + SourceIndex(0) -4 >Emitted(47, 30) Source(57, 14) + SourceIndex(0) -5 >Emitted(47, 49) Source(57, 17) + SourceIndex(0) -6 >Emitted(47, 50) Source(57, 18) + SourceIndex(0) -7 >Emitted(47, 51) Source(57, 19) + SourceIndex(0) -8 >Emitted(47, 56) Source(57, 19) + SourceIndex(0) +1 >Emitted(48, 5) Source(57, 7) + SourceIndex(0) +2 >Emitted(48, 21) Source(57, 19) + SourceIndex(0) +3 >Emitted(48, 23) Source(57, 7) + SourceIndex(0) +4 >Emitted(48, 30) Source(57, 14) + SourceIndex(0) +5 >Emitted(48, 49) Source(57, 17) + SourceIndex(0) +6 >Emitted(48, 50) Source(57, 18) + SourceIndex(0) +7 >Emitted(48, 51) Source(57, 19) + SourceIndex(0) +8 >Emitted(48, 56) Source(57, 19) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1430,14 +1431,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberB 7 > ) 8 > ; -1 >Emitted(48, 5) Source(58, 5) + SourceIndex(0) -2 >Emitted(48, 12) Source(58, 12) + SourceIndex(0) -3 >Emitted(48, 13) Source(58, 13) + SourceIndex(0) -4 >Emitted(48, 16) Source(58, 16) + SourceIndex(0) -5 >Emitted(48, 17) Source(58, 17) + SourceIndex(0) -6 >Emitted(48, 24) Source(58, 24) + SourceIndex(0) -7 >Emitted(48, 25) Source(58, 25) + SourceIndex(0) -8 >Emitted(48, 26) Source(58, 26) + SourceIndex(0) +1 >Emitted(49, 5) Source(58, 5) + SourceIndex(0) +2 >Emitted(49, 12) Source(58, 12) + SourceIndex(0) +3 >Emitted(49, 13) Source(58, 13) + SourceIndex(0) +4 >Emitted(49, 16) Source(58, 16) + SourceIndex(0) +5 >Emitted(49, 17) Source(58, 17) + SourceIndex(0) +6 >Emitted(49, 24) Source(58, 24) + SourceIndex(0) +7 >Emitted(49, 25) Source(58, 25) + SourceIndex(0) +8 >Emitted(49, 26) Source(58, 26) + SourceIndex(0) --- >>>} 1 > @@ -1446,8 +1447,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(49, 1) Source(59, 1) + SourceIndex(0) -2 >Emitted(49, 2) Source(59, 2) + SourceIndex(0) +1 >Emitted(50, 1) Source(59, 1) + SourceIndex(0) +2 >Emitted(50, 2) Source(59, 2) + SourceIndex(0) --- >>>for (var _51 = 0, _52 = [robotA, robotB]; _51 < _52.length; _51++) { 1-> @@ -1481,21 +1482,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [robotA, robotB] 14> ) 15> { -1->Emitted(50, 1) Source(60, 1) + SourceIndex(0) -2 >Emitted(50, 6) Source(60, 24) + SourceIndex(0) -3 >Emitted(50, 17) Source(60, 40) + SourceIndex(0) -4 >Emitted(50, 19) Source(60, 24) + SourceIndex(0) -5 >Emitted(50, 26) Source(60, 25) + SourceIndex(0) -6 >Emitted(50, 32) Source(60, 31) + SourceIndex(0) -7 >Emitted(50, 34) Source(60, 33) + SourceIndex(0) -8 >Emitted(50, 40) Source(60, 39) + SourceIndex(0) -9 >Emitted(50, 41) Source(60, 40) + SourceIndex(0) -10>Emitted(50, 43) Source(60, 24) + SourceIndex(0) -11>Emitted(50, 59) Source(60, 40) + SourceIndex(0) -12>Emitted(50, 61) Source(60, 24) + SourceIndex(0) -13>Emitted(50, 66) Source(60, 40) + SourceIndex(0) -14>Emitted(50, 68) Source(60, 42) + SourceIndex(0) -15>Emitted(50, 69) Source(60, 43) + SourceIndex(0) +1->Emitted(51, 1) Source(60, 1) + SourceIndex(0) +2 >Emitted(51, 6) Source(60, 24) + SourceIndex(0) +3 >Emitted(51, 17) Source(60, 40) + SourceIndex(0) +4 >Emitted(51, 19) Source(60, 24) + SourceIndex(0) +5 >Emitted(51, 26) Source(60, 25) + SourceIndex(0) +6 >Emitted(51, 32) Source(60, 31) + SourceIndex(0) +7 >Emitted(51, 34) Source(60, 33) + SourceIndex(0) +8 >Emitted(51, 40) Source(60, 39) + SourceIndex(0) +9 >Emitted(51, 41) Source(60, 40) + SourceIndex(0) +10>Emitted(51, 43) Source(60, 24) + SourceIndex(0) +11>Emitted(51, 59) Source(60, 40) + SourceIndex(0) +12>Emitted(51, 61) Source(60, 24) + SourceIndex(0) +13>Emitted(51, 66) Source(60, 40) + SourceIndex(0) +14>Emitted(51, 68) Source(60, 42) + SourceIndex(0) +15>Emitted(51, 69) Source(60, 43) + SourceIndex(0) --- >>> _z = _52[_51][0], numberB = _z === void 0 ? -1 : _z; 1 >^^^^ @@ -1514,14 +1515,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > - 7 > 1 8 > -1 >Emitted(51, 5) Source(60, 7) + SourceIndex(0) -2 >Emitted(51, 21) Source(60, 19) + SourceIndex(0) -3 >Emitted(51, 23) Source(60, 7) + SourceIndex(0) -4 >Emitted(51, 30) Source(60, 14) + SourceIndex(0) -5 >Emitted(51, 49) Source(60, 17) + SourceIndex(0) -6 >Emitted(51, 50) Source(60, 18) + SourceIndex(0) -7 >Emitted(51, 51) Source(60, 19) + SourceIndex(0) -8 >Emitted(51, 56) Source(60, 19) + SourceIndex(0) +1 >Emitted(52, 5) Source(60, 7) + SourceIndex(0) +2 >Emitted(52, 21) Source(60, 19) + SourceIndex(0) +3 >Emitted(52, 23) Source(60, 7) + SourceIndex(0) +4 >Emitted(52, 30) Source(60, 14) + SourceIndex(0) +5 >Emitted(52, 49) Source(60, 17) + SourceIndex(0) +6 >Emitted(52, 50) Source(60, 18) + SourceIndex(0) +7 >Emitted(52, 51) Source(60, 19) + SourceIndex(0) +8 >Emitted(52, 56) Source(60, 19) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -1541,14 +1542,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberB 7 > ) 8 > ; -1 >Emitted(52, 5) Source(61, 5) + SourceIndex(0) -2 >Emitted(52, 12) Source(61, 12) + SourceIndex(0) -3 >Emitted(52, 13) Source(61, 13) + SourceIndex(0) -4 >Emitted(52, 16) Source(61, 16) + SourceIndex(0) -5 >Emitted(52, 17) Source(61, 17) + SourceIndex(0) -6 >Emitted(52, 24) Source(61, 24) + SourceIndex(0) -7 >Emitted(52, 25) Source(61, 25) + SourceIndex(0) -8 >Emitted(52, 26) Source(61, 26) + SourceIndex(0) +1 >Emitted(53, 5) Source(61, 5) + SourceIndex(0) +2 >Emitted(53, 12) Source(61, 12) + SourceIndex(0) +3 >Emitted(53, 13) Source(61, 13) + SourceIndex(0) +4 >Emitted(53, 16) Source(61, 16) + SourceIndex(0) +5 >Emitted(53, 17) Source(61, 17) + SourceIndex(0) +6 >Emitted(53, 24) Source(61, 24) + SourceIndex(0) +7 >Emitted(53, 25) Source(61, 25) + SourceIndex(0) +8 >Emitted(53, 26) Source(61, 26) + SourceIndex(0) --- >>>} 1 > @@ -1557,8 +1558,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(53, 1) Source(62, 1) + SourceIndex(0) -2 >Emitted(53, 2) Source(62, 2) + SourceIndex(0) +1 >Emitted(54, 1) Source(62, 1) + SourceIndex(0) +2 >Emitted(54, 2) Source(62, 2) + SourceIndex(0) --- >>>for (var _53 = 0, multiRobots_2 = multiRobots; _53 < multiRobots_2.length; _53++) { 1-> @@ -1584,17 +1585,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > multiRobots 10> ) 11> { -1->Emitted(54, 1) Source(63, 1) + SourceIndex(0) -2 >Emitted(54, 6) Source(63, 28) + SourceIndex(0) -3 >Emitted(54, 17) Source(63, 39) + SourceIndex(0) -4 >Emitted(54, 19) Source(63, 28) + SourceIndex(0) -5 >Emitted(54, 46) Source(63, 39) + SourceIndex(0) -6 >Emitted(54, 48) Source(63, 28) + SourceIndex(0) -7 >Emitted(54, 74) Source(63, 39) + SourceIndex(0) -8 >Emitted(54, 76) Source(63, 28) + SourceIndex(0) -9 >Emitted(54, 81) Source(63, 39) + SourceIndex(0) -10>Emitted(54, 83) Source(63, 41) + SourceIndex(0) -11>Emitted(54, 84) Source(63, 42) + SourceIndex(0) +1->Emitted(55, 1) Source(63, 1) + SourceIndex(0) +2 >Emitted(55, 6) Source(63, 28) + SourceIndex(0) +3 >Emitted(55, 17) Source(63, 39) + SourceIndex(0) +4 >Emitted(55, 19) Source(63, 28) + SourceIndex(0) +5 >Emitted(55, 46) Source(63, 39) + SourceIndex(0) +6 >Emitted(55, 48) Source(63, 28) + SourceIndex(0) +7 >Emitted(55, 74) Source(63, 39) + SourceIndex(0) +8 >Emitted(55, 76) Source(63, 28) + SourceIndex(0) +9 >Emitted(55, 81) Source(63, 39) + SourceIndex(0) +10>Emitted(55, 83) Source(63, 41) + SourceIndex(0) +11>Emitted(55, 84) Source(63, 42) + SourceIndex(0) --- >>> _0 = multiRobots_2[_53][0], nameB = _0 === void 0 ? "noName" : _0; 1 >^^^^ @@ -1611,13 +1612,13 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 5 > = 6 > "noName" 7 > -1 >Emitted(55, 5) Source(63, 7) + SourceIndex(0) -2 >Emitted(55, 31) Source(63, 23) + SourceIndex(0) -3 >Emitted(55, 33) Source(63, 7) + SourceIndex(0) -4 >Emitted(55, 38) Source(63, 12) + SourceIndex(0) -5 >Emitted(55, 57) Source(63, 15) + SourceIndex(0) -6 >Emitted(55, 65) Source(63, 23) + SourceIndex(0) -7 >Emitted(55, 70) Source(63, 23) + SourceIndex(0) +1 >Emitted(56, 5) Source(63, 7) + SourceIndex(0) +2 >Emitted(56, 31) Source(63, 23) + SourceIndex(0) +3 >Emitted(56, 33) Source(63, 7) + SourceIndex(0) +4 >Emitted(56, 38) Source(63, 12) + SourceIndex(0) +5 >Emitted(56, 57) Source(63, 15) + SourceIndex(0) +6 >Emitted(56, 65) Source(63, 23) + SourceIndex(0) +7 >Emitted(56, 70) Source(63, 23) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1637,14 +1638,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameB 7 > ) 8 > ; -1 >Emitted(56, 5) Source(64, 5) + SourceIndex(0) -2 >Emitted(56, 12) Source(64, 12) + SourceIndex(0) -3 >Emitted(56, 13) Source(64, 13) + SourceIndex(0) -4 >Emitted(56, 16) Source(64, 16) + SourceIndex(0) -5 >Emitted(56, 17) Source(64, 17) + SourceIndex(0) -6 >Emitted(56, 22) Source(64, 22) + SourceIndex(0) -7 >Emitted(56, 23) Source(64, 23) + SourceIndex(0) -8 >Emitted(56, 24) Source(64, 24) + SourceIndex(0) +1 >Emitted(57, 5) Source(64, 5) + SourceIndex(0) +2 >Emitted(57, 12) Source(64, 12) + SourceIndex(0) +3 >Emitted(57, 13) Source(64, 13) + SourceIndex(0) +4 >Emitted(57, 16) Source(64, 16) + SourceIndex(0) +5 >Emitted(57, 17) Source(64, 17) + SourceIndex(0) +6 >Emitted(57, 22) Source(64, 22) + SourceIndex(0) +7 >Emitted(57, 23) Source(64, 23) + SourceIndex(0) +8 >Emitted(57, 24) Source(64, 24) + SourceIndex(0) --- >>>} 1 > @@ -1653,8 +1654,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(57, 1) Source(65, 1) + SourceIndex(0) -2 >Emitted(57, 2) Source(65, 2) + SourceIndex(0) +1 >Emitted(58, 1) Source(65, 1) + SourceIndex(0) +2 >Emitted(58, 2) Source(65, 2) + SourceIndex(0) --- >>>for (var _54 = 0, _55 = getMultiRobots(); _54 < _55.length; _54++) { 1-> @@ -1684,19 +1685,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getMultiRobots() 12> ) 13> { -1->Emitted(58, 1) Source(66, 1) + SourceIndex(0) -2 >Emitted(58, 6) Source(66, 28) + SourceIndex(0) -3 >Emitted(58, 17) Source(66, 44) + SourceIndex(0) -4 >Emitted(58, 19) Source(66, 28) + SourceIndex(0) -5 >Emitted(58, 25) Source(66, 28) + SourceIndex(0) -6 >Emitted(58, 39) Source(66, 42) + SourceIndex(0) -7 >Emitted(58, 41) Source(66, 44) + SourceIndex(0) -8 >Emitted(58, 43) Source(66, 28) + SourceIndex(0) -9 >Emitted(58, 59) Source(66, 44) + SourceIndex(0) -10>Emitted(58, 61) Source(66, 28) + SourceIndex(0) -11>Emitted(58, 66) Source(66, 44) + SourceIndex(0) -12>Emitted(58, 68) Source(66, 46) + SourceIndex(0) -13>Emitted(58, 69) Source(66, 47) + SourceIndex(0) +1->Emitted(59, 1) Source(66, 1) + SourceIndex(0) +2 >Emitted(59, 6) Source(66, 28) + SourceIndex(0) +3 >Emitted(59, 17) Source(66, 44) + SourceIndex(0) +4 >Emitted(59, 19) Source(66, 28) + SourceIndex(0) +5 >Emitted(59, 25) Source(66, 28) + SourceIndex(0) +6 >Emitted(59, 39) Source(66, 42) + SourceIndex(0) +7 >Emitted(59, 41) Source(66, 44) + SourceIndex(0) +8 >Emitted(59, 43) Source(66, 28) + SourceIndex(0) +9 >Emitted(59, 59) Source(66, 44) + SourceIndex(0) +10>Emitted(59, 61) Source(66, 28) + SourceIndex(0) +11>Emitted(59, 66) Source(66, 44) + SourceIndex(0) +12>Emitted(59, 68) Source(66, 46) + SourceIndex(0) +13>Emitted(59, 69) Source(66, 47) + SourceIndex(0) --- >>> _1 = _55[_54][0], nameB = _1 === void 0 ? "noName" : _1; 1 >^^^^ @@ -1713,13 +1714,13 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 5 > = 6 > "noName" 7 > -1 >Emitted(59, 5) Source(66, 7) + SourceIndex(0) -2 >Emitted(59, 21) Source(66, 23) + SourceIndex(0) -3 >Emitted(59, 23) Source(66, 7) + SourceIndex(0) -4 >Emitted(59, 28) Source(66, 12) + SourceIndex(0) -5 >Emitted(59, 47) Source(66, 15) + SourceIndex(0) -6 >Emitted(59, 55) Source(66, 23) + SourceIndex(0) -7 >Emitted(59, 60) Source(66, 23) + SourceIndex(0) +1 >Emitted(60, 5) Source(66, 7) + SourceIndex(0) +2 >Emitted(60, 21) Source(66, 23) + SourceIndex(0) +3 >Emitted(60, 23) Source(66, 7) + SourceIndex(0) +4 >Emitted(60, 28) Source(66, 12) + SourceIndex(0) +5 >Emitted(60, 47) Source(66, 15) + SourceIndex(0) +6 >Emitted(60, 55) Source(66, 23) + SourceIndex(0) +7 >Emitted(60, 60) Source(66, 23) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1739,14 +1740,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameB 7 > ) 8 > ; -1 >Emitted(60, 5) Source(67, 5) + SourceIndex(0) -2 >Emitted(60, 12) Source(67, 12) + SourceIndex(0) -3 >Emitted(60, 13) Source(67, 13) + SourceIndex(0) -4 >Emitted(60, 16) Source(67, 16) + SourceIndex(0) -5 >Emitted(60, 17) Source(67, 17) + SourceIndex(0) -6 >Emitted(60, 22) Source(67, 22) + SourceIndex(0) -7 >Emitted(60, 23) Source(67, 23) + SourceIndex(0) -8 >Emitted(60, 24) Source(67, 24) + SourceIndex(0) +1 >Emitted(61, 5) Source(67, 5) + SourceIndex(0) +2 >Emitted(61, 12) Source(67, 12) + SourceIndex(0) +3 >Emitted(61, 13) Source(67, 13) + SourceIndex(0) +4 >Emitted(61, 16) Source(67, 16) + SourceIndex(0) +5 >Emitted(61, 17) Source(67, 17) + SourceIndex(0) +6 >Emitted(61, 22) Source(67, 22) + SourceIndex(0) +7 >Emitted(61, 23) Source(67, 23) + SourceIndex(0) +8 >Emitted(61, 24) Source(67, 24) + SourceIndex(0) --- >>>} 1 > @@ -1755,8 +1756,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(61, 1) Source(68, 1) + SourceIndex(0) -2 >Emitted(61, 2) Source(68, 2) + SourceIndex(0) +1 >Emitted(62, 1) Source(68, 1) + SourceIndex(0) +2 >Emitted(62, 2) Source(68, 2) + SourceIndex(0) --- >>>for (var _56 = 0, _57 = [multiRobotA, multiRobotB]; _56 < _57.length; _56++) { 1-> @@ -1790,21 +1791,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(62, 1) Source(69, 1) + SourceIndex(0) -2 >Emitted(62, 6) Source(69, 28) + SourceIndex(0) -3 >Emitted(62, 17) Source(69, 54) + SourceIndex(0) -4 >Emitted(62, 19) Source(69, 28) + SourceIndex(0) -5 >Emitted(62, 26) Source(69, 29) + SourceIndex(0) -6 >Emitted(62, 37) Source(69, 40) + SourceIndex(0) -7 >Emitted(62, 39) Source(69, 42) + SourceIndex(0) -8 >Emitted(62, 50) Source(69, 53) + SourceIndex(0) -9 >Emitted(62, 51) Source(69, 54) + SourceIndex(0) -10>Emitted(62, 53) Source(69, 28) + SourceIndex(0) -11>Emitted(62, 69) Source(69, 54) + SourceIndex(0) -12>Emitted(62, 71) Source(69, 28) + SourceIndex(0) -13>Emitted(62, 76) Source(69, 54) + SourceIndex(0) -14>Emitted(62, 78) Source(69, 56) + SourceIndex(0) -15>Emitted(62, 79) Source(69, 57) + SourceIndex(0) +1->Emitted(63, 1) Source(69, 1) + SourceIndex(0) +2 >Emitted(63, 6) Source(69, 28) + SourceIndex(0) +3 >Emitted(63, 17) Source(69, 54) + SourceIndex(0) +4 >Emitted(63, 19) Source(69, 28) + SourceIndex(0) +5 >Emitted(63, 26) Source(69, 29) + SourceIndex(0) +6 >Emitted(63, 37) Source(69, 40) + SourceIndex(0) +7 >Emitted(63, 39) Source(69, 42) + SourceIndex(0) +8 >Emitted(63, 50) Source(69, 53) + SourceIndex(0) +9 >Emitted(63, 51) Source(69, 54) + SourceIndex(0) +10>Emitted(63, 53) Source(69, 28) + SourceIndex(0) +11>Emitted(63, 69) Source(69, 54) + SourceIndex(0) +12>Emitted(63, 71) Source(69, 28) + SourceIndex(0) +13>Emitted(63, 76) Source(69, 54) + SourceIndex(0) +14>Emitted(63, 78) Source(69, 56) + SourceIndex(0) +15>Emitted(63, 79) Source(69, 57) + SourceIndex(0) --- >>> _2 = _57[_56][0], nameB = _2 === void 0 ? "noName" : _2; 1 >^^^^ @@ -1821,13 +1822,13 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 5 > = 6 > "noName" 7 > -1 >Emitted(63, 5) Source(69, 7) + SourceIndex(0) -2 >Emitted(63, 21) Source(69, 23) + SourceIndex(0) -3 >Emitted(63, 23) Source(69, 7) + SourceIndex(0) -4 >Emitted(63, 28) Source(69, 12) + SourceIndex(0) -5 >Emitted(63, 47) Source(69, 15) + SourceIndex(0) -6 >Emitted(63, 55) Source(69, 23) + SourceIndex(0) -7 >Emitted(63, 60) Source(69, 23) + SourceIndex(0) +1 >Emitted(64, 5) Source(69, 7) + SourceIndex(0) +2 >Emitted(64, 21) Source(69, 23) + SourceIndex(0) +3 >Emitted(64, 23) Source(69, 7) + SourceIndex(0) +4 >Emitted(64, 28) Source(69, 12) + SourceIndex(0) +5 >Emitted(64, 47) Source(69, 15) + SourceIndex(0) +6 >Emitted(64, 55) Source(69, 23) + SourceIndex(0) +7 >Emitted(64, 60) Source(69, 23) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -1847,14 +1848,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameB 7 > ) 8 > ; -1 >Emitted(64, 5) Source(70, 5) + SourceIndex(0) -2 >Emitted(64, 12) Source(70, 12) + SourceIndex(0) -3 >Emitted(64, 13) Source(70, 13) + SourceIndex(0) -4 >Emitted(64, 16) Source(70, 16) + SourceIndex(0) -5 >Emitted(64, 17) Source(70, 17) + SourceIndex(0) -6 >Emitted(64, 22) Source(70, 22) + SourceIndex(0) -7 >Emitted(64, 23) Source(70, 23) + SourceIndex(0) -8 >Emitted(64, 24) Source(70, 24) + SourceIndex(0) +1 >Emitted(65, 5) Source(70, 5) + SourceIndex(0) +2 >Emitted(65, 12) Source(70, 12) + SourceIndex(0) +3 >Emitted(65, 13) Source(70, 13) + SourceIndex(0) +4 >Emitted(65, 16) Source(70, 16) + SourceIndex(0) +5 >Emitted(65, 17) Source(70, 17) + SourceIndex(0) +6 >Emitted(65, 22) Source(70, 22) + SourceIndex(0) +7 >Emitted(65, 23) Source(70, 23) + SourceIndex(0) +8 >Emitted(65, 24) Source(70, 24) + SourceIndex(0) --- >>>} 1 > @@ -1863,8 +1864,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(65, 1) Source(71, 1) + SourceIndex(0) -2 >Emitted(65, 2) Source(71, 2) + SourceIndex(0) +1 >Emitted(66, 1) Source(71, 1) + SourceIndex(0) +2 >Emitted(66, 2) Source(71, 2) + SourceIndex(0) --- >>>for (var _58 = 0, robots_3 = robots; _58 < robots_3.length; _58++) { 1-> @@ -1892,17 +1893,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > robots 10> ) 11> { -1->Emitted(66, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(66, 6) Source(73, 63) + SourceIndex(0) -3 >Emitted(66, 17) Source(73, 69) + SourceIndex(0) -4 >Emitted(66, 19) Source(73, 63) + SourceIndex(0) -5 >Emitted(66, 36) Source(73, 69) + SourceIndex(0) -6 >Emitted(66, 38) Source(73, 63) + SourceIndex(0) -7 >Emitted(66, 59) Source(73, 69) + SourceIndex(0) -8 >Emitted(66, 61) Source(73, 63) + SourceIndex(0) -9 >Emitted(66, 66) Source(73, 69) + SourceIndex(0) -10>Emitted(66, 68) Source(73, 71) + SourceIndex(0) -11>Emitted(66, 69) Source(73, 72) + SourceIndex(0) +1->Emitted(67, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(67, 6) Source(73, 63) + SourceIndex(0) +3 >Emitted(67, 17) Source(73, 69) + SourceIndex(0) +4 >Emitted(67, 19) Source(73, 63) + SourceIndex(0) +5 >Emitted(67, 36) Source(73, 69) + SourceIndex(0) +6 >Emitted(67, 38) Source(73, 63) + SourceIndex(0) +7 >Emitted(67, 59) Source(73, 69) + SourceIndex(0) +8 >Emitted(67, 61) Source(73, 63) + SourceIndex(0) +9 >Emitted(67, 66) Source(73, 69) + SourceIndex(0) +10>Emitted(67, 68) Source(73, 71) + SourceIndex(0) +11>Emitted(67, 69) Source(73, 72) + SourceIndex(0) --- >>> _3 = robots_3[_58], _4 = _3[0], numberA2 = _4 === void 0 ? -1 : _4, _5 = _3[1], nameA2 = _5 === void 0 ? "noName" : _5, _6 = _3[2], skillA2 = _6 === void 0 ? "skill" : _6; 1->^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1949,28 +1950,28 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 20> = 21> "skill" 22> -1->Emitted(67, 25) Source(73, 7) + SourceIndex(0) -2 >Emitted(67, 35) Source(73, 20) + SourceIndex(0) -3 >Emitted(67, 37) Source(73, 7) + SourceIndex(0) -4 >Emitted(67, 45) Source(73, 15) + SourceIndex(0) -5 >Emitted(67, 64) Source(73, 18) + SourceIndex(0) -6 >Emitted(67, 65) Source(73, 19) + SourceIndex(0) -7 >Emitted(67, 66) Source(73, 20) + SourceIndex(0) -8 >Emitted(67, 71) Source(73, 20) + SourceIndex(0) -9 >Emitted(67, 73) Source(73, 22) + SourceIndex(0) -10>Emitted(67, 83) Source(73, 39) + SourceIndex(0) -11>Emitted(67, 85) Source(73, 22) + SourceIndex(0) -12>Emitted(67, 91) Source(73, 28) + SourceIndex(0) -13>Emitted(67, 110) Source(73, 31) + SourceIndex(0) -14>Emitted(67, 118) Source(73, 39) + SourceIndex(0) -15>Emitted(67, 123) Source(73, 39) + SourceIndex(0) -16>Emitted(67, 125) Source(73, 41) + SourceIndex(0) -17>Emitted(67, 135) Source(73, 58) + SourceIndex(0) -18>Emitted(67, 137) Source(73, 41) + SourceIndex(0) -19>Emitted(67, 144) Source(73, 48) + SourceIndex(0) -20>Emitted(67, 163) Source(73, 51) + SourceIndex(0) -21>Emitted(67, 170) Source(73, 58) + SourceIndex(0) -22>Emitted(67, 175) Source(73, 58) + SourceIndex(0) +1->Emitted(68, 25) Source(73, 7) + SourceIndex(0) +2 >Emitted(68, 35) Source(73, 20) + SourceIndex(0) +3 >Emitted(68, 37) Source(73, 7) + SourceIndex(0) +4 >Emitted(68, 45) Source(73, 15) + SourceIndex(0) +5 >Emitted(68, 64) Source(73, 18) + SourceIndex(0) +6 >Emitted(68, 65) Source(73, 19) + SourceIndex(0) +7 >Emitted(68, 66) Source(73, 20) + SourceIndex(0) +8 >Emitted(68, 71) Source(73, 20) + SourceIndex(0) +9 >Emitted(68, 73) Source(73, 22) + SourceIndex(0) +10>Emitted(68, 83) Source(73, 39) + SourceIndex(0) +11>Emitted(68, 85) Source(73, 22) + SourceIndex(0) +12>Emitted(68, 91) Source(73, 28) + SourceIndex(0) +13>Emitted(68, 110) Source(73, 31) + SourceIndex(0) +14>Emitted(68, 118) Source(73, 39) + SourceIndex(0) +15>Emitted(68, 123) Source(73, 39) + SourceIndex(0) +16>Emitted(68, 125) Source(73, 41) + SourceIndex(0) +17>Emitted(68, 135) Source(73, 58) + SourceIndex(0) +18>Emitted(68, 137) Source(73, 41) + SourceIndex(0) +19>Emitted(68, 144) Source(73, 48) + SourceIndex(0) +20>Emitted(68, 163) Source(73, 51) + SourceIndex(0) +21>Emitted(68, 170) Source(73, 58) + SourceIndex(0) +22>Emitted(68, 175) Source(73, 58) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -1990,14 +1991,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA2 7 > ) 8 > ; -1 >Emitted(68, 5) Source(74, 5) + SourceIndex(0) -2 >Emitted(68, 12) Source(74, 12) + SourceIndex(0) -3 >Emitted(68, 13) Source(74, 13) + SourceIndex(0) -4 >Emitted(68, 16) Source(74, 16) + SourceIndex(0) -5 >Emitted(68, 17) Source(74, 17) + SourceIndex(0) -6 >Emitted(68, 23) Source(74, 23) + SourceIndex(0) -7 >Emitted(68, 24) Source(74, 24) + SourceIndex(0) -8 >Emitted(68, 25) Source(74, 25) + SourceIndex(0) +1 >Emitted(69, 5) Source(74, 5) + SourceIndex(0) +2 >Emitted(69, 12) Source(74, 12) + SourceIndex(0) +3 >Emitted(69, 13) Source(74, 13) + SourceIndex(0) +4 >Emitted(69, 16) Source(74, 16) + SourceIndex(0) +5 >Emitted(69, 17) Source(74, 17) + SourceIndex(0) +6 >Emitted(69, 23) Source(74, 23) + SourceIndex(0) +7 >Emitted(69, 24) Source(74, 24) + SourceIndex(0) +8 >Emitted(69, 25) Source(74, 25) + SourceIndex(0) --- >>>} 1 > @@ -2006,8 +2007,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(69, 1) Source(75, 1) + SourceIndex(0) -2 >Emitted(69, 2) Source(75, 2) + SourceIndex(0) +1 >Emitted(70, 1) Source(75, 1) + SourceIndex(0) +2 >Emitted(70, 2) Source(75, 2) + SourceIndex(0) --- >>>for (var _59 = 0, _60 = getRobots(); _59 < _60.length; _59++) { 1-> @@ -2038,19 +2039,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getRobots() 12> ) 13> { -1->Emitted(70, 1) Source(76, 1) + SourceIndex(0) -2 >Emitted(70, 6) Source(76, 63) + SourceIndex(0) -3 >Emitted(70, 17) Source(76, 74) + SourceIndex(0) -4 >Emitted(70, 19) Source(76, 63) + SourceIndex(0) -5 >Emitted(70, 25) Source(76, 63) + SourceIndex(0) -6 >Emitted(70, 34) Source(76, 72) + SourceIndex(0) -7 >Emitted(70, 36) Source(76, 74) + SourceIndex(0) -8 >Emitted(70, 38) Source(76, 63) + SourceIndex(0) -9 >Emitted(70, 54) Source(76, 74) + SourceIndex(0) -10>Emitted(70, 56) Source(76, 63) + SourceIndex(0) -11>Emitted(70, 61) Source(76, 74) + SourceIndex(0) -12>Emitted(70, 63) Source(76, 76) + SourceIndex(0) -13>Emitted(70, 64) Source(76, 77) + SourceIndex(0) +1->Emitted(71, 1) Source(76, 1) + SourceIndex(0) +2 >Emitted(71, 6) Source(76, 63) + SourceIndex(0) +3 >Emitted(71, 17) Source(76, 74) + SourceIndex(0) +4 >Emitted(71, 19) Source(76, 63) + SourceIndex(0) +5 >Emitted(71, 25) Source(76, 63) + SourceIndex(0) +6 >Emitted(71, 34) Source(76, 72) + SourceIndex(0) +7 >Emitted(71, 36) Source(76, 74) + SourceIndex(0) +8 >Emitted(71, 38) Source(76, 63) + SourceIndex(0) +9 >Emitted(71, 54) Source(76, 74) + SourceIndex(0) +10>Emitted(71, 56) Source(76, 63) + SourceIndex(0) +11>Emitted(71, 61) Source(76, 74) + SourceIndex(0) +12>Emitted(71, 63) Source(76, 76) + SourceIndex(0) +13>Emitted(71, 64) Source(76, 77) + SourceIndex(0) --- >>> _7 = _60[_59], _8 = _7[0], numberA2 = _8 === void 0 ? -1 : _8, _9 = _7[1], nameA2 = _9 === void 0 ? "noName" : _9, _10 = _7[2], skillA2 = _10 === void 0 ? "skill" : _10; 1->^^^^^^^^^^^^^^^^^^^ @@ -2097,28 +2098,28 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 20> = 21> "skill" 22> -1->Emitted(71, 20) Source(76, 7) + SourceIndex(0) -2 >Emitted(71, 30) Source(76, 20) + SourceIndex(0) -3 >Emitted(71, 32) Source(76, 7) + SourceIndex(0) -4 >Emitted(71, 40) Source(76, 15) + SourceIndex(0) -5 >Emitted(71, 59) Source(76, 18) + SourceIndex(0) -6 >Emitted(71, 60) Source(76, 19) + SourceIndex(0) -7 >Emitted(71, 61) Source(76, 20) + SourceIndex(0) -8 >Emitted(71, 66) Source(76, 20) + SourceIndex(0) -9 >Emitted(71, 68) Source(76, 22) + SourceIndex(0) -10>Emitted(71, 78) Source(76, 39) + SourceIndex(0) -11>Emitted(71, 80) Source(76, 22) + SourceIndex(0) -12>Emitted(71, 86) Source(76, 28) + SourceIndex(0) -13>Emitted(71, 105) Source(76, 31) + SourceIndex(0) -14>Emitted(71, 113) Source(76, 39) + SourceIndex(0) -15>Emitted(71, 118) Source(76, 39) + SourceIndex(0) -16>Emitted(71, 120) Source(76, 41) + SourceIndex(0) -17>Emitted(71, 131) Source(76, 58) + SourceIndex(0) -18>Emitted(71, 133) Source(76, 41) + SourceIndex(0) -19>Emitted(71, 140) Source(76, 48) + SourceIndex(0) -20>Emitted(71, 160) Source(76, 51) + SourceIndex(0) -21>Emitted(71, 167) Source(76, 58) + SourceIndex(0) -22>Emitted(71, 173) Source(76, 58) + SourceIndex(0) +1->Emitted(72, 20) Source(76, 7) + SourceIndex(0) +2 >Emitted(72, 30) Source(76, 20) + SourceIndex(0) +3 >Emitted(72, 32) Source(76, 7) + SourceIndex(0) +4 >Emitted(72, 40) Source(76, 15) + SourceIndex(0) +5 >Emitted(72, 59) Source(76, 18) + SourceIndex(0) +6 >Emitted(72, 60) Source(76, 19) + SourceIndex(0) +7 >Emitted(72, 61) Source(76, 20) + SourceIndex(0) +8 >Emitted(72, 66) Source(76, 20) + SourceIndex(0) +9 >Emitted(72, 68) Source(76, 22) + SourceIndex(0) +10>Emitted(72, 78) Source(76, 39) + SourceIndex(0) +11>Emitted(72, 80) Source(76, 22) + SourceIndex(0) +12>Emitted(72, 86) Source(76, 28) + SourceIndex(0) +13>Emitted(72, 105) Source(76, 31) + SourceIndex(0) +14>Emitted(72, 113) Source(76, 39) + SourceIndex(0) +15>Emitted(72, 118) Source(76, 39) + SourceIndex(0) +16>Emitted(72, 120) Source(76, 41) + SourceIndex(0) +17>Emitted(72, 131) Source(76, 58) + SourceIndex(0) +18>Emitted(72, 133) Source(76, 41) + SourceIndex(0) +19>Emitted(72, 140) Source(76, 48) + SourceIndex(0) +20>Emitted(72, 160) Source(76, 51) + SourceIndex(0) +21>Emitted(72, 167) Source(76, 58) + SourceIndex(0) +22>Emitted(72, 173) Source(76, 58) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -2138,14 +2139,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA2 7 > ) 8 > ; -1 >Emitted(72, 5) Source(77, 5) + SourceIndex(0) -2 >Emitted(72, 12) Source(77, 12) + SourceIndex(0) -3 >Emitted(72, 13) Source(77, 13) + SourceIndex(0) -4 >Emitted(72, 16) Source(77, 16) + SourceIndex(0) -5 >Emitted(72, 17) Source(77, 17) + SourceIndex(0) -6 >Emitted(72, 23) Source(77, 23) + SourceIndex(0) -7 >Emitted(72, 24) Source(77, 24) + SourceIndex(0) -8 >Emitted(72, 25) Source(77, 25) + SourceIndex(0) +1 >Emitted(73, 5) Source(77, 5) + SourceIndex(0) +2 >Emitted(73, 12) Source(77, 12) + SourceIndex(0) +3 >Emitted(73, 13) Source(77, 13) + SourceIndex(0) +4 >Emitted(73, 16) Source(77, 16) + SourceIndex(0) +5 >Emitted(73, 17) Source(77, 17) + SourceIndex(0) +6 >Emitted(73, 23) Source(77, 23) + SourceIndex(0) +7 >Emitted(73, 24) Source(77, 24) + SourceIndex(0) +8 >Emitted(73, 25) Source(77, 25) + SourceIndex(0) --- >>>} 1 > @@ -2154,8 +2155,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(73, 1) Source(78, 1) + SourceIndex(0) -2 >Emitted(73, 2) Source(78, 2) + SourceIndex(0) +1 >Emitted(74, 1) Source(78, 1) + SourceIndex(0) +2 >Emitted(74, 2) Source(78, 2) + SourceIndex(0) --- >>>for (var _61 = 0, _62 = [robotA, robotB]; _61 < _62.length; _61++) { 1-> @@ -2190,21 +2191,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [robotA, robotB] 14> ) 15> { -1->Emitted(74, 1) Source(79, 1) + SourceIndex(0) -2 >Emitted(74, 6) Source(79, 63) + SourceIndex(0) -3 >Emitted(74, 17) Source(79, 79) + SourceIndex(0) -4 >Emitted(74, 19) Source(79, 63) + SourceIndex(0) -5 >Emitted(74, 26) Source(79, 64) + SourceIndex(0) -6 >Emitted(74, 32) Source(79, 70) + SourceIndex(0) -7 >Emitted(74, 34) Source(79, 72) + SourceIndex(0) -8 >Emitted(74, 40) Source(79, 78) + SourceIndex(0) -9 >Emitted(74, 41) Source(79, 79) + SourceIndex(0) -10>Emitted(74, 43) Source(79, 63) + SourceIndex(0) -11>Emitted(74, 59) Source(79, 79) + SourceIndex(0) -12>Emitted(74, 61) Source(79, 63) + SourceIndex(0) -13>Emitted(74, 66) Source(79, 79) + SourceIndex(0) -14>Emitted(74, 68) Source(79, 81) + SourceIndex(0) -15>Emitted(74, 69) Source(79, 82) + SourceIndex(0) +1->Emitted(75, 1) Source(79, 1) + SourceIndex(0) +2 >Emitted(75, 6) Source(79, 63) + SourceIndex(0) +3 >Emitted(75, 17) Source(79, 79) + SourceIndex(0) +4 >Emitted(75, 19) Source(79, 63) + SourceIndex(0) +5 >Emitted(75, 26) Source(79, 64) + SourceIndex(0) +6 >Emitted(75, 32) Source(79, 70) + SourceIndex(0) +7 >Emitted(75, 34) Source(79, 72) + SourceIndex(0) +8 >Emitted(75, 40) Source(79, 78) + SourceIndex(0) +9 >Emitted(75, 41) Source(79, 79) + SourceIndex(0) +10>Emitted(75, 43) Source(79, 63) + SourceIndex(0) +11>Emitted(75, 59) Source(79, 79) + SourceIndex(0) +12>Emitted(75, 61) Source(79, 63) + SourceIndex(0) +13>Emitted(75, 66) Source(79, 79) + SourceIndex(0) +14>Emitted(75, 68) Source(79, 81) + SourceIndex(0) +15>Emitted(75, 69) Source(79, 82) + SourceIndex(0) --- >>> _11 = _62[_61], _12 = _11[0], numberA2 = _12 === void 0 ? -1 : _12, _13 = _11[1], nameA2 = _13 === void 0 ? "noName" : _13, _14 = _11[2], skillA2 = _14 === void 0 ? "skill" : _14; 1->^^^^^^^^^^^^^^^^^^^^ @@ -2251,28 +2252,28 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 20> = 21> "skill" 22> -1->Emitted(75, 21) Source(79, 7) + SourceIndex(0) -2 >Emitted(75, 33) Source(79, 20) + SourceIndex(0) -3 >Emitted(75, 35) Source(79, 7) + SourceIndex(0) -4 >Emitted(75, 43) Source(79, 15) + SourceIndex(0) -5 >Emitted(75, 63) Source(79, 18) + SourceIndex(0) -6 >Emitted(75, 64) Source(79, 19) + SourceIndex(0) -7 >Emitted(75, 65) Source(79, 20) + SourceIndex(0) -8 >Emitted(75, 71) Source(79, 20) + SourceIndex(0) -9 >Emitted(75, 73) Source(79, 22) + SourceIndex(0) -10>Emitted(75, 85) Source(79, 39) + SourceIndex(0) -11>Emitted(75, 87) Source(79, 22) + SourceIndex(0) -12>Emitted(75, 93) Source(79, 28) + SourceIndex(0) -13>Emitted(75, 113) Source(79, 31) + SourceIndex(0) -14>Emitted(75, 121) Source(79, 39) + SourceIndex(0) -15>Emitted(75, 127) Source(79, 39) + SourceIndex(0) -16>Emitted(75, 129) Source(79, 41) + SourceIndex(0) -17>Emitted(75, 141) Source(79, 58) + SourceIndex(0) -18>Emitted(75, 143) Source(79, 41) + SourceIndex(0) -19>Emitted(75, 150) Source(79, 48) + SourceIndex(0) -20>Emitted(75, 170) Source(79, 51) + SourceIndex(0) -21>Emitted(75, 177) Source(79, 58) + SourceIndex(0) -22>Emitted(75, 183) Source(79, 58) + SourceIndex(0) +1->Emitted(76, 21) Source(79, 7) + SourceIndex(0) +2 >Emitted(76, 33) Source(79, 20) + SourceIndex(0) +3 >Emitted(76, 35) Source(79, 7) + SourceIndex(0) +4 >Emitted(76, 43) Source(79, 15) + SourceIndex(0) +5 >Emitted(76, 63) Source(79, 18) + SourceIndex(0) +6 >Emitted(76, 64) Source(79, 19) + SourceIndex(0) +7 >Emitted(76, 65) Source(79, 20) + SourceIndex(0) +8 >Emitted(76, 71) Source(79, 20) + SourceIndex(0) +9 >Emitted(76, 73) Source(79, 22) + SourceIndex(0) +10>Emitted(76, 85) Source(79, 39) + SourceIndex(0) +11>Emitted(76, 87) Source(79, 22) + SourceIndex(0) +12>Emitted(76, 93) Source(79, 28) + SourceIndex(0) +13>Emitted(76, 113) Source(79, 31) + SourceIndex(0) +14>Emitted(76, 121) Source(79, 39) + SourceIndex(0) +15>Emitted(76, 127) Source(79, 39) + SourceIndex(0) +16>Emitted(76, 129) Source(79, 41) + SourceIndex(0) +17>Emitted(76, 141) Source(79, 58) + SourceIndex(0) +18>Emitted(76, 143) Source(79, 41) + SourceIndex(0) +19>Emitted(76, 150) Source(79, 48) + SourceIndex(0) +20>Emitted(76, 170) Source(79, 51) + SourceIndex(0) +21>Emitted(76, 177) Source(79, 58) + SourceIndex(0) +22>Emitted(76, 183) Source(79, 58) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -2292,14 +2293,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameA2 7 > ) 8 > ; -1 >Emitted(76, 5) Source(80, 5) + SourceIndex(0) -2 >Emitted(76, 12) Source(80, 12) + SourceIndex(0) -3 >Emitted(76, 13) Source(80, 13) + SourceIndex(0) -4 >Emitted(76, 16) Source(80, 16) + SourceIndex(0) -5 >Emitted(76, 17) Source(80, 17) + SourceIndex(0) -6 >Emitted(76, 23) Source(80, 23) + SourceIndex(0) -7 >Emitted(76, 24) Source(80, 24) + SourceIndex(0) -8 >Emitted(76, 25) Source(80, 25) + SourceIndex(0) +1 >Emitted(77, 5) Source(80, 5) + SourceIndex(0) +2 >Emitted(77, 12) Source(80, 12) + SourceIndex(0) +3 >Emitted(77, 13) Source(80, 13) + SourceIndex(0) +4 >Emitted(77, 16) Source(80, 16) + SourceIndex(0) +5 >Emitted(77, 17) Source(80, 17) + SourceIndex(0) +6 >Emitted(77, 23) Source(80, 23) + SourceIndex(0) +7 >Emitted(77, 24) Source(80, 24) + SourceIndex(0) +8 >Emitted(77, 25) Source(80, 25) + SourceIndex(0) --- >>>} 1 > @@ -2308,8 +2309,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(77, 1) Source(81, 1) + SourceIndex(0) -2 >Emitted(77, 2) Source(81, 2) + SourceIndex(0) +1 >Emitted(78, 1) Source(81, 1) + SourceIndex(0) +2 >Emitted(78, 2) Source(81, 2) + SourceIndex(0) --- >>>for (var _63 = 0, multiRobots_3 = multiRobots; _63 < multiRobots_3.length; _63++) { 1-> @@ -2339,17 +2340,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > multiRobots 10> ) 11> { -1->Emitted(78, 1) Source(82, 1) + SourceIndex(0) -2 >Emitted(78, 6) Source(85, 30) + SourceIndex(0) -3 >Emitted(78, 17) Source(85, 41) + SourceIndex(0) -4 >Emitted(78, 19) Source(85, 30) + SourceIndex(0) -5 >Emitted(78, 46) Source(85, 41) + SourceIndex(0) -6 >Emitted(78, 48) Source(85, 30) + SourceIndex(0) -7 >Emitted(78, 74) Source(85, 41) + SourceIndex(0) -8 >Emitted(78, 76) Source(85, 30) + SourceIndex(0) -9 >Emitted(78, 81) Source(85, 41) + SourceIndex(0) -10>Emitted(78, 83) Source(85, 43) + SourceIndex(0) -11>Emitted(78, 84) Source(85, 44) + SourceIndex(0) +1->Emitted(79, 1) Source(82, 1) + SourceIndex(0) +2 >Emitted(79, 6) Source(85, 30) + SourceIndex(0) +3 >Emitted(79, 17) Source(85, 41) + SourceIndex(0) +4 >Emitted(79, 19) Source(85, 30) + SourceIndex(0) +5 >Emitted(79, 46) Source(85, 41) + SourceIndex(0) +6 >Emitted(79, 48) Source(85, 30) + SourceIndex(0) +7 >Emitted(79, 74) Source(85, 41) + SourceIndex(0) +8 >Emitted(79, 76) Source(85, 30) + SourceIndex(0) +9 >Emitted(79, 81) Source(85, 41) + SourceIndex(0) +10>Emitted(79, 83) Source(85, 43) + SourceIndex(0) +11>Emitted(79, 84) Source(85, 44) + SourceIndex(0) --- >>> _15 = multiRobots_3[_63], _16 = _15[0], nameMA = _16 === void 0 ? "noName" : _16, _17 = _15[1], _18 = _17 === void 0 ? ["skill1", "skill2"] : _17, _19 = _18[0], primarySkillA = _19 === void 0 ? "primary" : _19, _20 = _18[1], secondarySkillA = _20 === void 0 ? "secondary" : _20; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -2421,37 +2422,37 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 29> = 30> "secondary" 31> -1->Emitted(79, 31) Source(82, 7) + SourceIndex(0) -2 >Emitted(79, 43) Source(82, 24) + SourceIndex(0) -3 >Emitted(79, 45) Source(82, 7) + SourceIndex(0) -4 >Emitted(79, 51) Source(82, 13) + SourceIndex(0) -5 >Emitted(79, 71) Source(82, 16) + SourceIndex(0) -6 >Emitted(79, 79) Source(82, 24) + SourceIndex(0) -7 >Emitted(79, 85) Source(82, 24) + SourceIndex(0) -8 >Emitted(79, 87) Source(82, 26) + SourceIndex(0) -9 >Emitted(79, 99) Source(85, 25) + SourceIndex(0) -10>Emitted(79, 101) Source(82, 26) + SourceIndex(0) -11>Emitted(79, 124) Source(85, 5) + SourceIndex(0) -12>Emitted(79, 125) Source(85, 6) + SourceIndex(0) -13>Emitted(79, 133) Source(85, 14) + SourceIndex(0) -14>Emitted(79, 135) Source(85, 16) + SourceIndex(0) -15>Emitted(79, 143) Source(85, 24) + SourceIndex(0) -16>Emitted(79, 144) Source(85, 25) + SourceIndex(0) -17>Emitted(79, 150) Source(85, 25) + SourceIndex(0) -18>Emitted(79, 152) Source(83, 5) + SourceIndex(0) -19>Emitted(79, 164) Source(83, 30) + SourceIndex(0) -20>Emitted(79, 166) Source(83, 5) + SourceIndex(0) -21>Emitted(79, 179) Source(83, 18) + SourceIndex(0) -22>Emitted(79, 199) Source(83, 21) + SourceIndex(0) -23>Emitted(79, 208) Source(83, 30) + SourceIndex(0) -24>Emitted(79, 214) Source(83, 30) + SourceIndex(0) -25>Emitted(79, 216) Source(84, 5) + SourceIndex(0) -26>Emitted(79, 228) Source(84, 34) + SourceIndex(0) -27>Emitted(79, 230) Source(84, 5) + SourceIndex(0) -28>Emitted(79, 245) Source(84, 20) + SourceIndex(0) -29>Emitted(79, 265) Source(84, 23) + SourceIndex(0) -30>Emitted(79, 276) Source(84, 34) + SourceIndex(0) -31>Emitted(79, 282) Source(84, 34) + SourceIndex(0) +1->Emitted(80, 31) Source(82, 7) + SourceIndex(0) +2 >Emitted(80, 43) Source(82, 24) + SourceIndex(0) +3 >Emitted(80, 45) Source(82, 7) + SourceIndex(0) +4 >Emitted(80, 51) Source(82, 13) + SourceIndex(0) +5 >Emitted(80, 71) Source(82, 16) + SourceIndex(0) +6 >Emitted(80, 79) Source(82, 24) + SourceIndex(0) +7 >Emitted(80, 85) Source(82, 24) + SourceIndex(0) +8 >Emitted(80, 87) Source(82, 26) + SourceIndex(0) +9 >Emitted(80, 99) Source(85, 25) + SourceIndex(0) +10>Emitted(80, 101) Source(82, 26) + SourceIndex(0) +11>Emitted(80, 124) Source(85, 5) + SourceIndex(0) +12>Emitted(80, 125) Source(85, 6) + SourceIndex(0) +13>Emitted(80, 133) Source(85, 14) + SourceIndex(0) +14>Emitted(80, 135) Source(85, 16) + SourceIndex(0) +15>Emitted(80, 143) Source(85, 24) + SourceIndex(0) +16>Emitted(80, 144) Source(85, 25) + SourceIndex(0) +17>Emitted(80, 150) Source(85, 25) + SourceIndex(0) +18>Emitted(80, 152) Source(83, 5) + SourceIndex(0) +19>Emitted(80, 164) Source(83, 30) + SourceIndex(0) +20>Emitted(80, 166) Source(83, 5) + SourceIndex(0) +21>Emitted(80, 179) Source(83, 18) + SourceIndex(0) +22>Emitted(80, 199) Source(83, 21) + SourceIndex(0) +23>Emitted(80, 208) Source(83, 30) + SourceIndex(0) +24>Emitted(80, 214) Source(83, 30) + SourceIndex(0) +25>Emitted(80, 216) Source(84, 5) + SourceIndex(0) +26>Emitted(80, 228) Source(84, 34) + SourceIndex(0) +27>Emitted(80, 230) Source(84, 5) + SourceIndex(0) +28>Emitted(80, 245) Source(84, 20) + SourceIndex(0) +29>Emitted(80, 265) Source(84, 23) + SourceIndex(0) +30>Emitted(80, 276) Source(84, 34) + SourceIndex(0) +31>Emitted(80, 282) Source(84, 34) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2472,14 +2473,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameMA 7 > ) 8 > ; -1 >Emitted(80, 5) Source(86, 5) + SourceIndex(0) -2 >Emitted(80, 12) Source(86, 12) + SourceIndex(0) -3 >Emitted(80, 13) Source(86, 13) + SourceIndex(0) -4 >Emitted(80, 16) Source(86, 16) + SourceIndex(0) -5 >Emitted(80, 17) Source(86, 17) + SourceIndex(0) -6 >Emitted(80, 23) Source(86, 23) + SourceIndex(0) -7 >Emitted(80, 24) Source(86, 24) + SourceIndex(0) -8 >Emitted(80, 25) Source(86, 25) + SourceIndex(0) +1 >Emitted(81, 5) Source(86, 5) + SourceIndex(0) +2 >Emitted(81, 12) Source(86, 12) + SourceIndex(0) +3 >Emitted(81, 13) Source(86, 13) + SourceIndex(0) +4 >Emitted(81, 16) Source(86, 16) + SourceIndex(0) +5 >Emitted(81, 17) Source(86, 17) + SourceIndex(0) +6 >Emitted(81, 23) Source(86, 23) + SourceIndex(0) +7 >Emitted(81, 24) Source(86, 24) + SourceIndex(0) +8 >Emitted(81, 25) Source(86, 25) + SourceIndex(0) --- >>>} 1 > @@ -2488,8 +2489,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(81, 1) Source(87, 1) + SourceIndex(0) -2 >Emitted(81, 2) Source(87, 2) + SourceIndex(0) +1 >Emitted(82, 1) Source(87, 1) + SourceIndex(0) +2 >Emitted(82, 2) Source(87, 2) + SourceIndex(0) --- >>>for (var _64 = 0, _65 = getMultiRobots(); _64 < _65.length; _64++) { 1-> @@ -2523,19 +2524,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getMultiRobots() 12> ) 13> { -1->Emitted(82, 1) Source(88, 1) + SourceIndex(0) -2 >Emitted(82, 6) Source(91, 30) + SourceIndex(0) -3 >Emitted(82, 17) Source(91, 46) + SourceIndex(0) -4 >Emitted(82, 19) Source(91, 30) + SourceIndex(0) -5 >Emitted(82, 25) Source(91, 30) + SourceIndex(0) -6 >Emitted(82, 39) Source(91, 44) + SourceIndex(0) -7 >Emitted(82, 41) Source(91, 46) + SourceIndex(0) -8 >Emitted(82, 43) Source(91, 30) + SourceIndex(0) -9 >Emitted(82, 59) Source(91, 46) + SourceIndex(0) -10>Emitted(82, 61) Source(91, 30) + SourceIndex(0) -11>Emitted(82, 66) Source(91, 46) + SourceIndex(0) -12>Emitted(82, 68) Source(91, 48) + SourceIndex(0) -13>Emitted(82, 69) Source(91, 49) + SourceIndex(0) +1->Emitted(83, 1) Source(88, 1) + SourceIndex(0) +2 >Emitted(83, 6) Source(91, 30) + SourceIndex(0) +3 >Emitted(83, 17) Source(91, 46) + SourceIndex(0) +4 >Emitted(83, 19) Source(91, 30) + SourceIndex(0) +5 >Emitted(83, 25) Source(91, 30) + SourceIndex(0) +6 >Emitted(83, 39) Source(91, 44) + SourceIndex(0) +7 >Emitted(83, 41) Source(91, 46) + SourceIndex(0) +8 >Emitted(83, 43) Source(91, 30) + SourceIndex(0) +9 >Emitted(83, 59) Source(91, 46) + SourceIndex(0) +10>Emitted(83, 61) Source(91, 30) + SourceIndex(0) +11>Emitted(83, 66) Source(91, 46) + SourceIndex(0) +12>Emitted(83, 68) Source(91, 48) + SourceIndex(0) +13>Emitted(83, 69) Source(91, 49) + SourceIndex(0) --- >>> _21 = _65[_64], _22 = _21[0], nameMA = _22 === void 0 ? "noName" : _22, _23 = _21[1], _24 = _23 === void 0 ? ["skill1", "skill2"] : _23, _25 = _24[0], primarySkillA = _25 === void 0 ? "primary" : _25, _26 = _24[1], secondarySkillA = _26 === void 0 ? "secondary" : _26; 1->^^^^^^^^^^^^^^^^^^^^ @@ -2607,37 +2608,37 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 29> = 30> "secondary" 31> -1->Emitted(83, 21) Source(88, 7) + SourceIndex(0) -2 >Emitted(83, 33) Source(88, 24) + SourceIndex(0) -3 >Emitted(83, 35) Source(88, 7) + SourceIndex(0) -4 >Emitted(83, 41) Source(88, 13) + SourceIndex(0) -5 >Emitted(83, 61) Source(88, 16) + SourceIndex(0) -6 >Emitted(83, 69) Source(88, 24) + SourceIndex(0) -7 >Emitted(83, 75) Source(88, 24) + SourceIndex(0) -8 >Emitted(83, 77) Source(88, 26) + SourceIndex(0) -9 >Emitted(83, 89) Source(91, 25) + SourceIndex(0) -10>Emitted(83, 91) Source(88, 26) + SourceIndex(0) -11>Emitted(83, 114) Source(91, 5) + SourceIndex(0) -12>Emitted(83, 115) Source(91, 6) + SourceIndex(0) -13>Emitted(83, 123) Source(91, 14) + SourceIndex(0) -14>Emitted(83, 125) Source(91, 16) + SourceIndex(0) -15>Emitted(83, 133) Source(91, 24) + SourceIndex(0) -16>Emitted(83, 134) Source(91, 25) + SourceIndex(0) -17>Emitted(83, 140) Source(91, 25) + SourceIndex(0) -18>Emitted(83, 142) Source(89, 5) + SourceIndex(0) -19>Emitted(83, 154) Source(89, 30) + SourceIndex(0) -20>Emitted(83, 156) Source(89, 5) + SourceIndex(0) -21>Emitted(83, 169) Source(89, 18) + SourceIndex(0) -22>Emitted(83, 189) Source(89, 21) + SourceIndex(0) -23>Emitted(83, 198) Source(89, 30) + SourceIndex(0) -24>Emitted(83, 204) Source(89, 30) + SourceIndex(0) -25>Emitted(83, 206) Source(90, 5) + SourceIndex(0) -26>Emitted(83, 218) Source(90, 34) + SourceIndex(0) -27>Emitted(83, 220) Source(90, 5) + SourceIndex(0) -28>Emitted(83, 235) Source(90, 20) + SourceIndex(0) -29>Emitted(83, 255) Source(90, 23) + SourceIndex(0) -30>Emitted(83, 266) Source(90, 34) + SourceIndex(0) -31>Emitted(83, 272) Source(90, 34) + SourceIndex(0) +1->Emitted(84, 21) Source(88, 7) + SourceIndex(0) +2 >Emitted(84, 33) Source(88, 24) + SourceIndex(0) +3 >Emitted(84, 35) Source(88, 7) + SourceIndex(0) +4 >Emitted(84, 41) Source(88, 13) + SourceIndex(0) +5 >Emitted(84, 61) Source(88, 16) + SourceIndex(0) +6 >Emitted(84, 69) Source(88, 24) + SourceIndex(0) +7 >Emitted(84, 75) Source(88, 24) + SourceIndex(0) +8 >Emitted(84, 77) Source(88, 26) + SourceIndex(0) +9 >Emitted(84, 89) Source(91, 25) + SourceIndex(0) +10>Emitted(84, 91) Source(88, 26) + SourceIndex(0) +11>Emitted(84, 114) Source(91, 5) + SourceIndex(0) +12>Emitted(84, 115) Source(91, 6) + SourceIndex(0) +13>Emitted(84, 123) Source(91, 14) + SourceIndex(0) +14>Emitted(84, 125) Source(91, 16) + SourceIndex(0) +15>Emitted(84, 133) Source(91, 24) + SourceIndex(0) +16>Emitted(84, 134) Source(91, 25) + SourceIndex(0) +17>Emitted(84, 140) Source(91, 25) + SourceIndex(0) +18>Emitted(84, 142) Source(89, 5) + SourceIndex(0) +19>Emitted(84, 154) Source(89, 30) + SourceIndex(0) +20>Emitted(84, 156) Source(89, 5) + SourceIndex(0) +21>Emitted(84, 169) Source(89, 18) + SourceIndex(0) +22>Emitted(84, 189) Source(89, 21) + SourceIndex(0) +23>Emitted(84, 198) Source(89, 30) + SourceIndex(0) +24>Emitted(84, 204) Source(89, 30) + SourceIndex(0) +25>Emitted(84, 206) Source(90, 5) + SourceIndex(0) +26>Emitted(84, 218) Source(90, 34) + SourceIndex(0) +27>Emitted(84, 220) Source(90, 5) + SourceIndex(0) +28>Emitted(84, 235) Source(90, 20) + SourceIndex(0) +29>Emitted(84, 255) Source(90, 23) + SourceIndex(0) +30>Emitted(84, 266) Source(90, 34) + SourceIndex(0) +31>Emitted(84, 272) Source(90, 34) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2658,14 +2659,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameMA 7 > ) 8 > ; -1 >Emitted(84, 5) Source(92, 5) + SourceIndex(0) -2 >Emitted(84, 12) Source(92, 12) + SourceIndex(0) -3 >Emitted(84, 13) Source(92, 13) + SourceIndex(0) -4 >Emitted(84, 16) Source(92, 16) + SourceIndex(0) -5 >Emitted(84, 17) Source(92, 17) + SourceIndex(0) -6 >Emitted(84, 23) Source(92, 23) + SourceIndex(0) -7 >Emitted(84, 24) Source(92, 24) + SourceIndex(0) -8 >Emitted(84, 25) Source(92, 25) + SourceIndex(0) +1 >Emitted(85, 5) Source(92, 5) + SourceIndex(0) +2 >Emitted(85, 12) Source(92, 12) + SourceIndex(0) +3 >Emitted(85, 13) Source(92, 13) + SourceIndex(0) +4 >Emitted(85, 16) Source(92, 16) + SourceIndex(0) +5 >Emitted(85, 17) Source(92, 17) + SourceIndex(0) +6 >Emitted(85, 23) Source(92, 23) + SourceIndex(0) +7 >Emitted(85, 24) Source(92, 24) + SourceIndex(0) +8 >Emitted(85, 25) Source(92, 25) + SourceIndex(0) --- >>>} 1 > @@ -2674,8 +2675,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(85, 1) Source(93, 1) + SourceIndex(0) -2 >Emitted(85, 2) Source(93, 2) + SourceIndex(0) +1 >Emitted(86, 1) Source(93, 1) + SourceIndex(0) +2 >Emitted(86, 2) Source(93, 2) + SourceIndex(0) --- >>>for (var _66 = 0, _67 = [multiRobotA, multiRobotB]; _66 < _67.length; _66++) { 1-> @@ -2713,21 +2714,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [multiRobotA, multiRobotB] 14> ) 15> { -1->Emitted(86, 1) Source(94, 1) + SourceIndex(0) -2 >Emitted(86, 6) Source(97, 30) + SourceIndex(0) -3 >Emitted(86, 17) Source(97, 56) + SourceIndex(0) -4 >Emitted(86, 19) Source(97, 30) + SourceIndex(0) -5 >Emitted(86, 26) Source(97, 31) + SourceIndex(0) -6 >Emitted(86, 37) Source(97, 42) + SourceIndex(0) -7 >Emitted(86, 39) Source(97, 44) + SourceIndex(0) -8 >Emitted(86, 50) Source(97, 55) + SourceIndex(0) -9 >Emitted(86, 51) Source(97, 56) + SourceIndex(0) -10>Emitted(86, 53) Source(97, 30) + SourceIndex(0) -11>Emitted(86, 69) Source(97, 56) + SourceIndex(0) -12>Emitted(86, 71) Source(97, 30) + SourceIndex(0) -13>Emitted(86, 76) Source(97, 56) + SourceIndex(0) -14>Emitted(86, 78) Source(97, 58) + SourceIndex(0) -15>Emitted(86, 79) Source(97, 59) + SourceIndex(0) +1->Emitted(87, 1) Source(94, 1) + SourceIndex(0) +2 >Emitted(87, 6) Source(97, 30) + SourceIndex(0) +3 >Emitted(87, 17) Source(97, 56) + SourceIndex(0) +4 >Emitted(87, 19) Source(97, 30) + SourceIndex(0) +5 >Emitted(87, 26) Source(97, 31) + SourceIndex(0) +6 >Emitted(87, 37) Source(97, 42) + SourceIndex(0) +7 >Emitted(87, 39) Source(97, 44) + SourceIndex(0) +8 >Emitted(87, 50) Source(97, 55) + SourceIndex(0) +9 >Emitted(87, 51) Source(97, 56) + SourceIndex(0) +10>Emitted(87, 53) Source(97, 30) + SourceIndex(0) +11>Emitted(87, 69) Source(97, 56) + SourceIndex(0) +12>Emitted(87, 71) Source(97, 30) + SourceIndex(0) +13>Emitted(87, 76) Source(97, 56) + SourceIndex(0) +14>Emitted(87, 78) Source(97, 58) + SourceIndex(0) +15>Emitted(87, 79) Source(97, 59) + SourceIndex(0) --- >>> _27 = _67[_66], _28 = _27[0], nameMA = _28 === void 0 ? "noName" : _28, _29 = _27[1], _30 = _29 === void 0 ? ["skill1", "skill2"] : _29, _31 = _30[0], primarySkillA = _31 === void 0 ? "primary" : _31, _32 = _30[1], secondarySkillA = _32 === void 0 ? "secondary" : _32; 1->^^^^^^^^^^^^^^^^^^^^ @@ -2799,37 +2800,37 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 29> = 30> "secondary" 31> -1->Emitted(87, 21) Source(94, 7) + SourceIndex(0) -2 >Emitted(87, 33) Source(94, 24) + SourceIndex(0) -3 >Emitted(87, 35) Source(94, 7) + SourceIndex(0) -4 >Emitted(87, 41) Source(94, 13) + SourceIndex(0) -5 >Emitted(87, 61) Source(94, 16) + SourceIndex(0) -6 >Emitted(87, 69) Source(94, 24) + SourceIndex(0) -7 >Emitted(87, 75) Source(94, 24) + SourceIndex(0) -8 >Emitted(87, 77) Source(94, 26) + SourceIndex(0) -9 >Emitted(87, 89) Source(97, 25) + SourceIndex(0) -10>Emitted(87, 91) Source(94, 26) + SourceIndex(0) -11>Emitted(87, 114) Source(97, 5) + SourceIndex(0) -12>Emitted(87, 115) Source(97, 6) + SourceIndex(0) -13>Emitted(87, 123) Source(97, 14) + SourceIndex(0) -14>Emitted(87, 125) Source(97, 16) + SourceIndex(0) -15>Emitted(87, 133) Source(97, 24) + SourceIndex(0) -16>Emitted(87, 134) Source(97, 25) + SourceIndex(0) -17>Emitted(87, 140) Source(97, 25) + SourceIndex(0) -18>Emitted(87, 142) Source(95, 5) + SourceIndex(0) -19>Emitted(87, 154) Source(95, 30) + SourceIndex(0) -20>Emitted(87, 156) Source(95, 5) + SourceIndex(0) -21>Emitted(87, 169) Source(95, 18) + SourceIndex(0) -22>Emitted(87, 189) Source(95, 21) + SourceIndex(0) -23>Emitted(87, 198) Source(95, 30) + SourceIndex(0) -24>Emitted(87, 204) Source(95, 30) + SourceIndex(0) -25>Emitted(87, 206) Source(96, 5) + SourceIndex(0) -26>Emitted(87, 218) Source(96, 34) + SourceIndex(0) -27>Emitted(87, 220) Source(96, 5) + SourceIndex(0) -28>Emitted(87, 235) Source(96, 20) + SourceIndex(0) -29>Emitted(87, 255) Source(96, 23) + SourceIndex(0) -30>Emitted(87, 266) Source(96, 34) + SourceIndex(0) -31>Emitted(87, 272) Source(96, 34) + SourceIndex(0) +1->Emitted(88, 21) Source(94, 7) + SourceIndex(0) +2 >Emitted(88, 33) Source(94, 24) + SourceIndex(0) +3 >Emitted(88, 35) Source(94, 7) + SourceIndex(0) +4 >Emitted(88, 41) Source(94, 13) + SourceIndex(0) +5 >Emitted(88, 61) Source(94, 16) + SourceIndex(0) +6 >Emitted(88, 69) Source(94, 24) + SourceIndex(0) +7 >Emitted(88, 75) Source(94, 24) + SourceIndex(0) +8 >Emitted(88, 77) Source(94, 26) + SourceIndex(0) +9 >Emitted(88, 89) Source(97, 25) + SourceIndex(0) +10>Emitted(88, 91) Source(94, 26) + SourceIndex(0) +11>Emitted(88, 114) Source(97, 5) + SourceIndex(0) +12>Emitted(88, 115) Source(97, 6) + SourceIndex(0) +13>Emitted(88, 123) Source(97, 14) + SourceIndex(0) +14>Emitted(88, 125) Source(97, 16) + SourceIndex(0) +15>Emitted(88, 133) Source(97, 24) + SourceIndex(0) +16>Emitted(88, 134) Source(97, 25) + SourceIndex(0) +17>Emitted(88, 140) Source(97, 25) + SourceIndex(0) +18>Emitted(88, 142) Source(95, 5) + SourceIndex(0) +19>Emitted(88, 154) Source(95, 30) + SourceIndex(0) +20>Emitted(88, 156) Source(95, 5) + SourceIndex(0) +21>Emitted(88, 169) Source(95, 18) + SourceIndex(0) +22>Emitted(88, 189) Source(95, 21) + SourceIndex(0) +23>Emitted(88, 198) Source(95, 30) + SourceIndex(0) +24>Emitted(88, 204) Source(95, 30) + SourceIndex(0) +25>Emitted(88, 206) Source(96, 5) + SourceIndex(0) +26>Emitted(88, 218) Source(96, 34) + SourceIndex(0) +27>Emitted(88, 220) Source(96, 5) + SourceIndex(0) +28>Emitted(88, 235) Source(96, 20) + SourceIndex(0) +29>Emitted(88, 255) Source(96, 23) + SourceIndex(0) +30>Emitted(88, 266) Source(96, 34) + SourceIndex(0) +31>Emitted(88, 272) Source(96, 34) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -2850,14 +2851,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > nameMA 7 > ) 8 > ; -1 >Emitted(88, 5) Source(98, 5) + SourceIndex(0) -2 >Emitted(88, 12) Source(98, 12) + SourceIndex(0) -3 >Emitted(88, 13) Source(98, 13) + SourceIndex(0) -4 >Emitted(88, 16) Source(98, 16) + SourceIndex(0) -5 >Emitted(88, 17) Source(98, 17) + SourceIndex(0) -6 >Emitted(88, 23) Source(98, 23) + SourceIndex(0) -7 >Emitted(88, 24) Source(98, 24) + SourceIndex(0) -8 >Emitted(88, 25) Source(98, 25) + SourceIndex(0) +1 >Emitted(89, 5) Source(98, 5) + SourceIndex(0) +2 >Emitted(89, 12) Source(98, 12) + SourceIndex(0) +3 >Emitted(89, 13) Source(98, 13) + SourceIndex(0) +4 >Emitted(89, 16) Source(98, 16) + SourceIndex(0) +5 >Emitted(89, 17) Source(98, 17) + SourceIndex(0) +6 >Emitted(89, 23) Source(98, 23) + SourceIndex(0) +7 >Emitted(89, 24) Source(98, 24) + SourceIndex(0) +8 >Emitted(89, 25) Source(98, 25) + SourceIndex(0) --- >>>} 1 > @@ -2866,8 +2867,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(89, 1) Source(99, 1) + SourceIndex(0) -2 >Emitted(89, 2) Source(99, 2) + SourceIndex(0) +1 >Emitted(90, 1) Source(99, 1) + SourceIndex(0) +2 >Emitted(90, 2) Source(99, 2) + SourceIndex(0) --- >>>for (var _68 = 0, robots_4 = robots; _68 < robots_4.length; _68++) { 1-> @@ -2895,17 +2896,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > robots 10> ) 11> { -1->Emitted(90, 1) Source(101, 1) + SourceIndex(0) -2 >Emitted(90, 6) Source(101, 40) + SourceIndex(0) -3 >Emitted(90, 17) Source(101, 46) + SourceIndex(0) -4 >Emitted(90, 19) Source(101, 40) + SourceIndex(0) -5 >Emitted(90, 36) Source(101, 46) + SourceIndex(0) -6 >Emitted(90, 38) Source(101, 40) + SourceIndex(0) -7 >Emitted(90, 59) Source(101, 46) + SourceIndex(0) -8 >Emitted(90, 61) Source(101, 40) + SourceIndex(0) -9 >Emitted(90, 66) Source(101, 46) + SourceIndex(0) -10>Emitted(90, 68) Source(101, 48) + SourceIndex(0) -11>Emitted(90, 69) Source(101, 49) + SourceIndex(0) +1->Emitted(91, 1) Source(101, 1) + SourceIndex(0) +2 >Emitted(91, 6) Source(101, 40) + SourceIndex(0) +3 >Emitted(91, 17) Source(101, 46) + SourceIndex(0) +4 >Emitted(91, 19) Source(101, 40) + SourceIndex(0) +5 >Emitted(91, 36) Source(101, 46) + SourceIndex(0) +6 >Emitted(91, 38) Source(101, 40) + SourceIndex(0) +7 >Emitted(91, 59) Source(101, 46) + SourceIndex(0) +8 >Emitted(91, 61) Source(101, 40) + SourceIndex(0) +9 >Emitted(91, 66) Source(101, 46) + SourceIndex(0) +10>Emitted(91, 68) Source(101, 48) + SourceIndex(0) +11>Emitted(91, 69) Source(101, 49) + SourceIndex(0) --- >>> _33 = robots_4[_68], _34 = _33[0], numberA3 = _34 === void 0 ? -1 : _34, robotAInfo = _33.slice(1); 1->^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -2930,17 +2931,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > , ... 10> robotAInfo 11> -1->Emitted(91, 26) Source(101, 7) + SourceIndex(0) -2 >Emitted(91, 38) Source(101, 20) + SourceIndex(0) -3 >Emitted(91, 40) Source(101, 7) + SourceIndex(0) -4 >Emitted(91, 48) Source(101, 15) + SourceIndex(0) -5 >Emitted(91, 68) Source(101, 18) + SourceIndex(0) -6 >Emitted(91, 69) Source(101, 19) + SourceIndex(0) -7 >Emitted(91, 70) Source(101, 20) + SourceIndex(0) -8 >Emitted(91, 76) Source(101, 20) + SourceIndex(0) -9 >Emitted(91, 78) Source(101, 25) + SourceIndex(0) -10>Emitted(91, 88) Source(101, 35) + SourceIndex(0) -11>Emitted(91, 103) Source(101, 35) + SourceIndex(0) +1->Emitted(92, 26) Source(101, 7) + SourceIndex(0) +2 >Emitted(92, 38) Source(101, 20) + SourceIndex(0) +3 >Emitted(92, 40) Source(101, 7) + SourceIndex(0) +4 >Emitted(92, 48) Source(101, 15) + SourceIndex(0) +5 >Emitted(92, 68) Source(101, 18) + SourceIndex(0) +6 >Emitted(92, 69) Source(101, 19) + SourceIndex(0) +7 >Emitted(92, 70) Source(101, 20) + SourceIndex(0) +8 >Emitted(92, 76) Source(101, 20) + SourceIndex(0) +9 >Emitted(92, 78) Source(101, 25) + SourceIndex(0) +10>Emitted(92, 88) Source(101, 35) + SourceIndex(0) +11>Emitted(92, 103) Source(101, 35) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -2960,14 +2961,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberA3 7 > ) 8 > ; -1 >Emitted(92, 5) Source(102, 5) + SourceIndex(0) -2 >Emitted(92, 12) Source(102, 12) + SourceIndex(0) -3 >Emitted(92, 13) Source(102, 13) + SourceIndex(0) -4 >Emitted(92, 16) Source(102, 16) + SourceIndex(0) -5 >Emitted(92, 17) Source(102, 17) + SourceIndex(0) -6 >Emitted(92, 25) Source(102, 25) + SourceIndex(0) -7 >Emitted(92, 26) Source(102, 26) + SourceIndex(0) -8 >Emitted(92, 27) Source(102, 27) + SourceIndex(0) +1 >Emitted(93, 5) Source(102, 5) + SourceIndex(0) +2 >Emitted(93, 12) Source(102, 12) + SourceIndex(0) +3 >Emitted(93, 13) Source(102, 13) + SourceIndex(0) +4 >Emitted(93, 16) Source(102, 16) + SourceIndex(0) +5 >Emitted(93, 17) Source(102, 17) + SourceIndex(0) +6 >Emitted(93, 25) Source(102, 25) + SourceIndex(0) +7 >Emitted(93, 26) Source(102, 26) + SourceIndex(0) +8 >Emitted(93, 27) Source(102, 27) + SourceIndex(0) --- >>>} 1 > @@ -2976,8 +2977,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(93, 1) Source(103, 1) + SourceIndex(0) -2 >Emitted(93, 2) Source(103, 2) + SourceIndex(0) +1 >Emitted(94, 1) Source(103, 1) + SourceIndex(0) +2 >Emitted(94, 2) Source(103, 2) + SourceIndex(0) --- >>>for (var _69 = 0, _70 = getRobots(); _69 < _70.length; _69++) { 1-> @@ -3008,19 +3009,19 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 11> getRobots() 12> ) 13> { -1->Emitted(94, 1) Source(104, 1) + SourceIndex(0) -2 >Emitted(94, 6) Source(104, 40) + SourceIndex(0) -3 >Emitted(94, 17) Source(104, 51) + SourceIndex(0) -4 >Emitted(94, 19) Source(104, 40) + SourceIndex(0) -5 >Emitted(94, 25) Source(104, 40) + SourceIndex(0) -6 >Emitted(94, 34) Source(104, 49) + SourceIndex(0) -7 >Emitted(94, 36) Source(104, 51) + SourceIndex(0) -8 >Emitted(94, 38) Source(104, 40) + SourceIndex(0) -9 >Emitted(94, 54) Source(104, 51) + SourceIndex(0) -10>Emitted(94, 56) Source(104, 40) + SourceIndex(0) -11>Emitted(94, 61) Source(104, 51) + SourceIndex(0) -12>Emitted(94, 63) Source(104, 53) + SourceIndex(0) -13>Emitted(94, 64) Source(104, 54) + SourceIndex(0) +1->Emitted(95, 1) Source(104, 1) + SourceIndex(0) +2 >Emitted(95, 6) Source(104, 40) + SourceIndex(0) +3 >Emitted(95, 17) Source(104, 51) + SourceIndex(0) +4 >Emitted(95, 19) Source(104, 40) + SourceIndex(0) +5 >Emitted(95, 25) Source(104, 40) + SourceIndex(0) +6 >Emitted(95, 34) Source(104, 49) + SourceIndex(0) +7 >Emitted(95, 36) Source(104, 51) + SourceIndex(0) +8 >Emitted(95, 38) Source(104, 40) + SourceIndex(0) +9 >Emitted(95, 54) Source(104, 51) + SourceIndex(0) +10>Emitted(95, 56) Source(104, 40) + SourceIndex(0) +11>Emitted(95, 61) Source(104, 51) + SourceIndex(0) +12>Emitted(95, 63) Source(104, 53) + SourceIndex(0) +13>Emitted(95, 64) Source(104, 54) + SourceIndex(0) --- >>> _35 = _70[_69], _36 = _35[0], numberA3 = _36 === void 0 ? -1 : _36, robotAInfo = _35.slice(1); 1->^^^^^^^^^^^^^^^^^^^^ @@ -3045,17 +3046,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > , ... 10> robotAInfo 11> -1->Emitted(95, 21) Source(104, 7) + SourceIndex(0) -2 >Emitted(95, 33) Source(104, 20) + SourceIndex(0) -3 >Emitted(95, 35) Source(104, 7) + SourceIndex(0) -4 >Emitted(95, 43) Source(104, 15) + SourceIndex(0) -5 >Emitted(95, 63) Source(104, 18) + SourceIndex(0) -6 >Emitted(95, 64) Source(104, 19) + SourceIndex(0) -7 >Emitted(95, 65) Source(104, 20) + SourceIndex(0) -8 >Emitted(95, 71) Source(104, 20) + SourceIndex(0) -9 >Emitted(95, 73) Source(104, 25) + SourceIndex(0) -10>Emitted(95, 83) Source(104, 35) + SourceIndex(0) -11>Emitted(95, 98) Source(104, 35) + SourceIndex(0) +1->Emitted(96, 21) Source(104, 7) + SourceIndex(0) +2 >Emitted(96, 33) Source(104, 20) + SourceIndex(0) +3 >Emitted(96, 35) Source(104, 7) + SourceIndex(0) +4 >Emitted(96, 43) Source(104, 15) + SourceIndex(0) +5 >Emitted(96, 63) Source(104, 18) + SourceIndex(0) +6 >Emitted(96, 64) Source(104, 19) + SourceIndex(0) +7 >Emitted(96, 65) Source(104, 20) + SourceIndex(0) +8 >Emitted(96, 71) Source(104, 20) + SourceIndex(0) +9 >Emitted(96, 73) Source(104, 25) + SourceIndex(0) +10>Emitted(96, 83) Source(104, 35) + SourceIndex(0) +11>Emitted(96, 98) Source(104, 35) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -3075,14 +3076,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberA3 7 > ) 8 > ; -1 >Emitted(96, 5) Source(105, 5) + SourceIndex(0) -2 >Emitted(96, 12) Source(105, 12) + SourceIndex(0) -3 >Emitted(96, 13) Source(105, 13) + SourceIndex(0) -4 >Emitted(96, 16) Source(105, 16) + SourceIndex(0) -5 >Emitted(96, 17) Source(105, 17) + SourceIndex(0) -6 >Emitted(96, 25) Source(105, 25) + SourceIndex(0) -7 >Emitted(96, 26) Source(105, 26) + SourceIndex(0) -8 >Emitted(96, 27) Source(105, 27) + SourceIndex(0) +1 >Emitted(97, 5) Source(105, 5) + SourceIndex(0) +2 >Emitted(97, 12) Source(105, 12) + SourceIndex(0) +3 >Emitted(97, 13) Source(105, 13) + SourceIndex(0) +4 >Emitted(97, 16) Source(105, 16) + SourceIndex(0) +5 >Emitted(97, 17) Source(105, 17) + SourceIndex(0) +6 >Emitted(97, 25) Source(105, 25) + SourceIndex(0) +7 >Emitted(97, 26) Source(105, 26) + SourceIndex(0) +8 >Emitted(97, 27) Source(105, 27) + SourceIndex(0) --- >>>} 1 > @@ -3091,8 +3092,8 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(97, 1) Source(106, 1) + SourceIndex(0) -2 >Emitted(97, 2) Source(106, 2) + SourceIndex(0) +1 >Emitted(98, 1) Source(106, 1) + SourceIndex(0) +2 >Emitted(98, 2) Source(106, 2) + SourceIndex(0) --- >>>for (var _71 = 0, _72 = [robotA, robotB]; _71 < _72.length; _71++) { 1-> @@ -3127,21 +3128,21 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 13> [robotA, robotB] 14> ) 15> { -1->Emitted(98, 1) Source(107, 1) + SourceIndex(0) -2 >Emitted(98, 6) Source(107, 40) + SourceIndex(0) -3 >Emitted(98, 17) Source(107, 56) + SourceIndex(0) -4 >Emitted(98, 19) Source(107, 40) + SourceIndex(0) -5 >Emitted(98, 26) Source(107, 41) + SourceIndex(0) -6 >Emitted(98, 32) Source(107, 47) + SourceIndex(0) -7 >Emitted(98, 34) Source(107, 49) + SourceIndex(0) -8 >Emitted(98, 40) Source(107, 55) + SourceIndex(0) -9 >Emitted(98, 41) Source(107, 56) + SourceIndex(0) -10>Emitted(98, 43) Source(107, 40) + SourceIndex(0) -11>Emitted(98, 59) Source(107, 56) + SourceIndex(0) -12>Emitted(98, 61) Source(107, 40) + SourceIndex(0) -13>Emitted(98, 66) Source(107, 56) + SourceIndex(0) -14>Emitted(98, 68) Source(107, 58) + SourceIndex(0) -15>Emitted(98, 69) Source(107, 59) + SourceIndex(0) +1->Emitted(99, 1) Source(107, 1) + SourceIndex(0) +2 >Emitted(99, 6) Source(107, 40) + SourceIndex(0) +3 >Emitted(99, 17) Source(107, 56) + SourceIndex(0) +4 >Emitted(99, 19) Source(107, 40) + SourceIndex(0) +5 >Emitted(99, 26) Source(107, 41) + SourceIndex(0) +6 >Emitted(99, 32) Source(107, 47) + SourceIndex(0) +7 >Emitted(99, 34) Source(107, 49) + SourceIndex(0) +8 >Emitted(99, 40) Source(107, 55) + SourceIndex(0) +9 >Emitted(99, 41) Source(107, 56) + SourceIndex(0) +10>Emitted(99, 43) Source(107, 40) + SourceIndex(0) +11>Emitted(99, 59) Source(107, 56) + SourceIndex(0) +12>Emitted(99, 61) Source(107, 40) + SourceIndex(0) +13>Emitted(99, 66) Source(107, 56) + SourceIndex(0) +14>Emitted(99, 68) Source(107, 58) + SourceIndex(0) +15>Emitted(99, 69) Source(107, 59) + SourceIndex(0) --- >>> _37 = _72[_71], _38 = _37[0], numberA3 = _38 === void 0 ? -1 : _38, robotAInfo = _37.slice(1); 1->^^^^^^^^^^^^^^^^^^^^ @@ -3166,17 +3167,17 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 9 > , ... 10> robotAInfo 11> -1->Emitted(99, 21) Source(107, 7) + SourceIndex(0) -2 >Emitted(99, 33) Source(107, 20) + SourceIndex(0) -3 >Emitted(99, 35) Source(107, 7) + SourceIndex(0) -4 >Emitted(99, 43) Source(107, 15) + SourceIndex(0) -5 >Emitted(99, 63) Source(107, 18) + SourceIndex(0) -6 >Emitted(99, 64) Source(107, 19) + SourceIndex(0) -7 >Emitted(99, 65) Source(107, 20) + SourceIndex(0) -8 >Emitted(99, 71) Source(107, 20) + SourceIndex(0) -9 >Emitted(99, 73) Source(107, 25) + SourceIndex(0) -10>Emitted(99, 83) Source(107, 35) + SourceIndex(0) -11>Emitted(99, 98) Source(107, 35) + SourceIndex(0) +1->Emitted(100, 21) Source(107, 7) + SourceIndex(0) +2 >Emitted(100, 33) Source(107, 20) + SourceIndex(0) +3 >Emitted(100, 35) Source(107, 7) + SourceIndex(0) +4 >Emitted(100, 43) Source(107, 15) + SourceIndex(0) +5 >Emitted(100, 63) Source(107, 18) + SourceIndex(0) +6 >Emitted(100, 64) Source(107, 19) + SourceIndex(0) +7 >Emitted(100, 65) Source(107, 20) + SourceIndex(0) +8 >Emitted(100, 71) Source(107, 20) + SourceIndex(0) +9 >Emitted(100, 73) Source(107, 25) + SourceIndex(0) +10>Emitted(100, 83) Source(107, 35) + SourceIndex(0) +11>Emitted(100, 98) Source(107, 35) + SourceIndex(0) --- >>> console.log(numberA3); 1 >^^^^ @@ -3196,14 +3197,14 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 6 > numberA3 7 > ) 8 > ; -1 >Emitted(100, 5) Source(108, 5) + SourceIndex(0) -2 >Emitted(100, 12) Source(108, 12) + SourceIndex(0) -3 >Emitted(100, 13) Source(108, 13) + SourceIndex(0) -4 >Emitted(100, 16) Source(108, 16) + SourceIndex(0) -5 >Emitted(100, 17) Source(108, 17) + SourceIndex(0) -6 >Emitted(100, 25) Source(108, 25) + SourceIndex(0) -7 >Emitted(100, 26) Source(108, 26) + SourceIndex(0) -8 >Emitted(100, 27) Source(108, 27) + SourceIndex(0) +1 >Emitted(101, 5) Source(108, 5) + SourceIndex(0) +2 >Emitted(101, 12) Source(108, 12) + SourceIndex(0) +3 >Emitted(101, 13) Source(108, 13) + SourceIndex(0) +4 >Emitted(101, 16) Source(108, 16) + SourceIndex(0) +5 >Emitted(101, 17) Source(108, 17) + SourceIndex(0) +6 >Emitted(101, 25) Source(108, 25) + SourceIndex(0) +7 >Emitted(101, 26) Source(108, 26) + SourceIndex(0) +8 >Emitted(101, 27) Source(108, 27) + SourceIndex(0) --- >>>} 1 > @@ -3212,7 +3213,7 @@ sourceFile:sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues 1 > > 2 >} -1 >Emitted(101, 1) Source(109, 1) + SourceIndex(0) -2 >Emitted(101, 2) Source(109, 2) + SourceIndex(0) +1 >Emitted(102, 1) Source(109, 1) + SourceIndex(0) +2 >Emitted(102, 2) Source(109, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForOfArrayBindingPatternDefaultValues2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.js b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.js index 6454ef8ae9c19..4bad323835b2a 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.js @@ -70,6 +70,7 @@ for (let {name: nameA, skills: { primary: primaryA, secondary: secondaryA } } of } //// [sourceMapValidationDestructuringForOfObjectBindingPattern.js] +"use strict"; var robots = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; var multiRobots = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.js.map index 0830a1169ee86..0cfbd6b0e8e62 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForOfObjectBindingPattern.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForOfObjectBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfObjectBindingPattern.ts"],"names":[],"mappings":"AAgBA,IAAI,MAAM,GAAY,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;AACnG,IAAI,WAAW,GAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE;IAChG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;AAE/E,SAAS,SAAS;IACd,OAAO,MAAM,CAAC;AAClB,CAAC;AA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Y29uc29sZS5sb2cobmFtZUEpOwp9CmZvciAobGV0IHtuYW1lOiBuYW1lQSwgc2tpbGxzOiB7IHByaW1hcnk6IHByaW1hcnlBLCBzZWNvbmRhcnk6IHNlY29uZGFyeUEgfSB9IG9mIG11bHRpUm9ib3RzKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lQSk7Cn0KZm9yIChsZXQge25hbWU6IG5hbWVBLCBza2lsbHM6IHsgcHJpbWFyeTogcHJpbWFyeUEsIHNlY29uZGFyeTogc2Vjb25kYXJ5QSB9IH0gb2YgZ2V0TXVsdGlSb2JvdHMoKSkgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9CmZvciAobGV0IHtuYW1lOiBuYW1lQSwgc2tpbGxzOiB7IHByaW1hcnk6IHByaW1hcnlBLCBzZWNvbmRhcnk6IHNlY29uZGFyeUEgfSB9IG9mIFt7IG5hbWU6ICJtb3dlciIsIHNraWxsczogeyBwcmltYXJ5OiAibW93aW5nIiwgc2Vjb25kYXJ5OiAibm9uZSIgfSB9LAogICAgeyBuYW1lOiAidHJpbW1lciIsIHNraWxsczogeyBwcmltYXJ5OiAidHJpbW1pbmciLCBzZWNvbmRhcnk6ICJlZGdpbmciIH0gfV0pIHsKICAgIGNvbnNvbGUubG9nKG5hbWVBKTsKfQ== +{"version":3,"file":"sourceMapValidationDestructuringForOfObjectBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfObjectBindingPattern.ts"],"names":[],"mappings":";AAgBA,IAAI,MAAM,GAAY,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;AACnG,IAAI,WAAW,GAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE;IAChG,EAAE,IAAI,EAAE,SAA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2lsbDogc2tpbGxBIH0gb2YgW3sgbmFtZTogIm1vd2VyIiwgc2tpbGw6ICJtb3dpbmciIH0sIHsgbmFtZTogInRyaW1tZXIiLCBza2lsbDogInRyaW1taW5nIiB9XSkgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9CmZvciAobGV0IHtuYW1lOiBuYW1lQSwgc2tpbGxzOiB7IHByaW1hcnk6IHByaW1hcnlBLCBzZWNvbmRhcnk6IHNlY29uZGFyeUEgfSB9IG9mIG11bHRpUm9ib3RzKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lQSk7Cn0KZm9yIChsZXQge25hbWU6IG5hbWVBLCBza2lsbHM6IHsgcHJpbWFyeTogcHJpbWFyeUEsIHNlY29uZGFyeTogc2Vjb25kYXJ5QSB9IH0gb2YgZ2V0TXVsdGlSb2JvdHMoKSkgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9CmZvciAobGV0IHtuYW1lOiBuYW1lQSwgc2tpbGxzOiB7IHByaW1hcnk6IHByaW1hcnlBLCBzZWNvbmRhcnk6IHNlY29uZGFyeUEgfSB9IG9mIFt7IG5hbWU6ICJtb3dlciIsIHNraWxsczogeyBwcmltYXJ5OiAibW93aW5nIiwgc2Vjb25kYXJ5OiAibm9uZSIgfSB9LAogICAgeyBuYW1lOiAidHJpbW1lciIsIHNraWxsczogeyBwcmltYXJ5OiAidHJpbW1pbmciLCBzZWNvbmRhcnk6ICJlZGdpbmciIH0gfV0pIHsKICAgIGNvbnNvbGUubG9nKG5hbWVBKTsKfQ== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.sourcemap.txt index 42436fab0debf..680bec108ac85 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForOfObjectBindingPattern.ts emittedFile:sourceMapValidationDestructuringForOfObjectBindingPattern.js sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robots = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; 1 > 2 >^^^^ @@ -77,32 +78,32 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 24> } 25> ] 26> ; -1 >Emitted(1, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(17, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(17, 23) + SourceIndex(0) -5 >Emitted(1, 15) Source(17, 24) + SourceIndex(0) -6 >Emitted(1, 17) Source(17, 26) + SourceIndex(0) -7 >Emitted(1, 21) Source(17, 30) + SourceIndex(0) -8 >Emitted(1, 23) Source(17, 32) + SourceIndex(0) -9 >Emitted(1, 30) Source(17, 39) + SourceIndex(0) -10>Emitted(1, 32) Source(17, 41) + SourceIndex(0) -11>Emitted(1, 37) Source(17, 46) + SourceIndex(0) -12>Emitted(1, 39) Source(17, 48) + SourceIndex(0) -13>Emitted(1, 47) Source(17, 56) + SourceIndex(0) -14>Emitted(1, 49) Source(17, 58) + SourceIndex(0) -15>Emitted(1, 51) Source(17, 60) + SourceIndex(0) -16>Emitted(1, 53) Source(17, 62) + SourceIndex(0) -17>Emitted(1, 57) Source(17, 66) + SourceIndex(0) -18>Emitted(1, 59) Source(17, 68) + SourceIndex(0) -19>Emitted(1, 68) Source(17, 77) + SourceIndex(0) -20>Emitted(1, 70) Source(17, 79) + SourceIndex(0) -21>Emitted(1, 75) Source(17, 84) + SourceIndex(0) -22>Emitted(1, 77) Source(17, 86) + SourceIndex(0) -23>Emitted(1, 87) Source(17, 96) + SourceIndex(0) -24>Emitted(1, 89) Source(17, 98) + SourceIndex(0) -25>Emitted(1, 90) Source(17, 99) + SourceIndex(0) -26>Emitted(1, 91) Source(17, 100) + SourceIndex(0) +1 >Emitted(2, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(17, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(17, 23) + SourceIndex(0) +5 >Emitted(2, 15) Source(17, 24) + SourceIndex(0) +6 >Emitted(2, 17) Source(17, 26) + SourceIndex(0) +7 >Emitted(2, 21) Source(17, 30) + SourceIndex(0) +8 >Emitted(2, 23) Source(17, 32) + SourceIndex(0) +9 >Emitted(2, 30) Source(17, 39) + SourceIndex(0) +10>Emitted(2, 32) Source(17, 41) + SourceIndex(0) +11>Emitted(2, 37) Source(17, 46) + SourceIndex(0) +12>Emitted(2, 39) Source(17, 48) + SourceIndex(0) +13>Emitted(2, 47) Source(17, 56) + SourceIndex(0) +14>Emitted(2, 49) Source(17, 58) + SourceIndex(0) +15>Emitted(2, 51) Source(17, 60) + SourceIndex(0) +16>Emitted(2, 53) Source(17, 62) + SourceIndex(0) +17>Emitted(2, 57) Source(17, 66) + SourceIndex(0) +18>Emitted(2, 59) Source(17, 68) + SourceIndex(0) +19>Emitted(2, 68) Source(17, 77) + SourceIndex(0) +20>Emitted(2, 70) Source(17, 79) + SourceIndex(0) +21>Emitted(2, 75) Source(17, 84) + SourceIndex(0) +22>Emitted(2, 77) Source(17, 86) + SourceIndex(0) +23>Emitted(2, 87) Source(17, 96) + SourceIndex(0) +24>Emitted(2, 89) Source(17, 98) + SourceIndex(0) +25>Emitted(2, 90) Source(17, 99) + SourceIndex(0) +26>Emitted(2, 91) Source(17, 100) + SourceIndex(0) --- >>>var multiRobots = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1 > @@ -150,28 +151,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 20> "none" 21> } 22> } -1 >Emitted(2, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(2, 16) Source(18, 16) + SourceIndex(0) -4 >Emitted(2, 19) Source(18, 33) + SourceIndex(0) -5 >Emitted(2, 20) Source(18, 34) + SourceIndex(0) -6 >Emitted(2, 22) Source(18, 36) + SourceIndex(0) -7 >Emitted(2, 26) Source(18, 40) + SourceIndex(0) -8 >Emitted(2, 28) Source(18, 42) + SourceIndex(0) -9 >Emitted(2, 35) Source(18, 49) + SourceIndex(0) -10>Emitted(2, 37) Source(18, 51) + SourceIndex(0) -11>Emitted(2, 43) Source(18, 57) + SourceIndex(0) -12>Emitted(2, 45) Source(18, 59) + SourceIndex(0) -13>Emitted(2, 47) Source(18, 61) + SourceIndex(0) -14>Emitted(2, 54) Source(18, 68) + SourceIndex(0) -15>Emitted(2, 56) Source(18, 70) + SourceIndex(0) -16>Emitted(2, 64) Source(18, 78) + SourceIndex(0) -17>Emitted(2, 66) Source(18, 80) + SourceIndex(0) -18>Emitted(2, 75) Source(18, 89) + SourceIndex(0) -19>Emitted(2, 77) Source(18, 91) + SourceIndex(0) -20>Emitted(2, 83) Source(18, 97) + SourceIndex(0) -21>Emitted(2, 85) Source(18, 99) + SourceIndex(0) -22>Emitted(2, 87) Source(18, 101) + SourceIndex(0) +1 >Emitted(3, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(3, 16) Source(18, 16) + SourceIndex(0) +4 >Emitted(3, 19) Source(18, 33) + SourceIndex(0) +5 >Emitted(3, 20) Source(18, 34) + SourceIndex(0) +6 >Emitted(3, 22) Source(18, 36) + SourceIndex(0) +7 >Emitted(3, 26) Source(18, 40) + SourceIndex(0) +8 >Emitted(3, 28) Source(18, 42) + SourceIndex(0) +9 >Emitted(3, 35) Source(18, 49) + SourceIndex(0) +10>Emitted(3, 37) Source(18, 51) + SourceIndex(0) +11>Emitted(3, 43) Source(18, 57) + SourceIndex(0) +12>Emitted(3, 45) Source(18, 59) + SourceIndex(0) +13>Emitted(3, 47) Source(18, 61) + SourceIndex(0) +14>Emitted(3, 54) Source(18, 68) + SourceIndex(0) +15>Emitted(3, 56) Source(18, 70) + SourceIndex(0) +16>Emitted(3, 64) Source(18, 78) + SourceIndex(0) +17>Emitted(3, 66) Source(18, 80) + SourceIndex(0) +18>Emitted(3, 75) Source(18, 89) + SourceIndex(0) +19>Emitted(3, 77) Source(18, 91) + SourceIndex(0) +20>Emitted(3, 83) Source(18, 97) + SourceIndex(0) +21>Emitted(3, 85) Source(18, 99) + SourceIndex(0) +22>Emitted(3, 87) Source(18, 101) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; 1 >^^^^ @@ -215,26 +216,26 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 18> } 19> ] 20> ; -1 >Emitted(3, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(3, 7) Source(19, 7) + SourceIndex(0) -3 >Emitted(3, 11) Source(19, 11) + SourceIndex(0) -4 >Emitted(3, 13) Source(19, 13) + SourceIndex(0) -5 >Emitted(3, 22) Source(19, 22) + SourceIndex(0) -6 >Emitted(3, 24) Source(19, 24) + SourceIndex(0) -7 >Emitted(3, 30) Source(19, 30) + SourceIndex(0) -8 >Emitted(3, 32) Source(19, 32) + SourceIndex(0) -9 >Emitted(3, 34) Source(19, 34) + SourceIndex(0) -10>Emitted(3, 41) Source(19, 41) + SourceIndex(0) -11>Emitted(3, 43) Source(19, 43) + SourceIndex(0) -12>Emitted(3, 53) Source(19, 53) + SourceIndex(0) -13>Emitted(3, 55) Source(19, 55) + SourceIndex(0) -14>Emitted(3, 64) Source(19, 64) + SourceIndex(0) -15>Emitted(3, 66) Source(19, 66) + SourceIndex(0) -16>Emitted(3, 74) Source(19, 74) + SourceIndex(0) -17>Emitted(3, 76) Source(19, 76) + SourceIndex(0) -18>Emitted(3, 78) Source(19, 78) + SourceIndex(0) -19>Emitted(3, 79) Source(19, 79) + SourceIndex(0) -20>Emitted(3, 80) Source(19, 80) + SourceIndex(0) +1 >Emitted(4, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(4, 7) Source(19, 7) + SourceIndex(0) +3 >Emitted(4, 11) Source(19, 11) + SourceIndex(0) +4 >Emitted(4, 13) Source(19, 13) + SourceIndex(0) +5 >Emitted(4, 22) Source(19, 22) + SourceIndex(0) +6 >Emitted(4, 24) Source(19, 24) + SourceIndex(0) +7 >Emitted(4, 30) Source(19, 30) + SourceIndex(0) +8 >Emitted(4, 32) Source(19, 32) + SourceIndex(0) +9 >Emitted(4, 34) Source(19, 34) + SourceIndex(0) +10>Emitted(4, 41) Source(19, 41) + SourceIndex(0) +11>Emitted(4, 43) Source(19, 43) + SourceIndex(0) +12>Emitted(4, 53) Source(19, 53) + SourceIndex(0) +13>Emitted(4, 55) Source(19, 55) + SourceIndex(0) +14>Emitted(4, 64) Source(19, 64) + SourceIndex(0) +15>Emitted(4, 66) Source(19, 66) + SourceIndex(0) +16>Emitted(4, 74) Source(19, 74) + SourceIndex(0) +17>Emitted(4, 76) Source(19, 76) + SourceIndex(0) +18>Emitted(4, 78) Source(19, 78) + SourceIndex(0) +19>Emitted(4, 79) Source(19, 79) + SourceIndex(0) +20>Emitted(4, 80) Source(19, 80) + SourceIndex(0) --- >>>function getRobots() { 1 > @@ -246,9 +247,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts > 2 >function 3 > getRobots -1 >Emitted(4, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(4, 10) Source(21, 10) + SourceIndex(0) -3 >Emitted(4, 19) Source(21, 19) + SourceIndex(0) +1 >Emitted(5, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(5, 10) Source(21, 10) + SourceIndex(0) +3 >Emitted(5, 19) Source(21, 19) + SourceIndex(0) --- >>> return robots; 1->^^^^ @@ -260,10 +261,10 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 2 > return 3 > robots 4 > ; -1->Emitted(5, 5) Source(22, 5) + SourceIndex(0) -2 >Emitted(5, 12) Source(22, 12) + SourceIndex(0) -3 >Emitted(5, 18) Source(22, 18) + SourceIndex(0) -4 >Emitted(5, 19) Source(22, 19) + SourceIndex(0) +1->Emitted(6, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(6, 12) Source(22, 12) + SourceIndex(0) +3 >Emitted(6, 18) Source(22, 18) + SourceIndex(0) +4 >Emitted(6, 19) Source(22, 19) + SourceIndex(0) --- >>>} 1 > @@ -272,8 +273,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(6, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(23, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(23, 2) + SourceIndex(0) --- >>>function getMultiRobots() { 1-> @@ -285,9 +286,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts > 2 >function 3 > getMultiRobots -1->Emitted(7, 1) Source(25, 1) + SourceIndex(0) -2 >Emitted(7, 10) Source(25, 10) + SourceIndex(0) -3 >Emitted(7, 24) Source(25, 24) + SourceIndex(0) +1->Emitted(8, 1) Source(25, 1) + SourceIndex(0) +2 >Emitted(8, 10) Source(25, 10) + SourceIndex(0) +3 >Emitted(8, 24) Source(25, 24) + SourceIndex(0) --- >>> return multiRobots; 1->^^^^ @@ -299,10 +300,10 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 2 > return 3 > multiRobots 4 > ; -1->Emitted(8, 5) Source(26, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(26, 12) + SourceIndex(0) -3 >Emitted(8, 23) Source(26, 23) + SourceIndex(0) -4 >Emitted(8, 24) Source(26, 24) + SourceIndex(0) +1->Emitted(9, 5) Source(26, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(26, 12) + SourceIndex(0) +3 >Emitted(9, 23) Source(26, 23) + SourceIndex(0) +4 >Emitted(9, 24) Source(26, 24) + SourceIndex(0) --- >>>} 1 > @@ -311,8 +312,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(9, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(27, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(27, 2) + SourceIndex(0) --- >>>for (var _i = 0, robots_1 = robots; _i < robots_1.length; _i++) { 1-> @@ -339,17 +340,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 9 > robots 10> ) 11> { -1->Emitted(10, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(10, 6) Source(29, 28) + SourceIndex(0) -3 >Emitted(10, 16) Source(29, 34) + SourceIndex(0) -4 >Emitted(10, 18) Source(29, 28) + SourceIndex(0) -5 >Emitted(10, 35) Source(29, 34) + SourceIndex(0) -6 >Emitted(10, 37) Source(29, 28) + SourceIndex(0) -7 >Emitted(10, 57) Source(29, 34) + SourceIndex(0) -8 >Emitted(10, 59) Source(29, 28) + SourceIndex(0) -9 >Emitted(10, 63) Source(29, 34) + SourceIndex(0) -10>Emitted(10, 65) Source(29, 36) + SourceIndex(0) -11>Emitted(10, 66) Source(29, 37) + SourceIndex(0) +1->Emitted(11, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(11, 6) Source(29, 28) + SourceIndex(0) +3 >Emitted(11, 16) Source(29, 34) + SourceIndex(0) +4 >Emitted(11, 18) Source(29, 28) + SourceIndex(0) +5 >Emitted(11, 35) Source(29, 34) + SourceIndex(0) +6 >Emitted(11, 37) Source(29, 28) + SourceIndex(0) +7 >Emitted(11, 57) Source(29, 34) + SourceIndex(0) +8 >Emitted(11, 59) Source(29, 28) + SourceIndex(0) +9 >Emitted(11, 63) Source(29, 34) + SourceIndex(0) +10>Emitted(11, 65) Source(29, 36) + SourceIndex(0) +11>Emitted(11, 66) Source(29, 37) + SourceIndex(0) --- >>> var nameA = robots_1[_i].name; 1 >^^^^ @@ -360,10 +361,10 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 2 > name: 3 > nameA 4 > -1 >Emitted(11, 5) Source(29, 11) + SourceIndex(0) -2 >Emitted(11, 9) Source(29, 17) + SourceIndex(0) -3 >Emitted(11, 14) Source(29, 22) + SourceIndex(0) -4 >Emitted(11, 34) Source(29, 22) + SourceIndex(0) +1 >Emitted(12, 5) Source(29, 11) + SourceIndex(0) +2 >Emitted(12, 9) Source(29, 17) + SourceIndex(0) +3 >Emitted(12, 14) Source(29, 22) + SourceIndex(0) +4 >Emitted(12, 34) Source(29, 22) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -383,14 +384,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(12, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(12, 12) Source(30, 12) + SourceIndex(0) -3 >Emitted(12, 13) Source(30, 13) + SourceIndex(0) -4 >Emitted(12, 16) Source(30, 16) + SourceIndex(0) -5 >Emitted(12, 17) Source(30, 17) + SourceIndex(0) -6 >Emitted(12, 22) Source(30, 22) + SourceIndex(0) -7 >Emitted(12, 23) Source(30, 23) + SourceIndex(0) -8 >Emitted(12, 24) Source(30, 24) + SourceIndex(0) +1 >Emitted(13, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(13, 12) Source(30, 12) + SourceIndex(0) +3 >Emitted(13, 13) Source(30, 13) + SourceIndex(0) +4 >Emitted(13, 16) Source(30, 16) + SourceIndex(0) +5 >Emitted(13, 17) Source(30, 17) + SourceIndex(0) +6 >Emitted(13, 22) Source(30, 22) + SourceIndex(0) +7 >Emitted(13, 23) Source(30, 23) + SourceIndex(0) +8 >Emitted(13, 24) Source(30, 24) + SourceIndex(0) --- >>>} 1 > @@ -399,8 +400,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(13, 1) Source(31, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(31, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(31, 2) + SourceIndex(0) --- >>>for (var _a = 0, _b = getRobots(); _a < _b.length; _a++) { 1-> @@ -430,19 +431,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 11> getRobots() 12> ) 13> { -1->Emitted(14, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(14, 6) Source(32, 28) + SourceIndex(0) -3 >Emitted(14, 16) Source(32, 39) + SourceIndex(0) -4 >Emitted(14, 18) Source(32, 28) + SourceIndex(0) -5 >Emitted(14, 23) Source(32, 28) + SourceIndex(0) -6 >Emitted(14, 32) Source(32, 37) + SourceIndex(0) -7 >Emitted(14, 34) Source(32, 39) + SourceIndex(0) -8 >Emitted(14, 36) Source(32, 28) + SourceIndex(0) -9 >Emitted(14, 50) Source(32, 39) + SourceIndex(0) -10>Emitted(14, 52) Source(32, 28) + SourceIndex(0) -11>Emitted(14, 56) Source(32, 39) + SourceIndex(0) -12>Emitted(14, 58) Source(32, 41) + SourceIndex(0) -13>Emitted(14, 59) Source(32, 42) + SourceIndex(0) +1->Emitted(15, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(15, 6) Source(32, 28) + SourceIndex(0) +3 >Emitted(15, 16) Source(32, 39) + SourceIndex(0) +4 >Emitted(15, 18) Source(32, 28) + SourceIndex(0) +5 >Emitted(15, 23) Source(32, 28) + SourceIndex(0) +6 >Emitted(15, 32) Source(32, 37) + SourceIndex(0) +7 >Emitted(15, 34) Source(32, 39) + SourceIndex(0) +8 >Emitted(15, 36) Source(32, 28) + SourceIndex(0) +9 >Emitted(15, 50) Source(32, 39) + SourceIndex(0) +10>Emitted(15, 52) Source(32, 28) + SourceIndex(0) +11>Emitted(15, 56) Source(32, 39) + SourceIndex(0) +12>Emitted(15, 58) Source(32, 41) + SourceIndex(0) +13>Emitted(15, 59) Source(32, 42) + SourceIndex(0) --- >>> var nameA = _b[_a].name; 1 >^^^^ @@ -453,10 +454,10 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 2 > name: 3 > nameA 4 > -1 >Emitted(15, 5) Source(32, 11) + SourceIndex(0) -2 >Emitted(15, 9) Source(32, 17) + SourceIndex(0) -3 >Emitted(15, 14) Source(32, 22) + SourceIndex(0) -4 >Emitted(15, 28) Source(32, 22) + SourceIndex(0) +1 >Emitted(16, 5) Source(32, 11) + SourceIndex(0) +2 >Emitted(16, 9) Source(32, 17) + SourceIndex(0) +3 >Emitted(16, 14) Source(32, 22) + SourceIndex(0) +4 >Emitted(16, 28) Source(32, 22) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -476,14 +477,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(16, 5) Source(33, 5) + SourceIndex(0) -2 >Emitted(16, 12) Source(33, 12) + SourceIndex(0) -3 >Emitted(16, 13) Source(33, 13) + SourceIndex(0) -4 >Emitted(16, 16) Source(33, 16) + SourceIndex(0) -5 >Emitted(16, 17) Source(33, 17) + SourceIndex(0) -6 >Emitted(16, 22) Source(33, 22) + SourceIndex(0) -7 >Emitted(16, 23) Source(33, 23) + SourceIndex(0) -8 >Emitted(16, 24) Source(33, 24) + SourceIndex(0) +1 >Emitted(17, 5) Source(33, 5) + SourceIndex(0) +2 >Emitted(17, 12) Source(33, 12) + SourceIndex(0) +3 >Emitted(17, 13) Source(33, 13) + SourceIndex(0) +4 >Emitted(17, 16) Source(33, 16) + SourceIndex(0) +5 >Emitted(17, 17) Source(33, 17) + SourceIndex(0) +6 >Emitted(17, 22) Source(33, 22) + SourceIndex(0) +7 >Emitted(17, 23) Source(33, 23) + SourceIndex(0) +8 >Emitted(17, 24) Source(33, 24) + SourceIndex(0) --- >>>} 1 > @@ -492,8 +493,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(17, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(17, 2) Source(34, 2) + SourceIndex(0) +1 >Emitted(18, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(18, 2) Source(34, 2) + SourceIndex(0) --- >>>for (var _c = 0, _d = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _c < _d.length; _c++) { 1-> @@ -559,37 +560,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(18, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(18, 6) Source(35, 28) + SourceIndex(0) -3 >Emitted(18, 16) Source(35, 104) + SourceIndex(0) -4 >Emitted(18, 18) Source(35, 28) + SourceIndex(0) -5 >Emitted(18, 24) Source(35, 29) + SourceIndex(0) -6 >Emitted(18, 26) Source(35, 31) + SourceIndex(0) -7 >Emitted(18, 30) Source(35, 35) + SourceIndex(0) -8 >Emitted(18, 32) Source(35, 37) + SourceIndex(0) -9 >Emitted(18, 39) Source(35, 44) + SourceIndex(0) -10>Emitted(18, 41) Source(35, 46) + SourceIndex(0) -11>Emitted(18, 46) Source(35, 51) + SourceIndex(0) -12>Emitted(18, 48) Source(35, 53) + SourceIndex(0) -13>Emitted(18, 56) Source(35, 61) + SourceIndex(0) -14>Emitted(18, 58) Source(35, 63) + SourceIndex(0) -15>Emitted(18, 60) Source(35, 65) + SourceIndex(0) -16>Emitted(18, 62) Source(35, 67) + SourceIndex(0) -17>Emitted(18, 66) Source(35, 71) + SourceIndex(0) -18>Emitted(18, 68) Source(35, 73) + SourceIndex(0) -19>Emitted(18, 77) Source(35, 82) + SourceIndex(0) -20>Emitted(18, 79) Source(35, 84) + SourceIndex(0) -21>Emitted(18, 84) Source(35, 89) + SourceIndex(0) -22>Emitted(18, 86) Source(35, 91) + SourceIndex(0) -23>Emitted(18, 96) Source(35, 101) + SourceIndex(0) -24>Emitted(18, 98) Source(35, 103) + SourceIndex(0) -25>Emitted(18, 99) Source(35, 104) + SourceIndex(0) -26>Emitted(18, 101) Source(35, 28) + SourceIndex(0) -27>Emitted(18, 115) Source(35, 104) + SourceIndex(0) -28>Emitted(18, 117) Source(35, 28) + SourceIndex(0) -29>Emitted(18, 121) Source(35, 104) + SourceIndex(0) -30>Emitted(18, 123) Source(35, 106) + SourceIndex(0) -31>Emitted(18, 124) Source(35, 107) + SourceIndex(0) +1->Emitted(19, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(19, 6) Source(35, 28) + SourceIndex(0) +3 >Emitted(19, 16) Source(35, 104) + SourceIndex(0) +4 >Emitted(19, 18) Source(35, 28) + SourceIndex(0) +5 >Emitted(19, 24) Source(35, 29) + SourceIndex(0) +6 >Emitted(19, 26) Source(35, 31) + SourceIndex(0) +7 >Emitted(19, 30) Source(35, 35) + SourceIndex(0) +8 >Emitted(19, 32) Source(35, 37) + SourceIndex(0) +9 >Emitted(19, 39) Source(35, 44) + SourceIndex(0) +10>Emitted(19, 41) Source(35, 46) + SourceIndex(0) +11>Emitted(19, 46) Source(35, 51) + SourceIndex(0) +12>Emitted(19, 48) Source(35, 53) + SourceIndex(0) +13>Emitted(19, 56) Source(35, 61) + SourceIndex(0) +14>Emitted(19, 58) Source(35, 63) + SourceIndex(0) +15>Emitted(19, 60) Source(35, 65) + SourceIndex(0) +16>Emitted(19, 62) Source(35, 67) + SourceIndex(0) +17>Emitted(19, 66) Source(35, 71) + SourceIndex(0) +18>Emitted(19, 68) Source(35, 73) + SourceIndex(0) +19>Emitted(19, 77) Source(35, 82) + SourceIndex(0) +20>Emitted(19, 79) Source(35, 84) + SourceIndex(0) +21>Emitted(19, 84) Source(35, 89) + SourceIndex(0) +22>Emitted(19, 86) Source(35, 91) + SourceIndex(0) +23>Emitted(19, 96) Source(35, 101) + SourceIndex(0) +24>Emitted(19, 98) Source(35, 103) + SourceIndex(0) +25>Emitted(19, 99) Source(35, 104) + SourceIndex(0) +26>Emitted(19, 101) Source(35, 28) + SourceIndex(0) +27>Emitted(19, 115) Source(35, 104) + SourceIndex(0) +28>Emitted(19, 117) Source(35, 28) + SourceIndex(0) +29>Emitted(19, 121) Source(35, 104) + SourceIndex(0) +30>Emitted(19, 123) Source(35, 106) + SourceIndex(0) +31>Emitted(19, 124) Source(35, 107) + SourceIndex(0) --- >>> var nameA = _d[_c].name; 1 >^^^^ @@ -600,10 +601,10 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 2 > name: 3 > nameA 4 > -1 >Emitted(19, 5) Source(35, 11) + SourceIndex(0) -2 >Emitted(19, 9) Source(35, 17) + SourceIndex(0) -3 >Emitted(19, 14) Source(35, 22) + SourceIndex(0) -4 >Emitted(19, 28) Source(35, 22) + SourceIndex(0) +1 >Emitted(20, 5) Source(35, 11) + SourceIndex(0) +2 >Emitted(20, 9) Source(35, 17) + SourceIndex(0) +3 >Emitted(20, 14) Source(35, 22) + SourceIndex(0) +4 >Emitted(20, 28) Source(35, 22) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -623,14 +624,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(20, 5) Source(36, 5) + SourceIndex(0) -2 >Emitted(20, 12) Source(36, 12) + SourceIndex(0) -3 >Emitted(20, 13) Source(36, 13) + SourceIndex(0) -4 >Emitted(20, 16) Source(36, 16) + SourceIndex(0) -5 >Emitted(20, 17) Source(36, 17) + SourceIndex(0) -6 >Emitted(20, 22) Source(36, 22) + SourceIndex(0) -7 >Emitted(20, 23) Source(36, 23) + SourceIndex(0) -8 >Emitted(20, 24) Source(36, 24) + SourceIndex(0) +1 >Emitted(21, 5) Source(36, 5) + SourceIndex(0) +2 >Emitted(21, 12) Source(36, 12) + SourceIndex(0) +3 >Emitted(21, 13) Source(36, 13) + SourceIndex(0) +4 >Emitted(21, 16) Source(36, 16) + SourceIndex(0) +5 >Emitted(21, 17) Source(36, 17) + SourceIndex(0) +6 >Emitted(21, 22) Source(36, 22) + SourceIndex(0) +7 >Emitted(21, 23) Source(36, 23) + SourceIndex(0) +8 >Emitted(21, 24) Source(36, 24) + SourceIndex(0) --- >>>} 1 > @@ -639,8 +640,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(21, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(21, 2) Source(37, 2) + SourceIndex(0) +1 >Emitted(22, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(22, 2) Source(37, 2) + SourceIndex(0) --- >>>for (var _e = 0, multiRobots_1 = multiRobots; _e < multiRobots_1.length; _e++) { 1-> @@ -667,17 +668,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 9 > multiRobots 10> ) 11> { -1->Emitted(22, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(22, 6) Source(38, 70) + SourceIndex(0) -3 >Emitted(22, 16) Source(38, 81) + SourceIndex(0) -4 >Emitted(22, 18) Source(38, 70) + SourceIndex(0) -5 >Emitted(22, 45) Source(38, 81) + SourceIndex(0) -6 >Emitted(22, 47) Source(38, 70) + SourceIndex(0) -7 >Emitted(22, 72) Source(38, 81) + SourceIndex(0) -8 >Emitted(22, 74) Source(38, 70) + SourceIndex(0) -9 >Emitted(22, 78) Source(38, 81) + SourceIndex(0) -10>Emitted(22, 80) Source(38, 83) + SourceIndex(0) -11>Emitted(22, 81) Source(38, 84) + SourceIndex(0) +1->Emitted(23, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(23, 6) Source(38, 70) + SourceIndex(0) +3 >Emitted(23, 16) Source(38, 81) + SourceIndex(0) +4 >Emitted(23, 18) Source(38, 70) + SourceIndex(0) +5 >Emitted(23, 45) Source(38, 81) + SourceIndex(0) +6 >Emitted(23, 47) Source(38, 70) + SourceIndex(0) +7 >Emitted(23, 72) Source(38, 81) + SourceIndex(0) +8 >Emitted(23, 74) Source(38, 70) + SourceIndex(0) +9 >Emitted(23, 78) Source(38, 81) + SourceIndex(0) +10>Emitted(23, 80) Source(38, 83) + SourceIndex(0) +11>Emitted(23, 81) Source(38, 84) + SourceIndex(0) --- >>> var _f = multiRobots_1[_e].skills, primaryA = _f.primary, secondaryA = _f.secondary; 1->^^^^ @@ -698,15 +699,15 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 7 > , secondary: 8 > secondaryA 9 > -1->Emitted(23, 5) Source(38, 12) + SourceIndex(0) -2 >Emitted(23, 9) Source(38, 12) + SourceIndex(0) -3 >Emitted(23, 38) Source(38, 64) + SourceIndex(0) -4 >Emitted(23, 40) Source(38, 31) + SourceIndex(0) -5 >Emitted(23, 48) Source(38, 39) + SourceIndex(0) -6 >Emitted(23, 61) Source(38, 39) + SourceIndex(0) -7 >Emitted(23, 63) Source(38, 52) + SourceIndex(0) -8 >Emitted(23, 73) Source(38, 62) + SourceIndex(0) -9 >Emitted(23, 88) Source(38, 62) + SourceIndex(0) +1->Emitted(24, 5) Source(38, 12) + SourceIndex(0) +2 >Emitted(24, 9) Source(38, 12) + SourceIndex(0) +3 >Emitted(24, 38) Source(38, 64) + SourceIndex(0) +4 >Emitted(24, 40) Source(38, 31) + SourceIndex(0) +5 >Emitted(24, 48) Source(38, 39) + SourceIndex(0) +6 >Emitted(24, 61) Source(38, 39) + SourceIndex(0) +7 >Emitted(24, 63) Source(38, 52) + SourceIndex(0) +8 >Emitted(24, 73) Source(38, 62) + SourceIndex(0) +9 >Emitted(24, 88) Source(38, 62) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -726,14 +727,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(24, 5) Source(39, 5) + SourceIndex(0) -2 >Emitted(24, 12) Source(39, 12) + SourceIndex(0) -3 >Emitted(24, 13) Source(39, 13) + SourceIndex(0) -4 >Emitted(24, 16) Source(39, 16) + SourceIndex(0) -5 >Emitted(24, 17) Source(39, 17) + SourceIndex(0) -6 >Emitted(24, 25) Source(39, 25) + SourceIndex(0) -7 >Emitted(24, 26) Source(39, 26) + SourceIndex(0) -8 >Emitted(24, 27) Source(39, 27) + SourceIndex(0) +1 >Emitted(25, 5) Source(39, 5) + SourceIndex(0) +2 >Emitted(25, 12) Source(39, 12) + SourceIndex(0) +3 >Emitted(25, 13) Source(39, 13) + SourceIndex(0) +4 >Emitted(25, 16) Source(39, 16) + SourceIndex(0) +5 >Emitted(25, 17) Source(39, 17) + SourceIndex(0) +6 >Emitted(25, 25) Source(39, 25) + SourceIndex(0) +7 >Emitted(25, 26) Source(39, 26) + SourceIndex(0) +8 >Emitted(25, 27) Source(39, 27) + SourceIndex(0) --- >>>} 1 > @@ -742,8 +743,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(25, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(25, 2) Source(40, 2) + SourceIndex(0) +1 >Emitted(26, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(26, 2) Source(40, 2) + SourceIndex(0) --- >>>for (var _g = 0, _h = getMultiRobots(); _g < _h.length; _g++) { 1-> @@ -774,19 +775,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(26, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(26, 6) Source(41, 70) + SourceIndex(0) -3 >Emitted(26, 16) Source(41, 86) + SourceIndex(0) -4 >Emitted(26, 18) Source(41, 70) + SourceIndex(0) -5 >Emitted(26, 23) Source(41, 70) + SourceIndex(0) -6 >Emitted(26, 37) Source(41, 84) + SourceIndex(0) -7 >Emitted(26, 39) Source(41, 86) + SourceIndex(0) -8 >Emitted(26, 41) Source(41, 70) + SourceIndex(0) -9 >Emitted(26, 55) Source(41, 86) + SourceIndex(0) -10>Emitted(26, 57) Source(41, 70) + SourceIndex(0) -11>Emitted(26, 61) Source(41, 86) + SourceIndex(0) -12>Emitted(26, 63) Source(41, 88) + SourceIndex(0) -13>Emitted(26, 64) Source(41, 89) + SourceIndex(0) +1->Emitted(27, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(27, 6) Source(41, 70) + SourceIndex(0) +3 >Emitted(27, 16) Source(41, 86) + SourceIndex(0) +4 >Emitted(27, 18) Source(41, 70) + SourceIndex(0) +5 >Emitted(27, 23) Source(41, 70) + SourceIndex(0) +6 >Emitted(27, 37) Source(41, 84) + SourceIndex(0) +7 >Emitted(27, 39) Source(41, 86) + SourceIndex(0) +8 >Emitted(27, 41) Source(41, 70) + SourceIndex(0) +9 >Emitted(27, 55) Source(41, 86) + SourceIndex(0) +10>Emitted(27, 57) Source(41, 70) + SourceIndex(0) +11>Emitted(27, 61) Source(41, 86) + SourceIndex(0) +12>Emitted(27, 63) Source(41, 88) + SourceIndex(0) +13>Emitted(27, 64) Source(41, 89) + SourceIndex(0) --- >>> var _j = _h[_g].skills, primaryA = _j.primary, secondaryA = _j.secondary; 1->^^^^ @@ -807,15 +808,15 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 7 > , secondary: 8 > secondaryA 9 > -1->Emitted(27, 5) Source(41, 12) + SourceIndex(0) -2 >Emitted(27, 9) Source(41, 12) + SourceIndex(0) -3 >Emitted(27, 27) Source(41, 64) + SourceIndex(0) -4 >Emitted(27, 29) Source(41, 31) + SourceIndex(0) -5 >Emitted(27, 37) Source(41, 39) + SourceIndex(0) -6 >Emitted(27, 50) Source(41, 39) + SourceIndex(0) -7 >Emitted(27, 52) Source(41, 52) + SourceIndex(0) -8 >Emitted(27, 62) Source(41, 62) + SourceIndex(0) -9 >Emitted(27, 77) Source(41, 62) + SourceIndex(0) +1->Emitted(28, 5) Source(41, 12) + SourceIndex(0) +2 >Emitted(28, 9) Source(41, 12) + SourceIndex(0) +3 >Emitted(28, 27) Source(41, 64) + SourceIndex(0) +4 >Emitted(28, 29) Source(41, 31) + SourceIndex(0) +5 >Emitted(28, 37) Source(41, 39) + SourceIndex(0) +6 >Emitted(28, 50) Source(41, 39) + SourceIndex(0) +7 >Emitted(28, 52) Source(41, 52) + SourceIndex(0) +8 >Emitted(28, 62) Source(41, 62) + SourceIndex(0) +9 >Emitted(28, 77) Source(41, 62) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -835,14 +836,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(28, 5) Source(42, 5) + SourceIndex(0) -2 >Emitted(28, 12) Source(42, 12) + SourceIndex(0) -3 >Emitted(28, 13) Source(42, 13) + SourceIndex(0) -4 >Emitted(28, 16) Source(42, 16) + SourceIndex(0) -5 >Emitted(28, 17) Source(42, 17) + SourceIndex(0) -6 >Emitted(28, 25) Source(42, 25) + SourceIndex(0) -7 >Emitted(28, 26) Source(42, 26) + SourceIndex(0) -8 >Emitted(28, 27) Source(42, 27) + SourceIndex(0) +1 >Emitted(29, 5) Source(42, 5) + SourceIndex(0) +2 >Emitted(29, 12) Source(42, 12) + SourceIndex(0) +3 >Emitted(29, 13) Source(42, 13) + SourceIndex(0) +4 >Emitted(29, 16) Source(42, 16) + SourceIndex(0) +5 >Emitted(29, 17) Source(42, 17) + SourceIndex(0) +6 >Emitted(29, 25) Source(42, 25) + SourceIndex(0) +7 >Emitted(29, 26) Source(42, 26) + SourceIndex(0) +8 >Emitted(29, 27) Source(42, 27) + SourceIndex(0) --- >>>} 1 > @@ -851,8 +852,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(29, 1) Source(43, 1) + SourceIndex(0) -2 >Emitted(29, 2) Source(43, 2) + SourceIndex(0) +1 >Emitted(30, 1) Source(43, 1) + SourceIndex(0) +2 >Emitted(30, 2) Source(43, 2) + SourceIndex(0) --- >>>for (var _k = 0, _l = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -902,28 +903,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 20> "none" 21> } 22> } -1->Emitted(30, 1) Source(44, 1) + SourceIndex(0) -2 >Emitted(30, 6) Source(44, 70) + SourceIndex(0) -3 >Emitted(30, 16) Source(45, 79) + SourceIndex(0) -4 >Emitted(30, 18) Source(44, 70) + SourceIndex(0) -5 >Emitted(30, 24) Source(44, 71) + SourceIndex(0) -6 >Emitted(30, 26) Source(44, 73) + SourceIndex(0) -7 >Emitted(30, 30) Source(44, 77) + SourceIndex(0) -8 >Emitted(30, 32) Source(44, 79) + SourceIndex(0) -9 >Emitted(30, 39) Source(44, 86) + SourceIndex(0) -10>Emitted(30, 41) Source(44, 88) + SourceIndex(0) -11>Emitted(30, 47) Source(44, 94) + SourceIndex(0) -12>Emitted(30, 49) Source(44, 96) + SourceIndex(0) -13>Emitted(30, 51) Source(44, 98) + SourceIndex(0) -14>Emitted(30, 58) Source(44, 105) + SourceIndex(0) -15>Emitted(30, 60) Source(44, 107) + SourceIndex(0) -16>Emitted(30, 68) Source(44, 115) + SourceIndex(0) -17>Emitted(30, 70) Source(44, 117) + SourceIndex(0) -18>Emitted(30, 79) Source(44, 126) + SourceIndex(0) -19>Emitted(30, 81) Source(44, 128) + SourceIndex(0) -20>Emitted(30, 87) Source(44, 134) + SourceIndex(0) -21>Emitted(30, 89) Source(44, 136) + SourceIndex(0) -22>Emitted(30, 91) Source(44, 138) + SourceIndex(0) +1->Emitted(31, 1) Source(44, 1) + SourceIndex(0) +2 >Emitted(31, 6) Source(44, 70) + SourceIndex(0) +3 >Emitted(31, 16) Source(45, 79) + SourceIndex(0) +4 >Emitted(31, 18) Source(44, 70) + SourceIndex(0) +5 >Emitted(31, 24) Source(44, 71) + SourceIndex(0) +6 >Emitted(31, 26) Source(44, 73) + SourceIndex(0) +7 >Emitted(31, 30) Source(44, 77) + SourceIndex(0) +8 >Emitted(31, 32) Source(44, 79) + SourceIndex(0) +9 >Emitted(31, 39) Source(44, 86) + SourceIndex(0) +10>Emitted(31, 41) Source(44, 88) + SourceIndex(0) +11>Emitted(31, 47) Source(44, 94) + SourceIndex(0) +12>Emitted(31, 49) Source(44, 96) + SourceIndex(0) +13>Emitted(31, 51) Source(44, 98) + SourceIndex(0) +14>Emitted(31, 58) Source(44, 105) + SourceIndex(0) +15>Emitted(31, 60) Source(44, 107) + SourceIndex(0) +16>Emitted(31, 68) Source(44, 115) + SourceIndex(0) +17>Emitted(31, 70) Source(44, 117) + SourceIndex(0) +18>Emitted(31, 79) Source(44, 126) + SourceIndex(0) +19>Emitted(31, 81) Source(44, 128) + SourceIndex(0) +20>Emitted(31, 87) Source(44, 134) + SourceIndex(0) +21>Emitted(31, 89) Source(44, 136) + SourceIndex(0) +22>Emitted(31, 91) Source(44, 138) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _k < _l.length; _k++) { 1->^^^^ @@ -979,31 +980,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(31, 5) Source(45, 5) + SourceIndex(0) -2 >Emitted(31, 7) Source(45, 7) + SourceIndex(0) -3 >Emitted(31, 11) Source(45, 11) + SourceIndex(0) -4 >Emitted(31, 13) Source(45, 13) + SourceIndex(0) -5 >Emitted(31, 22) Source(45, 22) + SourceIndex(0) -6 >Emitted(31, 24) Source(45, 24) + SourceIndex(0) -7 >Emitted(31, 30) Source(45, 30) + SourceIndex(0) -8 >Emitted(31, 32) Source(45, 32) + SourceIndex(0) -9 >Emitted(31, 34) Source(45, 34) + SourceIndex(0) -10>Emitted(31, 41) Source(45, 41) + SourceIndex(0) -11>Emitted(31, 43) Source(45, 43) + SourceIndex(0) -12>Emitted(31, 53) Source(45, 53) + SourceIndex(0) -13>Emitted(31, 55) Source(45, 55) + SourceIndex(0) -14>Emitted(31, 64) Source(45, 64) + SourceIndex(0) -15>Emitted(31, 66) Source(45, 66) + SourceIndex(0) -16>Emitted(31, 74) Source(45, 74) + SourceIndex(0) -17>Emitted(31, 76) Source(45, 76) + SourceIndex(0) -18>Emitted(31, 78) Source(45, 78) + SourceIndex(0) -19>Emitted(31, 79) Source(45, 79) + SourceIndex(0) -20>Emitted(31, 81) Source(44, 70) + SourceIndex(0) -21>Emitted(31, 95) Source(45, 79) + SourceIndex(0) -22>Emitted(31, 97) Source(44, 70) + SourceIndex(0) -23>Emitted(31, 101) Source(45, 79) + SourceIndex(0) -24>Emitted(31, 103) Source(45, 81) + SourceIndex(0) -25>Emitted(31, 104) Source(45, 82) + SourceIndex(0) +1->Emitted(32, 5) Source(45, 5) + SourceIndex(0) +2 >Emitted(32, 7) Source(45, 7) + SourceIndex(0) +3 >Emitted(32, 11) Source(45, 11) + SourceIndex(0) +4 >Emitted(32, 13) Source(45, 13) + SourceIndex(0) +5 >Emitted(32, 22) Source(45, 22) + SourceIndex(0) +6 >Emitted(32, 24) Source(45, 24) + SourceIndex(0) +7 >Emitted(32, 30) Source(45, 30) + SourceIndex(0) +8 >Emitted(32, 32) Source(45, 32) + SourceIndex(0) +9 >Emitted(32, 34) Source(45, 34) + SourceIndex(0) +10>Emitted(32, 41) Source(45, 41) + SourceIndex(0) +11>Emitted(32, 43) Source(45, 43) + SourceIndex(0) +12>Emitted(32, 53) Source(45, 53) + SourceIndex(0) +13>Emitted(32, 55) Source(45, 55) + SourceIndex(0) +14>Emitted(32, 64) Source(45, 64) + SourceIndex(0) +15>Emitted(32, 66) Source(45, 66) + SourceIndex(0) +16>Emitted(32, 74) Source(45, 74) + SourceIndex(0) +17>Emitted(32, 76) Source(45, 76) + SourceIndex(0) +18>Emitted(32, 78) Source(45, 78) + SourceIndex(0) +19>Emitted(32, 79) Source(45, 79) + SourceIndex(0) +20>Emitted(32, 81) Source(44, 70) + SourceIndex(0) +21>Emitted(32, 95) Source(45, 79) + SourceIndex(0) +22>Emitted(32, 97) Source(44, 70) + SourceIndex(0) +23>Emitted(32, 101) Source(45, 79) + SourceIndex(0) +24>Emitted(32, 103) Source(45, 81) + SourceIndex(0) +25>Emitted(32, 104) Source(45, 82) + SourceIndex(0) --- >>> var _m = _l[_k].skills, primaryA = _m.primary, secondaryA = _m.secondary; 1 >^^^^ @@ -1024,15 +1025,15 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 7 > , secondary: 8 > secondaryA 9 > -1 >Emitted(32, 5) Source(44, 12) + SourceIndex(0) -2 >Emitted(32, 9) Source(44, 12) + SourceIndex(0) -3 >Emitted(32, 27) Source(44, 64) + SourceIndex(0) -4 >Emitted(32, 29) Source(44, 31) + SourceIndex(0) -5 >Emitted(32, 37) Source(44, 39) + SourceIndex(0) -6 >Emitted(32, 50) Source(44, 39) + SourceIndex(0) -7 >Emitted(32, 52) Source(44, 52) + SourceIndex(0) -8 >Emitted(32, 62) Source(44, 62) + SourceIndex(0) -9 >Emitted(32, 77) Source(44, 62) + SourceIndex(0) +1 >Emitted(33, 5) Source(44, 12) + SourceIndex(0) +2 >Emitted(33, 9) Source(44, 12) + SourceIndex(0) +3 >Emitted(33, 27) Source(44, 64) + SourceIndex(0) +4 >Emitted(33, 29) Source(44, 31) + SourceIndex(0) +5 >Emitted(33, 37) Source(44, 39) + SourceIndex(0) +6 >Emitted(33, 50) Source(44, 39) + SourceIndex(0) +7 >Emitted(33, 52) Source(44, 52) + SourceIndex(0) +8 >Emitted(33, 62) Source(44, 62) + SourceIndex(0) +9 >Emitted(33, 77) Source(44, 62) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1053,14 +1054,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(33, 5) Source(46, 5) + SourceIndex(0) -2 >Emitted(33, 12) Source(46, 12) + SourceIndex(0) -3 >Emitted(33, 13) Source(46, 13) + SourceIndex(0) -4 >Emitted(33, 16) Source(46, 16) + SourceIndex(0) -5 >Emitted(33, 17) Source(46, 17) + SourceIndex(0) -6 >Emitted(33, 25) Source(46, 25) + SourceIndex(0) -7 >Emitted(33, 26) Source(46, 26) + SourceIndex(0) -8 >Emitted(33, 27) Source(46, 27) + SourceIndex(0) +1 >Emitted(34, 5) Source(46, 5) + SourceIndex(0) +2 >Emitted(34, 12) Source(46, 12) + SourceIndex(0) +3 >Emitted(34, 13) Source(46, 13) + SourceIndex(0) +4 >Emitted(34, 16) Source(46, 16) + SourceIndex(0) +5 >Emitted(34, 17) Source(46, 17) + SourceIndex(0) +6 >Emitted(34, 25) Source(46, 25) + SourceIndex(0) +7 >Emitted(34, 26) Source(46, 26) + SourceIndex(0) +8 >Emitted(34, 27) Source(46, 27) + SourceIndex(0) --- >>>} 1 > @@ -1069,8 +1070,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(34, 1) Source(47, 1) + SourceIndex(0) -2 >Emitted(34, 2) Source(47, 2) + SourceIndex(0) +1 >Emitted(35, 1) Source(47, 1) + SourceIndex(0) +2 >Emitted(35, 2) Source(47, 2) + SourceIndex(0) --- >>>for (var _o = 0, robots_2 = robots; _o < robots_2.length; _o++) { 1-> @@ -1097,17 +1098,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 9 > robots 10> ) 11> { -1->Emitted(35, 1) Source(49, 1) + SourceIndex(0) -2 >Emitted(35, 6) Source(49, 43) + SourceIndex(0) -3 >Emitted(35, 16) Source(49, 49) + SourceIndex(0) -4 >Emitted(35, 18) Source(49, 43) + SourceIndex(0) -5 >Emitted(35, 35) Source(49, 49) + SourceIndex(0) -6 >Emitted(35, 37) Source(49, 43) + SourceIndex(0) -7 >Emitted(35, 57) Source(49, 49) + SourceIndex(0) -8 >Emitted(35, 59) Source(49, 43) + SourceIndex(0) -9 >Emitted(35, 63) Source(49, 49) + SourceIndex(0) -10>Emitted(35, 65) Source(49, 51) + SourceIndex(0) -11>Emitted(35, 66) Source(49, 52) + SourceIndex(0) +1->Emitted(36, 1) Source(49, 1) + SourceIndex(0) +2 >Emitted(36, 6) Source(49, 43) + SourceIndex(0) +3 >Emitted(36, 16) Source(49, 49) + SourceIndex(0) +4 >Emitted(36, 18) Source(49, 43) + SourceIndex(0) +5 >Emitted(36, 35) Source(49, 49) + SourceIndex(0) +6 >Emitted(36, 37) Source(49, 43) + SourceIndex(0) +7 >Emitted(36, 57) Source(49, 49) + SourceIndex(0) +8 >Emitted(36, 59) Source(49, 43) + SourceIndex(0) +9 >Emitted(36, 63) Source(49, 49) + SourceIndex(0) +10>Emitted(36, 65) Source(49, 51) + SourceIndex(0) +11>Emitted(36, 66) Source(49, 52) + SourceIndex(0) --- >>> var _p = robots_2[_o], nameA = _p.name, skillA = _p.skill; 1 >^^^^ @@ -1128,15 +1129,15 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 7 > , skill: 8 > skillA 9 > -1 >Emitted(36, 5) Source(49, 10) + SourceIndex(0) -2 >Emitted(36, 9) Source(49, 10) + SourceIndex(0) -3 >Emitted(36, 26) Source(49, 39) + SourceIndex(0) -4 >Emitted(36, 28) Source(49, 17) + SourceIndex(0) -5 >Emitted(36, 33) Source(49, 22) + SourceIndex(0) -6 >Emitted(36, 43) Source(49, 22) + SourceIndex(0) -7 >Emitted(36, 45) Source(49, 31) + SourceIndex(0) -8 >Emitted(36, 51) Source(49, 37) + SourceIndex(0) -9 >Emitted(36, 62) Source(49, 37) + SourceIndex(0) +1 >Emitted(37, 5) Source(49, 10) + SourceIndex(0) +2 >Emitted(37, 9) Source(49, 10) + SourceIndex(0) +3 >Emitted(37, 26) Source(49, 39) + SourceIndex(0) +4 >Emitted(37, 28) Source(49, 17) + SourceIndex(0) +5 >Emitted(37, 33) Source(49, 22) + SourceIndex(0) +6 >Emitted(37, 43) Source(49, 22) + SourceIndex(0) +7 >Emitted(37, 45) Source(49, 31) + SourceIndex(0) +8 >Emitted(37, 51) Source(49, 37) + SourceIndex(0) +9 >Emitted(37, 62) Source(49, 37) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1156,14 +1157,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(37, 5) Source(50, 5) + SourceIndex(0) -2 >Emitted(37, 12) Source(50, 12) + SourceIndex(0) -3 >Emitted(37, 13) Source(50, 13) + SourceIndex(0) -4 >Emitted(37, 16) Source(50, 16) + SourceIndex(0) -5 >Emitted(37, 17) Source(50, 17) + SourceIndex(0) -6 >Emitted(37, 22) Source(50, 22) + SourceIndex(0) -7 >Emitted(37, 23) Source(50, 23) + SourceIndex(0) -8 >Emitted(37, 24) Source(50, 24) + SourceIndex(0) +1 >Emitted(38, 5) Source(50, 5) + SourceIndex(0) +2 >Emitted(38, 12) Source(50, 12) + SourceIndex(0) +3 >Emitted(38, 13) Source(50, 13) + SourceIndex(0) +4 >Emitted(38, 16) Source(50, 16) + SourceIndex(0) +5 >Emitted(38, 17) Source(50, 17) + SourceIndex(0) +6 >Emitted(38, 22) Source(50, 22) + SourceIndex(0) +7 >Emitted(38, 23) Source(50, 23) + SourceIndex(0) +8 >Emitted(38, 24) Source(50, 24) + SourceIndex(0) --- >>>} 1 > @@ -1172,8 +1173,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(38, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(38, 2) Source(51, 2) + SourceIndex(0) +1 >Emitted(39, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(39, 2) Source(51, 2) + SourceIndex(0) --- >>>for (var _q = 0, _r = getRobots(); _q < _r.length; _q++) { 1-> @@ -1203,19 +1204,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 11> getRobots() 12> ) 13> { -1->Emitted(39, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(39, 6) Source(52, 43) + SourceIndex(0) -3 >Emitted(39, 16) Source(52, 54) + SourceIndex(0) -4 >Emitted(39, 18) Source(52, 43) + SourceIndex(0) -5 >Emitted(39, 23) Source(52, 43) + SourceIndex(0) -6 >Emitted(39, 32) Source(52, 52) + SourceIndex(0) -7 >Emitted(39, 34) Source(52, 54) + SourceIndex(0) -8 >Emitted(39, 36) Source(52, 43) + SourceIndex(0) -9 >Emitted(39, 50) Source(52, 54) + SourceIndex(0) -10>Emitted(39, 52) Source(52, 43) + SourceIndex(0) -11>Emitted(39, 56) Source(52, 54) + SourceIndex(0) -12>Emitted(39, 58) Source(52, 56) + SourceIndex(0) -13>Emitted(39, 59) Source(52, 57) + SourceIndex(0) +1->Emitted(40, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(40, 6) Source(52, 43) + SourceIndex(0) +3 >Emitted(40, 16) Source(52, 54) + SourceIndex(0) +4 >Emitted(40, 18) Source(52, 43) + SourceIndex(0) +5 >Emitted(40, 23) Source(52, 43) + SourceIndex(0) +6 >Emitted(40, 32) Source(52, 52) + SourceIndex(0) +7 >Emitted(40, 34) Source(52, 54) + SourceIndex(0) +8 >Emitted(40, 36) Source(52, 43) + SourceIndex(0) +9 >Emitted(40, 50) Source(52, 54) + SourceIndex(0) +10>Emitted(40, 52) Source(52, 43) + SourceIndex(0) +11>Emitted(40, 56) Source(52, 54) + SourceIndex(0) +12>Emitted(40, 58) Source(52, 56) + SourceIndex(0) +13>Emitted(40, 59) Source(52, 57) + SourceIndex(0) --- >>> var _s = _r[_q], nameA = _s.name, skillA = _s.skill; 1 >^^^^ @@ -1236,15 +1237,15 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 7 > , skill: 8 > skillA 9 > -1 >Emitted(40, 5) Source(52, 10) + SourceIndex(0) -2 >Emitted(40, 9) Source(52, 10) + SourceIndex(0) -3 >Emitted(40, 20) Source(52, 39) + SourceIndex(0) -4 >Emitted(40, 22) Source(52, 17) + SourceIndex(0) -5 >Emitted(40, 27) Source(52, 22) + SourceIndex(0) -6 >Emitted(40, 37) Source(52, 22) + SourceIndex(0) -7 >Emitted(40, 39) Source(52, 31) + SourceIndex(0) -8 >Emitted(40, 45) Source(52, 37) + SourceIndex(0) -9 >Emitted(40, 56) Source(52, 37) + SourceIndex(0) +1 >Emitted(41, 5) Source(52, 10) + SourceIndex(0) +2 >Emitted(41, 9) Source(52, 10) + SourceIndex(0) +3 >Emitted(41, 20) Source(52, 39) + SourceIndex(0) +4 >Emitted(41, 22) Source(52, 17) + SourceIndex(0) +5 >Emitted(41, 27) Source(52, 22) + SourceIndex(0) +6 >Emitted(41, 37) Source(52, 22) + SourceIndex(0) +7 >Emitted(41, 39) Source(52, 31) + SourceIndex(0) +8 >Emitted(41, 45) Source(52, 37) + SourceIndex(0) +9 >Emitted(41, 56) Source(52, 37) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1264,14 +1265,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(41, 5) Source(53, 5) + SourceIndex(0) -2 >Emitted(41, 12) Source(53, 12) + SourceIndex(0) -3 >Emitted(41, 13) Source(53, 13) + SourceIndex(0) -4 >Emitted(41, 16) Source(53, 16) + SourceIndex(0) -5 >Emitted(41, 17) Source(53, 17) + SourceIndex(0) -6 >Emitted(41, 22) Source(53, 22) + SourceIndex(0) -7 >Emitted(41, 23) Source(53, 23) + SourceIndex(0) -8 >Emitted(41, 24) Source(53, 24) + SourceIndex(0) +1 >Emitted(42, 5) Source(53, 5) + SourceIndex(0) +2 >Emitted(42, 12) Source(53, 12) + SourceIndex(0) +3 >Emitted(42, 13) Source(53, 13) + SourceIndex(0) +4 >Emitted(42, 16) Source(53, 16) + SourceIndex(0) +5 >Emitted(42, 17) Source(53, 17) + SourceIndex(0) +6 >Emitted(42, 22) Source(53, 22) + SourceIndex(0) +7 >Emitted(42, 23) Source(53, 23) + SourceIndex(0) +8 >Emitted(42, 24) Source(53, 24) + SourceIndex(0) --- >>>} 1 > @@ -1280,8 +1281,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(42, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(42, 2) Source(54, 2) + SourceIndex(0) +1 >Emitted(43, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(43, 2) Source(54, 2) + SourceIndex(0) --- >>>for (var _t = 0, _u = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _t < _u.length; _t++) { 1-> @@ -1347,37 +1348,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(43, 1) Source(55, 1) + SourceIndex(0) -2 >Emitted(43, 6) Source(55, 43) + SourceIndex(0) -3 >Emitted(43, 16) Source(55, 119) + SourceIndex(0) -4 >Emitted(43, 18) Source(55, 43) + SourceIndex(0) -5 >Emitted(43, 24) Source(55, 44) + SourceIndex(0) -6 >Emitted(43, 26) Source(55, 46) + SourceIndex(0) -7 >Emitted(43, 30) Source(55, 50) + SourceIndex(0) -8 >Emitted(43, 32) Source(55, 52) + SourceIndex(0) -9 >Emitted(43, 39) Source(55, 59) + SourceIndex(0) -10>Emitted(43, 41) Source(55, 61) + SourceIndex(0) -11>Emitted(43, 46) Source(55, 66) + SourceIndex(0) -12>Emitted(43, 48) Source(55, 68) + SourceIndex(0) -13>Emitted(43, 56) Source(55, 76) + SourceIndex(0) -14>Emitted(43, 58) Source(55, 78) + SourceIndex(0) -15>Emitted(43, 60) Source(55, 80) + SourceIndex(0) -16>Emitted(43, 62) Source(55, 82) + SourceIndex(0) -17>Emitted(43, 66) Source(55, 86) + SourceIndex(0) -18>Emitted(43, 68) Source(55, 88) + SourceIndex(0) -19>Emitted(43, 77) Source(55, 97) + SourceIndex(0) -20>Emitted(43, 79) Source(55, 99) + SourceIndex(0) -21>Emitted(43, 84) Source(55, 104) + SourceIndex(0) -22>Emitted(43, 86) Source(55, 106) + SourceIndex(0) -23>Emitted(43, 96) Source(55, 116) + SourceIndex(0) -24>Emitted(43, 98) Source(55, 118) + SourceIndex(0) -25>Emitted(43, 99) Source(55, 119) + SourceIndex(0) -26>Emitted(43, 101) Source(55, 43) + SourceIndex(0) -27>Emitted(43, 115) Source(55, 119) + SourceIndex(0) -28>Emitted(43, 117) Source(55, 43) + SourceIndex(0) -29>Emitted(43, 121) Source(55, 119) + SourceIndex(0) -30>Emitted(43, 123) Source(55, 121) + SourceIndex(0) -31>Emitted(43, 124) Source(55, 122) + SourceIndex(0) +1->Emitted(44, 1) Source(55, 1) + SourceIndex(0) +2 >Emitted(44, 6) Source(55, 43) + SourceIndex(0) +3 >Emitted(44, 16) Source(55, 119) + SourceIndex(0) +4 >Emitted(44, 18) Source(55, 43) + SourceIndex(0) +5 >Emitted(44, 24) Source(55, 44) + SourceIndex(0) +6 >Emitted(44, 26) Source(55, 46) + SourceIndex(0) +7 >Emitted(44, 30) Source(55, 50) + SourceIndex(0) +8 >Emitted(44, 32) Source(55, 52) + SourceIndex(0) +9 >Emitted(44, 39) Source(55, 59) + SourceIndex(0) +10>Emitted(44, 41) Source(55, 61) + SourceIndex(0) +11>Emitted(44, 46) Source(55, 66) + SourceIndex(0) +12>Emitted(44, 48) Source(55, 68) + SourceIndex(0) +13>Emitted(44, 56) Source(55, 76) + SourceIndex(0) +14>Emitted(44, 58) Source(55, 78) + SourceIndex(0) +15>Emitted(44, 60) Source(55, 80) + SourceIndex(0) +16>Emitted(44, 62) Source(55, 82) + SourceIndex(0) +17>Emitted(44, 66) Source(55, 86) + SourceIndex(0) +18>Emitted(44, 68) Source(55, 88) + SourceIndex(0) +19>Emitted(44, 77) Source(55, 97) + SourceIndex(0) +20>Emitted(44, 79) Source(55, 99) + SourceIndex(0) +21>Emitted(44, 84) Source(55, 104) + SourceIndex(0) +22>Emitted(44, 86) Source(55, 106) + SourceIndex(0) +23>Emitted(44, 96) Source(55, 116) + SourceIndex(0) +24>Emitted(44, 98) Source(55, 118) + SourceIndex(0) +25>Emitted(44, 99) Source(55, 119) + SourceIndex(0) +26>Emitted(44, 101) Source(55, 43) + SourceIndex(0) +27>Emitted(44, 115) Source(55, 119) + SourceIndex(0) +28>Emitted(44, 117) Source(55, 43) + SourceIndex(0) +29>Emitted(44, 121) Source(55, 119) + SourceIndex(0) +30>Emitted(44, 123) Source(55, 121) + SourceIndex(0) +31>Emitted(44, 124) Source(55, 122) + SourceIndex(0) --- >>> var _v = _u[_t], nameA = _v.name, skillA = _v.skill; 1 >^^^^ @@ -1398,15 +1399,15 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 7 > , skill: 8 > skillA 9 > -1 >Emitted(44, 5) Source(55, 10) + SourceIndex(0) -2 >Emitted(44, 9) Source(55, 10) + SourceIndex(0) -3 >Emitted(44, 20) Source(55, 39) + SourceIndex(0) -4 >Emitted(44, 22) Source(55, 17) + SourceIndex(0) -5 >Emitted(44, 27) Source(55, 22) + SourceIndex(0) -6 >Emitted(44, 37) Source(55, 22) + SourceIndex(0) -7 >Emitted(44, 39) Source(55, 31) + SourceIndex(0) -8 >Emitted(44, 45) Source(55, 37) + SourceIndex(0) -9 >Emitted(44, 56) Source(55, 37) + SourceIndex(0) +1 >Emitted(45, 5) Source(55, 10) + SourceIndex(0) +2 >Emitted(45, 9) Source(55, 10) + SourceIndex(0) +3 >Emitted(45, 20) Source(55, 39) + SourceIndex(0) +4 >Emitted(45, 22) Source(55, 17) + SourceIndex(0) +5 >Emitted(45, 27) Source(55, 22) + SourceIndex(0) +6 >Emitted(45, 37) Source(55, 22) + SourceIndex(0) +7 >Emitted(45, 39) Source(55, 31) + SourceIndex(0) +8 >Emitted(45, 45) Source(55, 37) + SourceIndex(0) +9 >Emitted(45, 56) Source(55, 37) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1426,14 +1427,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(45, 5) Source(56, 5) + SourceIndex(0) -2 >Emitted(45, 12) Source(56, 12) + SourceIndex(0) -3 >Emitted(45, 13) Source(56, 13) + SourceIndex(0) -4 >Emitted(45, 16) Source(56, 16) + SourceIndex(0) -5 >Emitted(45, 17) Source(56, 17) + SourceIndex(0) -6 >Emitted(45, 22) Source(56, 22) + SourceIndex(0) -7 >Emitted(45, 23) Source(56, 23) + SourceIndex(0) -8 >Emitted(45, 24) Source(56, 24) + SourceIndex(0) +1 >Emitted(46, 5) Source(56, 5) + SourceIndex(0) +2 >Emitted(46, 12) Source(56, 12) + SourceIndex(0) +3 >Emitted(46, 13) Source(56, 13) + SourceIndex(0) +4 >Emitted(46, 16) Source(56, 16) + SourceIndex(0) +5 >Emitted(46, 17) Source(56, 17) + SourceIndex(0) +6 >Emitted(46, 22) Source(56, 22) + SourceIndex(0) +7 >Emitted(46, 23) Source(56, 23) + SourceIndex(0) +8 >Emitted(46, 24) Source(56, 24) + SourceIndex(0) --- >>>} 1 > @@ -1442,8 +1443,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(46, 1) Source(57, 1) + SourceIndex(0) -2 >Emitted(46, 2) Source(57, 2) + SourceIndex(0) +1 >Emitted(47, 1) Source(57, 1) + SourceIndex(0) +2 >Emitted(47, 2) Source(57, 2) + SourceIndex(0) --- >>>for (var _w = 0, multiRobots_2 = multiRobots; _w < multiRobots_2.length; _w++) { 1-> @@ -1470,17 +1471,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 9 > multiRobots 10> ) 11> { -1->Emitted(47, 1) Source(58, 1) + SourceIndex(0) -2 >Emitted(47, 6) Source(58, 82) + SourceIndex(0) -3 >Emitted(47, 16) Source(58, 93) + SourceIndex(0) -4 >Emitted(47, 18) Source(58, 82) + SourceIndex(0) -5 >Emitted(47, 45) Source(58, 93) + SourceIndex(0) -6 >Emitted(47, 47) Source(58, 82) + SourceIndex(0) -7 >Emitted(47, 72) Source(58, 93) + SourceIndex(0) -8 >Emitted(47, 74) Source(58, 82) + SourceIndex(0) -9 >Emitted(47, 78) Source(58, 93) + SourceIndex(0) -10>Emitted(47, 80) Source(58, 95) + SourceIndex(0) -11>Emitted(47, 81) Source(58, 96) + SourceIndex(0) +1->Emitted(48, 1) Source(58, 1) + SourceIndex(0) +2 >Emitted(48, 6) Source(58, 82) + SourceIndex(0) +3 >Emitted(48, 16) Source(58, 93) + SourceIndex(0) +4 >Emitted(48, 18) Source(58, 82) + SourceIndex(0) +5 >Emitted(48, 45) Source(58, 93) + SourceIndex(0) +6 >Emitted(48, 47) Source(58, 82) + SourceIndex(0) +7 >Emitted(48, 72) Source(58, 93) + SourceIndex(0) +8 >Emitted(48, 74) Source(58, 82) + SourceIndex(0) +9 >Emitted(48, 78) Source(58, 93) + SourceIndex(0) +10>Emitted(48, 80) Source(58, 95) + SourceIndex(0) +11>Emitted(48, 81) Source(58, 96) + SourceIndex(0) --- >>> var _x = multiRobots_2[_w], nameA = _x.name, _y = _x.skills, primaryA = _y.primary, secondaryA = _y.secondary; 1->^^^^ @@ -1511,20 +1512,20 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 12> , secondary: 13> secondaryA 14> -1->Emitted(48, 5) Source(58, 10) + SourceIndex(0) -2 >Emitted(48, 9) Source(58, 10) + SourceIndex(0) -3 >Emitted(48, 31) Source(58, 78) + SourceIndex(0) -4 >Emitted(48, 33) Source(58, 17) + SourceIndex(0) -5 >Emitted(48, 38) Source(58, 22) + SourceIndex(0) -6 >Emitted(48, 48) Source(58, 22) + SourceIndex(0) -7 >Emitted(48, 50) Source(58, 24) + SourceIndex(0) -8 >Emitted(48, 64) Source(58, 76) + SourceIndex(0) -9 >Emitted(48, 66) Source(58, 43) + SourceIndex(0) -10>Emitted(48, 74) Source(58, 51) + SourceIndex(0) -11>Emitted(48, 87) Source(58, 51) + SourceIndex(0) -12>Emitted(48, 89) Source(58, 64) + SourceIndex(0) -13>Emitted(48, 99) Source(58, 74) + SourceIndex(0) -14>Emitted(48, 114) Source(58, 74) + SourceIndex(0) +1->Emitted(49, 5) Source(58, 10) + SourceIndex(0) +2 >Emitted(49, 9) Source(58, 10) + SourceIndex(0) +3 >Emitted(49, 31) Source(58, 78) + SourceIndex(0) +4 >Emitted(49, 33) Source(58, 17) + SourceIndex(0) +5 >Emitted(49, 38) Source(58, 22) + SourceIndex(0) +6 >Emitted(49, 48) Source(58, 22) + SourceIndex(0) +7 >Emitted(49, 50) Source(58, 24) + SourceIndex(0) +8 >Emitted(49, 64) Source(58, 76) + SourceIndex(0) +9 >Emitted(49, 66) Source(58, 43) + SourceIndex(0) +10>Emitted(49, 74) Source(58, 51) + SourceIndex(0) +11>Emitted(49, 87) Source(58, 51) + SourceIndex(0) +12>Emitted(49, 89) Source(58, 64) + SourceIndex(0) +13>Emitted(49, 99) Source(58, 74) + SourceIndex(0) +14>Emitted(49, 114) Source(58, 74) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1544,14 +1545,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(49, 5) Source(59, 5) + SourceIndex(0) -2 >Emitted(49, 12) Source(59, 12) + SourceIndex(0) -3 >Emitted(49, 13) Source(59, 13) + SourceIndex(0) -4 >Emitted(49, 16) Source(59, 16) + SourceIndex(0) -5 >Emitted(49, 17) Source(59, 17) + SourceIndex(0) -6 >Emitted(49, 22) Source(59, 22) + SourceIndex(0) -7 >Emitted(49, 23) Source(59, 23) + SourceIndex(0) -8 >Emitted(49, 24) Source(59, 24) + SourceIndex(0) +1 >Emitted(50, 5) Source(59, 5) + SourceIndex(0) +2 >Emitted(50, 12) Source(59, 12) + SourceIndex(0) +3 >Emitted(50, 13) Source(59, 13) + SourceIndex(0) +4 >Emitted(50, 16) Source(59, 16) + SourceIndex(0) +5 >Emitted(50, 17) Source(59, 17) + SourceIndex(0) +6 >Emitted(50, 22) Source(59, 22) + SourceIndex(0) +7 >Emitted(50, 23) Source(59, 23) + SourceIndex(0) +8 >Emitted(50, 24) Source(59, 24) + SourceIndex(0) --- >>>} 1 > @@ -1560,8 +1561,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(50, 1) Source(60, 1) + SourceIndex(0) -2 >Emitted(50, 2) Source(60, 2) + SourceIndex(0) +1 >Emitted(51, 1) Source(60, 1) + SourceIndex(0) +2 >Emitted(51, 2) Source(60, 2) + SourceIndex(0) --- >>>for (var _z = 0, _0 = getMultiRobots(); _z < _0.length; _z++) { 1-> @@ -1592,19 +1593,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(51, 1) Source(61, 1) + SourceIndex(0) -2 >Emitted(51, 6) Source(61, 82) + SourceIndex(0) -3 >Emitted(51, 16) Source(61, 98) + SourceIndex(0) -4 >Emitted(51, 18) Source(61, 82) + SourceIndex(0) -5 >Emitted(51, 23) Source(61, 82) + SourceIndex(0) -6 >Emitted(51, 37) Source(61, 96) + SourceIndex(0) -7 >Emitted(51, 39) Source(61, 98) + SourceIndex(0) -8 >Emitted(51, 41) Source(61, 82) + SourceIndex(0) -9 >Emitted(51, 55) Source(61, 98) + SourceIndex(0) -10>Emitted(51, 57) Source(61, 82) + SourceIndex(0) -11>Emitted(51, 61) Source(61, 98) + SourceIndex(0) -12>Emitted(51, 63) Source(61, 100) + SourceIndex(0) -13>Emitted(51, 64) Source(61, 101) + SourceIndex(0) +1->Emitted(52, 1) Source(61, 1) + SourceIndex(0) +2 >Emitted(52, 6) Source(61, 82) + SourceIndex(0) +3 >Emitted(52, 16) Source(61, 98) + SourceIndex(0) +4 >Emitted(52, 18) Source(61, 82) + SourceIndex(0) +5 >Emitted(52, 23) Source(61, 82) + SourceIndex(0) +6 >Emitted(52, 37) Source(61, 96) + SourceIndex(0) +7 >Emitted(52, 39) Source(61, 98) + SourceIndex(0) +8 >Emitted(52, 41) Source(61, 82) + SourceIndex(0) +9 >Emitted(52, 55) Source(61, 98) + SourceIndex(0) +10>Emitted(52, 57) Source(61, 82) + SourceIndex(0) +11>Emitted(52, 61) Source(61, 98) + SourceIndex(0) +12>Emitted(52, 63) Source(61, 100) + SourceIndex(0) +13>Emitted(52, 64) Source(61, 101) + SourceIndex(0) --- >>> var _1 = _0[_z], nameA = _1.name, _2 = _1.skills, primaryA = _2.primary, secondaryA = _2.secondary; 1->^^^^ @@ -1635,20 +1636,20 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 12> , secondary: 13> secondaryA 14> -1->Emitted(52, 5) Source(61, 10) + SourceIndex(0) -2 >Emitted(52, 9) Source(61, 10) + SourceIndex(0) -3 >Emitted(52, 20) Source(61, 78) + SourceIndex(0) -4 >Emitted(52, 22) Source(61, 17) + SourceIndex(0) -5 >Emitted(52, 27) Source(61, 22) + SourceIndex(0) -6 >Emitted(52, 37) Source(61, 22) + SourceIndex(0) -7 >Emitted(52, 39) Source(61, 24) + SourceIndex(0) -8 >Emitted(52, 53) Source(61, 76) + SourceIndex(0) -9 >Emitted(52, 55) Source(61, 43) + SourceIndex(0) -10>Emitted(52, 63) Source(61, 51) + SourceIndex(0) -11>Emitted(52, 76) Source(61, 51) + SourceIndex(0) -12>Emitted(52, 78) Source(61, 64) + SourceIndex(0) -13>Emitted(52, 88) Source(61, 74) + SourceIndex(0) -14>Emitted(52, 103) Source(61, 74) + SourceIndex(0) +1->Emitted(53, 5) Source(61, 10) + SourceIndex(0) +2 >Emitted(53, 9) Source(61, 10) + SourceIndex(0) +3 >Emitted(53, 20) Source(61, 78) + SourceIndex(0) +4 >Emitted(53, 22) Source(61, 17) + SourceIndex(0) +5 >Emitted(53, 27) Source(61, 22) + SourceIndex(0) +6 >Emitted(53, 37) Source(61, 22) + SourceIndex(0) +7 >Emitted(53, 39) Source(61, 24) + SourceIndex(0) +8 >Emitted(53, 53) Source(61, 76) + SourceIndex(0) +9 >Emitted(53, 55) Source(61, 43) + SourceIndex(0) +10>Emitted(53, 63) Source(61, 51) + SourceIndex(0) +11>Emitted(53, 76) Source(61, 51) + SourceIndex(0) +12>Emitted(53, 78) Source(61, 64) + SourceIndex(0) +13>Emitted(53, 88) Source(61, 74) + SourceIndex(0) +14>Emitted(53, 103) Source(61, 74) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1668,14 +1669,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(53, 5) Source(62, 5) + SourceIndex(0) -2 >Emitted(53, 12) Source(62, 12) + SourceIndex(0) -3 >Emitted(53, 13) Source(62, 13) + SourceIndex(0) -4 >Emitted(53, 16) Source(62, 16) + SourceIndex(0) -5 >Emitted(53, 17) Source(62, 17) + SourceIndex(0) -6 >Emitted(53, 22) Source(62, 22) + SourceIndex(0) -7 >Emitted(53, 23) Source(62, 23) + SourceIndex(0) -8 >Emitted(53, 24) Source(62, 24) + SourceIndex(0) +1 >Emitted(54, 5) Source(62, 5) + SourceIndex(0) +2 >Emitted(54, 12) Source(62, 12) + SourceIndex(0) +3 >Emitted(54, 13) Source(62, 13) + SourceIndex(0) +4 >Emitted(54, 16) Source(62, 16) + SourceIndex(0) +5 >Emitted(54, 17) Source(62, 17) + SourceIndex(0) +6 >Emitted(54, 22) Source(62, 22) + SourceIndex(0) +7 >Emitted(54, 23) Source(62, 23) + SourceIndex(0) +8 >Emitted(54, 24) Source(62, 24) + SourceIndex(0) --- >>>} 1 > @@ -1684,8 +1685,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(54, 1) Source(63, 1) + SourceIndex(0) -2 >Emitted(54, 2) Source(63, 2) + SourceIndex(0) +1 >Emitted(55, 1) Source(63, 1) + SourceIndex(0) +2 >Emitted(55, 2) Source(63, 2) + SourceIndex(0) --- >>>for (var _3 = 0, _4 = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -1735,28 +1736,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 20> "none" 21> } 22> } -1->Emitted(55, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(55, 6) Source(64, 82) + SourceIndex(0) -3 >Emitted(55, 16) Source(65, 79) + SourceIndex(0) -4 >Emitted(55, 18) Source(64, 82) + SourceIndex(0) -5 >Emitted(55, 24) Source(64, 83) + SourceIndex(0) -6 >Emitted(55, 26) Source(64, 85) + SourceIndex(0) -7 >Emitted(55, 30) Source(64, 89) + SourceIndex(0) -8 >Emitted(55, 32) Source(64, 91) + SourceIndex(0) -9 >Emitted(55, 39) Source(64, 98) + SourceIndex(0) -10>Emitted(55, 41) Source(64, 100) + SourceIndex(0) -11>Emitted(55, 47) Source(64, 106) + SourceIndex(0) -12>Emitted(55, 49) Source(64, 108) + SourceIndex(0) -13>Emitted(55, 51) Source(64, 110) + SourceIndex(0) -14>Emitted(55, 58) Source(64, 117) + SourceIndex(0) -15>Emitted(55, 60) Source(64, 119) + SourceIndex(0) -16>Emitted(55, 68) Source(64, 127) + SourceIndex(0) -17>Emitted(55, 70) Source(64, 129) + SourceIndex(0) -18>Emitted(55, 79) Source(64, 138) + SourceIndex(0) -19>Emitted(55, 81) Source(64, 140) + SourceIndex(0) -20>Emitted(55, 87) Source(64, 146) + SourceIndex(0) -21>Emitted(55, 89) Source(64, 148) + SourceIndex(0) -22>Emitted(55, 91) Source(64, 150) + SourceIndex(0) +1->Emitted(56, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(56, 6) Source(64, 82) + SourceIndex(0) +3 >Emitted(56, 16) Source(65, 79) + SourceIndex(0) +4 >Emitted(56, 18) Source(64, 82) + SourceIndex(0) +5 >Emitted(56, 24) Source(64, 83) + SourceIndex(0) +6 >Emitted(56, 26) Source(64, 85) + SourceIndex(0) +7 >Emitted(56, 30) Source(64, 89) + SourceIndex(0) +8 >Emitted(56, 32) Source(64, 91) + SourceIndex(0) +9 >Emitted(56, 39) Source(64, 98) + SourceIndex(0) +10>Emitted(56, 41) Source(64, 100) + SourceIndex(0) +11>Emitted(56, 47) Source(64, 106) + SourceIndex(0) +12>Emitted(56, 49) Source(64, 108) + SourceIndex(0) +13>Emitted(56, 51) Source(64, 110) + SourceIndex(0) +14>Emitted(56, 58) Source(64, 117) + SourceIndex(0) +15>Emitted(56, 60) Source(64, 119) + SourceIndex(0) +16>Emitted(56, 68) Source(64, 127) + SourceIndex(0) +17>Emitted(56, 70) Source(64, 129) + SourceIndex(0) +18>Emitted(56, 79) Source(64, 138) + SourceIndex(0) +19>Emitted(56, 81) Source(64, 140) + SourceIndex(0) +20>Emitted(56, 87) Source(64, 146) + SourceIndex(0) +21>Emitted(56, 89) Source(64, 148) + SourceIndex(0) +22>Emitted(56, 91) Source(64, 150) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _3 < _4.length; _3++) { 1->^^^^ @@ -1813,31 +1814,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(56, 5) Source(65, 5) + SourceIndex(0) -2 >Emitted(56, 7) Source(65, 7) + SourceIndex(0) -3 >Emitted(56, 11) Source(65, 11) + SourceIndex(0) -4 >Emitted(56, 13) Source(65, 13) + SourceIndex(0) -5 >Emitted(56, 22) Source(65, 22) + SourceIndex(0) -6 >Emitted(56, 24) Source(65, 24) + SourceIndex(0) -7 >Emitted(56, 30) Source(65, 30) + SourceIndex(0) -8 >Emitted(56, 32) Source(65, 32) + SourceIndex(0) -9 >Emitted(56, 34) Source(65, 34) + SourceIndex(0) -10>Emitted(56, 41) Source(65, 41) + SourceIndex(0) -11>Emitted(56, 43) Source(65, 43) + SourceIndex(0) -12>Emitted(56, 53) Source(65, 53) + SourceIndex(0) -13>Emitted(56, 55) Source(65, 55) + SourceIndex(0) -14>Emitted(56, 64) Source(65, 64) + SourceIndex(0) -15>Emitted(56, 66) Source(65, 66) + SourceIndex(0) -16>Emitted(56, 74) Source(65, 74) + SourceIndex(0) -17>Emitted(56, 76) Source(65, 76) + SourceIndex(0) -18>Emitted(56, 78) Source(65, 78) + SourceIndex(0) -19>Emitted(56, 79) Source(65, 79) + SourceIndex(0) -20>Emitted(56, 81) Source(64, 82) + SourceIndex(0) -21>Emitted(56, 95) Source(65, 79) + SourceIndex(0) -22>Emitted(56, 97) Source(64, 82) + SourceIndex(0) -23>Emitted(56, 101) Source(65, 79) + SourceIndex(0) -24>Emitted(56, 103) Source(65, 81) + SourceIndex(0) -25>Emitted(56, 104) Source(65, 82) + SourceIndex(0) +1->Emitted(57, 5) Source(65, 5) + SourceIndex(0) +2 >Emitted(57, 7) Source(65, 7) + SourceIndex(0) +3 >Emitted(57, 11) Source(65, 11) + SourceIndex(0) +4 >Emitted(57, 13) Source(65, 13) + SourceIndex(0) +5 >Emitted(57, 22) Source(65, 22) + SourceIndex(0) +6 >Emitted(57, 24) Source(65, 24) + SourceIndex(0) +7 >Emitted(57, 30) Source(65, 30) + SourceIndex(0) +8 >Emitted(57, 32) Source(65, 32) + SourceIndex(0) +9 >Emitted(57, 34) Source(65, 34) + SourceIndex(0) +10>Emitted(57, 41) Source(65, 41) + SourceIndex(0) +11>Emitted(57, 43) Source(65, 43) + SourceIndex(0) +12>Emitted(57, 53) Source(65, 53) + SourceIndex(0) +13>Emitted(57, 55) Source(65, 55) + SourceIndex(0) +14>Emitted(57, 64) Source(65, 64) + SourceIndex(0) +15>Emitted(57, 66) Source(65, 66) + SourceIndex(0) +16>Emitted(57, 74) Source(65, 74) + SourceIndex(0) +17>Emitted(57, 76) Source(65, 76) + SourceIndex(0) +18>Emitted(57, 78) Source(65, 78) + SourceIndex(0) +19>Emitted(57, 79) Source(65, 79) + SourceIndex(0) +20>Emitted(57, 81) Source(64, 82) + SourceIndex(0) +21>Emitted(57, 95) Source(65, 79) + SourceIndex(0) +22>Emitted(57, 97) Source(64, 82) + SourceIndex(0) +23>Emitted(57, 101) Source(65, 79) + SourceIndex(0) +24>Emitted(57, 103) Source(65, 81) + SourceIndex(0) +25>Emitted(57, 104) Source(65, 82) + SourceIndex(0) --- >>> var _5 = _4[_3], nameA = _5.name, _6 = _5.skills, primaryA = _6.primary, secondaryA = _6.secondary; 1->^^^^ @@ -1868,20 +1869,20 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 12> , secondary: 13> secondaryA 14> -1->Emitted(57, 5) Source(64, 10) + SourceIndex(0) -2 >Emitted(57, 9) Source(64, 10) + SourceIndex(0) -3 >Emitted(57, 20) Source(64, 78) + SourceIndex(0) -4 >Emitted(57, 22) Source(64, 17) + SourceIndex(0) -5 >Emitted(57, 27) Source(64, 22) + SourceIndex(0) -6 >Emitted(57, 37) Source(64, 22) + SourceIndex(0) -7 >Emitted(57, 39) Source(64, 24) + SourceIndex(0) -8 >Emitted(57, 53) Source(64, 76) + SourceIndex(0) -9 >Emitted(57, 55) Source(64, 43) + SourceIndex(0) -10>Emitted(57, 63) Source(64, 51) + SourceIndex(0) -11>Emitted(57, 76) Source(64, 51) + SourceIndex(0) -12>Emitted(57, 78) Source(64, 64) + SourceIndex(0) -13>Emitted(57, 88) Source(64, 74) + SourceIndex(0) -14>Emitted(57, 103) Source(64, 74) + SourceIndex(0) +1->Emitted(58, 5) Source(64, 10) + SourceIndex(0) +2 >Emitted(58, 9) Source(64, 10) + SourceIndex(0) +3 >Emitted(58, 20) Source(64, 78) + SourceIndex(0) +4 >Emitted(58, 22) Source(64, 17) + SourceIndex(0) +5 >Emitted(58, 27) Source(64, 22) + SourceIndex(0) +6 >Emitted(58, 37) Source(64, 22) + SourceIndex(0) +7 >Emitted(58, 39) Source(64, 24) + SourceIndex(0) +8 >Emitted(58, 53) Source(64, 76) + SourceIndex(0) +9 >Emitted(58, 55) Source(64, 43) + SourceIndex(0) +10>Emitted(58, 63) Source(64, 51) + SourceIndex(0) +11>Emitted(58, 76) Source(64, 51) + SourceIndex(0) +12>Emitted(58, 78) Source(64, 64) + SourceIndex(0) +13>Emitted(58, 88) Source(64, 74) + SourceIndex(0) +14>Emitted(58, 103) Source(64, 74) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1902,14 +1903,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(58, 5) Source(66, 5) + SourceIndex(0) -2 >Emitted(58, 12) Source(66, 12) + SourceIndex(0) -3 >Emitted(58, 13) Source(66, 13) + SourceIndex(0) -4 >Emitted(58, 16) Source(66, 16) + SourceIndex(0) -5 >Emitted(58, 17) Source(66, 17) + SourceIndex(0) -6 >Emitted(58, 22) Source(66, 22) + SourceIndex(0) -7 >Emitted(58, 23) Source(66, 23) + SourceIndex(0) -8 >Emitted(58, 24) Source(66, 24) + SourceIndex(0) +1 >Emitted(59, 5) Source(66, 5) + SourceIndex(0) +2 >Emitted(59, 12) Source(66, 12) + SourceIndex(0) +3 >Emitted(59, 13) Source(66, 13) + SourceIndex(0) +4 >Emitted(59, 16) Source(66, 16) + SourceIndex(0) +5 >Emitted(59, 17) Source(66, 17) + SourceIndex(0) +6 >Emitted(59, 22) Source(66, 22) + SourceIndex(0) +7 >Emitted(59, 23) Source(66, 23) + SourceIndex(0) +8 >Emitted(59, 24) Source(66, 24) + SourceIndex(0) --- >>>} 1 > @@ -1918,7 +1919,7 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(59, 1) Source(67, 1) + SourceIndex(0) -2 >Emitted(59, 2) Source(67, 2) + SourceIndex(0) +1 >Emitted(60, 1) Source(67, 1) + SourceIndex(0) +2 >Emitted(60, 2) Source(67, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForOfObjectBindingPattern.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.js b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.js index c0bef14908982..ed1127b4a80a5 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.js @@ -112,6 +112,7 @@ for ({name, skills: { primary, secondary } } of [{ name: "mower", skills: { prim } //// [sourceMapValidationDestructuringForOfObjectBindingPattern2.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z; var robots = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; var multiRobots = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.js.map index fe8216bcba389..5d96742601868 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForOfObjectBindingPattern2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForOfObjectBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfObjectBindingPattern2.ts"],"names":[],"mappings":";AAgBA,IAAI,MAAM,GAAY,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;AACnG,IAAI,WAAW,GAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE;IACh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{"version":3,"file":"sourceMapValidationDestructuringForOfObjectBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfObjectBindingPattern2.ts"],"names":[],"mappings":";;AAgBA,IAAI,MAAM,GAAY,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;AACnG,IAAI,WAAW,GAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE;IAChG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;AAE/E,SAAS,SAAS;IACd,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,SAAS,cAAc;IACnB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,IAAI,KAAa,EAAE,QAAgB,EAAE,UAAkB,EAAE,CAAS,EAAE,MAAc,CAAC;AACnF,IAAI,IAAY,EAAE,OAAe,EAAE,SAAiB,EAAE,KAAa,CAAC;AAEpE,KAAuB,UAAM,EAAN,iBAAM,EAAN,oBAAM,EAAN,IAAM,EAAE,CAAC;IAApB,KAAK,oBAAA;IACb,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAuB,UAAW,EAAX,KAAA,SAAS,EAAE,EAAX,cAAW,EAAX,IAAW,EAAE,CAAC;IAAzB,KAAK,cAAA;IACb,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAuB,UAA4E,EAA5E,MAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,E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WxsczogeyBwcmltYXJ5LCBzZWNvbmRhcnkgfSB9IG9mIGdldE11bHRpUm9ib3RzKCkpIHsKICAgIGNvbnNvbGUubG9nKG5hbWVBKTsKfQpmb3IgKHtuYW1lLCBza2lsbHM6IHsgcHJpbWFyeSwgc2Vjb25kYXJ5IH0gfSBvZiBbeyBuYW1lOiAibW93ZXIiLCBza2lsbHM6IHsgcHJpbWFyeTogIm1vd2luZyIsIHNlY29uZGFyeTogIm5vbmUiIH0gfSwKICAgIHsgbmFtZTogInRyaW1tZXIiLCBza2lsbHM6IHsgcHJpbWFyeTogInRyaW1taW5nIiwgc2Vjb25kYXJ5OiAiZWRnaW5nIiB9IH1dKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lQSk7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.sourcemap.txt index 3f0256987ebe0..21ee576742d8d 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPattern2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForOfObjectBindingPattern2.ts emittedFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.js sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z; >>>var robots = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; 1 > @@ -78,32 +79,32 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 24> } 25> ] 26> ; -1 >Emitted(2, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(17, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(17, 23) + SourceIndex(0) -5 >Emitted(2, 15) Source(17, 24) + SourceIndex(0) -6 >Emitted(2, 17) Source(17, 26) + SourceIndex(0) -7 >Emitted(2, 21) Source(17, 30) + SourceIndex(0) -8 >Emitted(2, 23) Source(17, 32) + SourceIndex(0) -9 >Emitted(2, 30) Source(17, 39) + SourceIndex(0) -10>Emitted(2, 32) Source(17, 41) + SourceIndex(0) -11>Emitted(2, 37) Source(17, 46) + SourceIndex(0) -12>Emitted(2, 39) Source(17, 48) + SourceIndex(0) -13>Emitted(2, 47) Source(17, 56) + SourceIndex(0) -14>Emitted(2, 49) Source(17, 58) + SourceIndex(0) -15>Emitted(2, 51) Source(17, 60) + SourceIndex(0) -16>Emitted(2, 53) Source(17, 62) + SourceIndex(0) -17>Emitted(2, 57) Source(17, 66) + SourceIndex(0) -18>Emitted(2, 59) Source(17, 68) + SourceIndex(0) -19>Emitted(2, 68) Source(17, 77) + SourceIndex(0) -20>Emitted(2, 70) Source(17, 79) + SourceIndex(0) -21>Emitted(2, 75) Source(17, 84) + SourceIndex(0) -22>Emitted(2, 77) Source(17, 86) + SourceIndex(0) -23>Emitted(2, 87) Source(17, 96) + SourceIndex(0) -24>Emitted(2, 89) Source(17, 98) + SourceIndex(0) -25>Emitted(2, 90) Source(17, 99) + SourceIndex(0) -26>Emitted(2, 91) Source(17, 100) + SourceIndex(0) +1 >Emitted(3, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(17, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(17, 23) + SourceIndex(0) +5 >Emitted(3, 15) Source(17, 24) + SourceIndex(0) +6 >Emitted(3, 17) Source(17, 26) + SourceIndex(0) +7 >Emitted(3, 21) Source(17, 30) + SourceIndex(0) +8 >Emitted(3, 23) Source(17, 32) + SourceIndex(0) +9 >Emitted(3, 30) Source(17, 39) + SourceIndex(0) +10>Emitted(3, 32) Source(17, 41) + SourceIndex(0) +11>Emitted(3, 37) Source(17, 46) + SourceIndex(0) +12>Emitted(3, 39) Source(17, 48) + SourceIndex(0) +13>Emitted(3, 47) Source(17, 56) + SourceIndex(0) +14>Emitted(3, 49) Source(17, 58) + SourceIndex(0) +15>Emitted(3, 51) Source(17, 60) + SourceIndex(0) +16>Emitted(3, 53) Source(17, 62) + SourceIndex(0) +17>Emitted(3, 57) Source(17, 66) + SourceIndex(0) +18>Emitted(3, 59) Source(17, 68) + SourceIndex(0) +19>Emitted(3, 68) Source(17, 77) + SourceIndex(0) +20>Emitted(3, 70) Source(17, 79) + SourceIndex(0) +21>Emitted(3, 75) Source(17, 84) + SourceIndex(0) +22>Emitted(3, 77) Source(17, 86) + SourceIndex(0) +23>Emitted(3, 87) Source(17, 96) + SourceIndex(0) +24>Emitted(3, 89) Source(17, 98) + SourceIndex(0) +25>Emitted(3, 90) Source(17, 99) + SourceIndex(0) +26>Emitted(3, 91) Source(17, 100) + SourceIndex(0) --- >>>var multiRobots = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1 > @@ -151,28 +152,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 20> "none" 21> } 22> } -1 >Emitted(3, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(3, 16) Source(18, 16) + SourceIndex(0) -4 >Emitted(3, 19) Source(18, 33) + SourceIndex(0) -5 >Emitted(3, 20) Source(18, 34) + SourceIndex(0) -6 >Emitted(3, 22) Source(18, 36) + SourceIndex(0) -7 >Emitted(3, 26) Source(18, 40) + SourceIndex(0) -8 >Emitted(3, 28) Source(18, 42) + SourceIndex(0) -9 >Emitted(3, 35) Source(18, 49) + SourceIndex(0) -10>Emitted(3, 37) Source(18, 51) + SourceIndex(0) -11>Emitted(3, 43) Source(18, 57) + SourceIndex(0) -12>Emitted(3, 45) Source(18, 59) + SourceIndex(0) -13>Emitted(3, 47) Source(18, 61) + SourceIndex(0) -14>Emitted(3, 54) Source(18, 68) + SourceIndex(0) -15>Emitted(3, 56) Source(18, 70) + SourceIndex(0) -16>Emitted(3, 64) Source(18, 78) + SourceIndex(0) -17>Emitted(3, 66) Source(18, 80) + SourceIndex(0) -18>Emitted(3, 75) Source(18, 89) + SourceIndex(0) -19>Emitted(3, 77) Source(18, 91) + SourceIndex(0) -20>Emitted(3, 83) Source(18, 97) + SourceIndex(0) -21>Emitted(3, 85) Source(18, 99) + SourceIndex(0) -22>Emitted(3, 87) Source(18, 101) + SourceIndex(0) +1 >Emitted(4, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(4, 16) Source(18, 16) + SourceIndex(0) +4 >Emitted(4, 19) Source(18, 33) + SourceIndex(0) +5 >Emitted(4, 20) Source(18, 34) + SourceIndex(0) +6 >Emitted(4, 22) Source(18, 36) + SourceIndex(0) +7 >Emitted(4, 26) Source(18, 40) + SourceIndex(0) +8 >Emitted(4, 28) Source(18, 42) + SourceIndex(0) +9 >Emitted(4, 35) Source(18, 49) + SourceIndex(0) +10>Emitted(4, 37) Source(18, 51) + SourceIndex(0) +11>Emitted(4, 43) Source(18, 57) + SourceIndex(0) +12>Emitted(4, 45) Source(18, 59) + SourceIndex(0) +13>Emitted(4, 47) Source(18, 61) + SourceIndex(0) +14>Emitted(4, 54) Source(18, 68) + SourceIndex(0) +15>Emitted(4, 56) Source(18, 70) + SourceIndex(0) +16>Emitted(4, 64) Source(18, 78) + SourceIndex(0) +17>Emitted(4, 66) Source(18, 80) + SourceIndex(0) +18>Emitted(4, 75) Source(18, 89) + SourceIndex(0) +19>Emitted(4, 77) Source(18, 91) + SourceIndex(0) +20>Emitted(4, 83) Source(18, 97) + SourceIndex(0) +21>Emitted(4, 85) Source(18, 99) + SourceIndex(0) +22>Emitted(4, 87) Source(18, 101) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; 1 >^^^^ @@ -216,26 +217,26 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 18> } 19> ] 20> ; -1 >Emitted(4, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(4, 7) Source(19, 7) + SourceIndex(0) -3 >Emitted(4, 11) Source(19, 11) + SourceIndex(0) -4 >Emitted(4, 13) Source(19, 13) + SourceIndex(0) -5 >Emitted(4, 22) Source(19, 22) + SourceIndex(0) -6 >Emitted(4, 24) Source(19, 24) + SourceIndex(0) -7 >Emitted(4, 30) Source(19, 30) + SourceIndex(0) -8 >Emitted(4, 32) Source(19, 32) + SourceIndex(0) -9 >Emitted(4, 34) Source(19, 34) + SourceIndex(0) -10>Emitted(4, 41) Source(19, 41) + SourceIndex(0) -11>Emitted(4, 43) Source(19, 43) + SourceIndex(0) -12>Emitted(4, 53) Source(19, 53) + SourceIndex(0) -13>Emitted(4, 55) Source(19, 55) + SourceIndex(0) -14>Emitted(4, 64) Source(19, 64) + SourceIndex(0) -15>Emitted(4, 66) Source(19, 66) + SourceIndex(0) -16>Emitted(4, 74) Source(19, 74) + SourceIndex(0) -17>Emitted(4, 76) Source(19, 76) + SourceIndex(0) -18>Emitted(4, 78) Source(19, 78) + SourceIndex(0) -19>Emitted(4, 79) Source(19, 79) + SourceIndex(0) -20>Emitted(4, 80) Source(19, 80) + SourceIndex(0) +1 >Emitted(5, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(5, 7) Source(19, 7) + SourceIndex(0) +3 >Emitted(5, 11) Source(19, 11) + SourceIndex(0) +4 >Emitted(5, 13) Source(19, 13) + SourceIndex(0) +5 >Emitted(5, 22) Source(19, 22) + SourceIndex(0) +6 >Emitted(5, 24) Source(19, 24) + SourceIndex(0) +7 >Emitted(5, 30) Source(19, 30) + SourceIndex(0) +8 >Emitted(5, 32) Source(19, 32) + SourceIndex(0) +9 >Emitted(5, 34) Source(19, 34) + SourceIndex(0) +10>Emitted(5, 41) Source(19, 41) + SourceIndex(0) +11>Emitted(5, 43) Source(19, 43) + SourceIndex(0) +12>Emitted(5, 53) Source(19, 53) + SourceIndex(0) +13>Emitted(5, 55) Source(19, 55) + SourceIndex(0) +14>Emitted(5, 64) Source(19, 64) + SourceIndex(0) +15>Emitted(5, 66) Source(19, 66) + SourceIndex(0) +16>Emitted(5, 74) Source(19, 74) + SourceIndex(0) +17>Emitted(5, 76) Source(19, 76) + SourceIndex(0) +18>Emitted(5, 78) Source(19, 78) + SourceIndex(0) +19>Emitted(5, 79) Source(19, 79) + SourceIndex(0) +20>Emitted(5, 80) Source(19, 80) + SourceIndex(0) --- >>>function getRobots() { 1 > @@ -247,9 +248,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts > 2 >function 3 > getRobots -1 >Emitted(5, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(5, 10) Source(21, 10) + SourceIndex(0) -3 >Emitted(5, 19) Source(21, 19) + SourceIndex(0) +1 >Emitted(6, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(6, 10) Source(21, 10) + SourceIndex(0) +3 >Emitted(6, 19) Source(21, 19) + SourceIndex(0) --- >>> return robots; 1->^^^^ @@ -261,10 +262,10 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 2 > return 3 > robots 4 > ; -1->Emitted(6, 5) Source(22, 5) + SourceIndex(0) -2 >Emitted(6, 12) Source(22, 12) + SourceIndex(0) -3 >Emitted(6, 18) Source(22, 18) + SourceIndex(0) -4 >Emitted(6, 19) Source(22, 19) + SourceIndex(0) +1->Emitted(7, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(7, 12) Source(22, 12) + SourceIndex(0) +3 >Emitted(7, 18) Source(22, 18) + SourceIndex(0) +4 >Emitted(7, 19) Source(22, 19) + SourceIndex(0) --- >>>} 1 > @@ -273,8 +274,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(7, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(23, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(23, 2) + SourceIndex(0) --- >>>function getMultiRobots() { 1-> @@ -286,9 +287,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts > 2 >function 3 > getMultiRobots -1->Emitted(8, 1) Source(25, 1) + SourceIndex(0) -2 >Emitted(8, 10) Source(25, 10) + SourceIndex(0) -3 >Emitted(8, 24) Source(25, 24) + SourceIndex(0) +1->Emitted(9, 1) Source(25, 1) + SourceIndex(0) +2 >Emitted(9, 10) Source(25, 10) + SourceIndex(0) +3 >Emitted(9, 24) Source(25, 24) + SourceIndex(0) --- >>> return multiRobots; 1->^^^^ @@ -300,10 +301,10 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 2 > return 3 > multiRobots 4 > ; -1->Emitted(9, 5) Source(26, 5) + SourceIndex(0) -2 >Emitted(9, 12) Source(26, 12) + SourceIndex(0) -3 >Emitted(9, 23) Source(26, 23) + SourceIndex(0) -4 >Emitted(9, 24) Source(26, 24) + SourceIndex(0) +1->Emitted(10, 5) Source(26, 5) + SourceIndex(0) +2 >Emitted(10, 12) Source(26, 12) + SourceIndex(0) +3 >Emitted(10, 23) Source(26, 23) + SourceIndex(0) +4 >Emitted(10, 24) Source(26, 24) + SourceIndex(0) --- >>>} 1 > @@ -312,8 +313,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(10, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(10, 2) Source(27, 2) + SourceIndex(0) +1 >Emitted(11, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(11, 2) Source(27, 2) + SourceIndex(0) --- >>>var nameA, primaryA, secondaryA, i, skillA; 1-> @@ -342,18 +343,18 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 10> , 11> skillA: string 12> ; -1->Emitted(11, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(11, 5) Source(29, 5) + SourceIndex(0) -3 >Emitted(11, 10) Source(29, 18) + SourceIndex(0) -4 >Emitted(11, 12) Source(29, 20) + SourceIndex(0) -5 >Emitted(11, 20) Source(29, 36) + SourceIndex(0) -6 >Emitted(11, 22) Source(29, 38) + SourceIndex(0) -7 >Emitted(11, 32) Source(29, 56) + SourceIndex(0) -8 >Emitted(11, 34) Source(29, 58) + SourceIndex(0) -9 >Emitted(11, 35) Source(29, 67) + SourceIndex(0) -10>Emitted(11, 37) Source(29, 69) + SourceIndex(0) -11>Emitted(11, 43) Source(29, 83) + SourceIndex(0) -12>Emitted(11, 44) Source(29, 84) + SourceIndex(0) +1->Emitted(12, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(12, 5) Source(29, 5) + SourceIndex(0) +3 >Emitted(12, 10) Source(29, 18) + SourceIndex(0) +4 >Emitted(12, 12) Source(29, 20) + SourceIndex(0) +5 >Emitted(12, 20) Source(29, 36) + SourceIndex(0) +6 >Emitted(12, 22) Source(29, 38) + SourceIndex(0) +7 >Emitted(12, 32) Source(29, 56) + SourceIndex(0) +8 >Emitted(12, 34) Source(29, 58) + SourceIndex(0) +9 >Emitted(12, 35) Source(29, 67) + SourceIndex(0) +10>Emitted(12, 37) Source(29, 69) + SourceIndex(0) +11>Emitted(12, 43) Source(29, 83) + SourceIndex(0) +12>Emitted(12, 44) Source(29, 84) + SourceIndex(0) --- >>>var name, primary, secondary, skill; 1 > @@ -378,16 +379,16 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 8 > , 9 > skill: string 10> ; -1 >Emitted(12, 1) Source(30, 1) + SourceIndex(0) -2 >Emitted(12, 5) Source(30, 5) + SourceIndex(0) -3 >Emitted(12, 9) Source(30, 17) + SourceIndex(0) -4 >Emitted(12, 11) Source(30, 19) + SourceIndex(0) -5 >Emitted(12, 18) Source(30, 34) + SourceIndex(0) -6 >Emitted(12, 20) Source(30, 36) + SourceIndex(0) -7 >Emitted(12, 29) Source(30, 53) + SourceIndex(0) -8 >Emitted(12, 31) Source(30, 55) + SourceIndex(0) -9 >Emitted(12, 36) Source(30, 68) + SourceIndex(0) -10>Emitted(12, 37) Source(30, 69) + SourceIndex(0) +1 >Emitted(13, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(13, 5) Source(30, 5) + SourceIndex(0) +3 >Emitted(13, 9) Source(30, 17) + SourceIndex(0) +4 >Emitted(13, 11) Source(30, 19) + SourceIndex(0) +5 >Emitted(13, 18) Source(30, 34) + SourceIndex(0) +6 >Emitted(13, 20) Source(30, 36) + SourceIndex(0) +7 >Emitted(13, 29) Source(30, 53) + SourceIndex(0) +8 >Emitted(13, 31) Source(30, 55) + SourceIndex(0) +9 >Emitted(13, 36) Source(30, 68) + SourceIndex(0) +10>Emitted(13, 37) Source(30, 69) + SourceIndex(0) --- >>>for (var _i = 0, robots_1 = robots; _i < robots_1.length; _i++) { 1-> @@ -414,17 +415,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > robots 10> ) 11> { -1->Emitted(13, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(13, 6) Source(32, 24) + SourceIndex(0) -3 >Emitted(13, 16) Source(32, 30) + SourceIndex(0) -4 >Emitted(13, 18) Source(32, 24) + SourceIndex(0) -5 >Emitted(13, 35) Source(32, 30) + SourceIndex(0) -6 >Emitted(13, 37) Source(32, 24) + SourceIndex(0) -7 >Emitted(13, 57) Source(32, 30) + SourceIndex(0) -8 >Emitted(13, 59) Source(32, 24) + SourceIndex(0) -9 >Emitted(13, 63) Source(32, 30) + SourceIndex(0) -10>Emitted(13, 65) Source(32, 32) + SourceIndex(0) -11>Emitted(13, 66) Source(32, 33) + SourceIndex(0) +1->Emitted(14, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(14, 6) Source(32, 24) + SourceIndex(0) +3 >Emitted(14, 16) Source(32, 30) + SourceIndex(0) +4 >Emitted(14, 18) Source(32, 24) + SourceIndex(0) +5 >Emitted(14, 35) Source(32, 30) + SourceIndex(0) +6 >Emitted(14, 37) Source(32, 24) + SourceIndex(0) +7 >Emitted(14, 57) Source(32, 30) + SourceIndex(0) +8 >Emitted(14, 59) Source(32, 24) + SourceIndex(0) +9 >Emitted(14, 63) Source(32, 30) + SourceIndex(0) +10>Emitted(14, 65) Source(32, 32) + SourceIndex(0) +11>Emitted(14, 66) Source(32, 33) + SourceIndex(0) --- >>> nameA = robots_1[_i].name; 1 >^^^^ @@ -433,9 +434,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > 2 > nameA 3 > -1 >Emitted(14, 5) Source(32, 13) + SourceIndex(0) -2 >Emitted(14, 10) Source(32, 18) + SourceIndex(0) -3 >Emitted(14, 30) Source(32, 18) + SourceIndex(0) +1 >Emitted(15, 5) Source(32, 13) + SourceIndex(0) +2 >Emitted(15, 10) Source(32, 18) + SourceIndex(0) +3 >Emitted(15, 30) Source(32, 18) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -455,14 +456,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(15, 5) Source(33, 5) + SourceIndex(0) -2 >Emitted(15, 12) Source(33, 12) + SourceIndex(0) -3 >Emitted(15, 13) Source(33, 13) + SourceIndex(0) -4 >Emitted(15, 16) Source(33, 16) + SourceIndex(0) -5 >Emitted(15, 17) Source(33, 17) + SourceIndex(0) -6 >Emitted(15, 22) Source(33, 22) + SourceIndex(0) -7 >Emitted(15, 23) Source(33, 23) + SourceIndex(0) -8 >Emitted(15, 24) Source(33, 24) + SourceIndex(0) +1 >Emitted(16, 5) Source(33, 5) + SourceIndex(0) +2 >Emitted(16, 12) Source(33, 12) + SourceIndex(0) +3 >Emitted(16, 13) Source(33, 13) + SourceIndex(0) +4 >Emitted(16, 16) Source(33, 16) + SourceIndex(0) +5 >Emitted(16, 17) Source(33, 17) + SourceIndex(0) +6 >Emitted(16, 22) Source(33, 22) + SourceIndex(0) +7 >Emitted(16, 23) Source(33, 23) + SourceIndex(0) +8 >Emitted(16, 24) Source(33, 24) + SourceIndex(0) --- >>>} 1 > @@ -471,8 +472,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(16, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(16, 2) Source(34, 2) + SourceIndex(0) +1 >Emitted(17, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(17, 2) Source(34, 2) + SourceIndex(0) --- >>>for (var _0 = 0, _1 = getRobots(); _0 < _1.length; _0++) { 1-> @@ -502,19 +503,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 11> getRobots() 12> ) 13> { -1->Emitted(17, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(17, 6) Source(35, 24) + SourceIndex(0) -3 >Emitted(17, 16) Source(35, 35) + SourceIndex(0) -4 >Emitted(17, 18) Source(35, 24) + SourceIndex(0) -5 >Emitted(17, 23) Source(35, 24) + SourceIndex(0) -6 >Emitted(17, 32) Source(35, 33) + SourceIndex(0) -7 >Emitted(17, 34) Source(35, 35) + SourceIndex(0) -8 >Emitted(17, 36) Source(35, 24) + SourceIndex(0) -9 >Emitted(17, 50) Source(35, 35) + SourceIndex(0) -10>Emitted(17, 52) Source(35, 24) + SourceIndex(0) -11>Emitted(17, 56) Source(35, 35) + SourceIndex(0) -12>Emitted(17, 58) Source(35, 37) + SourceIndex(0) -13>Emitted(17, 59) Source(35, 38) + SourceIndex(0) +1->Emitted(18, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(18, 6) Source(35, 24) + SourceIndex(0) +3 >Emitted(18, 16) Source(35, 35) + SourceIndex(0) +4 >Emitted(18, 18) Source(35, 24) + SourceIndex(0) +5 >Emitted(18, 23) Source(35, 24) + SourceIndex(0) +6 >Emitted(18, 32) Source(35, 33) + SourceIndex(0) +7 >Emitted(18, 34) Source(35, 35) + SourceIndex(0) +8 >Emitted(18, 36) Source(35, 24) + SourceIndex(0) +9 >Emitted(18, 50) Source(35, 35) + SourceIndex(0) +10>Emitted(18, 52) Source(35, 24) + SourceIndex(0) +11>Emitted(18, 56) Source(35, 35) + SourceIndex(0) +12>Emitted(18, 58) Source(35, 37) + SourceIndex(0) +13>Emitted(18, 59) Source(35, 38) + SourceIndex(0) --- >>> nameA = _1[_0].name; 1 >^^^^ @@ -524,9 +525,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > 2 > nameA 3 > -1 >Emitted(18, 5) Source(35, 13) + SourceIndex(0) -2 >Emitted(18, 10) Source(35, 18) + SourceIndex(0) -3 >Emitted(18, 24) Source(35, 18) + SourceIndex(0) +1 >Emitted(19, 5) Source(35, 13) + SourceIndex(0) +2 >Emitted(19, 10) Source(35, 18) + SourceIndex(0) +3 >Emitted(19, 24) Source(35, 18) + SourceIndex(0) --- >>> console.log(nameA); 1->^^^^ @@ -546,14 +547,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1->Emitted(19, 5) Source(36, 5) + SourceIndex(0) -2 >Emitted(19, 12) Source(36, 12) + SourceIndex(0) -3 >Emitted(19, 13) Source(36, 13) + SourceIndex(0) -4 >Emitted(19, 16) Source(36, 16) + SourceIndex(0) -5 >Emitted(19, 17) Source(36, 17) + SourceIndex(0) -6 >Emitted(19, 22) Source(36, 22) + SourceIndex(0) -7 >Emitted(19, 23) Source(36, 23) + SourceIndex(0) -8 >Emitted(19, 24) Source(36, 24) + SourceIndex(0) +1->Emitted(20, 5) Source(36, 5) + SourceIndex(0) +2 >Emitted(20, 12) Source(36, 12) + SourceIndex(0) +3 >Emitted(20, 13) Source(36, 13) + SourceIndex(0) +4 >Emitted(20, 16) Source(36, 16) + SourceIndex(0) +5 >Emitted(20, 17) Source(36, 17) + SourceIndex(0) +6 >Emitted(20, 22) Source(36, 22) + SourceIndex(0) +7 >Emitted(20, 23) Source(36, 23) + SourceIndex(0) +8 >Emitted(20, 24) Source(36, 24) + SourceIndex(0) --- >>>} 1 > @@ -562,8 +563,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(20, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(20, 2) Source(37, 2) + SourceIndex(0) +1 >Emitted(21, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(21, 2) Source(37, 2) + SourceIndex(0) --- >>>for (var _2 = 0, _3 = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _2 < _3.length; _2++) { 1-> @@ -629,37 +630,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(21, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(21, 6) Source(38, 24) + SourceIndex(0) -3 >Emitted(21, 16) Source(38, 100) + SourceIndex(0) -4 >Emitted(21, 18) Source(38, 24) + SourceIndex(0) -5 >Emitted(21, 24) Source(38, 25) + SourceIndex(0) -6 >Emitted(21, 26) Source(38, 27) + SourceIndex(0) -7 >Emitted(21, 30) Source(38, 31) + SourceIndex(0) -8 >Emitted(21, 32) Source(38, 33) + SourceIndex(0) -9 >Emitted(21, 39) Source(38, 40) + SourceIndex(0) -10>Emitted(21, 41) Source(38, 42) + SourceIndex(0) -11>Emitted(21, 46) Source(38, 47) + SourceIndex(0) -12>Emitted(21, 48) Source(38, 49) + SourceIndex(0) -13>Emitted(21, 56) Source(38, 57) + SourceIndex(0) -14>Emitted(21, 58) Source(38, 59) + SourceIndex(0) -15>Emitted(21, 60) Source(38, 61) + SourceIndex(0) -16>Emitted(21, 62) Source(38, 63) + SourceIndex(0) -17>Emitted(21, 66) Source(38, 67) + SourceIndex(0) -18>Emitted(21, 68) Source(38, 69) + SourceIndex(0) -19>Emitted(21, 77) Source(38, 78) + SourceIndex(0) -20>Emitted(21, 79) Source(38, 80) + SourceIndex(0) -21>Emitted(21, 84) Source(38, 85) + SourceIndex(0) -22>Emitted(21, 86) Source(38, 87) + SourceIndex(0) -23>Emitted(21, 96) Source(38, 97) + SourceIndex(0) -24>Emitted(21, 98) Source(38, 99) + SourceIndex(0) -25>Emitted(21, 99) Source(38, 100) + SourceIndex(0) -26>Emitted(21, 101) Source(38, 24) + SourceIndex(0) -27>Emitted(21, 115) Source(38, 100) + SourceIndex(0) -28>Emitted(21, 117) Source(38, 24) + SourceIndex(0) -29>Emitted(21, 121) Source(38, 100) + SourceIndex(0) -30>Emitted(21, 123) Source(38, 102) + SourceIndex(0) -31>Emitted(21, 124) Source(38, 103) + SourceIndex(0) +1->Emitted(22, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(22, 6) Source(38, 24) + SourceIndex(0) +3 >Emitted(22, 16) Source(38, 100) + SourceIndex(0) +4 >Emitted(22, 18) Source(38, 24) + SourceIndex(0) +5 >Emitted(22, 24) Source(38, 25) + SourceIndex(0) +6 >Emitted(22, 26) Source(38, 27) + SourceIndex(0) +7 >Emitted(22, 30) Source(38, 31) + SourceIndex(0) +8 >Emitted(22, 32) Source(38, 33) + SourceIndex(0) +9 >Emitted(22, 39) Source(38, 40) + SourceIndex(0) +10>Emitted(22, 41) Source(38, 42) + SourceIndex(0) +11>Emitted(22, 46) Source(38, 47) + SourceIndex(0) +12>Emitted(22, 48) Source(38, 49) + SourceIndex(0) +13>Emitted(22, 56) Source(38, 57) + SourceIndex(0) +14>Emitted(22, 58) Source(38, 59) + SourceIndex(0) +15>Emitted(22, 60) Source(38, 61) + SourceIndex(0) +16>Emitted(22, 62) Source(38, 63) + SourceIndex(0) +17>Emitted(22, 66) Source(38, 67) + SourceIndex(0) +18>Emitted(22, 68) Source(38, 69) + SourceIndex(0) +19>Emitted(22, 77) Source(38, 78) + SourceIndex(0) +20>Emitted(22, 79) Source(38, 80) + SourceIndex(0) +21>Emitted(22, 84) Source(38, 85) + SourceIndex(0) +22>Emitted(22, 86) Source(38, 87) + SourceIndex(0) +23>Emitted(22, 96) Source(38, 97) + SourceIndex(0) +24>Emitted(22, 98) Source(38, 99) + SourceIndex(0) +25>Emitted(22, 99) Source(38, 100) + SourceIndex(0) +26>Emitted(22, 101) Source(38, 24) + SourceIndex(0) +27>Emitted(22, 115) Source(38, 100) + SourceIndex(0) +28>Emitted(22, 117) Source(38, 24) + SourceIndex(0) +29>Emitted(22, 121) Source(38, 100) + SourceIndex(0) +30>Emitted(22, 123) Source(38, 102) + SourceIndex(0) +31>Emitted(22, 124) Source(38, 103) + SourceIndex(0) --- >>> nameA = _3[_2].name; 1 >^^^^ @@ -669,9 +670,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > 2 > nameA 3 > -1 >Emitted(22, 5) Source(38, 13) + SourceIndex(0) -2 >Emitted(22, 10) Source(38, 18) + SourceIndex(0) -3 >Emitted(22, 24) Source(38, 18) + SourceIndex(0) +1 >Emitted(23, 5) Source(38, 13) + SourceIndex(0) +2 >Emitted(23, 10) Source(38, 18) + SourceIndex(0) +3 >Emitted(23, 24) Source(38, 18) + SourceIndex(0) --- >>> console.log(nameA); 1->^^^^ @@ -691,14 +692,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1->Emitted(23, 5) Source(39, 5) + SourceIndex(0) -2 >Emitted(23, 12) Source(39, 12) + SourceIndex(0) -3 >Emitted(23, 13) Source(39, 13) + SourceIndex(0) -4 >Emitted(23, 16) Source(39, 16) + SourceIndex(0) -5 >Emitted(23, 17) Source(39, 17) + SourceIndex(0) -6 >Emitted(23, 22) Source(39, 22) + SourceIndex(0) -7 >Emitted(23, 23) Source(39, 23) + SourceIndex(0) -8 >Emitted(23, 24) Source(39, 24) + SourceIndex(0) +1->Emitted(24, 5) Source(39, 5) + SourceIndex(0) +2 >Emitted(24, 12) Source(39, 12) + SourceIndex(0) +3 >Emitted(24, 13) Source(39, 13) + SourceIndex(0) +4 >Emitted(24, 16) Source(39, 16) + SourceIndex(0) +5 >Emitted(24, 17) Source(39, 17) + SourceIndex(0) +6 >Emitted(24, 22) Source(39, 22) + SourceIndex(0) +7 >Emitted(24, 23) Source(39, 23) + SourceIndex(0) +8 >Emitted(24, 24) Source(39, 24) + SourceIndex(0) --- >>>} 1 > @@ -707,8 +708,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(24, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(24, 2) Source(40, 2) + SourceIndex(0) +1 >Emitted(25, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(25, 2) Source(40, 2) + SourceIndex(0) --- >>>for (var _4 = 0, multiRobots_1 = multiRobots; _4 < multiRobots_1.length; _4++) { 1-> @@ -735,17 +736,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > multiRobots 10> ) 11> { -1->Emitted(25, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(25, 6) Source(41, 66) + SourceIndex(0) -3 >Emitted(25, 16) Source(41, 77) + SourceIndex(0) -4 >Emitted(25, 18) Source(41, 66) + SourceIndex(0) -5 >Emitted(25, 45) Source(41, 77) + SourceIndex(0) -6 >Emitted(25, 47) Source(41, 66) + SourceIndex(0) -7 >Emitted(25, 72) Source(41, 77) + SourceIndex(0) -8 >Emitted(25, 74) Source(41, 66) + SourceIndex(0) -9 >Emitted(25, 78) Source(41, 77) + SourceIndex(0) -10>Emitted(25, 80) Source(41, 79) + SourceIndex(0) -11>Emitted(25, 81) Source(41, 80) + SourceIndex(0) +1->Emitted(26, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(26, 6) Source(41, 66) + SourceIndex(0) +3 >Emitted(26, 16) Source(41, 77) + SourceIndex(0) +4 >Emitted(26, 18) Source(41, 66) + SourceIndex(0) +5 >Emitted(26, 45) Source(41, 77) + SourceIndex(0) +6 >Emitted(26, 47) Source(41, 66) + SourceIndex(0) +7 >Emitted(26, 72) Source(41, 77) + SourceIndex(0) +8 >Emitted(26, 74) Source(41, 66) + SourceIndex(0) +9 >Emitted(26, 78) Source(41, 77) + SourceIndex(0) +10>Emitted(26, 80) Source(41, 79) + SourceIndex(0) +11>Emitted(26, 81) Source(41, 80) + SourceIndex(0) --- >>> _a = multiRobots_1[_4].skills, primaryA = _a.primary, secondaryA = _a.secondary; 1->^^^^ @@ -764,14 +765,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > , secondary: 7 > secondaryA 8 > -1->Emitted(26, 5) Source(41, 8) + SourceIndex(0) -2 >Emitted(26, 34) Source(41, 60) + SourceIndex(0) -3 >Emitted(26, 36) Source(41, 27) + SourceIndex(0) -4 >Emitted(26, 44) Source(41, 35) + SourceIndex(0) -5 >Emitted(26, 57) Source(41, 35) + SourceIndex(0) -6 >Emitted(26, 59) Source(41, 48) + SourceIndex(0) -7 >Emitted(26, 69) Source(41, 58) + SourceIndex(0) -8 >Emitted(26, 84) Source(41, 58) + SourceIndex(0) +1->Emitted(27, 5) Source(41, 8) + SourceIndex(0) +2 >Emitted(27, 34) Source(41, 60) + SourceIndex(0) +3 >Emitted(27, 36) Source(41, 27) + SourceIndex(0) +4 >Emitted(27, 44) Source(41, 35) + SourceIndex(0) +5 >Emitted(27, 57) Source(41, 35) + SourceIndex(0) +6 >Emitted(27, 59) Source(41, 48) + SourceIndex(0) +7 >Emitted(27, 69) Source(41, 58) + SourceIndex(0) +8 >Emitted(27, 84) Source(41, 58) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -791,14 +792,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(27, 5) Source(42, 5) + SourceIndex(0) -2 >Emitted(27, 12) Source(42, 12) + SourceIndex(0) -3 >Emitted(27, 13) Source(42, 13) + SourceIndex(0) -4 >Emitted(27, 16) Source(42, 16) + SourceIndex(0) -5 >Emitted(27, 17) Source(42, 17) + SourceIndex(0) -6 >Emitted(27, 25) Source(42, 25) + SourceIndex(0) -7 >Emitted(27, 26) Source(42, 26) + SourceIndex(0) -8 >Emitted(27, 27) Source(42, 27) + SourceIndex(0) +1 >Emitted(28, 5) Source(42, 5) + SourceIndex(0) +2 >Emitted(28, 12) Source(42, 12) + SourceIndex(0) +3 >Emitted(28, 13) Source(42, 13) + SourceIndex(0) +4 >Emitted(28, 16) Source(42, 16) + SourceIndex(0) +5 >Emitted(28, 17) Source(42, 17) + SourceIndex(0) +6 >Emitted(28, 25) Source(42, 25) + SourceIndex(0) +7 >Emitted(28, 26) Source(42, 26) + SourceIndex(0) +8 >Emitted(28, 27) Source(42, 27) + SourceIndex(0) --- >>>} 1 > @@ -807,8 +808,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(28, 1) Source(43, 1) + SourceIndex(0) -2 >Emitted(28, 2) Source(43, 2) + SourceIndex(0) +1 >Emitted(29, 1) Source(43, 1) + SourceIndex(0) +2 >Emitted(29, 2) Source(43, 2) + SourceIndex(0) --- >>>for (var _5 = 0, _6 = getMultiRobots(); _5 < _6.length; _5++) { 1-> @@ -839,19 +840,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(29, 1) Source(44, 1) + SourceIndex(0) -2 >Emitted(29, 6) Source(44, 66) + SourceIndex(0) -3 >Emitted(29, 16) Source(44, 82) + SourceIndex(0) -4 >Emitted(29, 18) Source(44, 66) + SourceIndex(0) -5 >Emitted(29, 23) Source(44, 66) + SourceIndex(0) -6 >Emitted(29, 37) Source(44, 80) + SourceIndex(0) -7 >Emitted(29, 39) Source(44, 82) + SourceIndex(0) -8 >Emitted(29, 41) Source(44, 66) + SourceIndex(0) -9 >Emitted(29, 55) Source(44, 82) + SourceIndex(0) -10>Emitted(29, 57) Source(44, 66) + SourceIndex(0) -11>Emitted(29, 61) Source(44, 82) + SourceIndex(0) -12>Emitted(29, 63) Source(44, 84) + SourceIndex(0) -13>Emitted(29, 64) Source(44, 85) + SourceIndex(0) +1->Emitted(30, 1) Source(44, 1) + SourceIndex(0) +2 >Emitted(30, 6) Source(44, 66) + SourceIndex(0) +3 >Emitted(30, 16) Source(44, 82) + SourceIndex(0) +4 >Emitted(30, 18) Source(44, 66) + SourceIndex(0) +5 >Emitted(30, 23) Source(44, 66) + SourceIndex(0) +6 >Emitted(30, 37) Source(44, 80) + SourceIndex(0) +7 >Emitted(30, 39) Source(44, 82) + SourceIndex(0) +8 >Emitted(30, 41) Source(44, 66) + SourceIndex(0) +9 >Emitted(30, 55) Source(44, 82) + SourceIndex(0) +10>Emitted(30, 57) Source(44, 66) + SourceIndex(0) +11>Emitted(30, 61) Source(44, 82) + SourceIndex(0) +12>Emitted(30, 63) Source(44, 84) + SourceIndex(0) +13>Emitted(30, 64) Source(44, 85) + SourceIndex(0) --- >>> _b = _6[_5].skills, primaryA = _b.primary, secondaryA = _b.secondary; 1->^^^^ @@ -870,14 +871,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > , secondary: 7 > secondaryA 8 > -1->Emitted(30, 5) Source(44, 8) + SourceIndex(0) -2 >Emitted(30, 23) Source(44, 60) + SourceIndex(0) -3 >Emitted(30, 25) Source(44, 27) + SourceIndex(0) -4 >Emitted(30, 33) Source(44, 35) + SourceIndex(0) -5 >Emitted(30, 46) Source(44, 35) + SourceIndex(0) -6 >Emitted(30, 48) Source(44, 48) + SourceIndex(0) -7 >Emitted(30, 58) Source(44, 58) + SourceIndex(0) -8 >Emitted(30, 73) Source(44, 58) + SourceIndex(0) +1->Emitted(31, 5) Source(44, 8) + SourceIndex(0) +2 >Emitted(31, 23) Source(44, 60) + SourceIndex(0) +3 >Emitted(31, 25) Source(44, 27) + SourceIndex(0) +4 >Emitted(31, 33) Source(44, 35) + SourceIndex(0) +5 >Emitted(31, 46) Source(44, 35) + SourceIndex(0) +6 >Emitted(31, 48) Source(44, 48) + SourceIndex(0) +7 >Emitted(31, 58) Source(44, 58) + SourceIndex(0) +8 >Emitted(31, 73) Source(44, 58) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -897,14 +898,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(31, 5) Source(45, 5) + SourceIndex(0) -2 >Emitted(31, 12) Source(45, 12) + SourceIndex(0) -3 >Emitted(31, 13) Source(45, 13) + SourceIndex(0) -4 >Emitted(31, 16) Source(45, 16) + SourceIndex(0) -5 >Emitted(31, 17) Source(45, 17) + SourceIndex(0) -6 >Emitted(31, 25) Source(45, 25) + SourceIndex(0) -7 >Emitted(31, 26) Source(45, 26) + SourceIndex(0) -8 >Emitted(31, 27) Source(45, 27) + SourceIndex(0) +1 >Emitted(32, 5) Source(45, 5) + SourceIndex(0) +2 >Emitted(32, 12) Source(45, 12) + SourceIndex(0) +3 >Emitted(32, 13) Source(45, 13) + SourceIndex(0) +4 >Emitted(32, 16) Source(45, 16) + SourceIndex(0) +5 >Emitted(32, 17) Source(45, 17) + SourceIndex(0) +6 >Emitted(32, 25) Source(45, 25) + SourceIndex(0) +7 >Emitted(32, 26) Source(45, 26) + SourceIndex(0) +8 >Emitted(32, 27) Source(45, 27) + SourceIndex(0) --- >>>} 1 > @@ -913,8 +914,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(32, 1) Source(46, 1) + SourceIndex(0) -2 >Emitted(32, 2) Source(46, 2) + SourceIndex(0) +1 >Emitted(33, 1) Source(46, 1) + SourceIndex(0) +2 >Emitted(33, 2) Source(46, 2) + SourceIndex(0) --- >>>for (var _7 = 0, _8 = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -964,28 +965,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 20> "none" 21> } 22> } -1->Emitted(33, 1) Source(47, 1) + SourceIndex(0) -2 >Emitted(33, 6) Source(47, 66) + SourceIndex(0) -3 >Emitted(33, 16) Source(48, 79) + SourceIndex(0) -4 >Emitted(33, 18) Source(47, 66) + SourceIndex(0) -5 >Emitted(33, 24) Source(47, 67) + SourceIndex(0) -6 >Emitted(33, 26) Source(47, 69) + SourceIndex(0) -7 >Emitted(33, 30) Source(47, 73) + SourceIndex(0) -8 >Emitted(33, 32) Source(47, 75) + SourceIndex(0) -9 >Emitted(33, 39) Source(47, 82) + SourceIndex(0) -10>Emitted(33, 41) Source(47, 84) + SourceIndex(0) -11>Emitted(33, 47) Source(47, 90) + SourceIndex(0) -12>Emitted(33, 49) Source(47, 92) + SourceIndex(0) -13>Emitted(33, 51) Source(47, 94) + SourceIndex(0) -14>Emitted(33, 58) Source(47, 101) + SourceIndex(0) -15>Emitted(33, 60) Source(47, 103) + SourceIndex(0) -16>Emitted(33, 68) Source(47, 111) + SourceIndex(0) -17>Emitted(33, 70) Source(47, 113) + SourceIndex(0) -18>Emitted(33, 79) Source(47, 122) + SourceIndex(0) -19>Emitted(33, 81) Source(47, 124) + SourceIndex(0) -20>Emitted(33, 87) Source(47, 130) + SourceIndex(0) -21>Emitted(33, 89) Source(47, 132) + SourceIndex(0) -22>Emitted(33, 91) Source(47, 134) + SourceIndex(0) +1->Emitted(34, 1) Source(47, 1) + SourceIndex(0) +2 >Emitted(34, 6) Source(47, 66) + SourceIndex(0) +3 >Emitted(34, 16) Source(48, 79) + SourceIndex(0) +4 >Emitted(34, 18) Source(47, 66) + SourceIndex(0) +5 >Emitted(34, 24) Source(47, 67) + SourceIndex(0) +6 >Emitted(34, 26) Source(47, 69) + SourceIndex(0) +7 >Emitted(34, 30) Source(47, 73) + SourceIndex(0) +8 >Emitted(34, 32) Source(47, 75) + SourceIndex(0) +9 >Emitted(34, 39) Source(47, 82) + SourceIndex(0) +10>Emitted(34, 41) Source(47, 84) + SourceIndex(0) +11>Emitted(34, 47) Source(47, 90) + SourceIndex(0) +12>Emitted(34, 49) Source(47, 92) + SourceIndex(0) +13>Emitted(34, 51) Source(47, 94) + SourceIndex(0) +14>Emitted(34, 58) Source(47, 101) + SourceIndex(0) +15>Emitted(34, 60) Source(47, 103) + SourceIndex(0) +16>Emitted(34, 68) Source(47, 111) + SourceIndex(0) +17>Emitted(34, 70) Source(47, 113) + SourceIndex(0) +18>Emitted(34, 79) Source(47, 122) + SourceIndex(0) +19>Emitted(34, 81) Source(47, 124) + SourceIndex(0) +20>Emitted(34, 87) Source(47, 130) + SourceIndex(0) +21>Emitted(34, 89) Source(47, 132) + SourceIndex(0) +22>Emitted(34, 91) Source(47, 134) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _7 < _8.length; _7++) { 1->^^^^ @@ -1041,31 +1042,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(34, 5) Source(48, 5) + SourceIndex(0) -2 >Emitted(34, 7) Source(48, 7) + SourceIndex(0) -3 >Emitted(34, 11) Source(48, 11) + SourceIndex(0) -4 >Emitted(34, 13) Source(48, 13) + SourceIndex(0) -5 >Emitted(34, 22) Source(48, 22) + SourceIndex(0) -6 >Emitted(34, 24) Source(48, 24) + SourceIndex(0) -7 >Emitted(34, 30) Source(48, 30) + SourceIndex(0) -8 >Emitted(34, 32) Source(48, 32) + SourceIndex(0) -9 >Emitted(34, 34) Source(48, 34) + SourceIndex(0) -10>Emitted(34, 41) Source(48, 41) + SourceIndex(0) -11>Emitted(34, 43) Source(48, 43) + SourceIndex(0) -12>Emitted(34, 53) Source(48, 53) + SourceIndex(0) -13>Emitted(34, 55) Source(48, 55) + SourceIndex(0) -14>Emitted(34, 64) Source(48, 64) + SourceIndex(0) -15>Emitted(34, 66) Source(48, 66) + SourceIndex(0) -16>Emitted(34, 74) Source(48, 74) + SourceIndex(0) -17>Emitted(34, 76) Source(48, 76) + SourceIndex(0) -18>Emitted(34, 78) Source(48, 78) + SourceIndex(0) -19>Emitted(34, 79) Source(48, 79) + SourceIndex(0) -20>Emitted(34, 81) Source(47, 66) + SourceIndex(0) -21>Emitted(34, 95) Source(48, 79) + SourceIndex(0) -22>Emitted(34, 97) Source(47, 66) + SourceIndex(0) -23>Emitted(34, 101) Source(48, 79) + SourceIndex(0) -24>Emitted(34, 103) Source(48, 81) + SourceIndex(0) -25>Emitted(34, 104) Source(48, 82) + SourceIndex(0) +1->Emitted(35, 5) Source(48, 5) + SourceIndex(0) +2 >Emitted(35, 7) Source(48, 7) + SourceIndex(0) +3 >Emitted(35, 11) Source(48, 11) + SourceIndex(0) +4 >Emitted(35, 13) Source(48, 13) + SourceIndex(0) +5 >Emitted(35, 22) Source(48, 22) + SourceIndex(0) +6 >Emitted(35, 24) Source(48, 24) + SourceIndex(0) +7 >Emitted(35, 30) Source(48, 30) + SourceIndex(0) +8 >Emitted(35, 32) Source(48, 32) + SourceIndex(0) +9 >Emitted(35, 34) Source(48, 34) + SourceIndex(0) +10>Emitted(35, 41) Source(48, 41) + SourceIndex(0) +11>Emitted(35, 43) Source(48, 43) + SourceIndex(0) +12>Emitted(35, 53) Source(48, 53) + SourceIndex(0) +13>Emitted(35, 55) Source(48, 55) + SourceIndex(0) +14>Emitted(35, 64) Source(48, 64) + SourceIndex(0) +15>Emitted(35, 66) Source(48, 66) + SourceIndex(0) +16>Emitted(35, 74) Source(48, 74) + SourceIndex(0) +17>Emitted(35, 76) Source(48, 76) + SourceIndex(0) +18>Emitted(35, 78) Source(48, 78) + SourceIndex(0) +19>Emitted(35, 79) Source(48, 79) + SourceIndex(0) +20>Emitted(35, 81) Source(47, 66) + SourceIndex(0) +21>Emitted(35, 95) Source(48, 79) + SourceIndex(0) +22>Emitted(35, 97) Source(47, 66) + SourceIndex(0) +23>Emitted(35, 101) Source(48, 79) + SourceIndex(0) +24>Emitted(35, 103) Source(48, 81) + SourceIndex(0) +25>Emitted(35, 104) Source(48, 82) + SourceIndex(0) --- >>> _c = _8[_7].skills, primaryA = _c.primary, secondaryA = _c.secondary; 1 >^^^^ @@ -1084,14 +1085,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > , secondary: 7 > secondaryA 8 > -1 >Emitted(35, 5) Source(47, 8) + SourceIndex(0) -2 >Emitted(35, 23) Source(47, 60) + SourceIndex(0) -3 >Emitted(35, 25) Source(47, 27) + SourceIndex(0) -4 >Emitted(35, 33) Source(47, 35) + SourceIndex(0) -5 >Emitted(35, 46) Source(47, 35) + SourceIndex(0) -6 >Emitted(35, 48) Source(47, 48) + SourceIndex(0) -7 >Emitted(35, 58) Source(47, 58) + SourceIndex(0) -8 >Emitted(35, 73) Source(47, 58) + SourceIndex(0) +1 >Emitted(36, 5) Source(47, 8) + SourceIndex(0) +2 >Emitted(36, 23) Source(47, 60) + SourceIndex(0) +3 >Emitted(36, 25) Source(47, 27) + SourceIndex(0) +4 >Emitted(36, 33) Source(47, 35) + SourceIndex(0) +5 >Emitted(36, 46) Source(47, 35) + SourceIndex(0) +6 >Emitted(36, 48) Source(47, 48) + SourceIndex(0) +7 >Emitted(36, 58) Source(47, 58) + SourceIndex(0) +8 >Emitted(36, 73) Source(47, 58) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1112,14 +1113,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(36, 5) Source(49, 5) + SourceIndex(0) -2 >Emitted(36, 12) Source(49, 12) + SourceIndex(0) -3 >Emitted(36, 13) Source(49, 13) + SourceIndex(0) -4 >Emitted(36, 16) Source(49, 16) + SourceIndex(0) -5 >Emitted(36, 17) Source(49, 17) + SourceIndex(0) -6 >Emitted(36, 25) Source(49, 25) + SourceIndex(0) -7 >Emitted(36, 26) Source(49, 26) + SourceIndex(0) -8 >Emitted(36, 27) Source(49, 27) + SourceIndex(0) +1 >Emitted(37, 5) Source(49, 5) + SourceIndex(0) +2 >Emitted(37, 12) Source(49, 12) + SourceIndex(0) +3 >Emitted(37, 13) Source(49, 13) + SourceIndex(0) +4 >Emitted(37, 16) Source(49, 16) + SourceIndex(0) +5 >Emitted(37, 17) Source(49, 17) + SourceIndex(0) +6 >Emitted(37, 25) Source(49, 25) + SourceIndex(0) +7 >Emitted(37, 26) Source(49, 26) + SourceIndex(0) +8 >Emitted(37, 27) Source(49, 27) + SourceIndex(0) --- >>>} 1 > @@ -1128,8 +1129,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(37, 1) Source(50, 1) + SourceIndex(0) -2 >Emitted(37, 2) Source(50, 2) + SourceIndex(0) +1 >Emitted(38, 1) Source(50, 1) + SourceIndex(0) +2 >Emitted(38, 2) Source(50, 2) + SourceIndex(0) --- >>>for (var _9 = 0, robots_2 = robots; _9 < robots_2.length; _9++) { 1-> @@ -1155,17 +1156,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > robots 10> ) 11> { -1->Emitted(38, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(38, 6) Source(51, 17) + SourceIndex(0) -3 >Emitted(38, 16) Source(51, 23) + SourceIndex(0) -4 >Emitted(38, 18) Source(51, 17) + SourceIndex(0) -5 >Emitted(38, 35) Source(51, 23) + SourceIndex(0) -6 >Emitted(38, 37) Source(51, 17) + SourceIndex(0) -7 >Emitted(38, 57) Source(51, 23) + SourceIndex(0) -8 >Emitted(38, 59) Source(51, 17) + SourceIndex(0) -9 >Emitted(38, 63) Source(51, 23) + SourceIndex(0) -10>Emitted(38, 65) Source(51, 25) + SourceIndex(0) -11>Emitted(38, 66) Source(51, 26) + SourceIndex(0) +1->Emitted(39, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(39, 6) Source(51, 17) + SourceIndex(0) +3 >Emitted(39, 16) Source(51, 23) + SourceIndex(0) +4 >Emitted(39, 18) Source(51, 17) + SourceIndex(0) +5 >Emitted(39, 35) Source(51, 23) + SourceIndex(0) +6 >Emitted(39, 37) Source(51, 17) + SourceIndex(0) +7 >Emitted(39, 57) Source(51, 23) + SourceIndex(0) +8 >Emitted(39, 59) Source(51, 17) + SourceIndex(0) +9 >Emitted(39, 63) Source(51, 23) + SourceIndex(0) +10>Emitted(39, 65) Source(51, 25) + SourceIndex(0) +11>Emitted(39, 66) Source(51, 26) + SourceIndex(0) --- >>> name = robots_2[_9].name; 1 >^^^^ @@ -1174,9 +1175,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > 2 > name 3 > -1 >Emitted(39, 5) Source(51, 7) + SourceIndex(0) -2 >Emitted(39, 9) Source(51, 11) + SourceIndex(0) -3 >Emitted(39, 29) Source(51, 11) + SourceIndex(0) +1 >Emitted(40, 5) Source(51, 7) + SourceIndex(0) +2 >Emitted(40, 9) Source(51, 11) + SourceIndex(0) +3 >Emitted(40, 29) Source(51, 11) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1196,14 +1197,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(40, 5) Source(52, 5) + SourceIndex(0) -2 >Emitted(40, 12) Source(52, 12) + SourceIndex(0) -3 >Emitted(40, 13) Source(52, 13) + SourceIndex(0) -4 >Emitted(40, 16) Source(52, 16) + SourceIndex(0) -5 >Emitted(40, 17) Source(52, 17) + SourceIndex(0) -6 >Emitted(40, 22) Source(52, 22) + SourceIndex(0) -7 >Emitted(40, 23) Source(52, 23) + SourceIndex(0) -8 >Emitted(40, 24) Source(52, 24) + SourceIndex(0) +1 >Emitted(41, 5) Source(52, 5) + SourceIndex(0) +2 >Emitted(41, 12) Source(52, 12) + SourceIndex(0) +3 >Emitted(41, 13) Source(52, 13) + SourceIndex(0) +4 >Emitted(41, 16) Source(52, 16) + SourceIndex(0) +5 >Emitted(41, 17) Source(52, 17) + SourceIndex(0) +6 >Emitted(41, 22) Source(52, 22) + SourceIndex(0) +7 >Emitted(41, 23) Source(52, 23) + SourceIndex(0) +8 >Emitted(41, 24) Source(52, 24) + SourceIndex(0) --- >>>} 1 > @@ -1212,8 +1213,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(41, 1) Source(53, 1) + SourceIndex(0) -2 >Emitted(41, 2) Source(53, 2) + SourceIndex(0) +1 >Emitted(42, 1) Source(53, 1) + SourceIndex(0) +2 >Emitted(42, 2) Source(53, 2) + SourceIndex(0) --- >>>for (var _10 = 0, _11 = getRobots(); _10 < _11.length; _10++) { 1-> @@ -1243,19 +1244,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 11> getRobots() 12> ) 13> { -1->Emitted(42, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(42, 6) Source(54, 17) + SourceIndex(0) -3 >Emitted(42, 17) Source(54, 28) + SourceIndex(0) -4 >Emitted(42, 19) Source(54, 17) + SourceIndex(0) -5 >Emitted(42, 25) Source(54, 17) + SourceIndex(0) -6 >Emitted(42, 34) Source(54, 26) + SourceIndex(0) -7 >Emitted(42, 36) Source(54, 28) + SourceIndex(0) -8 >Emitted(42, 38) Source(54, 17) + SourceIndex(0) -9 >Emitted(42, 54) Source(54, 28) + SourceIndex(0) -10>Emitted(42, 56) Source(54, 17) + SourceIndex(0) -11>Emitted(42, 61) Source(54, 28) + SourceIndex(0) -12>Emitted(42, 63) Source(54, 30) + SourceIndex(0) -13>Emitted(42, 64) Source(54, 31) + SourceIndex(0) +1->Emitted(43, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(43, 6) Source(54, 17) + SourceIndex(0) +3 >Emitted(43, 17) Source(54, 28) + SourceIndex(0) +4 >Emitted(43, 19) Source(54, 17) + SourceIndex(0) +5 >Emitted(43, 25) Source(54, 17) + SourceIndex(0) +6 >Emitted(43, 34) Source(54, 26) + SourceIndex(0) +7 >Emitted(43, 36) Source(54, 28) + SourceIndex(0) +8 >Emitted(43, 38) Source(54, 17) + SourceIndex(0) +9 >Emitted(43, 54) Source(54, 28) + SourceIndex(0) +10>Emitted(43, 56) Source(54, 17) + SourceIndex(0) +11>Emitted(43, 61) Source(54, 28) + SourceIndex(0) +12>Emitted(43, 63) Source(54, 30) + SourceIndex(0) +13>Emitted(43, 64) Source(54, 31) + SourceIndex(0) --- >>> name = _11[_10].name; 1 >^^^^ @@ -1264,9 +1265,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > 2 > name 3 > -1 >Emitted(43, 5) Source(54, 7) + SourceIndex(0) -2 >Emitted(43, 9) Source(54, 11) + SourceIndex(0) -3 >Emitted(43, 25) Source(54, 11) + SourceIndex(0) +1 >Emitted(44, 5) Source(54, 7) + SourceIndex(0) +2 >Emitted(44, 9) Source(54, 11) + SourceIndex(0) +3 >Emitted(44, 25) Source(54, 11) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1286,14 +1287,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(44, 5) Source(55, 5) + SourceIndex(0) -2 >Emitted(44, 12) Source(55, 12) + SourceIndex(0) -3 >Emitted(44, 13) Source(55, 13) + SourceIndex(0) -4 >Emitted(44, 16) Source(55, 16) + SourceIndex(0) -5 >Emitted(44, 17) Source(55, 17) + SourceIndex(0) -6 >Emitted(44, 22) Source(55, 22) + SourceIndex(0) -7 >Emitted(44, 23) Source(55, 23) + SourceIndex(0) -8 >Emitted(44, 24) Source(55, 24) + SourceIndex(0) +1 >Emitted(45, 5) Source(55, 5) + SourceIndex(0) +2 >Emitted(45, 12) Source(55, 12) + SourceIndex(0) +3 >Emitted(45, 13) Source(55, 13) + SourceIndex(0) +4 >Emitted(45, 16) Source(55, 16) + SourceIndex(0) +5 >Emitted(45, 17) Source(55, 17) + SourceIndex(0) +6 >Emitted(45, 22) Source(55, 22) + SourceIndex(0) +7 >Emitted(45, 23) Source(55, 23) + SourceIndex(0) +8 >Emitted(45, 24) Source(55, 24) + SourceIndex(0) --- >>>} 1 > @@ -1302,8 +1303,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(45, 1) Source(56, 1) + SourceIndex(0) -2 >Emitted(45, 2) Source(56, 2) + SourceIndex(0) +1 >Emitted(46, 1) Source(56, 1) + SourceIndex(0) +2 >Emitted(46, 2) Source(56, 2) + SourceIndex(0) --- >>>for (var _12 = 0, _13 = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _12 < _13.length; _12++) { 1-> @@ -1369,37 +1370,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(46, 1) Source(57, 1) + SourceIndex(0) -2 >Emitted(46, 6) Source(57, 17) + SourceIndex(0) -3 >Emitted(46, 17) Source(57, 93) + SourceIndex(0) -4 >Emitted(46, 19) Source(57, 17) + SourceIndex(0) -5 >Emitted(46, 26) Source(57, 18) + SourceIndex(0) -6 >Emitted(46, 28) Source(57, 20) + SourceIndex(0) -7 >Emitted(46, 32) Source(57, 24) + SourceIndex(0) -8 >Emitted(46, 34) Source(57, 26) + SourceIndex(0) -9 >Emitted(46, 41) Source(57, 33) + SourceIndex(0) -10>Emitted(46, 43) Source(57, 35) + SourceIndex(0) -11>Emitted(46, 48) Source(57, 40) + SourceIndex(0) -12>Emitted(46, 50) Source(57, 42) + SourceIndex(0) -13>Emitted(46, 58) Source(57, 50) + SourceIndex(0) -14>Emitted(46, 60) Source(57, 52) + SourceIndex(0) -15>Emitted(46, 62) Source(57, 54) + SourceIndex(0) -16>Emitted(46, 64) Source(57, 56) + SourceIndex(0) -17>Emitted(46, 68) Source(57, 60) + SourceIndex(0) -18>Emitted(46, 70) Source(57, 62) + SourceIndex(0) -19>Emitted(46, 79) Source(57, 71) + SourceIndex(0) -20>Emitted(46, 81) Source(57, 73) + SourceIndex(0) -21>Emitted(46, 86) Source(57, 78) + SourceIndex(0) -22>Emitted(46, 88) Source(57, 80) + SourceIndex(0) -23>Emitted(46, 98) Source(57, 90) + SourceIndex(0) -24>Emitted(46, 100) Source(57, 92) + SourceIndex(0) -25>Emitted(46, 101) Source(57, 93) + SourceIndex(0) -26>Emitted(46, 103) Source(57, 17) + SourceIndex(0) -27>Emitted(46, 119) Source(57, 93) + SourceIndex(0) -28>Emitted(46, 121) Source(57, 17) + SourceIndex(0) -29>Emitted(46, 126) Source(57, 93) + SourceIndex(0) -30>Emitted(46, 128) Source(57, 95) + SourceIndex(0) -31>Emitted(46, 129) Source(57, 96) + SourceIndex(0) +1->Emitted(47, 1) Source(57, 1) + SourceIndex(0) +2 >Emitted(47, 6) Source(57, 17) + SourceIndex(0) +3 >Emitted(47, 17) Source(57, 93) + SourceIndex(0) +4 >Emitted(47, 19) Source(57, 17) + SourceIndex(0) +5 >Emitted(47, 26) Source(57, 18) + SourceIndex(0) +6 >Emitted(47, 28) Source(57, 20) + SourceIndex(0) +7 >Emitted(47, 32) Source(57, 24) + SourceIndex(0) +8 >Emitted(47, 34) Source(57, 26) + SourceIndex(0) +9 >Emitted(47, 41) Source(57, 33) + SourceIndex(0) +10>Emitted(47, 43) Source(57, 35) + SourceIndex(0) +11>Emitted(47, 48) Source(57, 40) + SourceIndex(0) +12>Emitted(47, 50) Source(57, 42) + SourceIndex(0) +13>Emitted(47, 58) Source(57, 50) + SourceIndex(0) +14>Emitted(47, 60) Source(57, 52) + SourceIndex(0) +15>Emitted(47, 62) Source(57, 54) + SourceIndex(0) +16>Emitted(47, 64) Source(57, 56) + SourceIndex(0) +17>Emitted(47, 68) Source(57, 60) + SourceIndex(0) +18>Emitted(47, 70) Source(57, 62) + SourceIndex(0) +19>Emitted(47, 79) Source(57, 71) + SourceIndex(0) +20>Emitted(47, 81) Source(57, 73) + SourceIndex(0) +21>Emitted(47, 86) Source(57, 78) + SourceIndex(0) +22>Emitted(47, 88) Source(57, 80) + SourceIndex(0) +23>Emitted(47, 98) Source(57, 90) + SourceIndex(0) +24>Emitted(47, 100) Source(57, 92) + SourceIndex(0) +25>Emitted(47, 101) Source(57, 93) + SourceIndex(0) +26>Emitted(47, 103) Source(57, 17) + SourceIndex(0) +27>Emitted(47, 119) Source(57, 93) + SourceIndex(0) +28>Emitted(47, 121) Source(57, 17) + SourceIndex(0) +29>Emitted(47, 126) Source(57, 93) + SourceIndex(0) +30>Emitted(47, 128) Source(57, 95) + SourceIndex(0) +31>Emitted(47, 129) Source(57, 96) + SourceIndex(0) --- >>> name = _13[_12].name; 1 >^^^^ @@ -1408,9 +1409,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > 2 > name 3 > -1 >Emitted(47, 5) Source(57, 7) + SourceIndex(0) -2 >Emitted(47, 9) Source(57, 11) + SourceIndex(0) -3 >Emitted(47, 25) Source(57, 11) + SourceIndex(0) +1 >Emitted(48, 5) Source(57, 7) + SourceIndex(0) +2 >Emitted(48, 9) Source(57, 11) + SourceIndex(0) +3 >Emitted(48, 25) Source(57, 11) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1430,14 +1431,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(48, 5) Source(58, 5) + SourceIndex(0) -2 >Emitted(48, 12) Source(58, 12) + SourceIndex(0) -3 >Emitted(48, 13) Source(58, 13) + SourceIndex(0) -4 >Emitted(48, 16) Source(58, 16) + SourceIndex(0) -5 >Emitted(48, 17) Source(58, 17) + SourceIndex(0) -6 >Emitted(48, 22) Source(58, 22) + SourceIndex(0) -7 >Emitted(48, 23) Source(58, 23) + SourceIndex(0) -8 >Emitted(48, 24) Source(58, 24) + SourceIndex(0) +1 >Emitted(49, 5) Source(58, 5) + SourceIndex(0) +2 >Emitted(49, 12) Source(58, 12) + SourceIndex(0) +3 >Emitted(49, 13) Source(58, 13) + SourceIndex(0) +4 >Emitted(49, 16) Source(58, 16) + SourceIndex(0) +5 >Emitted(49, 17) Source(58, 17) + SourceIndex(0) +6 >Emitted(49, 22) Source(58, 22) + SourceIndex(0) +7 >Emitted(49, 23) Source(58, 23) + SourceIndex(0) +8 >Emitted(49, 24) Source(58, 24) + SourceIndex(0) --- >>>} 1 > @@ -1446,8 +1447,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(49, 1) Source(59, 1) + SourceIndex(0) -2 >Emitted(49, 2) Source(59, 2) + SourceIndex(0) +1 >Emitted(50, 1) Source(59, 1) + SourceIndex(0) +2 >Emitted(50, 2) Source(59, 2) + SourceIndex(0) --- >>>for (var _14 = 0, multiRobots_2 = multiRobots; _14 < multiRobots_2.length; _14++) { 1-> @@ -1474,17 +1475,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > multiRobots 10> ) 11> { -1->Emitted(50, 1) Source(60, 1) + SourceIndex(0) -2 >Emitted(50, 6) Source(60, 44) + SourceIndex(0) -3 >Emitted(50, 17) Source(60, 55) + SourceIndex(0) -4 >Emitted(50, 19) Source(60, 44) + SourceIndex(0) -5 >Emitted(50, 46) Source(60, 55) + SourceIndex(0) -6 >Emitted(50, 48) Source(60, 44) + SourceIndex(0) -7 >Emitted(50, 74) Source(60, 55) + SourceIndex(0) -8 >Emitted(50, 76) Source(60, 44) + SourceIndex(0) -9 >Emitted(50, 81) Source(60, 55) + SourceIndex(0) -10>Emitted(50, 83) Source(60, 57) + SourceIndex(0) -11>Emitted(50, 84) Source(60, 58) + SourceIndex(0) +1->Emitted(51, 1) Source(60, 1) + SourceIndex(0) +2 >Emitted(51, 6) Source(60, 44) + SourceIndex(0) +3 >Emitted(51, 17) Source(60, 55) + SourceIndex(0) +4 >Emitted(51, 19) Source(60, 44) + SourceIndex(0) +5 >Emitted(51, 46) Source(60, 55) + SourceIndex(0) +6 >Emitted(51, 48) Source(60, 44) + SourceIndex(0) +7 >Emitted(51, 74) Source(60, 55) + SourceIndex(0) +8 >Emitted(51, 76) Source(60, 44) + SourceIndex(0) +9 >Emitted(51, 81) Source(60, 55) + SourceIndex(0) +10>Emitted(51, 83) Source(60, 57) + SourceIndex(0) +11>Emitted(51, 84) Source(60, 58) + SourceIndex(0) --- >>> _d = multiRobots_2[_14].skills, primary = _d.primary, secondary = _d.secondary; 1->^^^^ @@ -1503,14 +1504,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > , 7 > secondary 8 > -1->Emitted(51, 5) Source(60, 8) + SourceIndex(0) -2 >Emitted(51, 35) Source(60, 38) + SourceIndex(0) -3 >Emitted(51, 37) Source(60, 18) + SourceIndex(0) -4 >Emitted(51, 44) Source(60, 25) + SourceIndex(0) -5 >Emitted(51, 57) Source(60, 25) + SourceIndex(0) -6 >Emitted(51, 59) Source(60, 27) + SourceIndex(0) -7 >Emitted(51, 68) Source(60, 36) + SourceIndex(0) -8 >Emitted(51, 83) Source(60, 36) + SourceIndex(0) +1->Emitted(52, 5) Source(60, 8) + SourceIndex(0) +2 >Emitted(52, 35) Source(60, 38) + SourceIndex(0) +3 >Emitted(52, 37) Source(60, 18) + SourceIndex(0) +4 >Emitted(52, 44) Source(60, 25) + SourceIndex(0) +5 >Emitted(52, 57) Source(60, 25) + SourceIndex(0) +6 >Emitted(52, 59) Source(60, 27) + SourceIndex(0) +7 >Emitted(52, 68) Source(60, 36) + SourceIndex(0) +8 >Emitted(52, 83) Source(60, 36) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1530,14 +1531,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(52, 5) Source(61, 5) + SourceIndex(0) -2 >Emitted(52, 12) Source(61, 12) + SourceIndex(0) -3 >Emitted(52, 13) Source(61, 13) + SourceIndex(0) -4 >Emitted(52, 16) Source(61, 16) + SourceIndex(0) -5 >Emitted(52, 17) Source(61, 17) + SourceIndex(0) -6 >Emitted(52, 25) Source(61, 25) + SourceIndex(0) -7 >Emitted(52, 26) Source(61, 26) + SourceIndex(0) -8 >Emitted(52, 27) Source(61, 27) + SourceIndex(0) +1 >Emitted(53, 5) Source(61, 5) + SourceIndex(0) +2 >Emitted(53, 12) Source(61, 12) + SourceIndex(0) +3 >Emitted(53, 13) Source(61, 13) + SourceIndex(0) +4 >Emitted(53, 16) Source(61, 16) + SourceIndex(0) +5 >Emitted(53, 17) Source(61, 17) + SourceIndex(0) +6 >Emitted(53, 25) Source(61, 25) + SourceIndex(0) +7 >Emitted(53, 26) Source(61, 26) + SourceIndex(0) +8 >Emitted(53, 27) Source(61, 27) + SourceIndex(0) --- >>>} 1 > @@ -1546,8 +1547,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(53, 1) Source(62, 1) + SourceIndex(0) -2 >Emitted(53, 2) Source(62, 2) + SourceIndex(0) +1 >Emitted(54, 1) Source(62, 1) + SourceIndex(0) +2 >Emitted(54, 2) Source(62, 2) + SourceIndex(0) --- >>>for (var _15 = 0, _16 = getMultiRobots(); _15 < _16.length; _15++) { 1-> @@ -1578,19 +1579,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(54, 1) Source(63, 1) + SourceIndex(0) -2 >Emitted(54, 6) Source(63, 44) + SourceIndex(0) -3 >Emitted(54, 17) Source(63, 60) + SourceIndex(0) -4 >Emitted(54, 19) Source(63, 44) + SourceIndex(0) -5 >Emitted(54, 25) Source(63, 44) + SourceIndex(0) -6 >Emitted(54, 39) Source(63, 58) + SourceIndex(0) -7 >Emitted(54, 41) Source(63, 60) + SourceIndex(0) -8 >Emitted(54, 43) Source(63, 44) + SourceIndex(0) -9 >Emitted(54, 59) Source(63, 60) + SourceIndex(0) -10>Emitted(54, 61) Source(63, 44) + SourceIndex(0) -11>Emitted(54, 66) Source(63, 60) + SourceIndex(0) -12>Emitted(54, 68) Source(63, 62) + SourceIndex(0) -13>Emitted(54, 69) Source(63, 63) + SourceIndex(0) +1->Emitted(55, 1) Source(63, 1) + SourceIndex(0) +2 >Emitted(55, 6) Source(63, 44) + SourceIndex(0) +3 >Emitted(55, 17) Source(63, 60) + SourceIndex(0) +4 >Emitted(55, 19) Source(63, 44) + SourceIndex(0) +5 >Emitted(55, 25) Source(63, 44) + SourceIndex(0) +6 >Emitted(55, 39) Source(63, 58) + SourceIndex(0) +7 >Emitted(55, 41) Source(63, 60) + SourceIndex(0) +8 >Emitted(55, 43) Source(63, 44) + SourceIndex(0) +9 >Emitted(55, 59) Source(63, 60) + SourceIndex(0) +10>Emitted(55, 61) Source(63, 44) + SourceIndex(0) +11>Emitted(55, 66) Source(63, 60) + SourceIndex(0) +12>Emitted(55, 68) Source(63, 62) + SourceIndex(0) +13>Emitted(55, 69) Source(63, 63) + SourceIndex(0) --- >>> _e = _16[_15].skills, primary = _e.primary, secondary = _e.secondary; 1->^^^^ @@ -1609,14 +1610,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > , 7 > secondary 8 > -1->Emitted(55, 5) Source(63, 8) + SourceIndex(0) -2 >Emitted(55, 25) Source(63, 38) + SourceIndex(0) -3 >Emitted(55, 27) Source(63, 18) + SourceIndex(0) -4 >Emitted(55, 34) Source(63, 25) + SourceIndex(0) -5 >Emitted(55, 47) Source(63, 25) + SourceIndex(0) -6 >Emitted(55, 49) Source(63, 27) + SourceIndex(0) -7 >Emitted(55, 58) Source(63, 36) + SourceIndex(0) -8 >Emitted(55, 73) Source(63, 36) + SourceIndex(0) +1->Emitted(56, 5) Source(63, 8) + SourceIndex(0) +2 >Emitted(56, 25) Source(63, 38) + SourceIndex(0) +3 >Emitted(56, 27) Source(63, 18) + SourceIndex(0) +4 >Emitted(56, 34) Source(63, 25) + SourceIndex(0) +5 >Emitted(56, 47) Source(63, 25) + SourceIndex(0) +6 >Emitted(56, 49) Source(63, 27) + SourceIndex(0) +7 >Emitted(56, 58) Source(63, 36) + SourceIndex(0) +8 >Emitted(56, 73) Source(63, 36) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1636,14 +1637,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(56, 5) Source(64, 5) + SourceIndex(0) -2 >Emitted(56, 12) Source(64, 12) + SourceIndex(0) -3 >Emitted(56, 13) Source(64, 13) + SourceIndex(0) -4 >Emitted(56, 16) Source(64, 16) + SourceIndex(0) -5 >Emitted(56, 17) Source(64, 17) + SourceIndex(0) -6 >Emitted(56, 25) Source(64, 25) + SourceIndex(0) -7 >Emitted(56, 26) Source(64, 26) + SourceIndex(0) -8 >Emitted(56, 27) Source(64, 27) + SourceIndex(0) +1 >Emitted(57, 5) Source(64, 5) + SourceIndex(0) +2 >Emitted(57, 12) Source(64, 12) + SourceIndex(0) +3 >Emitted(57, 13) Source(64, 13) + SourceIndex(0) +4 >Emitted(57, 16) Source(64, 16) + SourceIndex(0) +5 >Emitted(57, 17) Source(64, 17) + SourceIndex(0) +6 >Emitted(57, 25) Source(64, 25) + SourceIndex(0) +7 >Emitted(57, 26) Source(64, 26) + SourceIndex(0) +8 >Emitted(57, 27) Source(64, 27) + SourceIndex(0) --- >>>} 1 > @@ -1652,8 +1653,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(57, 1) Source(65, 1) + SourceIndex(0) -2 >Emitted(57, 2) Source(65, 2) + SourceIndex(0) +1 >Emitted(58, 1) Source(65, 1) + SourceIndex(0) +2 >Emitted(58, 2) Source(65, 2) + SourceIndex(0) --- >>>for (var _17 = 0, _18 = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -1703,28 +1704,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 20> "none" 21> } 22> } -1->Emitted(58, 1) Source(66, 1) + SourceIndex(0) -2 >Emitted(58, 6) Source(66, 44) + SourceIndex(0) -3 >Emitted(58, 17) Source(67, 79) + SourceIndex(0) -4 >Emitted(58, 19) Source(66, 44) + SourceIndex(0) -5 >Emitted(58, 26) Source(66, 45) + SourceIndex(0) -6 >Emitted(58, 28) Source(66, 47) + SourceIndex(0) -7 >Emitted(58, 32) Source(66, 51) + SourceIndex(0) -8 >Emitted(58, 34) Source(66, 53) + SourceIndex(0) -9 >Emitted(58, 41) Source(66, 60) + SourceIndex(0) -10>Emitted(58, 43) Source(66, 62) + SourceIndex(0) -11>Emitted(58, 49) Source(66, 68) + SourceIndex(0) -12>Emitted(58, 51) Source(66, 70) + SourceIndex(0) -13>Emitted(58, 53) Source(66, 72) + SourceIndex(0) -14>Emitted(58, 60) Source(66, 79) + SourceIndex(0) -15>Emitted(58, 62) Source(66, 81) + SourceIndex(0) -16>Emitted(58, 70) Source(66, 89) + SourceIndex(0) -17>Emitted(58, 72) Source(66, 91) + SourceIndex(0) -18>Emitted(58, 81) Source(66, 100) + SourceIndex(0) -19>Emitted(58, 83) Source(66, 102) + SourceIndex(0) -20>Emitted(58, 89) Source(66, 108) + SourceIndex(0) -21>Emitted(58, 91) Source(66, 110) + SourceIndex(0) -22>Emitted(58, 93) Source(66, 112) + SourceIndex(0) +1->Emitted(59, 1) Source(66, 1) + SourceIndex(0) +2 >Emitted(59, 6) Source(66, 44) + SourceIndex(0) +3 >Emitted(59, 17) Source(67, 79) + SourceIndex(0) +4 >Emitted(59, 19) Source(66, 44) + SourceIndex(0) +5 >Emitted(59, 26) Source(66, 45) + SourceIndex(0) +6 >Emitted(59, 28) Source(66, 47) + SourceIndex(0) +7 >Emitted(59, 32) Source(66, 51) + SourceIndex(0) +8 >Emitted(59, 34) Source(66, 53) + SourceIndex(0) +9 >Emitted(59, 41) Source(66, 60) + SourceIndex(0) +10>Emitted(59, 43) Source(66, 62) + SourceIndex(0) +11>Emitted(59, 49) Source(66, 68) + SourceIndex(0) +12>Emitted(59, 51) Source(66, 70) + SourceIndex(0) +13>Emitted(59, 53) Source(66, 72) + SourceIndex(0) +14>Emitted(59, 60) Source(66, 79) + SourceIndex(0) +15>Emitted(59, 62) Source(66, 81) + SourceIndex(0) +16>Emitted(59, 70) Source(66, 89) + SourceIndex(0) +17>Emitted(59, 72) Source(66, 91) + SourceIndex(0) +18>Emitted(59, 81) Source(66, 100) + SourceIndex(0) +19>Emitted(59, 83) Source(66, 102) + SourceIndex(0) +20>Emitted(59, 89) Source(66, 108) + SourceIndex(0) +21>Emitted(59, 91) Source(66, 110) + SourceIndex(0) +22>Emitted(59, 93) Source(66, 112) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _17 < _18.length; _17++) { 1->^^^^ @@ -1780,31 +1781,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(59, 5) Source(67, 5) + SourceIndex(0) -2 >Emitted(59, 7) Source(67, 7) + SourceIndex(0) -3 >Emitted(59, 11) Source(67, 11) + SourceIndex(0) -4 >Emitted(59, 13) Source(67, 13) + SourceIndex(0) -5 >Emitted(59, 22) Source(67, 22) + SourceIndex(0) -6 >Emitted(59, 24) Source(67, 24) + SourceIndex(0) -7 >Emitted(59, 30) Source(67, 30) + SourceIndex(0) -8 >Emitted(59, 32) Source(67, 32) + SourceIndex(0) -9 >Emitted(59, 34) Source(67, 34) + SourceIndex(0) -10>Emitted(59, 41) Source(67, 41) + SourceIndex(0) -11>Emitted(59, 43) Source(67, 43) + SourceIndex(0) -12>Emitted(59, 53) Source(67, 53) + SourceIndex(0) -13>Emitted(59, 55) Source(67, 55) + SourceIndex(0) -14>Emitted(59, 64) Source(67, 64) + SourceIndex(0) -15>Emitted(59, 66) Source(67, 66) + SourceIndex(0) -16>Emitted(59, 74) Source(67, 74) + SourceIndex(0) -17>Emitted(59, 76) Source(67, 76) + SourceIndex(0) -18>Emitted(59, 78) Source(67, 78) + SourceIndex(0) -19>Emitted(59, 79) Source(67, 79) + SourceIndex(0) -20>Emitted(59, 81) Source(66, 44) + SourceIndex(0) -21>Emitted(59, 97) Source(67, 79) + SourceIndex(0) -22>Emitted(59, 99) Source(66, 44) + SourceIndex(0) -23>Emitted(59, 104) Source(67, 79) + SourceIndex(0) -24>Emitted(59, 106) Source(67, 81) + SourceIndex(0) -25>Emitted(59, 107) Source(67, 82) + SourceIndex(0) +1->Emitted(60, 5) Source(67, 5) + SourceIndex(0) +2 >Emitted(60, 7) Source(67, 7) + SourceIndex(0) +3 >Emitted(60, 11) Source(67, 11) + SourceIndex(0) +4 >Emitted(60, 13) Source(67, 13) + SourceIndex(0) +5 >Emitted(60, 22) Source(67, 22) + SourceIndex(0) +6 >Emitted(60, 24) Source(67, 24) + SourceIndex(0) +7 >Emitted(60, 30) Source(67, 30) + SourceIndex(0) +8 >Emitted(60, 32) Source(67, 32) + SourceIndex(0) +9 >Emitted(60, 34) Source(67, 34) + SourceIndex(0) +10>Emitted(60, 41) Source(67, 41) + SourceIndex(0) +11>Emitted(60, 43) Source(67, 43) + SourceIndex(0) +12>Emitted(60, 53) Source(67, 53) + SourceIndex(0) +13>Emitted(60, 55) Source(67, 55) + SourceIndex(0) +14>Emitted(60, 64) Source(67, 64) + SourceIndex(0) +15>Emitted(60, 66) Source(67, 66) + SourceIndex(0) +16>Emitted(60, 74) Source(67, 74) + SourceIndex(0) +17>Emitted(60, 76) Source(67, 76) + SourceIndex(0) +18>Emitted(60, 78) Source(67, 78) + SourceIndex(0) +19>Emitted(60, 79) Source(67, 79) + SourceIndex(0) +20>Emitted(60, 81) Source(66, 44) + SourceIndex(0) +21>Emitted(60, 97) Source(67, 79) + SourceIndex(0) +22>Emitted(60, 99) Source(66, 44) + SourceIndex(0) +23>Emitted(60, 104) Source(67, 79) + SourceIndex(0) +24>Emitted(60, 106) Source(67, 81) + SourceIndex(0) +25>Emitted(60, 107) Source(67, 82) + SourceIndex(0) --- >>> _f = _18[_17].skills, primary = _f.primary, secondary = _f.secondary; 1 >^^^^ @@ -1823,14 +1824,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > , 7 > secondary 8 > -1 >Emitted(60, 5) Source(66, 8) + SourceIndex(0) -2 >Emitted(60, 25) Source(66, 38) + SourceIndex(0) -3 >Emitted(60, 27) Source(66, 18) + SourceIndex(0) -4 >Emitted(60, 34) Source(66, 25) + SourceIndex(0) -5 >Emitted(60, 47) Source(66, 25) + SourceIndex(0) -6 >Emitted(60, 49) Source(66, 27) + SourceIndex(0) -7 >Emitted(60, 58) Source(66, 36) + SourceIndex(0) -8 >Emitted(60, 73) Source(66, 36) + SourceIndex(0) +1 >Emitted(61, 5) Source(66, 8) + SourceIndex(0) +2 >Emitted(61, 25) Source(66, 38) + SourceIndex(0) +3 >Emitted(61, 27) Source(66, 18) + SourceIndex(0) +4 >Emitted(61, 34) Source(66, 25) + SourceIndex(0) +5 >Emitted(61, 47) Source(66, 25) + SourceIndex(0) +6 >Emitted(61, 49) Source(66, 27) + SourceIndex(0) +7 >Emitted(61, 58) Source(66, 36) + SourceIndex(0) +8 >Emitted(61, 73) Source(66, 36) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1851,14 +1852,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > primaryA 7 > ) 8 > ; -1 >Emitted(61, 5) Source(68, 5) + SourceIndex(0) -2 >Emitted(61, 12) Source(68, 12) + SourceIndex(0) -3 >Emitted(61, 13) Source(68, 13) + SourceIndex(0) -4 >Emitted(61, 16) Source(68, 16) + SourceIndex(0) -5 >Emitted(61, 17) Source(68, 17) + SourceIndex(0) -6 >Emitted(61, 25) Source(68, 25) + SourceIndex(0) -7 >Emitted(61, 26) Source(68, 26) + SourceIndex(0) -8 >Emitted(61, 27) Source(68, 27) + SourceIndex(0) +1 >Emitted(62, 5) Source(68, 5) + SourceIndex(0) +2 >Emitted(62, 12) Source(68, 12) + SourceIndex(0) +3 >Emitted(62, 13) Source(68, 13) + SourceIndex(0) +4 >Emitted(62, 16) Source(68, 16) + SourceIndex(0) +5 >Emitted(62, 17) Source(68, 17) + SourceIndex(0) +6 >Emitted(62, 25) Source(68, 25) + SourceIndex(0) +7 >Emitted(62, 26) Source(68, 26) + SourceIndex(0) +8 >Emitted(62, 27) Source(68, 27) + SourceIndex(0) --- >>>} 1 > @@ -1867,8 +1868,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(62, 1) Source(69, 1) + SourceIndex(0) -2 >Emitted(62, 2) Source(69, 2) + SourceIndex(0) +1 >Emitted(63, 1) Source(69, 1) + SourceIndex(0) +2 >Emitted(63, 2) Source(69, 2) + SourceIndex(0) --- >>>for (var _19 = 0, robots_3 = robots; _19 < robots_3.length; _19++) { 1-> @@ -1896,17 +1897,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > robots 10> ) 11> { -1->Emitted(63, 1) Source(72, 1) + SourceIndex(0) -2 >Emitted(63, 6) Source(72, 39) + SourceIndex(0) -3 >Emitted(63, 17) Source(72, 45) + SourceIndex(0) -4 >Emitted(63, 19) Source(72, 39) + SourceIndex(0) -5 >Emitted(63, 36) Source(72, 45) + SourceIndex(0) -6 >Emitted(63, 38) Source(72, 39) + SourceIndex(0) -7 >Emitted(63, 59) Source(72, 45) + SourceIndex(0) -8 >Emitted(63, 61) Source(72, 39) + SourceIndex(0) -9 >Emitted(63, 66) Source(72, 45) + SourceIndex(0) -10>Emitted(63, 68) Source(72, 47) + SourceIndex(0) -11>Emitted(63, 69) Source(72, 48) + SourceIndex(0) +1->Emitted(64, 1) Source(72, 1) + SourceIndex(0) +2 >Emitted(64, 6) Source(72, 39) + SourceIndex(0) +3 >Emitted(64, 17) Source(72, 45) + SourceIndex(0) +4 >Emitted(64, 19) Source(72, 39) + SourceIndex(0) +5 >Emitted(64, 36) Source(72, 45) + SourceIndex(0) +6 >Emitted(64, 38) Source(72, 39) + SourceIndex(0) +7 >Emitted(64, 59) Source(72, 45) + SourceIndex(0) +8 >Emitted(64, 61) Source(72, 39) + SourceIndex(0) +9 >Emitted(64, 66) Source(72, 45) + SourceIndex(0) +10>Emitted(64, 68) Source(72, 47) + SourceIndex(0) +11>Emitted(64, 69) Source(72, 48) + SourceIndex(0) --- >>> _g = robots_3[_19], nameA = _g.name, skillA = _g.skill; 1 >^^^^^^^^^^^^^^^^^^^^^^^^ @@ -1921,12 +1922,12 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 4 > , skill: 5 > skillA 6 > -1 >Emitted(64, 25) Source(72, 13) + SourceIndex(0) -2 >Emitted(64, 30) Source(72, 18) + SourceIndex(0) -3 >Emitted(64, 40) Source(72, 18) + SourceIndex(0) -4 >Emitted(64, 42) Source(72, 27) + SourceIndex(0) -5 >Emitted(64, 48) Source(72, 33) + SourceIndex(0) -6 >Emitted(64, 59) Source(72, 33) + SourceIndex(0) +1 >Emitted(65, 25) Source(72, 13) + SourceIndex(0) +2 >Emitted(65, 30) Source(72, 18) + SourceIndex(0) +3 >Emitted(65, 40) Source(72, 18) + SourceIndex(0) +4 >Emitted(65, 42) Source(72, 27) + SourceIndex(0) +5 >Emitted(65, 48) Source(72, 33) + SourceIndex(0) +6 >Emitted(65, 59) Source(72, 33) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1946,14 +1947,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(65, 5) Source(73, 5) + SourceIndex(0) -2 >Emitted(65, 12) Source(73, 12) + SourceIndex(0) -3 >Emitted(65, 13) Source(73, 13) + SourceIndex(0) -4 >Emitted(65, 16) Source(73, 16) + SourceIndex(0) -5 >Emitted(65, 17) Source(73, 17) + SourceIndex(0) -6 >Emitted(65, 22) Source(73, 22) + SourceIndex(0) -7 >Emitted(65, 23) Source(73, 23) + SourceIndex(0) -8 >Emitted(65, 24) Source(73, 24) + SourceIndex(0) +1 >Emitted(66, 5) Source(73, 5) + SourceIndex(0) +2 >Emitted(66, 12) Source(73, 12) + SourceIndex(0) +3 >Emitted(66, 13) Source(73, 13) + SourceIndex(0) +4 >Emitted(66, 16) Source(73, 16) + SourceIndex(0) +5 >Emitted(66, 17) Source(73, 17) + SourceIndex(0) +6 >Emitted(66, 22) Source(73, 22) + SourceIndex(0) +7 >Emitted(66, 23) Source(73, 23) + SourceIndex(0) +8 >Emitted(66, 24) Source(73, 24) + SourceIndex(0) --- >>>} 1 > @@ -1962,8 +1963,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(66, 1) Source(74, 1) + SourceIndex(0) -2 >Emitted(66, 2) Source(74, 2) + SourceIndex(0) +1 >Emitted(67, 1) Source(74, 1) + SourceIndex(0) +2 >Emitted(67, 2) Source(74, 2) + SourceIndex(0) --- >>>for (var _20 = 0, _21 = getRobots(); _20 < _21.length; _20++) { 1-> @@ -1993,19 +1994,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 11> getRobots() 12> ) 13> { -1->Emitted(67, 1) Source(75, 1) + SourceIndex(0) -2 >Emitted(67, 6) Source(75, 39) + SourceIndex(0) -3 >Emitted(67, 17) Source(75, 50) + SourceIndex(0) -4 >Emitted(67, 19) Source(75, 39) + SourceIndex(0) -5 >Emitted(67, 25) Source(75, 39) + SourceIndex(0) -6 >Emitted(67, 34) Source(75, 48) + SourceIndex(0) -7 >Emitted(67, 36) Source(75, 50) + SourceIndex(0) -8 >Emitted(67, 38) Source(75, 39) + SourceIndex(0) -9 >Emitted(67, 54) Source(75, 50) + SourceIndex(0) -10>Emitted(67, 56) Source(75, 39) + SourceIndex(0) -11>Emitted(67, 61) Source(75, 50) + SourceIndex(0) -12>Emitted(67, 63) Source(75, 52) + SourceIndex(0) -13>Emitted(67, 64) Source(75, 53) + SourceIndex(0) +1->Emitted(68, 1) Source(75, 1) + SourceIndex(0) +2 >Emitted(68, 6) Source(75, 39) + SourceIndex(0) +3 >Emitted(68, 17) Source(75, 50) + SourceIndex(0) +4 >Emitted(68, 19) Source(75, 39) + SourceIndex(0) +5 >Emitted(68, 25) Source(75, 39) + SourceIndex(0) +6 >Emitted(68, 34) Source(75, 48) + SourceIndex(0) +7 >Emitted(68, 36) Source(75, 50) + SourceIndex(0) +8 >Emitted(68, 38) Source(75, 39) + SourceIndex(0) +9 >Emitted(68, 54) Source(75, 50) + SourceIndex(0) +10>Emitted(68, 56) Source(75, 39) + SourceIndex(0) +11>Emitted(68, 61) Source(75, 50) + SourceIndex(0) +12>Emitted(68, 63) Source(75, 52) + SourceIndex(0) +13>Emitted(68, 64) Source(75, 53) + SourceIndex(0) --- >>> _h = _21[_20], nameA = _h.name, skillA = _h.skill; 1 >^^^^^^^^^^^^^^^^^^^ @@ -2020,12 +2021,12 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 4 > , skill: 5 > skillA 6 > -1 >Emitted(68, 20) Source(75, 13) + SourceIndex(0) -2 >Emitted(68, 25) Source(75, 18) + SourceIndex(0) -3 >Emitted(68, 35) Source(75, 18) + SourceIndex(0) -4 >Emitted(68, 37) Source(75, 27) + SourceIndex(0) -5 >Emitted(68, 43) Source(75, 33) + SourceIndex(0) -6 >Emitted(68, 54) Source(75, 33) + SourceIndex(0) +1 >Emitted(69, 20) Source(75, 13) + SourceIndex(0) +2 >Emitted(69, 25) Source(75, 18) + SourceIndex(0) +3 >Emitted(69, 35) Source(75, 18) + SourceIndex(0) +4 >Emitted(69, 37) Source(75, 27) + SourceIndex(0) +5 >Emitted(69, 43) Source(75, 33) + SourceIndex(0) +6 >Emitted(69, 54) Source(75, 33) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2045,14 +2046,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(69, 5) Source(76, 5) + SourceIndex(0) -2 >Emitted(69, 12) Source(76, 12) + SourceIndex(0) -3 >Emitted(69, 13) Source(76, 13) + SourceIndex(0) -4 >Emitted(69, 16) Source(76, 16) + SourceIndex(0) -5 >Emitted(69, 17) Source(76, 17) + SourceIndex(0) -6 >Emitted(69, 22) Source(76, 22) + SourceIndex(0) -7 >Emitted(69, 23) Source(76, 23) + SourceIndex(0) -8 >Emitted(69, 24) Source(76, 24) + SourceIndex(0) +1 >Emitted(70, 5) Source(76, 5) + SourceIndex(0) +2 >Emitted(70, 12) Source(76, 12) + SourceIndex(0) +3 >Emitted(70, 13) Source(76, 13) + SourceIndex(0) +4 >Emitted(70, 16) Source(76, 16) + SourceIndex(0) +5 >Emitted(70, 17) Source(76, 17) + SourceIndex(0) +6 >Emitted(70, 22) Source(76, 22) + SourceIndex(0) +7 >Emitted(70, 23) Source(76, 23) + SourceIndex(0) +8 >Emitted(70, 24) Source(76, 24) + SourceIndex(0) --- >>>} 1 > @@ -2061,8 +2062,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(70, 1) Source(77, 1) + SourceIndex(0) -2 >Emitted(70, 2) Source(77, 2) + SourceIndex(0) +1 >Emitted(71, 1) Source(77, 1) + SourceIndex(0) +2 >Emitted(71, 2) Source(77, 2) + SourceIndex(0) --- >>>for (var _22 = 0, _23 = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _22 < _23.length; _22++) { 1-> @@ -2128,37 +2129,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(71, 1) Source(78, 1) + SourceIndex(0) -2 >Emitted(71, 6) Source(78, 39) + SourceIndex(0) -3 >Emitted(71, 17) Source(78, 115) + SourceIndex(0) -4 >Emitted(71, 19) Source(78, 39) + SourceIndex(0) -5 >Emitted(71, 26) Source(78, 40) + SourceIndex(0) -6 >Emitted(71, 28) Source(78, 42) + SourceIndex(0) -7 >Emitted(71, 32) Source(78, 46) + SourceIndex(0) -8 >Emitted(71, 34) Source(78, 48) + SourceIndex(0) -9 >Emitted(71, 41) Source(78, 55) + SourceIndex(0) -10>Emitted(71, 43) Source(78, 57) + SourceIndex(0) -11>Emitted(71, 48) Source(78, 62) + SourceIndex(0) -12>Emitted(71, 50) Source(78, 64) + SourceIndex(0) -13>Emitted(71, 58) Source(78, 72) + SourceIndex(0) -14>Emitted(71, 60) Source(78, 74) + SourceIndex(0) -15>Emitted(71, 62) Source(78, 76) + SourceIndex(0) -16>Emitted(71, 64) Source(78, 78) + SourceIndex(0) -17>Emitted(71, 68) Source(78, 82) + SourceIndex(0) -18>Emitted(71, 70) Source(78, 84) + SourceIndex(0) -19>Emitted(71, 79) Source(78, 93) + SourceIndex(0) -20>Emitted(71, 81) Source(78, 95) + SourceIndex(0) -21>Emitted(71, 86) Source(78, 100) + SourceIndex(0) -22>Emitted(71, 88) Source(78, 102) + SourceIndex(0) -23>Emitted(71, 98) Source(78, 112) + SourceIndex(0) -24>Emitted(71, 100) Source(78, 114) + SourceIndex(0) -25>Emitted(71, 101) Source(78, 115) + SourceIndex(0) -26>Emitted(71, 103) Source(78, 39) + SourceIndex(0) -27>Emitted(71, 119) Source(78, 115) + SourceIndex(0) -28>Emitted(71, 121) Source(78, 39) + SourceIndex(0) -29>Emitted(71, 126) Source(78, 115) + SourceIndex(0) -30>Emitted(71, 128) Source(78, 117) + SourceIndex(0) -31>Emitted(71, 129) Source(78, 118) + SourceIndex(0) +1->Emitted(72, 1) Source(78, 1) + SourceIndex(0) +2 >Emitted(72, 6) Source(78, 39) + SourceIndex(0) +3 >Emitted(72, 17) Source(78, 115) + SourceIndex(0) +4 >Emitted(72, 19) Source(78, 39) + SourceIndex(0) +5 >Emitted(72, 26) Source(78, 40) + SourceIndex(0) +6 >Emitted(72, 28) Source(78, 42) + SourceIndex(0) +7 >Emitted(72, 32) Source(78, 46) + SourceIndex(0) +8 >Emitted(72, 34) Source(78, 48) + SourceIndex(0) +9 >Emitted(72, 41) Source(78, 55) + SourceIndex(0) +10>Emitted(72, 43) Source(78, 57) + SourceIndex(0) +11>Emitted(72, 48) Source(78, 62) + SourceIndex(0) +12>Emitted(72, 50) Source(78, 64) + SourceIndex(0) +13>Emitted(72, 58) Source(78, 72) + SourceIndex(0) +14>Emitted(72, 60) Source(78, 74) + SourceIndex(0) +15>Emitted(72, 62) Source(78, 76) + SourceIndex(0) +16>Emitted(72, 64) Source(78, 78) + SourceIndex(0) +17>Emitted(72, 68) Source(78, 82) + SourceIndex(0) +18>Emitted(72, 70) Source(78, 84) + SourceIndex(0) +19>Emitted(72, 79) Source(78, 93) + SourceIndex(0) +20>Emitted(72, 81) Source(78, 95) + SourceIndex(0) +21>Emitted(72, 86) Source(78, 100) + SourceIndex(0) +22>Emitted(72, 88) Source(78, 102) + SourceIndex(0) +23>Emitted(72, 98) Source(78, 112) + SourceIndex(0) +24>Emitted(72, 100) Source(78, 114) + SourceIndex(0) +25>Emitted(72, 101) Source(78, 115) + SourceIndex(0) +26>Emitted(72, 103) Source(78, 39) + SourceIndex(0) +27>Emitted(72, 119) Source(78, 115) + SourceIndex(0) +28>Emitted(72, 121) Source(78, 39) + SourceIndex(0) +29>Emitted(72, 126) Source(78, 115) + SourceIndex(0) +30>Emitted(72, 128) Source(78, 117) + SourceIndex(0) +31>Emitted(72, 129) Source(78, 118) + SourceIndex(0) --- >>> _j = _23[_22], nameA = _j.name, skillA = _j.skill; 1 >^^^^^^^^^^^^^^^^^^^ @@ -2173,12 +2174,12 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 4 > , skill: 5 > skillA 6 > -1 >Emitted(72, 20) Source(78, 13) + SourceIndex(0) -2 >Emitted(72, 25) Source(78, 18) + SourceIndex(0) -3 >Emitted(72, 35) Source(78, 18) + SourceIndex(0) -4 >Emitted(72, 37) Source(78, 27) + SourceIndex(0) -5 >Emitted(72, 43) Source(78, 33) + SourceIndex(0) -6 >Emitted(72, 54) Source(78, 33) + SourceIndex(0) +1 >Emitted(73, 20) Source(78, 13) + SourceIndex(0) +2 >Emitted(73, 25) Source(78, 18) + SourceIndex(0) +3 >Emitted(73, 35) Source(78, 18) + SourceIndex(0) +4 >Emitted(73, 37) Source(78, 27) + SourceIndex(0) +5 >Emitted(73, 43) Source(78, 33) + SourceIndex(0) +6 >Emitted(73, 54) Source(78, 33) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2198,14 +2199,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(73, 5) Source(79, 5) + SourceIndex(0) -2 >Emitted(73, 12) Source(79, 12) + SourceIndex(0) -3 >Emitted(73, 13) Source(79, 13) + SourceIndex(0) -4 >Emitted(73, 16) Source(79, 16) + SourceIndex(0) -5 >Emitted(73, 17) Source(79, 17) + SourceIndex(0) -6 >Emitted(73, 22) Source(79, 22) + SourceIndex(0) -7 >Emitted(73, 23) Source(79, 23) + SourceIndex(0) -8 >Emitted(73, 24) Source(79, 24) + SourceIndex(0) +1 >Emitted(74, 5) Source(79, 5) + SourceIndex(0) +2 >Emitted(74, 12) Source(79, 12) + SourceIndex(0) +3 >Emitted(74, 13) Source(79, 13) + SourceIndex(0) +4 >Emitted(74, 16) Source(79, 16) + SourceIndex(0) +5 >Emitted(74, 17) Source(79, 17) + SourceIndex(0) +6 >Emitted(74, 22) Source(79, 22) + SourceIndex(0) +7 >Emitted(74, 23) Source(79, 23) + SourceIndex(0) +8 >Emitted(74, 24) Source(79, 24) + SourceIndex(0) --- >>>} 1 > @@ -2214,8 +2215,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(74, 1) Source(80, 1) + SourceIndex(0) -2 >Emitted(74, 2) Source(80, 2) + SourceIndex(0) +1 >Emitted(75, 1) Source(80, 1) + SourceIndex(0) +2 >Emitted(75, 2) Source(80, 2) + SourceIndex(0) --- >>>for (var _24 = 0, multiRobots_3 = multiRobots; _24 < multiRobots_3.length; _24++) { 1-> @@ -2242,17 +2243,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > multiRobots 10> ) 11> { -1->Emitted(75, 1) Source(81, 1) + SourceIndex(0) -2 >Emitted(75, 6) Source(81, 78) + SourceIndex(0) -3 >Emitted(75, 17) Source(81, 89) + SourceIndex(0) -4 >Emitted(75, 19) Source(81, 78) + SourceIndex(0) -5 >Emitted(75, 46) Source(81, 89) + SourceIndex(0) -6 >Emitted(75, 48) Source(81, 78) + SourceIndex(0) -7 >Emitted(75, 74) Source(81, 89) + SourceIndex(0) -8 >Emitted(75, 76) Source(81, 78) + SourceIndex(0) -9 >Emitted(75, 81) Source(81, 89) + SourceIndex(0) -10>Emitted(75, 83) Source(81, 91) + SourceIndex(0) -11>Emitted(75, 84) Source(81, 92) + SourceIndex(0) +1->Emitted(76, 1) Source(81, 1) + SourceIndex(0) +2 >Emitted(76, 6) Source(81, 78) + SourceIndex(0) +3 >Emitted(76, 17) Source(81, 89) + SourceIndex(0) +4 >Emitted(76, 19) Source(81, 78) + SourceIndex(0) +5 >Emitted(76, 46) Source(81, 89) + SourceIndex(0) +6 >Emitted(76, 48) Source(81, 78) + SourceIndex(0) +7 >Emitted(76, 74) Source(81, 89) + SourceIndex(0) +8 >Emitted(76, 76) Source(81, 78) + SourceIndex(0) +9 >Emitted(76, 81) Source(81, 89) + SourceIndex(0) +10>Emitted(76, 83) Source(81, 91) + SourceIndex(0) +11>Emitted(76, 84) Source(81, 92) + SourceIndex(0) --- >>> _k = multiRobots_3[_24], nameA = _k.name, _l = _k.skills, primaryA = _l.primary, secondaryA = _l.secondary; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -2277,17 +2278,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > , secondary: 10> secondaryA 11> -1->Emitted(76, 30) Source(81, 13) + SourceIndex(0) -2 >Emitted(76, 35) Source(81, 18) + SourceIndex(0) -3 >Emitted(76, 45) Source(81, 18) + SourceIndex(0) -4 >Emitted(76, 47) Source(81, 20) + SourceIndex(0) -5 >Emitted(76, 61) Source(81, 72) + SourceIndex(0) -6 >Emitted(76, 63) Source(81, 39) + SourceIndex(0) -7 >Emitted(76, 71) Source(81, 47) + SourceIndex(0) -8 >Emitted(76, 84) Source(81, 47) + SourceIndex(0) -9 >Emitted(76, 86) Source(81, 60) + SourceIndex(0) -10>Emitted(76, 96) Source(81, 70) + SourceIndex(0) -11>Emitted(76, 111) Source(81, 70) + SourceIndex(0) +1->Emitted(77, 30) Source(81, 13) + SourceIndex(0) +2 >Emitted(77, 35) Source(81, 18) + SourceIndex(0) +3 >Emitted(77, 45) Source(81, 18) + SourceIndex(0) +4 >Emitted(77, 47) Source(81, 20) + SourceIndex(0) +5 >Emitted(77, 61) Source(81, 72) + SourceIndex(0) +6 >Emitted(77, 63) Source(81, 39) + SourceIndex(0) +7 >Emitted(77, 71) Source(81, 47) + SourceIndex(0) +8 >Emitted(77, 84) Source(81, 47) + SourceIndex(0) +9 >Emitted(77, 86) Source(81, 60) + SourceIndex(0) +10>Emitted(77, 96) Source(81, 70) + SourceIndex(0) +11>Emitted(77, 111) Source(81, 70) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2307,14 +2308,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(77, 5) Source(82, 5) + SourceIndex(0) -2 >Emitted(77, 12) Source(82, 12) + SourceIndex(0) -3 >Emitted(77, 13) Source(82, 13) + SourceIndex(0) -4 >Emitted(77, 16) Source(82, 16) + SourceIndex(0) -5 >Emitted(77, 17) Source(82, 17) + SourceIndex(0) -6 >Emitted(77, 22) Source(82, 22) + SourceIndex(0) -7 >Emitted(77, 23) Source(82, 23) + SourceIndex(0) -8 >Emitted(77, 24) Source(82, 24) + SourceIndex(0) +1 >Emitted(78, 5) Source(82, 5) + SourceIndex(0) +2 >Emitted(78, 12) Source(82, 12) + SourceIndex(0) +3 >Emitted(78, 13) Source(82, 13) + SourceIndex(0) +4 >Emitted(78, 16) Source(82, 16) + SourceIndex(0) +5 >Emitted(78, 17) Source(82, 17) + SourceIndex(0) +6 >Emitted(78, 22) Source(82, 22) + SourceIndex(0) +7 >Emitted(78, 23) Source(82, 23) + SourceIndex(0) +8 >Emitted(78, 24) Source(82, 24) + SourceIndex(0) --- >>>} 1 > @@ -2323,8 +2324,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(78, 1) Source(83, 1) + SourceIndex(0) -2 >Emitted(78, 2) Source(83, 2) + SourceIndex(0) +1 >Emitted(79, 1) Source(83, 1) + SourceIndex(0) +2 >Emitted(79, 2) Source(83, 2) + SourceIndex(0) --- >>>for (var _25 = 0, _26 = getMultiRobots(); _25 < _26.length; _25++) { 1-> @@ -2355,19 +2356,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(79, 1) Source(84, 1) + SourceIndex(0) -2 >Emitted(79, 6) Source(84, 78) + SourceIndex(0) -3 >Emitted(79, 17) Source(84, 94) + SourceIndex(0) -4 >Emitted(79, 19) Source(84, 78) + SourceIndex(0) -5 >Emitted(79, 25) Source(84, 78) + SourceIndex(0) -6 >Emitted(79, 39) Source(84, 92) + SourceIndex(0) -7 >Emitted(79, 41) Source(84, 94) + SourceIndex(0) -8 >Emitted(79, 43) Source(84, 78) + SourceIndex(0) -9 >Emitted(79, 59) Source(84, 94) + SourceIndex(0) -10>Emitted(79, 61) Source(84, 78) + SourceIndex(0) -11>Emitted(79, 66) Source(84, 94) + SourceIndex(0) -12>Emitted(79, 68) Source(84, 96) + SourceIndex(0) -13>Emitted(79, 69) Source(84, 97) + SourceIndex(0) +1->Emitted(80, 1) Source(84, 1) + SourceIndex(0) +2 >Emitted(80, 6) Source(84, 78) + SourceIndex(0) +3 >Emitted(80, 17) Source(84, 94) + SourceIndex(0) +4 >Emitted(80, 19) Source(84, 78) + SourceIndex(0) +5 >Emitted(80, 25) Source(84, 78) + SourceIndex(0) +6 >Emitted(80, 39) Source(84, 92) + SourceIndex(0) +7 >Emitted(80, 41) Source(84, 94) + SourceIndex(0) +8 >Emitted(80, 43) Source(84, 78) + SourceIndex(0) +9 >Emitted(80, 59) Source(84, 94) + SourceIndex(0) +10>Emitted(80, 61) Source(84, 78) + SourceIndex(0) +11>Emitted(80, 66) Source(84, 94) + SourceIndex(0) +12>Emitted(80, 68) Source(84, 96) + SourceIndex(0) +13>Emitted(80, 69) Source(84, 97) + SourceIndex(0) --- >>> _m = _26[_25], nameA = _m.name, _o = _m.skills, primaryA = _o.primary, secondaryA = _o.secondary; 1->^^^^^^^^^^^^^^^^^^^ @@ -2392,17 +2393,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > , secondary: 10> secondaryA 11> -1->Emitted(80, 20) Source(84, 13) + SourceIndex(0) -2 >Emitted(80, 25) Source(84, 18) + SourceIndex(0) -3 >Emitted(80, 35) Source(84, 18) + SourceIndex(0) -4 >Emitted(80, 37) Source(84, 20) + SourceIndex(0) -5 >Emitted(80, 51) Source(84, 72) + SourceIndex(0) -6 >Emitted(80, 53) Source(84, 39) + SourceIndex(0) -7 >Emitted(80, 61) Source(84, 47) + SourceIndex(0) -8 >Emitted(80, 74) Source(84, 47) + SourceIndex(0) -9 >Emitted(80, 76) Source(84, 60) + SourceIndex(0) -10>Emitted(80, 86) Source(84, 70) + SourceIndex(0) -11>Emitted(80, 101) Source(84, 70) + SourceIndex(0) +1->Emitted(81, 20) Source(84, 13) + SourceIndex(0) +2 >Emitted(81, 25) Source(84, 18) + SourceIndex(0) +3 >Emitted(81, 35) Source(84, 18) + SourceIndex(0) +4 >Emitted(81, 37) Source(84, 20) + SourceIndex(0) +5 >Emitted(81, 51) Source(84, 72) + SourceIndex(0) +6 >Emitted(81, 53) Source(84, 39) + SourceIndex(0) +7 >Emitted(81, 61) Source(84, 47) + SourceIndex(0) +8 >Emitted(81, 74) Source(84, 47) + SourceIndex(0) +9 >Emitted(81, 76) Source(84, 60) + SourceIndex(0) +10>Emitted(81, 86) Source(84, 70) + SourceIndex(0) +11>Emitted(81, 101) Source(84, 70) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2422,14 +2423,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(81, 5) Source(85, 5) + SourceIndex(0) -2 >Emitted(81, 12) Source(85, 12) + SourceIndex(0) -3 >Emitted(81, 13) Source(85, 13) + SourceIndex(0) -4 >Emitted(81, 16) Source(85, 16) + SourceIndex(0) -5 >Emitted(81, 17) Source(85, 17) + SourceIndex(0) -6 >Emitted(81, 22) Source(85, 22) + SourceIndex(0) -7 >Emitted(81, 23) Source(85, 23) + SourceIndex(0) -8 >Emitted(81, 24) Source(85, 24) + SourceIndex(0) +1 >Emitted(82, 5) Source(85, 5) + SourceIndex(0) +2 >Emitted(82, 12) Source(85, 12) + SourceIndex(0) +3 >Emitted(82, 13) Source(85, 13) + SourceIndex(0) +4 >Emitted(82, 16) Source(85, 16) + SourceIndex(0) +5 >Emitted(82, 17) Source(85, 17) + SourceIndex(0) +6 >Emitted(82, 22) Source(85, 22) + SourceIndex(0) +7 >Emitted(82, 23) Source(85, 23) + SourceIndex(0) +8 >Emitted(82, 24) Source(85, 24) + SourceIndex(0) --- >>>} 1 > @@ -2438,8 +2439,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(82, 1) Source(86, 1) + SourceIndex(0) -2 >Emitted(82, 2) Source(86, 2) + SourceIndex(0) +1 >Emitted(83, 1) Source(86, 1) + SourceIndex(0) +2 >Emitted(83, 2) Source(86, 2) + SourceIndex(0) --- >>>for (var _27 = 0, _28 = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -2489,28 +2490,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 20> "none" 21> } 22> } -1->Emitted(83, 1) Source(87, 1) + SourceIndex(0) -2 >Emitted(83, 6) Source(87, 78) + SourceIndex(0) -3 >Emitted(83, 17) Source(88, 79) + SourceIndex(0) -4 >Emitted(83, 19) Source(87, 78) + SourceIndex(0) -5 >Emitted(83, 26) Source(87, 79) + SourceIndex(0) -6 >Emitted(83, 28) Source(87, 81) + SourceIndex(0) -7 >Emitted(83, 32) Source(87, 85) + SourceIndex(0) -8 >Emitted(83, 34) Source(87, 87) + SourceIndex(0) -9 >Emitted(83, 41) Source(87, 94) + SourceIndex(0) -10>Emitted(83, 43) Source(87, 96) + SourceIndex(0) -11>Emitted(83, 49) Source(87, 102) + SourceIndex(0) -12>Emitted(83, 51) Source(87, 104) + SourceIndex(0) -13>Emitted(83, 53) Source(87, 106) + SourceIndex(0) -14>Emitted(83, 60) Source(87, 113) + SourceIndex(0) -15>Emitted(83, 62) Source(87, 115) + SourceIndex(0) -16>Emitted(83, 70) Source(87, 123) + SourceIndex(0) -17>Emitted(83, 72) Source(87, 125) + SourceIndex(0) -18>Emitted(83, 81) Source(87, 134) + SourceIndex(0) -19>Emitted(83, 83) Source(87, 136) + SourceIndex(0) -20>Emitted(83, 89) Source(87, 142) + SourceIndex(0) -21>Emitted(83, 91) Source(87, 144) + SourceIndex(0) -22>Emitted(83, 93) Source(87, 146) + SourceIndex(0) +1->Emitted(84, 1) Source(87, 1) + SourceIndex(0) +2 >Emitted(84, 6) Source(87, 78) + SourceIndex(0) +3 >Emitted(84, 17) Source(88, 79) + SourceIndex(0) +4 >Emitted(84, 19) Source(87, 78) + SourceIndex(0) +5 >Emitted(84, 26) Source(87, 79) + SourceIndex(0) +6 >Emitted(84, 28) Source(87, 81) + SourceIndex(0) +7 >Emitted(84, 32) Source(87, 85) + SourceIndex(0) +8 >Emitted(84, 34) Source(87, 87) + SourceIndex(0) +9 >Emitted(84, 41) Source(87, 94) + SourceIndex(0) +10>Emitted(84, 43) Source(87, 96) + SourceIndex(0) +11>Emitted(84, 49) Source(87, 102) + SourceIndex(0) +12>Emitted(84, 51) Source(87, 104) + SourceIndex(0) +13>Emitted(84, 53) Source(87, 106) + SourceIndex(0) +14>Emitted(84, 60) Source(87, 113) + SourceIndex(0) +15>Emitted(84, 62) Source(87, 115) + SourceIndex(0) +16>Emitted(84, 70) Source(87, 123) + SourceIndex(0) +17>Emitted(84, 72) Source(87, 125) + SourceIndex(0) +18>Emitted(84, 81) Source(87, 134) + SourceIndex(0) +19>Emitted(84, 83) Source(87, 136) + SourceIndex(0) +20>Emitted(84, 89) Source(87, 142) + SourceIndex(0) +21>Emitted(84, 91) Source(87, 144) + SourceIndex(0) +22>Emitted(84, 93) Source(87, 146) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _27 < _28.length; _27++) { 1->^^^^ @@ -2566,31 +2567,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(84, 5) Source(88, 5) + SourceIndex(0) -2 >Emitted(84, 7) Source(88, 7) + SourceIndex(0) -3 >Emitted(84, 11) Source(88, 11) + SourceIndex(0) -4 >Emitted(84, 13) Source(88, 13) + SourceIndex(0) -5 >Emitted(84, 22) Source(88, 22) + SourceIndex(0) -6 >Emitted(84, 24) Source(88, 24) + SourceIndex(0) -7 >Emitted(84, 30) Source(88, 30) + SourceIndex(0) -8 >Emitted(84, 32) Source(88, 32) + SourceIndex(0) -9 >Emitted(84, 34) Source(88, 34) + SourceIndex(0) -10>Emitted(84, 41) Source(88, 41) + SourceIndex(0) -11>Emitted(84, 43) Source(88, 43) + SourceIndex(0) -12>Emitted(84, 53) Source(88, 53) + SourceIndex(0) -13>Emitted(84, 55) Source(88, 55) + SourceIndex(0) -14>Emitted(84, 64) Source(88, 64) + SourceIndex(0) -15>Emitted(84, 66) Source(88, 66) + SourceIndex(0) -16>Emitted(84, 74) Source(88, 74) + SourceIndex(0) -17>Emitted(84, 76) Source(88, 76) + SourceIndex(0) -18>Emitted(84, 78) Source(88, 78) + SourceIndex(0) -19>Emitted(84, 79) Source(88, 79) + SourceIndex(0) -20>Emitted(84, 81) Source(87, 78) + SourceIndex(0) -21>Emitted(84, 97) Source(88, 79) + SourceIndex(0) -22>Emitted(84, 99) Source(87, 78) + SourceIndex(0) -23>Emitted(84, 104) Source(88, 79) + SourceIndex(0) -24>Emitted(84, 106) Source(88, 81) + SourceIndex(0) -25>Emitted(84, 107) Source(88, 82) + SourceIndex(0) +1->Emitted(85, 5) Source(88, 5) + SourceIndex(0) +2 >Emitted(85, 7) Source(88, 7) + SourceIndex(0) +3 >Emitted(85, 11) Source(88, 11) + SourceIndex(0) +4 >Emitted(85, 13) Source(88, 13) + SourceIndex(0) +5 >Emitted(85, 22) Source(88, 22) + SourceIndex(0) +6 >Emitted(85, 24) Source(88, 24) + SourceIndex(0) +7 >Emitted(85, 30) Source(88, 30) + SourceIndex(0) +8 >Emitted(85, 32) Source(88, 32) + SourceIndex(0) +9 >Emitted(85, 34) Source(88, 34) + SourceIndex(0) +10>Emitted(85, 41) Source(88, 41) + SourceIndex(0) +11>Emitted(85, 43) Source(88, 43) + SourceIndex(0) +12>Emitted(85, 53) Source(88, 53) + SourceIndex(0) +13>Emitted(85, 55) Source(88, 55) + SourceIndex(0) +14>Emitted(85, 64) Source(88, 64) + SourceIndex(0) +15>Emitted(85, 66) Source(88, 66) + SourceIndex(0) +16>Emitted(85, 74) Source(88, 74) + SourceIndex(0) +17>Emitted(85, 76) Source(88, 76) + SourceIndex(0) +18>Emitted(85, 78) Source(88, 78) + SourceIndex(0) +19>Emitted(85, 79) Source(88, 79) + SourceIndex(0) +20>Emitted(85, 81) Source(87, 78) + SourceIndex(0) +21>Emitted(85, 97) Source(88, 79) + SourceIndex(0) +22>Emitted(85, 99) Source(87, 78) + SourceIndex(0) +23>Emitted(85, 104) Source(88, 79) + SourceIndex(0) +24>Emitted(85, 106) Source(88, 81) + SourceIndex(0) +25>Emitted(85, 107) Source(88, 82) + SourceIndex(0) --- >>> _p = _28[_27], nameA = _p.name, _q = _p.skills, primaryA = _q.primary, secondaryA = _q.secondary; 1 >^^^^^^^^^^^^^^^^^^^ @@ -2615,17 +2616,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > , secondary: 10> secondaryA 11> -1 >Emitted(85, 20) Source(87, 13) + SourceIndex(0) -2 >Emitted(85, 25) Source(87, 18) + SourceIndex(0) -3 >Emitted(85, 35) Source(87, 18) + SourceIndex(0) -4 >Emitted(85, 37) Source(87, 20) + SourceIndex(0) -5 >Emitted(85, 51) Source(87, 72) + SourceIndex(0) -6 >Emitted(85, 53) Source(87, 39) + SourceIndex(0) -7 >Emitted(85, 61) Source(87, 47) + SourceIndex(0) -8 >Emitted(85, 74) Source(87, 47) + SourceIndex(0) -9 >Emitted(85, 76) Source(87, 60) + SourceIndex(0) -10>Emitted(85, 86) Source(87, 70) + SourceIndex(0) -11>Emitted(85, 101) Source(87, 70) + SourceIndex(0) +1 >Emitted(86, 20) Source(87, 13) + SourceIndex(0) +2 >Emitted(86, 25) Source(87, 18) + SourceIndex(0) +3 >Emitted(86, 35) Source(87, 18) + SourceIndex(0) +4 >Emitted(86, 37) Source(87, 20) + SourceIndex(0) +5 >Emitted(86, 51) Source(87, 72) + SourceIndex(0) +6 >Emitted(86, 53) Source(87, 39) + SourceIndex(0) +7 >Emitted(86, 61) Source(87, 47) + SourceIndex(0) +8 >Emitted(86, 74) Source(87, 47) + SourceIndex(0) +9 >Emitted(86, 76) Source(87, 60) + SourceIndex(0) +10>Emitted(86, 86) Source(87, 70) + SourceIndex(0) +11>Emitted(86, 101) Source(87, 70) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2646,14 +2647,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(86, 5) Source(89, 5) + SourceIndex(0) -2 >Emitted(86, 12) Source(89, 12) + SourceIndex(0) -3 >Emitted(86, 13) Source(89, 13) + SourceIndex(0) -4 >Emitted(86, 16) Source(89, 16) + SourceIndex(0) -5 >Emitted(86, 17) Source(89, 17) + SourceIndex(0) -6 >Emitted(86, 22) Source(89, 22) + SourceIndex(0) -7 >Emitted(86, 23) Source(89, 23) + SourceIndex(0) -8 >Emitted(86, 24) Source(89, 24) + SourceIndex(0) +1 >Emitted(87, 5) Source(89, 5) + SourceIndex(0) +2 >Emitted(87, 12) Source(89, 12) + SourceIndex(0) +3 >Emitted(87, 13) Source(89, 13) + SourceIndex(0) +4 >Emitted(87, 16) Source(89, 16) + SourceIndex(0) +5 >Emitted(87, 17) Source(89, 17) + SourceIndex(0) +6 >Emitted(87, 22) Source(89, 22) + SourceIndex(0) +7 >Emitted(87, 23) Source(89, 23) + SourceIndex(0) +8 >Emitted(87, 24) Source(89, 24) + SourceIndex(0) --- >>>} 1 > @@ -2662,8 +2663,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(87, 1) Source(90, 1) + SourceIndex(0) -2 >Emitted(87, 2) Source(90, 2) + SourceIndex(0) +1 >Emitted(88, 1) Source(90, 1) + SourceIndex(0) +2 >Emitted(88, 2) Source(90, 2) + SourceIndex(0) --- >>>for (var _29 = 0, robots_4 = robots; _29 < robots_4.length; _29++) { 1-> @@ -2689,17 +2690,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > robots 10> ) 11> { -1->Emitted(88, 1) Source(91, 1) + SourceIndex(0) -2 >Emitted(88, 6) Source(91, 24) + SourceIndex(0) -3 >Emitted(88, 17) Source(91, 30) + SourceIndex(0) -4 >Emitted(88, 19) Source(91, 24) + SourceIndex(0) -5 >Emitted(88, 36) Source(91, 30) + SourceIndex(0) -6 >Emitted(88, 38) Source(91, 24) + SourceIndex(0) -7 >Emitted(88, 59) Source(91, 30) + SourceIndex(0) -8 >Emitted(88, 61) Source(91, 24) + SourceIndex(0) -9 >Emitted(88, 66) Source(91, 30) + SourceIndex(0) -10>Emitted(88, 68) Source(91, 32) + SourceIndex(0) -11>Emitted(88, 69) Source(91, 33) + SourceIndex(0) +1->Emitted(89, 1) Source(91, 1) + SourceIndex(0) +2 >Emitted(89, 6) Source(91, 24) + SourceIndex(0) +3 >Emitted(89, 17) Source(91, 30) + SourceIndex(0) +4 >Emitted(89, 19) Source(91, 24) + SourceIndex(0) +5 >Emitted(89, 36) Source(91, 30) + SourceIndex(0) +6 >Emitted(89, 38) Source(91, 24) + SourceIndex(0) +7 >Emitted(89, 59) Source(91, 30) + SourceIndex(0) +8 >Emitted(89, 61) Source(91, 24) + SourceIndex(0) +9 >Emitted(89, 66) Source(91, 30) + SourceIndex(0) +10>Emitted(89, 68) Source(91, 32) + SourceIndex(0) +11>Emitted(89, 69) Source(91, 33) + SourceIndex(0) --- >>> _r = robots_4[_29], name = _r.name, skill = _r.skill; 1 >^^^^^^^^^^^^^^^^^^^^^^^^ @@ -2714,12 +2715,12 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 4 > , 5 > skill 6 > -1 >Emitted(89, 25) Source(91, 7) + SourceIndex(0) -2 >Emitted(89, 29) Source(91, 11) + SourceIndex(0) -3 >Emitted(89, 39) Source(91, 11) + SourceIndex(0) -4 >Emitted(89, 41) Source(91, 13) + SourceIndex(0) -5 >Emitted(89, 46) Source(91, 18) + SourceIndex(0) -6 >Emitted(89, 57) Source(91, 18) + SourceIndex(0) +1 >Emitted(90, 25) Source(91, 7) + SourceIndex(0) +2 >Emitted(90, 29) Source(91, 11) + SourceIndex(0) +3 >Emitted(90, 39) Source(91, 11) + SourceIndex(0) +4 >Emitted(90, 41) Source(91, 13) + SourceIndex(0) +5 >Emitted(90, 46) Source(91, 18) + SourceIndex(0) +6 >Emitted(90, 57) Source(91, 18) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2739,14 +2740,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(90, 5) Source(92, 5) + SourceIndex(0) -2 >Emitted(90, 12) Source(92, 12) + SourceIndex(0) -3 >Emitted(90, 13) Source(92, 13) + SourceIndex(0) -4 >Emitted(90, 16) Source(92, 16) + SourceIndex(0) -5 >Emitted(90, 17) Source(92, 17) + SourceIndex(0) -6 >Emitted(90, 22) Source(92, 22) + SourceIndex(0) -7 >Emitted(90, 23) Source(92, 23) + SourceIndex(0) -8 >Emitted(90, 24) Source(92, 24) + SourceIndex(0) +1 >Emitted(91, 5) Source(92, 5) + SourceIndex(0) +2 >Emitted(91, 12) Source(92, 12) + SourceIndex(0) +3 >Emitted(91, 13) Source(92, 13) + SourceIndex(0) +4 >Emitted(91, 16) Source(92, 16) + SourceIndex(0) +5 >Emitted(91, 17) Source(92, 17) + SourceIndex(0) +6 >Emitted(91, 22) Source(92, 22) + SourceIndex(0) +7 >Emitted(91, 23) Source(92, 23) + SourceIndex(0) +8 >Emitted(91, 24) Source(92, 24) + SourceIndex(0) --- >>>} 1 > @@ -2755,8 +2756,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(91, 1) Source(93, 1) + SourceIndex(0) -2 >Emitted(91, 2) Source(93, 2) + SourceIndex(0) +1 >Emitted(92, 1) Source(93, 1) + SourceIndex(0) +2 >Emitted(92, 2) Source(93, 2) + SourceIndex(0) --- >>>for (var _30 = 0, _31 = getRobots(); _30 < _31.length; _30++) { 1-> @@ -2786,19 +2787,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 11> getRobots() 12> ) 13> { -1->Emitted(92, 1) Source(94, 1) + SourceIndex(0) -2 >Emitted(92, 6) Source(94, 24) + SourceIndex(0) -3 >Emitted(92, 17) Source(94, 35) + SourceIndex(0) -4 >Emitted(92, 19) Source(94, 24) + SourceIndex(0) -5 >Emitted(92, 25) Source(94, 24) + SourceIndex(0) -6 >Emitted(92, 34) Source(94, 33) + SourceIndex(0) -7 >Emitted(92, 36) Source(94, 35) + SourceIndex(0) -8 >Emitted(92, 38) Source(94, 24) + SourceIndex(0) -9 >Emitted(92, 54) Source(94, 35) + SourceIndex(0) -10>Emitted(92, 56) Source(94, 24) + SourceIndex(0) -11>Emitted(92, 61) Source(94, 35) + SourceIndex(0) -12>Emitted(92, 63) Source(94, 37) + SourceIndex(0) -13>Emitted(92, 64) Source(94, 38) + SourceIndex(0) +1->Emitted(93, 1) Source(94, 1) + SourceIndex(0) +2 >Emitted(93, 6) Source(94, 24) + SourceIndex(0) +3 >Emitted(93, 17) Source(94, 35) + SourceIndex(0) +4 >Emitted(93, 19) Source(94, 24) + SourceIndex(0) +5 >Emitted(93, 25) Source(94, 24) + SourceIndex(0) +6 >Emitted(93, 34) Source(94, 33) + SourceIndex(0) +7 >Emitted(93, 36) Source(94, 35) + SourceIndex(0) +8 >Emitted(93, 38) Source(94, 24) + SourceIndex(0) +9 >Emitted(93, 54) Source(94, 35) + SourceIndex(0) +10>Emitted(93, 56) Source(94, 24) + SourceIndex(0) +11>Emitted(93, 61) Source(94, 35) + SourceIndex(0) +12>Emitted(93, 63) Source(94, 37) + SourceIndex(0) +13>Emitted(93, 64) Source(94, 38) + SourceIndex(0) --- >>> _s = _31[_30], name = _s.name, skill = _s.skill; 1 >^^^^^^^^^^^^^^^^^^^ @@ -2813,12 +2814,12 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 4 > , 5 > skill 6 > -1 >Emitted(93, 20) Source(94, 7) + SourceIndex(0) -2 >Emitted(93, 24) Source(94, 11) + SourceIndex(0) -3 >Emitted(93, 34) Source(94, 11) + SourceIndex(0) -4 >Emitted(93, 36) Source(94, 13) + SourceIndex(0) -5 >Emitted(93, 41) Source(94, 18) + SourceIndex(0) -6 >Emitted(93, 52) Source(94, 18) + SourceIndex(0) +1 >Emitted(94, 20) Source(94, 7) + SourceIndex(0) +2 >Emitted(94, 24) Source(94, 11) + SourceIndex(0) +3 >Emitted(94, 34) Source(94, 11) + SourceIndex(0) +4 >Emitted(94, 36) Source(94, 13) + SourceIndex(0) +5 >Emitted(94, 41) Source(94, 18) + SourceIndex(0) +6 >Emitted(94, 52) Source(94, 18) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2838,14 +2839,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(94, 5) Source(95, 5) + SourceIndex(0) -2 >Emitted(94, 12) Source(95, 12) + SourceIndex(0) -3 >Emitted(94, 13) Source(95, 13) + SourceIndex(0) -4 >Emitted(94, 16) Source(95, 16) + SourceIndex(0) -5 >Emitted(94, 17) Source(95, 17) + SourceIndex(0) -6 >Emitted(94, 22) Source(95, 22) + SourceIndex(0) -7 >Emitted(94, 23) Source(95, 23) + SourceIndex(0) -8 >Emitted(94, 24) Source(95, 24) + SourceIndex(0) +1 >Emitted(95, 5) Source(95, 5) + SourceIndex(0) +2 >Emitted(95, 12) Source(95, 12) + SourceIndex(0) +3 >Emitted(95, 13) Source(95, 13) + SourceIndex(0) +4 >Emitted(95, 16) Source(95, 16) + SourceIndex(0) +5 >Emitted(95, 17) Source(95, 17) + SourceIndex(0) +6 >Emitted(95, 22) Source(95, 22) + SourceIndex(0) +7 >Emitted(95, 23) Source(95, 23) + SourceIndex(0) +8 >Emitted(95, 24) Source(95, 24) + SourceIndex(0) --- >>>} 1 > @@ -2854,8 +2855,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(95, 1) Source(96, 1) + SourceIndex(0) -2 >Emitted(95, 2) Source(96, 2) + SourceIndex(0) +1 >Emitted(96, 1) Source(96, 1) + SourceIndex(0) +2 >Emitted(96, 2) Source(96, 2) + SourceIndex(0) --- >>>for (var _32 = 0, _33 = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _32 < _33.length; _32++) { 1-> @@ -2921,37 +2922,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(96, 1) Source(97, 1) + SourceIndex(0) -2 >Emitted(96, 6) Source(97, 24) + SourceIndex(0) -3 >Emitted(96, 17) Source(97, 100) + SourceIndex(0) -4 >Emitted(96, 19) Source(97, 24) + SourceIndex(0) -5 >Emitted(96, 26) Source(97, 25) + SourceIndex(0) -6 >Emitted(96, 28) Source(97, 27) + SourceIndex(0) -7 >Emitted(96, 32) Source(97, 31) + SourceIndex(0) -8 >Emitted(96, 34) Source(97, 33) + SourceIndex(0) -9 >Emitted(96, 41) Source(97, 40) + SourceIndex(0) -10>Emitted(96, 43) Source(97, 42) + SourceIndex(0) -11>Emitted(96, 48) Source(97, 47) + SourceIndex(0) -12>Emitted(96, 50) Source(97, 49) + SourceIndex(0) -13>Emitted(96, 58) Source(97, 57) + SourceIndex(0) -14>Emitted(96, 60) Source(97, 59) + SourceIndex(0) -15>Emitted(96, 62) Source(97, 61) + SourceIndex(0) -16>Emitted(96, 64) Source(97, 63) + SourceIndex(0) -17>Emitted(96, 68) Source(97, 67) + SourceIndex(0) -18>Emitted(96, 70) Source(97, 69) + SourceIndex(0) -19>Emitted(96, 79) Source(97, 78) + SourceIndex(0) -20>Emitted(96, 81) Source(97, 80) + SourceIndex(0) -21>Emitted(96, 86) Source(97, 85) + SourceIndex(0) -22>Emitted(96, 88) Source(97, 87) + SourceIndex(0) -23>Emitted(96, 98) Source(97, 97) + SourceIndex(0) -24>Emitted(96, 100) Source(97, 99) + SourceIndex(0) -25>Emitted(96, 101) Source(97, 100) + SourceIndex(0) -26>Emitted(96, 103) Source(97, 24) + SourceIndex(0) -27>Emitted(96, 119) Source(97, 100) + SourceIndex(0) -28>Emitted(96, 121) Source(97, 24) + SourceIndex(0) -29>Emitted(96, 126) Source(97, 100) + SourceIndex(0) -30>Emitted(96, 128) Source(97, 102) + SourceIndex(0) -31>Emitted(96, 129) Source(97, 103) + SourceIndex(0) +1->Emitted(97, 1) Source(97, 1) + SourceIndex(0) +2 >Emitted(97, 6) Source(97, 24) + SourceIndex(0) +3 >Emitted(97, 17) Source(97, 100) + SourceIndex(0) +4 >Emitted(97, 19) Source(97, 24) + SourceIndex(0) +5 >Emitted(97, 26) Source(97, 25) + SourceIndex(0) +6 >Emitted(97, 28) Source(97, 27) + SourceIndex(0) +7 >Emitted(97, 32) Source(97, 31) + SourceIndex(0) +8 >Emitted(97, 34) Source(97, 33) + SourceIndex(0) +9 >Emitted(97, 41) Source(97, 40) + SourceIndex(0) +10>Emitted(97, 43) Source(97, 42) + SourceIndex(0) +11>Emitted(97, 48) Source(97, 47) + SourceIndex(0) +12>Emitted(97, 50) Source(97, 49) + SourceIndex(0) +13>Emitted(97, 58) Source(97, 57) + SourceIndex(0) +14>Emitted(97, 60) Source(97, 59) + SourceIndex(0) +15>Emitted(97, 62) Source(97, 61) + SourceIndex(0) +16>Emitted(97, 64) Source(97, 63) + SourceIndex(0) +17>Emitted(97, 68) Source(97, 67) + SourceIndex(0) +18>Emitted(97, 70) Source(97, 69) + SourceIndex(0) +19>Emitted(97, 79) Source(97, 78) + SourceIndex(0) +20>Emitted(97, 81) Source(97, 80) + SourceIndex(0) +21>Emitted(97, 86) Source(97, 85) + SourceIndex(0) +22>Emitted(97, 88) Source(97, 87) + SourceIndex(0) +23>Emitted(97, 98) Source(97, 97) + SourceIndex(0) +24>Emitted(97, 100) Source(97, 99) + SourceIndex(0) +25>Emitted(97, 101) Source(97, 100) + SourceIndex(0) +26>Emitted(97, 103) Source(97, 24) + SourceIndex(0) +27>Emitted(97, 119) Source(97, 100) + SourceIndex(0) +28>Emitted(97, 121) Source(97, 24) + SourceIndex(0) +29>Emitted(97, 126) Source(97, 100) + SourceIndex(0) +30>Emitted(97, 128) Source(97, 102) + SourceIndex(0) +31>Emitted(97, 129) Source(97, 103) + SourceIndex(0) --- >>> _t = _33[_32], name = _t.name, skill = _t.skill; 1 >^^^^^^^^^^^^^^^^^^^ @@ -2966,12 +2967,12 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 4 > , 5 > skill 6 > -1 >Emitted(97, 20) Source(97, 7) + SourceIndex(0) -2 >Emitted(97, 24) Source(97, 11) + SourceIndex(0) -3 >Emitted(97, 34) Source(97, 11) + SourceIndex(0) -4 >Emitted(97, 36) Source(97, 13) + SourceIndex(0) -5 >Emitted(97, 41) Source(97, 18) + SourceIndex(0) -6 >Emitted(97, 52) Source(97, 18) + SourceIndex(0) +1 >Emitted(98, 20) Source(97, 7) + SourceIndex(0) +2 >Emitted(98, 24) Source(97, 11) + SourceIndex(0) +3 >Emitted(98, 34) Source(97, 11) + SourceIndex(0) +4 >Emitted(98, 36) Source(97, 13) + SourceIndex(0) +5 >Emitted(98, 41) Source(97, 18) + SourceIndex(0) +6 >Emitted(98, 52) Source(97, 18) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2991,14 +2992,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(98, 5) Source(98, 5) + SourceIndex(0) -2 >Emitted(98, 12) Source(98, 12) + SourceIndex(0) -3 >Emitted(98, 13) Source(98, 13) + SourceIndex(0) -4 >Emitted(98, 16) Source(98, 16) + SourceIndex(0) -5 >Emitted(98, 17) Source(98, 17) + SourceIndex(0) -6 >Emitted(98, 22) Source(98, 22) + SourceIndex(0) -7 >Emitted(98, 23) Source(98, 23) + SourceIndex(0) -8 >Emitted(98, 24) Source(98, 24) + SourceIndex(0) +1 >Emitted(99, 5) Source(98, 5) + SourceIndex(0) +2 >Emitted(99, 12) Source(98, 12) + SourceIndex(0) +3 >Emitted(99, 13) Source(98, 13) + SourceIndex(0) +4 >Emitted(99, 16) Source(98, 16) + SourceIndex(0) +5 >Emitted(99, 17) Source(98, 17) + SourceIndex(0) +6 >Emitted(99, 22) Source(98, 22) + SourceIndex(0) +7 >Emitted(99, 23) Source(98, 23) + SourceIndex(0) +8 >Emitted(99, 24) Source(98, 24) + SourceIndex(0) --- >>>} 1 > @@ -3007,8 +3008,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(99, 1) Source(99, 1) + SourceIndex(0) -2 >Emitted(99, 2) Source(99, 2) + SourceIndex(0) +1 >Emitted(100, 1) Source(99, 1) + SourceIndex(0) +2 >Emitted(100, 2) Source(99, 2) + SourceIndex(0) --- >>>for (var _34 = 0, multiRobots_4 = multiRobots; _34 < multiRobots_4.length; _34++) { 1-> @@ -3035,17 +3036,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > multiRobots 10> ) 11> { -1->Emitted(100, 1) Source(100, 1) + SourceIndex(0) -2 >Emitted(100, 6) Source(100, 49) + SourceIndex(0) -3 >Emitted(100, 17) Source(100, 60) + SourceIndex(0) -4 >Emitted(100, 19) Source(100, 49) + SourceIndex(0) -5 >Emitted(100, 46) Source(100, 60) + SourceIndex(0) -6 >Emitted(100, 48) Source(100, 49) + SourceIndex(0) -7 >Emitted(100, 74) Source(100, 60) + SourceIndex(0) -8 >Emitted(100, 76) Source(100, 49) + SourceIndex(0) -9 >Emitted(100, 81) Source(100, 60) + SourceIndex(0) -10>Emitted(100, 83) Source(100, 62) + SourceIndex(0) -11>Emitted(100, 84) Source(100, 63) + SourceIndex(0) +1->Emitted(101, 1) Source(100, 1) + SourceIndex(0) +2 >Emitted(101, 6) Source(100, 49) + SourceIndex(0) +3 >Emitted(101, 17) Source(100, 60) + SourceIndex(0) +4 >Emitted(101, 19) Source(100, 49) + SourceIndex(0) +5 >Emitted(101, 46) Source(100, 60) + SourceIndex(0) +6 >Emitted(101, 48) Source(100, 49) + SourceIndex(0) +7 >Emitted(101, 74) Source(100, 60) + SourceIndex(0) +8 >Emitted(101, 76) Source(100, 49) + SourceIndex(0) +9 >Emitted(101, 81) Source(100, 60) + SourceIndex(0) +10>Emitted(101, 83) Source(100, 62) + SourceIndex(0) +11>Emitted(101, 84) Source(100, 63) + SourceIndex(0) --- >>> _u = multiRobots_4[_34], name = _u.name, _v = _u.skills, primary = _v.primary, secondary = _v.secondary; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -3070,17 +3071,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > , 10> secondary 11> -1->Emitted(101, 30) Source(100, 7) + SourceIndex(0) -2 >Emitted(101, 34) Source(100, 11) + SourceIndex(0) -3 >Emitted(101, 44) Source(100, 11) + SourceIndex(0) -4 >Emitted(101, 46) Source(100, 13) + SourceIndex(0) -5 >Emitted(101, 60) Source(100, 43) + SourceIndex(0) -6 >Emitted(101, 62) Source(100, 23) + SourceIndex(0) -7 >Emitted(101, 69) Source(100, 30) + SourceIndex(0) -8 >Emitted(101, 82) Source(100, 30) + SourceIndex(0) -9 >Emitted(101, 84) Source(100, 32) + SourceIndex(0) -10>Emitted(101, 93) Source(100, 41) + SourceIndex(0) -11>Emitted(101, 108) Source(100, 41) + SourceIndex(0) +1->Emitted(102, 30) Source(100, 7) + SourceIndex(0) +2 >Emitted(102, 34) Source(100, 11) + SourceIndex(0) +3 >Emitted(102, 44) Source(100, 11) + SourceIndex(0) +4 >Emitted(102, 46) Source(100, 13) + SourceIndex(0) +5 >Emitted(102, 60) Source(100, 43) + SourceIndex(0) +6 >Emitted(102, 62) Source(100, 23) + SourceIndex(0) +7 >Emitted(102, 69) Source(100, 30) + SourceIndex(0) +8 >Emitted(102, 82) Source(100, 30) + SourceIndex(0) +9 >Emitted(102, 84) Source(100, 32) + SourceIndex(0) +10>Emitted(102, 93) Source(100, 41) + SourceIndex(0) +11>Emitted(102, 108) Source(100, 41) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -3100,14 +3101,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(102, 5) Source(101, 5) + SourceIndex(0) -2 >Emitted(102, 12) Source(101, 12) + SourceIndex(0) -3 >Emitted(102, 13) Source(101, 13) + SourceIndex(0) -4 >Emitted(102, 16) Source(101, 16) + SourceIndex(0) -5 >Emitted(102, 17) Source(101, 17) + SourceIndex(0) -6 >Emitted(102, 22) Source(101, 22) + SourceIndex(0) -7 >Emitted(102, 23) Source(101, 23) + SourceIndex(0) -8 >Emitted(102, 24) Source(101, 24) + SourceIndex(0) +1 >Emitted(103, 5) Source(101, 5) + SourceIndex(0) +2 >Emitted(103, 12) Source(101, 12) + SourceIndex(0) +3 >Emitted(103, 13) Source(101, 13) + SourceIndex(0) +4 >Emitted(103, 16) Source(101, 16) + SourceIndex(0) +5 >Emitted(103, 17) Source(101, 17) + SourceIndex(0) +6 >Emitted(103, 22) Source(101, 22) + SourceIndex(0) +7 >Emitted(103, 23) Source(101, 23) + SourceIndex(0) +8 >Emitted(103, 24) Source(101, 24) + SourceIndex(0) --- >>>} 1 > @@ -3116,8 +3117,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(103, 1) Source(102, 1) + SourceIndex(0) -2 >Emitted(103, 2) Source(102, 2) + SourceIndex(0) +1 >Emitted(104, 1) Source(102, 1) + SourceIndex(0) +2 >Emitted(104, 2) Source(102, 2) + SourceIndex(0) --- >>>for (var _35 = 0, _36 = getMultiRobots(); _35 < _36.length; _35++) { 1-> @@ -3148,19 +3149,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 11> getMultiRobots() 12> ) 13> { -1->Emitted(104, 1) Source(103, 1) + SourceIndex(0) -2 >Emitted(104, 6) Source(103, 49) + SourceIndex(0) -3 >Emitted(104, 17) Source(103, 65) + SourceIndex(0) -4 >Emitted(104, 19) Source(103, 49) + SourceIndex(0) -5 >Emitted(104, 25) Source(103, 49) + SourceIndex(0) -6 >Emitted(104, 39) Source(103, 63) + SourceIndex(0) -7 >Emitted(104, 41) Source(103, 65) + SourceIndex(0) -8 >Emitted(104, 43) Source(103, 49) + SourceIndex(0) -9 >Emitted(104, 59) Source(103, 65) + SourceIndex(0) -10>Emitted(104, 61) Source(103, 49) + SourceIndex(0) -11>Emitted(104, 66) Source(103, 65) + SourceIndex(0) -12>Emitted(104, 68) Source(103, 67) + SourceIndex(0) -13>Emitted(104, 69) Source(103, 68) + SourceIndex(0) +1->Emitted(105, 1) Source(103, 1) + SourceIndex(0) +2 >Emitted(105, 6) Source(103, 49) + SourceIndex(0) +3 >Emitted(105, 17) Source(103, 65) + SourceIndex(0) +4 >Emitted(105, 19) Source(103, 49) + SourceIndex(0) +5 >Emitted(105, 25) Source(103, 49) + SourceIndex(0) +6 >Emitted(105, 39) Source(103, 63) + SourceIndex(0) +7 >Emitted(105, 41) Source(103, 65) + SourceIndex(0) +8 >Emitted(105, 43) Source(103, 49) + SourceIndex(0) +9 >Emitted(105, 59) Source(103, 65) + SourceIndex(0) +10>Emitted(105, 61) Source(103, 49) + SourceIndex(0) +11>Emitted(105, 66) Source(103, 65) + SourceIndex(0) +12>Emitted(105, 68) Source(103, 67) + SourceIndex(0) +13>Emitted(105, 69) Source(103, 68) + SourceIndex(0) --- >>> _w = _36[_35], name = _w.name, _x = _w.skills, primary = _x.primary, secondary = _x.secondary; 1->^^^^^^^^^^^^^^^^^^^ @@ -3185,17 +3186,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > , 10> secondary 11> -1->Emitted(105, 20) Source(103, 7) + SourceIndex(0) -2 >Emitted(105, 24) Source(103, 11) + SourceIndex(0) -3 >Emitted(105, 34) Source(103, 11) + SourceIndex(0) -4 >Emitted(105, 36) Source(103, 13) + SourceIndex(0) -5 >Emitted(105, 50) Source(103, 43) + SourceIndex(0) -6 >Emitted(105, 52) Source(103, 23) + SourceIndex(0) -7 >Emitted(105, 59) Source(103, 30) + SourceIndex(0) -8 >Emitted(105, 72) Source(103, 30) + SourceIndex(0) -9 >Emitted(105, 74) Source(103, 32) + SourceIndex(0) -10>Emitted(105, 83) Source(103, 41) + SourceIndex(0) -11>Emitted(105, 98) Source(103, 41) + SourceIndex(0) +1->Emitted(106, 20) Source(103, 7) + SourceIndex(0) +2 >Emitted(106, 24) Source(103, 11) + SourceIndex(0) +3 >Emitted(106, 34) Source(103, 11) + SourceIndex(0) +4 >Emitted(106, 36) Source(103, 13) + SourceIndex(0) +5 >Emitted(106, 50) Source(103, 43) + SourceIndex(0) +6 >Emitted(106, 52) Source(103, 23) + SourceIndex(0) +7 >Emitted(106, 59) Source(103, 30) + SourceIndex(0) +8 >Emitted(106, 72) Source(103, 30) + SourceIndex(0) +9 >Emitted(106, 74) Source(103, 32) + SourceIndex(0) +10>Emitted(106, 83) Source(103, 41) + SourceIndex(0) +11>Emitted(106, 98) Source(103, 41) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -3215,14 +3216,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(106, 5) Source(104, 5) + SourceIndex(0) -2 >Emitted(106, 12) Source(104, 12) + SourceIndex(0) -3 >Emitted(106, 13) Source(104, 13) + SourceIndex(0) -4 >Emitted(106, 16) Source(104, 16) + SourceIndex(0) -5 >Emitted(106, 17) Source(104, 17) + SourceIndex(0) -6 >Emitted(106, 22) Source(104, 22) + SourceIndex(0) -7 >Emitted(106, 23) Source(104, 23) + SourceIndex(0) -8 >Emitted(106, 24) Source(104, 24) + SourceIndex(0) +1 >Emitted(107, 5) Source(104, 5) + SourceIndex(0) +2 >Emitted(107, 12) Source(104, 12) + SourceIndex(0) +3 >Emitted(107, 13) Source(104, 13) + SourceIndex(0) +4 >Emitted(107, 16) Source(104, 16) + SourceIndex(0) +5 >Emitted(107, 17) Source(104, 17) + SourceIndex(0) +6 >Emitted(107, 22) Source(104, 22) + SourceIndex(0) +7 >Emitted(107, 23) Source(104, 23) + SourceIndex(0) +8 >Emitted(107, 24) Source(104, 24) + SourceIndex(0) --- >>>} 1 > @@ -3231,8 +3232,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(107, 1) Source(105, 1) + SourceIndex(0) -2 >Emitted(107, 2) Source(105, 2) + SourceIndex(0) +1 >Emitted(108, 1) Source(105, 1) + SourceIndex(0) +2 >Emitted(108, 2) Source(105, 2) + SourceIndex(0) --- >>>for (var _37 = 0, _38 = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -3282,28 +3283,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 20> "none" 21> } 22> } -1->Emitted(108, 1) Source(106, 1) + SourceIndex(0) -2 >Emitted(108, 6) Source(106, 49) + SourceIndex(0) -3 >Emitted(108, 17) Source(107, 79) + SourceIndex(0) -4 >Emitted(108, 19) Source(106, 49) + SourceIndex(0) -5 >Emitted(108, 26) Source(106, 50) + SourceIndex(0) -6 >Emitted(108, 28) Source(106, 52) + SourceIndex(0) -7 >Emitted(108, 32) Source(106, 56) + SourceIndex(0) -8 >Emitted(108, 34) Source(106, 58) + SourceIndex(0) -9 >Emitted(108, 41) Source(106, 65) + SourceIndex(0) -10>Emitted(108, 43) Source(106, 67) + SourceIndex(0) -11>Emitted(108, 49) Source(106, 73) + SourceIndex(0) -12>Emitted(108, 51) Source(106, 75) + SourceIndex(0) -13>Emitted(108, 53) Source(106, 77) + SourceIndex(0) -14>Emitted(108, 60) Source(106, 84) + SourceIndex(0) -15>Emitted(108, 62) Source(106, 86) + SourceIndex(0) -16>Emitted(108, 70) Source(106, 94) + SourceIndex(0) -17>Emitted(108, 72) Source(106, 96) + SourceIndex(0) -18>Emitted(108, 81) Source(106, 105) + SourceIndex(0) -19>Emitted(108, 83) Source(106, 107) + SourceIndex(0) -20>Emitted(108, 89) Source(106, 113) + SourceIndex(0) -21>Emitted(108, 91) Source(106, 115) + SourceIndex(0) -22>Emitted(108, 93) Source(106, 117) + SourceIndex(0) +1->Emitted(109, 1) Source(106, 1) + SourceIndex(0) +2 >Emitted(109, 6) Source(106, 49) + SourceIndex(0) +3 >Emitted(109, 17) Source(107, 79) + SourceIndex(0) +4 >Emitted(109, 19) Source(106, 49) + SourceIndex(0) +5 >Emitted(109, 26) Source(106, 50) + SourceIndex(0) +6 >Emitted(109, 28) Source(106, 52) + SourceIndex(0) +7 >Emitted(109, 32) Source(106, 56) + SourceIndex(0) +8 >Emitted(109, 34) Source(106, 58) + SourceIndex(0) +9 >Emitted(109, 41) Source(106, 65) + SourceIndex(0) +10>Emitted(109, 43) Source(106, 67) + SourceIndex(0) +11>Emitted(109, 49) Source(106, 73) + SourceIndex(0) +12>Emitted(109, 51) Source(106, 75) + SourceIndex(0) +13>Emitted(109, 53) Source(106, 77) + SourceIndex(0) +14>Emitted(109, 60) Source(106, 84) + SourceIndex(0) +15>Emitted(109, 62) Source(106, 86) + SourceIndex(0) +16>Emitted(109, 70) Source(106, 94) + SourceIndex(0) +17>Emitted(109, 72) Source(106, 96) + SourceIndex(0) +18>Emitted(109, 81) Source(106, 105) + SourceIndex(0) +19>Emitted(109, 83) Source(106, 107) + SourceIndex(0) +20>Emitted(109, 89) Source(106, 113) + SourceIndex(0) +21>Emitted(109, 91) Source(106, 115) + SourceIndex(0) +22>Emitted(109, 93) Source(106, 117) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _37 < _38.length; _37++) { 1->^^^^ @@ -3359,31 +3360,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(109, 5) Source(107, 5) + SourceIndex(0) -2 >Emitted(109, 7) Source(107, 7) + SourceIndex(0) -3 >Emitted(109, 11) Source(107, 11) + SourceIndex(0) -4 >Emitted(109, 13) Source(107, 13) + SourceIndex(0) -5 >Emitted(109, 22) Source(107, 22) + SourceIndex(0) -6 >Emitted(109, 24) Source(107, 24) + SourceIndex(0) -7 >Emitted(109, 30) Source(107, 30) + SourceIndex(0) -8 >Emitted(109, 32) Source(107, 32) + SourceIndex(0) -9 >Emitted(109, 34) Source(107, 34) + SourceIndex(0) -10>Emitted(109, 41) Source(107, 41) + SourceIndex(0) -11>Emitted(109, 43) Source(107, 43) + SourceIndex(0) -12>Emitted(109, 53) Source(107, 53) + SourceIndex(0) -13>Emitted(109, 55) Source(107, 55) + SourceIndex(0) -14>Emitted(109, 64) Source(107, 64) + SourceIndex(0) -15>Emitted(109, 66) Source(107, 66) + SourceIndex(0) -16>Emitted(109, 74) Source(107, 74) + SourceIndex(0) -17>Emitted(109, 76) Source(107, 76) + SourceIndex(0) -18>Emitted(109, 78) Source(107, 78) + SourceIndex(0) -19>Emitted(109, 79) Source(107, 79) + SourceIndex(0) -20>Emitted(109, 81) Source(106, 49) + SourceIndex(0) -21>Emitted(109, 97) Source(107, 79) + SourceIndex(0) -22>Emitted(109, 99) Source(106, 49) + SourceIndex(0) -23>Emitted(109, 104) Source(107, 79) + SourceIndex(0) -24>Emitted(109, 106) Source(107, 81) + SourceIndex(0) -25>Emitted(109, 107) Source(107, 82) + SourceIndex(0) +1->Emitted(110, 5) Source(107, 5) + SourceIndex(0) +2 >Emitted(110, 7) Source(107, 7) + SourceIndex(0) +3 >Emitted(110, 11) Source(107, 11) + SourceIndex(0) +4 >Emitted(110, 13) Source(107, 13) + SourceIndex(0) +5 >Emitted(110, 22) Source(107, 22) + SourceIndex(0) +6 >Emitted(110, 24) Source(107, 24) + SourceIndex(0) +7 >Emitted(110, 30) Source(107, 30) + SourceIndex(0) +8 >Emitted(110, 32) Source(107, 32) + SourceIndex(0) +9 >Emitted(110, 34) Source(107, 34) + SourceIndex(0) +10>Emitted(110, 41) Source(107, 41) + SourceIndex(0) +11>Emitted(110, 43) Source(107, 43) + SourceIndex(0) +12>Emitted(110, 53) Source(107, 53) + SourceIndex(0) +13>Emitted(110, 55) Source(107, 55) + SourceIndex(0) +14>Emitted(110, 64) Source(107, 64) + SourceIndex(0) +15>Emitted(110, 66) Source(107, 66) + SourceIndex(0) +16>Emitted(110, 74) Source(107, 74) + SourceIndex(0) +17>Emitted(110, 76) Source(107, 76) + SourceIndex(0) +18>Emitted(110, 78) Source(107, 78) + SourceIndex(0) +19>Emitted(110, 79) Source(107, 79) + SourceIndex(0) +20>Emitted(110, 81) Source(106, 49) + SourceIndex(0) +21>Emitted(110, 97) Source(107, 79) + SourceIndex(0) +22>Emitted(110, 99) Source(106, 49) + SourceIndex(0) +23>Emitted(110, 104) Source(107, 79) + SourceIndex(0) +24>Emitted(110, 106) Source(107, 81) + SourceIndex(0) +25>Emitted(110, 107) Source(107, 82) + SourceIndex(0) --- >>> _y = _38[_37], name = _y.name, _z = _y.skills, primary = _z.primary, secondary = _z.secondary; 1 >^^^^^^^^^^^^^^^^^^^ @@ -3408,17 +3409,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 9 > , 10> secondary 11> -1 >Emitted(110, 20) Source(106, 7) + SourceIndex(0) -2 >Emitted(110, 24) Source(106, 11) + SourceIndex(0) -3 >Emitted(110, 34) Source(106, 11) + SourceIndex(0) -4 >Emitted(110, 36) Source(106, 13) + SourceIndex(0) -5 >Emitted(110, 50) Source(106, 43) + SourceIndex(0) -6 >Emitted(110, 52) Source(106, 23) + SourceIndex(0) -7 >Emitted(110, 59) Source(106, 30) + SourceIndex(0) -8 >Emitted(110, 72) Source(106, 30) + SourceIndex(0) -9 >Emitted(110, 74) Source(106, 32) + SourceIndex(0) -10>Emitted(110, 83) Source(106, 41) + SourceIndex(0) -11>Emitted(110, 98) Source(106, 41) + SourceIndex(0) +1 >Emitted(111, 20) Source(106, 7) + SourceIndex(0) +2 >Emitted(111, 24) Source(106, 11) + SourceIndex(0) +3 >Emitted(111, 34) Source(106, 11) + SourceIndex(0) +4 >Emitted(111, 36) Source(106, 13) + SourceIndex(0) +5 >Emitted(111, 50) Source(106, 43) + SourceIndex(0) +6 >Emitted(111, 52) Source(106, 23) + SourceIndex(0) +7 >Emitted(111, 59) Source(106, 30) + SourceIndex(0) +8 >Emitted(111, 72) Source(106, 30) + SourceIndex(0) +9 >Emitted(111, 74) Source(106, 32) + SourceIndex(0) +10>Emitted(111, 83) Source(106, 41) + SourceIndex(0) +11>Emitted(111, 98) Source(106, 41) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -3439,14 +3440,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 6 > nameA 7 > ) 8 > ; -1 >Emitted(111, 5) Source(108, 5) + SourceIndex(0) -2 >Emitted(111, 12) Source(108, 12) + SourceIndex(0) -3 >Emitted(111, 13) Source(108, 13) + SourceIndex(0) -4 >Emitted(111, 16) Source(108, 16) + SourceIndex(0) -5 >Emitted(111, 17) Source(108, 17) + SourceIndex(0) -6 >Emitted(111, 22) Source(108, 22) + SourceIndex(0) -7 >Emitted(111, 23) Source(108, 23) + SourceIndex(0) -8 >Emitted(111, 24) Source(108, 24) + SourceIndex(0) +1 >Emitted(112, 5) Source(108, 5) + SourceIndex(0) +2 >Emitted(112, 12) Source(108, 12) + SourceIndex(0) +3 >Emitted(112, 13) Source(108, 13) + SourceIndex(0) +4 >Emitted(112, 16) Source(108, 16) + SourceIndex(0) +5 >Emitted(112, 17) Source(108, 17) + SourceIndex(0) +6 >Emitted(112, 22) Source(108, 22) + SourceIndex(0) +7 >Emitted(112, 23) Source(108, 23) + SourceIndex(0) +8 >Emitted(112, 24) Source(108, 24) + SourceIndex(0) --- >>>} 1 > @@ -3455,7 +3456,7 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPattern2.ts 1 > > 2 >} -1 >Emitted(112, 1) Source(109, 1) + SourceIndex(0) -2 >Emitted(112, 2) Source(109, 2) + SourceIndex(0) +1 >Emitted(113, 1) Source(109, 1) + SourceIndex(0) +2 >Emitted(113, 2) Source(109, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForOfObjectBindingPattern2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js index 8ccb556392c60..76e3b76ef8bd7 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js @@ -92,6 +92,7 @@ for (let { } //// [sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js] +"use strict"; var robots = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; var multiRobots = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js.map index 415a353850aa2..aac4e7958e109 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js","sourceRoot":"","sources":["sour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m9Ta2lsbCIgfQp9IG9mIG11bHRpUm9ib3RzKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lQSk7Cn0KZm9yIChsZXQgewogICAgbmFtZTogbmFtZUEgPSAibm9OYW1lIiwKICAgIHNraWxsczogewogICAgICAgIHByaW1hcnk6IHByaW1hcnlBID0gInByaW1hcnkiLAogICAgICAgIHNlY29uZGFyeTogc2Vjb25kYXJ5QSA9ICJzZWNvbmRhcnkiCiAgICB9ID0geyBwcmltYXJ5OiAibm9Ta2lsbCIsIHNlY29uZGFyeTogIm5vU2tpbGwiIH0KfSBvZiBnZXRNdWx0aVJvYm90cygpKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lQSk7Cn0KZm9yIChsZXQgewogICAgbmFtZTogbmFtZUEgPSAibm9OYW1lIiwKICAgIHNraWxsczogewogICAgICAgIHByaW1hcnk6IHByaW1hcnlBID0gInByaW1hcnkiLAogICAgICAgIHNlY29uZGFyeTogc2Vjb25kYXJ5QSA9ICJzZWNvbmRhcnkiCiAgICB9ID0geyBwcmltYXJ5OiAibm9Ta2lsbCIsIHNlY29uZGFyeTogIm5vU2tpbGwiIH0KfSBvZiA8TXVsdGlSb2JvdFtdPlt7IG5hbWU6ICJtb3dlciIsIHNraWxsczogeyBwcmltYXJ5OiAibW93aW5nIiwgc2Vjb25kYXJ5OiAibm9uZSIgfSB9LAogICAgeyBuYW1lOiAidHJpbW1lciIsIHNraWxsczogeyBwcmltYXJ5OiAidHJpbW1pbmciLCBzZWNvbmRhcnk6ICJlZGdpbmciIH0gfV0pIHsKICAgIGNvbnNvbGUubG9nKG5hbWVBKTsKfQ== +{"version":3,"file":"sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.ts"],"names":[],"mappings":";AAgBA,IAAI,MAAM,GAAY,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,IA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Zm9yIChsZXQgewogICAgbmFtZTogbmFtZUEgPSAibm9OYW1lIiwKICAgIHNraWxsczogewogICAgICAgIHByaW1hcnk6IHByaW1hcnlBID0gInByaW1hcnkiLAogICAgICAgIHNlY29uZGFyeTogc2Vjb25kYXJ5QSA9ICJzZWNvbmRhcnkiCiAgICB9ID0geyBwcmltYXJ5OiAibm9Ta2lsbCIsIHNlY29uZGFyeTogIm5vU2tpbGwiIH0KfSBvZiBnZXRNdWx0aVJvYm90cygpKSB7CiAgICBjb25zb2xlLmxvZyhuYW1lQSk7Cn0KZm9yIChsZXQgewogICAgbmFtZTogbmFtZUEgPSAibm9OYW1lIiwKICAgIHNraWxsczogewogICAgICAgIHByaW1hcnk6IHByaW1hcnlBID0gInByaW1hcnkiLAogICAgICAgIHNlY29uZGFyeTogc2Vjb25kYXJ5QSA9ICJzZWNvbmRhcnkiCiAgICB9ID0geyBwcmltYXJ5OiAibm9Ta2lsbCIsIHNlY29uZGFyeTogIm5vU2tpbGwiIH0KfSBvZiA8TXVsdGlSb2JvdFtdPlt7IG5hbWU6ICJtb3dlciIsIHNraWxsczogeyBwcmltYXJ5OiAibW93aW5nIiwgc2Vjb25kYXJ5OiAibm9uZSIgfSB9LAogICAgeyBuYW1lOiAidHJpbW1lciIsIHNraWxsczogeyBwcmltYXJ5OiAidHJpbW1pbmciLCBzZWNvbmRhcnk6ICJlZGdpbmciIH0gfV0pIHsKICAgIGNvbnNvbGUubG9nKG5hbWVBKTsKfQ== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.sourcemap.txt index 5a86252220648..1a1f55424d817 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues. emittedFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robots = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; 1 > 2 >^^^^ @@ -77,32 +78,32 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 24> } 25> ] 26> ; -1 >Emitted(1, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(17, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(17, 23) + SourceIndex(0) -5 >Emitted(1, 15) Source(17, 24) + SourceIndex(0) -6 >Emitted(1, 17) Source(17, 26) + SourceIndex(0) -7 >Emitted(1, 21) Source(17, 30) + SourceIndex(0) -8 >Emitted(1, 23) Source(17, 32) + SourceIndex(0) -9 >Emitted(1, 30) Source(17, 39) + SourceIndex(0) -10>Emitted(1, 32) Source(17, 41) + SourceIndex(0) -11>Emitted(1, 37) Source(17, 46) + SourceIndex(0) -12>Emitted(1, 39) Source(17, 48) + SourceIndex(0) -13>Emitted(1, 47) Source(17, 56) + SourceIndex(0) -14>Emitted(1, 49) Source(17, 58) + SourceIndex(0) -15>Emitted(1, 51) Source(17, 60) + SourceIndex(0) -16>Emitted(1, 53) Source(17, 62) + SourceIndex(0) -17>Emitted(1, 57) Source(17, 66) + SourceIndex(0) -18>Emitted(1, 59) Source(17, 68) + SourceIndex(0) -19>Emitted(1, 68) Source(17, 77) + SourceIndex(0) -20>Emitted(1, 70) Source(17, 79) + SourceIndex(0) -21>Emitted(1, 75) Source(17, 84) + SourceIndex(0) -22>Emitted(1, 77) Source(17, 86) + SourceIndex(0) -23>Emitted(1, 87) Source(17, 96) + SourceIndex(0) -24>Emitted(1, 89) Source(17, 98) + SourceIndex(0) -25>Emitted(1, 90) Source(17, 99) + SourceIndex(0) -26>Emitted(1, 91) Source(17, 100) + SourceIndex(0) +1 >Emitted(2, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(17, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(17, 23) + SourceIndex(0) +5 >Emitted(2, 15) Source(17, 24) + SourceIndex(0) +6 >Emitted(2, 17) Source(17, 26) + SourceIndex(0) +7 >Emitted(2, 21) Source(17, 30) + SourceIndex(0) +8 >Emitted(2, 23) Source(17, 32) + SourceIndex(0) +9 >Emitted(2, 30) Source(17, 39) + SourceIndex(0) +10>Emitted(2, 32) Source(17, 41) + SourceIndex(0) +11>Emitted(2, 37) Source(17, 46) + SourceIndex(0) +12>Emitted(2, 39) Source(17, 48) + SourceIndex(0) +13>Emitted(2, 47) Source(17, 56) + SourceIndex(0) +14>Emitted(2, 49) Source(17, 58) + SourceIndex(0) +15>Emitted(2, 51) Source(17, 60) + SourceIndex(0) +16>Emitted(2, 53) Source(17, 62) + SourceIndex(0) +17>Emitted(2, 57) Source(17, 66) + SourceIndex(0) +18>Emitted(2, 59) Source(17, 68) + SourceIndex(0) +19>Emitted(2, 68) Source(17, 77) + SourceIndex(0) +20>Emitted(2, 70) Source(17, 79) + SourceIndex(0) +21>Emitted(2, 75) Source(17, 84) + SourceIndex(0) +22>Emitted(2, 77) Source(17, 86) + SourceIndex(0) +23>Emitted(2, 87) Source(17, 96) + SourceIndex(0) +24>Emitted(2, 89) Source(17, 98) + SourceIndex(0) +25>Emitted(2, 90) Source(17, 99) + SourceIndex(0) +26>Emitted(2, 91) Source(17, 100) + SourceIndex(0) --- >>>var multiRobots = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1 > @@ -150,28 +151,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 20> "none" 21> } 22> } -1 >Emitted(2, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(2, 16) Source(18, 16) + SourceIndex(0) -4 >Emitted(2, 19) Source(18, 33) + SourceIndex(0) -5 >Emitted(2, 20) Source(18, 34) + SourceIndex(0) -6 >Emitted(2, 22) Source(18, 36) + SourceIndex(0) -7 >Emitted(2, 26) Source(18, 40) + SourceIndex(0) -8 >Emitted(2, 28) Source(18, 42) + SourceIndex(0) -9 >Emitted(2, 35) Source(18, 49) + SourceIndex(0) -10>Emitted(2, 37) Source(18, 51) + SourceIndex(0) -11>Emitted(2, 43) Source(18, 57) + SourceIndex(0) -12>Emitted(2, 45) Source(18, 59) + SourceIndex(0) -13>Emitted(2, 47) Source(18, 61) + SourceIndex(0) -14>Emitted(2, 54) Source(18, 68) + SourceIndex(0) -15>Emitted(2, 56) Source(18, 70) + SourceIndex(0) -16>Emitted(2, 64) Source(18, 78) + SourceIndex(0) -17>Emitted(2, 66) Source(18, 80) + SourceIndex(0) -18>Emitted(2, 75) Source(18, 89) + SourceIndex(0) -19>Emitted(2, 77) Source(18, 91) + SourceIndex(0) -20>Emitted(2, 83) Source(18, 97) + SourceIndex(0) -21>Emitted(2, 85) Source(18, 99) + SourceIndex(0) -22>Emitted(2, 87) Source(18, 101) + SourceIndex(0) +1 >Emitted(3, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(3, 16) Source(18, 16) + SourceIndex(0) +4 >Emitted(3, 19) Source(18, 33) + SourceIndex(0) +5 >Emitted(3, 20) Source(18, 34) + SourceIndex(0) +6 >Emitted(3, 22) Source(18, 36) + SourceIndex(0) +7 >Emitted(3, 26) Source(18, 40) + SourceIndex(0) +8 >Emitted(3, 28) Source(18, 42) + SourceIndex(0) +9 >Emitted(3, 35) Source(18, 49) + SourceIndex(0) +10>Emitted(3, 37) Source(18, 51) + SourceIndex(0) +11>Emitted(3, 43) Source(18, 57) + SourceIndex(0) +12>Emitted(3, 45) Source(18, 59) + SourceIndex(0) +13>Emitted(3, 47) Source(18, 61) + SourceIndex(0) +14>Emitted(3, 54) Source(18, 68) + SourceIndex(0) +15>Emitted(3, 56) Source(18, 70) + SourceIndex(0) +16>Emitted(3, 64) Source(18, 78) + SourceIndex(0) +17>Emitted(3, 66) Source(18, 80) + SourceIndex(0) +18>Emitted(3, 75) Source(18, 89) + SourceIndex(0) +19>Emitted(3, 77) Source(18, 91) + SourceIndex(0) +20>Emitted(3, 83) Source(18, 97) + SourceIndex(0) +21>Emitted(3, 85) Source(18, 99) + SourceIndex(0) +22>Emitted(3, 87) Source(18, 101) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; 1 >^^^^ @@ -215,26 +216,26 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 18> } 19> ] 20> ; -1 >Emitted(3, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(3, 7) Source(19, 7) + SourceIndex(0) -3 >Emitted(3, 11) Source(19, 11) + SourceIndex(0) -4 >Emitted(3, 13) Source(19, 13) + SourceIndex(0) -5 >Emitted(3, 22) Source(19, 22) + SourceIndex(0) -6 >Emitted(3, 24) Source(19, 24) + SourceIndex(0) -7 >Emitted(3, 30) Source(19, 30) + SourceIndex(0) -8 >Emitted(3, 32) Source(19, 32) + SourceIndex(0) -9 >Emitted(3, 34) Source(19, 34) + SourceIndex(0) -10>Emitted(3, 41) Source(19, 41) + SourceIndex(0) -11>Emitted(3, 43) Source(19, 43) + SourceIndex(0) -12>Emitted(3, 53) Source(19, 53) + SourceIndex(0) -13>Emitted(3, 55) Source(19, 55) + SourceIndex(0) -14>Emitted(3, 64) Source(19, 64) + SourceIndex(0) -15>Emitted(3, 66) Source(19, 66) + SourceIndex(0) -16>Emitted(3, 74) Source(19, 74) + SourceIndex(0) -17>Emitted(3, 76) Source(19, 76) + SourceIndex(0) -18>Emitted(3, 78) Source(19, 78) + SourceIndex(0) -19>Emitted(3, 79) Source(19, 79) + SourceIndex(0) -20>Emitted(3, 80) Source(19, 80) + SourceIndex(0) +1 >Emitted(4, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(4, 7) Source(19, 7) + SourceIndex(0) +3 >Emitted(4, 11) Source(19, 11) + SourceIndex(0) +4 >Emitted(4, 13) Source(19, 13) + SourceIndex(0) +5 >Emitted(4, 22) Source(19, 22) + SourceIndex(0) +6 >Emitted(4, 24) Source(19, 24) + SourceIndex(0) +7 >Emitted(4, 30) Source(19, 30) + SourceIndex(0) +8 >Emitted(4, 32) Source(19, 32) + SourceIndex(0) +9 >Emitted(4, 34) Source(19, 34) + SourceIndex(0) +10>Emitted(4, 41) Source(19, 41) + SourceIndex(0) +11>Emitted(4, 43) Source(19, 43) + SourceIndex(0) +12>Emitted(4, 53) Source(19, 53) + SourceIndex(0) +13>Emitted(4, 55) Source(19, 55) + SourceIndex(0) +14>Emitted(4, 64) Source(19, 64) + SourceIndex(0) +15>Emitted(4, 66) Source(19, 66) + SourceIndex(0) +16>Emitted(4, 74) Source(19, 74) + SourceIndex(0) +17>Emitted(4, 76) Source(19, 76) + SourceIndex(0) +18>Emitted(4, 78) Source(19, 78) + SourceIndex(0) +19>Emitted(4, 79) Source(19, 79) + SourceIndex(0) +20>Emitted(4, 80) Source(19, 80) + SourceIndex(0) --- >>>function getRobots() { 1 > @@ -246,9 +247,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue > 2 >function 3 > getRobots -1 >Emitted(4, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(4, 10) Source(21, 10) + SourceIndex(0) -3 >Emitted(4, 19) Source(21, 19) + SourceIndex(0) +1 >Emitted(5, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(5, 10) Source(21, 10) + SourceIndex(0) +3 >Emitted(5, 19) Source(21, 19) + SourceIndex(0) --- >>> return robots; 1->^^^^ @@ -260,10 +261,10 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 2 > return 3 > robots 4 > ; -1->Emitted(5, 5) Source(22, 5) + SourceIndex(0) -2 >Emitted(5, 12) Source(22, 12) + SourceIndex(0) -3 >Emitted(5, 18) Source(22, 18) + SourceIndex(0) -4 >Emitted(5, 19) Source(22, 19) + SourceIndex(0) +1->Emitted(6, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(6, 12) Source(22, 12) + SourceIndex(0) +3 >Emitted(6, 18) Source(22, 18) + SourceIndex(0) +4 >Emitted(6, 19) Source(22, 19) + SourceIndex(0) --- >>>} 1 > @@ -272,8 +273,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(6, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(23, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(23, 2) + SourceIndex(0) --- >>>function getMultiRobots() { 1-> @@ -285,9 +286,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue > 2 >function 3 > getMultiRobots -1->Emitted(7, 1) Source(25, 1) + SourceIndex(0) -2 >Emitted(7, 10) Source(25, 10) + SourceIndex(0) -3 >Emitted(7, 24) Source(25, 24) + SourceIndex(0) +1->Emitted(8, 1) Source(25, 1) + SourceIndex(0) +2 >Emitted(8, 10) Source(25, 10) + SourceIndex(0) +3 >Emitted(8, 24) Source(25, 24) + SourceIndex(0) --- >>> return multiRobots; 1->^^^^ @@ -299,10 +300,10 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 2 > return 3 > multiRobots 4 > ; -1->Emitted(8, 5) Source(26, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(26, 12) + SourceIndex(0) -3 >Emitted(8, 23) Source(26, 23) + SourceIndex(0) -4 >Emitted(8, 24) Source(26, 24) + SourceIndex(0) +1->Emitted(9, 5) Source(26, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(26, 12) + SourceIndex(0) +3 >Emitted(9, 23) Source(26, 23) + SourceIndex(0) +4 >Emitted(9, 24) Source(26, 24) + SourceIndex(0) --- >>>} 1 > @@ -311,8 +312,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(9, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(27, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(27, 2) + SourceIndex(0) --- >>>for (var _i = 0, robots_1 = robots; _i < robots_1.length; _i++) { 1-> @@ -340,17 +341,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > robots 10> ) 11> { -1->Emitted(10, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(10, 6) Source(29, 39) + SourceIndex(0) -3 >Emitted(10, 16) Source(29, 45) + SourceIndex(0) -4 >Emitted(10, 18) Source(29, 39) + SourceIndex(0) -5 >Emitted(10, 35) Source(29, 45) + SourceIndex(0) -6 >Emitted(10, 37) Source(29, 39) + SourceIndex(0) -7 >Emitted(10, 57) Source(29, 45) + SourceIndex(0) -8 >Emitted(10, 59) Source(29, 39) + SourceIndex(0) -9 >Emitted(10, 63) Source(29, 45) + SourceIndex(0) -10>Emitted(10, 65) Source(29, 47) + SourceIndex(0) -11>Emitted(10, 66) Source(29, 48) + SourceIndex(0) +1->Emitted(11, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(11, 6) Source(29, 39) + SourceIndex(0) +3 >Emitted(11, 16) Source(29, 45) + SourceIndex(0) +4 >Emitted(11, 18) Source(29, 39) + SourceIndex(0) +5 >Emitted(11, 35) Source(29, 45) + SourceIndex(0) +6 >Emitted(11, 37) Source(29, 39) + SourceIndex(0) +7 >Emitted(11, 57) Source(29, 45) + SourceIndex(0) +8 >Emitted(11, 59) Source(29, 39) + SourceIndex(0) +9 >Emitted(11, 63) Source(29, 45) + SourceIndex(0) +10>Emitted(11, 65) Source(29, 47) + SourceIndex(0) +11>Emitted(11, 66) Source(29, 48) + SourceIndex(0) --- >>> var _a = robots_1[_i].name, nameA = _a === void 0 ? "noName" : _a; 1->^^^^ @@ -369,14 +370,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > = 7 > "noName" 8 > -1->Emitted(11, 5) Source(29, 11) + SourceIndex(0) -2 >Emitted(11, 9) Source(29, 11) + SourceIndex(0) -3 >Emitted(11, 31) Source(29, 33) + SourceIndex(0) -4 >Emitted(11, 33) Source(29, 17) + SourceIndex(0) -5 >Emitted(11, 38) Source(29, 22) + SourceIndex(0) -6 >Emitted(11, 57) Source(29, 25) + SourceIndex(0) -7 >Emitted(11, 65) Source(29, 33) + SourceIndex(0) -8 >Emitted(11, 70) Source(29, 33) + SourceIndex(0) +1->Emitted(12, 5) Source(29, 11) + SourceIndex(0) +2 >Emitted(12, 9) Source(29, 11) + SourceIndex(0) +3 >Emitted(12, 31) Source(29, 33) + SourceIndex(0) +4 >Emitted(12, 33) Source(29, 17) + SourceIndex(0) +5 >Emitted(12, 38) Source(29, 22) + SourceIndex(0) +6 >Emitted(12, 57) Source(29, 25) + SourceIndex(0) +7 >Emitted(12, 65) Source(29, 33) + SourceIndex(0) +8 >Emitted(12, 70) Source(29, 33) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -396,14 +397,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(12, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(12, 12) Source(30, 12) + SourceIndex(0) -3 >Emitted(12, 13) Source(30, 13) + SourceIndex(0) -4 >Emitted(12, 16) Source(30, 16) + SourceIndex(0) -5 >Emitted(12, 17) Source(30, 17) + SourceIndex(0) -6 >Emitted(12, 22) Source(30, 22) + SourceIndex(0) -7 >Emitted(12, 23) Source(30, 23) + SourceIndex(0) -8 >Emitted(12, 24) Source(30, 24) + SourceIndex(0) +1 >Emitted(13, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(13, 12) Source(30, 12) + SourceIndex(0) +3 >Emitted(13, 13) Source(30, 13) + SourceIndex(0) +4 >Emitted(13, 16) Source(30, 16) + SourceIndex(0) +5 >Emitted(13, 17) Source(30, 17) + SourceIndex(0) +6 >Emitted(13, 22) Source(30, 22) + SourceIndex(0) +7 >Emitted(13, 23) Source(30, 23) + SourceIndex(0) +8 >Emitted(13, 24) Source(30, 24) + SourceIndex(0) --- >>>} 1 > @@ -412,8 +413,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(13, 1) Source(31, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(31, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(31, 2) + SourceIndex(0) --- >>>for (var _b = 0, _c = getRobots(); _b < _c.length; _b++) { 1-> @@ -444,19 +445,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getRobots() 12> ) 13> { -1->Emitted(14, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(14, 6) Source(32, 39) + SourceIndex(0) -3 >Emitted(14, 16) Source(32, 50) + SourceIndex(0) -4 >Emitted(14, 18) Source(32, 39) + SourceIndex(0) -5 >Emitted(14, 23) Source(32, 39) + SourceIndex(0) -6 >Emitted(14, 32) Source(32, 48) + SourceIndex(0) -7 >Emitted(14, 34) Source(32, 50) + SourceIndex(0) -8 >Emitted(14, 36) Source(32, 39) + SourceIndex(0) -9 >Emitted(14, 50) Source(32, 50) + SourceIndex(0) -10>Emitted(14, 52) Source(32, 39) + SourceIndex(0) -11>Emitted(14, 56) Source(32, 50) + SourceIndex(0) -12>Emitted(14, 58) Source(32, 52) + SourceIndex(0) -13>Emitted(14, 59) Source(32, 53) + SourceIndex(0) +1->Emitted(15, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(15, 6) Source(32, 39) + SourceIndex(0) +3 >Emitted(15, 16) Source(32, 50) + SourceIndex(0) +4 >Emitted(15, 18) Source(32, 39) + SourceIndex(0) +5 >Emitted(15, 23) Source(32, 39) + SourceIndex(0) +6 >Emitted(15, 32) Source(32, 48) + SourceIndex(0) +7 >Emitted(15, 34) Source(32, 50) + SourceIndex(0) +8 >Emitted(15, 36) Source(32, 39) + SourceIndex(0) +9 >Emitted(15, 50) Source(32, 50) + SourceIndex(0) +10>Emitted(15, 52) Source(32, 39) + SourceIndex(0) +11>Emitted(15, 56) Source(32, 50) + SourceIndex(0) +12>Emitted(15, 58) Source(32, 52) + SourceIndex(0) +13>Emitted(15, 59) Source(32, 53) + SourceIndex(0) --- >>> var _d = _c[_b].name, nameA = _d === void 0 ? "noName" : _d; 1->^^^^ @@ -475,14 +476,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > = 7 > "noName" 8 > -1->Emitted(15, 5) Source(32, 11) + SourceIndex(0) -2 >Emitted(15, 9) Source(32, 11) + SourceIndex(0) -3 >Emitted(15, 25) Source(32, 33) + SourceIndex(0) -4 >Emitted(15, 27) Source(32, 17) + SourceIndex(0) -5 >Emitted(15, 32) Source(32, 22) + SourceIndex(0) -6 >Emitted(15, 51) Source(32, 25) + SourceIndex(0) -7 >Emitted(15, 59) Source(32, 33) + SourceIndex(0) -8 >Emitted(15, 64) Source(32, 33) + SourceIndex(0) +1->Emitted(16, 5) Source(32, 11) + SourceIndex(0) +2 >Emitted(16, 9) Source(32, 11) + SourceIndex(0) +3 >Emitted(16, 25) Source(32, 33) + SourceIndex(0) +4 >Emitted(16, 27) Source(32, 17) + SourceIndex(0) +5 >Emitted(16, 32) Source(32, 22) + SourceIndex(0) +6 >Emitted(16, 51) Source(32, 25) + SourceIndex(0) +7 >Emitted(16, 59) Source(32, 33) + SourceIndex(0) +8 >Emitted(16, 64) Source(32, 33) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -502,14 +503,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(16, 5) Source(33, 5) + SourceIndex(0) -2 >Emitted(16, 12) Source(33, 12) + SourceIndex(0) -3 >Emitted(16, 13) Source(33, 13) + SourceIndex(0) -4 >Emitted(16, 16) Source(33, 16) + SourceIndex(0) -5 >Emitted(16, 17) Source(33, 17) + SourceIndex(0) -6 >Emitted(16, 22) Source(33, 22) + SourceIndex(0) -7 >Emitted(16, 23) Source(33, 23) + SourceIndex(0) -8 >Emitted(16, 24) Source(33, 24) + SourceIndex(0) +1 >Emitted(17, 5) Source(33, 5) + SourceIndex(0) +2 >Emitted(17, 12) Source(33, 12) + SourceIndex(0) +3 >Emitted(17, 13) Source(33, 13) + SourceIndex(0) +4 >Emitted(17, 16) Source(33, 16) + SourceIndex(0) +5 >Emitted(17, 17) Source(33, 17) + SourceIndex(0) +6 >Emitted(17, 22) Source(33, 22) + SourceIndex(0) +7 >Emitted(17, 23) Source(33, 23) + SourceIndex(0) +8 >Emitted(17, 24) Source(33, 24) + SourceIndex(0) --- >>>} 1 > @@ -518,8 +519,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(17, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(17, 2) Source(34, 2) + SourceIndex(0) +1 >Emitted(18, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(18, 2) Source(34, 2) + SourceIndex(0) --- >>>for (var _e = 0, _f = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _e < _f.length; _e++) { 1-> @@ -585,37 +586,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(18, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(18, 6) Source(35, 39) + SourceIndex(0) -3 >Emitted(18, 16) Source(35, 115) + SourceIndex(0) -4 >Emitted(18, 18) Source(35, 39) + SourceIndex(0) -5 >Emitted(18, 24) Source(35, 40) + SourceIndex(0) -6 >Emitted(18, 26) Source(35, 42) + SourceIndex(0) -7 >Emitted(18, 30) Source(35, 46) + SourceIndex(0) -8 >Emitted(18, 32) Source(35, 48) + SourceIndex(0) -9 >Emitted(18, 39) Source(35, 55) + SourceIndex(0) -10>Emitted(18, 41) Source(35, 57) + SourceIndex(0) -11>Emitted(18, 46) Source(35, 62) + SourceIndex(0) -12>Emitted(18, 48) Source(35, 64) + SourceIndex(0) -13>Emitted(18, 56) Source(35, 72) + SourceIndex(0) -14>Emitted(18, 58) Source(35, 74) + SourceIndex(0) -15>Emitted(18, 60) Source(35, 76) + SourceIndex(0) -16>Emitted(18, 62) Source(35, 78) + SourceIndex(0) -17>Emitted(18, 66) Source(35, 82) + SourceIndex(0) -18>Emitted(18, 68) Source(35, 84) + SourceIndex(0) -19>Emitted(18, 77) Source(35, 93) + SourceIndex(0) -20>Emitted(18, 79) Source(35, 95) + SourceIndex(0) -21>Emitted(18, 84) Source(35, 100) + SourceIndex(0) -22>Emitted(18, 86) Source(35, 102) + SourceIndex(0) -23>Emitted(18, 96) Source(35, 112) + SourceIndex(0) -24>Emitted(18, 98) Source(35, 114) + SourceIndex(0) -25>Emitted(18, 99) Source(35, 115) + SourceIndex(0) -26>Emitted(18, 101) Source(35, 39) + SourceIndex(0) -27>Emitted(18, 115) Source(35, 115) + SourceIndex(0) -28>Emitted(18, 117) Source(35, 39) + SourceIndex(0) -29>Emitted(18, 121) Source(35, 115) + SourceIndex(0) -30>Emitted(18, 123) Source(35, 117) + SourceIndex(0) -31>Emitted(18, 124) Source(35, 118) + SourceIndex(0) +1->Emitted(19, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(19, 6) Source(35, 39) + SourceIndex(0) +3 >Emitted(19, 16) Source(35, 115) + SourceIndex(0) +4 >Emitted(19, 18) Source(35, 39) + SourceIndex(0) +5 >Emitted(19, 24) Source(35, 40) + SourceIndex(0) +6 >Emitted(19, 26) Source(35, 42) + SourceIndex(0) +7 >Emitted(19, 30) Source(35, 46) + SourceIndex(0) +8 >Emitted(19, 32) Source(35, 48) + SourceIndex(0) +9 >Emitted(19, 39) Source(35, 55) + SourceIndex(0) +10>Emitted(19, 41) Source(35, 57) + SourceIndex(0) +11>Emitted(19, 46) Source(35, 62) + SourceIndex(0) +12>Emitted(19, 48) Source(35, 64) + SourceIndex(0) +13>Emitted(19, 56) Source(35, 72) + SourceIndex(0) +14>Emitted(19, 58) Source(35, 74) + SourceIndex(0) +15>Emitted(19, 60) Source(35, 76) + SourceIndex(0) +16>Emitted(19, 62) Source(35, 78) + SourceIndex(0) +17>Emitted(19, 66) Source(35, 82) + SourceIndex(0) +18>Emitted(19, 68) Source(35, 84) + SourceIndex(0) +19>Emitted(19, 77) Source(35, 93) + SourceIndex(0) +20>Emitted(19, 79) Source(35, 95) + SourceIndex(0) +21>Emitted(19, 84) Source(35, 100) + SourceIndex(0) +22>Emitted(19, 86) Source(35, 102) + SourceIndex(0) +23>Emitted(19, 96) Source(35, 112) + SourceIndex(0) +24>Emitted(19, 98) Source(35, 114) + SourceIndex(0) +25>Emitted(19, 99) Source(35, 115) + SourceIndex(0) +26>Emitted(19, 101) Source(35, 39) + SourceIndex(0) +27>Emitted(19, 115) Source(35, 115) + SourceIndex(0) +28>Emitted(19, 117) Source(35, 39) + SourceIndex(0) +29>Emitted(19, 121) Source(35, 115) + SourceIndex(0) +30>Emitted(19, 123) Source(35, 117) + SourceIndex(0) +31>Emitted(19, 124) Source(35, 118) + SourceIndex(0) --- >>> var _g = _f[_e].name, nameA = _g === void 0 ? "noName" : _g; 1 >^^^^ @@ -634,14 +635,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > = 7 > "noName" 8 > -1 >Emitted(19, 5) Source(35, 11) + SourceIndex(0) -2 >Emitted(19, 9) Source(35, 11) + SourceIndex(0) -3 >Emitted(19, 25) Source(35, 33) + SourceIndex(0) -4 >Emitted(19, 27) Source(35, 17) + SourceIndex(0) -5 >Emitted(19, 32) Source(35, 22) + SourceIndex(0) -6 >Emitted(19, 51) Source(35, 25) + SourceIndex(0) -7 >Emitted(19, 59) Source(35, 33) + SourceIndex(0) -8 >Emitted(19, 64) Source(35, 33) + SourceIndex(0) +1 >Emitted(20, 5) Source(35, 11) + SourceIndex(0) +2 >Emitted(20, 9) Source(35, 11) + SourceIndex(0) +3 >Emitted(20, 25) Source(35, 33) + SourceIndex(0) +4 >Emitted(20, 27) Source(35, 17) + SourceIndex(0) +5 >Emitted(20, 32) Source(35, 22) + SourceIndex(0) +6 >Emitted(20, 51) Source(35, 25) + SourceIndex(0) +7 >Emitted(20, 59) Source(35, 33) + SourceIndex(0) +8 >Emitted(20, 64) Source(35, 33) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -661,14 +662,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(20, 5) Source(36, 5) + SourceIndex(0) -2 >Emitted(20, 12) Source(36, 12) + SourceIndex(0) -3 >Emitted(20, 13) Source(36, 13) + SourceIndex(0) -4 >Emitted(20, 16) Source(36, 16) + SourceIndex(0) -5 >Emitted(20, 17) Source(36, 17) + SourceIndex(0) -6 >Emitted(20, 22) Source(36, 22) + SourceIndex(0) -7 >Emitted(20, 23) Source(36, 23) + SourceIndex(0) -8 >Emitted(20, 24) Source(36, 24) + SourceIndex(0) +1 >Emitted(21, 5) Source(36, 5) + SourceIndex(0) +2 >Emitted(21, 12) Source(36, 12) + SourceIndex(0) +3 >Emitted(21, 13) Source(36, 13) + SourceIndex(0) +4 >Emitted(21, 16) Source(36, 16) + SourceIndex(0) +5 >Emitted(21, 17) Source(36, 17) + SourceIndex(0) +6 >Emitted(21, 22) Source(36, 22) + SourceIndex(0) +7 >Emitted(21, 23) Source(36, 23) + SourceIndex(0) +8 >Emitted(21, 24) Source(36, 24) + SourceIndex(0) --- >>>} 1 > @@ -677,8 +678,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(21, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(21, 2) Source(37, 2) + SourceIndex(0) +1 >Emitted(22, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(22, 2) Source(37, 2) + SourceIndex(0) --- >>>for (var _h = 0, multiRobots_1 = multiRobots; _h < multiRobots_1.length; _h++) { 1-> @@ -706,17 +707,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > multiRobots 10> ) 11> { -1->Emitted(22, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(22, 6) Source(39, 55) + SourceIndex(0) -3 >Emitted(22, 16) Source(39, 66) + SourceIndex(0) -4 >Emitted(22, 18) Source(39, 55) + SourceIndex(0) -5 >Emitted(22, 45) Source(39, 66) + SourceIndex(0) -6 >Emitted(22, 47) Source(39, 55) + SourceIndex(0) -7 >Emitted(22, 72) Source(39, 66) + SourceIndex(0) -8 >Emitted(22, 74) Source(39, 55) + SourceIndex(0) -9 >Emitted(22, 78) Source(39, 66) + SourceIndex(0) -10>Emitted(22, 80) Source(39, 68) + SourceIndex(0) -11>Emitted(22, 81) Source(39, 69) + SourceIndex(0) +1->Emitted(23, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(23, 6) Source(39, 55) + SourceIndex(0) +3 >Emitted(23, 16) Source(39, 66) + SourceIndex(0) +4 >Emitted(23, 18) Source(39, 55) + SourceIndex(0) +5 >Emitted(23, 45) Source(39, 66) + SourceIndex(0) +6 >Emitted(23, 47) Source(39, 55) + SourceIndex(0) +7 >Emitted(23, 72) Source(39, 66) + SourceIndex(0) +8 >Emitted(23, 74) Source(39, 55) + SourceIndex(0) +9 >Emitted(23, 78) Source(39, 66) + SourceIndex(0) +10>Emitted(23, 80) Source(39, 68) + SourceIndex(0) +11>Emitted(23, 81) Source(39, 69) + SourceIndex(0) --- >>> var _j = multiRobots_1[_h].skills, _k = _j === void 0 ? { primary: "nosKill", secondary: "noSkill" } : _j, _l = _k.primary, primaryA = _l === void 0 ? "primary" : _l, _m = _k.secondary, secondaryA = _m === void 0 ? "secondary" : _m; 1->^^^^ @@ -779,35 +780,35 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 27> = 28> "secondary" 29> -1->Emitted(23, 5) Source(38, 12) + SourceIndex(0) -2 >Emitted(23, 9) Source(38, 12) + SourceIndex(0) -3 >Emitted(23, 38) Source(39, 49) + SourceIndex(0) -4 >Emitted(23, 40) Source(38, 12) + SourceIndex(0) -5 >Emitted(23, 61) Source(39, 5) + SourceIndex(0) -6 >Emitted(23, 63) Source(39, 7) + SourceIndex(0) -7 >Emitted(23, 70) Source(39, 14) + SourceIndex(0) -8 >Emitted(23, 72) Source(39, 16) + SourceIndex(0) -9 >Emitted(23, 81) Source(39, 25) + SourceIndex(0) -10>Emitted(23, 83) Source(39, 27) + SourceIndex(0) -11>Emitted(23, 92) Source(39, 36) + SourceIndex(0) -12>Emitted(23, 94) Source(39, 38) + SourceIndex(0) -13>Emitted(23, 103) Source(39, 47) + SourceIndex(0) -14>Emitted(23, 105) Source(39, 49) + SourceIndex(0) -15>Emitted(23, 110) Source(39, 49) + SourceIndex(0) -16>Emitted(23, 112) Source(38, 22) + SourceIndex(0) -17>Emitted(23, 127) Source(38, 51) + SourceIndex(0) -18>Emitted(23, 129) Source(38, 31) + SourceIndex(0) -19>Emitted(23, 137) Source(38, 39) + SourceIndex(0) -20>Emitted(23, 156) Source(38, 42) + SourceIndex(0) -21>Emitted(23, 165) Source(38, 51) + SourceIndex(0) -22>Emitted(23, 170) Source(38, 51) + SourceIndex(0) -23>Emitted(23, 172) Source(38, 53) + SourceIndex(0) -24>Emitted(23, 189) Source(38, 88) + SourceIndex(0) -25>Emitted(23, 191) Source(38, 64) + SourceIndex(0) -26>Emitted(23, 201) Source(38, 74) + SourceIndex(0) -27>Emitted(23, 220) Source(38, 77) + SourceIndex(0) -28>Emitted(23, 231) Source(38, 88) + SourceIndex(0) -29>Emitted(23, 236) Source(38, 88) + SourceIndex(0) +1->Emitted(24, 5) Source(38, 12) + SourceIndex(0) +2 >Emitted(24, 9) Source(38, 12) + SourceIndex(0) +3 >Emitted(24, 38) Source(39, 49) + SourceIndex(0) +4 >Emitted(24, 40) Source(38, 12) + SourceIndex(0) +5 >Emitted(24, 61) Source(39, 5) + SourceIndex(0) +6 >Emitted(24, 63) Source(39, 7) + SourceIndex(0) +7 >Emitted(24, 70) Source(39, 14) + SourceIndex(0) +8 >Emitted(24, 72) Source(39, 16) + SourceIndex(0) +9 >Emitted(24, 81) Source(39, 25) + SourceIndex(0) +10>Emitted(24, 83) Source(39, 27) + SourceIndex(0) +11>Emitted(24, 92) Source(39, 36) + SourceIndex(0) +12>Emitted(24, 94) Source(39, 38) + SourceIndex(0) +13>Emitted(24, 103) Source(39, 47) + SourceIndex(0) +14>Emitted(24, 105) Source(39, 49) + SourceIndex(0) +15>Emitted(24, 110) Source(39, 49) + SourceIndex(0) +16>Emitted(24, 112) Source(38, 22) + SourceIndex(0) +17>Emitted(24, 127) Source(38, 51) + SourceIndex(0) +18>Emitted(24, 129) Source(38, 31) + SourceIndex(0) +19>Emitted(24, 137) Source(38, 39) + SourceIndex(0) +20>Emitted(24, 156) Source(38, 42) + SourceIndex(0) +21>Emitted(24, 165) Source(38, 51) + SourceIndex(0) +22>Emitted(24, 170) Source(38, 51) + SourceIndex(0) +23>Emitted(24, 172) Source(38, 53) + SourceIndex(0) +24>Emitted(24, 189) Source(38, 88) + SourceIndex(0) +25>Emitted(24, 191) Source(38, 64) + SourceIndex(0) +26>Emitted(24, 201) Source(38, 74) + SourceIndex(0) +27>Emitted(24, 220) Source(38, 77) + SourceIndex(0) +28>Emitted(24, 231) Source(38, 88) + SourceIndex(0) +29>Emitted(24, 236) Source(38, 88) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -828,14 +829,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > primaryA 7 > ) 8 > ; -1 >Emitted(24, 5) Source(40, 5) + SourceIndex(0) -2 >Emitted(24, 12) Source(40, 12) + SourceIndex(0) -3 >Emitted(24, 13) Source(40, 13) + SourceIndex(0) -4 >Emitted(24, 16) Source(40, 16) + SourceIndex(0) -5 >Emitted(24, 17) Source(40, 17) + SourceIndex(0) -6 >Emitted(24, 25) Source(40, 25) + SourceIndex(0) -7 >Emitted(24, 26) Source(40, 26) + SourceIndex(0) -8 >Emitted(24, 27) Source(40, 27) + SourceIndex(0) +1 >Emitted(25, 5) Source(40, 5) + SourceIndex(0) +2 >Emitted(25, 12) Source(40, 12) + SourceIndex(0) +3 >Emitted(25, 13) Source(40, 13) + SourceIndex(0) +4 >Emitted(25, 16) Source(40, 16) + SourceIndex(0) +5 >Emitted(25, 17) Source(40, 17) + SourceIndex(0) +6 >Emitted(25, 25) Source(40, 25) + SourceIndex(0) +7 >Emitted(25, 26) Source(40, 26) + SourceIndex(0) +8 >Emitted(25, 27) Source(40, 27) + SourceIndex(0) --- >>>} 1 > @@ -844,8 +845,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(25, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(25, 2) Source(41, 2) + SourceIndex(0) +1 >Emitted(26, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(26, 2) Source(41, 2) + SourceIndex(0) --- >>>for (var _o = 0, _p = getMultiRobots(); _o < _p.length; _o++) { 1-> @@ -877,19 +878,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getMultiRobots() 12> ) 13> { -1->Emitted(26, 1) Source(42, 1) + SourceIndex(0) -2 >Emitted(26, 6) Source(43, 55) + SourceIndex(0) -3 >Emitted(26, 16) Source(43, 71) + SourceIndex(0) -4 >Emitted(26, 18) Source(43, 55) + SourceIndex(0) -5 >Emitted(26, 23) Source(43, 55) + SourceIndex(0) -6 >Emitted(26, 37) Source(43, 69) + SourceIndex(0) -7 >Emitted(26, 39) Source(43, 71) + SourceIndex(0) -8 >Emitted(26, 41) Source(43, 55) + SourceIndex(0) -9 >Emitted(26, 55) Source(43, 71) + SourceIndex(0) -10>Emitted(26, 57) Source(43, 55) + SourceIndex(0) -11>Emitted(26, 61) Source(43, 71) + SourceIndex(0) -12>Emitted(26, 63) Source(43, 73) + SourceIndex(0) -13>Emitted(26, 64) Source(43, 74) + SourceIndex(0) +1->Emitted(27, 1) Source(42, 1) + SourceIndex(0) +2 >Emitted(27, 6) Source(43, 55) + SourceIndex(0) +3 >Emitted(27, 16) Source(43, 71) + SourceIndex(0) +4 >Emitted(27, 18) Source(43, 55) + SourceIndex(0) +5 >Emitted(27, 23) Source(43, 55) + SourceIndex(0) +6 >Emitted(27, 37) Source(43, 69) + SourceIndex(0) +7 >Emitted(27, 39) Source(43, 71) + SourceIndex(0) +8 >Emitted(27, 41) Source(43, 55) + SourceIndex(0) +9 >Emitted(27, 55) Source(43, 71) + SourceIndex(0) +10>Emitted(27, 57) Source(43, 55) + SourceIndex(0) +11>Emitted(27, 61) Source(43, 71) + SourceIndex(0) +12>Emitted(27, 63) Source(43, 73) + SourceIndex(0) +13>Emitted(27, 64) Source(43, 74) + SourceIndex(0) --- >>> var _q = _p[_o].skills, _r = _q === void 0 ? { primary: "nosKill", secondary: "noSkill" } : _q, _s = _r.primary, primaryA = _s === void 0 ? "primary" : _s, _t = _r.secondary, secondaryA = _t === void 0 ? "secondary" : _t; 1->^^^^ @@ -952,35 +953,35 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 27> = 28> "secondary" 29> -1->Emitted(27, 5) Source(42, 12) + SourceIndex(0) -2 >Emitted(27, 9) Source(42, 12) + SourceIndex(0) -3 >Emitted(27, 27) Source(43, 49) + SourceIndex(0) -4 >Emitted(27, 29) Source(42, 12) + SourceIndex(0) -5 >Emitted(27, 50) Source(43, 5) + SourceIndex(0) -6 >Emitted(27, 52) Source(43, 7) + SourceIndex(0) -7 >Emitted(27, 59) Source(43, 14) + SourceIndex(0) -8 >Emitted(27, 61) Source(43, 16) + SourceIndex(0) -9 >Emitted(27, 70) Source(43, 25) + SourceIndex(0) -10>Emitted(27, 72) Source(43, 27) + SourceIndex(0) -11>Emitted(27, 81) Source(43, 36) + SourceIndex(0) -12>Emitted(27, 83) Source(43, 38) + SourceIndex(0) -13>Emitted(27, 92) Source(43, 47) + SourceIndex(0) -14>Emitted(27, 94) Source(43, 49) + SourceIndex(0) -15>Emitted(27, 99) Source(43, 49) + SourceIndex(0) -16>Emitted(27, 101) Source(42, 22) + SourceIndex(0) -17>Emitted(27, 116) Source(42, 51) + SourceIndex(0) -18>Emitted(27, 118) Source(42, 31) + SourceIndex(0) -19>Emitted(27, 126) Source(42, 39) + SourceIndex(0) -20>Emitted(27, 145) Source(42, 42) + SourceIndex(0) -21>Emitted(27, 154) Source(42, 51) + SourceIndex(0) -22>Emitted(27, 159) Source(42, 51) + SourceIndex(0) -23>Emitted(27, 161) Source(42, 53) + SourceIndex(0) -24>Emitted(27, 178) Source(42, 88) + SourceIndex(0) -25>Emitted(27, 180) Source(42, 64) + SourceIndex(0) -26>Emitted(27, 190) Source(42, 74) + SourceIndex(0) -27>Emitted(27, 209) Source(42, 77) + SourceIndex(0) -28>Emitted(27, 220) Source(42, 88) + SourceIndex(0) -29>Emitted(27, 225) Source(42, 88) + SourceIndex(0) +1->Emitted(28, 5) Source(42, 12) + SourceIndex(0) +2 >Emitted(28, 9) Source(42, 12) + SourceIndex(0) +3 >Emitted(28, 27) Source(43, 49) + SourceIndex(0) +4 >Emitted(28, 29) Source(42, 12) + SourceIndex(0) +5 >Emitted(28, 50) Source(43, 5) + SourceIndex(0) +6 >Emitted(28, 52) Source(43, 7) + SourceIndex(0) +7 >Emitted(28, 59) Source(43, 14) + SourceIndex(0) +8 >Emitted(28, 61) Source(43, 16) + SourceIndex(0) +9 >Emitted(28, 70) Source(43, 25) + SourceIndex(0) +10>Emitted(28, 72) Source(43, 27) + SourceIndex(0) +11>Emitted(28, 81) Source(43, 36) + SourceIndex(0) +12>Emitted(28, 83) Source(43, 38) + SourceIndex(0) +13>Emitted(28, 92) Source(43, 47) + SourceIndex(0) +14>Emitted(28, 94) Source(43, 49) + SourceIndex(0) +15>Emitted(28, 99) Source(43, 49) + SourceIndex(0) +16>Emitted(28, 101) Source(42, 22) + SourceIndex(0) +17>Emitted(28, 116) Source(42, 51) + SourceIndex(0) +18>Emitted(28, 118) Source(42, 31) + SourceIndex(0) +19>Emitted(28, 126) Source(42, 39) + SourceIndex(0) +20>Emitted(28, 145) Source(42, 42) + SourceIndex(0) +21>Emitted(28, 154) Source(42, 51) + SourceIndex(0) +22>Emitted(28, 159) Source(42, 51) + SourceIndex(0) +23>Emitted(28, 161) Source(42, 53) + SourceIndex(0) +24>Emitted(28, 178) Source(42, 88) + SourceIndex(0) +25>Emitted(28, 180) Source(42, 64) + SourceIndex(0) +26>Emitted(28, 190) Source(42, 74) + SourceIndex(0) +27>Emitted(28, 209) Source(42, 77) + SourceIndex(0) +28>Emitted(28, 220) Source(42, 88) + SourceIndex(0) +29>Emitted(28, 225) Source(42, 88) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1001,14 +1002,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > primaryA 7 > ) 8 > ; -1 >Emitted(28, 5) Source(44, 5) + SourceIndex(0) -2 >Emitted(28, 12) Source(44, 12) + SourceIndex(0) -3 >Emitted(28, 13) Source(44, 13) + SourceIndex(0) -4 >Emitted(28, 16) Source(44, 16) + SourceIndex(0) -5 >Emitted(28, 17) Source(44, 17) + SourceIndex(0) -6 >Emitted(28, 25) Source(44, 25) + SourceIndex(0) -7 >Emitted(28, 26) Source(44, 26) + SourceIndex(0) -8 >Emitted(28, 27) Source(44, 27) + SourceIndex(0) +1 >Emitted(29, 5) Source(44, 5) + SourceIndex(0) +2 >Emitted(29, 12) Source(44, 12) + SourceIndex(0) +3 >Emitted(29, 13) Source(44, 13) + SourceIndex(0) +4 >Emitted(29, 16) Source(44, 16) + SourceIndex(0) +5 >Emitted(29, 17) Source(44, 17) + SourceIndex(0) +6 >Emitted(29, 25) Source(44, 25) + SourceIndex(0) +7 >Emitted(29, 26) Source(44, 26) + SourceIndex(0) +8 >Emitted(29, 27) Source(44, 27) + SourceIndex(0) --- >>>} 1 > @@ -1017,8 +1018,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(29, 1) Source(45, 1) + SourceIndex(0) -2 >Emitted(29, 2) Source(45, 2) + SourceIndex(0) +1 >Emitted(30, 1) Source(45, 1) + SourceIndex(0) +2 >Emitted(30, 2) Source(45, 2) + SourceIndex(0) --- >>>for (var _u = 0, _v = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -1072,29 +1073,29 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 21> "none" 22> } 23> } -1->Emitted(30, 1) Source(46, 1) + SourceIndex(0) -2 >Emitted(30, 6) Source(48, 5) + SourceIndex(0) -3 >Emitted(30, 16) Source(49, 79) + SourceIndex(0) -4 >Emitted(30, 18) Source(48, 5) + SourceIndex(0) -5 >Emitted(30, 23) Source(48, 19) + SourceIndex(0) -6 >Emitted(30, 24) Source(48, 20) + SourceIndex(0) -7 >Emitted(30, 26) Source(48, 22) + SourceIndex(0) -8 >Emitted(30, 30) Source(48, 26) + SourceIndex(0) -9 >Emitted(30, 32) Source(48, 28) + SourceIndex(0) -10>Emitted(30, 39) Source(48, 35) + SourceIndex(0) -11>Emitted(30, 41) Source(48, 37) + SourceIndex(0) -12>Emitted(30, 47) Source(48, 43) + SourceIndex(0) -13>Emitted(30, 49) Source(48, 45) + SourceIndex(0) -14>Emitted(30, 51) Source(48, 47) + SourceIndex(0) -15>Emitted(30, 58) Source(48, 54) + SourceIndex(0) -16>Emitted(30, 60) Source(48, 56) + SourceIndex(0) -17>Emitted(30, 68) Source(48, 64) + SourceIndex(0) -18>Emitted(30, 70) Source(48, 66) + SourceIndex(0) -19>Emitted(30, 79) Source(48, 75) + SourceIndex(0) -20>Emitted(30, 81) Source(48, 77) + SourceIndex(0) -21>Emitted(30, 87) Source(48, 83) + SourceIndex(0) -22>Emitted(30, 89) Source(48, 85) + SourceIndex(0) -23>Emitted(30, 91) Source(48, 87) + SourceIndex(0) +1->Emitted(31, 1) Source(46, 1) + SourceIndex(0) +2 >Emitted(31, 6) Source(48, 5) + SourceIndex(0) +3 >Emitted(31, 16) Source(49, 79) + SourceIndex(0) +4 >Emitted(31, 18) Source(48, 5) + SourceIndex(0) +5 >Emitted(31, 23) Source(48, 19) + SourceIndex(0) +6 >Emitted(31, 24) Source(48, 20) + SourceIndex(0) +7 >Emitted(31, 26) Source(48, 22) + SourceIndex(0) +8 >Emitted(31, 30) Source(48, 26) + SourceIndex(0) +9 >Emitted(31, 32) Source(48, 28) + SourceIndex(0) +10>Emitted(31, 39) Source(48, 35) + SourceIndex(0) +11>Emitted(31, 41) Source(48, 37) + SourceIndex(0) +12>Emitted(31, 47) Source(48, 43) + SourceIndex(0) +13>Emitted(31, 49) Source(48, 45) + SourceIndex(0) +14>Emitted(31, 51) Source(48, 47) + SourceIndex(0) +15>Emitted(31, 58) Source(48, 54) + SourceIndex(0) +16>Emitted(31, 60) Source(48, 56) + SourceIndex(0) +17>Emitted(31, 68) Source(48, 64) + SourceIndex(0) +18>Emitted(31, 70) Source(48, 66) + SourceIndex(0) +19>Emitted(31, 79) Source(48, 75) + SourceIndex(0) +20>Emitted(31, 81) Source(48, 77) + SourceIndex(0) +21>Emitted(31, 87) Source(48, 83) + SourceIndex(0) +22>Emitted(31, 89) Source(48, 85) + SourceIndex(0) +23>Emitted(31, 91) Source(48, 87) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _u < _v.length; _u++) { 1->^^^^ @@ -1151,31 +1152,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(31, 5) Source(49, 5) + SourceIndex(0) -2 >Emitted(31, 7) Source(49, 7) + SourceIndex(0) -3 >Emitted(31, 11) Source(49, 11) + SourceIndex(0) -4 >Emitted(31, 13) Source(49, 13) + SourceIndex(0) -5 >Emitted(31, 22) Source(49, 22) + SourceIndex(0) -6 >Emitted(31, 24) Source(49, 24) + SourceIndex(0) -7 >Emitted(31, 30) Source(49, 30) + SourceIndex(0) -8 >Emitted(31, 32) Source(49, 32) + SourceIndex(0) -9 >Emitted(31, 34) Source(49, 34) + SourceIndex(0) -10>Emitted(31, 41) Source(49, 41) + SourceIndex(0) -11>Emitted(31, 43) Source(49, 43) + SourceIndex(0) -12>Emitted(31, 53) Source(49, 53) + SourceIndex(0) -13>Emitted(31, 55) Source(49, 55) + SourceIndex(0) -14>Emitted(31, 64) Source(49, 64) + SourceIndex(0) -15>Emitted(31, 66) Source(49, 66) + SourceIndex(0) -16>Emitted(31, 74) Source(49, 74) + SourceIndex(0) -17>Emitted(31, 76) Source(49, 76) + SourceIndex(0) -18>Emitted(31, 78) Source(49, 78) + SourceIndex(0) -19>Emitted(31, 79) Source(49, 79) + SourceIndex(0) -20>Emitted(31, 81) Source(48, 5) + SourceIndex(0) -21>Emitted(31, 95) Source(49, 79) + SourceIndex(0) -22>Emitted(31, 97) Source(48, 5) + SourceIndex(0) -23>Emitted(31, 101) Source(49, 79) + SourceIndex(0) -24>Emitted(31, 103) Source(49, 81) + SourceIndex(0) -25>Emitted(31, 104) Source(49, 82) + SourceIndex(0) +1->Emitted(32, 5) Source(49, 5) + SourceIndex(0) +2 >Emitted(32, 7) Source(49, 7) + SourceIndex(0) +3 >Emitted(32, 11) Source(49, 11) + SourceIndex(0) +4 >Emitted(32, 13) Source(49, 13) + SourceIndex(0) +5 >Emitted(32, 22) Source(49, 22) + SourceIndex(0) +6 >Emitted(32, 24) Source(49, 24) + SourceIndex(0) +7 >Emitted(32, 30) Source(49, 30) + SourceIndex(0) +8 >Emitted(32, 32) Source(49, 32) + SourceIndex(0) +9 >Emitted(32, 34) Source(49, 34) + SourceIndex(0) +10>Emitted(32, 41) Source(49, 41) + SourceIndex(0) +11>Emitted(32, 43) Source(49, 43) + SourceIndex(0) +12>Emitted(32, 53) Source(49, 53) + SourceIndex(0) +13>Emitted(32, 55) Source(49, 55) + SourceIndex(0) +14>Emitted(32, 64) Source(49, 64) + SourceIndex(0) +15>Emitted(32, 66) Source(49, 66) + SourceIndex(0) +16>Emitted(32, 74) Source(49, 74) + SourceIndex(0) +17>Emitted(32, 76) Source(49, 76) + SourceIndex(0) +18>Emitted(32, 78) Source(49, 78) + SourceIndex(0) +19>Emitted(32, 79) Source(49, 79) + SourceIndex(0) +20>Emitted(32, 81) Source(48, 5) + SourceIndex(0) +21>Emitted(32, 95) Source(49, 79) + SourceIndex(0) +22>Emitted(32, 97) Source(48, 5) + SourceIndex(0) +23>Emitted(32, 101) Source(49, 79) + SourceIndex(0) +24>Emitted(32, 103) Source(49, 81) + SourceIndex(0) +25>Emitted(32, 104) Source(49, 82) + SourceIndex(0) --- >>> var _w = _v[_u].skills, _x = _w === void 0 ? { primary: "nosKill", secondary: "noSkill" } : _w, _y = _x.primary, primaryA = _y === void 0 ? "primary" : _y, _z = _x.secondary, secondaryA = _z === void 0 ? "secondary" : _z; 1->^^^^ @@ -1238,35 +1239,35 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 27> = 28> "secondary" 29> -1->Emitted(32, 5) Source(46, 12) + SourceIndex(0) -2 >Emitted(32, 9) Source(46, 12) + SourceIndex(0) -3 >Emitted(32, 27) Source(47, 49) + SourceIndex(0) -4 >Emitted(32, 29) Source(46, 12) + SourceIndex(0) -5 >Emitted(32, 50) Source(47, 5) + SourceIndex(0) -6 >Emitted(32, 52) Source(47, 7) + SourceIndex(0) -7 >Emitted(32, 59) Source(47, 14) + SourceIndex(0) -8 >Emitted(32, 61) Source(47, 16) + SourceIndex(0) -9 >Emitted(32, 70) Source(47, 25) + SourceIndex(0) -10>Emitted(32, 72) Source(47, 27) + SourceIndex(0) -11>Emitted(32, 81) Source(47, 36) + SourceIndex(0) -12>Emitted(32, 83) Source(47, 38) + SourceIndex(0) -13>Emitted(32, 92) Source(47, 47) + SourceIndex(0) -14>Emitted(32, 94) Source(47, 49) + SourceIndex(0) -15>Emitted(32, 99) Source(47, 49) + SourceIndex(0) -16>Emitted(32, 101) Source(46, 22) + SourceIndex(0) -17>Emitted(32, 116) Source(46, 51) + SourceIndex(0) -18>Emitted(32, 118) Source(46, 31) + SourceIndex(0) -19>Emitted(32, 126) Source(46, 39) + SourceIndex(0) -20>Emitted(32, 145) Source(46, 42) + SourceIndex(0) -21>Emitted(32, 154) Source(46, 51) + SourceIndex(0) -22>Emitted(32, 159) Source(46, 51) + SourceIndex(0) -23>Emitted(32, 161) Source(46, 53) + SourceIndex(0) -24>Emitted(32, 178) Source(46, 88) + SourceIndex(0) -25>Emitted(32, 180) Source(46, 64) + SourceIndex(0) -26>Emitted(32, 190) Source(46, 74) + SourceIndex(0) -27>Emitted(32, 209) Source(46, 77) + SourceIndex(0) -28>Emitted(32, 220) Source(46, 88) + SourceIndex(0) -29>Emitted(32, 225) Source(46, 88) + SourceIndex(0) +1->Emitted(33, 5) Source(46, 12) + SourceIndex(0) +2 >Emitted(33, 9) Source(46, 12) + SourceIndex(0) +3 >Emitted(33, 27) Source(47, 49) + SourceIndex(0) +4 >Emitted(33, 29) Source(46, 12) + SourceIndex(0) +5 >Emitted(33, 50) Source(47, 5) + SourceIndex(0) +6 >Emitted(33, 52) Source(47, 7) + SourceIndex(0) +7 >Emitted(33, 59) Source(47, 14) + SourceIndex(0) +8 >Emitted(33, 61) Source(47, 16) + SourceIndex(0) +9 >Emitted(33, 70) Source(47, 25) + SourceIndex(0) +10>Emitted(33, 72) Source(47, 27) + SourceIndex(0) +11>Emitted(33, 81) Source(47, 36) + SourceIndex(0) +12>Emitted(33, 83) Source(47, 38) + SourceIndex(0) +13>Emitted(33, 92) Source(47, 47) + SourceIndex(0) +14>Emitted(33, 94) Source(47, 49) + SourceIndex(0) +15>Emitted(33, 99) Source(47, 49) + SourceIndex(0) +16>Emitted(33, 101) Source(46, 22) + SourceIndex(0) +17>Emitted(33, 116) Source(46, 51) + SourceIndex(0) +18>Emitted(33, 118) Source(46, 31) + SourceIndex(0) +19>Emitted(33, 126) Source(46, 39) + SourceIndex(0) +20>Emitted(33, 145) Source(46, 42) + SourceIndex(0) +21>Emitted(33, 154) Source(46, 51) + SourceIndex(0) +22>Emitted(33, 159) Source(46, 51) + SourceIndex(0) +23>Emitted(33, 161) Source(46, 53) + SourceIndex(0) +24>Emitted(33, 178) Source(46, 88) + SourceIndex(0) +25>Emitted(33, 180) Source(46, 64) + SourceIndex(0) +26>Emitted(33, 190) Source(46, 74) + SourceIndex(0) +27>Emitted(33, 209) Source(46, 77) + SourceIndex(0) +28>Emitted(33, 220) Source(46, 88) + SourceIndex(0) +29>Emitted(33, 225) Source(46, 88) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1289,14 +1290,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > primaryA 7 > ) 8 > ; -1 >Emitted(33, 5) Source(50, 5) + SourceIndex(0) -2 >Emitted(33, 12) Source(50, 12) + SourceIndex(0) -3 >Emitted(33, 13) Source(50, 13) + SourceIndex(0) -4 >Emitted(33, 16) Source(50, 16) + SourceIndex(0) -5 >Emitted(33, 17) Source(50, 17) + SourceIndex(0) -6 >Emitted(33, 25) Source(50, 25) + SourceIndex(0) -7 >Emitted(33, 26) Source(50, 26) + SourceIndex(0) -8 >Emitted(33, 27) Source(50, 27) + SourceIndex(0) +1 >Emitted(34, 5) Source(50, 5) + SourceIndex(0) +2 >Emitted(34, 12) Source(50, 12) + SourceIndex(0) +3 >Emitted(34, 13) Source(50, 13) + SourceIndex(0) +4 >Emitted(34, 16) Source(50, 16) + SourceIndex(0) +5 >Emitted(34, 17) Source(50, 17) + SourceIndex(0) +6 >Emitted(34, 25) Source(50, 25) + SourceIndex(0) +7 >Emitted(34, 26) Source(50, 26) + SourceIndex(0) +8 >Emitted(34, 27) Source(50, 27) + SourceIndex(0) --- >>>} 1 > @@ -1305,8 +1306,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(34, 1) Source(51, 1) + SourceIndex(0) -2 >Emitted(34, 2) Source(51, 2) + SourceIndex(0) +1 >Emitted(35, 1) Source(51, 1) + SourceIndex(0) +2 >Emitted(35, 2) Source(51, 2) + SourceIndex(0) --- >>>for (var _0 = 0, robots_2 = robots; _0 < robots_2.length; _0++) { 1-> @@ -1334,17 +1335,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > robots 10> ) 11> { -1->Emitted(35, 1) Source(53, 1) + SourceIndex(0) -2 >Emitted(35, 6) Source(53, 66) + SourceIndex(0) -3 >Emitted(35, 16) Source(53, 72) + SourceIndex(0) -4 >Emitted(35, 18) Source(53, 66) + SourceIndex(0) -5 >Emitted(35, 35) Source(53, 72) + SourceIndex(0) -6 >Emitted(35, 37) Source(53, 66) + SourceIndex(0) -7 >Emitted(35, 57) Source(53, 72) + SourceIndex(0) -8 >Emitted(35, 59) Source(53, 66) + SourceIndex(0) -9 >Emitted(35, 63) Source(53, 72) + SourceIndex(0) -10>Emitted(35, 65) Source(53, 74) + SourceIndex(0) -11>Emitted(35, 66) Source(53, 75) + SourceIndex(0) +1->Emitted(36, 1) Source(53, 1) + SourceIndex(0) +2 >Emitted(36, 6) Source(53, 66) + SourceIndex(0) +3 >Emitted(36, 16) Source(53, 72) + SourceIndex(0) +4 >Emitted(36, 18) Source(53, 66) + SourceIndex(0) +5 >Emitted(36, 35) Source(53, 72) + SourceIndex(0) +6 >Emitted(36, 37) Source(53, 66) + SourceIndex(0) +7 >Emitted(36, 57) Source(53, 72) + SourceIndex(0) +8 >Emitted(36, 59) Source(53, 66) + SourceIndex(0) +9 >Emitted(36, 63) Source(53, 72) + SourceIndex(0) +10>Emitted(36, 65) Source(53, 74) + SourceIndex(0) +11>Emitted(36, 66) Source(53, 75) + SourceIndex(0) --- >>> var _1 = robots_2[_0], _2 = _1.name, nameA = _2 === void 0 ? "noName" : _2, _3 = _1.skill, skillA = _3 === void 0 ? "noSkill" : _3; 1->^^^^ @@ -1381,23 +1382,23 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 15> = 16> "noSkill" 17> -1->Emitted(36, 5) Source(53, 10) + SourceIndex(0) -2 >Emitted(36, 9) Source(53, 10) + SourceIndex(0) -3 >Emitted(36, 26) Source(53, 62) + SourceIndex(0) -4 >Emitted(36, 28) Source(53, 11) + SourceIndex(0) -5 >Emitted(36, 40) Source(53, 33) + SourceIndex(0) -6 >Emitted(36, 42) Source(53, 17) + SourceIndex(0) -7 >Emitted(36, 47) Source(53, 22) + SourceIndex(0) -8 >Emitted(36, 66) Source(53, 25) + SourceIndex(0) -9 >Emitted(36, 74) Source(53, 33) + SourceIndex(0) -10>Emitted(36, 79) Source(53, 33) + SourceIndex(0) -11>Emitted(36, 81) Source(53, 35) + SourceIndex(0) -12>Emitted(36, 94) Source(53, 60) + SourceIndex(0) -13>Emitted(36, 96) Source(53, 42) + SourceIndex(0) -14>Emitted(36, 102) Source(53, 48) + SourceIndex(0) -15>Emitted(36, 121) Source(53, 51) + SourceIndex(0) -16>Emitted(36, 130) Source(53, 60) + SourceIndex(0) -17>Emitted(36, 135) Source(53, 60) + SourceIndex(0) +1->Emitted(37, 5) Source(53, 10) + SourceIndex(0) +2 >Emitted(37, 9) Source(53, 10) + SourceIndex(0) +3 >Emitted(37, 26) Source(53, 62) + SourceIndex(0) +4 >Emitted(37, 28) Source(53, 11) + SourceIndex(0) +5 >Emitted(37, 40) Source(53, 33) + SourceIndex(0) +6 >Emitted(37, 42) Source(53, 17) + SourceIndex(0) +7 >Emitted(37, 47) Source(53, 22) + SourceIndex(0) +8 >Emitted(37, 66) Source(53, 25) + SourceIndex(0) +9 >Emitted(37, 74) Source(53, 33) + SourceIndex(0) +10>Emitted(37, 79) Source(53, 33) + SourceIndex(0) +11>Emitted(37, 81) Source(53, 35) + SourceIndex(0) +12>Emitted(37, 94) Source(53, 60) + SourceIndex(0) +13>Emitted(37, 96) Source(53, 42) + SourceIndex(0) +14>Emitted(37, 102) Source(53, 48) + SourceIndex(0) +15>Emitted(37, 121) Source(53, 51) + SourceIndex(0) +16>Emitted(37, 130) Source(53, 60) + SourceIndex(0) +17>Emitted(37, 135) Source(53, 60) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1417,14 +1418,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(37, 5) Source(54, 5) + SourceIndex(0) -2 >Emitted(37, 12) Source(54, 12) + SourceIndex(0) -3 >Emitted(37, 13) Source(54, 13) + SourceIndex(0) -4 >Emitted(37, 16) Source(54, 16) + SourceIndex(0) -5 >Emitted(37, 17) Source(54, 17) + SourceIndex(0) -6 >Emitted(37, 22) Source(54, 22) + SourceIndex(0) -7 >Emitted(37, 23) Source(54, 23) + SourceIndex(0) -8 >Emitted(37, 24) Source(54, 24) + SourceIndex(0) +1 >Emitted(38, 5) Source(54, 5) + SourceIndex(0) +2 >Emitted(38, 12) Source(54, 12) + SourceIndex(0) +3 >Emitted(38, 13) Source(54, 13) + SourceIndex(0) +4 >Emitted(38, 16) Source(54, 16) + SourceIndex(0) +5 >Emitted(38, 17) Source(54, 17) + SourceIndex(0) +6 >Emitted(38, 22) Source(54, 22) + SourceIndex(0) +7 >Emitted(38, 23) Source(54, 23) + SourceIndex(0) +8 >Emitted(38, 24) Source(54, 24) + SourceIndex(0) --- >>>} 1 > @@ -1433,8 +1434,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(38, 1) Source(55, 1) + SourceIndex(0) -2 >Emitted(38, 2) Source(55, 2) + SourceIndex(0) +1 >Emitted(39, 1) Source(55, 1) + SourceIndex(0) +2 >Emitted(39, 2) Source(55, 2) + SourceIndex(0) --- >>>for (var _4 = 0, _5 = getRobots(); _4 < _5.length; _4++) { 1-> @@ -1465,19 +1466,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getRobots() 12> ) 13> { -1->Emitted(39, 1) Source(56, 1) + SourceIndex(0) -2 >Emitted(39, 6) Source(56, 67) + SourceIndex(0) -3 >Emitted(39, 16) Source(56, 78) + SourceIndex(0) -4 >Emitted(39, 18) Source(56, 67) + SourceIndex(0) -5 >Emitted(39, 23) Source(56, 67) + SourceIndex(0) -6 >Emitted(39, 32) Source(56, 76) + SourceIndex(0) -7 >Emitted(39, 34) Source(56, 78) + SourceIndex(0) -8 >Emitted(39, 36) Source(56, 67) + SourceIndex(0) -9 >Emitted(39, 50) Source(56, 78) + SourceIndex(0) -10>Emitted(39, 52) Source(56, 67) + SourceIndex(0) -11>Emitted(39, 56) Source(56, 78) + SourceIndex(0) -12>Emitted(39, 58) Source(56, 80) + SourceIndex(0) -13>Emitted(39, 59) Source(56, 81) + SourceIndex(0) +1->Emitted(40, 1) Source(56, 1) + SourceIndex(0) +2 >Emitted(40, 6) Source(56, 67) + SourceIndex(0) +3 >Emitted(40, 16) Source(56, 78) + SourceIndex(0) +4 >Emitted(40, 18) Source(56, 67) + SourceIndex(0) +5 >Emitted(40, 23) Source(56, 67) + SourceIndex(0) +6 >Emitted(40, 32) Source(56, 76) + SourceIndex(0) +7 >Emitted(40, 34) Source(56, 78) + SourceIndex(0) +8 >Emitted(40, 36) Source(56, 67) + SourceIndex(0) +9 >Emitted(40, 50) Source(56, 78) + SourceIndex(0) +10>Emitted(40, 52) Source(56, 67) + SourceIndex(0) +11>Emitted(40, 56) Source(56, 78) + SourceIndex(0) +12>Emitted(40, 58) Source(56, 80) + SourceIndex(0) +13>Emitted(40, 59) Source(56, 81) + SourceIndex(0) --- >>> var _6 = _5[_4], _7 = _6.name, nameA = _7 === void 0 ? "noName" : _7, _8 = _6.skill, skillA = _8 === void 0 ? "noSkill" : _8; 1->^^^^ @@ -1514,23 +1515,23 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 15> = 16> "noSkill" 17> -1->Emitted(40, 5) Source(56, 10) + SourceIndex(0) -2 >Emitted(40, 9) Source(56, 10) + SourceIndex(0) -3 >Emitted(40, 20) Source(56, 63) + SourceIndex(0) -4 >Emitted(40, 22) Source(56, 11) + SourceIndex(0) -5 >Emitted(40, 34) Source(56, 33) + SourceIndex(0) -6 >Emitted(40, 36) Source(56, 17) + SourceIndex(0) -7 >Emitted(40, 41) Source(56, 22) + SourceIndex(0) -8 >Emitted(40, 60) Source(56, 25) + SourceIndex(0) -9 >Emitted(40, 68) Source(56, 33) + SourceIndex(0) -10>Emitted(40, 73) Source(56, 33) + SourceIndex(0) -11>Emitted(40, 75) Source(56, 35) + SourceIndex(0) -12>Emitted(40, 88) Source(56, 60) + SourceIndex(0) -13>Emitted(40, 90) Source(56, 42) + SourceIndex(0) -14>Emitted(40, 96) Source(56, 48) + SourceIndex(0) -15>Emitted(40, 115) Source(56, 51) + SourceIndex(0) -16>Emitted(40, 124) Source(56, 60) + SourceIndex(0) -17>Emitted(40, 129) Source(56, 60) + SourceIndex(0) +1->Emitted(41, 5) Source(56, 10) + SourceIndex(0) +2 >Emitted(41, 9) Source(56, 10) + SourceIndex(0) +3 >Emitted(41, 20) Source(56, 63) + SourceIndex(0) +4 >Emitted(41, 22) Source(56, 11) + SourceIndex(0) +5 >Emitted(41, 34) Source(56, 33) + SourceIndex(0) +6 >Emitted(41, 36) Source(56, 17) + SourceIndex(0) +7 >Emitted(41, 41) Source(56, 22) + SourceIndex(0) +8 >Emitted(41, 60) Source(56, 25) + SourceIndex(0) +9 >Emitted(41, 68) Source(56, 33) + SourceIndex(0) +10>Emitted(41, 73) Source(56, 33) + SourceIndex(0) +11>Emitted(41, 75) Source(56, 35) + SourceIndex(0) +12>Emitted(41, 88) Source(56, 60) + SourceIndex(0) +13>Emitted(41, 90) Source(56, 42) + SourceIndex(0) +14>Emitted(41, 96) Source(56, 48) + SourceIndex(0) +15>Emitted(41, 115) Source(56, 51) + SourceIndex(0) +16>Emitted(41, 124) Source(56, 60) + SourceIndex(0) +17>Emitted(41, 129) Source(56, 60) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1550,14 +1551,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(41, 5) Source(57, 5) + SourceIndex(0) -2 >Emitted(41, 12) Source(57, 12) + SourceIndex(0) -3 >Emitted(41, 13) Source(57, 13) + SourceIndex(0) -4 >Emitted(41, 16) Source(57, 16) + SourceIndex(0) -5 >Emitted(41, 17) Source(57, 17) + SourceIndex(0) -6 >Emitted(41, 22) Source(57, 22) + SourceIndex(0) -7 >Emitted(41, 23) Source(57, 23) + SourceIndex(0) -8 >Emitted(41, 24) Source(57, 24) + SourceIndex(0) +1 >Emitted(42, 5) Source(57, 5) + SourceIndex(0) +2 >Emitted(42, 12) Source(57, 12) + SourceIndex(0) +3 >Emitted(42, 13) Source(57, 13) + SourceIndex(0) +4 >Emitted(42, 16) Source(57, 16) + SourceIndex(0) +5 >Emitted(42, 17) Source(57, 17) + SourceIndex(0) +6 >Emitted(42, 22) Source(57, 22) + SourceIndex(0) +7 >Emitted(42, 23) Source(57, 23) + SourceIndex(0) +8 >Emitted(42, 24) Source(57, 24) + SourceIndex(0) --- >>>} 1 > @@ -1566,8 +1567,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(42, 1) Source(58, 1) + SourceIndex(0) -2 >Emitted(42, 2) Source(58, 2) + SourceIndex(0) +1 >Emitted(43, 1) Source(58, 1) + SourceIndex(0) +2 >Emitted(43, 2) Source(58, 2) + SourceIndex(0) --- >>>for (var _9 = 0, _10 = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _9 < _10.length; _9++) { 1-> @@ -1634,37 +1635,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(43, 1) Source(59, 1) + SourceIndex(0) -2 >Emitted(43, 6) Source(59, 67) + SourceIndex(0) -3 >Emitted(43, 16) Source(59, 143) + SourceIndex(0) -4 >Emitted(43, 18) Source(59, 67) + SourceIndex(0) -5 >Emitted(43, 25) Source(59, 68) + SourceIndex(0) -6 >Emitted(43, 27) Source(59, 70) + SourceIndex(0) -7 >Emitted(43, 31) Source(59, 74) + SourceIndex(0) -8 >Emitted(43, 33) Source(59, 76) + SourceIndex(0) -9 >Emitted(43, 40) Source(59, 83) + SourceIndex(0) -10>Emitted(43, 42) Source(59, 85) + SourceIndex(0) -11>Emitted(43, 47) Source(59, 90) + SourceIndex(0) -12>Emitted(43, 49) Source(59, 92) + SourceIndex(0) -13>Emitted(43, 57) Source(59, 100) + SourceIndex(0) -14>Emitted(43, 59) Source(59, 102) + SourceIndex(0) -15>Emitted(43, 61) Source(59, 104) + SourceIndex(0) -16>Emitted(43, 63) Source(59, 106) + SourceIndex(0) -17>Emitted(43, 67) Source(59, 110) + SourceIndex(0) -18>Emitted(43, 69) Source(59, 112) + SourceIndex(0) -19>Emitted(43, 78) Source(59, 121) + SourceIndex(0) -20>Emitted(43, 80) Source(59, 123) + SourceIndex(0) -21>Emitted(43, 85) Source(59, 128) + SourceIndex(0) -22>Emitted(43, 87) Source(59, 130) + SourceIndex(0) -23>Emitted(43, 97) Source(59, 140) + SourceIndex(0) -24>Emitted(43, 99) Source(59, 142) + SourceIndex(0) -25>Emitted(43, 100) Source(59, 143) + SourceIndex(0) -26>Emitted(43, 102) Source(59, 67) + SourceIndex(0) -27>Emitted(43, 117) Source(59, 143) + SourceIndex(0) -28>Emitted(43, 119) Source(59, 67) + SourceIndex(0) -29>Emitted(43, 123) Source(59, 143) + SourceIndex(0) -30>Emitted(43, 125) Source(59, 145) + SourceIndex(0) -31>Emitted(43, 126) Source(59, 146) + SourceIndex(0) +1->Emitted(44, 1) Source(59, 1) + SourceIndex(0) +2 >Emitted(44, 6) Source(59, 67) + SourceIndex(0) +3 >Emitted(44, 16) Source(59, 143) + SourceIndex(0) +4 >Emitted(44, 18) Source(59, 67) + SourceIndex(0) +5 >Emitted(44, 25) Source(59, 68) + SourceIndex(0) +6 >Emitted(44, 27) Source(59, 70) + SourceIndex(0) +7 >Emitted(44, 31) Source(59, 74) + SourceIndex(0) +8 >Emitted(44, 33) Source(59, 76) + SourceIndex(0) +9 >Emitted(44, 40) Source(59, 83) + SourceIndex(0) +10>Emitted(44, 42) Source(59, 85) + SourceIndex(0) +11>Emitted(44, 47) Source(59, 90) + SourceIndex(0) +12>Emitted(44, 49) Source(59, 92) + SourceIndex(0) +13>Emitted(44, 57) Source(59, 100) + SourceIndex(0) +14>Emitted(44, 59) Source(59, 102) + SourceIndex(0) +15>Emitted(44, 61) Source(59, 104) + SourceIndex(0) +16>Emitted(44, 63) Source(59, 106) + SourceIndex(0) +17>Emitted(44, 67) Source(59, 110) + SourceIndex(0) +18>Emitted(44, 69) Source(59, 112) + SourceIndex(0) +19>Emitted(44, 78) Source(59, 121) + SourceIndex(0) +20>Emitted(44, 80) Source(59, 123) + SourceIndex(0) +21>Emitted(44, 85) Source(59, 128) + SourceIndex(0) +22>Emitted(44, 87) Source(59, 130) + SourceIndex(0) +23>Emitted(44, 97) Source(59, 140) + SourceIndex(0) +24>Emitted(44, 99) Source(59, 142) + SourceIndex(0) +25>Emitted(44, 100) Source(59, 143) + SourceIndex(0) +26>Emitted(44, 102) Source(59, 67) + SourceIndex(0) +27>Emitted(44, 117) Source(59, 143) + SourceIndex(0) +28>Emitted(44, 119) Source(59, 67) + SourceIndex(0) +29>Emitted(44, 123) Source(59, 143) + SourceIndex(0) +30>Emitted(44, 125) Source(59, 145) + SourceIndex(0) +31>Emitted(44, 126) Source(59, 146) + SourceIndex(0) --- >>> var _11 = _10[_9], _12 = _11.name, nameA = _12 === void 0 ? "noName" : _12, _13 = _11.skill, skillA = _13 === void 0 ? "noSkill" : _13; 1->^^^^ @@ -1701,23 +1702,23 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 15> = 16> "noSkill" 17> -1->Emitted(44, 5) Source(59, 10) + SourceIndex(0) -2 >Emitted(44, 9) Source(59, 10) + SourceIndex(0) -3 >Emitted(44, 22) Source(59, 63) + SourceIndex(0) -4 >Emitted(44, 24) Source(59, 11) + SourceIndex(0) -5 >Emitted(44, 38) Source(59, 33) + SourceIndex(0) -6 >Emitted(44, 40) Source(59, 17) + SourceIndex(0) -7 >Emitted(44, 45) Source(59, 22) + SourceIndex(0) -8 >Emitted(44, 65) Source(59, 25) + SourceIndex(0) -9 >Emitted(44, 73) Source(59, 33) + SourceIndex(0) -10>Emitted(44, 79) Source(59, 33) + SourceIndex(0) -11>Emitted(44, 81) Source(59, 35) + SourceIndex(0) -12>Emitted(44, 96) Source(59, 60) + SourceIndex(0) -13>Emitted(44, 98) Source(59, 42) + SourceIndex(0) -14>Emitted(44, 104) Source(59, 48) + SourceIndex(0) -15>Emitted(44, 124) Source(59, 51) + SourceIndex(0) -16>Emitted(44, 133) Source(59, 60) + SourceIndex(0) -17>Emitted(44, 139) Source(59, 60) + SourceIndex(0) +1->Emitted(45, 5) Source(59, 10) + SourceIndex(0) +2 >Emitted(45, 9) Source(59, 10) + SourceIndex(0) +3 >Emitted(45, 22) Source(59, 63) + SourceIndex(0) +4 >Emitted(45, 24) Source(59, 11) + SourceIndex(0) +5 >Emitted(45, 38) Source(59, 33) + SourceIndex(0) +6 >Emitted(45, 40) Source(59, 17) + SourceIndex(0) +7 >Emitted(45, 45) Source(59, 22) + SourceIndex(0) +8 >Emitted(45, 65) Source(59, 25) + SourceIndex(0) +9 >Emitted(45, 73) Source(59, 33) + SourceIndex(0) +10>Emitted(45, 79) Source(59, 33) + SourceIndex(0) +11>Emitted(45, 81) Source(59, 35) + SourceIndex(0) +12>Emitted(45, 96) Source(59, 60) + SourceIndex(0) +13>Emitted(45, 98) Source(59, 42) + SourceIndex(0) +14>Emitted(45, 104) Source(59, 48) + SourceIndex(0) +15>Emitted(45, 124) Source(59, 51) + SourceIndex(0) +16>Emitted(45, 133) Source(59, 60) + SourceIndex(0) +17>Emitted(45, 139) Source(59, 60) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1737,14 +1738,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(45, 5) Source(60, 5) + SourceIndex(0) -2 >Emitted(45, 12) Source(60, 12) + SourceIndex(0) -3 >Emitted(45, 13) Source(60, 13) + SourceIndex(0) -4 >Emitted(45, 16) Source(60, 16) + SourceIndex(0) -5 >Emitted(45, 17) Source(60, 17) + SourceIndex(0) -6 >Emitted(45, 22) Source(60, 22) + SourceIndex(0) -7 >Emitted(45, 23) Source(60, 23) + SourceIndex(0) -8 >Emitted(45, 24) Source(60, 24) + SourceIndex(0) +1 >Emitted(46, 5) Source(60, 5) + SourceIndex(0) +2 >Emitted(46, 12) Source(60, 12) + SourceIndex(0) +3 >Emitted(46, 13) Source(60, 13) + SourceIndex(0) +4 >Emitted(46, 16) Source(60, 16) + SourceIndex(0) +5 >Emitted(46, 17) Source(60, 17) + SourceIndex(0) +6 >Emitted(46, 22) Source(60, 22) + SourceIndex(0) +7 >Emitted(46, 23) Source(60, 23) + SourceIndex(0) +8 >Emitted(46, 24) Source(60, 24) + SourceIndex(0) --- >>>} 1 > @@ -1753,8 +1754,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(46, 1) Source(61, 1) + SourceIndex(0) -2 >Emitted(46, 2) Source(61, 2) + SourceIndex(0) +1 >Emitted(47, 1) Source(61, 1) + SourceIndex(0) +2 >Emitted(47, 2) Source(61, 2) + SourceIndex(0) --- >>>for (var _14 = 0, multiRobots_2 = multiRobots; _14 < multiRobots_2.length; _14++) { 1-> @@ -1787,17 +1788,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > multiRobots 10> ) 11> { -1->Emitted(47, 1) Source(62, 1) + SourceIndex(0) -2 >Emitted(47, 6) Source(68, 6) + SourceIndex(0) -3 >Emitted(47, 17) Source(68, 17) + SourceIndex(0) -4 >Emitted(47, 19) Source(68, 6) + SourceIndex(0) -5 >Emitted(47, 46) Source(68, 17) + SourceIndex(0) -6 >Emitted(47, 48) Source(68, 6) + SourceIndex(0) -7 >Emitted(47, 74) Source(68, 17) + SourceIndex(0) -8 >Emitted(47, 76) Source(68, 6) + SourceIndex(0) -9 >Emitted(47, 81) Source(68, 17) + SourceIndex(0) -10>Emitted(47, 83) Source(68, 19) + SourceIndex(0) -11>Emitted(47, 84) Source(68, 20) + SourceIndex(0) +1->Emitted(48, 1) Source(62, 1) + SourceIndex(0) +2 >Emitted(48, 6) Source(68, 6) + SourceIndex(0) +3 >Emitted(48, 17) Source(68, 17) + SourceIndex(0) +4 >Emitted(48, 19) Source(68, 6) + SourceIndex(0) +5 >Emitted(48, 46) Source(68, 17) + SourceIndex(0) +6 >Emitted(48, 48) Source(68, 6) + SourceIndex(0) +7 >Emitted(48, 74) Source(68, 17) + SourceIndex(0) +8 >Emitted(48, 76) Source(68, 6) + SourceIndex(0) +9 >Emitted(48, 81) Source(68, 17) + SourceIndex(0) +10>Emitted(48, 83) Source(68, 19) + SourceIndex(0) +11>Emitted(48, 84) Source(68, 20) + SourceIndex(0) --- >>> var _15 = multiRobots_2[_14], _16 = _15.name, nameA = _16 === void 0 ? "noName" : _16, _17 = _15.skills, _18 = _17 === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _17, _19 = _18.primary, primaryA = _19 === void 0 ? "primary" : _19, _20 = _18.secondary, secondaryA = _20 === void 0 ? "secondary" : _20; 1->^^^^ @@ -1890,44 +1891,44 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 36> = 37> "secondary" 38> -1->Emitted(48, 5) Source(62, 10) + SourceIndex(0) -2 >Emitted(48, 9) Source(62, 10) + SourceIndex(0) -3 >Emitted(48, 33) Source(68, 2) + SourceIndex(0) -4 >Emitted(48, 35) Source(63, 5) + SourceIndex(0) -5 >Emitted(48, 49) Source(63, 27) + SourceIndex(0) -6 >Emitted(48, 51) Source(63, 11) + SourceIndex(0) -7 >Emitted(48, 56) Source(63, 16) + SourceIndex(0) -8 >Emitted(48, 76) Source(63, 19) + SourceIndex(0) -9 >Emitted(48, 84) Source(63, 27) + SourceIndex(0) -10>Emitted(48, 90) Source(63, 27) + SourceIndex(0) -11>Emitted(48, 92) Source(64, 5) + SourceIndex(0) -12>Emitted(48, 108) Source(67, 53) + SourceIndex(0) -13>Emitted(48, 110) Source(64, 5) + SourceIndex(0) -14>Emitted(48, 133) Source(67, 9) + SourceIndex(0) -15>Emitted(48, 135) Source(67, 11) + SourceIndex(0) -16>Emitted(48, 142) Source(67, 18) + SourceIndex(0) -17>Emitted(48, 144) Source(67, 20) + SourceIndex(0) -18>Emitted(48, 153) Source(67, 29) + SourceIndex(0) -19>Emitted(48, 155) Source(67, 31) + SourceIndex(0) -20>Emitted(48, 164) Source(67, 40) + SourceIndex(0) -21>Emitted(48, 166) Source(67, 42) + SourceIndex(0) -22>Emitted(48, 175) Source(67, 51) + SourceIndex(0) -23>Emitted(48, 177) Source(67, 53) + SourceIndex(0) -24>Emitted(48, 183) Source(67, 53) + SourceIndex(0) -25>Emitted(48, 185) Source(65, 9) + SourceIndex(0) -26>Emitted(48, 202) Source(65, 38) + SourceIndex(0) -27>Emitted(48, 204) Source(65, 18) + SourceIndex(0) -28>Emitted(48, 212) Source(65, 26) + SourceIndex(0) -29>Emitted(48, 232) Source(65, 29) + SourceIndex(0) -30>Emitted(48, 241) Source(65, 38) + SourceIndex(0) -31>Emitted(48, 247) Source(65, 38) + SourceIndex(0) -32>Emitted(48, 249) Source(66, 9) + SourceIndex(0) -33>Emitted(48, 268) Source(66, 44) + SourceIndex(0) -34>Emitted(48, 270) Source(66, 20) + SourceIndex(0) -35>Emitted(48, 280) Source(66, 30) + SourceIndex(0) -36>Emitted(48, 300) Source(66, 33) + SourceIndex(0) -37>Emitted(48, 311) Source(66, 44) + SourceIndex(0) -38>Emitted(48, 317) Source(66, 44) + SourceIndex(0) +1->Emitted(49, 5) Source(62, 10) + SourceIndex(0) +2 >Emitted(49, 9) Source(62, 10) + SourceIndex(0) +3 >Emitted(49, 33) Source(68, 2) + SourceIndex(0) +4 >Emitted(49, 35) Source(63, 5) + SourceIndex(0) +5 >Emitted(49, 49) Source(63, 27) + SourceIndex(0) +6 >Emitted(49, 51) Source(63, 11) + SourceIndex(0) +7 >Emitted(49, 56) Source(63, 16) + SourceIndex(0) +8 >Emitted(49, 76) Source(63, 19) + SourceIndex(0) +9 >Emitted(49, 84) Source(63, 27) + SourceIndex(0) +10>Emitted(49, 90) Source(63, 27) + SourceIndex(0) +11>Emitted(49, 92) Source(64, 5) + SourceIndex(0) +12>Emitted(49, 108) Source(67, 53) + SourceIndex(0) +13>Emitted(49, 110) Source(64, 5) + SourceIndex(0) +14>Emitted(49, 133) Source(67, 9) + SourceIndex(0) +15>Emitted(49, 135) Source(67, 11) + SourceIndex(0) +16>Emitted(49, 142) Source(67, 18) + SourceIndex(0) +17>Emitted(49, 144) Source(67, 20) + SourceIndex(0) +18>Emitted(49, 153) Source(67, 29) + SourceIndex(0) +19>Emitted(49, 155) Source(67, 31) + SourceIndex(0) +20>Emitted(49, 164) Source(67, 40) + SourceIndex(0) +21>Emitted(49, 166) Source(67, 42) + SourceIndex(0) +22>Emitted(49, 175) Source(67, 51) + SourceIndex(0) +23>Emitted(49, 177) Source(67, 53) + SourceIndex(0) +24>Emitted(49, 183) Source(67, 53) + SourceIndex(0) +25>Emitted(49, 185) Source(65, 9) + SourceIndex(0) +26>Emitted(49, 202) Source(65, 38) + SourceIndex(0) +27>Emitted(49, 204) Source(65, 18) + SourceIndex(0) +28>Emitted(49, 212) Source(65, 26) + SourceIndex(0) +29>Emitted(49, 232) Source(65, 29) + SourceIndex(0) +30>Emitted(49, 241) Source(65, 38) + SourceIndex(0) +31>Emitted(49, 247) Source(65, 38) + SourceIndex(0) +32>Emitted(49, 249) Source(66, 9) + SourceIndex(0) +33>Emitted(49, 268) Source(66, 44) + SourceIndex(0) +34>Emitted(49, 270) Source(66, 20) + SourceIndex(0) +35>Emitted(49, 280) Source(66, 30) + SourceIndex(0) +36>Emitted(49, 300) Source(66, 33) + SourceIndex(0) +37>Emitted(49, 311) Source(66, 44) + SourceIndex(0) +38>Emitted(49, 317) Source(66, 44) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1949,14 +1950,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(49, 5) Source(69, 5) + SourceIndex(0) -2 >Emitted(49, 12) Source(69, 12) + SourceIndex(0) -3 >Emitted(49, 13) Source(69, 13) + SourceIndex(0) -4 >Emitted(49, 16) Source(69, 16) + SourceIndex(0) -5 >Emitted(49, 17) Source(69, 17) + SourceIndex(0) -6 >Emitted(49, 22) Source(69, 22) + SourceIndex(0) -7 >Emitted(49, 23) Source(69, 23) + SourceIndex(0) -8 >Emitted(49, 24) Source(69, 24) + SourceIndex(0) +1 >Emitted(50, 5) Source(69, 5) + SourceIndex(0) +2 >Emitted(50, 12) Source(69, 12) + SourceIndex(0) +3 >Emitted(50, 13) Source(69, 13) + SourceIndex(0) +4 >Emitted(50, 16) Source(69, 16) + SourceIndex(0) +5 >Emitted(50, 17) Source(69, 17) + SourceIndex(0) +6 >Emitted(50, 22) Source(69, 22) + SourceIndex(0) +7 >Emitted(50, 23) Source(69, 23) + SourceIndex(0) +8 >Emitted(50, 24) Source(69, 24) + SourceIndex(0) --- >>>} 1 > @@ -1965,8 +1966,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(50, 1) Source(70, 1) + SourceIndex(0) -2 >Emitted(50, 2) Source(70, 2) + SourceIndex(0) +1 >Emitted(51, 1) Source(70, 1) + SourceIndex(0) +2 >Emitted(51, 2) Source(70, 2) + SourceIndex(0) --- >>>for (var _21 = 0, _22 = getMultiRobots(); _21 < _22.length; _21++) { 1-> @@ -2003,19 +2004,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getMultiRobots() 12> ) 13> { -1->Emitted(51, 1) Source(71, 1) + SourceIndex(0) -2 >Emitted(51, 6) Source(77, 6) + SourceIndex(0) -3 >Emitted(51, 17) Source(77, 22) + SourceIndex(0) -4 >Emitted(51, 19) Source(77, 6) + SourceIndex(0) -5 >Emitted(51, 25) Source(77, 6) + SourceIndex(0) -6 >Emitted(51, 39) Source(77, 20) + SourceIndex(0) -7 >Emitted(51, 41) Source(77, 22) + SourceIndex(0) -8 >Emitted(51, 43) Source(77, 6) + SourceIndex(0) -9 >Emitted(51, 59) Source(77, 22) + SourceIndex(0) -10>Emitted(51, 61) Source(77, 6) + SourceIndex(0) -11>Emitted(51, 66) Source(77, 22) + SourceIndex(0) -12>Emitted(51, 68) Source(77, 24) + SourceIndex(0) -13>Emitted(51, 69) Source(77, 25) + SourceIndex(0) +1->Emitted(52, 1) Source(71, 1) + SourceIndex(0) +2 >Emitted(52, 6) Source(77, 6) + SourceIndex(0) +3 >Emitted(52, 17) Source(77, 22) + SourceIndex(0) +4 >Emitted(52, 19) Source(77, 6) + SourceIndex(0) +5 >Emitted(52, 25) Source(77, 6) + SourceIndex(0) +6 >Emitted(52, 39) Source(77, 20) + SourceIndex(0) +7 >Emitted(52, 41) Source(77, 22) + SourceIndex(0) +8 >Emitted(52, 43) Source(77, 6) + SourceIndex(0) +9 >Emitted(52, 59) Source(77, 22) + SourceIndex(0) +10>Emitted(52, 61) Source(77, 6) + SourceIndex(0) +11>Emitted(52, 66) Source(77, 22) + SourceIndex(0) +12>Emitted(52, 68) Source(77, 24) + SourceIndex(0) +13>Emitted(52, 69) Source(77, 25) + SourceIndex(0) --- >>> var _23 = _22[_21], _24 = _23.name, nameA = _24 === void 0 ? "noName" : _24, _25 = _23.skills, _26 = _25 === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _25, _27 = _26.primary, primaryA = _27 === void 0 ? "primary" : _27, _28 = _26.secondary, secondaryA = _28 === void 0 ? "secondary" : _28; 1->^^^^ @@ -2108,44 +2109,44 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 36> = 37> "secondary" 38> -1->Emitted(52, 5) Source(71, 10) + SourceIndex(0) -2 >Emitted(52, 9) Source(71, 10) + SourceIndex(0) -3 >Emitted(52, 23) Source(77, 2) + SourceIndex(0) -4 >Emitted(52, 25) Source(72, 5) + SourceIndex(0) -5 >Emitted(52, 39) Source(72, 27) + SourceIndex(0) -6 >Emitted(52, 41) Source(72, 11) + SourceIndex(0) -7 >Emitted(52, 46) Source(72, 16) + SourceIndex(0) -8 >Emitted(52, 66) Source(72, 19) + SourceIndex(0) -9 >Emitted(52, 74) Source(72, 27) + SourceIndex(0) -10>Emitted(52, 80) Source(72, 27) + SourceIndex(0) -11>Emitted(52, 82) Source(73, 5) + SourceIndex(0) -12>Emitted(52, 98) Source(76, 53) + SourceIndex(0) -13>Emitted(52, 100) Source(73, 5) + SourceIndex(0) -14>Emitted(52, 123) Source(76, 9) + SourceIndex(0) -15>Emitted(52, 125) Source(76, 11) + SourceIndex(0) -16>Emitted(52, 132) Source(76, 18) + SourceIndex(0) -17>Emitted(52, 134) Source(76, 20) + SourceIndex(0) -18>Emitted(52, 143) Source(76, 29) + SourceIndex(0) -19>Emitted(52, 145) Source(76, 31) + SourceIndex(0) -20>Emitted(52, 154) Source(76, 40) + SourceIndex(0) -21>Emitted(52, 156) Source(76, 42) + SourceIndex(0) -22>Emitted(52, 165) Source(76, 51) + SourceIndex(0) -23>Emitted(52, 167) Source(76, 53) + SourceIndex(0) -24>Emitted(52, 173) Source(76, 53) + SourceIndex(0) -25>Emitted(52, 175) Source(74, 9) + SourceIndex(0) -26>Emitted(52, 192) Source(74, 38) + SourceIndex(0) -27>Emitted(52, 194) Source(74, 18) + SourceIndex(0) -28>Emitted(52, 202) Source(74, 26) + SourceIndex(0) -29>Emitted(52, 222) Source(74, 29) + SourceIndex(0) -30>Emitted(52, 231) Source(74, 38) + SourceIndex(0) -31>Emitted(52, 237) Source(74, 38) + SourceIndex(0) -32>Emitted(52, 239) Source(75, 9) + SourceIndex(0) -33>Emitted(52, 258) Source(75, 44) + SourceIndex(0) -34>Emitted(52, 260) Source(75, 20) + SourceIndex(0) -35>Emitted(52, 270) Source(75, 30) + SourceIndex(0) -36>Emitted(52, 290) Source(75, 33) + SourceIndex(0) -37>Emitted(52, 301) Source(75, 44) + SourceIndex(0) -38>Emitted(52, 307) Source(75, 44) + SourceIndex(0) +1->Emitted(53, 5) Source(71, 10) + SourceIndex(0) +2 >Emitted(53, 9) Source(71, 10) + SourceIndex(0) +3 >Emitted(53, 23) Source(77, 2) + SourceIndex(0) +4 >Emitted(53, 25) Source(72, 5) + SourceIndex(0) +5 >Emitted(53, 39) Source(72, 27) + SourceIndex(0) +6 >Emitted(53, 41) Source(72, 11) + SourceIndex(0) +7 >Emitted(53, 46) Source(72, 16) + SourceIndex(0) +8 >Emitted(53, 66) Source(72, 19) + SourceIndex(0) +9 >Emitted(53, 74) Source(72, 27) + SourceIndex(0) +10>Emitted(53, 80) Source(72, 27) + SourceIndex(0) +11>Emitted(53, 82) Source(73, 5) + SourceIndex(0) +12>Emitted(53, 98) Source(76, 53) + SourceIndex(0) +13>Emitted(53, 100) Source(73, 5) + SourceIndex(0) +14>Emitted(53, 123) Source(76, 9) + SourceIndex(0) +15>Emitted(53, 125) Source(76, 11) + SourceIndex(0) +16>Emitted(53, 132) Source(76, 18) + SourceIndex(0) +17>Emitted(53, 134) Source(76, 20) + SourceIndex(0) +18>Emitted(53, 143) Source(76, 29) + SourceIndex(0) +19>Emitted(53, 145) Source(76, 31) + SourceIndex(0) +20>Emitted(53, 154) Source(76, 40) + SourceIndex(0) +21>Emitted(53, 156) Source(76, 42) + SourceIndex(0) +22>Emitted(53, 165) Source(76, 51) + SourceIndex(0) +23>Emitted(53, 167) Source(76, 53) + SourceIndex(0) +24>Emitted(53, 173) Source(76, 53) + SourceIndex(0) +25>Emitted(53, 175) Source(74, 9) + SourceIndex(0) +26>Emitted(53, 192) Source(74, 38) + SourceIndex(0) +27>Emitted(53, 194) Source(74, 18) + SourceIndex(0) +28>Emitted(53, 202) Source(74, 26) + SourceIndex(0) +29>Emitted(53, 222) Source(74, 29) + SourceIndex(0) +30>Emitted(53, 231) Source(74, 38) + SourceIndex(0) +31>Emitted(53, 237) Source(74, 38) + SourceIndex(0) +32>Emitted(53, 239) Source(75, 9) + SourceIndex(0) +33>Emitted(53, 258) Source(75, 44) + SourceIndex(0) +34>Emitted(53, 260) Source(75, 20) + SourceIndex(0) +35>Emitted(53, 270) Source(75, 30) + SourceIndex(0) +36>Emitted(53, 290) Source(75, 33) + SourceIndex(0) +37>Emitted(53, 301) Source(75, 44) + SourceIndex(0) +38>Emitted(53, 307) Source(75, 44) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2167,14 +2168,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(53, 5) Source(78, 5) + SourceIndex(0) -2 >Emitted(53, 12) Source(78, 12) + SourceIndex(0) -3 >Emitted(53, 13) Source(78, 13) + SourceIndex(0) -4 >Emitted(53, 16) Source(78, 16) + SourceIndex(0) -5 >Emitted(53, 17) Source(78, 17) + SourceIndex(0) -6 >Emitted(53, 22) Source(78, 22) + SourceIndex(0) -7 >Emitted(53, 23) Source(78, 23) + SourceIndex(0) -8 >Emitted(53, 24) Source(78, 24) + SourceIndex(0) +1 >Emitted(54, 5) Source(78, 5) + SourceIndex(0) +2 >Emitted(54, 12) Source(78, 12) + SourceIndex(0) +3 >Emitted(54, 13) Source(78, 13) + SourceIndex(0) +4 >Emitted(54, 16) Source(78, 16) + SourceIndex(0) +5 >Emitted(54, 17) Source(78, 17) + SourceIndex(0) +6 >Emitted(54, 22) Source(78, 22) + SourceIndex(0) +7 >Emitted(54, 23) Source(78, 23) + SourceIndex(0) +8 >Emitted(54, 24) Source(78, 24) + SourceIndex(0) --- >>>} 1 > @@ -2183,8 +2184,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(54, 1) Source(79, 1) + SourceIndex(0) -2 >Emitted(54, 2) Source(79, 2) + SourceIndex(0) +1 >Emitted(55, 1) Source(79, 1) + SourceIndex(0) +2 >Emitted(55, 2) Source(79, 2) + SourceIndex(0) --- >>>for (var _29 = 0, _30 = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -2242,29 +2243,29 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 21> "none" 22> } 23> } -1->Emitted(55, 1) Source(80, 1) + SourceIndex(0) -2 >Emitted(55, 6) Source(86, 6) + SourceIndex(0) -3 >Emitted(55, 17) Source(87, 79) + SourceIndex(0) -4 >Emitted(55, 19) Source(86, 6) + SourceIndex(0) -5 >Emitted(55, 25) Source(86, 20) + SourceIndex(0) -6 >Emitted(55, 26) Source(86, 21) + SourceIndex(0) -7 >Emitted(55, 28) Source(86, 23) + SourceIndex(0) -8 >Emitted(55, 32) Source(86, 27) + SourceIndex(0) -9 >Emitted(55, 34) Source(86, 29) + SourceIndex(0) -10>Emitted(55, 41) Source(86, 36) + SourceIndex(0) -11>Emitted(55, 43) Source(86, 38) + SourceIndex(0) -12>Emitted(55, 49) Source(86, 44) + SourceIndex(0) -13>Emitted(55, 51) Source(86, 46) + SourceIndex(0) -14>Emitted(55, 53) Source(86, 48) + SourceIndex(0) -15>Emitted(55, 60) Source(86, 55) + SourceIndex(0) -16>Emitted(55, 62) Source(86, 57) + SourceIndex(0) -17>Emitted(55, 70) Source(86, 65) + SourceIndex(0) -18>Emitted(55, 72) Source(86, 67) + SourceIndex(0) -19>Emitted(55, 81) Source(86, 76) + SourceIndex(0) -20>Emitted(55, 83) Source(86, 78) + SourceIndex(0) -21>Emitted(55, 89) Source(86, 84) + SourceIndex(0) -22>Emitted(55, 91) Source(86, 86) + SourceIndex(0) -23>Emitted(55, 93) Source(86, 88) + SourceIndex(0) +1->Emitted(56, 1) Source(80, 1) + SourceIndex(0) +2 >Emitted(56, 6) Source(86, 6) + SourceIndex(0) +3 >Emitted(56, 17) Source(87, 79) + SourceIndex(0) +4 >Emitted(56, 19) Source(86, 6) + SourceIndex(0) +5 >Emitted(56, 25) Source(86, 20) + SourceIndex(0) +6 >Emitted(56, 26) Source(86, 21) + SourceIndex(0) +7 >Emitted(56, 28) Source(86, 23) + SourceIndex(0) +8 >Emitted(56, 32) Source(86, 27) + SourceIndex(0) +9 >Emitted(56, 34) Source(86, 29) + SourceIndex(0) +10>Emitted(56, 41) Source(86, 36) + SourceIndex(0) +11>Emitted(56, 43) Source(86, 38) + SourceIndex(0) +12>Emitted(56, 49) Source(86, 44) + SourceIndex(0) +13>Emitted(56, 51) Source(86, 46) + SourceIndex(0) +14>Emitted(56, 53) Source(86, 48) + SourceIndex(0) +15>Emitted(56, 60) Source(86, 55) + SourceIndex(0) +16>Emitted(56, 62) Source(86, 57) + SourceIndex(0) +17>Emitted(56, 70) Source(86, 65) + SourceIndex(0) +18>Emitted(56, 72) Source(86, 67) + SourceIndex(0) +19>Emitted(56, 81) Source(86, 76) + SourceIndex(0) +20>Emitted(56, 83) Source(86, 78) + SourceIndex(0) +21>Emitted(56, 89) Source(86, 84) + SourceIndex(0) +22>Emitted(56, 91) Source(86, 86) + SourceIndex(0) +23>Emitted(56, 93) Source(86, 88) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _29 < _30.length; _29++) { 1->^^^^ @@ -2321,31 +2322,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(56, 5) Source(87, 5) + SourceIndex(0) -2 >Emitted(56, 7) Source(87, 7) + SourceIndex(0) -3 >Emitted(56, 11) Source(87, 11) + SourceIndex(0) -4 >Emitted(56, 13) Source(87, 13) + SourceIndex(0) -5 >Emitted(56, 22) Source(87, 22) + SourceIndex(0) -6 >Emitted(56, 24) Source(87, 24) + SourceIndex(0) -7 >Emitted(56, 30) Source(87, 30) + SourceIndex(0) -8 >Emitted(56, 32) Source(87, 32) + SourceIndex(0) -9 >Emitted(56, 34) Source(87, 34) + SourceIndex(0) -10>Emitted(56, 41) Source(87, 41) + SourceIndex(0) -11>Emitted(56, 43) Source(87, 43) + SourceIndex(0) -12>Emitted(56, 53) Source(87, 53) + SourceIndex(0) -13>Emitted(56, 55) Source(87, 55) + SourceIndex(0) -14>Emitted(56, 64) Source(87, 64) + SourceIndex(0) -15>Emitted(56, 66) Source(87, 66) + SourceIndex(0) -16>Emitted(56, 74) Source(87, 74) + SourceIndex(0) -17>Emitted(56, 76) Source(87, 76) + SourceIndex(0) -18>Emitted(56, 78) Source(87, 78) + SourceIndex(0) -19>Emitted(56, 79) Source(87, 79) + SourceIndex(0) -20>Emitted(56, 81) Source(86, 6) + SourceIndex(0) -21>Emitted(56, 97) Source(87, 79) + SourceIndex(0) -22>Emitted(56, 99) Source(86, 6) + SourceIndex(0) -23>Emitted(56, 104) Source(87, 79) + SourceIndex(0) -24>Emitted(56, 106) Source(87, 81) + SourceIndex(0) -25>Emitted(56, 107) Source(87, 82) + SourceIndex(0) +1->Emitted(57, 5) Source(87, 5) + SourceIndex(0) +2 >Emitted(57, 7) Source(87, 7) + SourceIndex(0) +3 >Emitted(57, 11) Source(87, 11) + SourceIndex(0) +4 >Emitted(57, 13) Source(87, 13) + SourceIndex(0) +5 >Emitted(57, 22) Source(87, 22) + SourceIndex(0) +6 >Emitted(57, 24) Source(87, 24) + SourceIndex(0) +7 >Emitted(57, 30) Source(87, 30) + SourceIndex(0) +8 >Emitted(57, 32) Source(87, 32) + SourceIndex(0) +9 >Emitted(57, 34) Source(87, 34) + SourceIndex(0) +10>Emitted(57, 41) Source(87, 41) + SourceIndex(0) +11>Emitted(57, 43) Source(87, 43) + SourceIndex(0) +12>Emitted(57, 53) Source(87, 53) + SourceIndex(0) +13>Emitted(57, 55) Source(87, 55) + SourceIndex(0) +14>Emitted(57, 64) Source(87, 64) + SourceIndex(0) +15>Emitted(57, 66) Source(87, 66) + SourceIndex(0) +16>Emitted(57, 74) Source(87, 74) + SourceIndex(0) +17>Emitted(57, 76) Source(87, 76) + SourceIndex(0) +18>Emitted(57, 78) Source(87, 78) + SourceIndex(0) +19>Emitted(57, 79) Source(87, 79) + SourceIndex(0) +20>Emitted(57, 81) Source(86, 6) + SourceIndex(0) +21>Emitted(57, 97) Source(87, 79) + SourceIndex(0) +22>Emitted(57, 99) Source(86, 6) + SourceIndex(0) +23>Emitted(57, 104) Source(87, 79) + SourceIndex(0) +24>Emitted(57, 106) Source(87, 81) + SourceIndex(0) +25>Emitted(57, 107) Source(87, 82) + SourceIndex(0) --- >>> var _31 = _30[_29], _32 = _31.name, nameA = _32 === void 0 ? "noName" : _32, _33 = _31.skills, _34 = _33 === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _33, _35 = _34.primary, primaryA = _35 === void 0 ? "primary" : _35, _36 = _34.secondary, secondaryA = _36 === void 0 ? "secondary" : _36; 1->^^^^ @@ -2438,44 +2439,44 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 36> = 37> "secondary" 38> -1->Emitted(57, 5) Source(80, 10) + SourceIndex(0) -2 >Emitted(57, 9) Source(80, 10) + SourceIndex(0) -3 >Emitted(57, 23) Source(86, 2) + SourceIndex(0) -4 >Emitted(57, 25) Source(81, 5) + SourceIndex(0) -5 >Emitted(57, 39) Source(81, 27) + SourceIndex(0) -6 >Emitted(57, 41) Source(81, 11) + SourceIndex(0) -7 >Emitted(57, 46) Source(81, 16) + SourceIndex(0) -8 >Emitted(57, 66) Source(81, 19) + SourceIndex(0) -9 >Emitted(57, 74) Source(81, 27) + SourceIndex(0) -10>Emitted(57, 80) Source(81, 27) + SourceIndex(0) -11>Emitted(57, 82) Source(82, 5) + SourceIndex(0) -12>Emitted(57, 98) Source(85, 53) + SourceIndex(0) -13>Emitted(57, 100) Source(82, 5) + SourceIndex(0) -14>Emitted(57, 123) Source(85, 9) + SourceIndex(0) -15>Emitted(57, 125) Source(85, 11) + SourceIndex(0) -16>Emitted(57, 132) Source(85, 18) + SourceIndex(0) -17>Emitted(57, 134) Source(85, 20) + SourceIndex(0) -18>Emitted(57, 143) Source(85, 29) + SourceIndex(0) -19>Emitted(57, 145) Source(85, 31) + SourceIndex(0) -20>Emitted(57, 154) Source(85, 40) + SourceIndex(0) -21>Emitted(57, 156) Source(85, 42) + SourceIndex(0) -22>Emitted(57, 165) Source(85, 51) + SourceIndex(0) -23>Emitted(57, 167) Source(85, 53) + SourceIndex(0) -24>Emitted(57, 173) Source(85, 53) + SourceIndex(0) -25>Emitted(57, 175) Source(83, 9) + SourceIndex(0) -26>Emitted(57, 192) Source(83, 38) + SourceIndex(0) -27>Emitted(57, 194) Source(83, 18) + SourceIndex(0) -28>Emitted(57, 202) Source(83, 26) + SourceIndex(0) -29>Emitted(57, 222) Source(83, 29) + SourceIndex(0) -30>Emitted(57, 231) Source(83, 38) + SourceIndex(0) -31>Emitted(57, 237) Source(83, 38) + SourceIndex(0) -32>Emitted(57, 239) Source(84, 9) + SourceIndex(0) -33>Emitted(57, 258) Source(84, 44) + SourceIndex(0) -34>Emitted(57, 260) Source(84, 20) + SourceIndex(0) -35>Emitted(57, 270) Source(84, 30) + SourceIndex(0) -36>Emitted(57, 290) Source(84, 33) + SourceIndex(0) -37>Emitted(57, 301) Source(84, 44) + SourceIndex(0) -38>Emitted(57, 307) Source(84, 44) + SourceIndex(0) +1->Emitted(58, 5) Source(80, 10) + SourceIndex(0) +2 >Emitted(58, 9) Source(80, 10) + SourceIndex(0) +3 >Emitted(58, 23) Source(86, 2) + SourceIndex(0) +4 >Emitted(58, 25) Source(81, 5) + SourceIndex(0) +5 >Emitted(58, 39) Source(81, 27) + SourceIndex(0) +6 >Emitted(58, 41) Source(81, 11) + SourceIndex(0) +7 >Emitted(58, 46) Source(81, 16) + SourceIndex(0) +8 >Emitted(58, 66) Source(81, 19) + SourceIndex(0) +9 >Emitted(58, 74) Source(81, 27) + SourceIndex(0) +10>Emitted(58, 80) Source(81, 27) + SourceIndex(0) +11>Emitted(58, 82) Source(82, 5) + SourceIndex(0) +12>Emitted(58, 98) Source(85, 53) + SourceIndex(0) +13>Emitted(58, 100) Source(82, 5) + SourceIndex(0) +14>Emitted(58, 123) Source(85, 9) + SourceIndex(0) +15>Emitted(58, 125) Source(85, 11) + SourceIndex(0) +16>Emitted(58, 132) Source(85, 18) + SourceIndex(0) +17>Emitted(58, 134) Source(85, 20) + SourceIndex(0) +18>Emitted(58, 143) Source(85, 29) + SourceIndex(0) +19>Emitted(58, 145) Source(85, 31) + SourceIndex(0) +20>Emitted(58, 154) Source(85, 40) + SourceIndex(0) +21>Emitted(58, 156) Source(85, 42) + SourceIndex(0) +22>Emitted(58, 165) Source(85, 51) + SourceIndex(0) +23>Emitted(58, 167) Source(85, 53) + SourceIndex(0) +24>Emitted(58, 173) Source(85, 53) + SourceIndex(0) +25>Emitted(58, 175) Source(83, 9) + SourceIndex(0) +26>Emitted(58, 192) Source(83, 38) + SourceIndex(0) +27>Emitted(58, 194) Source(83, 18) + SourceIndex(0) +28>Emitted(58, 202) Source(83, 26) + SourceIndex(0) +29>Emitted(58, 222) Source(83, 29) + SourceIndex(0) +30>Emitted(58, 231) Source(83, 38) + SourceIndex(0) +31>Emitted(58, 237) Source(83, 38) + SourceIndex(0) +32>Emitted(58, 239) Source(84, 9) + SourceIndex(0) +33>Emitted(58, 258) Source(84, 44) + SourceIndex(0) +34>Emitted(58, 260) Source(84, 20) + SourceIndex(0) +35>Emitted(58, 270) Source(84, 30) + SourceIndex(0) +36>Emitted(58, 290) Source(84, 33) + SourceIndex(0) +37>Emitted(58, 301) Source(84, 44) + SourceIndex(0) +38>Emitted(58, 307) Source(84, 44) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2498,14 +2499,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(58, 5) Source(88, 5) + SourceIndex(0) -2 >Emitted(58, 12) Source(88, 12) + SourceIndex(0) -3 >Emitted(58, 13) Source(88, 13) + SourceIndex(0) -4 >Emitted(58, 16) Source(88, 16) + SourceIndex(0) -5 >Emitted(58, 17) Source(88, 17) + SourceIndex(0) -6 >Emitted(58, 22) Source(88, 22) + SourceIndex(0) -7 >Emitted(58, 23) Source(88, 23) + SourceIndex(0) -8 >Emitted(58, 24) Source(88, 24) + SourceIndex(0) +1 >Emitted(59, 5) Source(88, 5) + SourceIndex(0) +2 >Emitted(59, 12) Source(88, 12) + SourceIndex(0) +3 >Emitted(59, 13) Source(88, 13) + SourceIndex(0) +4 >Emitted(59, 16) Source(88, 16) + SourceIndex(0) +5 >Emitted(59, 17) Source(88, 17) + SourceIndex(0) +6 >Emitted(59, 22) Source(88, 22) + SourceIndex(0) +7 >Emitted(59, 23) Source(88, 23) + SourceIndex(0) +8 >Emitted(59, 24) Source(88, 24) + SourceIndex(0) --- >>>} 1 > @@ -2514,7 +2515,7 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(59, 1) Source(89, 1) + SourceIndex(0) -2 >Emitted(59, 2) Source(89, 2) + SourceIndex(0) +1 >Emitted(60, 1) Source(89, 1) + SourceIndex(0) +2 >Emitted(60, 2) Source(89, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js index 8e6b739396141..8d842450cf678 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js @@ -169,6 +169,7 @@ for ({ } //// [sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59; var robots = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; var multiRobots = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js.map index aaeea872fceaa..c1483e8445bc9 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.ts"],"names":[],"mappings":";AAgBA,IAAI,MAAM,GAAY,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;AACnG,IAAI,WAAW,GAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE;IAChG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;AAE/E,SAAS,SAAS;IACd,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,SAAS,cAAc;IACnB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,IAAI,KAAa,EAAE,QAAgB,EAAE,UAAkB,EAAE,CAAS,EAAE,MAAc,CAAC;AACnF,IAAI,IAAY,EAAE,OAAe,EAAE,SAAiB,EAAE,KAAa,CAAC;AAEpE,KAAkC,UAAM,EAAN,iBAAM,EAAN,oBAAM,EAAN,IAAM,EAAE,CAAC;IAArC,sBAAsB,EAAhB,KAAK,mBAAG,QAAQ,KAAA;IACxB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,KAAkC,WAAW,EAAX,MAAA,SAAS,EAAE,EAAX,gBAAW,EAAX,KAAW,EAAE,CAAC;IAA1C,kBAAsB,EAAhB,KAAK,mBAAG,QAAQ,KAAA;IACxB,OAAO,CAAC,GAAG,CAAC,KAAK,CA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Aic2Vjb25kYXJ5IgogICAgfSA9IHsgcHJpbWFyeTogIm5vU2tpbGwiLCBzZWNvbmRhcnk6ICJub1NraWxsIiB9Cn0gb2YgW3sgbmFtZTogIm1vd2VyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJtb3dpbmciLCBzZWNvbmRhcnk6ICJub25lIiB9IH0sCiAgICB7IG5hbWU6ICJ0cmltbWVyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJ0cmltbWluZyIsIHNlY29uZGFyeTogImVkZ2luZyIgfSB9XSkgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9 +{"version":3,"file":"sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.ts"],"names":[],"mappings":";;AAgBA,IAAI,MAAM,GAAY,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC,CAAC;AACnG,IAAI,WAAW,GAAiB,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE;IAChG,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC;AAE/E,SAAS,SAAS;IACd,OAAO,MAAM,CAAC;AAClB,CAAC;AAED,SAAS,cAAc;IACnB,OAAO,WAAW,CAAC;AACvB,CAAC;AAED,IAAI,KAAa,EAAE,QAAgB,EAAE,UAAkB,EAAE,CAAS,EAAE,MAAc,CAAC;AACnF,IAAI,IAAY,EAAE,OAAe,EAAE,SAAiB,EAAE,KAAa,CAAC;AAEpE,KAAkC,UAAM,EAAN,iBAAM,EAAN,oBAAM,EAAN,IAAM,EAAE,CAAC;I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jb25kYXJ5IgogICAgfSA9IHsgcHJpbWFyeTogIm5vU2tpbGwiLCBzZWNvbmRhcnk6ICJub1NraWxsIiB9Cn0gb2YgZ2V0TXVsdGlSb2JvdHMoKSkgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9CmZvciAoewogICAgbmFtZSA9ICJub05hbWUiLAogICAgc2tpbGxzOiB7CiAgICAgICAgcHJpbWFyeSA9ICJwcmltYXJ5IiwKICAgICAgICBzZWNvbmRhcnkgPSAic2Vjb25kYXJ5IgogICAgfSA9IHsgcHJpbWFyeTogIm5vU2tpbGwiLCBzZWNvbmRhcnk6ICJub1NraWxsIiB9Cn0gb2YgW3sgbmFtZTogIm1vd2VyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJtb3dpbmciLCBzZWNvbmRhcnk6ICJub25lIiB9IH0sCiAgICB7IG5hbWU6ICJ0cmltbWVyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJ0cmltbWluZyIsIHNlY29uZGFyeTogImVkZ2luZyIgfSB9XSkgewogICAgY29uc29sZS5sb2cobmFtZUEpOwp9 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.sourcemap.txt index d81799e7f65eb..91ffc9d722815 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2 emittedFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38, _39, _40, _41, _42, _43, _44, _45, _46, _47, _48, _49, _50, _51, _52, _53, _54, _55, _56, _57, _58, _59; >>>var robots = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; 1 > @@ -78,32 +79,32 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 24> } 25> ] 26> ; -1 >Emitted(2, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(17, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(17, 23) + SourceIndex(0) -5 >Emitted(2, 15) Source(17, 24) + SourceIndex(0) -6 >Emitted(2, 17) Source(17, 26) + SourceIndex(0) -7 >Emitted(2, 21) Source(17, 30) + SourceIndex(0) -8 >Emitted(2, 23) Source(17, 32) + SourceIndex(0) -9 >Emitted(2, 30) Source(17, 39) + SourceIndex(0) -10>Emitted(2, 32) Source(17, 41) + SourceIndex(0) -11>Emitted(2, 37) Source(17, 46) + SourceIndex(0) -12>Emitted(2, 39) Source(17, 48) + SourceIndex(0) -13>Emitted(2, 47) Source(17, 56) + SourceIndex(0) -14>Emitted(2, 49) Source(17, 58) + SourceIndex(0) -15>Emitted(2, 51) Source(17, 60) + SourceIndex(0) -16>Emitted(2, 53) Source(17, 62) + SourceIndex(0) -17>Emitted(2, 57) Source(17, 66) + SourceIndex(0) -18>Emitted(2, 59) Source(17, 68) + SourceIndex(0) -19>Emitted(2, 68) Source(17, 77) + SourceIndex(0) -20>Emitted(2, 70) Source(17, 79) + SourceIndex(0) -21>Emitted(2, 75) Source(17, 84) + SourceIndex(0) -22>Emitted(2, 77) Source(17, 86) + SourceIndex(0) -23>Emitted(2, 87) Source(17, 96) + SourceIndex(0) -24>Emitted(2, 89) Source(17, 98) + SourceIndex(0) -25>Emitted(2, 90) Source(17, 99) + SourceIndex(0) -26>Emitted(2, 91) Source(17, 100) + SourceIndex(0) +1 >Emitted(3, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(17, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(17, 23) + SourceIndex(0) +5 >Emitted(3, 15) Source(17, 24) + SourceIndex(0) +6 >Emitted(3, 17) Source(17, 26) + SourceIndex(0) +7 >Emitted(3, 21) Source(17, 30) + SourceIndex(0) +8 >Emitted(3, 23) Source(17, 32) + SourceIndex(0) +9 >Emitted(3, 30) Source(17, 39) + SourceIndex(0) +10>Emitted(3, 32) Source(17, 41) + SourceIndex(0) +11>Emitted(3, 37) Source(17, 46) + SourceIndex(0) +12>Emitted(3, 39) Source(17, 48) + SourceIndex(0) +13>Emitted(3, 47) Source(17, 56) + SourceIndex(0) +14>Emitted(3, 49) Source(17, 58) + SourceIndex(0) +15>Emitted(3, 51) Source(17, 60) + SourceIndex(0) +16>Emitted(3, 53) Source(17, 62) + SourceIndex(0) +17>Emitted(3, 57) Source(17, 66) + SourceIndex(0) +18>Emitted(3, 59) Source(17, 68) + SourceIndex(0) +19>Emitted(3, 68) Source(17, 77) + SourceIndex(0) +20>Emitted(3, 70) Source(17, 79) + SourceIndex(0) +21>Emitted(3, 75) Source(17, 84) + SourceIndex(0) +22>Emitted(3, 77) Source(17, 86) + SourceIndex(0) +23>Emitted(3, 87) Source(17, 96) + SourceIndex(0) +24>Emitted(3, 89) Source(17, 98) + SourceIndex(0) +25>Emitted(3, 90) Source(17, 99) + SourceIndex(0) +26>Emitted(3, 91) Source(17, 100) + SourceIndex(0) --- >>>var multiRobots = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1 > @@ -151,28 +152,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 20> "none" 21> } 22> } -1 >Emitted(3, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(3, 16) Source(18, 16) + SourceIndex(0) -4 >Emitted(3, 19) Source(18, 33) + SourceIndex(0) -5 >Emitted(3, 20) Source(18, 34) + SourceIndex(0) -6 >Emitted(3, 22) Source(18, 36) + SourceIndex(0) -7 >Emitted(3, 26) Source(18, 40) + SourceIndex(0) -8 >Emitted(3, 28) Source(18, 42) + SourceIndex(0) -9 >Emitted(3, 35) Source(18, 49) + SourceIndex(0) -10>Emitted(3, 37) Source(18, 51) + SourceIndex(0) -11>Emitted(3, 43) Source(18, 57) + SourceIndex(0) -12>Emitted(3, 45) Source(18, 59) + SourceIndex(0) -13>Emitted(3, 47) Source(18, 61) + SourceIndex(0) -14>Emitted(3, 54) Source(18, 68) + SourceIndex(0) -15>Emitted(3, 56) Source(18, 70) + SourceIndex(0) -16>Emitted(3, 64) Source(18, 78) + SourceIndex(0) -17>Emitted(3, 66) Source(18, 80) + SourceIndex(0) -18>Emitted(3, 75) Source(18, 89) + SourceIndex(0) -19>Emitted(3, 77) Source(18, 91) + SourceIndex(0) -20>Emitted(3, 83) Source(18, 97) + SourceIndex(0) -21>Emitted(3, 85) Source(18, 99) + SourceIndex(0) -22>Emitted(3, 87) Source(18, 101) + SourceIndex(0) +1 >Emitted(4, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(4, 16) Source(18, 16) + SourceIndex(0) +4 >Emitted(4, 19) Source(18, 33) + SourceIndex(0) +5 >Emitted(4, 20) Source(18, 34) + SourceIndex(0) +6 >Emitted(4, 22) Source(18, 36) + SourceIndex(0) +7 >Emitted(4, 26) Source(18, 40) + SourceIndex(0) +8 >Emitted(4, 28) Source(18, 42) + SourceIndex(0) +9 >Emitted(4, 35) Source(18, 49) + SourceIndex(0) +10>Emitted(4, 37) Source(18, 51) + SourceIndex(0) +11>Emitted(4, 43) Source(18, 57) + SourceIndex(0) +12>Emitted(4, 45) Source(18, 59) + SourceIndex(0) +13>Emitted(4, 47) Source(18, 61) + SourceIndex(0) +14>Emitted(4, 54) Source(18, 68) + SourceIndex(0) +15>Emitted(4, 56) Source(18, 70) + SourceIndex(0) +16>Emitted(4, 64) Source(18, 78) + SourceIndex(0) +17>Emitted(4, 66) Source(18, 80) + SourceIndex(0) +18>Emitted(4, 75) Source(18, 89) + SourceIndex(0) +19>Emitted(4, 77) Source(18, 91) + SourceIndex(0) +20>Emitted(4, 83) Source(18, 97) + SourceIndex(0) +21>Emitted(4, 85) Source(18, 99) + SourceIndex(0) +22>Emitted(4, 87) Source(18, 101) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; 1 >^^^^ @@ -216,26 +217,26 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 18> } 19> ] 20> ; -1 >Emitted(4, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(4, 7) Source(19, 7) + SourceIndex(0) -3 >Emitted(4, 11) Source(19, 11) + SourceIndex(0) -4 >Emitted(4, 13) Source(19, 13) + SourceIndex(0) -5 >Emitted(4, 22) Source(19, 22) + SourceIndex(0) -6 >Emitted(4, 24) Source(19, 24) + SourceIndex(0) -7 >Emitted(4, 30) Source(19, 30) + SourceIndex(0) -8 >Emitted(4, 32) Source(19, 32) + SourceIndex(0) -9 >Emitted(4, 34) Source(19, 34) + SourceIndex(0) -10>Emitted(4, 41) Source(19, 41) + SourceIndex(0) -11>Emitted(4, 43) Source(19, 43) + SourceIndex(0) -12>Emitted(4, 53) Source(19, 53) + SourceIndex(0) -13>Emitted(4, 55) Source(19, 55) + SourceIndex(0) -14>Emitted(4, 64) Source(19, 64) + SourceIndex(0) -15>Emitted(4, 66) Source(19, 66) + SourceIndex(0) -16>Emitted(4, 74) Source(19, 74) + SourceIndex(0) -17>Emitted(4, 76) Source(19, 76) + SourceIndex(0) -18>Emitted(4, 78) Source(19, 78) + SourceIndex(0) -19>Emitted(4, 79) Source(19, 79) + SourceIndex(0) -20>Emitted(4, 80) Source(19, 80) + SourceIndex(0) +1 >Emitted(5, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(5, 7) Source(19, 7) + SourceIndex(0) +3 >Emitted(5, 11) Source(19, 11) + SourceIndex(0) +4 >Emitted(5, 13) Source(19, 13) + SourceIndex(0) +5 >Emitted(5, 22) Source(19, 22) + SourceIndex(0) +6 >Emitted(5, 24) Source(19, 24) + SourceIndex(0) +7 >Emitted(5, 30) Source(19, 30) + SourceIndex(0) +8 >Emitted(5, 32) Source(19, 32) + SourceIndex(0) +9 >Emitted(5, 34) Source(19, 34) + SourceIndex(0) +10>Emitted(5, 41) Source(19, 41) + SourceIndex(0) +11>Emitted(5, 43) Source(19, 43) + SourceIndex(0) +12>Emitted(5, 53) Source(19, 53) + SourceIndex(0) +13>Emitted(5, 55) Source(19, 55) + SourceIndex(0) +14>Emitted(5, 64) Source(19, 64) + SourceIndex(0) +15>Emitted(5, 66) Source(19, 66) + SourceIndex(0) +16>Emitted(5, 74) Source(19, 74) + SourceIndex(0) +17>Emitted(5, 76) Source(19, 76) + SourceIndex(0) +18>Emitted(5, 78) Source(19, 78) + SourceIndex(0) +19>Emitted(5, 79) Source(19, 79) + SourceIndex(0) +20>Emitted(5, 80) Source(19, 80) + SourceIndex(0) --- >>>function getRobots() { 1 > @@ -247,9 +248,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue > 2 >function 3 > getRobots -1 >Emitted(5, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(5, 10) Source(21, 10) + SourceIndex(0) -3 >Emitted(5, 19) Source(21, 19) + SourceIndex(0) +1 >Emitted(6, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(6, 10) Source(21, 10) + SourceIndex(0) +3 >Emitted(6, 19) Source(21, 19) + SourceIndex(0) --- >>> return robots; 1->^^^^ @@ -261,10 +262,10 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 2 > return 3 > robots 4 > ; -1->Emitted(6, 5) Source(22, 5) + SourceIndex(0) -2 >Emitted(6, 12) Source(22, 12) + SourceIndex(0) -3 >Emitted(6, 18) Source(22, 18) + SourceIndex(0) -4 >Emitted(6, 19) Source(22, 19) + SourceIndex(0) +1->Emitted(7, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(7, 12) Source(22, 12) + SourceIndex(0) +3 >Emitted(7, 18) Source(22, 18) + SourceIndex(0) +4 >Emitted(7, 19) Source(22, 19) + SourceIndex(0) --- >>>} 1 > @@ -273,8 +274,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(7, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(23, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(23, 2) + SourceIndex(0) --- >>>function getMultiRobots() { 1-> @@ -286,9 +287,9 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue > 2 >function 3 > getMultiRobots -1->Emitted(8, 1) Source(25, 1) + SourceIndex(0) -2 >Emitted(8, 10) Source(25, 10) + SourceIndex(0) -3 >Emitted(8, 24) Source(25, 24) + SourceIndex(0) +1->Emitted(9, 1) Source(25, 1) + SourceIndex(0) +2 >Emitted(9, 10) Source(25, 10) + SourceIndex(0) +3 >Emitted(9, 24) Source(25, 24) + SourceIndex(0) --- >>> return multiRobots; 1->^^^^ @@ -300,10 +301,10 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 2 > return 3 > multiRobots 4 > ; -1->Emitted(9, 5) Source(26, 5) + SourceIndex(0) -2 >Emitted(9, 12) Source(26, 12) + SourceIndex(0) -3 >Emitted(9, 23) Source(26, 23) + SourceIndex(0) -4 >Emitted(9, 24) Source(26, 24) + SourceIndex(0) +1->Emitted(10, 5) Source(26, 5) + SourceIndex(0) +2 >Emitted(10, 12) Source(26, 12) + SourceIndex(0) +3 >Emitted(10, 23) Source(26, 23) + SourceIndex(0) +4 >Emitted(10, 24) Source(26, 24) + SourceIndex(0) --- >>>} 1 > @@ -312,8 +313,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(10, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(10, 2) Source(27, 2) + SourceIndex(0) +1 >Emitted(11, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(11, 2) Source(27, 2) + SourceIndex(0) --- >>>var nameA, primaryA, secondaryA, i, skillA; 1-> @@ -342,18 +343,18 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 10> , 11> skillA: string 12> ; -1->Emitted(11, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(11, 5) Source(29, 5) + SourceIndex(0) -3 >Emitted(11, 10) Source(29, 18) + SourceIndex(0) -4 >Emitted(11, 12) Source(29, 20) + SourceIndex(0) -5 >Emitted(11, 20) Source(29, 36) + SourceIndex(0) -6 >Emitted(11, 22) Source(29, 38) + SourceIndex(0) -7 >Emitted(11, 32) Source(29, 56) + SourceIndex(0) -8 >Emitted(11, 34) Source(29, 58) + SourceIndex(0) -9 >Emitted(11, 35) Source(29, 67) + SourceIndex(0) -10>Emitted(11, 37) Source(29, 69) + SourceIndex(0) -11>Emitted(11, 43) Source(29, 83) + SourceIndex(0) -12>Emitted(11, 44) Source(29, 84) + SourceIndex(0) +1->Emitted(12, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(12, 5) Source(29, 5) + SourceIndex(0) +3 >Emitted(12, 10) Source(29, 18) + SourceIndex(0) +4 >Emitted(12, 12) Source(29, 20) + SourceIndex(0) +5 >Emitted(12, 20) Source(29, 36) + SourceIndex(0) +6 >Emitted(12, 22) Source(29, 38) + SourceIndex(0) +7 >Emitted(12, 32) Source(29, 56) + SourceIndex(0) +8 >Emitted(12, 34) Source(29, 58) + SourceIndex(0) +9 >Emitted(12, 35) Source(29, 67) + SourceIndex(0) +10>Emitted(12, 37) Source(29, 69) + SourceIndex(0) +11>Emitted(12, 43) Source(29, 83) + SourceIndex(0) +12>Emitted(12, 44) Source(29, 84) + SourceIndex(0) --- >>>var name, primary, secondary, skill; 1 > @@ -378,16 +379,16 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 8 > , 9 > skill: string 10> ; -1 >Emitted(12, 1) Source(30, 1) + SourceIndex(0) -2 >Emitted(12, 5) Source(30, 5) + SourceIndex(0) -3 >Emitted(12, 9) Source(30, 17) + SourceIndex(0) -4 >Emitted(12, 11) Source(30, 19) + SourceIndex(0) -5 >Emitted(12, 18) Source(30, 34) + SourceIndex(0) -6 >Emitted(12, 20) Source(30, 36) + SourceIndex(0) -7 >Emitted(12, 29) Source(30, 53) + SourceIndex(0) -8 >Emitted(12, 31) Source(30, 55) + SourceIndex(0) -9 >Emitted(12, 36) Source(30, 68) + SourceIndex(0) -10>Emitted(12, 37) Source(30, 69) + SourceIndex(0) +1 >Emitted(13, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(13, 5) Source(30, 5) + SourceIndex(0) +3 >Emitted(13, 9) Source(30, 17) + SourceIndex(0) +4 >Emitted(13, 11) Source(30, 19) + SourceIndex(0) +5 >Emitted(13, 18) Source(30, 34) + SourceIndex(0) +6 >Emitted(13, 20) Source(30, 36) + SourceIndex(0) +7 >Emitted(13, 29) Source(30, 53) + SourceIndex(0) +8 >Emitted(13, 31) Source(30, 55) + SourceIndex(0) +9 >Emitted(13, 36) Source(30, 68) + SourceIndex(0) +10>Emitted(13, 37) Source(30, 69) + SourceIndex(0) --- >>>for (var _i = 0, robots_1 = robots; _i < robots_1.length; _i++) { 1-> @@ -415,17 +416,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > robots 10> ) 11> { -1->Emitted(13, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(13, 6) Source(32, 35) + SourceIndex(0) -3 >Emitted(13, 16) Source(32, 41) + SourceIndex(0) -4 >Emitted(13, 18) Source(32, 35) + SourceIndex(0) -5 >Emitted(13, 35) Source(32, 41) + SourceIndex(0) -6 >Emitted(13, 37) Source(32, 35) + SourceIndex(0) -7 >Emitted(13, 57) Source(32, 41) + SourceIndex(0) -8 >Emitted(13, 59) Source(32, 35) + SourceIndex(0) -9 >Emitted(13, 63) Source(32, 41) + SourceIndex(0) -10>Emitted(13, 65) Source(32, 43) + SourceIndex(0) -11>Emitted(13, 66) Source(32, 44) + SourceIndex(0) +1->Emitted(14, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(14, 6) Source(32, 35) + SourceIndex(0) +3 >Emitted(14, 16) Source(32, 41) + SourceIndex(0) +4 >Emitted(14, 18) Source(32, 35) + SourceIndex(0) +5 >Emitted(14, 35) Source(32, 41) + SourceIndex(0) +6 >Emitted(14, 37) Source(32, 35) + SourceIndex(0) +7 >Emitted(14, 57) Source(32, 41) + SourceIndex(0) +8 >Emitted(14, 59) Source(32, 35) + SourceIndex(0) +9 >Emitted(14, 63) Source(32, 41) + SourceIndex(0) +10>Emitted(14, 65) Source(32, 43) + SourceIndex(0) +11>Emitted(14, 66) Source(32, 44) + SourceIndex(0) --- >>> _a = robots_1[_i].name, nameA = _a === void 0 ? "noName" : _a; 1->^^^^ @@ -442,13 +443,13 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 5 > = 6 > "noName" 7 > -1->Emitted(14, 5) Source(32, 7) + SourceIndex(0) -2 >Emitted(14, 27) Source(32, 29) + SourceIndex(0) -3 >Emitted(14, 29) Source(32, 13) + SourceIndex(0) -4 >Emitted(14, 34) Source(32, 18) + SourceIndex(0) -5 >Emitted(14, 53) Source(32, 21) + SourceIndex(0) -6 >Emitted(14, 61) Source(32, 29) + SourceIndex(0) -7 >Emitted(14, 66) Source(32, 29) + SourceIndex(0) +1->Emitted(15, 5) Source(32, 7) + SourceIndex(0) +2 >Emitted(15, 27) Source(32, 29) + SourceIndex(0) +3 >Emitted(15, 29) Source(32, 13) + SourceIndex(0) +4 >Emitted(15, 34) Source(32, 18) + SourceIndex(0) +5 >Emitted(15, 53) Source(32, 21) + SourceIndex(0) +6 >Emitted(15, 61) Source(32, 29) + SourceIndex(0) +7 >Emitted(15, 66) Source(32, 29) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -468,14 +469,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(15, 5) Source(33, 5) + SourceIndex(0) -2 >Emitted(15, 12) Source(33, 12) + SourceIndex(0) -3 >Emitted(15, 13) Source(33, 13) + SourceIndex(0) -4 >Emitted(15, 16) Source(33, 16) + SourceIndex(0) -5 >Emitted(15, 17) Source(33, 17) + SourceIndex(0) -6 >Emitted(15, 22) Source(33, 22) + SourceIndex(0) -7 >Emitted(15, 23) Source(33, 23) + SourceIndex(0) -8 >Emitted(15, 24) Source(33, 24) + SourceIndex(0) +1 >Emitted(16, 5) Source(33, 5) + SourceIndex(0) +2 >Emitted(16, 12) Source(33, 12) + SourceIndex(0) +3 >Emitted(16, 13) Source(33, 13) + SourceIndex(0) +4 >Emitted(16, 16) Source(33, 16) + SourceIndex(0) +5 >Emitted(16, 17) Source(33, 17) + SourceIndex(0) +6 >Emitted(16, 22) Source(33, 22) + SourceIndex(0) +7 >Emitted(16, 23) Source(33, 23) + SourceIndex(0) +8 >Emitted(16, 24) Source(33, 24) + SourceIndex(0) --- >>>} 1 > @@ -484,8 +485,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(16, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(16, 2) Source(34, 2) + SourceIndex(0) +1 >Emitted(17, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(17, 2) Source(34, 2) + SourceIndex(0) --- >>>for (var _60 = 0, _61 = getRobots(); _60 < _61.length; _60++) { 1-> @@ -515,19 +516,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getRobots() 12> ) 13> { -1->Emitted(17, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(17, 6) Source(35, 35) + SourceIndex(0) -3 >Emitted(17, 17) Source(35, 46) + SourceIndex(0) -4 >Emitted(17, 19) Source(35, 35) + SourceIndex(0) -5 >Emitted(17, 25) Source(35, 35) + SourceIndex(0) -6 >Emitted(17, 34) Source(35, 44) + SourceIndex(0) -7 >Emitted(17, 36) Source(35, 46) + SourceIndex(0) -8 >Emitted(17, 38) Source(35, 35) + SourceIndex(0) -9 >Emitted(17, 54) Source(35, 46) + SourceIndex(0) -10>Emitted(17, 56) Source(35, 35) + SourceIndex(0) -11>Emitted(17, 61) Source(35, 46) + SourceIndex(0) -12>Emitted(17, 63) Source(35, 48) + SourceIndex(0) -13>Emitted(17, 64) Source(35, 49) + SourceIndex(0) +1->Emitted(18, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(18, 6) Source(35, 35) + SourceIndex(0) +3 >Emitted(18, 17) Source(35, 46) + SourceIndex(0) +4 >Emitted(18, 19) Source(35, 35) + SourceIndex(0) +5 >Emitted(18, 25) Source(35, 35) + SourceIndex(0) +6 >Emitted(18, 34) Source(35, 44) + SourceIndex(0) +7 >Emitted(18, 36) Source(35, 46) + SourceIndex(0) +8 >Emitted(18, 38) Source(35, 35) + SourceIndex(0) +9 >Emitted(18, 54) Source(35, 46) + SourceIndex(0) +10>Emitted(18, 56) Source(35, 35) + SourceIndex(0) +11>Emitted(18, 61) Source(35, 46) + SourceIndex(0) +12>Emitted(18, 63) Source(35, 48) + SourceIndex(0) +13>Emitted(18, 64) Source(35, 49) + SourceIndex(0) --- >>> _b = _61[_60].name, nameA = _b === void 0 ? "noName" : _b; 1 >^^^^ @@ -544,13 +545,13 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 5 > = 6 > "noName" 7 > -1 >Emitted(18, 5) Source(35, 7) + SourceIndex(0) -2 >Emitted(18, 23) Source(35, 29) + SourceIndex(0) -3 >Emitted(18, 25) Source(35, 13) + SourceIndex(0) -4 >Emitted(18, 30) Source(35, 18) + SourceIndex(0) -5 >Emitted(18, 49) Source(35, 21) + SourceIndex(0) -6 >Emitted(18, 57) Source(35, 29) + SourceIndex(0) -7 >Emitted(18, 62) Source(35, 29) + SourceIndex(0) +1 >Emitted(19, 5) Source(35, 7) + SourceIndex(0) +2 >Emitted(19, 23) Source(35, 29) + SourceIndex(0) +3 >Emitted(19, 25) Source(35, 13) + SourceIndex(0) +4 >Emitted(19, 30) Source(35, 18) + SourceIndex(0) +5 >Emitted(19, 49) Source(35, 21) + SourceIndex(0) +6 >Emitted(19, 57) Source(35, 29) + SourceIndex(0) +7 >Emitted(19, 62) Source(35, 29) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -570,14 +571,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(19, 5) Source(36, 5) + SourceIndex(0) -2 >Emitted(19, 12) Source(36, 12) + SourceIndex(0) -3 >Emitted(19, 13) Source(36, 13) + SourceIndex(0) -4 >Emitted(19, 16) Source(36, 16) + SourceIndex(0) -5 >Emitted(19, 17) Source(36, 17) + SourceIndex(0) -6 >Emitted(19, 22) Source(36, 22) + SourceIndex(0) -7 >Emitted(19, 23) Source(36, 23) + SourceIndex(0) -8 >Emitted(19, 24) Source(36, 24) + SourceIndex(0) +1 >Emitted(20, 5) Source(36, 5) + SourceIndex(0) +2 >Emitted(20, 12) Source(36, 12) + SourceIndex(0) +3 >Emitted(20, 13) Source(36, 13) + SourceIndex(0) +4 >Emitted(20, 16) Source(36, 16) + SourceIndex(0) +5 >Emitted(20, 17) Source(36, 17) + SourceIndex(0) +6 >Emitted(20, 22) Source(36, 22) + SourceIndex(0) +7 >Emitted(20, 23) Source(36, 23) + SourceIndex(0) +8 >Emitted(20, 24) Source(36, 24) + SourceIndex(0) --- >>>} 1 > @@ -586,8 +587,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(20, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(20, 2) Source(37, 2) + SourceIndex(0) +1 >Emitted(21, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(21, 2) Source(37, 2) + SourceIndex(0) --- >>>for (var _62 = 0, _63 = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _62 < _63.length; _62++) { 1-> @@ -653,37 +654,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(21, 1) Source(38, 1) + SourceIndex(0) -2 >Emitted(21, 6) Source(38, 35) + SourceIndex(0) -3 >Emitted(21, 17) Source(38, 111) + SourceIndex(0) -4 >Emitted(21, 19) Source(38, 35) + SourceIndex(0) -5 >Emitted(21, 26) Source(38, 36) + SourceIndex(0) -6 >Emitted(21, 28) Source(38, 38) + SourceIndex(0) -7 >Emitted(21, 32) Source(38, 42) + SourceIndex(0) -8 >Emitted(21, 34) Source(38, 44) + SourceIndex(0) -9 >Emitted(21, 41) Source(38, 51) + SourceIndex(0) -10>Emitted(21, 43) Source(38, 53) + SourceIndex(0) -11>Emitted(21, 48) Source(38, 58) + SourceIndex(0) -12>Emitted(21, 50) Source(38, 60) + SourceIndex(0) -13>Emitted(21, 58) Source(38, 68) + SourceIndex(0) -14>Emitted(21, 60) Source(38, 70) + SourceIndex(0) -15>Emitted(21, 62) Source(38, 72) + SourceIndex(0) -16>Emitted(21, 64) Source(38, 74) + SourceIndex(0) -17>Emitted(21, 68) Source(38, 78) + SourceIndex(0) -18>Emitted(21, 70) Source(38, 80) + SourceIndex(0) -19>Emitted(21, 79) Source(38, 89) + SourceIndex(0) -20>Emitted(21, 81) Source(38, 91) + SourceIndex(0) -21>Emitted(21, 86) Source(38, 96) + SourceIndex(0) -22>Emitted(21, 88) Source(38, 98) + SourceIndex(0) -23>Emitted(21, 98) Source(38, 108) + SourceIndex(0) -24>Emitted(21, 100) Source(38, 110) + SourceIndex(0) -25>Emitted(21, 101) Source(38, 111) + SourceIndex(0) -26>Emitted(21, 103) Source(38, 35) + SourceIndex(0) -27>Emitted(21, 119) Source(38, 111) + SourceIndex(0) -28>Emitted(21, 121) Source(38, 35) + SourceIndex(0) -29>Emitted(21, 126) Source(38, 111) + SourceIndex(0) -30>Emitted(21, 128) Source(38, 113) + SourceIndex(0) -31>Emitted(21, 129) Source(38, 114) + SourceIndex(0) +1->Emitted(22, 1) Source(38, 1) + SourceIndex(0) +2 >Emitted(22, 6) Source(38, 35) + SourceIndex(0) +3 >Emitted(22, 17) Source(38, 111) + SourceIndex(0) +4 >Emitted(22, 19) Source(38, 35) + SourceIndex(0) +5 >Emitted(22, 26) Source(38, 36) + SourceIndex(0) +6 >Emitted(22, 28) Source(38, 38) + SourceIndex(0) +7 >Emitted(22, 32) Source(38, 42) + SourceIndex(0) +8 >Emitted(22, 34) Source(38, 44) + SourceIndex(0) +9 >Emitted(22, 41) Source(38, 51) + SourceIndex(0) +10>Emitted(22, 43) Source(38, 53) + SourceIndex(0) +11>Emitted(22, 48) Source(38, 58) + SourceIndex(0) +12>Emitted(22, 50) Source(38, 60) + SourceIndex(0) +13>Emitted(22, 58) Source(38, 68) + SourceIndex(0) +14>Emitted(22, 60) Source(38, 70) + SourceIndex(0) +15>Emitted(22, 62) Source(38, 72) + SourceIndex(0) +16>Emitted(22, 64) Source(38, 74) + SourceIndex(0) +17>Emitted(22, 68) Source(38, 78) + SourceIndex(0) +18>Emitted(22, 70) Source(38, 80) + SourceIndex(0) +19>Emitted(22, 79) Source(38, 89) + SourceIndex(0) +20>Emitted(22, 81) Source(38, 91) + SourceIndex(0) +21>Emitted(22, 86) Source(38, 96) + SourceIndex(0) +22>Emitted(22, 88) Source(38, 98) + SourceIndex(0) +23>Emitted(22, 98) Source(38, 108) + SourceIndex(0) +24>Emitted(22, 100) Source(38, 110) + SourceIndex(0) +25>Emitted(22, 101) Source(38, 111) + SourceIndex(0) +26>Emitted(22, 103) Source(38, 35) + SourceIndex(0) +27>Emitted(22, 119) Source(38, 111) + SourceIndex(0) +28>Emitted(22, 121) Source(38, 35) + SourceIndex(0) +29>Emitted(22, 126) Source(38, 111) + SourceIndex(0) +30>Emitted(22, 128) Source(38, 113) + SourceIndex(0) +31>Emitted(22, 129) Source(38, 114) + SourceIndex(0) --- >>> _c = _63[_62].name, nameA = _c === void 0 ? "noName" : _c; 1 >^^^^ @@ -700,13 +701,13 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 5 > = 6 > "noName" 7 > -1 >Emitted(22, 5) Source(38, 7) + SourceIndex(0) -2 >Emitted(22, 23) Source(38, 29) + SourceIndex(0) -3 >Emitted(22, 25) Source(38, 13) + SourceIndex(0) -4 >Emitted(22, 30) Source(38, 18) + SourceIndex(0) -5 >Emitted(22, 49) Source(38, 21) + SourceIndex(0) -6 >Emitted(22, 57) Source(38, 29) + SourceIndex(0) -7 >Emitted(22, 62) Source(38, 29) + SourceIndex(0) +1 >Emitted(23, 5) Source(38, 7) + SourceIndex(0) +2 >Emitted(23, 23) Source(38, 29) + SourceIndex(0) +3 >Emitted(23, 25) Source(38, 13) + SourceIndex(0) +4 >Emitted(23, 30) Source(38, 18) + SourceIndex(0) +5 >Emitted(23, 49) Source(38, 21) + SourceIndex(0) +6 >Emitted(23, 57) Source(38, 29) + SourceIndex(0) +7 >Emitted(23, 62) Source(38, 29) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -726,14 +727,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(23, 5) Source(39, 5) + SourceIndex(0) -2 >Emitted(23, 12) Source(39, 12) + SourceIndex(0) -3 >Emitted(23, 13) Source(39, 13) + SourceIndex(0) -4 >Emitted(23, 16) Source(39, 16) + SourceIndex(0) -5 >Emitted(23, 17) Source(39, 17) + SourceIndex(0) -6 >Emitted(23, 22) Source(39, 22) + SourceIndex(0) -7 >Emitted(23, 23) Source(39, 23) + SourceIndex(0) -8 >Emitted(23, 24) Source(39, 24) + SourceIndex(0) +1 >Emitted(24, 5) Source(39, 5) + SourceIndex(0) +2 >Emitted(24, 12) Source(39, 12) + SourceIndex(0) +3 >Emitted(24, 13) Source(39, 13) + SourceIndex(0) +4 >Emitted(24, 16) Source(39, 16) + SourceIndex(0) +5 >Emitted(24, 17) Source(39, 17) + SourceIndex(0) +6 >Emitted(24, 22) Source(39, 22) + SourceIndex(0) +7 >Emitted(24, 23) Source(39, 23) + SourceIndex(0) +8 >Emitted(24, 24) Source(39, 24) + SourceIndex(0) --- >>>} 1 > @@ -742,8 +743,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(24, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(24, 2) Source(40, 2) + SourceIndex(0) +1 >Emitted(25, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(25, 2) Source(40, 2) + SourceIndex(0) --- >>>for (var _64 = 0, multiRobots_1 = multiRobots; _64 < multiRobots_1.length; _64++) { 1-> @@ -771,17 +772,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > multiRobots 10> ) 11> { -1->Emitted(25, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(25, 6) Source(42, 55) + SourceIndex(0) -3 >Emitted(25, 17) Source(42, 66) + SourceIndex(0) -4 >Emitted(25, 19) Source(42, 55) + SourceIndex(0) -5 >Emitted(25, 46) Source(42, 66) + SourceIndex(0) -6 >Emitted(25, 48) Source(42, 55) + SourceIndex(0) -7 >Emitted(25, 74) Source(42, 66) + SourceIndex(0) -8 >Emitted(25, 76) Source(42, 55) + SourceIndex(0) -9 >Emitted(25, 81) Source(42, 66) + SourceIndex(0) -10>Emitted(25, 83) Source(42, 68) + SourceIndex(0) -11>Emitted(25, 84) Source(42, 69) + SourceIndex(0) +1->Emitted(26, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(26, 6) Source(42, 55) + SourceIndex(0) +3 >Emitted(26, 17) Source(42, 66) + SourceIndex(0) +4 >Emitted(26, 19) Source(42, 55) + SourceIndex(0) +5 >Emitted(26, 46) Source(42, 66) + SourceIndex(0) +6 >Emitted(26, 48) Source(42, 55) + SourceIndex(0) +7 >Emitted(26, 74) Source(42, 66) + SourceIndex(0) +8 >Emitted(26, 76) Source(42, 55) + SourceIndex(0) +9 >Emitted(26, 81) Source(42, 66) + SourceIndex(0) +10>Emitted(26, 83) Source(42, 68) + SourceIndex(0) +11>Emitted(26, 84) Source(42, 69) + SourceIndex(0) --- >>> _d = multiRobots_1[_64].skills, _e = _d === void 0 ? { primary: "nosKill", secondary: "noSkill" } : _d, _f = _e.primary, primaryA = _f === void 0 ? "primary" : _f, _g = _e.secondary, secondaryA = _g === void 0 ? "secondary" : _g; 1->^^^^ @@ -842,34 +843,34 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 26> = 27> "secondary" 28> -1->Emitted(26, 5) Source(41, 8) + SourceIndex(0) -2 >Emitted(26, 35) Source(42, 49) + SourceIndex(0) -3 >Emitted(26, 37) Source(41, 8) + SourceIndex(0) -4 >Emitted(26, 58) Source(42, 5) + SourceIndex(0) -5 >Emitted(26, 60) Source(42, 7) + SourceIndex(0) -6 >Emitted(26, 67) Source(42, 14) + SourceIndex(0) -7 >Emitted(26, 69) Source(42, 16) + SourceIndex(0) -8 >Emitted(26, 78) Source(42, 25) + SourceIndex(0) -9 >Emitted(26, 80) Source(42, 27) + SourceIndex(0) -10>Emitted(26, 89) Source(42, 36) + SourceIndex(0) -11>Emitted(26, 91) Source(42, 38) + SourceIndex(0) -12>Emitted(26, 100) Source(42, 47) + SourceIndex(0) -13>Emitted(26, 102) Source(42, 49) + SourceIndex(0) -14>Emitted(26, 107) Source(42, 49) + SourceIndex(0) -15>Emitted(26, 109) Source(41, 18) + SourceIndex(0) -16>Emitted(26, 124) Source(41, 47) + SourceIndex(0) -17>Emitted(26, 126) Source(41, 27) + SourceIndex(0) -18>Emitted(26, 134) Source(41, 35) + SourceIndex(0) -19>Emitted(26, 153) Source(41, 38) + SourceIndex(0) -20>Emitted(26, 162) Source(41, 47) + SourceIndex(0) -21>Emitted(26, 167) Source(41, 47) + SourceIndex(0) -22>Emitted(26, 169) Source(41, 49) + SourceIndex(0) -23>Emitted(26, 186) Source(41, 84) + SourceIndex(0) -24>Emitted(26, 188) Source(41, 60) + SourceIndex(0) -25>Emitted(26, 198) Source(41, 70) + SourceIndex(0) -26>Emitted(26, 217) Source(41, 73) + SourceIndex(0) -27>Emitted(26, 228) Source(41, 84) + SourceIndex(0) -28>Emitted(26, 233) Source(41, 84) + SourceIndex(0) +1->Emitted(27, 5) Source(41, 8) + SourceIndex(0) +2 >Emitted(27, 35) Source(42, 49) + SourceIndex(0) +3 >Emitted(27, 37) Source(41, 8) + SourceIndex(0) +4 >Emitted(27, 58) Source(42, 5) + SourceIndex(0) +5 >Emitted(27, 60) Source(42, 7) + SourceIndex(0) +6 >Emitted(27, 67) Source(42, 14) + SourceIndex(0) +7 >Emitted(27, 69) Source(42, 16) + SourceIndex(0) +8 >Emitted(27, 78) Source(42, 25) + SourceIndex(0) +9 >Emitted(27, 80) Source(42, 27) + SourceIndex(0) +10>Emitted(27, 89) Source(42, 36) + SourceIndex(0) +11>Emitted(27, 91) Source(42, 38) + SourceIndex(0) +12>Emitted(27, 100) Source(42, 47) + SourceIndex(0) +13>Emitted(27, 102) Source(42, 49) + SourceIndex(0) +14>Emitted(27, 107) Source(42, 49) + SourceIndex(0) +15>Emitted(27, 109) Source(41, 18) + SourceIndex(0) +16>Emitted(27, 124) Source(41, 47) + SourceIndex(0) +17>Emitted(27, 126) Source(41, 27) + SourceIndex(0) +18>Emitted(27, 134) Source(41, 35) + SourceIndex(0) +19>Emitted(27, 153) Source(41, 38) + SourceIndex(0) +20>Emitted(27, 162) Source(41, 47) + SourceIndex(0) +21>Emitted(27, 167) Source(41, 47) + SourceIndex(0) +22>Emitted(27, 169) Source(41, 49) + SourceIndex(0) +23>Emitted(27, 186) Source(41, 84) + SourceIndex(0) +24>Emitted(27, 188) Source(41, 60) + SourceIndex(0) +25>Emitted(27, 198) Source(41, 70) + SourceIndex(0) +26>Emitted(27, 217) Source(41, 73) + SourceIndex(0) +27>Emitted(27, 228) Source(41, 84) + SourceIndex(0) +28>Emitted(27, 233) Source(41, 84) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -890,14 +891,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > primaryA 7 > ) 8 > ; -1 >Emitted(27, 5) Source(43, 5) + SourceIndex(0) -2 >Emitted(27, 12) Source(43, 12) + SourceIndex(0) -3 >Emitted(27, 13) Source(43, 13) + SourceIndex(0) -4 >Emitted(27, 16) Source(43, 16) + SourceIndex(0) -5 >Emitted(27, 17) Source(43, 17) + SourceIndex(0) -6 >Emitted(27, 25) Source(43, 25) + SourceIndex(0) -7 >Emitted(27, 26) Source(43, 26) + SourceIndex(0) -8 >Emitted(27, 27) Source(43, 27) + SourceIndex(0) +1 >Emitted(28, 5) Source(43, 5) + SourceIndex(0) +2 >Emitted(28, 12) Source(43, 12) + SourceIndex(0) +3 >Emitted(28, 13) Source(43, 13) + SourceIndex(0) +4 >Emitted(28, 16) Source(43, 16) + SourceIndex(0) +5 >Emitted(28, 17) Source(43, 17) + SourceIndex(0) +6 >Emitted(28, 25) Source(43, 25) + SourceIndex(0) +7 >Emitted(28, 26) Source(43, 26) + SourceIndex(0) +8 >Emitted(28, 27) Source(43, 27) + SourceIndex(0) --- >>>} 1 > @@ -906,8 +907,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(28, 1) Source(44, 1) + SourceIndex(0) -2 >Emitted(28, 2) Source(44, 2) + SourceIndex(0) +1 >Emitted(29, 1) Source(44, 1) + SourceIndex(0) +2 >Emitted(29, 2) Source(44, 2) + SourceIndex(0) --- >>>for (var _65 = 0, _66 = getMultiRobots(); _65 < _66.length; _65++) { 1-> @@ -939,19 +940,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getMultiRobots() 12> ) 13> { -1->Emitted(29, 1) Source(45, 1) + SourceIndex(0) -2 >Emitted(29, 6) Source(46, 55) + SourceIndex(0) -3 >Emitted(29, 17) Source(46, 71) + SourceIndex(0) -4 >Emitted(29, 19) Source(46, 55) + SourceIndex(0) -5 >Emitted(29, 25) Source(46, 55) + SourceIndex(0) -6 >Emitted(29, 39) Source(46, 69) + SourceIndex(0) -7 >Emitted(29, 41) Source(46, 71) + SourceIndex(0) -8 >Emitted(29, 43) Source(46, 55) + SourceIndex(0) -9 >Emitted(29, 59) Source(46, 71) + SourceIndex(0) -10>Emitted(29, 61) Source(46, 55) + SourceIndex(0) -11>Emitted(29, 66) Source(46, 71) + SourceIndex(0) -12>Emitted(29, 68) Source(46, 73) + SourceIndex(0) -13>Emitted(29, 69) Source(46, 74) + SourceIndex(0) +1->Emitted(30, 1) Source(45, 1) + SourceIndex(0) +2 >Emitted(30, 6) Source(46, 55) + SourceIndex(0) +3 >Emitted(30, 17) Source(46, 71) + SourceIndex(0) +4 >Emitted(30, 19) Source(46, 55) + SourceIndex(0) +5 >Emitted(30, 25) Source(46, 55) + SourceIndex(0) +6 >Emitted(30, 39) Source(46, 69) + SourceIndex(0) +7 >Emitted(30, 41) Source(46, 71) + SourceIndex(0) +8 >Emitted(30, 43) Source(46, 55) + SourceIndex(0) +9 >Emitted(30, 59) Source(46, 71) + SourceIndex(0) +10>Emitted(30, 61) Source(46, 55) + SourceIndex(0) +11>Emitted(30, 66) Source(46, 71) + SourceIndex(0) +12>Emitted(30, 68) Source(46, 73) + SourceIndex(0) +13>Emitted(30, 69) Source(46, 74) + SourceIndex(0) --- >>> _h = _66[_65].skills, _j = _h === void 0 ? { primary: "nosKill", secondary: "noSkill" } : _h, _k = _j.primary, primaryA = _k === void 0 ? "primary" : _k, _l = _j.secondary, secondaryA = _l === void 0 ? "secondary" : _l; 1->^^^^ @@ -1012,34 +1013,34 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 26> = 27> "secondary" 28> -1->Emitted(30, 5) Source(45, 8) + SourceIndex(0) -2 >Emitted(30, 25) Source(46, 49) + SourceIndex(0) -3 >Emitted(30, 27) Source(45, 8) + SourceIndex(0) -4 >Emitted(30, 48) Source(46, 5) + SourceIndex(0) -5 >Emitted(30, 50) Source(46, 7) + SourceIndex(0) -6 >Emitted(30, 57) Source(46, 14) + SourceIndex(0) -7 >Emitted(30, 59) Source(46, 16) + SourceIndex(0) -8 >Emitted(30, 68) Source(46, 25) + SourceIndex(0) -9 >Emitted(30, 70) Source(46, 27) + SourceIndex(0) -10>Emitted(30, 79) Source(46, 36) + SourceIndex(0) -11>Emitted(30, 81) Source(46, 38) + SourceIndex(0) -12>Emitted(30, 90) Source(46, 47) + SourceIndex(0) -13>Emitted(30, 92) Source(46, 49) + SourceIndex(0) -14>Emitted(30, 97) Source(46, 49) + SourceIndex(0) -15>Emitted(30, 99) Source(45, 18) + SourceIndex(0) -16>Emitted(30, 114) Source(45, 47) + SourceIndex(0) -17>Emitted(30, 116) Source(45, 27) + SourceIndex(0) -18>Emitted(30, 124) Source(45, 35) + SourceIndex(0) -19>Emitted(30, 143) Source(45, 38) + SourceIndex(0) -20>Emitted(30, 152) Source(45, 47) + SourceIndex(0) -21>Emitted(30, 157) Source(45, 47) + SourceIndex(0) -22>Emitted(30, 159) Source(45, 49) + SourceIndex(0) -23>Emitted(30, 176) Source(45, 84) + SourceIndex(0) -24>Emitted(30, 178) Source(45, 60) + SourceIndex(0) -25>Emitted(30, 188) Source(45, 70) + SourceIndex(0) -26>Emitted(30, 207) Source(45, 73) + SourceIndex(0) -27>Emitted(30, 218) Source(45, 84) + SourceIndex(0) -28>Emitted(30, 223) Source(45, 84) + SourceIndex(0) +1->Emitted(31, 5) Source(45, 8) + SourceIndex(0) +2 >Emitted(31, 25) Source(46, 49) + SourceIndex(0) +3 >Emitted(31, 27) Source(45, 8) + SourceIndex(0) +4 >Emitted(31, 48) Source(46, 5) + SourceIndex(0) +5 >Emitted(31, 50) Source(46, 7) + SourceIndex(0) +6 >Emitted(31, 57) Source(46, 14) + SourceIndex(0) +7 >Emitted(31, 59) Source(46, 16) + SourceIndex(0) +8 >Emitted(31, 68) Source(46, 25) + SourceIndex(0) +9 >Emitted(31, 70) Source(46, 27) + SourceIndex(0) +10>Emitted(31, 79) Source(46, 36) + SourceIndex(0) +11>Emitted(31, 81) Source(46, 38) + SourceIndex(0) +12>Emitted(31, 90) Source(46, 47) + SourceIndex(0) +13>Emitted(31, 92) Source(46, 49) + SourceIndex(0) +14>Emitted(31, 97) Source(46, 49) + SourceIndex(0) +15>Emitted(31, 99) Source(45, 18) + SourceIndex(0) +16>Emitted(31, 114) Source(45, 47) + SourceIndex(0) +17>Emitted(31, 116) Source(45, 27) + SourceIndex(0) +18>Emitted(31, 124) Source(45, 35) + SourceIndex(0) +19>Emitted(31, 143) Source(45, 38) + SourceIndex(0) +20>Emitted(31, 152) Source(45, 47) + SourceIndex(0) +21>Emitted(31, 157) Source(45, 47) + SourceIndex(0) +22>Emitted(31, 159) Source(45, 49) + SourceIndex(0) +23>Emitted(31, 176) Source(45, 84) + SourceIndex(0) +24>Emitted(31, 178) Source(45, 60) + SourceIndex(0) +25>Emitted(31, 188) Source(45, 70) + SourceIndex(0) +26>Emitted(31, 207) Source(45, 73) + SourceIndex(0) +27>Emitted(31, 218) Source(45, 84) + SourceIndex(0) +28>Emitted(31, 223) Source(45, 84) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1060,14 +1061,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > primaryA 7 > ) 8 > ; -1 >Emitted(31, 5) Source(47, 5) + SourceIndex(0) -2 >Emitted(31, 12) Source(47, 12) + SourceIndex(0) -3 >Emitted(31, 13) Source(47, 13) + SourceIndex(0) -4 >Emitted(31, 16) Source(47, 16) + SourceIndex(0) -5 >Emitted(31, 17) Source(47, 17) + SourceIndex(0) -6 >Emitted(31, 25) Source(47, 25) + SourceIndex(0) -7 >Emitted(31, 26) Source(47, 26) + SourceIndex(0) -8 >Emitted(31, 27) Source(47, 27) + SourceIndex(0) +1 >Emitted(32, 5) Source(47, 5) + SourceIndex(0) +2 >Emitted(32, 12) Source(47, 12) + SourceIndex(0) +3 >Emitted(32, 13) Source(47, 13) + SourceIndex(0) +4 >Emitted(32, 16) Source(47, 16) + SourceIndex(0) +5 >Emitted(32, 17) Source(47, 17) + SourceIndex(0) +6 >Emitted(32, 25) Source(47, 25) + SourceIndex(0) +7 >Emitted(32, 26) Source(47, 26) + SourceIndex(0) +8 >Emitted(32, 27) Source(47, 27) + SourceIndex(0) --- >>>} 1 > @@ -1076,8 +1077,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(32, 1) Source(48, 1) + SourceIndex(0) -2 >Emitted(32, 2) Source(48, 2) + SourceIndex(0) +1 >Emitted(33, 1) Source(48, 1) + SourceIndex(0) +2 >Emitted(33, 2) Source(48, 2) + SourceIndex(0) --- >>>for (var _67 = 0, _68 = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -1131,29 +1132,29 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 21> "none" 22> } 23> } -1->Emitted(33, 1) Source(49, 1) + SourceIndex(0) -2 >Emitted(33, 6) Source(51, 5) + SourceIndex(0) -3 >Emitted(33, 17) Source(52, 83) + SourceIndex(0) -4 >Emitted(33, 19) Source(51, 5) + SourceIndex(0) -5 >Emitted(33, 25) Source(51, 19) + SourceIndex(0) -6 >Emitted(33, 26) Source(51, 20) + SourceIndex(0) -7 >Emitted(33, 28) Source(51, 22) + SourceIndex(0) -8 >Emitted(33, 32) Source(51, 26) + SourceIndex(0) -9 >Emitted(33, 34) Source(51, 28) + SourceIndex(0) -10>Emitted(33, 41) Source(51, 35) + SourceIndex(0) -11>Emitted(33, 43) Source(51, 37) + SourceIndex(0) -12>Emitted(33, 49) Source(51, 43) + SourceIndex(0) -13>Emitted(33, 51) Source(51, 45) + SourceIndex(0) -14>Emitted(33, 53) Source(51, 47) + SourceIndex(0) -15>Emitted(33, 60) Source(51, 54) + SourceIndex(0) -16>Emitted(33, 62) Source(51, 56) + SourceIndex(0) -17>Emitted(33, 70) Source(51, 64) + SourceIndex(0) -18>Emitted(33, 72) Source(51, 66) + SourceIndex(0) -19>Emitted(33, 81) Source(51, 75) + SourceIndex(0) -20>Emitted(33, 83) Source(51, 77) + SourceIndex(0) -21>Emitted(33, 89) Source(51, 83) + SourceIndex(0) -22>Emitted(33, 91) Source(51, 85) + SourceIndex(0) -23>Emitted(33, 93) Source(51, 87) + SourceIndex(0) +1->Emitted(34, 1) Source(49, 1) + SourceIndex(0) +2 >Emitted(34, 6) Source(51, 5) + SourceIndex(0) +3 >Emitted(34, 17) Source(52, 83) + SourceIndex(0) +4 >Emitted(34, 19) Source(51, 5) + SourceIndex(0) +5 >Emitted(34, 25) Source(51, 19) + SourceIndex(0) +6 >Emitted(34, 26) Source(51, 20) + SourceIndex(0) +7 >Emitted(34, 28) Source(51, 22) + SourceIndex(0) +8 >Emitted(34, 32) Source(51, 26) + SourceIndex(0) +9 >Emitted(34, 34) Source(51, 28) + SourceIndex(0) +10>Emitted(34, 41) Source(51, 35) + SourceIndex(0) +11>Emitted(34, 43) Source(51, 37) + SourceIndex(0) +12>Emitted(34, 49) Source(51, 43) + SourceIndex(0) +13>Emitted(34, 51) Source(51, 45) + SourceIndex(0) +14>Emitted(34, 53) Source(51, 47) + SourceIndex(0) +15>Emitted(34, 60) Source(51, 54) + SourceIndex(0) +16>Emitted(34, 62) Source(51, 56) + SourceIndex(0) +17>Emitted(34, 70) Source(51, 64) + SourceIndex(0) +18>Emitted(34, 72) Source(51, 66) + SourceIndex(0) +19>Emitted(34, 81) Source(51, 75) + SourceIndex(0) +20>Emitted(34, 83) Source(51, 77) + SourceIndex(0) +21>Emitted(34, 89) Source(51, 83) + SourceIndex(0) +22>Emitted(34, 91) Source(51, 85) + SourceIndex(0) +23>Emitted(34, 93) Source(51, 87) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _67 < _68.length; _67++) { 1->^^^^ @@ -1210,31 +1211,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(34, 5) Source(52, 9) + SourceIndex(0) -2 >Emitted(34, 7) Source(52, 11) + SourceIndex(0) -3 >Emitted(34, 11) Source(52, 15) + SourceIndex(0) -4 >Emitted(34, 13) Source(52, 17) + SourceIndex(0) -5 >Emitted(34, 22) Source(52, 26) + SourceIndex(0) -6 >Emitted(34, 24) Source(52, 28) + SourceIndex(0) -7 >Emitted(34, 30) Source(52, 34) + SourceIndex(0) -8 >Emitted(34, 32) Source(52, 36) + SourceIndex(0) -9 >Emitted(34, 34) Source(52, 38) + SourceIndex(0) -10>Emitted(34, 41) Source(52, 45) + SourceIndex(0) -11>Emitted(34, 43) Source(52, 47) + SourceIndex(0) -12>Emitted(34, 53) Source(52, 57) + SourceIndex(0) -13>Emitted(34, 55) Source(52, 59) + SourceIndex(0) -14>Emitted(34, 64) Source(52, 68) + SourceIndex(0) -15>Emitted(34, 66) Source(52, 70) + SourceIndex(0) -16>Emitted(34, 74) Source(52, 78) + SourceIndex(0) -17>Emitted(34, 76) Source(52, 80) + SourceIndex(0) -18>Emitted(34, 78) Source(52, 82) + SourceIndex(0) -19>Emitted(34, 79) Source(52, 83) + SourceIndex(0) -20>Emitted(34, 81) Source(51, 5) + SourceIndex(0) -21>Emitted(34, 97) Source(52, 83) + SourceIndex(0) -22>Emitted(34, 99) Source(51, 5) + SourceIndex(0) -23>Emitted(34, 104) Source(52, 83) + SourceIndex(0) -24>Emitted(34, 106) Source(52, 85) + SourceIndex(0) -25>Emitted(34, 107) Source(52, 86) + SourceIndex(0) +1->Emitted(35, 5) Source(52, 9) + SourceIndex(0) +2 >Emitted(35, 7) Source(52, 11) + SourceIndex(0) +3 >Emitted(35, 11) Source(52, 15) + SourceIndex(0) +4 >Emitted(35, 13) Source(52, 17) + SourceIndex(0) +5 >Emitted(35, 22) Source(52, 26) + SourceIndex(0) +6 >Emitted(35, 24) Source(52, 28) + SourceIndex(0) +7 >Emitted(35, 30) Source(52, 34) + SourceIndex(0) +8 >Emitted(35, 32) Source(52, 36) + SourceIndex(0) +9 >Emitted(35, 34) Source(52, 38) + SourceIndex(0) +10>Emitted(35, 41) Source(52, 45) + SourceIndex(0) +11>Emitted(35, 43) Source(52, 47) + SourceIndex(0) +12>Emitted(35, 53) Source(52, 57) + SourceIndex(0) +13>Emitted(35, 55) Source(52, 59) + SourceIndex(0) +14>Emitted(35, 64) Source(52, 68) + SourceIndex(0) +15>Emitted(35, 66) Source(52, 70) + SourceIndex(0) +16>Emitted(35, 74) Source(52, 78) + SourceIndex(0) +17>Emitted(35, 76) Source(52, 80) + SourceIndex(0) +18>Emitted(35, 78) Source(52, 82) + SourceIndex(0) +19>Emitted(35, 79) Source(52, 83) + SourceIndex(0) +20>Emitted(35, 81) Source(51, 5) + SourceIndex(0) +21>Emitted(35, 97) Source(52, 83) + SourceIndex(0) +22>Emitted(35, 99) Source(51, 5) + SourceIndex(0) +23>Emitted(35, 104) Source(52, 83) + SourceIndex(0) +24>Emitted(35, 106) Source(52, 85) + SourceIndex(0) +25>Emitted(35, 107) Source(52, 86) + SourceIndex(0) --- >>> _m = _68[_67].skills, _o = _m === void 0 ? { primary: "nosKill", secondary: "noSkill" } : _m, _p = _o.primary, primaryA = _p === void 0 ? "primary" : _p, _q = _o.secondary, secondaryA = _q === void 0 ? "secondary" : _q; 1->^^^^ @@ -1295,34 +1296,34 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 26> = 27> "secondary" 28> -1->Emitted(35, 5) Source(49, 8) + SourceIndex(0) -2 >Emitted(35, 25) Source(50, 49) + SourceIndex(0) -3 >Emitted(35, 27) Source(49, 8) + SourceIndex(0) -4 >Emitted(35, 48) Source(50, 5) + SourceIndex(0) -5 >Emitted(35, 50) Source(50, 7) + SourceIndex(0) -6 >Emitted(35, 57) Source(50, 14) + SourceIndex(0) -7 >Emitted(35, 59) Source(50, 16) + SourceIndex(0) -8 >Emitted(35, 68) Source(50, 25) + SourceIndex(0) -9 >Emitted(35, 70) Source(50, 27) + SourceIndex(0) -10>Emitted(35, 79) Source(50, 36) + SourceIndex(0) -11>Emitted(35, 81) Source(50, 38) + SourceIndex(0) -12>Emitted(35, 90) Source(50, 47) + SourceIndex(0) -13>Emitted(35, 92) Source(50, 49) + SourceIndex(0) -14>Emitted(35, 97) Source(50, 49) + SourceIndex(0) -15>Emitted(35, 99) Source(49, 18) + SourceIndex(0) -16>Emitted(35, 114) Source(49, 47) + SourceIndex(0) -17>Emitted(35, 116) Source(49, 27) + SourceIndex(0) -18>Emitted(35, 124) Source(49, 35) + SourceIndex(0) -19>Emitted(35, 143) Source(49, 38) + SourceIndex(0) -20>Emitted(35, 152) Source(49, 47) + SourceIndex(0) -21>Emitted(35, 157) Source(49, 47) + SourceIndex(0) -22>Emitted(35, 159) Source(49, 49) + SourceIndex(0) -23>Emitted(35, 176) Source(49, 84) + SourceIndex(0) -24>Emitted(35, 178) Source(49, 60) + SourceIndex(0) -25>Emitted(35, 188) Source(49, 70) + SourceIndex(0) -26>Emitted(35, 207) Source(49, 73) + SourceIndex(0) -27>Emitted(35, 218) Source(49, 84) + SourceIndex(0) -28>Emitted(35, 223) Source(49, 84) + SourceIndex(0) +1->Emitted(36, 5) Source(49, 8) + SourceIndex(0) +2 >Emitted(36, 25) Source(50, 49) + SourceIndex(0) +3 >Emitted(36, 27) Source(49, 8) + SourceIndex(0) +4 >Emitted(36, 48) Source(50, 5) + SourceIndex(0) +5 >Emitted(36, 50) Source(50, 7) + SourceIndex(0) +6 >Emitted(36, 57) Source(50, 14) + SourceIndex(0) +7 >Emitted(36, 59) Source(50, 16) + SourceIndex(0) +8 >Emitted(36, 68) Source(50, 25) + SourceIndex(0) +9 >Emitted(36, 70) Source(50, 27) + SourceIndex(0) +10>Emitted(36, 79) Source(50, 36) + SourceIndex(0) +11>Emitted(36, 81) Source(50, 38) + SourceIndex(0) +12>Emitted(36, 90) Source(50, 47) + SourceIndex(0) +13>Emitted(36, 92) Source(50, 49) + SourceIndex(0) +14>Emitted(36, 97) Source(50, 49) + SourceIndex(0) +15>Emitted(36, 99) Source(49, 18) + SourceIndex(0) +16>Emitted(36, 114) Source(49, 47) + SourceIndex(0) +17>Emitted(36, 116) Source(49, 27) + SourceIndex(0) +18>Emitted(36, 124) Source(49, 35) + SourceIndex(0) +19>Emitted(36, 143) Source(49, 38) + SourceIndex(0) +20>Emitted(36, 152) Source(49, 47) + SourceIndex(0) +21>Emitted(36, 157) Source(49, 47) + SourceIndex(0) +22>Emitted(36, 159) Source(49, 49) + SourceIndex(0) +23>Emitted(36, 176) Source(49, 84) + SourceIndex(0) +24>Emitted(36, 178) Source(49, 60) + SourceIndex(0) +25>Emitted(36, 188) Source(49, 70) + SourceIndex(0) +26>Emitted(36, 207) Source(49, 73) + SourceIndex(0) +27>Emitted(36, 218) Source(49, 84) + SourceIndex(0) +28>Emitted(36, 223) Source(49, 84) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1345,14 +1346,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > primaryA 7 > ) 8 > ; -1 >Emitted(36, 5) Source(53, 5) + SourceIndex(0) -2 >Emitted(36, 12) Source(53, 12) + SourceIndex(0) -3 >Emitted(36, 13) Source(53, 13) + SourceIndex(0) -4 >Emitted(36, 16) Source(53, 16) + SourceIndex(0) -5 >Emitted(36, 17) Source(53, 17) + SourceIndex(0) -6 >Emitted(36, 25) Source(53, 25) + SourceIndex(0) -7 >Emitted(36, 26) Source(53, 26) + SourceIndex(0) -8 >Emitted(36, 27) Source(53, 27) + SourceIndex(0) +1 >Emitted(37, 5) Source(53, 5) + SourceIndex(0) +2 >Emitted(37, 12) Source(53, 12) + SourceIndex(0) +3 >Emitted(37, 13) Source(53, 13) + SourceIndex(0) +4 >Emitted(37, 16) Source(53, 16) + SourceIndex(0) +5 >Emitted(37, 17) Source(53, 17) + SourceIndex(0) +6 >Emitted(37, 25) Source(53, 25) + SourceIndex(0) +7 >Emitted(37, 26) Source(53, 26) + SourceIndex(0) +8 >Emitted(37, 27) Source(53, 27) + SourceIndex(0) --- >>>} 1 > @@ -1361,8 +1362,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(37, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(37, 2) Source(54, 2) + SourceIndex(0) +1 >Emitted(38, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(38, 2) Source(54, 2) + SourceIndex(0) --- >>>for (var _69 = 0, robots_2 = robots; _69 < robots_2.length; _69++) { 1-> @@ -1389,17 +1390,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > robots 10> ) 11> { -1->Emitted(38, 1) Source(56, 1) + SourceIndex(0) -2 >Emitted(38, 6) Source(56, 29) + SourceIndex(0) -3 >Emitted(38, 17) Source(56, 35) + SourceIndex(0) -4 >Emitted(38, 19) Source(56, 29) + SourceIndex(0) -5 >Emitted(38, 36) Source(56, 35) + SourceIndex(0) -6 >Emitted(38, 38) Source(56, 29) + SourceIndex(0) -7 >Emitted(38, 59) Source(56, 35) + SourceIndex(0) -8 >Emitted(38, 61) Source(56, 29) + SourceIndex(0) -9 >Emitted(38, 66) Source(56, 35) + SourceIndex(0) -10>Emitted(38, 68) Source(56, 37) + SourceIndex(0) -11>Emitted(38, 69) Source(56, 38) + SourceIndex(0) +1->Emitted(39, 1) Source(56, 1) + SourceIndex(0) +2 >Emitted(39, 6) Source(56, 29) + SourceIndex(0) +3 >Emitted(39, 17) Source(56, 35) + SourceIndex(0) +4 >Emitted(39, 19) Source(56, 29) + SourceIndex(0) +5 >Emitted(39, 36) Source(56, 35) + SourceIndex(0) +6 >Emitted(39, 38) Source(56, 29) + SourceIndex(0) +7 >Emitted(39, 59) Source(56, 35) + SourceIndex(0) +8 >Emitted(39, 61) Source(56, 29) + SourceIndex(0) +9 >Emitted(39, 66) Source(56, 35) + SourceIndex(0) +10>Emitted(39, 68) Source(56, 37) + SourceIndex(0) +11>Emitted(39, 69) Source(56, 38) + SourceIndex(0) --- >>> _r = robots_2[_69].name, name = _r === void 0 ? "noName" : _r; 1 >^^^^ @@ -1416,13 +1417,13 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 5 > = 6 > "noName" 7 > -1 >Emitted(39, 5) Source(56, 8) + SourceIndex(0) -2 >Emitted(39, 28) Source(56, 23) + SourceIndex(0) -3 >Emitted(39, 30) Source(56, 8) + SourceIndex(0) -4 >Emitted(39, 34) Source(56, 12) + SourceIndex(0) -5 >Emitted(39, 53) Source(56, 15) + SourceIndex(0) -6 >Emitted(39, 61) Source(56, 23) + SourceIndex(0) -7 >Emitted(39, 66) Source(56, 23) + SourceIndex(0) +1 >Emitted(40, 5) Source(56, 8) + SourceIndex(0) +2 >Emitted(40, 28) Source(56, 23) + SourceIndex(0) +3 >Emitted(40, 30) Source(56, 8) + SourceIndex(0) +4 >Emitted(40, 34) Source(56, 12) + SourceIndex(0) +5 >Emitted(40, 53) Source(56, 15) + SourceIndex(0) +6 >Emitted(40, 61) Source(56, 23) + SourceIndex(0) +7 >Emitted(40, 66) Source(56, 23) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1442,14 +1443,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(40, 5) Source(57, 5) + SourceIndex(0) -2 >Emitted(40, 12) Source(57, 12) + SourceIndex(0) -3 >Emitted(40, 13) Source(57, 13) + SourceIndex(0) -4 >Emitted(40, 16) Source(57, 16) + SourceIndex(0) -5 >Emitted(40, 17) Source(57, 17) + SourceIndex(0) -6 >Emitted(40, 22) Source(57, 22) + SourceIndex(0) -7 >Emitted(40, 23) Source(57, 23) + SourceIndex(0) -8 >Emitted(40, 24) Source(57, 24) + SourceIndex(0) +1 >Emitted(41, 5) Source(57, 5) + SourceIndex(0) +2 >Emitted(41, 12) Source(57, 12) + SourceIndex(0) +3 >Emitted(41, 13) Source(57, 13) + SourceIndex(0) +4 >Emitted(41, 16) Source(57, 16) + SourceIndex(0) +5 >Emitted(41, 17) Source(57, 17) + SourceIndex(0) +6 >Emitted(41, 22) Source(57, 22) + SourceIndex(0) +7 >Emitted(41, 23) Source(57, 23) + SourceIndex(0) +8 >Emitted(41, 24) Source(57, 24) + SourceIndex(0) --- >>>} 1 > @@ -1458,8 +1459,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(41, 1) Source(58, 1) + SourceIndex(0) -2 >Emitted(41, 2) Source(58, 2) + SourceIndex(0) +1 >Emitted(42, 1) Source(58, 1) + SourceIndex(0) +2 >Emitted(42, 2) Source(58, 2) + SourceIndex(0) --- >>>for (var _70 = 0, _71 = getRobots(); _70 < _71.length; _70++) { 1-> @@ -1489,19 +1490,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getRobots() 12> ) 13> { -1->Emitted(42, 1) Source(59, 1) + SourceIndex(0) -2 >Emitted(42, 6) Source(59, 29) + SourceIndex(0) -3 >Emitted(42, 17) Source(59, 40) + SourceIndex(0) -4 >Emitted(42, 19) Source(59, 29) + SourceIndex(0) -5 >Emitted(42, 25) Source(59, 29) + SourceIndex(0) -6 >Emitted(42, 34) Source(59, 38) + SourceIndex(0) -7 >Emitted(42, 36) Source(59, 40) + SourceIndex(0) -8 >Emitted(42, 38) Source(59, 29) + SourceIndex(0) -9 >Emitted(42, 54) Source(59, 40) + SourceIndex(0) -10>Emitted(42, 56) Source(59, 29) + SourceIndex(0) -11>Emitted(42, 61) Source(59, 40) + SourceIndex(0) -12>Emitted(42, 63) Source(59, 42) + SourceIndex(0) -13>Emitted(42, 64) Source(59, 43) + SourceIndex(0) +1->Emitted(43, 1) Source(59, 1) + SourceIndex(0) +2 >Emitted(43, 6) Source(59, 29) + SourceIndex(0) +3 >Emitted(43, 17) Source(59, 40) + SourceIndex(0) +4 >Emitted(43, 19) Source(59, 29) + SourceIndex(0) +5 >Emitted(43, 25) Source(59, 29) + SourceIndex(0) +6 >Emitted(43, 34) Source(59, 38) + SourceIndex(0) +7 >Emitted(43, 36) Source(59, 40) + SourceIndex(0) +8 >Emitted(43, 38) Source(59, 29) + SourceIndex(0) +9 >Emitted(43, 54) Source(59, 40) + SourceIndex(0) +10>Emitted(43, 56) Source(59, 29) + SourceIndex(0) +11>Emitted(43, 61) Source(59, 40) + SourceIndex(0) +12>Emitted(43, 63) Source(59, 42) + SourceIndex(0) +13>Emitted(43, 64) Source(59, 43) + SourceIndex(0) --- >>> _s = _71[_70].name, name = _s === void 0 ? "noName" : _s; 1 >^^^^ @@ -1518,13 +1519,13 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 5 > = 6 > "noName" 7 > -1 >Emitted(43, 5) Source(59, 8) + SourceIndex(0) -2 >Emitted(43, 23) Source(59, 23) + SourceIndex(0) -3 >Emitted(43, 25) Source(59, 8) + SourceIndex(0) -4 >Emitted(43, 29) Source(59, 12) + SourceIndex(0) -5 >Emitted(43, 48) Source(59, 15) + SourceIndex(0) -6 >Emitted(43, 56) Source(59, 23) + SourceIndex(0) -7 >Emitted(43, 61) Source(59, 23) + SourceIndex(0) +1 >Emitted(44, 5) Source(59, 8) + SourceIndex(0) +2 >Emitted(44, 23) Source(59, 23) + SourceIndex(0) +3 >Emitted(44, 25) Source(59, 8) + SourceIndex(0) +4 >Emitted(44, 29) Source(59, 12) + SourceIndex(0) +5 >Emitted(44, 48) Source(59, 15) + SourceIndex(0) +6 >Emitted(44, 56) Source(59, 23) + SourceIndex(0) +7 >Emitted(44, 61) Source(59, 23) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1544,14 +1545,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(44, 5) Source(60, 5) + SourceIndex(0) -2 >Emitted(44, 12) Source(60, 12) + SourceIndex(0) -3 >Emitted(44, 13) Source(60, 13) + SourceIndex(0) -4 >Emitted(44, 16) Source(60, 16) + SourceIndex(0) -5 >Emitted(44, 17) Source(60, 17) + SourceIndex(0) -6 >Emitted(44, 22) Source(60, 22) + SourceIndex(0) -7 >Emitted(44, 23) Source(60, 23) + SourceIndex(0) -8 >Emitted(44, 24) Source(60, 24) + SourceIndex(0) +1 >Emitted(45, 5) Source(60, 5) + SourceIndex(0) +2 >Emitted(45, 12) Source(60, 12) + SourceIndex(0) +3 >Emitted(45, 13) Source(60, 13) + SourceIndex(0) +4 >Emitted(45, 16) Source(60, 16) + SourceIndex(0) +5 >Emitted(45, 17) Source(60, 17) + SourceIndex(0) +6 >Emitted(45, 22) Source(60, 22) + SourceIndex(0) +7 >Emitted(45, 23) Source(60, 23) + SourceIndex(0) +8 >Emitted(45, 24) Source(60, 24) + SourceIndex(0) --- >>>} 1 > @@ -1560,8 +1561,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(45, 1) Source(61, 1) + SourceIndex(0) -2 >Emitted(45, 2) Source(61, 2) + SourceIndex(0) +1 >Emitted(46, 1) Source(61, 1) + SourceIndex(0) +2 >Emitted(46, 2) Source(61, 2) + SourceIndex(0) --- >>>for (var _72 = 0, _73 = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _72 < _73.length; _72++) { 1-> @@ -1627,37 +1628,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(46, 1) Source(62, 1) + SourceIndex(0) -2 >Emitted(46, 6) Source(62, 29) + SourceIndex(0) -3 >Emitted(46, 17) Source(62, 105) + SourceIndex(0) -4 >Emitted(46, 19) Source(62, 29) + SourceIndex(0) -5 >Emitted(46, 26) Source(62, 30) + SourceIndex(0) -6 >Emitted(46, 28) Source(62, 32) + SourceIndex(0) -7 >Emitted(46, 32) Source(62, 36) + SourceIndex(0) -8 >Emitted(46, 34) Source(62, 38) + SourceIndex(0) -9 >Emitted(46, 41) Source(62, 45) + SourceIndex(0) -10>Emitted(46, 43) Source(62, 47) + SourceIndex(0) -11>Emitted(46, 48) Source(62, 52) + SourceIndex(0) -12>Emitted(46, 50) Source(62, 54) + SourceIndex(0) -13>Emitted(46, 58) Source(62, 62) + SourceIndex(0) -14>Emitted(46, 60) Source(62, 64) + SourceIndex(0) -15>Emitted(46, 62) Source(62, 66) + SourceIndex(0) -16>Emitted(46, 64) Source(62, 68) + SourceIndex(0) -17>Emitted(46, 68) Source(62, 72) + SourceIndex(0) -18>Emitted(46, 70) Source(62, 74) + SourceIndex(0) -19>Emitted(46, 79) Source(62, 83) + SourceIndex(0) -20>Emitted(46, 81) Source(62, 85) + SourceIndex(0) -21>Emitted(46, 86) Source(62, 90) + SourceIndex(0) -22>Emitted(46, 88) Source(62, 92) + SourceIndex(0) -23>Emitted(46, 98) Source(62, 102) + SourceIndex(0) -24>Emitted(46, 100) Source(62, 104) + SourceIndex(0) -25>Emitted(46, 101) Source(62, 105) + SourceIndex(0) -26>Emitted(46, 103) Source(62, 29) + SourceIndex(0) -27>Emitted(46, 119) Source(62, 105) + SourceIndex(0) -28>Emitted(46, 121) Source(62, 29) + SourceIndex(0) -29>Emitted(46, 126) Source(62, 105) + SourceIndex(0) -30>Emitted(46, 128) Source(62, 107) + SourceIndex(0) -31>Emitted(46, 129) Source(62, 108) + SourceIndex(0) +1->Emitted(47, 1) Source(62, 1) + SourceIndex(0) +2 >Emitted(47, 6) Source(62, 29) + SourceIndex(0) +3 >Emitted(47, 17) Source(62, 105) + SourceIndex(0) +4 >Emitted(47, 19) Source(62, 29) + SourceIndex(0) +5 >Emitted(47, 26) Source(62, 30) + SourceIndex(0) +6 >Emitted(47, 28) Source(62, 32) + SourceIndex(0) +7 >Emitted(47, 32) Source(62, 36) + SourceIndex(0) +8 >Emitted(47, 34) Source(62, 38) + SourceIndex(0) +9 >Emitted(47, 41) Source(62, 45) + SourceIndex(0) +10>Emitted(47, 43) Source(62, 47) + SourceIndex(0) +11>Emitted(47, 48) Source(62, 52) + SourceIndex(0) +12>Emitted(47, 50) Source(62, 54) + SourceIndex(0) +13>Emitted(47, 58) Source(62, 62) + SourceIndex(0) +14>Emitted(47, 60) Source(62, 64) + SourceIndex(0) +15>Emitted(47, 62) Source(62, 66) + SourceIndex(0) +16>Emitted(47, 64) Source(62, 68) + SourceIndex(0) +17>Emitted(47, 68) Source(62, 72) + SourceIndex(0) +18>Emitted(47, 70) Source(62, 74) + SourceIndex(0) +19>Emitted(47, 79) Source(62, 83) + SourceIndex(0) +20>Emitted(47, 81) Source(62, 85) + SourceIndex(0) +21>Emitted(47, 86) Source(62, 90) + SourceIndex(0) +22>Emitted(47, 88) Source(62, 92) + SourceIndex(0) +23>Emitted(47, 98) Source(62, 102) + SourceIndex(0) +24>Emitted(47, 100) Source(62, 104) + SourceIndex(0) +25>Emitted(47, 101) Source(62, 105) + SourceIndex(0) +26>Emitted(47, 103) Source(62, 29) + SourceIndex(0) +27>Emitted(47, 119) Source(62, 105) + SourceIndex(0) +28>Emitted(47, 121) Source(62, 29) + SourceIndex(0) +29>Emitted(47, 126) Source(62, 105) + SourceIndex(0) +30>Emitted(47, 128) Source(62, 107) + SourceIndex(0) +31>Emitted(47, 129) Source(62, 108) + SourceIndex(0) --- >>> _t = _73[_72].name, name = _t === void 0 ? "noName" : _t; 1 >^^^^ @@ -1674,13 +1675,13 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 5 > = 6 > "noName" 7 > -1 >Emitted(47, 5) Source(62, 8) + SourceIndex(0) -2 >Emitted(47, 23) Source(62, 23) + SourceIndex(0) -3 >Emitted(47, 25) Source(62, 8) + SourceIndex(0) -4 >Emitted(47, 29) Source(62, 12) + SourceIndex(0) -5 >Emitted(47, 48) Source(62, 15) + SourceIndex(0) -6 >Emitted(47, 56) Source(62, 23) + SourceIndex(0) -7 >Emitted(47, 61) Source(62, 23) + SourceIndex(0) +1 >Emitted(48, 5) Source(62, 8) + SourceIndex(0) +2 >Emitted(48, 23) Source(62, 23) + SourceIndex(0) +3 >Emitted(48, 25) Source(62, 8) + SourceIndex(0) +4 >Emitted(48, 29) Source(62, 12) + SourceIndex(0) +5 >Emitted(48, 48) Source(62, 15) + SourceIndex(0) +6 >Emitted(48, 56) Source(62, 23) + SourceIndex(0) +7 >Emitted(48, 61) Source(62, 23) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -1700,14 +1701,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(48, 5) Source(63, 5) + SourceIndex(0) -2 >Emitted(48, 12) Source(63, 12) + SourceIndex(0) -3 >Emitted(48, 13) Source(63, 13) + SourceIndex(0) -4 >Emitted(48, 16) Source(63, 16) + SourceIndex(0) -5 >Emitted(48, 17) Source(63, 17) + SourceIndex(0) -6 >Emitted(48, 22) Source(63, 22) + SourceIndex(0) -7 >Emitted(48, 23) Source(63, 23) + SourceIndex(0) -8 >Emitted(48, 24) Source(63, 24) + SourceIndex(0) +1 >Emitted(49, 5) Source(63, 5) + SourceIndex(0) +2 >Emitted(49, 12) Source(63, 12) + SourceIndex(0) +3 >Emitted(49, 13) Source(63, 13) + SourceIndex(0) +4 >Emitted(49, 16) Source(63, 16) + SourceIndex(0) +5 >Emitted(49, 17) Source(63, 17) + SourceIndex(0) +6 >Emitted(49, 22) Source(63, 22) + SourceIndex(0) +7 >Emitted(49, 23) Source(63, 23) + SourceIndex(0) +8 >Emitted(49, 24) Source(63, 24) + SourceIndex(0) --- >>>} 1 > @@ -1716,8 +1717,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(49, 1) Source(64, 1) + SourceIndex(0) -2 >Emitted(49, 2) Source(64, 2) + SourceIndex(0) +1 >Emitted(50, 1) Source(64, 1) + SourceIndex(0) +2 >Emitted(50, 2) Source(64, 2) + SourceIndex(0) --- >>>for (var _74 = 0, multiRobots_2 = multiRobots; _74 < multiRobots_2.length; _74++) { 1-> @@ -1749,17 +1750,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > multiRobots 10> ) 11> { -1->Emitted(50, 1) Source(65, 1) + SourceIndex(0) -2 >Emitted(50, 6) Source(70, 6) + SourceIndex(0) -3 >Emitted(50, 17) Source(70, 17) + SourceIndex(0) -4 >Emitted(50, 19) Source(70, 6) + SourceIndex(0) -5 >Emitted(50, 46) Source(70, 17) + SourceIndex(0) -6 >Emitted(50, 48) Source(70, 6) + SourceIndex(0) -7 >Emitted(50, 74) Source(70, 17) + SourceIndex(0) -8 >Emitted(50, 76) Source(70, 6) + SourceIndex(0) -9 >Emitted(50, 81) Source(70, 17) + SourceIndex(0) -10>Emitted(50, 83) Source(70, 19) + SourceIndex(0) -11>Emitted(50, 84) Source(70, 20) + SourceIndex(0) +1->Emitted(51, 1) Source(65, 1) + SourceIndex(0) +2 >Emitted(51, 6) Source(70, 6) + SourceIndex(0) +3 >Emitted(51, 17) Source(70, 17) + SourceIndex(0) +4 >Emitted(51, 19) Source(70, 6) + SourceIndex(0) +5 >Emitted(51, 46) Source(70, 17) + SourceIndex(0) +6 >Emitted(51, 48) Source(70, 6) + SourceIndex(0) +7 >Emitted(51, 74) Source(70, 17) + SourceIndex(0) +8 >Emitted(51, 76) Source(70, 6) + SourceIndex(0) +9 >Emitted(51, 81) Source(70, 17) + SourceIndex(0) +10>Emitted(51, 83) Source(70, 19) + SourceIndex(0) +11>Emitted(51, 84) Source(70, 20) + SourceIndex(0) --- >>> _u = multiRobots_2[_74].skills, _v = _u === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _u, _w = _v.primary, primary = _w === void 0 ? "primary" : _w, _x = _v.secondary, secondary = _x === void 0 ? "secondary" : _x; 1->^^^^ @@ -1825,34 +1826,34 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 26> = 27> "secondary" 28> -1->Emitted(51, 5) Source(66, 5) + SourceIndex(0) -2 >Emitted(51, 35) Source(69, 53) + SourceIndex(0) -3 >Emitted(51, 37) Source(66, 5) + SourceIndex(0) -4 >Emitted(51, 58) Source(69, 9) + SourceIndex(0) -5 >Emitted(51, 60) Source(69, 11) + SourceIndex(0) -6 >Emitted(51, 67) Source(69, 18) + SourceIndex(0) -7 >Emitted(51, 69) Source(69, 20) + SourceIndex(0) -8 >Emitted(51, 78) Source(69, 29) + SourceIndex(0) -9 >Emitted(51, 80) Source(69, 31) + SourceIndex(0) -10>Emitted(51, 89) Source(69, 40) + SourceIndex(0) -11>Emitted(51, 91) Source(69, 42) + SourceIndex(0) -12>Emitted(51, 100) Source(69, 51) + SourceIndex(0) -13>Emitted(51, 102) Source(69, 53) + SourceIndex(0) -14>Emitted(51, 107) Source(69, 53) + SourceIndex(0) -15>Emitted(51, 109) Source(67, 9) + SourceIndex(0) -16>Emitted(51, 124) Source(67, 28) + SourceIndex(0) -17>Emitted(51, 126) Source(67, 9) + SourceIndex(0) -18>Emitted(51, 133) Source(67, 16) + SourceIndex(0) -19>Emitted(51, 152) Source(67, 19) + SourceIndex(0) -20>Emitted(51, 161) Source(67, 28) + SourceIndex(0) -21>Emitted(51, 166) Source(67, 28) + SourceIndex(0) -22>Emitted(51, 168) Source(68, 9) + SourceIndex(0) -23>Emitted(51, 185) Source(68, 32) + SourceIndex(0) -24>Emitted(51, 187) Source(68, 9) + SourceIndex(0) -25>Emitted(51, 196) Source(68, 18) + SourceIndex(0) -26>Emitted(51, 215) Source(68, 21) + SourceIndex(0) -27>Emitted(51, 226) Source(68, 32) + SourceIndex(0) -28>Emitted(51, 231) Source(68, 32) + SourceIndex(0) +1->Emitted(52, 5) Source(66, 5) + SourceIndex(0) +2 >Emitted(52, 35) Source(69, 53) + SourceIndex(0) +3 >Emitted(52, 37) Source(66, 5) + SourceIndex(0) +4 >Emitted(52, 58) Source(69, 9) + SourceIndex(0) +5 >Emitted(52, 60) Source(69, 11) + SourceIndex(0) +6 >Emitted(52, 67) Source(69, 18) + SourceIndex(0) +7 >Emitted(52, 69) Source(69, 20) + SourceIndex(0) +8 >Emitted(52, 78) Source(69, 29) + SourceIndex(0) +9 >Emitted(52, 80) Source(69, 31) + SourceIndex(0) +10>Emitted(52, 89) Source(69, 40) + SourceIndex(0) +11>Emitted(52, 91) Source(69, 42) + SourceIndex(0) +12>Emitted(52, 100) Source(69, 51) + SourceIndex(0) +13>Emitted(52, 102) Source(69, 53) + SourceIndex(0) +14>Emitted(52, 107) Source(69, 53) + SourceIndex(0) +15>Emitted(52, 109) Source(67, 9) + SourceIndex(0) +16>Emitted(52, 124) Source(67, 28) + SourceIndex(0) +17>Emitted(52, 126) Source(67, 9) + SourceIndex(0) +18>Emitted(52, 133) Source(67, 16) + SourceIndex(0) +19>Emitted(52, 152) Source(67, 19) + SourceIndex(0) +20>Emitted(52, 161) Source(67, 28) + SourceIndex(0) +21>Emitted(52, 166) Source(67, 28) + SourceIndex(0) +22>Emitted(52, 168) Source(68, 9) + SourceIndex(0) +23>Emitted(52, 185) Source(68, 32) + SourceIndex(0) +24>Emitted(52, 187) Source(68, 9) + SourceIndex(0) +25>Emitted(52, 196) Source(68, 18) + SourceIndex(0) +26>Emitted(52, 215) Source(68, 21) + SourceIndex(0) +27>Emitted(52, 226) Source(68, 32) + SourceIndex(0) +28>Emitted(52, 231) Source(68, 32) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -1874,14 +1875,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > primaryA 7 > ) 8 > ; -1 >Emitted(52, 5) Source(71, 5) + SourceIndex(0) -2 >Emitted(52, 12) Source(71, 12) + SourceIndex(0) -3 >Emitted(52, 13) Source(71, 13) + SourceIndex(0) -4 >Emitted(52, 16) Source(71, 16) + SourceIndex(0) -5 >Emitted(52, 17) Source(71, 17) + SourceIndex(0) -6 >Emitted(52, 25) Source(71, 25) + SourceIndex(0) -7 >Emitted(52, 26) Source(71, 26) + SourceIndex(0) -8 >Emitted(52, 27) Source(71, 27) + SourceIndex(0) +1 >Emitted(53, 5) Source(71, 5) + SourceIndex(0) +2 >Emitted(53, 12) Source(71, 12) + SourceIndex(0) +3 >Emitted(53, 13) Source(71, 13) + SourceIndex(0) +4 >Emitted(53, 16) Source(71, 16) + SourceIndex(0) +5 >Emitted(53, 17) Source(71, 17) + SourceIndex(0) +6 >Emitted(53, 25) Source(71, 25) + SourceIndex(0) +7 >Emitted(53, 26) Source(71, 26) + SourceIndex(0) +8 >Emitted(53, 27) Source(71, 27) + SourceIndex(0) --- >>>} 1 > @@ -1890,8 +1891,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(53, 1) Source(72, 1) + SourceIndex(0) -2 >Emitted(53, 2) Source(72, 2) + SourceIndex(0) +1 >Emitted(54, 1) Source(72, 1) + SourceIndex(0) +2 >Emitted(54, 2) Source(72, 2) + SourceIndex(0) --- >>>for (var _75 = 0, _76 = getMultiRobots(); _75 < _76.length; _75++) { 1-> @@ -1927,19 +1928,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getMultiRobots() 12> ) 13> { -1->Emitted(54, 1) Source(73, 1) + SourceIndex(0) -2 >Emitted(54, 6) Source(78, 6) + SourceIndex(0) -3 >Emitted(54, 17) Source(78, 22) + SourceIndex(0) -4 >Emitted(54, 19) Source(78, 6) + SourceIndex(0) -5 >Emitted(54, 25) Source(78, 6) + SourceIndex(0) -6 >Emitted(54, 39) Source(78, 20) + SourceIndex(0) -7 >Emitted(54, 41) Source(78, 22) + SourceIndex(0) -8 >Emitted(54, 43) Source(78, 6) + SourceIndex(0) -9 >Emitted(54, 59) Source(78, 22) + SourceIndex(0) -10>Emitted(54, 61) Source(78, 6) + SourceIndex(0) -11>Emitted(54, 66) Source(78, 22) + SourceIndex(0) -12>Emitted(54, 68) Source(78, 24) + SourceIndex(0) -13>Emitted(54, 69) Source(78, 25) + SourceIndex(0) +1->Emitted(55, 1) Source(73, 1) + SourceIndex(0) +2 >Emitted(55, 6) Source(78, 6) + SourceIndex(0) +3 >Emitted(55, 17) Source(78, 22) + SourceIndex(0) +4 >Emitted(55, 19) Source(78, 6) + SourceIndex(0) +5 >Emitted(55, 25) Source(78, 6) + SourceIndex(0) +6 >Emitted(55, 39) Source(78, 20) + SourceIndex(0) +7 >Emitted(55, 41) Source(78, 22) + SourceIndex(0) +8 >Emitted(55, 43) Source(78, 6) + SourceIndex(0) +9 >Emitted(55, 59) Source(78, 22) + SourceIndex(0) +10>Emitted(55, 61) Source(78, 6) + SourceIndex(0) +11>Emitted(55, 66) Source(78, 22) + SourceIndex(0) +12>Emitted(55, 68) Source(78, 24) + SourceIndex(0) +13>Emitted(55, 69) Source(78, 25) + SourceIndex(0) --- >>> _y = _76[_75].skills, _z = _y === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _y, _0 = _z.primary, primary = _0 === void 0 ? "primary" : _0, _1 = _z.secondary, secondary = _1 === void 0 ? "secondary" : _1; 1->^^^^ @@ -2005,34 +2006,34 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 26> = 27> "secondary" 28> -1->Emitted(55, 5) Source(74, 5) + SourceIndex(0) -2 >Emitted(55, 25) Source(77, 53) + SourceIndex(0) -3 >Emitted(55, 27) Source(74, 5) + SourceIndex(0) -4 >Emitted(55, 48) Source(77, 9) + SourceIndex(0) -5 >Emitted(55, 50) Source(77, 11) + SourceIndex(0) -6 >Emitted(55, 57) Source(77, 18) + SourceIndex(0) -7 >Emitted(55, 59) Source(77, 20) + SourceIndex(0) -8 >Emitted(55, 68) Source(77, 29) + SourceIndex(0) -9 >Emitted(55, 70) Source(77, 31) + SourceIndex(0) -10>Emitted(55, 79) Source(77, 40) + SourceIndex(0) -11>Emitted(55, 81) Source(77, 42) + SourceIndex(0) -12>Emitted(55, 90) Source(77, 51) + SourceIndex(0) -13>Emitted(55, 92) Source(77, 53) + SourceIndex(0) -14>Emitted(55, 97) Source(77, 53) + SourceIndex(0) -15>Emitted(55, 99) Source(75, 9) + SourceIndex(0) -16>Emitted(55, 114) Source(75, 28) + SourceIndex(0) -17>Emitted(55, 116) Source(75, 9) + SourceIndex(0) -18>Emitted(55, 123) Source(75, 16) + SourceIndex(0) -19>Emitted(55, 142) Source(75, 19) + SourceIndex(0) -20>Emitted(55, 151) Source(75, 28) + SourceIndex(0) -21>Emitted(55, 156) Source(75, 28) + SourceIndex(0) -22>Emitted(55, 158) Source(76, 9) + SourceIndex(0) -23>Emitted(55, 175) Source(76, 32) + SourceIndex(0) -24>Emitted(55, 177) Source(76, 9) + SourceIndex(0) -25>Emitted(55, 186) Source(76, 18) + SourceIndex(0) -26>Emitted(55, 205) Source(76, 21) + SourceIndex(0) -27>Emitted(55, 216) Source(76, 32) + SourceIndex(0) -28>Emitted(55, 221) Source(76, 32) + SourceIndex(0) +1->Emitted(56, 5) Source(74, 5) + SourceIndex(0) +2 >Emitted(56, 25) Source(77, 53) + SourceIndex(0) +3 >Emitted(56, 27) Source(74, 5) + SourceIndex(0) +4 >Emitted(56, 48) Source(77, 9) + SourceIndex(0) +5 >Emitted(56, 50) Source(77, 11) + SourceIndex(0) +6 >Emitted(56, 57) Source(77, 18) + SourceIndex(0) +7 >Emitted(56, 59) Source(77, 20) + SourceIndex(0) +8 >Emitted(56, 68) Source(77, 29) + SourceIndex(0) +9 >Emitted(56, 70) Source(77, 31) + SourceIndex(0) +10>Emitted(56, 79) Source(77, 40) + SourceIndex(0) +11>Emitted(56, 81) Source(77, 42) + SourceIndex(0) +12>Emitted(56, 90) Source(77, 51) + SourceIndex(0) +13>Emitted(56, 92) Source(77, 53) + SourceIndex(0) +14>Emitted(56, 97) Source(77, 53) + SourceIndex(0) +15>Emitted(56, 99) Source(75, 9) + SourceIndex(0) +16>Emitted(56, 114) Source(75, 28) + SourceIndex(0) +17>Emitted(56, 116) Source(75, 9) + SourceIndex(0) +18>Emitted(56, 123) Source(75, 16) + SourceIndex(0) +19>Emitted(56, 142) Source(75, 19) + SourceIndex(0) +20>Emitted(56, 151) Source(75, 28) + SourceIndex(0) +21>Emitted(56, 156) Source(75, 28) + SourceIndex(0) +22>Emitted(56, 158) Source(76, 9) + SourceIndex(0) +23>Emitted(56, 175) Source(76, 32) + SourceIndex(0) +24>Emitted(56, 177) Source(76, 9) + SourceIndex(0) +25>Emitted(56, 186) Source(76, 18) + SourceIndex(0) +26>Emitted(56, 205) Source(76, 21) + SourceIndex(0) +27>Emitted(56, 216) Source(76, 32) + SourceIndex(0) +28>Emitted(56, 221) Source(76, 32) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -2054,14 +2055,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > primaryA 7 > ) 8 > ; -1 >Emitted(56, 5) Source(79, 5) + SourceIndex(0) -2 >Emitted(56, 12) Source(79, 12) + SourceIndex(0) -3 >Emitted(56, 13) Source(79, 13) + SourceIndex(0) -4 >Emitted(56, 16) Source(79, 16) + SourceIndex(0) -5 >Emitted(56, 17) Source(79, 17) + SourceIndex(0) -6 >Emitted(56, 25) Source(79, 25) + SourceIndex(0) -7 >Emitted(56, 26) Source(79, 26) + SourceIndex(0) -8 >Emitted(56, 27) Source(79, 27) + SourceIndex(0) +1 >Emitted(57, 5) Source(79, 5) + SourceIndex(0) +2 >Emitted(57, 12) Source(79, 12) + SourceIndex(0) +3 >Emitted(57, 13) Source(79, 13) + SourceIndex(0) +4 >Emitted(57, 16) Source(79, 16) + SourceIndex(0) +5 >Emitted(57, 17) Source(79, 17) + SourceIndex(0) +6 >Emitted(57, 25) Source(79, 25) + SourceIndex(0) +7 >Emitted(57, 26) Source(79, 26) + SourceIndex(0) +8 >Emitted(57, 27) Source(79, 27) + SourceIndex(0) --- >>>} 1 > @@ -2070,8 +2071,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(57, 1) Source(80, 1) + SourceIndex(0) -2 >Emitted(57, 2) Source(80, 2) + SourceIndex(0) +1 >Emitted(58, 1) Source(80, 1) + SourceIndex(0) +2 >Emitted(58, 2) Source(80, 2) + SourceIndex(0) --- >>>for (var _77 = 0, _78 = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -2126,28 +2127,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 20> "none" 21> } 22> } -1->Emitted(58, 1) Source(81, 1) + SourceIndex(0) -2 >Emitted(58, 6) Source(86, 6) + SourceIndex(0) -3 >Emitted(58, 17) Source(87, 79) + SourceIndex(0) -4 >Emitted(58, 19) Source(86, 6) + SourceIndex(0) -5 >Emitted(58, 26) Source(86, 7) + SourceIndex(0) -6 >Emitted(58, 28) Source(86, 9) + SourceIndex(0) -7 >Emitted(58, 32) Source(86, 13) + SourceIndex(0) -8 >Emitted(58, 34) Source(86, 15) + SourceIndex(0) -9 >Emitted(58, 41) Source(86, 22) + SourceIndex(0) -10>Emitted(58, 43) Source(86, 24) + SourceIndex(0) -11>Emitted(58, 49) Source(86, 30) + SourceIndex(0) -12>Emitted(58, 51) Source(86, 32) + SourceIndex(0) -13>Emitted(58, 53) Source(86, 34) + SourceIndex(0) -14>Emitted(58, 60) Source(86, 41) + SourceIndex(0) -15>Emitted(58, 62) Source(86, 43) + SourceIndex(0) -16>Emitted(58, 70) Source(86, 51) + SourceIndex(0) -17>Emitted(58, 72) Source(86, 53) + SourceIndex(0) -18>Emitted(58, 81) Source(86, 62) + SourceIndex(0) -19>Emitted(58, 83) Source(86, 64) + SourceIndex(0) -20>Emitted(58, 89) Source(86, 70) + SourceIndex(0) -21>Emitted(58, 91) Source(86, 72) + SourceIndex(0) -22>Emitted(58, 93) Source(86, 74) + SourceIndex(0) +1->Emitted(59, 1) Source(81, 1) + SourceIndex(0) +2 >Emitted(59, 6) Source(86, 6) + SourceIndex(0) +3 >Emitted(59, 17) Source(87, 79) + SourceIndex(0) +4 >Emitted(59, 19) Source(86, 6) + SourceIndex(0) +5 >Emitted(59, 26) Source(86, 7) + SourceIndex(0) +6 >Emitted(59, 28) Source(86, 9) + SourceIndex(0) +7 >Emitted(59, 32) Source(86, 13) + SourceIndex(0) +8 >Emitted(59, 34) Source(86, 15) + SourceIndex(0) +9 >Emitted(59, 41) Source(86, 22) + SourceIndex(0) +10>Emitted(59, 43) Source(86, 24) + SourceIndex(0) +11>Emitted(59, 49) Source(86, 30) + SourceIndex(0) +12>Emitted(59, 51) Source(86, 32) + SourceIndex(0) +13>Emitted(59, 53) Source(86, 34) + SourceIndex(0) +14>Emitted(59, 60) Source(86, 41) + SourceIndex(0) +15>Emitted(59, 62) Source(86, 43) + SourceIndex(0) +16>Emitted(59, 70) Source(86, 51) + SourceIndex(0) +17>Emitted(59, 72) Source(86, 53) + SourceIndex(0) +18>Emitted(59, 81) Source(86, 62) + SourceIndex(0) +19>Emitted(59, 83) Source(86, 64) + SourceIndex(0) +20>Emitted(59, 89) Source(86, 70) + SourceIndex(0) +21>Emitted(59, 91) Source(86, 72) + SourceIndex(0) +22>Emitted(59, 93) Source(86, 74) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _77 < _78.length; _77++) { 1->^^^^ @@ -2204,31 +2205,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(59, 5) Source(87, 5) + SourceIndex(0) -2 >Emitted(59, 7) Source(87, 7) + SourceIndex(0) -3 >Emitted(59, 11) Source(87, 11) + SourceIndex(0) -4 >Emitted(59, 13) Source(87, 13) + SourceIndex(0) -5 >Emitted(59, 22) Source(87, 22) + SourceIndex(0) -6 >Emitted(59, 24) Source(87, 24) + SourceIndex(0) -7 >Emitted(59, 30) Source(87, 30) + SourceIndex(0) -8 >Emitted(59, 32) Source(87, 32) + SourceIndex(0) -9 >Emitted(59, 34) Source(87, 34) + SourceIndex(0) -10>Emitted(59, 41) Source(87, 41) + SourceIndex(0) -11>Emitted(59, 43) Source(87, 43) + SourceIndex(0) -12>Emitted(59, 53) Source(87, 53) + SourceIndex(0) -13>Emitted(59, 55) Source(87, 55) + SourceIndex(0) -14>Emitted(59, 64) Source(87, 64) + SourceIndex(0) -15>Emitted(59, 66) Source(87, 66) + SourceIndex(0) -16>Emitted(59, 74) Source(87, 74) + SourceIndex(0) -17>Emitted(59, 76) Source(87, 76) + SourceIndex(0) -18>Emitted(59, 78) Source(87, 78) + SourceIndex(0) -19>Emitted(59, 79) Source(87, 79) + SourceIndex(0) -20>Emitted(59, 81) Source(86, 6) + SourceIndex(0) -21>Emitted(59, 97) Source(87, 79) + SourceIndex(0) -22>Emitted(59, 99) Source(86, 6) + SourceIndex(0) -23>Emitted(59, 104) Source(87, 79) + SourceIndex(0) -24>Emitted(59, 106) Source(87, 81) + SourceIndex(0) -25>Emitted(59, 107) Source(87, 82) + SourceIndex(0) +1->Emitted(60, 5) Source(87, 5) + SourceIndex(0) +2 >Emitted(60, 7) Source(87, 7) + SourceIndex(0) +3 >Emitted(60, 11) Source(87, 11) + SourceIndex(0) +4 >Emitted(60, 13) Source(87, 13) + SourceIndex(0) +5 >Emitted(60, 22) Source(87, 22) + SourceIndex(0) +6 >Emitted(60, 24) Source(87, 24) + SourceIndex(0) +7 >Emitted(60, 30) Source(87, 30) + SourceIndex(0) +8 >Emitted(60, 32) Source(87, 32) + SourceIndex(0) +9 >Emitted(60, 34) Source(87, 34) + SourceIndex(0) +10>Emitted(60, 41) Source(87, 41) + SourceIndex(0) +11>Emitted(60, 43) Source(87, 43) + SourceIndex(0) +12>Emitted(60, 53) Source(87, 53) + SourceIndex(0) +13>Emitted(60, 55) Source(87, 55) + SourceIndex(0) +14>Emitted(60, 64) Source(87, 64) + SourceIndex(0) +15>Emitted(60, 66) Source(87, 66) + SourceIndex(0) +16>Emitted(60, 74) Source(87, 74) + SourceIndex(0) +17>Emitted(60, 76) Source(87, 76) + SourceIndex(0) +18>Emitted(60, 78) Source(87, 78) + SourceIndex(0) +19>Emitted(60, 79) Source(87, 79) + SourceIndex(0) +20>Emitted(60, 81) Source(86, 6) + SourceIndex(0) +21>Emitted(60, 97) Source(87, 79) + SourceIndex(0) +22>Emitted(60, 99) Source(86, 6) + SourceIndex(0) +23>Emitted(60, 104) Source(87, 79) + SourceIndex(0) +24>Emitted(60, 106) Source(87, 81) + SourceIndex(0) +25>Emitted(60, 107) Source(87, 82) + SourceIndex(0) --- >>> _2 = _78[_77].skills, _3 = _2 === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _2, _4 = _3.primary, primary = _4 === void 0 ? "primary" : _4, _5 = _3.secondary, secondary = _5 === void 0 ? "secondary" : _5; 1->^^^^ @@ -2294,34 +2295,34 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 26> = 27> "secondary" 28> -1->Emitted(60, 5) Source(82, 5) + SourceIndex(0) -2 >Emitted(60, 25) Source(85, 53) + SourceIndex(0) -3 >Emitted(60, 27) Source(82, 5) + SourceIndex(0) -4 >Emitted(60, 48) Source(85, 9) + SourceIndex(0) -5 >Emitted(60, 50) Source(85, 11) + SourceIndex(0) -6 >Emitted(60, 57) Source(85, 18) + SourceIndex(0) -7 >Emitted(60, 59) Source(85, 20) + SourceIndex(0) -8 >Emitted(60, 68) Source(85, 29) + SourceIndex(0) -9 >Emitted(60, 70) Source(85, 31) + SourceIndex(0) -10>Emitted(60, 79) Source(85, 40) + SourceIndex(0) -11>Emitted(60, 81) Source(85, 42) + SourceIndex(0) -12>Emitted(60, 90) Source(85, 51) + SourceIndex(0) -13>Emitted(60, 92) Source(85, 53) + SourceIndex(0) -14>Emitted(60, 97) Source(85, 53) + SourceIndex(0) -15>Emitted(60, 99) Source(83, 9) + SourceIndex(0) -16>Emitted(60, 114) Source(83, 28) + SourceIndex(0) -17>Emitted(60, 116) Source(83, 9) + SourceIndex(0) -18>Emitted(60, 123) Source(83, 16) + SourceIndex(0) -19>Emitted(60, 142) Source(83, 19) + SourceIndex(0) -20>Emitted(60, 151) Source(83, 28) + SourceIndex(0) -21>Emitted(60, 156) Source(83, 28) + SourceIndex(0) -22>Emitted(60, 158) Source(84, 9) + SourceIndex(0) -23>Emitted(60, 175) Source(84, 32) + SourceIndex(0) -24>Emitted(60, 177) Source(84, 9) + SourceIndex(0) -25>Emitted(60, 186) Source(84, 18) + SourceIndex(0) -26>Emitted(60, 205) Source(84, 21) + SourceIndex(0) -27>Emitted(60, 216) Source(84, 32) + SourceIndex(0) -28>Emitted(60, 221) Source(84, 32) + SourceIndex(0) +1->Emitted(61, 5) Source(82, 5) + SourceIndex(0) +2 >Emitted(61, 25) Source(85, 53) + SourceIndex(0) +3 >Emitted(61, 27) Source(82, 5) + SourceIndex(0) +4 >Emitted(61, 48) Source(85, 9) + SourceIndex(0) +5 >Emitted(61, 50) Source(85, 11) + SourceIndex(0) +6 >Emitted(61, 57) Source(85, 18) + SourceIndex(0) +7 >Emitted(61, 59) Source(85, 20) + SourceIndex(0) +8 >Emitted(61, 68) Source(85, 29) + SourceIndex(0) +9 >Emitted(61, 70) Source(85, 31) + SourceIndex(0) +10>Emitted(61, 79) Source(85, 40) + SourceIndex(0) +11>Emitted(61, 81) Source(85, 42) + SourceIndex(0) +12>Emitted(61, 90) Source(85, 51) + SourceIndex(0) +13>Emitted(61, 92) Source(85, 53) + SourceIndex(0) +14>Emitted(61, 97) Source(85, 53) + SourceIndex(0) +15>Emitted(61, 99) Source(83, 9) + SourceIndex(0) +16>Emitted(61, 114) Source(83, 28) + SourceIndex(0) +17>Emitted(61, 116) Source(83, 9) + SourceIndex(0) +18>Emitted(61, 123) Source(83, 16) + SourceIndex(0) +19>Emitted(61, 142) Source(83, 19) + SourceIndex(0) +20>Emitted(61, 151) Source(83, 28) + SourceIndex(0) +21>Emitted(61, 156) Source(83, 28) + SourceIndex(0) +22>Emitted(61, 158) Source(84, 9) + SourceIndex(0) +23>Emitted(61, 175) Source(84, 32) + SourceIndex(0) +24>Emitted(61, 177) Source(84, 9) + SourceIndex(0) +25>Emitted(61, 186) Source(84, 18) + SourceIndex(0) +26>Emitted(61, 205) Source(84, 21) + SourceIndex(0) +27>Emitted(61, 216) Source(84, 32) + SourceIndex(0) +28>Emitted(61, 221) Source(84, 32) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -2344,14 +2345,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > primaryA 7 > ) 8 > ; -1 >Emitted(61, 5) Source(88, 5) + SourceIndex(0) -2 >Emitted(61, 12) Source(88, 12) + SourceIndex(0) -3 >Emitted(61, 13) Source(88, 13) + SourceIndex(0) -4 >Emitted(61, 16) Source(88, 16) + SourceIndex(0) -5 >Emitted(61, 17) Source(88, 17) + SourceIndex(0) -6 >Emitted(61, 25) Source(88, 25) + SourceIndex(0) -7 >Emitted(61, 26) Source(88, 26) + SourceIndex(0) -8 >Emitted(61, 27) Source(88, 27) + SourceIndex(0) +1 >Emitted(62, 5) Source(88, 5) + SourceIndex(0) +2 >Emitted(62, 12) Source(88, 12) + SourceIndex(0) +3 >Emitted(62, 13) Source(88, 13) + SourceIndex(0) +4 >Emitted(62, 16) Source(88, 16) + SourceIndex(0) +5 >Emitted(62, 17) Source(88, 17) + SourceIndex(0) +6 >Emitted(62, 25) Source(88, 25) + SourceIndex(0) +7 >Emitted(62, 26) Source(88, 26) + SourceIndex(0) +8 >Emitted(62, 27) Source(88, 27) + SourceIndex(0) --- >>>} 1 > @@ -2360,8 +2361,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(62, 1) Source(89, 1) + SourceIndex(0) -2 >Emitted(62, 2) Source(89, 2) + SourceIndex(0) +1 >Emitted(63, 1) Source(89, 1) + SourceIndex(0) +2 >Emitted(63, 2) Source(89, 2) + SourceIndex(0) --- >>>for (var _79 = 0, robots_3 = robots; _79 < robots_3.length; _79++) { 1-> @@ -2390,17 +2391,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > robots 10> ) 11> { -1->Emitted(63, 1) Source(92, 1) + SourceIndex(0) -2 >Emitted(63, 6) Source(92, 62) + SourceIndex(0) -3 >Emitted(63, 17) Source(92, 68) + SourceIndex(0) -4 >Emitted(63, 19) Source(92, 62) + SourceIndex(0) -5 >Emitted(63, 36) Source(92, 68) + SourceIndex(0) -6 >Emitted(63, 38) Source(92, 62) + SourceIndex(0) -7 >Emitted(63, 59) Source(92, 68) + SourceIndex(0) -8 >Emitted(63, 61) Source(92, 62) + SourceIndex(0) -9 >Emitted(63, 66) Source(92, 68) + SourceIndex(0) -10>Emitted(63, 68) Source(92, 70) + SourceIndex(0) -11>Emitted(63, 69) Source(92, 71) + SourceIndex(0) +1->Emitted(64, 1) Source(92, 1) + SourceIndex(0) +2 >Emitted(64, 6) Source(92, 62) + SourceIndex(0) +3 >Emitted(64, 17) Source(92, 68) + SourceIndex(0) +4 >Emitted(64, 19) Source(92, 62) + SourceIndex(0) +5 >Emitted(64, 36) Source(92, 68) + SourceIndex(0) +6 >Emitted(64, 38) Source(92, 62) + SourceIndex(0) +7 >Emitted(64, 59) Source(92, 68) + SourceIndex(0) +8 >Emitted(64, 61) Source(92, 62) + SourceIndex(0) +9 >Emitted(64, 66) Source(92, 68) + SourceIndex(0) +10>Emitted(64, 68) Source(92, 70) + SourceIndex(0) +11>Emitted(64, 69) Source(92, 71) + SourceIndex(0) --- >>> _6 = robots_3[_79], _7 = _6.name, nameA = _7 === void 0 ? "noName" : _7, _8 = _6.skill, skillA = _8 === void 0 ? "noSkill" : _8; 1->^^^^^^^^^^^^^^^^^^^^^^^^ @@ -2431,20 +2432,20 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 12> = 13> "noSkill" 14> -1->Emitted(64, 25) Source(92, 7) + SourceIndex(0) -2 >Emitted(64, 37) Source(92, 29) + SourceIndex(0) -3 >Emitted(64, 39) Source(92, 13) + SourceIndex(0) -4 >Emitted(64, 44) Source(92, 18) + SourceIndex(0) -5 >Emitted(64, 63) Source(92, 21) + SourceIndex(0) -6 >Emitted(64, 71) Source(92, 29) + SourceIndex(0) -7 >Emitted(64, 76) Source(92, 29) + SourceIndex(0) -8 >Emitted(64, 78) Source(92, 31) + SourceIndex(0) -9 >Emitted(64, 91) Source(92, 56) + SourceIndex(0) -10>Emitted(64, 93) Source(92, 38) + SourceIndex(0) -11>Emitted(64, 99) Source(92, 44) + SourceIndex(0) -12>Emitted(64, 118) Source(92, 47) + SourceIndex(0) -13>Emitted(64, 127) Source(92, 56) + SourceIndex(0) -14>Emitted(64, 132) Source(92, 56) + SourceIndex(0) +1->Emitted(65, 25) Source(92, 7) + SourceIndex(0) +2 >Emitted(65, 37) Source(92, 29) + SourceIndex(0) +3 >Emitted(65, 39) Source(92, 13) + SourceIndex(0) +4 >Emitted(65, 44) Source(92, 18) + SourceIndex(0) +5 >Emitted(65, 63) Source(92, 21) + SourceIndex(0) +6 >Emitted(65, 71) Source(92, 29) + SourceIndex(0) +7 >Emitted(65, 76) Source(92, 29) + SourceIndex(0) +8 >Emitted(65, 78) Source(92, 31) + SourceIndex(0) +9 >Emitted(65, 91) Source(92, 56) + SourceIndex(0) +10>Emitted(65, 93) Source(92, 38) + SourceIndex(0) +11>Emitted(65, 99) Source(92, 44) + SourceIndex(0) +12>Emitted(65, 118) Source(92, 47) + SourceIndex(0) +13>Emitted(65, 127) Source(92, 56) + SourceIndex(0) +14>Emitted(65, 132) Source(92, 56) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2464,14 +2465,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(65, 5) Source(93, 5) + SourceIndex(0) -2 >Emitted(65, 12) Source(93, 12) + SourceIndex(0) -3 >Emitted(65, 13) Source(93, 13) + SourceIndex(0) -4 >Emitted(65, 16) Source(93, 16) + SourceIndex(0) -5 >Emitted(65, 17) Source(93, 17) + SourceIndex(0) -6 >Emitted(65, 22) Source(93, 22) + SourceIndex(0) -7 >Emitted(65, 23) Source(93, 23) + SourceIndex(0) -8 >Emitted(65, 24) Source(93, 24) + SourceIndex(0) +1 >Emitted(66, 5) Source(93, 5) + SourceIndex(0) +2 >Emitted(66, 12) Source(93, 12) + SourceIndex(0) +3 >Emitted(66, 13) Source(93, 13) + SourceIndex(0) +4 >Emitted(66, 16) Source(93, 16) + SourceIndex(0) +5 >Emitted(66, 17) Source(93, 17) + SourceIndex(0) +6 >Emitted(66, 22) Source(93, 22) + SourceIndex(0) +7 >Emitted(66, 23) Source(93, 23) + SourceIndex(0) +8 >Emitted(66, 24) Source(93, 24) + SourceIndex(0) --- >>>} 1 > @@ -2480,8 +2481,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(66, 1) Source(94, 1) + SourceIndex(0) -2 >Emitted(66, 2) Source(94, 2) + SourceIndex(0) +1 >Emitted(67, 1) Source(94, 1) + SourceIndex(0) +2 >Emitted(67, 2) Source(94, 2) + SourceIndex(0) --- >>>for (var _80 = 0, _81 = getRobots(); _80 < _81.length; _80++) { 1-> @@ -2512,19 +2513,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getRobots() 12> ) 13> { -1->Emitted(67, 1) Source(95, 1) + SourceIndex(0) -2 >Emitted(67, 6) Source(95, 63) + SourceIndex(0) -3 >Emitted(67, 17) Source(95, 74) + SourceIndex(0) -4 >Emitted(67, 19) Source(95, 63) + SourceIndex(0) -5 >Emitted(67, 25) Source(95, 63) + SourceIndex(0) -6 >Emitted(67, 34) Source(95, 72) + SourceIndex(0) -7 >Emitted(67, 36) Source(95, 74) + SourceIndex(0) -8 >Emitted(67, 38) Source(95, 63) + SourceIndex(0) -9 >Emitted(67, 54) Source(95, 74) + SourceIndex(0) -10>Emitted(67, 56) Source(95, 63) + SourceIndex(0) -11>Emitted(67, 61) Source(95, 74) + SourceIndex(0) -12>Emitted(67, 63) Source(95, 76) + SourceIndex(0) -13>Emitted(67, 64) Source(95, 77) + SourceIndex(0) +1->Emitted(68, 1) Source(95, 1) + SourceIndex(0) +2 >Emitted(68, 6) Source(95, 63) + SourceIndex(0) +3 >Emitted(68, 17) Source(95, 74) + SourceIndex(0) +4 >Emitted(68, 19) Source(95, 63) + SourceIndex(0) +5 >Emitted(68, 25) Source(95, 63) + SourceIndex(0) +6 >Emitted(68, 34) Source(95, 72) + SourceIndex(0) +7 >Emitted(68, 36) Source(95, 74) + SourceIndex(0) +8 >Emitted(68, 38) Source(95, 63) + SourceIndex(0) +9 >Emitted(68, 54) Source(95, 74) + SourceIndex(0) +10>Emitted(68, 56) Source(95, 63) + SourceIndex(0) +11>Emitted(68, 61) Source(95, 74) + SourceIndex(0) +12>Emitted(68, 63) Source(95, 76) + SourceIndex(0) +13>Emitted(68, 64) Source(95, 77) + SourceIndex(0) --- >>> _9 = _81[_80], _10 = _9.name, nameA = _10 === void 0 ? "noName" : _10, _11 = _9.skill, skillA = _11 === void 0 ? "noSkill" : _11; 1->^^^^^^^^^^^^^^^^^^^ @@ -2555,20 +2556,20 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 12> = 13> "noSkill" 14> -1->Emitted(68, 20) Source(95, 7) + SourceIndex(0) -2 >Emitted(68, 33) Source(95, 29) + SourceIndex(0) -3 >Emitted(68, 35) Source(95, 13) + SourceIndex(0) -4 >Emitted(68, 40) Source(95, 18) + SourceIndex(0) -5 >Emitted(68, 60) Source(95, 21) + SourceIndex(0) -6 >Emitted(68, 68) Source(95, 29) + SourceIndex(0) -7 >Emitted(68, 74) Source(95, 29) + SourceIndex(0) -8 >Emitted(68, 76) Source(95, 31) + SourceIndex(0) -9 >Emitted(68, 90) Source(95, 56) + SourceIndex(0) -10>Emitted(68, 92) Source(95, 38) + SourceIndex(0) -11>Emitted(68, 98) Source(95, 44) + SourceIndex(0) -12>Emitted(68, 118) Source(95, 47) + SourceIndex(0) -13>Emitted(68, 127) Source(95, 56) + SourceIndex(0) -14>Emitted(68, 133) Source(95, 56) + SourceIndex(0) +1->Emitted(69, 20) Source(95, 7) + SourceIndex(0) +2 >Emitted(69, 33) Source(95, 29) + SourceIndex(0) +3 >Emitted(69, 35) Source(95, 13) + SourceIndex(0) +4 >Emitted(69, 40) Source(95, 18) + SourceIndex(0) +5 >Emitted(69, 60) Source(95, 21) + SourceIndex(0) +6 >Emitted(69, 68) Source(95, 29) + SourceIndex(0) +7 >Emitted(69, 74) Source(95, 29) + SourceIndex(0) +8 >Emitted(69, 76) Source(95, 31) + SourceIndex(0) +9 >Emitted(69, 90) Source(95, 56) + SourceIndex(0) +10>Emitted(69, 92) Source(95, 38) + SourceIndex(0) +11>Emitted(69, 98) Source(95, 44) + SourceIndex(0) +12>Emitted(69, 118) Source(95, 47) + SourceIndex(0) +13>Emitted(69, 127) Source(95, 56) + SourceIndex(0) +14>Emitted(69, 133) Source(95, 56) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2588,14 +2589,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(69, 5) Source(96, 5) + SourceIndex(0) -2 >Emitted(69, 12) Source(96, 12) + SourceIndex(0) -3 >Emitted(69, 13) Source(96, 13) + SourceIndex(0) -4 >Emitted(69, 16) Source(96, 16) + SourceIndex(0) -5 >Emitted(69, 17) Source(96, 17) + SourceIndex(0) -6 >Emitted(69, 22) Source(96, 22) + SourceIndex(0) -7 >Emitted(69, 23) Source(96, 23) + SourceIndex(0) -8 >Emitted(69, 24) Source(96, 24) + SourceIndex(0) +1 >Emitted(70, 5) Source(96, 5) + SourceIndex(0) +2 >Emitted(70, 12) Source(96, 12) + SourceIndex(0) +3 >Emitted(70, 13) Source(96, 13) + SourceIndex(0) +4 >Emitted(70, 16) Source(96, 16) + SourceIndex(0) +5 >Emitted(70, 17) Source(96, 17) + SourceIndex(0) +6 >Emitted(70, 22) Source(96, 22) + SourceIndex(0) +7 >Emitted(70, 23) Source(96, 23) + SourceIndex(0) +8 >Emitted(70, 24) Source(96, 24) + SourceIndex(0) --- >>>} 1 > @@ -2604,8 +2605,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(70, 1) Source(97, 1) + SourceIndex(0) -2 >Emitted(70, 2) Source(97, 2) + SourceIndex(0) +1 >Emitted(71, 1) Source(97, 1) + SourceIndex(0) +2 >Emitted(71, 2) Source(97, 2) + SourceIndex(0) --- >>>for (var _82 = 0, _83 = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _82 < _83.length; _82++) { 1-> @@ -2672,37 +2673,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(71, 1) Source(98, 1) + SourceIndex(0) -2 >Emitted(71, 6) Source(98, 63) + SourceIndex(0) -3 >Emitted(71, 17) Source(98, 139) + SourceIndex(0) -4 >Emitted(71, 19) Source(98, 63) + SourceIndex(0) -5 >Emitted(71, 26) Source(98, 64) + SourceIndex(0) -6 >Emitted(71, 28) Source(98, 66) + SourceIndex(0) -7 >Emitted(71, 32) Source(98, 70) + SourceIndex(0) -8 >Emitted(71, 34) Source(98, 72) + SourceIndex(0) -9 >Emitted(71, 41) Source(98, 79) + SourceIndex(0) -10>Emitted(71, 43) Source(98, 81) + SourceIndex(0) -11>Emitted(71, 48) Source(98, 86) + SourceIndex(0) -12>Emitted(71, 50) Source(98, 88) + SourceIndex(0) -13>Emitted(71, 58) Source(98, 96) + SourceIndex(0) -14>Emitted(71, 60) Source(98, 98) + SourceIndex(0) -15>Emitted(71, 62) Source(98, 100) + SourceIndex(0) -16>Emitted(71, 64) Source(98, 102) + SourceIndex(0) -17>Emitted(71, 68) Source(98, 106) + SourceIndex(0) -18>Emitted(71, 70) Source(98, 108) + SourceIndex(0) -19>Emitted(71, 79) Source(98, 117) + SourceIndex(0) -20>Emitted(71, 81) Source(98, 119) + SourceIndex(0) -21>Emitted(71, 86) Source(98, 124) + SourceIndex(0) -22>Emitted(71, 88) Source(98, 126) + SourceIndex(0) -23>Emitted(71, 98) Source(98, 136) + SourceIndex(0) -24>Emitted(71, 100) Source(98, 138) + SourceIndex(0) -25>Emitted(71, 101) Source(98, 139) + SourceIndex(0) -26>Emitted(71, 103) Source(98, 63) + SourceIndex(0) -27>Emitted(71, 119) Source(98, 139) + SourceIndex(0) -28>Emitted(71, 121) Source(98, 63) + SourceIndex(0) -29>Emitted(71, 126) Source(98, 139) + SourceIndex(0) -30>Emitted(71, 128) Source(98, 141) + SourceIndex(0) -31>Emitted(71, 129) Source(98, 142) + SourceIndex(0) +1->Emitted(72, 1) Source(98, 1) + SourceIndex(0) +2 >Emitted(72, 6) Source(98, 63) + SourceIndex(0) +3 >Emitted(72, 17) Source(98, 139) + SourceIndex(0) +4 >Emitted(72, 19) Source(98, 63) + SourceIndex(0) +5 >Emitted(72, 26) Source(98, 64) + SourceIndex(0) +6 >Emitted(72, 28) Source(98, 66) + SourceIndex(0) +7 >Emitted(72, 32) Source(98, 70) + SourceIndex(0) +8 >Emitted(72, 34) Source(98, 72) + SourceIndex(0) +9 >Emitted(72, 41) Source(98, 79) + SourceIndex(0) +10>Emitted(72, 43) Source(98, 81) + SourceIndex(0) +11>Emitted(72, 48) Source(98, 86) + SourceIndex(0) +12>Emitted(72, 50) Source(98, 88) + SourceIndex(0) +13>Emitted(72, 58) Source(98, 96) + SourceIndex(0) +14>Emitted(72, 60) Source(98, 98) + SourceIndex(0) +15>Emitted(72, 62) Source(98, 100) + SourceIndex(0) +16>Emitted(72, 64) Source(98, 102) + SourceIndex(0) +17>Emitted(72, 68) Source(98, 106) + SourceIndex(0) +18>Emitted(72, 70) Source(98, 108) + SourceIndex(0) +19>Emitted(72, 79) Source(98, 117) + SourceIndex(0) +20>Emitted(72, 81) Source(98, 119) + SourceIndex(0) +21>Emitted(72, 86) Source(98, 124) + SourceIndex(0) +22>Emitted(72, 88) Source(98, 126) + SourceIndex(0) +23>Emitted(72, 98) Source(98, 136) + SourceIndex(0) +24>Emitted(72, 100) Source(98, 138) + SourceIndex(0) +25>Emitted(72, 101) Source(98, 139) + SourceIndex(0) +26>Emitted(72, 103) Source(98, 63) + SourceIndex(0) +27>Emitted(72, 119) Source(98, 139) + SourceIndex(0) +28>Emitted(72, 121) Source(98, 63) + SourceIndex(0) +29>Emitted(72, 126) Source(98, 139) + SourceIndex(0) +30>Emitted(72, 128) Source(98, 141) + SourceIndex(0) +31>Emitted(72, 129) Source(98, 142) + SourceIndex(0) --- >>> _12 = _83[_82], _13 = _12.name, nameA = _13 === void 0 ? "noName" : _13, _14 = _12.skill, skillA = _14 === void 0 ? "noSkill" : _14; 1->^^^^^^^^^^^^^^^^^^^^ @@ -2733,20 +2734,20 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 12> = 13> "noSkill" 14> -1->Emitted(72, 21) Source(98, 7) + SourceIndex(0) -2 >Emitted(72, 35) Source(98, 29) + SourceIndex(0) -3 >Emitted(72, 37) Source(98, 13) + SourceIndex(0) -4 >Emitted(72, 42) Source(98, 18) + SourceIndex(0) -5 >Emitted(72, 62) Source(98, 21) + SourceIndex(0) -6 >Emitted(72, 70) Source(98, 29) + SourceIndex(0) -7 >Emitted(72, 76) Source(98, 29) + SourceIndex(0) -8 >Emitted(72, 78) Source(98, 31) + SourceIndex(0) -9 >Emitted(72, 93) Source(98, 56) + SourceIndex(0) -10>Emitted(72, 95) Source(98, 38) + SourceIndex(0) -11>Emitted(72, 101) Source(98, 44) + SourceIndex(0) -12>Emitted(72, 121) Source(98, 47) + SourceIndex(0) -13>Emitted(72, 130) Source(98, 56) + SourceIndex(0) -14>Emitted(72, 136) Source(98, 56) + SourceIndex(0) +1->Emitted(73, 21) Source(98, 7) + SourceIndex(0) +2 >Emitted(73, 35) Source(98, 29) + SourceIndex(0) +3 >Emitted(73, 37) Source(98, 13) + SourceIndex(0) +4 >Emitted(73, 42) Source(98, 18) + SourceIndex(0) +5 >Emitted(73, 62) Source(98, 21) + SourceIndex(0) +6 >Emitted(73, 70) Source(98, 29) + SourceIndex(0) +7 >Emitted(73, 76) Source(98, 29) + SourceIndex(0) +8 >Emitted(73, 78) Source(98, 31) + SourceIndex(0) +9 >Emitted(73, 93) Source(98, 56) + SourceIndex(0) +10>Emitted(73, 95) Source(98, 38) + SourceIndex(0) +11>Emitted(73, 101) Source(98, 44) + SourceIndex(0) +12>Emitted(73, 121) Source(98, 47) + SourceIndex(0) +13>Emitted(73, 130) Source(98, 56) + SourceIndex(0) +14>Emitted(73, 136) Source(98, 56) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2766,14 +2767,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(73, 5) Source(99, 5) + SourceIndex(0) -2 >Emitted(73, 12) Source(99, 12) + SourceIndex(0) -3 >Emitted(73, 13) Source(99, 13) + SourceIndex(0) -4 >Emitted(73, 16) Source(99, 16) + SourceIndex(0) -5 >Emitted(73, 17) Source(99, 17) + SourceIndex(0) -6 >Emitted(73, 22) Source(99, 22) + SourceIndex(0) -7 >Emitted(73, 23) Source(99, 23) + SourceIndex(0) -8 >Emitted(73, 24) Source(99, 24) + SourceIndex(0) +1 >Emitted(74, 5) Source(99, 5) + SourceIndex(0) +2 >Emitted(74, 12) Source(99, 12) + SourceIndex(0) +3 >Emitted(74, 13) Source(99, 13) + SourceIndex(0) +4 >Emitted(74, 16) Source(99, 16) + SourceIndex(0) +5 >Emitted(74, 17) Source(99, 17) + SourceIndex(0) +6 >Emitted(74, 22) Source(99, 22) + SourceIndex(0) +7 >Emitted(74, 23) Source(99, 23) + SourceIndex(0) +8 >Emitted(74, 24) Source(99, 24) + SourceIndex(0) --- >>>} 1 > @@ -2782,8 +2783,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(74, 1) Source(100, 1) + SourceIndex(0) -2 >Emitted(74, 2) Source(100, 2) + SourceIndex(0) +1 >Emitted(75, 1) Source(100, 1) + SourceIndex(0) +2 >Emitted(75, 2) Source(100, 2) + SourceIndex(0) --- >>>for (var _84 = 0, multiRobots_3 = multiRobots; _84 < multiRobots_3.length; _84++) { 1-> @@ -2816,17 +2817,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > multiRobots 10> ) 11> { -1->Emitted(75, 1) Source(101, 1) + SourceIndex(0) -2 >Emitted(75, 6) Source(107, 6) + SourceIndex(0) -3 >Emitted(75, 17) Source(107, 17) + SourceIndex(0) -4 >Emitted(75, 19) Source(107, 6) + SourceIndex(0) -5 >Emitted(75, 46) Source(107, 17) + SourceIndex(0) -6 >Emitted(75, 48) Source(107, 6) + SourceIndex(0) -7 >Emitted(75, 74) Source(107, 17) + SourceIndex(0) -8 >Emitted(75, 76) Source(107, 6) + SourceIndex(0) -9 >Emitted(75, 81) Source(107, 17) + SourceIndex(0) -10>Emitted(75, 83) Source(107, 19) + SourceIndex(0) -11>Emitted(75, 84) Source(107, 20) + SourceIndex(0) +1->Emitted(76, 1) Source(101, 1) + SourceIndex(0) +2 >Emitted(76, 6) Source(107, 6) + SourceIndex(0) +3 >Emitted(76, 17) Source(107, 17) + SourceIndex(0) +4 >Emitted(76, 19) Source(107, 6) + SourceIndex(0) +5 >Emitted(76, 46) Source(107, 17) + SourceIndex(0) +6 >Emitted(76, 48) Source(107, 6) + SourceIndex(0) +7 >Emitted(76, 74) Source(107, 17) + SourceIndex(0) +8 >Emitted(76, 76) Source(107, 6) + SourceIndex(0) +9 >Emitted(76, 81) Source(107, 17) + SourceIndex(0) +10>Emitted(76, 83) Source(107, 19) + SourceIndex(0) +11>Emitted(76, 84) Source(107, 20) + SourceIndex(0) --- >>> _15 = multiRobots_3[_84], _16 = _15.name, nameA = _16 === void 0 ? "noName" : _16, _17 = _15.skills, _18 = _17 === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _17, _19 = _18.primary, primaryA = _19 === void 0 ? "primary" : _19, _20 = _18.secondary, secondaryA = _20 === void 0 ? "secondary" : _20; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -2907,41 +2908,41 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 33> = 34> "secondary" 35> -1->Emitted(76, 31) Source(102, 5) + SourceIndex(0) -2 >Emitted(76, 45) Source(102, 27) + SourceIndex(0) -3 >Emitted(76, 47) Source(102, 11) + SourceIndex(0) -4 >Emitted(76, 52) Source(102, 16) + SourceIndex(0) -5 >Emitted(76, 72) Source(102, 19) + SourceIndex(0) -6 >Emitted(76, 80) Source(102, 27) + SourceIndex(0) -7 >Emitted(76, 86) Source(102, 27) + SourceIndex(0) -8 >Emitted(76, 88) Source(103, 5) + SourceIndex(0) -9 >Emitted(76, 104) Source(106, 53) + SourceIndex(0) -10>Emitted(76, 106) Source(103, 5) + SourceIndex(0) -11>Emitted(76, 129) Source(106, 9) + SourceIndex(0) -12>Emitted(76, 131) Source(106, 11) + SourceIndex(0) -13>Emitted(76, 138) Source(106, 18) + SourceIndex(0) -14>Emitted(76, 140) Source(106, 20) + SourceIndex(0) -15>Emitted(76, 149) Source(106, 29) + SourceIndex(0) -16>Emitted(76, 151) Source(106, 31) + SourceIndex(0) -17>Emitted(76, 160) Source(106, 40) + SourceIndex(0) -18>Emitted(76, 162) Source(106, 42) + SourceIndex(0) -19>Emitted(76, 171) Source(106, 51) + SourceIndex(0) -20>Emitted(76, 173) Source(106, 53) + SourceIndex(0) -21>Emitted(76, 179) Source(106, 53) + SourceIndex(0) -22>Emitted(76, 181) Source(104, 9) + SourceIndex(0) -23>Emitted(76, 198) Source(104, 38) + SourceIndex(0) -24>Emitted(76, 200) Source(104, 18) + SourceIndex(0) -25>Emitted(76, 208) Source(104, 26) + SourceIndex(0) -26>Emitted(76, 228) Source(104, 29) + SourceIndex(0) -27>Emitted(76, 237) Source(104, 38) + SourceIndex(0) -28>Emitted(76, 243) Source(104, 38) + SourceIndex(0) -29>Emitted(76, 245) Source(105, 9) + SourceIndex(0) -30>Emitted(76, 264) Source(105, 44) + SourceIndex(0) -31>Emitted(76, 266) Source(105, 20) + SourceIndex(0) -32>Emitted(76, 276) Source(105, 30) + SourceIndex(0) -33>Emitted(76, 296) Source(105, 33) + SourceIndex(0) -34>Emitted(76, 307) Source(105, 44) + SourceIndex(0) -35>Emitted(76, 313) Source(105, 44) + SourceIndex(0) +1->Emitted(77, 31) Source(102, 5) + SourceIndex(0) +2 >Emitted(77, 45) Source(102, 27) + SourceIndex(0) +3 >Emitted(77, 47) Source(102, 11) + SourceIndex(0) +4 >Emitted(77, 52) Source(102, 16) + SourceIndex(0) +5 >Emitted(77, 72) Source(102, 19) + SourceIndex(0) +6 >Emitted(77, 80) Source(102, 27) + SourceIndex(0) +7 >Emitted(77, 86) Source(102, 27) + SourceIndex(0) +8 >Emitted(77, 88) Source(103, 5) + SourceIndex(0) +9 >Emitted(77, 104) Source(106, 53) + SourceIndex(0) +10>Emitted(77, 106) Source(103, 5) + SourceIndex(0) +11>Emitted(77, 129) Source(106, 9) + SourceIndex(0) +12>Emitted(77, 131) Source(106, 11) + SourceIndex(0) +13>Emitted(77, 138) Source(106, 18) + SourceIndex(0) +14>Emitted(77, 140) Source(106, 20) + SourceIndex(0) +15>Emitted(77, 149) Source(106, 29) + SourceIndex(0) +16>Emitted(77, 151) Source(106, 31) + SourceIndex(0) +17>Emitted(77, 160) Source(106, 40) + SourceIndex(0) +18>Emitted(77, 162) Source(106, 42) + SourceIndex(0) +19>Emitted(77, 171) Source(106, 51) + SourceIndex(0) +20>Emitted(77, 173) Source(106, 53) + SourceIndex(0) +21>Emitted(77, 179) Source(106, 53) + SourceIndex(0) +22>Emitted(77, 181) Source(104, 9) + SourceIndex(0) +23>Emitted(77, 198) Source(104, 38) + SourceIndex(0) +24>Emitted(77, 200) Source(104, 18) + SourceIndex(0) +25>Emitted(77, 208) Source(104, 26) + SourceIndex(0) +26>Emitted(77, 228) Source(104, 29) + SourceIndex(0) +27>Emitted(77, 237) Source(104, 38) + SourceIndex(0) +28>Emitted(77, 243) Source(104, 38) + SourceIndex(0) +29>Emitted(77, 245) Source(105, 9) + SourceIndex(0) +30>Emitted(77, 264) Source(105, 44) + SourceIndex(0) +31>Emitted(77, 266) Source(105, 20) + SourceIndex(0) +32>Emitted(77, 276) Source(105, 30) + SourceIndex(0) +33>Emitted(77, 296) Source(105, 33) + SourceIndex(0) +34>Emitted(77, 307) Source(105, 44) + SourceIndex(0) +35>Emitted(77, 313) Source(105, 44) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -2963,14 +2964,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(77, 5) Source(108, 5) + SourceIndex(0) -2 >Emitted(77, 12) Source(108, 12) + SourceIndex(0) -3 >Emitted(77, 13) Source(108, 13) + SourceIndex(0) -4 >Emitted(77, 16) Source(108, 16) + SourceIndex(0) -5 >Emitted(77, 17) Source(108, 17) + SourceIndex(0) -6 >Emitted(77, 22) Source(108, 22) + SourceIndex(0) -7 >Emitted(77, 23) Source(108, 23) + SourceIndex(0) -8 >Emitted(77, 24) Source(108, 24) + SourceIndex(0) +1 >Emitted(78, 5) Source(108, 5) + SourceIndex(0) +2 >Emitted(78, 12) Source(108, 12) + SourceIndex(0) +3 >Emitted(78, 13) Source(108, 13) + SourceIndex(0) +4 >Emitted(78, 16) Source(108, 16) + SourceIndex(0) +5 >Emitted(78, 17) Source(108, 17) + SourceIndex(0) +6 >Emitted(78, 22) Source(108, 22) + SourceIndex(0) +7 >Emitted(78, 23) Source(108, 23) + SourceIndex(0) +8 >Emitted(78, 24) Source(108, 24) + SourceIndex(0) --- >>>} 1 > @@ -2979,8 +2980,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(78, 1) Source(109, 1) + SourceIndex(0) -2 >Emitted(78, 2) Source(109, 2) + SourceIndex(0) +1 >Emitted(79, 1) Source(109, 1) + SourceIndex(0) +2 >Emitted(79, 2) Source(109, 2) + SourceIndex(0) --- >>>for (var _85 = 0, _86 = getMultiRobots(); _85 < _86.length; _85++) { 1-> @@ -3017,19 +3018,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getMultiRobots() 12> ) 13> { -1->Emitted(79, 1) Source(110, 1) + SourceIndex(0) -2 >Emitted(79, 6) Source(116, 6) + SourceIndex(0) -3 >Emitted(79, 17) Source(116, 22) + SourceIndex(0) -4 >Emitted(79, 19) Source(116, 6) + SourceIndex(0) -5 >Emitted(79, 25) Source(116, 6) + SourceIndex(0) -6 >Emitted(79, 39) Source(116, 20) + SourceIndex(0) -7 >Emitted(79, 41) Source(116, 22) + SourceIndex(0) -8 >Emitted(79, 43) Source(116, 6) + SourceIndex(0) -9 >Emitted(79, 59) Source(116, 22) + SourceIndex(0) -10>Emitted(79, 61) Source(116, 6) + SourceIndex(0) -11>Emitted(79, 66) Source(116, 22) + SourceIndex(0) -12>Emitted(79, 68) Source(116, 24) + SourceIndex(0) -13>Emitted(79, 69) Source(116, 25) + SourceIndex(0) +1->Emitted(80, 1) Source(110, 1) + SourceIndex(0) +2 >Emitted(80, 6) Source(116, 6) + SourceIndex(0) +3 >Emitted(80, 17) Source(116, 22) + SourceIndex(0) +4 >Emitted(80, 19) Source(116, 6) + SourceIndex(0) +5 >Emitted(80, 25) Source(116, 6) + SourceIndex(0) +6 >Emitted(80, 39) Source(116, 20) + SourceIndex(0) +7 >Emitted(80, 41) Source(116, 22) + SourceIndex(0) +8 >Emitted(80, 43) Source(116, 6) + SourceIndex(0) +9 >Emitted(80, 59) Source(116, 22) + SourceIndex(0) +10>Emitted(80, 61) Source(116, 6) + SourceIndex(0) +11>Emitted(80, 66) Source(116, 22) + SourceIndex(0) +12>Emitted(80, 68) Source(116, 24) + SourceIndex(0) +13>Emitted(80, 69) Source(116, 25) + SourceIndex(0) --- >>> _21 = _86[_85], _22 = _21.name, nameA = _22 === void 0 ? "noName" : _22, _23 = _21.skills, _24 = _23 === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _23, _25 = _24.primary, primaryA = _25 === void 0 ? "primary" : _25, _26 = _24.secondary, secondaryA = _26 === void 0 ? "secondary" : _26; 1->^^^^^^^^^^^^^^^^^^^^ @@ -3110,41 +3111,41 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 33> = 34> "secondary" 35> -1->Emitted(80, 21) Source(111, 5) + SourceIndex(0) -2 >Emitted(80, 35) Source(111, 27) + SourceIndex(0) -3 >Emitted(80, 37) Source(111, 11) + SourceIndex(0) -4 >Emitted(80, 42) Source(111, 16) + SourceIndex(0) -5 >Emitted(80, 62) Source(111, 19) + SourceIndex(0) -6 >Emitted(80, 70) Source(111, 27) + SourceIndex(0) -7 >Emitted(80, 76) Source(111, 27) + SourceIndex(0) -8 >Emitted(80, 78) Source(112, 5) + SourceIndex(0) -9 >Emitted(80, 94) Source(115, 53) + SourceIndex(0) -10>Emitted(80, 96) Source(112, 5) + SourceIndex(0) -11>Emitted(80, 119) Source(115, 9) + SourceIndex(0) -12>Emitted(80, 121) Source(115, 11) + SourceIndex(0) -13>Emitted(80, 128) Source(115, 18) + SourceIndex(0) -14>Emitted(80, 130) Source(115, 20) + SourceIndex(0) -15>Emitted(80, 139) Source(115, 29) + SourceIndex(0) -16>Emitted(80, 141) Source(115, 31) + SourceIndex(0) -17>Emitted(80, 150) Source(115, 40) + SourceIndex(0) -18>Emitted(80, 152) Source(115, 42) + SourceIndex(0) -19>Emitted(80, 161) Source(115, 51) + SourceIndex(0) -20>Emitted(80, 163) Source(115, 53) + SourceIndex(0) -21>Emitted(80, 169) Source(115, 53) + SourceIndex(0) -22>Emitted(80, 171) Source(113, 9) + SourceIndex(0) -23>Emitted(80, 188) Source(113, 38) + SourceIndex(0) -24>Emitted(80, 190) Source(113, 18) + SourceIndex(0) -25>Emitted(80, 198) Source(113, 26) + SourceIndex(0) -26>Emitted(80, 218) Source(113, 29) + SourceIndex(0) -27>Emitted(80, 227) Source(113, 38) + SourceIndex(0) -28>Emitted(80, 233) Source(113, 38) + SourceIndex(0) -29>Emitted(80, 235) Source(114, 9) + SourceIndex(0) -30>Emitted(80, 254) Source(114, 44) + SourceIndex(0) -31>Emitted(80, 256) Source(114, 20) + SourceIndex(0) -32>Emitted(80, 266) Source(114, 30) + SourceIndex(0) -33>Emitted(80, 286) Source(114, 33) + SourceIndex(0) -34>Emitted(80, 297) Source(114, 44) + SourceIndex(0) -35>Emitted(80, 303) Source(114, 44) + SourceIndex(0) +1->Emitted(81, 21) Source(111, 5) + SourceIndex(0) +2 >Emitted(81, 35) Source(111, 27) + SourceIndex(0) +3 >Emitted(81, 37) Source(111, 11) + SourceIndex(0) +4 >Emitted(81, 42) Source(111, 16) + SourceIndex(0) +5 >Emitted(81, 62) Source(111, 19) + SourceIndex(0) +6 >Emitted(81, 70) Source(111, 27) + SourceIndex(0) +7 >Emitted(81, 76) Source(111, 27) + SourceIndex(0) +8 >Emitted(81, 78) Source(112, 5) + SourceIndex(0) +9 >Emitted(81, 94) Source(115, 53) + SourceIndex(0) +10>Emitted(81, 96) Source(112, 5) + SourceIndex(0) +11>Emitted(81, 119) Source(115, 9) + SourceIndex(0) +12>Emitted(81, 121) Source(115, 11) + SourceIndex(0) +13>Emitted(81, 128) Source(115, 18) + SourceIndex(0) +14>Emitted(81, 130) Source(115, 20) + SourceIndex(0) +15>Emitted(81, 139) Source(115, 29) + SourceIndex(0) +16>Emitted(81, 141) Source(115, 31) + SourceIndex(0) +17>Emitted(81, 150) Source(115, 40) + SourceIndex(0) +18>Emitted(81, 152) Source(115, 42) + SourceIndex(0) +19>Emitted(81, 161) Source(115, 51) + SourceIndex(0) +20>Emitted(81, 163) Source(115, 53) + SourceIndex(0) +21>Emitted(81, 169) Source(115, 53) + SourceIndex(0) +22>Emitted(81, 171) Source(113, 9) + SourceIndex(0) +23>Emitted(81, 188) Source(113, 38) + SourceIndex(0) +24>Emitted(81, 190) Source(113, 18) + SourceIndex(0) +25>Emitted(81, 198) Source(113, 26) + SourceIndex(0) +26>Emitted(81, 218) Source(113, 29) + SourceIndex(0) +27>Emitted(81, 227) Source(113, 38) + SourceIndex(0) +28>Emitted(81, 233) Source(113, 38) + SourceIndex(0) +29>Emitted(81, 235) Source(114, 9) + SourceIndex(0) +30>Emitted(81, 254) Source(114, 44) + SourceIndex(0) +31>Emitted(81, 256) Source(114, 20) + SourceIndex(0) +32>Emitted(81, 266) Source(114, 30) + SourceIndex(0) +33>Emitted(81, 286) Source(114, 33) + SourceIndex(0) +34>Emitted(81, 297) Source(114, 44) + SourceIndex(0) +35>Emitted(81, 303) Source(114, 44) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -3166,14 +3167,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(81, 5) Source(117, 5) + SourceIndex(0) -2 >Emitted(81, 12) Source(117, 12) + SourceIndex(0) -3 >Emitted(81, 13) Source(117, 13) + SourceIndex(0) -4 >Emitted(81, 16) Source(117, 16) + SourceIndex(0) -5 >Emitted(81, 17) Source(117, 17) + SourceIndex(0) -6 >Emitted(81, 22) Source(117, 22) + SourceIndex(0) -7 >Emitted(81, 23) Source(117, 23) + SourceIndex(0) -8 >Emitted(81, 24) Source(117, 24) + SourceIndex(0) +1 >Emitted(82, 5) Source(117, 5) + SourceIndex(0) +2 >Emitted(82, 12) Source(117, 12) + SourceIndex(0) +3 >Emitted(82, 13) Source(117, 13) + SourceIndex(0) +4 >Emitted(82, 16) Source(117, 16) + SourceIndex(0) +5 >Emitted(82, 17) Source(117, 17) + SourceIndex(0) +6 >Emitted(82, 22) Source(117, 22) + SourceIndex(0) +7 >Emitted(82, 23) Source(117, 23) + SourceIndex(0) +8 >Emitted(82, 24) Source(117, 24) + SourceIndex(0) --- >>>} 1 > @@ -3182,8 +3183,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(82, 1) Source(118, 1) + SourceIndex(0) -2 >Emitted(82, 2) Source(118, 2) + SourceIndex(0) +1 >Emitted(83, 1) Source(118, 1) + SourceIndex(0) +2 >Emitted(83, 2) Source(118, 2) + SourceIndex(0) --- >>>for (var _87 = 0, _88 = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -3241,29 +3242,29 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 21> "none" 22> } 23> } -1->Emitted(83, 1) Source(119, 1) + SourceIndex(0) -2 >Emitted(83, 6) Source(125, 6) + SourceIndex(0) -3 >Emitted(83, 17) Source(126, 79) + SourceIndex(0) -4 >Emitted(83, 19) Source(125, 6) + SourceIndex(0) -5 >Emitted(83, 25) Source(125, 20) + SourceIndex(0) -6 >Emitted(83, 26) Source(125, 21) + SourceIndex(0) -7 >Emitted(83, 28) Source(125, 23) + SourceIndex(0) -8 >Emitted(83, 32) Source(125, 27) + SourceIndex(0) -9 >Emitted(83, 34) Source(125, 29) + SourceIndex(0) -10>Emitted(83, 41) Source(125, 36) + SourceIndex(0) -11>Emitted(83, 43) Source(125, 38) + SourceIndex(0) -12>Emitted(83, 49) Source(125, 44) + SourceIndex(0) -13>Emitted(83, 51) Source(125, 46) + SourceIndex(0) -14>Emitted(83, 53) Source(125, 48) + SourceIndex(0) -15>Emitted(83, 60) Source(125, 55) + SourceIndex(0) -16>Emitted(83, 62) Source(125, 57) + SourceIndex(0) -17>Emitted(83, 70) Source(125, 65) + SourceIndex(0) -18>Emitted(83, 72) Source(125, 67) + SourceIndex(0) -19>Emitted(83, 81) Source(125, 76) + SourceIndex(0) -20>Emitted(83, 83) Source(125, 78) + SourceIndex(0) -21>Emitted(83, 89) Source(125, 84) + SourceIndex(0) -22>Emitted(83, 91) Source(125, 86) + SourceIndex(0) -23>Emitted(83, 93) Source(125, 88) + SourceIndex(0) +1->Emitted(84, 1) Source(119, 1) + SourceIndex(0) +2 >Emitted(84, 6) Source(125, 6) + SourceIndex(0) +3 >Emitted(84, 17) Source(126, 79) + SourceIndex(0) +4 >Emitted(84, 19) Source(125, 6) + SourceIndex(0) +5 >Emitted(84, 25) Source(125, 20) + SourceIndex(0) +6 >Emitted(84, 26) Source(125, 21) + SourceIndex(0) +7 >Emitted(84, 28) Source(125, 23) + SourceIndex(0) +8 >Emitted(84, 32) Source(125, 27) + SourceIndex(0) +9 >Emitted(84, 34) Source(125, 29) + SourceIndex(0) +10>Emitted(84, 41) Source(125, 36) + SourceIndex(0) +11>Emitted(84, 43) Source(125, 38) + SourceIndex(0) +12>Emitted(84, 49) Source(125, 44) + SourceIndex(0) +13>Emitted(84, 51) Source(125, 46) + SourceIndex(0) +14>Emitted(84, 53) Source(125, 48) + SourceIndex(0) +15>Emitted(84, 60) Source(125, 55) + SourceIndex(0) +16>Emitted(84, 62) Source(125, 57) + SourceIndex(0) +17>Emitted(84, 70) Source(125, 65) + SourceIndex(0) +18>Emitted(84, 72) Source(125, 67) + SourceIndex(0) +19>Emitted(84, 81) Source(125, 76) + SourceIndex(0) +20>Emitted(84, 83) Source(125, 78) + SourceIndex(0) +21>Emitted(84, 89) Source(125, 84) + SourceIndex(0) +22>Emitted(84, 91) Source(125, 86) + SourceIndex(0) +23>Emitted(84, 93) Source(125, 88) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _87 < _88.length; _87++) { 1->^^^^ @@ -3320,31 +3321,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(84, 5) Source(126, 5) + SourceIndex(0) -2 >Emitted(84, 7) Source(126, 7) + SourceIndex(0) -3 >Emitted(84, 11) Source(126, 11) + SourceIndex(0) -4 >Emitted(84, 13) Source(126, 13) + SourceIndex(0) -5 >Emitted(84, 22) Source(126, 22) + SourceIndex(0) -6 >Emitted(84, 24) Source(126, 24) + SourceIndex(0) -7 >Emitted(84, 30) Source(126, 30) + SourceIndex(0) -8 >Emitted(84, 32) Source(126, 32) + SourceIndex(0) -9 >Emitted(84, 34) Source(126, 34) + SourceIndex(0) -10>Emitted(84, 41) Source(126, 41) + SourceIndex(0) -11>Emitted(84, 43) Source(126, 43) + SourceIndex(0) -12>Emitted(84, 53) Source(126, 53) + SourceIndex(0) -13>Emitted(84, 55) Source(126, 55) + SourceIndex(0) -14>Emitted(84, 64) Source(126, 64) + SourceIndex(0) -15>Emitted(84, 66) Source(126, 66) + SourceIndex(0) -16>Emitted(84, 74) Source(126, 74) + SourceIndex(0) -17>Emitted(84, 76) Source(126, 76) + SourceIndex(0) -18>Emitted(84, 78) Source(126, 78) + SourceIndex(0) -19>Emitted(84, 79) Source(126, 79) + SourceIndex(0) -20>Emitted(84, 81) Source(125, 6) + SourceIndex(0) -21>Emitted(84, 97) Source(126, 79) + SourceIndex(0) -22>Emitted(84, 99) Source(125, 6) + SourceIndex(0) -23>Emitted(84, 104) Source(126, 79) + SourceIndex(0) -24>Emitted(84, 106) Source(126, 81) + SourceIndex(0) -25>Emitted(84, 107) Source(126, 82) + SourceIndex(0) +1->Emitted(85, 5) Source(126, 5) + SourceIndex(0) +2 >Emitted(85, 7) Source(126, 7) + SourceIndex(0) +3 >Emitted(85, 11) Source(126, 11) + SourceIndex(0) +4 >Emitted(85, 13) Source(126, 13) + SourceIndex(0) +5 >Emitted(85, 22) Source(126, 22) + SourceIndex(0) +6 >Emitted(85, 24) Source(126, 24) + SourceIndex(0) +7 >Emitted(85, 30) Source(126, 30) + SourceIndex(0) +8 >Emitted(85, 32) Source(126, 32) + SourceIndex(0) +9 >Emitted(85, 34) Source(126, 34) + SourceIndex(0) +10>Emitted(85, 41) Source(126, 41) + SourceIndex(0) +11>Emitted(85, 43) Source(126, 43) + SourceIndex(0) +12>Emitted(85, 53) Source(126, 53) + SourceIndex(0) +13>Emitted(85, 55) Source(126, 55) + SourceIndex(0) +14>Emitted(85, 64) Source(126, 64) + SourceIndex(0) +15>Emitted(85, 66) Source(126, 66) + SourceIndex(0) +16>Emitted(85, 74) Source(126, 74) + SourceIndex(0) +17>Emitted(85, 76) Source(126, 76) + SourceIndex(0) +18>Emitted(85, 78) Source(126, 78) + SourceIndex(0) +19>Emitted(85, 79) Source(126, 79) + SourceIndex(0) +20>Emitted(85, 81) Source(125, 6) + SourceIndex(0) +21>Emitted(85, 97) Source(126, 79) + SourceIndex(0) +22>Emitted(85, 99) Source(125, 6) + SourceIndex(0) +23>Emitted(85, 104) Source(126, 79) + SourceIndex(0) +24>Emitted(85, 106) Source(126, 81) + SourceIndex(0) +25>Emitted(85, 107) Source(126, 82) + SourceIndex(0) --- >>> _27 = _88[_87], _28 = _27.name, nameA = _28 === void 0 ? "noName" : _28, _29 = _27.skills, _30 = _29 === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _29, _31 = _30.primary, primaryA = _31 === void 0 ? "primary" : _31, _32 = _30.secondary, secondaryA = _32 === void 0 ? "secondary" : _32; 1->^^^^^^^^^^^^^^^^^^^^ @@ -3425,41 +3426,41 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 33> = 34> "secondary" 35> -1->Emitted(85, 21) Source(120, 5) + SourceIndex(0) -2 >Emitted(85, 35) Source(120, 27) + SourceIndex(0) -3 >Emitted(85, 37) Source(120, 11) + SourceIndex(0) -4 >Emitted(85, 42) Source(120, 16) + SourceIndex(0) -5 >Emitted(85, 62) Source(120, 19) + SourceIndex(0) -6 >Emitted(85, 70) Source(120, 27) + SourceIndex(0) -7 >Emitted(85, 76) Source(120, 27) + SourceIndex(0) -8 >Emitted(85, 78) Source(121, 5) + SourceIndex(0) -9 >Emitted(85, 94) Source(124, 53) + SourceIndex(0) -10>Emitted(85, 96) Source(121, 5) + SourceIndex(0) -11>Emitted(85, 119) Source(124, 9) + SourceIndex(0) -12>Emitted(85, 121) Source(124, 11) + SourceIndex(0) -13>Emitted(85, 128) Source(124, 18) + SourceIndex(0) -14>Emitted(85, 130) Source(124, 20) + SourceIndex(0) -15>Emitted(85, 139) Source(124, 29) + SourceIndex(0) -16>Emitted(85, 141) Source(124, 31) + SourceIndex(0) -17>Emitted(85, 150) Source(124, 40) + SourceIndex(0) -18>Emitted(85, 152) Source(124, 42) + SourceIndex(0) -19>Emitted(85, 161) Source(124, 51) + SourceIndex(0) -20>Emitted(85, 163) Source(124, 53) + SourceIndex(0) -21>Emitted(85, 169) Source(124, 53) + SourceIndex(0) -22>Emitted(85, 171) Source(122, 9) + SourceIndex(0) -23>Emitted(85, 188) Source(122, 38) + SourceIndex(0) -24>Emitted(85, 190) Source(122, 18) + SourceIndex(0) -25>Emitted(85, 198) Source(122, 26) + SourceIndex(0) -26>Emitted(85, 218) Source(122, 29) + SourceIndex(0) -27>Emitted(85, 227) Source(122, 38) + SourceIndex(0) -28>Emitted(85, 233) Source(122, 38) + SourceIndex(0) -29>Emitted(85, 235) Source(123, 9) + SourceIndex(0) -30>Emitted(85, 254) Source(123, 44) + SourceIndex(0) -31>Emitted(85, 256) Source(123, 20) + SourceIndex(0) -32>Emitted(85, 266) Source(123, 30) + SourceIndex(0) -33>Emitted(85, 286) Source(123, 33) + SourceIndex(0) -34>Emitted(85, 297) Source(123, 44) + SourceIndex(0) -35>Emitted(85, 303) Source(123, 44) + SourceIndex(0) +1->Emitted(86, 21) Source(120, 5) + SourceIndex(0) +2 >Emitted(86, 35) Source(120, 27) + SourceIndex(0) +3 >Emitted(86, 37) Source(120, 11) + SourceIndex(0) +4 >Emitted(86, 42) Source(120, 16) + SourceIndex(0) +5 >Emitted(86, 62) Source(120, 19) + SourceIndex(0) +6 >Emitted(86, 70) Source(120, 27) + SourceIndex(0) +7 >Emitted(86, 76) Source(120, 27) + SourceIndex(0) +8 >Emitted(86, 78) Source(121, 5) + SourceIndex(0) +9 >Emitted(86, 94) Source(124, 53) + SourceIndex(0) +10>Emitted(86, 96) Source(121, 5) + SourceIndex(0) +11>Emitted(86, 119) Source(124, 9) + SourceIndex(0) +12>Emitted(86, 121) Source(124, 11) + SourceIndex(0) +13>Emitted(86, 128) Source(124, 18) + SourceIndex(0) +14>Emitted(86, 130) Source(124, 20) + SourceIndex(0) +15>Emitted(86, 139) Source(124, 29) + SourceIndex(0) +16>Emitted(86, 141) Source(124, 31) + SourceIndex(0) +17>Emitted(86, 150) Source(124, 40) + SourceIndex(0) +18>Emitted(86, 152) Source(124, 42) + SourceIndex(0) +19>Emitted(86, 161) Source(124, 51) + SourceIndex(0) +20>Emitted(86, 163) Source(124, 53) + SourceIndex(0) +21>Emitted(86, 169) Source(124, 53) + SourceIndex(0) +22>Emitted(86, 171) Source(122, 9) + SourceIndex(0) +23>Emitted(86, 188) Source(122, 38) + SourceIndex(0) +24>Emitted(86, 190) Source(122, 18) + SourceIndex(0) +25>Emitted(86, 198) Source(122, 26) + SourceIndex(0) +26>Emitted(86, 218) Source(122, 29) + SourceIndex(0) +27>Emitted(86, 227) Source(122, 38) + SourceIndex(0) +28>Emitted(86, 233) Source(122, 38) + SourceIndex(0) +29>Emitted(86, 235) Source(123, 9) + SourceIndex(0) +30>Emitted(86, 254) Source(123, 44) + SourceIndex(0) +31>Emitted(86, 256) Source(123, 20) + SourceIndex(0) +32>Emitted(86, 266) Source(123, 30) + SourceIndex(0) +33>Emitted(86, 286) Source(123, 33) + SourceIndex(0) +34>Emitted(86, 297) Source(123, 44) + SourceIndex(0) +35>Emitted(86, 303) Source(123, 44) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -3482,14 +3483,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(86, 5) Source(127, 5) + SourceIndex(0) -2 >Emitted(86, 12) Source(127, 12) + SourceIndex(0) -3 >Emitted(86, 13) Source(127, 13) + SourceIndex(0) -4 >Emitted(86, 16) Source(127, 16) + SourceIndex(0) -5 >Emitted(86, 17) Source(127, 17) + SourceIndex(0) -6 >Emitted(86, 22) Source(127, 22) + SourceIndex(0) -7 >Emitted(86, 23) Source(127, 23) + SourceIndex(0) -8 >Emitted(86, 24) Source(127, 24) + SourceIndex(0) +1 >Emitted(87, 5) Source(127, 5) + SourceIndex(0) +2 >Emitted(87, 12) Source(127, 12) + SourceIndex(0) +3 >Emitted(87, 13) Source(127, 13) + SourceIndex(0) +4 >Emitted(87, 16) Source(127, 16) + SourceIndex(0) +5 >Emitted(87, 17) Source(127, 17) + SourceIndex(0) +6 >Emitted(87, 22) Source(127, 22) + SourceIndex(0) +7 >Emitted(87, 23) Source(127, 23) + SourceIndex(0) +8 >Emitted(87, 24) Source(127, 24) + SourceIndex(0) --- >>>} 1 > @@ -3498,8 +3499,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(87, 1) Source(128, 1) + SourceIndex(0) -2 >Emitted(87, 2) Source(128, 2) + SourceIndex(0) +1 >Emitted(88, 1) Source(128, 1) + SourceIndex(0) +2 >Emitted(88, 2) Source(128, 2) + SourceIndex(0) --- >>>for (var _89 = 0, robots_4 = robots; _89 < robots_4.length; _89++) { 1-> @@ -3527,17 +3528,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > robots 10> ) 11> { -1->Emitted(88, 1) Source(130, 1) + SourceIndex(0) -2 >Emitted(88, 6) Source(130, 49) + SourceIndex(0) -3 >Emitted(88, 17) Source(130, 55) + SourceIndex(0) -4 >Emitted(88, 19) Source(130, 49) + SourceIndex(0) -5 >Emitted(88, 36) Source(130, 55) + SourceIndex(0) -6 >Emitted(88, 38) Source(130, 49) + SourceIndex(0) -7 >Emitted(88, 59) Source(130, 55) + SourceIndex(0) -8 >Emitted(88, 61) Source(130, 49) + SourceIndex(0) -9 >Emitted(88, 66) Source(130, 55) + SourceIndex(0) -10>Emitted(88, 68) Source(130, 57) + SourceIndex(0) -11>Emitted(88, 69) Source(130, 58) + SourceIndex(0) +1->Emitted(89, 1) Source(130, 1) + SourceIndex(0) +2 >Emitted(89, 6) Source(130, 49) + SourceIndex(0) +3 >Emitted(89, 17) Source(130, 55) + SourceIndex(0) +4 >Emitted(89, 19) Source(130, 49) + SourceIndex(0) +5 >Emitted(89, 36) Source(130, 55) + SourceIndex(0) +6 >Emitted(89, 38) Source(130, 49) + SourceIndex(0) +7 >Emitted(89, 59) Source(130, 55) + SourceIndex(0) +8 >Emitted(89, 61) Source(130, 49) + SourceIndex(0) +9 >Emitted(89, 66) Source(130, 55) + SourceIndex(0) +10>Emitted(89, 68) Source(130, 57) + SourceIndex(0) +11>Emitted(89, 69) Source(130, 58) + SourceIndex(0) --- >>> _33 = robots_4[_89], _34 = _33.name, name = _34 === void 0 ? "noName" : _34, _35 = _33.skill, skill = _35 === void 0 ? "noSkill" : _35; 1->^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -3568,20 +3569,20 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 12> = 13> "noSkill" 14> -1->Emitted(89, 26) Source(130, 8) + SourceIndex(0) -2 >Emitted(89, 40) Source(130, 23) + SourceIndex(0) -3 >Emitted(89, 42) Source(130, 8) + SourceIndex(0) -4 >Emitted(89, 46) Source(130, 12) + SourceIndex(0) -5 >Emitted(89, 66) Source(130, 15) + SourceIndex(0) -6 >Emitted(89, 74) Source(130, 23) + SourceIndex(0) -7 >Emitted(89, 80) Source(130, 23) + SourceIndex(0) -8 >Emitted(89, 82) Source(130, 25) + SourceIndex(0) -9 >Emitted(89, 97) Source(130, 43) + SourceIndex(0) -10>Emitted(89, 99) Source(130, 25) + SourceIndex(0) -11>Emitted(89, 104) Source(130, 30) + SourceIndex(0) -12>Emitted(89, 124) Source(130, 34) + SourceIndex(0) -13>Emitted(89, 133) Source(130, 43) + SourceIndex(0) -14>Emitted(89, 139) Source(130, 43) + SourceIndex(0) +1->Emitted(90, 26) Source(130, 8) + SourceIndex(0) +2 >Emitted(90, 40) Source(130, 23) + SourceIndex(0) +3 >Emitted(90, 42) Source(130, 8) + SourceIndex(0) +4 >Emitted(90, 46) Source(130, 12) + SourceIndex(0) +5 >Emitted(90, 66) Source(130, 15) + SourceIndex(0) +6 >Emitted(90, 74) Source(130, 23) + SourceIndex(0) +7 >Emitted(90, 80) Source(130, 23) + SourceIndex(0) +8 >Emitted(90, 82) Source(130, 25) + SourceIndex(0) +9 >Emitted(90, 97) Source(130, 43) + SourceIndex(0) +10>Emitted(90, 99) Source(130, 25) + SourceIndex(0) +11>Emitted(90, 104) Source(130, 30) + SourceIndex(0) +12>Emitted(90, 124) Source(130, 34) + SourceIndex(0) +13>Emitted(90, 133) Source(130, 43) + SourceIndex(0) +14>Emitted(90, 139) Source(130, 43) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -3601,14 +3602,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(90, 5) Source(131, 5) + SourceIndex(0) -2 >Emitted(90, 12) Source(131, 12) + SourceIndex(0) -3 >Emitted(90, 13) Source(131, 13) + SourceIndex(0) -4 >Emitted(90, 16) Source(131, 16) + SourceIndex(0) -5 >Emitted(90, 17) Source(131, 17) + SourceIndex(0) -6 >Emitted(90, 22) Source(131, 22) + SourceIndex(0) -7 >Emitted(90, 23) Source(131, 23) + SourceIndex(0) -8 >Emitted(90, 24) Source(131, 24) + SourceIndex(0) +1 >Emitted(91, 5) Source(131, 5) + SourceIndex(0) +2 >Emitted(91, 12) Source(131, 12) + SourceIndex(0) +3 >Emitted(91, 13) Source(131, 13) + SourceIndex(0) +4 >Emitted(91, 16) Source(131, 16) + SourceIndex(0) +5 >Emitted(91, 17) Source(131, 17) + SourceIndex(0) +6 >Emitted(91, 22) Source(131, 22) + SourceIndex(0) +7 >Emitted(91, 23) Source(131, 23) + SourceIndex(0) +8 >Emitted(91, 24) Source(131, 24) + SourceIndex(0) --- >>>} 1 > @@ -3617,8 +3618,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(91, 1) Source(132, 1) + SourceIndex(0) -2 >Emitted(91, 2) Source(132, 2) + SourceIndex(0) +1 >Emitted(92, 1) Source(132, 1) + SourceIndex(0) +2 >Emitted(92, 2) Source(132, 2) + SourceIndex(0) --- >>>for (var _90 = 0, _91 = getRobots(); _90 < _91.length; _90++) { 1-> @@ -3649,19 +3650,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getRobots() 12> ) 13> { -1->Emitted(92, 1) Source(133, 1) + SourceIndex(0) -2 >Emitted(92, 6) Source(133, 49) + SourceIndex(0) -3 >Emitted(92, 17) Source(133, 60) + SourceIndex(0) -4 >Emitted(92, 19) Source(133, 49) + SourceIndex(0) -5 >Emitted(92, 25) Source(133, 49) + SourceIndex(0) -6 >Emitted(92, 34) Source(133, 58) + SourceIndex(0) -7 >Emitted(92, 36) Source(133, 60) + SourceIndex(0) -8 >Emitted(92, 38) Source(133, 49) + SourceIndex(0) -9 >Emitted(92, 54) Source(133, 60) + SourceIndex(0) -10>Emitted(92, 56) Source(133, 49) + SourceIndex(0) -11>Emitted(92, 61) Source(133, 60) + SourceIndex(0) -12>Emitted(92, 63) Source(133, 62) + SourceIndex(0) -13>Emitted(92, 64) Source(133, 63) + SourceIndex(0) +1->Emitted(93, 1) Source(133, 1) + SourceIndex(0) +2 >Emitted(93, 6) Source(133, 49) + SourceIndex(0) +3 >Emitted(93, 17) Source(133, 60) + SourceIndex(0) +4 >Emitted(93, 19) Source(133, 49) + SourceIndex(0) +5 >Emitted(93, 25) Source(133, 49) + SourceIndex(0) +6 >Emitted(93, 34) Source(133, 58) + SourceIndex(0) +7 >Emitted(93, 36) Source(133, 60) + SourceIndex(0) +8 >Emitted(93, 38) Source(133, 49) + SourceIndex(0) +9 >Emitted(93, 54) Source(133, 60) + SourceIndex(0) +10>Emitted(93, 56) Source(133, 49) + SourceIndex(0) +11>Emitted(93, 61) Source(133, 60) + SourceIndex(0) +12>Emitted(93, 63) Source(133, 62) + SourceIndex(0) +13>Emitted(93, 64) Source(133, 63) + SourceIndex(0) --- >>> _36 = _91[_90], _37 = _36.name, name = _37 === void 0 ? "noName" : _37, _38 = _36.skill, skill = _38 === void 0 ? "noSkill" : _38; 1->^^^^^^^^^^^^^^^^^^^^ @@ -3692,20 +3693,20 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 12> = 13> "noSkill" 14> -1->Emitted(93, 21) Source(133, 8) + SourceIndex(0) -2 >Emitted(93, 35) Source(133, 23) + SourceIndex(0) -3 >Emitted(93, 37) Source(133, 8) + SourceIndex(0) -4 >Emitted(93, 41) Source(133, 12) + SourceIndex(0) -5 >Emitted(93, 61) Source(133, 15) + SourceIndex(0) -6 >Emitted(93, 69) Source(133, 23) + SourceIndex(0) -7 >Emitted(93, 75) Source(133, 23) + SourceIndex(0) -8 >Emitted(93, 77) Source(133, 25) + SourceIndex(0) -9 >Emitted(93, 92) Source(133, 42) + SourceIndex(0) -10>Emitted(93, 94) Source(133, 25) + SourceIndex(0) -11>Emitted(93, 99) Source(133, 30) + SourceIndex(0) -12>Emitted(93, 119) Source(133, 33) + SourceIndex(0) -13>Emitted(93, 128) Source(133, 42) + SourceIndex(0) -14>Emitted(93, 134) Source(133, 42) + SourceIndex(0) +1->Emitted(94, 21) Source(133, 8) + SourceIndex(0) +2 >Emitted(94, 35) Source(133, 23) + SourceIndex(0) +3 >Emitted(94, 37) Source(133, 8) + SourceIndex(0) +4 >Emitted(94, 41) Source(133, 12) + SourceIndex(0) +5 >Emitted(94, 61) Source(133, 15) + SourceIndex(0) +6 >Emitted(94, 69) Source(133, 23) + SourceIndex(0) +7 >Emitted(94, 75) Source(133, 23) + SourceIndex(0) +8 >Emitted(94, 77) Source(133, 25) + SourceIndex(0) +9 >Emitted(94, 92) Source(133, 42) + SourceIndex(0) +10>Emitted(94, 94) Source(133, 25) + SourceIndex(0) +11>Emitted(94, 99) Source(133, 30) + SourceIndex(0) +12>Emitted(94, 119) Source(133, 33) + SourceIndex(0) +13>Emitted(94, 128) Source(133, 42) + SourceIndex(0) +14>Emitted(94, 134) Source(133, 42) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -3725,14 +3726,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(94, 5) Source(134, 5) + SourceIndex(0) -2 >Emitted(94, 12) Source(134, 12) + SourceIndex(0) -3 >Emitted(94, 13) Source(134, 13) + SourceIndex(0) -4 >Emitted(94, 16) Source(134, 16) + SourceIndex(0) -5 >Emitted(94, 17) Source(134, 17) + SourceIndex(0) -6 >Emitted(94, 22) Source(134, 22) + SourceIndex(0) -7 >Emitted(94, 23) Source(134, 23) + SourceIndex(0) -8 >Emitted(94, 24) Source(134, 24) + SourceIndex(0) +1 >Emitted(95, 5) Source(134, 5) + SourceIndex(0) +2 >Emitted(95, 12) Source(134, 12) + SourceIndex(0) +3 >Emitted(95, 13) Source(134, 13) + SourceIndex(0) +4 >Emitted(95, 16) Source(134, 16) + SourceIndex(0) +5 >Emitted(95, 17) Source(134, 17) + SourceIndex(0) +6 >Emitted(95, 22) Source(134, 22) + SourceIndex(0) +7 >Emitted(95, 23) Source(134, 23) + SourceIndex(0) +8 >Emitted(95, 24) Source(134, 24) + SourceIndex(0) --- >>>} 1 > @@ -3741,8 +3742,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(95, 1) Source(135, 1) + SourceIndex(0) -2 >Emitted(95, 2) Source(135, 2) + SourceIndex(0) +1 >Emitted(96, 1) Source(135, 1) + SourceIndex(0) +2 >Emitted(96, 2) Source(135, 2) + SourceIndex(0) --- >>>for (var _92 = 0, _93 = [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }]; _92 < _93.length; _92++) { 1-> @@ -3809,37 +3810,37 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 29> [{ name: "mower", skill: "mowing" }, { name: "trimmer", skill: "trimming" }] 30> ) 31> { -1->Emitted(96, 1) Source(136, 1) + SourceIndex(0) -2 >Emitted(96, 6) Source(136, 49) + SourceIndex(0) -3 >Emitted(96, 17) Source(136, 125) + SourceIndex(0) -4 >Emitted(96, 19) Source(136, 49) + SourceIndex(0) -5 >Emitted(96, 26) Source(136, 50) + SourceIndex(0) -6 >Emitted(96, 28) Source(136, 52) + SourceIndex(0) -7 >Emitted(96, 32) Source(136, 56) + SourceIndex(0) -8 >Emitted(96, 34) Source(136, 58) + SourceIndex(0) -9 >Emitted(96, 41) Source(136, 65) + SourceIndex(0) -10>Emitted(96, 43) Source(136, 67) + SourceIndex(0) -11>Emitted(96, 48) Source(136, 72) + SourceIndex(0) -12>Emitted(96, 50) Source(136, 74) + SourceIndex(0) -13>Emitted(96, 58) Source(136, 82) + SourceIndex(0) -14>Emitted(96, 60) Source(136, 84) + SourceIndex(0) -15>Emitted(96, 62) Source(136, 86) + SourceIndex(0) -16>Emitted(96, 64) Source(136, 88) + SourceIndex(0) -17>Emitted(96, 68) Source(136, 92) + SourceIndex(0) -18>Emitted(96, 70) Source(136, 94) + SourceIndex(0) -19>Emitted(96, 79) Source(136, 103) + SourceIndex(0) -20>Emitted(96, 81) Source(136, 105) + SourceIndex(0) -21>Emitted(96, 86) Source(136, 110) + SourceIndex(0) -22>Emitted(96, 88) Source(136, 112) + SourceIndex(0) -23>Emitted(96, 98) Source(136, 122) + SourceIndex(0) -24>Emitted(96, 100) Source(136, 124) + SourceIndex(0) -25>Emitted(96, 101) Source(136, 125) + SourceIndex(0) -26>Emitted(96, 103) Source(136, 49) + SourceIndex(0) -27>Emitted(96, 119) Source(136, 125) + SourceIndex(0) -28>Emitted(96, 121) Source(136, 49) + SourceIndex(0) -29>Emitted(96, 126) Source(136, 125) + SourceIndex(0) -30>Emitted(96, 128) Source(136, 127) + SourceIndex(0) -31>Emitted(96, 129) Source(136, 128) + SourceIndex(0) +1->Emitted(97, 1) Source(136, 1) + SourceIndex(0) +2 >Emitted(97, 6) Source(136, 49) + SourceIndex(0) +3 >Emitted(97, 17) Source(136, 125) + SourceIndex(0) +4 >Emitted(97, 19) Source(136, 49) + SourceIndex(0) +5 >Emitted(97, 26) Source(136, 50) + SourceIndex(0) +6 >Emitted(97, 28) Source(136, 52) + SourceIndex(0) +7 >Emitted(97, 32) Source(136, 56) + SourceIndex(0) +8 >Emitted(97, 34) Source(136, 58) + SourceIndex(0) +9 >Emitted(97, 41) Source(136, 65) + SourceIndex(0) +10>Emitted(97, 43) Source(136, 67) + SourceIndex(0) +11>Emitted(97, 48) Source(136, 72) + SourceIndex(0) +12>Emitted(97, 50) Source(136, 74) + SourceIndex(0) +13>Emitted(97, 58) Source(136, 82) + SourceIndex(0) +14>Emitted(97, 60) Source(136, 84) + SourceIndex(0) +15>Emitted(97, 62) Source(136, 86) + SourceIndex(0) +16>Emitted(97, 64) Source(136, 88) + SourceIndex(0) +17>Emitted(97, 68) Source(136, 92) + SourceIndex(0) +18>Emitted(97, 70) Source(136, 94) + SourceIndex(0) +19>Emitted(97, 79) Source(136, 103) + SourceIndex(0) +20>Emitted(97, 81) Source(136, 105) + SourceIndex(0) +21>Emitted(97, 86) Source(136, 110) + SourceIndex(0) +22>Emitted(97, 88) Source(136, 112) + SourceIndex(0) +23>Emitted(97, 98) Source(136, 122) + SourceIndex(0) +24>Emitted(97, 100) Source(136, 124) + SourceIndex(0) +25>Emitted(97, 101) Source(136, 125) + SourceIndex(0) +26>Emitted(97, 103) Source(136, 49) + SourceIndex(0) +27>Emitted(97, 119) Source(136, 125) + SourceIndex(0) +28>Emitted(97, 121) Source(136, 49) + SourceIndex(0) +29>Emitted(97, 126) Source(136, 125) + SourceIndex(0) +30>Emitted(97, 128) Source(136, 127) + SourceIndex(0) +31>Emitted(97, 129) Source(136, 128) + SourceIndex(0) --- >>> _39 = _93[_92], _40 = _39.name, name = _40 === void 0 ? "noName" : _40, _41 = _39.skill, skill = _41 === void 0 ? "noSkill" : _41; 1->^^^^^^^^^^^^^^^^^^^^ @@ -3870,20 +3871,20 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 12> = 13> "noSkill" 14> -1->Emitted(97, 21) Source(136, 8) + SourceIndex(0) -2 >Emitted(97, 35) Source(136, 23) + SourceIndex(0) -3 >Emitted(97, 37) Source(136, 8) + SourceIndex(0) -4 >Emitted(97, 41) Source(136, 12) + SourceIndex(0) -5 >Emitted(97, 61) Source(136, 15) + SourceIndex(0) -6 >Emitted(97, 69) Source(136, 23) + SourceIndex(0) -7 >Emitted(97, 75) Source(136, 23) + SourceIndex(0) -8 >Emitted(97, 77) Source(136, 25) + SourceIndex(0) -9 >Emitted(97, 92) Source(136, 43) + SourceIndex(0) -10>Emitted(97, 94) Source(136, 25) + SourceIndex(0) -11>Emitted(97, 99) Source(136, 30) + SourceIndex(0) -12>Emitted(97, 119) Source(136, 34) + SourceIndex(0) -13>Emitted(97, 128) Source(136, 43) + SourceIndex(0) -14>Emitted(97, 134) Source(136, 43) + SourceIndex(0) +1->Emitted(98, 21) Source(136, 8) + SourceIndex(0) +2 >Emitted(98, 35) Source(136, 23) + SourceIndex(0) +3 >Emitted(98, 37) Source(136, 8) + SourceIndex(0) +4 >Emitted(98, 41) Source(136, 12) + SourceIndex(0) +5 >Emitted(98, 61) Source(136, 15) + SourceIndex(0) +6 >Emitted(98, 69) Source(136, 23) + SourceIndex(0) +7 >Emitted(98, 75) Source(136, 23) + SourceIndex(0) +8 >Emitted(98, 77) Source(136, 25) + SourceIndex(0) +9 >Emitted(98, 92) Source(136, 43) + SourceIndex(0) +10>Emitted(98, 94) Source(136, 25) + SourceIndex(0) +11>Emitted(98, 99) Source(136, 30) + SourceIndex(0) +12>Emitted(98, 119) Source(136, 34) + SourceIndex(0) +13>Emitted(98, 128) Source(136, 43) + SourceIndex(0) +14>Emitted(98, 134) Source(136, 43) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -3903,14 +3904,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(98, 5) Source(137, 5) + SourceIndex(0) -2 >Emitted(98, 12) Source(137, 12) + SourceIndex(0) -3 >Emitted(98, 13) Source(137, 13) + SourceIndex(0) -4 >Emitted(98, 16) Source(137, 16) + SourceIndex(0) -5 >Emitted(98, 17) Source(137, 17) + SourceIndex(0) -6 >Emitted(98, 22) Source(137, 22) + SourceIndex(0) -7 >Emitted(98, 23) Source(137, 23) + SourceIndex(0) -8 >Emitted(98, 24) Source(137, 24) + SourceIndex(0) +1 >Emitted(99, 5) Source(137, 5) + SourceIndex(0) +2 >Emitted(99, 12) Source(137, 12) + SourceIndex(0) +3 >Emitted(99, 13) Source(137, 13) + SourceIndex(0) +4 >Emitted(99, 16) Source(137, 16) + SourceIndex(0) +5 >Emitted(99, 17) Source(137, 17) + SourceIndex(0) +6 >Emitted(99, 22) Source(137, 22) + SourceIndex(0) +7 >Emitted(99, 23) Source(137, 23) + SourceIndex(0) +8 >Emitted(99, 24) Source(137, 24) + SourceIndex(0) --- >>>} 1 > @@ -3919,8 +3920,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(99, 1) Source(138, 1) + SourceIndex(0) -2 >Emitted(99, 2) Source(138, 2) + SourceIndex(0) +1 >Emitted(100, 1) Source(138, 1) + SourceIndex(0) +2 >Emitted(100, 2) Source(138, 2) + SourceIndex(0) --- >>>for (var _94 = 0, multiRobots_4 = multiRobots; _94 < multiRobots_4.length; _94++) { 1-> @@ -3953,17 +3954,17 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 9 > multiRobots 10> ) 11> { -1->Emitted(100, 1) Source(139, 1) + SourceIndex(0) -2 >Emitted(100, 6) Source(145, 6) + SourceIndex(0) -3 >Emitted(100, 17) Source(145, 17) + SourceIndex(0) -4 >Emitted(100, 19) Source(145, 6) + SourceIndex(0) -5 >Emitted(100, 46) Source(145, 17) + SourceIndex(0) -6 >Emitted(100, 48) Source(145, 6) + SourceIndex(0) -7 >Emitted(100, 74) Source(145, 17) + SourceIndex(0) -8 >Emitted(100, 76) Source(145, 6) + SourceIndex(0) -9 >Emitted(100, 81) Source(145, 17) + SourceIndex(0) -10>Emitted(100, 83) Source(145, 19) + SourceIndex(0) -11>Emitted(100, 84) Source(145, 20) + SourceIndex(0) +1->Emitted(101, 1) Source(139, 1) + SourceIndex(0) +2 >Emitted(101, 6) Source(145, 6) + SourceIndex(0) +3 >Emitted(101, 17) Source(145, 17) + SourceIndex(0) +4 >Emitted(101, 19) Source(145, 6) + SourceIndex(0) +5 >Emitted(101, 46) Source(145, 17) + SourceIndex(0) +6 >Emitted(101, 48) Source(145, 6) + SourceIndex(0) +7 >Emitted(101, 74) Source(145, 17) + SourceIndex(0) +8 >Emitted(101, 76) Source(145, 6) + SourceIndex(0) +9 >Emitted(101, 81) Source(145, 17) + SourceIndex(0) +10>Emitted(101, 83) Source(145, 19) + SourceIndex(0) +11>Emitted(101, 84) Source(145, 20) + SourceIndex(0) --- >>> _42 = multiRobots_4[_94], _43 = _42.name, name = _43 === void 0 ? "noName" : _43, _44 = _42.skills, _45 = _44 === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _44, _46 = _45.primary, primary = _46 === void 0 ? "primary" : _46, _47 = _45.secondary, secondary = _47 === void 0 ? "secondary" : _47; 1->^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ @@ -4044,41 +4045,41 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 33> = 34> "secondary" 35> -1->Emitted(101, 31) Source(140, 5) + SourceIndex(0) -2 >Emitted(101, 45) Source(140, 20) + SourceIndex(0) -3 >Emitted(101, 47) Source(140, 5) + SourceIndex(0) -4 >Emitted(101, 51) Source(140, 9) + SourceIndex(0) -5 >Emitted(101, 71) Source(140, 12) + SourceIndex(0) -6 >Emitted(101, 79) Source(140, 20) + SourceIndex(0) -7 >Emitted(101, 85) Source(140, 20) + SourceIndex(0) -8 >Emitted(101, 87) Source(141, 5) + SourceIndex(0) -9 >Emitted(101, 103) Source(144, 53) + SourceIndex(0) -10>Emitted(101, 105) Source(141, 5) + SourceIndex(0) -11>Emitted(101, 128) Source(144, 9) + SourceIndex(0) -12>Emitted(101, 130) Source(144, 11) + SourceIndex(0) -13>Emitted(101, 137) Source(144, 18) + SourceIndex(0) -14>Emitted(101, 139) Source(144, 20) + SourceIndex(0) -15>Emitted(101, 148) Source(144, 29) + SourceIndex(0) -16>Emitted(101, 150) Source(144, 31) + SourceIndex(0) -17>Emitted(101, 159) Source(144, 40) + SourceIndex(0) -18>Emitted(101, 161) Source(144, 42) + SourceIndex(0) -19>Emitted(101, 170) Source(144, 51) + SourceIndex(0) -20>Emitted(101, 172) Source(144, 53) + SourceIndex(0) -21>Emitted(101, 178) Source(144, 53) + SourceIndex(0) -22>Emitted(101, 180) Source(142, 9) + SourceIndex(0) -23>Emitted(101, 197) Source(142, 28) + SourceIndex(0) -24>Emitted(101, 199) Source(142, 9) + SourceIndex(0) -25>Emitted(101, 206) Source(142, 16) + SourceIndex(0) -26>Emitted(101, 226) Source(142, 19) + SourceIndex(0) -27>Emitted(101, 235) Source(142, 28) + SourceIndex(0) -28>Emitted(101, 241) Source(142, 28) + SourceIndex(0) -29>Emitted(101, 243) Source(143, 9) + SourceIndex(0) -30>Emitted(101, 262) Source(143, 32) + SourceIndex(0) -31>Emitted(101, 264) Source(143, 9) + SourceIndex(0) -32>Emitted(101, 273) Source(143, 18) + SourceIndex(0) -33>Emitted(101, 293) Source(143, 21) + SourceIndex(0) -34>Emitted(101, 304) Source(143, 32) + SourceIndex(0) -35>Emitted(101, 310) Source(143, 32) + SourceIndex(0) +1->Emitted(102, 31) Source(140, 5) + SourceIndex(0) +2 >Emitted(102, 45) Source(140, 20) + SourceIndex(0) +3 >Emitted(102, 47) Source(140, 5) + SourceIndex(0) +4 >Emitted(102, 51) Source(140, 9) + SourceIndex(0) +5 >Emitted(102, 71) Source(140, 12) + SourceIndex(0) +6 >Emitted(102, 79) Source(140, 20) + SourceIndex(0) +7 >Emitted(102, 85) Source(140, 20) + SourceIndex(0) +8 >Emitted(102, 87) Source(141, 5) + SourceIndex(0) +9 >Emitted(102, 103) Source(144, 53) + SourceIndex(0) +10>Emitted(102, 105) Source(141, 5) + SourceIndex(0) +11>Emitted(102, 128) Source(144, 9) + SourceIndex(0) +12>Emitted(102, 130) Source(144, 11) + SourceIndex(0) +13>Emitted(102, 137) Source(144, 18) + SourceIndex(0) +14>Emitted(102, 139) Source(144, 20) + SourceIndex(0) +15>Emitted(102, 148) Source(144, 29) + SourceIndex(0) +16>Emitted(102, 150) Source(144, 31) + SourceIndex(0) +17>Emitted(102, 159) Source(144, 40) + SourceIndex(0) +18>Emitted(102, 161) Source(144, 42) + SourceIndex(0) +19>Emitted(102, 170) Source(144, 51) + SourceIndex(0) +20>Emitted(102, 172) Source(144, 53) + SourceIndex(0) +21>Emitted(102, 178) Source(144, 53) + SourceIndex(0) +22>Emitted(102, 180) Source(142, 9) + SourceIndex(0) +23>Emitted(102, 197) Source(142, 28) + SourceIndex(0) +24>Emitted(102, 199) Source(142, 9) + SourceIndex(0) +25>Emitted(102, 206) Source(142, 16) + SourceIndex(0) +26>Emitted(102, 226) Source(142, 19) + SourceIndex(0) +27>Emitted(102, 235) Source(142, 28) + SourceIndex(0) +28>Emitted(102, 241) Source(142, 28) + SourceIndex(0) +29>Emitted(102, 243) Source(143, 9) + SourceIndex(0) +30>Emitted(102, 262) Source(143, 32) + SourceIndex(0) +31>Emitted(102, 264) Source(143, 9) + SourceIndex(0) +32>Emitted(102, 273) Source(143, 18) + SourceIndex(0) +33>Emitted(102, 293) Source(143, 21) + SourceIndex(0) +34>Emitted(102, 304) Source(143, 32) + SourceIndex(0) +35>Emitted(102, 310) Source(143, 32) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -4100,14 +4101,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(102, 5) Source(146, 5) + SourceIndex(0) -2 >Emitted(102, 12) Source(146, 12) + SourceIndex(0) -3 >Emitted(102, 13) Source(146, 13) + SourceIndex(0) -4 >Emitted(102, 16) Source(146, 16) + SourceIndex(0) -5 >Emitted(102, 17) Source(146, 17) + SourceIndex(0) -6 >Emitted(102, 22) Source(146, 22) + SourceIndex(0) -7 >Emitted(102, 23) Source(146, 23) + SourceIndex(0) -8 >Emitted(102, 24) Source(146, 24) + SourceIndex(0) +1 >Emitted(103, 5) Source(146, 5) + SourceIndex(0) +2 >Emitted(103, 12) Source(146, 12) + SourceIndex(0) +3 >Emitted(103, 13) Source(146, 13) + SourceIndex(0) +4 >Emitted(103, 16) Source(146, 16) + SourceIndex(0) +5 >Emitted(103, 17) Source(146, 17) + SourceIndex(0) +6 >Emitted(103, 22) Source(146, 22) + SourceIndex(0) +7 >Emitted(103, 23) Source(146, 23) + SourceIndex(0) +8 >Emitted(103, 24) Source(146, 24) + SourceIndex(0) --- >>>} 1 > @@ -4116,8 +4117,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(103, 1) Source(147, 1) + SourceIndex(0) -2 >Emitted(103, 2) Source(147, 2) + SourceIndex(0) +1 >Emitted(104, 1) Source(147, 1) + SourceIndex(0) +2 >Emitted(104, 2) Source(147, 2) + SourceIndex(0) --- >>>for (var _95 = 0, _96 = getMultiRobots(); _95 < _96.length; _95++) { 1-> @@ -4154,19 +4155,19 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 11> getMultiRobots() 12> ) 13> { -1->Emitted(104, 1) Source(148, 1) + SourceIndex(0) -2 >Emitted(104, 6) Source(154, 6) + SourceIndex(0) -3 >Emitted(104, 17) Source(154, 22) + SourceIndex(0) -4 >Emitted(104, 19) Source(154, 6) + SourceIndex(0) -5 >Emitted(104, 25) Source(154, 6) + SourceIndex(0) -6 >Emitted(104, 39) Source(154, 20) + SourceIndex(0) -7 >Emitted(104, 41) Source(154, 22) + SourceIndex(0) -8 >Emitted(104, 43) Source(154, 6) + SourceIndex(0) -9 >Emitted(104, 59) Source(154, 22) + SourceIndex(0) -10>Emitted(104, 61) Source(154, 6) + SourceIndex(0) -11>Emitted(104, 66) Source(154, 22) + SourceIndex(0) -12>Emitted(104, 68) Source(154, 24) + SourceIndex(0) -13>Emitted(104, 69) Source(154, 25) + SourceIndex(0) +1->Emitted(105, 1) Source(148, 1) + SourceIndex(0) +2 >Emitted(105, 6) Source(154, 6) + SourceIndex(0) +3 >Emitted(105, 17) Source(154, 22) + SourceIndex(0) +4 >Emitted(105, 19) Source(154, 6) + SourceIndex(0) +5 >Emitted(105, 25) Source(154, 6) + SourceIndex(0) +6 >Emitted(105, 39) Source(154, 20) + SourceIndex(0) +7 >Emitted(105, 41) Source(154, 22) + SourceIndex(0) +8 >Emitted(105, 43) Source(154, 6) + SourceIndex(0) +9 >Emitted(105, 59) Source(154, 22) + SourceIndex(0) +10>Emitted(105, 61) Source(154, 6) + SourceIndex(0) +11>Emitted(105, 66) Source(154, 22) + SourceIndex(0) +12>Emitted(105, 68) Source(154, 24) + SourceIndex(0) +13>Emitted(105, 69) Source(154, 25) + SourceIndex(0) --- >>> _48 = _96[_95], _49 = _48.name, name = _49 === void 0 ? "noName" : _49, _50 = _48.skills, _51 = _50 === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _50, _52 = _51.primary, primary = _52 === void 0 ? "primary" : _52, _53 = _51.secondary, secondary = _53 === void 0 ? "secondary" : _53; 1->^^^^^^^^^^^^^^^^^^^^ @@ -4247,41 +4248,41 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 33> = 34> "secondary" 35> -1->Emitted(105, 21) Source(149, 5) + SourceIndex(0) -2 >Emitted(105, 35) Source(149, 20) + SourceIndex(0) -3 >Emitted(105, 37) Source(149, 5) + SourceIndex(0) -4 >Emitted(105, 41) Source(149, 9) + SourceIndex(0) -5 >Emitted(105, 61) Source(149, 12) + SourceIndex(0) -6 >Emitted(105, 69) Source(149, 20) + SourceIndex(0) -7 >Emitted(105, 75) Source(149, 20) + SourceIndex(0) -8 >Emitted(105, 77) Source(150, 5) + SourceIndex(0) -9 >Emitted(105, 93) Source(153, 53) + SourceIndex(0) -10>Emitted(105, 95) Source(150, 5) + SourceIndex(0) -11>Emitted(105, 118) Source(153, 9) + SourceIndex(0) -12>Emitted(105, 120) Source(153, 11) + SourceIndex(0) -13>Emitted(105, 127) Source(153, 18) + SourceIndex(0) -14>Emitted(105, 129) Source(153, 20) + SourceIndex(0) -15>Emitted(105, 138) Source(153, 29) + SourceIndex(0) -16>Emitted(105, 140) Source(153, 31) + SourceIndex(0) -17>Emitted(105, 149) Source(153, 40) + SourceIndex(0) -18>Emitted(105, 151) Source(153, 42) + SourceIndex(0) -19>Emitted(105, 160) Source(153, 51) + SourceIndex(0) -20>Emitted(105, 162) Source(153, 53) + SourceIndex(0) -21>Emitted(105, 168) Source(153, 53) + SourceIndex(0) -22>Emitted(105, 170) Source(151, 9) + SourceIndex(0) -23>Emitted(105, 187) Source(151, 28) + SourceIndex(0) -24>Emitted(105, 189) Source(151, 9) + SourceIndex(0) -25>Emitted(105, 196) Source(151, 16) + SourceIndex(0) -26>Emitted(105, 216) Source(151, 19) + SourceIndex(0) -27>Emitted(105, 225) Source(151, 28) + SourceIndex(0) -28>Emitted(105, 231) Source(151, 28) + SourceIndex(0) -29>Emitted(105, 233) Source(152, 9) + SourceIndex(0) -30>Emitted(105, 252) Source(152, 32) + SourceIndex(0) -31>Emitted(105, 254) Source(152, 9) + SourceIndex(0) -32>Emitted(105, 263) Source(152, 18) + SourceIndex(0) -33>Emitted(105, 283) Source(152, 21) + SourceIndex(0) -34>Emitted(105, 294) Source(152, 32) + SourceIndex(0) -35>Emitted(105, 300) Source(152, 32) + SourceIndex(0) +1->Emitted(106, 21) Source(149, 5) + SourceIndex(0) +2 >Emitted(106, 35) Source(149, 20) + SourceIndex(0) +3 >Emitted(106, 37) Source(149, 5) + SourceIndex(0) +4 >Emitted(106, 41) Source(149, 9) + SourceIndex(0) +5 >Emitted(106, 61) Source(149, 12) + SourceIndex(0) +6 >Emitted(106, 69) Source(149, 20) + SourceIndex(0) +7 >Emitted(106, 75) Source(149, 20) + SourceIndex(0) +8 >Emitted(106, 77) Source(150, 5) + SourceIndex(0) +9 >Emitted(106, 93) Source(153, 53) + SourceIndex(0) +10>Emitted(106, 95) Source(150, 5) + SourceIndex(0) +11>Emitted(106, 118) Source(153, 9) + SourceIndex(0) +12>Emitted(106, 120) Source(153, 11) + SourceIndex(0) +13>Emitted(106, 127) Source(153, 18) + SourceIndex(0) +14>Emitted(106, 129) Source(153, 20) + SourceIndex(0) +15>Emitted(106, 138) Source(153, 29) + SourceIndex(0) +16>Emitted(106, 140) Source(153, 31) + SourceIndex(0) +17>Emitted(106, 149) Source(153, 40) + SourceIndex(0) +18>Emitted(106, 151) Source(153, 42) + SourceIndex(0) +19>Emitted(106, 160) Source(153, 51) + SourceIndex(0) +20>Emitted(106, 162) Source(153, 53) + SourceIndex(0) +21>Emitted(106, 168) Source(153, 53) + SourceIndex(0) +22>Emitted(106, 170) Source(151, 9) + SourceIndex(0) +23>Emitted(106, 187) Source(151, 28) + SourceIndex(0) +24>Emitted(106, 189) Source(151, 9) + SourceIndex(0) +25>Emitted(106, 196) Source(151, 16) + SourceIndex(0) +26>Emitted(106, 216) Source(151, 19) + SourceIndex(0) +27>Emitted(106, 225) Source(151, 28) + SourceIndex(0) +28>Emitted(106, 231) Source(151, 28) + SourceIndex(0) +29>Emitted(106, 233) Source(152, 9) + SourceIndex(0) +30>Emitted(106, 252) Source(152, 32) + SourceIndex(0) +31>Emitted(106, 254) Source(152, 9) + SourceIndex(0) +32>Emitted(106, 263) Source(152, 18) + SourceIndex(0) +33>Emitted(106, 283) Source(152, 21) + SourceIndex(0) +34>Emitted(106, 294) Source(152, 32) + SourceIndex(0) +35>Emitted(106, 300) Source(152, 32) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -4303,14 +4304,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(106, 5) Source(155, 5) + SourceIndex(0) -2 >Emitted(106, 12) Source(155, 12) + SourceIndex(0) -3 >Emitted(106, 13) Source(155, 13) + SourceIndex(0) -4 >Emitted(106, 16) Source(155, 16) + SourceIndex(0) -5 >Emitted(106, 17) Source(155, 17) + SourceIndex(0) -6 >Emitted(106, 22) Source(155, 22) + SourceIndex(0) -7 >Emitted(106, 23) Source(155, 23) + SourceIndex(0) -8 >Emitted(106, 24) Source(155, 24) + SourceIndex(0) +1 >Emitted(107, 5) Source(155, 5) + SourceIndex(0) +2 >Emitted(107, 12) Source(155, 12) + SourceIndex(0) +3 >Emitted(107, 13) Source(155, 13) + SourceIndex(0) +4 >Emitted(107, 16) Source(155, 16) + SourceIndex(0) +5 >Emitted(107, 17) Source(155, 17) + SourceIndex(0) +6 >Emitted(107, 22) Source(155, 22) + SourceIndex(0) +7 >Emitted(107, 23) Source(155, 23) + SourceIndex(0) +8 >Emitted(107, 24) Source(155, 24) + SourceIndex(0) --- >>>} 1 > @@ -4319,8 +4320,8 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(107, 1) Source(156, 1) + SourceIndex(0) -2 >Emitted(107, 2) Source(156, 2) + SourceIndex(0) +1 >Emitted(108, 1) Source(156, 1) + SourceIndex(0) +2 >Emitted(108, 2) Source(156, 2) + SourceIndex(0) --- >>>for (var _97 = 0, _98 = [{ name: "mower", skills: { primary: "mowing", secondary: "none" } }, 1-> @@ -4376,28 +4377,28 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 20> "none" 21> } 22> } -1->Emitted(108, 1) Source(157, 1) + SourceIndex(0) -2 >Emitted(108, 6) Source(163, 6) + SourceIndex(0) -3 >Emitted(108, 17) Source(164, 79) + SourceIndex(0) -4 >Emitted(108, 19) Source(163, 6) + SourceIndex(0) -5 >Emitted(108, 26) Source(163, 7) + SourceIndex(0) -6 >Emitted(108, 28) Source(163, 9) + SourceIndex(0) -7 >Emitted(108, 32) Source(163, 13) + SourceIndex(0) -8 >Emitted(108, 34) Source(163, 15) + SourceIndex(0) -9 >Emitted(108, 41) Source(163, 22) + SourceIndex(0) -10>Emitted(108, 43) Source(163, 24) + SourceIndex(0) -11>Emitted(108, 49) Source(163, 30) + SourceIndex(0) -12>Emitted(108, 51) Source(163, 32) + SourceIndex(0) -13>Emitted(108, 53) Source(163, 34) + SourceIndex(0) -14>Emitted(108, 60) Source(163, 41) + SourceIndex(0) -15>Emitted(108, 62) Source(163, 43) + SourceIndex(0) -16>Emitted(108, 70) Source(163, 51) + SourceIndex(0) -17>Emitted(108, 72) Source(163, 53) + SourceIndex(0) -18>Emitted(108, 81) Source(163, 62) + SourceIndex(0) -19>Emitted(108, 83) Source(163, 64) + SourceIndex(0) -20>Emitted(108, 89) Source(163, 70) + SourceIndex(0) -21>Emitted(108, 91) Source(163, 72) + SourceIndex(0) -22>Emitted(108, 93) Source(163, 74) + SourceIndex(0) +1->Emitted(109, 1) Source(157, 1) + SourceIndex(0) +2 >Emitted(109, 6) Source(163, 6) + SourceIndex(0) +3 >Emitted(109, 17) Source(164, 79) + SourceIndex(0) +4 >Emitted(109, 19) Source(163, 6) + SourceIndex(0) +5 >Emitted(109, 26) Source(163, 7) + SourceIndex(0) +6 >Emitted(109, 28) Source(163, 9) + SourceIndex(0) +7 >Emitted(109, 32) Source(163, 13) + SourceIndex(0) +8 >Emitted(109, 34) Source(163, 15) + SourceIndex(0) +9 >Emitted(109, 41) Source(163, 22) + SourceIndex(0) +10>Emitted(109, 43) Source(163, 24) + SourceIndex(0) +11>Emitted(109, 49) Source(163, 30) + SourceIndex(0) +12>Emitted(109, 51) Source(163, 32) + SourceIndex(0) +13>Emitted(109, 53) Source(163, 34) + SourceIndex(0) +14>Emitted(109, 60) Source(163, 41) + SourceIndex(0) +15>Emitted(109, 62) Source(163, 43) + SourceIndex(0) +16>Emitted(109, 70) Source(163, 51) + SourceIndex(0) +17>Emitted(109, 72) Source(163, 53) + SourceIndex(0) +18>Emitted(109, 81) Source(163, 62) + SourceIndex(0) +19>Emitted(109, 83) Source(163, 64) + SourceIndex(0) +20>Emitted(109, 89) Source(163, 70) + SourceIndex(0) +21>Emitted(109, 91) Source(163, 72) + SourceIndex(0) +22>Emitted(109, 93) Source(163, 74) + SourceIndex(0) --- >>> { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }]; _97 < _98.length; _97++) { 1->^^^^ @@ -4454,31 +4455,31 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue > { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }] 24> ) 25> { -1->Emitted(109, 5) Source(164, 5) + SourceIndex(0) -2 >Emitted(109, 7) Source(164, 7) + SourceIndex(0) -3 >Emitted(109, 11) Source(164, 11) + SourceIndex(0) -4 >Emitted(109, 13) Source(164, 13) + SourceIndex(0) -5 >Emitted(109, 22) Source(164, 22) + SourceIndex(0) -6 >Emitted(109, 24) Source(164, 24) + SourceIndex(0) -7 >Emitted(109, 30) Source(164, 30) + SourceIndex(0) -8 >Emitted(109, 32) Source(164, 32) + SourceIndex(0) -9 >Emitted(109, 34) Source(164, 34) + SourceIndex(0) -10>Emitted(109, 41) Source(164, 41) + SourceIndex(0) -11>Emitted(109, 43) Source(164, 43) + SourceIndex(0) -12>Emitted(109, 53) Source(164, 53) + SourceIndex(0) -13>Emitted(109, 55) Source(164, 55) + SourceIndex(0) -14>Emitted(109, 64) Source(164, 64) + SourceIndex(0) -15>Emitted(109, 66) Source(164, 66) + SourceIndex(0) -16>Emitted(109, 74) Source(164, 74) + SourceIndex(0) -17>Emitted(109, 76) Source(164, 76) + SourceIndex(0) -18>Emitted(109, 78) Source(164, 78) + SourceIndex(0) -19>Emitted(109, 79) Source(164, 79) + SourceIndex(0) -20>Emitted(109, 81) Source(163, 6) + SourceIndex(0) -21>Emitted(109, 97) Source(164, 79) + SourceIndex(0) -22>Emitted(109, 99) Source(163, 6) + SourceIndex(0) -23>Emitted(109, 104) Source(164, 79) + SourceIndex(0) -24>Emitted(109, 106) Source(164, 81) + SourceIndex(0) -25>Emitted(109, 107) Source(164, 82) + SourceIndex(0) +1->Emitted(110, 5) Source(164, 5) + SourceIndex(0) +2 >Emitted(110, 7) Source(164, 7) + SourceIndex(0) +3 >Emitted(110, 11) Source(164, 11) + SourceIndex(0) +4 >Emitted(110, 13) Source(164, 13) + SourceIndex(0) +5 >Emitted(110, 22) Source(164, 22) + SourceIndex(0) +6 >Emitted(110, 24) Source(164, 24) + SourceIndex(0) +7 >Emitted(110, 30) Source(164, 30) + SourceIndex(0) +8 >Emitted(110, 32) Source(164, 32) + SourceIndex(0) +9 >Emitted(110, 34) Source(164, 34) + SourceIndex(0) +10>Emitted(110, 41) Source(164, 41) + SourceIndex(0) +11>Emitted(110, 43) Source(164, 43) + SourceIndex(0) +12>Emitted(110, 53) Source(164, 53) + SourceIndex(0) +13>Emitted(110, 55) Source(164, 55) + SourceIndex(0) +14>Emitted(110, 64) Source(164, 64) + SourceIndex(0) +15>Emitted(110, 66) Source(164, 66) + SourceIndex(0) +16>Emitted(110, 74) Source(164, 74) + SourceIndex(0) +17>Emitted(110, 76) Source(164, 76) + SourceIndex(0) +18>Emitted(110, 78) Source(164, 78) + SourceIndex(0) +19>Emitted(110, 79) Source(164, 79) + SourceIndex(0) +20>Emitted(110, 81) Source(163, 6) + SourceIndex(0) +21>Emitted(110, 97) Source(164, 79) + SourceIndex(0) +22>Emitted(110, 99) Source(163, 6) + SourceIndex(0) +23>Emitted(110, 104) Source(164, 79) + SourceIndex(0) +24>Emitted(110, 106) Source(164, 81) + SourceIndex(0) +25>Emitted(110, 107) Source(164, 82) + SourceIndex(0) --- >>> _54 = _98[_97], _55 = _54.name, name = _55 === void 0 ? "noName" : _55, _56 = _54.skills, _57 = _56 === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _56, _58 = _57.primary, primary = _58 === void 0 ? "primary" : _58, _59 = _57.secondary, secondary = _59 === void 0 ? "secondary" : _59; 1->^^^^^^^^^^^^^^^^^^^^ @@ -4559,41 +4560,41 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 33> = 34> "secondary" 35> -1->Emitted(110, 21) Source(158, 5) + SourceIndex(0) -2 >Emitted(110, 35) Source(158, 20) + SourceIndex(0) -3 >Emitted(110, 37) Source(158, 5) + SourceIndex(0) -4 >Emitted(110, 41) Source(158, 9) + SourceIndex(0) -5 >Emitted(110, 61) Source(158, 12) + SourceIndex(0) -6 >Emitted(110, 69) Source(158, 20) + SourceIndex(0) -7 >Emitted(110, 75) Source(158, 20) + SourceIndex(0) -8 >Emitted(110, 77) Source(159, 5) + SourceIndex(0) -9 >Emitted(110, 93) Source(162, 53) + SourceIndex(0) -10>Emitted(110, 95) Source(159, 5) + SourceIndex(0) -11>Emitted(110, 118) Source(162, 9) + SourceIndex(0) -12>Emitted(110, 120) Source(162, 11) + SourceIndex(0) -13>Emitted(110, 127) Source(162, 18) + SourceIndex(0) -14>Emitted(110, 129) Source(162, 20) + SourceIndex(0) -15>Emitted(110, 138) Source(162, 29) + SourceIndex(0) -16>Emitted(110, 140) Source(162, 31) + SourceIndex(0) -17>Emitted(110, 149) Source(162, 40) + SourceIndex(0) -18>Emitted(110, 151) Source(162, 42) + SourceIndex(0) -19>Emitted(110, 160) Source(162, 51) + SourceIndex(0) -20>Emitted(110, 162) Source(162, 53) + SourceIndex(0) -21>Emitted(110, 168) Source(162, 53) + SourceIndex(0) -22>Emitted(110, 170) Source(160, 9) + SourceIndex(0) -23>Emitted(110, 187) Source(160, 28) + SourceIndex(0) -24>Emitted(110, 189) Source(160, 9) + SourceIndex(0) -25>Emitted(110, 196) Source(160, 16) + SourceIndex(0) -26>Emitted(110, 216) Source(160, 19) + SourceIndex(0) -27>Emitted(110, 225) Source(160, 28) + SourceIndex(0) -28>Emitted(110, 231) Source(160, 28) + SourceIndex(0) -29>Emitted(110, 233) Source(161, 9) + SourceIndex(0) -30>Emitted(110, 252) Source(161, 32) + SourceIndex(0) -31>Emitted(110, 254) Source(161, 9) + SourceIndex(0) -32>Emitted(110, 263) Source(161, 18) + SourceIndex(0) -33>Emitted(110, 283) Source(161, 21) + SourceIndex(0) -34>Emitted(110, 294) Source(161, 32) + SourceIndex(0) -35>Emitted(110, 300) Source(161, 32) + SourceIndex(0) +1->Emitted(111, 21) Source(158, 5) + SourceIndex(0) +2 >Emitted(111, 35) Source(158, 20) + SourceIndex(0) +3 >Emitted(111, 37) Source(158, 5) + SourceIndex(0) +4 >Emitted(111, 41) Source(158, 9) + SourceIndex(0) +5 >Emitted(111, 61) Source(158, 12) + SourceIndex(0) +6 >Emitted(111, 69) Source(158, 20) + SourceIndex(0) +7 >Emitted(111, 75) Source(158, 20) + SourceIndex(0) +8 >Emitted(111, 77) Source(159, 5) + SourceIndex(0) +9 >Emitted(111, 93) Source(162, 53) + SourceIndex(0) +10>Emitted(111, 95) Source(159, 5) + SourceIndex(0) +11>Emitted(111, 118) Source(162, 9) + SourceIndex(0) +12>Emitted(111, 120) Source(162, 11) + SourceIndex(0) +13>Emitted(111, 127) Source(162, 18) + SourceIndex(0) +14>Emitted(111, 129) Source(162, 20) + SourceIndex(0) +15>Emitted(111, 138) Source(162, 29) + SourceIndex(0) +16>Emitted(111, 140) Source(162, 31) + SourceIndex(0) +17>Emitted(111, 149) Source(162, 40) + SourceIndex(0) +18>Emitted(111, 151) Source(162, 42) + SourceIndex(0) +19>Emitted(111, 160) Source(162, 51) + SourceIndex(0) +20>Emitted(111, 162) Source(162, 53) + SourceIndex(0) +21>Emitted(111, 168) Source(162, 53) + SourceIndex(0) +22>Emitted(111, 170) Source(160, 9) + SourceIndex(0) +23>Emitted(111, 187) Source(160, 28) + SourceIndex(0) +24>Emitted(111, 189) Source(160, 9) + SourceIndex(0) +25>Emitted(111, 196) Source(160, 16) + SourceIndex(0) +26>Emitted(111, 216) Source(160, 19) + SourceIndex(0) +27>Emitted(111, 225) Source(160, 28) + SourceIndex(0) +28>Emitted(111, 231) Source(160, 28) + SourceIndex(0) +29>Emitted(111, 233) Source(161, 9) + SourceIndex(0) +30>Emitted(111, 252) Source(161, 32) + SourceIndex(0) +31>Emitted(111, 254) Source(161, 9) + SourceIndex(0) +32>Emitted(111, 263) Source(161, 18) + SourceIndex(0) +33>Emitted(111, 283) Source(161, 21) + SourceIndex(0) +34>Emitted(111, 294) Source(161, 32) + SourceIndex(0) +35>Emitted(111, 300) Source(161, 32) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -4616,14 +4617,14 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 6 > nameA 7 > ) 8 > ; -1 >Emitted(111, 5) Source(165, 5) + SourceIndex(0) -2 >Emitted(111, 12) Source(165, 12) + SourceIndex(0) -3 >Emitted(111, 13) Source(165, 13) + SourceIndex(0) -4 >Emitted(111, 16) Source(165, 16) + SourceIndex(0) -5 >Emitted(111, 17) Source(165, 17) + SourceIndex(0) -6 >Emitted(111, 22) Source(165, 22) + SourceIndex(0) -7 >Emitted(111, 23) Source(165, 23) + SourceIndex(0) -8 >Emitted(111, 24) Source(165, 24) + SourceIndex(0) +1 >Emitted(112, 5) Source(165, 5) + SourceIndex(0) +2 >Emitted(112, 12) Source(165, 12) + SourceIndex(0) +3 >Emitted(112, 13) Source(165, 13) + SourceIndex(0) +4 >Emitted(112, 16) Source(165, 16) + SourceIndex(0) +5 >Emitted(112, 17) Source(165, 17) + SourceIndex(0) +6 >Emitted(112, 22) Source(165, 22) + SourceIndex(0) +7 >Emitted(112, 23) Source(165, 23) + SourceIndex(0) +8 >Emitted(112, 24) Source(165, 24) + SourceIndex(0) --- >>>} 1 > @@ -4632,7 +4633,7 @@ sourceFile:sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValue 1 > > 2 >} -1 >Emitted(112, 1) Source(166, 1) + SourceIndex(0) -2 >Emitted(112, 2) Source(166, 2) + SourceIndex(0) +1 >Emitted(113, 1) Source(166, 1) + SourceIndex(0) +2 >Emitted(113, 2) Source(166, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringForOfObjectBindingPatternDefaultValues2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js index aba5c7288e0a3..a26c5000b100c 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js @@ -34,6 +34,7 @@ foo3({ name: "Edger", skills: { primary: "edging", secondary: "branch trimming" //// [sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js] +"use strict"; var robotA = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; function foo1(_a) { var _b = _a.skills, primaryA = _b.primary, secondaryA = _b.secondary; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js.map b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js.map index f294a9b9f570d..cd2dbcee2e4c6 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js.map] -{"version":3,"file":"sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParameterNestedObjectBindingPattern.ts"],"names":[],"mappings":"AAUA,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AAExF,SAAS,IAAI,CAAC,EAA+D;QAA7D,cAAoD,EAAjC,QAAQ,aAAA,EAAa,UAAU,eAAA;IAC9D,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC1B,CAAC;AACD,SAAS,IAAI,CAAC,EAA4E;QAApE,KAAK,UAAA,EAAE,cAAoD,EAAjC,QAAQ,aAAA,EAAa,UAAU,eAAA;IAC3E,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;AAC5B,CAAC;AACD,SAAS,IAAI,CAAC,EAAiB;QAAf,MAAM,YAAA;IAClB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;AAChC,CAAC;AAED,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,EAAE,CAAC,CAAC;AAErF,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,EAAE,CAAC,CAAC;AAErF,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,EAAE,CAAC,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHJvYm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Sb2JvdCkgewogICAgY29uc29sZS5sb2coc2Vjb25kYXJ5Qik7Cn0KZnVuY3Rpb24gZm9vMyh7IHNraWxscyB9OiBSb2JvdCkgewogICAgY29uc29sZS5sb2coc2tpbGxzLnByaW1hcnkpOwp9Cgpmb28xKHJvYm90QSk7CmZvbzEoeyBuYW1lOiAiRWRnZXIiLCBza2lsbHM6IHsgcHJpbWFyeTogImVkZ2luZyIsIHNlY29uZGFyeTogImJyYW5jaCB0cmltbWluZyIgfSB9KTsKCmZvbzIocm9ib3RBKTsKZm9vMih7IG5hbWU6ICJFZGdlciIsIHNraWxsczogeyBwcmltYXJ5OiAiZWRnaW5nIiwgc2Vjb25kYXJ5OiAiYnJhbmNoIHRyaW1taW5nIiB9IH0pOwoKZm9vMyhyb2JvdEEpOwpmb28zKHsgbmFtZTogIkVkZ2VyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJlZGdpbmciLCBzZWNvbmRhcnk6ICJicmFuY2ggdHJpbW1pbmciIH0gfSk7Cg== +{"version":3,"file":"sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParameterNestedObjectBindingPattern.ts"],"names":[],"mappings":";AAUA,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AAExF,SAAS,IAAI,CAAC,EAA+D;QAA7D,cAAoD,EAAjC,QAAQ,aAAA,EAAa,UAAU,eAAA;IAC9D,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC1B,CAAC;AACD,SAAS,IAAI,CAAC,EAA4E;QAApE,KAAK,UAAA,EAAE,cAAoD,EAAjC,QAAQ,aAAA,EAAa,UAAU,eAAA;IAC3E,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;AAC5B,CAAC;AACD,SAAS,IAAI,CAAC,EAAiB;QAAf,MAAM,Y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hcnk6ICJicmFuY2ggdHJpbW1pbmciIH0gfSk7Cg== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.sourcemap.txt index 8aeca5617a445..8205e7a041047 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPattern.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringParameterNestedObjectBindingPattern.ts emittedFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; 1 > 2 >^^^^ @@ -63,28 +64,28 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 20> } 21> } 22> ; -1 >Emitted(1, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(11, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(11, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(11, 21) + SourceIndex(0) -5 >Emitted(1, 16) Source(11, 23) + SourceIndex(0) -6 >Emitted(1, 20) Source(11, 27) + SourceIndex(0) -7 >Emitted(1, 22) Source(11, 29) + SourceIndex(0) -8 >Emitted(1, 29) Source(11, 36) + SourceIndex(0) -9 >Emitted(1, 31) Source(11, 38) + SourceIndex(0) -10>Emitted(1, 37) Source(11, 44) + SourceIndex(0) -11>Emitted(1, 39) Source(11, 46) + SourceIndex(0) -12>Emitted(1, 41) Source(11, 48) + SourceIndex(0) -13>Emitted(1, 48) Source(11, 55) + SourceIndex(0) -14>Emitted(1, 50) Source(11, 57) + SourceIndex(0) -15>Emitted(1, 58) Source(11, 65) + SourceIndex(0) -16>Emitted(1, 60) Source(11, 67) + SourceIndex(0) -17>Emitted(1, 69) Source(11, 76) + SourceIndex(0) -18>Emitted(1, 71) Source(11, 78) + SourceIndex(0) -19>Emitted(1, 77) Source(11, 84) + SourceIndex(0) -20>Emitted(1, 79) Source(11, 86) + SourceIndex(0) -21>Emitted(1, 81) Source(11, 88) + SourceIndex(0) -22>Emitted(1, 82) Source(11, 89) + SourceIndex(0) +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(11, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(11, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(11, 21) + SourceIndex(0) +5 >Emitted(2, 16) Source(11, 23) + SourceIndex(0) +6 >Emitted(2, 20) Source(11, 27) + SourceIndex(0) +7 >Emitted(2, 22) Source(11, 29) + SourceIndex(0) +8 >Emitted(2, 29) Source(11, 36) + SourceIndex(0) +9 >Emitted(2, 31) Source(11, 38) + SourceIndex(0) +10>Emitted(2, 37) Source(11, 44) + SourceIndex(0) +11>Emitted(2, 39) Source(11, 46) + SourceIndex(0) +12>Emitted(2, 41) Source(11, 48) + SourceIndex(0) +13>Emitted(2, 48) Source(11, 55) + SourceIndex(0) +14>Emitted(2, 50) Source(11, 57) + SourceIndex(0) +15>Emitted(2, 58) Source(11, 65) + SourceIndex(0) +16>Emitted(2, 60) Source(11, 67) + SourceIndex(0) +17>Emitted(2, 69) Source(11, 76) + SourceIndex(0) +18>Emitted(2, 71) Source(11, 78) + SourceIndex(0) +19>Emitted(2, 77) Source(11, 84) + SourceIndex(0) +20>Emitted(2, 79) Source(11, 86) + SourceIndex(0) +21>Emitted(2, 81) Source(11, 88) + SourceIndex(0) +22>Emitted(2, 82) Source(11, 89) + SourceIndex(0) --- >>>function foo1(_a) { 1 > @@ -100,11 +101,11 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 3 > foo1 4 > ( 5 > { skills: { primary: primaryA, secondary: secondaryA } }: Robot -1 >Emitted(2, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(2, 10) Source(13, 10) + SourceIndex(0) -3 >Emitted(2, 14) Source(13, 14) + SourceIndex(0) -4 >Emitted(2, 15) Source(13, 15) + SourceIndex(0) -5 >Emitted(2, 17) Source(13, 78) + SourceIndex(0) +1 >Emitted(3, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(3, 10) Source(13, 10) + SourceIndex(0) +3 >Emitted(3, 14) Source(13, 14) + SourceIndex(0) +4 >Emitted(3, 15) Source(13, 15) + SourceIndex(0) +5 >Emitted(3, 17) Source(13, 78) + SourceIndex(0) --- >>> var _b = _a.skills, primaryA = _b.primary, secondaryA = _b.secondary; 1->^^^^^^^^ @@ -123,14 +124,14 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 6 > , secondary: 7 > secondaryA 8 > -1->Emitted(3, 9) Source(13, 17) + SourceIndex(0) -2 >Emitted(3, 23) Source(13, 69) + SourceIndex(0) -3 >Emitted(3, 25) Source(13, 36) + SourceIndex(0) -4 >Emitted(3, 33) Source(13, 44) + SourceIndex(0) -5 >Emitted(3, 46) Source(13, 44) + SourceIndex(0) -6 >Emitted(3, 48) Source(13, 57) + SourceIndex(0) -7 >Emitted(3, 58) Source(13, 67) + SourceIndex(0) -8 >Emitted(3, 73) Source(13, 67) + SourceIndex(0) +1->Emitted(4, 9) Source(13, 17) + SourceIndex(0) +2 >Emitted(4, 23) Source(13, 69) + SourceIndex(0) +3 >Emitted(4, 25) Source(13, 36) + SourceIndex(0) +4 >Emitted(4, 33) Source(13, 44) + SourceIndex(0) +5 >Emitted(4, 46) Source(13, 44) + SourceIndex(0) +6 >Emitted(4, 48) Source(13, 57) + SourceIndex(0) +7 >Emitted(4, 58) Source(13, 67) + SourceIndex(0) +8 >Emitted(4, 73) Source(13, 67) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -150,14 +151,14 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 6 > primaryA 7 > ) 8 > ; -1 >Emitted(4, 5) Source(14, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(14, 12) + SourceIndex(0) -3 >Emitted(4, 13) Source(14, 13) + SourceIndex(0) -4 >Emitted(4, 16) Source(14, 16) + SourceIndex(0) -5 >Emitted(4, 17) Source(14, 17) + SourceIndex(0) -6 >Emitted(4, 25) Source(14, 25) + SourceIndex(0) -7 >Emitted(4, 26) Source(14, 26) + SourceIndex(0) -8 >Emitted(4, 27) Source(14, 27) + SourceIndex(0) +1 >Emitted(5, 5) Source(14, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(14, 12) + SourceIndex(0) +3 >Emitted(5, 13) Source(14, 13) + SourceIndex(0) +4 >Emitted(5, 16) Source(14, 16) + SourceIndex(0) +5 >Emitted(5, 17) Source(14, 17) + SourceIndex(0) +6 >Emitted(5, 25) Source(14, 25) + SourceIndex(0) +7 >Emitted(5, 26) Source(14, 26) + SourceIndex(0) +8 >Emitted(5, 27) Source(14, 27) + SourceIndex(0) --- >>>} 1 > @@ -166,8 +167,8 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 1 > > 2 >} -1 >Emitted(5, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(15, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(15, 2) + SourceIndex(0) --- >>>function foo2(_a) { 1-> @@ -182,11 +183,11 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 3 > foo2 4 > ( 5 > { name: nameC, skills: { primary: primaryB, secondary: secondaryB } }: Robot -1->Emitted(6, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(6, 10) Source(16, 10) + SourceIndex(0) -3 >Emitted(6, 14) Source(16, 14) + SourceIndex(0) -4 >Emitted(6, 15) Source(16, 15) + SourceIndex(0) -5 >Emitted(6, 17) Source(16, 91) + SourceIndex(0) +1->Emitted(7, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(7, 10) Source(16, 10) + SourceIndex(0) +3 >Emitted(7, 14) Source(16, 14) + SourceIndex(0) +4 >Emitted(7, 15) Source(16, 15) + SourceIndex(0) +5 >Emitted(7, 17) Source(16, 91) + SourceIndex(0) --- >>> var nameC = _a.name, _b = _a.skills, primaryB = _b.primary, secondaryB = _b.secondary; 1->^^^^^^^^ @@ -211,17 +212,17 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 9 > , secondary: 10> secondaryB 11> -1->Emitted(7, 9) Source(16, 23) + SourceIndex(0) -2 >Emitted(7, 14) Source(16, 28) + SourceIndex(0) -3 >Emitted(7, 24) Source(16, 28) + SourceIndex(0) -4 >Emitted(7, 26) Source(16, 30) + SourceIndex(0) -5 >Emitted(7, 40) Source(16, 82) + SourceIndex(0) -6 >Emitted(7, 42) Source(16, 49) + SourceIndex(0) -7 >Emitted(7, 50) Source(16, 57) + SourceIndex(0) -8 >Emitted(7, 63) Source(16, 57) + SourceIndex(0) -9 >Emitted(7, 65) Source(16, 70) + SourceIndex(0) -10>Emitted(7, 75) Source(16, 80) + SourceIndex(0) -11>Emitted(7, 90) Source(16, 80) + SourceIndex(0) +1->Emitted(8, 9) Source(16, 23) + SourceIndex(0) +2 >Emitted(8, 14) Source(16, 28) + SourceIndex(0) +3 >Emitted(8, 24) Source(16, 28) + SourceIndex(0) +4 >Emitted(8, 26) Source(16, 30) + SourceIndex(0) +5 >Emitted(8, 40) Source(16, 82) + SourceIndex(0) +6 >Emitted(8, 42) Source(16, 49) + SourceIndex(0) +7 >Emitted(8, 50) Source(16, 57) + SourceIndex(0) +8 >Emitted(8, 63) Source(16, 57) + SourceIndex(0) +9 >Emitted(8, 65) Source(16, 70) + SourceIndex(0) +10>Emitted(8, 75) Source(16, 80) + SourceIndex(0) +11>Emitted(8, 90) Source(16, 80) + SourceIndex(0) --- >>> console.log(secondaryB); 1 >^^^^ @@ -241,14 +242,14 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 6 > secondaryB 7 > ) 8 > ; -1 >Emitted(8, 5) Source(17, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(17, 12) + SourceIndex(0) -3 >Emitted(8, 13) Source(17, 13) + SourceIndex(0) -4 >Emitted(8, 16) Source(17, 16) + SourceIndex(0) -5 >Emitted(8, 17) Source(17, 17) + SourceIndex(0) -6 >Emitted(8, 27) Source(17, 27) + SourceIndex(0) -7 >Emitted(8, 28) Source(17, 28) + SourceIndex(0) -8 >Emitted(8, 29) Source(17, 29) + SourceIndex(0) +1 >Emitted(9, 5) Source(17, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(17, 12) + SourceIndex(0) +3 >Emitted(9, 13) Source(17, 13) + SourceIndex(0) +4 >Emitted(9, 16) Source(17, 16) + SourceIndex(0) +5 >Emitted(9, 17) Source(17, 17) + SourceIndex(0) +6 >Emitted(9, 27) Source(17, 27) + SourceIndex(0) +7 >Emitted(9, 28) Source(17, 28) + SourceIndex(0) +8 >Emitted(9, 29) Source(17, 29) + SourceIndex(0) --- >>>} 1 > @@ -257,8 +258,8 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 1 > > 2 >} -1 >Emitted(9, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(18, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(18, 2) + SourceIndex(0) --- >>>function foo3(_a) { 1-> @@ -273,11 +274,11 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 3 > foo3 4 > ( 5 > { skills }: Robot -1->Emitted(10, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(10, 10) Source(19, 10) + SourceIndex(0) -3 >Emitted(10, 14) Source(19, 14) + SourceIndex(0) -4 >Emitted(10, 15) Source(19, 15) + SourceIndex(0) -5 >Emitted(10, 17) Source(19, 32) + SourceIndex(0) +1->Emitted(11, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(11, 10) Source(19, 10) + SourceIndex(0) +3 >Emitted(11, 14) Source(19, 14) + SourceIndex(0) +4 >Emitted(11, 15) Source(19, 15) + SourceIndex(0) +5 >Emitted(11, 17) Source(19, 32) + SourceIndex(0) --- >>> var skills = _a.skills; 1->^^^^^^^^ @@ -287,9 +288,9 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 1-> 2 > skills 3 > -1->Emitted(11, 9) Source(19, 17) + SourceIndex(0) -2 >Emitted(11, 15) Source(19, 23) + SourceIndex(0) -3 >Emitted(11, 27) Source(19, 23) + SourceIndex(0) +1->Emitted(12, 9) Source(19, 17) + SourceIndex(0) +2 >Emitted(12, 15) Source(19, 23) + SourceIndex(0) +3 >Emitted(12, 27) Source(19, 23) + SourceIndex(0) --- >>> console.log(skills.primary); 1->^^^^ @@ -313,16 +314,16 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 8 > primary 9 > ) 10> ; -1->Emitted(12, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(12, 12) Source(20, 12) + SourceIndex(0) -3 >Emitted(12, 13) Source(20, 13) + SourceIndex(0) -4 >Emitted(12, 16) Source(20, 16) + SourceIndex(0) -5 >Emitted(12, 17) Source(20, 17) + SourceIndex(0) -6 >Emitted(12, 23) Source(20, 23) + SourceIndex(0) -7 >Emitted(12, 24) Source(20, 24) + SourceIndex(0) -8 >Emitted(12, 31) Source(20, 31) + SourceIndex(0) -9 >Emitted(12, 32) Source(20, 32) + SourceIndex(0) -10>Emitted(12, 33) Source(20, 33) + SourceIndex(0) +1->Emitted(13, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(13, 12) Source(20, 12) + SourceIndex(0) +3 >Emitted(13, 13) Source(20, 13) + SourceIndex(0) +4 >Emitted(13, 16) Source(20, 16) + SourceIndex(0) +5 >Emitted(13, 17) Source(20, 17) + SourceIndex(0) +6 >Emitted(13, 23) Source(20, 23) + SourceIndex(0) +7 >Emitted(13, 24) Source(20, 24) + SourceIndex(0) +8 >Emitted(13, 31) Source(20, 31) + SourceIndex(0) +9 >Emitted(13, 32) Source(20, 32) + SourceIndex(0) +10>Emitted(13, 33) Source(20, 33) + SourceIndex(0) --- >>>} 1 > @@ -331,8 +332,8 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 1 > > 2 >} -1 >Emitted(13, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(21, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(21, 2) + SourceIndex(0) --- >>>foo1(robotA); 1-> @@ -350,12 +351,12 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 4 > robotA 5 > ) 6 > ; -1->Emitted(14, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(14, 5) Source(23, 5) + SourceIndex(0) -3 >Emitted(14, 6) Source(23, 6) + SourceIndex(0) -4 >Emitted(14, 12) Source(23, 12) + SourceIndex(0) -5 >Emitted(14, 13) Source(23, 13) + SourceIndex(0) -6 >Emitted(14, 14) Source(23, 14) + SourceIndex(0) +1->Emitted(15, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(15, 5) Source(23, 5) + SourceIndex(0) +3 >Emitted(15, 6) Source(23, 6) + SourceIndex(0) +4 >Emitted(15, 12) Source(23, 12) + SourceIndex(0) +5 >Emitted(15, 13) Source(23, 13) + SourceIndex(0) +6 >Emitted(15, 14) Source(23, 14) + SourceIndex(0) --- >>>foo1({ name: "Edger", skills: { primary: "edging", secondary: "branch trimming" } }); 1-> @@ -403,28 +404,28 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 20> } 21> ) 22> ; -1->Emitted(15, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(15, 5) Source(24, 5) + SourceIndex(0) -3 >Emitted(15, 6) Source(24, 6) + SourceIndex(0) -4 >Emitted(15, 8) Source(24, 8) + SourceIndex(0) -5 >Emitted(15, 12) Source(24, 12) + SourceIndex(0) -6 >Emitted(15, 14) Source(24, 14) + SourceIndex(0) -7 >Emitted(15, 21) Source(24, 21) + SourceIndex(0) -8 >Emitted(15, 23) Source(24, 23) + SourceIndex(0) -9 >Emitted(15, 29) Source(24, 29) + SourceIndex(0) -10>Emitted(15, 31) Source(24, 31) + SourceIndex(0) -11>Emitted(15, 33) Source(24, 33) + SourceIndex(0) -12>Emitted(15, 40) Source(24, 40) + SourceIndex(0) -13>Emitted(15, 42) Source(24, 42) + SourceIndex(0) -14>Emitted(15, 50) Source(24, 50) + SourceIndex(0) -15>Emitted(15, 52) Source(24, 52) + SourceIndex(0) -16>Emitted(15, 61) Source(24, 61) + SourceIndex(0) -17>Emitted(15, 63) Source(24, 63) + SourceIndex(0) -18>Emitted(15, 80) Source(24, 80) + SourceIndex(0) -19>Emitted(15, 82) Source(24, 82) + SourceIndex(0) -20>Emitted(15, 84) Source(24, 84) + SourceIndex(0) -21>Emitted(15, 85) Source(24, 85) + SourceIndex(0) -22>Emitted(15, 86) Source(24, 86) + SourceIndex(0) +1->Emitted(16, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(16, 5) Source(24, 5) + SourceIndex(0) +3 >Emitted(16, 6) Source(24, 6) + SourceIndex(0) +4 >Emitted(16, 8) Source(24, 8) + SourceIndex(0) +5 >Emitted(16, 12) Source(24, 12) + SourceIndex(0) +6 >Emitted(16, 14) Source(24, 14) + SourceIndex(0) +7 >Emitted(16, 21) Source(24, 21) + SourceIndex(0) +8 >Emitted(16, 23) Source(24, 23) + SourceIndex(0) +9 >Emitted(16, 29) Source(24, 29) + SourceIndex(0) +10>Emitted(16, 31) Source(24, 31) + SourceIndex(0) +11>Emitted(16, 33) Source(24, 33) + SourceIndex(0) +12>Emitted(16, 40) Source(24, 40) + SourceIndex(0) +13>Emitted(16, 42) Source(24, 42) + SourceIndex(0) +14>Emitted(16, 50) Source(24, 50) + SourceIndex(0) +15>Emitted(16, 52) Source(24, 52) + SourceIndex(0) +16>Emitted(16, 61) Source(24, 61) + SourceIndex(0) +17>Emitted(16, 63) Source(24, 63) + SourceIndex(0) +18>Emitted(16, 80) Source(24, 80) + SourceIndex(0) +19>Emitted(16, 82) Source(24, 82) + SourceIndex(0) +20>Emitted(16, 84) Source(24, 84) + SourceIndex(0) +21>Emitted(16, 85) Source(24, 85) + SourceIndex(0) +22>Emitted(16, 86) Source(24, 86) + SourceIndex(0) --- >>>foo2(robotA); 1 > @@ -442,12 +443,12 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 4 > robotA 5 > ) 6 > ; -1 >Emitted(16, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(16, 5) Source(26, 5) + SourceIndex(0) -3 >Emitted(16, 6) Source(26, 6) + SourceIndex(0) -4 >Emitted(16, 12) Source(26, 12) + SourceIndex(0) -5 >Emitted(16, 13) Source(26, 13) + SourceIndex(0) -6 >Emitted(16, 14) Source(26, 14) + SourceIndex(0) +1 >Emitted(17, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(17, 5) Source(26, 5) + SourceIndex(0) +3 >Emitted(17, 6) Source(26, 6) + SourceIndex(0) +4 >Emitted(17, 12) Source(26, 12) + SourceIndex(0) +5 >Emitted(17, 13) Source(26, 13) + SourceIndex(0) +6 >Emitted(17, 14) Source(26, 14) + SourceIndex(0) --- >>>foo2({ name: "Edger", skills: { primary: "edging", secondary: "branch trimming" } }); 1-> @@ -495,28 +496,28 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 20> } 21> ) 22> ; -1->Emitted(17, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(17, 5) Source(27, 5) + SourceIndex(0) -3 >Emitted(17, 6) Source(27, 6) + SourceIndex(0) -4 >Emitted(17, 8) Source(27, 8) + SourceIndex(0) -5 >Emitted(17, 12) Source(27, 12) + SourceIndex(0) -6 >Emitted(17, 14) Source(27, 14) + SourceIndex(0) -7 >Emitted(17, 21) Source(27, 21) + SourceIndex(0) -8 >Emitted(17, 23) Source(27, 23) + SourceIndex(0) -9 >Emitted(17, 29) Source(27, 29) + SourceIndex(0) -10>Emitted(17, 31) Source(27, 31) + SourceIndex(0) -11>Emitted(17, 33) Source(27, 33) + SourceIndex(0) -12>Emitted(17, 40) Source(27, 40) + SourceIndex(0) -13>Emitted(17, 42) Source(27, 42) + SourceIndex(0) -14>Emitted(17, 50) Source(27, 50) + SourceIndex(0) -15>Emitted(17, 52) Source(27, 52) + SourceIndex(0) -16>Emitted(17, 61) Source(27, 61) + SourceIndex(0) -17>Emitted(17, 63) Source(27, 63) + SourceIndex(0) -18>Emitted(17, 80) Source(27, 80) + SourceIndex(0) -19>Emitted(17, 82) Source(27, 82) + SourceIndex(0) -20>Emitted(17, 84) Source(27, 84) + SourceIndex(0) -21>Emitted(17, 85) Source(27, 85) + SourceIndex(0) -22>Emitted(17, 86) Source(27, 86) + SourceIndex(0) +1->Emitted(18, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(18, 5) Source(27, 5) + SourceIndex(0) +3 >Emitted(18, 6) Source(27, 6) + SourceIndex(0) +4 >Emitted(18, 8) Source(27, 8) + SourceIndex(0) +5 >Emitted(18, 12) Source(27, 12) + SourceIndex(0) +6 >Emitted(18, 14) Source(27, 14) + SourceIndex(0) +7 >Emitted(18, 21) Source(27, 21) + SourceIndex(0) +8 >Emitted(18, 23) Source(27, 23) + SourceIndex(0) +9 >Emitted(18, 29) Source(27, 29) + SourceIndex(0) +10>Emitted(18, 31) Source(27, 31) + SourceIndex(0) +11>Emitted(18, 33) Source(27, 33) + SourceIndex(0) +12>Emitted(18, 40) Source(27, 40) + SourceIndex(0) +13>Emitted(18, 42) Source(27, 42) + SourceIndex(0) +14>Emitted(18, 50) Source(27, 50) + SourceIndex(0) +15>Emitted(18, 52) Source(27, 52) + SourceIndex(0) +16>Emitted(18, 61) Source(27, 61) + SourceIndex(0) +17>Emitted(18, 63) Source(27, 63) + SourceIndex(0) +18>Emitted(18, 80) Source(27, 80) + SourceIndex(0) +19>Emitted(18, 82) Source(27, 82) + SourceIndex(0) +20>Emitted(18, 84) Source(27, 84) + SourceIndex(0) +21>Emitted(18, 85) Source(27, 85) + SourceIndex(0) +22>Emitted(18, 86) Source(27, 86) + SourceIndex(0) --- >>>foo3(robotA); 1 > @@ -534,12 +535,12 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 4 > robotA 5 > ) 6 > ; -1 >Emitted(18, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(18, 5) Source(29, 5) + SourceIndex(0) -3 >Emitted(18, 6) Source(29, 6) + SourceIndex(0) -4 >Emitted(18, 12) Source(29, 12) + SourceIndex(0) -5 >Emitted(18, 13) Source(29, 13) + SourceIndex(0) -6 >Emitted(18, 14) Source(29, 14) + SourceIndex(0) +1 >Emitted(19, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(19, 5) Source(29, 5) + SourceIndex(0) +3 >Emitted(19, 6) Source(29, 6) + SourceIndex(0) +4 >Emitted(19, 12) Source(29, 12) + SourceIndex(0) +5 >Emitted(19, 13) Source(29, 13) + SourceIndex(0) +6 >Emitted(19, 14) Source(29, 14) + SourceIndex(0) --- >>>foo3({ name: "Edger", skills: { primary: "edging", secondary: "branch trimming" } }); 1-> @@ -588,27 +589,27 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPattern.t 20> } 21> ) 22> ; -1->Emitted(19, 1) Source(30, 1) + SourceIndex(0) -2 >Emitted(19, 5) Source(30, 5) + SourceIndex(0) -3 >Emitted(19, 6) Source(30, 6) + SourceIndex(0) -4 >Emitted(19, 8) Source(30, 8) + SourceIndex(0) -5 >Emitted(19, 12) Source(30, 12) + SourceIndex(0) -6 >Emitted(19, 14) Source(30, 14) + SourceIndex(0) -7 >Emitted(19, 21) Source(30, 21) + SourceIndex(0) -8 >Emitted(19, 23) Source(30, 23) + SourceIndex(0) -9 >Emitted(19, 29) Source(30, 29) + SourceIndex(0) -10>Emitted(19, 31) Source(30, 31) + SourceIndex(0) -11>Emitted(19, 33) Source(30, 33) + SourceIndex(0) -12>Emitted(19, 40) Source(30, 40) + SourceIndex(0) -13>Emitted(19, 42) Source(30, 42) + SourceIndex(0) -14>Emitted(19, 50) Source(30, 50) + SourceIndex(0) -15>Emitted(19, 52) Source(30, 52) + SourceIndex(0) -16>Emitted(19, 61) Source(30, 61) + SourceIndex(0) -17>Emitted(19, 63) Source(30, 63) + SourceIndex(0) -18>Emitted(19, 80) Source(30, 80) + SourceIndex(0) -19>Emitted(19, 82) Source(30, 82) + SourceIndex(0) -20>Emitted(19, 84) Source(30, 84) + SourceIndex(0) -21>Emitted(19, 85) Source(30, 85) + SourceIndex(0) -22>Emitted(19, 86) Source(30, 86) + SourceIndex(0) +1->Emitted(20, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(30, 5) + SourceIndex(0) +3 >Emitted(20, 6) Source(30, 6) + SourceIndex(0) +4 >Emitted(20, 8) Source(30, 8) + SourceIndex(0) +5 >Emitted(20, 12) Source(30, 12) + SourceIndex(0) +6 >Emitted(20, 14) Source(30, 14) + SourceIndex(0) +7 >Emitted(20, 21) Source(30, 21) + SourceIndex(0) +8 >Emitted(20, 23) Source(30, 23) + SourceIndex(0) +9 >Emitted(20, 29) Source(30, 29) + SourceIndex(0) +10>Emitted(20, 31) Source(30, 31) + SourceIndex(0) +11>Emitted(20, 33) Source(30, 33) + SourceIndex(0) +12>Emitted(20, 40) Source(30, 40) + SourceIndex(0) +13>Emitted(20, 42) Source(30, 42) + SourceIndex(0) +14>Emitted(20, 50) Source(30, 50) + SourceIndex(0) +15>Emitted(20, 52) Source(30, 52) + SourceIndex(0) +16>Emitted(20, 61) Source(30, 61) + SourceIndex(0) +17>Emitted(20, 63) Source(30, 63) + SourceIndex(0) +18>Emitted(20, 80) Source(30, 80) + SourceIndex(0) +19>Emitted(20, 82) Source(30, 82) + SourceIndex(0) +20>Emitted(20, 84) Source(30, 84) + SourceIndex(0) +21>Emitted(20, 85) Source(30, 85) + SourceIndex(0) +22>Emitted(20, 86) Source(30, 86) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringParameterNestedObjectBindingPattern.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js index 5dc03f5985c4c..df99d5f46d7b2 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js @@ -47,6 +47,7 @@ foo3({ name: "Edger", skills: { primary: "edging", secondary: "branch trimming" //// [sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js] +"use strict"; var robotA = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; function foo1(_a) { var _b = _a === void 0 ? robotA : _a, _c = _b.skills, _d = _c === void 0 ? { primary: "SomeSkill", secondary: "someSkill" } : _c, _e = _d.primary, primaryA = _e === void 0 ? "primary" : _e, _f = _d.secondary, secondaryA = _f === void 0 ? "secondary" : _f; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js.map b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js.map index bdc3e61f86435..be7ac0c199c3d 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js.map] -{"version":3,"file":"sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.ts"],"names":[],"mapp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IG5hbWU6ICJFZGdlciIsIHNraWxsczogeyBwcmltYXJ5OiAiZWRnaW5nIiwgc2Vjb25kYXJ5OiAiYnJhbmNoIHRyaW1taW5nIiB9IH0pOwoKZm9vMihyb2JvdEEpOwpmb28yKHsgbmFtZTogIkVkZ2VyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJlZGdpbmciLCBzZWNvbmRhcnk6ICJicmFuY2ggdHJpbW1pbmciIH0gfSk7Cgpmb28zKHJvYm90QSk7CmZvbzMoeyBuYW1lOiAiRWRnZXIiLCBza2lsbHM6IHsgcHJpbWFyeTogImVkZ2luZyIsIHNlY29uZGFyeTogImJyYW5jaCB0cmltbWluZyIgfSB9KTsK +{"version":3,"file":"sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.ts"],"names":[],"mappings":";AAUA,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AAExF,SAAS,IAAI,CACT,EAKiB;QALjB,qBAKW,MAAM,KAAA,EAJb,cAGoD,EAHpD,qBAGI,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,KAAA,EAFhD,eAA6B,EAApB,QAAQ,mBAAG,SAAS,KAAA,EAC7B,iBAAmC,EAAxB,UAAU,mBAAG,WAAW,KAAA;IAG3C,OAAO,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC;AAC1B,CAAC;AACD,SAAS,IAAI,CACT,EAMiB;QANjB,qBAMW,MAAM,KAAA,EALb,YAAoB,EAAd,KAAK,mBAAG,MAAM,KAAA,EACpB,cAGoD,EAHpD,qBAGI,EAAE,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,WAAW,EAAE,KAAA,EAFhD,eAA6B,EAApB,QAAQ,mBAAG,SAAS,KAAA,E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QyA9ICJuYW1lIiwKICAgICAgICBza2lsbHM6IHsKICAgICAgICAgICAgcHJpbWFyeTogcHJpbWFyeUIgPSAicHJpbWFyeSIsCiAgICAgICAgICAgIHNlY29uZGFyeTogc2Vjb25kYXJ5QiA9ICJzZWNvbmRhcnkiCiAgICAgICAgfSA9IHsgcHJpbWFyeTogIlNvbWVTa2lsbCIsIHNlY29uZGFyeTogInNvbWVTa2lsbCIgfQogICAgfTogUm9ib3QgPSByb2JvdEEpIHsKICAgIGNvbnNvbGUubG9nKHNlY29uZGFyeUIpOwp9CmZ1bmN0aW9uIGZvbzMoeyBza2lsbHMgPSB7IHByaW1hcnk6ICJTb21lU2tpbGwiLCBzZWNvbmRhcnk6ICJzb21lU2tpbGwiIH0gIH06IFJvYm90ID0gcm9ib3RBKSB7CiAgICBjb25zb2xlLmxvZyhza2lsbHMucHJpbWFyeSk7Cn0KCmZvbzEocm9ib3RBKTsKZm9vMSh7IG5hbWU6ICJFZGdlciIsIHNraWxsczogeyBwcmltYXJ5OiAiZWRnaW5nIiwgc2Vjb25kYXJ5OiAiYnJhbmNoIHRyaW1taW5nIiB9IH0pOwoKZm9vMihyb2JvdEEpOwpmb28yKHsgbmFtZTogIkVkZ2VyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJlZGdpbmciLCBzZWNvbmRhcnk6ICJicmFuY2ggdHJpbW1pbmciIH0gfSk7Cgpmb28zKHJvYm90QSk7CmZvbzMoeyBuYW1lOiAiRWRnZXIiLCBza2lsbHM6IHsgcHJpbWFyeTogImVkZ2luZyIsIHNlY29uZGFyeTogImJyYW5jaCB0cmltbWluZyIgfSB9KTsK diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.sourcemap.txt index 32c07dcebfb3b..b290229623909 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefa emittedFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; 1 > 2 >^^^^ @@ -63,28 +64,28 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 20> } 21> } 22> ; -1 >Emitted(1, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(11, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(11, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(11, 21) + SourceIndex(0) -5 >Emitted(1, 16) Source(11, 23) + SourceIndex(0) -6 >Emitted(1, 20) Source(11, 27) + SourceIndex(0) -7 >Emitted(1, 22) Source(11, 29) + SourceIndex(0) -8 >Emitted(1, 29) Source(11, 36) + SourceIndex(0) -9 >Emitted(1, 31) Source(11, 38) + SourceIndex(0) -10>Emitted(1, 37) Source(11, 44) + SourceIndex(0) -11>Emitted(1, 39) Source(11, 46) + SourceIndex(0) -12>Emitted(1, 41) Source(11, 48) + SourceIndex(0) -13>Emitted(1, 48) Source(11, 55) + SourceIndex(0) -14>Emitted(1, 50) Source(11, 57) + SourceIndex(0) -15>Emitted(1, 58) Source(11, 65) + SourceIndex(0) -16>Emitted(1, 60) Source(11, 67) + SourceIndex(0) -17>Emitted(1, 69) Source(11, 76) + SourceIndex(0) -18>Emitted(1, 71) Source(11, 78) + SourceIndex(0) -19>Emitted(1, 77) Source(11, 84) + SourceIndex(0) -20>Emitted(1, 79) Source(11, 86) + SourceIndex(0) -21>Emitted(1, 81) Source(11, 88) + SourceIndex(0) -22>Emitted(1, 82) Source(11, 89) + SourceIndex(0) +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(11, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(11, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(11, 21) + SourceIndex(0) +5 >Emitted(2, 16) Source(11, 23) + SourceIndex(0) +6 >Emitted(2, 20) Source(11, 27) + SourceIndex(0) +7 >Emitted(2, 22) Source(11, 29) + SourceIndex(0) +8 >Emitted(2, 29) Source(11, 36) + SourceIndex(0) +9 >Emitted(2, 31) Source(11, 38) + SourceIndex(0) +10>Emitted(2, 37) Source(11, 44) + SourceIndex(0) +11>Emitted(2, 39) Source(11, 46) + SourceIndex(0) +12>Emitted(2, 41) Source(11, 48) + SourceIndex(0) +13>Emitted(2, 48) Source(11, 55) + SourceIndex(0) +14>Emitted(2, 50) Source(11, 57) + SourceIndex(0) +15>Emitted(2, 58) Source(11, 65) + SourceIndex(0) +16>Emitted(2, 60) Source(11, 67) + SourceIndex(0) +17>Emitted(2, 69) Source(11, 76) + SourceIndex(0) +18>Emitted(2, 71) Source(11, 78) + SourceIndex(0) +19>Emitted(2, 77) Source(11, 84) + SourceIndex(0) +20>Emitted(2, 79) Source(11, 86) + SourceIndex(0) +21>Emitted(2, 81) Source(11, 88) + SourceIndex(0) +22>Emitted(2, 82) Source(11, 89) + SourceIndex(0) --- >>>function foo1(_a) { 1 > @@ -106,11 +107,11 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe > secondary: secondaryA = "secondary" > } = { primary: "SomeSkill", secondary: "someSkill" } > }: Robot = robotA -1 >Emitted(2, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(2, 10) Source(13, 10) + SourceIndex(0) -3 >Emitted(2, 14) Source(13, 14) + SourceIndex(0) -4 >Emitted(2, 15) Source(14, 5) + SourceIndex(0) -5 >Emitted(2, 17) Source(19, 22) + SourceIndex(0) +1 >Emitted(3, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(3, 10) Source(13, 10) + SourceIndex(0) +3 >Emitted(3, 14) Source(13, 14) + SourceIndex(0) +4 >Emitted(3, 15) Source(14, 5) + SourceIndex(0) +5 >Emitted(3, 17) Source(19, 22) + SourceIndex(0) --- >>> var _b = _a === void 0 ? robotA : _a, _c = _b.skills, _d = _c === void 0 ? { primary: "SomeSkill", secondary: "someSkill" } : _c, _e = _d.primary, primaryA = _e === void 0 ? "primary" : _e, _f = _d.secondary, secondaryA = _f === void 0 ? "secondary" : _f; 1->^^^^^^^^ @@ -189,38 +190,38 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 30> = 31> "secondary" 32> -1->Emitted(3, 9) Source(14, 5) + SourceIndex(0) -2 >Emitted(3, 30) Source(19, 16) + SourceIndex(0) -3 >Emitted(3, 36) Source(19, 22) + SourceIndex(0) -4 >Emitted(3, 41) Source(19, 22) + SourceIndex(0) -5 >Emitted(3, 43) Source(15, 9) + SourceIndex(0) -6 >Emitted(3, 57) Source(18, 61) + SourceIndex(0) -7 >Emitted(3, 59) Source(15, 9) + SourceIndex(0) -8 >Emitted(3, 80) Source(18, 13) + SourceIndex(0) -9 >Emitted(3, 82) Source(18, 15) + SourceIndex(0) -10>Emitted(3, 89) Source(18, 22) + SourceIndex(0) -11>Emitted(3, 91) Source(18, 24) + SourceIndex(0) -12>Emitted(3, 102) Source(18, 35) + SourceIndex(0) -13>Emitted(3, 104) Source(18, 37) + SourceIndex(0) -14>Emitted(3, 113) Source(18, 46) + SourceIndex(0) -15>Emitted(3, 115) Source(18, 48) + SourceIndex(0) -16>Emitted(3, 126) Source(18, 59) + SourceIndex(0) -17>Emitted(3, 128) Source(18, 61) + SourceIndex(0) -18>Emitted(3, 133) Source(18, 61) + SourceIndex(0) -19>Emitted(3, 135) Source(16, 13) + SourceIndex(0) -20>Emitted(3, 150) Source(16, 42) + SourceIndex(0) -21>Emitted(3, 152) Source(16, 22) + SourceIndex(0) -22>Emitted(3, 160) Source(16, 30) + SourceIndex(0) -23>Emitted(3, 179) Source(16, 33) + SourceIndex(0) -24>Emitted(3, 188) Source(16, 42) + SourceIndex(0) -25>Emitted(3, 193) Source(16, 42) + SourceIndex(0) -26>Emitted(3, 195) Source(17, 13) + SourceIndex(0) -27>Emitted(3, 212) Source(17, 48) + SourceIndex(0) -28>Emitted(3, 214) Source(17, 24) + SourceIndex(0) -29>Emitted(3, 224) Source(17, 34) + SourceIndex(0) -30>Emitted(3, 243) Source(17, 37) + SourceIndex(0) -31>Emitted(3, 254) Source(17, 48) + SourceIndex(0) -32>Emitted(3, 259) Source(17, 48) + SourceIndex(0) +1->Emitted(4, 9) Source(14, 5) + SourceIndex(0) +2 >Emitted(4, 30) Source(19, 16) + SourceIndex(0) +3 >Emitted(4, 36) Source(19, 22) + SourceIndex(0) +4 >Emitted(4, 41) Source(19, 22) + SourceIndex(0) +5 >Emitted(4, 43) Source(15, 9) + SourceIndex(0) +6 >Emitted(4, 57) Source(18, 61) + SourceIndex(0) +7 >Emitted(4, 59) Source(15, 9) + SourceIndex(0) +8 >Emitted(4, 80) Source(18, 13) + SourceIndex(0) +9 >Emitted(4, 82) Source(18, 15) + SourceIndex(0) +10>Emitted(4, 89) Source(18, 22) + SourceIndex(0) +11>Emitted(4, 91) Source(18, 24) + SourceIndex(0) +12>Emitted(4, 102) Source(18, 35) + SourceIndex(0) +13>Emitted(4, 104) Source(18, 37) + SourceIndex(0) +14>Emitted(4, 113) Source(18, 46) + SourceIndex(0) +15>Emitted(4, 115) Source(18, 48) + SourceIndex(0) +16>Emitted(4, 126) Source(18, 59) + SourceIndex(0) +17>Emitted(4, 128) Source(18, 61) + SourceIndex(0) +18>Emitted(4, 133) Source(18, 61) + SourceIndex(0) +19>Emitted(4, 135) Source(16, 13) + SourceIndex(0) +20>Emitted(4, 150) Source(16, 42) + SourceIndex(0) +21>Emitted(4, 152) Source(16, 22) + SourceIndex(0) +22>Emitted(4, 160) Source(16, 30) + SourceIndex(0) +23>Emitted(4, 179) Source(16, 33) + SourceIndex(0) +24>Emitted(4, 188) Source(16, 42) + SourceIndex(0) +25>Emitted(4, 193) Source(16, 42) + SourceIndex(0) +26>Emitted(4, 195) Source(17, 13) + SourceIndex(0) +27>Emitted(4, 212) Source(17, 48) + SourceIndex(0) +28>Emitted(4, 214) Source(17, 24) + SourceIndex(0) +29>Emitted(4, 224) Source(17, 34) + SourceIndex(0) +30>Emitted(4, 243) Source(17, 37) + SourceIndex(0) +31>Emitted(4, 254) Source(17, 48) + SourceIndex(0) +32>Emitted(4, 259) Source(17, 48) + SourceIndex(0) --- >>> console.log(primaryA); 1 >^^^^ @@ -242,14 +243,14 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 6 > primaryA 7 > ) 8 > ; -1 >Emitted(4, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(20, 12) + SourceIndex(0) -3 >Emitted(4, 13) Source(20, 13) + SourceIndex(0) -4 >Emitted(4, 16) Source(20, 16) + SourceIndex(0) -5 >Emitted(4, 17) Source(20, 17) + SourceIndex(0) -6 >Emitted(4, 25) Source(20, 25) + SourceIndex(0) -7 >Emitted(4, 26) Source(20, 26) + SourceIndex(0) -8 >Emitted(4, 27) Source(20, 27) + SourceIndex(0) +1 >Emitted(5, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(20, 12) + SourceIndex(0) +3 >Emitted(5, 13) Source(20, 13) + SourceIndex(0) +4 >Emitted(5, 16) Source(20, 16) + SourceIndex(0) +5 >Emitted(5, 17) Source(20, 17) + SourceIndex(0) +6 >Emitted(5, 25) Source(20, 25) + SourceIndex(0) +7 >Emitted(5, 26) Source(20, 26) + SourceIndex(0) +8 >Emitted(5, 27) Source(20, 27) + SourceIndex(0) --- >>>} 1 > @@ -258,8 +259,8 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 1 > > 2 >} -1 >Emitted(5, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(21, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(21, 2) + SourceIndex(0) --- >>>function foo2(_a) { 1-> @@ -281,11 +282,11 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe > secondary: secondaryB = "secondary" > } = { primary: "SomeSkill", secondary: "someSkill" } > }: Robot = robotA -1->Emitted(6, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(6, 10) Source(22, 10) + SourceIndex(0) -3 >Emitted(6, 14) Source(22, 14) + SourceIndex(0) -4 >Emitted(6, 15) Source(23, 5) + SourceIndex(0) -5 >Emitted(6, 17) Source(29, 22) + SourceIndex(0) +1->Emitted(7, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(7, 10) Source(22, 10) + SourceIndex(0) +3 >Emitted(7, 14) Source(22, 14) + SourceIndex(0) +4 >Emitted(7, 15) Source(23, 5) + SourceIndex(0) +5 >Emitted(7, 17) Source(29, 22) + SourceIndex(0) --- >>> var _b = _a === void 0 ? robotA : _a, _c = _b.name, nameC = _c === void 0 ? "name" : _c, _d = _b.skills, _e = _d === void 0 ? { primary: "SomeSkill", secondary: "someSkill" } : _d, _f = _e.primary, primaryB = _f === void 0 ? "primary" : _f, _g = _e.secondary, secondaryB = _g === void 0 ? "secondary" : _g; 1->^^^^^^^^ @@ -380,45 +381,45 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 37> = 38> "secondary" 39> -1->Emitted(7, 9) Source(23, 5) + SourceIndex(0) -2 >Emitted(7, 30) Source(29, 16) + SourceIndex(0) -3 >Emitted(7, 36) Source(29, 22) + SourceIndex(0) -4 >Emitted(7, 41) Source(29, 22) + SourceIndex(0) -5 >Emitted(7, 43) Source(24, 9) + SourceIndex(0) -6 >Emitted(7, 55) Source(24, 29) + SourceIndex(0) -7 >Emitted(7, 57) Source(24, 15) + SourceIndex(0) -8 >Emitted(7, 62) Source(24, 20) + SourceIndex(0) -9 >Emitted(7, 81) Source(24, 23) + SourceIndex(0) -10>Emitted(7, 87) Source(24, 29) + SourceIndex(0) -11>Emitted(7, 92) Source(24, 29) + SourceIndex(0) -12>Emitted(7, 94) Source(25, 9) + SourceIndex(0) -13>Emitted(7, 108) Source(28, 61) + SourceIndex(0) -14>Emitted(7, 110) Source(25, 9) + SourceIndex(0) -15>Emitted(7, 131) Source(28, 13) + SourceIndex(0) -16>Emitted(7, 133) Source(28, 15) + SourceIndex(0) -17>Emitted(7, 140) Source(28, 22) + SourceIndex(0) -18>Emitted(7, 142) Source(28, 24) + SourceIndex(0) -19>Emitted(7, 153) Source(28, 35) + SourceIndex(0) -20>Emitted(7, 155) Source(28, 37) + SourceIndex(0) -21>Emitted(7, 164) Source(28, 46) + SourceIndex(0) -22>Emitted(7, 166) Source(28, 48) + SourceIndex(0) -23>Emitted(7, 177) Source(28, 59) + SourceIndex(0) -24>Emitted(7, 179) Source(28, 61) + SourceIndex(0) -25>Emitted(7, 184) Source(28, 61) + SourceIndex(0) -26>Emitted(7, 186) Source(26, 13) + SourceIndex(0) -27>Emitted(7, 201) Source(26, 42) + SourceIndex(0) -28>Emitted(7, 203) Source(26, 22) + SourceIndex(0) -29>Emitted(7, 211) Source(26, 30) + SourceIndex(0) -30>Emitted(7, 230) Source(26, 33) + SourceIndex(0) -31>Emitted(7, 239) Source(26, 42) + SourceIndex(0) -32>Emitted(7, 244) Source(26, 42) + SourceIndex(0) -33>Emitted(7, 246) Source(27, 13) + SourceIndex(0) -34>Emitted(7, 263) Source(27, 48) + SourceIndex(0) -35>Emitted(7, 265) Source(27, 24) + SourceIndex(0) -36>Emitted(7, 275) Source(27, 34) + SourceIndex(0) -37>Emitted(7, 294) Source(27, 37) + SourceIndex(0) -38>Emitted(7, 305) Source(27, 48) + SourceIndex(0) -39>Emitted(7, 310) Source(27, 48) + SourceIndex(0) +1->Emitted(8, 9) Source(23, 5) + SourceIndex(0) +2 >Emitted(8, 30) Source(29, 16) + SourceIndex(0) +3 >Emitted(8, 36) Source(29, 22) + SourceIndex(0) +4 >Emitted(8, 41) Source(29, 22) + SourceIndex(0) +5 >Emitted(8, 43) Source(24, 9) + SourceIndex(0) +6 >Emitted(8, 55) Source(24, 29) + SourceIndex(0) +7 >Emitted(8, 57) Source(24, 15) + SourceIndex(0) +8 >Emitted(8, 62) Source(24, 20) + SourceIndex(0) +9 >Emitted(8, 81) Source(24, 23) + SourceIndex(0) +10>Emitted(8, 87) Source(24, 29) + SourceIndex(0) +11>Emitted(8, 92) Source(24, 29) + SourceIndex(0) +12>Emitted(8, 94) Source(25, 9) + SourceIndex(0) +13>Emitted(8, 108) Source(28, 61) + SourceIndex(0) +14>Emitted(8, 110) Source(25, 9) + SourceIndex(0) +15>Emitted(8, 131) Source(28, 13) + SourceIndex(0) +16>Emitted(8, 133) Source(28, 15) + SourceIndex(0) +17>Emitted(8, 140) Source(28, 22) + SourceIndex(0) +18>Emitted(8, 142) Source(28, 24) + SourceIndex(0) +19>Emitted(8, 153) Source(28, 35) + SourceIndex(0) +20>Emitted(8, 155) Source(28, 37) + SourceIndex(0) +21>Emitted(8, 164) Source(28, 46) + SourceIndex(0) +22>Emitted(8, 166) Source(28, 48) + SourceIndex(0) +23>Emitted(8, 177) Source(28, 59) + SourceIndex(0) +24>Emitted(8, 179) Source(28, 61) + SourceIndex(0) +25>Emitted(8, 184) Source(28, 61) + SourceIndex(0) +26>Emitted(8, 186) Source(26, 13) + SourceIndex(0) +27>Emitted(8, 201) Source(26, 42) + SourceIndex(0) +28>Emitted(8, 203) Source(26, 22) + SourceIndex(0) +29>Emitted(8, 211) Source(26, 30) + SourceIndex(0) +30>Emitted(8, 230) Source(26, 33) + SourceIndex(0) +31>Emitted(8, 239) Source(26, 42) + SourceIndex(0) +32>Emitted(8, 244) Source(26, 42) + SourceIndex(0) +33>Emitted(8, 246) Source(27, 13) + SourceIndex(0) +34>Emitted(8, 263) Source(27, 48) + SourceIndex(0) +35>Emitted(8, 265) Source(27, 24) + SourceIndex(0) +36>Emitted(8, 275) Source(27, 34) + SourceIndex(0) +37>Emitted(8, 294) Source(27, 37) + SourceIndex(0) +38>Emitted(8, 305) Source(27, 48) + SourceIndex(0) +39>Emitted(8, 310) Source(27, 48) + SourceIndex(0) --- >>> console.log(secondaryB); 1 >^^^^ @@ -440,14 +441,14 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 6 > secondaryB 7 > ) 8 > ; -1 >Emitted(8, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(30, 12) + SourceIndex(0) -3 >Emitted(8, 13) Source(30, 13) + SourceIndex(0) -4 >Emitted(8, 16) Source(30, 16) + SourceIndex(0) -5 >Emitted(8, 17) Source(30, 17) + SourceIndex(0) -6 >Emitted(8, 27) Source(30, 27) + SourceIndex(0) -7 >Emitted(8, 28) Source(30, 28) + SourceIndex(0) -8 >Emitted(8, 29) Source(30, 29) + SourceIndex(0) +1 >Emitted(9, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(30, 12) + SourceIndex(0) +3 >Emitted(9, 13) Source(30, 13) + SourceIndex(0) +4 >Emitted(9, 16) Source(30, 16) + SourceIndex(0) +5 >Emitted(9, 17) Source(30, 17) + SourceIndex(0) +6 >Emitted(9, 27) Source(30, 27) + SourceIndex(0) +7 >Emitted(9, 28) Source(30, 28) + SourceIndex(0) +8 >Emitted(9, 29) Source(30, 29) + SourceIndex(0) --- >>>} 1 > @@ -456,8 +457,8 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 1 > > 2 >} -1 >Emitted(9, 1) Source(31, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(31, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(31, 2) + SourceIndex(0) --- >>>function foo3(_a) { 1-> @@ -472,11 +473,11 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 3 > foo3 4 > ( 5 > { skills = { primary: "SomeSkill", secondary: "someSkill" } }: Robot = robotA -1->Emitted(10, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(10, 10) Source(32, 10) + SourceIndex(0) -3 >Emitted(10, 14) Source(32, 14) + SourceIndex(0) -4 >Emitted(10, 15) Source(32, 15) + SourceIndex(0) -5 >Emitted(10, 17) Source(32, 93) + SourceIndex(0) +1->Emitted(11, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(11, 10) Source(32, 10) + SourceIndex(0) +3 >Emitted(11, 14) Source(32, 14) + SourceIndex(0) +4 >Emitted(11, 15) Source(32, 15) + SourceIndex(0) +5 >Emitted(11, 17) Source(32, 93) + SourceIndex(0) --- >>> var _b = _a === void 0 ? robotA : _a, _c = _b.skills, skills = _c === void 0 ? { primary: "SomeSkill", secondary: "someSkill" } : _c; 1->^^^^^^^^ @@ -517,25 +518,25 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 17> "someSkill" 18> } 19> -1->Emitted(11, 9) Source(32, 15) + SourceIndex(0) -2 >Emitted(11, 30) Source(32, 87) + SourceIndex(0) -3 >Emitted(11, 36) Source(32, 93) + SourceIndex(0) -4 >Emitted(11, 41) Source(32, 93) + SourceIndex(0) -5 >Emitted(11, 43) Source(32, 17) + SourceIndex(0) -6 >Emitted(11, 57) Source(32, 74) + SourceIndex(0) -7 >Emitted(11, 59) Source(32, 17) + SourceIndex(0) -8 >Emitted(11, 65) Source(32, 23) + SourceIndex(0) -9 >Emitted(11, 84) Source(32, 26) + SourceIndex(0) -10>Emitted(11, 86) Source(32, 28) + SourceIndex(0) -11>Emitted(11, 93) Source(32, 35) + SourceIndex(0) -12>Emitted(11, 95) Source(32, 37) + SourceIndex(0) -13>Emitted(11, 106) Source(32, 48) + SourceIndex(0) -14>Emitted(11, 108) Source(32, 50) + SourceIndex(0) -15>Emitted(11, 117) Source(32, 59) + SourceIndex(0) -16>Emitted(11, 119) Source(32, 61) + SourceIndex(0) -17>Emitted(11, 130) Source(32, 72) + SourceIndex(0) -18>Emitted(11, 132) Source(32, 74) + SourceIndex(0) -19>Emitted(11, 137) Source(32, 74) + SourceIndex(0) +1->Emitted(12, 9) Source(32, 15) + SourceIndex(0) +2 >Emitted(12, 30) Source(32, 87) + SourceIndex(0) +3 >Emitted(12, 36) Source(32, 93) + SourceIndex(0) +4 >Emitted(12, 41) Source(32, 93) + SourceIndex(0) +5 >Emitted(12, 43) Source(32, 17) + SourceIndex(0) +6 >Emitted(12, 57) Source(32, 74) + SourceIndex(0) +7 >Emitted(12, 59) Source(32, 17) + SourceIndex(0) +8 >Emitted(12, 65) Source(32, 23) + SourceIndex(0) +9 >Emitted(12, 84) Source(32, 26) + SourceIndex(0) +10>Emitted(12, 86) Source(32, 28) + SourceIndex(0) +11>Emitted(12, 93) Source(32, 35) + SourceIndex(0) +12>Emitted(12, 95) Source(32, 37) + SourceIndex(0) +13>Emitted(12, 106) Source(32, 48) + SourceIndex(0) +14>Emitted(12, 108) Source(32, 50) + SourceIndex(0) +15>Emitted(12, 117) Source(32, 59) + SourceIndex(0) +16>Emitted(12, 119) Source(32, 61) + SourceIndex(0) +17>Emitted(12, 130) Source(32, 72) + SourceIndex(0) +18>Emitted(12, 132) Source(32, 74) + SourceIndex(0) +19>Emitted(12, 137) Source(32, 74) + SourceIndex(0) --- >>> console.log(skills.primary); 1 >^^^^ @@ -559,16 +560,16 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 8 > primary 9 > ) 10> ; -1 >Emitted(12, 5) Source(33, 5) + SourceIndex(0) -2 >Emitted(12, 12) Source(33, 12) + SourceIndex(0) -3 >Emitted(12, 13) Source(33, 13) + SourceIndex(0) -4 >Emitted(12, 16) Source(33, 16) + SourceIndex(0) -5 >Emitted(12, 17) Source(33, 17) + SourceIndex(0) -6 >Emitted(12, 23) Source(33, 23) + SourceIndex(0) -7 >Emitted(12, 24) Source(33, 24) + SourceIndex(0) -8 >Emitted(12, 31) Source(33, 31) + SourceIndex(0) -9 >Emitted(12, 32) Source(33, 32) + SourceIndex(0) -10>Emitted(12, 33) Source(33, 33) + SourceIndex(0) +1 >Emitted(13, 5) Source(33, 5) + SourceIndex(0) +2 >Emitted(13, 12) Source(33, 12) + SourceIndex(0) +3 >Emitted(13, 13) Source(33, 13) + SourceIndex(0) +4 >Emitted(13, 16) Source(33, 16) + SourceIndex(0) +5 >Emitted(13, 17) Source(33, 17) + SourceIndex(0) +6 >Emitted(13, 23) Source(33, 23) + SourceIndex(0) +7 >Emitted(13, 24) Source(33, 24) + SourceIndex(0) +8 >Emitted(13, 31) Source(33, 31) + SourceIndex(0) +9 >Emitted(13, 32) Source(33, 32) + SourceIndex(0) +10>Emitted(13, 33) Source(33, 33) + SourceIndex(0) --- >>>} 1 > @@ -577,8 +578,8 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 1 > > 2 >} -1 >Emitted(13, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(34, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(34, 2) + SourceIndex(0) --- >>>foo1(robotA); 1-> @@ -596,12 +597,12 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 4 > robotA 5 > ) 6 > ; -1->Emitted(14, 1) Source(36, 1) + SourceIndex(0) -2 >Emitted(14, 5) Source(36, 5) + SourceIndex(0) -3 >Emitted(14, 6) Source(36, 6) + SourceIndex(0) -4 >Emitted(14, 12) Source(36, 12) + SourceIndex(0) -5 >Emitted(14, 13) Source(36, 13) + SourceIndex(0) -6 >Emitted(14, 14) Source(36, 14) + SourceIndex(0) +1->Emitted(15, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(15, 5) Source(36, 5) + SourceIndex(0) +3 >Emitted(15, 6) Source(36, 6) + SourceIndex(0) +4 >Emitted(15, 12) Source(36, 12) + SourceIndex(0) +5 >Emitted(15, 13) Source(36, 13) + SourceIndex(0) +6 >Emitted(15, 14) Source(36, 14) + SourceIndex(0) --- >>>foo1({ name: "Edger", skills: { primary: "edging", secondary: "branch trimming" } }); 1-> @@ -649,28 +650,28 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 20> } 21> ) 22> ; -1->Emitted(15, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(15, 5) Source(37, 5) + SourceIndex(0) -3 >Emitted(15, 6) Source(37, 6) + SourceIndex(0) -4 >Emitted(15, 8) Source(37, 8) + SourceIndex(0) -5 >Emitted(15, 12) Source(37, 12) + SourceIndex(0) -6 >Emitted(15, 14) Source(37, 14) + SourceIndex(0) -7 >Emitted(15, 21) Source(37, 21) + SourceIndex(0) -8 >Emitted(15, 23) Source(37, 23) + SourceIndex(0) -9 >Emitted(15, 29) Source(37, 29) + SourceIndex(0) -10>Emitted(15, 31) Source(37, 31) + SourceIndex(0) -11>Emitted(15, 33) Source(37, 33) + SourceIndex(0) -12>Emitted(15, 40) Source(37, 40) + SourceIndex(0) -13>Emitted(15, 42) Source(37, 42) + SourceIndex(0) -14>Emitted(15, 50) Source(37, 50) + SourceIndex(0) -15>Emitted(15, 52) Source(37, 52) + SourceIndex(0) -16>Emitted(15, 61) Source(37, 61) + SourceIndex(0) -17>Emitted(15, 63) Source(37, 63) + SourceIndex(0) -18>Emitted(15, 80) Source(37, 80) + SourceIndex(0) -19>Emitted(15, 82) Source(37, 82) + SourceIndex(0) -20>Emitted(15, 84) Source(37, 84) + SourceIndex(0) -21>Emitted(15, 85) Source(37, 85) + SourceIndex(0) -22>Emitted(15, 86) Source(37, 86) + SourceIndex(0) +1->Emitted(16, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(16, 5) Source(37, 5) + SourceIndex(0) +3 >Emitted(16, 6) Source(37, 6) + SourceIndex(0) +4 >Emitted(16, 8) Source(37, 8) + SourceIndex(0) +5 >Emitted(16, 12) Source(37, 12) + SourceIndex(0) +6 >Emitted(16, 14) Source(37, 14) + SourceIndex(0) +7 >Emitted(16, 21) Source(37, 21) + SourceIndex(0) +8 >Emitted(16, 23) Source(37, 23) + SourceIndex(0) +9 >Emitted(16, 29) Source(37, 29) + SourceIndex(0) +10>Emitted(16, 31) Source(37, 31) + SourceIndex(0) +11>Emitted(16, 33) Source(37, 33) + SourceIndex(0) +12>Emitted(16, 40) Source(37, 40) + SourceIndex(0) +13>Emitted(16, 42) Source(37, 42) + SourceIndex(0) +14>Emitted(16, 50) Source(37, 50) + SourceIndex(0) +15>Emitted(16, 52) Source(37, 52) + SourceIndex(0) +16>Emitted(16, 61) Source(37, 61) + SourceIndex(0) +17>Emitted(16, 63) Source(37, 63) + SourceIndex(0) +18>Emitted(16, 80) Source(37, 80) + SourceIndex(0) +19>Emitted(16, 82) Source(37, 82) + SourceIndex(0) +20>Emitted(16, 84) Source(37, 84) + SourceIndex(0) +21>Emitted(16, 85) Source(37, 85) + SourceIndex(0) +22>Emitted(16, 86) Source(37, 86) + SourceIndex(0) --- >>>foo2(robotA); 1 > @@ -688,12 +689,12 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 4 > robotA 5 > ) 6 > ; -1 >Emitted(16, 1) Source(39, 1) + SourceIndex(0) -2 >Emitted(16, 5) Source(39, 5) + SourceIndex(0) -3 >Emitted(16, 6) Source(39, 6) + SourceIndex(0) -4 >Emitted(16, 12) Source(39, 12) + SourceIndex(0) -5 >Emitted(16, 13) Source(39, 13) + SourceIndex(0) -6 >Emitted(16, 14) Source(39, 14) + SourceIndex(0) +1 >Emitted(17, 1) Source(39, 1) + SourceIndex(0) +2 >Emitted(17, 5) Source(39, 5) + SourceIndex(0) +3 >Emitted(17, 6) Source(39, 6) + SourceIndex(0) +4 >Emitted(17, 12) Source(39, 12) + SourceIndex(0) +5 >Emitted(17, 13) Source(39, 13) + SourceIndex(0) +6 >Emitted(17, 14) Source(39, 14) + SourceIndex(0) --- >>>foo2({ name: "Edger", skills: { primary: "edging", secondary: "branch trimming" } }); 1-> @@ -741,28 +742,28 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 20> } 21> ) 22> ; -1->Emitted(17, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(17, 5) Source(40, 5) + SourceIndex(0) -3 >Emitted(17, 6) Source(40, 6) + SourceIndex(0) -4 >Emitted(17, 8) Source(40, 8) + SourceIndex(0) -5 >Emitted(17, 12) Source(40, 12) + SourceIndex(0) -6 >Emitted(17, 14) Source(40, 14) + SourceIndex(0) -7 >Emitted(17, 21) Source(40, 21) + SourceIndex(0) -8 >Emitted(17, 23) Source(40, 23) + SourceIndex(0) -9 >Emitted(17, 29) Source(40, 29) + SourceIndex(0) -10>Emitted(17, 31) Source(40, 31) + SourceIndex(0) -11>Emitted(17, 33) Source(40, 33) + SourceIndex(0) -12>Emitted(17, 40) Source(40, 40) + SourceIndex(0) -13>Emitted(17, 42) Source(40, 42) + SourceIndex(0) -14>Emitted(17, 50) Source(40, 50) + SourceIndex(0) -15>Emitted(17, 52) Source(40, 52) + SourceIndex(0) -16>Emitted(17, 61) Source(40, 61) + SourceIndex(0) -17>Emitted(17, 63) Source(40, 63) + SourceIndex(0) -18>Emitted(17, 80) Source(40, 80) + SourceIndex(0) -19>Emitted(17, 82) Source(40, 82) + SourceIndex(0) -20>Emitted(17, 84) Source(40, 84) + SourceIndex(0) -21>Emitted(17, 85) Source(40, 85) + SourceIndex(0) -22>Emitted(17, 86) Source(40, 86) + SourceIndex(0) +1->Emitted(18, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(18, 5) Source(40, 5) + SourceIndex(0) +3 >Emitted(18, 6) Source(40, 6) + SourceIndex(0) +4 >Emitted(18, 8) Source(40, 8) + SourceIndex(0) +5 >Emitted(18, 12) Source(40, 12) + SourceIndex(0) +6 >Emitted(18, 14) Source(40, 14) + SourceIndex(0) +7 >Emitted(18, 21) Source(40, 21) + SourceIndex(0) +8 >Emitted(18, 23) Source(40, 23) + SourceIndex(0) +9 >Emitted(18, 29) Source(40, 29) + SourceIndex(0) +10>Emitted(18, 31) Source(40, 31) + SourceIndex(0) +11>Emitted(18, 33) Source(40, 33) + SourceIndex(0) +12>Emitted(18, 40) Source(40, 40) + SourceIndex(0) +13>Emitted(18, 42) Source(40, 42) + SourceIndex(0) +14>Emitted(18, 50) Source(40, 50) + SourceIndex(0) +15>Emitted(18, 52) Source(40, 52) + SourceIndex(0) +16>Emitted(18, 61) Source(40, 61) + SourceIndex(0) +17>Emitted(18, 63) Source(40, 63) + SourceIndex(0) +18>Emitted(18, 80) Source(40, 80) + SourceIndex(0) +19>Emitted(18, 82) Source(40, 82) + SourceIndex(0) +20>Emitted(18, 84) Source(40, 84) + SourceIndex(0) +21>Emitted(18, 85) Source(40, 85) + SourceIndex(0) +22>Emitted(18, 86) Source(40, 86) + SourceIndex(0) --- >>>foo3(robotA); 1 > @@ -780,12 +781,12 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 4 > robotA 5 > ) 6 > ; -1 >Emitted(18, 1) Source(42, 1) + SourceIndex(0) -2 >Emitted(18, 5) Source(42, 5) + SourceIndex(0) -3 >Emitted(18, 6) Source(42, 6) + SourceIndex(0) -4 >Emitted(18, 12) Source(42, 12) + SourceIndex(0) -5 >Emitted(18, 13) Source(42, 13) + SourceIndex(0) -6 >Emitted(18, 14) Source(42, 14) + SourceIndex(0) +1 >Emitted(19, 1) Source(42, 1) + SourceIndex(0) +2 >Emitted(19, 5) Source(42, 5) + SourceIndex(0) +3 >Emitted(19, 6) Source(42, 6) + SourceIndex(0) +4 >Emitted(19, 12) Source(42, 12) + SourceIndex(0) +5 >Emitted(19, 13) Source(42, 13) + SourceIndex(0) +6 >Emitted(19, 14) Source(42, 14) + SourceIndex(0) --- >>>foo3({ name: "Edger", skills: { primary: "edging", secondary: "branch trimming" } }); 1-> @@ -834,27 +835,27 @@ sourceFile:sourceMapValidationDestructuringParameterNestedObjectBindingPatternDe 20> } 21> ) 22> ; -1->Emitted(19, 1) Source(43, 1) + SourceIndex(0) -2 >Emitted(19, 5) Source(43, 5) + SourceIndex(0) -3 >Emitted(19, 6) Source(43, 6) + SourceIndex(0) -4 >Emitted(19, 8) Source(43, 8) + SourceIndex(0) -5 >Emitted(19, 12) Source(43, 12) + SourceIndex(0) -6 >Emitted(19, 14) Source(43, 14) + SourceIndex(0) -7 >Emitted(19, 21) Source(43, 21) + SourceIndex(0) -8 >Emitted(19, 23) Source(43, 23) + SourceIndex(0) -9 >Emitted(19, 29) Source(43, 29) + SourceIndex(0) -10>Emitted(19, 31) Source(43, 31) + SourceIndex(0) -11>Emitted(19, 33) Source(43, 33) + SourceIndex(0) -12>Emitted(19, 40) Source(43, 40) + SourceIndex(0) -13>Emitted(19, 42) Source(43, 42) + SourceIndex(0) -14>Emitted(19, 50) Source(43, 50) + SourceIndex(0) -15>Emitted(19, 52) Source(43, 52) + SourceIndex(0) -16>Emitted(19, 61) Source(43, 61) + SourceIndex(0) -17>Emitted(19, 63) Source(43, 63) + SourceIndex(0) -18>Emitted(19, 80) Source(43, 80) + SourceIndex(0) -19>Emitted(19, 82) Source(43, 82) + SourceIndex(0) -20>Emitted(19, 84) Source(43, 84) + SourceIndex(0) -21>Emitted(19, 85) Source(43, 85) + SourceIndex(0) -22>Emitted(19, 86) Source(43, 86) + SourceIndex(0) +1->Emitted(20, 1) Source(43, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(43, 5) + SourceIndex(0) +3 >Emitted(20, 6) Source(43, 6) + SourceIndex(0) +4 >Emitted(20, 8) Source(43, 8) + SourceIndex(0) +5 >Emitted(20, 12) Source(43, 12) + SourceIndex(0) +6 >Emitted(20, 14) Source(43, 14) + SourceIndex(0) +7 >Emitted(20, 21) Source(43, 21) + SourceIndex(0) +8 >Emitted(20, 23) Source(43, 23) + SourceIndex(0) +9 >Emitted(20, 29) Source(43, 29) + SourceIndex(0) +10>Emitted(20, 31) Source(43, 31) + SourceIndex(0) +11>Emitted(20, 33) Source(43, 33) + SourceIndex(0) +12>Emitted(20, 40) Source(43, 40) + SourceIndex(0) +13>Emitted(20, 42) Source(43, 42) + SourceIndex(0) +14>Emitted(20, 50) Source(43, 50) + SourceIndex(0) +15>Emitted(20, 52) Source(43, 52) + SourceIndex(0) +16>Emitted(20, 61) Source(43, 61) + SourceIndex(0) +17>Emitted(20, 63) Source(43, 63) + SourceIndex(0) +18>Emitted(20, 80) Source(43, 80) + SourceIndex(0) +19>Emitted(20, 82) Source(43, 82) + SourceIndex(0) +20>Emitted(20, 84) Source(43, 84) + SourceIndex(0) +21>Emitted(20, 85) Source(43, 85) + SourceIndex(0) +22>Emitted(20, 86) Source(43, 86) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringParameterNestedObjectBindingPatternDefaultValues.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.js b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.js index 5fb8786cc2b0e..a0837e0c330d2 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.js @@ -32,6 +32,7 @@ foo3({ name: "Edger", skill: "cutting edges" }); //// [sourceMapValidationDestructuringParameterObjectBindingPattern.js] +"use strict"; var hello = "hello"; var robotA = { name: "mower", skill: "mowing" }; function foo1(_a) { diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.js.map b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.js.map index 4debca2e966e2..96e0c78498c24 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringParameterObjectBindingPattern.js.map] -{"version":3,"file":"sourceMapValidationDestructuringParameterObjectBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParameterObjectBindingPattern.ts"],"names":[],"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sKfQpmdW5jdGlvbiBmb28zKHsgbmFtZSB9OiBSb2JvdCkgewogICAgY29uc29sZS5sb2cobmFtZSk7Cn0KCmZvbzEocm9ib3RBKTsKZm9vMSh7IG5hbWU6ICJFZGdlciIsIHNraWxsOiAiY3V0dGluZyBlZGdlcyIgfSk7Cgpmb28yKHJvYm90QSk7CmZvbzIoeyBuYW1lOiAiRWRnZXIiLCBza2lsbDogImN1dHRpbmcgZWRnZXMiIH0pOwoKZm9vMyhyb2JvdEEpOwpmb28zKHsgbmFtZTogIkVkZ2VyIiwgc2tpbGw6ICJjdXR0aW5nIGVkZ2VzIiB9KTsK +{"version":3,"file":"sourceMapValidationDestructuringParameterObjectBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParameterObjectBindingPattern.ts"],"names":[],"mappings":";AAOA,IAAI,KAAK,GAAG,OAAO,CAAC;AACpB,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AAEvD,SAAS,IAAI,CAAC,EAAsB;QAAd,KAAK,UAAA;IACvB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,SAAS,IAAI,CAAC,EAAqC;QAA7B,KAAK,UAAA,EAAS,MAAM,WAAA;IACtC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,SAAS,IAAI,CAAC,EAAe;QAAb,IAAI,UAAA;IAChB,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACtB,CAAC;AAED,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC,CAAC;AAEhD,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC,CAAC;AAEhD,IAAI,CAAC,MAAM,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0FBQyxDQUFDIn0=,aW50ZXJmYWNlIFJvYm90IHsKICAgIG5hbWU6IHN0cmluZzsKICAgIHNraWxsOiBzdHJpbmc7Cn0KZGVjbGFyZSB2YXIgY29uc29sZTogewogICAgbG9nKG1zZzogc3RyaW5nKTogdm9pZDsKfQp2YXIgaGVsbG8gPSAiaGVsbG8iOwp2YXIgcm9ib3RBOiBSb2JvdCA9IHsgbmFtZTogIm1vd2VyIiwgc2tpbGw6ICJtb3dpbmciIH07CgpmdW5jdGlvbiBmb28xKHsgbmFtZTogbmFtZUEgfTogUm9ib3QpIHsKICAgIGNvbnNvbGUubG9nKG5hbWVBKTsKfQpmdW5jdGlvbiBmb28yKHsgbmFtZTogbmFtZUIsIHNraWxsOiBza2lsbEIgfTogUm9ib3QpIHsKICAgIGNvbnNvbGUubG9nKG5hbWVCKTsKfQpmdW5jdGlvbiBmb28zKHsgbmFtZSB9OiBSb2JvdCkgewogICAgY29uc29sZS5sb2cobmFtZSk7Cn0KCmZvbzEocm9ib3RBKTsKZm9vMSh7IG5hbWU6ICJFZGdlciIsIHNraWxsOiAiY3V0dGluZyBlZGdlcyIgfSk7Cgpmb28yKHJvYm90QSk7CmZvbzIoeyBuYW1lOiAiRWRnZXIiLCBza2lsbDogImN1dHRpbmcgZWRnZXMiIH0pOwoKZm9vMyhyb2JvdEEpOwpmb28zKHsgbmFtZTogIkVkZ2VyIiwgc2tpbGw6ICJjdXR0aW5nIGVkZ2VzIiB9KTsK diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.sourcemap.txt index bec19334d1994..8be56f94e807d 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPattern.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringParameterObjectBindingPattern.ts emittedFile:sourceMapValidationDestructuringParameterObjectBindingPattern.js sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var hello = "hello"; 1 > 2 >^^^^ @@ -29,12 +30,12 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 4 > = 5 > "hello" 6 > ; -1 >Emitted(1, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(1, 10) Source(8, 10) + SourceIndex(0) -4 >Emitted(1, 13) Source(8, 13) + SourceIndex(0) -5 >Emitted(1, 20) Source(8, 20) + SourceIndex(0) -6 >Emitted(1, 21) Source(8, 21) + SourceIndex(0) +1 >Emitted(2, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(2, 10) Source(8, 10) + SourceIndex(0) +4 >Emitted(2, 13) Source(8, 13) + SourceIndex(0) +5 >Emitted(2, 20) Source(8, 20) + SourceIndex(0) +6 >Emitted(2, 21) Source(8, 21) + SourceIndex(0) --- >>>var robotA = { name: "mower", skill: "mowing" }; 1-> @@ -66,20 +67,20 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 12> "mowing" 13> } 14> ; -1->Emitted(2, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(9, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(9, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(9, 21) + SourceIndex(0) -5 >Emitted(2, 16) Source(9, 23) + SourceIndex(0) -6 >Emitted(2, 20) Source(9, 27) + SourceIndex(0) -7 >Emitted(2, 22) Source(9, 29) + SourceIndex(0) -8 >Emitted(2, 29) Source(9, 36) + SourceIndex(0) -9 >Emitted(2, 31) Source(9, 38) + SourceIndex(0) -10>Emitted(2, 36) Source(9, 43) + SourceIndex(0) -11>Emitted(2, 38) Source(9, 45) + SourceIndex(0) -12>Emitted(2, 46) Source(9, 53) + SourceIndex(0) -13>Emitted(2, 48) Source(9, 55) + SourceIndex(0) -14>Emitted(2, 49) Source(9, 56) + SourceIndex(0) +1->Emitted(3, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(9, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(9, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(9, 21) + SourceIndex(0) +5 >Emitted(3, 16) Source(9, 23) + SourceIndex(0) +6 >Emitted(3, 20) Source(9, 27) + SourceIndex(0) +7 >Emitted(3, 22) Source(9, 29) + SourceIndex(0) +8 >Emitted(3, 29) Source(9, 36) + SourceIndex(0) +9 >Emitted(3, 31) Source(9, 38) + SourceIndex(0) +10>Emitted(3, 36) Source(9, 43) + SourceIndex(0) +11>Emitted(3, 38) Source(9, 45) + SourceIndex(0) +12>Emitted(3, 46) Source(9, 53) + SourceIndex(0) +13>Emitted(3, 48) Source(9, 55) + SourceIndex(0) +14>Emitted(3, 49) Source(9, 56) + SourceIndex(0) --- >>>function foo1(_a) { 1 > @@ -95,11 +96,11 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 3 > foo1 4 > ( 5 > { name: nameA }: Robot -1 >Emitted(3, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(3, 10) Source(11, 10) + SourceIndex(0) -3 >Emitted(3, 14) Source(11, 14) + SourceIndex(0) -4 >Emitted(3, 15) Source(11, 15) + SourceIndex(0) -5 >Emitted(3, 17) Source(11, 37) + SourceIndex(0) +1 >Emitted(4, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(4, 10) Source(11, 10) + SourceIndex(0) +3 >Emitted(4, 14) Source(11, 14) + SourceIndex(0) +4 >Emitted(4, 15) Source(11, 15) + SourceIndex(0) +5 >Emitted(4, 17) Source(11, 37) + SourceIndex(0) --- >>> var nameA = _a.name; 1->^^^^^^^^ @@ -109,9 +110,9 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 1-> 2 > nameA 3 > -1->Emitted(4, 9) Source(11, 23) + SourceIndex(0) -2 >Emitted(4, 14) Source(11, 28) + SourceIndex(0) -3 >Emitted(4, 24) Source(11, 28) + SourceIndex(0) +1->Emitted(5, 9) Source(11, 23) + SourceIndex(0) +2 >Emitted(5, 14) Source(11, 28) + SourceIndex(0) +3 >Emitted(5, 24) Source(11, 28) + SourceIndex(0) --- >>> console.log(nameA); 1->^^^^ @@ -131,14 +132,14 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1->Emitted(5, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(5, 12) Source(12, 12) + SourceIndex(0) -3 >Emitted(5, 13) Source(12, 13) + SourceIndex(0) -4 >Emitted(5, 16) Source(12, 16) + SourceIndex(0) -5 >Emitted(5, 17) Source(12, 17) + SourceIndex(0) -6 >Emitted(5, 22) Source(12, 22) + SourceIndex(0) -7 >Emitted(5, 23) Source(12, 23) + SourceIndex(0) -8 >Emitted(5, 24) Source(12, 24) + SourceIndex(0) +1->Emitted(6, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(6, 12) Source(12, 12) + SourceIndex(0) +3 >Emitted(6, 13) Source(12, 13) + SourceIndex(0) +4 >Emitted(6, 16) Source(12, 16) + SourceIndex(0) +5 >Emitted(6, 17) Source(12, 17) + SourceIndex(0) +6 >Emitted(6, 22) Source(12, 22) + SourceIndex(0) +7 >Emitted(6, 23) Source(12, 23) + SourceIndex(0) +8 >Emitted(6, 24) Source(12, 24) + SourceIndex(0) --- >>>} 1 > @@ -147,8 +148,8 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(6, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(13, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(13, 2) + SourceIndex(0) --- >>>function foo2(_a) { 1-> @@ -163,11 +164,11 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 3 > foo2 4 > ( 5 > { name: nameB, skill: skillB }: Robot -1->Emitted(7, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(7, 10) Source(14, 10) + SourceIndex(0) -3 >Emitted(7, 14) Source(14, 14) + SourceIndex(0) -4 >Emitted(7, 15) Source(14, 15) + SourceIndex(0) -5 >Emitted(7, 17) Source(14, 52) + SourceIndex(0) +1->Emitted(8, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(8, 10) Source(14, 10) + SourceIndex(0) +3 >Emitted(8, 14) Source(14, 14) + SourceIndex(0) +4 >Emitted(8, 15) Source(14, 15) + SourceIndex(0) +5 >Emitted(8, 17) Source(14, 52) + SourceIndex(0) --- >>> var nameB = _a.name, skillB = _a.skill; 1->^^^^^^^^ @@ -182,12 +183,12 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 4 > , skill: 5 > skillB 6 > -1->Emitted(8, 9) Source(14, 23) + SourceIndex(0) -2 >Emitted(8, 14) Source(14, 28) + SourceIndex(0) -3 >Emitted(8, 24) Source(14, 28) + SourceIndex(0) -4 >Emitted(8, 26) Source(14, 37) + SourceIndex(0) -5 >Emitted(8, 32) Source(14, 43) + SourceIndex(0) -6 >Emitted(8, 43) Source(14, 43) + SourceIndex(0) +1->Emitted(9, 9) Source(14, 23) + SourceIndex(0) +2 >Emitted(9, 14) Source(14, 28) + SourceIndex(0) +3 >Emitted(9, 24) Source(14, 28) + SourceIndex(0) +4 >Emitted(9, 26) Source(14, 37) + SourceIndex(0) +5 >Emitted(9, 32) Source(14, 43) + SourceIndex(0) +6 >Emitted(9, 43) Source(14, 43) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -207,14 +208,14 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 6 > nameB 7 > ) 8 > ; -1 >Emitted(9, 5) Source(15, 5) + SourceIndex(0) -2 >Emitted(9, 12) Source(15, 12) + SourceIndex(0) -3 >Emitted(9, 13) Source(15, 13) + SourceIndex(0) -4 >Emitted(9, 16) Source(15, 16) + SourceIndex(0) -5 >Emitted(9, 17) Source(15, 17) + SourceIndex(0) -6 >Emitted(9, 22) Source(15, 22) + SourceIndex(0) -7 >Emitted(9, 23) Source(15, 23) + SourceIndex(0) -8 >Emitted(9, 24) Source(15, 24) + SourceIndex(0) +1 >Emitted(10, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(10, 12) Source(15, 12) + SourceIndex(0) +3 >Emitted(10, 13) Source(15, 13) + SourceIndex(0) +4 >Emitted(10, 16) Source(15, 16) + SourceIndex(0) +5 >Emitted(10, 17) Source(15, 17) + SourceIndex(0) +6 >Emitted(10, 22) Source(15, 22) + SourceIndex(0) +7 >Emitted(10, 23) Source(15, 23) + SourceIndex(0) +8 >Emitted(10, 24) Source(15, 24) + SourceIndex(0) --- >>>} 1 > @@ -223,8 +224,8 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(10, 2) Source(16, 2) + SourceIndex(0) +1 >Emitted(11, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(11, 2) Source(16, 2) + SourceIndex(0) --- >>>function foo3(_a) { 1-> @@ -239,11 +240,11 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 3 > foo3 4 > ( 5 > { name }: Robot -1->Emitted(11, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(11, 10) Source(17, 10) + SourceIndex(0) -3 >Emitted(11, 14) Source(17, 14) + SourceIndex(0) -4 >Emitted(11, 15) Source(17, 15) + SourceIndex(0) -5 >Emitted(11, 17) Source(17, 30) + SourceIndex(0) +1->Emitted(12, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(12, 10) Source(17, 10) + SourceIndex(0) +3 >Emitted(12, 14) Source(17, 14) + SourceIndex(0) +4 >Emitted(12, 15) Source(17, 15) + SourceIndex(0) +5 >Emitted(12, 17) Source(17, 30) + SourceIndex(0) --- >>> var name = _a.name; 1->^^^^^^^^ @@ -253,9 +254,9 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 1-> 2 > name 3 > -1->Emitted(12, 9) Source(17, 17) + SourceIndex(0) -2 >Emitted(12, 13) Source(17, 21) + SourceIndex(0) -3 >Emitted(12, 23) Source(17, 21) + SourceIndex(0) +1->Emitted(13, 9) Source(17, 17) + SourceIndex(0) +2 >Emitted(13, 13) Source(17, 21) + SourceIndex(0) +3 >Emitted(13, 23) Source(17, 21) + SourceIndex(0) --- >>> console.log(name); 1->^^^^ @@ -275,14 +276,14 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 6 > name 7 > ) 8 > ; -1->Emitted(13, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(13, 12) Source(18, 12) + SourceIndex(0) -3 >Emitted(13, 13) Source(18, 13) + SourceIndex(0) -4 >Emitted(13, 16) Source(18, 16) + SourceIndex(0) -5 >Emitted(13, 17) Source(18, 17) + SourceIndex(0) -6 >Emitted(13, 21) Source(18, 21) + SourceIndex(0) -7 >Emitted(13, 22) Source(18, 22) + SourceIndex(0) -8 >Emitted(13, 23) Source(18, 23) + SourceIndex(0) +1->Emitted(14, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(14, 12) Source(18, 12) + SourceIndex(0) +3 >Emitted(14, 13) Source(18, 13) + SourceIndex(0) +4 >Emitted(14, 16) Source(18, 16) + SourceIndex(0) +5 >Emitted(14, 17) Source(18, 17) + SourceIndex(0) +6 >Emitted(14, 21) Source(18, 21) + SourceIndex(0) +7 >Emitted(14, 22) Source(18, 22) + SourceIndex(0) +8 >Emitted(14, 23) Source(18, 23) + SourceIndex(0) --- >>>} 1 > @@ -291,8 +292,8 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 1 > > 2 >} -1 >Emitted(14, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(14, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(15, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(15, 2) Source(19, 2) + SourceIndex(0) --- >>>foo1(robotA); 1-> @@ -310,12 +311,12 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 4 > robotA 5 > ) 6 > ; -1->Emitted(15, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(15, 5) Source(21, 5) + SourceIndex(0) -3 >Emitted(15, 6) Source(21, 6) + SourceIndex(0) -4 >Emitted(15, 12) Source(21, 12) + SourceIndex(0) -5 >Emitted(15, 13) Source(21, 13) + SourceIndex(0) -6 >Emitted(15, 14) Source(21, 14) + SourceIndex(0) +1->Emitted(16, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(16, 5) Source(21, 5) + SourceIndex(0) +3 >Emitted(16, 6) Source(21, 6) + SourceIndex(0) +4 >Emitted(16, 12) Source(21, 12) + SourceIndex(0) +5 >Emitted(16, 13) Source(21, 13) + SourceIndex(0) +6 >Emitted(16, 14) Source(21, 14) + SourceIndex(0) --- >>>foo1({ name: "Edger", skill: "cutting edges" }); 1-> @@ -347,20 +348,20 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 12> } 13> ) 14> ; -1->Emitted(16, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(16, 5) Source(22, 5) + SourceIndex(0) -3 >Emitted(16, 6) Source(22, 6) + SourceIndex(0) -4 >Emitted(16, 8) Source(22, 8) + SourceIndex(0) -5 >Emitted(16, 12) Source(22, 12) + SourceIndex(0) -6 >Emitted(16, 14) Source(22, 14) + SourceIndex(0) -7 >Emitted(16, 21) Source(22, 21) + SourceIndex(0) -8 >Emitted(16, 23) Source(22, 23) + SourceIndex(0) -9 >Emitted(16, 28) Source(22, 28) + SourceIndex(0) -10>Emitted(16, 30) Source(22, 30) + SourceIndex(0) -11>Emitted(16, 45) Source(22, 45) + SourceIndex(0) -12>Emitted(16, 47) Source(22, 47) + SourceIndex(0) -13>Emitted(16, 48) Source(22, 48) + SourceIndex(0) -14>Emitted(16, 49) Source(22, 49) + SourceIndex(0) +1->Emitted(17, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(17, 5) Source(22, 5) + SourceIndex(0) +3 >Emitted(17, 6) Source(22, 6) + SourceIndex(0) +4 >Emitted(17, 8) Source(22, 8) + SourceIndex(0) +5 >Emitted(17, 12) Source(22, 12) + SourceIndex(0) +6 >Emitted(17, 14) Source(22, 14) + SourceIndex(0) +7 >Emitted(17, 21) Source(22, 21) + SourceIndex(0) +8 >Emitted(17, 23) Source(22, 23) + SourceIndex(0) +9 >Emitted(17, 28) Source(22, 28) + SourceIndex(0) +10>Emitted(17, 30) Source(22, 30) + SourceIndex(0) +11>Emitted(17, 45) Source(22, 45) + SourceIndex(0) +12>Emitted(17, 47) Source(22, 47) + SourceIndex(0) +13>Emitted(17, 48) Source(22, 48) + SourceIndex(0) +14>Emitted(17, 49) Source(22, 49) + SourceIndex(0) --- >>>foo2(robotA); 1 > @@ -378,12 +379,12 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 4 > robotA 5 > ) 6 > ; -1 >Emitted(17, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(17, 5) Source(24, 5) + SourceIndex(0) -3 >Emitted(17, 6) Source(24, 6) + SourceIndex(0) -4 >Emitted(17, 12) Source(24, 12) + SourceIndex(0) -5 >Emitted(17, 13) Source(24, 13) + SourceIndex(0) -6 >Emitted(17, 14) Source(24, 14) + SourceIndex(0) +1 >Emitted(18, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(18, 5) Source(24, 5) + SourceIndex(0) +3 >Emitted(18, 6) Source(24, 6) + SourceIndex(0) +4 >Emitted(18, 12) Source(24, 12) + SourceIndex(0) +5 >Emitted(18, 13) Source(24, 13) + SourceIndex(0) +6 >Emitted(18, 14) Source(24, 14) + SourceIndex(0) --- >>>foo2({ name: "Edger", skill: "cutting edges" }); 1-> @@ -415,20 +416,20 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 12> } 13> ) 14> ; -1->Emitted(18, 1) Source(25, 1) + SourceIndex(0) -2 >Emitted(18, 5) Source(25, 5) + SourceIndex(0) -3 >Emitted(18, 6) Source(25, 6) + SourceIndex(0) -4 >Emitted(18, 8) Source(25, 8) + SourceIndex(0) -5 >Emitted(18, 12) Source(25, 12) + SourceIndex(0) -6 >Emitted(18, 14) Source(25, 14) + SourceIndex(0) -7 >Emitted(18, 21) Source(25, 21) + SourceIndex(0) -8 >Emitted(18, 23) Source(25, 23) + SourceIndex(0) -9 >Emitted(18, 28) Source(25, 28) + SourceIndex(0) -10>Emitted(18, 30) Source(25, 30) + SourceIndex(0) -11>Emitted(18, 45) Source(25, 45) + SourceIndex(0) -12>Emitted(18, 47) Source(25, 47) + SourceIndex(0) -13>Emitted(18, 48) Source(25, 48) + SourceIndex(0) -14>Emitted(18, 49) Source(25, 49) + SourceIndex(0) +1->Emitted(19, 1) Source(25, 1) + SourceIndex(0) +2 >Emitted(19, 5) Source(25, 5) + SourceIndex(0) +3 >Emitted(19, 6) Source(25, 6) + SourceIndex(0) +4 >Emitted(19, 8) Source(25, 8) + SourceIndex(0) +5 >Emitted(19, 12) Source(25, 12) + SourceIndex(0) +6 >Emitted(19, 14) Source(25, 14) + SourceIndex(0) +7 >Emitted(19, 21) Source(25, 21) + SourceIndex(0) +8 >Emitted(19, 23) Source(25, 23) + SourceIndex(0) +9 >Emitted(19, 28) Source(25, 28) + SourceIndex(0) +10>Emitted(19, 30) Source(25, 30) + SourceIndex(0) +11>Emitted(19, 45) Source(25, 45) + SourceIndex(0) +12>Emitted(19, 47) Source(25, 47) + SourceIndex(0) +13>Emitted(19, 48) Source(25, 48) + SourceIndex(0) +14>Emitted(19, 49) Source(25, 49) + SourceIndex(0) --- >>>foo3(robotA); 1 > @@ -446,12 +447,12 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 4 > robotA 5 > ) 6 > ; -1 >Emitted(19, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(19, 5) Source(27, 5) + SourceIndex(0) -3 >Emitted(19, 6) Source(27, 6) + SourceIndex(0) -4 >Emitted(19, 12) Source(27, 12) + SourceIndex(0) -5 >Emitted(19, 13) Source(27, 13) + SourceIndex(0) -6 >Emitted(19, 14) Source(27, 14) + SourceIndex(0) +1 >Emitted(20, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(27, 5) + SourceIndex(0) +3 >Emitted(20, 6) Source(27, 6) + SourceIndex(0) +4 >Emitted(20, 12) Source(27, 12) + SourceIndex(0) +5 >Emitted(20, 13) Source(27, 13) + SourceIndex(0) +6 >Emitted(20, 14) Source(27, 14) + SourceIndex(0) --- >>>foo3({ name: "Edger", skill: "cutting edges" }); 1-> @@ -484,19 +485,19 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPattern.ts 12> } 13> ) 14> ; -1->Emitted(20, 1) Source(28, 1) + SourceIndex(0) -2 >Emitted(20, 5) Source(28, 5) + SourceIndex(0) -3 >Emitted(20, 6) Source(28, 6) + SourceIndex(0) -4 >Emitted(20, 8) Source(28, 8) + SourceIndex(0) -5 >Emitted(20, 12) Source(28, 12) + SourceIndex(0) -6 >Emitted(20, 14) Source(28, 14) + SourceIndex(0) -7 >Emitted(20, 21) Source(28, 21) + SourceIndex(0) -8 >Emitted(20, 23) Source(28, 23) + SourceIndex(0) -9 >Emitted(20, 28) Source(28, 28) + SourceIndex(0) -10>Emitted(20, 30) Source(28, 30) + SourceIndex(0) -11>Emitted(20, 45) Source(28, 45) + SourceIndex(0) -12>Emitted(20, 47) Source(28, 47) + SourceIndex(0) -13>Emitted(20, 48) Source(28, 48) + SourceIndex(0) -14>Emitted(20, 49) Source(28, 49) + SourceIndex(0) +1->Emitted(21, 1) Source(28, 1) + SourceIndex(0) +2 >Emitted(21, 5) Source(28, 5) + SourceIndex(0) +3 >Emitted(21, 6) Source(28, 6) + SourceIndex(0) +4 >Emitted(21, 8) Source(28, 8) + SourceIndex(0) +5 >Emitted(21, 12) Source(28, 12) + SourceIndex(0) +6 >Emitted(21, 14) Source(28, 14) + SourceIndex(0) +7 >Emitted(21, 21) Source(28, 21) + SourceIndex(0) +8 >Emitted(21, 23) Source(28, 23) + SourceIndex(0) +9 >Emitted(21, 28) Source(28, 28) + SourceIndex(0) +10>Emitted(21, 30) Source(28, 30) + SourceIndex(0) +11>Emitted(21, 45) Source(28, 45) + SourceIndex(0) +12>Emitted(21, 47) Source(28, 47) + SourceIndex(0) +13>Emitted(21, 48) Source(28, 48) + SourceIndex(0) +14>Emitted(21, 49) Source(28, 49) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringParameterObjectBindingPattern.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js index 48a9b11d8fcca..efbab862d4e2f 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js @@ -32,6 +32,7 @@ foo3({ name: "Edger", skill: "cutting edges" }); //// [sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js] +"use strict"; var hello = "hello"; var robotA = { name: "mower", skill: "mowing" }; function foo1(_a) { diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js.map b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js.map index c895efecd6f3d..c4afa58e72354 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js.map] -{"version":3,"file":"sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.ts"],"names":[],"mappings":"AAOA,IAAI,KAAK,GAAG,OAAO,CAAC;AACpB,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AAEvD,SAAS,IAAI,CAAC,EAAyC;QAAzC,qBAAsC,EAAG,KAAA,EAAvC,YAAwB,EAAlB,KAAK,mBAAG,UAAU,KAAA;IACpC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,SAAS,IAAI,CAAC,EAAmE;QAAnE,qBAAiE,EAAE,KAAA,EAAjE,YAAwB,EAAlB,KAAK,mBAAG,UAAU,KAAA,EAAE,aAAyB,EAAlB,MAAM,mBAAG,SAAS,KAAA;IAC/D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,SAAS,IAAI,CAAC,EAAiC;QAAjC,qBAA+B,EAAE,KAAA,EAA/B,YAAiB,EAAjB,IAAI,mBAAG,UAAU,KAAA;IAC7B,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACtB,CAAC;AAED,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC,CAAC;AAEhD,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC,CAAC;AAEhD,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGhlbGxvID0gImhlbGxvIjsNCnZhciByb2JvdEEgPSB7IG5hbWU6ICJtb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lciIsIHNraWxsOiAiY3V0dGluZyBlZGdlcyIgfSk7Cgpmb28yKHJvYm90QSk7CmZvbzIoeyBuYW1lOiAiRWRnZXIiLCBza2lsbDogImN1dHRpbmcgZWRnZXMiIH0pOwoKZm9vMyhyb2JvdEEpOwpmb28zKHsgbmFtZTogIkVkZ2VyIiwgc2tpbGw6ICJjdXR0aW5nIGVkZ2VzIiB9KTsK +{"version":3,"file":"sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.ts"],"names":[],"mappings":";AAOA,IAAI,KAAK,GAAG,OAAO,CAAC;AACpB,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AAEvD,SAAS,IAAI,CAAC,EAAyC;QAAzC,qBAAsC,EAAG,KAAA,EAAvC,YAAwB,EAAlB,KAAK,mBAAG,UAAU,KAAA;IACpC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,SAAS,IAAI,CAAC,EAAmE;QAAnE,qBAAiE,EAAE,KAAA,EAAjE,YAAwB,EAAlB,KAAK,mBAAG,UAAU,KAAA,EAAE,aAAyB,EAAlB,MAAM,mBAAG,SAAS,KAAA;IAC/D,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AACD,SAAS,IAAI,CAAC,EAAiC;QAAjC,qBAA+B,EAAE,KAAA,EAA/B,YAAiB,EAAjB,IAAI,mBAAG,UAAU,KAAA;IAC7B,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC;AACtB,CAAC;AAED,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,CAAC,CAAC;AAEhD,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,EAAE,IAAI,EAAE,O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AiPE5vTmFtZT4iLCBza2lsbDogc2tpbGxCID0gIm5vU2tpbGwiIH06IFJvYm90ID0ge30pIHsKICAgIGNvbnNvbGUubG9nKG5hbWVCKTsKfQpmdW5jdGlvbiBmb28zKHsgbmFtZSA9ICI8Tm9OYW1lPiIgfTogUm9ib3QgPSB7fSkgewogICAgY29uc29sZS5sb2cobmFtZSk7Cn0KCmZvbzEocm9ib3RBKTsKZm9vMSh7IG5hbWU6ICJFZGdlciIsIHNraWxsOiAiY3V0dGluZyBlZGdlcyIgfSk7Cgpmb28yKHJvYm90QSk7CmZvbzIoeyBuYW1lOiAiRWRnZXIiLCBza2lsbDogImN1dHRpbmcgZWRnZXMiIH0pOwoKZm9vMyhyb2JvdEEpOwpmb28zKHsgbmFtZTogIkVkZ2VyIiwgc2tpbGw6ICJjdXR0aW5nIGVkZ2VzIiB9KTsK diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.sourcemap.txt index bf4e048755199..fa0ea8f96c7ca 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringParameterObjectBindingPatternDefaultVal emittedFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var hello = "hello"; 1 > 2 >^^^^ @@ -29,12 +30,12 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 4 > = 5 > "hello" 6 > ; -1 >Emitted(1, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(1, 10) Source(8, 10) + SourceIndex(0) -4 >Emitted(1, 13) Source(8, 13) + SourceIndex(0) -5 >Emitted(1, 20) Source(8, 20) + SourceIndex(0) -6 >Emitted(1, 21) Source(8, 21) + SourceIndex(0) +1 >Emitted(2, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(2, 10) Source(8, 10) + SourceIndex(0) +4 >Emitted(2, 13) Source(8, 13) + SourceIndex(0) +5 >Emitted(2, 20) Source(8, 20) + SourceIndex(0) +6 >Emitted(2, 21) Source(8, 21) + SourceIndex(0) --- >>>var robotA = { name: "mower", skill: "mowing" }; 1-> @@ -66,20 +67,20 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 12> "mowing" 13> } 14> ; -1->Emitted(2, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(9, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(9, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(9, 21) + SourceIndex(0) -5 >Emitted(2, 16) Source(9, 23) + SourceIndex(0) -6 >Emitted(2, 20) Source(9, 27) + SourceIndex(0) -7 >Emitted(2, 22) Source(9, 29) + SourceIndex(0) -8 >Emitted(2, 29) Source(9, 36) + SourceIndex(0) -9 >Emitted(2, 31) Source(9, 38) + SourceIndex(0) -10>Emitted(2, 36) Source(9, 43) + SourceIndex(0) -11>Emitted(2, 38) Source(9, 45) + SourceIndex(0) -12>Emitted(2, 46) Source(9, 53) + SourceIndex(0) -13>Emitted(2, 48) Source(9, 55) + SourceIndex(0) -14>Emitted(2, 49) Source(9, 56) + SourceIndex(0) +1->Emitted(3, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(9, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(9, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(9, 21) + SourceIndex(0) +5 >Emitted(3, 16) Source(9, 23) + SourceIndex(0) +6 >Emitted(3, 20) Source(9, 27) + SourceIndex(0) +7 >Emitted(3, 22) Source(9, 29) + SourceIndex(0) +8 >Emitted(3, 29) Source(9, 36) + SourceIndex(0) +9 >Emitted(3, 31) Source(9, 38) + SourceIndex(0) +10>Emitted(3, 36) Source(9, 43) + SourceIndex(0) +11>Emitted(3, 38) Source(9, 45) + SourceIndex(0) +12>Emitted(3, 46) Source(9, 53) + SourceIndex(0) +13>Emitted(3, 48) Source(9, 55) + SourceIndex(0) +14>Emitted(3, 49) Source(9, 56) + SourceIndex(0) --- >>>function foo1(_a) { 1 > @@ -95,11 +96,11 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 3 > foo1 4 > ( 5 > { name: nameA = "" }: Robot = { } -1 >Emitted(3, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(3, 10) Source(11, 10) + SourceIndex(0) -3 >Emitted(3, 14) Source(11, 14) + SourceIndex(0) -4 >Emitted(3, 15) Source(11, 15) + SourceIndex(0) -5 >Emitted(3, 17) Source(11, 56) + SourceIndex(0) +1 >Emitted(4, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(4, 10) Source(11, 10) + SourceIndex(0) +3 >Emitted(4, 14) Source(11, 14) + SourceIndex(0) +4 >Emitted(4, 15) Source(11, 15) + SourceIndex(0) +5 >Emitted(4, 17) Source(11, 56) + SourceIndex(0) --- >>> var _b = _a === void 0 ? {} : _a, _c = _b.name, nameA = _c === void 0 ? "" : _c; 1->^^^^^^^^ @@ -124,17 +125,17 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 9 > = 10> "" 11> -1->Emitted(4, 9) Source(11, 15) + SourceIndex(0) -2 >Emitted(4, 30) Source(11, 53) + SourceIndex(0) -3 >Emitted(4, 32) Source(11, 56) + SourceIndex(0) -4 >Emitted(4, 37) Source(11, 56) + SourceIndex(0) -5 >Emitted(4, 39) Source(11, 17) + SourceIndex(0) -6 >Emitted(4, 51) Source(11, 41) + SourceIndex(0) -7 >Emitted(4, 53) Source(11, 23) + SourceIndex(0) -8 >Emitted(4, 58) Source(11, 28) + SourceIndex(0) -9 >Emitted(4, 77) Source(11, 31) + SourceIndex(0) -10>Emitted(4, 87) Source(11, 41) + SourceIndex(0) -11>Emitted(4, 92) Source(11, 41) + SourceIndex(0) +1->Emitted(5, 9) Source(11, 15) + SourceIndex(0) +2 >Emitted(5, 30) Source(11, 53) + SourceIndex(0) +3 >Emitted(5, 32) Source(11, 56) + SourceIndex(0) +4 >Emitted(5, 37) Source(11, 56) + SourceIndex(0) +5 >Emitted(5, 39) Source(11, 17) + SourceIndex(0) +6 >Emitted(5, 51) Source(11, 41) + SourceIndex(0) +7 >Emitted(5, 53) Source(11, 23) + SourceIndex(0) +8 >Emitted(5, 58) Source(11, 28) + SourceIndex(0) +9 >Emitted(5, 77) Source(11, 31) + SourceIndex(0) +10>Emitted(5, 87) Source(11, 41) + SourceIndex(0) +11>Emitted(5, 92) Source(11, 41) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -154,14 +155,14 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 6 > nameA 7 > ) 8 > ; -1 >Emitted(5, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(5, 12) Source(12, 12) + SourceIndex(0) -3 >Emitted(5, 13) Source(12, 13) + SourceIndex(0) -4 >Emitted(5, 16) Source(12, 16) + SourceIndex(0) -5 >Emitted(5, 17) Source(12, 17) + SourceIndex(0) -6 >Emitted(5, 22) Source(12, 22) + SourceIndex(0) -7 >Emitted(5, 23) Source(12, 23) + SourceIndex(0) -8 >Emitted(5, 24) Source(12, 24) + SourceIndex(0) +1 >Emitted(6, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(6, 12) Source(12, 12) + SourceIndex(0) +3 >Emitted(6, 13) Source(12, 13) + SourceIndex(0) +4 >Emitted(6, 16) Source(12, 16) + SourceIndex(0) +5 >Emitted(6, 17) Source(12, 17) + SourceIndex(0) +6 >Emitted(6, 22) Source(12, 22) + SourceIndex(0) +7 >Emitted(6, 23) Source(12, 23) + SourceIndex(0) +8 >Emitted(6, 24) Source(12, 24) + SourceIndex(0) --- >>>} 1 > @@ -170,8 +171,8 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 1 > > 2 >} -1 >Emitted(6, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(13, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(13, 2) + SourceIndex(0) --- >>>function foo2(_a) { 1-> @@ -186,11 +187,11 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 3 > foo2 4 > ( 5 > { name: nameB = "", skill: skillB = "noSkill" }: Robot = {} -1->Emitted(7, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(7, 10) Source(14, 10) + SourceIndex(0) -3 >Emitted(7, 14) Source(14, 14) + SourceIndex(0) -4 >Emitted(7, 15) Source(14, 15) + SourceIndex(0) -5 >Emitted(7, 17) Source(14, 82) + SourceIndex(0) +1->Emitted(8, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(8, 10) Source(14, 10) + SourceIndex(0) +3 >Emitted(8, 14) Source(14, 14) + SourceIndex(0) +4 >Emitted(8, 15) Source(14, 15) + SourceIndex(0) +5 >Emitted(8, 17) Source(14, 82) + SourceIndex(0) --- >>> var _b = _a === void 0 ? {} : _a, _c = _b.name, nameB = _c === void 0 ? "" : _c, _d = _b.skill, skillB = _d === void 0 ? "noSkill" : _d; 1->^^^^^^^^ @@ -229,24 +230,24 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 16> = 17> "noSkill" 18> -1->Emitted(8, 9) Source(14, 15) + SourceIndex(0) -2 >Emitted(8, 30) Source(14, 80) + SourceIndex(0) -3 >Emitted(8, 32) Source(14, 82) + SourceIndex(0) -4 >Emitted(8, 37) Source(14, 82) + SourceIndex(0) -5 >Emitted(8, 39) Source(14, 17) + SourceIndex(0) -6 >Emitted(8, 51) Source(14, 41) + SourceIndex(0) -7 >Emitted(8, 53) Source(14, 23) + SourceIndex(0) -8 >Emitted(8, 58) Source(14, 28) + SourceIndex(0) -9 >Emitted(8, 77) Source(14, 31) + SourceIndex(0) -10>Emitted(8, 87) Source(14, 41) + SourceIndex(0) -11>Emitted(8, 92) Source(14, 41) + SourceIndex(0) -12>Emitted(8, 94) Source(14, 43) + SourceIndex(0) -13>Emitted(8, 107) Source(14, 68) + SourceIndex(0) -14>Emitted(8, 109) Source(14, 50) + SourceIndex(0) -15>Emitted(8, 115) Source(14, 56) + SourceIndex(0) -16>Emitted(8, 134) Source(14, 59) + SourceIndex(0) -17>Emitted(8, 143) Source(14, 68) + SourceIndex(0) -18>Emitted(8, 148) Source(14, 68) + SourceIndex(0) +1->Emitted(9, 9) Source(14, 15) + SourceIndex(0) +2 >Emitted(9, 30) Source(14, 80) + SourceIndex(0) +3 >Emitted(9, 32) Source(14, 82) + SourceIndex(0) +4 >Emitted(9, 37) Source(14, 82) + SourceIndex(0) +5 >Emitted(9, 39) Source(14, 17) + SourceIndex(0) +6 >Emitted(9, 51) Source(14, 41) + SourceIndex(0) +7 >Emitted(9, 53) Source(14, 23) + SourceIndex(0) +8 >Emitted(9, 58) Source(14, 28) + SourceIndex(0) +9 >Emitted(9, 77) Source(14, 31) + SourceIndex(0) +10>Emitted(9, 87) Source(14, 41) + SourceIndex(0) +11>Emitted(9, 92) Source(14, 41) + SourceIndex(0) +12>Emitted(9, 94) Source(14, 43) + SourceIndex(0) +13>Emitted(9, 107) Source(14, 68) + SourceIndex(0) +14>Emitted(9, 109) Source(14, 50) + SourceIndex(0) +15>Emitted(9, 115) Source(14, 56) + SourceIndex(0) +16>Emitted(9, 134) Source(14, 59) + SourceIndex(0) +17>Emitted(9, 143) Source(14, 68) + SourceIndex(0) +18>Emitted(9, 148) Source(14, 68) + SourceIndex(0) --- >>> console.log(nameB); 1 >^^^^ @@ -266,14 +267,14 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 6 > nameB 7 > ) 8 > ; -1 >Emitted(9, 5) Source(15, 5) + SourceIndex(0) -2 >Emitted(9, 12) Source(15, 12) + SourceIndex(0) -3 >Emitted(9, 13) Source(15, 13) + SourceIndex(0) -4 >Emitted(9, 16) Source(15, 16) + SourceIndex(0) -5 >Emitted(9, 17) Source(15, 17) + SourceIndex(0) -6 >Emitted(9, 22) Source(15, 22) + SourceIndex(0) -7 >Emitted(9, 23) Source(15, 23) + SourceIndex(0) -8 >Emitted(9, 24) Source(15, 24) + SourceIndex(0) +1 >Emitted(10, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(10, 12) Source(15, 12) + SourceIndex(0) +3 >Emitted(10, 13) Source(15, 13) + SourceIndex(0) +4 >Emitted(10, 16) Source(15, 16) + SourceIndex(0) +5 >Emitted(10, 17) Source(15, 17) + SourceIndex(0) +6 >Emitted(10, 22) Source(15, 22) + SourceIndex(0) +7 >Emitted(10, 23) Source(15, 23) + SourceIndex(0) +8 >Emitted(10, 24) Source(15, 24) + SourceIndex(0) --- >>>} 1 > @@ -282,8 +283,8 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 1 > > 2 >} -1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(10, 2) Source(16, 2) + SourceIndex(0) +1 >Emitted(11, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(11, 2) Source(16, 2) + SourceIndex(0) --- >>>function foo3(_a) { 1-> @@ -298,11 +299,11 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 3 > foo3 4 > ( 5 > { name = "" }: Robot = {} -1->Emitted(11, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(11, 10) Source(17, 10) + SourceIndex(0) -3 >Emitted(11, 14) Source(17, 14) + SourceIndex(0) -4 >Emitted(11, 15) Source(17, 15) + SourceIndex(0) -5 >Emitted(11, 17) Source(17, 48) + SourceIndex(0) +1->Emitted(12, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(12, 10) Source(17, 10) + SourceIndex(0) +3 >Emitted(12, 14) Source(17, 14) + SourceIndex(0) +4 >Emitted(12, 15) Source(17, 15) + SourceIndex(0) +5 >Emitted(12, 17) Source(17, 48) + SourceIndex(0) --- >>> var _b = _a === void 0 ? {} : _a, _c = _b.name, name = _c === void 0 ? "" : _c; 1->^^^^^^^^ @@ -327,17 +328,17 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 9 > = 10> "" 11> -1->Emitted(12, 9) Source(17, 15) + SourceIndex(0) -2 >Emitted(12, 30) Source(17, 46) + SourceIndex(0) -3 >Emitted(12, 32) Source(17, 48) + SourceIndex(0) -4 >Emitted(12, 37) Source(17, 48) + SourceIndex(0) -5 >Emitted(12, 39) Source(17, 17) + SourceIndex(0) -6 >Emitted(12, 51) Source(17, 34) + SourceIndex(0) -7 >Emitted(12, 53) Source(17, 17) + SourceIndex(0) -8 >Emitted(12, 57) Source(17, 21) + SourceIndex(0) -9 >Emitted(12, 76) Source(17, 24) + SourceIndex(0) -10>Emitted(12, 86) Source(17, 34) + SourceIndex(0) -11>Emitted(12, 91) Source(17, 34) + SourceIndex(0) +1->Emitted(13, 9) Source(17, 15) + SourceIndex(0) +2 >Emitted(13, 30) Source(17, 46) + SourceIndex(0) +3 >Emitted(13, 32) Source(17, 48) + SourceIndex(0) +4 >Emitted(13, 37) Source(17, 48) + SourceIndex(0) +5 >Emitted(13, 39) Source(17, 17) + SourceIndex(0) +6 >Emitted(13, 51) Source(17, 34) + SourceIndex(0) +7 >Emitted(13, 53) Source(17, 17) + SourceIndex(0) +8 >Emitted(13, 57) Source(17, 21) + SourceIndex(0) +9 >Emitted(13, 76) Source(17, 24) + SourceIndex(0) +10>Emitted(13, 86) Source(17, 34) + SourceIndex(0) +11>Emitted(13, 91) Source(17, 34) + SourceIndex(0) --- >>> console.log(name); 1 >^^^^ @@ -357,14 +358,14 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 6 > name 7 > ) 8 > ; -1 >Emitted(13, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(13, 12) Source(18, 12) + SourceIndex(0) -3 >Emitted(13, 13) Source(18, 13) + SourceIndex(0) -4 >Emitted(13, 16) Source(18, 16) + SourceIndex(0) -5 >Emitted(13, 17) Source(18, 17) + SourceIndex(0) -6 >Emitted(13, 21) Source(18, 21) + SourceIndex(0) -7 >Emitted(13, 22) Source(18, 22) + SourceIndex(0) -8 >Emitted(13, 23) Source(18, 23) + SourceIndex(0) +1 >Emitted(14, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(14, 12) Source(18, 12) + SourceIndex(0) +3 >Emitted(14, 13) Source(18, 13) + SourceIndex(0) +4 >Emitted(14, 16) Source(18, 16) + SourceIndex(0) +5 >Emitted(14, 17) Source(18, 17) + SourceIndex(0) +6 >Emitted(14, 21) Source(18, 21) + SourceIndex(0) +7 >Emitted(14, 22) Source(18, 22) + SourceIndex(0) +8 >Emitted(14, 23) Source(18, 23) + SourceIndex(0) --- >>>} 1 > @@ -373,8 +374,8 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 1 > > 2 >} -1 >Emitted(14, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(14, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(15, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(15, 2) Source(19, 2) + SourceIndex(0) --- >>>foo1(robotA); 1-> @@ -392,12 +393,12 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 4 > robotA 5 > ) 6 > ; -1->Emitted(15, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(15, 5) Source(21, 5) + SourceIndex(0) -3 >Emitted(15, 6) Source(21, 6) + SourceIndex(0) -4 >Emitted(15, 12) Source(21, 12) + SourceIndex(0) -5 >Emitted(15, 13) Source(21, 13) + SourceIndex(0) -6 >Emitted(15, 14) Source(21, 14) + SourceIndex(0) +1->Emitted(16, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(16, 5) Source(21, 5) + SourceIndex(0) +3 >Emitted(16, 6) Source(21, 6) + SourceIndex(0) +4 >Emitted(16, 12) Source(21, 12) + SourceIndex(0) +5 >Emitted(16, 13) Source(21, 13) + SourceIndex(0) +6 >Emitted(16, 14) Source(21, 14) + SourceIndex(0) --- >>>foo1({ name: "Edger", skill: "cutting edges" }); 1-> @@ -429,20 +430,20 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 12> } 13> ) 14> ; -1->Emitted(16, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(16, 5) Source(22, 5) + SourceIndex(0) -3 >Emitted(16, 6) Source(22, 6) + SourceIndex(0) -4 >Emitted(16, 8) Source(22, 8) + SourceIndex(0) -5 >Emitted(16, 12) Source(22, 12) + SourceIndex(0) -6 >Emitted(16, 14) Source(22, 14) + SourceIndex(0) -7 >Emitted(16, 21) Source(22, 21) + SourceIndex(0) -8 >Emitted(16, 23) Source(22, 23) + SourceIndex(0) -9 >Emitted(16, 28) Source(22, 28) + SourceIndex(0) -10>Emitted(16, 30) Source(22, 30) + SourceIndex(0) -11>Emitted(16, 45) Source(22, 45) + SourceIndex(0) -12>Emitted(16, 47) Source(22, 47) + SourceIndex(0) -13>Emitted(16, 48) Source(22, 48) + SourceIndex(0) -14>Emitted(16, 49) Source(22, 49) + SourceIndex(0) +1->Emitted(17, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(17, 5) Source(22, 5) + SourceIndex(0) +3 >Emitted(17, 6) Source(22, 6) + SourceIndex(0) +4 >Emitted(17, 8) Source(22, 8) + SourceIndex(0) +5 >Emitted(17, 12) Source(22, 12) + SourceIndex(0) +6 >Emitted(17, 14) Source(22, 14) + SourceIndex(0) +7 >Emitted(17, 21) Source(22, 21) + SourceIndex(0) +8 >Emitted(17, 23) Source(22, 23) + SourceIndex(0) +9 >Emitted(17, 28) Source(22, 28) + SourceIndex(0) +10>Emitted(17, 30) Source(22, 30) + SourceIndex(0) +11>Emitted(17, 45) Source(22, 45) + SourceIndex(0) +12>Emitted(17, 47) Source(22, 47) + SourceIndex(0) +13>Emitted(17, 48) Source(22, 48) + SourceIndex(0) +14>Emitted(17, 49) Source(22, 49) + SourceIndex(0) --- >>>foo2(robotA); 1 > @@ -460,12 +461,12 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 4 > robotA 5 > ) 6 > ; -1 >Emitted(17, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(17, 5) Source(24, 5) + SourceIndex(0) -3 >Emitted(17, 6) Source(24, 6) + SourceIndex(0) -4 >Emitted(17, 12) Source(24, 12) + SourceIndex(0) -5 >Emitted(17, 13) Source(24, 13) + SourceIndex(0) -6 >Emitted(17, 14) Source(24, 14) + SourceIndex(0) +1 >Emitted(18, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(18, 5) Source(24, 5) + SourceIndex(0) +3 >Emitted(18, 6) Source(24, 6) + SourceIndex(0) +4 >Emitted(18, 12) Source(24, 12) + SourceIndex(0) +5 >Emitted(18, 13) Source(24, 13) + SourceIndex(0) +6 >Emitted(18, 14) Source(24, 14) + SourceIndex(0) --- >>>foo2({ name: "Edger", skill: "cutting edges" }); 1-> @@ -497,20 +498,20 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 12> } 13> ) 14> ; -1->Emitted(18, 1) Source(25, 1) + SourceIndex(0) -2 >Emitted(18, 5) Source(25, 5) + SourceIndex(0) -3 >Emitted(18, 6) Source(25, 6) + SourceIndex(0) -4 >Emitted(18, 8) Source(25, 8) + SourceIndex(0) -5 >Emitted(18, 12) Source(25, 12) + SourceIndex(0) -6 >Emitted(18, 14) Source(25, 14) + SourceIndex(0) -7 >Emitted(18, 21) Source(25, 21) + SourceIndex(0) -8 >Emitted(18, 23) Source(25, 23) + SourceIndex(0) -9 >Emitted(18, 28) Source(25, 28) + SourceIndex(0) -10>Emitted(18, 30) Source(25, 30) + SourceIndex(0) -11>Emitted(18, 45) Source(25, 45) + SourceIndex(0) -12>Emitted(18, 47) Source(25, 47) + SourceIndex(0) -13>Emitted(18, 48) Source(25, 48) + SourceIndex(0) -14>Emitted(18, 49) Source(25, 49) + SourceIndex(0) +1->Emitted(19, 1) Source(25, 1) + SourceIndex(0) +2 >Emitted(19, 5) Source(25, 5) + SourceIndex(0) +3 >Emitted(19, 6) Source(25, 6) + SourceIndex(0) +4 >Emitted(19, 8) Source(25, 8) + SourceIndex(0) +5 >Emitted(19, 12) Source(25, 12) + SourceIndex(0) +6 >Emitted(19, 14) Source(25, 14) + SourceIndex(0) +7 >Emitted(19, 21) Source(25, 21) + SourceIndex(0) +8 >Emitted(19, 23) Source(25, 23) + SourceIndex(0) +9 >Emitted(19, 28) Source(25, 28) + SourceIndex(0) +10>Emitted(19, 30) Source(25, 30) + SourceIndex(0) +11>Emitted(19, 45) Source(25, 45) + SourceIndex(0) +12>Emitted(19, 47) Source(25, 47) + SourceIndex(0) +13>Emitted(19, 48) Source(25, 48) + SourceIndex(0) +14>Emitted(19, 49) Source(25, 49) + SourceIndex(0) --- >>>foo3(robotA); 1 > @@ -528,12 +529,12 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 4 > robotA 5 > ) 6 > ; -1 >Emitted(19, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(19, 5) Source(27, 5) + SourceIndex(0) -3 >Emitted(19, 6) Source(27, 6) + SourceIndex(0) -4 >Emitted(19, 12) Source(27, 12) + SourceIndex(0) -5 >Emitted(19, 13) Source(27, 13) + SourceIndex(0) -6 >Emitted(19, 14) Source(27, 14) + SourceIndex(0) +1 >Emitted(20, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(27, 5) + SourceIndex(0) +3 >Emitted(20, 6) Source(27, 6) + SourceIndex(0) +4 >Emitted(20, 12) Source(27, 12) + SourceIndex(0) +5 >Emitted(20, 13) Source(27, 13) + SourceIndex(0) +6 >Emitted(20, 14) Source(27, 14) + SourceIndex(0) --- >>>foo3({ name: "Edger", skill: "cutting edges" }); 1-> @@ -566,19 +567,19 @@ sourceFile:sourceMapValidationDestructuringParameterObjectBindingPatternDefaultV 12> } 13> ) 14> ; -1->Emitted(20, 1) Source(28, 1) + SourceIndex(0) -2 >Emitted(20, 5) Source(28, 5) + SourceIndex(0) -3 >Emitted(20, 6) Source(28, 6) + SourceIndex(0) -4 >Emitted(20, 8) Source(28, 8) + SourceIndex(0) -5 >Emitted(20, 12) Source(28, 12) + SourceIndex(0) -6 >Emitted(20, 14) Source(28, 14) + SourceIndex(0) -7 >Emitted(20, 21) Source(28, 21) + SourceIndex(0) -8 >Emitted(20, 23) Source(28, 23) + SourceIndex(0) -9 >Emitted(20, 28) Source(28, 28) + SourceIndex(0) -10>Emitted(20, 30) Source(28, 30) + SourceIndex(0) -11>Emitted(20, 45) Source(28, 45) + SourceIndex(0) -12>Emitted(20, 47) Source(28, 47) + SourceIndex(0) -13>Emitted(20, 48) Source(28, 48) + SourceIndex(0) -14>Emitted(20, 49) Source(28, 49) + SourceIndex(0) +1->Emitted(21, 1) Source(28, 1) + SourceIndex(0) +2 >Emitted(21, 5) Source(28, 5) + SourceIndex(0) +3 >Emitted(21, 6) Source(28, 6) + SourceIndex(0) +4 >Emitted(21, 8) Source(28, 8) + SourceIndex(0) +5 >Emitted(21, 12) Source(28, 12) + SourceIndex(0) +6 >Emitted(21, 14) Source(28, 14) + SourceIndex(0) +7 >Emitted(21, 21) Source(28, 21) + SourceIndex(0) +8 >Emitted(21, 23) Source(28, 23) + SourceIndex(0) +9 >Emitted(21, 28) Source(28, 28) + SourceIndex(0) +10>Emitted(21, 30) Source(28, 30) + SourceIndex(0) +11>Emitted(21, 45) Source(28, 45) + SourceIndex(0) +12>Emitted(21, 47) Source(28, 47) + SourceIndex(0) +13>Emitted(21, 48) Source(28, 48) + SourceIndex(0) +14>Emitted(21, 49) Source(28, 49) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringParameterObjectBindingPatternDefaultValues.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.js b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.js index c5d5459d17727..a33fc379e496a 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.js @@ -36,6 +36,7 @@ foo4(robotA); foo4([2, "trimmer", "trimming"]); //// [sourceMapValidationDestructuringParametertArrayBindingPattern.js] +"use strict"; var robotA = [1, "mower", "mowing"]; function foo1(_a) { var nameA = _a[1]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.js.map b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.js.map index fe4d512f49f7b..98878eaf38fca 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringParametertArrayBindingPattern.js.map] -{"version":3,"file":"sourceMapValidationDestructuringParametertArrayBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParametertArrayBindingPattern.ts"],"names":[],"mappings":"AAIA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAE3C,SAAS,IAAI,CAAC,EAAgB;QAAb,KAAK,QAAA;IAClB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AAED,SAAS,IAAI,CAAC,EAAgB;QAAf,OAAO,QAAA;IAClB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AACzB,CAAC;AAED,SAAS,IAAI,CAAC,EAAkC;QAAjC,QAAQ,QAAA,EAAE,MAAM,QAAA,EAAE,OAAO,QAAA;IACpC,OAAO,CAAC,GA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CKTsKfQoKZnVuY3Rpb24gZm9vMyhbbnVtYmVyQTIsIG5hbWVBMiwgc2tpbGxBMl06IFJvYm90KSB7CiAgICBjb25zb2xlLmxvZyhuYW1lQTIpOwp9CgpmdW5jdGlvbiBmb280KFtudW1iZXJBMywgLi4ucm9ib3RBSW5mb106IFJvYm90KSB7CiAgICBjb25zb2xlLmxvZyhyb2JvdEFJbmZvKTsKfQoKZm9vMShyb2JvdEEpOwpmb28xKFsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdKTsKCmZvbzIocm9ib3RBKTsKZm9vMihbMiwgInRyaW1tZXIiLCAidHJpbW1pbmciXSk7Cgpmb28zKHJvYm90QSk7CmZvbzMoWzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl0pOwoKZm9vNChyb2JvdEEpOwpmb280KFsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdKTs= +{"version":3,"file":"sourceMapValidationDestructuringParametertArrayBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParametertArrayBindingPattern.ts"],"names":[],"mappings":";AAIA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAE3C,SAAS,IAAI,CAAC,EAAgB;QAAb,KAAK,QAAA;IAClB,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AAED,SAAS,IAAI,CAAC,EAAgB;QAAf,OAAO,QAAA;IAClB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AACzB,CAAC;AAED,SAAS,IAAI,CAAC,EAAkC;QAAjC,QAAQ,QAAA,EAAE,MAAM,QAAA,EAAE,OAAO,QAAA;IACpC,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC;AAED,SAAS,IAAI,CAAC,EAAgC;QAA/B,QAAQ,QAAA,EAAK,UAAU,cAAA;IAClC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC;AAC5B,CAAC;AAED,IAAI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4ucm9ib3RBSW5mb106IFJvYm90KSB7CiAgICBjb25zb2xlLmxvZyhyb2JvdEFJbmZvKTsKfQoKZm9vMShyb2JvdEEpOwpmb28xKFsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdKTsKCmZvbzIocm9ib3RBKTsKZm9vMihbMiwgInRyaW1tZXIiLCAidHJpbW1pbmciXSk7Cgpmb28zKHJvYm90QSk7CmZvbzMoWzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl0pOwoKZm9vNChyb2JvdEEpOwpmb280KFsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdKTs= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.sourcemap.txt index 7d032ea3568a1..eae767a2994df 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringParametertArrayBindingPattern.ts emittedFile:sourceMapValidationDestructuringParametertArrayBindingPattern.js sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = [1, "mower", "mowing"]; 1 > 2 >^^^^ @@ -37,18 +38,18 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 10> "mowing" 11> ] 12> ; -1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(5, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(5, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(5, 21) + SourceIndex(0) -5 >Emitted(1, 15) Source(5, 22) + SourceIndex(0) -6 >Emitted(1, 16) Source(5, 23) + SourceIndex(0) -7 >Emitted(1, 18) Source(5, 25) + SourceIndex(0) -8 >Emitted(1, 25) Source(5, 32) + SourceIndex(0) -9 >Emitted(1, 27) Source(5, 34) + SourceIndex(0) -10>Emitted(1, 35) Source(5, 42) + SourceIndex(0) -11>Emitted(1, 36) Source(5, 43) + SourceIndex(0) -12>Emitted(1, 37) Source(5, 44) + SourceIndex(0) +1 >Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(5, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(5, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(5, 21) + SourceIndex(0) +5 >Emitted(2, 15) Source(5, 22) + SourceIndex(0) +6 >Emitted(2, 16) Source(5, 23) + SourceIndex(0) +7 >Emitted(2, 18) Source(5, 25) + SourceIndex(0) +8 >Emitted(2, 25) Source(5, 32) + SourceIndex(0) +9 >Emitted(2, 27) Source(5, 34) + SourceIndex(0) +10>Emitted(2, 35) Source(5, 42) + SourceIndex(0) +11>Emitted(2, 36) Source(5, 43) + SourceIndex(0) +12>Emitted(2, 37) Source(5, 44) + SourceIndex(0) --- >>>function foo1(_a) { 1 > @@ -64,11 +65,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 3 > foo1 4 > ( 5 > [, nameA]: Robot -1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(2, 10) Source(7, 10) + SourceIndex(0) -3 >Emitted(2, 14) Source(7, 14) + SourceIndex(0) -4 >Emitted(2, 15) Source(7, 15) + SourceIndex(0) -5 >Emitted(2, 17) Source(7, 31) + SourceIndex(0) +1 >Emitted(3, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(3, 10) Source(7, 10) + SourceIndex(0) +3 >Emitted(3, 14) Source(7, 14) + SourceIndex(0) +4 >Emitted(3, 15) Source(7, 15) + SourceIndex(0) +5 >Emitted(3, 17) Source(7, 31) + SourceIndex(0) --- >>> var nameA = _a[1]; 1->^^^^^^^^ @@ -78,9 +79,9 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 1-> 2 > nameA 3 > -1->Emitted(3, 9) Source(7, 18) + SourceIndex(0) -2 >Emitted(3, 14) Source(7, 23) + SourceIndex(0) -3 >Emitted(3, 22) Source(7, 23) + SourceIndex(0) +1->Emitted(4, 9) Source(7, 18) + SourceIndex(0) +2 >Emitted(4, 14) Source(7, 23) + SourceIndex(0) +3 >Emitted(4, 22) Source(7, 23) + SourceIndex(0) --- >>> console.log(nameA); 1->^^^^ @@ -100,14 +101,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 6 > nameA 7 > ) 8 > ; -1->Emitted(4, 5) Source(8, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(8, 12) + SourceIndex(0) -3 >Emitted(4, 13) Source(8, 13) + SourceIndex(0) -4 >Emitted(4, 16) Source(8, 16) + SourceIndex(0) -5 >Emitted(4, 17) Source(8, 17) + SourceIndex(0) -6 >Emitted(4, 22) Source(8, 22) + SourceIndex(0) -7 >Emitted(4, 23) Source(8, 23) + SourceIndex(0) -8 >Emitted(4, 24) Source(8, 24) + SourceIndex(0) +1->Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(8, 12) + SourceIndex(0) +3 >Emitted(5, 13) Source(8, 13) + SourceIndex(0) +4 >Emitted(5, 16) Source(8, 16) + SourceIndex(0) +5 >Emitted(5, 17) Source(8, 17) + SourceIndex(0) +6 >Emitted(5, 22) Source(8, 22) + SourceIndex(0) +7 >Emitted(5, 23) Source(8, 23) + SourceIndex(0) +8 >Emitted(5, 24) Source(8, 24) + SourceIndex(0) --- >>>} 1 > @@ -116,8 +117,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(5, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(9, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(9, 2) + SourceIndex(0) --- >>>function foo2(_a) { 1-> @@ -133,11 +134,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 3 > foo2 4 > ( 5 > [numberB]: Robot -1->Emitted(6, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(6, 10) Source(11, 10) + SourceIndex(0) -3 >Emitted(6, 14) Source(11, 14) + SourceIndex(0) -4 >Emitted(6, 15) Source(11, 15) + SourceIndex(0) -5 >Emitted(6, 17) Source(11, 31) + SourceIndex(0) +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 10) Source(11, 10) + SourceIndex(0) +3 >Emitted(7, 14) Source(11, 14) + SourceIndex(0) +4 >Emitted(7, 15) Source(11, 15) + SourceIndex(0) +5 >Emitted(7, 17) Source(11, 31) + SourceIndex(0) --- >>> var numberB = _a[0]; 1->^^^^^^^^ @@ -147,9 +148,9 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 1-> 2 > numberB 3 > -1->Emitted(7, 9) Source(11, 16) + SourceIndex(0) -2 >Emitted(7, 16) Source(11, 23) + SourceIndex(0) -3 >Emitted(7, 24) Source(11, 23) + SourceIndex(0) +1->Emitted(8, 9) Source(11, 16) + SourceIndex(0) +2 >Emitted(8, 16) Source(11, 23) + SourceIndex(0) +3 >Emitted(8, 24) Source(11, 23) + SourceIndex(0) --- >>> console.log(numberB); 1->^^^^ @@ -169,14 +170,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 6 > numberB 7 > ) 8 > ; -1->Emitted(8, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(12, 12) + SourceIndex(0) -3 >Emitted(8, 13) Source(12, 13) + SourceIndex(0) -4 >Emitted(8, 16) Source(12, 16) + SourceIndex(0) -5 >Emitted(8, 17) Source(12, 17) + SourceIndex(0) -6 >Emitted(8, 24) Source(12, 24) + SourceIndex(0) -7 >Emitted(8, 25) Source(12, 25) + SourceIndex(0) -8 >Emitted(8, 26) Source(12, 26) + SourceIndex(0) +1->Emitted(9, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(12, 12) + SourceIndex(0) +3 >Emitted(9, 13) Source(12, 13) + SourceIndex(0) +4 >Emitted(9, 16) Source(12, 16) + SourceIndex(0) +5 >Emitted(9, 17) Source(12, 17) + SourceIndex(0) +6 >Emitted(9, 24) Source(12, 24) + SourceIndex(0) +7 >Emitted(9, 25) Source(12, 25) + SourceIndex(0) +8 >Emitted(9, 26) Source(12, 26) + SourceIndex(0) --- >>>} 1 > @@ -185,8 +186,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(9, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(13, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(13, 2) + SourceIndex(0) --- >>>function foo3(_a) { 1-> @@ -202,11 +203,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 3 > foo3 4 > ( 5 > [numberA2, nameA2, skillA2]: Robot -1->Emitted(10, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(10, 10) Source(15, 10) + SourceIndex(0) -3 >Emitted(10, 14) Source(15, 14) + SourceIndex(0) -4 >Emitted(10, 15) Source(15, 15) + SourceIndex(0) -5 >Emitted(10, 17) Source(15, 49) + SourceIndex(0) +1->Emitted(11, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(11, 10) Source(15, 10) + SourceIndex(0) +3 >Emitted(11, 14) Source(15, 14) + SourceIndex(0) +4 >Emitted(11, 15) Source(15, 15) + SourceIndex(0) +5 >Emitted(11, 17) Source(15, 49) + SourceIndex(0) --- >>> var numberA2 = _a[0], nameA2 = _a[1], skillA2 = _a[2]; 1->^^^^^^^^ @@ -227,15 +228,15 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 7 > , 8 > skillA2 9 > -1->Emitted(11, 9) Source(15, 16) + SourceIndex(0) -2 >Emitted(11, 17) Source(15, 24) + SourceIndex(0) -3 >Emitted(11, 25) Source(15, 24) + SourceIndex(0) -4 >Emitted(11, 27) Source(15, 26) + SourceIndex(0) -5 >Emitted(11, 33) Source(15, 32) + SourceIndex(0) -6 >Emitted(11, 41) Source(15, 32) + SourceIndex(0) -7 >Emitted(11, 43) Source(15, 34) + SourceIndex(0) -8 >Emitted(11, 50) Source(15, 41) + SourceIndex(0) -9 >Emitted(11, 58) Source(15, 41) + SourceIndex(0) +1->Emitted(12, 9) Source(15, 16) + SourceIndex(0) +2 >Emitted(12, 17) Source(15, 24) + SourceIndex(0) +3 >Emitted(12, 25) Source(15, 24) + SourceIndex(0) +4 >Emitted(12, 27) Source(15, 26) + SourceIndex(0) +5 >Emitted(12, 33) Source(15, 32) + SourceIndex(0) +6 >Emitted(12, 41) Source(15, 32) + SourceIndex(0) +7 >Emitted(12, 43) Source(15, 34) + SourceIndex(0) +8 >Emitted(12, 50) Source(15, 41) + SourceIndex(0) +9 >Emitted(12, 58) Source(15, 41) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -255,14 +256,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 6 > nameA2 7 > ) 8 > ; -1 >Emitted(12, 5) Source(16, 5) + SourceIndex(0) -2 >Emitted(12, 12) Source(16, 12) + SourceIndex(0) -3 >Emitted(12, 13) Source(16, 13) + SourceIndex(0) -4 >Emitted(12, 16) Source(16, 16) + SourceIndex(0) -5 >Emitted(12, 17) Source(16, 17) + SourceIndex(0) -6 >Emitted(12, 23) Source(16, 23) + SourceIndex(0) -7 >Emitted(12, 24) Source(16, 24) + SourceIndex(0) -8 >Emitted(12, 25) Source(16, 25) + SourceIndex(0) +1 >Emitted(13, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(13, 12) Source(16, 12) + SourceIndex(0) +3 >Emitted(13, 13) Source(16, 13) + SourceIndex(0) +4 >Emitted(13, 16) Source(16, 16) + SourceIndex(0) +5 >Emitted(13, 17) Source(16, 17) + SourceIndex(0) +6 >Emitted(13, 23) Source(16, 23) + SourceIndex(0) +7 >Emitted(13, 24) Source(16, 24) + SourceIndex(0) +8 >Emitted(13, 25) Source(16, 25) + SourceIndex(0) --- >>>} 1 > @@ -271,8 +272,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(13, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(17, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(17, 2) + SourceIndex(0) --- >>>function foo4(_a) { 1-> @@ -288,11 +289,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 3 > foo4 4 > ( 5 > [numberA3, ...robotAInfo]: Robot -1->Emitted(14, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(14, 10) Source(19, 10) + SourceIndex(0) -3 >Emitted(14, 14) Source(19, 14) + SourceIndex(0) -4 >Emitted(14, 15) Source(19, 15) + SourceIndex(0) -5 >Emitted(14, 17) Source(19, 47) + SourceIndex(0) +1->Emitted(15, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(15, 10) Source(19, 10) + SourceIndex(0) +3 >Emitted(15, 14) Source(19, 14) + SourceIndex(0) +4 >Emitted(15, 15) Source(19, 15) + SourceIndex(0) +5 >Emitted(15, 17) Source(19, 47) + SourceIndex(0) --- >>> var numberA3 = _a[0], robotAInfo = _a.slice(1); 1->^^^^^^^^ @@ -307,12 +308,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 4 > , ... 5 > robotAInfo 6 > -1->Emitted(15, 9) Source(19, 16) + SourceIndex(0) -2 >Emitted(15, 17) Source(19, 24) + SourceIndex(0) -3 >Emitted(15, 25) Source(19, 24) + SourceIndex(0) -4 >Emitted(15, 27) Source(19, 29) + SourceIndex(0) -5 >Emitted(15, 37) Source(19, 39) + SourceIndex(0) -6 >Emitted(15, 51) Source(19, 39) + SourceIndex(0) +1->Emitted(16, 9) Source(19, 16) + SourceIndex(0) +2 >Emitted(16, 17) Source(19, 24) + SourceIndex(0) +3 >Emitted(16, 25) Source(19, 24) + SourceIndex(0) +4 >Emitted(16, 27) Source(19, 29) + SourceIndex(0) +5 >Emitted(16, 37) Source(19, 39) + SourceIndex(0) +6 >Emitted(16, 51) Source(19, 39) + SourceIndex(0) --- >>> console.log(robotAInfo); 1 >^^^^ @@ -332,14 +333,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 6 > robotAInfo 7 > ) 8 > ; -1 >Emitted(16, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(16, 12) Source(20, 12) + SourceIndex(0) -3 >Emitted(16, 13) Source(20, 13) + SourceIndex(0) -4 >Emitted(16, 16) Source(20, 16) + SourceIndex(0) -5 >Emitted(16, 17) Source(20, 17) + SourceIndex(0) -6 >Emitted(16, 27) Source(20, 27) + SourceIndex(0) -7 >Emitted(16, 28) Source(20, 28) + SourceIndex(0) -8 >Emitted(16, 29) Source(20, 29) + SourceIndex(0) +1 >Emitted(17, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(17, 12) Source(20, 12) + SourceIndex(0) +3 >Emitted(17, 13) Source(20, 13) + SourceIndex(0) +4 >Emitted(17, 16) Source(20, 16) + SourceIndex(0) +5 >Emitted(17, 17) Source(20, 17) + SourceIndex(0) +6 >Emitted(17, 27) Source(20, 27) + SourceIndex(0) +7 >Emitted(17, 28) Source(20, 28) + SourceIndex(0) +8 >Emitted(17, 29) Source(20, 29) + SourceIndex(0) --- >>>} 1 > @@ -348,8 +349,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 1 > > 2 >} -1 >Emitted(17, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(17, 2) Source(21, 2) + SourceIndex(0) +1 >Emitted(18, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(18, 2) Source(21, 2) + SourceIndex(0) --- >>>foo1(robotA); 1-> @@ -367,12 +368,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 4 > robotA 5 > ) 6 > ; -1->Emitted(18, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(18, 5) Source(23, 5) + SourceIndex(0) -3 >Emitted(18, 6) Source(23, 6) + SourceIndex(0) -4 >Emitted(18, 12) Source(23, 12) + SourceIndex(0) -5 >Emitted(18, 13) Source(23, 13) + SourceIndex(0) -6 >Emitted(18, 14) Source(23, 14) + SourceIndex(0) +1->Emitted(19, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(19, 5) Source(23, 5) + SourceIndex(0) +3 >Emitted(19, 6) Source(23, 6) + SourceIndex(0) +4 >Emitted(19, 12) Source(23, 12) + SourceIndex(0) +5 >Emitted(19, 13) Source(23, 13) + SourceIndex(0) +6 >Emitted(19, 14) Source(23, 14) + SourceIndex(0) --- >>>foo1([2, "trimmer", "trimming"]); 1-> @@ -400,18 +401,18 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 10> ] 11> ) 12> ; -1->Emitted(19, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(19, 5) Source(24, 5) + SourceIndex(0) -3 >Emitted(19, 6) Source(24, 6) + SourceIndex(0) -4 >Emitted(19, 7) Source(24, 7) + SourceIndex(0) -5 >Emitted(19, 8) Source(24, 8) + SourceIndex(0) -6 >Emitted(19, 10) Source(24, 10) + SourceIndex(0) -7 >Emitted(19, 19) Source(24, 19) + SourceIndex(0) -8 >Emitted(19, 21) Source(24, 21) + SourceIndex(0) -9 >Emitted(19, 31) Source(24, 31) + SourceIndex(0) -10>Emitted(19, 32) Source(24, 32) + SourceIndex(0) -11>Emitted(19, 33) Source(24, 33) + SourceIndex(0) -12>Emitted(19, 34) Source(24, 34) + SourceIndex(0) +1->Emitted(20, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(24, 5) + SourceIndex(0) +3 >Emitted(20, 6) Source(24, 6) + SourceIndex(0) +4 >Emitted(20, 7) Source(24, 7) + SourceIndex(0) +5 >Emitted(20, 8) Source(24, 8) + SourceIndex(0) +6 >Emitted(20, 10) Source(24, 10) + SourceIndex(0) +7 >Emitted(20, 19) Source(24, 19) + SourceIndex(0) +8 >Emitted(20, 21) Source(24, 21) + SourceIndex(0) +9 >Emitted(20, 31) Source(24, 31) + SourceIndex(0) +10>Emitted(20, 32) Source(24, 32) + SourceIndex(0) +11>Emitted(20, 33) Source(24, 33) + SourceIndex(0) +12>Emitted(20, 34) Source(24, 34) + SourceIndex(0) --- >>>foo2(robotA); 1 > @@ -429,12 +430,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 4 > robotA 5 > ) 6 > ; -1 >Emitted(20, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(20, 5) Source(26, 5) + SourceIndex(0) -3 >Emitted(20, 6) Source(26, 6) + SourceIndex(0) -4 >Emitted(20, 12) Source(26, 12) + SourceIndex(0) -5 >Emitted(20, 13) Source(26, 13) + SourceIndex(0) -6 >Emitted(20, 14) Source(26, 14) + SourceIndex(0) +1 >Emitted(21, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(21, 5) Source(26, 5) + SourceIndex(0) +3 >Emitted(21, 6) Source(26, 6) + SourceIndex(0) +4 >Emitted(21, 12) Source(26, 12) + SourceIndex(0) +5 >Emitted(21, 13) Source(26, 13) + SourceIndex(0) +6 >Emitted(21, 14) Source(26, 14) + SourceIndex(0) --- >>>foo2([2, "trimmer", "trimming"]); 1-> @@ -462,18 +463,18 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 10> ] 11> ) 12> ; -1->Emitted(21, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(21, 5) Source(27, 5) + SourceIndex(0) -3 >Emitted(21, 6) Source(27, 6) + SourceIndex(0) -4 >Emitted(21, 7) Source(27, 7) + SourceIndex(0) -5 >Emitted(21, 8) Source(27, 8) + SourceIndex(0) -6 >Emitted(21, 10) Source(27, 10) + SourceIndex(0) -7 >Emitted(21, 19) Source(27, 19) + SourceIndex(0) -8 >Emitted(21, 21) Source(27, 21) + SourceIndex(0) -9 >Emitted(21, 31) Source(27, 31) + SourceIndex(0) -10>Emitted(21, 32) Source(27, 32) + SourceIndex(0) -11>Emitted(21, 33) Source(27, 33) + SourceIndex(0) -12>Emitted(21, 34) Source(27, 34) + SourceIndex(0) +1->Emitted(22, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(22, 5) Source(27, 5) + SourceIndex(0) +3 >Emitted(22, 6) Source(27, 6) + SourceIndex(0) +4 >Emitted(22, 7) Source(27, 7) + SourceIndex(0) +5 >Emitted(22, 8) Source(27, 8) + SourceIndex(0) +6 >Emitted(22, 10) Source(27, 10) + SourceIndex(0) +7 >Emitted(22, 19) Source(27, 19) + SourceIndex(0) +8 >Emitted(22, 21) Source(27, 21) + SourceIndex(0) +9 >Emitted(22, 31) Source(27, 31) + SourceIndex(0) +10>Emitted(22, 32) Source(27, 32) + SourceIndex(0) +11>Emitted(22, 33) Source(27, 33) + SourceIndex(0) +12>Emitted(22, 34) Source(27, 34) + SourceIndex(0) --- >>>foo3(robotA); 1 > @@ -491,12 +492,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 4 > robotA 5 > ) 6 > ; -1 >Emitted(22, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(22, 5) Source(29, 5) + SourceIndex(0) -3 >Emitted(22, 6) Source(29, 6) + SourceIndex(0) -4 >Emitted(22, 12) Source(29, 12) + SourceIndex(0) -5 >Emitted(22, 13) Source(29, 13) + SourceIndex(0) -6 >Emitted(22, 14) Source(29, 14) + SourceIndex(0) +1 >Emitted(23, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(23, 5) Source(29, 5) + SourceIndex(0) +3 >Emitted(23, 6) Source(29, 6) + SourceIndex(0) +4 >Emitted(23, 12) Source(29, 12) + SourceIndex(0) +5 >Emitted(23, 13) Source(29, 13) + SourceIndex(0) +6 >Emitted(23, 14) Source(29, 14) + SourceIndex(0) --- >>>foo3([2, "trimmer", "trimming"]); 1-> @@ -524,18 +525,18 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 10> ] 11> ) 12> ; -1->Emitted(23, 1) Source(30, 1) + SourceIndex(0) -2 >Emitted(23, 5) Source(30, 5) + SourceIndex(0) -3 >Emitted(23, 6) Source(30, 6) + SourceIndex(0) -4 >Emitted(23, 7) Source(30, 7) + SourceIndex(0) -5 >Emitted(23, 8) Source(30, 8) + SourceIndex(0) -6 >Emitted(23, 10) Source(30, 10) + SourceIndex(0) -7 >Emitted(23, 19) Source(30, 19) + SourceIndex(0) -8 >Emitted(23, 21) Source(30, 21) + SourceIndex(0) -9 >Emitted(23, 31) Source(30, 31) + SourceIndex(0) -10>Emitted(23, 32) Source(30, 32) + SourceIndex(0) -11>Emitted(23, 33) Source(30, 33) + SourceIndex(0) -12>Emitted(23, 34) Source(30, 34) + SourceIndex(0) +1->Emitted(24, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(24, 5) Source(30, 5) + SourceIndex(0) +3 >Emitted(24, 6) Source(30, 6) + SourceIndex(0) +4 >Emitted(24, 7) Source(30, 7) + SourceIndex(0) +5 >Emitted(24, 8) Source(30, 8) + SourceIndex(0) +6 >Emitted(24, 10) Source(30, 10) + SourceIndex(0) +7 >Emitted(24, 19) Source(30, 19) + SourceIndex(0) +8 >Emitted(24, 21) Source(30, 21) + SourceIndex(0) +9 >Emitted(24, 31) Source(30, 31) + SourceIndex(0) +10>Emitted(24, 32) Source(30, 32) + SourceIndex(0) +11>Emitted(24, 33) Source(30, 33) + SourceIndex(0) +12>Emitted(24, 34) Source(30, 34) + SourceIndex(0) --- >>>foo4(robotA); 1 > @@ -553,12 +554,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 4 > robotA 5 > ) 6 > ; -1 >Emitted(24, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(24, 5) Source(32, 5) + SourceIndex(0) -3 >Emitted(24, 6) Source(32, 6) + SourceIndex(0) -4 >Emitted(24, 12) Source(32, 12) + SourceIndex(0) -5 >Emitted(24, 13) Source(32, 13) + SourceIndex(0) -6 >Emitted(24, 14) Source(32, 14) + SourceIndex(0) +1 >Emitted(25, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(25, 5) Source(32, 5) + SourceIndex(0) +3 >Emitted(25, 6) Source(32, 6) + SourceIndex(0) +4 >Emitted(25, 12) Source(32, 12) + SourceIndex(0) +5 >Emitted(25, 13) Source(32, 13) + SourceIndex(0) +6 >Emitted(25, 14) Source(32, 14) + SourceIndex(0) --- >>>foo4([2, "trimmer", "trimming"]); 1-> @@ -587,17 +588,17 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern.ts 10> ] 11> ) 12> ; -1->Emitted(25, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(25, 5) Source(33, 5) + SourceIndex(0) -3 >Emitted(25, 6) Source(33, 6) + SourceIndex(0) -4 >Emitted(25, 7) Source(33, 7) + SourceIndex(0) -5 >Emitted(25, 8) Source(33, 8) + SourceIndex(0) -6 >Emitted(25, 10) Source(33, 10) + SourceIndex(0) -7 >Emitted(25, 19) Source(33, 19) + SourceIndex(0) -8 >Emitted(25, 21) Source(33, 21) + SourceIndex(0) -9 >Emitted(25, 31) Source(33, 31) + SourceIndex(0) -10>Emitted(25, 32) Source(33, 32) + SourceIndex(0) -11>Emitted(25, 33) Source(33, 33) + SourceIndex(0) -12>Emitted(25, 34) Source(33, 34) + SourceIndex(0) +1->Emitted(26, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(26, 5) Source(33, 5) + SourceIndex(0) +3 >Emitted(26, 6) Source(33, 6) + SourceIndex(0) +4 >Emitted(26, 7) Source(33, 7) + SourceIndex(0) +5 >Emitted(26, 8) Source(33, 8) + SourceIndex(0) +6 >Emitted(26, 10) Source(33, 10) + SourceIndex(0) +7 >Emitted(26, 19) Source(33, 19) + SourceIndex(0) +8 >Emitted(26, 21) Source(33, 21) + SourceIndex(0) +9 >Emitted(26, 31) Source(33, 31) + SourceIndex(0) +10>Emitted(26, 32) Source(33, 32) + SourceIndex(0) +11>Emitted(26, 33) Source(33, 33) + SourceIndex(0) +12>Emitted(26, 34) Source(33, 34) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringParametertArrayBindingPattern.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.js b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.js index cd301e38a76e2..861ce614dba58 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.js @@ -36,6 +36,7 @@ foo4(robotA); foo4(["roomba", ["vacuum", "mopping"]]); //// [sourceMapValidationDestructuringParametertArrayBindingPattern2.js] +"use strict"; var robotA = ["trimmer", ["trimming", "edging"]]; function foo1(_a) { var skillA = _a[1]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.js.map index da0027f7d441c..76e08b2809897 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringParametertArrayBindingPattern2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringParametertArrayBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParametertArrayBindingPattern2.ts"],"names":[],"mappings":"AAIA,IAAI,MAAM,GAAU,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AAExD,SAAS,IAAI,CAAC,EAAiB;QAAd,MAAM,QAAA;IACnB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC;AAED,S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yxRQUFRLEVBQUUsU0FBUyxDQUFDLENBQUMsQ0FBQyxDQUFDIn0=,ZGVjbGFyZSB2YXIgY29uc29sZTogewogICAgbG9nKG1zZzogYW55KTogdm9pZDsKfQp0eXBlIFJvYm90ID0gW3N0cmluZywgW3N0cmluZywgc3RyaW5nXV07CnZhciByb2JvdEE6IFJvYm90ID0gWyJ0cmltbWVyIiwgWyJ0cmltbWluZyIsICJlZGdpbmciXV07CgpmdW5jdGlvbiBmb28xKFssIHNraWxsQV06IFJvYm90KSB7CiAgICBjb25zb2xlLmxvZyhza2lsbEEpOwp9CgpmdW5jdGlvbiBmb28yKFtuYW1lTUJdOiBSb2JvdCkgewogICAgY29uc29sZS5sb2cobmFtZU1CKTsKfQoKZnVuY3Rpb24gZm9vMyhbbmFtZU1BLCBbcHJpbWFyeVNraWxsQSwgc2Vjb25kYXJ5U2tpbGxBXV06IFJvYm90KSB7CiAgICBjb25zb2xlLmxvZyhuYW1lTUEpOwp9CgpmdW5jdGlvbiBmb280KFsuLi5tdWx0aVJvYm90QUluZm9dOiBSb2JvdCkgewogICAgY29uc29sZS5sb2cobXVsdGlSb2JvdEFJbmZvKTsKfQoKZm9vMShyb2JvdEEpOwpmb28xKFsicm9vbWJhIiwgWyJ2YWN1dW0iLCAibW9wcGluZyJdXSk7Cgpmb28yKHJvYm90QSk7CmZvbzIoWyJyb29tYmEiLCBbInZhY3V1bSIsICJtb3BwaW5nIl1dKTsKCmZvbzMocm9ib3RBKTsKZm9vMyhbInJvb21iYSIsIFsidmFjdXVtIiwgIm1vcHBpbmciXV0pOwoKZm9vNChyb2JvdEEpOwpmb280KFsicm9vbWJhIiwgWyJ2YWN1dW0iLCAibW9wcGluZyJdXSk7 +{"version":3,"file":"sourceMapValidationDestructuringParametertArrayBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParametertArrayBindingPattern2.ts"],"names":[],"mappings":";AAIA,IAAI,MAAM,GAAU,CAAC,SAAS,EAAE,CAAC,UAAU,EAA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diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.sourcemap.txt index 14bd45c1abe98..93d901be6b967 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPattern2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringParametertArrayBindingPattern2.ts emittedFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.js sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = ["trimmer", ["trimming", "edging"]]; 1 > 2 >^^^^ @@ -41,20 +42,20 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 12> ] 13> ] 14> ; -1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(5, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(5, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(5, 21) + SourceIndex(0) -5 >Emitted(1, 15) Source(5, 22) + SourceIndex(0) -6 >Emitted(1, 24) Source(5, 31) + SourceIndex(0) -7 >Emitted(1, 26) Source(5, 33) + SourceIndex(0) -8 >Emitted(1, 27) Source(5, 34) + SourceIndex(0) -9 >Emitted(1, 37) Source(5, 44) + SourceIndex(0) -10>Emitted(1, 39) Source(5, 46) + SourceIndex(0) -11>Emitted(1, 47) Source(5, 54) + SourceIndex(0) -12>Emitted(1, 48) Source(5, 55) + SourceIndex(0) -13>Emitted(1, 49) Source(5, 56) + SourceIndex(0) -14>Emitted(1, 50) Source(5, 57) + SourceIndex(0) +1 >Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(5, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(5, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(5, 21) + SourceIndex(0) +5 >Emitted(2, 15) Source(5, 22) + SourceIndex(0) +6 >Emitted(2, 24) Source(5, 31) + SourceIndex(0) +7 >Emitted(2, 26) Source(5, 33) + SourceIndex(0) +8 >Emitted(2, 27) Source(5, 34) + SourceIndex(0) +9 >Emitted(2, 37) Source(5, 44) + SourceIndex(0) +10>Emitted(2, 39) Source(5, 46) + SourceIndex(0) +11>Emitted(2, 47) Source(5, 54) + SourceIndex(0) +12>Emitted(2, 48) Source(5, 55) + SourceIndex(0) +13>Emitted(2, 49) Source(5, 56) + SourceIndex(0) +14>Emitted(2, 50) Source(5, 57) + SourceIndex(0) --- >>>function foo1(_a) { 1 > @@ -70,11 +71,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 3 > foo1 4 > ( 5 > [, skillA]: Robot -1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(2, 10) Source(7, 10) + SourceIndex(0) -3 >Emitted(2, 14) Source(7, 14) + SourceIndex(0) -4 >Emitted(2, 15) Source(7, 15) + SourceIndex(0) -5 >Emitted(2, 17) Source(7, 32) + SourceIndex(0) +1 >Emitted(3, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(3, 10) Source(7, 10) + SourceIndex(0) +3 >Emitted(3, 14) Source(7, 14) + SourceIndex(0) +4 >Emitted(3, 15) Source(7, 15) + SourceIndex(0) +5 >Emitted(3, 17) Source(7, 32) + SourceIndex(0) --- >>> var skillA = _a[1]; 1->^^^^^^^^ @@ -84,9 +85,9 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 1-> 2 > skillA 3 > -1->Emitted(3, 9) Source(7, 18) + SourceIndex(0) -2 >Emitted(3, 15) Source(7, 24) + SourceIndex(0) -3 >Emitted(3, 23) Source(7, 24) + SourceIndex(0) +1->Emitted(4, 9) Source(7, 18) + SourceIndex(0) +2 >Emitted(4, 15) Source(7, 24) + SourceIndex(0) +3 >Emitted(4, 23) Source(7, 24) + SourceIndex(0) --- >>> console.log(skillA); 1->^^^^ @@ -106,14 +107,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 6 > skillA 7 > ) 8 > ; -1->Emitted(4, 5) Source(8, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(8, 12) + SourceIndex(0) -3 >Emitted(4, 13) Source(8, 13) + SourceIndex(0) -4 >Emitted(4, 16) Source(8, 16) + SourceIndex(0) -5 >Emitted(4, 17) Source(8, 17) + SourceIndex(0) -6 >Emitted(4, 23) Source(8, 23) + SourceIndex(0) -7 >Emitted(4, 24) Source(8, 24) + SourceIndex(0) -8 >Emitted(4, 25) Source(8, 25) + SourceIndex(0) +1->Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(8, 12) + SourceIndex(0) +3 >Emitted(5, 13) Source(8, 13) + SourceIndex(0) +4 >Emitted(5, 16) Source(8, 16) + SourceIndex(0) +5 >Emitted(5, 17) Source(8, 17) + SourceIndex(0) +6 >Emitted(5, 23) Source(8, 23) + SourceIndex(0) +7 >Emitted(5, 24) Source(8, 24) + SourceIndex(0) +8 >Emitted(5, 25) Source(8, 25) + SourceIndex(0) --- >>>} 1 > @@ -122,8 +123,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(5, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(9, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(9, 2) + SourceIndex(0) --- >>>function foo2(_a) { 1-> @@ -139,11 +140,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 3 > foo2 4 > ( 5 > [nameMB]: Robot -1->Emitted(6, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(6, 10) Source(11, 10) + SourceIndex(0) -3 >Emitted(6, 14) Source(11, 14) + SourceIndex(0) -4 >Emitted(6, 15) Source(11, 15) + SourceIndex(0) -5 >Emitted(6, 17) Source(11, 30) + SourceIndex(0) +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 10) Source(11, 10) + SourceIndex(0) +3 >Emitted(7, 14) Source(11, 14) + SourceIndex(0) +4 >Emitted(7, 15) Source(11, 15) + SourceIndex(0) +5 >Emitted(7, 17) Source(11, 30) + SourceIndex(0) --- >>> var nameMB = _a[0]; 1->^^^^^^^^ @@ -153,9 +154,9 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 1-> 2 > nameMB 3 > -1->Emitted(7, 9) Source(11, 16) + SourceIndex(0) -2 >Emitted(7, 15) Source(11, 22) + SourceIndex(0) -3 >Emitted(7, 23) Source(11, 22) + SourceIndex(0) +1->Emitted(8, 9) Source(11, 16) + SourceIndex(0) +2 >Emitted(8, 15) Source(11, 22) + SourceIndex(0) +3 >Emitted(8, 23) Source(11, 22) + SourceIndex(0) --- >>> console.log(nameMB); 1->^^^^ @@ -175,14 +176,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 6 > nameMB 7 > ) 8 > ; -1->Emitted(8, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(12, 12) + SourceIndex(0) -3 >Emitted(8, 13) Source(12, 13) + SourceIndex(0) -4 >Emitted(8, 16) Source(12, 16) + SourceIndex(0) -5 >Emitted(8, 17) Source(12, 17) + SourceIndex(0) -6 >Emitted(8, 23) Source(12, 23) + SourceIndex(0) -7 >Emitted(8, 24) Source(12, 24) + SourceIndex(0) -8 >Emitted(8, 25) Source(12, 25) + SourceIndex(0) +1->Emitted(9, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(12, 12) + SourceIndex(0) +3 >Emitted(9, 13) Source(12, 13) + SourceIndex(0) +4 >Emitted(9, 16) Source(12, 16) + SourceIndex(0) +5 >Emitted(9, 17) Source(12, 17) + SourceIndex(0) +6 >Emitted(9, 23) Source(12, 23) + SourceIndex(0) +7 >Emitted(9, 24) Source(12, 24) + SourceIndex(0) +8 >Emitted(9, 25) Source(12, 25) + SourceIndex(0) --- >>>} 1 > @@ -191,8 +192,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(9, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(13, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(13, 2) + SourceIndex(0) --- >>>function foo3(_a) { 1-> @@ -208,11 +209,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 3 > foo3 4 > ( 5 > [nameMA, [primarySkillA, secondarySkillA]]: Robot -1->Emitted(10, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(10, 10) Source(15, 10) + SourceIndex(0) -3 >Emitted(10, 14) Source(15, 14) + SourceIndex(0) -4 >Emitted(10, 15) Source(15, 15) + SourceIndex(0) -5 >Emitted(10, 17) Source(15, 64) + SourceIndex(0) +1->Emitted(11, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(11, 10) Source(15, 10) + SourceIndex(0) +3 >Emitted(11, 14) Source(15, 14) + SourceIndex(0) +4 >Emitted(11, 15) Source(15, 15) + SourceIndex(0) +5 >Emitted(11, 17) Source(15, 64) + SourceIndex(0) --- >>> var nameMA = _a[0], _b = _a[1], primarySkillA = _b[0], secondarySkillA = _b[1]; 1->^^^^^^^^ @@ -237,17 +238,17 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 9 > , 10> secondarySkillA 11> -1->Emitted(11, 9) Source(15, 16) + SourceIndex(0) -2 >Emitted(11, 15) Source(15, 22) + SourceIndex(0) -3 >Emitted(11, 23) Source(15, 22) + SourceIndex(0) -4 >Emitted(11, 25) Source(15, 24) + SourceIndex(0) -5 >Emitted(11, 35) Source(15, 56) + SourceIndex(0) -6 >Emitted(11, 37) Source(15, 25) + SourceIndex(0) -7 >Emitted(11, 50) Source(15, 38) + SourceIndex(0) -8 >Emitted(11, 58) Source(15, 38) + SourceIndex(0) -9 >Emitted(11, 60) Source(15, 40) + SourceIndex(0) -10>Emitted(11, 75) Source(15, 55) + SourceIndex(0) -11>Emitted(11, 83) Source(15, 55) + SourceIndex(0) +1->Emitted(12, 9) Source(15, 16) + SourceIndex(0) +2 >Emitted(12, 15) Source(15, 22) + SourceIndex(0) +3 >Emitted(12, 23) Source(15, 22) + SourceIndex(0) +4 >Emitted(12, 25) Source(15, 24) + SourceIndex(0) +5 >Emitted(12, 35) Source(15, 56) + SourceIndex(0) +6 >Emitted(12, 37) Source(15, 25) + SourceIndex(0) +7 >Emitted(12, 50) Source(15, 38) + SourceIndex(0) +8 >Emitted(12, 58) Source(15, 38) + SourceIndex(0) +9 >Emitted(12, 60) Source(15, 40) + SourceIndex(0) +10>Emitted(12, 75) Source(15, 55) + SourceIndex(0) +11>Emitted(12, 83) Source(15, 55) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -267,14 +268,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 6 > nameMA 7 > ) 8 > ; -1 >Emitted(12, 5) Source(16, 5) + SourceIndex(0) -2 >Emitted(12, 12) Source(16, 12) + SourceIndex(0) -3 >Emitted(12, 13) Source(16, 13) + SourceIndex(0) -4 >Emitted(12, 16) Source(16, 16) + SourceIndex(0) -5 >Emitted(12, 17) Source(16, 17) + SourceIndex(0) -6 >Emitted(12, 23) Source(16, 23) + SourceIndex(0) -7 >Emitted(12, 24) Source(16, 24) + SourceIndex(0) -8 >Emitted(12, 25) Source(16, 25) + SourceIndex(0) +1 >Emitted(13, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(13, 12) Source(16, 12) + SourceIndex(0) +3 >Emitted(13, 13) Source(16, 13) + SourceIndex(0) +4 >Emitted(13, 16) Source(16, 16) + SourceIndex(0) +5 >Emitted(13, 17) Source(16, 17) + SourceIndex(0) +6 >Emitted(13, 23) Source(16, 23) + SourceIndex(0) +7 >Emitted(13, 24) Source(16, 24) + SourceIndex(0) +8 >Emitted(13, 25) Source(16, 25) + SourceIndex(0) --- >>>} 1 > @@ -283,8 +284,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(13, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(17, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(17, 2) + SourceIndex(0) --- >>>function foo4(_a) { 1-> @@ -300,11 +301,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 3 > foo4 4 > ( 5 > [...multiRobotAInfo]: Robot -1->Emitted(14, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(14, 10) Source(19, 10) + SourceIndex(0) -3 >Emitted(14, 14) Source(19, 14) + SourceIndex(0) -4 >Emitted(14, 15) Source(19, 15) + SourceIndex(0) -5 >Emitted(14, 17) Source(19, 42) + SourceIndex(0) +1->Emitted(15, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(15, 10) Source(19, 10) + SourceIndex(0) +3 >Emitted(15, 14) Source(19, 14) + SourceIndex(0) +4 >Emitted(15, 15) Source(19, 15) + SourceIndex(0) +5 >Emitted(15, 17) Source(19, 42) + SourceIndex(0) --- >>> var multiRobotAInfo = _a.slice(0); 1->^^^^^^^^ @@ -313,9 +314,9 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 1-> 2 > multiRobotAInfo 3 > -1->Emitted(15, 9) Source(19, 19) + SourceIndex(0) -2 >Emitted(15, 24) Source(19, 34) + SourceIndex(0) -3 >Emitted(15, 38) Source(19, 34) + SourceIndex(0) +1->Emitted(16, 9) Source(19, 19) + SourceIndex(0) +2 >Emitted(16, 24) Source(19, 34) + SourceIndex(0) +3 >Emitted(16, 38) Source(19, 34) + SourceIndex(0) --- >>> console.log(multiRobotAInfo); 1 >^^^^ @@ -335,14 +336,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 6 > multiRobotAInfo 7 > ) 8 > ; -1 >Emitted(16, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(16, 12) Source(20, 12) + SourceIndex(0) -3 >Emitted(16, 13) Source(20, 13) + SourceIndex(0) -4 >Emitted(16, 16) Source(20, 16) + SourceIndex(0) -5 >Emitted(16, 17) Source(20, 17) + SourceIndex(0) -6 >Emitted(16, 32) Source(20, 32) + SourceIndex(0) -7 >Emitted(16, 33) Source(20, 33) + SourceIndex(0) -8 >Emitted(16, 34) Source(20, 34) + SourceIndex(0) +1 >Emitted(17, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(17, 12) Source(20, 12) + SourceIndex(0) +3 >Emitted(17, 13) Source(20, 13) + SourceIndex(0) +4 >Emitted(17, 16) Source(20, 16) + SourceIndex(0) +5 >Emitted(17, 17) Source(20, 17) + SourceIndex(0) +6 >Emitted(17, 32) Source(20, 32) + SourceIndex(0) +7 >Emitted(17, 33) Source(20, 33) + SourceIndex(0) +8 >Emitted(17, 34) Source(20, 34) + SourceIndex(0) --- >>>} 1 > @@ -351,8 +352,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 1 > > 2 >} -1 >Emitted(17, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(17, 2) Source(21, 2) + SourceIndex(0) +1 >Emitted(18, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(18, 2) Source(21, 2) + SourceIndex(0) --- >>>foo1(robotA); 1-> @@ -370,12 +371,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 4 > robotA 5 > ) 6 > ; -1->Emitted(18, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(18, 5) Source(23, 5) + SourceIndex(0) -3 >Emitted(18, 6) Source(23, 6) + SourceIndex(0) -4 >Emitted(18, 12) Source(23, 12) + SourceIndex(0) -5 >Emitted(18, 13) Source(23, 13) + SourceIndex(0) -6 >Emitted(18, 14) Source(23, 14) + SourceIndex(0) +1->Emitted(19, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(19, 5) Source(23, 5) + SourceIndex(0) +3 >Emitted(19, 6) Source(23, 6) + SourceIndex(0) +4 >Emitted(19, 12) Source(23, 12) + SourceIndex(0) +5 >Emitted(19, 13) Source(23, 13) + SourceIndex(0) +6 >Emitted(19, 14) Source(23, 14) + SourceIndex(0) --- >>>foo1(["roomba", ["vacuum", "mopping"]]); 1-> @@ -407,20 +408,20 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 12> ] 13> ) 14> ; -1->Emitted(19, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(19, 5) Source(24, 5) + SourceIndex(0) -3 >Emitted(19, 6) Source(24, 6) + SourceIndex(0) -4 >Emitted(19, 7) Source(24, 7) + SourceIndex(0) -5 >Emitted(19, 15) Source(24, 15) + SourceIndex(0) -6 >Emitted(19, 17) Source(24, 17) + SourceIndex(0) -7 >Emitted(19, 18) Source(24, 18) + SourceIndex(0) -8 >Emitted(19, 26) Source(24, 26) + SourceIndex(0) -9 >Emitted(19, 28) Source(24, 28) + SourceIndex(0) -10>Emitted(19, 37) Source(24, 37) + SourceIndex(0) -11>Emitted(19, 38) Source(24, 38) + SourceIndex(0) -12>Emitted(19, 39) Source(24, 39) + SourceIndex(0) -13>Emitted(19, 40) Source(24, 40) + SourceIndex(0) -14>Emitted(19, 41) Source(24, 41) + SourceIndex(0) +1->Emitted(20, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(24, 5) + SourceIndex(0) +3 >Emitted(20, 6) Source(24, 6) + SourceIndex(0) +4 >Emitted(20, 7) Source(24, 7) + SourceIndex(0) +5 >Emitted(20, 15) Source(24, 15) + SourceIndex(0) +6 >Emitted(20, 17) Source(24, 17) + SourceIndex(0) +7 >Emitted(20, 18) Source(24, 18) + SourceIndex(0) +8 >Emitted(20, 26) Source(24, 26) + SourceIndex(0) +9 >Emitted(20, 28) Source(24, 28) + SourceIndex(0) +10>Emitted(20, 37) Source(24, 37) + SourceIndex(0) +11>Emitted(20, 38) Source(24, 38) + SourceIndex(0) +12>Emitted(20, 39) Source(24, 39) + SourceIndex(0) +13>Emitted(20, 40) Source(24, 40) + SourceIndex(0) +14>Emitted(20, 41) Source(24, 41) + SourceIndex(0) --- >>>foo2(robotA); 1 > @@ -438,12 +439,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 4 > robotA 5 > ) 6 > ; -1 >Emitted(20, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(20, 5) Source(26, 5) + SourceIndex(0) -3 >Emitted(20, 6) Source(26, 6) + SourceIndex(0) -4 >Emitted(20, 12) Source(26, 12) + SourceIndex(0) -5 >Emitted(20, 13) Source(26, 13) + SourceIndex(0) -6 >Emitted(20, 14) Source(26, 14) + SourceIndex(0) +1 >Emitted(21, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(21, 5) Source(26, 5) + SourceIndex(0) +3 >Emitted(21, 6) Source(26, 6) + SourceIndex(0) +4 >Emitted(21, 12) Source(26, 12) + SourceIndex(0) +5 >Emitted(21, 13) Source(26, 13) + SourceIndex(0) +6 >Emitted(21, 14) Source(26, 14) + SourceIndex(0) --- >>>foo2(["roomba", ["vacuum", "mopping"]]); 1-> @@ -475,20 +476,20 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 12> ] 13> ) 14> ; -1->Emitted(21, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(21, 5) Source(27, 5) + SourceIndex(0) -3 >Emitted(21, 6) Source(27, 6) + SourceIndex(0) -4 >Emitted(21, 7) Source(27, 7) + SourceIndex(0) -5 >Emitted(21, 15) Source(27, 15) + SourceIndex(0) -6 >Emitted(21, 17) Source(27, 17) + SourceIndex(0) -7 >Emitted(21, 18) Source(27, 18) + SourceIndex(0) -8 >Emitted(21, 26) Source(27, 26) + SourceIndex(0) -9 >Emitted(21, 28) Source(27, 28) + SourceIndex(0) -10>Emitted(21, 37) Source(27, 37) + SourceIndex(0) -11>Emitted(21, 38) Source(27, 38) + SourceIndex(0) -12>Emitted(21, 39) Source(27, 39) + SourceIndex(0) -13>Emitted(21, 40) Source(27, 40) + SourceIndex(0) -14>Emitted(21, 41) Source(27, 41) + SourceIndex(0) +1->Emitted(22, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(22, 5) Source(27, 5) + SourceIndex(0) +3 >Emitted(22, 6) Source(27, 6) + SourceIndex(0) +4 >Emitted(22, 7) Source(27, 7) + SourceIndex(0) +5 >Emitted(22, 15) Source(27, 15) + SourceIndex(0) +6 >Emitted(22, 17) Source(27, 17) + SourceIndex(0) +7 >Emitted(22, 18) Source(27, 18) + SourceIndex(0) +8 >Emitted(22, 26) Source(27, 26) + SourceIndex(0) +9 >Emitted(22, 28) Source(27, 28) + SourceIndex(0) +10>Emitted(22, 37) Source(27, 37) + SourceIndex(0) +11>Emitted(22, 38) Source(27, 38) + SourceIndex(0) +12>Emitted(22, 39) Source(27, 39) + SourceIndex(0) +13>Emitted(22, 40) Source(27, 40) + SourceIndex(0) +14>Emitted(22, 41) Source(27, 41) + SourceIndex(0) --- >>>foo3(robotA); 1 > @@ -506,12 +507,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 4 > robotA 5 > ) 6 > ; -1 >Emitted(22, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(22, 5) Source(29, 5) + SourceIndex(0) -3 >Emitted(22, 6) Source(29, 6) + SourceIndex(0) -4 >Emitted(22, 12) Source(29, 12) + SourceIndex(0) -5 >Emitted(22, 13) Source(29, 13) + SourceIndex(0) -6 >Emitted(22, 14) Source(29, 14) + SourceIndex(0) +1 >Emitted(23, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(23, 5) Source(29, 5) + SourceIndex(0) +3 >Emitted(23, 6) Source(29, 6) + SourceIndex(0) +4 >Emitted(23, 12) Source(29, 12) + SourceIndex(0) +5 >Emitted(23, 13) Source(29, 13) + SourceIndex(0) +6 >Emitted(23, 14) Source(29, 14) + SourceIndex(0) --- >>>foo3(["roomba", ["vacuum", "mopping"]]); 1-> @@ -543,20 +544,20 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 12> ] 13> ) 14> ; -1->Emitted(23, 1) Source(30, 1) + SourceIndex(0) -2 >Emitted(23, 5) Source(30, 5) + SourceIndex(0) -3 >Emitted(23, 6) Source(30, 6) + SourceIndex(0) -4 >Emitted(23, 7) Source(30, 7) + SourceIndex(0) -5 >Emitted(23, 15) Source(30, 15) + SourceIndex(0) -6 >Emitted(23, 17) Source(30, 17) + SourceIndex(0) -7 >Emitted(23, 18) Source(30, 18) + SourceIndex(0) -8 >Emitted(23, 26) Source(30, 26) + SourceIndex(0) -9 >Emitted(23, 28) Source(30, 28) + SourceIndex(0) -10>Emitted(23, 37) Source(30, 37) + SourceIndex(0) -11>Emitted(23, 38) Source(30, 38) + SourceIndex(0) -12>Emitted(23, 39) Source(30, 39) + SourceIndex(0) -13>Emitted(23, 40) Source(30, 40) + SourceIndex(0) -14>Emitted(23, 41) Source(30, 41) + SourceIndex(0) +1->Emitted(24, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(24, 5) Source(30, 5) + SourceIndex(0) +3 >Emitted(24, 6) Source(30, 6) + SourceIndex(0) +4 >Emitted(24, 7) Source(30, 7) + SourceIndex(0) +5 >Emitted(24, 15) Source(30, 15) + SourceIndex(0) +6 >Emitted(24, 17) Source(30, 17) + SourceIndex(0) +7 >Emitted(24, 18) Source(30, 18) + SourceIndex(0) +8 >Emitted(24, 26) Source(30, 26) + SourceIndex(0) +9 >Emitted(24, 28) Source(30, 28) + SourceIndex(0) +10>Emitted(24, 37) Source(30, 37) + SourceIndex(0) +11>Emitted(24, 38) Source(30, 38) + SourceIndex(0) +12>Emitted(24, 39) Source(30, 39) + SourceIndex(0) +13>Emitted(24, 40) Source(30, 40) + SourceIndex(0) +14>Emitted(24, 41) Source(30, 41) + SourceIndex(0) --- >>>foo4(robotA); 1 > @@ -574,12 +575,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 4 > robotA 5 > ) 6 > ; -1 >Emitted(24, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(24, 5) Source(32, 5) + SourceIndex(0) -3 >Emitted(24, 6) Source(32, 6) + SourceIndex(0) -4 >Emitted(24, 12) Source(32, 12) + SourceIndex(0) -5 >Emitted(24, 13) Source(32, 13) + SourceIndex(0) -6 >Emitted(24, 14) Source(32, 14) + SourceIndex(0) +1 >Emitted(25, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(25, 5) Source(32, 5) + SourceIndex(0) +3 >Emitted(25, 6) Source(32, 6) + SourceIndex(0) +4 >Emitted(25, 12) Source(32, 12) + SourceIndex(0) +5 >Emitted(25, 13) Source(32, 13) + SourceIndex(0) +6 >Emitted(25, 14) Source(32, 14) + SourceIndex(0) --- >>>foo4(["roomba", ["vacuum", "mopping"]]); 1-> @@ -612,19 +613,19 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPattern2.ts 12> ] 13> ) 14> ; -1->Emitted(25, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(25, 5) Source(33, 5) + SourceIndex(0) -3 >Emitted(25, 6) Source(33, 6) + SourceIndex(0) -4 >Emitted(25, 7) Source(33, 7) + SourceIndex(0) -5 >Emitted(25, 15) Source(33, 15) + SourceIndex(0) -6 >Emitted(25, 17) Source(33, 17) + SourceIndex(0) -7 >Emitted(25, 18) Source(33, 18) + SourceIndex(0) -8 >Emitted(25, 26) Source(33, 26) + SourceIndex(0) -9 >Emitted(25, 28) Source(33, 28) + SourceIndex(0) -10>Emitted(25, 37) Source(33, 37) + SourceIndex(0) -11>Emitted(25, 38) Source(33, 38) + SourceIndex(0) -12>Emitted(25, 39) Source(33, 39) + SourceIndex(0) -13>Emitted(25, 40) Source(33, 40) + SourceIndex(0) -14>Emitted(25, 41) Source(33, 41) + SourceIndex(0) +1->Emitted(26, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(26, 5) Source(33, 5) + SourceIndex(0) +3 >Emitted(26, 6) Source(33, 6) + SourceIndex(0) +4 >Emitted(26, 7) Source(33, 7) + SourceIndex(0) +5 >Emitted(26, 15) Source(33, 15) + SourceIndex(0) +6 >Emitted(26, 17) Source(33, 17) + SourceIndex(0) +7 >Emitted(26, 18) Source(33, 18) + SourceIndex(0) +8 >Emitted(26, 26) Source(33, 26) + SourceIndex(0) +9 >Emitted(26, 28) Source(33, 28) + SourceIndex(0) +10>Emitted(26, 37) Source(33, 37) + SourceIndex(0) +11>Emitted(26, 38) Source(33, 38) + SourceIndex(0) +12>Emitted(26, 39) Source(33, 39) + SourceIndex(0) +13>Emitted(26, 40) Source(33, 40) + SourceIndex(0) +14>Emitted(26, 41) Source(33, 41) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringParametertArrayBindingPattern2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js index 10571651aa47d..74ad48a91792c 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js @@ -36,6 +36,7 @@ foo4(robotA); foo4([2, "trimmer", "trimming"]); //// [sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js] +"use strict"; var robotA = [1, "mower", "mowing"]; function foo1(_a) { var _b = _a === void 0 ? [-1, "name", "skill"] : _a, _c = _b[1], nameA = _c === void 0 ? "noName" : _c; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js.map b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js.map index bad165e18448a..dd34ba1f29613 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js.map] -{"version":3,"file":"sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.ts"],"names":[],"mappings":"AAIA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAE3C,SAAS,IAAI,CAAC,EAAmD;QAAnD,qBAA8B,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,KAAA,EAAhD,UAAgB,EAAhB,KAAK,mBAAG,QAAQ,KAAA;IAC7B,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AAED,SAAS,IAAI,CAAC,EAA6C;QAA7C,qBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,KAAA,EAA5C,UAAY,EAAZ,OAAO,mBAAG,CAAC,CAAC,KAAA;IACvB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AACzB,CAAC;AAED,SAAS,IAAI,CAAC,EAAkF;QAAlF,qBAA6D,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,KAAA,EAAjF,UAAa,EAAb,QAAQ,mBAAG,CAAC,CAAC,KAAA,EAAE,UAAe,EAAf,MAAM,mBAAG,MAAM,KAAA,EAAE,UAAiB,EAAjB,OAAO,mBAAG,OAAO,KAAA;IAC5D,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC;AAED,SAAS,IAAI,CAAC,EAA6D;QAA7D,qBAAwC,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,KAAA,EAA5D,UAAa,EAAb,QAAQ,mBAAG,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bGwiXSkgewogICAgY29uc29sZS5sb2cobnVtYmVyQik7Cn0KCmZ1bmN0aW9uIGZvbzMoW251bWJlckEyID0gLTEsIG5hbWVBMiA9ICJuYW1lIiwgc2tpbGxBMiA9ICJza2lsbCJdOiBSb2JvdCA9IFstMSwgIm5hbWUiLCAic2tpbGwiXSkgewogICAgY29uc29sZS5sb2cobmFtZUEyKTsKfQoKZnVuY3Rpb24gZm9vNChbbnVtYmVyQTMgPSAtMSwgLi4ucm9ib3RBSW5mb106IFJvYm90ID0gWy0xLCAibmFtZSIsICJza2lsbCJdKSB7CiAgICBjb25zb2xlLmxvZyhyb2JvdEFJbmZvKTsKfQoKZm9vMShyb2JvdEEpOwpmb28xKFsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdKTsKCmZvbzIocm9ib3RBKTsKZm9vMihbMiwgInRyaW1tZXIiLCAidHJpbW1pbmciXSk7Cgpmb28zKHJvYm90QSk7CmZvbzMoWzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl0pOwoKZm9vNChyb2JvdEEpOwpmb280KFsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdKTs= +{"version":3,"file":"sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.ts"],"names":[],"mappings":";AAIA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAE3C,SAAS,IAAI,CAAC,EAAmD;QAAnD,qBAA8B,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,KAAA,EAAhD,UAAgB,EAAhB,KAAK,mBAAG,QAAQ,KAAA;IAC7B,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC;AAED,SAAS,IAAI,CAAC,EAA6C;QAA7C,qBAAwB,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,KAAA,EAA5C,UAAY,EAAZ,OAA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luZyJdKTs= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.sourcemap.txt index a88c414154472..67aa95298172d 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringParametertArrayBindingPatternDefaultVal emittedFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = [1, "mower", "mowing"]; 1 > 2 >^^^^ @@ -37,18 +38,18 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 10> "mowing" 11> ] 12> ; -1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(5, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(5, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(5, 21) + SourceIndex(0) -5 >Emitted(1, 15) Source(5, 22) + SourceIndex(0) -6 >Emitted(1, 16) Source(5, 23) + SourceIndex(0) -7 >Emitted(1, 18) Source(5, 25) + SourceIndex(0) -8 >Emitted(1, 25) Source(5, 32) + SourceIndex(0) -9 >Emitted(1, 27) Source(5, 34) + SourceIndex(0) -10>Emitted(1, 35) Source(5, 42) + SourceIndex(0) -11>Emitted(1, 36) Source(5, 43) + SourceIndex(0) -12>Emitted(1, 37) Source(5, 44) + SourceIndex(0) +1 >Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(5, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(5, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(5, 21) + SourceIndex(0) +5 >Emitted(2, 15) Source(5, 22) + SourceIndex(0) +6 >Emitted(2, 16) Source(5, 23) + SourceIndex(0) +7 >Emitted(2, 18) Source(5, 25) + SourceIndex(0) +8 >Emitted(2, 25) Source(5, 32) + SourceIndex(0) +9 >Emitted(2, 27) Source(5, 34) + SourceIndex(0) +10>Emitted(2, 35) Source(5, 42) + SourceIndex(0) +11>Emitted(2, 36) Source(5, 43) + SourceIndex(0) +12>Emitted(2, 37) Source(5, 44) + SourceIndex(0) --- >>>function foo1(_a) { 1 > @@ -64,11 +65,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 3 > foo1 4 > ( 5 > [, nameA = "noName"]: Robot = [-1, "name", "skill"] -1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(2, 10) Source(7, 10) + SourceIndex(0) -3 >Emitted(2, 14) Source(7, 14) + SourceIndex(0) -4 >Emitted(2, 15) Source(7, 15) + SourceIndex(0) -5 >Emitted(2, 17) Source(7, 66) + SourceIndex(0) +1 >Emitted(3, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(3, 10) Source(7, 10) + SourceIndex(0) +3 >Emitted(3, 14) Source(7, 14) + SourceIndex(0) +4 >Emitted(3, 15) Source(7, 15) + SourceIndex(0) +5 >Emitted(3, 17) Source(7, 66) + SourceIndex(0) --- >>> var _b = _a === void 0 ? [-1, "name", "skill"] : _a, _c = _b[1], nameA = _c === void 0 ? "noName" : _c; 1->^^^^^^^^ @@ -107,24 +108,24 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 16> = 17> "noName" 18> -1->Emitted(3, 9) Source(7, 15) + SourceIndex(0) -2 >Emitted(3, 30) Source(7, 45) + SourceIndex(0) -3 >Emitted(3, 31) Source(7, 46) + SourceIndex(0) -4 >Emitted(3, 32) Source(7, 47) + SourceIndex(0) -5 >Emitted(3, 33) Source(7, 48) + SourceIndex(0) -6 >Emitted(3, 35) Source(7, 50) + SourceIndex(0) -7 >Emitted(3, 41) Source(7, 56) + SourceIndex(0) -8 >Emitted(3, 43) Source(7, 58) + SourceIndex(0) -9 >Emitted(3, 50) Source(7, 65) + SourceIndex(0) -10>Emitted(3, 51) Source(7, 66) + SourceIndex(0) -11>Emitted(3, 56) Source(7, 66) + SourceIndex(0) -12>Emitted(3, 58) Source(7, 18) + SourceIndex(0) -13>Emitted(3, 68) Source(7, 34) + SourceIndex(0) -14>Emitted(3, 70) Source(7, 18) + SourceIndex(0) -15>Emitted(3, 75) Source(7, 23) + SourceIndex(0) -16>Emitted(3, 94) Source(7, 26) + SourceIndex(0) -17>Emitted(3, 102) Source(7, 34) + SourceIndex(0) -18>Emitted(3, 107) Source(7, 34) + SourceIndex(0) +1->Emitted(4, 9) Source(7, 15) + SourceIndex(0) +2 >Emitted(4, 30) Source(7, 45) + SourceIndex(0) +3 >Emitted(4, 31) Source(7, 46) + SourceIndex(0) +4 >Emitted(4, 32) Source(7, 47) + SourceIndex(0) +5 >Emitted(4, 33) Source(7, 48) + SourceIndex(0) +6 >Emitted(4, 35) Source(7, 50) + SourceIndex(0) +7 >Emitted(4, 41) Source(7, 56) + SourceIndex(0) +8 >Emitted(4, 43) Source(7, 58) + SourceIndex(0) +9 >Emitted(4, 50) Source(7, 65) + SourceIndex(0) +10>Emitted(4, 51) Source(7, 66) + SourceIndex(0) +11>Emitted(4, 56) Source(7, 66) + SourceIndex(0) +12>Emitted(4, 58) Source(7, 18) + SourceIndex(0) +13>Emitted(4, 68) Source(7, 34) + SourceIndex(0) +14>Emitted(4, 70) Source(7, 18) + SourceIndex(0) +15>Emitted(4, 75) Source(7, 23) + SourceIndex(0) +16>Emitted(4, 94) Source(7, 26) + SourceIndex(0) +17>Emitted(4, 102) Source(7, 34) + SourceIndex(0) +18>Emitted(4, 107) Source(7, 34) + SourceIndex(0) --- >>> console.log(nameA); 1 >^^^^ @@ -144,14 +145,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 6 > nameA 7 > ) 8 > ; -1 >Emitted(4, 5) Source(8, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(8, 12) + SourceIndex(0) -3 >Emitted(4, 13) Source(8, 13) + SourceIndex(0) -4 >Emitted(4, 16) Source(8, 16) + SourceIndex(0) -5 >Emitted(4, 17) Source(8, 17) + SourceIndex(0) -6 >Emitted(4, 22) Source(8, 22) + SourceIndex(0) -7 >Emitted(4, 23) Source(8, 23) + SourceIndex(0) -8 >Emitted(4, 24) Source(8, 24) + SourceIndex(0) +1 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(8, 12) + SourceIndex(0) +3 >Emitted(5, 13) Source(8, 13) + SourceIndex(0) +4 >Emitted(5, 16) Source(8, 16) + SourceIndex(0) +5 >Emitted(5, 17) Source(8, 17) + SourceIndex(0) +6 >Emitted(5, 22) Source(8, 22) + SourceIndex(0) +7 >Emitted(5, 23) Source(8, 23) + SourceIndex(0) +8 >Emitted(5, 24) Source(8, 24) + SourceIndex(0) --- >>>} 1 > @@ -160,8 +161,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 1 > > 2 >} -1 >Emitted(5, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(9, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(9, 2) + SourceIndex(0) --- >>>function foo2(_a) { 1-> @@ -177,11 +178,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 3 > foo2 4 > ( 5 > [numberB = -1]: Robot = [-1, "name", "skill"] -1->Emitted(6, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(6, 10) Source(11, 10) + SourceIndex(0) -3 >Emitted(6, 14) Source(11, 14) + SourceIndex(0) -4 >Emitted(6, 15) Source(11, 15) + SourceIndex(0) -5 >Emitted(6, 17) Source(11, 60) + SourceIndex(0) +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 10) Source(11, 10) + SourceIndex(0) +3 >Emitted(7, 14) Source(11, 14) + SourceIndex(0) +4 >Emitted(7, 15) Source(11, 15) + SourceIndex(0) +5 >Emitted(7, 17) Source(11, 60) + SourceIndex(0) --- >>> var _b = _a === void 0 ? [-1, "name", "skill"] : _a, _c = _b[0], numberB = _c === void 0 ? -1 : _c; 1->^^^^^^^^ @@ -222,25 +223,25 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 17> - 18> 1 19> -1->Emitted(7, 9) Source(11, 15) + SourceIndex(0) -2 >Emitted(7, 30) Source(11, 39) + SourceIndex(0) -3 >Emitted(7, 31) Source(11, 40) + SourceIndex(0) -4 >Emitted(7, 32) Source(11, 41) + SourceIndex(0) -5 >Emitted(7, 33) Source(11, 42) + SourceIndex(0) -6 >Emitted(7, 35) Source(11, 44) + SourceIndex(0) -7 >Emitted(7, 41) Source(11, 50) + SourceIndex(0) -8 >Emitted(7, 43) Source(11, 52) + SourceIndex(0) -9 >Emitted(7, 50) Source(11, 59) + SourceIndex(0) -10>Emitted(7, 51) Source(11, 60) + SourceIndex(0) -11>Emitted(7, 56) Source(11, 60) + SourceIndex(0) -12>Emitted(7, 58) Source(11, 16) + SourceIndex(0) -13>Emitted(7, 68) Source(11, 28) + SourceIndex(0) -14>Emitted(7, 70) Source(11, 16) + SourceIndex(0) -15>Emitted(7, 77) Source(11, 23) + SourceIndex(0) -16>Emitted(7, 96) Source(11, 26) + SourceIndex(0) -17>Emitted(7, 97) Source(11, 27) + SourceIndex(0) -18>Emitted(7, 98) Source(11, 28) + SourceIndex(0) -19>Emitted(7, 103) Source(11, 28) + SourceIndex(0) +1->Emitted(8, 9) Source(11, 15) + SourceIndex(0) +2 >Emitted(8, 30) Source(11, 39) + SourceIndex(0) +3 >Emitted(8, 31) Source(11, 40) + SourceIndex(0) +4 >Emitted(8, 32) Source(11, 41) + SourceIndex(0) +5 >Emitted(8, 33) Source(11, 42) + SourceIndex(0) +6 >Emitted(8, 35) Source(11, 44) + SourceIndex(0) +7 >Emitted(8, 41) Source(11, 50) + SourceIndex(0) +8 >Emitted(8, 43) Source(11, 52) + SourceIndex(0) +9 >Emitted(8, 50) Source(11, 59) + SourceIndex(0) +10>Emitted(8, 51) Source(11, 60) + SourceIndex(0) +11>Emitted(8, 56) Source(11, 60) + SourceIndex(0) +12>Emitted(8, 58) Source(11, 16) + SourceIndex(0) +13>Emitted(8, 68) Source(11, 28) + SourceIndex(0) +14>Emitted(8, 70) Source(11, 16) + SourceIndex(0) +15>Emitted(8, 77) Source(11, 23) + SourceIndex(0) +16>Emitted(8, 96) Source(11, 26) + SourceIndex(0) +17>Emitted(8, 97) Source(11, 27) + SourceIndex(0) +18>Emitted(8, 98) Source(11, 28) + SourceIndex(0) +19>Emitted(8, 103) Source(11, 28) + SourceIndex(0) --- >>> console.log(numberB); 1 >^^^^ @@ -260,14 +261,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 6 > numberB 7 > ) 8 > ; -1 >Emitted(8, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(12, 12) + SourceIndex(0) -3 >Emitted(8, 13) Source(12, 13) + SourceIndex(0) -4 >Emitted(8, 16) Source(12, 16) + SourceIndex(0) -5 >Emitted(8, 17) Source(12, 17) + SourceIndex(0) -6 >Emitted(8, 24) Source(12, 24) + SourceIndex(0) -7 >Emitted(8, 25) Source(12, 25) + SourceIndex(0) -8 >Emitted(8, 26) Source(12, 26) + SourceIndex(0) +1 >Emitted(9, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(12, 12) + SourceIndex(0) +3 >Emitted(9, 13) Source(12, 13) + SourceIndex(0) +4 >Emitted(9, 16) Source(12, 16) + SourceIndex(0) +5 >Emitted(9, 17) Source(12, 17) + SourceIndex(0) +6 >Emitted(9, 24) Source(12, 24) + SourceIndex(0) +7 >Emitted(9, 25) Source(12, 25) + SourceIndex(0) +8 >Emitted(9, 26) Source(12, 26) + SourceIndex(0) --- >>>} 1 > @@ -276,8 +277,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 1 > > 2 >} -1 >Emitted(9, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(13, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(13, 2) + SourceIndex(0) --- >>>function foo3(_a) { 1-> @@ -293,11 +294,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 3 > foo3 4 > ( 5 > [numberA2 = -1, nameA2 = "name", skillA2 = "skill"]: Robot = [-1, "name", "skill"] -1->Emitted(10, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(10, 10) Source(15, 10) + SourceIndex(0) -3 >Emitted(10, 14) Source(15, 14) + SourceIndex(0) -4 >Emitted(10, 15) Source(15, 15) + SourceIndex(0) -5 >Emitted(10, 17) Source(15, 97) + SourceIndex(0) +1->Emitted(11, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(11, 10) Source(15, 10) + SourceIndex(0) +3 >Emitted(11, 14) Source(15, 14) + SourceIndex(0) +4 >Emitted(11, 15) Source(15, 15) + SourceIndex(0) +5 >Emitted(11, 17) Source(15, 97) + SourceIndex(0) --- >>> var _b = _a === void 0 ? [-1, "name", "skill"] : _a, _c = _b[0], numberA2 = _c === void 0 ? -1 : _c, _d = _b[1], nameA2 = _d === void 0 ? "name" : _d, _e = _b[2], skillA2 = _e === void 0 ? "skill" : _e; 1->^^^^^^^^ @@ -366,39 +367,39 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 31> = 32> "skill" 33> -1->Emitted(11, 9) Source(15, 15) + SourceIndex(0) -2 >Emitted(11, 30) Source(15, 76) + SourceIndex(0) -3 >Emitted(11, 31) Source(15, 77) + SourceIndex(0) -4 >Emitted(11, 32) Source(15, 78) + SourceIndex(0) -5 >Emitted(11, 33) Source(15, 79) + SourceIndex(0) -6 >Emitted(11, 35) Source(15, 81) + SourceIndex(0) -7 >Emitted(11, 41) Source(15, 87) + SourceIndex(0) -8 >Emitted(11, 43) Source(15, 89) + SourceIndex(0) -9 >Emitted(11, 50) Source(15, 96) + SourceIndex(0) -10>Emitted(11, 51) Source(15, 97) + SourceIndex(0) -11>Emitted(11, 56) Source(15, 97) + SourceIndex(0) -12>Emitted(11, 58) Source(15, 16) + SourceIndex(0) -13>Emitted(11, 68) Source(15, 29) + SourceIndex(0) -14>Emitted(11, 70) Source(15, 16) + SourceIndex(0) -15>Emitted(11, 78) Source(15, 24) + SourceIndex(0) -16>Emitted(11, 97) Source(15, 27) + SourceIndex(0) -17>Emitted(11, 98) Source(15, 28) + SourceIndex(0) -18>Emitted(11, 99) Source(15, 29) + SourceIndex(0) -19>Emitted(11, 104) Source(15, 29) + SourceIndex(0) -20>Emitted(11, 106) Source(15, 31) + SourceIndex(0) -21>Emitted(11, 116) Source(15, 46) + SourceIndex(0) -22>Emitted(11, 118) Source(15, 31) + SourceIndex(0) -23>Emitted(11, 124) Source(15, 37) + SourceIndex(0) -24>Emitted(11, 143) Source(15, 40) + SourceIndex(0) -25>Emitted(11, 149) Source(15, 46) + SourceIndex(0) -26>Emitted(11, 154) Source(15, 46) + SourceIndex(0) -27>Emitted(11, 156) Source(15, 48) + SourceIndex(0) -28>Emitted(11, 166) Source(15, 65) + SourceIndex(0) -29>Emitted(11, 168) Source(15, 48) + SourceIndex(0) -30>Emitted(11, 175) Source(15, 55) + SourceIndex(0) -31>Emitted(11, 194) Source(15, 58) + SourceIndex(0) -32>Emitted(11, 201) Source(15, 65) + SourceIndex(0) -33>Emitted(11, 206) Source(15, 65) + SourceIndex(0) +1->Emitted(12, 9) Source(15, 15) + SourceIndex(0) +2 >Emitted(12, 30) Source(15, 76) + SourceIndex(0) +3 >Emitted(12, 31) Source(15, 77) + SourceIndex(0) +4 >Emitted(12, 32) Source(15, 78) + SourceIndex(0) +5 >Emitted(12, 33) Source(15, 79) + SourceIndex(0) +6 >Emitted(12, 35) Source(15, 81) + SourceIndex(0) +7 >Emitted(12, 41) Source(15, 87) + SourceIndex(0) +8 >Emitted(12, 43) Source(15, 89) + SourceIndex(0) +9 >Emitted(12, 50) Source(15, 96) + SourceIndex(0) +10>Emitted(12, 51) Source(15, 97) + SourceIndex(0) +11>Emitted(12, 56) Source(15, 97) + SourceIndex(0) +12>Emitted(12, 58) Source(15, 16) + SourceIndex(0) +13>Emitted(12, 68) Source(15, 29) + SourceIndex(0) +14>Emitted(12, 70) Source(15, 16) + SourceIndex(0) +15>Emitted(12, 78) Source(15, 24) + SourceIndex(0) +16>Emitted(12, 97) Source(15, 27) + SourceIndex(0) +17>Emitted(12, 98) Source(15, 28) + SourceIndex(0) +18>Emitted(12, 99) Source(15, 29) + SourceIndex(0) +19>Emitted(12, 104) Source(15, 29) + SourceIndex(0) +20>Emitted(12, 106) Source(15, 31) + SourceIndex(0) +21>Emitted(12, 116) Source(15, 46) + SourceIndex(0) +22>Emitted(12, 118) Source(15, 31) + SourceIndex(0) +23>Emitted(12, 124) Source(15, 37) + SourceIndex(0) +24>Emitted(12, 143) Source(15, 40) + SourceIndex(0) +25>Emitted(12, 149) Source(15, 46) + SourceIndex(0) +26>Emitted(12, 154) Source(15, 46) + SourceIndex(0) +27>Emitted(12, 156) Source(15, 48) + SourceIndex(0) +28>Emitted(12, 166) Source(15, 65) + SourceIndex(0) +29>Emitted(12, 168) Source(15, 48) + SourceIndex(0) +30>Emitted(12, 175) Source(15, 55) + SourceIndex(0) +31>Emitted(12, 194) Source(15, 58) + SourceIndex(0) +32>Emitted(12, 201) Source(15, 65) + SourceIndex(0) +33>Emitted(12, 206) Source(15, 65) + SourceIndex(0) --- >>> console.log(nameA2); 1 >^^^^ @@ -418,14 +419,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 6 > nameA2 7 > ) 8 > ; -1 >Emitted(12, 5) Source(16, 5) + SourceIndex(0) -2 >Emitted(12, 12) Source(16, 12) + SourceIndex(0) -3 >Emitted(12, 13) Source(16, 13) + SourceIndex(0) -4 >Emitted(12, 16) Source(16, 16) + SourceIndex(0) -5 >Emitted(12, 17) Source(16, 17) + SourceIndex(0) -6 >Emitted(12, 23) Source(16, 23) + SourceIndex(0) -7 >Emitted(12, 24) Source(16, 24) + SourceIndex(0) -8 >Emitted(12, 25) Source(16, 25) + SourceIndex(0) +1 >Emitted(13, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(13, 12) Source(16, 12) + SourceIndex(0) +3 >Emitted(13, 13) Source(16, 13) + SourceIndex(0) +4 >Emitted(13, 16) Source(16, 16) + SourceIndex(0) +5 >Emitted(13, 17) Source(16, 17) + SourceIndex(0) +6 >Emitted(13, 23) Source(16, 23) + SourceIndex(0) +7 >Emitted(13, 24) Source(16, 24) + SourceIndex(0) +8 >Emitted(13, 25) Source(16, 25) + SourceIndex(0) --- >>>} 1 > @@ -434,8 +435,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 1 > > 2 >} -1 >Emitted(13, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(17, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(17, 2) + SourceIndex(0) --- >>>function foo4(_a) { 1-> @@ -451,11 +452,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 3 > foo4 4 > ( 5 > [numberA3 = -1, ...robotAInfo]: Robot = [-1, "name", "skill"] -1->Emitted(14, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(14, 10) Source(19, 10) + SourceIndex(0) -3 >Emitted(14, 14) Source(19, 14) + SourceIndex(0) -4 >Emitted(14, 15) Source(19, 15) + SourceIndex(0) -5 >Emitted(14, 17) Source(19, 76) + SourceIndex(0) +1->Emitted(15, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(15, 10) Source(19, 10) + SourceIndex(0) +3 >Emitted(15, 14) Source(19, 14) + SourceIndex(0) +4 >Emitted(15, 15) Source(19, 15) + SourceIndex(0) +5 >Emitted(15, 17) Source(19, 76) + SourceIndex(0) --- >>> var _b = _a === void 0 ? [-1, "name", "skill"] : _a, _c = _b[0], numberA3 = _c === void 0 ? -1 : _c, robotAInfo = _b.slice(1); 1->^^^^^^^^ @@ -502,28 +503,28 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 20> , ... 21> robotAInfo 22> -1->Emitted(15, 9) Source(19, 15) + SourceIndex(0) -2 >Emitted(15, 30) Source(19, 55) + SourceIndex(0) -3 >Emitted(15, 31) Source(19, 56) + SourceIndex(0) -4 >Emitted(15, 32) Source(19, 57) + SourceIndex(0) -5 >Emitted(15, 33) Source(19, 58) + SourceIndex(0) -6 >Emitted(15, 35) Source(19, 60) + SourceIndex(0) -7 >Emitted(15, 41) Source(19, 66) + SourceIndex(0) -8 >Emitted(15, 43) Source(19, 68) + SourceIndex(0) -9 >Emitted(15, 50) Source(19, 75) + SourceIndex(0) -10>Emitted(15, 51) Source(19, 76) + SourceIndex(0) -11>Emitted(15, 56) Source(19, 76) + SourceIndex(0) -12>Emitted(15, 58) Source(19, 16) + SourceIndex(0) -13>Emitted(15, 68) Source(19, 29) + SourceIndex(0) -14>Emitted(15, 70) Source(19, 16) + SourceIndex(0) -15>Emitted(15, 78) Source(19, 24) + SourceIndex(0) -16>Emitted(15, 97) Source(19, 27) + SourceIndex(0) -17>Emitted(15, 98) Source(19, 28) + SourceIndex(0) -18>Emitted(15, 99) Source(19, 29) + SourceIndex(0) -19>Emitted(15, 104) Source(19, 29) + SourceIndex(0) -20>Emitted(15, 106) Source(19, 34) + SourceIndex(0) -21>Emitted(15, 116) Source(19, 44) + SourceIndex(0) -22>Emitted(15, 130) Source(19, 44) + SourceIndex(0) +1->Emitted(16, 9) Source(19, 15) + SourceIndex(0) +2 >Emitted(16, 30) Source(19, 55) + SourceIndex(0) +3 >Emitted(16, 31) Source(19, 56) + SourceIndex(0) +4 >Emitted(16, 32) Source(19, 57) + SourceIndex(0) +5 >Emitted(16, 33) Source(19, 58) + SourceIndex(0) +6 >Emitted(16, 35) Source(19, 60) + SourceIndex(0) +7 >Emitted(16, 41) Source(19, 66) + SourceIndex(0) +8 >Emitted(16, 43) Source(19, 68) + SourceIndex(0) +9 >Emitted(16, 50) Source(19, 75) + SourceIndex(0) +10>Emitted(16, 51) Source(19, 76) + SourceIndex(0) +11>Emitted(16, 56) Source(19, 76) + SourceIndex(0) +12>Emitted(16, 58) Source(19, 16) + SourceIndex(0) +13>Emitted(16, 68) Source(19, 29) + SourceIndex(0) +14>Emitted(16, 70) Source(19, 16) + SourceIndex(0) +15>Emitted(16, 78) Source(19, 24) + SourceIndex(0) +16>Emitted(16, 97) Source(19, 27) + SourceIndex(0) +17>Emitted(16, 98) Source(19, 28) + SourceIndex(0) +18>Emitted(16, 99) Source(19, 29) + SourceIndex(0) +19>Emitted(16, 104) Source(19, 29) + SourceIndex(0) +20>Emitted(16, 106) Source(19, 34) + SourceIndex(0) +21>Emitted(16, 116) Source(19, 44) + SourceIndex(0) +22>Emitted(16, 130) Source(19, 44) + SourceIndex(0) --- >>> console.log(robotAInfo); 1 >^^^^ @@ -543,14 +544,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 6 > robotAInfo 7 > ) 8 > ; -1 >Emitted(16, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(16, 12) Source(20, 12) + SourceIndex(0) -3 >Emitted(16, 13) Source(20, 13) + SourceIndex(0) -4 >Emitted(16, 16) Source(20, 16) + SourceIndex(0) -5 >Emitted(16, 17) Source(20, 17) + SourceIndex(0) -6 >Emitted(16, 27) Source(20, 27) + SourceIndex(0) -7 >Emitted(16, 28) Source(20, 28) + SourceIndex(0) -8 >Emitted(16, 29) Source(20, 29) + SourceIndex(0) +1 >Emitted(17, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(17, 12) Source(20, 12) + SourceIndex(0) +3 >Emitted(17, 13) Source(20, 13) + SourceIndex(0) +4 >Emitted(17, 16) Source(20, 16) + SourceIndex(0) +5 >Emitted(17, 17) Source(20, 17) + SourceIndex(0) +6 >Emitted(17, 27) Source(20, 27) + SourceIndex(0) +7 >Emitted(17, 28) Source(20, 28) + SourceIndex(0) +8 >Emitted(17, 29) Source(20, 29) + SourceIndex(0) --- >>>} 1 > @@ -559,8 +560,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 1 > > 2 >} -1 >Emitted(17, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(17, 2) Source(21, 2) + SourceIndex(0) +1 >Emitted(18, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(18, 2) Source(21, 2) + SourceIndex(0) --- >>>foo1(robotA); 1-> @@ -578,12 +579,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 4 > robotA 5 > ) 6 > ; -1->Emitted(18, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(18, 5) Source(23, 5) + SourceIndex(0) -3 >Emitted(18, 6) Source(23, 6) + SourceIndex(0) -4 >Emitted(18, 12) Source(23, 12) + SourceIndex(0) -5 >Emitted(18, 13) Source(23, 13) + SourceIndex(0) -6 >Emitted(18, 14) Source(23, 14) + SourceIndex(0) +1->Emitted(19, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(19, 5) Source(23, 5) + SourceIndex(0) +3 >Emitted(19, 6) Source(23, 6) + SourceIndex(0) +4 >Emitted(19, 12) Source(23, 12) + SourceIndex(0) +5 >Emitted(19, 13) Source(23, 13) + SourceIndex(0) +6 >Emitted(19, 14) Source(23, 14) + SourceIndex(0) --- >>>foo1([2, "trimmer", "trimming"]); 1-> @@ -611,18 +612,18 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 10> ] 11> ) 12> ; -1->Emitted(19, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(19, 5) Source(24, 5) + SourceIndex(0) -3 >Emitted(19, 6) Source(24, 6) + SourceIndex(0) -4 >Emitted(19, 7) Source(24, 7) + SourceIndex(0) -5 >Emitted(19, 8) Source(24, 8) + SourceIndex(0) -6 >Emitted(19, 10) Source(24, 10) + SourceIndex(0) -7 >Emitted(19, 19) Source(24, 19) + SourceIndex(0) -8 >Emitted(19, 21) Source(24, 21) + SourceIndex(0) -9 >Emitted(19, 31) Source(24, 31) + SourceIndex(0) -10>Emitted(19, 32) Source(24, 32) + SourceIndex(0) -11>Emitted(19, 33) Source(24, 33) + SourceIndex(0) -12>Emitted(19, 34) Source(24, 34) + SourceIndex(0) +1->Emitted(20, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(24, 5) + SourceIndex(0) +3 >Emitted(20, 6) Source(24, 6) + SourceIndex(0) +4 >Emitted(20, 7) Source(24, 7) + SourceIndex(0) +5 >Emitted(20, 8) Source(24, 8) + SourceIndex(0) +6 >Emitted(20, 10) Source(24, 10) + SourceIndex(0) +7 >Emitted(20, 19) Source(24, 19) + SourceIndex(0) +8 >Emitted(20, 21) Source(24, 21) + SourceIndex(0) +9 >Emitted(20, 31) Source(24, 31) + SourceIndex(0) +10>Emitted(20, 32) Source(24, 32) + SourceIndex(0) +11>Emitted(20, 33) Source(24, 33) + SourceIndex(0) +12>Emitted(20, 34) Source(24, 34) + SourceIndex(0) --- >>>foo2(robotA); 1 > @@ -640,12 +641,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 4 > robotA 5 > ) 6 > ; -1 >Emitted(20, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(20, 5) Source(26, 5) + SourceIndex(0) -3 >Emitted(20, 6) Source(26, 6) + SourceIndex(0) -4 >Emitted(20, 12) Source(26, 12) + SourceIndex(0) -5 >Emitted(20, 13) Source(26, 13) + SourceIndex(0) -6 >Emitted(20, 14) Source(26, 14) + SourceIndex(0) +1 >Emitted(21, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(21, 5) Source(26, 5) + SourceIndex(0) +3 >Emitted(21, 6) Source(26, 6) + SourceIndex(0) +4 >Emitted(21, 12) Source(26, 12) + SourceIndex(0) +5 >Emitted(21, 13) Source(26, 13) + SourceIndex(0) +6 >Emitted(21, 14) Source(26, 14) + SourceIndex(0) --- >>>foo2([2, "trimmer", "trimming"]); 1-> @@ -673,18 +674,18 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 10> ] 11> ) 12> ; -1->Emitted(21, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(21, 5) Source(27, 5) + SourceIndex(0) -3 >Emitted(21, 6) Source(27, 6) + SourceIndex(0) -4 >Emitted(21, 7) Source(27, 7) + SourceIndex(0) -5 >Emitted(21, 8) Source(27, 8) + SourceIndex(0) -6 >Emitted(21, 10) Source(27, 10) + SourceIndex(0) -7 >Emitted(21, 19) Source(27, 19) + SourceIndex(0) -8 >Emitted(21, 21) Source(27, 21) + SourceIndex(0) -9 >Emitted(21, 31) Source(27, 31) + SourceIndex(0) -10>Emitted(21, 32) Source(27, 32) + SourceIndex(0) -11>Emitted(21, 33) Source(27, 33) + SourceIndex(0) -12>Emitted(21, 34) Source(27, 34) + SourceIndex(0) +1->Emitted(22, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(22, 5) Source(27, 5) + SourceIndex(0) +3 >Emitted(22, 6) Source(27, 6) + SourceIndex(0) +4 >Emitted(22, 7) Source(27, 7) + SourceIndex(0) +5 >Emitted(22, 8) Source(27, 8) + SourceIndex(0) +6 >Emitted(22, 10) Source(27, 10) + SourceIndex(0) +7 >Emitted(22, 19) Source(27, 19) + SourceIndex(0) +8 >Emitted(22, 21) Source(27, 21) + SourceIndex(0) +9 >Emitted(22, 31) Source(27, 31) + SourceIndex(0) +10>Emitted(22, 32) Source(27, 32) + SourceIndex(0) +11>Emitted(22, 33) Source(27, 33) + SourceIndex(0) +12>Emitted(22, 34) Source(27, 34) + SourceIndex(0) --- >>>foo3(robotA); 1 > @@ -702,12 +703,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 4 > robotA 5 > ) 6 > ; -1 >Emitted(22, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(22, 5) Source(29, 5) + SourceIndex(0) -3 >Emitted(22, 6) Source(29, 6) + SourceIndex(0) -4 >Emitted(22, 12) Source(29, 12) + SourceIndex(0) -5 >Emitted(22, 13) Source(29, 13) + SourceIndex(0) -6 >Emitted(22, 14) Source(29, 14) + SourceIndex(0) +1 >Emitted(23, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(23, 5) Source(29, 5) + SourceIndex(0) +3 >Emitted(23, 6) Source(29, 6) + SourceIndex(0) +4 >Emitted(23, 12) Source(29, 12) + SourceIndex(0) +5 >Emitted(23, 13) Source(29, 13) + SourceIndex(0) +6 >Emitted(23, 14) Source(29, 14) + SourceIndex(0) --- >>>foo3([2, "trimmer", "trimming"]); 1-> @@ -735,18 +736,18 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 10> ] 11> ) 12> ; -1->Emitted(23, 1) Source(30, 1) + SourceIndex(0) -2 >Emitted(23, 5) Source(30, 5) + SourceIndex(0) -3 >Emitted(23, 6) Source(30, 6) + SourceIndex(0) -4 >Emitted(23, 7) Source(30, 7) + SourceIndex(0) -5 >Emitted(23, 8) Source(30, 8) + SourceIndex(0) -6 >Emitted(23, 10) Source(30, 10) + SourceIndex(0) -7 >Emitted(23, 19) Source(30, 19) + SourceIndex(0) -8 >Emitted(23, 21) Source(30, 21) + SourceIndex(0) -9 >Emitted(23, 31) Source(30, 31) + SourceIndex(0) -10>Emitted(23, 32) Source(30, 32) + SourceIndex(0) -11>Emitted(23, 33) Source(30, 33) + SourceIndex(0) -12>Emitted(23, 34) Source(30, 34) + SourceIndex(0) +1->Emitted(24, 1) Source(30, 1) + SourceIndex(0) +2 >Emitted(24, 5) Source(30, 5) + SourceIndex(0) +3 >Emitted(24, 6) Source(30, 6) + SourceIndex(0) +4 >Emitted(24, 7) Source(30, 7) + SourceIndex(0) +5 >Emitted(24, 8) Source(30, 8) + SourceIndex(0) +6 >Emitted(24, 10) Source(30, 10) + SourceIndex(0) +7 >Emitted(24, 19) Source(30, 19) + SourceIndex(0) +8 >Emitted(24, 21) Source(30, 21) + SourceIndex(0) +9 >Emitted(24, 31) Source(30, 31) + SourceIndex(0) +10>Emitted(24, 32) Source(30, 32) + SourceIndex(0) +11>Emitted(24, 33) Source(30, 33) + SourceIndex(0) +12>Emitted(24, 34) Source(30, 34) + SourceIndex(0) --- >>>foo4(robotA); 1 > @@ -764,12 +765,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 4 > robotA 5 > ) 6 > ; -1 >Emitted(24, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(24, 5) Source(32, 5) + SourceIndex(0) -3 >Emitted(24, 6) Source(32, 6) + SourceIndex(0) -4 >Emitted(24, 12) Source(32, 12) + SourceIndex(0) -5 >Emitted(24, 13) Source(32, 13) + SourceIndex(0) -6 >Emitted(24, 14) Source(32, 14) + SourceIndex(0) +1 >Emitted(25, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(25, 5) Source(32, 5) + SourceIndex(0) +3 >Emitted(25, 6) Source(32, 6) + SourceIndex(0) +4 >Emitted(25, 12) Source(32, 12) + SourceIndex(0) +5 >Emitted(25, 13) Source(32, 13) + SourceIndex(0) +6 >Emitted(25, 14) Source(32, 14) + SourceIndex(0) --- >>>foo4([2, "trimmer", "trimming"]); 1-> @@ -798,17 +799,17 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 10> ] 11> ) 12> ; -1->Emitted(25, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(25, 5) Source(33, 5) + SourceIndex(0) -3 >Emitted(25, 6) Source(33, 6) + SourceIndex(0) -4 >Emitted(25, 7) Source(33, 7) + SourceIndex(0) -5 >Emitted(25, 8) Source(33, 8) + SourceIndex(0) -6 >Emitted(25, 10) Source(33, 10) + SourceIndex(0) -7 >Emitted(25, 19) Source(33, 19) + SourceIndex(0) -8 >Emitted(25, 21) Source(33, 21) + SourceIndex(0) -9 >Emitted(25, 31) Source(33, 31) + SourceIndex(0) -10>Emitted(25, 32) Source(33, 32) + SourceIndex(0) -11>Emitted(25, 33) Source(33, 33) + SourceIndex(0) -12>Emitted(25, 34) Source(33, 34) + SourceIndex(0) +1->Emitted(26, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(26, 5) Source(33, 5) + SourceIndex(0) +3 >Emitted(26, 6) Source(33, 6) + SourceIndex(0) +4 >Emitted(26, 7) Source(33, 7) + SourceIndex(0) +5 >Emitted(26, 8) Source(33, 8) + SourceIndex(0) +6 >Emitted(26, 10) Source(33, 10) + SourceIndex(0) +7 >Emitted(26, 19) Source(33, 19) + SourceIndex(0) +8 >Emitted(26, 21) Source(33, 21) + SourceIndex(0) +9 >Emitted(26, 31) Source(33, 31) + SourceIndex(0) +10>Emitted(26, 32) Source(33, 32) + SourceIndex(0) +11>Emitted(26, 33) Source(33, 33) + SourceIndex(0) +12>Emitted(26, 34) Source(33, 34) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js index 7e9f911199fd9..b6c4ba2726757 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js @@ -32,6 +32,7 @@ foo3(robotA); foo3(["roomba", ["vacuum", "mopping"]]); //// [sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js] +"use strict"; var robotA = ["trimmer", ["trimming", "edging"]]; function foo1(_a) { var _b = _a === void 0 ? ["name", ["skill1", "skill2"]] : _a, _c = _b[1], skillA = _c === void 0 ? ["noSkill", "noSkill"] : _c; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js.map index 252cc698c8dcb..66632fb84a120 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.ts"],"names":[],"mappings":"AAIA,IAAI,MAAM,GAAU,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AAExD,SAAS,IAAI,CAAC,EAA0E;QAA1E,qBAA4C,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,KAAA,EAAvE,UAA+B,EAA/B,MAAM,mBAAG,CAAC,SAAS,EAAE,SAAS,CAAC,KAAA;IAC5C,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC;AAED,SAAS,IAAI,CAAC,EAA2D;QAA3D,qBAA6B,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,KAAA,EAA1D,UAAiB,EAAjB,MAAM,mBAAG,QAAQ,KAAA;IAC5B,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC;AAED,SAAS,IAAI,CAAC,EAGoB;QAHnB,UAAiB,EAAjB,MAAM,mBAAG,QAAQ,KAAA,EAAE,UAGR,EAHQ,qBAG9B,CAAC,SAAS,EAAE,SAAS,CAAC,KAAA,EAFtB,UAAyB,EAAzB,aAAa,mBAAG,SAAS,KAAA,EACzB,UAA6B,EAA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yJdXSk7 +{"version":3,"file":"sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.ts"],"names":[],"mappings":";AAIA,IAAI,MAAM,GAAU,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AAExD,SAAS,IAAI,CAAC,EAA0E;QAA1E,qBAA4C,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,KAAA,EAAvE,UAA+B,EAA/B,MAAM,mBAAG,CAAC,SAAS,EAAE,SAAS,CAAC,KAAA;IAC5C,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC;AAED,SAAS,IAAI,CAAC,EAA2D;QAA3D,qBAA6B,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC,KAAA,EAA1D,UAAiB,EAAjB,MAAM,mBAAG,QAAQ,KAAA;IAC5B,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC;AAED,SAAS,IAAI,CAAC,EAGoB;QAHnB,UAAiB,EAAjB,MAAM,mBAAG,QAAQ,KAAA,EAAE,UAGR,EAHQ,qBAG9B,CAAC,SAAS,EAAE,SAAS,CAAC,KAAA,EAFtB,UAAyB,EAAzB,aAAa,mBAAG,SAAS,KAAA,EACzB,UAA6B,EAA7B,eAAe,mBAAG,WAAW,KAAA;IAE7B,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC;AAED,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;AAExC,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC;AAExC,IAAI,CAAC,MAAM,CAAC,CAAC;AACb,IAAI,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,CAAC,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIHJvYm90QSA9IFsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dOw0KZnVuY3Rpb24gZm9vMShfYSkgew0KICAgIHZhciBfYiA9IF9hID09PSB2b2lkIDAgPyBbIm5hbWUiLCBbInNraWxsMSIsICJza2lsbDIiXV0gOiBfYSwgX2MgPSBfYlsxXSwgc2tpbGxBID0gX2MgPT09IHZvaWQgMCA/IFsibm9Ta2lsbCIsICJub1NraWxsIl0gOiBfYzsNCiAgICBjb25zb2xlLmxvZyhza2lsbEEpOw0KfQ0KZnVuY3Rpb24gZm9vMihfYSkgew0KICAgIHZhciBfYiA9IF9hID09PSB2b2lkIDAgPyBbIm5hbWUiLCBbInNraWxsMSIsICJza2lsbDIiXV0gOiBfYSwgX2MgPSBfYlswXSwgbmFtZU1CID0gX2MgPT09IHZvaWQgMCA/ICJub05hbWUiIDogX2M7DQogICAgY29uc29sZS5sb2cobmFtZU1CKTsNCn0NCmZ1bmN0aW9uIGZvbzMoX2EpIHsNCiAgICB2YXIgX2IgPSBfYVswXSwgbmFtZU1BID0gX2IgPT09IHZvaWQgMCA/ICJub05hbWUiIDogX2IsIF9jID0gX2FbMV0sIF9kID0gX2MgPT09IHZvaWQgMCA/IFsibm9Ta2lsbCIsICJub1NraWxsIl0gOiBfYywgX2UgPSBfZFswXSwgcHJpbWFyeVNraWxsQSA9IF9lID09PSB2b2lkIDAgPyAicHJpbWFyeSIgOiBfZSwgX2YgPSBfZFsxXSwgc2Vjb25kYXJ5U2tpbGxBID0gX2YgPT09IHZvaWQgMCA/ICJzZWNvbmRhcnkiIDogX2Y7DQogICAgY29uc29sZS5sb2cobmFtZU1BKTsNCn0NCmZvbzEocm9ib3RBKTsNCmZv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W11dOwp2YXIgcm9ib3RBOiBSb2JvdCA9IFsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dOwoKZnVuY3Rpb24gZm9vMShbLCBza2lsbEEgPSBbIm5vU2tpbGwiLCAibm9Ta2lsbCJdXTogUm9ib3Q9IFsibmFtZSIsIFsic2tpbGwxIiwgInNraWxsMiJdXSkgewogICAgY29uc29sZS5sb2coc2tpbGxBKTsKfQoKZnVuY3Rpb24gZm9vMihbbmFtZU1CID0gIm5vTmFtZSJdOiBSb2JvdCA9IFsibmFtZSIsIFsic2tpbGwxIiwgInNraWxsMiJdXSkgewogICAgY29uc29sZS5sb2cobmFtZU1CKTsKfQoKZnVuY3Rpb24gZm9vMyhbbmFtZU1BID0gIm5vTmFtZSIsIFsKICAgIHByaW1hcnlTa2lsbEEgPSAicHJpbWFyeSIsCiAgICBzZWNvbmRhcnlTa2lsbEEgPSAic2Vjb25kYXJ5IgpdID0gWyJub1NraWxsIiwgIm5vU2tpbGwiXV06IFJvYm90KSB7CiAgICBjb25zb2xlLmxvZyhuYW1lTUEpOwp9Cgpmb28xKHJvYm90QSk7CmZvbzEoWyJyb29tYmEiLCBbInZhY3V1bSIsICJtb3BwaW5nIl1dKTsKCmZvbzIocm9ib3RBKTsKZm9vMihbInJvb21iYSIsIFsidmFjdXVtIiwgIm1vcHBpbmciXV0pOwoKZm9vMyhyb2JvdEEpOwpmb28zKFsicm9vbWJhIiwgWyJ2YWN1dW0iLCAibW9wcGluZyJdXSk7 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.sourcemap.txt index 2b1c80dda8639..1711f3bd2d60d 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringParametertArrayBindingPatternDefaultVal emittedFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = ["trimmer", ["trimming", "edging"]]; 1 > 2 >^^^^ @@ -41,20 +42,20 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 12> ] 13> ] 14> ; -1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(5, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(5, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(5, 21) + SourceIndex(0) -5 >Emitted(1, 15) Source(5, 22) + SourceIndex(0) -6 >Emitted(1, 24) Source(5, 31) + SourceIndex(0) -7 >Emitted(1, 26) Source(5, 33) + SourceIndex(0) -8 >Emitted(1, 27) Source(5, 34) + SourceIndex(0) -9 >Emitted(1, 37) Source(5, 44) + SourceIndex(0) -10>Emitted(1, 39) Source(5, 46) + SourceIndex(0) -11>Emitted(1, 47) Source(5, 54) + SourceIndex(0) -12>Emitted(1, 48) Source(5, 55) + SourceIndex(0) -13>Emitted(1, 49) Source(5, 56) + SourceIndex(0) -14>Emitted(1, 50) Source(5, 57) + SourceIndex(0) +1 >Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(5, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(5, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(5, 21) + SourceIndex(0) +5 >Emitted(2, 15) Source(5, 22) + SourceIndex(0) +6 >Emitted(2, 24) Source(5, 31) + SourceIndex(0) +7 >Emitted(2, 26) Source(5, 33) + SourceIndex(0) +8 >Emitted(2, 27) Source(5, 34) + SourceIndex(0) +9 >Emitted(2, 37) Source(5, 44) + SourceIndex(0) +10>Emitted(2, 39) Source(5, 46) + SourceIndex(0) +11>Emitted(2, 47) Source(5, 54) + SourceIndex(0) +12>Emitted(2, 48) Source(5, 55) + SourceIndex(0) +13>Emitted(2, 49) Source(5, 56) + SourceIndex(0) +14>Emitted(2, 50) Source(5, 57) + SourceIndex(0) --- >>>function foo1(_a) { 1 > @@ -70,11 +71,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 3 > foo1 4 > ( 5 > [, skillA = ["noSkill", "noSkill"]]: Robot= ["name", ["skill1", "skill2"]] -1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(2, 10) Source(7, 10) + SourceIndex(0) -3 >Emitted(2, 14) Source(7, 14) + SourceIndex(0) -4 >Emitted(2, 15) Source(7, 15) + SourceIndex(0) -5 >Emitted(2, 17) Source(7, 89) + SourceIndex(0) +1 >Emitted(3, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(3, 10) Source(7, 10) + SourceIndex(0) +3 >Emitted(3, 14) Source(7, 14) + SourceIndex(0) +4 >Emitted(3, 15) Source(7, 15) + SourceIndex(0) +5 >Emitted(3, 17) Source(7, 89) + SourceIndex(0) --- >>> var _b = _a === void 0 ? ["name", ["skill1", "skill2"]] : _a, _c = _b[1], skillA = _c === void 0 ? ["noSkill", "noSkill"] : _c; 1->^^^^^^^^ @@ -123,29 +124,29 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 21> "noSkill" 22> ] 23> -1->Emitted(3, 9) Source(7, 15) + SourceIndex(0) -2 >Emitted(3, 30) Source(7, 59) + SourceIndex(0) -3 >Emitted(3, 31) Source(7, 60) + SourceIndex(0) -4 >Emitted(3, 37) Source(7, 66) + SourceIndex(0) -5 >Emitted(3, 39) Source(7, 68) + SourceIndex(0) -6 >Emitted(3, 40) Source(7, 69) + SourceIndex(0) -7 >Emitted(3, 48) Source(7, 77) + SourceIndex(0) -8 >Emitted(3, 50) Source(7, 79) + SourceIndex(0) -9 >Emitted(3, 58) Source(7, 87) + SourceIndex(0) -10>Emitted(3, 59) Source(7, 88) + SourceIndex(0) -11>Emitted(3, 60) Source(7, 89) + SourceIndex(0) -12>Emitted(3, 65) Source(7, 89) + SourceIndex(0) -13>Emitted(3, 67) Source(7, 18) + SourceIndex(0) -14>Emitted(3, 77) Source(7, 49) + SourceIndex(0) -15>Emitted(3, 79) Source(7, 18) + SourceIndex(0) -16>Emitted(3, 85) Source(7, 24) + SourceIndex(0) -17>Emitted(3, 104) Source(7, 27) + SourceIndex(0) -18>Emitted(3, 105) Source(7, 28) + SourceIndex(0) -19>Emitted(3, 114) Source(7, 37) + SourceIndex(0) -20>Emitted(3, 116) Source(7, 39) + SourceIndex(0) -21>Emitted(3, 125) Source(7, 48) + SourceIndex(0) -22>Emitted(3, 126) Source(7, 49) + SourceIndex(0) -23>Emitted(3, 131) Source(7, 49) + SourceIndex(0) +1->Emitted(4, 9) Source(7, 15) + SourceIndex(0) +2 >Emitted(4, 30) Source(7, 59) + SourceIndex(0) +3 >Emitted(4, 31) Source(7, 60) + SourceIndex(0) +4 >Emitted(4, 37) Source(7, 66) + SourceIndex(0) +5 >Emitted(4, 39) Source(7, 68) + SourceIndex(0) +6 >Emitted(4, 40) Source(7, 69) + SourceIndex(0) +7 >Emitted(4, 48) Source(7, 77) + SourceIndex(0) +8 >Emitted(4, 50) Source(7, 79) + SourceIndex(0) +9 >Emitted(4, 58) Source(7, 87) + SourceIndex(0) +10>Emitted(4, 59) Source(7, 88) + SourceIndex(0) +11>Emitted(4, 60) Source(7, 89) + SourceIndex(0) +12>Emitted(4, 65) Source(7, 89) + SourceIndex(0) +13>Emitted(4, 67) Source(7, 18) + SourceIndex(0) +14>Emitted(4, 77) Source(7, 49) + SourceIndex(0) +15>Emitted(4, 79) Source(7, 18) + SourceIndex(0) +16>Emitted(4, 85) Source(7, 24) + SourceIndex(0) +17>Emitted(4, 104) Source(7, 27) + SourceIndex(0) +18>Emitted(4, 105) Source(7, 28) + SourceIndex(0) +19>Emitted(4, 114) Source(7, 37) + SourceIndex(0) +20>Emitted(4, 116) Source(7, 39) + SourceIndex(0) +21>Emitted(4, 125) Source(7, 48) + SourceIndex(0) +22>Emitted(4, 126) Source(7, 49) + SourceIndex(0) +23>Emitted(4, 131) Source(7, 49) + SourceIndex(0) --- >>> console.log(skillA); 1 >^^^^ @@ -165,14 +166,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 6 > skillA 7 > ) 8 > ; -1 >Emitted(4, 5) Source(8, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(8, 12) + SourceIndex(0) -3 >Emitted(4, 13) Source(8, 13) + SourceIndex(0) -4 >Emitted(4, 16) Source(8, 16) + SourceIndex(0) -5 >Emitted(4, 17) Source(8, 17) + SourceIndex(0) -6 >Emitted(4, 23) Source(8, 23) + SourceIndex(0) -7 >Emitted(4, 24) Source(8, 24) + SourceIndex(0) -8 >Emitted(4, 25) Source(8, 25) + SourceIndex(0) +1 >Emitted(5, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(8, 12) + SourceIndex(0) +3 >Emitted(5, 13) Source(8, 13) + SourceIndex(0) +4 >Emitted(5, 16) Source(8, 16) + SourceIndex(0) +5 >Emitted(5, 17) Source(8, 17) + SourceIndex(0) +6 >Emitted(5, 23) Source(8, 23) + SourceIndex(0) +7 >Emitted(5, 24) Source(8, 24) + SourceIndex(0) +8 >Emitted(5, 25) Source(8, 25) + SourceIndex(0) --- >>>} 1 > @@ -181,8 +182,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 1 > > 2 >} -1 >Emitted(5, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(9, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(9, 2) + SourceIndex(0) --- >>>function foo2(_a) { 1-> @@ -198,11 +199,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 3 > foo2 4 > ( 5 > [nameMB = "noName"]: Robot = ["name", ["skill1", "skill2"]] -1->Emitted(6, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(6, 10) Source(11, 10) + SourceIndex(0) -3 >Emitted(6, 14) Source(11, 14) + SourceIndex(0) -4 >Emitted(6, 15) Source(11, 15) + SourceIndex(0) -5 >Emitted(6, 17) Source(11, 74) + SourceIndex(0) +1->Emitted(7, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(7, 10) Source(11, 10) + SourceIndex(0) +3 >Emitted(7, 14) Source(11, 14) + SourceIndex(0) +4 >Emitted(7, 15) Source(11, 15) + SourceIndex(0) +5 >Emitted(7, 17) Source(11, 74) + SourceIndex(0) --- >>> var _b = _a === void 0 ? ["name", ["skill1", "skill2"]] : _a, _c = _b[0], nameMB = _c === void 0 ? "noName" : _c; 1->^^^^^^^^ @@ -243,25 +244,25 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 17> = 18> "noName" 19> -1->Emitted(7, 9) Source(11, 15) + SourceIndex(0) -2 >Emitted(7, 30) Source(11, 44) + SourceIndex(0) -3 >Emitted(7, 31) Source(11, 45) + SourceIndex(0) -4 >Emitted(7, 37) Source(11, 51) + SourceIndex(0) -5 >Emitted(7, 39) Source(11, 53) + SourceIndex(0) -6 >Emitted(7, 40) Source(11, 54) + SourceIndex(0) -7 >Emitted(7, 48) Source(11, 62) + SourceIndex(0) -8 >Emitted(7, 50) Source(11, 64) + SourceIndex(0) -9 >Emitted(7, 58) Source(11, 72) + SourceIndex(0) -10>Emitted(7, 59) Source(11, 73) + SourceIndex(0) -11>Emitted(7, 60) Source(11, 74) + SourceIndex(0) -12>Emitted(7, 65) Source(11, 74) + SourceIndex(0) -13>Emitted(7, 67) Source(11, 16) + SourceIndex(0) -14>Emitted(7, 77) Source(11, 33) + SourceIndex(0) -15>Emitted(7, 79) Source(11, 16) + SourceIndex(0) -16>Emitted(7, 85) Source(11, 22) + SourceIndex(0) -17>Emitted(7, 104) Source(11, 25) + SourceIndex(0) -18>Emitted(7, 112) Source(11, 33) + SourceIndex(0) -19>Emitted(7, 117) Source(11, 33) + SourceIndex(0) +1->Emitted(8, 9) Source(11, 15) + SourceIndex(0) +2 >Emitted(8, 30) Source(11, 44) + SourceIndex(0) +3 >Emitted(8, 31) Source(11, 45) + SourceIndex(0) +4 >Emitted(8, 37) Source(11, 51) + SourceIndex(0) +5 >Emitted(8, 39) Source(11, 53) + SourceIndex(0) +6 >Emitted(8, 40) Source(11, 54) + SourceIndex(0) +7 >Emitted(8, 48) Source(11, 62) + SourceIndex(0) +8 >Emitted(8, 50) Source(11, 64) + SourceIndex(0) +9 >Emitted(8, 58) Source(11, 72) + SourceIndex(0) +10>Emitted(8, 59) Source(11, 73) + SourceIndex(0) +11>Emitted(8, 60) Source(11, 74) + SourceIndex(0) +12>Emitted(8, 65) Source(11, 74) + SourceIndex(0) +13>Emitted(8, 67) Source(11, 16) + SourceIndex(0) +14>Emitted(8, 77) Source(11, 33) + SourceIndex(0) +15>Emitted(8, 79) Source(11, 16) + SourceIndex(0) +16>Emitted(8, 85) Source(11, 22) + SourceIndex(0) +17>Emitted(8, 104) Source(11, 25) + SourceIndex(0) +18>Emitted(8, 112) Source(11, 33) + SourceIndex(0) +19>Emitted(8, 117) Source(11, 33) + SourceIndex(0) --- >>> console.log(nameMB); 1 >^^^^ @@ -281,14 +282,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 6 > nameMB 7 > ) 8 > ; -1 >Emitted(8, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(12, 12) + SourceIndex(0) -3 >Emitted(8, 13) Source(12, 13) + SourceIndex(0) -4 >Emitted(8, 16) Source(12, 16) + SourceIndex(0) -5 >Emitted(8, 17) Source(12, 17) + SourceIndex(0) -6 >Emitted(8, 23) Source(12, 23) + SourceIndex(0) -7 >Emitted(8, 24) Source(12, 24) + SourceIndex(0) -8 >Emitted(8, 25) Source(12, 25) + SourceIndex(0) +1 >Emitted(9, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(12, 12) + SourceIndex(0) +3 >Emitted(9, 13) Source(12, 13) + SourceIndex(0) +4 >Emitted(9, 16) Source(12, 16) + SourceIndex(0) +5 >Emitted(9, 17) Source(12, 17) + SourceIndex(0) +6 >Emitted(9, 23) Source(12, 23) + SourceIndex(0) +7 >Emitted(9, 24) Source(12, 24) + SourceIndex(0) +8 >Emitted(9, 25) Source(12, 25) + SourceIndex(0) --- >>>} 1 > @@ -297,8 +298,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 1 > > 2 >} -1 >Emitted(9, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(13, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(13, 2) + SourceIndex(0) --- >>>function foo3(_a) { 1-> @@ -317,11 +318,11 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV > primarySkillA = "primary", > secondarySkillA = "secondary" > ] = ["noSkill", "noSkill"]]: Robot -1->Emitted(10, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(10, 10) Source(15, 10) + SourceIndex(0) -3 >Emitted(10, 14) Source(15, 14) + SourceIndex(0) -4 >Emitted(10, 15) Source(15, 15) + SourceIndex(0) -5 >Emitted(10, 17) Source(18, 35) + SourceIndex(0) +1->Emitted(11, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(11, 10) Source(15, 10) + SourceIndex(0) +3 >Emitted(11, 14) Source(15, 14) + SourceIndex(0) +4 >Emitted(11, 15) Source(15, 15) + SourceIndex(0) +5 >Emitted(11, 17) Source(18, 35) + SourceIndex(0) --- >>> var _b = _a[0], nameMA = _b === void 0 ? "noName" : _b, _c = _a[1], _d = _c === void 0 ? ["noSkill", "noSkill"] : _c, _e = _d[0], primarySkillA = _e === void 0 ? "primary" : _e, _f = _d[1], secondarySkillA = _f === void 0 ? "secondary" : _f; 1->^^^^^^^^ @@ -393,37 +394,37 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 29> = 30> "secondary" 31> -1->Emitted(11, 9) Source(15, 16) + SourceIndex(0) -2 >Emitted(11, 19) Source(15, 33) + SourceIndex(0) -3 >Emitted(11, 21) Source(15, 16) + SourceIndex(0) -4 >Emitted(11, 27) Source(15, 22) + SourceIndex(0) -5 >Emitted(11, 46) Source(15, 25) + SourceIndex(0) -6 >Emitted(11, 54) Source(15, 33) + SourceIndex(0) -7 >Emitted(11, 59) Source(15, 33) + SourceIndex(0) -8 >Emitted(11, 61) Source(15, 35) + SourceIndex(0) -9 >Emitted(11, 71) Source(18, 27) + SourceIndex(0) -10>Emitted(11, 73) Source(15, 35) + SourceIndex(0) -11>Emitted(11, 94) Source(18, 5) + SourceIndex(0) -12>Emitted(11, 95) Source(18, 6) + SourceIndex(0) -13>Emitted(11, 104) Source(18, 15) + SourceIndex(0) -14>Emitted(11, 106) Source(18, 17) + SourceIndex(0) -15>Emitted(11, 115) Source(18, 26) + SourceIndex(0) -16>Emitted(11, 116) Source(18, 27) + SourceIndex(0) -17>Emitted(11, 121) Source(18, 27) + SourceIndex(0) -18>Emitted(11, 123) Source(16, 5) + SourceIndex(0) -19>Emitted(11, 133) Source(16, 30) + SourceIndex(0) -20>Emitted(11, 135) Source(16, 5) + SourceIndex(0) -21>Emitted(11, 148) Source(16, 18) + SourceIndex(0) -22>Emitted(11, 167) Source(16, 21) + SourceIndex(0) -23>Emitted(11, 176) Source(16, 30) + SourceIndex(0) -24>Emitted(11, 181) Source(16, 30) + SourceIndex(0) -25>Emitted(11, 183) Source(17, 5) + SourceIndex(0) -26>Emitted(11, 193) Source(17, 34) + SourceIndex(0) -27>Emitted(11, 195) Source(17, 5) + SourceIndex(0) -28>Emitted(11, 210) Source(17, 20) + SourceIndex(0) -29>Emitted(11, 229) Source(17, 23) + SourceIndex(0) -30>Emitted(11, 240) Source(17, 34) + SourceIndex(0) -31>Emitted(11, 245) Source(17, 34) + SourceIndex(0) +1->Emitted(12, 9) Source(15, 16) + SourceIndex(0) +2 >Emitted(12, 19) Source(15, 33) + SourceIndex(0) +3 >Emitted(12, 21) Source(15, 16) + SourceIndex(0) +4 >Emitted(12, 27) Source(15, 22) + SourceIndex(0) +5 >Emitted(12, 46) Source(15, 25) + SourceIndex(0) +6 >Emitted(12, 54) Source(15, 33) + SourceIndex(0) +7 >Emitted(12, 59) Source(15, 33) + SourceIndex(0) +8 >Emitted(12, 61) Source(15, 35) + SourceIndex(0) +9 >Emitted(12, 71) Source(18, 27) + SourceIndex(0) +10>Emitted(12, 73) Source(15, 35) + SourceIndex(0) +11>Emitted(12, 94) Source(18, 5) + SourceIndex(0) +12>Emitted(12, 95) Source(18, 6) + SourceIndex(0) +13>Emitted(12, 104) Source(18, 15) + SourceIndex(0) +14>Emitted(12, 106) Source(18, 17) + SourceIndex(0) +15>Emitted(12, 115) Source(18, 26) + SourceIndex(0) +16>Emitted(12, 116) Source(18, 27) + SourceIndex(0) +17>Emitted(12, 121) Source(18, 27) + SourceIndex(0) +18>Emitted(12, 123) Source(16, 5) + SourceIndex(0) +19>Emitted(12, 133) Source(16, 30) + SourceIndex(0) +20>Emitted(12, 135) Source(16, 5) + SourceIndex(0) +21>Emitted(12, 148) Source(16, 18) + SourceIndex(0) +22>Emitted(12, 167) Source(16, 21) + SourceIndex(0) +23>Emitted(12, 176) Source(16, 30) + SourceIndex(0) +24>Emitted(12, 181) Source(16, 30) + SourceIndex(0) +25>Emitted(12, 183) Source(17, 5) + SourceIndex(0) +26>Emitted(12, 193) Source(17, 34) + SourceIndex(0) +27>Emitted(12, 195) Source(17, 5) + SourceIndex(0) +28>Emitted(12, 210) Source(17, 20) + SourceIndex(0) +29>Emitted(12, 229) Source(17, 23) + SourceIndex(0) +30>Emitted(12, 240) Source(17, 34) + SourceIndex(0) +31>Emitted(12, 245) Source(17, 34) + SourceIndex(0) --- >>> console.log(nameMA); 1 >^^^^ @@ -444,14 +445,14 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 6 > nameMA 7 > ) 8 > ; -1 >Emitted(12, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(12, 12) Source(19, 12) + SourceIndex(0) -3 >Emitted(12, 13) Source(19, 13) + SourceIndex(0) -4 >Emitted(12, 16) Source(19, 16) + SourceIndex(0) -5 >Emitted(12, 17) Source(19, 17) + SourceIndex(0) -6 >Emitted(12, 23) Source(19, 23) + SourceIndex(0) -7 >Emitted(12, 24) Source(19, 24) + SourceIndex(0) -8 >Emitted(12, 25) Source(19, 25) + SourceIndex(0) +1 >Emitted(13, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(13, 12) Source(19, 12) + SourceIndex(0) +3 >Emitted(13, 13) Source(19, 13) + SourceIndex(0) +4 >Emitted(13, 16) Source(19, 16) + SourceIndex(0) +5 >Emitted(13, 17) Source(19, 17) + SourceIndex(0) +6 >Emitted(13, 23) Source(19, 23) + SourceIndex(0) +7 >Emitted(13, 24) Source(19, 24) + SourceIndex(0) +8 >Emitted(13, 25) Source(19, 25) + SourceIndex(0) --- >>>} 1 > @@ -460,8 +461,8 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 1 > > 2 >} -1 >Emitted(13, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(20, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(20, 2) + SourceIndex(0) --- >>>foo1(robotA); 1-> @@ -479,12 +480,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 4 > robotA 5 > ) 6 > ; -1->Emitted(14, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(14, 5) Source(22, 5) + SourceIndex(0) -3 >Emitted(14, 6) Source(22, 6) + SourceIndex(0) -4 >Emitted(14, 12) Source(22, 12) + SourceIndex(0) -5 >Emitted(14, 13) Source(22, 13) + SourceIndex(0) -6 >Emitted(14, 14) Source(22, 14) + SourceIndex(0) +1->Emitted(15, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(15, 5) Source(22, 5) + SourceIndex(0) +3 >Emitted(15, 6) Source(22, 6) + SourceIndex(0) +4 >Emitted(15, 12) Source(22, 12) + SourceIndex(0) +5 >Emitted(15, 13) Source(22, 13) + SourceIndex(0) +6 >Emitted(15, 14) Source(22, 14) + SourceIndex(0) --- >>>foo1(["roomba", ["vacuum", "mopping"]]); 1-> @@ -516,20 +517,20 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 12> ] 13> ) 14> ; -1->Emitted(15, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(15, 5) Source(23, 5) + SourceIndex(0) -3 >Emitted(15, 6) Source(23, 6) + SourceIndex(0) -4 >Emitted(15, 7) Source(23, 7) + SourceIndex(0) -5 >Emitted(15, 15) Source(23, 15) + SourceIndex(0) -6 >Emitted(15, 17) Source(23, 17) + SourceIndex(0) -7 >Emitted(15, 18) Source(23, 18) + SourceIndex(0) -8 >Emitted(15, 26) Source(23, 26) + SourceIndex(0) -9 >Emitted(15, 28) Source(23, 28) + SourceIndex(0) -10>Emitted(15, 37) Source(23, 37) + SourceIndex(0) -11>Emitted(15, 38) Source(23, 38) + SourceIndex(0) -12>Emitted(15, 39) Source(23, 39) + SourceIndex(0) -13>Emitted(15, 40) Source(23, 40) + SourceIndex(0) -14>Emitted(15, 41) Source(23, 41) + SourceIndex(0) +1->Emitted(16, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(16, 5) Source(23, 5) + SourceIndex(0) +3 >Emitted(16, 6) Source(23, 6) + SourceIndex(0) +4 >Emitted(16, 7) Source(23, 7) + SourceIndex(0) +5 >Emitted(16, 15) Source(23, 15) + SourceIndex(0) +6 >Emitted(16, 17) Source(23, 17) + SourceIndex(0) +7 >Emitted(16, 18) Source(23, 18) + SourceIndex(0) +8 >Emitted(16, 26) Source(23, 26) + SourceIndex(0) +9 >Emitted(16, 28) Source(23, 28) + SourceIndex(0) +10>Emitted(16, 37) Source(23, 37) + SourceIndex(0) +11>Emitted(16, 38) Source(23, 38) + SourceIndex(0) +12>Emitted(16, 39) Source(23, 39) + SourceIndex(0) +13>Emitted(16, 40) Source(23, 40) + SourceIndex(0) +14>Emitted(16, 41) Source(23, 41) + SourceIndex(0) --- >>>foo2(robotA); 1 > @@ -547,12 +548,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 4 > robotA 5 > ) 6 > ; -1 >Emitted(16, 1) Source(25, 1) + SourceIndex(0) -2 >Emitted(16, 5) Source(25, 5) + SourceIndex(0) -3 >Emitted(16, 6) Source(25, 6) + SourceIndex(0) -4 >Emitted(16, 12) Source(25, 12) + SourceIndex(0) -5 >Emitted(16, 13) Source(25, 13) + SourceIndex(0) -6 >Emitted(16, 14) Source(25, 14) + SourceIndex(0) +1 >Emitted(17, 1) Source(25, 1) + SourceIndex(0) +2 >Emitted(17, 5) Source(25, 5) + SourceIndex(0) +3 >Emitted(17, 6) Source(25, 6) + SourceIndex(0) +4 >Emitted(17, 12) Source(25, 12) + SourceIndex(0) +5 >Emitted(17, 13) Source(25, 13) + SourceIndex(0) +6 >Emitted(17, 14) Source(25, 14) + SourceIndex(0) --- >>>foo2(["roomba", ["vacuum", "mopping"]]); 1-> @@ -584,20 +585,20 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 12> ] 13> ) 14> ; -1->Emitted(17, 1) Source(26, 1) + SourceIndex(0) -2 >Emitted(17, 5) Source(26, 5) + SourceIndex(0) -3 >Emitted(17, 6) Source(26, 6) + SourceIndex(0) -4 >Emitted(17, 7) Source(26, 7) + SourceIndex(0) -5 >Emitted(17, 15) Source(26, 15) + SourceIndex(0) -6 >Emitted(17, 17) Source(26, 17) + SourceIndex(0) -7 >Emitted(17, 18) Source(26, 18) + SourceIndex(0) -8 >Emitted(17, 26) Source(26, 26) + SourceIndex(0) -9 >Emitted(17, 28) Source(26, 28) + SourceIndex(0) -10>Emitted(17, 37) Source(26, 37) + SourceIndex(0) -11>Emitted(17, 38) Source(26, 38) + SourceIndex(0) -12>Emitted(17, 39) Source(26, 39) + SourceIndex(0) -13>Emitted(17, 40) Source(26, 40) + SourceIndex(0) -14>Emitted(17, 41) Source(26, 41) + SourceIndex(0) +1->Emitted(18, 1) Source(26, 1) + SourceIndex(0) +2 >Emitted(18, 5) Source(26, 5) + SourceIndex(0) +3 >Emitted(18, 6) Source(26, 6) + SourceIndex(0) +4 >Emitted(18, 7) Source(26, 7) + SourceIndex(0) +5 >Emitted(18, 15) Source(26, 15) + SourceIndex(0) +6 >Emitted(18, 17) Source(26, 17) + SourceIndex(0) +7 >Emitted(18, 18) Source(26, 18) + SourceIndex(0) +8 >Emitted(18, 26) Source(26, 26) + SourceIndex(0) +9 >Emitted(18, 28) Source(26, 28) + SourceIndex(0) +10>Emitted(18, 37) Source(26, 37) + SourceIndex(0) +11>Emitted(18, 38) Source(26, 38) + SourceIndex(0) +12>Emitted(18, 39) Source(26, 39) + SourceIndex(0) +13>Emitted(18, 40) Source(26, 40) + SourceIndex(0) +14>Emitted(18, 41) Source(26, 41) + SourceIndex(0) --- >>>foo3(robotA); 1 > @@ -615,12 +616,12 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 4 > robotA 5 > ) 6 > ; -1 >Emitted(18, 1) Source(28, 1) + SourceIndex(0) -2 >Emitted(18, 5) Source(28, 5) + SourceIndex(0) -3 >Emitted(18, 6) Source(28, 6) + SourceIndex(0) -4 >Emitted(18, 12) Source(28, 12) + SourceIndex(0) -5 >Emitted(18, 13) Source(28, 13) + SourceIndex(0) -6 >Emitted(18, 14) Source(28, 14) + SourceIndex(0) +1 >Emitted(19, 1) Source(28, 1) + SourceIndex(0) +2 >Emitted(19, 5) Source(28, 5) + SourceIndex(0) +3 >Emitted(19, 6) Source(28, 6) + SourceIndex(0) +4 >Emitted(19, 12) Source(28, 12) + SourceIndex(0) +5 >Emitted(19, 13) Source(28, 13) + SourceIndex(0) +6 >Emitted(19, 14) Source(28, 14) + SourceIndex(0) --- >>>foo3(["roomba", ["vacuum", "mopping"]]); 1-> @@ -653,19 +654,19 @@ sourceFile:sourceMapValidationDestructuringParametertArrayBindingPatternDefaultV 12> ] 13> ) 14> ; -1->Emitted(19, 1) Source(29, 1) + SourceIndex(0) -2 >Emitted(19, 5) Source(29, 5) + SourceIndex(0) -3 >Emitted(19, 6) Source(29, 6) + SourceIndex(0) -4 >Emitted(19, 7) Source(29, 7) + SourceIndex(0) -5 >Emitted(19, 15) Source(29, 15) + SourceIndex(0) -6 >Emitted(19, 17) Source(29, 17) + SourceIndex(0) -7 >Emitted(19, 18) Source(29, 18) + SourceIndex(0) -8 >Emitted(19, 26) Source(29, 26) + SourceIndex(0) -9 >Emitted(19, 28) Source(29, 28) + SourceIndex(0) -10>Emitted(19, 37) Source(29, 37) + SourceIndex(0) -11>Emitted(19, 38) Source(29, 38) + SourceIndex(0) -12>Emitted(19, 39) Source(29, 39) + SourceIndex(0) -13>Emitted(19, 40) Source(29, 40) + SourceIndex(0) -14>Emitted(19, 41) Source(29, 41) + SourceIndex(0) +1->Emitted(20, 1) Source(29, 1) + SourceIndex(0) +2 >Emitted(20, 5) Source(29, 5) + SourceIndex(0) +3 >Emitted(20, 6) Source(29, 6) + SourceIndex(0) +4 >Emitted(20, 7) Source(29, 7) + SourceIndex(0) +5 >Emitted(20, 15) Source(29, 15) + SourceIndex(0) +6 >Emitted(20, 17) Source(29, 17) + SourceIndex(0) +7 >Emitted(20, 18) Source(29, 18) + SourceIndex(0) +8 >Emitted(20, 26) Source(29, 26) + SourceIndex(0) +9 >Emitted(20, 28) Source(29, 28) + SourceIndex(0) +10>Emitted(20, 37) Source(29, 37) + SourceIndex(0) +11>Emitted(20, 38) Source(29, 38) + SourceIndex(0) +12>Emitted(20, 39) Source(29, 39) + SourceIndex(0) +13>Emitted(20, 40) Source(29, 40) + SourceIndex(0) +14>Emitted(20, 41) Source(29, 41) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringParametertArrayBindingPatternDefaultValues2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.js index 1d0506cb13627..8eeab595ca622 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.js @@ -22,6 +22,7 @@ else { } //// [sourceMapValidationDestructuringVariableStatement.js] +"use strict"; var hello = "hello"; var robotA = { name: "mower", skill: "mowing" }; var robotB = { name: "trimmer", skill: "trimming" }; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.js.map index 2b19adde9d928..bdb7d05fba4ea 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatement.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatement.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatement.ts"],"names":[],"mappings":"AAOA,IAAI,KAAK,GAAG,OAAO,CAAC;AACpB,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACvD,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;AACrD,IAAM,KAAK,GAAK,MAAM,KAAX,CAAY;AACvB,IAAM,KAAK,GAAoB,MAAM,KAA1B,EAAS,MAAM,GAAK,MAAM,MAAX,CAAY;AACxC,IAAA,KAAiC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,EAAlE,KAAK,UAAA,EAAS,MAAM,WAA8C,CAAC;AAC/E,IAA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ZhciB7IG5hbWU6IG5hbWVDLCBza2lsbDogc2tpbGxDIH0gPSB7IG5hbWU6ICJFZGdlciIsIHNraWxsOiAiY3V0dGluZyBlZGdlcyIgfTsKaWYgKG5hbWVBID09IG5hbWVCKSB7CiAgICBjb25zb2xlLmxvZyhza2lsbEIpOwp9CmVsc2UgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9 +{"version":3,"file":"sourceMapValidationDestructuringVariableStatement.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatement.ts"],"names":[],"mappings":";AAOA,IAAI,KAAK,GAAG,OAAO,CAAC;AACpB,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACvD,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;AACrD,IAAM,KAAK,GAAK,MAAM,KAAX,CAAY;AACvB,IAAM,KAAK,GAAoB,MAAM,KAA1B,EAAS,MAAM,GAAK,MAAM,MAAX,CAAY;AACxC,IAAA,KAAiC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,EAAlE,KAAK,UAAA,EAAS,MAAM,WAA8C,CAAC;AAC/E,IAAI,KAAK,IAAI,KAAK,EAAE,CAAC;IACjB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;AACxB,CAAC;KACI,CAAC;IACF,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;AACvB,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGhlbGxvID0gImhlbGxvIjsNCnZhciByb2JvdEEgPSB7IG5hbWU6ICJtb3dlciIsIHNraWxsOiAibW93aW5nIiB9Ow0KdmFyIHJvYm90QiA9IHsgbmFtZTogInRyaW1tZXIiLCBza2lsbDogInRyaW1taW5nIiB9Ow0KdmFyIG5hbWVBID0gcm9ib3RBLm5hbWU7DQp2Y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QUFFLGVBQWUsRUFBRSxFQUFsRSxLQUFLLFVBQUEsRUFBUyxNQUFNLFdBQThDLENBQUM7QUFDL0UsSUFBSSxLQUFLLElBQUksS0FBSyxFQUFFLENBQUM7SUFDakIsT0FBTyxDQUFDLEdBQUcsQ0FBQyxNQUFNLENBQUMsQ0FBQztBQUN4QixDQUFDO0tBQ0ksQ0FBQztJQUNGLE9BQU8sQ0FBQyxHQUFHLENBQUMsS0FBSyxDQUFDLENBQUM7QUFDdkIsQ0FBQyJ9,aW50ZXJmYWNlIFJvYm90IHsKICAgIG5hbWU6IHN0cmluZzsKICAgIHNraWxsOiBzdHJpbmc7Cn0KZGVjbGFyZSB2YXIgY29uc29sZTogewogICAgbG9nKG1zZzogc3RyaW5nKTogdm9pZDsKfQp2YXIgaGVsbG8gPSAiaGVsbG8iOwp2YXIgcm9ib3RBOiBSb2JvdCA9IHsgbmFtZTogIm1vd2VyIiwgc2tpbGw6ICJtb3dpbmciIH07CnZhciByb2JvdEI6IFJvYm90ID0geyBuYW1lOiAidHJpbW1lciIsIHNraWxsOiAidHJpbW1pbmciIH07CnZhciB7IG5hbWU6IG5hbWVBIH0gPSByb2JvdEE7CnZhciB7IG5hbWU6IG5hbWVCLCBza2lsbDogc2tpbGxCIH0gPSByb2JvdEI7CnZhciB7IG5hbWU6IG5hbWVDLCBza2lsbDogc2tpbGxDIH0gPSB7IG5hbWU6ICJFZGdlciIsIHNraWxsOiAiY3V0dGluZyBlZGdlcyIgfTsKaWYgKG5hbWVBID09IG5hbWVCKSB7CiAgICBjb25zb2xlLmxvZyhza2lsbEIpOwp9CmVsc2UgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.sourcemap.txt index 393d7d0c0979d..a5f76a3335d3e 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatement.ts emittedFile:sourceMapValidationDestructuringVariableStatement.js sourceFile:sourceMapValidationDestructuringVariableStatement.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var hello = "hello"; 1 > 2 >^^^^ @@ -29,12 +30,12 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 4 > = 5 > "hello" 6 > ; -1 >Emitted(1, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(1, 10) Source(8, 10) + SourceIndex(0) -4 >Emitted(1, 13) Source(8, 13) + SourceIndex(0) -5 >Emitted(1, 20) Source(8, 20) + SourceIndex(0) -6 >Emitted(1, 21) Source(8, 21) + SourceIndex(0) +1 >Emitted(2, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(2, 10) Source(8, 10) + SourceIndex(0) +4 >Emitted(2, 13) Source(8, 13) + SourceIndex(0) +5 >Emitted(2, 20) Source(8, 20) + SourceIndex(0) +6 >Emitted(2, 21) Source(8, 21) + SourceIndex(0) --- >>>var robotA = { name: "mower", skill: "mowing" }; 1-> @@ -67,20 +68,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 12> "mowing" 13> } 14> ; -1->Emitted(2, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(9, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(9, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(9, 21) + SourceIndex(0) -5 >Emitted(2, 16) Source(9, 23) + SourceIndex(0) -6 >Emitted(2, 20) Source(9, 27) + SourceIndex(0) -7 >Emitted(2, 22) Source(9, 29) + SourceIndex(0) -8 >Emitted(2, 29) Source(9, 36) + SourceIndex(0) -9 >Emitted(2, 31) Source(9, 38) + SourceIndex(0) -10>Emitted(2, 36) Source(9, 43) + SourceIndex(0) -11>Emitted(2, 38) Source(9, 45) + SourceIndex(0) -12>Emitted(2, 46) Source(9, 53) + SourceIndex(0) -13>Emitted(2, 48) Source(9, 55) + SourceIndex(0) -14>Emitted(2, 49) Source(9, 56) + SourceIndex(0) +1->Emitted(3, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(9, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(9, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(9, 21) + SourceIndex(0) +5 >Emitted(3, 16) Source(9, 23) + SourceIndex(0) +6 >Emitted(3, 20) Source(9, 27) + SourceIndex(0) +7 >Emitted(3, 22) Source(9, 29) + SourceIndex(0) +8 >Emitted(3, 29) Source(9, 36) + SourceIndex(0) +9 >Emitted(3, 31) Source(9, 38) + SourceIndex(0) +10>Emitted(3, 36) Source(9, 43) + SourceIndex(0) +11>Emitted(3, 38) Source(9, 45) + SourceIndex(0) +12>Emitted(3, 46) Source(9, 53) + SourceIndex(0) +13>Emitted(3, 48) Source(9, 55) + SourceIndex(0) +14>Emitted(3, 49) Source(9, 56) + SourceIndex(0) --- >>>var robotB = { name: "trimmer", skill: "trimming" }; 1-> @@ -112,20 +113,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 12> "trimming" 13> } 14> ; -1->Emitted(3, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(10, 5) + SourceIndex(0) -3 >Emitted(3, 11) Source(10, 11) + SourceIndex(0) -4 >Emitted(3, 14) Source(10, 21) + SourceIndex(0) -5 >Emitted(3, 16) Source(10, 23) + SourceIndex(0) -6 >Emitted(3, 20) Source(10, 27) + SourceIndex(0) -7 >Emitted(3, 22) Source(10, 29) + SourceIndex(0) -8 >Emitted(3, 31) Source(10, 38) + SourceIndex(0) -9 >Emitted(3, 33) Source(10, 40) + SourceIndex(0) -10>Emitted(3, 38) Source(10, 45) + SourceIndex(0) -11>Emitted(3, 40) Source(10, 47) + SourceIndex(0) -12>Emitted(3, 50) Source(10, 57) + SourceIndex(0) -13>Emitted(3, 52) Source(10, 59) + SourceIndex(0) -14>Emitted(3, 53) Source(10, 60) + SourceIndex(0) +1->Emitted(4, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(10, 5) + SourceIndex(0) +3 >Emitted(4, 11) Source(10, 11) + SourceIndex(0) +4 >Emitted(4, 14) Source(10, 21) + SourceIndex(0) +5 >Emitted(4, 16) Source(10, 23) + SourceIndex(0) +6 >Emitted(4, 20) Source(10, 27) + SourceIndex(0) +7 >Emitted(4, 22) Source(10, 29) + SourceIndex(0) +8 >Emitted(4, 31) Source(10, 38) + SourceIndex(0) +9 >Emitted(4, 33) Source(10, 40) + SourceIndex(0) +10>Emitted(4, 38) Source(10, 45) + SourceIndex(0) +11>Emitted(4, 40) Source(10, 47) + SourceIndex(0) +12>Emitted(4, 50) Source(10, 57) + SourceIndex(0) +13>Emitted(4, 52) Source(10, 59) + SourceIndex(0) +14>Emitted(4, 53) Source(10, 60) + SourceIndex(0) --- >>>var nameA = robotA.name; 1 > @@ -144,13 +145,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 5 > robotA 6 > 7 > } = robotA; -1 >Emitted(4, 1) Source(11, 7) + SourceIndex(0) -2 >Emitted(4, 5) Source(11, 13) + SourceIndex(0) -3 >Emitted(4, 10) Source(11, 18) + SourceIndex(0) -4 >Emitted(4, 13) Source(11, 23) + SourceIndex(0) -5 >Emitted(4, 19) Source(11, 29) + SourceIndex(0) -6 >Emitted(4, 24) Source(11, 18) + SourceIndex(0) -7 >Emitted(4, 25) Source(11, 30) + SourceIndex(0) +1 >Emitted(5, 1) Source(11, 7) + SourceIndex(0) +2 >Emitted(5, 5) Source(11, 13) + SourceIndex(0) +3 >Emitted(5, 10) Source(11, 18) + SourceIndex(0) +4 >Emitted(5, 13) Source(11, 23) + SourceIndex(0) +5 >Emitted(5, 19) Source(11, 29) + SourceIndex(0) +6 >Emitted(5, 24) Source(11, 18) + SourceIndex(0) +7 >Emitted(5, 25) Source(11, 30) + SourceIndex(0) --- >>>var nameB = robotB.name, skillB = robotB.skill; 1-> @@ -179,18 +180,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 10> robotB 11> 12> } = robotB; -1->Emitted(5, 1) Source(12, 7) + SourceIndex(0) -2 >Emitted(5, 5) Source(12, 13) + SourceIndex(0) -3 >Emitted(5, 10) Source(12, 18) + SourceIndex(0) -4 >Emitted(5, 13) Source(12, 38) + SourceIndex(0) -5 >Emitted(5, 19) Source(12, 44) + SourceIndex(0) -6 >Emitted(5, 24) Source(12, 18) + SourceIndex(0) -7 >Emitted(5, 26) Source(12, 27) + SourceIndex(0) -8 >Emitted(5, 32) Source(12, 33) + SourceIndex(0) -9 >Emitted(5, 35) Source(12, 38) + SourceIndex(0) -10>Emitted(5, 41) Source(12, 44) + SourceIndex(0) -11>Emitted(5, 47) Source(12, 33) + SourceIndex(0) -12>Emitted(5, 48) Source(12, 45) + SourceIndex(0) +1->Emitted(6, 1) Source(12, 7) + SourceIndex(0) +2 >Emitted(6, 5) Source(12, 13) + SourceIndex(0) +3 >Emitted(6, 10) Source(12, 18) + SourceIndex(0) +4 >Emitted(6, 13) Source(12, 38) + SourceIndex(0) +5 >Emitted(6, 19) Source(12, 44) + SourceIndex(0) +6 >Emitted(6, 24) Source(12, 18) + SourceIndex(0) +7 >Emitted(6, 26) Source(12, 27) + SourceIndex(0) +8 >Emitted(6, 32) Source(12, 33) + SourceIndex(0) +9 >Emitted(6, 35) Source(12, 38) + SourceIndex(0) +10>Emitted(6, 41) Source(12, 44) + SourceIndex(0) +11>Emitted(6, 47) Source(12, 33) + SourceIndex(0) +12>Emitted(6, 48) Source(12, 45) + SourceIndex(0) --- >>>var _a = { name: "Edger", skill: "cutting edges" }, nameC = _a.name, skillC = _a.skill; 1-> @@ -232,25 +233,25 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 17> skillC 18> } = { name: "Edger", skill: "cutting edges" } 19> ; -1->Emitted(6, 1) Source(13, 5) + SourceIndex(0) -2 >Emitted(6, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(6, 10) Source(13, 38) + SourceIndex(0) -4 >Emitted(6, 12) Source(13, 40) + SourceIndex(0) -5 >Emitted(6, 16) Source(13, 44) + SourceIndex(0) -6 >Emitted(6, 18) Source(13, 46) + SourceIndex(0) -7 >Emitted(6, 25) Source(13, 53) + SourceIndex(0) -8 >Emitted(6, 27) Source(13, 55) + SourceIndex(0) -9 >Emitted(6, 32) Source(13, 60) + SourceIndex(0) -10>Emitted(6, 34) Source(13, 62) + SourceIndex(0) -11>Emitted(6, 49) Source(13, 77) + SourceIndex(0) -12>Emitted(6, 51) Source(13, 79) + SourceIndex(0) -13>Emitted(6, 53) Source(13, 13) + SourceIndex(0) -14>Emitted(6, 58) Source(13, 18) + SourceIndex(0) -15>Emitted(6, 68) Source(13, 18) + SourceIndex(0) -16>Emitted(6, 70) Source(13, 27) + SourceIndex(0) -17>Emitted(6, 76) Source(13, 33) + SourceIndex(0) -18>Emitted(6, 87) Source(13, 79) + SourceIndex(0) -19>Emitted(6, 88) Source(13, 80) + SourceIndex(0) +1->Emitted(7, 1) Source(13, 5) + SourceIndex(0) +2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(7, 10) Source(13, 38) + SourceIndex(0) +4 >Emitted(7, 12) Source(13, 40) + SourceIndex(0) +5 >Emitted(7, 16) Source(13, 44) + SourceIndex(0) +6 >Emitted(7, 18) Source(13, 46) + SourceIndex(0) +7 >Emitted(7, 25) Source(13, 53) + SourceIndex(0) +8 >Emitted(7, 27) Source(13, 55) + SourceIndex(0) +9 >Emitted(7, 32) Source(13, 60) + SourceIndex(0) +10>Emitted(7, 34) Source(13, 62) + SourceIndex(0) +11>Emitted(7, 49) Source(13, 77) + SourceIndex(0) +12>Emitted(7, 51) Source(13, 79) + SourceIndex(0) +13>Emitted(7, 53) Source(13, 13) + SourceIndex(0) +14>Emitted(7, 58) Source(13, 18) + SourceIndex(0) +15>Emitted(7, 68) Source(13, 18) + SourceIndex(0) +16>Emitted(7, 70) Source(13, 27) + SourceIndex(0) +17>Emitted(7, 76) Source(13, 33) + SourceIndex(0) +18>Emitted(7, 87) Source(13, 79) + SourceIndex(0) +19>Emitted(7, 88) Source(13, 80) + SourceIndex(0) --- >>>if (nameA == nameB) { 1 > @@ -269,13 +270,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 5 > nameB 6 > ) 7 > { -1 >Emitted(7, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(14, 5) + SourceIndex(0) -3 >Emitted(7, 10) Source(14, 10) + SourceIndex(0) -4 >Emitted(7, 14) Source(14, 14) + SourceIndex(0) -5 >Emitted(7, 19) Source(14, 19) + SourceIndex(0) -6 >Emitted(7, 21) Source(14, 21) + SourceIndex(0) -7 >Emitted(7, 22) Source(14, 22) + SourceIndex(0) +1 >Emitted(8, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(14, 5) + SourceIndex(0) +3 >Emitted(8, 10) Source(14, 10) + SourceIndex(0) +4 >Emitted(8, 14) Source(14, 14) + SourceIndex(0) +5 >Emitted(8, 19) Source(14, 19) + SourceIndex(0) +6 >Emitted(8, 21) Source(14, 21) + SourceIndex(0) +7 >Emitted(8, 22) Source(14, 22) + SourceIndex(0) --- >>> console.log(skillB); 1->^^^^ @@ -295,14 +296,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 6 > skillB 7 > ) 8 > ; -1->Emitted(8, 5) Source(15, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(15, 12) + SourceIndex(0) -3 >Emitted(8, 13) Source(15, 13) + SourceIndex(0) -4 >Emitted(8, 16) Source(15, 16) + SourceIndex(0) -5 >Emitted(8, 17) Source(15, 17) + SourceIndex(0) -6 >Emitted(8, 23) Source(15, 23) + SourceIndex(0) -7 >Emitted(8, 24) Source(15, 24) + SourceIndex(0) -8 >Emitted(8, 25) Source(15, 25) + SourceIndex(0) +1->Emitted(9, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(15, 12) + SourceIndex(0) +3 >Emitted(9, 13) Source(15, 13) + SourceIndex(0) +4 >Emitted(9, 16) Source(15, 16) + SourceIndex(0) +5 >Emitted(9, 17) Source(15, 17) + SourceIndex(0) +6 >Emitted(9, 23) Source(15, 23) + SourceIndex(0) +7 >Emitted(9, 24) Source(15, 24) + SourceIndex(0) +8 >Emitted(9, 25) Source(15, 25) + SourceIndex(0) --- >>>} 1 > @@ -311,8 +312,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 1 > > 2 >} -1 >Emitted(9, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(16, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(16, 2) + SourceIndex(0) --- >>>else { 1->^^^^^ @@ -321,8 +322,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 1-> >else 2 > { -1->Emitted(10, 6) Source(17, 6) + SourceIndex(0) -2 >Emitted(10, 7) Source(17, 7) + SourceIndex(0) +1->Emitted(11, 6) Source(17, 6) + SourceIndex(0) +2 >Emitted(11, 7) Source(17, 7) + SourceIndex(0) --- >>> console.log(nameC); 1->^^^^ @@ -342,14 +343,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 6 > nameC 7 > ) 8 > ; -1->Emitted(11, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(11, 12) Source(18, 12) + SourceIndex(0) -3 >Emitted(11, 13) Source(18, 13) + SourceIndex(0) -4 >Emitted(11, 16) Source(18, 16) + SourceIndex(0) -5 >Emitted(11, 17) Source(18, 17) + SourceIndex(0) -6 >Emitted(11, 22) Source(18, 22) + SourceIndex(0) -7 >Emitted(11, 23) Source(18, 23) + SourceIndex(0) -8 >Emitted(11, 24) Source(18, 24) + SourceIndex(0) +1->Emitted(12, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(12, 12) Source(18, 12) + SourceIndex(0) +3 >Emitted(12, 13) Source(18, 13) + SourceIndex(0) +4 >Emitted(12, 16) Source(18, 16) + SourceIndex(0) +5 >Emitted(12, 17) Source(18, 17) + SourceIndex(0) +6 >Emitted(12, 22) Source(18, 22) + SourceIndex(0) +7 >Emitted(12, 23) Source(18, 23) + SourceIndex(0) +8 >Emitted(12, 24) Source(18, 24) + SourceIndex(0) --- >>>} 1 > @@ -358,7 +359,7 @@ sourceFile:sourceMapValidationDestructuringVariableStatement.ts 1 > > 2 >} -1 >Emitted(12, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(12, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(13, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(13, 2) Source(19, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatement.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.js index 63b234c21246e..37b39273416d5 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.js @@ -30,6 +30,7 @@ else { } //// [sourceMapValidationDestructuringVariableStatement1.js] +"use strict"; var hello = "hello"; var robotA = { name: "mower", skill: "mowing" }; var robotB = { name: "trimmer", skill: "trimming" }; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.js.map index 15040445932e5..fb586b0723476 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatement1.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatement1.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatement1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xlLmxvZyhza2lsbEIpOwp9CmVsc2UgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9 +{"version":3,"file":"sourceMapValidationDestructuringVariableStatement1.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatement1.ts"],"names":[],"mappings":";AAOA,IAAI,KAAK,GAAG,OAAO,CAAC;AACpB,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACvD,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;AACvD,IAAA,CAAS,EAAU,KAAK,GAAK,MAAM,KAAX,CAAY;AACpC,IAAA,CAAS,EAAU,KAAK,GAAoB,MAAM,KAA1B,EAAS,MAAM,GAAK,MAAM,MAAX,CAAY;AACnD,IAAA,CAAS,EAAE,KAAiC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,EAAlE,KAAK,UAAA,EAAS,MAAM,WAA8C,CAAC;AAEpF,IAAM,KAAK,GAAK,MAAM,KAAX,EAAa,CAAC,GAAG,KAAK,CAAC;AAClC,IAAM,KAAK,GAAoB,MAAM,KAA1B,EAAS,MAAM,GAAK,MAAM,MAAX,EAAa,CAAC,GAAG,QAAQ,CAAC;AACtD,IAAA,KAAiC,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,EAAlE,KAAK,UAAA,EAAS,MAAM,WAAA,EAAgD,CAAC,GAAG,KAAK,CAAC;AAE1F,IAAI,CAAC,GAAG,KAAK,EAAU,KAAK,GAAK,MAAM,KAAX,EAAa,EAAE,GAAE,OAAO,CAAC;AACrD,IAAI,CAAC,GAAG,KAAK,EAAU,KAAK,GAAoB,MAAM,KAA1B,EAAS,MAAM,GAAK,MAAM,MAAX,EAAa,EAAE,GAAG,OAAO,CAAC;AACrE,IAAI,CAAC,GAAG,KAAK,EAAE,KAAiC,EAAE,IAAI,EAAE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bWU6IG5hbWVDLCBza2lsbDogc2tpbGxDIH0gPSB7IG5hbWU6ICJFZGdlciIsIHNraWxsOiAiY3V0dGluZyBlZGdlcyIgfSwgYzEgPSBoZWxsbzsKaWYgKG5hbWVBID09IG5hbWVCKSB7CiAgICBjb25zb2xlLmxvZyhza2lsbEIpOwp9CmVsc2UgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.sourcemap.txt index af67f0a67a9e2..b9b7a67ed9aea 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatement1.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatement1.ts emittedFile:sourceMapValidationDestructuringVariableStatement1.js sourceFile:sourceMapValidationDestructuringVariableStatement1.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var hello = "hello"; 1 > 2 >^^^^ @@ -29,12 +30,12 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 4 > = 5 > "hello" 6 > ; -1 >Emitted(1, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(1, 10) Source(8, 10) + SourceIndex(0) -4 >Emitted(1, 13) Source(8, 13) + SourceIndex(0) -5 >Emitted(1, 20) Source(8, 20) + SourceIndex(0) -6 >Emitted(1, 21) Source(8, 21) + SourceIndex(0) +1 >Emitted(2, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(2, 10) Source(8, 10) + SourceIndex(0) +4 >Emitted(2, 13) Source(8, 13) + SourceIndex(0) +5 >Emitted(2, 20) Source(8, 20) + SourceIndex(0) +6 >Emitted(2, 21) Source(8, 21) + SourceIndex(0) --- >>>var robotA = { name: "mower", skill: "mowing" }; 1-> @@ -67,20 +68,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 12> "mowing" 13> } 14> ; -1->Emitted(2, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(9, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(9, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(9, 21) + SourceIndex(0) -5 >Emitted(2, 16) Source(9, 23) + SourceIndex(0) -6 >Emitted(2, 20) Source(9, 27) + SourceIndex(0) -7 >Emitted(2, 22) Source(9, 29) + SourceIndex(0) -8 >Emitted(2, 29) Source(9, 36) + SourceIndex(0) -9 >Emitted(2, 31) Source(9, 38) + SourceIndex(0) -10>Emitted(2, 36) Source(9, 43) + SourceIndex(0) -11>Emitted(2, 38) Source(9, 45) + SourceIndex(0) -12>Emitted(2, 46) Source(9, 53) + SourceIndex(0) -13>Emitted(2, 48) Source(9, 55) + SourceIndex(0) -14>Emitted(2, 49) Source(9, 56) + SourceIndex(0) +1->Emitted(3, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(9, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(9, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(9, 21) + SourceIndex(0) +5 >Emitted(3, 16) Source(9, 23) + SourceIndex(0) +6 >Emitted(3, 20) Source(9, 27) + SourceIndex(0) +7 >Emitted(3, 22) Source(9, 29) + SourceIndex(0) +8 >Emitted(3, 29) Source(9, 36) + SourceIndex(0) +9 >Emitted(3, 31) Source(9, 38) + SourceIndex(0) +10>Emitted(3, 36) Source(9, 43) + SourceIndex(0) +11>Emitted(3, 38) Source(9, 45) + SourceIndex(0) +12>Emitted(3, 46) Source(9, 53) + SourceIndex(0) +13>Emitted(3, 48) Source(9, 55) + SourceIndex(0) +14>Emitted(3, 49) Source(9, 56) + SourceIndex(0) --- >>>var robotB = { name: "trimmer", skill: "trimming" }; 1-> @@ -112,20 +113,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 12> "trimming" 13> } 14> ; -1->Emitted(3, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(10, 5) + SourceIndex(0) -3 >Emitted(3, 11) Source(10, 11) + SourceIndex(0) -4 >Emitted(3, 14) Source(10, 21) + SourceIndex(0) -5 >Emitted(3, 16) Source(10, 23) + SourceIndex(0) -6 >Emitted(3, 20) Source(10, 27) + SourceIndex(0) -7 >Emitted(3, 22) Source(10, 29) + SourceIndex(0) -8 >Emitted(3, 31) Source(10, 38) + SourceIndex(0) -9 >Emitted(3, 33) Source(10, 40) + SourceIndex(0) -10>Emitted(3, 38) Source(10, 45) + SourceIndex(0) -11>Emitted(3, 40) Source(10, 47) + SourceIndex(0) -12>Emitted(3, 50) Source(10, 57) + SourceIndex(0) -13>Emitted(3, 52) Source(10, 59) + SourceIndex(0) -14>Emitted(3, 53) Source(10, 60) + SourceIndex(0) +1->Emitted(4, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(10, 5) + SourceIndex(0) +3 >Emitted(4, 11) Source(10, 11) + SourceIndex(0) +4 >Emitted(4, 14) Source(10, 21) + SourceIndex(0) +5 >Emitted(4, 16) Source(10, 23) + SourceIndex(0) +6 >Emitted(4, 20) Source(10, 27) + SourceIndex(0) +7 >Emitted(4, 22) Source(10, 29) + SourceIndex(0) +8 >Emitted(4, 31) Source(10, 38) + SourceIndex(0) +9 >Emitted(4, 33) Source(10, 40) + SourceIndex(0) +10>Emitted(4, 38) Source(10, 45) + SourceIndex(0) +11>Emitted(4, 40) Source(10, 47) + SourceIndex(0) +12>Emitted(4, 50) Source(10, 57) + SourceIndex(0) +13>Emitted(4, 52) Source(10, 59) + SourceIndex(0) +14>Emitted(4, 53) Source(10, 60) + SourceIndex(0) --- >>>var a, nameA = robotA.name; 1 > @@ -148,15 +149,15 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 7 > robotA 8 > 9 > } = robotA; -1 >Emitted(4, 1) Source(11, 5) + SourceIndex(0) -2 >Emitted(4, 5) Source(11, 5) + SourceIndex(0) -3 >Emitted(4, 6) Source(11, 14) + SourceIndex(0) -4 >Emitted(4, 8) Source(11, 24) + SourceIndex(0) -5 >Emitted(4, 13) Source(11, 29) + SourceIndex(0) -6 >Emitted(4, 16) Source(11, 34) + SourceIndex(0) -7 >Emitted(4, 22) Source(11, 40) + SourceIndex(0) -8 >Emitted(4, 27) Source(11, 29) + SourceIndex(0) -9 >Emitted(4, 28) Source(11, 41) + SourceIndex(0) +1 >Emitted(5, 1) Source(11, 5) + SourceIndex(0) +2 >Emitted(5, 5) Source(11, 5) + SourceIndex(0) +3 >Emitted(5, 6) Source(11, 14) + SourceIndex(0) +4 >Emitted(5, 8) Source(11, 24) + SourceIndex(0) +5 >Emitted(5, 13) Source(11, 29) + SourceIndex(0) +6 >Emitted(5, 16) Source(11, 34) + SourceIndex(0) +7 >Emitted(5, 22) Source(11, 40) + SourceIndex(0) +8 >Emitted(5, 27) Source(11, 29) + SourceIndex(0) +9 >Emitted(5, 28) Source(11, 41) + SourceIndex(0) --- >>>var b, nameB = robotB.name, skillB = robotB.skill; 1-> @@ -189,20 +190,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 12> robotB 13> 14> } = robotB; -1->Emitted(5, 1) Source(12, 5) + SourceIndex(0) -2 >Emitted(5, 5) Source(12, 5) + SourceIndex(0) -3 >Emitted(5, 6) Source(12, 14) + SourceIndex(0) -4 >Emitted(5, 8) Source(12, 24) + SourceIndex(0) -5 >Emitted(5, 13) Source(12, 29) + SourceIndex(0) -6 >Emitted(5, 16) Source(12, 49) + SourceIndex(0) -7 >Emitted(5, 22) Source(12, 55) + SourceIndex(0) -8 >Emitted(5, 27) Source(12, 29) + SourceIndex(0) -9 >Emitted(5, 29) Source(12, 38) + SourceIndex(0) -10>Emitted(5, 35) Source(12, 44) + SourceIndex(0) -11>Emitted(5, 38) Source(12, 49) + SourceIndex(0) -12>Emitted(5, 44) Source(12, 55) + SourceIndex(0) -13>Emitted(5, 50) Source(12, 44) + SourceIndex(0) -14>Emitted(5, 51) Source(12, 56) + SourceIndex(0) +1->Emitted(6, 1) Source(12, 5) + SourceIndex(0) +2 >Emitted(6, 5) Source(12, 5) + SourceIndex(0) +3 >Emitted(6, 6) Source(12, 14) + SourceIndex(0) +4 >Emitted(6, 8) Source(12, 24) + SourceIndex(0) +5 >Emitted(6, 13) Source(12, 29) + SourceIndex(0) +6 >Emitted(6, 16) Source(12, 49) + SourceIndex(0) +7 >Emitted(6, 22) Source(12, 55) + SourceIndex(0) +8 >Emitted(6, 27) Source(12, 29) + SourceIndex(0) +9 >Emitted(6, 29) Source(12, 38) + SourceIndex(0) +10>Emitted(6, 35) Source(12, 44) + SourceIndex(0) +11>Emitted(6, 38) Source(12, 49) + SourceIndex(0) +12>Emitted(6, 44) Source(12, 55) + SourceIndex(0) +13>Emitted(6, 50) Source(12, 44) + SourceIndex(0) +14>Emitted(6, 51) Source(12, 56) + SourceIndex(0) --- >>>var c, _a = { name: "Edger", skill: "cutting edges" }, nameC = _a.name, skillC = _a.skill; 1-> @@ -248,27 +249,27 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 19> skillC 20> } = { name: "Edger", skill: "cutting edges" } 21> ; -1->Emitted(6, 1) Source(13, 5) + SourceIndex(0) -2 >Emitted(6, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(6, 6) Source(13, 14) + SourceIndex(0) -4 >Emitted(6, 8) Source(13, 16) + SourceIndex(0) -5 >Emitted(6, 13) Source(13, 49) + SourceIndex(0) -6 >Emitted(6, 15) Source(13, 51) + SourceIndex(0) -7 >Emitted(6, 19) Source(13, 55) + SourceIndex(0) -8 >Emitted(6, 21) Source(13, 57) + SourceIndex(0) -9 >Emitted(6, 28) Source(13, 64) + SourceIndex(0) -10>Emitted(6, 30) Source(13, 66) + SourceIndex(0) -11>Emitted(6, 35) Source(13, 71) + SourceIndex(0) -12>Emitted(6, 37) Source(13, 73) + SourceIndex(0) -13>Emitted(6, 52) Source(13, 88) + SourceIndex(0) -14>Emitted(6, 54) Source(13, 90) + SourceIndex(0) -15>Emitted(6, 56) Source(13, 24) + SourceIndex(0) -16>Emitted(6, 61) Source(13, 29) + SourceIndex(0) -17>Emitted(6, 71) Source(13, 29) + SourceIndex(0) -18>Emitted(6, 73) Source(13, 38) + SourceIndex(0) -19>Emitted(6, 79) Source(13, 44) + SourceIndex(0) -20>Emitted(6, 90) Source(13, 90) + SourceIndex(0) -21>Emitted(6, 91) Source(13, 91) + SourceIndex(0) +1->Emitted(7, 1) Source(13, 5) + SourceIndex(0) +2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(7, 6) Source(13, 14) + SourceIndex(0) +4 >Emitted(7, 8) Source(13, 16) + SourceIndex(0) +5 >Emitted(7, 13) Source(13, 49) + SourceIndex(0) +6 >Emitted(7, 15) Source(13, 51) + SourceIndex(0) +7 >Emitted(7, 19) Source(13, 55) + SourceIndex(0) +8 >Emitted(7, 21) Source(13, 57) + SourceIndex(0) +9 >Emitted(7, 28) Source(13, 64) + SourceIndex(0) +10>Emitted(7, 30) Source(13, 66) + SourceIndex(0) +11>Emitted(7, 35) Source(13, 71) + SourceIndex(0) +12>Emitted(7, 37) Source(13, 73) + SourceIndex(0) +13>Emitted(7, 52) Source(13, 88) + SourceIndex(0) +14>Emitted(7, 54) Source(13, 90) + SourceIndex(0) +15>Emitted(7, 56) Source(13, 24) + SourceIndex(0) +16>Emitted(7, 61) Source(13, 29) + SourceIndex(0) +17>Emitted(7, 71) Source(13, 29) + SourceIndex(0) +18>Emitted(7, 73) Source(13, 38) + SourceIndex(0) +19>Emitted(7, 79) Source(13, 44) + SourceIndex(0) +20>Emitted(7, 90) Source(13, 90) + SourceIndex(0) +21>Emitted(7, 91) Source(13, 91) + SourceIndex(0) --- >>>var nameA = robotA.name, a = hello; 1 > @@ -296,17 +297,17 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 9 > = 10> hello 11> ; -1 >Emitted(7, 1) Source(15, 7) + SourceIndex(0) -2 >Emitted(7, 5) Source(15, 13) + SourceIndex(0) -3 >Emitted(7, 10) Source(15, 18) + SourceIndex(0) -4 >Emitted(7, 13) Source(15, 23) + SourceIndex(0) -5 >Emitted(7, 19) Source(15, 29) + SourceIndex(0) -6 >Emitted(7, 24) Source(15, 18) + SourceIndex(0) -7 >Emitted(7, 26) Source(15, 31) + SourceIndex(0) -8 >Emitted(7, 27) Source(15, 32) + SourceIndex(0) -9 >Emitted(7, 30) Source(15, 35) + SourceIndex(0) -10>Emitted(7, 35) Source(15, 40) + SourceIndex(0) -11>Emitted(7, 36) Source(15, 41) + SourceIndex(0) +1 >Emitted(8, 1) Source(15, 7) + SourceIndex(0) +2 >Emitted(8, 5) Source(15, 13) + SourceIndex(0) +3 >Emitted(8, 10) Source(15, 18) + SourceIndex(0) +4 >Emitted(8, 13) Source(15, 23) + SourceIndex(0) +5 >Emitted(8, 19) Source(15, 29) + SourceIndex(0) +6 >Emitted(8, 24) Source(15, 18) + SourceIndex(0) +7 >Emitted(8, 26) Source(15, 31) + SourceIndex(0) +8 >Emitted(8, 27) Source(15, 32) + SourceIndex(0) +9 >Emitted(8, 30) Source(15, 35) + SourceIndex(0) +10>Emitted(8, 35) Source(15, 40) + SourceIndex(0) +11>Emitted(8, 36) Source(15, 41) + SourceIndex(0) --- >>>var nameB = robotB.name, skillB = robotB.skill, b = " hello"; 1-> @@ -343,22 +344,22 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 14> = 15> " hello" 16> ; -1->Emitted(8, 1) Source(16, 7) + SourceIndex(0) -2 >Emitted(8, 5) Source(16, 13) + SourceIndex(0) -3 >Emitted(8, 10) Source(16, 18) + SourceIndex(0) -4 >Emitted(8, 13) Source(16, 38) + SourceIndex(0) -5 >Emitted(8, 19) Source(16, 44) + SourceIndex(0) -6 >Emitted(8, 24) Source(16, 18) + SourceIndex(0) -7 >Emitted(8, 26) Source(16, 27) + SourceIndex(0) -8 >Emitted(8, 32) Source(16, 33) + SourceIndex(0) -9 >Emitted(8, 35) Source(16, 38) + SourceIndex(0) -10>Emitted(8, 41) Source(16, 44) + SourceIndex(0) -11>Emitted(8, 47) Source(16, 33) + SourceIndex(0) -12>Emitted(8, 49) Source(16, 46) + SourceIndex(0) -13>Emitted(8, 50) Source(16, 47) + SourceIndex(0) -14>Emitted(8, 53) Source(16, 50) + SourceIndex(0) -15>Emitted(8, 61) Source(16, 58) + SourceIndex(0) -16>Emitted(8, 62) Source(16, 59) + SourceIndex(0) +1->Emitted(9, 1) Source(16, 7) + SourceIndex(0) +2 >Emitted(9, 5) Source(16, 13) + SourceIndex(0) +3 >Emitted(9, 10) Source(16, 18) + SourceIndex(0) +4 >Emitted(9, 13) Source(16, 38) + SourceIndex(0) +5 >Emitted(9, 19) Source(16, 44) + SourceIndex(0) +6 >Emitted(9, 24) Source(16, 18) + SourceIndex(0) +7 >Emitted(9, 26) Source(16, 27) + SourceIndex(0) +8 >Emitted(9, 32) Source(16, 33) + SourceIndex(0) +9 >Emitted(9, 35) Source(16, 38) + SourceIndex(0) +10>Emitted(9, 41) Source(16, 44) + SourceIndex(0) +11>Emitted(9, 47) Source(16, 33) + SourceIndex(0) +12>Emitted(9, 49) Source(16, 46) + SourceIndex(0) +13>Emitted(9, 50) Source(16, 47) + SourceIndex(0) +14>Emitted(9, 53) Source(16, 50) + SourceIndex(0) +15>Emitted(9, 61) Source(16, 58) + SourceIndex(0) +16>Emitted(9, 62) Source(16, 59) + SourceIndex(0) --- >>>var _b = { name: "Edger", skill: "cutting edges" }, nameC = _b.name, skillC = _b.skill, c = hello; 1-> @@ -408,29 +409,29 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 21> = 22> hello 23> ; -1->Emitted(9, 1) Source(17, 5) + SourceIndex(0) -2 >Emitted(9, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(9, 10) Source(17, 38) + SourceIndex(0) -4 >Emitted(9, 12) Source(17, 40) + SourceIndex(0) -5 >Emitted(9, 16) Source(17, 44) + SourceIndex(0) -6 >Emitted(9, 18) Source(17, 46) + SourceIndex(0) -7 >Emitted(9, 25) Source(17, 53) + SourceIndex(0) -8 >Emitted(9, 27) Source(17, 55) + SourceIndex(0) -9 >Emitted(9, 32) Source(17, 60) + SourceIndex(0) -10>Emitted(9, 34) Source(17, 62) + SourceIndex(0) -11>Emitted(9, 49) Source(17, 77) + SourceIndex(0) -12>Emitted(9, 51) Source(17, 79) + SourceIndex(0) -13>Emitted(9, 53) Source(17, 13) + SourceIndex(0) -14>Emitted(9, 58) Source(17, 18) + SourceIndex(0) -15>Emitted(9, 68) Source(17, 18) + SourceIndex(0) -16>Emitted(9, 70) Source(17, 27) + SourceIndex(0) -17>Emitted(9, 76) Source(17, 33) + SourceIndex(0) -18>Emitted(9, 87) Source(17, 33) + SourceIndex(0) -19>Emitted(9, 89) Source(17, 81) + SourceIndex(0) -20>Emitted(9, 90) Source(17, 82) + SourceIndex(0) -21>Emitted(9, 93) Source(17, 85) + SourceIndex(0) -22>Emitted(9, 98) Source(17, 90) + SourceIndex(0) -23>Emitted(9, 99) Source(17, 91) + SourceIndex(0) +1->Emitted(10, 1) Source(17, 5) + SourceIndex(0) +2 >Emitted(10, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(10, 10) Source(17, 38) + SourceIndex(0) +4 >Emitted(10, 12) Source(17, 40) + SourceIndex(0) +5 >Emitted(10, 16) Source(17, 44) + SourceIndex(0) +6 >Emitted(10, 18) Source(17, 46) + SourceIndex(0) +7 >Emitted(10, 25) Source(17, 53) + SourceIndex(0) +8 >Emitted(10, 27) Source(17, 55) + SourceIndex(0) +9 >Emitted(10, 32) Source(17, 60) + SourceIndex(0) +10>Emitted(10, 34) Source(17, 62) + SourceIndex(0) +11>Emitted(10, 49) Source(17, 77) + SourceIndex(0) +12>Emitted(10, 51) Source(17, 79) + SourceIndex(0) +13>Emitted(10, 53) Source(17, 13) + SourceIndex(0) +14>Emitted(10, 58) Source(17, 18) + SourceIndex(0) +15>Emitted(10, 68) Source(17, 18) + SourceIndex(0) +16>Emitted(10, 70) Source(17, 27) + SourceIndex(0) +17>Emitted(10, 76) Source(17, 33) + SourceIndex(0) +18>Emitted(10, 87) Source(17, 33) + SourceIndex(0) +19>Emitted(10, 89) Source(17, 81) + SourceIndex(0) +20>Emitted(10, 90) Source(17, 82) + SourceIndex(0) +21>Emitted(10, 93) Source(17, 85) + SourceIndex(0) +22>Emitted(10, 98) Source(17, 90) + SourceIndex(0) +23>Emitted(10, 99) Source(17, 91) + SourceIndex(0) --- >>>var a = hello, nameA = robotA.name, a1 = "hello"; 1 > @@ -466,21 +467,21 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 13> = 14> "hello" 15> ; -1 >Emitted(10, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(10, 5) Source(19, 5) + SourceIndex(0) -3 >Emitted(10, 6) Source(19, 6) + SourceIndex(0) -4 >Emitted(10, 9) Source(19, 9) + SourceIndex(0) -5 >Emitted(10, 14) Source(19, 14) + SourceIndex(0) -6 >Emitted(10, 16) Source(19, 24) + SourceIndex(0) -7 >Emitted(10, 21) Source(19, 29) + SourceIndex(0) -8 >Emitted(10, 24) Source(19, 34) + SourceIndex(0) -9 >Emitted(10, 30) Source(19, 40) + SourceIndex(0) -10>Emitted(10, 35) Source(19, 29) + SourceIndex(0) -11>Emitted(10, 37) Source(19, 42) + SourceIndex(0) -12>Emitted(10, 39) Source(19, 44) + SourceIndex(0) -13>Emitted(10, 42) Source(19, 46) + SourceIndex(0) -14>Emitted(10, 49) Source(19, 53) + SourceIndex(0) -15>Emitted(10, 50) Source(19, 54) + SourceIndex(0) +1 >Emitted(11, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(11, 5) Source(19, 5) + SourceIndex(0) +3 >Emitted(11, 6) Source(19, 6) + SourceIndex(0) +4 >Emitted(11, 9) Source(19, 9) + SourceIndex(0) +5 >Emitted(11, 14) Source(19, 14) + SourceIndex(0) +6 >Emitted(11, 16) Source(19, 24) + SourceIndex(0) +7 >Emitted(11, 21) Source(19, 29) + SourceIndex(0) +8 >Emitted(11, 24) Source(19, 34) + SourceIndex(0) +9 >Emitted(11, 30) Source(19, 40) + SourceIndex(0) +10>Emitted(11, 35) Source(19, 29) + SourceIndex(0) +11>Emitted(11, 37) Source(19, 42) + SourceIndex(0) +12>Emitted(11, 39) Source(19, 44) + SourceIndex(0) +13>Emitted(11, 42) Source(19, 46) + SourceIndex(0) +14>Emitted(11, 49) Source(19, 53) + SourceIndex(0) +15>Emitted(11, 50) Source(19, 54) + SourceIndex(0) --- >>>var b = hello, nameB = robotB.name, skillB = robotB.skill, b1 = "hello"; 1-> @@ -525,26 +526,26 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 18> = 19> "hello" 20> ; -1->Emitted(11, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(11, 5) Source(20, 5) + SourceIndex(0) -3 >Emitted(11, 6) Source(20, 6) + SourceIndex(0) -4 >Emitted(11, 9) Source(20, 9) + SourceIndex(0) -5 >Emitted(11, 14) Source(20, 14) + SourceIndex(0) -6 >Emitted(11, 16) Source(20, 24) + SourceIndex(0) -7 >Emitted(11, 21) Source(20, 29) + SourceIndex(0) -8 >Emitted(11, 24) Source(20, 49) + SourceIndex(0) -9 >Emitted(11, 30) Source(20, 55) + SourceIndex(0) -10>Emitted(11, 35) Source(20, 29) + SourceIndex(0) -11>Emitted(11, 37) Source(20, 38) + SourceIndex(0) -12>Emitted(11, 43) Source(20, 44) + SourceIndex(0) -13>Emitted(11, 46) Source(20, 49) + SourceIndex(0) -14>Emitted(11, 52) Source(20, 55) + SourceIndex(0) -15>Emitted(11, 58) Source(20, 44) + SourceIndex(0) -16>Emitted(11, 60) Source(20, 57) + SourceIndex(0) -17>Emitted(11, 62) Source(20, 59) + SourceIndex(0) -18>Emitted(11, 65) Source(20, 62) + SourceIndex(0) -19>Emitted(11, 72) Source(20, 69) + SourceIndex(0) -20>Emitted(11, 73) Source(20, 70) + SourceIndex(0) +1->Emitted(12, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(12, 5) Source(20, 5) + SourceIndex(0) +3 >Emitted(12, 6) Source(20, 6) + SourceIndex(0) +4 >Emitted(12, 9) Source(20, 9) + SourceIndex(0) +5 >Emitted(12, 14) Source(20, 14) + SourceIndex(0) +6 >Emitted(12, 16) Source(20, 24) + SourceIndex(0) +7 >Emitted(12, 21) Source(20, 29) + SourceIndex(0) +8 >Emitted(12, 24) Source(20, 49) + SourceIndex(0) +9 >Emitted(12, 30) Source(20, 55) + SourceIndex(0) +10>Emitted(12, 35) Source(20, 29) + SourceIndex(0) +11>Emitted(12, 37) Source(20, 38) + SourceIndex(0) +12>Emitted(12, 43) Source(20, 44) + SourceIndex(0) +13>Emitted(12, 46) Source(20, 49) + SourceIndex(0) +14>Emitted(12, 52) Source(20, 55) + SourceIndex(0) +15>Emitted(12, 58) Source(20, 44) + SourceIndex(0) +16>Emitted(12, 60) Source(20, 57) + SourceIndex(0) +17>Emitted(12, 62) Source(20, 59) + SourceIndex(0) +18>Emitted(12, 65) Source(20, 62) + SourceIndex(0) +19>Emitted(12, 72) Source(20, 69) + SourceIndex(0) +20>Emitted(12, 73) Source(20, 70) + SourceIndex(0) --- >>>var c = hello, _c = { name: "Edger", skill: "cutting edges" }, nameC = _c.name, skillC = _c.skill, c1 = hello; 1-> @@ -602,33 +603,33 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 25> = 26> hello 27> ; -1->Emitted(12, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(12, 5) Source(21, 5) + SourceIndex(0) -3 >Emitted(12, 6) Source(21, 6) + SourceIndex(0) -4 >Emitted(12, 9) Source(21, 9) + SourceIndex(0) -5 >Emitted(12, 14) Source(21, 14) + SourceIndex(0) -6 >Emitted(12, 16) Source(21, 16) + SourceIndex(0) -7 >Emitted(12, 21) Source(21, 49) + SourceIndex(0) -8 >Emitted(12, 23) Source(21, 51) + SourceIndex(0) -9 >Emitted(12, 27) Source(21, 55) + SourceIndex(0) -10>Emitted(12, 29) Source(21, 57) + SourceIndex(0) -11>Emitted(12, 36) Source(21, 64) + SourceIndex(0) -12>Emitted(12, 38) Source(21, 66) + SourceIndex(0) -13>Emitted(12, 43) Source(21, 71) + SourceIndex(0) -14>Emitted(12, 45) Source(21, 73) + SourceIndex(0) -15>Emitted(12, 60) Source(21, 88) + SourceIndex(0) -16>Emitted(12, 62) Source(21, 90) + SourceIndex(0) -17>Emitted(12, 64) Source(21, 24) + SourceIndex(0) -18>Emitted(12, 69) Source(21, 29) + SourceIndex(0) -19>Emitted(12, 79) Source(21, 29) + SourceIndex(0) -20>Emitted(12, 81) Source(21, 38) + SourceIndex(0) -21>Emitted(12, 87) Source(21, 44) + SourceIndex(0) -22>Emitted(12, 98) Source(21, 44) + SourceIndex(0) -23>Emitted(12, 100) Source(21, 92) + SourceIndex(0) -24>Emitted(12, 102) Source(21, 94) + SourceIndex(0) -25>Emitted(12, 105) Source(21, 97) + SourceIndex(0) -26>Emitted(12, 110) Source(21, 102) + SourceIndex(0) -27>Emitted(12, 111) Source(21, 103) + SourceIndex(0) +1->Emitted(13, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(13, 5) Source(21, 5) + SourceIndex(0) +3 >Emitted(13, 6) Source(21, 6) + SourceIndex(0) +4 >Emitted(13, 9) Source(21, 9) + SourceIndex(0) +5 >Emitted(13, 14) Source(21, 14) + SourceIndex(0) +6 >Emitted(13, 16) Source(21, 16) + SourceIndex(0) +7 >Emitted(13, 21) Source(21, 49) + SourceIndex(0) +8 >Emitted(13, 23) Source(21, 51) + SourceIndex(0) +9 >Emitted(13, 27) Source(21, 55) + SourceIndex(0) +10>Emitted(13, 29) Source(21, 57) + SourceIndex(0) +11>Emitted(13, 36) Source(21, 64) + SourceIndex(0) +12>Emitted(13, 38) Source(21, 66) + SourceIndex(0) +13>Emitted(13, 43) Source(21, 71) + SourceIndex(0) +14>Emitted(13, 45) Source(21, 73) + SourceIndex(0) +15>Emitted(13, 60) Source(21, 88) + SourceIndex(0) +16>Emitted(13, 62) Source(21, 90) + SourceIndex(0) +17>Emitted(13, 64) Source(21, 24) + SourceIndex(0) +18>Emitted(13, 69) Source(21, 29) + SourceIndex(0) +19>Emitted(13, 79) Source(21, 29) + SourceIndex(0) +20>Emitted(13, 81) Source(21, 38) + SourceIndex(0) +21>Emitted(13, 87) Source(21, 44) + SourceIndex(0) +22>Emitted(13, 98) Source(21, 44) + SourceIndex(0) +23>Emitted(13, 100) Source(21, 92) + SourceIndex(0) +24>Emitted(13, 102) Source(21, 94) + SourceIndex(0) +25>Emitted(13, 105) Source(21, 97) + SourceIndex(0) +26>Emitted(13, 110) Source(21, 102) + SourceIndex(0) +27>Emitted(13, 111) Source(21, 103) + SourceIndex(0) --- >>>if (nameA == nameB) { 1 > @@ -647,13 +648,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 5 > nameB 6 > ) 7 > { -1 >Emitted(13, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(13, 5) Source(22, 5) + SourceIndex(0) -3 >Emitted(13, 10) Source(22, 10) + SourceIndex(0) -4 >Emitted(13, 14) Source(22, 14) + SourceIndex(0) -5 >Emitted(13, 19) Source(22, 19) + SourceIndex(0) -6 >Emitted(13, 21) Source(22, 21) + SourceIndex(0) -7 >Emitted(13, 22) Source(22, 22) + SourceIndex(0) +1 >Emitted(14, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(14, 5) Source(22, 5) + SourceIndex(0) +3 >Emitted(14, 10) Source(22, 10) + SourceIndex(0) +4 >Emitted(14, 14) Source(22, 14) + SourceIndex(0) +5 >Emitted(14, 19) Source(22, 19) + SourceIndex(0) +6 >Emitted(14, 21) Source(22, 21) + SourceIndex(0) +7 >Emitted(14, 22) Source(22, 22) + SourceIndex(0) --- >>> console.log(skillB); 1->^^^^ @@ -673,14 +674,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 6 > skillB 7 > ) 8 > ; -1->Emitted(14, 5) Source(23, 5) + SourceIndex(0) -2 >Emitted(14, 12) Source(23, 12) + SourceIndex(0) -3 >Emitted(14, 13) Source(23, 13) + SourceIndex(0) -4 >Emitted(14, 16) Source(23, 16) + SourceIndex(0) -5 >Emitted(14, 17) Source(23, 17) + SourceIndex(0) -6 >Emitted(14, 23) Source(23, 23) + SourceIndex(0) -7 >Emitted(14, 24) Source(23, 24) + SourceIndex(0) -8 >Emitted(14, 25) Source(23, 25) + SourceIndex(0) +1->Emitted(15, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(15, 12) Source(23, 12) + SourceIndex(0) +3 >Emitted(15, 13) Source(23, 13) + SourceIndex(0) +4 >Emitted(15, 16) Source(23, 16) + SourceIndex(0) +5 >Emitted(15, 17) Source(23, 17) + SourceIndex(0) +6 >Emitted(15, 23) Source(23, 23) + SourceIndex(0) +7 >Emitted(15, 24) Source(23, 24) + SourceIndex(0) +8 >Emitted(15, 25) Source(23, 25) + SourceIndex(0) --- >>>} 1 > @@ -689,8 +690,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 1 > > 2 >} -1 >Emitted(15, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(15, 2) Source(24, 2) + SourceIndex(0) +1 >Emitted(16, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(16, 2) Source(24, 2) + SourceIndex(0) --- >>>else { 1->^^^^^ @@ -699,8 +700,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 1-> >else 2 > { -1->Emitted(16, 6) Source(25, 6) + SourceIndex(0) -2 >Emitted(16, 7) Source(25, 7) + SourceIndex(0) +1->Emitted(17, 6) Source(25, 6) + SourceIndex(0) +2 >Emitted(17, 7) Source(25, 7) + SourceIndex(0) --- >>> console.log(nameC); 1->^^^^ @@ -720,14 +721,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 6 > nameC 7 > ) 8 > ; -1->Emitted(17, 5) Source(26, 5) + SourceIndex(0) -2 >Emitted(17, 12) Source(26, 12) + SourceIndex(0) -3 >Emitted(17, 13) Source(26, 13) + SourceIndex(0) -4 >Emitted(17, 16) Source(26, 16) + SourceIndex(0) -5 >Emitted(17, 17) Source(26, 17) + SourceIndex(0) -6 >Emitted(17, 22) Source(26, 22) + SourceIndex(0) -7 >Emitted(17, 23) Source(26, 23) + SourceIndex(0) -8 >Emitted(17, 24) Source(26, 24) + SourceIndex(0) +1->Emitted(18, 5) Source(26, 5) + SourceIndex(0) +2 >Emitted(18, 12) Source(26, 12) + SourceIndex(0) +3 >Emitted(18, 13) Source(26, 13) + SourceIndex(0) +4 >Emitted(18, 16) Source(26, 16) + SourceIndex(0) +5 >Emitted(18, 17) Source(26, 17) + SourceIndex(0) +6 >Emitted(18, 22) Source(26, 22) + SourceIndex(0) +7 >Emitted(18, 23) Source(26, 23) + SourceIndex(0) +8 >Emitted(18, 24) Source(26, 24) + SourceIndex(0) --- >>>} 1 > @@ -736,7 +737,7 @@ sourceFile:sourceMapValidationDestructuringVariableStatement1.ts 1 > > 2 >} -1 >Emitted(18, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(18, 2) Source(27, 2) + SourceIndex(0) +1 >Emitted(19, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(27, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatement1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js index d0141a91df337..63c29a19f2d77 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js @@ -23,6 +23,7 @@ if (nameA == nameA2) { } //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js] +"use strict"; var robotA = [1, "mower", "mowing"]; var robotB = [2, "trimmer", "trimming"]; var nameA = robotA[1]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js.map index 0caf2166e4d40..bb65fbec6cdfb 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern.ts"],"names":[],"mappings":"AAIA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAGxC,IAAA,KAAK,GAAI,MAAM,GAAV,CAAW;AAClB,IAAA,OAAO,GAAI,MAAM,GAAV,CAAW;AAClB,IAAA,QAAQ,GAAqB,MAAM,GAA3B,EAAE,MAAM,GAAa,MAAM,GAAnB,EAAE,OAAO,GAAI,MAAM,GAAV,CAAW;AAEpC,IAAA,QAAQ,GAAI,CAAC,CAAC,EAAE,QAAQ,EAAE,gBAAgB,CAAC,GAAnC,CAAoC;AAC7C,IAAA,KAA2B,CAAC,CAAC,EAAE,QAAQ,EAAE,gBAAgB,CAAC,EAAzD,OAAO,QAAA,EAAE,KAAK,QAAA,EAAE,MAAM,QAAmC,CAAC;AAE1D,IAAA,QAAQ,GAAmB,MAAM,GAAzB,EAAK,UAAU,GAAI,MAAM,SAAV,CAAW;AAEvC,IAAI,KAAK,IAAI,MAAM,EAAE,CAAC;IAClB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AACzB,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHJvYm90QSA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ZXJBMiwgbmFtZUEyLCBza2lsbEEyXSA9IHJvYm90QTsKCmxldCBbbnVtYmVyQzJdID0gWzMsICJlZGdpbmciLCAiVHJpbW1pbmcgZWRnZXMiXTsKbGV0IFtudW1iZXJDLCBuYW1lQywgc2tpbGxDXSA9IFszLCAiZWRnaW5nIiwgIlRyaW1taW5nIGVkZ2VzIl07CgpsZXQgW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSA9IHJvYm90QTsKCmlmIChuYW1lQSA9PSBuYW1lQTIpIHsKICAgIGNvbnNvbGUubG9nKHNraWxsQTIpOwp9 +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern.ts"],"names":[],"mappings":";AAIA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAGxC,IAAA,KAAK,GAAI,MAAM,GAAV,CAAW;AAClB,IAAA,OAAO,GAAI,MAAM,GAAV,CAAW;AAClB,IAAA,QAAQ,GAAqB,MAAM,GAA3B,EAAE,MAAM,GAAa,MAAM,GAAnB,EAAE,OAAO,GAAI,MAAM,GAAV,CAAW;AAEpC,IAAA,QAAQ,GAAI,CAAC,CAAC,EAAE,QAAQ,EAAE,gBAAgB,CAAC,GAAnC,CAAoC;AAC7C,IAAA,KAA2B,CAAC,CAAC,EAAE,QAAQ,EAAE,gBAAgB,CAAC,EAAzD,OAAO,QAAA,EAAE,KAAK,QAAA,EAAE,MAAM,QAAmC,CAAC;AAE1D,IAAA,QAAQ,GAAmB,MAAM,GAAzB,EAAK,UAAU,GAAI,MAAM,SAAV,CAAW;AAEvC,IAAI,KAAK,IAAI,MAAM,EAAE,CAAC;IAClB,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC;AACzB,CAAC"} +//// https://sokra.github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JvYm90QTsKbGV0IFtudW1iZXJCXSA9IHJvYm90QjsKbGV0IFtudW1iZXJBMiwgbmFtZUEyLCBza2lsbEEyXSA9IHJvYm90QTsKCmxldCBbbnVtYmVyQzJdID0gWzMsICJlZGdpbmciLCAiVHJpbW1pbmcgZWRnZXMiXTsKbGV0IFtudW1iZXJDLCBuYW1lQywgc2tpbGxDXSA9IFszLCAiZWRnaW5nIiwgIlRyaW1taW5nIGVkZ2VzIl07CgpsZXQgW251bWJlckEzLCAuLi5yb2JvdEFJbmZvXSA9IHJvYm90QTsKCmlmIChuYW1lQSA9PSBuYW1lQTIpIHsKICAgIGNvbnNvbGUubG9nKHNraWxsQTIpOwp9 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.sourcemap.txt index 961d623a79f71..8855e533105b7 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementArrayBindingPattern.ts emittedFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = [1, "mower", "mowing"]; 1 > 2 >^^^^ @@ -38,18 +39,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern. 10> "mowing" 11> ] 12> ; -1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(5, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(5, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(5, 21) + SourceIndex(0) -5 >Emitted(1, 15) Source(5, 22) + SourceIndex(0) -6 >Emitted(1, 16) Source(5, 23) + SourceIndex(0) -7 >Emitted(1, 18) Source(5, 25) + SourceIndex(0) -8 >Emitted(1, 25) Source(5, 32) + SourceIndex(0) -9 >Emitted(1, 27) Source(5, 34) + SourceIndex(0) -10>Emitted(1, 35) Source(5, 42) + SourceIndex(0) -11>Emitted(1, 36) Source(5, 43) + SourceIndex(0) -12>Emitted(1, 37) Source(5, 44) + SourceIndex(0) +1 >Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(5, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(5, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(5, 21) + SourceIndex(0) +5 >Emitted(2, 15) Source(5, 22) + SourceIndex(0) +6 >Emitted(2, 16) Source(5, 23) + SourceIndex(0) +7 >Emitted(2, 18) Source(5, 25) + SourceIndex(0) +8 >Emitted(2, 25) Source(5, 32) + SourceIndex(0) +9 >Emitted(2, 27) Source(5, 34) + SourceIndex(0) +10>Emitted(2, 35) Source(5, 42) + SourceIndex(0) +11>Emitted(2, 36) Source(5, 43) + SourceIndex(0) +12>Emitted(2, 37) Source(5, 44) + SourceIndex(0) --- >>>var robotB = [2, "trimmer", "trimming"]; 1-> @@ -77,18 +78,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern. 10> "trimming" 11> ] 12> ; -1->Emitted(2, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(6, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(6, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(6, 21) + SourceIndex(0) -5 >Emitted(2, 15) Source(6, 22) + SourceIndex(0) -6 >Emitted(2, 16) Source(6, 23) + SourceIndex(0) -7 >Emitted(2, 18) Source(6, 25) + SourceIndex(0) -8 >Emitted(2, 27) Source(6, 34) + SourceIndex(0) -9 >Emitted(2, 29) Source(6, 36) + SourceIndex(0) -10>Emitted(2, 39) Source(6, 46) + SourceIndex(0) -11>Emitted(2, 40) Source(6, 47) + SourceIndex(0) -12>Emitted(2, 41) Source(6, 48) + SourceIndex(0) +1->Emitted(3, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(6, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(6, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(6, 21) + SourceIndex(0) +5 >Emitted(3, 15) Source(6, 22) + SourceIndex(0) +6 >Emitted(3, 16) Source(6, 23) + SourceIndex(0) +7 >Emitted(3, 18) Source(6, 25) + SourceIndex(0) +8 >Emitted(3, 27) Source(6, 34) + SourceIndex(0) +9 >Emitted(3, 29) Source(6, 36) + SourceIndex(0) +10>Emitted(3, 39) Source(6, 46) + SourceIndex(0) +11>Emitted(3, 40) Source(6, 47) + SourceIndex(0) +12>Emitted(3, 41) Source(6, 48) + SourceIndex(0) --- >>>var nameA = robotA[1]; 1 > @@ -109,13 +110,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern. 5 > robotA 6 > 7 > ] = robotA; -1 >Emitted(3, 1) Source(9, 8) + SourceIndex(0) -2 >Emitted(3, 5) Source(9, 8) + SourceIndex(0) -3 >Emitted(3, 10) Source(9, 13) + SourceIndex(0) -4 >Emitted(3, 13) Source(9, 17) + SourceIndex(0) -5 >Emitted(3, 19) Source(9, 23) + SourceIndex(0) -6 >Emitted(3, 22) Source(9, 13) + SourceIndex(0) -7 >Emitted(3, 23) Source(9, 24) + SourceIndex(0) +1 >Emitted(4, 1) Source(9, 8) + SourceIndex(0) +2 >Emitted(4, 5) Source(9, 8) + SourceIndex(0) +3 >Emitted(4, 10) Source(9, 13) + SourceIndex(0) +4 >Emitted(4, 13) Source(9, 17) + SourceIndex(0) +5 >Emitted(4, 19) Source(9, 23) + SourceIndex(0) +6 >Emitted(4, 22) Source(9, 13) + SourceIndex(0) +7 >Emitted(4, 23) Source(9, 24) + SourceIndex(0) --- >>>var numberB = robotB[0]; 1-> @@ -134,13 +135,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern. 5 > robotB 6 > 7 > ] = robotB; -1->Emitted(4, 1) Source(10, 6) + SourceIndex(0) -2 >Emitted(4, 5) Source(10, 6) + SourceIndex(0) -3 >Emitted(4, 12) Source(10, 13) + SourceIndex(0) -4 >Emitted(4, 15) Source(10, 17) + SourceIndex(0) -5 >Emitted(4, 21) Source(10, 23) + SourceIndex(0) -6 >Emitted(4, 24) Source(10, 13) + SourceIndex(0) -7 >Emitted(4, 25) Source(10, 24) + SourceIndex(0) +1->Emitted(5, 1) Source(10, 6) + SourceIndex(0) +2 >Emitted(5, 5) Source(10, 6) + SourceIndex(0) +3 >Emitted(5, 12) Source(10, 13) + SourceIndex(0) +4 >Emitted(5, 15) Source(10, 17) + SourceIndex(0) +5 >Emitted(5, 21) Source(10, 23) + SourceIndex(0) +6 >Emitted(5, 24) Source(10, 13) + SourceIndex(0) +7 >Emitted(5, 25) Source(10, 24) + SourceIndex(0) --- >>>var numberA2 = robotA[0], nameA2 = robotA[1], skillA2 = robotA[2]; 1-> @@ -178,23 +179,23 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern. 15> robotA 16> 17> ] = robotA; -1->Emitted(5, 1) Source(11, 6) + SourceIndex(0) -2 >Emitted(5, 5) Source(11, 6) + SourceIndex(0) -3 >Emitted(5, 13) Source(11, 14) + SourceIndex(0) -4 >Emitted(5, 16) Source(11, 35) + SourceIndex(0) -5 >Emitted(5, 22) Source(11, 41) + SourceIndex(0) -6 >Emitted(5, 25) Source(11, 14) + SourceIndex(0) -7 >Emitted(5, 27) Source(11, 16) + SourceIndex(0) -8 >Emitted(5, 33) Source(11, 22) + SourceIndex(0) -9 >Emitted(5, 36) Source(11, 35) + SourceIndex(0) -10>Emitted(5, 42) Source(11, 41) + SourceIndex(0) -11>Emitted(5, 45) Source(11, 22) + SourceIndex(0) -12>Emitted(5, 47) Source(11, 24) + SourceIndex(0) -13>Emitted(5, 54) Source(11, 31) + SourceIndex(0) -14>Emitted(5, 57) Source(11, 35) + SourceIndex(0) -15>Emitted(5, 63) Source(11, 41) + SourceIndex(0) -16>Emitted(5, 66) Source(11, 31) + SourceIndex(0) -17>Emitted(5, 67) Source(11, 42) + SourceIndex(0) +1->Emitted(6, 1) Source(11, 6) + SourceIndex(0) +2 >Emitted(6, 5) Source(11, 6) + SourceIndex(0) +3 >Emitted(6, 13) Source(11, 14) + SourceIndex(0) +4 >Emitted(6, 16) Source(11, 35) + SourceIndex(0) +5 >Emitted(6, 22) Source(11, 41) + SourceIndex(0) +6 >Emitted(6, 25) Source(11, 14) + SourceIndex(0) +7 >Emitted(6, 27) Source(11, 16) + SourceIndex(0) +8 >Emitted(6, 33) Source(11, 22) + SourceIndex(0) +9 >Emitted(6, 36) Source(11, 35) + SourceIndex(0) +10>Emitted(6, 42) Source(11, 41) + SourceIndex(0) +11>Emitted(6, 45) Source(11, 22) + SourceIndex(0) +12>Emitted(6, 47) Source(11, 24) + SourceIndex(0) +13>Emitted(6, 54) Source(11, 31) + SourceIndex(0) +14>Emitted(6, 57) Source(11, 35) + SourceIndex(0) +15>Emitted(6, 63) Source(11, 41) + SourceIndex(0) +16>Emitted(6, 66) Source(11, 31) + SourceIndex(0) +17>Emitted(6, 67) Source(11, 42) + SourceIndex(0) --- >>>var numberC2 = [3, "edging", "Trimming edges"][0]; 1 > @@ -226,19 +227,19 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern. 11> ] 12> 13> ] = [3, "edging", "Trimming edges"]; -1 >Emitted(6, 1) Source(13, 6) + SourceIndex(0) -2 >Emitted(6, 5) Source(13, 6) + SourceIndex(0) -3 >Emitted(6, 13) Source(13, 14) + SourceIndex(0) -4 >Emitted(6, 16) Source(13, 18) + SourceIndex(0) -5 >Emitted(6, 17) Source(13, 19) + SourceIndex(0) -6 >Emitted(6, 18) Source(13, 20) + SourceIndex(0) -7 >Emitted(6, 20) Source(13, 22) + SourceIndex(0) -8 >Emitted(6, 28) Source(13, 30) + SourceIndex(0) -9 >Emitted(6, 30) Source(13, 32) + SourceIndex(0) -10>Emitted(6, 46) Source(13, 48) + SourceIndex(0) -11>Emitted(6, 47) Source(13, 49) + SourceIndex(0) -12>Emitted(6, 50) Source(13, 14) + SourceIndex(0) -13>Emitted(6, 51) Source(13, 50) + SourceIndex(0) +1 >Emitted(7, 1) Source(13, 6) + SourceIndex(0) +2 >Emitted(7, 5) Source(13, 6) + SourceIndex(0) +3 >Emitted(7, 13) Source(13, 14) + SourceIndex(0) +4 >Emitted(7, 16) Source(13, 18) + SourceIndex(0) +5 >Emitted(7, 17) Source(13, 19) + SourceIndex(0) +6 >Emitted(7, 18) Source(13, 20) + SourceIndex(0) +7 >Emitted(7, 20) Source(13, 22) + SourceIndex(0) +8 >Emitted(7, 28) Source(13, 30) + SourceIndex(0) +9 >Emitted(7, 30) Source(13, 32) + SourceIndex(0) +10>Emitted(7, 46) Source(13, 48) + SourceIndex(0) +11>Emitted(7, 47) Source(13, 49) + SourceIndex(0) +12>Emitted(7, 50) Source(13, 14) + SourceIndex(0) +13>Emitted(7, 51) Source(13, 50) + SourceIndex(0) --- >>>var _a = [3, "edging", "Trimming edges"], numberC = _a[0], nameC = _a[1], skillC = _a[2]; 1-> @@ -282,26 +283,26 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern. 18> skillC 19> ] = [3, "edging", "Trimming edges"] 20> ; -1->Emitted(7, 1) Source(14, 5) + SourceIndex(0) -2 >Emitted(7, 5) Source(14, 5) + SourceIndex(0) -3 >Emitted(7, 10) Source(14, 32) + SourceIndex(0) -4 >Emitted(7, 11) Source(14, 33) + SourceIndex(0) -5 >Emitted(7, 12) Source(14, 34) + SourceIndex(0) -6 >Emitted(7, 14) Source(14, 36) + SourceIndex(0) -7 >Emitted(7, 22) Source(14, 44) + SourceIndex(0) -8 >Emitted(7, 24) Source(14, 46) + SourceIndex(0) -9 >Emitted(7, 40) Source(14, 62) + SourceIndex(0) -10>Emitted(7, 41) Source(14, 63) + SourceIndex(0) -11>Emitted(7, 43) Source(14, 6) + SourceIndex(0) -12>Emitted(7, 50) Source(14, 13) + SourceIndex(0) -13>Emitted(7, 58) Source(14, 13) + SourceIndex(0) -14>Emitted(7, 60) Source(14, 15) + SourceIndex(0) -15>Emitted(7, 65) Source(14, 20) + SourceIndex(0) -16>Emitted(7, 73) Source(14, 20) + SourceIndex(0) -17>Emitted(7, 75) Source(14, 22) + SourceIndex(0) -18>Emitted(7, 81) Source(14, 28) + SourceIndex(0) -19>Emitted(7, 89) Source(14, 63) + SourceIndex(0) -20>Emitted(7, 90) Source(14, 64) + SourceIndex(0) +1->Emitted(8, 1) Source(14, 5) + SourceIndex(0) +2 >Emitted(8, 5) Source(14, 5) + SourceIndex(0) +3 >Emitted(8, 10) Source(14, 32) + SourceIndex(0) +4 >Emitted(8, 11) Source(14, 33) + SourceIndex(0) +5 >Emitted(8, 12) Source(14, 34) + SourceIndex(0) +6 >Emitted(8, 14) Source(14, 36) + SourceIndex(0) +7 >Emitted(8, 22) Source(14, 44) + SourceIndex(0) +8 >Emitted(8, 24) Source(14, 46) + SourceIndex(0) +9 >Emitted(8, 40) Source(14, 62) + SourceIndex(0) +10>Emitted(8, 41) Source(14, 63) + SourceIndex(0) +11>Emitted(8, 43) Source(14, 6) + SourceIndex(0) +12>Emitted(8, 50) Source(14, 13) + SourceIndex(0) +13>Emitted(8, 58) Source(14, 13) + SourceIndex(0) +14>Emitted(8, 60) Source(14, 15) + SourceIndex(0) +15>Emitted(8, 65) Source(14, 20) + SourceIndex(0) +16>Emitted(8, 73) Source(14, 20) + SourceIndex(0) +17>Emitted(8, 75) Source(14, 22) + SourceIndex(0) +18>Emitted(8, 81) Source(14, 28) + SourceIndex(0) +19>Emitted(8, 89) Source(14, 63) + SourceIndex(0) +20>Emitted(8, 90) Source(14, 64) + SourceIndex(0) --- >>>var numberA3 = robotA[0], robotAInfo = robotA.slice(1); 1 > @@ -330,18 +331,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern. 10> robotA 11> 12> ] = robotA; -1 >Emitted(8, 1) Source(16, 6) + SourceIndex(0) -2 >Emitted(8, 5) Source(16, 6) + SourceIndex(0) -3 >Emitted(8, 13) Source(16, 14) + SourceIndex(0) -4 >Emitted(8, 16) Source(16, 33) + SourceIndex(0) -5 >Emitted(8, 22) Source(16, 39) + SourceIndex(0) -6 >Emitted(8, 25) Source(16, 14) + SourceIndex(0) -7 >Emitted(8, 27) Source(16, 19) + SourceIndex(0) -8 >Emitted(8, 37) Source(16, 29) + SourceIndex(0) -9 >Emitted(8, 40) Source(16, 33) + SourceIndex(0) -10>Emitted(8, 46) Source(16, 39) + SourceIndex(0) -11>Emitted(8, 55) Source(16, 29) + SourceIndex(0) -12>Emitted(8, 56) Source(16, 40) + SourceIndex(0) +1 >Emitted(9, 1) Source(16, 6) + SourceIndex(0) +2 >Emitted(9, 5) Source(16, 6) + SourceIndex(0) +3 >Emitted(9, 13) Source(16, 14) + SourceIndex(0) +4 >Emitted(9, 16) Source(16, 33) + SourceIndex(0) +5 >Emitted(9, 22) Source(16, 39) + SourceIndex(0) +6 >Emitted(9, 25) Source(16, 14) + SourceIndex(0) +7 >Emitted(9, 27) Source(16, 19) + SourceIndex(0) +8 >Emitted(9, 37) Source(16, 29) + SourceIndex(0) +9 >Emitted(9, 40) Source(16, 33) + SourceIndex(0) +10>Emitted(9, 46) Source(16, 39) + SourceIndex(0) +11>Emitted(9, 55) Source(16, 29) + SourceIndex(0) +12>Emitted(9, 56) Source(16, 40) + SourceIndex(0) --- >>>if (nameA == nameA2) { 1 > @@ -361,13 +362,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern. 5 > nameA2 6 > ) 7 > { -1 >Emitted(9, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(9, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(9, 10) Source(18, 10) + SourceIndex(0) -4 >Emitted(9, 14) Source(18, 14) + SourceIndex(0) -5 >Emitted(9, 20) Source(18, 20) + SourceIndex(0) -6 >Emitted(9, 22) Source(18, 22) + SourceIndex(0) -7 >Emitted(9, 23) Source(18, 23) + SourceIndex(0) +1 >Emitted(10, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(10, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(10, 10) Source(18, 10) + SourceIndex(0) +4 >Emitted(10, 14) Source(18, 14) + SourceIndex(0) +5 >Emitted(10, 20) Source(18, 20) + SourceIndex(0) +6 >Emitted(10, 22) Source(18, 22) + SourceIndex(0) +7 >Emitted(10, 23) Source(18, 23) + SourceIndex(0) --- >>> console.log(skillA2); 1->^^^^ @@ -387,14 +388,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern. 6 > skillA2 7 > ) 8 > ; -1->Emitted(10, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(10, 12) Source(19, 12) + SourceIndex(0) -3 >Emitted(10, 13) Source(19, 13) + SourceIndex(0) -4 >Emitted(10, 16) Source(19, 16) + SourceIndex(0) -5 >Emitted(10, 17) Source(19, 17) + SourceIndex(0) -6 >Emitted(10, 24) Source(19, 24) + SourceIndex(0) -7 >Emitted(10, 25) Source(19, 25) + SourceIndex(0) -8 >Emitted(10, 26) Source(19, 26) + SourceIndex(0) +1->Emitted(11, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(11, 12) Source(19, 12) + SourceIndex(0) +3 >Emitted(11, 13) Source(19, 13) + SourceIndex(0) +4 >Emitted(11, 16) Source(19, 16) + SourceIndex(0) +5 >Emitted(11, 17) Source(19, 17) + SourceIndex(0) +6 >Emitted(11, 24) Source(19, 24) + SourceIndex(0) +7 >Emitted(11, 25) Source(19, 25) + SourceIndex(0) +8 >Emitted(11, 26) Source(19, 26) + SourceIndex(0) --- >>>} 1 > @@ -403,7 +404,7 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern. 1 > > 2 >} -1 >Emitted(11, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(11, 2) Source(20, 2) + SourceIndex(0) +1 >Emitted(12, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(12, 2) Source(20, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPattern.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js index 9aeee9889701f..3bb71e4b28e29 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js @@ -22,6 +22,7 @@ if (nameMB == nameMA) { } //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js] +"use strict"; var multiRobotA = ["mower", ["mowing", ""]]; var multiRobotB = ["trimmer", ["trimming", "edging"]]; var skillA = multiRobotA[1]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js.map index 89ddaabad2924..076ab74db915e 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.ts"],"names":[],"mappings":"AAIA,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AAElE,IAAA,MAAM,GAAI,WAAW,GAAf,CAAgB;AACxB,IAAA,MAAM,GAAI,WAAW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Fsicm9vbWJhIiwgWyJ2YWN1dW0iLCAibW9wcGluZyJdXTsKCmxldCBbLi4ubXVsdGlSb2JvdEFJbmZvXSA9IG11bHRpUm9ib3RBOwoKaWYgKG5hbWVNQiA9PSBuYW1lTUEpIHsKICAgIGNvbnNvbGUubG9nKHNraWxsQVswXSArIHNraWxsQVsxXSk7Cn0= +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.ts"],"names":[],"mappings":";AAIA,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AAElE,IAAA,MAAM,GAAI,WAAW,GAAf,CAAgB;AACxB,IAAA,MAAM,GAAI,WAAW,GAAf,CAAgB;AACtB,IAAA,MAAM,GAAsC,WAAW,GAAjD,EAAE,KAAoC,WAAW,GAAf,EAA/B,aAAa,QAAA,EAAE,eAAe,QAAC,CAAgB;AAExD,IAAA,MAAM,GAAI,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,GAArC,CAAsC;AAC7C,IAAA,KAA8C,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,EAA9E,OAAO,QAAA,EAAE,UAAgC,EAA/B,aAAa,QAAA,EAAE,eAAe,QAAsC,CAAC;AAE/E,IAAG,eAAe,GAAI,WAAW,SAAf,CAAgB;AAEvC,IAAI,MAAM,IAAI,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC;AACvC,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIG11bHRpUm9ib3RBID0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p0eXBlIE11bHRpU2tpbGxlZFJvYm90ID0gW3N0cmluZywgW3N0cmluZywgc3RyaW5nXV07CnZhciBtdWx0aVJvYm90QTogTXVsdGlTa2lsbGVkUm9ib3QgPSBbIm1vd2VyIiwgWyJtb3dpbmciLCAiIl1dOwp2YXIgbXVsdGlSb2JvdEI6IE11bHRpU2tpbGxlZFJvYm90ID0gWyJ0cmltbWVyIiwgWyJ0cmltbWluZyIsICJlZGdpbmciXV07CgpsZXQgWywgc2tpbGxBXSA9IG11bHRpUm9ib3RBOwpsZXQgW25hbWVNQl0gPSBtdWx0aVJvYm90QjsKbGV0IFtuYW1lTUEsIFtwcmltYXJ5U2tpbGxBLCBzZWNvbmRhcnlTa2lsbEFdXSA9IG11bHRpUm9ib3RBOwoKbGV0IFtuYW1lTUNdID0gWyJyb29tYmEiLCBbInZhY3V1bSIsICJtb3BwaW5nIl1dOwpsZXQgW25hbWVNQzIsIFtwcmltYXJ5U2tpbGxDLCBzZWNvbmRhcnlTa2lsbENdXSA9IFsicm9vbWJhIiwgWyJ2YWN1dW0iLCAibW9wcGluZyJdXTsKCmxldCBbLi4ubXVsdGlSb2JvdEFJbmZvXSA9IG11bHRpUm9ib3RBOwoKaWYgKG5hbWVNQiA9PSBuYW1lTUEpIHsKICAgIGNvbnNvbGUubG9nKHNraWxsQVswXSArIHNraWxsQVsxXSk7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.sourcemap.txt index 9f6a1da43a270..ef12c43807adc 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.t emittedFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var multiRobotA = ["mower", ["mowing", ""]]; 1 > 2 >^^^^ @@ -42,20 +43,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2 12> ] 13> ] 14> ; -1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(5, 5) + SourceIndex(0) -3 >Emitted(1, 16) Source(5, 16) + SourceIndex(0) -4 >Emitted(1, 19) Source(5, 38) + SourceIndex(0) -5 >Emitted(1, 20) Source(5, 39) + SourceIndex(0) -6 >Emitted(1, 27) Source(5, 46) + SourceIndex(0) -7 >Emitted(1, 29) Source(5, 48) + SourceIndex(0) -8 >Emitted(1, 30) Source(5, 49) + SourceIndex(0) -9 >Emitted(1, 38) Source(5, 57) + SourceIndex(0) -10>Emitted(1, 40) Source(5, 59) + SourceIndex(0) -11>Emitted(1, 42) Source(5, 61) + SourceIndex(0) -12>Emitted(1, 43) Source(5, 62) + SourceIndex(0) -13>Emitted(1, 44) Source(5, 63) + SourceIndex(0) -14>Emitted(1, 45) Source(5, 64) + SourceIndex(0) +1 >Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(5, 5) + SourceIndex(0) +3 >Emitted(2, 16) Source(5, 16) + SourceIndex(0) +4 >Emitted(2, 19) Source(5, 38) + SourceIndex(0) +5 >Emitted(2, 20) Source(5, 39) + SourceIndex(0) +6 >Emitted(2, 27) Source(5, 46) + SourceIndex(0) +7 >Emitted(2, 29) Source(5, 48) + SourceIndex(0) +8 >Emitted(2, 30) Source(5, 49) + SourceIndex(0) +9 >Emitted(2, 38) Source(5, 57) + SourceIndex(0) +10>Emitted(2, 40) Source(5, 59) + SourceIndex(0) +11>Emitted(2, 42) Source(5, 61) + SourceIndex(0) +12>Emitted(2, 43) Source(5, 62) + SourceIndex(0) +13>Emitted(2, 44) Source(5, 63) + SourceIndex(0) +14>Emitted(2, 45) Source(5, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -87,20 +88,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2 12> ] 13> ] 14> ; -1->Emitted(2, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(6, 5) + SourceIndex(0) -3 >Emitted(2, 16) Source(6, 16) + SourceIndex(0) -4 >Emitted(2, 19) Source(6, 38) + SourceIndex(0) -5 >Emitted(2, 20) Source(6, 39) + SourceIndex(0) -6 >Emitted(2, 29) Source(6, 48) + SourceIndex(0) -7 >Emitted(2, 31) Source(6, 50) + SourceIndex(0) -8 >Emitted(2, 32) Source(6, 51) + SourceIndex(0) -9 >Emitted(2, 42) Source(6, 61) + SourceIndex(0) -10>Emitted(2, 44) Source(6, 63) + SourceIndex(0) -11>Emitted(2, 52) Source(6, 71) + SourceIndex(0) -12>Emitted(2, 53) Source(6, 72) + SourceIndex(0) -13>Emitted(2, 54) Source(6, 73) + SourceIndex(0) -14>Emitted(2, 55) Source(6, 74) + SourceIndex(0) +1->Emitted(3, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(6, 5) + SourceIndex(0) +3 >Emitted(3, 16) Source(6, 16) + SourceIndex(0) +4 >Emitted(3, 19) Source(6, 38) + SourceIndex(0) +5 >Emitted(3, 20) Source(6, 39) + SourceIndex(0) +6 >Emitted(3, 29) Source(6, 48) + SourceIndex(0) +7 >Emitted(3, 31) Source(6, 50) + SourceIndex(0) +8 >Emitted(3, 32) Source(6, 51) + SourceIndex(0) +9 >Emitted(3, 42) Source(6, 61) + SourceIndex(0) +10>Emitted(3, 44) Source(6, 63) + SourceIndex(0) +11>Emitted(3, 52) Source(6, 71) + SourceIndex(0) +12>Emitted(3, 53) Source(6, 72) + SourceIndex(0) +13>Emitted(3, 54) Source(6, 73) + SourceIndex(0) +14>Emitted(3, 55) Source(6, 74) + SourceIndex(0) --- >>>var skillA = multiRobotA[1]; 1 > @@ -120,13 +121,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2 5 > multiRobotA 6 > 7 > ] = multiRobotA; -1 >Emitted(3, 1) Source(8, 8) + SourceIndex(0) -2 >Emitted(3, 5) Source(8, 8) + SourceIndex(0) -3 >Emitted(3, 11) Source(8, 14) + SourceIndex(0) -4 >Emitted(3, 14) Source(8, 18) + SourceIndex(0) -5 >Emitted(3, 25) Source(8, 29) + SourceIndex(0) -6 >Emitted(3, 28) Source(8, 14) + SourceIndex(0) -7 >Emitted(3, 29) Source(8, 30) + SourceIndex(0) +1 >Emitted(4, 1) Source(8, 8) + SourceIndex(0) +2 >Emitted(4, 5) Source(8, 8) + SourceIndex(0) +3 >Emitted(4, 11) Source(8, 14) + SourceIndex(0) +4 >Emitted(4, 14) Source(8, 18) + SourceIndex(0) +5 >Emitted(4, 25) Source(8, 29) + SourceIndex(0) +6 >Emitted(4, 28) Source(8, 14) + SourceIndex(0) +7 >Emitted(4, 29) Source(8, 30) + SourceIndex(0) --- >>>var nameMB = multiRobotB[0]; 1-> @@ -145,13 +146,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2 5 > multiRobotB 6 > 7 > ] = multiRobotB; -1->Emitted(4, 1) Source(9, 6) + SourceIndex(0) -2 >Emitted(4, 5) Source(9, 6) + SourceIndex(0) -3 >Emitted(4, 11) Source(9, 12) + SourceIndex(0) -4 >Emitted(4, 14) Source(9, 16) + SourceIndex(0) -5 >Emitted(4, 25) Source(9, 27) + SourceIndex(0) -6 >Emitted(4, 28) Source(9, 12) + SourceIndex(0) -7 >Emitted(4, 29) Source(9, 28) + SourceIndex(0) +1->Emitted(5, 1) Source(9, 6) + SourceIndex(0) +2 >Emitted(5, 5) Source(9, 6) + SourceIndex(0) +3 >Emitted(5, 11) Source(9, 12) + SourceIndex(0) +4 >Emitted(5, 14) Source(9, 16) + SourceIndex(0) +5 >Emitted(5, 25) Source(9, 27) + SourceIndex(0) +6 >Emitted(5, 28) Source(9, 12) + SourceIndex(0) +7 >Emitted(5, 29) Source(9, 28) + SourceIndex(0) --- >>>var nameMA = multiRobotA[0], _a = multiRobotA[1], primarySkillA = _a[0], secondarySkillA = _a[1]; 1-> @@ -189,23 +190,23 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2 15> secondarySkillA 16> ] 17> ] = multiRobotA; -1->Emitted(5, 1) Source(10, 6) + SourceIndex(0) -2 >Emitted(5, 5) Source(10, 6) + SourceIndex(0) -3 >Emitted(5, 11) Source(10, 12) + SourceIndex(0) -4 >Emitted(5, 14) Source(10, 50) + SourceIndex(0) -5 >Emitted(5, 25) Source(10, 61) + SourceIndex(0) -6 >Emitted(5, 28) Source(10, 12) + SourceIndex(0) -7 >Emitted(5, 30) Source(10, 14) + SourceIndex(0) -8 >Emitted(5, 35) Source(10, 50) + SourceIndex(0) -9 >Emitted(5, 46) Source(10, 61) + SourceIndex(0) -10>Emitted(5, 49) Source(10, 46) + SourceIndex(0) -11>Emitted(5, 51) Source(10, 15) + SourceIndex(0) -12>Emitted(5, 64) Source(10, 28) + SourceIndex(0) -13>Emitted(5, 72) Source(10, 28) + SourceIndex(0) -14>Emitted(5, 74) Source(10, 30) + SourceIndex(0) -15>Emitted(5, 89) Source(10, 45) + SourceIndex(0) -16>Emitted(5, 97) Source(10, 46) + SourceIndex(0) -17>Emitted(5, 98) Source(10, 62) + SourceIndex(0) +1->Emitted(6, 1) Source(10, 6) + SourceIndex(0) +2 >Emitted(6, 5) Source(10, 6) + SourceIndex(0) +3 >Emitted(6, 11) Source(10, 12) + SourceIndex(0) +4 >Emitted(6, 14) Source(10, 50) + SourceIndex(0) +5 >Emitted(6, 25) Source(10, 61) + SourceIndex(0) +6 >Emitted(6, 28) Source(10, 12) + SourceIndex(0) +7 >Emitted(6, 30) Source(10, 14) + SourceIndex(0) +8 >Emitted(6, 35) Source(10, 50) + SourceIndex(0) +9 >Emitted(6, 46) Source(10, 61) + SourceIndex(0) +10>Emitted(6, 49) Source(10, 46) + SourceIndex(0) +11>Emitted(6, 51) Source(10, 15) + SourceIndex(0) +12>Emitted(6, 64) Source(10, 28) + SourceIndex(0) +13>Emitted(6, 72) Source(10, 28) + SourceIndex(0) +14>Emitted(6, 74) Source(10, 30) + SourceIndex(0) +15>Emitted(6, 89) Source(10, 45) + SourceIndex(0) +16>Emitted(6, 97) Source(10, 46) + SourceIndex(0) +17>Emitted(6, 98) Source(10, 62) + SourceIndex(0) --- >>>var nameMC = ["roomba", ["vacuum", "mopping"]][0]; 1 > @@ -241,21 +242,21 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2 13> ] 14> 15> ] = ["roomba", ["vacuum", "mopping"]]; -1 >Emitted(6, 1) Source(12, 6) + SourceIndex(0) -2 >Emitted(6, 5) Source(12, 6) + SourceIndex(0) -3 >Emitted(6, 11) Source(12, 12) + SourceIndex(0) -4 >Emitted(6, 14) Source(12, 16) + SourceIndex(0) -5 >Emitted(6, 15) Source(12, 17) + SourceIndex(0) -6 >Emitted(6, 23) Source(12, 25) + SourceIndex(0) -7 >Emitted(6, 25) Source(12, 27) + SourceIndex(0) -8 >Emitted(6, 26) Source(12, 28) + SourceIndex(0) -9 >Emitted(6, 34) Source(12, 36) + SourceIndex(0) -10>Emitted(6, 36) Source(12, 38) + SourceIndex(0) -11>Emitted(6, 45) Source(12, 47) + SourceIndex(0) -12>Emitted(6, 46) Source(12, 48) + SourceIndex(0) -13>Emitted(6, 47) Source(12, 49) + SourceIndex(0) -14>Emitted(6, 50) Source(12, 12) + SourceIndex(0) -15>Emitted(6, 51) Source(12, 50) + SourceIndex(0) +1 >Emitted(7, 1) Source(12, 6) + SourceIndex(0) +2 >Emitted(7, 5) Source(12, 6) + SourceIndex(0) +3 >Emitted(7, 11) Source(12, 12) + SourceIndex(0) +4 >Emitted(7, 14) Source(12, 16) + SourceIndex(0) +5 >Emitted(7, 15) Source(12, 17) + SourceIndex(0) +6 >Emitted(7, 23) Source(12, 25) + SourceIndex(0) +7 >Emitted(7, 25) Source(12, 27) + SourceIndex(0) +8 >Emitted(7, 26) Source(12, 28) + SourceIndex(0) +9 >Emitted(7, 34) Source(12, 36) + SourceIndex(0) +10>Emitted(7, 36) Source(12, 38) + SourceIndex(0) +11>Emitted(7, 45) Source(12, 47) + SourceIndex(0) +12>Emitted(7, 46) Source(12, 48) + SourceIndex(0) +13>Emitted(7, 47) Source(12, 49) + SourceIndex(0) +14>Emitted(7, 50) Source(12, 12) + SourceIndex(0) +15>Emitted(7, 51) Source(12, 50) + SourceIndex(0) --- >>>var _b = ["roomba", ["vacuum", "mopping"]], nameMC2 = _b[0], _c = _b[1], primarySkillC = _c[0], secondarySkillC = _c[1]; 1-> @@ -307,30 +308,30 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2 22> secondarySkillC 23> ]] = ["roomba", ["vacuum", "mopping"]] 24> ; -1->Emitted(7, 1) Source(13, 5) + SourceIndex(0) -2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(7, 10) Source(13, 51) + SourceIndex(0) -4 >Emitted(7, 11) Source(13, 52) + SourceIndex(0) -5 >Emitted(7, 19) Source(13, 60) + SourceIndex(0) -6 >Emitted(7, 21) Source(13, 62) + SourceIndex(0) -7 >Emitted(7, 22) Source(13, 63) + SourceIndex(0) -8 >Emitted(7, 30) Source(13, 71) + SourceIndex(0) -9 >Emitted(7, 32) Source(13, 73) + SourceIndex(0) -10>Emitted(7, 41) Source(13, 82) + SourceIndex(0) -11>Emitted(7, 42) Source(13, 83) + SourceIndex(0) -12>Emitted(7, 43) Source(13, 84) + SourceIndex(0) -13>Emitted(7, 45) Source(13, 6) + SourceIndex(0) -14>Emitted(7, 52) Source(13, 13) + SourceIndex(0) -15>Emitted(7, 60) Source(13, 13) + SourceIndex(0) -16>Emitted(7, 62) Source(13, 15) + SourceIndex(0) -17>Emitted(7, 72) Source(13, 47) + SourceIndex(0) -18>Emitted(7, 74) Source(13, 16) + SourceIndex(0) -19>Emitted(7, 87) Source(13, 29) + SourceIndex(0) -20>Emitted(7, 95) Source(13, 29) + SourceIndex(0) -21>Emitted(7, 97) Source(13, 31) + SourceIndex(0) -22>Emitted(7, 112) Source(13, 46) + SourceIndex(0) -23>Emitted(7, 120) Source(13, 84) + SourceIndex(0) -24>Emitted(7, 121) Source(13, 85) + SourceIndex(0) +1->Emitted(8, 1) Source(13, 5) + SourceIndex(0) +2 >Emitted(8, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(8, 10) Source(13, 51) + SourceIndex(0) +4 >Emitted(8, 11) Source(13, 52) + SourceIndex(0) +5 >Emitted(8, 19) Source(13, 60) + SourceIndex(0) +6 >Emitted(8, 21) Source(13, 62) + SourceIndex(0) +7 >Emitted(8, 22) Source(13, 63) + SourceIndex(0) +8 >Emitted(8, 30) Source(13, 71) + SourceIndex(0) +9 >Emitted(8, 32) Source(13, 73) + SourceIndex(0) +10>Emitted(8, 41) Source(13, 82) + SourceIndex(0) +11>Emitted(8, 42) Source(13, 83) + SourceIndex(0) +12>Emitted(8, 43) Source(13, 84) + SourceIndex(0) +13>Emitted(8, 45) Source(13, 6) + SourceIndex(0) +14>Emitted(8, 52) Source(13, 13) + SourceIndex(0) +15>Emitted(8, 60) Source(13, 13) + SourceIndex(0) +16>Emitted(8, 62) Source(13, 15) + SourceIndex(0) +17>Emitted(8, 72) Source(13, 47) + SourceIndex(0) +18>Emitted(8, 74) Source(13, 16) + SourceIndex(0) +19>Emitted(8, 87) Source(13, 29) + SourceIndex(0) +20>Emitted(8, 95) Source(13, 29) + SourceIndex(0) +21>Emitted(8, 97) Source(13, 31) + SourceIndex(0) +22>Emitted(8, 112) Source(13, 46) + SourceIndex(0) +23>Emitted(8, 120) Source(13, 84) + SourceIndex(0) +24>Emitted(8, 121) Source(13, 85) + SourceIndex(0) --- >>>var multiRobotAInfo = multiRobotA.slice(0); 1 > @@ -349,13 +350,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2 5 > multiRobotA 6 > 7 > ] = multiRobotA; -1 >Emitted(8, 1) Source(15, 6) + SourceIndex(0) -2 >Emitted(8, 5) Source(15, 9) + SourceIndex(0) -3 >Emitted(8, 20) Source(15, 24) + SourceIndex(0) -4 >Emitted(8, 23) Source(15, 28) + SourceIndex(0) -5 >Emitted(8, 34) Source(15, 39) + SourceIndex(0) -6 >Emitted(8, 43) Source(15, 24) + SourceIndex(0) -7 >Emitted(8, 44) Source(15, 40) + SourceIndex(0) +1 >Emitted(9, 1) Source(15, 6) + SourceIndex(0) +2 >Emitted(9, 5) Source(15, 9) + SourceIndex(0) +3 >Emitted(9, 20) Source(15, 24) + SourceIndex(0) +4 >Emitted(9, 23) Source(15, 28) + SourceIndex(0) +5 >Emitted(9, 34) Source(15, 39) + SourceIndex(0) +6 >Emitted(9, 43) Source(15, 24) + SourceIndex(0) +7 >Emitted(9, 44) Source(15, 40) + SourceIndex(0) --- >>>if (nameMB == nameMA) { 1 > @@ -375,13 +376,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2 5 > nameMA 6 > ) 7 > { -1 >Emitted(9, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(9, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(9, 11) Source(17, 11) + SourceIndex(0) -4 >Emitted(9, 15) Source(17, 15) + SourceIndex(0) -5 >Emitted(9, 21) Source(17, 21) + SourceIndex(0) -6 >Emitted(9, 23) Source(17, 23) + SourceIndex(0) -7 >Emitted(9, 24) Source(17, 24) + SourceIndex(0) +1 >Emitted(10, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(10, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(10, 11) Source(17, 11) + SourceIndex(0) +4 >Emitted(10, 15) Source(17, 15) + SourceIndex(0) +5 >Emitted(10, 21) Source(17, 21) + SourceIndex(0) +6 >Emitted(10, 23) Source(17, 23) + SourceIndex(0) +7 >Emitted(10, 24) Source(17, 24) + SourceIndex(0) --- >>> console.log(skillA[0] + skillA[1]); 1->^^^^ @@ -417,22 +418,22 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2 14> ] 15> ) 16> ; -1->Emitted(10, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(10, 12) Source(18, 12) + SourceIndex(0) -3 >Emitted(10, 13) Source(18, 13) + SourceIndex(0) -4 >Emitted(10, 16) Source(18, 16) + SourceIndex(0) -5 >Emitted(10, 17) Source(18, 17) + SourceIndex(0) -6 >Emitted(10, 23) Source(18, 23) + SourceIndex(0) -7 >Emitted(10, 24) Source(18, 24) + SourceIndex(0) -8 >Emitted(10, 25) Source(18, 25) + SourceIndex(0) -9 >Emitted(10, 26) Source(18, 26) + SourceIndex(0) -10>Emitted(10, 29) Source(18, 29) + SourceIndex(0) -11>Emitted(10, 35) Source(18, 35) + SourceIndex(0) -12>Emitted(10, 36) Source(18, 36) + SourceIndex(0) -13>Emitted(10, 37) Source(18, 37) + SourceIndex(0) -14>Emitted(10, 38) Source(18, 38) + SourceIndex(0) -15>Emitted(10, 39) Source(18, 39) + SourceIndex(0) -16>Emitted(10, 40) Source(18, 40) + SourceIndex(0) +1->Emitted(11, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(11, 12) Source(18, 12) + SourceIndex(0) +3 >Emitted(11, 13) Source(18, 13) + SourceIndex(0) +4 >Emitted(11, 16) Source(18, 16) + SourceIndex(0) +5 >Emitted(11, 17) Source(18, 17) + SourceIndex(0) +6 >Emitted(11, 23) Source(18, 23) + SourceIndex(0) +7 >Emitted(11, 24) Source(18, 24) + SourceIndex(0) +8 >Emitted(11, 25) Source(18, 25) + SourceIndex(0) +9 >Emitted(11, 26) Source(18, 26) + SourceIndex(0) +10>Emitted(11, 29) Source(18, 29) + SourceIndex(0) +11>Emitted(11, 35) Source(18, 35) + SourceIndex(0) +12>Emitted(11, 36) Source(18, 36) + SourceIndex(0) +13>Emitted(11, 37) Source(18, 37) + SourceIndex(0) +14>Emitted(11, 38) Source(18, 38) + SourceIndex(0) +15>Emitted(11, 39) Source(18, 39) + SourceIndex(0) +16>Emitted(11, 40) Source(18, 40) + SourceIndex(0) --- >>>} 1 > @@ -441,7 +442,7 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern2 1 > > 2 >} -1 >Emitted(11, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(11, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(12, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(12, 2) Source(19, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPattern2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js index 1969e3095775c..dc2c9c92a0a49 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js @@ -59,6 +59,7 @@ function getMultiRobotB() { } //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; var robotA = [1, "mower", "mowing"]; var robotB = [2, "trimmer", "trimming"]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js.map index cbc2e0bf051c5..8c7eac69fb005 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js","sourceRoot":"","sources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cAAc;IACnB,OAAO,WAAW,CAAC;AACvB,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9hLCBfYiwgX2MsIF9kLCBfZSwgX2YsIF9nLCBfaCwgX2osIF9rLCBfbCwgX20sIF9vOw0KdmFyIHJvYm90QSA9IFsxLCAibW93ZXIiLCAibW93aW5nIl07DQp2YXIgcm9ib3RCID0gWzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl07DQp2YXIgbXVsdGlSb2JvdEEgPSBbIm1vd2VyIiwgWyJtb3dpbmciLCAiIl1dOw0KdmFyIG11bHRpUm9ib3RCID0gWyJ0cmltbWVyIiwgWyJ0cmltbWluZyIsICJlZGdpbmciXV07DQp2YXIgbmFtZUEsIG51bWJlckIsIG5hbWVCLCBza2lsbEI7DQp2YXIgcm9ib3RBSW5mbzsNCnZhciBtdWx0aVNraWxsQiwgbmFtZU1CLCBwcmltYXJ5U2tpbGxCLCBzZWNvbmRhcnlTa2lsbEI7DQp2YXIgbXVsdGlSb2JvdEFJbmZvOw0KbmFtZUEgPSByb2JvdEFbMV07DQpfYSA9IGdldFJvYm90QigpLCBuYW1lQiA9IF9hWzFdOw0KX2IgPSBbMiwgInRyaW1tZXIiLCAidHJpbW1pbmciXSwgbmFtZUIgPSBfYlsxXTsNCm11bHRpU2tpbGxCID0gbXVsdGlSb2JvdEJbMV07DQpfYyA9IGdldE11bHRpUm9ib3RCKCksIG11bHRpU2tpbGxCID0gX2NbMV07DQpfZCA9IFsicm9vbWJhIiwgWyJ2YWN1dW0iLCAibW9wcGluZyJdXSwgbXVsdGlTa2lsbEIgPSBfZFsxXTsNCm51bWJlckIgPSByb2JvdEJbMF07DQpudW1iZXJCID0gZ2V0Um9ib3RCKClbMF07DQpudW1iZXJCID0gWzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl1bMF07DQpuYW1lTUIgPSBtdWx0aVJvYm90QlswXTsNCm5hbWVNQiA9IGdldE11bHRpUm9ib3RCKClbMF07DQpuYW1lTUIgPS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bnVtYmVyQiwgLi4ucm9ib3RBSW5mb10gPSByb2JvdEI7CltudW1iZXJCLCAuLi5yb2JvdEFJbmZvXSA9IGdldFJvYm90QigpOwpbbnVtYmVyQiwgLi4ucm9ib3RBSW5mb10gPSA8Um9ib3Q+WzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl07ClsuLi5tdWx0aVJvYm90QUluZm9dID0gbXVsdGlSb2JvdEE7ClsuLi5tdWx0aVJvYm90QUluZm9dID0gZ2V0TXVsdGlSb2JvdEIoKTsKWy4uLm11bHRpUm9ib3RBSW5mb10gPSBbInRyaW1tZXIiLCBbInRyaW1taW5nIiwgImVkZ2luZyJdXTsKCmlmIChuYW1lQSA9PSBuYW1lQikgewogICAgY29uc29sZS5sb2coc2tpbGxCKTsKfQoKZnVuY3Rpb24gZ2V0Um9ib3RCKCkgewogICAgcmV0dXJuIHJvYm90QjsKfQoKZnVuY3Rpb24gZ2V0TXVsdGlSb2JvdEIoKSB7CiAgICByZXR1cm4gbXVsdGlSb2JvdEI7Cn0= +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.ts"],"names":[],"mappings":";;AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAC/C,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AAEzE,IAAI,KAAa,EAAE,OAAe,EAAE,KAAa,EAAE,MAAc,CAAC;AAClE,IAAI,UAA+B,CAAC;AAEpC,IAAI,WAA6B,EAAE,MAAc,EAAE,aAAqB,EAAE,eAAuB,CA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rpb24gZ2V0Um9ib3RCKCkgewogICAgcmV0dXJuIHJvYm90QjsKfQoKZnVuY3Rpb24gZ2V0TXVsdGlSb2JvdEIoKSB7CiAgICByZXR1cm4gbXVsdGlSb2JvdEI7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.sourcemap.txt index ba81aaea5271d..ff0cbbdf09b0a 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.t emittedFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o; >>>var robotA = [1, "mower", "mowing"]; 1 > @@ -41,18 +42,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 10> "mowing" 11> ] 12> ; -1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(7, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(7, 21) + SourceIndex(0) -5 >Emitted(2, 15) Source(7, 22) + SourceIndex(0) -6 >Emitted(2, 16) Source(7, 23) + SourceIndex(0) -7 >Emitted(2, 18) Source(7, 25) + SourceIndex(0) -8 >Emitted(2, 25) Source(7, 32) + SourceIndex(0) -9 >Emitted(2, 27) Source(7, 34) + SourceIndex(0) -10>Emitted(2, 35) Source(7, 42) + SourceIndex(0) -11>Emitted(2, 36) Source(7, 43) + SourceIndex(0) -12>Emitted(2, 37) Source(7, 44) + SourceIndex(0) +1 >Emitted(3, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(7, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(7, 21) + SourceIndex(0) +5 >Emitted(3, 15) Source(7, 22) + SourceIndex(0) +6 >Emitted(3, 16) Source(7, 23) + SourceIndex(0) +7 >Emitted(3, 18) Source(7, 25) + SourceIndex(0) +8 >Emitted(3, 25) Source(7, 32) + SourceIndex(0) +9 >Emitted(3, 27) Source(7, 34) + SourceIndex(0) +10>Emitted(3, 35) Source(7, 42) + SourceIndex(0) +11>Emitted(3, 36) Source(7, 43) + SourceIndex(0) +12>Emitted(3, 37) Source(7, 44) + SourceIndex(0) --- >>>var robotB = [2, "trimmer", "trimming"]; 1-> @@ -81,18 +82,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 10> "trimming" 11> ] 12> ; -1->Emitted(3, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(3, 11) Source(8, 11) + SourceIndex(0) -4 >Emitted(3, 14) Source(8, 21) + SourceIndex(0) -5 >Emitted(3, 15) Source(8, 22) + SourceIndex(0) -6 >Emitted(3, 16) Source(8, 23) + SourceIndex(0) -7 >Emitted(3, 18) Source(8, 25) + SourceIndex(0) -8 >Emitted(3, 27) Source(8, 34) + SourceIndex(0) -9 >Emitted(3, 29) Source(8, 36) + SourceIndex(0) -10>Emitted(3, 39) Source(8, 46) + SourceIndex(0) -11>Emitted(3, 40) Source(8, 47) + SourceIndex(0) -12>Emitted(3, 41) Source(8, 48) + SourceIndex(0) +1->Emitted(4, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(4, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(4, 14) Source(8, 21) + SourceIndex(0) +5 >Emitted(4, 15) Source(8, 22) + SourceIndex(0) +6 >Emitted(4, 16) Source(8, 23) + SourceIndex(0) +7 >Emitted(4, 18) Source(8, 25) + SourceIndex(0) +8 >Emitted(4, 27) Source(8, 34) + SourceIndex(0) +9 >Emitted(4, 29) Source(8, 36) + SourceIndex(0) +10>Emitted(4, 39) Source(8, 46) + SourceIndex(0) +11>Emitted(4, 40) Source(8, 47) + SourceIndex(0) +12>Emitted(4, 41) Source(8, 48) + SourceIndex(0) --- >>>var multiRobotA = ["mower", ["mowing", ""]]; 1-> @@ -125,20 +126,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 12> ] 13> ] 14> ; -1->Emitted(4, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(4, 5) Source(9, 5) + SourceIndex(0) -3 >Emitted(4, 16) Source(9, 16) + SourceIndex(0) -4 >Emitted(4, 19) Source(9, 38) + SourceIndex(0) -5 >Emitted(4, 20) Source(9, 39) + SourceIndex(0) -6 >Emitted(4, 27) Source(9, 46) + SourceIndex(0) -7 >Emitted(4, 29) Source(9, 48) + SourceIndex(0) -8 >Emitted(4, 30) Source(9, 49) + SourceIndex(0) -9 >Emitted(4, 38) Source(9, 57) + SourceIndex(0) -10>Emitted(4, 40) Source(9, 59) + SourceIndex(0) -11>Emitted(4, 42) Source(9, 61) + SourceIndex(0) -12>Emitted(4, 43) Source(9, 62) + SourceIndex(0) -13>Emitted(4, 44) Source(9, 63) + SourceIndex(0) -14>Emitted(4, 45) Source(9, 64) + SourceIndex(0) +1->Emitted(5, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(5, 5) Source(9, 5) + SourceIndex(0) +3 >Emitted(5, 16) Source(9, 16) + SourceIndex(0) +4 >Emitted(5, 19) Source(9, 38) + SourceIndex(0) +5 >Emitted(5, 20) Source(9, 39) + SourceIndex(0) +6 >Emitted(5, 27) Source(9, 46) + SourceIndex(0) +7 >Emitted(5, 29) Source(9, 48) + SourceIndex(0) +8 >Emitted(5, 30) Source(9, 49) + SourceIndex(0) +9 >Emitted(5, 38) Source(9, 57) + SourceIndex(0) +10>Emitted(5, 40) Source(9, 59) + SourceIndex(0) +11>Emitted(5, 42) Source(9, 61) + SourceIndex(0) +12>Emitted(5, 43) Source(9, 62) + SourceIndex(0) +13>Emitted(5, 44) Source(9, 63) + SourceIndex(0) +14>Emitted(5, 45) Source(9, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -170,20 +171,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 12> ] 13> ] 14> ; -1->Emitted(5, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(5, 5) Source(10, 5) + SourceIndex(0) -3 >Emitted(5, 16) Source(10, 16) + SourceIndex(0) -4 >Emitted(5, 19) Source(10, 38) + SourceIndex(0) -5 >Emitted(5, 20) Source(10, 39) + SourceIndex(0) -6 >Emitted(5, 29) Source(10, 48) + SourceIndex(0) -7 >Emitted(5, 31) Source(10, 50) + SourceIndex(0) -8 >Emitted(5, 32) Source(10, 51) + SourceIndex(0) -9 >Emitted(5, 42) Source(10, 61) + SourceIndex(0) -10>Emitted(5, 44) Source(10, 63) + SourceIndex(0) -11>Emitted(5, 52) Source(10, 71) + SourceIndex(0) -12>Emitted(5, 53) Source(10, 72) + SourceIndex(0) -13>Emitted(5, 54) Source(10, 73) + SourceIndex(0) -14>Emitted(5, 55) Source(10, 74) + SourceIndex(0) +1->Emitted(6, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(6, 5) Source(10, 5) + SourceIndex(0) +3 >Emitted(6, 16) Source(10, 16) + SourceIndex(0) +4 >Emitted(6, 19) Source(10, 38) + SourceIndex(0) +5 >Emitted(6, 20) Source(10, 39) + SourceIndex(0) +6 >Emitted(6, 29) Source(10, 48) + SourceIndex(0) +7 >Emitted(6, 31) Source(10, 50) + SourceIndex(0) +8 >Emitted(6, 32) Source(10, 51) + SourceIndex(0) +9 >Emitted(6, 42) Source(10, 61) + SourceIndex(0) +10>Emitted(6, 44) Source(10, 63) + SourceIndex(0) +11>Emitted(6, 52) Source(10, 71) + SourceIndex(0) +12>Emitted(6, 53) Source(10, 72) + SourceIndex(0) +13>Emitted(6, 54) Source(10, 73) + SourceIndex(0) +14>Emitted(6, 55) Source(10, 74) + SourceIndex(0) --- >>>var nameA, numberB, nameB, skillB; 1 > @@ -208,16 +209,16 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 8 > , 9 > skillB: string 10> ; -1 >Emitted(6, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(6, 5) Source(12, 5) + SourceIndex(0) -3 >Emitted(6, 10) Source(12, 18) + SourceIndex(0) -4 >Emitted(6, 12) Source(12, 20) + SourceIndex(0) -5 >Emitted(6, 19) Source(12, 35) + SourceIndex(0) -6 >Emitted(6, 21) Source(12, 37) + SourceIndex(0) -7 >Emitted(6, 26) Source(12, 50) + SourceIndex(0) -8 >Emitted(6, 28) Source(12, 52) + SourceIndex(0) -9 >Emitted(6, 34) Source(12, 66) + SourceIndex(0) -10>Emitted(6, 35) Source(12, 67) + SourceIndex(0) +1 >Emitted(7, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(7, 5) Source(12, 5) + SourceIndex(0) +3 >Emitted(7, 10) Source(12, 18) + SourceIndex(0) +4 >Emitted(7, 12) Source(12, 20) + SourceIndex(0) +5 >Emitted(7, 19) Source(12, 35) + SourceIndex(0) +6 >Emitted(7, 21) Source(12, 37) + SourceIndex(0) +7 >Emitted(7, 26) Source(12, 50) + SourceIndex(0) +8 >Emitted(7, 28) Source(12, 52) + SourceIndex(0) +9 >Emitted(7, 34) Source(12, 66) + SourceIndex(0) +10>Emitted(7, 35) Source(12, 67) + SourceIndex(0) --- >>>var robotAInfo; 1 > @@ -230,10 +231,10 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 2 >let 3 > robotAInfo: (number | string)[] 4 > ; -1 >Emitted(7, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(7, 15) Source(13, 36) + SourceIndex(0) -4 >Emitted(7, 16) Source(13, 37) + SourceIndex(0) +1 >Emitted(8, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(8, 15) Source(13, 36) + SourceIndex(0) +4 >Emitted(8, 16) Source(13, 37) + SourceIndex(0) --- >>>var multiSkillB, nameMB, primarySkillB, secondarySkillB; 1-> @@ -258,16 +259,16 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 8 > , 9 > secondarySkillB: string 10> ; -1->Emitted(8, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(8, 5) Source(15, 5) + SourceIndex(0) -3 >Emitted(8, 16) Source(15, 34) + SourceIndex(0) -4 >Emitted(8, 18) Source(15, 36) + SourceIndex(0) -5 >Emitted(8, 24) Source(15, 50) + SourceIndex(0) -6 >Emitted(8, 26) Source(15, 52) + SourceIndex(0) -7 >Emitted(8, 39) Source(15, 73) + SourceIndex(0) -8 >Emitted(8, 41) Source(15, 75) + SourceIndex(0) -9 >Emitted(8, 56) Source(15, 98) + SourceIndex(0) -10>Emitted(8, 57) Source(15, 99) + SourceIndex(0) +1->Emitted(9, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(9, 5) Source(15, 5) + SourceIndex(0) +3 >Emitted(9, 16) Source(15, 34) + SourceIndex(0) +4 >Emitted(9, 18) Source(15, 36) + SourceIndex(0) +5 >Emitted(9, 24) Source(15, 50) + SourceIndex(0) +6 >Emitted(9, 26) Source(15, 52) + SourceIndex(0) +7 >Emitted(9, 39) Source(15, 73) + SourceIndex(0) +8 >Emitted(9, 41) Source(15, 75) + SourceIndex(0) +9 >Emitted(9, 56) Source(15, 98) + SourceIndex(0) +10>Emitted(9, 57) Source(15, 99) + SourceIndex(0) --- >>>var multiRobotAInfo; 1 > @@ -279,10 +280,10 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 2 >let 3 > multiRobotAInfo: (string | [string, string])[] 4 > ; -1 >Emitted(9, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(9, 5) Source(16, 5) + SourceIndex(0) -3 >Emitted(9, 20) Source(16, 51) + SourceIndex(0) -4 >Emitted(9, 21) Source(16, 52) + SourceIndex(0) +1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(10, 5) Source(16, 5) + SourceIndex(0) +3 >Emitted(10, 20) Source(16, 51) + SourceIndex(0) +4 >Emitted(10, 21) Source(16, 52) + SourceIndex(0) --- >>>nameA = robotA[1]; 1 > @@ -300,12 +301,12 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 4 > robotA 5 > 6 > ] = robotA; -1 >Emitted(10, 1) Source(18, 4) + SourceIndex(0) -2 >Emitted(10, 6) Source(18, 9) + SourceIndex(0) -3 >Emitted(10, 9) Source(18, 13) + SourceIndex(0) -4 >Emitted(10, 15) Source(18, 19) + SourceIndex(0) -5 >Emitted(10, 18) Source(18, 9) + SourceIndex(0) -6 >Emitted(10, 19) Source(18, 20) + SourceIndex(0) +1 >Emitted(11, 1) Source(18, 4) + SourceIndex(0) +2 >Emitted(11, 6) Source(18, 9) + SourceIndex(0) +3 >Emitted(11, 9) Source(18, 13) + SourceIndex(0) +4 >Emitted(11, 15) Source(18, 19) + SourceIndex(0) +5 >Emitted(11, 18) Source(18, 9) + SourceIndex(0) +6 >Emitted(11, 19) Source(18, 20) + SourceIndex(0) --- >>>_a = getRobotB(), nameB = _a[1]; 1-> @@ -326,14 +327,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 6 > nameB 7 > 8 > ] = getRobotB(); -1->Emitted(11, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(11, 6) Source(19, 13) + SourceIndex(0) -3 >Emitted(11, 15) Source(19, 22) + SourceIndex(0) -4 >Emitted(11, 17) Source(19, 24) + SourceIndex(0) -5 >Emitted(11, 19) Source(19, 4) + SourceIndex(0) -6 >Emitted(11, 24) Source(19, 9) + SourceIndex(0) -7 >Emitted(11, 32) Source(19, 9) + SourceIndex(0) -8 >Emitted(11, 33) Source(19, 25) + SourceIndex(0) +1->Emitted(12, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(12, 6) Source(19, 13) + SourceIndex(0) +3 >Emitted(12, 15) Source(19, 22) + SourceIndex(0) +4 >Emitted(12, 17) Source(19, 24) + SourceIndex(0) +5 >Emitted(12, 19) Source(19, 4) + SourceIndex(0) +6 >Emitted(12, 24) Source(19, 9) + SourceIndex(0) +7 >Emitted(12, 32) Source(19, 9) + SourceIndex(0) +8 >Emitted(12, 33) Source(19, 25) + SourceIndex(0) --- >>>_b = [2, "trimmer", "trimming"], nameB = _b[1]; 1-> @@ -363,19 +364,19 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 11> nameB 12> 13> ] = [2, "trimmer", "trimming"]; -1->Emitted(12, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(12, 6) Source(20, 13) + SourceIndex(0) -3 >Emitted(12, 7) Source(20, 14) + SourceIndex(0) -4 >Emitted(12, 8) Source(20, 15) + SourceIndex(0) -5 >Emitted(12, 10) Source(20, 17) + SourceIndex(0) -6 >Emitted(12, 19) Source(20, 26) + SourceIndex(0) -7 >Emitted(12, 21) Source(20, 28) + SourceIndex(0) -8 >Emitted(12, 31) Source(20, 38) + SourceIndex(0) -9 >Emitted(12, 32) Source(20, 39) + SourceIndex(0) -10>Emitted(12, 34) Source(20, 4) + SourceIndex(0) -11>Emitted(12, 39) Source(20, 9) + SourceIndex(0) -12>Emitted(12, 47) Source(20, 9) + SourceIndex(0) -13>Emitted(12, 48) Source(20, 40) + SourceIndex(0) +1->Emitted(13, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(13, 6) Source(20, 13) + SourceIndex(0) +3 >Emitted(13, 7) Source(20, 14) + SourceIndex(0) +4 >Emitted(13, 8) Source(20, 15) + SourceIndex(0) +5 >Emitted(13, 10) Source(20, 17) + SourceIndex(0) +6 >Emitted(13, 19) Source(20, 26) + SourceIndex(0) +7 >Emitted(13, 21) Source(20, 28) + SourceIndex(0) +8 >Emitted(13, 31) Source(20, 38) + SourceIndex(0) +9 >Emitted(13, 32) Source(20, 39) + SourceIndex(0) +10>Emitted(13, 34) Source(20, 4) + SourceIndex(0) +11>Emitted(13, 39) Source(20, 9) + SourceIndex(0) +12>Emitted(13, 47) Source(20, 9) + SourceIndex(0) +13>Emitted(13, 48) Source(20, 40) + SourceIndex(0) --- >>>multiSkillB = multiRobotB[1]; 1 > @@ -392,12 +393,12 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 4 > multiRobotB 5 > 6 > ] = multiRobotB; -1 >Emitted(13, 1) Source(21, 4) + SourceIndex(0) -2 >Emitted(13, 12) Source(21, 15) + SourceIndex(0) -3 >Emitted(13, 15) Source(21, 19) + SourceIndex(0) -4 >Emitted(13, 26) Source(21, 30) + SourceIndex(0) -5 >Emitted(13, 29) Source(21, 15) + SourceIndex(0) -6 >Emitted(13, 30) Source(21, 31) + SourceIndex(0) +1 >Emitted(14, 1) Source(21, 4) + SourceIndex(0) +2 >Emitted(14, 12) Source(21, 15) + SourceIndex(0) +3 >Emitted(14, 15) Source(21, 19) + SourceIndex(0) +4 >Emitted(14, 26) Source(21, 30) + SourceIndex(0) +5 >Emitted(14, 29) Source(21, 15) + SourceIndex(0) +6 >Emitted(14, 30) Source(21, 31) + SourceIndex(0) --- >>>_c = getMultiRobotB(), multiSkillB = _c[1]; 1-> @@ -418,14 +419,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 6 > multiSkillB 7 > 8 > ] = getMultiRobotB(); -1->Emitted(14, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(14, 6) Source(22, 19) + SourceIndex(0) -3 >Emitted(14, 20) Source(22, 33) + SourceIndex(0) -4 >Emitted(14, 22) Source(22, 35) + SourceIndex(0) -5 >Emitted(14, 24) Source(22, 4) + SourceIndex(0) -6 >Emitted(14, 35) Source(22, 15) + SourceIndex(0) -7 >Emitted(14, 43) Source(22, 15) + SourceIndex(0) -8 >Emitted(14, 44) Source(22, 36) + SourceIndex(0) +1->Emitted(15, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(15, 6) Source(22, 19) + SourceIndex(0) +3 >Emitted(15, 20) Source(22, 33) + SourceIndex(0) +4 >Emitted(15, 22) Source(22, 35) + SourceIndex(0) +5 >Emitted(15, 24) Source(22, 4) + SourceIndex(0) +6 >Emitted(15, 35) Source(22, 15) + SourceIndex(0) +7 >Emitted(15, 43) Source(22, 15) + SourceIndex(0) +8 >Emitted(15, 44) Source(22, 36) + SourceIndex(0) --- >>>_d = ["roomba", ["vacuum", "mopping"]], multiSkillB = _d[1]; 1-> @@ -459,21 +460,21 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 13> multiSkillB 14> 15> ] = ["roomba", ["vacuum", "mopping"]]; -1->Emitted(15, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(15, 6) Source(23, 19) + SourceIndex(0) -3 >Emitted(15, 7) Source(23, 20) + SourceIndex(0) -4 >Emitted(15, 15) Source(23, 28) + SourceIndex(0) -5 >Emitted(15, 17) Source(23, 30) + SourceIndex(0) -6 >Emitted(15, 18) Source(23, 31) + SourceIndex(0) -7 >Emitted(15, 26) Source(23, 39) + SourceIndex(0) -8 >Emitted(15, 28) Source(23, 41) + SourceIndex(0) -9 >Emitted(15, 37) Source(23, 50) + SourceIndex(0) -10>Emitted(15, 38) Source(23, 51) + SourceIndex(0) -11>Emitted(15, 39) Source(23, 52) + SourceIndex(0) -12>Emitted(15, 41) Source(23, 4) + SourceIndex(0) -13>Emitted(15, 52) Source(23, 15) + SourceIndex(0) -14>Emitted(15, 60) Source(23, 15) + SourceIndex(0) -15>Emitted(15, 61) Source(23, 53) + SourceIndex(0) +1->Emitted(16, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(16, 6) Source(23, 19) + SourceIndex(0) +3 >Emitted(16, 7) Source(23, 20) + SourceIndex(0) +4 >Emitted(16, 15) Source(23, 28) + SourceIndex(0) +5 >Emitted(16, 17) Source(23, 30) + SourceIndex(0) +6 >Emitted(16, 18) Source(23, 31) + SourceIndex(0) +7 >Emitted(16, 26) Source(23, 39) + SourceIndex(0) +8 >Emitted(16, 28) Source(23, 41) + SourceIndex(0) +9 >Emitted(16, 37) Source(23, 50) + SourceIndex(0) +10>Emitted(16, 38) Source(23, 51) + SourceIndex(0) +11>Emitted(16, 39) Source(23, 52) + SourceIndex(0) +12>Emitted(16, 41) Source(23, 4) + SourceIndex(0) +13>Emitted(16, 52) Source(23, 15) + SourceIndex(0) +14>Emitted(16, 60) Source(23, 15) + SourceIndex(0) +15>Emitted(16, 61) Source(23, 53) + SourceIndex(0) --- >>>numberB = robotB[0]; 1 > @@ -491,12 +492,12 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 4 > robotB 5 > 6 > ] = robotB; -1 >Emitted(16, 1) Source(25, 2) + SourceIndex(0) -2 >Emitted(16, 8) Source(25, 9) + SourceIndex(0) -3 >Emitted(16, 11) Source(25, 13) + SourceIndex(0) -4 >Emitted(16, 17) Source(25, 19) + SourceIndex(0) -5 >Emitted(16, 20) Source(25, 9) + SourceIndex(0) -6 >Emitted(16, 21) Source(25, 20) + SourceIndex(0) +1 >Emitted(17, 1) Source(25, 2) + SourceIndex(0) +2 >Emitted(17, 8) Source(25, 9) + SourceIndex(0) +3 >Emitted(17, 11) Source(25, 13) + SourceIndex(0) +4 >Emitted(17, 17) Source(25, 19) + SourceIndex(0) +5 >Emitted(17, 20) Source(25, 9) + SourceIndex(0) +6 >Emitted(17, 21) Source(25, 20) + SourceIndex(0) --- >>>numberB = getRobotB()[0]; 1-> @@ -515,13 +516,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 5 > () 6 > 7 > ] = getRobotB(); -1->Emitted(17, 1) Source(26, 2) + SourceIndex(0) -2 >Emitted(17, 8) Source(26, 9) + SourceIndex(0) -3 >Emitted(17, 11) Source(26, 13) + SourceIndex(0) -4 >Emitted(17, 20) Source(26, 22) + SourceIndex(0) -5 >Emitted(17, 22) Source(26, 24) + SourceIndex(0) -6 >Emitted(17, 25) Source(26, 9) + SourceIndex(0) -7 >Emitted(17, 26) Source(26, 25) + SourceIndex(0) +1->Emitted(18, 1) Source(26, 2) + SourceIndex(0) +2 >Emitted(18, 8) Source(26, 9) + SourceIndex(0) +3 >Emitted(18, 11) Source(26, 13) + SourceIndex(0) +4 >Emitted(18, 20) Source(26, 22) + SourceIndex(0) +5 >Emitted(18, 22) Source(26, 24) + SourceIndex(0) +6 >Emitted(18, 25) Source(26, 9) + SourceIndex(0) +7 >Emitted(18, 26) Source(26, 25) + SourceIndex(0) --- >>>numberB = [2, "trimmer", "trimming"][0]; 1-> @@ -549,18 +550,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 10> ] 11> 12> ] = [2, "trimmer", "trimming"]; -1->Emitted(18, 1) Source(27, 2) + SourceIndex(0) -2 >Emitted(18, 8) Source(27, 9) + SourceIndex(0) -3 >Emitted(18, 11) Source(27, 13) + SourceIndex(0) -4 >Emitted(18, 12) Source(27, 14) + SourceIndex(0) -5 >Emitted(18, 13) Source(27, 15) + SourceIndex(0) -6 >Emitted(18, 15) Source(27, 17) + SourceIndex(0) -7 >Emitted(18, 24) Source(27, 26) + SourceIndex(0) -8 >Emitted(18, 26) Source(27, 28) + SourceIndex(0) -9 >Emitted(18, 36) Source(27, 38) + SourceIndex(0) -10>Emitted(18, 37) Source(27, 39) + SourceIndex(0) -11>Emitted(18, 40) Source(27, 9) + SourceIndex(0) -12>Emitted(18, 41) Source(27, 40) + SourceIndex(0) +1->Emitted(19, 1) Source(27, 2) + SourceIndex(0) +2 >Emitted(19, 8) Source(27, 9) + SourceIndex(0) +3 >Emitted(19, 11) Source(27, 13) + SourceIndex(0) +4 >Emitted(19, 12) Source(27, 14) + SourceIndex(0) +5 >Emitted(19, 13) Source(27, 15) + SourceIndex(0) +6 >Emitted(19, 15) Source(27, 17) + SourceIndex(0) +7 >Emitted(19, 24) Source(27, 26) + SourceIndex(0) +8 >Emitted(19, 26) Source(27, 28) + SourceIndex(0) +9 >Emitted(19, 36) Source(27, 38) + SourceIndex(0) +10>Emitted(19, 37) Source(27, 39) + SourceIndex(0) +11>Emitted(19, 40) Source(27, 9) + SourceIndex(0) +12>Emitted(19, 41) Source(27, 40) + SourceIndex(0) --- >>>nameMB = multiRobotB[0]; 1 > @@ -577,12 +578,12 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 4 > multiRobotB 5 > 6 > ] = multiRobotB; -1 >Emitted(19, 1) Source(28, 2) + SourceIndex(0) -2 >Emitted(19, 7) Source(28, 8) + SourceIndex(0) -3 >Emitted(19, 10) Source(28, 12) + SourceIndex(0) -4 >Emitted(19, 21) Source(28, 23) + SourceIndex(0) -5 >Emitted(19, 24) Source(28, 8) + SourceIndex(0) -6 >Emitted(19, 25) Source(28, 24) + SourceIndex(0) +1 >Emitted(20, 1) Source(28, 2) + SourceIndex(0) +2 >Emitted(20, 7) Source(28, 8) + SourceIndex(0) +3 >Emitted(20, 10) Source(28, 12) + SourceIndex(0) +4 >Emitted(20, 21) Source(28, 23) + SourceIndex(0) +5 >Emitted(20, 24) Source(28, 8) + SourceIndex(0) +6 >Emitted(20, 25) Source(28, 24) + SourceIndex(0) --- >>>nameMB = getMultiRobotB()[0]; 1-> @@ -601,13 +602,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 5 > () 6 > 7 > ] = getMultiRobotB(); -1->Emitted(20, 1) Source(29, 2) + SourceIndex(0) -2 >Emitted(20, 7) Source(29, 8) + SourceIndex(0) -3 >Emitted(20, 10) Source(29, 12) + SourceIndex(0) -4 >Emitted(20, 24) Source(29, 26) + SourceIndex(0) -5 >Emitted(20, 26) Source(29, 28) + SourceIndex(0) -6 >Emitted(20, 29) Source(29, 8) + SourceIndex(0) -7 >Emitted(20, 30) Source(29, 29) + SourceIndex(0) +1->Emitted(21, 1) Source(29, 2) + SourceIndex(0) +2 >Emitted(21, 7) Source(29, 8) + SourceIndex(0) +3 >Emitted(21, 10) Source(29, 12) + SourceIndex(0) +4 >Emitted(21, 24) Source(29, 26) + SourceIndex(0) +5 >Emitted(21, 26) Source(29, 28) + SourceIndex(0) +6 >Emitted(21, 29) Source(29, 8) + SourceIndex(0) +7 >Emitted(21, 30) Source(29, 29) + SourceIndex(0) --- >>>nameMB = ["trimmer", ["trimming", "edging"]][0]; 1-> @@ -640,20 +641,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 12> ] 13> 14> ] = ["trimmer", ["trimming", "edging"]]; -1->Emitted(21, 1) Source(30, 2) + SourceIndex(0) -2 >Emitted(21, 7) Source(30, 8) + SourceIndex(0) -3 >Emitted(21, 10) Source(30, 12) + SourceIndex(0) -4 >Emitted(21, 11) Source(30, 13) + SourceIndex(0) -5 >Emitted(21, 20) Source(30, 22) + SourceIndex(0) -6 >Emitted(21, 22) Source(30, 24) + SourceIndex(0) -7 >Emitted(21, 23) Source(30, 25) + SourceIndex(0) -8 >Emitted(21, 33) Source(30, 35) + SourceIndex(0) -9 >Emitted(21, 35) Source(30, 37) + SourceIndex(0) -10>Emitted(21, 43) Source(30, 45) + SourceIndex(0) -11>Emitted(21, 44) Source(30, 46) + SourceIndex(0) -12>Emitted(21, 45) Source(30, 47) + SourceIndex(0) -13>Emitted(21, 48) Source(30, 8) + SourceIndex(0) -14>Emitted(21, 49) Source(30, 48) + SourceIndex(0) +1->Emitted(22, 1) Source(30, 2) + SourceIndex(0) +2 >Emitted(22, 7) Source(30, 8) + SourceIndex(0) +3 >Emitted(22, 10) Source(30, 12) + SourceIndex(0) +4 >Emitted(22, 11) Source(30, 13) + SourceIndex(0) +5 >Emitted(22, 20) Source(30, 22) + SourceIndex(0) +6 >Emitted(22, 22) Source(30, 24) + SourceIndex(0) +7 >Emitted(22, 23) Source(30, 25) + SourceIndex(0) +8 >Emitted(22, 33) Source(30, 35) + SourceIndex(0) +9 >Emitted(22, 35) Source(30, 37) + SourceIndex(0) +10>Emitted(22, 43) Source(30, 45) + SourceIndex(0) +11>Emitted(22, 44) Source(30, 46) + SourceIndex(0) +12>Emitted(22, 45) Source(30, 47) + SourceIndex(0) +13>Emitted(22, 48) Source(30, 8) + SourceIndex(0) +14>Emitted(22, 49) Source(30, 48) + SourceIndex(0) --- >>>numberB = robotB[0], nameB = robotB[1], skillB = robotB[2]; 1-> @@ -691,22 +692,22 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 14> robotB 15> 16> ] = robotB; -1->Emitted(22, 1) Source(32, 2) + SourceIndex(0) -2 >Emitted(22, 8) Source(32, 9) + SourceIndex(0) -3 >Emitted(22, 11) Source(32, 28) + SourceIndex(0) -4 >Emitted(22, 17) Source(32, 34) + SourceIndex(0) -5 >Emitted(22, 20) Source(32, 9) + SourceIndex(0) -6 >Emitted(22, 22) Source(32, 11) + SourceIndex(0) -7 >Emitted(22, 27) Source(32, 16) + SourceIndex(0) -8 >Emitted(22, 30) Source(32, 28) + SourceIndex(0) -9 >Emitted(22, 36) Source(32, 34) + SourceIndex(0) -10>Emitted(22, 39) Source(32, 16) + SourceIndex(0) -11>Emitted(22, 41) Source(32, 18) + SourceIndex(0) -12>Emitted(22, 47) Source(32, 24) + SourceIndex(0) -13>Emitted(22, 50) Source(32, 28) + SourceIndex(0) -14>Emitted(22, 56) Source(32, 34) + SourceIndex(0) -15>Emitted(22, 59) Source(32, 24) + SourceIndex(0) -16>Emitted(22, 60) Source(32, 35) + SourceIndex(0) +1->Emitted(23, 1) Source(32, 2) + SourceIndex(0) +2 >Emitted(23, 8) Source(32, 9) + SourceIndex(0) +3 >Emitted(23, 11) Source(32, 28) + SourceIndex(0) +4 >Emitted(23, 17) Source(32, 34) + SourceIndex(0) +5 >Emitted(23, 20) Source(32, 9) + SourceIndex(0) +6 >Emitted(23, 22) Source(32, 11) + SourceIndex(0) +7 >Emitted(23, 27) Source(32, 16) + SourceIndex(0) +8 >Emitted(23, 30) Source(32, 28) + SourceIndex(0) +9 >Emitted(23, 36) Source(32, 34) + SourceIndex(0) +10>Emitted(23, 39) Source(32, 16) + SourceIndex(0) +11>Emitted(23, 41) Source(32, 18) + SourceIndex(0) +12>Emitted(23, 47) Source(32, 24) + SourceIndex(0) +13>Emitted(23, 50) Source(32, 28) + SourceIndex(0) +14>Emitted(23, 56) Source(32, 34) + SourceIndex(0) +15>Emitted(23, 59) Source(32, 24) + SourceIndex(0) +16>Emitted(23, 60) Source(32, 35) + SourceIndex(0) --- >>>_e = getRobotB(), numberB = _e[0], nameB = _e[1], skillB = _e[2]; 1-> @@ -739,20 +740,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 12> skillB 13> 14> ] = getRobotB(); -1->Emitted(23, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(23, 6) Source(33, 28) + SourceIndex(0) -3 >Emitted(23, 15) Source(33, 37) + SourceIndex(0) -4 >Emitted(23, 17) Source(33, 39) + SourceIndex(0) -5 >Emitted(23, 19) Source(33, 2) + SourceIndex(0) -6 >Emitted(23, 26) Source(33, 9) + SourceIndex(0) -7 >Emitted(23, 34) Source(33, 9) + SourceIndex(0) -8 >Emitted(23, 36) Source(33, 11) + SourceIndex(0) -9 >Emitted(23, 41) Source(33, 16) + SourceIndex(0) -10>Emitted(23, 49) Source(33, 16) + SourceIndex(0) -11>Emitted(23, 51) Source(33, 18) + SourceIndex(0) -12>Emitted(23, 57) Source(33, 24) + SourceIndex(0) -13>Emitted(23, 65) Source(33, 24) + SourceIndex(0) -14>Emitted(23, 66) Source(33, 40) + SourceIndex(0) +1->Emitted(24, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(24, 6) Source(33, 28) + SourceIndex(0) +3 >Emitted(24, 15) Source(33, 37) + SourceIndex(0) +4 >Emitted(24, 17) Source(33, 39) + SourceIndex(0) +5 >Emitted(24, 19) Source(33, 2) + SourceIndex(0) +6 >Emitted(24, 26) Source(33, 9) + SourceIndex(0) +7 >Emitted(24, 34) Source(33, 9) + SourceIndex(0) +8 >Emitted(24, 36) Source(33, 11) + SourceIndex(0) +9 >Emitted(24, 41) Source(33, 16) + SourceIndex(0) +10>Emitted(24, 49) Source(33, 16) + SourceIndex(0) +11>Emitted(24, 51) Source(33, 18) + SourceIndex(0) +12>Emitted(24, 57) Source(33, 24) + SourceIndex(0) +13>Emitted(24, 65) Source(33, 24) + SourceIndex(0) +14>Emitted(24, 66) Source(33, 40) + SourceIndex(0) --- >>>_f = [2, "trimmer", "trimming"], numberB = _f[0], nameB = _f[1], skillB = _f[2]; 1-> @@ -795,25 +796,25 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 17> skillB 18> 19> ] = [2, "trimmer", "trimming"]; -1->Emitted(24, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(24, 6) Source(34, 28) + SourceIndex(0) -3 >Emitted(24, 7) Source(34, 29) + SourceIndex(0) -4 >Emitted(24, 8) Source(34, 30) + SourceIndex(0) -5 >Emitted(24, 10) Source(34, 32) + SourceIndex(0) -6 >Emitted(24, 19) Source(34, 41) + SourceIndex(0) -7 >Emitted(24, 21) Source(34, 43) + SourceIndex(0) -8 >Emitted(24, 31) Source(34, 53) + SourceIndex(0) -9 >Emitted(24, 32) Source(34, 54) + SourceIndex(0) -10>Emitted(24, 34) Source(34, 2) + SourceIndex(0) -11>Emitted(24, 41) Source(34, 9) + SourceIndex(0) -12>Emitted(24, 49) Source(34, 9) + SourceIndex(0) -13>Emitted(24, 51) Source(34, 11) + SourceIndex(0) -14>Emitted(24, 56) Source(34, 16) + SourceIndex(0) -15>Emitted(24, 64) Source(34, 16) + SourceIndex(0) -16>Emitted(24, 66) Source(34, 18) + SourceIndex(0) -17>Emitted(24, 72) Source(34, 24) + SourceIndex(0) -18>Emitted(24, 80) Source(34, 24) + SourceIndex(0) -19>Emitted(24, 81) Source(34, 55) + SourceIndex(0) +1->Emitted(25, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(25, 6) Source(34, 28) + SourceIndex(0) +3 >Emitted(25, 7) Source(34, 29) + SourceIndex(0) +4 >Emitted(25, 8) Source(34, 30) + SourceIndex(0) +5 >Emitted(25, 10) Source(34, 32) + SourceIndex(0) +6 >Emitted(25, 19) Source(34, 41) + SourceIndex(0) +7 >Emitted(25, 21) Source(34, 43) + SourceIndex(0) +8 >Emitted(25, 31) Source(34, 53) + SourceIndex(0) +9 >Emitted(25, 32) Source(34, 54) + SourceIndex(0) +10>Emitted(25, 34) Source(34, 2) + SourceIndex(0) +11>Emitted(25, 41) Source(34, 9) + SourceIndex(0) +12>Emitted(25, 49) Source(34, 9) + SourceIndex(0) +13>Emitted(25, 51) Source(34, 11) + SourceIndex(0) +14>Emitted(25, 56) Source(34, 16) + SourceIndex(0) +15>Emitted(25, 64) Source(34, 16) + SourceIndex(0) +16>Emitted(25, 66) Source(34, 18) + SourceIndex(0) +17>Emitted(25, 72) Source(34, 24) + SourceIndex(0) +18>Emitted(25, 80) Source(34, 24) + SourceIndex(0) +19>Emitted(25, 81) Source(34, 55) + SourceIndex(0) --- >>>nameMB = multiRobotB[0], _g = multiRobotB[1], primarySkillB = _g[0], secondarySkillB = _g[1]; 1-> @@ -850,22 +851,22 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 14> secondarySkillB 15> 16> ]] = multiRobotB; -1->Emitted(25, 1) Source(35, 2) + SourceIndex(0) -2 >Emitted(25, 7) Source(35, 8) + SourceIndex(0) -3 >Emitted(25, 10) Source(35, 46) + SourceIndex(0) -4 >Emitted(25, 21) Source(35, 57) + SourceIndex(0) -5 >Emitted(25, 24) Source(35, 8) + SourceIndex(0) -6 >Emitted(25, 26) Source(35, 10) + SourceIndex(0) -7 >Emitted(25, 31) Source(35, 46) + SourceIndex(0) -8 >Emitted(25, 42) Source(35, 57) + SourceIndex(0) -9 >Emitted(25, 45) Source(35, 42) + SourceIndex(0) -10>Emitted(25, 47) Source(35, 11) + SourceIndex(0) -11>Emitted(25, 60) Source(35, 24) + SourceIndex(0) -12>Emitted(25, 68) Source(35, 24) + SourceIndex(0) -13>Emitted(25, 70) Source(35, 26) + SourceIndex(0) -14>Emitted(25, 85) Source(35, 41) + SourceIndex(0) -15>Emitted(25, 93) Source(35, 41) + SourceIndex(0) -16>Emitted(25, 94) Source(35, 58) + SourceIndex(0) +1->Emitted(26, 1) Source(35, 2) + SourceIndex(0) +2 >Emitted(26, 7) Source(35, 8) + SourceIndex(0) +3 >Emitted(26, 10) Source(35, 46) + SourceIndex(0) +4 >Emitted(26, 21) Source(35, 57) + SourceIndex(0) +5 >Emitted(26, 24) Source(35, 8) + SourceIndex(0) +6 >Emitted(26, 26) Source(35, 10) + SourceIndex(0) +7 >Emitted(26, 31) Source(35, 46) + SourceIndex(0) +8 >Emitted(26, 42) Source(35, 57) + SourceIndex(0) +9 >Emitted(26, 45) Source(35, 42) + SourceIndex(0) +10>Emitted(26, 47) Source(35, 11) + SourceIndex(0) +11>Emitted(26, 60) Source(35, 24) + SourceIndex(0) +12>Emitted(26, 68) Source(35, 24) + SourceIndex(0) +13>Emitted(26, 70) Source(35, 26) + SourceIndex(0) +14>Emitted(26, 85) Source(35, 41) + SourceIndex(0) +15>Emitted(26, 93) Source(35, 41) + SourceIndex(0) +16>Emitted(26, 94) Source(35, 58) + SourceIndex(0) --- >>>_h = getMultiRobotB(), nameMB = _h[0], _j = _h[1], primarySkillB = _j[0], secondarySkillB = _j[1]; 1-> @@ -902,22 +903,22 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 14> secondarySkillB 15> 16> ]] = getMultiRobotB(); -1->Emitted(26, 1) Source(36, 1) + SourceIndex(0) -2 >Emitted(26, 6) Source(36, 46) + SourceIndex(0) -3 >Emitted(26, 20) Source(36, 60) + SourceIndex(0) -4 >Emitted(26, 22) Source(36, 62) + SourceIndex(0) -5 >Emitted(26, 24) Source(36, 2) + SourceIndex(0) -6 >Emitted(26, 30) Source(36, 8) + SourceIndex(0) -7 >Emitted(26, 38) Source(36, 8) + SourceIndex(0) -8 >Emitted(26, 40) Source(36, 10) + SourceIndex(0) -9 >Emitted(26, 50) Source(36, 42) + SourceIndex(0) -10>Emitted(26, 52) Source(36, 11) + SourceIndex(0) -11>Emitted(26, 65) Source(36, 24) + SourceIndex(0) -12>Emitted(26, 73) Source(36, 24) + SourceIndex(0) -13>Emitted(26, 75) Source(36, 26) + SourceIndex(0) -14>Emitted(26, 90) Source(36, 41) + SourceIndex(0) -15>Emitted(26, 98) Source(36, 41) + SourceIndex(0) -16>Emitted(26, 99) Source(36, 63) + SourceIndex(0) +1->Emitted(27, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(27, 6) Source(36, 46) + SourceIndex(0) +3 >Emitted(27, 20) Source(36, 60) + SourceIndex(0) +4 >Emitted(27, 22) Source(36, 62) + SourceIndex(0) +5 >Emitted(27, 24) Source(36, 2) + SourceIndex(0) +6 >Emitted(27, 30) Source(36, 8) + SourceIndex(0) +7 >Emitted(27, 38) Source(36, 8) + SourceIndex(0) +8 >Emitted(27, 40) Source(36, 10) + SourceIndex(0) +9 >Emitted(27, 50) Source(36, 42) + SourceIndex(0) +10>Emitted(27, 52) Source(36, 11) + SourceIndex(0) +11>Emitted(27, 65) Source(36, 24) + SourceIndex(0) +12>Emitted(27, 73) Source(36, 24) + SourceIndex(0) +13>Emitted(27, 75) Source(36, 26) + SourceIndex(0) +14>Emitted(27, 90) Source(36, 41) + SourceIndex(0) +15>Emitted(27, 98) Source(36, 41) + SourceIndex(0) +16>Emitted(27, 99) Source(36, 63) + SourceIndex(0) --- >>>_k = ["trimmer", ["trimming", "edging"]], nameMB = _k[0], _l = _k[1], primarySkillB = _l[0], secondarySkillB = _l[1]; 1-> @@ -967,29 +968,29 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 21> secondarySkillB 22> 23> ]] = ["trimmer", ["trimming", "edging"]]; -1->Emitted(27, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(27, 6) Source(37, 46) + SourceIndex(0) -3 >Emitted(27, 7) Source(37, 47) + SourceIndex(0) -4 >Emitted(27, 16) Source(37, 56) + SourceIndex(0) -5 >Emitted(27, 18) Source(37, 58) + SourceIndex(0) -6 >Emitted(27, 19) Source(37, 59) + SourceIndex(0) -7 >Emitted(27, 29) Source(37, 69) + SourceIndex(0) -8 >Emitted(27, 31) Source(37, 71) + SourceIndex(0) -9 >Emitted(27, 39) Source(37, 79) + SourceIndex(0) -10>Emitted(27, 40) Source(37, 80) + SourceIndex(0) -11>Emitted(27, 41) Source(37, 81) + SourceIndex(0) -12>Emitted(27, 43) Source(37, 2) + SourceIndex(0) -13>Emitted(27, 49) Source(37, 8) + SourceIndex(0) -14>Emitted(27, 57) Source(37, 8) + SourceIndex(0) -15>Emitted(27, 59) Source(37, 10) + SourceIndex(0) -16>Emitted(27, 69) Source(37, 42) + SourceIndex(0) -17>Emitted(27, 71) Source(37, 11) + SourceIndex(0) -18>Emitted(27, 84) Source(37, 24) + SourceIndex(0) -19>Emitted(27, 92) Source(37, 24) + SourceIndex(0) -20>Emitted(27, 94) Source(37, 26) + SourceIndex(0) -21>Emitted(27, 109) Source(37, 41) + SourceIndex(0) -22>Emitted(27, 117) Source(37, 41) + SourceIndex(0) -23>Emitted(27, 118) Source(37, 82) + SourceIndex(0) +1->Emitted(28, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(28, 6) Source(37, 46) + SourceIndex(0) +3 >Emitted(28, 7) Source(37, 47) + SourceIndex(0) +4 >Emitted(28, 16) Source(37, 56) + SourceIndex(0) +5 >Emitted(28, 18) Source(37, 58) + SourceIndex(0) +6 >Emitted(28, 19) Source(37, 59) + SourceIndex(0) +7 >Emitted(28, 29) Source(37, 69) + SourceIndex(0) +8 >Emitted(28, 31) Source(37, 71) + SourceIndex(0) +9 >Emitted(28, 39) Source(37, 79) + SourceIndex(0) +10>Emitted(28, 40) Source(37, 80) + SourceIndex(0) +11>Emitted(28, 41) Source(37, 81) + SourceIndex(0) +12>Emitted(28, 43) Source(37, 2) + SourceIndex(0) +13>Emitted(28, 49) Source(37, 8) + SourceIndex(0) +14>Emitted(28, 57) Source(37, 8) + SourceIndex(0) +15>Emitted(28, 59) Source(37, 10) + SourceIndex(0) +16>Emitted(28, 69) Source(37, 42) + SourceIndex(0) +17>Emitted(28, 71) Source(37, 11) + SourceIndex(0) +18>Emitted(28, 84) Source(37, 24) + SourceIndex(0) +19>Emitted(28, 92) Source(37, 24) + SourceIndex(0) +20>Emitted(28, 94) Source(37, 26) + SourceIndex(0) +21>Emitted(28, 109) Source(37, 41) + SourceIndex(0) +22>Emitted(28, 117) Source(37, 41) + SourceIndex(0) +23>Emitted(28, 118) Source(37, 82) + SourceIndex(0) --- >>>numberB = robotB[0], robotAInfo = robotB.slice(1); 1 > @@ -1017,17 +1018,17 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 9 > robotB 10> 11> ] = robotB; -1 >Emitted(28, 1) Source(39, 2) + SourceIndex(0) -2 >Emitted(28, 8) Source(39, 9) + SourceIndex(0) -3 >Emitted(28, 11) Source(39, 28) + SourceIndex(0) -4 >Emitted(28, 17) Source(39, 34) + SourceIndex(0) -5 >Emitted(28, 20) Source(39, 9) + SourceIndex(0) -6 >Emitted(28, 22) Source(39, 14) + SourceIndex(0) -7 >Emitted(28, 32) Source(39, 24) + SourceIndex(0) -8 >Emitted(28, 35) Source(39, 28) + SourceIndex(0) -9 >Emitted(28, 41) Source(39, 34) + SourceIndex(0) -10>Emitted(28, 50) Source(39, 24) + SourceIndex(0) -11>Emitted(28, 51) Source(39, 35) + SourceIndex(0) +1 >Emitted(29, 1) Source(39, 2) + SourceIndex(0) +2 >Emitted(29, 8) Source(39, 9) + SourceIndex(0) +3 >Emitted(29, 11) Source(39, 28) + SourceIndex(0) +4 >Emitted(29, 17) Source(39, 34) + SourceIndex(0) +5 >Emitted(29, 20) Source(39, 9) + SourceIndex(0) +6 >Emitted(29, 22) Source(39, 14) + SourceIndex(0) +7 >Emitted(29, 32) Source(39, 24) + SourceIndex(0) +8 >Emitted(29, 35) Source(39, 28) + SourceIndex(0) +9 >Emitted(29, 41) Source(39, 34) + SourceIndex(0) +10>Emitted(29, 50) Source(39, 24) + SourceIndex(0) +11>Emitted(29, 51) Source(39, 35) + SourceIndex(0) --- >>>_m = getRobotB(), numberB = _m[0], robotAInfo = _m.slice(1); 1-> @@ -1054,17 +1055,17 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 9 > robotAInfo 10> 11> ] = getRobotB(); -1->Emitted(29, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(29, 6) Source(40, 28) + SourceIndex(0) -3 >Emitted(29, 15) Source(40, 37) + SourceIndex(0) -4 >Emitted(29, 17) Source(40, 39) + SourceIndex(0) -5 >Emitted(29, 19) Source(40, 2) + SourceIndex(0) -6 >Emitted(29, 26) Source(40, 9) + SourceIndex(0) -7 >Emitted(29, 34) Source(40, 9) + SourceIndex(0) -8 >Emitted(29, 36) Source(40, 14) + SourceIndex(0) -9 >Emitted(29, 46) Source(40, 24) + SourceIndex(0) -10>Emitted(29, 60) Source(40, 24) + SourceIndex(0) -11>Emitted(29, 61) Source(40, 40) + SourceIndex(0) +1->Emitted(30, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(30, 6) Source(40, 28) + SourceIndex(0) +3 >Emitted(30, 15) Source(40, 37) + SourceIndex(0) +4 >Emitted(30, 17) Source(40, 39) + SourceIndex(0) +5 >Emitted(30, 19) Source(40, 2) + SourceIndex(0) +6 >Emitted(30, 26) Source(40, 9) + SourceIndex(0) +7 >Emitted(30, 34) Source(40, 9) + SourceIndex(0) +8 >Emitted(30, 36) Source(40, 14) + SourceIndex(0) +9 >Emitted(30, 46) Source(40, 24) + SourceIndex(0) +10>Emitted(30, 60) Source(40, 24) + SourceIndex(0) +11>Emitted(30, 61) Source(40, 40) + SourceIndex(0) --- >>>_o = [2, "trimmer", "trimming"], numberB = _o[0], robotAInfo = _o.slice(1); 1-> @@ -1100,22 +1101,22 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 14> robotAInfo 15> 16> ] = [2, "trimmer", "trimming"]; -1->Emitted(30, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(30, 6) Source(41, 35) + SourceIndex(0) -3 >Emitted(30, 7) Source(41, 36) + SourceIndex(0) -4 >Emitted(30, 8) Source(41, 37) + SourceIndex(0) -5 >Emitted(30, 10) Source(41, 39) + SourceIndex(0) -6 >Emitted(30, 19) Source(41, 48) + SourceIndex(0) -7 >Emitted(30, 21) Source(41, 50) + SourceIndex(0) -8 >Emitted(30, 31) Source(41, 60) + SourceIndex(0) -9 >Emitted(30, 32) Source(41, 61) + SourceIndex(0) -10>Emitted(30, 34) Source(41, 2) + SourceIndex(0) -11>Emitted(30, 41) Source(41, 9) + SourceIndex(0) -12>Emitted(30, 49) Source(41, 9) + SourceIndex(0) -13>Emitted(30, 51) Source(41, 14) + SourceIndex(0) -14>Emitted(30, 61) Source(41, 24) + SourceIndex(0) -15>Emitted(30, 75) Source(41, 24) + SourceIndex(0) -16>Emitted(30, 76) Source(41, 62) + SourceIndex(0) +1->Emitted(31, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(31, 6) Source(41, 35) + SourceIndex(0) +3 >Emitted(31, 7) Source(41, 36) + SourceIndex(0) +4 >Emitted(31, 8) Source(41, 37) + SourceIndex(0) +5 >Emitted(31, 10) Source(41, 39) + SourceIndex(0) +6 >Emitted(31, 19) Source(41, 48) + SourceIndex(0) +7 >Emitted(31, 21) Source(41, 50) + SourceIndex(0) +8 >Emitted(31, 31) Source(41, 60) + SourceIndex(0) +9 >Emitted(31, 32) Source(41, 61) + SourceIndex(0) +10>Emitted(31, 34) Source(41, 2) + SourceIndex(0) +11>Emitted(31, 41) Source(41, 9) + SourceIndex(0) +12>Emitted(31, 49) Source(41, 9) + SourceIndex(0) +13>Emitted(31, 51) Source(41, 14) + SourceIndex(0) +14>Emitted(31, 61) Source(41, 24) + SourceIndex(0) +15>Emitted(31, 75) Source(41, 24) + SourceIndex(0) +16>Emitted(31, 76) Source(41, 62) + SourceIndex(0) --- >>>multiRobotAInfo = multiRobotA.slice(0); 1 > @@ -1132,12 +1133,12 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 4 > multiRobotA 5 > 6 > ] = multiRobotA; -1 >Emitted(31, 1) Source(42, 5) + SourceIndex(0) -2 >Emitted(31, 16) Source(42, 20) + SourceIndex(0) -3 >Emitted(31, 19) Source(42, 24) + SourceIndex(0) -4 >Emitted(31, 30) Source(42, 35) + SourceIndex(0) -5 >Emitted(31, 39) Source(42, 20) + SourceIndex(0) -6 >Emitted(31, 40) Source(42, 36) + SourceIndex(0) +1 >Emitted(32, 1) Source(42, 5) + SourceIndex(0) +2 >Emitted(32, 16) Source(42, 20) + SourceIndex(0) +3 >Emitted(32, 19) Source(42, 24) + SourceIndex(0) +4 >Emitted(32, 30) Source(42, 35) + SourceIndex(0) +5 >Emitted(32, 39) Source(42, 20) + SourceIndex(0) +6 >Emitted(32, 40) Source(42, 36) + SourceIndex(0) --- >>>multiRobotAInfo = getMultiRobotB().slice(0); 1-> @@ -1156,13 +1157,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 5 > () 6 > 7 > ] = getMultiRobotB(); -1->Emitted(32, 1) Source(43, 5) + SourceIndex(0) -2 >Emitted(32, 16) Source(43, 20) + SourceIndex(0) -3 >Emitted(32, 19) Source(43, 24) + SourceIndex(0) -4 >Emitted(32, 33) Source(43, 38) + SourceIndex(0) -5 >Emitted(32, 35) Source(43, 40) + SourceIndex(0) -6 >Emitted(32, 44) Source(43, 20) + SourceIndex(0) -7 >Emitted(32, 45) Source(43, 41) + SourceIndex(0) +1->Emitted(33, 1) Source(43, 5) + SourceIndex(0) +2 >Emitted(33, 16) Source(43, 20) + SourceIndex(0) +3 >Emitted(33, 19) Source(43, 24) + SourceIndex(0) +4 >Emitted(33, 33) Source(43, 38) + SourceIndex(0) +5 >Emitted(33, 35) Source(43, 40) + SourceIndex(0) +6 >Emitted(33, 44) Source(43, 20) + SourceIndex(0) +7 >Emitted(33, 45) Source(43, 41) + SourceIndex(0) --- >>>multiRobotAInfo = ["trimmer", ["trimming", "edging"]].slice(0); 1-> @@ -1194,20 +1195,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 12> ] 13> 14> ] = ["trimmer", ["trimming", "edging"]]; -1->Emitted(33, 1) Source(44, 5) + SourceIndex(0) -2 >Emitted(33, 16) Source(44, 20) + SourceIndex(0) -3 >Emitted(33, 19) Source(44, 24) + SourceIndex(0) -4 >Emitted(33, 20) Source(44, 25) + SourceIndex(0) -5 >Emitted(33, 29) Source(44, 34) + SourceIndex(0) -6 >Emitted(33, 31) Source(44, 36) + SourceIndex(0) -7 >Emitted(33, 32) Source(44, 37) + SourceIndex(0) -8 >Emitted(33, 42) Source(44, 47) + SourceIndex(0) -9 >Emitted(33, 44) Source(44, 49) + SourceIndex(0) -10>Emitted(33, 52) Source(44, 57) + SourceIndex(0) -11>Emitted(33, 53) Source(44, 58) + SourceIndex(0) -12>Emitted(33, 54) Source(44, 59) + SourceIndex(0) -13>Emitted(33, 63) Source(44, 20) + SourceIndex(0) -14>Emitted(33, 64) Source(44, 60) + SourceIndex(0) +1->Emitted(34, 1) Source(44, 5) + SourceIndex(0) +2 >Emitted(34, 16) Source(44, 20) + SourceIndex(0) +3 >Emitted(34, 19) Source(44, 24) + SourceIndex(0) +4 >Emitted(34, 20) Source(44, 25) + SourceIndex(0) +5 >Emitted(34, 29) Source(44, 34) + SourceIndex(0) +6 >Emitted(34, 31) Source(44, 36) + SourceIndex(0) +7 >Emitted(34, 32) Source(44, 37) + SourceIndex(0) +8 >Emitted(34, 42) Source(44, 47) + SourceIndex(0) +9 >Emitted(34, 44) Source(44, 49) + SourceIndex(0) +10>Emitted(34, 52) Source(44, 57) + SourceIndex(0) +11>Emitted(34, 53) Source(44, 58) + SourceIndex(0) +12>Emitted(34, 54) Source(44, 59) + SourceIndex(0) +13>Emitted(34, 63) Source(44, 20) + SourceIndex(0) +14>Emitted(34, 64) Source(44, 60) + SourceIndex(0) --- >>>if (nameA == nameB) { 1 > @@ -1227,13 +1228,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 5 > nameB 6 > ) 7 > { -1 >Emitted(34, 1) Source(46, 1) + SourceIndex(0) -2 >Emitted(34, 5) Source(46, 5) + SourceIndex(0) -3 >Emitted(34, 10) Source(46, 10) + SourceIndex(0) -4 >Emitted(34, 14) Source(46, 14) + SourceIndex(0) -5 >Emitted(34, 19) Source(46, 19) + SourceIndex(0) -6 >Emitted(34, 21) Source(46, 21) + SourceIndex(0) -7 >Emitted(34, 22) Source(46, 22) + SourceIndex(0) +1 >Emitted(35, 1) Source(46, 1) + SourceIndex(0) +2 >Emitted(35, 5) Source(46, 5) + SourceIndex(0) +3 >Emitted(35, 10) Source(46, 10) + SourceIndex(0) +4 >Emitted(35, 14) Source(46, 14) + SourceIndex(0) +5 >Emitted(35, 19) Source(46, 19) + SourceIndex(0) +6 >Emitted(35, 21) Source(46, 21) + SourceIndex(0) +7 >Emitted(35, 22) Source(46, 22) + SourceIndex(0) --- >>> console.log(skillB); 1->^^^^ @@ -1253,14 +1254,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 6 > skillB 7 > ) 8 > ; -1->Emitted(35, 5) Source(47, 5) + SourceIndex(0) -2 >Emitted(35, 12) Source(47, 12) + SourceIndex(0) -3 >Emitted(35, 13) Source(47, 13) + SourceIndex(0) -4 >Emitted(35, 16) Source(47, 16) + SourceIndex(0) -5 >Emitted(35, 17) Source(47, 17) + SourceIndex(0) -6 >Emitted(35, 23) Source(47, 23) + SourceIndex(0) -7 >Emitted(35, 24) Source(47, 24) + SourceIndex(0) -8 >Emitted(35, 25) Source(47, 25) + SourceIndex(0) +1->Emitted(36, 5) Source(47, 5) + SourceIndex(0) +2 >Emitted(36, 12) Source(47, 12) + SourceIndex(0) +3 >Emitted(36, 13) Source(47, 13) + SourceIndex(0) +4 >Emitted(36, 16) Source(47, 16) + SourceIndex(0) +5 >Emitted(36, 17) Source(47, 17) + SourceIndex(0) +6 >Emitted(36, 23) Source(47, 23) + SourceIndex(0) +7 >Emitted(36, 24) Source(47, 24) + SourceIndex(0) +8 >Emitted(36, 25) Source(47, 25) + SourceIndex(0) --- >>>} 1 > @@ -1269,8 +1270,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 1 > > 2 >} -1 >Emitted(36, 1) Source(48, 1) + SourceIndex(0) -2 >Emitted(36, 2) Source(48, 2) + SourceIndex(0) +1 >Emitted(37, 1) Source(48, 1) + SourceIndex(0) +2 >Emitted(37, 2) Source(48, 2) + SourceIndex(0) --- >>>function getRobotB() { 1-> @@ -1282,9 +1283,9 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 > 2 >function 3 > getRobotB -1->Emitted(37, 1) Source(50, 1) + SourceIndex(0) -2 >Emitted(37, 10) Source(50, 10) + SourceIndex(0) -3 >Emitted(37, 19) Source(50, 19) + SourceIndex(0) +1->Emitted(38, 1) Source(50, 1) + SourceIndex(0) +2 >Emitted(38, 10) Source(50, 10) + SourceIndex(0) +3 >Emitted(38, 19) Source(50, 19) + SourceIndex(0) --- >>> return robotB; 1->^^^^ @@ -1296,10 +1297,10 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 2 > return 3 > robotB 4 > ; -1->Emitted(38, 5) Source(51, 5) + SourceIndex(0) -2 >Emitted(38, 12) Source(51, 12) + SourceIndex(0) -3 >Emitted(38, 18) Source(51, 18) + SourceIndex(0) -4 >Emitted(38, 19) Source(51, 19) + SourceIndex(0) +1->Emitted(39, 5) Source(51, 5) + SourceIndex(0) +2 >Emitted(39, 12) Source(51, 12) + SourceIndex(0) +3 >Emitted(39, 18) Source(51, 18) + SourceIndex(0) +4 >Emitted(39, 19) Source(51, 19) + SourceIndex(0) --- >>>} 1 > @@ -1308,8 +1309,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 1 > > 2 >} -1 >Emitted(39, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(39, 2) Source(52, 2) + SourceIndex(0) +1 >Emitted(40, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(40, 2) Source(52, 2) + SourceIndex(0) --- >>>function getMultiRobotB() { 1-> @@ -1321,9 +1322,9 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 > 2 >function 3 > getMultiRobotB -1->Emitted(40, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(40, 10) Source(54, 10) + SourceIndex(0) -3 >Emitted(40, 24) Source(54, 24) + SourceIndex(0) +1->Emitted(41, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(41, 10) Source(54, 10) + SourceIndex(0) +3 >Emitted(41, 24) Source(54, 24) + SourceIndex(0) --- >>> return multiRobotB; 1->^^^^ @@ -1335,10 +1336,10 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 2 > return 3 > multiRobotB 4 > ; -1->Emitted(41, 5) Source(55, 5) + SourceIndex(0) -2 >Emitted(41, 12) Source(55, 12) + SourceIndex(0) -3 >Emitted(41, 23) Source(55, 23) + SourceIndex(0) -4 >Emitted(41, 24) Source(55, 24) + SourceIndex(0) +1->Emitted(42, 5) Source(55, 5) + SourceIndex(0) +2 >Emitted(42, 12) Source(55, 12) + SourceIndex(0) +3 >Emitted(42, 23) Source(55, 23) + SourceIndex(0) +4 >Emitted(42, 24) Source(55, 24) + SourceIndex(0) --- >>>} 1 > @@ -1347,7 +1348,7 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern3 1 > > 2 >} -1 >Emitted(42, 1) Source(56, 1) + SourceIndex(0) -2 >Emitted(42, 2) Source(56, 2) + SourceIndex(0) +1 >Emitted(43, 1) Source(56, 1) + SourceIndex(0) +2 >Emitted(43, 2) Source(56, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPattern3.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js index f3d4d0f9ce38d..36bbddfc6d4b3 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js @@ -4,5 +4,6 @@ var [x] = [1, 2]; //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js] +"use strict"; var x = [1, 2][0]; //# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js.map index aa647224f0c9e..2d45e7b6a372a 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.ts"],"names":[],"mappings":"AAAK,IAAA,CAAC,GAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAV,CAAW"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHggPSBbMSwgMl1bMF07DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uRGVzdHJ1Y3R1cmluZ1ZhcmlhYmxlU3RhdGVtZW50QXJyYXlCaW5kaW5nUGF0dGVybjQuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm40LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm40LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFLLElBQUEsQ0FBQyxHQUFJLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxHQUFWLENBQVcifQ==,dmFyIFt4XSA9IFsxLCAyXTs= +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.ts"],"names":[],"mappings":";AAAK,IAAA,CAAC,GAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAV,CAAW"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIHggPSBbMSwgMl1bMF07DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uRGVzdHJ1Y3R1cmluZ1ZhcmlhYmxlU3RhdGVtZW50QXJyYXlCaW5kaW5nUGF0dGVybjQuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm40LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm40LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBSyxJQUFBLENBQUMsR0FBSSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsR0FBVixDQUFXIn0=,dmFyIFt4XSA9IFsxLCAyXTs= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.sourcemap.txt index 6a8484fb7c162..c44799abdecaa 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.t emittedFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var x = [1, 2][0]; 1 > 2 >^^^^ @@ -32,16 +33,16 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern4 9 > ] 10> 11> ] = [1, 2]; -1 >Emitted(1, 1) Source(1, 6) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 6) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 7) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 11) + SourceIndex(0) -5 >Emitted(1, 10) Source(1, 12) + SourceIndex(0) -6 >Emitted(1, 11) Source(1, 13) + SourceIndex(0) -7 >Emitted(1, 13) Source(1, 15) + SourceIndex(0) -8 >Emitted(1, 14) Source(1, 16) + SourceIndex(0) -9 >Emitted(1, 15) Source(1, 17) + SourceIndex(0) -10>Emitted(1, 18) Source(1, 7) + SourceIndex(0) -11>Emitted(1, 19) Source(1, 18) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 6) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 6) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 7) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 11) + SourceIndex(0) +5 >Emitted(2, 10) Source(1, 12) + SourceIndex(0) +6 >Emitted(2, 11) Source(1, 13) + SourceIndex(0) +7 >Emitted(2, 13) Source(1, 15) + SourceIndex(0) +8 >Emitted(2, 14) Source(1, 16) + SourceIndex(0) +9 >Emitted(2, 15) Source(1, 17) + SourceIndex(0) +10>Emitted(2, 18) Source(1, 7) + SourceIndex(0) +11>Emitted(2, 19) Source(1, 18) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPattern4.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js index 9cc84475bd9e2..435794f2255cd 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js @@ -5,6 +5,7 @@ var [x] = [1, 2]; var [y, z] = [1, 2]; //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js] +"use strict"; var x = [1, 2][0]; var _a = [1, 2], y = _a[0], z = _a[1]; //# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js.map index b57ff1d2d8ecb..e38a61f0cfdf3 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.ts"],"names":[],"mappings":"AAAK,IAAA,CAAC,GAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAV,CAAW;AACb,IAAA,KAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAd,CAAC,QAAA,EAAE,CAAC,QAAU,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHggPSBbMSwgMl1bMF07DQp2YXIgX2EgPSBbMSwgMl0sIHkgPSBfYVswXSwgeiA9IF9hWzFdOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm41LmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm41LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm41LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFLLElBQUEsQ0FBQyxHQUFJLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxHQUFWLENBQVc7QUFDYixJQUFBLEtBQVMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQWQsQ0FBQyxRQUFBLEVBQUUsQ0FBQyxRQUFVLENBQUMifQ==,dmFyIFt4XSA9IFsxLCAyXTsKdmFyIFt5LCB6XSA9IFsxLCAyXTs= +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.ts"],"names":[],"mappings":";AAAK,IAAA,CAAC,GAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAV,CAAW;AACb,IAAA,KAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAd,CAAC,QAAA,EAAE,CAAC,QAAU,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIHggPSBbMSwgMl1bMF07DQp2YXIgX2EgPSBbMSwgMl0sIHkgPSBfYVswXSwgeiA9IF9hWzFdOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm41LmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm41LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm41LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBSyxJQUFBLENBQUMsR0FBSSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsR0FBVixDQUFXO0FBQ2IsSUFBQSxLQUFTLENBQUMsQ0FBQyxFQUFFLENBQUMsQ0FBQyxFQUFkLENBQUMsUUFBQSxFQUFFLENBQUMsUUFBVSxDQUFDIn0=,dmFyIFt4XSA9IFsxLCAyXTsKdmFyIFt5LCB6XSA9IFsxLCAyXTs= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.sourcemap.txt index f3c1dcb483091..83e47226c86f6 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.t emittedFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var x = [1, 2][0]; 1 > 2 >^^^^ @@ -32,17 +33,17 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern5 9 > ] 10> 11> ] = [1, 2]; -1 >Emitted(1, 1) Source(1, 6) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 6) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 7) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 11) + SourceIndex(0) -5 >Emitted(1, 10) Source(1, 12) + SourceIndex(0) -6 >Emitted(1, 11) Source(1, 13) + SourceIndex(0) -7 >Emitted(1, 13) Source(1, 15) + SourceIndex(0) -8 >Emitted(1, 14) Source(1, 16) + SourceIndex(0) -9 >Emitted(1, 15) Source(1, 17) + SourceIndex(0) -10>Emitted(1, 18) Source(1, 7) + SourceIndex(0) -11>Emitted(1, 19) Source(1, 18) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 6) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 6) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 7) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 11) + SourceIndex(0) +5 >Emitted(2, 10) Source(1, 12) + SourceIndex(0) +6 >Emitted(2, 11) Source(1, 13) + SourceIndex(0) +7 >Emitted(2, 13) Source(1, 15) + SourceIndex(0) +8 >Emitted(2, 14) Source(1, 16) + SourceIndex(0) +9 >Emitted(2, 15) Source(1, 17) + SourceIndex(0) +10>Emitted(2, 18) Source(1, 7) + SourceIndex(0) +11>Emitted(2, 19) Source(1, 18) + SourceIndex(0) --- >>>var _a = [1, 2], y = _a[0], z = _a[1]; 1-> @@ -77,20 +78,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern5 13> z 14> ] = [1, 2] 15> ; -1->Emitted(2, 1) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -3 >Emitted(2, 10) Source(2, 14) + SourceIndex(0) -4 >Emitted(2, 11) Source(2, 15) + SourceIndex(0) -5 >Emitted(2, 12) Source(2, 16) + SourceIndex(0) -6 >Emitted(2, 14) Source(2, 18) + SourceIndex(0) -7 >Emitted(2, 15) Source(2, 19) + SourceIndex(0) -8 >Emitted(2, 16) Source(2, 20) + SourceIndex(0) -9 >Emitted(2, 18) Source(2, 6) + SourceIndex(0) -10>Emitted(2, 19) Source(2, 7) + SourceIndex(0) -11>Emitted(2, 27) Source(2, 7) + SourceIndex(0) -12>Emitted(2, 29) Source(2, 9) + SourceIndex(0) -13>Emitted(2, 30) Source(2, 10) + SourceIndex(0) -14>Emitted(2, 38) Source(2, 20) + SourceIndex(0) -15>Emitted(2, 39) Source(2, 21) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +3 >Emitted(3, 10) Source(2, 14) + SourceIndex(0) +4 >Emitted(3, 11) Source(2, 15) + SourceIndex(0) +5 >Emitted(3, 12) Source(2, 16) + SourceIndex(0) +6 >Emitted(3, 14) Source(2, 18) + SourceIndex(0) +7 >Emitted(3, 15) Source(2, 19) + SourceIndex(0) +8 >Emitted(3, 16) Source(2, 20) + SourceIndex(0) +9 >Emitted(3, 18) Source(2, 6) + SourceIndex(0) +10>Emitted(3, 19) Source(2, 7) + SourceIndex(0) +11>Emitted(3, 27) Source(2, 7) + SourceIndex(0) +12>Emitted(3, 29) Source(2, 9) + SourceIndex(0) +13>Emitted(3, 30) Source(2, 10) + SourceIndex(0) +14>Emitted(3, 38) Source(2, 20) + SourceIndex(0) +15>Emitted(3, 39) Source(2, 21) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPattern5.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js index a6cde567c4c23..0cfbfc98725e8 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js @@ -4,5 +4,6 @@ var [x = 20] = [1, 2]; //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js] +"use strict"; var _a = [1, 2][0], x = _a === void 0 ? 20 : _a; //# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js.map index be29b593f7cad..c14178948baac 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.ts"],"names":[],"mappings":"AAAK,IAAA,KAAU,CAAC,CAAC,EAAE,CAAC,CAAC,GAAV,EAAN,CAAC,mBAAG,EAAE,KAAA,CAAW"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9hID0gWzEsIDJdWzBdLCB4ID0gX2EgPT09IHZvaWQgMCA/IDIwIDogX2E7DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uRGVzdHJ1Y3R1cmluZ1ZhcmlhYmxlU3RhdGVtZW50QXJyYXlCaW5kaW5nUGF0dGVybjYuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm42LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm42LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFLLElBQUEsS0FBVSxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsR0FBVixFQUFOLENBQUMsbUJBQUcsRUFBRSxLQUFBLENBQVcifQ==,dmFyIFt4ID0gMjBdID0gWzEsIDJdOw== +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.ts"],"names":[],"mappings":";AAAK,IAAA,KAAU,CAAC,CAAC,EAAE,CAAC,CAAC,GAAV,EAAN,CAAC,mBAAG,EAAE,KAAA,CAAW"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIF9hID0gWzEsIDJdWzBdLCB4ID0gX2EgPT09IHZvaWQgMCA/IDIwIDogX2E7DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uRGVzdHJ1Y3R1cmluZ1ZhcmlhYmxlU3RhdGVtZW50QXJyYXlCaW5kaW5nUGF0dGVybjYuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm42LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm42LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBSyxJQUFBLEtBQVUsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEdBQVYsRUFBTixDQUFDLG1CQUFHLEVBQUUsS0FBQSxDQUFXIn0=,dmFyIFt4ID0gMjBdID0gWzEsIDJdOw== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.sourcemap.txt index 1400b3935579d..0841c9d6e58dd 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.t emittedFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a = [1, 2][0], x = _a === void 0 ? 20 : _a; 1 > 2 >^^^^ @@ -40,20 +41,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern6 13> 20 14> 15> ] = [1, 2]; -1 >Emitted(1, 1) Source(1, 6) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 6) + SourceIndex(0) -3 >Emitted(1, 10) Source(1, 16) + SourceIndex(0) -4 >Emitted(1, 11) Source(1, 17) + SourceIndex(0) -5 >Emitted(1, 12) Source(1, 18) + SourceIndex(0) -6 >Emitted(1, 14) Source(1, 20) + SourceIndex(0) -7 >Emitted(1, 15) Source(1, 21) + SourceIndex(0) -8 >Emitted(1, 16) Source(1, 22) + SourceIndex(0) -9 >Emitted(1, 19) Source(1, 12) + SourceIndex(0) -10>Emitted(1, 21) Source(1, 6) + SourceIndex(0) -11>Emitted(1, 22) Source(1, 7) + SourceIndex(0) -12>Emitted(1, 41) Source(1, 10) + SourceIndex(0) -13>Emitted(1, 43) Source(1, 12) + SourceIndex(0) -14>Emitted(1, 48) Source(1, 12) + SourceIndex(0) -15>Emitted(1, 49) Source(1, 23) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 6) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 6) + SourceIndex(0) +3 >Emitted(2, 10) Source(1, 16) + SourceIndex(0) +4 >Emitted(2, 11) Source(1, 17) + SourceIndex(0) +5 >Emitted(2, 12) Source(1, 18) + SourceIndex(0) +6 >Emitted(2, 14) Source(1, 20) + SourceIndex(0) +7 >Emitted(2, 15) Source(1, 21) + SourceIndex(0) +8 >Emitted(2, 16) Source(1, 22) + SourceIndex(0) +9 >Emitted(2, 19) Source(1, 12) + SourceIndex(0) +10>Emitted(2, 21) Source(1, 6) + SourceIndex(0) +11>Emitted(2, 22) Source(1, 7) + SourceIndex(0) +12>Emitted(2, 41) Source(1, 10) + SourceIndex(0) +13>Emitted(2, 43) Source(1, 12) + SourceIndex(0) +14>Emitted(2, 48) Source(1, 12) + SourceIndex(0) +15>Emitted(2, 49) Source(1, 23) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPattern6.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js index 7a56c79611d56..a1440bfc56d44 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js @@ -4,5 +4,6 @@ var [x = 20, j] = [1, 2]; //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js] +"use strict"; var _a = [1, 2], _b = _a[0], x = _b === void 0 ? 20 : _b, j = _a[1]; //# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js.map index f0168dcf03868..0ba7db91c37a9 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.ts"],"names":[],"mappings":"AAAI,IAAA,KAAc,CAAC,CAAC,EAAE,CAAC,CAAC,EAAnB,UAAM,EAAN,CAAC,mBAAG,EAAE,KAAA,EAAE,CAAC,QAAU,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9hID0gWzEsIDJdLCBfYiA9IF9hWzBdLCB4ID0gX2IgPT09IHZvaWQgMCA/IDIwIDogX2IsIGogPSBfYVsxXTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRBcnJheUJpbmRpbmdQYXR0ZXJuNy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm43LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm43LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFJLElBQUEsS0FBYyxDQUFDLENBQUMsRUFBRSxDQUFDLENBQUMsRUFBbkIsVUFBTSxFQUFOLENBQUMsbUJBQUcsRUFBRSxLQUFBLEVBQUUsQ0FBQyxRQUFVLENBQUMifQ==,dmFyIFt4ID0gMjAsIGpdID0gWzEsIDJdOw== +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.ts"],"names":[],"mappings":";AAAI,IAAA,KAAc,CAAC,CAAC,EAAE,CAAC,CAAC,EAAnB,UAAM,EAAN,CAAC,mBAAG,EAAE,KAAA,EAAE,CAAC,QAAU,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIF9hID0gWzEsIDJdLCBfYiA9IF9hWzBdLCB4ID0gX2IgPT09IHZvaWQgMCA/IDIwIDogX2IsIGogPSBfYVsxXTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRBcnJheUJpbmRpbmdQYXR0ZXJuNy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm43LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudEFycmF5QmluZGluZ1BhdHRlcm43LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBSSxJQUFBLEtBQWMsQ0FBQyxDQUFDLEVBQUUsQ0FBQyxDQUFDLEVBQW5CLFVBQU0sRUFBTixDQUFDLG1CQUFHLEVBQUUsS0FBQSxFQUFFLENBQUMsUUFBVSxDQUFDIn0=,dmFyIFt4ID0gMjAsIGpdID0gWzEsIDJdOw== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.sourcemap.txt index 74c99f6c2c94c..479000f57c40e 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.t emittedFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a = [1, 2], _b = _a[0], x = _b === void 0 ? 20 : _b, j = _a[1]; 1 > 2 >^^^^ @@ -48,24 +49,24 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPattern7 17> j 18> ] = [1, 2] 19> ; -1 >Emitted(1, 1) Source(1, 5) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 10) Source(1, 19) + SourceIndex(0) -4 >Emitted(1, 11) Source(1, 20) + SourceIndex(0) -5 >Emitted(1, 12) Source(1, 21) + SourceIndex(0) -6 >Emitted(1, 14) Source(1, 23) + SourceIndex(0) -7 >Emitted(1, 15) Source(1, 24) + SourceIndex(0) -8 >Emitted(1, 16) Source(1, 25) + SourceIndex(0) -9 >Emitted(1, 18) Source(1, 6) + SourceIndex(0) -10>Emitted(1, 28) Source(1, 12) + SourceIndex(0) -11>Emitted(1, 30) Source(1, 6) + SourceIndex(0) -12>Emitted(1, 31) Source(1, 7) + SourceIndex(0) -13>Emitted(1, 50) Source(1, 10) + SourceIndex(0) -14>Emitted(1, 52) Source(1, 12) + SourceIndex(0) -15>Emitted(1, 57) Source(1, 12) + SourceIndex(0) -16>Emitted(1, 59) Source(1, 14) + SourceIndex(0) -17>Emitted(1, 60) Source(1, 15) + SourceIndex(0) -18>Emitted(1, 68) Source(1, 25) + SourceIndex(0) -19>Emitted(1, 69) Source(1, 26) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 5) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 10) Source(1, 19) + SourceIndex(0) +4 >Emitted(2, 11) Source(1, 20) + SourceIndex(0) +5 >Emitted(2, 12) Source(1, 21) + SourceIndex(0) +6 >Emitted(2, 14) Source(1, 23) + SourceIndex(0) +7 >Emitted(2, 15) Source(1, 24) + SourceIndex(0) +8 >Emitted(2, 16) Source(1, 25) + SourceIndex(0) +9 >Emitted(2, 18) Source(1, 6) + SourceIndex(0) +10>Emitted(2, 28) Source(1, 12) + SourceIndex(0) +11>Emitted(2, 30) Source(1, 6) + SourceIndex(0) +12>Emitted(2, 31) Source(1, 7) + SourceIndex(0) +13>Emitted(2, 50) Source(1, 10) + SourceIndex(0) +14>Emitted(2, 52) Source(1, 12) + SourceIndex(0) +15>Emitted(2, 57) Source(1, 12) + SourceIndex(0) +16>Emitted(2, 59) Source(1, 14) + SourceIndex(0) +17>Emitted(2, 60) Source(1, 15) + SourceIndex(0) +18>Emitted(2, 68) Source(1, 25) + SourceIndex(0) +19>Emitted(2, 69) Source(1, 26) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPattern7.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js index f6621fd906a24..78ce7069e2872 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js @@ -22,6 +22,7 @@ if (nameA == nameA2) { } //// [sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js] +"use strict"; var robotA = [1, "mower", "mowing"]; var robotB = [2, "trimmer", "trimming"]; var _a = robotA[1], nameA = _a === void 0 ? "noName" : _a; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js.map index 3d6920726f960..9768515082aad 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.ts"],"names":[],"mappings":"AAIA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAExC,IAAA,KAAoB,MAAM,GAAV,EAAhB,KAAK,mBAAG,QAAQ,KAAA,CAAW;AAC7B,IAAA,KAAgB,MAAM,GAAV,EAAZ,OAAO,mBAAG,CAAC,CAAC,KAAA,CAAW;AACvB,IAAA,KAAyD,MAAM,GAAlD,EAAb,QAAQ,mBAAG,CAAC,CAAC,KAAA,EAAE,KAA0C,MAAM,GAA/B,EAAjB,MAAM,mBAAG,QAAQ,KAAA,EAAE,KAAuB,MAAM,GAAV,EA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SB2YXIgY29uc29sZTogewogICAgbG9nKG1zZzogc3RyaW5nKTogdm9pZDsKfQp0eXBlIFJvYm90ID0gW251bWJlciwgc3RyaW5nLCBzdHJpbmddOwp2YXIgcm9ib3RBOiBSb2JvdCA9IFsxLCAibW93ZXIiLCAibW93aW5nIl07CnZhciByb2JvdEI6IFJvYm90ID0gWzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl07CgpsZXQgWywgbmFtZUEgPSAibm9OYW1lIl0gPSByb2JvdEE7CmxldCBbbnVtYmVyQiA9IC0xXSA9IHJvYm90QjsKbGV0IFtudW1iZXJBMiA9IC0xLCBuYW1lQTIgPSAibm9OYW1lIiwgc2tpbGxBMiA9ICJub1NraWxsIl0gPSByb2JvdEE7CgpsZXQgW251bWJlckMyID0gLTFdID0gWzMsICJlZGdpbmciLCAiVHJpbW1pbmcgZWRnZXMiXTsKbGV0IFtudW1iZXJDID0gLTEsIG5hbWVDID0gIm5vTmFtZSIsIHNraWxsQyA9ICJub1NraWxsIl0gPSBbMywgImVkZ2luZyIsICJUcmltbWluZyBlZGdlcyJdOwoKbGV0IFtudW1iZXJBMyA9IC0xLCAuLi5yb2JvdEFJbmZvXSA9IHJvYm90QTsKCmlmIChuYW1lQSA9PSBuYW1lQTIpIHsKICAgIGNvbnNvbGUubG9nKHNraWxsQTIpOwp9 +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.ts"],"names":[],"mappings":";AAIA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAExC,IAAA,KAAoB,MAAM,GAAV,EAAhB,KAAK,mBAAG,QAAQ,KAAA,CAAW;AAC7B,IAAA,KAAgB,MAAM,GAAV,EAAZ,OAAO,mBAAG,CA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xDQUFDLEtBQUEsRUFBSyxVQUFVLEdBQUksTUFBTSxTQUFWLENBQVc7QUFFNUMsSUFBSSxLQUFLLElBQUksTUFBTSxFQUFFLENBQUM7SUFDbEIsT0FBTyxDQUFDLEdBQUcsQ0FBQyxPQUFPLENBQUMsQ0FBQztBQUN6QixDQUFDIn0=,ZGVjbGFyZSB2YXIgY29uc29sZTogewogICAgbG9nKG1zZzogc3RyaW5nKTogdm9pZDsKfQp0eXBlIFJvYm90ID0gW251bWJlciwgc3RyaW5nLCBzdHJpbmddOwp2YXIgcm9ib3RBOiBSb2JvdCA9IFsxLCAibW93ZXIiLCAibW93aW5nIl07CnZhciByb2JvdEI6IFJvYm90ID0gWzIsICJ0cmltbWVyIiwgInRyaW1taW5nIl07CgpsZXQgWywgbmFtZUEgPSAibm9OYW1lIl0gPSByb2JvdEE7CmxldCBbbnVtYmVyQiA9IC0xXSA9IHJvYm90QjsKbGV0IFtudW1iZXJBMiA9IC0xLCBuYW1lQTIgPSAibm9OYW1lIiwgc2tpbGxBMiA9ICJub1NraWxsIl0gPSByb2JvdEE7CgpsZXQgW251bWJlckMyID0gLTFdID0gWzMsICJlZGdpbmciLCAiVHJpbW1pbmcgZWRnZXMiXTsKbGV0IFtudW1iZXJDID0gLTEsIG5hbWVDID0gIm5vTmFtZSIsIHNraWxsQyA9ICJub1NraWxsIl0gPSBbMywgImVkZ2luZyIsICJUcmltbWluZyBlZGdlcyJdOwoKbGV0IFtudW1iZXJBMyA9IC0xLCAuLi5yb2JvdEFJbmZvXSA9IHJvYm90QTsKCmlmIChuYW1lQSA9PSBuYW1lQTIpIHsKICAgIGNvbnNvbGUubG9nKHNraWxsQTIpOwp9 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.sourcemap.txt index 8b7c2edde2a7e..bfc88c610ba97 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementArrayBindingPatternDef emittedFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = [1, "mower", "mowing"]; 1 > 2 >^^^^ @@ -38,18 +39,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 10> "mowing" 11> ] 12> ; -1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(5, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(5, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(5, 21) + SourceIndex(0) -5 >Emitted(1, 15) Source(5, 22) + SourceIndex(0) -6 >Emitted(1, 16) Source(5, 23) + SourceIndex(0) -7 >Emitted(1, 18) Source(5, 25) + SourceIndex(0) -8 >Emitted(1, 25) Source(5, 32) + SourceIndex(0) -9 >Emitted(1, 27) Source(5, 34) + SourceIndex(0) -10>Emitted(1, 35) Source(5, 42) + SourceIndex(0) -11>Emitted(1, 36) Source(5, 43) + SourceIndex(0) -12>Emitted(1, 37) Source(5, 44) + SourceIndex(0) +1 >Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(5, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(5, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(5, 21) + SourceIndex(0) +5 >Emitted(2, 15) Source(5, 22) + SourceIndex(0) +6 >Emitted(2, 16) Source(5, 23) + SourceIndex(0) +7 >Emitted(2, 18) Source(5, 25) + SourceIndex(0) +8 >Emitted(2, 25) Source(5, 32) + SourceIndex(0) +9 >Emitted(2, 27) Source(5, 34) + SourceIndex(0) +10>Emitted(2, 35) Source(5, 42) + SourceIndex(0) +11>Emitted(2, 36) Source(5, 43) + SourceIndex(0) +12>Emitted(2, 37) Source(5, 44) + SourceIndex(0) --- >>>var robotB = [2, "trimmer", "trimming"]; 1-> @@ -78,18 +79,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 10> "trimming" 11> ] 12> ; -1->Emitted(2, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(6, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(6, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(6, 21) + SourceIndex(0) -5 >Emitted(2, 15) Source(6, 22) + SourceIndex(0) -6 >Emitted(2, 16) Source(6, 23) + SourceIndex(0) -7 >Emitted(2, 18) Source(6, 25) + SourceIndex(0) -8 >Emitted(2, 27) Source(6, 34) + SourceIndex(0) -9 >Emitted(2, 29) Source(6, 36) + SourceIndex(0) -10>Emitted(2, 39) Source(6, 46) + SourceIndex(0) -11>Emitted(2, 40) Source(6, 47) + SourceIndex(0) -12>Emitted(2, 41) Source(6, 48) + SourceIndex(0) +1->Emitted(3, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(6, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(6, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(6, 21) + SourceIndex(0) +5 >Emitted(3, 15) Source(6, 22) + SourceIndex(0) +6 >Emitted(3, 16) Source(6, 23) + SourceIndex(0) +7 >Emitted(3, 18) Source(6, 25) + SourceIndex(0) +8 >Emitted(3, 27) Source(6, 34) + SourceIndex(0) +9 >Emitted(3, 29) Source(6, 36) + SourceIndex(0) +10>Emitted(3, 39) Source(6, 46) + SourceIndex(0) +11>Emitted(3, 40) Source(6, 47) + SourceIndex(0) +12>Emitted(3, 41) Source(6, 48) + SourceIndex(0) --- >>>var _a = robotA[1], nameA = _a === void 0 ? "noName" : _a; 1-> @@ -116,17 +117,17 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 9 > "noName" 10> 11> ] = robotA; -1->Emitted(3, 1) Source(8, 8) + SourceIndex(0) -2 >Emitted(3, 5) Source(8, 8) + SourceIndex(0) -3 >Emitted(3, 10) Source(8, 28) + SourceIndex(0) -4 >Emitted(3, 16) Source(8, 34) + SourceIndex(0) -5 >Emitted(3, 19) Source(8, 24) + SourceIndex(0) -6 >Emitted(3, 21) Source(8, 8) + SourceIndex(0) -7 >Emitted(3, 26) Source(8, 13) + SourceIndex(0) -8 >Emitted(3, 45) Source(8, 16) + SourceIndex(0) -9 >Emitted(3, 53) Source(8, 24) + SourceIndex(0) -10>Emitted(3, 58) Source(8, 24) + SourceIndex(0) -11>Emitted(3, 59) Source(8, 35) + SourceIndex(0) +1->Emitted(4, 1) Source(8, 8) + SourceIndex(0) +2 >Emitted(4, 5) Source(8, 8) + SourceIndex(0) +3 >Emitted(4, 10) Source(8, 28) + SourceIndex(0) +4 >Emitted(4, 16) Source(8, 34) + SourceIndex(0) +5 >Emitted(4, 19) Source(8, 24) + SourceIndex(0) +6 >Emitted(4, 21) Source(8, 8) + SourceIndex(0) +7 >Emitted(4, 26) Source(8, 13) + SourceIndex(0) +8 >Emitted(4, 45) Source(8, 16) + SourceIndex(0) +9 >Emitted(4, 53) Source(8, 24) + SourceIndex(0) +10>Emitted(4, 58) Source(8, 24) + SourceIndex(0) +11>Emitted(4, 59) Source(8, 35) + SourceIndex(0) --- >>>var _b = robotB[0], numberB = _b === void 0 ? -1 : _b; 1 > @@ -155,18 +156,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 10> 1 11> 12> ] = robotB; -1 >Emitted(4, 1) Source(9, 6) + SourceIndex(0) -2 >Emitted(4, 5) Source(9, 6) + SourceIndex(0) -3 >Emitted(4, 10) Source(9, 22) + SourceIndex(0) -4 >Emitted(4, 16) Source(9, 28) + SourceIndex(0) -5 >Emitted(4, 19) Source(9, 18) + SourceIndex(0) -6 >Emitted(4, 21) Source(9, 6) + SourceIndex(0) -7 >Emitted(4, 28) Source(9, 13) + SourceIndex(0) -8 >Emitted(4, 47) Source(9, 16) + SourceIndex(0) -9 >Emitted(4, 48) Source(9, 17) + SourceIndex(0) -10>Emitted(4, 49) Source(9, 18) + SourceIndex(0) -11>Emitted(4, 54) Source(9, 18) + SourceIndex(0) -12>Emitted(4, 55) Source(9, 29) + SourceIndex(0) +1 >Emitted(5, 1) Source(9, 6) + SourceIndex(0) +2 >Emitted(5, 5) Source(9, 6) + SourceIndex(0) +3 >Emitted(5, 10) Source(9, 22) + SourceIndex(0) +4 >Emitted(5, 16) Source(9, 28) + SourceIndex(0) +5 >Emitted(5, 19) Source(9, 18) + SourceIndex(0) +6 >Emitted(5, 21) Source(9, 6) + SourceIndex(0) +7 >Emitted(5, 28) Source(9, 13) + SourceIndex(0) +8 >Emitted(5, 47) Source(9, 16) + SourceIndex(0) +9 >Emitted(5, 48) Source(9, 17) + SourceIndex(0) +10>Emitted(5, 49) Source(9, 18) + SourceIndex(0) +11>Emitted(5, 54) Source(9, 18) + SourceIndex(0) +12>Emitted(5, 55) Source(9, 29) + SourceIndex(0) --- >>>var _c = robotA[0], numberA2 = _c === void 0 ? -1 : _c, _d = robotA[1], nameA2 = _d === void 0 ? "noName" : _d, _e = robotA[2], skillA2 = _e === void 0 ? "noSkill" : _e; 1-> @@ -230,36 +231,36 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 28> "noSkill" 29> 30> ] = robotA; -1->Emitted(5, 1) Source(10, 6) + SourceIndex(0) -2 >Emitted(5, 5) Source(10, 6) + SourceIndex(0) -3 >Emitted(5, 10) Source(10, 63) + SourceIndex(0) -4 >Emitted(5, 16) Source(10, 69) + SourceIndex(0) -5 >Emitted(5, 19) Source(10, 19) + SourceIndex(0) -6 >Emitted(5, 21) Source(10, 6) + SourceIndex(0) -7 >Emitted(5, 29) Source(10, 14) + SourceIndex(0) -8 >Emitted(5, 48) Source(10, 17) + SourceIndex(0) -9 >Emitted(5, 49) Source(10, 18) + SourceIndex(0) -10>Emitted(5, 50) Source(10, 19) + SourceIndex(0) -11>Emitted(5, 55) Source(10, 19) + SourceIndex(0) -12>Emitted(5, 57) Source(10, 21) + SourceIndex(0) -13>Emitted(5, 62) Source(10, 63) + SourceIndex(0) -14>Emitted(5, 68) Source(10, 69) + SourceIndex(0) -15>Emitted(5, 71) Source(10, 38) + SourceIndex(0) -16>Emitted(5, 73) Source(10, 21) + SourceIndex(0) -17>Emitted(5, 79) Source(10, 27) + SourceIndex(0) -18>Emitted(5, 98) Source(10, 30) + SourceIndex(0) -19>Emitted(5, 106) Source(10, 38) + SourceIndex(0) -20>Emitted(5, 111) Source(10, 38) + SourceIndex(0) -21>Emitted(5, 113) Source(10, 40) + SourceIndex(0) -22>Emitted(5, 118) Source(10, 63) + SourceIndex(0) -23>Emitted(5, 124) Source(10, 69) + SourceIndex(0) -24>Emitted(5, 127) Source(10, 59) + SourceIndex(0) -25>Emitted(5, 129) Source(10, 40) + SourceIndex(0) -26>Emitted(5, 136) Source(10, 47) + SourceIndex(0) -27>Emitted(5, 155) Source(10, 50) + SourceIndex(0) -28>Emitted(5, 164) Source(10, 59) + SourceIndex(0) -29>Emitted(5, 169) Source(10, 59) + SourceIndex(0) -30>Emitted(5, 170) Source(10, 70) + SourceIndex(0) +1->Emitted(6, 1) Source(10, 6) + SourceIndex(0) +2 >Emitted(6, 5) Source(10, 6) + SourceIndex(0) +3 >Emitted(6, 10) Source(10, 63) + SourceIndex(0) +4 >Emitted(6, 16) Source(10, 69) + SourceIndex(0) +5 >Emitted(6, 19) Source(10, 19) + SourceIndex(0) +6 >Emitted(6, 21) Source(10, 6) + SourceIndex(0) +7 >Emitted(6, 29) Source(10, 14) + SourceIndex(0) +8 >Emitted(6, 48) Source(10, 17) + SourceIndex(0) +9 >Emitted(6, 49) Source(10, 18) + SourceIndex(0) +10>Emitted(6, 50) Source(10, 19) + SourceIndex(0) +11>Emitted(6, 55) Source(10, 19) + SourceIndex(0) +12>Emitted(6, 57) Source(10, 21) + SourceIndex(0) +13>Emitted(6, 62) Source(10, 63) + SourceIndex(0) +14>Emitted(6, 68) Source(10, 69) + SourceIndex(0) +15>Emitted(6, 71) Source(10, 38) + SourceIndex(0) +16>Emitted(6, 73) Source(10, 21) + SourceIndex(0) +17>Emitted(6, 79) Source(10, 27) + SourceIndex(0) +18>Emitted(6, 98) Source(10, 30) + SourceIndex(0) +19>Emitted(6, 106) Source(10, 38) + SourceIndex(0) +20>Emitted(6, 111) Source(10, 38) + SourceIndex(0) +21>Emitted(6, 113) Source(10, 40) + SourceIndex(0) +22>Emitted(6, 118) Source(10, 63) + SourceIndex(0) +23>Emitted(6, 124) Source(10, 69) + SourceIndex(0) +24>Emitted(6, 127) Source(10, 59) + SourceIndex(0) +25>Emitted(6, 129) Source(10, 40) + SourceIndex(0) +26>Emitted(6, 136) Source(10, 47) + SourceIndex(0) +27>Emitted(6, 155) Source(10, 50) + SourceIndex(0) +28>Emitted(6, 164) Source(10, 59) + SourceIndex(0) +29>Emitted(6, 169) Source(10, 59) + SourceIndex(0) +30>Emitted(6, 170) Source(10, 70) + SourceIndex(0) --- >>>var _f = [3, "edging", "Trimming edges"][0], numberC2 = _f === void 0 ? -1 : _f; 1 > @@ -301,24 +302,24 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 16> 1 17> 18> ] = [3, "edging", "Trimming edges"]; -1 >Emitted(6, 1) Source(12, 6) + SourceIndex(0) -2 >Emitted(6, 5) Source(12, 6) + SourceIndex(0) -3 >Emitted(6, 10) Source(12, 23) + SourceIndex(0) -4 >Emitted(6, 11) Source(12, 24) + SourceIndex(0) -5 >Emitted(6, 12) Source(12, 25) + SourceIndex(0) -6 >Emitted(6, 14) Source(12, 27) + SourceIndex(0) -7 >Emitted(6, 22) Source(12, 35) + SourceIndex(0) -8 >Emitted(6, 24) Source(12, 37) + SourceIndex(0) -9 >Emitted(6, 40) Source(12, 53) + SourceIndex(0) -10>Emitted(6, 41) Source(12, 54) + SourceIndex(0) -11>Emitted(6, 44) Source(12, 19) + SourceIndex(0) -12>Emitted(6, 46) Source(12, 6) + SourceIndex(0) -13>Emitted(6, 54) Source(12, 14) + SourceIndex(0) -14>Emitted(6, 73) Source(12, 17) + SourceIndex(0) -15>Emitted(6, 74) Source(12, 18) + SourceIndex(0) -16>Emitted(6, 75) Source(12, 19) + SourceIndex(0) -17>Emitted(6, 80) Source(12, 19) + SourceIndex(0) -18>Emitted(6, 81) Source(12, 55) + SourceIndex(0) +1 >Emitted(7, 1) Source(12, 6) + SourceIndex(0) +2 >Emitted(7, 5) Source(12, 6) + SourceIndex(0) +3 >Emitted(7, 10) Source(12, 23) + SourceIndex(0) +4 >Emitted(7, 11) Source(12, 24) + SourceIndex(0) +5 >Emitted(7, 12) Source(12, 25) + SourceIndex(0) +6 >Emitted(7, 14) Source(12, 27) + SourceIndex(0) +7 >Emitted(7, 22) Source(12, 35) + SourceIndex(0) +8 >Emitted(7, 24) Source(12, 37) + SourceIndex(0) +9 >Emitted(7, 40) Source(12, 53) + SourceIndex(0) +10>Emitted(7, 41) Source(12, 54) + SourceIndex(0) +11>Emitted(7, 44) Source(12, 19) + SourceIndex(0) +12>Emitted(7, 46) Source(12, 6) + SourceIndex(0) +13>Emitted(7, 54) Source(12, 14) + SourceIndex(0) +14>Emitted(7, 73) Source(12, 17) + SourceIndex(0) +15>Emitted(7, 74) Source(12, 18) + SourceIndex(0) +16>Emitted(7, 75) Source(12, 19) + SourceIndex(0) +17>Emitted(7, 80) Source(12, 19) + SourceIndex(0) +18>Emitted(7, 81) Source(12, 55) + SourceIndex(0) --- >>>var _g = [3, "edging", "Trimming edges"], _h = _g[0], numberC = _h === void 0 ? -1 : _h, _j = _g[1], nameC = _j === void 0 ? "noName" : _j, _k = _g[2], skillC = _k === void 0 ? "noSkill" : _k; 1-> @@ -388,39 +389,39 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 31> "noSkill" 32> ] = [3, "edging", "Trimming edges"] 33> ; -1->Emitted(7, 1) Source(13, 5) + SourceIndex(0) -2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(7, 10) Source(13, 60) + SourceIndex(0) -4 >Emitted(7, 11) Source(13, 61) + SourceIndex(0) -5 >Emitted(7, 12) Source(13, 62) + SourceIndex(0) -6 >Emitted(7, 14) Source(13, 64) + SourceIndex(0) -7 >Emitted(7, 22) Source(13, 72) + SourceIndex(0) -8 >Emitted(7, 24) Source(13, 74) + SourceIndex(0) -9 >Emitted(7, 40) Source(13, 90) + SourceIndex(0) -10>Emitted(7, 41) Source(13, 91) + SourceIndex(0) -11>Emitted(7, 43) Source(13, 6) + SourceIndex(0) -12>Emitted(7, 53) Source(13, 18) + SourceIndex(0) -13>Emitted(7, 55) Source(13, 6) + SourceIndex(0) -14>Emitted(7, 62) Source(13, 13) + SourceIndex(0) -15>Emitted(7, 81) Source(13, 16) + SourceIndex(0) -16>Emitted(7, 82) Source(13, 17) + SourceIndex(0) -17>Emitted(7, 83) Source(13, 18) + SourceIndex(0) -18>Emitted(7, 88) Source(13, 18) + SourceIndex(0) -19>Emitted(7, 90) Source(13, 20) + SourceIndex(0) -20>Emitted(7, 100) Source(13, 36) + SourceIndex(0) -21>Emitted(7, 102) Source(13, 20) + SourceIndex(0) -22>Emitted(7, 107) Source(13, 25) + SourceIndex(0) -23>Emitted(7, 126) Source(13, 28) + SourceIndex(0) -24>Emitted(7, 134) Source(13, 36) + SourceIndex(0) -25>Emitted(7, 139) Source(13, 36) + SourceIndex(0) -26>Emitted(7, 141) Source(13, 38) + SourceIndex(0) -27>Emitted(7, 151) Source(13, 56) + SourceIndex(0) -28>Emitted(7, 153) Source(13, 38) + SourceIndex(0) -29>Emitted(7, 159) Source(13, 44) + SourceIndex(0) -30>Emitted(7, 178) Source(13, 47) + SourceIndex(0) -31>Emitted(7, 187) Source(13, 56) + SourceIndex(0) -32>Emitted(7, 192) Source(13, 91) + SourceIndex(0) -33>Emitted(7, 193) Source(13, 92) + SourceIndex(0) +1->Emitted(8, 1) Source(13, 5) + SourceIndex(0) +2 >Emitted(8, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(8, 10) Source(13, 60) + SourceIndex(0) +4 >Emitted(8, 11) Source(13, 61) + SourceIndex(0) +5 >Emitted(8, 12) Source(13, 62) + SourceIndex(0) +6 >Emitted(8, 14) Source(13, 64) + SourceIndex(0) +7 >Emitted(8, 22) Source(13, 72) + SourceIndex(0) +8 >Emitted(8, 24) Source(13, 74) + SourceIndex(0) +9 >Emitted(8, 40) Source(13, 90) + SourceIndex(0) +10>Emitted(8, 41) Source(13, 91) + SourceIndex(0) +11>Emitted(8, 43) Source(13, 6) + SourceIndex(0) +12>Emitted(8, 53) Source(13, 18) + SourceIndex(0) +13>Emitted(8, 55) Source(13, 6) + SourceIndex(0) +14>Emitted(8, 62) Source(13, 13) + SourceIndex(0) +15>Emitted(8, 81) Source(13, 16) + SourceIndex(0) +16>Emitted(8, 82) Source(13, 17) + SourceIndex(0) +17>Emitted(8, 83) Source(13, 18) + SourceIndex(0) +18>Emitted(8, 88) Source(13, 18) + SourceIndex(0) +19>Emitted(8, 90) Source(13, 20) + SourceIndex(0) +20>Emitted(8, 100) Source(13, 36) + SourceIndex(0) +21>Emitted(8, 102) Source(13, 20) + SourceIndex(0) +22>Emitted(8, 107) Source(13, 25) + SourceIndex(0) +23>Emitted(8, 126) Source(13, 28) + SourceIndex(0) +24>Emitted(8, 134) Source(13, 36) + SourceIndex(0) +25>Emitted(8, 139) Source(13, 36) + SourceIndex(0) +26>Emitted(8, 141) Source(13, 38) + SourceIndex(0) +27>Emitted(8, 151) Source(13, 56) + SourceIndex(0) +28>Emitted(8, 153) Source(13, 38) + SourceIndex(0) +29>Emitted(8, 159) Source(13, 44) + SourceIndex(0) +30>Emitted(8, 178) Source(13, 47) + SourceIndex(0) +31>Emitted(8, 187) Source(13, 56) + SourceIndex(0) +32>Emitted(8, 192) Source(13, 91) + SourceIndex(0) +33>Emitted(8, 193) Source(13, 92) + SourceIndex(0) --- >>>var _l = robotA[0], numberA3 = _l === void 0 ? -1 : _l, robotAInfo = robotA.slice(1); 1 > @@ -459,23 +460,23 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 15> robotA 16> 17> ] = robotA; -1 >Emitted(8, 1) Source(15, 6) + SourceIndex(0) -2 >Emitted(8, 5) Source(15, 6) + SourceIndex(0) -3 >Emitted(8, 10) Source(15, 38) + SourceIndex(0) -4 >Emitted(8, 16) Source(15, 44) + SourceIndex(0) -5 >Emitted(8, 19) Source(15, 19) + SourceIndex(0) -6 >Emitted(8, 21) Source(15, 6) + SourceIndex(0) -7 >Emitted(8, 29) Source(15, 14) + SourceIndex(0) -8 >Emitted(8, 48) Source(15, 17) + SourceIndex(0) -9 >Emitted(8, 49) Source(15, 18) + SourceIndex(0) -10>Emitted(8, 50) Source(15, 19) + SourceIndex(0) -11>Emitted(8, 55) Source(15, 19) + SourceIndex(0) -12>Emitted(8, 57) Source(15, 24) + SourceIndex(0) -13>Emitted(8, 67) Source(15, 34) + SourceIndex(0) -14>Emitted(8, 70) Source(15, 38) + SourceIndex(0) -15>Emitted(8, 76) Source(15, 44) + SourceIndex(0) -16>Emitted(8, 85) Source(15, 34) + SourceIndex(0) -17>Emitted(8, 86) Source(15, 45) + SourceIndex(0) +1 >Emitted(9, 1) Source(15, 6) + SourceIndex(0) +2 >Emitted(9, 5) Source(15, 6) + SourceIndex(0) +3 >Emitted(9, 10) Source(15, 38) + SourceIndex(0) +4 >Emitted(9, 16) Source(15, 44) + SourceIndex(0) +5 >Emitted(9, 19) Source(15, 19) + SourceIndex(0) +6 >Emitted(9, 21) Source(15, 6) + SourceIndex(0) +7 >Emitted(9, 29) Source(15, 14) + SourceIndex(0) +8 >Emitted(9, 48) Source(15, 17) + SourceIndex(0) +9 >Emitted(9, 49) Source(15, 18) + SourceIndex(0) +10>Emitted(9, 50) Source(15, 19) + SourceIndex(0) +11>Emitted(9, 55) Source(15, 19) + SourceIndex(0) +12>Emitted(9, 57) Source(15, 24) + SourceIndex(0) +13>Emitted(9, 67) Source(15, 34) + SourceIndex(0) +14>Emitted(9, 70) Source(15, 38) + SourceIndex(0) +15>Emitted(9, 76) Source(15, 44) + SourceIndex(0) +16>Emitted(9, 85) Source(15, 34) + SourceIndex(0) +17>Emitted(9, 86) Source(15, 45) + SourceIndex(0) --- >>>if (nameA == nameA2) { 1 > @@ -495,13 +496,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 5 > nameA2 6 > ) 7 > { -1 >Emitted(9, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(9, 5) Source(17, 5) + SourceIndex(0) -3 >Emitted(9, 10) Source(17, 10) + SourceIndex(0) -4 >Emitted(9, 14) Source(17, 14) + SourceIndex(0) -5 >Emitted(9, 20) Source(17, 20) + SourceIndex(0) -6 >Emitted(9, 22) Source(17, 22) + SourceIndex(0) -7 >Emitted(9, 23) Source(17, 23) + SourceIndex(0) +1 >Emitted(10, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(10, 5) Source(17, 5) + SourceIndex(0) +3 >Emitted(10, 10) Source(17, 10) + SourceIndex(0) +4 >Emitted(10, 14) Source(17, 14) + SourceIndex(0) +5 >Emitted(10, 20) Source(17, 20) + SourceIndex(0) +6 >Emitted(10, 22) Source(17, 22) + SourceIndex(0) +7 >Emitted(10, 23) Source(17, 23) + SourceIndex(0) --- >>> console.log(skillA2); 1->^^^^ @@ -521,14 +522,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 6 > skillA2 7 > ) 8 > ; -1->Emitted(10, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(10, 12) Source(18, 12) + SourceIndex(0) -3 >Emitted(10, 13) Source(18, 13) + SourceIndex(0) -4 >Emitted(10, 16) Source(18, 16) + SourceIndex(0) -5 >Emitted(10, 17) Source(18, 17) + SourceIndex(0) -6 >Emitted(10, 24) Source(18, 24) + SourceIndex(0) -7 >Emitted(10, 25) Source(18, 25) + SourceIndex(0) -8 >Emitted(10, 26) Source(18, 26) + SourceIndex(0) +1->Emitted(11, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(11, 12) Source(18, 12) + SourceIndex(0) +3 >Emitted(11, 13) Source(18, 13) + SourceIndex(0) +4 >Emitted(11, 16) Source(18, 16) + SourceIndex(0) +5 >Emitted(11, 17) Source(18, 17) + SourceIndex(0) +6 >Emitted(11, 24) Source(18, 24) + SourceIndex(0) +7 >Emitted(11, 25) Source(18, 25) + SourceIndex(0) +8 >Emitted(11, 26) Source(18, 26) + SourceIndex(0) --- >>>} 1 > @@ -537,7 +538,7 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 1 > > 2 >} -1 >Emitted(11, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(11, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(12, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(12, 2) Source(19, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js index a51fdee94162c..71dcb32848ff8 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js @@ -20,6 +20,7 @@ if (nameMB == nameMA) { } //// [sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js] +"use strict"; var multiRobotA = ["mower", ["mowing", ""]]; var multiRobotB = ["trimmer", ["trimming", "edging"]]; var _a = multiRobotA[1], skillA = _a === void 0 ? ["noSkill", "noSkill"] : _a; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js.map index 164a84a3cd41e..2769e5910566c 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.ts"],"names":[],"mappings":"AAIA,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AAElE,IAAA,KAAmC,WAAW,GAAf,EAA/B,MAAM,mBAAG,CAAC,SAAS,EAAE,SAAS,CAAC,KAAA,CAAgB;AACjD,IAAA,KAAsB,WAAW,GAAhB,EAAjB,MAAM,mBAAG,QAAQ,KAAA,CAAiB;AAClC,IAAA,KAAwG,WAAW,GAAlG,EAAjB,MAAM,mBAAG,QAAQ,KAAA,EAAE,KAAqF,WAAW,GAAf,EAAjF,qBAA2D,CAAC,SAAS,EAAE,SAAS,CAAC,KAAA,EAAhF,UAAyB,EAAzB,aAAa,mBAAG,SAAS,KAAA,EAAE,UAA2B,EAA3B,eAAe,mBAAG,SAAS,KAA0B,CAAgB;AAEpH,IAAA,KAAsB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,GAAtC,EAAjB,MAAM,mBAAG,QAAQ,KAAA,CAAuC;AACzD,IAAA,KAA0G,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC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vbGUubG9nKHNraWxsQVswXSArIHNraWxsQVsxXSk7Cn0= +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.ts"],"names":[],"mappings":";AAIA,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AAElE,IAAA,KAAmC,WAAW,GAAf,EAA/B,MAAM,mBAAG,CAAC,SAAS,EAAE,SAAS,CAAC,KAAA,CAAgB;AACjD,IAAA,KAAsB,WAAW,GAAhB,EAAjB,MAAM,mBAAG,QAAQ,KAAA,CAAiB;AAClC,IAAA,KAAwG,WAAW,GAAlG,EAAjB,MAAM,mBAAG,QAAQ,KAAA,EAAE,KAAqF,WAAW,GAAf,EAAjF,qBAA2D,CAAC,SAAS,EAAE,SAAS,CAAC,KAAA,EAAhF,UAAyB,EAAzB,aAAa,mBAAG,SAAS,KAAA,EAAE,UAA2B,EAA3B,eAAe,mBAAG,SAAS,KAA0B,CAAgB;AAEpH,IAAA,KAAsB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,GAAtC,EAAjB,MAAM,mBAAG,QAAQ,KAAA,CAAuC;AACzD,IAAA,KAA0G,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE,SAAS,CAAC,CAAC,EAA1I,UAAkB,EAAlB,OAAO,mBAAG,QAAQ,KAAA,EAAE,UAAiF,EAAjF,qBAA2D,CAAC,SAAS,EAAE,SAAS,CAAC,KAAA,EAAhF,UAAyB,EAAzB,aAAa,mBAAG,SAAS,KAAA,EAAE,UAA2B,EAA3B,eAAe,mBAAG,SAAS,KAA+D,CAAC;AAEhJ,IAAI,MAAM,IAAI,MAAM,EAAE,CAAC;I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3RyaW5nKTogdm9pZDsKfQp0eXBlIE11bHRpU2tpbGxlZFJvYm90ID0gW3N0cmluZywgc3RyaW5nW11dOwp2YXIgbXVsdGlSb2JvdEE6IE11bHRpU2tpbGxlZFJvYm90ID0gWyJtb3dlciIsIFsibW93aW5nIiwgIiJdXTsKdmFyIG11bHRpUm9ib3RCOiBNdWx0aVNraWxsZWRSb2JvdCA9IFsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dOwoKbGV0IFssIHNraWxsQSA9IFsibm9Ta2lsbCIsICJub1NraWxsIl1dID0gbXVsdGlSb2JvdEE7CmxldCBbbmFtZU1CID0gIm5vTmFtZSIgXSA9IG11bHRpUm9ib3RCOwpsZXQgW25hbWVNQSA9ICJub05hbWUiLCBbcHJpbWFyeVNraWxsQSA9ICJub1NraWxsIiwgc2Vjb25kYXJ5U2tpbGxBID0gIm5vU2tpbGwiXSA9IFsibm9Ta2lsbCIsICJub1NraWxsIl1dID0gbXVsdGlSb2JvdEE7CgpsZXQgW25hbWVNQyA9ICJub05hbWUiIF0gPSBbInJvb21iYSIsIFsidmFjdXVtIiwgIm1vcHBpbmciXV07CmxldCBbbmFtZU1DMiA9ICJub05hbWUiLCBbcHJpbWFyeVNraWxsQyA9ICJub1NraWxsIiwgc2Vjb25kYXJ5U2tpbGxDID0gIm5vU2tpbGwiXSA9IFsibm9Ta2lsbCIsICJub1NraWxsIl1dID0gWyJyb29tYmEiLCBbInZhY3V1bSIsICJtb3BwaW5nIl1dOwoKaWYgKG5hbWVNQiA9PSBuYW1lTUEpIHsKICAgIGNvbnNvbGUubG9nKHNraWxsQVswXSArIHNraWxsQVsxXSk7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.sourcemap.txt index 7696cc6e9a6ed..0e3c4ca485387 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementArrayBindingPatternDef emittedFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var multiRobotA = ["mower", ["mowing", ""]]; 1 > 2 >^^^^ @@ -42,20 +43,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 12> ] 13> ] 14> ; -1 >Emitted(1, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(5, 5) + SourceIndex(0) -3 >Emitted(1, 16) Source(5, 16) + SourceIndex(0) -4 >Emitted(1, 19) Source(5, 38) + SourceIndex(0) -5 >Emitted(1, 20) Source(5, 39) + SourceIndex(0) -6 >Emitted(1, 27) Source(5, 46) + SourceIndex(0) -7 >Emitted(1, 29) Source(5, 48) + SourceIndex(0) -8 >Emitted(1, 30) Source(5, 49) + SourceIndex(0) -9 >Emitted(1, 38) Source(5, 57) + SourceIndex(0) -10>Emitted(1, 40) Source(5, 59) + SourceIndex(0) -11>Emitted(1, 42) Source(5, 61) + SourceIndex(0) -12>Emitted(1, 43) Source(5, 62) + SourceIndex(0) -13>Emitted(1, 44) Source(5, 63) + SourceIndex(0) -14>Emitted(1, 45) Source(5, 64) + SourceIndex(0) +1 >Emitted(2, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(5, 5) + SourceIndex(0) +3 >Emitted(2, 16) Source(5, 16) + SourceIndex(0) +4 >Emitted(2, 19) Source(5, 38) + SourceIndex(0) +5 >Emitted(2, 20) Source(5, 39) + SourceIndex(0) +6 >Emitted(2, 27) Source(5, 46) + SourceIndex(0) +7 >Emitted(2, 29) Source(5, 48) + SourceIndex(0) +8 >Emitted(2, 30) Source(5, 49) + SourceIndex(0) +9 >Emitted(2, 38) Source(5, 57) + SourceIndex(0) +10>Emitted(2, 40) Source(5, 59) + SourceIndex(0) +11>Emitted(2, 42) Source(5, 61) + SourceIndex(0) +12>Emitted(2, 43) Source(5, 62) + SourceIndex(0) +13>Emitted(2, 44) Source(5, 63) + SourceIndex(0) +14>Emitted(2, 45) Source(5, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -88,20 +89,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 12> ] 13> ] 14> ; -1->Emitted(2, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(6, 5) + SourceIndex(0) -3 >Emitted(2, 16) Source(6, 16) + SourceIndex(0) -4 >Emitted(2, 19) Source(6, 38) + SourceIndex(0) -5 >Emitted(2, 20) Source(6, 39) + SourceIndex(0) -6 >Emitted(2, 29) Source(6, 48) + SourceIndex(0) -7 >Emitted(2, 31) Source(6, 50) + SourceIndex(0) -8 >Emitted(2, 32) Source(6, 51) + SourceIndex(0) -9 >Emitted(2, 42) Source(6, 61) + SourceIndex(0) -10>Emitted(2, 44) Source(6, 63) + SourceIndex(0) -11>Emitted(2, 52) Source(6, 71) + SourceIndex(0) -12>Emitted(2, 53) Source(6, 72) + SourceIndex(0) -13>Emitted(2, 54) Source(6, 73) + SourceIndex(0) -14>Emitted(2, 55) Source(6, 74) + SourceIndex(0) +1->Emitted(3, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(6, 5) + SourceIndex(0) +3 >Emitted(3, 16) Source(6, 16) + SourceIndex(0) +4 >Emitted(3, 19) Source(6, 38) + SourceIndex(0) +5 >Emitted(3, 20) Source(6, 39) + SourceIndex(0) +6 >Emitted(3, 29) Source(6, 48) + SourceIndex(0) +7 >Emitted(3, 31) Source(6, 50) + SourceIndex(0) +8 >Emitted(3, 32) Source(6, 51) + SourceIndex(0) +9 >Emitted(3, 42) Source(6, 61) + SourceIndex(0) +10>Emitted(3, 44) Source(6, 63) + SourceIndex(0) +11>Emitted(3, 52) Source(6, 71) + SourceIndex(0) +12>Emitted(3, 53) Source(6, 72) + SourceIndex(0) +13>Emitted(3, 54) Source(6, 73) + SourceIndex(0) +14>Emitted(3, 55) Source(6, 74) + SourceIndex(0) --- >>>var _a = multiRobotA[1], skillA = _a === void 0 ? ["noSkill", "noSkill"] : _a; 1-> @@ -136,21 +137,21 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 13> ] 14> 15> ] = multiRobotA; -1->Emitted(3, 1) Source(8, 8) + SourceIndex(0) -2 >Emitted(3, 5) Source(8, 8) + SourceIndex(0) -3 >Emitted(3, 10) Source(8, 43) + SourceIndex(0) -4 >Emitted(3, 21) Source(8, 54) + SourceIndex(0) -5 >Emitted(3, 24) Source(8, 39) + SourceIndex(0) -6 >Emitted(3, 26) Source(8, 8) + SourceIndex(0) -7 >Emitted(3, 32) Source(8, 14) + SourceIndex(0) -8 >Emitted(3, 51) Source(8, 17) + SourceIndex(0) -9 >Emitted(3, 52) Source(8, 18) + SourceIndex(0) -10>Emitted(3, 61) Source(8, 27) + SourceIndex(0) -11>Emitted(3, 63) Source(8, 29) + SourceIndex(0) -12>Emitted(3, 72) Source(8, 38) + SourceIndex(0) -13>Emitted(3, 73) Source(8, 39) + SourceIndex(0) -14>Emitted(3, 78) Source(8, 39) + SourceIndex(0) -15>Emitted(3, 79) Source(8, 55) + SourceIndex(0) +1->Emitted(4, 1) Source(8, 8) + SourceIndex(0) +2 >Emitted(4, 5) Source(8, 8) + SourceIndex(0) +3 >Emitted(4, 10) Source(8, 43) + SourceIndex(0) +4 >Emitted(4, 21) Source(8, 54) + SourceIndex(0) +5 >Emitted(4, 24) Source(8, 39) + SourceIndex(0) +6 >Emitted(4, 26) Source(8, 8) + SourceIndex(0) +7 >Emitted(4, 32) Source(8, 14) + SourceIndex(0) +8 >Emitted(4, 51) Source(8, 17) + SourceIndex(0) +9 >Emitted(4, 52) Source(8, 18) + SourceIndex(0) +10>Emitted(4, 61) Source(8, 27) + SourceIndex(0) +11>Emitted(4, 63) Source(8, 29) + SourceIndex(0) +12>Emitted(4, 72) Source(8, 38) + SourceIndex(0) +13>Emitted(4, 73) Source(8, 39) + SourceIndex(0) +14>Emitted(4, 78) Source(8, 39) + SourceIndex(0) +15>Emitted(4, 79) Source(8, 55) + SourceIndex(0) --- >>>var _b = multiRobotB[0], nameMB = _b === void 0 ? "noName" : _b; 1 > @@ -177,17 +178,17 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 9 > "noName" 10> 11> ] = multiRobotB; -1 >Emitted(4, 1) Source(9, 6) + SourceIndex(0) -2 >Emitted(4, 5) Source(9, 6) + SourceIndex(0) -3 >Emitted(4, 10) Source(9, 28) + SourceIndex(0) -4 >Emitted(4, 21) Source(9, 39) + SourceIndex(0) -5 >Emitted(4, 24) Source(9, 23) + SourceIndex(0) -6 >Emitted(4, 26) Source(9, 6) + SourceIndex(0) -7 >Emitted(4, 32) Source(9, 12) + SourceIndex(0) -8 >Emitted(4, 51) Source(9, 15) + SourceIndex(0) -9 >Emitted(4, 59) Source(9, 23) + SourceIndex(0) -10>Emitted(4, 64) Source(9, 23) + SourceIndex(0) -11>Emitted(4, 65) Source(9, 40) + SourceIndex(0) +1 >Emitted(5, 1) Source(9, 6) + SourceIndex(0) +2 >Emitted(5, 5) Source(9, 6) + SourceIndex(0) +3 >Emitted(5, 10) Source(9, 28) + SourceIndex(0) +4 >Emitted(5, 21) Source(9, 39) + SourceIndex(0) +5 >Emitted(5, 24) Source(9, 23) + SourceIndex(0) +6 >Emitted(5, 26) Source(9, 6) + SourceIndex(0) +7 >Emitted(5, 32) Source(9, 12) + SourceIndex(0) +8 >Emitted(5, 51) Source(9, 15) + SourceIndex(0) +9 >Emitted(5, 59) Source(9, 23) + SourceIndex(0) +10>Emitted(5, 64) Source(9, 23) + SourceIndex(0) +11>Emitted(5, 65) Source(9, 40) + SourceIndex(0) --- >>>var _c = multiRobotA[0], nameMA = _c === void 0 ? "noName" : _c, _d = multiRobotA[1], _e = _d === void 0 ? ["noSkill", "noSkill"] : _d, _f = _e[0], primarySkillA = _f === void 0 ? "noSkill" : _f, _g = _e[1], secondarySkillA = _g === void 0 ? "noSkill" : _g; 1-> @@ -265,43 +266,43 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 35> "noSkill" 36> ] = ["noSkill", "noSkill"] 37> ] = multiRobotA; -1->Emitted(5, 1) Source(10, 6) + SourceIndex(0) -2 >Emitted(5, 5) Source(10, 6) + SourceIndex(0) -3 >Emitted(5, 10) Source(10, 110) + SourceIndex(0) -4 >Emitted(5, 21) Source(10, 121) + SourceIndex(0) -5 >Emitted(5, 24) Source(10, 23) + SourceIndex(0) -6 >Emitted(5, 26) Source(10, 6) + SourceIndex(0) -7 >Emitted(5, 32) Source(10, 12) + SourceIndex(0) -8 >Emitted(5, 51) Source(10, 15) + SourceIndex(0) -9 >Emitted(5, 59) Source(10, 23) + SourceIndex(0) -10>Emitted(5, 64) Source(10, 23) + SourceIndex(0) -11>Emitted(5, 66) Source(10, 25) + SourceIndex(0) -12>Emitted(5, 71) Source(10, 110) + SourceIndex(0) -13>Emitted(5, 82) Source(10, 121) + SourceIndex(0) -14>Emitted(5, 85) Source(10, 106) + SourceIndex(0) -15>Emitted(5, 87) Source(10, 25) + SourceIndex(0) -16>Emitted(5, 108) Source(10, 84) + SourceIndex(0) -17>Emitted(5, 109) Source(10, 85) + SourceIndex(0) -18>Emitted(5, 118) Source(10, 94) + SourceIndex(0) -19>Emitted(5, 120) Source(10, 96) + SourceIndex(0) -20>Emitted(5, 129) Source(10, 105) + SourceIndex(0) -21>Emitted(5, 130) Source(10, 106) + SourceIndex(0) -22>Emitted(5, 135) Source(10, 106) + SourceIndex(0) -23>Emitted(5, 137) Source(10, 26) + SourceIndex(0) -24>Emitted(5, 147) Source(10, 51) + SourceIndex(0) -25>Emitted(5, 149) Source(10, 26) + SourceIndex(0) -26>Emitted(5, 162) Source(10, 39) + SourceIndex(0) -27>Emitted(5, 181) Source(10, 42) + SourceIndex(0) -28>Emitted(5, 190) Source(10, 51) + SourceIndex(0) -29>Emitted(5, 195) Source(10, 51) + SourceIndex(0) -30>Emitted(5, 197) Source(10, 53) + SourceIndex(0) -31>Emitted(5, 207) Source(10, 80) + SourceIndex(0) -32>Emitted(5, 209) Source(10, 53) + SourceIndex(0) -33>Emitted(5, 224) Source(10, 68) + SourceIndex(0) -34>Emitted(5, 243) Source(10, 71) + SourceIndex(0) -35>Emitted(5, 252) Source(10, 80) + SourceIndex(0) -36>Emitted(5, 257) Source(10, 106) + SourceIndex(0) -37>Emitted(5, 258) Source(10, 122) + SourceIndex(0) +1->Emitted(6, 1) Source(10, 6) + SourceIndex(0) +2 >Emitted(6, 5) Source(10, 6) + SourceIndex(0) +3 >Emitted(6, 10) Source(10, 110) + SourceIndex(0) +4 >Emitted(6, 21) Source(10, 121) + SourceIndex(0) +5 >Emitted(6, 24) Source(10, 23) + SourceIndex(0) +6 >Emitted(6, 26) Source(10, 6) + SourceIndex(0) +7 >Emitted(6, 32) Source(10, 12) + SourceIndex(0) +8 >Emitted(6, 51) Source(10, 15) + SourceIndex(0) +9 >Emitted(6, 59) Source(10, 23) + SourceIndex(0) +10>Emitted(6, 64) Source(10, 23) + SourceIndex(0) +11>Emitted(6, 66) Source(10, 25) + SourceIndex(0) +12>Emitted(6, 71) Source(10, 110) + SourceIndex(0) +13>Emitted(6, 82) Source(10, 121) + SourceIndex(0) +14>Emitted(6, 85) Source(10, 106) + SourceIndex(0) +15>Emitted(6, 87) Source(10, 25) + SourceIndex(0) +16>Emitted(6, 108) Source(10, 84) + SourceIndex(0) +17>Emitted(6, 109) Source(10, 85) + SourceIndex(0) +18>Emitted(6, 118) Source(10, 94) + SourceIndex(0) +19>Emitted(6, 120) Source(10, 96) + SourceIndex(0) +20>Emitted(6, 129) Source(10, 105) + SourceIndex(0) +21>Emitted(6, 130) Source(10, 106) + SourceIndex(0) +22>Emitted(6, 135) Source(10, 106) + SourceIndex(0) +23>Emitted(6, 137) Source(10, 26) + SourceIndex(0) +24>Emitted(6, 147) Source(10, 51) + SourceIndex(0) +25>Emitted(6, 149) Source(10, 26) + SourceIndex(0) +26>Emitted(6, 162) Source(10, 39) + SourceIndex(0) +27>Emitted(6, 181) Source(10, 42) + SourceIndex(0) +28>Emitted(6, 190) Source(10, 51) + SourceIndex(0) +29>Emitted(6, 195) Source(10, 51) + SourceIndex(0) +30>Emitted(6, 197) Source(10, 53) + SourceIndex(0) +31>Emitted(6, 207) Source(10, 80) + SourceIndex(0) +32>Emitted(6, 209) Source(10, 53) + SourceIndex(0) +33>Emitted(6, 224) Source(10, 68) + SourceIndex(0) +34>Emitted(6, 243) Source(10, 71) + SourceIndex(0) +35>Emitted(6, 252) Source(10, 80) + SourceIndex(0) +36>Emitted(6, 257) Source(10, 106) + SourceIndex(0) +37>Emitted(6, 258) Source(10, 122) + SourceIndex(0) --- >>>var _h = ["roomba", ["vacuum", "mopping"]][0], nameMC = _h === void 0 ? "noName" : _h; 1 > @@ -345,25 +346,25 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 17> "noName" 18> 19> ] = ["roomba", ["vacuum", "mopping"]]; -1 >Emitted(6, 1) Source(12, 6) + SourceIndex(0) -2 >Emitted(6, 5) Source(12, 6) + SourceIndex(0) -3 >Emitted(6, 10) Source(12, 28) + SourceIndex(0) -4 >Emitted(6, 11) Source(12, 29) + SourceIndex(0) -5 >Emitted(6, 19) Source(12, 37) + SourceIndex(0) -6 >Emitted(6, 21) Source(12, 39) + SourceIndex(0) -7 >Emitted(6, 22) Source(12, 40) + SourceIndex(0) -8 >Emitted(6, 30) Source(12, 48) + SourceIndex(0) -9 >Emitted(6, 32) Source(12, 50) + SourceIndex(0) -10>Emitted(6, 41) Source(12, 59) + SourceIndex(0) -11>Emitted(6, 42) Source(12, 60) + SourceIndex(0) -12>Emitted(6, 43) Source(12, 61) + SourceIndex(0) -13>Emitted(6, 46) Source(12, 23) + SourceIndex(0) -14>Emitted(6, 48) Source(12, 6) + SourceIndex(0) -15>Emitted(6, 54) Source(12, 12) + SourceIndex(0) -16>Emitted(6, 73) Source(12, 15) + SourceIndex(0) -17>Emitted(6, 81) Source(12, 23) + SourceIndex(0) -18>Emitted(6, 86) Source(12, 23) + SourceIndex(0) -19>Emitted(6, 87) Source(12, 62) + SourceIndex(0) +1 >Emitted(7, 1) Source(12, 6) + SourceIndex(0) +2 >Emitted(7, 5) Source(12, 6) + SourceIndex(0) +3 >Emitted(7, 10) Source(12, 28) + SourceIndex(0) +4 >Emitted(7, 11) Source(12, 29) + SourceIndex(0) +5 >Emitted(7, 19) Source(12, 37) + SourceIndex(0) +6 >Emitted(7, 21) Source(12, 39) + SourceIndex(0) +7 >Emitted(7, 22) Source(12, 40) + SourceIndex(0) +8 >Emitted(7, 30) Source(12, 48) + SourceIndex(0) +9 >Emitted(7, 32) Source(12, 50) + SourceIndex(0) +10>Emitted(7, 41) Source(12, 59) + SourceIndex(0) +11>Emitted(7, 42) Source(12, 60) + SourceIndex(0) +12>Emitted(7, 43) Source(12, 61) + SourceIndex(0) +13>Emitted(7, 46) Source(12, 23) + SourceIndex(0) +14>Emitted(7, 48) Source(12, 6) + SourceIndex(0) +15>Emitted(7, 54) Source(12, 12) + SourceIndex(0) +16>Emitted(7, 73) Source(12, 15) + SourceIndex(0) +17>Emitted(7, 81) Source(12, 23) + SourceIndex(0) +18>Emitted(7, 86) Source(12, 23) + SourceIndex(0) +19>Emitted(7, 87) Source(12, 62) + SourceIndex(0) --- >>>var _j = ["roomba", ["vacuum", "mopping"]], _k = _j[0], nameMC2 = _k === void 0 ? "noName" : _k, _l = _j[1], _m = _l === void 0 ? ["noSkill", "noSkill"] : _l, _o = _m[0], primarySkillC = _o === void 0 ? "noSkill" : _o, _p = _m[1], secondarySkillC = _p === void 0 ? "noSkill" : _p; 1-> @@ -455,50 +456,50 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 42> "noSkill" 43> ] = ["noSkill", "noSkill"]] = ["roomba", ["vacuum", "mopping"]] 44> ; -1->Emitted(7, 1) Source(13, 5) + SourceIndex(0) -2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(7, 10) Source(13, 111) + SourceIndex(0) -4 >Emitted(7, 11) Source(13, 112) + SourceIndex(0) -5 >Emitted(7, 19) Source(13, 120) + SourceIndex(0) -6 >Emitted(7, 21) Source(13, 122) + SourceIndex(0) -7 >Emitted(7, 22) Source(13, 123) + SourceIndex(0) -8 >Emitted(7, 30) Source(13, 131) + SourceIndex(0) -9 >Emitted(7, 32) Source(13, 133) + SourceIndex(0) -10>Emitted(7, 41) Source(13, 142) + SourceIndex(0) -11>Emitted(7, 42) Source(13, 143) + SourceIndex(0) -12>Emitted(7, 43) Source(13, 144) + SourceIndex(0) -13>Emitted(7, 45) Source(13, 6) + SourceIndex(0) -14>Emitted(7, 55) Source(13, 24) + SourceIndex(0) -15>Emitted(7, 57) Source(13, 6) + SourceIndex(0) -16>Emitted(7, 64) Source(13, 13) + SourceIndex(0) -17>Emitted(7, 83) Source(13, 16) + SourceIndex(0) -18>Emitted(7, 91) Source(13, 24) + SourceIndex(0) -19>Emitted(7, 96) Source(13, 24) + SourceIndex(0) -20>Emitted(7, 98) Source(13, 26) + SourceIndex(0) -21>Emitted(7, 108) Source(13, 107) + SourceIndex(0) -22>Emitted(7, 110) Source(13, 26) + SourceIndex(0) -23>Emitted(7, 131) Source(13, 85) + SourceIndex(0) -24>Emitted(7, 132) Source(13, 86) + SourceIndex(0) -25>Emitted(7, 141) Source(13, 95) + SourceIndex(0) -26>Emitted(7, 143) Source(13, 97) + SourceIndex(0) -27>Emitted(7, 152) Source(13, 106) + SourceIndex(0) -28>Emitted(7, 153) Source(13, 107) + SourceIndex(0) -29>Emitted(7, 158) Source(13, 107) + SourceIndex(0) -30>Emitted(7, 160) Source(13, 27) + SourceIndex(0) -31>Emitted(7, 170) Source(13, 52) + SourceIndex(0) -32>Emitted(7, 172) Source(13, 27) + SourceIndex(0) -33>Emitted(7, 185) Source(13, 40) + SourceIndex(0) -34>Emitted(7, 204) Source(13, 43) + SourceIndex(0) -35>Emitted(7, 213) Source(13, 52) + SourceIndex(0) -36>Emitted(7, 218) Source(13, 52) + SourceIndex(0) -37>Emitted(7, 220) Source(13, 54) + SourceIndex(0) -38>Emitted(7, 230) Source(13, 81) + SourceIndex(0) -39>Emitted(7, 232) Source(13, 54) + SourceIndex(0) -40>Emitted(7, 247) Source(13, 69) + SourceIndex(0) -41>Emitted(7, 266) Source(13, 72) + SourceIndex(0) -42>Emitted(7, 275) Source(13, 81) + SourceIndex(0) -43>Emitted(7, 280) Source(13, 144) + SourceIndex(0) -44>Emitted(7, 281) Source(13, 145) + SourceIndex(0) +1->Emitted(8, 1) Source(13, 5) + SourceIndex(0) +2 >Emitted(8, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(8, 10) Source(13, 111) + SourceIndex(0) +4 >Emitted(8, 11) Source(13, 112) + SourceIndex(0) +5 >Emitted(8, 19) Source(13, 120) + SourceIndex(0) +6 >Emitted(8, 21) Source(13, 122) + SourceIndex(0) +7 >Emitted(8, 22) Source(13, 123) + SourceIndex(0) +8 >Emitted(8, 30) Source(13, 131) + SourceIndex(0) +9 >Emitted(8, 32) Source(13, 133) + SourceIndex(0) +10>Emitted(8, 41) Source(13, 142) + SourceIndex(0) +11>Emitted(8, 42) Source(13, 143) + SourceIndex(0) +12>Emitted(8, 43) Source(13, 144) + SourceIndex(0) +13>Emitted(8, 45) Source(13, 6) + SourceIndex(0) +14>Emitted(8, 55) Source(13, 24) + SourceIndex(0) +15>Emitted(8, 57) Source(13, 6) + SourceIndex(0) +16>Emitted(8, 64) Source(13, 13) + SourceIndex(0) +17>Emitted(8, 83) Source(13, 16) + SourceIndex(0) +18>Emitted(8, 91) Source(13, 24) + SourceIndex(0) +19>Emitted(8, 96) Source(13, 24) + SourceIndex(0) +20>Emitted(8, 98) Source(13, 26) + SourceIndex(0) +21>Emitted(8, 108) Source(13, 107) + SourceIndex(0) +22>Emitted(8, 110) Source(13, 26) + SourceIndex(0) +23>Emitted(8, 131) Source(13, 85) + SourceIndex(0) +24>Emitted(8, 132) Source(13, 86) + SourceIndex(0) +25>Emitted(8, 141) Source(13, 95) + SourceIndex(0) +26>Emitted(8, 143) Source(13, 97) + SourceIndex(0) +27>Emitted(8, 152) Source(13, 106) + SourceIndex(0) +28>Emitted(8, 153) Source(13, 107) + SourceIndex(0) +29>Emitted(8, 158) Source(13, 107) + SourceIndex(0) +30>Emitted(8, 160) Source(13, 27) + SourceIndex(0) +31>Emitted(8, 170) Source(13, 52) + SourceIndex(0) +32>Emitted(8, 172) Source(13, 27) + SourceIndex(0) +33>Emitted(8, 185) Source(13, 40) + SourceIndex(0) +34>Emitted(8, 204) Source(13, 43) + SourceIndex(0) +35>Emitted(8, 213) Source(13, 52) + SourceIndex(0) +36>Emitted(8, 218) Source(13, 52) + SourceIndex(0) +37>Emitted(8, 220) Source(13, 54) + SourceIndex(0) +38>Emitted(8, 230) Source(13, 81) + SourceIndex(0) +39>Emitted(8, 232) Source(13, 54) + SourceIndex(0) +40>Emitted(8, 247) Source(13, 69) + SourceIndex(0) +41>Emitted(8, 266) Source(13, 72) + SourceIndex(0) +42>Emitted(8, 275) Source(13, 81) + SourceIndex(0) +43>Emitted(8, 280) Source(13, 144) + SourceIndex(0) +44>Emitted(8, 281) Source(13, 145) + SourceIndex(0) --- >>>if (nameMB == nameMA) { 1 > @@ -518,13 +519,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 5 > nameMA 6 > ) 7 > { -1 >Emitted(8, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(8, 5) Source(15, 5) + SourceIndex(0) -3 >Emitted(8, 11) Source(15, 11) + SourceIndex(0) -4 >Emitted(8, 15) Source(15, 15) + SourceIndex(0) -5 >Emitted(8, 21) Source(15, 21) + SourceIndex(0) -6 >Emitted(8, 23) Source(15, 23) + SourceIndex(0) -7 >Emitted(8, 24) Source(15, 24) + SourceIndex(0) +1 >Emitted(9, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(9, 5) Source(15, 5) + SourceIndex(0) +3 >Emitted(9, 11) Source(15, 11) + SourceIndex(0) +4 >Emitted(9, 15) Source(15, 15) + SourceIndex(0) +5 >Emitted(9, 21) Source(15, 21) + SourceIndex(0) +6 >Emitted(9, 23) Source(15, 23) + SourceIndex(0) +7 >Emitted(9, 24) Source(15, 24) + SourceIndex(0) --- >>> console.log(skillA[0] + skillA[1]); 1->^^^^ @@ -560,22 +561,22 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 14> ] 15> ) 16> ; -1->Emitted(9, 5) Source(16, 5) + SourceIndex(0) -2 >Emitted(9, 12) Source(16, 12) + SourceIndex(0) -3 >Emitted(9, 13) Source(16, 13) + SourceIndex(0) -4 >Emitted(9, 16) Source(16, 16) + SourceIndex(0) -5 >Emitted(9, 17) Source(16, 17) + SourceIndex(0) -6 >Emitted(9, 23) Source(16, 23) + SourceIndex(0) -7 >Emitted(9, 24) Source(16, 24) + SourceIndex(0) -8 >Emitted(9, 25) Source(16, 25) + SourceIndex(0) -9 >Emitted(9, 26) Source(16, 26) + SourceIndex(0) -10>Emitted(9, 29) Source(16, 29) + SourceIndex(0) -11>Emitted(9, 35) Source(16, 35) + SourceIndex(0) -12>Emitted(9, 36) Source(16, 36) + SourceIndex(0) -13>Emitted(9, 37) Source(16, 37) + SourceIndex(0) -14>Emitted(9, 38) Source(16, 38) + SourceIndex(0) -15>Emitted(9, 39) Source(16, 39) + SourceIndex(0) -16>Emitted(9, 40) Source(16, 40) + SourceIndex(0) +1->Emitted(10, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(10, 12) Source(16, 12) + SourceIndex(0) +3 >Emitted(10, 13) Source(16, 13) + SourceIndex(0) +4 >Emitted(10, 16) Source(16, 16) + SourceIndex(0) +5 >Emitted(10, 17) Source(16, 17) + SourceIndex(0) +6 >Emitted(10, 23) Source(16, 23) + SourceIndex(0) +7 >Emitted(10, 24) Source(16, 24) + SourceIndex(0) +8 >Emitted(10, 25) Source(16, 25) + SourceIndex(0) +9 >Emitted(10, 26) Source(16, 26) + SourceIndex(0) +10>Emitted(10, 29) Source(16, 29) + SourceIndex(0) +11>Emitted(10, 35) Source(16, 35) + SourceIndex(0) +12>Emitted(10, 36) Source(16, 36) + SourceIndex(0) +13>Emitted(10, 37) Source(16, 37) + SourceIndex(0) +14>Emitted(10, 38) Source(16, 38) + SourceIndex(0) +15>Emitted(10, 39) Source(16, 39) + SourceIndex(0) +16>Emitted(10, 40) Source(16, 40) + SourceIndex(0) --- >>>} 1 > @@ -584,7 +585,7 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 1 > > 2 >} -1 >Emitted(10, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(10, 2) Source(17, 2) + SourceIndex(0) +1 >Emitted(11, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(11, 2) Source(17, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js index f2ba202086200..d6dcdd302b6ad 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js @@ -57,6 +57,7 @@ function getMultiRobotB() { } //// [sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js] +"use strict"; var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24; var robotA = [1, "mower", "mowing"]; var robotB = [2, "trimmer", "trimming"]; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js.map index a724b1df8d59a..b40c0099f7ee5 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.ts"],"names":[],"mappings":";AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAC/C,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AAEzE,IAAI,KAAa,EAAE,OAAe,EAAE,KAAa,EAAE,MAAc,CAAC;AAClE,IAAI,UAA+B,CAAC;AAEpC,IAAI,WAAqB,EAAE,MAAc,EAAE,aAAqB,EAAE,eAAuB,CAAC;AAC1F,IAAI,eAAsC,CAAC;AAExC,KAAyB,MAAM,GAAV,EAArB,KAAK,mBAAG,aAAa,KAAA,CAAW;AACnC,KAA4B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bCJdID0gW11dID0gZ2V0TXVsdGlSb2JvdEIoKTsKW25hbWVNQiA9ICJoZWxsb05vTmFtZSIsIFtwcmltYXJ5U2tpbGxCID0gIm5vU2tpbGwiLCBzZWNvbmRhcnlTa2lsbEIgPSAibm9Ta2lsbCJdID0gW11dID0KICAgIFsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dOwoKW251bWJlckIgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSByb2JvdEI7CltudW1iZXJCID0gLTEsIC4uLnJvYm90QUluZm9dID0gZ2V0Um9ib3RCKCk7CltudW1iZXJCID0gLTEsIC4uLnJvYm90QUluZm9dID0gPFJvYm90PlsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdOwoKaWYgKG5hbWVBID09IG5hbWVCKSB7CiAgICBjb25zb2xlLmxvZyhza2lsbEIpOwp9CgpmdW5jdGlvbiBnZXRSb2JvdEIoKSB7CiAgICByZXR1cm4gcm9ib3RCOwp9CgpmdW5jdGlvbiBnZXRNdWx0aVJvYm90QigpIHsKICAgIHJldHVybiBtdWx0aVJvYm90QjsKfQ== +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.ts"],"names":[],"mappings":";;AAMA,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC;AAC3C,IAAI,MAAM,GAAU,CAAC,CAAC,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;AAC/C,IAAI,WAAW,GAAsB,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,CAAC;AAC/D,IAAI,WAAW,GAAsB,CAAC,SAAS,EAAE,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC,CAAC;AAEzE,IAAI,KAAa,EAAE,OAAe,EAAE,KAAa,EAAE,MAAc,CAAC;AAClE,IAAI,UAA+B,CA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IsIHNlY29uZGFyeVNraWxsQiA9ICJub1NraWxsIl0gPSBbXV0gPSBtdWx0aVJvYm90QjsKW25hbWVNQiA9ICJoZWxsb05vTmFtZSIsIFtwcmltYXJ5U2tpbGxCID0gIm5vU2tpbGwiLCBzZWNvbmRhcnlTa2lsbEIgPSAibm9Ta2lsbCJdID0gW11dID0gZ2V0TXVsdGlSb2JvdEIoKTsKW25hbWVNQiA9ICJoZWxsb05vTmFtZSIsIFtwcmltYXJ5U2tpbGxCID0gIm5vU2tpbGwiLCBzZWNvbmRhcnlTa2lsbEIgPSAibm9Ta2lsbCJdID0gW11dID0KICAgIFsidHJpbW1lciIsIFsidHJpbW1pbmciLCAiZWRnaW5nIl1dOwoKW251bWJlckIgPSAtMSwgLi4ucm9ib3RBSW5mb10gPSByb2JvdEI7CltudW1iZXJCID0gLTEsIC4uLnJvYm90QUluZm9dID0gZ2V0Um9ib3RCKCk7CltudW1iZXJCID0gLTEsIC4uLnJvYm90QUluZm9dID0gPFJvYm90PlsyLCAidHJpbW1lciIsICJ0cmltbWluZyJdOwoKaWYgKG5hbWVBID09IG5hbWVCKSB7CiAgICBjb25zb2xlLmxvZyhza2lsbEIpOwp9CgpmdW5jdGlvbiBnZXRSb2JvdEIoKSB7CiAgICByZXR1cm4gcm9ib3RCOwp9CgpmdW5jdGlvbiBnZXRNdWx0aVJvYm90QigpIHsKICAgIHJldHVybiBtdWx0aVJvYm90QjsKfQ== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.sourcemap.txt index 81491096f2160..5ec7779e7de1a 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementArrayBindingPatternDef emittedFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24; >>>var robotA = [1, "mower", "mowing"]; 1 > @@ -41,18 +42,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 10> "mowing" 11> ] 12> ; -1 >Emitted(2, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(7, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(7, 21) + SourceIndex(0) -5 >Emitted(2, 15) Source(7, 22) + SourceIndex(0) -6 >Emitted(2, 16) Source(7, 23) + SourceIndex(0) -7 >Emitted(2, 18) Source(7, 25) + SourceIndex(0) -8 >Emitted(2, 25) Source(7, 32) + SourceIndex(0) -9 >Emitted(2, 27) Source(7, 34) + SourceIndex(0) -10>Emitted(2, 35) Source(7, 42) + SourceIndex(0) -11>Emitted(2, 36) Source(7, 43) + SourceIndex(0) -12>Emitted(2, 37) Source(7, 44) + SourceIndex(0) +1 >Emitted(3, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(7, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(7, 21) + SourceIndex(0) +5 >Emitted(3, 15) Source(7, 22) + SourceIndex(0) +6 >Emitted(3, 16) Source(7, 23) + SourceIndex(0) +7 >Emitted(3, 18) Source(7, 25) + SourceIndex(0) +8 >Emitted(3, 25) Source(7, 32) + SourceIndex(0) +9 >Emitted(3, 27) Source(7, 34) + SourceIndex(0) +10>Emitted(3, 35) Source(7, 42) + SourceIndex(0) +11>Emitted(3, 36) Source(7, 43) + SourceIndex(0) +12>Emitted(3, 37) Source(7, 44) + SourceIndex(0) --- >>>var robotB = [2, "trimmer", "trimming"]; 1-> @@ -81,18 +82,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 10> "trimming" 11> ] 12> ; -1->Emitted(3, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(3, 11) Source(8, 11) + SourceIndex(0) -4 >Emitted(3, 14) Source(8, 21) + SourceIndex(0) -5 >Emitted(3, 15) Source(8, 22) + SourceIndex(0) -6 >Emitted(3, 16) Source(8, 23) + SourceIndex(0) -7 >Emitted(3, 18) Source(8, 25) + SourceIndex(0) -8 >Emitted(3, 27) Source(8, 34) + SourceIndex(0) -9 >Emitted(3, 29) Source(8, 36) + SourceIndex(0) -10>Emitted(3, 39) Source(8, 46) + SourceIndex(0) -11>Emitted(3, 40) Source(8, 47) + SourceIndex(0) -12>Emitted(3, 41) Source(8, 48) + SourceIndex(0) +1->Emitted(4, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(4, 11) Source(8, 11) + SourceIndex(0) +4 >Emitted(4, 14) Source(8, 21) + SourceIndex(0) +5 >Emitted(4, 15) Source(8, 22) + SourceIndex(0) +6 >Emitted(4, 16) Source(8, 23) + SourceIndex(0) +7 >Emitted(4, 18) Source(8, 25) + SourceIndex(0) +8 >Emitted(4, 27) Source(8, 34) + SourceIndex(0) +9 >Emitted(4, 29) Source(8, 36) + SourceIndex(0) +10>Emitted(4, 39) Source(8, 46) + SourceIndex(0) +11>Emitted(4, 40) Source(8, 47) + SourceIndex(0) +12>Emitted(4, 41) Source(8, 48) + SourceIndex(0) --- >>>var multiRobotA = ["mower", ["mowing", ""]]; 1-> @@ -125,20 +126,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 12> ] 13> ] 14> ; -1->Emitted(4, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(4, 5) Source(9, 5) + SourceIndex(0) -3 >Emitted(4, 16) Source(9, 16) + SourceIndex(0) -4 >Emitted(4, 19) Source(9, 38) + SourceIndex(0) -5 >Emitted(4, 20) Source(9, 39) + SourceIndex(0) -6 >Emitted(4, 27) Source(9, 46) + SourceIndex(0) -7 >Emitted(4, 29) Source(9, 48) + SourceIndex(0) -8 >Emitted(4, 30) Source(9, 49) + SourceIndex(0) -9 >Emitted(4, 38) Source(9, 57) + SourceIndex(0) -10>Emitted(4, 40) Source(9, 59) + SourceIndex(0) -11>Emitted(4, 42) Source(9, 61) + SourceIndex(0) -12>Emitted(4, 43) Source(9, 62) + SourceIndex(0) -13>Emitted(4, 44) Source(9, 63) + SourceIndex(0) -14>Emitted(4, 45) Source(9, 64) + SourceIndex(0) +1->Emitted(5, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(5, 5) Source(9, 5) + SourceIndex(0) +3 >Emitted(5, 16) Source(9, 16) + SourceIndex(0) +4 >Emitted(5, 19) Source(9, 38) + SourceIndex(0) +5 >Emitted(5, 20) Source(9, 39) + SourceIndex(0) +6 >Emitted(5, 27) Source(9, 46) + SourceIndex(0) +7 >Emitted(5, 29) Source(9, 48) + SourceIndex(0) +8 >Emitted(5, 30) Source(9, 49) + SourceIndex(0) +9 >Emitted(5, 38) Source(9, 57) + SourceIndex(0) +10>Emitted(5, 40) Source(9, 59) + SourceIndex(0) +11>Emitted(5, 42) Source(9, 61) + SourceIndex(0) +12>Emitted(5, 43) Source(9, 62) + SourceIndex(0) +13>Emitted(5, 44) Source(9, 63) + SourceIndex(0) +14>Emitted(5, 45) Source(9, 64) + SourceIndex(0) --- >>>var multiRobotB = ["trimmer", ["trimming", "edging"]]; 1-> @@ -170,20 +171,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 12> ] 13> ] 14> ; -1->Emitted(5, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(5, 5) Source(10, 5) + SourceIndex(0) -3 >Emitted(5, 16) Source(10, 16) + SourceIndex(0) -4 >Emitted(5, 19) Source(10, 38) + SourceIndex(0) -5 >Emitted(5, 20) Source(10, 39) + SourceIndex(0) -6 >Emitted(5, 29) Source(10, 48) + SourceIndex(0) -7 >Emitted(5, 31) Source(10, 50) + SourceIndex(0) -8 >Emitted(5, 32) Source(10, 51) + SourceIndex(0) -9 >Emitted(5, 42) Source(10, 61) + SourceIndex(0) -10>Emitted(5, 44) Source(10, 63) + SourceIndex(0) -11>Emitted(5, 52) Source(10, 71) + SourceIndex(0) -12>Emitted(5, 53) Source(10, 72) + SourceIndex(0) -13>Emitted(5, 54) Source(10, 73) + SourceIndex(0) -14>Emitted(5, 55) Source(10, 74) + SourceIndex(0) +1->Emitted(6, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(6, 5) Source(10, 5) + SourceIndex(0) +3 >Emitted(6, 16) Source(10, 16) + SourceIndex(0) +4 >Emitted(6, 19) Source(10, 38) + SourceIndex(0) +5 >Emitted(6, 20) Source(10, 39) + SourceIndex(0) +6 >Emitted(6, 29) Source(10, 48) + SourceIndex(0) +7 >Emitted(6, 31) Source(10, 50) + SourceIndex(0) +8 >Emitted(6, 32) Source(10, 51) + SourceIndex(0) +9 >Emitted(6, 42) Source(10, 61) + SourceIndex(0) +10>Emitted(6, 44) Source(10, 63) + SourceIndex(0) +11>Emitted(6, 52) Source(10, 71) + SourceIndex(0) +12>Emitted(6, 53) Source(10, 72) + SourceIndex(0) +13>Emitted(6, 54) Source(10, 73) + SourceIndex(0) +14>Emitted(6, 55) Source(10, 74) + SourceIndex(0) --- >>>var nameA, numberB, nameB, skillB; 1 > @@ -208,16 +209,16 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 8 > , 9 > skillB: string 10> ; -1 >Emitted(6, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(6, 5) Source(12, 5) + SourceIndex(0) -3 >Emitted(6, 10) Source(12, 18) + SourceIndex(0) -4 >Emitted(6, 12) Source(12, 20) + SourceIndex(0) -5 >Emitted(6, 19) Source(12, 35) + SourceIndex(0) -6 >Emitted(6, 21) Source(12, 37) + SourceIndex(0) -7 >Emitted(6, 26) Source(12, 50) + SourceIndex(0) -8 >Emitted(6, 28) Source(12, 52) + SourceIndex(0) -9 >Emitted(6, 34) Source(12, 66) + SourceIndex(0) -10>Emitted(6, 35) Source(12, 67) + SourceIndex(0) +1 >Emitted(7, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(7, 5) Source(12, 5) + SourceIndex(0) +3 >Emitted(7, 10) Source(12, 18) + SourceIndex(0) +4 >Emitted(7, 12) Source(12, 20) + SourceIndex(0) +5 >Emitted(7, 19) Source(12, 35) + SourceIndex(0) +6 >Emitted(7, 21) Source(12, 37) + SourceIndex(0) +7 >Emitted(7, 26) Source(12, 50) + SourceIndex(0) +8 >Emitted(7, 28) Source(12, 52) + SourceIndex(0) +9 >Emitted(7, 34) Source(12, 66) + SourceIndex(0) +10>Emitted(7, 35) Source(12, 67) + SourceIndex(0) --- >>>var robotAInfo; 1 > @@ -230,10 +231,10 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 2 >let 3 > robotAInfo: (number | string)[] 4 > ; -1 >Emitted(7, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(7, 15) Source(13, 36) + SourceIndex(0) -4 >Emitted(7, 16) Source(13, 37) + SourceIndex(0) +1 >Emitted(8, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(8, 15) Source(13, 36) + SourceIndex(0) +4 >Emitted(8, 16) Source(13, 37) + SourceIndex(0) --- >>>var multiSkillB, nameMB, primarySkillB, secondarySkillB; 1-> @@ -258,16 +259,16 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 8 > , 9 > secondarySkillB: string 10> ; -1->Emitted(8, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(8, 5) Source(15, 5) + SourceIndex(0) -3 >Emitted(8, 16) Source(15, 26) + SourceIndex(0) -4 >Emitted(8, 18) Source(15, 28) + SourceIndex(0) -5 >Emitted(8, 24) Source(15, 42) + SourceIndex(0) -6 >Emitted(8, 26) Source(15, 44) + SourceIndex(0) -7 >Emitted(8, 39) Source(15, 65) + SourceIndex(0) -8 >Emitted(8, 41) Source(15, 67) + SourceIndex(0) -9 >Emitted(8, 56) Source(15, 90) + SourceIndex(0) -10>Emitted(8, 57) Source(15, 91) + SourceIndex(0) +1->Emitted(9, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(9, 5) Source(15, 5) + SourceIndex(0) +3 >Emitted(9, 16) Source(15, 26) + SourceIndex(0) +4 >Emitted(9, 18) Source(15, 28) + SourceIndex(0) +5 >Emitted(9, 24) Source(15, 42) + SourceIndex(0) +6 >Emitted(9, 26) Source(15, 44) + SourceIndex(0) +7 >Emitted(9, 39) Source(15, 65) + SourceIndex(0) +8 >Emitted(9, 41) Source(15, 67) + SourceIndex(0) +9 >Emitted(9, 56) Source(15, 90) + SourceIndex(0) +10>Emitted(9, 57) Source(15, 91) + SourceIndex(0) --- >>>var multiRobotAInfo; 1 > @@ -280,10 +281,10 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 2 >let 3 > multiRobotAInfo: (string | string[])[] 4 > ; -1 >Emitted(9, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(9, 5) Source(16, 5) + SourceIndex(0) -3 >Emitted(9, 20) Source(16, 43) + SourceIndex(0) -4 >Emitted(9, 21) Source(16, 44) + SourceIndex(0) +1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(10, 5) Source(16, 5) + SourceIndex(0) +3 >Emitted(10, 20) Source(16, 43) + SourceIndex(0) +4 >Emitted(10, 21) Source(16, 44) + SourceIndex(0) --- >>>_a = robotA[1], nameA = _a === void 0 ? "helloNoName" : _a; 1-> @@ -309,16 +310,16 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 8 > "helloNoName" 9 > 10> ] = robotA; -1->Emitted(10, 1) Source(18, 4) + SourceIndex(0) -2 >Emitted(10, 6) Source(18, 29) + SourceIndex(0) -3 >Emitted(10, 12) Source(18, 35) + SourceIndex(0) -4 >Emitted(10, 15) Source(18, 25) + SourceIndex(0) -5 >Emitted(10, 17) Source(18, 4) + SourceIndex(0) -6 >Emitted(10, 22) Source(18, 9) + SourceIndex(0) -7 >Emitted(10, 41) Source(18, 12) + SourceIndex(0) -8 >Emitted(10, 54) Source(18, 25) + SourceIndex(0) -9 >Emitted(10, 59) Source(18, 25) + SourceIndex(0) -10>Emitted(10, 60) Source(18, 36) + SourceIndex(0) +1->Emitted(11, 1) Source(18, 4) + SourceIndex(0) +2 >Emitted(11, 6) Source(18, 29) + SourceIndex(0) +3 >Emitted(11, 12) Source(18, 35) + SourceIndex(0) +4 >Emitted(11, 15) Source(18, 25) + SourceIndex(0) +5 >Emitted(11, 17) Source(18, 4) + SourceIndex(0) +6 >Emitted(11, 22) Source(18, 9) + SourceIndex(0) +7 >Emitted(11, 41) Source(18, 12) + SourceIndex(0) +8 >Emitted(11, 54) Source(18, 25) + SourceIndex(0) +9 >Emitted(11, 59) Source(18, 25) + SourceIndex(0) +10>Emitted(11, 60) Source(18, 36) + SourceIndex(0) --- >>>_b = getRobotB(), _c = _b[1], nameB = _c === void 0 ? "helloNoName" : _c; 1-> @@ -347,18 +348,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 10> "helloNoName" 11> 12> ] = getRobotB(); -1->Emitted(11, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(11, 6) Source(19, 29) + SourceIndex(0) -3 >Emitted(11, 15) Source(19, 38) + SourceIndex(0) -4 >Emitted(11, 17) Source(19, 40) + SourceIndex(0) -5 >Emitted(11, 19) Source(19, 4) + SourceIndex(0) -6 >Emitted(11, 29) Source(19, 25) + SourceIndex(0) -7 >Emitted(11, 31) Source(19, 4) + SourceIndex(0) -8 >Emitted(11, 36) Source(19, 9) + SourceIndex(0) -9 >Emitted(11, 55) Source(19, 12) + SourceIndex(0) -10>Emitted(11, 68) Source(19, 25) + SourceIndex(0) -11>Emitted(11, 73) Source(19, 25) + SourceIndex(0) -12>Emitted(11, 74) Source(19, 41) + SourceIndex(0) +1->Emitted(12, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(12, 6) Source(19, 29) + SourceIndex(0) +3 >Emitted(12, 15) Source(19, 38) + SourceIndex(0) +4 >Emitted(12, 17) Source(19, 40) + SourceIndex(0) +5 >Emitted(12, 19) Source(19, 4) + SourceIndex(0) +6 >Emitted(12, 29) Source(19, 25) + SourceIndex(0) +7 >Emitted(12, 31) Source(19, 4) + SourceIndex(0) +8 >Emitted(12, 36) Source(19, 9) + SourceIndex(0) +9 >Emitted(12, 55) Source(19, 12) + SourceIndex(0) +10>Emitted(12, 68) Source(19, 25) + SourceIndex(0) +11>Emitted(12, 73) Source(19, 25) + SourceIndex(0) +12>Emitted(12, 74) Source(19, 41) + SourceIndex(0) --- >>>_d = [2, "trimmer", "trimming"], _e = _d[1], nameB = _e === void 0 ? "helloNoName" : _e; 1-> @@ -396,23 +397,23 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 15> "helloNoName" 16> 17> ] = [2, "trimmer", "trimming"]; -1->Emitted(12, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(12, 6) Source(20, 29) + SourceIndex(0) -3 >Emitted(12, 7) Source(20, 30) + SourceIndex(0) -4 >Emitted(12, 8) Source(20, 31) + SourceIndex(0) -5 >Emitted(12, 10) Source(20, 33) + SourceIndex(0) -6 >Emitted(12, 19) Source(20, 42) + SourceIndex(0) -7 >Emitted(12, 21) Source(20, 44) + SourceIndex(0) -8 >Emitted(12, 31) Source(20, 54) + SourceIndex(0) -9 >Emitted(12, 32) Source(20, 55) + SourceIndex(0) -10>Emitted(12, 34) Source(20, 4) + SourceIndex(0) -11>Emitted(12, 44) Source(20, 25) + SourceIndex(0) -12>Emitted(12, 46) Source(20, 4) + SourceIndex(0) -13>Emitted(12, 51) Source(20, 9) + SourceIndex(0) -14>Emitted(12, 70) Source(20, 12) + SourceIndex(0) -15>Emitted(12, 83) Source(20, 25) + SourceIndex(0) -16>Emitted(12, 88) Source(20, 25) + SourceIndex(0) -17>Emitted(12, 89) Source(20, 56) + SourceIndex(0) +1->Emitted(13, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(13, 6) Source(20, 29) + SourceIndex(0) +3 >Emitted(13, 7) Source(20, 30) + SourceIndex(0) +4 >Emitted(13, 8) Source(20, 31) + SourceIndex(0) +5 >Emitted(13, 10) Source(20, 33) + SourceIndex(0) +6 >Emitted(13, 19) Source(20, 42) + SourceIndex(0) +7 >Emitted(13, 21) Source(20, 44) + SourceIndex(0) +8 >Emitted(13, 31) Source(20, 54) + SourceIndex(0) +9 >Emitted(13, 32) Source(20, 55) + SourceIndex(0) +10>Emitted(13, 34) Source(20, 4) + SourceIndex(0) +11>Emitted(13, 44) Source(20, 25) + SourceIndex(0) +12>Emitted(13, 46) Source(20, 4) + SourceIndex(0) +13>Emitted(13, 51) Source(20, 9) + SourceIndex(0) +14>Emitted(13, 70) Source(20, 12) + SourceIndex(0) +15>Emitted(13, 83) Source(20, 25) + SourceIndex(0) +16>Emitted(13, 88) Source(20, 25) + SourceIndex(0) +17>Emitted(13, 89) Source(20, 56) + SourceIndex(0) --- >>>_f = multiRobotB[1], multiSkillB = _f === void 0 ? [] : _f; 1 > @@ -437,16 +438,16 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 8 > [] 9 > 10> ] = multiRobotB; -1 >Emitted(13, 1) Source(21, 4) + SourceIndex(0) -2 >Emitted(13, 6) Source(21, 24) + SourceIndex(0) -3 >Emitted(13, 17) Source(21, 35) + SourceIndex(0) -4 >Emitted(13, 20) Source(21, 20) + SourceIndex(0) -5 >Emitted(13, 22) Source(21, 4) + SourceIndex(0) -6 >Emitted(13, 33) Source(21, 15) + SourceIndex(0) -7 >Emitted(13, 52) Source(21, 18) + SourceIndex(0) -8 >Emitted(13, 54) Source(21, 20) + SourceIndex(0) -9 >Emitted(13, 59) Source(21, 20) + SourceIndex(0) -10>Emitted(13, 60) Source(21, 36) + SourceIndex(0) +1 >Emitted(14, 1) Source(21, 4) + SourceIndex(0) +2 >Emitted(14, 6) Source(21, 24) + SourceIndex(0) +3 >Emitted(14, 17) Source(21, 35) + SourceIndex(0) +4 >Emitted(14, 20) Source(21, 20) + SourceIndex(0) +5 >Emitted(14, 22) Source(21, 4) + SourceIndex(0) +6 >Emitted(14, 33) Source(21, 15) + SourceIndex(0) +7 >Emitted(14, 52) Source(21, 18) + SourceIndex(0) +8 >Emitted(14, 54) Source(21, 20) + SourceIndex(0) +9 >Emitted(14, 59) Source(21, 20) + SourceIndex(0) +10>Emitted(14, 60) Source(21, 36) + SourceIndex(0) --- >>>_g = getMultiRobotB(), _h = _g[1], multiSkillB = _h === void 0 ? [] : _h; 1-> @@ -475,18 +476,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 10> [] 11> 12> ] = getMultiRobotB(); -1->Emitted(14, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(14, 6) Source(22, 24) + SourceIndex(0) -3 >Emitted(14, 20) Source(22, 38) + SourceIndex(0) -4 >Emitted(14, 22) Source(22, 40) + SourceIndex(0) -5 >Emitted(14, 24) Source(22, 4) + SourceIndex(0) -6 >Emitted(14, 34) Source(22, 20) + SourceIndex(0) -7 >Emitted(14, 36) Source(22, 4) + SourceIndex(0) -8 >Emitted(14, 47) Source(22, 15) + SourceIndex(0) -9 >Emitted(14, 66) Source(22, 18) + SourceIndex(0) -10>Emitted(14, 68) Source(22, 20) + SourceIndex(0) -11>Emitted(14, 73) Source(22, 20) + SourceIndex(0) -12>Emitted(14, 74) Source(22, 41) + SourceIndex(0) +1->Emitted(15, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(15, 6) Source(22, 24) + SourceIndex(0) +3 >Emitted(15, 20) Source(22, 38) + SourceIndex(0) +4 >Emitted(15, 22) Source(22, 40) + SourceIndex(0) +5 >Emitted(15, 24) Source(22, 4) + SourceIndex(0) +6 >Emitted(15, 34) Source(22, 20) + SourceIndex(0) +7 >Emitted(15, 36) Source(22, 4) + SourceIndex(0) +8 >Emitted(15, 47) Source(22, 15) + SourceIndex(0) +9 >Emitted(15, 66) Source(22, 18) + SourceIndex(0) +10>Emitted(15, 68) Source(22, 20) + SourceIndex(0) +11>Emitted(15, 73) Source(22, 20) + SourceIndex(0) +12>Emitted(15, 74) Source(22, 41) + SourceIndex(0) --- >>>_j = ["roomba", ["vacuum", "mopping"]], _k = _j[1], multiSkillB = _k === void 0 ? [] : _k; 1-> @@ -528,25 +529,25 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 17> [] 18> 19> ] = ["roomba", ["vacuum", "mopping"]]; -1->Emitted(15, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(15, 6) Source(23, 24) + SourceIndex(0) -3 >Emitted(15, 7) Source(23, 25) + SourceIndex(0) -4 >Emitted(15, 15) Source(23, 33) + SourceIndex(0) -5 >Emitted(15, 17) Source(23, 35) + SourceIndex(0) -6 >Emitted(15, 18) Source(23, 36) + SourceIndex(0) -7 >Emitted(15, 26) Source(23, 44) + SourceIndex(0) -8 >Emitted(15, 28) Source(23, 46) + SourceIndex(0) -9 >Emitted(15, 37) Source(23, 55) + SourceIndex(0) -10>Emitted(15, 38) Source(23, 56) + SourceIndex(0) -11>Emitted(15, 39) Source(23, 57) + SourceIndex(0) -12>Emitted(15, 41) Source(23, 4) + SourceIndex(0) -13>Emitted(15, 51) Source(23, 20) + SourceIndex(0) -14>Emitted(15, 53) Source(23, 4) + SourceIndex(0) -15>Emitted(15, 64) Source(23, 15) + SourceIndex(0) -16>Emitted(15, 83) Source(23, 18) + SourceIndex(0) -17>Emitted(15, 85) Source(23, 20) + SourceIndex(0) -18>Emitted(15, 90) Source(23, 20) + SourceIndex(0) -19>Emitted(15, 91) Source(23, 58) + SourceIndex(0) +1->Emitted(16, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(16, 6) Source(23, 24) + SourceIndex(0) +3 >Emitted(16, 7) Source(23, 25) + SourceIndex(0) +4 >Emitted(16, 15) Source(23, 33) + SourceIndex(0) +5 >Emitted(16, 17) Source(23, 35) + SourceIndex(0) +6 >Emitted(16, 18) Source(23, 36) + SourceIndex(0) +7 >Emitted(16, 26) Source(23, 44) + SourceIndex(0) +8 >Emitted(16, 28) Source(23, 46) + SourceIndex(0) +9 >Emitted(16, 37) Source(23, 55) + SourceIndex(0) +10>Emitted(16, 38) Source(23, 56) + SourceIndex(0) +11>Emitted(16, 39) Source(23, 57) + SourceIndex(0) +12>Emitted(16, 41) Source(23, 4) + SourceIndex(0) +13>Emitted(16, 51) Source(23, 20) + SourceIndex(0) +14>Emitted(16, 53) Source(23, 4) + SourceIndex(0) +15>Emitted(16, 64) Source(23, 15) + SourceIndex(0) +16>Emitted(16, 83) Source(23, 18) + SourceIndex(0) +17>Emitted(16, 85) Source(23, 20) + SourceIndex(0) +18>Emitted(16, 90) Source(23, 20) + SourceIndex(0) +19>Emitted(16, 91) Source(23, 58) + SourceIndex(0) --- >>>_l = robotB[0], numberB = _l === void 0 ? -1 : _l; 1 > @@ -574,17 +575,17 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 9 > 1 10> 11> ] = robotB; -1 >Emitted(16, 1) Source(25, 2) + SourceIndex(0) -2 >Emitted(16, 6) Source(25, 18) + SourceIndex(0) -3 >Emitted(16, 12) Source(25, 24) + SourceIndex(0) -4 >Emitted(16, 15) Source(25, 14) + SourceIndex(0) -5 >Emitted(16, 17) Source(25, 2) + SourceIndex(0) -6 >Emitted(16, 24) Source(25, 9) + SourceIndex(0) -7 >Emitted(16, 43) Source(25, 12) + SourceIndex(0) -8 >Emitted(16, 44) Source(25, 13) + SourceIndex(0) -9 >Emitted(16, 45) Source(25, 14) + SourceIndex(0) -10>Emitted(16, 50) Source(25, 14) + SourceIndex(0) -11>Emitted(16, 51) Source(25, 25) + SourceIndex(0) +1 >Emitted(17, 1) Source(25, 2) + SourceIndex(0) +2 >Emitted(17, 6) Source(25, 18) + SourceIndex(0) +3 >Emitted(17, 12) Source(25, 24) + SourceIndex(0) +4 >Emitted(17, 15) Source(25, 14) + SourceIndex(0) +5 >Emitted(17, 17) Source(25, 2) + SourceIndex(0) +6 >Emitted(17, 24) Source(25, 9) + SourceIndex(0) +7 >Emitted(17, 43) Source(25, 12) + SourceIndex(0) +8 >Emitted(17, 44) Source(25, 13) + SourceIndex(0) +9 >Emitted(17, 45) Source(25, 14) + SourceIndex(0) +10>Emitted(17, 50) Source(25, 14) + SourceIndex(0) +11>Emitted(17, 51) Source(25, 25) + SourceIndex(0) --- >>>_m = getRobotB()[0], numberB = _m === void 0 ? -1 : _m; 1-> @@ -613,18 +614,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 10> 1 11> 12> ] = getRobotB(); -1->Emitted(17, 1) Source(26, 2) + SourceIndex(0) -2 >Emitted(17, 6) Source(26, 18) + SourceIndex(0) -3 >Emitted(17, 15) Source(26, 27) + SourceIndex(0) -4 >Emitted(17, 17) Source(26, 29) + SourceIndex(0) -5 >Emitted(17, 20) Source(26, 14) + SourceIndex(0) -6 >Emitted(17, 22) Source(26, 2) + SourceIndex(0) -7 >Emitted(17, 29) Source(26, 9) + SourceIndex(0) -8 >Emitted(17, 48) Source(26, 12) + SourceIndex(0) -9 >Emitted(17, 49) Source(26, 13) + SourceIndex(0) -10>Emitted(17, 50) Source(26, 14) + SourceIndex(0) -11>Emitted(17, 55) Source(26, 14) + SourceIndex(0) -12>Emitted(17, 56) Source(26, 30) + SourceIndex(0) +1->Emitted(18, 1) Source(26, 2) + SourceIndex(0) +2 >Emitted(18, 6) Source(26, 18) + SourceIndex(0) +3 >Emitted(18, 15) Source(26, 27) + SourceIndex(0) +4 >Emitted(18, 17) Source(26, 29) + SourceIndex(0) +5 >Emitted(18, 20) Source(26, 14) + SourceIndex(0) +6 >Emitted(18, 22) Source(26, 2) + SourceIndex(0) +7 >Emitted(18, 29) Source(26, 9) + SourceIndex(0) +8 >Emitted(18, 48) Source(26, 12) + SourceIndex(0) +9 >Emitted(18, 49) Source(26, 13) + SourceIndex(0) +10>Emitted(18, 50) Source(26, 14) + SourceIndex(0) +11>Emitted(18, 55) Source(26, 14) + SourceIndex(0) +12>Emitted(18, 56) Source(26, 30) + SourceIndex(0) --- >>>_o = [2, "trimmer", "trimming"][0], numberB = _o === void 0 ? -1 : _o; 1-> @@ -662,23 +663,23 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 15> 1 16> 17> ] = [2, "trimmer", "trimming"]; -1->Emitted(18, 1) Source(27, 2) + SourceIndex(0) -2 >Emitted(18, 6) Source(27, 18) + SourceIndex(0) -3 >Emitted(18, 7) Source(27, 19) + SourceIndex(0) -4 >Emitted(18, 8) Source(27, 20) + SourceIndex(0) -5 >Emitted(18, 10) Source(27, 22) + SourceIndex(0) -6 >Emitted(18, 19) Source(27, 31) + SourceIndex(0) -7 >Emitted(18, 21) Source(27, 33) + SourceIndex(0) -8 >Emitted(18, 31) Source(27, 43) + SourceIndex(0) -9 >Emitted(18, 32) Source(27, 44) + SourceIndex(0) -10>Emitted(18, 35) Source(27, 14) + SourceIndex(0) -11>Emitted(18, 37) Source(27, 2) + SourceIndex(0) -12>Emitted(18, 44) Source(27, 9) + SourceIndex(0) -13>Emitted(18, 63) Source(27, 12) + SourceIndex(0) -14>Emitted(18, 64) Source(27, 13) + SourceIndex(0) -15>Emitted(18, 65) Source(27, 14) + SourceIndex(0) -16>Emitted(18, 70) Source(27, 14) + SourceIndex(0) -17>Emitted(18, 71) Source(27, 45) + SourceIndex(0) +1->Emitted(19, 1) Source(27, 2) + SourceIndex(0) +2 >Emitted(19, 6) Source(27, 18) + SourceIndex(0) +3 >Emitted(19, 7) Source(27, 19) + SourceIndex(0) +4 >Emitted(19, 8) Source(27, 20) + SourceIndex(0) +5 >Emitted(19, 10) Source(27, 22) + SourceIndex(0) +6 >Emitted(19, 19) Source(27, 31) + SourceIndex(0) +7 >Emitted(19, 21) Source(27, 33) + SourceIndex(0) +8 >Emitted(19, 31) Source(27, 43) + SourceIndex(0) +9 >Emitted(19, 32) Source(27, 44) + SourceIndex(0) +10>Emitted(19, 35) Source(27, 14) + SourceIndex(0) +11>Emitted(19, 37) Source(27, 2) + SourceIndex(0) +12>Emitted(19, 44) Source(27, 9) + SourceIndex(0) +13>Emitted(19, 63) Source(27, 12) + SourceIndex(0) +14>Emitted(19, 64) Source(27, 13) + SourceIndex(0) +15>Emitted(19, 65) Source(27, 14) + SourceIndex(0) +16>Emitted(19, 70) Source(27, 14) + SourceIndex(0) +17>Emitted(19, 71) Source(27, 45) + SourceIndex(0) --- >>>_p = multiRobotB[0], nameMB = _p === void 0 ? "helloNoName" : _p; 1 > @@ -703,16 +704,16 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 8 > "helloNoName" 9 > 10> ] = multiRobotB; -1 >Emitted(19, 1) Source(28, 2) + SourceIndex(0) -2 >Emitted(19, 6) Source(28, 28) + SourceIndex(0) -3 >Emitted(19, 17) Source(28, 39) + SourceIndex(0) -4 >Emitted(19, 20) Source(28, 24) + SourceIndex(0) -5 >Emitted(19, 22) Source(28, 2) + SourceIndex(0) -6 >Emitted(19, 28) Source(28, 8) + SourceIndex(0) -7 >Emitted(19, 47) Source(28, 11) + SourceIndex(0) -8 >Emitted(19, 60) Source(28, 24) + SourceIndex(0) -9 >Emitted(19, 65) Source(28, 24) + SourceIndex(0) -10>Emitted(19, 66) Source(28, 40) + SourceIndex(0) +1 >Emitted(20, 1) Source(28, 2) + SourceIndex(0) +2 >Emitted(20, 6) Source(28, 28) + SourceIndex(0) +3 >Emitted(20, 17) Source(28, 39) + SourceIndex(0) +4 >Emitted(20, 20) Source(28, 24) + SourceIndex(0) +5 >Emitted(20, 22) Source(28, 2) + SourceIndex(0) +6 >Emitted(20, 28) Source(28, 8) + SourceIndex(0) +7 >Emitted(20, 47) Source(28, 11) + SourceIndex(0) +8 >Emitted(20, 60) Source(28, 24) + SourceIndex(0) +9 >Emitted(20, 65) Source(28, 24) + SourceIndex(0) +10>Emitted(20, 66) Source(28, 40) + SourceIndex(0) --- >>>_q = getMultiRobotB()[0], nameMB = _q === void 0 ? "helloNoName" : _q; 1-> @@ -739,17 +740,17 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 9 > "helloNoName" 10> 11> ] = getMultiRobotB(); -1->Emitted(20, 1) Source(29, 2) + SourceIndex(0) -2 >Emitted(20, 6) Source(29, 28) + SourceIndex(0) -3 >Emitted(20, 20) Source(29, 42) + SourceIndex(0) -4 >Emitted(20, 22) Source(29, 44) + SourceIndex(0) -5 >Emitted(20, 25) Source(29, 24) + SourceIndex(0) -6 >Emitted(20, 27) Source(29, 2) + SourceIndex(0) -7 >Emitted(20, 33) Source(29, 8) + SourceIndex(0) -8 >Emitted(20, 52) Source(29, 11) + SourceIndex(0) -9 >Emitted(20, 65) Source(29, 24) + SourceIndex(0) -10>Emitted(20, 70) Source(29, 24) + SourceIndex(0) -11>Emitted(20, 71) Source(29, 45) + SourceIndex(0) +1->Emitted(21, 1) Source(29, 2) + SourceIndex(0) +2 >Emitted(21, 6) Source(29, 28) + SourceIndex(0) +3 >Emitted(21, 20) Source(29, 42) + SourceIndex(0) +4 >Emitted(21, 22) Source(29, 44) + SourceIndex(0) +5 >Emitted(21, 25) Source(29, 24) + SourceIndex(0) +6 >Emitted(21, 27) Source(29, 2) + SourceIndex(0) +7 >Emitted(21, 33) Source(29, 8) + SourceIndex(0) +8 >Emitted(21, 52) Source(29, 11) + SourceIndex(0) +9 >Emitted(21, 65) Source(29, 24) + SourceIndex(0) +10>Emitted(21, 70) Source(29, 24) + SourceIndex(0) +11>Emitted(21, 71) Source(29, 45) + SourceIndex(0) --- >>>_r = ["trimmer", ["trimming", "edging"]][0], nameMB = _r === void 0 ? "helloNoName" : _r; 1-> @@ -790,24 +791,24 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 16> "helloNoName" 17> 18> ] = ["trimmer", ["trimming", "edging"]]; -1->Emitted(21, 1) Source(30, 2) + SourceIndex(0) -2 >Emitted(21, 6) Source(30, 28) + SourceIndex(0) -3 >Emitted(21, 7) Source(30, 29) + SourceIndex(0) -4 >Emitted(21, 16) Source(30, 38) + SourceIndex(0) -5 >Emitted(21, 18) Source(30, 40) + SourceIndex(0) -6 >Emitted(21, 19) Source(30, 41) + SourceIndex(0) -7 >Emitted(21, 29) Source(30, 51) + SourceIndex(0) -8 >Emitted(21, 31) Source(30, 53) + SourceIndex(0) -9 >Emitted(21, 39) Source(30, 61) + SourceIndex(0) -10>Emitted(21, 40) Source(30, 62) + SourceIndex(0) -11>Emitted(21, 41) Source(30, 63) + SourceIndex(0) -12>Emitted(21, 44) Source(30, 24) + SourceIndex(0) -13>Emitted(21, 46) Source(30, 2) + SourceIndex(0) -14>Emitted(21, 52) Source(30, 8) + SourceIndex(0) -15>Emitted(21, 71) Source(30, 11) + SourceIndex(0) -16>Emitted(21, 84) Source(30, 24) + SourceIndex(0) -17>Emitted(21, 89) Source(30, 24) + SourceIndex(0) -18>Emitted(21, 90) Source(30, 64) + SourceIndex(0) +1->Emitted(22, 1) Source(30, 2) + SourceIndex(0) +2 >Emitted(22, 6) Source(30, 28) + SourceIndex(0) +3 >Emitted(22, 7) Source(30, 29) + SourceIndex(0) +4 >Emitted(22, 16) Source(30, 38) + SourceIndex(0) +5 >Emitted(22, 18) Source(30, 40) + SourceIndex(0) +6 >Emitted(22, 19) Source(30, 41) + SourceIndex(0) +7 >Emitted(22, 29) Source(30, 51) + SourceIndex(0) +8 >Emitted(22, 31) Source(30, 53) + SourceIndex(0) +9 >Emitted(22, 39) Source(30, 61) + SourceIndex(0) +10>Emitted(22, 40) Source(30, 62) + SourceIndex(0) +11>Emitted(22, 41) Source(30, 63) + SourceIndex(0) +12>Emitted(22, 44) Source(30, 24) + SourceIndex(0) +13>Emitted(22, 46) Source(30, 2) + SourceIndex(0) +14>Emitted(22, 52) Source(30, 8) + SourceIndex(0) +15>Emitted(22, 71) Source(30, 11) + SourceIndex(0) +16>Emitted(22, 84) Source(30, 24) + SourceIndex(0) +17>Emitted(22, 89) Source(30, 24) + SourceIndex(0) +18>Emitted(22, 90) Source(30, 64) + SourceIndex(0) --- >>>_s = robotB[0], numberB = _s === void 0 ? -1 : _s, _t = robotB[1], nameB = _t === void 0 ? "helloNoName" : _t, _u = robotB[2], skillB = _u === void 0 ? "noSkill" : _u; 1-> @@ -871,35 +872,35 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 27> "noSkill" 28> 29> ] = robotB; -1->Emitted(22, 1) Source(32, 2) + SourceIndex(0) -2 >Emitted(22, 6) Source(32, 61) + SourceIndex(0) -3 >Emitted(22, 12) Source(32, 67) + SourceIndex(0) -4 >Emitted(22, 15) Source(32, 14) + SourceIndex(0) -5 >Emitted(22, 17) Source(32, 2) + SourceIndex(0) -6 >Emitted(22, 24) Source(32, 9) + SourceIndex(0) -7 >Emitted(22, 43) Source(32, 12) + SourceIndex(0) -8 >Emitted(22, 44) Source(32, 13) + SourceIndex(0) -9 >Emitted(22, 45) Source(32, 14) + SourceIndex(0) -10>Emitted(22, 50) Source(32, 14) + SourceIndex(0) -11>Emitted(22, 52) Source(32, 16) + SourceIndex(0) -12>Emitted(22, 57) Source(32, 61) + SourceIndex(0) -13>Emitted(22, 63) Source(32, 67) + SourceIndex(0) -14>Emitted(22, 66) Source(32, 37) + SourceIndex(0) -15>Emitted(22, 68) Source(32, 16) + SourceIndex(0) -16>Emitted(22, 73) Source(32, 21) + SourceIndex(0) -17>Emitted(22, 92) Source(32, 24) + SourceIndex(0) -18>Emitted(22, 105) Source(32, 37) + SourceIndex(0) -19>Emitted(22, 110) Source(32, 37) + SourceIndex(0) -20>Emitted(22, 112) Source(32, 39) + SourceIndex(0) -21>Emitted(22, 117) Source(32, 61) + SourceIndex(0) -22>Emitted(22, 123) Source(32, 67) + SourceIndex(0) -23>Emitted(22, 126) Source(32, 57) + SourceIndex(0) -24>Emitted(22, 128) Source(32, 39) + SourceIndex(0) -25>Emitted(22, 134) Source(32, 45) + SourceIndex(0) -26>Emitted(22, 153) Source(32, 48) + SourceIndex(0) -27>Emitted(22, 162) Source(32, 57) + SourceIndex(0) -28>Emitted(22, 167) Source(32, 57) + SourceIndex(0) -29>Emitted(22, 168) Source(32, 68) + SourceIndex(0) +1->Emitted(23, 1) Source(32, 2) + SourceIndex(0) +2 >Emitted(23, 6) Source(32, 61) + SourceIndex(0) +3 >Emitted(23, 12) Source(32, 67) + SourceIndex(0) +4 >Emitted(23, 15) Source(32, 14) + SourceIndex(0) +5 >Emitted(23, 17) Source(32, 2) + SourceIndex(0) +6 >Emitted(23, 24) Source(32, 9) + SourceIndex(0) +7 >Emitted(23, 43) Source(32, 12) + SourceIndex(0) +8 >Emitted(23, 44) Source(32, 13) + SourceIndex(0) +9 >Emitted(23, 45) Source(32, 14) + SourceIndex(0) +10>Emitted(23, 50) Source(32, 14) + SourceIndex(0) +11>Emitted(23, 52) Source(32, 16) + SourceIndex(0) +12>Emitted(23, 57) Source(32, 61) + SourceIndex(0) +13>Emitted(23, 63) Source(32, 67) + SourceIndex(0) +14>Emitted(23, 66) Source(32, 37) + SourceIndex(0) +15>Emitted(23, 68) Source(32, 16) + SourceIndex(0) +16>Emitted(23, 73) Source(32, 21) + SourceIndex(0) +17>Emitted(23, 92) Source(32, 24) + SourceIndex(0) +18>Emitted(23, 105) Source(32, 37) + SourceIndex(0) +19>Emitted(23, 110) Source(32, 37) + SourceIndex(0) +20>Emitted(23, 112) Source(32, 39) + SourceIndex(0) +21>Emitted(23, 117) Source(32, 61) + SourceIndex(0) +22>Emitted(23, 123) Source(32, 67) + SourceIndex(0) +23>Emitted(23, 126) Source(32, 57) + SourceIndex(0) +24>Emitted(23, 128) Source(32, 39) + SourceIndex(0) +25>Emitted(23, 134) Source(32, 45) + SourceIndex(0) +26>Emitted(23, 153) Source(32, 48) + SourceIndex(0) +27>Emitted(23, 162) Source(32, 57) + SourceIndex(0) +28>Emitted(23, 167) Source(32, 57) + SourceIndex(0) +29>Emitted(23, 168) Source(32, 68) + SourceIndex(0) --- >>>_v = getRobotB(), _w = _v[0], numberB = _w === void 0 ? -1 : _w, _x = _v[1], nameB = _x === void 0 ? "helloNoName" : _x, _y = _v[2], skillB = _y === void 0 ? "noSkill" : _y; 1-> @@ -958,33 +959,33 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 25> "noSkill" 26> 27> ] = getRobotB(); -1->Emitted(23, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(23, 6) Source(33, 61) + SourceIndex(0) -3 >Emitted(23, 15) Source(33, 70) + SourceIndex(0) -4 >Emitted(23, 17) Source(33, 72) + SourceIndex(0) -5 >Emitted(23, 19) Source(33, 2) + SourceIndex(0) -6 >Emitted(23, 29) Source(33, 14) + SourceIndex(0) -7 >Emitted(23, 31) Source(33, 2) + SourceIndex(0) -8 >Emitted(23, 38) Source(33, 9) + SourceIndex(0) -9 >Emitted(23, 57) Source(33, 12) + SourceIndex(0) -10>Emitted(23, 58) Source(33, 13) + SourceIndex(0) -11>Emitted(23, 59) Source(33, 14) + SourceIndex(0) -12>Emitted(23, 64) Source(33, 14) + SourceIndex(0) -13>Emitted(23, 66) Source(33, 16) + SourceIndex(0) -14>Emitted(23, 76) Source(33, 37) + SourceIndex(0) -15>Emitted(23, 78) Source(33, 16) + SourceIndex(0) -16>Emitted(23, 83) Source(33, 21) + SourceIndex(0) -17>Emitted(23, 102) Source(33, 24) + SourceIndex(0) -18>Emitted(23, 115) Source(33, 37) + SourceIndex(0) -19>Emitted(23, 120) Source(33, 37) + SourceIndex(0) -20>Emitted(23, 122) Source(33, 39) + SourceIndex(0) -21>Emitted(23, 132) Source(33, 57) + SourceIndex(0) -22>Emitted(23, 134) Source(33, 39) + SourceIndex(0) -23>Emitted(23, 140) Source(33, 45) + SourceIndex(0) -24>Emitted(23, 159) Source(33, 48) + SourceIndex(0) -25>Emitted(23, 168) Source(33, 57) + SourceIndex(0) -26>Emitted(23, 173) Source(33, 57) + SourceIndex(0) -27>Emitted(23, 174) Source(33, 73) + SourceIndex(0) +1->Emitted(24, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(24, 6) Source(33, 61) + SourceIndex(0) +3 >Emitted(24, 15) Source(33, 70) + SourceIndex(0) +4 >Emitted(24, 17) Source(33, 72) + SourceIndex(0) +5 >Emitted(24, 19) Source(33, 2) + SourceIndex(0) +6 >Emitted(24, 29) Source(33, 14) + SourceIndex(0) +7 >Emitted(24, 31) Source(33, 2) + SourceIndex(0) +8 >Emitted(24, 38) Source(33, 9) + SourceIndex(0) +9 >Emitted(24, 57) Source(33, 12) + SourceIndex(0) +10>Emitted(24, 58) Source(33, 13) + SourceIndex(0) +11>Emitted(24, 59) Source(33, 14) + SourceIndex(0) +12>Emitted(24, 64) Source(33, 14) + SourceIndex(0) +13>Emitted(24, 66) Source(33, 16) + SourceIndex(0) +14>Emitted(24, 76) Source(33, 37) + SourceIndex(0) +15>Emitted(24, 78) Source(33, 16) + SourceIndex(0) +16>Emitted(24, 83) Source(33, 21) + SourceIndex(0) +17>Emitted(24, 102) Source(33, 24) + SourceIndex(0) +18>Emitted(24, 115) Source(33, 37) + SourceIndex(0) +19>Emitted(24, 120) Source(33, 37) + SourceIndex(0) +20>Emitted(24, 122) Source(33, 39) + SourceIndex(0) +21>Emitted(24, 132) Source(33, 57) + SourceIndex(0) +22>Emitted(24, 134) Source(33, 39) + SourceIndex(0) +23>Emitted(24, 140) Source(33, 45) + SourceIndex(0) +24>Emitted(24, 159) Source(33, 48) + SourceIndex(0) +25>Emitted(24, 168) Source(33, 57) + SourceIndex(0) +26>Emitted(24, 173) Source(33, 57) + SourceIndex(0) +27>Emitted(24, 174) Source(33, 73) + SourceIndex(0) --- >>>_z = [2, "trimmer", "trimming"], _0 = _z[0], numberB = _0 === void 0 ? -1 : _0, _1 = _z[1], nameB = _1 === void 0 ? "helloNoName" : _1, _2 = _z[2], skillB = _2 === void 0 ? "noSkill" : _2; 1-> @@ -1053,38 +1054,38 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 30> "noSkill" 31> 32> ] = [2, "trimmer", "trimming"]; -1->Emitted(24, 1) Source(34, 1) + SourceIndex(0) -2 >Emitted(24, 6) Source(34, 61) + SourceIndex(0) -3 >Emitted(24, 7) Source(34, 62) + SourceIndex(0) -4 >Emitted(24, 8) Source(34, 63) + SourceIndex(0) -5 >Emitted(24, 10) Source(34, 65) + SourceIndex(0) -6 >Emitted(24, 19) Source(34, 74) + SourceIndex(0) -7 >Emitted(24, 21) Source(34, 76) + SourceIndex(0) -8 >Emitted(24, 31) Source(34, 86) + SourceIndex(0) -9 >Emitted(24, 32) Source(34, 87) + SourceIndex(0) -10>Emitted(24, 34) Source(34, 2) + SourceIndex(0) -11>Emitted(24, 44) Source(34, 14) + SourceIndex(0) -12>Emitted(24, 46) Source(34, 2) + SourceIndex(0) -13>Emitted(24, 53) Source(34, 9) + SourceIndex(0) -14>Emitted(24, 72) Source(34, 12) + SourceIndex(0) -15>Emitted(24, 73) Source(34, 13) + SourceIndex(0) -16>Emitted(24, 74) Source(34, 14) + SourceIndex(0) -17>Emitted(24, 79) Source(34, 14) + SourceIndex(0) -18>Emitted(24, 81) Source(34, 16) + SourceIndex(0) -19>Emitted(24, 91) Source(34, 37) + SourceIndex(0) -20>Emitted(24, 93) Source(34, 16) + SourceIndex(0) -21>Emitted(24, 98) Source(34, 21) + SourceIndex(0) -22>Emitted(24, 117) Source(34, 24) + SourceIndex(0) -23>Emitted(24, 130) Source(34, 37) + SourceIndex(0) -24>Emitted(24, 135) Source(34, 37) + SourceIndex(0) -25>Emitted(24, 137) Source(34, 39) + SourceIndex(0) -26>Emitted(24, 147) Source(34, 57) + SourceIndex(0) -27>Emitted(24, 149) Source(34, 39) + SourceIndex(0) -28>Emitted(24, 155) Source(34, 45) + SourceIndex(0) -29>Emitted(24, 174) Source(34, 48) + SourceIndex(0) -30>Emitted(24, 183) Source(34, 57) + SourceIndex(0) -31>Emitted(24, 188) Source(34, 57) + SourceIndex(0) -32>Emitted(24, 189) Source(34, 88) + SourceIndex(0) +1->Emitted(25, 1) Source(34, 1) + SourceIndex(0) +2 >Emitted(25, 6) Source(34, 61) + SourceIndex(0) +3 >Emitted(25, 7) Source(34, 62) + SourceIndex(0) +4 >Emitted(25, 8) Source(34, 63) + SourceIndex(0) +5 >Emitted(25, 10) Source(34, 65) + SourceIndex(0) +6 >Emitted(25, 19) Source(34, 74) + SourceIndex(0) +7 >Emitted(25, 21) Source(34, 76) + SourceIndex(0) +8 >Emitted(25, 31) Source(34, 86) + SourceIndex(0) +9 >Emitted(25, 32) Source(34, 87) + SourceIndex(0) +10>Emitted(25, 34) Source(34, 2) + SourceIndex(0) +11>Emitted(25, 44) Source(34, 14) + SourceIndex(0) +12>Emitted(25, 46) Source(34, 2) + SourceIndex(0) +13>Emitted(25, 53) Source(34, 9) + SourceIndex(0) +14>Emitted(25, 72) Source(34, 12) + SourceIndex(0) +15>Emitted(25, 73) Source(34, 13) + SourceIndex(0) +16>Emitted(25, 74) Source(34, 14) + SourceIndex(0) +17>Emitted(25, 79) Source(34, 14) + SourceIndex(0) +18>Emitted(25, 81) Source(34, 16) + SourceIndex(0) +19>Emitted(25, 91) Source(34, 37) + SourceIndex(0) +20>Emitted(25, 93) Source(34, 16) + SourceIndex(0) +21>Emitted(25, 98) Source(34, 21) + SourceIndex(0) +22>Emitted(25, 117) Source(34, 24) + SourceIndex(0) +23>Emitted(25, 130) Source(34, 37) + SourceIndex(0) +24>Emitted(25, 135) Source(34, 37) + SourceIndex(0) +25>Emitted(25, 137) Source(34, 39) + SourceIndex(0) +26>Emitted(25, 147) Source(34, 57) + SourceIndex(0) +27>Emitted(25, 149) Source(34, 39) + SourceIndex(0) +28>Emitted(25, 155) Source(34, 45) + SourceIndex(0) +29>Emitted(25, 174) Source(34, 48) + SourceIndex(0) +30>Emitted(25, 183) Source(34, 57) + SourceIndex(0) +31>Emitted(25, 188) Source(34, 57) + SourceIndex(0) +32>Emitted(25, 189) Source(34, 88) + SourceIndex(0) --- >>>_3 = multiRobotB[0], nameMB = _3 === void 0 ? "helloNoName" : _3, _4 = multiRobotB[1], _5 = _4 === void 0 ? [] : _4, _6 = _5[0], primarySkillB = _6 === void 0 ? "noSkill" : _6, _7 = _5[1], secondarySkillB = _7 === void 0 ? "noSkill" : _7; 1-> @@ -1153,38 +1154,38 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 30> "noSkill" 31> 32> ] = []] = multiRobotB; -1->Emitted(25, 1) Source(35, 2) + SourceIndex(0) -2 >Emitted(25, 6) Source(35, 91) + SourceIndex(0) -3 >Emitted(25, 17) Source(35, 102) + SourceIndex(0) -4 >Emitted(25, 20) Source(35, 24) + SourceIndex(0) -5 >Emitted(25, 22) Source(35, 2) + SourceIndex(0) -6 >Emitted(25, 28) Source(35, 8) + SourceIndex(0) -7 >Emitted(25, 47) Source(35, 11) + SourceIndex(0) -8 >Emitted(25, 60) Source(35, 24) + SourceIndex(0) -9 >Emitted(25, 65) Source(35, 24) + SourceIndex(0) -10>Emitted(25, 67) Source(35, 26) + SourceIndex(0) -11>Emitted(25, 72) Source(35, 91) + SourceIndex(0) -12>Emitted(25, 83) Source(35, 102) + SourceIndex(0) -13>Emitted(25, 86) Source(35, 87) + SourceIndex(0) -14>Emitted(25, 88) Source(35, 26) + SourceIndex(0) -15>Emitted(25, 109) Source(35, 85) + SourceIndex(0) -16>Emitted(25, 111) Source(35, 87) + SourceIndex(0) -17>Emitted(25, 116) Source(35, 87) + SourceIndex(0) -18>Emitted(25, 118) Source(35, 27) + SourceIndex(0) -19>Emitted(25, 128) Source(35, 52) + SourceIndex(0) -20>Emitted(25, 130) Source(35, 27) + SourceIndex(0) -21>Emitted(25, 143) Source(35, 40) + SourceIndex(0) -22>Emitted(25, 162) Source(35, 43) + SourceIndex(0) -23>Emitted(25, 171) Source(35, 52) + SourceIndex(0) -24>Emitted(25, 176) Source(35, 52) + SourceIndex(0) -25>Emitted(25, 178) Source(35, 54) + SourceIndex(0) -26>Emitted(25, 188) Source(35, 81) + SourceIndex(0) -27>Emitted(25, 190) Source(35, 54) + SourceIndex(0) -28>Emitted(25, 205) Source(35, 69) + SourceIndex(0) -29>Emitted(25, 224) Source(35, 72) + SourceIndex(0) -30>Emitted(25, 233) Source(35, 81) + SourceIndex(0) -31>Emitted(25, 238) Source(35, 81) + SourceIndex(0) -32>Emitted(25, 239) Source(35, 103) + SourceIndex(0) +1->Emitted(26, 1) Source(35, 2) + SourceIndex(0) +2 >Emitted(26, 6) Source(35, 91) + SourceIndex(0) +3 >Emitted(26, 17) Source(35, 102) + SourceIndex(0) +4 >Emitted(26, 20) Source(35, 24) + SourceIndex(0) +5 >Emitted(26, 22) Source(35, 2) + SourceIndex(0) +6 >Emitted(26, 28) Source(35, 8) + SourceIndex(0) +7 >Emitted(26, 47) Source(35, 11) + SourceIndex(0) +8 >Emitted(26, 60) Source(35, 24) + SourceIndex(0) +9 >Emitted(26, 65) Source(35, 24) + SourceIndex(0) +10>Emitted(26, 67) Source(35, 26) + SourceIndex(0) +11>Emitted(26, 72) Source(35, 91) + SourceIndex(0) +12>Emitted(26, 83) Source(35, 102) + SourceIndex(0) +13>Emitted(26, 86) Source(35, 87) + SourceIndex(0) +14>Emitted(26, 88) Source(35, 26) + SourceIndex(0) +15>Emitted(26, 109) Source(35, 85) + SourceIndex(0) +16>Emitted(26, 111) Source(35, 87) + SourceIndex(0) +17>Emitted(26, 116) Source(35, 87) + SourceIndex(0) +18>Emitted(26, 118) Source(35, 27) + SourceIndex(0) +19>Emitted(26, 128) Source(35, 52) + SourceIndex(0) +20>Emitted(26, 130) Source(35, 27) + SourceIndex(0) +21>Emitted(26, 143) Source(35, 40) + SourceIndex(0) +22>Emitted(26, 162) Source(35, 43) + SourceIndex(0) +23>Emitted(26, 171) Source(35, 52) + SourceIndex(0) +24>Emitted(26, 176) Source(35, 52) + SourceIndex(0) +25>Emitted(26, 178) Source(35, 54) + SourceIndex(0) +26>Emitted(26, 188) Source(35, 81) + SourceIndex(0) +27>Emitted(26, 190) Source(35, 54) + SourceIndex(0) +28>Emitted(26, 205) Source(35, 69) + SourceIndex(0) +29>Emitted(26, 224) Source(35, 72) + SourceIndex(0) +30>Emitted(26, 233) Source(35, 81) + SourceIndex(0) +31>Emitted(26, 238) Source(35, 81) + SourceIndex(0) +32>Emitted(26, 239) Source(35, 103) + SourceIndex(0) --- >>>_8 = getMultiRobotB(), _9 = _8[0], nameMB = _9 === void 0 ? "helloNoName" : _9, _10 = _8[1], _11 = _10 === void 0 ? [] : _10, _12 = _11[0], primarySkillB = _12 === void 0 ? "noSkill" : _12, _13 = _11[1], secondarySkillB = _13 === void 0 ? "noSkill" : _13; 1-> @@ -1253,38 +1254,38 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 30> "noSkill" 31> 32> ] = []] = getMultiRobotB(); -1->Emitted(26, 1) Source(36, 1) + SourceIndex(0) -2 >Emitted(26, 6) Source(36, 91) + SourceIndex(0) -3 >Emitted(26, 20) Source(36, 105) + SourceIndex(0) -4 >Emitted(26, 22) Source(36, 107) + SourceIndex(0) -5 >Emitted(26, 24) Source(36, 2) + SourceIndex(0) -6 >Emitted(26, 34) Source(36, 24) + SourceIndex(0) -7 >Emitted(26, 36) Source(36, 2) + SourceIndex(0) -8 >Emitted(26, 42) Source(36, 8) + SourceIndex(0) -9 >Emitted(26, 61) Source(36, 11) + SourceIndex(0) -10>Emitted(26, 74) Source(36, 24) + SourceIndex(0) -11>Emitted(26, 79) Source(36, 24) + SourceIndex(0) -12>Emitted(26, 81) Source(36, 26) + SourceIndex(0) -13>Emitted(26, 92) Source(36, 87) + SourceIndex(0) -14>Emitted(26, 94) Source(36, 26) + SourceIndex(0) -15>Emitted(26, 117) Source(36, 85) + SourceIndex(0) -16>Emitted(26, 119) Source(36, 87) + SourceIndex(0) -17>Emitted(26, 125) Source(36, 87) + SourceIndex(0) -18>Emitted(26, 127) Source(36, 27) + SourceIndex(0) -19>Emitted(26, 139) Source(36, 52) + SourceIndex(0) -20>Emitted(26, 141) Source(36, 27) + SourceIndex(0) -21>Emitted(26, 154) Source(36, 40) + SourceIndex(0) -22>Emitted(26, 174) Source(36, 43) + SourceIndex(0) -23>Emitted(26, 183) Source(36, 52) + SourceIndex(0) -24>Emitted(26, 189) Source(36, 52) + SourceIndex(0) -25>Emitted(26, 191) Source(36, 54) + SourceIndex(0) -26>Emitted(26, 203) Source(36, 81) + SourceIndex(0) -27>Emitted(26, 205) Source(36, 54) + SourceIndex(0) -28>Emitted(26, 220) Source(36, 69) + SourceIndex(0) -29>Emitted(26, 240) Source(36, 72) + SourceIndex(0) -30>Emitted(26, 249) Source(36, 81) + SourceIndex(0) -31>Emitted(26, 255) Source(36, 81) + SourceIndex(0) -32>Emitted(26, 256) Source(36, 108) + SourceIndex(0) +1->Emitted(27, 1) Source(36, 1) + SourceIndex(0) +2 >Emitted(27, 6) Source(36, 91) + SourceIndex(0) +3 >Emitted(27, 20) Source(36, 105) + SourceIndex(0) +4 >Emitted(27, 22) Source(36, 107) + SourceIndex(0) +5 >Emitted(27, 24) Source(36, 2) + SourceIndex(0) +6 >Emitted(27, 34) Source(36, 24) + SourceIndex(0) +7 >Emitted(27, 36) Source(36, 2) + SourceIndex(0) +8 >Emitted(27, 42) Source(36, 8) + SourceIndex(0) +9 >Emitted(27, 61) Source(36, 11) + SourceIndex(0) +10>Emitted(27, 74) Source(36, 24) + SourceIndex(0) +11>Emitted(27, 79) Source(36, 24) + SourceIndex(0) +12>Emitted(27, 81) Source(36, 26) + SourceIndex(0) +13>Emitted(27, 92) Source(36, 87) + SourceIndex(0) +14>Emitted(27, 94) Source(36, 26) + SourceIndex(0) +15>Emitted(27, 117) Source(36, 85) + SourceIndex(0) +16>Emitted(27, 119) Source(36, 87) + SourceIndex(0) +17>Emitted(27, 125) Source(36, 87) + SourceIndex(0) +18>Emitted(27, 127) Source(36, 27) + SourceIndex(0) +19>Emitted(27, 139) Source(36, 52) + SourceIndex(0) +20>Emitted(27, 141) Source(36, 27) + SourceIndex(0) +21>Emitted(27, 154) Source(36, 40) + SourceIndex(0) +22>Emitted(27, 174) Source(36, 43) + SourceIndex(0) +23>Emitted(27, 183) Source(36, 52) + SourceIndex(0) +24>Emitted(27, 189) Source(36, 52) + SourceIndex(0) +25>Emitted(27, 191) Source(36, 54) + SourceIndex(0) +26>Emitted(27, 203) Source(36, 81) + SourceIndex(0) +27>Emitted(27, 205) Source(36, 54) + SourceIndex(0) +28>Emitted(27, 220) Source(36, 69) + SourceIndex(0) +29>Emitted(27, 240) Source(36, 72) + SourceIndex(0) +30>Emitted(27, 249) Source(36, 81) + SourceIndex(0) +31>Emitted(27, 255) Source(36, 81) + SourceIndex(0) +32>Emitted(27, 256) Source(36, 108) + SourceIndex(0) --- >>>_14 = ["trimmer", ["trimming", "edging"]], _15 = _14[0], nameMB = _15 === void 0 ? "helloNoName" : _15, _16 = _14[1], _17 = _16 === void 0 ? [] : _16, _18 = _17[0], primarySkillB = _18 === void 0 ? "noSkill" : _18, _19 = _17[1], secondarySkillB = _19 === void 0 ? "noSkill" : _19; 1-> @@ -1368,45 +1369,45 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 38> 39> ] = []] = > ["trimmer", ["trimming", "edging"]]; -1->Emitted(27, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(27, 7) Source(38, 5) + SourceIndex(0) -3 >Emitted(27, 8) Source(38, 6) + SourceIndex(0) -4 >Emitted(27, 17) Source(38, 15) + SourceIndex(0) -5 >Emitted(27, 19) Source(38, 17) + SourceIndex(0) -6 >Emitted(27, 20) Source(38, 18) + SourceIndex(0) -7 >Emitted(27, 30) Source(38, 28) + SourceIndex(0) -8 >Emitted(27, 32) Source(38, 30) + SourceIndex(0) -9 >Emitted(27, 40) Source(38, 38) + SourceIndex(0) -10>Emitted(27, 41) Source(38, 39) + SourceIndex(0) -11>Emitted(27, 42) Source(38, 40) + SourceIndex(0) -12>Emitted(27, 44) Source(37, 2) + SourceIndex(0) -13>Emitted(27, 56) Source(37, 24) + SourceIndex(0) -14>Emitted(27, 58) Source(37, 2) + SourceIndex(0) -15>Emitted(27, 64) Source(37, 8) + SourceIndex(0) -16>Emitted(27, 84) Source(37, 11) + SourceIndex(0) -17>Emitted(27, 97) Source(37, 24) + SourceIndex(0) -18>Emitted(27, 103) Source(37, 24) + SourceIndex(0) -19>Emitted(27, 105) Source(37, 26) + SourceIndex(0) -20>Emitted(27, 117) Source(37, 87) + SourceIndex(0) -21>Emitted(27, 119) Source(37, 26) + SourceIndex(0) -22>Emitted(27, 142) Source(37, 85) + SourceIndex(0) -23>Emitted(27, 144) Source(37, 87) + SourceIndex(0) -24>Emitted(27, 150) Source(37, 87) + SourceIndex(0) -25>Emitted(27, 152) Source(37, 27) + SourceIndex(0) -26>Emitted(27, 164) Source(37, 52) + SourceIndex(0) -27>Emitted(27, 166) Source(37, 27) + SourceIndex(0) -28>Emitted(27, 179) Source(37, 40) + SourceIndex(0) -29>Emitted(27, 199) Source(37, 43) + SourceIndex(0) -30>Emitted(27, 208) Source(37, 52) + SourceIndex(0) -31>Emitted(27, 214) Source(37, 52) + SourceIndex(0) -32>Emitted(27, 216) Source(37, 54) + SourceIndex(0) -33>Emitted(27, 228) Source(37, 81) + SourceIndex(0) -34>Emitted(27, 230) Source(37, 54) + SourceIndex(0) -35>Emitted(27, 245) Source(37, 69) + SourceIndex(0) -36>Emitted(27, 265) Source(37, 72) + SourceIndex(0) -37>Emitted(27, 274) Source(37, 81) + SourceIndex(0) -38>Emitted(27, 280) Source(37, 81) + SourceIndex(0) -39>Emitted(27, 281) Source(38, 41) + SourceIndex(0) +1->Emitted(28, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(28, 7) Source(38, 5) + SourceIndex(0) +3 >Emitted(28, 8) Source(38, 6) + SourceIndex(0) +4 >Emitted(28, 17) Source(38, 15) + SourceIndex(0) +5 >Emitted(28, 19) Source(38, 17) + SourceIndex(0) +6 >Emitted(28, 20) Source(38, 18) + SourceIndex(0) +7 >Emitted(28, 30) Source(38, 28) + SourceIndex(0) +8 >Emitted(28, 32) Source(38, 30) + SourceIndex(0) +9 >Emitted(28, 40) Source(38, 38) + SourceIndex(0) +10>Emitted(28, 41) Source(38, 39) + SourceIndex(0) +11>Emitted(28, 42) Source(38, 40) + SourceIndex(0) +12>Emitted(28, 44) Source(37, 2) + SourceIndex(0) +13>Emitted(28, 56) Source(37, 24) + SourceIndex(0) +14>Emitted(28, 58) Source(37, 2) + SourceIndex(0) +15>Emitted(28, 64) Source(37, 8) + SourceIndex(0) +16>Emitted(28, 84) Source(37, 11) + SourceIndex(0) +17>Emitted(28, 97) Source(37, 24) + SourceIndex(0) +18>Emitted(28, 103) Source(37, 24) + SourceIndex(0) +19>Emitted(28, 105) Source(37, 26) + SourceIndex(0) +20>Emitted(28, 117) Source(37, 87) + SourceIndex(0) +21>Emitted(28, 119) Source(37, 26) + SourceIndex(0) +22>Emitted(28, 142) Source(37, 85) + SourceIndex(0) +23>Emitted(28, 144) Source(37, 87) + SourceIndex(0) +24>Emitted(28, 150) Source(37, 87) + SourceIndex(0) +25>Emitted(28, 152) Source(37, 27) + SourceIndex(0) +26>Emitted(28, 164) Source(37, 52) + SourceIndex(0) +27>Emitted(28, 166) Source(37, 27) + SourceIndex(0) +28>Emitted(28, 179) Source(37, 40) + SourceIndex(0) +29>Emitted(28, 199) Source(37, 43) + SourceIndex(0) +30>Emitted(28, 208) Source(37, 52) + SourceIndex(0) +31>Emitted(28, 214) Source(37, 52) + SourceIndex(0) +32>Emitted(28, 216) Source(37, 54) + SourceIndex(0) +33>Emitted(28, 228) Source(37, 81) + SourceIndex(0) +34>Emitted(28, 230) Source(37, 54) + SourceIndex(0) +35>Emitted(28, 245) Source(37, 69) + SourceIndex(0) +36>Emitted(28, 265) Source(37, 72) + SourceIndex(0) +37>Emitted(28, 274) Source(37, 81) + SourceIndex(0) +38>Emitted(28, 280) Source(37, 81) + SourceIndex(0) +39>Emitted(28, 281) Source(38, 41) + SourceIndex(0) --- >>>_20 = robotB[0], numberB = _20 === void 0 ? -1 : _20, robotAInfo = robotB.slice(1); 1 > @@ -1444,22 +1445,22 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 14> robotB 15> 16> ] = robotB; -1 >Emitted(28, 1) Source(40, 2) + SourceIndex(0) -2 >Emitted(28, 7) Source(40, 33) + SourceIndex(0) -3 >Emitted(28, 13) Source(40, 39) + SourceIndex(0) -4 >Emitted(28, 16) Source(40, 14) + SourceIndex(0) -5 >Emitted(28, 18) Source(40, 2) + SourceIndex(0) -6 >Emitted(28, 25) Source(40, 9) + SourceIndex(0) -7 >Emitted(28, 45) Source(40, 12) + SourceIndex(0) -8 >Emitted(28, 46) Source(40, 13) + SourceIndex(0) -9 >Emitted(28, 47) Source(40, 14) + SourceIndex(0) -10>Emitted(28, 53) Source(40, 14) + SourceIndex(0) -11>Emitted(28, 55) Source(40, 19) + SourceIndex(0) -12>Emitted(28, 65) Source(40, 29) + SourceIndex(0) -13>Emitted(28, 68) Source(40, 33) + SourceIndex(0) -14>Emitted(28, 74) Source(40, 39) + SourceIndex(0) -15>Emitted(28, 83) Source(40, 29) + SourceIndex(0) -16>Emitted(28, 84) Source(40, 40) + SourceIndex(0) +1 >Emitted(29, 1) Source(40, 2) + SourceIndex(0) +2 >Emitted(29, 7) Source(40, 33) + SourceIndex(0) +3 >Emitted(29, 13) Source(40, 39) + SourceIndex(0) +4 >Emitted(29, 16) Source(40, 14) + SourceIndex(0) +5 >Emitted(29, 18) Source(40, 2) + SourceIndex(0) +6 >Emitted(29, 25) Source(40, 9) + SourceIndex(0) +7 >Emitted(29, 45) Source(40, 12) + SourceIndex(0) +8 >Emitted(29, 46) Source(40, 13) + SourceIndex(0) +9 >Emitted(29, 47) Source(40, 14) + SourceIndex(0) +10>Emitted(29, 53) Source(40, 14) + SourceIndex(0) +11>Emitted(29, 55) Source(40, 19) + SourceIndex(0) +12>Emitted(29, 65) Source(40, 29) + SourceIndex(0) +13>Emitted(29, 68) Source(40, 33) + SourceIndex(0) +14>Emitted(29, 74) Source(40, 39) + SourceIndex(0) +15>Emitted(29, 83) Source(40, 29) + SourceIndex(0) +16>Emitted(29, 84) Source(40, 40) + SourceIndex(0) --- >>>_21 = getRobotB(), _22 = _21[0], numberB = _22 === void 0 ? -1 : _22, robotAInfo = _21.slice(1); 1-> @@ -1496,22 +1497,22 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 14> robotAInfo 15> 16> ] = getRobotB(); -1->Emitted(29, 1) Source(41, 1) + SourceIndex(0) -2 >Emitted(29, 7) Source(41, 33) + SourceIndex(0) -3 >Emitted(29, 16) Source(41, 42) + SourceIndex(0) -4 >Emitted(29, 18) Source(41, 44) + SourceIndex(0) -5 >Emitted(29, 20) Source(41, 2) + SourceIndex(0) -6 >Emitted(29, 32) Source(41, 14) + SourceIndex(0) -7 >Emitted(29, 34) Source(41, 2) + SourceIndex(0) -8 >Emitted(29, 41) Source(41, 9) + SourceIndex(0) -9 >Emitted(29, 61) Source(41, 12) + SourceIndex(0) -10>Emitted(29, 62) Source(41, 13) + SourceIndex(0) -11>Emitted(29, 63) Source(41, 14) + SourceIndex(0) -12>Emitted(29, 69) Source(41, 14) + SourceIndex(0) -13>Emitted(29, 71) Source(41, 19) + SourceIndex(0) -14>Emitted(29, 81) Source(41, 29) + SourceIndex(0) -15>Emitted(29, 96) Source(41, 29) + SourceIndex(0) -16>Emitted(29, 97) Source(41, 45) + SourceIndex(0) +1->Emitted(30, 1) Source(41, 1) + SourceIndex(0) +2 >Emitted(30, 7) Source(41, 33) + SourceIndex(0) +3 >Emitted(30, 16) Source(41, 42) + SourceIndex(0) +4 >Emitted(30, 18) Source(41, 44) + SourceIndex(0) +5 >Emitted(30, 20) Source(41, 2) + SourceIndex(0) +6 >Emitted(30, 32) Source(41, 14) + SourceIndex(0) +7 >Emitted(30, 34) Source(41, 2) + SourceIndex(0) +8 >Emitted(30, 41) Source(41, 9) + SourceIndex(0) +9 >Emitted(30, 61) Source(41, 12) + SourceIndex(0) +10>Emitted(30, 62) Source(41, 13) + SourceIndex(0) +11>Emitted(30, 63) Source(41, 14) + SourceIndex(0) +12>Emitted(30, 69) Source(41, 14) + SourceIndex(0) +13>Emitted(30, 71) Source(41, 19) + SourceIndex(0) +14>Emitted(30, 81) Source(41, 29) + SourceIndex(0) +15>Emitted(30, 96) Source(41, 29) + SourceIndex(0) +16>Emitted(30, 97) Source(41, 45) + SourceIndex(0) --- >>>_23 = [2, "trimmer", "trimming"], _24 = _23[0], numberB = _24 === void 0 ? -1 : _24, robotAInfo = _23.slice(1); 1-> @@ -1557,27 +1558,27 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 19> robotAInfo 20> 21> ] = [2, "trimmer", "trimming"]; -1->Emitted(30, 1) Source(42, 1) + SourceIndex(0) -2 >Emitted(30, 7) Source(42, 40) + SourceIndex(0) -3 >Emitted(30, 8) Source(42, 41) + SourceIndex(0) -4 >Emitted(30, 9) Source(42, 42) + SourceIndex(0) -5 >Emitted(30, 11) Source(42, 44) + SourceIndex(0) -6 >Emitted(30, 20) Source(42, 53) + SourceIndex(0) -7 >Emitted(30, 22) Source(42, 55) + SourceIndex(0) -8 >Emitted(30, 32) Source(42, 65) + SourceIndex(0) -9 >Emitted(30, 33) Source(42, 66) + SourceIndex(0) -10>Emitted(30, 35) Source(42, 2) + SourceIndex(0) -11>Emitted(30, 47) Source(42, 14) + SourceIndex(0) -12>Emitted(30, 49) Source(42, 2) + SourceIndex(0) -13>Emitted(30, 56) Source(42, 9) + SourceIndex(0) -14>Emitted(30, 76) Source(42, 12) + SourceIndex(0) -15>Emitted(30, 77) Source(42, 13) + SourceIndex(0) -16>Emitted(30, 78) Source(42, 14) + SourceIndex(0) -17>Emitted(30, 84) Source(42, 14) + SourceIndex(0) -18>Emitted(30, 86) Source(42, 19) + SourceIndex(0) -19>Emitted(30, 96) Source(42, 29) + SourceIndex(0) -20>Emitted(30, 111) Source(42, 29) + SourceIndex(0) -21>Emitted(30, 112) Source(42, 67) + SourceIndex(0) +1->Emitted(31, 1) Source(42, 1) + SourceIndex(0) +2 >Emitted(31, 7) Source(42, 40) + SourceIndex(0) +3 >Emitted(31, 8) Source(42, 41) + SourceIndex(0) +4 >Emitted(31, 9) Source(42, 42) + SourceIndex(0) +5 >Emitted(31, 11) Source(42, 44) + SourceIndex(0) +6 >Emitted(31, 20) Source(42, 53) + SourceIndex(0) +7 >Emitted(31, 22) Source(42, 55) + SourceIndex(0) +8 >Emitted(31, 32) Source(42, 65) + SourceIndex(0) +9 >Emitted(31, 33) Source(42, 66) + SourceIndex(0) +10>Emitted(31, 35) Source(42, 2) + SourceIndex(0) +11>Emitted(31, 47) Source(42, 14) + SourceIndex(0) +12>Emitted(31, 49) Source(42, 2) + SourceIndex(0) +13>Emitted(31, 56) Source(42, 9) + SourceIndex(0) +14>Emitted(31, 76) Source(42, 12) + SourceIndex(0) +15>Emitted(31, 77) Source(42, 13) + SourceIndex(0) +16>Emitted(31, 78) Source(42, 14) + SourceIndex(0) +17>Emitted(31, 84) Source(42, 14) + SourceIndex(0) +18>Emitted(31, 86) Source(42, 19) + SourceIndex(0) +19>Emitted(31, 96) Source(42, 29) + SourceIndex(0) +20>Emitted(31, 111) Source(42, 29) + SourceIndex(0) +21>Emitted(31, 112) Source(42, 67) + SourceIndex(0) --- >>>if (nameA == nameB) { 1 > @@ -1597,13 +1598,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 5 > nameB 6 > ) 7 > { -1 >Emitted(31, 1) Source(44, 1) + SourceIndex(0) -2 >Emitted(31, 5) Source(44, 5) + SourceIndex(0) -3 >Emitted(31, 10) Source(44, 10) + SourceIndex(0) -4 >Emitted(31, 14) Source(44, 14) + SourceIndex(0) -5 >Emitted(31, 19) Source(44, 19) + SourceIndex(0) -6 >Emitted(31, 21) Source(44, 21) + SourceIndex(0) -7 >Emitted(31, 22) Source(44, 22) + SourceIndex(0) +1 >Emitted(32, 1) Source(44, 1) + SourceIndex(0) +2 >Emitted(32, 5) Source(44, 5) + SourceIndex(0) +3 >Emitted(32, 10) Source(44, 10) + SourceIndex(0) +4 >Emitted(32, 14) Source(44, 14) + SourceIndex(0) +5 >Emitted(32, 19) Source(44, 19) + SourceIndex(0) +6 >Emitted(32, 21) Source(44, 21) + SourceIndex(0) +7 >Emitted(32, 22) Source(44, 22) + SourceIndex(0) --- >>> console.log(skillB); 1->^^^^ @@ -1623,14 +1624,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 6 > skillB 7 > ) 8 > ; -1->Emitted(32, 5) Source(45, 5) + SourceIndex(0) -2 >Emitted(32, 12) Source(45, 12) + SourceIndex(0) -3 >Emitted(32, 13) Source(45, 13) + SourceIndex(0) -4 >Emitted(32, 16) Source(45, 16) + SourceIndex(0) -5 >Emitted(32, 17) Source(45, 17) + SourceIndex(0) -6 >Emitted(32, 23) Source(45, 23) + SourceIndex(0) -7 >Emitted(32, 24) Source(45, 24) + SourceIndex(0) -8 >Emitted(32, 25) Source(45, 25) + SourceIndex(0) +1->Emitted(33, 5) Source(45, 5) + SourceIndex(0) +2 >Emitted(33, 12) Source(45, 12) + SourceIndex(0) +3 >Emitted(33, 13) Source(45, 13) + SourceIndex(0) +4 >Emitted(33, 16) Source(45, 16) + SourceIndex(0) +5 >Emitted(33, 17) Source(45, 17) + SourceIndex(0) +6 >Emitted(33, 23) Source(45, 23) + SourceIndex(0) +7 >Emitted(33, 24) Source(45, 24) + SourceIndex(0) +8 >Emitted(33, 25) Source(45, 25) + SourceIndex(0) --- >>>} 1 > @@ -1639,8 +1640,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 1 > > 2 >} -1 >Emitted(33, 1) Source(46, 1) + SourceIndex(0) -2 >Emitted(33, 2) Source(46, 2) + SourceIndex(0) +1 >Emitted(34, 1) Source(46, 1) + SourceIndex(0) +2 >Emitted(34, 2) Source(46, 2) + SourceIndex(0) --- >>>function getRobotB() { 1-> @@ -1652,9 +1653,9 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD > 2 >function 3 > getRobotB -1->Emitted(34, 1) Source(48, 1) + SourceIndex(0) -2 >Emitted(34, 10) Source(48, 10) + SourceIndex(0) -3 >Emitted(34, 19) Source(48, 19) + SourceIndex(0) +1->Emitted(35, 1) Source(48, 1) + SourceIndex(0) +2 >Emitted(35, 10) Source(48, 10) + SourceIndex(0) +3 >Emitted(35, 19) Source(48, 19) + SourceIndex(0) --- >>> return robotB; 1->^^^^ @@ -1666,10 +1667,10 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 2 > return 3 > robotB 4 > ; -1->Emitted(35, 5) Source(49, 5) + SourceIndex(0) -2 >Emitted(35, 12) Source(49, 12) + SourceIndex(0) -3 >Emitted(35, 18) Source(49, 18) + SourceIndex(0) -4 >Emitted(35, 19) Source(49, 19) + SourceIndex(0) +1->Emitted(36, 5) Source(49, 5) + SourceIndex(0) +2 >Emitted(36, 12) Source(49, 12) + SourceIndex(0) +3 >Emitted(36, 18) Source(49, 18) + SourceIndex(0) +4 >Emitted(36, 19) Source(49, 19) + SourceIndex(0) --- >>>} 1 > @@ -1678,8 +1679,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 1 > > 2 >} -1 >Emitted(36, 1) Source(50, 1) + SourceIndex(0) -2 >Emitted(36, 2) Source(50, 2) + SourceIndex(0) +1 >Emitted(37, 1) Source(50, 1) + SourceIndex(0) +2 >Emitted(37, 2) Source(50, 2) + SourceIndex(0) --- >>>function getMultiRobotB() { 1-> @@ -1691,9 +1692,9 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD > 2 >function 3 > getMultiRobotB -1->Emitted(37, 1) Source(52, 1) + SourceIndex(0) -2 >Emitted(37, 10) Source(52, 10) + SourceIndex(0) -3 >Emitted(37, 24) Source(52, 24) + SourceIndex(0) +1->Emitted(38, 1) Source(52, 1) + SourceIndex(0) +2 >Emitted(38, 10) Source(52, 10) + SourceIndex(0) +3 >Emitted(38, 24) Source(52, 24) + SourceIndex(0) --- >>> return multiRobotB; 1->^^^^ @@ -1705,10 +1706,10 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 2 > return 3 > multiRobotB 4 > ; -1->Emitted(38, 5) Source(53, 5) + SourceIndex(0) -2 >Emitted(38, 12) Source(53, 12) + SourceIndex(0) -3 >Emitted(38, 23) Source(53, 23) + SourceIndex(0) -4 >Emitted(38, 24) Source(53, 24) + SourceIndex(0) +1->Emitted(39, 5) Source(53, 5) + SourceIndex(0) +2 >Emitted(39, 12) Source(53, 12) + SourceIndex(0) +3 >Emitted(39, 23) Source(53, 23) + SourceIndex(0) +4 >Emitted(39, 24) Source(53, 24) + SourceIndex(0) --- >>>} 1 > @@ -1717,7 +1718,7 @@ sourceFile:sourceMapValidationDestructuringVariableStatementArrayBindingPatternD 1 > > 2 >} -1 >Emitted(39, 1) Source(54, 1) + SourceIndex(0) -2 >Emitted(39, 2) Source(54, 2) + SourceIndex(0) +1 >Emitted(40, 1) Source(54, 1) + SourceIndex(0) +2 >Emitted(40, 2) Source(54, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementArrayBindingPatternDefaultValues3.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.js index f012ce5fd9778..1c475a9691a3e 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.js @@ -22,6 +22,7 @@ else { } //// [sourceMapValidationDestructuringVariableStatementDefaultValues.js] +"use strict"; var hello = "hello"; var robotA = { name: "mower", skill: "mowing" }; var robotB = { name: "trimmer", skill: "trimming" }; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.js.map index c211f08d29e20..1b1b03d14d78a 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementDefaultValues.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementDefaultValues.ts"],"names":[],"mappings":"AAOA,IAAI,KAAK,GAAG,OAAO,CAAC;AACpB,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,CAAC;AACvD,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,UAAU,EAAE,CAAC;AACrD,IAAA,KAA6B,MAAM,KAAX,EAAlB,KAAK,mBAAG,UAAU,KAAA,CAAY;AACpC,IAAA,KAAmE,MAAM,KAAjD,EAAlB,KAAK,mBAAG,UAAU,KAAA,EAAE,KAAyC,MAAM,MAAX,EAA7B,MAAM,mBAAG,oBAAoB,KAAA,CAAY;AAC5E,IAAA,KAAqE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,eAAe,EAAE,EAA5G,YAAwB,EAAlB,KAAK,mBAAG,UAAU,KAAA,EAAE,aAAoC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UFDLE1BQU0sQ0FBQyxDQUFDO0FBQ3hCLENBQUM7S0FDSSxDQUFDO0lBQ0YsT0FBTyxDQUFDLEdBQUcsQ0FBQyxLQUFLLENBQUMsQ0FBQztBQUN2QixDQUFDIn0=,aW50ZXJmYWNlIFJvYm90IHsKICAgIG5hbWU6IHN0cmluZzsKICAgIHNraWxsOiBzdHJpbmc7Cn0KZGVjbGFyZSB2YXIgY29uc29sZTogewogICAgbG9nKG1zZzogc3RyaW5nKTogdm9pZDsKfQp2YXIgaGVsbG8gPSAiaGVsbG8iOwp2YXIgcm9ib3RBOiBSb2JvdCA9IHsgbmFtZTogIm1vd2VyIiwgc2tpbGw6ICJtb3dpbmciIH07CnZhciByb2JvdEI6IFJvYm90ID0geyBuYW1lOiAidHJpbW1lciIsIHNraWxsOiAidHJpbW1pbmciIH07CnZhciB7IG5hbWU6IG5hbWVBID0gIjxOb05hbWU+IiB9ID0gcm9ib3RBOwp2YXIgeyBuYW1lOiBuYW1lQiA9ICI8Tm9OYW1lPiIsIHNraWxsOiBza2lsbEIgPSAiPHNraWxsVW5zcGVjaWZpZWQ+IiB9ID0gcm9ib3RCOwp2YXIgeyBuYW1lOiBuYW1lQyA9ICI8Tm9OYW1lPiIsIHNraWxsOiBza2lsbEMgPSAiPHNraWxsVW5zcGVjaWZpZWQ+IiB9ID0geyBuYW1lOiAiRWRnZXIiLCBza2lsbDogImN1dHRpbmcgZWRnZXMiIH07CmlmIChuYW1lQSA9PSBuYW1lQikgewogICAgY29uc29sZS5sb2coc2tpbGxCKTsKfQplbHNlIHsKICAgIGNvbnNvbGUubG9nKG5hbWVDKTsKfQ== +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementDefaultValues.ts"],"names":[],"mappings":";AAOA,IAAI,KAAK,GAAG,OAAO,CAAC;AACpB,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,QAAQ,E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AiPHNraWxsVW5zcGVjaWZpZWQ+IiB9ID0geyBuYW1lOiAiRWRnZXIiLCBza2lsbDogImN1dHRpbmcgZWRnZXMiIH07CmlmIChuYW1lQSA9PSBuYW1lQikgewogICAgY29uc29sZS5sb2coc2tpbGxCKTsKfQplbHNlIHsKICAgIGNvbnNvbGUubG9nKG5hbWVDKTsKfQ== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.sourcemap.txt index 1d1ef35aebd77..6cd1d2d77767d 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementDefaultValues.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementDefaultValues.ts emittedFile:sourceMapValidationDestructuringVariableStatementDefaultValues.js sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var hello = "hello"; 1 > 2 >^^^^ @@ -29,12 +30,12 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 4 > = 5 > "hello" 6 > ; -1 >Emitted(1, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(8, 5) + SourceIndex(0) -3 >Emitted(1, 10) Source(8, 10) + SourceIndex(0) -4 >Emitted(1, 13) Source(8, 13) + SourceIndex(0) -5 >Emitted(1, 20) Source(8, 20) + SourceIndex(0) -6 >Emitted(1, 21) Source(8, 21) + SourceIndex(0) +1 >Emitted(2, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(8, 5) + SourceIndex(0) +3 >Emitted(2, 10) Source(8, 10) + SourceIndex(0) +4 >Emitted(2, 13) Source(8, 13) + SourceIndex(0) +5 >Emitted(2, 20) Source(8, 20) + SourceIndex(0) +6 >Emitted(2, 21) Source(8, 21) + SourceIndex(0) --- >>>var robotA = { name: "mower", skill: "mowing" }; 1-> @@ -67,20 +68,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 12> "mowing" 13> } 14> ; -1->Emitted(2, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(9, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(9, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(9, 21) + SourceIndex(0) -5 >Emitted(2, 16) Source(9, 23) + SourceIndex(0) -6 >Emitted(2, 20) Source(9, 27) + SourceIndex(0) -7 >Emitted(2, 22) Source(9, 29) + SourceIndex(0) -8 >Emitted(2, 29) Source(9, 36) + SourceIndex(0) -9 >Emitted(2, 31) Source(9, 38) + SourceIndex(0) -10>Emitted(2, 36) Source(9, 43) + SourceIndex(0) -11>Emitted(2, 38) Source(9, 45) + SourceIndex(0) -12>Emitted(2, 46) Source(9, 53) + SourceIndex(0) -13>Emitted(2, 48) Source(9, 55) + SourceIndex(0) -14>Emitted(2, 49) Source(9, 56) + SourceIndex(0) +1->Emitted(3, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(9, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(9, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(9, 21) + SourceIndex(0) +5 >Emitted(3, 16) Source(9, 23) + SourceIndex(0) +6 >Emitted(3, 20) Source(9, 27) + SourceIndex(0) +7 >Emitted(3, 22) Source(9, 29) + SourceIndex(0) +8 >Emitted(3, 29) Source(9, 36) + SourceIndex(0) +9 >Emitted(3, 31) Source(9, 38) + SourceIndex(0) +10>Emitted(3, 36) Source(9, 43) + SourceIndex(0) +11>Emitted(3, 38) Source(9, 45) + SourceIndex(0) +12>Emitted(3, 46) Source(9, 53) + SourceIndex(0) +13>Emitted(3, 48) Source(9, 55) + SourceIndex(0) +14>Emitted(3, 49) Source(9, 56) + SourceIndex(0) --- >>>var robotB = { name: "trimmer", skill: "trimming" }; 1-> @@ -113,20 +114,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 12> "trimming" 13> } 14> ; -1->Emitted(3, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(10, 5) + SourceIndex(0) -3 >Emitted(3, 11) Source(10, 11) + SourceIndex(0) -4 >Emitted(3, 14) Source(10, 21) + SourceIndex(0) -5 >Emitted(3, 16) Source(10, 23) + SourceIndex(0) -6 >Emitted(3, 20) Source(10, 27) + SourceIndex(0) -7 >Emitted(3, 22) Source(10, 29) + SourceIndex(0) -8 >Emitted(3, 31) Source(10, 38) + SourceIndex(0) -9 >Emitted(3, 33) Source(10, 40) + SourceIndex(0) -10>Emitted(3, 38) Source(10, 45) + SourceIndex(0) -11>Emitted(3, 40) Source(10, 47) + SourceIndex(0) -12>Emitted(3, 50) Source(10, 57) + SourceIndex(0) -13>Emitted(3, 52) Source(10, 59) + SourceIndex(0) -14>Emitted(3, 53) Source(10, 60) + SourceIndex(0) +1->Emitted(4, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(10, 5) + SourceIndex(0) +3 >Emitted(4, 11) Source(10, 11) + SourceIndex(0) +4 >Emitted(4, 14) Source(10, 21) + SourceIndex(0) +5 >Emitted(4, 16) Source(10, 23) + SourceIndex(0) +6 >Emitted(4, 20) Source(10, 27) + SourceIndex(0) +7 >Emitted(4, 22) Source(10, 29) + SourceIndex(0) +8 >Emitted(4, 31) Source(10, 38) + SourceIndex(0) +9 >Emitted(4, 33) Source(10, 40) + SourceIndex(0) +10>Emitted(4, 38) Source(10, 45) + SourceIndex(0) +11>Emitted(4, 40) Source(10, 47) + SourceIndex(0) +12>Emitted(4, 50) Source(10, 57) + SourceIndex(0) +13>Emitted(4, 52) Source(10, 59) + SourceIndex(0) +14>Emitted(4, 53) Source(10, 60) + SourceIndex(0) --- >>>var _a = robotA.name, nameA = _a === void 0 ? "" : _a; 1-> @@ -153,17 +154,17 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 9 > "" 10> 11> } = robotA; -1->Emitted(4, 1) Source(11, 7) + SourceIndex(0) -2 >Emitted(4, 5) Source(11, 7) + SourceIndex(0) -3 >Emitted(4, 10) Source(11, 36) + SourceIndex(0) -4 >Emitted(4, 16) Source(11, 42) + SourceIndex(0) -5 >Emitted(4, 21) Source(11, 31) + SourceIndex(0) -6 >Emitted(4, 23) Source(11, 13) + SourceIndex(0) -7 >Emitted(4, 28) Source(11, 18) + SourceIndex(0) -8 >Emitted(4, 47) Source(11, 21) + SourceIndex(0) -9 >Emitted(4, 57) Source(11, 31) + SourceIndex(0) -10>Emitted(4, 62) Source(11, 31) + SourceIndex(0) -11>Emitted(4, 63) Source(11, 43) + SourceIndex(0) +1->Emitted(5, 1) Source(11, 7) + SourceIndex(0) +2 >Emitted(5, 5) Source(11, 7) + SourceIndex(0) +3 >Emitted(5, 10) Source(11, 36) + SourceIndex(0) +4 >Emitted(5, 16) Source(11, 42) + SourceIndex(0) +5 >Emitted(5, 21) Source(11, 31) + SourceIndex(0) +6 >Emitted(5, 23) Source(11, 13) + SourceIndex(0) +7 >Emitted(5, 28) Source(11, 18) + SourceIndex(0) +8 >Emitted(5, 47) Source(11, 21) + SourceIndex(0) +9 >Emitted(5, 57) Source(11, 31) + SourceIndex(0) +10>Emitted(5, 62) Source(11, 31) + SourceIndex(0) +11>Emitted(5, 63) Source(11, 43) + SourceIndex(0) --- >>>var _b = robotB.name, nameB = _b === void 0 ? "" : _b, _c = robotB.skill, skillB = _c === void 0 ? "" : _c; 1-> @@ -208,26 +209,26 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 18> "" 19> 20> } = robotB; -1->Emitted(5, 1) Source(12, 7) + SourceIndex(0) -2 >Emitted(5, 5) Source(12, 7) + SourceIndex(0) -3 >Emitted(5, 10) Source(12, 74) + SourceIndex(0) -4 >Emitted(5, 16) Source(12, 80) + SourceIndex(0) -5 >Emitted(5, 21) Source(12, 31) + SourceIndex(0) -6 >Emitted(5, 23) Source(12, 13) + SourceIndex(0) -7 >Emitted(5, 28) Source(12, 18) + SourceIndex(0) -8 >Emitted(5, 47) Source(12, 21) + SourceIndex(0) -9 >Emitted(5, 57) Source(12, 31) + SourceIndex(0) -10>Emitted(5, 62) Source(12, 31) + SourceIndex(0) -11>Emitted(5, 64) Source(12, 33) + SourceIndex(0) -12>Emitted(5, 69) Source(12, 74) + SourceIndex(0) -13>Emitted(5, 75) Source(12, 80) + SourceIndex(0) -14>Emitted(5, 81) Source(12, 69) + SourceIndex(0) -15>Emitted(5, 83) Source(12, 40) + SourceIndex(0) -16>Emitted(5, 89) Source(12, 46) + SourceIndex(0) -17>Emitted(5, 108) Source(12, 49) + SourceIndex(0) -18>Emitted(5, 128) Source(12, 69) + SourceIndex(0) -19>Emitted(5, 133) Source(12, 69) + SourceIndex(0) -20>Emitted(5, 134) Source(12, 81) + SourceIndex(0) +1->Emitted(6, 1) Source(12, 7) + SourceIndex(0) +2 >Emitted(6, 5) Source(12, 7) + SourceIndex(0) +3 >Emitted(6, 10) Source(12, 74) + SourceIndex(0) +4 >Emitted(6, 16) Source(12, 80) + SourceIndex(0) +5 >Emitted(6, 21) Source(12, 31) + SourceIndex(0) +6 >Emitted(6, 23) Source(12, 13) + SourceIndex(0) +7 >Emitted(6, 28) Source(12, 18) + SourceIndex(0) +8 >Emitted(6, 47) Source(12, 21) + SourceIndex(0) +9 >Emitted(6, 57) Source(12, 31) + SourceIndex(0) +10>Emitted(6, 62) Source(12, 31) + SourceIndex(0) +11>Emitted(6, 64) Source(12, 33) + SourceIndex(0) +12>Emitted(6, 69) Source(12, 74) + SourceIndex(0) +13>Emitted(6, 75) Source(12, 80) + SourceIndex(0) +14>Emitted(6, 81) Source(12, 69) + SourceIndex(0) +15>Emitted(6, 83) Source(12, 40) + SourceIndex(0) +16>Emitted(6, 89) Source(12, 46) + SourceIndex(0) +17>Emitted(6, 108) Source(12, 49) + SourceIndex(0) +18>Emitted(6, 128) Source(12, 69) + SourceIndex(0) +19>Emitted(6, 133) Source(12, 69) + SourceIndex(0) +20>Emitted(6, 134) Source(12, 81) + SourceIndex(0) --- >>>var _d = { name: "Edger", skill: "cutting edges" }, _e = _d.name, nameC = _e === void 0 ? "" : _e, _f = _d.skill, skillC = _f === void 0 ? "" : _f; 1-> @@ -285,33 +286,33 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 25> "" 26> } = { name: "Edger", skill: "cutting edges" } 27> ; -1->Emitted(6, 1) Source(13, 5) + SourceIndex(0) -2 >Emitted(6, 5) Source(13, 5) + SourceIndex(0) -3 >Emitted(6, 10) Source(13, 74) + SourceIndex(0) -4 >Emitted(6, 12) Source(13, 76) + SourceIndex(0) -5 >Emitted(6, 16) Source(13, 80) + SourceIndex(0) -6 >Emitted(6, 18) Source(13, 82) + SourceIndex(0) -7 >Emitted(6, 25) Source(13, 89) + SourceIndex(0) -8 >Emitted(6, 27) Source(13, 91) + SourceIndex(0) -9 >Emitted(6, 32) Source(13, 96) + SourceIndex(0) -10>Emitted(6, 34) Source(13, 98) + SourceIndex(0) -11>Emitted(6, 49) Source(13, 113) + SourceIndex(0) -12>Emitted(6, 51) Source(13, 115) + SourceIndex(0) -13>Emitted(6, 53) Source(13, 7) + SourceIndex(0) -14>Emitted(6, 65) Source(13, 31) + SourceIndex(0) -15>Emitted(6, 67) Source(13, 13) + SourceIndex(0) -16>Emitted(6, 72) Source(13, 18) + SourceIndex(0) -17>Emitted(6, 91) Source(13, 21) + SourceIndex(0) -18>Emitted(6, 101) Source(13, 31) + SourceIndex(0) -19>Emitted(6, 106) Source(13, 31) + SourceIndex(0) -20>Emitted(6, 108) Source(13, 33) + SourceIndex(0) -21>Emitted(6, 121) Source(13, 69) + SourceIndex(0) -22>Emitted(6, 123) Source(13, 40) + SourceIndex(0) -23>Emitted(6, 129) Source(13, 46) + SourceIndex(0) -24>Emitted(6, 148) Source(13, 49) + SourceIndex(0) -25>Emitted(6, 168) Source(13, 69) + SourceIndex(0) -26>Emitted(6, 173) Source(13, 115) + SourceIndex(0) -27>Emitted(6, 174) Source(13, 116) + SourceIndex(0) +1->Emitted(7, 1) Source(13, 5) + SourceIndex(0) +2 >Emitted(7, 5) Source(13, 5) + SourceIndex(0) +3 >Emitted(7, 10) Source(13, 74) + SourceIndex(0) +4 >Emitted(7, 12) Source(13, 76) + SourceIndex(0) +5 >Emitted(7, 16) Source(13, 80) + SourceIndex(0) +6 >Emitted(7, 18) Source(13, 82) + SourceIndex(0) +7 >Emitted(7, 25) Source(13, 89) + SourceIndex(0) +8 >Emitted(7, 27) Source(13, 91) + SourceIndex(0) +9 >Emitted(7, 32) Source(13, 96) + SourceIndex(0) +10>Emitted(7, 34) Source(13, 98) + SourceIndex(0) +11>Emitted(7, 49) Source(13, 113) + SourceIndex(0) +12>Emitted(7, 51) Source(13, 115) + SourceIndex(0) +13>Emitted(7, 53) Source(13, 7) + SourceIndex(0) +14>Emitted(7, 65) Source(13, 31) + SourceIndex(0) +15>Emitted(7, 67) Source(13, 13) + SourceIndex(0) +16>Emitted(7, 72) Source(13, 18) + SourceIndex(0) +17>Emitted(7, 91) Source(13, 21) + SourceIndex(0) +18>Emitted(7, 101) Source(13, 31) + SourceIndex(0) +19>Emitted(7, 106) Source(13, 31) + SourceIndex(0) +20>Emitted(7, 108) Source(13, 33) + SourceIndex(0) +21>Emitted(7, 121) Source(13, 69) + SourceIndex(0) +22>Emitted(7, 123) Source(13, 40) + SourceIndex(0) +23>Emitted(7, 129) Source(13, 46) + SourceIndex(0) +24>Emitted(7, 148) Source(13, 49) + SourceIndex(0) +25>Emitted(7, 168) Source(13, 69) + SourceIndex(0) +26>Emitted(7, 173) Source(13, 115) + SourceIndex(0) +27>Emitted(7, 174) Source(13, 116) + SourceIndex(0) --- >>>if (nameA == nameB) { 1 > @@ -330,13 +331,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 5 > nameB 6 > ) 7 > { -1 >Emitted(7, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(14, 5) + SourceIndex(0) -3 >Emitted(7, 10) Source(14, 10) + SourceIndex(0) -4 >Emitted(7, 14) Source(14, 14) + SourceIndex(0) -5 >Emitted(7, 19) Source(14, 19) + SourceIndex(0) -6 >Emitted(7, 21) Source(14, 21) + SourceIndex(0) -7 >Emitted(7, 22) Source(14, 22) + SourceIndex(0) +1 >Emitted(8, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(14, 5) + SourceIndex(0) +3 >Emitted(8, 10) Source(14, 10) + SourceIndex(0) +4 >Emitted(8, 14) Source(14, 14) + SourceIndex(0) +5 >Emitted(8, 19) Source(14, 19) + SourceIndex(0) +6 >Emitted(8, 21) Source(14, 21) + SourceIndex(0) +7 >Emitted(8, 22) Source(14, 22) + SourceIndex(0) --- >>> console.log(skillB); 1->^^^^ @@ -356,14 +357,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 6 > skillB 7 > ) 8 > ; -1->Emitted(8, 5) Source(15, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(15, 12) + SourceIndex(0) -3 >Emitted(8, 13) Source(15, 13) + SourceIndex(0) -4 >Emitted(8, 16) Source(15, 16) + SourceIndex(0) -5 >Emitted(8, 17) Source(15, 17) + SourceIndex(0) -6 >Emitted(8, 23) Source(15, 23) + SourceIndex(0) -7 >Emitted(8, 24) Source(15, 24) + SourceIndex(0) -8 >Emitted(8, 25) Source(15, 25) + SourceIndex(0) +1->Emitted(9, 5) Source(15, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(15, 12) + SourceIndex(0) +3 >Emitted(9, 13) Source(15, 13) + SourceIndex(0) +4 >Emitted(9, 16) Source(15, 16) + SourceIndex(0) +5 >Emitted(9, 17) Source(15, 17) + SourceIndex(0) +6 >Emitted(9, 23) Source(15, 23) + SourceIndex(0) +7 >Emitted(9, 24) Source(15, 24) + SourceIndex(0) +8 >Emitted(9, 25) Source(15, 25) + SourceIndex(0) --- >>>} 1 > @@ -372,8 +373,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 1 > > 2 >} -1 >Emitted(9, 1) Source(16, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(16, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(16, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(16, 2) + SourceIndex(0) --- >>>else { 1->^^^^^ @@ -382,8 +383,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 1-> >else 2 > { -1->Emitted(10, 6) Source(17, 6) + SourceIndex(0) -2 >Emitted(10, 7) Source(17, 7) + SourceIndex(0) +1->Emitted(11, 6) Source(17, 6) + SourceIndex(0) +2 >Emitted(11, 7) Source(17, 7) + SourceIndex(0) --- >>> console.log(nameC); 1->^^^^ @@ -403,14 +404,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 6 > nameC 7 > ) 8 > ; -1->Emitted(11, 5) Source(18, 5) + SourceIndex(0) -2 >Emitted(11, 12) Source(18, 12) + SourceIndex(0) -3 >Emitted(11, 13) Source(18, 13) + SourceIndex(0) -4 >Emitted(11, 16) Source(18, 16) + SourceIndex(0) -5 >Emitted(11, 17) Source(18, 17) + SourceIndex(0) -6 >Emitted(11, 22) Source(18, 22) + SourceIndex(0) -7 >Emitted(11, 23) Source(18, 23) + SourceIndex(0) -8 >Emitted(11, 24) Source(18, 24) + SourceIndex(0) +1->Emitted(12, 5) Source(18, 5) + SourceIndex(0) +2 >Emitted(12, 12) Source(18, 12) + SourceIndex(0) +3 >Emitted(12, 13) Source(18, 13) + SourceIndex(0) +4 >Emitted(12, 16) Source(18, 16) + SourceIndex(0) +5 >Emitted(12, 17) Source(18, 17) + SourceIndex(0) +6 >Emitted(12, 22) Source(18, 22) + SourceIndex(0) +7 >Emitted(12, 23) Source(18, 23) + SourceIndex(0) +8 >Emitted(12, 24) Source(18, 24) + SourceIndex(0) --- >>>} 1 > @@ -419,7 +420,7 @@ sourceFile:sourceMapValidationDestructuringVariableStatementDefaultValues.ts 1 > > 2 >} -1 >Emitted(12, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(12, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(13, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(13, 2) Source(19, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementDefaultValues.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js index 955385aba2e70..fb868cf763ef0 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js @@ -26,6 +26,7 @@ else { } //// [sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js] +"use strict"; var robotA = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; var robotB = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }; var _a = robotA.skills, primaryA = _a.primary, secondaryA = _a.secondary; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js.map index bdc2d82d94575..8a5c44d5bee41 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.ts"],"names":[],"mappings":"AAUA,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,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iB9IH07CnZhciByb2JvdEI6IFJvYm90ID0geyBuYW1lOiAidHJpbW1lciIsIHNraWxsczogeyBwcmltYXJ5OiAidHJpbW1pbmciLCBzZWNvbmRhcnk6ICJlZGdpbmciIH0gfTsKCnZhciB7IHNraWxsczogeyBwcmltYXJ5OiBwcmltYXJ5QSwgc2Vjb25kYXJ5OiBzZWNvbmRhcnlBIH0gfSA9IHJvYm90QTsKdmFyIHsgbmFtZTogbmFtZUIsIHNraWxsczogeyBwcmltYXJ5OiBwcmltYXJ5Qiwgc2Vjb25kYXJ5OiBzZWNvbmRhcnlCIH0gfSA9IHJvYm90QjsKdmFyIHsgbmFtZTogbmFtZUMsIHNraWxsczogeyBwcmltYXJ5OiBwcmltYXJ5Qiwgc2Vjb25kYXJ5OiBzZWNvbmRhcnlCIH0gfSA9IHsgbmFtZTogIkVkZ2VyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJlZGdpbmciLCBzZWNvbmRhcnk6ICJicmFuY2ggdHJpbW1pbmciIH0gfTsKCmlmIChuYW1lQiA9PSBuYW1lQikgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9CmVsc2UgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9 +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.ts"],"names":[],"mappings":";AAUA,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AACxF,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,CAAC;AAExF,IAAA,KAAyD,MAAM,OAAX,EAAjC,QAAQ,aAAA,EAAa,UAAU,eAAE,CAAY;AAChE,IAAM,KAAK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FtZUIsIHNraWxsczogeyBwcmltYXJ5OiBwcmltYXJ5Qiwgc2Vjb25kYXJ5OiBzZWNvbmRhcnlCIH0gfSA9IHJvYm90QjsKdmFyIHsgbmFtZTogbmFtZUMsIHNraWxsczogeyBwcmltYXJ5OiBwcmltYXJ5Qiwgc2Vjb25kYXJ5OiBzZWNvbmRhcnlCIH0gfSA9IHsgbmFtZTogIkVkZ2VyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJlZGdpbmciLCBzZWNvbmRhcnk6ICJicmFuY2ggdHJpbW1pbmciIH0gfTsKCmlmIChuYW1lQiA9PSBuYW1lQikgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9CmVsc2UgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.sourcemap.txt index 4d266ea806cf8..eee6ce10e0dbc 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementNestedObjectBindingPat emittedFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; 1 > 2 >^^^^ @@ -64,28 +65,28 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 20> } 21> } 22> ; -1 >Emitted(1, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(11, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(11, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(11, 21) + SourceIndex(0) -5 >Emitted(1, 16) Source(11, 23) + SourceIndex(0) -6 >Emitted(1, 20) Source(11, 27) + SourceIndex(0) -7 >Emitted(1, 22) Source(11, 29) + SourceIndex(0) -8 >Emitted(1, 29) Source(11, 36) + SourceIndex(0) -9 >Emitted(1, 31) Source(11, 38) + SourceIndex(0) -10>Emitted(1, 37) Source(11, 44) + SourceIndex(0) -11>Emitted(1, 39) Source(11, 46) + SourceIndex(0) -12>Emitted(1, 41) Source(11, 48) + SourceIndex(0) -13>Emitted(1, 48) Source(11, 55) + SourceIndex(0) -14>Emitted(1, 50) Source(11, 57) + SourceIndex(0) -15>Emitted(1, 58) Source(11, 65) + SourceIndex(0) -16>Emitted(1, 60) Source(11, 67) + SourceIndex(0) -17>Emitted(1, 69) Source(11, 76) + SourceIndex(0) -18>Emitted(1, 71) Source(11, 78) + SourceIndex(0) -19>Emitted(1, 77) Source(11, 84) + SourceIndex(0) -20>Emitted(1, 79) Source(11, 86) + SourceIndex(0) -21>Emitted(1, 81) Source(11, 88) + SourceIndex(0) -22>Emitted(1, 82) Source(11, 89) + SourceIndex(0) +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(11, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(11, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(11, 21) + SourceIndex(0) +5 >Emitted(2, 16) Source(11, 23) + SourceIndex(0) +6 >Emitted(2, 20) Source(11, 27) + SourceIndex(0) +7 >Emitted(2, 22) Source(11, 29) + SourceIndex(0) +8 >Emitted(2, 29) Source(11, 36) + SourceIndex(0) +9 >Emitted(2, 31) Source(11, 38) + SourceIndex(0) +10>Emitted(2, 37) Source(11, 44) + SourceIndex(0) +11>Emitted(2, 39) Source(11, 46) + SourceIndex(0) +12>Emitted(2, 41) Source(11, 48) + SourceIndex(0) +13>Emitted(2, 48) Source(11, 55) + SourceIndex(0) +14>Emitted(2, 50) Source(11, 57) + SourceIndex(0) +15>Emitted(2, 58) Source(11, 65) + SourceIndex(0) +16>Emitted(2, 60) Source(11, 67) + SourceIndex(0) +17>Emitted(2, 69) Source(11, 76) + SourceIndex(0) +18>Emitted(2, 71) Source(11, 78) + SourceIndex(0) +19>Emitted(2, 77) Source(11, 84) + SourceIndex(0) +20>Emitted(2, 79) Source(11, 86) + SourceIndex(0) +21>Emitted(2, 81) Source(11, 88) + SourceIndex(0) +22>Emitted(2, 82) Source(11, 89) + SourceIndex(0) --- >>>var robotB = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }; 1-> @@ -133,28 +134,28 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 20> } 21> } 22> ; -1->Emitted(2, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(12, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(12, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(12, 21) + SourceIndex(0) -5 >Emitted(2, 16) Source(12, 23) + SourceIndex(0) -6 >Emitted(2, 20) Source(12, 27) + SourceIndex(0) -7 >Emitted(2, 22) Source(12, 29) + SourceIndex(0) -8 >Emitted(2, 31) Source(12, 38) + SourceIndex(0) -9 >Emitted(2, 33) Source(12, 40) + SourceIndex(0) -10>Emitted(2, 39) Source(12, 46) + SourceIndex(0) -11>Emitted(2, 41) Source(12, 48) + SourceIndex(0) -12>Emitted(2, 43) Source(12, 50) + SourceIndex(0) -13>Emitted(2, 50) Source(12, 57) + SourceIndex(0) -14>Emitted(2, 52) Source(12, 59) + SourceIndex(0) -15>Emitted(2, 62) Source(12, 69) + SourceIndex(0) -16>Emitted(2, 64) Source(12, 71) + SourceIndex(0) -17>Emitted(2, 73) Source(12, 80) + SourceIndex(0) -18>Emitted(2, 75) Source(12, 82) + SourceIndex(0) -19>Emitted(2, 83) Source(12, 90) + SourceIndex(0) -20>Emitted(2, 85) Source(12, 92) + SourceIndex(0) -21>Emitted(2, 87) Source(12, 94) + SourceIndex(0) -22>Emitted(2, 88) Source(12, 95) + SourceIndex(0) +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(12, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(12, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(12, 21) + SourceIndex(0) +5 >Emitted(3, 16) Source(12, 23) + SourceIndex(0) +6 >Emitted(3, 20) Source(12, 27) + SourceIndex(0) +7 >Emitted(3, 22) Source(12, 29) + SourceIndex(0) +8 >Emitted(3, 31) Source(12, 38) + SourceIndex(0) +9 >Emitted(3, 33) Source(12, 40) + SourceIndex(0) +10>Emitted(3, 39) Source(12, 46) + SourceIndex(0) +11>Emitted(3, 41) Source(12, 48) + SourceIndex(0) +12>Emitted(3, 43) Source(12, 50) + SourceIndex(0) +13>Emitted(3, 50) Source(12, 57) + SourceIndex(0) +14>Emitted(3, 52) Source(12, 59) + SourceIndex(0) +15>Emitted(3, 62) Source(12, 69) + SourceIndex(0) +16>Emitted(3, 64) Source(12, 71) + SourceIndex(0) +17>Emitted(3, 73) Source(12, 80) + SourceIndex(0) +18>Emitted(3, 75) Source(12, 82) + SourceIndex(0) +19>Emitted(3, 83) Source(12, 90) + SourceIndex(0) +20>Emitted(3, 85) Source(12, 92) + SourceIndex(0) +21>Emitted(3, 87) Source(12, 94) + SourceIndex(0) +22>Emitted(3, 88) Source(12, 95) + SourceIndex(0) --- >>>var _a = robotA.skills, primaryA = _a.primary, secondaryA = _a.secondary; 1 > @@ -184,18 +185,18 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 10> secondaryA 11> } 12> } = robotA; -1 >Emitted(3, 1) Source(14, 7) + SourceIndex(0) -2 >Emitted(3, 5) Source(14, 7) + SourceIndex(0) -3 >Emitted(3, 10) Source(14, 64) + SourceIndex(0) -4 >Emitted(3, 16) Source(14, 70) + SourceIndex(0) -5 >Emitted(3, 23) Source(14, 59) + SourceIndex(0) -6 >Emitted(3, 25) Source(14, 26) + SourceIndex(0) -7 >Emitted(3, 33) Source(14, 34) + SourceIndex(0) -8 >Emitted(3, 46) Source(14, 34) + SourceIndex(0) -9 >Emitted(3, 48) Source(14, 47) + SourceIndex(0) -10>Emitted(3, 58) Source(14, 57) + SourceIndex(0) -11>Emitted(3, 73) Source(14, 59) + SourceIndex(0) -12>Emitted(3, 74) Source(14, 71) + SourceIndex(0) +1 >Emitted(4, 1) Source(14, 7) + SourceIndex(0) +2 >Emitted(4, 5) Source(14, 7) + SourceIndex(0) +3 >Emitted(4, 10) Source(14, 64) + SourceIndex(0) +4 >Emitted(4, 16) Source(14, 70) + SourceIndex(0) +5 >Emitted(4, 23) Source(14, 59) + SourceIndex(0) +6 >Emitted(4, 25) Source(14, 26) + SourceIndex(0) +7 >Emitted(4, 33) Source(14, 34) + SourceIndex(0) +8 >Emitted(4, 46) Source(14, 34) + SourceIndex(0) +9 >Emitted(4, 48) Source(14, 47) + SourceIndex(0) +10>Emitted(4, 58) Source(14, 57) + SourceIndex(0) +11>Emitted(4, 73) Source(14, 59) + SourceIndex(0) +12>Emitted(4, 74) Source(14, 71) + SourceIndex(0) --- >>>var nameB = robotB.name, _b = robotB.skills, primaryB = _b.primary, secondaryB = _b.secondary; 1-> @@ -234,23 +235,23 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 15> secondaryB 16> } 17> } = robotB; -1->Emitted(4, 1) Source(15, 7) + SourceIndex(0) -2 >Emitted(4, 5) Source(15, 13) + SourceIndex(0) -3 >Emitted(4, 10) Source(15, 18) + SourceIndex(0) -4 >Emitted(4, 13) Source(15, 77) + SourceIndex(0) -5 >Emitted(4, 19) Source(15, 83) + SourceIndex(0) -6 >Emitted(4, 24) Source(15, 18) + SourceIndex(0) -7 >Emitted(4, 26) Source(15, 20) + SourceIndex(0) -8 >Emitted(4, 31) Source(15, 77) + SourceIndex(0) -9 >Emitted(4, 37) Source(15, 83) + SourceIndex(0) -10>Emitted(4, 44) Source(15, 72) + SourceIndex(0) -11>Emitted(4, 46) Source(15, 39) + SourceIndex(0) -12>Emitted(4, 54) Source(15, 47) + SourceIndex(0) -13>Emitted(4, 67) Source(15, 47) + SourceIndex(0) -14>Emitted(4, 69) Source(15, 60) + SourceIndex(0) -15>Emitted(4, 79) Source(15, 70) + SourceIndex(0) -16>Emitted(4, 94) Source(15, 72) + SourceIndex(0) -17>Emitted(4, 95) Source(15, 84) + SourceIndex(0) +1->Emitted(5, 1) Source(15, 7) + SourceIndex(0) +2 >Emitted(5, 5) Source(15, 13) + SourceIndex(0) +3 >Emitted(5, 10) Source(15, 18) + SourceIndex(0) +4 >Emitted(5, 13) Source(15, 77) + SourceIndex(0) +5 >Emitted(5, 19) Source(15, 83) + SourceIndex(0) +6 >Emitted(5, 24) Source(15, 18) + SourceIndex(0) +7 >Emitted(5, 26) Source(15, 20) + SourceIndex(0) +8 >Emitted(5, 31) Source(15, 77) + SourceIndex(0) +9 >Emitted(5, 37) Source(15, 83) + SourceIndex(0) +10>Emitted(5, 44) Source(15, 72) + SourceIndex(0) +11>Emitted(5, 46) Source(15, 39) + SourceIndex(0) +12>Emitted(5, 54) Source(15, 47) + SourceIndex(0) +13>Emitted(5, 67) Source(15, 47) + SourceIndex(0) +14>Emitted(5, 69) Source(15, 60) + SourceIndex(0) +15>Emitted(5, 79) Source(15, 70) + SourceIndex(0) +16>Emitted(5, 94) Source(15, 72) + SourceIndex(0) +17>Emitted(5, 95) Source(15, 84) + SourceIndex(0) --- >>>var _c = { name: "Edger", skills: { primary: "edging", secondary: "branch trimming" } }, nameC = _c.name, _d = _c.skills, primaryB = _d.primary, secondaryB = _d.secondary; 1-> @@ -318,38 +319,38 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 30> secondaryB 31> } } = { name: "Edger", skills: { primary: "edging", secondary: "branch trimming" } } 32> ; -1->Emitted(5, 1) Source(16, 5) + SourceIndex(0) -2 >Emitted(5, 5) Source(16, 5) + SourceIndex(0) -3 >Emitted(5, 10) Source(16, 77) + SourceIndex(0) -4 >Emitted(5, 12) Source(16, 79) + SourceIndex(0) -5 >Emitted(5, 16) Source(16, 83) + SourceIndex(0) -6 >Emitted(5, 18) Source(16, 85) + SourceIndex(0) -7 >Emitted(5, 25) Source(16, 92) + SourceIndex(0) -8 >Emitted(5, 27) Source(16, 94) + SourceIndex(0) -9 >Emitted(5, 33) Source(16, 100) + SourceIndex(0) -10>Emitted(5, 35) Source(16, 102) + SourceIndex(0) -11>Emitted(5, 37) Source(16, 104) + SourceIndex(0) -12>Emitted(5, 44) Source(16, 111) + SourceIndex(0) -13>Emitted(5, 46) Source(16, 113) + SourceIndex(0) -14>Emitted(5, 54) Source(16, 121) + SourceIndex(0) -15>Emitted(5, 56) Source(16, 123) + SourceIndex(0) -16>Emitted(5, 65) Source(16, 132) + SourceIndex(0) -17>Emitted(5, 67) Source(16, 134) + SourceIndex(0) -18>Emitted(5, 84) Source(16, 151) + SourceIndex(0) -19>Emitted(5, 86) Source(16, 153) + SourceIndex(0) -20>Emitted(5, 88) Source(16, 155) + SourceIndex(0) -21>Emitted(5, 90) Source(16, 13) + SourceIndex(0) -22>Emitted(5, 95) Source(16, 18) + SourceIndex(0) -23>Emitted(5, 105) Source(16, 18) + SourceIndex(0) -24>Emitted(5, 107) Source(16, 20) + SourceIndex(0) -25>Emitted(5, 121) Source(16, 72) + SourceIndex(0) -26>Emitted(5, 123) Source(16, 39) + SourceIndex(0) -27>Emitted(5, 131) Source(16, 47) + SourceIndex(0) -28>Emitted(5, 144) Source(16, 47) + SourceIndex(0) -29>Emitted(5, 146) Source(16, 60) + SourceIndex(0) -30>Emitted(5, 156) Source(16, 70) + SourceIndex(0) -31>Emitted(5, 171) Source(16, 155) + SourceIndex(0) -32>Emitted(5, 172) Source(16, 156) + SourceIndex(0) +1->Emitted(6, 1) Source(16, 5) + SourceIndex(0) +2 >Emitted(6, 5) Source(16, 5) + SourceIndex(0) +3 >Emitted(6, 10) Source(16, 77) + SourceIndex(0) +4 >Emitted(6, 12) Source(16, 79) + SourceIndex(0) +5 >Emitted(6, 16) Source(16, 83) + SourceIndex(0) +6 >Emitted(6, 18) Source(16, 85) + SourceIndex(0) +7 >Emitted(6, 25) Source(16, 92) + SourceIndex(0) +8 >Emitted(6, 27) Source(16, 94) + SourceIndex(0) +9 >Emitted(6, 33) Source(16, 100) + SourceIndex(0) +10>Emitted(6, 35) Source(16, 102) + SourceIndex(0) +11>Emitted(6, 37) Source(16, 104) + SourceIndex(0) +12>Emitted(6, 44) Source(16, 111) + SourceIndex(0) +13>Emitted(6, 46) Source(16, 113) + SourceIndex(0) +14>Emitted(6, 54) Source(16, 121) + SourceIndex(0) +15>Emitted(6, 56) Source(16, 123) + SourceIndex(0) +16>Emitted(6, 65) Source(16, 132) + SourceIndex(0) +17>Emitted(6, 67) Source(16, 134) + SourceIndex(0) +18>Emitted(6, 84) Source(16, 151) + SourceIndex(0) +19>Emitted(6, 86) Source(16, 153) + SourceIndex(0) +20>Emitted(6, 88) Source(16, 155) + SourceIndex(0) +21>Emitted(6, 90) Source(16, 13) + SourceIndex(0) +22>Emitted(6, 95) Source(16, 18) + SourceIndex(0) +23>Emitted(6, 105) Source(16, 18) + SourceIndex(0) +24>Emitted(6, 107) Source(16, 20) + SourceIndex(0) +25>Emitted(6, 121) Source(16, 72) + SourceIndex(0) +26>Emitted(6, 123) Source(16, 39) + SourceIndex(0) +27>Emitted(6, 131) Source(16, 47) + SourceIndex(0) +28>Emitted(6, 144) Source(16, 47) + SourceIndex(0) +29>Emitted(6, 146) Source(16, 60) + SourceIndex(0) +30>Emitted(6, 156) Source(16, 70) + SourceIndex(0) +31>Emitted(6, 171) Source(16, 155) + SourceIndex(0) +32>Emitted(6, 172) Source(16, 156) + SourceIndex(0) --- >>>if (nameB == nameB) { 1 > @@ -369,13 +370,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 5 > nameB 6 > ) 7 > { -1 >Emitted(6, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(6, 5) Source(18, 5) + SourceIndex(0) -3 >Emitted(6, 10) Source(18, 10) + SourceIndex(0) -4 >Emitted(6, 14) Source(18, 14) + SourceIndex(0) -5 >Emitted(6, 19) Source(18, 19) + SourceIndex(0) -6 >Emitted(6, 21) Source(18, 21) + SourceIndex(0) -7 >Emitted(6, 22) Source(18, 22) + SourceIndex(0) +1 >Emitted(7, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(7, 5) Source(18, 5) + SourceIndex(0) +3 >Emitted(7, 10) Source(18, 10) + SourceIndex(0) +4 >Emitted(7, 14) Source(18, 14) + SourceIndex(0) +5 >Emitted(7, 19) Source(18, 19) + SourceIndex(0) +6 >Emitted(7, 21) Source(18, 21) + SourceIndex(0) +7 >Emitted(7, 22) Source(18, 22) + SourceIndex(0) --- >>> console.log(nameC); 1->^^^^ @@ -395,14 +396,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 6 > nameC 7 > ) 8 > ; -1->Emitted(7, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(7, 12) Source(19, 12) + SourceIndex(0) -3 >Emitted(7, 13) Source(19, 13) + SourceIndex(0) -4 >Emitted(7, 16) Source(19, 16) + SourceIndex(0) -5 >Emitted(7, 17) Source(19, 17) + SourceIndex(0) -6 >Emitted(7, 22) Source(19, 22) + SourceIndex(0) -7 >Emitted(7, 23) Source(19, 23) + SourceIndex(0) -8 >Emitted(7, 24) Source(19, 24) + SourceIndex(0) +1->Emitted(8, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(8, 12) Source(19, 12) + SourceIndex(0) +3 >Emitted(8, 13) Source(19, 13) + SourceIndex(0) +4 >Emitted(8, 16) Source(19, 16) + SourceIndex(0) +5 >Emitted(8, 17) Source(19, 17) + SourceIndex(0) +6 >Emitted(8, 22) Source(19, 22) + SourceIndex(0) +7 >Emitted(8, 23) Source(19, 23) + SourceIndex(0) +8 >Emitted(8, 24) Source(19, 24) + SourceIndex(0) --- >>>} 1 > @@ -411,8 +412,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 1 > > 2 >} -1 >Emitted(8, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(8, 2) Source(20, 2) + SourceIndex(0) +1 >Emitted(9, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(9, 2) Source(20, 2) + SourceIndex(0) --- >>>else { 1->^^^^^ @@ -421,8 +422,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 1-> >else 2 > { -1->Emitted(9, 6) Source(21, 6) + SourceIndex(0) -2 >Emitted(9, 7) Source(21, 7) + SourceIndex(0) +1->Emitted(10, 6) Source(21, 6) + SourceIndex(0) +2 >Emitted(10, 7) Source(21, 7) + SourceIndex(0) --- >>> console.log(nameC); 1->^^^^ @@ -442,14 +443,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 6 > nameC 7 > ) 8 > ; -1->Emitted(10, 5) Source(22, 5) + SourceIndex(0) -2 >Emitted(10, 12) Source(22, 12) + SourceIndex(0) -3 >Emitted(10, 13) Source(22, 13) + SourceIndex(0) -4 >Emitted(10, 16) Source(22, 16) + SourceIndex(0) -5 >Emitted(10, 17) Source(22, 17) + SourceIndex(0) -6 >Emitted(10, 22) Source(22, 22) + SourceIndex(0) -7 >Emitted(10, 23) Source(22, 23) + SourceIndex(0) -8 >Emitted(10, 24) Source(22, 24) + SourceIndex(0) +1->Emitted(11, 5) Source(22, 5) + SourceIndex(0) +2 >Emitted(11, 12) Source(22, 12) + SourceIndex(0) +3 >Emitted(11, 13) Source(22, 13) + SourceIndex(0) +4 >Emitted(11, 16) Source(22, 16) + SourceIndex(0) +5 >Emitted(11, 17) Source(22, 17) + SourceIndex(0) +6 >Emitted(11, 22) Source(22, 22) + SourceIndex(0) +7 >Emitted(11, 23) Source(22, 23) + SourceIndex(0) +8 >Emitted(11, 24) Source(22, 24) + SourceIndex(0) --- >>>} 1 > @@ -458,7 +459,7 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 1 > > 2 >} -1 >Emitted(11, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(11, 2) Source(23, 2) + SourceIndex(0) +1 >Emitted(12, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(12, 2) Source(23, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementNestedObjectBindingPattern.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js index a147602506582..ef969967b6854 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js @@ -43,6 +43,7 @@ else { } //// [sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js] +"use strict"; var robotA = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; var robotB = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }; var _a = robotA.skills, _b = _a === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _a, _c = _b.primary, primaryA = _c === void 0 ? "noSkill" : _c, _d = _b.secondary, secondaryA = _d === void 0 ? "noSkill" : _d; diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js.map index 1a9d7402a1db1..75694aa6540ff 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.ts"],"names":[],"mappings":"AAUA,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AACxF,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,UAAU,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,CAAC;AAG1F,IAAA,KAIA,MAAM,OAD0C,EAHhD,qBAGI,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,KAAA,EAF5C,eAA6B,EAApB,QAAQ,mBAAG,SAAS,KAAA,EAC7B,iBAAiC,EAAtB,UAAU,mBAAG,SAAS,KACW,CACzC;AAEP,IAAA,KAKA,MAAM,KALyB,EAAzB,KAAK,mBAAG,iBAAiB,KAAA,EAC/B,KAIA,MAAM,OAD0C,EAHhD,qBAGI,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,KAAA,EAF5C,eAA6B,EAApB,QAAQ,mBAAG,SAAS,KAAA,EAC7B,iBAAiC,EAAtB,UAAU,mBAAG,SAAS,KACW,CACzC;AACP,IAAA,KAMO,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,iBAAiB,EAAE,EAAE,EALrF,YAA+B,EAAzB,KAAK,mBAAG,iBAAiB,KAAA,EAC/B,cAGgD,EAHhD,qBAGI,EAAE,OAAO,EAAE,SAAS,EAAE,SAAS,EAAE,SAAS,EAAE,KAAA,EAF5C,eAA6B,EAApB,QAAQ,mBAAG,SAAS,KAAA,EAC7B,iBAAiC,EAAtB,UAAU,mBAAG,SAAS,KAEgD,CAAC;AA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xsIiB9Cn0gPSByb2JvdEE7CnZhciB7CiAgICBuYW1lOiBuYW1lQiA9ICJub05hbWVTcGVjaWZpZWQiLAogICAgc2tpbGxzOiB7CiAgICAgICAgcHJpbWFyeTogcHJpbWFyeUIgPSAibm9Ta2lsbCIsCiAgICAgICAgc2Vjb25kYXJ5OiBzZWNvbmRhcnlCID0gIm5vU2tpbGwiCiAgICB9ID0geyBwcmltYXJ5OiAibm9Ta2lsbCIsIHNlY29uZGFyeTogIm5vU2tpbGwiIH0KfSA9IHJvYm90QjsKdmFyIHsKICAgIG5hbWU6IG5hbWVDID0gIm5vTmFtZVNwZWNpZmllZCIsCiAgICBza2lsbHM6IHsKICAgICAgICBwcmltYXJ5OiBwcmltYXJ5QiA9ICJub1NraWxsIiwKICAgICAgICBzZWNvbmRhcnk6IHNlY29uZGFyeUIgPSAibm9Ta2lsbCIKICAgIH0gPSB7IHByaW1hcnk6ICJub1NraWxsIiwgc2Vjb25kYXJ5OiAibm9Ta2lsbCIgfQp9ID0gPFJvYm90PnsgbmFtZTogIkVkZ2VyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJlZGdpbmciLCBzZWNvbmRhcnk6ICJicmFuY2ggdHJpbW1pbmciIH0gfTsKCmlmIChuYW1lQiA9PSBuYW1lQikgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9CmVsc2UgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9 +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.ts"],"names":[],"mappings":";AAUA,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,OAAO,EAAE,MAAM,EAAE,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,CAAC;AACxF,IAAI,MAAM,GAAU,EAAE,IAAI,EAAE,SAAS,EAAE,MAAM,EAAE,EAAE,OAAO,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9IHJvYm90QjsKdmFyIHsKICAgIG5hbWU6IG5hbWVDID0gIm5vTmFtZVNwZWNpZmllZCIsCiAgICBza2lsbHM6IHsKICAgICAgICBwcmltYXJ5OiBwcmltYXJ5QiA9ICJub1NraWxsIiwKICAgICAgICBzZWNvbmRhcnk6IHNlY29uZGFyeUIgPSAibm9Ta2lsbCIKICAgIH0gPSB7IHByaW1hcnk6ICJub1NraWxsIiwgc2Vjb25kYXJ5OiAibm9Ta2lsbCIgfQp9ID0gPFJvYm90PnsgbmFtZTogIkVkZ2VyIiwgc2tpbGxzOiB7IHByaW1hcnk6ICJlZGdpbmciLCBzZWNvbmRhcnk6ICJicmFuY2ggdHJpbW1pbmciIH0gfTsKCmlmIChuYW1lQiA9PSBuYW1lQikgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9CmVsc2UgewogICAgY29uc29sZS5sb2cobmFtZUMpOwp9 diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.sourcemap.txt index af5d20f15e3a2..b80579bf53308 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementNestedObjectBindingPat emittedFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var robotA = { name: "mower", skills: { primary: "mowing", secondary: "none" } }; 1 > 2 >^^^^ @@ -64,28 +65,28 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 20> } 21> } 22> ; -1 >Emitted(1, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(11, 5) + SourceIndex(0) -3 >Emitted(1, 11) Source(11, 11) + SourceIndex(0) -4 >Emitted(1, 14) Source(11, 21) + SourceIndex(0) -5 >Emitted(1, 16) Source(11, 23) + SourceIndex(0) -6 >Emitted(1, 20) Source(11, 27) + SourceIndex(0) -7 >Emitted(1, 22) Source(11, 29) + SourceIndex(0) -8 >Emitted(1, 29) Source(11, 36) + SourceIndex(0) -9 >Emitted(1, 31) Source(11, 38) + SourceIndex(0) -10>Emitted(1, 37) Source(11, 44) + SourceIndex(0) -11>Emitted(1, 39) Source(11, 46) + SourceIndex(0) -12>Emitted(1, 41) Source(11, 48) + SourceIndex(0) -13>Emitted(1, 48) Source(11, 55) + SourceIndex(0) -14>Emitted(1, 50) Source(11, 57) + SourceIndex(0) -15>Emitted(1, 58) Source(11, 65) + SourceIndex(0) -16>Emitted(1, 60) Source(11, 67) + SourceIndex(0) -17>Emitted(1, 69) Source(11, 76) + SourceIndex(0) -18>Emitted(1, 71) Source(11, 78) + SourceIndex(0) -19>Emitted(1, 77) Source(11, 84) + SourceIndex(0) -20>Emitted(1, 79) Source(11, 86) + SourceIndex(0) -21>Emitted(1, 81) Source(11, 88) + SourceIndex(0) -22>Emitted(1, 82) Source(11, 89) + SourceIndex(0) +1 >Emitted(2, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(11, 5) + SourceIndex(0) +3 >Emitted(2, 11) Source(11, 11) + SourceIndex(0) +4 >Emitted(2, 14) Source(11, 21) + SourceIndex(0) +5 >Emitted(2, 16) Source(11, 23) + SourceIndex(0) +6 >Emitted(2, 20) Source(11, 27) + SourceIndex(0) +7 >Emitted(2, 22) Source(11, 29) + SourceIndex(0) +8 >Emitted(2, 29) Source(11, 36) + SourceIndex(0) +9 >Emitted(2, 31) Source(11, 38) + SourceIndex(0) +10>Emitted(2, 37) Source(11, 44) + SourceIndex(0) +11>Emitted(2, 39) Source(11, 46) + SourceIndex(0) +12>Emitted(2, 41) Source(11, 48) + SourceIndex(0) +13>Emitted(2, 48) Source(11, 55) + SourceIndex(0) +14>Emitted(2, 50) Source(11, 57) + SourceIndex(0) +15>Emitted(2, 58) Source(11, 65) + SourceIndex(0) +16>Emitted(2, 60) Source(11, 67) + SourceIndex(0) +17>Emitted(2, 69) Source(11, 76) + SourceIndex(0) +18>Emitted(2, 71) Source(11, 78) + SourceIndex(0) +19>Emitted(2, 77) Source(11, 84) + SourceIndex(0) +20>Emitted(2, 79) Source(11, 86) + SourceIndex(0) +21>Emitted(2, 81) Source(11, 88) + SourceIndex(0) +22>Emitted(2, 82) Source(11, 89) + SourceIndex(0) --- >>>var robotB = { name: "trimmer", skills: { primary: "trimming", secondary: "edging" } }; 1-> @@ -134,28 +135,28 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 20> } 21> } 22> ; -1->Emitted(2, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(12, 5) + SourceIndex(0) -3 >Emitted(2, 11) Source(12, 11) + SourceIndex(0) -4 >Emitted(2, 14) Source(12, 21) + SourceIndex(0) -5 >Emitted(2, 16) Source(12, 23) + SourceIndex(0) -6 >Emitted(2, 20) Source(12, 27) + SourceIndex(0) -7 >Emitted(2, 22) Source(12, 29) + SourceIndex(0) -8 >Emitted(2, 31) Source(12, 38) + SourceIndex(0) -9 >Emitted(2, 33) Source(12, 40) + SourceIndex(0) -10>Emitted(2, 39) Source(12, 46) + SourceIndex(0) -11>Emitted(2, 41) Source(12, 48) + SourceIndex(0) -12>Emitted(2, 43) Source(12, 50) + SourceIndex(0) -13>Emitted(2, 50) Source(12, 57) + SourceIndex(0) -14>Emitted(2, 52) Source(12, 59) + SourceIndex(0) -15>Emitted(2, 62) Source(12, 69) + SourceIndex(0) -16>Emitted(2, 64) Source(12, 71) + SourceIndex(0) -17>Emitted(2, 73) Source(12, 80) + SourceIndex(0) -18>Emitted(2, 75) Source(12, 82) + SourceIndex(0) -19>Emitted(2, 83) Source(12, 90) + SourceIndex(0) -20>Emitted(2, 85) Source(12, 92) + SourceIndex(0) -21>Emitted(2, 87) Source(12, 94) + SourceIndex(0) -22>Emitted(2, 88) Source(12, 95) + SourceIndex(0) +1->Emitted(3, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(12, 5) + SourceIndex(0) +3 >Emitted(3, 11) Source(12, 11) + SourceIndex(0) +4 >Emitted(3, 14) Source(12, 21) + SourceIndex(0) +5 >Emitted(3, 16) Source(12, 23) + SourceIndex(0) +6 >Emitted(3, 20) Source(12, 27) + SourceIndex(0) +7 >Emitted(3, 22) Source(12, 29) + SourceIndex(0) +8 >Emitted(3, 31) Source(12, 38) + SourceIndex(0) +9 >Emitted(3, 33) Source(12, 40) + SourceIndex(0) +10>Emitted(3, 39) Source(12, 46) + SourceIndex(0) +11>Emitted(3, 41) Source(12, 48) + SourceIndex(0) +12>Emitted(3, 43) Source(12, 50) + SourceIndex(0) +13>Emitted(3, 50) Source(12, 57) + SourceIndex(0) +14>Emitted(3, 52) Source(12, 59) + SourceIndex(0) +15>Emitted(3, 62) Source(12, 69) + SourceIndex(0) +16>Emitted(3, 64) Source(12, 71) + SourceIndex(0) +17>Emitted(3, 73) Source(12, 80) + SourceIndex(0) +18>Emitted(3, 75) Source(12, 82) + SourceIndex(0) +19>Emitted(3, 83) Source(12, 90) + SourceIndex(0) +20>Emitted(3, 85) Source(12, 92) + SourceIndex(0) +21>Emitted(3, 87) Source(12, 94) + SourceIndex(0) +22>Emitted(3, 88) Source(12, 95) + SourceIndex(0) --- >>>var _a = robotA.skills, _b = _a === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _a, _c = _b.primary, primaryA = _c === void 0 ? "noSkill" : _c, _d = _b.secondary, secondaryA = _d === void 0 ? "noSkill" : _d; 1-> @@ -236,38 +237,38 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP > } = { primary: "noSkill", secondary: "noSkill" } 32> > } = robotA; -1->Emitted(3, 1) Source(15, 5) + SourceIndex(0) -2 >Emitted(3, 5) Source(15, 5) + SourceIndex(0) -3 >Emitted(3, 10) Source(19, 5) + SourceIndex(0) -4 >Emitted(3, 16) Source(19, 11) + SourceIndex(0) -5 >Emitted(3, 23) Source(18, 53) + SourceIndex(0) -6 >Emitted(3, 25) Source(15, 5) + SourceIndex(0) -7 >Emitted(3, 46) Source(18, 9) + SourceIndex(0) -8 >Emitted(3, 48) Source(18, 11) + SourceIndex(0) -9 >Emitted(3, 55) Source(18, 18) + SourceIndex(0) -10>Emitted(3, 57) Source(18, 20) + SourceIndex(0) -11>Emitted(3, 66) Source(18, 29) + SourceIndex(0) -12>Emitted(3, 68) Source(18, 31) + SourceIndex(0) -13>Emitted(3, 77) Source(18, 40) + SourceIndex(0) -14>Emitted(3, 79) Source(18, 42) + SourceIndex(0) -15>Emitted(3, 88) Source(18, 51) + SourceIndex(0) -16>Emitted(3, 90) Source(18, 53) + SourceIndex(0) -17>Emitted(3, 95) Source(18, 53) + SourceIndex(0) -18>Emitted(3, 97) Source(16, 9) + SourceIndex(0) -19>Emitted(3, 112) Source(16, 38) + SourceIndex(0) -20>Emitted(3, 114) Source(16, 18) + SourceIndex(0) -21>Emitted(3, 122) Source(16, 26) + SourceIndex(0) -22>Emitted(3, 141) Source(16, 29) + SourceIndex(0) -23>Emitted(3, 150) Source(16, 38) + SourceIndex(0) -24>Emitted(3, 155) Source(16, 38) + SourceIndex(0) -25>Emitted(3, 157) Source(17, 9) + SourceIndex(0) -26>Emitted(3, 174) Source(17, 42) + SourceIndex(0) -27>Emitted(3, 176) Source(17, 20) + SourceIndex(0) -28>Emitted(3, 186) Source(17, 30) + SourceIndex(0) -29>Emitted(3, 205) Source(17, 33) + SourceIndex(0) -30>Emitted(3, 214) Source(17, 42) + SourceIndex(0) -31>Emitted(3, 219) Source(18, 53) + SourceIndex(0) -32>Emitted(3, 220) Source(19, 12) + SourceIndex(0) +1->Emitted(4, 1) Source(15, 5) + SourceIndex(0) +2 >Emitted(4, 5) Source(15, 5) + SourceIndex(0) +3 >Emitted(4, 10) Source(19, 5) + SourceIndex(0) +4 >Emitted(4, 16) Source(19, 11) + SourceIndex(0) +5 >Emitted(4, 23) Source(18, 53) + SourceIndex(0) +6 >Emitted(4, 25) Source(15, 5) + SourceIndex(0) +7 >Emitted(4, 46) Source(18, 9) + SourceIndex(0) +8 >Emitted(4, 48) Source(18, 11) + SourceIndex(0) +9 >Emitted(4, 55) Source(18, 18) + SourceIndex(0) +10>Emitted(4, 57) Source(18, 20) + SourceIndex(0) +11>Emitted(4, 66) Source(18, 29) + SourceIndex(0) +12>Emitted(4, 68) Source(18, 31) + SourceIndex(0) +13>Emitted(4, 77) Source(18, 40) + SourceIndex(0) +14>Emitted(4, 79) Source(18, 42) + SourceIndex(0) +15>Emitted(4, 88) Source(18, 51) + SourceIndex(0) +16>Emitted(4, 90) Source(18, 53) + SourceIndex(0) +17>Emitted(4, 95) Source(18, 53) + SourceIndex(0) +18>Emitted(4, 97) Source(16, 9) + SourceIndex(0) +19>Emitted(4, 112) Source(16, 38) + SourceIndex(0) +20>Emitted(4, 114) Source(16, 18) + SourceIndex(0) +21>Emitted(4, 122) Source(16, 26) + SourceIndex(0) +22>Emitted(4, 141) Source(16, 29) + SourceIndex(0) +23>Emitted(4, 150) Source(16, 38) + SourceIndex(0) +24>Emitted(4, 155) Source(16, 38) + SourceIndex(0) +25>Emitted(4, 157) Source(17, 9) + SourceIndex(0) +26>Emitted(4, 174) Source(17, 42) + SourceIndex(0) +27>Emitted(4, 176) Source(17, 20) + SourceIndex(0) +28>Emitted(4, 186) Source(17, 30) + SourceIndex(0) +29>Emitted(4, 205) Source(17, 33) + SourceIndex(0) +30>Emitted(4, 214) Source(17, 42) + SourceIndex(0) +31>Emitted(4, 219) Source(18, 53) + SourceIndex(0) +32>Emitted(4, 220) Source(19, 12) + SourceIndex(0) --- >>>var _e = robotB.name, nameB = _e === void 0 ? "noNameSpecified" : _e, _f = robotB.skills, _g = _f === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _f, _h = _g.primary, primaryB = _h === void 0 ? "noSkill" : _h, _j = _g.secondary, secondaryB = _j === void 0 ? "noSkill" : _j; 1-> @@ -371,47 +372,47 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP > } = { primary: "noSkill", secondary: "noSkill" } 41> > } = robotB; -1->Emitted(4, 1) Source(21, 5) + SourceIndex(0) -2 >Emitted(4, 5) Source(21, 5) + SourceIndex(0) -3 >Emitted(4, 10) Source(26, 5) + SourceIndex(0) -4 >Emitted(4, 16) Source(26, 11) + SourceIndex(0) -5 >Emitted(4, 21) Source(21, 36) + SourceIndex(0) -6 >Emitted(4, 23) Source(21, 11) + SourceIndex(0) -7 >Emitted(4, 28) Source(21, 16) + SourceIndex(0) -8 >Emitted(4, 47) Source(21, 19) + SourceIndex(0) -9 >Emitted(4, 64) Source(21, 36) + SourceIndex(0) -10>Emitted(4, 69) Source(21, 36) + SourceIndex(0) -11>Emitted(4, 71) Source(22, 5) + SourceIndex(0) -12>Emitted(4, 76) Source(26, 5) + SourceIndex(0) -13>Emitted(4, 82) Source(26, 11) + SourceIndex(0) -14>Emitted(4, 89) Source(25, 53) + SourceIndex(0) -15>Emitted(4, 91) Source(22, 5) + SourceIndex(0) -16>Emitted(4, 112) Source(25, 9) + SourceIndex(0) -17>Emitted(4, 114) Source(25, 11) + SourceIndex(0) -18>Emitted(4, 121) Source(25, 18) + SourceIndex(0) -19>Emitted(4, 123) Source(25, 20) + SourceIndex(0) -20>Emitted(4, 132) Source(25, 29) + SourceIndex(0) -21>Emitted(4, 134) Source(25, 31) + SourceIndex(0) -22>Emitted(4, 143) Source(25, 40) + SourceIndex(0) -23>Emitted(4, 145) Source(25, 42) + SourceIndex(0) -24>Emitted(4, 154) Source(25, 51) + SourceIndex(0) -25>Emitted(4, 156) Source(25, 53) + SourceIndex(0) -26>Emitted(4, 161) Source(25, 53) + SourceIndex(0) -27>Emitted(4, 163) Source(23, 9) + SourceIndex(0) -28>Emitted(4, 178) Source(23, 38) + SourceIndex(0) -29>Emitted(4, 180) Source(23, 18) + SourceIndex(0) -30>Emitted(4, 188) Source(23, 26) + SourceIndex(0) -31>Emitted(4, 207) Source(23, 29) + SourceIndex(0) -32>Emitted(4, 216) Source(23, 38) + SourceIndex(0) -33>Emitted(4, 221) Source(23, 38) + SourceIndex(0) -34>Emitted(4, 223) Source(24, 9) + SourceIndex(0) -35>Emitted(4, 240) Source(24, 42) + SourceIndex(0) -36>Emitted(4, 242) Source(24, 20) + SourceIndex(0) -37>Emitted(4, 252) Source(24, 30) + SourceIndex(0) -38>Emitted(4, 271) Source(24, 33) + SourceIndex(0) -39>Emitted(4, 280) Source(24, 42) + SourceIndex(0) -40>Emitted(4, 285) Source(25, 53) + SourceIndex(0) -41>Emitted(4, 286) Source(26, 12) + SourceIndex(0) +1->Emitted(5, 1) Source(21, 5) + SourceIndex(0) +2 >Emitted(5, 5) Source(21, 5) + SourceIndex(0) +3 >Emitted(5, 10) Source(26, 5) + SourceIndex(0) +4 >Emitted(5, 16) Source(26, 11) + SourceIndex(0) +5 >Emitted(5, 21) Source(21, 36) + SourceIndex(0) +6 >Emitted(5, 23) Source(21, 11) + SourceIndex(0) +7 >Emitted(5, 28) Source(21, 16) + SourceIndex(0) +8 >Emitted(5, 47) Source(21, 19) + SourceIndex(0) +9 >Emitted(5, 64) Source(21, 36) + SourceIndex(0) +10>Emitted(5, 69) Source(21, 36) + SourceIndex(0) +11>Emitted(5, 71) Source(22, 5) + SourceIndex(0) +12>Emitted(5, 76) Source(26, 5) + SourceIndex(0) +13>Emitted(5, 82) Source(26, 11) + SourceIndex(0) +14>Emitted(5, 89) Source(25, 53) + SourceIndex(0) +15>Emitted(5, 91) Source(22, 5) + SourceIndex(0) +16>Emitted(5, 112) Source(25, 9) + SourceIndex(0) +17>Emitted(5, 114) Source(25, 11) + SourceIndex(0) +18>Emitted(5, 121) Source(25, 18) + SourceIndex(0) +19>Emitted(5, 123) Source(25, 20) + SourceIndex(0) +20>Emitted(5, 132) Source(25, 29) + SourceIndex(0) +21>Emitted(5, 134) Source(25, 31) + SourceIndex(0) +22>Emitted(5, 143) Source(25, 40) + SourceIndex(0) +23>Emitted(5, 145) Source(25, 42) + SourceIndex(0) +24>Emitted(5, 154) Source(25, 51) + SourceIndex(0) +25>Emitted(5, 156) Source(25, 53) + SourceIndex(0) +26>Emitted(5, 161) Source(25, 53) + SourceIndex(0) +27>Emitted(5, 163) Source(23, 9) + SourceIndex(0) +28>Emitted(5, 178) Source(23, 38) + SourceIndex(0) +29>Emitted(5, 180) Source(23, 18) + SourceIndex(0) +30>Emitted(5, 188) Source(23, 26) + SourceIndex(0) +31>Emitted(5, 207) Source(23, 29) + SourceIndex(0) +32>Emitted(5, 216) Source(23, 38) + SourceIndex(0) +33>Emitted(5, 221) Source(23, 38) + SourceIndex(0) +34>Emitted(5, 223) Source(24, 9) + SourceIndex(0) +35>Emitted(5, 240) Source(24, 42) + SourceIndex(0) +36>Emitted(5, 242) Source(24, 20) + SourceIndex(0) +37>Emitted(5, 252) Source(24, 30) + SourceIndex(0) +38>Emitted(5, 271) Source(24, 33) + SourceIndex(0) +39>Emitted(5, 280) Source(24, 42) + SourceIndex(0) +40>Emitted(5, 285) Source(25, 53) + SourceIndex(0) +41>Emitted(5, 286) Source(26, 12) + SourceIndex(0) --- >>>var _k = { name: "Edger", skills: { primary: "edging", secondary: "branch trimming" } }, _l = _k.name, nameC = _l === void 0 ? "noNameSpecified" : _l, _m = _k.skills, _o = _m === void 0 ? { primary: "noSkill", secondary: "noSkill" } : _m, _p = _o.primary, primaryB = _p === void 0 ? "noSkill" : _p, _q = _o.secondary, secondaryB = _q === void 0 ? "noSkill" : _q; 1-> @@ -543,62 +544,62 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP > } = { primary: "noSkill", secondary: "noSkill" } > } = { name: "Edger", skills: { primary: "edging", secondary: "branch trimming" } } 56> ; -1->Emitted(5, 1) Source(27, 5) + SourceIndex(0) -2 >Emitted(5, 5) Source(27, 5) + SourceIndex(0) -3 >Emitted(5, 10) Source(33, 12) + SourceIndex(0) -4 >Emitted(5, 12) Source(33, 14) + SourceIndex(0) -5 >Emitted(5, 16) Source(33, 18) + SourceIndex(0) -6 >Emitted(5, 18) Source(33, 20) + SourceIndex(0) -7 >Emitted(5, 25) Source(33, 27) + SourceIndex(0) -8 >Emitted(5, 27) Source(33, 29) + SourceIndex(0) -9 >Emitted(5, 33) Source(33, 35) + SourceIndex(0) -10>Emitted(5, 35) Source(33, 37) + SourceIndex(0) -11>Emitted(5, 37) Source(33, 39) + SourceIndex(0) -12>Emitted(5, 44) Source(33, 46) + SourceIndex(0) -13>Emitted(5, 46) Source(33, 48) + SourceIndex(0) -14>Emitted(5, 54) Source(33, 56) + SourceIndex(0) -15>Emitted(5, 56) Source(33, 58) + SourceIndex(0) -16>Emitted(5, 65) Source(33, 67) + SourceIndex(0) -17>Emitted(5, 67) Source(33, 69) + SourceIndex(0) -18>Emitted(5, 84) Source(33, 86) + SourceIndex(0) -19>Emitted(5, 86) Source(33, 88) + SourceIndex(0) -20>Emitted(5, 88) Source(33, 90) + SourceIndex(0) -21>Emitted(5, 90) Source(28, 5) + SourceIndex(0) -22>Emitted(5, 102) Source(28, 36) + SourceIndex(0) -23>Emitted(5, 104) Source(28, 11) + SourceIndex(0) -24>Emitted(5, 109) Source(28, 16) + SourceIndex(0) -25>Emitted(5, 128) Source(28, 19) + SourceIndex(0) -26>Emitted(5, 145) Source(28, 36) + SourceIndex(0) -27>Emitted(5, 150) Source(28, 36) + SourceIndex(0) -28>Emitted(5, 152) Source(29, 5) + SourceIndex(0) -29>Emitted(5, 166) Source(32, 53) + SourceIndex(0) -30>Emitted(5, 168) Source(29, 5) + SourceIndex(0) -31>Emitted(5, 189) Source(32, 9) + SourceIndex(0) -32>Emitted(5, 191) Source(32, 11) + SourceIndex(0) -33>Emitted(5, 198) Source(32, 18) + SourceIndex(0) -34>Emitted(5, 200) Source(32, 20) + SourceIndex(0) -35>Emitted(5, 209) Source(32, 29) + SourceIndex(0) -36>Emitted(5, 211) Source(32, 31) + SourceIndex(0) -37>Emitted(5, 220) Source(32, 40) + SourceIndex(0) -38>Emitted(5, 222) Source(32, 42) + SourceIndex(0) -39>Emitted(5, 231) Source(32, 51) + SourceIndex(0) -40>Emitted(5, 233) Source(32, 53) + SourceIndex(0) -41>Emitted(5, 238) Source(32, 53) + SourceIndex(0) -42>Emitted(5, 240) Source(30, 9) + SourceIndex(0) -43>Emitted(5, 255) Source(30, 38) + SourceIndex(0) -44>Emitted(5, 257) Source(30, 18) + SourceIndex(0) -45>Emitted(5, 265) Source(30, 26) + SourceIndex(0) -46>Emitted(5, 284) Source(30, 29) + SourceIndex(0) -47>Emitted(5, 293) Source(30, 38) + SourceIndex(0) -48>Emitted(5, 298) Source(30, 38) + SourceIndex(0) -49>Emitted(5, 300) Source(31, 9) + SourceIndex(0) -50>Emitted(5, 317) Source(31, 42) + SourceIndex(0) -51>Emitted(5, 319) Source(31, 20) + SourceIndex(0) -52>Emitted(5, 329) Source(31, 30) + SourceIndex(0) -53>Emitted(5, 348) Source(31, 33) + SourceIndex(0) -54>Emitted(5, 357) Source(31, 42) + SourceIndex(0) -55>Emitted(5, 362) Source(33, 90) + SourceIndex(0) -56>Emitted(5, 363) Source(33, 91) + SourceIndex(0) +1->Emitted(6, 1) Source(27, 5) + SourceIndex(0) +2 >Emitted(6, 5) Source(27, 5) + SourceIndex(0) +3 >Emitted(6, 10) Source(33, 12) + SourceIndex(0) +4 >Emitted(6, 12) Source(33, 14) + SourceIndex(0) +5 >Emitted(6, 16) Source(33, 18) + SourceIndex(0) +6 >Emitted(6, 18) Source(33, 20) + SourceIndex(0) +7 >Emitted(6, 25) Source(33, 27) + SourceIndex(0) +8 >Emitted(6, 27) Source(33, 29) + SourceIndex(0) +9 >Emitted(6, 33) Source(33, 35) + SourceIndex(0) +10>Emitted(6, 35) Source(33, 37) + SourceIndex(0) +11>Emitted(6, 37) Source(33, 39) + SourceIndex(0) +12>Emitted(6, 44) Source(33, 46) + SourceIndex(0) +13>Emitted(6, 46) Source(33, 48) + SourceIndex(0) +14>Emitted(6, 54) Source(33, 56) + SourceIndex(0) +15>Emitted(6, 56) Source(33, 58) + SourceIndex(0) +16>Emitted(6, 65) Source(33, 67) + SourceIndex(0) +17>Emitted(6, 67) Source(33, 69) + SourceIndex(0) +18>Emitted(6, 84) Source(33, 86) + SourceIndex(0) +19>Emitted(6, 86) Source(33, 88) + SourceIndex(0) +20>Emitted(6, 88) Source(33, 90) + SourceIndex(0) +21>Emitted(6, 90) Source(28, 5) + SourceIndex(0) +22>Emitted(6, 102) Source(28, 36) + SourceIndex(0) +23>Emitted(6, 104) Source(28, 11) + SourceIndex(0) +24>Emitted(6, 109) Source(28, 16) + SourceIndex(0) +25>Emitted(6, 128) Source(28, 19) + SourceIndex(0) +26>Emitted(6, 145) Source(28, 36) + SourceIndex(0) +27>Emitted(6, 150) Source(28, 36) + SourceIndex(0) +28>Emitted(6, 152) Source(29, 5) + SourceIndex(0) +29>Emitted(6, 166) Source(32, 53) + SourceIndex(0) +30>Emitted(6, 168) Source(29, 5) + SourceIndex(0) +31>Emitted(6, 189) Source(32, 9) + SourceIndex(0) +32>Emitted(6, 191) Source(32, 11) + SourceIndex(0) +33>Emitted(6, 198) Source(32, 18) + SourceIndex(0) +34>Emitted(6, 200) Source(32, 20) + SourceIndex(0) +35>Emitted(6, 209) Source(32, 29) + SourceIndex(0) +36>Emitted(6, 211) Source(32, 31) + SourceIndex(0) +37>Emitted(6, 220) Source(32, 40) + SourceIndex(0) +38>Emitted(6, 222) Source(32, 42) + SourceIndex(0) +39>Emitted(6, 231) Source(32, 51) + SourceIndex(0) +40>Emitted(6, 233) Source(32, 53) + SourceIndex(0) +41>Emitted(6, 238) Source(32, 53) + SourceIndex(0) +42>Emitted(6, 240) Source(30, 9) + SourceIndex(0) +43>Emitted(6, 255) Source(30, 38) + SourceIndex(0) +44>Emitted(6, 257) Source(30, 18) + SourceIndex(0) +45>Emitted(6, 265) Source(30, 26) + SourceIndex(0) +46>Emitted(6, 284) Source(30, 29) + SourceIndex(0) +47>Emitted(6, 293) Source(30, 38) + SourceIndex(0) +48>Emitted(6, 298) Source(30, 38) + SourceIndex(0) +49>Emitted(6, 300) Source(31, 9) + SourceIndex(0) +50>Emitted(6, 317) Source(31, 42) + SourceIndex(0) +51>Emitted(6, 319) Source(31, 20) + SourceIndex(0) +52>Emitted(6, 329) Source(31, 30) + SourceIndex(0) +53>Emitted(6, 348) Source(31, 33) + SourceIndex(0) +54>Emitted(6, 357) Source(31, 42) + SourceIndex(0) +55>Emitted(6, 362) Source(33, 90) + SourceIndex(0) +56>Emitted(6, 363) Source(33, 91) + SourceIndex(0) --- >>>if (nameB == nameB) { 1 > @@ -618,13 +619,13 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 5 > nameB 6 > ) 7 > { -1 >Emitted(6, 1) Source(35, 1) + SourceIndex(0) -2 >Emitted(6, 5) Source(35, 5) + SourceIndex(0) -3 >Emitted(6, 10) Source(35, 10) + SourceIndex(0) -4 >Emitted(6, 14) Source(35, 14) + SourceIndex(0) -5 >Emitted(6, 19) Source(35, 19) + SourceIndex(0) -6 >Emitted(6, 21) Source(35, 21) + SourceIndex(0) -7 >Emitted(6, 22) Source(35, 22) + SourceIndex(0) +1 >Emitted(7, 1) Source(35, 1) + SourceIndex(0) +2 >Emitted(7, 5) Source(35, 5) + SourceIndex(0) +3 >Emitted(7, 10) Source(35, 10) + SourceIndex(0) +4 >Emitted(7, 14) Source(35, 14) + SourceIndex(0) +5 >Emitted(7, 19) Source(35, 19) + SourceIndex(0) +6 >Emitted(7, 21) Source(35, 21) + SourceIndex(0) +7 >Emitted(7, 22) Source(35, 22) + SourceIndex(0) --- >>> console.log(nameC); 1->^^^^ @@ -644,14 +645,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 6 > nameC 7 > ) 8 > ; -1->Emitted(7, 5) Source(36, 5) + SourceIndex(0) -2 >Emitted(7, 12) Source(36, 12) + SourceIndex(0) -3 >Emitted(7, 13) Source(36, 13) + SourceIndex(0) -4 >Emitted(7, 16) Source(36, 16) + SourceIndex(0) -5 >Emitted(7, 17) Source(36, 17) + SourceIndex(0) -6 >Emitted(7, 22) Source(36, 22) + SourceIndex(0) -7 >Emitted(7, 23) Source(36, 23) + SourceIndex(0) -8 >Emitted(7, 24) Source(36, 24) + SourceIndex(0) +1->Emitted(8, 5) Source(36, 5) + SourceIndex(0) +2 >Emitted(8, 12) Source(36, 12) + SourceIndex(0) +3 >Emitted(8, 13) Source(36, 13) + SourceIndex(0) +4 >Emitted(8, 16) Source(36, 16) + SourceIndex(0) +5 >Emitted(8, 17) Source(36, 17) + SourceIndex(0) +6 >Emitted(8, 22) Source(36, 22) + SourceIndex(0) +7 >Emitted(8, 23) Source(36, 23) + SourceIndex(0) +8 >Emitted(8, 24) Source(36, 24) + SourceIndex(0) --- >>>} 1 > @@ -660,8 +661,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 1 > > 2 >} -1 >Emitted(8, 1) Source(37, 1) + SourceIndex(0) -2 >Emitted(8, 2) Source(37, 2) + SourceIndex(0) +1 >Emitted(9, 1) Source(37, 1) + SourceIndex(0) +2 >Emitted(9, 2) Source(37, 2) + SourceIndex(0) --- >>>else { 1->^^^^^ @@ -670,8 +671,8 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 1-> >else 2 > { -1->Emitted(9, 6) Source(38, 6) + SourceIndex(0) -2 >Emitted(9, 7) Source(38, 7) + SourceIndex(0) +1->Emitted(10, 6) Source(38, 6) + SourceIndex(0) +2 >Emitted(10, 7) Source(38, 7) + SourceIndex(0) --- >>> console.log(nameC); 1->^^^^ @@ -691,14 +692,14 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 6 > nameC 7 > ) 8 > ; -1->Emitted(10, 5) Source(39, 5) + SourceIndex(0) -2 >Emitted(10, 12) Source(39, 12) + SourceIndex(0) -3 >Emitted(10, 13) Source(39, 13) + SourceIndex(0) -4 >Emitted(10, 16) Source(39, 16) + SourceIndex(0) -5 >Emitted(10, 17) Source(39, 17) + SourceIndex(0) -6 >Emitted(10, 22) Source(39, 22) + SourceIndex(0) -7 >Emitted(10, 23) Source(39, 23) + SourceIndex(0) -8 >Emitted(10, 24) Source(39, 24) + SourceIndex(0) +1->Emitted(11, 5) Source(39, 5) + SourceIndex(0) +2 >Emitted(11, 12) Source(39, 12) + SourceIndex(0) +3 >Emitted(11, 13) Source(39, 13) + SourceIndex(0) +4 >Emitted(11, 16) Source(39, 16) + SourceIndex(0) +5 >Emitted(11, 17) Source(39, 17) + SourceIndex(0) +6 >Emitted(11, 22) Source(39, 22) + SourceIndex(0) +7 >Emitted(11, 23) Source(39, 23) + SourceIndex(0) +8 >Emitted(11, 24) Source(39, 24) + SourceIndex(0) --- >>>} 1 > @@ -707,7 +708,7 @@ sourceFile:sourceMapValidationDestructuringVariableStatementNestedObjectBindingP 1 > > 2 >} -1 >Emitted(11, 1) Source(40, 1) + SourceIndex(0) -2 >Emitted(11, 2) Source(40, 2) + SourceIndex(0) +1 >Emitted(12, 1) Source(40, 1) + SourceIndex(0) +2 >Emitted(12, 2) Source(40, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementNestedObjectBindingPatternWithDefaultValues.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js index 3383e456e1959..ce2eba3239f73 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js @@ -4,5 +4,6 @@ var {x} = { x: 20 }; //// [sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js] +"use strict"; var x = { x: 20 }.x; //# sourceMappingURL=sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js.map index c2356094c1304..284d66a34406c 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.ts"],"names":[],"mappings":"AAAK,IAAA,CAAC,GAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAb,CAAc"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHggPSB7IHg6IDIwIH0ueDsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudE9iamVjdEJpbmRpbmdQYXR0ZXJuMS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUssSUFBQSxDQUFDLEdBQUksRUFBRSxDQUFDLEVBQUUsRUFBRSxFQUFFLEVBQWIsQ0FBYyJ9,dmFyIHt4fSA9IHsgeDogMjAgfTs= +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.ts"],"names":[],"mappings":";AAAK,IAAA,CAAC,GAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAb,CAAc"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIHggPSB7IHg6IDIwIH0ueDsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudE9iamVjdEJpbmRpbmdQYXR0ZXJuMS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjEudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFLLElBQUEsQ0FBQyxHQUFJLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFiLENBQWMifQ==,dmFyIHt4fSA9IHsgeDogMjAgfTs= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.sourcemap.txt index 29245282a11c6..b07fcbe39de34 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementObjectBindingPattern1. emittedFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js sourceFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var x = { x: 20 }.x; 1 > 2 >^^^^ @@ -32,16 +33,16 @@ sourceFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern 9 > } 10> 11> } = { x: 20 }; -1 >Emitted(1, 1) Source(1, 6) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 6) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 7) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 11) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 13) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 14) + SourceIndex(0) -7 >Emitted(1, 14) Source(1, 16) + SourceIndex(0) -8 >Emitted(1, 16) Source(1, 18) + SourceIndex(0) -9 >Emitted(1, 18) Source(1, 20) + SourceIndex(0) -10>Emitted(1, 20) Source(1, 7) + SourceIndex(0) -11>Emitted(1, 21) Source(1, 21) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 6) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 6) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 7) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 11) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 13) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 14) + SourceIndex(0) +7 >Emitted(2, 14) Source(1, 16) + SourceIndex(0) +8 >Emitted(2, 16) Source(1, 18) + SourceIndex(0) +9 >Emitted(2, 18) Source(1, 20) + SourceIndex(0) +10>Emitted(2, 20) Source(1, 7) + SourceIndex(0) +11>Emitted(2, 21) Source(1, 21) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementObjectBindingPattern1.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js index a0d988a2f24a2..7c4975a509b22 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js @@ -5,6 +5,7 @@ var {x} = { x: 20 }; var { a, b } = { a: 30, b: 40 }; //// [sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js] +"use strict"; var x = { x: 20 }.x; var _a = { a: 30, b: 40 }, a = _a.a, b = _a.b; //# sourceMappingURL=sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js.map index 5726a4454ff9e..4f83817e24797 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.ts"],"names":[],"mappings":"AAAK,IAAA,CAAC,GAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAb,CAAc;AAChB,IAAA,KAAW,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAzB,CAAC,OAAA,EAAE,CAAC,OAAqB,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHggPSB7IHg6IDIwIH0ueDsNCnZhciBfYSA9IHsgYTogMzAsIGI6IDQwIH0sIGEgPSBfYS5hLCBiID0gX2EuYjsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjIuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudE9iamVjdEJpbmRpbmdQYXR0ZXJuMi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUssSUFBQSxDQUFDLEdBQUksRUFBRSxDQUFDLEVBQUUsRUFBRSxFQUFFLEVBQWIsQ0FBYztBQUNoQixJQUFBLEtBQVcsRUFBRSxDQUFDLEVBQUUsRUFBRSxFQUFFLENBQUMsRUFBRSxFQUFFLEVBQUUsRUFBekIsQ0FBQyxPQUFBLEVBQUUsQ0FBQyxPQUFxQixDQUFDIn0=,dmFyIHt4fSA9IHsgeDogMjAgfTsKdmFyIHsgYSwgYiB9ID0geyBhOiAzMCwgYjogNDAgfTs= +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.ts"],"names":[],"mappings":";AAAK,IAAA,CAAC,GAAI,EAAE,CAAC,EAAE,EAAE,EAAE,EAAb,CAAc;AAChB,IAAA,KAAW,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,EAAE,EAAE,EAAzB,CAAC,OAAA,EAAE,CAAC,OAAqB,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIHggPSB7IHg6IDIwIH0ueDsNCnZhciBfYSA9IHsgYTogMzAsIGI6IDQwIH0sIGEgPSBfYS5hLCBiID0gX2EuYjsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjIuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudE9iamVjdEJpbmRpbmdQYXR0ZXJuMi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFLLElBQUEsQ0FBQyxHQUFJLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFiLENBQWM7QUFDaEIsSUFBQSxLQUFXLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRSxDQUFDLEVBQUUsRUFBRSxFQUFFLEVBQXpCLENBQUMsT0FBQSxFQUFFLENBQUMsT0FBcUIsQ0FBQyJ9,dmFyIHt4fSA9IHsgeDogMjAgfTsKdmFyIHsgYSwgYiB9ID0geyBhOiAzMCwgYjogNDAgfTs= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.sourcemap.txt index bbbfb3507f952..f3e9cb5874bcd 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementObjectBindingPattern2. emittedFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js sourceFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var x = { x: 20 }.x; 1 > 2 >^^^^ @@ -32,17 +33,17 @@ sourceFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern 9 > } 10> 11> } = { x: 20 }; -1 >Emitted(1, 1) Source(1, 6) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 6) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 7) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 11) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 13) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 14) + SourceIndex(0) -7 >Emitted(1, 14) Source(1, 16) + SourceIndex(0) -8 >Emitted(1, 16) Source(1, 18) + SourceIndex(0) -9 >Emitted(1, 18) Source(1, 20) + SourceIndex(0) -10>Emitted(1, 20) Source(1, 7) + SourceIndex(0) -11>Emitted(1, 21) Source(1, 21) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 6) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 6) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 7) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 11) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 13) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 14) + SourceIndex(0) +7 >Emitted(2, 14) Source(1, 16) + SourceIndex(0) +8 >Emitted(2, 16) Source(1, 18) + SourceIndex(0) +9 >Emitted(2, 18) Source(1, 20) + SourceIndex(0) +10>Emitted(2, 20) Source(1, 7) + SourceIndex(0) +11>Emitted(2, 21) Source(1, 21) + SourceIndex(0) --- >>>var _a = { a: 30, b: 40 }, a = _a.a, b = _a.b; 1-> @@ -85,24 +86,24 @@ sourceFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern 17> b 18> } = { a: 30, b: 40 } 19> ; -1->Emitted(2, 1) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -3 >Emitted(2, 10) Source(2, 16) + SourceIndex(0) -4 >Emitted(2, 12) Source(2, 18) + SourceIndex(0) -5 >Emitted(2, 13) Source(2, 19) + SourceIndex(0) -6 >Emitted(2, 15) Source(2, 21) + SourceIndex(0) -7 >Emitted(2, 17) Source(2, 23) + SourceIndex(0) -8 >Emitted(2, 19) Source(2, 25) + SourceIndex(0) -9 >Emitted(2, 20) Source(2, 26) + SourceIndex(0) -10>Emitted(2, 22) Source(2, 28) + SourceIndex(0) -11>Emitted(2, 24) Source(2, 30) + SourceIndex(0) -12>Emitted(2, 26) Source(2, 32) + SourceIndex(0) -13>Emitted(2, 28) Source(2, 7) + SourceIndex(0) -14>Emitted(2, 29) Source(2, 8) + SourceIndex(0) -15>Emitted(2, 36) Source(2, 8) + SourceIndex(0) -16>Emitted(2, 38) Source(2, 10) + SourceIndex(0) -17>Emitted(2, 39) Source(2, 11) + SourceIndex(0) -18>Emitted(2, 46) Source(2, 32) + SourceIndex(0) -19>Emitted(2, 47) Source(2, 33) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +3 >Emitted(3, 10) Source(2, 16) + SourceIndex(0) +4 >Emitted(3, 12) Source(2, 18) + SourceIndex(0) +5 >Emitted(3, 13) Source(2, 19) + SourceIndex(0) +6 >Emitted(3, 15) Source(2, 21) + SourceIndex(0) +7 >Emitted(3, 17) Source(2, 23) + SourceIndex(0) +8 >Emitted(3, 19) Source(2, 25) + SourceIndex(0) +9 >Emitted(3, 20) Source(2, 26) + SourceIndex(0) +10>Emitted(3, 22) Source(2, 28) + SourceIndex(0) +11>Emitted(3, 24) Source(2, 30) + SourceIndex(0) +12>Emitted(3, 26) Source(2, 32) + SourceIndex(0) +13>Emitted(3, 28) Source(2, 7) + SourceIndex(0) +14>Emitted(3, 29) Source(2, 8) + SourceIndex(0) +15>Emitted(3, 36) Source(2, 8) + SourceIndex(0) +16>Emitted(3, 38) Source(2, 10) + SourceIndex(0) +17>Emitted(3, 39) Source(2, 11) + SourceIndex(0) +18>Emitted(3, 46) Source(2, 32) + SourceIndex(0) +19>Emitted(3, 47) Source(2, 33) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementObjectBindingPattern2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js index ef76bec986ff1..944b6a2ccf56e 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js @@ -4,5 +4,6 @@ var {x = 500} = { x: 20 }; //// [sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js] +"use strict"; var _a = { x: 20 }.x, x = _a === void 0 ? 500 : _a; //# sourceMappingURL=sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js.map index 7c0bc19c287cf..da4384e43ef13 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.ts"],"names":[],"mappings":"AAAK,IAAA,KAAW,EAAE,CAAC,EAAE,EAAE,EAAE,EAAb,EAAP,CAAC,mBAAG,GAAG,KAAA,CAAc"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9hID0geyB4OiAyMCB9LngsIHggPSBfYSA9PT0gdm9pZCAwID8gNTAwIDogX2E7DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uRGVzdHJ1Y3R1cmluZ1ZhcmlhYmxlU3RhdGVtZW50T2JqZWN0QmluZGluZ1BhdHRlcm4zLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudE9iamVjdEJpbmRpbmdQYXR0ZXJuMy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUssSUFBQSxLQUFXLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRSxFQUFiLEVBQVAsQ0FBQyxtQkFBRyxHQUFHLEtBQUEsQ0FBYyJ9,dmFyIHt4ID0gNTAwfSA9IHsgeDogMjAgfTs= +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.ts"],"names":[],"mappings":";AAAK,IAAA,KAAW,EAAE,CAAC,EAAE,EAAE,EAAE,EAAb,EAAP,CAAC,mBAAG,GAAG,KAAA,CAAc"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIF9hID0geyB4OiAyMCB9LngsIHggPSBfYSA9PT0gdm9pZCAwID8gNTAwIDogX2E7DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uRGVzdHJ1Y3R1cmluZ1ZhcmlhYmxlU3RhdGVtZW50T2JqZWN0QmluZGluZ1BhdHRlcm4zLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudE9iamVjdEJpbmRpbmdQYXR0ZXJuMy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFLLElBQUEsS0FBVyxFQUFFLENBQUMsRUFBRSxFQUFFLEVBQUUsRUFBYixFQUFQLENBQUMsbUJBQUcsR0FBRyxLQUFBLENBQWMifQ==,dmFyIHt4ID0gNTAwfSA9IHsgeDogMjAgfTs= diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.sourcemap.txt index 1c4ff5426d9be..c34d39b264318 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementObjectBindingPattern3. emittedFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js sourceFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a = { x: 20 }.x, x = _a === void 0 ? 500 : _a; 1 > 2 >^^^^ @@ -40,20 +41,20 @@ sourceFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern 13> 500 14> 15> } = { x: 20 }; -1 >Emitted(1, 1) Source(1, 6) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 6) + SourceIndex(0) -3 >Emitted(1, 10) Source(1, 17) + SourceIndex(0) -4 >Emitted(1, 12) Source(1, 19) + SourceIndex(0) -5 >Emitted(1, 13) Source(1, 20) + SourceIndex(0) -6 >Emitted(1, 15) Source(1, 22) + SourceIndex(0) -7 >Emitted(1, 17) Source(1, 24) + SourceIndex(0) -8 >Emitted(1, 19) Source(1, 26) + SourceIndex(0) -9 >Emitted(1, 21) Source(1, 13) + SourceIndex(0) -10>Emitted(1, 23) Source(1, 6) + SourceIndex(0) -11>Emitted(1, 24) Source(1, 7) + SourceIndex(0) -12>Emitted(1, 43) Source(1, 10) + SourceIndex(0) -13>Emitted(1, 46) Source(1, 13) + SourceIndex(0) -14>Emitted(1, 51) Source(1, 13) + SourceIndex(0) -15>Emitted(1, 52) Source(1, 27) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 6) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 6) + SourceIndex(0) +3 >Emitted(2, 10) Source(1, 17) + SourceIndex(0) +4 >Emitted(2, 12) Source(1, 19) + SourceIndex(0) +5 >Emitted(2, 13) Source(1, 20) + SourceIndex(0) +6 >Emitted(2, 15) Source(1, 22) + SourceIndex(0) +7 >Emitted(2, 17) Source(1, 24) + SourceIndex(0) +8 >Emitted(2, 19) Source(1, 26) + SourceIndex(0) +9 >Emitted(2, 21) Source(1, 13) + SourceIndex(0) +10>Emitted(2, 23) Source(1, 6) + SourceIndex(0) +11>Emitted(2, 24) Source(1, 7) + SourceIndex(0) +12>Emitted(2, 43) Source(1, 10) + SourceIndex(0) +13>Emitted(2, 46) Source(1, 13) + SourceIndex(0) +14>Emitted(2, 51) Source(1, 13) + SourceIndex(0) +15>Emitted(2, 52) Source(1, 27) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementObjectBindingPattern3.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js index 8fbe610a2dbed..ba1f7bdfaa6c0 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js @@ -5,5 +5,6 @@ var {x = 500, y} = { x: 20, y: "hi" }; //// [sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js] +"use strict"; var _a = { x: 20, y: "hi" }, _b = _a.x, x = _b === void 0 ? 500 : _b, y = _a.y; //# sourceMappingURL=sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js.map b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js.map index f7af4c4df440c..6c8d7cb048b12 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js.map +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js.map] -{"version":3,"file":"sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.ts"],"names":[],"mappings":"AAAI,IAAA,KACM,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,EADvB,SAAO,EAAP,CAAC,mBAAG,GAAG,KAAA,EACP,CAAC,OAAsB,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIF9hID0geyB4OiAyMCwgeTogImhpIiB9LCBfYiA9IF9hLngsIHggPSBfYiA9PT0gdm9pZCAwID8gNTAwIDogX2IsIHkgPSBfYS55Ow0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudE9iamVjdEJpbmRpbmdQYXR0ZXJuNC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudE9iamVjdEJpbmRpbmdQYXR0ZXJuNC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUksSUFBQSxLQUNNLEVBQUUsQ0FBQyxFQUFFLEVBQUUsRUFBRSxDQUFDLEVBQUUsSUFBSSxFQUFFLEVBRHZCLFNBQU8sRUFBUCxDQUFDLG1CQUFHLEdBQUcsS0FBQSxFQUNQLENBQUMsT0FBc0IsQ0FBQyJ9,dmFyIHt4ID0gNTAwLAogICAgIHl9ID0geyB4OiAyMCwgeTogImhpIiB9Ow== +{"version":3,"file":"sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js","sourceRoot":"","sources":["sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.ts"],"names":[],"mappings":";AAAI,IAAA,KACM,EAAE,CAAC,EAAE,EAAE,EAAE,CAAC,EAAE,IAAI,EAAE,EADvB,SAAO,EAAP,CAAC,mBAAG,GAAG,KAAA,EACP,CAAC,OAAsB,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIF9hID0geyB4OiAyMCwgeTogImhpIiB9LCBfYiA9IF9hLngsIHggPSBfYiA9PT0gdm9pZCAwID8gNTAwIDogX2IsIHkgPSBfYS55Ow0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudE9iamVjdEJpbmRpbmdQYXR0ZXJuNC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRlc3RydWN0dXJpbmdWYXJpYWJsZVN0YXRlbWVudE9iamVjdEJpbmRpbmdQYXR0ZXJuNC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25EZXN0cnVjdHVyaW5nVmFyaWFibGVTdGF0ZW1lbnRPYmplY3RCaW5kaW5nUGF0dGVybjQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFJLElBQUEsS0FDTSxFQUFFLENBQUMsRUFBRSxFQUFFLEVBQUUsQ0FBQyxFQUFFLElBQUksRUFBRSxFQUR2QixTQUFPLEVBQVAsQ0FBQyxtQkFBRyxHQUFHLEtBQUEsRUFDUCxDQUFDLE9BQXNCLENBQUMifQ==,dmFyIHt4ID0gNTAwLAogICAgIHl9ID0geyB4OiAyMCwgeTogImhpIiB9Ow== diff --git a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.sourcemap.txt index c6817f3820d9d..65f6fc0bf81d5 100644 --- a/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDestructuringVariableStatementObjectBindingPattern4. emittedFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js sourceFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var _a = { x: 20, y: "hi" }, _b = _a.x, x = _b === void 0 ? 500 : _b, y = _a.y; 1 > 2 >^^^^ @@ -58,28 +59,28 @@ sourceFile:sourceMapValidationDestructuringVariableStatementObjectBindingPattern 21> y 22> } = { x: 20, y: "hi" } 23> ; -1 >Emitted(1, 1) Source(1, 5) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 10) Source(2, 11) + SourceIndex(0) -4 >Emitted(1, 12) Source(2, 13) + SourceIndex(0) -5 >Emitted(1, 13) Source(2, 14) + SourceIndex(0) -6 >Emitted(1, 15) Source(2, 16) + SourceIndex(0) -7 >Emitted(1, 17) Source(2, 18) + SourceIndex(0) -8 >Emitted(1, 19) Source(2, 20) + SourceIndex(0) -9 >Emitted(1, 20) Source(2, 21) + SourceIndex(0) -10>Emitted(1, 22) Source(2, 23) + SourceIndex(0) -11>Emitted(1, 26) Source(2, 27) + SourceIndex(0) -12>Emitted(1, 28) Source(2, 29) + SourceIndex(0) -13>Emitted(1, 30) Source(1, 6) + SourceIndex(0) -14>Emitted(1, 39) Source(1, 13) + SourceIndex(0) -15>Emitted(1, 41) Source(1, 6) + SourceIndex(0) -16>Emitted(1, 42) Source(1, 7) + SourceIndex(0) -17>Emitted(1, 61) Source(1, 10) + SourceIndex(0) -18>Emitted(1, 64) Source(1, 13) + SourceIndex(0) -19>Emitted(1, 69) Source(1, 13) + SourceIndex(0) -20>Emitted(1, 71) Source(2, 6) + SourceIndex(0) -21>Emitted(1, 72) Source(2, 7) + SourceIndex(0) -22>Emitted(1, 79) Source(2, 29) + SourceIndex(0) -23>Emitted(1, 80) Source(2, 30) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 5) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 10) Source(2, 11) + SourceIndex(0) +4 >Emitted(2, 12) Source(2, 13) + SourceIndex(0) +5 >Emitted(2, 13) Source(2, 14) + SourceIndex(0) +6 >Emitted(2, 15) Source(2, 16) + SourceIndex(0) +7 >Emitted(2, 17) Source(2, 18) + SourceIndex(0) +8 >Emitted(2, 19) Source(2, 20) + SourceIndex(0) +9 >Emitted(2, 20) Source(2, 21) + SourceIndex(0) +10>Emitted(2, 22) Source(2, 23) + SourceIndex(0) +11>Emitted(2, 26) Source(2, 27) + SourceIndex(0) +12>Emitted(2, 28) Source(2, 29) + SourceIndex(0) +13>Emitted(2, 30) Source(1, 6) + SourceIndex(0) +14>Emitted(2, 39) Source(1, 13) + SourceIndex(0) +15>Emitted(2, 41) Source(1, 6) + SourceIndex(0) +16>Emitted(2, 42) Source(1, 7) + SourceIndex(0) +17>Emitted(2, 61) Source(1, 10) + SourceIndex(0) +18>Emitted(2, 64) Source(1, 13) + SourceIndex(0) +19>Emitted(2, 69) Source(1, 13) + SourceIndex(0) +20>Emitted(2, 71) Source(2, 6) + SourceIndex(0) +21>Emitted(2, 72) Source(2, 7) + SourceIndex(0) +22>Emitted(2, 79) Source(2, 29) + SourceIndex(0) +23>Emitted(2, 80) Source(2, 30) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDestructuringVariableStatementObjectBindingPattern4.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationDo.js b/tests/baselines/reference/sourceMapValidationDo.js index 5ccb9242bf45c..26959e3ac2192 100644 --- a/tests/baselines/reference/sourceMapValidationDo.js +++ b/tests/baselines/reference/sourceMapValidationDo.js @@ -11,6 +11,7 @@ do { } while (i < 20); //// [sourceMapValidationDo.js] +"use strict"; var i = 0; do { i++; diff --git a/tests/baselines/reference/sourceMapValidationDo.js.map b/tests/baselines/reference/sourceMapValidationDo.js.map index 5c3cb877e5f9f..5a9920bf271bd 100644 --- a/tests/baselines/reference/sourceMapValidationDo.js.map +++ b/tests/baselines/reference/sourceMapValidationDo.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationDo.js.map] -{"version":3,"file":"sourceMapValidationDo.js","sourceRoot":"","sources":["sourceMapValidationDo.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,CAAC,CAAC;AACV,GACA,CAAC;IACG,CAAC,EAAE,CAAC;AACR,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE;AACjB,GAAG,CAAC;IACA,CAAC,EAAE,CAAC;AACR,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGkgPSAwOw0KZG8gew0KICAgIGkrKzsNCn0gd2hpbGUgKGkgPCAxMCk7DQpkbyB7DQogICAgaSsrOw0KfSB3aGlsZSAoaSA8IDIwKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25Eby5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQyxHQUFHLENBQUMsQ0FBQztBQUNWLEdBQ0EsQ0FBQztJQUNHLENBQUMsRUFBRSxDQUFDO0FBQ1IsQ0FBQyxRQUFRLENBQUMsR0FBRyxFQUFFLEVBQUU7QUFDakIsR0FBRyxDQUFDO0lBQ0EsQ0FBQyxFQUFFLENBQUM7QUFDUixDQUFDLFFBQVEsQ0FBQyxHQUFHLEVBQUUsRUFBRSJ9,dmFyIGkgPSAwOwpkbwp7CiAgICBpKys7Cn0gd2hpbGUgKGkgPCAxMCk7CmRvIHsKICAgIGkrKzsKfSB3aGlsZSAoaSA8IDIwKTs= +{"version":3,"file":"sourceMapValidationDo.js","sourceRoot":"","sources":["sourceMapValidationDo.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,CAAC,CAAC;AACV,GACA,CAAC;IACG,CAAC,EAAE,CAAC;AACR,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE;AACjB,GAAG,CAAC;IACA,CAAC,EAAE,CAAC;AACR,CAAC,QAAQ,CAAC,GAAG,EAAE,EAAE"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGkgPSAwOw0KZG8gew0KICAgIGkrKzsNCn0gd2hpbGUgKGkgPCAxMCk7DQpkbyB7DQogICAgaSsrOw0KfSB3aGlsZSAoaSA8IDIwKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25Eby5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkRvLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkRvLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDVixHQUNBLENBQUM7SUFDRyxDQUFDLEVBQUUsQ0FBQztBQUNSLENBQUMsUUFBUSxDQUFDLEdBQUcsRUFBRSxFQUFFO0FBQ2pCLEdBQUcsQ0FBQztJQUNBLENBQUMsRUFBRSxDQUFDO0FBQ1IsQ0FBQyxRQUFRLENBQUMsR0FBRyxFQUFFLEVBQUUifQ==,dmFyIGkgPSAwOwpkbwp7CiAgICBpKys7Cn0gd2hpbGUgKGkgPCAxMCk7CmRvIHsKICAgIGkrKzsKfSB3aGlsZSAoaSA8IDIwKTs= diff --git a/tests/baselines/reference/sourceMapValidationDo.sourcemap.txt b/tests/baselines/reference/sourceMapValidationDo.sourcemap.txt index be5d86c69ccb6..e76b70aa99422 100644 --- a/tests/baselines/reference/sourceMapValidationDo.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationDo.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationDo.ts emittedFile:sourceMapValidationDo.js sourceFile:sourceMapValidationDo.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var i = 0; 1 > 2 >^^^^ @@ -21,12 +22,12 @@ sourceFile:sourceMapValidationDo.ts 4 > = 5 > 0 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -6 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +6 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) --- >>>do { 1 > @@ -38,9 +39,9 @@ sourceFile:sourceMapValidationDo.ts 2 >do > 3 > { -1 >Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 4) Source(3, 1) + SourceIndex(0) -3 >Emitted(2, 5) Source(3, 2) + SourceIndex(0) +1 >Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 4) Source(3, 1) + SourceIndex(0) +3 >Emitted(3, 5) Source(3, 2) + SourceIndex(0) --- >>> i++; 1->^^^^ @@ -53,10 +54,10 @@ sourceFile:sourceMapValidationDo.ts 2 > i 3 > ++ 4 > ; -1->Emitted(3, 5) Source(4, 5) + SourceIndex(0) -2 >Emitted(3, 6) Source(4, 6) + SourceIndex(0) -3 >Emitted(3, 8) Source(4, 8) + SourceIndex(0) -4 >Emitted(3, 9) Source(4, 9) + SourceIndex(0) +1->Emitted(4, 5) Source(4, 5) + SourceIndex(0) +2 >Emitted(4, 6) Source(4, 6) + SourceIndex(0) +3 >Emitted(4, 8) Source(4, 8) + SourceIndex(0) +4 >Emitted(4, 9) Source(4, 9) + SourceIndex(0) --- >>>} while (i < 10); 1-> @@ -74,13 +75,13 @@ sourceFile:sourceMapValidationDo.ts 5 > < 6 > 10 7 > ); -1->Emitted(4, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(4, 2) Source(5, 2) + SourceIndex(0) -3 >Emitted(4, 10) Source(5, 10) + SourceIndex(0) -4 >Emitted(4, 11) Source(5, 11) + SourceIndex(0) -5 >Emitted(4, 14) Source(5, 14) + SourceIndex(0) -6 >Emitted(4, 16) Source(5, 16) + SourceIndex(0) -7 >Emitted(4, 18) Source(5, 18) + SourceIndex(0) +1->Emitted(5, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(5, 2) Source(5, 2) + SourceIndex(0) +3 >Emitted(5, 10) Source(5, 10) + SourceIndex(0) +4 >Emitted(5, 11) Source(5, 11) + SourceIndex(0) +5 >Emitted(5, 14) Source(5, 14) + SourceIndex(0) +6 >Emitted(5, 16) Source(5, 16) + SourceIndex(0) +7 >Emitted(5, 18) Source(5, 18) + SourceIndex(0) --- >>>do { 1 > @@ -91,9 +92,9 @@ sourceFile:sourceMapValidationDo.ts > 2 >do 3 > { -1 >Emitted(5, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(5, 4) Source(6, 4) + SourceIndex(0) -3 >Emitted(5, 5) Source(6, 5) + SourceIndex(0) +1 >Emitted(6, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(6, 4) Source(6, 4) + SourceIndex(0) +3 >Emitted(6, 5) Source(6, 5) + SourceIndex(0) --- >>> i++; 1->^^^^ @@ -106,10 +107,10 @@ sourceFile:sourceMapValidationDo.ts 2 > i 3 > ++ 4 > ; -1->Emitted(6, 5) Source(7, 5) + SourceIndex(0) -2 >Emitted(6, 6) Source(7, 6) + SourceIndex(0) -3 >Emitted(6, 8) Source(7, 8) + SourceIndex(0) -4 >Emitted(6, 9) Source(7, 9) + SourceIndex(0) +1->Emitted(7, 5) Source(7, 5) + SourceIndex(0) +2 >Emitted(7, 6) Source(7, 6) + SourceIndex(0) +3 >Emitted(7, 8) Source(7, 8) + SourceIndex(0) +4 >Emitted(7, 9) Source(7, 9) + SourceIndex(0) --- >>>} while (i < 20); 1-> @@ -128,12 +129,12 @@ sourceFile:sourceMapValidationDo.ts 5 > < 6 > 20 7 > ); -1->Emitted(7, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(8, 2) + SourceIndex(0) -3 >Emitted(7, 10) Source(8, 10) + SourceIndex(0) -4 >Emitted(7, 11) Source(8, 11) + SourceIndex(0) -5 >Emitted(7, 14) Source(8, 14) + SourceIndex(0) -6 >Emitted(7, 16) Source(8, 16) + SourceIndex(0) -7 >Emitted(7, 18) Source(8, 18) + SourceIndex(0) +1->Emitted(8, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(8, 2) + SourceIndex(0) +3 >Emitted(8, 10) Source(8, 10) + SourceIndex(0) +4 >Emitted(8, 11) Source(8, 11) + SourceIndex(0) +5 >Emitted(8, 14) Source(8, 14) + SourceIndex(0) +6 >Emitted(8, 16) Source(8, 16) + SourceIndex(0) +7 >Emitted(8, 18) Source(8, 18) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationDo.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationEnums.js b/tests/baselines/reference/sourceMapValidationEnums.js index 0d9934681f569..97c3d17f9d8c7 100644 --- a/tests/baselines/reference/sourceMapValidationEnums.js +++ b/tests/baselines/reference/sourceMapValidationEnums.js @@ -16,6 +16,7 @@ enum e3 { } //// [sourceMapValidationEnums.js] +"use strict"; var e; (function (e) { e[e["x"] = 0] = "x"; diff --git a/tests/baselines/reference/sourceMapValidationEnums.js.map b/tests/baselines/reference/sourceMapValidationEnums.js.map index 9e9db51480ac4..5126edbb66de1 100644 --- a/tests/baselines/reference/sourceMapValidationEnums.js.map +++ b/tests/baselines/reference/sourceMapValidationEnums.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationEnums.js.map] -{"version":3,"file":"sourceMapValidationEnums.js","sourceRoot":"","sources":["sourceMapValidationEnums.ts"],"names":[],"mappings":"AAAA,IAAK,CAIJ;AAJD,WAAK,CAAC;IACF,mBAAC,CAAA;IACD,mBAAC,CAAA;IACD,mBAAC,CAAA;AACL,CAAC,EAJI,CAAC,KAAD,CAAC,QAIL;AACD,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FQUtKO0FBTEQsV0FBSyxFQUFFO0lBQ0gsc0JBQU0sQ0FBQTtJQUNOLHNCQUFNLENBQUE7SUFDTixzQkFBQyxDQUFBO0lBQ0Qsd0JBQUUsQ0FBQTtBQUNOLENBQUMsRUFMSSxFQUFFLEtBQUYsRUFBRSxRQUtOO0FBQ0QsSUFBSyxFQUNKO0FBREQsV0FBSyxFQUFFO0FBQ1AsQ0FBQyxFQURJLEVBQUUsS0FBRixFQUFFLFFBQ04ifQ==,ZW51bSBlIHsKICAgIHgsCiAgICB5LAogICAgeAp9CmVudW0gZTIgewogICAgeCA9IDEwLAogICAgeSA9IDEwLAogICAgeiwKICAgIHgyCn0KZW51bSBlMyB7Cn0= +{"version":3,"file":"sourceMapValidationEnums.js","sourceRoot":"","sources":["sourceMapValidationEnums.ts"],"names":[],"mappings":";AAAA,IAAK,CAIJ;AAJD,WAAK,CAAC;IACF,mBAAC,CAAA;IACD,mBAAC,CAAA;IACD,mBAAC,CAAA;AACL,CAAC,EAJI,CAAC,KAAD,CAAC,QAIL;AACD,IAAK,EAKJ;AALD,WAAK,EAAE;IACH,sBAAM,CAAA;IACN,sBAAM,CAAA;IACN,sBAAC,CAAA;IACD,wBAAE,CAAA;AACN,CAAC,EALI,EAAE,KAAF,EAAE,QAKN;AACD,IAAK,EACJ;AADD,WAAK,EAAE;AACP,CAAC,EADI,EAAE,KAAF,EAAE,QACN"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGU7DQooZnVuY3Rpb24gKGUpIHsNCiAgICBlW2VbIngiXSA9IDBdID0gIngiOw0KICAgIGVbZVsieSJdID0gMV0gPSAieSI7DQogICAgZVtlWyJ4Il0gPSAyXSA9ICJ4IjsNCn0pKGUgfHwgKGUgPSB7fSkpOw0KdmFyIGUyOw0KKGZ1bmN0aW9uIChlMikgew0KICAgIGUyW2UyWyJ4Il0gPSAxMF0gPSAieCI7DQogICAgZTJbZTJbInkiXSA9IDEwXSA9ICJ5IjsNCiAgICBlMltlMlsieiJdID0gMTFdID0gInoiOw0KICAgIGUyW2UyWyJ4MiJdID0gMTJdID0gIngyIjsNCn0pKGUyIHx8IChlMiA9IHt9KSk7DQp2YXIgZTM7DQooZnVuY3Rpb24gKGUzKSB7DQp9KShlMyB8fCAoZTMgPSB7fSkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkVudW1zLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkVudW1zLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkVudW1zLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFLLENBSUo7QUFKRCxXQUFLLENBQUM7SUFDRixtQkFBQyxDQUFBO0lBQ0QsbUJBQUMsQ0FBQTtJQUNELG1CQUFDLENBQUE7QUFDTCxDQUFDLEVBSkksQ0FBQyxLQUFELENBQUMsUUFJTDtBQUNELElBQUssRUFLSjtBQUxELFdBQUssRUFBRTtJQUNILHNCQUFNLENBQUE7SUFDTixzQkFBTSxDQUFBO0lBQ04sc0JBQUMsQ0FBQTtJQUNELHdCQUFFLENBQUE7QUFDTixDQUFDLEVBTEksRUFBRSxLQUFGLEVBQUUsUUFLTjtBQUNELElBQUssRUFDSjtBQURELFdBQUssRUFBRTtBQUNQLENBQUMsRUFESSxFQUFFLEtBQUYsRUFBRSxRQUNOIn0=,ZW51bSBlIHsKICAgIHgsCiAgICB5LAogICAgeAp9CmVudW0gZTIgewogICAgeCA9IDEwLAogICAgeSA9IDEwLAogICAgeiwKICAgIHgyCn0KZW51bSBlMyB7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationEnums.sourcemap.txt b/tests/baselines/reference/sourceMapValidationEnums.sourcemap.txt index 4725e4ff35691..cf647c4fd03df 100644 --- a/tests/baselines/reference/sourceMapValidationEnums.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationEnums.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationEnums.ts emittedFile:sourceMapValidationEnums.js sourceFile:sourceMapValidationEnums.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var e; 1 > 2 >^^^^ @@ -20,9 +21,9 @@ sourceFile:sourceMapValidationEnums.ts > y, > x > } -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 6) + SourceIndex(0) -3 >Emitted(1, 6) Source(5, 2) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 6) + SourceIndex(0) +3 >Emitted(2, 6) Source(5, 2) + SourceIndex(0) --- >>>(function (e) { 1-> @@ -32,9 +33,9 @@ sourceFile:sourceMapValidationEnums.ts 1-> 2 >enum 3 > e -1->Emitted(2, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(2, 12) Source(1, 6) + SourceIndex(0) -3 >Emitted(2, 13) Source(1, 7) + SourceIndex(0) +1->Emitted(3, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(3, 12) Source(1, 6) + SourceIndex(0) +3 >Emitted(3, 13) Source(1, 7) + SourceIndex(0) --- >>> e[e["x"] = 0] = "x"; 1->^^^^ @@ -45,9 +46,9 @@ sourceFile:sourceMapValidationEnums.ts > 2 > x 3 > -1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(3, 24) Source(2, 6) + SourceIndex(0) -3 >Emitted(3, 25) Source(2, 6) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(4, 24) Source(2, 6) + SourceIndex(0) +3 >Emitted(4, 25) Source(2, 6) + SourceIndex(0) --- >>> e[e["y"] = 1] = "y"; 1->^^^^ @@ -58,9 +59,9 @@ sourceFile:sourceMapValidationEnums.ts > 2 > y 3 > -1->Emitted(4, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(4, 24) Source(3, 6) + SourceIndex(0) -3 >Emitted(4, 25) Source(3, 6) + SourceIndex(0) +1->Emitted(5, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(5, 24) Source(3, 6) + SourceIndex(0) +3 >Emitted(5, 25) Source(3, 6) + SourceIndex(0) --- >>> e[e["x"] = 2] = "x"; 1->^^^^ @@ -70,9 +71,9 @@ sourceFile:sourceMapValidationEnums.ts > 2 > x 3 > -1->Emitted(5, 5) Source(4, 5) + SourceIndex(0) -2 >Emitted(5, 24) Source(4, 6) + SourceIndex(0) -3 >Emitted(5, 25) Source(4, 6) + SourceIndex(0) +1->Emitted(6, 5) Source(4, 5) + SourceIndex(0) +2 >Emitted(6, 24) Source(4, 6) + SourceIndex(0) +3 >Emitted(6, 25) Source(4, 6) + SourceIndex(0) --- >>>})(e || (e = {})); 1 > @@ -94,13 +95,13 @@ sourceFile:sourceMapValidationEnums.ts > y, > x > } -1 >Emitted(6, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(5, 2) + SourceIndex(0) -3 >Emitted(6, 4) Source(1, 6) + SourceIndex(0) -4 >Emitted(6, 5) Source(1, 7) + SourceIndex(0) -5 >Emitted(6, 10) Source(1, 6) + SourceIndex(0) -6 >Emitted(6, 11) Source(1, 7) + SourceIndex(0) -7 >Emitted(6, 19) Source(5, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(5, 2) + SourceIndex(0) +3 >Emitted(7, 4) Source(1, 6) + SourceIndex(0) +4 >Emitted(7, 5) Source(1, 7) + SourceIndex(0) +5 >Emitted(7, 10) Source(1, 6) + SourceIndex(0) +6 >Emitted(7, 11) Source(1, 7) + SourceIndex(0) +7 >Emitted(7, 19) Source(5, 2) + SourceIndex(0) --- >>>var e2; 1 > @@ -116,9 +117,9 @@ sourceFile:sourceMapValidationEnums.ts > z, > x2 > } -1 >Emitted(7, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(6, 6) + SourceIndex(0) -3 >Emitted(7, 7) Source(11, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(6, 6) + SourceIndex(0) +3 >Emitted(8, 7) Source(11, 2) + SourceIndex(0) --- >>>(function (e2) { 1-> @@ -128,9 +129,9 @@ sourceFile:sourceMapValidationEnums.ts 1-> 2 >enum 3 > e2 -1->Emitted(8, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(8, 12) Source(6, 6) + SourceIndex(0) -3 >Emitted(8, 14) Source(6, 8) + SourceIndex(0) +1->Emitted(9, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(9, 12) Source(6, 6) + SourceIndex(0) +3 >Emitted(9, 14) Source(6, 8) + SourceIndex(0) --- >>> e2[e2["x"] = 10] = "x"; 1->^^^^ @@ -141,9 +142,9 @@ sourceFile:sourceMapValidationEnums.ts > 2 > x = 10 3 > -1->Emitted(9, 5) Source(7, 5) + SourceIndex(0) -2 >Emitted(9, 27) Source(7, 11) + SourceIndex(0) -3 >Emitted(9, 28) Source(7, 11) + SourceIndex(0) +1->Emitted(10, 5) Source(7, 5) + SourceIndex(0) +2 >Emitted(10, 27) Source(7, 11) + SourceIndex(0) +3 >Emitted(10, 28) Source(7, 11) + SourceIndex(0) --- >>> e2[e2["y"] = 10] = "y"; 1->^^^^ @@ -154,9 +155,9 @@ sourceFile:sourceMapValidationEnums.ts > 2 > y = 10 3 > -1->Emitted(10, 5) Source(8, 5) + SourceIndex(0) -2 >Emitted(10, 27) Source(8, 11) + SourceIndex(0) -3 >Emitted(10, 28) Source(8, 11) + SourceIndex(0) +1->Emitted(11, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(11, 27) Source(8, 11) + SourceIndex(0) +3 >Emitted(11, 28) Source(8, 11) + SourceIndex(0) --- >>> e2[e2["z"] = 11] = "z"; 1->^^^^ @@ -167,9 +168,9 @@ sourceFile:sourceMapValidationEnums.ts > 2 > z 3 > -1->Emitted(11, 5) Source(9, 5) + SourceIndex(0) -2 >Emitted(11, 27) Source(9, 6) + SourceIndex(0) -3 >Emitted(11, 28) Source(9, 6) + SourceIndex(0) +1->Emitted(12, 5) Source(9, 5) + SourceIndex(0) +2 >Emitted(12, 27) Source(9, 6) + SourceIndex(0) +3 >Emitted(12, 28) Source(9, 6) + SourceIndex(0) --- >>> e2[e2["x2"] = 12] = "x2"; 1->^^^^ @@ -179,9 +180,9 @@ sourceFile:sourceMapValidationEnums.ts > 2 > x2 3 > -1->Emitted(12, 5) Source(10, 5) + SourceIndex(0) -2 >Emitted(12, 29) Source(10, 7) + SourceIndex(0) -3 >Emitted(12, 30) Source(10, 7) + SourceIndex(0) +1->Emitted(13, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(13, 29) Source(10, 7) + SourceIndex(0) +3 >Emitted(13, 30) Source(10, 7) + SourceIndex(0) --- >>>})(e2 || (e2 = {})); 1 > @@ -204,13 +205,13 @@ sourceFile:sourceMapValidationEnums.ts > z, > x2 > } -1 >Emitted(13, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(11, 2) + SourceIndex(0) -3 >Emitted(13, 4) Source(6, 6) + SourceIndex(0) -4 >Emitted(13, 6) Source(6, 8) + SourceIndex(0) -5 >Emitted(13, 11) Source(6, 6) + SourceIndex(0) -6 >Emitted(13, 13) Source(6, 8) + SourceIndex(0) -7 >Emitted(13, 21) Source(11, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(11, 2) + SourceIndex(0) +3 >Emitted(14, 4) Source(6, 6) + SourceIndex(0) +4 >Emitted(14, 6) Source(6, 8) + SourceIndex(0) +5 >Emitted(14, 11) Source(6, 6) + SourceIndex(0) +6 >Emitted(14, 13) Source(6, 8) + SourceIndex(0) +7 >Emitted(14, 21) Source(11, 2) + SourceIndex(0) --- >>>var e3; 1 > @@ -222,9 +223,9 @@ sourceFile:sourceMapValidationEnums.ts 2 >enum 3 > e3 { > } -1 >Emitted(14, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(14, 5) Source(12, 6) + SourceIndex(0) -3 >Emitted(14, 7) Source(13, 2) + SourceIndex(0) +1 >Emitted(15, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(15, 5) Source(12, 6) + SourceIndex(0) +3 >Emitted(15, 7) Source(13, 2) + SourceIndex(0) --- >>>(function (e3) { 1-> @@ -234,9 +235,9 @@ sourceFile:sourceMapValidationEnums.ts 1-> 2 >enum 3 > e3 -1->Emitted(15, 1) Source(12, 1) + SourceIndex(0) -2 >Emitted(15, 12) Source(12, 6) + SourceIndex(0) -3 >Emitted(15, 14) Source(12, 8) + SourceIndex(0) +1->Emitted(16, 1) Source(12, 1) + SourceIndex(0) +2 >Emitted(16, 12) Source(12, 6) + SourceIndex(0) +3 >Emitted(16, 14) Source(12, 8) + SourceIndex(0) --- >>>})(e3 || (e3 = {})); 1-> @@ -256,12 +257,12 @@ sourceFile:sourceMapValidationEnums.ts 6 > e3 7 > { > } -1->Emitted(16, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(16, 2) Source(13, 2) + SourceIndex(0) -3 >Emitted(16, 4) Source(12, 6) + SourceIndex(0) -4 >Emitted(16, 6) Source(12, 8) + SourceIndex(0) -5 >Emitted(16, 11) Source(12, 6) + SourceIndex(0) -6 >Emitted(16, 13) Source(12, 8) + SourceIndex(0) -7 >Emitted(16, 21) Source(13, 2) + SourceIndex(0) +1->Emitted(17, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(17, 2) Source(13, 2) + SourceIndex(0) +3 >Emitted(17, 4) Source(12, 6) + SourceIndex(0) +4 >Emitted(17, 6) Source(12, 8) + SourceIndex(0) +5 >Emitted(17, 11) Source(12, 6) + SourceIndex(0) +6 >Emitted(17, 13) Source(12, 8) + SourceIndex(0) +7 >Emitted(17, 21) Source(13, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationEnums.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationFor.js b/tests/baselines/reference/sourceMapValidationFor.js index 1e20577673a9c..46730f48c891c 100644 --- a/tests/baselines/reference/sourceMapValidationFor.js +++ b/tests/baselines/reference/sourceMapValidationFor.js @@ -36,6 +36,7 @@ for (i = 0, j = 20; j < 20, i < 20; j++) { } //// [sourceMapValidationFor.js] +"use strict"; for (var i = 0; i < 10; i++) { WScript.Echo("i: " + i); } diff --git a/tests/baselines/reference/sourceMapValidationFor.js.map b/tests/baselines/reference/sourceMapValidationFor.js.map index 293628b2e3e3c..5d40624c740b7 100644 --- a/tests/baselines/reference/sourceMapValidationFor.js.map +++ b/tests/baselines/reference/sourceMapValidationFor.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationFor.js.map] -{"version":3,"file":"sourceMapValidationFor.js","sourceRoot":"","sources":["sourceMapValidationFor.ts"],"names":[],"mappings":"AAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;IAC1B,OAAO,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;AAC5B,CAAC;AACD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EACvB,CAAC;IACG,OAAO,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;AAC5B,CAAC;AACD,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,GAAI,CAAC;IACvB,CAAC,EAAE,CAAC;IACJ,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACT,SAAS;IACb,CAAC;AACL,CAAC;AACD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,GAClB,CAAC;IACG,CAAC,EAAE,CAAC;AACR,CAAC;AACD,KAAK,IAAI,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,EAAE,CAAC;AACvB,CAAC;AACD,KAAK,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,EAChB,CAAC;AACD,CAAC;AACD,OAAO,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;AACrB,CAAC;AACD,SAAS,CAAC;IACN,CAAC,EAAE,CAAC;AACR,CAAC;AACD,SACA,CAAC;IACG,CAAC,EAAE,CAAC;AACR,CAAC;AACD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;AAC1C,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,Zm9yICh2YXIgaSA9IDA7IGkgPCAxMDsgaSsrKSB7DQogICAgV1NjcmlwdC5FY2hvKCJpOiAiICsgaSk7DQp9DQpmb3IgKGkgPSAwOyBpIDwgMTA7IGkrKykgew0KICAgIFdTY3JpcHQuRWNobygiaTogIiArIGkpOw0KfQ0KZm9yICh2YXIgaiA9IDA7IGogPCAxMDspIHsNCiAgICBqKys7DQogICAgaWYgKGogPT0gMSkgew0KICAgICAgICBjb250aW51ZTsNCiAgICB9DQp9DQpmb3IgKGogPSAwOyBqIDwgMTA7KSB7DQogICAgaisrOw0KfQ0KZm9yICh2YXIgayA9IDA7OyBrKyspIHsNCn0NCmZvciAoayA9IDA7OyBrKyspIHsNCn0NCmZvciAoOyBrIDwgMTA7IGsrKykgew0KfQ0KZm9yICg7Oykgew0KICAgIGkrKzsNCn0NCmZvciAoOzspIHsNCiAgICBpKys7DQp9DQpmb3IgKGkgPSAwLCBqID0gMjA7IGogPCAyMCwgaSA8IDIwOyBqKyspIHsNCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25Gb3IuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkZvci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJj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UFDRCxTQUNBLENBQUM7SUFDRyxDQUFDLEVBQUUsQ0FBQztBQUNSLENBQUM7QUFDRCxLQUFLLENBQUMsR0FBRyxDQUFDLEVBQUUsQ0FBQyxHQUFHLEVBQUUsRUFBRSxDQUFDLEdBQUcsRUFBRSxFQUFFLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxFQUFFLEVBQUUsQ0FBQztBQUMxQyxDQUFDIn0=,Zm9yICh2YXIgaSA9IDA7IGkgPCAxMDsgaSsrKSB7CiAgICBXU2NyaXB0LkVjaG8oImk6ICIgKyBpKTsKfQpmb3IgKGkgPSAwOyBpIDwgMTA7IGkrKykKewogICAgV1NjcmlwdC5FY2hvKCJpOiAiICsgaSk7Cn0KZm9yICh2YXIgaiA9IDA7IGogPCAxMDsgKSB7CiAgICBqKys7CiAgICBpZiAoaiA9PSAxKSB7CiAgICAgICAgY29udGludWU7CiAgICB9Cn0KZm9yIChqID0gMDsgaiA8IDEwOykKewogICAgaisrOwp9CmZvciAodmFyIGsgPSAwOzsgaysrKSB7Cn0KZm9yIChrID0gMDs7IGsrKykKewp9CmZvciAoOyBrIDwgMTA7IGsrKykgewp9CmZvciAoOzspIHsKICAgIGkrKzsKfQpmb3IgKDs7KQp7CiAgICBpKys7Cn0KZm9yIChpID0gMCwgaiA9IDIwOyBqIDwgMjAsIGkgPCAyMDsgaisrKSB7Cn0= +{"version":3,"file":"sourceMapValidationFor.js","sourceRoot":"","sources":["sourceMapValidationFor.ts"],"names":[],"mappings":";AAAA,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;IAC1B,OAAO,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,CAAC;AAC5B,CAAC;AACD,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EACvB,CAAC;IACG,OAAO,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,CAAC,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kgPCAyMDsgaisrKSB7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationFor.sourcemap.txt b/tests/baselines/reference/sourceMapValidationFor.sourcemap.txt index c29ab5e0ed662..8c395a1c88215 100644 --- a/tests/baselines/reference/sourceMapValidationFor.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationFor.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationFor.ts emittedFile:sourceMapValidationFor.js sourceFile:sourceMapValidationFor.ts ------------------------------------------------------------------- +>>>"use strict"; >>>for (var i = 0; i < 10; i++) { 1 > 2 >^^^^^ @@ -39,21 +40,21 @@ sourceFile:sourceMapValidationFor.ts 13> ++ 14> ) 15> { -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -3 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -4 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -5 >Emitted(1, 14) Source(1, 14) + SourceIndex(0) -6 >Emitted(1, 15) Source(1, 15) + SourceIndex(0) -7 >Emitted(1, 17) Source(1, 17) + SourceIndex(0) -8 >Emitted(1, 18) Source(1, 18) + SourceIndex(0) -9 >Emitted(1, 21) Source(1, 21) + SourceIndex(0) -10>Emitted(1, 23) Source(1, 23) + SourceIndex(0) -11>Emitted(1, 25) Source(1, 25) + SourceIndex(0) -12>Emitted(1, 26) Source(1, 26) + SourceIndex(0) -13>Emitted(1, 28) Source(1, 28) + SourceIndex(0) -14>Emitted(1, 30) Source(1, 30) + SourceIndex(0) -15>Emitted(1, 31) Source(1, 31) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +3 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +4 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +5 >Emitted(2, 14) Source(1, 14) + SourceIndex(0) +6 >Emitted(2, 15) Source(1, 15) + SourceIndex(0) +7 >Emitted(2, 17) Source(1, 17) + SourceIndex(0) +8 >Emitted(2, 18) Source(1, 18) + SourceIndex(0) +9 >Emitted(2, 21) Source(1, 21) + SourceIndex(0) +10>Emitted(2, 23) Source(1, 23) + SourceIndex(0) +11>Emitted(2, 25) Source(1, 25) + SourceIndex(0) +12>Emitted(2, 26) Source(1, 26) + SourceIndex(0) +13>Emitted(2, 28) Source(1, 28) + SourceIndex(0) +14>Emitted(2, 30) Source(1, 30) + SourceIndex(0) +15>Emitted(2, 31) Source(1, 31) + SourceIndex(0) --- >>> WScript.Echo("i: " + i); 1 >^^^^ @@ -77,16 +78,16 @@ sourceFile:sourceMapValidationFor.ts 8 > i 9 > ) 10> ; -1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 12) Source(2, 12) + SourceIndex(0) -3 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) -4 >Emitted(2, 17) Source(2, 17) + SourceIndex(0) -5 >Emitted(2, 18) Source(2, 18) + SourceIndex(0) -6 >Emitted(2, 23) Source(2, 23) + SourceIndex(0) -7 >Emitted(2, 26) Source(2, 26) + SourceIndex(0) -8 >Emitted(2, 27) Source(2, 27) + SourceIndex(0) -9 >Emitted(2, 28) Source(2, 28) + SourceIndex(0) -10>Emitted(2, 29) Source(2, 29) + SourceIndex(0) +1 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) +3 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) +4 >Emitted(3, 17) Source(2, 17) + SourceIndex(0) +5 >Emitted(3, 18) Source(2, 18) + SourceIndex(0) +6 >Emitted(3, 23) Source(2, 23) + SourceIndex(0) +7 >Emitted(3, 26) Source(2, 26) + SourceIndex(0) +8 >Emitted(3, 27) Source(2, 27) + SourceIndex(0) +9 >Emitted(3, 28) Source(2, 28) + SourceIndex(0) +10>Emitted(3, 29) Source(2, 29) + SourceIndex(0) --- >>>} 1 > @@ -95,8 +96,8 @@ sourceFile:sourceMapValidationFor.ts 1 > > 2 >} -1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(4, 2) Source(3, 2) + SourceIndex(0) --- >>>for (i = 0; i < 10; i++) { 1-> @@ -130,20 +131,20 @@ sourceFile:sourceMapValidationFor.ts 13> ) > 14> { -1->Emitted(4, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(4, 6) Source(4, 6) + SourceIndex(0) -3 >Emitted(4, 7) Source(4, 7) + SourceIndex(0) -4 >Emitted(4, 10) Source(4, 10) + SourceIndex(0) -5 >Emitted(4, 11) Source(4, 11) + SourceIndex(0) -6 >Emitted(4, 13) Source(4, 13) + SourceIndex(0) -7 >Emitted(4, 14) Source(4, 14) + SourceIndex(0) -8 >Emitted(4, 17) Source(4, 17) + SourceIndex(0) -9 >Emitted(4, 19) Source(4, 19) + SourceIndex(0) -10>Emitted(4, 21) Source(4, 21) + SourceIndex(0) -11>Emitted(4, 22) Source(4, 22) + SourceIndex(0) -12>Emitted(4, 24) Source(4, 24) + SourceIndex(0) -13>Emitted(4, 26) Source(5, 1) + SourceIndex(0) -14>Emitted(4, 27) Source(5, 2) + SourceIndex(0) +1->Emitted(5, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(5, 6) Source(4, 6) + SourceIndex(0) +3 >Emitted(5, 7) Source(4, 7) + SourceIndex(0) +4 >Emitted(5, 10) Source(4, 10) + SourceIndex(0) +5 >Emitted(5, 11) Source(4, 11) + SourceIndex(0) +6 >Emitted(5, 13) Source(4, 13) + SourceIndex(0) +7 >Emitted(5, 14) Source(4, 14) + SourceIndex(0) +8 >Emitted(5, 17) Source(4, 17) + SourceIndex(0) +9 >Emitted(5, 19) Source(4, 19) + SourceIndex(0) +10>Emitted(5, 21) Source(4, 21) + SourceIndex(0) +11>Emitted(5, 22) Source(4, 22) + SourceIndex(0) +12>Emitted(5, 24) Source(4, 24) + SourceIndex(0) +13>Emitted(5, 26) Source(5, 1) + SourceIndex(0) +14>Emitted(5, 27) Source(5, 2) + SourceIndex(0) --- >>> WScript.Echo("i: " + i); 1->^^^^ @@ -167,16 +168,16 @@ sourceFile:sourceMapValidationFor.ts 8 > i 9 > ) 10> ; -1->Emitted(5, 5) Source(6, 5) + SourceIndex(0) -2 >Emitted(5, 12) Source(6, 12) + SourceIndex(0) -3 >Emitted(5, 13) Source(6, 13) + SourceIndex(0) -4 >Emitted(5, 17) Source(6, 17) + SourceIndex(0) -5 >Emitted(5, 18) Source(6, 18) + SourceIndex(0) -6 >Emitted(5, 23) Source(6, 23) + SourceIndex(0) -7 >Emitted(5, 26) Source(6, 26) + SourceIndex(0) -8 >Emitted(5, 27) Source(6, 27) + SourceIndex(0) -9 >Emitted(5, 28) Source(6, 28) + SourceIndex(0) -10>Emitted(5, 29) Source(6, 29) + SourceIndex(0) +1->Emitted(6, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(6, 12) Source(6, 12) + SourceIndex(0) +3 >Emitted(6, 13) Source(6, 13) + SourceIndex(0) +4 >Emitted(6, 17) Source(6, 17) + SourceIndex(0) +5 >Emitted(6, 18) Source(6, 18) + SourceIndex(0) +6 >Emitted(6, 23) Source(6, 23) + SourceIndex(0) +7 >Emitted(6, 26) Source(6, 26) + SourceIndex(0) +8 >Emitted(6, 27) Source(6, 27) + SourceIndex(0) +9 >Emitted(6, 28) Source(6, 28) + SourceIndex(0) +10>Emitted(6, 29) Source(6, 29) + SourceIndex(0) --- >>>} 1 > @@ -185,8 +186,8 @@ sourceFile:sourceMapValidationFor.ts 1 > > 2 >} -1 >Emitted(6, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(7, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(7, 2) + SourceIndex(0) --- >>>for (var j = 0; j < 10;) { 1-> @@ -214,18 +215,18 @@ sourceFile:sourceMapValidationFor.ts 10> 10 11> ; ) 12> { -1->Emitted(7, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(7, 6) Source(8, 6) + SourceIndex(0) -3 >Emitted(7, 10) Source(8, 10) + SourceIndex(0) -4 >Emitted(7, 11) Source(8, 11) + SourceIndex(0) -5 >Emitted(7, 14) Source(8, 14) + SourceIndex(0) -6 >Emitted(7, 15) Source(8, 15) + SourceIndex(0) -7 >Emitted(7, 17) Source(8, 17) + SourceIndex(0) -8 >Emitted(7, 18) Source(8, 18) + SourceIndex(0) -9 >Emitted(7, 21) Source(8, 21) + SourceIndex(0) -10>Emitted(7, 23) Source(8, 23) + SourceIndex(0) -11>Emitted(7, 26) Source(8, 27) + SourceIndex(0) -12>Emitted(7, 27) Source(8, 28) + SourceIndex(0) +1->Emitted(8, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(8, 6) Source(8, 6) + SourceIndex(0) +3 >Emitted(8, 10) Source(8, 10) + SourceIndex(0) +4 >Emitted(8, 11) Source(8, 11) + SourceIndex(0) +5 >Emitted(8, 14) Source(8, 14) + SourceIndex(0) +6 >Emitted(8, 15) Source(8, 15) + SourceIndex(0) +7 >Emitted(8, 17) Source(8, 17) + SourceIndex(0) +8 >Emitted(8, 18) Source(8, 18) + SourceIndex(0) +9 >Emitted(8, 21) Source(8, 21) + SourceIndex(0) +10>Emitted(8, 23) Source(8, 23) + SourceIndex(0) +11>Emitted(8, 26) Source(8, 27) + SourceIndex(0) +12>Emitted(8, 27) Source(8, 28) + SourceIndex(0) --- >>> j++; 1 >^^^^ @@ -238,10 +239,10 @@ sourceFile:sourceMapValidationFor.ts 2 > j 3 > ++ 4 > ; -1 >Emitted(8, 5) Source(9, 5) + SourceIndex(0) -2 >Emitted(8, 6) Source(9, 6) + SourceIndex(0) -3 >Emitted(8, 8) Source(9, 8) + SourceIndex(0) -4 >Emitted(8, 9) Source(9, 9) + SourceIndex(0) +1 >Emitted(9, 5) Source(9, 5) + SourceIndex(0) +2 >Emitted(9, 6) Source(9, 6) + SourceIndex(0) +3 >Emitted(9, 8) Source(9, 8) + SourceIndex(0) +4 >Emitted(9, 9) Source(9, 9) + SourceIndex(0) --- >>> if (j == 1) { 1->^^^^ @@ -260,13 +261,13 @@ sourceFile:sourceMapValidationFor.ts 5 > 1 6 > ) 7 > { -1->Emitted(9, 5) Source(10, 5) + SourceIndex(0) -2 >Emitted(9, 9) Source(10, 9) + SourceIndex(0) -3 >Emitted(9, 10) Source(10, 10) + SourceIndex(0) -4 >Emitted(9, 14) Source(10, 14) + SourceIndex(0) -5 >Emitted(9, 15) Source(10, 15) + SourceIndex(0) -6 >Emitted(9, 17) Source(10, 17) + SourceIndex(0) -7 >Emitted(9, 18) Source(10, 18) + SourceIndex(0) +1->Emitted(10, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(10, 9) Source(10, 9) + SourceIndex(0) +3 >Emitted(10, 10) Source(10, 10) + SourceIndex(0) +4 >Emitted(10, 14) Source(10, 14) + SourceIndex(0) +5 >Emitted(10, 15) Source(10, 15) + SourceIndex(0) +6 >Emitted(10, 17) Source(10, 17) + SourceIndex(0) +7 >Emitted(10, 18) Source(10, 18) + SourceIndex(0) --- >>> continue; 1->^^^^^^^^ @@ -274,8 +275,8 @@ sourceFile:sourceMapValidationFor.ts 1-> > 2 > continue; -1->Emitted(10, 9) Source(11, 9) + SourceIndex(0) -2 >Emitted(10, 18) Source(11, 18) + SourceIndex(0) +1->Emitted(11, 9) Source(11, 9) + SourceIndex(0) +2 >Emitted(11, 18) Source(11, 18) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -283,8 +284,8 @@ sourceFile:sourceMapValidationFor.ts 1 > > 2 > } -1 >Emitted(11, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(11, 6) Source(12, 6) + SourceIndex(0) +1 >Emitted(12, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(12, 6) Source(12, 6) + SourceIndex(0) --- >>>} 1 > @@ -293,8 +294,8 @@ sourceFile:sourceMapValidationFor.ts 1 > > 2 >} -1 >Emitted(12, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(12, 2) Source(13, 2) + SourceIndex(0) +1 >Emitted(13, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(13, 2) Source(13, 2) + SourceIndex(0) --- >>>for (j = 0; j < 10;) { 1-> @@ -321,17 +322,17 @@ sourceFile:sourceMapValidationFor.ts 10> ;) > 11> { -1->Emitted(13, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(13, 6) Source(14, 6) + SourceIndex(0) -3 >Emitted(13, 7) Source(14, 7) + SourceIndex(0) -4 >Emitted(13, 10) Source(14, 10) + SourceIndex(0) -5 >Emitted(13, 11) Source(14, 11) + SourceIndex(0) -6 >Emitted(13, 13) Source(14, 13) + SourceIndex(0) -7 >Emitted(13, 14) Source(14, 14) + SourceIndex(0) -8 >Emitted(13, 17) Source(14, 17) + SourceIndex(0) -9 >Emitted(13, 19) Source(14, 19) + SourceIndex(0) -10>Emitted(13, 22) Source(15, 1) + SourceIndex(0) -11>Emitted(13, 23) Source(15, 2) + SourceIndex(0) +1->Emitted(14, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(14, 6) Source(14, 6) + SourceIndex(0) +3 >Emitted(14, 7) Source(14, 7) + SourceIndex(0) +4 >Emitted(14, 10) Source(14, 10) + SourceIndex(0) +5 >Emitted(14, 11) Source(14, 11) + SourceIndex(0) +6 >Emitted(14, 13) Source(14, 13) + SourceIndex(0) +7 >Emitted(14, 14) Source(14, 14) + SourceIndex(0) +8 >Emitted(14, 17) Source(14, 17) + SourceIndex(0) +9 >Emitted(14, 19) Source(14, 19) + SourceIndex(0) +10>Emitted(14, 22) Source(15, 1) + SourceIndex(0) +11>Emitted(14, 23) Source(15, 2) + SourceIndex(0) --- >>> j++; 1 >^^^^ @@ -343,10 +344,10 @@ sourceFile:sourceMapValidationFor.ts 2 > j 3 > ++ 4 > ; -1 >Emitted(14, 5) Source(16, 5) + SourceIndex(0) -2 >Emitted(14, 6) Source(16, 6) + SourceIndex(0) -3 >Emitted(14, 8) Source(16, 8) + SourceIndex(0) -4 >Emitted(14, 9) Source(16, 9) + SourceIndex(0) +1 >Emitted(15, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(15, 6) Source(16, 6) + SourceIndex(0) +3 >Emitted(15, 8) Source(16, 8) + SourceIndex(0) +4 >Emitted(15, 9) Source(16, 9) + SourceIndex(0) --- >>>} 1 > @@ -355,8 +356,8 @@ sourceFile:sourceMapValidationFor.ts 1 > > 2 >} -1 >Emitted(15, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(15, 2) Source(17, 2) + SourceIndex(0) +1 >Emitted(16, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(16, 2) Source(17, 2) + SourceIndex(0) --- >>>for (var k = 0;; k++) { 1-> @@ -382,17 +383,17 @@ sourceFile:sourceMapValidationFor.ts 9 > ++ 10> ) 11> { -1->Emitted(16, 1) Source(18, 1) + SourceIndex(0) -2 >Emitted(16, 6) Source(18, 6) + SourceIndex(0) -3 >Emitted(16, 10) Source(18, 10) + SourceIndex(0) -4 >Emitted(16, 11) Source(18, 11) + SourceIndex(0) -5 >Emitted(16, 14) Source(18, 14) + SourceIndex(0) -6 >Emitted(16, 15) Source(18, 15) + SourceIndex(0) -7 >Emitted(16, 18) Source(18, 18) + SourceIndex(0) -8 >Emitted(16, 19) Source(18, 19) + SourceIndex(0) -9 >Emitted(16, 21) Source(18, 21) + SourceIndex(0) -10>Emitted(16, 23) Source(18, 23) + SourceIndex(0) -11>Emitted(16, 24) Source(18, 24) + SourceIndex(0) +1->Emitted(17, 1) Source(18, 1) + SourceIndex(0) +2 >Emitted(17, 6) Source(18, 6) + SourceIndex(0) +3 >Emitted(17, 10) Source(18, 10) + SourceIndex(0) +4 >Emitted(17, 11) Source(18, 11) + SourceIndex(0) +5 >Emitted(17, 14) Source(18, 14) + SourceIndex(0) +6 >Emitted(17, 15) Source(18, 15) + SourceIndex(0) +7 >Emitted(17, 18) Source(18, 18) + SourceIndex(0) +8 >Emitted(17, 19) Source(18, 19) + SourceIndex(0) +9 >Emitted(17, 21) Source(18, 21) + SourceIndex(0) +10>Emitted(17, 23) Source(18, 23) + SourceIndex(0) +11>Emitted(17, 24) Source(18, 24) + SourceIndex(0) --- >>>} 1 > @@ -401,8 +402,8 @@ sourceFile:sourceMapValidationFor.ts 1 > > 2 >} -1 >Emitted(17, 1) Source(19, 1) + SourceIndex(0) -2 >Emitted(17, 2) Source(19, 2) + SourceIndex(0) +1 >Emitted(18, 1) Source(19, 1) + SourceIndex(0) +2 >Emitted(18, 2) Source(19, 2) + SourceIndex(0) --- >>>for (k = 0;; k++) { 1-> @@ -427,16 +428,16 @@ sourceFile:sourceMapValidationFor.ts 9 > ) > 10> { -1->Emitted(18, 1) Source(20, 1) + SourceIndex(0) -2 >Emitted(18, 6) Source(20, 6) + SourceIndex(0) -3 >Emitted(18, 7) Source(20, 7) + SourceIndex(0) -4 >Emitted(18, 10) Source(20, 10) + SourceIndex(0) -5 >Emitted(18, 11) Source(20, 11) + SourceIndex(0) -6 >Emitted(18, 14) Source(20, 14) + SourceIndex(0) -7 >Emitted(18, 15) Source(20, 15) + SourceIndex(0) -8 >Emitted(18, 17) Source(20, 17) + SourceIndex(0) -9 >Emitted(18, 19) Source(21, 1) + SourceIndex(0) -10>Emitted(18, 20) Source(21, 2) + SourceIndex(0) +1->Emitted(19, 1) Source(20, 1) + SourceIndex(0) +2 >Emitted(19, 6) Source(20, 6) + SourceIndex(0) +3 >Emitted(19, 7) Source(20, 7) + SourceIndex(0) +4 >Emitted(19, 10) Source(20, 10) + SourceIndex(0) +5 >Emitted(19, 11) Source(20, 11) + SourceIndex(0) +6 >Emitted(19, 14) Source(20, 14) + SourceIndex(0) +7 >Emitted(19, 15) Source(20, 15) + SourceIndex(0) +8 >Emitted(19, 17) Source(20, 17) + SourceIndex(0) +9 >Emitted(19, 19) Source(21, 1) + SourceIndex(0) +10>Emitted(19, 20) Source(21, 2) + SourceIndex(0) --- >>>} 1 > @@ -445,8 +446,8 @@ sourceFile:sourceMapValidationFor.ts 1 > > 2 >} -1 >Emitted(19, 1) Source(22, 1) + SourceIndex(0) -2 >Emitted(19, 2) Source(22, 2) + SourceIndex(0) +1 >Emitted(20, 1) Source(22, 1) + SourceIndex(0) +2 >Emitted(20, 2) Source(22, 2) + SourceIndex(0) --- >>>for (; k < 10; k++) { 1-> @@ -470,16 +471,16 @@ sourceFile:sourceMapValidationFor.ts 8 > ++ 9 > ) 10> { -1->Emitted(20, 1) Source(23, 1) + SourceIndex(0) -2 >Emitted(20, 8) Source(23, 8) + SourceIndex(0) -3 >Emitted(20, 9) Source(23, 9) + SourceIndex(0) -4 >Emitted(20, 12) Source(23, 12) + SourceIndex(0) -5 >Emitted(20, 14) Source(23, 14) + SourceIndex(0) -6 >Emitted(20, 16) Source(23, 16) + SourceIndex(0) -7 >Emitted(20, 17) Source(23, 17) + SourceIndex(0) -8 >Emitted(20, 19) Source(23, 19) + SourceIndex(0) -9 >Emitted(20, 21) Source(23, 21) + SourceIndex(0) -10>Emitted(20, 22) Source(23, 22) + SourceIndex(0) +1->Emitted(21, 1) Source(23, 1) + SourceIndex(0) +2 >Emitted(21, 8) Source(23, 8) + SourceIndex(0) +3 >Emitted(21, 9) Source(23, 9) + SourceIndex(0) +4 >Emitted(21, 12) Source(23, 12) + SourceIndex(0) +5 >Emitted(21, 14) Source(23, 14) + SourceIndex(0) +6 >Emitted(21, 16) Source(23, 16) + SourceIndex(0) +7 >Emitted(21, 17) Source(23, 17) + SourceIndex(0) +8 >Emitted(21, 19) Source(23, 19) + SourceIndex(0) +9 >Emitted(21, 21) Source(23, 21) + SourceIndex(0) +10>Emitted(21, 22) Source(23, 22) + SourceIndex(0) --- >>>} 1 > @@ -488,8 +489,8 @@ sourceFile:sourceMapValidationFor.ts 1 > > 2 >} -1 >Emitted(21, 1) Source(24, 1) + SourceIndex(0) -2 >Emitted(21, 2) Source(24, 2) + SourceIndex(0) +1 >Emitted(22, 1) Source(24, 1) + SourceIndex(0) +2 >Emitted(22, 2) Source(24, 2) + SourceIndex(0) --- >>>for (;;) { 1-> @@ -499,9 +500,9 @@ sourceFile:sourceMapValidationFor.ts > 2 >for (;;) 3 > { -1->Emitted(22, 1) Source(25, 1) + SourceIndex(0) -2 >Emitted(22, 10) Source(25, 10) + SourceIndex(0) -3 >Emitted(22, 11) Source(25, 11) + SourceIndex(0) +1->Emitted(23, 1) Source(25, 1) + SourceIndex(0) +2 >Emitted(23, 10) Source(25, 10) + SourceIndex(0) +3 >Emitted(23, 11) Source(25, 11) + SourceIndex(0) --- >>> i++; 1 >^^^^ @@ -513,10 +514,10 @@ sourceFile:sourceMapValidationFor.ts 2 > i 3 > ++ 4 > ; -1 >Emitted(23, 5) Source(26, 5) + SourceIndex(0) -2 >Emitted(23, 6) Source(26, 6) + SourceIndex(0) -3 >Emitted(23, 8) Source(26, 8) + SourceIndex(0) -4 >Emitted(23, 9) Source(26, 9) + SourceIndex(0) +1 >Emitted(24, 5) Source(26, 5) + SourceIndex(0) +2 >Emitted(24, 6) Source(26, 6) + SourceIndex(0) +3 >Emitted(24, 8) Source(26, 8) + SourceIndex(0) +4 >Emitted(24, 9) Source(26, 9) + SourceIndex(0) --- >>>} 1 > @@ -525,8 +526,8 @@ sourceFile:sourceMapValidationFor.ts 1 > > 2 >} -1 >Emitted(24, 1) Source(27, 1) + SourceIndex(0) -2 >Emitted(24, 2) Source(27, 2) + SourceIndex(0) +1 >Emitted(25, 1) Source(27, 1) + SourceIndex(0) +2 >Emitted(25, 2) Source(27, 2) + SourceIndex(0) --- >>>for (;;) { 1-> @@ -537,9 +538,9 @@ sourceFile:sourceMapValidationFor.ts 2 >for (;;) > 3 > { -1->Emitted(25, 1) Source(28, 1) + SourceIndex(0) -2 >Emitted(25, 10) Source(29, 1) + SourceIndex(0) -3 >Emitted(25, 11) Source(29, 2) + SourceIndex(0) +1->Emitted(26, 1) Source(28, 1) + SourceIndex(0) +2 >Emitted(26, 10) Source(29, 1) + SourceIndex(0) +3 >Emitted(26, 11) Source(29, 2) + SourceIndex(0) --- >>> i++; 1 >^^^^ @@ -551,10 +552,10 @@ sourceFile:sourceMapValidationFor.ts 2 > i 3 > ++ 4 > ; -1 >Emitted(26, 5) Source(30, 5) + SourceIndex(0) -2 >Emitted(26, 6) Source(30, 6) + SourceIndex(0) -3 >Emitted(26, 8) Source(30, 8) + SourceIndex(0) -4 >Emitted(26, 9) Source(30, 9) + SourceIndex(0) +1 >Emitted(27, 5) Source(30, 5) + SourceIndex(0) +2 >Emitted(27, 6) Source(30, 6) + SourceIndex(0) +3 >Emitted(27, 8) Source(30, 8) + SourceIndex(0) +4 >Emitted(27, 9) Source(30, 9) + SourceIndex(0) --- >>>} 1 > @@ -563,8 +564,8 @@ sourceFile:sourceMapValidationFor.ts 1 > > 2 >} -1 >Emitted(27, 1) Source(31, 1) + SourceIndex(0) -2 >Emitted(27, 2) Source(31, 2) + SourceIndex(0) +1 >Emitted(28, 1) Source(31, 1) + SourceIndex(0) +2 >Emitted(28, 2) Source(31, 2) + SourceIndex(0) --- >>>for (i = 0, j = 20; j < 20, i < 20; j++) { 1-> @@ -612,28 +613,28 @@ sourceFile:sourceMapValidationFor.ts 20> ++ 21> ) 22> { -1->Emitted(28, 1) Source(32, 1) + SourceIndex(0) -2 >Emitted(28, 6) Source(32, 6) + SourceIndex(0) -3 >Emitted(28, 7) Source(32, 7) + SourceIndex(0) -4 >Emitted(28, 10) Source(32, 10) + SourceIndex(0) -5 >Emitted(28, 11) Source(32, 11) + SourceIndex(0) -6 >Emitted(28, 13) Source(32, 13) + SourceIndex(0) -7 >Emitted(28, 14) Source(32, 14) + SourceIndex(0) -8 >Emitted(28, 17) Source(32, 17) + SourceIndex(0) -9 >Emitted(28, 19) Source(32, 19) + SourceIndex(0) -10>Emitted(28, 21) Source(32, 21) + SourceIndex(0) -11>Emitted(28, 22) Source(32, 22) + SourceIndex(0) -12>Emitted(28, 25) Source(32, 25) + SourceIndex(0) -13>Emitted(28, 27) Source(32, 27) + SourceIndex(0) -14>Emitted(28, 29) Source(32, 29) + SourceIndex(0) -15>Emitted(28, 30) Source(32, 30) + SourceIndex(0) -16>Emitted(28, 33) Source(32, 33) + SourceIndex(0) -17>Emitted(28, 35) Source(32, 35) + SourceIndex(0) -18>Emitted(28, 37) Source(32, 37) + SourceIndex(0) -19>Emitted(28, 38) Source(32, 38) + SourceIndex(0) -20>Emitted(28, 40) Source(32, 40) + SourceIndex(0) -21>Emitted(28, 42) Source(32, 42) + SourceIndex(0) -22>Emitted(28, 43) Source(32, 43) + SourceIndex(0) +1->Emitted(29, 1) Source(32, 1) + SourceIndex(0) +2 >Emitted(29, 6) Source(32, 6) + SourceIndex(0) +3 >Emitted(29, 7) Source(32, 7) + SourceIndex(0) +4 >Emitted(29, 10) Source(32, 10) + SourceIndex(0) +5 >Emitted(29, 11) Source(32, 11) + SourceIndex(0) +6 >Emitted(29, 13) Source(32, 13) + SourceIndex(0) +7 >Emitted(29, 14) Source(32, 14) + SourceIndex(0) +8 >Emitted(29, 17) Source(32, 17) + SourceIndex(0) +9 >Emitted(29, 19) Source(32, 19) + SourceIndex(0) +10>Emitted(29, 21) Source(32, 21) + SourceIndex(0) +11>Emitted(29, 22) Source(32, 22) + SourceIndex(0) +12>Emitted(29, 25) Source(32, 25) + SourceIndex(0) +13>Emitted(29, 27) Source(32, 27) + SourceIndex(0) +14>Emitted(29, 29) Source(32, 29) + SourceIndex(0) +15>Emitted(29, 30) Source(32, 30) + SourceIndex(0) +16>Emitted(29, 33) Source(32, 33) + SourceIndex(0) +17>Emitted(29, 35) Source(32, 35) + SourceIndex(0) +18>Emitted(29, 37) Source(32, 37) + SourceIndex(0) +19>Emitted(29, 38) Source(32, 38) + SourceIndex(0) +20>Emitted(29, 40) Source(32, 40) + SourceIndex(0) +21>Emitted(29, 42) Source(32, 42) + SourceIndex(0) +22>Emitted(29, 43) Source(32, 43) + SourceIndex(0) --- >>>} 1 > @@ -642,7 +643,7 @@ sourceFile:sourceMapValidationFor.ts 1 > > 2 >} -1 >Emitted(29, 1) Source(33, 1) + SourceIndex(0) -2 >Emitted(29, 2) Source(33, 2) + SourceIndex(0) +1 >Emitted(30, 1) Source(33, 1) + SourceIndex(0) +2 >Emitted(30, 2) Source(33, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationFor.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationForIn.js b/tests/baselines/reference/sourceMapValidationForIn.js index 41e8bf2bebd00..5c29ed3c8ad56 100644 --- a/tests/baselines/reference/sourceMapValidationForIn.js +++ b/tests/baselines/reference/sourceMapValidationForIn.js @@ -17,6 +17,7 @@ for (x in String) } //// [sourceMapValidationForIn.js] +"use strict"; for (var x in String) { WScript.Echo(x); } diff --git a/tests/baselines/reference/sourceMapValidationForIn.js.map b/tests/baselines/reference/sourceMapValidationForIn.js.map index 205d348776f96..1cf950a80b35b 100644 --- a/tests/baselines/reference/sourceMapValidationForIn.js.map +++ b/tests/baselines/reference/sourceMapValidationForIn.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationForIn.js.map] -{"version":3,"file":"sourceMapValidationForIn.js","sourceRoot":"","sources":["sourceMapValidationForIn.ts"],"names":[],"mappings":"AAAA,KAAK,IAAI,CAAC,IAAI,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AACD,KAAK,CAAC,IAAI,MAAM,EAAE,CAAC;IACf,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AACD,KAAK,IAAI,EAAE,IAAI,MAAM,EACrB,CAAC;IACG,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACrB,CAAC;AACD,KAAK,CAAC,IAAI,MAAM,EAChB,CAAC;IACG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,Zm9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gICBXU2NyaXB0LkVjaG8oeCk7Cn0KZm9yICh2YXIgeDIgaW4gU3RyaW5nKQp7CiAgICBXU2NyaXB0LkVjaG8oeDIpOwp9CmZvciAoeCBpbiBTdHJpbmcpCnsKICAgIFdTY3JpcHQuRWNobyh4KTsKfQ== +{"version":3,"file":"sourceMapValidationForIn.js","sourceRoot":"","sources":["sourceMapValidationForIn.ts"],"names":[],"mappings":";AAAA,KAAK,IAAI,CAAC,IAAI,MAAM,EAAE,CAAC;IACnB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AACD,KAAK,CAAC,IAAI,MAAM,EAAE,CAAC;IACf,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC;AACD,KAAK,IAAI,EAAE,IAAI,MAAM,EACrB,CAAC;IACG,OAAO,CAAC,IAAI,CAAC,EAAE,CAAC,CAAC;AACrB,CAAC;AACD,KAAK,CAAC,IAAI,MAAM,EAChB,CAAC;IACG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AACpB,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KZm9yICh2YXIgeCBpbiBTdHJpbmcpIHsNCiAgICBXU2NyaXB0LkVjaG8oeCk7DQp9DQpmb3IgKHggaW4gU3RyaW5nKSB7DQogICAgV1NjcmlwdC5FY2hvKHgpOw0KfQ0KZm9yICh2YXIgeDIgaW4gU3RyaW5nKSB7DQogICAgV1NjcmlwdC5FY2hvKHgyKTsNCn0NCmZvciAoeCBpbiBTdHJpbmcpIHsNCiAgICBXU2NyaXB0LkVjaG8oeCk7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uRm9ySW4uanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkZvckluLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkZvckluLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxLQUFLLElBQUksQ0FBQyxJQUFJLE1BQU0sRUFBRSxDQUFDO0lBQ25CLE9BQU8sQ0FBQyxJQUFJLENBQUMsQ0FBQyxDQUFDLENBQUM7QUFDcEIsQ0FBQztBQUNELEtBQUssQ0FBQyxJQUFJLE1BQU0sRUFBRSxDQUFDO0lBQ2YsT0FBTyxDQUFDLElBQUksQ0FBQyxDQUFDLENBQUMsQ0FBQztBQUNwQixDQUFDO0FBQ0QsS0FBSyxJQUFJLEVBQUUsSUFBSSxNQUFNLEVBQ3JCLENBQUM7SUFDRyxPQUFPLENBQUMsSUFBSSxDQUFDLEVBQUUsQ0FBQyxDQUFDO0FBQ3JCLENBQUM7QUFDRCxLQUFLLENBQUMsSUFBSSxNQUFNLEVBQ2hCLENBQUM7SUFDRyxPQUFPLENBQUMsSUFBSSxDQUFDLENBQUMsQ0FBQyxDQUFDO0FBQ3BCLENBQUMifQ==,Zm9yICh2YXIgeCBpbiBTdHJpbmcpIHsKICAgIFdTY3JpcHQuRWNobyh4KTsKfQpmb3IgKHggaW4gU3RyaW5nKSB7CiAgICBXU2NyaXB0LkVjaG8oeCk7Cn0KZm9yICh2YXIgeDIgaW4gU3RyaW5nKQp7CiAgICBXU2NyaXB0LkVjaG8oeDIpOwp9CmZvciAoeCBpbiBTdHJpbmcpCnsKICAgIFdTY3JpcHQuRWNobyh4KTsKfQ== diff --git a/tests/baselines/reference/sourceMapValidationForIn.sourcemap.txt b/tests/baselines/reference/sourceMapValidationForIn.sourcemap.txt index 3bfdbaf81baf7..1a10ec07664c8 100644 --- a/tests/baselines/reference/sourceMapValidationForIn.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationForIn.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationForIn.ts emittedFile:sourceMapValidationForIn.js sourceFile:sourceMapValidationForIn.ts ------------------------------------------------------------------- +>>>"use strict"; >>>for (var x in String) { 1 > 2 >^^^^^ @@ -25,14 +26,14 @@ sourceFile:sourceMapValidationForIn.ts 6 > String 7 > ) 8 > { -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -3 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -4 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -5 >Emitted(1, 15) Source(1, 15) + SourceIndex(0) -6 >Emitted(1, 21) Source(1, 21) + SourceIndex(0) -7 >Emitted(1, 23) Source(1, 23) + SourceIndex(0) -8 >Emitted(1, 24) Source(1, 24) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +3 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +4 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +5 >Emitted(2, 15) Source(1, 15) + SourceIndex(0) +6 >Emitted(2, 21) Source(1, 21) + SourceIndex(0) +7 >Emitted(2, 23) Source(1, 23) + SourceIndex(0) +8 >Emitted(2, 24) Source(1, 24) + SourceIndex(0) --- >>> WScript.Echo(x); 1 >^^^^ @@ -52,14 +53,14 @@ sourceFile:sourceMapValidationForIn.ts 6 > x 7 > ) 8 > ; -1 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 12) Source(2, 12) + SourceIndex(0) -3 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) -4 >Emitted(2, 17) Source(2, 17) + SourceIndex(0) -5 >Emitted(2, 18) Source(2, 18) + SourceIndex(0) -6 >Emitted(2, 19) Source(2, 19) + SourceIndex(0) -7 >Emitted(2, 20) Source(2, 20) + SourceIndex(0) -8 >Emitted(2, 21) Source(2, 21) + SourceIndex(0) +1 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) +3 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) +4 >Emitted(3, 17) Source(2, 17) + SourceIndex(0) +5 >Emitted(3, 18) Source(2, 18) + SourceIndex(0) +6 >Emitted(3, 19) Source(2, 19) + SourceIndex(0) +7 >Emitted(3, 20) Source(2, 20) + SourceIndex(0) +8 >Emitted(3, 21) Source(2, 21) + SourceIndex(0) --- >>>} 1 > @@ -68,8 +69,8 @@ sourceFile:sourceMapValidationForIn.ts 1 > > 2 >} -1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(3, 2) Source(3, 2) + SourceIndex(0) +1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(4, 2) Source(3, 2) + SourceIndex(0) --- >>>for (x in String) { 1-> @@ -88,13 +89,13 @@ sourceFile:sourceMapValidationForIn.ts 5 > String 6 > ) 7 > { -1->Emitted(4, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(4, 6) Source(4, 6) + SourceIndex(0) -3 >Emitted(4, 7) Source(4, 7) + SourceIndex(0) -4 >Emitted(4, 11) Source(4, 11) + SourceIndex(0) -5 >Emitted(4, 17) Source(4, 17) + SourceIndex(0) -6 >Emitted(4, 19) Source(4, 19) + SourceIndex(0) -7 >Emitted(4, 20) Source(4, 20) + SourceIndex(0) +1->Emitted(5, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(5, 6) Source(4, 6) + SourceIndex(0) +3 >Emitted(5, 7) Source(4, 7) + SourceIndex(0) +4 >Emitted(5, 11) Source(4, 11) + SourceIndex(0) +5 >Emitted(5, 17) Source(4, 17) + SourceIndex(0) +6 >Emitted(5, 19) Source(4, 19) + SourceIndex(0) +7 >Emitted(5, 20) Source(4, 20) + SourceIndex(0) --- >>> WScript.Echo(x); 1->^^^^ @@ -114,14 +115,14 @@ sourceFile:sourceMapValidationForIn.ts 6 > x 7 > ) 8 > ; -1->Emitted(5, 5) Source(5, 5) + SourceIndex(0) -2 >Emitted(5, 12) Source(5, 12) + SourceIndex(0) -3 >Emitted(5, 13) Source(5, 13) + SourceIndex(0) -4 >Emitted(5, 17) Source(5, 17) + SourceIndex(0) -5 >Emitted(5, 18) Source(5, 18) + SourceIndex(0) -6 >Emitted(5, 19) Source(5, 19) + SourceIndex(0) -7 >Emitted(5, 20) Source(5, 20) + SourceIndex(0) -8 >Emitted(5, 21) Source(5, 21) + SourceIndex(0) +1->Emitted(6, 5) Source(5, 5) + SourceIndex(0) +2 >Emitted(6, 12) Source(5, 12) + SourceIndex(0) +3 >Emitted(6, 13) Source(5, 13) + SourceIndex(0) +4 >Emitted(6, 17) Source(5, 17) + SourceIndex(0) +5 >Emitted(6, 18) Source(5, 18) + SourceIndex(0) +6 >Emitted(6, 19) Source(5, 19) + SourceIndex(0) +7 >Emitted(6, 20) Source(5, 20) + SourceIndex(0) +8 >Emitted(6, 21) Source(5, 21) + SourceIndex(0) --- >>>} 1 > @@ -130,8 +131,8 @@ sourceFile:sourceMapValidationForIn.ts 1 > > 2 >} -1 >Emitted(6, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(6, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(6, 2) + SourceIndex(0) --- >>>for (var x2 in String) { 1-> @@ -152,14 +153,14 @@ sourceFile:sourceMapValidationForIn.ts 7 > ) > 8 > { -1->Emitted(7, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(7, 6) Source(7, 6) + SourceIndex(0) -3 >Emitted(7, 10) Source(7, 10) + SourceIndex(0) -4 >Emitted(7, 12) Source(7, 12) + SourceIndex(0) -5 >Emitted(7, 16) Source(7, 16) + SourceIndex(0) -6 >Emitted(7, 22) Source(7, 22) + SourceIndex(0) -7 >Emitted(7, 24) Source(8, 1) + SourceIndex(0) -8 >Emitted(7, 25) Source(8, 2) + SourceIndex(0) +1->Emitted(8, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(8, 6) Source(7, 6) + SourceIndex(0) +3 >Emitted(8, 10) Source(7, 10) + SourceIndex(0) +4 >Emitted(8, 12) Source(7, 12) + SourceIndex(0) +5 >Emitted(8, 16) Source(7, 16) + SourceIndex(0) +6 >Emitted(8, 22) Source(7, 22) + SourceIndex(0) +7 >Emitted(8, 24) Source(8, 1) + SourceIndex(0) +8 >Emitted(8, 25) Source(8, 2) + SourceIndex(0) --- >>> WScript.Echo(x2); 1 >^^^^ @@ -179,14 +180,14 @@ sourceFile:sourceMapValidationForIn.ts 6 > x2 7 > ) 8 > ; -1 >Emitted(8, 5) Source(9, 5) + SourceIndex(0) -2 >Emitted(8, 12) Source(9, 12) + SourceIndex(0) -3 >Emitted(8, 13) Source(9, 13) + SourceIndex(0) -4 >Emitted(8, 17) Source(9, 17) + SourceIndex(0) -5 >Emitted(8, 18) Source(9, 18) + SourceIndex(0) -6 >Emitted(8, 20) Source(9, 20) + SourceIndex(0) -7 >Emitted(8, 21) Source(9, 21) + SourceIndex(0) -8 >Emitted(8, 22) Source(9, 22) + SourceIndex(0) +1 >Emitted(9, 5) Source(9, 5) + SourceIndex(0) +2 >Emitted(9, 12) Source(9, 12) + SourceIndex(0) +3 >Emitted(9, 13) Source(9, 13) + SourceIndex(0) +4 >Emitted(9, 17) Source(9, 17) + SourceIndex(0) +5 >Emitted(9, 18) Source(9, 18) + SourceIndex(0) +6 >Emitted(9, 20) Source(9, 20) + SourceIndex(0) +7 >Emitted(9, 21) Source(9, 21) + SourceIndex(0) +8 >Emitted(9, 22) Source(9, 22) + SourceIndex(0) --- >>>} 1 > @@ -195,8 +196,8 @@ sourceFile:sourceMapValidationForIn.ts 1 > > 2 >} -1 >Emitted(9, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(10, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(10, 2) + SourceIndex(0) --- >>>for (x in String) { 1-> @@ -216,13 +217,13 @@ sourceFile:sourceMapValidationForIn.ts 6 > ) > 7 > { -1->Emitted(10, 1) Source(11, 1) + SourceIndex(0) -2 >Emitted(10, 6) Source(11, 6) + SourceIndex(0) -3 >Emitted(10, 7) Source(11, 7) + SourceIndex(0) -4 >Emitted(10, 11) Source(11, 11) + SourceIndex(0) -5 >Emitted(10, 17) Source(11, 17) + SourceIndex(0) -6 >Emitted(10, 19) Source(12, 1) + SourceIndex(0) -7 >Emitted(10, 20) Source(12, 2) + SourceIndex(0) +1->Emitted(11, 1) Source(11, 1) + SourceIndex(0) +2 >Emitted(11, 6) Source(11, 6) + SourceIndex(0) +3 >Emitted(11, 7) Source(11, 7) + SourceIndex(0) +4 >Emitted(11, 11) Source(11, 11) + SourceIndex(0) +5 >Emitted(11, 17) Source(11, 17) + SourceIndex(0) +6 >Emitted(11, 19) Source(12, 1) + SourceIndex(0) +7 >Emitted(11, 20) Source(12, 2) + SourceIndex(0) --- >>> WScript.Echo(x); 1->^^^^ @@ -242,14 +243,14 @@ sourceFile:sourceMapValidationForIn.ts 6 > x 7 > ) 8 > ; -1->Emitted(11, 5) Source(13, 5) + SourceIndex(0) -2 >Emitted(11, 12) Source(13, 12) + SourceIndex(0) -3 >Emitted(11, 13) Source(13, 13) + SourceIndex(0) -4 >Emitted(11, 17) Source(13, 17) + SourceIndex(0) -5 >Emitted(11, 18) Source(13, 18) + SourceIndex(0) -6 >Emitted(11, 19) Source(13, 19) + SourceIndex(0) -7 >Emitted(11, 20) Source(13, 20) + SourceIndex(0) -8 >Emitted(11, 21) Source(13, 21) + SourceIndex(0) +1->Emitted(12, 5) Source(13, 5) + SourceIndex(0) +2 >Emitted(12, 12) Source(13, 12) + SourceIndex(0) +3 >Emitted(12, 13) Source(13, 13) + SourceIndex(0) +4 >Emitted(12, 17) Source(13, 17) + SourceIndex(0) +5 >Emitted(12, 18) Source(13, 18) + SourceIndex(0) +6 >Emitted(12, 19) Source(13, 19) + SourceIndex(0) +7 >Emitted(12, 20) Source(13, 20) + SourceIndex(0) +8 >Emitted(12, 21) Source(13, 21) + SourceIndex(0) --- >>>} 1 > @@ -258,7 +259,7 @@ sourceFile:sourceMapValidationForIn.ts 1 > > 2 >} -1 >Emitted(12, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(12, 2) Source(14, 2) + SourceIndex(0) +1 >Emitted(13, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(13, 2) Source(14, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationForIn.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationFunctionExpressions.js b/tests/baselines/reference/sourceMapValidationFunctionExpressions.js index c99cc688925b9..d3d99c1bcfb7c 100644 --- a/tests/baselines/reference/sourceMapValidationFunctionExpressions.js +++ b/tests/baselines/reference/sourceMapValidationFunctionExpressions.js @@ -10,6 +10,7 @@ greet("Hello"); var incrGreetings = () => greetings++; //// [sourceMapValidationFunctionExpressions.js] +"use strict"; var greetings = 0; var greet = function (greeting) { greetings++; diff --git a/tests/baselines/reference/sourceMapValidationFunctionExpressions.js.map b/tests/baselines/reference/sourceMapValidationFunctionExpressions.js.map index 27ea00ca84320..2dea511217458 100644 --- a/tests/baselines/reference/sourceMapValidationFunctionExpressions.js.map +++ b/tests/baselines/reference/sourceMapValidationFunctionExpressions.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationFunctionExpressions.js.map] -{"version":3,"file":"sourceMapValidationFunctionExpressions.js","sourceRoot":"","sources":["sourceMapValidationFunctionExpressions.ts"],"names":[],"mappings":"AAAA,IAAI,SAAS,GAAG,CAAC,CAAC;AAClB,IAAI,KAAK,GAAG,UAAC,QAAgB;IACzB,SAAS,EAAE,CAAC;IACZ,OAAO,SAAS,CAAC;AACrB,CAAC,CAAA;AACD,KAAK,CAAC,OAAO,CAAC,CAAC;AACf,IAAI,aAAa,GAAG,cAAM,OAAA,SAAS,EAAE,EAAX,CAAW,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGdyZWV0aW5ncyA9IDA7DQp2YXIgZ3JlZXQgPSBmdW5jdGlvbiAoZ3JlZXRpbmcpIHsNCiAgICBncmVldGluZ3MrKzsNCiAgICByZXR1cm4gZ3JlZXRpbmdzOw0KfTsNCmdyZWV0KCJIZWxsbyIpOw0KdmFyIGluY3JHcmVldGluZ3MgPSBmdW5jdGlvbiAoKSB7IHJldHVybiBncmVldGluZ3MrKzsgfTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25GdW5jdGlvbkV4cHJlc3Npb25zLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkZ1bmN0aW9uRXhwcmVzc2lvbnMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzb3VyY2VNYXBWYWxpZGF0aW9uRnVuY3Rpb25FeHByZXNzaW9ucy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxJQUFJLFNBQVMsR0FBRyxDQUFDLENBQUM7QUFDbEIsSUFBSSxLQUFLLEdBQUcsVUFBQyxRQUFnQjtJQUN6QixTQUFTLEVBQUUsQ0FBQztJQUNaLE9BQU8sU0FBUyxDQUFDO0FBQ3JCLENBQUMsQ0FBQTtBQUNELEtBQUssQ0FBQyxPQUFPLENBQUMsQ0FBQztBQUNmLElBQUksYUFBYSxHQUFHLGNBQU0sT0FBQSxTQUFTLEVBQUUsRUFBWCxDQUFXLENBQUMifQ==,dmFyIGdyZWV0aW5ncyA9IDA7CnZhciBncmVldCA9IChncmVldGluZzogc3RyaW5nKTogbnVtYmVyID0+IHsKICAgIGdyZWV0aW5ncysrOwogICAgcmV0dXJuIGdyZWV0aW5nczsKfQpncmVldCgiSGVsbG8iKTsKdmFyIGluY3JHcmVldGluZ3MgPSAoKSA9PiBncmVldGluZ3MrKzs= +{"version":3,"file":"sourceMapValidationFunctionExpressions.js","sourceRoot":"","sources":["sourceMapValidationFunctionExpressions.ts"],"names":[],"mappings":";AAAA,IAAI,SAAS,GAAG,CAAC,CAAC;AAClB,IAAI,KAAK,GAAG,UAAC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c3RyaW5nKTogbnVtYmVyID0+IHsKICAgIGdyZWV0aW5ncysrOwogICAgcmV0dXJuIGdyZWV0aW5nczsKfQpncmVldCgiSGVsbG8iKTsKdmFyIGluY3JHcmVldGluZ3MgPSAoKSA9PiBncmVldGluZ3MrKzs= diff --git a/tests/baselines/reference/sourceMapValidationFunctionExpressions.sourcemap.txt b/tests/baselines/reference/sourceMapValidationFunctionExpressions.sourcemap.txt index 3d1acb1821a69..1f2f602a34102 100644 --- a/tests/baselines/reference/sourceMapValidationFunctionExpressions.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationFunctionExpressions.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationFunctionExpressions.ts emittedFile:sourceMapValidationFunctionExpressions.js sourceFile:sourceMapValidationFunctionExpressions.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var greetings = 0; 1 > 2 >^^^^ @@ -22,12 +23,12 @@ sourceFile:sourceMapValidationFunctionExpressions.ts 4 > = 5 > 0 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 14) Source(1, 14) + SourceIndex(0) -4 >Emitted(1, 17) Source(1, 17) + SourceIndex(0) -5 >Emitted(1, 18) Source(1, 18) + SourceIndex(0) -6 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 14) Source(1, 14) + SourceIndex(0) +4 >Emitted(2, 17) Source(1, 17) + SourceIndex(0) +5 >Emitted(2, 18) Source(1, 18) + SourceIndex(0) +6 >Emitted(2, 19) Source(1, 19) + SourceIndex(0) --- >>>var greet = function (greeting) { 1-> @@ -43,12 +44,12 @@ sourceFile:sourceMapValidationFunctionExpressions.ts 4 > = 5 > ( 6 > greeting: string -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -3 >Emitted(2, 10) Source(2, 10) + SourceIndex(0) -4 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) -5 >Emitted(2, 23) Source(2, 14) + SourceIndex(0) -6 >Emitted(2, 31) Source(2, 30) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +3 >Emitted(3, 10) Source(2, 10) + SourceIndex(0) +4 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) +5 >Emitted(3, 23) Source(2, 14) + SourceIndex(0) +6 >Emitted(3, 31) Source(2, 30) + SourceIndex(0) --- >>> greetings++; 1 >^^^^ @@ -61,10 +62,10 @@ sourceFile:sourceMapValidationFunctionExpressions.ts 2 > greetings 3 > ++ 4 > ; -1 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(3, 14) Source(3, 14) + SourceIndex(0) -3 >Emitted(3, 16) Source(3, 16) + SourceIndex(0) -4 >Emitted(3, 17) Source(3, 17) + SourceIndex(0) +1 >Emitted(4, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(4, 14) Source(3, 14) + SourceIndex(0) +3 >Emitted(4, 16) Source(3, 16) + SourceIndex(0) +4 >Emitted(4, 17) Source(3, 17) + SourceIndex(0) --- >>> return greetings; 1->^^^^ @@ -76,10 +77,10 @@ sourceFile:sourceMapValidationFunctionExpressions.ts 2 > return 3 > greetings 4 > ; -1->Emitted(4, 5) Source(4, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(4, 12) + SourceIndex(0) -3 >Emitted(4, 21) Source(4, 21) + SourceIndex(0) -4 >Emitted(4, 22) Source(4, 22) + SourceIndex(0) +1->Emitted(5, 5) Source(4, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(4, 12) + SourceIndex(0) +3 >Emitted(5, 21) Source(4, 21) + SourceIndex(0) +4 >Emitted(5, 22) Source(4, 22) + SourceIndex(0) --- >>>}; 1 > @@ -90,9 +91,9 @@ sourceFile:sourceMapValidationFunctionExpressions.ts > 2 >} 3 > -1 >Emitted(5, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(5, 2) + SourceIndex(0) -3 >Emitted(5, 3) Source(5, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(5, 2) + SourceIndex(0) +3 >Emitted(6, 3) Source(5, 2) + SourceIndex(0) --- >>>greet("Hello"); 1-> @@ -109,12 +110,12 @@ sourceFile:sourceMapValidationFunctionExpressions.ts 4 > "Hello" 5 > ) 6 > ; -1->Emitted(6, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(6, 6) Source(6, 6) + SourceIndex(0) -3 >Emitted(6, 7) Source(6, 7) + SourceIndex(0) -4 >Emitted(6, 14) Source(6, 14) + SourceIndex(0) -5 >Emitted(6, 15) Source(6, 15) + SourceIndex(0) -6 >Emitted(6, 16) Source(6, 16) + SourceIndex(0) +1->Emitted(7, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(7, 6) Source(6, 6) + SourceIndex(0) +3 >Emitted(7, 7) Source(6, 7) + SourceIndex(0) +4 >Emitted(7, 14) Source(6, 14) + SourceIndex(0) +5 >Emitted(7, 15) Source(6, 15) + SourceIndex(0) +6 >Emitted(7, 16) Source(6, 16) + SourceIndex(0) --- >>>var incrGreetings = function () { return greetings++; }; 1-> @@ -141,16 +142,16 @@ sourceFile:sourceMapValidationFunctionExpressions.ts 9 > 10> greetings++ 11> ; -1->Emitted(7, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(7, 18) Source(7, 18) + SourceIndex(0) -4 >Emitted(7, 21) Source(7, 21) + SourceIndex(0) -5 >Emitted(7, 35) Source(7, 27) + SourceIndex(0) -6 >Emitted(7, 42) Source(7, 27) + SourceIndex(0) -7 >Emitted(7, 51) Source(7, 36) + SourceIndex(0) -8 >Emitted(7, 53) Source(7, 38) + SourceIndex(0) -9 >Emitted(7, 55) Source(7, 27) + SourceIndex(0) -10>Emitted(7, 56) Source(7, 38) + SourceIndex(0) -11>Emitted(7, 57) Source(7, 39) + SourceIndex(0) +1->Emitted(8, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(8, 18) Source(7, 18) + SourceIndex(0) +4 >Emitted(8, 21) Source(7, 21) + SourceIndex(0) +5 >Emitted(8, 35) Source(7, 27) + SourceIndex(0) +6 >Emitted(8, 42) Source(7, 27) + SourceIndex(0) +7 >Emitted(8, 51) Source(7, 36) + SourceIndex(0) +8 >Emitted(8, 53) Source(7, 38) + SourceIndex(0) +9 >Emitted(8, 55) Source(7, 27) + SourceIndex(0) +10>Emitted(8, 56) Source(7, 38) + SourceIndex(0) +11>Emitted(8, 57) Source(7, 39) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationFunctionExpressions.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.js b/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.js index 259191c6eb2c6..2d7bb53e415b3 100644 --- a/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.js +++ b/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.js @@ -4,5 +4,6 @@ var x = { n() { } }; //// [sourceMapValidationFunctionPropertyAssignment.js] +"use strict"; var x = { n: function () { } }; //# sourceMappingURL=sourceMapValidationFunctionPropertyAssignment.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.js.map b/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.js.map index 1d9c1134ca2fb..7f57febb417e9 100644 --- a/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.js.map +++ b/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationFunctionPropertyAssignment.js.map] -{"version":3,"file":"sourceMapValidationFunctionPropertyAssignment.js","sourceRoot":"","sources":["sourceMapValidationFunctionPropertyAssignment.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,EAAE,CAAC,gBAAK,CAAC,EAAE,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHggPSB7IG46IGZ1bmN0aW9uICgpIHsgfSB9Ow0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkZ1bmN0aW9uUHJvcGVydHlBc3NpZ25tZW50LmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkZ1bmN0aW9uUHJvcGVydHlBc3NpZ25tZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkZ1bmN0aW9uUHJvcGVydHlBc3NpZ25tZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyxnQkFBSyxDQUFDLEVBQUUsQ0FBQyJ9,dmFyIHggPSB7IG4oKSB7IH0gfTs= +{"version":3,"file":"sourceMapValidationFunctionPropertyAssignment.js","sourceRoot":"","sources":["sourceMapValidationFunctionPropertyAssignment.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,EAAE,CAAC,gBAAK,CAAC,EAAE,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIHggPSB7IG46IGZ1bmN0aW9uICgpIHsgfSB9Ow0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbkZ1bmN0aW9uUHJvcGVydHlBc3NpZ25tZW50LmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkZ1bmN0aW9uUHJvcGVydHlBc3NpZ25tZW50LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbkZ1bmN0aW9uUHJvcGVydHlBc3NpZ25tZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUMsZ0JBQUssQ0FBQyxFQUFFLENBQUMifQ==,dmFyIHggPSB7IG4oKSB7IH0gfTs= diff --git a/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.sourcemap.txt b/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.sourcemap.txt index 5171bbb560d42..3380b5a58166e 100644 --- a/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationFunctionPropertyAssignment.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationFunctionPropertyAssignment.ts emittedFile:sourceMapValidationFunctionPropertyAssignment.js sourceFile:sourceMapValidationFunctionPropertyAssignment.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var x = { n: function () { } }; 1 > 2 >^^^^ @@ -30,15 +31,15 @@ sourceFile:sourceMapValidationFunctionPropertyAssignment.ts 8 > } 9 > } 10> ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) -7 >Emitted(1, 28) Source(1, 17) + SourceIndex(0) -8 >Emitted(1, 29) Source(1, 18) + SourceIndex(0) -9 >Emitted(1, 31) Source(1, 20) + SourceIndex(0) -10>Emitted(1, 32) Source(1, 21) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) +7 >Emitted(2, 28) Source(1, 17) + SourceIndex(0) +8 >Emitted(2, 29) Source(1, 18) + SourceIndex(0) +9 >Emitted(2, 31) Source(1, 20) + SourceIndex(0) +10>Emitted(2, 32) Source(1, 21) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationFunctionPropertyAssignment.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationFunctions.js b/tests/baselines/reference/sourceMapValidationFunctions.js index b4105ebe443b4..749b459d6c0f9 100644 --- a/tests/baselines/reference/sourceMapValidationFunctions.js +++ b/tests/baselines/reference/sourceMapValidationFunctions.js @@ -16,6 +16,7 @@ function foo(greeting: string, n = 10, x?: string, ...restParams: string[]) } //// [sourceMapValidationFunctions.js] +"use strict"; var greetings = 0; function greet(greeting) { greetings++; diff --git a/tests/baselines/reference/sourceMapValidationFunctions.js.map b/tests/baselines/reference/sourceMapValidationFunctions.js.map index ccb271c5fc6d6..d02b47c99231e 100644 --- a/tests/baselines/reference/sourceMapValidationFunctions.js.map +++ b/tests/baselines/reference/sourceMapValidationFunctions.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationFunctions.js.map] -{"version":3,"file":"sourceMapValidationFunctions.js","sourceRoot":"","sources":["sourceMapValidationFunctions.ts"],"names":[],"mappings":"AAAA,IAAI,SAAS,GAAG,CAAC,CAAC;AAClB,SAAS,KAAK,CAAC,QAAgB;IAC3B,SAAS,EAAE,CAAC;IACZ,OAAO,SAAS,CAAC;AACrB,CAAC;AACD,SAAS,MAAM,CAAC,QAAgB,EAAE,CAAM,EAAE,CAAU;IAAlB,kBAAA,EAAA,MAAM;IAAc,oBAAuB;SAAvB,UAAuB,EAAvB,qBAAuB,EAAvB,IAAuB;QAAvB,mCAAuB;;IACzE,SAAS,EAAE,CAAC;IACZ,OAAO,SAAS,CAAC;AACrB,CAAC;AACD,SAAS,GAAG,CAAC,QAAgB,EAAE,CAAM,EAAE,CAAU;IAAlB,kBAAA,EAAA,MAAM;IAAc,oBAAuB;SAAvB,UAAuB,EAAvB,qBAAuB,EAAvB,IAAuB;QAAvB,mCAAuB;;IAEtE,OAAO;AACX,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGdyZWV0aW5ncyA9IDA7DQpmdW5jdGlvbiBncmVldChncmVldGluZykgew0KICAgIGdyZWV0aW5ncysrOw0KICAgIHJldHVybiBncmVldGluZ3M7DQp9DQpmdW5jdGlvbiBncmVldDIoZ3JlZXRpbmcsIG4sIHgpIHsNCiAgICBpZiAobiA9PT0gdm9pZCAwKSB7IG4gPSAxMDsgfQ0KICAgIHZhciByZXN0UGFyYW1zID0gW107DQogICAgZm9yICh2YXIgX2kgPSAzOyBfaSA8IGFyZ3VtZW50cy5sZW5ndGg7IF9pKyspIHsNCiAgICAgICAgcmVzdFBhcmFtc1tfaSAtIDNdID0gYXJndW1lbnRzW19pXTsNCiAgICB9DQogICAgZ3JlZXRpbmdzKys7DQogICAgcmV0dXJuIGdyZWV0aW5nczsNCn0NCmZ1bmN0aW9uIGZvbyhncmVldGluZywgbiwgeCkgew0KICAgIGlmIChuID09PSB2b2lkIDApIHsgbiA9IDEwOyB9DQogICAgdmFyIHJlc3RQYXJhbXMgPSBbXTsNCiAgICBmb3IgKHZhciBfaSA9IDM7IF9pIDwgYXJndW1lbnRzLmxlbmd0aDsgX2krKykgew0KICAgICAgICByZXN0UGFyYW1zW19pIC0gM10gPSBhcmd1bWVudHNbX2ldOw0KICAgIH0NCiAgICByZXR1cm47DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uRnVuY3Rpb25zLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkZ1bmN0aW9ucy5qcyIsInNvdXJjZ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A9IDEwLCB4Pzogc3RyaW5nLCAuLi5yZXN0UGFyYW1zOiBzdHJpbmdbXSkKewogICAgcmV0dXJuOwp9 +{"version":3,"file":"sourceMapValidationFunctions.js","sourceRoot":"","sources":["sourceMapValidationFunctions.ts"],"names":[],"mappings":";AAAA,IAAI,SAAS,GAAG,CAAC,CAAC;AAClB,SAAS,KAAK,CAAC,QAAgB;IAC3B,SAAS,EAAE,CAAC;IACZ,OAAO,SAAS,CAAC;AACrB,CAAC;AACD,SAAS,MAAM,CAAC,QAAgB,EAAE,CAAM,EAAE,CAAU;IAAlB,kBAAA,EAAA,MAAM;IAAc,oBAAuB;SAAvB,UAAuB,EAAvB,qBAAuB,EAAvB,IAAuB;QAAvB,mCAAuB;;IACzE,SAAS,EAAE,CAAC;IACZ,OAAO,SAAS,CAAC;AACrB,CAAC;AACD,SAAS,GAAG,CAAC,QAAgB,EAAE,CAAM,EAAE,CAAU;IAAlB,kBAAA,EAAA,MAAM;IAAc,oBAAuB;SAAvB,UAAuB,EAAvB,qBAAuB,EAAvB,IAAuB;QAAvB,mCAAuB;;IAEtE,OAAO;AACX,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGdyZWV0aW5ncyA9IDA7DQpmdW5jdGlvbiBncmVldChncmVldGluZykgew0KICAgIGdyZWV0aW5ncysrOw0KICAgIHJldHVybiBncmVldGluZ3M7DQp9DQpmdW5jdGlvbiBncmVldDIoZ3JlZXRpbmcsIG4sIHgpIHsNCiAgICBpZiAobiA9PT0gdm9pZCAwKSB7IG4gPSAxMDsgfQ0KICAgIHZhciByZXN0UGFyYW1zID0gW107DQogICAgZm9yICh2YXIgX2kgPSAzOyBfaSA8IGFyZ3VtZW50cy5sZW5ndGg7IF9pKyspIHsNCiAgICAgICAgcmVzdFBhcmFtc1tfaSAtIDNdID0gYXJndW1lbnRzW19pXTsNCiAgICB9DQogICAgZ3JlZXRpbmdzKys7DQogICAgcmV0dXJuIGdyZWV0a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UF2QixxQkFBdUIsRUFBdkIsSUFBdUI7UUFBdkIsbUNBQXVCOztJQUV0RSxPQUFPO0FBQ1gsQ0FBQyJ9,dmFyIGdyZWV0aW5ncyA9IDA7CmZ1bmN0aW9uIGdyZWV0KGdyZWV0aW5nOiBzdHJpbmcpOiBudW1iZXIgewogICAgZ3JlZXRpbmdzKys7CiAgICByZXR1cm4gZ3JlZXRpbmdzOwp9CmZ1bmN0aW9uIGdyZWV0MihncmVldGluZzogc3RyaW5nLCBuID0gMTAsIHg/OiBzdHJpbmcsIC4uLnJlc3RQYXJhbXM6IHN0cmluZ1tdKTogbnVtYmVyIHsKICAgIGdyZWV0aW5ncysrOwogICAgcmV0dXJuIGdyZWV0aW5nczsKfQpmdW5jdGlvbiBmb28oZ3JlZXRpbmc6IHN0cmluZywgbiA9IDEwLCB4Pzogc3RyaW5nLCAuLi5yZXN0UGFyYW1zOiBzdHJpbmdbXSkKewogICAgcmV0dXJuOwp9 diff --git a/tests/baselines/reference/sourceMapValidationFunctions.sourcemap.txt b/tests/baselines/reference/sourceMapValidationFunctions.sourcemap.txt index 80068cc302f68..77b5bb4a8f698 100644 --- a/tests/baselines/reference/sourceMapValidationFunctions.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationFunctions.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationFunctions.ts emittedFile:sourceMapValidationFunctions.js sourceFile:sourceMapValidationFunctions.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var greetings = 0; 1 > 2 >^^^^ @@ -22,12 +23,12 @@ sourceFile:sourceMapValidationFunctions.ts 4 > = 5 > 0 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 14) Source(1, 14) + SourceIndex(0) -4 >Emitted(1, 17) Source(1, 17) + SourceIndex(0) -5 >Emitted(1, 18) Source(1, 18) + SourceIndex(0) -6 >Emitted(1, 19) Source(1, 19) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 14) Source(1, 14) + SourceIndex(0) +4 >Emitted(2, 17) Source(1, 17) + SourceIndex(0) +5 >Emitted(2, 18) Source(1, 18) + SourceIndex(0) +6 >Emitted(2, 19) Source(1, 19) + SourceIndex(0) --- >>>function greet(greeting) { 1-> @@ -41,11 +42,11 @@ sourceFile:sourceMapValidationFunctions.ts 3 > greet 4 > ( 5 > greeting: string -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 10) Source(2, 10) + SourceIndex(0) -3 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) -4 >Emitted(2, 16) Source(2, 16) + SourceIndex(0) -5 >Emitted(2, 24) Source(2, 32) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 10) Source(2, 10) + SourceIndex(0) +3 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) +4 >Emitted(3, 16) Source(2, 16) + SourceIndex(0) +5 >Emitted(3, 24) Source(2, 32) + SourceIndex(0) --- >>> greetings++; 1 >^^^^ @@ -58,10 +59,10 @@ sourceFile:sourceMapValidationFunctions.ts 2 > greetings 3 > ++ 4 > ; -1 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(3, 14) Source(3, 14) + SourceIndex(0) -3 >Emitted(3, 16) Source(3, 16) + SourceIndex(0) -4 >Emitted(3, 17) Source(3, 17) + SourceIndex(0) +1 >Emitted(4, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(4, 14) Source(3, 14) + SourceIndex(0) +3 >Emitted(4, 16) Source(3, 16) + SourceIndex(0) +4 >Emitted(4, 17) Source(3, 17) + SourceIndex(0) --- >>> return greetings; 1->^^^^ @@ -73,10 +74,10 @@ sourceFile:sourceMapValidationFunctions.ts 2 > return 3 > greetings 4 > ; -1->Emitted(4, 5) Source(4, 5) + SourceIndex(0) -2 >Emitted(4, 12) Source(4, 12) + SourceIndex(0) -3 >Emitted(4, 21) Source(4, 21) + SourceIndex(0) -4 >Emitted(4, 22) Source(4, 22) + SourceIndex(0) +1->Emitted(5, 5) Source(4, 5) + SourceIndex(0) +2 >Emitted(5, 12) Source(4, 12) + SourceIndex(0) +3 >Emitted(5, 21) Source(4, 21) + SourceIndex(0) +4 >Emitted(5, 22) Source(4, 22) + SourceIndex(0) --- >>>} 1 > @@ -85,8 +86,8 @@ sourceFile:sourceMapValidationFunctions.ts 1 > > 2 >} -1 >Emitted(5, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(5, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(5, 2) + SourceIndex(0) --- >>>function greet2(greeting, n, x) { 1-> @@ -109,15 +110,15 @@ sourceFile:sourceMapValidationFunctions.ts 7 > n = 10 8 > , 9 > x?: string -1->Emitted(6, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(6, 10) Source(6, 10) + SourceIndex(0) -3 >Emitted(6, 16) Source(6, 16) + SourceIndex(0) -4 >Emitted(6, 17) Source(6, 17) + SourceIndex(0) -5 >Emitted(6, 25) Source(6, 33) + SourceIndex(0) -6 >Emitted(6, 27) Source(6, 35) + SourceIndex(0) -7 >Emitted(6, 28) Source(6, 41) + SourceIndex(0) -8 >Emitted(6, 30) Source(6, 43) + SourceIndex(0) -9 >Emitted(6, 31) Source(6, 53) + SourceIndex(0) +1->Emitted(7, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(7, 10) Source(6, 10) + SourceIndex(0) +3 >Emitted(7, 16) Source(6, 16) + SourceIndex(0) +4 >Emitted(7, 17) Source(6, 17) + SourceIndex(0) +5 >Emitted(7, 25) Source(6, 33) + SourceIndex(0) +6 >Emitted(7, 27) Source(6, 35) + SourceIndex(0) +7 >Emitted(7, 28) Source(6, 41) + SourceIndex(0) +8 >Emitted(7, 30) Source(6, 43) + SourceIndex(0) +9 >Emitted(7, 31) Source(6, 53) + SourceIndex(0) --- >>> if (n === void 0) { n = 10; } 1->^^^^ @@ -128,10 +129,10 @@ sourceFile:sourceMapValidationFunctions.ts 2 > 3 > 4 > n = 10 -1->Emitted(7, 5) Source(6, 35) + SourceIndex(0) -2 >Emitted(7, 23) Source(6, 35) + SourceIndex(0) -3 >Emitted(7, 25) Source(6, 35) + SourceIndex(0) -4 >Emitted(7, 31) Source(6, 41) + SourceIndex(0) +1->Emitted(8, 5) Source(6, 35) + SourceIndex(0) +2 >Emitted(8, 23) Source(6, 35) + SourceIndex(0) +3 >Emitted(8, 25) Source(6, 35) + SourceIndex(0) +4 >Emitted(8, 31) Source(6, 41) + SourceIndex(0) --- >>> var restParams = []; 1 >^^^^ @@ -139,8 +140,8 @@ sourceFile:sourceMapValidationFunctions.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 >, x?: string, 2 > ...restParams: string[] -1 >Emitted(8, 5) Source(6, 55) + SourceIndex(0) -2 >Emitted(8, 25) Source(6, 78) + SourceIndex(0) +1 >Emitted(9, 5) Source(6, 55) + SourceIndex(0) +2 >Emitted(9, 25) Source(6, 78) + SourceIndex(0) --- >>> for (var _i = 3; _i < arguments.length; _i++) { 1->^^^^^^^^^ @@ -155,20 +156,20 @@ sourceFile:sourceMapValidationFunctions.ts 4 > ...restParams: string[] 5 > 6 > ...restParams: string[] -1->Emitted(9, 10) Source(6, 55) + SourceIndex(0) -2 >Emitted(9, 20) Source(6, 78) + SourceIndex(0) -3 >Emitted(9, 22) Source(6, 55) + SourceIndex(0) -4 >Emitted(9, 43) Source(6, 78) + SourceIndex(0) -5 >Emitted(9, 45) Source(6, 55) + SourceIndex(0) -6 >Emitted(9, 49) Source(6, 78) + SourceIndex(0) +1->Emitted(10, 10) Source(6, 55) + SourceIndex(0) +2 >Emitted(10, 20) Source(6, 78) + SourceIndex(0) +3 >Emitted(10, 22) Source(6, 55) + SourceIndex(0) +4 >Emitted(10, 43) Source(6, 78) + SourceIndex(0) +5 >Emitted(10, 45) Source(6, 55) + SourceIndex(0) +6 >Emitted(10, 49) Source(6, 78) + SourceIndex(0) --- >>> restParams[_i - 3] = arguments[_i]; 1 >^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 > ...restParams: string[] -1 >Emitted(10, 9) Source(6, 55) + SourceIndex(0) -2 >Emitted(10, 44) Source(6, 78) + SourceIndex(0) +1 >Emitted(11, 9) Source(6, 55) + SourceIndex(0) +2 >Emitted(11, 44) Source(6, 78) + SourceIndex(0) --- >>> } >>> greetings++; @@ -182,10 +183,10 @@ sourceFile:sourceMapValidationFunctions.ts 2 > greetings 3 > ++ 4 > ; -1 >Emitted(12, 5) Source(7, 5) + SourceIndex(0) -2 >Emitted(12, 14) Source(7, 14) + SourceIndex(0) -3 >Emitted(12, 16) Source(7, 16) + SourceIndex(0) -4 >Emitted(12, 17) Source(7, 17) + SourceIndex(0) +1 >Emitted(13, 5) Source(7, 5) + SourceIndex(0) +2 >Emitted(13, 14) Source(7, 14) + SourceIndex(0) +3 >Emitted(13, 16) Source(7, 16) + SourceIndex(0) +4 >Emitted(13, 17) Source(7, 17) + SourceIndex(0) --- >>> return greetings; 1->^^^^ @@ -197,10 +198,10 @@ sourceFile:sourceMapValidationFunctions.ts 2 > return 3 > greetings 4 > ; -1->Emitted(13, 5) Source(8, 5) + SourceIndex(0) -2 >Emitted(13, 12) Source(8, 12) + SourceIndex(0) -3 >Emitted(13, 21) Source(8, 21) + SourceIndex(0) -4 >Emitted(13, 22) Source(8, 22) + SourceIndex(0) +1->Emitted(14, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(14, 12) Source(8, 12) + SourceIndex(0) +3 >Emitted(14, 21) Source(8, 21) + SourceIndex(0) +4 >Emitted(14, 22) Source(8, 22) + SourceIndex(0) --- >>>} 1 > @@ -209,8 +210,8 @@ sourceFile:sourceMapValidationFunctions.ts 1 > > 2 >} -1 >Emitted(14, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(14, 2) Source(9, 2) + SourceIndex(0) +1 >Emitted(15, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(15, 2) Source(9, 2) + SourceIndex(0) --- >>>function foo(greeting, n, x) { 1-> @@ -233,15 +234,15 @@ sourceFile:sourceMapValidationFunctions.ts 7 > n = 10 8 > , 9 > x?: string -1->Emitted(15, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(15, 10) Source(10, 10) + SourceIndex(0) -3 >Emitted(15, 13) Source(10, 13) + SourceIndex(0) -4 >Emitted(15, 14) Source(10, 14) + SourceIndex(0) -5 >Emitted(15, 22) Source(10, 30) + SourceIndex(0) -6 >Emitted(15, 24) Source(10, 32) + SourceIndex(0) -7 >Emitted(15, 25) Source(10, 38) + SourceIndex(0) -8 >Emitted(15, 27) Source(10, 40) + SourceIndex(0) -9 >Emitted(15, 28) Source(10, 50) + SourceIndex(0) +1->Emitted(16, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(16, 10) Source(10, 10) + SourceIndex(0) +3 >Emitted(16, 13) Source(10, 13) + SourceIndex(0) +4 >Emitted(16, 14) Source(10, 14) + SourceIndex(0) +5 >Emitted(16, 22) Source(10, 30) + SourceIndex(0) +6 >Emitted(16, 24) Source(10, 32) + SourceIndex(0) +7 >Emitted(16, 25) Source(10, 38) + SourceIndex(0) +8 >Emitted(16, 27) Source(10, 40) + SourceIndex(0) +9 >Emitted(16, 28) Source(10, 50) + SourceIndex(0) --- >>> if (n === void 0) { n = 10; } 1->^^^^ @@ -252,10 +253,10 @@ sourceFile:sourceMapValidationFunctions.ts 2 > 3 > 4 > n = 10 -1->Emitted(16, 5) Source(10, 32) + SourceIndex(0) -2 >Emitted(16, 23) Source(10, 32) + SourceIndex(0) -3 >Emitted(16, 25) Source(10, 32) + SourceIndex(0) -4 >Emitted(16, 31) Source(10, 38) + SourceIndex(0) +1->Emitted(17, 5) Source(10, 32) + SourceIndex(0) +2 >Emitted(17, 23) Source(10, 32) + SourceIndex(0) +3 >Emitted(17, 25) Source(10, 32) + SourceIndex(0) +4 >Emitted(17, 31) Source(10, 38) + SourceIndex(0) --- >>> var restParams = []; 1 >^^^^ @@ -263,8 +264,8 @@ sourceFile:sourceMapValidationFunctions.ts 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 >, x?: string, 2 > ...restParams: string[] -1 >Emitted(17, 5) Source(10, 52) + SourceIndex(0) -2 >Emitted(17, 25) Source(10, 75) + SourceIndex(0) +1 >Emitted(18, 5) Source(10, 52) + SourceIndex(0) +2 >Emitted(18, 25) Source(10, 75) + SourceIndex(0) --- >>> for (var _i = 3; _i < arguments.length; _i++) { 1->^^^^^^^^^ @@ -279,20 +280,20 @@ sourceFile:sourceMapValidationFunctions.ts 4 > ...restParams: string[] 5 > 6 > ...restParams: string[] -1->Emitted(18, 10) Source(10, 52) + SourceIndex(0) -2 >Emitted(18, 20) Source(10, 75) + SourceIndex(0) -3 >Emitted(18, 22) Source(10, 52) + SourceIndex(0) -4 >Emitted(18, 43) Source(10, 75) + SourceIndex(0) -5 >Emitted(18, 45) Source(10, 52) + SourceIndex(0) -6 >Emitted(18, 49) Source(10, 75) + SourceIndex(0) +1->Emitted(19, 10) Source(10, 52) + SourceIndex(0) +2 >Emitted(19, 20) Source(10, 75) + SourceIndex(0) +3 >Emitted(19, 22) Source(10, 52) + SourceIndex(0) +4 >Emitted(19, 43) Source(10, 75) + SourceIndex(0) +5 >Emitted(19, 45) Source(10, 52) + SourceIndex(0) +6 >Emitted(19, 49) Source(10, 75) + SourceIndex(0) --- >>> restParams[_i - 3] = arguments[_i]; 1 >^^^^^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 1 > 2 > ...restParams: string[] -1 >Emitted(19, 9) Source(10, 52) + SourceIndex(0) -2 >Emitted(19, 44) Source(10, 75) + SourceIndex(0) +1 >Emitted(20, 9) Source(10, 52) + SourceIndex(0) +2 >Emitted(20, 44) Source(10, 75) + SourceIndex(0) --- >>> } >>> return; @@ -302,8 +303,8 @@ sourceFile:sourceMapValidationFunctions.ts >{ > 2 > return; -1 >Emitted(21, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(21, 12) Source(12, 12) + SourceIndex(0) +1 >Emitted(22, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(22, 12) Source(12, 12) + SourceIndex(0) --- >>>} 1 > @@ -312,7 +313,7 @@ sourceFile:sourceMapValidationFunctions.ts 1 > > 2 >} -1 >Emitted(22, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(22, 2) Source(13, 2) + SourceIndex(0) +1 >Emitted(23, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(23, 2) Source(13, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationFunctions.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationIfElse.js b/tests/baselines/reference/sourceMapValidationIfElse.js index b8d4b235fc278..d48e42108006b 100644 --- a/tests/baselines/reference/sourceMapValidationIfElse.js +++ b/tests/baselines/reference/sourceMapValidationIfElse.js @@ -20,6 +20,7 @@ else if (i == 20) { } //// [sourceMapValidationIfElse.js] +"use strict"; var i = 10; if (i == 10) { i++; diff --git a/tests/baselines/reference/sourceMapValidationIfElse.js.map b/tests/baselines/reference/sourceMapValidationIfElse.js.map index 267eb3bbe8509..146a2fa98b21b 100644 --- a/tests/baselines/reference/sourceMapValidationIfElse.js.map +++ b/tests/baselines/reference/sourceMapValidationIfElse.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationIfElse.js.map] -{"version":3,"file":"sourceMapValidationIfElse.js","sourceRoot":"","sources":["sourceMapValidationIfElse.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,EAAE,CAAC;AACX,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;IACV,CAAC,EAAE,CAAC;AACR,CAAC;KACD,CAAC;AACD,CAAC;AACD,IAAI,CAAC,IAAI,EAAE,EACX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FQUFFLEVBQUUsQ0FBQztJQUNqQixDQUFDLElBQUksRUFBRSxDQUFDO0FBQ1osQ0FBQztLQUFNLENBQUM7SUFDSixDQUFDLEVBQUUsQ0FBQztBQUNSLENBQUMifQ==,dmFyIGkgPSAxMDsKaWYgKGkgPT0gMTApIHsKICAgIGkrKzsKfSBlbHNlCnsKfQppZiAoaSA9PSAxMCkKewogICAgaSsrOwp9CmVsc2UgaWYgKGkgPT0gMjApIHsKICAgIGktLTsKfSBlbHNlIGlmIChpID09IDMwKSB7CiAgICBpICs9IDcwOwp9IGVsc2UgewogICAgaS0tOwp9 +{"version":3,"file":"sourceMapValidationIfElse.js","sourceRoot":"","sources":["sourceMapValidationIfElse.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,EAAE,CAAC;AACX,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;IACV,CAAC,EAAE,CAAC;AACR,CAAC;KACD,CAAC;AACD,CAAC;AACD,IAAI,CAAC,IAAI,EAAE,EACX,CAAC;IACG,CAAC,EAAE,CAAC;AACR,CAAC;KACI,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;IACf,CAAC,EAAE,CAAC;AACR,CAAC;KAAM,IAAI,CAAC,IAAI,EAAE,EAAE,CAAC;IACjB,CAAC,IAAI,EAAE,CAAC;AACZ,CAAC;KAAM,CAAC;IACJ,CAAC,EAAE,CAAC;AACR,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGkgPSAxMDsNCmlmIChpID09IDEwKSB7DQogICAgaSsrOw0KfQ0KZWxzZSB7DQp9DQppZiAoaSA9PSAxMCkgew0KICAgIGkrKzsNCn0NCmVsc2UgaWYgKGkgPT0gMjApIHsNCiAgICBpLS07DQp9DQplbHNlIGlmIChpID09IDMwKSB7DQogICAgaSArPSA3MDsNCn0NCmVsc2Ugew0KICAgIGktLTsNCn0NCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25JZkVsc2UuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbklmRWxzZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25JZkVsc2UudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUNYLElBQUksQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDO0lBQ1YsQ0FBQyxFQUFFLENBQUM7QUFDUixDQUFDO0tBQ0QsQ0FBQztBQUNELENBQUM7QUFDRCxJQUFJLENBQUMsSUFBSSxFQUFFLEVBQ1gsQ0FBQztJQUNHLENBQUMsRUFBRSxDQUFDO0FBQ1IsQ0FBQztLQUNJLElBQUksQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDO0lBQ2YsQ0FBQyxFQUFFLENBQUM7QUFDUixDQUFDO0tBQU0sSUFBSSxDQUFDLElBQUksRUFBRSxFQUFFLENBQUM7SUFDakIsQ0FBQyxJQUFJLEVBQUUsQ0FBQztBQUNaLENBQUM7S0FBTSxDQUFDO0lBQ0osQ0FBQyxFQUFFLENBQUM7QUFDUixDQUFDIn0=,dmFyIGkgPSAxMDsKaWYgKGkgPT0gMTApIHsKICAgIGkrKzsKfSBlbHNlCnsKfQppZiAoaSA9PSAxMCkKewogICAgaSsrOwp9CmVsc2UgaWYgKGkgPT0gMjApIHsKICAgIGktLTsKfSBlbHNlIGlmIChpID09IDMwKSB7CiAgICBpICs9IDcwOwp9IGVsc2UgewogICAgaS0tOwp9 diff --git a/tests/baselines/reference/sourceMapValidationIfElse.sourcemap.txt b/tests/baselines/reference/sourceMapValidationIfElse.sourcemap.txt index 4888e9adeaf59..e9269a7915dc2 100644 --- a/tests/baselines/reference/sourceMapValidationIfElse.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationIfElse.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationIfElse.ts emittedFile:sourceMapValidationIfElse.js sourceFile:sourceMapValidationIfElse.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var i = 10; 1 > 2 >^^^^ @@ -22,12 +23,12 @@ sourceFile:sourceMapValidationIfElse.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) --- >>>if (i == 10) { 1-> @@ -45,13 +46,13 @@ sourceFile:sourceMapValidationIfElse.ts 5 > 10 6 > ) 7 > { -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -3 >Emitted(2, 6) Source(2, 6) + SourceIndex(0) -4 >Emitted(2, 10) Source(2, 10) + SourceIndex(0) -5 >Emitted(2, 12) Source(2, 12) + SourceIndex(0) -6 >Emitted(2, 14) Source(2, 14) + SourceIndex(0) -7 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +3 >Emitted(3, 6) Source(2, 6) + SourceIndex(0) +4 >Emitted(3, 10) Source(2, 10) + SourceIndex(0) +5 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) +6 >Emitted(3, 14) Source(2, 14) + SourceIndex(0) +7 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) --- >>> i++; 1 >^^^^ @@ -63,10 +64,10 @@ sourceFile:sourceMapValidationIfElse.ts 2 > i 3 > ++ 4 > ; -1 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(3, 6) Source(3, 6) + SourceIndex(0) -3 >Emitted(3, 8) Source(3, 8) + SourceIndex(0) -4 >Emitted(3, 9) Source(3, 9) + SourceIndex(0) +1 >Emitted(4, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(4, 6) Source(3, 6) + SourceIndex(0) +3 >Emitted(4, 8) Source(3, 8) + SourceIndex(0) +4 >Emitted(4, 9) Source(3, 9) + SourceIndex(0) --- >>>} 1 > @@ -75,8 +76,8 @@ sourceFile:sourceMapValidationIfElse.ts 1 > > 2 >} -1 >Emitted(4, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(4, 2) Source(4, 2) + SourceIndex(0) +1 >Emitted(5, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(5, 2) Source(4, 2) + SourceIndex(0) --- >>>else { 1->^^^^^ @@ -84,8 +85,8 @@ sourceFile:sourceMapValidationIfElse.ts 1-> else > 2 > { -1->Emitted(5, 6) Source(5, 1) + SourceIndex(0) -2 >Emitted(5, 7) Source(5, 2) + SourceIndex(0) +1->Emitted(6, 6) Source(5, 1) + SourceIndex(0) +2 >Emitted(6, 7) Source(5, 2) + SourceIndex(0) --- >>>} 1 > @@ -94,8 +95,8 @@ sourceFile:sourceMapValidationIfElse.ts 1 > > 2 >} -1 >Emitted(6, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(6, 2) Source(6, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(7, 2) Source(6, 2) + SourceIndex(0) --- >>>if (i == 10) { 1-> @@ -114,13 +115,13 @@ sourceFile:sourceMapValidationIfElse.ts 6 > ) > 7 > { -1->Emitted(7, 1) Source(7, 1) + SourceIndex(0) -2 >Emitted(7, 5) Source(7, 5) + SourceIndex(0) -3 >Emitted(7, 6) Source(7, 6) + SourceIndex(0) -4 >Emitted(7, 10) Source(7, 10) + SourceIndex(0) -5 >Emitted(7, 12) Source(7, 12) + SourceIndex(0) -6 >Emitted(7, 14) Source(8, 1) + SourceIndex(0) -7 >Emitted(7, 15) Source(8, 2) + SourceIndex(0) +1->Emitted(8, 1) Source(7, 1) + SourceIndex(0) +2 >Emitted(8, 5) Source(7, 5) + SourceIndex(0) +3 >Emitted(8, 6) Source(7, 6) + SourceIndex(0) +4 >Emitted(8, 10) Source(7, 10) + SourceIndex(0) +5 >Emitted(8, 12) Source(7, 12) + SourceIndex(0) +6 >Emitted(8, 14) Source(8, 1) + SourceIndex(0) +7 >Emitted(8, 15) Source(8, 2) + SourceIndex(0) --- >>> i++; 1 >^^^^ @@ -132,10 +133,10 @@ sourceFile:sourceMapValidationIfElse.ts 2 > i 3 > ++ 4 > ; -1 >Emitted(8, 5) Source(9, 5) + SourceIndex(0) -2 >Emitted(8, 6) Source(9, 6) + SourceIndex(0) -3 >Emitted(8, 8) Source(9, 8) + SourceIndex(0) -4 >Emitted(8, 9) Source(9, 9) + SourceIndex(0) +1 >Emitted(9, 5) Source(9, 5) + SourceIndex(0) +2 >Emitted(9, 6) Source(9, 6) + SourceIndex(0) +3 >Emitted(9, 8) Source(9, 8) + SourceIndex(0) +4 >Emitted(9, 9) Source(9, 9) + SourceIndex(0) --- >>>} 1 > @@ -144,8 +145,8 @@ sourceFile:sourceMapValidationIfElse.ts 1 > > 2 >} -1 >Emitted(9, 1) Source(10, 1) + SourceIndex(0) -2 >Emitted(9, 2) Source(10, 2) + SourceIndex(0) +1 >Emitted(10, 1) Source(10, 1) + SourceIndex(0) +2 >Emitted(10, 2) Source(10, 2) + SourceIndex(0) --- >>>else if (i == 20) { 1->^^^^^ @@ -163,13 +164,13 @@ sourceFile:sourceMapValidationIfElse.ts 5 > 20 6 > ) 7 > { -1->Emitted(10, 6) Source(11, 6) + SourceIndex(0) -2 >Emitted(10, 10) Source(11, 10) + SourceIndex(0) -3 >Emitted(10, 11) Source(11, 11) + SourceIndex(0) -4 >Emitted(10, 15) Source(11, 15) + SourceIndex(0) -5 >Emitted(10, 17) Source(11, 17) + SourceIndex(0) -6 >Emitted(10, 19) Source(11, 19) + SourceIndex(0) -7 >Emitted(10, 20) Source(11, 20) + SourceIndex(0) +1->Emitted(11, 6) Source(11, 6) + SourceIndex(0) +2 >Emitted(11, 10) Source(11, 10) + SourceIndex(0) +3 >Emitted(11, 11) Source(11, 11) + SourceIndex(0) +4 >Emitted(11, 15) Source(11, 15) + SourceIndex(0) +5 >Emitted(11, 17) Source(11, 17) + SourceIndex(0) +6 >Emitted(11, 19) Source(11, 19) + SourceIndex(0) +7 >Emitted(11, 20) Source(11, 20) + SourceIndex(0) --- >>> i--; 1 >^^^^ @@ -181,10 +182,10 @@ sourceFile:sourceMapValidationIfElse.ts 2 > i 3 > -- 4 > ; -1 >Emitted(11, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(11, 6) Source(12, 6) + SourceIndex(0) -3 >Emitted(11, 8) Source(12, 8) + SourceIndex(0) -4 >Emitted(11, 9) Source(12, 9) + SourceIndex(0) +1 >Emitted(12, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(12, 6) Source(12, 6) + SourceIndex(0) +3 >Emitted(12, 8) Source(12, 8) + SourceIndex(0) +4 >Emitted(12, 9) Source(12, 9) + SourceIndex(0) --- >>>} 1 > @@ -193,8 +194,8 @@ sourceFile:sourceMapValidationIfElse.ts 1 > > 2 >} -1 >Emitted(12, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(12, 2) Source(13, 2) + SourceIndex(0) +1 >Emitted(13, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(13, 2) Source(13, 2) + SourceIndex(0) --- >>>else if (i == 30) { 1->^^^^^ @@ -211,13 +212,13 @@ sourceFile:sourceMapValidationIfElse.ts 5 > 30 6 > ) 7 > { -1->Emitted(13, 6) Source(13, 8) + SourceIndex(0) -2 >Emitted(13, 10) Source(13, 12) + SourceIndex(0) -3 >Emitted(13, 11) Source(13, 13) + SourceIndex(0) -4 >Emitted(13, 15) Source(13, 17) + SourceIndex(0) -5 >Emitted(13, 17) Source(13, 19) + SourceIndex(0) -6 >Emitted(13, 19) Source(13, 21) + SourceIndex(0) -7 >Emitted(13, 20) Source(13, 22) + SourceIndex(0) +1->Emitted(14, 6) Source(13, 8) + SourceIndex(0) +2 >Emitted(14, 10) Source(13, 12) + SourceIndex(0) +3 >Emitted(14, 11) Source(13, 13) + SourceIndex(0) +4 >Emitted(14, 15) Source(13, 17) + SourceIndex(0) +5 >Emitted(14, 17) Source(13, 19) + SourceIndex(0) +6 >Emitted(14, 19) Source(13, 21) + SourceIndex(0) +7 >Emitted(14, 20) Source(13, 22) + SourceIndex(0) --- >>> i += 70; 1 >^^^^ @@ -231,11 +232,11 @@ sourceFile:sourceMapValidationIfElse.ts 3 > += 4 > 70 5 > ; -1 >Emitted(14, 5) Source(14, 5) + SourceIndex(0) -2 >Emitted(14, 6) Source(14, 6) + SourceIndex(0) -3 >Emitted(14, 10) Source(14, 10) + SourceIndex(0) -4 >Emitted(14, 12) Source(14, 12) + SourceIndex(0) -5 >Emitted(14, 13) Source(14, 13) + SourceIndex(0) +1 >Emitted(15, 5) Source(14, 5) + SourceIndex(0) +2 >Emitted(15, 6) Source(14, 6) + SourceIndex(0) +3 >Emitted(15, 10) Source(14, 10) + SourceIndex(0) +4 >Emitted(15, 12) Source(14, 12) + SourceIndex(0) +5 >Emitted(15, 13) Source(14, 13) + SourceIndex(0) --- >>>} 1 > @@ -244,8 +245,8 @@ sourceFile:sourceMapValidationIfElse.ts 1 > > 2 >} -1 >Emitted(15, 1) Source(15, 1) + SourceIndex(0) -2 >Emitted(15, 2) Source(15, 2) + SourceIndex(0) +1 >Emitted(16, 1) Source(15, 1) + SourceIndex(0) +2 >Emitted(16, 2) Source(15, 2) + SourceIndex(0) --- >>>else { 1->^^^^^ @@ -253,8 +254,8 @@ sourceFile:sourceMapValidationIfElse.ts 3 > ^^^-> 1-> else 2 > { -1->Emitted(16, 6) Source(15, 8) + SourceIndex(0) -2 >Emitted(16, 7) Source(15, 9) + SourceIndex(0) +1->Emitted(17, 6) Source(15, 8) + SourceIndex(0) +2 >Emitted(17, 7) Source(15, 9) + SourceIndex(0) --- >>> i--; 1->^^^^ @@ -266,10 +267,10 @@ sourceFile:sourceMapValidationIfElse.ts 2 > i 3 > -- 4 > ; -1->Emitted(17, 5) Source(16, 5) + SourceIndex(0) -2 >Emitted(17, 6) Source(16, 6) + SourceIndex(0) -3 >Emitted(17, 8) Source(16, 8) + SourceIndex(0) -4 >Emitted(17, 9) Source(16, 9) + SourceIndex(0) +1->Emitted(18, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(18, 6) Source(16, 6) + SourceIndex(0) +3 >Emitted(18, 8) Source(16, 8) + SourceIndex(0) +4 >Emitted(18, 9) Source(16, 9) + SourceIndex(0) --- >>>} 1 > @@ -278,7 +279,7 @@ sourceFile:sourceMapValidationIfElse.ts 1 > > 2 >} -1 >Emitted(18, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(18, 2) Source(17, 2) + SourceIndex(0) +1 >Emitted(19, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(19, 2) Source(17, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationIfElse.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationLabeled.js b/tests/baselines/reference/sourceMapValidationLabeled.js index 3835dc578e8bf..1ecd623ef3ffa 100644 --- a/tests/baselines/reference/sourceMapValidationLabeled.js +++ b/tests/baselines/reference/sourceMapValidationLabeled.js @@ -5,5 +5,6 @@ x: var b = 10; //// [sourceMapValidationLabeled.js] +"use strict"; x: var b = 10; //# sourceMappingURL=sourceMapValidationLabeled.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationLabeled.js.map b/tests/baselines/reference/sourceMapValidationLabeled.js.map index d19fa0bf48580..ef9a050d08c7a 100644 --- a/tests/baselines/reference/sourceMapValidationLabeled.js.map +++ b/tests/baselines/reference/sourceMapValidationLabeled.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationLabeled.js.map] -{"version":3,"file":"sourceMapValidationLabeled.js","sourceRoot":"","sources":["sourceMapValidationLabeled.ts"],"names":[],"mappings":"AAAA,CAAC,EACD,IAAI,CAAC,GAAG,EAAE,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,eDogdmFyIGIgPSAxMDsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25MYWJlbGVkLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkxhYmVsZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzb3VyY2VNYXBWYWxpZGF0aW9uTGFiZWxlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxDQUFDLEVBQ0QsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDIn0=,eDoKdmFyIGIgPSAxMDs= +{"version":3,"file":"sourceMapValidationLabeled.js","sourceRoot":"","sources":["sourceMapValidationLabeled.ts"],"names":[],"mappings":";AAAA,CAAC,EACD,IAAI,CAAC,GAAG,EAAE,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KeDogdmFyIGIgPSAxMDsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25MYWJlbGVkLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkxhYmVsZWQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJzb3VyY2VNYXBWYWxpZGF0aW9uTGFiZWxlZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiO0FBQUEsQ0FBQyxFQUNELElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQyJ9,eDoKdmFyIGIgPSAxMDs= diff --git a/tests/baselines/reference/sourceMapValidationLabeled.sourcemap.txt b/tests/baselines/reference/sourceMapValidationLabeled.sourcemap.txt index f529fa7152fdc..05493f2917903 100644 --- a/tests/baselines/reference/sourceMapValidationLabeled.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationLabeled.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationLabeled.ts emittedFile:sourceMapValidationLabeled.js sourceFile:sourceMapValidationLabeled.ts ------------------------------------------------------------------- +>>>"use strict"; >>>x: var b = 10; 1 > 2 >^ @@ -27,13 +28,13 @@ sourceFile:sourceMapValidationLabeled.ts 6 > = 7 > 10 8 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 2) Source(1, 2) + SourceIndex(0) -3 >Emitted(1, 4) Source(2, 1) + SourceIndex(0) -4 >Emitted(1, 8) Source(2, 5) + SourceIndex(0) -5 >Emitted(1, 9) Source(2, 6) + SourceIndex(0) -6 >Emitted(1, 12) Source(2, 9) + SourceIndex(0) -7 >Emitted(1, 14) Source(2, 11) + SourceIndex(0) -8 >Emitted(1, 15) Source(2, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 2) Source(1, 2) + SourceIndex(0) +3 >Emitted(2, 4) Source(2, 1) + SourceIndex(0) +4 >Emitted(2, 8) Source(2, 5) + SourceIndex(0) +5 >Emitted(2, 9) Source(2, 6) + SourceIndex(0) +6 >Emitted(2, 12) Source(2, 9) + SourceIndex(0) +7 >Emitted(2, 14) Source(2, 11) + SourceIndex(0) +8 >Emitted(2, 15) Source(2, 12) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationLabeled.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.js b/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.js index 6756d7d8eb08f..ec83542fe0f4a 100644 --- a/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.js +++ b/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.js @@ -6,6 +6,7 @@ ) //// [sourceMapValidationLambdaSpanningMultipleLines.js] +"use strict"; (function (item) { return item; }); diff --git a/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.js.map b/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.js.map index 0d61c477e8213..4e60f757bd174 100644 --- a/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.js.map +++ b/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationLambdaSpanningMultipleLines.js.map] -{"version":3,"file":"sourceMapValidationLambdaSpanningMultipleLines.js","sourceRoot":"","sources":["sourceMapValidationLambdaSpanningMultipleLines.ts"],"names":[],"mappings":"AAAA,CAAC,UAAC,IAAY;IACV,OAAA,IAAI;AAAJ,CAAI,CACP,CAAA"} -//// https://sokra.github.io/source-map-visualization#base64,KGZ1bmN0aW9uIChpdGVtKSB7DQogICAgcmV0dXJuIGl0ZW07DQp9KTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25MYW1iZGFTcGFubmluZ011bHRpcGxlTGluZXMuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkxhbWJkYVNwYW5uaW5nTXVsdGlwbGVMaW5lcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25MYW1iZGFTcGFubmluZ011bHRpcGxlTGluZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsQ0FBQyxVQUFDLElBQVk7SUFDVixPQUFBLElBQUk7QUFBSixDQUFJLENBQ1AsQ0FBQSJ9,KChpdGVtOiBzdHJpbmcpID0+CiAgICBpdGVtCik= +{"version":3,"file":"sourceMapValidationLambdaSpanningMultipleLines.js","sourceRoot":"","sources":["sourceMapValidationLambdaSpanningMultipleLines.ts"],"names":[],"mappings":";AAAA,CAAC,UAAC,IAAY;IACV,OAAA,IAAI;AAAJ,CAAI,CACP,CAAA"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KKGZ1bmN0aW9uIChpdGVtKSB7DQogICAgcmV0dXJuIGl0ZW07DQp9KTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25MYW1iZGFTcGFubmluZ011bHRpcGxlTGluZXMuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbkxhbWJkYVNwYW5uaW5nTXVsdGlwbGVMaW5lcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25MYW1iZGFTcGFubmluZ011bHRpcGxlTGluZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLENBQUMsVUFBQyxJQUFZO0lBQ1YsT0FBQSxJQUFJO0FBQUosQ0FBSSxDQUNQLENBQUEifQ==,KChpdGVtOiBzdHJpbmcpID0+CiAgICBpdGVtCik= diff --git a/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.sourcemap.txt b/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.sourcemap.txt index 80cfb87fb3e77..71144e7f379eb 100644 --- a/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationLambdaSpanningMultipleLines.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationLambdaSpanningMultipleLines.ts emittedFile:sourceMapValidationLambdaSpanningMultipleLines.js sourceFile:sourceMapValidationLambdaSpanningMultipleLines.ts ------------------------------------------------------------------- +>>>"use strict"; >>>(function (item) { 1 > 2 >^ @@ -18,10 +19,10 @@ sourceFile:sourceMapValidationLambdaSpanningMultipleLines.ts 2 >( 3 > ( 4 > item: string -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 2) Source(1, 2) + SourceIndex(0) -3 >Emitted(1, 12) Source(1, 3) + SourceIndex(0) -4 >Emitted(1, 16) Source(1, 15) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 2) Source(1, 2) + SourceIndex(0) +3 >Emitted(2, 12) Source(1, 3) + SourceIndex(0) +4 >Emitted(2, 16) Source(1, 15) + SourceIndex(0) --- >>> return item; 1->^^^^ @@ -31,9 +32,9 @@ sourceFile:sourceMapValidationLambdaSpanningMultipleLines.ts > 2 > 3 > item -1->Emitted(2, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 12) Source(2, 5) + SourceIndex(0) -3 >Emitted(2, 16) Source(2, 9) + SourceIndex(0) +1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 12) Source(2, 5) + SourceIndex(0) +3 >Emitted(3, 16) Source(2, 9) + SourceIndex(0) --- >>>}); 1 > @@ -46,9 +47,9 @@ sourceFile:sourceMapValidationLambdaSpanningMultipleLines.ts 3 > > ) 4 > -1 >Emitted(3, 1) Source(2, 5) + SourceIndex(0) -2 >Emitted(3, 2) Source(2, 9) + SourceIndex(0) -3 >Emitted(3, 3) Source(3, 2) + SourceIndex(0) -4 >Emitted(3, 4) Source(3, 2) + SourceIndex(0) +1 >Emitted(4, 1) Source(2, 5) + SourceIndex(0) +2 >Emitted(4, 2) Source(2, 9) + SourceIndex(0) +3 >Emitted(4, 3) Source(3, 2) + SourceIndex(0) +4 >Emitted(4, 4) Source(3, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationLambdaSpanningMultipleLines.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationModule.js b/tests/baselines/reference/sourceMapValidationModule.js index 9a23ac5aa5741..a3691a1d1fb04 100644 --- a/tests/baselines/reference/sourceMapValidationModule.js +++ b/tests/baselines/reference/sourceMapValidationModule.js @@ -16,6 +16,7 @@ namespace m3 { } //// [sourceMapValidationModule.js] +"use strict"; var m2; (function (m2) { var a = 10; diff --git a/tests/baselines/reference/sourceMapValidationModule.js.map b/tests/baselines/reference/sourceMapValidationModule.js.map index 6e494f2617f5c..2042befcf18d4 100644 --- a/tests/baselines/reference/sourceMapValidationModule.js.map +++ b/tests/baselines/reference/sourceMapValidationModule.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationModule.js.map] -{"version":3,"file":"sourceMapValidationModule.js","sourceRoot":"","sources":["sourceMapValidationModule.ts"],"names":[],"mappings":"AAAA,IAAU,EAAE,CAGX;AAHD,WAAU,EAAE;IACR,IAAI,CAAC,GAAG,EAAE,CAAC;IACX,CAAC,EAAE,CAAC;AACR,CAAC,EAHS,EAAE,KAAF,EAAE,QAGX;AACD,IAAU,EAAE,CAQX;AARD,WAAU,EAAE;IACR,IAAU,EAAE,CAEX;IAFD,WAAU,EAAE;QACG,IAAC,GAAG,EAAE,CAAC;IACtB,CAAC,EAFS,EAAE,KAAF,EAAE,QAEX;IAED,SAAgB,GAAG;QACf,OAAO,EAAE,CAAC,CAAC,CAAC;IAChB,CAAC;IAFe,MAAG,MAElB,CAAA;AACL,CAAC,EARS,EAAE,KAAF,EAAE,QAQX"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIG0yOw0KKGZ1bmN0aW9uIChtMikgew0KICAgIHZhciBhID0gMTA7DQogICAgYSsrOw0KfSkobTIgfHwgKG0yID0ge30pKTsNCnZhciBtMzsNCihmdW5jdGlvbiAobTMpIHsNCiAgICB2YXIgbTQ7DQogICAgKGZ1bmN0aW9uIChtNCkgew0KICAgICAgICBtNC54ID0gMzA7DQogICAgfSkobTQgfHwgKG00ID0ge30pKTsNCiAgICBmdW5jdGlvbiBmb28oKSB7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ourceMapValidationModule.js","sourceRoot":"","sources":["sourceMapValidationModule.ts"],"names":[],"mappings":";AAAA,IAAU,EAAE,CAGX;AAHD,WAAU,EAAE;IACR,IAAI,CAAC,GAAG,EAAE,CAAC;IACX,CAAC,EAAE,CAAC;AACR,CAAC,EAHS,EAAE,KAAF,EAAE,QAGX;AACD,IAAU,EAAE,CAQX;AARD,WAAU,EAAE;IACR,IAAU,EAAE,CAEX;IAFD,WAAU,EAAE;QACG,IAAC,GAAG,EAAE,CAAC;IACtB,CAAC,EAFS,EAAE,KAAF,EAAE,QAEX;IAED,SAAgB,GAAG;QACf,OAAO,EAAE,CAAC,CAAC,CAAC;IAChB,CAAC;IAFe,MAAG,MAElB,CAAA;AACL,CAAC,EARS,EAAE,KAAF,EAAE,QAQX"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIG0yOw0KKGZ1bmN0aW9uIChtMikgew0KICAgIHZhciBhID0gMTA7DQogICAgYSsrOw0KfSkobTIgfHwgKG0yID0ge30pKTsNCnZhciBtMzsNCihmdW5jdGlvbiAobTMpIHsNCiAgICB2YXIgbTQ7DQogICAgKGZ1bmN0aW9uIChtNCkgew0KICAgICAgICBtNC54ID0gMzA7DQogICAgfSkobTQgfHwgKG00ID0ge30pKTsNCiAgICBmdW5jdGlvbiBmb28oKSB7DQogICAgICAgIHJldHVybiBtNC54Ow0KICAgIH0NCiAgICBtMy5mb28gPSBmb287DQp9KShtMyB8fCAobTMgPSB7fSkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9c291cmNlTWFwVmFsaWRhdGlvbk1vZHVsZS5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbk1vZHVsZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25Nb2R1bGUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQVUsRUFBRSxDQUdYO0FBSEQsV0FBVSxFQUFFO0lBQ1IsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQ1gsQ0FBQyxFQUFFLENBQUM7QUFDUixDQUFDLEVBSFMsRUFBRSxLQUFGLEVBQUUsUUFHWDtBQUNELElBQVUsRUFBRSxDQVFYO0FBUkQsV0FBVSxFQUFFO0lBQ1IsSUFBVSxFQUFFLENBRVg7SUFGRCxXQUFVLEVBQUU7UUFDRyxJQUFDLEdBQUcsRUFBRSxDQUFDO0lBQ3RCLENBQUMsRUFGUyxFQUFFLEtBQUYsRUFBRSxRQUVYO0lBRUQsU0FBZ0IsR0FBRztRQUNmLE9BQU8sRUFBRSxDQUFDLENBQUMsQ0FBQztJQUNoQixDQUFDO0lBRmUsTUFBRyxNQUVsQixDQUFBO0FBQ0wsQ0FBQyxFQVJTLEVBQUUsS0FBRixFQUFFLFFBUVgifQ==,bmFtZXNwYWNlIG0yIHsKICAgIHZhciBhID0gMTA7CiAgICBhKys7Cn0KbmFtZXNwYWNlIG0zIHsKICAgIG5hbWVzcGFjZSBtNCB7CiAgICAgICAgZXhwb3J0IHZhciB4ID0gMzA7CiAgICB9CgogICAgZXhwb3J0IGZ1bmN0aW9uIGZvbygpIHsKICAgICAgICByZXR1cm4gbTQueDsKICAgIH0KfQ== diff --git a/tests/baselines/reference/sourceMapValidationModule.sourcemap.txt b/tests/baselines/reference/sourceMapValidationModule.sourcemap.txt index 5476cbf910bec..3150d38cf94e1 100644 --- a/tests/baselines/reference/sourceMapValidationModule.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationModule.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationModule.ts emittedFile:sourceMapValidationModule.js sourceFile:sourceMapValidationModule.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var m2; 1 > 2 >^^^^ @@ -21,10 +22,10 @@ sourceFile:sourceMapValidationModule.ts > var a = 10; > a++; > } -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 11) + SourceIndex(0) -3 >Emitted(1, 7) Source(1, 13) + SourceIndex(0) -4 >Emitted(1, 8) Source(4, 2) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 11) + SourceIndex(0) +3 >Emitted(2, 7) Source(1, 13) + SourceIndex(0) +4 >Emitted(2, 8) Source(4, 2) + SourceIndex(0) --- >>>(function (m2) { 1-> @@ -34,9 +35,9 @@ sourceFile:sourceMapValidationModule.ts 1-> 2 >namespace 3 > m2 -1->Emitted(2, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(2, 12) Source(1, 11) + SourceIndex(0) -3 >Emitted(2, 14) Source(1, 13) + SourceIndex(0) +1->Emitted(3, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(3, 12) Source(1, 11) + SourceIndex(0) +3 >Emitted(3, 14) Source(1, 13) + SourceIndex(0) --- >>> var a = 10; 1->^^^^ @@ -52,12 +53,12 @@ sourceFile:sourceMapValidationModule.ts 4 > = 5 > 10 6 > ; -1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(3, 9) Source(2, 9) + SourceIndex(0) -3 >Emitted(3, 10) Source(2, 10) + SourceIndex(0) -4 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) -5 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) -6 >Emitted(3, 16) Source(2, 16) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(4, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(4, 10) Source(2, 10) + SourceIndex(0) +4 >Emitted(4, 13) Source(2, 13) + SourceIndex(0) +5 >Emitted(4, 15) Source(2, 15) + SourceIndex(0) +6 >Emitted(4, 16) Source(2, 16) + SourceIndex(0) --- >>> a++; 1 >^^^^ @@ -70,10 +71,10 @@ sourceFile:sourceMapValidationModule.ts 2 > a 3 > ++ 4 > ; -1 >Emitted(4, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(4, 6) Source(3, 6) + SourceIndex(0) -3 >Emitted(4, 8) Source(3, 8) + SourceIndex(0) -4 >Emitted(4, 9) Source(3, 9) + SourceIndex(0) +1 >Emitted(5, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(5, 6) Source(3, 6) + SourceIndex(0) +3 >Emitted(5, 8) Source(3, 8) + SourceIndex(0) +4 >Emitted(5, 9) Source(3, 9) + SourceIndex(0) --- >>>})(m2 || (m2 = {})); 1-> @@ -94,13 +95,13 @@ sourceFile:sourceMapValidationModule.ts > var a = 10; > a++; > } -1->Emitted(5, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(4, 2) + SourceIndex(0) -3 >Emitted(5, 4) Source(1, 11) + SourceIndex(0) -4 >Emitted(5, 6) Source(1, 13) + SourceIndex(0) -5 >Emitted(5, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(5, 13) Source(1, 13) + SourceIndex(0) -7 >Emitted(5, 21) Source(4, 2) + SourceIndex(0) +1->Emitted(6, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(4, 2) + SourceIndex(0) +3 >Emitted(6, 4) Source(1, 11) + SourceIndex(0) +4 >Emitted(6, 6) Source(1, 13) + SourceIndex(0) +5 >Emitted(6, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(6, 13) Source(1, 13) + SourceIndex(0) +7 >Emitted(6, 21) Source(4, 2) + SourceIndex(0) --- >>>var m3; 1 > @@ -121,10 +122,10 @@ sourceFile:sourceMapValidationModule.ts > return m4.x; > } > } -1 >Emitted(6, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(6, 5) Source(5, 11) + SourceIndex(0) -3 >Emitted(6, 7) Source(5, 13) + SourceIndex(0) -4 >Emitted(6, 8) Source(13, 2) + SourceIndex(0) +1 >Emitted(7, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(7, 5) Source(5, 11) + SourceIndex(0) +3 >Emitted(7, 7) Source(5, 13) + SourceIndex(0) +4 >Emitted(7, 8) Source(13, 2) + SourceIndex(0) --- >>>(function (m3) { 1-> @@ -133,9 +134,9 @@ sourceFile:sourceMapValidationModule.ts 1-> 2 >namespace 3 > m3 -1->Emitted(7, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(7, 12) Source(5, 11) + SourceIndex(0) -3 >Emitted(7, 14) Source(5, 13) + SourceIndex(0) +1->Emitted(8, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(8, 12) Source(5, 11) + SourceIndex(0) +3 >Emitted(8, 14) Source(5, 13) + SourceIndex(0) --- >>> var m4; 1 >^^^^ @@ -150,10 +151,10 @@ sourceFile:sourceMapValidationModule.ts 4 > { > export var x = 30; > } -1 >Emitted(8, 5) Source(6, 5) + SourceIndex(0) -2 >Emitted(8, 9) Source(6, 15) + SourceIndex(0) -3 >Emitted(8, 11) Source(6, 17) + SourceIndex(0) -4 >Emitted(8, 12) Source(8, 6) + SourceIndex(0) +1 >Emitted(9, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(9, 9) Source(6, 15) + SourceIndex(0) +3 >Emitted(9, 11) Source(6, 17) + SourceIndex(0) +4 >Emitted(9, 12) Source(8, 6) + SourceIndex(0) --- >>> (function (m4) { 1->^^^^ @@ -163,9 +164,9 @@ sourceFile:sourceMapValidationModule.ts 1-> 2 > namespace 3 > m4 -1->Emitted(9, 5) Source(6, 5) + SourceIndex(0) -2 >Emitted(9, 16) Source(6, 15) + SourceIndex(0) -3 >Emitted(9, 18) Source(6, 17) + SourceIndex(0) +1->Emitted(10, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(10, 16) Source(6, 15) + SourceIndex(0) +3 >Emitted(10, 18) Source(6, 17) + SourceIndex(0) --- >>> m4.x = 30; 1->^^^^^^^^ @@ -180,11 +181,11 @@ sourceFile:sourceMapValidationModule.ts 3 > = 4 > 30 5 > ; -1->Emitted(10, 9) Source(7, 20) + SourceIndex(0) -2 >Emitted(10, 13) Source(7, 21) + SourceIndex(0) -3 >Emitted(10, 16) Source(7, 24) + SourceIndex(0) -4 >Emitted(10, 18) Source(7, 26) + SourceIndex(0) -5 >Emitted(10, 19) Source(7, 27) + SourceIndex(0) +1->Emitted(11, 9) Source(7, 20) + SourceIndex(0) +2 >Emitted(11, 13) Source(7, 21) + SourceIndex(0) +3 >Emitted(11, 16) Source(7, 24) + SourceIndex(0) +4 >Emitted(11, 18) Source(7, 26) + SourceIndex(0) +5 >Emitted(11, 19) Source(7, 27) + SourceIndex(0) --- >>> })(m4 || (m4 = {})); 1->^^^^ @@ -204,13 +205,13 @@ sourceFile:sourceMapValidationModule.ts 7 > { > export var x = 30; > } -1->Emitted(11, 5) Source(8, 5) + SourceIndex(0) -2 >Emitted(11, 6) Source(8, 6) + SourceIndex(0) -3 >Emitted(11, 8) Source(6, 15) + SourceIndex(0) -4 >Emitted(11, 10) Source(6, 17) + SourceIndex(0) -5 >Emitted(11, 15) Source(6, 15) + SourceIndex(0) -6 >Emitted(11, 17) Source(6, 17) + SourceIndex(0) -7 >Emitted(11, 25) Source(8, 6) + SourceIndex(0) +1->Emitted(12, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(12, 6) Source(8, 6) + SourceIndex(0) +3 >Emitted(12, 8) Source(6, 15) + SourceIndex(0) +4 >Emitted(12, 10) Source(6, 17) + SourceIndex(0) +5 >Emitted(12, 15) Source(6, 15) + SourceIndex(0) +6 >Emitted(12, 17) Source(6, 17) + SourceIndex(0) +7 >Emitted(12, 25) Source(8, 6) + SourceIndex(0) --- >>> function foo() { 1 >^^^^ @@ -222,9 +223,9 @@ sourceFile:sourceMapValidationModule.ts > 2 > export function 3 > foo -1 >Emitted(12, 5) Source(10, 5) + SourceIndex(0) -2 >Emitted(12, 14) Source(10, 21) + SourceIndex(0) -3 >Emitted(12, 17) Source(10, 24) + SourceIndex(0) +1 >Emitted(13, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(13, 14) Source(10, 21) + SourceIndex(0) +3 >Emitted(13, 17) Source(10, 24) + SourceIndex(0) --- >>> return m4.x; 1->^^^^^^^^ @@ -240,12 +241,12 @@ sourceFile:sourceMapValidationModule.ts 4 > . 5 > x 6 > ; -1->Emitted(13, 9) Source(11, 9) + SourceIndex(0) -2 >Emitted(13, 16) Source(11, 16) + SourceIndex(0) -3 >Emitted(13, 18) Source(11, 18) + SourceIndex(0) -4 >Emitted(13, 19) Source(11, 19) + SourceIndex(0) -5 >Emitted(13, 20) Source(11, 20) + SourceIndex(0) -6 >Emitted(13, 21) Source(11, 21) + SourceIndex(0) +1->Emitted(14, 9) Source(11, 9) + SourceIndex(0) +2 >Emitted(14, 16) Source(11, 16) + SourceIndex(0) +3 >Emitted(14, 18) Source(11, 18) + SourceIndex(0) +4 >Emitted(14, 19) Source(11, 19) + SourceIndex(0) +5 >Emitted(14, 20) Source(11, 20) + SourceIndex(0) +6 >Emitted(14, 21) Source(11, 21) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -254,8 +255,8 @@ sourceFile:sourceMapValidationModule.ts 1 > > 2 > } -1 >Emitted(14, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(14, 6) Source(12, 6) + SourceIndex(0) +1 >Emitted(15, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(15, 6) Source(12, 6) + SourceIndex(0) --- >>> m3.foo = foo; 1->^^^^ @@ -269,10 +270,10 @@ sourceFile:sourceMapValidationModule.ts > return m4.x; > } 4 > -1->Emitted(15, 5) Source(10, 21) + SourceIndex(0) -2 >Emitted(15, 11) Source(10, 24) + SourceIndex(0) -3 >Emitted(15, 17) Source(12, 6) + SourceIndex(0) -4 >Emitted(15, 18) Source(12, 6) + SourceIndex(0) +1->Emitted(16, 5) Source(10, 21) + SourceIndex(0) +2 >Emitted(16, 11) Source(10, 24) + SourceIndex(0) +3 >Emitted(16, 17) Source(12, 6) + SourceIndex(0) +4 >Emitted(16, 18) Source(12, 6) + SourceIndex(0) --- >>>})(m3 || (m3 = {})); 1-> @@ -299,12 +300,12 @@ sourceFile:sourceMapValidationModule.ts > return m4.x; > } > } -1->Emitted(16, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(16, 2) Source(13, 2) + SourceIndex(0) -3 >Emitted(16, 4) Source(5, 11) + SourceIndex(0) -4 >Emitted(16, 6) Source(5, 13) + SourceIndex(0) -5 >Emitted(16, 11) Source(5, 11) + SourceIndex(0) -6 >Emitted(16, 13) Source(5, 13) + SourceIndex(0) -7 >Emitted(16, 21) Source(13, 2) + SourceIndex(0) +1->Emitted(17, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(17, 2) Source(13, 2) + SourceIndex(0) +3 >Emitted(17, 4) Source(5, 11) + SourceIndex(0) +4 >Emitted(17, 6) Source(5, 13) + SourceIndex(0) +5 >Emitted(17, 11) Source(5, 11) + SourceIndex(0) +6 >Emitted(17, 13) Source(5, 13) + SourceIndex(0) +7 >Emitted(17, 21) Source(13, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationModule.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationStatements.errors.txt b/tests/baselines/reference/sourceMapValidationStatements.errors.txt index baa166bdcd031..6e6b222c65293 100644 --- a/tests/baselines/reference/sourceMapValidationStatements.errors.txt +++ b/tests/baselines/reference/sourceMapValidationStatements.errors.txt @@ -1,7 +1,8 @@ +sourceMapValidationStatements.ts(43,5): error TS1101: 'with' statements are not allowed in strict mode. sourceMapValidationStatements.ts(43,5): error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. -==== sourceMapValidationStatements.ts (1 errors) ==== +==== sourceMapValidationStatements.ts (2 errors) ==== function f() { var y; var x = 0; @@ -45,6 +46,8 @@ sourceMapValidationStatements.ts(43,5): error TS2410: The 'with' statement is no y = 70; } with (obj) { + ~~~~ +!!! error TS1101: 'with' statements are not allowed in strict mode. ~~~~~~~~~~ !!! error TS2410: The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'. i = 2; diff --git a/tests/baselines/reference/sourceMapValidationStatements.js b/tests/baselines/reference/sourceMapValidationStatements.js index 51591d9cef858..8cd5bd003bd43 100644 --- a/tests/baselines/reference/sourceMapValidationStatements.js +++ b/tests/baselines/reference/sourceMapValidationStatements.js @@ -86,6 +86,7 @@ var b = function () { f(); //// [sourceMapValidationStatements.js] +"use strict"; function f() { var y; var x = 0; diff --git a/tests/baselines/reference/sourceMapValidationStatements.js.map b/tests/baselines/reference/sourceMapValidationStatements.js.map index 4dd9a984f28d7..99fa786fd2b0f 100644 --- a/tests/baselines/reference/sourceMapValidationStatements.js.map +++ b/tests/baselines/reference/sourceMapValidationStatements.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationStatements.js.map] -{"version":3,"file":"sourceMapValidationStatements.js","sourceRoot":"","sources":["sourceMapValidationStatements.ts"],"names":[],"mappings":"AAAA,SAAS,CAAC;IACN,IAAI,CAAC,CAAC;IACN,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;QAC1B,CAAC,IAAI,CAAC,CAAC;QACP,CAAC,IAAI,CAAC,CAAC;IACX,CAAC;IACD,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC;QACT,CAAC,IAAI,CAAC,CAAC;IACX,CAAC;SAAM,CAAC;QACJ,CAAC,IAAI,EAAE,CAAC;QACR,CAAC,EAAE,CAAC;IACR,CAAC;IACD,IAAI,CAAC,GAAG;QACJ,CAAC;QACD,CAAC;QACD,CAAC;KACJ,CAAC;IACF,IAAI,GAAG,GAAG;QACN,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,OAAO;KACb,CAAC;IACF,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACd,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QACb,IAAI,CAAC,GAAG,EAAE,CAAC;IACf,CAAC;IACD,IAAI,CAAC;QACD,GAAG,C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C,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IACzB,CAAC,KAAK,CAAC,CAAC;IACR,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;IACX,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,OAAO;AACX,CAAC;AACD,IAAI,CAAC,GAAG;IACJ,IAAI,CAAC,GAAG,EAAE,CAAC;IACX,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACd,CAAC,CAAC;AACF,CAAC,EAAE,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,ZnVuY3Rpb24gZigpIHsNCiAgICB2YXIgeTsNCiAgICB2YXIgeCA9IDA7DQogICAgZm9yICh2YXIgaSA9IDA7IGkgPCAxMDsgaSsrKSB7DQogICAgICAgIHggKz0gaTsNCiAgICAgICAgeCAqPSAwOw0KICAgIH0NCiAgICBpZiAoeCA+IDE3KSB7DQogICAgICAgIHggLz0gOTsNCiAgICB9DQogICAgZWxzZSB7DQogICAgICAgIHggKz0gMTA7DQogICAgICAgIHgrKzsNCiAgICB9DQogICAgdmFyIGEgPSBbDQogICAgICAgIDEsDQogICAgICAgIDIsDQogICAgICAgIDMNCiAgICBdOw0KICAgIHZhciBvYmogPSB7DQogICAgICAgIHo6IDEsDQogICAgICAgIHE6ICJoZWxsbyINCiAgICB9Ow0KICAgIGZvciAodmFyIGogaW4gYSkgew0KICAgICAgICBvYmoueiA9IGFbal07DQogICAgICAgIHZhciB2ID0gMTA7DQogICAgfQ0KICAgIHRyeSB7DQogICAgICAgIG9iai5xID0gIm9oaGgiOw0KICAgIH0NCiAgICBjYXRjaCAoZSkgew0KICAgICAgICBpZiAob2JqLnogPCAxMCkgew0KICAgICAgICAgICAgb2JqLnogPSAxMjsNCiAgICAgICAgfQ0KICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgIG9iai5xID0gImhtbSI7DQogICAgICAgIH0NCiAgICB9DQogICAgdHJ5IHsNCiAgICAgICAgdGhyb3cgbmV3IEVycm9yKCk7DQogICAgfQ0KICAgIGNhdGNoIChlMSkgew0KICAgICAgICB2YXIgYiA9IGUxOw0KICAgIH0NCiAgICBmaW5hbGx5IHsNCiAgICAgICAgeSA9IDcwOw0KICAgIH0NCiAgICB3aXRoIChvYmopIHsNCiAgICAgICAgaSA9IDI7DQogICAgICAgIHogPSAxMDsNCiAgICB9DQogICAgc3dpdGNoIChvYmoueikgew0KICAgICAgICBjYXNlIDA6IHsNCiAgICAgICAgICAgIHgrKzsNCiAgICAgICAgICAgIGJyZWFrOw0KICAgICAgICB9DQogICAgICAgIGNhc2UgMTogew0KICAgICAgICAgICAgeC0tOw0KICAgICAgICAgICAgYnJlYWs7DQogICAgICAgIH0NCiAgICAgICAgZGVmYXVsdDogew0KICAgICAgICAgICAgeCAqPSAyOw0KICAgICAgICAgICAgeCA9IDUwOw0KICAgICAgICAgICAgYnJlYWs7DQogICAgICAgIH0NCiAgICB9DQogICAgd2hpbGUgKHggPCAxMCkgew0KICAgICAgICB4Kys7DQogICAgfQ0KICAgIGRvIHsNCiAgICAgICAgeC0tOw0KICAgIH0gd2hpbGUgKHggPiA0KTsNCiAgICB4ID0geTsNCiAgICB2YXIgeiA9ICh4ID09IDEpID8geCArIDEgOiB4IC0gMTsNCiAgICAoeCA9PSAxKSA/IHggKyAxIDogeCAtIDE7DQogICAgeCA9PT0gMTsNCiAgICB4ID0geiA9IDQwOw0KICAgIGV2YWwoInkiKTsNCiAgICByZXR1cm47DQp9DQp2YXIgYiA9IGZ1bmN0aW9uICgpIHsNCiAgICB2YXIgeCA9IDEwOw0KICAgIHggPSB4ICsgMTsNCn07DQpmKCk7DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uU3RhdGVtZW50cy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvblN0YXRlbWVudHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6W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AgICB2YXIgdiA9IDEwOwogICAgfQogICAgdHJ5IHsKICAgICAgICBvYmoucSA9ICJvaGhoIjsKICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICBpZiAob2JqLnogPCAxMCkgewogICAgICAgICAgICBvYmoueiA9IDEyOwogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIG9iai5xID0gImhtbSI7CiAgICAgICAgfQogICAgfQogICAgdHJ5IHsKICAgICAgICB0aHJvdyBuZXcgRXJyb3IoKTsKICAgIH0gY2F0Y2ggKGUxKSB7CiAgICAgICAgdmFyIGIgPSBlMTsKICAgIH0gZmluYWxseSB7CiAgICAgICAgeSA9IDcwOwogICAgfQogICAgd2l0aCAob2JqKSB7CiAgICAgICAgaSA9IDI7CiAgICAgICAgeiA9IDEwOwogICAgfQogICAgc3dpdGNoIChvYmoueikgewogICAgICAgIGNhc2UgMDogewogICAgICAgICAgICB4Kys7CiAgICAgICAgICAgIGJyZWFrOwoKICAgICAgICB9CiAgICAgICAgY2FzZSAxOiB7CiAgICAgICAgICAgIHgtLTsKICAgICAgICAgICAgYnJlYWs7CgogICAgICAgIH0KICAgICAgICBkZWZhdWx0OiB7CiAgICAgICAgICAgIHggKj0gMjsKICAgICAgICAgICAgeCA9IDUwOwogICAgICAgICAgICBicmVhazsKCiAgICAgICAgfQogICAgfQogICAgd2hpbGUgKHggPCAxMCkgewogICAgICAgIHgrKzsKICAgIH0KICAgIGRvIHsKICAgICAgICB4LS07CiAgICB9IHdoaWxlICh4ID4gNCkKICAgIHggPSB5OwogICAgdmFyIHogPSAoeCA9PSAxKSA/IHggKyAxIDogeCAtIDE7CiAgICAoeCA9PSAxKSA/IHggKyAxIDogeCAtIDE7CiAgICB4ID09PSAxOwogICAgeCA9IHogPSA0MDsKICAgIGV2YWwoInkiKTsKICAgIHJldHVybjsKfQp2YXIgYiA9IGZ1bmN0aW9uICgpIHsKICAgIHZhciB4ID0gMTA7CiAgICB4ID0geCArIDE7Cn07CmYoKTs= +{"version":3,"file":"sourceMapValidationStatements.js","sourceRoot":"","sources":["sourceMapValidationStatements.ts"],"names":[],"mappings":";AAAA,SAAS,CAAC;IACN,IAAI,CAAC,CAAC;IACN,IAAI,CAAC,GAAG,CAAC,CAAC;IACV,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC;QAC1B,CAAC,IAAI,CAAC,CAAC;QACP,CAAC,IAAI,CAAC,CAAC;IACX,CAAC;IACD,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC;QACT,CAAC,IAAI,CAAC,CAAC;IACX,CAAC;SAAM,CAAC;QACJ,CAAC,IAAI,EAAE,CAAC;QACR,CAAC,EAAE,CAAC;IACR,CAAC;IACD,IAAI,CAAC,GAAG;QACJ,CAAC;QACD,CAAC;QACD,CAAC;KACJ,CAAC;IACF,IAAI,GAAG,GAAG;QACN,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,OAAO;KACb,CAAC;IACF,KAAK,IAAI,CAAC,IAAI,CAAC,EAAE,CAAC;QACd,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;QACb,IAAI,CAAC,GAAG,EAAE,CAAC;IACf,CAAC;IACD,IAAI,CAAC;QACD,GAAG,CAAC,CAAC,GAAG,MAAM,CAAC;IACnB,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACT,IAAI,GAAG,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC;YACb,GAAG,CAAC,CAAC,GAAG,EAAE,CAAC;QACf,CAAC;aAAM,CAAC;YACJ,GAAG,CAAC,CAAC,GAAG,KAAK,CAAC;QAClB,CAAC;IACL,CAAC;IACD,IAAI,CAAC;QACD,MAAM,IAAI,KAAK,EAAE,CAAC;IACtB,CAAC;IAAC,OAAO,EAAE,EAAE,CAAC;QACV,IAAI,CAAC,GAAG,EAAE,CAAC;IACf,CAAC;YAAS,CAAC;QACP,CAAC,GAAG,EAAE,CAAC;IACX,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YXIgeCA9IDA7DQogICAgZm9yICh2YXIgaSA9IDA7IGkgPCAxMDsgaSsrKSB7DQogICAgICAgIHggKz0gaTsNCiAgICAgICAgeCAqPSAwOw0KICAgIH0NCiAgICBpZiAoeCA+IDE3KSB7DQogICAgICAgIHggLz0gOTsNCiAgICB9DQogICAgZWxzZSB7DQogICAgICAgIHggKz0gMTA7DQogICAgICAgIHgrKzsNCiAgICB9DQogICAgdmFyIGEgPSBbDQogICAgICAgIDEsDQogICAgICAgIDIsDQogICAgICAgIDMNCiAgICBdOw0KICAgIHZhciBvYmogPSB7DQogICAgICAgIHo6IDEsDQogICAgICAgIHE6ICJoZWxsbyINCiAgICB9Ow0KICAgIGZvciAodmFyIGogaW4gYSkgew0KICAgICAgICBvYmoueiA9IGFbal07DQogICAgICAgIHZhciB2ID0gMTA7DQogICAgfQ0KICAgIHRyeSB7DQogICAgICAgIG9iai5xID0gIm9oaGgiOw0KICAgIH0NCiAgICBjYXRjaCAoZSkgew0KICAgICAgICBpZiAob2JqLnogPCAxMCkgew0KICAgICAgICAgICAgb2JqLnogPSAxMjsNCiAgICAgICAgfQ0KICAgICAgICBlbHNlIHsNCiAgICAgICAgICAgIG9iai5xID0gImhtbSI7DQogICAgICAgIH0NCiAgICB9DQogICAgdHJ5IHsNCiAgICAgICAgdGhyb3cgbmV3IEVycm9yKCk7DQogICAgfQ0KICAgIGNhdGNoIChlMSkgew0KICAgICAgICB2YXIgYiA9IGUxOw0KICAgIH0NCiAgICBmaW5hbGx5IHsNCiAgICAgICAgeSA9IDcwOw0KICAgIH0NCiAgICB3aXRoIChvYmopIHsNCiAgICAgICAgaSA9IDI7DQogICAgICAgIHogPSAxMDsNCiAgICB9DQogICAgc3dpdGNoIChvYmoueikgew0KICAgICAgICBjYXNlIDA6IHsNCiAgICAgICAgICAgIHgrKzsNCiAgICAgICAgICAgIGJyZWFrOw0KICAgICAgICB9DQogICAgICAgIGNhc2UgMTogew0KICAgICAgICAgICAgeC0tOw0KICAgICAgIC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LENBQUMsR0FBRyxFQUFFLENBQUM7SUFDWCxJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7SUFDVixPQUFPO0FBQ1gsQ0FBQztBQUNELElBQUksQ0FBQyxHQUFHO0lBQ0osSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQ1gsQ0FBQyxHQUFHLENBQUMsR0FBRyxDQUFDLENBQUM7QUFDZCxDQUFDLENBQUM7QUFDRixDQUFDLEVBQUUsQ0FBQyJ9,ZnVuY3Rpb24gZigpIHsKICAgIHZhciB5OwogICAgdmFyIHggPSAwOwogICAgZm9yICh2YXIgaSA9IDA7IGkgPCAxMDsgaSsrKSB7CiAgICAgICAgeCArPSBpOwogICAgICAgIHggKj0gMDsKICAgIH0KICAgIGlmICh4ID4gMTcpIHsKICAgICAgICB4IC89IDk7CiAgICB9IGVsc2UgewogICAgICAgIHggKz0gMTA7CiAgICAgICAgeCsrOwogICAgfQogICAgdmFyIGEgPSBbCiAgICAgICAgMSwKICAgICAgICAyLAogICAgICAgIDMKICAgIF07CiAgICB2YXIgb2JqID0gewogICAgICAgIHo6IDEsCiAgICAgICAgcTogImhlbGxvIgogICAgfTsKICAgIGZvciAodmFyIGogaW4gYSkgewogICAgICAgIG9iai56ID0gYVtqXTsKICAgICAgICB2YXIgdiA9IDEwOwogICAgfQogICAgdHJ5IHsKICAgICAgICBvYmoucSA9ICJvaGhoIjsKICAgIH0gY2F0Y2ggKGUpIHsKICAgICAgICBpZiAob2JqLnogPCAxMCkgewogICAgICAgICAgICBvYmoueiA9IDEyOwogICAgICAgIH0gZWxzZSB7CiAgICAgICAgICAgIG9iai5xID0gImhtbSI7CiAgICAgICAgfQogICAgfQogICAgdHJ5IHsKICAgICAgICB0aHJvdyBuZXcgRXJyb3IoKTsKICAgIH0gY2F0Y2ggKGUxKSB7CiAgICAgICAgdmFyIGIgPSBlMTsKICAgIH0gZmluYWxseSB7CiAgICAgICAgeSA9IDcwOwogICAgfQogICAgd2l0aCAob2JqKSB7CiAgICAgICAgaSA9IDI7CiAgICAgICAgeiA9IDEwOwogICAgfQogICAgc3dpdGNoIChvYmoueikgewogICAgICAgIGNhc2UgMDogewogICAgICAgICAgICB4Kys7CiAgICAgICAgICAgIGJyZWFrOwoKICAgICAgICB9CiAgICAgICAgY2FzZSAxOiB7CiAgICAgICAgICAgIHgtLTsKICAgICAgICAgICAgYnJlYWs7CgogICAgICAgIH0KICAgICAgICBkZWZhdWx0OiB7CiAgICAgICAgICAgIHggKj0gMjsKICAgICAgICAgICAgeCA9IDUwOwogICAgICAgICAgICBicmVhazsKCiAgICAgICAgfQogICAgfQogICAgd2hpbGUgKHggPCAxMCkgewogICAgICAgIHgrKzsKICAgIH0KICAgIGRvIHsKICAgICAgICB4LS07CiAgICB9IHdoaWxlICh4ID4gNCkKICAgIHggPSB5OwogICAgdmFyIHogPSAoeCA9PSAxKSA/IHggKyAxIDogeCAtIDE7CiAgICAoeCA9PSAxKSA/IHggKyAxIDogeCAtIDE7CiAgICB4ID09PSAxOwogICAgeCA9IHogPSA0MDsKICAgIGV2YWwoInkiKTsKICAgIHJldHVybjsKfQp2YXIgYiA9IGZ1bmN0aW9uICgpIHsKICAgIHZhciB4ID0gMTA7CiAgICB4ID0geCArIDE7Cn07CmYoKTs= diff --git a/tests/baselines/reference/sourceMapValidationStatements.sourcemap.txt b/tests/baselines/reference/sourceMapValidationStatements.sourcemap.txt index 6983fd81af3e9..de2b930ec6305 100644 --- a/tests/baselines/reference/sourceMapValidationStatements.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationStatements.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationStatements.ts emittedFile:sourceMapValidationStatements.js sourceFile:sourceMapValidationStatements.ts ------------------------------------------------------------------- +>>>"use strict"; >>>function f() { 1 > 2 >^^^^^^^^^ @@ -16,9 +17,9 @@ sourceFile:sourceMapValidationStatements.ts 1 > 2 >function 3 > f -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 10) Source(1, 10) + SourceIndex(0) -3 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 10) Source(1, 10) + SourceIndex(0) +3 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) --- >>> var y; 1->^^^^ @@ -31,10 +32,10 @@ sourceFile:sourceMapValidationStatements.ts 2 > var 3 > y 4 > ; -1->Emitted(2, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) -3 >Emitted(2, 10) Source(2, 10) + SourceIndex(0) -4 >Emitted(2, 11) Source(2, 11) + SourceIndex(0) +1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(3, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(3, 10) Source(2, 10) + SourceIndex(0) +4 >Emitted(3, 11) Source(2, 11) + SourceIndex(0) --- >>> var x = 0; 1->^^^^ @@ -51,12 +52,12 @@ sourceFile:sourceMapValidationStatements.ts 4 > = 5 > 0 6 > ; -1->Emitted(3, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(3, 9) Source(3, 9) + SourceIndex(0) -3 >Emitted(3, 10) Source(3, 10) + SourceIndex(0) -4 >Emitted(3, 13) Source(3, 13) + SourceIndex(0) -5 >Emitted(3, 14) Source(3, 14) + SourceIndex(0) -6 >Emitted(3, 15) Source(3, 15) + SourceIndex(0) +1->Emitted(4, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(4, 9) Source(3, 9) + SourceIndex(0) +3 >Emitted(4, 10) Source(3, 10) + SourceIndex(0) +4 >Emitted(4, 13) Source(3, 13) + SourceIndex(0) +5 >Emitted(4, 14) Source(3, 14) + SourceIndex(0) +6 >Emitted(4, 15) Source(3, 15) + SourceIndex(0) --- >>> for (var i = 0; i < 10; i++) { 1->^^^^ @@ -90,21 +91,21 @@ sourceFile:sourceMapValidationStatements.ts 13> ++ 14> ) 15> { -1->Emitted(4, 5) Source(4, 5) + SourceIndex(0) -2 >Emitted(4, 10) Source(4, 10) + SourceIndex(0) -3 >Emitted(4, 14) Source(4, 14) + SourceIndex(0) -4 >Emitted(4, 15) Source(4, 15) + SourceIndex(0) -5 >Emitted(4, 18) Source(4, 18) + SourceIndex(0) -6 >Emitted(4, 19) Source(4, 19) + SourceIndex(0) -7 >Emitted(4, 21) Source(4, 21) + SourceIndex(0) -8 >Emitted(4, 22) Source(4, 22) + SourceIndex(0) -9 >Emitted(4, 25) Source(4, 25) + SourceIndex(0) -10>Emitted(4, 27) Source(4, 27) + SourceIndex(0) -11>Emitted(4, 29) Source(4, 29) + SourceIndex(0) -12>Emitted(4, 30) Source(4, 30) + SourceIndex(0) -13>Emitted(4, 32) Source(4, 32) + SourceIndex(0) -14>Emitted(4, 34) Source(4, 34) + SourceIndex(0) -15>Emitted(4, 35) Source(4, 35) + SourceIndex(0) +1->Emitted(5, 5) Source(4, 5) + SourceIndex(0) +2 >Emitted(5, 10) Source(4, 10) + SourceIndex(0) +3 >Emitted(5, 14) Source(4, 14) + SourceIndex(0) +4 >Emitted(5, 15) Source(4, 15) + SourceIndex(0) +5 >Emitted(5, 18) Source(4, 18) + SourceIndex(0) +6 >Emitted(5, 19) Source(4, 19) + SourceIndex(0) +7 >Emitted(5, 21) Source(4, 21) + SourceIndex(0) +8 >Emitted(5, 22) Source(4, 22) + SourceIndex(0) +9 >Emitted(5, 25) Source(4, 25) + SourceIndex(0) +10>Emitted(5, 27) Source(4, 27) + SourceIndex(0) +11>Emitted(5, 29) Source(4, 29) + SourceIndex(0) +12>Emitted(5, 30) Source(4, 30) + SourceIndex(0) +13>Emitted(5, 32) Source(4, 32) + SourceIndex(0) +14>Emitted(5, 34) Source(4, 34) + SourceIndex(0) +15>Emitted(5, 35) Source(4, 35) + SourceIndex(0) --- >>> x += i; 1 >^^^^^^^^ @@ -119,11 +120,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > += 4 > i 5 > ; -1 >Emitted(5, 9) Source(5, 9) + SourceIndex(0) -2 >Emitted(5, 10) Source(5, 10) + SourceIndex(0) -3 >Emitted(5, 14) Source(5, 14) + SourceIndex(0) -4 >Emitted(5, 15) Source(5, 15) + SourceIndex(0) -5 >Emitted(5, 16) Source(5, 16) + SourceIndex(0) +1 >Emitted(6, 9) Source(5, 9) + SourceIndex(0) +2 >Emitted(6, 10) Source(5, 10) + SourceIndex(0) +3 >Emitted(6, 14) Source(5, 14) + SourceIndex(0) +4 >Emitted(6, 15) Source(5, 15) + SourceIndex(0) +5 >Emitted(6, 16) Source(5, 16) + SourceIndex(0) --- >>> x *= 0; 1->^^^^^^^^ @@ -137,11 +138,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > *= 4 > 0 5 > ; -1->Emitted(6, 9) Source(6, 9) + SourceIndex(0) -2 >Emitted(6, 10) Source(6, 10) + SourceIndex(0) -3 >Emitted(6, 14) Source(6, 14) + SourceIndex(0) -4 >Emitted(6, 15) Source(6, 15) + SourceIndex(0) -5 >Emitted(6, 16) Source(6, 16) + SourceIndex(0) +1->Emitted(7, 9) Source(6, 9) + SourceIndex(0) +2 >Emitted(7, 10) Source(6, 10) + SourceIndex(0) +3 >Emitted(7, 14) Source(6, 14) + SourceIndex(0) +4 >Emitted(7, 15) Source(6, 15) + SourceIndex(0) +5 >Emitted(7, 16) Source(6, 16) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -150,8 +151,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(7, 5) Source(7, 5) + SourceIndex(0) -2 >Emitted(7, 6) Source(7, 6) + SourceIndex(0) +1 >Emitted(8, 5) Source(7, 5) + SourceIndex(0) +2 >Emitted(8, 6) Source(7, 6) + SourceIndex(0) --- >>> if (x > 17) { 1->^^^^ @@ -169,13 +170,13 @@ sourceFile:sourceMapValidationStatements.ts 5 > 17 6 > ) 7 > { -1->Emitted(8, 5) Source(8, 5) + SourceIndex(0) -2 >Emitted(8, 9) Source(8, 9) + SourceIndex(0) -3 >Emitted(8, 10) Source(8, 10) + SourceIndex(0) -4 >Emitted(8, 13) Source(8, 13) + SourceIndex(0) -5 >Emitted(8, 15) Source(8, 15) + SourceIndex(0) -6 >Emitted(8, 17) Source(8, 17) + SourceIndex(0) -7 >Emitted(8, 18) Source(8, 18) + SourceIndex(0) +1->Emitted(9, 5) Source(8, 5) + SourceIndex(0) +2 >Emitted(9, 9) Source(8, 9) + SourceIndex(0) +3 >Emitted(9, 10) Source(8, 10) + SourceIndex(0) +4 >Emitted(9, 13) Source(8, 13) + SourceIndex(0) +5 >Emitted(9, 15) Source(8, 15) + SourceIndex(0) +6 >Emitted(9, 17) Source(8, 17) + SourceIndex(0) +7 >Emitted(9, 18) Source(8, 18) + SourceIndex(0) --- >>> x /= 9; 1 >^^^^^^^^ @@ -189,11 +190,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > /= 4 > 9 5 > ; -1 >Emitted(9, 9) Source(9, 9) + SourceIndex(0) -2 >Emitted(9, 10) Source(9, 10) + SourceIndex(0) -3 >Emitted(9, 14) Source(9, 14) + SourceIndex(0) -4 >Emitted(9, 15) Source(9, 15) + SourceIndex(0) -5 >Emitted(9, 16) Source(9, 16) + SourceIndex(0) +1 >Emitted(10, 9) Source(9, 9) + SourceIndex(0) +2 >Emitted(10, 10) Source(9, 10) + SourceIndex(0) +3 >Emitted(10, 14) Source(9, 14) + SourceIndex(0) +4 >Emitted(10, 15) Source(9, 15) + SourceIndex(0) +5 >Emitted(10, 16) Source(9, 16) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -202,8 +203,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(10, 5) Source(10, 5) + SourceIndex(0) -2 >Emitted(10, 6) Source(10, 6) + SourceIndex(0) +1 >Emitted(11, 5) Source(10, 5) + SourceIndex(0) +2 >Emitted(11, 6) Source(10, 6) + SourceIndex(0) --- >>> else { 1->^^^^^^^^^ @@ -211,8 +212,8 @@ sourceFile:sourceMapValidationStatements.ts 3 > ^^^^^^^-> 1-> else 2 > { -1->Emitted(11, 10) Source(10, 12) + SourceIndex(0) -2 >Emitted(11, 11) Source(10, 13) + SourceIndex(0) +1->Emitted(12, 10) Source(10, 12) + SourceIndex(0) +2 >Emitted(12, 11) Source(10, 13) + SourceIndex(0) --- >>> x += 10; 1->^^^^^^^^ @@ -226,11 +227,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > += 4 > 10 5 > ; -1->Emitted(12, 9) Source(11, 9) + SourceIndex(0) -2 >Emitted(12, 10) Source(11, 10) + SourceIndex(0) -3 >Emitted(12, 14) Source(11, 14) + SourceIndex(0) -4 >Emitted(12, 16) Source(11, 16) + SourceIndex(0) -5 >Emitted(12, 17) Source(11, 17) + SourceIndex(0) +1->Emitted(13, 9) Source(11, 9) + SourceIndex(0) +2 >Emitted(13, 10) Source(11, 10) + SourceIndex(0) +3 >Emitted(13, 14) Source(11, 14) + SourceIndex(0) +4 >Emitted(13, 16) Source(11, 16) + SourceIndex(0) +5 >Emitted(13, 17) Source(11, 17) + SourceIndex(0) --- >>> x++; 1 >^^^^^^^^ @@ -242,10 +243,10 @@ sourceFile:sourceMapValidationStatements.ts 2 > x 3 > ++ 4 > ; -1 >Emitted(13, 9) Source(12, 9) + SourceIndex(0) -2 >Emitted(13, 10) Source(12, 10) + SourceIndex(0) -3 >Emitted(13, 12) Source(12, 12) + SourceIndex(0) -4 >Emitted(13, 13) Source(12, 13) + SourceIndex(0) +1 >Emitted(14, 9) Source(12, 9) + SourceIndex(0) +2 >Emitted(14, 10) Source(12, 10) + SourceIndex(0) +3 >Emitted(14, 12) Source(12, 12) + SourceIndex(0) +4 >Emitted(14, 13) Source(12, 13) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -254,8 +255,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(14, 5) Source(13, 5) + SourceIndex(0) -2 >Emitted(14, 6) Source(13, 6) + SourceIndex(0) +1 >Emitted(15, 5) Source(13, 5) + SourceIndex(0) +2 >Emitted(15, 6) Source(13, 6) + SourceIndex(0) --- >>> var a = [ 1->^^^^ @@ -267,10 +268,10 @@ sourceFile:sourceMapValidationStatements.ts 2 > var 3 > a 4 > = -1->Emitted(15, 5) Source(14, 5) + SourceIndex(0) -2 >Emitted(15, 9) Source(14, 9) + SourceIndex(0) -3 >Emitted(15, 10) Source(14, 10) + SourceIndex(0) -4 >Emitted(15, 13) Source(14, 13) + SourceIndex(0) +1->Emitted(16, 5) Source(14, 5) + SourceIndex(0) +2 >Emitted(16, 9) Source(14, 9) + SourceIndex(0) +3 >Emitted(16, 10) Source(14, 10) + SourceIndex(0) +4 >Emitted(16, 13) Source(14, 13) + SourceIndex(0) --- >>> 1, 1 >^^^^^^^^ @@ -279,8 +280,8 @@ sourceFile:sourceMapValidationStatements.ts 1 >[ > 2 > 1 -1 >Emitted(16, 9) Source(15, 9) + SourceIndex(0) -2 >Emitted(16, 10) Source(15, 10) + SourceIndex(0) +1 >Emitted(17, 9) Source(15, 9) + SourceIndex(0) +2 >Emitted(17, 10) Source(15, 10) + SourceIndex(0) --- >>> 2, 1->^^^^^^^^ @@ -289,8 +290,8 @@ sourceFile:sourceMapValidationStatements.ts 1->, > 2 > 2 -1->Emitted(17, 9) Source(16, 9) + SourceIndex(0) -2 >Emitted(17, 10) Source(16, 10) + SourceIndex(0) +1->Emitted(18, 9) Source(16, 9) + SourceIndex(0) +2 >Emitted(18, 10) Source(16, 10) + SourceIndex(0) --- >>> 3 1->^^^^^^^^ @@ -298,8 +299,8 @@ sourceFile:sourceMapValidationStatements.ts 1->, > 2 > 3 -1->Emitted(18, 9) Source(17, 9) + SourceIndex(0) -2 >Emitted(18, 10) Source(17, 10) + SourceIndex(0) +1->Emitted(19, 9) Source(17, 9) + SourceIndex(0) +2 >Emitted(19, 10) Source(17, 10) + SourceIndex(0) --- >>> ]; 1 >^^^^^ @@ -308,8 +309,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > ] 2 > ; -1 >Emitted(19, 6) Source(18, 6) + SourceIndex(0) -2 >Emitted(19, 7) Source(18, 7) + SourceIndex(0) +1 >Emitted(20, 6) Source(18, 6) + SourceIndex(0) +2 >Emitted(20, 7) Source(18, 7) + SourceIndex(0) --- >>> var obj = { 1->^^^^ @@ -321,10 +322,10 @@ sourceFile:sourceMapValidationStatements.ts 2 > var 3 > obj 4 > = -1->Emitted(20, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(20, 9) Source(19, 9) + SourceIndex(0) -3 >Emitted(20, 12) Source(19, 12) + SourceIndex(0) -4 >Emitted(20, 15) Source(19, 15) + SourceIndex(0) +1->Emitted(21, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(21, 9) Source(19, 9) + SourceIndex(0) +3 >Emitted(21, 12) Source(19, 12) + SourceIndex(0) +4 >Emitted(21, 15) Source(19, 15) + SourceIndex(0) --- >>> z: 1, 1 >^^^^^^^^ @@ -337,10 +338,10 @@ sourceFile:sourceMapValidationStatements.ts 2 > z 3 > : 4 > 1 -1 >Emitted(21, 9) Source(20, 9) + SourceIndex(0) -2 >Emitted(21, 10) Source(20, 10) + SourceIndex(0) -3 >Emitted(21, 12) Source(20, 12) + SourceIndex(0) -4 >Emitted(21, 13) Source(20, 13) + SourceIndex(0) +1 >Emitted(22, 9) Source(20, 9) + SourceIndex(0) +2 >Emitted(22, 10) Source(20, 10) + SourceIndex(0) +3 >Emitted(22, 12) Source(20, 12) + SourceIndex(0) +4 >Emitted(22, 13) Source(20, 13) + SourceIndex(0) --- >>> q: "hello" 1->^^^^^^^^ @@ -352,10 +353,10 @@ sourceFile:sourceMapValidationStatements.ts 2 > q 3 > : 4 > "hello" -1->Emitted(22, 9) Source(21, 9) + SourceIndex(0) -2 >Emitted(22, 10) Source(21, 10) + SourceIndex(0) -3 >Emitted(22, 12) Source(21, 12) + SourceIndex(0) -4 >Emitted(22, 19) Source(21, 19) + SourceIndex(0) +1->Emitted(23, 9) Source(21, 9) + SourceIndex(0) +2 >Emitted(23, 10) Source(21, 10) + SourceIndex(0) +3 >Emitted(23, 12) Source(21, 12) + SourceIndex(0) +4 >Emitted(23, 19) Source(21, 19) + SourceIndex(0) --- >>> }; 1 >^^^^^ @@ -364,8 +365,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > } 2 > ; -1 >Emitted(23, 6) Source(22, 6) + SourceIndex(0) -2 >Emitted(23, 7) Source(22, 7) + SourceIndex(0) +1 >Emitted(24, 6) Source(22, 6) + SourceIndex(0) +2 >Emitted(24, 7) Source(22, 7) + SourceIndex(0) --- >>> for (var j in a) { 1->^^^^ @@ -385,14 +386,14 @@ sourceFile:sourceMapValidationStatements.ts 6 > a 7 > ) 8 > { -1->Emitted(24, 5) Source(23, 5) + SourceIndex(0) -2 >Emitted(24, 10) Source(23, 10) + SourceIndex(0) -3 >Emitted(24, 14) Source(23, 14) + SourceIndex(0) -4 >Emitted(24, 15) Source(23, 15) + SourceIndex(0) -5 >Emitted(24, 19) Source(23, 19) + SourceIndex(0) -6 >Emitted(24, 20) Source(23, 20) + SourceIndex(0) -7 >Emitted(24, 22) Source(23, 22) + SourceIndex(0) -8 >Emitted(24, 23) Source(23, 23) + SourceIndex(0) +1->Emitted(25, 5) Source(23, 5) + SourceIndex(0) +2 >Emitted(25, 10) Source(23, 10) + SourceIndex(0) +3 >Emitted(25, 14) Source(23, 14) + SourceIndex(0) +4 >Emitted(25, 15) Source(23, 15) + SourceIndex(0) +5 >Emitted(25, 19) Source(23, 19) + SourceIndex(0) +6 >Emitted(25, 20) Source(23, 20) + SourceIndex(0) +7 >Emitted(25, 22) Source(23, 22) + SourceIndex(0) +8 >Emitted(25, 23) Source(23, 23) + SourceIndex(0) --- >>> obj.z = a[j]; 1 >^^^^^^^^ @@ -416,16 +417,16 @@ sourceFile:sourceMapValidationStatements.ts 8 > j 9 > ] 10> ; -1 >Emitted(25, 9) Source(24, 9) + SourceIndex(0) -2 >Emitted(25, 12) Source(24, 12) + SourceIndex(0) -3 >Emitted(25, 13) Source(24, 13) + SourceIndex(0) -4 >Emitted(25, 14) Source(24, 14) + SourceIndex(0) -5 >Emitted(25, 17) Source(24, 17) + SourceIndex(0) -6 >Emitted(25, 18) Source(24, 18) + SourceIndex(0) -7 >Emitted(25, 19) Source(24, 19) + SourceIndex(0) -8 >Emitted(25, 20) Source(24, 20) + SourceIndex(0) -9 >Emitted(25, 21) Source(24, 21) + SourceIndex(0) -10>Emitted(25, 22) Source(24, 22) + SourceIndex(0) +1 >Emitted(26, 9) Source(24, 9) + SourceIndex(0) +2 >Emitted(26, 12) Source(24, 12) + SourceIndex(0) +3 >Emitted(26, 13) Source(24, 13) + SourceIndex(0) +4 >Emitted(26, 14) Source(24, 14) + SourceIndex(0) +5 >Emitted(26, 17) Source(24, 17) + SourceIndex(0) +6 >Emitted(26, 18) Source(24, 18) + SourceIndex(0) +7 >Emitted(26, 19) Source(24, 19) + SourceIndex(0) +8 >Emitted(26, 20) Source(24, 20) + SourceIndex(0) +9 >Emitted(26, 21) Source(24, 21) + SourceIndex(0) +10>Emitted(26, 22) Source(24, 22) + SourceIndex(0) --- >>> var v = 10; 1 >^^^^^^^^ @@ -441,12 +442,12 @@ sourceFile:sourceMapValidationStatements.ts 4 > = 5 > 10 6 > ; -1 >Emitted(26, 9) Source(25, 9) + SourceIndex(0) -2 >Emitted(26, 13) Source(25, 13) + SourceIndex(0) -3 >Emitted(26, 14) Source(25, 14) + SourceIndex(0) -4 >Emitted(26, 17) Source(25, 17) + SourceIndex(0) -5 >Emitted(26, 19) Source(25, 19) + SourceIndex(0) -6 >Emitted(26, 20) Source(25, 20) + SourceIndex(0) +1 >Emitted(27, 9) Source(25, 9) + SourceIndex(0) +2 >Emitted(27, 13) Source(25, 13) + SourceIndex(0) +3 >Emitted(27, 14) Source(25, 14) + SourceIndex(0) +4 >Emitted(27, 17) Source(25, 17) + SourceIndex(0) +5 >Emitted(27, 19) Source(25, 19) + SourceIndex(0) +6 >Emitted(27, 20) Source(25, 20) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -455,8 +456,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(27, 5) Source(26, 5) + SourceIndex(0) -2 >Emitted(27, 6) Source(26, 6) + SourceIndex(0) +1 >Emitted(28, 5) Source(26, 5) + SourceIndex(0) +2 >Emitted(28, 6) Source(26, 6) + SourceIndex(0) --- >>> try { 1->^^^^ @@ -467,9 +468,9 @@ sourceFile:sourceMapValidationStatements.ts > 2 > try 3 > { -1->Emitted(28, 5) Source(27, 5) + SourceIndex(0) -2 >Emitted(28, 9) Source(27, 9) + SourceIndex(0) -3 >Emitted(28, 10) Source(27, 10) + SourceIndex(0) +1->Emitted(29, 5) Source(27, 5) + SourceIndex(0) +2 >Emitted(29, 9) Source(27, 9) + SourceIndex(0) +3 >Emitted(29, 10) Source(27, 10) + SourceIndex(0) --- >>> obj.q = "ohhh"; 1->^^^^^^^^ @@ -487,13 +488,13 @@ sourceFile:sourceMapValidationStatements.ts 5 > = 6 > "ohhh" 7 > ; -1->Emitted(29, 9) Source(28, 9) + SourceIndex(0) -2 >Emitted(29, 12) Source(28, 12) + SourceIndex(0) -3 >Emitted(29, 13) Source(28, 13) + SourceIndex(0) -4 >Emitted(29, 14) Source(28, 14) + SourceIndex(0) -5 >Emitted(29, 17) Source(28, 17) + SourceIndex(0) -6 >Emitted(29, 23) Source(28, 23) + SourceIndex(0) -7 >Emitted(29, 24) Source(28, 24) + SourceIndex(0) +1->Emitted(30, 9) Source(28, 9) + SourceIndex(0) +2 >Emitted(30, 12) Source(28, 12) + SourceIndex(0) +3 >Emitted(30, 13) Source(28, 13) + SourceIndex(0) +4 >Emitted(30, 14) Source(28, 14) + SourceIndex(0) +5 >Emitted(30, 17) Source(28, 17) + SourceIndex(0) +6 >Emitted(30, 23) Source(28, 23) + SourceIndex(0) +7 >Emitted(30, 24) Source(28, 24) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -502,8 +503,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(30, 5) Source(29, 5) + SourceIndex(0) -2 >Emitted(30, 6) Source(29, 6) + SourceIndex(0) +1 >Emitted(31, 5) Source(29, 5) + SourceIndex(0) +2 >Emitted(31, 6) Source(29, 6) + SourceIndex(0) --- >>> catch (e) { 1->^^^^ @@ -517,11 +518,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > e 4 > ) 5 > { -1->Emitted(31, 5) Source(29, 7) + SourceIndex(0) -2 >Emitted(31, 12) Source(29, 14) + SourceIndex(0) -3 >Emitted(31, 13) Source(29, 15) + SourceIndex(0) -4 >Emitted(31, 15) Source(29, 17) + SourceIndex(0) -5 >Emitted(31, 16) Source(29, 18) + SourceIndex(0) +1->Emitted(32, 5) Source(29, 7) + SourceIndex(0) +2 >Emitted(32, 12) Source(29, 14) + SourceIndex(0) +3 >Emitted(32, 13) Source(29, 15) + SourceIndex(0) +4 >Emitted(32, 15) Source(29, 17) + SourceIndex(0) +5 >Emitted(32, 16) Source(29, 18) + SourceIndex(0) --- >>> if (obj.z < 10) { 1->^^^^^^^^ @@ -543,15 +544,15 @@ sourceFile:sourceMapValidationStatements.ts 7 > 10 8 > ) 9 > { -1->Emitted(32, 9) Source(30, 9) + SourceIndex(0) -2 >Emitted(32, 13) Source(30, 13) + SourceIndex(0) -3 >Emitted(32, 16) Source(30, 16) + SourceIndex(0) -4 >Emitted(32, 17) Source(30, 17) + SourceIndex(0) -5 >Emitted(32, 18) Source(30, 18) + SourceIndex(0) -6 >Emitted(32, 21) Source(30, 21) + SourceIndex(0) -7 >Emitted(32, 23) Source(30, 23) + SourceIndex(0) -8 >Emitted(32, 25) Source(30, 25) + SourceIndex(0) -9 >Emitted(32, 26) Source(30, 26) + SourceIndex(0) +1->Emitted(33, 9) Source(30, 9) + SourceIndex(0) +2 >Emitted(33, 13) Source(30, 13) + SourceIndex(0) +3 >Emitted(33, 16) Source(30, 16) + SourceIndex(0) +4 >Emitted(33, 17) Source(30, 17) + SourceIndex(0) +5 >Emitted(33, 18) Source(30, 18) + SourceIndex(0) +6 >Emitted(33, 21) Source(30, 21) + SourceIndex(0) +7 >Emitted(33, 23) Source(30, 23) + SourceIndex(0) +8 >Emitted(33, 25) Source(30, 25) + SourceIndex(0) +9 >Emitted(33, 26) Source(30, 26) + SourceIndex(0) --- >>> obj.z = 12; 1 >^^^^^^^^^^^^ @@ -569,13 +570,13 @@ sourceFile:sourceMapValidationStatements.ts 5 > = 6 > 12 7 > ; -1 >Emitted(33, 13) Source(31, 13) + SourceIndex(0) -2 >Emitted(33, 16) Source(31, 16) + SourceIndex(0) -3 >Emitted(33, 17) Source(31, 17) + SourceIndex(0) -4 >Emitted(33, 18) Source(31, 18) + SourceIndex(0) -5 >Emitted(33, 21) Source(31, 21) + SourceIndex(0) -6 >Emitted(33, 23) Source(31, 23) + SourceIndex(0) -7 >Emitted(33, 24) Source(31, 24) + SourceIndex(0) +1 >Emitted(34, 13) Source(31, 13) + SourceIndex(0) +2 >Emitted(34, 16) Source(31, 16) + SourceIndex(0) +3 >Emitted(34, 17) Source(31, 17) + SourceIndex(0) +4 >Emitted(34, 18) Source(31, 18) + SourceIndex(0) +5 >Emitted(34, 21) Source(31, 21) + SourceIndex(0) +6 >Emitted(34, 23) Source(31, 23) + SourceIndex(0) +7 >Emitted(34, 24) Source(31, 24) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -584,8 +585,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(34, 9) Source(32, 9) + SourceIndex(0) -2 >Emitted(34, 10) Source(32, 10) + SourceIndex(0) +1 >Emitted(35, 9) Source(32, 9) + SourceIndex(0) +2 >Emitted(35, 10) Source(32, 10) + SourceIndex(0) --- >>> else { 1->^^^^^^^^^^^^^ @@ -593,8 +594,8 @@ sourceFile:sourceMapValidationStatements.ts 3 > ^^^^^^^^^^^^^-> 1-> else 2 > { -1->Emitted(35, 14) Source(32, 16) + SourceIndex(0) -2 >Emitted(35, 15) Source(32, 17) + SourceIndex(0) +1->Emitted(36, 14) Source(32, 16) + SourceIndex(0) +2 >Emitted(36, 15) Source(32, 17) + SourceIndex(0) --- >>> obj.q = "hmm"; 1->^^^^^^^^^^^^ @@ -612,13 +613,13 @@ sourceFile:sourceMapValidationStatements.ts 5 > = 6 > "hmm" 7 > ; -1->Emitted(36, 13) Source(33, 13) + SourceIndex(0) -2 >Emitted(36, 16) Source(33, 16) + SourceIndex(0) -3 >Emitted(36, 17) Source(33, 17) + SourceIndex(0) -4 >Emitted(36, 18) Source(33, 18) + SourceIndex(0) -5 >Emitted(36, 21) Source(33, 21) + SourceIndex(0) -6 >Emitted(36, 26) Source(33, 26) + SourceIndex(0) -7 >Emitted(36, 27) Source(33, 27) + SourceIndex(0) +1->Emitted(37, 13) Source(33, 13) + SourceIndex(0) +2 >Emitted(37, 16) Source(33, 16) + SourceIndex(0) +3 >Emitted(37, 17) Source(33, 17) + SourceIndex(0) +4 >Emitted(37, 18) Source(33, 18) + SourceIndex(0) +5 >Emitted(37, 21) Source(33, 21) + SourceIndex(0) +6 >Emitted(37, 26) Source(33, 26) + SourceIndex(0) +7 >Emitted(37, 27) Source(33, 27) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -626,8 +627,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(37, 9) Source(34, 9) + SourceIndex(0) -2 >Emitted(37, 10) Source(34, 10) + SourceIndex(0) +1 >Emitted(38, 9) Source(34, 9) + SourceIndex(0) +2 >Emitted(38, 10) Source(34, 10) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -636,8 +637,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(38, 5) Source(35, 5) + SourceIndex(0) -2 >Emitted(38, 6) Source(35, 6) + SourceIndex(0) +1 >Emitted(39, 5) Source(35, 5) + SourceIndex(0) +2 >Emitted(39, 6) Source(35, 6) + SourceIndex(0) --- >>> try { 1->^^^^ @@ -648,9 +649,9 @@ sourceFile:sourceMapValidationStatements.ts > 2 > try 3 > { -1->Emitted(39, 5) Source(36, 5) + SourceIndex(0) -2 >Emitted(39, 9) Source(36, 9) + SourceIndex(0) -3 >Emitted(39, 10) Source(36, 10) + SourceIndex(0) +1->Emitted(40, 5) Source(36, 5) + SourceIndex(0) +2 >Emitted(40, 9) Source(36, 9) + SourceIndex(0) +3 >Emitted(40, 10) Source(36, 10) + SourceIndex(0) --- >>> throw new Error(); 1->^^^^^^^^ @@ -666,12 +667,12 @@ sourceFile:sourceMapValidationStatements.ts 4 > Error 5 > () 6 > ; -1->Emitted(40, 9) Source(37, 9) + SourceIndex(0) -2 >Emitted(40, 15) Source(37, 15) + SourceIndex(0) -3 >Emitted(40, 19) Source(37, 19) + SourceIndex(0) -4 >Emitted(40, 24) Source(37, 24) + SourceIndex(0) -5 >Emitted(40, 26) Source(37, 26) + SourceIndex(0) -6 >Emitted(40, 27) Source(37, 27) + SourceIndex(0) +1->Emitted(41, 9) Source(37, 9) + SourceIndex(0) +2 >Emitted(41, 15) Source(37, 15) + SourceIndex(0) +3 >Emitted(41, 19) Source(37, 19) + SourceIndex(0) +4 >Emitted(41, 24) Source(37, 24) + SourceIndex(0) +5 >Emitted(41, 26) Source(37, 26) + SourceIndex(0) +6 >Emitted(41, 27) Source(37, 27) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -680,8 +681,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(41, 5) Source(38, 5) + SourceIndex(0) -2 >Emitted(41, 6) Source(38, 6) + SourceIndex(0) +1 >Emitted(42, 5) Source(38, 5) + SourceIndex(0) +2 >Emitted(42, 6) Source(38, 6) + SourceIndex(0) --- >>> catch (e1) { 1->^^^^ @@ -695,11 +696,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > e1 4 > ) 5 > { -1->Emitted(42, 5) Source(38, 7) + SourceIndex(0) -2 >Emitted(42, 12) Source(38, 14) + SourceIndex(0) -3 >Emitted(42, 14) Source(38, 16) + SourceIndex(0) -4 >Emitted(42, 16) Source(38, 18) + SourceIndex(0) -5 >Emitted(42, 17) Source(38, 19) + SourceIndex(0) +1->Emitted(43, 5) Source(38, 7) + SourceIndex(0) +2 >Emitted(43, 12) Source(38, 14) + SourceIndex(0) +3 >Emitted(43, 14) Source(38, 16) + SourceIndex(0) +4 >Emitted(43, 16) Source(38, 18) + SourceIndex(0) +5 >Emitted(43, 17) Source(38, 19) + SourceIndex(0) --- >>> var b = e1; 1->^^^^^^^^ @@ -715,12 +716,12 @@ sourceFile:sourceMapValidationStatements.ts 4 > = 5 > e1 6 > ; -1->Emitted(43, 9) Source(39, 9) + SourceIndex(0) -2 >Emitted(43, 13) Source(39, 13) + SourceIndex(0) -3 >Emitted(43, 14) Source(39, 14) + SourceIndex(0) -4 >Emitted(43, 17) Source(39, 17) + SourceIndex(0) -5 >Emitted(43, 19) Source(39, 19) + SourceIndex(0) -6 >Emitted(43, 20) Source(39, 20) + SourceIndex(0) +1->Emitted(44, 9) Source(39, 9) + SourceIndex(0) +2 >Emitted(44, 13) Source(39, 13) + SourceIndex(0) +3 >Emitted(44, 14) Source(39, 14) + SourceIndex(0) +4 >Emitted(44, 17) Source(39, 17) + SourceIndex(0) +5 >Emitted(44, 19) Source(39, 19) + SourceIndex(0) +6 >Emitted(44, 20) Source(39, 20) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -729,8 +730,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(44, 5) Source(40, 5) + SourceIndex(0) -2 >Emitted(44, 6) Source(40, 6) + SourceIndex(0) +1 >Emitted(45, 5) Source(40, 5) + SourceIndex(0) +2 >Emitted(45, 6) Source(40, 6) + SourceIndex(0) --- >>> finally { 1->^^^^^^^^^^^^ @@ -738,8 +739,8 @@ sourceFile:sourceMapValidationStatements.ts 3 > ^^^-> 1-> finally 2 > { -1->Emitted(45, 13) Source(40, 15) + SourceIndex(0) -2 >Emitted(45, 14) Source(40, 16) + SourceIndex(0) +1->Emitted(46, 13) Source(40, 15) + SourceIndex(0) +2 >Emitted(46, 14) Source(40, 16) + SourceIndex(0) --- >>> y = 70; 1->^^^^^^^^ @@ -753,11 +754,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > = 4 > 70 5 > ; -1->Emitted(46, 9) Source(41, 9) + SourceIndex(0) -2 >Emitted(46, 10) Source(41, 10) + SourceIndex(0) -3 >Emitted(46, 13) Source(41, 13) + SourceIndex(0) -4 >Emitted(46, 15) Source(41, 15) + SourceIndex(0) -5 >Emitted(46, 16) Source(41, 16) + SourceIndex(0) +1->Emitted(47, 9) Source(41, 9) + SourceIndex(0) +2 >Emitted(47, 10) Source(41, 10) + SourceIndex(0) +3 >Emitted(47, 13) Source(41, 13) + SourceIndex(0) +4 >Emitted(47, 15) Source(41, 15) + SourceIndex(0) +5 >Emitted(47, 16) Source(41, 16) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -766,8 +767,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(47, 5) Source(42, 5) + SourceIndex(0) -2 >Emitted(47, 6) Source(42, 6) + SourceIndex(0) +1 >Emitted(48, 5) Source(42, 5) + SourceIndex(0) +2 >Emitted(48, 6) Source(42, 6) + SourceIndex(0) --- >>> with (obj) { 1->^^^^ @@ -781,11 +782,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > obj 4 > ) 5 > { -1->Emitted(48, 5) Source(43, 5) + SourceIndex(0) -2 >Emitted(48, 11) Source(43, 11) + SourceIndex(0) -3 >Emitted(48, 14) Source(43, 14) + SourceIndex(0) -4 >Emitted(48, 16) Source(43, 16) + SourceIndex(0) -5 >Emitted(48, 17) Source(43, 17) + SourceIndex(0) +1->Emitted(49, 5) Source(43, 5) + SourceIndex(0) +2 >Emitted(49, 11) Source(43, 11) + SourceIndex(0) +3 >Emitted(49, 14) Source(43, 14) + SourceIndex(0) +4 >Emitted(49, 16) Source(43, 16) + SourceIndex(0) +5 >Emitted(49, 17) Source(43, 17) + SourceIndex(0) --- >>> i = 2; 1 >^^^^^^^^ @@ -800,11 +801,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > = 4 > 2 5 > ; -1 >Emitted(49, 9) Source(44, 9) + SourceIndex(0) -2 >Emitted(49, 10) Source(44, 10) + SourceIndex(0) -3 >Emitted(49, 13) Source(44, 13) + SourceIndex(0) -4 >Emitted(49, 14) Source(44, 14) + SourceIndex(0) -5 >Emitted(49, 15) Source(44, 15) + SourceIndex(0) +1 >Emitted(50, 9) Source(44, 9) + SourceIndex(0) +2 >Emitted(50, 10) Source(44, 10) + SourceIndex(0) +3 >Emitted(50, 13) Source(44, 13) + SourceIndex(0) +4 >Emitted(50, 14) Source(44, 14) + SourceIndex(0) +5 >Emitted(50, 15) Source(44, 15) + SourceIndex(0) --- >>> z = 10; 1->^^^^^^^^ @@ -818,11 +819,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > = 4 > 10 5 > ; -1->Emitted(50, 9) Source(45, 9) + SourceIndex(0) -2 >Emitted(50, 10) Source(45, 10) + SourceIndex(0) -3 >Emitted(50, 13) Source(45, 13) + SourceIndex(0) -4 >Emitted(50, 15) Source(45, 15) + SourceIndex(0) -5 >Emitted(50, 16) Source(45, 16) + SourceIndex(0) +1->Emitted(51, 9) Source(45, 9) + SourceIndex(0) +2 >Emitted(51, 10) Source(45, 10) + SourceIndex(0) +3 >Emitted(51, 13) Source(45, 13) + SourceIndex(0) +4 >Emitted(51, 15) Source(45, 15) + SourceIndex(0) +5 >Emitted(51, 16) Source(45, 16) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -831,8 +832,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(51, 5) Source(46, 5) + SourceIndex(0) -2 >Emitted(51, 6) Source(46, 6) + SourceIndex(0) +1 >Emitted(52, 5) Source(46, 5) + SourceIndex(0) +2 >Emitted(52, 6) Source(46, 6) + SourceIndex(0) --- >>> switch (obj.z) { 1->^^^^ @@ -850,13 +851,13 @@ sourceFile:sourceMapValidationStatements.ts 5 > z 6 > ) 7 > { -1->Emitted(52, 5) Source(47, 5) + SourceIndex(0) -2 >Emitted(52, 13) Source(47, 13) + SourceIndex(0) -3 >Emitted(52, 16) Source(47, 16) + SourceIndex(0) -4 >Emitted(52, 17) Source(47, 17) + SourceIndex(0) -5 >Emitted(52, 18) Source(47, 18) + SourceIndex(0) -6 >Emitted(52, 20) Source(47, 20) + SourceIndex(0) -7 >Emitted(52, 21) Source(47, 21) + SourceIndex(0) +1->Emitted(53, 5) Source(47, 5) + SourceIndex(0) +2 >Emitted(53, 13) Source(47, 13) + SourceIndex(0) +3 >Emitted(53, 16) Source(47, 16) + SourceIndex(0) +4 >Emitted(53, 17) Source(47, 17) + SourceIndex(0) +5 >Emitted(53, 18) Source(47, 18) + SourceIndex(0) +6 >Emitted(53, 20) Source(47, 20) + SourceIndex(0) +7 >Emitted(53, 21) Source(47, 21) + SourceIndex(0) --- >>> case 0: { 1 >^^^^^^^^ @@ -872,12 +873,12 @@ sourceFile:sourceMapValidationStatements.ts 4 > : 5 > 6 > { -1 >Emitted(53, 9) Source(48, 9) + SourceIndex(0) -2 >Emitted(53, 14) Source(48, 14) + SourceIndex(0) -3 >Emitted(53, 15) Source(48, 15) + SourceIndex(0) -4 >Emitted(53, 16) Source(48, 16) + SourceIndex(0) -5 >Emitted(53, 17) Source(48, 17) + SourceIndex(0) -6 >Emitted(53, 18) Source(48, 18) + SourceIndex(0) +1 >Emitted(54, 9) Source(48, 9) + SourceIndex(0) +2 >Emitted(54, 14) Source(48, 14) + SourceIndex(0) +3 >Emitted(54, 15) Source(48, 15) + SourceIndex(0) +4 >Emitted(54, 16) Source(48, 16) + SourceIndex(0) +5 >Emitted(54, 17) Source(48, 17) + SourceIndex(0) +6 >Emitted(54, 18) Source(48, 18) + SourceIndex(0) --- >>> x++; 1 >^^^^^^^^^^^^ @@ -890,10 +891,10 @@ sourceFile:sourceMapValidationStatements.ts 2 > x 3 > ++ 4 > ; -1 >Emitted(54, 13) Source(49, 13) + SourceIndex(0) -2 >Emitted(54, 14) Source(49, 14) + SourceIndex(0) -3 >Emitted(54, 16) Source(49, 16) + SourceIndex(0) -4 >Emitted(54, 17) Source(49, 17) + SourceIndex(0) +1 >Emitted(55, 13) Source(49, 13) + SourceIndex(0) +2 >Emitted(55, 14) Source(49, 14) + SourceIndex(0) +3 >Emitted(55, 16) Source(49, 16) + SourceIndex(0) +4 >Emitted(55, 17) Source(49, 17) + SourceIndex(0) --- >>> break; 1->^^^^^^^^^^^^ @@ -901,8 +902,8 @@ sourceFile:sourceMapValidationStatements.ts 1-> > 2 > break; -1->Emitted(55, 13) Source(50, 13) + SourceIndex(0) -2 >Emitted(55, 19) Source(50, 19) + SourceIndex(0) +1->Emitted(56, 13) Source(50, 13) + SourceIndex(0) +2 >Emitted(56, 19) Source(50, 19) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -912,8 +913,8 @@ sourceFile:sourceMapValidationStatements.ts > > 2 > } -1 >Emitted(56, 9) Source(52, 9) + SourceIndex(0) -2 >Emitted(56, 10) Source(52, 10) + SourceIndex(0) +1 >Emitted(57, 9) Source(52, 9) + SourceIndex(0) +2 >Emitted(57, 10) Source(52, 10) + SourceIndex(0) --- >>> case 1: { 1->^^^^^^^^ @@ -929,12 +930,12 @@ sourceFile:sourceMapValidationStatements.ts 4 > : 5 > 6 > { -1->Emitted(57, 9) Source(53, 9) + SourceIndex(0) -2 >Emitted(57, 14) Source(53, 14) + SourceIndex(0) -3 >Emitted(57, 15) Source(53, 15) + SourceIndex(0) -4 >Emitted(57, 16) Source(53, 16) + SourceIndex(0) -5 >Emitted(57, 17) Source(53, 17) + SourceIndex(0) -6 >Emitted(57, 18) Source(53, 18) + SourceIndex(0) +1->Emitted(58, 9) Source(53, 9) + SourceIndex(0) +2 >Emitted(58, 14) Source(53, 14) + SourceIndex(0) +3 >Emitted(58, 15) Source(53, 15) + SourceIndex(0) +4 >Emitted(58, 16) Source(53, 16) + SourceIndex(0) +5 >Emitted(58, 17) Source(53, 17) + SourceIndex(0) +6 >Emitted(58, 18) Source(53, 18) + SourceIndex(0) --- >>> x--; 1 >^^^^^^^^^^^^ @@ -947,10 +948,10 @@ sourceFile:sourceMapValidationStatements.ts 2 > x 3 > -- 4 > ; -1 >Emitted(58, 13) Source(54, 13) + SourceIndex(0) -2 >Emitted(58, 14) Source(54, 14) + SourceIndex(0) -3 >Emitted(58, 16) Source(54, 16) + SourceIndex(0) -4 >Emitted(58, 17) Source(54, 17) + SourceIndex(0) +1 >Emitted(59, 13) Source(54, 13) + SourceIndex(0) +2 >Emitted(59, 14) Source(54, 14) + SourceIndex(0) +3 >Emitted(59, 16) Source(54, 16) + SourceIndex(0) +4 >Emitted(59, 17) Source(54, 17) + SourceIndex(0) --- >>> break; 1->^^^^^^^^^^^^ @@ -958,8 +959,8 @@ sourceFile:sourceMapValidationStatements.ts 1-> > 2 > break; -1->Emitted(59, 13) Source(55, 13) + SourceIndex(0) -2 >Emitted(59, 19) Source(55, 19) + SourceIndex(0) +1->Emitted(60, 13) Source(55, 13) + SourceIndex(0) +2 >Emitted(60, 19) Source(55, 19) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -969,8 +970,8 @@ sourceFile:sourceMapValidationStatements.ts > > 2 > } -1 >Emitted(60, 9) Source(57, 9) + SourceIndex(0) -2 >Emitted(60, 10) Source(57, 10) + SourceIndex(0) +1 >Emitted(61, 9) Source(57, 9) + SourceIndex(0) +2 >Emitted(61, 10) Source(57, 10) + SourceIndex(0) --- >>> default: { 1->^^^^^^^^ @@ -985,11 +986,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > : 4 > 5 > { -1->Emitted(61, 9) Source(58, 9) + SourceIndex(0) -2 >Emitted(61, 16) Source(58, 16) + SourceIndex(0) -3 >Emitted(61, 17) Source(58, 17) + SourceIndex(0) -4 >Emitted(61, 18) Source(58, 18) + SourceIndex(0) -5 >Emitted(61, 19) Source(58, 19) + SourceIndex(0) +1->Emitted(62, 9) Source(58, 9) + SourceIndex(0) +2 >Emitted(62, 16) Source(58, 16) + SourceIndex(0) +3 >Emitted(62, 17) Source(58, 17) + SourceIndex(0) +4 >Emitted(62, 18) Source(58, 18) + SourceIndex(0) +5 >Emitted(62, 19) Source(58, 19) + SourceIndex(0) --- >>> x *= 2; 1->^^^^^^^^^^^^ @@ -1004,11 +1005,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > *= 4 > 2 5 > ; -1->Emitted(62, 13) Source(59, 13) + SourceIndex(0) -2 >Emitted(62, 14) Source(59, 14) + SourceIndex(0) -3 >Emitted(62, 18) Source(59, 18) + SourceIndex(0) -4 >Emitted(62, 19) Source(59, 19) + SourceIndex(0) -5 >Emitted(62, 20) Source(59, 20) + SourceIndex(0) +1->Emitted(63, 13) Source(59, 13) + SourceIndex(0) +2 >Emitted(63, 14) Source(59, 14) + SourceIndex(0) +3 >Emitted(63, 18) Source(59, 18) + SourceIndex(0) +4 >Emitted(63, 19) Source(59, 19) + SourceIndex(0) +5 >Emitted(63, 20) Source(59, 20) + SourceIndex(0) --- >>> x = 50; 1->^^^^^^^^^^^^ @@ -1022,11 +1023,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > = 4 > 50 5 > ; -1->Emitted(63, 13) Source(60, 13) + SourceIndex(0) -2 >Emitted(63, 14) Source(60, 14) + SourceIndex(0) -3 >Emitted(63, 17) Source(60, 17) + SourceIndex(0) -4 >Emitted(63, 19) Source(60, 19) + SourceIndex(0) -5 >Emitted(63, 20) Source(60, 20) + SourceIndex(0) +1->Emitted(64, 13) Source(60, 13) + SourceIndex(0) +2 >Emitted(64, 14) Source(60, 14) + SourceIndex(0) +3 >Emitted(64, 17) Source(60, 17) + SourceIndex(0) +4 >Emitted(64, 19) Source(60, 19) + SourceIndex(0) +5 >Emitted(64, 20) Source(60, 20) + SourceIndex(0) --- >>> break; 1 >^^^^^^^^^^^^ @@ -1034,8 +1035,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > break; -1 >Emitted(64, 13) Source(61, 13) + SourceIndex(0) -2 >Emitted(64, 19) Source(61, 19) + SourceIndex(0) +1 >Emitted(65, 13) Source(61, 13) + SourceIndex(0) +2 >Emitted(65, 19) Source(61, 19) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -1044,8 +1045,8 @@ sourceFile:sourceMapValidationStatements.ts > > 2 > } -1 >Emitted(65, 9) Source(63, 9) + SourceIndex(0) -2 >Emitted(65, 10) Source(63, 10) + SourceIndex(0) +1 >Emitted(66, 9) Source(63, 9) + SourceIndex(0) +2 >Emitted(66, 10) Source(63, 10) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -1054,8 +1055,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(66, 5) Source(64, 5) + SourceIndex(0) -2 >Emitted(66, 6) Source(64, 6) + SourceIndex(0) +1 >Emitted(67, 5) Source(64, 5) + SourceIndex(0) +2 >Emitted(67, 6) Source(64, 6) + SourceIndex(0) --- >>> while (x < 10) { 1->^^^^ @@ -1073,13 +1074,13 @@ sourceFile:sourceMapValidationStatements.ts 5 > 10 6 > ) 7 > { -1->Emitted(67, 5) Source(65, 5) + SourceIndex(0) -2 >Emitted(67, 12) Source(65, 12) + SourceIndex(0) -3 >Emitted(67, 13) Source(65, 13) + SourceIndex(0) -4 >Emitted(67, 16) Source(65, 16) + SourceIndex(0) -5 >Emitted(67, 18) Source(65, 18) + SourceIndex(0) -6 >Emitted(67, 20) Source(65, 20) + SourceIndex(0) -7 >Emitted(67, 21) Source(65, 21) + SourceIndex(0) +1->Emitted(68, 5) Source(65, 5) + SourceIndex(0) +2 >Emitted(68, 12) Source(65, 12) + SourceIndex(0) +3 >Emitted(68, 13) Source(65, 13) + SourceIndex(0) +4 >Emitted(68, 16) Source(65, 16) + SourceIndex(0) +5 >Emitted(68, 18) Source(65, 18) + SourceIndex(0) +6 >Emitted(68, 20) Source(65, 20) + SourceIndex(0) +7 >Emitted(68, 21) Source(65, 21) + SourceIndex(0) --- >>> x++; 1 >^^^^^^^^ @@ -1091,10 +1092,10 @@ sourceFile:sourceMapValidationStatements.ts 2 > x 3 > ++ 4 > ; -1 >Emitted(68, 9) Source(66, 9) + SourceIndex(0) -2 >Emitted(68, 10) Source(66, 10) + SourceIndex(0) -3 >Emitted(68, 12) Source(66, 12) + SourceIndex(0) -4 >Emitted(68, 13) Source(66, 13) + SourceIndex(0) +1 >Emitted(69, 9) Source(66, 9) + SourceIndex(0) +2 >Emitted(69, 10) Source(66, 10) + SourceIndex(0) +3 >Emitted(69, 12) Source(66, 12) + SourceIndex(0) +4 >Emitted(69, 13) Source(66, 13) + SourceIndex(0) --- >>> } 1 >^^^^ @@ -1103,8 +1104,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > } -1 >Emitted(69, 5) Source(67, 5) + SourceIndex(0) -2 >Emitted(69, 6) Source(67, 6) + SourceIndex(0) +1 >Emitted(70, 5) Source(67, 5) + SourceIndex(0) +2 >Emitted(70, 6) Source(67, 6) + SourceIndex(0) --- >>> do { 1->^^^^ @@ -1115,9 +1116,9 @@ sourceFile:sourceMapValidationStatements.ts > 2 > do 3 > { -1->Emitted(70, 5) Source(68, 5) + SourceIndex(0) -2 >Emitted(70, 8) Source(68, 8) + SourceIndex(0) -3 >Emitted(70, 9) Source(68, 9) + SourceIndex(0) +1->Emitted(71, 5) Source(68, 5) + SourceIndex(0) +2 >Emitted(71, 8) Source(68, 8) + SourceIndex(0) +3 >Emitted(71, 9) Source(68, 9) + SourceIndex(0) --- >>> x--; 1->^^^^^^^^ @@ -1130,10 +1131,10 @@ sourceFile:sourceMapValidationStatements.ts 2 > x 3 > -- 4 > ; -1->Emitted(71, 9) Source(69, 9) + SourceIndex(0) -2 >Emitted(71, 10) Source(69, 10) + SourceIndex(0) -3 >Emitted(71, 12) Source(69, 12) + SourceIndex(0) -4 >Emitted(71, 13) Source(69, 13) + SourceIndex(0) +1->Emitted(72, 9) Source(69, 9) + SourceIndex(0) +2 >Emitted(72, 10) Source(69, 10) + SourceIndex(0) +3 >Emitted(72, 12) Source(69, 12) + SourceIndex(0) +4 >Emitted(72, 13) Source(69, 13) + SourceIndex(0) --- >>> } while (x > 4); 1->^^^^ @@ -1151,13 +1152,13 @@ sourceFile:sourceMapValidationStatements.ts 5 > > 6 > 4 7 > ) -1->Emitted(72, 5) Source(70, 5) + SourceIndex(0) -2 >Emitted(72, 6) Source(70, 6) + SourceIndex(0) -3 >Emitted(72, 14) Source(70, 14) + SourceIndex(0) -4 >Emitted(72, 15) Source(70, 15) + SourceIndex(0) -5 >Emitted(72, 18) Source(70, 18) + SourceIndex(0) -6 >Emitted(72, 19) Source(70, 19) + SourceIndex(0) -7 >Emitted(72, 21) Source(70, 20) + SourceIndex(0) +1->Emitted(73, 5) Source(70, 5) + SourceIndex(0) +2 >Emitted(73, 6) Source(70, 6) + SourceIndex(0) +3 >Emitted(73, 14) Source(70, 14) + SourceIndex(0) +4 >Emitted(73, 15) Source(70, 15) + SourceIndex(0) +5 >Emitted(73, 18) Source(70, 18) + SourceIndex(0) +6 >Emitted(73, 19) Source(70, 19) + SourceIndex(0) +7 >Emitted(73, 21) Source(70, 20) + SourceIndex(0) --- >>> x = y; 1 >^^^^ @@ -1172,11 +1173,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > = 4 > y 5 > ; -1 >Emitted(73, 5) Source(71, 5) + SourceIndex(0) -2 >Emitted(73, 6) Source(71, 6) + SourceIndex(0) -3 >Emitted(73, 9) Source(71, 9) + SourceIndex(0) -4 >Emitted(73, 10) Source(71, 10) + SourceIndex(0) -5 >Emitted(73, 11) Source(71, 11) + SourceIndex(0) +1 >Emitted(74, 5) Source(71, 5) + SourceIndex(0) +2 >Emitted(74, 6) Source(71, 6) + SourceIndex(0) +3 >Emitted(74, 9) Source(71, 9) + SourceIndex(0) +4 >Emitted(74, 10) Source(71, 10) + SourceIndex(0) +5 >Emitted(74, 11) Source(71, 11) + SourceIndex(0) --- >>> var z = (x == 1) ? x + 1 : x - 1; 1->^^^^ @@ -1224,28 +1225,28 @@ sourceFile:sourceMapValidationStatements.ts 20> - 21> 1 22> ; -1->Emitted(74, 5) Source(72, 5) + SourceIndex(0) -2 >Emitted(74, 9) Source(72, 9) + SourceIndex(0) -3 >Emitted(74, 10) Source(72, 10) + SourceIndex(0) -4 >Emitted(74, 13) Source(72, 13) + SourceIndex(0) -5 >Emitted(74, 14) Source(72, 14) + SourceIndex(0) -6 >Emitted(74, 15) Source(72, 15) + SourceIndex(0) -7 >Emitted(74, 19) Source(72, 19) + SourceIndex(0) -8 >Emitted(74, 20) Source(72, 20) + SourceIndex(0) -9 >Emitted(74, 21) Source(72, 21) + SourceIndex(0) -10>Emitted(74, 22) Source(72, 22) + SourceIndex(0) -11>Emitted(74, 23) Source(72, 23) + SourceIndex(0) -12>Emitted(74, 24) Source(72, 24) + SourceIndex(0) -13>Emitted(74, 25) Source(72, 25) + SourceIndex(0) -14>Emitted(74, 28) Source(72, 28) + SourceIndex(0) -15>Emitted(74, 29) Source(72, 29) + SourceIndex(0) -16>Emitted(74, 30) Source(72, 30) + SourceIndex(0) -17>Emitted(74, 31) Source(72, 31) + SourceIndex(0) -18>Emitted(74, 32) Source(72, 32) + SourceIndex(0) -19>Emitted(74, 33) Source(72, 33) + SourceIndex(0) -20>Emitted(74, 36) Source(72, 36) + SourceIndex(0) -21>Emitted(74, 37) Source(72, 37) + SourceIndex(0) -22>Emitted(74, 38) Source(72, 38) + SourceIndex(0) +1->Emitted(75, 5) Source(72, 5) + SourceIndex(0) +2 >Emitted(75, 9) Source(72, 9) + SourceIndex(0) +3 >Emitted(75, 10) Source(72, 10) + SourceIndex(0) +4 >Emitted(75, 13) Source(72, 13) + SourceIndex(0) +5 >Emitted(75, 14) Source(72, 14) + SourceIndex(0) +6 >Emitted(75, 15) Source(72, 15) + SourceIndex(0) +7 >Emitted(75, 19) Source(72, 19) + SourceIndex(0) +8 >Emitted(75, 20) Source(72, 20) + SourceIndex(0) +9 >Emitted(75, 21) Source(72, 21) + SourceIndex(0) +10>Emitted(75, 22) Source(72, 22) + SourceIndex(0) +11>Emitted(75, 23) Source(72, 23) + SourceIndex(0) +12>Emitted(75, 24) Source(72, 24) + SourceIndex(0) +13>Emitted(75, 25) Source(72, 25) + SourceIndex(0) +14>Emitted(75, 28) Source(72, 28) + SourceIndex(0) +15>Emitted(75, 29) Source(72, 29) + SourceIndex(0) +16>Emitted(75, 30) Source(72, 30) + SourceIndex(0) +17>Emitted(75, 31) Source(72, 31) + SourceIndex(0) +18>Emitted(75, 32) Source(72, 32) + SourceIndex(0) +19>Emitted(75, 33) Source(72, 33) + SourceIndex(0) +20>Emitted(75, 36) Source(72, 36) + SourceIndex(0) +21>Emitted(75, 37) Source(72, 37) + SourceIndex(0) +22>Emitted(75, 38) Source(72, 38) + SourceIndex(0) --- >>> (x == 1) ? x + 1 : x - 1; 1 >^^^^ @@ -1287,25 +1288,25 @@ sourceFile:sourceMapValidationStatements.ts 17> - 18> 1 19> ; -1 >Emitted(75, 5) Source(73, 5) + SourceIndex(0) -2 >Emitted(75, 6) Source(73, 6) + SourceIndex(0) -3 >Emitted(75, 7) Source(73, 7) + SourceIndex(0) -4 >Emitted(75, 11) Source(73, 11) + SourceIndex(0) -5 >Emitted(75, 12) Source(73, 12) + SourceIndex(0) -6 >Emitted(75, 13) Source(73, 13) + SourceIndex(0) -7 >Emitted(75, 14) Source(73, 14) + SourceIndex(0) -8 >Emitted(75, 15) Source(73, 15) + SourceIndex(0) -9 >Emitted(75, 16) Source(73, 16) + SourceIndex(0) -10>Emitted(75, 17) Source(73, 17) + SourceIndex(0) -11>Emitted(75, 20) Source(73, 20) + SourceIndex(0) -12>Emitted(75, 21) Source(73, 21) + SourceIndex(0) -13>Emitted(75, 22) Source(73, 22) + SourceIndex(0) -14>Emitted(75, 23) Source(73, 23) + SourceIndex(0) -15>Emitted(75, 24) Source(73, 24) + SourceIndex(0) -16>Emitted(75, 25) Source(73, 25) + SourceIndex(0) -17>Emitted(75, 28) Source(73, 28) + SourceIndex(0) -18>Emitted(75, 29) Source(73, 29) + SourceIndex(0) -19>Emitted(75, 30) Source(73, 30) + SourceIndex(0) +1 >Emitted(76, 5) Source(73, 5) + SourceIndex(0) +2 >Emitted(76, 6) Source(73, 6) + SourceIndex(0) +3 >Emitted(76, 7) Source(73, 7) + SourceIndex(0) +4 >Emitted(76, 11) Source(73, 11) + SourceIndex(0) +5 >Emitted(76, 12) Source(73, 12) + SourceIndex(0) +6 >Emitted(76, 13) Source(73, 13) + SourceIndex(0) +7 >Emitted(76, 14) Source(73, 14) + SourceIndex(0) +8 >Emitted(76, 15) Source(73, 15) + SourceIndex(0) +9 >Emitted(76, 16) Source(73, 16) + SourceIndex(0) +10>Emitted(76, 17) Source(73, 17) + SourceIndex(0) +11>Emitted(76, 20) Source(73, 20) + SourceIndex(0) +12>Emitted(76, 21) Source(73, 21) + SourceIndex(0) +13>Emitted(76, 22) Source(73, 22) + SourceIndex(0) +14>Emitted(76, 23) Source(73, 23) + SourceIndex(0) +15>Emitted(76, 24) Source(73, 24) + SourceIndex(0) +16>Emitted(76, 25) Source(73, 25) + SourceIndex(0) +17>Emitted(76, 28) Source(73, 28) + SourceIndex(0) +18>Emitted(76, 29) Source(73, 29) + SourceIndex(0) +19>Emitted(76, 30) Source(73, 30) + SourceIndex(0) --- >>> x === 1; 1 >^^^^ @@ -1320,11 +1321,11 @@ sourceFile:sourceMapValidationStatements.ts 3 > === 4 > 1 5 > ; -1 >Emitted(76, 5) Source(74, 5) + SourceIndex(0) -2 >Emitted(76, 6) Source(74, 6) + SourceIndex(0) -3 >Emitted(76, 11) Source(74, 11) + SourceIndex(0) -4 >Emitted(76, 12) Source(74, 12) + SourceIndex(0) -5 >Emitted(76, 13) Source(74, 13) + SourceIndex(0) +1 >Emitted(77, 5) Source(74, 5) + SourceIndex(0) +2 >Emitted(77, 6) Source(74, 6) + SourceIndex(0) +3 >Emitted(77, 11) Source(74, 11) + SourceIndex(0) +4 >Emitted(77, 12) Source(74, 12) + SourceIndex(0) +5 >Emitted(77, 13) Source(74, 13) + SourceIndex(0) --- >>> x = z = 40; 1->^^^^ @@ -1342,13 +1343,13 @@ sourceFile:sourceMapValidationStatements.ts 5 > = 6 > 40 7 > ; -1->Emitted(77, 5) Source(75, 5) + SourceIndex(0) -2 >Emitted(77, 6) Source(75, 6) + SourceIndex(0) -3 >Emitted(77, 9) Source(75, 9) + SourceIndex(0) -4 >Emitted(77, 10) Source(75, 10) + SourceIndex(0) -5 >Emitted(77, 13) Source(75, 13) + SourceIndex(0) -6 >Emitted(77, 15) Source(75, 15) + SourceIndex(0) -7 >Emitted(77, 16) Source(75, 16) + SourceIndex(0) +1->Emitted(78, 5) Source(75, 5) + SourceIndex(0) +2 >Emitted(78, 6) Source(75, 6) + SourceIndex(0) +3 >Emitted(78, 9) Source(75, 9) + SourceIndex(0) +4 >Emitted(78, 10) Source(75, 10) + SourceIndex(0) +5 >Emitted(78, 13) Source(75, 13) + SourceIndex(0) +6 >Emitted(78, 15) Source(75, 15) + SourceIndex(0) +7 >Emitted(78, 16) Source(75, 16) + SourceIndex(0) --- >>> eval("y"); 1 >^^^^ @@ -1364,12 +1365,12 @@ sourceFile:sourceMapValidationStatements.ts 4 > "y" 5 > ) 6 > ; -1 >Emitted(78, 5) Source(76, 5) + SourceIndex(0) -2 >Emitted(78, 9) Source(76, 9) + SourceIndex(0) -3 >Emitted(78, 10) Source(76, 10) + SourceIndex(0) -4 >Emitted(78, 13) Source(76, 13) + SourceIndex(0) -5 >Emitted(78, 14) Source(76, 14) + SourceIndex(0) -6 >Emitted(78, 15) Source(76, 15) + SourceIndex(0) +1 >Emitted(79, 5) Source(76, 5) + SourceIndex(0) +2 >Emitted(79, 9) Source(76, 9) + SourceIndex(0) +3 >Emitted(79, 10) Source(76, 10) + SourceIndex(0) +4 >Emitted(79, 13) Source(76, 13) + SourceIndex(0) +5 >Emitted(79, 14) Source(76, 14) + SourceIndex(0) +6 >Emitted(79, 15) Source(76, 15) + SourceIndex(0) --- >>> return; 1 >^^^^ @@ -1377,8 +1378,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 > return; -1 >Emitted(79, 5) Source(77, 5) + SourceIndex(0) -2 >Emitted(79, 12) Source(77, 12) + SourceIndex(0) +1 >Emitted(80, 5) Source(77, 5) + SourceIndex(0) +2 >Emitted(80, 12) Source(77, 12) + SourceIndex(0) --- >>>} 1 > @@ -1387,8 +1388,8 @@ sourceFile:sourceMapValidationStatements.ts 1 > > 2 >} -1 >Emitted(80, 1) Source(78, 1) + SourceIndex(0) -2 >Emitted(80, 2) Source(78, 2) + SourceIndex(0) +1 >Emitted(81, 1) Source(78, 1) + SourceIndex(0) +2 >Emitted(81, 2) Source(78, 2) + SourceIndex(0) --- >>>var b = function () { 1-> @@ -1401,10 +1402,10 @@ sourceFile:sourceMapValidationStatements.ts 2 >var 3 > b 4 > = -1->Emitted(81, 1) Source(79, 1) + SourceIndex(0) -2 >Emitted(81, 5) Source(79, 5) + SourceIndex(0) -3 >Emitted(81, 6) Source(79, 6) + SourceIndex(0) -4 >Emitted(81, 9) Source(79, 9) + SourceIndex(0) +1->Emitted(82, 1) Source(79, 1) + SourceIndex(0) +2 >Emitted(82, 5) Source(79, 5) + SourceIndex(0) +3 >Emitted(82, 6) Source(79, 6) + SourceIndex(0) +4 >Emitted(82, 9) Source(79, 9) + SourceIndex(0) --- >>> var x = 10; 1->^^^^ @@ -1420,12 +1421,12 @@ sourceFile:sourceMapValidationStatements.ts 4 > = 5 > 10 6 > ; -1->Emitted(82, 5) Source(80, 5) + SourceIndex(0) -2 >Emitted(82, 9) Source(80, 9) + SourceIndex(0) -3 >Emitted(82, 10) Source(80, 10) + SourceIndex(0) -4 >Emitted(82, 13) Source(80, 13) + SourceIndex(0) -5 >Emitted(82, 15) Source(80, 15) + SourceIndex(0) -6 >Emitted(82, 16) Source(80, 16) + SourceIndex(0) +1->Emitted(83, 5) Source(80, 5) + SourceIndex(0) +2 >Emitted(83, 9) Source(80, 9) + SourceIndex(0) +3 >Emitted(83, 10) Source(80, 10) + SourceIndex(0) +4 >Emitted(83, 13) Source(80, 13) + SourceIndex(0) +5 >Emitted(83, 15) Source(80, 15) + SourceIndex(0) +6 >Emitted(83, 16) Source(80, 16) + SourceIndex(0) --- >>> x = x + 1; 1 >^^^^ @@ -1443,13 +1444,13 @@ sourceFile:sourceMapValidationStatements.ts 5 > + 6 > 1 7 > ; -1 >Emitted(83, 5) Source(81, 5) + SourceIndex(0) -2 >Emitted(83, 6) Source(81, 6) + SourceIndex(0) -3 >Emitted(83, 9) Source(81, 9) + SourceIndex(0) -4 >Emitted(83, 10) Source(81, 10) + SourceIndex(0) -5 >Emitted(83, 13) Source(81, 13) + SourceIndex(0) -6 >Emitted(83, 14) Source(81, 14) + SourceIndex(0) -7 >Emitted(83, 15) Source(81, 15) + SourceIndex(0) +1 >Emitted(84, 5) Source(81, 5) + SourceIndex(0) +2 >Emitted(84, 6) Source(81, 6) + SourceIndex(0) +3 >Emitted(84, 9) Source(81, 9) + SourceIndex(0) +4 >Emitted(84, 10) Source(81, 10) + SourceIndex(0) +5 >Emitted(84, 13) Source(81, 13) + SourceIndex(0) +6 >Emitted(84, 14) Source(81, 14) + SourceIndex(0) +7 >Emitted(84, 15) Source(81, 15) + SourceIndex(0) --- >>>}; 1 > @@ -1460,9 +1461,9 @@ sourceFile:sourceMapValidationStatements.ts > 2 >} 3 > ; -1 >Emitted(84, 1) Source(82, 1) + SourceIndex(0) -2 >Emitted(84, 2) Source(82, 2) + SourceIndex(0) -3 >Emitted(84, 3) Source(82, 3) + SourceIndex(0) +1 >Emitted(85, 1) Source(82, 1) + SourceIndex(0) +2 >Emitted(85, 2) Source(82, 2) + SourceIndex(0) +3 >Emitted(85, 3) Source(82, 3) + SourceIndex(0) --- >>>f(); 1-> @@ -1475,9 +1476,9 @@ sourceFile:sourceMapValidationStatements.ts 2 >f 3 > () 4 > ; -1->Emitted(85, 1) Source(83, 1) + SourceIndex(0) -2 >Emitted(85, 2) Source(83, 2) + SourceIndex(0) -3 >Emitted(85, 4) Source(83, 4) + SourceIndex(0) -4 >Emitted(85, 5) Source(83, 5) + SourceIndex(0) +1->Emitted(86, 1) Source(83, 1) + SourceIndex(0) +2 >Emitted(86, 2) Source(83, 2) + SourceIndex(0) +3 >Emitted(86, 4) Source(83, 4) + SourceIndex(0) +4 >Emitted(86, 5) Source(83, 5) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationStatements.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationSwitch.js b/tests/baselines/reference/sourceMapValidationSwitch.js index 5a7f959e419a6..aefc366a50fa1 100644 --- a/tests/baselines/reference/sourceMapValidationSwitch.js +++ b/tests/baselines/reference/sourceMapValidationSwitch.js @@ -31,6 +31,7 @@ switch (x) } //// [sourceMapValidationSwitch.js] +"use strict"; var x = 10; switch (x) { case 5: diff --git a/tests/baselines/reference/sourceMapValidationSwitch.js.map b/tests/baselines/reference/sourceMapValidationSwitch.js.map index e9448a390594a..099e319c0f266 100644 --- a/tests/baselines/reference/sourceMapValidationSwitch.js.map +++ b/tests/baselines/reference/sourceMapValidationSwitch.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationSwitch.js.map] -{"version":3,"file":"sourceMapValidationSwitch.js","sourceRoot":"","sources":["sourceMapValidationSwitch.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,EAAE,CAAC;AACX,QAAQ,CAAC,EAAE,CAAC;IACR,KAAK,CAAC;QACF,CAAC,EAAE,CAAC;QACJ,MAAM;IACV,KAAK,EAAE;QACH,CAAC;YACG,CAAC,EAAE,CAAC;YACJ,MAAM;QACV,CAAC;IACL;QACI,CAAC,GAAG,CAAC,GAAE,EAAE,CAAC;AAClB,CAAC;AACD,QAAQ,CAAC,EACT,CAAC;IACG,KAAK,CAAC;QACF,CAAC,EAAE,CAAC;QACJ,MAAM;IACV,KAAK,EAAE;QACH,CAAC;YACG,CAAC,EAAE,CAAC;YACJ,MAAM;QACV,CAAC;IACL;QACI,CAAC;YACG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;QACf,CAAC;AACT,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHggPSAxMDsNCnN3aXRjaCAoeCkgew0KICAgIGNhc2UgNToNCiAgICAgICAgeCsrOw0KICAgICAgICBicmVhazsNCiAgICBjYXNlIDEwOg0KICAgICAgICB7DQogICAgICAgICAgICB4LS07DQogICAgICAgICAgICBicmVhazsNCiAgICAgICAgfQ0KICAgIGRlZmF1bHQ6DQogICAgICAgIHggPSB4ICogMTA7DQp9DQpzd2l0Y2ggKHgpIHsNCiAgICBjYXNlIDU6DQogICAgICAgIHgrKzsNCiAgICAgICAgYnJlYWs7DQogICAgY2FzZSAxMDoNCiAgICAgICAgew0KICAgICAgICAgICAgeC0tOw0KICAgICAgICAgICAgYnJlYWs7DQogICAgICAgIH0NCiAgICBkZWZhdWx0Og0KICAgICAgICB7DQogICAgICAgICAgICB4ID0geCAqIDEwOw0KICAgICAgICB9DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uU3dpdGNoLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvblN3aXRjaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25Td2l0Y2gudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQ1gsUUFBUSxDQUFDLEVBQUUsQ0FBQztJQUNSLEtBQUssQ0FBQztRQUNGLENBQUMsRUFBRSxDQUFDO1FBQ0osTUFBTTtJQUNWLEtBQUssRUFBRTtRQUNILENBQUM7WUFDRyxDQUFDLEVBQUUsQ0FBQztZQUNKLE1BQU07UUFDVixDQUFDO0lBQ0w7UUFDSSxDQUFDLEdBQUcsQ0FBQyxHQUFFLEVBQUUsQ0FBQztBQUNsQixDQUFDO0FBQ0QsUUFBUSxDQUFDLEVBQ1QsQ0FBQztJQUNHLEtBQUssQ0FBQztRQUNGLENBQUMsRUFBRSxDQUFDO1FBQ0osTUFBTTtJQUNWLEtBQUssRUFBRTtRQUNILENBQUM7WUFDRyxDQUFDLEVBQUUsQ0FBQztZQUNKLE1BQU07UUFDVixDQUFDO0lBQ0w7UUFDSSxDQUFDO1lBQ0csQ0FBQyxHQUFHLENBQUMsR0FBRyxFQUFFLENBQUM7UUFDZixDQUFDO0FBQ1QsQ0FBQyJ9,dmFyIHggPSAxMDsKc3dpdGNoICh4KSB7CiAgICBjYXNlIDU6CiAgICAgICAgeCsrOwogICAgICAgIGJyZWFrOwogICAgY2FzZSAxMDoKICAgICAgICB7CiAgICAgICAgICAgIHgtLTsKICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgfQogICAgZGVmYXVsdDoKICAgICAgICB4ID0geCAqMTA7Cn0Kc3dpdGNoICh4KQp7CiAgICBjYXNlIDU6CiAgICAgICAgeCsrOwogICAgICAgIGJyZWFrOwogICAgY2FzZSAxMDoKICAgICAgICB7CiAgICAgICAgICAgIHgtLTsKICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgfQogICAgZGVmYXVsdDoKICAgICAgICB7CiAgICAgICAgICAgIHggPSB4ICogMTA7CiAgICAgICAgfQp9 +{"version":3,"file":"sourceMapValidationSwitch.js","sourceRoot":"","sources":["sourceMapValidationSwitch.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,EAAE,CAAC;AACX,QAAQ,CAAC,EAAE,CAAC;IACR,KAAK,CAAC;QACF,CAAC,EAAE,CAAC;QACJ,MAAM;IACV,KAAK,EAAE;QACH,CAAC;YACG,CAAC,EAAE,CAAC;YACJ,MAAM;QACV,CAAC;IACL;QACI,CAAC,GAAG,CAAC,GAAE,EAAE,CAAC;AAClB,CAAC;AACD,QAAQ,CAAC,EACT,CAAC;IACG,KAAK,CAAC;QACF,CAAC,EAAE,CAAC;QACJ,MAAM;IACV,KAAK,EAAE;QACH,CAAC;YACG,CAAC,EAAE,CAAC;YACJ,MAAM;QACV,CAAC;IACL;QACI,CAAC;YACG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;QACf,CAAC;AACT,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIHggPSAxMDsNCnN3aXRjaCAoeCkgew0KICAgIGNhc2UgNToNCiAgICAgICAgeCsrOw0KICAgICAgICBicmVhazsNCiAgICBjYXNlIDEwOg0KICAgICAgICB7DQogICAgICAgICAgICB4LS07DQogICAgICAgICAgICBicmVhazsNCiAgICAgICAgfQ0KICAgIGRlZmF1bHQ6DQogICAgICAgIHggPSB4ICogMTA7DQp9DQpzd2l0Y2ggKHgpIHsNCiAgICBjYXNlIDU6DQogICAgICAgIHgrKzsNCiAgICAgICAgYnJlYWs7DQogICAgY2FzZSAxMDoNCiAgICAgICAgew0KICAgICAgICAgICAgeC0tOw0KICAgICAgICAgICAgYnJlYWs7DQogICAgICAgIH0NCiAgICBkZWZhdWx0Og0KICAgICAgICB7DQogICAgICAgICAgICB4ID0geCAqIDEwOw0KICAgICAgICB9DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uU3dpdGNoLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvblN3aXRjaC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25Td2l0Y2gudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUNYLFFBQVEsQ0FBQyxFQUFFLENBQUM7SUFDUixLQUFLLENBQUM7UUFDRixDQUFDLEVBQUUsQ0FBQztRQUNKLE1BQU07SUFDVixLQUFLLEVBQUU7UUFDSCxDQUFDO1lBQ0csQ0FBQyxFQUFFLENBQUM7WUFDSixNQUFNO1FBQ1YsQ0FBQztJQUNMO1FBQ0ksQ0FBQyxHQUFHLENBQUMsR0FBRSxFQUFFLENBQUM7QUFDbEIsQ0FBQztBQUNELFFBQVEsQ0FBQyxFQUNULENBQUM7SUFDRyxLQUFLLENBQUM7UUFDRixDQUFDLEVBQUUsQ0FBQztRQUNKLE1BQU07SUFDVixLQUFLLEVBQUU7UUFDSCxDQUFDO1lBQ0csQ0FBQyxFQUFFLENBQUM7WUFDSixNQUFNO1FBQ1YsQ0FBQztJQUNMO1FBQ0ksQ0FBQztZQUNHLENBQUMsR0FBRyxDQUFDLEdBQUcsRUFBRSxDQUFDO1FBQ2YsQ0FBQztBQUNULENBQUMifQ==,dmFyIHggPSAxMDsKc3dpdGNoICh4KSB7CiAgICBjYXNlIDU6CiAgICAgICAgeCsrOwogICAgICAgIGJyZWFrOwogICAgY2FzZSAxMDoKICAgICAgICB7CiAgICAgICAgICAgIHgtLTsKICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgfQogICAgZGVmYXVsdDoKICAgICAgICB4ID0geCAqMTA7Cn0Kc3dpdGNoICh4KQp7CiAgICBjYXNlIDU6CiAgICAgICAgeCsrOwogICAgICAgIGJyZWFrOwogICAgY2FzZSAxMDoKICAgICAgICB7CiAgICAgICAgICAgIHgtLTsKICAgICAgICAgICAgYnJlYWs7CiAgICAgICAgfQogICAgZGVmYXVsdDoKICAgICAgICB7CiAgICAgICAgICAgIHggPSB4ICogMTA7CiAgICAgICAgfQp9 diff --git a/tests/baselines/reference/sourceMapValidationSwitch.sourcemap.txt b/tests/baselines/reference/sourceMapValidationSwitch.sourcemap.txt index d71afcbd707de..b050a9ce1d0fe 100644 --- a/tests/baselines/reference/sourceMapValidationSwitch.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationSwitch.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationSwitch.ts emittedFile:sourceMapValidationSwitch.js sourceFile:sourceMapValidationSwitch.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var x = 10; 1 > 2 >^^^^ @@ -22,12 +23,12 @@ sourceFile:sourceMapValidationSwitch.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) --- >>>switch (x) { 1-> @@ -41,11 +42,11 @@ sourceFile:sourceMapValidationSwitch.ts 3 > x 4 > ) 5 > { -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) -3 >Emitted(2, 10) Source(2, 10) + SourceIndex(0) -4 >Emitted(2, 12) Source(2, 12) + SourceIndex(0) -5 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(3, 10) Source(2, 10) + SourceIndex(0) +4 >Emitted(3, 12) Source(2, 12) + SourceIndex(0) +5 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) --- >>> case 5: 1 >^^^^ @@ -56,9 +57,9 @@ sourceFile:sourceMapValidationSwitch.ts > 2 > case 3 > 5 -1 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(3, 10) Source(3, 10) + SourceIndex(0) -3 >Emitted(3, 11) Source(3, 11) + SourceIndex(0) +1 >Emitted(4, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(4, 10) Source(3, 10) + SourceIndex(0) +3 >Emitted(4, 11) Source(3, 11) + SourceIndex(0) --- >>> x++; 1->^^^^^^^^ @@ -71,10 +72,10 @@ sourceFile:sourceMapValidationSwitch.ts 2 > x 3 > ++ 4 > ; -1->Emitted(4, 9) Source(4, 9) + SourceIndex(0) -2 >Emitted(4, 10) Source(4, 10) + SourceIndex(0) -3 >Emitted(4, 12) Source(4, 12) + SourceIndex(0) -4 >Emitted(4, 13) Source(4, 13) + SourceIndex(0) +1->Emitted(5, 9) Source(4, 9) + SourceIndex(0) +2 >Emitted(5, 10) Source(4, 10) + SourceIndex(0) +3 >Emitted(5, 12) Source(4, 12) + SourceIndex(0) +4 >Emitted(5, 13) Source(4, 13) + SourceIndex(0) --- >>> break; 1->^^^^^^^^ @@ -82,8 +83,8 @@ sourceFile:sourceMapValidationSwitch.ts 1-> > 2 > break; -1->Emitted(5, 9) Source(5, 9) + SourceIndex(0) -2 >Emitted(5, 15) Source(5, 15) + SourceIndex(0) +1->Emitted(6, 9) Source(5, 9) + SourceIndex(0) +2 >Emitted(6, 15) Source(5, 15) + SourceIndex(0) --- >>> case 10: 1 >^^^^ @@ -93,9 +94,9 @@ sourceFile:sourceMapValidationSwitch.ts > 2 > case 3 > 10 -1 >Emitted(6, 5) Source(6, 5) + SourceIndex(0) -2 >Emitted(6, 10) Source(6, 10) + SourceIndex(0) -3 >Emitted(6, 12) Source(6, 12) + SourceIndex(0) +1 >Emitted(7, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(7, 10) Source(6, 10) + SourceIndex(0) +3 >Emitted(7, 12) Source(6, 12) + SourceIndex(0) --- >>> { 1 >^^^^^^^^ @@ -104,8 +105,8 @@ sourceFile:sourceMapValidationSwitch.ts 1 >: > 2 > { -1 >Emitted(7, 9) Source(7, 9) + SourceIndex(0) -2 >Emitted(7, 10) Source(7, 10) + SourceIndex(0) +1 >Emitted(8, 9) Source(7, 9) + SourceIndex(0) +2 >Emitted(8, 10) Source(7, 10) + SourceIndex(0) --- >>> x--; 1->^^^^^^^^^^^^ @@ -118,10 +119,10 @@ sourceFile:sourceMapValidationSwitch.ts 2 > x 3 > -- 4 > ; -1->Emitted(8, 13) Source(8, 13) + SourceIndex(0) -2 >Emitted(8, 14) Source(8, 14) + SourceIndex(0) -3 >Emitted(8, 16) Source(8, 16) + SourceIndex(0) -4 >Emitted(8, 17) Source(8, 17) + SourceIndex(0) +1->Emitted(9, 13) Source(8, 13) + SourceIndex(0) +2 >Emitted(9, 14) Source(8, 14) + SourceIndex(0) +3 >Emitted(9, 16) Source(8, 16) + SourceIndex(0) +4 >Emitted(9, 17) Source(8, 17) + SourceIndex(0) --- >>> break; 1->^^^^^^^^^^^^ @@ -129,8 +130,8 @@ sourceFile:sourceMapValidationSwitch.ts 1-> > 2 > break; -1->Emitted(9, 13) Source(9, 13) + SourceIndex(0) -2 >Emitted(9, 19) Source(9, 19) + SourceIndex(0) +1->Emitted(10, 13) Source(9, 13) + SourceIndex(0) +2 >Emitted(10, 19) Source(9, 19) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -139,15 +140,15 @@ sourceFile:sourceMapValidationSwitch.ts 1 > > 2 > } -1 >Emitted(10, 9) Source(10, 9) + SourceIndex(0) -2 >Emitted(10, 10) Source(10, 10) + SourceIndex(0) +1 >Emitted(11, 9) Source(10, 9) + SourceIndex(0) +2 >Emitted(11, 10) Source(10, 10) + SourceIndex(0) --- >>> default: 1->^^^^ 2 > ^^^^^^^^^^^^^^^^-> 1-> > -1->Emitted(11, 5) Source(11, 5) + SourceIndex(0) +1->Emitted(12, 5) Source(11, 5) + SourceIndex(0) --- >>> x = x * 10; 1->^^^^^^^^ @@ -165,13 +166,13 @@ sourceFile:sourceMapValidationSwitch.ts 5 > * 6 > 10 7 > ; -1->Emitted(12, 9) Source(12, 9) + SourceIndex(0) -2 >Emitted(12, 10) Source(12, 10) + SourceIndex(0) -3 >Emitted(12, 13) Source(12, 13) + SourceIndex(0) -4 >Emitted(12, 14) Source(12, 14) + SourceIndex(0) -5 >Emitted(12, 17) Source(12, 16) + SourceIndex(0) -6 >Emitted(12, 19) Source(12, 18) + SourceIndex(0) -7 >Emitted(12, 20) Source(12, 19) + SourceIndex(0) +1->Emitted(13, 9) Source(12, 9) + SourceIndex(0) +2 >Emitted(13, 10) Source(12, 10) + SourceIndex(0) +3 >Emitted(13, 13) Source(12, 13) + SourceIndex(0) +4 >Emitted(13, 14) Source(12, 14) + SourceIndex(0) +5 >Emitted(13, 17) Source(12, 16) + SourceIndex(0) +6 >Emitted(13, 19) Source(12, 18) + SourceIndex(0) +7 >Emitted(13, 20) Source(12, 19) + SourceIndex(0) --- >>>} 1 > @@ -180,8 +181,8 @@ sourceFile:sourceMapValidationSwitch.ts 1 > > 2 >} -1 >Emitted(13, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(13, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(13, 2) + SourceIndex(0) --- >>>switch (x) { 1-> @@ -196,11 +197,11 @@ sourceFile:sourceMapValidationSwitch.ts 4 > ) > 5 > { -1->Emitted(14, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(14, 9) Source(14, 9) + SourceIndex(0) -3 >Emitted(14, 10) Source(14, 10) + SourceIndex(0) -4 >Emitted(14, 12) Source(15, 1) + SourceIndex(0) -5 >Emitted(14, 13) Source(15, 2) + SourceIndex(0) +1->Emitted(15, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(15, 9) Source(14, 9) + SourceIndex(0) +3 >Emitted(15, 10) Source(14, 10) + SourceIndex(0) +4 >Emitted(15, 12) Source(15, 1) + SourceIndex(0) +5 >Emitted(15, 13) Source(15, 2) + SourceIndex(0) --- >>> case 5: 1 >^^^^ @@ -211,9 +212,9 @@ sourceFile:sourceMapValidationSwitch.ts > 2 > case 3 > 5 -1 >Emitted(15, 5) Source(16, 5) + SourceIndex(0) -2 >Emitted(15, 10) Source(16, 10) + SourceIndex(0) -3 >Emitted(15, 11) Source(16, 11) + SourceIndex(0) +1 >Emitted(16, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(16, 10) Source(16, 10) + SourceIndex(0) +3 >Emitted(16, 11) Source(16, 11) + SourceIndex(0) --- >>> x++; 1->^^^^^^^^ @@ -226,10 +227,10 @@ sourceFile:sourceMapValidationSwitch.ts 2 > x 3 > ++ 4 > ; -1->Emitted(16, 9) Source(17, 9) + SourceIndex(0) -2 >Emitted(16, 10) Source(17, 10) + SourceIndex(0) -3 >Emitted(16, 12) Source(17, 12) + SourceIndex(0) -4 >Emitted(16, 13) Source(17, 13) + SourceIndex(0) +1->Emitted(17, 9) Source(17, 9) + SourceIndex(0) +2 >Emitted(17, 10) Source(17, 10) + SourceIndex(0) +3 >Emitted(17, 12) Source(17, 12) + SourceIndex(0) +4 >Emitted(17, 13) Source(17, 13) + SourceIndex(0) --- >>> break; 1->^^^^^^^^ @@ -237,8 +238,8 @@ sourceFile:sourceMapValidationSwitch.ts 1-> > 2 > break; -1->Emitted(17, 9) Source(18, 9) + SourceIndex(0) -2 >Emitted(17, 15) Source(18, 15) + SourceIndex(0) +1->Emitted(18, 9) Source(18, 9) + SourceIndex(0) +2 >Emitted(18, 15) Source(18, 15) + SourceIndex(0) --- >>> case 10: 1 >^^^^ @@ -248,9 +249,9 @@ sourceFile:sourceMapValidationSwitch.ts > 2 > case 3 > 10 -1 >Emitted(18, 5) Source(19, 5) + SourceIndex(0) -2 >Emitted(18, 10) Source(19, 10) + SourceIndex(0) -3 >Emitted(18, 12) Source(19, 12) + SourceIndex(0) +1 >Emitted(19, 5) Source(19, 5) + SourceIndex(0) +2 >Emitted(19, 10) Source(19, 10) + SourceIndex(0) +3 >Emitted(19, 12) Source(19, 12) + SourceIndex(0) --- >>> { 1 >^^^^^^^^ @@ -259,8 +260,8 @@ sourceFile:sourceMapValidationSwitch.ts 1 >: > 2 > { -1 >Emitted(19, 9) Source(20, 9) + SourceIndex(0) -2 >Emitted(19, 10) Source(20, 10) + SourceIndex(0) +1 >Emitted(20, 9) Source(20, 9) + SourceIndex(0) +2 >Emitted(20, 10) Source(20, 10) + SourceIndex(0) --- >>> x--; 1->^^^^^^^^^^^^ @@ -273,10 +274,10 @@ sourceFile:sourceMapValidationSwitch.ts 2 > x 3 > -- 4 > ; -1->Emitted(20, 13) Source(21, 13) + SourceIndex(0) -2 >Emitted(20, 14) Source(21, 14) + SourceIndex(0) -3 >Emitted(20, 16) Source(21, 16) + SourceIndex(0) -4 >Emitted(20, 17) Source(21, 17) + SourceIndex(0) +1->Emitted(21, 13) Source(21, 13) + SourceIndex(0) +2 >Emitted(21, 14) Source(21, 14) + SourceIndex(0) +3 >Emitted(21, 16) Source(21, 16) + SourceIndex(0) +4 >Emitted(21, 17) Source(21, 17) + SourceIndex(0) --- >>> break; 1->^^^^^^^^^^^^ @@ -284,8 +285,8 @@ sourceFile:sourceMapValidationSwitch.ts 1-> > 2 > break; -1->Emitted(21, 13) Source(22, 13) + SourceIndex(0) -2 >Emitted(21, 19) Source(22, 19) + SourceIndex(0) +1->Emitted(22, 13) Source(22, 13) + SourceIndex(0) +2 >Emitted(22, 19) Source(22, 19) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -294,15 +295,15 @@ sourceFile:sourceMapValidationSwitch.ts 1 > > 2 > } -1 >Emitted(22, 9) Source(23, 9) + SourceIndex(0) -2 >Emitted(22, 10) Source(23, 10) + SourceIndex(0) +1 >Emitted(23, 9) Source(23, 9) + SourceIndex(0) +2 >Emitted(23, 10) Source(23, 10) + SourceIndex(0) --- >>> default: 1->^^^^ 2 > ^^^^^^-> 1-> > -1->Emitted(23, 5) Source(24, 5) + SourceIndex(0) +1->Emitted(24, 5) Source(24, 5) + SourceIndex(0) --- >>> { 1->^^^^^^^^ @@ -311,8 +312,8 @@ sourceFile:sourceMapValidationSwitch.ts 1->default: > 2 > { -1->Emitted(24, 9) Source(25, 9) + SourceIndex(0) -2 >Emitted(24, 10) Source(25, 10) + SourceIndex(0) +1->Emitted(25, 9) Source(25, 9) + SourceIndex(0) +2 >Emitted(25, 10) Source(25, 10) + SourceIndex(0) --- >>> x = x * 10; 1->^^^^^^^^^^^^ @@ -330,13 +331,13 @@ sourceFile:sourceMapValidationSwitch.ts 5 > * 6 > 10 7 > ; -1->Emitted(25, 13) Source(26, 13) + SourceIndex(0) -2 >Emitted(25, 14) Source(26, 14) + SourceIndex(0) -3 >Emitted(25, 17) Source(26, 17) + SourceIndex(0) -4 >Emitted(25, 18) Source(26, 18) + SourceIndex(0) -5 >Emitted(25, 21) Source(26, 21) + SourceIndex(0) -6 >Emitted(25, 23) Source(26, 23) + SourceIndex(0) -7 >Emitted(25, 24) Source(26, 24) + SourceIndex(0) +1->Emitted(26, 13) Source(26, 13) + SourceIndex(0) +2 >Emitted(26, 14) Source(26, 14) + SourceIndex(0) +3 >Emitted(26, 17) Source(26, 17) + SourceIndex(0) +4 >Emitted(26, 18) Source(26, 18) + SourceIndex(0) +5 >Emitted(26, 21) Source(26, 21) + SourceIndex(0) +6 >Emitted(26, 23) Source(26, 23) + SourceIndex(0) +7 >Emitted(26, 24) Source(26, 24) + SourceIndex(0) --- >>> } 1 >^^^^^^^^ @@ -344,8 +345,8 @@ sourceFile:sourceMapValidationSwitch.ts 1 > > 2 > } -1 >Emitted(26, 9) Source(27, 9) + SourceIndex(0) -2 >Emitted(26, 10) Source(27, 10) + SourceIndex(0) +1 >Emitted(27, 9) Source(27, 9) + SourceIndex(0) +2 >Emitted(27, 10) Source(27, 10) + SourceIndex(0) --- >>>} 1 > @@ -354,7 +355,7 @@ sourceFile:sourceMapValidationSwitch.ts 1 > > 2 >} -1 >Emitted(27, 1) Source(28, 1) + SourceIndex(0) -2 >Emitted(27, 2) Source(28, 2) + SourceIndex(0) +1 >Emitted(28, 1) Source(28, 1) + SourceIndex(0) +2 >Emitted(28, 2) Source(28, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationSwitch.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationTryCatchFinally.js b/tests/baselines/reference/sourceMapValidationTryCatchFinally.js index 4ac84622a6987..fc91c99106af7 100644 --- a/tests/baselines/reference/sourceMapValidationTryCatchFinally.js +++ b/tests/baselines/reference/sourceMapValidationTryCatchFinally.js @@ -24,6 +24,7 @@ finally } //// [sourceMapValidationTryCatchFinally.js] +"use strict"; var x = 10; try { x = x + 1; diff --git a/tests/baselines/reference/sourceMapValidationTryCatchFinally.js.map b/tests/baselines/reference/sourceMapValidationTryCatchFinally.js.map index bc5c00c11d037..1829e1e3373be 100644 --- a/tests/baselines/reference/sourceMapValidationTryCatchFinally.js.map +++ b/tests/baselines/reference/sourceMapValidationTryCatchFinally.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationTryCatchFinally.js.map] -{"version":3,"file":"sourceMapValidationTryCatchFinally.js","sourceRoot":"","sources":["sourceMapValidationTryCatchFinally.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,EAAE,CAAC;AACX,IAAI,CAAC;IACD,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACd,CAAC;AAAC,OAAO,CAAC,EAAE,CAAC;IACT,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACd,CAAC;QAAS,CAAC;IACP,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;AACf,CAAC;AACD,IACA,CAAC;IACG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACV,MAAM,IAAI,KAAK,EAAE,CAAC;AACtB,CAAC;AACD,OAAO,CAAC,EACR,CAAC;IACG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACd,CAAC;QAED,CAAC;IACG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;AACf,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIHggPSAxMDsNCnRyeSB7DQogIC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VELENBQUM7SUFDRyxDQUFDLEdBQUcsQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUNmLENBQUMifQ==,dmFyIHggPSAxMDsKdHJ5IHsKICAgIHggPSB4ICsgMTsKfSBjYXRjaCAoZSkgewogICAgeCA9IHggLSAxOwp9IGZpbmFsbHkgewogICAgeCA9IHggKiAxMDsKfQp0cnkKewogICAgeCA9IHggKyAxOwogICAgdGhyb3cgbmV3IEVycm9yKCk7Cn0KY2F0Y2ggKGUpCnsKICAgIHggPSB4IC0gMTsKfQpmaW5hbGx5CnsKICAgIHggPSB4ICogMTA7Cn0= +{"version":3,"file":"sourceMapValidationTryCatchFinally.js","sourceRoot":"","sources":["sourceMapValidationTryCatchFinally.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,EAAE,CAAC;AACX,IAAI,CAAC;IACD,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACd,CAAC;AAAC,OAAO,CAAC,EAAE,CAAC;IACT,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACd,CAAC;QAAS,CAAC;IACP,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;AACf,CAAC;AACD,IACA,CAAC;IACG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IACV,MAAM,IAAI,KAAK,EAAE,CAAC;AACtB,CAAC;AACD,OAAO,CAAC,EACR,CAAC;IACG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACd,CAAC;QAED,CAAC;IACG,CAAC,GAAG,CAAC,GAAG,EAAE,CAAC;AACf,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIHggPSAxMDsNCnRyeSB7DQogICAgeCA9IHggKyAxOw0KfQ0KY2F0Y2ggKGUpIHsNCiAgICB4ID0geCAtIDE7DQp9DQpmaW5hbGx5IHsNCiAgICB4ID0geCAqIDEwOw0KfQ0KdHJ5IHsNCiAgICB4ID0geCArIDE7DQogICAgdGhyb3cgbmV3IEVycm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ICAgeCA9IHggKiAxMDsKfQp0cnkKewogICAgeCA9IHggKyAxOwogICAgdGhyb3cgbmV3IEVycm9yKCk7Cn0KY2F0Y2ggKGUpCnsKICAgIHggPSB4IC0gMTsKfQpmaW5hbGx5CnsKICAgIHggPSB4ICogMTA7Cn0= diff --git a/tests/baselines/reference/sourceMapValidationTryCatchFinally.sourcemap.txt b/tests/baselines/reference/sourceMapValidationTryCatchFinally.sourcemap.txt index 553968ffe6b66..42e5924bd1d92 100644 --- a/tests/baselines/reference/sourceMapValidationTryCatchFinally.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationTryCatchFinally.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationTryCatchFinally.ts emittedFile:sourceMapValidationTryCatchFinally.js sourceFile:sourceMapValidationTryCatchFinally.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var x = 10; 1 > 2 >^^^^ @@ -21,12 +22,12 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) --- >>>try { 1 > @@ -37,9 +38,9 @@ sourceFile:sourceMapValidationTryCatchFinally.ts > 2 >try 3 > { -1 >Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -3 >Emitted(2, 6) Source(2, 6) + SourceIndex(0) +1 >Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +3 >Emitted(3, 6) Source(2, 6) + SourceIndex(0) --- >>> x = x + 1; 1->^^^^ @@ -57,13 +58,13 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 5 > + 6 > 1 7 > ; -1->Emitted(3, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(3, 6) Source(3, 6) + SourceIndex(0) -3 >Emitted(3, 9) Source(3, 9) + SourceIndex(0) -4 >Emitted(3, 10) Source(3, 10) + SourceIndex(0) -5 >Emitted(3, 13) Source(3, 13) + SourceIndex(0) -6 >Emitted(3, 14) Source(3, 14) + SourceIndex(0) -7 >Emitted(3, 15) Source(3, 15) + SourceIndex(0) +1->Emitted(4, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(4, 6) Source(3, 6) + SourceIndex(0) +3 >Emitted(4, 9) Source(3, 9) + SourceIndex(0) +4 >Emitted(4, 10) Source(3, 10) + SourceIndex(0) +5 >Emitted(4, 13) Source(3, 13) + SourceIndex(0) +6 >Emitted(4, 14) Source(3, 14) + SourceIndex(0) +7 >Emitted(4, 15) Source(3, 15) + SourceIndex(0) --- >>>} 1 > @@ -72,8 +73,8 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 1 > > 2 >} -1 >Emitted(4, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(4, 2) Source(4, 2) + SourceIndex(0) +1 >Emitted(5, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(5, 2) Source(4, 2) + SourceIndex(0) --- >>>catch (e) { 1-> @@ -87,11 +88,11 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 3 > e 4 > ) 5 > { -1->Emitted(5, 1) Source(4, 3) + SourceIndex(0) -2 >Emitted(5, 8) Source(4, 10) + SourceIndex(0) -3 >Emitted(5, 9) Source(4, 11) + SourceIndex(0) -4 >Emitted(5, 11) Source(4, 13) + SourceIndex(0) -5 >Emitted(5, 12) Source(4, 14) + SourceIndex(0) +1->Emitted(6, 1) Source(4, 3) + SourceIndex(0) +2 >Emitted(6, 8) Source(4, 10) + SourceIndex(0) +3 >Emitted(6, 9) Source(4, 11) + SourceIndex(0) +4 >Emitted(6, 11) Source(4, 13) + SourceIndex(0) +5 >Emitted(6, 12) Source(4, 14) + SourceIndex(0) --- >>> x = x - 1; 1->^^^^ @@ -109,13 +110,13 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 5 > - 6 > 1 7 > ; -1->Emitted(6, 5) Source(5, 5) + SourceIndex(0) -2 >Emitted(6, 6) Source(5, 6) + SourceIndex(0) -3 >Emitted(6, 9) Source(5, 9) + SourceIndex(0) -4 >Emitted(6, 10) Source(5, 10) + SourceIndex(0) -5 >Emitted(6, 13) Source(5, 13) + SourceIndex(0) -6 >Emitted(6, 14) Source(5, 14) + SourceIndex(0) -7 >Emitted(6, 15) Source(5, 15) + SourceIndex(0) +1->Emitted(7, 5) Source(5, 5) + SourceIndex(0) +2 >Emitted(7, 6) Source(5, 6) + SourceIndex(0) +3 >Emitted(7, 9) Source(5, 9) + SourceIndex(0) +4 >Emitted(7, 10) Source(5, 10) + SourceIndex(0) +5 >Emitted(7, 13) Source(5, 13) + SourceIndex(0) +6 >Emitted(7, 14) Source(5, 14) + SourceIndex(0) +7 >Emitted(7, 15) Source(5, 15) + SourceIndex(0) --- >>>} 1 > @@ -124,8 +125,8 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 1 > > 2 >} -1 >Emitted(7, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(6, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(6, 2) + SourceIndex(0) --- >>>finally { 1->^^^^^^^^ @@ -133,8 +134,8 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 3 > ^^^^^^^-> 1-> finally 2 > { -1->Emitted(8, 9) Source(6, 11) + SourceIndex(0) -2 >Emitted(8, 10) Source(6, 12) + SourceIndex(0) +1->Emitted(9, 9) Source(6, 11) + SourceIndex(0) +2 >Emitted(9, 10) Source(6, 12) + SourceIndex(0) --- >>> x = x * 10; 1->^^^^ @@ -152,13 +153,13 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 5 > * 6 > 10 7 > ; -1->Emitted(9, 5) Source(7, 5) + SourceIndex(0) -2 >Emitted(9, 6) Source(7, 6) + SourceIndex(0) -3 >Emitted(9, 9) Source(7, 9) + SourceIndex(0) -4 >Emitted(9, 10) Source(7, 10) + SourceIndex(0) -5 >Emitted(9, 13) Source(7, 13) + SourceIndex(0) -6 >Emitted(9, 15) Source(7, 15) + SourceIndex(0) -7 >Emitted(9, 16) Source(7, 16) + SourceIndex(0) +1->Emitted(10, 5) Source(7, 5) + SourceIndex(0) +2 >Emitted(10, 6) Source(7, 6) + SourceIndex(0) +3 >Emitted(10, 9) Source(7, 9) + SourceIndex(0) +4 >Emitted(10, 10) Source(7, 10) + SourceIndex(0) +5 >Emitted(10, 13) Source(7, 13) + SourceIndex(0) +6 >Emitted(10, 15) Source(7, 15) + SourceIndex(0) +7 >Emitted(10, 16) Source(7, 16) + SourceIndex(0) --- >>>} 1 > @@ -167,8 +168,8 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 1 > > 2 >} -1 >Emitted(10, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(10, 2) Source(8, 2) + SourceIndex(0) +1 >Emitted(11, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(11, 2) Source(8, 2) + SourceIndex(0) --- >>>try { 1-> @@ -180,9 +181,9 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 2 >try > 3 > { -1->Emitted(11, 1) Source(9, 1) + SourceIndex(0) -2 >Emitted(11, 5) Source(10, 1) + SourceIndex(0) -3 >Emitted(11, 6) Source(10, 2) + SourceIndex(0) +1->Emitted(12, 1) Source(9, 1) + SourceIndex(0) +2 >Emitted(12, 5) Source(10, 1) + SourceIndex(0) +3 >Emitted(12, 6) Source(10, 2) + SourceIndex(0) --- >>> x = x + 1; 1->^^^^ @@ -201,13 +202,13 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 5 > + 6 > 1 7 > ; -1->Emitted(12, 5) Source(11, 5) + SourceIndex(0) -2 >Emitted(12, 6) Source(11, 6) + SourceIndex(0) -3 >Emitted(12, 9) Source(11, 9) + SourceIndex(0) -4 >Emitted(12, 10) Source(11, 10) + SourceIndex(0) -5 >Emitted(12, 13) Source(11, 13) + SourceIndex(0) -6 >Emitted(12, 14) Source(11, 14) + SourceIndex(0) -7 >Emitted(12, 15) Source(11, 15) + SourceIndex(0) +1->Emitted(13, 5) Source(11, 5) + SourceIndex(0) +2 >Emitted(13, 6) Source(11, 6) + SourceIndex(0) +3 >Emitted(13, 9) Source(11, 9) + SourceIndex(0) +4 >Emitted(13, 10) Source(11, 10) + SourceIndex(0) +5 >Emitted(13, 13) Source(11, 13) + SourceIndex(0) +6 >Emitted(13, 14) Source(11, 14) + SourceIndex(0) +7 >Emitted(13, 15) Source(11, 15) + SourceIndex(0) --- >>> throw new Error(); 1->^^^^ @@ -223,12 +224,12 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 4 > Error 5 > () 6 > ; -1->Emitted(13, 5) Source(12, 5) + SourceIndex(0) -2 >Emitted(13, 11) Source(12, 11) + SourceIndex(0) -3 >Emitted(13, 15) Source(12, 15) + SourceIndex(0) -4 >Emitted(13, 20) Source(12, 20) + SourceIndex(0) -5 >Emitted(13, 22) Source(12, 22) + SourceIndex(0) -6 >Emitted(13, 23) Source(12, 23) + SourceIndex(0) +1->Emitted(14, 5) Source(12, 5) + SourceIndex(0) +2 >Emitted(14, 11) Source(12, 11) + SourceIndex(0) +3 >Emitted(14, 15) Source(12, 15) + SourceIndex(0) +4 >Emitted(14, 20) Source(12, 20) + SourceIndex(0) +5 >Emitted(14, 22) Source(12, 22) + SourceIndex(0) +6 >Emitted(14, 23) Source(12, 23) + SourceIndex(0) --- >>>} 1 > @@ -237,8 +238,8 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 1 > > 2 >} -1 >Emitted(14, 1) Source(13, 1) + SourceIndex(0) -2 >Emitted(14, 2) Source(13, 2) + SourceIndex(0) +1 >Emitted(15, 1) Source(13, 1) + SourceIndex(0) +2 >Emitted(15, 2) Source(13, 2) + SourceIndex(0) --- >>>catch (e) { 1-> @@ -254,11 +255,11 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 4 > ) > 5 > { -1->Emitted(15, 1) Source(14, 1) + SourceIndex(0) -2 >Emitted(15, 8) Source(14, 8) + SourceIndex(0) -3 >Emitted(15, 9) Source(14, 9) + SourceIndex(0) -4 >Emitted(15, 11) Source(15, 1) + SourceIndex(0) -5 >Emitted(15, 12) Source(15, 2) + SourceIndex(0) +1->Emitted(16, 1) Source(14, 1) + SourceIndex(0) +2 >Emitted(16, 8) Source(14, 8) + SourceIndex(0) +3 >Emitted(16, 9) Source(14, 9) + SourceIndex(0) +4 >Emitted(16, 11) Source(15, 1) + SourceIndex(0) +5 >Emitted(16, 12) Source(15, 2) + SourceIndex(0) --- >>> x = x - 1; 1->^^^^ @@ -276,13 +277,13 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 5 > - 6 > 1 7 > ; -1->Emitted(16, 5) Source(16, 5) + SourceIndex(0) -2 >Emitted(16, 6) Source(16, 6) + SourceIndex(0) -3 >Emitted(16, 9) Source(16, 9) + SourceIndex(0) -4 >Emitted(16, 10) Source(16, 10) + SourceIndex(0) -5 >Emitted(16, 13) Source(16, 13) + SourceIndex(0) -6 >Emitted(16, 14) Source(16, 14) + SourceIndex(0) -7 >Emitted(16, 15) Source(16, 15) + SourceIndex(0) +1->Emitted(17, 5) Source(16, 5) + SourceIndex(0) +2 >Emitted(17, 6) Source(16, 6) + SourceIndex(0) +3 >Emitted(17, 9) Source(16, 9) + SourceIndex(0) +4 >Emitted(17, 10) Source(16, 10) + SourceIndex(0) +5 >Emitted(17, 13) Source(16, 13) + SourceIndex(0) +6 >Emitted(17, 14) Source(16, 14) + SourceIndex(0) +7 >Emitted(17, 15) Source(16, 15) + SourceIndex(0) --- >>>} 1 > @@ -291,8 +292,8 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 1 > > 2 >} -1 >Emitted(17, 1) Source(17, 1) + SourceIndex(0) -2 >Emitted(17, 2) Source(17, 2) + SourceIndex(0) +1 >Emitted(18, 1) Source(17, 1) + SourceIndex(0) +2 >Emitted(18, 2) Source(17, 2) + SourceIndex(0) --- >>>finally { 1->^^^^^^^^ @@ -302,8 +303,8 @@ sourceFile:sourceMapValidationTryCatchFinally.ts >finally > 2 > { -1->Emitted(18, 9) Source(19, 1) + SourceIndex(0) -2 >Emitted(18, 10) Source(19, 2) + SourceIndex(0) +1->Emitted(19, 9) Source(19, 1) + SourceIndex(0) +2 >Emitted(19, 10) Source(19, 2) + SourceIndex(0) --- >>> x = x * 10; 1->^^^^ @@ -321,13 +322,13 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 5 > * 6 > 10 7 > ; -1->Emitted(19, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(19, 6) Source(20, 6) + SourceIndex(0) -3 >Emitted(19, 9) Source(20, 9) + SourceIndex(0) -4 >Emitted(19, 10) Source(20, 10) + SourceIndex(0) -5 >Emitted(19, 13) Source(20, 13) + SourceIndex(0) -6 >Emitted(19, 15) Source(20, 15) + SourceIndex(0) -7 >Emitted(19, 16) Source(20, 16) + SourceIndex(0) +1->Emitted(20, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(20, 6) Source(20, 6) + SourceIndex(0) +3 >Emitted(20, 9) Source(20, 9) + SourceIndex(0) +4 >Emitted(20, 10) Source(20, 10) + SourceIndex(0) +5 >Emitted(20, 13) Source(20, 13) + SourceIndex(0) +6 >Emitted(20, 15) Source(20, 15) + SourceIndex(0) +7 >Emitted(20, 16) Source(20, 16) + SourceIndex(0) --- >>>} 1 > @@ -336,7 +337,7 @@ sourceFile:sourceMapValidationTryCatchFinally.ts 1 > > 2 >} -1 >Emitted(20, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(20, 2) Source(21, 2) + SourceIndex(0) +1 >Emitted(21, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(21, 2) Source(21, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationTryCatchFinally.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.js b/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.js index b65f7a9f0ce23..0af1a0fed0eb2 100644 --- a/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.js +++ b/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.js @@ -6,6 +6,7 @@ function * f() { } //// [sourceMapValidationVarInDownLevelGenerator.js] +"use strict"; function f() { var x, y; return __generator(this, function (_a) { diff --git a/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.js.map b/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.js.map index b2f88fb136a8c..98cc8fcd61b53 100644 --- a/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.js.map +++ b/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationVarInDownLevelGenerator.js.map] -{"version":3,"file":"sourceMapValidationVarInDownLevelGenerator.js","sourceRoot":"","sources":["sourceMapValidationVarInDownLevelGenerator.ts"],"names":[],"mappings":"AAAA,SAAW,CAAC;;;QACJ,CAAC,GAAG,CAAC,CAAI;;;CAChB"} -//// https://sokra.github.io/source-map-visualization#base64,ZnVuY3Rpb24gZigpIHsNCiAgICB2YXIgeCwgeTsNCiAgICByZXR1cm4gX19nZW5lcmF0b3IodGhpcywgZnVuY3Rpb24gKF9hKSB7DQogICAgICAgIHggPSAxOw0KICAgICAgICByZXR1cm4gWzIgLypyZXR1cm4qL107DQogICAgfSk7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uVmFySW5Eb3duTGV2ZWxHZW5lcmF0b3IuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvblZhckluRG93bkxldmVsR2VuZXJhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvblZhckluRG93bkxldmVsR2VuZXJhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLFNBQVcsQ0FBQzs7O1FBQ0osQ0FBQyxHQUFHLENBQUMsQ0FBSTs7O0NBQ2hCIn0=,ZnVuY3Rpb24gKiBmKCkgewogICAgdmFyIHggPSAxLCB5Owp9 +{"version":3,"file":"sourceMapValidationVarInDownLevelGenerator.js","sourceRoot":"","sources":["sourceMapValidationVarInDownLevelGenerator.ts"],"names":[],"mappings":";AAAA,SAAW,CAAC;;;QACJ,CAAC,GAAG,CAAC,CAAI;;;CAChB"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KZnVuY3Rpb24gZigpIHsNCiAgICB2YXIgeCwgeTsNCiAgICByZXR1cm4gX19nZW5lcmF0b3IodGhpcywgZnVuY3Rpb24gKF9hKSB7DQogICAgICAgIHggPSAxOw0KICAgICAgICByZXR1cm4gWzIgLypyZXR1cm4qL107DQogICAgfSk7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uVmFySW5Eb3duTGV2ZWxHZW5lcmF0b3IuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvblZhckluRG93bkxldmVsR2VuZXJhdG9yLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvblZhckluRG93bkxldmVsR2VuZXJhdG9yLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxTQUFXLENBQUM7OztRQUNKLENBQUMsR0FBRyxDQUFDLENBQUk7OztDQUNoQiJ9,ZnVuY3Rpb24gKiBmKCkgewogICAgdmFyIHggPSAxLCB5Owp9 diff --git a/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.sourcemap.txt b/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.sourcemap.txt index 272e6bc370c3a..2767f0818efb1 100644 --- a/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationVarInDownLevelGenerator.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationVarInDownLevelGenerator.ts emittedFile:sourceMapValidationVarInDownLevelGenerator.js sourceFile:sourceMapValidationVarInDownLevelGenerator.ts ------------------------------------------------------------------- +>>>"use strict"; >>>function f() { 1 > 2 >^^^^^^^^^ @@ -16,9 +17,9 @@ sourceFile:sourceMapValidationVarInDownLevelGenerator.ts 1 > 2 >function * 3 > f -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 10) Source(1, 12) + SourceIndex(0) -3 >Emitted(1, 11) Source(1, 13) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 10) Source(1, 12) + SourceIndex(0) +3 >Emitted(2, 11) Source(1, 13) + SourceIndex(0) --- >>> var x, y; >>> return __generator(this, function (_a) { @@ -35,11 +36,11 @@ sourceFile:sourceMapValidationVarInDownLevelGenerator.ts 3 > = 4 > 1 5 > , y; -1->Emitted(4, 9) Source(2, 9) + SourceIndex(0) -2 >Emitted(4, 10) Source(2, 10) + SourceIndex(0) -3 >Emitted(4, 13) Source(2, 13) + SourceIndex(0) -4 >Emitted(4, 14) Source(2, 14) + SourceIndex(0) -5 >Emitted(4, 15) Source(2, 18) + SourceIndex(0) +1->Emitted(5, 9) Source(2, 9) + SourceIndex(0) +2 >Emitted(5, 10) Source(2, 10) + SourceIndex(0) +3 >Emitted(5, 13) Source(2, 13) + SourceIndex(0) +4 >Emitted(5, 14) Source(2, 14) + SourceIndex(0) +5 >Emitted(5, 15) Source(2, 18) + SourceIndex(0) --- >>> return [2 /*return*/]; >>> }); @@ -48,6 +49,6 @@ sourceFile:sourceMapValidationVarInDownLevelGenerator.ts 2 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1-> >} -1->Emitted(7, 2) Source(3, 2) + SourceIndex(0) +1->Emitted(8, 2) Source(3, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationVarInDownLevelGenerator.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationVariables.js b/tests/baselines/reference/sourceMapValidationVariables.js index d732887bbd329..4a4c078cd61eb 100644 --- a/tests/baselines/reference/sourceMapValidationVariables.js +++ b/tests/baselines/reference/sourceMapValidationVariables.js @@ -7,6 +7,7 @@ var c = 10, d, e; var c2, d2 = 10; //// [sourceMapValidationVariables.js] +"use strict"; var a = 10; var b; var c = 10, d, e; diff --git a/tests/baselines/reference/sourceMapValidationVariables.js.map b/tests/baselines/reference/sourceMapValidationVariables.js.map index c764c790c7fd7..e51a9eecf05e8 100644 --- a/tests/baselines/reference/sourceMapValidationVariables.js.map +++ b/tests/baselines/reference/sourceMapValidationVariables.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationVariables.js.map] -{"version":3,"file":"sourceMapValidationVariables.js","sourceRoot":"","sources":["sourceMapValidationVariables.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,EAAE,CAAC;AACX,IAAI,CAAC,CAAC;AACN,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;AACjB,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGEgPSAxMDsNCnZhciBiOw0KdmFyIGMgPSAxMCwgZCwgZTsNCnZhciBjMiwgZDIgPSAxMDsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25WYXJpYWJsZXMuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvblZhcmlhYmxlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25WYXJpYWJsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDO0FBQ1gsSUFBSSxDQUFDLENBQUM7QUFDTixJQUFJLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxFQUFFLENBQUMsQ0FBQztBQUNqQixJQUFJLEVBQUUsRUFBRSxFQUFFLEdBQUcsRUFBRSxDQUFDIn0=,dmFyIGEgPSAxMDsKdmFyIGI7CnZhciBjID0gMTAsIGQsIGU7CnZhciBjMiwgZDIgPSAxMDs= +{"version":3,"file":"sourceMapValidationVariables.js","sourceRoot":"","sources":["sourceMapValidationVariables.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,EAAE,CAAC;AACX,IAAI,CAAC,CAAC;AACN,IAAI,CAAC,GAAG,EAAE,EAAE,CAAC,EAAE,CAAC,CAAC;AACjB,IAAI,EAAE,EAAE,EAAE,GAAG,EAAE,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGEgPSAxMDsNCnZhciBiOw0KdmFyIGMgPSAxMCwgZCwgZTsNCnZhciBjMiwgZDIgPSAxMDsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZU1hcFZhbGlkYXRpb25WYXJpYWJsZXMuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvblZhcmlhYmxlcy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25WYXJpYWJsZXMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUNYLElBQUksQ0FBQyxDQUFDO0FBQ04sSUFBSSxDQUFDLEdBQUcsRUFBRSxFQUFFLENBQUMsRUFBRSxDQUFDLENBQUM7QUFDakIsSUFBSSxFQUFFLEVBQUUsRUFBRSxHQUFHLEVBQUUsQ0FBQyJ9,dmFyIGEgPSAxMDsKdmFyIGI7CnZhciBjID0gMTAsIGQsIGU7CnZhciBjMiwgZDIgPSAxMDs= diff --git a/tests/baselines/reference/sourceMapValidationVariables.sourcemap.txt b/tests/baselines/reference/sourceMapValidationVariables.sourcemap.txt index 6ecfb29ea084a..8ebacc5033db1 100644 --- a/tests/baselines/reference/sourceMapValidationVariables.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationVariables.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationVariables.ts emittedFile:sourceMapValidationVariables.js sourceFile:sourceMapValidationVariables.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = 10; 1 > 2 >^^^^ @@ -21,12 +22,12 @@ sourceFile:sourceMapValidationVariables.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) --- >>>var b; 1 > @@ -39,10 +40,10 @@ sourceFile:sourceMapValidationVariables.ts 2 >var 3 > b 4 > ; -1 >Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 5) Source(2, 5) + SourceIndex(0) -3 >Emitted(2, 6) Source(2, 6) + SourceIndex(0) -4 >Emitted(2, 7) Source(2, 7) + SourceIndex(0) +1 >Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 5) Source(2, 5) + SourceIndex(0) +3 >Emitted(3, 6) Source(2, 6) + SourceIndex(0) +4 >Emitted(3, 7) Source(2, 7) + SourceIndex(0) --- >>>var c = 10, d, e; 1-> @@ -66,16 +67,16 @@ sourceFile:sourceMapValidationVariables.ts 8 > , 9 > e 10> ; -1->Emitted(3, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) -3 >Emitted(3, 6) Source(3, 6) + SourceIndex(0) -4 >Emitted(3, 9) Source(3, 9) + SourceIndex(0) -5 >Emitted(3, 11) Source(3, 11) + SourceIndex(0) -6 >Emitted(3, 13) Source(3, 13) + SourceIndex(0) -7 >Emitted(3, 14) Source(3, 14) + SourceIndex(0) -8 >Emitted(3, 16) Source(3, 16) + SourceIndex(0) -9 >Emitted(3, 17) Source(3, 17) + SourceIndex(0) -10>Emitted(3, 18) Source(3, 18) + SourceIndex(0) +1->Emitted(4, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(4, 5) Source(3, 5) + SourceIndex(0) +3 >Emitted(4, 6) Source(3, 6) + SourceIndex(0) +4 >Emitted(4, 9) Source(3, 9) + SourceIndex(0) +5 >Emitted(4, 11) Source(3, 11) + SourceIndex(0) +6 >Emitted(4, 13) Source(3, 13) + SourceIndex(0) +7 >Emitted(4, 14) Source(3, 14) + SourceIndex(0) +8 >Emitted(4, 16) Source(3, 16) + SourceIndex(0) +9 >Emitted(4, 17) Source(3, 17) + SourceIndex(0) +10>Emitted(4, 18) Source(3, 18) + SourceIndex(0) --- >>>var c2, d2 = 10; 1 > @@ -96,13 +97,13 @@ sourceFile:sourceMapValidationVariables.ts 6 > = 7 > 10 8 > ; -1 >Emitted(4, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(4, 5) Source(4, 5) + SourceIndex(0) -3 >Emitted(4, 7) Source(4, 7) + SourceIndex(0) -4 >Emitted(4, 9) Source(4, 9) + SourceIndex(0) -5 >Emitted(4, 11) Source(4, 11) + SourceIndex(0) -6 >Emitted(4, 14) Source(4, 14) + SourceIndex(0) -7 >Emitted(4, 16) Source(4, 16) + SourceIndex(0) -8 >Emitted(4, 17) Source(4, 17) + SourceIndex(0) +1 >Emitted(5, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(5, 5) Source(4, 5) + SourceIndex(0) +3 >Emitted(5, 7) Source(4, 7) + SourceIndex(0) +4 >Emitted(5, 9) Source(4, 9) + SourceIndex(0) +5 >Emitted(5, 11) Source(4, 11) + SourceIndex(0) +6 >Emitted(5, 14) Source(4, 14) + SourceIndex(0) +7 >Emitted(5, 16) Source(4, 16) + SourceIndex(0) +8 >Emitted(5, 17) Source(4, 17) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationVariables.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationWhile.js b/tests/baselines/reference/sourceMapValidationWhile.js index 769163b1cf13f..3310d359c73a5 100644 --- a/tests/baselines/reference/sourceMapValidationWhile.js +++ b/tests/baselines/reference/sourceMapValidationWhile.js @@ -11,6 +11,7 @@ while (a == 10) } //// [sourceMapValidationWhile.js] +"use strict"; var a = 10; while (a == 10) { a++; diff --git a/tests/baselines/reference/sourceMapValidationWhile.js.map b/tests/baselines/reference/sourceMapValidationWhile.js.map index 48299afce34cb..0f13122b7c476 100644 --- a/tests/baselines/reference/sourceMapValidationWhile.js.map +++ b/tests/baselines/reference/sourceMapValidationWhile.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationWhile.js.map] -{"version":3,"file":"sourceMapValidationWhile.js","sourceRoot":"","sources":["sourceMapValidationWhile.ts"],"names":[],"mappings":"AAAA,IAAI,CAAC,GAAG,EAAE,CAAC;AACX,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;IACb,CAAC,EAAE,CAAC;AACR,CAAC;AACD,OAAO,CAAC,IAAI,EAAE,EACd,CAAC;IACG,CAAC,EAAE,CAAC;AACR,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGEgPSAxMDsNCndoaWxlIChhID09IDEwKSB7DQogICAgYSsrOw0KfQ0Kd2hpbGUgKGEgPT0gMTApIHsNCiAgICBhKys7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uV2hpbGUuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbldoaWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbldoaWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQUksQ0FBQyxHQUFHLEVBQUUsQ0FBQztBQUNYLE9BQU8sQ0FBQyxJQUFJLEVBQUUsRUFBRSxDQUFDO0lBQ2IsQ0FBQyxFQUFFLENBQUM7QUFDUixDQUFDO0FBQ0QsT0FBTyxDQUFDLElBQUksRUFBRSxFQUNkLENBQUM7SUFDRyxDQUFDLEVBQUUsQ0FBQztBQUNSLENBQUMifQ==,dmFyIGEgPSAxMDsKd2hpbGUgKGEgPT0gMTApIHsKICAgIGErKzsKfQp3aGlsZSAoYSA9PSAxMCkKewogICAgYSsrOwp9 +{"version":3,"file":"sourceMapValidationWhile.js","sourceRoot":"","sources":["sourceMapValidationWhile.ts"],"names":[],"mappings":";AAAA,IAAI,CAAC,GAAG,EAAE,CAAC;AACX,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC;IACb,CAAC,EAAE,CAAC;AACR,CAAC;AACD,OAAO,CAAC,IAAI,EAAE,EACd,CAAC;IACG,CAAC,EAAE,CAAC;AACR,CAAC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGEgPSAxMDsNCndoaWxlIChhID09IDEwKSB7DQogICAgYSsrOw0KfQ0Kd2hpbGUgKGEgPT0gMTApIHsNCiAgICBhKys7DQp9DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uV2hpbGUuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbldoaWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlTWFwVmFsaWRhdGlvbldoaWxlLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxJQUFJLENBQUMsR0FBRyxFQUFFLENBQUM7QUFDWCxPQUFPLENBQUMsSUFBSSxFQUFFLEVBQUUsQ0FBQztJQUNiLENBQUMsRUFBRSxDQUFDO0FBQ1IsQ0FBQztBQUNELE9BQU8sQ0FBQyxJQUFJLEVBQUUsRUFDZCxDQUFDO0lBQ0csQ0FBQyxFQUFFLENBQUM7QUFDUixDQUFDIn0=,dmFyIGEgPSAxMDsKd2hpbGUgKGEgPT0gMTApIHsKICAgIGErKzsKfQp3aGlsZSAoYSA9PSAxMCkKewogICAgYSsrOwp9 diff --git a/tests/baselines/reference/sourceMapValidationWhile.sourcemap.txt b/tests/baselines/reference/sourceMapValidationWhile.sourcemap.txt index f494102242d5b..da0c2294db9a0 100644 --- a/tests/baselines/reference/sourceMapValidationWhile.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationWhile.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourceMapValidationWhile.ts emittedFile:sourceMapValidationWhile.js sourceFile:sourceMapValidationWhile.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var a = 10; 1 > 2 >^^^^ @@ -22,12 +23,12 @@ sourceFile:sourceMapValidationWhile.ts 4 > = 5 > 10 6 > ; -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 5) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 6) + SourceIndex(0) -4 >Emitted(1, 9) Source(1, 9) + SourceIndex(0) -5 >Emitted(1, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(1, 12) Source(1, 12) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 5) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 6) + SourceIndex(0) +4 >Emitted(2, 9) Source(1, 9) + SourceIndex(0) +5 >Emitted(2, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(2, 12) Source(1, 12) + SourceIndex(0) --- >>>while (a == 10) { 1-> @@ -45,13 +46,13 @@ sourceFile:sourceMapValidationWhile.ts 5 > 10 6 > ) 7 > { -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 8) Source(2, 8) + SourceIndex(0) -3 >Emitted(2, 9) Source(2, 9) + SourceIndex(0) -4 >Emitted(2, 13) Source(2, 13) + SourceIndex(0) -5 >Emitted(2, 15) Source(2, 15) + SourceIndex(0) -6 >Emitted(2, 17) Source(2, 17) + SourceIndex(0) -7 >Emitted(2, 18) Source(2, 18) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 8) Source(2, 8) + SourceIndex(0) +3 >Emitted(3, 9) Source(2, 9) + SourceIndex(0) +4 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) +5 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) +6 >Emitted(3, 17) Source(2, 17) + SourceIndex(0) +7 >Emitted(3, 18) Source(2, 18) + SourceIndex(0) --- >>> a++; 1 >^^^^ @@ -63,10 +64,10 @@ sourceFile:sourceMapValidationWhile.ts 2 > a 3 > ++ 4 > ; -1 >Emitted(3, 5) Source(3, 5) + SourceIndex(0) -2 >Emitted(3, 6) Source(3, 6) + SourceIndex(0) -3 >Emitted(3, 8) Source(3, 8) + SourceIndex(0) -4 >Emitted(3, 9) Source(3, 9) + SourceIndex(0) +1 >Emitted(4, 5) Source(3, 5) + SourceIndex(0) +2 >Emitted(4, 6) Source(3, 6) + SourceIndex(0) +3 >Emitted(4, 8) Source(3, 8) + SourceIndex(0) +4 >Emitted(4, 9) Source(3, 9) + SourceIndex(0) --- >>>} 1 > @@ -75,8 +76,8 @@ sourceFile:sourceMapValidationWhile.ts 1 > > 2 >} -1 >Emitted(4, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(4, 2) Source(4, 2) + SourceIndex(0) +1 >Emitted(5, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(5, 2) Source(4, 2) + SourceIndex(0) --- >>>while (a == 10) { 1-> @@ -95,13 +96,13 @@ sourceFile:sourceMapValidationWhile.ts 6 > ) > 7 > { -1->Emitted(5, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(5, 8) Source(5, 8) + SourceIndex(0) -3 >Emitted(5, 9) Source(5, 9) + SourceIndex(0) -4 >Emitted(5, 13) Source(5, 13) + SourceIndex(0) -5 >Emitted(5, 15) Source(5, 15) + SourceIndex(0) -6 >Emitted(5, 17) Source(6, 1) + SourceIndex(0) -7 >Emitted(5, 18) Source(6, 2) + SourceIndex(0) +1->Emitted(6, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(6, 8) Source(5, 8) + SourceIndex(0) +3 >Emitted(6, 9) Source(5, 9) + SourceIndex(0) +4 >Emitted(6, 13) Source(5, 13) + SourceIndex(0) +5 >Emitted(6, 15) Source(5, 15) + SourceIndex(0) +6 >Emitted(6, 17) Source(6, 1) + SourceIndex(0) +7 >Emitted(6, 18) Source(6, 2) + SourceIndex(0) --- >>> a++; 1 >^^^^ @@ -113,10 +114,10 @@ sourceFile:sourceMapValidationWhile.ts 2 > a 3 > ++ 4 > ; -1 >Emitted(6, 5) Source(7, 5) + SourceIndex(0) -2 >Emitted(6, 6) Source(7, 6) + SourceIndex(0) -3 >Emitted(6, 8) Source(7, 8) + SourceIndex(0) -4 >Emitted(6, 9) Source(7, 9) + SourceIndex(0) +1 >Emitted(7, 5) Source(7, 5) + SourceIndex(0) +2 >Emitted(7, 6) Source(7, 6) + SourceIndex(0) +3 >Emitted(7, 8) Source(7, 8) + SourceIndex(0) +4 >Emitted(7, 9) Source(7, 9) + SourceIndex(0) --- >>>} 1 > @@ -125,7 +126,7 @@ sourceFile:sourceMapValidationWhile.ts 1 > > 2 >} -1 >Emitted(7, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(8, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(8, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationWhile.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapValidationWithComments.js b/tests/baselines/reference/sourceMapValidationWithComments.js index 709e7ff3421b7..aaf02419548bc 100644 --- a/tests/baselines/reference/sourceMapValidationWithComments.js +++ b/tests/baselines/reference/sourceMapValidationWithComments.js @@ -24,6 +24,7 @@ class DebugClass { } //// [sourceMapValidationWithComments.js] +"use strict"; var DebugClass = /** @class */ (function () { function DebugClass() { } diff --git a/tests/baselines/reference/sourceMapValidationWithComments.js.map b/tests/baselines/reference/sourceMapValidationWithComments.js.map index 98adcf3f7c437..88f93e34b7e08 100644 --- a/tests/baselines/reference/sourceMapValidationWithComments.js.map +++ b/tests/baselines/reference/sourceMapValidationWithComments.js.map @@ -1,3 +1,3 @@ //// [sourceMapValidationWithComments.js.map] -{"version":3,"file":"sourceMapValidationWithComments.js","sourceRoot":"","sources":["sourceMapValidationWithComments.ts"],"names":[],"mappings":"AAAA;IAAA;IAoBA,CAAC;IAlBiB,oBAAS,GAAvB;QAEI,2BAA2B;QAC3B,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,yBAAyB;QAGzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACL,iBAAC;AAAD,CAAC,AApBD,IAoBC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIERlYnVnQ2xhc3MgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gRGVidWdDbGFzcygpIHsNCiAgICB9DQogICAgRGVidWdDbGFzcy5kZWJ1Z0Z1bmMgPSBmdW5jdGlvbiAoKSB7DQogICAgICAgIC8vIFN0YXJ0IERlYnVnZ2VyIFRlc3QgQ29kZQ0KICAgICAgICB2YXIgaSA9IDA7DQogICAgICAgIGkrKzsNCiAgICAgICAgaSsrOw0KICAgICAgICBpKys7DQogICAgICAgIGkrKzsNCiAgICAgICAgaSsrOw0KICAgICAgICBpKys7DQogICAgICAgIGkrKzsNCiAgICAgICAgaSsrOw0KICAgICAgICBpKys7DQogICAgICAgIC8vIEVuZCBEZWJ1Z2dlciBUZXN0IENvZGUNCiAgICAgICAgcmV0dXJuIHRydWU7DQogICAgfTsNCiAgICByZXR1cm4gRGVidWdDbGFzczsNCn0oKSk7DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uV2l0aENvbW1lbnRzLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbldpdGhDb21tZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25XaXRoQ29tbWVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFBQTtJQW9CQSxDQUFDO0lBbEJpQixvQkFBUyxHQUF2QjtRQUVJLDJCQUEyQjtRQUMzQixJQUFJLENBQUMsR0FBRyxDQUFDLENBQUM7UUFDVixDQUFDLEVBQUUsQ0FBQztRQUNKLENBQUMsRUFBRSxDQUFDO1FBQ0osQ0FBQyxFQUFFLENBQUM7UUFDSixDQUFDLEVBQUUsQ0FBQztRQUNKLENBQUMsRUFBRSxDQUFDO1FBQ0osQ0FBQyxFQUFFLENBQUM7UUFDSixDQUFDLEVBQUUsQ0FBQztRQUNKLENBQUMsRUFBRSxDQUFDO1FBQ0osQ0FBQyxFQUFFLENBQUM7UUFDSix5QkFBeUI7UUFHekIsT0FBTyxJQUFJLENBQUM7SUFDaEIsQ0FBQztJQUNMLGlCQUFDO0FBQUQsQ0FBQyxBQXBCRCxJQW9CQyJ9,Y2xhc3MgRGVidWdDbGFzcyB7CgogICAgcHVibGljIHN0YXRpYyBkZWJ1Z0Z1bmMoKSB7CgogICAgICAgIC8vIFN0YXJ0IERlYnVnZ2VyIFRlc3QgQ29kZQogICAgICAgIHZhciBpID0gMDsKICAgICAgICBpKys7CiAgICAgICAgaSsrOwogICAgICAgIGkrKzsKICAgICAgICBpKys7CiAgICAgICAgaSsrOwogICAgICAgIGkrKzsKICAgICAgICBpKys7CiAgICAgICAgaSsrOwogICAgICAgIGkrKzsKICAgICAgICAvLyBFbmQgRGVidWdnZXIgVGVzdCBDb2RlCgoKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfQ== +{"version":3,"file":"sourceMapValidationWithComments.js","sourceRoot":"","sources":["sourceMapValidationWithComments.ts"],"names":[],"mappings":";AAAA;IAAA;IAoBA,CAAC;IAlBiB,oBAAS,GAAvB;QAEI,2BAA2B;QAC3B,IAAI,CAAC,GAAG,CAAC,CAAC;QACV,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,CAAC,EAAE,CAAC;QACJ,yBAAyB;QAGzB,OAAO,IAAI,CAAC;IAChB,CAAC;IACL,iBAAC;AAAD,CAAC,AApBD,IAoBC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIERlYnVnQ2xhc3MgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gRGVidWdDbGFzcygpIHsNCiAgICB9DQogICAgRGVidWdDbGFzcy5kZWJ1Z0Z1bmMgPSBmdW5jdGlvbiAoKSB7DQogICAgICAgIC8vIFN0YXJ0IERlYnVnZ2VyIFRlc3QgQ29kZQ0KICAgICAgICB2YXIgaSA9IDA7DQogICAgICAgIGkrKzsNCiAgICAgICAgaSsrOw0KICAgICAgICBpKys7DQogICAgICAgIGkrKzsNCiAgICAgICAgaSsrOw0KICAgICAgICBpKys7DQogICAgICAgIGkrKzsNCiAgICAgICAgaSsrOw0KICAgICAgICBpKys7DQogICAgICAgIC8vIEVuZCBEZWJ1Z2dlciBUZXN0IENvZGUNCiAgICAgICAgcmV0dXJuIHRydWU7DQogICAgfTsNCiAgICByZXR1cm4gRGVidWdDbGFzczsNCn0oKSk7DQovLyMgc291cmNlTWFwcGluZ1VSTD1zb3VyY2VNYXBWYWxpZGF0aW9uV2l0aENvbW1lbnRzLmpzLm1hcA==,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlTWFwVmFsaWRhdGlvbldpdGhDb21tZW50cy5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbInNvdXJjZU1hcFZhbGlkYXRpb25XaXRoQ29tbWVudHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0lBQUE7SUFvQkEsQ0FBQztJQWxCaUIsb0JBQVMsR0FBdkI7UUFFSSwyQkFBMkI7UUFDM0IsSUFBSSxDQUFDLEdBQUcsQ0FBQyxDQUFDO1FBQ1YsQ0FBQyxFQUFFLENBQUM7UUFDSixDQUFDLEVBQUUsQ0FBQztRQUNKLENBQUMsRUFBRSxDQUFDO1FBQ0osQ0FBQyxFQUFFLENBQUM7UUFDSixDQUFDLEVBQUUsQ0FBQztRQUNKLENBQUMsRUFBRSxDQUFDO1FBQ0osQ0FBQyxFQUFFLENBQUM7UUFDSixDQUFDLEVBQUUsQ0FBQztRQUNKLENBQUMsRUFBRSxDQUFDO1FBQ0oseUJBQXlCO1FBR3pCLE9BQU8sSUFBSSxDQUFDO0lBQ2hCLENBQUM7SUFDTCxpQkFBQztBQUFELENBQUMsQUFwQkQsSUFvQkMifQ==,Y2xhc3MgRGVidWdDbGFzcyB7CgogICAgcHVibGljIHN0YXRpYyBkZWJ1Z0Z1bmMoKSB7CgogICAgICAgIC8vIFN0YXJ0IERlYnVnZ2VyIFRlc3QgQ29kZQogICAgICAgIHZhciBpID0gMDsKICAgICAgICBpKys7CiAgICAgICAgaSsrOwogICAgICAgIGkrKzsKICAgICAgICBpKys7CiAgICAgICAgaSsrOwogICAgICAgIGkrKzsKICAgICAgICBpKys7CiAgICAgICAgaSsrOwogICAgICAgIGkrKzsKICAgICAgICAvLyBFbmQgRGVidWdnZXIgVGVzdCBDb2RlCgoKICAgICAgICByZXR1cm4gdHJ1ZTsKICAgIH0KfQ== diff --git a/tests/baselines/reference/sourceMapValidationWithComments.sourcemap.txt b/tests/baselines/reference/sourceMapValidationWithComments.sourcemap.txt index 0fc3ee6e2bb9d..5f7029d7a6999 100644 --- a/tests/baselines/reference/sourceMapValidationWithComments.sourcemap.txt +++ b/tests/baselines/reference/sourceMapValidationWithComments.sourcemap.txt @@ -8,17 +8,18 @@ sources: sourceMapValidationWithComments.ts emittedFile:sourceMapValidationWithComments.js sourceFile:sourceMapValidationWithComments.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var DebugClass = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function DebugClass() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -46,8 +47,8 @@ sourceFile:sourceMapValidationWithComments.ts > } > 2 > } -1->Emitted(3, 5) Source(21, 1) + SourceIndex(0) -2 >Emitted(3, 6) Source(21, 2) + SourceIndex(0) +1->Emitted(4, 5) Source(21, 1) + SourceIndex(0) +2 >Emitted(4, 6) Source(21, 2) + SourceIndex(0) --- >>> DebugClass.debugFunc = function () { 1->^^^^ @@ -57,9 +58,9 @@ sourceFile:sourceMapValidationWithComments.ts 1-> 2 > debugFunc 3 > -1->Emitted(4, 5) Source(3, 19) + SourceIndex(0) -2 >Emitted(4, 25) Source(3, 28) + SourceIndex(0) -3 >Emitted(4, 28) Source(3, 5) + SourceIndex(0) +1->Emitted(5, 5) Source(3, 19) + SourceIndex(0) +2 >Emitted(5, 25) Source(3, 28) + SourceIndex(0) +3 >Emitted(5, 28) Source(3, 5) + SourceIndex(0) --- >>> // Start Debugger Test Code 1->^^^^^^^^ @@ -68,8 +69,8 @@ sourceFile:sourceMapValidationWithComments.ts > > 2 > // Start Debugger Test Code -1->Emitted(5, 9) Source(5, 9) + SourceIndex(0) -2 >Emitted(5, 36) Source(5, 36) + SourceIndex(0) +1->Emitted(6, 9) Source(5, 9) + SourceIndex(0) +2 >Emitted(6, 36) Source(5, 36) + SourceIndex(0) --- >>> var i = 0; 1 >^^^^^^^^ @@ -85,12 +86,12 @@ sourceFile:sourceMapValidationWithComments.ts 4 > = 5 > 0 6 > ; -1 >Emitted(6, 9) Source(6, 9) + SourceIndex(0) -2 >Emitted(6, 13) Source(6, 13) + SourceIndex(0) -3 >Emitted(6, 14) Source(6, 14) + SourceIndex(0) -4 >Emitted(6, 17) Source(6, 17) + SourceIndex(0) -5 >Emitted(6, 18) Source(6, 18) + SourceIndex(0) -6 >Emitted(6, 19) Source(6, 19) + SourceIndex(0) +1 >Emitted(7, 9) Source(6, 9) + SourceIndex(0) +2 >Emitted(7, 13) Source(6, 13) + SourceIndex(0) +3 >Emitted(7, 14) Source(6, 14) + SourceIndex(0) +4 >Emitted(7, 17) Source(6, 17) + SourceIndex(0) +5 >Emitted(7, 18) Source(6, 18) + SourceIndex(0) +6 >Emitted(7, 19) Source(6, 19) + SourceIndex(0) --- >>> i++; 1 >^^^^^^^^ @@ -103,10 +104,10 @@ sourceFile:sourceMapValidationWithComments.ts 2 > i 3 > ++ 4 > ; -1 >Emitted(7, 9) Source(7, 9) + SourceIndex(0) -2 >Emitted(7, 10) Source(7, 10) + SourceIndex(0) -3 >Emitted(7, 12) Source(7, 12) + SourceIndex(0) -4 >Emitted(7, 13) Source(7, 13) + SourceIndex(0) +1 >Emitted(8, 9) Source(7, 9) + SourceIndex(0) +2 >Emitted(8, 10) Source(7, 10) + SourceIndex(0) +3 >Emitted(8, 12) Source(7, 12) + SourceIndex(0) +4 >Emitted(8, 13) Source(7, 13) + SourceIndex(0) --- >>> i++; 1->^^^^^^^^ @@ -119,10 +120,10 @@ sourceFile:sourceMapValidationWithComments.ts 2 > i 3 > ++ 4 > ; -1->Emitted(8, 9) Source(8, 9) + SourceIndex(0) -2 >Emitted(8, 10) Source(8, 10) + SourceIndex(0) -3 >Emitted(8, 12) Source(8, 12) + SourceIndex(0) -4 >Emitted(8, 13) Source(8, 13) + SourceIndex(0) +1->Emitted(9, 9) Source(8, 9) + SourceIndex(0) +2 >Emitted(9, 10) Source(8, 10) + SourceIndex(0) +3 >Emitted(9, 12) Source(8, 12) + SourceIndex(0) +4 >Emitted(9, 13) Source(8, 13) + SourceIndex(0) --- >>> i++; 1->^^^^^^^^ @@ -135,10 +136,10 @@ sourceFile:sourceMapValidationWithComments.ts 2 > i 3 > ++ 4 > ; -1->Emitted(9, 9) Source(9, 9) + SourceIndex(0) -2 >Emitted(9, 10) Source(9, 10) + SourceIndex(0) -3 >Emitted(9, 12) Source(9, 12) + SourceIndex(0) -4 >Emitted(9, 13) Source(9, 13) + SourceIndex(0) +1->Emitted(10, 9) Source(9, 9) + SourceIndex(0) +2 >Emitted(10, 10) Source(9, 10) + SourceIndex(0) +3 >Emitted(10, 12) Source(9, 12) + SourceIndex(0) +4 >Emitted(10, 13) Source(9, 13) + SourceIndex(0) --- >>> i++; 1->^^^^^^^^ @@ -151,10 +152,10 @@ sourceFile:sourceMapValidationWithComments.ts 2 > i 3 > ++ 4 > ; -1->Emitted(10, 9) Source(10, 9) + SourceIndex(0) -2 >Emitted(10, 10) Source(10, 10) + SourceIndex(0) -3 >Emitted(10, 12) Source(10, 12) + SourceIndex(0) -4 >Emitted(10, 13) Source(10, 13) + SourceIndex(0) +1->Emitted(11, 9) Source(10, 9) + SourceIndex(0) +2 >Emitted(11, 10) Source(10, 10) + SourceIndex(0) +3 >Emitted(11, 12) Source(10, 12) + SourceIndex(0) +4 >Emitted(11, 13) Source(10, 13) + SourceIndex(0) --- >>> i++; 1->^^^^^^^^ @@ -167,10 +168,10 @@ sourceFile:sourceMapValidationWithComments.ts 2 > i 3 > ++ 4 > ; -1->Emitted(11, 9) Source(11, 9) + SourceIndex(0) -2 >Emitted(11, 10) Source(11, 10) + SourceIndex(0) -3 >Emitted(11, 12) Source(11, 12) + SourceIndex(0) -4 >Emitted(11, 13) Source(11, 13) + SourceIndex(0) +1->Emitted(12, 9) Source(11, 9) + SourceIndex(0) +2 >Emitted(12, 10) Source(11, 10) + SourceIndex(0) +3 >Emitted(12, 12) Source(11, 12) + SourceIndex(0) +4 >Emitted(12, 13) Source(11, 13) + SourceIndex(0) --- >>> i++; 1->^^^^^^^^ @@ -183,10 +184,10 @@ sourceFile:sourceMapValidationWithComments.ts 2 > i 3 > ++ 4 > ; -1->Emitted(12, 9) Source(12, 9) + SourceIndex(0) -2 >Emitted(12, 10) Source(12, 10) + SourceIndex(0) -3 >Emitted(12, 12) Source(12, 12) + SourceIndex(0) -4 >Emitted(12, 13) Source(12, 13) + SourceIndex(0) +1->Emitted(13, 9) Source(12, 9) + SourceIndex(0) +2 >Emitted(13, 10) Source(12, 10) + SourceIndex(0) +3 >Emitted(13, 12) Source(12, 12) + SourceIndex(0) +4 >Emitted(13, 13) Source(12, 13) + SourceIndex(0) --- >>> i++; 1->^^^^^^^^ @@ -199,10 +200,10 @@ sourceFile:sourceMapValidationWithComments.ts 2 > i 3 > ++ 4 > ; -1->Emitted(13, 9) Source(13, 9) + SourceIndex(0) -2 >Emitted(13, 10) Source(13, 10) + SourceIndex(0) -3 >Emitted(13, 12) Source(13, 12) + SourceIndex(0) -4 >Emitted(13, 13) Source(13, 13) + SourceIndex(0) +1->Emitted(14, 9) Source(13, 9) + SourceIndex(0) +2 >Emitted(14, 10) Source(13, 10) + SourceIndex(0) +3 >Emitted(14, 12) Source(13, 12) + SourceIndex(0) +4 >Emitted(14, 13) Source(13, 13) + SourceIndex(0) --- >>> i++; 1->^^^^^^^^ @@ -215,10 +216,10 @@ sourceFile:sourceMapValidationWithComments.ts 2 > i 3 > ++ 4 > ; -1->Emitted(14, 9) Source(14, 9) + SourceIndex(0) -2 >Emitted(14, 10) Source(14, 10) + SourceIndex(0) -3 >Emitted(14, 12) Source(14, 12) + SourceIndex(0) -4 >Emitted(14, 13) Source(14, 13) + SourceIndex(0) +1->Emitted(15, 9) Source(14, 9) + SourceIndex(0) +2 >Emitted(15, 10) Source(14, 10) + SourceIndex(0) +3 >Emitted(15, 12) Source(14, 12) + SourceIndex(0) +4 >Emitted(15, 13) Source(14, 13) + SourceIndex(0) --- >>> i++; 1->^^^^^^^^ @@ -231,10 +232,10 @@ sourceFile:sourceMapValidationWithComments.ts 2 > i 3 > ++ 4 > ; -1->Emitted(15, 9) Source(15, 9) + SourceIndex(0) -2 >Emitted(15, 10) Source(15, 10) + SourceIndex(0) -3 >Emitted(15, 12) Source(15, 12) + SourceIndex(0) -4 >Emitted(15, 13) Source(15, 13) + SourceIndex(0) +1->Emitted(16, 9) Source(15, 9) + SourceIndex(0) +2 >Emitted(16, 10) Source(15, 10) + SourceIndex(0) +3 >Emitted(16, 12) Source(15, 12) + SourceIndex(0) +4 >Emitted(16, 13) Source(15, 13) + SourceIndex(0) --- >>> // End Debugger Test Code 1->^^^^^^^^ @@ -242,8 +243,8 @@ sourceFile:sourceMapValidationWithComments.ts 1-> > 2 > // End Debugger Test Code -1->Emitted(16, 9) Source(16, 9) + SourceIndex(0) -2 >Emitted(16, 34) Source(16, 34) + SourceIndex(0) +1->Emitted(17, 9) Source(16, 9) + SourceIndex(0) +2 >Emitted(17, 34) Source(16, 34) + SourceIndex(0) --- >>> return true; 1 >^^^^^^^^ @@ -257,10 +258,10 @@ sourceFile:sourceMapValidationWithComments.ts 2 > return 3 > true 4 > ; -1 >Emitted(17, 9) Source(19, 9) + SourceIndex(0) -2 >Emitted(17, 16) Source(19, 16) + SourceIndex(0) -3 >Emitted(17, 20) Source(19, 20) + SourceIndex(0) -4 >Emitted(17, 21) Source(19, 21) + SourceIndex(0) +1 >Emitted(18, 9) Source(19, 9) + SourceIndex(0) +2 >Emitted(18, 16) Source(19, 16) + SourceIndex(0) +3 >Emitted(18, 20) Source(19, 20) + SourceIndex(0) +4 >Emitted(18, 21) Source(19, 21) + SourceIndex(0) --- >>> }; 1 >^^^^ @@ -269,8 +270,8 @@ sourceFile:sourceMapValidationWithComments.ts 1 > > 2 > } -1 >Emitted(18, 5) Source(20, 5) + SourceIndex(0) -2 >Emitted(18, 6) Source(20, 6) + SourceIndex(0) +1 >Emitted(19, 5) Source(20, 5) + SourceIndex(0) +2 >Emitted(19, 6) Source(20, 6) + SourceIndex(0) --- >>> return DebugClass; 1->^^^^ @@ -278,8 +279,8 @@ sourceFile:sourceMapValidationWithComments.ts 1-> > 2 > } -1->Emitted(19, 5) Source(21, 1) + SourceIndex(0) -2 >Emitted(19, 22) Source(21, 2) + SourceIndex(0) +1->Emitted(20, 5) Source(21, 1) + SourceIndex(0) +2 >Emitted(20, 22) Source(21, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -311,9 +312,9 @@ sourceFile:sourceMapValidationWithComments.ts > return true; > } > } -1 >Emitted(20, 1) Source(21, 1) + SourceIndex(0) -2 >Emitted(20, 2) Source(21, 2) + SourceIndex(0) -3 >Emitted(20, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(20, 6) Source(21, 2) + SourceIndex(0) +1 >Emitted(21, 1) Source(21, 1) + SourceIndex(0) +2 >Emitted(21, 2) Source(21, 2) + SourceIndex(0) +3 >Emitted(21, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(21, 6) Source(21, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourceMapValidationWithComments.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.js b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.js index db4ab232a9560..86fda97aeda67 100644 --- a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.js +++ b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.js @@ -12,6 +12,7 @@ class d { //// [fooResult.js] +"use strict"; // Note in the out result we are using same folder name only different in casing // Since this is case sensitive, the folders are different and hence the relative paths in sourcemap shouldn't be just app.ts or app2.ts var c = /** @class */ (function () { diff --git a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.js.map b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.js.map index f34c47f221010..60af32b16e636 100644 --- a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.js.map +++ b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.js.map @@ -1,2 +1,2 @@ //// [fooResult.js.map] -{"version":3,"file":"fooResult.js","sourceRoot":"","sources":["../testFiles/app.ts","../testFiles/app2.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,wIAAwI;AACxI;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC;ACHD;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file +{"version":3,"file":"fooResult.js","sourceRoot":"","sources":["../testFiles/app.ts","../testFiles/app2.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,wIAAwI;AACxI;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC;ACHD;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.sourcemap.txt b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.sourcemap.txt index 459fc909497eb..f8d60c7550c73 100644 --- a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.sourcemap.txt +++ b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNames.sourcemap.txt @@ -8,14 +8,15 @@ sources: ../testFiles/app.ts,../testFiles/app2.ts emittedFile:testfiles/fooResult.js sourceFile:../testFiles/app.ts ------------------------------------------------------------------- +>>>"use strict"; >>>// Note in the out result we are using same folder name only different in casing 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > 2 >// Note in the out result we are using same folder name only different in casing -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 81) Source(1, 81) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 81) Source(1, 81) + SourceIndex(0) --- >>>// Since this is case sensitive, the folders are different and hence the relative paths in sourcemap shouldn't be just app.ts or app2.ts 1-> @@ -23,21 +24,21 @@ sourceFile:../testFiles/app.ts 1-> > 2 >// Since this is case sensitive, the folders are different and hence the relative paths in sourcemap shouldn't be just app.ts or app2.ts -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 137) Source(2, 137) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 137) Source(2, 137) + SourceIndex(0) --- >>>var c = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > > -1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) +1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) --- >>> function c() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(4, 5) Source(3, 1) + SourceIndex(0) +1->Emitted(5, 5) Source(3, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -46,16 +47,16 @@ sourceFile:../testFiles/app.ts 1->class c { > 2 > } -1->Emitted(5, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(5, 6) Source(4, 2) + SourceIndex(0) +1->Emitted(6, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(6, 6) Source(4, 2) + SourceIndex(0) --- >>> return c; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(6, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(6, 13) Source(4, 2) + SourceIndex(0) +1->Emitted(7, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(7, 13) Source(4, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -68,10 +69,10 @@ sourceFile:../testFiles/app.ts 3 > 4 > class c { > } -1 >Emitted(7, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(4, 2) + SourceIndex(0) -3 >Emitted(7, 2) Source(3, 1) + SourceIndex(0) -4 >Emitted(7, 6) Source(4, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(4, 2) + SourceIndex(0) +3 >Emitted(8, 2) Source(3, 1) + SourceIndex(0) +4 >Emitted(8, 6) Source(4, 2) + SourceIndex(0) --- ------------------------------------------------------------------- emittedFile:testfiles/fooResult.js @@ -81,13 +82,13 @@ sourceFile:../testFiles/app2.ts 1-> 2 >^^^^^^^^^^^^^^^^^^^-> 1-> -1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +1->Emitted(9, 1) Source(1, 1) + SourceIndex(1) --- >>> function d() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(9, 5) Source(1, 1) + SourceIndex(1) +1->Emitted(10, 5) Source(1, 1) + SourceIndex(1) --- >>> } 1->^^^^ @@ -96,16 +97,16 @@ sourceFile:../testFiles/app2.ts 1->class d { > 2 > } -1->Emitted(10, 5) Source(2, 1) + SourceIndex(1) -2 >Emitted(10, 6) Source(2, 2) + SourceIndex(1) +1->Emitted(11, 5) Source(2, 1) + SourceIndex(1) +2 >Emitted(11, 6) Source(2, 2) + SourceIndex(1) --- >>> return d; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(11, 5) Source(2, 1) + SourceIndex(1) -2 >Emitted(11, 13) Source(2, 2) + SourceIndex(1) +1->Emitted(12, 5) Source(2, 1) + SourceIndex(1) +2 >Emitted(12, 13) Source(2, 2) + SourceIndex(1) --- >>>}()); 1 > @@ -118,9 +119,9 @@ sourceFile:../testFiles/app2.ts 3 > 4 > class d { > } -1 >Emitted(12, 1) Source(2, 1) + SourceIndex(1) -2 >Emitted(12, 2) Source(2, 2) + SourceIndex(1) -3 >Emitted(12, 2) Source(1, 1) + SourceIndex(1) -4 >Emitted(12, 6) Source(2, 2) + SourceIndex(1) +1 >Emitted(13, 1) Source(2, 1) + SourceIndex(1) +2 >Emitted(13, 2) Source(2, 2) + SourceIndex(1) +3 >Emitted(13, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(13, 6) Source(2, 2) + SourceIndex(1) --- >>>//# sourceMappingURL=fooResult.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.js b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.js index 490f38acf4452..add44e6937365 100644 --- a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.js +++ b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.js @@ -11,6 +11,7 @@ class d { } //// [app.js] +"use strict"; // Note in the out result we are using same folder name only different in casing // Since this is case sensitive, the folders are different and hence the relative paths in sourcemap shouldn't be just app.ts or app2.ts var c = /** @class */ (function () { @@ -20,6 +21,7 @@ var c = /** @class */ (function () { }()); //# sourceMappingURL=app.js.map //// [app2.js] +"use strict"; var d = /** @class */ (function () { function d() { } diff --git a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.js.map b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.js.map index b517b5694b0ae..0131fefe4c5f4 100644 --- a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.js.map +++ b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.js.map @@ -1,4 +1,4 @@ //// [app.js.map] -{"version":3,"file":"app.js","sourceRoot":"","sources":["../testFiles/app.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,wIAAwI;AACxI;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} +{"version":3,"file":"app.js","sourceRoot":"","sources":["../testFiles/app.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,wIAAwI;AACxI;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} //// [app2.js.map] -{"version":3,"file":"app2.js","sourceRoot":"","sources":["../testFiles/app2.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file +{"version":3,"file":"app2.js","sourceRoot":"","sources":["../testFiles/app2.ts"],"names":[],"mappings":";AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.sourcemap.txt b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.sourcemap.txt index afac9ba81f016..6344fabab29c7 100644 --- a/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.sourcemap.txt +++ b/tests/baselines/reference/sourceMapWithCaseSensitiveFileNamesAndOutDir.sourcemap.txt @@ -8,14 +8,15 @@ sources: ../testFiles/app.ts emittedFile:testfiles/app.js sourceFile:../testFiles/app.ts ------------------------------------------------------------------- +>>>"use strict"; >>>// Note in the out result we are using same folder name only different in casing 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > 2 >// Note in the out result we are using same folder name only different in casing -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 81) Source(1, 81) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 81) Source(1, 81) + SourceIndex(0) --- >>>// Since this is case sensitive, the folders are different and hence the relative paths in sourcemap shouldn't be just app.ts or app2.ts 1-> @@ -23,21 +24,21 @@ sourceFile:../testFiles/app.ts 1-> > 2 >// Since this is case sensitive, the folders are different and hence the relative paths in sourcemap shouldn't be just app.ts or app2.ts -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 137) Source(2, 137) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 137) Source(2, 137) + SourceIndex(0) --- >>>var c = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > > -1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) +1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) --- >>> function c() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(4, 5) Source(3, 1) + SourceIndex(0) +1->Emitted(5, 5) Source(3, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -46,16 +47,16 @@ sourceFile:../testFiles/app.ts 1->class c { > 2 > } -1->Emitted(5, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(5, 6) Source(4, 2) + SourceIndex(0) +1->Emitted(6, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(6, 6) Source(4, 2) + SourceIndex(0) --- >>> return c; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(6, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(6, 13) Source(4, 2) + SourceIndex(0) +1->Emitted(7, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(7, 13) Source(4, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -68,10 +69,10 @@ sourceFile:../testFiles/app.ts 3 > 4 > class c { > } -1 >Emitted(7, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(4, 2) + SourceIndex(0) -3 >Emitted(7, 2) Source(3, 1) + SourceIndex(0) -4 >Emitted(7, 6) Source(4, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(4, 2) + SourceIndex(0) +3 >Emitted(8, 2) Source(3, 1) + SourceIndex(0) +4 >Emitted(8, 6) Source(4, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=app.js.map=================================================================== JsFile: app2.js @@ -83,17 +84,18 @@ sources: ../testFiles/app2.ts emittedFile:testfiles/app2.js sourceFile:../testFiles/app2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var d = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function d() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -102,16 +104,16 @@ sourceFile:../testFiles/app2.ts 1->class d { > 2 > } -1->Emitted(3, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(3, 6) Source(2, 2) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(4, 6) Source(2, 2) + SourceIndex(0) --- >>> return d; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(4, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(4, 13) Source(2, 2) + SourceIndex(0) +1->Emitted(5, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(5, 13) Source(2, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -124,9 +126,9 @@ sourceFile:../testFiles/app2.ts 3 > 4 > class d { > } -1 >Emitted(5, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(2, 2) + SourceIndex(0) -3 >Emitted(5, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(5, 6) Source(2, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(2, 2) + SourceIndex(0) +3 >Emitted(6, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(6, 6) Source(2, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=app2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.js b/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.js index 25057b2c8afc1..a6ef352340e32 100644 --- a/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.js +++ b/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.js @@ -20,6 +20,7 @@ var y = x; //// [a.js] +"use strict"; /*-------------------------------------------------------------------------- Copyright ---------------------------------------------------------------------------*/ diff --git a/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.js.map b/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.js.map index 5fa292f765959..55943af858f65 100644 --- a/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.js.map +++ b/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.js.map @@ -1,3 +1,3 @@ //// [a.js.map] -{"version":3,"file":"a.js","sourceRoot":"","sources":["a.ts","b.ts"],"names":[],"mappings":"AAAA;;6EAE6E;AAE7E,IAAI,CAAC,GAAG;IACJ,CAAC,EAAE,EAAE;IACL,CAAC,EAAE,EAAE;CACR,CAAC;ACPF;;6EAE6E;AAE7E,2BAA2B;AAC3B,IAAI,CAAC,GAAG,CAAC,CAAC"} -//// https://sokra.github.io/source-map-visualization#base64,LyotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQ0KQ29weXJpZ2h0DQotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0qLw0KdmFyIHggPSB7DQogICAgYTogMTAsDQogICAgYjogMjANCn07DQovKi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tDQpDb3B5cmlnaHQNCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSovDQovLy88cmVmZXJlbmNlIHBhdGg9ImEudHMiLz4NCnZhciB5ID0geDsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWEuanMubWFw,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImEudHMiLCJiLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3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LS0tLS0tLS0tLSovCgp2YXIgeCA9IHsKICAgIGE6IDEwLAogICAgYjogMjAKfTsK,LyotLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLQpDb3B5cmlnaHQgCi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLSovCgovLy88cmVmZXJlbmNlIHBhdGg9ImEudHMiLz4KdmFyIHkgPSB4Owo= diff --git a/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.sourcemap.txt b/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.sourcemap.txt index 23bdae32f119f..4b776afc7ccbd 100644 --- a/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.sourcemap.txt +++ b/tests/baselines/reference/sourceMapWithMultipleFilesWithCopyright.sourcemap.txt @@ -8,11 +8,12 @@ sources: a.ts,b.ts emittedFile:a.js sourceFile:a.ts ------------------------------------------------------------------- +>>>"use strict"; >>>/*-------------------------------------------------------------------------- 1 > 2 >^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>>Copyright >>>---------------------------------------------------------------------------*/ @@ -20,7 +21,7 @@ sourceFile:a.ts 1->/*-------------------------------------------------------------------------- >Copyright >---------------------------------------------------------------------------*/ -1->Emitted(3, 78) Source(3, 78) + SourceIndex(0) +1->Emitted(4, 78) Source(3, 78) + SourceIndex(0) --- >>>var x = { 1 > @@ -34,10 +35,10 @@ sourceFile:a.ts 2 >var 3 > x 4 > = -1 >Emitted(4, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(4, 5) Source(5, 5) + SourceIndex(0) -3 >Emitted(4, 6) Source(5, 6) + SourceIndex(0) -4 >Emitted(4, 9) Source(5, 9) + SourceIndex(0) +1 >Emitted(5, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(5, 5) Source(5, 5) + SourceIndex(0) +3 >Emitted(5, 6) Source(5, 6) + SourceIndex(0) +4 >Emitted(5, 9) Source(5, 9) + SourceIndex(0) --- >>> a: 10, 1->^^^^ @@ -50,10 +51,10 @@ sourceFile:a.ts 2 > a 3 > : 4 > 10 -1->Emitted(5, 5) Source(6, 5) + SourceIndex(0) -2 >Emitted(5, 6) Source(6, 6) + SourceIndex(0) -3 >Emitted(5, 8) Source(6, 8) + SourceIndex(0) -4 >Emitted(5, 10) Source(6, 10) + SourceIndex(0) +1->Emitted(6, 5) Source(6, 5) + SourceIndex(0) +2 >Emitted(6, 6) Source(6, 6) + SourceIndex(0) +3 >Emitted(6, 8) Source(6, 8) + SourceIndex(0) +4 >Emitted(6, 10) Source(6, 10) + SourceIndex(0) --- >>> b: 20 1->^^^^ @@ -65,10 +66,10 @@ sourceFile:a.ts 2 > b 3 > : 4 > 20 -1->Emitted(6, 5) Source(7, 5) + SourceIndex(0) -2 >Emitted(6, 6) Source(7, 6) + SourceIndex(0) -3 >Emitted(6, 8) Source(7, 8) + SourceIndex(0) -4 >Emitted(6, 10) Source(7, 10) + SourceIndex(0) +1->Emitted(7, 5) Source(7, 5) + SourceIndex(0) +2 >Emitted(7, 6) Source(7, 6) + SourceIndex(0) +3 >Emitted(7, 8) Source(7, 8) + SourceIndex(0) +4 >Emitted(7, 10) Source(7, 10) + SourceIndex(0) --- >>>}; 1 >^ @@ -77,8 +78,8 @@ sourceFile:a.ts 1 > >} 2 > ; -1 >Emitted(7, 2) Source(8, 2) + SourceIndex(0) -2 >Emitted(7, 3) Source(8, 3) + SourceIndex(0) +1 >Emitted(8, 2) Source(8, 2) + SourceIndex(0) +2 >Emitted(8, 3) Source(8, 3) + SourceIndex(0) --- ------------------------------------------------------------------- emittedFile:a.js @@ -88,7 +89,7 @@ sourceFile:b.ts 1-> 2 >^^^^^^^^^^-> 1-> -1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +1->Emitted(9, 1) Source(1, 1) + SourceIndex(1) --- >>>Copyright >>>---------------------------------------------------------------------------*/ @@ -96,7 +97,7 @@ sourceFile:b.ts 1->/*-------------------------------------------------------------------------- >Copyright >---------------------------------------------------------------------------*/ -1->Emitted(10, 78) Source(3, 78) + SourceIndex(1) +1->Emitted(11, 78) Source(3, 78) + SourceIndex(1) --- >>>/// 1 > @@ -105,8 +106,8 @@ sourceFile:b.ts > > 2 >/// -1 >Emitted(11, 1) Source(5, 1) + SourceIndex(1) -2 >Emitted(11, 28) Source(5, 28) + SourceIndex(1) +1 >Emitted(12, 1) Source(5, 1) + SourceIndex(1) +2 >Emitted(12, 28) Source(5, 28) + SourceIndex(1) --- >>>var y = x; 1 > @@ -123,11 +124,11 @@ sourceFile:b.ts 4 > = 5 > x 6 > ; -1 >Emitted(12, 1) Source(6, 1) + SourceIndex(1) -2 >Emitted(12, 5) Source(6, 5) + SourceIndex(1) -3 >Emitted(12, 6) Source(6, 6) + SourceIndex(1) -4 >Emitted(12, 9) Source(6, 9) + SourceIndex(1) -5 >Emitted(12, 10) Source(6, 10) + SourceIndex(1) -6 >Emitted(12, 11) Source(6, 11) + SourceIndex(1) +1 >Emitted(13, 1) Source(6, 1) + SourceIndex(1) +2 >Emitted(13, 5) Source(6, 5) + SourceIndex(1) +3 >Emitted(13, 6) Source(6, 6) + SourceIndex(1) +4 >Emitted(13, 9) Source(6, 9) + SourceIndex(1) +5 >Emitted(13, 10) Source(6, 10) + SourceIndex(1) +6 >Emitted(13, 11) Source(6, 11) + SourceIndex(1) --- >>>//# sourceMappingURL=a.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.js b/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.js index 8e4410fd93a5c..f9ba09e4f21c7 100644 --- a/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.js +++ b/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.js @@ -19,6 +19,7 @@ namespace m1 { //// [fooResult.js] +"use strict"; var M; (function (M) { M.X = 1; diff --git a/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.js.map b/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.js.map index be29eaf1b1f53..be37002676b5a 100644 --- a/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.js.map +++ b/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.js.map @@ -1,3 +1,3 @@ //// [fooResult.js.map] -{"version":3,"file":"fooResult.js","sourceRoot":"","sources":["a.ts","b.ts"],"names":[],"mappings":"AAAA,IAAU,CAAC,CAEV;AAFD,WAAU,CAAC;IACI,GAAC,GAAG,CAAC,CAAC;AACrB,CAAC,EAFS,CAAC,KAAD,CAAC,QAEV;ACFD,IAAU,EAAE,CAGX;AAHD,WAAU,EAAE;IACR;QAAA;QACA,CAAC;QAAD,SAAC;IAAD,CAAC,AADD,IACC;IADY,KAAE,KACd,CAAA;AACL,CAAC,EAHS,EAAE,KAAF,EAAE,QAGX"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIE07DQooZnVuY3Rpb24gKE0pIHsNCiAgICBNLlggPSAxOw0KfSkoTSB8fCAoTSA9IHt9KSk7DQp2YXIgbTE7DQooZnVuY3Rpb24gKG0xKSB7DQogICAgdmFyIGMxID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgICAgICBmdW5jdGlvbiBjMSgpIHsNCiAgICAgICAgfQ0KICAgICAgICByZXR1cm4gYzE7DQogICAgfSgpKTsNCiAgICBtMS5jMSA9IGMxOw0KfSkobTEgfHwgKG0xID0ge30pKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWZvb1Jlc3VsdC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vUmVzdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYS50cyIsImIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsSUFBVSxDQUFDLENBRVY7QUFGRCxXQUFVLENBQUM7SUFDSSxHQUFDLEdBQUcsQ0FBQyxDQUFDO0FBQ3JCLENBQUMsRUFGUyxDQUFDLEtBQUQsQ0FBQyxRQUVWO0FDRkQsSUFBVSxFQUFFLENBR1g7QUFIRCxXQUFVLEVBQUU7SUFDUjtRQUFBO1FBQ0EsQ0FBQztRQUFELFNBQUM7SUFBRCxDQUFDLEFBREQsSUFDQztJQURZLEtBQUUsS0FDZCxDQUFBO0FBQ0wsQ0FBQyxFQUhTLEVBQUUsS0FBRixFQUFFLFFBR1gifQ==,bmFtZXNwYWNlIE0gewogICAgZXhwb3J0IHZhciBYID0gMTsKfQppbnRlcmZhY2UgTmF2aWdhdG9yIHsKICAgIGdldEdhbWVwYWRzKGZ1bmM/OiBhbnkpOiBhbnk7CiAgICB3ZWJraXRHZXRHYW1lcGFkcyhmdW5jPzogYW55KTogYW55CiAgICBtc0dldEdhbWVwYWRzKGZ1bmM/OiBhbnkpOiBhbnk7CiAgICB3ZWJraXRHYW1lcGFkcyhmdW5jPzogYW55KTogYW55Owp9Cg==,bmFtZXNwYWNlIG0xIHsKICAgIGV4cG9ydCBjbGFzcyBjMSB7CiAgICB9Cn0K +{"version":3,"file":"fooResult.js","sourceRoot":"","sources":["a.ts","b.ts"],"names":[],"mappings":";AAAA,IAAU,CAAC,CAEV;AAFD,WAAU,CAAC;IACI,GAAC,GAAG,CAAC,CAAC;AACrB,CAAC,EAFS,CAAC,KAAD,CAAC,QAEV;ACFD,IAAU,EAAE,CAGX;AAHD,WAAU,EAAE;IACR;QAAA;QACA,CAAC;QAAD,SAAC;IAAD,CAAC,AADD,IACC;IADY,KAAE,KACd,CAAA;AACL,CAAC,EAHS,EAAE,KAAF,EAAE,QAGX"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSB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HYW1lcGFkcyhmdW5jPzogYW55KTogYW55Owp9Cg==,bmFtZXNwYWNlIG0xIHsKICAgIGV4cG9ydCBjbGFzcyBjMSB7CiAgICB9Cn0K diff --git a/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.sourcemap.txt b/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.sourcemap.txt index 90873117587d3..df21fc7133e0b 100644 --- a/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.sourcemap.txt +++ b/tests/baselines/reference/sourceMapWithMultipleFilesWithFileEndingWithInterface.sourcemap.txt @@ -8,6 +8,7 @@ sources: a.ts,b.ts emittedFile:fooResult.js sourceFile:a.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var M; 1 > 2 >^^^^ @@ -20,10 +21,10 @@ sourceFile:a.ts 4 > { > export var X = 1; > } -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 11) + SourceIndex(0) -3 >Emitted(1, 6) Source(1, 12) + SourceIndex(0) -4 >Emitted(1, 7) Source(3, 2) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 11) + SourceIndex(0) +3 >Emitted(2, 6) Source(1, 12) + SourceIndex(0) +4 >Emitted(2, 7) Source(3, 2) + SourceIndex(0) --- >>>(function (M) { 1-> @@ -33,9 +34,9 @@ sourceFile:a.ts 1-> 2 >namespace 3 > M -1->Emitted(2, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(2, 12) Source(1, 11) + SourceIndex(0) -3 >Emitted(2, 13) Source(1, 12) + SourceIndex(0) +1->Emitted(3, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(3, 12) Source(1, 11) + SourceIndex(0) +3 >Emitted(3, 13) Source(1, 12) + SourceIndex(0) --- >>> M.X = 1; 1->^^^^ @@ -50,11 +51,11 @@ sourceFile:a.ts 3 > = 4 > 1 5 > ; -1->Emitted(3, 5) Source(2, 16) + SourceIndex(0) -2 >Emitted(3, 8) Source(2, 17) + SourceIndex(0) -3 >Emitted(3, 11) Source(2, 20) + SourceIndex(0) -4 >Emitted(3, 12) Source(2, 21) + SourceIndex(0) -5 >Emitted(3, 13) Source(2, 22) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 16) + SourceIndex(0) +2 >Emitted(4, 8) Source(2, 17) + SourceIndex(0) +3 >Emitted(4, 11) Source(2, 20) + SourceIndex(0) +4 >Emitted(4, 12) Source(2, 21) + SourceIndex(0) +5 >Emitted(4, 13) Source(2, 22) + SourceIndex(0) --- >>>})(M || (M = {})); 1-> @@ -74,13 +75,13 @@ sourceFile:a.ts 7 > { > export var X = 1; > } -1->Emitted(4, 1) Source(3, 1) + SourceIndex(0) -2 >Emitted(4, 2) Source(3, 2) + SourceIndex(0) -3 >Emitted(4, 4) Source(1, 11) + SourceIndex(0) -4 >Emitted(4, 5) Source(1, 12) + SourceIndex(0) -5 >Emitted(4, 10) Source(1, 11) + SourceIndex(0) -6 >Emitted(4, 11) Source(1, 12) + SourceIndex(0) -7 >Emitted(4, 19) Source(3, 2) + SourceIndex(0) +1->Emitted(5, 1) Source(3, 1) + SourceIndex(0) +2 >Emitted(5, 2) Source(3, 2) + SourceIndex(0) +3 >Emitted(5, 4) Source(1, 11) + SourceIndex(0) +4 >Emitted(5, 5) Source(1, 12) + SourceIndex(0) +5 >Emitted(5, 10) Source(1, 11) + SourceIndex(0) +6 >Emitted(5, 11) Source(1, 12) + SourceIndex(0) +7 >Emitted(5, 19) Source(3, 2) + SourceIndex(0) --- ------------------------------------------------------------------- emittedFile:fooResult.js @@ -99,10 +100,10 @@ sourceFile:b.ts > export class c1 { > } > } -1 >Emitted(5, 1) Source(1, 1) + SourceIndex(1) -2 >Emitted(5, 5) Source(1, 11) + SourceIndex(1) -3 >Emitted(5, 7) Source(1, 13) + SourceIndex(1) -4 >Emitted(5, 8) Source(4, 2) + SourceIndex(1) +1 >Emitted(6, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(6, 5) Source(1, 11) + SourceIndex(1) +3 >Emitted(6, 7) Source(1, 13) + SourceIndex(1) +4 >Emitted(6, 8) Source(4, 2) + SourceIndex(1) --- >>>(function (m1) { 1-> @@ -112,22 +113,22 @@ sourceFile:b.ts 1-> 2 >namespace 3 > m1 -1->Emitted(6, 1) Source(1, 1) + SourceIndex(1) -2 >Emitted(6, 12) Source(1, 11) + SourceIndex(1) -3 >Emitted(6, 14) Source(1, 13) + SourceIndex(1) +1->Emitted(7, 1) Source(1, 1) + SourceIndex(1) +2 >Emitted(7, 12) Source(1, 11) + SourceIndex(1) +3 >Emitted(7, 14) Source(1, 13) + SourceIndex(1) --- >>> var c1 = /** @class */ (function () { 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^^^^-> 1-> { > -1->Emitted(7, 5) Source(2, 5) + SourceIndex(1) +1->Emitted(8, 5) Source(2, 5) + SourceIndex(1) --- >>> function c1() { 1->^^^^^^^^ 2 > ^^-> 1-> -1->Emitted(8, 9) Source(2, 5) + SourceIndex(1) +1->Emitted(9, 9) Source(2, 5) + SourceIndex(1) --- >>> } 1->^^^^^^^^ @@ -136,16 +137,16 @@ sourceFile:b.ts 1->export class c1 { > 2 > } -1->Emitted(9, 9) Source(3, 5) + SourceIndex(1) -2 >Emitted(9, 10) Source(3, 6) + SourceIndex(1) +1->Emitted(10, 9) Source(3, 5) + SourceIndex(1) +2 >Emitted(10, 10) Source(3, 6) + SourceIndex(1) --- >>> return c1; 1->^^^^^^^^ 2 > ^^^^^^^^^ 1-> 2 > } -1->Emitted(10, 9) Source(3, 5) + SourceIndex(1) -2 >Emitted(10, 18) Source(3, 6) + SourceIndex(1) +1->Emitted(11, 9) Source(3, 5) + SourceIndex(1) +2 >Emitted(11, 18) Source(3, 6) + SourceIndex(1) --- >>> }()); 1 >^^^^ @@ -158,10 +159,10 @@ sourceFile:b.ts 3 > 4 > export class c1 { > } -1 >Emitted(11, 5) Source(3, 5) + SourceIndex(1) -2 >Emitted(11, 6) Source(3, 6) + SourceIndex(1) -3 >Emitted(11, 6) Source(2, 5) + SourceIndex(1) -4 >Emitted(11, 10) Source(3, 6) + SourceIndex(1) +1 >Emitted(12, 5) Source(3, 5) + SourceIndex(1) +2 >Emitted(12, 6) Source(3, 6) + SourceIndex(1) +3 >Emitted(12, 6) Source(2, 5) + SourceIndex(1) +4 >Emitted(12, 10) Source(3, 6) + SourceIndex(1) --- >>> m1.c1 = c1; 1->^^^^ @@ -174,10 +175,10 @@ sourceFile:b.ts 3 > { > } 4 > -1->Emitted(12, 5) Source(2, 18) + SourceIndex(1) -2 >Emitted(12, 10) Source(2, 20) + SourceIndex(1) -3 >Emitted(12, 15) Source(3, 6) + SourceIndex(1) -4 >Emitted(12, 16) Source(3, 6) + SourceIndex(1) +1->Emitted(13, 5) Source(2, 18) + SourceIndex(1) +2 >Emitted(13, 10) Source(2, 20) + SourceIndex(1) +3 >Emitted(13, 15) Source(3, 6) + SourceIndex(1) +4 >Emitted(13, 16) Source(3, 6) + SourceIndex(1) --- >>>})(m1 || (m1 = {})); 1-> @@ -199,12 +200,12 @@ sourceFile:b.ts > export class c1 { > } > } -1->Emitted(13, 1) Source(4, 1) + SourceIndex(1) -2 >Emitted(13, 2) Source(4, 2) + SourceIndex(1) -3 >Emitted(13, 4) Source(1, 11) + SourceIndex(1) -4 >Emitted(13, 6) Source(1, 13) + SourceIndex(1) -5 >Emitted(13, 11) Source(1, 11) + SourceIndex(1) -6 >Emitted(13, 13) Source(1, 13) + SourceIndex(1) -7 >Emitted(13, 21) Source(4, 2) + SourceIndex(1) +1->Emitted(14, 1) Source(4, 1) + SourceIndex(1) +2 >Emitted(14, 2) Source(4, 2) + SourceIndex(1) +3 >Emitted(14, 4) Source(1, 11) + SourceIndex(1) +4 >Emitted(14, 6) Source(1, 13) + SourceIndex(1) +5 >Emitted(14, 11) Source(1, 11) + SourceIndex(1) +6 >Emitted(14, 13) Source(1, 13) + SourceIndex(1) +7 >Emitted(14, 21) Source(4, 2) + SourceIndex(1) --- >>>//# sourceMappingURL=fooResult.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.js b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.js index 950c697a59096..d18c8027c5ecb 100644 --- a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.js +++ b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.js @@ -12,6 +12,7 @@ class d { //// [fooResult.js] +"use strict"; // Note in the out result we are using same folder name only different in casing // Since this is non case sensitive, the relative paths should be just app.ts and app2.ts in the sourcemap var c = /** @class */ (function () { diff --git a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.js.map b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.js.map index 0ad733be0bd55..1de56167123ad 100644 --- a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.js.map +++ b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.js.map @@ -1,3 +1,3 @@ //// [fooResult.js.map] -{"version":3,"file":"fooResult.js","sourceRoot":"","sources":["app.ts","app2.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,0GAA0G;AAC1G;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC;ACHD;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} -//// https://sokra.github.io/source-map-visualization#base64,Ly8gTm90ZSBpbiB0aGUgb3V0IHJlc3VsdCB3ZSBhcmUgdXNpbmcgc2FtZSBmb2xkZXIgbmFtZSBvbmx5IGRpZmZlcmVudCBpbiBjYXNpbmcNCi8vIFNpbmNlIHRoaXMgaXMgbm9uIGNhc2Ugc2Vuc2l0aXZlLCB0aGUgcmVsYXRpdmUgcGF0aHMgc2hvdWxkIGJlIGp1c3QgYXBwLnRzIGFuZCBhcHAyLnRzIGluIHRoZSBzb3VyY2VtYXANCnZhciBjID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgIGZ1bmN0aW9uIGMoKSB7DQogICAgfQ0KICAgIHJldHVybiBjOw0KfSgpKTsNCnZhciBkID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgIGZ1bmN0aW9uIGQoKSB7DQogICAgfQ0KICAgIHJldHVybiBkOw0KfSgpKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWZvb1Jlc3VsdC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZm9vUmVzdWx0LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXBwLnRzIiwiYXBwMi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxnRkFBZ0Y7QUFDaEYsMEdBQTBHO0FBQzFHO0lBQUE7SUFDQSxDQUFDO0lBQUQsUUFBQztBQUFELENBQUMsQUFERCxJQUNDO0FDSEQ7SUFBQTtJQUNBLENBQUM7SUFBRCxRQUFDO0FBQUQsQ0FBQyxBQURELElBQ0MifQ==,Ly8gTm90ZSBpbiB0aGUgb3V0IHJlc3VsdCB3ZSBhcmUgdXNpbmcgc2FtZSBmb2xkZXIgbmFtZSBvbmx5IGRpZmZlcmVudCBpbiBjYXNpbmcKLy8gU2luY2UgdGhpcyBpcyBub24gY2FzZSBzZW5zaXRpdmUsIHRoZSByZWxhdGl2ZSBwYXRocyBzaG91bGQgYmUganVzdCBhcHAudHMgYW5kIGFwcDIudHMgaW4gdGhlIHNvdXJjZW1hcApjbGFzcyBjIHsKfQo=,Y2xhc3MgZCB7Cn0K +{"version":3,"file":"fooResult.js","sourceRoot":"","sources":["app.ts","app2.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0GAA0G;AAC1G;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC;ACHD;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} +//// https://sokra.github.io/source-map-visualization#base64,InVz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zaG91bGQgYmUganVzdCBhcHAudHMgYW5kIGFwcDIudHMgaW4gdGhlIHNvdXJjZW1hcApjbGFzcyBjIHsKfQo=,Y2xhc3MgZCB7Cn0K diff --git a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.sourcemap.txt b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.sourcemap.txt index 084d9b5ad9987..aa4cb4743ffb4 100644 --- a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.sourcemap.txt +++ b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNames.sourcemap.txt @@ -8,14 +8,15 @@ sources: app.ts,app2.ts emittedFile:testfiles/fooResult.js sourceFile:app.ts ------------------------------------------------------------------- +>>>"use strict"; >>>// Note in the out result we are using same folder name only different in casing 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > 2 >// Note in the out result we are using same folder name only different in casing -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 81) Source(1, 81) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 81) Source(1, 81) + SourceIndex(0) --- >>>// Since this is non case sensitive, the relative paths should be just app.ts and app2.ts in the sourcemap 1-> @@ -23,21 +24,21 @@ sourceFile:app.ts 1-> > 2 >// Since this is non case sensitive, the relative paths should be just app.ts and app2.ts in the sourcemap -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 107) Source(2, 107) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 107) Source(2, 107) + SourceIndex(0) --- >>>var c = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > > -1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) +1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) --- >>> function c() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(4, 5) Source(3, 1) + SourceIndex(0) +1->Emitted(5, 5) Source(3, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -46,16 +47,16 @@ sourceFile:app.ts 1->class c { > 2 > } -1->Emitted(5, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(5, 6) Source(4, 2) + SourceIndex(0) +1->Emitted(6, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(6, 6) Source(4, 2) + SourceIndex(0) --- >>> return c; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(6, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(6, 13) Source(4, 2) + SourceIndex(0) +1->Emitted(7, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(7, 13) Source(4, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -68,10 +69,10 @@ sourceFile:app.ts 3 > 4 > class c { > } -1 >Emitted(7, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(4, 2) + SourceIndex(0) -3 >Emitted(7, 2) Source(3, 1) + SourceIndex(0) -4 >Emitted(7, 6) Source(4, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(4, 2) + SourceIndex(0) +3 >Emitted(8, 2) Source(3, 1) + SourceIndex(0) +4 >Emitted(8, 6) Source(4, 2) + SourceIndex(0) --- ------------------------------------------------------------------- emittedFile:testfiles/fooResult.js @@ -81,13 +82,13 @@ sourceFile:app2.ts 1-> 2 >^^^^^^^^^^^^^^^^^^^-> 1-> -1->Emitted(8, 1) Source(1, 1) + SourceIndex(1) +1->Emitted(9, 1) Source(1, 1) + SourceIndex(1) --- >>> function d() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(9, 5) Source(1, 1) + SourceIndex(1) +1->Emitted(10, 5) Source(1, 1) + SourceIndex(1) --- >>> } 1->^^^^ @@ -96,16 +97,16 @@ sourceFile:app2.ts 1->class d { > 2 > } -1->Emitted(10, 5) Source(2, 1) + SourceIndex(1) -2 >Emitted(10, 6) Source(2, 2) + SourceIndex(1) +1->Emitted(11, 5) Source(2, 1) + SourceIndex(1) +2 >Emitted(11, 6) Source(2, 2) + SourceIndex(1) --- >>> return d; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(11, 5) Source(2, 1) + SourceIndex(1) -2 >Emitted(11, 13) Source(2, 2) + SourceIndex(1) +1->Emitted(12, 5) Source(2, 1) + SourceIndex(1) +2 >Emitted(12, 13) Source(2, 2) + SourceIndex(1) --- >>>}()); 1 > @@ -118,9 +119,9 @@ sourceFile:app2.ts 3 > 4 > class d { > } -1 >Emitted(12, 1) Source(2, 1) + SourceIndex(1) -2 >Emitted(12, 2) Source(2, 2) + SourceIndex(1) -3 >Emitted(12, 2) Source(1, 1) + SourceIndex(1) -4 >Emitted(12, 6) Source(2, 2) + SourceIndex(1) +1 >Emitted(13, 1) Source(2, 1) + SourceIndex(1) +2 >Emitted(13, 2) Source(2, 2) + SourceIndex(1) +3 >Emitted(13, 2) Source(1, 1) + SourceIndex(1) +4 >Emitted(13, 6) Source(2, 2) + SourceIndex(1) --- >>>//# sourceMappingURL=fooResult.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.js b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.js index 6e49d774aa982..389085095b093 100644 --- a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.js +++ b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.js @@ -11,6 +11,7 @@ class d { } //// [app.js] +"use strict"; // Note in the out result we are using same folder name only different in casing // Since this is non case sensitive, the relative paths should be just app.ts and app2.ts in the sourcemap var c = /** @class */ (function () { @@ -20,6 +21,7 @@ var c = /** @class */ (function () { }()); //# sourceMappingURL=app.js.map //// [app2.js] +"use strict"; var d = /** @class */ (function () { function d() { } diff --git a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.js.map b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.js.map index d7b81853db8af..0f8c37329d9f1 100644 --- a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.js.map +++ b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.js.map @@ -1,7 +1,7 @@ //// [app.js.map] -{"version":3,"file":"app.js","sourceRoot":"","sources":["app.ts"],"names":[],"mappings":"AAAA,gFAAgF;AAChF,0GAA0G;AAC1G;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} -//// https://sokra.github.io/source-map-visualization#base64,Ly8gTm90ZSBpbiB0aGUgb3V0IHJlc3VsdCB3ZSBhcmUgdXNpbmcgc2FtZSBmb2xkZXIgbmFtZSBvbmx5IGRpZmZlcmVudCBpbiBjYXNpbmcNCi8vIFNpbmNlIHRoaXMgaXMgbm9uIGNhc2Ugc2Vuc2l0aXZlLCB0aGUgcmVsYXRpdmUgcGF0aHMgc2hvdWxkIGJlIGp1c3QgYXBwLnRzIGFuZCBhcHAyLnRzIGluIHRoZSBzb3VyY2VtYXANCnZhciBjID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgIGZ1bmN0aW9uIGMoKSB7DQogICAgfQ0KICAgIHJldHVybiBjOw0KfSgpKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWFwcC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXBwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLGdGQUFnRjtBQUNoRiwwR0FBMEc7QUFDMUc7SUFBQTtJQUNBLENBQUM7SUFBRCxRQUFDO0FBQUQsQ0FBQyxBQURELElBQ0MifQ==,Ly8gTm90ZSBpbiB0aGUgb3V0IHJlc3VsdCB3ZSBhcmUgdXNpbmcgc2FtZSBmb2xkZXIgbmFtZSBvbmx5IGRpZmZlcmVudCBpbiBjYXNpbmcKLy8gU2luY2UgdGhpcyBpcyBub24gY2FzZSBzZW5zaXRpdmUsIHRoZSByZWxhdGl2ZSBwYXRocyBzaG91bGQgYmUganVzdCBhcHAudHMgYW5kIGFwcDIudHMgaW4gdGhlIHNvdXJjZW1hcApjbGFzcyBjIHsKfQo= +{"version":3,"file":"app.js","sourceRoot":"","sources":["app.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,0GAA0G;AAC1G;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KLy8gTm90ZSBpbiB0aGUgb3V0IHJlc3VsdCB3ZSBhcmUgdXNpbmcgc2FtZSBmb2xkZXIgbmFtZSBvbmx5IGRpZmZlcmVudCBpbiBjYXNpbmcNCi8vIFNpbmNlIHRoaXMgaXMgbm9uIGNhc2Ugc2Vuc2l0aXZlLCB0aGUgcmVsYXRpdmUgcGF0aHMgc2hvdWxkIGJlIGp1c3QgYXBwLnRzIGFuZCBhcHAyLnRzIGluIHRoZSBzb3VyY2VtYXANCnZhciBjID0gLyoqIEBjbGFzcyAqLyAoZnVuY3Rpb24gKCkgew0KICAgIGZ1bmN0aW9uIGMoKSB7DQogICAgfQ0KICAgIHJldHVybiBjOw0KfSgpKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWFwcC5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiYXBwLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7QUFBQSxnRkFBZ0Y7QUFDaEYsMEdBQTBHO0FBQzFHO0lBQUE7SUFDQSxDQUFDO0lBQUQsUUFBQztBQUFELENBQUMsQUFERCxJQUNDIn0=,Ly8gTm90ZSBpbiB0aGUgb3V0IHJlc3VsdCB3ZSBhcmUgdXNpbmcgc2FtZSBmb2xkZXIgbmFtZSBvbmx5IGRpZmZlcmVudCBpbiBjYXNpbmcKLy8gU2luY2UgdGhpcyBpcyBub24gY2FzZSBzZW5zaXRpdmUsIHRoZSByZWxhdGl2ZSBwYXRocyBzaG91bGQgYmUganVzdCBhcHAudHMgYW5kIGFwcDIudHMgaW4gdGhlIHNvdXJjZW1hcApjbGFzcyBjIHsKfQo= //// [app2.js.map] -{"version":3,"file":"app2.js","sourceRoot":"","sources":["app2.ts"],"names":[],"mappings":"AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIGQgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gZCgpIHsNCiAgICB9DQogICAgcmV0dXJuIGQ7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9YXBwMi5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwMi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImFwcDIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFBQTtJQUNBLENBQUM7SUFBRCxRQUFDO0FBQUQsQ0FBQyxBQURELElBQ0MifQ==,Y2xhc3MgZCB7Cn0= +{"version":3,"file":"app2.js","sourceRoot":"","sources":["app2.ts"],"names":[],"mappings":";AAAA;IAAA;IACA,CAAC;IAAD,QAAC;AAAD,CAAC,AADD,IACC"} +//// https://sokra.github.io/source-map-visualization#base64,InVzZSBzdHJpY3QiOw0KdmFyIGQgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgZnVuY3Rpb24gZCgpIHsNCiAgICB9DQogICAgcmV0dXJuIGQ7DQp9KCkpOw0KLy8jIHNvdXJjZU1hcHBpbmdVUkw9YXBwMi5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYXBwMi5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbImFwcDIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IjtBQUFBO0lBQUE7SUFDQSxDQUFDO0lBQUQsUUFBQztBQUFELENBQUMsQUFERCxJQUNDIn0=,Y2xhc3MgZCB7Cn0= diff --git a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.sourcemap.txt b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.sourcemap.txt index 9b344d2182948..279b6947c767d 100644 --- a/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.sourcemap.txt +++ b/tests/baselines/reference/sourceMapWithNonCaseSensitiveFileNamesAndOutDir.sourcemap.txt @@ -8,14 +8,15 @@ sources: app.ts emittedFile:testfiles/app.js sourceFile:app.ts ------------------------------------------------------------------- +>>>"use strict"; >>>// Note in the out result we are using same folder name only different in casing 1 > 2 >^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 3 > ^^^^^^^^^^^^^^^^^^^^^^^^^^^-> 1 > 2 >// Note in the out result we are using same folder name only different in casing -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 81) Source(1, 81) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 81) Source(1, 81) + SourceIndex(0) --- >>>// Since this is non case sensitive, the relative paths should be just app.ts and app2.ts in the sourcemap 1-> @@ -23,21 +24,21 @@ sourceFile:app.ts 1-> > 2 >// Since this is non case sensitive, the relative paths should be just app.ts and app2.ts in the sourcemap -1->Emitted(2, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(2, 107) Source(2, 107) + SourceIndex(0) +1->Emitted(3, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(3, 107) Source(2, 107) + SourceIndex(0) --- >>>var c = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > > -1 >Emitted(3, 1) Source(3, 1) + SourceIndex(0) +1 >Emitted(4, 1) Source(3, 1) + SourceIndex(0) --- >>> function c() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(4, 5) Source(3, 1) + SourceIndex(0) +1->Emitted(5, 5) Source(3, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -46,16 +47,16 @@ sourceFile:app.ts 1->class c { > 2 > } -1->Emitted(5, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(5, 6) Source(4, 2) + SourceIndex(0) +1->Emitted(6, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(6, 6) Source(4, 2) + SourceIndex(0) --- >>> return c; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(6, 5) Source(4, 1) + SourceIndex(0) -2 >Emitted(6, 13) Source(4, 2) + SourceIndex(0) +1->Emitted(7, 5) Source(4, 1) + SourceIndex(0) +2 >Emitted(7, 13) Source(4, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -68,10 +69,10 @@ sourceFile:app.ts 3 > 4 > class c { > } -1 >Emitted(7, 1) Source(4, 1) + SourceIndex(0) -2 >Emitted(7, 2) Source(4, 2) + SourceIndex(0) -3 >Emitted(7, 2) Source(3, 1) + SourceIndex(0) -4 >Emitted(7, 6) Source(4, 2) + SourceIndex(0) +1 >Emitted(8, 1) Source(4, 1) + SourceIndex(0) +2 >Emitted(8, 2) Source(4, 2) + SourceIndex(0) +3 >Emitted(8, 2) Source(3, 1) + SourceIndex(0) +4 >Emitted(8, 6) Source(4, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=app.js.map=================================================================== JsFile: app2.js @@ -83,17 +84,18 @@ sources: app2.ts emittedFile:testfiles/app2.js sourceFile:app2.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var d = /** @class */ (function () { 1 > 2 >^^^^^^^^^^^^^^^^^^^-> 1 > -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) --- >>> function d() { 1->^^^^ 2 > ^^-> 1-> -1->Emitted(2, 5) Source(1, 1) + SourceIndex(0) +1->Emitted(3, 5) Source(1, 1) + SourceIndex(0) --- >>> } 1->^^^^ @@ -102,16 +104,16 @@ sourceFile:app2.ts 1->class d { > 2 > } -1->Emitted(3, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(3, 6) Source(2, 2) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(4, 6) Source(2, 2) + SourceIndex(0) --- >>> return d; 1->^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(4, 5) Source(2, 1) + SourceIndex(0) -2 >Emitted(4, 13) Source(2, 2) + SourceIndex(0) +1->Emitted(5, 5) Source(2, 1) + SourceIndex(0) +2 >Emitted(5, 13) Source(2, 2) + SourceIndex(0) --- >>>}()); 1 > @@ -124,9 +126,9 @@ sourceFile:app2.ts 3 > 4 > class d { > } -1 >Emitted(5, 1) Source(2, 1) + SourceIndex(0) -2 >Emitted(5, 2) Source(2, 2) + SourceIndex(0) -3 >Emitted(5, 2) Source(1, 1) + SourceIndex(0) -4 >Emitted(5, 6) Source(2, 2) + SourceIndex(0) +1 >Emitted(6, 1) Source(2, 1) + SourceIndex(0) +2 >Emitted(6, 2) Source(2, 2) + SourceIndex(0) +3 >Emitted(6, 2) Source(1, 1) + SourceIndex(0) +4 >Emitted(6, 6) Source(2, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=app2.js.map \ No newline at end of file diff --git a/tests/baselines/reference/sourcemapValidationDuplicateNames.js b/tests/baselines/reference/sourcemapValidationDuplicateNames.js index 8257554878650..413afbcf661d7 100644 --- a/tests/baselines/reference/sourcemapValidationDuplicateNames.js +++ b/tests/baselines/reference/sourcemapValidationDuplicateNames.js @@ -11,6 +11,7 @@ namespace m1 { } //// [sourcemapValidationDuplicateNames.js] +"use strict"; var m1; (function (m1) { var x = 10; diff --git a/tests/baselines/reference/sourcemapValidationDuplicateNames.js.map b/tests/baselines/reference/sourcemapValidationDuplicateNames.js.map index 4d175f8936e39..3821ce51db079 100644 --- a/tests/baselines/reference/sourcemapValidationDuplicateNames.js.map +++ b/tests/baselines/reference/sourcemapValidationDuplicateNames.js.map @@ -1,3 +1,3 @@ //// [sourcemapValidationDuplicateNames.js.map] -{"version":3,"file":"sourcemapValidationDuplicateNames.js","sourceRoot":"","sources":["sourcemapValidationDuplicateNames.ts"],"names":[],"mappings":"AAAA,IAAU,EAAE,CAIX;AAJD,WAAU,EAAE;IACR,IAAI,CAAC,GAAG,EAAE,CAAC;IACX;QAAA;QACA,CAAC;QAAD,QAAC;IAAD,CAAC,AADD,IACC;IADY,IAAC,IACb,CAAA;AACL,CAAC,EAJS,EAAE,KAAF,EAAE,QAIX;AACD,WAAU,EAAE;IACR,IAAI,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;AACvB,CAAC,EAFS,EAAE,KAAF,EAAE,QAEX"} -//// https://sokra.github.io/source-map-visualization#base64,dmFyIG0xOw0KKGZ1bmN0aW9uIChtMSkgew0KICAgIHZhciB4ID0gMTA7DQogICAgdmFyIGMgPSAvKiogQGNsYXNzICovIChmdW5jdGlvbiAoKSB7DQogICAgICAgIGZ1bmN0aW9uIGMoKSB7DQogICAgICAgIH0NCiAgICAgICAgcmV0dXJuIGM7DQogICAgfSgpKTsNCiAgICBtMS5jID0gYzsNCn0pKG0xIHx8IChtMSA9IHt9KSk7DQooZnVuY3Rpb24gKG0xKSB7DQogICAgdmFyIGIgPSBuZXcgbTEuYygpOw0KfSkobTEgfHwgKG0xID0ge30pKTsNCi8vIyBzb3VyY2VNYXBwaW5nVVJMPXNvdXJjZW1hcFZhbGlkYXRpb25EdXBsaWNhdGVOYW1lcy5qcy5tYXA=,eyJ2ZXJzaW9uIjozLCJmaWxlIjoic291cmNlbWFwVmFsaWRhdGlvbkR1cGxpY2F0ZU5hbWVzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsic291cmNlbWFwVmFsaWRhdGlvbkR1cGxpY2F0ZU5hbWVzLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLElBQVUsRUFBRSxDQUlYO0FBSkQsV0FBVSxFQUFFO0lBQ1IsSUFBSSxDQUFDLEdBQUcsRUFBRSxDQUFDO0lBQ1g7UUFBQTtRQUNBLENBQUM7UUFBRCxRQUFDO0lBQUQsQ0FBQyxBQURELElBQ0M7SUFEWSxJQUFDLElBQ2IsQ0FBQTtBQUNMLENBQUMsRUFKUyxFQUFFLEtBQUYsRUFBRSxRQUlYO0FBQ0QsV0FBVSxFQUFFO0lBQ1IsSUFBSSxDQUFDLEdBQUcsSUFBSSxFQUFFLENBQUMsQ0FBQyxFQUFFLENBQUM7QUFDdkIsQ0FBQyxFQUZTLEVBQUUsS0FBRixFQUFFLFFBRVgifQ==,bmFtZXNwYWNlIG0xIHsKICAgIHZhciB4ID0gMTA7CiAgICBleHBvcnQgY2xhc3MgYyB7CiAgICB9Cn0KbmFtZXNwYWNlIG0xIHsKICAgIHZhciBiID0gbmV3IG0xLmMoKTsKfQ== +{"version":3,"file":"sourcemapValidationDuplicateNames.js","sourceRoot":"","sources":["sourcemapValidationDuplicateNames.ts"],"names":[],"mappings":";AAAA,IAAU,EAAE,CAIX;AAJD,WAAU,EAAE;IACR,IAAI,CAAC,GAAG,EAAE,CAAC;IACX;QAAA;QACA,CAAC;QAAD,QAAC;IAAD,CAAC,AADD,IACC;IADY,IAAC,IACb,CAAA;AACL,CAAC,EAJS,EAAE,KAAF,EAAE,QAIX;AACD,WAAU,EAAE;IACR,IAAI,CAAC,GAAG,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC;AACvB,CAAC,EAFS,EAAE,KAAF,EAAE,QAEX"} +//// https://sokra.github.io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hc3MgYyB7CiAgICB9Cn0KbmFtZXNwYWNlIG0xIHsKICAgIHZhciBiID0gbmV3IG0xLmMoKTsKfQ== diff --git a/tests/baselines/reference/sourcemapValidationDuplicateNames.sourcemap.txt b/tests/baselines/reference/sourcemapValidationDuplicateNames.sourcemap.txt index 0c73e4b29a49a..2c3ad7a409584 100644 --- a/tests/baselines/reference/sourcemapValidationDuplicateNames.sourcemap.txt +++ b/tests/baselines/reference/sourcemapValidationDuplicateNames.sourcemap.txt @@ -8,6 +8,7 @@ sources: sourcemapValidationDuplicateNames.ts emittedFile:sourcemapValidationDuplicateNames.js sourceFile:sourcemapValidationDuplicateNames.ts ------------------------------------------------------------------- +>>>"use strict"; >>>var m1; 1 > 2 >^^^^ @@ -22,10 +23,10 @@ sourceFile:sourcemapValidationDuplicateNames.ts > export class c { > } > } -1 >Emitted(1, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(1, 5) Source(1, 11) + SourceIndex(0) -3 >Emitted(1, 7) Source(1, 13) + SourceIndex(0) -4 >Emitted(1, 8) Source(5, 2) + SourceIndex(0) +1 >Emitted(2, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(2, 5) Source(1, 11) + SourceIndex(0) +3 >Emitted(2, 7) Source(1, 13) + SourceIndex(0) +4 >Emitted(2, 8) Source(5, 2) + SourceIndex(0) --- >>>(function (m1) { 1-> @@ -35,9 +36,9 @@ sourceFile:sourcemapValidationDuplicateNames.ts 1-> 2 >namespace 3 > m1 -1->Emitted(2, 1) Source(1, 1) + SourceIndex(0) -2 >Emitted(2, 12) Source(1, 11) + SourceIndex(0) -3 >Emitted(2, 14) Source(1, 13) + SourceIndex(0) +1->Emitted(3, 1) Source(1, 1) + SourceIndex(0) +2 >Emitted(3, 12) Source(1, 11) + SourceIndex(0) +3 >Emitted(3, 14) Source(1, 13) + SourceIndex(0) --- >>> var x = 10; 1->^^^^ @@ -54,25 +55,25 @@ sourceFile:sourcemapValidationDuplicateNames.ts 4 > = 5 > 10 6 > ; -1->Emitted(3, 5) Source(2, 5) + SourceIndex(0) -2 >Emitted(3, 9) Source(2, 9) + SourceIndex(0) -3 >Emitted(3, 10) Source(2, 10) + SourceIndex(0) -4 >Emitted(3, 13) Source(2, 13) + SourceIndex(0) -5 >Emitted(3, 15) Source(2, 15) + SourceIndex(0) -6 >Emitted(3, 16) Source(2, 16) + SourceIndex(0) +1->Emitted(4, 5) Source(2, 5) + SourceIndex(0) +2 >Emitted(4, 9) Source(2, 9) + SourceIndex(0) +3 >Emitted(4, 10) Source(2, 10) + SourceIndex(0) +4 >Emitted(4, 13) Source(2, 13) + SourceIndex(0) +5 >Emitted(4, 15) Source(2, 15) + SourceIndex(0) +6 >Emitted(4, 16) Source(2, 16) + SourceIndex(0) --- >>> var c = /** @class */ (function () { 1->^^^^ 2 > ^^^^^^^^^^^^^^^^^^^-> 1-> > -1->Emitted(4, 5) Source(3, 5) + SourceIndex(0) +1->Emitted(5, 5) Source(3, 5) + SourceIndex(0) --- >>> function c() { 1->^^^^^^^^ 2 > ^^-> 1-> -1->Emitted(5, 9) Source(3, 5) + SourceIndex(0) +1->Emitted(6, 9) Source(3, 5) + SourceIndex(0) --- >>> } 1->^^^^^^^^ @@ -81,16 +82,16 @@ sourceFile:sourcemapValidationDuplicateNames.ts 1->export class c { > 2 > } -1->Emitted(6, 9) Source(4, 5) + SourceIndex(0) -2 >Emitted(6, 10) Source(4, 6) + SourceIndex(0) +1->Emitted(7, 9) Source(4, 5) + SourceIndex(0) +2 >Emitted(7, 10) Source(4, 6) + SourceIndex(0) --- >>> return c; 1->^^^^^^^^ 2 > ^^^^^^^^ 1-> 2 > } -1->Emitted(7, 9) Source(4, 5) + SourceIndex(0) -2 >Emitted(7, 17) Source(4, 6) + SourceIndex(0) +1->Emitted(8, 9) Source(4, 5) + SourceIndex(0) +2 >Emitted(8, 17) Source(4, 6) + SourceIndex(0) --- >>> }()); 1 >^^^^ @@ -103,10 +104,10 @@ sourceFile:sourcemapValidationDuplicateNames.ts 3 > 4 > export class c { > } -1 >Emitted(8, 5) Source(4, 5) + SourceIndex(0) -2 >Emitted(8, 6) Source(4, 6) + SourceIndex(0) -3 >Emitted(8, 6) Source(3, 5) + SourceIndex(0) -4 >Emitted(8, 10) Source(4, 6) + SourceIndex(0) +1 >Emitted(9, 5) Source(4, 5) + SourceIndex(0) +2 >Emitted(9, 6) Source(4, 6) + SourceIndex(0) +3 >Emitted(9, 6) Source(3, 5) + SourceIndex(0) +4 >Emitted(9, 10) Source(4, 6) + SourceIndex(0) --- >>> m1.c = c; 1->^^^^ @@ -119,10 +120,10 @@ sourceFile:sourcemapValidationDuplicateNames.ts 3 > { > } 4 > -1->Emitted(9, 5) Source(3, 18) + SourceIndex(0) -2 >Emitted(9, 9) Source(3, 19) + SourceIndex(0) -3 >Emitted(9, 13) Source(4, 6) + SourceIndex(0) -4 >Emitted(9, 14) Source(4, 6) + SourceIndex(0) +1->Emitted(10, 5) Source(3, 18) + SourceIndex(0) +2 >Emitted(10, 9) Source(3, 19) + SourceIndex(0) +3 >Emitted(10, 13) Source(4, 6) + SourceIndex(0) +4 >Emitted(10, 14) Source(4, 6) + SourceIndex(0) --- >>>})(m1 || (m1 = {})); 1-> @@ -144,13 +145,13 @@ sourceFile:sourcemapValidationDuplicateNames.ts > export class c { > } > } -1->Emitted(10, 1) Source(5, 1) + SourceIndex(0) -2 >Emitted(10, 2) Source(5, 2) + SourceIndex(0) -3 >Emitted(10, 4) Source(1, 11) + SourceIndex(0) -4 >Emitted(10, 6) Source(1, 13) + SourceIndex(0) -5 >Emitted(10, 11) Source(1, 11) + SourceIndex(0) -6 >Emitted(10, 13) Source(1, 13) + SourceIndex(0) -7 >Emitted(10, 21) Source(5, 2) + SourceIndex(0) +1->Emitted(11, 1) Source(5, 1) + SourceIndex(0) +2 >Emitted(11, 2) Source(5, 2) + SourceIndex(0) +3 >Emitted(11, 4) Source(1, 11) + SourceIndex(0) +4 >Emitted(11, 6) Source(1, 13) + SourceIndex(0) +5 >Emitted(11, 11) Source(1, 11) + SourceIndex(0) +6 >Emitted(11, 13) Source(1, 13) + SourceIndex(0) +7 >Emitted(11, 21) Source(5, 2) + SourceIndex(0) --- >>>(function (m1) { 1 > @@ -161,9 +162,9 @@ sourceFile:sourcemapValidationDuplicateNames.ts > 2 >namespace 3 > m1 -1 >Emitted(11, 1) Source(6, 1) + SourceIndex(0) -2 >Emitted(11, 12) Source(6, 11) + SourceIndex(0) -3 >Emitted(11, 14) Source(6, 13) + SourceIndex(0) +1 >Emitted(12, 1) Source(6, 1) + SourceIndex(0) +2 >Emitted(12, 12) Source(6, 11) + SourceIndex(0) +3 >Emitted(12, 14) Source(6, 13) + SourceIndex(0) --- >>> var b = new m1.c(); 1->^^^^ @@ -187,16 +188,16 @@ sourceFile:sourcemapValidationDuplicateNames.ts 8 > c 9 > () 10> ; -1->Emitted(12, 5) Source(7, 5) + SourceIndex(0) -2 >Emitted(12, 9) Source(7, 9) + SourceIndex(0) -3 >Emitted(12, 10) Source(7, 10) + SourceIndex(0) -4 >Emitted(12, 13) Source(7, 13) + SourceIndex(0) -5 >Emitted(12, 17) Source(7, 17) + SourceIndex(0) -6 >Emitted(12, 19) Source(7, 19) + SourceIndex(0) -7 >Emitted(12, 20) Source(7, 20) + SourceIndex(0) -8 >Emitted(12, 21) Source(7, 21) + SourceIndex(0) -9 >Emitted(12, 23) Source(7, 23) + SourceIndex(0) -10>Emitted(12, 24) Source(7, 24) + SourceIndex(0) +1->Emitted(13, 5) Source(7, 5) + SourceIndex(0) +2 >Emitted(13, 9) Source(7, 9) + SourceIndex(0) +3 >Emitted(13, 10) Source(7, 10) + SourceIndex(0) +4 >Emitted(13, 13) Source(7, 13) + SourceIndex(0) +5 >Emitted(13, 17) Source(7, 17) + SourceIndex(0) +6 >Emitted(13, 19) Source(7, 19) + SourceIndex(0) +7 >Emitted(13, 20) Source(7, 20) + SourceIndex(0) +8 >Emitted(13, 21) Source(7, 21) + SourceIndex(0) +9 >Emitted(13, 23) Source(7, 23) + SourceIndex(0) +10>Emitted(13, 24) Source(7, 24) + SourceIndex(0) --- >>>})(m1 || (m1 = {})); 1 > @@ -217,12 +218,12 @@ sourceFile:sourcemapValidationDuplicateNames.ts 7 > { > var b = new m1.c(); > } -1 >Emitted(13, 1) Source(8, 1) + SourceIndex(0) -2 >Emitted(13, 2) Source(8, 2) + SourceIndex(0) -3 >Emitted(13, 4) Source(6, 11) + SourceIndex(0) -4 >Emitted(13, 6) Source(6, 13) + SourceIndex(0) -5 >Emitted(13, 11) Source(6, 11) + SourceIndex(0) -6 >Emitted(13, 13) Source(6, 13) + SourceIndex(0) -7 >Emitted(13, 21) Source(8, 2) + SourceIndex(0) +1 >Emitted(14, 1) Source(8, 1) + SourceIndex(0) +2 >Emitted(14, 2) Source(8, 2) + SourceIndex(0) +3 >Emitted(14, 4) Source(6, 11) + SourceIndex(0) +4 >Emitted(14, 6) Source(6, 13) + SourceIndex(0) +5 >Emitted(14, 11) Source(6, 11) + SourceIndex(0) +6 >Emitted(14, 13) Source(6, 13) + SourceIndex(0) +7 >Emitted(14, 21) Source(8, 2) + SourceIndex(0) --- >>>//# sourceMappingURL=sourcemapValidationDuplicateNames.js.map \ No newline at end of file diff --git a/tests/baselines/reference/spaceBeforeQuestionMarkInPropertyAssignment.js b/tests/baselines/reference/spaceBeforeQuestionMarkInPropertyAssignment.js index 089d22652e68f..f72c13ad9f533 100644 --- a/tests/baselines/reference/spaceBeforeQuestionMarkInPropertyAssignment.js +++ b/tests/baselines/reference/spaceBeforeQuestionMarkInPropertyAssignment.js @@ -4,4 +4,5 @@ var x = {x ?: 1} // should not crash //// [spaceBeforeQuestionMarkInPropertyAssignment.js] +"use strict"; var x = { x: 1 }; // should not crash diff --git a/tests/baselines/reference/specializationError.js b/tests/baselines/reference/specializationError.js index b01ea22e1e07b..8f90c2991121e 100644 --- a/tests/baselines/reference/specializationError.js +++ b/tests/baselines/reference/specializationError.js @@ -13,3 +13,4 @@ interface Bar { //// [specializationError.js] +"use strict"; diff --git a/tests/baselines/reference/specializationOfExportedClass.js b/tests/baselines/reference/specializationOfExportedClass.js index 354b05e36ac40..09bf7b84c9a42 100644 --- a/tests/baselines/reference/specializationOfExportedClass.js +++ b/tests/baselines/reference/specializationOfExportedClass.js @@ -11,6 +11,7 @@ var x = new M.C(); //// [specializationOfExportedClass.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/specializationsShouldNotAffectEachOther.js b/tests/baselines/reference/specializationsShouldNotAffectEachOther.js index 42f9a60c06ea1..ed3a49f4065ed 100644 --- a/tests/baselines/reference/specializationsShouldNotAffectEachOther.js +++ b/tests/baselines/reference/specializationsShouldNotAffectEachOther.js @@ -22,6 +22,7 @@ function foo() { var keyExtent2: any[] = series.data.map(function (d: string) { return d; }); //// [specializationsShouldNotAffectEachOther.js] +"use strict"; var series; function foo() { var seriesExtent = function (series) { return null; }; diff --git a/tests/baselines/reference/specializeVarArgs1.js b/tests/baselines/reference/specializeVarArgs1.js index ca77ac0890450..6ab63ce8ce611 100644 --- a/tests/baselines/reference/specializeVarArgs1.js +++ b/tests/baselines/reference/specializeVarArgs1.js @@ -25,6 +25,7 @@ a.push('Some Value'); //// [specializeVarArgs1.js] +"use strict"; function observableArray() { return null; } var a = observableArray(); a.push('Some Value'); diff --git a/tests/baselines/reference/specializedInheritedConstructors1.js b/tests/baselines/reference/specializedInheritedConstructors1.js index 5aafed1b1cf66..839dae68cc8ef 100644 --- a/tests/baselines/reference/specializedInheritedConstructors1.js +++ b/tests/baselines/reference/specializedInheritedConstructors1.js @@ -20,6 +20,7 @@ var myView = new MyView(m); // was error //// [specializedInheritedConstructors1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/specializedLambdaTypeArguments.js b/tests/baselines/reference/specializedLambdaTypeArguments.js index dfa993d2110d0..b8fbf1b3ca1dc 100644 --- a/tests/baselines/reference/specializedLambdaTypeArguments.js +++ b/tests/baselines/reference/specializedLambdaTypeArguments.js @@ -9,6 +9,7 @@ var a: X; //// [specializedLambdaTypeArguments.js] +"use strict"; var X = /** @class */ (function () { function X() { } diff --git a/tests/baselines/reference/specializedOverloadWithRestParameters.js b/tests/baselines/reference/specializedOverloadWithRestParameters.js index 8081307ff8cfd..b8bdb91478537 100644 --- a/tests/baselines/reference/specializedOverloadWithRestParameters.js +++ b/tests/baselines/reference/specializedOverloadWithRestParameters.js @@ -15,6 +15,7 @@ function g(tagName: any): Base { } //// [specializedOverloadWithRestParameters.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/specializedSignatureAsCallbackParameter1.js b/tests/baselines/reference/specializedSignatureAsCallbackParameter1.js index c7364f4b11e96..e945fbb14b1dc 100644 --- a/tests/baselines/reference/specializedSignatureAsCallbackParameter1.js +++ b/tests/baselines/reference/specializedSignatureAsCallbackParameter1.js @@ -11,6 +11,7 @@ x3(1, (x: string) => 1); x3(1, (x: 'hm') => 1); //// [specializedSignatureAsCallbackParameter1.js] +"use strict"; function x3(a, cb) { cb(a); } diff --git a/tests/baselines/reference/specializedSignatureInInterface.js b/tests/baselines/reference/specializedSignatureInInterface.js index 30f5d1c84e64e..fda9eb4013d25 100644 --- a/tests/baselines/reference/specializedSignatureInInterface.js +++ b/tests/baselines/reference/specializedSignatureInInterface.js @@ -11,3 +11,4 @@ interface B extends A { } //// [specializedSignatureInInterface.js] +"use strict"; diff --git a/tests/baselines/reference/specializedSignatureIsNotSubtypeOfNonSpecializedSignature.js b/tests/baselines/reference/specializedSignatureIsNotSubtypeOfNonSpecializedSignature.js index 9d20969a41f96..f6549740dd253 100644 --- a/tests/baselines/reference/specializedSignatureIsNotSubtypeOfNonSpecializedSignature.js +++ b/tests/baselines/reference/specializedSignatureIsNotSubtypeOfNonSpecializedSignature.js @@ -66,6 +66,7 @@ var a3: { //// [specializedSignatureIsNotSubtypeOfNonSpecializedSignature.js] +"use strict"; function foo(x) { } var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/specializedSignatureIsSubtypeOfNonSpecializedSignature.js b/tests/baselines/reference/specializedSignatureIsSubtypeOfNonSpecializedSignature.js index 4d8043eb184f7..f08123fed1935 100644 --- a/tests/baselines/reference/specializedSignatureIsSubtypeOfNonSpecializedSignature.js +++ b/tests/baselines/reference/specializedSignatureIsSubtypeOfNonSpecializedSignature.js @@ -84,6 +84,7 @@ var a3: { //// [specializedSignatureIsSubtypeOfNonSpecializedSignature.js] +"use strict"; // Specialized signatures must be a subtype of a non-specialized signature // All the below should not be errors function foo(x) { } diff --git a/tests/baselines/reference/specializedSignatureOverloadReturnTypeWithIndexers.js b/tests/baselines/reference/specializedSignatureOverloadReturnTypeWithIndexers.js index 137c671915879..3a4624c48a96c 100644 --- a/tests/baselines/reference/specializedSignatureOverloadReturnTypeWithIndexers.js +++ b/tests/baselines/reference/specializedSignatureOverloadReturnTypeWithIndexers.js @@ -19,3 +19,4 @@ interface D { } //// [specializedSignatureOverloadReturnTypeWithIndexers.js] +"use strict"; diff --git a/tests/baselines/reference/specializedSignatureWithOptional.js b/tests/baselines/reference/specializedSignatureWithOptional.js index ab3e1eb1e8969..6ccd0ee5da9e2 100644 --- a/tests/baselines/reference/specializedSignatureWithOptional.js +++ b/tests/baselines/reference/specializedSignatureWithOptional.js @@ -5,3 +5,4 @@ declare function f(x?: "hi"): void; declare function f(x?: string): void; //// [specializedSignatureWithOptional.js] +"use strict"; diff --git a/tests/baselines/reference/spellingSuggestionGlobal3.js b/tests/baselines/reference/spellingSuggestionGlobal3.js index 9943a05d002a3..34df5db866520 100644 --- a/tests/baselines/reference/spellingSuggestionGlobal3.js +++ b/tests/baselines/reference/spellingSuggestionGlobal3.js @@ -6,5 +6,6 @@ globals.x // should suggest `global` (GH#42209) //// [spellingSuggestionGlobal3.js] +"use strict"; var global = { x: true }; globals.x; // should suggest `global` (GH#42209) diff --git a/tests/baselines/reference/spellingSuggestionModule.js b/tests/baselines/reference/spellingSuggestionModule.js index 947b31a0175cd..8e1d1a5759a15 100644 --- a/tests/baselines/reference/spellingSuggestionModule.js +++ b/tests/baselines/reference/spellingSuggestionModule.js @@ -12,6 +12,7 @@ faroo; //// [spellingSuggestionModule.js] +"use strict"; foobar; barfoo; faroo; diff --git a/tests/baselines/reference/spliceTuples.js b/tests/baselines/reference/spliceTuples.js index 96b8b6ab3957e..8777f7db60309 100644 --- a/tests/baselines/reference/spliceTuples.js +++ b/tests/baselines/reference/spliceTuples.js @@ -27,6 +27,7 @@ k6 = [1, ...sbb_]; //// [spliceTuples.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/spreadBooleanRespectsFreshness.js b/tests/baselines/reference/spreadBooleanRespectsFreshness.js index 3004fddea9b04..62541e4168980 100644 --- a/tests/baselines/reference/spreadBooleanRespectsFreshness.js +++ b/tests/baselines/reference/spreadBooleanRespectsFreshness.js @@ -10,6 +10,7 @@ declare let foo2: Foo; foo1 = [...Array.isArray(foo2) ? foo2 : [foo2]]; //// [spreadBooleanRespectsFreshness.js] +"use strict"; var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) { if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) { if (ar || !(i in from)) { diff --git a/tests/baselines/reference/spreadContextualTypedBindingPattern.js b/tests/baselines/reference/spreadContextualTypedBindingPattern.js index 88d60eb830d87..c813579bfbb45 100644 --- a/tests/baselines/reference/spreadContextualTypedBindingPattern.js +++ b/tests/baselines/reference/spreadContextualTypedBindingPattern.js @@ -15,6 +15,7 @@ const { naam, age } = {...bob, ...alice} //// [spreadContextualTypedBindingPattern.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadExcessProperty.js b/tests/baselines/reference/spreadExcessProperty.js index b7c9daeb1135b..c64644d88581a 100644 --- a/tests/baselines/reference/spreadExcessProperty.js +++ b/tests/baselines/reference/spreadExcessProperty.js @@ -7,6 +7,7 @@ const a1: A = { ...extra1 }; // spread should not give excess property errors //// [spreadExcessProperty.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadIntersection.js b/tests/baselines/reference/spreadIntersection.js index fe2bcebcefd18..eda71b37d162a 100644 --- a/tests/baselines/reference/spreadIntersection.js +++ b/tests/baselines/reference/spreadIntersection.js @@ -10,6 +10,7 @@ var o2: { a: number, b: string, c: boolean }; var o2 = { ...intersection, c: false }; //// [spreadIntersection.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadIntersectionJsx.js b/tests/baselines/reference/spreadIntersectionJsx.js index c7ba11ae19696..2d545460d23cf 100644 --- a/tests/baselines/reference/spreadIntersectionJsx.js +++ b/tests/baselines/reference/spreadIntersectionJsx.js @@ -9,6 +9,7 @@ let element =
; //// [spreadIntersectionJsx.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadInvalidArgumentType.js b/tests/baselines/reference/spreadInvalidArgumentType.js index cb176bb0f2c76..a97f307d91216 100644 --- a/tests/baselines/reference/spreadInvalidArgumentType.js +++ b/tests/baselines/reference/spreadInvalidArgumentType.js @@ -59,6 +59,7 @@ function f(p1: T, p2: T[]) { //// [spreadInvalidArgumentType.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadMethods.js b/tests/baselines/reference/spreadMethods.js index 1ed6582983fd9..7bf5635dda21d 100644 --- a/tests/baselines/reference/spreadMethods.js +++ b/tests/baselines/reference/spreadMethods.js @@ -44,6 +44,7 @@ sso.g; // ok //// [spreadMethods.js] +"use strict"; class K { constructor() { this.p = 12; diff --git a/tests/baselines/reference/spreadNonPrimitive.js b/tests/baselines/reference/spreadNonPrimitive.js index 86db767104609..cbd9f53b4a6b0 100644 --- a/tests/baselines/reference/spreadNonPrimitive.js +++ b/tests/baselines/reference/spreadNonPrimitive.js @@ -6,6 +6,7 @@ const x: { a: number, b: number } = { a: 1, ...o, b: 2 }; //// [spreadNonPrimitive.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.js b/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.js index 18694bfa14cb4..203e5aea3196d 100644 --- a/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.js +++ b/tests/baselines/reference/spreadOfParamsFromGeneratorMakesRequiredParams.js @@ -9,6 +9,7 @@ declare function call any>( call(function* (a: 'a') { }); // error, 2nd argument required //// [spreadOfParamsFromGeneratorMakesRequiredParams.js] +"use strict"; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === "function" ? Iterator : Object).prototype); return g.next = verb(0), g["throw"] = verb(1), g["return"] = verb(2), typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; diff --git a/tests/baselines/reference/spreadOverwritesProperty.js b/tests/baselines/reference/spreadOverwritesProperty.js index 8a0545073adb4..572307d6b642c 100644 --- a/tests/baselines/reference/spreadOverwritesProperty.js +++ b/tests/baselines/reference/spreadOverwritesProperty.js @@ -17,6 +17,7 @@ function h(obj: { x: number }) { //// [spreadOverwritesProperty.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadParameterTupleType.js b/tests/baselines/reference/spreadParameterTupleType.js index bd1e2a324546c..c3154233700a7 100644 --- a/tests/baselines/reference/spreadParameterTupleType.js +++ b/tests/baselines/reference/spreadParameterTupleType.js @@ -19,6 +19,7 @@ function f2() { //// [spreadParameterTupleType.js] +"use strict"; function f1() { return function fn() { var args = []; diff --git a/tests/baselines/reference/spreadTypeRemovesReadonly.js b/tests/baselines/reference/spreadTypeRemovesReadonly.js index cfb27bf60aead..b71ca933d931a 100644 --- a/tests/baselines/reference/spreadTypeRemovesReadonly.js +++ b/tests/baselines/reference/spreadTypeRemovesReadonly.js @@ -11,6 +11,7 @@ clone.value = 'bar'; //// [spreadTypeRemovesReadonly.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadTypeVariable.js b/tests/baselines/reference/spreadTypeVariable.js index d3049f6497ada..6583283733be2 100644 --- a/tests/baselines/reference/spreadTypeVariable.js +++ b/tests/baselines/reference/spreadTypeVariable.js @@ -28,6 +28,7 @@ function f6(arg: T) { //// [spreadTypeVariable.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadUnion.js b/tests/baselines/reference/spreadUnion.js index 6d65812e8779d..adcf62cef725f 100644 --- a/tests/baselines/reference/spreadUnion.js +++ b/tests/baselines/reference/spreadUnion.js @@ -13,6 +13,7 @@ var o5: { a: number } | { b: string } | { a: number, b: string }; var o5 = { ...union, ...union }; //// [spreadUnion.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadUnion2.js b/tests/baselines/reference/spreadUnion2.js index 627f615c633c4..93c4175b5fc80 100644 --- a/tests/baselines/reference/spreadUnion2.js +++ b/tests/baselines/reference/spreadUnion2.js @@ -23,6 +23,7 @@ var o5 = { ...nullUnion, ...nullUnion }; //// [spreadUnion2.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadUnion3.js b/tests/baselines/reference/spreadUnion3.js index a09a291648933..4d6a37305690a 100644 --- a/tests/baselines/reference/spreadUnion3.js +++ b/tests/baselines/reference/spreadUnion3.js @@ -22,6 +22,7 @@ var y = { ...nullAndUndefinedUnion }; //// [spreadUnion3.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spreadUnion4.js b/tests/baselines/reference/spreadUnion4.js index 01488935ae64e..5122c1044d4a1 100644 --- a/tests/baselines/reference/spreadUnion4.js +++ b/tests/baselines/reference/spreadUnion4.js @@ -8,6 +8,7 @@ const c = { ...a, ...b }; //// [spreadUnion4.js] +"use strict"; var __assign = (this && this.__assign) || function () { __assign = Object.assign || function(t) { for (var s, i = 1, n = arguments.length; i < n; i++) { diff --git a/tests/baselines/reference/spyComparisonChecking.js b/tests/baselines/reference/spyComparisonChecking.js index f415b6efe96a8..a281471e19260 100644 --- a/tests/baselines/reference/spyComparisonChecking.js +++ b/tests/baselines/reference/spyComparisonChecking.js @@ -26,6 +26,7 @@ function mock(spyName: string, methodNames: Array): SpyObj { } //// [spyComparisonChecking.js] +"use strict"; function mock(spyName, methodNames) { var spyObj = createSpyObj(spyName, methodNames); for (var _i = 0, methodNames_1 = methodNames; _i < methodNames_1.length; _i++) { diff --git a/tests/baselines/reference/standaloneBreak.js b/tests/baselines/reference/standaloneBreak.js index a38e0137469eb..052863526b3d7 100644 --- a/tests/baselines/reference/standaloneBreak.js +++ b/tests/baselines/reference/standaloneBreak.js @@ -4,4 +4,5 @@ break; //// [standaloneBreak.js] +"use strict"; break; diff --git a/tests/baselines/reference/staticAndMemberFunctions.js b/tests/baselines/reference/staticAndMemberFunctions.js index 5478c86e16f94..12880f60425b2 100644 --- a/tests/baselines/reference/staticAndMemberFunctions.js +++ b/tests/baselines/reference/staticAndMemberFunctions.js @@ -7,6 +7,7 @@ class T { } //// [staticAndMemberFunctions.js] +"use strict"; var T = /** @class */ (function () { function T() { } diff --git a/tests/baselines/reference/staticAndNonStaticPropertiesSameName.js b/tests/baselines/reference/staticAndNonStaticPropertiesSameName.js index 22ae2ba3e99de..2275b69b25304 100644 --- a/tests/baselines/reference/staticAndNonStaticPropertiesSameName.js +++ b/tests/baselines/reference/staticAndNonStaticPropertiesSameName.js @@ -10,6 +10,7 @@ class C { } //// [staticAndNonStaticPropertiesSameName.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/staticAnonymousTypeNotReferencingTypeParameter.js b/tests/baselines/reference/staticAnonymousTypeNotReferencingTypeParameter.js index 03d7b6961540c..ed17179c7d508 100644 --- a/tests/baselines/reference/staticAnonymousTypeNotReferencingTypeParameter.js +++ b/tests/baselines/reference/staticAnonymousTypeNotReferencingTypeParameter.js @@ -144,6 +144,7 @@ interface Array { } //// [staticAnonymousTypeNotReferencingTypeParameter.js] +"use strict"; // This test case is a condensed version of Angular 2's ListWrapper. Prior to #7448 // this would cause the compiler to run out of memory. function outer(x) { diff --git a/tests/baselines/reference/staticAsIdentifier.js b/tests/baselines/reference/staticAsIdentifier.js index 609c0e180f2b6..cf802caef29e1 100644 --- a/tests/baselines/reference/staticAsIdentifier.js +++ b/tests/baselines/reference/staticAsIdentifier.js @@ -36,6 +36,7 @@ class C7 extends C6 { //// [staticAsIdentifier.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/staticAutoAccessors(target=es2017).js b/tests/baselines/reference/staticAutoAccessors(target=es2017).js index 35ee257ad662b..9eb137bdddd23 100644 --- a/tests/baselines/reference/staticAutoAccessors(target=es2017).js +++ b/tests/baselines/reference/staticAutoAccessors(target=es2017).js @@ -14,6 +14,7 @@ class A { //// [staticAutoAccessors.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/53752 var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) { if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter"); diff --git a/tests/baselines/reference/staticAutoAccessors(target=es2022).js b/tests/baselines/reference/staticAutoAccessors(target=es2022).js index 2337fa17b8d76..fd891b43b72d4 100644 --- a/tests/baselines/reference/staticAutoAccessors(target=es2022).js +++ b/tests/baselines/reference/staticAutoAccessors(target=es2022).js @@ -14,6 +14,7 @@ class A { //// [staticAutoAccessors.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/53752 class A { static #x_accessor_storage = 1; diff --git a/tests/baselines/reference/staticAutoAccessorsWithDecorators(target=es2017).js b/tests/baselines/reference/staticAutoAccessorsWithDecorators(target=es2017).js index f4c000661b6ef..2508eaf7771fa 100644 --- a/tests/baselines/reference/staticAutoAccessorsWithDecorators(target=es2017).js +++ b/tests/baselines/reference/staticAutoAccessorsWithDecorators(target=es2017).js @@ -15,6 +15,7 @@ class A { //// [staticAutoAccessorsWithDecorators.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/53752 var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } diff --git a/tests/baselines/reference/staticAutoAccessorsWithDecorators(target=es2022).js b/tests/baselines/reference/staticAutoAccessorsWithDecorators(target=es2022).js index 33e49e296162c..e64cf85071380 100644 --- a/tests/baselines/reference/staticAutoAccessorsWithDecorators(target=es2022).js +++ b/tests/baselines/reference/staticAutoAccessorsWithDecorators(target=es2022).js @@ -15,6 +15,7 @@ class A { //// [staticAutoAccessorsWithDecorators.js] +"use strict"; // https://github.com/microsoft/TypeScript/issues/53752 var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) { function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; } diff --git a/tests/baselines/reference/staticClassMemberError.js b/tests/baselines/reference/staticClassMemberError.js index fe187a07fde11..8a2889888f865 100644 --- a/tests/baselines/reference/staticClassMemberError.js +++ b/tests/baselines/reference/staticClassMemberError.js @@ -15,6 +15,7 @@ class Foo { } //// [staticClassMemberError.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/staticClassProps.js b/tests/baselines/reference/staticClassProps.js index 27b9b49b0028b..994bd8e509f35 100644 --- a/tests/baselines/reference/staticClassProps.js +++ b/tests/baselines/reference/staticClassProps.js @@ -11,6 +11,7 @@ class C //// [staticClassProps.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/staticFactory1.js b/tests/baselines/reference/staticFactory1.js index b8d40852983a0..7e7b52079df7c 100644 --- a/tests/baselines/reference/staticFactory1.js +++ b/tests/baselines/reference/staticFactory1.js @@ -16,6 +16,7 @@ var d = Derived.create(); d.foo(); //// [staticFactory1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/staticFieldWithInterfaceContext.js b/tests/baselines/reference/staticFieldWithInterfaceContext.js index c6b765a685e2b..857641d76e970 100644 --- a/tests/baselines/reference/staticFieldWithInterfaceContext.js +++ b/tests/baselines/reference/staticFieldWithInterfaceContext.js @@ -29,6 +29,7 @@ let [ c11 = class { static x = { a: "a" } } ]: I[] = [class { static x = { a: "a //// [staticFieldWithInterfaceContext.js] +"use strict"; var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) { if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : ""; return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name }); diff --git a/tests/baselines/reference/staticGetter1.js b/tests/baselines/reference/staticGetter1.js index cc2b54245af3e..cf2a9ac677253 100644 --- a/tests/baselines/reference/staticGetter1.js +++ b/tests/baselines/reference/staticGetter1.js @@ -10,6 +10,7 @@ class C { //// [staticGetter1.js] +"use strict"; // once caused stack overflow var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/staticGetter2.js b/tests/baselines/reference/staticGetter2.js index c2bdc1d51da1e..6f2c84c687833 100644 --- a/tests/baselines/reference/staticGetter2.js +++ b/tests/baselines/reference/staticGetter2.js @@ -10,6 +10,7 @@ class C { } //// [staticGetter2.js] +"use strict"; // once caused stack overflow var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/staticGetterAndSetter.js b/tests/baselines/reference/staticGetterAndSetter.js index 9d8c2be8e6559..5eddcd93f6fef 100644 --- a/tests/baselines/reference/staticGetterAndSetter.js +++ b/tests/baselines/reference/staticGetterAndSetter.js @@ -8,6 +8,7 @@ class Foo { //// [staticGetterAndSetter.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/staticIndexSignature1.js b/tests/baselines/reference/staticIndexSignature1.js index b8bbdf26acfa7..261bd06019cdd 100644 --- a/tests/baselines/reference/staticIndexSignature1.js +++ b/tests/baselines/reference/staticIndexSignature1.js @@ -14,6 +14,7 @@ C[2] = 2; const bar = C[42] //// [staticIndexSignature1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/staticIndexSignature2.js b/tests/baselines/reference/staticIndexSignature2.js index 0608e960d093b..e1f6b2ada4711 100644 --- a/tests/baselines/reference/staticIndexSignature2.js +++ b/tests/baselines/reference/staticIndexSignature2.js @@ -14,6 +14,7 @@ C[2] = 2; const bar = C[42] //// [staticIndexSignature2.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/staticIndexSignatureAndNormalIndexSignature.js b/tests/baselines/reference/staticIndexSignatureAndNormalIndexSignature.js index 7e05d3ba94926..84d064f19136c 100644 --- a/tests/baselines/reference/staticIndexSignatureAndNormalIndexSignature.js +++ b/tests/baselines/reference/staticIndexSignatureAndNormalIndexSignature.js @@ -7,6 +7,7 @@ class Foo { } //// [staticIndexSignatureAndNormalIndexSignature.js] +"use strict"; var Foo = /** @class */ (function () { function Foo() { } diff --git a/tests/baselines/reference/staticIndexers.js b/tests/baselines/reference/staticIndexers.js index f7bed419543ef..886075c78f2a6 100644 --- a/tests/baselines/reference/staticIndexers.js +++ b/tests/baselines/reference/staticIndexers.js @@ -16,6 +16,7 @@ class E { } //// [staticIndexers.js] +"use strict"; // static indexers not allowed var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/staticInheritance.js b/tests/baselines/reference/staticInheritance.js index 2ecd0a27826c1..8d1193c307775 100644 --- a/tests/baselines/reference/staticInheritance.js +++ b/tests/baselines/reference/staticInheritance.js @@ -14,6 +14,7 @@ doThing(B); //OK //// [staticInheritance.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/staticInitializersAndLegacyClassDecorators.js b/tests/baselines/reference/staticInitializersAndLegacyClassDecorators.js index 1d6618bd2e806..ead68be0c5f16 100644 --- a/tests/baselines/reference/staticInitializersAndLegacyClassDecorators.js +++ b/tests/baselines/reference/staticInitializersAndLegacyClassDecorators.js @@ -20,6 +20,7 @@ class C2 //// [staticInitializersAndLegacyClassDecorators.js] +"use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); diff --git a/tests/baselines/reference/staticInstanceResolution.js b/tests/baselines/reference/staticInstanceResolution.js index 9fabab3dd0921..bbc421169b381 100644 --- a/tests/baselines/reference/staticInstanceResolution.js +++ b/tests/baselines/reference/staticInstanceResolution.js @@ -17,6 +17,7 @@ class Comment { } //// [staticInstanceResolution.js] +"use strict"; var Comment = /** @class */ (function () { function Comment() { } diff --git a/tests/baselines/reference/staticInstanceResolution2.js b/tests/baselines/reference/staticInstanceResolution2.js index aabe4d7590438..46f785cfcea6d 100644 --- a/tests/baselines/reference/staticInstanceResolution2.js +++ b/tests/baselines/reference/staticInstanceResolution2.js @@ -14,6 +14,7 @@ B.hasOwnProperty('foo'); //// [staticInstanceResolution2.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/staticInstanceResolution4.js b/tests/baselines/reference/staticInstanceResolution4.js index 66ec7e4abe128..733657513f377 100644 --- a/tests/baselines/reference/staticInstanceResolution4.js +++ b/tests/baselines/reference/staticInstanceResolution4.js @@ -8,6 +8,7 @@ class A { A.foo(); //// [staticInstanceResolution4.js] +"use strict"; var A = /** @class */ (function () { function A() { } diff --git a/tests/baselines/reference/staticInterfaceAssignmentCompat.js b/tests/baselines/reference/staticInterfaceAssignmentCompat.js index ee2f4dd988e5b..a7e48d97ef179 100644 --- a/tests/baselines/reference/staticInterfaceAssignmentCompat.js +++ b/tests/baselines/reference/staticInterfaceAssignmentCompat.js @@ -15,6 +15,7 @@ var x: ShapeFactory = Shape; //// [staticInterfaceAssignmentCompat.js] +"use strict"; var Shape = /** @class */ (function () { function Shape() { } diff --git a/tests/baselines/reference/staticMemberAccessOffDerivedType1.js b/tests/baselines/reference/staticMemberAccessOffDerivedType1.js index 7ca5559eea459..62f0ce6752203 100644 --- a/tests/baselines/reference/staticMemberAccessOffDerivedType1.js +++ b/tests/baselines/reference/staticMemberAccessOffDerivedType1.js @@ -12,6 +12,7 @@ class P extends SomeBase { //// [staticMemberAccessOffDerivedType1.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/staticMemberAssignsToConstructorFunctionMembers.js b/tests/baselines/reference/staticMemberAssignsToConstructorFunctionMembers.js index 4937e5728d621..e8b7742a449b7 100644 --- a/tests/baselines/reference/staticMemberAssignsToConstructorFunctionMembers.js +++ b/tests/baselines/reference/staticMemberAssignsToConstructorFunctionMembers.js @@ -15,6 +15,7 @@ class C { } //// [staticMemberAssignsToConstructorFunctionMembers.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/staticMemberExportAccess.js b/tests/baselines/reference/staticMemberExportAccess.js index 00b93d6c88463..d6a82c76979d4 100644 --- a/tests/baselines/reference/staticMemberExportAccess.js +++ b/tests/baselines/reference/staticMemberExportAccess.js @@ -23,6 +23,7 @@ var r4 = $.sammy.x; // error Sammy.bar(); //// [staticMemberExportAccess.js] +"use strict"; var Sammy = /** @class */ (function () { function Sammy() { } diff --git a/tests/baselines/reference/staticMemberInitialization.js b/tests/baselines/reference/staticMemberInitialization.js index 832cce42968db..6cff8ef362ffd 100644 --- a/tests/baselines/reference/staticMemberInitialization.js +++ b/tests/baselines/reference/staticMemberInitialization.js @@ -9,6 +9,7 @@ var c = new C(); var r = C.x; //// [staticMemberInitialization.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/staticMemberOfClassAndPublicMemberOfAnotherClassAssignment.js b/tests/baselines/reference/staticMemberOfClassAndPublicMemberOfAnotherClassAssignment.js index 55cf63a0062db..6cdf8df0639b4 100644 --- a/tests/baselines/reference/staticMemberOfClassAndPublicMemberOfAnotherClassAssignment.js +++ b/tests/baselines/reference/staticMemberOfClassAndPublicMemberOfAnotherClassAssignment.js @@ -28,6 +28,7 @@ c = a; //// [staticMemberOfClassAndPublicMemberOfAnotherClassAssignment.js] +"use strict"; var B = /** @class */ (function () { function B() { } diff --git a/tests/baselines/reference/staticMemberWithStringAndNumberNames.js b/tests/baselines/reference/staticMemberWithStringAndNumberNames.js index 3acefb04e4a5c..751df2b46710e 100644 --- a/tests/baselines/reference/staticMemberWithStringAndNumberNames.js +++ b/tests/baselines/reference/staticMemberWithStringAndNumberNames.js @@ -15,6 +15,7 @@ class C { } //// [staticMemberWithStringAndNumberNames.js] +"use strict"; var C = /** @class */ (function () { function C() { this.x = C['foo']; diff --git a/tests/baselines/reference/staticMembersUsingClassTypeParameter.js b/tests/baselines/reference/staticMembersUsingClassTypeParameter.js index f743ee3e790b5..873e2debed27d 100644 --- a/tests/baselines/reference/staticMembersUsingClassTypeParameter.js +++ b/tests/baselines/reference/staticMembersUsingClassTypeParameter.js @@ -18,6 +18,7 @@ class C3 { } //// [staticMembersUsingClassTypeParameter.js] +"use strict"; // BUG 745747 var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/staticMethodReferencingTypeArgument1.js b/tests/baselines/reference/staticMethodReferencingTypeArgument1.js index 696b92e48823b..a1b959afc64f9 100644 --- a/tests/baselines/reference/staticMethodReferencingTypeArgument1.js +++ b/tests/baselines/reference/staticMethodReferencingTypeArgument1.js @@ -19,6 +19,7 @@ namespace Editor { } //// [staticMethodReferencingTypeArgument1.js] +"use strict"; var Editor; (function (Editor) { var List = /** @class */ (function () { diff --git a/tests/baselines/reference/staticMethodsReferencingClassTypeParameters.js b/tests/baselines/reference/staticMethodsReferencingClassTypeParameters.js index f3cfa011fa5fe..2b2e893053500 100644 --- a/tests/baselines/reference/staticMethodsReferencingClassTypeParameters.js +++ b/tests/baselines/reference/staticMethodsReferencingClassTypeParameters.js @@ -6,6 +6,7 @@ class C { } //// [staticMethodsReferencingClassTypeParameters.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/staticMismatchBecauseOfPrototype.js b/tests/baselines/reference/staticMismatchBecauseOfPrototype.js index b6c2be6553a83..370b5ed4b7f8d 100644 --- a/tests/baselines/reference/staticMismatchBecauseOfPrototype.js +++ b/tests/baselines/reference/staticMismatchBecauseOfPrototype.js @@ -14,6 +14,7 @@ class B extends A { } //// [staticMismatchBecauseOfPrototype.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/staticModifierAlreadySeen.js b/tests/baselines/reference/staticModifierAlreadySeen.js index eb1b386baebdb..85aff8764258e 100644 --- a/tests/baselines/reference/staticModifierAlreadySeen.js +++ b/tests/baselines/reference/staticModifierAlreadySeen.js @@ -7,6 +7,7 @@ class C { } //// [staticModifierAlreadySeen.js] +"use strict"; var C = /** @class */ (function () { function C() { this.foo = 1; diff --git a/tests/baselines/reference/staticMustPrecedePublic.js b/tests/baselines/reference/staticMustPrecedePublic.js index a36a0f8d9481a..59d8edb9406b1 100644 --- a/tests/baselines/reference/staticMustPrecedePublic.js +++ b/tests/baselines/reference/staticMustPrecedePublic.js @@ -8,6 +8,7 @@ class Outer { //// [staticMustPrecedePublic.js] +"use strict"; var Outer = /** @class */ (function () { function Outer() { } diff --git a/tests/baselines/reference/staticOffOfInstance1.js b/tests/baselines/reference/staticOffOfInstance1.js index e09fbd7e4f114..5cd2402be5fd2 100644 --- a/tests/baselines/reference/staticOffOfInstance1.js +++ b/tests/baselines/reference/staticOffOfInstance1.js @@ -9,6 +9,7 @@ class List { } //// [staticOffOfInstance1.js] +"use strict"; var List = /** @class */ (function () { function List() { } diff --git a/tests/baselines/reference/staticOffOfInstance2.js b/tests/baselines/reference/staticOffOfInstance2.js index 631e368d20ec7..868b0760705c4 100644 --- a/tests/baselines/reference/staticOffOfInstance2.js +++ b/tests/baselines/reference/staticOffOfInstance2.js @@ -11,6 +11,7 @@ class List { //// [staticOffOfInstance2.js] +"use strict"; var List = /** @class */ (function () { function List() { } diff --git a/tests/baselines/reference/staticPropSuper.js b/tests/baselines/reference/staticPropSuper.js index de208dc9e498d..ad36598435527 100644 --- a/tests/baselines/reference/staticPropSuper.js +++ b/tests/baselines/reference/staticPropSuper.js @@ -38,6 +38,7 @@ class E extends A { } //// [staticPropSuper.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/staticPropertyAndFunctionWithSameName.js b/tests/baselines/reference/staticPropertyAndFunctionWithSameName.js index 9982494a968c7..6c2b91150360e 100644 --- a/tests/baselines/reference/staticPropertyAndFunctionWithSameName.js +++ b/tests/baselines/reference/staticPropertyAndFunctionWithSameName.js @@ -12,6 +12,7 @@ class D { } //// [staticPropertyAndFunctionWithSameName.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/staticPropertyNotInClassType.js b/tests/baselines/reference/staticPropertyNotInClassType.js index 685b84bf5cf80..4d5c359c619b4 100644 --- a/tests/baselines/reference/staticPropertyNotInClassType.js +++ b/tests/baselines/reference/staticPropertyNotInClassType.js @@ -42,6 +42,7 @@ namespace Generic { } //// [staticPropertyNotInClassType.js] +"use strict"; var NonGeneric; (function (NonGeneric) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/staticPrototypeProperty.js b/tests/baselines/reference/staticPrototypeProperty.js index 9914657ca0d99..5713124da58ec 100644 --- a/tests/baselines/reference/staticPrototypeProperty.js +++ b/tests/baselines/reference/staticPrototypeProperty.js @@ -10,6 +10,7 @@ class C2 { } //// [staticPrototypeProperty.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/staticPrototypePropertyOnClass.js b/tests/baselines/reference/staticPrototypePropertyOnClass.js index d9e5c10cf37d7..929599c22eaf2 100644 --- a/tests/baselines/reference/staticPrototypePropertyOnClass.js +++ b/tests/baselines/reference/staticPrototypePropertyOnClass.js @@ -21,6 +21,7 @@ var c = c3; var d = c4; //// [staticPrototypePropertyOnClass.js] +"use strict"; var c1 = /** @class */ (function () { function c1() { } diff --git a/tests/baselines/reference/staticVisibility.js b/tests/baselines/reference/staticVisibility.js index e2d94558e5a79..b041aa2c57e20 100644 --- a/tests/baselines/reference/staticVisibility.js +++ b/tests/baselines/reference/staticVisibility.js @@ -39,6 +39,7 @@ static set Bar(bar:string) {barback = bar;} // not ok //// [staticVisibility.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { var v = 0; diff --git a/tests/baselines/reference/staticVisibility2.js b/tests/baselines/reference/staticVisibility2.js index b613cee67acd9..6ccb054e65bcd 100644 --- a/tests/baselines/reference/staticVisibility2.js +++ b/tests/baselines/reference/staticVisibility2.js @@ -9,6 +9,7 @@ class Square { } //// [staticVisibility2.js] +"use strict"; var Square = /** @class */ (function () { function Square(sideLength) { this.sideLength = sideLength; diff --git a/tests/baselines/reference/statics.js b/tests/baselines/reference/statics.js index cf13cc8dc9075..550afaed0b00d 100644 --- a/tests/baselines/reference/statics.js +++ b/tests/baselines/reference/statics.js @@ -34,6 +34,7 @@ M.f(); //// [statics.js] +"use strict"; var M; (function (M) { var C = /** @class */ (function () { diff --git a/tests/baselines/reference/staticsInAFunction.js b/tests/baselines/reference/staticsInAFunction.js index bea75e9bc5477..d2feee328d68b 100644 --- a/tests/baselines/reference/staticsInAFunction.js +++ b/tests/baselines/reference/staticsInAFunction.js @@ -9,6 +9,7 @@ function boo{ //// [staticsInAFunction.js] +"use strict"; function boo() { test(); test(name, string); diff --git a/tests/baselines/reference/staticsInConstructorBodies.js b/tests/baselines/reference/staticsInConstructorBodies.js index 2e27968fe2562..fae3db36f85a6 100644 --- a/tests/baselines/reference/staticsInConstructorBodies.js +++ b/tests/baselines/reference/staticsInConstructorBodies.js @@ -9,6 +9,7 @@ class C { } //// [staticsInConstructorBodies.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/staticsNotInScopeInClodule.js b/tests/baselines/reference/staticsNotInScopeInClodule.js index db9cb402f4f5a..dfb828f06352e 100644 --- a/tests/baselines/reference/staticsNotInScopeInClodule.js +++ b/tests/baselines/reference/staticsNotInScopeInClodule.js @@ -10,6 +10,7 @@ namespace Clod { } //// [staticsNotInScopeInClodule.js] +"use strict"; var Clod = /** @class */ (function () { function Clod() { } diff --git a/tests/baselines/reference/stradac.js b/tests/baselines/reference/stradac.js index ef5ebf6e975bf..8b4544db7480d 100644 --- a/tests/baselines/reference/stradac.js +++ b/tests/baselines/reference/stradac.js @@ -15,6 +15,7 @@ function foo() { } //// [stradac.js] +"use strict"; var x = 10; // C++-style comment /* diff --git a/tests/baselines/reference/strictBindCallApply2.js b/tests/baselines/reference/strictBindCallApply2.js index 68633b2854d59..7c3666d95c64d 100644 --- a/tests/baselines/reference/strictBindCallApply2.js +++ b/tests/baselines/reference/strictBindCallApply2.js @@ -12,6 +12,7 @@ const fb = fn.bind({ blub: "blub" }); //// [strictBindCallApply2.js] +"use strict"; // Repro from #32964 ; function fn() { } diff --git a/tests/baselines/reference/strictModeInConstructor.js b/tests/baselines/reference/strictModeInConstructor.js index 3009bd8e0183e..68997e19d1ac5 100644 --- a/tests/baselines/reference/strictModeInConstructor.js +++ b/tests/baselines/reference/strictModeInConstructor.js @@ -64,6 +64,7 @@ class Ds extends A { } //// [strictModeInConstructor.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/strictModeReservedWord.errors.txt b/tests/baselines/reference/strictModeReservedWord.errors.txt index 0adf12e8b7398..ca0a01a3423b9 100644 --- a/tests/baselines/reference/strictModeReservedWord.errors.txt +++ b/tests/baselines/reference/strictModeReservedWord.errors.txt @@ -1,3 +1,4 @@ +strictModeReservedWord.ts(1,5): error TS1212: Identifier expected. 'let' is a reserved word in strict mode. strictModeReservedWord.ts(1,5): error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. strictModeReservedWord.ts(5,9): error TS1212: Identifier expected. 'public' is a reserved word in strict mode. strictModeReservedWord.ts(6,9): error TS1212: Identifier expected. 'static' is a reserved word in strict mode. @@ -39,9 +40,11 @@ strictModeReservedWord.ts(24,5): error TS2349: This expression is not callable. Type 'String' has no call signatures. -==== strictModeReservedWord.ts (38 errors) ==== +==== strictModeReservedWord.ts (39 errors) ==== let let = 10; ~~~ +!!! error TS1212: Identifier expected. 'let' is a reserved word in strict mode. + ~~~ !!! error TS2480: 'let' is not allowed to be used as a name in 'let' or 'const' declarations. function foo() { diff --git a/tests/baselines/reference/strictModeReservedWord.js b/tests/baselines/reference/strictModeReservedWord.js index 2c70259a061f5..b3e054c2403e9 100644 --- a/tests/baselines/reference/strictModeReservedWord.js +++ b/tests/baselines/reference/strictModeReservedWord.js @@ -30,6 +30,7 @@ function foo() { //// [strictModeReservedWord.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/strictModeReservedWordInClassDeclaration.errors.txt b/tests/baselines/reference/strictModeReservedWordInClassDeclaration.errors.txt index 2c24535590596..a70617e40df51 100644 --- a/tests/baselines/reference/strictModeReservedWordInClassDeclaration.errors.txt +++ b/tests/baselines/reference/strictModeReservedWordInClassDeclaration.errors.txt @@ -1,3 +1,4 @@ +strictModeReservedWordInClassDeclaration.ts(1,11): error TS1212: Identifier expected. 'public' is a reserved word in strict mode. strictModeReservedWordInClassDeclaration.ts(4,17): error TS1213: Identifier expected. 'private' is a reserved word in strict mode. Class definitions are automatically in strict mode. strictModeReservedWordInClassDeclaration.ts(4,26): error TS1213: Identifier expected. 'public' is a reserved word in strict mode. Class definitions are automatically in strict mode. strictModeReservedWordInClassDeclaration.ts(4,34): error TS1213: Identifier expected. 'static' is a reserved word in strict mode. Class definitions are automatically in strict mode. @@ -25,8 +26,10 @@ strictModeReservedWordInClassDeclaration.ts(28,17): error TS1213: Identifier exp strictModeReservedWordInClassDeclaration.ts(28,17): error TS2304: Cannot find name 'package'. -==== strictModeReservedWordInClassDeclaration.ts (25 errors) ==== +==== strictModeReservedWordInClassDeclaration.ts (26 errors) ==== interface public { } + ~~~~~~ +!!! error TS1212: Identifier expected. 'public' is a reserved word in strict mode. class Foo { constructor(private, public, static) { diff --git a/tests/baselines/reference/strictModeReservedWordInClassDeclaration.js b/tests/baselines/reference/strictModeReservedWordInClassDeclaration.js index 864ea71d415e8..09241767b0a85 100644 --- a/tests/baselines/reference/strictModeReservedWordInClassDeclaration.js +++ b/tests/baselines/reference/strictModeReservedWordInClassDeclaration.js @@ -31,6 +31,7 @@ class G extends package { } class H extends package.A { } //// [strictModeReservedWordInClassDeclaration.js] +"use strict"; var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { extendStatics = Object.setPrototypeOf || diff --git a/tests/baselines/reference/strictNullChecksNoWidening.js b/tests/baselines/reference/strictNullChecksNoWidening.js index a0bdd158fb57d..9f4e5d184b87a 100644 --- a/tests/baselines/reference/strictNullChecksNoWidening.js +++ b/tests/baselines/reference/strictNullChecksNoWidening.js @@ -19,6 +19,7 @@ var c3 = f([]); //// [strictNullChecksNoWidening.js] +"use strict"; var a1 = null; var a2 = undefined; var a3 = void 0; diff --git a/tests/baselines/reference/strictNullEmptyDestructuring.js b/tests/baselines/reference/strictNullEmptyDestructuring.js index 8ca428d0fcce6..fca2e6faabe71 100644 --- a/tests/baselines/reference/strictNullEmptyDestructuring.js +++ b/tests/baselines/reference/strictNullEmptyDestructuring.js @@ -27,6 +27,7 @@ let { } = Math.random() ? null : undefined; //// [strictNullEmptyDestructuring.js] +"use strict"; // Repro from #20873 var _a = null; var _b = null; diff --git a/tests/baselines/reference/strictNullLogicalAndOr.js b/tests/baselines/reference/strictNullLogicalAndOr.js index f4735c129e88c..127cf4de04886 100644 --- a/tests/baselines/reference/strictNullLogicalAndOr.js +++ b/tests/baselines/reference/strictNullLogicalAndOr.js @@ -16,6 +16,7 @@ function sq(n?: number): number { sq(3); //// [strictNullLogicalAndOr.js] +"use strict"; // Repro from #9113 var sinOrCos = Math.random() < .5; var choice = sinOrCos && Math.sin || Math.cos; diff --git a/tests/baselines/reference/strictNullNotNullIndexTypeNoLib.js b/tests/baselines/reference/strictNullNotNullIndexTypeNoLib.js index 2e28286e5c1af..b8d0d8df64ba2 100644 --- a/tests/baselines/reference/strictNullNotNullIndexTypeNoLib.js +++ b/tests/baselines/reference/strictNullNotNullIndexTypeNoLib.js @@ -36,6 +36,7 @@ class Test2 { } //// [strictNullNotNullIndexTypeNoLib.js] +"use strict"; var Test = /** @class */ (function () { function Test() { } diff --git a/tests/baselines/reference/strictNullNotNullIndexTypeShouldWork.js b/tests/baselines/reference/strictNullNotNullIndexTypeShouldWork.js index 62517d73644df..36ec50d9ff50c 100644 --- a/tests/baselines/reference/strictNullNotNullIndexTypeShouldWork.js +++ b/tests/baselines/reference/strictNullNotNullIndexTypeShouldWork.js @@ -35,6 +35,7 @@ class Test2 { } //// [strictNullNotNullIndexTypeShouldWork.js] +"use strict"; var Test = /** @class */ (function () { function Test() { } diff --git a/tests/baselines/reference/strictTupleLength.js b/tests/baselines/reference/strictTupleLength.js index f57fc62e3935a..1f24c04c7a713 100644 --- a/tests/baselines/reference/strictTupleLength.js +++ b/tests/baselines/reference/strictTupleLength.js @@ -23,6 +23,7 @@ arr = t1; // ok with or without strict //// [strictTupleLength.js] +"use strict"; var len0 = t0.length; var len1 = t1.length; var len2 = t2.length; diff --git a/tests/baselines/reference/stringEnumInElementAccess01.js b/tests/baselines/reference/stringEnumInElementAccess01.js index 26e8e94b7e659..86bd5ed73fb99 100644 --- a/tests/baselines/reference/stringEnumInElementAccess01.js +++ b/tests/baselines/reference/stringEnumInElementAccess01.js @@ -19,6 +19,7 @@ const snb: string | number | boolean = item[e]; //// [stringEnumInElementAccess01.js] +"use strict"; var E; (function (E) { E["A"] = "a"; diff --git a/tests/baselines/reference/stringEnumLiteralTypes1.js b/tests/baselines/reference/stringEnumLiteralTypes1.js index 7023e7db5dcfa..0e519c6fe6104 100644 --- a/tests/baselines/reference/stringEnumLiteralTypes1.js +++ b/tests/baselines/reference/stringEnumLiteralTypes1.js @@ -102,6 +102,7 @@ function f21(x: Item) { } //// [stringEnumLiteralTypes1.js] +"use strict"; ; function f1() { var a; diff --git a/tests/baselines/reference/stringEnumLiteralTypes2.js b/tests/baselines/reference/stringEnumLiteralTypes2.js index 137de90106df9..520fcf36a078e 100644 --- a/tests/baselines/reference/stringEnumLiteralTypes2.js +++ b/tests/baselines/reference/stringEnumLiteralTypes2.js @@ -102,6 +102,7 @@ function f21(x: Item) { } //// [stringEnumLiteralTypes2.js] +"use strict"; ; function f1() { var a; diff --git a/tests/baselines/reference/stringEnumLiteralTypes3.js b/tests/baselines/reference/stringEnumLiteralTypes3.js index abb0a7fb28cde..a865ec572a5eb 100644 --- a/tests/baselines/reference/stringEnumLiteralTypes3.js +++ b/tests/baselines/reference/stringEnumLiteralTypes3.js @@ -122,6 +122,7 @@ function f13(x: Choice): Choice { } //// [stringEnumLiteralTypes3.js] +"use strict"; ; function f1(a, b, c, d) { a = a; diff --git a/tests/baselines/reference/stringHasStringValuedNumericIndexer.js b/tests/baselines/reference/stringHasStringValuedNumericIndexer.js index 82935cc8349b6..84c72ea0bdf97 100644 --- a/tests/baselines/reference/stringHasStringValuedNumericIndexer.js +++ b/tests/baselines/reference/stringHasStringValuedNumericIndexer.js @@ -4,4 +4,5 @@ var str: string = ""[0]; //// [stringHasStringValuedNumericIndexer.js] +"use strict"; var str = ""[0]; diff --git a/tests/baselines/reference/stringIncludes.js b/tests/baselines/reference/stringIncludes.js index 43047294ccfc5..9bebb4fbefa6f 100644 --- a/tests/baselines/reference/stringIncludes.js +++ b/tests/baselines/reference/stringIncludes.js @@ -6,6 +6,7 @@ includes = "abcde".includes("cd"); includes = "abcde".includes("cd", 2); //// [stringIncludes.js] +"use strict"; var includes; includes = "abcde".includes("cd"); includes = "abcde".includes("cd", 2); diff --git a/tests/baselines/reference/stringIndexerAndConstructor.js b/tests/baselines/reference/stringIndexerAndConstructor.js index 1e34d0cde52cc..138ea8d5f5341 100644 --- a/tests/baselines/reference/stringIndexerAndConstructor.js +++ b/tests/baselines/reference/stringIndexerAndConstructor.js @@ -16,6 +16,7 @@ interface I { } //// [stringIndexerAndConstructor.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/stringIndexerAndConstructor1.js b/tests/baselines/reference/stringIndexerAndConstructor1.js index f7bd16e44b83d..b849c9eeb361d 100644 --- a/tests/baselines/reference/stringIndexerAndConstructor1.js +++ b/tests/baselines/reference/stringIndexerAndConstructor1.js @@ -7,3 +7,4 @@ interface I { } //// [stringIndexerAndConstructor1.js] +"use strict"; diff --git a/tests/baselines/reference/stringIndexerAssignments1.js b/tests/baselines/reference/stringIndexerAssignments1.js index 047d10d391a8d..41f9fe68bf51d 100644 --- a/tests/baselines/reference/stringIndexerAssignments1.js +++ b/tests/baselines/reference/stringIndexerAssignments1.js @@ -9,6 +9,7 @@ x = b; // error //// [stringIndexerAssignments1.js] +"use strict"; var x; x = a; x = b; // error diff --git a/tests/baselines/reference/stringIndexerAssignments2.js b/tests/baselines/reference/stringIndexerAssignments2.js index 5e68b061e2748..1a1c418ea621d 100644 --- a/tests/baselines/reference/stringIndexerAssignments2.js +++ b/tests/baselines/reference/stringIndexerAssignments2.js @@ -23,6 +23,7 @@ x = a; x = b; //// [stringIndexerAssignments2.js] +"use strict"; var C1 = /** @class */ (function () { function C1() { } diff --git a/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations.js b/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations.js index db50ef25c7129..525fbf12cb410 100644 --- a/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations.js +++ b/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations.js @@ -100,6 +100,7 @@ var b: { [x: string]: string; } = { } //// [stringIndexerConstrainsPropertyDeclarations.js] +"use strict"; // String indexer types constrain the types of named properties in their containing type var C = /** @class */ (function () { function C() { diff --git a/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations2.js b/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations2.js index dbbe41ce2a409..50ca1d07e2d0e 100644 --- a/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations2.js +++ b/tests/baselines/reference/stringIndexerConstrainsPropertyDeclarations2.js @@ -42,6 +42,7 @@ var b: { [x: string]: A } = { } //// [stringIndexerConstrainsPropertyDeclarations2.js] +"use strict"; // String indexer providing a constraint of a user defined type var __extends = (this && this.__extends) || (function () { var extendStatics = function (d, b) { diff --git a/tests/baselines/reference/stringIndexingResults.js b/tests/baselines/reference/stringIndexingResults.js index 53de29b48791a..3ac9621ff8acf 100644 --- a/tests/baselines/reference/stringIndexingResults.js +++ b/tests/baselines/reference/stringIndexingResults.js @@ -38,6 +38,7 @@ var r12 = b[1]; //// [stringIndexingResults.js] +"use strict"; var C = /** @class */ (function () { function C() { this.y = ''; diff --git a/tests/baselines/reference/stringLiteralCheckedInIf01.js b/tests/baselines/reference/stringLiteralCheckedInIf01.js index 160b60c68139f..bed8badada09b 100644 --- a/tests/baselines/reference/stringLiteralCheckedInIf01.js +++ b/tests/baselines/reference/stringLiteralCheckedInIf01.js @@ -17,6 +17,7 @@ function f(foo: T) { } //// [stringLiteralCheckedInIf01.js] +"use strict"; function f(foo) { if (foo === "a") { return foo; diff --git a/tests/baselines/reference/stringLiteralCheckedInIf02.js b/tests/baselines/reference/stringLiteralCheckedInIf02.js index 92e51733cc0d4..d29544b8fbea1 100644 --- a/tests/baselines/reference/stringLiteralCheckedInIf02.js +++ b/tests/baselines/reference/stringLiteralCheckedInIf02.js @@ -18,6 +18,7 @@ function f(foo: T) { } //// [stringLiteralCheckedInIf02.js] +"use strict"; function isS(t) { return t === "a" || t === "b"; } diff --git a/tests/baselines/reference/stringLiteralMatchedInSwitch01.js b/tests/baselines/reference/stringLiteralMatchedInSwitch01.js index dbf783a12cacd..0fdf0f0387de7 100644 --- a/tests/baselines/reference/stringLiteralMatchedInSwitch01.js +++ b/tests/baselines/reference/stringLiteralMatchedInSwitch01.js @@ -15,6 +15,7 @@ switch (foo) { } //// [stringLiteralMatchedInSwitch01.js] +"use strict"; var foo; switch (foo) { case "a": diff --git a/tests/baselines/reference/stringLiteralObjectLiteralDeclaration1.js b/tests/baselines/reference/stringLiteralObjectLiteralDeclaration1.js index 0dbde8a5fd799..5604f4bee4637 100644 --- a/tests/baselines/reference/stringLiteralObjectLiteralDeclaration1.js +++ b/tests/baselines/reference/stringLiteralObjectLiteralDeclaration1.js @@ -7,6 +7,7 @@ namespace m1 { //// [stringLiteralObjectLiteralDeclaration1.js] +"use strict"; var m1; (function (m1) { m1.n = { 'foo bar': 4 }; diff --git a/tests/baselines/reference/stringLiteralPropertyNameWithLineContinuation1.js b/tests/baselines/reference/stringLiteralPropertyNameWithLineContinuation1.js index 311d387fc9861..e2360926e1b47 100644 --- a/tests/baselines/reference/stringLiteralPropertyNameWithLineContinuation1.js +++ b/tests/baselines/reference/stringLiteralPropertyNameWithLineContinuation1.js @@ -7,6 +7,7 @@ x.text = "bar" //// [stringLiteralPropertyNameWithLineContinuation1.js] +"use strict"; var x = { 'text\ ': 'hello' }; x.text = "bar"; diff --git a/tests/baselines/reference/stringLiteralType.js b/tests/baselines/reference/stringLiteralType.js index 027b19ea75c03..7e1d0cc0252e4 100644 --- a/tests/baselines/reference/stringLiteralType.js +++ b/tests/baselines/reference/stringLiteralType.js @@ -9,6 +9,7 @@ function f(x: any) { } //// [stringLiteralType.js] +"use strict"; var x; function f(x) { } diff --git a/tests/baselines/reference/stringLiteralTypeAssertion01.js b/tests/baselines/reference/stringLiteralTypeAssertion01.js index 3ababdb1b7096..4bb3943280c73 100644 --- a/tests/baselines/reference/stringLiteralTypeAssertion01.js +++ b/tests/baselines/reference/stringLiteralTypeAssertion01.js @@ -34,6 +34,7 @@ str = t as string; //// [stringLiteralTypeAssertion01.js] +"use strict"; var s; var t; var str; diff --git a/tests/baselines/reference/stringLiteralTypeIsSubtypeOfString.js b/tests/baselines/reference/stringLiteralTypeIsSubtypeOfString.js index 587609b7226ee..70df4fa6a5634 100644 --- a/tests/baselines/reference/stringLiteralTypeIsSubtypeOfString.js +++ b/tests/baselines/reference/stringLiteralTypeIsSubtypeOfString.js @@ -104,6 +104,7 @@ function f16(x: any) { } //// [stringLiteralTypeIsSubtypeOfString.js] +"use strict"; // string literal types are subtypes of string, any function f1(x) { } function f2(x) { } diff --git a/tests/baselines/reference/stringLiteralTypesAndLogicalOrExpressions01.js b/tests/baselines/reference/stringLiteralTypesAndLogicalOrExpressions01.js index 5f46bb9caebc7..38a5c684d49d5 100644 --- a/tests/baselines/reference/stringLiteralTypesAndLogicalOrExpressions01.js +++ b/tests/baselines/reference/stringLiteralTypesAndLogicalOrExpressions01.js @@ -11,6 +11,7 @@ let e: "foo" | "bar" = d; //// [stringLiteralTypesAndLogicalOrExpressions01.js] +"use strict"; var a = "foo"; var b = a || "foo"; var c = b; diff --git a/tests/baselines/reference/stringLiteralTypesAndParenthesizedExpressions01.js b/tests/baselines/reference/stringLiteralTypesAndParenthesizedExpressions01.js index 95ea7077e7393..6ca6b8c86e90a 100644 --- a/tests/baselines/reference/stringLiteralTypesAndParenthesizedExpressions01.js +++ b/tests/baselines/reference/stringLiteralTypesAndParenthesizedExpressions01.js @@ -10,6 +10,7 @@ let d: "foo" | "bar" = (myRandBool ? "foo" : ("bar")); //// [stringLiteralTypesAndParenthesizedExpressions01.js] +"use strict"; var a = ("foo"); var b = ("foo"); var c = (myRandBool ? "foo" : ("foo")); diff --git a/tests/baselines/reference/stringLiteralTypesAndTuples01.js b/tests/baselines/reference/stringLiteralTypesAndTuples01.js index 011888a9e235f..c9389811484f1 100644 --- a/tests/baselines/reference/stringLiteralTypesAndTuples01.js +++ b/tests/baselines/reference/stringLiteralTypesAndTuples01.js @@ -21,6 +21,7 @@ function rawr(dino: RexOrRaptor) { } //// [stringLiteralTypesAndTuples01.js] +"use strict"; // Should all be strings. var _a = ["Hello", "Brave", "New", "World"], hello = _a[0], brave = _a[1], newish = _a[2], world = _a[3]; var _b = ['I\'m', 'a', 't-rex'], im = _b[0], a = _b[1], dinosaur = _b[2]; diff --git a/tests/baselines/reference/stringLiteralTypesAsTags01.js b/tests/baselines/reference/stringLiteralTypesAsTags01.js index abea126b14a73..9a8ebcd7a8200 100644 --- a/tests/baselines/reference/stringLiteralTypesAsTags01.js +++ b/tests/baselines/reference/stringLiteralTypesAsTags01.js @@ -44,6 +44,7 @@ else { } //// [stringLiteralTypesAsTags01.js] +"use strict"; function hasKind(entity, kind) { return entity.kind === kind; } diff --git a/tests/baselines/reference/stringLiteralTypesAsTags02.js b/tests/baselines/reference/stringLiteralTypesAsTags02.js index 70f658ddede6a..5dc99e352cfb8 100644 --- a/tests/baselines/reference/stringLiteralTypesAsTags02.js +++ b/tests/baselines/reference/stringLiteralTypesAsTags02.js @@ -43,6 +43,7 @@ else { } //// [stringLiteralTypesAsTags02.js] +"use strict"; function hasKind(entity, kind) { return entity.kind === kind; } diff --git a/tests/baselines/reference/stringLiteralTypesAsTags03.js b/tests/baselines/reference/stringLiteralTypesAsTags03.js index d24fc06727f00..e16e0c59395b5 100644 --- a/tests/baselines/reference/stringLiteralTypesAsTags03.js +++ b/tests/baselines/reference/stringLiteralTypesAsTags03.js @@ -47,6 +47,7 @@ else { } //// [stringLiteralTypesAsTags03.js] +"use strict"; function hasKind(entity, kind) { return entity.kind === kind; } diff --git a/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint01.js b/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint01.js index 37bf116a54a35..78dd9aab1faad 100644 --- a/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint01.js +++ b/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint01.js @@ -20,6 +20,7 @@ let hResult = h("foo"); hResult = h("bar"); //// [stringLiteralTypesAsTypeParameterConstraint01.js] +"use strict"; function foo(f) { return f; } diff --git a/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint02.js b/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint02.js index 039547e9bd7e7..14bb6b08971ad 100644 --- a/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint02.js +++ b/tests/baselines/reference/stringLiteralTypesAsTypeParameterConstraint02.js @@ -9,6 +9,7 @@ let f = foo((y: "foo" | "bar") => y === "foo" ? y : "foo"); let fResult = f("foo"); //// [stringLiteralTypesAsTypeParameterConstraint02.js] +"use strict"; function foo(f) { return f; } diff --git a/tests/baselines/reference/stringLiteralTypesInImplementationSignatures.js b/tests/baselines/reference/stringLiteralTypesInImplementationSignatures.js index 87f5b7abddf85..da9e1ce509413 100644 --- a/tests/baselines/reference/stringLiteralTypesInImplementationSignatures.js +++ b/tests/baselines/reference/stringLiteralTypesInImplementationSignatures.js @@ -29,6 +29,7 @@ var b = { //// [stringLiteralTypesInImplementationSignatures.js] +"use strict"; // String literal types are only valid in overload signatures function foo(x) { } var f = function foo(x) { }; diff --git a/tests/baselines/reference/stringLiteralTypesInImplementationSignatures2.js b/tests/baselines/reference/stringLiteralTypesInImplementationSignatures2.js index 7f27f4a2b3aac..dec1d8ef4406c 100644 --- a/tests/baselines/reference/stringLiteralTypesInImplementationSignatures2.js +++ b/tests/baselines/reference/stringLiteralTypesInImplementationSignatures2.js @@ -32,6 +32,7 @@ var b = { //// [stringLiteralTypesInImplementationSignatures2.js] +"use strict"; // String literal types are only valid in overload signatures function foo(x) { } var C = /** @class */ (function () { diff --git a/tests/baselines/reference/stringLiteralTypesInUnionTypes01.js b/tests/baselines/reference/stringLiteralTypesInUnionTypes01.js index 36984884c2ee9..ab474d7c45d2b 100644 --- a/tests/baselines/reference/stringLiteralTypesInUnionTypes01.js +++ b/tests/baselines/reference/stringLiteralTypesInUnionTypes01.js @@ -22,6 +22,7 @@ x = y; y = x; //// [stringLiteralTypesInUnionTypes01.js] +"use strict"; var x = undefined; var y = undefined; if (x === "foo") { diff --git a/tests/baselines/reference/stringLiteralTypesInUnionTypes02.js b/tests/baselines/reference/stringLiteralTypesInUnionTypes02.js index e9885846e7037..4e74a2d3ca43c 100644 --- a/tests/baselines/reference/stringLiteralTypesInUnionTypes02.js +++ b/tests/baselines/reference/stringLiteralTypesInUnionTypes02.js @@ -22,6 +22,7 @@ x = y; y = x; //// [stringLiteralTypesInUnionTypes02.js] +"use strict"; var x = undefined; var y = undefined; if (x === "foo") { diff --git a/tests/baselines/reference/stringLiteralTypesInUnionTypes03.js b/tests/baselines/reference/stringLiteralTypesInUnionTypes03.js index 20bcb833cb653..1ac194ee00410 100644 --- a/tests/baselines/reference/stringLiteralTypesInUnionTypes03.js +++ b/tests/baselines/reference/stringLiteralTypesInUnionTypes03.js @@ -22,6 +22,7 @@ x = y; y = x; //// [stringLiteralTypesInUnionTypes03.js] +"use strict"; var x; var y = undefined; if (x === "foo") { diff --git a/tests/baselines/reference/stringLiteralTypesInUnionTypes04.js b/tests/baselines/reference/stringLiteralTypesInUnionTypes04.js index bab238f1ec613..d3f2cb35dd770 100644 --- a/tests/baselines/reference/stringLiteralTypesInUnionTypes04.js +++ b/tests/baselines/reference/stringLiteralTypesInUnionTypes04.js @@ -39,6 +39,7 @@ if (!!!x) { } //// [stringLiteralTypesInUnionTypes04.js] +"use strict"; var x = undefined; var y = undefined; if (x === "") { diff --git a/tests/baselines/reference/stringLiteralTypesInVariableDeclarations01.js b/tests/baselines/reference/stringLiteralTypesInVariableDeclarations01.js index 86710b2055e5c..30c343e592b78 100644 --- a/tests/baselines/reference/stringLiteralTypesInVariableDeclarations01.js +++ b/tests/baselines/reference/stringLiteralTypesInVariableDeclarations01.js @@ -20,6 +20,7 @@ f = "foo"; g = "bar"; //// [stringLiteralTypesInVariableDeclarations01.js] +"use strict"; var a; var b; var c; diff --git a/tests/baselines/reference/stringLiteralTypesOverloadAssignability01.js b/tests/baselines/reference/stringLiteralTypesOverloadAssignability01.js index d91f8b803981d..ef4503463fa9e 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloadAssignability01.js +++ b/tests/baselines/reference/stringLiteralTypesOverloadAssignability01.js @@ -18,6 +18,7 @@ a = b; b = a; //// [stringLiteralTypesOverloadAssignability01.js] +"use strict"; function f(x) { return 0; } diff --git a/tests/baselines/reference/stringLiteralTypesOverloadAssignability02.js b/tests/baselines/reference/stringLiteralTypesOverloadAssignability02.js index 64658127a522a..2706cdb85c9ae 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloadAssignability02.js +++ b/tests/baselines/reference/stringLiteralTypesOverloadAssignability02.js @@ -18,6 +18,7 @@ a = b; b = a; //// [stringLiteralTypesOverloadAssignability02.js] +"use strict"; function f(x) { return 0; } diff --git a/tests/baselines/reference/stringLiteralTypesOverloadAssignability03.js b/tests/baselines/reference/stringLiteralTypesOverloadAssignability03.js index 76cccd3a33838..bcf8c2a559849 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloadAssignability03.js +++ b/tests/baselines/reference/stringLiteralTypesOverloadAssignability03.js @@ -18,6 +18,7 @@ a = b; b = a; //// [stringLiteralTypesOverloadAssignability03.js] +"use strict"; function f(x) { return 0; } diff --git a/tests/baselines/reference/stringLiteralTypesOverloadAssignability04.js b/tests/baselines/reference/stringLiteralTypesOverloadAssignability04.js index 9beb8cb786a44..f1f5f2d68c78e 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloadAssignability04.js +++ b/tests/baselines/reference/stringLiteralTypesOverloadAssignability04.js @@ -18,6 +18,7 @@ a = b; b = a; //// [stringLiteralTypesOverloadAssignability04.js] +"use strict"; function f(x) { return 0; } diff --git a/tests/baselines/reference/stringLiteralTypesOverloadAssignability05.js b/tests/baselines/reference/stringLiteralTypesOverloadAssignability05.js index dd580b182b7cc..b802d916f0825 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloadAssignability05.js +++ b/tests/baselines/reference/stringLiteralTypesOverloadAssignability05.js @@ -19,6 +19,7 @@ a = b; b = a; //// [stringLiteralTypesOverloadAssignability05.js] +"use strict"; function f(x) { return 0; } diff --git a/tests/baselines/reference/stringLiteralTypesOverloads01.js b/tests/baselines/reference/stringLiteralTypesOverloads01.js index b08f55e70efa7..f1662e8679417 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloads01.js +++ b/tests/baselines/reference/stringLiteralTypesOverloads01.js @@ -55,6 +55,7 @@ namespace Consts2 { //// [stringLiteralTypesOverloads01.js] +"use strict"; function getFalsyPrimitive(x) { if (x === "string") { return ""; diff --git a/tests/baselines/reference/stringLiteralTypesOverloads02.js b/tests/baselines/reference/stringLiteralTypesOverloads02.js index cf6e285b9049b..29baa897c45c2 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloads02.js +++ b/tests/baselines/reference/stringLiteralTypesOverloads02.js @@ -53,6 +53,7 @@ namespace Consts2 { //// [stringLiteralTypesOverloads02.js] +"use strict"; function getFalsyPrimitive(x) { if (x === "string") { return ""; diff --git a/tests/baselines/reference/stringLiteralTypesOverloads03.js b/tests/baselines/reference/stringLiteralTypesOverloads03.js index 9f4e1fc7a0384..d6b8d18a8a770 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloads03.js +++ b/tests/baselines/reference/stringLiteralTypesOverloads03.js @@ -47,6 +47,7 @@ let gResult2 = g(world); let gResult3 = g(helloOrWorld); //// [stringLiteralTypesOverloads03.js] +"use strict"; var hello; var world; var helloOrWorld; diff --git a/tests/baselines/reference/stringLiteralTypesOverloads04.js b/tests/baselines/reference/stringLiteralTypesOverloads04.js index 87262594fdcf4..69364dc8b3ff7 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloads04.js +++ b/tests/baselines/reference/stringLiteralTypesOverloads04.js @@ -9,6 +9,7 @@ f(y => { }) //// [stringLiteralTypesOverloads04.js] +"use strict"; f(function (y) { var z = y = "foo"; return z; diff --git a/tests/baselines/reference/stringLiteralTypesOverloads05.js b/tests/baselines/reference/stringLiteralTypesOverloads05.js index d8481eac03056..c5524a2399fe0 100644 --- a/tests/baselines/reference/stringLiteralTypesOverloads05.js +++ b/tests/baselines/reference/stringLiteralTypesOverloads05.js @@ -14,6 +14,7 @@ function doThing(x: string, y?: string): Moose { } //// [stringLiteralTypesOverloads05.js] +"use strict"; ; function doThing(x, y) { return undefined; diff --git a/tests/baselines/reference/stringLiteralTypesTypePredicates01.js b/tests/baselines/reference/stringLiteralTypesTypePredicates01.js index fbeb9500e9bae..4e180c122136e 100644 --- a/tests/baselines/reference/stringLiteralTypesTypePredicates01.js +++ b/tests/baselines/reference/stringLiteralTypesTypePredicates01.js @@ -26,6 +26,7 @@ else { } //// [stringLiteralTypesTypePredicates01.js] +"use strict"; function kindIs(kind, is) { return kind === is; } diff --git a/tests/baselines/reference/stringLiteralTypesWithTemplateStrings01.js b/tests/baselines/reference/stringLiteralTypesWithTemplateStrings01.js index e7740b5b7a030..b163ab10ea8b4 100644 --- a/tests/baselines/reference/stringLiteralTypesWithTemplateStrings01.js +++ b/tests/baselines/reference/stringLiteralTypesWithTemplateStrings01.js @@ -8,6 +8,7 @@ let G_QUOTE_HI: 'G"HI'; let JK_BACKTICK_L: "JK`L" = `JK\`L`; //// [stringLiteralTypesWithTemplateStrings01.js] +"use strict"; var ABC = "ABC"; var DE_NEWLINE_F = "DE\nF"; var G_QUOTE_HI; diff --git a/tests/baselines/reference/stringLiteralTypesWithTemplateStrings02.js b/tests/baselines/reference/stringLiteralTypesWithTemplateStrings02.js index 0c8432b193331..bd4879e31eda5 100644 --- a/tests/baselines/reference/stringLiteralTypesWithTemplateStrings02.js +++ b/tests/baselines/reference/stringLiteralTypesWithTemplateStrings02.js @@ -6,6 +6,7 @@ C`; let de_NEWLINE_f: "DE\nF" = `DE${"\n"}F`; //// [stringLiteralTypesWithTemplateStrings02.js] +"use strict"; var abc = "AB\nC"; var de_NEWLINE_f = "DE".concat("\n", "F"); diff --git a/tests/baselines/reference/stringLiteralTypesWithVariousOperators01.js b/tests/baselines/reference/stringLiteralTypesWithVariousOperators01.js index 9b5358315fc09..f3be7a3a0499a 100644 --- a/tests/baselines/reference/stringLiteralTypesWithVariousOperators01.js +++ b/tests/baselines/reference/stringLiteralTypesWithVariousOperators01.js @@ -30,6 +30,7 @@ let u = abc === abcOrXyz; let v = abcOrXyz === abcOrXyzOrNumber; //// [stringLiteralTypesWithVariousOperators01.js] +"use strict"; var a = "" + abc; var b = abc + ""; var c = 10 + abc; diff --git a/tests/baselines/reference/stringLiteralTypesWithVariousOperators02.js b/tests/baselines/reference/stringLiteralTypesWithVariousOperators02.js index 6c1dd120c5ece..69d8a7dc3f853 100644 --- a/tests/baselines/reference/stringLiteralTypesWithVariousOperators02.js +++ b/tests/baselines/reference/stringLiteralTypesWithVariousOperators02.js @@ -20,6 +20,7 @@ let k = abc === xyz; let l = abc != xyz; //// [stringLiteralTypesWithVariousOperators02.js] +"use strict"; var a = abcOrXyzOrNumber + 100; var b = 100 + abcOrXyzOrNumber; var c = abcOrXyzOrNumber + abcOrXyzOrNumber; diff --git a/tests/baselines/reference/stringLiteralsAssertionsInEqualityComparisons01.js b/tests/baselines/reference/stringLiteralsAssertionsInEqualityComparisons01.js index 34decd57c167f..9f9cf638df6a9 100644 --- a/tests/baselines/reference/stringLiteralsAssertionsInEqualityComparisons01.js +++ b/tests/baselines/reference/stringLiteralsAssertionsInEqualityComparisons01.js @@ -6,6 +6,7 @@ var b = "foo" !== ("bar" as string); var c = "foo" == ("bar"); //// [stringLiteralsAssertionsInEqualityComparisons01.js] +"use strict"; var a = "foo" === "bar"; var b = "foo" !== "bar"; var c = "foo" == "bar"; diff --git a/tests/baselines/reference/stringLiteralsAssertionsInEqualityComparisons02.js b/tests/baselines/reference/stringLiteralsAssertionsInEqualityComparisons02.js index a54433c479103..69592f7226092 100644 --- a/tests/baselines/reference/stringLiteralsAssertionsInEqualityComparisons02.js +++ b/tests/baselines/reference/stringLiteralsAssertionsInEqualityComparisons02.js @@ -9,6 +9,7 @@ var c = "foo" == ("bar"); var d = "foo" === ("bar" as EnhancedString); //// [stringLiteralsAssertionsInEqualityComparisons02.js] +"use strict"; var a = "foo" === "bar"; var b = "foo" !== "bar"; var c = "foo" == "bar"; diff --git a/tests/baselines/reference/stringLiteralsAssignedToStringMappings.js b/tests/baselines/reference/stringLiteralsAssignedToStringMappings.js index 3539b33df053c..39c23bae93ced 100644 --- a/tests/baselines/reference/stringLiteralsAssignedToStringMappings.js +++ b/tests/baselines/reference/stringLiteralsAssignedToStringMappings.js @@ -19,6 +19,7 @@ y = "a"; y = "A"; //// [stringLiteralsAssignedToStringMappings.js] +"use strict"; // good x = "A"; // bad diff --git a/tests/baselines/reference/stringLiteralsErrors.js b/tests/baselines/reference/stringLiteralsErrors.js index d96deee641c47..d9ac106018065 100644 --- a/tests/baselines/reference/stringLiteralsErrors.js +++ b/tests/baselines/reference/stringLiteralsErrors.js @@ -31,6 +31,7 @@ var es12 = "\xmm"; var es13 = " //// [stringLiteralsErrors.js] +"use strict"; // Srtings missing line terminator var es1 = "line 1; ";; diff --git a/tests/baselines/reference/stringLiteralsWithEqualityChecks01.js b/tests/baselines/reference/stringLiteralsWithEqualityChecks01.js index 7073347e51b1d..916ae6e10a0fe 100644 --- a/tests/baselines/reference/stringLiteralsWithEqualityChecks01.js +++ b/tests/baselines/reference/stringLiteralsWithEqualityChecks01.js @@ -26,6 +26,7 @@ b = "bar" !== y; //// [stringLiteralsWithEqualityChecks01.js] +"use strict"; var b; b = x === y; b = "foo" === y; diff --git a/tests/baselines/reference/stringLiteralsWithEqualityChecks02.js b/tests/baselines/reference/stringLiteralsWithEqualityChecks02.js index e0292ff14627e..ea59dc181912b 100644 --- a/tests/baselines/reference/stringLiteralsWithEqualityChecks02.js +++ b/tests/baselines/reference/stringLiteralsWithEqualityChecks02.js @@ -26,6 +26,7 @@ b = "bar" != y; //// [stringLiteralsWithEqualityChecks02.js] +"use strict"; var b; b = x == y; b = "foo" == y; diff --git a/tests/baselines/reference/stringLiteralsWithEqualityChecks03.js b/tests/baselines/reference/stringLiteralsWithEqualityChecks03.js index 3081dc95b8b6e..4e1b32b7de24f 100644 --- a/tests/baselines/reference/stringLiteralsWithEqualityChecks03.js +++ b/tests/baselines/reference/stringLiteralsWithEqualityChecks03.js @@ -33,6 +33,7 @@ b = "bar" !== y; //// [stringLiteralsWithEqualityChecks03.js] +"use strict"; var b; b = x === y; b = "foo" === y; diff --git a/tests/baselines/reference/stringLiteralsWithEqualityChecks04.js b/tests/baselines/reference/stringLiteralsWithEqualityChecks04.js index e278ce69af1cb..9a27ff486338e 100644 --- a/tests/baselines/reference/stringLiteralsWithEqualityChecks04.js +++ b/tests/baselines/reference/stringLiteralsWithEqualityChecks04.js @@ -33,6 +33,7 @@ b = "bar" != y; //// [stringLiteralsWithEqualityChecks04.js] +"use strict"; var b; b = x == y; b = "foo" == y; diff --git a/tests/baselines/reference/stringLiteralsWithSwitchStatements01.js b/tests/baselines/reference/stringLiteralsWithSwitchStatements01.js index e21e08fc715d8..ef06d1c7e9607 100644 --- a/tests/baselines/reference/stringLiteralsWithSwitchStatements01.js +++ b/tests/baselines/reference/stringLiteralsWithSwitchStatements01.js @@ -16,6 +16,7 @@ switch (x) { //// [stringLiteralsWithSwitchStatements01.js] +"use strict"; switch (x) { case "foo": break; diff --git a/tests/baselines/reference/stringLiteralsWithSwitchStatements02.js b/tests/baselines/reference/stringLiteralsWithSwitchStatements02.js index 4f1917f77e389..4343ece677fc9 100644 --- a/tests/baselines/reference/stringLiteralsWithSwitchStatements02.js +++ b/tests/baselines/reference/stringLiteralsWithSwitchStatements02.js @@ -18,6 +18,7 @@ b = "foo" != "bar"; //// [stringLiteralsWithSwitchStatements02.js] +"use strict"; var b; b = x == y; b = "foo" == y; diff --git a/tests/baselines/reference/stringLiteralsWithSwitchStatements03.js b/tests/baselines/reference/stringLiteralsWithSwitchStatements03.js index 74c04cb1c480b..cb05dc2e15f1a 100644 --- a/tests/baselines/reference/stringLiteralsWithSwitchStatements03.js +++ b/tests/baselines/reference/stringLiteralsWithSwitchStatements03.js @@ -30,6 +30,7 @@ switch (x) { //// [stringLiteralsWithSwitchStatements03.js] +"use strict"; switch (x) { case randBool() ? "foo" : "baz": break; diff --git a/tests/baselines/reference/stringLiteralsWithSwitchStatements04.js b/tests/baselines/reference/stringLiteralsWithSwitchStatements04.js index d3e2e42d7cff9..f4b48a3f4b942 100644 --- a/tests/baselines/reference/stringLiteralsWithSwitchStatements04.js +++ b/tests/baselines/reference/stringLiteralsWithSwitchStatements04.js @@ -25,6 +25,7 @@ switch (y) { //// [stringLiteralsWithSwitchStatements04.js] +"use strict"; switch (y) { case "foo", x: break; diff --git a/tests/baselines/reference/stringLiteralsWithTypeAssertions01.js b/tests/baselines/reference/stringLiteralsWithTypeAssertions01.js index b6ea1f0441e45..6cc6998b0af1e 100644 --- a/tests/baselines/reference/stringLiteralsWithTypeAssertions01.js +++ b/tests/baselines/reference/stringLiteralsWithTypeAssertions01.js @@ -11,6 +11,7 @@ let e = fooOrBar as "baz"; let f = "baz" as typeof fooOrBar; //// [stringLiteralsWithTypeAssertions01.js] +"use strict"; var fooOrBar; var a = "foo"; var b = "bar"; diff --git a/tests/baselines/reference/stringMappingOverPatternLiterals.js b/tests/baselines/reference/stringMappingOverPatternLiterals.js index 9928e55e02d53..401b90b1e001a 100644 --- a/tests/baselines/reference/stringMappingOverPatternLiterals.js +++ b/tests/baselines/reference/stringMappingOverPatternLiterals.js @@ -153,6 +153,7 @@ function f5( } //// [stringMappingOverPatternLiterals.js] +"use strict"; function f1(a, b, c, a_template, b_template, c_template) { // non-template versions should be assignable to templated versions (empty string matches string) a_template = a; diff --git a/tests/baselines/reference/stringMatchAll.js b/tests/baselines/reference/stringMatchAll.js index 8db4a25b0c3b6..02e8713138dcb 100644 --- a/tests/baselines/reference/stringMatchAll.js +++ b/tests/baselines/reference/stringMatchAll.js @@ -7,6 +7,7 @@ const { index, input } = array[0]; //// [stringMatchAll.js] +"use strict"; const matches = "matchAll".matchAll(/\w/g); const array = [...matches]; const { index, input } = array[0]; diff --git a/tests/baselines/reference/stringNamedPropertyAccess.js b/tests/baselines/reference/stringNamedPropertyAccess.js index fc5c41a4444ef..c2b0932ebac95 100644 --- a/tests/baselines/reference/stringNamedPropertyAccess.js +++ b/tests/baselines/reference/stringNamedPropertyAccess.js @@ -26,6 +26,7 @@ var b = { var r4 = b["a b"]; //// [stringNamedPropertyAccess.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/stringNamedPropertyDuplicates.js b/tests/baselines/reference/stringNamedPropertyDuplicates.js index c566847439fd2..02d0ea14166b8 100644 --- a/tests/baselines/reference/stringNamedPropertyDuplicates.js +++ b/tests/baselines/reference/stringNamedPropertyDuplicates.js @@ -24,6 +24,7 @@ var b = { } //// [stringNamedPropertyDuplicates.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/stringPropCodeGen.js b/tests/baselines/reference/stringPropCodeGen.js index 07c6d57f9b12e..5914b495c2cfd 100644 --- a/tests/baselines/reference/stringPropCodeGen.js +++ b/tests/baselines/reference/stringPropCodeGen.js @@ -16,6 +16,7 @@ a.bar.toString(); //// [stringPropCodeGen.js] +"use strict"; var a = { "foo": function () { }, "bar": 5 diff --git a/tests/baselines/reference/stringPropertyAccess.js b/tests/baselines/reference/stringPropertyAccess.js index a6d8e284f82b4..d4c5e13e4fc17 100644 --- a/tests/baselines/reference/stringPropertyAccess.js +++ b/tests/baselines/reference/stringPropertyAccess.js @@ -9,6 +9,7 @@ var c = x['charAt'](0); var e = x['hasOwnProperty']('toFixed'); //// [stringPropertyAccess.js] +"use strict"; var x = ''; var a = x.charAt(0); var b = x.hasOwnProperty('charAt'); diff --git a/tests/baselines/reference/stringPropertyAccessWithError.js b/tests/baselines/reference/stringPropertyAccessWithError.js index d52c02fe80fb7..5098b5ef5998a 100644 --- a/tests/baselines/reference/stringPropertyAccessWithError.js +++ b/tests/baselines/reference/stringPropertyAccessWithError.js @@ -5,5 +5,6 @@ var x = ''; var d = x['charAt']('invalid'); // error //// [stringPropertyAccessWithError.js] +"use strict"; var x = ''; var d = x['charAt']('invalid'); // error diff --git a/tests/baselines/reference/stringRawType.js b/tests/baselines/reference/stringRawType.js index 51256ea33ab06..4bdf5aecc184b 100644 --- a/tests/baselines/reference/stringRawType.js +++ b/tests/baselines/reference/stringRawType.js @@ -5,4 +5,5 @@ String.raw({ raw: ["foo", "bar", "baz"] }, 1, 2); //// [stringRawType.js] +"use strict"; String.raw({ raw: ["foo", "bar", "baz"] }, 1, 2); diff --git a/tests/baselines/reference/stringTrim.js b/tests/baselines/reference/stringTrim.js index b38ecc622b584..48a06a5ff25bb 100644 --- a/tests/baselines/reference/stringTrim.js +++ b/tests/baselines/reference/stringTrim.js @@ -9,6 +9,7 @@ trimmed = "abcde".trimRight(); //// [stringTrim.js] +"use strict"; var trimmed; trimmed = "abcde".trimEnd(); trimmed = "abcde".trimStart(); diff --git a/tests/baselines/reference/stripInternal1.js b/tests/baselines/reference/stripInternal1.js index db4bb57fbefa4..a2ff5f829a57c 100644 --- a/tests/baselines/reference/stripInternal1.js +++ b/tests/baselines/reference/stripInternal1.js @@ -8,6 +8,7 @@ class C { } //// [stripInternal1.js] +"use strict"; var C = /** @class */ (function () { function C() { } diff --git a/tests/baselines/reference/structural1.js b/tests/baselines/reference/structural1.js index 72a99734af781..5172898d0d1ab 100644 --- a/tests/baselines/reference/structural1.js +++ b/tests/baselines/reference/structural1.js @@ -15,6 +15,7 @@ namespace M { //// [structural1.js] +"use strict"; var M; (function (M) { function f(i) { diff --git a/tests/baselines/reference/structuralTypeInDeclareFileForModule.js b/tests/baselines/reference/structuralTypeInDeclareFileForModule.js index 39f10351d8374..191b55c9f3103 100644 --- a/tests/baselines/reference/structuralTypeInDeclareFileForModule.js +++ b/tests/baselines/reference/structuralTypeInDeclareFileForModule.js @@ -5,6 +5,7 @@ namespace M { export var x; } var m = M; //// [structuralTypeInDeclareFileForModule.js] +"use strict"; var M; (function (M) { })(M || (M = {})); diff --git a/tests/baselines/reference/styleOptions.js b/tests/baselines/reference/styleOptions.js index e4d109e41c8fa..8546bbb134c32 100644 --- a/tests/baselines/reference/styleOptions.js +++ b/tests/baselines/reference/styleOptions.js @@ -10,6 +10,7 @@ var t = x == y; //// [styleOptions.js] +"use strict"; ///